12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[0],{"0016":function(t,e,n){"use strict";n("ddb0");var i=n("2b0e"),r=n("6642"),o=n("e2fa"),a=n("87e8"),s=n("dde5");const l="0 0 24 24",u=t=>t,c=t=>`ionicons ${t}`,h={"mdi-":t=>`mdi ${t}`,"icon-":u,"bt-":t=>`bt ${t}`,"eva-":t=>`eva ${t}`,"ion-md":c,"ion-ios":c,"ion-logo":c,"iconfont ":u,"ti-":t=>`themify-icon ${t}`,"bi-":t=>`bootstrap-icons ${t}`},d={o_:"-outlined",r_:"-round",s_:"-sharp"},p={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},f=new RegExp("^("+Object.keys(h).join("|")+")"),g=new RegExp("^("+Object.keys(d).join("|")+")"),m=new RegExp("^("+Object.keys(p).join("|")+")"),v=/^[Mm]\s?[-+]?\.?\d/,y=/^img:/,b=/^svguse:/,_=/^ion-/,x=/^(fa-(solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;e["a"]=i["a"].extend({name:"QIcon",mixins:[a["a"],r["a"],o["a"]],props:{tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},computed:{classes(){return"q-icon"+(!0===this.left?" on-left":"")+(!0===this.right?" on-right":"")+(void 0!==this.color?` text-${this.color}`:"")},type(){let t,e=this.name;if("none"===e||!e)return{none:!0};if(void 0!==this.$q.iconMapFn){const t=this.$q.iconMapFn(e);if(void 0!==t){if(void 0===t.icon)return{cls:t.cls,content:void 0!==t.content?t.content:" "};if(e=t.icon,"none"===e||!e)return{none:!0}}}if(!0===v.test(e)){const[t,n=l]=e.split("|");return{svg:!0,viewBox:n,nodes:t.split("&&").map((t=>{const[e,n,i]=t.split("@@");return this.$createElement("path",{attrs:{d:e,transform:i},style:n})}))}}if(!0===y.test(e))return{img:!0,src:e.substring(4)};if(!0===b.test(e)){const[t,n=l]=e.split("|");return{svguse:!0,src:t.substring(7),viewBox:n}}let n=" ";const i=e.match(f);if(null!==i)t=h[i[1]](e);else if(!0===x.test(e))t=e;else if(!0===_.test(e))t=`ionicons ion-${!0===this.$q.platform.is.ios?"ios":"md"}${e.substr(3)}`;else if(!0===m.test(e)){t="notranslate material-symbols";const i=e.match(m);null!==i&&(e=e.substring(6),t+=p[i[1]]),n=e}else{t="notranslate material-icons";const i=e.match(g);null!==i&&(e=e.substring(2),t+=d[i[1]]),n=e}return{cls:t,content:n}}},render(t){const e={class:this.classes,style:this.sizeStyle,on:{...this.qListeners},attrs:{"aria-hidden":"true",role:"presentation"}};return!0===this.type.none?t(this.tag,e,Object(s["c"])(this,"default")):!0===this.type.img?t("span",e,Object(s["a"])([t("img",{attrs:{src:this.type.src}})],this,"default")):!0===this.type.svg?t("span",e,Object(s["a"])([t("svg",{attrs:{viewBox:this.type.viewBox||"0 0 24 24",focusable:"false"}},this.type.nodes)],this,"default")):!0===this.type.svguse?t("span",e,Object(s["a"])([t("svg",{attrs:{viewBox:this.type.viewBox,focusable:"false"}},[t("use",{attrs:{"xlink:href":this.type.src}})])],this,"default")):(void 0!==this.type.cls&&(e.class+=" "+this.type.cls),t(this.tag,e,Object(s["a"])([this.type.content],this,"default")))}})},"00ee":function(t,e,n){var i=n("b622"),r=i("toStringTag"),o={};o[r]="z",t.exports="[object z]"===String(o)},"0170":function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("dde5");e["a"]=i["a"].extend({name:"QItemLabel",mixins:[r["a"]],props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},computed:{classes(){return{"q-item__label--overline text-overline":this.overline,"q-item__label--caption text-caption":this.caption,"q-item__label--header":this.header,ellipsis:1===parseInt(this.lines,10)}},style(){if(void 0!==this.lines&&parseInt(this.lines,10)>1)return{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":this.lines}}},render(t){return t("div",{staticClass:"q-item__label",style:this.style,class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"0196":function(t,e,n){const i=n("58b4"),r=n("bbf0");function o(t){this.mode=r.BYTE,"string"===typeof t&&(t=i(t)),this.data=new Uint8Array(t)}o.getBitsLength=function(t){return 8*t},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){for(let e=0,n=this.data.length;e<n;e++)t.put(this.data[e],8)},t.exports=o},"0366":function(t,e,n){var i=n("e330"),r=n("59ed"),o=n("40d5"),a=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},"0378":function(t,e,n){"use strict";n("ddb0");var i=n("2b0e"),r=n("87e8"),o=n("d882"),a=n("dde5"),s=n("e704");e["a"]=i["a"].extend({name:"QForm",mixins:[r["a"]],props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean},computed:{onEvents(){return{...this.qListeners,submit:this.submit,reset:this.reset}}},mounted(){this.validateIndex=0,!0===this.autofocus&&this.focus()},activated(){!0===this.shouldActivate&&!0===this.autofocus&&this.focus()},deactivated(){this.shouldActivate=!0},methods:{validate(t){const e=[],n="boolean"===typeof t?t:!0!==this.noErrorFocus,i=++this.validateIndex,r=this.getValidationComponents().filter((t=>!0!==t.disable)),o=(t,e)=>{this.$emit("validation-"+(!0===t?"success":"error"),e)};for(let a=0;a<r.length;a++){const t=r[a],i=t.validate();if("function"===typeof i.then)e.push(i.then((e=>({valid:e,comp:t})),(e=>({valid:!1,comp:t,err:e}))));else if(!0!==i){if(!1===this.greedy)return o(!1,t),!0===n&&"function"===typeof t.focus&&t.focus(),Promise.resolve(!1);e.push({valid:!1,comp:t})}}return 0===e.length?(o(!0),Promise.resolve(!0)):Promise.all(e).then((t=>{const e=t.filter((t=>!0!==t.valid));if(0===e.length)return i===this.validateIndex&&o(!0),!0;const{valid:r,comp:a,err:s}=e[0];return i===this.validateIndex&&(void 0!==s&&console.error(s),o(!1,a),!0===n&&!0!==r&&"function"===typeof a.focus&&a.focus()),!1}))},resetValidation(){this.validateIndex++,this.getValidationComponents().forEach((t=>{"function"===typeof t.resetValidation&&t.resetValidation()}))},submit(t){void 0!==t&&Object(o["l"])(t);const e=this.validateIndex+1;this.validate().then((n=>{e===this.validateIndex&&!0===n&&(void 0!==this.qListeners.submit?this.$emit("submit",t):void 0!==t&&void 0!==t.target&&"function"===typeof t.target.submit&&t.target.submit())}))},reset(t){void 0!==t&&Object(o["l"])(t),this.$emit("reset"),this.$nextTick((()=>{this.resetValidation(),!0===this.autofocus&&!0!==this.noResetFocus&&this.focus()}))},focus(){Object(s["a"])((()=>{if(!this.$el)return;const t=this.$el.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(this.$el.querySelectorAll("[tabindex]"),(t=>t.tabIndex>-1));null!==t&&void 0!==t&&t.focus({preventScroll:!0})}))},getValidationComponents(){return Array.prototype.map.call(this.$el.getElementsByClassName("q-validation-component"),(t=>t.__vue__)).filter((t=>void 0!==t&&"function"===typeof t.validate))}},render(t){return t("form",{staticClass:"q-form",on:this.onEvents},Object(a["c"])(this,"default"))}})},"0425":function(t,e){const n="[0-9]+",i="[A-Z $%*+\\-./:]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const o="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+")(?:.|[\r\n]))+";e.KANJI=new RegExp(r,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(o,"g"),e.NUMERIC=new RegExp(n,"g"),e.ALPHANUMERIC=new RegExp(i,"g");const a=new RegExp("^"+r+"$"),s=new RegExp("^"+n+"$"),l=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return a.test(t)},e.testNumeric=function(t){return s.test(t)},e.testAlphanumeric=function(t){return l.test(t)}},"04d1":function(t,e,n){var i=n("342f"),r=i.match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},"05c0":function(t,e,n){"use strict";var i=n("2b0e"),r=n("c474"),o=n("7ee0"),a=n("9e62"),s=n("7562"),l=n("0831"),u=n("d882"),c=n("2248"),h=n("dde5"),d=n("ab41");e["a"]=i["a"].extend({name:"QTooltip",mixins:[r["a"],o["a"],a["c"],s["a"]],props:{maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{default:"jump-down"},transitionHide:{default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:d["d"]},self:{type:String,default:"top middle",validator:d["d"]},offset:{type:Array,default:()=>[14,14],validator:d["c"]},scrollTarget:{default:void 0},delay:{type:Number,default:0},hideDelay:{type:Number,default:0}},computed:{anchorOrigin(){return Object(d["a"])(this.anchor,this.$q.lang.rtl)},selfOrigin(){return Object(d["a"])(this.self,this.$q.lang.rtl)},hideOnRouteChange(){return!0!==this.persistent}},methods:{__show(t){this.__showPortal(),this.__nextTick((()=>{this.observer=new MutationObserver((()=>this.updatePosition())),this.observer.observe(this.__portal.$el,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),this.updatePosition(),this.__configureScrollTarget()})),void 0===this.unwatch&&(this.unwatch=this.$watch((()=>this.$q.screen.width+"|"+this.$q.screen.height+"|"+this.self+"|"+this.anchor+"|"+this.$q.lang.rtl),this.updatePosition)),this.__setTimeout((()=>{this.__showPortal(!0),this.$emit("show",t)}),300)},__hide(t){this.__anchorCleanup(),this.__hidePortal(),this.__setTimeout((()=>{this.__hidePortal(!0),this.$emit("hide",t)}),300)},__anchorCleanup(){void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0),void 0!==this.unwatch&&(this.unwatch(),this.unwatch=void 0),this.__unconfigureScrollTarget(),Object(u["b"])(this,"tooltipTemp")},updatePosition(){if(void 0===this.anchorEl||void 0===this.__portal)return;const t=this.__portal.$el;8!==t.nodeType?Object(d["b"])({el:t,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,maxHeight:this.maxHeight,maxWidth:this.maxWidth}):setTimeout(this.updatePosition,25)},__delayShow(t){if(!0===this.$q.platform.is.mobile){Object(c["a"])(),document.body.classList.add("non-selectable");const t=this.anchorEl,e=["touchmove","touchcancel","touchend","click"].map((e=>[t,e,"__delayHide","passiveCapture"]));Object(u["a"])(this,"tooltipTemp",e)}this.__setTimeout((()=>{this.show(t)}),this.delay)},__delayHide(t){this.__clearTimeout(),!0===this.$q.platform.is.mobile&&(Object(u["b"])(this,"tooltipTemp"),Object(c["a"])(),setTimeout((()=>{document.body.classList.remove("non-selectable")}),10)),this.__setTimeout((()=>{this.hide(t)}),this.hideDelay)},__configureAnchorEl(){if(!0===this.noParentEvent||void 0===this.anchorEl)return;const t=!0===this.$q.platform.is.mobile?[[this.anchorEl,"touchstart","__delayShow","passive"]]:[[this.anchorEl,"mouseenter","__delayShow","passive"],[this.anchorEl,"mouseleave","__delayHide","passive"]];Object(u["a"])(this,"anchor",t)},__unconfigureScrollTarget(){void 0!==this.__scrollTarget&&(this.__changeScrollEvent(this.__scrollTarget),this.__scrollTarget=void 0)},__configureScrollTarget(){if(void 0!==this.anchorEl||void 0!==this.scrollTarget){this.__scrollTarget=Object(l["d"])(this.anchorEl,this.scrollTarget);const t=!0===this.noParentEvent?this.updatePosition:this.hide;this.__changeScrollEvent(this.__scrollTarget,t)}},__renderPortal(t){return t("transition",{props:{name:this.transition}},[!0===this.showing?t("div",{staticClass:"q-tooltip q-tooltip--style q-position-engine no-pointer-events",class:this.contentClass,style:this.contentStyle,attrs:{role:"complementary"}},Object(h["c"])(this,"default")):null])}},mounted(){this.__processModelChange(this.value)}})},"05eb":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("b7fa"),o=n("87e8"),a=n("dde5");e["a"]=i["a"].extend({name:"QTimeline",mixins:[r["a"],o["a"]],provide(){return{__timeline:this}},props:{color:{type:String,default:"primary"},side:{type:String,default:"right",validator:t=>["left","right"].includes(t)},layout:{type:String,default:"dense",validator:t=>["dense","comfortable","loose"].includes(t)}},computed:{classes(){return`q-timeline--${this.layout} q-timeline--${this.layout}--${this.side}`+(!0===this.isDark?" q-timeline--dark":"")}},render(t){return t("ul",{staticClass:"q-timeline",class:this.classes,on:{...this.qListeners}},Object(a["c"])(this,"default"))}})},"068f":function(t,e,n){"use strict";var i=n("2b0e"),r=n("0d59"),o=n("6900"),a=n("87e8"),s=n("dde5");e["a"]=i["a"].extend({name:"QImg",mixins:[a["a"],o["a"]],props:{src:String,srcset:String,sizes:String,alt:String,width:String,height:String,placeholderSrc:String,basic:Boolean,contain:Boolean,position:{type:String,default:"50% 50%"},transition:{type:String,default:"fade"},imgClass:[Array,String,Object],imgStyle:Object,nativeContextMenu:Boolean,noDefaultSpinner:Boolean,spinnerColor:String,spinnerSize:String},data(){return{currentSrc:"",image:null,isLoading:!!this.src,hasError:!1,naturalRatio:void 0}},watch:{src(){this.__load()},srcset(t){this.__updateWatcher(t)}},computed:{url(){return this.currentSrc||this.placeholderSrc||void 0},attrs(){const t={role:"img"};return void 0!==this.alt&&(t["aria-label"]=this.alt),t},imgContainerStyle(){return Object.assign({backgroundSize:!0===this.contain?"contain":"cover",backgroundPosition:this.position},this.imgStyle,{backgroundImage:`url("${this.url}")`})},style(){return{width:this.width,height:this.height}},classes(){return"q-img overflow-hidden"+(!0===this.nativeContextMenu?" q-img--menu":"")}},methods:{__onLoad(t){this.isLoading=!1,this.hasError=!1,this.__computeRatio(t),this.__updateSrc(),this.__updateWatcher(this.srcset),this.$emit("load",this.currentSrc)},__onError(t){clearTimeout(this.ratioTimer),this.isLoading=!1,this.hasError=!0,this.currentSrc="",this.$emit("error",t)},__updateSrc(){if(void 0!==this.image&&!1===this.isLoading){const t=this.image.currentSrc||this.image.src;this.currentSrc!==t&&(this.currentSrc=t)}},__updateWatcher(t){t?void 0===this.unwatch&&(this.unwatch=this.$watch("$q.screen.width",this.__updateSrc)):void 0!==this.unwatch&&(this.unwatch(),this.unwatch=void 0)},__load(){if(clearTimeout(this.ratioTimer),this.hasError=!1,!this.src)return this.isLoading=!1,this.image=void 0,void(this.currentSrc="");this.isLoading=!0;const t=new Image;this.image=t,t.onerror=e=>{this.image===t&&!0!==this.destroyed&&this.__onError(e)},t.onload=()=>{!0!==this.destroyed&&this.image===t&&(void 0!==t.decode?t.decode().catch((e=>{this.image===t&&!0!==this.destroyed&&this.__onError(e)})).then((()=>{this.image===t&&!0!==this.destroyed&&this.__onLoad(t)})):this.__onLoad(t))},t.src=this.src,this.srcset&&(t.srcset=this.srcset),void 0!==this.sizes?t.sizes=this.sizes:Object.assign(t,{height:this.height,width:this.width})},__computeRatio(t){const{naturalHeight:e,naturalWidth:n}=t;e||n?this.naturalRatio=0===e?1:n/e:this.ratioTimer=setTimeout((()=>{this.image===t&&!0!==this.destroyed&&this.__computeRatio(t)}),100)},__getImage(t){const e=!0===this.nativeContextMenu?[t("img",{staticClass:"absolute-full fit",attrs:{src:this.url,"aria-hidden":"true"}})]:void 0,n=void 0!==this.url?t("div",{key:this.url,staticClass:"q-img__image absolute-full",class:this.imgClass,style:this.imgContainerStyle},e):null;return!0===this.basic?n:t("transition",{props:{name:"q-transition--"+this.transition}},[n])},__getContent(t){const e=Object(s["c"])(this,!0===this.hasError?"error":"default");if(!0===this.basic)return t("div",{key:"content",staticClass:"q-img__content absolute-full"},e);const n=!0===this.isLoading?t("div",{key:"placeholder",staticClass:"q-img__loading absolute-full flex flex-center"},void 0!==this.$scopedSlots.loading?this.$scopedSlots.loading():!1===this.noDefaultSpinner?[t(r["a"],{props:{color:this.spinnerColor,size:this.spinnerSize}})]:void 0):t("div",{key:"content",staticClass:"q-img__content absolute-full"},e);return t("transition",{props:{name:"q-transition--fade"}},[n])}},render(t){return t("div",{class:this.classes,style:this.style,attrs:this.attrs,on:{...this.qListeners}},[t("div",{style:this.ratioStyle}),this.__getImage(t),this.__getContent(t)])},beforeMount(){if(void 0!==this.placeholderSrc&&void 0===this.ratio){const t=new Image;t.src=this.placeholderSrc,this.__computeRatio(t)}!0===this.isLoading&&this.__load()},beforeDestroy(){this.destroyed=!0,clearTimeout(this.ratioTimer),void 0!==this.unwatch&&this.unwatch()}})},"06cf":function(t,e,n){var i=n("83ab"),r=n("c65b"),o=n("d1e7"),a=n("5c6c"),s=n("fc6a"),l=n("a04b"),u=n("1a2d"),c=n("0cfb"),h=Object.getOwnPropertyDescriptor;e.f=i?h:function(t,e){if(t=s(t),e=l(e),c)try{return h(t,e)}catch(n){}if(u(t,e))return a(!r(o.f,t,e),t[e])}},"07fa":function(t,e,n){var i=n("50c4");t.exports=function(t){return i(t.length)}},"0831":function(t,e,n){"use strict";n.d(e,"g",(function(){return s})),n.d(e,"d",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return h})),n.d(e,"a",(function(){return d})),n.d(e,"j",(function(){return v})),n.d(e,"i",(function(){return y})),n.d(e,"h",(function(){return b})),n.d(e,"e",(function(){return x})),n.d(e,"f",(function(){return w}));n("caad");var i=n("0967"),r=n("f303");const o=!0===i["e"]?[]:[null,document,document.body,document.scrollingElement,document.documentElement];let a;function s(){if(!0===i["e"])return!1;if(void 0===a){const t=document.createElement("div"),e=document.createElement("div");Object.assign(t.style,{direction:"rtl",width:"1px",height:"1px",overflow:"auto"}),Object.assign(e.style,{width:"1000px",height:"1px"}),t.appendChild(e),document.body.appendChild(t),t.scrollLeft=-1e3,a=t.scrollLeft>=0,t.remove()}return a}function l(t,e){let n=Object(r["d"])(e);if(null===n){if(t!==Object(t)||"function"!==typeof t.closest)return window;n=t.closest(".scroll,.scroll-y,.overflow-auto")}return o.includes(n)?window:n}function u(t){return(t===window?document.body:t).scrollHeight}function c(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}const h=c;function d(t){return t===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:t.scrollLeft}function p(t,e,n=0){const i=void 0===arguments[3]?performance.now():arguments[3],r=c(t);n<=0?r!==e&&g(t,e):requestAnimationFrame((o=>{const a=o-i,s=r+(e-r)/Math.max(a,n)*a;g(t,s),s!==e&&p(t,e,n-a,o)}))}function f(t,e,n=0){const i=void 0===arguments[3]?performance.now():arguments[3],r=d(t);n<=0?r!==e&&m(t,e):requestAnimationFrame((o=>{const a=o-i,s=r+(e-r)/Math.max(a,n)*a;m(t,s),s!==e&&f(t,e,n-a,o)}))}function g(t,e){t!==window?t.scrollTop=e:window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,e)}function m(t,e){t!==window?t.scrollLeft=e:window.scrollTo(e,window.pageYOffset||window.scrollY||document.body.scrollTop||0)}function v(t,e,n){n?p(t,e,n):g(t,e)}const y=v;function b(t,e,n){n?f(t,e,n):m(t,e)}let _;function x(){if(void 0!==_)return _;const t=document.createElement("p"),e=document.createElement("div");Object(r["b"])(t,{width:"100%",height:"200px"}),Object(r["b"])(e,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);const n=t.offsetWidth;e.style.overflow="scroll";let i=t.offsetWidth;return n===i&&(i=e.clientWidth),e.remove(),_=n-i,_}function w(t,e=!0){return!(!t||t.nodeType!==Node.ELEMENT_NODE)&&(e?t.scrollHeight>t.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"])))}},"0967":function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"d",(function(){return o})),n.d(e,"a",(function(){return m}));var i=n("2b0e");const r="undefined"===typeof window;let o,a=!1,s=r,l=!1;function u(t,e){const n=/(edge|edga|edgios)\/([\w.]+)/.exec(t)||/(opr)[\/]([\w.]+)/.exec(t)||/(vivaldi)[\/]([\w.]+)/.exec(t)||/(chrome|crios)[\/]([\w.]+)/.exec(t)||/(iemobile)[\/]([\w.]+)/.exec(t)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(firefox|fxios)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[2]||n[4]||"0",versionNumber:n[4]||n[2]||"0",platform:e[0]||""}}function c(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}const h=!1===r&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function d(t){o={is:{...t}},delete t.mac,delete t.desktop;const e=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(t,{mobile:!0,ios:!0,platform:e,[e]:!0})}function p(t){const e=t.toLowerCase(),n=c(e),i=u(e,n),o={};i.browser&&(o[i.browser]=!0,o.version=i.version,o.versionNumber=parseInt(i.versionNumber,10)),i.platform&&(o[i.platform]=!0);const l=o.android||o.ios||o.bb||o.blackberry||o.ipad||o.iphone||o.ipod||o.kindle||o.playbook||o.silk||o["windows phone"];return!0===l||e.indexOf("mobile")>-1?(o.mobile=!0,o.edga||o.edgios?(o.edge=!0,i.browser="edge"):o.crios?(o.chrome=!0,i.browser="chrome"):o.fxios&&(o.firefox=!0,i.browser="firefox")):o.desktop=!0,(o.ipod||o.ipad||o.iphone)&&(o.ios=!0),o["windows phone"]&&(o.winphone=!0,delete o["windows phone"]),(o.chrome||o.opr||o.safari||o.vivaldi||!0===o.mobile&&!0!==o.ios&&!0!==l)&&(o.webkit=!0),(o.rv||o.iemobile)&&(i.browser="ie",o.ie=!0),(o.safari&&o.blackberry||o.bb)&&(i.browser="blackberry",o.blackberry=!0),o.safari&&o.playbook&&(i.browser="playbook",o.playbook=!0),o.opr&&(i.browser="opera",o.opera=!0),o.safari&&o.android&&(i.browser="android",o.android=!0),o.safari&&o.kindle&&(i.browser="kindle",o.kindle=!0),o.safari&&o.silk&&(i.browser="silk",o.silk=!0),o.vivaldi&&(i.browser="vivaldi",o.vivaldi=!0),o.name=i.browser,o.platform=i.platform,!1===r&&(e.indexOf("electron")>-1?o.electron=!0:document.location.href.indexOf("-extension://")>-1?o.bex=!0:(void 0!==window.Capacitor?(o.capacitor=!0,o.nativeMobile=!0,o.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(o.cordova=!0,o.nativeMobile=!0,o.nativeMobileWrapper="cordova"),!0===h&&!0===o.mac&&(!0===o.desktop&&!0===o.safari||!0===o.nativeMobile&&!0!==o.android&&!0!==o.ios&&!0!==o.ipad)&&d(o)),a=void 0===o.nativeMobile&&void 0===o.electron&&null!==document.querySelector("[data-server-rendered]"),!0===a&&(s=!0)),o}const f=!0!==r?navigator.userAgent||navigator.vendor||window.opera:"",g={has:{touch:!1,webStorage:!1},within:{iframe:!1}},m=!1===r?{userAgent:f,is:p(f),has:{touch:h,webStorage:(()=>{try{if(window.localStorage)return!0}catch(t){}return!1})()},within:{iframe:window.self!==window.top}}:g,v={install(t,e){!0===r?e.server.push(((t,e)=>{t.platform=this.parseSSR(e.ssr)})):!0===a?(Object.assign(this,m,o,g),e.takeover.push((t=>{s=a=!1,Object.assign(t.platform,m),o=void 0})),i["a"].util.defineReactive(t,"platform",this)):(Object.assign(this,m),t.platform=this)}};!0===r?v.parseSSR=t=>{const e=t.req.headers["user-agent"]||t.req.headers["User-Agent"]||"";return{...m,userAgent:e,is:p(e)}}:l=!0===m.is.ios&&-1===window.navigator.vendor.toLowerCase().indexOf("apple"),e["b"]=v},"09e3":function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("dde5");e["a"]=i["a"].extend({name:"QPageContainer",mixins:[r["a"]],inject:{layout:{default(){console.error("QPageContainer needs to be child of QLayout")}}},provide:{pageContainer:!0},computed:{style(){const t={};return!0===this.layout.header.space&&(t.paddingTop=`${this.layout.header.size}px`),!0===this.layout.right.space&&(t["padding"+(!0===this.$q.lang.rtl?"Left":"Right")]=`${this.layout.right.size}px`),!0===this.layout.footer.space&&(t.paddingBottom=`${this.layout.footer.size}px`),!0===this.layout.left.space&&(t["padding"+(!0===this.$q.lang.rtl?"Right":"Left")]=`${this.layout.left.size}px`),t}},render(t){return t("div",{staticClass:"q-page-container",style:this.style,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"09f9":function(t,e,n){"use strict";n("ddb0");var i=n("2b0e"),r=n("0967"),o=n("d882"),a=n("1c16");const s=["sm","md","lg","xl"],{passive:l}=o["f"];e["a"]={width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1,setSizes:o["g"],setDebounce:o["g"],install(t,e,n){if(!0===r["e"])return void(t.screen=this);const{visualViewport:o}=window,u=o||window,c=document.scrollingElement||document.documentElement,h=void 0===o||!0===r["a"].is.mobile?()=>[Math.max(window.innerWidth,c.clientWidth),Math.max(window.innerHeight,c.clientHeight)]:()=>[o.width*o.scale+window.innerWidth-c.clientWidth,o.height*o.scale+window.innerHeight-c.clientHeight],d=void 0!==n.screen&&!0===n.screen.bodyClasses,p=t=>{const[e,n]=h();if(n!==this.height&&(this.height=n),e!==this.width)this.width=e;else if(!0!==t)return;let i=this.sizes;this.gt.xs=e>=i.sm,this.gt.sm=e>=i.md,this.gt.md=e>=i.lg,this.gt.lg=e>=i.xl,this.lt.sm=e<i.sm,this.lt.md=e<i.md,this.lt.lg=e<i.lg,this.lt.xl=e<i.xl,this.xs=this.lt.sm,this.sm=!0===this.gt.xs&&!0===this.lt.md,this.md=!0===this.gt.sm&&!0===this.lt.lg,this.lg=!0===this.gt.md&&!0===this.lt.xl,this.xl=this.gt.lg,i=(!0===this.xs?"xs":!0===this.sm&&"sm")||!0===this.md&&"md"||!0===this.lg&&"lg"||"xl",i!==this.name&&(!0===d&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${i}`)),this.name=i)};let f,g={},m=16;this.setSizes=t=>{s.forEach((e=>{void 0!==t[e]&&(g[e]=t[e])}))},this.setDebounce=t=>{m=t};const v=()=>{const t=getComputedStyle(document.body);t.getPropertyValue("--q-size-sm")&&s.forEach((e=>{this.sizes[e]=parseInt(t.getPropertyValue(`--q-size-${e}`),10)})),this.setSizes=t=>{s.forEach((e=>{t[e]&&(this.sizes[e]=t[e])})),p(!0)},this.setDebounce=t=>{void 0!==f&&u.removeEventListener("resize",f,l),f=t>0?Object(a["a"])(p,t):p,u.addEventListener("resize",f,l)},this.setDebounce(m),Object.keys(g).length>0?(this.setSizes(g),g=void 0):p(),!0===d&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===r["c"]?e.takeover.push(v):v(),i["a"].util.defineReactive(t,"screen",this)}}},"0a06":function(t,e,n){"use strict";var i=n("c532"),r=n("30b5"),o=n("f6b4"),a=n("5270"),s=n("4a7b"),l=n("848b"),u=l.validators;function c(t){this.defaults=t,this.interceptors={request:new o,response:new o}}c.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&l.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var r,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!i){var c=[a,void 0];Array.prototype.unshift.apply(c,n),c=c.concat(o),r=Promise.resolve(t);while(c.length)r=r.then(c.shift(),c.shift());return r}var h=t;while(n.length){var d=n.shift(),p=n.shift();try{h=d(h)}catch(f){p(f);break}}try{r=a(h)}catch(f){return Promise.reject(f)}while(o.length)r=r.then(o.shift(),o.shift());return r},c.prototype.getUri=function(t){return t=s(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,n,i){return this.request(s(i||{},{method:t,url:e,data:n}))}})),t.exports=c},"0b25":function(t,e,n){var i=n("5926"),r=n("50c4"),o=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=i(t),n=r(e);if(e!==n)throw o("Wrong length or index");return n}},"0b42":function(t,e,n){var i=n("e8b5"),r=n("68ee"),o=n("861d"),a=n("b622"),s=a("species"),l=Array;t.exports=function(t){var e;return i(t)&&(e=t.constructor,r(e)&&(e===l||i(e.prototype))?e=void 0:o(e)&&(e=e[s],null===e&&(e=void 0))),void 0===e?l:e}},"0cb2":function(t,e,n){var i=n("e330"),r=n("7b0b"),o=Math.floor,a=i("".charAt),s=i("".replace),l=i("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,i,h,d){var p=n+t.length,f=i.length,g=c;return void 0!==h&&(h=r(h),g=u),s(d,g,(function(r,s){var u;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return l(e,0,n);case"'":return l(e,p);case"<":u=h[l(s,1,-1)];break;default:var c=+s;if(0===c)return r;if(c>f){var d=o(c/10);return 0===d?r:d<=f?void 0===i[d-1]?a(s,1):i[d-1]+a(s,1):r}u=i[c-1]}return void 0===u?"":u}))}},"0cd3":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return a}));var i=n("0967");function r(t,e,n){if(!0===i["e"])return n;const r=`__qcache_${e}`;return void 0===t[r]?t[r]=n:t[r]}function o(t,e,n){if(!0===i["e"])return n();const r=`__qcache_${e}`;return void 0===t[r]?t[r]=n():t[r]}function a(t,e){return{data(){const n={},i=this[t];for(const t in i)n[t]=i[t];return{[e]:n}},watch:{[t](t,n){const i=this[e];if(void 0!==n)for(const e in n)void 0===t[e]&&this.$delete(i,e);for(const e in t)i[e]!==t[e]&&this.$set(i,e,t[e])}}}}},"0cfb":function(t,e,n){var i=n("83ab"),r=n("d039"),o=n("cc12");t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d3b":function(t,e,n){var i=n("d039"),r=n("b622"),o=n("c430"),a=r("iterator");t.exports=!i((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,i){e["delete"]("b"),n+=i+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0d51":function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"0d59":function(t,e,n){"use strict";var i=n("2b0e"),r=n("6642"),o=n("87e8"),a={mixins:[o["a"]],props:{color:String,size:{type:[Number,String],default:"1em"}},computed:{cSize(){return this.size in r["c"]?`${r["c"][this.size]}px`:this.size},classes(){if(this.color)return`text-${this.color}`}}};e["a"]=i["a"].extend({name:"QSpinner",mixins:[a],props:{thickness:{type:Number,default:5}},render(t){return t("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,on:{...this.qListeners},attrs:{focusable:"false",width:this.cSize,height:this.cSize,viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":this.thickness,"stroke-miterlimit":"10"}})])}})},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"107c":function(t,e,n){var i=n("d039"),r=n("da84"),o=r.RegExp;t.exports=i((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},"10b0":function(t,e,n){"use strict";var i={single_source_shortest_paths:function(t,e,n){var r={},o={};o[e]=0;var a,s,l,u,c,h,d,p,f,g=i.PriorityQueue.make();g.push(e,0);while(!g.empty())for(l in a=g.pop(),s=a.value,u=a.cost,c=t[s]||{},c)c.hasOwnProperty(l)&&(h=c[l],d=u+h,p=o[l],f="undefined"===typeof o[l],(f||p>d)&&(o[l]=d,g.push(l,d),r[l]=s));if("undefined"!==typeof n&&"undefined"===typeof o[n]){var m=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(m)}return r},extract_shortest_path_from_predecessor_list:function(t,e){var n=[],i=e;while(i)n.push(i),t[i],i=t[i];return n.reverse(),n},find_path:function(t,e,n){var r=i.single_source_shortest_paths(t,e,n);return i.extract_shortest_path_from_predecessor_list(r,n)},PriorityQueue:{make:function(t){var e,n=i.PriorityQueue,r={};for(e in t=t||{},n)n.hasOwnProperty(e)&&(r[e]=n[e]);return r.queue=[],r.sorter=t.sorter||n.default_sorter,r},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=i},"124f":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,n){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return u(e,t),i(e,[{key:"encode",value:function(){for(var t="110",e=0;e<this.data.length;e++){var n=parseInt(this.data[e]),i=n.toString(2);i=h(i,4-i.length);for(var r=0;r<i.length;r++)t+="0"==i[r]?"100":"110"}return t+="1001",{data:t,text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]+$/)}}]),e}(o.default);function h(t,e){for(var n=0;n<e;n++)t="0"+t;return t}e.default=c},"13d2":function(t,e,n){var i=n("d039"),r=n("1626"),o=n("1a2d"),a=n("83ab"),s=n("5e77").CONFIGURABLE,l=n("8925"),u=n("69f3"),c=u.enforce,h=u.get,d=Object.defineProperty,p=a&&!i((function(){return 8!==d((function(){}),"length",{value:8}).length})),f=String(String).split("String"),g=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||s&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),p&&n&&o(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(r){}var i=c(t);return o(i,"source")||(i.source=f.join("string"==typeof e?e:"")),t};Function.prototype.toString=g((function(){return r(this)&&h(this).source||l(this)}),"toString")},"14c3":function(t,e,n){var i=n("c65b"),r=n("825a"),o=n("1626"),a=n("c6b6"),s=n("9263"),l=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var u=i(n,t,e);return null!==u&&r(u),u}if("RegExp"===a(t))return i(s,t,e);throw l("RegExp#exec called on incompatible receiver")}},1626:function(t,e){t.exports=function(t){return"function"==typeof t}},"182d":function(t,e,n){var i=n("f8cd"),r=RangeError;t.exports=function(t,e){var n=i(t);if(n%e)throw r("Wrong offset");return n}},"18d6":function(t,e,n){"use strict";var i=n("0967"),r=n("685b");e["a"]={install({$q:t}){const e=!0===i["e"]||!1===i["a"].has.webStorage?Object(r["a"])():Object(r["b"])("local");t.localStorage=e,Object.assign(this,e)}}},"19aa":function(t,e,n){var i=n("3a9b"),r=TypeError;t.exports=function(t,e){if(i(e,t))return t;throw r("Incorrect invocation")}},"1a2d":function(t,e,n){var i=n("e330"),r=n("7b0b"),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},"1ba5":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n("bdfe"),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){var e=t.substr(0,7).split("").map((function(t){return+t})).reduce((function(t,e,n){return n%2?t+e:t+3*e}),0);return(10-e%10)%10},d=function(t){function e(t,n){return l(this,e),-1!==t.search(/^[0-9]{7}$/)&&(t+=h(t)),u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return c(e,t),i(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===h(this.data)}},{key:"leftText",value:function(){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var t=this.data.substr(0,4);return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,"LLLL")}},{key:"rightText",value:function(){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var t=this.data.substr(4,4);return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRR")}}]),e}(a.default);e.default=d},"1be4":function(t,e,n){var i=n("d066");t.exports=i("document","documentElement")},"1c16":function(t,e,n){"use strict";e["a"]=function(t,e=250,n){let i;function r(){const r=arguments,o=()=>{i=void 0,!0!==n&&t.apply(this,r)};clearTimeout(i),!0===n&&void 0===i&&t.apply(this,r),i=setTimeout(o,e)}return r.cancel=()=>{clearTimeout(i)},r}},"1c1c":function(t,e,n){"use strict";var i=n("2b0e"),r=n("b7fa"),o=n("87e8"),a=n("dde5");e["a"]=i["a"].extend({name:"QList",mixins:[o["a"],r["a"]],props:{bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean},computed:{classes(){return"q-list"+(!0===this.bordered?" q-list--bordered":"")+(!0===this.dense?" q-list--dense":"")+(!0===this.separator?" q-list--separator":"")+(!0===this.isDark?" q-list--dark":"")+(!0===this.padding?" q-list--padding":"")}},render(t){return t("div",{class:this.classes,on:{...this.qListeners}},Object(a["c"])(this,"default"))}})},"1c35":function(t,e,n){"use strict";(function(t){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var i=n("1fb5"),r=n("9152"),o=n("e3db");function a(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=u.prototype):(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return c(this,t,e,n)}function c(t,e,n,i){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?m(t,e,n,i):"string"===typeof e?f(t,e,n):v(t,e)}function h(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e,n,i){return h(e),e<=0?l(t,e):void 0!==n?"string"===typeof i?l(t,e).fill(n,i):l(t,e).fill(n):l(t,e)}function p(t,e){if(h(e),t=l(t,e<0?0:0|y(e)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|_(e,n);t=l(t,i);var r=t.write(e,n);return r!==i&&(t=t.slice(0,r)),t}function g(t,e){var n=e.length<0?0:0|y(e.length);t=l(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function m(t,e,n,i){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i),u.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=u.prototype):t=g(t,e),t}function v(t,e){if(u.isBuffer(e)){var n=0|y(e.length);return t=l(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?l(t,0):g(t,e);if("Buffer"===e.type&&o(e.data))return g(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),u.alloc(+t)}function _(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(t).length;default:if(i)return K(t).length;e=(""+e).toLowerCase(),i=!0}}function x(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return B(this,e,n);case"utf8":case"utf-8":return E(this,e,n);case"ascii":return j(this,e,n);case"latin1":case"binary":return R(this,e,n);case"base64":return P(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function w(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function S(t,e,n,i,r){if(0===t.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=u.from(e,i)),u.isBuffer(e))return 0===e.length?-1:C(t,e,n,i,r);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):C(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function C(t,e,n,i,r){var o,a=1,s=t.length,l=e.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(r){var c=-1;for(o=n;o<s;o++)if(u(t,o)===u(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,d=0;d<l;d++)if(u(t,o+d)!==u(e,d)){h=!1;break}if(h)return o}return-1}function k(t,e,n,i){n=Number(n)||0;var r=t.length-n;i?(i=Number(i),i>r&&(i=r)):i=r;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var a=0;a<i;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function M(t,e,n,i){return tt(K(e,t.length-n),t,n,i)}function O(t,e,n,i){return tt(Z(e),t,n,i)}function T(t,e,n,i){return O(t,e,n,i)}function A(t,e,n,i){return tt(J(e),t,n,i)}function I(t,e,n,i){return tt(Q(e,t.length-n),t,n,i)}function P(t,e,n){return 0===e&&n===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,n))}function E(t,e,n){n=Math.min(t.length,n);var i=[],r=e;while(r<n){var o,a,s,l,u=t[r],c=null,h=u>239?4:u>223?3:u>191?2:1;if(r+h<=n)switch(h){case 1:u<128&&(c=u);break;case 2:o=t[r+1],128===(192&o)&&(l=(31&u)<<6|63&o,l>127&&(c=l));break;case 3:o=t[r+1],a=t[r+2],128===(192&o)&&128===(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:o=t[r+1],a=t[r+2],s=t[r+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,h=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=h}return L(i)}e.Buffer=u,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),e.kMaxLength=s(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return c(null,t,e,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,n){return d(null,t,e,n)},u.allocUnsafe=function(t){return p(null,t)},u.allocUnsafeSlow=function(t){return p(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,o=Math.min(n,i);r<o;++r)if(t[r]!==e[r]){n=t[r],i=e[r];break}return n<i?-1:i<n?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=u.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var a=t[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,r),r+=a.length}return i},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)w(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)w(this,e,e+3),w(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)w(this,e,e+7),w(this,e+1,e+6),w(this,e+2,e+5),w(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?E(this,0,t):x.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,n,i,r){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,r>>>=0,this===t)return 0;for(var o=r-i,a=n-e,s=Math.min(o,a),l=this.slice(i,r),c=t.slice(e,n),h=0;h<s;++h)if(l[h]!==c[h]){o=l[h],a=c[h];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},u.prototype.indexOf=function(t,e,n){return S(this,t,e,n,!0)},u.prototype.lastIndexOf=function(t,e,n){return S(this,t,e,n,!1)},u.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return k(this,t,e,n);case"utf8":case"utf-8":return M(this,t,e,n);case"ascii":return O(this,t,e,n);case"latin1":case"binary":return T(this,t,e,n);case"base64":return A(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var D=4096;function L(t){var e=t.length;if(e<=D)return String.fromCharCode.apply(String,t);var n="",i=0;while(i<e)n+=String.fromCharCode.apply(String,t.slice(i,i+=D));return n}function j(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(127&t[r]);return i}function R(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(t[r]);return i}function B(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=e;o<n;++o)r+=X(t[o]);return r}function N(t,e,n){for(var i=t.slice(e,n),r="",o=0;o<i.length;o+=2)r+=String.fromCharCode(i[o]+256*i[o+1]);return r}function F(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function z(t,e,n,i,r,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<o)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function V(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-n,2);r<o;++r)t[n+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function q(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-n,4);r<o;++r)t[n+r]=e>>>8*(i?r:3-r)&255}function $(t,e,n,i,r,o){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function H(t,e,n,i,o){return o||$(t,e,n,4,34028234663852886e22,-34028234663852886e22),r.write(t,e,n,i,23,4),n+4}function G(t,e,n,i,o){return o||$(t,e,n,8,17976931348623157e292,-17976931348623157e292),r.write(t,e,n,i,52,8),n+8}u.prototype.slice=function(t,e){var n,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=u.prototype;else{var r=e-t;n=new u(r,void 0);for(var o=0;o<r;++o)n[o]=this[o+t]}return n},u.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=this[t],r=1,o=0;while(++o<e&&(r*=256))i+=this[t+o]*r;return i},u.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=this[t+--e],r=1;while(e>0&&(r*=256))i+=this[t+--e]*r;return i},u.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=this[t],r=1,o=0;while(++o<e&&(r*=256))i+=this[t+o]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*e)),i},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||F(t,e,this.length);var i=e,r=1,o=this[t+--i];while(i>0&&(r*=256))o+=this[t+--i]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),r.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),r.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),r.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),r.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;z(this,t,e,n,r,0)}var o=1,a=0;this[e]=255&t;while(++a<n&&(o*=256))this[e+a]=t/o&255;return e+n},u.prototype.writeUIntBE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;z(this,t,e,n,r,0)}var o=n-1,a=1;this[e+o]=255&t;while(--o>=0&&(a*=256))this[e+o]=t/a&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):V(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):V(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):q(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);z(this,t,e,n,r-1,-r)}var o=0,a=1,s=0;this[e]=255&t;while(++o<n&&(a*=256))t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},u.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);z(this,t,e,n,r-1,-r)}var o=n-1,a=1,s=0;this[e+o]=255&t;while(--o>=0&&(a*=256))t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):V(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):V(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):q(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||z(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return H(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return H(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return G(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return G(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var r,o=i-n;if(this===t&&n<e&&e<i)for(r=o-1;r>=0;--r)t[r+e]=this[r+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},u.prototype.fill=function(t,e,n,i){if("string"===typeof t){if("string"===typeof e?(i=e,e=0,n=this.length):"string"===typeof n&&(i=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==i&&"string"!==typeof i)throw new TypeError("encoding must be a string");if("string"===typeof i&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=u.isBuffer(t)?t:K(new u(t,i).toString()),s=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%s]}return this};var W=/[^+\/0-9A-Za-z-_]/g;function U(t){if(t=Y(t).replace(W,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function Y(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function X(t){return t<16?"0"+t.toString(16):t.toString(16)}function K(t,e){var n;e=e||1/0;for(var i=t.length,r=null,o=[],a=0;a<i;++a){if(n=t.charCodeAt(a),n>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(e-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=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((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Z(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function Q(t,e){for(var n,i,r,o=[],a=0;a<t.length;++a){if((e-=2)<0)break;n=t.charCodeAt(a),i=n>>8,r=n%256,o.push(r),o.push(i)}return o}function J(t){return i.toByteArray(U(t))}function tt(t,e,n,i){for(var r=0;r<i;++r){if(r+n>=e.length||r>=t.length)break;e[r+n]=t[r]}return r}function et(t){return t!==t}}).call(this,n("23b3"))},"1c7e":function(t,e,n){var i=n("b622"),r=i("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(l){}return n}},"1d02":function(t,e,n){"use strict";var i=n("ebb5"),r=n("a258").findLastIndex,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("findLastIndex",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(e,n)}}},"1d80":function(t,e){var n=TypeError;t.exports=function(t){if(void 0==t)throw n("Can't call method on "+t);return t}},"1fb5":function(t,e,n){"use strict";e.byteLength=c,e.toByteArray=d,e.fromByteArray=g;for(var i=[],r=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)i[s]=a[s],r[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var i=n===e?0:4-n%4;return[n,i]}function c(t){var e=u(t),n=e[0],i=e[1];return 3*(n+i)/4-i}function h(t,e,n){return 3*(e+n)/4-n}function d(t){var e,n,i=u(t),a=i[0],s=i[1],l=new o(h(t,a,s)),c=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;return 2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,l[c++]=255&e),1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e),l}function p(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function f(t,e,n){for(var i,r=[],o=e;o<n;o+=3)i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),r.push(p(i));return r.join("")}function g(t){for(var e,n=t.length,r=n%3,o=[],a=16383,s=0,l=n-r;s<l;s+=a)o.push(f(t,s,s+a>l?l:s+a));return 1===r?(e=t[n-1],o.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],o.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"=")),o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},"219c":function(t,e,n){"use strict";var i=n("da84"),r=n("e330"),o=n("d039"),a=n("59ed"),s=n("addb"),l=n("ebb5"),u=n("04d1"),c=n("d998"),h=n("2d00"),d=n("512c"),p=l.aTypedArray,f=l.exportTypedArrayMethod,g=i.Uint16Array,m=g&&r(g.prototype.sort),v=!!m&&!(o((function(){m(new g(2),null)}))&&o((function(){m(new g(2),{})}))),y=!!m&&!o((function(){if(h)return h<74;if(u)return u<67;if(c)return!0;if(d)return d<602;var t,e,n=new g(516),i=Array(516);for(t=0;t<516;t++)e=t%4,n[t]=515-t,i[t]=t-2*e+3;for(m(n,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(n[t]!==i[t])return!0})),b=function(t){return function(e,n){return void 0!==t?+t(e,n)||0:n!==n?-1:e!==e?1:0===e&&0===n?1/e>0&&1/n<0?1:-1:e>n}};f("sort",(function(t){return void 0!==t&&a(t),y?m(this,t):s(p(this),b(t))}),!y||v)},"21cb":function(t,e,n){},"21e1":function(t,e,n){"use strict";var i=n("0967");const r=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,o=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,a=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,s=/[a-z0-9_ -]$/i;e["a"]={methods:{__onComposition(t){if("compositionend"===t.type||"change"===t.type){if(!0!==t.target.qComposing)return;t.target.qComposing=!1,this.__onInput(t)}else if("compositionupdate"===t.type&&!0!==t.target.qComposing&&"string"===typeof t.data){const e=!0===i["a"].is.firefox?!1===s.test(t.data):!0===r.test(t.data)||!0===o.test(t.data)||!0===a.test(t.data);!0===e&&(t.target.qComposing=!0)}}}}},2248:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("0967");function r(){if(void 0!==window.getSelection){const t=window.getSelection();void 0!==t.empty?t.empty():void 0!==t.removeAllRanges&&(t.removeAllRanges(),!0!==i["b"].is.mobile&&t.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}},"22d1":function(t,e,n){"use strict";var i=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),r=function(){function t(){this.browser=new i,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!==typeof window}return t}(),o=new r;function a(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?o.worker=!0:"undefined"===typeof navigator?(o.node=!0,o.svgSupported=!0):a(navigator.userAgent,o),e["a"]=o},"23b3":function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},"23cb":function(t,e,n){var i=n("5926"),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},"23e7":function(t,e,n){var i=n("da84"),r=n("06cf").f,o=n("9112"),a=n("cb2d"),s=n("6374"),l=n("e893"),u=n("94ca");t.exports=function(t,e){var n,c,h,d,p,f,g=t.target,m=t.global,v=t.stat;if(c=m?i:v?i[g]||s(g,{}):(i[g]||{}).prototype,c)for(h in e){if(p=e[h],t.dontCallGetSet?(f=r(c,h),d=f&&f.value):d=c[h],n=u(m?h:g+(v?".":"#")+h,t.forced),!n&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),a(c,h,p,t)}}},"241c":function(t,e,n){var i=n("ca84"),r=n("7839"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},"241e":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var i=n("89a2"),r=g(i),o=n("1ba5"),a=g(o),s=n("583f"),l=g(s),u=n("a5d2"),c=g(u),h=n("e8b2"),d=g(h),p=n("be98"),f=g(p);function g(t){return t&&t.__esModule?t:{default:t}}e.EAN13=r.default,e.EAN8=a.default,e.EAN5=l.default,e.EAN2=c.default,e.UPC=d.default,e.UPCE=f.default},2444:function(t,e,n){"use strict";(function(e){var i=n("c532"),r=n("c8af"),o=n("387f"),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function l(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("b50d")),t}function u(t,e,n){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(t)}var c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a){if("SyntaxError"===s.name)throw o(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){c.headers[t]=i.merge(a)})),t.exports=c}).call(this,n("4362"))},"24e8":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("58e5"),o=n("7ee0"),a=n("9e62"),s=n("efe6"),l=n("f376"),u=n("f303"),c=n("a267"),h=n("dde5"),d=n("d882"),p=n("0cd3"),f=n("e704"),g=n("0967");let m=0;const v={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},y={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]};e["a"]=i["a"].extend({name:"QDialog",mixins:[l["b"],r["a"],o["a"],a["c"],s["a"]],props:{persistent:Boolean,autoClose:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,position:{type:String,default:"standard",validator:t=>"standard"===t||["top","bottom","left","right"].includes(t)},transitionShow:String,transitionHide:String},data(){return{transitionState:this.showing,animating:!1}},watch:{showing(t){this.transitionShowComputed!==this.transitionHideComputed&&this.$nextTick((()=>{this.transitionState=t}))},maximized(t){!0===this.showing&&this.__updateMaximized(t)},useBackdrop(t){this.__preventScroll(t),this.__preventFocusout(t)}},computed:{classes(){return`q-dialog__inner--${!0===this.maximized?"maximized":"minimized"} q-dialog__inner--${this.position} ${v[this.position]}`+(!0===this.animating?" q-dialog__inner--animating":"")+(!0===this.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===this.fullHeight?" q-dialog__inner--fullheight":"")+(!0===this.square?" q-dialog__inner--square":"")},transitionShowComputed(){return"q-transition--"+(void 0===this.transitionShow?y[this.position][0]:this.transitionShow)},transitionHideComputed(){return"q-transition--"+(void 0===this.transitionHide?y[this.position][1]:this.transitionHide)},transition(){return!0===this.transitionState?this.transitionHideComputed:this.transitionShowComputed},useBackdrop(){return!0===this.showing&&!0!==this.seamless},hideOnRouteChange(){return!0!==this.persistent&&!0!==this.noRouteDismiss&&!0!==this.seamless},onEvents(){const t={...this.qListeners,input:d["k"],"popup-show":d["k"],"popup-hide":d["k"]};return!0===this.autoClose&&(t.click=this.__onAutoClose),t}},methods:{focus(t){Object(f["a"])((()=>{let e=this.__getInnerNode();void 0!==e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector(t||"[autofocus], [data-autofocus]")||e,e.focus({preventScroll:!0}))}))},shake(){this.focus(),this.$emit("shake");const t=this.__getInnerNode();void 0!==t&&(t.classList.remove("q-animate--scale"),t.classList.add("q-animate--scale"),clearTimeout(this.shakeTimeout),this.shakeTimeout=setTimeout((()=>{t.classList.remove("q-animate--scale")}),170))},__getInnerNode(){return void 0!==this.__portal&&void 0!==this.__portal.$refs?this.__portal.$refs.inner:void 0},__show(t){this.__addHistory(),this.__refocusTarget=!0!==g["a"].is.mobile&&!1===this.noRefocus&&null!==document.activeElement?document.activeElement:void 0,this.$el.dispatchEvent(Object(d["c"])("popup-show",{bubbles:!0})),this.__updateMaximized(this.maximized),c["a"].register(this,(()=>{!0!==this.seamless&&(!0===this.persistent||!0===this.noEscDismiss?!0!==this.maximized&&!0!==this.noShake&&this.shake():(this.$emit("escape-key"),this.hide()))})),this.__showPortal(),this.animating=!0,!0!==this.noFocus&&(null!==document.activeElement&&document.activeElement.blur(),this.__nextTick(this.focus)),this.__setTimeout((()=>{if(!0===this.$q.platform.is.ios){if(!0!==this.seamless&&document.activeElement){const{top:t,bottom:e}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,i=void 0!==window.visualViewport?window.visualViewport.height:n;t>0&&e>i/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-i,e>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+e-i/2))),document.activeElement.scrollIntoView()}this.__portal.$el.click()}this.animating=!1,this.__showPortal(!0),this.$emit("show",t)}),300)},__hide(t){this.__removeHistory(),this.__cleanup(!0),this.__hidePortal(),this.animating=!0,void 0!==this.__refocusTarget&&null!==this.__refocusTarget&&(this.__refocusTarget.focus(t),this.__refocusTarget=void 0),this.$el.dispatchEvent(Object(d["c"])("popup-hide",{bubbles:!0})),this.__setTimeout((()=>{this.__hidePortal(!0),this.animating=!1,this.$emit("hide",t)}),300)},__cleanup(t){clearTimeout(this.shakeTimeout),!0!==t&&!0!==this.showing||(c["a"].pop(this),this.__updateMaximized(!1),!0!==this.seamless&&(this.__preventScroll(!1),this.__preventFocusout(!1)))},__updateMaximized(t){!0===t?!0!==this.isMaximized&&(m<1&&document.body.classList.add("q-body--dialog"),m++,this.isMaximized=!0):!0===this.isMaximized&&(m<2&&document.body.classList.remove("q-body--dialog"),m--,this.isMaximized=!1)},__preventFocusout(t){if(!0===this.$q.platform.is.desktop){const e=(!0===t?"add":"remove")+"EventListener";document.body[e]("focusin",this.__onFocusChange)}},__onAutoClose(t){this.hide(t),void 0!==this.qListeners.click&&this.$emit("click",t)},__onBackdropClick(t){!0!==this.persistent&&!0!==this.noBackdropDismiss?this.hide(t):!0!==this.noShake&&this.shake()},__onFocusChange(t){!0===this.__portalIsAccessible&&!0!==Object(u["a"])(this.__portal.$el,t.target)&&this.focus('[tabindex]:not([tabindex="-1"])')},__renderPortal(t){return t("div",{staticClass:"q-dialog fullscreen no-pointer-events q-dialog--"+(!0===this.useBackdrop?"modal":"seamless"),class:this.contentClass,style:this.contentStyle,attrs:this.qAttrs},[t("transition",{props:{name:"q-transition--fade"}},!0===this.useBackdrop?[t("div",{staticClass:"q-dialog__backdrop fixed-full",attrs:l["a"],on:Object(p["b"])(this,"bkdrop",{click:this.__onBackdropClick})})]:null),t("transition",{props:{name:this.transition}},[!0===this.showing?t("div",{ref:"inner",staticClass:"q-dialog__inner flex no-pointer-events",class:this.classes,attrs:{tabindex:-1},on:this.onEvents},Object(h["c"])(this,"default")):null])])}},mounted(){this.__processModelChange(this.value)},beforeDestroy(){this.__cleanup(),this.__refocusTarget=void 0}})},2626:function(t,e,n){"use strict";var i=n("d066"),r=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");t.exports=function(t){var e=i(t),n=r.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},2635:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,n){s(this,e),-1!==t.search(/^[0-9]{13}$/)&&(t+=h(t));var i=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.binaryRepresentation={0:"00110",1:"10001",2:"01001",3:"11000",4:"00101",5:"10100",6:"01100",7:"00011",8:"10010",9:"01010"},i}return u(e,t),i(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{14}$/)&&this.data[13]==h(this.data)}},{key:"encode",value:function(){for(var t="1010",e=0;e<14;e+=2)t+=this.calculatePair(this.data.substr(e,2));return t+="11101",{data:t,text:this.text}}},{key:"calculatePair",value:function(t){for(var e="",n=this.binaryRepresentation[t[0]],i=this.binaryRepresentation[t[1]],r=0;r<5;r++)e+="1"==n[r]?"111":"1",e+="1"==i[r]?"000":"0";return e}}]),e}(o.default);function h(t){for(var e=0,n=0;n<13;n++)e+=parseInt(t[n])*(3-n%2*2);return 10*Math.ceil(e/10)-e}e.ITF14=c},2732:function(t,e,n){const i=n("699e");e.mul=function(t,e){const n=new Uint8Array(t.length+e.length-1);for(let r=0;r<t.length;r++)for(let o=0;o<e.length;o++)n[r+o]^=i.mul(t[r],e[o]);return n},e.mod=function(t,e){let n=new Uint8Array(t);while(n.length-e.length>=0){const t=n[0];for(let o=0;o<e.length;o++)n[o]^=i.mul(e[o],t);let r=0;while(r<n.length&&0===n[r])r++;n=n.slice(r)}return n},e.generateECPolynomial=function(t){let n=new Uint8Array([1]);for(let r=0;r<t;r++)n=e.mul(n,new Uint8Array([1,i.exp(r)]));return n}},"27a3":function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},"27f9":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("8572"),o=n("f89c"),a=n("cc78"),s=(n("5319"),n("ddb0"),n("d728"));const l={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},u={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleLowerCase()}},c=Object.keys(u);c.forEach((t=>{u[t].regex=new RegExp(u[t].pattern)}));const h=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+c.join("")+"])|(.)","g"),d=/[.*+?^${}()|[\]\\]/g,p=String.fromCharCode(1);var f={props:{mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean},watch:{type(){this.__updateMaskInternals()},autogrow(){this.__updateMaskInternals()},mask(t){if(void 0!==t)this.__updateMaskValue(this.innerValue,!0);else{const t=this.__unmask(this.innerValue);this.__updateMaskInternals(),this.value!==t&&this.$emit("input",t)}},fillMask(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue,!0)},reverseFillMask(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue,!0)},unmaskedValue(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue)}},methods:{__getInitialMaskedValue(){if(this.__updateMaskInternals(),!0===this.hasMask){const t=this.__mask(this.__unmask(this.value));return!1!==this.fillMask?this.__fillWithMask(t):t}return this.value},__getPaddedMaskMarked(t){if(t<this.maskMarked.length)return this.maskMarked.slice(-t);let e=this.maskMarked,n="";const i=e.indexOf(p);if(i>-1){for(let i=t-e.length;i>0;i--)n+=p;e=e.slice(0,i)+n+e.slice(i)}return e},__updateMaskInternals(){if(this.hasMask=void 0!==this.mask&&this.mask.length>0&&(!0===this.autogrow||["textarea","text","search","url","tel","password"].includes(this.type)),!1===this.hasMask)return this.computedUnmask=void 0,this.maskMarked="",void(this.maskReplaced="");const t=void 0===l[this.mask]?this.mask:l[this.mask],e="string"===typeof this.fillMask&&this.fillMask.length>0?this.fillMask.slice(0,1):"_",n=e.replace(d,"\\$&"),i=[],r=[],o=[];let a=!0===this.reverseFillMask,s="",c="";t.replace(h,((t,e,n,l,h)=>{if(void 0!==l){const t=u[l];o.push(t),c=t.negate,!0===a&&(r.push("(?:"+c+"+)?("+t.pattern+"+)?(?:"+c+"+)?("+t.pattern+"+)?"),a=!1),r.push("(?:"+c+"+)?("+t.pattern+")?")}else if(void 0!==n)s="\\"+("\\"===n?"":n),o.push(n),i.push("([^"+s+"]+)?"+s+"?");else{const t=void 0!==e?e:h;s="\\"===t?"\\\\\\\\":t.replace(d,"\\\\$&"),o.push(t),i.push("([^"+s+"]+)?"+s+"?")}}));const f=new RegExp("^"+i.join("")+"("+(""===s?".":"[^"+s+"]")+"+)?$"),g=r.length-1,m=r.map(((t,e)=>0===e&&!0===this.reverseFillMask?new RegExp("^"+n+"*"+t):e===g?new RegExp("^"+t+"("+(""===c?".":c)+"+)?"+(!0===this.reverseFillMask?"$":n+"*")):new RegExp("^"+t)));this.computedMask=o,this.computedUnmask=t=>{const e=f.exec(t);null!==e&&(t=e.slice(1).join(""));const n=[],i=m.length;for(let r=0,o=t;r<i;r++){const t=m[r].exec(o);if(null===t)break;o=o.slice(t.shift().length),n.push(...t)}return n.length>0?n.join(""):t},this.maskMarked=o.map((t=>"string"===typeof t?t:p)).join(""),this.maskReplaced=this.maskMarked.split(p).join(e)},__updateMaskValue(t,e,n){const i=this.$refs.input,r=i.selectionEnd,o=i.value.length-r,a=this.__unmask(t);!0===e&&this.__updateMaskInternals();const s=this.__mask(a),l=!1!==this.fillMask?this.__fillWithMask(s):s,u=this.innerValue!==l;i.value!==l&&(i.value=l),!0===u&&(this.innerValue=l),document.activeElement===i&&this.$nextTick((()=>{if(l!==this.maskReplaced)if("insertFromPaste"!==n||!0===this.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(n)>-1){const t=!0===this.reverseFillMask?0===r?l.length>s.length?1:0:Math.max(0,l.length-(l===this.maskReplaced?0:Math.min(s.length,o)+1))+1:r;i.setSelectionRange(t,t,"forward")}else if(!0===this.reverseFillMask)if(!0===u){const t=Math.max(0,l.length-(l===this.maskReplaced?0:Math.min(s.length,o+1)));1===t&&1===r?i.setSelectionRange(t,t,"forward"):this.__moveCursorRightReverse(i,t,t)}else{const t=l.length-o;i.setSelectionRange(t,t,"backward")}else if(!0===u){const t=Math.max(0,this.maskMarked.indexOf(p),Math.min(s.length,r)-1);this.__moveCursorRight(i,t,t)}else{const t=r-1;this.__moveCursorRight(i,t,t)}else{const t=r-1;this.__moveCursorRight(i,t,t)}else{const t=!0===this.reverseFillMask?this.maskReplaced.length:0;i.setSelectionRange(t,t,"forward")}}));const c=!0===this.unmaskedValue?this.__unmask(l):l;String(this.value)!==c&&this.__emitValue(c,!0)},__moveCursorForPaste(t,e,n){const i=this.__mask(this.__unmask(t.value));e=Math.max(0,this.maskMarked.indexOf(p),Math.min(i.length,e)),t.setSelectionRange(e,n,"forward")},__moveCursorLeft(t,e,n,i){const r=-1===this.maskMarked.slice(e-1).indexOf(p);let o=Math.max(0,e-1);for(;o>=0;o--)if(this.maskMarked[o]===p){e=o,!0===r&&e++;break}if(o<0&&void 0!==this.maskMarked[e]&&this.maskMarked[e]!==p)return this.__moveCursorRight(t,0,0);e>=0&&t.setSelectionRange(e,!0===i?n:e,"backward")},__moveCursorRight(t,e,n,i){const r=t.value.length;let o=Math.min(r,n+1);for(;o<=r;o++){if(this.maskMarked[o]===p){n=o;break}this.maskMarked[o-1]===p&&(n=o)}if(o>r&&void 0!==this.maskMarked[n-1]&&this.maskMarked[n-1]!==p)return this.__moveCursorLeft(t,r,r);t.setSelectionRange(i?e:n,n,"forward")},__moveCursorLeftReverse(t,e,n,i){const r=this.__getPaddedMaskMarked(t.value.length);let o=Math.max(0,e-1);for(;o>=0;o--){if(r[o-1]===p){e=o;break}if(r[o]===p&&(e=o,0===o))break}if(o<0&&void 0!==r[e]&&r[e]!==p)return this.__moveCursorRightReverse(t,0,0);e>=0&&t.setSelectionRange(e,!0===i?n:e,"backward")},__moveCursorRightReverse(t,e,n,i){const r=t.value.length,o=this.__getPaddedMaskMarked(r),a=-1===o.slice(0,n+1).indexOf(p);let s=Math.min(r,n+1);for(;s<=r;s++)if(o[s-1]===p){n=s,n>0&&!0===a&&n--;break}if(s>r&&void 0!==o[n-1]&&o[n-1]!==p)return this.__moveCursorLeftReverse(t,r,r);t.setSelectionRange(!0===i?e:n,n,"forward")},__onMaskedKeydown(t){if(!0===Object(s["c"])(t))return;const e=this.$refs.input,n=e.selectionStart,i=e.selectionEnd;if(37===t.keyCode||39===t.keyCode){const r=this["__moveCursor"+(39===t.keyCode?"Right":"Left")+(!0===this.reverseFillMask?"Reverse":"")];t.preventDefault(),r(e,n,i,t.shiftKey)}else 8===t.keyCode&&!0!==this.reverseFillMask&&n===i?this.__moveCursorLeft(e,n,i,!0):46===t.keyCode&&!0===this.reverseFillMask&&n===i&&this.__moveCursorRightReverse(e,n,i,!0);this.$emit("keydown",t)},__mask(t){if(void 0===t||null===t||""===t)return"";if(!0===this.reverseFillMask)return this.__maskReverse(t);const e=this.computedMask;let n=0,i="";for(let r=0;r<e.length;r++){const o=t[n],a=e[r];if("string"===typeof a)i+=a,o===a&&n++;else{if(void 0===o||!a.regex.test(o))return i;i+=void 0!==a.transform?a.transform(o):o,n++}}return i},__maskReverse(t){const e=this.computedMask,n=this.maskMarked.indexOf(p);let i=t.length-1,r="";for(let o=e.length-1;o>=0&&i>-1;o--){const a=e[o];let s=t[i];if("string"===typeof a)r=a+r,s===a&&i--;else{if(void 0===s||!a.regex.test(s))return r;do{r=(void 0!==a.transform?a.transform(s):s)+r,i--,s=t[i]}while(n===o&&void 0!==s&&a.regex.test(s))}}return r},__unmask(t){return"string"!==typeof t||void 0===this.computedUnmask?"number"===typeof t?this.computedUnmask(""+t):t:this.computedUnmask(t)},__fillWithMask(t){return this.maskReplaced.length-t.length<=0?t:!0===this.reverseFillMask&&t.length>0?this.maskReplaced.slice(0,-t.length)+t:t+this.maskReplaced.slice(t.length)}}},g=n("21e1"),m=n("87e8"),v=n("d882"),y=n("e704");e["a"]=i["a"].extend({name:"QInput",mixins:[r["a"],f,g["a"],o["a"],a["a"],m["a"]],props:{value:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},watch:{value(t){if(!0===this.hasMask){if(!0===this.stopValueWatcher&&(this.stopValueWatcher=!1,String(t)===this.emitCachedValue))return;this.__updateMaskValue(t)}else this.innerValue!==t&&(this.innerValue=t,"number"===this.type&&!0===this.hasOwnProperty("tempValue")&&(!0===this.typedNumber?this.typedNumber=!1:delete this.tempValue));!0===this.autogrow&&this.$nextTick(this.__adjustHeight)},type(){this.$refs.input&&(this.$refs.input.value=this.value)},autogrow(t){if(!0===t)this.$nextTick(this.__adjustHeight);else if(this.qAttrs.rows>0&&void 0!==this.$refs.input){const t=this.$refs.input;t.style.height="auto"}},dense(){!0===this.autogrow&&this.$nextTick(this.__adjustHeight)}},data(){return{innerValue:this.__getInitialMaskedValue()}},computed:{isTextarea(){return"textarea"===this.type||!0===this.autogrow},isTypeText(){return!0===this.isTextarea||["text","search","url","tel","password"].includes(this.type)},fieldClass(){return"q-"+(!0===this.isTextarea?"textarea":"input")+(!0===this.autogrow?" q-textarea--autogrow":"")},hasShadow(){return"file"!==this.type&&"string"===typeof this.shadowText&&this.shadowText.length>0},onEvents(){const t={...this.qListeners,input:this.__onInput,paste:this.__onPaste,change:this.__onChange,blur:this.__onFinishEditing,focus:v["k"]};return t.compositionstart=t.compositionupdate=t.compositionend=this.__onComposition,!0===this.hasMask&&(t.keydown=this.__onMaskedKeydown),!0===this.autogrow&&(t.animationend=this.__adjustHeight),t},inputAttrs(){const t={tabindex:0,"data-autofocus":this.autofocus||void 0,rows:"textarea"===this.type?6:void 0,"aria-label":this.label,name:this.nameProp,...this.qAttrs,id:this.targetUid,type:this.type,maxlength:this.maxlength,disabled:!0===this.disable,readonly:!0===this.readonly};return!0===this.autogrow&&(t.rows=1),t}},methods:{focus(){Object(y["a"])((()=>{const t=document.activeElement;void 0===this.$refs.input||this.$refs.input===t||null!==t&&t.id===this.targetUid||this.$refs.input.focus({preventScroll:!0})}))},select(){void 0!==this.$refs.input&&this.$refs.input.select()},getNativeElement(){return this.$refs.input},__onPaste(t){if(!0===this.hasMask&&!0!==this.reverseFillMask){const e=t.target;this.__moveCursorForPaste(e,e.selectionStart,e.selectionEnd)}this.$emit("paste",t)},__onInput(t){if(!t||!t.target||!0===t.target.qComposing)return;if("file"===this.type)return void this.$emit("input",t.target.files);const e=t.target.value;if(!0===this.hasMask)this.__updateMaskValue(e,!1,t.inputType);else if(this.__emitValue(e),!0===this.isTypeText&&t.target===document.activeElement){const{selectionStart:n,selectionEnd:i}=t.target;void 0!==n&&void 0!==i&&this.$nextTick((()=>{t.target===document.activeElement&&0===e.indexOf(t.target.value)&&t.target.setSelectionRange(n,i)}))}!0===this.autogrow&&this.__adjustHeight()},__emitValue(t,e){this.emitValueFn=()=>{"number"!==this.type&&!0===this.hasOwnProperty("tempValue")&&delete this.tempValue,this.value!==t&&this.emitCachedValue!==t&&(this.emitCachedValue=t,!0===e&&(this.stopValueWatcher=!0),this.$emit("input",t),this.$nextTick((()=>{this.emitCachedValue===t&&(this.emitCachedValue=NaN)}))),this.emitValueFn=void 0},"number"===this.type&&(this.typedNumber=!0,this.tempValue=t),void 0!==this.debounce?(clearTimeout(this.emitTimer),this.tempValue=t,this.emitTimer=setTimeout(this.emitValueFn,this.debounce)):this.emitValueFn()},__adjustHeight(){const t=this.$refs.input;if(void 0!==t){const e=t.parentNode.style,{overflow:n}=t.style;e.marginBottom=t.scrollHeight-1+"px",t.style.height="1px",t.style.overflow="hidden",t.style.height=t.scrollHeight+"px",t.style.overflow=n,e.marginBottom=""}},__onChange(t){this.__onComposition(t),clearTimeout(this.emitTimer),void 0!==this.emitValueFn&&this.emitValueFn(),this.$emit("change",t)},__onFinishEditing(t){void 0!==t&&Object(v["k"])(t),clearTimeout(this.emitTimer),void 0!==this.emitValueFn&&this.emitValueFn(),this.typedNumber=!1,this.stopValueWatcher=!1,delete this.tempValue,"file"!==this.type&&setTimeout((()=>{void 0!==this.$refs.input&&(this.$refs.input.value=void 0!==this.innerValue?this.innerValue:"")}))},__getCurValue(){return!0===this.hasOwnProperty("tempValue")?this.tempValue:void 0!==this.innerValue?this.innerValue:""},__getShadowControl(t){return t("div",{staticClass:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===this.isTextarea?"":" text-no-wrap")},[t("span",{staticClass:"invisible"},this.__getCurValue()),t("span",this.shadowText)])},__getControl(t){return t(!0===this.isTextarea?"textarea":"input",{ref:"input",staticClass:"q-field__native q-placeholder",style:this.inputStyle,class:this.inputClass,attrs:this.inputAttrs,on:this.onEvents,domProps:"file"!==this.type?{value:this.__getCurValue()}:this.formDomProps})}},created(){this.emitCachedValue=NaN},mounted(){!0===this.autogrow&&this.__adjustHeight()},beforeDestroy(){this.__onFinishEditing()}})},"2a19":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("cb32"),o=n("0016"),a=n("9c40"),s=n("0d59"),l=n("d882"),u=n("f303"),c=n("1c16"),h=n("5ff7"),d=n("0967");let p,f=0;const g={},m={},v={},y={},b=/^\s*$/,_=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],x=["top-left","top-right","bottom-left","bottom-right"],w={positive:{icon:t=>t.iconSet.type.positive,color:"positive"},negative:{icon:t=>t.iconSet.type.negative,color:"negative"},warning:{icon:t=>t.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:t=>t.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function S(t,e,n){if(!t)return M("parameter required");let i;const r={textColor:"white"};if(!0!==t.ignoreDefaults&&Object.assign(r,g),!1===Object(h["d"])(t)&&(r.type&&Object.assign(r,w[r.type]),t={message:t}),Object.assign(r,w[t.type||r.type],t),"function"===typeof r.icon&&(r.icon=r.icon(e.$q)),r.spinner?!0===r.spinner&&(r.spinner=s["a"]):r.spinner=!1,r.meta={hasMedia:Boolean(!1!==r.spinner||r.icon||r.avatar),hasText:k(r.message)||k(r.caption)},r.position){if(!1===_.includes(r.position))return M("wrong position",t)}else r.position="bottom";if(void 0===r.timeout)r.timeout=5e3;else{const e=parseInt(r.timeout,10);if(isNaN(e)||e<0)return M("wrong timeout",t);r.timeout=e}0===r.timeout?r.progress=!1:!0===r.progress&&(r.meta.progressClass="q-notification__progress"+(r.progressClass?` ${r.progressClass}`:""),r.meta.progressStyle={animationDuration:`${r.timeout+1e3}ms`});const o=(!0===Array.isArray(t.actions)?t.actions:[]).concat(!0!==t.ignoreDefaults&&!0===Array.isArray(g.actions)?g.actions:[]).concat(void 0!==w[t.type]&&!0===Array.isArray(w[t.type].actions)?w[t.type].actions:[]),{closeBtn:a}=r;if(a&&o.push({label:"string"===typeof a?a:e.$q.lang.label.close}),r.actions=o.map((({handler:t,noDismiss:e,style:n,class:i,attrs:r,...o})=>({staticClass:i,style:n,props:{flat:!0,...o},attrs:r,on:{click:"function"===typeof t?()=>{t(),!0!==e&&l()}:()=>{l()}}}))),void 0===r.multiLine&&(r.multiLine=r.actions.length>1),Object.assign(r.meta,{staticClass:"q-notification row items-stretch q-notification--"+(!0===r.multiLine?"multi-line":"standard")+(void 0!==r.color?` bg-${r.color}`:"")+(void 0!==r.textColor?` text-${r.textColor}`:"")+(void 0!==r.classes?` ${r.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(!0===r.multiLine?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(!0===r.multiLine?"":" col"),leftClass:!0===r.meta.hasText?"additional":"single",attrs:{role:"alert",...r.attrs}}),!1===r.group?(r.group=void 0,r.meta.group=void 0):(void 0!==r.group&&!0!==r.group||(r.group=[r.message,r.caption,r.multiline].concat(r.actions.map((({props:t})=>`${t.label}*${t.icon}`))).join("|")),r.meta.group=r.group+"|"+r.position),0===r.actions.length?r.actions=void 0:r.meta.actionsClass="q-notification__actions row items-center "+(!0===r.multiLine?"justify-end":"col-auto")+(!0===r.meta.hasMedia?" q-notification__actions--with-media":""),void 0!==n){clearTimeout(n.notif.meta.timer),r.meta.uid=n.notif.meta.uid;const t=v[r.position].indexOf(n.notif);v[r.position][t]=r}else{const e=m[r.meta.group];if(void 0===e){if(r.meta.uid=f++,r.meta.badge=1,-1!==["left","right","center"].indexOf(r.position))v[r.position].splice(Math.floor(v[r.position].length/2),0,r);else{const t=r.position.indexOf("top")>-1?"unshift":"push";v[r.position][t](r)}void 0!==r.group&&(m[r.meta.group]=r)}else{if(clearTimeout(e.meta.timer),void 0!==r.badgePosition){if(!1===x.includes(r.badgePosition))return M("wrong badgePosition",t)}else r.badgePosition="top-"+(r.position.indexOf("left")>-1?"right":"left");r.meta.uid=e.meta.uid,r.meta.badge=e.meta.badge+1,r.meta.badgeClass=`q-notification__badge q-notification__badge--${r.badgePosition}`+(void 0!==r.badgeColor?` bg-${r.badgeColor}`:"")+(void 0!==r.badgeTextColor?` text-${r.badgeTextColor}`:"")+(r.badgeClass?` ${r.badgeClass}`:"");const n=v[r.position].indexOf(e);v[r.position][n]=m[r.meta.group]=r}}const l=()=>{C(r,e),i=void 0};return e.$forceUpdate(),r.timeout>0&&(r.meta.timer=setTimeout((()=>{l()}),r.timeout+1e3)),void 0!==r.group?e=>{void 0!==e?M("trying to update a grouped one which is forbidden",t):l()}:(i={dismiss:l,config:t,notif:r},void 0===n?t=>{if(void 0!==i)if(void 0===t)i.dismiss();else{const n=Object.assign({},i.config,t,{group:!1,position:r.position});S(n,e,i)}}:void Object.assign(n,i))}function C(t,e){clearTimeout(t.meta.timer);const n=v[t.position].indexOf(t);if(-1!==n){void 0!==t.group&&delete m[t.meta.group];const i=e.$refs[""+t.meta.uid];if(i){const{width:t,height:e}=getComputedStyle(i);i.style.left=`${i.offsetLeft}px`,i.style.width=t,i.style.height=e}v[t.position].splice(n,1),e.$forceUpdate(),"function"===typeof t.onDismiss&&t.onDismiss()}}function k(t){return void 0!==t&&null!==t&&!0!==b.test(t)}function M(t,e){return console.error(`Notify: ${t}`,e),!1}const O={name:"QNotifications",devtools:{hide:!0},beforeCreate(){void 0===this._routerRoot&&(this._routerRoot={})},render(t){return t("div",{staticClass:"q-notifications"},_.map((e=>t("transition-group",{key:e,staticClass:y[e],tag:"div",props:{name:`q-notification--${e}`,mode:"out-in"}},v[e].map((e=>{const{meta:n}=e,i=[];if(!0===n.hasMedia&&(!1!==e.spinner?i.push(t(e.spinner,{staticClass:"q-notification__spinner q-notification__spinner--"+n.leftClass,props:{color:e.spinnerColor,size:e.spinnerSize}})):e.icon?i.push(t(o["a"],{staticClass:"q-notification__icon q-notification__icon--"+n.leftClass,attrs:{role:"img"},props:{name:e.icon,color:e.iconColor,size:e.iconSize}})):e.avatar&&i.push(t(r["a"],{staticClass:"q-notification__avatar q-notification__avatar--"+n.leftClass},[t("img",{attrs:{src:e.avatar,"aria-hidden":"true"}})]))),!0===n.hasText){let n;const r={staticClass:"q-notification__message col"};if(!0===e.html)r.domProps={innerHTML:e.caption?`<div>${e.message}</div><div class="q-notification__caption">${e.caption}</div>`:e.message};else{const i=[e.message];n=e.caption?[t("div",i),t("div",{staticClass:"q-notification__caption"},[e.caption])]:i}i.push(t("div",r,n))}const s=[t("div",{staticClass:n.contentClass},i)];return!0===e.progress&&s.push(t("div",{key:`${n.uid}|p|${n.badge}`,staticClass:n.progressClass,style:n.progressStyle})),void 0!==e.actions&&s.push(t("div",{staticClass:n.actionsClass},e.actions.map((e=>t(a["a"],{...e}))))),n.badge>1&&s.push(t("div",{key:`${n.uid}|${n.badge}`,staticClass:n.badgeClass,style:e.badgeStyle},[n.badge])),t("div",{ref:""+n.uid,key:n.uid,staticClass:n.staticClass,attrs:n.attrs},[t("div",{staticClass:n.wrapperClass},s)])}))))))},mounted(){if(void 0!==this.$q.fullscreen&&!0===this.$q.fullscreen.isCapable){const t=()=>{const t=Object(u["c"])(this.$q.fullscreen.activeEl);this.$el.parentElement!==t&&t.appendChild(this.$el)};this.unwatchFullscreen=this.$watch("$q.fullscreen.activeEl",Object(c["a"])(t,50)),!0===this.$q.fullscreen.isActive&&t()}},beforeDestroy(){void 0!==this.unwatchFullscreen&&this.unwatchFullscreen()}};e["a"]={setDefaults(t){!0!==d["e"]&&!0===Object(h["d"])(t)&&Object.assign(g,t)},registerType(t,e){!0!==d["e"]&&!0===Object(h["d"])(e)&&(w[t]=e)},install({$q:t}){if(t.notify=this.create=!0===d["e"]?l["g"]:t=>S(t,p),t.notify.setDefaults=this.setDefaults,t.notify.registerType=this.registerType,void 0!==t.config.notify&&this.setDefaults(t.config.notify),!0!==d["e"]){_.forEach((t=>{v[t]=[];const e=!0===["left","center","right"].includes(t)?"center":t.indexOf("top")>-1?"top":"bottom",n=t.indexOf("left")>-1?"start":t.indexOf("right")>-1?"end":"center",i=["left","right"].includes(t)?`items-${"left"===t?"start":"end"} justify-center`:"center"===t?"flex-center":`items-${n}`;y[t]=`q-notifications__list q-notifications__list--${e} fixed column no-wrap ${i}`}));const t=document.createElement("div");document.body.appendChild(t),p=new i["a"](O),p.$mount(t)}}}},"2a62":function(t,e,n){var i=n("c65b"),r=n("825a"),o=n("dc4a");t.exports=function(t,e,n){var a,s;r(t);try{if(a=o(t,"return"),!a){if("throw"===e)throw n;return n}a=i(a,t)}catch(l){s=!0,a=l}if("throw"===e)throw n;if(s)throw a;return r(a),n}},"2b0e":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Yi}));
- /*!
- * Vue.js v2.7.8
- * (c) 2014-2022 Evan You
- * Released under the MIT License.
- */
- var i=Object.freeze({}),r=Array.isArray;function o(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function s(t){return!0===t}function l(t){return!1===t}function u(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return"function"===typeof t}function h(t){return null!==t&&"object"===typeof t}var d=Object.prototype.toString;function p(t){return"[object Object]"===d.call(t)}function f(t){return"[object RegExp]"===d.call(t)}function g(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function v(t){return null==t?"":Array.isArray(t)||p(t)&&t.toString===d?JSON.stringify(t,null,2):String(t)}function y(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}b("slot,component",!0);var _=b("key,ref,slot,slot-scope,is");function x(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var w=Object.prototype.hasOwnProperty;function S(t,e){return w.call(t,e)}function C(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var k=/-(\w)/g,M=C((function(t){return t.replace(k,(function(t,e){return e?e.toUpperCase():""}))})),O=C((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,A=C((function(t){return t.replace(T,"-$1").toLowerCase()}));function I(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function P(t,e){return t.bind(e)}var E=Function.prototype.bind?P:I;function D(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function L(t,e){for(var n in e)t[n]=e[n];return t}function j(t){for(var e={},n=0;n<t.length;n++)t[n]&&L(e,t[n]);return e}function R(t,e,n){}var B=function(t,e,n){return!1},N=function(t){return t};function F(t,e){if(t===e)return!0;var n=h(t),i=h(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every((function(t,n){return F(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return F(t[n],e[n])}))}catch(l){return!1}}function z(t,e){for(var n=0;n<t.length;n++)if(F(t[n],e))return n;return-1}function V(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function q(t,e){return t===e?0===t&&1/t!==1/e:t===t||e===e}var $="data-server-rendered",H=["component","directive","filter"],G=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],W={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:B,isReservedAttr:B,isUnknownElement:B,getTagNamespace:R,parsePlatformTagName:N,mustUseProp:B,async:!0,_lifecycleHooks:G},U=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Y(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function X(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var K=new RegExp("[^".concat(U.source,".$_\\d]"));function Z(t){if(!K.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var Q="__proto__"in{},J="undefined"!==typeof window,tt=J&&window.navigator.userAgent.toLowerCase(),et=tt&&/msie|trident/.test(tt),nt=tt&&tt.indexOf("msie 9.0")>0,it=tt&&tt.indexOf("edge/")>0;tt&&tt.indexOf("android");var rt=tt&&/iphone|ipad|ipod|ios/.test(tt);tt&&/chrome\/\d+/.test(tt),tt&&/phantomjs/.test(tt);var ot,at=tt&&tt.match(/firefox\/(\d+)/),st={}.watch,lt=!1;if(J)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){lt=!0}}),window.addEventListener("test-passive",null,ut)}catch(Xa){}var ct=function(){return void 0===ot&&(ot=!J&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),ot},ht=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function dt(t){return"function"===typeof t&&/native code/.test(t.toString())}var pt,ft="undefined"!==typeof Symbol&&dt(Symbol)&&"undefined"!==typeof Reflect&&dt(Reflect.ownKeys);pt="undefined"!==typeof Set&&dt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var gt=null;function mt(t){void 0===t&&(t=null),t||gt&>._scope.off(),gt=t,t&&t._scope.on()}var vt=function(){function t(t,e,n,i,r,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),yt=function(t){void 0===t&&(t="");var e=new vt;return e.text=t,e.isComment=!0,e};function bt(t){return new vt(void 0,void 0,void 0,String(t))}function _t(t){var e=new vt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var xt=0,wt=function(){function t(){this.id=xt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){x(this.subs,t)},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.slice();for(var n=0,i=e.length;n<i;n++){e[n].update()}},t}();wt.target=null;var St=[];function Ct(t){St.push(t),wt.target=t}function kt(){St.pop(),wt.target=St[St.length-1]}var Mt=Array.prototype,Ot=Object.create(Mt),Tt=["push","pop","shift","unshift","splice","sort","reverse"];Tt.forEach((function(t){var e=Mt[t];X(Ot,t,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2);break}return r&&a.observeArray(r),a.dep.notify(),o}))}));var At=Object.getOwnPropertyNames(Ot),It={},Pt=!0;function Et(t){Pt=t}var Dt={notify:R,depend:R,addSub:R,removeSub:R},Lt=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?Dt:new wt,this.vmCount=0,X(t,"__ob__",this),r(t)){if(!n)if(Q)t.__proto__=Ot;else for(var i=0,o=At.length;i<o;i++){var a=At[i];X(t,a,Ot[a])}e||this.observeArray(t)}else{var s=Object.keys(t);for(i=0;i<s.length;i++){a=s[i];Rt(t,a,It,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)jt(t[e],!1,this.mock)},t}();function jt(t,e,n){var i;if(!(!h(t)||$t(t)||t instanceof vt))return S(t,"__ob__")&&t.__ob__ instanceof Lt?i=t.__ob__:!Pt||!n&&ct()||!r(t)&&!p(t)||!Object.isExtensible(t)||t.__v_skip||(i=new Lt(t,e,n)),i}function Rt(t,e,n,i,o,a){var s=new wt,l=Object.getOwnPropertyDescriptor(t,e);if(!l||!1!==l.configurable){var u=l&&l.get,c=l&&l.set;u&&!c||n!==It&&2!==arguments.length||(n=t[e]);var h=!o&&jt(n,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):n;return wt.target&&(s.depend(),h&&(h.dep.depend(),r(e)&&Ft(e))),$t(e)&&!o?e.value:e},set:function(e){var i=u?u.call(t):n;if(q(i,e)){if(c)c.call(t,e);else{if(u)return;if(!o&&$t(i)&&!$t(e))return void(i.value=e);n=e}h=!o&&jt(e,!1,a),s.notify()}}}),s}}function Bt(t,e,n){if(!qt(t)){var i=t.__ob__;return r(t)&&g(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),i&&!i.shallow&&i.mock&&jt(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||i&&i.vmCount?n:i?(Rt(i.value,e,n,void 0,i.shallow,i.mock),i.dep.notify(),n):(t[e]=n,n)}}function Nt(t,e){if(r(t)&&g(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||qt(t)||S(t,e)&&(delete t[e],n&&n.dep.notify())}}function Ft(t){for(var e=void 0,n=0,i=t.length;n<i;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),r(e)&&Ft(e)}function zt(t){return Vt(t,!0),X(t,"__v_isShallow",!0),t}function Vt(t,e){if(!qt(t)){jt(t,e,ct());0}}function qt(t){return!(!t||!t.__v_isReadonly)}function $t(t){return!(!t||!0!==t.__v_isRef)}function Ht(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if($t(t))return t.value;var i=t&&t.__ob__;return i&&i.dep.depend(),t},set:function(t){var i=e[n];$t(i)&&!$t(t)?i.value=t:e[n]=t}})}var Gt="watcher";"".concat(Gt," callback"),"".concat(Gt," getter"),"".concat(Gt," cleanup");var Wt;var Ut=function(){function t(t){void 0===t&&(t=!1),this.active=!0,this.effects=[],this.cleanups=[],!t&&Wt&&(this.parent=Wt,this.index=(Wt.scopes||(Wt.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Wt;try{return Wt=this,t()}finally{Wt=e}}else 0},t.prototype.on=function(){Wt=this},t.prototype.off=function(){Wt=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(this.parent&&!t){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.active=!1}},t}();function Yt(t,e){void 0===e&&(e=Wt),e&&e.active&&e.effects.push(t)}function Xt(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}var Kt=C((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var i="!"===t.charAt(0);return t=i?t.slice(1):t,{name:t,once:n,capture:i,passive:e}}));function Zt(t,e){function n(){var t=n.fns;if(!r(t))return Ue(t,null,arguments,e,"v-on handler");for(var i=t.slice(),o=0;o<i.length;o++)Ue(i[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function Qt(t,e,n,i,r,a){var l,u,c,h;for(l in t)u=t[l],c=e[l],h=Kt(l),o(u)||(o(c)?(o(u.fns)&&(u=t[l]=Zt(u,a)),s(h.once)&&(u=t[l]=r(h.name,u,h.capture)),n(h.name,u,h.capture,h.passive,h.params)):u!==c&&(c.fns=u,t[l]=c));for(l in e)o(t[l])&&(h=Kt(l),i(h.name,e[l],h.capture))}function Jt(t,e,n){var i;t instanceof vt&&(t=t.data.hook||(t.data.hook={}));var r=t[e];function l(){n.apply(this,arguments),x(i.fns,l)}o(r)?i=Zt([l]):a(r.fns)&&s(r.merged)?(i=r,i.fns.push(l)):i=Zt([r,l]),i.merged=!0,t[e]=i}function te(t,e,n){var i=e.options.props;if(!o(i)){var r={},s=t.attrs,l=t.props;if(a(s)||a(l))for(var u in i){var c=A(u);ee(r,l,u,c,!0)||ee(r,s,u,c,!1)}return r}}function ee(t,e,n,i,r){if(a(e)){if(S(e,n))return t[n]=e[n],r||delete e[n],!0;if(S(e,i))return t[n]=e[i],r||delete e[i],!0}return!1}function ne(t){for(var e=0;e<t.length;e++)if(r(t[e]))return Array.prototype.concat.apply([],t);return t}function ie(t){return u(t)?[bt(t)]:r(t)?oe(t):void 0}function re(t){return a(t)&&a(t.text)&&l(t.isComment)}function oe(t,e){var n,i,l,c,h=[];for(n=0;n<t.length;n++)i=t[n],o(i)||"boolean"===typeof i||(l=h.length-1,c=h[l],r(i)?i.length>0&&(i=oe(i,"".concat(e||"","_").concat(n)),re(i[0])&&re(c)&&(h[l]=bt(c.text+i[0].text),i.shift()),h.push.apply(h,i)):u(i)?re(c)?h[l]=bt(c.text+i):""!==i&&h.push(bt(i)):re(i)&&re(c)?h[l]=bt(c.text+i.text):(s(t._isVList)&&a(i.tag)&&o(i.key)&&a(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),h.push(i)));return h}function ae(t,e){var n,i,o,s,l=null;if(r(t)||"string"===typeof t)for(l=new Array(t.length),n=0,i=t.length;n<i;n++)l[n]=e(t[n],n);else if("number"===typeof t)for(l=new Array(t),n=0;n<t;n++)l[n]=e(n+1,n);else if(h(t))if(ft&&t[Symbol.iterator]){l=[];var u=t[Symbol.iterator](),c=u.next();while(!c.done)l.push(e(c.value,l.length)),c=u.next()}else for(o=Object.keys(t),l=new Array(o.length),n=0,i=o.length;n<i;n++)s=o[n],l[n]=e(t[s],s,n);return a(l)||(l=[]),l._isVList=!0,l}function se(t,e,n,i){var r,o=this.$scopedSlots[t];o?(n=n||{},i&&(n=L(L({},i),n)),r=o(n)||(c(e)?e():e)):r=this.$slots[t]||(c(e)?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function le(t){return xi(this.$options,"filters",t,!0)||N}function ue(t,e){return r(t)?-1===t.indexOf(e):t!==e}function ce(t,e,n,i,r){var o=W.keyCodes[e]||n;return r&&i&&!W.keyCodes[e]?ue(r,i):o?ue(o,t):i?A(i)!==e:void 0===t}function he(t,e,n,i,o){if(n)if(h(n)){r(n)&&(n=j(n));var a=void 0,s=function(r){if("class"===r||"style"===r||_(r))a=t;else{var s=t.attrs&&t.attrs.type;a=i||W.mustUseProp(e,s,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=M(r),u=A(r);if(!(l in a)&&!(u in a)&&(a[r]=n[r],o)){var c=t.on||(t.on={});c["update:".concat(r)]=function(t){n[r]=t}}};for(var l in n)s(l)}else;return t}function de(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e||(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),fe(i,"__static__".concat(t),!1)),i}function pe(t,e,n){return fe(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function fe(t,e,n){if(r(t))for(var i=0;i<t.length;i++)t[i]&&"string"!==typeof t[i]&&ge(t[i],"".concat(e,"_").concat(i),n);else ge(t,e,n)}function ge(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function me(t,e){if(e)if(p(e)){var n=t.on=t.on?L({},t.on):{};for(var i in e){var r=n[i],o=e[i];n[i]=r?[].concat(r,o):o}}else;return t}function ve(t,e,n,i){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var a=t[o];r(a)?ve(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return i&&(e.$key=i),e}function ye(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"===typeof i&&i&&(t[e[n]]=e[n+1])}return t}function be(t,e){return"string"===typeof t?e+t:t}function _e(t){t._o=pe,t._n=y,t._s=v,t._l=ae,t._t=se,t._q=F,t._i=z,t._m=de,t._f=le,t._k=ce,t._b=he,t._v=bt,t._e=yt,t._u=ve,t._g=me,t._d=ye,t._p=be}function xe(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var o=t[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var u in n)n[u].every(we)&&delete n[u];return n}function we(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Se(t){return t.isComment&&t.asyncFactory}function Ce(t,e,n,r){var o,a=Object.keys(n).length>0,s=e?!!e.$stable:!a,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==i&&l===r.$key&&!a&&!r.$hasNormal)return r;for(var u in o={},e)e[u]&&"$"!==u[0]&&(o[u]=ke(t,n,u,e[u]))}else o={};for(var c in n)c in o||(o[c]=Me(n,c));return e&&Object.isExtensible(e)&&(e._normalized=o),X(o,"$stable",s),X(o,"$key",l),X(o,"$hasNormal",a),o}function ke(t,e,n,i){var o=function(){var e=gt;mt(t);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!r(n)?[n]:ie(n);var o=n&&n[0];return mt(e),n&&(!o||1===n.length&&o.isComment&&!Se(o))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function Me(t,e){return function(){return t[e]}}function Oe(t){var e=t.$options,n=e.setup;if(n){var i=t._setupContext=Te(t);mt(t),Ct();var r=Ue(n,null,[t._props||zt({}),i],t,"setup");if(kt(),mt(),c(r))e.render=r;else if(h(r))if(t._setupState=r,r.__sfc){var o=t._setupProxy={};for(var a in r)"__sfc"!==a&&Ht(o,r,a)}else for(var a in r)Y(a)||Ht(t,r,a);else 0}}function Te(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};X(e,"_v_attr_proxy",!0),Ae(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Ae(e,t.$listeners,i,t,"$listeners")}return t._listenersProxy},get slots(){return Pe(t)},emit:E(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Ht(t,e,n)}))}}}function Ae(t,e,n,i,r){var o=!1;for(var a in e)a in t?e[a]!==n[a]&&(o=!0):(o=!0,Ie(t,a,i,r));for(var a in t)a in e||(o=!0,delete t[a]);return o}function Ie(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function Pe(t){return t._slotsProxy||Ee(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Ee(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function De(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=xe(e._renderChildren,r),t.$scopedSlots=n?Ce(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,r){return qe(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return qe(t,e,n,i,r,!0)};var o=n&&n.data;Rt(t,"$attrs",o&&o.attrs||i,null,!0),Rt(t,"$listeners",e._parentListeners||i,null,!0)}var Le=null;function je(t){_e(t.prototype),t.prototype.$nextTick=function(t){return an(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,o=n._parentVnode;o&&e._isMounted&&(e.$scopedSlots=Ce(e.$parent,o.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Ee(e._slotsProxy,e.$scopedSlots)),e.$vnode=o;try{mt(e),Le=e,t=i.call(e._renderProxy,e.$createElement)}catch(Xa){We(Xa,e,"render"),t=e._vnode}finally{Le=null,mt()}return r(t)&&1===t.length&&(t=t[0]),t instanceof vt||(t=yt()),t.parent=o,t}}function Re(t,e){return(t.__esModule||ft&&"Module"===t[Symbol.toStringTag])&&(t=t.default),h(t)?e.extend(t):t}function Be(t,e,n,i,r){var o=yt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}function Ne(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=Le;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var i=t.owners=[n],r=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return x(i,n)}));var c=function(t){for(var e=0,n=i.length;e<n;e++)i[e].$forceUpdate();t&&(i.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},d=V((function(n){t.resolved=Re(n,e),r?i.length=0:c(!0)})),p=V((function(e){a(t.errorComp)&&(t.error=!0,c(!0))})),f=t(d,p);return h(f)&&(m(f)?o(t.resolved)&&f.then(d,p):m(f.component)&&(f.component.then(d,p),a(f.error)&&(t.errorComp=Re(f.error,e)),a(f.loading)&&(t.loadingComp=Re(f.loading,e),0===f.delay?t.loading=!0:l=setTimeout((function(){l=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,c(!1))}),f.delay||200)),a(f.timeout)&&(u=setTimeout((function(){u=null,o(t.resolved)&&p(null)}),f.timeout)))),r=!1,t.loading?t.loadingComp:t.resolved}}function Fe(t){if(r(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||Se(n)))return n}}var ze=1,Ve=2;function qe(t,e,n,i,o,a){return(r(n)||u(n))&&(o=i,i=n,n=void 0),s(a)&&(o=Ve),$e(t,e,n,i,o)}function $e(t,e,n,i,o){if(a(n)&&a(n.__ob__))return yt();if(a(n)&&a(n.is)&&(e=n.is),!e)return yt();var s,l;if(r(i)&&c(i[0])&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),o===Ve?i=ie(i):o===ze&&(i=ne(i)),"string"===typeof e){var u=void 0;l=t.$vnode&&t.$vnode.ns||W.getTagNamespace(e),s=W.isReservedTag(e)?new vt(W.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!a(u=xi(t.$options,"components",e))?new vt(e,n,i,void 0,void 0,t):ri(u,n,t,i,e)}else s=ri(e,n,t,i);return r(s)?s:a(s)?(a(l)&&He(s,l),a(n)&&Ge(n),s):yt()}function He(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var i=0,r=t.children.length;i<r;i++){var l=t.children[i];a(l.tag)&&(o(l.ns)||s(n)&&"svg"!==l.tag)&&He(l,e,n)}}function Ge(t){h(t.style)&&hn(t.style),h(t.class)&&hn(t.class)}function We(t,e,n){Ct();try{if(e){var i=e;while(i=i.$parent){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{var a=!1===r[o].call(i,t,e,n);if(a)return}catch(Xa){Ye(Xa,i,"errorCaptured hook")}}}Ye(t,e,n)}finally{kt()}}function Ue(t,e,n,i,r){var o;try{o=n?t.apply(e,n):t.call(e),o&&!o._isVue&&m(o)&&!o._handled&&(o.catch((function(t){return We(t,i,r+" (Promise/async)")})),o._handled=!0)}catch(Xa){We(Xa,i,r)}return o}function Ye(t,e,n){if(W.errorHandler)try{return W.errorHandler.call(null,t,e,n)}catch(Xa){Xa!==t&&Xe(Xa,null,"config.errorHandler")}Xe(t,e,n)}function Xe(t,e,n){if(!J||"undefined"===typeof console)throw t;console.error(t)}var Ke,Ze=!1,Qe=[],Je=!1;function tn(){Je=!1;var t=Qe.slice(0);Qe.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&dt(Promise)){var en=Promise.resolve();Ke=function(){en.then(tn),rt&&setTimeout(R)},Ze=!0}else if(et||"undefined"===typeof MutationObserver||!dt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ke="undefined"!==typeof setImmediate&&dt(setImmediate)?function(){setImmediate(tn)}:function(){setTimeout(tn,0)};else{var nn=1,rn=new MutationObserver(tn),on=document.createTextNode(String(nn));rn.observe(on,{characterData:!0}),Ke=function(){nn=(nn+1)%2,on.data=String(nn)},Ze=!0}function an(t,e){var n;if(Qe.push((function(){if(t)try{t.call(e)}catch(Xa){We(Xa,e,"nextTick")}else n&&n(e)})),Je||(Je=!0,Ke()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}function sn(t){return function(e,n){if(void 0===n&&(n=gt),n)return ln(n,t,e)}}function ln(t,e,n){var i=t.$options;i[e]=pi(i[e],n)}sn("beforeMount"),sn("mounted"),sn("beforeUpdate"),sn("updated"),sn("beforeDestroy"),sn("destroyed"),sn("errorCaptured"),sn("activated"),sn("deactivated"),sn("serverPrefetch"),sn("renderTracked"),sn("renderTriggered");var un="2.7.8";var cn=new pt;function hn(t){return dn(t,cn),cn.clear(),t}function dn(t,e){var n,i,o=r(t);if(!(!o&&!h(t)||Object.isFrozen(t)||t instanceof vt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o){n=t.length;while(n--)dn(t[n],e)}else if($t(t))dn(t.value,e);else{i=Object.keys(t),n=i.length;while(n--)dn(t[i[n]],e)}}}var pn,fn=0,gn=function(){function t(t,e,n,i,r){Yt(this,Wt||(t?t._scope:void 0)),(this.vm=t)&&r&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++fn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new pt,this.newDepIds=new pt,this.expression="",c(e)?this.getter=e:(this.getter=Z(e),this.getter||(this.getter=R)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;Ct(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Xa){if(!this.user)throw Xa;We(Xa,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&hn(t),kt(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Un(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Ue(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&x(this.vm._scope.effects,this),this.active){var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function mn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&_n(t,e)}function vn(t,e){pn.$on(t,e)}function yn(t,e){pn.$off(t,e)}function bn(t,e){var n=pn;return function i(){var r=e.apply(null,arguments);null!==r&&n.$off(t,i)}}function _n(t,e,n){pn=t,Qt(e,n||{},vn,yn,bn,t),pn=void 0}function xn(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(r(t))for(var o=0,a=t.length;o<a;o++)i.$on(t[o],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(r(t)){for(var i=0,o=t.length;i<o;i++)n.$off(t[i],e);return n}var a,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;var l=s.length;while(l--)if(a=s[l],a===e||a.fn===e){s.splice(l,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?D(n):n;for(var i=D(arguments,1),r='event handler for "'.concat(t,'"'),o=0,a=n.length;o<a;o++)Ue(n[o],e,i,e,r)}return e}}var wn=null;function Sn(t){var e=wn;return wn=t,function(){wn=e}}function Cn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function kn(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,o=Sn(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Pn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||x(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Pn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Mn(t,e,n){var i;t.$el=e,t.$options.render||(t.$options.render=yt),Pn(t,"beforeMount"),i=function(){t._update(t._render(),n)};var r={before:function(){t._isMounted&&!t._isDestroyed&&Pn(t,"beforeUpdate")}};new gn(t,i,R,r,!0),n=!1;var o=t._preWatchers;if(o)for(var a=0;a<o.length;a++)o[a].run();return null==t.$vnode&&(t._isMounted=!0,Pn(t,"mounted")),t}function On(t,e,n,r,o){var a=r.data.scopedSlots,s=t.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(o||t.$options._renderChildren||l),c=t.$vnode;t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o;var h=r.data.attrs||i;t._attrsProxy&&Ae(t._attrsProxy,h,c.data&&c.data.attrs||i,t,"$attrs")&&(u=!0),t.$attrs=h,n=n||i;var d=t.$options._parentListeners;if(t._listenersProxy&&Ae(t._listenersProxy,n,d||i,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,_n(t,n,d),e&&t.$options.props){Et(!1);for(var p=t._props,f=t.$options._propKeys||[],g=0;g<f.length;g++){var m=f[g],v=t.$options.props;p[m]=wi(m,v,e,t)}Et(!0),t.$options.propsData=e}u&&(t.$slots=xe(o,r.context),t.$forceUpdate())}function Tn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function An(t,e){if(e){if(t._directInactive=!1,Tn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)An(t.$children[n]);Pn(t,"activated")}}function In(t,e){if((!e||(t._directInactive=!0,!Tn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)In(t.$children[n]);Pn(t,"deactivated")}}function Pn(t,e,n,i){void 0===i&&(i=!0),Ct();var r=gt;i&&mt(t);var o=t.$options[e],a="".concat(e," hook");if(o)for(var s=0,l=o.length;s<l;s++)Ue(o[s],t,n||null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),i&&mt(r),kt()}var En=[],Dn=[],Ln={},jn=!1,Rn=!1,Bn=0;function Nn(){Bn=En.length=Dn.length=0,Ln={},jn=Rn=!1}var Fn=0,zn=Date.now;if(J&&!et){var Vn=window.performance;Vn&&"function"===typeof Vn.now&&zn()>document.createEvent("Event").timeStamp&&(zn=function(){return Vn.now()})}var qn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function $n(){var t,e;for(Fn=zn(),Rn=!0,En.sort(qn),Bn=0;Bn<En.length;Bn++)t=En[Bn],t.before&&t.before(),e=t.id,Ln[e]=null,t.run();var n=Dn.slice(),i=En.slice();Nn(),Wn(n),Hn(i),ht&&W.devtools&&ht.emit("flush")}function Hn(t){var e=t.length;while(e--){var n=t[e],i=n.vm;i&&i._watcher===n&&i._isMounted&&!i._isDestroyed&&Pn(i,"updated")}}function Gn(t){t._inactive=!1,Dn.push(t)}function Wn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,An(t[e],!0)}function Un(t){var e=t.id;if(null==Ln[e]&&(t!==wt.target||!t.noRecurse)){if(Ln[e]=!0,Rn){var n=En.length-1;while(n>Bn&&En[n].id>t.id)n--;En.splice(n+1,0,t)}else En.push(t);jn||(jn=!0,an($n))}}function Yn(t){var e=t.$options.provide;if(e){var n=c(e)?e.call(t):e;if(!h(n))return;for(var i=Xt(t),r=ft?Reflect.ownKeys(n):Object.keys(n),o=0;o<r.length;o++){var a=r[o];Object.defineProperty(i,a,Object.getOwnPropertyDescriptor(n,a))}}}function Xn(t){var e=Kn(t.$options.inject,t);e&&(Et(!1),Object.keys(e).forEach((function(n){Rt(t,n,e[n])})),Et(!0))}function Kn(t,e){if(t){for(var n=Object.create(null),i=ft?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){var a=t[o].from;if(a in e._provided)n[o]=e._provided[a];else if("default"in t[o]){var s=t[o].default;n[o]=c(s)?s.call(e):s}else 0}}return n}}function Zn(t,e,n,o,a){var l,u=this,c=a.options;S(o,"_uid")?(l=Object.create(o),l._original=o):(l=o,o=o._original);var h=s(c._compiled),d=!h;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||i,this.injections=Kn(c.inject,o),this.slots=function(){return u.$slots||Ce(o,t.scopedSlots,u.$slots=xe(n,o)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ce(o,t.scopedSlots,this.slots())}}),h&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Ce(o,t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,i){var a=qe(l,t,e,n,i,d);return a&&!r(a)&&(a.fnScopeId=c._scopeId,a.fnContext=o),a}:this._c=function(t,e,n,i){return qe(l,t,e,n,i,d)}}function Qn(t,e,n,o,s){var l=t.options,u={},c=l.props;if(a(c))for(var h in c)u[h]=wi(h,c,e||i);else a(n.attrs)&&ti(u,n.attrs),a(n.props)&&ti(u,n.props);var d=new Zn(n,u,s,o,t),p=l.render.call(null,d._c,d);if(p instanceof vt)return Jn(p,n,d.parent,l,d);if(r(p)){for(var f=ie(p)||[],g=new Array(f.length),m=0;m<f.length;m++)g[m]=Jn(f[m],n,d.parent,l,d);return g}}function Jn(t,e,n,i,r){var o=_t(t);return o.fnContext=n,o.fnOptions=i,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function ti(t,e){for(var n in e)t[M(n)]=e[n]}function ei(t){return t.name||t.__name||t._componentTag}_e(Zn.prototype);var ni={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;ni.prepatch(n,n)}else{var i=t.componentInstance=oi(t,wn);i.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,i=e.componentInstance=t.componentInstance;On(i,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Pn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Gn(n):An(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?In(e,!0):e.$destroy())}},ii=Object.keys(ni);function ri(t,e,n,i,r){if(!o(t)){var l=n.$options._base;if(h(t)&&(t=l.extend(t)),"function"===typeof t){var u;if(o(t.cid)&&(u=t,t=Ne(u,l),void 0===t))return Be(u,e,n,i,r);e=e||{},Wi(t),a(e.model)&&li(t.options,e);var c=te(e,t,r);if(s(t.options.functional))return Qn(t,c,e,n,i);var d=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}ai(e);var f=ei(t.options)||r,g=new vt("vue-component-".concat(t.cid).concat(f?"-".concat(f):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:c,listeners:d,tag:r,children:i},u);return g}}}function oi(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;return a(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns),new t.componentOptions.Ctor(n)}function ai(t){for(var e=t.hook||(t.hook={}),n=0;n<ii.length;n++){var i=ii[n],r=e[i],o=ni[i];r===o||r&&r._merged||(e[i]=r?si(o,r):o)}}function si(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}function li(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),s=o[i],l=e.model.callback;a(s)?(r(s)?-1===s.indexOf(l):s!==l)&&(o[i]=[l].concat(s)):o[i]=l}var ui=R,ci=W.optionMergeStrategies;function hi(t,e){if(!e)return t;for(var n,i,r,o=ft?Reflect.ownKeys(e):Object.keys(e),a=0;a<o.length;a++)n=o[a],"__ob__"!==n&&(i=t[n],r=e[n],S(t,n)?i!==r&&p(i)&&p(r)&&hi(i,r):Bt(t,n,r));return t}function di(t,e,n){return n?function(){var i=c(e)?e.call(n,n):e,r=c(t)?t.call(n,n):t;return i?hi(i,r):r}:e?t?function(){return hi(c(e)?e.call(this,this):e,c(t)?t.call(this,this):t)}:e:t}function pi(t,e){var n=e?t?t.concat(e):r(e)?e:[e]:t;return n?fi(n):n}function fi(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function gi(t,e,n,i){var r=Object.create(t||null);return e?L(r,e):r}ci.data=function(t,e,n){return n?di(t,e,n):e&&"function"!==typeof e?t:di(t,e)},G.forEach((function(t){ci[t]=pi})),H.forEach((function(t){ci[t+"s"]=gi})),ci.watch=function(t,e,n,i){if(t===st&&(t=void 0),e===st&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var a in L(o,t),e){var s=o[a],l=e[a];s&&!r(s)&&(s=[s]),o[a]=s?s.concat(l):r(l)?l:[l]}return o},ci.props=ci.methods=ci.inject=ci.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return L(r,t),e&&L(r,e),r},ci.provide=di;var mi=function(t,e){return void 0===e?t:e};function vi(t,e){var n=t.props;if(n){var i,o,a,s={};if(r(n)){i=n.length;while(i--)o=n[i],"string"===typeof o&&(a=M(o),s[a]={type:null})}else if(p(n))for(var l in n)o=n[l],a=M(l),s[a]=p(o)?o:{type:o};else 0;t.props=s}}function yi(t,e){var n=t.inject;if(n){var i=t.inject={};if(r(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(p(n))for(var a in n){var s=n[a];i[a]=p(s)?L({from:a},s):{from:s}}else 0}}function bi(t){var e=t.directives;if(e)for(var n in e){var i=e[n];c(i)&&(e[n]={bind:i,update:i})}}function _i(t,e,n){if(c(e)&&(e=e.options),vi(e,n),yi(e,n),bi(e),!e._base&&(e.extends&&(t=_i(t,e.extends,n)),e.mixins))for(var i=0,r=e.mixins.length;i<r;i++)t=_i(t,e.mixins[i],n);var o,a={};for(o in t)s(o);for(o in e)S(t,o)||s(o);function s(i){var r=ci[i]||mi;a[i]=r(t[i],e[i],n,i)}return a}function xi(t,e,n,i){if("string"===typeof n){var r=t[e];if(S(r,n))return r[n];var o=M(n);if(S(r,o))return r[o];var a=O(o);if(S(r,a))return r[a];var s=r[n]||r[o]||r[a];return s}}function wi(t,e,n,i){var r=e[t],o=!S(n,t),a=n[t],s=Oi(Boolean,r.type);if(s>-1)if(o&&!S(r,"default"))a=!1;else if(""===a||a===A(t)){var l=Oi(String,r.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=Si(i,r,t);var u=Pt;Et(!0),jt(a),Et(u)}return a}function Si(t,e,n){if(S(e,"default")){var i=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:c(i)&&"Function"!==ki(e.type)?i.call(t):i}}var Ci=/^\s*function (\w+)/;function ki(t){var e=t&&t.toString().match(Ci);return e?e[1]:""}function Mi(t,e){return ki(t)===ki(e)}function Oi(t,e){if(!r(e))return Mi(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(Mi(e[n],t))return n;return-1}var Ti={enumerable:!0,configurable:!0,get:R,set:R};function Ai(t,e,n){Ti.get=function(){return this[e][n]},Ti.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ti)}function Ii(t){var e=t.$options;if(e.props&&Pi(t,e.props),Oe(t),e.methods&&Fi(t,e.methods),e.data)Ei(t);else{var n=jt(t._data={});n&&n.vmCount++}e.computed&&ji(t,e.computed),e.watch&&e.watch!==st&&zi(t,e.watch)}function Pi(t,e){var n=t.$options.propsData||{},i=t._props=zt({}),r=t.$options._propKeys=[],o=!t.$parent;o||Et(!1);var a=function(o){r.push(o);var a=wi(o,e,n,t);Rt(i,o,a),o in t||Ai(t,"_props",o)};for(var s in e)a(s);Et(!0)}function Ei(t){var e=t.$options.data;e=t._data=c(e)?Di(e,t):e||{},p(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var o=n[r];0,i&&S(i,o)||Y(o)||Ai(t,"_data",o)}var a=jt(e);a&&a.vmCount++}function Di(t,e){Ct();try{return t.call(e,e)}catch(Xa){return We(Xa,e,"data()"),{}}finally{kt()}}var Li={lazy:!0};function ji(t,e){var n=t._computedWatchers=Object.create(null),i=ct();for(var r in e){var o=e[r],a=c(o)?o:o.get;0,i||(n[r]=new gn(t,a||R,R,Li)),r in t||Ri(t,r,o)}}function Ri(t,e,n){var i=!ct();c(n)?(Ti.get=i?Bi(e):Ni(n),Ti.set=R):(Ti.get=n.get?i&&!1!==n.cache?Bi(e):Ni(n.get):R,Ti.set=n.set||R),Object.defineProperty(t,e,Ti)}function Bi(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),wt.target&&e.depend(),e.value}}function Ni(t){return function(){return t.call(this,this)}}function Fi(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?R:E(e[n],t)}function zi(t,e){for(var n in e){var i=e[n];if(r(i))for(var o=0;o<i.length;o++)Vi(t,n,i[o]);else Vi(t,n,i)}}function Vi(t,e,n,i){return p(n)&&(i=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,i)}function qi(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Bt,t.prototype.$delete=Nt,t.prototype.$watch=function(t,e,n){var i=this;if(p(e))return Vi(i,t,e,n);n=n||{},n.user=!0;var r=new gn(i,t,e,n);if(n.immediate){var o='callback for immediate watcher "'.concat(r.expression,'"');Ct(),Ue(e,i,[r.value],i,o),kt()}return function(){r.teardown()}}}var $i=0;function Hi(t){t.prototype._init=function(t){var e=this;e._uid=$i++,e._isVue=!0,e.__v_skip=!0,e._scope=new Ut(!0),t&&t._isComponent?Gi(e,t):e.$options=_i(Wi(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Cn(e),mn(e),De(e),Pn(e,"beforeCreate",void 0,!1),Xn(e),Ii(e),Yn(e),Pn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function Gi(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Wi(t){var e=t.options;if(t.super){var n=Wi(t.super),i=t.superOptions;if(n!==i){t.superOptions=n;var r=Ui(t);r&&L(t.extendOptions,r),e=t.options=_i(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Ui(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}function Yi(t){this._init(t)}function Xi(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=D(arguments,1);return n.unshift(this),c(t.install)?t.install.apply(t,n):c(t)&&t.apply(null,n),e.push(t),this}}function Ki(t){t.mixin=function(t){return this.options=_i(this.options,t),this}}function Zi(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=ei(t)||ei(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=_i(n.options,t),a["super"]=n,a.options.props&&Qi(a),a.options.computed&&Ji(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,H.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=L({},a.options),r[i]=a,a}}function Qi(t){var e=t.options.props;for(var n in e)Ai(t.prototype,"_props",n)}function Ji(t){var e=t.options.computed;for(var n in e)Ri(t.prototype,n,e[n])}function tr(t){H.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&p(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&c(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function er(t){return t&&(ei(t.Ctor.options)||t.tag)}function nr(t,e){return r(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function ir(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&rr(n,o,i,r)}}}function rr(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,x(n,e)}Hi(Yi),qi(Yi),xn(Yi),kn(Yi),je(Yi);var or=[String,RegExp,Array],ar={name:"keep-alive",abstract:!0,props:{include:or,exclude:or,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var o=i.tag,a=i.componentInstance,s=i.componentOptions;e[r]={name:er(s),tag:o,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&rr(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)rr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){ir(t,(function(t){return nr(e,t)}))})),this.$watch("exclude",(function(e){ir(t,(function(t){return!nr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Fe(t),n=e&&e.componentOptions;if(n){var i=er(n),r=this,o=r.include,a=r.exclude;if(o&&(!i||!nr(o,i))||a&&i&&nr(a,i))return e;var s=this,l=s.cache,u=s.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;l[c]?(e.componentInstance=l[c].componentInstance,x(u,c),u.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}},sr={KeepAlive:ar};function lr(t){var e={get:function(){return W}};Object.defineProperty(t,"config",e),t.util={warn:ui,extend:L,mergeOptions:_i,defineReactive:Rt},t.set=Bt,t.delete=Nt,t.nextTick=an,t.observable=function(t){return jt(t),t},t.options=Object.create(null),H.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,L(t.options.components,sr),Xi(t),Ki(t),Zi(t),tr(t)}lr(Yi),Object.defineProperty(Yi.prototype,"$isServer",{get:ct}),Object.defineProperty(Yi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Yi,"FunctionalRenderContext",{value:Zn}),Yi.version=un;var ur=b("style,class"),cr=b("input,textarea,option,select,progress"),hr=function(t,e,n){return"value"===n&&cr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},dr=b("contenteditable,draggable,spellcheck"),pr=b("events,caret,typing,plaintext-only"),fr=function(t,e){return br(e)||"false"===e?"false":"contenteditable"===t&&pr(e)?e:"true"},gr=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),mr="http://www.w3.org/1999/xlink",vr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},yr=function(t){return vr(t)?t.slice(6,t.length):""},br=function(t){return null==t||!1===t};function _r(t){var e=t.data,n=t,i=t;while(a(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=xr(i.data,e));while(a(n=n.parent))n&&n.data&&(e=xr(e,n.data));return wr(e.staticClass,e.class)}function xr(t,e){return{staticClass:Sr(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function wr(t,e){return a(t)||a(e)?Sr(t,Cr(e)):""}function Sr(t,e){return t?e?t+" "+e:t:e||""}function Cr(t){return Array.isArray(t)?kr(t):h(t)?Mr(t):"string"===typeof t?t:""}function kr(t){for(var e,n="",i=0,r=t.length;i<r;i++)a(e=Cr(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Mr(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var Or={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Tr=b("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ar=b("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ir=function(t){return Tr(t)||Ar(t)};function Pr(t){return Ar(t)?"svg":"math"===t?"math":void 0}var Er=Object.create(null);function Dr(t){if(!J)return!0;if(Ir(t))return!1;if(t=t.toLowerCase(),null!=Er[t])return Er[t];var e=document.createElement(t);return t.indexOf("-")>-1?Er[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Er[t]=/HTMLUnknownElement/.test(e.toString())}var Lr=b("text,number,password,search,email,tel,url");function jr(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Rr(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Br(t,e){return document.createElementNS(Or[t],e)}function Nr(t){return document.createTextNode(t)}function Fr(t){return document.createComment(t)}function zr(t,e,n){t.insertBefore(e,n)}function Vr(t,e){t.removeChild(e)}function qr(t,e){t.appendChild(e)}function $r(t){return t.parentNode}function Hr(t){return t.nextSibling}function Gr(t){return t.tagName}function Wr(t,e){t.textContent=e}function Ur(t,e){t.setAttribute(e,"")}var Yr=Object.freeze({__proto__:null,createElement:Rr,createElementNS:Br,createTextNode:Nr,createComment:Fr,insertBefore:zr,removeChild:Vr,appendChild:qr,parentNode:$r,nextSibling:Hr,tagName:Gr,setTextContent:Wr,setStyleScope:Ur}),Xr={create:function(t,e){Kr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Kr(t,!0),Kr(e))},destroy:function(t){Kr(t,!0)}};function Kr(t,e){var n=t.data.ref;if(a(n)){var i=t.context,o=t.componentInstance||t.elm,s=e?null:o,l=e?void 0:o;if(c(n))Ue(n,i,[s],i,"template ref function");else{var u=t.data.refInFor,h="string"===typeof n||"number"===typeof n,d=$t(n),p=i.$refs;if(h||d)if(u){var f=h?p[n]:n.value;e?r(f)&&x(f,o):r(f)?f.includes(o)||f.push(o):h?(p[n]=[o],Zr(i,n,p[n])):n.value=[o]}else if(h){if(e&&p[n]!==o)return;p[n]=l,Zr(i,n,s)}else if(d){if(e&&n.value!==o)return;n.value=s}else 0}}}function Zr(t,e,n){var i=t._setupState;i&&S(i,e)&&($t(i[e])?i[e].value=n:i[e]=n)}var Qr=new vt("",{},[]),Jr=["create","activate","update","remove","destroy"];function to(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&eo(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function eo(t,e){if("input"!==t.tag)return!0;var n,i=a(n=t.data)&&a(n=n.attrs)&&n.type,r=a(n=e.data)&&a(n=n.attrs)&&n.type;return i===r||Lr(i)&&Lr(r)}function no(t,e,n){var i,r,o={};for(i=e;i<=n;++i)r=t[i].key,a(r)&&(o[r]=i);return o}function io(t){var e,n,i={},l=t.modules,c=t.nodeOps;for(e=0;e<Jr.length;++e)for(i[Jr[e]]=[],n=0;n<l.length;++n)a(l[n][Jr[e]])&&i[Jr[e]].push(l[n][Jr[e]]);function h(t){return new vt(c.tagName(t).toLowerCase(),{},[],void 0,t)}function d(t,e){function n(){0===--n.listeners&&p(t)}return n.listeners=e,n}function p(t){var e=c.parentNode(t);a(e)&&c.removeChild(e,t)}function f(t,e,n,i,r,o,l){if(a(t.elm)&&a(o)&&(t=o[l]=_t(t)),t.isRootInsert=!r,!g(t,e,n,i)){var u=t.data,h=t.children,d=t.tag;a(d)?(t.elm=t.ns?c.createElementNS(t.ns,d):c.createElement(d,t),S(t),_(t,h,e),a(u)&&w(t,e),y(n,t.elm,i)):s(t.isComment)?(t.elm=c.createComment(t.text),y(n,t.elm,i)):(t.elm=c.createTextNode(t.text),y(n,t.elm,i))}}function g(t,e,n,i){var r=t.data;if(a(r)){var o=a(t.componentInstance)&&r.keepAlive;if(a(r=r.hook)&&a(r=r.init)&&r(t,!1),a(t.componentInstance))return m(t,e),y(n,t.elm,i),s(o)&&v(t,e,n,i),!0}}function m(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,x(t)?(w(t,e),S(t)):(Kr(t),e.push(t))}function v(t,e,n,r){var o,s=t;while(s.componentInstance)if(s=s.componentInstance._vnode,a(o=s.data)&&a(o=o.transition)){for(o=0;o<i.activate.length;++o)i.activate[o](Qr,s);e.push(s);break}y(n,t.elm,r)}function y(t,e,n){a(t)&&(a(n)?c.parentNode(n)===t&&c.insertBefore(t,e,n):c.appendChild(t,e))}function _(t,e,n){if(r(e)){0;for(var i=0;i<e.length;++i)f(e[i],n,t.elm,null,!0,e,i)}else u(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function x(t){while(t.componentInstance)t=t.componentInstance._vnode;return a(t.tag)}function w(t,n){for(var r=0;r<i.create.length;++r)i.create[r](Qr,t);e=t.data.hook,a(e)&&(a(e.create)&&e.create(Qr,t),a(e.insert)&&n.push(t))}function S(t){var e;if(a(e=t.fnScopeId))c.setStyleScope(t.elm,e);else{var n=t;while(n)a(e=n.context)&&a(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),n=n.parent}a(e=wn)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function C(t,e,n,i,r,o){for(;i<=r;++i)f(n[i],o,t,e,!1,n,i)}function k(t){var e,n,r=t.data;if(a(r))for(a(e=r.hook)&&a(e=e.destroy)&&e(t),e=0;e<i.destroy.length;++e)i.destroy[e](t);if(a(e=t.children))for(n=0;n<t.children.length;++n)k(t.children[n])}function M(t,e,n){for(;e<=n;++e){var i=t[e];a(i)&&(a(i.tag)?(O(i),k(i)):p(i.elm))}}function O(t,e){if(a(e)||a(t.data)){var n,r=i.remove.length+1;for(a(e)?e.listeners+=r:e=d(t.elm,r),a(n=t.componentInstance)&&a(n=n._vnode)&&a(n.data)&&O(n,e),n=0;n<i.remove.length;++n)i.remove[n](t,e);a(n=t.data.hook)&&a(n=n.remove)?n(t,e):e()}else p(t.elm)}function T(t,e,n,i,r){var s,l,u,h,d=0,p=0,g=e.length-1,m=e[0],v=e[g],y=n.length-1,b=n[0],_=n[y],x=!r;while(d<=g&&p<=y)o(m)?m=e[++d]:o(v)?v=e[--g]:to(m,b)?(I(m,b,i,n,p),m=e[++d],b=n[++p]):to(v,_)?(I(v,_,i,n,y),v=e[--g],_=n[--y]):to(m,_)?(I(m,_,i,n,y),x&&c.insertBefore(t,m.elm,c.nextSibling(v.elm)),m=e[++d],_=n[--y]):to(v,b)?(I(v,b,i,n,p),x&&c.insertBefore(t,v.elm,m.elm),v=e[--g],b=n[++p]):(o(s)&&(s=no(e,d,g)),l=a(b.key)?s[b.key]:A(b,e,d,g),o(l)?f(b,i,t,m.elm,!1,n,p):(u=e[l],to(u,b)?(I(u,b,i,n,p),e[l]=void 0,x&&c.insertBefore(t,u.elm,m.elm)):f(b,i,t,m.elm,!1,n,p)),b=n[++p]);d>g?(h=o(n[y+1])?null:n[y+1].elm,C(t,h,n,p,y,i)):p>y&&M(e,d,g)}function A(t,e,n,i){for(var r=n;r<i;r++){var o=e[r];if(a(o)&&to(t,o))return r}}function I(t,e,n,r,l,u){if(t!==e){a(e.elm)&&a(r)&&(e=r[l]=_t(e));var h=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?D(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,p=e.data;a(p)&&a(d=p.hook)&&a(d=d.prepatch)&&d(t,e);var f=t.children,g=e.children;if(a(p)&&x(e)){for(d=0;d<i.update.length;++d)i.update[d](t,e);a(d=p.hook)&&a(d=d.update)&&d(t,e)}o(e.text)?a(f)&&a(g)?f!==g&&T(h,f,g,n,u):a(g)?(a(t.text)&&c.setTextContent(h,""),C(h,null,g,0,g.length-1,n)):a(f)?M(f,0,f.length-1):a(t.text)&&c.setTextContent(h,""):t.text!==e.text&&c.setTextContent(h,e.text),a(p)&&a(d=p.hook)&&a(d=d.postpatch)&&d(t,e)}}}function P(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var E=b("attrs,class,staticClass,staticStyle,key");function D(t,e,n,i){var r,o=e.tag,l=e.data,u=e.children;if(i=i||l&&l.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(l)&&(a(r=l.hook)&&a(r=r.init)&&r(e,!0),a(r=e.componentInstance)))return m(e,n),!0;if(a(o)){if(a(u))if(t.hasChildNodes())if(a(r=l)&&a(r=r.domProps)&&a(r=r.innerHTML)){if(r!==t.innerHTML)return!1}else{for(var c=!0,h=t.firstChild,d=0;d<u.length;d++){if(!h||!D(h,u[d],n,i)){c=!1;break}h=h.nextSibling}if(!c||h)return!1}else _(e,u,n);if(a(l)){var p=!1;for(var f in l)if(!E(f)){p=!0,w(e,n);break}!p&&l["class"]&&hn(l["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,r){if(!o(e)){var l=!1,u=[];if(o(t))l=!0,f(e,u);else{var d=a(t.nodeType);if(!d&&to(t,e))I(t,e,u,null,null,r);else{if(d){if(1===t.nodeType&&t.hasAttribute($)&&(t.removeAttribute($),n=!0),s(n)&&D(t,e,u))return P(e,u,!0),t;t=h(t)}var p=t.elm,g=c.parentNode(p);if(f(e,u,p._leaveCb?null:g,c.nextSibling(p)),a(e.parent)){var m=e.parent,v=x(e);while(m){for(var y=0;y<i.destroy.length;++y)i.destroy[y](m);if(m.elm=e.elm,v){for(var b=0;b<i.create.length;++b)i.create[b](Qr,m);var _=m.data.hook.insert;if(_.merged)for(var w=1;w<_.fns.length;w++)_.fns[w]()}else Kr(m);m=m.parent}}a(g)?M([t],0,0):a(t.tag)&&k(t)}}return P(e,u,l),e.elm}a(t)&&k(t)}}var ro={create:oo,update:oo,destroy:function(t){oo(t,Qr)}};function oo(t,e){(t.data.directives||e.data.directives)&&ao(t,e)}function ao(t,e){var n,i,r,o=t===Qr,a=e===Qr,s=lo(t.data.directives,t.context),l=lo(e.data.directives,e.context),u=[],c=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,co(r,"update",e,t),r.def&&r.def.componentUpdated&&c.push(r)):(co(r,"bind",e,t),r.def&&r.def.inserted&&u.push(r));if(u.length){var h=function(){for(var n=0;n<u.length;n++)co(u[n],"inserted",e,t)};o?Jt(e,"insert",h):h()}if(c.length&&Jt(e,"postpatch",(function(){for(var n=0;n<c.length;n++)co(c[n],"componentUpdated",e,t)})),!o)for(n in s)l[n]||co(s[n],"unbind",t,t,a)}var so=Object.create(null);function lo(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++)i=t[n],i.modifiers||(i.modifiers=so),r[uo(i)]=i,e._setupState&&e._setupState.__sfc&&(i.def=i.def||xi(e,"_setupState","v-"+i.name)),i.def=i.def||xi(e.$options,"directives",i.name,!0);return r}function uo(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function co(t,e,n,i,r){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,i,r)}catch(Xa){We(Xa,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var ho=[Xr,ro];function po(t,e){var n=e.componentOptions;if((!a(n)||!1!==n.Ctor.options.inheritAttrs)&&(!o(t.data.attrs)||!o(e.data.attrs))){var i,r,l,u=e.elm,c=t.data.attrs||{},h=e.data.attrs||{};for(i in(a(h.__ob__)||s(h._v_attr_proxy))&&(h=e.data.attrs=L({},h)),h)r=h[i],l=c[i],l!==r&&fo(u,i,r,e.data.pre);for(i in(et||it)&&h.value!==c.value&&fo(u,"value",h.value),c)o(h[i])&&(vr(i)?u.removeAttributeNS(mr,yr(i)):dr(i)||u.removeAttribute(i))}}function fo(t,e,n,i){i||t.tagName.indexOf("-")>-1?go(t,e,n):gr(e)?br(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):dr(e)?t.setAttribute(e,fr(e,n)):vr(e)?br(n)?t.removeAttributeNS(mr,yr(e)):t.setAttributeNS(mr,e,n):go(t,e,n)}function go(t,e,n){if(br(n))t.removeAttribute(e);else{if(et&&!nt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var mo={create:po,update:po};function vo(t,e){var n=e.elm,i=e.data,r=t.data;if(!(o(i.staticClass)&&o(i.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var s=_r(e),l=n._transitionClasses;a(l)&&(s=Sr(s,Cr(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var yo,bo={create:vo,update:vo},_o="__r",xo="__c";function wo(t){if(a(t[_o])){var e=et?"change":"input";t[e]=[].concat(t[_o],t[e]||[]),delete t[_o]}a(t[xo])&&(t.change=[].concat(t[xo],t.change||[]),delete t[xo])}function So(t,e,n){var i=yo;return function r(){var o=e.apply(null,arguments);null!==o&&Mo(t,r,n,i)}}var Co=Ze&&!(at&&Number(at[1])<=53);function ko(t,e,n,i){if(Co){var r=Fn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}yo.addEventListener(t,e,lt?{capture:n,passive:i}:n)}function Mo(t,e,n,i){(i||yo).removeEventListener(t,e._wrapper||e,n)}function Oo(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},i=t.data.on||{};yo=e.elm||t.elm,wo(n),Qt(n,i,ko,Mo,So,e.context),yo=void 0}}var To,Ao={create:Oo,update:Oo,destroy:function(t){return Oo(t,Qr)}};function Io(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,i,r=e.elm,l=t.data.domProps||{},u=e.data.domProps||{};for(n in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=L({},u)),l)n in u||(r[n]="");for(n in u){if(i=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===l[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var c=o(i)?"":String(i);Po(r,c)&&(r.value=c)}else if("innerHTML"===n&&Ar(r.tagName)&&o(r.innerHTML)){To=To||document.createElement("div"),To.innerHTML="<svg>".concat(i,"</svg>");var h=To.firstChild;while(r.firstChild)r.removeChild(r.firstChild);while(h.firstChild)r.appendChild(h.firstChild)}else if(i!==l[n])try{r[n]=i}catch(Xa){}}}}function Po(t,e){return!t.composing&&("OPTION"===t.tagName||Eo(t,e)||Do(t,e))}function Eo(t,e){var n=!0;try{n=document.activeElement!==t}catch(Xa){}return n&&t.value!==e}function Do(t,e){var n=t.value,i=t._vModifiers;if(a(i)){if(i.number)return y(n)!==y(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var Lo={create:Io,update:Io},jo=C((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Ro(t){var e=Bo(t.style);return t.staticStyle?L(t.staticStyle,e):e}function Bo(t){return Array.isArray(t)?j(t):"string"===typeof t?jo(t):t}function No(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=Ro(r.data))&&L(i,n)}(n=Ro(t.data))&&L(i,n);var o=t;while(o=o.parent)o.data&&(n=Ro(o.data))&&L(i,n);return i}var Fo,zo=/^--/,Vo=/\s*!important$/,qo=function(t,e,n){if(zo.test(e))t.style.setProperty(e,n);else if(Vo.test(n))t.style.setProperty(A(e),n.replace(Vo,""),"important");else{var i=Ho(e);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)t.style[i]=n[r];else t.style[i]=n}},$o=["Webkit","Moz","ms"],Ho=C((function(t){if(Fo=Fo||document.createElement("div").style,t=M(t),"filter"!==t&&t in Fo)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<$o.length;n++){var i=$o[n]+e;if(i in Fo)return i}}));function Go(t,e){var n=e.data,i=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var r,s,l=e.elm,u=i.staticStyle,c=i.normalizedStyle||i.style||{},h=u||c,d=Bo(e.data.style)||{};e.data.normalizedStyle=a(d.__ob__)?L({},d):d;var p=No(e,!0);for(s in h)o(p[s])&&qo(l,s,"");for(s in p)r=p[s],r!==h[s]&&qo(l,s,null==r?"":r)}}var Wo={create:Go,update:Go},Uo=/\s+/;function Yo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Uo).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Xo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Uo).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Ko(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&L(e,Zo(t.name||"v")),L(e,t),e}return"string"===typeof t?Zo(t):void 0}}var Zo=C((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),Qo=J&&!nt,Jo="transition",ta="animation",ea="transition",na="transitionend",ia="animation",ra="animationend";Qo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ea="WebkitTransition",na="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ia="WebkitAnimation",ra="webkitAnimationEnd"));var oa=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function aa(t){oa((function(){oa(t)}))}function sa(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Yo(t,e))}function la(t,e){t._transitionClasses&&x(t._transitionClasses,e),Xo(t,e)}function ua(t,e,n){var i=ha(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===Jo?na:ra,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout((function(){l<a&&u()}),o+1),t.addEventListener(s,c)}var ca=/\b(transform|all)(,|$)/;function ha(t,e){var n,i=window.getComputedStyle(t),r=(i[ea+"Delay"]||"").split(", "),o=(i[ea+"Duration"]||"").split(", "),a=da(r,o),s=(i[ia+"Delay"]||"").split(", "),l=(i[ia+"Duration"]||"").split(", "),u=da(s,l),c=0,h=0;e===Jo?a>0&&(n=Jo,c=a,h=o.length):e===ta?u>0&&(n=ta,c=u,h=l.length):(c=Math.max(a,u),n=c>0?a>u?Jo:ta:null,h=n?n===Jo?o.length:l.length:0);var d=n===Jo&&ca.test(i[ea+"Property"]);return{type:n,timeout:c,propCount:h,hasTransform:d}}function da(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return pa(e)+pa(t[n])})))}function pa(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function fa(t,e){var n=t.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Ko(t.data.transition);if(!o(i)&&!a(n._enterCb)&&1===n.nodeType){var r=i.css,s=i.type,l=i.enterClass,u=i.enterToClass,d=i.enterActiveClass,p=i.appearClass,f=i.appearToClass,g=i.appearActiveClass,m=i.beforeEnter,v=i.enter,b=i.afterEnter,_=i.enterCancelled,x=i.beforeAppear,w=i.appear,S=i.afterAppear,C=i.appearCancelled,k=i.duration,M=wn,O=wn.$vnode;while(O&&O.parent)M=O.context,O=O.parent;var T=!M._isMounted||!t.isRootInsert;if(!T||w||""===w){var A=T&&p?p:l,I=T&&g?g:d,P=T&&f?f:u,E=T&&x||m,D=T&&c(w)?w:v,L=T&&S||b,j=T&&C||_,R=y(h(k)?k.enter:k);0;var B=!1!==r&&!nt,N=va(D),F=n._enterCb=V((function(){B&&(la(n,P),la(n,I)),F.cancelled?(B&&la(n,A),j&&j(n)):L&&L(n),n._enterCb=null}));t.data.show||Jt(t,"insert",(function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),D&&D(n,F)})),E&&E(n),B&&(sa(n,A),sa(n,I),aa((function(){la(n,A),F.cancelled||(sa(n,P),N||(ma(R)?setTimeout(F,R):ua(n,s,F)))}))),t.data.show&&(e&&e(),D&&D(n,F)),B||N||F()}}}function ga(t,e){var n=t.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=Ko(t.data.transition);if(o(i)||1!==n.nodeType)return e();if(!a(n._leaveCb)){var r=i.css,s=i.type,l=i.leaveClass,u=i.leaveToClass,c=i.leaveActiveClass,d=i.beforeLeave,p=i.leave,f=i.afterLeave,g=i.leaveCancelled,m=i.delayLeave,v=i.duration,b=!1!==r&&!nt,_=va(p),x=y(h(v)?v.leave:v);0;var w=n._leaveCb=V((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),b&&(la(n,u),la(n,c)),w.cancelled?(b&&la(n,l),g&&g(n)):(e(),f&&f(n)),n._leaveCb=null}));m?m(S):S()}function S(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),d&&d(n),b&&(sa(n,l),sa(n,c),aa((function(){la(n,l),w.cancelled||(sa(n,u),_||(ma(x)?setTimeout(w,x):ua(n,s,w)))}))),p&&p(n,w),b||_||w())}}function ma(t){return"number"===typeof t&&!isNaN(t)}function va(t){if(o(t))return!1;var e=t.fns;return a(e)?va(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function ya(t,e){!0!==e.data.show&&fa(e)}var ba=J?{create:ya,activate:ya,remove:function(t,e){!0!==t.data.show?ga(t,e):e()}}:{},_a=[mo,bo,Ao,Lo,Wo,ba],xa=_a.concat(ho),wa=io({nodeOps:Yr,modules:xa});nt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ia(t,"input")}));var Sa={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Jt(n,"postpatch",(function(){Sa.componentUpdated(t,e,n)})):Ca(t,e,n.context),t._vOptions=[].map.call(t.options,Oa)):("textarea"===n.tag||Lr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Ta),t.addEventListener("compositionend",Aa),t.addEventListener("change",Aa),nt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Ca(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,Oa);if(r.some((function(t,e){return!F(t,i[e])}))){var o=t.multiple?e.value.some((function(t){return Ma(t,r)})):e.value!==e.oldValue&&Ma(e.value,r);o&&Ia(t,"change")}}}};function Ca(t,e,n){ka(t,e,n),(et||it)&&setTimeout((function(){ka(t,e,n)}),0)}function ka(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=t.options.length;s<l;s++)if(a=t.options[s],r)o=z(i,Oa(a))>-1,a.selected!==o&&(a.selected=o);else if(F(Oa(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Ma(t,e){return e.every((function(e){return!F(e,t)}))}function Oa(t){return"_value"in t?t._value:t.value}function Ta(t){t.target.composing=!0}function Aa(t){t.target.composing&&(t.target.composing=!1,Ia(t.target,"input"))}function Ia(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Pa(t){return!t.componentInstance||t.data&&t.data.transition?t:Pa(t.componentInstance._vnode)}var Ea={bind:function(t,e,n){var i=e.value;n=Pa(n);var r=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,fa(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=Pa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?fa(n,(function(){t.style.display=t.__vOriginalDisplay})):ga(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},Da={model:Sa,show:Ea},La={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ja(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ja(Fe(e.children)):t}function Ra(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var i in r)e[M(i)]=r[i];return e}function Ba(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Na(t){while(t=t.parent)if(t.data.transition)return!0}function Fa(t,e){return e.key===t.key&&e.tag===t.tag}var za=function(t){return t.tag||Se(t)},Va=function(t){return"show"===t.name},qa={name:"transition",props:La,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(za),n.length)){0;var i=this.mode;0;var r=n[0];if(Na(this.$vnode))return r;var o=ja(r);if(!o)return r;if(this._leaving)return Ba(t,r);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:u(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=Ra(this),l=this._vnode,c=ja(l);if(o.data.directives&&o.data.directives.some(Va)&&(o.data.show=!0),c&&c.data&&!Fa(o,c)&&!Se(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=L({},s);if("out-in"===i)return this._leaving=!0,Jt(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ba(t,r);if("in-out"===i){if(Se(o))return l;var d,p=function(){d()};Jt(s,"afterEnter",p),Jt(s,"enterCancelled",p),Jt(h,"delayLeave",(function(t){d=t}))}}return r}}},$a=L({tag:String,moveClass:String},La);delete $a.mode;var Ha={props:$a,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Sn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Ra(this),s=0;s<r.length;s++){var l=r[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(i){var u=[],c=[];for(s=0;s<i.length;s++){l=i[s];l.data.transition=a,l.data.pos=l.elm.getBoundingClientRect(),n[l.key]?u.push(l):c.push(l)}this.kept=t(e,null,u),this.removed=c}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Ga),t.forEach(Wa),t.forEach(Ua),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,i=n.style;sa(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(na,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(na,t),n._moveCb=null,la(n,e))})}})))},methods:{hasMove:function(t,e){if(!Qo)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Xo(n,t)})),Yo(n,e),n.style.display="none",this.$el.appendChild(n);var i=ha(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function Ga(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Wa(t){t.data.newPos=t.elm.getBoundingClientRect()}function Ua(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(i,"px,").concat(r,"px)"),o.transitionDuration="0s"}}var Ya={Transition:qa,TransitionGroup:Ha};Yi.config.mustUseProp=hr,Yi.config.isReservedTag=Ir,Yi.config.isReservedAttr=ur,Yi.config.getTagNamespace=Pr,Yi.config.isUnknownElement=Dr,L(Yi.options.directives,Da),L(Yi.options.components,Ya),Yi.prototype.__patch__=J?wa:R,Yi.prototype.$mount=function(t,e){return t=t&&J?jr(t):void 0,Mn(this,t,e)},J&&setTimeout((function(){W.devtools&&ht&&ht.emit("init",Yi)}),0)}).call(this,n("23b3"))},"2b3d":function(t,e,n){n("4002")},"2b69":function(t,e,n){"use strict";e["a"]={computed:{__refocusTargetEl(){if(!0!==this.disable)return this.$createElement("span",{ref:"refocusTarget",staticClass:"no-outline",attrs:{tabindex:-1}})}},methods:{__refocusTarget(t){void 0!==t&&0===t.type.indexOf("key")?document.activeElement!==this.$el&&!0===this.$el.contains(document.activeElement)&&this.$el.focus():void 0!==t&&!0!==this.$el.contains(t.target)||void 0===this.$refs.refocusTarget||this.$refs.refocusTarget.focus()}}}},"2ba4":function(t,e,n){var i=n("40d5"),r=Function.prototype,o=r.apply,a=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(o):function(){return a.apply(o,arguments)})},"2c91":function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8");e["a"]=i["a"].extend({name:"QSpace",mixins:[r["a"]],render(t){return t("div",{staticClass:"q-space",on:{...this.qListeners}})}})},"2d00":function(t,e,n){var i,r,o=n("da84"),a=n("342f"),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=c.split("."),r=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&a&&(i=a.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/),i&&(r=+i[1]))),t.exports=r},"2d83":function(t,e,n){"use strict";var i=n("387f");t.exports=function(t,e,n,r,o){var a=new Error(t);return i(a,e,n,r,o)}},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2f3a":function(t,e,n){const i=n("bbf0"),r=n("7bf0");function o(t){this.mode=i.KANJI,this.data=t}o.getBitsLength=function(t){return 13*t},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){let e;for(e=0;e<this.data.length;e++){let n=r.toSJIS(this.data[e]);if(n>=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13)}},t.exports=o},"2f62":function(t,e,n){"use strict";(function(t){
- /*!
- * vuex v3.6.2
- * (c) 2021 Evan You
- * @license MIT
- */
- function n(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var i="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},r=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){r.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){r.emit("vuex:action",t,e)}),{prepend:!0}))}function a(t,e){return t.filter(e)[0]}function s(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=a(e,(function(e){return e.original===t}));if(n)return n.copy;var i=Array.isArray(t)?[]:{};return e.push({original:t,copy:i}),Object.keys(t).forEach((function(n){i[n]=s(t[n],e)})),i}function l(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function u(t){return null!==t&&"object"===typeof t}function c(t){return t&&"function"===typeof t.then}function h(t,e){return function(){return t(e)}}var d=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(t,e){this._children[t]=e},d.prototype.removeChild=function(t){delete this._children[t]},d.prototype.getChild=function(t){return this._children[t]},d.prototype.hasChild=function(t){return t in this._children},d.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},d.prototype.forEachChild=function(t){l(this._children,t)},d.prototype.forEachGetter=function(t){this._rawModule.getters&&l(this._rawModule.getters,t)},d.prototype.forEachAction=function(t){this._rawModule.actions&&l(this._rawModule.actions,t)},d.prototype.forEachMutation=function(t){this._rawModule.mutations&&l(this._rawModule.mutations,t)},Object.defineProperties(d.prototype,p);var f=function(t){this.register([],t,!1)};function g(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;g(t.concat(i),e.getChild(i),n.modules[i])}}f.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},f.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},f.prototype.update=function(t){g([],this.root,t)},f.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new d(e,n);if(0===t.length)this.root=r;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],r)}e.modules&&l(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},f.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},f.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var m;var v=function(t){var e=this;void 0===t&&(t={}),!m&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new f(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new m,this._makeLocalGettersCache=Object.create(null);var r=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(t,e){return s.call(r,t,e)},this.commit=function(t,e,n){return l.call(r,t,e,n)},this.strict=i;var u=this._modules.root.state;w(this,u,[],this._modules.root),x(this,u),n.forEach((function(t){return t(e)}));var c=void 0!==t.devtools?t.devtools:m.config.devtools;c&&o(this)},y={state:{configurable:!0}};function b(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function _(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;w(t,n,[],t._modules.root,!0),x(t,n,e)}function x(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,o={};l(r,(function(e,n){o[n]=h(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=m.config.silent;m.config.silent=!0,t._vm=new m({data:{$$state:e},computed:o}),m.config.silent=a,t.strict&&T(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),m.nextTick((function(){return i.$destroy()})))}function w(t,e,n,i,r){var o=!n.length,a=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!o&&!r){var s=A(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){m.set(s,l,i.state)}))}var u=i.context=S(t,a,n);i.forEachMutation((function(e,n){var i=a+n;k(t,i,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:a+n,r=e.handler||e;M(t,i,r,u)})),i.forEachGetter((function(e,n){var i=a+n;O(t,i,e,u)})),i.forEachChild((function(i,o){w(t,e,n.concat(o),i,r)}))}function S(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=I(n,i,r),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=e+l),t.dispatch(l,a)},commit:i?t.commit:function(n,i,r){var o=I(n,i,r),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=e+l),t.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return C(t,e)}},state:{get:function(){return A(t.state,n)}}}),r}function C(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function k(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}function M(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return c(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function O(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function T(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function A(t,e){return e.reduce((function(t,e){return t[e]}),t)}function I(t,e,n){return u(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function P(t){m&&t===m||(m=t,n(m))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){0},v.prototype.commit=function(t,e,n){var i=this,r=I(t,e,n),o=r.type,a=r.payload,s=(r.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},v.prototype.dispatch=function(t,e){var n=this,i=I(t,e),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(u){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(u){0}e(t)}))}))}},v.prototype.subscribe=function(t,e){return b(t,this._subscribers,e)},v.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return b(n,this._actionSubscribers,e)},v.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},v.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},v.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),w(this,this.state,t,this._modules.get(t),n.preserveState),x(this,this.state)},v.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=A(e.state,t.slice(0,-1));m.delete(n,t[t.length-1])})),_(this)},v.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},v.prototype.hotUpdate=function(t){this._modules.update(t),_(this,!0)},v.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(v.prototype,y);var E=F((function(t,e){var n={};return B(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=z(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),D=F((function(t,e){var n={};return B(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=z(this.$store,"mapMutations",t);if(!o)return;i=o.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),L=F((function(t,e){var n={};return B(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||z(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),j=F((function(t,e){var n={};return B(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=z(this.$store,"mapActions",t);if(!o)return;i=o.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),R=function(t){return{mapState:E.bind(null,t),mapGetters:L.bind(null,t),mapMutations:D.bind(null,t),mapActions:j.bind(null,t)}};function B(t){return N(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function N(t){return Array.isArray(t)||u(t)}function F(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function z(t,e,n){var i=t._modulesNamespaceMap[n];return i}function V(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var u=t.logActions;void 0===u&&(u=!0);var c=t.logger;return void 0===c&&(c=console),function(t){var h=s(t.state);"undefined"!==typeof c&&(l&&t.subscribe((function(t,o){var a=s(o);if(n(t,h,a)){var l=H(),u=r(t),d="mutation "+t.type+l;q(c,d,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",i(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",i(a)),$(c)}h=a})),u&&t.subscribeAction((function(t,n){if(o(t,n)){var i=H(),r=a(t),s="action "+t.type+i;q(c,s,e),c.log("%c action","color: #03A9F4; font-weight: bold",r),$(c)}})))}}function q(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(r){t.log(e)}}function $(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function H(){var t=new Date;return" @ "+W(t.getHours(),2)+":"+W(t.getMinutes(),2)+":"+W(t.getSeconds(),2)+"."+W(t.getMilliseconds(),3)}function G(t,e){return new Array(e+1).join(t)}function W(t,e){return G("0",e-t.toString().length)+t}var U={Store:v,install:P,version:"3.6.2",mapState:E,mapMutations:D,mapGetters:L,mapActions:j,createNamespacedHelpers:R,createLogger:V};e["a"]=U}).call(this,n("23b3"))},"30b5":function(t,e,n){"use strict";var i=n("c532");function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var a=[];i.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"313e":function(t,e,n){"use strict";var i={};n.r(i),n.d(i,"updateProps",(function(){return Nl})),n.d(i,"initProps",(function(){return Fl})),n.d(i,"removeElement",(function(){return Vl})),n.d(i,"removeElementWithFadeOut",(function(){return $l})),n.d(i,"isElementRemoved",(function(){return zl})),n.d(i,"extendShape",(function(){return sm})),n.d(i,"extendPath",(function(){return um})),n.d(i,"registerShape",(function(){return cm})),n.d(i,"getShapeClass",(function(){return hm})),n.d(i,"makePath",(function(){return dm})),n.d(i,"makeImage",(function(){return pm})),n.d(i,"mergePath",(function(){return gm})),n.d(i,"resizePath",(function(){return mm})),n.d(i,"subPixelOptimizeLine",(function(){return vm})),n.d(i,"subPixelOptimizeRect",(function(){return ym})),n.d(i,"subPixelOptimize",(function(){return bm})),n.d(i,"getTransform",(function(){return _m})),n.d(i,"applyTransform",(function(){return xm})),n.d(i,"transformDirection",(function(){return wm})),n.d(i,"groupTransition",(function(){return km})),n.d(i,"clipPointsByRect",(function(){return Mm})),n.d(i,"clipRectByRect",(function(){return Om})),n.d(i,"createIcon",(function(){return Tm})),n.d(i,"linePolygonIntersect",(function(){return Am})),n.d(i,"lineLineIntersect",(function(){return Im})),n.d(i,"setTooltipConfig",(function(){return Dm})),n.d(i,"traverseElements",(function(){return jm})),n.d(i,"Group",(function(){return bi})),n.d(i,"Image",(function(){return Ga})),n.d(i,"Text",(function(){return ys})),n.d(i,"Circle",(function(){return Kf})),n.d(i,"Ellipse",(function(){return Jf})),n.d(i,"Sector",(function(){return vg})),n.d(i,"Ring",(function(){return _g})),n.d(i,"Polygon",(function(){return kg})),n.d(i,"Polyline",(function(){return Tg})),n.d(i,"Rect",(function(){return ts})),n.d(i,"Line",(function(){return Eg})),n.d(i,"BezierCurve",(function(){return Bg})),n.d(i,"Arc",(function(){return zg})),n.d(i,"IncrementalDisplayable",(function(){return im})),n.d(i,"CompoundPath",(function(){return qg})),n.d(i,"LinearGradient",(function(){return Wg})),n.d(i,"RadialGradient",(function(){return Yg})),n.d(i,"BoundingRect",(function(){return Wn})),n.d(i,"OrientedBoundingRect",(function(){return tm})),n.d(i,"Point",(function(){return Rn})),n.d(i,"Path",(function(){return Ba}));
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */
- var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;var a=n("22d1"),s=n("6d8b"),l=function(t,e){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},l(t,e)};function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;function c(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function h(t,e){return t[0]=e[0],t[1]=e[1],t}function d(t){return[t[0],t[1]]}function p(t,e,n){return t[0]=e,t[1]=n,t}function f(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function g(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function m(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function v(t){return Math.sqrt(y(t))}function y(t){return t[0]*t[0]+t[1]*t[1]}function b(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function _(t,e){var n=v(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function x(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var w=x;function S(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var C=S;function k(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function M(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function O(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function T(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var A=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),I=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){var e=t.target;while(e&&!e.draggable)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new A(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new A(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new A(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new A(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new A(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new A(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),P=I,E=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"===typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e);break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1));break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),D=E,L=Math.log(2);function j(t,e,n,i,r,o){var a=i+"-"+r,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/L);return t[n][l]}var u=i|1<<n,c=n+1;while(i&1<<c)c++;for(var h=0,d=0,p=0;d<s;d++){var f=1<<d;f&r||(h+=(p%2?-1:1)*t[n][d]*j(t,e-1,c,u,r|f,o),p++)}return o[a]=h,h}function R(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=j(n,8,0,0,0,i);if(0!==r){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*j(n,7,0===a?1:0,1<<a,1<<s,i)/r*e[a];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}var B="___zrEVENTSAVED",N=[];function F(t,e,n,i,r){return z(N,e,i,r,!0)&&z(t,n,N[0],N[1])}function z(t,e,n,i,r){if(e.getBoundingClientRect&&a["a"].domSupported&&!$(e)){var o=e[B]||(e[B]={}),s=V(e,o),l=q(s,o,r);if(l)return l(t,n,i),!0}return!1}function V(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}function q(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),h=2*u,d=c.left,p=c.top;a.push(d,p),l=l&&o&&d===o[h]&&p===o[h+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?R(s,a):R(a,s))}function $(t){return"CANVAS"===t.nodeName.toUpperCase()}var H=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,G=[],W=a["a"].browser.firefox&&+a["a"].browser.version.split(".")[0]<39;function U(t,e,n,i){return n=n||{},i?Y(t,e,n):W&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Y(t,e,n),n}function Y(t,e,n){if(a["a"].domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if($(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(z(G,t,i,r))return n.zrX=G[0],void(n.zrY=G[1])}n.zrX=n.zrY=0}function X(t){return t||window.event}function K(t,e,n){if(e=X(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var o="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];o&&U(t,o,e,n)}else{U(t,e,e,n);var a=Z(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&H.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function Z(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;var r=0!==i?Math.abs(i):Math.abs(n),o=i>0?-1:i<0?1:n>0?-1:1;return 3*r*o}function Q(t,e,n,i){t.addEventListener(e,n,i)}function J(t,e,n,i){t.removeEventListener(e,n,i)}var tt=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function et(t){return 2===t.which||3===t.which}var nt=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=U(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in ot)if(ot.hasOwnProperty(e)){var n=ot[e](this._track,t);if(n)return n}},t}();function it(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function rt(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var ot={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=it(i)/it(r);!isFinite(o)&&(o=1),e.pinchScale=o;var a=rt(i);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},at="silent";function st(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:lt}}function lt(){tt(this.event)}var ut=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return u(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(D),ct=function(){function t(t,e){this.x=t,this.y=e}return t}(),ht=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],dt=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o._hovered=new ct(0,0),o.storage=e,o.painter=n,o.painterRoot=r,i=i||new ut,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new P(o),o}return u(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(s["k"](ht,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=ft(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(r=this.findHover(r.x,r.y),o=r.target);var a=this._hovered=i?new ct(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new ct(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){var r="on"+e,o=st(e,t,n);while(i)if(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){for(var i=this.storage.getDisplayList(),r=new ct(t,e),o=i.length-1;o>=0;o--){var a=void 0;if(i[o]!==n&&!i[o].ignore&&(a=pt(i[o],t,e))&&(!r.topTarget&&(r.topTarget=i[o]),a!==at)){r.target=i[o];break}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new nt);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new ct;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(D);function pt(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){var i=t,r=void 0,o=!1;while(i){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1;i.silent&&(r=!0)}var s=i.__hostTarget;i=s||i.parent}return!r||at}return!1}function ft(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}s["k"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){dt.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=ft(this,r,o);if("mouseup"===t&&a||(n=this.findHover(r,o),i=n.target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||w(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var gt=dt,mt=32,vt=7;function yt(t){var e=0;while(t>=mt)e|=1&t,t>>=1;return t+e}function bt(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r<n&&i(t[r],t[r-1])<0)r++;_t(t,e,r)}else while(r<n&&i(t[r],t[r-1])>=0)r++;return r-e}function _t(t,e,n){n--;while(e<n){var i=t[e];t[e++]=t[n],t[n--]=i}}function xt(t,e,n,i,r){for(i===e&&i++;i<n;i++){var o,a=t[i],s=e,l=i;while(s<l)o=s+l>>>1,r(a,t[o])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=a}}function wt(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){s=i-r;while(l<s&&o(t,e[n+r+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{s=r+1;while(l<s&&o(t,e[n+r-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}a++;while(a<l){var c=a+(l-a>>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function St(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){s=r+1;while(l<s&&o(t,e[n+r-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{s=i-r;while(l<s&&o(t,e[n+r+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}a++;while(a<l){var c=a+(l-a>>>1);o(t,e[n+c])<0?l=c:a=c+1}return l}function Ct(t,e){var n,i,r=vt,o=0,a=0;o=t.length;var s=[];function l(t,e){n[a]=t,i[a]=e,a+=1}function u(){while(a>1){var t=a-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;h(t)}}function c(){while(a>1){var t=a-2;t>0&&i[t-1]<i[t+1]&&t--,h(t)}}function h(r){var o=n[r],s=i[r],l=n[r+1],u=i[r+1];i[r]=s+u,r===a-3&&(n[r+1]=n[r+2],i[r+1]=i[r+2]),a--;var c=St(t[l],t,o,s,0,e);o+=c,s-=c,0!==s&&(u=wt(t[o+s-1],t,l,u,u-1,e),0!==u&&(s<=u?d(o,s,l,u):p(o,s,l,u)))}function d(n,i,o,a){var l=0;for(l=0;l<i;l++)s[l]=t[n+l];var u=0,c=o,h=n;if(t[h++]=t[c++],0!==--a)if(1!==i){var d,p,f,g=r;while(1){d=0,p=0,f=!1;do{if(e(t[c],s[u])<0){if(t[h++]=t[c++],p++,d=0,0===--a){f=!0;break}}else if(t[h++]=s[u++],d++,p=0,1===--i){f=!0;break}}while((d|p)<g);if(f)break;do{if(d=St(t[c],s,u,i,0,e),0!==d){for(l=0;l<d;l++)t[h+l]=s[u+l];if(h+=d,u+=d,i-=d,i<=1){f=!0;break}}if(t[h++]=t[c++],0===--a){f=!0;break}if(p=wt(s[u],t,c,a,0,e),0!==p){for(l=0;l<p;l++)t[h+l]=t[c+l];if(h+=p,c+=p,a-=p,0===a){f=!0;break}}if(t[h++]=s[u++],1===--i){f=!0;break}g--}while(d>=vt||p>=vt);if(f)break;g<0&&(g=0),g+=2}if(r=g,r<1&&(r=1),1===i){for(l=0;l<a;l++)t[h+l]=t[c+l];t[h+a]=s[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[h+l]=s[u+l]}}else{for(l=0;l<a;l++)t[h+l]=t[c+l];t[h+a]=s[u]}else for(l=0;l<i;l++)t[h+l]=s[u+l]}function p(n,i,o,a){var l=0;for(l=0;l<a;l++)s[l]=t[o+l];var u=n+i-1,c=a-1,h=o+a-1,d=0,p=0;if(t[h--]=t[u--],0!==--i)if(1!==a){var f=r;while(1){var g=0,m=0,v=!1;do{if(e(s[c],t[u])<0){if(t[h--]=t[u--],g++,m=0,0===--i){v=!0;break}}else if(t[h--]=s[c--],m++,g=0,1===--a){v=!0;break}}while((g|m)<f);if(v)break;do{if(g=i-St(s[c],t,n,i,i-1,e),0!==g){for(h-=g,u-=g,i-=g,p=h+1,d=u+1,l=g-1;l>=0;l--)t[p+l]=t[d+l];if(0===i){v=!0;break}}if(t[h--]=s[c--],1===--a){v=!0;break}if(m=a-wt(t[u],s,0,a,a-1,e),0!==m){for(h-=m,c-=m,a-=m,p=h+1,d=c+1,l=0;l<m;l++)t[p+l]=s[d+l];if(a<=1){v=!0;break}}if(t[h--]=t[u--],0===--i){v=!0;break}f--}while(g>=vt||m>=vt);if(v)break;f<0&&(f=0),f+=2}if(r=f,r<1&&(r=1),1===a){for(h-=i,u-=i,p=h+1,d=u+1,l=i-1;l>=0;l--)t[p+l]=t[d+l];t[h]=s[c]}else{if(0===a)throw new Error;for(d=h-(a-1),l=0;l<a;l++)t[d+l]=s[l]}}else{for(h-=i,u-=i,p=h+1,d=u+1,l=i-1;l>=0;l--)t[p+l]=t[d+l];t[h]=s[c]}else for(d=h-(a-1),l=0;l<a;l++)t[d+l]=s[l]}return o<120?5:o<1542?10:o<119151?19:40,n=[],i=[],{mergeRuns:u,forceMergeRuns:c,pushRun:l}}function kt(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var o=0;if(r<mt)return o=bt(t,n,i,e),void xt(t,n,i,n+o,e);var a=Ct(t,e),s=yt(r);do{if(o=bt(t,n,i,e),o<s){var l=r;l>s&&(l=s),xt(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}var Mt=1,Ot=2,Tt=4,At=!1;function It(){At||(At=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Pt(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Et,Dt=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Pt}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,kt(n,Pt)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];var r=i,o=t;while(r)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=Mt),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(It(),u.z=0),isNaN(u.z2)&&(It(),u.z2=0),isNaN(u.zlevel)&&(It(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=s["r"](this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),Lt=Dt;Et=a["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var jt=Et,Rt={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Rt.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Rt.bounceIn(2*t):.5*Rt.bounceOut(2*t-1)+.5}},Bt=Rt,Nt=Math.pow,Ft=Math.sqrt,zt=1e-8,Vt=1e-4,qt=Ft(3),$t=1/3,Ht=c(),Gt=c(),Wt=c();function Ut(t){return t>-zt&&t<zt}function Yt(t){return t>zt||t<-zt}function Xt(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function Kt(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function Zt(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,c=s*s-3*a*l,h=s*l-9*a*u,d=l*l-3*s*u,p=0;if(Ut(c)&&Ut(h))if(Ut(s))o[0]=0;else{var f=-l/s;f>=0&&f<=1&&(o[p++]=f)}else{var g=h*h-4*c*d;if(Ut(g)){var m=h/c,v=(f=-s/a+m,-m/2);f>=0&&f<=1&&(o[p++]=f),v>=0&&v<=1&&(o[p++]=v)}else if(g>0){var y=Ft(g),b=c*s+1.5*a*(-h+y),_=c*s+1.5*a*(-h-y);b=b<0?-Nt(-b,$t):Nt(b,$t),_=_<0?-Nt(-_,$t):Nt(_,$t);f=(-s-(b+_))/(3*a);f>=0&&f<=1&&(o[p++]=f)}else{var x=(2*c*s-3*a*h)/(2*Ft(c*c*c)),w=Math.acos(x)/3,S=Ft(c),C=Math.cos(w),k=(f=(-s-2*S*C)/(3*a),v=(-s+S*(C+qt*Math.sin(w)))/(3*a),(-s+S*(C-qt*Math.sin(w)))/(3*a));f>=0&&f<=1&&(o[p++]=f),v>=0&&v<=1&&(o[p++]=v),k>=0&&k<=1&&(o[p++]=k)}}return p}function Qt(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(Ut(a)){if(Yt(o)){var u=-s/o;u>=0&&u<=1&&(r[l++]=u)}}else{var c=o*o-4*a*s;if(Ut(c))r[0]=-o/(2*a);else if(c>0){var h=Ft(c),d=(u=(-o+h)/(2*a),(-o-h)/(2*a));u>=0&&u<=1&&(r[l++]=u),d>=0&&d<=1&&(r[l++]=d)}}return l}function Jt(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i}function te(t,e,n,i,r,o,a,s,l,u,c){var h,d,p,f,g,m=.005,v=1/0;Ht[0]=l,Ht[1]=u;for(var y=0;y<1;y+=.05)Gt[0]=Xt(t,n,r,a,y),Gt[1]=Xt(e,i,o,s,y),f=C(Ht,Gt),f<v&&(h=y,v=f);v=1/0;for(var b=0;b<32;b++){if(m<Vt)break;d=h-m,p=h+m,Gt[0]=Xt(t,n,r,a,d),Gt[1]=Xt(e,i,o,s,d),f=C(Gt,Ht),d>=0&&f<v?(h=d,v=f):(Wt[0]=Xt(t,n,r,a,p),Wt[1]=Xt(e,i,o,s,p),g=C(Wt,Ht),p<=1&&g<v?(h=p,v=g):m*=.5)}return c&&(c[0]=Xt(t,n,r,a,h),c[1]=Xt(e,i,o,s,h)),Ft(v)}function ee(t,e,n,i,r,o,a,s,l){for(var u=t,c=e,h=0,d=1/l,p=1;p<=l;p++){var f=p*d,g=Xt(t,n,r,a,f),m=Xt(e,i,o,s,f),v=g-u,y=m-c;h+=Math.sqrt(v*v+y*y),u=g,c=m}return h}function ne(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function ie(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function re(t,e,n,i,r){var o=t-2*e+n,a=2*(e-t),s=t-i,l=0;if(Ut(o)){if(Yt(a)){var u=-s/a;u>=0&&u<=1&&(r[l++]=u)}}else{var c=a*a-4*o*s;if(Ut(c)){u=-a/(2*o);u>=0&&u<=1&&(r[l++]=u)}else if(c>0){var h=Ft(c),d=(u=(-a+h)/(2*o),(-a-h)/(2*o));u>=0&&u<=1&&(r[l++]=u),d>=0&&d<=1&&(r[l++]=d)}}return l}function oe(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function ae(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function se(t,e,n,i,r,o,a,s,l){var u,c=.005,h=1/0;Ht[0]=a,Ht[1]=s;for(var d=0;d<1;d+=.05){Gt[0]=ne(t,n,r,d),Gt[1]=ne(e,i,o,d);var p=C(Ht,Gt);p<h&&(u=d,h=p)}h=1/0;for(var f=0;f<32;f++){if(c<Vt)break;var g=u-c,m=u+c;Gt[0]=ne(t,n,r,g),Gt[1]=ne(e,i,o,g);p=C(Gt,Ht);if(g>=0&&p<h)u=g,h=p;else{Wt[0]=ne(t,n,r,m),Wt[1]=ne(e,i,o,m);var v=C(Wt,Ht);m<=1&&v<h?(u=m,h=v):c*=.5}}return l&&(l[0]=ne(t,n,r,u),l[1]=ne(e,i,o,u)),Ft(h)}function le(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,c=1/a,h=1;h<=a;h++){var d=h*c,p=ne(t,n,r,d),f=ne(e,i,o,d),g=p-s,m=f-l;u+=Math.sqrt(g*g+m*m),s=p,l=f}return u}var ue=/cubic-bezier\(([0-9,\.e ]+)\)/;function ce(t){var e=t&&ue.exec(t);if(e){var n=e[1].split(","),i=+Object(s["T"])(n[0]),r=+Object(s["T"])(n[1]),o=+Object(s["T"])(n[2]),a=+Object(s["T"])(n[3]);if(isNaN(i+r+o+a))return;var l=[];return function(t){return t<=0?0:t>=1?1:Zt(0,i,o,1,t,l)&&Xt(0,r,a,1,l[0])}}}var he=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||s["L"],this.ondestroy=t.ondestroy||s["L"],this.onrestart=t.onrestart||s["L"],t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Object(s["w"])(t)?t:Bt[t]||ce(t)},t}(),de=he,pe=n("41ef"),fe=n("7a29"),ge=Array.prototype.slice;function me(t,e,n){return(e-t)*n+t}function ve(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=me(e[o],n[o],i);return t}function ye(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=me(e[a][s],n[a][s],i)}return t}function be(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function _e(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function xe(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}function we(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.length;if(o!==a){var s=o>a;if(s)i.length=a;else for(var l=o;l<a;l++)i.push(1===n?r[l]:ge.call(r[l]))}var u=i[0]&&i[0].length;for(l=0;l<i.length;l++)if(1===n)isNaN(i[l])&&(i[l]=r[l]);else for(var c=0;c<u;c++)isNaN(i[l][c])&&(i[l][c]=r[l][c])}}function Se(t){if(Object(s["u"])(t)){var e=t.length;if(Object(s["u"])(t[0])){for(var n=[],i=0;i<e;i++)n.push(ge.call(t[i]));return n}return ge.call(t)}return t}function Ce(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function ke(t){return Object(s["u"])(t&&t[0])?2:1}var Me=0,Oe=1,Te=2,Ae=3,Ie=4,Pe=5,Ee=6;function De(t){return t===Ie||t===Pe}function Le(t){return t===Oe||t===Te}var je=[0,0,0,0],Re=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=Ee,l=e;if(Object(s["u"])(e)){var u=ke(e);a=u,(1===u&&!Object(s["z"])(e[0])||2===u&&!Object(s["z"])(e[0][0]))&&(o=!0)}else if(Object(s["z"])(e)&&!Object(s["l"])(e))a=Me;else if(Object(s["C"])(e))if(isNaN(+e)){var c=pe["g"](e);c&&(l=c,a=Ae)}else a=Me;else if(Object(s["x"])(e)){var h=Object(s["m"])({},l);h.colorStops=Object(s["H"])(e.colorStops,(function(t){return{offset:t.offset,color:pe["g"](t.color)}})),Object(fe["m"])(e)?a=Ie:Object(fe["o"])(e)&&(a=Pe),l=h}0===r?this.valType=a:a===this.valType&&a!==Ee||(o=!0),this.discrete=this.discrete||o;var d={time:t,value:l,rawValue:e,percent:0};return n&&(d.easing=n,d.easingFunc=Object(s["w"])(n)?n:Bt[n]||ce(n)),i.push(d),d},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Le(i),l=De(i),u=0;u<r;u++){var c=n[u],h=c.value,d=o.value;c.percent=c.time/t,a||(s&&u!==r-1?we(h,d,i):l&&xe(h.colorStops,d.colorStops))}if(!a&&i!==Pe&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var p=n[0].value;for(u=0;u<r;u++)i===Me?n[u].additiveValue=n[u].value-p:i===Ae?n[u].additiveValue=be([],n[u].value,p,-1):Le(i)&&(n[u].additiveValue=i===Oe?be([],n[u].value,p,-1):_e([],n[u].value,p,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,o=null!=this._additiveTrack,a=o?"additiveValue":"value",l=this.valType,u=this.keyframes,c=u.length,h=this.propName,d=l===Ae,p=this._lastFr,f=Math.min;if(1===c)i=r=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){var g=f(p+1,c-1);for(n=g;n>=0;n--)if(u[n].percent<=e)break;n=f(n,c-2)}else{for(n=p;n<c;n++)if(u[n].percent>e)break;n=f(n-1,c-2)}r=u[n+1],i=u[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var m=r.percent-i.percent,v=0===m?1:f((e-i.percent)/m,1);r.easingFunc&&(v=r.easingFunc(v));var y=o?this._additiveValue:d?je:t[h];if(!Le(l)&&!d||y||(y=this._additiveValue=[]),this.discrete)t[h]=v<1?i.rawValue:r.rawValue;else if(Le(l))l===Oe?ve(y,i[a],r[a],v):ye(y,i[a],r[a],v);else if(De(l)){var b=i[a],_=r[a],x=l===Ie;t[h]={type:x?"linear":"radial",x:me(b.x,_.x,v),y:me(b.y,_.y,v),colorStops:Object(s["H"])(b.colorStops,(function(t,e){var n=_.colorStops[e];return{offset:me(t.offset,n.offset,v),color:Ce(ve([],t.color,n.color,v))}})),global:_.global},x?(t[h].x2=me(b.x2,_.x2,v),t[h].y2=me(b.y2,_.y2,v)):t[h].r=me(b.r,_.r,v)}else if(d)ve(y,i[a],r[a],v),o||(t[h]=Ce(y));else{var w=me(i[a],r[a],v);o?this._additiveValue=w:t[h]=w}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;e===Me?t[n]=t[n]+i:e===Ae?(pe["g"](t[n],je),be(je,je,i,1),t[n]=Ce(je)):e===Oe?be(t[n],t[n],i,1):e===Te&&_e(t[n],t[n],i,1)},t}(),Be=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?Object(s["G"])("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,Object(s["F"])(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new Re(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,u.valType===Ae&&l&&(l=Ce(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,Se(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Se(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var h=new de({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return Object(s["H"])(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=Se(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||Object(s["F"])(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var o=r.keyframes;if(o.length>1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}(),Ne=Be;function Fe(){return(new Date).getTime()}var ze=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return u(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=Fe()-this._pausedTime,n=e-this._time,i=this._head;while(i){var r=i.next,o=i.step(e,n);o?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(jt(e),!t._paused&&t.update())}this._running=!0,jt(e)},e.prototype.start=function(){this._running||(this._time=Fe(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Fe(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Fe()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Ne(t,e.loop);return this.addAnimator(n),n},e}(D),Ve=ze,qe=300,$e=a["a"].domSupported,He=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=s["H"](t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),Ge={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},We=!1;function Ue(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Ye(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function Xe(t){t&&(t.zrByTouch=!0)}function Ke(t,e){return K(t.dom,new Qe(t,e),!0)}function Ze(t,e){var n=e,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return i}var Qe=function(){function t(t,e){this.stopPropagation=s["L"],this.stopImmediatePropagation=s["L"],this.preventDefault=s["L"],this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),Je={mousedown:function(t){t=K(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=K(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=K(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=K(this.dom,t);var e=t.toElement||t.relatedTarget;Ze(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){We=!0,t=K(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){We||(t=K(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=K(this.dom,t),Xe(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Je.mousemove.call(this,t),Je.mousedown.call(this,t)},touchmove:function(t){t=K(this.dom,t),Xe(t),this.handler.processGesture(t,"change"),Je.mousemove.call(this,t)},touchend:function(t){t=K(this.dom,t),Xe(t),this.handler.processGesture(t,"end"),Je.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<qe&&Je.click.call(this,t)},pointerdown:function(t){Je.mousedown.call(this,t)},pointermove:function(t){Ue(t)||Je.mousemove.call(this,t)},pointerup:function(t){Je.mouseup.call(this,t)},pointerout:function(t){Ue(t)||Je.mouseout.call(this,t)}};s["k"](["click","dblclick","contextmenu"],(function(t){Je[t]=function(e){e=K(this.dom,e),this.trigger(t,e)}}));var tn={pointermove:function(t){Ue(t)||tn.mousemove.call(this,t)},pointerup:function(t){tn.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function en(t,e){var n=e.domHandlers;a["a"].pointerEventsSupported?s["k"](He.pointer,(function(i){rn(e,i,(function(e){n[i].call(t,e)}))})):(a["a"].touchEventsSupported&&s["k"](He.touch,(function(i){rn(e,i,(function(r){n[i].call(t,r),Ye(e)}))})),s["k"](He.mouse,(function(i){rn(e,i,(function(r){r=X(r),e.touching||n[i].call(t,r)}))})))}function nn(t,e){function n(n){function i(i){i=X(i),Ze(t,i.target)||(i=Ke(t,i),e.domHandlers[n].call(t,i))}rn(e,n,i,{capture:!0})}a["a"].pointerEventsSupported?s["k"](Ge.pointer,n):a["a"].touchEventsSupported||s["k"](Ge.mouse,n)}function rn(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,Q(t.domTarget,e,n,i)}function on(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&J(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var an=function(){function t(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return t}(),sn=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new an(e,Je),$e&&(i._globalHandlerScope=new an(document,tn)),en(i,i._localHandlerScope),i}return u(e,t),e.prototype.dispose=function(){on(this._localHandlerScope),$e&&on(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,$e&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?nn(this,e):on(e)}},e}(D),ln=sn,un=1;a["a"].hasGlobalWindow&&(un=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var cn=un,hn=.4,dn="#333",pn="#ccc",fn="#eee";function gn(){return[1,0,0,1,0,0]}function mn(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function vn(t,e){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}function yn(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function bn(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function _n(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=i*c+a*u,t[1]=-i*u+a*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*o+u*l,t[5]=c*l-u*o,t}function xn(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function wn(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function Sn(t){var e=gn();return vn(e,t),e}var Cn=mn,kn=5e-5;function Mn(t){return t>kn||t<-kn}var On=[],Tn=[],An=gn(),In=Math.abs,Pn=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return Mn(this.rotation)||Mn(this.x)||Mn(this.y)||Mn(this.scaleX-1)||Mn(this.scaleY-1)||Mn(this.skewX)||Mn(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||gn(),e?this.getLocalTransform(n):Cn(n),t&&(e?yn(n,t,n):vn(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&Cn(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(On);var n=On[0]<0?-1:1,i=On[1]<0?-1:1,r=((On[0]-n)*e+n)/On[0]||0,o=((On[1]-i)*e+i)/On[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||gn(),wn(this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(yn(Tn,t.invTransform,e),e=Tn);var n=this.originX,i=this.originY;(n||i)&&(An[4]=n,An[5]=i,yn(Tn,e,An),Tn[4]-=n,Tn[5]-=i,e=Tn),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&M(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&M(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&In(t[0]-1)>1e-10&&In(t[3]-1)>1e-10?Math.sqrt(In(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Dn(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var p=n+a,f=i+s;e[4]=-p*r-h*f*o,e[5]=-f*o-d*p*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=d*r,e[2]=h*o,l&&_n(e,e,l),e[4]+=n+u,e[5]+=i+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),En=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Dn(t,e){for(var n=0;n<En.length;n++){var i=En[n];t[i]=e[i]}}var Ln=Pn,jn=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Rn=jn,Bn=Math.min,Nn=Math.max,Fn=new Rn,zn=new Rn,Vn=new Rn,qn=new Rn,$n=new Rn,Hn=new Rn,Gn=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Bn(t.x,this.x),n=Bn(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Nn(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Nn(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=gn();return bn(r,r,[-e.x,-e.y]),xn(r,r,[n,i]),bn(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,c=e.y,h=e.y+e.height,d=!(o<l||u<r||s<c||h<a);if(n){var p=1/0,f=0,g=Math.abs(o-l),m=Math.abs(u-r),v=Math.abs(s-c),y=Math.abs(h-a),b=Math.min(g,m),_=Math.min(v,y);o<l||u<r?b>f&&(f=b,g<m?Rn.set(Hn,-g,0):Rn.set(Hn,m,0)):b<p&&(p=b,g<m?Rn.set($n,g,0):Rn.set($n,-m,0)),s<c||h<a?_>f&&(f=_,v<y?Rn.set(Hn,0,-v):Rn.set(Hn,0,y)):b<p&&(p=b,v<y?Rn.set($n,0,v):Rn.set($n,0,-y))}return n&&Rn.copy(n,d?$n:Hn),d},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Fn.x=Vn.x=n.x,Fn.y=qn.y=n.y,zn.x=qn.x=n.x+n.width,zn.y=Vn.y=n.y+n.height,Fn.transform(i),qn.transform(i),zn.transform(i),Vn.transform(i),e.x=Bn(Fn.x,zn.x,Vn.x,qn.x),e.y=Bn(Fn.y,zn.y,Vn.y,qn.y);var l=Nn(Fn.x,zn.x,Vn.x,qn.x),u=Nn(Fn.y,zn.y,Vn.y,qn.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),Wn=Gn,Un=n("d51b"),Yn=n("726e"),Xn={};function Kn(t,e){e=e||Yn["a"];var n=Xn[e];n||(n=Xn[e]=new Un["a"](500));var i=n.get(t);return null==i&&(i=Yn["d"].measureText(t,e).width,n.put(t,i)),i}function Zn(t,e,n,i){var r=Kn(t,e),o=ei(e),a=Jn(0,r,n),s=ti(0,o,i),l=new Wn(a,s,r,o);return l}function Qn(t,e,n,i){var r=((t||"")+"").split("\n"),o=r.length;if(1===o)return Zn(r[0],e,n,i);for(var a=new Wn(0,0,0,0),s=0;s<r.length;s++){var l=Zn(r[s],e,n,i);0===s?a.copy(l):a.union(l)}return a}function Jn(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function ti(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function ei(t){return Kn("国",t)}function ni(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function ii(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",h="top";if(i instanceof Array)l+=ni(i[0],n.width),u+=ni(i[1],n.height),c=null,h=null;else switch(i){case"left":l-=r,u+=s,c="right",h="middle";break;case"right":l+=r+a,u+=s,h="middle";break;case"top":l+=a/2,u-=r,c="center",h="bottom";break;case"bottom":l+=a/2,u+=o+r,c="center";break;case"inside":l+=a/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=r,u+=s,h="middle";break;case"insideRight":l+=a-r,u+=s,c="right",h="middle";break;case"insideTop":l+=a/2,u+=r,c="center";break;case"insideBottom":l+=a/2,u+=o-r,c="center",h="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=o-r,h="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,c="right",h="bottom";break}return t=t||{},t.x=l,t.y=u,t.align=c,t.verticalAlign=h,t}var ri="__zr_normal__",oi=En.concat(["ignore"]),ai=Object(s["N"])(En,(function(t,e){return t[e]=!0,t}),{ignore:!1}),si={},li=new Wn(0,0,0,0),ui=function(){function t(t){this.id=Object(s["p"])(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=li;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(si,n,u):ii(si,n,u),r.x=si.x,r.y=si.y,o=si.align,a=si.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var h=void 0,d=void 0;"center"===c?(h=.5*u.width,d=.5*u.height):(h=ni(c[0],u.width),d=ni(c[1],u.height)),l=!0,r.originX=-r.x+h+(i?0:u.x),r.originY=-r.y+d+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var p=n.offset;p&&(r.x+=p[0],r.y+=p[1],l||(r.originX=-p[0],r.originY=-p[1]));var f=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,v=void 0,y=void 0;f&&this.canBeInsideText()?(m=n.insideFill,v=n.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(m),y=!0)):(m=n.outsideFill,v=n.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(m),y=!0)),m=m||"#000",m===g.fill&&v===g.stroke&&y===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=m,g.stroke=v,g.autoStroke=y,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=Mt,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?pn:dn},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&Object(pe["g"])(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,Object(pe["h"])(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},Object(s["m"])(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(Object(s["A"])(t))for(var n=t,i=Object(s["F"])(n),r=0;r<i.length;r++){var o=i[r];this.attrKV(o,t[o])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==ri)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,oi)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(ri,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===ri,o=this.hasState();if(o||!r){var a=this.currentStates,l=this.stateTransition;if(!(Object(s["r"])(a,t)>=0)||!e&&1!==a.length){var u;if(this.stateProxy&&!r&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),u||r){r||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||i);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,e,!n&&!this.__inHover&&l&&l.duration>0,l);var h=this._textContent,d=this._textGuide;return h&&h.useState(t,e,n,c),d&&d.useState(t,e,n,c),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Mt),u}Object(s["G"])("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var c=i[o-1],h=!!(c&&c.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),p=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&p&&p.duration>0,p);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,h),g&&g.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Mt)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=Object(s["r"])(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=Object(s["r"])(i,t),o=Object(s["r"])(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];Object(s["m"])(n,r),r.textConfig&&(e=e||{},Object(s["m"])(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=Object(s["m"])({},i?this.textConfig:n.textConfig),Object(s["m"])(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var l={},u=!1,c=0;c<oi.length;c++){var h=oi[c],d=r&&ai[h];e&&null!=e[h]?d?(u=!0,l[h]=e[h]):this[h]=e[h]:a&&null!=n[h]&&(d?(u=!0,l[h]=n[h]):this[h]=n[h])}if(!r)for(c=0;c<this.animators.length;c++){var p=this.animators[c],f=p.targetName;p.getLoop()||p.__changeFinalValue(f?(e||n)[f]:e||n)}u&&this._transitionState(t,l,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new Ln,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),Object(s["m"])(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=Mt;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this;var r=new Ne(i,e,n);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=Object(s["r"])(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){ci(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){ci(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=ci(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=Mt;function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){if(!this[n]){var t=this[n]=[];o(this,t)}return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function ci(t,e,n,i,r){n=n||{};var o=[];mi(t,"",t,e,n,i,o,r);var a=o.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,a--,a<=0&&(s?l&&l():u&&u())},h=function(){a--,a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var d=0;d<o.length;d++){var p=o[d];c&&p.done(c),h&&p.aborted(h),n.force&&p.duration(n.duration),p.start(n.easing)}return o}function hi(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function di(t){return Object(s["u"])(t[0])}function pi(t,e,n){if(Object(s["u"])(e[n]))if(Object(s["u"])(t[n])||(t[n]=[]),Object(s["E"])(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),hi(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(di(r))for(var l=r[0].length,u=0;u<a;u++)o[u]?hi(o[u],r[u],l):o[u]=Array.prototype.slice.call(r[u]);else hi(o,r,a);o.length=r.length}else t[n]=e[n]}function fi(t,e){return t===e||Object(s["u"])(t)&&Object(s["u"])(e)&&gi(t,e)}function gi(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function mi(t,e,n,i,r,o,a,l){for(var u=Object(s["F"])(i),c=r.duration,h=r.delay,d=r.additive,p=r.setToFinal,f=!Object(s["A"])(o),g=t.animators,m=[],v=0;v<u.length;v++){var y=u[v],b=i[y];if(null!=b&&null!=n[y]&&(f||o[y]))if(!Object(s["A"])(b)||Object(s["u"])(b)||Object(s["x"])(b))m.push(y);else{if(e){l||(n[y]=b,t.updateDuringAnimation(e));continue}mi(t,y,n[y],b,r,o&&o[y],a,l)}else l||(n[y]=b,t.updateDuringAnimation(e),m.push(y))}var _=m.length;if(!d&&_)for(var x=0;x<g.length;x++){var w=g[x];if(w.targetName===e){var S=w.stopTracks(m);if(S){var C=Object(s["r"])(g,w);g.splice(C,1)}}}if(r.force||(m=Object(s["n"])(m,(function(t){return!fi(i[t],n[t])})),_=m.length),_>0||r.force&&!a.length){var k=void 0,M=void 0,O=void 0;if(l){M={},p&&(k={});for(x=0;x<_;x++){y=m[x];M[y]=n[y],p?k[y]=i[y]:n[y]=i[y]}}else if(p){O={};for(x=0;x<_;x++){y=m[x];O[y]=Se(n[y]),pi(n,i,y)}}w=new Ne(n,!1,!1,d?Object(s["n"])(g,(function(t){return t.targetName===e})):null);w.targetName=e,r.scope&&(w.scope=r.scope),p&&k&&w.whenWithKeys(0,k,m),O&&w.whenWithKeys(0,O,m),w.whenWithKeys(null==c?500:c,l?M:i,m).delay(h||0),t.addAnimator(w,e),a.push(w)}}Object(s["K"])(ui,D),Object(s["K"])(ui,Ln);var vi=ui,yi=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return u(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=s["r"](this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=s["r"](n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new Wn(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(i);l?(Wn.applyTransform(e,s,l),r=r||e.clone(),r.union(e)):(r=r||s.clone(),r.union(s))}}return r||e},e}(vi);yi.prototype.type="group";var bi=yi,_i={},xi={};
- /*!
- * ZRender, a high performance 2d drawing library.
- *
- * Copyright (c) 2013, Baidu Inc.
- * All rights reserved.
- *
- * LICENSE
- * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
- */function wi(t){delete xi[t]}function Si(t){if(!t)return!1;if("string"===typeof t)return Object(pe["d"])(t,1)<hn;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=Object(pe["d"])(e[r].color,1);return n/=i,n<hn}return!1}var Ci=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new Lt,o=n.renderer||"canvas";_i[o]||(o=s["F"](_i)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var l=new _i[o](e,r,n,t),u=n.ssr||l.ssrOnly;this.storage=r,this.painter=l;var c=a["a"].node||a["a"].worker||u?null:new ln(l.getViewportRoot(),l.root);this.handler=new gt(r,l,c,l.root),this.animation=new Ve({stage:{update:u?null:function(){return i._flush(!0)}}}),u||this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=Si(t)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,n=Fe();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=Fe();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof bi&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,wi(this.id)},t}();function ki(t,e){var n=new Ci(s["p"](),t,e);return xi[n.id]=n,n}function Mi(t,e){_i[t]=e}var Oi=1e-4,Ti=20;function Ai(t){return t.replace(/^\s+|\s+$/g,"")}function Ii(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i)if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function Pi(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return s["C"](t)?Ai(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function Ei(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),Ti),t=(+t).toFixed(e),n?t:+t}function Di(t){return t.sort((function(t,e){return t-e})),t}function Li(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return ji(t)}function ji(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function Ri(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function Bi(t,e,n){if(!t[e])return 0;var i=s["N"](t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===i)return 0;var r=Math.pow(10,n),o=s["H"](t,(function(t){return(isNaN(t)?0:t)/i*r*100})),a=100*r,l=s["H"](o,(function(t){return Math.floor(t)})),u=s["N"](l,(function(t,e){return t+e}),0),c=s["H"](o,(function(t,e){return t-l[e]}));while(u<a){for(var h=Number.NEGATIVE_INFINITY,d=null,p=0,f=c.length;p<f;++p)c[p]>h&&(h=c[p],d=p);++l[d],c[d]=0,++u}return l[e]/r}function Ni(t,e){var n=Math.max(Li(t),Li(e)),i=t+e;return n>Ti?i:Ei(i,n)}var Fi=9007199254740991;function zi(t){var e=2*Math.PI;return(t%e+e)%e}function Vi(t){return t>-Oi&&t<Oi}var qi=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function $i(t){if(t instanceof Date)return t;if(s["C"](t)){var e=qi.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function Hi(t){return Math.pow(10,Gi(t))}function Gi(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function Wi(t,e){var n,i=Gi(t),r=Math.pow(10,i),o=t/r;return n=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,t=n*r,i>=-20?+t.toFixed(i<0?-i:0):t}function Ui(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function Yi(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!==1?t.splice(i,1):i++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]===(n?-1:1)||!n&&s(t,e,1))}}function Xi(t){var e=parseFloat(t);return e==t&&(0!==e||!s["C"](t)||t.indexOf("x")<=0)?e:NaN}function Ki(t){return!isNaN(Xi(t))}function Zi(){return Math.round(9*Math.random())}function Qi(t,e){return 0===e?t:Qi(e,t%e)}function Ji(t,e){return null==t?e:null==e?t:t*e/Qi(t,e)}function tr(t,e,n){return(e-t)*n+t}var er="series\0",nr="\0_ec_\0";function ir(t){return t instanceof Array?t:null==t?[]:[t]}function rr(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var or=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function ar(t){return!Object(s["A"])(t)||Object(s["t"])(t)||t instanceof Date?t:t.value}function sr(t){return Object(s["A"])(t)&&!(t instanceof Array)}function lr(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,o="replaceAll"===n;t=t||[],e=(e||[]).slice();var a=Object(s["f"])();Object(s["k"])(e,(function(t,n){Object(s["A"])(t)||(e[n]=null)}));var l=ur(t,a,n);return(i||r)&&cr(l,t,a,e),i&&hr(l,e),i||r?dr(l,e,r):o&&pr(l,e),fr(l),l}function ur(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||br(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}function cr(t,e,n,i){Object(s["k"])(i,(function(r,o){if(r&&null!=r.id){var a=mr(r.id),l=n.get(a);if(null!=l){var u=t[l];Object(s["b"])(!u.newOption,'Duplicated option on id "'+a+'".'),u.newOption=r,u.existing=e[l],i[o]=null}}}))}function hr(t,e){Object(s["k"])(e,(function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!br(n)&&!br(o)&&gr("name",o,n))return t[r].newOption=n,void(e[i]=null)}}))}function dr(t,e,n){Object(s["k"])(e,(function(e){if(e){var i,r=0;while((i=t[r])&&(i.newOption||br(i.existing)||i.existing&&null!=e.id&&!gr("id",e,i.existing)))r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}function pr(t,e){Object(s["k"])(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}function fr(t){var e=Object(s["f"])();Object(s["k"])(t,(function(t){var n=t.existing;n&&e.set(n.id,t)})),Object(s["k"])(t,(function(t){var n=t.newOption;Object(s["b"])(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})})),Object(s["k"])(t,(function(t,n){var i=t.existing,r=t.newOption,o=t.keyInfo;if(Object(s["A"])(r)){if(o.name=null!=r.name?mr(r.name):i?i.name:er+n,i)o.id=mr(i.id);else if(null!=r.id)o.id=mr(r.id);else{var a=0;do{o.id="\0"+o.name+"\0"+a++}while(e.get(o.id))}e.set(o.id,t)}}))}function gr(t,e,n){var i=vr(e[t],null),r=vr(n[t],null);return null!=i&&null!=r&&i===r}function mr(t){return vr(t,"")}function vr(t,e){return null==t?e:Object(s["C"])(t)?t:Object(s["z"])(t)||Object(s["D"])(t)?t+"":e}function yr(t){var e=t.name;return!(!e||!e.indexOf(er))}function br(t){return t&&null!=t.id&&0===mr(t.id).indexOf(nr)}function _r(t){return nr+t}function xr(t,e,n){Object(s["k"])(t,(function(t){var i=t.newOption;Object(s["A"])(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=wr(e,i,t.existing,n))}))}function wr(t,e,n,i){var r=e.type?e.type:n?n.subType:i.determineSubType(t,e);return r}function Sr(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=vr(t[i].seriesId,null);if(null==o)return;for(var a=ir(t[i].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}function Cr(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?Object(s["t"])(e.dataIndex)?Object(s["H"])(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?Object(s["t"])(e.name)?Object(s["H"])(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function kr(){var t="__ec_inner_"+Mr++;return function(e){return e[t]||(e[t]={})}}var Mr=Zi();function Or(t,e,n){var i=Tr(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=a,l=n?n.defaultMainType:null;return!r&&l&&o.set(l,{}),o.each((function(e,i){var r=Pr(t,i,e,{useDefault:l===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});s[i+"Models"]=r.models,s[i+"Model"]=r.models[0]})),s}function Tr(t,e){var n;if(Object(s["C"])(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var r=Object(s["f"])(),o={},a=!1;return Object(s["k"])(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=i[1],u=(i[2]||"").toLowerCase();if(l&&u&&!(e&&e.includeMainTypes&&Object(s["r"])(e.includeMainTypes,l)<0)){a=a||!!l;var c=r.get(l)||r.set(l,{});c[u]=t}}else o[n]=t})),{mainTypeSpecified:a,queryOptionMap:r,others:o}}var Ar={useDefault:!0,enableAll:!1,enableNone:!1},Ir={useDefault:!1,enableAll:!0,enableNone:!0};function Pr(t,e,n,i){i=i||Ar;var r=n.index,o=n.id,a=n.name,l={models:null,specified:null!=r||null!=o||null!=a};if(!l.specified){var u=void 0;return l.models=i.useDefault&&(u=t.getComponent(e))?[u]:[],l}return"none"===r||!1===r?(Object(s["b"])(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[],l):("all"===r&&(Object(s["b"])(i.enableAll,'`"all"` is not a valid value on index option.'),r=o=a=null),l.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),l)}function Er(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function Dr(t){return"auto"===t?a["a"].domSupported?"html":"richText":t||"html"}function Lr(t,e){var n=Object(s["f"])(),i=[];return Object(s["k"])(t,(function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)})),{keys:i,buckets:n}}function jr(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if(Object(s["z"])(i)){var a=tr(n||0,i,r);return Ei(a,o?Math.max(Li(n||0),Li(i)):e)}if(Object(s["C"])(i))return r<1?n:i;for(var l=[],u=n,c=i,h=Math.max(u?u.length:0,c.length),d=0;d<h;++d){var p=t.getDimensionInfo(d);if(p&&"ordinal"===p.type)l[d]=(r<1&&u?u:c)[d];else{var f=u&&u[d]?u[d]:0,g=c[d];a=tr(f,g,r);l[d]=Ei(a,o?Math.max(Li(f),Li(g)):e)}}return l}var Rr=".",Br="___EC__COMPONENT__CONTAINER___",Nr="___EC__EXTENDED_CLASS___";function Fr(t){var e={main:"",sub:""};if(t){var n=t.split(Rr);e.main=n[0]||"",e.sub=n[1]||""}return e}function zr(t){s["b"](/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function Vr(t){return!(!t||!t[Nr])}function qr(t,e){t.$constructor=t,t.extend=function(t){var e,n=this;return $r(n)?e=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(n):(e=function(){(t.$constructor||n).apply(this,arguments)},s["s"](e,this)),s["m"](e.prototype,t),e[Nr]=!0,e.extend=this.extend,e.superCall=Ur,e.superApply=Yr,e.superClass=n,e}}function $r(t){return s["w"](t)&&/^class\s/.test(Function.prototype.toString.call(t))}function Hr(t,e){t.extend=e.extend}var Gr=Math.round(10*Math.random());function Wr(t){var e=["__\0is_clz",Gr++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function Ur(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function Yr(t,e,n){return this.superClass.prototype[e].apply(t,n)}function Xr(t){var e={};function n(t){var n=e[t.main];return n&&n[Br]||(n=e[t.main]={},n[Br]=!0),n}t.registerClass=function(t){var i=t.type||t.prototype.type;if(i){zr(i),t.prototype.type=i;var r=Fr(i);if(r.sub){if(r.sub!==Br){var o=n(r);o[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[Br]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=Fr(t),i=[],r=e[n.main];return r&&r[Br]?s["k"](r,(function(t,e){e!==Br&&i.push(t)})):i.push(r),i},t.hasClass=function(t){var n=Fr(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return s["k"](e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=Fr(t),i=e[n.main];return i&&i[Br]}}function Kr(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,r){for(var o={},a=0;a<t.length;a++){var l=t[a][1];if(!(i&&s["r"](i,l)>=0||r&&s["r"](r,l)<0)){var u=n.getShallow(l,e);null!=u&&(o[t[a][0]]=u)}}return o}}var Zr=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Qr=Kr(Zr),Jr=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Qr(this,t,e)},t}(),to=new Un["a"](50);function eo(t){if("string"===typeof t){var e=to.get(t);return e&&e.image}return t}function no(t,e,n,i,r){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=to.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?(e=o.image,!ro(e)&&o.pending.push(a)):(e=Yn["d"].loadImage(t,io,io),e.__zrImageSrc=t,to.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function io(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function ro(t){return t&&t.width&&t.height}var oo=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function ao(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=so(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=lo(o[a],r);return o.join("\n")}function so(t,e,n,i){i=i||{};var r=Object(s["m"])({},i);r.font=e,n=Object(s["P"])(n,"..."),r.maxIterations=Object(s["P"])(i.maxIterations,2);var o=r.minChar=Object(s["P"])(i.minChar,0);r.cnCharWidth=Kn("国",e);var a=r.ascCharWidth=Kn("a",e);r.placeholder=Object(s["P"])(i.placeholder,"");for(var l=t=Math.max(0,t-1),u=0;u<o&&l>=a;u++)l-=a;var c=Kn(n,e);return c>l&&(n="",c=0),l=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=l,r.containerWidth=t,r}function lo(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=Kn(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?uo(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;t=t.substr(0,s),o=Kn(t,i)}return""===t&&(t=e.placeholder),t}function uo(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}function co(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,o=e.font,a="truncate"===i,l=ei(o),u=Object(s["P"])(e.lineHeight,l),c=!!e.backgroundColor,h="truncate"===e.lineOverflow,d=e.width;n=null==d||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?_o(t,e.font,d,"breakAll"===i,0).lines:[];var p=n.length*u,f=Object(s["P"])(e.height,p);if(p>f&&h){var g=Math.floor(f/u);n=n.slice(0,g)}if(t&&a&&null!=d)for(var m=so(d,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v=0;v<n.length;v++)n[v]=lo(n[v],m);var y=f,b=0;for(v=0;v<n.length;v++)b=Math.max(Kn(n[v],o),b);null==d&&(d=b);var _=b;return r&&(y+=r[0]+r[2],_+=r[1]+r[3],d+=r[1]+r[3]),c&&(_=d),{lines:n,height:f,outerWidth:_,outerHeight:y,lineHeight:u,calculatedLineHeight:l,contentWidth:b,contentHeight:p,width:d}}var ho=function(){function t(){}return t}(),po=function(){function t(t){this.tokens=[],t&&(this.tokens=t)}return t}(),fo=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}();function go(t,e){var n=new fo;if(null!=t&&(t+=""),!t)return n;var i,r=e.width,o=e.height,a=e.overflow,l="break"!==a&&"breakAll"!==a||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===a},u=oo.lastIndex=0;while(null!=(i=oo.exec(t))){var c=i.index;c>u&&mo(n,t.substring(u,c),e,l),mo(n,i[2],e,l,i[1]),u=oo.lastIndex}u<t.length&&mo(n,t.substring(u,t.length),e,l);var h=[],d=0,p=0,f=e.padding,g="truncate"===a,m="truncate"===e.lineOverflow;function v(t,e,n){t.width=e,t.lineHeight=n,d+=n,p=Math.max(p,e)}t:for(var y=0;y<n.lines.length;y++){for(var b=n.lines[y],_=0,x=0,w=0;w<b.tokens.length;w++){var S=b.tokens[w],C=S.styleName&&e.rich[S.styleName]||{},k=S.textPadding=C.padding,M=k?k[1]+k[3]:0,O=S.font=C.font||e.font;S.contentHeight=ei(O);var T=Object(s["P"])(C.height,S.contentHeight);if(S.innerHeight=T,k&&(T+=k[0]+k[2]),S.height=T,S.lineHeight=Object(s["Q"])(C.lineHeight,e.lineHeight,T),S.align=C&&C.align||e.align,S.verticalAlign=C&&C.verticalAlign||"middle",m&&null!=o&&d+S.lineHeight>o){w>0?(b.tokens=b.tokens.slice(0,w),v(b,x,_),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y);break t}var A=C.width,I=null==A||"auto"===A;if("string"===typeof A&&"%"===A.charAt(A.length-1))S.percentWidth=A,h.push(S),S.contentWidth=Kn(S.text,O);else{if(I){var P=C.backgroundColor,E=P&&P.image;E&&(E=eo(E),ro(E)&&(S.width=Math.max(S.width,E.width*T/E.height)))}var D=g&&null!=r?r-x:null;null!=D&&D<S.width?!I||D<M?(S.text="",S.width=S.contentWidth=0):(S.text=ao(S.text,D-M,O,e.ellipsis,{minChar:e.truncateMinChar}),S.width=S.contentWidth=Kn(S.text,O)):S.contentWidth=Kn(S.text,O)}S.width+=M,x+=S.width,C&&(_=Math.max(_,S.lineHeight))}v(b,x,_)}n.outerWidth=n.width=Object(s["P"])(r,p),n.outerHeight=n.height=Object(s["P"])(o,d),n.contentHeight=d,n.contentWidth=p,f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]);for(y=0;y<h.length;y++){S=h[y];var L=S.percentWidth;S.width=parseInt(L,10)/100*n.width}return n}function mo(t,e,n,i,r){var o,a,s=""===e,l=r&&n.rich[r]||{},u=t.lines,c=l.font||n.font,h=!1;if(i){var d=l.padding,p=d?d[1]+d[3]:0;if(null!=l.width&&"auto"!==l.width){var f=ni(l.width,i.width)+p;u.length>0&&f+i.accumWidth>i.width&&(o=e.split("\n"),h=!0),i.accumWidth=f}else{var g=_o(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+p,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var m=0;m<o.length;m++){var v=o[m],y=new ho;if(y.styleName=r,y.text=v,y.isLineHolder=!v&&!s,"number"===typeof l.width?y.width=l.width:y.width=a?a[m]:Kn(v,c),m||h)u.push(new po([y]));else{var b=(u[u.length-1]||(u[0]=new po)).tokens,_=b.length;1===_&&b[0].isLineHolder?b[0]=y:(v||!_||s)&&b.push(y)}}}function vo(t){var e=t.charCodeAt(0);return e>=33&&e<=383}var yo=Object(s["N"])(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function bo(t){return!vo(t)||!!yo[t]}function _o(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,c=0,h=0;h<t.length;h++){var d=t.charAt(h);if("\n"!==d){var p=Kn(d,e),f=!i&&!bo(d);(o.length?c+p>n:r+c+p>n)?c?(s||l)&&(f?(s||(s=l,l="",u=0,c=u),o.push(s),a.push(c-u),l+=d,u+=p,s="",c=u):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=d,c=p)):f?(o.push(l),a.push(u),l=d,u=p):(o.push(d),a.push(p)):(c+=p,f?(l+=d,u+=p):(l&&(s+=l,l="",u=0),s+=d))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:a}}var xo="__zr_style_"+Math.round(10*Math.random()),wo={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},So={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};wo[xo]=!0;var Co=["z","z2","invisible"],ko=["invisible"],Mo=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype._init=function(e){for(var n=Object(s["F"])(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&Ao(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent){var a=this.parent;while(a){if(a.ignore)return!1;a=a.parent}}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return i.contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,o=i.shadowOffsetX||0,a=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Wn(0,0,0,0)),e?Wn.applyTransform(t,n,e):t.copy(n),(r||o||a)&&(t.width+=2*r+Math.abs(o),t.height+=2*r+Math.abs(a),t.x=Math.min(t.x,t.x+o-r),t.y=Math.min(t.y,t.y+a-r));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Wn(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"===typeof t?this.style[t]=e:Object(s["m"])(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=Ot,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&Ot)},e.prototype.styleUpdated=function(){this.__dirty&=~Ot},e.prototype.createStyle=function(t){return Object(s["g"])(wo,t)},e.prototype.useStyle=function(t){t[xo]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[xo]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,Co)},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var l,u=!(n&&r);if(n&&n.style?o?r?l=n.style:(l=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(l,n.style)):u&&(l=i.style),l)if(o){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var h=Object(s["F"])(c),d=0;d<h.length;d++){var p=h[d];p in l&&(l[p]=l[p],this.style[p]=c[p])}var f=Object(s["F"])(l);for(d=0;d<f.length;d++){p=f[d];this.style[p]=this.style[p]}this._transitionState(e,{style:l},a,this.getAnimationStyleProps())}else this.useStyle(l);var g=this.__inHover?ko:Co;for(d=0;d<g.length;d++){p=g[d];n&&null!=n[p]?this[p]=n[p]:u&&null!=i[p]&&(this[p]=i[p])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return Object(s["m"])(t,e),t},e.prototype.getAnimationStyleProps=function(){return So},e.initDefaultProps=function(){var t=e.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=Mt|Ot}(),e}(vi),Oo=new Wn(0,0,0,0),To=new Wn(0,0,0,0);function Ao(t,e,n){return Oo.copy(t.getBoundingRect()),t.transform&&Oo.applyTransform(t.transform),To.width=e,To.height=n,!Oo.intersect(To)}var Io=Mo,Po=Math.min,Eo=Math.max,Do=Math.sin,Lo=Math.cos,jo=2*Math.PI,Ro=c(),Bo=c(),No=c();function Fo(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],o=i[0],a=i[1],s=i[1],l=1;l<t.length;l++)i=t[l],r=Po(r,i[0]),o=Eo(o,i[0]),a=Po(a,i[1]),s=Eo(s,i[1]);e[0]=r,e[1]=a,n[0]=o,n[1]=s}}function zo(t,e,n,i,r,o){r[0]=Po(t,n),r[1]=Po(e,i),o[0]=Eo(t,n),o[1]=Eo(e,i)}var Vo=[],qo=[];function $o(t,e,n,i,r,o,a,s,l,u){var c=Qt,h=Xt,d=c(t,n,r,a,Vo);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var p=0;p<d;p++){var f=h(t,n,r,a,Vo[p]);l[0]=Po(f,l[0]),u[0]=Eo(f,u[0])}d=c(e,i,o,s,qo);for(p=0;p<d;p++){var g=h(e,i,o,s,qo[p]);l[1]=Po(g,l[1]),u[1]=Eo(g,u[1])}l[0]=Po(t,l[0]),u[0]=Eo(t,u[0]),l[0]=Po(a,l[0]),u[0]=Eo(a,u[0]),l[1]=Po(e,l[1]),u[1]=Eo(e,u[1]),l[1]=Po(s,l[1]),u[1]=Eo(s,u[1])}function Ho(t,e,n,i,r,o,a,s){var l=oe,u=ne,c=Eo(Po(l(t,n,r),1),0),h=Eo(Po(l(e,i,o),1),0),d=u(t,n,r,c),p=u(e,i,o,h);a[0]=Po(t,r,d),a[1]=Po(e,o,p),s[0]=Eo(t,r,d),s[1]=Eo(e,o,p)}function Go(t,e,n,i,r,o,a,s,l){var u=O,c=T,h=Math.abs(r-o);if(h%jo<1e-4&&h>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Ro[0]=Lo(r)*n+t,Ro[1]=Do(r)*i+e,Bo[0]=Lo(o)*n+t,Bo[1]=Do(o)*i+e,u(s,Ro,Bo),c(l,Ro,Bo),r%=jo,r<0&&(r+=jo),o%=jo,o<0&&(o+=jo),r>o&&!a?o+=jo:r<o&&a&&(r+=jo),a){var d=o;o=r,r=d}for(var p=0;p<o;p+=Math.PI/2)p>r&&(No[0]=Lo(p)*n+t,No[1]=Do(p)*i+e,u(s,No,s),c(l,No,l))}var Wo={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Uo=[],Yo=[],Xo=[],Ko=[],Zo=[],Qo=[],Jo=Math.min,ta=Math.max,ea=Math.cos,na=Math.sin,ia=Math.abs,ra=Math.PI,oa=2*ra,aa="undefined"!==typeof Float32Array,sa=[];function la(t){var e=Math.round(t/ra*1e8)/1e8;return e%2*ra}function ua(t,e){var n=la(t[0]);n<0&&(n+=oa);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=oa?r=n+oa:e&&n-r>=oa?r=n-oa:!e&&n>r?r=n+(oa-la(n-r)):e&&n<r&&(r=n-(oa-la(r-n))),t[0]=n,t[1]=r}var ca=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){n=n||0,n>0&&(this._ux=ia(n/cn/t)||0,this._uy=ia(n/cn/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Wo.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=ia(t-this._xi),i=ia(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Wo.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Wo.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Wo.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),sa[0]=i,sa[1]=r,ua(sa,o),i=sa[0],r=sa[1];var a=r-i;return this.addData(Wo.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=ea(r)*n+t,this._yi=na(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Wo.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Wo.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!aa||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();aa&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},t.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,aa&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Xo[0]=Xo[1]=Zo[0]=Zo[1]=Number.MAX_VALUE,Ko[0]=Ko[1]=Qo[0]=Qo[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;t<this._len;){var a=e[t++],s=1===t;switch(s&&(n=e[t],i=e[t+1],r=n,o=i),a){case Wo.M:n=r=e[t++],i=o=e[t++],Zo[0]=r,Zo[1]=o,Qo[0]=r,Qo[1]=o;break;case Wo.L:zo(n,i,e[t],e[t+1],Zo,Qo),n=e[t++],i=e[t++];break;case Wo.C:$o(n,i,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],Zo,Qo),n=e[t++],i=e[t++];break;case Wo.Q:Ho(n,i,e[t++],e[t++],e[t],e[t+1],Zo,Qo),n=e[t++],i=e[t++];break;case Wo.A:var l=e[t++],u=e[t++],c=e[t++],h=e[t++],d=e[t++],p=e[t++]+d;t+=1;var f=!e[t++];s&&(r=ea(d)*c+l,o=na(d)*h+u),Go(l,u,c,h,d,p,f,Zo,Qo),n=ea(p)*c+l,i=na(p)*h+u;break;case Wo.R:r=n=e[t++],o=i=e[t++];var g=e[t++],m=e[t++];zo(r,o,r+g,o+m,Zo,Qo);break;case Wo.Z:n=r,i=o;break}O(Xo,Xo,Zo),T(Ko,Ko,Qo)}return 0===t&&(Xo[0]=Xo[1]=Ko[0]=Ko[1]=0),new Wn(Xo[0],Xo[1],Ko[0]-Xo[0],Ko[1]-Xo[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,h=0;h<e;){var d=t[h++],p=1===h;p&&(r=t[h],o=t[h+1],a=r,s=o);var f=-1;switch(d){case Wo.M:r=a=t[h++],o=s=t[h++];break;case Wo.L:var g=t[h++],m=t[h++],v=g-r,y=m-o;(ia(v)>n||ia(y)>i||h===e-1)&&(f=Math.sqrt(v*v+y*y),r=g,o=m);break;case Wo.C:var b=t[h++],_=t[h++],x=(g=t[h++],m=t[h++],t[h++]),w=t[h++];f=ee(r,o,b,_,g,m,x,w,10),r=x,o=w;break;case Wo.Q:b=t[h++],_=t[h++],g=t[h++],m=t[h++];f=le(r,o,b,_,g,m,10),r=g,o=m;break;case Wo.A:var S=t[h++],C=t[h++],k=t[h++],M=t[h++],O=t[h++],T=t[h++],A=T+O;h+=1;t[h++];p&&(a=ea(O)*k+S,s=na(O)*M+C),f=ta(k,M)*Jo(oa,Math.abs(T)),r=ea(A)*k+S,o=na(A)*M+C;break;case Wo.R:a=r=t[h++],s=o=t[h++];var I=t[h++],P=t[h++];f=2*I+2*P;break;case Wo.Z:v=a-r,y=s-o;f=Math.sqrt(v*v+y*y),r=a,o=s;break}f>=0&&(l[c++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,c,h,d,p=this.data,f=this._ux,g=this._uy,m=this._len,v=e<1,y=0,b=0,_=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=this._pathLen,c=e*u,c))t:for(var x=0;x<m;){var w=p[x++],S=1===x;switch(S&&(r=p[x],o=p[x+1],n=r,i=o),w!==Wo.L&&_>0&&(t.lineTo(h,d),_=0),w){case Wo.M:n=r=p[x++],i=o=p[x++],t.moveTo(r,o);break;case Wo.L:a=p[x++],s=p[x++];var C=ia(a-r),k=ia(s-o);if(C>f||k>g){if(v){var M=l[b++];if(y+M>c){var O=(c-y)/M;t.lineTo(r*(1-O)+a*O,o*(1-O)+s*O);break t}y+=M}t.lineTo(a,s),r=a,o=s,_=0}else{var T=C*C+k*k;T>_&&(h=a,d=s,_=T)}break;case Wo.C:var A=p[x++],I=p[x++],P=p[x++],E=p[x++],D=p[x++],L=p[x++];if(v){M=l[b++];if(y+M>c){O=(c-y)/M;Jt(r,A,P,D,O,Uo),Jt(o,I,E,L,O,Yo),t.bezierCurveTo(Uo[1],Yo[1],Uo[2],Yo[2],Uo[3],Yo[3]);break t}y+=M}t.bezierCurveTo(A,I,P,E,D,L),r=D,o=L;break;case Wo.Q:A=p[x++],I=p[x++],P=p[x++],E=p[x++];if(v){M=l[b++];if(y+M>c){O=(c-y)/M;ae(r,A,P,O,Uo),ae(o,I,E,O,Yo),t.quadraticCurveTo(Uo[1],Yo[1],Uo[2],Yo[2]);break t}y+=M}t.quadraticCurveTo(A,I,P,E),r=P,o=E;break;case Wo.A:var j=p[x++],R=p[x++],B=p[x++],N=p[x++],F=p[x++],z=p[x++],V=p[x++],q=!p[x++],$=B>N?B:N,H=ia(B-N)>.001,G=F+z,W=!1;if(v){M=l[b++];y+M>c&&(G=F+z*(c-y)/M,W=!0),y+=M}if(H&&t.ellipse?t.ellipse(j,R,B,N,V,F,G,q):t.arc(j,R,$,F,G,q),W)break t;S&&(n=ea(F)*B+j,i=na(F)*N+R),r=ea(G)*B+j,o=na(G)*N+R;break;case Wo.R:n=r=p[x],i=o=p[x+1],a=p[x++],s=p[x++];var U=p[x++],Y=p[x++];if(v){M=l[b++];if(y+M>c){var X=c-y;t.moveTo(a,s),t.lineTo(a+Jo(X,U),s),X-=U,X>0&&t.lineTo(a+U,s+Jo(X,Y)),X-=Y,X>0&&t.lineTo(a+ta(U-X,0),s+Y),X-=U,X>0&&t.lineTo(a,s+ta(Y-X,0));break t}y+=M}t.rect(a,s,U,Y);break;case Wo.Z:if(v){M=l[b++];if(y+M>c){O=(c-y)/M;t.lineTo(r*(1-O)+n*O,o*(1-O)+i*O);break t}y+=M}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Wo,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),ha=ca;function da(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0,u=t;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;l=(e-i)/(t-n),u=(t*i-n*e)/(t-n);var c=l*o-a+u,h=c*c/(l*l+1);return h<=s/2*s/2}function pa(t,e,n,i,r,o,a,s,l,u,c){if(0===l)return!1;var h=l;if(c>e+h&&c>i+h&&c>o+h&&c>s+h||c<e-h&&c<i-h&&c<o-h&&c<s-h||u>t+h&&u>n+h&&u>r+h&&u>a+h||u<t-h&&u<n-h&&u<r-h&&u<a-h)return!1;var d=te(t,e,n,i,r,o,a,s,u,c,null);return d<=h/2}function fa(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;if(l>e+u&&l>i+u&&l>o+u||l<e-u&&l<i-u&&l<o-u||s>t+u&&s>n+u&&s>r+u||s<t-u&&s<n-u&&s<r-u)return!1;var c=se(t,e,n,i,r,o,s,l,null);return c<=u/2}var ga=2*Math.PI;function ma(t){return t%=ga,t<0&&(t+=ga),t}var va=2*Math.PI;function ya(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(i-r)%va<1e-4)return!0;if(o){var h=i;i=ma(r),r=ma(h)}else i=ma(i),r=ma(r);i>r&&(r+=va);var d=Math.atan2(l,s);return d<0&&(d+=va),d>=i&&d<=r||d+va>=i&&d+va<=r}function ba(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var _a=ha.CMD,xa=2*Math.PI,wa=1e-4;function Sa(t,e){return Math.abs(t-e)<wa}var Ca=[-1,-1,-1],ka=[-1,-1];function Ma(){var t=ka[0];ka[0]=ka[1],ka[1]=t}function Oa(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u<e&&u<i&&u<o&&u<s)return 0;var c=Zt(e,i,o,s,u,Ca);if(0===c)return 0;for(var h=0,d=-1,p=void 0,f=void 0,g=0;g<c;g++){var m=Ca[g],v=0===m||1===m?.5:1,y=Xt(t,n,r,a,m);y<l||(d<0&&(d=Qt(e,i,o,s,ka),ka[1]<ka[0]&&d>1&&Ma(),p=Xt(e,i,o,s,ka[0]),d>1&&(f=Xt(e,i,o,s,ka[1]))),2===d?m<ka[0]?h+=p<e?v:-v:m<ka[1]?h+=f<p?v:-v:h+=s<f?v:-v:m<ka[0]?h+=p<e?v:-v:h+=s<p?v:-v)}return h}function Ta(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var l=re(e,i,o,s,Ca);if(0===l)return 0;var u=oe(e,i,o);if(u>=0&&u<=1){for(var c=0,h=ne(e,i,o,u),d=0;d<l;d++){var p=0===Ca[d]||1===Ca[d]?.5:1,f=ne(t,n,r,Ca[d]);f<a||(Ca[d]<u?c+=h<e?p:-p:c+=o<h?p:-p)}return c}p=0===Ca[0]||1===Ca[0]?.5:1,f=ne(t,n,r,Ca[0]);return f<a?0:o<e?p:-p}function Aa(t,e,n,i,r,o,a,s){if(s-=e,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Ca[0]=-l,Ca[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=xa-1e-4){i=0,r=xa;var c=o?1:-1;return a>=Ca[0]+t&&a<=Ca[1]+t?c:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=xa,r+=xa);for(var d=0,p=0;p<2;p++){var f=Ca[p];if(f+t>a){var g=Math.atan2(s,f);c=o?1:-1;g<0&&(g=xa+g),(g>=i&&g<=r||g+xa>=i&&g+xa<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),d+=c)}}return d}function Ia(t,e,n,i,r){for(var o,a,s=t.data,l=t.len(),u=0,c=0,h=0,d=0,p=0,f=0;f<l;){var g=s[f++],m=1===f;switch(g===_a.M&&f>1&&(n||(u+=ba(c,h,d,p,i,r))),m&&(c=s[f],h=s[f+1],d=c,p=h),g){case _a.M:d=s[f++],p=s[f++],c=d,h=p;break;case _a.L:if(n){if(da(c,h,s[f],s[f+1],e,i,r))return!0}else u+=ba(c,h,s[f],s[f+1],i,r)||0;c=s[f++],h=s[f++];break;case _a.C:if(n){if(pa(c,h,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else u+=Oa(c,h,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],i,r)||0;c=s[f++],h=s[f++];break;case _a.Q:if(n){if(fa(c,h,s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else u+=Ta(c,h,s[f++],s[f++],s[f],s[f+1],i,r)||0;c=s[f++],h=s[f++];break;case _a.A:var v=s[f++],y=s[f++],b=s[f++],_=s[f++],x=s[f++],w=s[f++];f+=1;var S=!!(1-s[f++]);o=Math.cos(x)*b+v,a=Math.sin(x)*_+y,m?(d=o,p=a):u+=ba(c,h,o,a,i,r);var C=(i-v)*_/b+v;if(n){if(ya(v,y,_,x,x+w,S,e,C,r))return!0}else u+=Aa(v,y,_,x,x+w,S,C,r);c=Math.cos(x+w)*b+v,h=Math.sin(x+w)*_+y;break;case _a.R:d=c=s[f++],p=h=s[f++];var k=s[f++],M=s[f++];if(o=d+k,a=p+M,n){if(da(d,p,o,p,e,i,r)||da(o,p,o,a,e,i,r)||da(o,a,d,a,e,i,r)||da(d,a,d,p,e,i,r))return!0}else u+=ba(o,p,o,a,i,r),u+=ba(d,a,d,p,i,r);break;case _a.Z:if(n){if(da(c,h,d,p,e,i,r))return!0}else u+=ba(c,h,d,p,i,r);c=d,h=p;break}}return n||Sa(h,p)||(u+=ba(c,h,d,p,i,r)||0),0!==u}function Pa(t,e,n){return Ia(t,0,!1,e,n)}function Ea(t,e,n,i){return Ia(t,e,!0,n,i)}var Da=Object(s["i"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},wo),La={style:Object(s["i"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},So.style)},ja=En.concat(["invisible","culling","z","z2","zlevel","parent"]),Ra=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<ja.length;++s)r[ja[s]]=this[ja[s]];r.__dirty|=Mt}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=Object(s["F"])(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?Object(s["m"])(this.style,a):this.useStyle(a):"shape"===o?Object(s["m"])(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(Object(s["C"])(t)){var e=Object(pe["d"])(t,0);return e>.5?dn:e>.2?fn:pn}if(t)return pn}return dn},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(s["C"])(e)){var n=this.__zr,i=!(!n||!n.isDarkMode()),r=Object(pe["d"])(t,0)<hn;if(i===r)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~Tt},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new ha(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&Tt)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),Ea(o,a/s,t,e)))return!0}if(this.hasFill())return Pa(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Tt,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"===typeof t?n[t]=e:Object(s["m"])(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&Tt)},e.prototype.createStyle=function(t){return Object(s["g"])(Da,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=Object(s["m"])({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var l,u=!(n&&r);if(n&&n.shape?o?r?l=n.shape:(l=Object(s["m"])({},i.shape),Object(s["m"])(l,n.shape)):(l=Object(s["m"])({},r?this.shape:i.shape),Object(s["m"])(l,n.shape)):u&&(l=i.shape),l)if(o){this.shape=Object(s["m"])({},this.shape);for(var c={},h=Object(s["F"])(l),d=0;d<h.length;d++){var p=h[d];"object"===typeof l[p]?this.shape[p]=l[p]:c[p]=l[p]}this._transitionState(e,{shape:c},a)}else this.shape=l,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return La},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return u(n,e),n.prototype.getDefaultStyle=function(){return Object(s["d"])(t.style)},n.prototype.getDefaultShape=function(){return Object(s["d"])(t.shape)},n}(e);for(var i in t)"function"===typeof t[i]&&(n.prototype[i]=t[i]);return n},e.initDefaultProps=function(){var t=e.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=Mt|Ot|Tt}(),e}(Io),Ba=Ra,Na=Object(s["i"])({strokeFirst:!0,font:Yn["a"],x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Da),Fa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return Object(s["g"])(Na,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Qn(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(Io);Fa.prototype.type="tspan";var za=Fa,Va=Object(s["i"])({x:0,y:0},wo),qa={style:Object(s["i"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},So.style)};function $a(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var Ha=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.createStyle=function(t){return Object(s["g"])(Va,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i=$a(e.image)?e.image:this.__image;if(!i)return 0;var r="width"===t?"height":"width",o=e[r];return null==o?i[t]:i[t]/i[r]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return qa},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Wn(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Io);Ha.prototype.type="image";var Ga=Ha;function Wa(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof h?n=i=r=o=h:h instanceof Array?1===h.length?n=i=r=o=h[0]:2===h.length?(n=r=h[0],i=o=h[1]):3===h.length?(n=h[0],i=o=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],o=h[3]):n=i=r=o=0,n+i>u&&(a=n+i,n*=u/a,i*=u/a),r+o>u&&(a=r+o,r*=u/a,o*=u/a),i+r>c&&(a=i+r,i*=c/a,r*=c/a),n+o>c&&(a=n+o,n*=c/a,o*=c/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}var Ua=Math.round;function Ya(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Ua(2*i)===Ua(2*r)&&(t.x1=t.x2=Ka(i,s,!0)),Ua(2*o)===Ua(2*a)&&(t.y1=t.y2=Ka(o,s,!0)),t):t}}function Xa(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Ka(i,s,!0),t.y=Ka(r,s,!0),t.width=Math.max(Ka(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Ka(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Ka(t,e,n){if(!e)return t;var i=Ua(2*t);return(i+Ua(e))%2===0?i/2:(i+(n?1:-1))/2}var Za=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),Qa={},Ja=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Za},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Xa(Qa,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?Wa(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Ba);Ja.prototype.type="rect";var ts=Ja,es={fill:"#000"},ns=2,is={style:Object(s["i"])({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},So.style)},rs=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=es,n.attr(e),n}return u(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,hs(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Wn(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),i=i||t.clone(),i.union(t)):(i=i||a.clone(),i.union(a))}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||es},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return Object(s["m"])(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=Object(s["F"])(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},Object(s["m"])(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return is},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||Yn["a"],n=t.padding,i=ms(t),r=co(i,t),o=vs(t),a=!!t.backgroundColor,s=r.outerHeight,l=r.outerWidth,u=r.contentWidth,c=r.lines,h=r.lineHeight,d=this._defaultStyle,p=t.x||0,f=t.y||0,g=t.align||d.align||"left",m=t.verticalAlign||d.verticalAlign||"top",v=p,y=ti(f,r.contentHeight,m);if(o||n){var b=Jn(p,l,g),_=ti(f,s,m);o&&this._renderBackground(t,t,b,_,l,s)}y+=h/2,n&&(v=gs(p,g,n),"top"===m?y+=n[0]:"bottom"===m&&(y-=n[2]));for(var x=0,w=!1,S=(fs("fill"in t?t.fill:(w=!0,d.fill))),C=(ps("stroke"in t?t.stroke:a||d.autoStroke&&!w?null:(x=ns,d.stroke))),k=t.textShadowBlur>0,M=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),O=r.calculatedLineHeight,T=0;T<c.length;T++){var A=this._getOrCreateChild(za),I=A.createStyle();A.useStyle(I),I.text=c[T],I.x=v,I.y=y,g&&(I.textAlign=g),I.textBaseline="middle",I.opacity=t.opacity,I.strokeFirst=!0,k&&(I.shadowBlur=t.textShadowBlur||0,I.shadowColor=t.textShadowColor||"transparent",I.shadowOffsetX=t.textShadowOffsetX||0,I.shadowOffsetY=t.textShadowOffsetY||0),I.stroke=C,I.fill=S,C&&(I.lineWidth=t.lineWidth||x,I.lineDash=t.lineDash,I.lineDashOffset=t.lineDashOffset||0),I.font=e,us(I,t),y+=h,M&&A.setBoundingRect(new Wn(Jn(I.x,t.width,I.textAlign),ti(I.y,O,I.textBaseline),u,O))}},e.prototype._updateRichTexts=function(){var t=this.style,e=ms(t),n=go(e,t),i=n.width,r=n.outerWidth,o=n.outerHeight,a=t.padding,s=t.x||0,l=t.y||0,u=this._defaultStyle,c=t.align||u.align,h=t.verticalAlign||u.verticalAlign,d=Jn(s,r,c),p=ti(l,o,h),f=d,g=p;a&&(f+=a[3],g+=a[0]);var m=f+i;vs(t)&&this._renderBackground(t,t,d,p,r,o);for(var v=!!t.backgroundColor,y=0;y<n.lines.length;y++){var b=n.lines[y],_=b.tokens,x=_.length,w=b.lineHeight,S=b.width,C=0,k=f,M=m,O=x-1,T=void 0;while(C<x&&(T=_[C],!T.align||"left"===T.align))this._placeToken(T,t,w,g,k,"left",v),S-=T.width,k+=T.width,C++;while(O>=0&&(T=_[O],"right"===T.align))this._placeToken(T,t,w,g,M,"right",v),S-=T.width,M-=T.width,O--;k+=(i-(k-f)-(m-M)-S)/2;while(C<=O)T=_[C],this._placeToken(T,t,w,g,k+T.width/2,"center",v),k+=T.width,C++;g+=w}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var l=e.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,c=i+n/2;"top"===u?c=i+t.height/2:"bottom"===u&&(c=i+n-t.height/2);var h=!t.isLineHolder&&vs(l);h&&this._renderBackground(l,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,c-t.height/2,t.width,t.height);var d=!!l.backgroundColor,p=t.textPadding;p&&(r=gs(r,o,p),c-=t.height/2-p[0]-t.innerHeight/2);var f=this._getOrCreateChild(za),g=f.createStyle();f.useStyle(g);var m=this._defaultStyle,v=!1,y=0,b=fs("fill"in l?l.fill:"fill"in e?e.fill:(v=!0,m.fill)),_=ps("stroke"in l?l.stroke:"stroke"in e?e.stroke:d||a||m.autoStroke&&!v?null:(y=ns,m.stroke)),x=l.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=r,g.y=c,x&&(g.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,g.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=o,g.textBaseline="middle",g.font=t.font||Yn["a"],g.opacity=Object(s["Q"])(l.opacity,e.opacity,1),us(g,l),_&&(g.lineWidth=Object(s["Q"])(l.lineWidth,e.lineWidth,y),g.lineDash=Object(s["P"])(l.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=_),b&&(g.fill=b);var w=t.contentWidth,S=t.contentHeight;f.setBoundingRect(new Wn(Jn(g.x,w,g.textAlign),ti(g.y,S,g.textBaseline),w,S))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,l,u=t.backgroundColor,c=t.borderWidth,h=t.borderColor,d=u&&u.image,p=u&&!d,f=t.borderRadius,g=this;if(p||t.lineHeight||c&&h){a=this._getOrCreateChild(ts),a.useStyle(a.createStyle()),a.style.fill=null;var m=a.shape;m.x=n,m.y=i,m.width=r,m.height=o,m.r=f,a.dirtyShape()}if(p){var v=a.style;v.fill=u||null,v.fillOpacity=Object(s["P"])(t.fillOpacity,1)}else if(d){l=this._getOrCreateChild(Ga),l.onload=function(){g.dirtyStyle()};var y=l.style;y.image=u.image,y.x=n,y.y=i,y.width=r,y.height=o}if(c&&h){v=a.style;v.lineWidth=c,v.stroke=h,v.strokeOpacity=Object(s["P"])(t.strokeOpacity,1),v.lineDash=t.borderDash,v.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(v.strokeFirst=!0,v.lineWidth*=2)}var b=(a||l).style;b.shadowBlur=t.shadowBlur||0,b.shadowColor=t.shadowColor||"transparent",b.shadowOffsetX=t.shadowOffsetX||0,b.shadowOffsetY=t.shadowOffsetY||0,b.opacity=Object(s["Q"])(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return cs(t)&&(e=[t.fontStyle,t.fontWeight,ls(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&Object(s["T"])(e)||t.textFont||t.font},e}(Io),os={left:!0,right:1,center:1},as={top:1,bottom:1,middle:1},ss=["fontStyle","fontWeight","fontSize","fontFamily"];function ls(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?Yn["c"]+"px":t+"px":t}function us(t,e){for(var n=0;n<ss.length;n++){var i=ss[n],r=e[i];null!=r&&(t[i]=r)}}function cs(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function hs(t){return ds(t),Object(s["k"])(t.rich,ds),t}function ds(t){if(t){t.font=rs.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||os[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||as[n]?n:"top";var i=t.padding;i&&(t.padding=Object(s["M"])(t.padding))}}function ps(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function fs(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function gs(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function ms(t){var e=t.text;return null!=e&&(e+=""),e}function vs(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var ys=rs,bs=kr(),_s=function(t,e,n,i){if(i){var r=bs(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,"group"===i.type&&i.traverse((function(i){var r=bs(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e}))}},xs=1,ws={},Ss=kr(),Cs=kr(),ks=0,Ms=1,Os=2,Ts=["emphasis","blur","select"],As=["normal","emphasis","blur","select"],Is=10,Ps=9,Es="highlight",Ds="downplay",Ls="select",js="unselect",Rs="toggleSelect";function Bs(t){return null!=t&&"none"!==t}var Ns=new Un["a"](100);function Fs(t){if(Object(s["C"])(t)){var e=Ns.get(t);return e||(e=pe["c"](t,-.1),Ns.put(t,e)),e}if(Object(s["x"])(t)){var n=Object(s["m"])({},t);return n.colorStops=Object(s["H"])(t.colorStops,(function(t){return{offset:t.offset,color:pe["c"](t.color,-.1)}})),n}return t}function zs(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function Vs(t){zs(t,"emphasis",Os)}function qs(t){t.hoverState===Os&&zs(t,"normal",ks)}function $s(t){zs(t,"blur",Ms)}function Hs(t){t.hoverState===Ms&&zs(t,"normal",ks)}function Gs(t){t.selected=!0}function Ws(t){t.selected=!1}function Us(t,e,n){e(t,n)}function Ys(t,e,n){Us(t,e,n),t.isGroup&&t.traverse((function(t){Us(t,e,n)}))}function Xs(t,e){switch(e){case"emphasis":t.hoverState=Os;break;case"normal":t.hoverState=ks;break;case"blur":t.hoverState=Ms;break;case"select":t.selected=!0}}function Ks(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,e)}return o}function Zs(t,e,n,i){var r=n&&Object(s["r"])(n,"select")>=0,o=!1;if(t instanceof Ba){var a=Ss(t),l=r&&a.selectFill||a.normalFill,u=r&&a.selectStroke||a.normalStroke;if(Bs(l)||Bs(u)){i=i||{};var c=i.style||{};"inherit"===c.fill?(o=!0,i=Object(s["m"])({},i),c=Object(s["m"])({},c),c.fill=l):!Bs(c.fill)&&Bs(l)?(o=!0,i=Object(s["m"])({},i),c=Object(s["m"])({},c),c.fill=Fs(l)):!Bs(c.stroke)&&Bs(u)&&(o||(i=Object(s["m"])({},i),c=Object(s["m"])({},c)),c.stroke=Fs(u)),i.style=c}}if(i&&null==i.z2){o||(i=Object(s["m"])({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:Is)}return i}function Qs(t,e,n){if(n&&null==n.z2){n=Object(s["m"])({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:Ps)}return n}function Js(t,e,n){var i=Object(s["r"])(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:Ks(t,["opacity"],e,{opacity:1});n=n||{};var a=n.style||{};return null==a.opacity&&(n=Object(s["m"])({},n),a=Object(s["m"])({opacity:i?r:.1*o.opacity},a),n.style=a),n}function tl(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return Zs(this,t,e,n);if("blur"===t)return Js(this,t,n);if("select"===t)return Qs(this,t,n)}return n}function el(t){t.stateProxy=tl;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=tl),n&&(n.stateProxy=tl)}function nl(t,e){!cl(t,e)&&!t.__highByOuter&&Ys(t,Vs)}function il(t,e){!cl(t,e)&&!t.__highByOuter&&Ys(t,qs)}function rl(t,e){t.__highByOuter|=1<<(e||0),Ys(t,Vs)}function ol(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Ys(t,qs)}function al(t){Ys(t,$s)}function sl(t){Ys(t,Hs)}function ll(t){Ys(t,Gs)}function ul(t){Ys(t,Ws)}function cl(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function hl(t){var e=t.getModel(),n=[],i=[];e.eachComponent((function(e,r){var o=Cs(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&i.push(s),o.isBlured&&(s.group.traverse((function(t){Hs(t)})),a&&n.push(r)),o.isBlured=!1})),Object(s["k"])(i,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function dl(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&sl(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var a=r.getSeriesByIndex(t),l=a.coordinateSystem;l&&l.master&&(l=l.master);var u=[];r.eachSeries((function(t){var r=a===t,c=t.coordinateSystem;c&&c.master&&(c=c.master);var h=c&&l?c===l:r;if(!("series"===n&&!r||"coordinateSystem"===n&&!h||"series"===e&&r)){var d=i.getViewOfSeriesModel(t);if(d.group.traverse((function(t){$s(t)})),Object(s["u"])(e))o(t.getData(),e);else if(Object(s["A"])(e))for(var p=Object(s["F"])(e),f=0;f<p.length;f++)o(t.getData(p[f]),e[p[f]]);u.push(t),Cs(t).isBlured=!0}})),r.eachComponent((function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,r)}}))}}function pl(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){Cs(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse((function(t){$s(t)}))}}}function fl(t,e,n){var i=t.seriesIndex,r=t.getData(e.dataType);if(r){var o=Cr(r,e);o=(Object(s["t"])(o)?o[0]:o)||0;var a=r.getItemGraphicEl(o);if(!a){var l=r.count(),u=0;while(!a&&u<l)a=r.getItemGraphicEl(u++)}if(a){var c=bs(a);dl(i,c.focus,c.blurScope,n)}else{var h=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=h&&dl(i,h,d,n)}}}function gl(t,e,n,i){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return r;var o=i.getModel().getComponent(t,e);if(!o)return r;var a=i.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return r;for(var s,l=a.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===bs(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function ml(t,e,n){var i=bs(t),r=gl(i.componentMainType,i.componentIndex,i.componentHighDownName,n),o=r.dispatchers,a=r.focusSelf;o?(a&&pl(i.componentMainType,i.componentIndex,n),Object(s["k"])(o,(function(t){return nl(t,e)}))):(dl(i.seriesIndex,i.focus,i.blurScope,n),"self"===i.focus&&pl(i.componentMainType,i.componentIndex,n),nl(t,e))}function vl(t,e,n){hl(n);var i=bs(t),r=gl(i.componentMainType,i.componentIndex,i.componentHighDownName,n).dispatchers;r?Object(s["k"])(r,(function(t){return il(t,e)})):il(t,e)}function yl(t,e,n){if(El(e)){var i=e.dataType,r=t.getData(i),o=Cr(r,e);Object(s["t"])(o)||(o=[o]),t[e.type===Rs?"toggleSelect":e.type===Ls?"select":"unselect"](o,i)}}function bl(t){var e=t.getAllData();Object(s["k"])(e,(function(e){var n=e.data,i=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,i)?ll(e):ul(e)}))}))}function _l(t){var e=[];return t.eachSeries((function(t){var n=t.getAllData();Object(s["k"])(n,(function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function xl(t,e,n){Tl(t,!0),Ys(t,el),Cl(t,e,n)}function wl(t){Tl(t,!1)}function Sl(t,e,n,i){i?wl(t):xl(t,e,n)}function Cl(t,e,n){var i=bs(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var kl=["emphasis","blur","select"],Ml={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Ol(t,e,n,i){n=n||"itemStyle";for(var r=0;r<kl.length;r++){var o=kl[r],a=e.getModel([o,n]),s=t.ensureState(o);s.style=i?i(a):a[Ml[n]]()}}function Tl(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function Al(t){return!(!t||!t.__highDownDispatcher)}function Il(t,e,n){var i=bs(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}function Pl(t){var e=ws[t];return null==e&&xs<=32&&(e=ws[t]=xs++),e}function El(t){var e=t.type;return e===Ls||e===js||e===Rs}function Dl(t){var e=t.type;return e===Es||e===Ds}function Ll(t){var e=Ss(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}var jl=kr();function Rl(t,e,n,i,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(l){var c=void 0,h=void 0,d=void 0;i?(c=Object(s["P"])(i.duration,200),h=Object(s["P"])(i.easing,"cubicOut"),d=0):(c=e.getShallow(u?"animationDurationUpdate":"animationDuration"),h=e.getShallow(u?"animationEasingUpdate":"animationEasing"),d=e.getShallow(u?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(c=o.duration),null!=o.easing&&(h=o.easing),null!=o.delay&&(d=o.delay)),Object(s["w"])(d)&&(d=d(n,r)),Object(s["w"])(c)&&(c=c(n));var p={duration:c||0,delay:d,easing:h};return p}return null}function Bl(t,e,n,i,r,o,a){var l,u=!1;Object(s["w"])(r)?(a=o,o=r,r=null):Object(s["A"])(r)&&(o=r.cb,a=r.during,u=r.isFrom,l=r.removeOpt,r=r.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var h=Rl(t,i,r,c?l||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(h&&h.duration>0){var d=h.duration,p=h.delay,f=h.easing,g={duration:d,delay:p||0,easing:f,done:o,force:!!o||!!a,setToFinal:!c,scope:t,during:a};u?e.animateFrom(n,g):e.animateTo(n,g)}else e.stopAnimation(),!u&&e.attr(n),a&&a(1),o&&o()}function Nl(t,e,n,i,r,o){Bl("update",t,e,n,i,r,o)}function Fl(t,e,n,i,r,o){Bl("enter",t,e,n,i,r,o)}function zl(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){var n=t.animators[e];if("leave"===n.scope)return!0}return!1}function Vl(t,e,n,i,r,o){zl(t)||Bl("leave",t,e,n,i,r,o)}function ql(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),Vl(t,{style:{opacity:0}},e,n,i)}function $l(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||ql(t,e,n,i)})):ql(t,e,n,i)}function Hl(t){jl(t).oldStyle=t.style}function Gl(t){return jl(t).oldStyle}var Wl={};function Ul(t,e){for(var n=0;n<Ts.length;n++){var i=Ts[n],r=e[i],o=t.ensureState(i);o.style=o.style||{},o.style.text=r}var a=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(a,!0)}function Yl(t,e,n){var i,r=t.labelFetcher,o=t.labelDataIndex,a=t.labelDimIndex,l=e.normal;r&&(i=r.getFormattedLabel(o,"normal",null,a,l&&l.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=Object(s["w"])(t.defaultText)?t.defaultText(o,t,n):t.defaultText);for(var u={normal:i},c=0;c<Ts.length;c++){var h=Ts[c],d=e[h];u[h]=Object(s["P"])(r?r.getFormattedLabel(o,h,null,a,d&&d.get("formatter")):null,i)}return u}function Xl(t,e,n,i){n=n||Wl;for(var r=t instanceof ys,o=!1,a=0;a<As.length;a++){var l=e[As[a]];if(l&&l.getShallow("show")){o=!0;break}}var u=r?t:t.getTextContent();if(o){r||(u||(u=new ys,t.setTextContent(u)),t.stateProxy&&(u.stateProxy=t.stateProxy));var c=Yl(n,e),h=e.normal,d=!!h.getShallow("show"),p=Zl(h,i&&i.normal,n,!1,!r);p.text=c.normal,r||t.setTextConfig(Ql(h,n,!1));for(a=0;a<Ts.length;a++){var f=Ts[a];l=e[f];if(l){var g=u.ensureState(f),m=!!Object(s["P"])(l.getShallow("show"),d);if(m!==d&&(g.ignore=!m),g.style=Zl(l,i&&i[f],n,!0,!r),g.style.text=c[f],!r){var v=t.ensureState(f);v.textConfig=Ql(l,n,!0)}}}u.silent=!!h.getShallow("silent"),null!=u.style.x&&(p.x=u.style.x),null!=u.style.y&&(p.y=u.style.y),u.ignore=!d,u.useStyle(p),u.dirty(),n.enableTextSetter&&(au(u).setLabelText=function(t){var i=Yl(n,e,t);Ul(u,i)})}else u&&(u.ignore=!0);t.dirty()}function Kl(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<Ts.length;i++){var r=Ts[i];n[r]=t.getModel([r,e])}return n}function Zl(t,e,n,i,r){var o={};return Jl(o,t,n,i,r),e&&Object(s["m"])(o,e),o}function Ql(t,e,n){e=e||{};var i,r={},o=t.getShallow("rotate"),a=Object(s["P"])(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return i=t.getShallow("position")||(n?null:"inside"),"outside"===i&&(i=e.defaultOutsidePosition||"top"),null!=i&&(r.position=i),null!=l&&(r.offset=l),null!=o&&(o*=Math.PI/180,r.rotation=o),null!=a&&(r.distance=a),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}function Jl(t,e,n,i,r){n=n||Wl;var o,a=e.ecModel,s=a&&a.option.textStyle,l=tu(e);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var c=e.getModel(["rich",u]);ru(o[u]={},c,s,n,i,r,!1,!0)}o&&(t.rich=o);var h=e.get("overflow");h&&(t.overflow=h);var d=e.get("minMargin");null!=d&&(t.margin=d),ru(t,e,s,n,i,r,!0,!1)}function tu(t){var e;while(t&&t!==t.ecModel){var n=(t.option||Wl).rich;if(n){e=e||{};for(var i=Object(s["F"])(n),r=0;r<i.length;r++){var o=i[r];e[o]=1}}t=t.parentModel}return e}var eu=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],nu=["align","lineHeight","width","height","tag","verticalAlign"],iu=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function ru(t,e,n,i,r,o,a,l){n=!r&&n||Wl;var u=i&&i.inheritColor,c=e.getShallow("color"),h=e.getShallow("textBorderColor"),d=Object(s["P"])(e.getShallow("opacity"),n.opacity);"inherit"!==c&&"auto"!==c||(c=u||null),"inherit"!==h&&"auto"!==h||(h=u||null),o||(c=c||n.color,h=h||n.textBorderColor),null!=c&&(t.fill=c),null!=h&&(t.stroke=h);var p=Object(s["P"])(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=p&&(t.lineWidth=p);var f=Object(s["P"])(e.getShallow("textBorderType"),n.textBorderType);null!=f&&(t.lineDash=f);var g=Object(s["P"])(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=g&&(t.lineDashOffset=g),r||null!=d||l||(d=i&&i.defaultOpacity),null!=d&&(t.opacity=d),r||o||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var m=0;m<eu.length;m++){var v=eu[m],y=Object(s["P"])(e.getShallow(v),n[v]);null!=y&&(t[v]=y)}for(m=0;m<nu.length;m++){v=nu[m],y=e.getShallow(v);null!=y&&(t[v]=y)}if(null==t.verticalAlign){var b=e.getShallow("baseline");null!=b&&(t.verticalAlign=b)}if(!a||!i.disableBox){for(m=0;m<iu.length;m++){v=iu[m],y=e.getShallow(v);null!=y&&(t[v]=y)}var _=e.getShallow("borderType");null!=_&&(t.borderDash=_),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!u||(t.backgroundColor=u),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!u||(t.borderColor=u)}}function ou(t,e){var n=e&&e.getModel("textStyle");return Object(s["T"])([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var au=kr();function su(t,e,n,i){if(t){var r=au(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function lu(t,e,n,i,r){var o=au(t);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,l=Object(s["P"])(o.interpolatedValue,o.prevValue),u=o.value;t.percent=0,(null==o.prevValue?Fl:Nl)(t,{percent:1},i,e,null,c)}function c(i){var s=jr(n,o.precision,l,u,i);o.interpolatedValue=1===i?null:s;var c=Yl({labelDataIndex:e,labelFetcher:r,defaultText:a?a(s):s+""},o.statesModels,s);Ul(t,c)}}var uu=["textStyle","color"],cu=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],hu=new ys,du=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(uu):null)},t.prototype.getFont=function(){return ou({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<cu.length;n++)e[cu[n]]=this.getShallow(cu[n]);return hu.useStyle(e),hu.update(),hu.getBoundingRect()},t}(),pu=du,fu=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],gu=Kr(fu),mu=function(){function t(){}return t.prototype.getLineStyle=function(t){return gu(this,t)},t}(),vu=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],yu=Kr(vu),bu=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return yu(this,t,e)},t}(),_u=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){Object(s["I"])(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null,o=i?this._doGet(r):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),new t(o,n,this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){var t=this.constructor;return new t(Object(s["d"])(this.option))},t.prototype.parsePath=function(t){return"string"===typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!a["a"].node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length;i++)if(t[i]&&(n=n&&"object"===typeof n?n[t[i]]:null,null==n))break;return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();qr(_u),Wr(_u),Object(s["K"])(_u,mu),Object(s["K"])(_u,bu),Object(s["K"])(_u,Jr),Object(s["K"])(_u,pu);var xu=_u,wu=Math.round(10*Math.random());function Su(t){return[t||"",wu++].join("_")}function Cu(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=Fr(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=Fr(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}function ku(t,e){function n(t){var n={},o=[];return s["k"](t,(function(a){var l=i(n,a),u=l.originalDeps=e(a),c=r(u,t);l.entryCount=c.length,0===l.entryCount&&o.push(a),s["k"](c,(function(t){s["r"](l.predecessor,t)<0&&l.predecessor.push(t);var e=i(n,t);s["r"](e.successor,t)<0&&e.successor.push(a)}))})),{graph:n,noEntryList:o}}function i(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function r(t,e){var n=[];return s["k"](t,(function(t){s["r"](e,t)>=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,i,r){if(t.length){var o=n(e),a=o.graph,l=o.noEntryList,u={};s["k"](t,(function(t){u[t]=!0}));while(l.length){var c=l.pop(),h=a[c],d=!!u[c];d&&(i.call(r,c,h.originalDeps.slice()),delete u[c]),s["k"](h.successor,d?f:p)}s["k"](u,(function(){var t="";throw new Error(t)}))}function p(t){a[t].entryCount--,0===a[t].entryCount&&l.push(t)}function f(t){u[t]=!0,p(t)}}}function Mu(t,e){return s["I"](s["I"]({},t,!0),e,!0)}var Ou={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},Tu={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}},Au="ZH",Iu="EN",Pu=Iu,Eu={},Du={},Lu=a["a"].domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(Au)>-1?Au:Pu}():Pu;function ju(t,e){t=t.toUpperCase(),Du[t]=new xu(e),Eu[t]=e}function Ru(t){if(Object(s["C"])(t)){var e=Eu[t.toUpperCase()]||{};return t===Au||t===Iu?Object(s["d"])(e):Object(s["I"])(Object(s["d"])(e),Object(s["d"])(Eu[Pu]),!1)}return Object(s["I"])(Object(s["d"])(t),Object(s["d"])(Eu[Pu]),!1)}function Bu(t){return Du[t]}function Nu(){return Du[Pu]}ju(Iu,Ou),ju(Au,Tu);var Fu=1e3,zu=60*Fu,Vu=60*zu,qu=24*Vu,$u=365*qu,Hu={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Gu="{yyyy}-{MM}-{dd}",Wu={year:"{yyyy}",month:"{yyyy}-{MM}",day:Gu,hour:Gu+" "+Hu.hour,minute:Gu+" "+Hu.minute,second:Gu+" "+Hu.second,millisecond:Hu.none},Uu=["year","month","day","hour","minute","second","millisecond"],Yu=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Xu(t,e){return t+="","0000".substr(0,e-t.length)+t}function Ku(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Zu(t){return t===Ku(t)}function Qu(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Ju(t,e,n,i){var r=$i(t),o=r[ic(n)](),a=r[rc(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[oc(n)](),u=r["get"+(n?"UTC":"")+"Day"](),c=r[ac(n)](),h=(c-1)%12+1,d=r[sc(n)](),p=r[lc(n)](),f=r[uc(n)](),g=i instanceof xu?i:Bu(i||Lu)||Nu(),m=g.getModel("time"),v=m.get("month"),y=m.get("monthAbbr"),b=m.get("dayOfWeek"),_=m.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,o%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,v[a-1]).replace(/{MMM}/g,y[a-1]).replace(/{MM}/g,Xu(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Xu(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,b[u]).replace(/{ee}/g,_[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Xu(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Xu(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,Xu(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,Xu(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,Xu(f,3)).replace(/{S}/g,f+"")}function tc(t,e,n,i,r){var o=null;if(s["C"](n))o=n;else if(s["w"](n))o=n(t.value,e,{level:t.level});else{var a=s["m"]({},Hu);if(t.level>0)for(var l=0;l<Uu.length;++l)a[Uu[l]]="{primary|"+a[Uu[l]]+"}";var u=n?!1===n.inherit?n:s["i"](n,a):a,c=ec(t.value,r);if(u[c])o=u[c];else if(u.inherit){var h=Yu.indexOf(c);for(l=h-1;l>=0;--l)if(u[c]){o=u[c];break}o=o||a.none}if(s["t"](o)){var d=null==t.level?0:t.level>=0?t.level:o.length+t.level;d=Math.min(d,o.length-1),o=o[d]}}return Ju(new Date(t.value),o,r,i)}function ec(t,e){var n=$i(t),i=n[rc(e)]()+1,r=n[oc(e)](),o=n[ac(e)](),a=n[sc(e)](),s=n[lc(e)](),l=n[uc(e)](),u=0===l,c=u&&0===s,h=c&&0===a,d=h&&0===o,p=d&&1===r,f=p&&1===i;return f?"year":p?"month":d?"day":h?"hour":c?"minute":u?"second":"millisecond"}function nc(t,e,n){var i=s["z"](t)?$i(t):t;switch(e=e||ec(t,n),e){case"year":return i[ic(n)]();case"half-year":return i[rc(n)]()>=6?1:0;case"quarter":return Math.floor((i[rc(n)]()+1)/4);case"month":return i[rc(n)]();case"day":return i[oc(n)]();case"half-day":return i[ac(n)]()/24;case"hour":return i[ac(n)]();case"minute":return i[sc(n)]();case"second":return i[lc(n)]();case"millisecond":return i[uc(n)]()}}function ic(t){return t?"getUTCFullYear":"getFullYear"}function rc(t){return t?"getUTCMonth":"getMonth"}function oc(t){return t?"getUTCDate":"getDate"}function ac(t){return t?"getUTCHours":"getHours"}function sc(t){return t?"getUTCMinutes":"getMinutes"}function lc(t){return t?"getUTCSeconds":"getSeconds"}function uc(t){return t?"getUTCMilliseconds":"getMilliseconds"}function cc(t){return t?"setUTCFullYear":"setFullYear"}function hc(t){return t?"setUTCMonth":"setMonth"}function dc(t){return t?"setUTCDate":"setDate"}function pc(t){return t?"setUTCHours":"setHours"}function fc(t){return t?"setUTCMinutes":"setMinutes"}function gc(t){return t?"setUTCSeconds":"setSeconds"}function mc(t){return t?"setUTCMilliseconds":"setMilliseconds"}function vc(t){if(!Ki(t))return s["C"](t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function yc(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var bc=s["M"],_c=/([&<>"'])/g,xc={"&":"&","<":"<",">":">",'"':""","'":"'"};function wc(t){return null==t?"":(t+"").replace(_c,(function(t,e){return xc[e]}))}function Sc(t,e,n){var i="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function r(t){return t&&s["T"](t)?t:"-"}function o(t){return!(null==t||isNaN(t)||!isFinite(t))}var a="time"===e,l=t instanceof Date;if(a||l){var u=a?$i(t):t;if(!isNaN(+u))return Ju(u,i,n);if(l)return"-"}if("ordinal"===e)return s["D"](t)?r(t):s["z"](t)&&o(t)?t+"":"-";var c=Xi(t);return o(c)?vc(c):s["D"](t)?r(t):"boolean"===typeof t?t+"":"-"}var Cc=["a","b","c","d","e","f","g"],kc=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Mc(t,e,n){s["t"](e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var a=Cc[o];t=t.replace(kc(a),kc(a,0))}for(var l=0;l<i;l++)for(var u=0;u<r.length;u++){var c=e[l][r[u]];t=t.replace(kc(Cc[u],l),n?wc(c):c)}return t}function Oc(t,e,n){return s["k"](e,(function(e,i){t=t.replace("{"+i+"}",n?wc(e):e)})),t}function Tc(t,e){var n=s["C"](t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";if(!i)return"";if("html"===o)return"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+wc(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+wc(i)+";"+(e||"")+'"></span>';var a=n.markerId||"markerX";return{renderMode:o,content:"{"+a+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}}function Ac(t,e){return e=e||"transparent",s["C"](t)?t:s["A"](t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Ic(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Pc=s["k"],Ec=["left","right","top","bottom","width","height"],Dc=[["width","left","right"],["height","top","bottom"]];function Lc(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var c,h,d=l.getBoundingRect(),p=e.childAt(u+1),f=p&&p.getBoundingRect();if("horizontal"===t){var g=d.width+(f?-f.x+d.x:0);c=o+g,c>i||l.newline?(o=0,c=g,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var m=d.height+(f?-f.y+d.y:0);h=a+m,h>r||l.newline?(o+=s+n,a=0,h=m,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+n:a=h+n)}))}var jc=Lc;s["h"](Lc,"vertical"),s["h"](Lc,"horizontal");function Rc(t,e,n){var i=e.width,r=e.height,o=Pi(t.left,i),a=Pi(t.top,r),s=Pi(t.right,i),l=Pi(t.bottom,r);return(isNaN(o)||isNaN(parseFloat(t.left)))&&(o=0),(isNaN(s)||isNaN(parseFloat(t.right)))&&(s=i),(isNaN(a)||isNaN(parseFloat(t.top)))&&(a=0),(isNaN(l)||isNaN(parseFloat(t.bottom)))&&(l=r),n=bc(n||0),{width:Math.max(s-o-n[1]-n[3],0),height:Math.max(l-a-n[0]-n[2],0)}}function Bc(t,e,n){n=bc(n||0);var i=e.width,r=e.height,o=Pi(t.left,i),a=Pi(t.top,r),s=Pi(t.right,i),l=Pi(t.bottom,r),u=Pi(t.width,i),c=Pi(t.height,r),h=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-d-o),isNaN(c)&&(c=r-l-h-a),null!=p&&(isNaN(u)&&isNaN(c)&&(p>i/r?u=.8*i:c=.8*r),isNaN(u)&&(u=p*c),isNaN(c)&&(c=u/p)),isNaN(o)&&(o=i-s-u-d),isNaN(a)&&(a=r-l-c-h),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-d;break}switch(t.top||t.bottom){case"middle":case"center":a=r/2-c/2-n[0];break;case"bottom":a=r-c-h;break}o=o||0,a=a||0,isNaN(u)&&(u=i-d-o-(s||0)),isNaN(c)&&(c=r-h-a-(l||0));var f=new Wn(o+n[3],a+n[0],u,c);return f.margin=n,f}function Nc(t,e,n,i,r,o){var a,l=!r||!r.hv||r.hv[0],u=!r||!r.hv||r.hv[1],c=r&&r.boundingMode||"all";if(o=o||t,o.x=t.x,o.y=t.y,!l&&!u)return!1;if("raw"===c)a="group"===t.type?new Wn(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();a=a.clone(),a.applyTransform(h)}var d=Bc(s["i"]({width:a.width,height:a.height},e),n,i),p=l?d.x-a.x:0,f=u?d.y-a.y:0;return"raw"===c?(o.x=p,o.y=f):(o.x+=p,o.y+=f),o===t&&t.markRedraw(),!0}function Fc(t,e){return null!=t[Dc[e][0]]||null!=t[Dc[e][1]]&&null!=t[Dc[e][2]]}function zc(t){var e=t.layoutMode||t.constructor.layoutMode;return s["A"](e)?e:e?{type:e}:null}function Vc(t,e,n){var i=n&&n.ignoreSize;!s["t"](i)&&(i=[i,i]);var r=a(Dc[0],0),o=a(Dc[1],1);function a(n,r){var o={},a=0,s={},c=0,h=2;if(Pc(n,(function(e){s[e]=t[e]})),Pc(n,(function(t){l(e,t)&&(o[t]=s[t]=e[t]),u(o,t)&&a++,u(s,t)&&c++})),i[r])return u(e,n[1])?s[n[2]]=null:u(e,n[2])&&(s[n[1]]=null),s;if(c!==h&&a){if(a>=h)return o;for(var d=0;d<n.length;d++){var p=n[d];if(!l(o,p)&&l(t,p)){o[p]=t[p];break}}return o}return s}function l(t,e){return t.hasOwnProperty(e)}function u(t,e){return null!=t[e]&&"auto"!==t[e]}function c(t,e,n){Pc(t,(function(t){e[t]=n[t]}))}c(Dc[0],t,r),c(Dc[1],t,o)}function qc(t){return $c({},t)}function $c(t,e){return e&&t&&Pc(Ec,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}var Hc=kr(),Gc=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=Su("ec_cpt_model"),r}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=zc(this),i=n?qc(t):{},r=e.getTheme();s["I"](t,r.get(this.mainType)),s["I"](t,this.getDefaultOption()),n&&Vc(t,i,n)},e.prototype.mergeOption=function(t,e){s["I"](this.option,t,!0);var n=zc(this);n&&Vc(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!Vr(t))return t.defaultOption;var e=Hc(this);if(!e.defaultOption){var n=[],i=t;while(i){var r=i.prototype.defaultOption;r&&n.push(r),i=i.superClass}for(var o={},a=n.length-1;a>=0;a--)o=s["I"](o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return Pr(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(xu);function Wc(t){var e=[];return s["k"](Gc.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=s["H"](e,(function(t){return Fr(t).main})),"dataset"!==t&&s["r"](e,"dataset")<=0&&e.unshift("dataset"),e}Hr(Gc,xu),Xr(Gc),Cu(Gc),ku(Gc,Wc);var Uc=Gc,Yc="";"undefined"!==typeof navigator&&(Yc=navigator.platform||"");var Xc="rgba(0, 0, 0, 0.2)",Kc={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Xc,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Xc,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Xc,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Xc,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Xc,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Xc,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Yc.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Zc=Object(s["f"])(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Qc="original",Jc="arrayRows",th="objectRows",eh="keyedColumns",nh="typedArray",ih="unknown",rh="column",oh="row",ah={Must:1,Might:2,Not:3},sh=kr();function lh(t){sh(t).datasetMap=Object(s["f"])()}function uh(t,e,n){var i={},r=hh(e);if(!r||!t)return i;var o,a,l=[],u=[],c=e.ecModel,h=sh(c).datasetMap,d=r.uid+"_"+n.seriesLayoutBy;t=t.slice(),Object(s["k"])(t,(function(e,n){var r=Object(s["A"])(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=g(r)),i[r.name]=[]}));var p=h.get(d)||h.set(d,{categoryWayDim:a,valueWayDim:0});function f(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function g(t){var e=t.dimsDef;return e?e.length:1}return Object(s["k"])(t,(function(t,e){var n=t.name,r=g(t);if(null==o){var a=p.valueWayDim;f(i[n],a,r),f(u,a,r),p.valueWayDim+=r}else if(o===e)f(i[n],0,r),f(l,0,r);else{a=p.categoryWayDim;f(i[n],a,r),f(u,a,r),p.categoryWayDim+=r}})),l.length&&(i.itemName=l),u.length&&(i.seriesName=u),i}function ch(t,e,n){var i={},r=hh(t);if(!r)return i;var o,a=e.sourceFormat,l=e.dimensionsDefine;a!==th&&a!==eh||Object(s["k"])(l,(function(t,e){"name"===(Object(s["A"])(t)?t.name:t)&&(o=e)}));var u=function(){for(var t={},i={},r=[],s=0,u=Math.min(5,n);s<u;s++){var c=fh(e.data,a,e.seriesLayoutBy,l,e.startIndex,s);r.push(c);var h=c===ah.Not;if(h&&null==t.v&&s!==o&&(t.v=s),(null==t.n||t.n===t.v||!h&&r[t.n]===ah.Not)&&(t.n=s),d(t)&&r[t.n]!==ah.Not)return t;h||(c===ah.Might&&null==i.v&&s!==o&&(i.v=s),null!=i.n&&i.n!==i.v||(i.n=s))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(i)?i:null}();if(u){i.value=[u.v];var c=null!=o?o:u.n;i.itemName=[c],i.seriesName=[c]}return i}function hh(t){var e=t.get("data",!0);if(!e)return Pr(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},Ar).models[0]}function dh(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?Pr(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},Ar).models:[]}function ph(t,e){return fh(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function fh(t,e,n,i,r,o){var a,l,u,c=5;if(Object(s["E"])(t))return ah.Not;if(i){var h=i[o];Object(s["A"])(h)?(l=h.name,u=h.type):Object(s["C"])(h)&&(l=h)}if(null!=u)return"ordinal"===u?ah.Must:ah.Not;if(e===Jc){var d=t;if(n===oh){for(var p=d[o],f=0;f<(p||[]).length&&f<c;f++)if(null!=(a=x(p[r+f])))return a}else for(f=0;f<d.length&&f<c;f++){var g=d[r+f];if(g&&null!=(a=x(g[o])))return a}}else if(e===th){var m=t;if(!l)return ah.Not;for(f=0;f<m.length&&f<c;f++){var v=m[f];if(v&&null!=(a=x(v[l])))return a}}else if(e===eh){var y=t;if(!l)return ah.Not;p=y[l];if(!p||Object(s["E"])(p))return ah.Not;for(f=0;f<p.length&&f<c;f++)if(null!=(a=x(p[f])))return a}else if(e===Qc){var b=t;for(f=0;f<b.length&&f<c;f++){v=b[f];var _=ar(v);if(!Object(s["t"])(_))return ah.Not;if(null!=(a=x(_[o])))return a}}function x(t){var e=Object(s["C"])(t);return null!=t&&isFinite(t)&&""!==t?e?ah.Might:ah.Not:e&&"-"!==t?ah.Must:void 0}return ah.Not}var gh=Object(s["f"])();function mh(t,e){Object(s["b"])(null==gh.get(t)&&e),gh.set(t,e)}function vh(t,e,n){var i=gh.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}var yh=kr(),bh=kr(),_h=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var i=ir(this.get("color",!0)),r=this.get("colorLayer",!0);return Sh(this,yh,i,r,t,e,n)},t.prototype.clearColorPalette=function(){Ch(this,yh)},t}();function xh(t,e,n,i){var r=ir(t.get(["aria","decal","decals"]));return Sh(t,bh,r,null,e,n,i)}function wh(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}function Sh(t,e,n,i,r,o,a){o=o||t;var s=e(o),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var c=null!=a&&i?wh(i,a):n;if(c=c||n,c&&c.length){var h=c[l];return r&&(u[r]=h),s.paletteIdx=(l+1)%c.length,h}}function Ch(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var kh,Mh,Oh;"undefined"!==typeof console&&console.warn&&console.log;function Th(t){0}function Ah(t){throw new Error(t)}var Ih="\0_ec_inner",Ph=1;var Eh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new xu(i),this._locale=new xu(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=Bh(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Bh(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Oh(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&Object(s["k"])(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=Object(s["f"])(),l=e&&e.replaceMergeMainTypeMap;function u(e){var o=vh(this,e,ir(t[e])),a=i.get(e),u=a?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=lr(a,o,u);xr(c,e,Uc),n[e]=null,i.set(e,null),r.set(e,0);var h,d=[],p=[],f=0;Object(s["k"])(c,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=Uc.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return void 0;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var l=Object(s["m"])({componentIndex:n},t.keyInfo);i=new a(r,this,this,l),Object(s["m"])(i,l),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(d.push(i.option),p.push(i),f++):(d.push(void 0),p.push(void 0))}),this),n[e]=d,i.set(e,p),r.set(e,f),"series"===e&&kh(this)}lh(this),Object(s["k"])(t,(function(t,e){null!=t&&(Uc.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?Object(s["d"])(t):Object(s["I"])(n[e],t,!0))})),l&&l.each((function(t,e){Uc.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),Uc.topologicalTravel(o,Uc.getAllClassMainTypes(),u,this),this._seriesIndices||kh(this)},e.prototype.getOption=function(){var t=Object(s["d"])(this.option);return Object(s["k"])(t,(function(e,n){if(Uc.hasClass(n)){for(var i=ir(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!br(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[Ih],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(e);return a&&a.length?(null!=i?(n=[],Object(s["k"])(ir(i),(function(t){a[t]&&n.push(a[t])}))):n=null!=r?jh("id",r,a):null!=o?jh("name",o,a):Object(s["n"])(a,(function(t){return!!t})),Rh(n,t)):[]},e.prototype.findComponents=function(t){var e=t.query,n=t.mainType,i=o(e),r=i?this.queryComponents(i):Object(s["n"])(this._componentsMap.get(n),(function(t){return!!t}));return a(Rh(r,t));function o(t){var e=n+"Index",i=n+"Id",r=n+"Name";return!t||null==t[e]&&null==t[i]&&null==t[r]?null:{mainType:n,index:t[e],id:t[i],name:t[r]}}function a(e){return t.filter?Object(s["n"])(e,t.filter):e}},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if(Object(s["w"])(t)){var r=e,o=t;i.each((function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&o.call(r,e,i,i.componentIndex)}}))}else for(var a=Object(s["C"])(t)?i.get(t):Object(s["A"])(t)?this.findComponents(t):null,l=0;a&&l<a.length;l++){var u=a[l];u&&e.call(n,u,u.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=vr(t,null);return Object(s["n"])(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return Object(s["n"])(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return Object(s["n"])(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){Mh(this),Object(s["k"])(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},e.prototype.eachRawSeries=function(t,e){Object(s["k"])(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){Mh(this),Object(s["k"])(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return Object(s["k"])(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return Mh(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){Mh(this);var n=[];Object(s["k"])(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)}),this),this._seriesIndices=n,this._seriesIndicesMap=Object(s["f"])(n)},e.prototype.restoreData=function(t){kh(this);var e=this._componentsMap,n=[];e.each((function(t,e){Uc.hasClass(e)&&n.push(e)})),Uc.topologicalTravel(n,Uc.getAllClassMainTypes(),(function(n){Object(s["k"])(e.get(n),(function(e){!e||"series"===n&&Dh(e,t)||e.restoreData()}))}))},e.internalField=function(){kh=function(t){var e=t._seriesIndices=[];Object(s["k"])(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=Object(s["f"])(e)},Mh=function(t){0},Oh=function(t,e){t.option={},t.option[Ih]=Ph,t._componentsMap=Object(s["f"])({series:[]}),t._componentsCount=Object(s["f"])();var n=e.aria;Object(s["A"])(n)&&null==n.enabled&&(n.enabled=!0),Lh(e,t._theme.option),Object(s["I"])(e,Kc,!1),t._mergeOption(e,null)}}(),e}(xu);function Dh(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}function Lh(t,e){var n=t.color&&!t.colorLayer;Object(s["k"])(e,(function(e,i){"colorLayer"===i&&n||Uc.hasClass(i)||("object"===typeof e?t[i]=t[i]?Object(s["I"])(t[i],e,!1):Object(s["d"])(e):null==t[i]&&(t[i]=e))}))}function jh(t,e,n){if(Object(s["t"])(e)){var i=Object(s["f"])();return Object(s["k"])(e,(function(t){if(null!=t){var e=vr(t,null);null!=e&&i.set(t,!0)}})),Object(s["n"])(n,(function(e){return e&&i.get(e[t])}))}var r=vr(e,null);return Object(s["n"])(n,(function(e){return e&&null!=r&&e[t]===r}))}function Rh(t,e){return e.hasOwnProperty("subType")?Object(s["n"])(t,(function(t){return t&&t.subType===e.subType})):t}function Bh(t){var e=Object(s["f"])();return t&&Object(s["k"])(ir(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}Object(s["K"])(Eh,_h);var Nh=Eh,Fh=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],zh=function(){function t(t){s["k"](Fh,(function(e){this[e]=s["c"](t[e],t)}),this)}return t}(),Vh=zh,qh={},$h=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];s["k"](qh,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){s["k"](this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){qh[t]=e},t.get=function(t){return qh[t]},t}(),Hh=$h,Gh=/^(min|max)?(.+)$/,Wh=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(Object(s["k"])(ir(t.series),(function(t){t&&t.data&&Object(s["E"])(t.data)&&Object(s["R"])(t.data)})),Object(s["k"])(ir(t.dataset),(function(t){t&&t.source&&Object(s["E"])(t.source)&&Object(s["R"])(t.source)}))),t=Object(s["d"])(t);var i=this._optionBackup,r=Uh(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],Object(s["d"])(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=Object(s["d"])(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,o=[],a=[];if(!i.length&&!r)return a;for(var l=0,u=i.length;l<u;l++)Yh(i[l].query,e,n)&&o.push(l);return!o.length&&r&&(o=[-1]),o.length&&!Kh(o,this._currentMediaIndices)&&(a=Object(s["H"])(o,(function(t){return Object(s["d"])(-1===t?r.option:i[t].option)}))),this._currentMediaIndices=o,a},t}();function Uh(t,e,n){var i,r,o=[],a=t.baseOption,l=t.timeline,u=t.options,c=t.media,h=!!t.media,d=!!(u||l||a&&a.timeline);function p(t){Object(s["k"])(e,(function(e){e(t,n)}))}return a?(r=a,r.timeline||(r.timeline=l)):((d||h)&&(t.options=t.media=null),r=t),h&&Object(s["t"])(c)&&Object(s["k"])(c,(function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))})),p(r),Object(s["k"])(u,(function(t){return p(t)})),Object(s["k"])(o,(function(t){return p(t.option)})),{baseOption:r,timelineOptions:u||[],mediaDefault:i,mediaList:o}}function Yh(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return Object(s["k"])(t,(function(t,e){var n=e.match(Gh);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();Xh(i[a],t,o)||(r=!1)}})),r}function Xh(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function Kh(t,e){return t.join(",")===e.join(",")}var Zh=Wh,Qh=s["k"],Jh=s["A"],td=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function ed(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=td.length;n<i;n++){var r=td[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?s["I"](t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?s["I"](t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function nd(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,s["i"](t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function id(t){nd(t,"itemStyle"),nd(t,"lineStyle"),nd(t,"areaStyle"),nd(t,"label"),nd(t,"labelLine"),nd(t,"upperLabel"),nd(t,"edgeLabel")}function rd(t,e){var n=Jh(t)&&t[e],i=Jh(n)&&n.textStyle;if(i){0;for(var r=0,o=or.length;r<o;r++){var a=or[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}}function od(t){t&&(id(t),rd(t,"label"),t.emphasis&&rd(t.emphasis,"label"))}function ad(t){if(Jh(t)){ed(t),id(t),rd(t,"label"),rd(t,"upperLabel"),rd(t,"edgeLabel"),t.emphasis&&(rd(t.emphasis,"label"),rd(t.emphasis,"upperLabel"),rd(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(ed(e),od(e));var n=t.markLine;n&&(ed(n),od(n));var i=t.markArea;i&&od(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!s["E"](o))for(var a=0;a<o.length;a++)od(o[a]);s["k"](t.categories,(function(t){id(t)}))}if(r&&!s["E"](r))for(a=0;a<r.length;a++)od(r[a]);if(e=t.markPoint,e&&e.data){var l=e.data;for(a=0;a<l.length;a++)od(l[a])}if(n=t.markLine,n&&n.data){var u=n.data;for(a=0;a<u.length;a++)s["t"](u[a])?(od(u[a][0]),od(u[a][1])):od(u[a])}"gauge"===t.type?(rd(t,"axisLabel"),rd(t,"title"),rd(t,"detail")):"treemap"===t.type?(nd(t.breadcrumb,"itemStyle"),s["k"](t.levels,(function(t){id(t)}))):"tree"===t.type&&id(t.leaves)}}function sd(t){return s["t"](t)?t:t?[t]:[]}function ld(t){return(s["t"](t)?t[0]:t)||{}}function ud(t,e){Qh(sd(t.series),(function(t){Jh(t)&&ad(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Qh(n,(function(e){Qh(sd(t[e]),(function(t){t&&(rd(t,"axisLabel"),rd(t.axisPointer,"label"))}))})),Qh(sd(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;rd(e,"axisLabel"),rd(e&&e.axisPointer,"label")})),Qh(sd(t.calendar),(function(t){nd(t,"itemStyle"),rd(t,"dayLabel"),rd(t,"monthLabel"),rd(t,"yearLabel")})),Qh(sd(t.radar),(function(t){rd(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),Qh(sd(t.geo),(function(t){Jh(t)&&(od(t),Qh(sd(t.regions),(function(t){od(t)})))})),Qh(sd(t.timeline),(function(t){od(t),nd(t,"label"),nd(t,"itemStyle"),nd(t,"controlStyle",!0);var e=t.data;s["t"](e)&&s["k"](e,(function(t){s["A"](t)&&(nd(t,"label"),nd(t,"itemStyle"))}))})),Qh(sd(t.toolbox),(function(t){nd(t,"iconStyle"),Qh(t.feature,(function(t){nd(t,"iconStyle")}))})),rd(ld(t.axisPointer),"label"),rd(ld(t.tooltip).axisPointer,"label")}function cd(t,e){for(var n=e.split(","),i=t,r=0;r<n.length;r++)if(i=i&&i[n[r]],null==i)break;return i}function hd(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)r=o[s],null==a[r]&&(a[r]={}),a=a[r];(i||null==a[o[s]])&&(a[o[s]]=n)}function dd(t){t&&Object(s["k"])(pd,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var pd=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],fd=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],gd=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function md(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<gd.length;n++){var i=gd[n][1],r=gd[n][0];null!=e[i]&&(e[r]=e[i])}}function vd(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function yd(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function bd(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}function _d(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&_d(t[n].children,e)}function xd(t,e){ud(t,e),t.series=ir(t.series),Object(s["k"])(t.series,(function(t){if(Object(s["A"])(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),vd(t.label);var n=t.data;if(n&&!Object(s["E"])(n))for(var i=0;i<n.length;i++)vd(n[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var r=cd(t,"pointer.color");null!=r&&hd(t,"itemStyle.color",r)}else if("bar"===e){md(t),md(t.backgroundStyle),md(t.emphasis);n=t.data;if(n&&!Object(s["E"])(n))for(i=0;i<n.length;i++)"object"===typeof n[i]&&(md(n[i]),md(n[i]&&n[i].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),yd(t),_d(t.data,yd)}else"graph"===e||"sankey"===e?bd(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&Object(s["i"])(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),dd(t)}})),t.dataRange&&(t.visualMap=t.dataRange),Object(s["k"])(fd,(function(e){var n=t[e];n&&(Object(s["t"])(n)||(n=[n]),Object(s["k"])(n,(function(t){dd(t)})))}))}function wd(t){var e=Object(s["f"])();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(Sd)}function Sd(t){Object(s["k"])(t,(function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var h,d,p=a.get(e.stackedDimension,c);if(isNaN(p))return r;s?d=a.getRawIndex(c):h=a.get(e.stackedByDimension,c);for(var f=NaN,g=n-1;g>=0;g--){var m=t[g];if(s||(d=m.data.rawIndexOf(m.stackedByDimension,h)),d>=0){var v=m.data.getByRawIndex(m.stackResultDimension,d);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&p>=0&&v>0||"samesign"===l&&p<=0&&v<0){p=Ni(p,v),f=v;break}}}return i[0]=p,i[1]=f,i}))}))}var Cd,kd,Md,Od,Td,Ad=function(){function t(t){this.data=t.data||(t.sourceFormat===eh?{}:[]),this.sourceFormat=t.sourceFormat||ih,this.seriesLayoutBy=t.seriesLayoutBy||rh,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&ph(this,n)===ah.Must&&(i.type="ordinal")}}return t}();function Id(t){return t instanceof Ad}function Pd(t,e,n){n=n||Ld(t);var i=e.seriesLayoutBy,r=jd(t,n,i,e.sourceHeader,e.dimensions),o=new Ad({data:t,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:Object(s["d"])(e)});return o}function Ed(t){return new Ad({data:t,sourceFormat:Object(s["E"])(t)?nh:Qc})}function Dd(t){return new Ad({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:Object(s["d"])(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function Ld(t){var e=ih;if(Object(s["E"])(t))e=nh;else if(Object(s["t"])(t)){0===t.length&&(e=Jc);for(var n=0,i=t.length;n<i;n++){var r=t[n];if(null!=r){if(Object(s["t"])(r)){e=Jc;break}if(Object(s["A"])(r)){e=th;break}}}}else if(Object(s["A"])(t))for(var o in t)if(Object(s["q"])(t,o)&&Object(s["u"])(t[o])){e=eh;break}return e}function jd(t,e,n,i,r){var o,a;if(!t)return{dimensionsDefine:Bd(r),startIndex:a,dimensionsDetectedCount:o};if(e===Jc){var l=t;"auto"===i||null==i?Nd((function(t){null!=t&&"-"!==t&&(Object(s["C"])(t)?null==a&&(a=1):a=0)}),n,l,10):a=Object(s["z"])(i)?i:i?1:0,r||1!==a||(r=[],Nd((function(t,e){r[e]=null!=t?t+"":""}),n,l,1/0)),o=r?r.length:n===oh?l.length:l[0]?l[0].length:null}else if(e===th)r||(r=Rd(t));else if(e===eh)r||(r=[],Object(s["k"])(t,(function(t,e){r.push(e)})));else if(e===Qc){var u=ar(t[0]);o=Object(s["t"])(u)&&u.length||1}return{startIndex:a,dimensionsDefine:Bd(r),dimensionsDetectedCount:o}}function Rd(t){var e,n=0;while(n<t.length&&!(e=t[n++]));if(e){var i=[];return Object(s["k"])(e,(function(t,e){i.push(e)})),i}}function Bd(t){if(t){var e=Object(s["f"])();return Object(s["H"])(t,(function(t,n){t=Object(s["A"])(t)?t:{name:t};var i={name:t.name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var r=e.get(i.name);return r?i.name+="-"+r.count++:e.set(i.name,{count:1}),i}))}}function Nd(t,e,n,i){if(e===oh)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var o=n[0]||[];for(r=0;r<o.length&&r<i;r++)t(o[r],r)}}function Fd(t){var e=t.sourceFormat;return e===th||e===eh}var zd=function(){function t(t,e){var n=Id(t)?t:Ed(t);this._source=n;var i=this._data=n.data;n.sourceFormat===nh&&(this._offset=0,this._dimSize=e,this._data=i),Td(this,i,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;Td=function(t,r,o){var a=o.sourceFormat,l=o.seriesLayoutBy,u=o.startIndex,c=o.dimensionsDefine,h=Od[Kd(a,l)];if(Object(s["m"])(t,h),a===nh)t.getItem=e,t.count=i,t.fillStorage=n;else{var d=$d(a,l);t.getItem=Object(s["c"])(d,null,r,u,c);var p=Wd(a,l);t.count=Object(s["c"])(p,null,r,u,c)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=n[a],d=0;d<c;d++){var p=r[d*o+a];h[t+d]=p,p<l&&(l=p),p>u&&(u=p)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}t={},t[Jc+"_"+rh]={pure:!0,appendData:r},t[Jc+"_"+oh]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[th]={pure:!0,appendData:r},t[eh]={pure:!0,appendData:function(t){var e=this._data;Object(s["k"])(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},t[Qc]={appendData:r},t[nh]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},Od=t}(),t}(),Vd=function(t,e,n,i){return t[i]},qd=(Cd={},Cd[Jc+"_"+rh]=function(t,e,n,i){return t[i+e]},Cd[Jc+"_"+oh]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[i]:null}return o},Cd[th]=Vd,Cd[eh]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=n[a].name;0;var l=t[s];o[a]=l?l[i]:null}return o},Cd[Qc]=Vd,Cd);function $d(t,e){var n=qd[Kd(t,e)];return n}var Hd=function(t,e,n){return t.length},Gd=(kd={},kd[Jc+"_"+rh]=function(t,e,n){return Math.max(0,t.length-e)},kd[Jc+"_"+oh]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},kd[th]=Hd,kd[eh]=function(t,e,n){var i=n[0].name;var r=t[i];return r?r.length:0},kd[Qc]=Hd,kd);function Wd(t,e){var n=Gd[Kd(t,e)];return n}var Ud=function(t,e,n){return t[e]},Yd=(Md={},Md[Jc]=Ud,Md[th]=function(t,e,n){return t[n]},Md[eh]=Ud,Md[Qc]=function(t,e,n){var i=ar(t);return i instanceof Array?i[e]:i},Md[nh]=Ud,Md);function Xd(t){var e=Yd[t];return e}function Kd(t,e){return t===Jc?t+"_"+e:t}function Zd(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return Xd(o)(i,a,s)}var l=i;return o===Qc&&(l=ar(i)),l}}}var Qd=/\{@(.+?)\}/g,Jd=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,d=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,i,r,o){e=e||"normal";var a=this.getData(n),l=this.getDataParams(t,n);if(o&&(l.value=o.interpolatedValue),null!=i&&s["t"](l.value)&&(l.value=l.value[i]),!r){var u=a.getItemModel(t);r=u.get("normal"===e?["label","formatter"]:[e,"label","formatter"])}if(s["w"](r))return l.status=e,l.dimensionIndex=i,r(l);if(s["C"](r)){var c=Mc(r,l);return c.replace(Qd,(function(e,n){var i=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(i-1)&&(r=+r.slice(1,i-1));var l=Zd(a,t,r);if(o&&s["t"](o.interpolatedValue)){var u=a.getDimensionIndex(r);u>=0&&(l=o.interpolatedValue[u])}return null!=l?l+"":""}))}},t.prototype.getRawValue=function(t,e){return Zd(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function tp(t){var e,n;return s["A"](t)?t.type&&(n=t):e=t,{text:e,frag:n}}function ep(t){return new np(t)}var np=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),l=this._modDataCount||0,u=h(t&&t.modBy),c=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===u&&l===c||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=u,this._modDataCount=c;var d=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,f=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!i&&(o||p<f)){var g=this._progress;if(Object(s["t"])(g))for(var m=0;m<g.length;m++)this._doProgress(g[m],p,f,u,c);else this._doProgress(g,p,f,u,c)}this._dueIndex=f;var v=null!=this._settedOutputEnd?this._settedOutputEnd:f;0,this._outputDueEnd=v}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){ip.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:ip.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&(e=this._reset(this.context),e&&e.progress&&(n=e.forceFirstProgress,e=e.progress),Object(s["t"])(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),ip=function(){var t,e,n,i,r,o={reset:function(l,u,c,h){e=l,t=u,n=c,i=h,r=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}();function rp(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||Object(s["z"])(t)||null==t||"-"===t||(t=+$i(t)),null==t||""===t?NaN:+t)}var op=Object(s["f"])({number:function(t){return parseFloat(t)},time:function(t){return+$i(t)},trim:function(t){return Object(s["C"])(t)?Object(s["T"])(t):t}});function ap(t){return op.get(t)}var sp={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},lp=function(){function t(t,e){if(!Object(s["z"])(e)){var n="";0,Ah(n)}this._opFn=sp[t],this._rvalFloat=Xi(e)}return t.prototype.evaluate=function(t){return Object(s["z"])(t)?this._opFn(t,this._rvalFloat):this._opFn(Xi(t),this._rvalFloat)},t}(),up=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=Object(s["z"])(t)?t:Xi(t),i=Object(s["z"])(e)?e:Xi(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=Object(s["C"])(t),l=Object(s["C"])(e);a&&(n=l?t:0),l&&(i=a?e:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},t}(),cp=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Xi(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=Xi(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function hp(t,e){return"eq"===t||"ne"===t?new cp("eq"===t,e):Object(s["q"])(sp,t)?new lp(t,e):null}var dp=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return rp(t,e)},t}();function pp(t,e){var n=new dp,i=t.data,r=n.sourceFormat=t.sourceFormat,o=t.startIndex,a="";t.seriesLayoutBy!==rh&&Ah(a);var l=[],u={},c=t.dimensionsDefine;if(c)Object(s["k"])(c,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};if(l.push(i),null!=n){var r="";Object(s["q"])(u,n)&&Ah(r),u[n]=i}}));else for(var h=0;h<t.dimensionsDetectedCount;h++)l.push({index:h});var d=$d(r,rh);e.__isBuiltIn&&(n.getRawDataItem=function(t){return d(i,o,l,t)},n.getRawData=Object(s["c"])(fp,null,t)),n.cloneRawData=Object(s["c"])(gp,null,t);var p=Wd(r,rh);n.count=Object(s["c"])(p,null,i,o,l);var f=Xd(r);n.retrieveValue=function(t,e){var n=d(i,o,l,t);return g(n,e)};var g=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=l[e];return n?f(t,e,n.name):void 0}};return n.getDimensionInfo=Object(s["c"])(mp,null,l,u),n.cloneAllDimensionInfo=Object(s["c"])(vp,null,l),n}function fp(t){var e=t.sourceFormat;if(!wp(e)){var n="";0,Ah(n)}return t.data}function gp(t){var e=t.sourceFormat,n=t.data;if(!wp(e)){var i="";0,Ah(i)}if(e===Jc){for(var r=[],o=0,a=n.length;o<a;o++)r.push(n[o].slice());return r}if(e===th){for(r=[],o=0,a=n.length;o<a;o++)r.push(Object(s["m"])({},n[o]));return r}}function mp(t,e,n){if(null!=n)return Object(s["z"])(n)||!isNaN(n)&&!Object(s["q"])(e,n)?t[n]:Object(s["q"])(e,n)?e[n]:void 0}function vp(t){return Object(s["d"])(t)}var yp=Object(s["f"])();function bp(t){t=Object(s["d"])(t);var e=t.type,n="";e||Ah(n);var i=e.split(":");2!==i.length&&Ah(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,yp.set(e,t)}function _p(t,e,n){var i=ir(t),r=i.length,o="";r||Ah(o);for(var a=0,s=r;a<s;a++){var l=i[a];e=xp(l,e,n,1===r?null:a),a!==s-1&&(e.length=Math.max(e.length,1))}return e}function xp(t,e,n,i){var r="";e.length||Ah(r),Object(s["A"])(t)||Ah(r);var o=t.type,a=yp.get(o);a||Ah(r);var l=Object(s["H"])(e,(function(t){return pp(t,a)})),u=ir(a.transform({upstream:l[0],upstreamList:l,config:Object(s["d"])(t.config)}));return Object(s["H"])(u,(function(t,n){var i="";Object(s["A"])(t)||Ah(i),t.data||Ah(i);var r,o=Ld(t.data);wp(o)||Ah(i);var a=e[0];if(a&&0===n&&!t.dimensions){var l=a.startIndex;l&&(t.data=a.data.slice(0,l).concat(t.data)),r={seriesLayoutBy:rh,sourceHeader:l,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:rh,sourceHeader:0,dimensions:t.dimensions};return Pd(t.data,r,null)}))}function wp(t){return t===Jc||t===th}var Sp,Cp="undefined",kp=typeof Uint32Array===Cp?Array:Uint32Array,Mp=typeof Uint16Array===Cp?Array:Uint16Array,Op=typeof Int32Array===Cp?Array:Int32Array,Tp=typeof Float64Array===Cp?Array:Float64Array,Ap={float:Tp,int:Op,ordinal:Array,number:Array,time:Tp};function Ip(t){return t>65535?kp:Mp}function Pp(){return[1/0,-1/0]}function Ep(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function Dp(t,e,n,i,r){var o=Ap[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}var Lp=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(s["f"])()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),r=this.defaultDimValueGetter=Sp[i.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[];Fd(i);this._dimensions=Object(s["H"])(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new Ap[e||"float"](this._rawCount),this._rawExtent[r]=Pp(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=Pp());for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){var e=this._dimensions[t],n=e.ordinalMeta;return n},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,r=i.length,o=this._rawExtent,a=this.count(),s=a+Math.max(t.length,e||0),l=0;l<r;l++){var u=i[l];Dp(n,l,u.type,s,!0)}for(var c=[],h=a;h<s;h++)for(var d=h-a,p=0;p<r;p++){u=i[p];var f=Sp.arrayRows.call(this,t[d]||c,u.property,d,p);n[p][h]=f;var g=o[p];f<g[0]&&(g[0]=f),f>g[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,l=this._rawExtent,u=Object(s["H"])(o,(function(t){return t.property})),c=0;c<a;c++){var h=o[c];l[c]||(l[c]=Pp()),Dp(r,c,h.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,r,l);else for(var d=[],p=t;p<e;p++){d=i.getItem(p,d);for(var f=0;f<a;f++){var g=r[f],m=this._dimValueGetter(d,u[f],p,f);g[p]=m;var v=l[f];m<v[0]&&(v[0]=m),m>v[1]&&(v[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;var i=0,r=this._count-1;while(i<=r){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks,r=i[t],o=[];if(!r)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,c=this.count();u<c;u++){var h=this.getRawIndex(u),d=e-r[h],p=Math.abs(d);p<=n&&((p<a||p===a&&d>=0&&s<0)&&(a=p,s=d,l=0),d===s&&(o[l++]=u))}return o.length=l,o},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{n=Ip(this._rawCount);t=new n(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=Ip(n._rawCount),o=new r(i),a=[],s=t.length,l=0,u=t[0],c=n._chunks,h=0;h<i;h++){var d=void 0,p=n.getRawIndex(h);if(0===s)d=e(h);else if(1===s){var f=c[u][p];d=e(f,h)}else{for(var g=0;g<s;g++)a[g]=c[t[g]][p];a[g]=h,d=e.apply(null,a)}d&&(o[l++]=p)}return l<i&&(n._indices=o),n._count=l,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=Object(s["F"])(t),r=i.length;if(!r)return this;var o=e.count(),a=Ip(e._rawCount),l=new a(o),u=0,c=i[0],h=t[c][0],d=t[c][1],p=e._chunks,f=!1;if(!e._indices){var g=0;if(1===r){for(var m=p[i[0]],v=0;v<n;v++){var y=m[v];(y>=h&&y<=d||isNaN(y))&&(l[u++]=g),g++}f=!0}else if(2===r){m=p[i[0]];var b=p[i[1]],_=t[i[1]][0],x=t[i[1]][1];for(v=0;v<n;v++){y=m[v];var w=b[v];(y>=h&&y<=d||isNaN(y))&&(w>=_&&w<=x||isNaN(w))&&(l[u++]=g),g++}f=!0}}if(!f)if(1===r)for(v=0;v<o;v++){var S=e.getRawIndex(v);y=p[i[0]][S];(y>=h&&y<=d||isNaN(y))&&(l[u++]=S)}else for(v=0;v<o;v++){for(var C=!0,k=(S=e.getRawIndex(v),0);k<r;k++){var M=i[k];y=p[M][S];(y<t[M][0]||y>t[M][1])&&(C=!1)}C&&(l[u++]=e.getRawIndex(v))}return u<o&&(e._indices=l),e._count=u,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=Pp();for(var c=0;c<a;c++){for(var h=t.getRawIndex(c),d=0;d<o;d++)s[d]=i[e[d]][h];s[o]=c;var p=n&&n.apply(null,s);if(null!=p){"object"!==typeof p&&(r[0]=p,p=r);for(u=0;u<p.length;u++){var f=e[u],g=p[u],m=l[f],v=i[f];v&&(v[h]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks,s=a[t],l=this.count(),u=0,c=Math.floor(1/e),h=this.getRawIndex(0),d=new(Ip(this._rawCount))(Math.min(2*(Math.ceil(l/c)+2),l));d[u++]=h;for(var p=1;p<l-1;p+=c){for(var f=Math.min(p+c,l-1),g=Math.min(p+2*c,l),m=(g+f)/2,v=0,y=f;y<g;y++){var b=this.getRawIndex(y),_=s[b];isNaN(_)||(v+=_)}v/=g-f;var x=p,w=Math.min(p+c,l),S=p-1,C=s[h];n=-1,r=x;var k=-1,M=0;for(y=x;y<w;y++){b=this.getRawIndex(y),_=s[b];isNaN(_)?(M++,k<0&&(k=b)):(i=Math.abs((S-m)*(_-C)-(S-y)*(v-C)),i>n&&(n=i,r=b))}M>0&&M<w-x&&(d[u++]=Math.min(k,r),r=Math.max(k,r)),d[u++]=r,h=r}return d[u++]=this.getRawIndex(l-1),o._count=u,o._indices=d,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=r._rawExtent[t]=Pp(),h=new(Ip(this._rawCount))(Math.ceil(u/s)),d=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,a.length=s);for(var f=0;f<s;f++){var g=this.getRawIndex(p+f);a[f]=l[g]}var m=n(a),v=this.getRawIndex(Math.min(p+i(a,m)||0,u-1));l[v]=m,m<c[0]&&(c[0]=m),m>c[1]&&(c[1]=m),h[d++]=v}return r._count=d,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=Pp();if(!e)return n;var i,r=this.count(),o=!this._indices;if(o)return this._rawExtent[t].slice();if(i=this._extent[t],i)return i.slice();i=n;for(var a=i[0],s=i[1],l=0;l<r;l++){var u=this.getRawIndex(l),c=e[u];c<a&&(a=c),c>s&&(s=c)}return i=[a,s],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,r=this._chunks,o=e&&Object(s["N"])(e,(function(t,e){return t[e]=!0,t}),{});if(o)for(var a=0;a<r.length;a++)i._chunks[a]=o[a]?Ep(r[a]):r[a];else i._chunks=r;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Object(s["d"])(this._extent),t._rawExtent=Object(s["d"])(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return rp(t[i],this._dimensions[i])}Sp={arrayRows:t,objectRows:function(t,e,n,i){return rp(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return rp(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),jp=Lp,Rp=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Np(n)){var o=n,a=void 0,l=void 0,u=void 0;if(r){var c=i[0];c.prepareSource(),u=c.getSource(),a=u.data,l=u.sourceFormat,e=[c._getVersionSign()]}else a=o.get("data",!0),l=Object(s["E"])(a)?nh:Qc,e=[];var h=this._getSourceMetaRawOption()||{},d=u&&u.metaRawOption||{},p=Object(s["P"])(h.seriesLayoutBy,d.seriesLayoutBy)||null,f=Object(s["P"])(h.sourceHeader,d.sourceHeader),g=Object(s["P"])(h.dimensions,d.dimensions),m=p!==d.seriesLayoutBy||!!f!==!!d.sourceHeader||g;t=m?[Pd(a,{seriesLayoutBy:p,sourceHeader:f,dimensions:g},l)]:[]}else{var v=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else{var b=v.get("source",!0);t=[Pd(b,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){var o="";1!==t.length&&Fp(o)}var a=[],l=[];return Object(s["k"])(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||Fp(n),a.push(e),l.push(t._getVersionSign())})),i?e=_p(i,a,{datasetIndex:n.componentIndex}):null!=r&&(e=[Dd(a[0])]),{sourceList:e,upstreamSignList:l}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=0,r=this._storeList,o=r[i];o||(o=r[i]={});var a=o[n];if(!a){var s=this._getUpstreamSourceManagers()[0];Np(this._sourceHost)&&s?a=s._innerGetDataStore(t,e,n):(a=new jp,a.initData(new zd(e,t.length),t)),o[n]=a}return a},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(Np(t)){var e=hh(t);return e?[e.getSourceManager()]:[]}return Object(s["H"])(dh(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(Np(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function Bp(t){var e=t.option.transform;e&&Object(s["R"])(t.option.transform)}function Np(t){return"series"===t.mainType}function Fp(t){throw new Error(t)}var zp="line-height:1";function Vp(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,r=t.fontWeight||"400",o=t.color||"#464646",a=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+wc(i+"")+"px;color:"+wc(n)+";font-weight:"+wc(r+""),valueStyle:"font-size:"+wc(a+"")+"px;color:"+wc(o)+";font-weight:"+wc(s+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:r},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var qp=[0,10,20,30],$p=["","\n","\n\n","\n\n\n"];function Hp(t,e){return e.type=t,e}function Gp(t){return"section"===t.type}function Wp(t){return Gp(t)?Yp:Xp}function Up(t){if(Gp(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return Object(s["k"])(t.blocks,(function(t){var n=Up(t);n>=e&&(e=n+ +(i&&(!n||Gp(t)&&!t.noHeader)))})),e}return 0}function Yp(t,e,n,i){var r=e.noHeader,o=Zp(Up(e)),a=[],l=e.blocks||[];Object(s["b"])(!l||Object(s["t"])(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(Object(s["q"])(c,u)){var h=new up(c[u],null);l.sort((function(t,e){return h.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}Object(s["k"])(l,(function(n,r){var l=e.valueFormatter,u=Wp(n)(l?Object(s["m"])(Object(s["m"])({},t),{valueFormatter:l}):t,n,r>0?o.html:0,i);null!=u&&a.push(u)}));var d="richText"===t.renderMode?a.join(o.richText):Qp(a.join(""),r?n:o.html);if(r)return d;var p=Sc(e.header,"ordinal",t.useUTC),f=Vp(i,t.renderMode).nameStyle;return"richText"===t.renderMode?ef(t,p,f)+o.richText+d:Qp('<div style="'+f+";"+zp+';">'+wc(p)+"</div>"+d,n)}function Xp(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,l=!e.markerType,u=e.name,c=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return t=Object(s["t"])(t)?t:[t],Object(s["H"])(t,(function(t,e){return Sc(t,Object(s["t"])(f)?f[e]:f,c)}))};if(!o||!a){var d=l?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":Sc(u,"ordinal",c),f=e.valueType,g=a?[]:h(e.value),m=!l||!o,v=!l&&o,y=Vp(i,r),b=y.nameStyle,_=y.valueStyle;return"richText"===r?(l?"":d)+(o?"":ef(t,p,b))+(a?"":nf(t,g,m,v,_)):Qp((l?"":d)+(o?"":Jp(p,!l,b))+(a?"":tf(g,m,v,_)),n)}}function Kp(t,e,n,i,r,o){if(t){var a=Wp(t),s={useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter};return a(s,t,0,o)}}function Zp(t){return{html:qp[t],richText:$p[t]}}function Qp(t,e){var n='<div style="clear:both"></div>',i="margin: "+e+"px 0 0";return'<div style="'+i+";"+zp+';">'+t+n+"</div>"}function Jp(t,e,n){var i=e?"margin-left:2px":"";return'<span style="'+n+";"+i+'">'+wc(t)+"</span>"}function tf(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=Object(s["t"])(t)?t:[t],'<span style="'+o+";"+i+'">'+Object(s["H"])(t,(function(t){return wc(t)})).join(" ")+"</span>"}function ef(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function nf(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Object(s["t"])(e)?e.join(" "):e,o)}function rf(t,e){var n=t.getData().getItemVisual(e,"style"),i=n[t.visualDrawType];return Ac(i)}function of(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var af=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Zi()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=Tc({color:e,type:t,renderMode:n,markerId:i});return Object(s["C"])(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Object(s["t"])(e)?Object(s["k"])(e,(function(t){return Object(s["m"])(n,t)})):Object(s["m"])(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function sf(t){var e,n,i,r,o=t.series,a=t.dataIndex,l=t.multipleSeries,u=o.getData(),c=u.mapDimensionsAll("defaultedTooltip"),h=c.length,d=o.getRawValue(a),p=Object(s["t"])(d),f=rf(o,a);if(h>1||p&&!h){var g=lf(d,o,a,c,f);e=g.inlineValues,n=g.inlineValueTypes,i=g.blocks,r=g.inlineValues[0]}else if(h){var m=u.getDimensionInfo(c[0]);r=e=Zd(u,a,c[0]),n=m.type}else r=e=p?d[0]:d;var v=yr(o),y=v&&o.name||"",b=u.getName(a),_=l?y:b;return Hp("section",{header:y,noHeader:l||!v,sortParam:r,blocks:[Hp("nameValue",{markerType:"item",markerColor:f,name:_,noName:!Object(s["T"])(_),value:e,valueType:n})].concat(i||[])})}function lf(t,e,n,i,r){var o=e.getData(),a=Object(s["N"])(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),l=[],u=[],c=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?c.push(Hp("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(l.push(t),u.push(n.type)))}return i.length?Object(s["k"])(i,(function(t){h(Zd(o,n,t),t)})):Object(s["k"])(t,h),{inlineValues:l,inlineValueTypes:u,blocks:c}}var uf=kr();function cf(t,e){return t.getName(e)||t.getId(e)}var hf="__universalTransitionEnabled",df=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return o(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=ep({count:gf,reset:mf}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=uf(this).sourceManager=new Rp(this);i.prepareSource();var r=this.getInitialData(t,n);yf(r,this),this.dataTask.context.data=r,uf(this).dataBeforeProcessed=r,pf(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=zc(this),i=n?qc(t):{},r=this.subType;Uc.hasClass(r)&&(r+="Series"),s["I"](t,e.getTheme().get(this.subType)),s["I"](t,this.getDefaultOption()),rr(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Vc(t,i,n)},e.prototype.mergeOption=function(t,e){t=s["I"](this.option,t,!0),this.fillDataTextStyle(t.data);var n=zc(this);n&&Vc(this.option,t,n);var i=uf(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);yf(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,uf(this).dataBeforeProcessed=r,pf(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!s["E"](t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&rr(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){var e=this.getRawData();e.appendData(t.data)},e.prototype.getData=function(t){var e=_f(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return uf(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=_f(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}uf(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return s["f"](t)},e.prototype.getSourceManager=function(){return uf(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return uf(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var t=this.get("colorBy");return t||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return sf({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(a["a"].node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=_h.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=t[o],s=cf(r,a);n[s]=!1,this._selectedDataIndicesMap[s]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=s["F"](t),n=[],i=0;i<e.length;i++){var r=t[e[i]];r>=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[cf(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[hf])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){s["A"](r.selectedMap)||(r.selectedMap={});for(var l=r.selectedMap,u=0;u<a;u++){var c=e[u],h=cf(t,c);l[h]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(c)}}else if("single"===o||!0===o){var d=e[a-1];h=cf(t,d);r.selectedMap=(n={},n[h]=!0,n),this._selectedDataIndicesMap=(i={},i[h]=t.getRawIndex(d),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Uc.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(Uc);function pf(t){var e=t.name;yr(t)||(t.name=ff(t)||e)}function ff(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return s["k"](n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}function gf(t){return t.model.getRawData().count()}function mf(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),vf}function vf(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function yf(t,e){s["k"](s["e"](t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,s["h"](bf,e))}))}function bf(t,e){var n=_f(t);return n&&n.setOutputEnd((e||this).count()),e}function _f(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}s["K"](df,Jd),s["K"](df,_h),Hr(df,Uc);var xf=df,wf=function(){function t(){this.group=new bi,this.uid=Su("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();qr(wf),Xr(wf);var Sf=wf;function Cf(){var t=kr();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}var kf=ha.CMD,Mf=[[],[],[]],Of=Math.sqrt,Tf=Math.atan2;function Af(t,e){if(e){var n,i,r,o,a,s,l=t.data,u=t.len(),c=kf.M,h=kf.C,d=kf.L,p=kf.R,f=kf.A,g=kf.Q;for(r=0,o=0;r<u;){switch(n=l[r++],o=r,i=0,n){case c:i=1;break;case d:i=1;break;case h:i=3;break;case g:i=2;break;case f:var m=e[4],v=e[5],y=Of(e[0]*e[0]+e[1]*e[1]),b=Of(e[2]*e[2]+e[3]*e[3]),_=Tf(-e[1]/b,e[0]/y);l[r]*=y,l[r++]+=m,l[r]*=b,l[r++]+=v,l[r++]*=y,l[r++]*=b,l[r++]+=_,l[r++]+=_,r+=2,o=r;break;case p:s[0]=l[r++],s[1]=l[r++],M(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],M(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<i;a++){var x=Mf[a];x[0]=l[r++],x[1]=l[r++],M(x,x,e),l[o++]=x[0],l[o++]=x[1]}}t.increaseVersion()}}var If=Math.sqrt,Pf=Math.sin,Ef=Math.cos,Df=Math.PI;function Lf(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function jf(t,e){return(t[0]*e[0]+t[1]*e[1])/(Lf(t)*Lf(e))}function Rf(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(jf(t,e))}function Bf(t,e,n,i,r,o,a,s,l,u,c){var h=l*(Df/180),d=Ef(h)*(t-n)/2+Pf(h)*(e-i)/2,p=-1*Pf(h)*(t-n)/2+Ef(h)*(e-i)/2,f=d*d/(a*a)+p*p/(s*s);f>1&&(a*=If(f),s*=If(f));var g=(r===o?-1:1)*If((a*a*(s*s)-a*a*(p*p)-s*s*(d*d))/(a*a*(p*p)+s*s*(d*d)))||0,m=g*a*p/s,v=g*-s*d/a,y=(t+n)/2+Ef(h)*m-Pf(h)*v,b=(e+i)/2+Pf(h)*m+Ef(h)*v,_=Rf([1,0],[(d-m)/a,(p-v)/s]),x=[(d-m)/a,(p-v)/s],w=[(-1*d-m)/a,(-1*p-v)/s],S=Rf(x,w);if(jf(x,w)<=-1&&(S=Df),jf(x,w)>=1&&(S=0),S<0){var C=Math.round(S/Df*1e6)/1e6;S=2*Df+C%2*Df}c.addData(u,y,b,a,s,_,S,h,o)}var Nf=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Ff=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function zf(t){var e=new ha;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=ha.CMD,l=t.match(Nf);if(!l)return e;for(var u=0;u<l.length;u++){for(var c=l[u],h=c.charAt(0),d=void 0,p=c.match(Ff)||[],f=p.length,g=0;g<f;g++)p[g]=parseFloat(p[g]);var m=0;while(m<f){var v=void 0,y=void 0,b=void 0,_=void 0,x=void 0,w=void 0,S=void 0,C=i,k=r,M=void 0,O=void 0;switch(h){case"l":i+=p[m++],r+=p[m++],d=s.L,e.addData(d,i,r);break;case"L":i=p[m++],r=p[m++],d=s.L,e.addData(d,i,r);break;case"m":i+=p[m++],r+=p[m++],d=s.M,e.addData(d,i,r),o=i,a=r,h="l";break;case"M":i=p[m++],r=p[m++],d=s.M,e.addData(d,i,r),o=i,a=r,h="L";break;case"h":i+=p[m++],d=s.L,e.addData(d,i,r);break;case"H":i=p[m++],d=s.L,e.addData(d,i,r);break;case"v":r+=p[m++],d=s.L,e.addData(d,i,r);break;case"V":r=p[m++],d=s.L,e.addData(d,i,r);break;case"C":d=s.C,e.addData(d,p[m++],p[m++],p[m++],p[m++],p[m++],p[m++]),i=p[m-2],r=p[m-1];break;case"c":d=s.C,e.addData(d,p[m++]+i,p[m++]+r,p[m++]+i,p[m++]+r,p[m++]+i,p[m++]+r),i+=p[m-2],r+=p[m-1];break;case"S":v=i,y=r,M=e.len(),O=e.data,n===s.C&&(v+=i-O[M-4],y+=r-O[M-3]),d=s.C,C=p[m++],k=p[m++],i=p[m++],r=p[m++],e.addData(d,v,y,C,k,i,r);break;case"s":v=i,y=r,M=e.len(),O=e.data,n===s.C&&(v+=i-O[M-4],y+=r-O[M-3]),d=s.C,C=i+p[m++],k=r+p[m++],i+=p[m++],r+=p[m++],e.addData(d,v,y,C,k,i,r);break;case"Q":C=p[m++],k=p[m++],i=p[m++],r=p[m++],d=s.Q,e.addData(d,C,k,i,r);break;case"q":C=p[m++]+i,k=p[m++]+r,i+=p[m++],r+=p[m++],d=s.Q,e.addData(d,C,k,i,r);break;case"T":v=i,y=r,M=e.len(),O=e.data,n===s.Q&&(v+=i-O[M-4],y+=r-O[M-3]),i=p[m++],r=p[m++],d=s.Q,e.addData(d,v,y,i,r);break;case"t":v=i,y=r,M=e.len(),O=e.data,n===s.Q&&(v+=i-O[M-4],y+=r-O[M-3]),i+=p[m++],r+=p[m++],d=s.Q,e.addData(d,v,y,i,r);break;case"A":b=p[m++],_=p[m++],x=p[m++],w=p[m++],S=p[m++],C=i,k=r,i=p[m++],r=p[m++],d=s.A,Bf(C,k,i,r,w,S,b,_,x,d,e);break;case"a":b=p[m++],_=p[m++],x=p[m++],w=p[m++],S=p[m++],C=i,k=r,i+=p[m++],r+=p[m++],d=s.A,Bf(C,k,i,r,w,S,b,_,x,d,e);break}}"z"!==h&&"Z"!==h||(d=s.Z,e.addData(d),i=o,r=a),n=d}return e.toStatic(),e}var Vf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.applyTransform=function(t){},e}(Ba);function qf(t){return null!=t.setData}function $f(t,e){var n=zf(t),i=Object(s["m"])({},e);return i.buildPath=function(t){if(qf(t)){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){Af(n,t),this.dirtyShape()},i}function Hf(t,e){return new Vf($f(t,e))}function Gf(t,e){var n=$f(t,e),i=function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return u(e,t),e}(Vf);return i}function Wf(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];n.push(o.getUpdatedPathProxy(!0))}var a=new Ba(e);return a.createPathProxy(),a.buildPath=function(t){if(qf(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a}function Uf(t,e){e=e||{};var n=new Ba;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?Af(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var Yf=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),Xf=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Yf},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(Ba);Xf.prototype.type="circle";var Kf=Xf,Zf=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),Qf=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Zf},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()},e}(Ba);Qf.prototype.type="ellipse";var Jf=Qf,tg=Math.PI,eg=2*tg,ng=Math.sin,ig=Math.cos,rg=Math.acos,og=Math.atan2,ag=Math.abs,sg=Math.sqrt,lg=Math.max,ug=Math.min,cg=1e-4;function hg(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,d=h*l-c*u;if(!(d*d<cg))return d=(c*(e-o)-h*(t-r))/d,[t+d*l,e+d*u]}function dg(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/sg(s*s+l*l),c=u*l,h=-u*s,d=t+c,p=e+h,f=n+c,g=i+h,m=(d+f)/2,v=(p+g)/2,y=f-d,b=g-p,_=y*y+b*b,x=r-o,w=d*g-f*p,S=(b<0?-1:1)*sg(lg(0,x*x*_-w*w)),C=(w*b-y*S)/_,k=(-w*y-b*S)/_,M=(w*b+y*S)/_,O=(-w*y+b*S)/_,T=C-m,A=k-v,I=M-m,P=O-v;return T*T+A*A>I*I+P*P&&(C=M,k=O),{cx:C,cy:k,x0:-c,y0:-h,x1:C*(r/x-1),y1:k*(r/x-1)}}function pg(t){var e;if(Object(s["t"])(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}function fg(t,e){var n,i=lg(e.r,0),r=lg(e.r0||0,0),o=i>0,a=r>0;if(o||a){if(o||(i=r,r=0),r>i){var s=i;i=r,r=s}var l=e.startAngle,u=e.endAngle;if(!isNaN(l)&&!isNaN(u)){var c=e.cx,h=e.cy,d=!!e.clockwise,p=ag(u-l),f=p>eg&&p%eg;if(f>cg&&(p=f),i>cg)if(p>eg-cg)t.moveTo(c+i*ig(l),h+i*ng(l)),t.arc(c,h,i,l,u,!d),r>cg&&(t.moveTo(c+r*ig(u),h+r*ng(u)),t.arc(c,h,r,u,l,d));else{var g=void 0,m=void 0,v=void 0,y=void 0,b=void 0,_=void 0,x=void 0,w=void 0,S=void 0,C=void 0,k=void 0,M=void 0,O=void 0,T=void 0,A=void 0,I=void 0,P=i*ig(l),E=i*ng(l),D=r*ig(u),L=r*ng(u),j=p>cg;if(j){var R=e.cornerRadius;R&&(n=pg(R),g=n[0],m=n[1],v=n[2],y=n[3]);var B=ag(i-r)/2;if(b=ug(B,v),_=ug(B,y),x=ug(B,g),w=ug(B,m),k=S=lg(b,_),M=C=lg(x,w),(S>cg||C>cg)&&(O=i*ig(u),T=i*ng(u),A=r*ig(l),I=r*ng(l),p<tg)){var N=hg(P,E,A,I,O,T,D,L);if(N){var F=P-N[0],z=E-N[1],V=O-N[0],q=T-N[1],$=1/ng(rg((F*V+z*q)/(sg(F*F+z*z)*sg(V*V+q*q)))/2),H=sg(N[0]*N[0]+N[1]*N[1]);k=ug(S,(i-H)/($+1)),M=ug(C,(r-H)/($-1))}}}if(j)if(k>cg){var G=ug(v,k),W=ug(y,k),U=dg(A,I,P,E,i,G,d),Y=dg(O,T,D,L,i,W,d);t.moveTo(c+U.cx+U.x0,h+U.cy+U.y0),k<S&&G===W?t.arc(c+U.cx,h+U.cy,k,og(U.y0,U.x0),og(Y.y0,Y.x0),!d):(G>0&&t.arc(c+U.cx,h+U.cy,G,og(U.y0,U.x0),og(U.y1,U.x1),!d),t.arc(c,h,i,og(U.cy+U.y1,U.cx+U.x1),og(Y.cy+Y.y1,Y.cx+Y.x1),!d),W>0&&t.arc(c+Y.cx,h+Y.cy,W,og(Y.y1,Y.x1),og(Y.y0,Y.x0),!d))}else t.moveTo(c+P,h+E),t.arc(c,h,i,l,u,!d);else t.moveTo(c+P,h+E);if(r>cg&&j)if(M>cg){G=ug(g,M),W=ug(m,M),U=dg(D,L,O,T,r,-W,d),Y=dg(P,E,A,I,r,-G,d);t.lineTo(c+U.cx+U.x0,h+U.cy+U.y0),M<C&&G===W?t.arc(c+U.cx,h+U.cy,M,og(U.y0,U.x0),og(Y.y0,Y.x0),!d):(W>0&&t.arc(c+U.cx,h+U.cy,W,og(U.y0,U.x0),og(U.y1,U.x1),!d),t.arc(c,h,r,og(U.cy+U.y1,U.cx+U.x1),og(Y.cy+Y.y1,Y.cx+Y.x1),d),G>0&&t.arc(c+Y.cx,h+Y.cy,G,og(Y.y1,Y.x1),og(Y.y0,Y.x0),!d))}else t.lineTo(c+D,h+L),t.arc(c,h,r,u,l,d);else t.lineTo(c+D,h+L)}else t.moveTo(c,h);t.closePath()}}}var gg=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return t}(),mg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new gg},e.prototype.buildPath=function(t,e){fg(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Ba);mg.prototype.type="sector";var vg=mg,yg=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),bg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new yg},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Ba);bg.prototype.type="ring";var _g=bg;function xg(t,e,n,i){var r,o,a,s,l=[],u=[],c=[],h=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,g=t.length;p<g;p++)O(a,a,t[p]),T(s,s,t[p]);O(a,a,i[0]),T(s,s,i[1])}for(p=0,g=t.length;p<g;p++){var v=t[p];if(n)r=t[p?p-1:g-1],o=t[(p+1)%g];else{if(0===p||p===g-1){l.push(d(t[p]));continue}r=t[p-1],o=t[p+1]}m(u,o,r),b(u,u,e);var y=x(v,r),_=x(v,o),w=y+_;0!==w&&(y/=w,_/=w),b(c,u,-y),b(h,u,_);var S=f([],v,c),C=f([],v,h);i&&(T(S,S,a),O(S,S,s),T(C,C,a),O(C,C,s)),l.push(S),l.push(C)}return n&&l.push(l.shift()),l}function wg(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=xg(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var h=r.length;s<h;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}var Sg=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),Cg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Sg},e.prototype.buildPath=function(t,e){wg(t,e,!0)},e}(Ba);Cg.prototype.type="polygon";var kg=Cg,Mg=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),Og=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Mg},e.prototype.buildPath=function(t,e){wg(t,e,!1)},e}(Ba);Og.prototype.type="polyline";var Tg=Og,Ag={},Ig=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),Pg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Ig},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Ya(Ag,e,this.style);n=a.x1,i=a.y1,r=a.x2,o=a.y2}else n=e.x1,i=e.y1,r=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,o=i*(1-s)+o*s),t.lineTo(r,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(Ba);Pg.prototype.type="line";var Eg=Pg,Dg=[],Lg=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function jg(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?Kt:Xt)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Kt:Xt)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?ie:ne)(t.x1,t.cpx1,t.x2,e),(n?ie:ne)(t.y1,t.cpy1,t.y2,e)]}var Rg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Lg},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(n,i),null==l||null==u?(c<1&&(ae(n,a,r,c,Dg),a=Dg[1],r=Dg[2],ae(i,s,o,c,Dg),s=Dg[1],o=Dg[2]),t.quadraticCurveTo(a,s,r,o)):(c<1&&(Jt(n,a,l,r,c,Dg),a=Dg[1],l=Dg[2],r=Dg[3],Jt(i,s,u,o,c,Dg),s=Dg[1],u=Dg[2],o=Dg[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return jg(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=jg(this.shape,t,!0);return _(e,e)},e}(Ba);Rg.prototype.type="bezier-curve";var Bg=Rg,Ng=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),Fg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Ng},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(Ba);Fg.prototype.type="arc";var zg=Fg,Vg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return u(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Ba.prototype.getBoundingRect.call(this)},e}(Ba),qg=Vg,$g=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),Hg=$g,Gg=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return u(e,t),e}(Hg),Wg=Gg,Ug=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return u(e,t),e}(Hg),Yg=Ug,Xg=[0,0],Kg=[0,0],Zg=new Rn,Qg=new Rn,Jg=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Rn;for(n=0;n<2;n++)this._axes[n]=new Rn;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,r=t.x,o=t.y,a=r+t.width,s=o+t.height;if(n[0].set(r,o),n[1].set(a,o),n[2].set(a,s),n[3].set(r,s),e)for(var l=0;l<4;l++)n[l].transform(e);Rn.sub(i[0],n[1],n[0]),Rn.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return Zg.set(1/0,1/0),Qg.set(0,0),!this._intersectCheckOneSide(this,t,Zg,Qg,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,Zg,Qg,i,-1)&&(n=!1,i)||i||Rn.copy(e,n?Zg:Qg),n},t.prototype._intersectCheckOneSide=function(t,e,n,i,r,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,Xg),this._getProjMinMaxOnAxis(s,e._corners,Kg),Xg[1]<Kg[0]||Xg[0]>Kg[1]){if(a=!1,r)return a;var u=Math.abs(Kg[0]-Xg[1]),c=Math.abs(Xg[0]-Kg[1]);Math.min(u,c)>i.len()&&(u<c?Rn.scale(i,l,-u*o):Rn.scale(i,l,c*o))}else if(n){u=Math.abs(Kg[0]-Xg[1]),c=Math.abs(Xg[0]-Kg[1]);Math.min(u,c)<n.len()&&(u<c?Rn.scale(n,l,u*o):Rn.scale(n,l,-c*o))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}(),tm=Jg,em=[],nm=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return u(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Wn(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(em)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){var o=this._displayables[r];if(o.contain(t,e))return!0}return!1},e}(Io),im=nm,rm=Math.max,om=Math.min,am={};function sm(t){return Ba.extend(t)}var lm=Gf;function um(t,e){return lm(t,e)}function cm(t,e){am[t]=e}function hm(t){if(am.hasOwnProperty(t))return am[t]}function dm(t,e,n,i){var r=Hf(t,e);return n&&("center"===i&&(n=fm(n,r.getBoundingRect())),mm(r,n)),r}function pm(t,e,n){var i=new Ga({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(fm(e,r))}}});return i}function fm(t,e){var n,i=e.width/e.height,r=t.height*i;r<=t.width?n=t.height:(r=t.width,n=r/i);var o=t.x+t.width/2,a=t.y+t.height/2;return{x:o-r/2,y:a-n/2,width:r,height:n}}var gm=Wf;function mm(t,e){if(t.applyTransform){var n=t.getBoundingRect(),i=n.calculateTransform(e);t.applyTransform(i)}}function vm(t){return Ya(t.shape,t.shape,t.style),t}function ym(t){return Xa(t.shape,t.shape,t.style),t}var bm=Ka;function _m(t,e){var n=mn([]);while(t&&t!==e)yn(n,t.getLocalTransform(),n),t=t.parent;return n}function xm(t,e,n){return e&&!Object(s["u"])(e)&&(e=Ln.getLocalTransform(e)),n&&(e=wn([],e)),M([],t,e)}function wm(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=xm(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Sm(t){return!t.isGroup}function Cm(t){return null!=t.shape}function km(t,e,n){if(t&&e){var i=r(t);e.traverse((function(t){if(Sm(t)&&t.anid){var e=i[t.anid];if(e){var r=o(t);t.attr(o(e)),Nl(t,r,n,bs(t).dataIndex)}}}))}function r(t){var e={};return t.traverse((function(t){Sm(t)&&t.anid&&(e[t.anid]=t)})),e}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return Cm(t)&&(e.shape=Object(s["m"])({},t.shape)),e}}function Mm(t,e){return Object(s["H"])(t,(function(t){var n=t[0];n=rm(n,e.x),n=om(n,e.x+e.width);var i=t[1];return i=rm(i,e.y),i=om(i,e.y+e.height),[n,i]}))}function Om(t,e){var n=rm(t.x,e.x),i=om(t.x+t.width,e.x+e.width),r=rm(t.y,e.y),o=om(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Tm(t,e,n){var i=Object(s["m"])({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),Object(s["i"])(r,n),new Ga(i)):dm(t.replace("path://",""),i,n,"center")}function Am(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(Im(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function Im(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,d=Pm(c,h,l,u);if(Em(d))return!1;var p=t-r,f=e-o,g=Pm(p,f,l,u)/d;if(g<0||g>1)return!1;var m=Pm(p,f,c,h)/d;return!(m<0||m>1)}function Pm(t,e,n,i){return t*i-n*e}function Em(t){return t<=1e-6&&t>=-1e-6}function Dm(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=Object(s["C"])(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,l={componentType:o,name:i,$vars:["name"]};l[o+"Index"]=a;var u=t.formatterParamsExtra;u&&Object(s["k"])(Object(s["F"])(u),(function(t){Object(s["q"])(l,t)||(l[t]=u[t],l.$vars.push(t))}));var c=bs(t.el);c.componentMainType=o,c.componentIndex=a,c.tooltipConfig={name:i,option:Object(s["i"])({content:i,formatterParams:l},r)}}function Lm(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function jm(t,e){if(t)if(Object(s["t"])(t))for(var n=0;n<t.length;n++)Lm(t[n],e);else Lm(t,e)}cm("circle",Kf),cm("ellipse",Jf),cm("sector",vg),cm("ring",_g),cm("polygon",kg),cm("polyline",Tg),cm("rect",ts),cm("line",Eg),cm("bezierCurve",Bg),cm("arc",zg);var Rm=kr(),Bm=Cf(),Nm=function(){function t(){this.group=new bi,this.uid=Su("viewChart"),this.renderTask=ep({plan:Vm,reset:qm}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&zm(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&zm(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){jm(this.group,t)},t.markUpdateMethod=function(t,e){Rm(t).updateMethod=e},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function Fm(t,e,n){t&&Al(t)&&("emphasis"===e?rl:ol)(t,n)}function zm(t,e,n){var i=Cr(t,e),r=e&&null!=e.highlightKey?Pl(e.highlightKey):null;null!=i?Object(s["k"])(ir(i),(function(e){Fm(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Fm(t,n,r)}))}function Vm(t){return Bm(t.model)}function qm(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Rm(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),$m[l]}qr(Nm,["dispose"]),Xr(Nm);var $m={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Hm=Nm,Gm="\0__throttleOriginMethod",Wm="\0__throttleRate",Um="\0__throttleType";function Ym(t,e,n){var i,r,o,a,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(o,a||[])}e=e||0;var d=function(){for(var t=[],d=0;d<arguments.length;d++)t[d]=arguments[d];i=(new Date).getTime(),o=this,a=t;var p=s||e,f=s||n;s=null,r=i-(f?l:u)-p,clearTimeout(c),f?c=setTimeout(h,p):r>=0?h():c=setTimeout(h,-r),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}function Xm(t,e,n,i){var r=t[e];if(r){var o=r[Gm]||r,a=r[Um],s=r[Wm];if(s!==n||a!==i){if(null==n||!i)return t[e]=o;r=t[e]=Ym(o,n,"debounce"===i),r[Gm]=o,r[Um]=i,r[Wm]=n}return r}}function Km(t,e){var n=t[e];n&&n[Gm]&&(n.clear&&n.clear(),t[e]=n[Gm])}var Zm=kr(),Qm={itemStyle:Kr(vu,!0),lineStyle:Kr(fu,!0)},Jm={lineStyle:"stroke",itemStyle:"fill"};function tv(t,e){var n=t.visualStyleMapper||Qm[e];return n||(console.warn("Unkown style type '"+e+"'."),Qm.itemStyle)}function ev(t,e){var n=t.visualDrawType||Jm[e];return n||(console.warn("Unkown style type '"+e+"'."),"fill")}var nv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=tv(t,i),a=o(r),l=r.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var u=ev(t,i),c=a[u],h=Object(s["w"])(c)?c:null,d="auto"===a.fill||"auto"===a.stroke;if(!a[u]||h||d){var p=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[u]||(a[u]=p,n.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||Object(s["w"])(a.fill)?p:a.fill,a.stroke="auto"===a.stroke||Object(s["w"])(a.stroke)?p:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",u),!e.isSeriesFiltered(t)&&h)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=Object(s["m"])({},a);r[u]=h(i),e.setItemVisual(n,"style",r)}}}},iv=new xu,rv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=tv(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){iv.option=n[i];var a=r(iv),l=t.ensureUniqueItemVisual(e,"style");Object(s["m"])(l,a),iv.option.decal&&(t.setItemVisual(e,"decal",iv.option.decal),iv.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},ov={performRawSeries:!0,overallReset:function(t){var e=Object(s["f"])();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Zm(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Zm(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=ev(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t],l=r.getItemVisual(a,"colorFromPalette");if(l){var u=r.ensureUniqueItemVisual(a,"style"),c=n.getName(t)||t+"",h=n.count();u[s]=e.getColorFromPalette(c,o,h)}}))}}))}},av=Math.PI;function sv(t,e){e=e||{},s["i"](e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new bi,i=new ts({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new ys({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new ts({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&(r=new zg({shape:{startAngle:-av/2,endAngle:-av/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),r.animateShape(!0).when(1e3,{endAngle:3*av/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*av/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var lv=function(){function t(t,e,n,i){this._stageTaskMap=Object(s["f"])(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=r?n.step:null,a=i&&i.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),r=i.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,a=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=Object(s["f"])();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;Object(s["k"])(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),o="";Object(s["b"])(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}Object(s["k"])(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each((function(t){a(i,t)&&(t.dirty(),h=!0)})),h&&c.dirty(),o.updatePayload(c,n);var p=o.getPerformArgs(c,i.block);d.each((function(t){t.perform(p)})),c.perform(p)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=Object(s["f"])(),l=t.seriesType,u=t.getTargetSeries;function c(e){var s=e.uid,l=a.set(s,o&&o.get(s)||ep({plan:pv,reset:fv,count:vv}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(c):l?n.eachRawSeriesByType(l,c):u&&u(n,i).each(c)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||ep({reset:uv});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,l=o.agentStubMap=Object(s["f"])(),u=t.seriesType,c=t.getTargetSeries,h=!0,d=!1,p="";function f(t){var e=t.uid,n=l.set(e,a&&a.get(e)||(d=!0,ep({reset:cv,onDirty:dv})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}Object(s["b"])(!t.createOnAllSeries,p),u?n.eachRawSeriesByType(u,f):c?c(n,i).each(f):(h=!1,Object(s["k"])(n.getSeries(),f)),d&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return Object(s["w"])(t)&&(t={overallReset:t,seriesType:yv(t)}),t.uid=Su("stageHandler"),e&&(t.visualType=e),t},t}();function uv(t){t.overallReset(t.ecModel,t.api,t.payload)}function cv(t){return t.overallProgress&&hv}function hv(){this.agent.dirty(),this.getDownstream().dirty()}function dv(){this.agent&&this.agent.dirty()}function pv(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function fv(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=ir(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Object(s["H"])(e,(function(t,e){return mv(e)})):gv}var gv=mv(0);function mv(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function vv(t){return t.data.count()}function yv(t){bv=null;try{t(_v,xv)}catch(e){}return bv}var bv,_v={},xv={};function wv(t,e){for(var n in e.prototype)t[n]=s["L"]}wv(_v,Nh),wv(xv,Vh),_v.eachSeriesByType=_v.eachRawSeriesByType=function(t){bv=t},_v.eachComponent=function(t){"series"===t.mainType&&t.subType&&(bv=t.subType)};var Sv=lv,Cv=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],kv={color:Cv,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Cv]},Mv="#B9B8CE",Ov="#100C2A",Tv=function(){return{axisLine:{lineStyle:{color:Mv}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Av=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Iv={darkMode:!0,color:Av,backgroundColor:Ov,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Mv}},textStyle:{color:Mv},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Mv}},dataZoom:{borderColor:"#71708A",textStyle:{color:Mv},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Mv}},timeline:{lineStyle:{color:Mv},label:{color:Mv},controlStyle:{color:Mv,borderColor:Mv}},calendar:{itemStyle:{color:Ov},dayLabel:{color:Mv},monthLabel:{color:Mv},yearLabel:{color:Mv}},timeAxis:Tv(),logAxis:Tv(),valueAxis:Tv(),categoryAxis:Tv(),line:{symbol:"circle"},graph:{color:Av},gauge:{title:{color:Mv},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Mv},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Iv.categoryAxis.splitLine.show=!1;var Pv=Iv,Ev=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(s["C"](t)){var r=Fr(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};s["k"](t,(function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Dv=["symbol","symbolSize","symbolRotate","symbolOffset"],Lv=Dv.concat(["symbolKeepAspect"]),jv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<Dv.length;a++){var l=Dv[a],u=t.get(l);Object(s["w"])(u)?(o=!0,r[l]=u):i[l]=u}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual(Object(s["m"])({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var c=Object(s["F"])(r);return{dataEach:o?h:null}}}function h(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<c.length;a++){var s=c[a];e.setItemVisual(n,s,r[s](i,o))}}}},Rv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t)){var n=t.getData();return{dataEach:n.hasItemOption?i:null}}function i(t,e){for(var n=t.getItemModel(e),i=0;i<Lv.length;i++){var r=Lv[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}}};function Bv(t,e,n){switch(n){case"color":var i=t.getItemVisual(e,"style");return i[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n);default:0}}function Nv(t,e){switch(e){case"color":var n=t.getVisual("style");return n[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:0}}function Fv(t,e,n,i){switch(n){case"color":var r=t.ensureUniqueItemVisual(e,"style");r[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i);break;default:0}}function zv(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){i.push(t.seriesIndex)})),i}Object(s["k"])([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,i,r){e=Object(s["m"])({},e),r.dispatchAction(Object(s["m"])(e,{type:t[1],seriesIndex:n(i,e)}))}))}))}function Vv(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,a=r.selected,l=0;l<a.length;l++)if(a[l].seriesIndex===e){var u=t.getData(),c=Cr(u,r.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:Object(s["t"])(c)?u.getName(c[0]):u.getName(c),selected:Object(s["C"])(i)?i:Object(s["m"])({},i)})}}))}function qv(t,e,n){t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(Vv("map","selectchanged",e,i,t),Vv("pie","selectchanged",e,i,t)):"select"===t.fromAction?(Vv("map","selected",e,i,t),Vv("pie","selected",e,i,t)):"unselect"===t.fromAction&&(Vv("map","unselected",e,i,t),Vv("pie","unselected",e,i,t))}))}function $v(t,e,n){var i;while(t){if(e(t)&&(i=t,n))break;t=t.__hostTarget||t.parent}return i}var Hv=Math.round(9*Math.random()),Gv="function"===typeof Object.defineProperty,Wv=function(){function t(){this._id="__ec_inner_"+Hv++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return Gv?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype["delete"]=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),Uv=Wv,Yv=Ba.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),Xv=Ba.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),Kv=Ba.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),d=Math.cos(u),p=.6*a,f=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*p,l+s+d*p,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-c+h*p,l+s+d*p,n-c,l+s),t.closePath()}}),Zv=Ba.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),Qv={line:Eg,rect:ts,roundRect:ts,square:ts,circle:Kf,diamond:Xv,pin:Kv,arrow:Zv,triangle:Yv},Jv={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},ty={};Object(s["k"])(Qv,(function(t,e){ty[e]=new t}));var ey=Ba.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=ii(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=ty[i];r||(i="rect",r=ty[i]),Jv[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function ny(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function iy(t,e,n,i,r,o,a){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),s=0===t.indexOf("image://")?pm(t.slice(8),new Wn(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?dm(t.slice(7),{},new Wn(e,n,i,r),a?"center":"cover"):new ey({shape:{symbolType:t,x:e,y:n,width:i,height:r}}),s.__isEmptyBrush=l,s.setColor=ny,o&&s.setColor(o),s}function ry(t){return Object(s["t"])(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function oy(t,e){if(null!=t)return Object(s["t"])(t)||(t=[t,t]),[Pi(t[0],e[0])||0,Pi(Object(s["P"])(t[1],t[0]),e[1])||0]}function ay(t){return isFinite(t)}function sy(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=ay(i)?i:0,r=ay(r)?r:1,o=ay(o)?o:0,a=ay(a)?a:0;var s=t.createLinearGradient(i,o,r,a);return s}function ly(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(a=a*i+n.x,s=s*r+n.y,l*=o),a=ay(a)?a:.5,s=ay(s)?s:.5,l=l>=0&&ay(l)?l:.5;var u=t.createRadialGradient(a,s,0,a,s,l);return u}function uy(t,e,n){for(var i="radial"===e.type?ly(t,e,n):sy(t,e,n),r=e.colorStops,o=0;o<r.length;o++)i.addColorStop(r[o].offset,r[o].color);return i}function cy(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function hy(t){return parseInt(t,10)}function dy(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(t);return(t[r]||hy(s[i])||hy(t.style[i]))-(hy(s[o])||0)-(hy(s[a])||0)|0}function py(t,e){return t&&"solid"!==t&&e>0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Object(s["z"])(t)?[t]:Object(s["t"])(t)?t:null:null}function fy(t){var e=t.style,n=e.lineDash&&e.lineWidth>0&&py(e.lineDash,e.lineWidth),i=e.lineDashOffset;if(n){var r=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;r&&1!==r&&(n=Object(s["H"])(n,(function(t){return t/r})),i/=r)}return[n,i]}var gy=new ha(!0);function my(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function vy(t){return"string"===typeof t&&"none"!==t}function yy(t){var e=t.fill;return null!=e&&"none"!==e}function by(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function _y(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function xy(t,e,n){var i=no(e.image,e.__image,n);if(ro(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"===typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*s["a"]),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}function wy(t,e,n,i){var r,o=my(n),a=yy(n),s=n.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var c=e.path||gy,h=e.__dirty;if(!i){var d=n.fill,p=n.stroke,f=a&&!!d.colorStops,g=o&&!!p.colorStops,m=a&&!!d.image,v=o&&!!p.image,y=void 0,b=void 0,_=void 0,x=void 0,w=void 0;(f||g)&&(w=e.getBoundingRect()),f&&(y=h?uy(t,d,w):e.__canvasFillGradient,e.__canvasFillGradient=y),g&&(b=h?uy(t,p,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=b),m&&(_=h||!e.__canvasFillPattern?xy(t,d,e):e.__canvasFillPattern,e.__canvasFillPattern=_),v&&(x=h||!e.__canvasStrokePattern?xy(t,p,e):e.__canvasStrokePattern,e.__canvasStrokePattern=_),f?t.fillStyle=y:m&&(_?t.fillStyle=_:a=!1),g?t.strokeStyle=b:v&&(x?t.strokeStyle=x:o=!1)}var S,C,k=e.getGlobalScale();c.setScale(k[0],k[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(r=fy(e),S=r[0],C=r[1]);var M=!0;(u||h&Tt)&&(c.setDPR(t.dpr),l?c.setContext(null):(c.setContext(t),M=!1),c.reset(),e.buildPath(c,e.shape,i),c.toStatic(),e.pathUpdated()),M&&c.rebuildPath(t,l?s:1),S&&(t.setLineDash(S),t.lineDashOffset=C),i||(n.strokeFirst?(o&&_y(t,n),a&&by(t,n)):(a&&by(t,n),o&&_y(t,n))),S&&t.setLineDash([])}function Sy(t,e,n){var i=e.__image=no(n.image,e.__image,e,e.onload);if(i&&ro(i)){var r=n.x||0,o=n.y||0,a=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=i.width,s=i.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;t.drawImage(i,u,c,n.sWidth,n.sHeight,r,o,a,s)}else if(n.sx&&n.sy){u=n.sx,c=n.sy;var h=a-u,d=s-c;t.drawImage(i,u,c,h,d,r,o,a,s)}else t.drawImage(i,r,o,a,s)}}function Cy(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||Yn["a"],t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(i=fy(e),o=i[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(my(n)&&t.strokeText(r,n.x,n.y),yy(n)&&t.fillText(r,n.x,n.y)):(yy(n)&&t.fillText(r,n.x,n.y),my(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}var ky=["shadowBlur","shadowOffsetX","shadowOffsetY"],My=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Oy(t,e,n,i,r){var o=!1;if(!i&&(n=n||{},e===n))return!1;if(i||e.opacity!==n.opacity){Ny(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?wo.opacity:a}(i||e.blend!==n.blend)&&(o||(Ny(t,r),o=!0),t.globalCompositeOperation=e.blend||wo.blend);for(var s=0;s<ky.length;s++){var l=ky[s];(i||e[l]!==n[l])&&(o||(Ny(t,r),o=!0),t[l]=t.dpr*(e[l]||0))}return(i||e.shadowColor!==n.shadowColor)&&(o||(Ny(t,r),o=!0),t.shadowColor=e.shadowColor||wo.shadowColor),o}function Ty(t,e,n,i,r){var o=Fy(e,r.inHover),a=i?null:n&&Fy(n,r.inHover)||{};if(o===a)return!1;var s=Oy(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(Ny(t,r),s=!0),vy(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(Ny(t,r),s=!0),vy(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(Ny(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth,u=l/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==u&&(s||(Ny(t,r),s=!0),t.lineWidth=u)}for(var c=0;c<My.length;c++){var h=My[c],d=h[0];(i||o[d]!==a[d])&&(s||(Ny(t,r),s=!0),t[d]=o[d]||h[1])}return s}function Ay(t,e,n,i,r){return Oy(t,Fy(e,r.inHover),n&&Fy(n,r.inHover),i,r)}function Iy(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function Py(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),Iy(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}function Ey(t,e){return t&&e?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&&!e)}var Dy=1,Ly=2,jy=3,Ry=4;function By(t){var e=yy(t),n=my(t);return!(t.lineDash||!(+e^+n)||e&&"string"!==typeof t.fill||n&&"string"!==typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function Ny(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function Fy(t,e){return e&&t.__hoverStyle||t.style}function zy(t,e){Vy(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Vy(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~Mt,void(e.__isRendered=!1);var o=e.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if(a&&!cy(o,a)||(a&&a.length&&(Ny(t,n),t.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(Ny(t,n),t.save(),Py(o,t,n),s=!0),n.prevElClipPaths=o),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c=e instanceof Ba&&e.autoBatch&&By(e.style);s||Ey(r,u.transform)?(Ny(t,n),Iy(t,e)):c||Ny(t,n);var h=Fy(e,n.inHover);e instanceof Ba?(n.lastDrawType!==Dy&&(l=!0,n.lastDrawType=Dy),Ty(t,e,u,l,n),c&&(n.batchFill||n.batchStroke)||t.beginPath(),wy(t,e,h,c),c&&(n.batchFill=h.fill||"",n.batchStroke=h.stroke||"")):e instanceof za?(n.lastDrawType!==jy&&(l=!0,n.lastDrawType=jy),Ty(t,e,u,l,n),Cy(t,e,h)):e instanceof Ga?(n.lastDrawType!==Ly&&(l=!0,n.lastDrawType=Ly),Ay(t,e,u,l,n),Sy(t,e,h)):e.getTemporalDisplayables&&(n.lastDrawType!==Ry&&(l=!0,n.lastDrawType=Ry),qy(t,e,n)),c&&i&&Ny(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}function qy(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=i.length;o<a;o++){var l=i[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Vy(t,l,s,o===a-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=r.length;u<c;u++){l=r[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Vy(t,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}var $y=new Uv,Hy=new Un["a"](100),Gy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Wy(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&$y["delete"](t);var o=$y.get(t);if(o)return o;var a=Object(s["i"])(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var l={repeat:"repeat"};return u(l),l.rotation=a.rotation,l.scaleX=l.scaleY=r?1:1/n,$y.set(t,l),t.dirty=!1,l;function u(t){for(var e,o=[n],l=!0,u=0;u<Gy.length;++u){var c=a[Gy[u]];if(null!=c&&!Object(s["t"])(c)&&!Object(s["C"])(c)&&!Object(s["z"])(c)&&"boolean"!==typeof c){l=!1;break}o.push(c)}if(l){e=o.join(",")+(r?"-svg":"");var h=Hy.get(e);h&&(r?t.svgElement=h:t.image=h)}var d,p=Yy(a.dashArrayX),f=Xy(a.dashArrayY),g=Uy(a.symbol),m=Ky(p),v=Zy(f),y=!r&&Yn["d"].createCanvas(),b=r&&{tag:"g",attrs:{},key:"dcl",children:[]},_=x();function x(){for(var t=1,e=0,n=m.length;e<n;++e)t=Ji(t,m[e]);var i=1;for(e=0,n=g.length;e<n;++e)i=Ji(i,g[e].length);t*=i;var r=v*m.length*g.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}function w(){d&&(d.clearRect(0,0,y.width,y.height),a.backgroundColor&&(d.fillStyle=a.backgroundColor,d.fillRect(0,0,y.width,y.height)));for(var t=0,e=0;e<f.length;++e)t+=f[e];if(!(t<=0)){var o=-v,s=0,l=0,u=0;while(o<_.height){if(s%2===0){var c=l/2%g.length,h=0,m=0,x=0;while(h<2*_.width){var w=0;for(e=0;e<p[u].length;++e)w+=p[u][e];if(w<=0)break;if(m%2===0){var S=.5*(1-a.symbolSize),C=h+p[u][m]*S,k=o+f[s]*S,M=p[u][m]*a.symbolSize,O=f[s]*a.symbolSize,T=x/2%g[c].length;A(C,k,M,O,g[c][T])}h+=p[u][m],++x,++m,m===p[u].length&&(m=0)}++u,u===p.length&&(u=0)}o+=f[s],++l,++s,s===f.length&&(s=0)}}function A(t,e,o,s,l){var u=r?1:n,c=iy(l,t*u,e*u,o*u,s*u,a.color,a.symbolKeepAspect);if(r){var h=i.painter.renderOneToVNode(c);h&&b.children.push(h)}else zy(d,c)}}y&&(y.width=_.width*n,y.height=_.height*n,d=y.getContext("2d")),w(),l&&Hy.put(e,y||b),t.image=y,t.svgElement=b,t.svgWidth=_.width,t.svgHeight=_.height}}function Uy(t){if(!t||0===t.length)return[["rect"]];if(Object(s["C"])(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!Object(s["C"])(t[n])){e=!1;break}if(e)return Uy([t]);var i=[];for(n=0;n<t.length;++n)Object(s["C"])(t[n])?i.push([t[n]]):i.push(t[n]);return i}function Yy(t){if(!t||0===t.length)return[[0,0]];if(Object(s["z"])(t)){var e=Math.ceil(t);return[[e,e]]}for(var n=!0,i=0;i<t.length;++i)if(!Object(s["z"])(t[i])){n=!1;break}if(n)return Yy([t]);var r=[];for(i=0;i<t.length;++i)if(Object(s["z"])(t[i])){e=Math.ceil(t[i]);r.push([e,e])}else{e=Object(s["H"])(t[i],(function(t){return Math.ceil(t)}));e.length%2===1?r.push(e.concat(e)):r.push(e)}return r}function Xy(t){if(!t||"object"===typeof t&&0===t.length)return[0,0];if(Object(s["z"])(t)){var e=Math.ceil(t);return[e,e]}var n=Object(s["H"])(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}function Ky(t){return Object(s["H"])(t,(function(t){return Zy(t)}))}function Zy(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2===1?2*e:e}function Qy(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");if(n){var r=i.ensureUniqueItemVisual(t,"style");r.decal=Wy(n,e)}}));var r=i.getVisual("decal");if(r){var o=i.getVisual("style");o.decal=Wy(r,e)}}}))}var Jy=new D,tb=Jy,eb={};function nb(t,e){eb[t]=e}function ib(t){return eb[t]}var rb="undefined"!==typeof window,ob=1,ab=800,sb=900,lb=1e3,ub=2e3,cb=5e3,hb=1e3,db=1100,pb=2e3,fb=3e3,gb=4e3,mb=4500,vb=4600,yb=5e3,bb=6e3,_b=7e3,xb={PROCESSOR:{FILTER:lb,SERIES_FILTER:ab,STATISTIC:cb},VISUAL:{LAYOUT:hb,PROGRESSIVE_LAYOUT:db,GLOBAL:pb,CHART:fb,POST_CHART_LAYOUT:vb,COMPONENT:gb,BRUSH:yb,CHART_ITEM:mb,ARIA:bb,DECAL:_b}},wb="__flagInMainProcess",Sb="__pendingUpdate",Cb="__needsUpdateStatus",kb=/^[a-zA-Z0-9_]+$/,Mb="__connectUpdateStatus",Ob=0,Tb=1,Ab=2;function Ib(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return Eb(this,t,e);e_(this.id)}}function Pb(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Eb(this,t,e)}}function Eb(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),D.prototype[e].apply(t,n)}var Db,Lb,jb,Rb,Bb,Nb,Fb,zb,Vb,qb,$b,Hb,Gb,Wb,Ub,Yb,Xb,Kb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(D),Zb=Kb.prototype;Zb.on=Pb("on"),Zb.off=Pb("off");var Qb=function(t){function e(e,n,i){var r=t.call(this,new Ev)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},Object(s["C"])(n)&&(n=s_[n]),r._dom=e;var o="canvas",a=!1,l=r._zr=ki(e,{renderer:i.renderer||o,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:null==i.useDirtyRect?a:i.useDirtyRect});r._ssr=i.ssr,r._throttledZrFlush=Ym(Object(s["c"])(l.flush,l),17),n=Object(s["d"])(n),n&&xd(n,!0),r._theme=n,r._locale=Ru(i.locale||Lu),r._coordSysMgr=new Hh;var u=r._api=Ub(r);function c(t,e){return t.__prio-e.__prio}return kt(a_,c),kt(r_,c),r._scheduler=new Sv(r,u,r_,a_),r._messageCenter=new Kb,r._initEvents(),r.resize=Object(s["c"])(r.resize,r),l.animation.on("frame",r._onframe,r),qb(l,r),$b(l,r),Object(s["R"])(r),r}return o(e,t),e.prototype._onframe=function(){if(!this._disposed){Xb(this);var t=this._scheduler;if(this[Sb]){var e=this[Sb].silent;this[wb]=!0;try{Db(this),Rb.update.call(this,null,this[Sb].updateParams)}catch(a){throw this[wb]=!1,this[Sb]=null,a}this._zr.flush(),this[wb]=!1,this[Sb]=null,zb.call(this,e),Vb.call(this,e)}else if(t.unfinished){var n=ob,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),Nb(this,i),t.performVisualTasks(i),Wb(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[wb])if(this._disposed)e_(this.id);else{var i,r,o;if(Object(s["A"])(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[wb]=!0,!this._model||e){var a=new Zh(this._api),l=this._theme,u=this._model=new Nh;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,a)}this._model.setOption(t,{replaceMerge:r},o_);var c={seriesTransition:o,optionChanged:!0};if(n)this[Sb]={silent:i,updateParams:c},this[wb]=!1,this.getZr().wakeUp();else{try{Db(this),Rb.update.call(this,null,c)}catch(h){throw this[Sb]=null,this[wb]=!1,h}this._ssr||this._zr.flush(),this[Sb]=null,this[wb]=!1,zb.call(this,i),Vb.call(this,i)}}},e.prototype.setTheme=function(){Th("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||rb&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(a["a"].svgSupported){var t=this._zr,e=t.storage.getDisplayList();return Object(s["k"])(e,(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,i=[],r=this;Object(s["k"])(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return Object(s["k"])(i,(function(t){t.group.ignore=!1})),o}e_(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(c_[n]){var a=o,l=o,u=-o,c=-o,h=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();Object(s["k"])(u_,(function(o,d){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(Object(s["d"])(t)),f=o.getDom().getBoundingClientRect();a=i(f.left,a),l=i(f.top,l),u=r(f.right,u),c=r(f.bottom,c),h.push({dom:p,left:f.left,top:f.top})}})),a*=d,l*=d,u*=d,c*=d;var p=u-a,f=c-l,g=Yn["d"].createCanvas(),m=ki(g,{renderer:e?"svg":"canvas"});if(m.resize({width:p,height:f}),e){var v="";return Object(s["k"])(h,(function(t){var e=t.left-a,n=t.top-l;v+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),m.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return t.connectedBackgroundColor&&m.add(new ts({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),Object(s["k"])(h,(function(t){var e=new Ga({style:{x:t.left*d-a,y:t.top*d-l,image:t.dom}});m.add(e)})),m.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}e_(this.id)},e.prototype.convertToPixel=function(t,e){return Bb(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Bb(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=this._model,r=Or(i,t);return Object(s["k"])(r,(function(t,i){i.indexOf("Models")>=0&&Object(s["k"])(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n}e_(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,i=Or(n,t,{defaultMainType:"series"}),r=i.seriesModel;var o=r.getData(),a=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?o.indexOfRawIndex(i.dataIndex):null;return null!=a?Bv(o,a,e):Nv(o,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;Object(s["k"])(t_,(function(e){var n=function(n){var i,r=t.getModel(),o=n.target,a="globalout"===e;if(a?i={}:o&&$v(o,(function(t){var e=bs(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return i=Object(s["m"])({},e.eventData),!0}),!0),i){var l=i.componentType,u=i.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=i.seriesIndex);var c=l&&null!=u&&r.getComponent(l,u),h=c&&t["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:c,view:h},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),Object(s["k"])(i_,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),Object(s["k"])(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),qv(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?e_(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)e_(this.id);else{this._disposed=!0;var t=this.getDom();t&&Er(this.getDom(),h_,"");var e=this,n=e._api,i=e._model;Object(s["k"])(e._componentsViews,(function(t){t.dispose(i,n)})),Object(s["k"])(e._chartsViews,(function(t){t.dispose(i,n)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete u_[e.id]}},e.prototype.resize=function(t){if(!this[wb])if(this._disposed)e_(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Sb]&&(null==i&&(i=this[Sb].silent),n=!0,this[Sb]=null),this[wb]=!0;try{n&&Db(this),Rb.update.call(this,{type:"resize",animation:Object(s["m"])({duration:0},t&&t.animation)})}catch(r){throw this[wb]=!1,r}this[wb]=!1,zb.call(this,i),Vb.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)e_(this.id);else if(Object(s["A"])(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),l_[t]){var n=l_[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?e_(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=Object(s["m"])({},t);return e.type=i_[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)e_(this.id);else if(Object(s["A"])(e)||(e={silent:!!e}),n_[t.type]&&this._model)if(this[wb])this._pendingActions.push(t);else{var n=e.silent;Fb.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&a["a"].browser.weChat&&this._throttledZrFlush(),zb.call(this,n),Vb.call(this,n)}},e.prototype.updateLabelLayout=function(){tb.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)e_(this.id);else{var e=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(e);0,i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){var e=[],n=[],i=!1;if(t.eachComponent((function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),i){var r,o,a=e.concat(n);kt(a,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),Object(s["k"])(a,(function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)}))}}function n(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===Os&&t.states.emphasis?e.push("emphasis"):t.hoverState===Ms&&t.states.blur&&e.push("blur"),t.useStates(e)}function i(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!a["a"].node&&!a["a"].worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function r(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}function l(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered((function(t){return u(t,n,i,-1/0),!0}))}}function u(t,e,n,i){var r=t.getTextContent(),o=t.getTextGuideLine(),a=t.isGroup;if(a)for(var s=t.childrenRef(),l=0;l<s.length;l++)i=Math.max(u(s[l],e,n,i),i);else t.z=e,t.zlevel=n,i=Math.max(t.z2,i);if(r&&(r.z=e,r.zlevel=n,isFinite(i)&&(r.z2=i+2)),o){var c=t.textGuideLineConfig;o.z=e,o.zlevel=n,isFinite(i)&&(o.z2=i+(c&&c.showAbove?1:-1))}return i}function c(t,e){e.eachRendered((function(t){if(!zl(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function h(t,e){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(zl(t))return;if(t instanceof Ba&&Ll(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}Db=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Lb(t,!0),Lb(t,!1),e.plan()},Lb=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var h=Fr(t.type),d=e?Sf.getClass(h.main,h.sub):Hm.getClass(h.sub);0,c=new d,c.init(n,s),o[u]=c,r.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(c,t,n,s)}e?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u);for(l=0;l<r.length;){var c=r[l];c.__alive?l++:(!e&&c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),r.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},jb=function(t,e,n,i,r){var o=t._model;if(o.setUpdatePayload(n),i){var a={};a[i+"Id"]=n[i+"Id"],a[i+"Index"]=n[i+"Index"],a[i+"Name"]=n[i+"Name"];var l={mainType:i,query:a};r&&(l.subType=r);var u,c=n.excludeSeriesId;null!=c&&(u=Object(s["f"])(),Object(s["k"])(ir(c),(function(t){var e=vr(t,null);null!=e&&u.set(e,!0)}))),o&&o.eachComponent(l,(function(e){var i=u&&null!==u.get(e.id);if(!i)if(Dl(n))if(e instanceof xf)n.type!==Es||n.notBlur||e.get(["emphasis","disabled"])||fl(e,n,t._api);else{var r=gl(e.mainType,e.componentIndex,n.name,t._api),o=r.focusSelf,a=r.dispatchers;n.type===Es&&o&&!n.notBlur&&pl(e.mainType,e.componentIndex,t._api),a&&Object(s["k"])(a,(function(t){n.type===Es?rl(t):ol(t)}))}else El(n)&&e instanceof xf&&(yl(e,n,t._api),bl(e),Yb(t))}),t),o&&o.eachComponent(l,(function(e){var n=u&&null!==u.get(e.id);n||h(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else Object(s["k"])([].concat(t._componentsViews).concat(t._chartsViews),h);function h(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}},Rb={prepareAndUpdate:function(t){Db(this),Rb.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),Nb(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),Hb(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),tb.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent((function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}}));var a=Object(s["f"])();i.eachSeries((function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)})),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),Wb(this,i,r,e,{},a),tb.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),Hm.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),Hb(this,n,this._api,e,{}),tb.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries((function(t){t.getData().clearAllVisual()})),Hm.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent((function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}})),i.eachSeries((function(t){var r=n._chartsMap[t.__viewId];r.updateVisual(t,i,n._api,e)})),tb.trigger("afterupdate",i,this._api))},updateLayout:function(t){Rb.update.call(this,t)}},Bb=function(t,e,n,i){if(t._disposed)e_(t.id);else{for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=Or(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,i)))return r}0}},Nb=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))},Fb=function(t,e){var n=this,i=this.getModel(),r=t.type,o=t.escapeConnect,a=n_[r],l=a.actionInfo,u=(l.update||"update").split(":"),c=u.pop(),h=null!=u[0]&&Fr(u[0]);this[wb]=!0;var d=[t],p=!1;t.batch&&(p=!0,d=Object(s["H"])(t.batch,(function(e){return e=Object(s["i"])(Object(s["m"])({},e),t),e.batch=null,e})));var f,g=[],m=El(t),v=Dl(t);if(v&&hl(this._api),Object(s["k"])(d,(function(e){if(f=a.action(e,n._model,n._api),f=f||Object(s["m"])({},e),f.type=l.event||f.type,g.push(f),v){var i=Tr(t),r=i.queryOptionMap,o=i.mainTypeSpecified,u=o?r.keys()[0]:"series";jb(n,c,e,u),Yb(n)}else m?(jb(n,c,e,"series"),Yb(n)):h&&jb(n,c,e,h.main,h.sub)})),"none"!==c&&!v&&!m&&!h)try{this[Sb]?(Db(this),Rb.update.call(this,t),this[Sb]=null):Rb[c].call(this,t)}catch(_){throw this[wb]=!1,_}if(f=p?{type:l.event||r,escapeConnect:o,batch:g}:g[0],this[wb]=!1,!e){var y=this._messageCenter;if(y.trigger(f.type,f),m){var b={type:"selectchanged",escapeConnect:o,selected:_l(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};y.trigger(b.type,b)}}},zb=function(t){var e=this._pendingActions;while(e.length){var n=e.shift();Fb.call(this,n,t)}},Vb=function(t){!t&&this.trigger("updated")},qb=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[Sb]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},$b=function(t,e){t.on("mouseover",(function(t){var n=t.target,i=$v(n,Al);i&&(ml(i,t,e._api),Yb(e))})).on("mouseout",(function(t){var n=t.target,i=$v(n,Al);i&&(vl(i,t,e._api),Yb(e))})).on("click",(function(t){var n=t.target,i=$v(n,(function(t){return null!=bs(t).dataIndex}),!0);if(i){var r=i.selected?"unselect":"select",o=bs(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}}))},Hb=function(t,n,i,r,o){e(n),Gb(t,n,i,r,o),Object(s["k"])(t._chartsViews,(function(t){t.__alive=!1})),Wb(t,n,i,r,o),Object(s["k"])(t._chartsViews,(function(t){t.__alive||t.remove(n,i)}))},Gb=function(t,e,n,i,r,o){Object(s["k"])(o||t._componentsViews,(function(t){var r=t.__model;c(r,t),t.render(r,e,n,i),l(r,t),h(r,t)}))},Wb=function(t,e,n,o,a,u){var d=t._scheduler;a=Object(s["m"])(a||{},{updatedSeries:e.getSeries()}),tb.trigger("series:beforeupdate",e,n,a);var p=!1;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var i=n.renderTask;d.updatePayload(i,o),c(e,n),u&&u.get(e.uid)&&i.dirty(),i.perform(d.getPerformArgs(i))&&(p=!0),n.group.silent=!!e.get("silent"),r(e,n),bl(e)})),d.unfinished=p||d.unfinished,tb.trigger("series:layoutlabels",e,n,a),tb.trigger("series:transition",e,n,a),e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];l(e,n),h(e,n)})),i(t,e),tb.trigger("series:afterupdate",e,n,a)},Yb=function(t){t[Cb]=!0,t.getZr().wakeUp()},Xb=function(t){t[Cb]&&(t.getZr().storage.traverse((function(t){zl(t)||n(t)})),t[Cb]=!1)},Ub=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){while(e){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){rl(e,n),Yb(t)},n.prototype.leaveEmphasis=function(e,n){ol(e,n),Yb(t)},n.prototype.enterBlur=function(e){al(e),Yb(t)},n.prototype.leaveBlur=function(e){sl(e),Yb(t)},n.prototype.enterSelect=function(e){ll(e),Yb(t)},n.prototype.leaveSelect=function(e){ul(e),Yb(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(Vh))(t)},function(t){function e(t,e){for(var n=0;n<t.length;n++){var i=t[n];i[Mb]=e}}Object(s["k"])(i_,(function(n,i){t._messageCenter.on(i,(function(n){if(c_[t.group]&&t[Mb]!==Ob){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];Object(s["k"])(u_,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,Ob),Object(s["k"])(r,(function(t){t[Mb]!==Tb&&t.dispatchAction(i)})),e(r,Ab)}}))}))}}(),e}(D),Jb=Qb.prototype;Jb.on=Ib("on"),Jb.off=Ib("off"),Jb.one=function(t,e,n){var i=this;function r(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];e&&e.apply&&e.apply(this,n),i.off(t,r)}Th("ECharts#one is deprecated."),this.on.call(this,t,r,n)};var t_=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function e_(t){0}var n_={},i_={},r_=[],o_=[],a_=[],s_={},l_={},u_={},c_={},h_=(new Date,new Date,"_echarts_instance_");function d_(t,e){s_[t]=e}function p_(t){Object(s["r"])(o_,t)<0&&o_.push(t)}function f_(t,e){S_(r_,t,e,ub)}function g_(t){v_("afterinit",t)}function m_(t){v_("afterupdate",t)}function v_(t,e){tb.on(t,e)}function y_(t,e,n){Object(s["w"])(e)&&(n=e,e="");var i=Object(s["A"])(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,i_[e]||(Object(s["b"])(kb.test(i)&&kb.test(e)),n_[i]||(n_[i]={action:n,actionInfo:t}),i_[e]=i)}function b_(t,e){Hh.register(t,e)}function __(t,e){S_(a_,t,e,hb,"layout")}function x_(t,e){S_(a_,t,e,fb,"visual")}var w_=[];function S_(t,e,n,i,r){if((Object(s["w"])(e)||Object(s["A"])(e))&&(n=e,e=i),!(Object(s["r"])(w_,n)>=0)){w_.push(n);var o=Sv.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function C_(t,e){l_[t]=e}function k_(t,e,n){var i=ib("registerMap");i&&i(t,e,n)}var M_=bp;x_(pb,nv),x_(mb,rv),x_(mb,ov),x_(pb,jv),x_(mb,Rv),x_(_b,Qy),p_(xd),f_(sb,wd),C_("default",sv),y_({type:Es,event:Es,update:Es},s["L"]),y_({type:Ds,event:Ds,update:Ds},s["L"]),y_({type:Ls,event:Ls,update:Ls},s["L"]),y_({type:js,event:js,update:js},s["L"]),y_({type:Rs,event:Rs,update:Rs},s["L"]),d_("light",kv),d_("dark",Pv);var O_=[],T_={registerPreprocessor:p_,registerProcessor:f_,registerPostInit:g_,registerPostUpdate:m_,registerUpdateLifecycle:v_,registerAction:y_,registerCoordinateSystem:b_,registerLayout:__,registerVisual:x_,registerTransform:M_,registerLoading:C_,registerMap:k_,registerImpl:nb,PRIORITY:xb,ComponentModel:Uc,ComponentView:Sf,SeriesModel:xf,ChartView:Hm,registerComponentModel:function(t){Uc.registerClass(t)},registerComponentView:function(t){Sf.registerClass(t)},registerSeriesModel:function(t){xf.registerClass(t)},registerChartView:function(t){Hm.registerClass(t)},registerSubTypeDefaulter:function(t,e){Uc.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Mi(t,e)}};function A_(t){Object(s["t"])(t)?Object(s["k"])(t,(function(t){A_(t)})):Object(s["r"])(O_,t)>=0||(O_.push(t),Object(s["w"])(t)&&(t={install:t}),t.install(T_))}function I_(t,e,n){var i=Yn["d"].createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var P_=function(t){function e(e,n,i){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,i=i||cn,"string"===typeof e?r=I_(e,n,i):s["A"](e)&&(r=e,e=r.id),o.id=e,o.dom=r;var a=r.style;return a&&(s["j"](r),r.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=i,o}return u(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=I_("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new Wn(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length){var e=new Wn(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(t)){var h=new Wn(0,0,0,0);h.copy(c),h.union(t),o[u]=h,n=!0;break}if(s){l.copy(t),l.union(c);var d=t.width*t.height,p=c.width*c.height,f=l.width*l.height,g=f-d-p;g<i&&(i=g,r=u)}}if(s&&(o[r].union(t),n=!0),!n){e=new Wn(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var c=this.__startIndex;c<this.__endIndex;++c){var h=t[c];if(h){var d=h.shouldBePainted(n,i,!0,!0),p=h.__isRendered&&(h.__dirty&Mt||!d)?h.getPrevPaintRect():null;p&&u(p);var f=d&&(h.__dirty&Mt||!h.__isRendered)?h.getPaintRect():null;f&&u(f)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){h=e[c],d=h.shouldBePainted(n,i,!0,!0);if(h&&(!d||!h.__zr)&&h.__isRendered){p=h.getPrevPaintRect();p&&u(p)}}do{r=!1;for(c=0;c<o.length;)if(o[c].isZero())o.splice(c,1);else{for(var g=c+1;g<o.length;)o[c].intersect(o[g])?(r=!0,o[c].union(o[g]),o.splice(g,1)):g++;c++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,r=this.ctx,o=i.width,a=i.height;e=e||this.clearColor;var l=this.motionBlur&&!t,u=this.lastFrameAlpha,c=this.dpr,h=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/c,a/c));var d=this.domBack;function p(t,n,i,o){if(r.clearRect(t,n,i,o),e&&"transparent"!==e){var a=void 0;s["x"](e)?(a=e.__canvasGradient||uy(r,e,{x:0,y:0,width:i,height:o}),e.__canvasGradient=a):s["y"](e)&&(a=xy(r,e,{dirty:function(){h.setUnpainted(),h.__painter.refresh()}})),r.save(),r.fillStyle=a||e,r.fillRect(t,n,i,o),r.restore()}l&&(r.save(),r.globalAlpha=u,r.drawImage(d,t,n,i,o),r.restore())}!n||l?p(0,0,o,a):n.length&&s["k"](n,(function(t){p(t.x*c,t.y*c,t.width*c,t.height*c)}))},e}(D),E_=P_,D_=1e5,L_=314159,j_=.01,R_=.001;function B_(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}function N_(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var F_=function(){function t(t,e,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=s["m"]({},n||{}),this.dpr=n.devicePixelRatio||cn,this._singleCanvas=r,this.root=t;var o=t.style;o&&(s["j"](t),t.innerHTML=""),this.storage=e;var a=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(r){var u=t,c=u.width,h=u.height;null!=n.width&&(c=n.width),null!=n.height&&(h=n.height),this.dpr=n.devicePixelRatio||1,u.width=c*this.dpr,u.height=h*this.dpr,this._width=c,this._height=h;var d=new E_(u,this,this.dpr);d.__builtin__=!0,d.initContext(),l[L_]=d,d.zlevel=L_,a.push(L_),this._domRoot=t}else{this._width=dy(t,0,n),this._height=dy(t,1,n);var p=this._domRoot=N_(this._width,this._height);t.appendChild(p)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(D_)),i||(i=n.ctx,i.save()),Vy(i,a,r,o===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(D_)},t.prototype.paintOne=function(t,e){zy(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;jt((function(){s._paintList(t,e,n,i)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(L_).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var i=this,r=[],o=this._opts.useDirtyRect,l=0;l<this._zlevelList.length;l++){var u=this._zlevelList[l],c=this._layers[u];c.__builtin__&&c!==this._hoverlayer&&(c.__dirty||n)&&r.push(c)}for(var h=!0,d=!1,p=function(a){var s,l=r[a],u=l.ctx,c=o&&l.createRepaintRects(t,e,f._width,f._height),p=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,m=g&&Date.now(),v=l.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,c);else if(p===l.__startIndex){var y=t[p];y.incremental&&y.notClear&&!n||l.clear(!1,v,c)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=l.__startIndex);var b=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=p;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(d=!0),i._doPaintEl(r,l,o,e,n,s===l.__endIndex-1),g){var a=Date.now()-m;if(a>15)break}}n.prevElClipPaths&&u.restore()};if(c)if(0===c.length)s=l.__endIndex;else for(var _=f.dpr,x=0;x<c.length;++x){var w=c[x];u.save(),u.beginPath(),u.rect(w.x*_,w.y*_,w.width*_,w.height*_),u.clip(),b(w),u.restore()}else u.save(),b(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(h=!1)},f=this,g=0;g<r.length;g++)p(g);return a["a"].wxa&&s["k"](this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:h,needsRefreshHover:d}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&(Vy(a,t,r,o),t.setPrevPaintRect(s))}else Vy(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=L_);var n=this._layers[t];return n||(n=new E_("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?s["I"](n,this._layerConfig[t],!0):this._layerConfig[t-j_]&&s["I"](n,this._layerConfig[t-j_],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]&&B_(e)){if(r>0&&t>i[0]){for(s=0;s<r-1;s++)if(i[s]<t&&i[s+1]>t)break;a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){a&&(a.__endIndex!==t&&(a.__dirty=!0),a.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){var i=t[n];if(i.zlevel!==t[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var r,o,a=null,l=0;for(o=0;o<t.length;o++){i=t[o];var u=i.zlevel,c=void 0;r!==u&&(r=u,l=0),i.incremental?(c=this.getLayer(u+R_,this._needsManuallyCompositing),c.incremental=!0,l=1):c=this.getLayer(u+(l>0?j_:0),this._needsManuallyCompositing),c.__builtin__||s["G"]("ZLevel "+u+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==o&&(c.__dirty=!0),c.__startIndex=o,c.incremental?c.__drawIndex=-1:c.__drawIndex=o,e(o),a=c),i.__dirty&Mt&&!i.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=o))}e(o),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,s["k"](this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?s["I"](n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===t||r===t+j_){var o=this._layers[r];s["I"](o,n[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(s["r"](n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=dy(r,0,i),e=dy(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(L_).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[L_].dom;var e=new E_("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];Vy(n,u,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}(),z_=F_;function V_(t){t.registerPainter("canvas",z_)}var q_=Math.sin,$_=Math.cos,H_=Math.PI,G_=2*Math.PI,W_=180/H_,U_=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,c=Math.abs(l),h=Object(fe["j"])(c-G_)||(u?l>=G_:-l>=G_),d=l>0?l%G_:l%G_+G_,p=!1;p=!!h||!Object(fe["j"])(c)&&d>=H_===!!u;var f=t+n*$_(o),g=e+i*q_(o);this._start&&this._add("M",f,g);var m=Math.round(r*W_);if(h){var v=1/this._p,y=(u?1:-1)*(G_-v);this._add("A",n,i,m,1,+u,t+n*$_(o+y),e+i*q_(o+y)),v>.01&&this._add("A",n,i,m,0,+u,f,g)}else{var b=t+n*$_(a),_=e+i*q_(a);this._add("A",n,i,m,+p,+u,b,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],c=this._p,h=1;h<arguments.length;h++){var d=arguments[h];if(isNaN(d))return void(this._invalid=!0);u.push(Math.round(d*c)/c)}this._d.push(t+u.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),Y_=U_,X_="none",K_=Math.round;function Z_(t){var e=t.fill;return null!=e&&e!==X_}function Q_(t){var e=t.stroke;return null!=e&&e!==X_}var J_=["lineCap","miterLimit","lineJoin"],tx=Object(s["H"])(J_,(function(t){return"stroke-"+t.toLowerCase()}));function ex(t,e,n,i){var r=null==e.opacity?1:e.opacity;if(n instanceof Ga)t("opacity",r);else{if(Z_(e)){var o=Object(fe["p"])(e.fill);t("fill",o.color);var a=null!=e.fillOpacity?e.fillOpacity*o.opacity*r:o.opacity*r;(i||a<1)&&t("fill-opacity",a)}else t("fill",X_);if(Q_(e)){var s=Object(fe["p"])(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?n.getLineScale():1,u=l?(e.lineWidth||0)/l:0,c=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,h=e.strokeFirst;if((i||1!==u)&&t("stroke-width",u),(i||h)&&t("paint-order",h?"stroke":"fill"),(i||c<1)&&t("stroke-opacity",c),e.lineDash){var d=fy(n),p=d[0],f=d[1];p&&(f=K_(f||0),t("stroke-dasharray",p.join(",")),(f||i)&&t("stroke-dashoffset",f))}else i&&t("stroke-dasharray",X_);for(var g=0;g<J_.length;g++){var m=J_[g];if(i||e[m]!==Da[m]){var v=e[m]||Da[m];v&&t(tx[g],v)}}}else i&&t("stroke",X_)}}var nx="http://www.w3.org/2000/svg",ix="http://www.w3.org/1999/xlink",rx="http://www.w3.org/2000/xmlns/",ox="http://www.w3.org/XML/1998/namespace";function ax(t){return document.createElementNS(nx,t)}function sx(t,e,n,i,r){return{tag:t,attrs:n||{},children:i,text:r,key:e}}function lx(t,e){var n=[];if(e)for(var i in e){var r=e[i],o=i;!1!==r&&(!0!==r&&null!=r&&(o+='="'+r+'"'),n.push(o))}return"<"+t+" "+n.join(" ")+">"}function ux(t){return"</"+t+">"}function cx(t,e){e=e||{};var n=e.newline?"\n":"";function i(t){var e=t.children,r=t.tag,o=t.attrs;return lx(r,o)+(t.text||"")+(e?""+n+Object(s["H"])(e,(function(t){return i(t)})).join(n)+n:"")+ux(r)}return i(t)}function hx(t,e,n){n=n||{};var i=n.newline?"\n":"",r=" {"+i,o=i+"}",a=Object(s["H"])(Object(s["F"])(t),(function(e){return e+r+Object(s["H"])(Object(s["F"])(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),l=Object(s["H"])(Object(s["F"])(e),(function(t){return"@keyframes "+t+r+Object(s["H"])(Object(s["F"])(e[t]),(function(n){return n+r+Object(s["H"])(Object(s["F"])(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||l?["<![CDATA[",a,l,"]]>"].join(i):""}function dx(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function px(t,e,n,i){return sx("svg","root",{width:t,height:e,xmlns:nx,"xmlns:xlink":ix,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var fx={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},gx="transform-origin";function mx(t,e,n){var i=Object(s["m"])({},t.shape);Object(s["m"])(i,e),t.buildPath(n,i);var r=new Y_;return r.reset(Object(fe["f"])(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function vx(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[gx]=n+"px "+i+"px")}var yx={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function bx(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function _x(t,e,n){var i,r,o=t.shape.paths,a={};if(Object(s["k"])(o,(function(t){var e=dx(n.zrId);e.animation=!0,wx(t,{},e,!0);var o=e.cssAnims,l=e.cssNodes,u=Object(s["F"])(o),c=u.length;if(c){r=u[c-1];var h=o[r];for(var d in h){var p=h[d];a[d]=a[d]||{d:""},a[d].d+=p.d||""}for(var f in l){var g=l[f].animation;g.indexOf(r)>=0&&(i=g)}}})),i){e.d=!1;var l=bx(a,n);return i.replace(r,l)}}function xx(t){return Object(s["C"])(t)?fx[t]?"cubic-bezier("+fx[t]+")":ce(t)?t:"":""}function wx(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof qg){var l=_x(t,e,n);if(l)a.push(l);else if(!o)return}else if(!o)return;for(var u={},c=0;c<o;c++){var h=r[c],d=[h.getMaxTime()/1e3+"s"],p=xx(h.getClip().easing),f=h.getDelay();p?d.push(p):d.push("linear"),f&&d.push(f/1e3+"s"),h.getLoop()&&d.push("infinite");var g=d.join(" ");u[g]=u[g]||[g,[]],u[g][1].push(h)}function m(r){var o,a=r[1],l=a.length,u={},c={},h={},d="animation-timing-function";function p(t,e,n){for(var i=t.getTracks(),r=t.getMaxTime(),o=0;o<i.length;o++){var a=i[o];if(a.needsAnimate()){var l=a.keyframes,u=a.propName;if(n&&(u=n(u)),u)for(var c=0;c<l.length;c++){var h=l[c],p=Math.round(h.time/r*100)+"%",f=xx(h.easing),g=h.rawValue;(Object(s["C"])(g)||Object(s["z"])(g))&&(e[p]=e[p]||{},e[p][u]=h.rawValue,f&&(e[p][d]=f))}}}}for(var f=0;f<l;f++){var g=a[f],m=g.targetName;m?"shape"===m&&p(g,c):!i&&p(g,u)}for(var v in u){var y={};Dn(y,t),Object(s["m"])(y,u[v]);var b=Object(fe["g"])(y),_=u[v][d];h[v]=b?{transform:b}:{},vx(h[v],y),_&&(h[v][d]=_)}var x=!0;for(var v in c){h[v]=h[v]||{};var w=!o;_=c[v][d];w&&(o=new ha);var S=o.len();o.reset(),h[v].d=mx(t,c[v],o);var C=o.len();if(!w&&S!==C){x=!1;break}_&&(h[v][d]=_)}if(!x)for(var v in h)delete h[v].d;if(!i)for(f=0;f<l;f++){g=a[f],m=g.targetName;"style"===m&&p(g,h,(function(t){return yx[t]}))}var k,M=Object(s["F"])(h),O=!0;for(f=1;f<M.length;f++){var T=M[f-1],A=M[f];if(h[T][gx]!==h[A][gx]){O=!1;break}k=h[T][gx]}if(O&&k){for(var v in h)h[v][gx]&&delete h[v][gx];e[gx]=k}if(Object(s["n"])(M,(function(t){return Object(s["F"])(h[t]).length>0})).length){var I=bx(h,n);return I+" "+r[0]+" both"}}for(var v in u){l=m(u[v]);l&&a.push(l)}if(a.length){var y=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+y]={animation:a.join(",")},e["class"]=y}}var Sx=Math.round;function Cx(t){return t&&Object(s["C"])(t.src)}function kx(t){return t&&Object(s["w"])(t.toDataURL)}function Mx(t,e,n,i){ex((function(r,o){var a="fill"===r||"stroke"===r;a&&Object(fe["k"])(o)?zx(e,t,r,i):a&&Object(fe["n"])(o)?Vx(n,t,r,i):t[r]=o}),e,n,!1),Fx(n,t,i)}function Ox(t){return Object(fe["j"])(t[0]-1)&&Object(fe["j"])(t[1])&&Object(fe["j"])(t[2])&&Object(fe["j"])(t[3]-1)}function Tx(t){return Object(fe["j"])(t[4])&&Object(fe["j"])(t[5])}function Ax(t,e,n){if(e&&(!Tx(e)||!Ox(e))){var i=n?10:1e4;t.transform=Ox(e)?"translate("+Sx(e[4]*i)/i+" "+Sx(e[5]*i)/i+")":Object(fe["e"])(e)}}function Ix(t,e,n){for(var i=t.points,r=[],o=0;o<i.length;o++)r.push(Sx(i[o][0]*n)/n),r.push(Sx(i[o][1]*n)/n);e.points=r.join(" ")}function Px(t){return!t.smooth}function Ex(t){var e=Object(s["H"])(t,(function(t){return"string"===typeof t?[t,t]:t}));return function(t,n,i){for(var r=0;r<e.length;r++){var o=e[r],a=t[o[0]];null!=a&&(n[o[1]]=Sx(a*i)/i)}}}var Dx={circle:[Ex(["cx","cy","r"])],polyline:[Ix,Px],polygon:[Ix,Px]};function Lx(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}function jx(t,e){var n=t.style,i=t.shape,r=Dx[t.type],o={},a=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&Object(fe["f"])(t)||4;if(!r||e.willUpdate||r[1]&&!r[1](i)||a&&Lx(t)||l<1){t.path||t.createPathProxy();var c=t.path;t.shapeChanged()&&(c.beginPath(),t.buildPath(c,t.shape),t.pathUpdated());var h=c.getVersion(),d=t,p=d.__svgPathBuilder;d.__svgPathVersion===h&&p&&l===d.__svgPathStrokePercent||(p||(p=d.__svgPathBuilder=new Y_),p.reset(u),c.rebuildPath(p,l),p.generateStr(),d.__svgPathVersion=h,d.__svgPathStrokePercent=l),o.d=p.getStr()}else{s=t.type;var f=Math.pow(10,u);r[0](i,o,f)}return Ax(o,t.transform),Mx(o,n,t,e),e.animation&&wx(t,o,e),sx(s,t.id+"",o)}function Rx(t,e){var n=t.style,i=n.image;if(i&&!Object(s["C"])(i)&&(Cx(i)?i=i.src:kx(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a=n.width,l=n.height,u={href:i,width:a,height:l};return r&&(u.x=r),o&&(u.y=o),Ax(u,t.transform),Mx(u,n,t,e),e.animation&&wx(t,u,e),sx("image",t.id+"",u)}}function Bx(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||Yn["a"],o=n.x||0,a=Object(fe["b"])(n.y||0,ei(r),n.textBaseline),s=fe["a"][n.textAlign]||n.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(cs(n)){var u="",c=n.fontStyle,h=ls(n.fontSize);if(!parseFloat(h))return;var d=n.fontFamily||Yn["b"],p=n.fontWeight;u+="font-size:"+h+";font-family:"+d+";",c&&"normal"!==c&&(u+="font-style:"+c+";"),p&&"normal"!==p&&(u+="font-weight:"+p+";"),l.style=u}else l.style="font: "+r;return i.match(/\s/)&&(l["xml:space"]="preserve"),o&&(l.x=o),a&&(l.y=a),Ax(l,t.transform),Mx(l,n,t,e),e.animation&&wx(t,l,e),sx("text",t.id+"",l,void 0,i)}}function Nx(t,e){return t instanceof Ba?jx(t,e):t instanceof Ga?Rx(t,e):t instanceof za?Bx(t,e):void 0}function Fx(t,e,n){var i=t.style;if(Object(fe["i"])(i)){var r=Object(fe["h"])(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=i.shadowOffsetX||0,h=i.shadowOffsetY||0,d=i.shadowBlur,p=Object(fe["p"])(i.shadowColor),f=p.opacity,g=p.color,m=d/2/l,v=d/2/u,y=m+" "+v;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=sx("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[sx("feDropShadow","",{dx:c/l,dy:h/u,stdDeviation:y,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=Object(fe["d"])(a)}}function zx(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(fe["m"])(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Object(fe["o"])(o))return void 0;r="radialGradient",a.cx=Object(s["P"])(o.x,.5),a.cy=Object(s["P"])(o.y,.5),a.r=Object(s["P"])(o.r,.5)}for(var l=o.colorStops,u=[],c=0,h=l.length;c<h;++c){var d=100*Object(fe["q"])(l[c].offset)+"%",p=l[c].color,f=Object(fe["p"])(p),g=f.color,m=f.opacity,v={offset:d};v["stop-color"]=g,m<1&&(v["stop-opacity"]=m),u.push(sx("stop",c+"",v))}var y=sx(r,"",a,u),b=cx(y),_=i.gradientCache,x=_[b];x||(x=i.zrId+"-g"+i.gradientIdx++,_[b]=x,a.id=x,i.defs[x]=sx(r,x,a,u)),e[n]=Object(fe["d"])(x)}function Vx(t,e,n,i){var r,o=t.style[n],a={patternUnits:"userSpaceOnUse"};if(Object(fe["l"])(o)){var l=o.imageWidth,u=o.imageHeight,c=void 0,h=o.image;if(Object(s["C"])(h)?c=h:Cx(h)?c=h.src:kx(h)&&(c=h.toDataURL()),"undefined"===typeof Image){var d="Image width/height must been given explictly in svg-ssr renderer.";Object(s["b"])(l,d),Object(s["b"])(u,d)}else if(null==l||null==u){var p=function(t,e){if(t){var n=t.elm,i=t.attrs.width=l||e.width,r=t.attrs.height=u||e.height;n&&(n.setAttribute("width",i),n.setAttribute("height",r))}},f=no(c,null,t,(function(t){p(g,t),p(r,t)}));f&&f.width&&f.height&&(l=l||f.width,u=u||f.height)}r=sx("image","img",{href:c,width:l,height:u}),a.width=l,a.height=u}else o.svgElement&&(r=Object(s["d"])(o.svgElement),a.width=o.svgWidth,a.height=o.svgHeight);if(r){a.patternTransform=Object(fe["g"])(o);var g=sx("pattern","",a,[r]),m=cx(g),v=i.patternCache,y=v[m];y||(y=i.zrId+"-p"+i.patternIdx++,v[m]=y,a.id=y,g=i.defs[y]=sx("pattern",y,a,[r])),e[n]=Object(fe["d"])(y)}}function qx(t,e,n){var i=n.clipPathCache,r=n.defs,o=i[t.id];if(!o){o=n.zrId+"-c"+n.clipPathIdx++;var a={id:o};i[t.id]=o,r[o]=sx("clipPath",o,a,[jx(t,n)])}e["clip-path"]=Object(fe["d"])(o)}function $x(t){return document.createTextNode(t)}function Hx(t,e,n){t.insertBefore(e,n)}function Gx(t,e){t.removeChild(e)}function Wx(t,e){t.appendChild(e)}function Ux(t){return t.parentNode}function Yx(t){return t.nextSibling}function Xx(t,e){t.textContent=e}var Kx=58,Zx=120,Qx=sx("","");function Jx(t){return void 0===t}function tw(t){return void 0!==t}function ew(t,e,n){for(var i={},r=e;r<=n;++r){var o=t[r].key;void 0!==o&&(i[o]=r)}return i}function nw(t,e){var n=t.key===e.key,i=t.tag===e.tag;return i&&n}function iw(t){var e,n=t.children,i=t.tag;if(tw(i)){var r=t.elm=ax(i);if(aw(Qx,t),Object(s["t"])(n))for(e=0;e<n.length;++e){var o=n[e];null!=o&&Wx(r,iw(o))}else tw(t.text)&&!Object(s["A"])(t.text)&&Wx(r,$x(t.text))}else t.elm=$x(t.text);return t.elm}function rw(t,e,n,i,r){for(;i<=r;++i){var o=n[i];null!=o&&Hx(t,iw(o),e)}}function ow(t,e,n,i){for(;n<=i;++n){var r=e[n];if(null!=r)if(tw(r.tag)){var o=Ux(r.elm);Gx(o,r.elm)}else Gx(t,r.elm)}}function aw(t,e){var n,i=e.elm,r=t&&t.attrs||{},o=e.attrs||{};if(r!==o){for(n in o){var a=o[n],s=r[n];s!==a&&(!0===a?i.setAttribute(n,""):!1===a?i.removeAttribute(n):n.charCodeAt(0)!==Zx?i.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?i.setAttributeNS(rx,n,a):n.charCodeAt(3)===Kx?i.setAttributeNS(ox,n,a):n.charCodeAt(5)===Kx?i.setAttributeNS(ix,n,a):i.setAttribute(n,a))}for(n in r)n in o||i.removeAttribute(n)}}function sw(t,e,n){var i,r,o,a,s=0,l=0,u=e.length-1,c=e[0],h=e[u],d=n.length-1,p=n[0],f=n[d];while(s<=u&&l<=d)null==c?c=e[++s]:null==h?h=e[--u]:null==p?p=n[++l]:null==f?f=n[--d]:nw(c,p)?(lw(c,p),c=e[++s],p=n[++l]):nw(h,f)?(lw(h,f),h=e[--u],f=n[--d]):nw(c,f)?(lw(c,f),Hx(t,c.elm,Yx(h.elm)),c=e[++s],f=n[--d]):nw(h,p)?(lw(h,p),Hx(t,h.elm,c.elm),h=e[--u],p=n[++l]):(Jx(i)&&(i=ew(e,s,u)),r=i[p.key],Jx(r)?Hx(t,iw(p),c.elm):(o=e[r],o.tag!==p.tag?Hx(t,iw(p),c.elm):(lw(o,p),e[r]=void 0,Hx(t,o.elm,c.elm))),p=n[++l]);(s<=u||l<=d)&&(s>u?(a=null==n[d+1]?null:n[d+1].elm,rw(t,a,n,l,d)):ow(t,e,s,u))}function lw(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(aw(t,e),Jx(e.text)?tw(i)&&tw(r)?i!==r&&sw(n,i,r):tw(r)?(tw(t.text)&&Xx(n,""),rw(n,null,r,0,r.length-1)):tw(i)?ow(n,i,0,i.length-1):tw(t.text)&&Xx(n,""):t.text!==e.text&&(tw(i)&&ow(n,i,0,i.length-1),Xx(n,e.text)))}function uw(t,e){if(nw(t,e))lw(t,e);else{var n=t.elm,i=Ux(n);iw(e),null!==i&&(Hx(i,e.elm,Yx(n)),ow(i,[t],0,0))}return e}var cw=0,hw=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=dw("refreshHover"),this.configLayer=dw("configLayer"),this.storage=e,this._opts=n=Object(s["m"])({},n),this.root=t,this._id="zr"+cw++,this._oldVNode=px(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=ax("svg");aw(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",uw(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Nx(t,dx(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._backgroundColor,i=this._width,r=this._height,o=dx(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress;var a=[];if(n&&"none"!==n){var l=Object(fe["p"])(n),u=l.color,c=l.opacity;this._bgVNode=sx("rect","bg",{width:i,height:r,x:"0",y:"0",id:"0",fill:u,"fill-opacity":c}),a.push(this._bgVNode)}else this._bgVNode=null;var h=t.compress?null:this._mainVNode=sx("g","main",{},[]);this._paintList(e,o,h?h.children:a),h&&a.push(h);var d=Object(s["H"])(Object(s["F"])(o.defs),(function(t){return o.defs[t]}));if(d.length&&a.push(sx("defs","defs",{},d)),t.animation){var p=hx(o.cssNodes,o.cssAnims,{newline:!0});if(p){var f=sx("style","stl",{},[],p);a.push(f)}}return px(i,r,a,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},cx(this.renderToVNode({animation:Object(s["P"])(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(s["P"])(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t;var e=this._bgVNode;if(e&&e.elm){var n=Object(fe["p"])(t),i=n.color,r=n.opacity;e.elm.setAttribute("fill",i),r<1&&e.elm.setAttribute("fill-opacity",r)}},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u<o;u++){var c=t[u];if(!c.invisible){var h=c.__clipPaths,d=h&&h.length||0,p=r&&r.length||0,f=void 0;for(f=Math.max(d-1,p-1);f>=0;f--)if(h&&r&&h[f]===r[f])break;for(var g=p-1;g>f;g--)s--,i=a[s-1];for(var m=f+1;m<d;m++){var v={};qx(h[m],v,e);var y=sx("g","clip-g-"+l++,v,[]);(i?i.children:n).push(y),a[s++]=y,i=y}r=h;var b=Nx(c,e);b&&(i?i.children:n).push(b)}}},t.prototype.resize=function(t,e){var n=this._opts,i=this.root,r=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),i&&r&&(r.style.display="none",t=dy(i,0,n),e=dy(i,1,n),r.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,r){var o=r.style;o.width=t+"px",o.height=e+"px"}var a=this._svgDom;a&&(a.setAttribute("width",t),a.setAttribute("height",e))}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=encodeURIComponent(this.renderToString()),n="data:image/svg+xml;";return t?(e=Object(fe["c"])(e),e&&n+"base64,"+e):n+"charset=UTF-8,"+e},t}();function dw(t){return function(){0}}var pw=hw;function fw(t){t.registerPainter("svg",pw)}function gw(t){return null==t?0:t.length||1}function mw(t){return t}var vw=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||mw,this._newKeyGetter=i||mw,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=i[o],s=n[a],l=gw(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<r.length;a++){var s=r[a],l=n[s],u=i[s],c=gw(l),h=gw(u);if(c>1&&1===h)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===c&&h>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===c&&1===h)this._update&&this._update(u,l),i[s]=null;else if(c>1&&h>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(c>1)for(var d=0;d<c;d++)this._remove&&this._remove(l[d]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],o=gw(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[i](t[o],o);if(r||(n[o]=a),e){var s=e[a],l=gw(s);0===l?(e[a]=o,r&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),yw=vw,bw=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function _w(t,e){var n={},i=n.encode={},r=Object(s["f"])(),o=[],a=[],l={};Object(s["k"])(t.dimensions,(function(e){var n=t.getDimensionInfo(e),s=n.coordDim;if(s){0;var u=n.coordDimIndex;xw(i,s)[u]=e,n.isExtraCoord||(r.set(s,1),Sw(n.type)&&(o[0]=e),xw(l,s)[u]=t.getDimensionIndex(n.name)),n.defaultTooltip&&a.push(e)}Zc.each((function(t,e){var r=xw(i,e),o=n.otherDims[e];null!=o&&!1!==o&&(r[o]=n.name)}))}));var u=[],c={};r.each((function(t,e){var n=i[e];c[e]=n[0],u=u.concat(n)})),n.dataDimsOnCoord=u,n.dataDimIndicesOnCoord=Object(s["H"])(u,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=c;var h=i.label;h&&h.length&&(o=h.slice());var d=i.tooltip;return d&&d.length?a=d.slice():a.length||(a=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=a,n.userOutput=new bw(l,e),n}function xw(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function ww(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function Sw(t){return!("ordinal"===t||"time"===t)}var Cw=function(){function t(t){this.otherDims={},null!=t&&s["m"](this,t)}return t}(),kw=Cw,Mw=kr(),Ow={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Tw=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=Pw(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return Object(s["P"])(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=Fd(this.source),n=!Ew(t),i="",r=[],o=0,a=0;o<t;o++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[a];if(c&&c.storeDimIndex===o)s=e?c.name:null,l=c.type,u=c.ordinalMeta,a++;else{var h=this.getSourceDimension(o);h&&(s=e?h.name:null,l=h.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||c&&c.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=Ow[l]||"f",u&&(i+=u.uid),i+="$"}var d=this.source,p=[d.seriesLayoutBy,d.startIndex,i].join("$$");return{dimensions:r,hash:p}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function Aw(t){return t instanceof Tw}function Iw(t){for(var e=Object(s["f"])(),n=0;n<(t||[]).length;n++){var i=t[n],r=Object(s["A"])(i)?i.name:i;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function Pw(t){var e=Mw(t);return e.dimNameMap||(e.dimNameMap=Iw(t.dimensionsDefine))}function Ew(t){return t>30}var Dw,Lw,jw,Rw,Bw,Nw,Fw,zw=s["A"],Vw=s["H"],qw="undefined"===typeof Int32Array?Array:Int32Array,$w="e\0\0",Hw=-1,Gw=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Ww=["_approximateExtent"],Uw=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;Aw(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},l=!1,u={},c=0;c<n.length;c++){var h=n[c],d=s["C"](h)?new kw({name:h}):h instanceof kw?h:new kw(h),p=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=p,d.coordDimIndex=0);var f=d.otherDims=d.otherDims||{};o.push(p),r[p]=d,null!=u[p]&&(l=!0),d.createInvertedIndices&&(a[p]=[]),0===f.itemName&&(this._nameDimIdx=c),0===f.itemId&&(this._idDimIdx=c),i&&(d.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(l),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var g=this._dimIdxToName=s["f"]();s["k"](o,(function(t){g.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(s["z"](t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);return e},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){var e=this._dimSummary,n=e.encode[t];return(n||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof jp&&(i=t),!i){var o=this.dimensions,a=Id(t)||s["u"](t)?new zd(t,o.length):t;i=new jp;var l=Vw(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));i.initData(a,l,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=_w(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&Fw(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==nh&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList,a=i.getSource().sourceFormat,s=a===Qc;if(s&&!i.pure)for(var l=[],u=t;u<e;u++){var c=i.getItem(u,l);if(!this.hasItemOption&&sr(c)&&(this.hasItemOption=!0),c){var h=c.name;null==r[u]&&null!=h&&(r[u]=vr(h,null));var d=c.id;null==o[u]&&null!=d&&(o[u]=vr(d,null))}}if(this._shouldMakeIdFromName())for(u=t;u<e;u++)Fw(this,u);Dw(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){zw(t)?s["m"](this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=jw(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return Lw(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return s["t"](t)?i.getValues(Vw(t,(function(t){return n._getStoreDimIndex(t)})),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];var i=n[e];return null==i||isNaN(i)?Hw:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){s["w"](t)&&(n=e,e=t,t=[]);var i=n||this,r=Vw(Rw(t),this._getStoreDimIndex,this);this._store.each(r,i?s["c"](e,i):e)},t.prototype.filterSelf=function(t,e,n){s["w"](t)&&(n=e,e=t,t=[]);var i=n||this,r=Vw(Rw(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?s["c"](e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=s["F"](t),r=[];return s["k"](i,(function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){s["w"](t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,(function(){i.push(e&&e.apply(this,arguments))}),n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=Vw(Rw(t),this._getStoreDimIndex,this),a=Nw(this);return a._store=this._store.map(o,r?s["c"](e,r):e),a},t.prototype.modify=function(t,e,n,i){var r=n||i||this;var o=Vw(Rw(t),this._getStoreDimIndex,this);this._store.modify(o,r?s["c"](e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=Nw(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=Nw(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new xu(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new yw(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return Lw(t,e)}),(function(t){return Lw(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},zw(t)?s["m"](this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),s["t"](r)?r=r.slice():zw(r)&&(r=s["m"]({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,zw(e)?s["m"](i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){zw(t)?s["m"](this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?s["m"](this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;_s(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){s["k"](this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:Vw(this.dimensions,this._getDimInfo,this),this.hostModel)),Bw(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];s["w"](n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(s["S"](arguments)))})},t.internalField=function(){Dw=function(t){var e=t._invertedIndicesMap;s["k"](e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new qw(o.categories.length);for(var s=0;s<n.length;s++)n[s]=Hw;for(s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}}))},jw=function(t,e,n){return vr(t._getCategory(e,n),null)},Lw=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=jw(t,t._idDimIdx,e)),null==n&&(n=$w+e),n},Rw=function(t){return s["t"](t)||(t=null!=t?[t]:[]),t},Nw=function(e){var n=new t(e._schema?e._schema:Vw(e.dimensions,e._getDimInfo,e),e.hostModel);return Bw(n,e),n},Bw=function(t,e){s["k"](Gw.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,s["k"](Ww,(function(n){t[n]=s["d"](e[n])})),t._calculationInfo=s["m"]({},e._calculationInfo)},Fw=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,o=t._idDimIdx,a=n[e],s=i[e];if(null==a&&null!=r&&(n[e]=a=jw(t,r,e)),null==s&&null!=o&&(i[e]=s=jw(t,o,e)),null==s&&null!=a){var l=t._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),i[e]=s}}}(),t}(),Yw=Uw;function Xw(t,e){Id(t)||(t=Ed(t)),e=e||{};var n=e.coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=Object(s["f"])(),o=[],a=Zw(t,n,i,e.dimensionsCount),l=e.canOmitUnusedDimensions&&Ew(a),u=i===t.dimensionsDefine,c=u?Pw(t):Iw(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var d=Object(s["f"])(h),p=new Op(a),f=0;f<p.length;f++)p[f]=-1;function g(t){var e=p[t];if(e<0){var n=i[t],r=Object(s["A"])(n)?n:{name:n},a=new kw,l=r.name;null!=l&&null!=c.get(l)&&(a.name=a.displayName=l),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var u=o.length;return p[t]=u,a.storeDimIndex=t,o.push(a),a}return o[e]}if(!l)for(f=0;f<a;f++)g(f);d.each((function(t,e){var n=ir(t).slice();if(1===n.length&&!Object(s["C"])(n[0])&&n[0]<0)d.set(e,!1);else{var i=d.set(e,[]);Object(s["k"])(n,(function(t,n){var r=Object(s["C"])(t)?c.get(t):t;null!=r&&r<a&&(i[n]=r,v(g(r),e,n))}))}}));var m=0;function v(t,e,n){null!=Zc.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,r.set(e,!0))}Object(s["k"])(n,(function(t){var e,n,i,r;if(Object(s["C"])(t))e=t,r={};else{r=t,e=r.name;var o=r.ordinalMeta;r.ordinalMeta=null,r=Object(s["m"])({},r),r.ordinalMeta=o,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var l=d.get(e);if(!1!==l){if(l=ir(l),!l.length)for(var c=0;c<(n&&n.length||1);c++){while(m<a&&null!=g(m).coordDim)m++;m<a&&l.push(m++)}Object(s["k"])(l,(function(t,o){var a=g(t);if(u&&null!=r.type&&(a.type=r.type),v(Object(s["i"])(a,r),e,o),null==a.name&&n){var l=n[o];!Object(s["A"])(l)&&(l={name:l}),a.name=a.displayName=l.name,a.defaultTooltip=l.defaultTooltip}i&&Object(s["i"])(a.otherDims,i)}))}}));var y=e.generateCoord,b=e.generateCoordCount,_=null!=b;b=y?b||1:0;var x=y||"value";function w(t){null==t.name&&(t.name=t.coordDim)}if(l)Object(s["k"])(o,(function(t){w(t)})),o.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var S=0;S<a;S++){var C=g(S),k=C.coordDim;null==k&&(C.coordDim=Qw(x,r,_),C.coordDimIndex=0,(!y||b<=0)&&(C.isExtraCoord=!0),b--),w(C),null!=C.type||ph(t,S)!==ah.Must&&(!C.isExtraCoord||null==C.otherDims.itemName&&null==C.otherDims.seriesName)||(C.type="ordinal")}return Kw(o),new Tw({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:l})}function Kw(t){for(var e=Object(s["f"])(),n=0;n<t.length;n++){var i=t[n],r=i.name,o=e.get(r)||0;o>0&&(i.name=r+(o-1)),o++,e.set(r,o)}}function Zw(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return Object(s["k"])(e,(function(t){var e;Object(s["A"])(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}function Qw(t,e,n){var i=e.data;if(n||i.hasOwnProperty(t)){var r=0;while(i.hasOwnProperty(t+r))r++;t+=r}return e.set(t,!0),t}var Jw=function(){function t(t){this.coordSysDims=[],this.axisMap=Object(s["f"])(),this.categoryAxisMap=Object(s["f"])(),this.coordSysName=t}return t}();function tS(t){var e=t.get("coordinateSystem"),n=new Jw(e),i=eS[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}var eS={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Ar).models[0],o=t.getReferringComponents("yAxis",Ar).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),nS(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),nS(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Ar).models[0];e.coordSysDims=["single"],n.set("single",r),nS(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Ar).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),nS(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),nS(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();Object(s["k"])(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),nS(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function nS(t){return"category"===t.get("type")}function iS(t,e,n){n=n||{};var i,r,o,a=n.byIndex,l=n.stackedCoordDimension;rS(e)?i=e:(r=e.schema,i=r.dimensions,o=e.store);var u,c,h,d,p=!(!t||!t.get("stack"));if(Object(s["k"])(i,(function(t,e){Object(s["C"])(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||u||!t.ordinalMeta||(u=t),c||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(c=t))})),!c||a||u||(a=!0),c){h="__\0ecstackresult_"+t.id,d="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var f=c.coordDim,g=c.type,m=0;Object(s["k"])(i,(function(t){t.coordDim===f&&m++}));var v={name:h,coordDim:f,coordDimIndex:m,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},y={name:d,coordDim:d,coordDimIndex:m+1,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(v.storeDimIndex=o.ensureCalculationDimension(d,g),y.storeDimIndex=o.ensureCalculationDimension(h,g)),r.appendCalculationDimension(v),r.appendCalculationDimension(y)):(i.push(v),i.push(y))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:a,stackedOverDimension:d,stackResultDimension:h}}function rS(t){return!Aw(t.schema)}function oS(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function aS(t,e){return oS(t,e)?t.getCalculationInfo("stackResultDimension"):e}function sS(t,e){var n,i=t.get("coordinateSystem"),r=Hh.get(i);return e&&e.coordSysDims&&(n=s["H"](e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=ww(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}function lS(t,e,n){var i,r;return n&&s["k"](t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}function uS(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=Ed(t)):(i=r.getSource(),o=i.sourceFormat===Qc);var a=tS(e),l=sS(e,a),u=n.useEncodeDefaulter,c=s["w"](u)?u:u?s["h"](uh,l,e):null,h={coordDimensions:l,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!o},d=Xw(i,h),p=lS(d.dimensions,n.createInvertedIndices,a),f=o?null:r.getSharedDataStore(d),g=iS(e,{schema:d,store:f}),m=new Yw(d,e);m.setCalculationInfo(g);var v=null!=p&&cS(i)?function(t,e,n,i){return i===p?n:this.defaultDimValueGetter(t,e,n,i)}:null;return m.hasItemOption=!1,m.initData(o?i:f,null,v),m}function cS(t){if(t.sourceFormat===Qc){var e=hS(t.data||[]);return!s["t"](ar(e))}}function hS(t){var e=0;while(e<t.length&&null==t[e])e++;return t[e]}var dS=uS,pS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.getInitialData=function(t){return dS(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new bi,n=iy("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,a=.8*t.itemHeight,s=iy(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?r:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(xf),fS=pS;function gS(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=Zd(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a<n.length;a++)o.push(Zd(t,e,n[a]));return o.join(" ")}}function mS(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!Object(s["t"])(e))return e+"";for(var i=[],r=0;r<n.length;r++){var o=t.getDimensionIndex(n[r]);o>=0&&i.push(e[o])}return i.join(" ")}var vS=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return o(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=iy(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=yS,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){rl(this.childAt(0))},e.prototype.downplay=function(){ol(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,c)}else{var h=this.childAt(0);h.silent=!1;var d={scaleX:s[0]/2,scaleY:s[1]/2};u?h.attr(d):Nl(h,d,a,n),Hl(h)}if(this._updateCommon(t,n,s,i,r),l){h=this.childAt(0);if(!u){d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,Fl(h,d,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,l,u,c,h,d,p,f,g=this.childAt(0),m=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,l=i.selectItemStyle,u=i.focus,c=i.blurScope,d=i.labelStatesModels,p=i.hoverScale,f=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var v=i&&i.itemModel?i.itemModel:t.getItemModel(e),y=v.getModel("emphasis");o=y.getModel("itemStyle").getItemStyle(),l=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),u=y.get("focus"),c=y.get("blurScope"),h=y.get("disabled"),d=Kl(v),p=y.getShallow("scale"),f=v.getShallow("cursor")}var b=t.getItemVisual(e,"symbolRotate");g.attr("rotation",(b||0)*Math.PI/180||0);var _=oy(t.getItemVisual(e,"symbolOffset"),n);_&&(g.x=_[0],g.y=_[1]),f&&g.attr("cursor",f);var x=t.getItemVisual(e,"style"),w=x.fill;if(g instanceof Ga){var S=g.style;g.useStyle(Object(s["m"])({image:S.image,x:S.x,y:S.y,width:S.width,height:S.height},x))}else g.__isEmptyBrush?g.useStyle(Object(s["m"])({},x)):g.useStyle(x),g.style.decal=null,g.setColor(w,r&&r.symbolInnerColor),g.style.strokeNoScale=!0;var C=t.getItemVisual(e,"liftZ"),k=this._z2;null!=C?null==k&&(this._z2=g.z2,g.z2+=C):null!=k&&(g.z2=k,this._z2=null);var M=r&&r.useNameLabel;function O(e){return M?t.getName(e):gS(t,e)}Xl(g,d,{labelFetcher:m,labelDataIndex:e,defaultText:O,inheritColor:w,defaultOpacity:x.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var T=g.ensureState("emphasis");if(T.style=o,g.ensureState("select").style=l,g.ensureState("blur").style=a,p){var A=Math.max(Object(s["z"])(p)?p:1.1,3/this._sizeY);T.scaleX=this._sizeX*A,T.scaleY=this._sizeY*A}this.setSymbolScale(1),Sl(this,u,c,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=bs(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&Vl(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Vl(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return ry(t.getItemVisual(e,"symbolSize"))},e}(bi);function yS(t,e){this.parent.drift(t,e)}var bS=vS;function _S(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function xS(t){return null==t||Object(s["A"])(t)||(t={isIgnore:t}),t||{}}function wS(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Kl(e),cursorStyle:e.get("cursor")}}var SS=function(){function t(t){this.group=new bi,this._SymbolCtor=t||bS}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=xS(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=wS(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(_S(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(c,h){var d=r.getItemGraphicEl(h),p=u(c);if(_S(t,p,c,e)){var f=t.getItemVisual(c,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==f)n.remove(d),d=new o(t,c,s,l),d.setPosition(p);else{d.updateData(t,c,s,l);var m={x:p[0],y:p[1]};a?d.attr(m):Nl(d,m,i)}n.add(d),t.setItemGraphicEl(c,d)}else n.remove(d)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=wS(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=xS(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(_S(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}),n.hostModel)})):e.removeAll()},t}(),CS=SS;function kS(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),o=MS(r,n),a=i.dim,l=r.dim,u=e.mapDimension(l),c=e.mapDimension(a),h="x"===l||"radius"===l?1:0,d=Object(s["H"])(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,f=e.getCalculationInfo("stackResultDimension");return oS(e,d[0])&&(p=!0,d[0]=f),oS(e,d[1])&&(p=!0,d[1]=f),{dataDimsForPoint:d,valueStart:o,valueAxisDim:l,baseAxisDim:a,stacked:!!p,valueDim:u,baseDim:c,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function MS(t,e){var n=0,i=t.scale.getExtent();return"start"===e?n=i[0]:"end"===e?n=i[1]:Object(s["z"])(e)&&!isNaN(e)?n=e:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}function OS(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var TS="undefined"!==typeof Float32Array,AS=TS?Float32Array:Array;function IS(t){return Object(s["t"])(t)?TS?new Float32Array(t):t:new AS(t)}function PS(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}function ES(t,e,n,i,r,o,a,s){for(var l=PS(t,e),u=[],c=[],h=[],d=[],p=[],f=[],g=[],m=kS(r,e,a),v=t.getLayout("points")||[],y=e.getLayout("points")||[],b=0;b<l.length;b++){var _=l[b],x=!0,w=void 0,S=void 0;switch(_.cmd){case"=":w=2*_.idx,S=2*_.idx1;var C=v[w],k=v[w+1],M=y[S],O=y[S+1];(isNaN(C)||isNaN(k))&&(C=M,k=O),u.push(C,k),c.push(M,O),h.push(n[w],n[w+1]),d.push(i[S],i[S+1]),g.push(e.getRawIndex(_.idx1));break;case"+":var T=_.idx,A=m.dataDimsForPoint,I=r.dataToPoint([e.get(A[0],T),e.get(A[1],T)]);S=2*T,u.push(I[0],I[1]),c.push(y[S],y[S+1]);var P=OS(m,r,e,T);h.push(P[0],P[1]),d.push(i[S],i[S+1]),g.push(e.getRawIndex(T));break;case"-":x=!1}x&&(p.push(_),f.push(f.length))}f.sort((function(t,e){return g[t]-g[e]}));var E=u.length,D=IS(E),L=IS(E),j=IS(E),R=IS(E),B=[];for(b=0;b<f.length;b++){var N=f[b],F=2*b,z=2*N;D[F]=u[z],D[F+1]=u[z+1],L[F]=c[z],L[F+1]=c[z+1],j[F]=h[z],j[F+1]=h[z+1],R[F]=d[z],R[F+1]=d[z+1],B[b]=p[N]}return{current:D,next:L,stackedOnCurrent:j,stackedOnNext:R,status:B}}var DS=Math.min,LS=Math.max;function jS(t,e){return isNaN(t)||isNaN(e)}function RS(t,e,n,i,r,o,a,s,l){for(var u,c,h,d,p,f,g=n,m=0;m<i;m++){var v=e[2*g],y=e[2*g+1];if(g>=r||g<0)break;if(jS(v,y)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,y),h=v,d=y;else{var b=v-u,_=y-c;if(b*b+_*_<.5){g+=o;continue}if(a>0){var x=g+o,w=e[2*x],S=e[2*x+1];while(w===v&&S===y&&m<i)m++,x+=o,g+=o,w=e[2*x],S=e[2*x+1],v=e[2*g],y=e[2*g+1],b=v-u,_=y-c;var C=m+1;if(l)while(jS(w,S)&&C<i)C++,x+=o,w=e[2*x],S=e[2*x+1];var k=.5,M=0,O=0,T=void 0,A=void 0;if(C>=i||jS(w,S))p=v,f=y;else{M=w-u,O=S-c;var I=v-u,P=w-v,E=y-c,D=S-y,L=void 0,j=void 0;if("x"===s){L=Math.abs(I),j=Math.abs(P);var R=M>0?1:-1;p=v-R*L*a,f=y,T=v+R*j*a,A=y}else if("y"===s){L=Math.abs(E),j=Math.abs(D);var B=O>0?1:-1;p=v,f=y-B*L*a,T=v,A=y+B*j*a}else L=Math.sqrt(I*I+E*E),j=Math.sqrt(P*P+D*D),k=j/(j+L),p=v-M*a*(1-k),f=y-O*a*(1-k),T=v+M*a*k,A=y+O*a*k,T=DS(T,LS(w,v)),A=DS(A,LS(S,y)),T=LS(T,DS(w,v)),A=LS(A,DS(S,y)),M=T-v,O=A-y,p=v-M*L/j,f=y-O*L/j,p=DS(p,LS(u,v)),f=DS(f,LS(c,y)),p=LS(p,DS(u,v)),f=LS(f,DS(c,y)),M=v-p,O=y-f,T=v+M*j/L,A=y+O*j/L}t.bezierCurveTo(h,d,p,f,v,y),h=T,d=A}else t.lineTo(v,y)}u=v,c=y,g+=o}return m}var BS=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),NS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new BS},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0;r--)if(!jS(n[2*r-2],n[2*r-1]))break;for(;i<r;i++)if(!jS(n[2*i],n[2*i+1]))break}while(i<r)i+=RS(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path,o=r.data,a=ha.CMD,s="x"===e,l=[],u=0;u<o.length;){var c=o[u++],h=void 0,d=void 0,p=void 0,f=void 0,g=void 0,m=void 0,v=void 0;switch(c){case a.M:n=o[u++],i=o[u++];break;case a.L:if(h=o[u++],d=o[u++],v=s?(t-n)/(h-n):(t-i)/(d-i),v<=1&&v>=0){var y=s?(d-i)*v+i:(h-n)*v+n;return s?[t,y]:[y,t]}n=h,i=d;break;case a.C:h=o[u++],d=o[u++],p=o[u++],f=o[u++],g=o[u++],m=o[u++];var b=s?Zt(n,h,p,g,t,l):Zt(i,d,f,m,t,l);if(b>0)for(var _=0;_<b;_++){var x=l[_];if(x<=1&&x>=0){y=s?Xt(i,d,f,m,x):Xt(n,h,p,g,x);return s?[t,y]:[y,t]}}n=g,i=m;break}}},e}(Ba),FS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(BS),zS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return o(e,t),e.prototype.getDefaultShape=function(){return new FS},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0;o--)if(!jS(n[2*o-2],n[2*o-1]))break;for(;r<o;r++)if(!jS(n[2*r],n[2*r+1]))break}while(r<o){var s=RS(t,n,r,o,o,1,e.smooth,a,e.connectNulls);RS(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(Ba);function VS(t,e,n,i,r){var o=t.getArea(),a=o.x,l=o.y,u=o.width,c=o.height,h=n.get(["lineStyle","width"])||2;a-=h/2,l-=h/2,u+=h,c+=h,a=Math.floor(a),u=Math.round(u);var d=new ts({shape:{x:a,y:l,width:u,height:c}});if(e){var p=t.getBaseAxis(),f=p.isHorizontal(),g=p.inverse;f?(g&&(d.shape.x+=u),d.shape.width=0):(g||(d.shape.y+=c),d.shape.height=0);var m=Object(s["w"])(r)?function(t){r(t,d)}:null;Fl(d,{shape:{width:u,height:c,x:a,y:l}},n,null,i,m)}return d}function qS(t,e,n){var i=t.getArea(),r=Ei(i.r0,1),o=Ei(i.r,1),a=new vg({shape:{cx:Ei(t.cx,1),cy:Ei(t.cy,1),r0:r,r:o,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});if(e){var s="angle"===t.getBaseAxis().dim;s?a.shape.endAngle=i.startAngle:a.shape.r=r,Fl(a,{shape:{endAngle:i.endAngle,r:o}},n)}return a}function $S(t,e,n,i,r){return t?"polar"===t.type?qS(t,e,n):"cartesian2d"===t.type?VS(t,e,n,i,r):null:null}function HS(t,e){return t.type===e}function GS(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function WS(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),i=Math.max(a,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function US(t,e){var n=WS(t),i=n[0],r=n[1],o=WS(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(i[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function YS(t){return s["z"](t)?t:t?.5:0}function XS(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=IS(2*i),o=0;o<i;o++){var a=OS(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}function KS(t,e,n,i){var r=e.getBaseAxis(),o="x"===r.dim||"radius"===r.dim?0:1,a=[],s=0,l=[],u=[],c=[],h=[];if(i){for(s=0;s<t.length;s+=2)isNaN(t[s])||isNaN(t[s+1])||h.push(t[s],t[s+1]);t=h}for(s=0;s<t.length-2;s+=2)switch(c[0]=t[s+2],c[1]=t[s+3],u[0]=t[s],u[1]=t[s+1],a.push(u[0],u[1]),n){case"end":l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1]);break;case"middle":var d=(u[o]+c[o])/2,p=[];l[o]=p[o]=d,l[1-o]=u[1-o],p[1-o]=c[1-o],a.push(l[0],l[1]),a.push(p[0],p[1]);break;default:l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1])}return a.push(t[s++],t[s++]),a}function ZS(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord,r=(n-i)/(e.coord-i),o=Object(pe["b"])(r,[t.color,e.color]);return{coord:n,color:o}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)n=l;else{if(u>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}function QS(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var r,o,a=i.length-1;a>=0;a--){var l=t.getDimensionInfo(i[a].dimension);if(r=l&&l.coordDim,"x"===r||"y"===r){o=i[a];break}}if(o){var u=e.getAxis(r),c=s["H"](o.stops,(function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}})),h=c.length,d=o.outerColors.slice();h&&c[0].coord>c[h-1].coord&&(c.reverse(),d.reverse());var p=ZS(c,"x"===r?n.getWidth():n.getHeight()),f=p.length;if(!f&&h)return c[0].coord<0?d[1]?d[1]:c[h-1].color:d[0]?d[0]:c[0].color;var g=10,m=p[0].coord-g,v=p[f-1].coord+g,y=v-m;if(y<.001)return"transparent";s["k"](p,(function(t){t.offset=(t.coord-m)/y})),p.push({offset:f?p[f-1].offset:.5,color:d[1]||"transparent"}),p.unshift({offset:f?p[0].offset:.5,color:d[0]||"transparent"});var b=new Wg(0,0,0,0,p,!0);return b[r]=m,b[r+"2"]=v,b}}}function JS(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!tC(o,e))){var a=e.mapDimension(o.dim),l={};return s["k"](o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);l[e]=1})),function(t){return!l.hasOwnProperty(e.get(a,t))}}}}function tC(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*bS.getSymbolSize(e,a)[t.isHorizontal()?1:0]>i)return!1;return!0}function eC(t,e){return isNaN(t)||isNaN(e)}function nC(t){for(var e=t.length/2;e>0;e--)if(!eC(t[2*e-2],t[2*e-1]))break;return e-1}function iC(t,e){return[t[2*e],t[2*e+1]]}function rC(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u<o;u++)if(r=t[2*u+a],!isNaN(r)&&!isNaN(t[2*u+1-a]))if(0!==u){if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}function oC(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<Ts.length;e++)if(t.get([Ts[e],"endLabel","show"]))return!0;return!1}function aC(t,e,n,i){if(HS(e,"cartesian2d")){var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},l=oC(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),c=VS(e,n,i,(function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})}),l);if(!i.get("clip",!0)){var h=c.shape,d=Math.max(h.width,h.height);u?(h.y-=d,h.height+=2*d):(h.x-=d,h.width+=2*d)}return l&&l(1,c),c}return qS(e,n,i)}function sC(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}var lC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(){var t=new bi,e=new CS;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem,o=this.group,a=t.getData(),l=t.getModel("lineStyle"),u=t.getModel("areaStyle"),c=a.getLayout("points")||[],h="polar"===r.type,d=this._coordSys,p=this._symbolDraw,f=this._polyline,g=this._polygon,m=this._lineGroup,v=t.get("animation"),y=!u.isEmpty(),b=u.get("origin"),_=kS(r,a,b),x=y&&XS(r,a,_),w=t.get("showSymbol"),S=t.get("connectNulls"),C=w&&!h&&JS(t,a,r),k=this._data;k&&k.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),k.setItemGraphicEl(e,null))})),w||p.remove(),o.add(m);var M,O=!h&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(M=r.getArea(),null!=M.width?(M.x-=.1,M.y-=.1,M.width+=.2,M.height+=.2):M.r0&&(M.r0-=.5,M.r+=.5)),this._clipShapeForSymbol=M;var T=QS(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(f&&d.type===r.type&&O===this._step){y&&!g?g=this._newPolygon(c,x):g&&!y&&(m.remove(g),g=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,Ac(T));var A=m.getClipPath();if(A){var I=aC(this,r,!1,t);Fl(A,{shape:I.shape},t)}else m.setClipPath(aC(this,r,!0,t));w&&p.updateData(a,{isIgnore:C,clipShape:M,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),GS(this._stackedOnPoints,x)&&GS(this._points,c)||(v?this._doUpdateAnimation(a,x,r,n,O,b,S):(O&&(c=KS(c,r,O,S),x&&(x=KS(x,r,O,S))),f.setShape({points:c}),g&&g.setShape({points:c,stackedOnPoints:x})))}else w&&p.updateData(a,{isIgnore:C,clipShape:M,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),v&&this._initSymbolLabelAnimation(a,r,M),O&&(c=KS(c,r,O,S),x&&(x=KS(x,r,O,S))),f=this._newPolyline(c),y?g=this._newPolygon(c,x):g&&(m.remove(g),g=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,Ac(T)),m.setClipPath(aC(this,r,!0,t));var P=t.getModel("emphasis"),E=P.get("focus"),D=P.get("blurScope"),L=P.get("disabled");if(f.useStyle(s["i"](l.getLineStyle(),{fill:"none",stroke:T,lineJoin:"bevel"})),Ol(f,t,"lineStyle"),f.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])){var j=f.getState("emphasis").style;j.lineWidth=+f.style.lineWidth+1}bs(f).seriesIndex=t.seriesIndex,Sl(f,E,D,L);var R=YS(t.get("smooth")),B=t.get("smoothMonotone");if(f.setShape({smooth:R,smoothMonotone:B,connectNulls:S}),g){var N=a.getCalculationInfo("stackedOnSeries"),F=0;g.useStyle(s["i"](u.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),N&&(F=YS(N.get("smooth"))),g.setShape({smooth:R,stackedOnSmooth:F,smoothMonotone:B,connectNulls:S}),Ol(g,t,"areaStyle"),bs(g).seriesIndex=t.seriesIndex,Sl(g,E,D,L)}var z=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=z)})),this._polyline.onHoverStateChange=z,this._data=a,this._coordSys=r,this._stackedOnPoints=x,this._points=c,this._step=O,this._valueOrigin=b,t.get("triggerLineEvent")&&(this.packEventData(t,f),g&&this.packEventData(t,g))},e.prototype.packEventData=function(t,e){bs(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=Cr(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel"),h=t.get("z");s=new bS(r,o),s.x=l,s.y=u,s.setZ(c,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Hm.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=Cr(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Hm.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;Xs(this._polyline,t),e&&Xs(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new NS({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new zS({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var l=t.hostModel,u=l.get("animationDuration");s["w"](u)&&(u=u(null));var c=l.get("animationDelay")||0,h=s["w"](c)?c(null):c;t.eachItemGraphicEl((function(t,o){var l=t;if(l){var d=[t.x,t.y],p=void 0,f=void 0,g=void 0;if(n)if(r){var m=n,v=e.pointToCoord(d);i?(p=m.startAngle,f=m.endAngle,g=-v[1]/180*Math.PI):(p=m.r0,f=m.r,g=v[0])}else{var y=n;i?(p=y.x,f=y.x+y.width,g=t.x):(p=y.y+y.height,f=y.y,g=t.y)}var b=f===p?0:(g-p)/(f-p);a&&(b=1-b);var _=s["w"](c)?c(o):u*b+h,x=l.getSymbolPath(),w=x.getTextContent();l.attr({scaleX:0,scaleY:0}),l.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:_}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(oC(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new ys({z2:200}),s.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=nC(a);l>=0&&(Xl(o,Kl(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?mS(r,n):gS(r,t)},enableTextSetter:!0},sC(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),d=o.get("precision"),p=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),m=f.inverse,v=e.shape,y=m?g?v.x:v.y+v.height:g?v.x+v.width:v.y,b=(g?p:0)*(m?-1:1),_=(g?0:-p)*(m?-1:1),x=g?"x":"y",w=rC(u,y,x),S=w.range,C=S[1]-S[0],k=void 0;if(C>=1){if(C>1&&!h){var M=iC(u,S[0]);s.attr({x:M[0]+b,y:M[1]+_}),r&&(k=c.getRawValue(S[0]))}else{M=l.getPointOn(y,x);M&&s.attr({x:M[0]+b,y:M[1]+_});var O=c.getRawValue(S[0]),T=c.getRawValue(S[1]);r&&(k=jr(n,d,O,T,w.t))}i.lastFrameIndex=S[0]}else{var A=1===t||i.lastFrameIndex>0?S[0]:0;M=iC(u,A);r&&(k=c.getRawValue(A)),s.attr({x:M[0]+b,y:M[1]+_})}r&&au(s).setLabelText(k)}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=ES(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,o),h=c.current,d=c.stackedOnCurrent,p=c.next,f=c.stackedOnNext;if(r&&(h=KS(c.current,n,r,a),d=KS(c.stackedOnCurrent,n,r,a),p=KS(c.next,n,r,a),f=KS(c.stackedOnNext,n,r,a)),US(h,p)>3e3||l&&US(d,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=c.current,s.shape.points=h;var g={shape:{points:p}};c.current!==h&&(g.shape.__points=c.next),s.stopAnimation(),Nl(s,g,u),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),Nl(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var m=[],v=c.status,y=0;y<v.length;y++){var b=v[y].cmd;if("="===b){var _=t.getItemGraphicEl(v[y].idx1);_&&m.push({el:_,ptIdx:y})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<m.length;e++){var n=m[e].el,i=2*m[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(Hm),uC=lC;function cC(t,e){return{seriesType:t,plan:Cf(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(i){var a=Object(s["H"])(i.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),l=a.length,u=n.getCalculationInfo("stackResultDimension");oS(n,a[0])&&(a[0]=u),oS(n,a[1])&&(a[1]=u);var c=n.getStore(),h=n.getDimensionIndex(a[0]),d=n.getDimensionIndex(a[1]);return l&&{progress:function(t,e){for(var n=t.end-t.start,r=o&&IS(n*l),a=[],s=[],u=t.start,p=0;u<t.end;u++){var f=void 0;if(1===l){var g=c.get(h,u);f=i.dataToPoint(g,null,s)}else a[0]=c.get(h,u),a[1]=c.get(d,u),f=i.dataToPoint(a,null,s);o?(r[p++]=f[0],r[p++]=f[1]):e.setItemLayout(u,f.slice())}o&&e.setLayout("points",r)}}}}}}var hC={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},dC=function(t){return Math.round(t.length/2)};function pC(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var l=o.getBaseAxis(),u=o.getOtherAxis(l),c=l.getExtent(),h=n.getDevicePixelRatio(),d=Math.abs(c[1]-c[0])*(h||1),p=Math.round(a/d);if(isFinite(p)&&p>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/p));var f=void 0;Object(s["C"])(r)?f=hC[r]:Object(s["w"])(r)&&(f=r),f&&t.setData(i.downSample(i.mapDimension(u.dim),1/p,f,dC))}}}}}function fC(t){t.registerChartView(uC),t.registerSeriesModel(fS),t.registerLayout(cC("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,pC("line"))}var gC="__ec_stack_";function mC(t){return t.get("stack")||gC+t.seriesIndex}function vC(t){return t.dim+t.index}function yC(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o<t.count;o++)e.push(Object(s["i"])({bandWidth:r,axisKey:i,stackId:gC+o},t));var a=wC(e),l=[];for(o=0;o<t.count;o++){var u=a[i][gC+o];u.offsetCenter=u.offset+u.width/2,l.push(u)}return l}}function bC(t,e){var n=[];return e.eachSeriesByType(t,(function(t){MC(t)&&n.push(t)})),n}function _C(t){var e={};Object(s["k"])(t,(function(t){var n=t.coordinateSystem,i=n.getBaseAxis();if("time"===i.type||"value"===i.type)for(var r=t.getData(),o=i.dim+"_"+i.index,a=r.getDimensionIndex(r.mapDimension(i.dim)),s=r.getStore(),l=0,u=s.count();l<u;++l){var c=s.get(a,l);e[o]?e[o].push(c):e[o]=[c]}}));var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(r){r.sort((function(t,e){return t-e}));for(var o=null,a=1;a<r.length;++a){var l=r[a]-r[a-1];l>0&&(o=null===o?l:Math.min(o,l))}n[i]=o}}return n}function xC(t){var e=_C(t),n=[];return Object(s["k"])(t,(function(t){var i,r=t.coordinateSystem,o=r.getBaseAxis(),a=o.getExtent();if("category"===o.type)i=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=o.dim+"_"+o.index,l=e[s],u=Math.abs(a[1]-a[0]),c=o.scale.getExtent(),h=Math.abs(c[1]-c[0]);i=l?u/h*l:u}else{var d=t.getData();i=Math.abs(a[1]-a[0])/d.count()}var p=Pi(t.get("barWidth"),i),f=Pi(t.get("barMaxWidth"),i),g=Pi(t.get("barMinWidth")||(OC(t)?.5:1),i),m=t.get("barGap"),v=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:f,barMinWidth:g,barGap:m,barCategoryGap:v,axisKey:vC(o),stackId:mC(t)})})),wC(n)}function wC(t){var e={};Object(s["k"])(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var h=t.barGap;null!=h&&(o.gap=h);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var n={};return Object(s["k"])(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=Object(s["F"])(i).length;o=Math.max(35-4*a,15)+"%"}var l=Pi(o,r),u=Pi(t.gap,1),c=t.remainedWidth,h=t.autoWidthCount,d=(c-l)/(h+(h-1)*u);d=Math.max(d,0),Object(s["k"])(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,c-=i+u*i,h--}else{var i=d;e&&e<i&&(i=Math.min(e,c)),n&&n>i&&(i=n),i!==d&&(t.width=i,c-=i+u*i,h--)}})),d=(c-l)/(h+(h-1)*u),d=Math.max(d,0);var p,f=0;Object(s["k"])(i,(function(t,e){t.width||(t.width=d),p=t,f+=t.width*(1+u)})),p&&(f-=p.width*u);var g=-f/2;Object(s["k"])(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:g,width:t.width},g+=t.width*(1+u)}))})),n}function SC(t,e,n){if(t&&e){var i=t[vC(e)];return null!=i&&null!=n?i[mC(n)]:i}}function CC(t,e){var n=bC(t,e),i=xC(n);Object(s["k"])(n,(function(t){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),o=mC(t),a=i[vC(r)][o],s=a.offset,l=a.width;e.setLayout({bandWidth:a.bandWidth,offset:s,size:l})}))}function kC(t){return{seriesType:t,plan:Cf(),reset:function(t){if(MC(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),c=oS(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),h=r.isHorizontal(),d=TC(i,r),p=OC(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),m=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){var i,r=t.count,l=p&&IS(3*r),u=p&&s&&IS(3*r),y=p&&IS(r),b=n.master.getRect(),_=h?b.width:b.height,x=e.getStore(),w=0;while(null!=(i=t.next())){var S=x.get(c?g:o,i),C=x.get(a,i),k=d,M=void 0;c&&(M=+S-x.get(o,i));var O=void 0,T=void 0,A=void 0,I=void 0;if(h){var P=n.dataToPoint([S,C]);if(c){var E=n.dataToPoint([M,C]);k=E[0]}O=k,T=P[1]+v,A=P[0]-k,I=m,Math.abs(A)<f&&(A=(A<0?-1:1)*f)}else{P=n.dataToPoint([C,S]);if(c){E=n.dataToPoint([C,M]);k=E[1]}O=P[0]+v,T=k,A=m,I=P[1]-k,Math.abs(I)<f&&(I=(I<=0?-1:1)*f)}p?(l[w]=O,l[w+1]=T,l[w+2]=h?A:I,u&&(u[w]=h?b.x:O,u[w+1]=h?T:b.y,u[w+2]=_),y[i]=i):e.setItemLayout(i,{x:O,y:T,width:A,height:I}),w+=3}p&&e.setLayout({largePoints:l,largeDataIndices:y,largeBackgroundPoints:u,valueAxisHorizontal:h})}}}}}}function MC(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function OC(t){return t.pipelineContext&&t.pipelineContext.large}function TC(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}var AC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(t,e){return dS(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t){var e=this.coordinateSystem;if(e&&e.clampData){var n=e.dataToPoint(e.clampData(t)),i=this.getData(),r=i.getLayout("offset"),o=i.getLayout("size"),a=e.getBaseAxis().isHorizontal()?0:1;return n[a]+=r+o/2,n}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(xf);xf.registerClass(AC);var IC=AC,PC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(){return dS(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Mu(IC.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(IC),EC=PC,DC=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),LC=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return o(e,t),e.prototype.getDefaultShape=function(){return new DC},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=2*Math.PI,d=c?u-l<h:l-u<h;d||(l=u-(c?h:-h));var p=Math.cos(l),f=Math.sin(l),g=Math.cos(u),m=Math.sin(u);d?(t.moveTo(p*r+n,f*r+i),t.arc(p*s+n,f*s+i,a,-Math.PI+l,l,!c)):t.moveTo(p*o+n,f*o+i),t.arc(n,i,o,l,u,!c),t.arc(g*s+n,m*s+i,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&t.arc(n,i,r,u,l,c)},e}(Ba),jC=LC;function RC(t,e){e=e||{};var n=e.isRoundCap;return function(e,i,r){var o=i.position;if(!o||o instanceof Array)return ii(e,i,r);var a=t(o),s=null!=i.distance?i.distance:5,l=this.shape,u=l.cx,c=l.cy,h=l.r,d=l.r0,p=(h+d)/2,f=l.startAngle,g=l.endAngle,m=(f+g)/2,v=n?Math.abs(h-d)/2:0,y=Math.cos,b=Math.sin,_=u+h*y(f),x=c+h*b(f),w="left",S="top";switch(a){case"startArc":_=u+(d-s)*y(m),x=c+(d-s)*b(m),w="center",S="top";break;case"insideStartArc":_=u+(d+s)*y(m),x=c+(d+s)*b(m),w="center",S="bottom";break;case"startAngle":_=u+p*y(f)+NC(f,s+v,!1),x=c+p*b(f)+FC(f,s+v,!1),w="right",S="middle";break;case"insideStartAngle":_=u+p*y(f)+NC(f,-s+v,!1),x=c+p*b(f)+FC(f,-s+v,!1),w="left",S="middle";break;case"middle":_=u+p*y(m),x=c+p*b(m),w="center",S="middle";break;case"endArc":_=u+(h+s)*y(m),x=c+(h+s)*b(m),w="center",S="bottom";break;case"insideEndArc":_=u+(h-s)*y(m),x=c+(h-s)*b(m),w="center",S="top";break;case"endAngle":_=u+p*y(g)+NC(g,s+v,!0),x=c+p*b(g)+FC(g,s+v,!0),w="left",S="middle";break;case"insideEndAngle":_=u+p*y(g)+NC(g,-s+v,!0),x=c+p*b(g)+FC(g,-s+v,!0),w="right",S="middle";break;default:return ii(e,i,r)}return e=e||{},e.x=_,e.y=x,e.align=w,e.verticalAlign=S,e}}function BC(t,e,n,i){if(Object(s["z"])(i))t.setTextConfig({rotation:i});else if(Object(s["t"])(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,l=o.clockwise?o.endAngle:o.startAngle,u=(a+l)/2,c=n(e);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=u;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=l;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===c&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}function NC(t,e,n){return e*Math.sin(t)*(n?-1:1)}function FC(t,e,n){return e*Math.cos(t)*(n?1:-1)}var zC=Math.max,VC=Math.min;function qC(t,e){var n=t.getArea&&t.getArea();if(HS(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}var $C=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return o(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,h=WC(t,l);h&&this._enableRealtimeSort(h,a,n);var d=t.get("clip",!0)||h,p=qC(l,a);o.removeClipPath();var f=t.get("roundCap",!0),g=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),v=m.get("borderRadius")||0,y=[],b=this._backgroundEls,_=i&&i.isInitSort,x=i&&"changeAxisOrder"===i.type;function w(t){var e=QC[l.type](a,t),n=uk(l,r,e);return n.useStyle(m.getItemStyle()),"cartesian2d"===l.type&&n.setShape("r",v),y[t]=n,n}a.diff(s).add((function(e){var n=a.getItemModel(e),i=QC[l.type](a,e,n);if(g&&w(e),a.hasValue(e)&&ZC[l.type](i)){var s=!1;d&&(s=HC[l.type](p,i));var m=GC[l.type](t,a,e,i,r,c,u.model,!1,f);h&&(m.forceLabelAnimation=!0),ek(m,a,e,n,i,t,r,"polar"===l.type),_?m.attr({shape:i}):h?UC(h,c,m,i,e,r,!1,!1):Fl(m,{shape:i},t,e),a.setItemGraphicEl(e,m),o.add(m),m.ignore=s}})).update((function(e,n){var i=a.getItemModel(e),S=QC[l.type](a,e,i);if(g){var C=void 0;0===b.length?C=w(n):(C=b[n],C.useStyle(m.getItemStyle()),"cartesian2d"===l.type&&C.setShape("r",v),y[e]=C);var k=QC[l.type](a,e),M=lk(r,k,l);Nl(C,{shape:M},c,e)}var O=s.getItemGraphicEl(n);if(a.hasValue(e)&&ZC[l.type](S)){var T=!1;if(d&&(T=HC[l.type](p,S),T&&o.remove(O)),O?Hl(O):O=GC[l.type](t,a,e,S,r,c,u.model,!!O,f),h&&(O.forceLabelAnimation=!0),x){var A=O.getTextContent();if(A){var I=au(A);null!=I.prevValue&&(I.prevValue=I.value)}}else ek(O,a,e,i,S,t,r,"polar"===l.type);_?O.attr({shape:S}):h?UC(h,c,O,S,e,r,!0,x):Nl(O,{shape:S},t,e,null),a.setItemGraphicEl(e,O),O.ignore=T,o.add(O)}else o.remove(O)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&$l(n,t,e)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new bi);S.removeAll();for(var C=0;C<y.length;++C)S.add(y[C]);o.add(S),this._backgroundEls=y,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),ok(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),ok(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&$S(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),(function(t,e){var r=n(e);r=null==r?NaN:r,i.push({dataIndex:e,mappedValue:r,ordinalNumber:t})})),i.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:Object(s["H"])(i,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=i.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){$l(e,t,bs(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Hm),HC={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=zC(e.x,t.x),s=VC(e.x+e.width,r),l=zC(e.y,t.y),u=VC(e.y+e.height,o),c=s<a,h=u<l;return e.x=c&&a>r?s:a,e.y=h&&l>o?u:l,e.width=c?0:s-a,e.height=h?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),c||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=VC(e.r,t.r),o=zC(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},GC={cartesian2d:function(t,e,n,i,r,o,a,l,u){var c=new ts({shape:Object(s["m"])({},i),z2:1});if(c.__dataIndex=n,c.name="item",o){var h=c.shape,d=r?"height":"width";h[d]=0}return c},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?jC:vg,c=new u({shape:i,z2:1});c.name="item";var h=tk(r);if(c.calculateTextPosition=RC(h,{isRoundCap:u===jC}),o){var d=c.shape,p=r?"r":"endAngle",f={};d[p]=r?0:i.startAngle,f[p]=i[p],(s?Nl:Fl)(c,{shape:f},o)}return c}};function WC(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}function UC(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?Nl:Fl)(n,{shape:l},e,r,null);var c=e?t.baseAxis.model:null;(a?Nl:Fl)(n,{shape:u},c,r)}function YC(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var XC=["x","y","width","height"],KC=["cx","cy","r","startAngle","endAngle"],ZC={cartesian2d:function(t){return!YC(t,XC)},polar:function(t){return!YC(t,KC)}},QC={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),r=n?nk(n,i):0,o=i.width>0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function JC(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function tk(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function ek(t,e,n,i,r,o,a,l){var u=e.getItemVisual(n,"style");l||t.setShape("r",i.get(["itemStyle","borderRadius"])||0),t.useStyle(u);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var h=l?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=Kl(i);Xl(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:gS(o.getData(),n),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:h});var p=t.getTextContent();if(l&&p){var f=i.get(["label","position"]);t.textConfig.inside="middle"===f||null,BC(t,"outside"===f?h:f,tk(a),i.get(["label","rotate"]))}su(p,d,o.getRawValue(n),(function(t){return mS(e,t)}));var g=i.getModel(["emphasis"]);Sl(t,g.get("focus"),g.get("blurScope"),g.get("disabled")),Ol(t,i),JC(r)&&(t.style.fill="none",t.style.stroke="none",Object(s["k"])(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}function nk(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,r,o)}var ik=function(){function t(){}return t}(),rk=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return o(e,t),e.prototype.getDefaultShape=function(){return new ik},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[i]=s,a[r]=n[l+2],o[i]=n[l+i],o[r]=n[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(Ba);function ok(t,e,n,i){var r=t.getData(),o=r.getLayout("valueAxisHorizontal")?1:0,a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var c=new rk({shape:{points:u},incremental:!!i,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),e.add(c),n&&n.push(c)}var h=new rk({shape:{points:r.getLayout("largePoints")},incremental:!!i,z2:1});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,e.add(h),h.useStyle(r.getVisual("style")),bs(h).seriesIndex=t.seriesIndex,t.get("silent")||(h.on("mousedown",ak),h.on("mousemove",ak)),n&&n.push(h)}var ak=Ym((function(t){var e=this,n=sk(e,t.offsetX,t.offsetY);bs(e).dataIndex=n>=0?n:null}),30,!1);function sk(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,h=o.length/3;c<h;c++){var d=3*c;if(l[i]=u,l[r]=o[d+2],s[i]=o[d+i],s[r]=o[d+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}function lk(t,e,n){if(HS(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}r=n.getArea();var o=e;return{cx:r.cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function uk(t,e,n){var i="polar"===t.type?vg:ts;return new i({shape:lk(e,n,t),silent:!0,z2:0})}var ck=$C;function hk(t){t.registerChartView(ck),t.registerSeriesModel(EC),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,s["h"](CC,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,kC("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,pC("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}var dk=2*Math.PI,pk=Math.PI/180;function fk(t,e){return Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function gk(t,e){var n=fk(t,e),i=t.get("center"),r=t.get("radius");s["t"](r)||(r=[0,r]),s["t"](i)||(i=[i,i]);var o=Pi(n.width,e.getWidth()),a=Pi(n.height,e.getHeight()),l=Math.min(o,a),u=Pi(i[0],o)+n.x,c=Pi(i[1],a)+n.y,h=Pi(r[0],l/2),d=Pi(r[1],l/2);return{cx:u,cy:c,r0:h,r:d}}function mk(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=fk(t,n),o=gk(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-t.get("startAngle")*pk,h=t.get("minAngle")*pk,d=0;e.each(i,(function(t){!isNaN(t)&&d++}));var p=e.getSum(i),f=Math.PI/(p||d)*2,g=t.get("clockwise"),m=t.get("roseType"),v=t.get("stillShowZeroSum"),y=e.getDataExtent(i);y[0]=0;var b=dk,_=0,x=c,w=g?1:-1;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:a,cy:s,r0:u,r:m?NaN:l});else{i="area"!==m?0===p&&v?f:t*f:dk/d,i<h?(i=h,b-=h):_+=t;var r=x+w*i;e.setItemLayout(n,{angle:i,startAngle:x,endAngle:r,clockwise:g,cx:a,cy:s,r0:u,r:m?Ii(t,y,[u,l]):l}),x=r}})),b<dk&&d)if(b<=.001){var S=dk/d;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=S,i.startAngle=c+w*n*S,i.endAngle=c+w*(n+1)*S}}))}else f=b/_,x=c,e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===h?h:t*f;i.startAngle=x,i.endAngle=x+w*r,x+=w*r}}))}))}function vk(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf((function(t){for(var e=i.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(e))return!1;return!0}))}}}}var yk=2*Math.PI,bk=ha.CMD,_k=["top","right","bottom","left"];function xk(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0);break}}function wk(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s);a/=u,s/=u;var c=a*n+t,h=s*n+e;if(Math.abs(i-r)%yk<1e-4)return l[0]=c,l[1]=h,u-n;if(o){var d=i;i=ma(r),r=ma(d)}else i=ma(i),r=ma(r);i>r&&(r+=yk);var p=Math.atan2(s,a);if(p<0&&(p+=yk),p>=i&&p<=r||p+yk>=i&&p+yk<=r)return l[0]=c,l[1]=h,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,m=n*Math.cos(r)+t,v=n*Math.sin(r)+e,y=(f-a)*(f-a)+(g-s)*(g-s),b=(m-a)*(m-a)+(v-s)*(v-s);return y<b?(l[0]=f,l[1]=g,Math.sqrt(y)):(l[0]=m,l[1]=v,Math.sqrt(b))}function Sk(t,e,n,i,r,o,a,s){var l=r-t,u=o-e,c=n-t,h=i-e,d=Math.sqrt(c*c+h*h);c/=d,h/=d;var p=l*c+u*h,f=p/d;s&&(f=Math.min(Math.max(f,0),1)),f*=d;var g=a[0]=t+f*c,m=a[1]=e+f*h;return Math.sqrt((g-r)*(g-r)+(m-o)*(m-o))}function Ck(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,u=a[0]=Math.min(Math.max(r,t),s),c=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-r)*(u-r)+(c-o)*(c-o))}var kk=[];function Mk(t,e,n){var i=Ck(e.x,e.y,e.width,e.height,t.x,t.y,kk);return n.set(kk[0],kk[1]),i}function Ok(t,e,n){for(var i,r,o=0,a=0,s=0,l=0,u=1/0,c=e.data,h=t.x,d=t.y,p=0;p<c.length;){var f=c[p++];1===p&&(o=c[p],a=c[p+1],s=o,l=a);var g=u;switch(f){case bk.M:s=c[p++],l=c[p++],o=s,a=l;break;case bk.L:g=Sk(o,a,c[p],c[p+1],h,d,kk,!0),o=c[p++],a=c[p++];break;case bk.C:g=te(o,a,c[p++],c[p++],c[p++],c[p++],c[p],c[p+1],h,d,kk),o=c[p++],a=c[p++];break;case bk.Q:g=se(o,a,c[p++],c[p++],c[p],c[p+1],h,d,kk),o=c[p++],a=c[p++];break;case bk.A:var m=c[p++],v=c[p++],y=c[p++],b=c[p++],_=c[p++],x=c[p++];p+=1;var w=!!(1-c[p++]);i=Math.cos(_)*y+m,r=Math.sin(_)*b+v,p<=1&&(s=i,l=r);var S=(h-m)*b/y+m;g=wk(m,v,b,_,_+x,w,S,d,kk),o=Math.cos(_+x)*y+m,a=Math.sin(_+x)*b+v;break;case bk.R:s=o=c[p++],l=a=c[p++];var C=c[p++],k=c[p++];g=Ck(s,l,C,k,h,d,kk);break;case bk.Z:g=Sk(o,a,s,l,h,d,kk,!0),o=s,a=l;break}g<u&&(u=g,n.set(kk[0],kk[1]))}return u}var Tk=new Rn,Ak=new Rn,Ik=new Rn,Pk=new Rn,Ek=new Rn;function Dk(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();if(i&&n){var r=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=r.candidates||_k,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,u=r.anchor,c=t.getComputedTransform(),h=c&&wn([],c),d=e.get("length2")||0;u&&Ik.copy(u);for(var p=0;p<a.length;p++){var f=a[p];xk(f,0,s,Tk,Pk),Rn.scaleAndAdd(Ak,Tk,Pk,d),Ak.transform(h);var g=t.getBoundingRect(),m=u?u.distance(Ak):t instanceof Ba?Ok(Ak,t.path,Ik):Mk(Ak,g,Ik);m<l&&(l=m,Ak.transform(c),Ik.transform(c),Ik.toArray(o[0]),Ak.toArray(o[1]),Tk.toArray(o[2]))}Rk(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var Lk=[],jk=new Rn;function Rk(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Tk.fromArray(t[0]),Ak.fromArray(t[1]),Ik.fromArray(t[2]),Rn.sub(Pk,Tk,Ak),Rn.sub(Ek,Ik,Ak);var n=Pk.len(),i=Ek.len();if(!(n<.001||i<.001)){Pk.scale(1/n),Ek.scale(1/i);var r=Pk.dot(Ek),o=Math.cos(e);if(o<r){var a=Sk(Ak.x,Ak.y,Ik.x,Ik.y,Tk.x,Tk.y,Lk,!1);jk.fromArray(Lk),jk.scaleAndAdd(Ek,a/Math.tan(Math.PI-e));var s=Ik.x!==Ak.x?(jk.x-Ak.x)/(Ik.x-Ak.x):(jk.y-Ak.y)/(Ik.y-Ak.y);if(isNaN(s))return;s<0?Rn.copy(jk,Ak):s>1&&Rn.copy(jk,Ik),jk.toArray(t[1])}}}}function Bk(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,Tk.fromArray(t[0]),Ak.fromArray(t[1]),Ik.fromArray(t[2]),Rn.sub(Pk,Ak,Tk),Rn.sub(Ek,Ik,Ak);var i=Pk.len(),r=Ek.len();if(!(i<.001||r<.001)){Pk.scale(1/i),Ek.scale(1/r);var o=Pk.dot(e),a=Math.cos(n);if(o<a){var s=Sk(Ak.x,Ak.y,Ik.x,Ik.y,Tk.x,Tk.y,Lk,!1);jk.fromArray(Lk);var l=Math.PI/2,u=Math.acos(Ek.dot(e)),c=l+u-n;if(c>=l)Rn.copy(jk,Ik);else{jk.scaleAndAdd(Ek,s/Math.tan(Math.PI/2-c));var h=Ik.x!==Ak.x?(jk.x-Ak.x)/(Ik.x-Ak.x):(jk.y-Ak.y)/(Ik.y-Ak.y);if(isNaN(h))return;h<0?Rn.copy(jk,Ak):h>1&&Rn.copy(jk,Ik)}jk.toArray(t[1])}}}}function Nk(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Fk(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=w(i[0],i[1]),o=w(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=k([],i[1],i[0],a/r),l=k([],i[1],i[2],a/o),u=k([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var c=1;c<i.length;c++)t.lineTo(i[c][0],i[c][1])}function zk(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var o=e.normal,a=o.get("show"),l=r.ignore,u=0;u<As.length;u++){var c=As[u],h=e[c],d="normal"===c;if(h){var p=h.get("show"),f=d?l:Object(s["P"])(r.states[c]&&r.states[c].ignore,l);if(f||!Object(s["P"])(p,a)){var g=d?i:i&&i.states[c];g&&(g.ignore=!0);continue}i||(i=new Tg,t.setTextGuideLine(i),d||!l&&a||Nk(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),Nk(i,!1,c,h)}}if(i){Object(s["i"])(i.style,n),i.style.fill=null;var m=o.get("showAbove"),v=t.textGuideLineConfig=t.textGuideLineConfig||{};v.showAbove=m||!1,i.buildPath=Fk}}else i&&t.removeTextGuideLine()}function Vk(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<Ts.length;i++){var r=Ts[i];n[r]=t.getModel([r,e])}return n}function qk(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var r=i.label,o=r.getComputedTransform(),a=r.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=r.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new tm(a,o):null;e.push({label:r,labelLine:i.labelLine,rect:u,localRect:a,obb:c,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:o})}}return e}function $k(t,e,n,i,r,o){var a=t.length;if(!(a<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,l=0,u=!1,c=[],h=0,d=0;d<a;d++){var p=t[d],f=p.rect;s=f[e]-l,s<0&&(f[e]-=s,p.label[e]-=s,u=!0);var g=Math.max(-s,0);c.push(g),h+=g,l=f[e]+f[n]}h>0&&o&&w(-h/a,0,a);var m,v,y=t[0],b=t[a-1];return _(),m<0&&S(-m,.8),v<0&&S(v,.8),_(),x(m,v,1),x(v,m,-1),_(),m<0&&C(-m),v<0&&C(v),u}function _(){m=y.rect[e]-i,v=r-b.rect[e]-b.rect[n]}function x(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,a);var r=i+t;r<0&&S(-r*n,1)}else S(-t*n,1)}}function w(n,i,r){0!==n&&(u=!0);for(var o=i;o<r;o++){var a=t[o],s=a.rect;s[e]+=n,a.label[e]+=n}}function S(i,r){for(var o=[],s=0,l=1;l<a;l++){var u=t[l-1].rect,c=Math.max(t[l].rect[e]-u[e]-u[n],0);o.push(c),s+=c}if(s){var h=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<a-1;l++){var d=o[l]*h;w(d,0,l+1)}else for(l=a-1;l>0;l--){d=o[l-1]*h;w(-d,l,a)}}}function C(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i<a-1;i++)if(e>0?w(n,0,i+1):w(-n,a-i-1,a),t-=n,t<=0)return}}function Hk(t,e,n,i){return $k(t,"x","width",e,n,i)}function Gk(t,e,n,i){return $k(t,"y","height",e,n,i)}function Wk(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Wn(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r<t.length;r++){var o=t[r],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var h=o.obb,d=!1,p=0;p<e.length;p++){var f=e[p];if(n.intersect(f.rect)){if(a&&f.axisAligned){d=!0;break}if(f.obb||(f.obb=new tm(f.localRect,f.transform)),h||(h=new tm(s,l)),h.intersect(f.obb)){d=!0;break}}}d?(i(u),c&&i(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}var Uk=Math.PI/180;function Yk(t,e,n,i,r,o,a,s,l,u){if(!(t.length<2)){for(var c=t.length,h=0;h<c;h++)if("outer"===t[h].position&&"labelLine"===t[h].labelAlignTo){var d=t[h].label.x-u;t[h].linePoints[1][0]+=d,t[h].label.x=u}Gk(t,l,l+a)&&f(t)}function p(t){for(var o=t.rB,a=o*o,s=0;s<t.list.length;s++){var l=t.list[s],u=Math.abs(l.label.y-n),c=i+l.len,h=c*c,d=Math.sqrt((1-Math.abs(u*u/a))*h),p=e+(d+l.len2)*r,f=p-l.label.x,g=l.targetTextWidth-f*r;Kk(l,g,!0),l.label.x=p}}function f(t){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],u=l.label.y>n?a:o,c=Math.abs(l.label.y-n);if(c>=u.maxY){var h=l.label.x-e-l.len2*r,d=i+l.len,f=Math.abs(h)<d?Math.sqrt(c*c/(1-h*h/d/d)):d;u.rB=f,u.maxY=c}u.list.push(l)}p(o),p(a)}}function Xk(t,e,n,i,r,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d<t.length;d++){var p=t[d].label;Zk(t[d])||(p.x<e?(c=Math.min(c,p.x),l.push(t[d])):(h=Math.max(h,p.x),u.push(t[d])))}for(d=0;d<t.length;d++){var f=t[d];if(!Zk(f)&&f.linePoints){if(null!=f.labelStyleWidth)continue;p=f.label;var g=f.linePoints,m=void 0;m="edge"===f.labelAlignTo?p.x<e?g[2][0]-f.labelDistance-a-f.edgeDistance:a+r-f.edgeDistance-g[2][0]-f.labelDistance:"labelLine"===f.labelAlignTo?p.x<e?c-a-f.bleedMargin:a+r-h-f.bleedMargin:p.x<e?p.x-a-f.bleedMargin:a+r-p.x-f.bleedMargin,f.targetTextWidth=m,Kk(f,m)}}Yk(u,e,n,i,1,r,o,a,s,h),Yk(l,e,n,i,-1,r,o,a,s,c);for(d=0;d<t.length;d++){f=t[d];if(!Zk(f)&&f.linePoints){p=f.label,g=f.linePoints;var v="edge"===f.labelAlignTo,y=p.style.padding,b=y?y[1]+y[3]:0,_=p.style.backgroundColor?0:b,x=f.rect.width+_,w=g[1][0]-g[2][0];v?p.x<e?g[2][0]=a+f.edgeDistance+x+f.labelDistance:g[2][0]=a+r-f.edgeDistance-x-f.labelDistance:(p.x<e?g[2][0]=p.x+f.labelDistance:g[2][0]=p.x-f.labelDistance,g[1][0]=g[2][0]+w),g[1][1]=g[2][1]=p.y}}}function Kk(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var i=t.label,r=i.style,o=t.rect,a=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,c=o.width+(a?0:l);if(e<c||n){var h=o.height;if(u&&u.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",e-l);var d=i.getBoundingRect();i.setStyle("width",Math.ceil(d.width)),i.setStyle("backgroundColor",a)}else{var p=e-l,f=e<c?p:n?p>t.unconstrainedWidth?null:p:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var m=(i.style.margin||0)+2.1;o.height=g.height+m,o.y-=(o.height-h)/2}}}function Zk(t){return"center"===t.position}function Qk(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*Uk,l=i.getLayout("viewRect"),u=i.getLayout("r"),c=l.width,h=l.x,d=l.y,p=l.height;function f(t){t.ignore=!0}function g(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}i.each((function(t){var l=i.getItemGraphicEl(t),d=l.shape,p=l.getTextContent(),m=l.getTextGuideLine(),v=i.getItemModel(t),y=v.getModel("label"),b=y.get("position")||v.get(["emphasis","label","position"]),_=y.get("distanceToLabelLine"),x=y.get("alignTo"),w=Pi(y.get("edgeDistance"),c),S=y.get("bleedMargin"),C=v.getModel("labelLine"),k=C.get("length");k=Pi(k,c);var M=C.get("length2");if(M=Pi(M,c),Math.abs(d.endAngle-d.startAngle)<a)return Object(s["k"])(p.states,f),void(p.ignore=!0);if(g(p)){var O,T,A,I,P=(d.startAngle+d.endAngle)/2,E=Math.cos(P),D=Math.sin(P);e=d.cx,n=d.cy;var L="inside"===b||"inner"===b;if("center"===b)O=d.cx,T=d.cy,I="center";else{var j=(L?(d.r+d.r0)/2*E:d.r*E)+e,R=(L?(d.r+d.r0)/2*D:d.r*D)+n;if(O=j+3*E,T=R+3*D,!L){var B=j+E*(k+u-d.r),N=R+D*(k+u-d.r),F=B+(E<0?-1:1)*M,z=N;O="edge"===x?E<0?h+w:h+c-w:F+(E<0?-_:_),T=z,A=[[j,R],[B,N],[F,z]]}I=L?"center":"edge"===x?E>0?"right":"left":E>0?"left":"right"}var V=Math.PI,q=0,$=y.get("rotate");if(Object(s["z"])($))q=$*(V/180);else if("center"===b)q=0;else if("radial"===$||!0===$){var H=E<0?-P+V:-P;q=H}else if("tangential"===$&&"outside"!==b&&"outer"!==b){var G=Math.atan2(E,D);G<0&&(G=2*V+G);var W=D>0;W&&(G=V+G),q=G-V}if(o=!!q,p.x=O,p.y=T,p.rotation=q,p.setStyle({verticalAlign:"middle"}),L){p.setStyle({align:I});var U=p.states.select;U&&(U.x+=p.x,U.y+=p.y)}else{var Y=p.getBoundingRect().clone();Y.applyTransform(p.getComputedTransform());var X=(p.style.margin||0)+2.1;Y.y-=X/2,Y.height+=X,r.push({label:p,labelLine:m,position:b,len:k,len2:M,minTurnAngle:C.get("minTurnAngle"),maxSurfaceAngle:C.get("maxSurfaceAngle"),surfaceNormal:new Rn(E,D),linePoints:A,textAlign:I,labelDistance:_,labelAlignTo:x,edgeDistance:w,bleedMargin:S,rect:Y,unconstrainedWidth:Y.width,labelStyleWidth:p.style.width})}l.setTextConfig({inside:L})}})),!o&&t.get("avoidLabelOverlap")&&Xk(r,e,n,u,c,p,h,d);for(var m=0;m<r.length;m++){var v=r[m],y=v.label,b=v.labelLine,_=isNaN(y.x)||isNaN(y.y);if(y){y.setStyle({align:v.textAlign}),_&&(Object(s["k"])(y.states,f),y.ignore=!0);var x=y.states.select;x&&(x.x+=y.x,x.y+=y.y)}if(b){var w=v.linePoints;_||!w?(Object(s["k"])(b.states,f),b.ignore=!0):(Rk(w,v.minTurnAngle),Bk(w,v.surfaceNormal,v.maxSurfaceAngle),b.setShape({points:w}),y.__hostTarget.textGuideLineConfig={anchor:new Rn(w[0][0],w[0][1])})}}}function Jk(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;Object(s["t"])(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:Object(s["H"])(i,(function(t){return ni(t,r)}))}}var tM=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var o=new ys;return r.setTextContent(o),r.updateData(e,n,i,!0),r}return o(e,t),e.prototype.updateData=function(t,e,n,i){var r=this,o=t.hostModel,a=t.getItemModel(e),l=a.getModel("emphasis"),u=t.getItemLayout(e),c=Object(s["m"])(Jk(a.getModel("itemStyle"),u,!0),u);if(isNaN(c.startAngle))r.setShape(c);else{if(i){r.setShape(c);var h=o.getShallow("animationType");o.ecModel.ssr?(Fl(r,{scaleX:0,scaleY:0},o,{dataIndex:e,isFrom:!0}),r.originX=c.cx,r.originY=c.cy):"scale"===h?(r.shape.r=u.r0,Fl(r,{shape:{r:u.r}},o,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),Fl(r,{shape:{startAngle:u.startAngle,endAngle:u.endAngle}},o,e)):(r.shape.endAngle=u.startAngle,Nl(r,{shape:{endAngle:u.endAngle}},o,e))}else Hl(r),Nl(r,{shape:c},o,e);r.useStyle(t.getItemVisual(e,"style")),Ol(r,a);var d=(u.startAngle+u.endAngle)/2,p=o.get("selectedOffset"),f=Math.cos(d)*p,g=Math.sin(d)*p,m=a.getShallow("cursor");m&&r.attr("cursor",m),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=Object(s["m"])({r:u.r+(l.get("scale")&&l.get("scaleSize")||0)},Jk(l.getModel("itemStyle"),u)),Object(s["m"])(r.ensureState("select"),{x:f,y:g,shape:Jk(a.getModel(["select","itemStyle"]),u)}),Object(s["m"])(r.ensureState("blur"),{shape:Jk(a.getModel(["blur","itemStyle"]),u)});var v=r.getTextGuideLine(),y=r.getTextContent();v&&Object(s["m"])(v.ensureState("select"),{x:f,y:g}),Object(s["m"])(y.ensureState("select"),{x:f,y:g}),Sl(this,l.get("focus"),l.get("blurScope"),l.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=this,r=e.getItemModel(n),o=r.getModel("labelLine"),a=e.getItemVisual(n,"style"),l=a&&a.fill,u=a&&a.opacity;Xl(i,Kl(r),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:l,defaultOpacity:u,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var c=i.getTextContent();i.setTextConfig({position:null,rotation:null}),c.attr({z2:10});var h=t.get(["label","position"]);if("outside"!==h&&"outer"!==h)i.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new Tg,this.setTextGuideLine(d)),zk(this,Vk(r),{stroke:l,opacity:Object(s["Q"])(o.get(["lineStyle","opacity"]),u,1)})}},e}(vg),eM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return o(e,t),e.prototype.render=function(t,e,n,i){var r,o=t.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<o.count();++u)l=o.getItemLayout(u);l&&(r=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&t.get("showEmptyCircle")){var c=new vg({shape:gk(t,n)});c.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,s.add(c)}o.diff(a).add((function(t){var e=new tM(o,t,r);o.setItemGraphicEl(t,e),s.add(e)})).update((function(t,e){var n=a.getItemGraphicEl(e);n.updateData(o,t,r),n.off("click"),s.add(n),o.setItemGraphicEl(t,n)})).remove((function(e){var n=a.getItemGraphicEl(e);$l(n,t,e)})).execute(),Qk(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData(),i=n.getItemLayout(0);if(i){var r=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}},e.type="pie",e}(Hm),nM=eM;function iM(t,e,n){e=Object(s["t"])(e)&&{coordDimensions:e}||Object(s["m"])({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=Xw(i,e).dimensions,o=new Yw(r,t);return o.initData(i,n),o}var rM=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},t.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},t.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},t}(),oM=rM,aM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new oM(s["c"](this.getData,this),s["c"](this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return iM(this,{coordDimensions:["value"],encodeDefaulter:s["h"](ch,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=[];return n.each(n.mapDimension("value"),(function(t){r.push(t)})),i.percent=Bi(r,e,n.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},e.prototype._defaultLabelLine=function(t){rr(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(xf),sM=aM;function lM(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(Object(s["z"])(i)&&!isNaN(i)&&i<0)}))}}}function uM(t){t.registerChartView(nM),t.registerSeriesModel(sM),zv("pie",t.registerAction),t.registerLayout(Object(s["h"])(mk,"pie")),t.registerProcessor(vk("pie")),t.registerProcessor(lM("pie"))}var cM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){return dS(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(xf),hM=cM,dM=4,pM=function(){function t(){}return t}(),fM=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return o(e,t),e.prototype.getDefaultShape=function(){return new pM},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<dM,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<i.length;){var c=i[n++],h=i[n++];isNaN(c)||isNaN(h)||(u&&!u.contain(c,h)||(a.x=c-r[0]/2,a.y=h-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||r.fillRect(a-i[0]/2,s-i[1]/2,i[0],i[1]))}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-o/2,c=i[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(t=n[0],e=n[1],i.contain(t,e)){var r=this.hoverDataIdx=this.findDataIndex(t,e);return r>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<n.length;){var h=n[c++],d=n[c++];a=Math.min(h,a),l=Math.max(h,l),s=Math.min(d,s),u=Math.max(d,u)}t=this._rect=new Wn(a-r/2,s-o/2,l-a+r,u-s+o)}return t},e}(Ba),gM=function(){function t(){this.group=new bi}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e),t.reset()}))},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],r=e.getLayout("points"),o=i&&i.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),i.endIndex=t.end,i.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new fM({cursor:"default"});return this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=iy(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<dM;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=bs(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),mM=gM,vM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=cC("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext,r=i.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new mM:new CS,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Hm),yM=vM,bM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Uc),_M=bM,xM=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},t.prototype.getCoordSysModel=function(){},t}(),wM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Ar).models[0]},e.type="cartesian2dAxis",e}(Uc);s["K"](wM,xM);var SM={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},CM=s["I"]({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},SM),kM=s["I"]({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},SM),MM=s["I"]({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},kM),OM=s["i"]({logBase:10},kM),TM={category:CM,value:kM,time:MM,log:OM},AM=0,IM=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++AM}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&Object(s["H"])(i,PM);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!Object(s["C"])(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(s["f"])(this.categories))},t}();function PM(t){return Object(s["A"])(t)&&null!=t.value?t.value:t+""}var EM=IM,DM={value:1,category:1,time:1,log:1};function LM(t,e,n,i){Object(s["k"])(DM,(function(r,a){var l=Object(s["I"])(Object(s["I"])({},TM[a],!0),i,!0),u=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return o(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=zc(this),i=n?qc(t):{},r=e.getTheme();Object(s["I"])(t,r.get(a+"Axis")),Object(s["I"])(t,this.getDefaultOption()),t.type=jM(t),n&&Vc(t,i,n)},n.prototype.optionUpdated=function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=EM.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=l,n}(n);t.registerComponentModel(u)})),t.registerSubTypeDefaulter(e+"Axis",jM)}function jM(t){return t.type||(t.data?"category":"value")}var RM=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();Xr(RM);var BM=RM;function NM(t){return"interval"===t.type||"log"===t.type}function FM(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=Wi(o/e,!0);null!=n&&a<n&&(a=r.interval=n),null!=i&&a>i&&(a=r.interval=i);var s=r.intervalPrecision=VM(a),l=r.niceTickExtent=[Ei(Math.ceil(t[0]/a)*a,s),Ei(Math.floor(t[1]/a)*a,s)];return $M(l,t),r}function zM(t){var e=Math.pow(10,Gi(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Ei(n*e)}function VM(t){return Li(t)+2}function qM(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function $M(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),qM(t,0,e),qM(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function HM(t,e){return t>=e[0]&&t<=e[1]}function GM(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function WM(t,e){return t*(e[1]-e[0])+e[0]}var UM=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new EM({})),Object(s["t"])(i)&&(i=new EM({categories:Object(s["H"])(i,(function(t){return Object(s["A"])(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return o(e,t),e.prototype.parse=function(t){return null==t?NaN:Object(s["C"])(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),HM(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),GM(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(WM(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){var t=[],e=this._extent,n=e[0];while(n<=e[1])t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){while(null!=i[l])l++;n.push(l),i[l]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(BM);BM.registerClass(UM);var YM=UM,XM=Ei,KM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return o(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return HM(t,this._extent)},e.prototype.normalize=function(t){return GM(t,this._extent)},e.prototype.scale=function(t){return WM(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=VM(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;var a=1e4;n[0]<i[0]&&(t?o.push({value:XM(i[0]-e,r)}):o.push({value:n[0]}));var s=i[0];while(s<=i[1]){if(o.push({value:s}),s=XM(s+e,r),s===o[o.length-1].value)break;if(o.length>a)return[]}var l=o.length?o[o.length-1].value:i[1];return n[1]>l&&(t?o.push({value:XM(l+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){var o=e[r],a=e[r-1],s=0,l=[],u=o.value-a.value,c=u/t;while(s<t-1){var h=XM(a.value+(s+1)*c);h>i[0]&&h<i[1]&&l.push(h),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=Li(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var i=XM(t.value,n,!0);return vc(i)},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=FM(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=XM(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=XM(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(BM);BM.registerClass(KM);var ZM=KM,QM=function(t,e,n,i){while(n<i){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},JM=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return o(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return Ju(t.value,Wu[Qu(Ku(this._minLevelUnit))]||Wu.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return tc(t,e,n,r,i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=lO(this._minLevelUnit,this._approxInterval,i,e);return n=n.concat(r),n.push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=qu,e[1]+=qu),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-qu}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=tO.length,a=Math.min(QM(tO,this._approxInterval,0,o),o-1);this._interval=tO[a][1],this._minLevelUnit=tO[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return Object(s["z"])(t)?t:+$i(t)},e.prototype.contain=function(t){return HM(this.parse(t),this._extent)},e.prototype.normalize=function(t){return GM(this.parse(t),this._extent)},e.prototype.scale=function(t){return WM(t,this._extent)},e.type="time",e}(ZM),tO=[["second",Fu],["minute",zu],["hour",Vu],["quarter-day",6*Vu],["half-day",12*Vu],["day",1.2*qu],["half-week",3.5*qu],["week",7*qu],["month",31*qu],["quarter",95*qu],["half-year",$u/2],["year",$u]];function eO(t,e,n,i){var r=$i(e),o=$i(n),a=function(t){return nc(r,t,i)===nc(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},h=function(){return c()&&a("minute")},d=function(){return h()&&a("second")},p=function(){return d()&&a("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return h();case"second":return d();case"millisecond":return p()}}function nO(t,e){return t/=qu,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function iO(t){var e=30*qu;return t/=e,t>6?6:t>3?3:t>2?2:1}function rO(t){return t/=Vu,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function oO(t,e){return t/=e?zu:Fu,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function aO(t){return Wi(t,!0)}function sO(t,e,n){var i=new Date(t);switch(Ku(e)){case"year":case"month":i[hc(n)](0);case"day":i[dc(n)](1);case"hour":i[pc(n)](0);case"minute":i[fc(n)](0);case"second":i[gc(n)](0),i[mc(n)](0)}return i.getTime()}function lO(t,e,n,i){var r=1e4,o=Yu,a=0;function l(t,e,n,r,o,a,s){var l=new Date(e),u=e,c=l[r]();while(u<n&&u<=i[1])s.push({value:u}),c+=t,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function u(t,r,o){var a=[],s=!r.length;if(!eO(Ku(t),i[0],i[1],n)){s&&(r=[{value:sO(new Date(i[0]),t,n)},{value:i[1]}]);for(var u=0;u<r.length-1;u++){var c=r[u].value,h=r[u+1].value;if(c!==h){var d=void 0,p=void 0,f=void 0,g=!1;switch(t){case"year":d=Math.max(1,Math.round(e/qu/365)),p=ic(n),f=cc(n);break;case"half-year":case"quarter":case"month":d=iO(e),p=rc(n),f=hc(n);break;case"week":case"half-week":case"day":d=nO(e,31),p=oc(n),f=dc(n),g=!0;break;case"half-day":case"quarter-day":case"hour":d=rO(e),p=ac(n),f=pc(n);break;case"minute":d=oO(e,!0),p=sc(n),f=fc(n);break;case"second":d=oO(e,!1),p=lc(n),f=gc(n);break;case"millisecond":d=aO(e),p=uc(n),f=mc(n);break}l(d,c,h,p,f,g,a),"year"===t&&o.length>1&&0===u&&o.unshift({value:o[0].value-d})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var c=[],h=[],d=0,p=0,f=0;f<o.length&&a++<r;++f){var g=Ku(o[f]);if(Zu(o[f])){u(o[f],c[c.length-1]||[],h);var m=o[f+1]?Ku(o[f+1]):null;if(g!==m){if(h.length){p=d,h.sort((function(t,e){return t.value-e.value}));for(var v=[],y=0;y<h.length;++y){var b=h[y].value;0!==y&&h[y-1].value===b||(v.push(h[y]),b>=i[0]&&b<=i[1]&&d++)}var _=(i[1]-i[0])/e;if(d>1.5*_&&p>_/1.5)break;if(c.push(v),d>_||t===o[f])break}h=[]}}}var x=Object(s["n"])(Object(s["H"])(c,(function(t){return Object(s["n"])(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),w=[],S=x.length-1;for(f=0;f<x.length;++f)for(var C=x[f],k=0;k<C.length;++k)w.push({value:C[k].value,level:S-f});w.sort((function(t,e){return t.value-e.value}));var M=[];for(f=0;f<w.length;++f)0!==f&&w[f].value===w[f-1].value||M.push(w[f]);return M}BM.registerClass(JM);var uO=JM,cO=BM.prototype,hO=ZM.prototype,dO=Ei,pO=Math.floor,fO=Math.ceil,gO=Math.pow,mO=Math.log,vO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new ZM,e._interval=0,e}return o(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent(),r=hO.getTicks.call(this,t);return s["H"](r,(function(t){var e=t.value,r=Ei(gO(this.base,e));return r=e===n[0]&&this._fixMin?bO(r,i[0]):r,r=e===n[1]&&this._fixMax?bO(r,i[1]):r,{value:r}}),this)},e.prototype.setExtent=function(t,e){var n=this.base;t=mO(t)/mO(n),e=mO(e)/mO(n),hO.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=cO.getExtent.call(this);e[0]=gO(t,e[0]),e[1]=gO(t,e[1]);var n=this._originalScale,i=n.getExtent();return this._fixMin&&(e[0]=bO(e[0],i[0])),this._fixMax&&(e[1]=bO(e[1],i[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=mO(t[0])/mO(e),t[1]=mO(t[1])/mO(e),cO.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=Hi(n),r=t/n*i;r<=.5&&(i*=10);while(!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0)i*=10;var o=[Ei(fO(e[0]/i)*i),Ei(pO(e[1]/i)*i)];this._interval=i,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){hO.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=mO(t)/mO(this.base),HM(t,this._extent)},e.prototype.normalize=function(t){return t=mO(t)/mO(this.base),GM(t,this._extent)},e.prototype.scale=function(t){return t=WM(t,this._extent),gO(this.base,t)},e.type="log",e}(BM),yO=vO.prototype;function bO(t,e){return dO(t,Li(e))}yO.getMinorTicks=hO.getMinorTicks,yO.getLabel=hO.getLabel,BM.registerClass(vO);var _O=vO,xO=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var r=this._modelMinRaw=e.get("min",!0);Object(s["w"])(r)?this._modelMinNum=kO(t,r({min:n[0],max:n[1]})):"dataMin"!==r&&(this._modelMinNum=kO(t,r));var o=this._modelMaxRaw=e.get("max",!0);if(Object(s["w"])(o)?this._modelMaxNum=kO(t,o({min:n[0],max:n[1]})):"dataMax"!==o&&(this._modelMaxNum=kO(t,o)),i)this._axisDataLen=e.getCategories().length;else{var a=e.get("boundaryGap"),l=Object(s["t"])(a)?a:[a||0,a||0];"boolean"===typeof l[0]||"boolean"===typeof l[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[ni(l[0],1),ni(l[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,i=this._axisDataLen,r=this._boundaryGapInner,o=t?null:n-e||Math.abs(e),a="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=a,c=null!=l;null==a&&(a=t?i?0:NaN:e-r[0]*o),null==l&&(l=t?i?i-1:NaN:n+r[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==l||!isFinite(l))&&(l=NaN);var h=Object(s["l"])(a)||Object(s["l"])(l)||t&&!i;this._needCrossZero&&(a>0&&l>0&&!u&&(a=0),a<0&&l<0&&!c&&(l=0));var d=this._determinedMin,p=this._determinedMax;return null!=d&&(a=d,u=!0),null!=p&&(l=p,c=!0),{min:a,max:l,minFixed:u,maxFixed:c,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[SO[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=wO[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),wO={min:"_determinedMin",max:"_determinedMax"},SO={min:"_dataMin",max:"_dataMax"};function CO(t,e,n){var i=t.rawExtentInfo;return i||(i=new xO(t,e,n),t.rawExtentInfo=i,i)}function kO(t,e){return null==e?null:Object(s["l"])(e)?NaN:t.parse(e)}function MO(t,e){var n=t.type,i=CO(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var l=bC("bar",a),u=!1;if(s["k"](l,(function(t){u=u||t.getBaseAxis()===e.axis})),u){var c=xC(l),h=OO(r,o,e,c);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function OO(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=SC(i,n.axis);if(void 0===a)return{min:t,max:e};var l=1/0;s["k"](a,(function(t){l=Math.min(t.offset,l)}));var u=-1/0;s["k"](a,(function(t){u=Math.max(t.offset+t.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,h=e-t,d=1-(l+u)/o,p=h/d-h;return e+=p*(u/c),t-=p*(l/c),{min:t,max:e}}function TO(t,e){var n=e,i=MO(t,n),r=i.extent,o=n.get("splitNumber");t instanceof _O&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function AO(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new YM({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new uO({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(BM.getClass(e)||ZM)}}function IO(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function PO(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(n,i){return t.scale.getFormattedLabel(n,i,e)}}(e):s["C"](e)?function(e){return function(n){var i=t.scale.getLabel(n),r=e.replace("{value}",null!=i?i:"");return r}}(e):s["w"](e)?function(e){return function(i,r){return null!=n&&(r=i.value-n),e(EO(t,i),r,null!=i.level?{level:i.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function EO(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function DO(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();n instanceof YM?r=n.count():(i=n.getTicks(),r=i.length);var a,s=t.getLabelModel(),l=PO(t),u=1;r>40&&(u=Math.ceil(r/40));for(var c=0;c<r;c+=u){var h=i?i[c]:{value:o[0]+c},d=l(h,c),p=s.getTextRect(d),f=LO(p,s.get("rotate")||0);a?a.union(f):a=f}return a}}function LO(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n)),s=new Wn(t.x,t.y,o,a);return s}function jO(t){var e=t.get("interval");return null==e?"auto":e}function RO(t){return"category"===t.type&&0===jO(t.getLabelModel())}function BO(t,e){var n={};return s["k"](t.mapDimensionsAll(e),(function(e){n[aS(t,e)]=!0})),s["F"](n)}function NO(t,e,n){e&&s["k"](BO(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])}))}var FO=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return s["H"](this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),s["n"](this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),zO=FO,VO=["x","y"];function qO(t){return"interval"===t.type||"time"===t.type}var $O=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=VO,e}return o(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(qO(t)&&qO(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,c=r[0]-n[0]*l,h=r[1]-i[0]*u,d=this._transform=[l,0,0,u,c,h];this._invTransform=wn([],d)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Wn(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return M(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return M(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-i;return new Wn(n,i,r,o)},e}(zO),HO=$O,GO=kr();function WO(t){return"category"===t.type?YO(t):ZO(t)}function UO(t,e){return"category"===t.type?KO(t,e):{ticks:s["H"](t.scale.getTicks(),(function(t){return t.value}))}}function YO(t){var e=t.getLabelModel(),n=XO(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function XO(t,e){var n,i,r=QO(t,"labels"),o=jO(e),a=JO(r,o);return a||(s["w"](o)?n=oT(t,o):(i="auto"===o?eT(t):o,n=rT(t,i)),tT(r,o,{labels:n,labelCategoryInterval:i}))}function KO(t,e){var n,i,r=QO(t,"ticks"),o=jO(e),a=JO(r,o);if(a)return a;if(e.get("show")&&!t.scale.isBlank()||(n=[]),s["w"](o))n=oT(t,o,!0);else if("auto"===o){var l=XO(t,t.getLabelModel());i=l.labelCategoryInterval,n=s["H"](l.labels,(function(t){return t.tickValue}))}else i=o,n=rT(t,i,!0);return tT(r,o,{ticks:n,tickCategoryInterval:i})}function ZO(t){var e=t.scale.getTicks(),n=PO(t);return{labels:s["H"](e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}function QO(t,e){return GO(t)[e]||(GO(t)[e]=[])}function JO(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function tT(t,e,n){return t.push({key:e,value:n}),n}function eT(t){var e=GO(t).autoInterval;return null!=e?e:GO(t).autoInterval=t.calculateCategoryInterval()}function nT(t){var e=iT(t),n=PO(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),c=Math.abs(u*Math.cos(i)),h=Math.abs(u*Math.sin(i)),d=0,p=0;l<=o[1];l+=s){var f=0,g=0,m=Qn(n({value:l}),e.font,"center","top");f=1.3*m.width,g=1.3*m.height,d=Math.max(d,f,7),p=Math.max(p,g,7)}var v=d/c,y=p/h;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var b=Math.max(0,Math.floor(Math.min(v,y))),_=GO(t.model),x=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-b)<=1&&Math.abs(S-a)<=1&&w>b&&_.axisExtent0===x[0]&&_.axisExtent1===x[1]?b=w:(_.lastTickCount=a,_.lastAutoInterval=b,_.axisExtent0=x[0],_.axisExtent1=x[1]),b}function iT(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function rT(t,e,n){var i=PO(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],c=r.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=RO(t),d=a.get("showMinLabel")||h,p=a.get("showMaxLabel")||h;d&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return p&&f-l!==o[1]&&g(o[1]),s}function oT(t,e,n){var i=t.scale,r=PO(t),o=[];return s["k"](i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var aT=[0,1],sT=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return Ri(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&(n=n.slice(),lT(n,i.count())),Ii(t,aT,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),lT(n,i.count()));var r=Ii(t,n,aT,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=UO(this,e),i=n.ticks,r=Object(s["H"])(i,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this),o=e.get("alignWithLabel");return uT(this,r,o,t.clamp),r},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=Object(s["H"])(n,(function(t){return Object(s["H"])(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return i},t.prototype.getViewLabels=function(){return WO(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return nT(this)},t}();function lT(t,e){var n=t[1]-t[0],i=e,r=n/i/2;t[0]+=r,t[1]-=r}function uT(t,e,n,i){var r=e.length;if(t.onBand&&!n&&r){var o,a,l=t.getExtent();if(1===r)e[0].coord=l[0],o=e[1]={coord:l[0]};else{var u=e[r-1].tickValue-e[0].tickValue,c=(e[r-1].coord-e[0].coord)/u;Object(s["k"])(e,(function(t){t.coord-=c/2}));var h=t.scale.getExtent();a=1+h[1]-e[r-1].tickValue,o={coord:e[r-1].coord+c*a},e.push(o)}var d=l[0]>l[1];p(e[0].coord,l[0])&&(i?e[0].coord=l[0]:e.shift()),i&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]}),p(l[1],o.coord)&&(i?o.coord=l[1]:e.pop()),i&&p(o.coord,l[1])&&e.push({coord:l[1]})}function p(t,e){return t=Ei(t),e=Ei(e),d?t>e:t<e}}var cT=sT,hT=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return o(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(cT),dT=hT;function pT(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],l=r.position,u=a?"onZero":l,c=r.dim,h=i.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,g="x"===c?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(a){var m=a.toGlobalCoord(a.dataToCoord(0));g[p.onZero]=Math.max(Math.min(m,g[1]),g[0])}o.position=["y"===c?g[p[u]]:d[0],"x"===c?g[p[u]]:d[3]],o.rotation=Math.PI/2*("x"===c?0:1);var v={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=v[l],o.labelOffset=a?g[p[l]]-g[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),s["O"](n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===u?-y:y,o.z2=1,o}function fT(t){return"cartesian2d"===t.get("coordinateSystem")}function gT(t){var e={xAxisModel:null,yAxisModel:null};return s["k"](e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,Ar).models[0];e[i]=o})),e}var mT=Math.log;function vT(t,e,n){var i=ZM.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=MO(t,e),u=l.extent,c=l.fixMin,h=l.fixMax;if("log"===t.type){var d=mT(t.base);u=[mT(u[0])/d,mT(u[1])/d]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:h});var p=i.getExtent.call(t);c&&(u[0]=p[0]),h&&(u[1]=p[1]);var f=i.getInterval.call(t),g=u[0],m=u[1];if(c&&h)f=(m-g)/a;else if(c){m=u[0]+f*a;while(m<u[1]&&isFinite(m)&&isFinite(u[1]))f=zM(f),m=u[0]+f*a}else if(h){g=u[1]-f*a;while(g>u[0]&&isFinite(g)&&isFinite(u[0]))f=zM(f),g=u[1]-f*a}else{var v=t.getTicks().length-1;v>a&&(f=zM(f));var y=f*a;m=Math.ceil(u[1]/f)*f,g=Ei(m-y),g<0&&u[0]>=0?(g=0,m=Ei(y)):m>0&&u[1]<=0&&(m=0,g=-Ei(y))}var b=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*b,m+f*_),i.setInterval.call(t,f),(b||_)&&i.setNiceExtent.call(t,g+f,m-f)}var yT=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=VO,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=Object(s["F"])(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=+n[o],l=t[a],u=l.model,c=l.scale;NM(c)&&u.get("alignTicks")&&null==u.get("interval")?r.push(l):(TO(c,u),NM(c)&&(e=l))}r.length&&(e||(e=r.pop(),TO(e.scale,e.model)),Object(s["k"])(r,(function(t){vT(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};Object(s["k"])(n.x,(function(t){_T(n,"y",t,r)})),Object(s["k"])(n.y,(function(t){_T(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=Bc(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function l(){Object(s["k"])(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),wT(t,e?o.x:o.y)}))}l(),r&&(Object(s["k"])(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=DO(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}})),l()),Object(s["k"])(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}Object(s["A"])(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",Ar).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",Ar).models[0],a=t.gridModel,l=this._coordsList;if(i)e=i.coordinateSystem,Object(s["r"])(l,e)<0&&(e=null);else if(r&&o)e=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){var u=a.coordinateSystem;u===this&&(e=this._coordsList[0])}return{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},l={x:0,y:0};if(e.eachComponent("xAxis",u("x"),this),e.eachComponent("yAxis",u("y"),this),!l.x||!l.y)return this._axesMap={},void(this._axesList=[]);function u(e){return function(n,i){if(bT(n,t)){var s=n.get("position");"x"===e?"top"!==s&&"bottom"!==s&&(s=o.bottom?"top":"bottom"):"left"!==s&&"right"!==s&&(s=o.left?"right":"left"),o[s]=!0;var u=new dT(e,AO(n),[0,0],n.get("type"),s),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),a[e][i]=u,l[e]++}}}this._axesMap=a,Object(s["k"])(a.x,(function(e,n){Object(s["k"])(a.y,(function(r,o){var a="x"+n+"y"+o,s=new HO(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){Object(s["k"])(BO(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}Object(s["k"])(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if(fT(t)){var i=gT(t),r=i.xAxisModel,o=i.yAxisModel;if(!bT(r,e)||!bT(o,e))return;var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return Object(s["k"])(this.getCartesians(),(function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);Object(s["r"])(e,r)<0&&e.push(r),Object(s["r"])(n,o)<0&&n.push(o)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",(function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)})),e.eachSeries((function(t){if(fT(t)){var e=gT(t),n=e.xAxisModel,i=e.yAxisModel,r=n.getCoordSysModel();0;var o=r.coordinateSystem;t.coordinateSystem=o.getCartesian(n.componentIndex,i.componentIndex)}})),i},t.dimensions=VO,t}();function bT(t,e){return t.getCoordSysModel()===e}function _T(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)xT(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&xT(o[u])&&!i[c(o[u])]){r=o[u];break}r&&(i[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function xT(t){return t&&"category"!==t.type&&"time"!==t.type&&IO(t)}function wT(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}var ST=yT,CT=Math.PI,kT=function(){function t(t,e){this.group=new bi,this.opt=e,this.axisModel=t,Object(s["i"])(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new bi({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!MT[t]},t.prototype.add=function(t){MT[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=zi(e-t);return Vi(o)?(r=n>0?"top":"bottom",i="center"):Vi(o-CT)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<CT?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),MT={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,l=[o[0],0],u=[o[1],0];a&&(M(l,l,a),M(u,u,a));var c=Object(s["m"])({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new Eg({subPixelOptimize:!0,shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});h.anid="line",n.add(h);var d=e.get(["axisLine","symbol"]);if(null!=d){var p=e.get(["axisLine","symbolSize"]);Object(s["C"])(d)&&(d=[d,d]),(Object(s["C"])(p)||Object(s["z"])(p))&&(p=[p,p]);var f=oy(e.get(["axisLine","symbolOffset"])||0,p),g=p[0],m=p[1];Object(s["k"])([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((l[0]-u[0])*(l[0]-u[0])+(l[1]-u[1])*(l[1]-u[1]))}],(function(e,i){if("none"!==d[i]&&null!=d[i]){var r=iy(d[i],-g/2,-m/2,g,m,c.stroke,!0),o=e.r+e.offset;r.attr({rotation:e.rotate,x:l[0]+o*Math.cos(t.rotation),y:l[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=DT(n,i,e,t),o=jT(n,i,e,t);if(TT(e,o,r),LT(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var a=qk(Object(s["H"])(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));Wk(a)}},axisName:function(t,e,n,i){var r=Object(s["O"])(t.axisName,e.get("name"));if(r){var o,a,l=e.get("nameLocation"),u=t.nameDirection,c=e.getModel("nameTextStyle"),h=e.get("nameGap")||0,d=e.axis.getExtent(),p=d[0]>d[1]?-1:1,f=["start"===l?d[0]-p*h:"end"===l?d[1]+p*h:(d[0]+d[1])/2,PT(l)?t.labelOffset+u*h:0],g=e.get("nameRotate");null!=g&&(g=g*CT/180),PT(l)?o=kT.innerTextLayout(t.rotation,null!=g?g:t.rotation,u):(o=OT(t.rotation,l,g||0,d),a=t.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var m=c.getFont(),v=e.get("nameTruncate",!0)||{},y=v.ellipsis,b=Object(s["O"])(t.nameTruncateMaxWidth,v.maxWidth,a),_=new ys({x:f[0],y:f[1],rotation:o.rotation,silent:kT.isLabelSilent(e),style:Zl(c,{text:r,font:m,overflow:"truncate",width:b,ellipsis:y,fill:c.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:c.get("align")||o.textAlign,verticalAlign:c.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Dm({el:_,componentModel:e,itemName:r}),_.__fullText=r,_.anid="name",e.get("triggerEvent")){var x=kT.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,bs(_).eventData=x}i.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function OT(t,e,n,i){var r,o,a=zi(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return Vi(a-CT/2)?(o=l?"bottom":"top",r="center"):Vi(a-1.5*CT)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*CT&&a>CT/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}function TT(t,e,n){if(!RO(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],c=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?(AT(o),AT(u)):IT(o,a)&&(i?(AT(a),AT(c)):(AT(o),AT(u))),!1===r?(AT(s),AT(h)):IT(l,s)&&(r?(AT(l),AT(d)):(AT(s),AT(h)))}}function AT(t){t&&(t.ignore=!0)}function IT(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=mn([]);return _n(r,r,-t.rotation),n.applyTransform(yn([],r,t.getLocalTransform())),i.applyTransform(yn([],r,e.getLocalTransform())),n.intersect(i)}}function PT(t){return"middle"===t||"center"===t}function ET(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,e&&(M(a,a,e),M(s,s,e));var c=new Eg({subPixelOptimize:!0,shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});c.anid=r+"_"+t[l].tickValue,o.push(c)}return o}function DT(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");if("auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick")),a&&!r.scale.isBlank()){for(var l=o.getModel("lineStyle"),u=i.tickDirection*o.get("length"),c=r.getTicksCoords(),h=ET(c,e.transform,u,Object(s["i"])(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),d=0;d<h.length;d++)t.add(h[d]);return h}}function LT(t,e,n,i){var r=n.axis,o=n.getModel("minorTick");if(o.get("show")&&!r.scale.isBlank()){var a=r.getMinorTicksCoords();if(a.length)for(var l=o.getModel("lineStyle"),u=i*o.get("length"),c=Object(s["i"])(l.getLineStyle(),Object(s["i"])(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),h=0;h<a.length;h++)for(var d=ET(a[h],e.transform,u,c,"minorticks_"+h),p=0;p<d.length;p++)t.add(d[p])}}function jT(t,e,n,i){var r=n.axis,o=Object(s["O"])(i.axisLabelShow,n.get(["axisLabel","show"]));if(o&&!r.scale.isBlank()){var a=n.getModel("axisLabel"),l=a.get("margin"),u=r.getViewLabels(),c=(Object(s["O"])(i.labelRotate,a.get("rotate"))||0)*CT/180,h=kT.innerTextLayout(i.rotation,c,i.labelDirection),d=n.getCategories&&n.getCategories(!0),p=[],f=kT.isLabelSilent(n),g=n.get("triggerEvent");return Object(s["k"])(u,(function(o,u){var c="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(o.tickValue):o.tickValue,m=o.formattedLabel,v=o.rawLabel,y=a;if(d&&d[c]){var b=d[c];Object(s["A"])(b)&&b.textStyle&&(y=new xu(b.textStyle,a,n.ecModel))}var _=y.getTextColor()||n.get(["axisLine","lineStyle","color"]),x=r.dataToCoord(c),w=new ys({x:x,y:i.labelOffset+i.labelDirection*l,rotation:h.rotation,silent:f,z2:10+(o.level||0),style:Zl(y,{text:m,align:y.getShallow("align",!0)||h.textAlign,verticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||h.textVerticalAlign,fill:Object(s["w"])(_)?_("category"===r.type?v:"value"===r.type?c+"":c,u):_})});if(w.anid="label_"+c,g){var S=kT.makeAxisEventDataBase(n);S.targetType="axisLabel",S.value=v,S.tickIndex=u,"category"===r.type&&(S.dataIndex=c),bs(w).eventData=S}e.add(w),w.updateTransform(),p.push(w),t.add(w),w.decomposeTransform()})),p}}var RT=kT;function BT(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return NT(n,t,e),n.seriesInvolved&&zT(n,t),n}function NT(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),o=r.get("link",!0)||[],a=[];Object(s["k"])(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var l=UT(n.model),u=t.coordSysAxesInfo[l]={};t.coordSysMap[l]=n;var c=n.model,h=c.getModel("tooltip",i);if(Object(s["k"])(n.getAxes(),Object(s["h"])(g,!1,null)),n.getTooltipAxes&&i&&h.get("show")){var d="axis"===h.get("trigger"),p="cross"===h.get(["axisPointer","type"]),f=n.getTooltipAxes(h.get(["axisPointer","axis"]));(d||p)&&Object(s["k"])(f.baseAxes,Object(s["h"])(g,!p||"cross",d)),p&&Object(s["k"])(f.otherAxes,Object(s["h"])(g,"cross",!1))}}function g(i,s,l){var c=l.model.getModel("axisPointer",r),d=c.get("show");if(d&&("auto"!==d||i||WT(c))){null==s&&(s=c.get("triggerTooltip")),c=i?FT(l,h,r,e,i,s):c;var p=c.get("snap"),f=UT(l.model),g=s||p||"category"===l.type,m=t.axesInfo[f]={key:f,axis:l,coordSys:n,axisPointerModel:c,triggerTooltip:s,involveSeries:g,snap:p,useHandle:WT(c),seriesModels:[],linkGroup:null};u[f]=m,t.seriesInvolved=t.seriesInvolved||g;var v=VT(o,l);if(null!=v){var y=a[v]||(a[v]={axesInfo:{}});y.axesInfo[f]=m,y.mapper=o[v].mapper,m.linkGroup=y}}}}))}function FT(t,e,n,i,r,o){var a=e.getModel("axisPointer"),l=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],u={};Object(s["k"])(l,(function(t){u[t]=Object(s["d"])(a.get(t))})),u.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(u.type="line");var c=u.label||(u.label={});if(null==c.show&&(c.show=!1),"cross"===r){var h=a.get(["label","show"]);if(c.show=null==h||h,!o){var d=u.lineStyle=a.get("crossStyle");d&&Object(s["i"])(c,d.textStyle)}}return t.model.getModel("axisPointer",new xu(u,n,i))}function zT(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&Object(s["k"])(t.coordSysAxesInfo[UT(n.model)],(function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}function VT(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(qT(o[i+"AxisId"],n.id)||qT(o[i+"AxisIndex"],n.componentIndex)||qT(o[i+"AxisName"],n.name))return r}}function qT(t,e){return"all"===t||Object(s["t"])(t)&&Object(s["r"])(t,e)>=0||t===e}function $T(t){var e=HT(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=WT(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function HT(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[UT(t)]}function GT(t){var e=HT(t);return e&&e.axisPointerModel}function WT(t){return!!t.get(["handle","show"])}function UT(t){return t.type+"||"+t.id}var YT={},XT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&$T(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var o=GT(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){YT[t]=e},e.getAxisPointerClass=function(t){return t&&YT[t]},e.type="axis",e}(Sf),KT=XT,ZT=kr();function QT(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),l=a.get("color"),u=i.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var h=l.length,d=ZT(t).splitAreaColors,p=s["f"](),f=0;if(d)for(var g=0;g<c.length;g++){var m=d.get(c[g].tickValue);if(null!=m){f=(m+(h-1)*g)%h;break}}var v=r.toGlobalCoord(c[0].coord),y=a.getAreaStyle();l=s["t"](l)?l:[l];for(g=1;g<c.length;g++){var b=r.toGlobalCoord(c[g].coord),_=void 0,x=void 0,w=void 0,S=void 0;r.isHorizontal()?(_=v,x=u.y,w=b-_,S=u.height,v=_+w):(_=u.x,x=v,w=u.width,S=b-x,v=x+S);var C=c[g-1].tickValue;null!=C&&p.set(C,f),e.add(new ts({anid:null!=C?"area_"+C:null,shape:{x:_,y:x,width:w,height:S},style:s["i"]({fill:l[f]},y),autoBatch:!0,silent:!0})),f=(f+1)%h}ZT(t).splitAreaColors=p}}}function JT(t){ZT(t).splitAreaColors=null}var tA=["axisLine","axisTickLabel","axisName"],eA=["splitArea","splitLine","minorSplitLine"],nA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return o(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new bi,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),l=pT(a,e),u=new RT(e,s["m"]({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if(NM(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},l));s["k"](tA,u.add,u),this._axisGroup.add(u.getGroup()),s["k"](eA,(function(t){e.get([t,"show"])&&iA[t](this,this._axisGroup,e,a)}),this);var c=r&&"changeAxisOrder"===r.type&&r.isInitSort;c||km(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){JT(this)},e.type="cartesianAxis",e}(KT),iA={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),l=a.get("color");l=s["t"](l)?l:[l];for(var u=i.coordinateSystem.getRect(),c=r.isHorizontal(),h=0,d=r.getTicksCoords({tickModel:o}),p=[],f=[],g=a.getLineStyle(),m=0;m<d.length;m++){var v=r.toGlobalCoord(d[m].coord);c?(p[0]=v,p[1]=u.y,f[0]=v,f[1]=u.y+u.height):(p[0]=u.x,p[1]=v,f[0]=u.x+u.width,f[1]=v);var y=h++%l.length,b=d[m].tickValue;e.add(new Eg({anid:null!=b?"line_"+d[m].tickValue:null,subPixelOptimize:!0,autoBatch:!0,shape:{x1:p[0],y1:p[1],x2:f[0],y2:f[1]},style:s["i"]({stroke:l[y]},g),silent:!0}))}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine"),a=o.getModel("lineStyle"),s=i.coordinateSystem.getRect(),l=r.isHorizontal(),u=r.getMinorTicksCoords();if(u.length)for(var c=[],h=[],d=a.getLineStyle(),p=0;p<u.length;p++)for(var f=0;f<u[p].length;f++){var g=r.toGlobalCoord(u[p][f].coord);l?(c[0]=g,c[1]=s.y,h[0]=g,h[1]=s.y+s.height):(c[0]=s.x,c[1]=g,h[0]=s.x+s.width,h[1]=g),e.add(new Eg({anid:"minor_line_"+u[p][f].tickValue,subPixelOptimize:!0,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:d,silent:!0}))}},splitArea:function(t,e,n,i){QT(t,e,n,i)}},rA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="xAxis",e}(nA),oA=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=rA.type,e}return o(e,t),e.type="yAxis",e}(nA),aA=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return o(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new ts({shape:t.coordinateSystem.getRect(),style:Object(s["i"])({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(Sf),sA={offset:0};function lA(t){t.registerComponentView(aA),t.registerComponentModel(_M),t.registerCoordinateSystem("cartesian2d",ST),LM(t,"x",wM,sA),LM(t,"y",wM,sA),t.registerComponentView(rA),t.registerComponentView(oA),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function uA(t){A_(lA),t.registerSeriesModel(hM),t.registerChartView(yM),t.registerLayout(cC("scatter"))}function cA(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var r=i.getIndicatorAxes();s["k"](r,(function(t,o){e.each(e.mapDimension(r[o].dim),(function(t,e){n[e]=n[e]||[];var r=i.dataToPoint(t,o);n[e][o]=hA(r)?r:dA(i)}))})),e.each((function(t){var r=s["o"](n[t],(function(t){return hA(t)}))||dA(i);n[t].push(r.slice()),e.setItemLayout(t,n[t])}))}}))}function hA(t){return!isNaN(t[0])&&!isNaN(t[1])}function dA(t){return[t.cx,t.cy]}function pA(t){var e=t.polar;if(e){s["t"](e)||(e=[e]);var n=[];s["k"](e,(function(e,i){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],s["t"](t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}s["k"](t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var fA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var r=t.coordinateSystem,o=this.group,a=t.getData(),l=this._data;function u(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var i=ry(t.getItemVisual(e,"symbolSize")),r=iy(n,-1,-1,2,2),o=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:i[0]/2,scaleY:i[1]/2,rotation:o*Math.PI/180||0}),r}}function c(e,n,r,o,a,s){r.removeAll();for(var l=0;l<n.length-1;l++){var c=u(o,a);c&&(c.__dimIdx=l,e[l]?(c.setPosition(e[l]),i[s?"initProps":"updateProps"](c,{x:n[l][0],y:n[l][1]},t,a)):c.setPosition(n[l]),r.add(c))}}function h(t){return s["H"](t,(function(t){return[r.cx,r.cy]}))}a.diff(l).add((function(e){var n=a.getItemLayout(e);if(n){var i=new kg,r=new Tg,o={shape:{points:n}};i.shape.points=h(n),r.shape.points=h(n),Fl(i,o,t,e),Fl(r,o,t,e);var s=new bi,l=new bi;s.add(r),s.add(i),s.add(l),c(r.shape.points,n,l,a,e,!0),a.setItemGraphicEl(e,s)}})).update((function(e,n){var i=l.getItemGraphicEl(n),r=i.childAt(0),o=i.childAt(1),s=i.childAt(2),u={shape:{points:a.getItemLayout(e)}};u.shape.points&&(c(r.shape.points,u.shape.points,s,a,e,!1),Hl(o),Hl(r),Nl(r,u,t),Nl(o,u,t),a.setItemGraphicEl(e,i))})).remove((function(t){o.remove(l.getItemGraphicEl(t))})).execute(),a.eachItemGraphicEl((function(t,e){var n=a.getItemModel(e),i=t.childAt(0),r=t.childAt(1),l=t.childAt(2),u=a.getItemVisual(e,"style"),c=u.fill;o.add(t),i.useStyle(s["i"](n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),Ol(i,n,"lineStyle"),Ol(r,n,"areaStyle");var h=n.getModel("areaStyle"),d=h.isEmpty()&&h.parentModel.isEmpty();r.ignore=d,s["k"](["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),i=e.isEmpty()&&e.parentModel.isEmpty();r.ensureState(t).ignore=i&&d})),r.useStyle(s["i"](h.getAreaStyle(),{fill:c,opacity:.7,decal:u.decal}));var p=n.getModel("emphasis"),f=p.getModel("itemStyle").getItemStyle();l.eachChild((function(t){if(t instanceof Ga){var i=t.style;t.useStyle(s["m"]({image:i.image,x:i.x,y:i.y,width:i.width,height:i.height},u))}else t.useStyle(u),t.setColor(c),t.style.strokeNoScale=!0;var r=t.ensureState("emphasis");r.style=s["d"](f);var o=a.getStore().get(a.getDimensionIndex(t.__dimIdx),e);(null==o||isNaN(o))&&(o=""),Xl(t,Kl(n),{labelFetcher:a.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:o,inheritColor:c,defaultOpacity:u.opacity})})),Sl(t,p.get("focus"),p.get("blurScope"),p.get("disabled"))})),this._data=a},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(Hm),gA=fA,mA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new oM(s["c"](this.getData,this),s["c"](this.getRawData,this))},e.prototype.getInitialData=function(t,e){return iM(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.coordinateSystem,o=r.getIndicatorAxes(),a=this.getData().getName(t),l=""===a?this.name:a,u=rf(this,t);return Hp("section",{header:l,sortBlocks:!0,blocks:s["H"](o,(function(e){var n=i.get(i.mapDimension(e.dim),t);return Hp("nameValue",{markerType:"subItem",markerColor:u,name:e.name,value:n,sortParam:n})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(s["H"](n.dimensions,(function(t){return e.mapDimension(t)})),t),r=0,o=i.length;r<o;r++)if(!isNaN(i[r])){var a=n.getIndicatorAxes();return n.coordToPoint(a[r].dataToCoord(i[r]),r)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(xf),vA=mA,yA=TM.value;function bA(t,e){return s["i"]({show:e},t)}var _A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),l=this.get(["axisName","show"]),u=this.get(["axisName","formatter"]),c=this.get("axisNameGap"),h=this.get("triggerEvent"),d=s["H"](this.get("indicator")||[],(function(d){null!=d.max&&d.max>0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var p=a;null!=d.color&&(p=s["i"]({color:d.color},a));var f=s["I"](s["d"](d),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:d.text,showName:l,nameLocation:"end",nameGap:c,nameTextStyle:p,triggerEvent:h},!1);if(s["C"](u)){var g=f.name;f.name=u.replace("{value}",null!=g?g:"")}else s["w"](u)&&(f.name=u(f.name,f));var m=new xu(f,null,this.ecModel);return s["K"](m,xM.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m}),this);this._indicatorModels=d},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:s["I"]({lineStyle:{color:"#bbb"}},yA.axisLine),axisLabel:bA(yA.axisLabel,!1),axisTick:bA(yA.axisTick,!1),splitLine:bA(yA.splitLine,!0),splitArea:bA(yA.splitArea,!0),indicator:[]},e}(Uc),xA=_A,wA=["axisLine","axisTickLabel","axisName"],SA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),i=s["H"](n,(function(t){var n=t.model.get("showName")?t.name:"",i=new RT(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i}));s["k"](i,(function(t){s["k"](wA,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),l=o.getModel("areaStyle"),u=r.get("show"),c=o.get("show"),h=a.get("color"),d=l.get("color"),p=s["t"](h)?h:[h],f=s["t"](d)?d:[d],g=[],m=[];if("circle"===i)for(var v=n[0].getTicksCoords(),y=e.cx,b=e.cy,_=0;_<v.length;_++){if(u){var x=A(g,p,_);g[x].push(new Kf({shape:{cx:y,cy:b,r:v[_].coord}}))}if(c&&_<v.length-1){x=A(m,f,_);m[x].push(new _g({shape:{cx:y,cy:b,r0:v[_].coord,r:v[_+1].coord}}))}}else{var w,S=s["H"](n,(function(t,n){var i=t.getTicksCoords();return w=null==w?i.length-1:Math.min(i.length-1,w),s["H"](i,(function(t){return e.coordToPoint(t.coord,n)}))})),C=[];for(_=0;_<=w;_++){for(var k=[],M=0;M<n.length;M++)k.push(S[M][_]);if(k[0]&&k.push(k[0].slice()),u){x=A(g,p,_);g[x].push(new Tg({shape:{points:k}}))}if(c&&C){x=A(m,f,_-1);m[x].push(new kg({shape:{points:k.concat(C)}}))}C=k.slice().reverse()}}var O=a.getLineStyle(),T=l.getAreaStyle();s["k"](m,(function(t,e){this.group.add(gm(t,{style:s["i"]({stroke:"none",fill:f[e%f.length]},T),silent:!0}))}),this),s["k"](g,(function(t,e){this.group.add(gm(t,{style:s["i"]({fill:"none",stroke:p[e%p.length]},O),silent:!0}))}),this)}function A(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}},e.type="radar",e}(Sf),CA=SA,kA=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.type="value",r.angle=0,r.name="",r}return o(e,t),e}(cT),MA=kA,OA=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=Object(s["H"])(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,i=new MA(n,new ZM);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i}),this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e],i=n.angle,r=this.cx+t*Math.cos(i),o=this.cy-t*Math.sin(i);return[r,o]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(r=u,s=l,a=c)}return[s,+(r&&r.coordToData(i))]},t.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r)/2;this.cx=Pi(n[0],i),this.cy=Pi(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var a=t.get("radius");(Object(s["C"])(a)||Object(s["z"])(a))&&(a=[0,a]),this.r0=Pi(a[0],o),this.r=Pi(a[1],o),Object(s["k"])(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n}),this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,i=this._model;Object(s["k"])(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===i){var o=e.getData();Object(s["k"])(n,(function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))}))}}),this);var r=i.get("splitNumber"),o=new ZM;o.setExtent(0,r),o.setInterval(1),Object(s["k"])(n,(function(t,e){vT(t.scale,t.model,o)}))},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var i=[];return e.eachComponent("radar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])})),i},t.dimensions=[],t}(),TA=OA;function AA(t){t.registerCoordinateSystem("radar",TA),t.registerComponentModel(xA),t.registerComponentView(CA),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each((function(t){e.setItemVisual(t,"legendIcon","roundRect")})),e.setVisual("legendIcon","roundRect")}})}function IA(t){A_(AA),t.registerChartView(gA),t.registerSeriesModel(vA),t.registerLayout(cA),t.registerProcessor(vk("radar")),t.registerPreprocessor(pA)}var PA="\0_ec_interaction_mutex";function EA(t,e,n){var i=jA(t);i[e]=n}function DA(t,e,n){var i=jA(t),r=i[e];r===n&&(i[e]=null)}function LA(t,e){return!!jA(t)[e]}function jA(t){return t[PA]||(t[PA]={})}y_({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},s["L"]);var RA=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=Object(s["c"])(n._mousedownHandler,n),r=Object(s["c"])(n._mousemoveHandler,n),o=Object(s["c"])(n._mouseupHandler,n),a=Object(s["c"])(n._mousewheelHandler,n),l=Object(s["c"])(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=Object(s["i"])(Object(s["d"])(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",l))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",l)},n}return o(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(et(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&FA("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!LA(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,o=e-i,a=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&tt(t.event),NA(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){et(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=FA("zoomOnMouseWheel",t,this._opt),n=FA("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1,l=i>0?s:1/s;BA(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:o,originY:a,isAvailableBehavior:null})}if(n){var u=Math.abs(i),c=(i>0?1:-1)*(u>3?.4:u>1?.15:.05);BA(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!LA(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;BA(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(D);function BA(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(tt(i.event),NA(t,e,n,i,r))}function NA(t,e,n,i,r){r.isAvailableBehavior=Object(s["c"])(FA,null,n,i),t.trigger(e,r)}function FA(t,e,n){var i=n[t];return!t||i&&(!Object(s["C"])(i)||e.event[i+"Key"])}var zA=RA;function VA(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function qA(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var $A,HA={axisPointer:1,tooltip:1,brush:1};function GA(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!HA.hasOwnProperty(i.mainType)&&r&&r.model!==n}function WA(t){if(Object(s["C"])(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}var n=t;9===n.nodeType&&(n=n.firstChild);while("svg"!==n.nodeName.toLowerCase()||1!==n.nodeType)n=n.nextSibling;return n}var UA={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},YA=Object(s["F"])(UA),XA={"alignment-baseline":"textBaseline","stop-color":"stopColor"},KA=Object(s["F"])(XA),ZA=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=WA(t);this._defsUsePending=[];var i=new bi;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),iI(n,i,null,!0,!1);var l,u,c=n.firstChild;while(c)this._parseNode(c,i,r,null,!1,!1),c=c.nextSibling;if(sI(this._defs,this._defsUsePending),this._defsUsePending=[],o){var h=uI(o);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=a&&null!=s&&(u=mI(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var d=i;i=new bi,i.add(d),d.scaleX=d.scaleY=u.scale,d.x=u.x,d.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new ts({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,l=t.nodeName.toLowerCase(),u=i;if("defs"===l&&(r=!0),"text"===l&&(o=!0),"defs"===l||"switch"===l)a=e;else{if(!r){var c=$A[l];if(c&&Object(s["q"])($A,l)){a=c.call(this,t,e);var h=t.getAttribute("name");if(h){var d={name:h,namedFrom:null,svgNodeTagLower:l,el:a};n.push(d),"g"===l&&(u=d)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:l,el:a});e.add(a)}}var p=QA[l];if(p&&Object(s["q"])(QA,l)){var f=p.call(this,t),g=t.getAttribute("id");g&&(this._defs[g]=f)}}if(a&&a.isGroup){var m=t.firstChild;while(m)1===m.nodeType?this._parseNode(m,a,n,u,r,o):3===m.nodeType&&o&&this._parseText(m,a),m=m.nextSibling}},t.prototype._parseText=function(t,e){var n=new za({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});eI(e,n),iI(t,n,this._defsUsePending,!1,!1),rI(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=function(){$A={g:function(t,e){var n=new bi;return eI(e,n),iI(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new ts;return eI(e,n),iI(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Kf;return eI(e,n),iI(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new Eg;return eI(e,n),iI(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Jf;return eI(e,n),iI(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=nI(i));var r=new kg({shape:{points:n||[]},silent:!0});return eI(e,r),iI(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=nI(i));var r=new Tg({shape:{points:n||[]},silent:!0});return eI(e,r),iI(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Ga;return eI(e,n),iI(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new bi;return eI(e,a),iI(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new bi;return eI(e,a),iI(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=t.getAttribute("d")||"",i=Hf(n);return eI(e,i),iI(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),t}(),QA={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new Wg(e,n,i,r);return JA(t,o),tI(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new Yg(e,n,i);return JA(t,r),tI(t,r),r}};function JA(t,e){var n=t.getAttribute("gradientUnits");"userSpaceOnUse"===n&&(e.global=!0)}function tI(t,e){var n=t.firstChild;while(n){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};fI(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function eI(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(s["i"])(e.__inheritedStyle,t.__inheritedStyle))}function nI(t){for(var e=uI(t),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),o=parseFloat(e[i+1]);n.push([r,o])}return n}function iI(t,e,n,i,r){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||{},l={};1===t.nodeType&&(dI(t,e),fI(t,a,l),i||gI(t,a,l)),o.style=o.style||{},null!=a.fill&&(o.style.fill=aI(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=aI(o,"stroke",a.stroke,n)),Object(s["k"])(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=a[t]&&(o.style[t]=parseFloat(a[t]))})),Object(s["k"])(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=a[t]&&(o.style[t]=a[t])})),r&&(o.__selfStyle=l),a.lineDash&&(o.style.lineDash=Object(s["H"])(uI(a.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}function rI(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}var oI=/^url\(\s*#(.*?)\)/;function aI(t,e,n,i){var r=n&&n.match(oI);if(!r)return"none"===n&&(n=null),n;var o=Object(s["T"])(r[1]);i.push([t,e,o])}function sI(t,e){for(var n=0;n<e.length;n++){var i=e[n];i[0].style[i[1]]=t[i[2]]}}var lI=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function uI(t){return t.match(lI)||[]}var cI=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,hI=Math.PI/180;function dI(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=[],r=null;n.replace(cI,(function(t,e,n){return i.push(e,n),""}));for(var o=i.length-1;o>0;o-=2){var a=i[o],s=i[o-1],l=uI(a);switch(r=r||gn(),s){case"translate":bn(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":xn(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":_n(r,r,-parseFloat(l[0])*hI);break;case"skewX":var u=Math.tan(parseFloat(l[0])*hI);yn(r,[1,0,u,1,0,0],r);break;case"skewY":var c=Math.tan(parseFloat(l[0])*hI);yn(r,[1,c,0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5]);break}}e.setLocalTransform(r)}}var pI=/([^\s:;]+)\s*:\s*([^:;]+)/g;function fI(t,e,n){var i=t.getAttribute("style");if(i){var r;pI.lastIndex=0;while(null!=(r=pI.exec(i))){var o=r[1],a=Object(s["q"])(UA,o)?UA[o]:null;a&&(e[a]=r[2]);var l=Object(s["q"])(XA,o)?XA[o]:null;l&&(n[l]=r[2])}}}function gI(t,e,n){for(var i=0;i<YA.length;i++){var r=YA[i],o=t.getAttribute(r);null!=o&&(e[UA[r]]=o)}for(i=0;i<KA.length;i++){r=KA[i],o=t.getAttribute(r);null!=o&&(n[XA[r]]=o)}}function mI(t,e){var n=e.width/t.width,i=e.height/t.height,r=Math.min(n,i);return{scale:r,x:-(t.x+t.width/2)*r+(e.x+e.width/2),y:-(t.y+t.height/2)*r+(e.y+e.height/2)}}function vI(t,e){var n=new ZA;return n.parse(t,e)}var yI=1e-8;function bI(t,e){return Math.abs(t-e)<yI}function _I(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];i+=ba(r[0],r[1],a[0],a[1],e,n),r=a}var s=t[0];return bI(r[0],s[0])&&bI(r[1],s[1])||(i+=ba(r[0],r[1],s[0],s[1],e,n)),0!==i}var xI=[];function wI(t,e){for(var n=0;n<t.length;n++)M(t[n],t[n],e)}function SI(t,e,n,i){for(var r=0;r<t.length;r++){var o=t[r];i&&(o=i.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(O(e,e,o),T(n,n,o))}}function CI(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s<r;s++){var l=t[s][0],u=t[s][1],c=o*u-l*a;e+=c,n+=(o+l)*c,i+=(a+u)*c,o=l,a=u}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}var kI=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),MI=function(){function t(t,e){this.type="polygon",this.exterior=t,this.interiors=e}return t}(),OI=function(){function t(t){this.type="linestring",this.points=t}return t}(),TI=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return o(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],o=r.exterior,a=o&&o.length;a>n&&(t=r,n=a)}if(t)return CI(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0],r=this.geometries;return Object(s["k"])(r,(function(e){"polygon"===e.type?SI(e.exterior,n,i,t):Object(s["k"])(e.points,(function(e){SI(e,n,i,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new Wn(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++){var o=n[i];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(_I(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(_I(s[l],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i||(i=n/o):n=o*i;for(var a=new Wn(t,e,n,i),l=r.calculateTransform(a),u=this.geometries,c=0;c<u.length;c++){var h=u[c];"polygon"===h.type?(wI(h.exterior,l),Object(s["k"])(h.interiors,(function(t){wI(t,l)}))):Object(s["k"])(h.points,(function(t){wI(t,l)}))}r=this._rect,r.copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(kI),AI=function(t){function e(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return o(e,t),e.prototype.calcCenter=function(){var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=mn(xI),r=t;while(r&&!r.isGeoSVGGraphicRoot)yn(i,r.getLocalTransform(),i),r=r.parent;return wn(i,i),M(n,n,i),n},e}(kI),II=Object(s["f"])(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),PI=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=Object(s["f"])(),this._freedGraphics=[],this._mapName=t,this._parsedXML=WA(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=DI(t.named),n=e.regions,i=e.regionsMap;this._regions=n,this._regionsMap=i}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n;try{e=t&&vI(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=e.root,Object(s["b"])(null!=n)}catch(m){throw new Error("Invalid svg format\n"+m.message)}var i=new bi;i.add(n),i.isGeoSVGGraphicRoot=!0;var r=e.width,o=e.height,a=e.viewBoxRect,l=this._boundingRect;if(!l){var u=void 0,c=void 0,h=void 0,d=void 0;if(null!=r?(u=0,h=r):a&&(u=a.x,h=a.width),null!=o?(c=0,d=o):a&&(c=a.y,d=a.height),null==u||null==c){var p=n.getBoundingRect();null==u&&(u=p.x,h=p.width),null==c&&(c=p.y,d=p.height)}l=this._boundingRect=new Wn(u,c,h,d)}if(a){var f=mI(a,l);n.scaleX=n.scaleY=f.scale,n.x=f.x,n.y=f.y}i.setClipPath(new ts({shape:l.plain()}));var g=[];return Object(s["k"])(e.named,(function(t){null!=II.get(t.svgNodeTagLower)&&(g.push(t),EI(t.el))})),{root:i,boundingRect:l,named:g}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();function EI(t){t.silent=!1,t.isGroup&&t.traverse((function(t){t.silent=!1}))}function DI(t){var e=[],n=Object(s["f"])();return Object(s["k"])(t,(function(t){if(null==t.namedFrom){var i=new AI(t.name,t.el);e.push(i),n.set(t.name,i)}})),{regions:e,regionsMap:n}}function LI(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);var i=e.features;return s["k"](i,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=RI(r,i,n);break;case"Polygon":jI(r,i,n);break;case"MultiLineString":jI(r,i,n);break;case"MultiPolygon":s["k"](r,(function(t,e){return jI(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}function jI(t,e,n){for(var i=0;i<t.length;i++)t[i]=RI(t[i],e[i],n)}function RI(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=o,r=s,o=l,i.push([s/n,l/n])}return i}function BI(t,e){return t=LI(t),s["H"](s["n"](t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new MI(o[0],o.slice(1)));break;case"MultiPolygon":s["k"](i.coordinates,(function(t){t[0]&&r.push(new MI(t[0],t.slice(1)))}));break;case"LineString":r.push(new OI([i.coordinates]));break;case"MultiLineString":r.push(new OI(i.coordinates))}var a=new TI(n[e||"name"],r,n.cp);return a.properties=n,a}))}for(var NI=[126,25],FI="南海诸岛",zI=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],VI=0;VI<zI.length;VI++)for(var qI=0;qI<zI[VI].length;qI++)zI[VI][qI][0]/=10.5,zI[VI][qI][1]/=-14,zI[VI][qI][0]+=NI[0],zI[VI][qI][1]+=NI[1];function $I(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===FI)return;e.push(new TI(FI,s["H"](zI,(function(t){return{type:"polygon",exterior:t}})),NI))}}var HI={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function GI(t,e){if("china"===t){var n=HI[e.name];if(n){var i=e.getCenter();i[0]+=n[0]/10.5,i[1]+=-n[1]/14,e.setCenter(i)}}}var WI=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function UI(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:WI[0]})}var YI="name",XI=function(){function t(t,e,n){this.type="geoJSON",this._parsedMap=Object(s["f"])(),this._mapName=t,this._specialAreas=n,this._geoJSON=ZI(e)}return t.prototype.load=function(t,e){e=e||YI;var n=this._parsedMap.get(e);if(!n){var i=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:i,boundingRect:KI(i)})}var r=Object(s["f"])(),o=[];return Object(s["k"])(n.regions,(function(e){var n=e.name;t&&Object(s["q"])(t,n)&&(e=e.cloneShallow(n=t[n])),o.push(e),r.set(n,e)})),{regions:o,boundingRect:n.boundingRect||new Wn(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,i=this._geoJSON;try{e=i?BI(i,t):[]}catch(r){throw new Error("Invalid geoJson format\n"+r.message)}return $I(n,e),Object(s["k"])(e,(function(t){var e=t.name;GI(n,t),UI(n,t);var i=this._specialAreas&&this._specialAreas[e];i&&t.transformTo(i.left,i.top,i.width,i.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function KI(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();e=e||i.clone(),e.union(i)}return e}function ZI(t){return Object(s["C"])(t)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t}var QI=Object(s["f"])(),JI={registerMap:function(t,e,n){if(e.svg){var i=new PI(t,e.svg);QI.set(t,i)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?n=e.specialAreas:r=e;i=new XI(t,r,n);QI.set(t,i)}},getGeoResource:function(t){return QI.get(t)},getMapForUser:function(t){var e=QI.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},load:function(t,e,n){var i=QI.get(t);if(i)return i.load(e,n)}},tP=["rect","circle","line","ellipse","polygon","polyline","path"],eP=s["f"](tP),nP=s["f"](tP.concat(["g"])),iP=s["f"](tP.concat(["g"])),rP=kr();function oP(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function aP(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var sP=function(){function t(t){var e=new bi;this.uid=Su("ec_map_draw"),this._controller=new zA(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new bi),e.add(this._svgGroup=new bi)}return t.prototype.draw=function(t,e,n,i,r){var o="geo"===t.mainType,a=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},(function(e){a||e.getHostGeoModel()!==t||(a=e.getData())}));var s=t.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),h=c.raw,d=c.roam,p=!l.childAt(0)||r;p?(u.x=d.x,u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,u.dirty()):Nl(u,d,t);var f=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,g={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(g):"geoSVG"===s.resourceType&&this._buildSVG(g),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=s["f"](),n=s["f"](),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,l=t.geo.projection,u=l&&l.stream;function c(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!u&&l&&l.project,i=0;i<t.length;++i){var r=c(t[i],n);r&&e.push(r)}return e}function d(t){return{shape:{points:h(t)}}}i.removeAll(),s["k"](t.geo.regions,(function(r){var h=r.name,p=e.get(h),f=n.get(h)||{},g=f.dataIdx,m=f.regionModel;p||(p=e.set(h,new bi),i.add(p),g=a?a.indexOfName(h):null,m=t.isGeo?o.getRegionModel(h):a?a.getItemModel(g):null,n.set(h,{dataIdx:g,regionModel:m}));var v=[],y=[];s["k"](r.geometries,(function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);u&&(e=pP(e,u)),s["k"](e,(function(t){v.push(new kg(d(t)))}))}else{var n=t.points;u&&(n=pP(n,u,!0)),s["k"](n,(function(t){y.push(new Tg(d(t)))}))}}));var b=c(r.getCenter(),l&&l.project);function _(e,n){if(e.length){var i=new qg({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});p.add(i),lP(t,i,g,m),uP(t,i,h,m,o,g,b),n&&(aP(i),s["k"](i.states,aP))}}_(v),_(y,!0)})),e.each((function(e,i){var r=n.get(i),a=r.dataIdx,s=r.regionModel;cP(t,e,i,s,o,a),hP(t,e,i,s,o),dP(t,e,i,s,o)}),this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var i=this._svgDispatcherMap=s["f"](),r=!1;s["k"](this._svgGraphicRecord.named,(function(e){var n=e.name,o=t.mapOrGeoModel,a=t.data,s=e.svgNodeTagLower,l=e.el,u=a?a.indexOfName(n):null,c=o.getRegionModel(n);if(null!=eP.get(s)&&l instanceof Io&&lP(t,l,u,c),l instanceof Io&&(l.culling=!0),l.z2EmphasisLift=0,!e.namedFrom&&(null!=iP.get(s)&&uP(t,l,n,c,o,u,null),cP(t,l,n,c,o,u),hP(t,l,n,c,o),null!=nP.get(s))){var h=dP(t,l,n,c,o);"self"===h&&(r=!0);var d=i.get(n)||i.set(n,[]);d.push(l)}}),this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),i=n.opacity;this._svgGraphicRecord.root.traverse((function(t){if(!t.isGroup){el(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=i&&(e.opacity=i),t.ensureState("emphasis")}}))}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var n=e.coordinateSystem;if("geoJSON"===n.resourceType){var i=this._regionsGroupByName;if(i){var r=i.get(t);return r?[r]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=JI.getGeoResource(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=JI.getGeoResource(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,n){var i=t.coordinateSystem,r=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=i.getZoom(),r.enable(t.get("roam")||!1);var a=t.mainType;function l(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.id,e}r.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,VA(o,t.dx,t.dy),n.dispatchAction(s["m"](l(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))}),this),r.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,qA(o,t.scale,t.originX,t.originY),n.dispatchAction(s["m"](l(),{zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))}),this),r.setPointerChecker((function(e,r,o){return i.containPoint([r,o])&&!GA(e,n,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=rP(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,n,i){var r=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){r._mouseDownFlag=!0})),e.on("click",(function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},t}();function lP(t,e,n,i){var r=i.getModel("itemStyle"),o=i.getModel(["emphasis","itemStyle"]),a=i.getModel(["blur","itemStyle"]),s=i.getModel(["select","itemStyle"]),l=oP(r),u=oP(o),c=oP(s),h=oP(a),d=t.data;if(d){var p=d.getItemVisual(n,"style"),f=d.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&p.fill&&(l.fill=p.fill),f&&(l.decal=Wy(f,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=c,e.ensureState("blur").style=h,el(e)}function uP(t,e,n,i,r,o,a){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),c=s&&s.getItemLayout(o);if(l||u||c&&c.showLabel){var h=l?n:o,d=void 0;(!s||o>=0)&&(d=r);var p=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Xl(e,Kl(i),{labelFetcher:d,labelDataIndex:h,defaultText:n},p);var f=e.getTextContent();if(f&&(rP(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function cP(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):bs(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function hP(t,e,n,i,r){t.data||Dm({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function dP(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return Sl(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&Il(e,r,n),a}function pP(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var l=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&l.polygonStart(),s["k"](t,(function(t){l.lineStart();for(var e=0;e<t.length;e++)l.point(t[e][0],t[e][1]);l.lineEnd()})),!n&&l.polygonEnd(),r}var fP=sP,gP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id){o=this._mapDraw;o&&r.add(o.group)}else if(t.needsDrawMap){var o=this._mapDraw||new fP(n);r.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var i=t.originalData,r=this.group;i.each(i.mapDimension("value"),(function(e,n){if(!isNaN(e)){var o=i.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new Kf({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:Is+1)});if(!s){var u=t.mainSeries.getData(),c=i.getName(n),h=u.indexOfName(c),d=i.getItemModel(n),p=d.getModel("label"),f=u.getItemGraphicEl(h);Xl(l,Kl(d),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(h,n)}},defaultText:c}),l.disableLabelAnimation=!0,p.get("position")||l.setTextConfig({position:"bottom"}),f.onHoverStateChange=function(t){Xs(l,t)}}r.add(l)}}}))},e.type="map",e}(Hm),mP=gP,vP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.getCenter())}},n}return o(e,t),e.prototype.getInitialData=function(t){for(var e=iM(this,{coordDimensions:["value"],encodeDefaulter:s["h"](ch,this)}),n=s["f"](),i=[],r=0,o=e.count();r<o;r++){var a=e.getName(r);n.set(a,!0)}var l=JI.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return s["k"](l.regions,(function(t){var e=t.name;n.get(e)||i.push(e)})),e.appendValues([],i),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData(),r=this.getRawValue(t),o=i.getName(t),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),c=i.mapDimension("value");isNaN(a[l].originalData.get(c,u))||s.push(a[l].name)}return Hp("section",{header:s.join(", "),noHeader:!s.length,blocks:[Hp("nameValue",{name:o,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",n=iy(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(xf),yP=vP;function bP(t,e){var n={};return s["k"](t,(function(t){t.each(t.mapDimension("value"),(function(e,i){var r="ec-"+t.getName(i);n[r]=n[r]||[],isNaN(e)||n[r].push(e)}))})),t[0].map(t[0].mapDimension("value"),(function(i,r){for(var o,a="ec-"+t[0].getName(r),s=0,l=1/0,u=-1/0,c=n[a].length,h=0;h<c;h++)l=Math.min(l,n[a][h]),u=Math.max(u,n[a][h]),s+=n[a][h];return o="min"===e?l:"max"===e?u:"average"===e?s/c:s,0===c?NaN:o}))}function _P(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),s["k"](e,(function(t,e){for(var n=bP(s["H"](t,(function(t){return t.getData()})),t[0].get("mapValueCalculation")),i=0;i<t.length;i++)t[i].originalData=t[i].getData();for(i=0;i<t.length;i++)t[i].seriesGroup=t,t[i].needsDrawMap=0===i&&!t[i].getHostGeoModel(),t[i].setData(n.cloneShallow()),t[i].mainSeries=t[0]}))}function xP(t){var e={};t.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var r={};s["k"](n.seriesGroup,(function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),(function(t,e){var o=i.getName(e),a=n.getRegion(o);if(a&&!isNaN(t)){var s=r[o]||0,l=n.dataToPoint(a.getCenter());r[o]=s+1,i.setItemLayout(e,{point:l,offset:s})}}))}));var o=n.getData();o.each((function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!r[e],o.setItemLayout(t,n)})),e[i]=!0}}))}var wP=M,SP=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new Ln,n._rawTransformable=new Ln,n.name=e,n}return o(e,t),e.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new Wn(t,e,n,i),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,i){this._transformTo(t,e,n,i),this._viewRect=new Wn(t,e,n,i)},e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new Wn(t,e,n,i));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[Pi(t[0],e.getWidth()),Pi(t[1],e.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect(),e=t.x+t.width/2,n=t.y+t.height/2;return[e,n]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=M([],i,t),n=M([],n,t),e.originX=i[0],e.originY=i[1],e.x=n[0]-i[0],e.y=n[1]-i[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),vn(this.transform||(this.transform=[]),e.transform||gn()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],wn(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new Ln;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?wP(n,t,i):h(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?wP([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var i=CP(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=CP(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(Ln);function CP(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var kP=SP,MP={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},OP=["lng","lat"],TP=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.dimensions=OP,r.type="geo",r._nameCoordMap=s["f"](),r.map=n;var o,a=i.projection,l=JI.load(n,i.nameMap,i.nameProperty),u=JI.getGeoResource(n),c=(r.resourceType=u?u.type:null,r.regions=l.regions),h=MP[u.type];if(r._regionsMap=l.regionsMap,r.regions=l.regions,r.projection=a,a)for(var d=0;d<c.length;d++){var p=c[d].getBoundingRect(a);o=o||p.clone(),o.union(p)}else o=l.boundingRect;return r.setBoundingRect(o.x,o.y,o.width,o.height),r.aspectScale=a?1:s["P"](i.aspectScale,h.aspectScale),r._invertLongitute=!a&&h.invertLongitute,r}return o(e,t),e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var a=this._rawTransformable;a.transform=r.calculateTransform(new Wn(t,e,n,i));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++){var i=e[n];if("geoJSON"===i.type&&i.contain(t))return e[n]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,n){if(s["C"](t)&&(t=this.getGeoCoord(t)),t){var i=this.projection;return i&&(t=i.project(t)),t&&this.projectedToPoint(t,e,n)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,n,i){return t.prototype.dataToPoint.call(this,e,n,i)},e.prototype.convertToPixel=function(t,e,n){var i=AP(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=AP(e);return i===this?i.pointToData(n):null},e}(kP);function AP(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",Ar).models[0]||{}).coordinateSystem:null}s["K"](TP,kP);var IP=TP;function PP(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];if(isFinite(i[0])&&isFinite(i[1])&&isFinite(r[0])&&isFinite(r[1])){var o=this.projection;if(o){var a=i[0],s=i[1],l=r[0],u=r[1];i=[1/0,1/0],r=[-1/0,-1/0];var c=function(t,e,n,a){for(var s=n-t,l=a-e,u=0;u<=100;u++){var c=u/100,h=o.project([t+s*c,e+l*c]);O(i,i,h),T(r,r,h)}};c(a,s,l,s),c(l,s,l,u),c(l,u,a,u),c(a,u,l,s)}this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}else 0}var h,d,p,f=this.getBoundingRect(),g=t.get("layoutCenter"),m=t.get("layoutSize"),v=e.getWidth(),y=e.getHeight(),b=f.width/f.height*this.aspectScale,_=!1;if(g&&m&&(h=[Pi(g[0],v),Pi(g[1],y)],d=Pi(m,Math.min(v,y)),isNaN(h[0])||isNaN(h[1])||isNaN(d)||(_=!0)),_)p={},b>1?(p.width=d,p.height=d/b):(p.height=d,p.width=d*b),p.y=h[1]-p.height/2,p.x=h[0]-p.width/2;else{var x=t.getBoxLayoutParams();x.aspect=b,p=Bc(x,{width:v,height:y})}this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}function EP(t,e){s["k"](e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var DP=function(){function t(){this.dimensions=OP}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new IP(o+r,o,s["m"]({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=PP,a.resize(t,e)})),t.eachSeries((function(t){var e=t.get("coordinateSystem");if("geo"===e){var i=t.get("geoIndex")||0;t.coordinateSystem=n[i]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),s["k"](r,(function(t,r){var o=s["H"](t,(function(t){return t.get("nameMap")})),a=new IP(r,r,s["m"]({nameMap:s["J"](o)},i(t[0])));a.zoomLimit=s["O"].apply(null,s["H"](t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=PP,a.resize(t[0],e),s["k"](t,(function(t){t.coordinateSystem=a,EP(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=s["f"](),a=0;a<r.length;a++)o.set(r[a].name,r[a]);var l=JI.load(e,n,i);return s["k"](l.regions,(function(t){var e=t.name;!o.get(e)&&r.push({name:e})})),r},t}(),LP=new DP,jP=LP,RP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e,n){var i=JI.getGeoResource(t.map);if(i&&"geoJSON"===i.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,n),rr(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=jP.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=s["N"](e.regions||[],(function(e,i){var r=i.name;return r&&(e.set(r,new xu(i,t,t.ecModel)),i.selected&&(n[r]=!0)),e}),s["f"]()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new xu(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),i="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:t};return s["w"](i)?(r.status=e,i(r)):s["C"](i)?i.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;if(n){"multiple"!==n&&(e.selectedMap=null);var i=e.selectedMap||(e.selectedMap={});i[t]=!0}},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(Uc),BP=RP;function NP(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function FP(t,e,n,i){var r=t.getZoom(),o=t.getCenter(),a=e.zoom,s=t.projectedToPoint?t.projectedToPoint(o):t.dataToPoint(o);if(null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(NP(t,s),i)),null!=a){if(n){var l=n.min||0,u=n.max||1/0;a=Math.max(Math.min(r*a,u),l)/r}t.scaleX*=a,t.scaleY*=a;var c=(e.originX-t.x)*(a-1),h=(e.originY-t.y)*(a-1);t.x-=c,t.y-=h,t.updateTransform(),t.setCenter(NP(t,s),i),t.setZoom(a*r)}return{center:t.getCenter(),zoom:t.getZoom()}}var zP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return o(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,i){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new fP(n));var r=this._mapDraw;r.draw(t,e,n,this,i),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;$v(t.target,(function(t){return null!=(e=bs(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var i=this;this._mapDraw.group.traverse((function(t){var e=bs(t).eventData;if(e)return i._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0}))},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(Sf),VP=zP;function qP(t,e,n){JI.registerMap(t,e,n)}function $P(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name);var o=n.coordinateSystem;Object(s["k"])(o.regions,(function(t){i[t.name]=n.isSelected(t.name)||!1}));var a=[];Object(s["k"])(i,(function(t,e){i[e]&&a.push(e)})),r.push({geoIndex:n.componentIndex,name:a})})),{selected:i,allSelected:r,name:t.name}}))}t.registerCoordinateSystem("geo",jP),t.registerComponentModel(BP),t.registerComponentView(VP),t.registerImpl("registerMap",qP),t.registerImpl("getMap",(function(t){return JI.getMapForUser(t)})),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e,n){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},(function(e){var r=e.coordinateSystem;if("geo"===r.type){var o=FP(r,t,e.get("scaleLimit"),n);e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===i&&Object(s["k"])(e.seriesGroup,(function(t){t.setCenter(o.center),t.setZoom(o.zoom)}))}}))}))}function HP(t){A_($P),t.registerChartView(mP),t.registerSeriesModel(yP),t.registerLayout(xP),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,_P),zv("map",t.registerAction)}function GP(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var n,i,r=[e];while(n=r.pop())if(i=n.children,n.isExpand&&i.length)for(var o=i.length,a=o-1;a>=0;a--){var s=i[a];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},r.push(s)}}function WP(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){ZP(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=QP(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function UP(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function YP(t){return arguments.length?t:iE}function XP(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function KP(t,e){return Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function ZP(t){var e=t.children,n=e.length,i=0,r=0;while(--n>=0){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}function QP(t,e,n,i){if(e){var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,h=s.hierNode.modifier;while(s=JP(s),o=tE(o),s&&o){r=JP(r),a=tE(a),r.hierNode.ancestor=t;var d=s.hierNode.prelim+h-o.hierNode.prelim-u+i(s,o);d>0&&(nE(eE(s,t,n),t,d),u+=d,l+=d),h+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,c+=a.hierNode.modifier}s&&!JP(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!tE(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=t)}return n}function JP(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function tE(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function eE(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function nE(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function iE(t,e){return t.parentNode===e.parentNode?1:2}var rE=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),oE=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new rE},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=Pi(e.forkPosition,1),h=[];h[l]=r[l],h[u]=r[u]+(a[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var d=1;d<i-1;d++){var p=n[d];t.moveTo(p[0],p[1]),h[l]=p[l],t.lineTo(h[0],h[1])}},e}(Ba),aE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new bi,n}return o(e,t),e.prototype.init=function(t,e){this._controller=new zA(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var i=t.getData(),r=t.layoutInfo,o=this._mainGroup,a=t.get("layout");"radial"===a?(o.x=r.x+r.width/2,o.y=r.y+r.height/2):(o.x=r.x,o.y=r.y),this._updateViewCoordSys(t,n),this._updateController(t,e,n);var s=this._data;i.diff(s).add((function(e){sE(i,e)&&lE(i,e,null,o,t)})).update((function(e,n){var r=s.getItemGraphicEl(n);sE(i,e)?lE(i,e,r,o,t):r&&dE(s,n,r,o,t)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&dE(s,e,n,o,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&i.eachItemGraphicEl((function(e,i){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})}))})),this._data=i},e.prototype._updateViewCoordSys=function(t,e){var n=t.getData(),i=[];n.each((function(t){var e=n.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||i.push([+e.x,+e.y])}));var r=[],o=[];Fo(i,r,o);var a=this._min,s=this._max;o[0]-r[0]===0&&(r[0]=a?a[0]:r[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-r[1]===0&&(r[1]=a?a[1]:r[1]-1,o[1]=s?s[1]:o[1]+1);var l=t.coordinateSystem=new kP;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(r[0],r[1],o[0]-r[0],o[1]-r[1]),l.setCenter(t.get("center"),e),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=r,this._max=o},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!GA(e,n,t)})),r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){VA(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){qA(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(t),n.updateLabelLayout()}))},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scaleX||1,r=e.getZoom(),o=(r-1)*n+1;return o/i},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(Hm);function sE(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function lE(t,e,n,i,r){var o=!n,a=t.tree.getNodeByDataIndex(e),l=a.getModel(),u=a.getVisual("style").fill,c=!1===a.isExpand&&0!==a.children.length?u:"#fff",h=t.tree.root,d=a.parentNode===h?a:a.parentNode||a,p=t.getItemGraphicEl(d.dataIndex),f=d.getLayout(),g=p?{x:p.__oldX,y:p.__oldY,rawX:p.__radialOldRawX,rawY:p.__radialOldRawY}:f,m=a.getLayout();o?(n=new bS(t,e,null,{symbolInnerColor:c,useNameLabel:!0}),n.x=g.x,n.y=g.y):n.updateData(t,e,null,{symbolInnerColor:c,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=m.rawX,n.__radialRawY=m.rawY,i.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,Nl(n,{x:m.x,y:m.y},r);var v=n.getSymbolPath();if("radial"===r.get("layout")){var y=h.children[0],b=y.getLayout(),_=y.children.length,x=void 0,w=void 0;if(m.x===b.x&&!0===a.isExpand&&y.children.length){var S={x:(y.children[0].getLayout().x+y.children[_-1].getLayout().x)/2,y:(y.children[0].getLayout().y+y.children[_-1].getLayout().y)/2};x=Math.atan2(S.y-b.y,S.x-b.x),x<0&&(x=2*Math.PI+x),w=S.x<b.x,w&&(x-=Math.PI)}else x=Math.atan2(m.y-b.y,m.x-b.x),x<0&&(x=2*Math.PI+x),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(w=m.x<b.x,w&&(x-=Math.PI)):(w=m.x>b.x,w||(x-=Math.PI));var C=w?"left":"right",k=l.getModel("label"),M=k.get("rotate"),O=M*(Math.PI/180),T=v.getTextContent();T&&(v.setTextConfig({position:k.get("position")||C,rotation:null==M?-x:O,origin:"center"}),T.setStyle("verticalAlign","middle"))}var A=l.get(["emphasis","focus"]),I="relative"===A?s["e"](a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===A?a.getAncestorsIndices():"descendant"===A?a.getDescendantIndices():null;I&&(bs(n).focus=I),uE(r,a,h,n,g,f,m,i),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var i=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);i&&i.hoverState===Ms||Xs(n.__edge,e)}})}function uE(t,e,n,i,r,o,a,l){var u=e.getModel(),c=t.get("edgeShape"),h=t.get("layout"),d=t.getOrient(),p=t.get(["lineStyle","curveness"]),f=t.get("edgeForkPosition"),g=u.getModel("lineStyle").getLineStyle(),m=i.__edge;if("curve"===c)e.parentNode&&e.parentNode!==n&&(m||(m=i.__edge=new Bg({shape:pE(h,d,p,r,r)})),Nl(m,{shape:pE(h,d,p,o,a)},t));else if("polyline"===c)if("orthogonal"===h){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var v=e.children,y=[],b=0;b<v.length;b++){var _=v[b].getLayout();y.push([_.x,_.y])}m||(m=i.__edge=new oE({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:d,forkPosition:f}})),Nl(m,{shape:{parentPoint:[a.x,a.y],childPoints:y}},t)}}else 0;m&&("polyline"!==c||e.isExpand)&&(m.useStyle(s["i"]({strokeNoScale:!0,fill:null},g)),Ol(m,u,"lineStyle"),el(m),l.add(m))}function cE(t,e,n,i,r){var o=e.tree.root,a=hE(o,t),s=a.source,l=a.sourceLayout,u=e.getItemGraphicEl(t.dataIndex);if(u){var c=e.getItemGraphicEl(s.dataIndex),h=c.__edge,d=u.__edge||(!1===s.isExpand||1===s.children.length?h:void 0),p=i.get("edgeShape"),f=i.get("layout"),g=i.get("orient"),m=i.get(["lineStyle","curveness"]);d&&("curve"===p?Vl(d,{shape:pE(f,g,m,l,l),style:{opacity:0}},i,{cb:function(){n.remove(d)},removeOpt:r}):"polyline"===p&&"orthogonal"===i.get("layout")&&Vl(d,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},i,{cb:function(){n.remove(d)},removeOpt:r}))}}function hE(t,e){var n,i=e.parentNode===t?e:e.parentNode||e;while(n=i.getLayout(),null==n)i=i.parentNode===t?i:i.parentNode||i;return{source:i,sourceLayout:n}}function dE(t,e,n,i,r){var o=t.tree.getNodeByDataIndex(e),a=t.tree.root,s=hE(a,o).sourceLayout,l={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};Vl(n,{x:s.x+1,y:s.y+1},r,{cb:function(){i.remove(n),t.setItemGraphicEl(e,null)},removeOpt:l}),n.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:l}),o.children.forEach((function(e){cE(e,t,i,r,l)})),cE(o,t,i,r,l)}function pE(t,e,n,i,r){var o,a,s,l,u,c,h,d;if("radial"===t){u=i.rawX,h=i.rawY,c=r.rawX,d=r.rawY;var p=XP(u,h),f=XP(u,h+(d-h)*n),g=XP(c,d+(h-d)*n),m=XP(c,d);return{x1:p.x||0,y1:p.y||0,x2:m.x||0,y2:m.y||0,cpx1:f.x||0,cpy1:f.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=i.x,h=i.y,c=r.x,d=r.y,"LR"!==e&&"RL"!==e||(o=u+(c-u)*n,a=h,s=c+(u-c)*n,l=d),"TB"!==e&&"BT"!==e||(o=u,a=h+(d-h)*n,s=c,l=d+(h-d)*n),{x1:u,y1:h,x2:c,y2:d,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var fE=aE,gE=kr();function mE(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,SE(e,n,t),Object(s["k"])(n,(function(n){Object(s["k"])(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,Object(s["h"])(vE,t))}))})),e.wrapMethod("cloneShallow",Object(s["h"])(bE,t)),Object(s["k"])(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,Object(s["h"])(yE,t))})),Object(s["b"])(n[e.dataType]===e)}function vE(t,e){if(wE(this)){var n=Object(s["m"])({},gE(this).datas);n[this.dataType]=e,SE(e,n,t)}else CE(e,this.dataType,gE(this).mainData,t);return e}function yE(t,e){return t.struct&&t.struct.update(),e}function bE(t,e){return Object(s["k"])(gE(e).datas,(function(n,i){n!==e&&CE(n.cloneShallow(),i,e,t)})),e}function _E(t){var e=gE(this).mainData;return null==t||null==e?e:gE(e).datas[t]}function xE(){var t=gE(this).mainData;return null==t?[{data:t}]:Object(s["H"])(Object(s["F"])(gE(t).datas),(function(e){return{type:e,data:gE(t).datas[e]}}))}function wE(t){return gE(t).mainData===t}function SE(t,e,n){gE(t).datas={},Object(s["k"])(e,(function(e,i){CE(e,i,t,n)}))}function CE(t,e,n,i){gE(n).datas[e]=t,gE(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=_E,t.getLinkedDataAll=xE}var kE=mE,ME=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){s["w"](t)&&(n=e,e=t,t=null),t=t||{},s["C"](t)&&(t={order:t});var i,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(i=e.call(n,this));for(var a=0;!i&&a<o.length;a++)o[a].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){var e=[],n=t?this:this.parentNode;while(n)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){var t=[],e=this;while(e)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),OE=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,i){var r=new t(n),o=[],a=1;function l(t,e){var n=t.value;a=Math.max(a,s["t"](n)?n.length:1),o.push(t);var i=new ME(vr(t.name,""),r);e?TE(i,e):r.root=i,r._nodes.push(i);var u=t.children;if(u)for(var c=0;c<u.length;c++)l(u[c],i)}l(e),r.root.updateDepthAndHeight(0);var u=Xw(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,c=new Yw(u,n);return c.initData(o),i&&i(c),kE({mainData:c,struct:r,structAttr:"tree"}),r.update(),r},t}();function TE(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}var AE=OE;function IE(t,e,n){if(t&&s["r"](e,t.type)>=0){var i=n.getData().tree.root,r=t.targetNode;if(s["C"](r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function PE(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function EE(t,e){var n=PE(t);return s["r"](n,e)>=0}function DE(t,e){var n=[];while(t){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var LE=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return o(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new xu(n,this,this.ecModel),r=AE.createTree(e,this,o);function o(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}var a=0;r.eachNode("preorder",(function(t){t.depth>a&&(a=t.depth)}));var s=t.expandAndCollapse,l=s&&t.initialTreeDepth>=0?t.initialTreeDepth:a;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;while(o&&o!==r)s=o.parentNode.name+"."+s,o=o.parentNode;return Hp("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=DE(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(xf),jE=LE;function RE(t,e,n){var i,r=[t],o=[];while(i=r.pop())if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s<a.length;s++)r.push(a[s])}while(i=o.pop())e(i,n)}function BE(t,e){var n,i=[t];while(n=i.pop())if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function NE(t,e){t.eachSeriesByType("tree",(function(t){FE(t,e)}))}function FE(t,e){var n=KP(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=YP((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=YP());var s=t.getData().tree.root,l=s.children[0];if(l){GP(s),RE(l,WP,a),s.hierNode.modifier=-l.hierNode.prelim,BE(l,UP);var u=l,c=l,h=l;BE(l,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>h.depth&&(h=t)}));var d=u===c?1:a(u,c)/2,p=d-u.getLayout().x,f=0,g=0,m=0,v=0;if("radial"===i)f=r/(c.getLayout().x+d+p),g=o/(h.depth-1||1),BE(l,(function(t){m=(t.getLayout().x+p)*f,v=(t.depth-1)*g;var e=XP(m,v);t.setLayout({x:e.x,y:e.y,rawX:m,rawY:v},!0)}));else{var y=t.getOrient();"RL"===y||"LR"===y?(g=o/(c.getLayout().x+d+p),f=r/(h.depth-1||1),BE(l,(function(t){v=(t.getLayout().x+p)*g,m="LR"===y?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:m,y:v},!0)}))):"TB"!==y&&"BT"!==y||(f=r/(c.getLayout().x+d+p),g=o/(h.depth-1||1),BE(l,(function(t){m=(t.getLayout().x+p)*f,v="TB"===y?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:m,y:v},!0)})))}}}function zE(t){t.eachSeriesByType("tree",(function(t){var e=t.getData(),n=e.tree;n.eachNode((function(t){var n=t.getModel(),i=n.getModel("itemStyle").getItemStyle(),r=e.ensureUniqueItemVisual(t.dataIndex,"style");Object(s["m"])(r,i)}))}))}function VE(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,i=e.getData().tree,r=i.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=e.coordinateSystem,r=FP(i,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}function qE(t){t.registerChartView(fE),t.registerSeriesModel(jE),t.registerLayout(NE),t.registerVisual(zE),VE(t)}var $E=["treemapZoomToNode","treemapRender","treemapMove"];function HE(t){for(var e=0;e<$E.length;e++)t.registerAction({type:$E[e],update:"updateView"},s["L"]);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){function n(e,n){var i=["treemapZoomToNode","treemapRootToNode"],r=IE(t,i,e);if(r){var o=e.getViewRoot();o&&(t.direction=EE(o,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}e.eachComponent({mainType:"series",subType:"treemap",query:t},n)}))}function GE(t){var e=t.getData(),n=e.tree,i={};n.eachNode((function(e){var n=e;while(n&&n.depth>1)n=n.parentNode;var r=xh(t.ecModel,n.name||n.dataIndex+"",i);e.setVisual("decal",r)}))}var WE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};UE(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new xu({itemStyle:r},this,e);i=t.levels=YE(i,e);var a=s["H"](i||[],(function(t){return new xu(t,o,e)}),this),l=AE.createTree(n,this,u);function u(t){t.wrapMethod("getItemModel",(function(t,e){var n=l.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}return l.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return Hp("nameValue",{name:o,value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=DE(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},s["m"](this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=s["f"](),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){GE(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(xf);function UE(t){var e=0;s["k"](t.children,(function(t){UE(t);var n=t.value;s["t"](n)&&(n=n[0]),e+=n}));var n=t.value;s["t"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),s["t"](t.value)?t.value[0]=n:t.value=n}function YE(t,e){var n=ir(e.get("color")),i=ir(e.get(["aria","decal","decals"]));if(n){var r,o;t=t||[],s["k"](t,(function(t){var e=new xu(t),n=e.get("color"),i=e.get("decal");(e.get(["itemStyle","color"])||n&&"none"!==n)&&(r=!0),(e.get(["itemStyle","decal"])||i&&"none"!==i)&&(o=!0)}));var a=t[0]||(t[0]={});return r||(a.color=n.slice()),!o&&i&&(a.decal=i.slice()),t}}var XE=WE,KE=8,ZE=8,QE=5,JE=function(){function t(t){this.group=new bi,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=a.getModel("textStyle"),l={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,l,s),this._renderContent(t,l,a,s,i),Nc(o,l.pos,l.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=vr(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+2*KE,e.emptyItemWidth);e.totalWidth+=a+ZE,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r){for(var o=0,a=e.emptyItemWidth,l=t.get(["breadcrumb","height"]),u=Rc(e.pos,e.box),c=e.totalWidth,h=e.renderList,d=h.length-1;d>=0;d--){var p=h[d],f=p.node,g=p.width,m=p.text;c>u.width&&(c-=g-a,g=a,m=null);var v=new kg({shape:{points:tD(o,0,g,l,d===h.length-1,0===d)},style:Object(s["i"])(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new ys({style:{text:m,fill:i.getTextColor(),font:i.getFont()}}),textConfig:{position:"inside"},z2:1e4*Is,onclick:Object(s["h"])(r,f)});v.disableLabelAnimation=!0,this.group.add(v),eD(v,t,f),o+=g+ZE}},t.prototype.remove=function(){this.group.removeAll()},t}();function tD(t,e,n,i,r,o){var a=[[r?t:t-QE,e],[t+n,e],[t+n,e+i],[r?t:t-QE,e+i]];return!o&&a.splice(2,0,[t+n+QE,e+i/2]),!r&&a.push([t,e+i/2]),a}function eD(t,e,n){bs(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&DE(n,e)}}var nD=JE,iD=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){e--,e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i<r;i++){var o=this._storage[i];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();function rD(){return new iD}var oD=bi,aD=ts,sD=3,lD="label",uD="upperLabel",cD=10*Is,hD=2*Is,dD=3*Is,pD=Kr([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),fD=function(t){var e=pD(t);return e.stroke=e.fill=e.lineWidth=null,e},gD=kr(),mD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage=vD(),n}return o(e,t),e.prototype.render=function(t,e,n,i){var r=e.findComponents({mainType:"series",subType:"treemap",query:i});if(!(Object(s["r"])(r,t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var o=["treemapZoomToNode","treemapRootToNode"],a=IE(i,o,t),l=i&&i.type,u=t.layoutInfo,c=!this._oldTree,h=this._storage,d="treemapRootToNode"===l&&a&&h?{rootNodeGroup:h.nodeGroup[a.node.getRawIndex()],direction:i.direction}:null,p=this._giveContainerGroup(u),f=t.get("animation"),g=this._doRender(p,t,d);!f||c||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?g.renderFinally():this._doAnimation(p,g,t,d),this._resetController(n),this._renderBreadcrumb(t,n,a)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new oD,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var i=e.getData().tree,r=this._oldTree,o=vD(),a=vD(),l=this._storage,u=[];function c(t,i,r,s){return yD(e,a,l,n,o,u,t,i,r,s)}d(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var h=p(l);return this._oldTree=i,this._storage=a,{lastsForAnimation:o,willDeleteEls:h,renderFinally:f};function d(t,e,n,i,r){function o(t){return t.getId()}function a(o,a){var s=null!=o?t[o]:null,l=null!=a?e[a]:null,u=c(s,l,n,r);u&&d(s&&s.viewChildren||[],l&&l.viewChildren||[],u,i,r+1)}i?(e=t,Object(s["k"])(t,(function(t,e){!t.isRemoved()&&a(e,e)}))):new yw(e,t,o,o).add(a).update(a).remove(Object(s["h"])(a,null)).execute()}function p(t){var e=vD();return t&&Object(s["k"])(t,(function(t,n){var i=e[n];Object(s["k"])(t,(function(t){t&&(i.push(t),gD(t).willDelete=!0)}))})),e}function f(){Object(s["k"])(h,(function(t){Object(s["k"])(t,(function(t){t.parent&&t.parent.remove(t)}))})),Object(s["k"])(u,(function(t){t.invisible=!0,t.dirty()}))}},e.prototype._doAnimation=function(t,e,n,i){var r=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=(Object(s["w"])(r)?0:r)||0,l=(Object(s["w"])(o)?null:o)||"cubicOut",u=rD();Object(s["k"])(e.willDeleteEls,(function(t,e){Object(s["k"])(t,(function(t,n){if(!t.invisible){var r,o=t.parent,s=gD(o);if(i&&"drillDown"===i.direction)r=o===i.rootNodeGroup?{shape:{x:0,y:0,width:s.nodeWidth,height:s.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,h=0;s.willDelete||(c=s.nodeWidth/2,h=s.nodeHeight/2),r="nodeGroup"===e?{x:c,y:h,style:{opacity:0}}:{shape:{x:c,y:h,width:0,height:0},style:{opacity:0}}}r&&u.add(t,r,a,0,l)}}))})),Object(s["k"])(this._storage,(function(t,n){Object(s["k"])(t,(function(t,i){var r=e.lastsForAnimation[n][i],o={};r&&(t instanceof bi?null!=r.oldX&&(o.x=t.x,o.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(o.shape=Object(s["m"])({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),u.add(t,o,a,0,l))}))}),this),this._state="animating",u.finished(Object(s["c"])((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||(e=this._controller=new zA(t.getZr()),e.enable(this.seriesModel.get("roam")),e.on("pan",Object(s["c"])(this._onPan,this)),e.on("zoom",Object(s["c"])(this._onZoom,this)));var n=new Wn(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,i){return n.contain(e,i)}))},e.prototype._clearController=function(){var t=this._controller;t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>sD||Math.abs(t.dy)>sD)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new Wn(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;e-=a.x,n-=a.y;var s=gn();bn(s,s,[-e,-n]),xn(s,s,[t.scale,t.scale]),bn(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Ic(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new nD(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(EE(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=vD(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(Hm);function vD(){return{nodeGroup:[],background:[],content:[]}}function yD(t,e,n,i,r,o,a,l,u,c){if(a){var h=a.getLayout(),d=t.getData(),p=a.getModel();if(d.setItemGraphicEl(a.dataIndex,null),h&&h.isInView){var f=h.width,g=h.height,m=h.borderWidth,v=h.invisible,y=a.getRawIndex(),b=l&&l.getRawIndex(),_=a.viewChildren,x=h.upperHeight,w=_&&_.length,S=p.getModel("itemStyle"),C=p.getModel(["emphasis","itemStyle"]),k=p.getModel(["blur","itemStyle"]),M=p.getModel(["select","itemStyle"]),O=S.get("borderRadius")||0,T=V("nodeGroup",oD);if(T){if(u.add(T),T.x=h.x||0,T.y=h.y||0,T.markRedraw(),gD(T).nodeWidth=f,gD(T).nodeHeight=g,h.isAboveViewRoot)return T;var A=V("background",aD,c,hD);A&&R(T,A,w&&h.upperLabelHeight);var I=p.getModel("emphasis"),P=I.get("focus"),E=I.get("blurScope"),D=I.get("disabled"),L="ancestor"===P?a.getAncestorsIndices():"descendant"===P?a.getDescendantIndices():P;if(w)Al(T)&&Tl(T,!1),A&&(Tl(A,!D),d.setItemGraphicEl(a.dataIndex,A),Cl(A,L,E));else{var j=V("content",aD,c,dD);j&&B(T,j),A.disableMorphing=!0,A&&Al(A)&&Tl(A,!1),Tl(T,!D),d.setItemGraphicEl(a.dataIndex,T),Cl(T,L,E)}return T}}}function R(e,n,i){var r=bs(n);if(r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:f,height:g,r:O}),v)N(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=fD(S);l.fill=s;var u=pD(C);u.fill=C.get("borderColor");var c=pD(k);c.fill=k.get("borderColor");var h=pD(M);if(h.fill=M.get("borderColor"),i){var d=f-2*m;F(n,s,o.opacity,{x:m,y:0,width:d,height:x})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=h,el(n)}e.add(n)}function B(e,n){var i=bs(n);i.dataIndex=a.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(f-2*m,0),o=Math.max(g-2*m,0);if(n.culling=!0,n.setShape({x:m,y:m,width:r,height:o,r:O}),v)N(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=fD(S);u.fill=l,u.decal=s.decal;var c=pD(C),h=pD(k),d=pD(M);F(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=h,n.ensureState("select").style=d,el(n)}e.add(n)}function N(t){!t.invisible&&o.push(t)}function F(e,n,i,r){var o=p.getModel(r?uD:lD),l=vr(p.get("name"),null),u=o.getShallow("show");Xl(e,Kl(p,r?uD:lD),{defaultText:u?l:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:a.dataIndex});var c=e.getTextContent();if(c){var d=c.style,f=Object(s["M"])(d.padding||0);r&&(e.setTextConfig({layoutRect:r}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-f[1]-f[3],0),n=Math.max((r?r.height:e.shape.height)-f[0]-f[2],0);d.width===t&&d.height===n||c.setStyle({width:t,height:n})},d.truncateMinChar=2,d.lineOverflow="truncate",z(d,r,h);var g=c.getState("emphasis");z(g?g.style:null,r,h)}}function z(e,n,i){var r=e?e.text:null;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function V(t,i,o,a){var s=null!=b&&n[t][b],l=r[t];return s?(n[t][b]=null,q(l,s)):v||(s=new i,s instanceof Io&&(s.z2=bD(o,a)),$(l,s)),e[t][y]=s}function q(t,e){var n=t[y]={};e instanceof oD?(n.oldX=e.x,n.oldY=e.y):n.oldShape=Object(s["m"])({},e.shape)}function $(t,e){var n=t[y]={},o=a.parentNode,s=e instanceof bi;if(o&&(!i||"drillDown"===i.direction)){var l=0,u=0,c=r.background[o.getRawIndex()];!i&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}function bD(t,e){return t*cD+e}var _D=mD,xD=s["k"],wD=s["A"],SD=-1,CD=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=s["d"](e);this.type=i,this.mappingMethod=n,this._normalizeData=RD[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(OD(r),kD(r)):"category"===n?r.categories?MD(r):OD(r,!0):(s["b"]("linear"!==n||r.dataExtent),OD(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return s["c"](this._normalizeData,this)},t.listVisualTypes=function(){return s["F"](t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){s["A"](t)?s["k"](t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=s["t"](e)?[]:s["A"](e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&xD(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(s["t"](t))t=t.slice();else{if(!wD(t))return[];var e=[];xD(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o<a;o++){var l=e[o].value;if(null!=l){if(l===t||s["C"](l)&&l===t+"")return o;n&&d(l,o)}}for(o=0,a=e.length;o<a;o++){var u=e[o],c=u.interval,h=u.close;if(c){if(c[0]===-1/0){if(BD(h[1],t,c[1]))return o}else if(c[1]===1/0){if(BD(h[0],c[0],t))return o}else if(BD(h[0],c[0],t)&&BD(h[1],t,c[1]))return o;n&&d(c[0],o),n&&d(c[1],o)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function d(e,n){var o=Math.abs(e-t);o<r&&(r=o,i=n)}},t.visualHandlers={color:{applyVisual:ID("color"),getColorMapper:function(){var t=this.option;return s["c"]("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),PD.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=pe["a"](e,t.parsedVisual,i),r?i:pe["h"](i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return pe["h"](pe["a"](t,this.option.parsedVisual),"rgba")},category:PD,piecewise:function(t,e){var n=LD.call(this,e);return null==n&&(n=pe["h"](pe["a"](t,this.option.parsedVisual),"rgba")),n},fixed:ED}},colorHue:TD((function(t,e){return pe["f"](t,e)})),colorSaturation:TD((function(t,e){return pe["f"](t,null,e)})),colorLightness:TD((function(t,e){return pe["f"](t,null,null,e)})),colorAlpha:TD((function(t,e){return pe["e"](t,e)})),decal:{applyVisual:ID("decal"),_normalizedToVisual:{linear:null,category:PD,piecewise:null,fixed:null}},opacity:{applyVisual:ID("opacity"),_normalizedToVisual:DD([0,1])},liftZ:{applyVisual:ID("liftZ"),_normalizedToVisual:{linear:ED,category:ED,piecewise:ED,fixed:ED}},symbol:{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);n("symbol",i)},_normalizedToVisual:{linear:AD,category:PD,piecewise:function(t,e){var n=LD.call(this,e);return null==n&&(n=AD.call(this,t)),n},fixed:ED}},symbolSize:{applyVisual:ID("symbolSize"),_normalizedToVisual:DD([0,1])}},t}();function kD(t){var e=t.pieceList;t.hasSpecialVisual=!1,s["k"](e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}function MD(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(xD(e,(function(t,e){n[t]=e})),!s["t"](i)){var r=[];s["A"](i)?xD(i,(function(t,e){var i=n[e];r[null!=i?i:SD]=t})):r[SD]=i,i=jD(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}function OD(t,e){var n=t.visual,i=[];s["A"](n)?xD(n,(function(t){i.push(t)})):null!=n&&i.push(n);var r={color:1,symbol:1};e||1!==i.length||r.hasOwnProperty(t.type)||(i[1]=i[0]),jD(t,i)}function TD(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:DD([0,1])}}function AD(t){var e=this.option.visual;return e[Math.round(Ii(t,[0,1],[0,e.length-1],!0))]||{}}function ID(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function PD(t){var e=this.option.visual;return e[this.option.loop&&t!==SD?t%e.length:t]}function ED(){return this.option.visual[0]}function DD(t){return{linear:function(e){return Ii(e,t,this.option.visual,!0)},category:PD,piecewise:function(e,n){var i=LD.call(this,n);return null==i&&(i=Ii(e,t,this.option.visual,!0)),i},fixed:ED}}function LD(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=CD.findPieceIndex(t,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function jD(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=s["H"](e,(function(t){var e=pe["g"](t);return e||[0,0,0,1]}))),e}var RD={linear:function(t){return Ii(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=CD.findPieceIndex(t,e,!0);if(null!=n)return Ii(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?SD:e},fixed:s["L"]};function BD(t,e,n){return t?e<=n:e<n}var ND=CD,FD="itemStyle",zD=kr(),VD={seriesType:"treemap",reset:function(t){var e=t.getData().tree,n=e.root;n.isRemoved()||qD(n,{},t.getViewRoot().getAncestors(),t)}};function qD(t,e,n,i){var r=t.getModel(),o=t.getLayout(),a=t.hostTree.data;if(o&&!o.invisible&&o.isInView){var l,u=r.getModel(FD),c=$D(u,e,i),h=a.ensureUniqueItemVisual(t.dataIndex,"style"),d=u.get("borderColor"),p=u.get("borderColorSaturation");null!=p&&(l=HD(c),d=GD(p,l)),h.stroke=d;var f=t.viewChildren;if(f&&f.length){var g=UD(t,r,o,u,c,f);Object(s["k"])(f,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=XD(r,c,t,e,g,i);qD(t,o,n,i)}}))}else l=HD(c),h.fill=l}}function $D(t,e,n){var i=Object(s["m"])({},e),r=n.designatedVisualItemStyle;return Object(s["k"])(["color","colorAlpha","colorSaturation"],(function(n){r[n]=e[n];var o=t.get(n);r[n]=null,null!=o&&(i[n]=o)})),i}function HD(t){var e=WD(t,"color");if(e){var n=WD(t,"colorAlpha"),i=WD(t,"colorSaturation");return i&&(e=Object(pe["f"])(e,null,null,i)),n&&(e=Object(pe["e"])(e,n)),e}}function GD(t,e){return null!=e?Object(pe["f"])(e,null,null,t):null}function WD(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function UD(t,e,n,i,r,o){if(o&&o.length){var a=YD(e,"color")||null!=r.color&&"none"!==r.color&&(YD(e,"colorAlpha")||YD(e,"colorSaturation"));if(a){var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=e.get("colorMappingBy"),h={type:a.name,dataExtent:u,visual:a.range};"color"!==h.type||"index"!==c&&"id"!==c?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new ND(h);return zD(d).drColorMappingBy=c,d}}}function YD(t,e){var n=t.get(e);return Object(s["t"])(n)&&n.length?{name:e,range:n}:null}function XD(t,e,n,i,r,o){var a=Object(s["m"])({},e);if(r){var l=r.type,u="color"===l&&zD(r).drColorMappingBy,c="index"===u?i:"id"===u?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[l]=r.mapValueToVisual(c)}return a}var KD=Math.max,ZD=Math.min,QD=s["O"],JD=s["k"],tL=["itemStyle","borderWidth"],eL=["itemStyle","gapWidth"],nL=["upperLabel","show"],iL=["upperLabel","height"],rL={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,l=Bc(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),u=a.size||[],c=Pi(QD(l.width,u[0]),r),h=Pi(QD(l.height,u[1]),o),d=i&&i.type,p=["treemapZoomToNode","treemapRootToNode"],f=IE(i,p,t),g="treemapRender"===d||"treemapMove"===d?i.rootRect:null,m=t.getViewRoot(),v=PE(m);if("treemapMove"!==d){var y="treemapZoomToNode"===d?dL(t,f,m,c,h):g?[g.width,g.height]:[c,h],b=a.sort;b&&"asc"!==b&&"desc"!==b&&(b="desc");var _={squareRatio:a.squareRatio,sort:b,leafDepth:a.leafDepth};m.hostTree.clearLayouts();var x={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};m.setLayout(x),oL(m,_,!1,0),x=m.getLayout(),JD(v,(function(t,e){var n=(v[e+1]||m).getValue();t.setLayout(s["m"]({dataExtent:[n,n],borderWidth:0,upperHeight:0},x))}))}var w=t.getData().tree.root;w.setLayout(pL(l,g,f),!0),t.setLayoutInfo(l),fL(w,new Wn(-l.x,-l.y,r,o),v,m,0)}};function oL(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var s=t.getModel(),l=s.get(tL),u=s.get(eL)/2,c=gL(s),h=Math.max(l,c),d=l-u,p=h-u;t.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:c},!0),r=KD(r-2*d,0),o=KD(o-d-p,0);var f=r*o,g=aL(t,s,f,e,n,i);if(g.length){var m={x:d,y:p,width:r,height:o},v=ZD(r,o),y=1/0,b=[];b.area=0;for(var _=0,x=g.length;_<x;){var w=g[_];b.push(w),b.area+=w.getLayout().area;var S=cL(b,v,e.squareRatio);S<=y?(_++,y=S):(b.area-=b.pop().getLayout().area,hL(b,v,m,u,!1),v=ZD(m.width,m.height),b.length=b.area=0,y=1/0)}if(b.length&&hL(b,v,m,u,!0),!n){var C=s.get("childrenVisibleMin");null!=C&&f<C&&(n=!0)}for(_=0,x=g.length;_<x;_++)oL(g[_],e,n,i+1)}}}function aL(t,e,n,i,r,o){var a=t.children||[],l=i.sort;"asc"!==l&&"desc"!==l&&(l=null);var u=null!=i.leafDepth&&i.leafDepth<=o;if(r&&!u)return t.viewChildren=[];a=s["n"](a,(function(t){return!t.isRemoved()})),lL(a,l);var c=uL(e,a,l);if(0===c.sum)return t.viewChildren=[];if(c.sum=sL(e,n,c.sum,l,a),0===c.sum)return t.viewChildren=[];for(var h=0,d=a.length;h<d;h++){var p=a[h].getValue()/c.sum*n;a[h].setLayout({area:p})}return u&&(a.length&&t.setLayout({isLeafRoot:!0},!0),a.length=0),t.viewChildren=a,t.setLayout({dataExtent:c.dataExtent},!0),a}function sL(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}function lL(t,e){return e&&t.sort((function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i})),t}function uL(t,e,n){for(var i=0,r=0,o=e.length;r<o;r++)i+=e[r].getValue();var a,s=t.get("visualDimension");return e&&e.length?"value"===s&&n?(a=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],JD(e,(function(t){var e=t.getValue(s);e<a[0]&&(a[0]=e),e>a[1]&&(a[1]=e)}))):a=[NaN,NaN],{sum:i,dataExtent:a}}function cL(t,e,n){for(var i=0,r=1/0,o=0,a=void 0,s=t.length;o<s;o++)a=t[o].getLayout().area,a&&(a<r&&(r=a),a>i&&(i=a));var l=t.area*t.area,u=e*e*n;return l?KD(u*i/l,l/(u*r)):1/0}function hL(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=e?t.area/e:0;(r||c>n[l[a]])&&(c=n[l[a]]);for(var h=0,d=t.length;h<d;h++){var p=t[h],f={},g=c?p.getLayout().area/c:0,m=f[l[a]]=KD(c-2*i,0),v=n[s[o]]+n[l[o]]-u,y=h===d-1||v<g?v:g,b=f[l[o]]=KD(y-2*i,0);f[s[a]]=n[s[a]]+ZD(i,m/2),f[s[o]]=u+ZD(i,b/2),u+=y,p.setLayout(f,!0)}n[s[a]]+=c,n[l[a]]-=c}function dL(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;while(o=a.parentNode){for(var c=0,h=o.children,d=0,p=h.length;d<p;d++)c+=h[d].getValue();var f=a.getValue();if(0===f)return s;u*=c/f;var g=o.getModel(),m=g.get(tL),v=Math.max(m,gL(g));u+=4*m*m+(3*m+v)*Math.pow(u,.5),u>Fi&&(u=Fi),a=o}u<l&&(u=l);var y=Math.pow(u/l,.5);return[i*y,r*y]}function pL(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var r=n.node,o=r.getLayout();if(!o)return i;var a=[o.width/2,o.height/2],s=r;while(s){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}function fL(t,e,n,i,r){var o=t.getLayout(),a=n[r],s=a&&a===t;if(!(a&&!s||r===n.length&&t!==i)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(o),isAboveViewRoot:s},!0);var l=new Wn(e.x-o.x,e.y-o.y,e.width,e.height);JD(t.viewChildren||[],(function(t){fL(t,l,n,i,r+1)}))}}function gL(t){return t.get(nL)?t.get(iL):0}function mL(t){t.registerSeriesModel(XE),t.registerChartView(_D),t.registerVisual(VD),t.registerLayout(rL),HE(t)}function vL(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph(),r=i.data,o=n.mapArray(n.getName);r.filterSelf((function(t){var n=r.getItemModel(t),i=n.getShallow("category");if(null!=i){Object(s["z"])(i)&&(i=o[i]);for(var a=0;a<e.length;a++)if(!e[a].isSelected(i))return!1}return!0}))}))}function yL(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each((function(i){var o=n.getName(i);r["ec-"+o]=i;var a=n.getItemModel(i),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(o,e)),n.setItemVisual(i,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}})),n.count()&&i.each((function(t){var e=i.getItemModel(t),o=e.getShallow("category");if(null!=o){Object(s["C"])(o)&&(o=r["ec-"+o]);var a=n.getItemVisual(o,"style"),l=i.ensureUniqueItemVisual(t,"style");Object(s["m"])(l,a);for(var u=["symbol","symbolSize","symbolKeepAspect"],c=0;c<u.length;c++)i.setItemVisual(t,u[c],n.getItemVisual(o,u[c]))}}))}))}function bL(t){return t instanceof Array||(t=[t,t]),t}function _L(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),i=bL(t.get("edgeSymbol")),r=bL(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var i=n.getItemModel(t),r=e.getEdgeByIndex(t),o=bL(i.getShallow("symbol",!0)),a=bL(i.getShallow("symbolSize",!0)),l=i.getModel("lineStyle").getLineStyle(),u=n.ensureUniqueItemVisual(t,"style");switch(Object(s["m"])(u,l),u.stroke){case"source":var c=r.node1.getVisual("style");u.stroke=c&&c.fill;break;case"target":c=r.node2.getVisual("style");u.stroke=c&&c.fill;break}o[0]&&r.setVisual("fromSymbol",o[0]),o[1]&&r.setVisual("toSymbol",o[1]),a[0]&&r.setVisual("fromSymbolSize",a[0]),a[1]&&r.setVisual("toSymbolSize",a[1])}))}))}var xL="--\x3e",wL=function(t){return t.get("autoCurveness")||null},SL=function(t,e){var n=wL(t),i=20,r=[];if(s["z"](n))i=n;else if(s["t"](n))return void(t.__curvenessList=n);e>i&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a<o;a++)r.push((a%2?a+1:a)/10*(a%2?-1:1));t.__curvenessList=r},CL=function(t,e,n){var i=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[n.uid,i,r].join(xL)},kL=function(t){var e=t.split(xL);return[e[0],e[2],e[1]].join(xL)},ML=function(t,e){var n=CL(t.node1,t.node2,e);return e.__edgeMap[n]},OL=function(t,e){var n=TL(CL(t.node1,t.node2,e),e),i=TL(CL(t.node2,t.node1,e),e);return n+i},TL=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function AL(t){wL(t)&&(t.__curvenessList=[],t.__edgeMap={},SL(t))}function IL(t,e,n,i){if(wL(n)){var r=CL(t,e,n),o=n.__edgeMap,a=o[kL(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}function PL(t,e,n,i){var r=wL(e),o=s["t"](r);if(!r)return null;var a=ML(t,e);if(!a)return null;for(var l=-1,u=0;u<a.length;u++)if(a[u]===n){l=u;break}var c=OL(t,e);SL(e,c),t.lineStyle=t.lineStyle||{};var h=CL(t.node1,t.node2,e),d=e.__curvenessList,p=o||c%2?0:1;if(a.isForward)return d[p+l];var f=kL(h),g=TL(f,e),m=d[l+g+p];return i?o?r&&0===r[0]?(g+p)%2?m:-m:((g%2?0:1)+p)%2?m:-m:(g+p)%2?m:-m:d[l+g+p]}function EL(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),DL(n,t)}}function DL(t,e){t.eachEdge((function(t,n){var i=s["Q"](t.getModel().get(["lineStyle","curveness"]),-PL(t,e,n,!0),0),r=d(t.node1.getLayout()),o=d(t.node2.getLayout()),a=[r,o];+i&&a.push([(r[0]+o[0])/2-(r[1]-o[1])*i,(r[1]+o[1])/2-(o[0]-r[0])*i]),t.setLayout(a)}))}function LL(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),r=[];Object(s["k"])(n.dimensions,(function(t){r=r.concat(i.mapDimensionsAll(t))}));for(var o=0;o<i.count();o++){for(var a=[],l=!1,u=0;u<r.length;u++){var c=i.get(r[u],o);isNaN(c)||(l=!0),a.push(c)}l?i.setItemLayout(o,n.dataToPoint(a)):i.setItemLayout(o,[NaN,NaN])}DL(i.graph,t)}else e&&"none"!==e||EL(t)}))}function jL(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scaleX,r=e.getZoom(),o=(r-1)*n+1;return o/i}function RL(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var BL=Math.PI,NL=[];function FL(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var i=n.getBoundingRect(),r=t.getData(),o=r.graph,a=i.width/2+i.x,l=i.height/2+i.y,u=Math.min(i.width,i.height)/2,c=r.count();r.setLayout({cx:a,cy:l}),c&&(zL[e](t,o,r,u,a,l,c),o.eachEdge((function(e,n){var i,r=s["Q"](e.getModel().get(["lineStyle","curveness"]),PL(e,t,n),0),o=d(e.node1.getLayout()),u=d(e.node2.getLayout()),c=(o[0]+u[0])/2,h=(o[1]+u[1])/2;+r&&(r*=3,i=[a*r+c*(1-r),l*r+h*(1-r)]),e.setLayout([o,u,i])})))}}var zL={value:function(t,e,n,i,r,o,a){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||a);e.eachNode((function(t){var e=t.getValue("value"),n=u*(l?e:1)/2;s+=n,t.setLayout([i*Math.cos(s)+r,i*Math.sin(s)+o]),s+=n}))},symbolSize:function(t,e,n,i,r,o,a){var s=0;NL.length=a;var l=jL(t);e.eachNode((function(t){var e=RL(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/i);isNaN(n)&&(n=BL/2),NL[t.dataIndex]=n,s+=2*n}));var u=(2*BL-s)/a/2,c=0;e.eachNode((function(t){var e=u+NL[t.dataIndex];c+=e,t.setLayout([i*Math.cos(c)+r,i*Math.sin(c)+o]),c+=e}))}};function VL(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&FL(t,"symbolSize")}))}var qL=g;function $L(t,e,n){for(var i=t,r=e,o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==n.gravity?.1:n.gravity,f=0;f<i.length;f++){var g=i[f];g.p||(g.p=c(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),g.pp=d(g.p),g.edges=null}var y,b,x=null==n.friction?.6:n.friction,w=x;return{warmUp:function(){w=.8*x},setFixed:function(t){i[t].fixed=!0},setUnfixed:function(t){i[t].fixed=!1},beforeStep:function(t){y=t},afterStep:function(t){b=t},step:function(t){y&&y(i,r);for(var e=[],n=i.length,o=0;o<r.length;o++){var a=r[o];if(!a.ignoreForceLayout){var s=a.n1,c=a.n2;m(e,c.p,s.p);var d=v(e)-a.d,f=c.w/(s.w+c.w);isNaN(f)&&(f=0),_(e,e),!s.fixed&&qL(s.p,s.p,e,f*d*w),!c.fixed&&qL(c.p,c.p,e,-(1-f)*d*w)}}for(o=0;o<n;o++){var g=i[o];g.fixed||(m(e,l,g.p),qL(g.p,g.p,e,u*w))}for(o=0;o<n;o++){s=i[o];for(var x=o+1;x<n;x++){c=i[x];m(e,c.p,s.p);d=v(e);0===d&&(p(e,Math.random()-.5,Math.random()-.5),d=1);var S=(s.rep+c.rep)/d/d;!s.fixed&&qL(s.pp,s.pp,e,S),!c.fixed&&qL(c.pp,c.pp,e,-S)}}var C=[];for(o=0;o<n;o++){g=i[o];g.fixed||(m(C,g.p,g.pp),qL(g.p,g.p,C,w),h(g.pp,g.p))}w*=.992;var k=w<.01;b&&b(i,r,k),t&&t(k)}}}function HL(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},i=t.getGraph(),r=i.data,o=i.edgeData,a=t.getModel("force"),l=a.get("initLayout");t.preservedPoints?r.each((function(t){var e=r.getId(t);r.setItemLayout(t,n[e]||[NaN,NaN])})):l&&"none"!==l?"circular"===l&&FL(t,"value"):EL(t);var u=r.getDataExtent("value"),c=o.getDataExtent("value"),d=a.get("repulsion"),p=a.get("edgeLength"),f=s["t"](d)?d:[d,d],g=s["t"](p)?p:[p,p];g=[g[1],g[0]];var m=r.mapArray("value",(function(t,e){var n=r.getItemLayout(e),i=Ii(t,u,f);return isNaN(i)&&(i=(f[0]+f[1])/2),{w:i,rep:i,fixed:r.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),v=o.mapArray("value",(function(e,n){var r=i.getEdgeByIndex(n),o=Ii(e,c,g);isNaN(o)&&(o=(g[0]+g[1])/2);var a=r.getModel(),l=s["Q"](r.getModel().get(["lineStyle","curveness"]),-PL(r,t,n,!0),0);return{n1:m[r.node1.dataIndex],n2:m[r.node2.dataIndex],d:o,curveness:l,ignoreForceLayout:a.get("ignoreForceLayout")}})),y=e.getBoundingRect(),b=$L(m,v,{rect:y,gravity:a.get("gravity"),friction:a.get("friction")});b.beforeStep((function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].fixed&&h(t[n].p,i.getNodeByIndex(n).getLayout())})),b.afterStep((function(t,e,o){for(var a=0,s=t.length;a<s;a++)t[a].fixed||i.getNodeByIndex(a).setLayout(t[a].p),n[r.getId(a)]=t[a].p;for(a=0,s=e.length;a<s;a++){var l=e[a],u=i.getEdgeByIndex(a),c=l.n1.p,d=l.n2.p,p=u.getLayout();p=p?p.slice():[],p[0]=p[0]||[],p[1]=p[1]||[],h(p[0],c),h(p[1],d),+l.curveness&&(p[2]=[(c[0]+d[0])/2-(c[1]-d[1])*l.curveness,(c[1]+d[1])/2-(d[0]-c[0])*l.curveness]),u.setLayout(p)}})),t.forceLayout=b,t.preservedPoints=n,b.step()}else t.forceLayout=null}))}function GL(t,e,n){var i=Object(s["m"])(t.getBoxLayoutParams(),{aspect:n});return Bc(i,{width:e.getWidth(),height:e.getHeight()})}function WL(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var i=t.get("coordinateSystem");if(!i||"view"===i){var r=t.getData(),o=r.mapArray((function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]})),a=[],s=[];Fo(o,a,s),s[0]-a[0]===0&&(s[0]+=1,a[0]-=1),s[1]-a[1]===0&&(s[1]+=1,a[1]-=1);var l=(s[0]-a[0])/(s[1]-a[1]),u=GL(t,e,l);isNaN(l)&&(a=[u.x,u.y],s=[u.x+u.width,u.y+u.height]);var c=s[0]-a[0],h=s[1]-a[1],d=u.width,p=u.height,f=t.coordinateSystem=new kP;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(a[0],a[1],c,h),f.setViewRect(u.x,u.y,d,p),f.setCenter(t.get("center"),e),f.setZoom(t.get("zoom")),n.push(f)}})),n}var UL=Eg.prototype,YL=Bg.prototype,XL=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}();(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}o(e,t)})(XL);function KL(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var ZL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new XL},e.prototype.buildPath=function(t,e){KL(e)?UL.buildPath.call(this,t,e):YL.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return KL(this.shape)?UL.pointAt.call(this,t):YL.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=KL(e)?[e.x2-e.x1,e.y2-e.y1]:YL.tangentAt.call(this,t);return _(n,n)},e}(Ba),QL=ZL,JL=["fromSymbol","toSymbol"];function tj(t){return"_"+t+"Type"}function ej(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=ry(r),u=oy(a||0,l),c=iy(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,c.name=t,c}}function nj(t){var e=new QL({name:"line",subPixelOptimize:!0});return ij(e.shape,t),e}function ij(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var rj=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return o(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=t.getItemLayout(e),o=nj(r);o.shape.percent=0,Fl(o,{shape:{percent:1}},i,e),this.add(o),Object(s["k"])(JL,(function(n){var i=ej(n,t,e);this.add(i),this[tj(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};ij(a.shape,o),Nl(r,a,i,e),Object(s["k"])(JL,(function(n){var i=t.getItemVisual(e,n),r=tj(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=ej(n,t,e);this.add(o)}this[r]=i}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,l=n&&n.selectLineStyle,u=n&&n.labelStatesModels,c=n&&n.emphasisDisabled,h=n&&n.focus,d=n&&n.blurScope;if(!n||t.hasItemOption){var p=t.getItemModel(e),f=p.getModel("emphasis");o=f.getModel("lineStyle").getLineStyle(),a=p.getModel(["blur","lineStyle"]).getLineStyle(),l=p.getModel(["select","lineStyle"]).getLineStyle(),c=f.get("disabled"),h=f.get("focus"),d=f.get("blurScope"),u=Kl(p)}var g=t.getItemVisual(e,"style"),m=g.stroke;r.useStyle(g),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=l,Object(s["k"])(JL,(function(t){var e=this.childOfName(t);if(e){e.setColor(m),e.style.opacity=g.opacity;for(var n=0;n<Ts.length;n++){var i=Ts[n],o=r.getState(i);if(o){var a=o.style||{},s=e.ensureState(i),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}}),this);var v=i.getRawValue(e);Xl(this,u,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:m||"#000",defaultOpacity:g.opacity,defaultText:(null==v?t.getName(e):isFinite(v)?Ei(v):v)+""});var y=this.getTextContent();if(y){var b=u.normal;y.__align=y.style.align,y.__verticalAlign=y.style.verticalAlign,y.__position=b.get("position")||"middle";var _=b.get("distance");Object(s["t"])(_)||(_=[_,_]),y.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),Sl(this,h,d,c)},e.prototype.highlight=function(){rl(this)},e.prototype.downplay=function(){ol(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");ij(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),i=t.getTextContent();if(e||n||i&&!i.ignore){var r=1,o=this.parent;while(o)o.scaleX&&(r/=o.scaleX),o=o.parent;var a=t.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=m([],u,l);if(_(c,c),e&&(e.setPosition(l),k(e,0),e.scaleX=e.scaleY=r*s,e.markRedraw()),n&&(n.setPosition(u),k(n,1),n.scaleX=n.scaleY=r*s,n.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;var h=void 0,d=void 0,p=i.__labelDistance,f=p[0]*r,g=p[1]*r,v=s/2,y=a.tangentAt(v),b=[y[1],-y[0]],x=a.pointAt(v);b[1]>0&&(b[0]=-b[0],b[1]=-b[1]);var w=y[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var S=-Math.atan2(y[1],y[0]);u[0]<l[0]&&(S=Math.PI+S),i.rotation=S}var C=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":C=-g,d="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":C=g,d="top";break;default:C=0,d="middle"}switch(i.__position){case"end":i.x=c[0]*f+u[0],i.y=c[1]*g+u[1],h=c[0]>.8?"left":c[0]<-.8?"right":"center",d=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":i.x=-c[0]*f+l[0],i.y=-c[1]*g+l[1],h=c[0]>.8?"right":c[0]<-.8?"left":"center",d=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*w+l[0],i.y=l[1]+C,h=y[0]<0?"right":"left",i.originX=-f*w,i.originY=-C;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+C,h="center",i.originY=-C;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*w+u[0],i.y=u[1]+C,h=y[0]>=0?"right":"left",i.originX=f*w,i.originY=-C;break}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||h})}}}function k(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(bi),oj=rj,aj=function(){function t(t){this.group=new bi,this._LineCtor=t||oj}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=lj(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=lj(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||sj(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i<t.end;i++){var r=e.getItemLayout(i);if(cj(r)){var o=new this._LineCtor(e,i,this._seriesScope);o.traverse(n),this.group.add(o),e.setItemGraphicEl(i,o),this._progressiveEls.push(o)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){var i=t.getItemLayout(e);if(cj(i)){var r=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,r),this.group.add(r)}},t.prototype._doUpdate=function(t,e,n,i,r){var o=t.getItemGraphicEl(n);cj(e.getItemLayout(i))?(o?o.updateData(e,i,r):o=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,o),this.group.add(o)):this.group.remove(o)},t}();function sj(t){return t.animators&&t.animators.length>0}function lj(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:Kl(e)}}function uj(t){return isNaN(t[0])||isNaN(t[1])}function cj(t){return t&&!uj(t[0])&&!uj(t[1])}var hj=aj,dj=[],pj=[],fj=[],gj=ne,mj=C,vj=Math.abs;function yj(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1){dj[0]=gj(r[0],o[0],a[0],c),dj[1]=gj(r[1],o[1],a[1],c);var h=vj(mj(dj,e)-l);h<s&&(s=h,i=c)}for(var d=0;d<32;d++){var p=i+u;pj[0]=gj(r[0],o[0],a[0],i),pj[1]=gj(r[1],o[1],a[1],i),fj[0]=gj(r[0],o[0],a[0],p),fj[1]=gj(r[1],o[1],a[1],p);h=mj(pj,e)-l;if(vj(h)<.01)break;var f=mj(fj,e)-l;u/=2,h<0?f>=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function bj(t,e){var n=[],i=ae,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");l.__original||(l.__original=[d(l[0]),d(l[1])],l[2]&&l.__original.push(d(l[2])));var p=l.__original;if(null!=l[2]){if(h(r[0],p[0]),h(r[1],p[2]),h(r[2],p[1]),u&&"none"!==u){var f=RL(t.node1),v=yj(r,p[0],f*e);i(r[0][0],r[1][0],r[2][0],v,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],v,n),r[0][1]=n[3],r[1][1]=n[4]}if(c&&"none"!==c){f=RL(t.node2),v=yj(r,p[1],f*e);i(r[0][0],r[1][0],r[2][0],v,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],v,n),r[1][1]=n[1],r[2][1]=n[2]}h(l[0],r[0]),h(l[1],r[2]),h(l[2],r[1])}else{if(h(o[0],p[0]),h(o[1],p[1]),m(a,o[1],o[0]),_(a,a),u&&"none"!==u){f=RL(t.node1);g(o[0],o[0],a,f*e)}if(c&&"none"!==c){f=RL(t.node2);g(o[1],o[1],a,-f*e)}h(l[0],o[0]),h(l[1],o[1])}}))}function _j(t){return"view"===t.type}var xj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){var n=new CS,i=new hj,r=this.group;this._controller=new zA(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,l=this.group;if(_j(r)){var u={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?l.attr(u):Nl(l,u,t)}bj(t.getGraph(),jL(t));var c=t.getData();o.updateData(c);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var d=t.forceLayout,p=t.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,p),c.graph.eachNode((function(t){var e=t.dataIndex,n=t.getGraphicEl(),r=t.getModel();if(n){n.off("drag").off("dragend");var o=r.get("draggable");o&&n.on("drag",(function(){d&&(d.warmUp(),!i._layouting&&i._startForceLayoutIteration(d,p),d.setFixed(e),c.setItemLayout(e,[n.x,n.y]))})).on("dragend",(function(){d&&d.setUnfixed(e)})),n.setDraggable(o&&!!d,!!r.get("cursor"));var a=r.get(["emphasis","focus"]);"adjacency"===a&&(bs(n).focus=t.getAdjacentDataIndices())}})),c.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(bs(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=c.getLayout("cx"),m=c.getLayout("cy");c.eachItemGraphicEl((function(t,e){var n=c.getItemModel(e),i=n.get(["label","rotate"])||0,r=t.getSymbolPath();if(f){var o=c.getItemLayout(e),a=Math.atan2(o[1]-m,o[0]-g);a<0&&(a=2*Math.PI+a);var l=o[0]<g;l&&(a-=Math.PI);var u=l?"left":"right";r.setTextConfig({rotation:-a,position:u,origin:"center"});var h=r.ensureState("emphasis");s["m"](h.textConfig||(h.textConfig={}),{position:u})}else r.setTextConfig({rotation:i*=Math.PI/180})})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;(function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))})()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!GA(e,n,t)})),_j(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){VA(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){qA(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),bj(t.getGraph(),jL(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=jL(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){bj(t.getGraph(),jL(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Hm),wj=xj;function Sj(t){return"_EC_"+t}var Cj=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[Sj(t)]){var i=new kj(t,e);return i.hostGraph=this,this.nodes.push(i),n[Sj(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[Sj(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(s["z"](t)&&(t=this.nodes[t]),s["z"](e)&&(e=this.nodes[e]),t instanceof kj||(t=i[Sj(t)]),e instanceof kj||(e=i[Sj(e)]),t&&e){var o=t.id+"-"+e.id,a=new Mj(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof kj&&(t=t.id),e instanceof kj&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof kj||(e=this._nodesMap[Sj(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(i,e,null)){var a=[e];while(a.length){var s=a.shift(),l=s[r];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(t.call(i,c,s))return;a.push(c),c.__visited=!0}}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf((function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)i[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,i=this.edges,r=0;r<n.length;r++)e.addNode(n[r].id,n[r].dataIndex);for(r=0;r<i.length;r++){var o=i[r];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),kj=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t}(),Mj=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.edgeData.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t}();function Oj(t,e){return{getValue:function(n){var i=this[t][e];return i.getStore().get(i.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}s["K"](kj,Oj("hostGraph","data")),s["K"](Mj,Oj("hostGraph","edgeData"));var Tj=Cj;function Aj(t,e,n,i,r){for(var o=new Tj(i),a=0;a<t.length;a++)o.addNode(s["O"](t[a].id,t[a].name,a),a);var l=[],u=[],c=0;for(a=0;a<e.length;a++){var h=e[a],d=h.source,p=h.target;o.addEdge(d,p,c)&&(u.push(h),l.push(s["O"](vr(h.id,null),d+" > "+p)),c++)}var f,g=n.get("coordinateSystem");if("cartesian2d"===g||"polar"===g)f=dS(t,n);else{var m=Hh.get(g),v=m&&m.dimensions||[];s["r"](v,"value")<0&&v.concat(["value"]);var y=Xw(t,{coordDimensions:v,encodeDefine:n.getEncode()}).dimensions;f=new Yw(y,n),f.initData(t)}var b=new Yw(["value"],n);return b.initData(u,l),r&&r(f,b),kE({mainData:f,struct:o,structAttr:"graph",datas:{node:f,edge:b},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var Ij=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new oM(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),rr(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],r=this;if(i&&n){AL(this);var o=Aj(i,n,this,!0,a);return s["k"](o.edges,(function(t){IL(t.node1,t.node2,this,t.dataIndex)}),this),o.data}function a(t,e){t.wrapMethod("getItemModel",(function(t){var e=r._categoriesModels,n=t.getShallow("category"),i=e[n];return i&&(i.parentModel=t.parentModel,t.parentModel=i),t}));var n=xu.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=o,i}function o(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=o,t.getModel=i,t}))}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Hp("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}var u=sf({series:this,dataIndex:t,multipleSeries:e});return u},e.prototype._updateCategoriesData=function(){var t=s["H"](this.option.categories||[],(function(t){return null!=t.value?t:s["m"]({value:0},t)})),e=new Yw(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(xf),Pj=Ij,Ej={type:"graphRoam",event:"graphRoam",update:"none"};function Dj(t){t.registerChartView(wj),t.registerSeriesModel(Pj),t.registerProcessor(vL),t.registerVisual(yL),t.registerVisual(_L),t.registerLayout(LL),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,VL),t.registerLayout(HL),t.registerCoordinateSystem("graphView",{dimensions:kP.dimensions,create:WL}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},s["L"]),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},s["L"]),t.registerAction(Ej,(function(t,e,n){e.eachComponent({mainType:"series",query:t},(function(e){var i=e.coordinateSystem,r=FP(i,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}var Lj=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),jj=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return o(e,t),e.prototype.getDefaultShape=function(){return new Lj},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(Ba),Rj=jj;function Bj(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r),a=Pi(n[0],e.getWidth()),s=Pi(n[1],e.getHeight()),l=Pi(t.get("radius"),o/2);return{cx:a,cy:s,r:l}}function Nj(t,e){var n=null==t?"":t+"";return e&&(Object(s["C"])(e)?n=e.replace("{value}",n):Object(s["w"])(e)&&(n=e(t))),n}var Fj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=Bj(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap"),h=c?jC:vg,d=u.get("show"),p=u.getModel("lineStyle"),f=p.get("width"),g=[s,l];ua(g,!a),s=g[0],l=g[1];for(var m=l-s,v=s,y=0;d&&y<i.length;y++){var b=Math.min(Math.max(i[y][0],0),1);l=s+m*b;var _=new h({shape:{startAngle:v,endAngle:l,cx:r.cx,cy:r.cy,clockwise:a,r0:r.r-f,r:r.r},silent:!0});_.setStyle({fill:i[y][1]}),_.setStyle(p.getLineStyle(["color","width"])),o.add(_),v=l}var x=function(t){if(t<=0)return i[0][1];var e;for(e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]};this._renderTicks(t,e,n,x,r,s,l,a,f),this._renderTitleAndDetail(t,e,n,x,r),this._renderAnchor(t,r),this._renderPointer(t,e,n,x,r,s,l,a,f)},e.prototype._renderTicks=function(t,e,n,i,r,o,a,s,l){for(var u,c,h=this.group,d=r.cx,p=r.cy,f=r.r,g=+t.get("min"),m=+t.get("max"),v=t.getModel("splitLine"),y=t.getModel("axisTick"),b=t.getModel("axisLabel"),_=t.get("splitNumber"),x=y.get("splitNumber"),w=Pi(v.get("length"),f),S=Pi(y.get("length"),f),C=o,k=(a-o)/_,M=k/x,O=v.getModel("lineStyle").getLineStyle(),T=y.getModel("lineStyle").getLineStyle(),A=v.get("distance"),I=0;I<=_;I++){if(u=Math.cos(C),c=Math.sin(C),v.get("show")){var P=A?A+l:l,E=new Eg({shape:{x1:u*(f-P)+d,y1:c*(f-P)+p,x2:u*(f-w-P)+d,y2:c*(f-w-P)+p},style:O,silent:!0});"auto"===O.stroke&&E.setStyle({stroke:i(I/_)}),h.add(E)}if(b.get("show")){P=b.get("distance")+A;var D=Nj(Ei(I/_*(m-g)+g),b.get("formatter")),L=i(I/_);h.add(new ys({style:Zl(b,{text:D,x:u*(f-w-P)+d,y:c*(f-w-P)+p,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:L}),silent:!0}))}if(y.get("show")&&I!==_){P=y.get("distance");P=P?P+l:l;for(var j=0;j<=x;j++){u=Math.cos(C),c=Math.sin(C);var R=new Eg({shape:{x1:u*(f-P)+d,y1:c*(f-P)+p,x2:u*(f-S-P)+d,y2:c*(f-S-P)+p},silent:!0,style:T});"auto"===T.stroke&&R.setStyle({stroke:i((I+j/x)/_)}),h.add(R),C+=M}C-=M}else C+=k}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,l,u){var c=this.group,h=this._data,d=this._progressEls,p=[],f=t.get(["pointer","show"]),g=t.getModel("progress"),m=g.get("show"),v=t.getData(),y=v.mapDimension("value"),b=+t.get("min"),_=+t.get("max"),x=[b,_],w=[o,a];function S(e,n){var i,o=v.getItemModel(e),a=o.getModel("pointer"),s=Pi(a.get("width"),r.r),l=Pi(a.get("length"),r.r),u=t.get(["pointer","icon"]),c=a.get("offsetCenter"),h=Pi(c[0],r.r),d=Pi(c[1],r.r),p=a.get("keepAspect");return i=u?iy(u,h-s/2,d-l,s,l,null,p):new Rj({shape:{angle:-Math.PI/2,width:s,r:l,x:h,y:d}}),i.rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function C(t,e){var n=g.get("roundCap"),i=n?jC:vg,a=g.get("overlap"),s=a?g.get("width"):u/v.count(),c=a?r.r-s:r.r-(t+1)*s,h=a?r.r:r.r-t*s,d=new i({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:l,r0:c,r:h}});return a&&(d.z2=_-v.get(y,t)%_),d}(m||f)&&(v.diff(h).add((function(e){var n=v.get(y,e);if(f){var i=S(e,o);Fl(i,{rotation:-((isNaN(+n)?w[0]:Ii(n,x,w,!0))+Math.PI/2)},t),c.add(i),v.setItemGraphicEl(e,i)}if(m){var r=C(e,o),a=g.get("clip");Fl(r,{shape:{endAngle:Ii(n,x,w,a)}},t),c.add(r),_s(t.seriesIndex,v.dataType,e,r),p[e]=r}})).update((function(e,n){var i=v.get(y,e);if(f){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=S(e,a);s.rotation=a,Nl(s,{rotation:-((isNaN(+i)?w[0]:Ii(i,x,w,!0))+Math.PI/2)},t),c.add(s),v.setItemGraphicEl(e,s)}if(m){var l=d[n],u=l?l.shape.endAngle:o,b=C(e,u),_=g.get("clip");Nl(b,{shape:{endAngle:Ii(i,x,w,_)}},t),c.add(b),_s(t.seriesIndex,v.dataType,e,b),p[e]=b}})).execute(),v.each((function(t){var e=v.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(f){var l=v.getItemGraphicEl(t),u=v.getItemVisual(t,"style"),c=u.fill;if(l instanceof Ga){var h=l.style;l.useStyle(Object(s["m"])({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},u))}else l.useStyle(u),"pointer"!==l.type&&l.setColor(c);l.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===l.style.fill&&l.setStyle("fill",i(Ii(v.get(y,t),x,[0,1],!0))),l.z2EmphasisLift=0,Ol(l,e),Sl(l,r,o,a)}if(m){var d=p[t];d.useStyle(v.getItemVisual(t,"style")),d.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),d.z2EmphasisLift=0,Ol(d,e),Sl(d,r,o,a)}})),this._progressEls=p)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor"),i=n.get("show");if(i){var r=n.get("size"),o=n.get("icon"),a=n.get("offsetCenter"),s=n.get("keepAspect"),l=iy(o,e.cx-r/2+Pi(a[0],e.r),e.cy-r/2+Pi(a[1],e.r),r,r,null,s);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),c=new bi,h=[],d=[],p=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){h[t]=new ys({silent:!0}),d[t]=new ys({silent:!0})})).update((function(t,e){h[t]=o._titleEls[e],d[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new bi,m=i(Ii(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),b=r.cx+Pi(y[0],r.r),_=r.cy+Pi(y[1],r.r),x=h[e];x.attr({z2:f?0:2,style:Zl(v,{x:b,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:m})}),g.add(x)}var w=n.getModel("detail");if(w.get("show")){var S=w.get("offsetCenter"),C=r.cx+Pi(S[0],r.r),k=r.cy+Pi(S[1],r.r),M=Pi(w.get("width"),r.r),O=Pi(w.get("height"),r.r),T=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:m,A=(x=d[e],w.get("formatter"));x.attr({z2:f?0:2,style:Zl(w,{x:C,y:k,text:Nj(o,A),width:isNaN(M)?null:M,height:isNaN(O)?null:O,align:"center",verticalAlign:"middle"},{inheritColor:T})}),su(x,{normal:w},o,(function(t){return Nj(t,A)})),p&&lu(x,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return Nj(a?a.interpolatedValue:o,A)}}),g.add(x)}c.add(g)})),this.group.add(c),this._titleEls=h,this._detailEls=d},e.type="gauge",e}(Hm),zj=Fj,Vj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return o(e,t),e.prototype.getInitialData=function(t,e){return iM(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(xf),qj=Vj;function $j(t){t.registerChartView(zj),t.registerSeriesModel(qj)}var Hj=["itemStyle","opacity"],Gj=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new Tg,a=new ys;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return o(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(Hj);l=null==l?1:l,n||Hl(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,Fl(i,{style:{opacity:l}},r,e)):Nl(i,{style:{opacity:l},shape:{points:a.points}},r,e),Ol(i,o),this._updateLabel(t,e),Sl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,u=t.getItemVisual(e,"style"),c=u.fill;Xl(r,Kl(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:u.opacity,defaultText:t.getName(e)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),n.setTextConfig({local:!0,inside:!!l.inside,insideStroke:c,outsideFill:c});var h=l.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new Rn(h[0][0],h[0][1]):null},Nl(r,{style:{x:l.x,y:l.y}},o,e),r.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),zk(n,Vk(a),{stroke:c})},e}(kg),Wj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new Gj(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){var n=r.getItemGraphicEl(e);$l(n,t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Hm),Uj=Wj,Yj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new oM(s["c"](this.getData,this),s["c"](this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return iM(this,{coordDimensions:["value"],encodeDefaulter:s["h"](ch,this)})},e.prototype._defaultLabelLine=function(t){rr(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(xf),Xj=Yj;function Kj(t,e){return Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Zj(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,l=t.count();a<l;a++)r[a]=a;return Object(s["w"])(e)?r.sort(e):"none"!==e&&r.sort((function(t,e){return o?i[t]-i[e]:i[e]-i[t]})),r}function Qj(t){var e=t.hostModel,n=e.get("orient");t.each((function(e){var i,r,o,a,s=t.getItemModel(e),l=s.getModel("label"),u=l.get("position"),c=s.getModel("labelLine"),h=t.getItemLayout(e),d=h.points,p="inner"===u||"inside"===u||"center"===u||"insideLeft"===u||"insideRight"===u;if(p)"insideLeft"===u?(r=(d[0][0]+d[3][0])/2+5,o=(d[0][1]+d[3][1])/2,i="left"):"insideRight"===u?(r=(d[1][0]+d[2][0])/2-5,o=(d[1][1]+d[2][1])/2,i="right"):(r=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,o=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,i="center"),a=[[r,o],[r,o]];else{var f=void 0,g=void 0,m=void 0,v=void 0,y=c.get("length");0,"left"===u?(f=(d[3][0]+d[0][0])/2,g=(d[3][1]+d[0][1])/2,m=f-y,r=m-5,i="right"):"right"===u?(f=(d[1][0]+d[2][0])/2,g=(d[1][1]+d[2][1])/2,m=f+y,r=m+5,i="left"):"top"===u?(f=(d[3][0]+d[0][0])/2,g=(d[3][1]+d[0][1])/2,v=g-y,o=v-5,i="center"):"bottom"===u?(f=(d[1][0]+d[2][0])/2,g=(d[1][1]+d[2][1])/2,v=g+y,o=v+5,i="center"):"rightTop"===u?(f="horizontal"===n?d[3][0]:d[1][0],g="horizontal"===n?d[3][1]:d[1][1],"horizontal"===n?(v=g-y,o=v-5,i="center"):(m=f+y,r=m+5,i="top")):"rightBottom"===u?(f=d[2][0],g=d[2][1],"horizontal"===n?(v=g+y,o=v+5,i="center"):(m=f+y,r=m+5,i="bottom")):"leftTop"===u?(f=d[0][0],g="horizontal"===n?d[0][1]:d[1][1],"horizontal"===n?(v=g-y,o=v-5,i="center"):(m=f-y,r=m-5,i="right")):"leftBottom"===u?(f="horizontal"===n?d[1][0]:d[3][0],g="horizontal"===n?d[1][1]:d[2][1],"horizontal"===n?(v=g+y,o=v+5,i="center"):(m=f-y,r=m-5,i="right")):(f=(d[1][0]+d[2][0])/2,g=(d[1][1]+d[2][1])/2,"horizontal"===n?(v=g+y,o=v+5,i="center"):(m=f+y,r=m+5,i="left")),"horizontal"===n?(m=f,r=m):(v=g,o=v),a=[[f,g],[m,v]]}h.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:i,inside:p}}))}function Jj(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=Kj(t,e),a=t.get("orient"),s=o.width,l=o.height,u=Zj(n,r),c=o.x,h=o.y,d="horizontal"===a?[Pi(t.get("minSize"),l),Pi(t.get("maxSize"),l)]:[Pi(t.get("minSize"),s),Pi(t.get("maxSize"),s)],p=n.getDataExtent(i),f=t.get("min"),g=t.get("max");null==f&&(f=Math.min(p[0],0)),null==g&&(g=p[1]);var m=t.get("funnelAlign"),v=t.get("gap"),y="horizontal"===a?s:l,b=(y-v*(n.count()-1))/n.count(),_=function(t,e){if("horizontal"===a){var r=n.get(i,t)||0,o=Ii(r,[f,g],d,!0),u=void 0;switch(m){case"top":u=h;break;case"center":u=h+(l-o)/2;break;case"bottom":u=h+(l-o);break}return[[e,u],[e,u+o]]}var p,v=n.get(i,t)||0,y=Ii(v,[f,g],d,!0);switch(m){case"left":p=c;break;case"center":p=c+(s-y)/2;break;case"right":p=c+s-y;break}return[[p,e],[p+y,e]]};"ascending"===r&&(b=-b,v=-v,"horizontal"===a?c+=s:h+=l,u=u.reverse());for(var x=0;x<u.length;x++){var w=u[x],S=u[x+1],C=n.getItemModel(w);if("horizontal"===a){var k=C.get(["itemStyle","width"]);null==k?k=b:(k=Pi(k,s),"ascending"===r&&(k=-k));var M=_(w,c),O=_(S,c+k);c+=k+v,n.setItemLayout(w,{points:M.concat(O.slice().reverse())})}else{var T=C.get(["itemStyle","height"]);null==T?T=b:(T=Pi(T,l),"ascending"===r&&(T=-T));M=_(w,h),O=_(S,h+T);h+=T+v,n.setItemLayout(w,{points:M.concat(O.slice().reverse())})}}Qj(n)}))}function tR(t){t.registerChartView(Uj),t.registerSeriesModel(Xj),t.registerLayout(Jj),t.registerProcessor(vk("funnel"))}var eR=.3,nR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new bi,n._initialized=!1,n}return o(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._dataGroup,o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.dimensions,u=aR(t);function c(t){var e=oR(o,r,t,l,s);sR(e,o,t,u)}function h(e,n){var i=a.getItemGraphicEl(n),r=rR(o,e,l,s);o.setItemGraphicEl(e,i),Nl(i,{shape:{points:r}},t,e),Hl(i),sR(i,o,e,u)}function d(t){var e=a.getItemGraphicEl(t);r.remove(e)}if(o.diff(a).add(c).update(h).remove(d).execute(),!this._initialized){this._initialized=!0;var p=iR(s,t,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(p)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,a=aR(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var u=oR(i,this._dataGroup,l,o,r);u.incremental=!0,sR(u,i,l,a),s.push(u)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(Hm);function iR(t,e,n){var i=t.model,r=t.getRect(),o=new ts({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===i.get("layout")?"width":"height";return o.setShape(a,0),Fl(o,{shape:{width:r.width,height:r.height}},e,n),o}function rR(t,e,n,i){for(var r=[],o=0;o<n.length;o++){var a=n[o],s=t.get(t.mapDimension(a),e);lR(s,i.getAxis(a).type)||r.push(i.dataToPoint(s,a))}return r}function oR(t,e,n,i,r){var o=rR(t,n,i,r),a=new Tg({shape:{points:o},z2:10});return e.add(a),t.setItemGraphicEl(n,a),a}function aR(t){var e=t.get("smooth",!0);return!0===e&&(e=eR),e=Xi(e),Object(s["l"])(e)&&(e=0),{smooth:e}}function sR(t,e,n,i){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",i.smooth);var r=e.getItemModel(n),o=r.getModel("emphasis");Ol(t,r,"lineStyle"),Sl(t,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function lR(t,e){return"category"===e?null==t:null==t||isNaN(t)}var uR=nR,cR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return o(e,t),e.prototype.getInitialData=function(t,e){return dS(null,this,{useEncodeDefaulter:Object(s["c"])(hR,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,(function(e,r){t===e&&i.push(n.getRawIndex(r))})),i},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(xf);function hR(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return Object(s["k"])(e.dimensions,(function(t){var e=dR(t);n[t]=e})),n}}function dR(t){return+t.replace("dim","")}var pR=cR,fR=["lineStyle","opacity"],gR={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,i={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,(function(t,n){var r=i[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(n).get(fR,!0);null!=o&&(r=o)}var a=e.ensureUniqueItemVisual(n,"style");a.opacity=r}),t.start,t.end)}}}},mR=gR;function vR(t){yR(t),bR(t)}function yR(t){if(!t.parallel){var e=!1;s["k"](t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}function bR(t){var e=ir(t.parallelAxis);s["k"](e,(function(e){if(s["A"](e)){var n=e.parallelIndex||0,i=ir(t.parallel)[n];i&&i.parallelAxisDefault&&s["I"](e,i.parallelAxisDefault,!1)}}))}var _R=5,xR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},Object(s["k"])(wR,(function(t,e){n.getZr().on(e,this._handlers[e]=Object(s["c"])(t,this))}),this)),Xm(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){Km(this,"_throttledDispatchExpand"),Object(s["k"])(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(Object(s["m"])({type:"parallelAxisExpand"},t))},e.type="parallel",e}(Sf),wR={mousedown:function(t){SR(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(SR(this,"click")&&e){var n=[t.offsetX,t.offsetY],i=Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2);if(i>_R)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&SR(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function SR(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var CR=xR,kR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&s["I"](e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){s["k"](["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=s["n"](this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);s["k"](n,(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Uc),MR=kR,OR=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return o(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(cT),TR=OR;function AR(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=PR(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=PR(s,[0,a]),r=o=PR(s,[r,o]),i=0}e[0]=PR(e[0],n),e[1]=PR(e[1],n);var l=IR(e,i);e[i]+=t;var u,c=r||0,h=n.slice();return l.sign<0?h[0]+=c:h[1]-=c,e[i]=PR(e[i],h),u=IR(e,i),null!=r&&(u.sign!==l.sign||u.span<r)&&(e[1-i]=e[i]+l.sign*r),u=IR(e,i),null!=o&&u.span>o&&(e[1-i]=e[i]+u.sign*o),e}function IR(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function PR(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var ER=s["k"],DR=Math.min,LR=Math.max,jR=Math.floor,RR=Math.ceil,BR=Ei,NR=Math.PI,FR=function(){function t(t,e,n){this.type="parallel",this._axesMap=s["f"](),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;ER(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new TR(t,AO(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();ER(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),TO(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,c=zR(e.get("axisExpandWidth"),l),h=zR(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,p=e.get("axisExpandWindow");if(p)t=zR(p[1]-p[0],l),p[1]=p[0]+t;else{t=zR(c*(h-1),l);var f=e.get("axisExpandCenter")||jR(u/2);p=[c*f-t/2],p[1]=p[0]+t}var g=(s-t)/(u-h);g<3&&(g=0);var m=[jR(BR(p[0]/c,1))+1,RR(BR(p[1]/c,1))-1],v=g/c*p[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:g,axisExpandWindow:p,axisCount:u,winInnerIndices:m,axisExpandWindow0Pos:v}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),ER(n,(function(e,n){var o=(i.axisExpandable?qR:VR)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:NR/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],c=gn();_n(c,c,u),bn(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],l=[];s["k"](o,(function(e){a.push(t.mapDimension(e)),l.push(r.get(e).model)}));for(var u=this.hasAxisBrushed(),c=n;c<i;c++){var h=void 0;if(u){h="active";for(var d=t.getValues(a,c),p=0,f=o.length;p<f;p++){var g=l[p].getActiveState(d[p]);if("inactive"===g){h="inactive";break}}}else h="normal";e(h,c)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){var n=this._axesLayout[e];return xm([t,0],n.transform)},t.prototype.getAxisLayout=function(t){return s["d"](this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var a,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),h=null!=c[0];if(u)h&&u&&s<r*c[0]?(l="jump",a=s-r*c[2]):h&&u&&s>r*(1-c[0])?(l="jump",a=s-r*(1-c[2])):(a=s-r*c[1])>=0&&(a=s-r*(1-c[1]))<=0&&(a=0),a*=e.axisExpandWidth/u,a?AR(a,i,o,"all"):l="none";else{var d=i[1]-i[0],p=o[1]*s/d;i=[LR(0,p-d/2)],i[1]=DR(o[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},t}();function zR(t,e){return DR(LR(t,e[0]),e[1])}function VR(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function qR(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,c=!0):(n=r-(a-1-t)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}var $R=FR;function HR(t,e){var n=[];return t.eachComponent("parallel",(function(i,r){var o=new $R(i,t,e);o.name="parallel_"+r,o.resize(i,e),i.coordinateSystem=o,o.model=i,n.push(o)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",Ar).models[0];t.coordinateSystem=e.coordinateSystem}})),n}var GR={create:HR},WR=GR,UR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return o(e,t),e.prototype.getAreaSelectStyle=function(){return Kr([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=s["d"](t);if(e)for(var n=e.length-1;n>=0;n--)Di(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i<r;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"},e}(Uc);s["K"](UR,xM);var YR=UR,XR=!0,KR=Math.min,ZR=Math.max,QR=Math.pow,JR=1e4,tB=6,eB=6,nB="globalPan",iB={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},rB={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},oB={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},aB=0,sB=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new bi,n._uid="brushController_"+aB++,Object(s["k"])(FB,(function(t,e){this._handlers[e]=Object(s["c"])(t,this)}),n),n}return o(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||EA(e,nB,this._uid),Object(s["k"])(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=Object(s["I"])(Object(s["d"])(oB),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;DA(t,nB,this._uid),Object(s["k"])(this._handlers,(function(e,n){t.off(n,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};Object(s["k"])(t,(function(t){e[t.panelId]=Object(s["d"])(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=Object(s["H"])(t,(function(t){return Object(s["I"])(Object(s["d"])(oB),t,!0)}));var e="\0-brush-index-",n=this._covers,i=this._covers=[],r=this,o=this._creatingCover;return new yw(n,t,l,a).add(u).update(u).remove(c).execute(),this;function a(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function l(t,e){return a(t.__brushOption,e)}function u(e,a){var s=t[e];if(null!=a&&n[a]===o)i[e]=n[a];else{var l=i[e]=null!=a?(n[a].__brushOption=s,n[a]):uB(r,lB(r,s));dB(r,l)}}function c(t){n[t]!==o&&r.group.remove(n[t])}},e.prototype.unmount=function(){return this.enableBrush(!1),mB(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(D);function lB(t,e){var n=qB[e.brushType].createCover(t,e);return n.__brushOption=e,hB(n,e),t.group.add(n),n}function uB(t,e){var n=pB(e);return n.endCreating&&(n.endCreating(t,e),hB(e,e.__brushOption)),e}function cB(t,e){var n=e.__brushOption;pB(e).updateCoverShape(t,e,n.range,n)}function hB(t,e){var n=e.z;null==n&&(n=JR),t.traverse((function(t){t.z=n,t.z2=n}))}function dB(t,e){pB(e).updateCommon(t,e),cB(t,e)}function pB(t){return qB[t.__brushOption.brushType]}function fB(t,e,n){var i,r=t._panels;if(!r)return XR;var o=t._transform;return Object(s["k"])(r,(function(t){t.isTargetByCursor(e,n,o)&&(i=t)})),i}function gB(t,e){var n=t._panels;if(!n)return XR;var i=e.__brushOption.panelId;return null!=i?n[i]:XR}function mB(t){var e=t._covers,n=e.length;return Object(s["k"])(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function vB(t,e){var n=Object(s["H"])(t._covers,(function(t){var e=t.__brushOption,n=Object(s["d"])(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function yB(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1],a=QR(r*r+o*o,.5);return a>tB}function bB(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function _B(t,e,n,i){var r=new bi;return r.add(new ts({name:"main",style:CB(n),silent:!0,draggable:!0,cursor:"move",drift:Object(s["h"])(AB,t,e,r,["n","s","w","e"]),ondragend:Object(s["h"])(vB,e,{isEnd:!0})})),Object(s["k"])(i,(function(n){r.add(new ts({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(s["h"])(AB,t,e,r,n),ondragend:Object(s["h"])(vB,e,{isEnd:!0})}))})),r}function xB(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=ZR(r,eB),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],d=c-o+r/2,p=h-o+r/2,f=c-a,g=h-s,m=f+r,v=g+r;SB(t,e,"main",a,s,f,g),i.transformable&&(SB(t,e,"w",l,u,o,v),SB(t,e,"e",d,u,o,v),SB(t,e,"n",l,u,m,o),SB(t,e,"s",l,p,m,o),SB(t,e,"nw",l,u,o,o),SB(t,e,"ne",d,u,o,o),SB(t,e,"sw",l,p,o,o),SB(t,e,"se",d,p,o,o))}function wB(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(CB(n)),r.attr({silent:!i,cursor:i?"move":"default"}),Object(s["k"])([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=e.childOfName(n.join("")),o=1===n.length?OB(t,n[0]):TB(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?rB[o]+"-resize":null})}))}function SB(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(DB(EB(t,e,[[i,r],[i+o,r+a]])))}function CB(t){return Object(s["i"])({strokeNoScale:!0},t.brushStyle)}function kB(t,e,n,i){var r=[KR(t,n),KR(e,i)],o=[ZR(t,n),ZR(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function MB(t){return _m(t.group)}function OB(t,e){var n={w:"left",e:"right",n:"top",s:"bottom"},i={left:"w",right:"e",top:"n",bottom:"s"},r=wm(n[e],MB(t));return i[r]}function TB(t,e){var n=[OB(t,e[0]),OB(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function AB(t,e,n,i,r,o){var a=n.__brushOption,l=t.toRectRange(a.range),u=PB(e,r,o);Object(s["k"])(i,(function(t){var e=iB[t];l[e[0]][e[1]]+=u[e[0]]})),a.range=t.fromRectRange(kB(l[0][0],l[1][0],l[0][1],l[1][1])),dB(e,n),vB(e,{isEnd:!1})}function IB(t,e,n,i){var r=e.__brushOption.range,o=PB(t,n,i);Object(s["k"])(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),dB(t,e),vB(t,{isEnd:!1})}function PB(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function EB(t,e,n){var i=gB(t,e);return i&&i!==XR?i.clipPath(n,t._transform):Object(s["d"])(n)}function DB(t){var e=KR(t[0][0],t[1][0]),n=KR(t[0][1],t[1][1]),i=ZR(t[0][0],t[1][0]),r=ZR(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}function LB(t,e,n){if(t._brushType&&!VB(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=fB(t,e,n);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(o===XR||s.panelId===o.panelId)&&qB[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}function jB(t){var e=t.event;e.preventDefault&&e.preventDefault()}function RB(t,e,n){return t.childOfName("main").contain(e,n)}function BB(t,e,n,i){var r,o=t._creatingCover,a=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),yB(t)||o){if(a&&!o){"single"===l.brushMode&&mB(t);var u=Object(s["d"])(l);u.brushType=NB(u.brushType,a),u.panelId=a===XR?null:a.panelId,o=t._creatingCover=lB(t,u),t._covers.push(o)}if(o){var c=qB[NB(t._brushType,a)],h=o.__brushOption;h.range=c.getCreatingRange(EB(t,o,t._track)),i&&(uB(t,o),c.updateCommon(t,o)),cB(t,o),r={isEnd:i}}}else i&&"single"===l.brushMode&&l.removeOnClick&&fB(t,e,n)&&mB(t)&&(r={isEnd:i,removeOnClick:!0});return r}function NB(t,e){return"auto"===t?e.defaultBrushType:t}var FB={mousedown:function(t){if(this._dragging)zB(this,t);else if(!t.target||!t.target.draggable){jB(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null;var n=this._creatingPanel=fB(this,t,e);n&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(LB(this,t,i),this._dragging){jB(t);var r=BB(this,t,i,!1);r&&vB(this,r)}},mouseup:function(t){zB(this,t)}};function zB(t,e){if(t._dragging){jB(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),o=BB(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&vB(t,o)}}function VB(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}var qB={lineX:$B(0),lineY:$B(1),rect:{createCover:function(t,e){function n(t){return t}return _B({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=bB(t);return kB(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){xB(t,e,n,i)},updateCommon:wB,contain:RB},polygon:{createCover:function(t,e){var n=new bi;return n.add(new Tg({name:"main",style:CB(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new kg({name:"main",draggable:!0,drift:Object(s["h"])(IB,t,e),ondragend:Object(s["h"])(vB,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:EB(t,e,n)})},updateCommon:wB,contain:RB}};function $B(t){return{createCover:function(e,n){return _B({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=bB(e),i=KR(n[0][t],n[1][t]),r=ZR(n[0][t],n[1][t]);return[i,r]},updateCoverShape:function(e,n,i,r){var o,a=gB(e,n);if(a!==XR&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),xB(e,n,l,r)},updateCommon:wB,contain:RB}}var HB=sB;function GB(t){return t=YB(t),function(e){return Mm(e,t)}}function WB(t,e){return t=YB(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function UB(t,e,n){var i=YB(t);return function(t,r){return i.contain(r[0],r[1])&&!GA(t,e,n)}}function YB(t){return Wn.create(t)}var XB=["axisLine","axisTickLabel","axisName"],KB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new HB(n.getZr())).on("brush",s["c"](this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!ZB(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new bi,this.group.add(this._axisGroup),t.get("show")){var o=JB(t,e),a=o.coordinateSystem,l=t.getAreaSelectStyle(),u=l.width,c=t.axis.dim,h=a.getAxisLayout(c),d=s["m"]({strokeContainThreshold:u},h),p=new RT(t,d);s["k"](XB,p.add,p),this._axisGroup.add(p.getGroup()),this._refreshBrushController(d,l,t,o,u,n),km(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,i,r,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=Wn.create({x:a[0],y:-r/2,width:s,height:r});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:GB(u),isTargetByCursor:UB(u,o,i),getLinearBrushOtherExtent:WB(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(QB(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,i=n.axis,r=s["H"](e,(function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(Sf);function ZB(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}function QB(t){var e=t.axis;return s["H"](t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}function JB(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var tN=KB,eN={type:"axisAreaSelect",event:"axisAreaSelected"};function nN(t){t.registerAction(eN,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}var iN={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function rN(t){t.registerComponentView(CR),t.registerComponentModel(MR),t.registerCoordinateSystem("parallel",WR),t.registerPreprocessor(vR),t.registerComponentModel(YR),t.registerComponentView(tN),LM(t,"parallel",YR,iN),nN(t)}function oN(t){A_(rN),t.registerChartView(uR),t.registerSeriesModel(pR),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,mR)}var aN=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return t}(),sN=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.getDefaultShape=function(){return new aN},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){rl(this)},e.prototype.downplay=function(){ol(this)},e}(Ba),lN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return o(e,t),e.prototype.render=function(t,e,n){var i=this,r=t.getGraph(),o=this.group,a=t.layoutInfo,l=a.width,u=a.height,c=t.getData(),h=t.getData("edge"),d=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,r.eachEdge((function(e){var n=new sN,i=bs(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var r,a,c,p,f,g,m,v,y=e.getModel(),b=y.getModel("lineStyle"),_=b.get("curveness"),x=e.node1.getLayout(),w=e.node1.getModel(),S=w.get("localX"),C=w.get("localY"),k=e.node2.getLayout(),M=e.node2.getModel(),O=M.get("localX"),T=M.get("localY"),A=e.getLayout();switch(n.shape.extent=Math.max(1,A.dy),n.shape.orient=d,"vertical"===d?(r=(null!=S?S*l:x.x)+A.sy,a=(null!=C?C*u:x.y)+x.dy,c=(null!=O?O*l:k.x)+A.ty,p=null!=T?T*u:k.y,f=r,g=a*(1-_)+p*_,m=c,v=a*_+p*(1-_)):(r=(null!=S?S*l:x.x)+x.dx,a=(null!=C?C*u:x.y)+A.sy,c=null!=O?O*l:k.x,p=(null!=T?T*u:k.y)+A.ty,f=r*(1-_)+c*_,g=a,m=r*_+c*(1-_),v=p),n.setShape({x1:r,y1:a,x2:c,y2:p,cpx1:f,cpy1:g,cpx2:m,cpy2:v}),n.useStyle(b.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color"),n.style.decal=e.node1.getVisual("style").decal;break;case"target":n.style.fill=e.node2.getVisual("color"),n.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var I=e.node1.getVisual("color"),P=e.node2.getVisual("color");Object(s["C"])(I)&&Object(s["C"])(P)&&(n.style.fill=new Wg(0,0,+("horizontal"===d),+("vertical"===d),[{color:I,offset:0},{color:P,offset:1}]))}var E=y.getModel("emphasis");Ol(n,y,"lineStyle",(function(t){return t.getItemStyle()})),o.add(n),h.setItemGraphicEl(e.dataIndex,n);var D=E.get("focus");Sl(n,"adjacency"===D?e.getAdjacentDataIndices():D,E.get("blurScope"),E.get("disabled")),bs(n).dataType="edge"})),r.eachNode((function(e){var n=e.getLayout(),i=e.getModel(),r=i.get("localX"),a=i.get("localY"),s=i.getModel("emphasis"),h=new ts({shape:{x:null!=r?r*l:n.x,y:null!=a?a*u:n.y,width:n.dx,height:n.dy},style:i.getModel("itemStyle").getItemStyle(),z2:10});Xl(h,Kl(i),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),h.disableLabelAnimation=!0,h.setStyle("fill",e.getVisual("color")),h.setStyle("decal",e.getVisual("style").decal),Ol(h,i),o.add(h),c.setItemGraphicEl(e.dataIndex,h),bs(h).dataType="node";var d=s.get("focus");Sl(h,"adjacency"===d?e.getAdjacentDataIndices():d,s.get("blurScope"),s.get("disabled"))})),c.eachItemGraphicEl((function(e,r){var o=c.getItemModel(r);o.get("draggable")&&(e.drift=function(e,o){i._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:c.getRawIndex(r),localX:this.shape.x/l,localY:this.shape.y/u})},e.ondragend=function(){i._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(uN(o.getBoundingRect(),t,(function(){o.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Hm);function uN(t,e,n){var i=new ts({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Fl(i,{shape:{width:t.width+20}},e,n),i}var cN=lN,hN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,i=t.data||t.nodes,r=t.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a<r.length;a++)null!=r[a].depth&&r[a].depth>=0&&(o[r[a].depth]=new xu(r[a],this,e));if(i&&n){var s=Aj(i,n,this,!0,l);return s.data}function l(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e),r=i.node1.getLayout();if(r){var o=r.depth,a=n.levelModels[o];a&&(t.parentModel=a)}return t}))}},e.prototype.setNodePosition=function(t,e){var n=this.option.data||this.option.nodes,i=n[t];i.localX=e[0],i.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value,s=o.source+" -- "+o.target;return Hp("nameValue",{name:s,value:a,noValue:i(a)})}var l=this.getGraph().getNodeByIndex(t),u=l.getLayout().value,c=this.getDataParams(t,n).data.name;return Hp("nameValue",{name:null!=c?c+"":null,value:u,noValue:i(u)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e),o=r.getLayout().value;i.value=o}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(xf),dN=hN;function pN(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=fN(t,e);t.layoutInfo=r;var o=r.width,a=r.height,l=t.getGraph(),u=l.nodes,c=l.edges;mN(u);var h=s["n"](u,(function(t){return 0===t.getLayout().value})),d=0!==h.length?0:t.get("layoutIterations"),p=t.get("orient"),f=t.get("nodeAlign");gN(u,c,n,i,o,a,d,p,f)}))}function fN(t,e){return Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function gN(t,e,n,i,r,o,a,s,l){vN(t,e,n,r,o,s,l),wN(t,e,o,r,i,a,s),jN(t,s)}function mN(t){s["k"](t,(function(t){var e=DN(t.outEdges,EN),n=DN(t.inEdges,EN),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}function vN(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],c=[],h=0,d=0;d<e.length;d++)s[d]=1;for(d=0;d<t.length;d++)l[d]=t[d].inEdges.length,0===l[d]&&u.push(t[d]);var p=-1;while(u.length){for(var f=0;f<u.length;f++){var g=u[f],m=g.hostGraph.data.getRawDataItem(g.dataIndex),v=null!=m.depth&&m.depth>=0;v&&m.depth>p&&(p=m.depth),g.setLayout({depth:v?m.depth:h},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var y=0;y<g.outEdges.length;y++){var b=g.outEdges[y],_=e.indexOf(b);s[_]=0;var x=b.node2,w=t.indexOf(x);0===--l[w]&&c.indexOf(x)<0&&c.push(x)}}++h,u=c,c=[]}for(d=0;d<s.length;d++)if(1===s[d])throw new Error("Sankey is a DAG, the original data has cycle!");var S=p>h-1?p:h-1;a&&"left"!==a&&bN(t,a,o,S);var C="vertical"===o?(r-n)/S:(i-n)/S;xN(t,C,o)}function yN(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function bN(t,e,n,i){if("right"===e){var r=[],o=t,a=0;while(o.length){for(var l=0;l<o.length;l++){var u=o[l];u.setLayout({skNodeHeight:a},!0);for(var c=0;c<u.inEdges.length;c++){var h=u.inEdges[c];r.indexOf(h.node1)<0&&r.push(h.node1)}}o=r,r=[],++a}s["k"](t,(function(t){yN(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&_N(t,i)}function _N(t,e){s["k"](t,(function(t){yN(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}function xN(t,e,n){s["k"](t,(function(t){var i=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:i},!0):t.setLayout({x:i},!0)}))}function wN(t,e,n,i,r,o,a){var s=SN(t,a);CN(s,e,n,i,r,a),kN(s,r,n,i,a);for(var l=1;o>0;o--)l*=.99,MN(s,l,a),kN(s,r,n,i,a),LN(s,l,a),kN(s,r,n,i,a)}function SN(t,e){var n=[],i="vertical"===e?"y":"x",r=Lr(t,(function(t){return t.getLayout()[i]}));return r.keys.sort((function(t,e){return t-e})),s["k"](r.keys,(function(t){n.push(r.buckets.get(t))})),n}function CN(t,e,n,i,r,o){var a=1/0;s["k"](t,(function(t){var e=t.length,l=0;s["k"](t,(function(t){l+=t.getLayout().value}));var u="vertical"===o?(i-(e-1)*r)/l:(n-(e-1)*r)/l;u<a&&(a=u)})),s["k"](t,(function(t){s["k"](t,(function(t,e){var n=t.getLayout().value*a;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),s["k"](e,(function(t){var e=+t.getValue()*a;t.setLayout({dy:e},!0)}))}function kN(t,e,n,i,r){var o="vertical"===r?"x":"y";s["k"](t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,c=t.length,h="vertical"===r?"dx":"dy",d=0;d<c;d++)s=t[d],l=u-s.getLayout()[o],l>0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[h]+e;var p="vertical"===r?i:n;if(l=u-e-p,l>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(d=c-2;d>=0;--d)s=t[d],l=s.getLayout()[o]+s.getLayout()[h]+e-u,l>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function MN(t,e,n){s["k"](t.slice().reverse(),(function(t){s["k"](t,(function(t){if(t.outEdges.length){var i=DN(t.outEdges,ON,n)/DN(t.outEdges,EN);if(isNaN(i)){var r=t.outEdges.length;i=r?DN(t.outEdges,TN,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-PN(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-PN(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function ON(t,e){return PN(t.node2,e)*t.getValue()}function TN(t,e){return PN(t.node2,e)}function AN(t,e){return PN(t.node1,e)*t.getValue()}function IN(t,e){return PN(t.node1,e)}function PN(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function EN(t){return t.getValue()}function DN(t,e,n){var i=0,r=t.length,o=-1;while(++o<r){var a=+e(t[o],n);isNaN(a)||(i+=a)}return i}function LN(t,e,n){s["k"](t,(function(t){s["k"](t,(function(t){if(t.inEdges.length){var i=DN(t.inEdges,AN,n)/DN(t.inEdges,EN);if(isNaN(i)){var r=t.inEdges.length;i=r?DN(t.inEdges,IN,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-PN(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-PN(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function jN(t,e){var n="vertical"===e?"x":"y";s["k"](t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),s["k"](t,(function(t){var e=0,n=0;s["k"](t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),s["k"](t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}function RN(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),n=e.nodes;if(n.length){var i=1/0,r=-1/0;s["k"](n,(function(t){var e=t.getLayout().value;e<i&&(i=e),e>r&&(r=e)})),s["k"](n,(function(e){var n=new ND({type:"color",mappingMethod:"linear",dataExtent:[i,r],visual:t.get("color")}),o=n.mapValueToVisual(e.getLayout().value),a=e.getModel().get(["itemStyle","color"]);null!=a?(e.setVisual("color",a),e.setVisual("style",{fill:a})):(e.setVisual("color",o),e.setVisual("style",{fill:o}))}))}}))}function BN(t){t.registerChartView(cN),t.registerSeriesModel(dN),t.registerLayout(pN),t.registerVisual(RN),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))}var NN=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),l=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===l?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var u=["x","y"],c="horizontal"===t.layout?0:1,h=this._baseAxisDim=u[c],d=u[1-c],p=[r,o],f=p[c].get("type"),g=p[1-c].get("type"),m=t.data;if(m&&i){var v=[];s["k"](m,(function(t,e){var n;s["t"](t)?(n=t.slice(),t.unshift(e)):s["t"](t.value)?(n=s["m"]({},t),n.value=n.value.slice(),t.value.unshift(e)):n=t,v.push(n)})),t.data=v}var y=this.defaultValueDimensions,b=[{name:h,type:ww(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:ww(g),dimsDef:y.slice()}];return iM(this,{coordDimensions:b,dimensionsCount:y.length+1,encodeDefaulter:s["h"](uh,b,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),FN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return o(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(xf);Object(s["K"])(FN,NN,!0);var zN=FN,VN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=i.getItemLayout(t),n=HN(e,i,t,a,!0);i.setItemGraphicEl(t,n),r.add(n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Hl(n),GN(s,n,i,t)):n=HN(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(Hm),qN=function(){function t(){}return t}(),$N=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return o(e,t),e.prototype.getDefaultShape=function(){return new qN},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),i++,t.lineTo(n[i][0],n[i][1])},e}(Ba);function HN(t,e,n,i,r){var o=t.ends,a=new $N({shape:{points:r?WN(o,i,t):o}});return GN(t,a,e,n,r),a}function GN(t,e,n,r,o){var a=n.hostModel,s=i[o?"initProps":"updateProps"];s(e,{shape:{points:t.ends}},a,r),e.useStyle(n.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.z2=100;var l=n.getItemModel(r),u=l.getModel("emphasis");Ol(e,l),Sl(e,u.get("focus"),u.get("blurScope"),u.get("disabled"))}function WN(t,e,n){return s["H"](t,(function(t){return t=t.slice(),t[e]=n.initBaseline,t}))}var UN=VN;function YN(t,e){}var XN=s["k"];function KN(t){var e=ZN(t);XN(e,(function(t){var e=t.seriesModels;e.length&&(QN(t),XN(e,(function(e,n){JN(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}function ZN(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var i=t.getBaseAxis(),r=s["r"](n,i);r<0&&(r=n.length,n[r]=i,e[r]={axis:i,seriesModels:[]}),e[r].seriesModels.push(t)})),e}function QN(t){var e,n=t.axis,i=t.seriesModels,r=i.length,o=t.boxWidthList=[],a=t.boxOffsetList=[],l=[];if("category"===n.type)e=n.getBandWidth();else{var u=0;XN(i,(function(t){u=Math.max(u,t.getData().count())}));var c=n.getExtent();e=Math.abs(c[1]-c[0])/u}XN(i,(function(t){var n=t.get("boxWidth");s["t"](n)||(n=[n,n]),l.push([Pi(n[0],e)||0,Pi(n[1],e)||0])}));var h=.8*e-2,d=h/r*.3,p=(h-d*(r-1))/r,f=p/2-h/2;XN(i,(function(t,e){a.push(f),f+=d+p,o.push(Math.min(Math.max(p,l[e][0]),l[e][1]))}))}function JN(t,e,n){var i=t.coordinateSystem,r=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),c=r.mapDimensionsAll(l[s]);if(!(null==u||c.length<5))for(var h=0;h<r.count();h++){var d=r.get(u,h),p=b(d,c[2],h),f=b(d,c[0],h),g=b(d,c[1],h),m=b(d,c[3],h),v=b(d,c[4],h),y=[];_(y,g,!1),_(y,m,!0),y.push(f,g,v,m),x(y,f),x(y,v),x(y,p),r.setItemLayout(h,{initBaseline:p[s],ends:y})}function b(t,n,o){var l,u=r.get(n,o),c=[];return c[a]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c),l[a]+=e),l}function _(t,e,n){var i=e.slice(),r=e.slice();i[a]+=o,r[a]-=o,n?t.push(i,r):t.push(r,i)}function x(t,e){var n=e.slice(),i=e.slice();n[a]-=o,i[a]+=o,t.push(n,i)}}function tF(t,e){e=e||{};for(var n=[],i=[],r=e.boundIQR,o="none"===r||0===r,a=0;a<t.length;a++){var l=Di(t[a].slice()),u=Ui(l,.25),c=Ui(l,.5),h=Ui(l,.75),d=l[0],p=l[l.length-1],f=(null==r?1.5:r)*(h-u),g=o?d:Math.max(d,u-f),m=o?p:Math.min(p,h+f),v=e.itemNameFormatter,y=Object(s["w"])(v)?v({value:a}):Object(s["C"])(v)?v.replace("{value}",a+""):a+"";n.push([y,g,u,c,h,m]);for(var b=0;b<l.length;b++){var _=l[b];if(_<g||_>m){var x=[y,_];i.push(x)}}}return{boxData:n,outliers:i}}var eF={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Jc){var n="";0,Ah(n)}var i=tF(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function nF(t){t.registerSeriesModel(zN),t.registerChartView(UN),t.registerVisual(YN),t.registerLayout(KN),t.registerTransform(eF)}var iF=["color","borderColor"],rF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&lF(s,a))return;var l=sF(a,n,!0);Fl(l,{shape:{points:a.ends}},t,n),uF(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var c=e.getItemLayout(a);o&&lF(s,c)?i.remove(u):(u?(Nl(u,{shape:{points:c.ends}},t,a),Hl(u)):u=sF(c,a),uF(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),pF(t,this.group);var e=t.get("clip",!0)?$S(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){var n,i=e.getData(),r=i.getLayout("isSimpleBox");while(null!=(n=t.next())){var o=i.getItemLayout(n),a=sF(o,n);uF(a,i,n,r),a.incremental=!0,this.group.add(a),this._progressiveEls.push(a)}},e.prototype._incrementalRenderLarge=function(t,e){pF(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Hm),oF=function(){function t(){}return t}(),aF=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return o(e,t),e.prototype.getDefaultShape=function(){return new oF},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Ba);function sF(t,e,n){var i=t.ends;return new aF({shape:{points:n?cF(i,t):i},z2:100})}function lF(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function uF(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=i,Ol(t,r)}function cF(t,e){return s["H"](t,(function(t){return t=t.slice(),t[1]=e.initBaseline,t}))}var hF=function(){function t(){}return t}(),dF=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return o(e,t),e.prototype.getDefaultShape=function(){return new hF},e.prototype.buildPath=function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];t.moveTo(r,n[i++]),t.lineTo(r,n[i++])}else i+=3},e}(Ba);function pF(t,e,n,i){var r=t.getData(),o=r.getLayout("largePoints"),a=new dF({shape:{points:o},__sign:1});e.add(a);var s=new dF({shape:{points:o},__sign:-1});e.add(s),fF(1,a,t,r),fF(-1,s,t,r),i&&(a.incremental=!0,s.incremental=!0),n&&n.push(a,s)}function fF(t,e,n,i){var r=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]),o=n.getModel("itemStyle").getItemStyle(iF);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var gF=rF,mF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return o(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(xf);Object(s["K"])(mF,NN,!0);var vF=mF;function yF(t){t&&s["t"](t.series)&&s["k"](t.series,(function(t){s["A"](t)&&"k"===t.type&&(t.type="candlestick")}))}var bF=["itemStyle","borderColor"],_F=["itemStyle","borderColor0"],xF=["itemStyle","color"],wF=["itemStyle","color0"],SF={seriesType:"candlestick",plan:Cf(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?xF:wF)}function i(t,e){return e.get(t>0?bF:_F)}if(!e.isSeriesFiltered(t)){var r=t.pipelineContext.large;return!r&&{progress:function(t,e){var r;while(null!=(r=t.next())){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,l=o.getItemStyle();l.fill=n(a,o),l.stroke=i(a,o)||l.fill;var u=e.ensureUniqueItemVisual(r,"style");Object(s["m"])(u,l)}}}}}},CF=SF,kF={seriesType:"candlestick",plan:Cf(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=OF(t,n),r=0,o=1,a=["x","y"],l=n.getDimensionIndex(n.mapDimension(a[r])),u=Object(s["H"])(n.mapDimensionsAll(a[o]),n.getDimensionIndex,n),c=u[0],h=u[1],d=u[2],p=u[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(l<0||u.length<4))return{progress:t.pipelineContext.large?g:f};function f(t,n){var a,s=n.getStore();while(null!=(a=t.next())){var u=s.get(l,a),f=s.get(c,a),g=s.get(h,a),m=s.get(d,a),v=s.get(p,a),y=Math.min(f,g),b=Math.max(f,g),_=k(y,u),x=k(b,u),w=k(m,u),S=k(v,u),C=[];M(C,x,0),M(C,_,1),C.push(T(S),T(x),T(w),T(_)),n.setItemLayout(a,{sign:MF(s,a,f,g,h),initBaseline:f>g?x[o]:_[o],ends:C,brushRect:O(m,v,u)})}function k(t,n){var i=[];return i[r]=n,i[o]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function M(t,e,n){var o=e.slice(),a=e.slice();o[r]=bm(o[r]+i/2,1,!1),a[r]=bm(a[r]-i/2,1,!0),n?t.push(o,a):t.push(a,o)}function O(t,e,n){var a=k(t,n),s=k(e,n);return a[r]-=i/2,s[r]-=i/2,{x:a[0],y:a[1],width:o?i:s[0]-a[0],height:o?s[1]-a[1]:i}}function T(t){return t[r]=bm(t[r],1),t}}function g(t,n){var i,a,s=IS(4*t.count),u=0,f=[],g=[],m=n.getStore();while(null!=(a=t.next())){var v=m.get(l,a),y=m.get(c,a),b=m.get(h,a),_=m.get(d,a),x=m.get(p,a);isNaN(v)||isNaN(_)||isNaN(x)?(s[u++]=NaN,u+=3):(s[u++]=MF(m,a,y,b,h),f[r]=v,f[o]=_,i=e.dataToPoint(f,null,g),s[u++]=i?i[0]:NaN,s[u++]=i?i[1]:NaN,f[o]=x,i=e.dataToPoint(f,null,g),s[u++]=i?i[1]:NaN)}n.setLayout("largePoints",s)}}};function MF(t,e,n,i,r){var o;return o=n>i?-1:n<i?1:e>0?t.get(r,e-1)<=i?1:-1:1,o}function OF(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=Pi(Object(s["P"])(t.get("barMaxWidth"),r),r),a=Pi(Object(s["P"])(t.get("barMinWidth"),1),r),l=t.get("barWidth");return null!=l?Pi(l,r):Math.max(Math.min(r/2,o),a)}var TF=kF;function AF(t){t.registerChartView(gF),t.registerSeriesModel(vF),t.registerPreprocessor(yF),t.registerVisual(CF),t.registerLayout(TF)}function IF(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var PF=function(t){function e(e,n){var i=t.call(this)||this,r=new bS(e,n),o=new bi;return i.add(r),i.add(o),i.updateData(e,n),i}return o(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o<i;o++){var a=iy(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/i*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),r.add(a)}IF(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],r=0;r<i.length;r++){var o=i[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}IF(n,t)},e.prototype.highlight=function(){rl(this)},e.prototype.downplay=function(){ol(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,i=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),s=ry(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill,c=o.getModel("emphasis");r.setScale(s),r.traverse((function(t){t.setStyle("fill",u)}));var h=oy(t.getItemVisual(e,"symbolOffset"),s);h&&(r.x=h[0],r.y=h[1]);var d=t.getItemVisual(e,"symbolRotate");r.rotation=(d||0)*Math.PI/180||0;var p={};p.showEffectOn=i.get("showEffectOn"),p.rippleScale=o.get(["rippleEffect","scale"]),p.brushType=o.get(["rippleEffect","brushType"]),p.period=1e3*o.get(["rippleEffect","period"]),p.effectOffset=e/t.count(),p.z=i.getShallow("z")||0,p.zlevel=i.getShallow("zlevel")||0,p.symbolType=a,p.color=u,p.rippleEffectColor=o.get(["rippleEffect","color"]),p.rippleNumber=o.get(["rippleEffect","number"]),"render"===p.showEffectOn?(this._effectCfg?this.updateEffectAnimation(p):this.startEffectAnimation(p),this._effectCfg=p):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==p.showEffectOn&&n.startEffectAnimation(p):"normal"===t&&"render"!==p.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=p,Sl(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(bi),EF=PF,DF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){this._symbolDraw=new CS(EF)},e.prototype.render=function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var i=t.getData();this.group.dirty();var r=cC("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=Sn(e.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(Hm),LF=DF,jF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){return dS(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(xf),RF=jF;function BF(t){t.registerChartView(LF),t.registerSeriesModel(RF),t.registerLayout(cC("effectScatter"))}var NF=function(t){function e(e,n,i){var r=t.call(this)||this;return r.add(r.createLine(e,n,i)),r._updateEffectSymbol(e,n),r}return o(e,t),e.prototype.createLine=function(t,e,n){return new oj(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e),i=n.getModel("effect"),r=i.get("symbolSize"),o=i.get("symbol");s["t"](r)||(r=[r,r]);var a=t.getItemVisual(e,"style"),l=i.get("color")||a&&a.stroke,u=this.childAt(1);this._symbolType!==o&&(this.remove(u),u=iy(o,-.5,-.5,1,1,l),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",l),u.setStyle(i.getItemStyle(["color"])),u.scaleX=r[0],u.scaleY=r[1],u.setColor(l),this._symbolType=o,this._symbolScale=r,this._updateEffectAnimation(t,i,e))},e.prototype._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=t.getItemLayout(n),o=1e3*e.get("period"),a=e.get("loop"),l=e.get("constantSpeed"),u=s["O"](e.get("delay"),(function(e){return e/t.count()*o/3}));if(i.ignore=!0,this._updateAnimationPoints(i,r),l>0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop){i.stopAnimation();var c=void 0;c=s["w"](u)?u(n):u,i.__t>0&&(c=-o*i.__t),this._animateSymbol(i,o,c,a)}this._period=o,this._loop=a}},e.prototype._animateSymbol=function(t,e,n,i){if(e>0){t.__t=0;var r=this,o=t.animate("",i).when(e,{__t:1}).delay(n).during((function(){r._updateSymbolPosition(t)}));i||o.done((function(){r.remove(t)})),o.start()}},e.prototype._getLineLength=function(t){return w(t.__p1,t.__cp1)+w(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t,o=[t.x,t.y],a=o.slice(),s=ne,l=ie;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=l(e[0],i[0],n[0],r),c=l(e[1],i[1],n[1],r);t.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*w(a,o),1===r&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===t.__lastT?t.scaleY=2*w(e,o):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=o[0],t.y=o[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}(bi),FF=NF,zF=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createPolyline(e,n,i),r}return o(e,t),e.prototype._createPolyline=function(t,e,n){var i=t.getItemLayout(e),r=new Tg({shape:{points:i}});this.add(r),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childAt(0),o={shape:{points:t.getItemLayout(e)}};Nl(r,o,i,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var i=this.childAt(0),r=t.getItemModel(e),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||t.hasItemOption){var u=r.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}i.useStyle(t.getItemVisual(e,"style")),i.style.fill=null,i.style.strokeNoScale=!0;var c=i.ensureState("emphasis");c.style=o,Sl(this,a,s,l)},e.prototype.updateLayout=function(t,e){var n=this.childAt(0);n.setShape("points",t.getItemLayout(e))},e}(bi),VF=zF,qF=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return o(e,t),e.prototype.createLine=function(t,e,n){return new VF(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r<e.length;r++){var o=e[r-1],a=e[r];i+=w(o,a),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o,a=this._lastFrame;if(e<this._lastFramePercent){var s=Math.min(a+1,r-1);for(o=s;o>=0;o--)if(i[o]<=e)break;o=Math.min(o,r-2)}else{for(o=a;o<r;o++)if(i[o]>e)break;o=Math.min(o-1,r-2)}var l=(e-i[o])/(i[o+1]-i[o]),u=n[o],c=n[o+1];t.x=u[0]*(1-l)+l*c[0],t.y=u[1]*(1-l)+l*c[1];var h=c[0]-u[0],d=c[1]-u[1];t.rotation=-Math.atan2(d,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(FF),$F=qF,HF=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),GF=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return o(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new HF},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n<i.length;){var o=i[n++];if(o>0){t.moveTo(i[n++],i[n++]);for(var a=1;a<o;a++)t.lineTo(i[n++],i[n++])}}else for(n=this._off;n<i.length;){var s=i[n++],l=i[n++],u=i[n++],c=i[n++];if(t.moveTo(s,l),r>0){var h=(s+u)/2-(l-c)*r,d=(l+c)/2-(u-s)*r;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<i.length;){var l=i[s++];if(l>0)for(var u=i[s++],c=i[s++],h=1;h<l;h++){var d=i[s++],p=i[s++];if(da(u,c,d,p,o,t,e))return a}a++}else for(a=0,s=0;s<i.length;){u=i[s++],c=i[s++],d=i[s++],p=i[s++];if(r>0){var f=(u+d)/2-(c-p)*r,g=(c+p)/2-(d-u)*r;if(fa(u,c,f,g,d,p,o,t,e))return a}else if(da(u,c,d,p,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(t=n[0],e=n[1],i.contain(t,e)){var r=this.hoverDataIdx=this.findDataIndex(t,e);return r>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.segs,i=1/0,r=1/0,o=-1/0,a=-1/0,s=0;s<n.length;){var l=n[s++],u=n[s++];i=Math.min(l,i),o=Math.max(l,o),r=Math.min(u,r),a=Math.max(u,a)}t=this._rect=new Wn(i,r,o,a)}return t},e}(Ba),WF=function(){function t(){this.group=new bi}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],i=e.getLayout("linesPoints"),r=n&&n.shape.segs;if(r&&r.length<2e4){var o=r.length,a=new Float32Array(o+i.length);a.set(r),a.set(i,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:i}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new GF({cursor:"default"});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null);var o=bs(t);o.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){o.dataIndex=null;var n=t.hoverDataIdx;n>0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),UF=WF,YF={seriesType:"lines",plan:Cf(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,c=r.start;c<r.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,d=[];for(c=r.start;c<r.end;c++){var p=t.getLineCoords(c,a);n&&(s[h++]=p);for(var f=0;f<p;f++)d=e.dataToPoint(a[f],!1,d),s[h++]=d[0],s[h++]=d[1]}o.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var g=o.getItemModel(c),m=(p=t.getLineCoords(c,a),[]);if(n)for(var v=0;v<p;v++)m.push(e.dataToPoint(a[v]));else{m[0]=e.dataToPoint(a[0]),m[1]=e.dataToPoint(a[1]);var y=g.get(["lineStyle","curveness"]);+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}o.setItemLayout(c,m)}}}}}},XF=YF,KF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&$S(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t);r.incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=XF.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext,a=o.large;return n&&i===this._hasEffet&&r===this._isPolyline&&a===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=a?new UF:new hj(r?i?$F:VF:i?FF:oj),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=a),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr(),n="svg"===e.painter.getType();n||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(Hm),ZF=KF,QF="undefined"===typeof Uint32Array?Array:Uint32Array,JF="undefined"===typeof Float64Array?Array:Float64Array;function tz(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=Object(s["H"])(e,(function(t){var e=[t[0].coord,t[1].coord],n={coords:e};return t[0].name&&(n.fromName=t[0].name),t[1].name&&(n.toName=t[1].name),Object(s["J"])([n,t[0],t[1]])})))}var ez=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return o(e,t),e.prototype.init=function(e){e.data=e.data||[],tz(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(tz(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=Object(s["e"])(this._flatCoords,e.flatCoords),this._flatCoordsOffset=Object(s["e"])(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),n=e.option instanceof Array?e.option:e.getShallow("coords");return n},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}var o=this._getCoordsFromItemModel(t);for(r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),Object(s["z"])(t[0])){for(var n=t.length,i=new QF(n),r=new JF(n),o=0,a=0,l=0,u=0;u<n;){l++;var c=t[u++];i[a++]=o+e,i[a++]=c;for(var h=0;h<c;h++){var d=t[u++],p=t[u++];r[o++]=d,r[o++]=p}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:l}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new Yw(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),n},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=i.getItemModel(t),o=r.get("name");if(o)return o;var a=r.get("fromName"),s=r.get("toName"),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Hp("nameValue",{name:l.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(xf),nz=ez;function iz(t){return t instanceof Array||(t=[t,t]),t}var rz={seriesType:"lines",reset:function(t){var e=iz(t.get("symbol")),n=iz(t.get("symbolSize")),i=t.getData();function r(t,e){var n=t.getItemModel(e),i=iz(n.getShallow("symbol",!0)),r=iz(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?r:null}}},oz=rz;function az(t){t.registerChartView(ZF),t.registerSeriesModel(nz),t.registerLayout(XF),t.registerVisual(oz)}var sz=256,lz=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=Yn["d"].createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),d=t.length;c.width=e,c.height=n;for(var p=0;p<d;++p){var f=t[p],g=f[0],m=f[1],v=f[2],y=i(v);h.globalAlpha=y,h.drawImage(a,g-u,m-u)}if(!c.width||!c.height)return c;var b=h.getImageData(0,0,c.width,c.height),_=b.data,x=0,w=_.length,S=this.minOpacity,C=this.maxOpacity,k=C-S;while(x<w){y=_[x+3]/256;var M=4*Math.floor(y*(sz-1));if(y>0){var O=o(y)?s:l;y>0&&(y=y*k+S),_[x++]=O[M],_[x++]=O[M+1],_[x++]=O[M+2],_[x++]=O[M+3]*y*256}else x+=4}return h.putImageData(b,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=Yn["d"].createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}(),uz=lz;function cz(t,e,n){var i=t[1]-t[0];e=s["H"](e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}));var r=e.length,o=0;return function(t){var i;for(i=o;i<r;i++){var a=e[i].interval;if(a[0]<=t&&t<=a[1]){o=i;break}}if(i===r)for(i=o-1;i>=0;i--){a=e[i].interval;if(a[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i<r&&n[i]}}function hz(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}function dz(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var pz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):dz(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(dz(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,c=HS(u,"cartesian2d");if(c){var h=u.getAxis("x"),d=u.getAxis("y");0,o=h.getBandWidth()+.5,a=d.getBandWidth()+.5,s=h.scale.getExtent(),l=d.scale.getExtent()}for(var p=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),m=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),y=t.get(["itemStyle","borderRadius"]),b=Kl(t),_=t.getModel("emphasis"),x=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),C=c?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],k=n;k<i;k++){var M=void 0,O=f.getItemVisual(k,"style");if(c){var T=f.get(C[0],k),A=f.get(C[1],k);if(isNaN(f.get(C[2],k))||T<s[0]||T>s[1]||A<l[0]||A>l[1])continue;var I=u.dataToPoint([T,A]);M=new ts({shape:{x:I[0]-o/2,y:I[1]-a/2,width:o,height:a},style:O})}else{if(isNaN(f.get(C[1],k)))continue;M=new ts({z2:1,shape:u.dataToRect([f.get(C[0],k)]).contentShape,style:O})}if(f.hasItemOption){var P=f.getItemModel(k),E=P.getModel("emphasis");g=E.getModel("itemStyle").getItemStyle(),m=P.getModel(["blur","itemStyle"]).getItemStyle(),v=P.getModel(["select","itemStyle"]).getItemStyle(),y=P.get(["itemStyle","borderRadius"]),x=E.get("focus"),w=E.get("blurScope"),S=E.get("disabled"),b=Kl(P)}M.shape.r=y;var D=t.getRawValue(k),L="-";D&&null!=D[2]&&(L=D[2]+""),Xl(M,b,{labelFetcher:t,labelDataIndex:k,defaultOpacity:O.opacity,defaultText:L}),M.ensureState("emphasis").style=g,M.ensureState("blur").style=m,M.ensureState("select").style=v,Sl(M,x,w,S),M.incremental=r,r&&(M.states.emphasis.hoverLayer=!0),p.add(M),f.setItemGraphicEl(k,M),this._progressiveEls&&this._progressiveEls.push(M)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new uz;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),h=Math.max(l.y,0),d=Math.min(l.width+l.x,i.getWidth()),p=Math.min(l.height+l.y,i.getHeight()),f=d-c,g=p-h,m=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(m,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=c,r[1]-=h,r.push(i),r})),y=n.getExtent(),b="visualMap.continuous"===n.type?hz(y,n.option.range):cz(y,n.getPieceList(),n.option.selected);s.update(v,f,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},b);var _=new Ga({style:{width:f,height:g,x:c,y:h,image:s.canvas},silent:!0});this.group.add(_)},e.type="heatmap",e}(Hm),fz=pz,gz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(t,e){return dS(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=Hh.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(xf),mz=gz;function vz(t){t.registerChartView(fz),t.registerSeriesModel(mz)}var yz=["itemStyle","borderWidth"],bz=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],_z=new Kf,xz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis(),l=s.isHorizontal(),u=a.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:bz[+l],categoryDim:bz[1-+l]};return r.diff(o).add((function(t){if(r.hasValue(t)){var e=Dz(r,t),n=wz(r,t,e,c),o=Rz(r,c,n);r.setItemGraphicEl(t,o),i.add(o),qz(o,c,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=Dz(r,t),s=wz(r,t,a,c),l=Fz(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?Bz(n,c,s):n=Rz(r,c,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),qz(n,c,s)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&Nz(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl((function(e){Nz(i,bs(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(Hm);function wz(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=n.get("symbolRotate"),u=(l||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,h=n.isAnimationEnabled(),d={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:h?n:null,hoverScale:h&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};Sz(n,o,r,i,d),kz(t,e,r,o,a,d.boundingLength,d.pxSign,c,i,d),Mz(n,d.symbolScale,u,i,d);var p=d.symbolSize,f=oy(n.get("symbolOffset"),p);return Oz(n,p,r,o,a,f,s,d.valueLineWidth,d.boundingLength,d.repeatCutLength,i,d),d}function Sz(t,e,n,i,r){var o,a=i.valueDim,l=t.get("symbolBoundingData"),u=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),h=1-+(n[a.wh]<=0);if(s["t"](l)){var d=[Cz(u,l[0])-c,Cz(u,l[1])-c];d[1]<d[0]&&d.reverse(),o=d[h]}else o=null!=l?Cz(u,l)-c:e?i.coordSysExtent[a.index][h]-c:n[a.wh];r.boundingLength=o,e&&(r.repeatCutLength=n[a.wh]),r.pxSign=o>0?1:-1}function Cz(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function kz(t,e,n,i,r,o,a,l,u,c){var h,d=u.valueDim,p=u.categoryDim,f=Math.abs(n[p.wh]),g=t.getItemVisual(e,"symbolSize");h=s["t"](g)?g.slice():null==g?["100%","100%"]:[g,g],h[p.index]=Pi(h[p.index],f),h[d.index]=Pi(h[d.index],i?f:Math.abs(o)),c.symbolSize=h;var m=c.symbolScale=[h[0]/l,h[1]/l];m[d.index]*=(u.isHorizontal?-1:1)*a}function Mz(t,e,n,i,r){var o=t.get(yz)||0;o&&(_z.attr({scaleX:e[0],scaleY:e[1],rotation:n}),_z.updateTransform(),o/=_z.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o||0}function Oz(t,e,n,i,r,o,a,l,u,c,h,d){var p=h.categoryDim,f=h.valueDim,g=d.pxSign,m=Math.max(e[f.index]+l,0),v=m;if(i){var y=Math.abs(u),b=s["O"](t.get("symbolMargin"),"15%")+"",_=!1;b.lastIndexOf("!")===b.length-1&&(_=!0,b=b.slice(0,b.length-1));var x=Pi(b,e[f.index]),w=Math.max(m+2*x,0),S=_?0:2*x,C=Ki(i),k=C?i:$z((y+S)/w),M=y-k*m;x=M/2/(_?k:Math.max(k-1,1)),w=m+2*x,S=_?0:2*x,C||"fixed"===i||(k=c?$z((Math.abs(c)+S)/w):0),v=k*w-S,d.repeatTimes=k,d.symbolMargin=x}var O=g*(v/2),T=d.pathPosition=[];T[p.index]=n[p.wh]/2,T[f.index]="start"===a?O:"end"===a?u-O:u/2,o&&(T[0]+=o[0],T[1]+=o[1]);var A=d.bundlePosition=[];A[p.index]=n[p.xy],A[f.index]=n[f.xy];var I=d.barRectShape=s["m"]({},n);I[f.wh]=g*Math.max(Math.abs(n[f.wh]),Math.abs(T[f.index]+O)),I[p.wh]=n[p.wh];var P=d.clipShape={};P[p.xy]=-n[p.xy],P[p.wh]=h.ecSize[p.wh],P[f.xy]=0,P[f.wh]=n[f.wh]}function Tz(t){var e=t.symbolPatternSize,n=iy(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function Az(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,h=o[e.valueDim.index]+a+2*n.symbolMargin;for(zz(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?Vz(t,null,f(c),n,i):Vz(t,null,{scaleX:0,scaleY:0},n,i,(function(){r.remove(t)})),c++}));c<u;c++){var d=Tz(n);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,r.add(d);var p=f(c);Vz(d,{x:p.x,y:p.y,scaleX:0,scaleY:0},{scaleX:p.scaleX,scaleY:p.scaleY,rotation:p.rotation},n,i)}function f(t){var e=s.slice(),i=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=u-1-t),e[l.index]=h*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function Iz(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?Vz(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=Tz(n),r.add(o),Vz(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function Pz(t,e,n){var i=s["m"]({},e.barRectShape),r=t.__pictorialBarRect;r?Vz(r,null,{shape:i},e,n):(r=t.__pictorialBarRect=new ts({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),r.disableMorphing=!0,t.add(r))}function Ez(t,e,n,r){if(n.symbolClip){var o=t.__pictorialClipPath,a=s["m"]({},n.clipShape),l=e.valueDim,u=n.animationModel,c=n.dataIndex;if(o)Nl(o,{shape:a},u,c);else{a[l.wh]=0,o=new ts({shape:a}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[l.wh]=n.clipShape[l.wh],i[r?"updateProps":"initProps"](o,{shape:h},u,c)}}}function Dz(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=Lz,n.isAnimationEnabled=jz,n}function Lz(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function jz(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function Rz(t,e,n,i){var r=new bi,o=new bi;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?Az(r,e,n):Iz(r,e,n),Pz(r,n,i),Ez(r,e,n,i),r.__pictorialShapeStr=Fz(t,n),r.__pictorialSymbolMeta=n,r}function Bz(t,e,n){var i=n.animationModel,r=n.dataIndex,o=t.__pictorialBundle;Nl(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?Az(t,e,n,!0):Iz(t,e,n,!0),Pz(t,n,!0),Ez(t,e,n,!0)}function Nz(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];zz(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),s["k"](o,(function(t){Vl(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function Fz(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function zz(t,e,n){s["k"](t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function Vz(t,e,n,r,o,a){e&&t.attr(e),r.symbolClip&&!o?n&&t.attr(n):n&&i[o?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,a)}function qz(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),l=r.getModel(["blur","itemStyle"]).getItemStyle(),u=r.getModel(["select","itemStyle"]).getItemStyle(),c=r.getShallow("cursor"),h=o.get("focus"),d=o.get("blurScope"),p=o.get("scale");zz(t,(function(t){if(t instanceof Ga){var e=t.style;t.useStyle(s["m"]({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=l,t.ensureState("select").style=u,c&&(t.cursor=c),t.z2=n.z2}));var f=e.valueDim.posDesc[+(n.boundingLength>0)],g=t.__pictorialBarRect;Xl(g,Kl(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:gS(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),Sl(t,h,d,o.get("disabled"))}function $z(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var Hz=xz,Gz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return o(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=Mu(IC.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(IC),Wz=Gz;function Uz(t){t.registerChartView(Hz),t.registerSeriesModel(Wz),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Object(s["h"])(CC,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,kC("pictorialBar"))}var Yz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),l=i.getLayout("layoutInfo"),u=l.rect,c=l.boundaryGap;function h(t){return t.name}o.x=0,o.y=u.y+c[0];var d=new yw(this._layersSeries||[],a,h,h),p=[];function f(e,n,s){var l=r._layers;if("remove"!==e){for(var u,c,h=[],d=[],f=a[n].indices,g=0;g<f.length;g++){var m=i.getItemLayout(f[g]),v=m.x,y=m.y0,b=m.y;h.push(v,y),d.push(v,y+b),u=i.getItemVisual(f[g],"style")}var _=i.getItemLayout(f[0]),x=t.getModel("label"),w=x.get("margin"),S=t.getModel("emphasis");if("add"===e){var C=p[n]=new bi;c=new zS({shape:{points:h,stackedOnPoints:d,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),C.add(c),o.add(C),t.isAnimationEnabled()&&c.setClipPath(Xz(c.getBoundingRect(),t,(function(){c.removeClipPath()})))}else{C=l[s];c=C.childAt(0),o.add(C),p[n]=C,Nl(c,{shape:{points:h,stackedOnPoints:d}},t),Hl(c)}Xl(c,Kl(t),{labelDataIndex:f[g-1],defaultText:i.getName(f[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var k=c.getTextContent();k&&(k.x=_.x-w,k.y=_.y0+_.y/2),c.useStyle(u),i.setItemGraphicEl(n,c),Ol(c,t),Sl(c,S.get("focus"),S.get("blurScope"),S.get("disabled"))}else o.remove(l[n])}d.add(Object(s["c"])(f,this,"add")).update(Object(s["c"])(f,this,"update")).remove(Object(s["c"])(f,this,"remove")).execute(),this._layersSeries=a,this._layers=p},e.type="themeRiver",e}(Hm);function Xz(t,e,n){var i=new ts({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Fl(i,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),i}var Kz=Yz,Zz=2,Qz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new oM(s["c"](this.getData,this),s["c"](this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},i=Lr(t,(function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]})),r=[];i.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var o=r.length,a=0;a<o;++a){for(var s=r[a].name,l=0;l<r[a].dataList.length;++l){var u=r[a].dataList[l][0]+"";n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,t[e]=[u,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",Ar).models[0],i=n.get("type"),r=s["n"](t.data,(function(t){return void 0!==t[2]})),o=this.fixData(r||[]),a=[],l=this.nameMap=s["f"](),u=0,c=0;c<o.length;++c)a.push(o[c][Zz]),l.get(o[c][Zz])||(l.set(o[c][Zz],u),u++);var h=Xw(o,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:ww(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,d=new Yw(h,this);return d.initData(o),d},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;var r=t.mapDimension("single"),o=Lr(n,(function(e){return t.get("name",e)})),a=[];return o.buckets.each((function(e,n){e.sort((function(e,n){return t.get(r,e)-t.get(r,n)})),a.push({name:n,indices:e})})),a},e.prototype.getAxisTooltipData=function(t,e,n){s["t"](t)||(t=t?[t]:[]);for(var i,r=this.getData(),o=this.getLayerSeries(),a=[],l=o.length,u=0;u<l;++u){for(var c=Number.MAX_VALUE,h=-1,d=o[u].indices.length,p=0;p<d;++p){var f=r.get(t[0],o[u].indices[p]),g=Math.abs(f-e);g<=c&&(i=f,c=g,h=o[u].indices[p])}a.push(h)}return{dataIndices:a,nestestValue:i}},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=i.getName(t),o=i.get(i.mapDimension("value"),t);return Hp("nameValue",{name:r,value:o})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(xf),Jz=Qz;function tV(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect();i.rect=r;var o=t.get("boundaryGap"),a=n.getAxis();if(i.boundaryGap=o,"horizontal"===a.orient){o[0]=Pi(o[0],r.height),o[1]=Pi(o[1],r.height);var s=r.height-o[0]-o[1];eV(e,t,s)}else{o[0]=Pi(o[0],r.width),o[1]=Pi(o[1],r.width);var l=r.width-o[0]-o[1];eV(e,t,l)}e.setLayout("layoutInfo",i)}))}function eV(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,o=e.getLayerSeries(),a=t.mapDimension("single"),l=t.mapDimension("value"),u=s["H"](o,(function(e){return s["H"](e.indices,(function(e){var n=r.dataToPoint(t.get(a,e));return n[1]=t.get(l,e),n}))})),c=nV(u),h=c.y0,d=n/c.max,p=o.length,f=o[0].indices.length,g=0;g<f;++g){i=h[g]*d,t.setItemLayout(o[0].indices[g],{layerIndex:0,x:u[0][g][0],y0:i,y:u[0][g][1]*d});for(var m=1;m<p;++m)i+=u[m-1][g][1]*d,t.setItemLayout(o[m].indices[g],{layerIndex:m,x:u[m][g][0],y0:i,y:u[m][g][1]*d})}}function nV(t){for(var e=t.length,n=t[0].length,i=[],r=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<e;++l)s+=t[l][a][1];s>o&&(o=s),i.push(s)}for(var u=0;u<n;++u)r[u]=(o-i[u])/2;o=0;for(var c=0;c<n;++c){var h=i[c]+r[c];h>o&&(o=h)}return{y0:r,max:o}}function iV(t){t.registerChartView(Kz),t.registerSeriesModel(Jz),t.registerLayout(tV),t.registerProcessor(vk("themeRiver"))}var rV=2,oV=4,aV=function(t){function e(e,n,i,r){var o=t.call(this)||this;o.z2=rV,o.textConfig={inside:!0},bs(o).seriesIndex=n.seriesIndex;var a=new ys({z2:oV,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,n,i,r),o}return o(e,t),e.prototype.updateData=function(t,e,n,i,r){this.node=e,e.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var o=this;bs(o).dataIndex=e.dataIndex;var a=e.getModel(),l=a.getModel("emphasis"),u=e.getLayout(),c=s["m"]({},u);c.label=null;var h=e.getVisual("style");h.lineJoin="bevel";var d=e.getVisual("decal");d&&(h.decal=Wy(d,r));var p=Jk(a.getModel("itemStyle"),c,!0);s["m"](c,p),s["k"](Ts,(function(t){var e=o.ensureState(t),n=a.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=Jk(n,c);i&&(e.shape=i)})),t?(o.setShape(c),o.shape.r=u.r0,Nl(o,{shape:{r:u.r}},n,e.dataIndex)):(Nl(o,{shape:c},n),Hl(o)),o.useStyle(h),this._updateLabel(n);var f=a.getShallow("cursor");f&&o.attr("cursor",f),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var g=l.get("focus"),m="ancestor"===g?e.getAncestorsIndices():"descendant"===g?e.getDescendantIndices():g;Sl(this,m,l.get("blurScope"),l.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),i=n.getModel("label"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,l=Math.cos(a),u=Math.sin(a),c=this,h=c.getTextContent(),d=this.node.dataIndex,p=i.get("minAngle")/180*Math.PI,f=i.get("show")&&!(null!=p&&Math.abs(o)<p);function g(t,e){var n=t.get(e);return null==n?i.get(e):n}h.ignore=!f,s["k"](As,(function(i){var p="normal"===i?n.getModel("label"):n.getModel([i,"label"]),f="normal"===i,m=f?h:h.ensureState(i),v=t.getFormattedLabel(d,i);f&&(v=v||e.node.name),m.style=Zl(p,{},null,"normal"!==i,!0),v&&(m.style.text=v);var y=p.get("show");null==y||f||(m.ignore=!y);var b,_=g(p,"position"),x=f?c:c.states[i],w=x.style.fill;x.textConfig={outsideFill:"inherit"===p.get("color")?w:null,inside:"outside"!==_};var S=g(p,"distance")||0,C=g(p,"align");"outside"===_?(b=r.r+S,C=a>Math.PI/2?"right":"left"):C&&"center"!==C?"left"===C?(b=r.r0+S,a>Math.PI/2&&(C="right")):"right"===C&&(b=r.r-S,a>Math.PI/2&&(C="left")):(b=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,C="center"),m.style.align=C,m.style.verticalAlign=g(p,"verticalAlign")||"middle",m.x=b*l+r.cx,m.y=b*u+r.cy;var k=g(p,"rotate"),M=0;"radial"===k?(M=-a,M<-Math.PI/2&&(M+=Math.PI)):"tangential"===k?(M=Math.PI/2-a,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):s["z"](k)&&(M=k*Math.PI/180),m.rotation=M})),h.dirtyStyle()},e}(vg),sV=aV,lV="sunburstRootToNode",uV="sunburstHighlight",cV="sunburstUnhighlight";function hV(t){t.registerAction({type:lV,update:"updateView"},(function(t,e){function n(e,n){var i=IE(t,[lV],e);if(i){var r=e.getViewRoot();r&&(t.direction=EE(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}e.eachComponent({mainType:"series",subType:"sunburst",query:t},n)})),t.registerAction({type:uV,update:"none"},(function(t,e,n){function i(e){var n=IE(t,[uV],e);n&&(t.dataIndex=n.node.dataIndex)}t=Object(s["m"])({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},i),n.dispatchAction(Object(s["m"])(t,{type:"highlight"}))})),t.registerAction({type:cV,update:"updateView"},(function(t,e,n){t=Object(s["m"])({},t),n.dispatchAction(Object(s["m"])(t,{type:"downplay"}))}))}var dV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,l=t.getViewRoot(),u=this.group,c=t.get("renderLabelForZeroData"),h=[];l.eachNode((function(t){h.push(t)}));var d=this._oldChildren||[];function p(t,e){function n(t){return t.getId()}function i(n,i){var r=null==n?null:t[n],o=null==i?null:e[i];f(r,o)}0===t.length&&0===e.length||new yw(e,t,n,n).add(i).update(i).remove(s["h"](i,null)).execute()}function f(i,r){if(c||!i||i.getValue()||(i=null),i!==a&&r!==a)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),o.setItemGraphicEl(i.dataIndex,r.piece)):g(r);else if(i){var s=new sV(i,t,e,n);u.add(s),o.setItemGraphicEl(i.dataIndex,s)}}function g(t){t&&t.piece&&(u.remove(t.piece),t.piece=null)}function m(i,o){o.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new sV(i,t,e,n),u.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(u.remove(r.virtualPiece),r.virtualPiece=null)}p(h,d),m(a,l),this._initEvents(),this._oldChildren=h},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1,i=t.seriesModel.getViewRoot();i.eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";Ic(a,s)}}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:lV,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData(),i=n.getItemLayout(0);if(i){var r=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}},e.type="sunburst",e}(Hm),pV=dV,fV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};gV(n);var i=this._levelModels=s["H"](t.levels||[],(function(t){return new xu(t,this,e)}),this),r=AE.createTree(n,this,o);function o(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=DE(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){GE(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(xf);function gV(t){var e=0;s["k"](t.children,(function(t){gV(t);var n=t.value;s["t"](n)&&(n=n[0]),e+=n}));var n=t.value;s["t"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),s["t"](t.value)?t.value[0]=n:t.value=n}var mV=fV,vV=Math.PI/180;function yV(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");s["t"](i)||(i=[0,i]),s["t"](e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),l=Pi(e[0],r),u=Pi(e[1],o),c=Pi(i[0],a/2),h=Pi(i[1],a/2),d=-t.get("startAngle")*vV,p=t.get("minAngle")*vV,f=t.getData().tree.root,g=t.getViewRoot(),m=g.depth,v=t.get("sort");null!=v&&bV(g,v);var y=0;s["k"](g.children,(function(t){!isNaN(t.getValue())&&y++}));var b=g.getValue(),_=Math.PI/(b||y)*2,x=g.depth>0,w=g.height-(x?-1:1),S=(h-c)/(w||1),C=t.get("clockwise"),k=t.get("stillShowZeroSum"),M=C?1:-1,O=function(e,n){if(e){var i=n;if(e!==f){var r=e.getValue(),o=0===b&&k?_:r*_;o<p&&(o=p),i=n+M*o;var h=e.depth-m-(x?-1:1),d=c+S*h,g=c+S*(h+1),v=t.getLevelModel(e);if(v){var y=v.get("r0",!0),w=v.get("r",!0),T=v.get("radius",!0);null!=T&&(y=T[0],w=T[1]),null!=y&&(d=Pi(y,a/2)),null!=w&&(g=Pi(w,a/2))}e.setLayout({angle:o,startAngle:n,endAngle:i,clockwise:C,cx:l,cy:u,r0:d,r:g})}if(e.children&&e.children.length){var A=0;s["k"](e.children,(function(t){A+=O(t,n+A)}))}return i-n}};if(x){var T=c,A=c+S,I=2*Math.PI;f.setLayout({angle:I,startAngle:d,endAngle:d+I,clockwise:C,cx:l,cy:u,r0:T,r:A})}O(g,d)}))}function bV(t,e){var n=t.children||[];t.children=_V(n,e),n.length&&s["k"](t.children,(function(t){bV(t,e)}))}function _V(t,e){if(s["w"](e)){var n=s["H"](t,(function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}}));return n.sort((function(t,n){return e(t.params,n.params)})),s["H"](n,(function(e){return t[e.index]}))}var i="asc"===e;return t.sort((function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n}))}function xV(t){var e={};function n(t,n,i){var r=t;while(r&&r.depth>1)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&Object(s["C"])(o)&&(o=Object(pe["c"])(o,(t.depth-1)/(i-1)*.5)),o}t.eachSeriesByType("sunburst",(function(t){var e=t.getData(),i=e.tree;i.eachNode((function(r){var o=r.getModel(),a=o.getModel("itemStyle").getItemStyle();a.fill||(a.fill=n(r,t,i.root.height));var l=e.ensureUniqueItemVisual(r.dataIndex,"style");Object(s["m"])(l,a)}))}))}function wV(t){t.registerChartView(pV),t.registerSeriesModel(mV),t.registerLayout(Object(s["h"])(yV,"sunburst")),t.registerProcessor(Object(s["h"])(vk,"sunburst")),t.registerVisual(xV),hV(t)}var SV={color:"fill",borderColor:"stroke"},CV={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},kV=kr(),MV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return dS(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=kV(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(xf),OV=MV;function TV(t,e){return e=e||[0,0],s["H"](["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function AV(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:s["c"](TV,t)}}}function IV(t,e){return e=e||[0,0],s["H"]([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function PV(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:s["c"](IV,t)}}}function EV(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function DV(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:Object(s["c"])(EV,t)}}}function LV(t,e){return e=e||[0,0],s["H"](["Radius","Angle"],(function(n,i){var r="get"+n+"Axis",o=this[r](),a=e[i],s=t[i]/2,l="category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-s)-o.dataToCoord(a+s));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function jV(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),i=e.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:s["c"](LV,t)}}}function RV(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}function BV(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||Object(s["q"])(t,"text")))}function NV(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},Object(s["q"])(a,"text")&&(o.text=a.text),Object(s["q"])(a,"rich")&&(o.rich=a.rich),Object(s["q"])(a,"textFill")&&(o.fill=a.textFill),Object(s["q"])(a,"textStroke")&&(o.stroke=a.textStroke),Object(s["q"])(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Object(s["q"])(a,"fontSize")&&(o.fontSize=a.fontSize),Object(s["q"])(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Object(s["q"])(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var l=Object(s["q"])(a,"textPosition");n?i.position=l?a.textPosition:"inside":l&&(i.position=a.textPosition),Object(s["q"])(a,"textPosition")&&(i.position=a.textPosition),Object(s["q"])(a,"textOffset")&&(i.offset=a.textOffset),Object(s["q"])(a,"textRotation")&&(i.rotation=a.textRotation),Object(s["q"])(a,"textDistance")&&(i.distance=a.textDistance)}return FV(o,t),Object(s["k"])(o.rich,(function(t){FV(t,t)})),{textConfig:i,textContent:r}}function FV(t,e){e&&(e.font=e.textFont||e.font,Object(s["q"])(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),Object(s["q"])(e,"textAlign")&&(t.align=e.textAlign),Object(s["q"])(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),Object(s["q"])(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),Object(s["q"])(e,"textWidth")&&(t.width=e.textWidth),Object(s["q"])(e,"textHeight")&&(t.height=e.textHeight),Object(s["q"])(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),Object(s["q"])(e,"textPadding")&&(t.padding=e.textPadding),Object(s["q"])(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),Object(s["q"])(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),Object(s["q"])(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),Object(s["q"])(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),Object(s["q"])(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),Object(s["q"])(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),Object(s["q"])(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function zV(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";VV(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,Object(s["k"])(e.rich,(function(t){VV(t,t)})),i}function VV(t,e){e&&(Object(s["q"])(e,"fill")&&(t.textFill=e.fill),Object(s["q"])(e,"stroke")&&(t.textStroke=e.fill),Object(s["q"])(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),Object(s["q"])(e,"font")&&(t.font=e.font),Object(s["q"])(e,"fontStyle")&&(t.fontStyle=e.fontStyle),Object(s["q"])(e,"fontWeight")&&(t.fontWeight=e.fontWeight),Object(s["q"])(e,"fontSize")&&(t.fontSize=e.fontSize),Object(s["q"])(e,"fontFamily")&&(t.fontFamily=e.fontFamily),Object(s["q"])(e,"align")&&(t.textAlign=e.align),Object(s["q"])(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),Object(s["q"])(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),Object(s["q"])(e,"width")&&(t.textWidth=e.width),Object(s["q"])(e,"height")&&(t.textHeight=e.height),Object(s["q"])(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),Object(s["q"])(e,"padding")&&(t.textPadding=e.padding),Object(s["q"])(e,"borderColor")&&(t.textBorderColor=e.borderColor),Object(s["q"])(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),Object(s["q"])(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),Object(s["q"])(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),Object(s["q"])(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),Object(s["q"])(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),Object(s["q"])(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),Object(s["q"])(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),Object(s["q"])(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),Object(s["q"])(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),Object(s["q"])(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var qV={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},$V=Object(s["F"])(qV),HV=(Object(s["N"])(En,(function(t,e){return t[e]=1,t}),{}),En.join(", "),["","style","shape","extra"]),GV=kr();function WV(t,e,n,i,r){var o=t+"Animation",a=Rl(t,i,r)||{},l=GV(e).userDuring;return a.duration>0&&(a.during=l?Object(s["c"])(nq,{el:e,userDuring:l}):null,a.setToFinal=!0,a.scope=t),Object(s["m"])(a,n[o]),a}function UV(t,e,n,i){i=i||{};var r=i.dataIndex,o=i.isInit,a=i.clearStyle,l=n.isAnimationEnabled(),u=GV(t),c=e.style;u.userDuring=e.during;var h={},d={};if(aq(t,e,d),rq("shape",e,d),rq("extra",e,d),!o&&l&&(oq(t,e,h),iq("shape",t,e,h),iq("extra",t,e,h),sq(t,e,c,h)),d.style=c,ZV(t,d,a),JV(t,e),l)if(o){var p={};Object(s["k"])(HV,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(p[t]=p[t]||{}),Object(s["m"])(t?p[t]:p,n.enterFrom))}));var f=WV("enter",t,e,n,r);f.duration>0&&t.animateFrom(p,f)}else QV(t,e,r||0,n,h);YV(t,e),c?t.dirty():t.markRedraw()}function YV(t,e){for(var n=GV(t).leaveToProps,i=0;i<HV.length;i++){var r=HV[i],o=r?e[r]:e;o&&o.leaveTo&&(n||(n=GV(t).leaveToProps={}),r&&(n[r]=n[r]||{}),Object(s["m"])(r?n[r]:n,o.leaveTo))}}function XV(t,e,n,i){if(t){var r=t.parent,o=GV(t).leaveToProps;if(o){var a=WV("update",t,e,n,0);a.done=function(){r.remove(t),i&&i()},t.animateTo(o,a)}else r.remove(t),i&&i()}}function KV(t){return"all"===t}function ZV(t,e,n){var i=e.style;if(!t.isGroup&&i){if(n){t.useStyle({});for(var r=t.animators,o=0;o<r.length;o++){var a=r[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(i)}e&&(e.style=null,e&&t.attr(e),e.style=i)}function QV(t,e,n,i,r){if(r){var o=WV("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}function JV(t,e){Object(s["q"])(e,"silent")&&(t.silent=e.silent),Object(s["q"])(e,"ignore")&&(t.ignore=e.ignore),t instanceof Io&&Object(s["q"])(e,"invisible")&&(t.invisible=e.invisible),t instanceof Ba&&Object(s["q"])(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}var tq={},eq={setTransform:function(t,e){return tq.el[t]=e,this},getTransform:function(t){return tq.el[t]},setShape:function(t,e){var n=tq.el,i=n.shape||(n.shape={});return i[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=tq.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=tq.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=tq.el.style;if(e)return e[t]},setExtra:function(t,e){var n=tq.el.extra||(tq.el.extra={});return n[t]=e,this},getExtra:function(t){var e=tq.el.extra;if(e)return e[t]}};function nq(){var t=this,e=t.el;if(e){var n=GV(e).userDuring,i=t.userDuring;n===i?(tq.el=e,i(eq)):t.el=t.userDuring=null}}function iq(t,e,n,i){var r=n[t];if(r){var o,a=e[t];if(a){var l=n.transition,u=r.transition;if(u)if(!o&&(o=i[t]={}),KV(u))Object(s["m"])(o,a);else for(var c=ir(u),h=0;h<c.length;h++){var d=c[h],p=a[d];o[d]=p}else if(KV(l)||Object(s["r"])(l,t)>=0){!o&&(o=i[t]={});var f=Object(s["F"])(a);for(h=0;h<f.length;h++){d=f[h],p=a[d];lq(r[d],p)&&(o[d]=p)}}}}}function rq(t,e,n){var i=e[t];if(i)for(var r=n[t]={},o=Object(s["F"])(i),a=0;a<o.length;a++){var l=o[a];r[l]=Se(i[l])}}function oq(t,e,n){for(var i=e.transition,r=KV(i)?En:ir(i||[]),o=0;o<r.length;o++){var a=r[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=t[a];0,n[a]=s}}}function aq(t,e,n){for(var i=0;i<$V.length;i++){var r=$V[i],o=qV[r],a=e[r];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(i=0;i<En.length;i++){var s=En[i];null!=e[s]&&(n[s]=e[s])}}function sq(t,e,n,i){if(n){var r,o=t.style;if(o){var a=n.transition,l=e.transition;if(a&&!KV(a)){var u=ir(a);!r&&(r=i.style={});for(var c=0;c<u.length;c++){var h=u[c],d=o[h];r[h]=d}}else if(t.getAnimationStyleProps&&(KV(l)||KV(a)||Object(s["r"])(l,"style")>=0)){var p=t.getAnimationStyleProps(),f=p?p.style:null;if(f){!r&&(r=i.style={});var g=Object(s["F"])(n);for(c=0;c<g.length;c++){h=g[c];if(f[h]){d=o[h];r[h]=d}}}}}}}function lq(t,e){return Object(s["u"])(t)?t!==e:null!=t&&isFinite(t)}var uq=kr(),cq=["percent","easing","shape","style","extra"];function hq(t){t.stopAnimation("keyframe"),t.attr(uq(t))}function dq(t,e,n){if(n.isAnimationEnabled()&&e)if(Object(s["t"])(e))Object(s["k"])(e,(function(e){dq(t,e,n)}));else{var i=e.keyframes,r=e.duration;if(n&&null==r){var o=Rl("enter",n,0);r=o&&o.duration}if(i&&r){var a=uq(t);Object(s["k"])(HV,(function(n){if(!n||t[n]){var o;i.sort((function(t,e){return t.percent-e.percent})),Object(s["k"])(i,(function(i){var l=t.animators,u=n?i[n]:i;if(u){var c=Object(s["F"])(u);if(n||(c=Object(s["n"])(c,(function(t){return Object(s["r"])(cq,t)<0}))),c.length){o||(o=t.animate(n,e.loop,!0),o.scope="keyframe");for(var h=0;h<l.length;h++)l[h]!==o&&l[h].targetName===o.targetName&&l[h].stopTracks(c);n&&(a[n]=a[n]||{});var d=n?a[n]:a;Object(s["k"])(c,(function(e){d[e]=((n?t[n]:t)||{})[e]})),o.whenWithKeys(r*i.percent,u,c,i.easing)}}})),o&&o.delay(e.delay||0).duration(r).start(e.easing)}}))}}}var pq="emphasis",fq="normal",gq="blur",mq="select",vq=[fq,pq,gq,mq],yq={normal:["itemStyle"],emphasis:[pq,"itemStyle"],blur:[gq,"itemStyle"],select:[mq,"itemStyle"]},bq={normal:["label"],emphasis:[pq,"label"],blur:[gq,"label"],select:[mq,"label"]},_q=["x","y"],xq="e\0\0",wq={normal:{},emphasis:{},blur:{},select:{}},Sq={cartesian2d:AV,geo:PV,single:DV,polar:jV,calendar:RV};function Cq(t){return t instanceof Ba}function kq(t){return t instanceof Io}function Mq(t,e){e.copyTransform(t),kq(e)&&kq(t)&&(e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel,e.invisible=t.invisible,e.ignore=t.ignore,Cq(e)&&Cq(t)&&e.setShape(t.shape))}var Oq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=Lq(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){Rq(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);XV(n,kV(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);Rq(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?$S(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=Lq(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=Rq(null,null,u,a(u,r),e,this.group,o);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,i){var r=e.element;if(null==r||n.name===r)return!0;while((n=n.__hostTarget||n.parent)&&n!==this.group)if(n.name===r)return!0;return!1},e.type="custom",e}(Hm),Tq=Oq;function Aq(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,o=Xq(i);e=dm(o,null,r,i.layout||"center"),kV(e).customPathData=o}else if("image"===n)e=new Ga({}),kV(e).customImagePath=t.style.image;else if("text"===n)e=new ys({});else if("group"===n)e=new bi;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=hm(n);if(!a){var s="";0,Ah(s)}e=new a}return kV(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function Iq(t,e,n,i,r,o,a){hq(e);var l=r&&r.normal.cfg;l&&e.setTextConfig(l),i&&null==i.transition&&(i.transition=_q);var u=i&&i.style;if(u){if("text"===e.type){var c=u;Object(s["q"])(c,"textFill")&&(c.fill=c.textFill),Object(s["q"])(c,"textStroke")&&(c.stroke=c.textStroke)}var h=void 0,d=Cq(e)?u.decal:null;t&&d&&(d.dirty=!0,h=Wy(d,t)),u.__decalPattern=h}if(kq(e)&&u){h=u.__decalPattern;h&&(u.decal=h)}UV(e,i,o,{dataIndex:n,isInit:a,clearStyle:!0}),dq(e,i.keyframeAnimation,o)}function Pq(t,e,n,i,r){var o=e.isGroup?null:e,a=r&&r[t].cfg;if(o){var s=o.ensureState(t);if(!1===i){var l=o.getState(t);l&&(l.style=null)}else s.style=i||null;a&&(s.textConfig=a),el(o)}}function Eq(t,e,n){if(!t.isGroup){var i=t,r=n.currentZ,o=n.currentZLevel;i.z=r,i.zlevel=o;var a=e.z2;null!=a&&(i.z2=a||0);for(var s=0;s<vq.length;s++)Dq(i,e,vq[s])}}function Dq(t,e,n){var i,r=n===fq,o=r?e:qq(e,n),a=o?o.z2:null;null!=a&&(i=r?t:t.ensureState(n),i.z2=a||0)}function Lq(t,e,n,i){var r=t.get("renderItem"),o=t.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):Sq[o.type](o));for(var l,u,c=Object(s["i"])({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:x,style:S,ordinalRawValue:w,styleEmphasis:C,visual:O,barLayout:T,currentSeriesIndices:A,font:I},a.api||{}),h={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:a.coordSys,dataInsideLength:e.count(),encode:jq(t.getData())},d={},p={},f={},g={},m=0;m<vq.length;m++){var v=vq[m];f[v]=t.getModel(yq[v]),g[v]=t.getModel(bq[v])}function y(t){return t===l?u||(u=e.getItemModel(t)):e.getItemModel(t)}function b(t,n){return e.hasItemOption?t===l?d[n]||(d[n]=y(t).getModel(yq[n])):y(t).getModel(yq[n]):f[n]}function _(t,n){return e.hasItemOption?t===l?p[n]||(p[n]=y(t).getModel(bq[n])):y(t).getModel(bq[n]):g[n]}return function(t,n){return l=t,u=null,d={},p={},r&&r(Object(s["i"])({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},h),c)};function x(t,n){return null==n&&(n=l),e.getStore().get(e.getDimensionIndex(t||0),n)}function w(t,n){null==n&&(n=l),t=t||0;var i=e.getDimensionInfo(t);if(!i){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o}function S(n,i){null==i&&(i=l);var r=e.getItemVisual(i,"style"),o=r&&r.fill,a=r&&r.opacity,u=b(i,fq).getItemStyle();null!=o&&(u.fill=o),null!=a&&(u.opacity=a);var c={inheritColor:Object(s["C"])(o)?o:"#000"},h=_(i,fq),d=Zl(h,null,c,!1,!0);d.text=h.getShallow("show")?Object(s["P"])(t.getFormattedLabel(i,fq),gS(e,i)):null;var p=Ql(h,c,!1);return M(n,u),u=zV(u,d,p),n&&k(u,n),u.legacy=!0,u}function C(n,i){null==i&&(i=l);var r=b(i,pq).getItemStyle(),o=_(i,pq),a=Zl(o,null,null,!0,!0);a.text=o.getShallow("show")?Object(s["Q"])(t.getFormattedLabel(i,pq),t.getFormattedLabel(i,fq),gS(e,i)):null;var u=Ql(o,null,!0);return M(n,r),r=zV(r,a,u),n&&k(r,n),r.legacy=!0,r}function k(t,e){for(var n in e)Object(s["q"])(e,n)&&(t[n]=e[n])}function M(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}function O(t,n){if(null==n&&(n=l),Object(s["q"])(SV,t)){var i=e.getItemVisual(n,"style");return i?i[SV[t]]:null}if(Object(s["q"])(CV,t))return e.getItemVisual(n,t)}function T(t){if("cartesian2d"===o.type){var e=o.getBaseAxis();return yC(Object(s["i"])({axis:e},t))}}function A(){return n.getCurrentSeriesIndices()}function I(t){return ou(t,n)}}function jq(t){var e={};return Object(s["k"])(t.dimensions,(function(n){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim,o=e[r]=e[r]||[];o[i.coordDimIndex]=t.getDimensionIndex(n)}})),e}function Rq(t,e,n,i,r,o,a){if(i){var s=Bq(t,e,n,i,r,o);return s&&a.setItemGraphicEl(n,s),s&&Sl(s,i.focus,i.blurScope,i.emphasisDisabled),s}o.remove(e)}function Bq(t,e,n,i,r,o){var a=-1,l=e;e&&Nq(e,i,r)&&(a=Object(s["r"])(o.childrenRef(),e),e=null);var u=!e,c=e;c?c.clearStates():(c=Aq(i),l&&Mq(l,c)),!1===i.morph?c.disableMorphing=!0:c.disableMorphing&&(c.disableMorphing=!1),wq.normal.cfg=wq.normal.conOpt=wq.emphasis.cfg=wq.emphasis.conOpt=wq.blur.cfg=wq.blur.conOpt=wq.select.cfg=wq.select.conOpt=null,wq.isLegacy=!1,zq(c,n,i,r,u,wq),Fq(c,n,i,r,u),Iq(t,c,n,i,wq,r,u),Object(s["q"])(i,"info")&&(kV(c).info=i.info);for(var h=0;h<vq.length;h++){var d=vq[h];if(d!==fq){var p=qq(i,d),f=$q(i,p,d);Pq(d,c,p,f,wq)}}return Eq(c,i,r),"group"===i.type&&Hq(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function Nq(t,e,n){var i=kV(t),r=e.type,o=e.shape,a=e.style;return n.isUniversalTransitionEnabled()||null!=r&&r!==i.customGraphicType||"path"===r&&Kq(o)&&Xq(o)!==i.customPathData||"image"===r&&Object(s["q"])(a,"image")&&a.image!==i.customImagePath}function Fq(t,e,n,i,r){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&Nq(a,o,i)&&(a=null),a||(a=Aq(o),t.setClipPath(a)),Iq(null,a,e,o,null,i,r)}}function zq(t,e,n,i,r,o){if(!t.isGroup){Vq(n,null,o),Vq(n,pq,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=t.getTextContent();if(!1===a)c&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=Aq(a),t.setTextContent(c)),Iq(null,c,e,a,null,i,r);for(var h=a&&a.style,d=0;d<vq.length;d++){var p=vq[d];if(p!==fq){var f=o[p].conOpt;Pq(p,c,f,$q(a,f,p),null)}}h?c.dirty():c.markRedraw()}}}}function Vq(t,e,n){var i=e?qq(t,e):t,r=e?$q(t,i,pq):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?qq(s,e):s:null;if(r&&(n.isLegacy||BV(r,o,!!a,!!l))){n.isLegacy=!0;var u=NV(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var c=l;!c.type&&(c.type="text")}var h=e?n[e]:n.normal;h.cfg=a,h.conOpt=l}function qq(t,e){return e?t?t[e]:null:t}function $q(t,e,n){var i=e&&e.style;return null==i&&n===pq&&t&&(i=t.styleEmphasis),i}function Hq(t,e,n,i,r){var o=i.children,a=o?o.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,u=!1===s;if(a||l||u)if(l)Gq({api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:r,group:e});else{u&&e.removeAll();for(var c=0;c<a;c++)o[c]&&Bq(t,e.childAt(c),n,o[c],r,e);for(var h=e.childCount()-1;h>=c;h--){var d=e.childAt(h);XV(d,kV(e).option,r)}}}function Gq(t){new yw(t.oldChildren,t.newChildren,Wq,Wq,t).add(Uq).update(Uq).remove(Yq).execute()}function Wq(t,e){var n=t&&t.name;return null!=n?n:xq+e}function Uq(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;Bq(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function Yq(t){var e=this.context,n=e.oldChildren[t];XV(n,kV(n).option,e.seriesModel)}function Xq(t){return t&&(t.pathData||t.d)}function Kq(t){return t&&(Object(s["q"])(t,"pathData")||Object(s["q"])(t,"d"))}function Zq(t){t.registerChartView(Tq),t.registerSeriesModel(OV)}var Qq=kr(),Jq=s["d"],t$=s["c"],e$=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,l=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(l&&l.hide());a&&a.show(),l&&l.show();var u={};this.makeElOption(u,r,t,e,n);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var d=s["h"](n$,e,h);this.updatePointerEl(a,u,d),this.updateLabelEl(a,u,d,e)}else a=this._group=new bi,this.createPointerEl(a,u,t,e),this.createLabelEl(a,u,t,e),n.getZr().add(a);a$(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=HT(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,r){var o=e.pointer;if(o){var a=Qq(t).pointerEl=new i[o.type](Jq(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=Qq(t).labelEl=new ys(Jq(e.label));t.add(r),r$(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=Qq(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=Qq(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),r$(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Tm(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){tt(t.event)},onmousedown:t$(this._onHandleDragMove,this,0,0),drift:t$(this._onHandleDragMove,this),ondragend:t$(this._onHandleDragEnd,this)}),i.add(r)),a$(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=o.get("size");s["t"](l)||(l=[l,l]),r.scaleX=l[0]/2,r.scaleY=l[1]/2,Xm(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){n$(this._axisPointerModel,!e&&this._moveAnimation,this._handle,o$(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(o$(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(o$(i)),Qq(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Km(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},t}();function n$(t,e,n,i){i$(Qq(n).lastProp,i)||(Qq(n).lastProp=i,e?Nl(n,i,t):(n.stopAnimation(),n.attr(i)))}function i$(t,e){if(s["A"](t)&&s["A"](e)){var n=!0;return s["k"](e,(function(e,i){n=n&&i$(t[i],e)})),!!n}return t===e}function r$(t,e){t[e.get(["label","show"])?"show":"hide"]()}function o$(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function a$(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}var s$=e$;function l$(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle(),e.fill=null):"shadow"===n&&(e=i.getAreaStyle(),e.stroke=null),e}function u$(t,e,n,i,r){var o=n.get("value"),a=h$(o,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=bc(s.get("padding")||0),u=s.getFont(),c=Qn(a,u),h=r.position,d=c.width+l[1]+l[3],p=c.height+l[0]+l[2],f=r.align;"right"===f&&(h[0]-=d),"center"===f&&(h[0]-=d/2);var g=r.verticalAlign;"bottom"===g&&(h[1]-=p),"middle"===g&&(h[1]-=p/2),c$(h,d,p,i);var m=s.get("backgroundColor");m&&"auto"!==m||(m=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:Zl(s,{text:a,font:u,fill:s.getTextColor(),padding:l,backgroundColor:m}),z2:10}}function c$(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function h$(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var l={value:EO(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};s["k"](i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&l.seriesData.push(r)})),s["C"](a)?o=a.replace("{value}",o):s["w"](a)&&(o=a(l))}return o}function d$(t,e,n){var i=gn();return _n(i,i,n.rotation),bn(i,i,n.position),xm([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function p$(t,e,n,i,r,o){var a=RT.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),u$(e,i,r,o,{position:d$(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function f$(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function g$(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function m$(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var v$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=y$(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=l$(i),h=b$[s](o,u,l);h.style=c,t.graphicKey=h.type,t.pointer=h}var d=pT(a.model,n);p$(e,t,d,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=pT(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=d$(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=y$(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];h[l]=u[l];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:h,tooltipOption:d[l]}},e}(s$);function y$(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var b$={line:function(t,e,n){var i=f$([e,n[0]],[e,n[1]],_$(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:g$([e-i/2,n[0]],[i,r],_$(t))}}};function _$(t){return"x"===t.dim?0:1}var x$=v$,w$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Uc),S$=w$,C$=kr(),k$=s["k"];function M$(t,e,n){if(!a["a"].node){var i=e.getZr();C$(i).records||(C$(i).records={}),O$(i,e);var r=C$(i).records[t]||(C$(i).records[t]={});r.handler=n}}function O$(t,e){function n(n,i){t.on(n,(function(n){var r=P$(e);k$(C$(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),T$(r.pendings,e)}))}C$(t).initialized||(C$(t).initialized=!0,n("click",s["h"](I$,"click")),n("mousemove",s["h"](I$,"mousemove")),n("globalout",A$))}function T$(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function A$(t,e,n){t.handler("leave",null,n)}function I$(t,e,n,i){e.handler(t,n,i)}function P$(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}function E$(t,e){if(!a["a"].node){var n=e.getZr(),i=(C$(n).records||{})[t];i&&(C$(n).records[t]=null)}}var D$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";M$("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){E$("axisPointer",e)},e.prototype.dispose=function(t,e){E$("axisPointer",e)},e.type="axisPointer",e}(Sf),L$=D$;function j$(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=Cr(o,t);if(null==a||a<0||s["t"](a))return{point:[]};var l=o.getItemGraphicEl(a),u=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(u&&u.dataToPoint)if(t.isStacked){var c=u.getBaseAxis(),h=u.getOtherAxis(c),d=h.dim,p=c.dim,f="x"===d||"radius"===d?1:0,g=o.mapDimension(p),m=[];m[f]=o.get(g,a),m[1-f]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=u.dataToPoint(m)||[]}else i=u.dataToPoint(o.getValues(s["H"](u.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(l){var v=l.getBoundingRect().clone();v.applyTransform(l.transform),i=[v.x+v.width/2,v.y+v.height/2]}return{point:i,el:l}}var R$=kr();function B$(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||Object(s["c"])(n.dispatchAction,n),l=e.getComponent("axisPointer").coordSysAxesInfo;if(l){U$(r)&&(r=j$({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var u=U$(r),c=o.axesInfo,h=l.axesInfo,d="leave"===i||U$(r),p={},f={},g={list:[],map:{}},m={showPointer:Object(s["h"])(z$,f),showTooltip:Object(s["h"])(V$,g)};Object(s["k"])(l.coordSysMap,(function(t,e){var n=u||t.containPoint(r);Object(s["k"])(l.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=G$(c,t);if(!d&&n&&(!c||o)){var a=o&&o.value;null!=a||u||(a=i.pointToData(r)),null!=a&&N$(t,a,m,!1,p)}}))}));var v={};return Object(s["k"])(h,(function(t,e){var n=t.linkGroup;n&&!f[e]&&Object(s["k"])(n.axesInfo,(function(e,i){var r=f[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,W$(e),W$(t)))),v[t.key]=o}}))})),Object(s["k"])(v,(function(t,e){N$(h[e],t,m,!0,p)})),q$(f,h,p),$$(g,r,t,a),H$(h,a,n),p}}function N$(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=F$(e,t),l=a.payloadBatch,u=a.snapToValue;l[0]&&null==r.seriesIndex&&Object(s["m"])(r,l[0]),!i&&t.snap&&o.containData(u)&&null!=u&&(e=u),n.showPointer(t,e,l),n.showTooltip(t,a,u)}else n.showPointer(t,e)}function F$(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,l=-1;return Object(s["k"])(e.seriesModels,(function(e,u){var c,h,d=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(d,t,n);h=p.dataIndices,c=p.nestestValue}else{if(h=e.getData().indicesOfNearest(d[0],t,"category"===n.type?.5:null),!h.length)return;c=e.getData().get(d[0],h[0])}if(null!=c&&isFinite(c)){var f=t-c,g=Math.abs(f);g<=a&&((g<a||f>=0&&l<0)&&(a=g,l=f,r=c,o.length=0),Object(s["k"])(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}function z$(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function V$(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=UT(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function q$(t,e,n){var i=n.axesInfo=[];Object(s["k"])(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}function $$(t,e,n,i){if(!U$(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}function H$(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=R$(i)[r]||{},a=R$(i)[r]={};Object(s["k"])(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&Object(s["k"])(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var l=[],u=[];Object(s["k"])(o,(function(t,e){!a[e]&&u.push(t)})),Object(s["k"])(a,(function(t,e){!o[e]&&l.push(t)})),u.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}function G$(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}function W$(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function U$(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function Y$(t){KT.registerAxisPointerClass("CartesianAxisPointer",x$),t.registerComponentModel(S$),t.registerComponentView(L$),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Object(s["t"])(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=BT(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},B$)}function X$(t){A_(lA),A_(Y$)}var K$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o),l=s.getExtent(),u=o.dataToCoord(e),c=i.get("type");if(c&&"none"!==c){var h=l$(i),d=Q$[c](o,a,u,l);d.style=h,t.graphicKey=d.type,t.pointer=d}var p=i.get(["label","margin"]),f=Z$(e,n,i,a,p);u$(t,n,i,r,f)},e}(s$);function Z$(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,h=i.getRadiusAxis().getExtent();if("radius"===o.dim){var d=gn();_n(d,d,s),bn(d,d,[i.cx,i.cy]),l=xm([a,-r],d);var p=e.getModel("axisLabel").get("rotate")||0,f=RT.innerTextLayout(s,p*Math.PI/180,-1);u=f.textAlign,c=f.textVerticalAlign}else{var g=h[1];l=i.coordToPoint([g+r,a]);var m=i.cx,v=i.cy;u=Math.abs(l[0]-m)/g<.3?"center":l[0]>m?"left":"right",c=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}var Q$={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:f$(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:m$(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:m$(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},J$=K$,tH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.findAxisModel=function(t){var e,n=this.ecModel;return n.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(Uc),eH=tH,nH=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Ar).models[0]},e.type="polarAxis",e}(Uc);s["K"](nH,xM);var iH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="angleAxis",e}(nH),rH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="radiusAxis",e}(nH),oH=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return o(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(cT);oH.prototype.dataToRadius=cT.prototype.dataToCoord,oH.prototype.radiusToData=cT.prototype.coordToData;var aH=oH,sH=kr(),lH=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return o(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=Qn(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7),c=u/s;isNaN(c)&&(c=1/0);var h=Math.max(0,Math.floor(c)),d=sH(t.model),p=d.lastAutoInterval,f=d.lastTickCount;return null!=p&&null!=f&&Math.abs(p-h)<=1&&Math.abs(f-r)<=1&&p>h?h=p:(d.lastTickCount=r,d.lastAutoInterval=h),h},e}(cT);lH.prototype.dataToAngle=cT.prototype.dataToCoord,lH.prototype.angleToData=cT.prototype.coordToData;var uH=lH,cH=["radius","angle"],hH=function(){function t(t){this.dimensions=cH,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new aH,this._angleAxis=new uH,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){var e="_"+t+"Axis";return this[e]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;var l=Math.atan2(-n,e)/Math.PI*180,u=l<o?1:-1;while(l<o||l>a)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI,i=Math.cos(n)*e+this.cx,r=-Math.sin(n)*e+this.cy;return[i,r]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var i=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,n){var i=dH(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=dH(e);return i===this?this.pointToData(n):null},t}();function dH(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var pH=hH;function fH(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=Pi(i[0],r),t.cy=Pi(i[1],o);var a=t.getRadiusAxis(),l=Math.min(r,o)/2,u=e.get("radius");null==u?u=[0,"100%"]:s["t"](u)||(u=[0,u]);var c=[Pi(u[0],l),Pi(u[1],l)];a.inverse?a.setExtent(c[1],c[0]):a.setExtent(c[0],c[1])}function gH(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();s["k"](BO(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),s["k"](BO(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),TO(i.scale,i.model),TO(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function mH(t){return"angleAxis"===t.mainType}function vH(t,e){if(t.type=e.get("type"),t.scale=AO(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),mH(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var yH={dimensions:cH,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new pH(i+"");r.update=gH;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");vH(o,s),vH(a,l),fH(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Ar).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}},bH=yH,_H=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function xH(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function wH(t){var e=t.getRadiusAxis();return e.inverse?0:1}function SH(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var CH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return o(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),l=s["H"](n.getViewLabels(),(function(t){t=s["d"](t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));SH(l),SH(o),s["k"](_H,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||kH[e](this.group,t,i,o,a,r,l)}),this)}},e.type="angleAxis",e}(KT),kH={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=wH(n),u=l?0:1;a=0===o[u]?new Kf({shape:{cx:n.cx,cy:n.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new _g({shape:{cx:n.cx,cy:n.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0}),a.style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),l=(a.get("inside")?-1:1)*a.get("length"),u=o[wH(n)],c=s["H"](i,(function(t){return new Eg({shape:xH(n,[u,u+l],t.coord)})}));t.add(gm(c,{style:s["i"](a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),l=e.getModel("minorTick"),u=(a.get("inside")?-1:1)*l.get("length"),c=o[wH(n)],h=[],d=0;d<r.length;d++)for(var p=0;p<r[d].length;p++)h.push(new Eg({shape:xH(n,[c,c+u],r[d][p].coord)}));t.add(gm(h,{style:s["i"](l.getModel("lineStyle").getLineStyle(),s["i"](a.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,i,r,o,a){var l=e.getCategories(!0),u=e.getModel("axisLabel"),c=u.get("margin"),h=e.get("triggerEvent");s["k"](a,(function(i,r){var a=u,d=i.tickValue,p=o[wH(n)],f=n.coordToPoint([p+c,i.coord]),g=n.cx,m=n.cy,v=Math.abs(f[0]-g)/p<.3?"center":f[0]>g?"left":"right",y=Math.abs(f[1]-m)/p<.3?"middle":f[1]>m?"top":"bottom";if(l&&l[d]){var b=l[d];s["A"](b)&&b.textStyle&&(a=new xu(b.textStyle,u,u.ecModel))}var _=new ys({silent:RT.isLabelSilent(e),style:Zl(a,{x:f[0],y:f[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:v,verticalAlign:y})});if(t.add(_),h){var x=RT.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=i.rawLabel,bs(_).eventData=x}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine"),l=a.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=0;d<i.length;d++){var p=c++%u.length;h[p]=h[p]||[],h[p].push(new Eg({shape:xH(n,o,i[d].coord)}))}for(d=0;d<h.length;d++)t.add(gm(h[d],{style:s["i"]({stroke:u[d%u.length]},l.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("minorSplitLine"),s=a.getModel("lineStyle"),l=[],u=0;u<r.length;u++)for(var c=0;c<r[u].length;c++)l.push(new Eg({shape:xH(n,o,r[u][c].coord)}));t.add(gm(l,{style:s.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,i,r,o){if(i.length){var a=e.getModel("splitArea"),l=a.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=Math.PI/180,p=-i[0].coord*d,f=Math.min(o[0],o[1]),g=Math.max(o[0],o[1]),m=e.get("clockwise"),v=1,y=i.length;v<=y;v++){var b=v===y?i[0].coord:i[v].coord,_=c++%u.length;h[_]=h[_]||[],h[_].push(new vg({shape:{cx:n.cx,cy:n.cy,r0:f,r:g,startAngle:p,endAngle:-b*d,clockwise:m},silent:!0})),p=-b*d}for(v=0;v<h.length;v++)t.add(gm(h[v],{style:s["i"]({fill:u[v%u.length]},l.getAreaStyle()),silent:!0}))}}},MH=CH,OH=["axisLine","axisTickLabel","axisName"],TH=["splitLine","splitArea","minorSplitLine"],AH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return o(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,i=this._axisGroup=new bi;this.group.add(i);var r=t.axis,o=r.polar,a=o.getAngleAxis(),l=r.getTicksCoords(),u=r.getMinorTicksCoords(),c=a.getExtent()[0],h=r.getExtent(),d=PH(o,t,c),p=new RT(t,d);s["k"](OH,p.add,p),i.add(p.getGroup()),km(n,i,t),s["k"](TH,(function(e){t.get([e,"show"])&&!r.scale.isBlank()&&IH[e](this.group,t,o,c,h,l,u)}),this)}},e.type="radiusAxis",e}(KT),IH={splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine"),l=a.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=0;d<o.length;d++){var p=c++%u.length;h[p]=h[p]||[],h[p].push(new Kf({shape:{cx:n.cx,cy:n.cy,r:Math.max(o[d].coord,0)}}))}for(d=0;d<h.length;d++)t.add(gm(h[d],{style:s["i"]({stroke:u[d%u.length],fill:null},l.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,i,r,o,a){if(a.length){for(var l=e.getModel("minorSplitLine"),u=l.getModel("lineStyle"),c=[],h=0;h<a.length;h++)for(var d=0;d<a[h].length;d++)c.push(new Kf({shape:{cx:n.cx,cy:n.cy,r:a[h][d].coord}}));t.add(gm(c,{style:s["i"]({fill:null},u.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,i,r,o){if(o.length){var a=e.getModel("splitArea"),l=a.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=o[0].coord,p=1;p<o.length;p++){var f=c++%u.length;h[f]=h[f]||[],h[f].push(new vg({shape:{cx:n.cx,cy:n.cy,r0:d,r:o[p].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),d=o[p].coord}for(p=0;p<h.length;p++)t.add(gm(h[p],{style:s["i"]({fill:u[p%u.length]},l.getAreaStyle()),silent:!0}))}}};function PH(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}var EH=AH;function DH(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function LH(t,e){return e.dim+t.model.componentIndex}function jH(t,e,n){var i={},r=RH(s["n"](e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,o=n.getBaseAxis(),a=LH(n,o),s=DH(t),l=r[a][s],u=l.offset,c=l.width,h=n.getOtherAxis(o),d=t.coordinateSystem.cx,p=t.coordinateSystem.cy,f=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;i[s]=i[s]||[];for(var m=e.mapDimension(h.dim),v=e.mapDimension(o.dim),y=oS(e,m),b="radius"!==o.dim||!t.get("roundCap",!0),_=h.dataToCoord(0),x=0,w=e.count();x<w;x++){var S=e.get(m,x),C=e.get(v,x),k=S>=0?"p":"n",M=_;y&&(i[s][C]||(i[s][C]={p:_,n:_}),M=i[s][C][k]);var O=void 0,T=void 0,A=void 0,I=void 0;if("radius"===h.dim){var P=h.dataToCoord(S)-_,E=o.dataToCoord(C);Math.abs(P)<f&&(P=(P<0?-1:1)*f),O=M,T=M+P,A=E-u,I=A-c,y&&(i[s][C][k]=T)}else{var D=h.dataToCoord(S,b)-_,L=o.dataToCoord(C);Math.abs(D)<g&&(D=(D<0?-1:1)*g),O=L+u,T=O+c,A=M,I=M+D,y&&(i[s][C][k]=I)}e.setItemLayout(x,{cx:d,cy:p,r0:O,r:T,startAngle:-A*Math.PI/180,endAngle:-I*Math.PI/180,clockwise:A>=I})}}}))}function RH(t){var e={};s["k"](t,(function(t,n){var i=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),a=LH(r,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/i.count(),u=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;e[a]=u;var h=DH(t);c[h]||u.autoWidthCount++,c[h]=c[h]||{width:0,maxWidth:0};var d=Pi(t.get("barWidth"),l),p=Pi(t.get("barMaxWidth"),l),f=t.get("barGap"),g=t.get("barCategoryGap");d&&!c[h].width&&(d=Math.min(u.remainedWidth,d),c[h].width=d,u.remainedWidth-=d),p&&(c[h].maxWidth=p),null!=f&&(u.gap=f),null!=g&&(u.categoryGap=g)}));var n={};return s["k"](e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=Pi(t.categoryGap,r),a=Pi(t.gap,1),l=t.remainedWidth,u=t.autoWidthCount,c=(l-o)/(u+(u-1)*a);c=Math.max(c,0),s["k"](i,(function(t,e){var n=t.maxWidth;n&&n<c&&(n=Math.min(n,l),t.width&&(n=Math.min(n,t.width)),l-=n,t.width=n,u--)})),c=(l-o)/(u+(u-1)*a),c=Math.max(c,0);var h,d=0;s["k"](i,(function(t,e){t.width||(t.width=c),h=t,d+=t.width*(1+a)})),h&&(d-=h.width*a);var p=-d/2;s["k"](i,(function(t,i){n[e][i]=n[e][i]||{offset:p,width:t.width},p+=t.width*(1+a)}))})),n}var BH=jH,NH={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},FH={splitNumber:5},zH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="polar",e}(Sf);function VH(t){A_(Y$),KT.registerAxisPointerClass("PolarAxisPointer",J$),t.registerCoordinateSystem("polar",bH),t.registerComponentModel(eH),t.registerComponentView(zH),LM(t,"angle",iH,NH),LM(t,"radius",rH,FH),t.registerComponentView(MH),t.registerComponentView(EH),t.registerLayout(Object(s["h"])(BH,"bar"))}function qH(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,l=n.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};r.position=["vertical"===a?c.vertical[o]:u[0],"horizontal"===a?c.horizontal[o]:u[3]];var h={horizontal:0,vertical:1};r.rotation=Math.PI/2*h[a];var d={top:-1,bottom:1,right:1,left:-1};r.labelDirection=r.tickDirection=r.nameDirection=d[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),s["O"](e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var p=e.rotate;return null==p&&(p=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-p:p,r.z2=1,r}var $H=["axisLine","axisTickLabel","axisName"],HH=["splitArea","splitLine"],GH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return o(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new bi;var l=qH(e),u=new RT(e,l);s["k"]($H,u.add,u),o.add(this._axisGroup),o.add(u.getGroup()),s["k"](HH,(function(t){e.get([t,"show"])&&WH[t](this,this.group,this._axisGroup,e)}),this),km(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){JT(this)},e.type="singleAxis",e}(KT),WH={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),l=a.get("color");l=l instanceof Array?l:[l];for(var u=i.coordinateSystem.getRect(),c=r.isHorizontal(),h=[],d=0,p=r.getTicksCoords({tickModel:o}),f=[],g=[],m=0;m<p.length;++m){var v=r.toGlobalCoord(p[m].coord);c?(f[0]=v,f[1]=u.y,g[0]=v,g[1]=u.y+u.height):(f[0]=u.x,f[1]=v,g[0]=u.x+u.width,g[1]=v);var y=d++%l.length;h[y]=h[y]||[],h[y].push(new Eg({subPixelOptimize:!0,shape:{x1:f[0],y1:f[1],x2:g[0],y2:g[1]},silent:!0}))}var b=a.getLineStyle(["color"]);for(m=0;m<h.length;++m)e.add(gm(h[m],{style:s["i"]({stroke:l[m%l.length]},b),silent:!0}))}},splitArea:function(t,e,n,i){QT(t,n,i,i)}},UH=GH,YH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(Uc);Object(s["K"])(YH,xM.prototype);var XH=YH,KH=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.position=o||"bottom",a}return o(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(cT),ZH=KH,QH=["single"],JH=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=QH,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=this.dimension,r=new ZH(i,AO(t),[0,0],t.get("type"),t.get("position")),o="category"===r.type;r.onBand=o&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();Object(s["k"])(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),TO(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=Bc({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis(),i=n.orient;return"horizontal"===i?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){var i=tG(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=tG(e);return i===this?this.pointToData(n):null},t}();function tG(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var eG=JH;function nG(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new eG(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Ar).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n}var iG={create:nG,dimensions:QH},rG=iG,oG=["x","y"],aG=["width","height"],sG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=cG(a,1-uG(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var c=l$(i),h=lG[u](o,l,s);h.style=c,t.graphicKey=h.type,t.pointer=h}var d=qH(n);p$(e,t,d,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=qH(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=d$(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=uG(r),s=cG(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=cG(o,1-a),c=(u[1]+u[0])/2,h=[c,c];return h[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e}(s$),lG={line:function(t,e,n){var i=f$([e,n[0]],[e,n[1]],uG(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:g$([e-i/2,n[0]],[i,r],uG(t))}}};function uG(t){return t.isHorizontal()?0:1}function cG(t,e){var n=t.getRect();return[n[oG[e]],n[oG[e]]+n[aG[e]]]}var hG=sG,dG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="single",e}(Sf);function pG(t){A_(Y$),KT.registerAxisPointerClass("SingleAxisPointer",hG),t.registerComponentView(dG),t.registerComponentView(UH),t.registerComponentModel(XH),LM(t,"single",XH,XH.defaultOption),t.registerCoordinateSystem("single",rG)}var fG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e,n,i){var r=qc(e);t.prototype.init.apply(this,arguments),gG(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),gG(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Uc);function gG(t,e){var n,i=t.cellSize;n=s["t"](i)?i:t.cellSize=[i,i],1===n.length&&(n[1]=n[0]);var r=s["H"]([0,1],(function(t){return Fc(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Vc(t,e,{type:"box",ignoreSize:r})}var mG=fG,vG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new ts({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=o.getDateInfo(h)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new Tg({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return Object(s["C"])(t)&&t?Oc(t,e):Object(s["w"])(t)?t(e):e.nameMap},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,h={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(p,f),m=new ys({z2:30,style:Zl(r,{text:g})});m.attr(this._yearTextPositionControl(m,h[a],n,a,o)),i.add(m)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),l=r.get("position"),u=r.get("align"),c=[this._tlpoints,this._blpoints];o&&!Object(s["C"])(o)||(o&&(e=Bu(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===l?0:1,d="horizontal"===n?0:1;a="start"===l?-a:a;for(var p="center"===u,f=0;f<c[h].length-1;f++){var g=c[h][f].slice(),m=this._firstDayOfMonth[f];if(p){var v=this._firstDayPoints[f];g[d]=(v[d]+c[0][f+1][d])/2}var y=r.get("formatter"),b=o[+m.m-1],_={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:b},x=this._formatterLabel(y,_),w=new ys({z2:30,style:Object(s["m"])(Zl(r,{text:x}),this._monthTextPositionControl(g,p,n,l,a))});i.add(w)}}},e.prototype._weekTextPositionControl=function(t,e,n,i,r){var o="center",a="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(s=s+i+(u?1:-1)*r[0]/2,o=u?"right":"left"):(l=l+i+(u?1:-1)*r[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderWeekText=function(t,e,n,i,r){var o=t.getModel("dayLabel");if(o.get("show")){var a=t.coordinateSystem,l=o.get("position"),u=o.get("nameMap"),c=o.get("margin"),h=a.getFirstDayOfWeek();if(!u||Object(s["C"])(u)){u&&(e=Bu(u)||e);var d=e.get(["time","dayOfWeekShort"]);u=d||Object(s["H"])(e.get(["time","dayOfWeekAbbr"]),(function(t){return t[0]}))}var p=a.getNextNDay(n.end.time,7-n.lweek).time,f=[a.getCellWidth(),a.getCellHeight()];c=Pi(c,Math.min(f[1],f[0])),"start"===l&&(p=a.getNextNDay(n.start.time,-(7+n.fweek)).time,c=-c);for(var g=0;g<7;g++){var m=a.getNextNDay(p,g),v=a.dataToRect([m.time],!1).center,y=g;y=Math.abs((g+h)%7);var b=new ys({z2:30,style:Object(s["m"])(Zl(o,{text:u[y]}),this._weekTextPositionControl(v,i,l,c,f))});r.add(b)}}},e.type="calendar",e}(Sf),yG=vG,bG=864e5,_G=function(){function t(e,n,i){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){t=$i(t);var e=t.getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,r=t.getDate(),o=r<10?"0"+r:""+r,a=t.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:e+"",m:i,d:o,day:a,time:t.getTime(),formatedDate:e+"-"+i+"-"+o,date:t}},t.prototype.getNextNDay=function(t,e){return e=e||0,0===e||(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e)),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],r=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];s["k"]([0,1],(function(t){c(r,t)&&(o[i[t]]=r[t]*a[t])}));var l={width:e.getWidth(),height:e.getHeight()},u=this._rect=Bc(o,l);function c(t,e){return null!=t[e]&&"auto"!==t[e]}s["k"]([0,1],(function(t){c(r,t)||(r[t]=u[i[t]]/a[t])})),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){s["t"](t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+bG))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([i.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},t.prototype.convertToPixel=function(t,e,n){var i=xG(e);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=xG(e);return i===this?i.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(s["t"](e)&&1===e.length&&(e=e[0]),s["t"](e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),r=i.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);t=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var a=this._getRangeInfo(t);return a.start.time>a.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/bG)-Math.floor(n[0].time/bG)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a){var l=r.getTime()-n[1].time>0?1:-1;while((s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0)i-=l,r.setDate(s-l)}var u=Math.floor((i+n[0].day+6)/7),c=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function xG(t){var e=t.calendarModel,n=t.seriesModel,i=e?e.coordinateSystem:n?n.coordinateSystem:null;return i}var wG=_G;function SG(t){t.registerComponentModel(mG),t.registerComponentView(yG),t.registerCoordinateSystem("calendar",wG)}function CG(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}function kG(t,e){var n;return s["k"](e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}function MG(t,e,n){var i=s["m"]({},n),r=t[e],o=n.$action||"merge";"merge"===o?r?(s["I"](r,i,!0),Vc(r,i,{ignoreSize:!0}),$c(n,r),AG(n,r),AG(n,r,"shape"),AG(n,r,"style"),AG(n,r,"extra"),n.clipPath=r.clipPath):t[e]=i:"replace"===o?t[e]=i:"remove"===o&&r&&(t[e]=null)}var OG=["transition","enterFrom","leaveTo"],TG=OG.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function AG(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?OG:TG,r=0;r<i.length;r++){var o=i[r];null==t[o]&&null!=e[o]&&(t[o]=e[o])}}function IG(t,e){if(t&&(t.hv=e.hv=[kG(e,["left","right"]),kG(e,["top","bottom"])],"group"===t.type)){var n=t,i=e;null==n.width&&(n.width=i.width=0),null==n.height&&(n.height=i.height=0)}}var PG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return o(e,t),e.prototype.mergeOption=function(e,n){var i=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=i},e.prototype.optionUpdated=function(t,e){var n=this.option,i=(e?n:t).elements,r=n.elements=e?[]:n.elements,o=[];this._flatten(i,o,null);var a=lr(r,o,"normalMerge"),l=this._elOptionsToUpdate=[];s["k"](a,(function(t,e){var n=t.newOption;n&&(l.push(n),CG(t,n),MG(r,e,n),IG(r[e],n))}),this),n.elements=s["n"](r,(function(t){return t&&delete t.$action,null!=t}))},e.prototype._flatten=function(t,e,n){s["k"](t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;i&&i.length&&this._flatten(i,e,t),delete t.children}}),this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(Uc),EG={path:null,compoundPath:null,group:bi,image:Ga,text:ys},DG=kr(),LG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){this._elMap=s["f"]()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group,r=t.get("z"),o=t.get("zlevel");s["k"](e,(function(e){var a=vr(e.id,null),s=null!=a?n.get(a):null,l=vr(e.parentId,null),u=null!=l?n.get(l):i,c=e.type,h=e.style;"text"===c&&h&&e.hv&&e.hv[1]&&(h.textVerticalAlign=h.textBaseline=h.verticalAlign=h.align=null);var d=e.textContent,p=e.textConfig;if(h&&BV(h,c,!!p,!!d)){var f=NV(h,c,!0);!p&&f.textConfig&&(p=e.textConfig=f.textConfig),!d&&f.textContent&&(d=f.textContent)}var g=FG(e);var m=e.$action||"merge",v="merge"===m,y="replace"===m;if(v){var b=!s,_=s;b?_=RG(a,u,e.type,n):(_&&(DG(_).isNew=!1),hq(_)),_&&(UV(_,g,t,{isInit:b}),NG(_,e,r,o))}else if(y){BG(s,e,n,t);var x=RG(a,u,e.type,n);x&&(UV(x,g,t,{isInit:!0}),NG(x,e,r,o))}else"remove"===m&&(YV(s,e),BG(s,e,n,t));var w=n.get(a);if(w&&d)if(v){var S=w.getTextContent();S?S.attr(d):w.setTextContent(new ys(d))}else y&&w.setTextContent(new ys(d));if(w){var C=e.clipPath;if(C){var k=C.type,M=void 0;b=!1;if(v){var O=w.getClipPath();b=!O||DG(O).type!==k,M=b?jG(k):O}else y&&(b=!0,M=jG(k));w.setClipPath(M),UV(M,C,t,{isInit:b}),dq(M,C.keyframeAnimation,t)}var T=DG(w);w.setTextConfig(p),T.option=e,zG(w,t,e),Dm({el:w,componentModel:t,itemName:w.name,itemTooltipOption:e.tooltip}),dq(w,e.keyframeAnimation,t)}}))}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),l=["x","y"],u=0;u<n.length;u++){var c=n[u],h=vr(c.id,null),d=null!=h?r.get(h):null;if(d&&d.isGroup){var p=d.parent,f=p===i,g=DG(d),m=DG(p);g.width=Pi(g.option.width,f?o:m.width)||0,g.height=Pi(g.option.height,f?a:m.height)||0}}for(u=n.length-1;u>=0;u--){c=n[u],h=vr(c.id,null),d=null!=h?r.get(h):null;if(d){p=d.parent,m=DG(p);var v=p===i?{width:o,height:a}:{width:m.width,height:m.height},y={},b=Nc(d,c,v,null,{hv:c.hv,boundingMode:c.bounding},y);if(!DG(d).isNew&&b){for(var _=c.transition,x={},w=0;w<l.length;w++){var S=l[w],C=y[S];_&&(KV(_)||s["r"](_,S)>=0)?x[S]=C:d[S]=C}Nl(d,x,t,0)}else d.attr(y)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){BG(n,DG(n).option,e,t._lastGraphicModel)})),this._elMap=s["f"]()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Sf);function jG(t){var e=s["q"](EG,t)?EG[t]:hm(t);var n=new e({});return DG(n).type=t,n}function RG(t,e,n,i){var r=jG(n);return e.add(r),i.set(t,r),DG(r).id=t,DG(r).isNew=!0,r}function BG(t,e,n,i){var r=t&&t.parent;r&&("group"===t.type&&t.traverse((function(t){BG(t,e,n,i)})),XV(t,e,i),n.removeKey(DG(t).id))}function NG(t,e,n,i){t.isGroup||s["k"]([["cursor",Io.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];s["q"](e,i)?t[i]=s["P"](e[i],n[1]):null==t[i]&&(t[i]=n[1])})),s["k"](s["F"](e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=s["w"](i)?i:null}})),s["q"](e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}function FG(t){return t=s["m"]({},t),s["k"](["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Ec),(function(e){delete t[e]})),t}function zG(t,e,n){var i=bs(t).eventData;t.silent||t.ignore||i||(i=bs(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),i&&(i.info=n.info)}function VG(t){t.registerComponentModel(PG),t.registerComponentView(LG),t.registerPreprocessor((function(t){var e=t.graphic;Object(s["t"])(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))}var qG=["x","y","radius","angle","single"],$G=["cartesian2d","polar","singleAxis"];function HG(t){var e=t.get("coordinateSystem");return Object(s["r"])($G,e)>=0}function GG(t){return t+"Axis"}function WG(t,e){var n,i=Object(s["f"])(),r=[],o=Object(s["f"])();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||l(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&u(t)&&(l(t),n=!0)}function l(t){o.set(t.uid,!0),r.push(t),c(t)}function u(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}function c(t){t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function UG(t){var e=t.ecModel,n={infoList:[],infoMap:Object(s["f"])()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(GG(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var YG=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),XG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return o(e,t),e.prototype.init=function(t,e,n){var i=KG(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=KG(t);Object(s["I"])(this.option,t,!0),Object(s["I"])(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;Object(s["k"])([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=Object(s["f"])(),n=this._fillSpecifiedTargetAxis(e);n?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return Object(s["k"])(qG,(function(n){var i=this.getReferringComponents(GG(n),Ir);if(i.specified){e=!0;var r=new YG;Object(s["k"])(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x",o=n.findComponents({mainType:r+"Axis"});a(o,r)}if(i){o=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});a(o,"single")}function a(e,n){var r=e[0];if(r){var o=new YG;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Ar).models[0];a&&Object(s["k"])(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Ar).models[0]&&o.add(t.componentIndex)}))}}}i&&Object(s["k"])(qG,(function(e){if(i){var r=n.findComponents({mainType:GG(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new YG;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");Object(s["k"])([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(GG(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){Object(s["k"])(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(GG(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;Object(s["k"])([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;Object(s["k"])(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(Uc);function KG(t){var e={};return Object(s["k"])(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var ZG=XG,QG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.select",e}(ZG),JG=QG,tW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(Sf),eW=tW,nW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.select",e}(eW),iW=nW,rW=s["k"],oW=Di,aW=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(HG(e)){var n=GG(this._dimName),i=e.getReferringComponents(n,Ar).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return s["d"](this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel(),r=i.axis.scale,o=this._dataZoomModel.getRangePropMode(),a=[0,100],s=[],l=[];rW(["start","end"],(function(i,u){var c=t[i],h=t[i+"Value"];"percent"===o[u]?(null==c&&(c=a[u]),h=r.parse(Ii(c,a,n))):(e=!0,h=null==h?n[u]:r.parse(h),c=Ii(h,n,a)),l[u]=h,s[u]=c})),oW(l),oW(s);var u=this._minMaxSpan;function c(t,e,n,i,o){var a=o?"Span":"ValueSpan";AR(0,t,n,"all",u["min"+a],u["max"+a]);for(var s=0;s<2;s++)e[s]=Ii(t[s],n,i,!0),o&&(e[s]=r.parse(e[s]))}return e?c(l,s,n,a,!1):c(s,l,a,n,!0),{valueWindow:l,percentWindow:s}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=sW(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&rW(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var l=e.getStore(),u=s["H"](i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,a=0;a<i.length;a++){var s=l.get(u[a],t),c=!isNaN(s),h=s<o[0],d=s>o[1];if(c&&!h&&!d)return!0;c&&(r=!0),h&&(e=!0),d&&(n=!0)}return r&&e&&n}))}else rW(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return a(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));rW(i,(function(t){e.setApproximateExtent(o,t)}))}}))}function a(t){return t>=o[0]&&t<=o[1]}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;rW(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=Ii(n[0]+o,n,[0,100],!0):null!=r&&(o=Ii(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=Ri(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();function sW(t,e,n){var i=[1/0,-1/0];rW(n,(function(t){NO(i,t.getData(),e)}));var r=t.getAxisModel(),o=CO(r.axis.scale,r,i).calculate();return[o.min,o.max]}var lW=aW,uW={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(GG(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new lW(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=Object(s["f"])();return Object(s["k"])(n,(function(t){Object(s["k"])(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}},cW=uW;function hW(t){t.registerAction("dataZoom",(function(t,e){var n=WG(e,t);Object(s["k"])(n,(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}var dW=!1;function pW(t){dW||(dW=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,cW),hW(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function fW(t){t.registerComponentModel(JG),t.registerComponentView(iW),pW(t)}var gW=function(){function t(){}return t}(),mW={};function vW(t,e){mW[t]=e}function yW(t){return mW[t]}var bW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;s["k"](this.option.feature,(function(t,n){var i=yW(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),s["I"](t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Uc),_W=bW;function xW(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=Bc(i,o,r);jc(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Nc(t,i,o,r)}function wW(t,e){var n=bc(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new ts({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1}),t}var SW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),l=t.get("feature")||{},u=this._features||(this._features={}),c=[];s["k"](l,(function(t,e){c.push(e)})),new yw(this._featureNames||[],c).add(h).update(h).remove(s["h"](h,null)).execute(),this._featureNames=c,xW(r,t,n),r.add(wW(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),l=t.getTextContent(),u=l&&l.ensureState("emphasis");if(u&&!s["w"](u)&&e){var c=u.style||(u.style={}),h=Qn(e,ys.makeFont(c)),d=t.x+r.x,p=t.y+r.y+o,f=!1;p+h.height>n.getHeight()&&(a.position="top",f=!0);var g=f?-5-h.height:o+10;d+h.width/2>n.getWidth()?(a.position=["100%",g],c.align="right"):d-h.width/2<0&&(a.position=[0,g],c.align="left")}}))}function h(r,o){var a,s=c[r],h=c[o],p=l[s],f=new xu(p,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===s&&(p.title=i.newTitle),s&&!h){if(CW(s))a={onclick:f.option.onclick,featureName:s};else{var g=yW(s);if(!g)return;a=new g}u[s]=a}else if(a=u[h],!a)return;a.uid=Su("toolbox-feature"),a.model=f,a.ecModel=e,a.api=n;var m=a instanceof gW;s||!h?!f.get("show")||m&&a.unusable?m&&a.remove&&a.remove(e,n):(d(f,a,s),f.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?rl:ol)(i[t])},a instanceof gW&&a.render&&a.render(f,e,n,i)):m&&a.dispose&&a.dispose(e,n)}function d(i,l,u){var c,h,d=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),f=l instanceof gW&&l.getIcons?l.getIcons():i.get("icon"),g=i.get("title")||{};s["C"](f)?(c={},c[u]=f):c=f,s["C"](g)?(h={},h[u]=g):h=g;var m=i.iconPaths={};s["k"](c,(function(u,c){var f=Tm(u,{},{x:-o/2,y:-o/2,width:o,height:o});f.setStyle(d.getItemStyle());var g=f.ensureState("emphasis");g.style=p.getItemStyle();var v=new ys({style:{text:h[c],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null},ignore:!0});f.setTextContent(v),Dm({el:f,componentModel:t,itemName:c,formatterParamsExtra:{title:h[c]}}),f.__title=h[c],f.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";v.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),f.setTextConfig({position:p.get("textPosition")||i}),v.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",c])&&n.leaveEmphasis(this),v.hide()})),("emphasis"===i.get(["iconStatus",c])?rl:ol)(f),r.add(f),f.on("click",s["c"](l.onclick,l,e,n,c)),m[c]=f}))}},e.prototype.updateView=function(t,e,n,i){s["k"](this._features,(function(t){t instanceof gW&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){s["k"](this._features,(function(n){n instanceof gW&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){s["k"](this._features,(function(n){n instanceof gW&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Sf);function CW(t){return 0===t.indexOf("my")}var kW=SW,MW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",l=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),u=a["a"].browser;if(Object(s["w"])(MouseEvent)&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=i+"."+o,c.target="_blank",c.href=l;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||r){var d=l.split(","),p=d[0].indexOf("base64")>-1,f=r?decodeURIComponent(d[1]):d[1];p&&(f=window.atob(f));var g=i+"."+o;if(window.navigator.msSaveOrOpenBlob){var m=f.length,v=new Uint8Array(m);while(m--)v[m]=f.charCodeAt(m);var y=new Blob([v]);window.navigator.msSaveOrOpenBlob(y,g)}else{var b=document.createElement("iframe");document.body.appendChild(b);var _=b.contentWindow,x=_.document;x.open("image/svg+xml","replace"),x.write(f),x.close(),_.focus(),x.execCommand("SaveAs",!0,g),document.body.removeChild(b)}}else{var w=n.get("lang"),S='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',C=window.open();C.document.write(S),C.document.title=i}},e.getDefaultOption=function(t){var e={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return e},e}(gW),OW=MW,TW="__ec_magicType_stack__",AW=[["line","bar"],["stack"]],IW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return s["k"](t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){var e={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return e},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(PW[n]){var o,a={series:[]},l=function(t){var e=t.subType,r=t.id,o=PW[n](e,r,t,i);o&&(s["i"](o,t.option),a.series.push(o));var l=t.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===n||"bar"===n)){var u=l.getAxesByScale("ordinal")[0];if(u){var c=u.dim,h=c+"Axis",d=t.getReferringComponents(h,Ar).models[0],p=d.componentIndex;a[h]=a[h]||[];for(var f=0;f<=p;f++)a[h][p]=a[h][p]||{};a[h][p].boundaryGap="bar"===n}}};s["k"](AW,(function(t){s["r"](t,n)>=0&&s["k"](t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},l);var u=n;"stack"===n&&(o=s["I"]({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(u="tiled")),e.dispatchAction({type:"changeMagicType",currentType:u,newOption:a,newTitle:o,featureName:"magicType"})}},e}(gW),PW={line:function(t,e,n,i){if("bar"===t)return s["I"]({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return s["I"]({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===TW;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),s["I"]({id:e,stack:r?"":TW},i.get(["option","stack"])||{},!0)}};y_({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var EW=IW,DW=new Array(60).join("-"),LW="\t";function jW(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}function RW(t){var e=[];return s["k"](t,(function(t,n){var i=t.categoryAxis,r=t.valueAxis,o=r.dim,a=[" "].concat(s["H"](t.series,(function(t){return t.name}))),l=[i.model.getCategories()];s["k"](t.series,(function(t){var e=t.getRawData();l.push(t.getRawData().mapArray(e.mapDimension(o),(function(t){return t})))}));for(var u=[a.join(LW)],c=0;c<l[0].length;c++){for(var h=[],d=0;d<l.length;d++)h.push(l[d][c]);u.push(h.join(LW))}e.push(u.join("\n"))})),e.join("\n\n"+DW+"\n\n")}function BW(t){return s["H"](t,(function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)i[a]=arguments[a];n.push((o?o+LW:"")+i.join(LW))})),n.join("\n")})).join("\n\n"+DW+"\n\n")}function NW(t){var e=jW(t);return{value:s["n"]([RW(e.seriesGroupByCategoryAxis),BW(e.other)],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+DW+"\n\n"),meta:e.meta}}function FW(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function zW(t){var e=t.slice(0,t.indexOf("\n"));if(e.indexOf(LW)>=0)return!0}var VW=new RegExp("["+LW+"]+","g");function qW(t){for(var e=t.split(/\n+/g),n=FW(e.shift()).split(VW),i=[],r=s["H"](n,(function(t){return{name:t,data:[]}})),o=0;o<e.length;o++){var a=FW(e[o]).split(VW);i.push(a.shift());for(var l=0;l<a.length;l++)r[l]&&(r[l].data[o]=a[l])}return{series:r,categories:i}}function $W(t){for(var e=t.split(/\n+/g),n=FW(e.shift()),i=[],r=0;r<e.length;r++){var o=FW(e[r]);if(o){var a=o.split(VW),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}function HW(t,e){var n=t.split(new RegExp("\n*"+DW+"\n*","g")),i={series:[]};return s["k"](n,(function(t,n){if(zW(t)){var r=qW(t),o=e[n],a=o.axisDim+"Axis";o&&(i[a]=i[a]||[],i[a][o.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=$W(t);i.series.push(r)}})),i}var GW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=i.get("lang")||[];o.innerHTML=a[0]||i.get("title"),o.style.cssText="margin:10px 20px",o.style.color=i.get("textColor");var l=document.createElement("div"),u=document.createElement("textarea");l.style.cssText="overflow:auto";var c=i.get("optionToContent"),h=i.get("contentToOption"),d=NW(t);if(s["w"](c)){var p=c(e.getOption());s["C"](p)?l.innerHTML=p:s["v"](p)&&l.appendChild(p)}else{u.readOnly=i.get("readOnly");var f=u.style;f.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",f.color=i.get("textColor"),f.borderColor=i.get("textareaBorderColor"),f.backgroundColor=i.get("textareaColor"),u.value=d.value,l.appendChild(u)}var g=d.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:5px;left:0;right:0";var v="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",y=document.createElement("div"),b=document.createElement("div");v+=";background-color:"+i.get("buttonColor"),v+=";color:"+i.get("buttonTextColor");var _=this;function x(){n.removeChild(r),_._dom=null}Q(y,"click",x),Q(b,"click",(function(){if(null==h&&null!=c||null!=h&&null==c)x();else{var t;try{t=s["w"](h)?h(l,e.getOption()):HW(u.value,g)}catch(n){throw x(),new Error("Data view format error "+n)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),x()}})),y.innerHTML=a[1],b.innerHTML=a[2],b.style.cssText=y.style.cssText=v,!i.get("readOnly")&&m.appendChild(b),m.appendChild(y),r.appendChild(o),r.appendChild(l),r.appendChild(m),l.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){var e={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return e},e}(gW);function WW(t,e){return s["H"](t,(function(t,n){var i=e&&e[n];if(s["A"](i)&&!s["t"](i)){var r=s["A"](t)&&!s["t"](t);r||(t={value:t});var o=null!=i.name&&null==t.name;return t=s["i"](t,i),o&&delete t.name,t}return t}))}y_({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];s["k"](t.newOption.series,(function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:WW(t.data,r)})}else n.push(s["m"]({type:"scatter"},t))})),e.mergeOption(s["i"]({series:n},t.newOption))}));var UW=GW,YW=s["k"],XW=kr();function KW(t,e){var n=tU(t);YW(e,(function(e,i){for(var r=n.length-1;r>=0;r--){var o=n[r];if(o[i])break}if(r<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var s=a.getPercentRange();n[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}})),n.push(e)}function ZW(t){var e=tU(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return YW(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n],t){i[n]=t;break}})),i}function QW(t){XW(t).snapshots=null}function JW(t){return tU(t).length}function tU(t){var e=XW(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var eU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){QW(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var e={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])};return e},e}(gW);y_({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var nU=eU,iU=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],rU=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=aU(e,t);Object(s["k"])(sU,(function(t,e){(!n||!n.include||Object(s["r"])(n.include,e)>=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=cU[t.brushType](0,n,e);t.__rangeOffset={offset:dU[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){Object(s["k"])(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&Object(s["k"])(i.coordSyses,(function(i){var r=cU[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){Object(s["k"])(t,(function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i=cU[t.brushType](0,n.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?dU[t.brushType](i.values,r.offset,fU(i.xyMinMax,r.xyMinMax)):i.values}}),this)},t.prototype.makePanelOpts=function(t,e){return Object(s["H"])(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:GB(i),isTargetByCursor:UB(i,t,n.coordSysModel),getLinearBrushOtherExtent:WB(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&Object(s["r"])(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=aU(e,t),r=0;r<n.length;r++){var o=n[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<lU.length;s++)if(lU[s](i,o))return o}return!0},t}();function oU(t){return t[0]>t[1]&&t.reverse(),t}function aU(t,e){return Or(t,e,{includeMainTypes:iU})}var sU={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=Object(s["f"])(),a={},l={};(n||i||r)&&(Object(s["k"])(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),Object(s["k"])(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),l[e.id]=!0})),Object(s["k"])(r,(function(t){o.set(t.id,t),a[t.id]=!0,l[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];Object(s["k"])(r.getCartesians(),(function(t,e){(Object(s["r"])(n,t.getAxis("x").model)>=0||Object(s["r"])(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:uU.grid,xAxisDeclared:a[t.id],yAxisDeclared:l[t.id]})})))},geo:function(t,e){Object(s["k"])(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:uU.geo})}))}},lU=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],uU={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(_m(t)),e}},cU={lineX:Object(s["h"])(hU,0),lineY:Object(s["h"])(hU,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[oU([r[0],o[0]]),oU([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]],o=Object(s["H"])(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o}));return{values:o,xyMinMax:r}}};function hU(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=oU(Object(s["H"])([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var dU={lineX:Object(s["h"])(pU,0),lineY:Object(s["h"])(pU,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return Object(s["H"])(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function pU(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function fU(t,e){var n=gU(t),i=gU(e),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function gU(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var mU=rU,vU=s["k"],yU=_r("toolbox-dataZoom_"),bU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new HB(n.getZr()),this._brushController.on("brush",s["c"](this._onBrush,this)).mount()),SU(t,e,this,i,n),wU(t,e)},e.prototype.onclick=function(t,e,n){_U[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]);var r=new mU(xU(this.model),i,{include:["grid"]});r.matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(o("x",n,e[0]),o("y",n,e[1])):o({lineX:"x",lineY:"y"}[i],n,e)}})),KW(i,n),this._dispatchZoomAction(n)}function o(t,e,r){var o=e.getAxis(t),s=o.model,l=a(t,s,i),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(r=AR(0,r.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:r[0],endValue:r[1]})}function a(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var r=n.getAxisModel(t,e.componentIndex);r&&(i=n)})),i}},e.prototype._dispatchZoomAction=function(t){var e=[];vU(t,(function(t,n){e.push(s["d"](t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){var e={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return e},e}(gW),_U={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(ZW(this.ecModel))}};function xU(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function wU(t,e){t.setIconStatus("back",JW(e)>1?"emphasis":"normal")}function SU(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new mU(xU(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}mh("dataZoom",(function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=xU(i),a=Or(t,o);return vU(a.xAxisModels,(function(t){return s(t,"xAxis","xAxisIndex")})),vU(a.yAxisModels,(function(t){return s(t,"yAxis","yAxisIndex")})),r}function s(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:yU+e+o};a[n]=o,r.push(a)}}));var CU=bU;function kU(t){t.registerComponentModel(_W),t.registerComponentView(kW),vW("saveAsImage",OW),vW("magicType",EW),vW("dataView",UW),vW("dataZoom",CU),vW("restore",nU),A_(fW)}var MU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Uc),OU=MU;function TU(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function AU(t){if(a["a"].domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var IU=AU(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),PU=AU(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function EU(t,e){if(!t)return e;e=yc(e,!0);var n=t.indexOf(e);return t=-1===n?e:"-"+t.slice(0,n)+"-"+e,t.toLowerCase()}function DU(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}var LU=EU(PU,"transition"),jU=EU(IU,"transform"),RU="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(a["a"].transform3dSupported?"will-change:transform;":"");function BU(t){return t="left"===t?"right":"right"===t?"left":"top"===t?"bottom":"top",t}function NU(t,e,n){if(!Object(s["C"])(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=Ac(e);var o,a=BU(n),l=Math.max(1.5*Math.round(r),6),u="",c=jU+":";Object(s["r"])(["left","right"],a)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var h=o*Math.PI/180,d=l+r,p=d*Math.abs(Math.cos(h))+d*Math.abs(Math.sin(h)),f=Math.round(100*((p-Math.SQRT2*r)/2+Math.SQRT2*r-(p-d)/2))/100;u+=";"+a+":-"+f+"px";var g=e+" solid "+r+"px;",m=["position:absolute;width:"+l+"px;height:"+l+"px;",u+";"+c+";","border-bottom:"+g,"border-right:"+g,"background-color:"+i+";"];return'<div style="'+m.join("")+'"></div>'}function FU(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=a["a"].transformSupported?","+jU+i:",left"+i+",top"+i),LU+":"+r}function zU(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!a["a"].transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=a["a"].transform3dSupported,s="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+jU+":"+s+";":[["top",0],["left",0],[IU,s]]}function VU(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return r&&o&&e.push("text-shadow:"+a+"px "+l+"px "+o+"px "+r),Object(s["k"])(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}function qU(t,e,n){var i=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),l=t.get("shadowColor"),u=t.get("shadowOffsetX"),c=t.get("shadowOffsetY"),h=t.getModel("textStyle"),d=of(t,"html"),p=u+"px "+c+"px "+a+"px "+l;return i.push("box-shadow:"+p),e&&r&&i.push(FU(r,n)),o&&i.push("background-color:"+o),Object(s["k"])(["width","color","radius"],(function(e){var n="border-"+e,r=yc(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))})),i.push(VU(h)),null!=d&&i.push("padding:"+bc(d).join("px ")+"px"),i.join(";")+";"}function $U(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&F(t,a,document.body,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var HU=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,a["a"].wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var r=this._zr=e.getZr(),o=this._appendToBody=n&&n.appendToBody;$U(this._styleCoord,r,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(i):t.appendChild(i),this._container=t;var s=this;i.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!s._enterable){var e=r.handler,n=r.painter.getViewportRoot();K(n,t,!0),e.dispatch("mousemove",t)}},i.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return t.prototype.update=function(t){var e=this._container,n=DU(e,"position"),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative");var r=t.get("alwaysShowContent");r&&this._moveIfResized(),this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=RU+qU(t,!this._firstShow,this._longHide)+zU(r[0],r[1],!0)+"border-color:"+Ac(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if(Object(s["C"])(r)&&"item"===n.get("trigger")&&!TU(n)&&(a=NU(n,i,r)),Object(s["C"])(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Object(s["t"])(t)||(t=[t]);for(var l=0;l<t.length;l++)Object(s["v"])(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if($U(n,this._zr,this._appendToBody,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=zU(n[0],n[1]);Object(s["k"])(r,(function(t){i[t[0]]=t[1]}))}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",a["a"].transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(Object(s["c"])(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}(),GU=HU,WU=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=t.getZr(),XU(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized()},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;s["A"](t)&&Ah(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new ys({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:of(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),s["k"](["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){o.el.style[t]=n.get(t)})),s["k"](["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){o.el.style[t]=a.get(t)||0})),this._zr.add(this.el);var l=this;this.el.on("mouseover",(function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0})),this.el.on("mouseout",(function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=YU(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;XU(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=UU(r.borderWidth||0),a=YU(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(s["c"](this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function UU(t){return Math.max(0,t)}function YU(t){var e=UU(t.shadowBlur||0),n=UU(t.shadowOffsetX||0),i=UU(t.shadowOffsetY||0);return{left:UU(e-n),right:UU(e+n),top:UU(e-i),bottom:UU(e+i)}}function XU(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var KU=WU,ZU=new ts({shape:{x:-1,y:-1,width:2,height:2}}),QU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){if(!a["a"].node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=Dr(n.get("renderMode"));this._tooltipContent="richText"===i?new KU(e):new GU(e.getDom(),e,{appendToBody:n.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!a["a"].node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._alwaysShowContent=t.get("alwaysShowContent");var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?Xm(this,"_updatePosition",50,"fixRate"):Km(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel,e=t.get("triggerOn");M$("itemTooltip",this._api,Object(s["c"])((function(t,n,i){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,i):"leave"===t&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!a["a"].node&&n.getDom()){var r=tY(i,n);this._ticket="";var o=i.dataByCoordSys,s=oY(i,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=ZU;u.x=i.x,u.y=i.y,u.update(),bs(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var c=j$(i,e),h=c.point[0],d=c.point[1];null!=h&&null!=d&&this._tryShow({offsetX:h,offsetY:d,target:c.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(tY(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s){var l=s.getData(),u=JU([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}}},e.prototype._tryShow=function(t,e){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,t);else if(n){var o,a;this._lastDataByCoordSys=null,$v(n,(function(t){return null!=bs(t).dataIndex?(o=t,!0):null!=bs(t).tooltipConfig?(a=t,!0):void 0}),!0),o?this._showSeriesItemTooltip(t,o,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=Object(s["c"])(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=JU([e.tooltipOption],i),a=this._renderMode,l=[],u=Hp("section",{blocks:[],noHeader:!0}),c=[],h=new af;Object(s["k"])(t,(function(t){Object(s["k"])(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=h$(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=Hp("section",{header:o,noHeader:!Object(s["T"])(o),sortBlocks:!0,blocks:[]});u.blocks.push(d),Object(s["k"])(t.seriesDataIndices,(function(u){var p=n.getSeriesByIndex(u.seriesIndex),f=u.dataIndexInside,g=p.getDataParams(f);if(!(g.dataIndex<0)){g.axisDim=t.axisDim,g.axisIndex=t.axisIndex,g.axisType=t.axisType,g.axisId=t.axisId,g.axisValue=EO(e.axis,{value:r}),g.axisValueLabel=o,g.marker=h.makeTooltipMarker("item",Ac(g.color),a);var m=tp(p.formatTooltip(f,!0,null)),v=m.frag;if(v){var y=JU([p],i).get("valueFormatter");d.blocks.push(y?Object(s["m"])({valueFormatter:y},v):v)}m.text&&c.push(m.text),l.push(g)}}))}}))})),u.blocks.reverse(),c.reverse();var d=e.position,p=o.get("order"),f=Kp(u,h,a,p,n.get("useUTC"),o.get("textStyle"));f&&c.unshift(f);var g="richText"===a?"\n\n":"<br/>",m=c.join(g);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,d,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(o,m,l,Math.random()+"",r[0],r[1],d,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=bs(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),l=r.dataModel||a,u=r.dataIndex,c=r.dataType,h=l.getData(c),d=this._renderMode,p=t.positionDefault,f=JU([h.getItemModel(u),l,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=f.get("trigger");if(null==g||"item"===g){var m=l.getDataParams(u,c),v=new af;m.marker=v.makeTooltipMarker("item",Ac(m.color),d);var y=tp(l.formatTooltip(u,!1,c)),b=f.get("order"),_=f.get("valueFormatter"),x=y.frag,w=x?Kp(_?Object(s["m"])({valueFormatter:_},x):x,v,d,b,i.get("useUTC"),f.get("textStyle")):y.text,S="item_"+l.name+"_"+u;this._showOrMove(f,(function(){this._showTooltipContent(f,w,m,S,t.offsetX,t.offsetY,t.position,t.target,v)})),n({type:"showTip",dataIndexInside:u,dataIndex:h.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=bs(e),r=i.tooltipConfig,o=r.option||{};if(Object(s["C"])(o)){var a=o;o={content:a,formatter:a}}var l=[o],u=this._ecModel.getComponent(i.componentMainType,i.componentIndex);u&&l.push(u),l.push({formatter:o.content});var c=t.positionDefault,h=JU(l,this._tooltipModel,c?{position:c}:null),d=h.get("content"),p=Math.random()+"",f=new af;this._showOrMove(h,(function(){var n=Object(s["d"])(h.get("formatterParams")||{});this._showTooltipContent(h,d,n,p,t.offsetX,t.offsetY,t.position,e,f)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var d=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")),f=p.color;if(h)if(Object(s["C"])(h)){var g=t.ecModel.get("useUTC"),m=Object(s["t"])(n)?n[0]:n,v=m&&m.axisType&&m.axisType.indexOf("time")>=0;d=h,v&&(d=Ju(m.axisValue,d,g)),d=Mc(d,n,!0)}else if(Object(s["w"])(h)){var y=Object(s["c"])((function(e,i){e===this._ticket&&(c.setContent(i,u,t,f,a),this._updatePosition(t,a,r,o,c,n,l))}),this);this._ticket=i,d=h(n,i,y)}else d=h;c.setContent(d,u,t,f,a),c.show(t,f),this._updatePosition(t,a,r,o,c,n,l)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||Object(s["t"])(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:Object(s["t"])(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),h=t.get("align"),d=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),Object(s["w"])(e)&&(e=e([n,i],o,r.el,p,{viewSize:[l,u],contentSize:c.slice()})),Object(s["t"])(e))n=Pi(e[0],l),i=Pi(e[1],u);else if(Object(s["A"])(e)){var f=e;f.width=c[0],f.height=c[1];var g=Bc(f,{width:l,height:u});n=g.x,i=g.y,h=null,d=null}else if(Object(s["C"])(e)&&a){var m=iY(e,p,c,t.get("borderWidth"));n=m[0],i=m[1]}else{m=eY(n,i,r,l,u,h?null:20,d?null:20);n=m[0],i=m[1]}if(h&&(n-=rY(h)?c[0]/2:"right"===h?c[0]:0),d&&(i-=rY(d)?c[1]/2:"bottom"===d?c[1]:0),TU(t)){m=nY(n,i,r,l,u);n=m[0],i=m[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&Object(s["k"])(n,(function(n,o){var a=n.dataByAxis||[],l=t[o]||{},u=l.dataByAxis||[];r=r&&a.length===u.length,r&&Object(s["k"])(a,(function(t,n){var o=u[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length,r&&Object(s["k"])(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&Object(s["k"])(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!a["a"].node&&e.getDom()&&(Km(this,"_updatePosition"),this._tooltipContent.dispose(),E$("itemTooltip",e))},e.type="tooltip",e}(Sf);function JU(t,e,n){var i,r=e.ecModel;n?(i=new xu(n,r,r),i=new xu(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof xu&&(a=a.get("tooltip",!0)),Object(s["C"])(a)&&(a={formatter:a}),a&&(i=new xu(a,i,r)))}return i}function tY(t,e){return t.dispatchAction||Object(s["c"])(e.dispatchAction,e)}function eY(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>i?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}function nY(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function iY(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+a;break;case"left":s=e.x-r-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}function rY(t){return"center"===t||"middle"===t}function oY(t,e,n){var i=Tr(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var o=Pr(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(e){var n=bs(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:r,componentIndex:a.componentIndex,el:s}:void 0}}}var aY=QU;function sY(t){A_(Y$),t.registerComponentModel(OU),t.registerComponentView(aY),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},s["L"]),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},s["L"])}var lY=["rect","polygon","keep","clear"];function uY(t,e){var n=ir(t?t.brush:[]);if(n.length){var i=[];s["k"](n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;s["t"](r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),l=a.type||(a.type=[]);l.push.apply(l,i),cY(l),e&&!l.length&&l.push.apply(l,lY)}}function cY(t){var e={};s["k"](t,(function(t){e[t]=1})),t.length=0,s["k"](e,(function(e,n){t.push(n)}))}var hY=s["k"];function dY(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function pY(t,e,n){var i={};return hY(e,(function(e){var o=i[e]=r();hY(t[e],(function(t,i){if(ND.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new ND(r),"opacity"===i&&(r=s["d"](r),r.type="colorAlpha",o.__hidden.__alphaForOpacity=new ND(r))}}))})),i;function r(){var t=function(){};t.prototype.__hidden=t.prototype;var e=new t;return e}}function fY(t,e,n){var i;s["k"](n,(function(t){e.hasOwnProperty(t)&&dY(e[t])&&(i=!0)})),i&&s["k"](n,(function(n){e.hasOwnProperty(n)&&dY(e[n])?t[n]=s["d"](e[n]):delete t[n]}))}function gY(t,e,n,i,r,o){var a,l={};function u(t){return Bv(n,a,t)}function c(t,e){Fv(n,a,t,e)}function h(t,s){a=null==o?t:s;var h=n.getRawDataItem(a);if(!h||!1!==h.visualMap)for(var d=i.call(r,t),p=e[d],f=l[d],g=0,m=f.length;g<m;g++){var v=f[g];p[v]&&p[v].applyVisual(t,u,c)}}s["k"](t,(function(t){var n=ND.prepareVisualTypes(e[t]);l[t]=n})),null==o?n.each(h):n.each([o],h)}function mY(t,e,n,i){var r={};return s["k"](t,(function(t){var n=ND.prepareVisualTypes(e[t]);r[t]=n})),{progress:function(t,o){var a,s;function l(t){return Bv(o,s,t)}function u(t,e){Fv(o,s,t,e)}null!=i&&(a=o.getDimensionIndex(i));var c=o.getStore();while(null!=(s=t.next())){var h=o.getRawDataItem(s);if(!h||!1!==h.visualMap)for(var d=null!=i?c.get(a,s):s,p=n(d),f=e[p],g=r[p],m=0,v=g.length;m<v;m++){var y=g[m];f[y]&&f[y].applyVisual(d,l,u)}}}}}function vY(t){var e=t.brushType,n={point:function(i){return yY[e].point(i,n,t)},rect:function(i){return yY[e].rect(i,n,t)}};return n}var yY={lineX:bY(0),lineY:bY(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&_I(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(_I(i,r,o)||_I(i,r+a,o)||_I(i,r,o+s)||_I(i,r+a,o+s)||Wn.create(t).contain(l[0],l[1])||Am(r,o,r+a,o,i)||Am(r,o,r,o+s,i)||Am(r+a,o,r+a,o+s,i)||Am(r,o+s,r+a,o+s,i))||void 0}}};function bY(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range,o=e[t];return _Y(o,r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]<s[0]&&s.reverse(),_Y(s[0],a)||_Y(s[1],a)||_Y(a[0],s)||_Y(a[1],s)}}}}function _Y(t,e){return e[0]<=t&&t<=e[1]}var xY=["inBrush","outOfBrush"],wY="__ecBrushSelect",SY="__ecInBrushSelectEvent";function CY(t){t.eachComponent({mainType:"brush"},(function(e){var n=e.brushTargetManager=new mU(e.option,t);n.setInputRanges(e.areas,t)}))}function kY(t,e,n){var i,r,o=[];t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),CY(t),t.eachComponent({mainType:"brush"},(function(e,n){var a={brushId:e.id,brushIndex:n,brushName:e.name,areas:s["d"](e.areas),selected:[]};o.push(a);var l=e.option,u=l.brushLink,c=[],h=[],d=[],p=!1;n||(i=l.throttleType,r=l.throttleDelay);var f=s["H"](e.areas,(function(t){var e=IY[t.brushType],n=s["i"]({boundingRect:e?e(t):void 0},t);return n.selectors=vY(n),n})),g=pY(e.option,xY,(function(t){t.mappingMethod="fixed"}));function m(t){return"all"===u||!!c[t]}function v(t){return!!t.length}function y(t,e){var n=t.coordinateSystem;p=p||n.hasAxisBrushed(),m(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(h[e]=1)}))}function b(n,i,r){if(n.brushSelector&&!AY(e,i)&&(s["k"](f,(function(i){e.brushTargetManager.controlSeries(i,n,t)&&r.push(i),p=p||v(r)})),m(i)&&v(r))){var o=n.getData();o.each((function(t){TY(n,r,o,t)&&(h[t]=1)}))}}s["t"](u)&&s["k"](u,(function(t){c[t]=1})),t.eachSeries((function(t,e){var n=d[e]=[];"parallel"===t.subType?y(t,e):b(t,e,n)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};a.selected.push(n);var i=d[e],r=t.getData(),o=m(e)?function(t){return h[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return TY(t,i,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(m(e)?p:v(i))&&gY(xY,g,r,o)}))})),MY(e,i,r,o,n)}function MY(t,e,n,i,r){if(r){var o=t.getZr();if(!o[SY]){o[wY]||(o[wY]=OY);var a=Xm(o,wY,n,e);a(t,i)}}}function OY(t,e){if(!t.isDisposed()){var n=t.getZr();n[SY]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[SY]=!1}}function TY(t,e,n,i){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t.brushSelector(i,n,a.selectors,a))return!0}}function AY(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(s["t"](n)?s["r"](n,e)<0:e!==n)}var IY={rect:function(t){return PY(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;i<r;i++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=n[i];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&PY(e)}};function PY(t){return new Wn(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var EY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new HB(e.getZr())).on("brush",s["c"](this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){CY(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:s["d"](n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:s["d"](n),$from:e})},e.type="brush",e}(Sf),DY=EY,LY="#ddd",jY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return o(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&fY(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:LY},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=s["H"](t,(function(t){return RY(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=RY(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Uc);function RY(t,e){return s["I"]({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new xu(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var BY=jY,NY=["rect","polygon","lineX","lineY","keep","clear"],FY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,s["k"](t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return s["k"](t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){var e={show:!0,type:NY.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])};return e},e}(gW),zY=FY;function VY(t){t.registerComponentView(DY),t.registerComponentModel(BY),t.registerPreprocessor(uY),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,kY),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},s["L"]),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},s["L"]),vW("brush",zY)}var qY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return o(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Uc),$Y=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),l=s["P"](t.get("textBaseline"),t.get("textVerticalAlign")),u=new ys({style:Zl(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),c=u.getBoundingRect(),h=t.get("subtext"),d=new ys({style:Zl(o,{text:h,fill:o.getTextColor(),y:c.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),f=t.get("sublink"),g=t.get("triggerEvent",!0);u.silent=!p&&!g,d.silent=!f&&!g,p&&u.on("click",(function(){Ic(p,"_"+t.get("target"))})),f&&d.on("click",(function(){Ic(f,"_"+t.get("subtarget"))})),bs(u).eventData=bs(d).eventData=g?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(u),h&&i.add(d);var m=i.getBoundingRect(),v=t.getBoxLayoutParams();v.width=m.width,v.height=m.height;var y=Bc(v,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||(a=t.get("left")||t.get("right"),"middle"===a&&(a="center"),"right"===a?y.x+=y.width:"center"===a&&(y.x+=y.width/2)),l||(l=t.get("top")||t.get("bottom"),"center"===l&&(l="middle"),"bottom"===l?y.y+=y.height:"middle"===l&&(y.y+=y.height/2),l=l||"top"),i.x=y.x,i.y=y.y,i.markRedraw();var b={align:a,verticalAlign:l};u.setStyle(b),d.setStyle(b),m=i.getBoundingRect();var _=y.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var w=new ts({shape:{x:m.x-_[3],y:m.y-_[0],width:m.width+_[1]+_[3],height:m.height+_[0]+_[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(w)}},e.type="title",e}(Sf);function HY(t){t.registerComponentModel(qY),t.registerComponentView($Y)}var GY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],Object(s["k"])(n,(function(e,n){var i,o=vr(ar(e),"");Object(s["A"])(e)?(i=Object(s["d"])(e),i.value=n):i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number",a=this._data=new Yw([{name:"value",type:o}],this);a.initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Uc),WY=GY,UY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="timeline.slider",e.defaultOption=Mu(WY.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(WY);Object(s["K"])(UY,Jd.prototype);var YY=UY,XY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="timeline",e}(Sf),KY=XY,ZY=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return o(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(cT),QY=ZY,JY=Math.PI,tX=kr(),eX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){var e=a.scale.getLabel({value:t});return Hp("nameValue",{noName:!0,value:e})},Object(s["k"])(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i=t.get(["label","position"]),r=t.get("orient"),o=iX(t,e);n=null==i||"auto"===i?"horizontal"===r?o.y+o.height/2<e.getHeight()/2?"-":"+":o.x+o.width/2<e.getWidth()/2?"+":"-":Object(s["C"])(i)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[r][i]:i;var a,l,u,c={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:JY/2},p="vertical"===r?o.height:o.width,f=t.getModel("controlStyle"),g=f.get("show",!0),m=g?f.get("itemSize"):0,v=g?f.get("itemGap"):0,y=m+v,b=t.get(["label","rotate"])||0;b=b*JY/180;var _=f.get("position",!0),x=g&&f.get("showPlayBtn",!0),w=g&&f.get("showPrevBtn",!0),S=g&&f.get("showNextBtn",!0),C=0,k=p;"left"===_||"bottom"===_?(x&&(a=[0,0],C+=y),w&&(l=[C,0],C+=y),S&&(u=[k-m,0],k-=y)):(x&&(a=[k-m,0],k-=y),w&&(l=[0,0],C+=y),S&&(u=[k-m,0],k-=y));var M=[C,k];return t.get("inverse")&&M.reverse(),{viewRect:o,mainLength:p,orient:r,rotation:d[r],labelRotation:b,labelPosOpt:n,labelAlign:t.get(["label","align"])||c[r],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[r],playPosition:a,prevBtnPosition:l,nextBtnPosition:u,axisExtent:M,controlSize:m,controlGap:v}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=gn(),a=r.x,l=r.y+r.height;bn(o,o,[-a,-l]),_n(o,o,-JY/2),bn(o,o,[a,l]),r=r.clone(),r.applyTransform(o)}var u=v(r),c=v(n.getBoundingRect()),h=v(i.getBoundingRect()),d=[n.x,n.y],p=[i.x,i.y];p[0]=d[0]=u[0][0];var f=t.labelPosOpt;if(null==f||Object(s["C"])(f)){var g="+"===f?0:1;y(d,c,u,1,g),y(p,h,u,1,1-g)}else{g=f>=0?0:1;y(d,c,u,1,g),p[1]=d[1]+f}function m(t){t.originX=u[0][0]-t.x,t.originY=u[1][0]-t.y}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function y(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(d),i.setPosition(p),n.rotation=i.rotation=t.rotation,m(n),m(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=nX(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new QY("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new bi;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new Eg({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:Object(s["m"])({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new Eg({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:Object(s["i"])({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],Object(s["k"])(a,(function(t){var a=n.dataToCoord(t.value),l=o.getItemModel(t.value),u=l.getModel("itemStyle"),c=l.getModel(["emphasis","itemStyle"]),h=l.getModel(["progress","itemStyle"]),d={x:a,y:0,onclick:Object(s["c"])(r._changeTimeline,r,t.value)},p=oX(l,u,e,d);p.ensureState("emphasis").style=c.getItemStyle(),p.ensureState("progress").style=h.getItemStyle(),xl(p);var f=bs(p);l.get("tooltip")?(f.dataIndex=t.value,f.dataModel=i):f.dataIndex=f.dataModel=null,r._tickSymbols.push(p)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this,o=n.getLabelModel();if(o.get("show")){var a=i.getData(),l=n.getViewLabels();this._tickLabels=[],Object(s["k"])(l,(function(i){var o=i.tickValue,l=a.getItemModel(o),u=l.getModel("label"),c=l.getModel(["emphasis","label"]),h=l.getModel(["progress","label"]),d=n.dataToCoord(i.tickValue),p=new ys({x:d,y:0,rotation:t.labelRotation-t.rotation,onclick:Object(s["c"])(r._changeTimeline,r,o),silent:!1,style:Zl(u,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=Zl(c),p.ensureState("progress").style=Zl(h),e.add(p),xl(p),tX(p).dataIndex=o,r._tickLabels.push(p)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),l=i.getModel(["emphasis","controlStyle"]).getItemStyle(),u=i.getPlayState(),c=i.get("inverse",!0);function h(t,n,u,c){if(t){var h=ni(Object(s["P"])(i.get(["controlStyle",n+"BtnSize"]),r),r),d=[0,-h/2,h,h],p=rX(i,n+"Icon",d,{x:t[0],y:t[1],originX:r/2,originY:0,rotation:c?-o:0,rectHover:!0,style:a,onclick:u});p.ensureState("emphasis").style=l,e.add(p),xl(p)}}h(t.nextBtnPosition,"next",Object(s["c"])(this._changeTimeline,this,c?"-":"+")),h(t.prevBtnPosition,"prev",Object(s["c"])(this._changeTimeline,this,c?"+":"-")),h(t.playPosition,u?"stop":"play",Object(s["c"])(this._handlePlayClick,this,!u),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),l=this,u={onCreate:function(t){t.draggable=!0,t.drift=Object(s["c"])(l._handlePointerDrag,l),t.ondragend=Object(s["c"])(l._handlePointerDragend,l),aX(t,l._progressLine,o,n,i,!0)},onUpdate:function(t){aX(t,l._progressLine,o,n,i)}};this._currentPointer=oX(a,a,this._mainGroup,{},this._currentPointer,u)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,r=Di(i.getExtent().slice());n>r[1]&&(n=r[1]),n<r[0]&&(n=r[0]),this._currentPointer.x=n,this._currentPointer.markRedraw(),this._progressLine.shape.x2=n,this._progressLine.dirty();var o=this._findNearestTick(n),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){var e=this._mainGroup.getLocalTransform();return xm(t,e,!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],(function(n,o){var a=r.dataToCoord(n),s=Math.abs(a-t);s<i&&(i=s,e=o)})),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var i=0;i<e.length;i++)e&&e[i]&&e[i].toggleState("progress",i<t);if(n)for(i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",tX(n[i]).dataIndex<=t)},e.type="timeline.slider",e}(KY);function nX(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new YM({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new uO({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new ZM}}function iX(t,e){return Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}function rX(t,e,n,i){var r=i.style,o=Tm(t.get(["controlStyle",e]),i||{},new Wn(n[0],n[1],n[2],n[3]));return r&&o.setStyle(r),o}function oX(t,e,n,i,r,o){var a=e.get("color");if(r)r.setColor(a),n.add(r),o&&o.onUpdate(r);else{var l=t.get("symbol");r=iy(l,-1,-1,2,2,a),r.setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r)}var u=e.getItemStyle(["color"]);r.setStyle(u),i=Object(s["I"])({rectHover:!0,z2:100},i,!0);var c=ry(t.get("symbolSize"));i.scaleX=c[0]/2,i.scaleY=c[1]/2;var h=oy(t.get("symbolOffset"),c);h&&(i.x=(i.x||0)+h[0],i.y=(i.y||0)+h[1]);var d=t.get("symbolRotate");return i.rotation=(d||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function aX(t,e,n,i,r,o){if(!t.dragging){var a=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));if(o||!a.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}var sX=eX;function lX(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),Object(s["i"])({currentIndex:i.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}function uX(t){var e=t&&t.timeline;s["t"](e)||(e=e?[e]:[]),s["k"](e,(function(t){t&&cX(t)}))}function cX(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),hX(t),dX(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});dX(i,"position")||(i.position=t.controlPosition),"none"!==i.position||dX(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}s["k"](t.data||[],(function(t){s["A"](t)&&!s["t"](t)&&(!dX(t,"value")&&dX(t,"name")&&(t.value=t.name),hX(t))}))}function hX(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},r=i.normal||(i.normal={}),o={normal:1,emphasis:1};s["k"](i,(function(t,e){o[e]||dX(r,e)||(r[e]=t)})),n.label&&!dX(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function dX(t,e){return t.hasOwnProperty(e)}function pX(t){t.registerComponentModel(YY),t.registerComponentView(sX),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),lX(t),t.registerPreprocessor(uX)}function fX(t,e){if(!t)return!1;for(var n=Object(s["t"])(t)?t:[t],i=0;i<n.length;i++)if(n[i]&&n[i][e])return!0;return!1}function gX(t){rr(t,"label",["show"])}var mX=kr(),vX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(a["a"].node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var r=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),o=mX(t)[r];n&&n.data?(o?o._mergeOption(n,e,!0):(i&&gX(n),s["k"](n.data,(function(t){t instanceof Array?(gX(t[0]),gX(t[1])):gX(t)})),o=this.createMarkerModelFromSeries(n,this,e),s["m"](o,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),o.__hostSeries=t),mX(t)[r]=o):mX(t)[r]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return Hp("section",{header:this.name,blocks:[Hp("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return mX(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(Uc);s["K"](vX,Jd.prototype);var yX=vX,bX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(yX),_X=bX;function xX(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function wX(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function SX(t,e,n,i,r,o){var a=[],s=oS(e,i),l=s?e.getCalculationInfo("stackResultDimension"):i,u=PX(e,l,t),c=e.indicesOfNearest(l,u)[0];a[r]=e.get(n,c),a[o]=e.get(l,c);var h=e.get(i,c),d=Li(e.get(i,c));return d=Math.min(d,20),d>=0&&(a[o]=+a[o].toFixed(d)),[a,h]}var CX={min:Object(s["h"])(SX,"min"),max:Object(s["h"])(SX,"max"),average:Object(s["h"])(SX,"average"),median:Object(s["h"])(SX,"median")};function kX(t,e){var n=t.getData(),i=t.coordinateSystem;if(e&&!wX(e)&&!Object(s["t"])(e.coord)&&i){var r=i.dimensions,o=MX(e,n,i,t);if(e=Object(s["d"])(e),e.type&&CX[e.type]&&o.baseAxis&&o.valueAxis){var a=Object(s["r"])(r,o.baseAxis.dim),l=Object(s["r"])(r,o.valueAxis.dim),u=CX[e.type](n,o.baseDataDim,o.valueDataDim,a,l);e.coord=u[0],e.value=u[1]}else{for(var c=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],h=0;h<2;h++)CX[c[h]]&&(c[h]=PX(n,n.mapDimension(r[h]),c[h]));e.coord=c}}return e}function MX(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(OX(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function OX(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}function TX(t,e){return!(t&&t.containData&&e.coord&&!xX(e))||t.containData(e.coord)}function AX(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!xX(e)&&!xX(n))||t.containZone(e.coord,n.coord)}function IX(t,e){return t?function(t,n,i,r){var o=r<2?t.coord&&t.coord[r]:t.value;return rp(o,e[r])}:function(t,n,i,r){return rp(t.value,e[r])}}function PX(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var EX=kr(),DX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){this.markerGroupMap=Object(s["f"])()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){EX(t).keep=!1})),e.eachSeries((function(t){var r=yX.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!EX(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){EX(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;Object(s["k"])(t,(function(t){var i=yX.getMarkerModelFromSeries(t,n.type);if(i){var r=i.getData();r.eachItemGraphicEl((function(t){t&&(e?al(t):sl(t))}))}}))},e.type="marker",e}(Sf),LX=DX;function jX(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=Pi(a.get("x"),n.getWidth()),l=Pi(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),c=t.get(i.dimensions[1],r);o=i.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var RX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=yX.getMarkerModelFromSeries(t,"markPoint");e&&(jX(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),l=this.markerGroupMap,u=l.get(o)||l.set(o,new CS),c=BX(r,t,e);e.setData(c),jX(e.getData(),t,i),c.each((function(t){var n=c.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),l=n.getShallow("symbolOffset"),u=n.getShallow("symbolKeepAspect");if(Object(s["w"])(i)||Object(s["w"])(r)||Object(s["w"])(o)||Object(s["w"])(l)){var h=e.getRawValue(t),d=e.getDataParams(t);Object(s["w"])(i)&&(i=i(h,d)),Object(s["w"])(r)&&(r=r(h,d)),Object(s["w"])(o)&&(o=o(h,d)),Object(s["w"])(l)&&(l=l(h,d))}var p=n.getModel("itemStyle").getItemStyle(),f=Nv(a,"color");p.fill||(p.fill=f),c.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:l,symbolKeepAspect:u,style:p})})),u.updateData(c),this.group.add(u.group),c.eachItemGraphicEl((function(t){t.traverse((function(t){bs(t).dataModel=e}))})),this.markKeep(u),u.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(LX);function BX(t,e,n){var i;i=t?Object(s["H"])(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(s["m"])(Object(s["m"])({},n),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Yw(i,n),o=Object(s["H"])(n.get("data"),Object(s["h"])(kX,e));t&&(o=Object(s["n"])(o,Object(s["h"])(TX,t)));var a=IX(!!t,i);return r.initData(o,null,a),r}var NX=RX;function FX(t){t.registerComponentModel(_X),t.registerComponentView(NX),t.registerPreprocessor((function(t){fX(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))}var zX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(yX),VX=zX,qX=kr(),$X=function(t,e,n,i){var r,o=t.getData();if(Object(s["t"])(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var l=void 0,u=void 0;if(null!=i.yAxis||null!=i.xAxis)l=e.getAxis(null!=i.yAxis?"y":"x"),u=Object(s["O"])(i.yAxis,i.xAxis);else{var c=MX(i,o,e,t);l=c.valueAxis;var h=aS(o,c.valueDataDim);u=PX(o,h,a)}var d="x"===l.dim?0:1,p=1-d,f=Object(s["d"])(i),g={coord:[]};f.type=null,f.coord=[],f.coord[p]=-1/0,g.coord[p]=1/0;var m=n.get("precision");m>=0&&Object(s["z"])(u)&&(u=+u.toFixed(Math.min(m,20))),f.coord[d]=g.coord[d]=u,r=[f,g,{type:a,valueIndex:i.valueIndex,value:u}]}else r=[]}var v=[kX(t,r[0]),kX(t,r[1]),Object(s["m"])({},r[2])];return v[2].type=v[2].type||null,Object(s["I"])(v[2],v[0]),Object(s["I"])(v[2],v[1]),v};function HX(t){return!isNaN(t)&&!isFinite(t)}function GX(t,e,n,i){var r=1-t,o=i.dimensions[t];return HX(e[r])&&HX(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function WX(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(GX(1,n,i,t)||GX(0,n,i,t)))return!0}return TX(t,e[0])&&TX(t,e[1])}function UX(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Pi(s.get("x"),r.getWidth()),u=Pi(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=a.dimensions,h=t.get(c[0],e),d=t.get(c[1],e);o=a.dataToPoint([h,d])}if(HS(a,"cartesian2d")){var p=a.getAxis("x"),f=a.getAxis("y");c=a.dimensions;HX(t.get(c[0],e))?o[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):HX(t.get(c[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var YX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=yX.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=qX(e).from,o=qX(e).to;r.each((function(e){UX(r,e,!0,t,n),UX(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),l=this.markerGroupMap,u=l.get(o)||l.set(o,new hj);this.group.add(u.group);var c=XX(r,t,e),h=c.from,d=c.to,p=c.line;qX(e).from=h,qX(e).to=d,e.setData(p);var f=e.get("symbol"),g=e.get("symbolSize"),m=e.get("symbolRotate"),v=e.get("symbolOffset");function y(e,n,r){var o=e.getItemModel(n);UX(e,n,r,t,i);var l=o.getModel("itemStyle").getItemStyle();null==l.fill&&(l.fill=Nv(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Object(s["P"])(o.get("symbolOffset",!0),v[r?0:1]),symbolRotate:Object(s["P"])(o.get("symbolRotate",!0),m[r?0:1]),symbolSize:Object(s["P"])(o.get("symbolSize"),g[r?0:1]),symbol:Object(s["P"])(o.get("symbol",!0),f[r?0:1]),style:l})}Object(s["t"])(f)||(f=[f,f]),Object(s["t"])(g)||(g=[g,g]),Object(s["t"])(m)||(m=[m,m]),Object(s["t"])(v)||(v=[v,v]),c.from.each((function(t){y(h,t,!0),y(d,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),d.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:d.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(t,"symbolOffset"),toSymbolRotate:d.getItemVisual(t,"symbolRotate"),toSymbolSize:d.getItemVisual(t,"symbolSize"),toSymbol:d.getItemVisual(t,"symbol"),style:e})})),u.updateData(p),c.line.eachItemGraphicEl((function(t){bs(t).dataModel=e,t.traverse((function(t){bs(t).dataModel=e}))})),this.markKeep(u),u.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(LX);function XX(t,e,n){var i;i=t?Object(s["H"])(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(s["m"])(Object(s["m"])({},n),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Yw(i,n),o=new Yw(i,n),a=new Yw([],n),l=Object(s["H"])(n.get("data"),Object(s["h"])($X,e,t,n));t&&(l=Object(s["n"])(l,Object(s["h"])(WX,t)));var u=IX(!!t,i);return r.initData(Object(s["H"])(l,(function(t){return t[0]})),null,u),o.initData(Object(s["H"])(l,(function(t){return t[1]})),null,u),a.initData(Object(s["H"])(l,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}var KX=YX;function ZX(t){t.registerComponentModel(VX),t.registerComponentView(KX),t.registerPreprocessor((function(t){fX(t.series,"markLine")&&(t.markLine=t.markLine||{})}))}var QX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(yX),JX=QX,tK=kr(),eK=function(t,e,n,i){var r=kX(t,i[0]),o=kX(t,i[1]),a=r.coord,l=o.coord;a[0]=Object(s["O"])(a[0],-1/0),a[1]=Object(s["O"])(a[1],-1/0),l[0]=Object(s["O"])(l[0],1/0),l[1]=Object(s["O"])(l[1],1/0);var u=Object(s["J"])([{},r,o]);return u.coord=[r.coord,o.coord],u.x0=r.x,u.y0=r.y,u.x1=o.x,u.y1=o.y,u};function nK(t){return!isNaN(t)&&!isFinite(t)}function iK(t,e,n,i){var r=1-t;return nK(e[r])&&nK(n[r])}function rK(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return HS(t,"cartesian2d")?!(!n||!i||!iK(1,n,i,t)&&!iK(0,n,i,t))||AX(t,r,o):TX(t,r)||TX(t,o)}function oK(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=Pi(s.get(n[0]),r.getWidth()),u=Pi(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(n,e));else{var c=t.get(n[0],e),h=t.get(n[1],e),d=[c,h];a.clampData&&a.clampData(d,d),o=a.dataToPoint(d,!0)}if(HS(a,"cartesian2d")){var p=a.getAxis("x"),f=a.getAxis("y");c=t.get(n[0],e),h=t.get(n[1],e);nK(c)?o[0]=p.toGlobalCoord(p.getExtent()["x0"===n[0]?0:1]):nK(h)&&(o[1]=f.toGlobalCoord(f.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var aK=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],sK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=yX.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=Object(s["H"])(aK,(function(r){return oK(i,e,r,t,n)}));i.setItemLayout(e,r);var o=i.getItemGraphicEl(e);o.setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),l=this.markerGroupMap,u=l.get(o)||l.set(o,{group:new bi});this.group.add(u.group),this.markKeep(u);var c=lK(r,t,e);e.setData(c),c.each((function(e){var n=Object(s["H"])(aK,(function(n){return oK(c,e,n,t,i)})),o=r.getAxis("x").scale,l=r.getAxis("y").scale,u=o.getExtent(),h=l.getExtent(),d=[o.parse(c.get("x0",e)),o.parse(c.get("x1",e))],p=[l.parse(c.get("y0",e)),l.parse(c.get("y1",e))];Di(d),Di(p);var f=!(u[0]>d[1]||u[1]<d[0]||h[0]>p[1]||h[1]<p[0]),g=!f;c.setItemLayout(e,{points:n,allClipped:g});var m=c.getItemModel(e).getModel("itemStyle").getItemStyle(),v=Nv(a,"color");m.fill||(m.fill=v,Object(s["C"])(m.fill)&&(m.fill=pe["e"](m.fill,.4))),m.stroke||(m.stroke=v),c.setItemVisual(e,"style",m)})),c.diff(tK(u).data).add((function(t){var e=c.getItemLayout(t);if(!e.allClipped){var n=new kg({shape:{points:e.points}});c.setItemGraphicEl(t,n),u.group.add(n)}})).update((function(t,n){var i=tK(u).data.getItemGraphicEl(n),r=c.getItemLayout(t);r.allClipped?i&&u.group.remove(i):(i?Nl(i,{shape:{points:r.points}},e,t):i=new kg({shape:{points:r.points}}),c.setItemGraphicEl(t,i),u.group.add(i))})).remove((function(t){var e=tK(u).data.getItemGraphicEl(t);u.group.remove(e)})).execute(),c.eachItemGraphicEl((function(t,n){var i=c.getItemModel(n),r=c.getItemVisual(n,"style");t.useStyle(c.getItemVisual(n,"style")),Xl(t,Kl(i),{labelFetcher:e,labelDataIndex:n,defaultText:c.getName(n)||"",inheritColor:Object(s["C"])(r.fill)?pe["e"](r.fill,1):"#000"}),Ol(t,i),Sl(t,null,null,i.get(["emphasis","disabled"])),bs(t).dataModel=e})),tK(u).data=c,u.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(LX);function lK(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=Object(s["H"])(t&&t.dimensions,(function(t){var n=e.getData(),i=n.getDimensionInfo(n.mapDimension(t))||{};return Object(s["m"])(Object(s["m"])({},i),{name:t,ordinalMeta:null})}));r=Object(s["H"])(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new Yw(r,n)}else r=[{name:"value",type:"float"}],i=new Yw(r,n);var l=Object(s["H"])(n.get("data"),Object(s["h"])(eK,e,t,n));t&&(l=Object(s["n"])(l,Object(s["h"])(rK,t)));var u=t?function(t,e,n,i){var o=t.coord[Math.floor(i/2)][i%2];return rp(o,r[i])}:function(t,e,n,i){return rp(t.value,r[i])};return i.initData(l,null,u),i.hasItemOption=!0,i}var uK=sK;function cK(t){t.registerComponentModel(JX),t.registerComponentView(uK),t.registerPreprocessor((function(t){fX(t.series,"markArea")&&(t.markArea=t.markArea||{})}))}var hK=function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0},dK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),s["t"](e)&&s["k"](e,(function(t,i){s["C"](t)&&(t={type:t}),e[i]=s["I"](t,hK(n,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider,s=a.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(s)),s.length?e=e.concat(s):r=!0}else r=!0;r&&yr(i)&&e.push(i.name)})),this._availableNames=n;var i=this.get("data")||e,r=s["H"](i,(function(t){return(s["C"](t)||s["z"](t))&&(t={name:t}),new xu(t,this,this.ecModel)}),this);this._data=r},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected,n=this.get("selectedMode");if("single"===n){var i=this._data;s["k"](i,(function(t){e[t.get("name")]=!1}))}e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;s["k"](t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;s["k"](t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&s["r"](this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Uc),pK=dK,fK=s["h"],gK=s["k"],mK=bi,vK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return o(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new mK),this.group.add(this._selectorGroup=new mK),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),l=t.get("selectorPosition",!0);!a||l&&"auto"!==l||(l="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,l);var u=t.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),d=Bc(u,c,h),p=this.layoutInner(t,r,d,i,a,l),f=Bc(s["i"]({width:p.width,height:p.height},u),c,h);this.group.x=f.x-p.x,this.group.y=f.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=wW(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var l=this.getContentGroup(),u=s["f"](),c=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),gK(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var d=new mK;return d.newline=!0,void l.add(d)}var p=n.getSeriesByName(a)[0];if(!u.get(a)){if(p){var f=p.getData(),g=f.getVisual("legendLineStyle")||{},m=f.getVisual("legendIcon"),v=f.getVisual("style"),y=this._createItem(p,a,o,r,e,t,g,v,m,c,i);y.on("click",fK(_K,a,null,i,h)).on("mouseover",fK(wK,p.name,null,i,h)).on("mouseout",fK(SK,p.name,null,i,h)),u.set(a,!0)}else n.eachRawSeries((function(n){if(!u.get(a)&&n.legendVisualProvider){var l=n.legendVisualProvider;if(!l.containName(a))return;var d=l.indexOfName(a),p=l.getItemVisual(d,"style"),f=l.getItemVisual(d,"legendIcon"),g=Object(pe["g"])(p.fill);g&&0===g[3]&&(g[3]=.2,p=s["m"](s["m"]({},p),{fill:Object(pe["h"])(g,"rgba")}));var m=this._createItem(n,a,o,r,e,t,{},p,f,c,i);m.on("click",fK(_K,null,a,i,h)).on("mouseover",fK(wK,null,a,i,h)).on("mouseout",fK(SK,null,a,i,h)),u.set(a,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();gK(t,(function(t){var i=t.type,r=new ys({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);Xl(r,{normal:a,emphasis:s},{defaultText:t.title}),xl(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,l,u,c,h){var d=t.visualDrawType,p=r.get("itemWidth"),f=r.get("itemHeight"),g=r.isSelected(e),m=i.get("symbolRotate"),v=i.get("symbolKeepAspect"),y=i.get("icon");u=y||u||"roundRect";var b=yK(u,i,a,l,d,g,h),_=new mK,x=i.getModel("textStyle");if(!s["w"](t.getLegendIcon)||y&&"inherit"!==y){var w="inherit"===y&&t.getData().getVisual("symbol")?"inherit"===m?t.getData().getVisual("symbolRotate"):m:0;_.add(bK({itemWidth:p,itemHeight:f,icon:u,iconRotate:w,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:v}))}else _.add(t.getLegendIcon({itemWidth:p,itemHeight:f,icon:u,iconRotate:m,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:v}));var S="left"===o?p+5:-5,C=o,k=r.get("formatter"),M=e;s["C"](k)&&k?M=k.replace("{name}",null!=e?e:""):s["w"](k)&&(M=k(e));var O=i.get("inactiveColor");_.add(new ys({style:Zl(x,{text:M,x:S,y:f/2,fill:g?x.getTextColor():O,align:C,verticalAlign:"middle"})}));var T=new ts({shape:_.getBoundingRect(),invisible:!0}),A=i.getModel("tooltip");return A.get("show")&&Dm({el:T,componentModel:r,itemName:e,itemTooltipOption:A.option}),_.add(T),_.eachChild((function(t){t.silent=!0})),T.silent=!c,this.getContentGroup().add(_),xl(_),_.__legendDataIndex=n,_},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();jc(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){jc("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",g=0===p?"height":"width",m=0===p?"y":"x";"end"===o?h[p]+=l[f]+d:u[p]+=c[f]+d,h[1-p]+=l[g]/2-c[g]/2,s.x=h[0],s.y=h[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+d+c[f],v[g]=Math.max(l[g],c[g]),v[m]=Math.min(0,c[m]+h[1-p]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Sf);function yK(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),gK(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),c=0===t.lastIndexOf("empty",0)?"fill":"stroke",h=l.getShallow("decal");u.decal=h&&"inherit"!==h?Wy(h,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]),"inherit"===u.stroke&&(u.stroke=i[c]),"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity),s(u,i);var d=e.getModel("lineStyle"),p=d.getLineStyle();if(s(p,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===p.stroke&&(p.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[c];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),p.stroke=d.get("inactiveColor"),p.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}function bK(t){var e=t.icon||"roundRect",n=iy(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function _K(t,e,n,i){SK(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),wK(t,e,n,i)}function xK(t){var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;while(i<r&&!(e=n[i].states.emphasis))i++;return e&&e.hoverLayer}function wK(t,e,n,i){xK(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function SK(t,e,n,i){xK(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}var CK=vK;function kK(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}function MK(t,e,n){var i,r={},o="toggleSelected"===t;return n.eachComponent("legend",(function(n){o&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name));var a=n.getData();Object(s["k"])(a,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&i:r[e]=i}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function OK(t){t.registerAction("legendToggleSelect","legendselectchanged",Object(s["h"])(MK,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",Object(s["h"])(MK,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",Object(s["h"])(MK,"inverseSelect")),t.registerAction("legendSelect","legendselected",Object(s["h"])(MK,"select")),t.registerAction("legendUnSelect","legendunselected",Object(s["h"])(MK,"unSelect"))}function TK(t){t.registerComponentModel(pK),t.registerComponentView(CK),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,kK),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),OK(t)}var AK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=qc(e);t.prototype.init.call(this,e,n,i),IK(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),IK(this,this.option,e)},e.type="legend.scroll",e.defaultOption=Mu(pK.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(pK);function IK(t,e,n){var i=t.getOrient(),r=[1,1];r[i.index]=0,Vc(e,n,{type:"box",ignoreSize:!!r})}var PK=AK,EK=bi,DK=["width","height"],LK=["x","y"],jK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return o(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new EK),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new EK)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,o,a,l){var u=this;t.prototype.renderInner.call(this,e,n,i,r,o,a,l);var c=this._controllerGroup,h=n.get("pageIconSize",!0),d=s["t"](h)?h:[h,h];f("pagePrev",0);var p=n.getModel("pageTextStyle");function f(t,e){var i=t+"DataIndex",o=Tm(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:s["c"](u._pageGo,u,i,n,r)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});o.name=t,c.add(o)}c.add(new ys({name:"pageText",style:{text:"xx/xx",fill:p.getTextColor(),font:p.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getSelectorGroup(),l=t.getOrient().index,u=DK[l],c=LK[l],h=DK[1-l],d=LK[1-l];r&&jc("horizontal",a,t.get("selectorItemGap",!0));var p=t.get("selectorButtonGap",!0),f=a.getBoundingRect(),g=[-f.x,-f.y],m=s["d"](n);r&&(m[u]=n[u]-f[u]-p);var v=this._layoutContentAndController(t,i,m,l,u,h,d,c);if(r){if("end"===o)g[l]+=v[u]+p;else{var y=f[u]+p;g[l]-=y,v[c]-=y}v[u]+=f[u]+p,g[1-l]+=v[d]+v[h]/2-f[h]/2,v[h]=Math.max(v[h],f[h]),v[d]=Math.min(v[d],f[d]+g[1-l]),a.x=g[0],a.y=g[1],a.markRedraw()}return v},e.prototype._layoutContentAndController=function(t,e,n,i,r,o,a,l){var u=this.getContentGroup(),c=this._containerGroup,h=this._controllerGroup;jc(t.get("orient"),u,t.get("itemGap"),i?n.width:null,i?null:n.height),jc("horizontal",h,t.get("pageButtonItemGap",!0));var d=u.getBoundingRect(),p=h.getBoundingRect(),f=this._showController=d[r]>n[r],g=[-d.x,-d.y];e||(g[i]=u[l]);var m=[0,0],v=[-p.x,-p.y],y=s["P"](t.get("pageButtonGap",!0),t.get("itemGap",!0));if(f){var b=t.get("pageButtonPosition",!0);"end"===b?v[i]+=n[r]-p[r]:m[i]+=p[r]+y}v[1-i]+=d[o]/2-p[o]/2,u.setPosition(g),c.setPosition(m),h.setPosition(v);var _={x:0,y:0};if(_[r]=f?n[r]:d[r],_[o]=Math.max(d[o],p[o]),_[a]=Math.min(0,p[a]+v[1-i]),c.__rectSize=n[r],f){var x={x:0,y:0};x[r]=Math.max(n[r]-p[r]-y,0),x[o]=_[o],c.setClipPath(new ts({shape:x})),c.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(t);return null!=w.pageIndex&&Nl(u,{x:w.contentPosition[0],y:w.contentPosition[1]},f?t:null),this._updatePageInfoView(t,w),_},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;s["k"](["pagePrev","pageNext"],(function(i){var r=i+"DataIndex",o=null!=e[r],a=n.childOfName(i);a&&(a.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,l=e.pageCount;i&&r&&i.setStyle("text",s["C"](r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==l?"":l+""):r({current:a,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=DK[r],a=LK[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],c=l.length,h=c?1:0,d={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var p=y(u);d.contentPosition[r]=-p.s;for(var f=s+1,g=p,m=p,v=null;f<=c;++f)v=y(l[f]),(!v&&m.e>g.s+i||v&&!b(v,g.s))&&(g=m.i>g.i?m:v,g&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount)),m=v;for(f=s-1,g=p,m=p,v=null;f>=-1;--f)v=y(l[f]),v&&b(m,v.s)||!(g.i<m.i)||(m=g,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=g.i),++d.pageCount,++d.pageIndex),g=v;return d;function y(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function b(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var e,n,i=this.getContentGroup();return i.eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n},e.type="legend.scroll",e}(CK),RK=jK;function BK(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}function NK(t){A_(TK),t.registerComponentModel(PK),t.registerComponentView(RK),BK(t)}function FK(t){A_(TK),A_(NK)}var zK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.inside",e.defaultOption=Mu(ZG.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(ZG),VK=zK,qK=kr();function $K(t,e,n){qK(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}function HK(t,e){for(var n=qK(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid,u=s.get(l);u&&(s.removeKey(l),s.keys().length||GK(n,a))}}}function GK(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function WK(t,e){var n={model:e,containsPoint:Object(s["h"])(YK,e),dispatchAction:Object(s["h"])(UK,t),dataZoomInfoMap:null,controller:null},i=n.controller=new zA(t.getZr());return Object(s["k"])(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}function UK(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function YK(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function XK(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}function KK(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=qK(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=Object(s["f"])());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){var n=UG(t);Object(s["k"])(n.infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,WK(e,n.model)),a=o.dataZoomInfoMap||(o.dataZoomInfoMap=Object(s["f"])());a.set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=XK(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Xm(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else GK(i,t)}))}))}var ZK=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return o(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),$K(i,e,{pan:Object(s["c"])(QK.pan,this),zoom:Object(s["c"])(QK.zoom,this),scrollMove:Object(s["c"])(QK.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){HK(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(eW),QK={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=tZ[e](null,[i.originX,i.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return AR(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:JK((function(t,e,n,i,r,o){var a=tZ[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:JK((function(t,e,n,i,r,o){var a=tZ[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n);return a.signal*(t[1]-t[0])*o.scrollDelta}))};function JK(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s){var l=t(a,s,e,n,i,r);return AR(l,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}}var tZ={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},eZ=ZK;function nZ(t){pW(t),t.registerComponentModel(VK),t.registerComponentView(eZ),KK(t)}var iZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Mu(ZG.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(ZG),rZ=iZ,oZ=ts,aZ=7,sZ=1,lZ=30,uZ=7,cZ="horizontal",hZ="vertical",dZ=5,pZ=["line","bar","candlestick","scatter"],fZ={easing:"cubicOut",duration:100,delay:0},gZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return o(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=Object(s["c"])(this._onBrush,this),this._onBrushEnd=Object(s["c"])(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Xm(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Km(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new bi;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect"),i=n?uZ:0,r=this._findCoordRect(),o={width:e.getWidth(),height:e.getHeight()},a=this._orient===cZ?{right:o.width-r.x-r.width,top:o.height-lZ-aZ-i,width:r.width,height:lZ}:{right:aZ,top:r.y,width:lZ,height:r.height},l=qc(t.option);Object(s["k"])(["right","top","width","height"],(function(t){"ph"===l[t]&&(l[t]=a[t])}));var u=Bc(l,o);this._location={x:u.x,y:u.y},this._size=[u.width,u.height],this._orient===hZ&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==cZ||r?n===cZ&&r?{scaleY:a?1:-1,scaleX:-1}:n!==hZ||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new oZ({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new oZ({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:Object(s["c"])(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=o){var a=this._shadowPolygonPts,s=this._shadowPolylinePts;if(r!==this._shadowData||o!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var l=r.getDataExtent(o),u=.3*(l[1]-l[0]);l=[l[0]-u,l[1]+u];var c,h=[0,e[1]],d=[0,e[0]],p=[[e[0],0],[0,0]],f=[],g=d[1]/(r.count()-1),m=0,v=Math.round(r.count()/e[0]);r.each([o],(function(t,e){if(v>0&&e%v)m+=g;else{var n=null==t||isNaN(t)||""===t,i=n?0:Ii(t,l,h,!0);n&&!c&&e?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!n&&c&&(p.push([m,0]),f.push([m,0])),p.push([m,i]),f.push([m,i]),m+=g,c=n}})),a=this._shadowPolygonPts=p,s=this._shadowPolylinePts=f}this._shadowData=r,this._shadowDim=o,this._shadowSize=[e[0],e[1]];for(var y=this.dataZoomModel,b=0;b<3;b++){var _=x(1===b);this._displayables.sliderGroup.add(_),this._displayables.dataShadowSegs.push(_)}}}function x(t){var e=y.getModel(t?"selectedDataBackground":"dataBackground"),n=new bi,i=new kg({shape:{points:a},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Tg({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){var a=t.getAxisProxy(r,o).getTargetSeriesModels();Object(s["k"])(a,(function(t){if(!n&&!(!0!==e&&Object(s["r"])(pZ,t.get("type"))<0)){var a,l=i.getComponent(GG(r),o).axis,u=mZ(r),c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(a=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),n={thisAxis:l,series:t,thisDim:r,otherDim:u,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,l=this.api,u=a.get("borderRadius")||0,c=a.get("brushSelect"),h=e.filler=new oZ({silent:c,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new oZ({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:u},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:sZ,fill:"rgba(0,0,0,0)"}})),Object(s["k"])([0,1],(function(e){var o=a.get("handleIcon");!ty[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var l=iy(o,-1,0,2,2,null,!0);l.attr({cursor:vZ(this._orient),draggable:!0,drift:Object(s["c"])(this._onDragMove,this,e),ondragend:Object(s["c"])(this._onDragEnd,this),onmouseover:Object(s["c"])(this._showDataInfo,this,!0),onmouseout:Object(s["c"])(this._showDataInfo,this,!1),z2:5});var u=l.getBoundingRect(),c=a.get("handleSize");this._handleHeight=Pi(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,l.setStyle(a.getModel("handleStyle").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),xl(l);var h=a.get("handleColor");null!=h&&(l.style.fill=h),r.add(n[e]=l);var d=a.getModel("textStyle");t.add(i[e]=new ys({silent:!0,invisible:!0,style:Zl(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=h;if(c){var p=Pi(a.get("moveHandleSize"),o[1]),f=e.moveHandle=new ts({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),g=.8*p,m=e.moveHandleIcon=iy(a.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=o[1]+p/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(p,10));d=e.moveZone=new ts({invisible:!0,shape:{y:o[1]-v,height:p+v}}),d.on("mouseover",(function(){l.enterEmphasis(f)})).on("mouseout",(function(){l.leaveEmphasis(f)})),r.add(f),r.add(m),r.add(d)}d.attr({draggable:!0,cursor:vZ(this._orient),drift:Object(s["c"])(this._onDragMove,this,"all"),ondragstart:Object(s["c"])(this._showDataInfo,this,!0),ondragend:Object(s["c"])(this._onDragEnd,this),onmouseover:Object(s["c"])(this._showDataInfo,this,!0),onmouseout:Object(s["c"])(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[Ii(t[0],[0,100],e,!0),Ii(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];AR(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?Ii(o.minSpan,a,r,!0):null,null!=o.maxSpan?Ii(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=Di([Ii(i[0],r,a,!0),Ii(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=Di(n.slice()),r=this._size;Object(s["k"])([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,l=[0,i[0],i[1],r[0]],u=0;u<a.length;u++){var c=a[u],h=c.getClipPath();h||(h=new ts,c.setClipPath(h)),h.setShape({x:l[u],y:0,width:l[u+1]-l[u],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=Di(this._handleEnds.slice());function h(t){var e=_m(n.handles[t].parent,this.group),a=wm(0===t?"right":"left",e),s=this._handleWidth/2+dZ,l=xm([c[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===cZ?"middle":a,align:r===cZ?a:"center",text:o[t]})}h.call(this,0),h.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return Object(s["w"])(i)?i(t,o):Object(s["C"])(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,tt(i.event);var r=this._displayables.sliderGroup.getLocalTransform(),o=xm([e,n],r,!0),a=this._updateInterval(t,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Rn(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),o=[0,100];this._range=Di([Ii(n.x,r,o,!0),Ii(n.x+n.width,r,o,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(tt(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new oZ({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?fZ:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=UG(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(eW);function mZ(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function vZ(t){return"vertical"===t?"ns-resize":"ew-resize"}var yZ=gZ;function bZ(t){t.registerComponentModel(rZ),t.registerComponentView(yZ),pW(t)}function _Z(t){A_(nZ),A_(bZ)}var xZ={get:function(t,e,n){var i=s["d"]((wZ[t]||{})[e]);return n&&s["t"](i)?i[i.length-1]:i}},wZ={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},SZ=xZ,CZ=ND.mapVisual,kZ=ND.eachVisual,MZ=s["t"],OZ=s["k"],TZ=Di,AZ=Ii,IZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&fY(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=s["c"](t,this),this.controllerVisuals=pY(this.option.controller,e,t),this.targetVisuals=pY(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=ir(t),e},e.prototype.eachTargetSeries=function(t,e){s["k"](this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,l=r.formatter;n=n||["<",">"],s["t"](t)&&(t=t.slice(),i=!0);var u=e?t:i?[c(t[0]),c(t[1])]:c(t);return s["C"](l)?l.replace("{value}",i?u[0]:u).replace("{value2}",i?u[1]:u):s["w"](l)?i?l(t[0],t[1]):l(t):i?t[0]===a[0]?n[0]+" "+u[1]:t[1]===a[1]?n[1]+" "+u[0]:u[0]+" - "+u[1]:u;function c(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=TZ([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});s["I"](i,n),s["I"](r,n);var o=this.isCategory();function a(n){MZ(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}function l(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},OZ(i,(function(t,e){if(ND.isValidType(e)){var n=SZ.get(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}function u(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol(),a=r||"roundRect";OZ(this.stateList,(function(r){var l=this.itemSize,u=t[r];u||(u=t[r]={color:o?i:[i]}),null==u.symbol&&(u.symbol=e&&s["d"](e)||(o?a:[a])),null==u.symbolSize&&(u.symbolSize=n&&s["d"](n)||(o?l[0]:[l[0],l[0]])),u.symbol=CZ(u.symbol,(function(t){return"none"===t?a:t}));var c=u.symbolSize;if(null!=c){var h=-1/0;kZ(c,(function(t){t>h&&(h=t)})),u.symbolSize=CZ(c,(function(t){return AZ(t,[0,h],[0,l[0]],!0)}))}}),this)}a.call(this,i),a.call(this,r),l.call(this,i,"inRange","outOfRange"),u.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(Uc),PZ=IZ,EZ=[20,140],DZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=EZ[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=EZ[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):s["t"](e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),s["k"](this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=Di((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=LZ(this,"outOfRange",this.getExtent()),n=LZ(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;a<l&&(!n.length||e[a]<=n[0]);a++)e[a]<n[o]&&r(e[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&i.length&&r(n[o],"outOfRange"),r(n[o],"inRange");for(u=1;a<l;a++)(!n.length||n[n.length-1]<e[a])&&(u&&(i.length&&r(i[i.length-1].value,"outOfRange"),u=0),r(e[a],"outOfRange"));var c=i.length;return{stops:i,outerColors:[c?i[0].color:"transparent",c?i[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=Mu(PZ.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(PZ);function LZ(t,e,n){if(n[0]===n[1])return n.slice();for(var i=200,r=(n[1]-n[0])/i,o=n[0],a=[],s=0;s<=i&&o<n[1];s++)a.push(o),o+=r;return a.push(n[1]),a}var jZ=DZ,RZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return o(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,i):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=bc(e.get("padding")||0),i=t.getBoundingRect();t.add(new ts({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){n=n||{};var i=n.forceState,r=this.visualMapModel,o={};if("color"===e){var a=r.get("contentColor");o.color=a}function l(t){return o[t]}function u(t,e){o[t]=e}var c=r.controllerVisuals[i||r.getValueState(t)],h=ND.prepareVisualTypes(c);return s["k"](h,(function(i){var r=c[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=c.__alphaForOpacity),ND.dependsOn(i,e)&&r&&r.applyVisual(t,l,u)})),o[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;Nc(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(Sf),BZ=RZ,NZ=[["left","right","width"],["top","bottom","height"]];function FZ(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},a="horizontal"===i.orient?1:0,s=NZ[a],l=[0,null,10],u={},c=0;c<3;c++)u[NZ[1-a][c]]=l[c],u[s[c]]=2===c?n[0]:i[s[c]];var h=[["x","width",3],["y","height",0]][a],d=Bc(u,o,i.padding);return s[(d.margin[h[2]]||0)+d[h[0]]+.5*d[h[1]]<.5*o[h[1]]?0:1]}function zZ(t,e){return s["k"](t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var VZ=Ii,qZ=s["k"],$Z=Math.min,HZ=Math.max,GZ=12,WZ=6,UZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return o(e,t),e.prototype.doRender=function(t,e,n,i){this._api=n,i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new ys({style:Zl(h,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:i})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,o=this._useHandle,a=FZ(e,this.api,i),l=n.mainGroup=this._createBarGroup(a),u=new bi;l.add(u),u.add(n.outOfRange=YZ()),u.add(n.inRange=YZ(null,o?ZZ(this._orient):null,s["c"](this._dragHandle,this,"all",!1),s["c"](this._dragHandle,this,"all",!0))),u.setClipPath(new ts({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var c=e.textStyleModel.getTextRect("国"),h=HZ(c.width,c.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,l,0,i,h,r),this._createHandle(e,l,1,i,h,r)),this._createIndicator(e,l,i,h,r),t.add(l)},e.prototype._createHandle=function(t,e,n,i,r,o){var a=s["c"](this._dragHandle,this,n,!1),l=s["c"](this._dragHandle,this,n,!0),u=ni(t.get("handleSize"),i[0]),c=iy(t.get("handleIcon"),-u/2,-u/2,u,u,null,!0),h=ZZ(this._orient);c.attr({cursor:h,draggable:!0,drift:a,ondragend:l,onmousemove:function(t){tt(t.event)}}),c.x=i[0]/2,c.useStyle(t.getModel("handleStyle").getItemStyle()),c.setStyle({strokeNoScale:!0,strokeFirst:!0}),c.style.lineWidth*=2,c.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),Tl(c,!0),e.add(c);var d=this.visualMapModel.textStyleModel,p=new ys({cursor:h,draggable:!0,drift:a,onmousemove:function(t){tt(t.event)},ondragend:l,style:Zl(d,{x:0,y:0,text:""})});p.ensureState("blur").style={opacity:.1},p.stateTransition={duration:200},this.group.add(p);var f=[u,0],g=this._shapes;g.handleThumbs[n]=c,g.handleLabelPoints[n]=f,g.handleLabels[n]=p},e.prototype._createIndicator=function(t,e,n,i,r){var o=ni(t.get("indicatorSize"),n[0]),a=iy(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var l=t.getModel("indicatorStyle").getItemStyle();if(a instanceof Ga){var u=a.style;a.useStyle(s["m"]({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},l))}else a.useStyle(l);e.add(a);var c=this.visualMapModel.textStyleModel,h=new ys({silent:!0,invisible:!0,style:Zl(c,{x:0,y:0,text:""})});this.group.add(h);var d=[("horizontal"===r?i/2:WZ)+n[0]/2,0],p=this._shapes;p.indicator=a,p.indicatorLabel=h,p.indicatorLabelPoint=d,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():KZ(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[VZ(e[0],n,i,!0),VZ(e[1],n,i,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];AR(e,i,r,t,0);var o=n.getExtent();this._dataInterval=[VZ(i[0],r,o,!0),VZ(i[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),a=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(n,a);return{barColor:new Wg(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=100,i=[],r=(t[1]-t[0])/n;i.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var o=1;o<n;o++){var a=t[0]+r*o;if(a>t[1])break;i.push({color:this.getControllerVisual(a,"color",e),offset:o/n})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new bi("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();qZ([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var c=VZ(t[l],[0,a[1]],s,!0),h=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=h/a[0],u.x=a[0]-h/2;var d=xm(n.handleLabelPoints[l],_m(u,this.group));o[l].setStyle({x:d[0],y:d[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c={convertOpacityToAlpha:!0},h=this.getControllerVisual(t,"color",c),d=this.getControllerVisual(t,"symbolSize"),p=VZ(t,o,s,!0),f=a[0]-d/2,g={x:u.x,y:u.y};u.y=p,u.x=f;var m=xm(l.indicatorLabelPoint,_m(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",l.mainGroup),b=this._orient,_="horizontal"===b;v.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:_?y:"middle",align:_?"center":y});var x={x:f,y:p,style:{fill:h}},w={style:{x:m[0],y:m[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var S={duration:100,easing:"cubicInOut",additive:!0};u.x=g.x,u.y=g.y,u.animateTo(x,S),v.animateTo(w,S)}else u.attr(x),v.attr(w);this._firstShowIndicator=!1;var C=this._shapes.handleLabels;if(C)for(var k=0;k<C.length;k++)this._api.enterBlur(C[k])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);i[1]=$Z(HZ(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=$Z(HZ(r[0],t),r[1]);var a=XZ(n,o,r),s=[t-a,t+a],l=VZ(t,r,o,!0),u=[VZ(s[0],r,o,!0),VZ(s[1],r,o,!0)];s[0]<r[0]&&(u[0]=-1/0),s[1]>r[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var c=this._hoverLinkDataIndices,h=[];(e||KZ(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var d=Sr(c,h);this._dispatchHighDown("downplay",zZ(d[0],n)),this._dispatchHighDown("highlight",zZ(d[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=bs(e).dataIndex){var i=bs(e),r=this.ecModel.getSeriesByIndex(i.seriesIndex);if(n.isTargetSeries(r)){var o=r.getData(i.dataType),a=o.getStore().get(n.getDataDimensionIndex(o),i.dataIndex);isNaN(a)||this._showIndicator(a,a)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this._api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",zZ(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,i){var r=_m(e,i?null:this.group);return s["t"](t)?xm(t,r,n):wm(t,r,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(BZ);function YZ(t,e,n,i){return new kg({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){tt(t.event)},ondragend:i})}function XZ(t,e,n){var i=GZ/2,r=t.get("hoverLinkDataSize");return r&&(i=VZ(r,e,n,!0)/2),i}function KZ(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function ZZ(t){return"vertical"===t?"ns-resize":"ew-resize"}var QZ=UZ,JZ={type:"selectDataRange",event:"dataRangeSelected",update:"update"},tQ=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},eQ=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var i=t.pipelineContext;!e.isTargetSeries(t)||i&&i.large||n.push(mY(e.stateList,e.targetVisuals,s["c"](e.getValueState,e),e.getDataDimensionIndex(t.getData())))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(s["c"](nQ,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimensionIndex(n);o>=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function nQ(t,e,n,i){for(var r=e.targetVisuals[i],o=ND.prepareVisualTypes(r),a={color:Nv(t.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],c=r["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,h,d)}return a.color;function h(t){return a[t]}function d(t,e){a[t]=e}}var iQ=s["k"];function rQ(t){var e=t&&t.visualMap;s["t"](e)||(e=e?[e]:[]),iQ(e,(function(t){if(t){oQ(t,"splitList")&&!oQ(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&s["t"](e)&&iQ(e,(function(t){s["A"](t)&&(oQ(t,"start")&&!oQ(t,"min")&&(t.min=t.start),oQ(t,"end")&&!oQ(t,"max")&&(t.max=t.end))}))}}))}function oQ(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var aQ=!1;function sQ(t){aQ||(aQ=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(JZ,tQ),Object(s["k"])(eQ,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(rQ))}function lQ(t){t.registerComponentModel(jZ),t.registerComponentView(QZ),sQ(t)}var uQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return o(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],cQ[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=s["d"](r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=s["H"](this._pieceList,(function(t){return t=s["d"](t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=ND.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}s["k"](e.pieces,(function(t){s["k"](i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),s["k"](n,(function(t,n){var i=!1;s["k"](this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&s["k"](this.stateList,(function(t){(e[t]||(e[t]={}))[n]=SZ.get(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,s["k"](i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;s["k"](i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=s["d"](t)},e.prototype.getValueState=function(t){var e=ND.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){var o=ND.findPieceIndex(e,n);o===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),o=r[r.length-1].interval[1],o!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return s["k"](r,(function(t){var e=t.interval;e&&(e[0]>a&&l([a,e[0]],"outOfRange"),l(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function l(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Mu(PZ.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(PZ),cQ={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;var o=(i[1]-i[0])/r;while(+o.toFixed(n)!==o&&n<5)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,l=i[0];a<r;l+=o,a++){var u=a===r-1?i[1]:l+o;t.push({interval:[l,u],close:[1,1]})}e.maxOpen&&t.push({interval:[i[1],1/0],close:[0,0]}),Yi(t),s["k"](t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;s["k"](e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),hQ(e,t)},pieces:function(t){var e=this.option;s["k"](e.pieces,(function(e,n){s["A"](e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var r=i.value=e.value;i.interval=[r,r],i.close=[1,1]}else{for(var o=i.interval=[],a=i.close=[0,0],l=[1,0,1],u=[-1/0,1/0],c=[],h=0;h<2;h++){for(var d=[["gte","gt","min"],["lte","lt","max"]][h],p=0;p<3&&null==o[h];p++)o[h]=e[d[p]],a[h]=l[p],c[h]=2===p;null==o[h]&&(o[h]=u[h])}c[0]&&o[1]===1/0&&(a[0]=0),c[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(i.value=o[0])}i.visual=ND.retrieveVisuals(e),t.push(i)}),this),hQ(e,t),Yi(t),s["k"](t,(function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function hQ(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var dQ=uQ,pQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),l=e.itemSize,u=this._getViewData(),c=u.endsText,h=s["O"](e.get("showLabel",!0),!c);c&&this._renderEndsText(t,c[0],l,h,a),s["k"](u.viewPieceList,(function(i){var u=i.piece,c=new bi;c.onclick=s["c"](this._onItemClick,this,u),this._enableHoverLink(c,i.indexInModelPieceList);var d=e.getRepresentValue(u);if(this._createItemSymbol(c,d,[0,0,l[0],l[1]]),h){var p=this.visualMapModel.getValueState(d);c.add(new ys({style:{x:"right"===a?-n:l[0]+n,y:l[1]/2,text:u.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1}}))}t.add(c)}),this),c&&this._renderEndsText(t,c[1],l,h,a),jc(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:zZ(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return FZ(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new bi,a=this.visualMapModel.textStyleModel;o.add(new ys({style:Zl(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=s["H"](t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(iy(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=s["d"](n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,s["k"](r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(BZ),fQ=pQ;function gQ(t){t.registerComponentModel(dQ),t.registerComponentView(fQ),sQ(t)}function mQ(t){A_(lQ),A_(gQ)}var vQ={label:{enabled:!0},decal:{show:!1}},yQ=kr(),bQ={};function _Q(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=s["d"](vQ);s["I"](i.label,t.getLocaleModel().get("aria"),!1),s["I"](n.option,i,!1),r(),o()}function r(){var e=n.getModel("decal"),i=e.get("show");if(i){var r=s["f"]();t.eachSeries((function(t){if(!t.isColorBySeries()){var e=r.get(t.type);e||(e={},r.set(t.type,e)),yQ(t).scope=e}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(s["w"](e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=xh(e.ecModel,e.name,bQ,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",c(r,i))}else{var o=e.getRawData(),a={},l=yQ(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var u=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",s=xh(e.ecModel,r,l,u),h=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",c(h,s))}))}}function c(t,e){var n=t?s["m"](s["m"]({},e),t):e;return n.dirty=!0,n}}))}}function o(){var i=t.getLocaleModel().get("aria"),r=n.getModel("label");if(r.option=s["i"](r.option,i),r.get("enabled")){var o=e.getZr().dom;if(r.get("description"))o.setAttribute("aria-label",r.get("description"));else{var c,h=t.getSeriesCount(),d=r.get(["data","maxCount"])||10,p=r.get(["series","maxCount"])||10,f=Math.min(h,p);if(!(h<1)){var g=l();if(g){var m=r.get(["general","withTitle"]);c=a(m,{title:g})}else c=r.get(["general","withoutTitle"]);var v=[],y=h>1?r.get(["series","multiple","prefix"]):r.get(["series","single","prefix"]);c+=a(y,{seriesCount:h}),t.eachSeries((function(t,e){if(e<f){var n=void 0,i=t.get("name"),o=i?"withName":"withoutName";n=h>1?r.get(["series","multiple",o]):r.get(["series","single",o]),n=a(n,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:u(t.subType)});var s=t.getData();if(s.count()>d){var l=r.get(["data","partialData"]);n+=a(l,{displayCnt:d})}else n+=r.get(["data","allData"]);for(var c=r.get(["data","separator","middle"]),p=r.get(["data","separator","end"]),g=[],m=0;m<s.count();m++)if(m<d){var y=s.getName(m),b=s.getValues(m),_=r.get(["data",y?"withName":"withoutName"]);g.push(a(_,{name:y,value:b.join(c)}))}n+=g.join(c)+p,v.push(n)}}));var b=r.getModel(["series","multiple","separator"]),_=b.get("middle"),x=b.get("end");c+=v.join(_)+x,o.setAttribute("aria-label",c)}}}}function a(t,e){if(!s["C"](t))return t;var n=t;return s["k"](e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}function l(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}function u(e){return t.getLocaleModel().get(["series","typeNames"])[e]||"自定义图"}}function xQ(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},s["k"](["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}function wQ(t){t.registerPreprocessor(xQ),t.registerVisual(t.PRIORITY.VISUAL.ARIA,_Q)}var SQ={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},CQ=function(){function t(t){var e=this._condVal=Object(s["C"])(t)?new RegExp(t):Object(s["B"])(t)?t:null;if(null==e){var n="";0,Ah(n)}}return t.prototype.evaluate=function(t){var e=typeof t;return Object(s["C"])(e)?this._condVal.test(t):!!Object(s["z"])(e)&&this._condVal.test(t+"")},t}(),kQ=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),MQ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),OQ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),TQ=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),AQ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=this.getValue,n=e(this.valueGetterParam),i=t?this.valueParser(n):null,r=0;r<this.subCondList.length;r++)if(!this.subCondList[r].evaluate(t?i:n))return!1;return!0},t}();function IQ(t,e){if(!0===t||!1===t){var n=new kQ;return n.value=t,n}var i="";return LQ(t)||Ah(i),t.and?PQ("and",t,e):t.or?PQ("or",t,e):t.not?EQ(t,e):DQ(t,e)}function PQ(t,e,n){var i=e[t],r="";Object(s["t"])(i)||Ah(r),i.length||Ah(r);var o="and"===t?new MQ:new OQ;return o.children=Object(s["H"])(i,(function(t){return IQ(t,n)})),o.children.length||Ah(r),o}function EQ(t,e){var n=t.not,i="";LQ(n)||Ah(i);var r=new TQ;return r.child=IQ(n,e),r.child||Ah(i),r}function DQ(t,e){for(var n="",i=e.prepareGetValue(t),r=[],o=Object(s["F"])(t),a=t.parser,l=a?ap(a):null,u=0;u<o.length;u++){var c=o[u];if("parser"!==c&&!e.valueGetterAttrMap.get(c)){var h=Object(s["q"])(SQ,c)?SQ[c]:c,d=t[c],p=l?l(d):d,f=hp(h,p)||"reg"===h&&new CQ(p);f||Ah(n),r.push(f)}}r.length||Ah(n);var g=new AQ;return g.valueGetterParam=i,g.valueParser=l,g.getValue=e.getValue,g.subCondList=r,g}function LQ(t){return Object(s["A"])(t)&&!Object(s["u"])(t)}var jQ=function(){function t(t,e){this._cond=IQ(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();function RQ(t,e){return new jQ(t,e)}var BQ={type:"echarts:filter",transform:function(t){for(var e,n=t.upstream,i=RQ(t.config,{valueGetterAttrMap:Object(s["f"])({dimension:!0}),prepareGetValue:function(t){var e="",i=t.dimension;Object(s["q"])(t,"dimension")||Ah(e);var r=n.getDimensionInfo(i);return r||Ah(e),{dimIdx:r.index}},getValue:function(t){return n.retrieveValueFromItem(e,t.dimIdx)}}),r=[],o=0,a=n.count();o<a;o++)e=n.getRawDataItem(o),i.evaluate()&&r.push(e);return{data:r}}};var NQ={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,i="",r=ir(n);r.length||Ah(i);var o=[];Object(s["k"])(r,(function(t){var n=t.dimension,r=t.order,a=t.parser,s=t.incomparable;if(null==n&&Ah(i),"asc"!==r&&"desc"!==r&&Ah(i),s&&"min"!==s&&"max"!==s){var l="";0,Ah(l)}if("asc"!==r&&"desc"!==r){var u="";0,Ah(u)}var c=e.getDimensionInfo(n);c||Ah(i);var h=a?ap(a):null;a&&!h&&Ah(i),o.push({dimIdx:c.index,parser:h,comparator:new up(r,s)})}));var a=e.sourceFormat;a!==Jc&&a!==th&&Ah(i);for(var l=[],u=0,c=e.count();u<c;u++)l.push(e.getRawDataItem(u));return l.sort((function(t,n){for(var i=0;i<o.length;i++){var r=o[i],a=e.retrieveValueFromItem(t,r.dimIdx),s=e.retrieveValueFromItem(n,r.dimIdx);r.parser&&(a=r.parser(a),s=r.parser(s));var l=r.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:l}}};function FQ(t){t.registerTransform(BQ),t.registerTransform(NQ)}var zQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return o(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new Rp(this),Bp(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),Bp(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:rh},e}(Uc),VQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return o(e,t),e.type="dataset",e}(Sf);function qQ(t){t.registerComponentModel(zQ),t.registerComponentView(VQ)}var $Q=ha.CMD;function HQ(t,e){return Math.abs(t-e)<1e-5}function GQ(t){var e,n,i,r,o,a=t.data,s=t.len(),l=[],u=0,c=0,h=0,d=0;function p(t,n){e&&e.length>2&&l.push(e),e=[t,n]}function f(t,n,i,r){HQ(t,i)&&HQ(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=n<t?-1:1,c=Math.cos(t),h=Math.sin(t),d=Math.cos(n),p=Math.sin(n),f=c*o+i,g=h*a+r,m=d*o+i,v=p*a+r,y=o*l*u,b=a*l*u;e.push(f-y*h,g+b*c,m+y*p,v-b*d,m,v)}for(var m=0;m<s;){var v=a[m++],y=1===m;switch(y&&(u=a[m],c=a[m+1],h=u,d=c,v!==$Q.L&&v!==$Q.C&&v!==$Q.Q||(e=[h,d])),v){case $Q.M:u=h=a[m++],c=d=a[m++],p(h,d);break;case $Q.L:n=a[m++],i=a[m++],f(u,c,n,i),u=n,c=i;break;case $Q.C:e.push(a[m++],a[m++],a[m++],a[m++],u=a[m++],c=a[m++]);break;case $Q.Q:n=a[m++],i=a[m++],r=a[m++],o=a[m++],e.push(u+2/3*(n-u),c+2/3*(i-c),r+2/3*(n-r),o+2/3*(i-o),r,o),u=r,c=o;break;case $Q.A:var b=a[m++],_=a[m++],x=a[m++],w=a[m++],S=a[m++],C=a[m++]+S;m+=1;var k=!a[m++];n=Math.cos(S)*x+b,i=Math.sin(S)*w+_,y?(h=n,d=i,p(h,d)):f(u,c,n,i),u=Math.cos(C)*x+b,c=Math.sin(C)*w+_;for(var M=(k?-1:1)*Math.PI/2,O=S;k?O>C:O<C;O+=M){var T=k?Math.max(O+M,C):Math.min(O+M,C);g(O,T,b,_,x,w)}break;case $Q.R:h=u=a[m++],d=c=a[m++],n=h+a[m++],i=d+a[m++],p(n,d),f(n,d,n,i),f(n,i,h,i),f(h,i,h,d),f(h,d,n,d);break;case $Q.Z:e&&f(u,c,h,d),u=h,c=d;break}}return e&&e.length>2&&l.push(e),l}function WQ(t,e,n,i,r,o,a,s,l,u){if(HQ(t,n)&&HQ(e,i)&&HQ(r,a)&&HQ(o,s))l.push(a,s);else{var c=2/u,h=c*c,d=a-t,p=s-e,f=Math.sqrt(d*d+p*p);d/=f,p/=f;var g=n-t,m=i-e,v=r-a,y=o-s,b=g*g+m*m,_=v*v+y*y;if(b<h&&_<h)l.push(a,s);else{var x=d*g+p*m,w=-d*v-p*y,S=b-x*x,C=_-w*w;if(S<h&&x>=0&&C<h&&w>=0)l.push(a,s);else{var k=[],M=[];Jt(t,n,r,a,.5,k),Jt(e,i,o,s,.5,M),WQ(k[0],M[0],k[1],M[1],k[2],M[2],k[3],M[3],l,u),WQ(k[4],M[4],k[5],M[5],k[6],M[6],k[7],M[7],l,u)}}}}function UQ(t,e){var n=GQ(t),i=[];e=e||1;for(var r=0;r<n.length;r++){var o=n[r],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var c=o[u++],h=o[u++],d=o[u++],p=o[u++],f=o[u++],g=o[u++];WQ(s,l,c,h,d,p,f,g,a,e),s=f,l=g}i.push(a)}return i}function YQ(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u<a;u++)l.push(s);var c=a*s,h=n-c;if(h>0)for(u=0;u<h;u++)l[u%a]+=1;return l}function XQ(t,e,n){for(var i=t.r0,r=t.r,o=t.startAngle,a=t.endAngle,s=Math.abs(a-o),l=s*r,u=r-i,c=l>Math.abs(u),h=YQ([l,u],c?0:1,e),d=(c?s:u)/h.length,p=0;p<h.length;p++)for(var f=(c?u:s)/h[p],g=0;g<h[p];g++){var m={};c?(m.startAngle=o+d*p,m.endAngle=o+d*(p+1),m.r0=i+f*g,m.r=i+f*(g+1)):(m.startAngle=o+f*g,m.endAngle=o+f*(g+1),m.r0=i+d*p,m.r=i+d*(p+1)),m.clockwise=t.clockwise,m.cx=t.cx,m.cy=t.cy,n.push(m)}}function KQ(t,e,n){for(var i=t.width,r=t.height,o=i>r,a=YQ([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",h=t[s]/a.length,d=0;d<a.length;d++)for(var p=t[l]/a[d],f=0;f<a[d];f++){var g={};g[u]=d*h,g[c]=f*p,g[s]=h,g[l]=p,g.x+=t.x,g.y+=t.y,n.push(g)}}function ZQ(t,e,n,i){return t*i-n*e}function QQ(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,d=ZQ(c,h,l,u);if(Math.abs(d)<1e-6)return null;var p=t-r,f=e-o,g=ZQ(p,f,c,h)/d;return g<0||g>1?null:new Rn(g*l+t,g*u+e)}function JQ(t,e,n){var i=new Rn;Rn.sub(i,n,e),i.normalize();var r=new Rn;Rn.sub(r,t,e);var o=r.dot(i);return o}function tJ(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function eJ(t,e,n){for(var i=t.length,r=[],o=0;o<i;o++){var a=t[o],s=t[(o+1)%i],l=QQ(a[0],a[1],s[0],s[1],e.x,e.y,n.x,n.y);l&&r.push({projPt:JQ(l,e,n),pt:l,idx:o})}if(r.length<2)return[{points:t},{points:t}];r.sort((function(t,e){return t.projPt-e.projPt}));var u=r[0],c=r[r.length-1];if(c.idx<u.idx){var h=u;u=c,c=h}var d=[u.pt.x,u.pt.y],p=[c.pt.x,c.pt.y],f=[d],g=[p];for(o=u.idx+1;o<=c.idx;o++)tJ(f,t[o].slice());tJ(f,p),tJ(f,d);for(o=c.idx+1;o<=u.idx+i;o++)tJ(g,t[o%i].slice());return tJ(g,d),tJ(g,p),[{points:f},{points:g}]}function nJ(t){var e=t.points,n=[],i=[];Fo(e,n,i);var r=new Wn(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new Rn,c=new Rn;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),eJ(e,u,c)}function iJ(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),o=t(e);iJ(t,o[0],r,i),iJ(t,o[1],n-r,i)}return i}function rJ(t,e){for(var n=[],i=0;i<e;i++)n.push(Uf(t));return n}function oJ(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function aJ(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}function sJ(t,e){var n,i=[],r=t.shape;switch(t.type){case"rect":KQ(r,e,i),n=ts;break;case"sector":XQ(r,e,i),n=vg;break;case"circle":XQ({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,i),n=vg;break;default:var o=t.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,l=Object(s["H"])(UQ(t.getUpdatedPathProxy(),a),(function(t){return aJ(t)})),u=l.length;if(0===u)iJ(nJ,{points:l[0]},e,i);else if(u===e)for(var c=0;c<u;c++)i.push({points:l[c]});else{var h=0,d=Object(s["H"])(l,(function(t){var e=[],n=[];Fo(t,e,n);var i=(n[1]-e[1])*(n[0]-e[0]);return h+=i,{poly:t,area:i}}));d.sort((function(t,e){return e.area-t.area}));var p=e;for(c=0;c<u;c++){var f=d[c];if(p<=0)break;var g=c===u-1?p:Math.ceil(f.area/h*e);g<0||(iJ(nJ,{points:f.poly},g,i),p-=g)}}n=kg;break}if(!n)return rJ(t,e);var m=[];for(c=0;c<i.length;c++){var v=new n;v.setShape(i[c]),oJ(t,v),m.push(v)}return m}function lJ(t,e){var n=t.length,i=e.length;if(n===i)return[t,e];for(var r=[],o=[],a=n<i?t:e,s=Math.min(n,i),l=Math.abs(i-n)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,h=[a[0],a[1]],d=l,p=2;p<s;){var f=a[p-2],g=a[p-1],m=a[p++],v=a[p++],y=a[p++],b=a[p++],_=a[p++],x=a[p++];if(d<=0)h.push(m,v,y,b,_,x);else{for(var w=Math.min(d,c-1)+1,S=1;S<=w;S++){var C=S/w;Jt(f,m,y,_,C,r),Jt(g,v,b,x,C,o),f=r[3],g=o[3],h.push(r[1],o[1],r[2],o[2],f,g),m=r[5],v=o[5],y=r[6],b=o[6]}d-=w-1}}return a===t?[h,e]:[t,h]}function uJ(t,e){for(var n=t.length,i=t[n-2],r=t[n-1],o=[],a=0;a<e.length;)o[a++]=i,o[a++]=r;return o}function cJ(t,e){for(var n,i,r,o=[],a=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],u=e[s],c=void 0,h=void 0;l?u?(n=lJ(l,u),c=n[0],h=n[1],i=c,r=h):(h=uJ(r||l,l),c=l):(c=uJ(i||u,u),h=u),o.push(c),a.push(h)}return[o,a]}function hJ(t){for(var e=0,n=0,i=0,r=t.length,o=0,a=r-2;o<r;a=o,o+=2){var s=t[a],l=t[a+1],u=t[o],c=t[o+1],h=s*c-u*l;e+=h,n+=(s+u)*h,i+=(l+c)*h}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,i/e/3,e]}function dJ(t,e,n,i){for(var r=(t.length-2)/6,o=1/0,a=0,s=t.length,l=s-2,u=0;u<r;u++){for(var c=6*u,h=0,d=0;d<s;d+=2){var p=0===d?c:(c+d-2)%l+2,f=t[p]-n[0],g=t[p+1]-n[1],m=e[d]-i[0],v=e[d+1]-i[1],y=m-f,b=v-g;h+=y*y+b*b}h<o&&(o=h,a=u)}return a}function pJ(t){for(var e=[],n=t.length,i=0;i<n;i+=2)e[i]=t[n-i-2],e[i+1]=t[n-i-1];return e}function fJ(t,e,n,i){for(var r,o=[],a=0;a<t.length;a++){var s=t[a],l=e[a],u=hJ(s),c=hJ(l);null==r&&(r=u[2]<0!==c[2]<0);var h=[],d=[],p=0,f=1/0,g=[],m=s.length;r&&(s=pJ(s));for(var v=6*dJ(s,l,u,c),y=m-2,b=0;b<y;b+=2){var _=(v+b)%y+2;h[b+2]=s[_]-u[0],h[b+3]=s[_+1]-u[1]}if(h[0]=s[v]-u[0],h[1]=s[v+1]-u[1],n>0)for(var x=i/n,w=-i/2;w<=i/2;w+=x){var S=Math.sin(w),C=Math.cos(w),k=0;for(b=0;b<s.length;b+=2){var M=h[b],O=h[b+1],T=l[b]-c[0],A=l[b+1]-c[1],I=T*C-A*S,P=T*S+A*C;g[b]=I,g[b+1]=P;var E=I-M,D=P-O;k+=E*E+D*D}if(k<f){f=k,p=w;for(var L=0;L<g.length;L++)d[L]=g[L]}}else for(var j=0;j<m;j+=2)d[j]=l[j]-c[0],d[j+1]=l[j+1]-c[1];o.push({from:h,to:d,fromCp:u,toCp:c,rotation:-p})}return o}function gJ(t){return t.__isCombineMorphing}var mJ="__mOriginal_";function vJ(t,e,n){var i=mJ+e,r=t[i]||t[e];t[i]||(t[i]=t[e]);var o=n.replace,a=n.after,s=n.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=o?o.apply(this,e):r.apply(this,e),a&&a.apply(this,e),t}}function yJ(t,e){var n=mJ+e;t[n]&&(t[e]=t[n],t[n]=null)}function bJ(t,e){for(var n=0;n<t.length;n++)for(var i=t[n],r=0;r<i.length;){var o=i[r],a=i[r+1];i[r++]=e[0]*o+e[2]*a+e[4],i[r++]=e[1]*o+e[3]*a+e[5]}}function _J(t,e){var n=t.getUpdatedPathProxy(),i=e.getUpdatedPathProxy(),r=cJ(GQ(n),GQ(i)),o=r[0],a=r[1],s=t.getComputedTransform(),l=e.getComputedTransform();function u(){this.transform=null}s&&bJ(o,s),l&&bJ(a,l),vJ(e,"updateTransform",{replace:u}),e.transform=null;var c=fJ(o,a,10,Math.PI),h=[];vJ(e,"buildPath",{replace:function(t){for(var n=e.__morphT,i=1-n,r=[],o=0;o<c.length;o++){var a=c[o],s=a.from,l=a.to,u=a.rotation*n,d=a.fromCp,p=a.toCp,f=Math.sin(u),g=Math.cos(u);k(r,d,p,n);for(var m=0;m<s.length;m+=2){var v=s[m],y=s[m+1],b=l[m],_=l[m+1],x=v*i+b*n,w=y*i+_*n;h[m]=x*g-w*f+r[0],h[m+1]=x*f+w*g+r[1]}var S=h[0],C=h[1];t.moveTo(S,C);for(m=2;m<s.length;){b=h[m++],_=h[m++];var M=h[m++],O=h[m++],T=h[m++],A=h[m++];S===b&&C===_&&M===T&&O===A?t.lineTo(T,A):t.bezierCurveTo(b,_,M,O,T,A),S=T,C=A}}}})}function xJ(t,e,n){if(!t||!e)return e;var i=n.done,r=n.during;function o(){yJ(e,"buildPath"),yJ(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape()}return _J(t,e),e.__morphT=0,e.animateTo({__morphT:1},Object(s["i"])({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){o(),i&&i()}},n)),e}function wJ(t,e,n,i,r,o){var a=16;t=r===n?0:Math.round(32767*(t-n)/(r-n)),e=o===i?0:Math.round(32767*(e-i)/(o-i));for(var s,l=0,u=(1<<a)/2;u>0;u/=2){var c=0,h=0;(t&u)>0&&(c=1),(e&u)>0&&(h=1),l+=u*u*(3*c^h),0===h&&(1===c&&(t=u-1-t,e=u-1-e),s=t,t=e,e=s)}return l}function SJ(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=Object(s["H"])(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]})),a=Object(s["H"])(o,(function(o,a){return{cp:o,z:wJ(o[0],o[1],e,n,i,r),path:t[a]}}));return a.sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function CJ(t){return sJ(t.path,t.count)}function kJ(){return{fromIndividuals:[],toIndividuals:[],count:0}}function MJ(t,e,n){var i=[];function r(t){for(var e=0;e<t.length;e++){var n=t[e];gJ(n)?r(n.childrenRef()):n instanceof Ba&&i.push(n)}}r(t);var o=i.length;if(!o)return kJ();var a=n.dividePath||CJ,l=a({path:e,count:o});if(l.length!==o)return console.error("Invalid morphing: unmatched splitted path"),kJ();i=SJ(i),l=SJ(l);for(var u=n.done,c=n.during,h=n.individualDelay,d=new Ln,p=0;p<o;p++){var f=i[p],g=l[p];g.parent=e,g.copyTransform(d),h||_J(f,g)}function m(t){for(var e=0;e<l.length;e++)l[e].addSelfToZr(t)}function v(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,yJ(e,"addSelfToZr"),yJ(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return l},vJ(e,"addSelfToZr",{after:function(t){m(t)}}),vJ(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<l.length;e++)l[e].removeSelfFromZr(t)}});var y=l.length;if(h){var b=y,_=function(){b--,0===b&&(v(),u&&u())};for(p=0;p<y;p++){var x=h?Object(s["i"])({delay:(n.delay||0)+h(p,y,i[p],l[p]),done:_},n):n;xJ(i[p],l[p],x)}}else e.__morphT=0,e.animateTo({__morphT:1},Object(s["i"])({during:function(t){for(var n=0;n<y;n++){var i=l[n];i.__morphT=e.__morphT,i.dirtyShape()}c&&c(t)},done:function(){v();for(var e=0;e<t.length;e++)yJ(t[e],"updateTransform");u&&u()}},n));return e.__zr&&m(e.__zr),{fromIndividuals:i,toIndividuals:l,count:y}}function OJ(t,e,n){var i=e.length,r=[],o=n.dividePath||CJ;function a(t){for(var e=0;e<t.length;e++){var n=t[e];gJ(n)?a(n.childrenRef()):n instanceof Ba&&r.push(n)}}if(gJ(t)){a(t.childrenRef());var l=r.length;if(l<i)for(var u=0,c=l;c<i;c++)r.push(Uf(r[u++%l]));r.length=i}else{r=o({path:t,count:i});var h=t.getComputedTransform();for(c=0;c<r.length;c++)r[c].setLocalTransform(h);if(r.length!==i)return console.error("Invalid morphing: unmatched splitted path"),kJ()}r=SJ(r),e=SJ(e);var d=n.individualDelay;for(c=0;c<i;c++){var p=d?Object(s["i"])({delay:(n.delay||0)+d(c,i,r[c],e[c])},n):n;xJ(r[c],e[c],p)}return{fromIndividuals:r,toIndividuals:e,count:e.length}}function TJ(t){return Object(s["t"])(t[0])}function AJ(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.push({one:t[r],many:[]});for(r=0;r<e.length;r++){var o=e[r].length,a=void 0;for(a=0;a<o;a++)n[a%i].many.push(e[r][a])}var s=0;for(r=i-1;r>=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var IJ={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i<t.count;i++){var r=Uf(t.path);r.setStyle("opacity",n),e.push(r)}return e},split:null};function PJ(t,e,n,i,r,o){if(t.length&&e.length){var a=Rl("update",i,r);if(a&&a.duration>0){var l,u,c=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);TJ(t)&&(l=t,u=e),TJ(e)&&(l=e,u=t);for(var d=l?l===t:t.length>e.length,p=l?AJ(u,l):AJ(d?e:t,[d?t:e]),f=0,g=0;g<p.length;g++)f+=p[g].many.length;var m=0;for(g=0;g<p.length;g++)v(p[g],d,m,f),m+=p[g].many.length}}function v(t,e,i,r,a){var l=t.many,u=t.one;if(1!==l.length||a)for(var d=Object(s["i"])({dividePath:IJ[n],individualDelay:c&&function(t,e,n,o){return c(t+i,r)}},h),p=e?MJ(l,u,d):OJ(u,l,d),f=p.fromIndividuals,g=p.toIndividuals,m=f.length,y=0;y<m;y++){x=c?Object(s["i"])({delay:c(y,m)},h):h;o(f[y],g[y],e?l[y]:t.one,e?t.one:l[y],x)}else{var b=e?l[0]:u,_=e?u:l[0];if(gJ(b))v({many:[b],one:_},!0,i,r,!0);else{var x=c?Object(s["i"])({delay:c(i,r)},h):h;xJ(b,_,x),o(b,_,b,_,x)}}}}function EJ(t){if(!t)return[];if(Object(s["t"])(t)){for(var e=[],n=0;n<t.length;n++)e.push(EJ(t[n]));return e}var i=[];return t.traverse((function(t){t instanceof Ba&&!t.disableMorphing&&!t.invisible&&!t.ignore&&i.push(t)})),i}var DJ=1e4,LJ=kr();function jJ(t){for(var e=t.dimensions,n=0;n<e.length;n++){var i=t.getDimensionInfo(e[n]);if(i&&0===i.otherDims.itemGroupId)return e[n]}}function RJ(t){var e=[];return Object(s["k"])(t,(function(t){var n=t.data;if(!(n.count()>DJ))for(var i=n.getIndices(),r=jJ(n),o=0;o<i.length;o++)e.push({data:n,dim:t.dim||r,divide:t.divide,dataIndex:o})})),e}function BJ(t,e,n){t.traverse((function(t){t instanceof Ba&&Fl(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function NJ(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function FJ(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function zJ(t,e,n){var i=Rl("update",n,e);i&&t.traverse((function(t){if(t instanceof Io){var e=Gl(t);e&&t.animateFrom({style:e},i)}}))}function VJ(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++){var r=t[i],o=e[i];if(r.data.getId(r.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}function qJ(t,e,n){var i=RJ(t),r=RJ(e);function o(t,e,n,i,r){(n||t)&&e.animateFrom({style:n&&n!==t?Object(s["m"])(Object(s["m"])({},n.style),t.style):t.style},r)}function a(t){for(var e=0;e<t.length;e++)if(t[e].dim)return t[e].dim}var l=a(i),u=a(r),c=!1;function h(t,e){return function(n){var i=n.data,r=n.dataIndex;if(e)return i.getId(r);var o=i.hostModel&&i.hostModel.get("dataGroupId"),a=t?l||u:u||l,s=a&&i.getDimensionInfo(a),c=s&&s.ordinalMeta;if(s){var h=i.get(s.name,r);return c&&c.categories[h]||h+""}var d=i.getRawDataItem(r);return d&&d.groupId?d.groupId+"":o||i.getId(r)}}var d=VJ(i,r),p={};if(!d)for(var f=0;f<r.length;f++){var g=r[f],m=g.data.getItemGraphicEl(g.dataIndex);m&&(p[m.id]=!0)}function v(t,e){var n=i[e],a=r[t],s=a.data.hostModel,l=n.data.getItemGraphicEl(n.dataIndex),u=a.data.getItemGraphicEl(a.dataIndex);l!==u?l&&p[l.id]||u&&(FJ(u),l?(FJ(l),NJ(l),c=!0,PJ(EJ(l),EJ(u),a.divide,s,t,o)):BJ(u,s,t)):u&&zJ(u,a.dataIndex,s)}new yw(i,r,h(!0,d),h(!1,d),null,"multiple").update(v).updateManyToOne((function(t,e){var n=r[t],a=n.data,l=a.hostModel,u=a.getItemGraphicEl(n.dataIndex),h=Object(s["n"])(Object(s["H"])(e,(function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)})),(function(t){return t&&t!==u&&!p[t.id]}));u&&(FJ(u),h.length?(Object(s["k"])(h,(function(t){FJ(t),NJ(t)})),c=!0,PJ(EJ(h),EJ(u),n.divide,l,t,o)):BJ(u,l,n.dataIndex))})).updateOneToMany((function(t,e){var n=i[e],a=n.data.getItemGraphicEl(n.dataIndex);if(!a||!p[a.id]){var l=Object(s["n"])(Object(s["H"])(t,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==a})),u=r[t[0]].data.hostModel;l.length&&(Object(s["k"])(l,(function(t){return FJ(t)})),a?(FJ(a),NJ(a),c=!0,PJ(EJ(a),EJ(l),n.divide,u,t[0],o)):Object(s["k"])(l,(function(e){return BJ(e,u,t[0])})))}})).updateManyToMany((function(t,e){new yw(e,t,(function(t){return i[t].data.getId(i[t].dataIndex)}),(function(t){return r[t].data.getId(r[t].dataIndex)})).update((function(n,i){v(t[n],e[i])})).execute()})).execute(),c&&Object(s["k"])(e,(function(t){var e=t.data,i=e.hostModel,r=i&&n.getViewOfSeriesModel(i),o=Rl("update",i,0);r&&i.isAnimationEnabled()&&o&&o.duration>0&&r.group.traverse((function(t){t instanceof Ba&&!t.animators.length&&t.animateFrom({style:{opacity:0}},o)}))}))}function $J(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function HJ(t){return Object(s["t"])(t)?t.sort().join(","):t}function GJ(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function WJ(t,e){var n=Object(s["f"])(),i=Object(s["f"])(),r=Object(s["f"])();return Object(s["k"])(t.oldSeries,(function(e,n){var o=t.oldData[n],a=$J(e),l=HJ(a);i.set(l,o),Object(s["t"])(a)&&Object(s["k"])(a,(function(t){r.set(t,{data:o,key:l})}))})),Object(s["k"])(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.getData(),o=$J(t),a=HJ(o),l=i.get(a);if(l)n.set(a,{oldSeries:[{divide:GJ(l),data:l}],newSeries:[{divide:GJ(e),data:e}]});else if(Object(s["t"])(o)){0;var u=[];Object(s["k"])(o,(function(t){var e=i.get(t);e&&u.push({divide:GJ(e),data:e})})),u.length&&n.set(a,{oldSeries:u,newSeries:[{data:e,divide:GJ(e)}]})}else{var c=r.get(o);if(c){var h=n.get(c.key);h||(h={oldSeries:[{data:c.data,divide:GJ(c.data)}],newSeries:[]},n.set(c.key,h)),h.newSeries.push({data:e,divide:GJ(e)})}}}})),n}function UJ(t,e){for(var n=0;n<t.length;n++){var i=null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id;if(i)return n}}function YJ(t,e,n,i){var r=[],o=[];Object(s["k"])(ir(t.from),(function(t){var n=UJ(e.oldSeries,t);n>=0&&r.push({data:e.oldData[n],divide:GJ(e.oldData[n]),dim:t.dimension})})),Object(s["k"])(ir(t.to),(function(t){var e=UJ(n.updatedSeries,t);if(e>=0){var i=n.updatedSeries[e].getData();o.push({data:i,divide:GJ(i),dim:t.dimension})}})),r.length>0&&o.length>0&&qJ(r,o,i)}function XJ(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){Object(s["k"])(ir(n.seriesTransition),(function(t){Object(s["k"])(ir(t.to),(function(t){for(var e=n.updatedSeries,i=0;i<e.length;i++)(null!=t.seriesIndex&&t.seriesIndex===e[i].seriesIndex||null!=t.seriesId&&t.seriesId===e[i].id)&&(e[i][hf]=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var i=LJ(e);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)Object(s["k"])(ir(r),(function(t){YJ(t,i,n,e)}));else{var o=WJ(i,n);Object(s["k"])(o.keys(),(function(t){var n=o.get(t);qJ(n.oldSeries,n.newSeries,e)}))}Object(s["k"])(n.updatedSeries,(function(t){t[hf]&&(t[hf]=!1)}))}for(var a=t.getSeries(),l=i.oldSeries=[],u=i.oldData=[],c=0;c<a.length;c++){var h=a[c].getData();h.count()<DJ&&(l.push(a[c]),u.push(h))}}))}function KJ(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function ZJ(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:KJ(i&&i.shape.points)}}var QJ=["align","verticalAlign","width","height","fontSize"],JJ=new Ln,t0=kr(),e0=kr();function n0(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var i0=["x","y","rotation"],r0=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var o=i.style,a=i.__hostTarget,s=a.textConfig||{},l=i.getComputedTransform(),u=i.getBoundingRect().plain();Wn.applyTransform(u,u,l),l?JJ.setLocalTransform(l):(JJ.x=JJ.y=JJ.rotation=JJ.originX=JJ.originY=0,JJ.scaleX=JJ.scaleY=1);var c,h=i.__hostTarget;if(h){c=h.getBoundingRect().plain();var d=h.getComputedTransform();Wn.applyTransform(c,c,d)}var p=c&&h.getTextGuideLine();this._labelList.push({label:i,labelLine:p,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:p&&p.ignore,x:JJ.x,y:JJ.y,scaleX:JJ.scaleX,scaleY:JJ.scaleY,rotation:JJ.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:i.cursor,attachedPos:s.position,attachedRot:s.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(Object(s["w"])(i)||Object(s["F"])(i).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=bs(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,i)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){Dk(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],a=o.label,l=a.__hostTarget,u=o.defaultAttr,c=void 0;c=Object(s["w"])(o.layoutOption)?o.layoutOption(ZJ(o,l)):o.layoutOption,c=c||{},o.computedLayoutOption=c;var h=Math.PI/180;l&&l.setTextConfig({local:!1,position:null!=c.x||null!=c.y?null:u.attachedPos,rotation:null!=c.rotate?c.rotate*h:u.attachedRot,offset:[c.dx||0,c.dy||0]});var d=!1;if(null!=c.x?(a.x=Pi(c.x,e),a.setStyle("x",0),d=!0):(a.x=u.x,a.setStyle("x",u.style.x)),null!=c.y?(a.y=Pi(c.y,n),a.setStyle("y",0),d=!0):(a.y=u.y,a.setStyle("y",u.style.y)),c.labelLinePoints){var p=l.getTextGuideLine();p&&(p.setShape({points:c.labelLinePoints}),d=!1)}var f=t0(a);f.needsUpdateLabelLine=d,a.rotation=null!=c.rotate?c.rotate*h:u.rotation,a.scaleX=u.scaleX,a.scaleY=u.scaleY;for(var g=0;g<QJ.length;g++){var m=QJ[g];a.setStyle(m,null!=c[m]?c[m]:u.style[m])}if(c.draggable){if(a.draggable=!0,a.cursor="move",l){var v=o.seriesModel;if(null!=o.dataIndex){var y=o.seriesModel.getData(o.dataType);v=y.getItemModel(o.dataIndex)}a.on("drag",i(l,v.getModel("labelLine")))}}else a.off("drag"),a.cursor=u.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),i=qk(this._labelList),r=Object(s["n"])(i,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),o=Object(s["n"])(i,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));Hk(r,0,e),Gk(o,0,n);var a=Object(s["n"])(i,(function(t){return t.layoutOption.hideOverlap}));Wk(a)},t.prototype.processLabelsOverall=function(){var t=this;Object(s["k"])(this._chartViewList,(function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!i,a=e.getTextContent();!o&&a&&(o=t0(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=bs(t),r=i.dataIndex;if(n&&null!=r){var o=e.getData(i.dataType),a=o.getItemModel(r),s={},l=o.getItemVisual(r,"style"),u=o.getVisual("drawType");s.stroke=l[u];var c=a.getModel("labelLine");zk(t,Vk(a),s),Dk(t,c)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!zl(t))){var r=t0(n),o=r.oldLayout,a=bs(t),l=a.dataIndex,u={x:n.x,y:n.y,rotation:n.rotation},c=e.getData(a.dataType);if(o){n.attr(o);var h=t.prevStates;h&&(Object(s["r"])(h,"select")>=0&&n.attr(r.oldLayoutSelect),Object(s["r"])(h,"emphasis")>=0&&n.attr(r.oldLayoutEmphasis)),Nl(n,u,e,l)}else if(n.attr(u),!au(n).valueAnimation){var d=Object(s["P"])(n.style.opacity,1);n.style.opacity=0,Fl(n,{style:{opacity:d}},e,l)}if(r.oldLayout=u,n.states.select){var p=r.oldLayoutSelect={};n0(p,u,i0),n0(p,n.states.select,i0)}if(n.states.emphasis){var f=r.oldLayoutEmphasis={};n0(f,u,i0),n0(f,n.states.emphasis,i0)}lu(n,l,c,e,e)}if(i&&!i.ignore&&!i.invisible){r=e0(i),o=r.oldLayout;var g={points:i.shape.points};o?(i.attr({shape:o}),Nl(i,{shape:g},e)):(i.setShape(g),i.style.strokePercent=0,Fl(i,{style:{strokePercent:1}},e)),r.oldLayout=g}},t}(),o0=r0,a0=kr();function s0(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=a0(e).labelManager;i||(i=a0(e).labelManager=new o0),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=a0(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}A_([V_]),A_([fw]),A_([fC,hk,uM,uA,IA,HP,qE,mL,Dj,$j,tR,oN,BN,nF,AF,BF,az,vz,Uz,iV,wV,Zq]),A_(X$),A_(VH),A_($P),A_(pG),A_(rN),A_(SG),A_(VG),A_(kU),A_(sY),A_(Y$),A_(VY),A_(HY),A_(pX),A_(FX),A_(ZX),A_(cK),A_(FK),A_(_Z),A_(nZ),A_(bZ),A_(mQ),A_(lQ),A_(gQ),A_(wQ),A_(FQ),A_(qQ),A_(XJ),A_(s0)},"342f":function(t,e,n){var i=n("d066");t.exports=i("navigator","userAgent")||""},"349c":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,n){return s(this,e),t=t.toUpperCase(),n.mod43&&(t+=g(v(t))),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return u(e,t),i(e,[{key:"encode",value:function(){for(var t=p("*"),e=0;e<this.data.length;e++)t+=p(this.data[e])+"0";return t+=p("*"),{data:t,text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),e}(o.default),h=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],d=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function p(t){return f(m(t))}function f(t){return d[t].toString(2)}function g(t){return h[t]}function m(t){return h.indexOf(t)}function v(t){for(var e=0,n=0;n<t.length;n++)e+=m(t[n]);return e%=43,e}e.CODE39=c},"34fc":function(t,e,n){const i=n("7a43"),r=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){case i.L:return r[4*(t-1)+0];case i.M:return r[4*(t-1)+1];case i.Q:return r[4*(t-1)+2];case i.H:return r[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case i.L:return o[4*(t-1)+0];case i.M:return o[4*(t-1)+1];case i.Q:return o[4*(t-1)+2];case i.H:return o[4*(t-1)+3];default:return}}},"35a1":function(t,e,n){var i=n("f5df"),r=n("dc4a"),o=n("3f8c"),a=n("b622"),s=a("iterator");t.exports=function(t){if(void 0!=t)return r(t,s)||r(t,"@@iterator")||o[i(t)]}},3627:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));const i=["left","right","up","down","horizontal","vertical"],r={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0,all:!0};function o(t){const e={};return i.forEach((n=>{t[n]&&(e[n]=!0)})),0===Object.keys(e).length?r:(!0===e.horizontal&&(e.left=e.right=!0),!0===e.vertical&&(e.up=e.down=!0),!0===e.left&&!0===e.right&&(e.horizontal=!0),!0===e.up&&!0===e.down&&(e.vertical=!0),!0===e.horizontal&&!0===e.vertical&&(e.all=!0),e)}function a(t,e){return void 0===e.event&&void 0!==t.target&&!0!==t.target.draggable&&"function"===typeof e.handler&&"INPUT"!==t.target.nodeName.toUpperCase()&&(void 0===t.qClonedBy||-1===t.qClonedBy.indexOf(e.uid))}},"37e8":function(t,e,n){var i=n("83ab"),r=n("aed9"),o=n("9bf2"),a=n("825a"),s=n("fc6a"),l=n("df75");e.f=i&&!r?Object.defineProperties:function(t,e){a(t);var n,i=s(e),r=l(e),u=r.length,c=0;while(u>c)o.f(t,n=r[c++],i[n]);return t}},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},3934:function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},3980:function(t,e,n){"use strict";var i=n("2b0e"),r=n("d882"),o=n("0967"),a={data(){return{canRender:!o["f"]}},mounted(){!1===this.canRender&&(this.canRender=!0)}},s=n("0cd3");e["a"]=i["a"].extend({name:"QResizeObserver",mixins:[a],props:{debounce:{type:[String,Number],default:100}},data(){return!0===this.hasObserver?{}:{url:!0===this.$q.platform.is.ie?null:"about:blank"}},methods:{trigger(t){!0===t||0===this.debounce||"0"===this.debounce?this.__emit():null===this.timer&&(this.timer=setTimeout(this.__emit,this.debounce))},__emit(){if(null!==this.timer&&(clearTimeout(this.timer),this.timer=null),!this.$el||!this.$el.parentNode)return;const t=this.$el.parentNode,e={width:t.offsetWidth,height:t.offsetHeight};e.width===this.size.width&&e.height===this.size.height||(this.size=e,this.$emit("resize",this.size))},__cleanup(){void 0!==this.curDocView&&(void 0!==this.curDocView.removeEventListener&&this.curDocView.removeEventListener("resize",this.trigger,r["f"].passive),this.curDocView=void 0)},__onObjLoad(){this.__cleanup(),this.$el.contentDocument&&(this.curDocView=this.$el.contentDocument.defaultView,this.curDocView.addEventListener("resize",this.trigger,r["f"].passive)),this.__emit()}},render(t){if(!1!==this.canRender&&!0!==this.hasObserver)return t("object",{style:this.style,attrs:{tabindex:-1,type:"text/html",data:this.url,"aria-hidden":"true"},on:Object(s["b"])(this,"load",{load:this.__onObjLoad})})},beforeCreate(){this.size={width:-1,height:-1},!0!==o["e"]&&(this.hasObserver="undefined"!==typeof ResizeObserver,!0!==this.hasObserver&&(this.style=(this.$q.platform.is.ie?"visibility:hidden;":"")+"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;"))},mounted(){if(this.timer=null,!0===this.hasObserver)return this.observer=new ResizeObserver(this.trigger),this.observer.observe(this.$el.parentNode),void this.__emit();!0===this.$q.platform.is.ie?(this.url="about:blank",this.__emit()):this.__onObjLoad()},beforeDestroy(){clearTimeout(this.timer),!0!==this.hasObserver?this.__cleanup():void 0!==this.observer&&this.$el.parentNode&&this.observer.unobserve(this.$el.parentNode)}})},"3a9b":function(t,e,n){var i=n("e330");t.exports=i({}.isPrototypeOf)},"3b16":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("9c40"),o=n("27f9"),a=n("b7fa"),s=n("87e8"),l=n("d882"),u=n("7937"),c=n("d728"),h=n("0cd3");e["a"]=i["a"].extend({name:"QPagination",mixins:[a["a"],s["a"]],props:{value:{type:Number,required:!0},min:{type:Number,default:1},max:{type:Number,required:!0},color:{type:String,default:"primary"},textColor:String,activeColor:String,activeTextColor:String,inputStyle:[Array,String,Object],inputClass:[Array,String,Object],size:String,disable:Boolean,input:Boolean,iconPrev:String,iconNext:String,iconFirst:String,iconLast:String,toFn:Function,boundaryLinks:{type:Boolean,default:null},boundaryNumbers:{type:Boolean,default:null},directionLinks:{type:Boolean,default:null},ellipses:{type:Boolean,default:null},maxPages:{type:Number,default:0,validator:t=>t>=0},ripple:{type:[Boolean,Object],default:null},round:Boolean,rounded:Boolean,flat:Boolean,outline:Boolean,unelevated:Boolean,push:Boolean,glossy:Boolean,dense:Boolean,padding:{type:String,default:"3px 2px"}},data(){return{newPage:null}},watch:{min(){this.model=this.value},max(){this.model=this.value}},computed:{model:{get(){return this.value},set(t){if(t=parseInt(t,10),this.disable||isNaN(t))return;const e=Object(u["a"])(t,this.min,this.max);this.$emit("input",e)}},inputPlaceholder(){return this.model+" / "+this.max},__boundaryLinks(){return this.__getBool(this.boundaryLinks,this.input)},__boundaryNumbers(){return this.__getBool(this.boundaryNumbers,!this.input)},__directionLinks(){return this.__getBool(this.directionLinks,this.input)},__ellipses(){return this.__getBool(this.ellipses,!this.input)},icons(){const t=[this.iconFirst||this.$q.iconSet.pagination.first,this.iconPrev||this.$q.iconSet.pagination.prev,this.iconNext||this.$q.iconSet.pagination.next,this.iconLast||this.$q.iconSet.pagination.last];return!0===this.$q.lang.rtl?t.reverse():t},attrs(){if(!0===this.disable)return{"aria-disabled":"true"}},btnProps(){return{round:this.round,rounded:this.rounded,outline:this.outline,unelevated:this.unelevated,push:this.push,glossy:this.glossy,dense:this.dense,padding:this.padding,color:this.color,flat:!0,size:this.size,ripple:null===this.ripple||this.ripple}},activeBtnProps(){return{flat:this.flat,color:this.activeColor||this.color,textColor:this.activeTextColor||this.textColor}}},methods:{set(t){this.model=t},setByOffset(t){this.model=this.model+t},__update(){this.model=this.newPage,this.newPage=null},__getBool(t,e){return[!0,!1].includes(t)?t:e},__getBtn(t,e,n,i){return e.props={...this.btnProps,...n},void 0!==i&&(void 0!==this.toFn?e.props.to=this.toFn(i):e.on={click:()=>this.set(i)}),t(r["a"],e)}},render(t){const e=[],n=[],i=[];if(this.__boundaryLinks&&(e.push(this.__getBtn(t,{key:"bls"},{disable:this.disable||this.value<=this.min,icon:this.icons[0]},this.min)),n.unshift(this.__getBtn(t,{key:"ble"},{disable:this.disable||this.value>=this.max,icon:this.icons[3]},this.max))),this.__directionLinks&&(e.push(this.__getBtn(t,{key:"bdp"},{disable:this.disable||this.value<=this.min,icon:this.icons[1]},this.value-1)),n.unshift(this.__getBtn(t,{key:"bdn"},{disable:this.disable||this.value>=this.max,icon:this.icons[2]},this.value+1))),!0===this.input)i.push(t(o["a"],{staticClass:"inline",style:{width:this.inputPlaceholder.length/1.5+"em"},props:{type:"number",dense:!0,value:this.newPage,disable:this.disable,dark:this.isDark,borderless:!0,inputClass:this.inputClass,inputStyle:this.inputStyle},attrs:{placeholder:this.inputPlaceholder,min:this.min,max:this.max},on:Object(h["b"])(this,"inp",{input:t=>{this.newPage=t},keyup:t=>{!0===Object(c["a"])(t,13)&&this.__update()},blur:this.__update})}));else{let r=Math.max(this.maxPages,1+(this.__ellipses?2:0)+(this.__boundaryNumbers?2:0)),o=this.min,a=this.max,s=!1,l=!1,u=!1,c=!1;this.maxPages&&r<this.max-this.min+1&&(r=1+2*Math.floor(r/2),o=Math.max(this.min,Math.min(this.max-r+1,this.value-Math.floor(r/2))),a=Math.min(this.max,o+r-1),this.__boundaryNumbers&&(u=!0,o+=1),this.__ellipses&&o>this.min+(this.__boundaryNumbers?1:0)&&(s=!0,o+=1),this.__boundaryNumbers&&(c=!0,a-=1),this.__ellipses&&a<this.max-(this.__boundaryNumbers?1:0)&&(l=!0,a-=1));const h={minWidth:`${Math.max(2,String(this.max).length)}em`};if(u){const n=this.min===this.value,i={disable:this.disable,flat:!n,label:this.min};n&&(i.color=this.activeColor||this.color,i.textColor=this.activeTextColor||this.textColor),e.push(this.__getBtn(t,{key:"bns",style:h},i,this.min))}if(c){const e=this.max===this.value,i={disable:this.disable,flat:!e,label:this.max};e&&(i.color=this.activeColor||this.color,i.textColor=this.activeTextColor||this.textColor),n.unshift(this.__getBtn(t,{key:"bne",style:h},i,this.max))}s&&e.push(this.__getBtn(t,{key:"bes",style:h},{disable:this.disable,label:"…",ripple:!1},o-1)),l&&n.unshift(this.__getBtn(t,{key:"bee",style:h},{disable:this.disable,label:"…",ripple:!1},a+1));for(let e=o;e<=a;e++){const n={disable:this.disable,flat:!0,label:e};e===this.value&&Object.assign(n,this.activeBtnProps),i.push(this.__getBtn(t,{key:`bpg${e}`,style:h},n,e))}}return t("div",{staticClass:"q-pagination row no-wrap items-center",class:{disabled:this.disable},attrs:this.attrs,on:{...this.qListeners}},[e,t("div",{staticClass:"row justify-center",on:!0===this.input?Object(h["b"])(this,"stop",{input:l["k"]}):null},[i]),n])}})},"3b73":function(t,e,n){"use strict";var i=n("2b0e"),r=n("66e5"),o=n("4074"),a=n("0170"),s=n("0016"),l=n("dde5"),u=n("0cd3"),c=i["a"].extend({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},methods:{__begin(t,e,n){t.style.overflowY="hidden",void 0!==e&&(t.style.height=`${e}px`),t.style.transition=`height ${this.duration}ms cubic-bezier(.25, .8, .50, 1)`,this.animating=!0,this.done=n},__end(t,e){t.style.overflowY=null,t.style.height=null,t.style.transition=null,this.__cleanup(),e!==this.lastEvent&&this.$emit(e)},__cleanup(){this.done&&this.done(),this.done=null,this.animating=!1,clearTimeout(this.timer),clearTimeout(this.timerFallback),void 0!==this.el&&this.el.removeEventListener("transitionend",this.animListener),this.animListener=null}},beforeDestroy(){this.animating&&this.__cleanup()},render(t){return t("transition",{props:{css:!1,appear:this.appear},on:Object(u["b"])(this,"tr",{enter:(t,e)=>{let n=0;this.el=t,!0===this.animating?(this.__cleanup(),n=t.offsetHeight===t.scrollHeight?0:void 0):this.lastEvent="hide",this.__begin(t,n,e),this.timer=setTimeout((()=>{t.style.height=`${t.scrollHeight}px`,this.animListener=e=>{Object(e)===e&&e.target!==t||this.__end(t,"show")},t.addEventListener("transitionend",this.animListener),this.timerFallback=setTimeout(this.animListener,1.1*this.duration)}),100)},leave:(t,e)=>{let n;this.el=t,!0===this.animating?this.__cleanup():(this.lastEvent="show",n=t.scrollHeight),this.__begin(t,n,e),this.timer=setTimeout((()=>{t.style.height=0,this.animListener=e=>{Object(e)===e&&e.target!==t||this.__end(t,"hide")},t.addEventListener("transitionend",this.animListener),this.timerFallback=setTimeout(this.animListener,1.1*this.duration)}),100)}})},Object(l["c"])(this,"default"))}}),h=n("eb85"),d=n("8716"),p=n("7ee0"),f=n("b7fa"),g=n("d882");const m="q:expansion-item:close";e["a"]=i["a"].extend({name:"QExpansionItem",mixins:[f["a"],d["a"],p["a"]],props:{icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:Number,headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},data(){return{showing:void 0!==this.value?this.value:this.defaultOpened}},watch:{showing(t){!0===t&&void 0!==this.group&&this.$root.$emit(m,this)},group(t,e){void 0!==t&&void 0===e?this.$root.$on(m,this.__eventHandler):void 0===t&&void 0!==e&&this.$root.$off(m,this.__eventHandler)}},computed:{classes(){return"q-expansion-item--"+(!0===this.showing?"expanded":"collapsed")+" q-expansion-item--"+(!0===this.popup?"popup":"standard")},contentStyle(){if(void 0!==this.contentInsetLevel){const t=!0===this.$q.lang.rtl?"Right":"Left";return{["padding"+t]:56*this.contentInsetLevel+"px"}}},isClickable(){return!0===this.hasLink||!0!==this.expandIconToggle},expansionIcon(){return void 0!==this.expandedIcon&&!0===this.showing?this.expandedIcon:this.expandIcon||this.$q.iconSet.expansionItem[!0===this.denseToggle?"denseIcon":"icon"]},activeToggleIcon(){return!0!==this.disable&&(!0===this.hasLink||!0===this.expandIconToggle)}},methods:{__onHeaderClick(t){!0!==this.hasLink&&this.toggle(t),this.$emit("click",t)},__toggleIconKeyboard(t){13===t.keyCode&&this.__toggleIcon(t,!0)},__toggleIcon(t,e){!0!==e&&void 0!==this.$refs.blurTarget&&this.$refs.blurTarget.focus(),this.toggle(t),Object(g["l"])(t)},__eventHandler(t){this!==t&&this.group===t.group&&this.hide()},__getToggleIcon(t){const e={staticClass:"q-focusable relative-position cursor-pointer"+(!0===this.denseToggle&&!0===this.switchToggleSide?" items-end":""),class:this.expandIconClass,props:{side:!0!==this.switchToggleSide,avatar:this.switchToggleSide}},n=[t(s["a"],{staticClass:"q-expansion-item__toggle-icon",class:void 0===this.expandedIcon&&!0===this.showing?"q-expansion-item__toggle-icon--rotated":void 0,props:{name:this.expansionIcon}})];return!0===this.activeToggleIcon&&(Object.assign(e,{attrs:{tabindex:0},on:Object(u["b"])(this,"inpExt",{click:this.__toggleIcon,keyup:this.__toggleIconKeyboard})}),n.unshift(t("div",{ref:"blurTarget",staticClass:"q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",attrs:{tabindex:-1}}))),t(o["a"],e,n)},__getHeader(t){let e;void 0!==this.$scopedSlots.header?e=[].concat(this.$scopedSlots.header()):(e=[t(o["a"],[t(a["a"],{props:{lines:this.labelLines}},[this.label||""]),this.caption?t(a["a"],{props:{lines:this.captionLines,caption:!0}},[this.caption]):null])],this.icon&&e[!0===this.switchToggleSide?"push":"unshift"](t(o["a"],{props:{side:!0===this.switchToggleSide,avatar:!0!==this.switchToggleSide}},[t(s["a"],{props:{name:this.icon}})]))),!0!==this.disable&&e[!0===this.switchToggleSide?"unshift":"push"](this.__getToggleIcon(t));const n={ref:"item",style:this.headerStyle,class:this.headerClass,props:{dark:this.isDark,disable:this.disable,dense:this.dense,insetLevel:this.headerInsetLevel}};return!0===this.isClickable&&(n.props.clickable=!0,n[!0===this.hasRouterLink?"nativeOn":"on"]={...this.qListeners,click:this.__onHeaderClick},!0===this.hasLink&&(Object.assign(n.props,this.linkProps.props),n.attrs=this.linkProps.attrs)),t(r["a"],n,e)},__getContent(t){const e=[this.__getHeader(t),t(c,{props:{duration:this.duration},on:Object(u["b"])(this,"slide",{show:()=>{this.$emit("after-show")},hide:()=>{this.$emit("after-hide")}})},[t("div",{staticClass:"q-expansion-item__content relative-position",style:this.contentStyle,directives:[{name:"show",value:this.showing}]},Object(l["c"])(this,"default"))])];return this.expandSeparator&&e.push(t(h["a"],{staticClass:"q-expansion-item__border q-expansion-item__border--top absolute-top",props:{dark:this.isDark}}),t(h["a"],{staticClass:"q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",props:{dark:this.isDark}})),e}},render(t){return t("div",{staticClass:"q-expansion-item q-item-type",class:this.classes},[t("div",{staticClass:"q-expansion-item__container relative-position"},this.__getContent(t))])},created(){void 0!==this.group&&this.$root.$on(m,this.__eventHandler)},beforeDestroy(){void 0!==this.group&&this.$root.$off(m,this.__eventHandler)}})},"3bbe":function(t,e,n){var i=n("1626"),r=String,o=TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw o("Can't set "+r(t)+" as a prototype")}},"3c5d":function(t,e,n){"use strict";var i=n("da84"),r=n("c65b"),o=n("ebb5"),a=n("07fa"),s=n("182d"),l=n("7b0b"),u=n("d039"),c=i.RangeError,h=i.Int8Array,d=h&&h.prototype,p=d&&d.set,f=o.aTypedArray,g=o.exportTypedArrayMethod,m=!u((function(){var t=new Uint8ClampedArray(2);return r(p,t,{length:1,0:3},1),3!==t[1]})),v=m&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var t=new h(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));g("set",(function(t){f(this);var e=s(arguments.length>1?arguments[1]:void 0,1),n=l(t);if(m)return r(p,this,n,e);var i=this.length,o=a(n),u=0;if(o+e>i)throw c("Wrong length");while(u<o)this[e+u]=n[u++]}),!m||v)},"3ca3":function(t,e,n){"use strict";var i=n("6547").charAt,r=n("577e"),o=n("69f3"),a=n("7dd0"),s="String Iterator",l=o.set,u=o.getterFor(s);a(String,"String",(function(t){l(this,{type:s,string:r(t),index:0})}),(function(){var t,e=u(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=i(n,r),e.index+=t.length,{value:t,done:!1})}))},"3d69":function(t,e,n){"use strict";var i=n("714f");e["a"]={directives:{Ripple:i["a"]},props:{ripple:{type:[Boolean,Object],default:!0}}}},"3f8c":function(t,e){t.exports={}},4002:function(t,e,n){"use strict";n("3ca3");var i,r=n("23e7"),o=n("83ab"),a=n("0d3b"),s=n("da84"),l=n("0366"),u=n("e330"),c=n("cb2d"),h=n("edd0"),d=n("19aa"),p=n("1a2d"),f=n("60da"),g=n("4df4"),m=n("4dae"),v=n("6547").codeAt,y=n("5fb2"),b=n("577e"),_=n("d44e"),x=n("d6d6"),w=n("5352"),S=n("69f3"),C=S.set,k=S.getterFor("URL"),M=w.URLSearchParams,O=w.getState,T=s.URL,A=s.TypeError,I=s.parseInt,P=Math.floor,E=Math.pow,D=u("".charAt),L=u(/./.exec),j=u([].join),R=u(1..toString),B=u([].pop),N=u([].push),F=u("".replace),z=u([].shift),V=u("".split),q=u("".slice),$=u("".toLowerCase),H=u([].unshift),G="Invalid authority",W="Invalid scheme",U="Invalid host",Y="Invalid port",X=/[a-z]/i,K=/[\d+-.a-z]/i,Z=/\d/,Q=/^0x/i,J=/^[0-7]+$/,tt=/^\d+$/,et=/^[\da-f]+$/i,nt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,it=/[\0\t\n\r #/:<>?@[\\\]^|]/,rt=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ot=/[\t\n\r]/g,at=function(t){var e,n,i,r,o,a,s,l=V(t,".");if(l.length&&""==l[l.length-1]&&l.length--,e=l.length,e>4)return t;for(n=[],i=0;i<e;i++){if(r=l[i],""==r)return t;if(o=10,r.length>1&&"0"==D(r,0)&&(o=L(Q,r)?16:8,r=q(r,8==o?1:2)),""===r)a=0;else{if(!L(10==o?tt:8==o?J:et,r))return t;a=I(r,o)}N(n,a)}for(i=0;i<e;i++)if(a=n[i],i==e-1){if(a>=E(256,5-e))return null}else if(a>255)return null;for(s=B(n),i=0;i<n.length;i++)s+=n[i]*E(256,3-i);return s},st=function(t){var e,n,i,r,o,a,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,h=0,d=function(){return D(t,h)};if(":"==d()){if(":"!=D(t,1))return;h+=2,u++,c=u}while(d()){if(8==u)return;if(":"!=d()){e=n=0;while(n<4&&L(et,d()))e=16*e+I(d(),16),h++,n++;if("."==d()){if(0==n)return;if(h-=n,u>6)return;i=0;while(d()){if(r=null,i>0){if(!("."==d()&&i<4))return;h++}if(!L(Z,d()))return;while(L(Z,d())){if(o=I(d(),10),null===r)r=o;else{if(0==r)return;r=10*r+o}if(r>255)return;h++}l[u]=256*l[u]+r,i++,2!=i&&4!=i||u++}if(4!=i)return;break}if(":"==d()){if(h++,!d())return}else if(d())return;l[u++]=e}else{if(null!==c)return;h++,u++,c=u}}if(null!==c){a=u-c,u=7;while(0!=u&&a>0)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s}else if(8!=u)return;return l},lt=function(t){for(var e=null,n=1,i=null,r=0,o=0;o<8;o++)0!==t[o]?(r>n&&(e=i,n=r),i=null,r=0):(null===i&&(i=o),++r);return r>n&&(e=i,n=r),e},ut=function(t){var e,n,i,r;if("number"==typeof t){for(e=[],n=0;n<4;n++)H(e,t%256),t=P(t/256);return j(e,".")}if("object"==typeof t){for(e="",i=lt(t),n=0;n<8;n++)r&&0===t[n]||(r&&(r=!1),i===n?(e+=n?":":"::",r=!0):(e+=R(t[n],16),n<7&&(e+=":")));return"["+e+"]"}return t},ct={},ht=f({},ct,{" ":1,'"':1,"<":1,">":1,"`":1}),dt=f({},ht,{"#":1,"?":1,"{":1,"}":1}),pt=f({},dt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ft=function(t,e){var n=v(t,0);return n>32&&n<127&&!p(e,t)?t:encodeURIComponent(t)},gt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},mt=function(t,e){var n;return 2==t.length&&L(X,D(t,0))&&(":"==(n=D(t,1))||!e&&"|"==n)},vt=function(t){var e;return t.length>1&&mt(q(t,0,2))&&(2==t.length||"/"===(e=D(t,2))||"\\"===e||"?"===e||"#"===e)},yt=function(t){return"."===t||"%2e"===$(t)},bt=function(t){return t=$(t),".."===t||"%2e."===t||".%2e"===t||"%2e%2e"===t},_t={},xt={},wt={},St={},Ct={},kt={},Mt={},Ot={},Tt={},At={},It={},Pt={},Et={},Dt={},Lt={},jt={},Rt={},Bt={},Nt={},Ft={},zt={},Vt=function(t,e,n){var i,r,o,a=b(t);if(e){if(r=this.parse(a),r)throw A(r);this.searchParams=null}else{if(void 0!==n&&(i=new Vt(n,!0)),r=this.parse(a,null,i),r)throw A(r);o=O(new M),o.bindURL(this),this.searchParams=o}};Vt.prototype={type:"URL",parse:function(t,e,n){var r,o,a,s,l=this,u=e||_t,c=0,h="",d=!1,f=!1,v=!1;t=b(t),e||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,t=F(t,rt,"")),t=F(t,ot,""),r=g(t);while(c<=r.length){switch(o=r[c],u){case _t:if(!o||!L(X,o)){if(e)return W;u=wt;continue}h+=$(o),u=xt;break;case xt:if(o&&(L(K,o)||"+"==o||"-"==o||"."==o))h+=$(o);else{if(":"!=o){if(e)return W;h="",u=wt,c=0;continue}if(e&&(l.isSpecial()!=p(gt,h)||"file"==h&&(l.includesCredentials()||null!==l.port)||"file"==l.scheme&&!l.host))return;if(l.scheme=h,e)return void(l.isSpecial()&>[l.scheme]==l.port&&(l.port=null));h="","file"==l.scheme?u=Dt:l.isSpecial()&&n&&n.scheme==l.scheme?u=St:l.isSpecial()?u=Ot:"/"==r[c+1]?(u=Ct,c++):(l.cannotBeABaseURL=!0,N(l.path,""),u=Nt)}break;case wt:if(!n||n.cannotBeABaseURL&&"#"!=o)return W;if(n.cannotBeABaseURL&&"#"==o){l.scheme=n.scheme,l.path=m(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,u=zt;break}u="file"==n.scheme?Dt:kt;continue;case St:if("/"!=o||"/"!=r[c+1]){u=kt;continue}u=Tt,c++;break;case Ct:if("/"==o){u=At;break}u=Bt;continue;case kt:if(l.scheme=n.scheme,o==i)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query=n.query;else if("/"==o||"\\"==o&&l.isSpecial())u=Mt;else if("?"==o)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query="",u=Ft;else{if("#"!=o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.path.length--,u=Bt;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query=n.query,l.fragment="",u=zt}break;case Mt:if(!l.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,u=Bt;continue}u=At}else u=Tt;break;case Ot:if(u=Tt,"/"!=o||"/"!=D(h,c+1))continue;c++;break;case Tt:if("/"!=o&&"\\"!=o){u=At;continue}break;case At:if("@"==o){d&&(h="%40"+h),d=!0,a=g(h);for(var y=0;y<a.length;y++){var _=a[y];if(":"!=_||v){var x=ft(_,pt);v?l.password+=x:l.username+=x}else v=!0}h=""}else if(o==i||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()){if(d&&""==h)return G;c-=g(h).length+1,h="",u=It}else h+=o;break;case It:case Pt:if(e&&"file"==l.scheme){u=jt;continue}if(":"!=o||f){if(o==i||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()){if(l.isSpecial()&&""==h)return U;if(e&&""==h&&(l.includesCredentials()||null!==l.port))return;if(s=l.parseHost(h),s)return s;if(h="",u=Rt,e)return;continue}"["==o?f=!0:"]"==o&&(f=!1),h+=o}else{if(""==h)return U;if(s=l.parseHost(h),s)return s;if(h="",u=Et,e==Pt)return}break;case Et:if(!L(Z,o)){if(o==i||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()||e){if(""!=h){var w=I(h,10);if(w>65535)return Y;l.port=l.isSpecial()&&w===gt[l.scheme]?null:w,h=""}if(e)return;u=Rt;continue}return Y}h+=o;break;case Dt:if(l.scheme="file","/"==o||"\\"==o)u=Lt;else{if(!n||"file"!=n.scheme){u=Bt;continue}if(o==i)l.host=n.host,l.path=m(n.path),l.query=n.query;else if("?"==o)l.host=n.host,l.path=m(n.path),l.query="",u=Ft;else{if("#"!=o){vt(j(m(r,c),""))||(l.host=n.host,l.path=m(n.path),l.shortenPath()),u=Bt;continue}l.host=n.host,l.path=m(n.path),l.query=n.query,l.fragment="",u=zt}}break;case Lt:if("/"==o||"\\"==o){u=jt;break}n&&"file"==n.scheme&&!vt(j(m(r,c),""))&&(mt(n.path[0],!0)?N(l.path,n.path[0]):l.host=n.host),u=Bt;continue;case jt:if(o==i||"/"==o||"\\"==o||"?"==o||"#"==o){if(!e&&mt(h))u=Bt;else if(""==h){if(l.host="",e)return;u=Rt}else{if(s=l.parseHost(h),s)return s;if("localhost"==l.host&&(l.host=""),e)return;h="",u=Rt}continue}h+=o;break;case Rt:if(l.isSpecial()){if(u=Bt,"/"!=o&&"\\"!=o)continue}else if(e||"?"!=o)if(e||"#"!=o){if(o!=i&&(u=Bt,"/"!=o))continue}else l.fragment="",u=zt;else l.query="",u=Ft;break;case Bt:if(o==i||"/"==o||"\\"==o&&l.isSpecial()||!e&&("?"==o||"#"==o)){if(bt(h)?(l.shortenPath(),"/"==o||"\\"==o&&l.isSpecial()||N(l.path,"")):yt(h)?"/"==o||"\\"==o&&l.isSpecial()||N(l.path,""):("file"==l.scheme&&!l.path.length&&mt(h)&&(l.host&&(l.host=""),h=D(h,0)+":"),N(l.path,h)),h="","file"==l.scheme&&(o==i||"?"==o||"#"==o))while(l.path.length>1&&""===l.path[0])z(l.path);"?"==o?(l.query="",u=Ft):"#"==o&&(l.fragment="",u=zt)}else h+=ft(o,dt);break;case Nt:"?"==o?(l.query="",u=Ft):"#"==o?(l.fragment="",u=zt):o!=i&&(l.path[0]+=ft(o,ct));break;case Ft:e||"#"!=o?o!=i&&("'"==o&&l.isSpecial()?l.query+="%27":l.query+="#"==o?"%23":ft(o,ct)):(l.fragment="",u=zt);break;case zt:o!=i&&(l.fragment+=ft(o,ht));break}c++}},parseHost:function(t){var e,n,i;if("["==D(t,0)){if("]"!=D(t,t.length-1))return U;if(e=st(q(t,1,-1)),!e)return U;this.host=e}else if(this.isSpecial()){if(t=y(t),L(nt,t))return U;if(e=at(t),null===e)return U;this.host=e}else{if(L(it,t))return U;for(e="",n=g(t),i=0;i<n.length;i++)e+=ft(n[i],ct);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(gt,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&mt(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,n=t.username,i=t.password,r=t.host,o=t.port,a=t.path,s=t.query,l=t.fragment,u=e+":";return null!==r?(u+="//",t.includesCredentials()&&(u+=n+(i?":"+i:"")+"@"),u+=ut(r),null!==o&&(u+=":"+o)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?a[0]:a.length?"/"+j(a,"/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},setHref:function(t){var e=this.parse(t);if(e)throw A(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new qt(t.path[0]).origin}catch(n){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+ut(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(b(t)+":",_t)},getUsername:function(){return this.username},setUsername:function(t){var e=g(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<e.length;n++)this.username+=ft(e[n],pt)}},getPassword:function(){return this.password},setPassword:function(t){var e=g(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<e.length;n++)this.password+=ft(e[n],pt)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?ut(t):ut(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,It)},getHostname:function(){var t=this.host;return null===t?"":ut(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Pt)},getPort:function(){var t=this.port;return null===t?"":b(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(t=b(t),""==t?this.port=null:this.parse(t,Et))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+j(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Rt))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){t=b(t),""==t?this.query=null:("?"==D(t,0)&&(t=q(t,1)),this.query="",this.parse(t,Ft)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){t=b(t),""!=t?("#"==D(t,0)&&(t=q(t,1)),this.fragment="",this.parse(t,zt)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var qt=function(t){var e=d(this,$t),n=x(arguments.length,1)>1?arguments[1]:void 0,i=C(e,new Vt(t,!1,n));o||(e.href=i.serialize(),e.origin=i.getOrigin(),e.protocol=i.getProtocol(),e.username=i.getUsername(),e.password=i.getPassword(),e.host=i.getHost(),e.hostname=i.getHostname(),e.port=i.getPort(),e.pathname=i.getPathname(),e.search=i.getSearch(),e.searchParams=i.getSearchParams(),e.hash=i.getHash())},$t=qt.prototype,Ht=function(t,e){return{get:function(){return k(this)[t]()},set:e&&function(t){return k(this)[e](t)},configurable:!0,enumerable:!0}};if(o&&(h($t,"href",Ht("serialize","setHref")),h($t,"origin",Ht("getOrigin")),h($t,"protocol",Ht("getProtocol","setProtocol")),h($t,"username",Ht("getUsername","setUsername")),h($t,"password",Ht("getPassword","setPassword")),h($t,"host",Ht("getHost","setHost")),h($t,"hostname",Ht("getHostname","setHostname")),h($t,"port",Ht("getPort","setPort")),h($t,"pathname",Ht("getPathname","setPathname")),h($t,"search",Ht("getSearch","setSearch")),h($t,"searchParams",Ht("getSearchParams")),h($t,"hash",Ht("getHash","setHash"))),c($t,"toJSON",(function(){return k(this).serialize()}),{enumerable:!0}),c($t,"toString",(function(){return k(this).serialize()}),{enumerable:!0}),T){var Gt=T.createObjectURL,Wt=T.revokeObjectURL;Gt&&c(qt,"createObjectURL",l(Gt,T)),Wt&&c(qt,"revokeObjectURL",l(Wt,T))}_(qt,"URL"),r({global:!0,constructor:!0,forced:!a,sham:!o},{URL:qt})},4006:function(t,e,n){const i=n("45be");function r(t,e){const n=t.a/255,i=e+'="'+t.hex+'"';return n<1?i+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':i}function o(t,e,n){let i=t+e;return"undefined"!==typeof n&&(i+=" "+n),i}function a(t,e,n){let i="",r=0,a=!1,s=0;for(let l=0;l<t.length;l++){const u=Math.floor(l%e),c=Math.floor(l/e);u||a||(a=!0),t[l]?(s++,l>0&&u>0&&t[l-1]||(i+=a?o("M",u+n,.5+c+n):o("m",r,0),r=0,a=!1),u+1<e&&t[l+1]||(i+=o("h",s),s=0)):r++}return i}e.render=function(t,e,n){const o=i.getOptions(e),s=t.modules.size,l=t.modules.data,u=s+2*o.margin,c=o.color.light.a?"<path "+r(o.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",h="<path "+r(o.color.dark,"stroke")+' d="'+a(l,s,o.margin)+'"/>',d='viewBox="0 0 '+u+" "+u+'"',p=o.width?'width="'+o.width+'" height="'+o.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+p+d+' shape-rendering="crispEdges">'+c+h+"</svg>\n";return"function"===typeof n&&n(null,f),f}},4074:function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("dde5");e["a"]=i["a"].extend({name:"QItemSection",mixins:[r["a"]],props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},computed:{classes(){const t=this.avatar||this.side||this.thumbnail;return{"q-item__section--top":this.top,"q-item__section--avatar":this.avatar,"q-item__section--thumbnail":this.thumbnail,"q-item__section--side":t,"q-item__section--nowrap":this.noWrap,"q-item__section--main":!t,["justify-"+(this.top?"start":"center")]:!0}}},render(t){return t("div",{staticClass:"q-item__section column",class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"40d5":function(t,e,n){var i=n("d039");t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4146:function(t,e,n){const i=n("45be");function r(t,e,n){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=n,e.width=n,e.style.height=n+"px",e.style.width=n+"px"}function o(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}e.render=function(t,e,n){let a=n,s=e;"undefined"!==typeof a||e&&e.getContext||(a=e,e=void 0),e||(s=o()),a=i.getOptions(a);const l=i.getImageWidth(t.modules.size,a),u=s.getContext("2d"),c=u.createImageData(l,l);return i.qrToImageData(c.data,t,a),r(u,s,l),u.putImageData(c,0,0),s},e.renderToDataURL=function(t,n,i){let r=i;"undefined"!==typeof r||n&&n.getContext||(r=n,n=void 0),r||(r={});const o=e.render(t,n,r),a=r.type||"image/png",s=r.rendererOpts||{};return o.toDataURL(a,s.quality)}},"41ef":function(t,e,n){"use strict";n.d(e,"g",(function(){return v})),n.d(e,"c",(function(){return _})),n.d(e,"a",(function(){return x})),n.d(e,"b",(function(){return w})),n.d(e,"f",(function(){return S})),n.d(e,"e",(function(){return C})),n.d(e,"h",(function(){return k})),n.d(e,"d",(function(){return M}));var i=n("d51b"),r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(t){return t=Math.round(t),t<0?0:t>255?255:t}function a(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function u(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function c(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n){return t+(e-t)*n}function d(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new i["a"](20),g=null;function m(t,e){g&&p(g,e),g=f.put(t,g||e.slice())}function v(t,e){if(t){e=e||[];var n=f.get(t);if(n)return p(e,n);t+="";var i=t.replace(/ /g,"").toLowerCase();if(i in r)return p(e,r[i]),m(t,e),e;var o=i.length;if("#"!==i.charAt(0)){var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var c=i.substr(0,a),h=i.substr(a+1,s-(a+1)).split(","),g=1;switch(c){case"rgba":if(4!==h.length)return 3===h.length?d(e,+h[0],+h[1],+h[2],1):d(e,0,0,0,1);g=u(h.pop());case"rgb":return 3!==h.length?void d(e,0,0,0,1):(d(e,l(h[0]),l(h[1]),l(h[2]),g),m(t,e),e);case"hsla":return 4!==h.length?void d(e,0,0,0,1):(h[3]=u(h[3]),y(h,e),m(t,e),e);case"hsl":return 3!==h.length?void d(e,0,0,0,1):(y(h,e),m(t,e),e);default:return}}d(e,0,0,0,1)}else{if(4===o||5===o){var v=parseInt(i.slice(1,4),16);return v>=0&&v<=4095?(d(e,(3840&v)>>4|(3840&v)>>8,240&v|(240&v)>>4,15&v|(15&v)<<4,5===o?parseInt(i.slice(4),16)/15:1),m(t,e),e):void d(e,0,0,0,1)}if(7===o||9===o){v=parseInt(i.slice(1,7),16);return v>=0&&v<=16777215?(d(e,(16711680&v)>>16,(65280&v)>>8,255&v,9===o?parseInt(i.slice(7),16)/255:1),m(t,e),e):void d(e,0,0,0,1)}}}}function y(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=u(t[1]),r=u(t[2]),a=r<=.5?r*(i+1):r+i-r*i,s=2*r-a;return e=e||[],d(e,o(255*c(s,a,n+1/3)),o(255*c(s,a,n)),o(255*c(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function b(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-h:r===s?e=1/3+c-d:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}function _(t,e){var n=v(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return k(n,4===n.length?"rgba":"rgb")}}function x(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),l=e[r],u=e[a],c=i-r;return n[0]=o(h(l[0],u[0],c)),n[1]=o(h(l[1],u[1],c)),n[2]=o(h(l[2],u[2],c)),n[3]=s(h(l[3],u[3],c)),n}}function w(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),l=v(e[r]),u=v(e[a]),c=i-r,d=k([o(h(l[0],u[0],c)),o(h(l[1],u[1],c)),o(h(l[2],u[2],c)),s(h(l[3],u[3],c))],"rgba");return n?{color:d,leftIndex:r,rightIndex:a,value:i}:d}}function S(t,e,n,i){var r=v(t);if(t)return r=b(r),null!=e&&(r[0]=a(e)),null!=n&&(r[1]=u(n)),null!=i&&(r[2]=u(i)),k(y(r),"rgba")}function C(t,e){var n=v(t);if(n&&null!=e)return n[3]=s(e),k(n,"rgba")}function k(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function M(t,e){var n=v(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}},"429b":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("0016"),o=n("3980"),a=n("463c"),s=n("87e8"),l=n("d882"),u=n("dde5"),c=n("0cd3"),h=n("0831");function d(t,e,n){const i=!0===n?["left","right"]:["top","bottom"];return`absolute-${!0===e?i[0]:i[1]}${t?` text-${t}`:""}`}function p(t,e){return t.priorityMatched===e.priorityMatched?e.priorityHref-t.priorityHref:e.priorityMatched-t.priorityMatched}function f(t){return t.selected=!1,t}const g=[t=>!0===t.selected&&!0===t.exact&&!0!==t.redirected,t=>!0===t.selected&&!0===t.exact,t=>!0===t.selected&&!0!==t.redirected,t=>!0===t.selected,t=>!0===t.exact&&!0!==t.redirected,t=>!0!==t.redirected,t=>!0===t.exact,t=>!0],m=g.length;e["a"]=i["a"].extend({name:"QTabs",mixins:[a["a"],s["a"]],provide(){return{tabs:this.tabs,__recalculateScroll:this.__recalculateScroll,__activateTab:this.__activateTab,__activateRoute:this.__activateRoute,__onKbdNavigate:this.__onKbdNavigate}},props:{value:[Number,String],align:{type:String,default:"center",validator:t=>["left","center","right","justify"].includes(t)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String},data(){return{tabs:{current:this.value,hasFocus:!1,activeClass:this.activeClass,activeColor:this.activeColor,activeBgColor:this.activeBgColor,indicatorClass:d(this.indicatorColor,this.switchIndicator,this.vertical),narrowIndicator:this.narrowIndicator,inlineLabel:this.inlineLabel,noCaps:this.noCaps},scrollable:!1,startArrow:!0,endArrow:!1,justify:!1}},watch:{value(t){this.__activateTab(t,!0,!0)},activeClass(t){this.tabs.activeClass=t},activeColor(t){this.tabs.activeColor=t},activeBgColor(t){this.tabs.activeBgColor=t},vertical(t){this.tabs.indicatorClass=d(this.indicatorColor,this.switchIndicator,t)},indicatorColor(t){this.tabs.indicatorClass=d(t,this.switchIndicator,this.vertical)},switchIndicator(t){this.tabs.indicatorClass=d(this.indicatorColor,t,this.vertical)},narrowIndicator(t){this.tabs.narrowIndicator=t},inlineLabel(t){this.tabs.inlineLabel=t},noCaps(t){this.tabs.noCaps=t},outsideArrows(){this.__recalculateScroll()},arrowsEnabled(t){this.__updateArrows=!0===t?this.__updateArrowsFn:l["g"],this.__recalculateScroll()},isRTL(){this.__updateArrows()}},computed:{arrowsEnabled(){return!0===this.$q.platform.is.desktop||!0===this.mobileArrows},arrowIcons(){const t=!0===this.isRTL?["end","start"]:["start","end"];return{[t[0]]:this.leftIcon||(!0===this.vertical?this.$q.iconSet.tabs.up:this.$q.iconSet.tabs.left),[t[1]]:this.rightIcon||(!0===this.vertical?this.$q.iconSet.tabs.down:this.$q.iconSet.tabs.right)}},alignClass(){const t=!0===this.scrollable?"left":!0===this.justify?"justify":this.align;return`q-tabs__content--align-${t}`},classes(){return`q-tabs--${!0===this.scrollable?"":"not-"}scrollable q-tabs--`+(!0===this.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===this.arrowsEnabled&&!0===this.outsideArrows?"outside":"inside")+(!0===this.dense?" q-tabs--dense":"")+(!0===this.shrink?" col-shrink":"")+(!0===this.stretch?" self-stretch":"")},innerClass(){return this.alignClass+(void 0!==this.contentClass?` ${this.contentClass}`:"")+(!0===this.$q.platform.is.mobile?" scroll":"")},domProps(){return!0===this.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}},isRTL(){return!0!==this.vertical&&!0===this.$q.lang.rtl},__getScrollPosition(){return!0===this.vertical?t=>t.scrollTop:!0!==this.$q.lang.rtl?t=>t.scrollLeft:!0===this.rtlHasScrollBug?t=>t.scrollWidth-t.clientWidth-t.scrollLeft:t=>1-t.scrollLeft},__setScrollPosition(){return!0===this.vertical?(t,e)=>{t.scrollTop=e}:!0!==this.$q.lang.rtl?(t,e)=>{t.scrollLeft=e}:!0===this.rtlHasScrollBug?(t,e)=>{t.scrollLeft=t.scrollWidth-t.clientWidth-e}:(t,e)=>{t.scrollLeft=1-e}},__getScrollOffset(){return!0===this.vertical?t=>t.offsetTop:!0!==this.$q.lang.rtl||!0===this.rtlHasScrollBug?t=>t.offsetLeft:t=>t.offsetParent.offsetWidth-t.offsetLeft-t.clientWidth},onEvents(){return{input:l["k"],...this.qListeners,focusin:this.__onFocusin,focusout:this.__onFocusout}}},methods:{__onFocusin(t){this.tabs.hasFocus=!0,void 0!==this.qListeners.focusin&&this.$emit("focusin",t)},__onFocusout(t){this.tabs.hasFocus=!1,void 0!==this.qListeners.focusout&&this.$emit("focusout",t)},__activateTab(t,e,n){this.tabs.current!==t&&(!0!==n&&this.$emit("input",t),!0!==e&&void 0!==this.qListeners.input||(this.__animate(this.tabs.current,t),this.tabs.current=t))},__activateRoute(t){this.bufferRoute!==this.$route&&this.buffer.length>0&&(clearTimeout(this.bufferTimer),this.bufferTimer=void 0,this.buffer.length=0),this.bufferRoute=this.$route,void 0!==t&&(!0===t.remove?this.buffer=this.buffer.filter((e=>e.name!==t.name)):this.buffer.push(t)),void 0===this.bufferTimer&&(this.bufferTimer=setTimeout((()=>{let t=[];for(let e=0;e<m&&0===t.length;e++)t=this.buffer.filter(g[e]);t.sort(p),this.__activateTab(0===t.length?null:t[0].name,!0),this.buffer=this.buffer.map(f),this.bufferTimer=void 0}),1))},__recalculateScroll(){this.__nextTick((()=>{!0!==this._isDestroyed&&this.__updateContainer({width:this.$el.offsetWidth,height:this.$el.offsetHeight})})),this.__prepareTick()},__updateContainer(t){const e=t[this.domProps.container],n=Math.min(this.$refs.content[this.domProps.scroll],Array.prototype.reduce.call(this.$refs.content.children,((t,e)=>t+(e[this.domProps.content]||0)),0)),i=e>0&&n>e;this.scrollable!==i&&(this.scrollable=i),!0===i&&this.$nextTick((()=>this.__updateArrows()));const r=e<parseInt(this.breakpoint,10);this.justify!==r&&(this.justify=r)},__animate(t,e){const n=void 0!==t&&null!==t&&""!==t?this.$children.find((e=>e.name===t)):null,i=void 0!==e&&null!==e&&""!==e?this.$children.find((t=>t.name===e)):null;if(n&&i){const t=n.$el.getElementsByClassName("q-tab__indicator")[0],e=i.$el.getElementsByClassName("q-tab__indicator")[0];clearTimeout(this.animateTimer),t.style.transition="none",t.style.transform="none",e.style.transition="none",e.style.transform="none";const r=t.getBoundingClientRect(),o=e.getBoundingClientRect();e.style.transform=!0===this.vertical?`translate3d(0,${r.top-o.top}px,0) scale3d(1,${o.height?r.height/o.height:1},1)`:`translate3d(${r.left-o.left}px,0,0) scale3d(${o.width?r.width/o.width:1},1,1)`,this.$nextTick((()=>{this.animateTimer=setTimeout((()=>{e.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",e.style.transform="none"}),70)}))}i&&!0===this.scrollable?this.__scrollToTab(i.$el,void 0,!0):this.__updateArrows()},__updateArrowsFn(){const{content:t}=this.$refs;if(void 0!==t){const e=t.getBoundingClientRect(),n=this.__getScrollPosition(t);this.startArrow=n>(!0===this.isRTL?1:0),this.endArrow=!0===this.vertical?Math.ceil(n+e.height)<t.scrollHeight:Math.ceil(n+e.width)<t.scrollWidth}},__animScrollTo(t,e){this.__stopAnimScroll(),this.__onAnimScrollEnd=e,this.__scrollTowards(t),this.scrollTimer=setInterval((()=>{this.__scrollTowards(t)&&this.__stopAnimScroll()}),5)},__scrollToStart(){this.__animScrollTo(0)},__scrollToEnd(){this.__animScrollTo(Number.MAX_SAFE_INTEGER)},__stopAnimScroll(){clearInterval(this.scrollTimer),void 0!==this.__onAnimScrollEnd&&(this.__onAnimScrollEnd(),this.__onAnimScrollEnd=void 0)},__scrollTowards(t){const e=this.$refs.content,n=!0===this.vertical?e.scrollHeight-e.offsetHeight:e.scrollWidth-e.offsetWidth;let i=this.__getScrollPosition(e),r=!1;t=Math.max(0,Math.min(n,t));const o=t<i?-1:1;return i+=5*o,(-1===o&&i<=t||1===o&&i>=t)&&(r=!0,i=t),this.__setScrollPosition(e,i),this.__updateArrows(),r},__scrollToTab(t,e,n){if(void 0===this.$refs.content)return;const i=this.$refs.content,r=this.__getScrollPosition(i),o=!0===this.vertical?i.offsetHeight:i.offsetWidth,a=!0===this.vertical?i.scrollHeight:i.scrollWidth,s=this.__getScrollOffset(t),l=s+(!0===this.vertical?t.offsetHeight:t.offsetWidth),u=s<r,c=l>r+o;!0!==u&&!0!==c?e=void 0:void 0===e&&(l>=a-1?e=!0:!0===u||!0===c&&s<l-o?e=!1:u!==c&&(e=c)),void 0!==e?this.__animScrollTo(!0===e?l>=a-1?a:l-o:s<=1?0:s,!0!==n?()=>{setTimeout((()=>{t&&t.focus()}))}:void 0):!0!==n&&t.focus()},__onKbdNavigate(t,e){const n=t=>t===e||t.matches&&!0===t.matches(".q-tab.q-focusable"),i=Array.prototype.filter.call(this.$refs.content.children,n),r=i.length;if(0===r)return;if(36===t)return!0!==i[0].contains(document.activeElement)&&(this.__scrollToTab(i[0],!1),this.__recalculateScroll(),!0);if(35===t)return!0!==i[r-1].contains(document.activeElement)&&(this.__scrollToTab(i[r-1],!0),this.__recalculateScroll(),!0);const o=!0===this.vertical&&38===t||!0!==this.vertical&&37===t,a=!0===this.vertical&&40===t||!0!==this.vertical&&39===t,s=!0===o?-1:!0===a?1:void 0;if(void 0!==s){const t=!0===this.isRTL?-1:1,n=i.indexOf(e)+s*t;return!(n<0||n>=r||!0===i[n].contains(document.activeElement))&&(this.__scrollToTab(i[n],s===t),this.__recalculateScroll(),!0)}}},created(){this.buffer=[],this.__updateArrows=!0===this.arrowsEnabled?this.__updateArrowsFn:l["g"]},mounted(){this.rtlHasScrollBug=Object(h["g"])()},activated(){!0===this.shouldActivate&&this.__recalculateScroll()},deactivated(){this.shouldActivate=!0},beforeDestroy(){clearTimeout(this.bufferTimer),clearTimeout(this.animateTimer)},render(t){const e=[t(o["a"],{on:Object(c["b"])(this,"resize",{resize:this.__updateContainer})}),t("div",{ref:"content",staticClass:"q-tabs__content row no-wrap items-center self-stretch hide-scrollbar relative-position",class:this.innerClass,on:!0===this.arrowsEnabled?Object(c["b"])(this,"scroll",{scroll:this.__updateArrowsFn}):void 0},Object(u["c"])(this,"default"))];return!0===this.arrowsEnabled&&e.push(t(r["a"],{staticClass:"q-tabs__arrow q-tabs__arrow--start absolute q-tab__icon",class:!0===this.startArrow?"":"q-tabs__arrow--faded",props:{name:this.arrowIcons.start},on:Object(c["b"])(this,"onS",{mousedown:this.__scrollToStart,touchstart:this.__scrollToStart,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll})}),t(r["a"],{staticClass:"q-tabs__arrow q-tabs__arrow--end absolute q-tab__icon",class:!0===this.endArrow?"":"q-tabs__arrow--faded",props:{name:this.arrowIcons.end},on:Object(c["b"])(this,"onE",{mousedown:this.__scrollToEnd,touchstart:this.__scrollToEnd,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll})})),t("div",{staticClass:"q-tabs row no-wrap items-center",class:this.classes,on:this.onEvents,attrs:{role:"tablist"}},e)}})},"42d2":function(t,e,n){"use strict";e["a"]={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}}},"42e1":function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,i="/";e.cwd=function(){return i},e.chdir=function(e){t||(t=n("df7c")),i=t.resolve(e,i)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"436b":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("24e8"),o=n("9c40");n("ddb0"),n("5377");function a(t,e=new WeakMap){if(Object(t)!==t)return t;if(e.has(t))return e.get(t);const n=t instanceof Date?new Date(t):t instanceof RegExp?new RegExp(t.source,t.flags):t instanceof Set?new Set:t instanceof Map?new Map:"function"!==typeof t.constructor?Object.create(null):void 0!==t.prototype&&"function"===typeof t.prototype.constructor?t:new t.constructor;if("function"===typeof t.constructor&&"function"===typeof t.valueOf){const n=t.valueOf();if(Object(n)!==n){const i=new t.constructor(n);return e.set(t,i),i}}return e.set(t,n),t instanceof Set?t.forEach((t=>{n.add(a(t,e))})):t instanceof Map&&t.forEach(((t,i)=>{n.set(i,a(t,e))})),Object.assign(n,...Object.keys(t).map((n=>({[n]:a(t[n],e)}))))}var s=n("d728"),l=n("f09f"),u=n("a370"),c=n("4b7e"),h=n("eb85"),d=n("27f9"),p=n("0016"),f=n("b7fa"),g=n("ff7b"),m=n("f89c"),v=n("2b69"),y=n("d882"),b=n("dde5"),_=n("0cd3"),x=i["a"].extend({name:"QRadio",mixins:[f["a"],g["a"],m["b"],v["a"]],props:{value:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},computed:{isTrue(){return this.value===this.val},classes(){return"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(!0===this.disable?" disabled":"")+(!0===this.isDark?" q-radio--dark":"")+(!0===this.dense?" q-radio--dense":"")+(!0===this.leftLabel?" reverse":"")},innerClass(){const t=void 0===this.color||!0!==this.keepColor&&!0!==this.isTrue?"":` text-${this.color}`;return`q-radio__inner--${!0===this.isTrue?"truthy":"falsy"}${t}`},computedIcon(){return!0===this.isTrue?this.checkedIcon:this.uncheckedIcon},computedTabindex(){return!0===this.disable?-1:this.tabindex||0},formAttrs(){const t={type:"radio"};return void 0!==this.name&&Object.assign(t,{name:this.name,value:this.val}),t},formDomProps(){if(void 0!==this.name&&!0===this.isTrue)return{checked:!0}},attrs(){const t={tabindex:this.computedTabindex,role:"radio","aria-label":this.label,"aria-checked":!0===this.isTrue?"true":"false"};return!0===this.disable&&(t["aria-disabled"]="true"),t}},methods:{set(t){void 0!==t&&(Object(y["l"])(t),this.__refocusTarget(t)),!0!==this.disable&&!0!==this.isTrue&&this.$emit("input",this.val,t)}},render(t){const e=void 0!==this.computedIcon?[t("div",{key:"icon",staticClass:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[t(p["a"],{staticClass:"q-radio__icon",props:{name:this.computedIcon}})])]:[t("svg",{key:"svg",staticClass:"q-radio__bg absolute non-selectable",attrs:{focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true"}},[t("path",{attrs:{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}}),t("path",{staticClass:"q-radio__check",attrs:{d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"}})])];!0!==this.disable&&this.__injectFormInput(e,"unshift","q-radio__native q-ma-none q-pa-none");const n=[t("div",{staticClass:"q-radio__inner relative-position",class:this.innerClass,style:this.sizeStyle},e)];void 0!==this.__refocusTargetEl&&n.push(this.__refocusTargetEl);const i=void 0!==this.label?Object(b["a"])([this.label],this,"default"):Object(b["c"])(this,"default");return void 0!==i&&n.push(t("div",{staticClass:"q-radio__label q-anchor--skip"},i)),t("div",{class:this.classes,attrs:this.attrs,on:Object(_["b"])(this,"inpExt",{click:this.set,keydown:t=>{13!==t.keyCode&&32!==t.keyCode||Object(y["l"])(t)},keyup:t=>{13!==t.keyCode&&32!==t.keyCode||this.set(t)}})},n)}}),w=n("8f8e"),S=n("9564"),C=n("87e8");const k={radio:x,checkbox:w["a"],toggle:S["a"]},M=Object.keys(k);var O=i["a"].extend({name:"QOptionGroup",mixins:[f["a"],C["a"]],props:{value:{required:!0},options:{type:Array,validator(t){return t.every((t=>"value"in t&&"label"in t))}},name:String,type:{default:"radio",validator:t=>M.includes(t)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},computed:{component(){return k[this.type]},model(){return Array.isArray(this.value)?this.value.slice():this.value},classes(){return"q-option-group q-gutter-x-sm"+(!0===this.inline?" q-option-group--inline":"")},attrs(){if("radio"===this.type){const t={role:"radiogroup"};return!0===this.disable&&(t["aria-disabled"]="true"),t}}},methods:{__update(t){this.$emit("input",t)}},created(){const t=Array.isArray(this.value);"radio"===this.type?t&&console.error("q-option-group: model should not be array"):!1===t&&console.error("q-option-group: model should be array in your case")},render(t){return t("div",{class:this.classes,attrs:this.attrs,on:{...this.qListeners}},this.options.map(((e,n)=>{const i=void 0!==this.$scopedSlots["label-"+n]?this.$scopedSlots["label-"+n](e):void 0!==this.$scopedSlots.label?this.$scopedSlots.label(e):void 0;return t("div",[t(this.component,{props:{value:this.value,val:e.value,name:void 0===e.name?this.name:e.name,disable:this.disable||e.disable,label:void 0===i?e.label:void 0,leftLabel:void 0===e.leftLabel?this.leftLabel:e.leftLabel,color:void 0===e.color?this.color:e.color,checkedIcon:e.checkedIcon,uncheckedIcon:e.uncheckedIcon,dark:e.dark||this.isDark,size:void 0===e.size?this.size:e.size,dense:this.dense,keepColor:void 0===e.keepColor?this.keepColor:e.keepColor},on:Object(_["b"])(this,"inp",{input:this.__update})},i)])})))}}),T=n("0d59"),A=n("f376"),I=n("5ff7"),P=i["a"].extend({name:"DialogPlugin",mixins:[f["a"],A["b"]],inheritAttrs:!1,props:{title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:t=>["ok","cancel","none"].includes(t)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},computed:{classes(){return"q-dialog-plugin"+(!0===this.isDark?" q-dialog-plugin--dark q-dark":"")+(!1!==this.progress?" q-dialog-plugin--progress":"")},spinner(){if(!1!==this.progress)return!0===Object(I["d"])(this.progress)?{component:this.progress.spinner||T["a"],props:{color:this.progress.color||this.vmColor}}:{component:T["a"],props:{color:this.vmColor}}},hasForm(){return void 0!==this.prompt||void 0!==this.options},okLabel(){return!0===Object(I["d"])(this.ok)||!0===this.ok?this.$q.lang.label.ok:this.ok},cancelLabel(){return!0===Object(I["d"])(this.cancel)||!0===this.cancel?this.$q.lang.label.cancel:this.cancel},vmColor(){return this.color||(!0===this.isDark?"amber":"primary")},okDisabled(){return void 0!==this.prompt?void 0!==this.prompt.isValid&&!0!==this.prompt.isValid(this.prompt.model):void 0!==this.options?void 0!==this.options.isValid&&!0!==this.options.isValid(this.options.model):void 0},okProps(){return{color:this.vmColor,label:this.okLabel,ripple:!1,disable:this.okDisabled,...!0===Object(I["d"])(this.ok)?this.ok:{flat:!0}}},cancelProps(){return{color:this.vmColor,label:this.cancelLabel,ripple:!1,...!0===Object(I["d"])(this.cancel)?this.cancel:{flat:!0}}}},methods:{show(){this.$refs.dialog.show()},hide(){this.$refs.dialog.hide()},getPrompt(t){return[t(d["a"],{props:{value:this.prompt.model,type:this.prompt.type,label:this.prompt.label,stackLabel:this.prompt.stackLabel,outlined:this.prompt.outlined,filled:this.prompt.filled,standout:this.prompt.standout,rounded:this.prompt.rounded,square:this.prompt.square,counter:this.prompt.counter,maxlength:this.prompt.maxlength,prefix:this.prompt.prefix,suffix:this.prompt.suffix,color:this.vmColor,dense:!0,autofocus:!0,dark:this.isDark},attrs:this.prompt.attrs,on:Object(_["b"])(this,"prompt",{input:t=>{this.prompt.model=t},keyup:t=>{!0!==this.okDisabled&&"textarea"!==this.prompt.type&&!0===Object(s["a"])(t,13)&&this.onOk()}})})]},getOptions(t){return[t(O,{props:{value:this.options.model,type:this.options.type,color:this.vmColor,inline:this.options.inline,options:this.options.items,dark:this.isDark},on:Object(_["b"])(this,"opts",{input:t=>{this.options.model=t}})})]},getButtons(t){const e=[];if(this.cancel&&e.push(t(o["a"],{props:this.cancelProps,attrs:{"data-autofocus":"cancel"===this.focus&&!0!==this.hasForm},on:Object(_["b"])(this,"cancel",{click:this.onCancel})})),this.ok&&e.push(t(o["a"],{props:this.okProps,attrs:{"data-autofocus":"ok"===this.focus&&!0!==this.hasForm},on:Object(_["b"])(this,"ok",{click:this.onOk})})),e.length>0)return t(c["a"],{staticClass:!0===this.stackButtons?"items-end":null,props:{vertical:this.stackButtons,align:"right"}},e)},onOk(){this.$emit("ok",a(this.getData())),this.hide()},onCancel(){this.hide()},getData(){return void 0!==this.prompt?this.prompt.model:void 0!==this.options?this.options.model:void 0},getSection(t,e,n){return!0===this.html?t(u["a"],{staticClass:e,domProps:{innerHTML:n}}):t(u["a"],{staticClass:e},[n])}},render(t){const e=[];return this.title&&e.push(this.getSection(t,"q-dialog__title",this.title)),!1!==this.progress&&e.push(t(u["a"],{staticClass:"q-dialog__progress"},[t(this.spinner.component,{props:this.spinner.props})])),this.message&&e.push(this.getSection(t,"q-dialog__message",this.message)),void 0!==this.prompt?e.push(t(u["a"],{staticClass:"scroll q-dialog-plugin__form"},this.getPrompt(t))):void 0!==this.options&&e.push(t(h["a"],{props:{dark:this.isDark}}),t(u["a"],{staticClass:"scroll q-dialog-plugin__form"},this.getOptions(t)),t(h["a"],{props:{dark:this.isDark}})),(this.ok||this.cancel)&&e.push(this.getButtons(t)),t(r["a"],{ref:"dialog",props:{...this.qAttrs,value:this.value},on:Object(_["b"])(this,"hide",{hide:()=>{this.$emit("hide")}})},[t(l["a"],{staticClass:this.classes,style:this.cardStyle,class:this.cardClass,props:{dark:this.isDark}},e)])}}),E=n("0967");const D={onOk:()=>D,okCancel:()=>D,hide:()=>D,update:()=>D};function L(t,e){for(const n in e)"spinner"!==n&&Object(e[n])===e[n]?(t[n]=Object(t[n])!==t[n]?{}:{...t[n]},L(t[n],e[n])):t[n]=e[n]}let j;function R(t,e){if(void 0!==t)return t;if(void 0!==e)return e;if(void 0===j){const t=document.getElementById("q-app");t&&t.__vue__&&(j=t.__vue__.$root)}return j}var B=function(t){return({className:e,class:n,style:r,component:o,root:a,parent:s,...l})=>{if(!0===E["e"])return D;void 0!==n&&(l.cardClass=n),void 0!==r&&(l.cardStyle=r);const u=void 0!==o;let c,h;!0===u?c=o:(c=t,h=l);const d=[],p=[],f={onOk(t){return d.push(t),f},onCancel(t){return p.push(t),f},onDismiss(t){return d.push(t),p.push(t),f},hide(){return y.$refs.dialog.hide(),f},update({className:t,class:e,style:n,component:i,root:r,parent:o,...a}){return null!==y&&(void 0!==e&&(a.cardClass=e),void 0!==n&&(a.cardStyle=n),!0===u?Object.assign(l,a):(L(l,a),h={...l}),y.$forceUpdate()),f}},g=document.createElement("div");document.body.appendChild(g);let m=!1;const v={ok:t=>{m=!0,d.forEach((e=>{e(t)}))},hide:()=>{y.$destroy(),y.$el.remove(),y=null,!0!==m&&p.forEach((t=>{t()}))}};let y=new i["a"]({name:"QGlobalDialog",el:g,parent:R(s,a),render(t){return t(c,{ref:"dialog",props:l,attrs:h,on:v})},mounted(){void 0!==this.$refs.dialog?this.$refs.dialog.show():v["hook:mounted"]=()=>{void 0!==this.$refs.dialog&&this.$refs.dialog.show()}}});return f}};e["a"]={install({$q:t}){this.create=t.dialog=B(P)}}},4461:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("124f"),r=a(i),o=n("6e53");function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,n){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,o.mod11)(t),n))}return u(e,t),e}(r.default);e.default=c},"44ad":function(t,e,n){var i=n("e330"),r=n("d039"),o=n("c6b6"),a=Object,s=i("".split);t.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},"44d2":function(t,e,n){var i=n("b622"),r=n("7c73"),o=n("9bf2").f,a=i("unscopables"),s=Array.prototype;void 0==s[a]&&o(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},"45be":function(t,e){function n(t){if("number"===typeof t&&(t=t.toString()),"string"!==typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map((function(t){return[t,t]})))),6===e.length&&e.push("F","F");const n=parseInt(e.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+e.slice(0,6).join("")}}e.getOptions=function(t){t||(t={}),t.color||(t.color={});const e="undefined"===typeof t.margin||null===t.margin||t.margin<0?4:t.margin,i=t.width&&t.width>=21?t.width:void 0,r=t.scale||4;return{width:i,scale:i?4:r,margin:e,color:{dark:n(t.color.dark||"#000000ff"),light:n(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},e.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},e.getImageWidth=function(t,n){const i=e.getScale(t,n);return Math.floor((t+2*n.margin)*i)},e.qrToImageData=function(t,n,i){const r=n.modules.size,o=n.modules.data,a=e.getScale(r,i),s=Math.floor((r+2*i.margin)*a),l=i.margin*a,u=[i.color.light,i.color.dark];for(let e=0;e<s;e++)for(let n=0;n<s;n++){let c=4*(e*s+n),h=i.color.light;if(e>=l&&n>=l&&e<s-l&&n<s-l){const t=Math.floor((e-l)/a),i=Math.floor((n-l)/a);h=u[o[t*r+i]?1:0]}t[c++]=h.r,t[c++]=h.g,t[c++]=h.b,t[c]=h.a}}},"463c":function(t,e,n){"use strict";e["a"]={methods:{__nextTick(t){this.__tickFn=t},__prepareTick(){if(void 0!==this.__tickFn){const t=this.__tickFn;this.$nextTick((()=>{this.__tickFn===t&&(this.__tickFn(),this.__tickFn=void 0)}))}},__clearTick(){this.__tickFn=void 0},__setTimeout(t,e){clearTimeout(this.__timer),this.__timer=setTimeout(t,e)},__clearTimeout(){clearTimeout(this.__timer)}},beforeDestroy(){this.__tickFn=void 0,clearTimeout(this.__timer)}}},"467f":function(t,e,n){"use strict";var i=n("2d83");t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},4727:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("124f"),r=a(i),o=n("6e53");function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,n){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,o.mod10)(t),n))}return u(e,t),e}(r.default);e.default=c},4840:function(t,e,n){var i=n("825a"),r=n("5087"),o=n("b622"),a=o("species");t.exports=function(t,e){var n,o=i(t).constructor;return void 0===o||void 0==(n=i(o)[a])?e:r(n)}},4848:function(t,e,n){},"485a":function(t,e,n){var i=n("c65b"),r=n("1626"),o=n("861d"),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&r(n=t.toString)&&!o(s=i(n,t)))return s;if(r(n=t.valueOf)&&!o(s=i(n,t)))return s;if("string"!==e&&r(n=t.toString)&&!o(s=i(n,t)))return s;throw a("Can't convert object to primitive value")}},4930:function(t,e,n){var i=n("2d00"),r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},4983:function(t,e,n){"use strict";n("caad"),n("ddb0");var i=n("2b0e"),r=n("3980"),o=n("ed5e"),a=n("75c3"),s=n("7937"),l=n("0831"),u=n("dde5"),c=n("0cd3"),h=n("1c16"),d=n("b7fa"),p=n("f376");const f=t=>t>=250?50:Math.ceil(t/5),g=["vertical","horizontal"],m={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}};e["a"]=i["a"].extend({name:"QScrollArea",mixins:[d["a"]],directives:{TouchPan:a["a"]},props:{thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},horizontal:Boolean,tabindex:[String,Number]},data(){return{tempShowing:!1,panning:!1,hover:!1,container:{vertical:0,horizontal:0},scroll:{vertical:{position:0,size:0},horizontal:{position:0,size:0}}}},computed:{classes(){return"q-scrollarea"+(!0===this.isDark?" q-scrollarea--dark":"")},verticalScrollPercentage(){const t=this.scroll.vertical.size-this.container.vertical;if(t<=0)return 0;const e=Object(s["a"])(this.scroll.vertical.position/t,0,1);return Math.round(1e4*e)/1e4},horizontalScrollPercentage(){const t=this.scroll.horizontal.size-this.container.horizontal;if(t<=0)return 0;const e=Object(s["a"])(this.scroll.horizontal.position/t,0,1);return Math.round(1e4*e)/1e4},verticalThumbHidden(){return!0!==(null===this.visible?this.hover:this.visible)&&!1===this.tempShowing&&!1===this.panning||this.scroll.vertical.size<=this.container.vertical+1},horizontalThumbHidden(){return!0!==(null===this.visible?this.hover:this.visible)&&!1===this.tempShowing&&!1===this.panning||this.scroll.horizontal.size<=this.container.horizontal+1},verticalThumbStart(){return this.verticalScrollPercentage*(this.container.vertical-this.verticalThumbSize)},horizontalThumbStart(){return this.horizontalScrollPercentage*(this.container.horizontal-this.horizontalThumbSize)},verticalThumbSize(){return Math.round(Object(s["a"])(this.container.vertical*this.container.vertical/this.scroll.vertical.size,f(this.container.vertical),this.container.vertical))},horizontalThumbSize(){return Math.round(Object(s["a"])(this.container.horizontal*this.container.horizontal/this.scroll.horizontal.size,f(this.container.horizontal),this.container.horizontal))},verticalStyle(){return{...this.thumbStyle,...this.verticalThumbStyle,top:`${this.verticalThumbStart}px`,height:`${this.verticalThumbSize}px`}},horizontalStyle(){return{...this.thumbStyle,...this.horizontalThumbStyle,left:`${this.horizontalThumbStart}px`,width:`${this.horizontalThumbSize}px`}},verticalThumbClass(){return"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(!0===this.verticalThumbHidden?" q-scrollarea__thumb--invisible":"")},horizontalThumbClass(){return"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(!0===this.horizontalThumbHidden?" q-scrollarea__thumb--invisible":"")},verticalBarClass(){return"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(!0===this.verticalThumbHidden?" q-scrollarea__bar--invisible":"")},horizontalBarClass(){return"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(!0===this.horizontalThumbHidden?" q-scrollarea__bar--invisible":"")},scrollComputed(){return{vertical:{...this.scroll.vertical,percentage:this.verticalScrollPercentage,thumbHidden:this.verticalThumbHidden,thumbStart:this.verticalThumbStart,thumbSize:this.verticalThumbSize,style:this.verticalStyle,thumbClass:this.verticalThumbClass,barClass:this.verticalBarClass},horizontal:{...this.scroll.horizontal,percentage:this.horizontalScrollPercentage,thumbHidden:this.horizontalThumbHidden,thumbStart:this.horizontalThumbStart,thumbSize:this.horizontalThumbSize,style:this.horizontalStyle,thumbClass:this.horizontalThumbClass,barClass:this.horizontalBarClass}}},mainStyle(){return!0===this.verticalThumbHidden&&!0===this.horizontalThumbHidden?this.contentStyle:this.contentActiveStyle},verticalThumbDirectives(){return[{name:"touch-pan",modifiers:{vertical:!0,prevent:!0,mouse:!0,mouseAllDir:!0},value:t=>{this.__panThumb(t,"vertical")}}]},horizontalThumbDirectives(){return[{name:"touch-pan",modifiers:{horizontal:!0,prevent:!0,mouse:!0,mouseAllDir:!0},value:t=>{this.__panThumb(t,"horizontal")}}]},scrollAttrs(){if(void 0!==this.tabindex)return{tabindex:this.tabindex}}},methods:{getScrollTarget(){return this.$refs.target},getScroll(){const t={};return g.forEach((e=>{const n=this.scrollComputed[e];t[e+"Position"]=n.position,t[e+"Percentage"]=n.percentage,t[e+"Size"]=n.size,t[e+"ContainerSize"]=this.container[e]})),t},getScrollPosition(t){return"both"===t?{top:this.scroll.vertical.position,left:this.scroll.horizontal.position}:(!0!==g.includes(t)&&(t=!0===this.horizontal?"horizontal":"vertical"),this.scroll[t].position)},getScrollPercentage(t){return"both"===t?{top:this.verticalScrollPercentage,left:this.horizontalScrollPercentage}:(!0!==g.includes(t)&&(t=!0===this.horizontal?"horizontal":"vertical"),this[`${t}ScrollPercentage`])},setScrollPosition(t,e,n){if(!1===g.includes(t)){if(!0===isNaN(t))return void console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");[t,e,n]=[!0===this.horizontal?"horizontal":"vertical",t,e]}const i="vertical"===t?l["j"]:l["h"];i(this.$refs.target,e,n)},setScrollPercentage(t,e,n){if(!1===g.includes(t)){if(!0===isNaN(t))return void console.error("[QScrollArea]: wrong first param of setScrollPercentage (vertical/horizontal)");[t,e,n]=[!0===this.horizontal?"horizontal":"vertical",t,e]}this.setScrollPosition(t,e*(this.scroll[t].size-this.container[t]),n)},__updateContainer({height:t,width:e}){let n=!1;this.container.vertical!==t&&(this.container.vertical=t,n=!0),this.container.horizontal!==e&&(this.container.horizontal=e,n=!0),!0===n&&this.__startTimer()},__updateVerticalScroll({position:t}){this.scroll.vertical.position!==t&&(this.scroll.vertical.position=t,this.__startTimer())},__updateHorizontalScroll({position:t}){this.scroll.horizontal.position!==t&&(this.scroll.horizontal.position=t,this.__startTimer())},__updateScrollSize({height:t,width:e}){let n=!1;this.scroll.horizontal.size!==e&&(this.scroll.horizontal.size=e,n=!0),this.scroll.vertical.size!==t&&(this.scroll.vertical.size=t,n=!0),!0===n&&this.__startTimer()},__panThumb(t,e){const n=this.scrollComputed[e];if(!0===t.isFinal){if(!0!==this.panning)return;this.panning=!1}else if(!0===t.isFirst){if(!0===n.thumbHidden)return;this.refPos=n.position,this.panning=!0}else if(!0!==this.panning)return;const i=m[e],r=this.container[e],o=(n.size-r)/(r-n.thumbSize),a=t.distance[i.dist],s=this.refPos+(t.direction===i.dir?1:-1)*a*o;this.__setScroll(s,e)},__mouseDown(t,e){const n=this.scrollComputed[e];if(!0!==n.thumbHidden){const i=t[m[e].offset];if(i<n.thumbStart||i>n.thumbStart+n.thumbSize){const t=i-n.thumbSize/2;this.__setScroll(t/this.container[e]*n.size,e)}const r="vertical"===e?this.$refs.verticalThumb:this.$refs.horizontalThumb;void 0!==r&&r.dispatchEvent(new MouseEvent(t.type,t))}},__verticalMouseDown(t){this.__mouseDown(t,"vertical")},__horizontalMouseDown(t){this.__mouseDown(t,"horizontal")},__startTimer(){!0===this.tempShowing?clearTimeout(this.timer):this.tempShowing=!0,this.timer=setTimeout((()=>{this.tempShowing=!1}),this.delay),void 0!==this.$listeners.scroll&&this.__emitScroll()},__setScroll(t,e){this.$refs.target[m[e].scroll]=t},__mouseEnter(){this.hover=!0},__mouseLeave(){this.hover=!1}},render(t){return t("div",{class:this.classes,on:Object(c["b"])(this,"desk",{mouseenter:this.__mouseEnter,mouseleave:this.__mouseLeave})},[t("div",{ref:"target",staticClass:"q-scrollarea__container scroll relative-position fit hide-scrollbar",attrs:this.scrollAttrs},[t("div",{staticClass:"q-scrollarea__content absolute",style:this.mainStyle},Object(u["a"])([t(r["a"],{props:{debounce:0},on:Object(c["b"])(this,"resizeIn",{resize:this.__updateScrollSize})})],this,"default")),t(o["a"],{on:Object(c["b"])(this,"scrollV",{scroll:this.__updateVerticalScroll})}),t(o["a"],{props:{horizontal:!0},on:Object(c["b"])(this,"scrollH",{scroll:this.__updateHorizontalScroll})})]),t(r["a"],{props:{debounce:0},on:Object(c["b"])(this,"resizeOut",{resize:this.__updateContainer})}),t("div",{class:this.verticalBarClass,style:[this.barStyle,this.verticalBarStyle],attrs:p["a"],on:Object(c["b"])(this,"barV",{mousedown:this.__verticalMouseDown})}),t("div",{class:this.horizontalBarClass,style:[this.barStyle,this.horizontalBarStyle],attrs:p["a"],on:Object(c["b"])(this,"barH",{mousedown:this.__horizontalMouseDown})}),t("div",{ref:"verticalThumb",class:this.verticalThumbClass,style:this.verticalStyle,attrs:p["a"],directives:this.verticalThumbDirectives}),t("div",{ref:"horizontalThumb",class:this.horizontalThumbClass,style:this.horizontalStyle,attrs:p["a"],directives:this.horizontalThumbDirectives})])},created(){this.__emitScroll=Object(h["a"])((()=>{const t=this.getScroll();t.ref=this,this.$emit("scroll",t)}),0)},activated(){if(void 0===this.__scrollPosition)return;const t=this.getScrollTarget();void 0!==t&&(Object(l["h"])(t,this.__scrollPosition.left),Object(l["j"])(t,this.__scrollPosition.top))},deactivated(){this.__scrollPosition=this.getScrollPosition("both")},beforeDestroy(){this.__emitScroll.cancel(),clearTimeout(this.timer)}})},"4a0c":function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},"4a7b":function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e){e=e||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(t,e){return i.isPlainObject(t)&&i.isPlainObject(e)?i.merge(t,e):i.isPlainObject(e)?i.merge({},e):i.isArray(e)?e.slice():e}function u(r){i.isUndefined(e[r])?i.isUndefined(t[r])||(n[r]=l(void 0,t[r])):n[r]=l(t[r],e[r])}i.forEach(r,(function(t){i.isUndefined(e[t])||(n[t]=l(void 0,e[t]))})),i.forEach(o,u),i.forEach(a,(function(r){i.isUndefined(e[r])?i.isUndefined(t[r])||(n[r]=l(void 0,t[r])):n[r]=l(void 0,e[r])})),i.forEach(s,(function(i){i in e?n[i]=l(t[i],e[i]):i in t&&(n[i]=l(void 0,t[i]))}));var c=r.concat(o).concat(a).concat(s),h=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===c.indexOf(t)}));return i.forEach(h,u),n}},"4b23":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("e762"),o=s(r),a=n("f08e");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,n){l(this,e);var i=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t.substring(1),n));return i.bytes=t.split("").map((function(t){return t.charCodeAt(0)})),i}return c(e,t),i(e,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var t=this.bytes,n=t.shift()-105,i=a.SET_BY_CODE[n];if(void 0===i)throw new RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&t.unshift(a.FNC1);var r=e.next(t,1,i);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:e.getBar(n)+r.result+e.getBar((r.checksum+n)%a.MODULO)+e.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var t=this.options.ean128||!1;return"string"===typeof t&&(t="true"===t.toLowerCase()),t}}],[{key:"getBar",value:function(t){return a.BARS[t]?a.BARS[t].toString():""}},{key:"correctIndex",value:function(t,e){if(e===a.SET_A){var n=t.shift();return n<32?n+64:n-32}return e===a.SET_B?t.shift()-32:10*(t.shift()-48)+t.shift()-48}},{key:"next",value:function(t,n,i){if(!t.length)return{result:"",checksum:0};var r=void 0,o=void 0;if(t[0]>=200){o=t.shift()-105;var s=a.SWAP[o];void 0!==s?r=e.next(t,n+1,s):(i!==a.SET_A&&i!==a.SET_B||o!==a.SHIFT||(t[0]=i===a.SET_A?t[0]>95?t[0]-96:t[0]:t[0]<32?t[0]+96:t[0]),r=e.next(t,n+1,i))}else o=e.correctIndex(t,i),r=e.next(t,n+1,i);var l=e.getBar(o),u=o*n;return{result:l+r.result,checksum:u+r.checksum}}}]),e}(o.default);e.default=h},"4b7e":function(t,e,n){"use strict";var i=n("2b0e"),r=n("99b6"),o=n("87e8"),a=n("dde5");e["a"]=i["a"].extend({name:"QCardActions",mixins:[o["a"],r["a"]],props:{vertical:Boolean},computed:{classes(){return`q-card__actions--${!0===this.vertical?"vert column":"horiz row"} ${this.alignClass}`}},render(t){return t("div",{staticClass:"q-card__actions",class:this.classes,on:{...this.qListeners}},Object(a["c"])(this,"default"))}})},"4ced":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(e,n,i){r(this,t),this.object=e,this.encodings=n,this.options=i}return i(t,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),t}();e.default=o},"4d5a":function(t,e,n){"use strict";var i=n("2b0e"),r=n("0967"),o=n("ed5e"),a=n("3980"),s=n("87e8"),l=n("0831"),u=n("dde5"),c=n("0cd3");e["a"]=i["a"].extend({name:"QLayout",mixins:[s["a"]],provide(){return{layout:this}},props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:t=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(t.toLowerCase())}},data(){return{height:this.$q.screen.height,width:!0===this.container?0:this.$q.screen.width,containerHeight:0,scrollbarWidth:!0===r["f"]?0:Object(l["e"])(),header:{size:0,offset:0,space:!1},right:{size:300,offset:0,space:!1},footer:{size:0,offset:0,space:!1},left:{size:300,offset:0,space:!1},scroll:{position:0,direction:"down"}}},computed:{rows(){const t=this.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}},style(){return!0===this.container?null:{minHeight:this.$q.screen.height+"px"}},targetStyle(){if(0!==this.scrollbarWidth)return{[!0===this.$q.lang.rtl?"left":"right"]:`${this.scrollbarWidth}px`}},targetChildStyle(){if(0!==this.scrollbarWidth)return{[!0===this.$q.lang.rtl?"right":"left"]:0,[!0===this.$q.lang.rtl?"left":"right"]:`-${this.scrollbarWidth}px`,width:`calc(100% + ${this.scrollbarWidth}px)`}},totalWidth(){return this.width+this.scrollbarWidth},classes(){return"q-layout q-layout--"+(!0===this.container?"containerized":"standard")},scrollbarEvtAction(){return!0!==this.container&&this.scrollbarWidth>0?"add":"remove"}},watch:{scrollbarEvtAction:"__updateScrollEvent"},created(){this.instances={}},mounted(){"add"===this.scrollbarEvtAction&&this.__updateScrollEvent("add")},beforeDestroy(){"add"===this.scrollbarEvtAction&&this.__updateScrollEvent("remove")},render(t){const e=t("div",{class:this.classes,style:this.style,attrs:{tabindex:-1},on:{...this.qListeners}},Object(u["a"])([t(o["a"],{on:Object(c["b"])(this,"scroll",{scroll:this.__onPageScroll})}),t(a["a"],{on:Object(c["b"])(this,"resizeOut",{resize:this.__onPageResize})})],this,"default"));return!0===this.container?t("div",{staticClass:"q-layout-container overflow-hidden"},[t(a["a"],{on:Object(c["b"])(this,"resizeIn",{resize:this.__onContainerResize})}),t("div",{staticClass:"absolute-full",style:this.targetStyle},[t("div",{staticClass:"scroll",style:this.targetChildStyle},[e])])]):e},methods:{__animate(){void 0!==this.timer?clearTimeout(this.timer):document.body.classList.add("q-body--layout-animate"),this.timer=setTimeout((()=>{document.body.classList.remove("q-body--layout-animate"),this.timer=void 0}),150)},__onPageScroll(t){!0!==this.container&&!0===document.qScrollPrevented||(this.scroll=t),void 0!==this.qListeners.scroll&&this.$emit("scroll",t)},__onPageResize({height:t,width:e}){let n=!1;this.height!==t&&(n=!0,this.height=t,void 0!==this.qListeners["scroll-height"]&&this.$emit("scroll-height",t),this.__updateScrollbarWidth()),this.width!==e&&(n=!0,this.width=e),!0===n&&void 0!==this.qListeners.resize&&this.$emit("resize",{height:t,width:e})},__onContainerResize({height:t}){this.containerHeight!==t&&(this.containerHeight=t,this.__updateScrollbarWidth())},__updateScrollbarWidth(){if(!0===this.container){const t=this.height>this.containerHeight?Object(l["e"])():0;this.scrollbarWidth!==t&&(this.scrollbarWidth=t)}},__updateScrollEvent(t){void 0!==this.timerScrollbar&&"remove"===t&&(clearTimeout(this.timerScrollbar),this.__restoreScrollbar()),window[`${t}EventListener`]("resize",this.__hideScrollbar)},__hideScrollbar(){if(void 0===this.timerScrollbar){const t=document.body;if(t.scrollHeight>this.$q.screen.height)return;t.classList.add("hide-scrollbar")}else clearTimeout(this.timerScrollbar);this.timerScrollbar=setTimeout(this.__restoreScrollbar,200)},__restoreScrollbar(){this.timerScrollbar=void 0,document.body.classList.remove("hide-scrollbar")}}})},"4d64":function(t,e,n){var i=n("fc6a"),r=n("23cb"),o=n("07fa"),a=function(t){return function(e,n,a){var s,l=i(e),u=o(l),c=r(a,u);if(t&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4dae":function(t,e,n){var i=n("23cb"),r=n("07fa"),o=n("8418"),a=Array,s=Math.max;t.exports=function(t,e,n){for(var l=r(t),u=i(e,l),c=i(void 0===n?l:n,l),h=a(s(c-u,0)),d=0;u<c;u++,d++)o(h,d,t[u]);return h.length=d,h}},"4dec":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Vi}));
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */
- var i=function(){return i=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},i.apply(this,arguments)};function r(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}var o="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:t,a=Object.keys,s=Array.isArray;function l(t,e){return"object"!==typeof e||a(e).forEach((function(n){t[n]=e[n]})),t}"undefined"===typeof Promise||o.Promise||(o.Promise=Promise);var u=Object.getPrototypeOf,c={}.hasOwnProperty;function h(t,e){return c.call(t,e)}function d(t,e){"function"===typeof e&&(e=e(u(t))),("undefined"===typeof Reflect?a:Reflect.ownKeys)(e).forEach((function(n){f(t,n,e[n])}))}var p=Object.defineProperty;function f(t,e,n,i){p(t,e,l(n&&h(n,"get")&&"function"===typeof n.get?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},i))}function g(t){return{from:function(e){return t.prototype=Object.create(e.prototype),f(t.prototype,"constructor",t),{extend:d.bind(null,t.prototype)}}}}var m=Object.getOwnPropertyDescriptor;function v(t,e){var n,i=m(t,e);return i||(n=u(t))&&v(n,e)}var y=[].slice;function b(t,e,n){return y.call(t,e,n)}function _(t,e){return e(t)}function x(t){if(!t)throw new Error("Assertion Failed")}function w(t){o.setImmediate?setImmediate(t):setTimeout(t,0)}function S(t,e){return t.reduce((function(t,n,i){var r=e(n,i);return r&&(t[r[0]]=r[1]),t}),{})}function C(t,e,n){try{t.apply(null,n)}catch(i){e&&e(i)}}function k(t,e){if(h(t,e))return t[e];if(!e)return t;if("string"!==typeof e){for(var n=[],i=0,r=e.length;i<r;++i){var o=k(t,e[i]);n.push(o)}return n}var a=e.indexOf(".");if(-1!==a){var s=t[e.substr(0,a)];return void 0===s?void 0:k(s,e.substr(a+1))}}function M(t,e,n){if(t&&void 0!==e&&(!("isFrozen"in Object)||!Object.isFrozen(t)))if("string"!==typeof e&&"length"in e){x("string"!==typeof n&&"length"in n);for(var i=0,r=e.length;i<r;++i)M(t,e[i],n[i])}else{var o=e.indexOf(".");if(-1!==o){var a=e.substr(0,o),l=e.substr(o+1);if(""===l)void 0===n?s(t)&&!isNaN(parseInt(a))?t.splice(a,1):delete t[a]:t[a]=n;else{var u=t[a];u&&h(t,a)||(u=t[a]={}),M(u,l,n)}}else void 0===n?s(t)&&!isNaN(parseInt(e))?t.splice(e,1):delete t[e]:t[e]=n}}function O(t,e){"string"===typeof e?M(t,e,void 0):"length"in e&&[].map.call(e,(function(e){M(t,e,void 0)}))}function T(t){var e={};for(var n in t)h(t,n)&&(e[n]=t[n]);return e}var A=[].concat;function I(t){return A.apply([],t)}var P="Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(I([8,16,32,64].map((function(t){return["Int","Uint","Float"].map((function(e){return e+t+"Array"}))})))).filter((function(t){return o[t]})),E=P.map((function(t){return o[t]}));S(P,(function(t){return[t,!0]}));var D=null;function L(t){D="undefined"!==typeof WeakMap&&new WeakMap;var e=j(t);return D=null,e}function j(t){if(!t||"object"!==typeof t)return t;var e=D&&D.get(t);if(e)return e;if(s(t)){e=[],D&&D.set(t,e);for(var n=0,i=t.length;n<i;++n)e.push(j(t[n]))}else if(E.indexOf(t.constructor)>=0)e=t;else{var r=u(t);for(var o in e=r===Object.prototype?{}:Object.create(r),D&&D.set(t,e),t)h(t,o)&&(e[o]=j(t[o]))}return e}var R={}.toString;function B(t){return R.call(t).slice(8,-1)}var N="undefined"!==typeof Symbol?Symbol.iterator:"@@iterator",F="symbol"===typeof N?function(t){var e;return null!=t&&(e=t[N])&&e.apply(t)}:function(){return null},z={};function V(t){var e,n,i,r;if(1===arguments.length){if(s(t))return t.slice();if(this===z&&"string"===typeof t)return[t];if(r=F(t)){n=[];while(i=r.next(),!i.done)n.push(i.value);return n}if(null==t)return[t];if(e=t.length,"number"===typeof e){n=new Array(e);while(e--)n[e]=t[e];return n}return[t]}e=arguments.length,n=new Array(e);while(e--)n[e]=arguments[e];return n}var q="undefined"!==typeof Symbol?function(t){return"AsyncFunction"===t[Symbol.toStringTag]}:function(){return!1},$="undefined"!==typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function H(t,e){$=t,G=e}var G=function(){return!0},W=!new Error("").stack;function U(){if(W)try{throw U.arguments,new Error}catch(t){return t}return new Error}function Y(t,e){var n=t.stack;return n?(e=e||0,0===n.indexOf(t.name)&&(e+=(t.name+t.message).split("\n").length),n.split("\n").slice(e).filter(G).map((function(t){return"\n"+t})).join("")):""}var X=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"],K=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],Z=X.concat(K),Q={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function J(t,e){this._e=U(),this.name=t,this.message=e}function tt(t,e){return t+". Errors: "+Object.keys(e).map((function(t){return e[t].toString()})).filter((function(t,e,n){return n.indexOf(t)===e})).join("\n")}function et(t,e,n,i){this._e=U(),this.failures=e,this.failedKeys=i,this.successCount=n,this.message=tt(t,e)}function nt(t,e){this._e=U(),this.name="BulkError",this.failures=Object.keys(e).map((function(t){return e[t]})),this.failuresByPos=e,this.message=tt(t,e)}g(J).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+Y(this._e,2))}},toString:function(){return this.name+": "+this.message}}),g(et).from(J),g(nt).from(J);var it=Z.reduce((function(t,e){return t[e]=e+"Error",t}),{}),rt=J,ot=Z.reduce((function(t,e){var n=e+"Error";function i(t,i){this._e=U(),this.name=n,t?"string"===typeof t?(this.message=t+(i?"\n "+i:""),this.inner=i||null):"object"===typeof t&&(this.message=t.name+" "+t.message,this.inner=t):(this.message=Q[e]||n,this.inner=null)}return g(i).from(rt),t[e]=i,t}),{});ot.Syntax=SyntaxError,ot.Type=TypeError,ot.Range=RangeError;var at=K.reduce((function(t,e){return t[e+"Error"]=ot[e],t}),{});function st(t,e){if(!t||t instanceof J||t instanceof TypeError||t instanceof SyntaxError||!t.name||!at[t.name])return t;var n=new at[t.name](e||t.message,t);return"stack"in t&&f(n,"stack",{get:function(){return this.inner.stack}}),n}var lt=Z.reduce((function(t,e){return-1===["Syntax","Type","Range"].indexOf(e)&&(t[e+"Error"]=ot[e]),t}),{});function ut(){}function ct(t){return t}function ht(t,e){return null==t||t===ct?e:function(n){return e(t(n))}}function dt(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function pt(t,e){return t===ut?e:function(){var n=t.apply(this,arguments);void 0!==n&&(arguments[0]=n);var i=this.onsuccess,r=this.onerror;this.onsuccess=null,this.onerror=null;var o=e.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?dt(i,this.onsuccess):i),r&&(this.onerror=this.onerror?dt(r,this.onerror):r),void 0!==o?o:n}}function ft(t,e){return t===ut?e:function(){t.apply(this,arguments);var n=this.onsuccess,i=this.onerror;this.onsuccess=this.onerror=null,e.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?dt(n,this.onsuccess):n),i&&(this.onerror=this.onerror?dt(i,this.onerror):i)}}function gt(t,e){return t===ut?e:function(n){var i=t.apply(this,arguments);l(n,i);var r=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var a=e.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?dt(r,this.onsuccess):r),o&&(this.onerror=this.onerror?dt(o,this.onerror):o),void 0===i?void 0===a?void 0:a:l(i,a)}}function mt(t,e){return t===ut?e:function(){return!1!==e.apply(this,arguments)&&t.apply(this,arguments)}}function vt(t,e){return t===ut?e:function(){var n=t.apply(this,arguments);if(n&&"function"===typeof n.then){var i=this,r=arguments.length,o=new Array(r);while(r--)o[r]=arguments[r];return n.then((function(){return e.apply(i,o)}))}return e.apply(this,arguments)}}lt.ModifyError=et,lt.DexieError=J,lt.BulkError=nt;var yt={},bt=100,_t=20,xt=100,wt="undefined"===typeof Promise?[]:function(){var t=Promise.resolve();if("undefined"===typeof crypto||!crypto.subtle)return[t,u(t),t];var e=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[e,u(e),t]}(),St=wt[0],Ct=wt[1],kt=wt[2],Mt=Ct&&Ct.then,Ot=St&&St.constructor,Tt=!!kt,At=!1,It=kt?function(){kt.then(Jt)}:o.setImmediate?setImmediate.bind(null,Jt):o.MutationObserver?function(){var t=document.createElement("div");new MutationObserver((function(){Jt(),t=null})).observe(t,{attributes:!0}),t.setAttribute("i","1")}:function(){setTimeout(Jt,0)},Pt=function(t,e){zt.push([t,e]),Dt&&(It(),Dt=!1)},Et=!0,Dt=!0,Lt=[],jt=[],Rt=null,Bt=ct,Nt={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:Oe,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach((function(t){try{Oe(t[0],t[1])}catch(e){}}))}},Ft=Nt,zt=[],Vt=0,qt=[];function $t(t){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=ut,this._lib=!1;var e=this._PSD=Ft;if($&&(this._stackHolder=U(),this._prev=null,this._numPrev=0),"function"!==typeof t){if(t!==yt)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&Ut(this,this._value))}this._state=null,this._value=null,++e.ref,Wt(this,t)}var Ht={get:function(){var t=Ft,e=de;function n(n,i){var r=this,o=!t.global&&(t!==Ft||e!==de),a=o&&!me(),s=new $t((function(e,s){Xt(r,new Gt(Ce(n,t,o,a),Ce(i,t,o,a),e,s,t))}));return $&&Qt(s,this),s}return n.prototype=yt,n},set:function(t){f(this,"then",t&&t.prototype===yt?Ht:{get:function(){return t},set:Ht.set})}};function Gt(t,e,n,i,r){this.onFulfilled="function"===typeof t?t:null,this.onRejected="function"===typeof e?e:null,this.resolve=n,this.reject=i,this.psd=r}function Wt(t,e){try{e((function(e){if(null===t._state){if(e===t)throw new TypeError("A promise cannot be resolved with itself.");var n=t._lib&&te();e&&"function"===typeof e.then?Wt(t,(function(t,n){e instanceof $t?e._then(t,n):e.then(t,n)})):(t._state=!0,t._value=e,Yt(t)),n&&ee()}}),Ut.bind(null,t))}catch(n){Ut(t,n)}}function Ut(t,e){if(jt.push(e),null===t._state){var n=t._lib&&te();e=Bt(e),t._state=!1,t._value=e,$&&null!==e&&"object"===typeof e&&!e._promise&&C((function(){var n=v(e,"stack");e._promise=t,f(e,"stack",{get:function(){return At?n&&(n.get?n.get.apply(e):n.value):t.stack}})})),re(t),Yt(t),n&&ee()}}function Yt(t){var e=t._listeners;t._listeners=[];for(var n=0,i=e.length;n<i;++n)Xt(t,e[n]);var r=t._PSD;--r.ref||r.finalize(),0===Vt&&(++Vt,Pt((function(){0===--Vt&&ne()}),[]))}function Xt(t,e){if(null!==t._state){var n=t._state?e.onFulfilled:e.onRejected;if(null===n)return(t._state?e.resolve:e.reject)(t._value);++e.psd.ref,++Vt,Pt(Kt,[n,t,e])}else t._listeners.push(e)}function Kt(t,e,n){try{Rt=e;var i,r=e._value;e._state?i=t(r):(jt.length&&(jt=[]),i=t(r),-1===jt.indexOf(r)&&oe(e)),n.resolve(i)}catch(o){n.reject(o)}finally{Rt=null,0===--Vt&&ne(),--n.psd.ref||n.psd.finalize()}}function Zt(t,e,n){if(e.length===n)return e;var i="";if(!1===t._state){var r,o,a=t._value;null!=a?(r=a.name||"Error",o=a.message||a,i=Y(a,0)):(r=a,o=""),e.push(r+(o?": "+o:"")+i)}return $&&(i=Y(t._stackHolder,2),i&&-1===e.indexOf(i)&&e.push(i),t._prev&&Zt(t._prev,e,n)),e}function Qt(t,e){var n=e?e._numPrev+1:0;n<bt&&(t._prev=e,t._numPrev=n)}function Jt(){te()&&ee()}function te(){var t=Et;return Et=!1,Dt=!1,t}function ee(){var t,e,n;do{while(zt.length>0)for(t=zt,zt=[],n=t.length,e=0;e<n;++e){var i=t[e];i[0].apply(null,i[1])}}while(zt.length>0);Et=!0,Dt=!0}function ne(){var t=Lt;Lt=[],t.forEach((function(t){t._PSD.onunhandled.call(null,t._value,t)}));var e=qt.slice(0),n=e.length;while(n)e[--n]()}function ie(t){function e(){t(),qt.splice(qt.indexOf(e),1)}qt.push(e),++Vt,Pt((function(){0===--Vt&&ne()}),[])}function re(t){Lt.some((function(e){return e._value===t._value}))||Lt.push(t)}function oe(t){var e=Lt.length;while(e)if(Lt[--e]._value===t._value)return void Lt.splice(e,1)}function ae(t){return new $t(yt,!1,t)}function se(t,e){var n=Ft;return function(){var i=te(),r=Ft;try{return _e(n,!0),t.apply(this,arguments)}catch(o){e&&e(o)}finally{_e(r,!1),i&&ee()}}}d($t.prototype,{then:Ht,_then:function(t,e){Xt(this,new Gt(null,null,t,e,Ft))},catch:function(t){if(1===arguments.length)return this.then(null,t);var e=arguments[0],n=arguments[1];return"function"===typeof e?this.then(null,(function(t){return t instanceof e?n(t):ae(t)})):this.then(null,(function(t){return t&&t.name===e?n(t):ae(t)}))},finally:function(t){return this.then((function(e){return t(),e}),(function(e){return t(),ae(e)}))},stack:{get:function(){if(this._stack)return this._stack;try{At=!0;var t=Zt(this,[],_t),e=t.join("\nFrom previous: ");return null!==this._state&&(this._stack=e),e}finally{At=!1}}},timeout:function(t,e){var n=this;return t<1/0?new $t((function(i,r){var o=setTimeout((function(){return r(new ot.Timeout(e))}),t);n.then(i,r).finally(clearTimeout.bind(null,o))})):this}}),"undefined"!==typeof Symbol&&Symbol.toStringTag&&f($t.prototype,Symbol.toStringTag,"Dexie.Promise"),Nt.env=xe(),d($t,{all:function(){var t=V.apply(null,arguments).map(ve);return new $t((function(e,n){0===t.length&&e([]);var i=t.length;t.forEach((function(r,o){return $t.resolve(r).then((function(n){t[o]=n,--i||e(t)}),n)}))}))},resolve:function(t){if(t instanceof $t)return t;if(t&&"function"===typeof t.then)return new $t((function(e,n){t.then(e,n)}));var e=new $t(yt,!0,t);return Qt(e,Rt),e},reject:ae,race:function(){var t=V.apply(null,arguments).map(ve);return new $t((function(e,n){t.map((function(t){return $t.resolve(t).then(e,n)}))}))},PSD:{get:function(){return Ft},set:function(t){return Ft=t}},totalEchoes:{get:function(){return de}},newPSD:fe,usePSD:we,scheduler:{get:function(){return Pt},set:function(t){Pt=t}},rejectionMapper:{get:function(){return Bt},set:function(t){Bt=t}},follow:function(t,e){return new $t((function(n,i){return fe((function(e,n){var i=Ft;i.unhandleds=[],i.onunhandled=n,i.finalize=dt((function(){var t=this;ie((function(){0===t.unhandleds.length?e():n(t.unhandleds[0])}))}),i.finalize),t()}),e,n,i)}))}}),Ot&&(Ot.allSettled&&f($t,"allSettled",(function(){var t=V.apply(null,arguments).map(ve);return new $t((function(e){0===t.length&&e([]);var n=t.length,i=new Array(n);t.forEach((function(t,r){return $t.resolve(t).then((function(t){return i[r]={status:"fulfilled",value:t}}),(function(t){return i[r]={status:"rejected",reason:t}})).then((function(){return--n||e(i)}))}))}))})),Ot.any&&"undefined"!==typeof AggregateError&&f($t,"any",(function(){var t=V.apply(null,arguments).map(ve);return new $t((function(e,n){0===t.length&&n(new AggregateError([]));var i=t.length,r=new Array(i);t.forEach((function(t,o){return $t.resolve(t).then((function(t){return e(t)}),(function(t){r[o]=t,--i||n(new AggregateError(r))}))}))}))})));var le={awaits:0,echoes:0,id:0},ue=0,ce=[],he=0,de=0,pe=0;function fe(t,e,n,i){var r=Ft,o=Object.create(r);o.parent=r,o.ref=0,o.global=!1,o.id=++pe;var a=Nt.env;o.env=Tt?{Promise:$t,PromiseProp:{value:$t,configurable:!0,writable:!0},all:$t.all,race:$t.race,allSettled:$t.allSettled,any:$t.any,resolve:$t.resolve,reject:$t.reject,nthen:ke(a.nthen,o),gthen:ke(a.gthen,o)}:{},e&&l(o,e),++r.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=we(o,t,n,i);return 0===o.ref&&o.finalize(),s}function ge(){return le.id||(le.id=++ue),++le.awaits,le.echoes+=xt,le.id}function me(){return!!le.awaits&&(0===--le.awaits&&(le.id=0),le.echoes=le.awaits*xt,!0)}function ve(t){return le.echoes&&t&&t.constructor===Ot?(ge(),t.then((function(t){return me(),t}),(function(t){return me(),Te(t)}))):t}function ye(t){++de,le.echoes&&0!==--le.echoes||(le.echoes=le.id=0),ce.push(Ft),_e(t,!0)}function be(){var t=ce[ce.length-1];ce.pop(),_e(t,!1)}function _e(t,e){var n=Ft;if((e?!le.echoes||he++&&t===Ft:!he||--he&&t===Ft)||Se(e?ye.bind(null,t):be),t!==Ft&&(Ft=t,n===Nt&&(Nt.env=xe()),Tt)){var i=Nt.env.Promise,r=t.env;Ct.then=r.nthen,i.prototype.then=r.gthen,(n.global||t.global)&&(Object.defineProperty(o,"Promise",r.PromiseProp),i.all=r.all,i.race=r.race,i.resolve=r.resolve,i.reject=r.reject,r.allSettled&&(i.allSettled=r.allSettled),r.any&&(i.any=r.any))}}function xe(){var t=o.Promise;return Tt?{Promise:t,PromiseProp:Object.getOwnPropertyDescriptor(o,"Promise"),all:t.all,race:t.race,allSettled:t.allSettled,any:t.any,resolve:t.resolve,reject:t.reject,nthen:Ct.then,gthen:t.prototype.then}:{}}function we(t,e,n,i,r){var o=Ft;try{return _e(t,!0),e(n,i,r)}finally{_e(o,!1)}}function Se(t){Mt.call(St,t)}function Ce(t,e,n,i){return"function"!==typeof t?t:function(){var r=Ft;n&&ge(),_e(e,!0);try{return t.apply(this,arguments)}finally{_e(r,!1),i&&Se(me)}}}function ke(t,e){return function(n,i){return t.call(this,Ce(n,e),Ce(i,e))}}-1===(""+Mt).indexOf("[native code]")&&(ge=me=ut);var Me="unhandledrejection";function Oe(t,e){var n;try{n=e.onuncatched(t)}catch(a){}if(!1!==n)try{var i,r={promise:e,reason:t};if(o.document&&document.createEvent?(i=document.createEvent("Event"),i.initEvent(Me,!0,!0),l(i,r)):o.CustomEvent&&(i=new CustomEvent(Me,{detail:r}),l(i,r)),i&&o.dispatchEvent&&(dispatchEvent(i),!o.PromiseRejectionEvent&&o.onunhandledrejection))try{o.onunhandledrejection(i)}catch(s){}$&&i&&!i.defaultPrevented&&console.warn("Unhandled rejection: "+(t.stack||t))}catch(a){}}var Te=$t.reject;function Ae(t,e,n,i){if(t.idbdb&&(t._state.openComplete||Ft.letThrough||t._vip)){var r=t._createTransaction(e,n,t._dbSchema);try{r.create(),t._state.PR1398_maxLoop=3}catch(o){return o.name===it.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),t._close(),t.open().then((function(){return Ae(t,e,n,i)}))):Te(o)}return r._promise(e,(function(t,e){return fe((function(){return Ft.trans=r,i(t,e,r)}))})).then((function(t){return r._completion.then((function(){return t}))}))}if(t._state.openComplete)return Te(new ot.DatabaseClosed(t._state.dbOpenError));if(!t._state.isBeingOpened){if(!t._options.autoOpen)return Te(new ot.DatabaseClosed);t.open().catch(ut)}return t._state.dbReadyPromise.then((function(){return Ae(t,e,n,i)}))}var Ie="3.2.2",Pe=String.fromCharCode(65535),Ee=-1/0,De="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",Le="String expected.",je=[],Re="undefined"!==typeof navigator&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),Be=Re,Ne=Re,Fe=function(t){return!/(dexie\.js|dexie\.min\.js)/.test(t)},ze="__dbnames",Ve="readonly",qe="readwrite";function $e(t,e){return t?e?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:t:e}var He={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function Ge(t){return"string"!==typeof t||/\./.test(t)?function(t){return t}:function(e){return void 0===e[t]&&t in e&&(e=L(e),delete e[t]),e}}var We=function(){function t(){}return t.prototype._trans=function(t,e,n){var i=this._tx||Ft.trans,r=this.name;function o(t,n,i){if(!i.schema[r])throw new ot.NotFound("Table "+r+" not part of transaction");return e(i.idbtrans,i)}var a=te();try{return i&&i.db===this.db?i===Ft.trans?i._promise(t,o,n):fe((function(){return i._promise(t,o,n)}),{trans:i,transless:Ft.transless||Ft}):Ae(this.db,t,[this.name],o)}finally{a&&ee()}},t.prototype.get=function(t,e){var n=this;return t&&t.constructor===Object?this.where(t).first(e):this._trans("readonly",(function(e){return n.core.get({trans:e,key:t}).then((function(t){return n.hook.reading.fire(t)}))})).then(e)},t.prototype.where=function(t){if("string"===typeof t)return new this.db.WhereClause(this,t);if(s(t))return new this.db.WhereClause(this,"["+t.join("+")+"]");var e=a(t);if(1===e.length)return this.where(e[0]).equals(t[e[0]]);var n=this.schema.indexes.concat(this.schema.primKey).filter((function(t){return t.compound&&e.every((function(e){return t.keyPath.indexOf(e)>=0}))&&t.keyPath.every((function(t){return e.indexOf(t)>=0}))}))[0];if(n&&this.db._maxKey!==Pe)return this.where(n.name).equals(n.keyPath.map((function(e){return t[e]})));!n&&$&&console.warn("The query "+JSON.stringify(t)+" on "+this.name+" would benefit of a compound index ["+e.join("+")+"]");var i=this.schema.idxByName,r=this.db._deps.indexedDB;function o(t,e){try{return 0===r.cmp(t,e)}catch(n){return!1}}var l=e.reduce((function(e,n){var r=e[0],a=e[1],l=i[n],u=t[n];return[r||l,r||!l?$e(a,l&&l.multi?function(t){var e=k(t,n);return s(e)&&e.some((function(t){return o(u,t)}))}:function(t){return o(u,k(t,n))}):a]}),[null,null]),u=l[0],c=l[1];return u?this.where(u.name).equals(t[u.keyPath]).filter(c):n?this.filter(c):this.where(e).equals("")},t.prototype.filter=function(t){return this.toCollection().and(t)},t.prototype.count=function(t){return this.toCollection().count(t)},t.prototype.offset=function(t){return this.toCollection().offset(t)},t.prototype.limit=function(t){return this.toCollection().limit(t)},t.prototype.each=function(t){return this.toCollection().each(t)},t.prototype.toArray=function(t){return this.toCollection().toArray(t)},t.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},t.prototype.orderBy=function(t){return new this.db.Collection(new this.db.WhereClause(this,s(t)?"["+t.join("+")+"]":t))},t.prototype.reverse=function(){return this.toCollection().reverse()},t.prototype.mapToClass=function(t){this.schema.mappedClass=t;var e=function(e){if(!e)return e;var n=Object.create(t.prototype);for(var i in e)if(h(e,i))try{n[i]=e[i]}catch(r){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=e,this.hook("reading",e),t},t.prototype.defineClass=function(){function t(t){l(this,t)}return this.mapToClass(t)},t.prototype.add=function(t,e){var n=this,i=this.schema.primKey,r=i.auto,o=i.keyPath,a=t;return o&&r&&(a=Ge(o)(t)),this._trans("readwrite",(function(t){return n.core.mutate({trans:t,type:"add",keys:null!=e?[e]:null,values:[a]})})).then((function(t){return t.numFailures?$t.reject(t.failures[0]):t.lastResult})).then((function(e){if(o)try{M(t,o,e)}catch(n){}return e}))},t.prototype.update=function(t,e){if("object"!==typeof t||s(t))return this.where(":id").equals(t).modify(e);var n=k(t,this.schema.primKey.keyPath);if(void 0===n)return Te(new ot.InvalidArgument("Given object does not contain its primary key"));try{"function"!==typeof e?a(e).forEach((function(n){M(t,n,e[n])})):e(t,{value:t,primKey:n})}catch(Ti){}return this.where(":id").equals(n).modify(e)},t.prototype.put=function(t,e){var n=this,i=this.schema.primKey,r=i.auto,o=i.keyPath,a=t;return o&&r&&(a=Ge(o)(t)),this._trans("readwrite",(function(t){return n.core.mutate({trans:t,type:"put",values:[a],keys:null!=e?[e]:null})})).then((function(t){return t.numFailures?$t.reject(t.failures[0]):t.lastResult})).then((function(e){if(o)try{M(t,o,e)}catch(n){}return e}))},t.prototype.delete=function(t){var e=this;return this._trans("readwrite",(function(n){return e.core.mutate({trans:n,type:"delete",keys:[t]})})).then((function(t){return t.numFailures?$t.reject(t.failures[0]):void 0}))},t.prototype.clear=function(){var t=this;return this._trans("readwrite",(function(e){return t.core.mutate({trans:e,type:"deleteRange",range:He})})).then((function(t){return t.numFailures?$t.reject(t.failures[0]):void 0}))},t.prototype.bulkGet=function(t){var e=this;return this._trans("readonly",(function(n){return e.core.getMany({keys:t,trans:n}).then((function(t){return t.map((function(t){return e.hook.reading.fire(t)}))}))}))},t.prototype.bulkAdd=function(t,e,n){var i=this,r=Array.isArray(e)?e:void 0;n=n||(r?void 0:e);var o=n?n.allKeys:void 0;return this._trans("readwrite",(function(e){var n=i.schema.primKey,a=n.auto,s=n.keyPath;if(s&&r)throw new ot.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(r&&r.length!==t.length)throw new ot.InvalidArgument("Arguments objects and keys must have the same length");var l=t.length,u=s&&a?t.map(Ge(s)):t;return i.core.mutate({trans:e,type:"add",keys:r,values:u,wantResults:o}).then((function(t){var e=t.numFailures,n=t.results,r=t.lastResult,a=t.failures,s=o?n:r;if(0===e)return s;throw new nt(i.name+".bulkAdd(): "+e+" of "+l+" operations failed",a)}))}))},t.prototype.bulkPut=function(t,e,n){var i=this,r=Array.isArray(e)?e:void 0;n=n||(r?void 0:e);var o=n?n.allKeys:void 0;return this._trans("readwrite",(function(e){var n=i.schema.primKey,a=n.auto,s=n.keyPath;if(s&&r)throw new ot.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(r&&r.length!==t.length)throw new ot.InvalidArgument("Arguments objects and keys must have the same length");var l=t.length,u=s&&a?t.map(Ge(s)):t;return i.core.mutate({trans:e,type:"put",keys:r,values:u,wantResults:o}).then((function(t){var e=t.numFailures,n=t.results,r=t.lastResult,a=t.failures,s=o?n:r;if(0===e)return s;throw new nt(i.name+".bulkPut(): "+e+" of "+l+" operations failed",a)}))}))},t.prototype.bulkDelete=function(t){var e=this,n=t.length;return this._trans("readwrite",(function(n){return e.core.mutate({trans:n,type:"delete",keys:t})})).then((function(t){var i=t.numFailures,r=t.lastResult,o=t.failures;if(0===i)return r;throw new nt(e.name+".bulkDelete(): "+i+" of "+n+" operations failed",o)}))},t}();function Ue(t){var e={},n=function(n,i){if(i){var r=arguments.length,o=new Array(r-1);while(--r)o[r-1]=arguments[r];return e[n].subscribe.apply(null,o),t}if("string"===typeof n)return e[n]};n.addEventType=o;for(var i=1,r=arguments.length;i<r;++i)o(arguments[i]);return n;function o(t,i,r){if("object"===typeof t)return l(t);i||(i=mt),r||(r=ut);var o={subscribers:[],fire:r,subscribe:function(t){-1===o.subscribers.indexOf(t)&&(o.subscribers.push(t),o.fire=i(o.fire,t))},unsubscribe:function(t){o.subscribers=o.subscribers.filter((function(e){return e!==t})),o.fire=o.subscribers.reduce(i,r)}};return e[t]=n[t]=o,o}function l(t){a(t).forEach((function(e){var n=t[e];if(s(n))o(e,t[e][0],t[e][1]);else{if("asap"!==n)throw new ot.InvalidArgument("Invalid event config");var i=o(e,ct,(function(){var t=arguments.length,e=new Array(t);while(t--)e[t]=arguments[t];i.subscribers.forEach((function(t){w((function(){t.apply(null,e)}))}))}))}}))}}function Ye(t,e){return g(e).from({prototype:t}),e}function Xe(t){return Ye(We.prototype,(function(e,n,i){this.db=t,this._tx=i,this.name=e,this.schema=n,this.hook=t._allTables[e]?t._allTables[e].hook:Ue(null,{creating:[pt,ut],reading:[ht,ct],updating:[gt,ut],deleting:[ft,ut]})}))}function Ke(t,e){return!(t.filter||t.algorithm||t.or)&&(e?t.justLimit:!t.replayFilter)}function Ze(t,e){t.filter=$e(t.filter,e)}function Qe(t,e,n){var i=t.replayFilter;t.replayFilter=i?function(){return $e(i(),e())}:e,t.justLimit=n&&!i}function Je(t,e){t.isMatch=$e(t.isMatch,e)}function tn(t,e){if(t.isPrimKey)return e.primaryKey;var n=e.getIndexByKeyPath(t.index);if(!n)throw new ot.Schema("KeyPath "+t.index+" on object store "+e.name+" is not indexed");return n}function en(t,e,n){var i=tn(t,e.schema);return e.openCursor({trans:n,values:!t.keysOnly,reverse:"prev"===t.dir,unique:!!t.unique,query:{index:i,range:t.range}})}function nn(t,e,n,i){var r=t.replayFilter?$e(t.filter,t.replayFilter()):t.filter;if(t.or){var o={},a=function(t,n,i){if(!r||r(n,i,(function(t){return n.stop(t)}),(function(t){return n.fail(t)}))){var a=n.primaryKey,s=""+a;"[object ArrayBuffer]"===s&&(s=""+new Uint8Array(a)),h(o,s)||(o[s]=!0,e(t,n,i))}};return Promise.all([t.or._iterate(a,n),rn(en(t,i,n),t.algorithm,a,!t.keysOnly&&t.valueMapper)])}return rn(en(t,i,n),$e(t.algorithm,r),e,!t.keysOnly&&t.valueMapper)}function rn(t,e,n,i){var r=i?function(t,e,r){return n(i(t),e,r)}:n,o=se(r);return t.then((function(t){if(t)return t.start((function(){var n=function(){return t.continue()};e&&!e(t,(function(t){return n=t}),(function(e){t.stop(e),n=ut}),(function(e){t.fail(e),n=ut}))||o(t.value,t,(function(t){return n=t})),n()}))}))}function on(t,e){try{var n=ln(t),i=ln(e);if(n!==i)return"Array"===n?1:"Array"===i?-1:"binary"===n?1:"binary"===i?-1:"string"===n?1:"string"===i?-1:"Date"===n?1:"Date"!==i?NaN:-1;switch(n){case"number":case"Date":case"string":return t>e?1:t<e?-1:0;case"binary":return sn(un(t),un(e));case"Array":return an(t,e)}}catch(Ti){}return NaN}function an(t,e){for(var n=t.length,i=e.length,r=n<i?n:i,o=0;o<r;++o){var a=on(t[o],e[o]);if(0!==a)return a}return n===i?0:n<i?-1:1}function sn(t,e){for(var n=t.length,i=e.length,r=n<i?n:i,o=0;o<r;++o)if(t[o]!==e[o])return t[o]<e[o]?-1:1;return n===i?0:n<i?-1:1}function ln(t){var e=typeof t;if("object"!==e)return e;if(ArrayBuffer.isView(t))return"binary";var n=B(t);return"ArrayBuffer"===n?"binary":n}function un(t){return t instanceof Uint8Array?t:ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):new Uint8Array(t)}var cn=function(){function t(){}return t.prototype._read=function(t,e){var n=this._ctx;return n.error?n.table._trans(null,Te.bind(null,n.error)):n.table._trans("readonly",t).then(e)},t.prototype._write=function(t){var e=this._ctx;return e.error?e.table._trans(null,Te.bind(null,e.error)):e.table._trans("readwrite",t,"locked")},t.prototype._addAlgorithm=function(t){var e=this._ctx;e.algorithm=$e(e.algorithm,t)},t.prototype._iterate=function(t,e){return nn(this._ctx,t,e,this._ctx.table.core)},t.prototype.clone=function(t){var e=Object.create(this.constructor.prototype),n=Object.create(this._ctx);return t&&l(n,t),e._ctx=n,e},t.prototype.raw=function(){return this._ctx.valueMapper=null,this},t.prototype.each=function(t){var e=this._ctx;return this._read((function(n){return nn(e,t,n,e.table.core)}))},t.prototype.count=function(t){var e=this;return this._read((function(t){var n=e._ctx,i=n.table.core;if(Ke(n,!0))return i.count({trans:t,query:{index:tn(n,i.schema),range:n.range}}).then((function(t){return Math.min(t,n.limit)}));var r=0;return nn(n,(function(){return++r,!1}),t,i).then((function(){return r}))})).then(t)},t.prototype.sortBy=function(t,e){var n=t.split(".").reverse(),i=n[0],r=n.length-1;function o(t,e){return e?o(t[n[e]],e-1):t[i]}var a="next"===this._ctx.dir?1:-1;function s(t,e){var n=o(t,r),i=o(e,r);return n<i?-a:n>i?a:0}return this.toArray((function(t){return t.sort(s)})).then(e)},t.prototype.toArray=function(t){var e=this;return this._read((function(t){var n=e._ctx;if("next"===n.dir&&Ke(n,!0)&&n.limit>0){var i=n.valueMapper,r=tn(n,n.table.core.schema);return n.table.core.query({trans:t,limit:n.limit,values:!0,query:{index:r,range:n.range}}).then((function(t){var e=t.result;return i?e.map(i):e}))}var o=[];return nn(n,(function(t){return o.push(t)}),t,n.table.core).then((function(){return o}))}),t)},t.prototype.offset=function(t){var e=this._ctx;return t<=0||(e.offset+=t,Ke(e)?Qe(e,(function(){var e=t;return function(t,n){return 0===e||(1===e?(--e,!1):(n((function(){t.advance(e),e=0})),!1))}})):Qe(e,(function(){var e=t;return function(){return--e<0}}))),this},t.prototype.limit=function(t){return this._ctx.limit=Math.min(this._ctx.limit,t),Qe(this._ctx,(function(){var e=t;return function(t,n,i){return--e<=0&&n(i),e>=0}}),!0),this},t.prototype.until=function(t,e){return Ze(this._ctx,(function(n,i,r){return!t(n.value)||(i(r),e)})),this},t.prototype.first=function(t){return this.limit(1).toArray((function(t){return t[0]})).then(t)},t.prototype.last=function(t){return this.reverse().first(t)},t.prototype.filter=function(t){return Ze(this._ctx,(function(e){return t(e.value)})),Je(this._ctx,t),this},t.prototype.and=function(t){return this.filter(t)},t.prototype.or=function(t){return new this.db.WhereClause(this._ctx.table,t,this)},t.prototype.reverse=function(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},t.prototype.desc=function(){return this.reverse()},t.prototype.eachKey=function(t){var e=this._ctx;return e.keysOnly=!e.isMatch,this.each((function(e,n){t(n.key,n)}))},t.prototype.eachUniqueKey=function(t){return this._ctx.unique="unique",this.eachKey(t)},t.prototype.eachPrimaryKey=function(t){var e=this._ctx;return e.keysOnly=!e.isMatch,this.each((function(e,n){t(n.primaryKey,n)}))},t.prototype.keys=function(t){var e=this._ctx;e.keysOnly=!e.isMatch;var n=[];return this.each((function(t,e){n.push(e.key)})).then((function(){return n})).then(t)},t.prototype.primaryKeys=function(t){var e=this._ctx;if("next"===e.dir&&Ke(e,!0)&&e.limit>0)return this._read((function(t){var n=tn(e,e.table.core.schema);return e.table.core.query({trans:t,values:!1,limit:e.limit,query:{index:n,range:e.range}})})).then((function(t){var e=t.result;return e})).then(t);e.keysOnly=!e.isMatch;var n=[];return this.each((function(t,e){n.push(e.primaryKey)})).then((function(){return n})).then(t)},t.prototype.uniqueKeys=function(t){return this._ctx.unique="unique",this.keys(t)},t.prototype.firstKey=function(t){return this.limit(1).keys((function(t){return t[0]})).then(t)},t.prototype.lastKey=function(t){return this.reverse().firstKey(t)},t.prototype.distinct=function(){var t=this._ctx,e=t.index&&t.table.schema.idxByName[t.index];if(!e||!e.multi)return this;var n={};return Ze(this._ctx,(function(t){var e=t.primaryKey.toString(),i=h(n,e);return n[e]=!0,!i})),this},t.prototype.modify=function(t){var e=this,n=this._ctx;return this._write((function(i){var r;if("function"===typeof t)r=t;else{var o=a(t),s=o.length;r=function(e){for(var n=!1,i=0;i<s;++i){var r=o[i],a=t[r];k(e,r)!==a&&(M(e,r,a),n=!0)}return n}}var l=n.table.core,u=l.schema.primaryKey,c=u.outbound,h=u.extractKey,d=e.db._options.modifyChunkSize||200,p=[],f=0,g=[],m=function(t,e){var n=e.failures,i=e.numFailures;f+=t-i;for(var r=0,o=a(n);r<o.length;r++){var s=o[r];p.push(n[s])}};return e.clone().primaryKeys().then((function(e){var o=function(a){var s=Math.min(d,e.length-a);return l.getMany({trans:i,keys:e.slice(a,a+s),cache:"immutable"}).then((function(u){for(var p=[],f=[],g=c?[]:null,v=[],y=0;y<s;++y){var b=u[y],_={value:L(b),primKey:e[a+y]};!1!==r.call(_,_.value,_)&&(null==_.value?v.push(e[a+y]):c||0===on(h(b),h(_.value))?(f.push(_.value),c&&g.push(e[a+y])):(v.push(e[a+y]),p.push(_.value)))}var x=Ke(n)&&n.limit===1/0&&("function"!==typeof t||t===hn)&&{index:n.index,range:n.range};return Promise.resolve(p.length>0&&l.mutate({trans:i,type:"add",values:p}).then((function(t){for(var e in t.failures)v.splice(parseInt(e),1);m(p.length,t)}))).then((function(){return(f.length>0||x&&"object"===typeof t)&&l.mutate({trans:i,type:"put",keys:g,values:f,criteria:x,changeSpec:"function"!==typeof t&&t}).then((function(t){return m(f.length,t)}))})).then((function(){return(v.length>0||x&&t===hn)&&l.mutate({trans:i,type:"delete",keys:v,criteria:x}).then((function(t){return m(v.length,t)}))})).then((function(){return e.length>a+s&&o(a+d)}))}))};return o(0).then((function(){if(p.length>0)throw new et("Error modifying one or more objects",p,f,g);return e.length}))}))}))},t.prototype.delete=function(){var t=this._ctx,e=t.range;return Ke(t)&&(t.isPrimKey&&!Ne||3===e.type)?this._write((function(n){var i=t.table.core.schema.primaryKey,r=e;return t.table.core.count({trans:n,query:{index:i,range:r}}).then((function(e){return t.table.core.mutate({trans:n,type:"deleteRange",range:r}).then((function(t){var n=t.failures;t.lastResult,t.results;var i=t.numFailures;if(i)throw new et("Could not delete some values",Object.keys(n).map((function(t){return n[t]})),e-i);return e-i}))}))})):this.modify(hn)},t}(),hn=function(t,e){return e.value=null};function dn(t){return Ye(cn.prototype,(function(e,n){this.db=t;var i=He,r=null;if(n)try{i=n()}catch(l){r=l}var o=e._ctx,a=o.table,s=a.hook.reading.fire;this._ctx={table:a,index:o.index,isPrimKey:!o.index||a.schema.primKey.keyPath&&o.index===a.schema.primKey.name,range:i,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:r,or:o.or,valueMapper:s!==ct?s:null}}))}function pn(t,e){return t<e?-1:t===e?0:1}function fn(t,e){return t>e?-1:t===e?0:1}function gn(t,e,n){var i=t instanceof Sn?new t.Collection(t):t;return i._ctx.error=n?new n(e):new TypeError(e),i}function mn(t){return new t.Collection(t,(function(){return wn("")})).limit(0)}function vn(t){return"next"===t?function(t){return t.toUpperCase()}:function(t){return t.toLowerCase()}}function yn(t){return"next"===t?function(t){return t.toLowerCase()}:function(t){return t.toUpperCase()}}function bn(t,e,n,i,r,o){for(var a=Math.min(t.length,i.length),s=-1,l=0;l<a;++l){var u=e[l];if(u!==i[l])return r(t[l],n[l])<0?t.substr(0,l)+n[l]+n.substr(l+1):r(t[l],i[l])<0?t.substr(0,l)+i[l]+n.substr(l+1):s>=0?t.substr(0,s)+e[s]+n.substr(s+1):null;r(t[l],u)<0&&(s=l)}return a<i.length&&"next"===o?t+n.substr(t.length):a<t.length&&"prev"===o?t.substr(0,n.length):s<0?null:t.substr(0,s)+i[s]+n.substr(s+1)}function _n(t,e,n,i){var r,o,a,s,l,u,c,h=n.length;if(!n.every((function(t){return"string"===typeof t})))return gn(t,Le);function d(t){r=vn(t),o=yn(t),a="next"===t?pn:fn;var e=n.map((function(t){return{lower:o(t),upper:r(t)}})).sort((function(t,e){return a(t.lower,e.lower)}));s=e.map((function(t){return t.upper})),l=e.map((function(t){return t.lower})),u=t,c="next"===t?"":i}d("next");var p=new t.Collection(t,(function(){return xn(s[0],l[h-1]+i)}));p._ondirectionchange=function(t){d(t)};var f=0;return p._addAlgorithm((function(t,n,i){var r=t.key;if("string"!==typeof r)return!1;var d=o(r);if(e(d,l,f))return!0;for(var p=null,g=f;g<h;++g){var m=bn(r,d,s[g],l[g],a,u);null===m&&null===p?f=g+1:(null===p||a(p,m)>0)&&(p=m)}return n(null!==p?function(){t.continue(p+c)}:i),!1})),p}function xn(t,e,n,i){return{type:2,lower:t,upper:e,lowerOpen:n,upperOpen:i}}function wn(t){return{type:1,lower:t,upper:t}}var Sn=function(){function t(){}return Object.defineProperty(t.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!1,configurable:!0}),t.prototype.between=function(t,e,n,i){n=!1!==n,i=!0===i;try{return this._cmp(t,e)>0||0===this._cmp(t,e)&&(n||i)&&(!n||!i)?mn(this):new this.Collection(this,(function(){return xn(t,e,!n,!i)}))}catch(r){return gn(this,De)}},t.prototype.equals=function(t){return null==t?gn(this,De):new this.Collection(this,(function(){return wn(t)}))},t.prototype.above=function(t){return null==t?gn(this,De):new this.Collection(this,(function(){return xn(t,void 0,!0)}))},t.prototype.aboveOrEqual=function(t){return null==t?gn(this,De):new this.Collection(this,(function(){return xn(t,void 0,!1)}))},t.prototype.below=function(t){return null==t?gn(this,De):new this.Collection(this,(function(){return xn(void 0,t,!1,!0)}))},t.prototype.belowOrEqual=function(t){return null==t?gn(this,De):new this.Collection(this,(function(){return xn(void 0,t)}))},t.prototype.startsWith=function(t){return"string"!==typeof t?gn(this,Le):this.between(t,t+Pe,!0,!0)},t.prototype.startsWithIgnoreCase=function(t){return""===t?this.startsWith(t):_n(this,(function(t,e){return 0===t.indexOf(e[0])}),[t],Pe)},t.prototype.equalsIgnoreCase=function(t){return _n(this,(function(t,e){return t===e[0]}),[t],"")},t.prototype.anyOfIgnoreCase=function(){var t=V.apply(z,arguments);return 0===t.length?mn(this):_n(this,(function(t,e){return-1!==e.indexOf(t)}),t,"")},t.prototype.startsWithAnyOfIgnoreCase=function(){var t=V.apply(z,arguments);return 0===t.length?mn(this):_n(this,(function(t,e){return e.some((function(e){return 0===t.indexOf(e)}))}),t,Pe)},t.prototype.anyOf=function(){var t=this,e=V.apply(z,arguments),n=this._cmp;try{e.sort(n)}catch(o){return gn(this,De)}if(0===e.length)return mn(this);var i=new this.Collection(this,(function(){return xn(e[0],e[e.length-1])}));i._ondirectionchange=function(i){n="next"===i?t._ascending:t._descending,e.sort(n)};var r=0;return i._addAlgorithm((function(t,i,o){var a=t.key;while(n(a,e[r])>0)if(++r,r===e.length)return i(o),!1;return 0===n(a,e[r])||(i((function(){t.continue(e[r])})),!1)})),i},t.prototype.notEqual=function(t){return this.inAnyRange([[Ee,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},t.prototype.noneOf=function(){var t=V.apply(z,arguments);if(0===t.length)return new this.Collection(this);try{t.sort(this._ascending)}catch(n){return gn(this,De)}var e=t.reduce((function(t,e){return t?t.concat([[t[t.length-1][1],e]]):[[Ee,e]]}),null);return e.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(e,{includeLowers:!1,includeUppers:!1})},t.prototype.inAnyRange=function(t,e){var n=this,i=this._cmp,r=this._ascending,o=this._descending,a=this._min,s=this._max;if(0===t.length)return mn(this);if(!t.every((function(t){return void 0!==t[0]&&void 0!==t[1]&&r(t[0],t[1])<=0})))return gn(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",ot.InvalidArgument);var l=!e||!1!==e.includeLowers,u=e&&!0===e.includeUppers;function c(t,e){for(var n=0,r=t.length;n<r;++n){var o=t[n];if(i(e[0],o[1])<0&&i(e[1],o[0])>0){o[0]=a(o[0],e[0]),o[1]=s(o[1],e[1]);break}}return n===r&&t.push(e),t}var h,d=r;function p(t,e){return d(t[0],e[0])}try{h=t.reduce(c,[]),h.sort(p)}catch(_){return gn(this,De)}var f=0,g=u?function(t){return r(t,h[f][1])>0}:function(t){return r(t,h[f][1])>=0},m=l?function(t){return o(t,h[f][0])>0}:function(t){return o(t,h[f][0])>=0};function v(t){return!g(t)&&!m(t)}var y=g,b=new this.Collection(this,(function(){return xn(h[0][0],h[h.length-1][1],!l,!u)}));return b._ondirectionchange=function(t){"next"===t?(y=g,d=r):(y=m,d=o),h.sort(p)},b._addAlgorithm((function(t,e,i){var o=t.key;while(y(o))if(++f,f===h.length)return e(i),!1;return!!v(o)||(0===n._cmp(o,h[f][1])||0===n._cmp(o,h[f][0])||e((function(){d===r?t.continue(h[f][0]):t.continue(h[f][1])})),!1)})),b},t.prototype.startsWithAnyOf=function(){var t=V.apply(z,arguments);return t.every((function(t){return"string"===typeof t}))?0===t.length?mn(this):this.inAnyRange(t.map((function(t){return[t,t+Pe]}))):gn(this,"startsWithAnyOf() only works with strings")},t}();function Cn(t){return Ye(Sn.prototype,(function(e,n,i){this.db=t,this._ctx={table:e,index:":id"===n?null:n,or:i};var r=t._deps.indexedDB;if(!r)throw new ot.MissingAPI;this._cmp=this._ascending=r.cmp.bind(r),this._descending=function(t,e){return r.cmp(e,t)},this._max=function(t,e){return r.cmp(t,e)>0?t:e},this._min=function(t,e){return r.cmp(t,e)<0?t:e},this._IDBKeyRange=t._deps.IDBKeyRange}))}function kn(t){return se((function(e){return Mn(e),t(e.target.error),!1}))}function Mn(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()}var On="storagemutated",Tn="x-storagemutated-1",An=Ue(null,On),In=function(){function t(){}return t.prototype._lock=function(){return x(!Ft.global),++this._reculock,1!==this._reculock||Ft.global||(Ft.lockOwnerFor=this),this},t.prototype._unlock=function(){if(x(!Ft.global),0===--this._reculock){Ft.global||(Ft.lockOwnerFor=null);while(this._blockedFuncs.length>0&&!this._locked()){var t=this._blockedFuncs.shift();try{we(t[1],t[0])}catch(e){}}}return this},t.prototype._locked=function(){return this._reculock&&Ft.lockOwnerFor!==this},t.prototype.create=function(t){var e=this;if(!this.mode)return this;var n=this.db.idbdb,i=this.db._state.dbOpenError;if(x(!this.idbtrans),!t&&!n)switch(i&&i.name){case"DatabaseClosedError":throw new ot.DatabaseClosed(i);case"MissingAPIError":throw new ot.MissingAPI(i.message,i);default:throw new ot.OpenFailed(i)}if(!this.active)throw new ot.TransactionInactive;return x(null===this._completion._state),t=this.idbtrans=t||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):n.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability})),t.onerror=se((function(n){Mn(n),e._reject(t.error)})),t.onabort=se((function(n){Mn(n),e.active&&e._reject(new ot.Abort(t.error)),e.active=!1,e.on("abort").fire(n)})),t.oncomplete=se((function(){e.active=!1,e._resolve(),"mutatedParts"in t&&An.storagemutated.fire(t["mutatedParts"])})),this},t.prototype._promise=function(t,e,n){var i=this;if("readwrite"===t&&"readwrite"!==this.mode)return Te(new ot.ReadOnly("Transaction is readonly"));if(!this.active)return Te(new ot.TransactionInactive);if(this._locked())return new $t((function(r,o){i._blockedFuncs.push([function(){i._promise(t,e,n).then(r,o)},Ft])}));if(n)return fe((function(){var t=new $t((function(t,n){i._lock();var r=e(t,n,i);r&&r.then&&r.then(t,n)}));return t.finally((function(){return i._unlock()})),t._lib=!0,t}));var r=new $t((function(t,n){var r=e(t,n,i);r&&r.then&&r.then(t,n)}));return r._lib=!0,r},t.prototype._root=function(){return this.parent?this.parent._root():this},t.prototype.waitFor=function(t){var e=this._root(),n=$t.resolve(t);if(e._waitingFor)e._waitingFor=e._waitingFor.then((function(){return n}));else{e._waitingFor=n,e._waitingQueue=[];var i=e.idbtrans.objectStore(e.storeNames[0]);(function t(){++e._spinCount;while(e._waitingQueue.length)e._waitingQueue.shift()();e._waitingFor&&(i.get(-1/0).onsuccess=t)})()}var r=e._waitingFor;return new $t((function(t,i){n.then((function(n){return e._waitingQueue.push(se(t.bind(null,n)))}),(function(t){return e._waitingQueue.push(se(i.bind(null,t)))})).finally((function(){e._waitingFor===r&&(e._waitingFor=null)}))}))},t.prototype.abort=function(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new ot.Abort))},t.prototype.table=function(t){var e=this._memoizedTables||(this._memoizedTables={});if(h(e,t))return e[t];var n=this.schema[t];if(!n)throw new ot.NotFound("Table "+t+" not part of transaction");var i=new this.db.Table(t,n,this);return i.core=this.db.core.table(t),e[t]=i,i},t}();function Pn(t){return Ye(In.prototype,(function(e,n,i,r,o){var a=this;this.db=t,this.mode=e,this.storeNames=n,this.schema=i,this.chromeTransactionDurability=r,this.idbtrans=null,this.on=Ue(this,"complete","error","abort"),this.parent=o||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new $t((function(t,e){a._resolve=t,a._reject=e})),this._completion.then((function(){a.active=!1,a.on.complete.fire()}),(function(t){var e=a.active;return a.active=!1,a.on.error.fire(t),a.parent?a.parent._reject(t):e&&a.idbtrans&&a.idbtrans.abort(),Te(t)}))}))}function En(t,e,n,i,r,o,a){return{name:t,keyPath:e,unique:n,multi:i,auto:r,compound:o,src:(n&&!a?"&":"")+(i?"*":"")+(r?"++":"")+Dn(e)}}function Dn(t){return"string"===typeof t?t:t?"["+[].join.call(t,"+")+"]":""}function Ln(t,e,n){return{name:t,primKey:e,indexes:n,mappedClass:null,idxByName:S(n,(function(t){return[t.name,t]}))}}function jn(t){return 1===t.length?t[0]:t}var Rn=function(t){try{return t.only([[]]),Rn=function(){return[[]]},[[]]}catch(e){return Rn=function(){return Pe},Pe}};function Bn(t){return null==t?function(){}:"string"===typeof t?Nn(t):function(e){return k(e,t)}}function Nn(t){var e=t.split(".");return 1===e.length?function(e){return e[t]}:function(e){return k(e,t)}}function Fn(t){return[].slice.call(t)}var zn=0;function Vn(t){return null==t?":id":"string"===typeof t?t:"["+t.join("+")+"]"}function qn(t,e,n){function i(t,e){var n=Fn(t.objectStoreNames);return{schema:{name:t.name,tables:n.map((function(t){return e.objectStore(t)})).map((function(t){var e=t.keyPath,n=t.autoIncrement,i=s(e),r=null==e,o={},a={name:t.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:r,compound:i,keyPath:e,autoIncrement:n,unique:!0,extractKey:Bn(e)},indexes:Fn(t.indexNames).map((function(e){return t.index(e)})).map((function(t){var e=t.name,n=t.unique,i=t.multiEntry,r=t.keyPath,a=s(r),l={name:e,compound:a,keyPath:r,unique:n,multiEntry:i,extractKey:Bn(r)};return o[Vn(r)]=l,l})),getIndexByKeyPath:function(t){return o[Vn(t)]}};return o[":id"]=a.primaryKey,null!=e&&(o[Vn(e)]=a.primaryKey),a}))},hasGetAll:n.length>0&&"getAll"in e.objectStore(n[0])&&!("undefined"!==typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function r(t){if(3===t.type)return null;if(4===t.type)throw new Error("Cannot convert never type to IDBKeyRange");var n=t.lower,i=t.upper,r=t.lowerOpen,o=t.upperOpen,a=void 0===n?void 0===i?null:e.upperBound(i,!!o):void 0===i?e.lowerBound(n,!!r):e.bound(n,i,!!r,!!o);return a}function o(t){var e=t.name;function n(t){var n=t.trans,i=t.type,o=t.keys,a=t.values,s=t.range;return new Promise((function(t,l){t=se(t);var u=n.objectStore(e),c=null==u.keyPath,h="put"===i||"add"===i;if(!h&&"delete"!==i&&"deleteRange"!==i)throw new Error("Invalid operation type: "+i);var d,p=(o||a||{length:1}).length;if(o&&a&&o.length!==a.length)throw new Error("Given keys array must have same length as given values array.");if(0===p)return t({numFailures:0,failures:{},results:[],lastResult:void 0});var f=[],g=[],m=0,v=function(t){++m,Mn(t)};if("deleteRange"===i){if(4===s.type)return t({numFailures:m,failures:g,results:[],lastResult:void 0});3===s.type?f.push(d=u.clear()):f.push(d=u.delete(r(s)))}else{var y=h?c?[a,o]:[a,null]:[o,null],b=y[0],_=y[1];if(h)for(var x=0;x<p;++x)f.push(d=_&&void 0!==_[x]?u[i](b[x],_[x]):u[i](b[x])),d.onerror=v;else for(x=0;x<p;++x)f.push(d=u[i](b[x])),d.onerror=v}var w=function(e){var n=e.target.result;f.forEach((function(t,e){return null!=t.error&&(g[e]=t.error)})),t({numFailures:m,failures:g,results:"delete"===i?o:f.map((function(t){return t.result})),lastResult:n})};d.onerror=function(t){v(t),w(t)},d.onsuccess=w}))}function i(t){var n=t.trans,i=t.values,o=t.query,a=t.reverse,s=t.unique;return new Promise((function(t,l){t=se(t);var u=o.index,c=o.range,h=n.objectStore(e),d=u.isPrimaryKey?h:h.index(u.name),p=a?s?"prevunique":"prev":s?"nextunique":"next",f=i||!("openKeyCursor"in d)?d.openCursor(r(c),p):d.openKeyCursor(r(c),p);f.onerror=kn(l),f.onsuccess=se((function(e){var i=f.result;if(i){i.___id=++zn,i.done=!1;var r=i.continue.bind(i),o=i.continuePrimaryKey;o&&(o=o.bind(i));var a=i.advance.bind(i),s=function(){throw new Error("Cursor not started")},u=function(){throw new Error("Cursor not stopped")};i.trans=n,i.stop=i.continue=i.continuePrimaryKey=i.advance=s,i.fail=se(l),i.next=function(){var t=this,e=1;return this.start((function(){return e--?t.continue():t.stop()})).then((function(){return t}))},i.start=function(t){var e=new Promise((function(t,e){t=se(t),f.onerror=kn(e),i.fail=e,i.stop=function(e){i.stop=i.continue=i.continuePrimaryKey=i.advance=u,t(e)}})),n=function(){if(f.result)try{t()}catch(e){i.fail(e)}else i.done=!0,i.start=function(){throw new Error("Cursor behind last entry")},i.stop()};return f.onsuccess=se((function(t){f.onsuccess=n,n()})),i.continue=r,i.continuePrimaryKey=o,i.advance=a,n(),e},t(i)}else t(null)}),l)}))}function o(t){return function(n){return new Promise((function(i,o){i=se(i);var a=n.trans,s=n.values,l=n.limit,u=n.query,c=l===1/0?void 0:l,h=u.index,d=u.range,p=a.objectStore(e),f=h.isPrimaryKey?p:p.index(h.name),g=r(d);if(0===l)return i({result:[]});if(t){var m=s?f.getAll(g,c):f.getAllKeys(g,c);m.onsuccess=function(t){return i({result:t.target.result})},m.onerror=kn(o)}else{var v=0,y=s||!("openKeyCursor"in f)?f.openCursor(g):f.openKeyCursor(g),b=[];y.onsuccess=function(t){var e=y.result;return e?(b.push(s?e.value:e.primaryKey),++v===l?i({result:b}):void e.continue()):i({result:b})},y.onerror=kn(o)}}))}}return{name:e,schema:t,mutate:n,getMany:function(t){var n=t.trans,i=t.keys;return new Promise((function(t,r){t=se(t);for(var o,a=n.objectStore(e),s=i.length,l=new Array(s),u=0,c=0,h=function(e){var n=e.target;l[n._pos]=n.result,++c===u&&t(l)},d=kn(r),p=0;p<s;++p){var f=i[p];null!=f&&(o=a.get(i[p]),o._pos=p,o.onsuccess=h,o.onerror=d,++u)}0===u&&t(l)}))},get:function(t){var n=t.trans,i=t.key;return new Promise((function(t,r){t=se(t);var o=n.objectStore(e),a=o.get(i);a.onsuccess=function(e){return t(e.target.result)},a.onerror=kn(r)}))},query:o(u),openCursor:i,count:function(t){var n=t.query,i=t.trans,o=n.index,a=n.range;return new Promise((function(t,n){var s=i.objectStore(e),l=o.isPrimaryKey?s:s.index(o.name),u=r(a),c=u?l.count(u):l.count();c.onsuccess=se((function(e){return t(e.target.result)})),c.onerror=kn(n)}))}}}var a=i(t,n),l=a.schema,u=a.hasGetAll,c=l.tables.map((function(t){return o(t)})),h={};return c.forEach((function(t){return h[t.name]=t})),{stack:"dbcore",transaction:t.transaction.bind(t),table:function(t){var e=h[t];if(!e)throw new Error("Table '"+t+"' not found");return h[t]},MIN_KEY:-1/0,MAX_KEY:Rn(e),schema:l}}function $n(t,e){return e.reduce((function(t,e){var n=e.create;return i(i({},t),n(t))}),t)}function Hn(t,e,n,i){var r=n.IDBKeyRange;n.indexedDB;var o=$n(qn(e,r,i),t.dbcore);return{dbcore:o}}function Gn(t,e){var n=t._novip,i=e.db,r=Hn(n._middlewares,i,n._deps,e);n.core=r.dbcore,n.tables.forEach((function(t){var e=t.name;n.core.schema.tables.some((function(t){return t.name===e}))&&(t.core=n.core.table(e),n[e]instanceof n.Table&&(n[e].core=t.core))}))}function Wn(t,e,n,i){var r=t._novip;n.forEach((function(t){var n=i[t];e.forEach((function(e){var i=v(e,t);(!i||"value"in i&&void 0===i.value)&&(e===r.Transaction.prototype||e instanceof r.Transaction?f(e,t,{get:function(){return this.table(t)},set:function(e){p(this,t,{value:e,writable:!0,configurable:!0,enumerable:!0})}}):e[t]=new r.Table(t,n))}))}))}function Un(t,e){var n=t._novip;e.forEach((function(t){for(var e in t)t[e]instanceof n.Table&&delete t[e]}))}function Yn(t,e){return t._cfg.version-e._cfg.version}function Xn(t,e,n,i){var r=t._dbSchema,o=t._createTransaction("readwrite",t._storeNames,r);o.create(n),o._completion.catch(i);var s=o._reject.bind(o),l=Ft.transless||Ft;fe((function(){Ft.trans=o,Ft.transless=l,0===e?(a(r).forEach((function(t){Qn(n,t,r[t].primKey,r[t].indexes)})),Gn(t,n),$t.follow((function(){return t.on.populate.fire(o)})).catch(s)):Kn(t,e,o,n).catch(s)}))}function Kn(t,e,n,i){var r=t._novip,o=[],s=r._versions,l=r._dbSchema=ni(r,r.idbdb,i),u=!1,c=s.filter((function(t){return t._cfg.version>=e}));function h(){return o.length?$t.resolve(o.shift()(n.idbtrans)).then(h):$t.resolve()}return c.forEach((function(t){o.push((function(){var o=l,s=t._cfg.dbschema;oi(r,o,i),oi(r,s,i),l=r._dbSchema=s;var c=Zn(o,s);c.add.forEach((function(t){Qn(i,t[0],t[1].primKey,t[1].indexes)})),c.change.forEach((function(t){if(t.recreate)throw new ot.Upgrade("Not yet support for changing primary key");var e=i.objectStore(t.name);t.add.forEach((function(t){return ei(e,t)})),t.change.forEach((function(t){e.deleteIndex(t.name),ei(e,t)})),t.del.forEach((function(t){return e.deleteIndex(t)}))}));var h=t._cfg.contentUpgrade;if(h&&t._cfg.version>e){Gn(r,i),n._memoizedTables={},u=!0;var d=T(s);c.del.forEach((function(t){d[t]=o[t]})),Un(r,[r.Transaction.prototype]),Wn(r,[r.Transaction.prototype],a(d),d),n.schema=d;var p,f=q(h);f&&ge();var g=$t.follow((function(){if(p=h(n),p&&f){var t=me.bind(null,null);p.then(t,t)}}));return p&&"function"===typeof p.then?$t.resolve(p):g.then((function(){return p}))}})),o.push((function(e){if(!u||!Be){var i=t._cfg.dbschema;ti(i,e)}Un(r,[r.Transaction.prototype]),Wn(r,[r.Transaction.prototype],r._storeNames,r._dbSchema),n.schema=r._dbSchema}))})),h().then((function(){Jn(l,i)}))}function Zn(t,e){var n,i={del:[],add:[],change:[]};for(n in t)e[n]||i.del.push(n);for(n in e){var r=t[n],o=e[n];if(r){var a={name:n,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(r.primKey.keyPath||"")!==""+(o.primKey.keyPath||"")||r.primKey.auto!==o.primKey.auto&&!Re)a.recreate=!0,i.change.push(a);else{var s=r.idxByName,l=o.idxByName,u=void 0;for(u in s)l[u]||a.del.push(u);for(u in l){var c=s[u],h=l[u];c?c.src!==h.src&&a.change.push(h):a.add.push(h)}(a.del.length>0||a.add.length>0||a.change.length>0)&&i.change.push(a)}}else i.add.push([n,o])}return i}function Qn(t,e,n,i){var r=t.db.createObjectStore(e,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return i.forEach((function(t){return ei(r,t)})),r}function Jn(t,e){a(t).forEach((function(n){e.db.objectStoreNames.contains(n)||Qn(e,n,t[n].primKey,t[n].indexes)}))}function ti(t,e){[].slice.call(e.db.objectStoreNames).forEach((function(n){return null==t[n]&&e.db.deleteObjectStore(n)}))}function ei(t,e){t.createIndex(e.name,e.keyPath,{unique:e.unique,multiEntry:e.multi})}function ni(t,e,n){var i={},r=b(e.objectStoreNames,0);return r.forEach((function(t){for(var e=n.objectStore(t),r=e.keyPath,o=En(Dn(r),r||"",!1,!1,!!e.autoIncrement,r&&"string"!==typeof r,!0),a=[],s=0;s<e.indexNames.length;++s){var l=e.index(e.indexNames[s]);r=l.keyPath;var u=En(l.name,r,!!l.unique,!!l.multiEntry,!1,r&&"string"!==typeof r,!1);a.push(u)}i[t]=Ln(t,o,a)})),i}function ii(t,e,n){var i=t._novip;i.verno=e.version/10;var r=i._dbSchema=ni(i,e,n);i._storeNames=b(e.objectStoreNames,0),Wn(i,[i._allTables],a(r),r)}function ri(t,e){var n=ni(t,t.idbdb,e),i=Zn(n,t._dbSchema);return!(i.add.length||i.change.some((function(t){return t.add.length||t.change.length})))}function oi(t,e,n){for(var i=t._novip,r=n.db.objectStoreNames,a=0;a<r.length;++a){var s=r[a],l=n.objectStore(s);i._hasGetAll="getAll"in l;for(var u=0;u<l.indexNames.length;++u){var c=l.indexNames[u],h=l.index(c).keyPath,d="string"===typeof h?h:"["+b(h).join("+")+"]";if(e[s]){var p=e[s].idxByName[d];p&&(p.name=c,delete e[s].idxByName[d],e[s].idxByName[c]=p)}}}"undefined"!==typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&o.WorkerGlobalScope&&o instanceof o.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(i._hasGetAll=!1)}function ai(t){return t.split(",").map((function(t,e){t=t.trim();var n=t.replace(/([&*]|\+\+)/g,""),i=/^\[/.test(n)?n.match(/^\[(.*)\]$/)[1].split("+"):n;return En(n,i||null,/\&/.test(t),/\*/.test(t),/\+\+/.test(t),s(i),0===e)}))}var si=function(){function t(){}return t.prototype._parseStoresSpec=function(t,e){a(t).forEach((function(n){if(null!==t[n]){var i=ai(t[n]),r=i.shift();if(r.multi)throw new ot.Schema("Primary key cannot be multi-valued");i.forEach((function(t){if(t.auto)throw new ot.Schema("Only primary key can be marked as autoIncrement (++)");if(!t.keyPath)throw new ot.Schema("Index must have a name and cannot be an empty string")})),e[n]=Ln(n,r,i)}}))},t.prototype.stores=function(t){var e=this.db;this._cfg.storesSource=this._cfg.storesSource?l(this._cfg.storesSource,t):t;var n=e._versions,i={},r={};return n.forEach((function(t){l(i,t._cfg.storesSource),r=t._cfg.dbschema={},t._parseStoresSpec(i,r)})),e._dbSchema=r,Un(e,[e._allTables,e,e.Transaction.prototype]),Wn(e,[e._allTables,e,e.Transaction.prototype,this._cfg.tables],a(r),r),e._storeNames=a(r),this},t.prototype.upgrade=function(t){return this._cfg.contentUpgrade=vt(this._cfg.contentUpgrade||ut,t),this},t}();function li(t){return Ye(si.prototype,(function(e){this.db=t,this._cfg={version:e,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}}))}function ui(t,e){var n=t["_dbNamesDB"];return n||(n=t["_dbNamesDB"]=new Vi(ze,{addons:[],indexedDB:t,IDBKeyRange:e}),n.version(1).stores({dbnames:"name"})),n.table("dbnames")}function ci(t){return t&&"function"===typeof t.databases}function hi(t){var e=t.indexedDB,n=t.IDBKeyRange;return ci(e)?Promise.resolve(e.databases()).then((function(t){return t.map((function(t){return t.name})).filter((function(t){return t!==ze}))})):ui(e,n).toCollection().primaryKeys()}function di(t,e){var n=t.indexedDB,i=t.IDBKeyRange;!ci(n)&&e!==ze&&ui(n,i).put({name:e}).catch(ut)}function pi(t,e){var n=t.indexedDB,i=t.IDBKeyRange;!ci(n)&&e!==ze&&ui(n,i).delete(e).catch(ut)}function fi(t){return fe((function(){return Ft.letThrough=!0,t()}))}function gi(){var t,e=!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent);return e&&indexedDB.databases?new Promise((function(e){var n=function(){return indexedDB.databases().finally(e)};t=setInterval(n,100),n()})).finally((function(){return clearInterval(t)})):Promise.resolve()}function mi(t){var e=t._state,n=t._deps.indexedDB;if(e.isBeingOpened||t.idbdb)return e.dbReadyPromise.then((function(){return e.dbOpenError?Te(e.dbOpenError):t}));$&&(e.openCanceller._stackHolder=U()),e.isBeingOpened=!0,e.dbOpenError=null,e.openComplete=!1;var i=e.openCanceller;function r(){if(e.openCanceller!==i)throw new ot.DatabaseClosed("db.open() was cancelled")}var o=e.dbReadyResolve,a=null,s=!1;return $t.race([i,("undefined"===typeof navigator?$t.resolve():gi()).then((function(){return new $t((function(i,o){if(r(),!n)throw new ot.MissingAPI;var l=t.name,u=e.autoSchema?n.open(l):n.open(l,Math.round(10*t.verno));if(!u)throw new ot.MissingAPI;u.onerror=kn(o),u.onblocked=se(t._fireOnBlocked),u.onupgradeneeded=se((function(i){if(a=u.transaction,e.autoSchema&&!t._options.allowEmptyDB){u.onerror=Mn,a.abort(),u.result.close();var r=n.deleteDatabase(l);r.onsuccess=r.onerror=se((function(){o(new ot.NoSuchDatabase("Database "+l+" doesnt exist"))}))}else{a.onerror=kn(o);var c=i.oldVersion>Math.pow(2,62)?0:i.oldVersion;s=c<1,t._novip.idbdb=u.result,Xn(t,c/10,a,o)}}),o),u.onsuccess=se((function(){a=null;var n=t._novip.idbdb=u.result,r=b(n.objectStoreNames);if(r.length>0)try{var o=n.transaction(jn(r),"readonly");e.autoSchema?ii(t,n,o):(oi(t,t._dbSchema,o),ri(t,o)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),Gn(t,o)}catch(c){}je.push(t),n.onversionchange=se((function(n){e.vcFired=!0,t.on("versionchange").fire(n)})),n.onclose=se((function(e){t.on("close").fire(e)})),s&&di(t._deps,l),i()}),o)}))}))]).then((function(){return r(),e.onReadyBeingFired=[],$t.resolve(fi((function(){return t.on.ready.fire(t.vip)}))).then((function n(){if(e.onReadyBeingFired.length>0){var i=e.onReadyBeingFired.reduce(vt,ut);return e.onReadyBeingFired=[],$t.resolve(fi((function(){return i(t.vip)}))).then(n)}}))})).finally((function(){e.onReadyBeingFired=null,e.isBeingOpened=!1})).then((function(){return t})).catch((function(n){e.dbOpenError=n;try{a&&a.abort()}catch(Ti){}return i===e.openCanceller&&t._close(),Te(n)})).finally((function(){e.openComplete=!0,o()}))}function vi(t){var e=function(e){return t.next(e)},n=function(e){return t.throw(e)},i=o(e),r=o(n);function o(t){return function(e){var n=t(e),o=n.value;return n.done?o:o&&"function"===typeof o.then?o.then(i,r):s(o)?Promise.all(o).then(i,r):i(o)}}return o(e)()}function yi(t,e,n){var i=arguments.length;if(i<2)throw new ot.InvalidArgument("Too few arguments");var r=new Array(i-1);while(--i)r[i-1]=arguments[i];n=r.pop();var o=I(r);return[t,o,n]}function bi(t,e,n,i,r){return $t.resolve().then((function(){var o=Ft.transless||Ft,a=t._createTransaction(e,n,t._dbSchema,i),s={trans:a,transless:o};if(i)a.idbtrans=i.idbtrans;else try{a.create(),t._state.PR1398_maxLoop=3}catch(h){return h.name===it.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),t._close(),t.open().then((function(){return bi(t,e,n,null,r)}))):Te(h)}var l,u=q(r);u&&ge();var c=$t.follow((function(){if(l=r.call(a,a),l)if(u){var t=me.bind(null,null);l.then(t,t)}else"function"===typeof l.next&&"function"===typeof l.throw&&(l=vi(l))}),s);return(l&&"function"===typeof l.then?$t.resolve(l).then((function(t){return a.active?t:Te(new ot.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))})):c.then((function(){return l}))).then((function(t){return i&&a._resolve(),a._completion.then((function(){return t}))})).catch((function(t){return a._reject(t),Te(t)}))}))}function _i(t,e,n){for(var i=s(t)?t.slice():[t],r=0;r<n;++r)i.push(e);return i}function xi(t){return i(i({},t),{table:function(e){var n=t.table(e),r=n.schema,o={},a=[];function s(t,e,n){var r=Vn(t),l=o[r]=o[r]||[],u=null==t?0:"string"===typeof t?1:t.length,c=e>0,h=i(i({},n),{isVirtual:c,keyTail:e,keyLength:u,extractKey:Bn(t),unique:!c&&n.unique});if(l.push(h),h.isPrimaryKey||a.push(h),u>1){var d=2===u?t[0]:t.slice(0,u-1);s(d,e+1,n)}return l.sort((function(t,e){return t.keyTail-e.keyTail})),h}var l=s(r.primaryKey.keyPath,0,r.primaryKey);o[":id"]=[l];for(var u=0,c=r.indexes;u<c.length;u++){var h=c[u];s(h.keyPath,0,h)}function d(t){var e=o[Vn(t)];return e&&e[0]}function p(e,n){return{type:1===e.type?2:e.type,lower:_i(e.lower,e.lowerOpen?t.MAX_KEY:t.MIN_KEY,n),lowerOpen:!0,upper:_i(e.upper,e.upperOpen?t.MIN_KEY:t.MAX_KEY,n),upperOpen:!0}}function f(t){var e=t.query.index;return e.isVirtual?i(i({},t),{query:{index:e,range:p(t.query.range,e.keyTail)}}):t}var g=i(i({},n),{schema:i(i({},r),{primaryKey:l,indexes:a,getIndexByKeyPath:d}),count:function(t){return n.count(f(t))},query:function(t){return n.query(f(t))},openCursor:function(e){var i=e.query.index,r=i.keyTail,o=i.isVirtual,a=i.keyLength;if(!o)return n.openCursor(e);function s(n){function i(i){null!=i?n.continue(_i(i,e.reverse?t.MAX_KEY:t.MIN_KEY,r)):e.unique?n.continue(n.key.slice(0,a).concat(e.reverse?t.MIN_KEY:t.MAX_KEY,r)):n.continue()}var o=Object.create(n,{continue:{value:i},continuePrimaryKey:{value:function(e,i){n.continuePrimaryKey(_i(e,t.MAX_KEY,r),i)}},primaryKey:{get:function(){return n.primaryKey}},key:{get:function(){var t=n.key;return 1===a?t[0]:t.slice(0,a)}},value:{get:function(){return n.value}}});return o}return n.openCursor(f(e)).then((function(t){return t&&s(t)}))}});return g}})}var wi={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:xi};function Si(t,e,n,i){return n=n||{},i=i||"",a(t).forEach((function(r){if(h(e,r)){var o=t[r],a=e[r];if("object"===typeof o&&"object"===typeof a&&o&&a){var s=B(o),l=B(a);s!==l?n[i+r]=e[r]:"Object"===s?Si(o,a,n,i+r+"."):o!==a&&(n[i+r]=e[r])}else o!==a&&(n[i+r]=e[r])}else n[i+r]=void 0})),a(e).forEach((function(r){h(t,r)||(n[i+r]=e[r])})),n}function Ci(t,e){return"delete"===e.type?e.keys:e.keys||e.values.map(t.extractKey)}var ki={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(t){return i(i({},t),{table:function(e){var n=t.table(e),o=n.schema.primaryKey,a=i(i({},n),{mutate:function(t){var a=Ft.trans,s=a.table(e).hook,l=s.deleting,u=s.creating,c=s.updating;switch(t.type){case"add":if(u.fire===ut)break;return a._promise("readwrite",(function(){return d(t)}),!0);case"put":if(u.fire===ut&&c.fire===ut)break;return a._promise("readwrite",(function(){return d(t)}),!0);case"delete":if(l.fire===ut)break;return a._promise("readwrite",(function(){return d(t)}),!0);case"deleteRange":if(l.fire===ut)break;return a._promise("readwrite",(function(){return p(t)}),!0)}return n.mutate(t);function d(t){var e=Ft.trans,a=t.keys||Ci(o,t);if(!a)throw new Error("Keys missing");return t="add"===t.type||"put"===t.type?i(i({},t),{keys:a}):i({},t),"delete"!==t.type&&(t.values=r([],t.values,!0)),t.keys&&(t.keys=r([],t.keys,!0)),Mi(n,t,a).then((function(i){var r=a.map((function(n,r){var a=i[r],s={onerror:null,onsuccess:null};if("delete"===t.type)l.fire.call(s,n,a,e);else if("add"===t.type||void 0===a){var d=u.fire.call(s,n,t.values[r],e);null==n&&null!=d&&(n=d,t.keys[r]=n,o.outbound||M(t.values[r],o.keyPath,n))}else{var p=Si(a,t.values[r]),f=c.fire.call(s,p,n,a,e);if(f){var g=t.values[r];Object.keys(f).forEach((function(t){h(g,t)?g[t]=f[t]:M(g,t,f[t])}))}}return s}));return n.mutate(t).then((function(e){for(var n=e.failures,o=e.results,s=e.numFailures,l=e.lastResult,u=0;u<a.length;++u){var c=o?o[u]:a[u],h=r[u];null==c?h.onerror&&h.onerror(n[u]):h.onsuccess&&h.onsuccess("put"===t.type&&i[u]?t.values[u]:c)}return{failures:n,results:o,numFailures:s,lastResult:l}})).catch((function(t){return r.forEach((function(e){return e.onerror&&e.onerror(t)})),Promise.reject(t)}))}))}function p(t){return f(t.trans,t.range,1e4)}function f(t,e,r){return n.query({trans:t,values:!1,query:{index:o,range:e},limit:r}).then((function(n){var o=n.result;return d({type:"delete",keys:o,trans:t}).then((function(n){return n.numFailures>0?Promise.reject(n.failures[0]):o.length<r?{failures:[],numFailures:0,lastResult:void 0}:f(t,i(i({},e),{lower:o[o.length-1],lowerOpen:!0}),r)}))}))}}});return a}})}};function Mi(t,e,n){return"add"===e.type?Promise.resolve([]):t.getMany({trans:e.trans,keys:n,cache:"immutable"})}function Oi(t,e,n){try{if(!e)return null;if(e.keys.length<t.length)return null;for(var i=[],r=0,o=0;r<e.keys.length&&o<t.length;++r)0===on(e.keys[r],t[o])&&(i.push(n?L(e.values[r]):e.values[r]),++o);return i.length===t.length?i:null}catch(Ti){return null}}var Ti,Ai={stack:"dbcore",level:-1,create:function(t){return{table:function(e){var n=t.table(e);return i(i({},n),{getMany:function(t){if(!t.cache)return n.getMany(t);var e=Oi(t.keys,t.trans["_cache"],"clone"===t.cache);return e?$t.resolve(e):n.getMany(t).then((function(e){return t.trans["_cache"]={keys:t.keys,values:"clone"===t.cache?L(e):e},e}))},mutate:function(t){return"add"!==t.type&&(t.trans["_cache"]=null),n.mutate(t)}})}}}};function Ii(t){return!("from"in t)}var Pi=function(t,e){if(!this){var n=new Pi;return t&&"d"in t&&l(n,t),n}l(this,arguments.length?{d:1,from:t,to:arguments.length>1?e:t}:{d:0})};function Ei(t,e,n){var i=on(e,n);if(!isNaN(i)){if(i>0)throw RangeError();if(Ii(t))return l(t,{from:e,to:n,d:1});var r=t.l,o=t.r;if(on(n,t.from)<0)return r?Ei(r,e,n):t.l={from:e,to:n,d:1,l:null,r:null},Ri(t);if(on(e,t.to)>0)return o?Ei(o,e,n):t.r={from:e,to:n,d:1,l:null,r:null},Ri(t);on(e,t.from)<0&&(t.from=e,t.l=null,t.d=o?o.d+1:1),on(n,t.to)>0&&(t.to=n,t.r=null,t.d=t.l?t.l.d+1:1);var a=!t.r;r&&!t.l&&Di(t,r),o&&a&&Di(t,o)}}function Di(t,e){function n(t,e){var i=e.from,r=e.to,o=e.l,a=e.r;Ei(t,i,r),o&&n(t,o),a&&n(t,a)}Ii(e)||n(t,e)}function Li(t,e){var n=ji(e),i=n.next();if(i.done)return!1;var r=i.value,o=ji(t),a=o.next(r.from),s=a.value;while(!i.done&&!a.done){if(on(s.from,r.to)<=0&&on(s.to,r.from)>=0)return!0;on(r.from,s.from)<0?r=(i=n.next(s.from)).value:s=(a=o.next(r.from)).value}return!1}function ji(t){var e=Ii(t)?null:{s:0,n:t};return{next:function(t){var n=arguments.length>0;while(e)switch(e.s){case 0:if(e.s=1,n)while(e.n.l&&on(t,e.n.from)<0)e={up:e,n:e.n.l,s:1};else while(e.n.l)e={up:e,n:e.n.l,s:1};case 1:if(e.s=2,!n||on(t,e.n.to)<=0)return{value:e.n,done:!1};case 2:if(e.n.r){e.s=3,e={up:e,n:e.n.r,s:0};continue}case 3:e=e.up}return{done:!0}}}}function Ri(t){var e,n,r=((null===(e=t.r)||void 0===e?void 0:e.d)||0)-((null===(n=t.l)||void 0===n?void 0:n.d)||0),o=r>1?"r":r<-1?"l":"";if(o){var a="r"===o?"l":"r",s=i({},t),l=t[o];t.from=l.from,t.to=l.to,t[o]=l[o],s[o]=l[a],t[a]=s,s.d=Bi(s)}t.d=Bi(t)}function Bi(t){var e=t.r,n=t.l;return(e?n?Math.max(e.d,n.d):e.d:n?n.d:0)+1}d(Pi.prototype,(Ti={add:function(t){return Di(this,t),this},addKey:function(t){return Ei(this,t,t),this},addKeys:function(t){var e=this;return t.forEach((function(t){return Ei(e,t,t)})),this}},Ti[N]=function(){return ji(this)},Ti));var Ni={stack:"dbcore",level:0,create:function(t){var e=t.schema.name,n=new Pi(t.MIN_KEY,t.MAX_KEY);return i(i({},t),{table:function(r){var o=t.table(r),l=o.schema,u=l.primaryKey,c=u.extractKey,h=u.outbound,d=i(i({},o),{mutate:function(t){var i=t.trans,a=i.mutatedParts||(i.mutatedParts={}),u=function(t){var n="idb://"+e+"/"+r+"/"+t;return a[n]||(a[n]=new Pi)},c=u(""),h=u(":dels"),d=t.type,p="deleteRange"===t.type?[t.range]:"delete"===t.type?[t.keys]:t.values.length<50?[[],t.values]:[],f=p[0],g=p[1],m=t.trans["_cache"];return o.mutate(t).then((function(t){if(s(f)){"delete"!==d&&(f=t.results),c.addKeys(f);var e=Oi(f,m);e||"add"===d||h.addKeys(f),(e||g)&&Fi(u,l,e,g)}else if(f){var i={from:f.lower,to:f.upper};h.add(i),c.add(i)}else c.add(n),h.add(n),l.indexes.forEach((function(t){return u(t.name).add(n)}));return t}))}}),p=function(e){var n,i,r=e.query,o=r.index,a=r.range;return[o,new Pi(null!==(n=a.lower)&&void 0!==n?n:t.MIN_KEY,null!==(i=a.upper)&&void 0!==i?i:t.MAX_KEY)]},f={get:function(t){return[u,new Pi(t.key)]},getMany:function(t){return[u,(new Pi).addKeys(t.keys)]},count:p,query:p,openCursor:p};return a(f).forEach((function(t){d[t]=function(a){var s=Ft.subscr;if(s){var l=function(t){var n="idb://"+e+"/"+r+"/"+t;return s[n]||(s[n]=new Pi)},u=l(""),d=l(":dels"),p=f[t](a),g=p[0],m=p[1];if(l(g.name||"").add(m),!g.isPrimaryKey){if("count"!==t){var v="query"===t&&h&&a.values&&o.query(i(i({},a),{values:!1}));return o[t].apply(this,arguments).then((function(e){if("query"===t){if(h&&a.values)return v.then((function(t){var n=t.result;return u.addKeys(n),e}));var n=a.values?e.result.map(c):e.result;a.values?u.addKeys(n):d.addKeys(n)}else if("openCursor"===t){var i=e,r=a.values;return i&&Object.create(i,{key:{get:function(){return d.addKey(i.primaryKey),i.key}},primaryKey:{get:function(){var t=i.primaryKey;return d.addKey(t),t}},value:{get:function(){return r&&u.addKey(i.primaryKey),i.value}}})}return e}))}d.add(n)}}return o[t].apply(this,arguments)}})),d}})}};function Fi(t,e,n,i){function r(e){var r=t(e.name||"");function o(t){return null!=t?e.extractKey(t):null}var a=function(t){return e.multiEntry&&s(t)?t.forEach((function(t){return r.addKey(t)})):r.addKey(t)};(n||i).forEach((function(t,e){var r=n&&o(n[e]),s=i&&o(i[e]);0!==on(r,s)&&(null!=r&&a(r),null!=s&&a(s))}))}e.indexes.forEach(r)}var zi,Vi=function(){function t(e,n){var r=this;this._middlewares={},this.verno=0;var o=t.dependencies;this._options=n=i({addons:t.addons,autoOpen:!0,indexedDB:o.indexedDB,IDBKeyRange:o.IDBKeyRange},n),this._deps={indexedDB:n.indexedDB,IDBKeyRange:n.IDBKeyRange};var a=n.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;var s={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:ut,dbReadyPromise:null,cancelOpen:ut,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};s.dbReadyPromise=new $t((function(t){s.dbReadyResolve=t})),s.openCanceller=new $t((function(t,e){s.cancelOpen=e})),this._state=s,this.name=e,this.on=Ue(this,"populate","blocked","versionchange","close",{ready:[vt,ut]}),this.on.ready.subscribe=_(this.on.ready.subscribe,(function(e){return function(n,i){t.vip((function(){var t=r._state;if(t.openComplete)t.dbOpenError||$t.resolve().then(n),i&&e(n);else if(t.onReadyBeingFired)t.onReadyBeingFired.push(n),i&&e(n);else{e(n);var o=r;i||e((function t(){o.on.ready.unsubscribe(n),o.on.ready.unsubscribe(t)}))}}))}})),this.Collection=dn(this),this.Table=Xe(this),this.Transaction=Pn(this),this.Version=li(this),this.WhereClause=Cn(this),this.on("versionchange",(function(t){t.newVersion>0?console.warn("Another connection wants to upgrade database '"+r.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+r.name+"'. Closing db now to resume the delete request."),r.close()})),this.on("blocked",(function(t){!t.newVersion||t.newVersion<t.oldVersion?console.warn("Dexie.delete('"+r.name+"') was blocked"):console.warn("Upgrade '"+r.name+"' blocked by other connection holding version "+t.oldVersion/10)})),this._maxKey=Rn(n.IDBKeyRange),this._createTransaction=function(t,e,n,i){return new r.Transaction(t,e,n,r._options.chromeTransactionDurability,i)},this._fireOnBlocked=function(t){r.on("blocked").fire(t),je.filter((function(t){return t.name===r.name&&t!==r&&!t._state.vcFired})).map((function(e){return e.on("versionchange").fire(t)}))},this.use(wi),this.use(ki),this.use(Ni),this.use(Ai),this.vip=Object.create(this,{_vip:{value:!0}}),a.forEach((function(t){return t(r)}))}return t.prototype.version=function(t){if(isNaN(t)||t<.1)throw new ot.Type("Given version is not a positive number");if(t=Math.round(10*t)/10,this.idbdb||this._state.isBeingOpened)throw new ot.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,t);var e=this._versions,n=e.filter((function(e){return e._cfg.version===t}))[0];return n||(n=new this.Version(t),e.push(n),e.sort(Yn),n.stores({}),this._state.autoSchema=!1,n)},t.prototype._whenReady=function(t){var e=this;return this.idbdb&&(this._state.openComplete||Ft.letThrough||this._vip)?t():new $t((function(t,n){if(e._state.openComplete)return n(new ot.DatabaseClosed(e._state.dbOpenError));if(!e._state.isBeingOpened){if(!e._options.autoOpen)return void n(new ot.DatabaseClosed);e.open().catch(ut)}e._state.dbReadyPromise.then(t,n)})).then(t)},t.prototype.use=function(t){var e=t.stack,n=t.create,i=t.level,r=t.name;r&&this.unuse({stack:e,name:r});var o=this._middlewares[e]||(this._middlewares[e]=[]);return o.push({stack:e,create:n,level:null==i?10:i,name:r}),o.sort((function(t,e){return t.level-e.level})),this},t.prototype.unuse=function(t){var e=t.stack,n=t.name,i=t.create;return e&&this._middlewares[e]&&(this._middlewares[e]=this._middlewares[e].filter((function(t){return i?t.create!==i:!!n&&t.name!==n}))),this},t.prototype.open=function(){return mi(this)},t.prototype._close=function(){var t=this._state,e=je.indexOf(this);if(e>=0&&je.splice(e,1),this.idbdb){try{this.idbdb.close()}catch(n){}this._novip.idbdb=null}t.dbReadyPromise=new $t((function(e){t.dbReadyResolve=e})),t.openCanceller=new $t((function(e,n){t.cancelOpen=n}))},t.prototype.close=function(){this._close();var t=this._state;this._options.autoOpen=!1,t.dbOpenError=new ot.DatabaseClosed,t.isBeingOpened&&t.cancelOpen(t.dbOpenError)},t.prototype.delete=function(){var t=this,e=arguments.length>0,n=this._state;return new $t((function(i,r){var o=function(){t.close();var e=t._deps.indexedDB.deleteDatabase(t.name);e.onsuccess=se((function(){pi(t._deps,t.name),i()})),e.onerror=kn(r),e.onblocked=t._fireOnBlocked};if(e)throw new ot.InvalidArgument("Arguments not allowed in db.delete()");n.isBeingOpened?n.dbReadyPromise.then(o):o()}))},t.prototype.backendDB=function(){return this.idbdb},t.prototype.isOpen=function(){return null!==this.idbdb},t.prototype.hasBeenClosed=function(){var t=this._state.dbOpenError;return t&&"DatabaseClosed"===t.name},t.prototype.hasFailed=function(){return null!==this._state.dbOpenError},t.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(t.prototype,"tables",{get:function(){var t=this;return a(this._allTables).map((function(e){return t._allTables[e]}))},enumerable:!1,configurable:!0}),t.prototype.transaction=function(){var t=yi.apply(this,arguments);return this._transaction.apply(this,t)},t.prototype._transaction=function(t,e,n){var i=this,r=Ft.trans;r&&r.db===this&&-1===t.indexOf("!")||(r=null);var o,a,s=-1!==t.indexOf("?");t=t.replace("!","").replace("?","");try{if(a=e.map((function(t){var e=t instanceof i.Table?t.name:t;if("string"!==typeof e)throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return e})),"r"==t||t===Ve)o=Ve;else{if("rw"!=t&&t!=qe)throw new ot.InvalidArgument("Invalid transaction mode: "+t);o=qe}if(r){if(r.mode===Ve&&o===qe){if(!s)throw new ot.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");r=null}r&&a.forEach((function(t){if(r&&-1===r.storeNames.indexOf(t)){if(!s)throw new ot.SubTransaction("Table "+t+" not included in parent transaction.");r=null}})),s&&r&&!r.active&&(r=null)}}catch(u){return r?r._promise(null,(function(t,e){e(u)})):Te(u)}var l=bi.bind(null,this,o,a,r,n);return r?r._promise(o,l,"lock"):Ft.trans?we(Ft.transless,(function(){return i._whenReady(l)})):this._whenReady(l)},t.prototype.table=function(t){if(!h(this._allTables,t))throw new ot.InvalidTable("Table "+t+" does not exist");return this._allTables[t]},t}(),qi="undefined"!==typeof Symbol&&"observable"in Symbol?Symbol.observable:"@@observable",$i=function(){function t(t){this._subscribe=t}return t.prototype.subscribe=function(t,e,n){return this._subscribe(t&&"function"!==typeof t?t:{next:t,error:e,complete:n})},t.prototype[qi]=function(){return this},t}();function Hi(t,e){return a(e).forEach((function(n){var i=t[n]||(t[n]=new Pi);Di(i,e[n])})),t}function Gi(t){return new $i((function(e){var n=q(t);function i(e){n&&ge();var i=function(){return fe(t,{subscr:e,trans:null})},r=Ft.trans?we(Ft.transless,i):i();return n&&r.then(me,me),r}var r=!1,o={},s={},l={get closed(){return r},unsubscribe:function(){r=!0,An.storagemutated.unsubscribe(d)}};e.start&&e.start(l);var u=!1,c=!1;function h(){return a(s).some((function(t){return o[t]&&Li(o[t],s[t])}))}var d=function(t){Hi(o,t),h()&&p()},p=function(){if(!u&&!r){o={};var t={},n=i(t);c||(An(On,d),c=!0),u=!0,Promise.resolve(n).then((function(n){u=!1,r||(h()?p():(o={},s=t,e.next&&e.next(n)))}),(function(t){u=!1,e.error&&e.error(t),l.unsubscribe()}))}};return p(),l}))}try{zi={indexedDB:o.indexedDB||o.mozIndexedDB||o.webkitIndexedDB||o.msIndexedDB,IDBKeyRange:o.IDBKeyRange||o.webkitIDBKeyRange}}catch(Qi){zi={indexedDB:null,IDBKeyRange:null}}var Wi=Vi;function Ui(t){var e=Yi;try{Yi=!0,An.storagemutated.fire(t)}finally{Yi=e}}d(Wi,i(i({},lt),{delete:function(t){var e=new Wi(t,{addons:[]});return e.delete()},exists:function(t){return new Wi(t,{addons:[]}).open().then((function(t){return t.close(),!0})).catch("NoSuchDatabaseError",(function(){return!1}))},getDatabaseNames:function(t){try{return hi(Wi.dependencies).then(t)}catch(Ti){return Te(new ot.MissingAPI)}},defineClass:function(){function t(t){l(this,t)}return t},ignoreTransaction:function(t){return Ft.trans?we(Ft.transless,t):t()},vip:fi,async:function(t){return function(){try{var e=vi(t.apply(this,arguments));return e&&"function"===typeof e.then?e:$t.resolve(e)}catch(Qi){return Te(Qi)}}},spawn:function(t,e,n){try{var i=vi(t.apply(n,e||[]));return i&&"function"===typeof i.then?i:$t.resolve(i)}catch(Qi){return Te(Qi)}},currentTransaction:{get:function(){return Ft.trans||null}},waitFor:function(t,e){var n=$t.resolve("function"===typeof t?Wi.ignoreTransaction(t):t).timeout(e||6e4);return Ft.trans?Ft.trans.waitFor(n):n},Promise:$t,debug:{get:function(){return $},set:function(t){H(t,"dexie"===t?function(){return!0}:Fe)}},derive:g,extend:l,props:d,override:_,Events:Ue,on:An,liveQuery:Gi,extendObservabilitySet:Hi,getByKeyPath:k,setByKeyPath:M,delByKeyPath:O,shallowClone:T,deepClone:L,getObjectDiff:Si,cmp:on,asap:w,minKey:Ee,addons:[],connections:je,errnames:it,dependencies:zi,semVer:Ie,version:Ie.split(".").map((function(t){return parseInt(t)})).reduce((function(t,e,n){return t+e/Math.pow(10,2*n)}))})),Wi.maxKey=Rn(Wi.dependencies.IDBKeyRange),"undefined"!==typeof dispatchEvent&&"undefined"!==typeof addEventListener&&(An(On,(function(t){var e;Yi||(Re?(e=document.createEvent("CustomEvent"),e.initCustomEvent(Tn,!0,!0,t)):e=new CustomEvent(Tn,{detail:t}),Yi=!0,dispatchEvent(e),Yi=!1)})),addEventListener(Tn,(function(t){var e=t.detail;Yi||Ui(e)})));var Yi=!1;if("undefined"!==typeof BroadcastChannel){var Xi=new BroadcastChannel(Tn);An(On,(function(t){Yi||Xi.postMessage(t)})),Xi.onmessage=function(t){t.data&&Ui(t.data)}}else if("undefined"!==typeof self&&"undefined"!==typeof navigator){An(On,(function(t){try{Yi||("undefined"!==typeof localStorage&&localStorage.setItem(Tn,JSON.stringify({trig:Math.random(),changedParts:t})),"object"===typeof self["clients"]&&r([],self["clients"].matchAll({includeUncontrolled:!0}),!0).forEach((function(e){return e.postMessage({type:Tn,changedParts:t})})))}catch(Ti){}})),"undefined"!==typeof addEventListener&&addEventListener("storage",(function(t){if(t.key===Tn){var e=JSON.parse(t.newValue);e&&Ui(e.changedParts)}}));var Ki=self.document&&navigator.serviceWorker;Ki&&Ki.addEventListener("message",Zi)}function Zi(t){var e=t.data;e&&e.type===Tn&&Ui(e.changedParts)}$t.rejectionMapper=st,H($,Fe)}).call(this,n("23b3"))},"4df4":function(t,e,n){"use strict";var i=n("0366"),r=n("c65b"),o=n("7b0b"),a=n("9bdd"),s=n("e95a"),l=n("68ee"),u=n("07fa"),c=n("8418"),h=n("9a1f"),d=n("35a1"),p=Array;t.exports=function(t){var e=o(t),n=l(this),f=arguments.length,g=f>1?arguments[1]:void 0,m=void 0!==g;m&&(g=i(g,f>2?arguments[2]:void 0));var v,y,b,_,x,w,S=d(e),C=0;if(!S||this===p&&s(S))for(v=u(e),y=n?new this(v):p(v);v>C;C++)w=m?g(e[C],C):e[C],c(y,C,w);else for(_=h(e,S),x=_.next,y=n?new this:[];!(b=r(x,_)).done;C++)w=m?a(_,g,[b.value,C],!0):b.value,c(y,C,w);return y.length=C,y}},"4e73":function(t,e,n){"use strict";var i=n("2b0e"),r=n("c474"),o=n("7ee0"),a=n("b7fa"),s=n("9e62"),l=n("7562"),u=n("f376"),c=n("0967"),h=n("d882");function d(t){for(let e=t;null!==e;e=e.parentNode)if(void 0!==e.__vue__)return e.__vue__}function p(t,e){if(null===t||null===e)return null;for(let n=t;void 0!==n;n=n.$parent)if(n===e)return!0;return!1}let f;const{notPassiveCapture:g,passiveCapture:m}=h["f"],v={click:[],focus:[]};function y(t){while(null!==(t=t.nextElementSibling))if(t.classList.contains("q-dialog--modal"))return!0;return!1}function b(t,e){for(let n=t.length-1;n>=0;n--)if(void 0===t[n](e))return}function _(t){clearTimeout(f),"focusin"===t.type&&(!0===c["a"].is.ie&&t.target===document.body||!0===t.target.hasAttribute("tabindex"))?f=setTimeout((()=>{b(v.focus,t)}),!0===c["a"].is.ie?500:200):b(v.click,t)}var x={name:"click-outside",bind(t,{value:e,arg:n},i){const r=i.componentInstance||i.context,o={trigger:e,toggleEl:n,handler(e){const n=e.target;if(!0!==e.qClickOutside&&!0===document.body.contains(n)&&8!==n.nodeType&&n!==document.documentElement&&!1===n.classList.contains("no-pointer-events")&&!0!==y(t)&&(void 0===o.toggleEl||!1===o.toggleEl.contains(n))&&(n===document.body||!1===p(d(n),r)))return e.qClickOutside=!0,o.trigger(e)}};t.__qclickoutside&&(t.__qclickoutside_old=t.__qclickoutside),t.__qclickoutside=o,0===v.click.length&&(document.addEventListener("mousedown",_,g),document.addEventListener("touchstart",_,g),document.addEventListener("focusin",_,m)),v.click.push(o.handler),o.timerFocusin=setTimeout((()=>{v.focus.push(o.handler)}),500)},update(t,{value:e,oldValue:n,arg:i}){const r=t.__qclickoutside;e!==n&&(r.trigger=e),i!==r.arg&&(r.toggleEl=i)},unbind(t){const e=t.__qclickoutside_old||t.__qclickoutside;if(void 0!==e){clearTimeout(e.timerFocusin);const n=v.click.findIndex((t=>t===e.handler)),i=v.focus.findIndex((t=>t===e.handler));n>-1&&v.click.splice(n,1),i>-1&&v.focus.splice(i,1),0===v.click.length&&(clearTimeout(f),document.removeEventListener("mousedown",_,g),document.removeEventListener("touchstart",_,g),document.removeEventListener("focusin",_,m)),delete t[t.__qclickoutside_old?"__qclickoutside_old":"__qclickoutside"]}}},w=n("0831"),S=n("a267"),C=n("dde5"),k=n("e704"),M=n("ab41");e["a"]=i["a"].extend({name:"QMenu",mixins:[u["b"],a["a"],r["a"],o["a"],s["c"],l["a"]],directives:{ClickOutside:x},props:{persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:M["d"]},self:{type:String,validator:M["d"]},offset:{type:Array,validator:M["c"]},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},computed:{anchorOrigin(){return Object(M["a"])(this.anchor||(!0===this.cover?"center middle":"bottom start"),this.$q.lang.rtl)},selfOrigin(){return!0===this.cover?this.anchorOrigin:Object(M["a"])(this.self||"top start",this.$q.lang.rtl)},menuClass(){return(!0===this.square?" q-menu--square":"")+(!0===this.isDark?" q-menu--dark q-dark":"")},hideOnRouteChange(){return!0!==this.persistent&&!0!==this.noRouteDismiss},onEvents(){const t={...this.qListeners,input:h["k"],"popup-show":h["k"],"popup-hide":h["k"]};return!0===this.autoClose&&(t.click=this.__onAutoClose),t},attrs(){return{tabindex:-1,...this.qAttrs}}},methods:{focus(){Object(k["a"])((()=>{let t=void 0!==this.__portal&&void 0!==this.__portal.$refs?this.__portal.$refs.inner:void 0;void 0!==t&&!0!==t.contains(document.activeElement)&&(t=t.querySelector("[autofocus], [data-autofocus]")||t,t.focus({preventScroll:!0}))}))},__show(t){if(this.__refocusTarget=!0!==c["a"].is.mobile&&!1===this.noRefocus&&null!==document.activeElement?document.activeElement:void 0,S["a"].register(this,(()=>{!0!==this.persistent&&(this.$emit("escape-key"),this.hide())})),this.__showPortal(),this.__configureScrollTarget(),this.absoluteOffset=void 0,void 0!==t&&(this.touchPosition||this.contextMenu)){const e=Object(h["h"])(t);if(void 0!==e.left){const{top:t,left:n}=this.anchorEl.getBoundingClientRect();this.absoluteOffset={left:e.left-n,top:e.top-t}}}void 0===this.unwatch&&(this.unwatch=this.$watch((()=>this.$q.screen.width+"|"+this.$q.screen.height+"|"+this.self+"|"+this.anchor+"|"+this.$q.lang.rtl),this.updatePosition)),this.$el.dispatchEvent(Object(h["c"])("popup-show",{bubbles:!0})),!0!==this.noFocus&&null!==document.activeElement&&document.activeElement.blur(),this.__nextTick((()=>{this.updatePosition(),!0!==this.noFocus&&this.focus()})),this.__setTimeout((()=>{!0===this.$q.platform.is.ios&&(this.__avoidAutoClose=this.autoClose,this.__portal.$el.click()),this.updatePosition(),this.__showPortal(!0),this.$emit("show",t)}),300)},__hide(t){this.__anchorCleanup(!0),this.__hidePortal(),void 0===this.__refocusTarget||null===this.__refocusTarget||void 0!==t&&!0===t.qClickOutside||(this.__refocusTarget.focus(),this.__refocusTarget=void 0),this.$el.dispatchEvent(Object(h["c"])("popup-hide",{bubbles:!0})),this.__setTimeout((()=>{this.__hidePortal(!0),this.$emit("hide",t)}),300)},__anchorCleanup(t){this.absoluteOffset=void 0,void 0!==this.unwatch&&(this.unwatch(),this.unwatch=void 0),!0!==t&&!0!==this.showing||(S["a"].pop(this),this.__unconfigureScrollTarget())},__unconfigureScrollTarget(){void 0!==this.__scrollTarget&&(this.__changeScrollEvent(this.__scrollTarget),this.__scrollTarget=void 0)},__configureScrollTarget(){void 0===this.anchorEl&&void 0===this.scrollTarget||(this.__scrollTarget=Object(w["d"])(this.anchorEl,this.scrollTarget),this.__changeScrollEvent(this.__scrollTarget,this.updatePosition))},__onAutoClose(t){!0!==this.__avoidAutoClose?(Object(s["a"])(this,t),void 0!==this.qListeners.click&&this.$emit("click",t)):this.__avoidAutoClose=!1},updatePosition(){if(void 0===this.anchorEl||void 0===this.__portal)return;const t=this.__portal.$el;8!==t.nodeType?Object(M["b"])({el:t,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,absoluteOffset:this.absoluteOffset,fit:this.fit,cover:this.cover,maxHeight:this.maxHeight,maxWidth:this.maxWidth}):setTimeout(this.updatePosition,25)},__onClickOutside(t){if(!0!==this.persistent&&!0===this.showing){const e=t.target.classList;return Object(s["a"])(this,t),("touchstart"===t.type||e.contains("q-dialog__backdrop"))&&Object(h["m"])(t),!0}},__renderPortal(t){return t("transition",{props:{name:this.transition}},[!0===this.showing?t("div",{ref:"inner",staticClass:"q-menu q-position-engine scroll"+this.menuClass,class:this.contentClass,style:this.contentStyle,attrs:this.attrs,on:this.onEvents,directives:[{name:"click-outside",value:this.__onClickOutside,arg:this.anchorEl}]},Object(C["c"])(this,"default")):null])}},mounted(){this.__processModelChange(this.value)},beforeDestroy(){this.__refocusTarget=void 0,!0===this.showing&&void 0!==this.anchorEl&&this.anchorEl.dispatchEvent(Object(h["c"])("popup-hide",{bubbles:!0}))}})},5087:function(t,e,n){var i=n("68ee"),r=n("0d51"),o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not a constructor")}},5096:function(t,e,n){"use strict";var i=n("2b0e"),r=n("de5e"),o=n("0831");e["a"]=i["a"].extend({name:"QPageScroller",mixins:[r["a"]],props:{scrollOffset:{type:Number,default:1e3},reverse:Boolean,duration:{type:Number,default:300},offset:{default:()=>[18,18]}},inject:{layout:{default(){console.error("QPageScroller needs to be used within a QLayout")}}},data(){return{showing:this.__isVisible()}},computed:{scrollHeight(){return this.layout.height-(!0===this.layout.container?this.layout.containerHeight:this.$q.screen.height)},onEvents(){return{...this.qListeners,click:this.__onClick}}},watch:{"layout.scroll.position"(){this.__updateVisibility()},reverse:{handler(t){!0===t?void 0===this.heightWatcher&&(this.heightWatcher=this.$watch("scrollHeight",this.__updateVisibility)):void 0!==this.heightWatcher&&this.__cleanup()},immediate:!0}},methods:{__isVisible(){return!0===this.reverse?this.scrollHeight-this.layout.scroll.position>this.scrollOffset:this.layout.scroll.position>this.scrollOffset},__onClick(t){const e=Object(o["d"])(!0===this.layout.container?this.$el:this.layout.$el);Object(o["i"])(e,!0===this.reverse?this.layout.height:0,this.duration),this.$emit("click",t)},__updateVisibility(){const t=this.__isVisible();this.showing!==t&&(this.showing=t)},__cleanup(){this.heightWatcher(),this.heightWatcher=void 0}},render(t){return t("transition",{props:{name:"q-transition--fade"}},!0===this.showing?[t("div",{staticClass:"q-page-scroller",on:this.onEvents},[r["a"].options.render.call(this,t)])]:null)},beforeDestroy(){void 0!==this.heightWatcher&&this.__cleanup()}})},"50c4":function(t,e,n){var i=n("5926"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"512c":function(t,e,n){var i=n("342f"),r=i.match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},"515f":function(t,e,n){"use strict";n("5319");var i=n("0967");function r(t){return encodeURIComponent(t)}function o(t){return decodeURIComponent(t)}function a(t){return r(t===Object(t)?JSON.stringify(t):""+t)}function s(t){if(""===t)return t;0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),t=o(t.replace(/\+/g," "));try{t=JSON.parse(t)}catch(e){}return t}function l(t){const e=new Date;return e.setMilliseconds(e.getMilliseconds()+t),e.toUTCString()}function u(t){let e=0;const n=t.match(/(\d+)d/),i=t.match(/(\d+)h/),r=t.match(/(\d+)m/),o=t.match(/(\d+)s/);return n&&(e+=864e5*n[1]),i&&(e+=36e5*i[1]),r&&(e+=6e4*r[1]),o&&(e+=1e3*o[1]),0===e?t:l(e)}function c(t,e,n={},i){let o,s;void 0!==n.expires&&("[object Date]"===Object.prototype.toString.call(n.expires)?o=n.expires.toUTCString():"string"===typeof n.expires?o=u(n.expires):(s=parseFloat(n.expires),o=!1===isNaN(s)?l(864e5*s):n.expires));const c=`${r(t)}=${a(e)}`,d=[c,void 0!==o?"; Expires="+o:"",n.path?"; Path="+n.path:"",n.domain?"; Domain="+n.domain:"",n.sameSite?"; SameSite="+n.sameSite:"",n.httpOnly?"; HttpOnly":"",n.secure?"; Secure":"",n.other?"; "+n.other:""].join("");if(i){i.req.qCookies?i.req.qCookies.push(d):i.req.qCookies=[d],i.res.setHeader("Set-Cookie",i.req.qCookies);let e=i.req.headers.cookie||"";if(void 0!==o&&s<0){const n=h(t,i);void 0!==n&&(e=e.replace(`${t}=${n}; `,"").replace(`; ${t}=${n}`,"").replace(`${t}=${n}`,""))}else e=e?`${c}; ${e}`:d;i.req.headers.cookie=e}else document.cookie=d}function h(t,e){const n=e?e.req.headers:document,i=n.cookie?n.cookie.split("; "):[],r=i.length;let a,l,u,c=t?null:{},h=0;for(;h<r;h++)if(a=i[h].split("="),l=o(a.shift()),u=a.join("="),t){if(t===l){c=s(u);break}}else c[l]=u;return c}function d(t,e,n){c(t,"",{expires:-1,...e},n)}function p(t,e){return null!==h(t,e)}function f(t){return{get:e=>h(e,t),set:(e,n,i)=>c(e,n,i,t),has:e=>p(e,t),remove:(e,n)=>d(e,n,t),getAll:()=>h(null,t)}}e["a"]={parseSSR(t){return void 0!==t?f(t):this},install({$q:t,queues:e}){!0===i["e"]?e.server.push(((t,e)=>{t.cookies=f(e.ssr)})):(Object.assign(this,f()),t.cookies=this)}}},5261:function(t,e,n){"use strict";function i(t){var e=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var n in e)e.hasOwnProperty(n)&&(n=e[n],"string"===typeof t[n]&&(t[n]=parseInt(t[n],10)));return"string"===typeof t["displayValue"]&&(t["displayValue"]="false"!=t["displayValue"]),t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},5270:function(t,e,n){"use strict";var i=n("c532"),r=n("c401"),o=n("2e67"),a=n("2444");function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){s(t),t.headers=t.headers||{},t.data=r.call(t,t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return s(t),e.data=r.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=r.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"52ee":function(t,e,n){"use strict";n("caad"),n("ddb0");var i=n("2b0e"),r=n("9c40"),o=n("a8f0"),a=n("b7fa"),s=n("f89c"),l=n("87e8"),u=n("7937");const c=["gregorian","persian"];var h={mixins:[a["a"],s["b"],l["a"]],props:{value:{required:!0},mask:{type:String},locale:Object,calendar:{type:String,validator:t=>c.includes(t),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},computed:{computedMask(){return this.__getMask()},computedLocale(){return this.__getLocale()},editable(){return!0!==this.disable&&!0!==this.readonly},computedColor(){return this.color||"primary"},computedTextColor(){return this.textColor||"white"},computedTabindex(){return!0===this.editable?0:-1},headerClass(){const t=[];return void 0!==this.color&&t.push(`bg-${this.color}`),void 0!==this.textColor&&t.push(`text-${this.textColor}`),t.join(" ")}},methods:{__getLocale(){return void 0!==this.locale?{...this.$q.lang.date,...this.locale}:this.$q.lang.date},__getCurrentDate(t){const e=new Date,n=!0===t?null:0;if("persian"===this.calendar){const t=Object(o["c"])(e);return{year:t.jy,month:t.jm,day:t.jd}}return{year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate(),hour:n,minute:n,second:n,millisecond:n}},__getCurrentTime(){const t=new Date;return{hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),millisecond:t.getMilliseconds()}},__getDayHash(t){return t.year+"/"+Object(u["e"])(t.month)+"/"+Object(u["e"])(t.day)}}},d=n("dde5"),p=n("bd4c"),f=n("0cd3"),g=n("5ff7");const m=20,v=["Calendar","Years","Months"],y=t=>v.includes(t),b=t=>/^-?[\d]+\/[0-1]\d$/.test(t),_=" — ";e["a"]=i["a"].extend({name:"QDate",mixins:[h],props:{multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:b},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:b},navigationMaxYearMonth:{type:String,validator:b},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:y}},data(){const t=this.__getMask(),e=this.__getLocale(),n=this.__getViewModel(t,e),i=n.year,r=!0===this.$q.lang.rtl?"right":"left";return{view:this.defaultView,monthDirection:r,yearDirection:r,startYear:i-i%m-(i<0?m:0),editRange:void 0,innerMask:t,innerLocale:e,viewModel:n}},watch:{value(t){if(this.lastEmitValue===t)this.lastEmitValue=0;else{const{year:t,month:e}=this.__getViewModel(this.innerMask,this.innerLocale);this.__updateViewModel(t,e)}},view(){void 0!==this.$refs.blurTarget&&this.$refs.blurTarget.focus()},"viewModel.year"(t){this.$emit("navigation",{year:t,month:this.viewModel.month})},"viewModel.month"(t){this.$emit("navigation",{year:this.viewModel.year,month:t})},computedMask(t){this.__updateValue(t,this.innerLocale,"mask"),this.innerMask=t},computedLocale(t){this.__updateValue(this.innerMask,t,"locale"),this.innerLocale=t}},computed:{classes(){const t=!0===this.landscape?"landscape":"portrait";return`q-date q-date--${t} q-date--${t}-${!0===this.minimal?"minimal":"standard"}`+(!0===this.isDark?" q-date--dark q-dark":"")+(!0===this.bordered?" q-date--bordered":"")+(!0===this.square?" q-date--square no-border-radius":"")+(!0===this.flat?" q-date--flat no-shadow":"")+(!0===this.disable?" disabled":!0===this.readonly?" q-date--readonly":"")},isImmediate(){return!0===this.emitImmediately&&!0!==this.multiple&&!0!==this.range},normalizedModel(){return!0===Array.isArray(this.value)?this.value:null!==this.value&&void 0!==this.value?[this.value]:[]},daysModel(){return this.normalizedModel.filter((t=>"string"===typeof t)).map((t=>this.__decodeString(t,this.innerMask,this.innerLocale))).filter((t=>null!==t.dateHash&&null!==t.day&&null!==t.month&&null!==t.year))},rangeModel(){const t=t=>this.__decodeString(t,this.innerMask,this.innerLocale);return this.normalizedModel.filter((t=>!0===Object(g["d"])(t)&&void 0!==t.from&&void 0!==t.to)).map((e=>({from:t(e.from),to:t(e.to)}))).filter((t=>null!==t.from.dateHash&&null!==t.to.dateHash&&t.from.dateHash<t.to.dateHash))},getNativeDateFn(){return"persian"!==this.calendar?t=>new Date(t.year,t.month-1,t.day):t=>{const e=Object(o["b"])(t.year,t.month,t.day);return new Date(e.gy,e.gm-1,e.gd)}},encodeObjectFn(){return"persian"===this.calendar?this.__getDayHash:(t,e,n)=>Object(p["c"])(new Date(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond),void 0===e?this.innerMask:e,void 0===n?this.innerLocale:n,t.year,t.timezoneOffset)},daysInModel(){return this.daysModel.length+this.rangeModel.reduce(((t,e)=>t+1+Object(p["d"])(this.getNativeDateFn(e.to),this.getNativeDateFn(e.from))),0)},headerTitle(){if(void 0!==this.title&&null!==this.title&&this.title.length>0)return this.title;if(void 0!==this.editRange){const t=this.editRange.init,e=this.getNativeDateFn(t);return this.innerLocale.daysShort[e.getDay()]+", "+this.innerLocale.monthsShort[t.month-1]+" "+t.day+_+"?"}if(0===this.daysInModel)return _;if(this.daysInModel>1)return`${this.daysInModel} ${this.innerLocale.pluralDay}`;const t=this.daysModel[0],e=this.getNativeDateFn(t);return!0===isNaN(e.valueOf())?_:void 0!==this.innerLocale.headerTitle?this.innerLocale.headerTitle(e,t):this.innerLocale.daysShort[e.getDay()]+", "+this.innerLocale.monthsShort[t.month-1]+" "+t.day},headerSubtitle(){if(void 0!==this.subtitle&&null!==this.subtitle&&this.subtitle.length>0)return this.subtitle;if(0===this.daysInModel)return _;if(this.daysInModel>1){const t=this.minSelectedModel,e=this.maxSelectedModel,n=this.innerLocale.monthsShort;return n[t.month-1]+(t.year!==e.year?" "+t.year+_+n[e.month-1]+" ":t.month!==e.month?_+n[e.month-1]:"")+" "+e.year}return this.daysModel[0].year},minSelectedModel(){const t=this.daysModel.concat(this.rangeModel.map((t=>t.from))).sort(((t,e)=>t.year-e.year||t.month-e.month));return t[0]},maxSelectedModel(){const t=this.daysModel.concat(this.rangeModel.map((t=>t.to))).sort(((t,e)=>e.year-t.year||e.month-t.month));return t[0]},dateArrow(){const t=[this.$q.iconSet.datetime.arrowLeft,this.$q.iconSet.datetime.arrowRight];return!0===this.$q.lang.rtl?t.reverse():t},computedFirstDayOfWeek(){return void 0!==this.firstDayOfWeek?Number(this.firstDayOfWeek):this.innerLocale.firstDayOfWeek},daysOfWeek(){const t=this.innerLocale.daysShort,e=this.computedFirstDayOfWeek;return e>0?t.slice(e,7).concat(t.slice(0,e)):t},daysInMonth(){const t=this.viewModel;return"persian"!==this.calendar?new Date(t.year,t.month,0).getDate():Object(o["a"])(t.year,t.month)},today(){return this.__getCurrentDate()},evtColor(){return"function"===typeof this.eventColor?this.eventColor:()=>this.eventColor},minNav(){if(void 0!==this.navigationMinYearMonth){const t=this.navigationMinYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}}},maxNav(){if(void 0!==this.navigationMaxYearMonth){const t=this.navigationMaxYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}}},navBoundaries(){const t={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return void 0!==this.minNav&&this.minNav.year>=this.viewModel.year&&(t.year.prev=!1,this.minNav.year===this.viewModel.year&&this.minNav.month>=this.viewModel.month&&(t.month.prev=!1)),void 0!==this.maxNav&&this.maxNav.year<=this.viewModel.year&&(t.year.next=!1,this.maxNav.year===this.viewModel.year&&this.maxNav.month<=this.viewModel.month&&(t.month.next=!1)),t},daysMap(){const t={};return this.daysModel.forEach((e=>{const n=this.__getMonthHash(e);void 0===t[n]&&(t[n]=[]),t[n].push(e.day)})),t},rangeMap(){const t={};return this.rangeModel.forEach((e=>{const n=this.__getMonthHash(e.from),i=this.__getMonthHash(e.to);if(void 0===t[n]&&(t[n]=[]),t[n].push({from:e.from.day,to:n===i?e.to.day:void 0,range:e}),n<i){let n;const{year:r,month:o}=e.from,a=o<12?{year:r,month:o+1}:{year:r+1,month:1};while((n=this.__getMonthHash(a))<=i)void 0===t[n]&&(t[n]=[]),t[n].push({from:void 0,to:n===i?e.to.day:void 0,range:e}),a.month++,a.month>12&&(a.year++,a.month=1)}})),t},rangeView(){if(void 0===this.editRange)return;const{init:t,initHash:e,final:n,finalHash:i}=this.editRange,[r,o]=e<=i?[t,n]:[n,t],a=this.__getMonthHash(r),s=this.__getMonthHash(o);if(a!==this.viewMonthHash&&s!==this.viewMonthHash)return;const l={};return a===this.viewMonthHash?(l.from=r.day,l.includeFrom=!0):l.from=1,s===this.viewMonthHash?(l.to=o.day,l.includeTo=!0):l.to=this.daysInMonth,l},viewMonthHash(){return this.__getMonthHash(this.viewModel)},selectionDaysMap(){const t={};if(void 0===this.options){for(let e=1;e<=this.daysInMonth;e++)t[e]=!0;return t}const e="function"===typeof this.options?this.options:t=>this.options.includes(t);for(let n=1;n<=this.daysInMonth;n++){const i=this.viewMonthHash+"/"+Object(u["e"])(n);t[n]=e(i)}return t},eventDaysMap(){const t={};if(void 0===this.events)for(let e=1;e<=this.daysInMonth;e++)t[e]=!1;else{const e="function"===typeof this.events?this.events:t=>this.events.includes(t);for(let n=1;n<=this.daysInMonth;n++){const i=this.viewMonthHash+"/"+Object(u["e"])(n);t[n]=!0===e(i)&&this.evtColor(i)}}return t},viewDays(){let t,e;const{year:n,month:i}=this.viewModel;if("persian"!==this.calendar)t=new Date(n,i-1,1),e=new Date(n,i-1,0).getDate();else{const r=Object(o["b"])(n,i,1);t=new Date(r.gy,r.gm-1,r.gd);let a=i-1,s=n;0===a&&(a=12,s--),e=Object(o["a"])(s,a)}return{days:t.getDay()-this.computedFirstDayOfWeek-1,endDay:e}},days(){const t=[],{days:e,endDay:n}=this.viewDays,i=e<0?e+7:e;if(i<6)for(let a=n-i;a<=n;a++)t.push({i:a,fill:!0});const r=t.length;for(let a=1;a<=this.daysInMonth;a++){const e={i:a,event:this.eventDaysMap[a],classes:[]};!0===this.selectionDaysMap[a]&&(e.in=!0,e.flat=!0),t.push(e)}if(void 0!==this.daysMap[this.viewMonthHash]&&this.daysMap[this.viewMonthHash].forEach((e=>{const n=r+e-1;Object.assign(t[n],{selected:!0,unelevated:!0,flat:!1,color:this.computedColor,textColor:this.computedTextColor})})),void 0!==this.rangeMap[this.viewMonthHash]&&this.rangeMap[this.viewMonthHash].forEach((e=>{if(void 0!==e.from){const n=r+e.from-1,i=r+(e.to||this.daysInMonth)-1;for(let r=n;r<=i;r++)Object.assign(t[r],{range:e.range,unelevated:!0,color:this.computedColor,textColor:this.computedTextColor});Object.assign(t[n],{rangeFrom:!0,flat:!1}),void 0!==e.to&&Object.assign(t[i],{rangeTo:!0,flat:!1})}else if(void 0!==e.to){const n=r+e.to-1;for(let i=r;i<=n;i++)Object.assign(t[i],{range:e.range,unelevated:!0,color:this.computedColor,textColor:this.computedTextColor});Object.assign(t[n],{flat:!1,rangeTo:!0})}else{const n=r+this.daysInMonth-1;for(let i=r;i<=n;i++)Object.assign(t[i],{range:e.range,unelevated:!0,color:this.computedColor,textColor:this.computedTextColor})}})),void 0!==this.rangeView){const e=r+this.rangeView.from-1,n=r+this.rangeView.to-1;for(let i=e;i<=n;i++)t[i].color=this.computedColor,t[i].editRange=!0;!0===this.rangeView.includeFrom&&(t[e].editRangeFrom=!0),!0===this.rangeView.includeTo&&(t[n].editRangeTo=!0)}this.viewModel.year===this.today.year&&this.viewModel.month===this.today.month&&(t[r+this.today.day-1].today=!0);const o=t.length%7;if(o>0){const e=7-o;for(let n=1;n<=e;n++)t.push({i:n,fill:!0})}return t.forEach((t=>{let e="q-date__calendar-item ";!0===t.fill?e+="q-date__calendar-item--fill":(e+="q-date__calendar-item--"+(!0===t.in?"in":"out"),void 0!==t.range&&(e+=" q-date__range"+(!0===t.rangeTo?"-to":!0===t.rangeFrom?"-from":"")),!0===t.editRange&&(e+=` q-date__edit-range${!0===t.editRangeFrom?"-from":""}${!0===t.editRangeTo?"-to":""}`),void 0===t.range&&!0!==t.editRange||(e+=` text-${t.color}`)),t.classes=e})),t},attrs(){return!0===this.disable?{"aria-disabled":"true"}:!0===this.readonly?{"aria-readonly":"true"}:void 0}},methods:{setToday(){const t=this.today,e=this.daysMap[this.__getMonthHash(t)];void 0!==e&&!1!==e.includes(t.day)||this.__addToModel(t),this.setCalendarTo(this.today.year,this.today.month)},setView(t){!0===y(t)&&(this.view=t)},offsetCalendar(t,e){["month","year"].includes(t)&&this["__goTo"+("month"===t?"Month":"Year")](!0===e?-1:1)},setCalendarTo(t,e){this.view="Calendar",this.__updateViewModel(t,e)},setEditingRange(t,e){if(!1===this.range||!t)return void(this.editRange=void 0);const n=Object.assign({...this.viewModel},t),i=void 0!==e?Object.assign({...this.viewModel},e):n;this.editRange={init:n,initHash:this.__getDayHash(n),final:i,finalHash:this.__getDayHash(i)},this.setCalendarTo(n.year,n.month)},__getMask(){return"persian"===this.calendar?"YYYY/MM/DD":this.mask},__decodeString(t,e,n){return Object(p["a"])(t,e,n,this.calendar,{hour:0,minute:0,second:0,millisecond:0})},__getViewModel(t,e){const n=!0===Array.isArray(this.value)?this.value:this.value?[this.value]:[];if(0===n.length)return this.__getDefaultViewModel();const i=this.__decodeString(void 0!==n[0].from?n[0].from:n[0],t,e);return null===i.dateHash?this.__getDefaultViewModel():i},__getDefaultViewModel(){let t,e;if(void 0!==this.defaultYearMonth){const n=this.defaultYearMonth.split("/");t=parseInt(n[0],10),e=parseInt(n[1],10)}else{const n=void 0!==this.today?this.today:this.__getCurrentDate();t=n.year,e=n.month}return{year:t,month:e,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:t+"/"+Object(u["e"])(e)+"/01"}},__getHeader(t){if(!0!==this.minimal)return t("div",{staticClass:"q-date__header",class:this.headerClass},[t("div",{staticClass:"relative-position"},[t("transition",{props:{name:"q-transition--fade"}},[t("div",{key:"h-yr-"+this.headerSubtitle,staticClass:"q-date__header-subtitle q-date__header-link",class:"Years"===this.view?"q-date__header-link--active":"cursor-pointer",attrs:{tabindex:this.computedTabindex},on:Object(f["b"])(this,"vY",{click:()=>{this.view="Years"},keyup:t=>{13===t.keyCode&&(this.view="Years")}})},[this.headerSubtitle])])]),t("div",{staticClass:"q-date__header-title relative-position flex no-wrap"},[t("div",{staticClass:"relative-position col"},[t("transition",{props:{name:"q-transition--fade"}},[t("div",{key:"h-sub"+this.headerTitle,staticClass:"q-date__header-title-label q-date__header-link",class:"Calendar"===this.view?"q-date__header-link--active":"cursor-pointer",attrs:{tabindex:this.computedTabindex},on:Object(f["b"])(this,"vC",{click:()=>{this.view="Calendar"},keyup:t=>{13===t.keyCode&&(this.view="Calendar")}})},[this.headerTitle])])]),!0===this.todayBtn?t(r["a"],{staticClass:"q-date__header-today self-start",props:{icon:this.$q.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:this.computedTabindex},on:Object(f["b"])(this,"today",{click:this.setToday})}):null])])},__getNavigation(t,{label:e,view:n,key:i,dir:o,goTo:a,boundaries:s,cls:l}){return[t("div",{staticClass:"row items-center q-date__arrow"},[t(r["a"],{props:{round:!0,dense:!0,size:"sm",flat:!0,icon:this.dateArrow[0],tabindex:this.computedTabindex,disable:!1===s.prev},on:Object(f["b"])(this,"go-#"+n,{click(){a(-1)}})})]),t("div",{staticClass:"relative-position overflow-hidden flex flex-center"+l},[t("transition",{props:{name:"q-transition--jump-"+o}},[t("div",{key:i},[t(r["a"],{props:{flat:!0,dense:!0,noCaps:!0,label:e,tabindex:this.computedTabindex},on:Object(f["b"])(this,"view#"+n,{click:()=>{this.view=n}})})])])]),t("div",{staticClass:"row items-center q-date__arrow"},[t(r["a"],{props:{round:!0,dense:!0,size:"sm",flat:!0,icon:this.dateArrow[1],tabindex:this.computedTabindex,disable:!1===s.next},on:Object(f["b"])(this,"go+#"+n,{click(){a(1)}})})])]},__getCalendarView(t){return[t("div",{key:"calendar-view",staticClass:"q-date__view q-date__calendar"},[t("div",{staticClass:"q-date__navigation row items-center no-wrap"},this.__getNavigation(t,{label:this.innerLocale.months[this.viewModel.month-1],view:"Months",key:this.viewModel.month,dir:this.monthDirection,goTo:this.__goToMonth,boundaries:this.navBoundaries.month,cls:" col"}).concat(this.__getNavigation(t,{label:this.viewModel.year,view:"Years",key:this.viewModel.year,dir:this.yearDirection,goTo:this.__goToYear,boundaries:this.navBoundaries.year,cls:""}))),t("div",{staticClass:"q-date__calendar-weekdays row items-center no-wrap"},this.daysOfWeek.map((e=>t("div",{staticClass:"q-date__calendar-item"},[t("div",[e])])))),t("div",{staticClass:"q-date__calendar-days-container relative-position overflow-hidden"},[t("transition",{props:{name:"q-transition--slide-"+this.monthDirection}},[t("div",{key:this.viewMonthHash,staticClass:"q-date__calendar-days fit"},this.days.map((e=>t("div",{staticClass:e.classes},[!0===e.in?t(r["a"],{staticClass:!0===e.today?"q-date__today":null,props:{dense:!0,flat:e.flat,unelevated:e.unelevated,color:e.color,textColor:e.textColor,label:e.i,tabindex:this.computedTabindex},on:Object(f["b"])(this,"day#"+e.i,{click:()=>{this.__onDayClick(e.i)},mouseover:()=>{this.__onDayMouseover(e.i)}})},!1!==e.event?[t("div",{staticClass:"q-date__event bg-"+e.event})]:null):t("div",[e.i])]))))])])])]},__getMonthsView(t){const e=this.viewModel.year===this.today.year,n=t=>void 0!==this.minNav&&this.viewModel.year===this.minNav.year&&this.minNav.month>t||void 0!==this.maxNav&&this.viewModel.year===this.maxNav.year&&this.maxNav.month<t,i=this.innerLocale.monthsShort.map(((i,o)=>{const a=this.viewModel.month===o+1;return t("div",{staticClass:"q-date__months-item flex flex-center"},[t(r["a"],{staticClass:!0===e&&this.today.month===o+1?"q-date__today":null,props:{flat:!0!==a,label:i,unelevated:a,color:!0===a?this.computedColor:null,textColor:!0===a?this.computedTextColor:null,tabindex:this.computedTabindex,disable:n(o+1)},on:Object(f["b"])(this,"month#"+o,{click:()=>{this.__setMonth(o+1)}})})])}));return!0===this.yearsInMonthView&&i.unshift(t("div",{staticClass:"row no-wrap full-width"},[this.__getNavigation(t,{label:this.viewModel.year,view:"Years",key:this.viewModel.year,dir:this.yearDirection,goTo:this.__goToYear,boundaries:this.navBoundaries.year,cls:" col"})])),t("div",{key:"months-view",staticClass:"q-date__view q-date__months flex flex-center"},i)},__getYearsView(t){const e=this.startYear,n=e+m,i=[],o=t=>void 0!==this.minNav&&this.minNav.year>t||void 0!==this.maxNav&&this.maxNav.year<t;for(let a=e;a<=n;a++){const e=this.viewModel.year===a;i.push(t("div",{staticClass:"q-date__years-item flex flex-center"},[t(r["a"],{key:"yr"+a,staticClass:this.today.year===a?"q-date__today":null,props:{flat:!e,label:a,dense:!0,unelevated:e,color:!0===e?this.computedColor:null,textColor:!0===e?this.computedTextColor:null,tabindex:this.computedTabindex,disable:o(a)},on:Object(f["b"])(this,"yr#"+a,{click:()=>{this.__setYear(a)}})})]))}return t("div",{staticClass:"q-date__view q-date__years flex flex-center"},[t("div",{staticClass:"col-auto"},[t(r["a"],{props:{round:!0,dense:!0,flat:!0,icon:this.dateArrow[0],tabindex:this.computedTabindex,disable:o(e)},on:Object(f["b"])(this,"y-",{click:()=>{this.startYear-=m}})})]),t("div",{staticClass:"q-date__years-content col self-stretch row items-center"},i),t("div",{staticClass:"col-auto"},[t(r["a"],{props:{round:!0,dense:!0,flat:!0,icon:this.dateArrow[1],tabindex:this.computedTabindex,disable:o(n)},on:Object(f["b"])(this,"y+",{click:()=>{this.startYear+=m}})})])])},__goToMonth(t){let e=this.viewModel.year,n=Number(this.viewModel.month)+t;13===n?(n=1,e++):0===n&&(n=12,e--),this.__updateViewModel(e,n),!0===this.isImmediate&&this.__emitImmediately("month")},__goToYear(t){const e=Number(this.viewModel.year)+t;this.__updateViewModel(e,this.viewModel.month),!0===this.isImmediate&&this.__emitImmediately("year")},__setYear(t){this.__updateViewModel(t,this.viewModel.month),this.view="Years"===this.defaultView?"Months":"Calendar",!0===this.isImmediate&&this.__emitImmediately("year")},__setMonth(t){this.__updateViewModel(this.viewModel.year,t),this.view="Calendar",!0===this.isImmediate&&this.__emitImmediately("month")},__getMonthHash(t){return t.year+"/"+Object(u["e"])(t.month)},__toggleDate(t,e){const n=this.daysMap[e],i=void 0!==n&&!0===n.includes(t.day)?this.__removeFromModel:this.__addToModel;i(t)},__getShortDate(t){return{year:t.year,month:t.month,day:t.day}},__onDayClick(t){const e={...this.viewModel,day:t};if(!1!==this.range)if(void 0===this.editRange){const n=this.days.find((e=>!0!==e.fill&&e.i===t));if(void 0!==n.range)return void this.__removeFromModel({target:e,from:n.range.from,to:n.range.to});if(!0===n.selected)return void this.__removeFromModel(e);const i=this.__getDayHash(e);this.editRange={init:e,initHash:i,final:e,finalHash:i},this.$emit("range-start",this.__getShortDate(e))}else{const t=this.editRange.initHash,n=this.__getDayHash(e),i=t<=n?{from:this.editRange.init,to:e}:{from:e,to:this.editRange.init};this.editRange=void 0,this.__addToModel(t===n?e:{target:e,...i}),this.$emit("range-end",{from:this.__getShortDate(i.from),to:this.__getShortDate(i.to)})}else this.__toggleDate(e,this.viewMonthHash)},__onDayMouseover(t){if(void 0!==this.editRange){const e={...this.viewModel,day:t};Object.assign(this.editRange,{final:e,finalHash:this.__getDayHash(e)})}},__updateViewModel(t,e){void 0!==this.minNav&&t<=this.minNav.year&&(t=this.minNav.year,e<this.minNav.month&&(e=this.minNav.month)),void 0!==this.maxNav&&t>=this.maxNav.year&&(t=this.maxNav.year,e>this.maxNav.month&&(e=this.maxNav.month));const n=t+"/"+Object(u["e"])(e)+"/01";n!==this.viewModel.dateHash&&(this.monthDirection=this.viewModel.dateHash<n===(!0!==this.$q.lang.rtl)?"left":"right",t!==this.viewModel.year&&(this.yearDirection=this.monthDirection),this.$nextTick((()=>{this.startYear=t-t%m-(t<0?m:0),Object.assign(this.viewModel,{year:t,month:e,day:1,dateHash:n})})))},__emitValue(t,e,n){const i=null!==t&&1===t.length&&!1===this.multiple?t[0]:t;this.lastEmitValue=i;const{reason:r,details:o}=this.__getEmitParams(e,n);this.$emit("input",i,r,o)},__emitImmediately(t){const e=void 0!==this.daysModel[0]&&null!==this.daysModel[0].dateHash?{...this.daysModel[0]}:{...this.viewModel};this.$nextTick((()=>{e.year=this.viewModel.year,e.month=this.viewModel.month;const n="persian"!==this.calendar?new Date(e.year,e.month,0).getDate():Object(o["a"])(e.year,e.month);e.day=Math.min(Math.max(1,e.day),n);const i=this.__encodeEntry(e);this.lastEmitValue=i;const{details:r}=this.__getEmitParams("",e);this.$emit("input",i,t,r)}))},__getEmitParams(t,e){return void 0!==e.from?{reason:`${t}-range`,details:{...this.__getShortDate(e.target),from:this.__getShortDate(e.from),to:this.__getShortDate(e.to),changed:!0}}:{reason:`${t}-day`,details:{...this.__getShortDate(e),changed:!0}}},__encodeEntry(t,e,n){return void 0!==t.from?{from:this.encodeObjectFn(t.from,e,n),to:this.encodeObjectFn(t.to,e,n)}:this.encodeObjectFn(t,e,n)},__addToModel(t){let e;if(!0===this.multiple)if(void 0!==t.from){const n=this.__getDayHash(t.from),i=this.__getDayHash(t.to),r=this.daysModel.filter((t=>t.dateHash<n||t.dateHash>i)),o=this.rangeModel.filter((({from:t,to:e})=>e.dateHash<n||t.dateHash>i));e=r.concat(o).concat(t).map((t=>this.__encodeEntry(t)))}else{const n=this.normalizedModel.slice();n.push(this.__encodeEntry(t)),e=n}else e=this.__encodeEntry(t);this.__emitValue(e,"add",t)},__removeFromModel(t){if(!0===this.noUnset)return;let e=null;if(!0===this.multiple&&!0===Array.isArray(this.value)){const n=this.__encodeEntry(t);e=void 0!==t.from?this.value.filter((t=>void 0===t.from||t.from!==n.from&&t.to!==n.to)):this.value.filter((t=>t!==n)),0===e.length&&(e=null)}this.__emitValue(e,"remove",t)},__updateValue(t,e,n){const i=this.daysModel.concat(this.rangeModel).map((n=>this.__encodeEntry(n,t,e))).filter((t=>void 0!==t.from?null!==t.from.dateHash&&null!==t.to.dateHash:null!==t.dateHash));this.$emit("input",(!0===this.multiple?i:i[0])||null,n)}},render(t){const e=[t("div",{staticClass:"q-date__content col relative-position"},[t("transition",{props:{name:"q-transition--fade"}},[this[`__get${this.view}View`](t)])])],n=Object(d["c"])(this,"default");return void 0!==n&&e.push(t("div",{staticClass:"q-date__actions"},n)),void 0!==this.name&&!0!==this.disable&&this.__injectFormInput(e,"push"),t("div",{class:this.classes,attrs:this.attrs,on:{...this.qListeners}},[this.__getHeader(t),t("div",{staticClass:"q-date__main col column",attrs:{tabindex:-1},ref:"blurTarget"},e)])}})},5319:function(t,e,n){"use strict";var i=n("2ba4"),r=n("c65b"),o=n("e330"),a=n("d784"),s=n("d039"),l=n("825a"),u=n("1626"),c=n("5926"),h=n("50c4"),d=n("577e"),p=n("1d80"),f=n("8aa5"),g=n("dc4a"),m=n("0cb2"),v=n("14c3"),y=n("b622"),b=y("replace"),_=Math.max,x=Math.min,w=o([].concat),S=o([].push),C=o("".indexOf),k=o("".slice),M=function(t){return void 0===t?t:String(t)},O=function(){return"$0"==="a".replace(/./,"$0")}(),T=function(){return!!/./[b]&&""===/./[b]("a","$0")}(),A=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));a("replace",(function(t,e,n){var o=T?"$":"$0";return[function(t,n){var i=p(this),o=void 0==t?void 0:g(t,b);return o?r(o,t,i,n):r(e,d(i),t,n)},function(t,r){var a=l(this),s=d(t);if("string"==typeof r&&-1===C(r,o)&&-1===C(r,"$<")){var p=n(e,a,s,r);if(p.done)return p.value}var g=u(r);g||(r=d(r));var y=a.global;if(y){var b=a.unicode;a.lastIndex=0}var O=[];while(1){var T=v(a,s);if(null===T)break;if(S(O,T),!y)break;var A=d(T[0]);""===A&&(a.lastIndex=f(s,h(a.lastIndex),b))}for(var I="",P=0,E=0;E<O.length;E++){T=O[E];for(var D=d(T[0]),L=_(x(c(T.index),s.length),0),j=[],R=1;R<T.length;R++)S(j,M(T[R]));var B=T.groups;if(g){var N=w([D],j,L,s);void 0!==B&&S(N,B);var F=d(i(r,void 0,N))}else F=m(D,s,L,j,B,r);L>=P&&(I+=k(s,P,L)+F,P=L+D.length)}return I+k(s,P)}]}),!A||!O||T)},5352:function(t,e,n){"use strict";n("e260");var i=n("23e7"),r=n("da84"),o=n("c65b"),a=n("e330"),s=n("83ab"),l=n("0d3b"),u=n("cb2d"),c=n("6964"),h=n("d44e"),d=n("9ed3"),p=n("69f3"),f=n("19aa"),g=n("1626"),m=n("1a2d"),v=n("0366"),y=n("f5df"),b=n("825a"),_=n("861d"),x=n("577e"),w=n("7c73"),S=n("5c6c"),C=n("9a1f"),k=n("35a1"),M=n("d6d6"),O=n("b622"),T=n("addb"),A=O("iterator"),I="URLSearchParams",P=I+"Iterator",E=p.set,D=p.getterFor(I),L=p.getterFor(P),j=Object.getOwnPropertyDescriptor,R=function(t){if(!s)return r[t];var e=j(r,t);return e&&e.value},B=R("fetch"),N=R("Request"),F=R("Headers"),z=N&&N.prototype,V=F&&F.prototype,q=r.RegExp,$=r.TypeError,H=r.decodeURIComponent,G=r.encodeURIComponent,W=a("".charAt),U=a([].join),Y=a([].push),X=a("".replace),K=a([].shift),Z=a([].splice),Q=a("".split),J=a("".slice),tt=/\+/g,et=Array(4),nt=function(t){return et[t-1]||(et[t-1]=q("((?:%[\\da-f]{2}){"+t+"})","gi"))},it=function(t){try{return H(t)}catch(e){return t}},rt=function(t){var e=X(t,tt," "),n=4;try{return H(e)}catch(i){while(n)e=X(e,nt(n--),it);return e}},ot=/[!'()~]|%20/g,at={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},st=function(t){return at[t]},lt=function(t){return X(G(t),ot,st)},ut=d((function(t,e){E(this,{type:P,iterator:C(D(t).entries),kind:e})}),"Iterator",(function(){var t=L(this),e=t.kind,n=t.iterator.next(),i=n.value;return n.done||(n.value="keys"===e?i.key:"values"===e?i.value:[i.key,i.value]),n}),!0),ct=function(t){this.entries=[],this.url=null,void 0!==t&&(_(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===W(t,0)?J(t,1):t:x(t)))};ct.prototype={type:I,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,n,i,r,a,s,l,u=k(t);if(u){e=C(t,u),n=e.next;while(!(i=o(n,e)).done){if(r=C(b(i.value)),a=r.next,(s=o(a,r)).done||(l=o(a,r)).done||!o(a,r).done)throw $("Expected sequence with length 2");Y(this.entries,{key:x(s.value),value:x(l.value)})}}else for(var c in t)m(t,c)&&Y(this.entries,{key:c,value:x(t[c])})},parseQuery:function(t){if(t){var e,n,i=Q(t,"&"),r=0;while(r<i.length)e=i[r++],e.length&&(n=Q(e,"="),Y(this.entries,{key:rt(K(n)),value:rt(U(n,"="))}))}},serialize:function(){var t,e=this.entries,n=[],i=0;while(i<e.length)t=e[i++],Y(n,lt(t.key)+"="+lt(t.value));return U(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ht=function(){f(this,dt);var t=arguments.length>0?arguments[0]:void 0;E(this,new ct(t))},dt=ht.prototype;if(c(dt,{append:function(t,e){M(arguments.length,2);var n=D(this);Y(n.entries,{key:x(t),value:x(e)}),n.updateURL()},delete:function(t){M(arguments.length,1);var e=D(this),n=e.entries,i=x(t),r=0;while(r<n.length)n[r].key===i?Z(n,r,1):r++;e.updateURL()},get:function(t){M(arguments.length,1);for(var e=D(this).entries,n=x(t),i=0;i<e.length;i++)if(e[i].key===n)return e[i].value;return null},getAll:function(t){M(arguments.length,1);for(var e=D(this).entries,n=x(t),i=[],r=0;r<e.length;r++)e[r].key===n&&Y(i,e[r].value);return i},has:function(t){M(arguments.length,1);var e=D(this).entries,n=x(t),i=0;while(i<e.length)if(e[i++].key===n)return!0;return!1},set:function(t,e){M(arguments.length,1);for(var n,i=D(this),r=i.entries,o=!1,a=x(t),s=x(e),l=0;l<r.length;l++)n=r[l],n.key===a&&(o?Z(r,l--,1):(o=!0,n.value=s));o||Y(r,{key:a,value:s}),i.updateURL()},sort:function(){var t=D(this);T(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){var e,n=D(this).entries,i=v(t,arguments.length>1?arguments[1]:void 0),r=0;while(r<n.length)e=n[r++],i(e.value,e.key,this)},keys:function(){return new ut(this,"keys")},values:function(){return new ut(this,"values")},entries:function(){return new ut(this,"entries")}},{enumerable:!0}),u(dt,A,dt.entries,{name:"entries"}),u(dt,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),h(ht,I),i({global:!0,constructor:!0,forced:!l},{URLSearchParams:ht}),!l&&g(F)){var pt=a(V.has),ft=a(V.set),gt=function(t){if(_(t)){var e,n=t.body;if(y(n)===I)return e=t.headers?new F(t.headers):new F,pt(e,"content-type")||ft(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),w(t,{body:S(0,x(n)),headers:S(0,e)})}return t};if(g(B)&&i({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return B(t,arguments.length>1?gt(arguments[1]):{})}}),g(N)){var mt=function(t){return f(this,z),new N(t,arguments.length>1?gt(arguments[1]):{})};z.constructor=mt,mt.prototype=z,i({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:mt})}}t.exports={URLSearchParams:ht,getState:D}},5377:function(t,e,n){var i=n("da84"),r=n("83ab"),o=n("edd0"),a=n("ad6d"),s=n("d039"),l=i.RegExp,u=l.prototype,c=r&&s((function(){var t=!0;try{l(".","d")}catch(c){t=!1}var e={},n="",i=t?"dgimsy":"gimsy",r=function(t,i){Object.defineProperty(e,t,{get:function(){return n+=i,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(o.hasIndices="d"),o)r(a,o[a]);var s=Object.getOwnPropertyDescriptor(u,"flags").get.call(e);return s!==i||n!==i}));c&&o(u,"flags",{configurable:!0,get:a})},5692:function(t,e,n){var i=n("c430"),r=n("c6cd");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.24.1",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(t,e,n){var i=n("d066"),r=n("e330"),o=n("241c"),a=n("7418"),s=n("825a"),l=r([].concat);t.exports=i("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?l(e,n(t)):e}},5726:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("c243"),r=function(t,e,n){var r=t.split("").map((function(t,n){return i.BINARIES[e[n]]})).map((function(e,n){return e?e[t[n]]:""}));if(n){var o=t.length-1;r=r.map((function(t,e){return e<o?t+n:t}))}return r.join("")};e.default=r},"577e":function(t,e,n){var i=n("f5df"),r=String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},"577e4":function(t,e){function n(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}n.prototype.set=function(t,e,n,i){const r=t*this.size+e;this.data[r]=n,i&&(this.reservedBit[r]=!0)},n.prototype.get=function(t,e){return this.data[t*this.size+e]},n.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},n.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=n},"57b0":function(t,e,n){"use strict";n("caad");var i=n("87e8");const r=["top","right","bottom","left"];e["a"]={mixins:[i["a"]],props:{type:{type:String,default:"a"},outline:Boolean,push:Boolean,flat:Boolean,unelevated:Boolean,color:String,textColor:String,glossy:Boolean,square:Boolean,padding:String,label:{type:[String,Number],default:""},labelPosition:{type:String,default:"right",validator:t=>r.includes(t)},externalLabel:Boolean,hideLabel:{type:Boolean},labelClass:[Array,String,Object],labelStyle:[Array,String,Object],disable:Boolean,tabindex:[Number,String]},computed:{formClass(){return"q-fab--form-"+(!0===this.square?"square":"rounded")},stacked(){return!1===this.externalLabel&&["top","bottom"].includes(this.labelPosition)},labelProps(){if(!0===this.externalLabel){const t=null===this.hideLabel?!1===this.showing:this.hideLabel;return{action:"push",data:{staticClass:`q-fab__label q-tooltip--style q-fab__label--external q-fab__label--external-${this.labelPosition}`+(!0===t?" q-fab__label--external-hidden":""),style:this.labelStyle,class:this.labelClass}}}return{action:["left","top"].includes(this.labelPosition)?"unshift":"push",data:{staticClass:`q-fab__label q-fab__label--internal q-fab__label--internal-${this.labelPosition}`+(!0===this.hideLabel?" q-fab__label--internal-hidden":""),style:this.labelStyle,class:this.labelClass}}}}}},"582c":function(t,e,n){"use strict";n("ddb0"),n("caad");var i=n("0967"),r=n("d882");const o=()=>!0;function a(t){return"string"===typeof t&&""!==t&&"/"!==t&&"#/"!==t}function s(t){return!0===t.startsWith("#")&&(t=t.substr(1)),!1===t.startsWith("/")&&(t="/"+t),!0===t.endsWith("/")&&(t=t.substr(0,t.length-1)),"#"+t}function l(t){if(!1===t.backButtonExit)return()=>!1;if("*"===t.backButtonExit)return o;const e=["#/"];return!0===Array.isArray(t.backButtonExit)&&e.push(...t.backButtonExit.filter(a).map(s)),()=>e.includes(window.location.hash)}e["a"]={__history:[],add:r["g"],remove:r["g"],install(t){if(!0===i["e"])return;const{cordova:e,capacitor:n}=i["a"].is;if(!0!==e&&!0!==n)return;const r=t[!0===e?"cordova":"capacitor"];if(void 0!==r&&!1===r.backButton)return;if(!0===n&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=t=>{void 0===t.condition&&(t.condition=o),this.__history.push(t)},this.remove=t=>{const e=this.__history.indexOf(t);e>=0&&this.__history.splice(e,1)};const a=l(Object.assign({backButtonExit:!0},r)),s=()=>{if(this.__history.length){const t=this.__history[this.__history.length-1];!0===t.condition()&&(this.__history.pop(),t.handler())}else!0===a()?navigator.app.exitApp():window.history.back()};!0===e?document.addEventListener("deviceready",(()=>{document.addEventListener("backbutton",s,!1)})):window.Capacitor.Plugins.App.addListener("backButton",s)}}},"583f":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("c243"),o=n("5726"),a=u(o),s=n("e762"),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){var e=t.split("").map((function(t){return+t})).reduce((function(t,e,n){return n%2?t+9*e:t+3*e}),0);return e%10},f=function(t){function e(t,n){return c(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return d(e,t),i(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var t=r.EAN5_STRUCTURE[p(this.data)];return{data:"1011"+(0,a.default)(this.data,t,"01"),text:this.text}}}]),e}(l.default);e.default=f},"58a8":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("87e8"),o=n("dde5");e["a"]=i["a"].extend({name:"QBadge",mixins:[r["a"]],props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:t=>["top","middle","bottom"].includes(t)}},computed:{style(){if(void 0!==this.align)return{verticalAlign:this.align}},classes(){const t=!0===this.outline&&this.color||this.textColor;return`q-badge flex inline items-center no-wrap q-badge--${!0===this.multiLine?"multi":"single"}-line`+(!0===this.outline?" q-badge--outline":void 0!==this.color?` bg-${this.color}`:"")+(void 0!==t?` text-${t}`:"")+(!0===this.floating?" q-badge--floating":"")+(!0===this.rounded?" q-badge--rounded":"")+(!0===this.transparent?" q-badge--transparent":"")},attrs(){return{role:"alert","aria-label":this.label}}},render(t){return t("div",{style:this.style,class:this.classes,attrs:this.attrs,on:{...this.qListeners}},void 0!==this.label?[this.label]:Object(o["c"])(this,"default"))}})},"58b4":function(t,e,n){"use strict";t.exports=function(t){for(var e=[],n=t.length,i=0;i<n;i++){var r=t.charCodeAt(i);if(r>=55296&&r<=56319&&n>i+1){var o=t.charCodeAt(i+1);o>=56320&&o<=57343&&(r=1024*(r-55296)+o-56320+65536,i+=1)}r<128?e.push(r):r<2048?(e.push(r>>6|192),e.push(63&r|128)):r<55296||r>=57344&&r<65536?(e.push(r>>12|224),e.push(r>>6&63|128),e.push(63&r|128)):r>=65536&&r<=1114111?(e.push(r>>18|240),e.push(r>>12&63|128),e.push(r>>6&63|128),e.push(63&r|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},"58e5":function(t,e,n){"use strict";var i=n("582c");e["a"]={methods:{__addHistory(){this.__historyEntry={condition:()=>!0===this.hideOnRouteChange,handler:this.hide},i["a"].add(this.__historyEntry)},__removeHistory(){void 0!==this.__historyEntry&&(i["a"].remove(this.__historyEntry),this.__historyEntry=void 0)}},beforeDestroy(){!0===this.showing&&this.__removeHistory()}}},5926:function(t,e,n){var i=n("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:i(e)}},"59ed":function(t,e,n){var i=n("1626"),r=n("0d51"),o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not a function")}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5cc6":function(t,e,n){var i=n("74e8");i("Uint8",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},"5e77":function(t,e,n){var i=n("83ab"),r=n("1a2d"),o=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=r(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!i||i&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},"5f02":function(t,e,n){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},"5fb2":function(t,e,n){"use strict";var i=n("e330"),r=2147483647,o=36,a=1,s=26,l=38,u=700,c=72,h=128,d="-",p=/[^\0-\u007E]/,f=/[.\u3002\uFF0E\uFF61]/g,g="Overflow: input needs wider integers to process",m=o-a,v=RangeError,y=i(f.exec),b=Math.floor,_=String.fromCharCode,x=i("".charCodeAt),w=i([].join),S=i([].push),C=i("".replace),k=i("".split),M=i("".toLowerCase),O=function(t){var e=[],n=0,i=t.length;while(n<i){var r=x(t,n++);if(r>=55296&&r<=56319&&n<i){var o=x(t,n++);56320==(64512&o)?S(e,((1023&r)<<10)+(1023&o)+65536):(S(e,r),n--)}else S(e,r)}return e},T=function(t){return t+22+75*(t<26)},A=function(t,e,n){var i=0;t=n?b(t/u):t>>1,t+=b(t/e);while(t>m*s>>1)t=b(t/m),i+=o;return b(i+(m+1)*t/(t+l))},I=function(t){var e=[];t=O(t);var n,i,l=t.length,u=h,p=0,f=c;for(n=0;n<t.length;n++)i=t[n],i<128&&S(e,_(i));var m=e.length,y=m;m&&S(e,d);while(y<l){var x=r;for(n=0;n<t.length;n++)i=t[n],i>=u&&i<x&&(x=i);var C=y+1;if(x-u>b((r-p)/C))throw v(g);for(p+=(x-u)*C,u=x,n=0;n<t.length;n++){if(i=t[n],i<u&&++p>r)throw v(g);if(i==u){var k=p,M=o;while(1){var I=M<=f?a:M>=f+s?s:M-f;if(k<I)break;var P=k-I,E=o-I;S(e,_(T(I+P%E))),k=b(P/E),M+=o}S(e,_(T(k))),f=A(p,C,y==m),p=0,y++}}p++,u++}return w(e,"")};t.exports=function(t){var e,n,i=[],r=k(C(M(t),f,"."),".");for(e=0;e<r.length;e++)n=r[e],S(i,y(p,n)?"xn--"+I(n):n);return w(i,".")}},"5ff7":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"e",(function(){return u})),n.d(e,"c",(function(){return c}));n("ddb0"),n("5377");const i="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer;function a(t,e){if(t===e)return!0;if(null!==t&&null!==e&&"object"===typeof t&&"object"===typeof e){if(t.constructor!==e.constructor)return!1;let n,s;if(t.constructor===Array){if(n=t.length,n!==e.length)return!1;for(s=n;0!==s--;)if(!0!==a(t[s],e[s]))return!1;return!0}if(!0===i&&t.constructor===Map){if(t.size!==e.size)return!1;s=t.entries().next();while(!0!==s.done){if(!0!==e.has(s.value[0]))return!1;s=s.next()}s=t.entries().next();while(!0!==s.done){if(!0!==a(s.value[1],e.get(s.value[0])))return!1;s=s.next()}return!0}if(!0===r&&t.constructor===Set){if(t.size!==e.size)return!1;s=t.entries().next();while(!0!==s.done){if(!0!==e.has(s.value[0]))return!1;s=s.next()}return!0}if(!0===o&&null!=t.buffer&&t.buffer.constructor===ArrayBuffer){if(n=t.length,n!==e.length)return!1;for(s=n;0!==s--;)if(t[s]!==e[s])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();const l=Object.keys(t).filter((e=>void 0!==t[e]));if(n=l.length,n!==Object.keys(e).filter((t=>void 0!==e[t])).length)return!1;for(s=n;0!==s--;){const n=l[s];if(!0!==a(t[n],e[n]))return!1}return!0}return t!==t&&e!==e}function s(t){return null!==t&&"object"===typeof t&&!0!==Array.isArray(t)}function l(t){return"[object Date]"===Object.prototype.toString.call(t)}function u(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function c(t){return"number"===typeof t&&isFinite(t)}},"60da":function(t,e,n){"use strict";var i=n("83ab"),r=n("e330"),o=n("c65b"),a=n("d039"),s=n("df75"),l=n("7418"),u=n("d1e7"),c=n("7b0b"),h=n("44ad"),d=Object.assign,p=Object.defineProperty,f=r([].concat);t.exports=!d||a((function(){if(i&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=d({},t)[n]||s(d({},e)).join("")!=r}))?function(t,e){var n=c(t),r=arguments.length,a=1,d=l.f,p=u.f;while(r>a){var g,m=h(arguments[a++]),v=d?f(s(m),d(m)):s(m),y=v.length,b=0;while(y>b)g=v[b++],i&&!o(p,m,g)||(n[g]=m[g])}return n}:d},"621a":function(t,e,n){"use strict";var i=n("da84"),r=n("e330"),o=n("83ab"),a=n("a981"),s=n("5e77"),l=n("9112"),u=n("6964"),c=n("d039"),h=n("19aa"),d=n("5926"),p=n("50c4"),f=n("0b25"),g=n("77a7"),m=n("e163"),v=n("d2bb"),y=n("241c").f,b=n("9bf2").f,_=n("81d5"),x=n("4dae"),w=n("d44e"),S=n("69f3"),C=s.PROPER,k=s.CONFIGURABLE,M=S.get,O=S.set,T="ArrayBuffer",A="DataView",I="prototype",P="Wrong length",E="Wrong index",D=i[T],L=D,j=L&&L[I],R=i[A],B=R&&R[I],N=Object.prototype,F=i.Array,z=i.RangeError,V=r(_),q=r([].reverse),$=g.pack,H=g.unpack,G=function(t){return[255&t]},W=function(t){return[255&t,t>>8&255]},U=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Y=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},X=function(t){return $(t,23,4)},K=function(t){return $(t,52,8)},Z=function(t,e){b(t[I],e,{get:function(){return M(this)[e]}})},Q=function(t,e,n,i){var r=f(n),o=M(t);if(r+e>o.byteLength)throw z(E);var a=M(o.buffer).bytes,s=r+o.byteOffset,l=x(a,s,s+e);return i?l:q(l)},J=function(t,e,n,i,r,o){var a=f(n),s=M(t);if(a+e>s.byteLength)throw z(E);for(var l=M(s.buffer).bytes,u=a+s.byteOffset,c=i(+r),h=0;h<e;h++)l[u+h]=c[o?h:e-h-1]};if(a){var tt=C&&D.name!==T;if(c((function(){D(1)}))&&c((function(){new D(-1)}))&&!c((function(){return new D,new D(1.5),new D(NaN),tt&&!k})))tt&&k&&l(D,"name",T);else{L=function(t){return h(this,j),new D(f(t))},L[I]=j;for(var et,nt=y(D),it=0;nt.length>it;)(et=nt[it++])in L||l(L,et,D[et]);j.constructor=L}v&&m(B)!==N&&v(B,N);var rt=new R(new L(2)),ot=r(B.setInt8);rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),!rt.getInt8(0)&&rt.getInt8(1)||u(B,{setInt8:function(t,e){ot(this,t,e<<24>>24)},setUint8:function(t,e){ot(this,t,e<<24>>24)}},{unsafe:!0})}else L=function(t){h(this,j);var e=f(t);O(this,{bytes:V(F(e),0),byteLength:e}),o||(this.byteLength=e)},j=L[I],R=function(t,e,n){h(this,B),h(t,j);var i=M(t).byteLength,r=d(e);if(r<0||r>i)throw z("Wrong offset");if(n=void 0===n?i-r:p(n),r+n>i)throw z(P);O(this,{buffer:t,byteLength:n,byteOffset:r}),o||(this.buffer=t,this.byteLength=n,this.byteOffset=r)},B=R[I],o&&(Z(L,"byteLength"),Z(R,"buffer"),Z(R,"byteLength"),Z(R,"byteOffset")),u(B,{getInt8:function(t){return Q(this,1,t)[0]<<24>>24},getUint8:function(t){return Q(this,1,t)[0]},getInt16:function(t){var e=Q(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Q(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return Y(Q(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return Y(Q(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return H(Q(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return H(Q(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){J(this,1,t,G,e)},setUint8:function(t,e){J(this,1,t,G,e)},setInt16:function(t,e){J(this,2,t,W,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){J(this,2,t,W,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){J(this,4,t,U,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){J(this,4,t,U,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){J(this,4,t,X,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){J(this,8,t,K,e,arguments.length>2?arguments[2]:void 0)}});w(L,T),w(R,A),t.exports={ArrayBuffer:L,DataView:R}},"62c5":function(t,e,n){"use strict";var i=n("ff84"),r=_(i),o=n("fd7c"),a=_(o),s=n("a2b0"),l=_(s),u=n("79f1"),c=_(u),h=n("b1d8"),d=_(h),p=n("5261"),f=_(p),g=n("bd8a"),m=_(g),v=n("dca2"),y=n("ca32"),b=_(y);function _(t){return t&&t.__esModule?t:{default:t}}var x=function(){},w=function(t,e,n){var i=new x;if("undefined"===typeof t)throw Error("No element to render on was provided.");return i._renderProperties=(0,d.default)(t),i._encodings=[],i._options=b.default,i._errorHandler=new m.default(i),"undefined"!==typeof e&&(n=n||{},n.format||(n.format=M()),i.options(n)[n.format](e,n).render()),i};for(var S in w.getModule=function(t){return r.default[t]},r.default)r.default.hasOwnProperty(S)&&C(r.default,S);function C(t,e){x.prototype[e]=x.prototype[e.toUpperCase()]=x.prototype[e.toLowerCase()]=function(n,i){var r=this;return r._errorHandler.wrapBarcodeCall((function(){i.text="undefined"===typeof i.text?void 0:""+i.text;var o=(0,a.default)(r._options,i);o=(0,f.default)(o);var s=t[e],l=k(n,s,o);return r._encodings.push(l),r}))}}function k(t,e,n){t=""+t;var i=new e(t,n);if(!i.valid())throw new v.InvalidInputException(i.constructor.name,t);var r=i.encode();r=(0,l.default)(r);for(var o=0;o<r.length;o++)r[o].options=(0,a.default)(n,r[o].options);return r}function M(){return r.default["CODE128"]?"CODE128":Object.keys(r.default)[0]}function O(t,e,n){e=(0,l.default)(e);for(var i=0;i<e.length;i++)e[i].options=(0,a.default)(n,e[i].options),(0,c.default)(e[i].options);(0,c.default)(n);var r=t.renderer,o=new r(t.element,e,n);o.render(),t.afterRender&&t.afterRender()}x.prototype.options=function(t){return this._options=(0,a.default)(this._options,t),this},x.prototype.blank=function(t){var e=new Array(t+1).join("0");return this._encodings.push({data:e}),this},x.prototype.init=function(){var t;if(this._renderProperties)for(var e in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){t=this._renderProperties[e];var n=(0,a.default)(this._options,t.options);"auto"==n.format&&(n.format=M()),this._errorHandler.wrapBarcodeCall((function(){var e=n.value,i=r.default[n.format.toUpperCase()],o=k(e,i,n);O(t,o,n)}))}},x.prototype.render=function(){if(!this._renderProperties)throw new v.NoElementException;if(Array.isArray(this._renderProperties))for(var t=0;t<this._renderProperties.length;t++)O(this._renderProperties[t],this._encodings,this._options);else O(this._renderProperties,this._encodings,this._options);return this},x.prototype._defaults=b.default,"undefined"!==typeof window&&(window.JsBarcode=w),"undefined"!==typeof jQuery&&(jQuery.fn.JsBarcode=function(t,e){var n=[];return jQuery(this).each((function(){n.push(this)})),w(n,t,e)}),t.exports=w},6374:function(t,e,n){var i=n("da84"),r=Object.defineProperty;t.exports=function(t,e){try{r(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},6547:function(t,e,n){var i=n("e330"),r=n("5926"),o=n("577e"),a=n("1d80"),s=i("".charAt),l=i("".charCodeAt),u=i("".slice),c=function(t){return function(e,n){var i,c,h=o(a(e)),d=r(n),p=h.length;return d<0||d>=p?t?"":void 0:(i=l(h,d),i<55296||i>56319||d+1===p||(c=l(h,d+1))<56320||c>57343?t?s(h,d):i:t?u(h,d,d+2):c-56320+(i-55296<<10)+65536)}};t.exports={codeAt:c(!1),charAt:c(!0)}},"65c6":function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("dde5");e["a"]=i["a"].extend({name:"QToolbar",mixins:[r["a"]],props:{inset:Boolean},render(t){return t("div",{staticClass:"q-toolbar row no-wrap items-center",class:this.inset?"q-toolbar--inset":null,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"65f0":function(t,e,n){var i=n("0b42");t.exports=function(t,e){return new(i(t))(0===e?0:e)}},6642:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return r}));const i={xs:18,sm:24,md:32,lg:38,xl:46};function r(t){return{props:{size:String},computed:{sizeStyle(){if(void 0!==this.size)return{fontSize:this.size in t?`${t[this.size]}px`:this.size}}}}}e["a"]=r(i)},"66e5":function(t,e,n){"use strict";var i=n("2b0e"),r=n("b7fa"),o=n("e2fa"),a=n("8716"),s=n("87e8"),l=n("dde5"),u=n("d882"),c=n("d728");e["a"]=i["a"].extend({name:"QItem",mixins:[r["a"],a["a"],o["a"],s["a"]],props:{active:Boolean,clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},computed:{isActionable(){return!0===this.clickable||!0===this.hasLink||"label"===this.tag},isClickable(){return!0!==this.disable&&!0===this.isActionable},classes(){return{"q-item--clickable q-link cursor-pointer":this.isClickable,"q-focusable q-hoverable":!0===this.isClickable&&!1===this.manualFocus,"q-manual-focusable":!0===this.isClickable&&!0===this.manualFocus,"q-manual-focusable--focused":!0===this.isClickable&&!0===this.focused,"q-item--dense":this.dense,"q-item--dark":this.isDark,"q-item--active":this.active,[this.activeClass]:!0===this.active&&!0!==this.hasRouterLink&&void 0!==this.activeClass,disabled:this.disable}},style(){if(void 0!==this.insetLevel){const t=!0===this.$q.lang.rtl?"Right":"Left";return{["padding"+t]:16+56*this.insetLevel+"px"}}},onEvents(){return{...this.qListeners,click:this.__onClick,keyup:this.__onKeyup}}},methods:{__getContent(t){const e=Object(l["d"])(this,"default",[]);return!0===this.isClickable&&e.unshift(t("div",{staticClass:"q-focus-helper",attrs:{tabindex:-1},ref:"blurTarget"})),e},__onClick(t){!0===this.isClickable&&(void 0!==this.$refs.blurTarget&&(!0!==t.qKeyEvent&&document.activeElement===this.$el?this.$refs.blurTarget.focus():document.activeElement===this.$refs.blurTarget&&this.$el.focus()),this.$emit("click",t))},__onKeyup(t){if(!0===this.isClickable&&!0===Object(c["a"])(t,13)){Object(u["l"])(t),t.qKeyEvent=!0;const e=new MouseEvent("click",t);e.qKeyEvent=!0,this.$el.dispatchEvent(e)}this.$emit("keyup",t)}},render(t){const e={staticClass:"q-item q-item-type row no-wrap",class:this.classes,style:this.style,attrs:{},[!0===this.hasRouterLink?"nativeOn":"on"]:this.onEvents};return!0===this.isClickable?e.attrs.tabindex=this.tabindex||"0":!0===this.isActionable&&(e.attrs["aria-disabled"]="true"),!0===this.hasLink&&(e.props=this.linkProps.props,Object.assign(e.attrs,this.linkProps.attrs)),t(this.linkTag,e,this.__getContent(t))}})},"67dd":function(t,e){t.exports=function(){return"function"===typeof Promise&&Promise.prototype&&Promise.prototype.then}},"685b":function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return l}));var i=n("d882"),r=n("5ff7");function o(t){return!0===Object(r["a"])(t)?"__q_date|"+t.toUTCString():!0===Object(r["e"])(t)?"__q_expr|"+t.source:"number"===typeof t?"__q_numb|"+t:"boolean"===typeof t?"__q_bool|"+(t?"1":"0"):"string"===typeof t?"__q_strn|"+t:"function"===typeof t?"__q_strn|"+t.toString():t===Object(t)?"__q_objt|"+JSON.stringify(t):t}function a(t){const e=t.length;if(e<9)return t;const n=t.substr(0,8),i=t.substring(9);switch(n){case"__q_date":return new Date(i);case"__q_expr":return new RegExp(i);case"__q_numb":return Number(i);case"__q_bool":return Boolean("1"===i);case"__q_strn":return""+i;case"__q_objt":return JSON.parse(i);default:return t}}function s(){const t=()=>null;return{has:()=>!1,getLength:()=>0,getItem:t,getIndex:t,getKey:t,getAll:()=>{},getAllKeys:()=>[],set:i["g"],remove:i["g"],clear:i["g"],isEmpty:()=>!0}}function l(t){const e=window[t+"Storage"],n=t=>{const n=e.getItem(t);return n?a(n):null};return{has:t=>null!==e.getItem(t),getLength:()=>e.length,getItem:n,getIndex:t=>t<e.length?n(e.key(t)):null,getKey:t=>t<e.length?e.key(t):null,getAll:()=>{let t;const i={},r=e.length;for(let o=0;o<r;o++)t=e.key(o),i[t]=n(t);return i},getAllKeys:()=>{const t=[],n=e.length;for(let i=0;i<n;i++)t.push(e.key(i));return t},set:(t,n)=>{e.setItem(t,o(n))},remove:t=>{e.removeItem(t)},clear:()=>{e.clear()},isEmpty:()=>0===e.length}}},"68ee":function(t,e,n){var i=n("e330"),r=n("d039"),o=n("1626"),a=n("f5df"),s=n("d066"),l=n("8925"),u=function(){},c=[],h=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=i(d.exec),f=!d.exec(u),g=function(t){if(!o(t))return!1;try{return h(u,c,t),!0}catch(e){return!1}},m=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(d,l(t))}catch(e){return!0}};m.sham=!0,t.exports=!h||r((function(){var t;return g(g.call)||!g(Object)||!g((function(){t=!0}))||t}))?m:g},6900:function(t,e,n){"use strict";e["a"]={props:{ratio:[String,Number]},computed:{ratioStyle(){const t=this.ratio||this.naturalRatio;if(void 0!==t)return{paddingBottom:100/t+"%"}}}}},6964:function(t,e,n){var i=n("cb2d");t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},"699e":function(t,e){const n=new Uint8Array(512),i=new Uint8Array(256);(function(){let t=1;for(let e=0;e<255;e++)n[e]=t,i[t]=e,t<<=1,256&t&&(t^=285);for(let e=255;e<512;e++)n[e]=n[e-255]})(),e.log=function(t){if(t<1)throw new Error("log("+t+")");return i[t]},e.exp=function(t){return n[t]},e.mul=function(t,e){return 0===t||0===e?0:n[i[t]+i[e]]}},"69f3":function(t,e,n){var i,r,o,a=n("7f9a"),s=n("da84"),l=n("e330"),u=n("861d"),c=n("9112"),h=n("1a2d"),d=n("c6cd"),p=n("f772"),f=n("d012"),g="Object already initialized",m=s.TypeError,v=s.WeakMap,y=function(t){return o(t)?r(t):i(t,{})},b=function(t){return function(e){var n;if(!u(e)||(n=r(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}};if(a||d.state){var _=d.state||(d.state=new v),x=l(_.get),w=l(_.has),S=l(_.set);i=function(t,e){if(w(_,t))throw new m(g);return e.facade=t,S(_,t,e),e},r=function(t){return x(_,t)||{}},o=function(t){return w(_,t)}}else{var C=p("state");f[C]=!0,i=function(t,e){if(h(t,C))throw new m(g);return e.facade=t,c(t,C,e),e},r=function(t){return h(t,C)?t[C]:{}},o=function(t){return h(t,C)}}t.exports={set:i,get:r,has:o,enforce:y,getterFor:b}},"6a67":function(t,e,n){"use strict";var i=n("2b0e"),r=n("9c40"),o=n("e7a9"),a=n("87e8"),s=n("f89c"),l=n("3d69"),u=n("dde5");e["a"]=i["a"].extend({name:"QBtnToggle",mixins:[a["a"],l["a"],s["b"]],props:{value:{required:!0},options:{type:Array,required:!0,validator:t=>t.every((t=>("label"in t||"icon"in t||"slot"in t)&&"value"in t))},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean},computed:{hasActiveValue(){return void 0!==this.options.find((t=>t.value===this.value))},formAttrs(){return{type:"hidden",name:this.name,value:this.value}},btnOptions(){const t=(t,e)=>void 0===t[e]?this[e]:t[e];return this.options.map(((e,n)=>({slot:e.slot,options:{key:n,class:e.class,style:e.style,on:{...this.qListeners,click:t=>this.__set(e.value,e,t)},attrs:{"aria-pressed":e.value===this.value?"true":"false",...e.attrs},props:{...e,slot:void 0,class:void 0,style:void 0,value:void 0,attrs:void 0,outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,unelevated:this.unelevated,dense:this.dense,disable:!0===this.disable||!0===e.disable,color:e.value===this.value?t(e,"toggleColor"):t(e,"color"),textColor:e.value===this.value?t(e,"toggleTextColor"):t(e,"textColor"),noCaps:!0===t(e,"noCaps"),noWrap:!0===t(e,"noWrap"),size:t(e,"size"),padding:t(e,"padding"),ripple:t(e,"ripple"),stack:!0===t(e,"stack"),stretch:!0===t(e,"stretch")}}})))}},methods:{__set(t,e,n){!0!==this.readonly&&(this.value===t?!0===this.clearable&&(this.$emit("input",null,null),this.$emit("clear")):this.$emit("input",t,e),this.$emit("click",n))}},render(t){const e=this.btnOptions.map((e=>t(r["a"],{...e.options},void 0!==e.slot?Object(u["c"])(this,e.slot):void 0)));return void 0!==this.name&&!0!==this.disable&&!0===this.hasActiveValue&&this.__injectFormInput(e,"push"),t(o["a"],{staticClass:"q-btn-toggle",props:{outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,stretch:this.stretch,unelevated:this.unelevated,glossy:this.glossy,spread:this.spread}},Object(u["a"])(e,this,"default"))}})},"6ac0":function(t,e,n){"use strict";var i=n("2b0e"),r=n("6900"),o=n("87e8");e["a"]=i["a"].extend({name:"QVideo",mixins:[r["a"],o["a"]],props:{src:{type:String,required:!0},title:String,fetchpriority:{type:String,default:"auto"},loading:{type:String,default:"eager"},referrerpolicy:{type:String,default:"strict-origin-when-cross-origin"}},computed:{iframeData(){return{attrs:{src:this.src,frameborder:"0",title:this.title,allowfullscreen:!0,fetchpriority:this.fetchpriority,loading:this.loading,referrerpolicy:this.referrerpolicy}}},classes(){return"q-video"+(void 0!==this.ratio?" q-video--responsive":"")}},render(t){return t("div",{class:this.classes,style:this.ratioStyle,on:{...this.qListeners}},[t("iframe",this.iframeData)])}})},"6ac5":function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("dde5");e["a"]=i["a"].extend({name:"QToolbarTitle",mixins:[r["a"]],props:{shrink:Boolean},computed:{classes(){return"q-toolbar__title ellipsis"+(!0===this.shrink?" col-shrink":"")}},render(t){return t("div",{class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"6d8b":function(t,e,n){"use strict";n.d(e,"p",(function(){return m})),n.d(e,"G",(function(){return v})),n.d(e,"d",(function(){return y})),n.d(e,"I",(function(){return b})),n.d(e,"J",(function(){return _})),n.d(e,"m",(function(){return x})),n.d(e,"i",(function(){return w})),n.d(e,"r",(function(){return S})),n.d(e,"s",(function(){return C})),n.d(e,"K",(function(){return k})),n.d(e,"u",(function(){return M})),n.d(e,"k",(function(){return O})),n.d(e,"H",(function(){return T})),n.d(e,"N",(function(){return A})),n.d(e,"n",(function(){return I})),n.d(e,"o",(function(){return P})),n.d(e,"F",(function(){return E})),n.d(e,"c",(function(){return L})),n.d(e,"h",(function(){return j})),n.d(e,"t",(function(){return R})),n.d(e,"w",(function(){return B})),n.d(e,"C",(function(){return N})),n.d(e,"D",(function(){return F})),n.d(e,"z",(function(){return z})),n.d(e,"A",(function(){return V})),n.d(e,"E",(function(){return $})),n.d(e,"v",(function(){return H})),n.d(e,"x",(function(){return G})),n.d(e,"y",(function(){return W})),n.d(e,"B",(function(){return U})),n.d(e,"l",(function(){return Y})),n.d(e,"O",(function(){return X})),n.d(e,"P",(function(){return K})),n.d(e,"Q",(function(){return Z})),n.d(e,"S",(function(){return Q})),n.d(e,"M",(function(){return J})),n.d(e,"b",(function(){return tt})),n.d(e,"T",(function(){return et})),n.d(e,"R",(function(){return it})),n.d(e,"f",(function(){return at})),n.d(e,"e",(function(){return st})),n.d(e,"g",(function(){return lt})),n.d(e,"j",(function(){return ut})),n.d(e,"q",(function(){return ct})),n.d(e,"L",(function(){return ht})),n.d(e,"a",(function(){return dt}));var i=n("726e"),r=A(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),o=A(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,h=s.map,d=function(){}.constructor,p=d?d.prototype:null,f="__proto__",g=2311;function m(){return g++}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!==typeof console&&console.error.apply(console,t)}function y(t){if(null==t||"object"!==typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!rt(t)){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=y(t[i])}}else if(o[n]){if(!rt(t)){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!r[n]&&!rt(t)&&!H(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==f&&(e[u]=y(t[u]));return e}function b(t,e,n){if(!V(e)||!V(t))return n?y(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==f){var r=t[i],o=e[i];!V(o)||!V(r)||R(o)||R(r)||H(o)||H(r)||q(o)||q(r)||rt(o)||rt(r)?!n&&i in t||(t[i]=y(e[i])):b(r,o,n)}return t}function _(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=b(n,t[i],e);return n}function x(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==f&&(t[n]=e[n]);return t}function w(t,e,n){for(var i=E(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}i["d"].createCanvas;function S(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function C(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function k(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else w(t,e,n)}function M(t){return!!t&&("string"!==typeof t&&"number"===typeof t.length)}function O(t,e,n){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function T(t,e,n){if(!t)return[];if(!e)return Q(t);if(t.map&&t.map===h)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function A(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function I(t,e,n){if(!t)return[];if(!e)return Q(t);if(t.filter&&t.filter===u)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function P(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}function E(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function D(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(c.call(arguments)))}}var L=p&&B(p.bind)?p.call.bind(p.bind):D;function j(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(c.call(arguments)))}}function R(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function B(t){return"function"===typeof t}function N(t){return"string"===typeof t}function F(t){return"[object String]"===a.call(t)}function z(t){return"number"===typeof t}function V(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function q(t){return!!r[a.call(t)]}function $(t){return!!o[a.call(t)]}function H(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function G(t){return null!=t.colorStops}function W(t){return null!=t.image}function U(t){return"[object RegExp]"===a.call(t)}function Y(t){return t!==t}function X(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function K(t,e){return null!=t?t:e}function Z(t,e,n){return null!=t?t:null!=e?e:n}function Q(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return c.apply(t,e)}function J(t){if("number"===typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function tt(t,e){if(!t)throw new Error(e)}function et(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var nt="__ec_primitive__";function it(t){t[nt]=!0}function rt(t){return t[nt]}var ot=function(){function t(e){this.data={};var n=R(e);this.data={};var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&O(e,r)}return t.prototype.get=function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},t.prototype.set=function(t,e){return this.data[t]=e},t.prototype.each=function(t,e){for(var n in this.data)this.data.hasOwnProperty(n)&&t.call(e,this.data[n],n)},t.prototype.keys=function(){return E(this.data)},t.prototype.removeKey=function(t){delete this.data[t]},t}();function at(t){return new ot(t)}function st(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function lt(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&x(n,e),n}function ut(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function ct(t,e){return t.hasOwnProperty(e)}function ht(){}var dt=180/Math.PI},"6e53":function(t,e,n){"use strict";function i(t){for(var e=0,n=0;n<t.length;n++){var i=parseInt(t[n]);(n+t.length)%2===0?e+=i:e+=2*i%10+Math.floor(2*i/10)}return(10-e%10)%10}function r(t){for(var e=0,n=[2,3,4,5,6,7],i=0;i<t.length;i++){var r=parseInt(t[t.length-1-i]);e+=n[i%n.length]*r}return(11-e%11)%11}Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=i,e.mod11=r},"6f24":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("4b23"),r=s(i),o=n("bb5d"),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,n){if(l(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(t))var i=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,a.default)(t),n));else i=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return u(i)}return c(e,t),e}(r.default);e.default=h},"70b0":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("4b23"),o=s(r),a=n("f08e");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,n){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,a.B_START_CHAR+t,n))}return c(e,t),i(e,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),e}(o.default);e.default=h},"714f":function(t,e,n){"use strict";var i=n("f303"),r=n("d882"),o=n("d728"),a=n("0967"),s=function(t,e=250){let n,i=!1;return function(){return!1===i&&(i=!0,setTimeout((()=>{i=!1}),e),n=t.apply(this,arguments)),n}},l=n("81e7");function u(t,e,n,o){!0===n.modifiers.stop&&Object(r["k"])(t);const a=n.modifiers.color;let s=n.modifiers.center;s=!0===s||!0===o;const l=document.createElement("span"),u=document.createElement("span"),c=Object(r["h"])(t),{left:h,top:d,width:p,height:f}=e.getBoundingClientRect(),g=Math.sqrt(p*p+f*f),m=g/2,v=(p-g)/2+"px",y=s?v:c.left-h-m+"px",b=(f-g)/2+"px",_=s?b:c.top-d-m+"px";u.className="q-ripple__inner",Object(i["b"])(u,{height:`${g}px`,width:`${g}px`,transform:`translate3d(${y},${_},0) scale3d(.2,.2,1)`,opacity:0}),l.className="q-ripple"+(a?" text-"+a:""),l.setAttribute("dir","ltr"),l.appendChild(u),e.appendChild(l);const x=()=>{l.remove(),clearTimeout(w)};n.abort.push(x);let w=setTimeout((()=>{u.classList.add("q-ripple__inner--enter"),u.style.transform=`translate3d(${v},${b},0) scale3d(1,1,1)`,u.style.opacity=.2,w=setTimeout((()=>{u.classList.remove("q-ripple__inner--enter"),u.classList.add("q-ripple__inner--leave"),u.style.opacity=0,w=setTimeout((()=>{l.remove(),n.abort.splice(n.abort.indexOf(x),1)}),275)}),250)}),50)}function c(t,{modifiers:e,value:n,arg:i}){const r=Object.assign({},l["a"].config.ripple,e,n);t.modifiers={early:!0===r.early,stop:!0===r.stop,center:!0===r.center,color:r.color||i,keyCodes:[].concat(r.keyCodes||13)}}function h(t){const e=t.__qripple;void 0!==e&&(e.abort.forEach((t=>{t()})),Object(r["b"])(e,"main"),delete t._qripple)}e["a"]={name:"ripple",inserted(t,e){void 0!==t.__qripple&&(h(t),t.__qripple_destroyed=!0);const n={enabled:!1!==e.value,modifiers:{},abort:[],start(e){!0===n.enabled&&!0!==e.qSkipRipple&&(!0!==a["a"].is.ie||e.clientX>=0)&&e.type===(!0===n.modifiers.early?"pointerdown":"click")&&u(e,t,n,!0===e.qKeyEvent)},keystart:s((e=>{!0===n.enabled&&!0!==e.qSkipRipple&&!0===Object(o["a"])(e,n.modifiers.keyCodes)&&e.type==="key"+(!0===n.modifiers.early?"down":"up")&&u(e,t,n,!0)}),300)};c(n,e),t.__qripple=n,Object(r["a"])(n,"main",[[t,"pointerdown","start","passive"],[t,"click","start","passive"],[t,"keydown","keystart","passive"],[t,"keyup","keystart","passive"]])},update(t,e){const n=t.__qripple;void 0!==n&&e.oldValue!==e.value&&(n.enabled=!1!==e.value,!0===n.enabled&&Object(e.value)===e.value&&c(n,e))},unbind(t){void 0===t.__qripple_destroyed?h(t):delete t.__qripple_destroyed}}},7156:function(t,e,n){var i=n("1626"),r=n("861d"),o=n("d2bb");t.exports=function(t,e,n){var a,s;return o&&i(a=e.constructor)&&a!==n&&r(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},"721a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("fd7c"),o=s(r),a=n("ab5b");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u=function(){function t(e,n,i){l(this,t),this.canvas=e,this.encodings=n,this.options=i}return i(t,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var t=0;t<this.encodings.length;t++){var e=(0,o.default)(this.options,this.encodings[t].options);this.drawCanvasBarcode(e,this.encodings[t]),this.drawCanvasText(e,this.encodings[t]),this.moveCanvasDrawing(this.encodings[t])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var t=this.canvas.getContext("2d");t.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,t);var e=(0,a.getTotalWidthOfEncodings)(this.encodings),n=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=e+this.options.marginLeft+this.options.marginRight,this.canvas.height=n,t.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(t.fillStyle=this.options.background,t.fillRect(0,0,this.canvas.width,this.canvas.height)),t.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(t,e){var n,i=this.canvas.getContext("2d"),r=e.data;n="top"==t.textPosition?t.marginTop+t.fontSize+t.textMargin:t.marginTop,i.fillStyle=t.lineColor;for(var o=0;o<r.length;o++){var a=o*t.width+e.barcodePadding;"1"===r[o]?i.fillRect(a,n,t.width,t.height):r[o]&&i.fillRect(a,n,t.width,t.height*r[o])}}},{key:"drawCanvasText",value:function(t,e){var n,i,r=this.canvas.getContext("2d"),o=t.fontOptions+" "+t.fontSize+"px "+t.font;t.displayValue&&(i="top"==t.textPosition?t.marginTop+t.fontSize-t.textMargin:t.height+t.textMargin+t.marginTop+t.fontSize,r.font=o,"left"==t.textAlign||e.barcodePadding>0?(n=0,r.textAlign="left"):"right"==t.textAlign?(n=e.width-1,r.textAlign="right"):(n=e.width/2,r.textAlign="center"),r.fillText(e.text,n,i))}},{key:"moveCanvasDrawing",value:function(t){var e=this.canvas.getContext("2d");e.translate(t.width,0)}},{key:"restoreCanvas",value:function(){var t=this.canvas.getContext("2d");t.restore()}}]),t}();e.default=u},"726e":function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return d}));var i=12,r="sans-serif",o=i+"px "+r,a=20,s=100,l="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function u(t){var e={};if("undefined"===typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-a)/s;e[i]=r}return e}var c=u(l),h={createCanvas:function(){return"undefined"!==typeof document&&document.createElement("canvas")},measureText:function(){var t,e;return function(n,r){if(!t){var a=h.createCanvas();t=a&&a.getContext("2d")}if(t)return e!==r&&(e=t.font=r||o),t.measureText(n);n=n||"",r=r||o;var s=/^([0-9]*?)px$/.exec(r),l=+(s&&s[1])||i,u=0;if(r.indexOf("mono")>=0)u=l*n.length;else for(var d=0;d<n.length;d++){var p=c[n[d]];u+=null==p?l:p*l}return{width:u}}}(),loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}};function d(t){for(var e in h)t[e]&&(h[e]=t[e])}},"72db":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("9c40"),o=n("0016"),a=n("57b0"),s=n("d882"),l=n("dde5");const u={start:"self-end",center:"self-center",end:"self-start"},c=Object.keys(u);e["a"]=i["a"].extend({name:"QFabAction",mixins:[a["a"]],props:{icon:{type:String,default:""},anchor:{type:String,validator:t=>c.includes(t)},to:[String,Object],replace:Boolean},inject:{__qFab:{default(){return{showing:!0,__onChildClick:s["g"]}}}},computed:{classes(){const t=u[this.anchor];return this.formClass+(void 0!==t?` ${t}`:"")},onEvents(){return{...this.qListeners,click:this.click}},isDisabled(){return!0!==this.__qFab.showing||!0===this.disable}},methods:{click(t){this.__qFab.__onChildClick(t),this.$emit("click",t)}},render(t){const e=[];return void 0!==this.$scopedSlots.icon?e.push(this.$scopedSlots.icon()):""!==this.icon&&e.push(t(o["a"],{props:{name:this.icon}})),""===this.label&&void 0===this.$scopedSlots.label||e[this.labelProps.action](t("div",this.labelProps.data,void 0!==this.$scopedSlots.label?this.$scopedSlots.label():[this.label])),t(r["a"],{class:this.classes,props:{...this.$props,noWrap:!0,stack:this.stacked,icon:void 0,label:void 0,noCaps:!0,fabMini:!0,disable:this.isDisabled},on:this.onEvents},Object(l["a"])(e,this,"default"))}})},"735e":function(t,e,n){"use strict";var i=n("ebb5"),r=n("81d5"),o=n("f495"),a=n("f5df"),s=n("c65b"),l=n("e330"),u=n("d039"),c=i.aTypedArray,h=i.exportTypedArrayMethod,d=l("".slice),p=u((function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t}));h("fill",(function(t){var e=arguments.length;c(this);var n="Big"===d(a(this),0,3)?o(t):+t;return s(r,this,n,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}),p)},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7460:function(t,e,n){"use strict";var i=n("2b0e"),r=n("0016"),o=n("3d69"),a=n("87e8"),s=n("d882"),l=n("dde5"),u=n("d728");let c=0;e["a"]=i["a"].extend({name:"QTab",mixins:[o["a"],a["a"]],inject:{tabs:{default(){console.error("QTab/QRouteTab components need to be child of QTabs")}},__activateTab:{},__recalculateScroll:{},__onKbdNavigate:{}},props:{icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>"t_"+c++},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String},computed:{isActive(){return this.tabs.current===this.name},classes(){return{...!0===this.isActive?{"q-tab--active":!0,[this.tabs.activeClass]:this.tabs.activeClass,[`text-${this.tabs.activeColor}`]:this.tabs.activeColor,[`bg-${this.tabs.activeBgColor}`]:this.tabs.activeBgColor}:{"q-tab--inactive":!0},"q-tab--full":this.icon&&this.label&&!this.tabs.inlineLabel,"q-tab--no-caps":!0===this.noCaps||!0===this.tabs.noCaps,"q-focusable q-hoverable cursor-pointer":!this.disable,disabled:this.disable}},innerClass(){return(!0===this.tabs.inlineLabel?"row no-wrap q-tab__content--inline":"column")+(void 0!==this.contentClass?` ${this.contentClass}`:"")},computedTabIndex(){return!0===this.disable||!0===this.tabs.hasFocus?-1:this.tabindex||0},computedRipple(){return!1!==this.ripple&&Object.assign({keyCodes:[13,32],early:!0},!0===this.ripple?{}:this.ripple)},onEvents(){return{input:s["k"],...this.qListeners,click:this.__activate,keydown:this.__onKeydown}},attrs(){const t={tabindex:this.computedTabIndex,role:"tab","aria-selected":!0===this.isActive?"true":"false"};return!0===this.disable&&(t["aria-disabled"]="true"),t}},methods:{__activate(t,e){!0!==e&&void 0!==this.$refs.blurTarget&&this.$refs.blurTarget.focus({preventScroll:!0}),!0!==this.disable&&(void 0!==this.qListeners.click&&this.$emit("click",t),this.__activateTab(this.name))},__onKeydown(t){Object(u["c"])(t)||(-1!==[13,32].indexOf(t.keyCode)?(this.__activate(t,!0),Object(s["i"])(t)):t.keyCode>=35&&t.keyCode<=40&&!0===this.__onKbdNavigate(t.keyCode,this.$el)&&Object(s["l"])(t))},__getContent(t){const e=this.tabs.narrowIndicator,n=[],i=t("div",{staticClass:"q-tab__indicator",class:this.tabs.indicatorClass});void 0!==this.icon&&n.push(t(r["a"],{staticClass:"q-tab__icon",props:{name:this.icon}})),void 0!==this.label&&n.push(t("div",{staticClass:"q-tab__label"},[this.label])),!1!==this.alert&&n.push(void 0!==this.alertIcon?t(r["a"],{staticClass:"q-tab__alert-icon",props:{color:!0!==this.alert?this.alert:void 0,name:this.alertIcon}}):t("div",{staticClass:"q-tab__alert",class:!0!==this.alert?`text-${this.alert}`:null})),!0===e&&n.push(i);const o=[t("div",{staticClass:"q-focus-helper",attrs:{tabindex:-1},ref:"blurTarget"}),t("div",{staticClass:"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable",class:this.innerClass},Object(l["a"])(n,this,"default"))];return!1===e&&o.push(i),o},__renderTab(t,e){const n={staticClass:"q-tab relative-position self-stretch flex flex-center text-center no-outline",class:this.classes,attrs:this.attrs,directives:!1===this.ripple||!0===this.disable?null:[{name:"ripple",value:this.computedRipple}]};return!0===this.hasRouterLink?t(e,{...n,nativeOn:this.onEvents,props:this.routerTabLinkProps,scopedSlots:{default:({href:e,isActive:n,isExactActive:i})=>t("a",{class:{[this.activeClass]:n,[this.exactActiveClass]:i},attrs:{...this.linkProps.attrs,href:e}},this.__getContent(t))}}):(!0===this.hasLink&&(Object.assign(n.attrs,this.linkProps.attrs),n.props=this.linkProps.props),n.on=this.onEvents,t(e,n,this.__getContent(t)))}},mounted(){this.__recalculateScroll()},beforeDestroy(){this.__recalculateScroll()},render(t){return this.__renderTab(t,"div")}})},"74af":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("0016"),o=n("87e8"),a=n("dde5");e["a"]=i["a"].extend({name:"QTimelineEntry",inject:{__timeline:{default(){console.error("QTimelineEntry needs to be child of QTimeline")}}},mixins:[o["a"]],props:{heading:Boolean,tag:{type:String,default:"h3"},side:{type:String,default:"right",validator:t=>["left","right"].includes(t)},icon:String,avatar:String,color:String,title:String,subtitle:String,body:String},computed:{colorClass(){return`text-${this.color||this.__timeline.color}`},classes(){return`q-timeline__entry--${this.side}`+(void 0!==this.icon||void 0!==this.avatar?" q-timeline__entry--icon":"")},reverse(){return"comfortable"===this.__timeline.layout&&"left"===this.__timeline.side}},render(t){const e=Object(a["d"])(this,"default",[]);if(void 0!==this.body&&e.unshift(this.body),!0===this.heading){const n=[t("div"),t("div"),t(this.tag,{staticClass:"q-timeline__heading-title"},e)];return t("div",{staticClass:"q-timeline__heading",on:{...this.qListeners}},!0===this.reverse?n.reverse():n)}let n;void 0!==this.icon?n=[t(r["a"],{staticClass:"row items-center justify-center",props:{name:this.icon}})]:void 0!==this.avatar&&(n=[t("img",{staticClass:"q-timeline__dot-img",domProps:{src:this.avatar}})]);const i=[t("div",{staticClass:"q-timeline__subtitle"},[t("span",Object(a["c"])(this,"subtitle",[this.subtitle]))]),t("div",{staticClass:"q-timeline__dot",class:this.colorClass},n),t("div",{staticClass:"q-timeline__content"},[t("h6",{staticClass:"q-timeline__title"},Object(a["c"])(this,"title",[this.title]))].concat(e))];return t("li",{staticClass:"q-timeline__entry",class:this.classes,on:{...this.qListeners}},!0===this.reverse?i.reverse():i)}})},"74e8":function(t,e,n){"use strict";var i=n("23e7"),r=n("da84"),o=n("c65b"),a=n("83ab"),s=n("8aa7"),l=n("ebb5"),u=n("621a"),c=n("19aa"),h=n("5c6c"),d=n("9112"),p=n("eac5"),f=n("50c4"),g=n("0b25"),m=n("182d"),v=n("a04b"),y=n("1a2d"),b=n("f5df"),_=n("861d"),x=n("d9b5"),w=n("7c73"),S=n("3a9b"),C=n("d2bb"),k=n("241c").f,M=n("a078"),O=n("b727").forEach,T=n("2626"),A=n("9bf2"),I=n("06cf"),P=n("69f3"),E=n("7156"),D=P.get,L=P.set,j=P.enforce,R=A.f,B=I.f,N=Math.round,F=r.RangeError,z=u.ArrayBuffer,V=z.prototype,q=u.DataView,$=l.NATIVE_ARRAY_BUFFER_VIEWS,H=l.TYPED_ARRAY_TAG,G=l.TypedArray,W=l.TypedArrayPrototype,U=l.aTypedArrayConstructor,Y=l.isTypedArray,X="BYTES_PER_ELEMENT",K="Wrong length",Z=function(t,e){U(t);var n=0,i=e.length,r=new t(i);while(i>n)r[n]=e[n++];return r},Q=function(t,e){R(t,e,{get:function(){return D(this)[e]}})},J=function(t){var e;return S(V,t)||"ArrayBuffer"==(e=b(t))||"SharedArrayBuffer"==e},tt=function(t,e){return Y(t)&&!x(e)&&e in t&&p(+e)&&e>=0},et=function(t,e){return e=v(e),tt(t,e)?h(2,t[e]):B(t,e)},nt=function(t,e,n){return e=v(e),!(tt(t,e)&&_(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?R(t,e,n):(t[e]=n.value,t)};a?($||(I.f=et,A.f=nt,Q(W,"buffer"),Q(W,"byteOffset"),Q(W,"byteLength"),Q(W,"length")),i({target:"Object",stat:!0,forced:!$},{getOwnPropertyDescriptor:et,defineProperty:nt}),t.exports=function(t,e,n){var a=t.match(/\d+$/)[0]/8,l=t+(n?"Clamped":"")+"Array",u="get"+t,h="set"+t,p=r[l],v=p,y=v&&v.prototype,b={},x=function(t,e){var n=D(t);return n.view[u](e*a+n.byteOffset,!0)},S=function(t,e,i){var r=D(t);n&&(i=(i=N(i))<0?0:i>255?255:255&i),r.view[h](e*a+r.byteOffset,i,!0)},A=function(t,e){R(t,e,{get:function(){return x(this,e)},set:function(t){return S(this,e,t)},enumerable:!0})};$?s&&(v=e((function(t,e,n,i){return c(t,y),E(function(){return _(e)?J(e)?void 0!==i?new p(e,m(n,a),i):void 0!==n?new p(e,m(n,a)):new p(e):Y(e)?Z(v,e):o(M,v,e):new p(g(e))}(),t,v)})),C&&C(v,G),O(k(p),(function(t){t in v||d(v,t,p[t])})),v.prototype=y):(v=e((function(t,e,n,i){c(t,y);var r,s,l,u=0,h=0;if(_(e)){if(!J(e))return Y(e)?Z(v,e):o(M,v,e);r=e,h=m(n,a);var d=e.byteLength;if(void 0===i){if(d%a)throw F(K);if(s=d-h,s<0)throw F(K)}else if(s=f(i)*a,s+h>d)throw F(K);l=s/a}else l=g(e),s=l*a,r=new z(s);L(t,{buffer:r,byteOffset:h,byteLength:s,length:l,view:new q(r)});while(u<l)A(t,u++)})),C&&C(v,G),y=v.prototype=w(W)),y.constructor!==v&&d(y,"constructor",v),j(y).TypedArrayConstructor=v,H&&d(y,H,l);var I=v!=p;b[l]=v,i({global:!0,constructor:!0,forced:I,sham:!$},b),X in v||d(v,X,a),X in y||d(y,X,a),T(l)}):t.exports=function(){}},"752b":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("721a"),r=u(i),o=n("be5e"),a=u(o),s=n("4ced"),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}e.default={CanvasRenderer:r.default,SVGRenderer:a.default,ObjectRenderer:l.default}},7562:function(t,e,n){"use strict";e["a"]={props:{transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"}},data(){return{transitionState:this.showing}},watch:{showing(t){this.transitionShow!==this.transitionHide&&this.$nextTick((()=>{this.transitionState=t}))}},computed:{transition(){return"q-transition--"+(!0===this.transitionState?this.transitionHide:this.transitionShow)}}}},"75c3":function(t,e,n){"use strict";var i=n("0967"),r=n("3627"),o=n("d882"),a=n("2248");function s(t,e,n){const i=Object(o["h"])(t);let r,a=i.left-e.event.x,s=i.top-e.event.y,l=Math.abs(a),u=Math.abs(s);const c=e.direction;!0===c.horizontal&&!0!==c.vertical?r=a<0?"left":"right":!0!==c.horizontal&&!0===c.vertical?r=s<0?"up":"down":!0===c.up&&s<0?(r="up",l>u&&(!0===c.left&&a<0?r="left":!0===c.right&&a>0&&(r="right"))):!0===c.down&&s>0?(r="down",l>u&&(!0===c.left&&a<0?r="left":!0===c.right&&a>0&&(r="right"))):!0===c.left&&a<0?(r="left",l<u&&(!0===c.up&&s<0?r="up":!0===c.down&&s>0&&(r="down"))):!0===c.right&&a>0&&(r="right",l<u&&(!0===c.up&&s<0?r="up":!0===c.down&&s>0&&(r="down")));let h=!1;if(void 0===r&&!1===n){if(!0===e.event.isFirst||void 0===e.event.lastDir)return{};r=e.event.lastDir,h=!0,"left"===r||"right"===r?(i.left-=a,l=0,a=0):(i.top-=s,u=0,s=0)}return{synthetic:h,payload:{evt:t,touch:!0!==e.event.mouse,mouse:!0===e.event.mouse,position:i,direction:r,isFirst:e.event.isFirst,isFinal:!0===n,duration:Date.now()-e.event.time,distance:{x:l,y:u},offset:{x:a,y:s},delta:{x:i.left-e.event.lastX,y:i.top-e.event.lastY}}}}function l(t){const e=t.__qtouchpan;void 0!==e&&(void 0!==e.event&&e.end(),Object(o["b"])(e,"main"),Object(o["b"])(e,"temp"),!0===i["a"].is.firefox&&Object(o["j"])(t,!1),void 0!==e.styleCleanup&&e.styleCleanup(),delete t.__qtouchpan)}let u=0;e["a"]={name:"touch-pan",bind(t,{value:e,modifiers:n}){if(void 0!==t.__qtouchpan&&(l(t),t.__qtouchpan_destroyed=!0),!0!==n.mouse&&!0!==i["a"].has.touch)return;function c(t,e){!0===n.mouse&&!0===e?Object(o["l"])(t):(!0===n.stop&&Object(o["k"])(t),!0===n.prevent&&Object(o["i"])(t))}const h={uid:"qvtp_"+u++,handler:e,modifiers:n,direction:Object(r["a"])(n),noop:o["g"],mouseStart(t){Object(r["b"])(t,h)&&Object(o["e"])(t)&&(Object(o["a"])(h,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),h.start(t,!0))},touchStart(t){if(Object(r["b"])(t,h)){const e=t.target;Object(o["a"])(h,"temp",[[e,"touchmove","move","notPassiveCapture"],[e,"touchcancel","end","passiveCapture"],[e,"touchend","end","passiveCapture"]]),h.start(t)}},start(e,r){!0===i["a"].is.firefox&&Object(o["j"])(t,!0),h.lastEvt=e;const a=Object(o["h"])(e);if(!0===r||!0===n.stop){if(!0!==h.direction.all&&(!0!==r||!0!==h.direction.mouseAllDir)){const t=e.type.indexOf("mouse")>-1?new MouseEvent(e.type,e):new TouchEvent(e.type,e);!0===e.defaultPrevented&&Object(o["i"])(t),!0===e.cancelBubble&&Object(o["k"])(t),t.qClonedBy=void 0===e.qClonedBy?[h.uid]:e.qClonedBy.concat(h.uid),t.qKeyEvent=e.qKeyEvent,t.qClickOutside=e.qClickOutside,h.initialEvent={target:e.target,event:t}}Object(o["k"])(e)}h.event={x:a.left,y:a.top,time:Date.now(),mouse:!0===r,detected:!1,isFirst:!0,isFinal:!1,lastX:a.left,lastY:a.top}},move(t){if(void 0===h.event)return;h.lastEvt=t;const e=!0===h.event.mouse,i=()=>{c(t,e),!0!==n.preserveCursor&&(document.documentElement.style.cursor="grabbing"),!0===e&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Object(a["a"])(),h.styleCleanup=t=>{if(h.styleCleanup=void 0,!0!==n.preserveCursor&&(document.documentElement.style.cursor=""),document.body.classList.remove("non-selectable"),!0===e){const e=()=>{document.body.classList.remove("no-pointer-events--children")};void 0!==t?setTimeout((()=>{e(),t()}),50):e()}else void 0!==t&&t()}};if(!0===h.event.detected){!0!==h.event.isFirst&&c(t,h.event.mouse);const{payload:e,synthetic:n}=s(t,h,!1);return void(void 0!==e&&(!1===h.handler(e)?h.end(t):(void 0===h.styleCleanup&&!0===h.event.isFirst&&i(),h.event.lastX=e.position.left,h.event.lastY=e.position.top,h.event.lastDir=!0===n?void 0:e.direction,h.event.isFirst=!1)))}if(!0===h.direction.all||!0===e&&!0===h.modifiers.mouseAllDir)return i(),h.event.detected=!0,void h.move(t);const r=Object(o["h"])(t),l=r.left-h.event.x,u=r.top-h.event.y,d=Math.abs(l),p=Math.abs(u);d!==p&&(!0===h.direction.horizontal&&d>p||!0===h.direction.vertical&&d<p||!0===h.direction.up&&d<p&&u<0||!0===h.direction.down&&d<p&&u>0||!0===h.direction.left&&d>p&&l<0||!0===h.direction.right&&d>p&&l>0?(h.event.detected=!0,h.move(t)):h.end(t,!0))},end(e,n){if(void 0!==h.event){if(Object(o["b"])(h,"temp"),!0===i["a"].is.firefox&&Object(o["j"])(t,!1),!0===n)void 0!==h.styleCleanup&&h.styleCleanup(),!0!==h.event.detected&&void 0!==h.initialEvent&&h.initialEvent.target.dispatchEvent(h.initialEvent.event);else if(!0===h.event.detected){!0===h.event.isFirst&&h.handler(s(void 0===e?h.lastEvt:e,h).payload);const{payload:t}=s(void 0===e?h.lastEvt:e,h,!0),n=()=>{h.handler(t)};void 0!==h.styleCleanup?h.styleCleanup(n):n()}h.event=void 0,h.initialEvent=void 0,h.lastEvt=void 0}}};t.__qtouchpan=h,!0===n.mouse&&Object(o["a"])(h,"main",[[t,"mousedown","mouseStart","passive"+(!0===n.mouseCapture?"Capture":"")]]),!0===i["a"].has.touch&&Object(o["a"])(h,"main",[[t,"touchstart","touchStart","passive"+(!0===n.capture?"Capture":"")],[t,"touchmove","noop","notPassiveCapture"]])},update(t,{oldValue:e,value:n}){const i=t.__qtouchpan;void 0!==i&&e!==n&&("function"!==typeof n&&i.end(),i.handler=n)},unbind(t){void 0===t.__qtouchpan_destroyed?l(t):delete t.__qtouchpan_destroyed}}},"77a7":function(t,e){var n=Array,i=Math.abs,r=Math.pow,o=Math.floor,a=Math.log,s=Math.LN2,l=function(t,e,l){var u,c,h,d=n(l),p=8*l-e-1,f=(1<<p)-1,g=f>>1,m=23===e?r(2,-24)-r(2,-77):0,v=t<0||0===t&&1/t<0?1:0,y=0;t=i(t),t!=t||t===1/0?(c=t!=t?1:0,u=f):(u=o(a(t)/s),h=r(2,-u),t*h<1&&(u--,h*=2),t+=u+g>=1?m/h:m*r(2,1-g),t*h>=2&&(u++,h/=2),u+g>=f?(c=0,u=f):u+g>=1?(c=(t*h-1)*r(2,e),u+=g):(c=t*r(2,g-1)*r(2,e),u=0));while(e>=8)d[y++]=255&c,c/=256,e-=8;u=u<<e|c,p+=e;while(p>0)d[y++]=255&u,u/=256,p-=8;return d[--y]|=128*v,d},u=function(t,e){var n,i=t.length,o=8*i-e-1,a=(1<<o)-1,s=a>>1,l=o-7,u=i-1,c=t[u--],h=127&c;c>>=7;while(l>0)h=256*h+t[u--],l-=8;n=h&(1<<-l)-1,h>>=-l,l+=e;while(l>0)n=256*n+t[u--],l-=8;if(0===h)h=1-s;else{if(h===a)return n?NaN:c?-1/0:1/0;n+=r(2,e),h-=s}return(c?-1:1)*n*r(2,h-e)};t.exports={pack:l,unpack:u}},"77d9":function(t,e,n){n("1d02")},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"784f":function(t,e,n){!function(e,n){t.exports=n()}(window,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=4)}([function(t,e,n){var i=n(2);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(5).default)("7341b954",i,!0,{})},function(t,e,n){"use strict";var i=n(0);n.n(i).a},function(t,e,n){(t.exports=n(3)(!1)).push([t.i,".distpicker-address-wrapper {\n color: #9caebf;\n}\n.distpicker-address-wrapper select {\n padding: .5rem .75rem;\n height: 40px;\n font-size: 1rem;\n line-height: 1.25;\n color: #464a4c;\n background-color: #fff;\n background-image: none;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: .25rem;\n -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;\n}\n.distpicker-address-wrapper select option {\n font-weight: normal;\n display: block;\n white-space: pre;\n min-height: 1.2em;\n padding: 0px 2px 1px;\n}\n.distpicker-address-wrapper ul {\n margin: 0;\n padding: 0;\n}\n.distpicker-address-wrapper ul li {\n list-style: none;\n}\n.distpicker-address-wrapper .address-header {\n background-color: #fff;\n}\n.distpicker-address-wrapper .address-header ul {\n display: flex;\n justify-content: space-around;\n align-items: stretch;\n}\n.distpicker-address-wrapper .address-header ul li {\n display: inline-block;\n padding: 10px 10px 7px;\n}\n.distpicker-address-wrapper .address-header ul li.active {\n border-bottom: #52697f solid 3px;\n color: #52697f;\n}\n.distpicker-address-wrapper .address-container {\n background-color: #fff;\n}\n.distpicker-address-wrapper .address-container ul {\n height: 100%;\n overflow: auto;\n}\n.distpicker-address-wrapper .address-container ul li {\n padding: 8px 10px;\n border-top: 1px solid #f6f6f6;\n}\n.distpicker-address-wrapper .address-container ul li.active {\n color: #52697f;\n}\n.disabled-color {\n background: #f8f8f8;\n}\n",""])},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n,i=t[1]||"",r=t[3];if(!r)return i;if(e&&"function"==typeof btoa){var o=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[i].concat(a).concat([o]).join("\n")}return[i].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(r=0;r<t.length;r++){var a=t[r];null!=a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){"use strict";n.r(e);var i={1e5:{11e4:"北京市",12e4:"天津市",13e4:"河北省",14e4:"山西省",15e4:"内蒙古自治区",21e4:"辽宁省",22e4:"吉林省",23e4:"黑龙江省",31e4:"上海市",32e4:"江苏省",33e4:"浙江省",34e4:"安徽省",35e4:"福建省",36e4:"江西省",37e4:"山东省",41e4:"河南省",42e4:"湖北省",43e4:"湖南省",44e4:"广东省",45e4:"广西壮族自治区",46e4:"海南省",5e5:"重庆市",51e4:"四川省",52e4:"贵州省",53e4:"云南省",54e4:"西藏自治区",61e4:"陕西省",62e4:"甘肃省",63e4:"青海省",64e4:"宁夏回族自治区",65e4:"新疆维吾尔自治区",71e4:"台湾省",81e4:"香港特别行政区",82e4:"澳门特别行政区",9e5:"海外"},11e4:{110100:"北京市"},110100:{110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区"},12e4:{120100:"天津市"},120100:{120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120117:"宁河区",120118:"静海区",120119:"蓟州区"},13e4:{130100:"石家庄市",130200:"唐山市",130300:"秦皇岛市",130400:"邯郸市",130500:"邢台市",130600:"保定市",130700:"张家口市",130800:"承德市",130900:"沧州市",131e3:"廊坊市",131100:"衡水市"},130100:{130102:"长安区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130109:"藁城区",130110:"鹿泉区",130111:"栾城区",130121:"井陉县",130123:"正定县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130171:"石家庄高新技术产业开发区",130172:"石家庄循环化工园区",130181:"辛集市",130183:"晋州市",130184:"新乐市"},130200:{130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130209:"曹妃甸区",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130271:"河北唐山芦台经济开发区",130272:"唐山市汉沽管理区",130273:"唐山高新技术产业开发区",130274:"河北唐山海港经济开发区",130281:"遵化市",130283:"迁安市",130284:"滦州市"},130300:{130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚宁区",130321:"青龙满族自治县",130322:"昌黎县",130324:"卢龙县",130371:"秦皇岛市经济技术开发区",130372:"北戴河新区"},130400:{130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130471:"邯郸经济技术开发区",130473:"邯郸冀南新区",130481:"武安市"},130500:{130502:"襄都区",130503:"信都区",130505:"任泽区",130506:"南和区",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130571:"河北邢台经济开发区",130581:"南宫市",130582:"沙河市"},130600:{130602:"竞秀区",130606:"莲池区",130607:"满城区",130608:"清苑区",130609:"徐水区",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130671:"保定高新技术产业开发区",130672:"保定白沟新城",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市"},130700:{130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130708:"万全区",130709:"崇礼区",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130771:"张家口经济开发区",130772:"张家口市察北管理区",130773:"张家口市塞北管理区"},130800:{130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130871:"承德高新技术产业开发区",130881:"平泉市"},130900:{130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130971:"河北沧州经济开发区",130972:"沧州高新技术产业开发区",130973:"沧州渤海新区",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市"},131e3:{131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131071:"廊坊经济技术开发区",131081:"霸州市",131082:"三河市"},131100:{131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131171:"河北衡水高新技术产业开发区",131172:"衡水滨湖新区",131182:"深州市"},14e4:{140100:"太原市",140200:"大同市",140300:"阳泉市",140400:"长治市",140500:"晋城市",140600:"朔州市",140700:"晋中市",140800:"运城市",140900:"忻州市",141e3:"临汾市",141100:"吕梁市"},140100:{140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140171:"山西转型综合改革示范区",140181:"古交市"},140200:{140212:"新荣区",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140271:"山西大同经济开发区"},140300:{140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县"},140400:{140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140471:"山西长治高新技术产业园区"},140500:{140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市"},140600:{140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140671:"山西朔州经济开发区",140681:"怀仁市"},140700:{140702:"榆次区",140703:"太谷区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市"},140800:{140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市"},140900:{140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140971:"五台山风景名胜区",140981:"原平市"},141e3:{141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市"},141100:{141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市"},15e4:{150100:"呼和浩特市",150200:"包头市",150300:"乌海市",150400:"赤峰市",150500:"通辽市",150600:"鄂尔多斯市",150700:"呼伦贝尔市",150800:"巴彦淖尔市",150900:"乌兰察布市",152200:"兴安盟",152500:"锡林郭勒盟",152900:"阿拉善盟"},150100:{150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150172:"呼和浩特经济技术开发区"},150200:{150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150271:"包头稀土高新技术产业开发区"},150300:{150302:"海勃湾区",150303:"海南区",150304:"乌达区"},150400:{150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗"},150500:{150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150571:"通辽经济技术开发区",150581:"霍林郭勒市"},150600:{150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗"},150700:{150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市"},150800:{150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗"},150900:{150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市"},152200:{152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县"},152500:{152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152571:"乌拉盖管委会"},152900:{152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152971:"内蒙古阿拉善高新技术产业开发区"},21e4:{210100:"沈阳市",210200:"大连市",210300:"鞍山市",210400:"抚顺市",210500:"本溪市",210600:"丹东市",210700:"锦州市",210800:"营口市",210900:"阜新市",211e3:"辽阳市",211100:"盘锦市",211200:"铁岭市",211300:"朝阳市",211400:"葫芦岛市"},210100:{210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"浑南区",210113:"沈北新区",210114:"于洪区",210115:"辽中区",210123:"康平县",210124:"法库县",210181:"新民市"},210200:{210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店市",210283:"庄河市"},210300:{210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市"},210400:{210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县"},210500:{210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县"},210600:{210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市"},210700:{210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市"},210800:{210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市"},210900:{210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县"},211e3:{211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市"},211100:{211102:"双台子区",211103:"兴隆台区",211104:"大洼区",211122:"盘山县"},211200:{211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市"},211300:{211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市"},211400:{211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市"},22e4:{220100:"长春市",220200:"吉林市",220300:"四平市",220400:"辽源市",220500:"通化市",220600:"白山市",220700:"松原市",220800:"白城市",222400:"延边朝鲜族自治州"},220100:{220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220113:"九台区",220122:"农安县",220171:"长春经济技术开发区",220172:"长春净月高新技术产业开发区",220173:"长春高新技术产业开发区",220174:"长春汽车经济技术开发区",220182:"榆树市",220183:"德惠市",220184:"公主岭市"},220200:{220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220271:"吉林经济开发区",220272:"吉林高新技术产业开发区",220273:"吉林中国新加坡食品区",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市"},220300:{220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220382:"双辽市"},220400:{220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县"},220500:{220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市"},220600:{220602:"浑江区",220605:"江源区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220681:"临江市"},220700:{220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220771:"吉林松原经济开发区",220781:"扶余市"},220800:{220802:"洮北区",220821:"镇赉县",220822:"通榆县",220871:"吉林白城经济开发区",220881:"洮南市",220882:"大安市"},222400:{222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县"},23e4:{230100:"哈尔滨市",230200:"齐齐哈尔市",230300:"鸡西市",230400:"鹤岗市",230500:"双鸭山市",230600:"大庆市",230700:"伊春市",230800:"佳木斯市",230900:"七台河市",231e3:"牡丹江市",231100:"黑河市",231200:"绥化市",232700:"大兴安岭地区"},230100:{230102:"道里区",230103:"南岗区",230104:"道外区",230108:"平房区",230109:"松北区",230110:"香坊区",230111:"呼兰区",230112:"阿城区",230113:"双城区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志市",230184:"五常市"},230200:{230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市"},230300:{230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市"},230400:{230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县"},230500:{230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县"},230600:{230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230671:"大庆高新技术产业开发区"},230700:{230717:"伊美区",230718:"乌翠区",230719:"友好区",230722:"嘉荫县",230723:"汤旺县",230724:"丰林县",230725:"大箐山县",230726:"南岔县",230751:"金林区",230781:"铁力市"},230800:{230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230881:"同江市",230882:"富锦市",230883:"抚远市"},230900:{230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县"},231e3:{231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"林口县",231071:"牡丹江经济技术开发区",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"东宁市"},231100:{231102:"爱辉区",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"嫩江市"},231200:{231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市"},232700:{232701:"漠河市",232721:"呼玛县",232722:"塔河县",232761:"加格达奇区",232762:"松岭区",232763:"新林区",232764:"呼中区"},31e4:{310100:"上海市"},310100:{310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310151:"崇明区"},32e4:{320100:"南京市",320200:"无锡市",320300:"徐州市",320400:"常州市",320500:"苏州市",320600:"南通市",320700:"连云港市",320800:"淮安市",320900:"盐城市",321e3:"扬州市",321100:"镇江市",321200:"泰州市",321300:"宿迁市"},320100:{320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320117:"溧水区",320118:"高淳区"},320200:{320205:"锡山区",320206:"惠山区",320211:"滨湖区",320213:"梁溪区",320214:"新吴区",320281:"江阴市",320282:"宜兴市"},320300:{320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"睢宁县",320371:"徐州经济技术开发区",320381:"新沂市",320382:"邳州市"},320400:{320402:"天宁区",320404:"钟楼区",320411:"新北区",320412:"武进区",320413:"金坛区",320481:"溧阳市"},320500:{320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320509:"吴江区",320571:"苏州工业园区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320585:"太仓市"},320600:{320612:"通州区",320613:"崇川区",320614:"海门区",320623:"如东县",320671:"南通经济技术开发区",320681:"启东市",320682:"如皋市",320685:"海安市"},320700:{320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"灌云县",320724:"灌南县",320771:"连云港经济技术开发区",320772:"连云港高新技术产业开发区"},320800:{320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县",320871:"淮安经济技术开发区"},320900:{320902:"亭湖区",320903:"盐都区",320904:"大丰区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320971:"盐城经济技术开发区",320981:"东台市"},321e3:{321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"宝应县",321071:"扬州经济技术开发区",321081:"仪征市",321084:"高邮市"},321100:{321102:"京口区",321111:"润州区",321112:"丹徒区",321171:"镇江新区",321181:"丹阳市",321182:"扬中市",321183:"句容市"},321200:{321202:"海陵区",321203:"高港区",321204:"姜堰区",321271:"泰州医药高新技术产业开发区",321281:"兴化市",321282:"靖江市",321283:"泰兴市"},321300:{321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321371:"宿迁经济技术开发区"},33e4:{330100:"杭州市",330200:"宁波市",330300:"温州市",330400:"嘉兴市",330500:"湖州市",330600:"绍兴市",330700:"金华市",330800:"衢州市",330900:"舟山市",331e3:"台州市",331100:"丽水市"},330100:{330102:"上城区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330111:"富阳区",330112:"临安区",330113:"临平区",330114:"钱塘区",330122:"桐庐县",330127:"淳安县",330182:"建德市"},330200:{330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市"},330300:{330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330371:"温州经济技术开发区",330381:"瑞安市",330382:"乐清市",330383:"龙港市"},330400:{330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市"},330500:{330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县"},330600:{330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨市",330683:"嵊州市"},330700:{330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市"},330800:{330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市"},330900:{330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县"},331e3:{331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"玉环市"},331100:{331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市"},34e4:{340100:"合肥市",340200:"芜湖市",340300:"蚌埠市",340400:"淮南市",340500:"马鞍山市",340600:"淮北市",340700:"铜陵市",340800:"安庆市",341e3:"黄山市",341100:"滁州市",341200:"阜阳市",341300:"宿州市",341500:"六安市",341600:"亳州市",341700:"池州市",341800:"宣城市"},340100:{340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"庐江县",340171:"合肥高新技术产业开发区",340172:"合肥经济技术开发区",340173:"合肥新站高新技术产业开发区",340181:"巢湖市"},340200:{340202:"镜湖区",340207:"鸠江区",340209:"弋江区",340210:"湾沚区",340212:"繁昌区",340223:"南陵县",340271:"芜湖经济技术开发区",340272:"安徽芜湖三山经济开发区",340281:"无为市"},340300:{340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340371:"蚌埠市高新技术开发区",340372:"蚌埠市经济开发区"},340400:{340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"寿县"},340500:{340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"含山县",340523:"和县"},340600:{340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县"},340700:{340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县"},340800:{340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340871:"安徽安庆经济开发区",340881:"桐城市",340882:"潜山市"},341e3:{341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县"},341100:{341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341171:"中新苏滁高新技术产业开发区",341172:"滁州经济技术开发区",341181:"天长市",341182:"明光市"},341200:{341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341271:"阜阳合肥现代产业园区",341272:"阜阳经济技术开发区",341282:"界首市"},341300:{341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341371:"宿州马鞍山现代产业园区",341372:"宿州经济技术开发区"},341500:{341502:"金安区",341503:"裕安区",341504:"叶集区",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县"},341600:{341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县"},341700:{341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县"},341800:{341802:"宣州区",341821:"郎溪县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341871:"宣城市经济开发区",341881:"宁国市",341882:"广德市"},35e4:{350100:"福州市",350200:"厦门市",350300:"莆田市",350400:"三明市",350500:"泉州市",350600:"漳州市",350700:"南平市",350800:"龙岩市",350900:"宁德市"},350100:{350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"长乐区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市"},350200:{350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区"},350300:{350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县"},350400:{350404:"三元区",350405:"沙县区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市"},350500:{350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市"},350600:{350602:"芗城区",350603:"龙文区",350604:"龙海区",350605:"长泰区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县"},350700:{350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市"},350800:{350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市"},350900:{350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市"},36e4:{360100:"南昌市",360200:"景德镇市",360300:"萍乡市",360400:"九江市",360500:"新余市",360600:"鹰潭市",360700:"赣州市",360800:"吉安市",360900:"宜春市",361e3:"抚州市",361100:"上饶市"},360100:{360102:"东湖区",360103:"西湖区",360104:"青云谱区",360111:"青山湖区",360112:"新建区",360113:"红谷滩区",360121:"南昌县",360123:"安义县",360124:"进贤县"},360200:{360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市"},360300:{360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县"},360400:{360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"共青城市",360483:"庐山市"},360500:{360502:"渝水区",360521:"分宜县"},360600:{360602:"月湖区",360603:"余江区",360681:"贵溪市"},360700:{360702:"章贡区",360703:"南康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市",360783:"龙南市"},360800:{360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市"},360900:{360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市"},361e3:{361002:"临川区",361003:"东乡区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县"},361100:{361102:"信州区",361103:"广丰区",361104:"广信区",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市"},37e4:{370100:"济南市",370200:"青岛市",370300:"淄博市",370400:"枣庄市",370500:"东营市",370600:"烟台市",370700:"潍坊市",370800:"济宁市",370900:"泰安市",371e3:"威海市",371100:"日照市",371300:"临沂市",371400:"德州市",371500:"聊城市",371600:"滨州市",371700:"菏泽市"},370100:{370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"章丘区",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县",370171:"济南高新技术产业开发区"},370200:{370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370215:"即墨区",370271:"青岛高新技术产业开发区",370281:"胶州市",370283:"平度市",370285:"莱西市"},370300:{370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县"},370400:{370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市"},370500:{370502:"东营区",370503:"河口区",370505:"垦利区",370522:"利津县",370523:"广饶县",370571:"东营经济技术开发区",370572:"东营港经济开发区"},370600:{370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370614:"蓬莱区",370671:"烟台高新技术产业开发区",370672:"烟台经济技术开发区",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370685:"招远市",370686:"栖霞市",370687:"海阳市"},370700:{370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370772:"潍坊滨海经济技术开发区",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市"},370800:{370811:"任城区",370812:"兖州区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370871:"济宁高新技术产业开发区",370881:"曲阜市",370883:"邹城市"},370900:{370902:"泰山区",370911:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市"},371e3:{371002:"环翠区",371003:"文登区",371071:"威海火炬高技术产业开发区",371072:"威海经济技术开发区",371073:"威海临港经济技术开发区",371082:"荣成市",371083:"乳山市"},371100:{371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371171:"日照经济技术开发区"},371300:{371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371371:"临沂高新技术产业开发区"},371400:{371402:"德城区",371403:"陵城区",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371471:"德州经济技术开发区",371472:"德州运河经济开发区",371481:"乐陵市",371482:"禹城市"},371500:{371502:"东昌府区",371503:"茌平区",371521:"阳谷县",371522:"莘县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市"},371600:{371602:"滨城区",371603:"沾化区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371625:"博兴县",371681:"邹平市"},371700:{371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县",371771:"菏泽经济技术开发区",371772:"菏泽高新技术开发区"},41e4:{410100:"郑州市",410200:"开封市",410300:"洛阳市",410400:"平顶山市",410500:"安阳市",410600:"鹤壁市",410700:"新乡市",410800:"焦作市",410900:"濮阳市",411e3:"许昌市",411100:"漯河市",411200:"三门峡市",411300:"南阳市",411400:"商丘市",411500:"信阳市",411600:"周口市",411700:"驻马店市"},410100:{410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410171:"郑州经济技术开发区",410172:"郑州高新技术产业开发区",410173:"郑州航空港经济综合实验区",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市"},410200:{410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410212:"祥符区",410221:"杞县",410222:"通许县",410223:"尉氏县",410225:"兰考县"},410300:{410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410307:"偃师区",410308:"孟津区",410311:"洛龙区",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410371:"洛阳高新技术产业开发区"},410400:{410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410471:"平顶山高新技术产业开发区",410472:"平顶山市城乡一体化示范区",410481:"舞钢市",410482:"汝州市"},410500:{410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410571:"安阳高新技术产业开发区",410581:"林州市"},410600:{410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410671:"鹤壁经济技术开发区"},410700:{410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410771:"新乡高新技术产业开发区",410772:"新乡经济技术开发区",410773:"新乡市平原城乡一体化示范区",410781:"卫辉市",410782:"辉县市",410783:"长垣市"},410800:{410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410871:"焦作城乡一体化示范区",410882:"沁阳市",410883:"孟州市"},410900:{410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410971:"河南濮阳工业园区",410972:"濮阳经济技术开发区"},411e3:{411002:"魏都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411071:"许昌经济技术开发区",411081:"禹州市",411082:"长葛市"},411100:{411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411171:"漯河经济技术开发区"},411200:{411202:"湖滨区",411203:"陕州区",411221:"渑池县",411224:"卢氏县",411271:"河南三门峡经济开发区",411281:"义马市",411282:"灵宝市"},411300:{411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411371:"南阳高新技术产业开发区",411372:"南阳市城乡一体化示范区",411381:"邓州市"},411400:{411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411471:"豫东综合物流产业聚集区",411472:"河南商丘经济开发区",411481:"永城市"},411500:{411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411571:"信阳高新技术产业开发区"},411600:{411602:"川汇区",411603:"淮阳区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411627:"太康县",411628:"鹿邑县",411671:"河南周口经济开发区",411681:"项城市"},411700:{411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411771:"河南驻马店经济开发区"},42e4:{420100:"武汉市",420200:"黄石市",420300:"十堰市",420500:"宜昌市",420600:"襄阳市",420700:"鄂州市",420800:"荆门市",420900:"孝感市",421e3:"荆州市",421100:"黄冈市",421200:"咸宁市",421300:"随州市",422800:"恩施土家族苗族自治州"},420100:{420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区"},420200:{420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市"},420300:{420302:"茅箭区",420303:"张湾区",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市"},420500:{420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市"},420600:{420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市"},420700:{420702:"梁子湖区",420703:"华容区",420704:"鄂城区"},420800:{420802:"东宝区",420804:"掇刀区",420822:"沙洋县",420881:"钟祥市",420882:"京山市"},420900:{420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市"},421e3:{421002:"沙市区",421003:"荆州区",421022:"公安县",421024:"江陵县",421071:"荆州经济技术开发区",421081:"石首市",421083:"洪湖市",421087:"松滋市",421088:"监利市"},421100:{421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421171:"龙感湖管理区",421181:"麻城市",421182:"武穴市"},421200:{421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市"},421300:{421303:"曾都区",421321:"随县",421381:"广水市"},422800:{422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县"},43e4:{430100:"长沙市",430200:"株洲市",430300:"湘潭市",430400:"衡阳市",430500:"邵阳市",430600:"岳阳市",430700:"常德市",430800:"张家界市",430900:"益阳市",431e3:"郴州市",431100:"永州市",431200:"怀化市",431300:"娄底市",433100:"湘西土家族苗族自治州"},430100:{430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"浏阳市",430182:"宁乡市"},430200:{430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌口区",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430271:"云龙示范区",430281:"醴陵市"},430300:{430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430371:"湖南湘潭高新技术产业园区",430372:"湘潭昭山示范区",430373:"湘潭九华示范区",430381:"湘乡市",430382:"韶山市"},430400:{430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430471:"衡阳综合保税区",430472:"湖南衡阳高新技术产业园区",430473:"湖南衡阳松木经济开发区",430481:"耒阳市",430482:"常宁市"},430500:{430502:"双清区",430503:"大祥区",430511:"北塔区",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"邵东市"},430600:{430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430671:"岳阳市屈原管理区",430681:"汨罗市",430682:"临湘市"},430700:{430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430771:"常德市西洞庭管理区",430781:"津市市"},430800:{430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县"},430900:{430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430971:"益阳市大通湖管理区",430972:"湖南益阳高新技术产业园区",430981:"沅江市"},431e3:{431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市"},431100:{431102:"零陵区",431103:"冷水滩区",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431171:"永州经济技术开发区",431173:"永州市回龙圩管理区",431181:"祁阳市"},431200:{431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431271:"怀化市洪江管理区",431281:"洪江市"},431300:{431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市"},433100:{433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县"},44e4:{440100:"广州市",440200:"韶关市",440300:"深圳市",440400:"珠海市",440500:"汕头市",440600:"佛山市",440700:"江门市",440800:"湛江市",440900:"茂名市",441200:"肇庆市",441300:"惠州市",441400:"梅州市",441500:"汕尾市",441600:"河源市",441700:"阳江市",441800:"清远市",441900:"东莞市",442e3:"中山市",445100:"潮州市",445200:"揭阳市",445300:"云浮市"},440100:{440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440117:"从化区",440118:"增城区"},440200:{440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市"},440300:{440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"龙华区",440310:"坪山区",440311:"光明区"},440400:{440402:"香洲区",440403:"斗门区",440404:"金湾区"},440500:{440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县"},440600:{440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区"},440700:{440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市"},440800:{440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市"},440900:{440902:"茂南区",440904:"电白区",440981:"高州市",440982:"化州市",440983:"信宜市"},441200:{441202:"端州区",441203:"鼎湖区",441204:"高要区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441284:"四会市"},441300:{441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县"},441400:{441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市"},441500:{441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市"},441600:{441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县"},441700:{441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春市"},441800:{441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441881:"英德市",441882:"连州市"},441900:{44190011:"常平镇",441900003:"东城街道",441900004:"南城街道",441900005:"万江街道",441900006:"莞城街道",441900101:"石碣镇",441900102:"石龙镇",441900103:"茶山镇",441900104:"石排镇",441900105:"企石镇",441900106:"横沥镇",441900107:"桥头镇",441900108:"谢岗镇",441900109:"东坑镇",441900111:"寮步镇",441900112:"樟木头镇",441900113:"大朗镇",441900114:"黄江镇",441900115:"清溪镇",441900116:"塘厦镇",441900117:"凤岗镇",441900118:"大岭山镇",441900119:"长安镇",441900121:"虎门镇",441900122:"厚街镇",441900123:"沙田镇",441900124:"道滘镇",441900125:"洪梅镇",441900126:"麻涌镇",441900127:"望牛墩镇",441900128:"中堂镇",441900129:"高埗镇",441900401:"松山湖",441900402:"东莞港",441900403:"东莞生态园",441900404:"东莞滨海湾新区"},442e3:{44200011:"横栏镇",442000001:"石岐街道",442000002:"东区街道",442000003:"中山港街道",442000004:"西区街道",442000005:"南区街道",442000006:"五桂山街道",442000007:"民众街道",442000008:"南朗街道",442000101:"黄圃镇",442000103:"东凤镇",442000105:"古镇镇",442000106:"沙溪镇",442000107:"坦洲镇",442000108:"港口镇",442000109:"三角镇",442000111:"南头镇",442000112:"阜沙镇",442000114:"三乡镇",442000115:"板芙镇",442000116:"大涌镇",442000117:"神湾镇",442000118:"小榄镇"},445100:{445102:"湘桥区",445103:"潮安区",445122:"饶平县"},445200:{445202:"榕城区",445203:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市"},445300:{445302:"云城区",445303:"云安区",445321:"新兴县",445322:"郁南县",445381:"罗定市"},45e4:{450100:"南宁市",450200:"柳州市",450300:"桂林市",450400:"梧州市",450500:"北海市",450600:"防城港市",450700:"钦州市",450800:"贵港市",450900:"玉林市",451e3:"百色市",451100:"贺州市",451200:"河池市",451300:"来宾市",451400:"崇左市"},450100:{450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450110:"武鸣区",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450181:"横州市"},450200:{450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县"},450300:{450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450312:"临桂区",450321:"阳朔县",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450332:"恭城瑶族自治县",450381:"荔浦市"},450400:{450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市"},450500:{450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县"},450600:{450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市"},450700:{450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县"},450800:{450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市"},450900:{450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市"},451e3:{451002:"右江区",451003:"田阳区",451022:"田东县",451024:"德保县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451081:"靖西市",451082:"平果市"},451100:{451102:"八步区",451103:"平桂区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县"},451200:{451202:"金城江区",451203:"宜州区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县"},451300:{451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市"},451400:{451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市"},46e4:{460100:"海口市",460200:"三亚市",460300:"三沙市",460400:"儋州市"},460100:{460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区"},460200:{460202:"海棠区",460203:"吉阳区",460204:"天涯区",460205:"崖州区"},460300:{460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域"},460400:{4604001:"那大镇",4604005:"华南热作学院",460400101:"和庆镇",460400102:"南丰镇",460400103:"大成镇",460400104:"雅星镇",460400105:"兰洋镇",460400106:"光村镇",460400107:"木棠镇",460400108:"海头镇",460400109:"峨蔓镇",460400111:"王五镇",460400112:"白马井镇",460400113:"中和镇",460400114:"排浦镇",460400115:"东成镇",460400116:"新州镇",460400499:"洋浦经济开发区"},5e5:{500100:"重庆市"},500100:{500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"合川区",500118:"永川区",500119:"南川区",500120:"璧山区",500151:"铜梁区",500152:"潼南区",500153:"荣昌区",500154:"开州区",500155:"梁平区",500156:"武隆区"},51e4:{510100:"成都市",510300:"自贡市",510400:"攀枝花市",510500:"泸州市",510600:"德阳市",510700:"绵阳市",510800:"广元市",510900:"遂宁市",511e3:"内江市",511100:"乐山市",511300:"南充市",511400:"眉山市",511500:"宜宾市",511600:"广安市",511700:"达州市",511800:"雅安市",511900:"巴中市",512e3:"资阳市",513200:"阿坝藏族羌族自治州",513300:"甘孜藏族自治州",513400:"凉山彝族自治州"},510100:{510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510116:"双流区",510117:"郫都区",510118:"新津区",510121:"金堂县",510129:"大邑县",510131:"蒲江县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"简阳市"},510300:{510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县"},510400:{510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县"},510500:{510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县"},510600:{510603:"旌阳区",510604:"罗江区",510623:"中江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市"},510700:{510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三台县",510723:"盐亭县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市"},510800:{510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县"},510900:{510903:"船山区",510904:"安居区",510921:"蓬溪县",510923:"大英县",510981:"射洪市"},511e3:{511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511071:"内江经济开发区",511083:"隆昌市"},511100:{511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市"},511300:{511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市"},511400:{511402:"东坡区",511403:"彭山区",511421:"仁寿县",511423:"洪雅县",511424:"丹棱县",511425:"青神县"},511500:{511502:"翠屏区",511503:"南溪区",511504:"叙州区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县"},511600:{511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市"},511700:{511702:"通川区",511703:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511771:"达州经济开发区",511781:"万源市"},511800:{511802:"雨城区",511803:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县"},511900:{511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511971:"巴中经济开发区"},512e3:{512002:"雁江区",512021:"安岳县",512022:"乐至县"},513200:{513201:"马尔康市",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县"},513300:{513301:"康定市",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县"},513400:{513401:"西昌市",513402:"会理市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县"},52e4:{520100:"贵阳市",520200:"六盘水市",520300:"遵义市",520400:"安顺市",520500:"毕节市",520600:"铜仁市",522300:"黔西南布依族苗族自治州",522600:"黔东南苗族侗族自治州",522700:"黔南布依族苗族自治州"},520100:{520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"息烽县",520123:"修文县",520181:"清镇市"},520200:{520201:"钟山区",520203:"六枝特区",520204:"水城区",520281:"盘州市"},520300:{520302:"红花岗区",520303:"汇川区",520304:"播州区",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市"},520400:{520402:"西秀区",520403:"平坝区",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县"},520500:{520502:"七星关区",520521:"大方县",520523:"金沙县",520524:"织金县",520525:"纳雍县",520526:"威宁彝族回族苗族自治县",520527:"赫章县",520581:"黔西市"},520600:{520602:"碧江区",520603:"万山区",520621:"江口县",520622:"玉屏侗族自治县",520623:"石阡县",520624:"思南县",520625:"印江土家族苗族自治县",520626:"德江县",520627:"沿河土家族自治县",520628:"松桃苗族自治县"},522300:{522301:"兴义市",522302:"兴仁市",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县"},522600:{522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县"},522700:{522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县"},53e4:{530100:"昆明市",530300:"曲靖市",530400:"玉溪市",530500:"保山市",530600:"昭通市",530700:"丽江市",530800:"普洱市",530900:"临沧市",532300:"楚雄彝族自治州",532500:"红河哈尼族彝族自治州",532600:"文山壮族苗族自治州",532800:"西双版纳傣族自治州",532900:"大理白族自治州",533100:"德宏傣族景颇族自治州",533300:"怒江傈僳族自治州",533400:"迪庆藏族自治州"},530100:{530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530114:"呈贡区",530115:"晋宁区",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市"},530300:{530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530381:"宣威市"},530400:{530402:"红塔区",530403:"江川区",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县",530481:"澄江市"},530500:{530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌宁县",530581:"腾冲市"},530600:{530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530681:"水富市"},530700:{530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县"},530800:{530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县"},530900:{530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县"},532300:{532301:"楚雄市",532302:"禄丰市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县"},532500:{532501:"个旧市",532502:"开远市",532503:"蒙自市",532504:"弥勒市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县"},532600:{532601:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县"},532800:{532801:"景洪市",532822:"勐海县",532823:"勐腊县"},532900:{532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县"},533100:{533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县"},533300:{533301:"泸水市",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县"},533400:{533401:"香格里拉市",533422:"德钦县",533423:"维西傈僳族自治县"},54e4:{540100:"拉萨市",540200:"日喀则市",540300:"昌都市",540400:"林芝市",540500:"山南市",540600:"那曲市",542500:"阿里地区"},540100:{540102:"城关区",540103:"堆龙德庆区",540104:"达孜区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工卡县",540171:"格尔木藏青工业园区",540172:"拉萨经济技术开发区",540173:"西藏文化旅游创意园区",540174:"达孜工业园区"},540200:{540202:"桑珠孜区",540221:"南木林县",540222:"江孜县",540223:"定日县",540224:"萨迦县",540225:"拉孜县",540226:"昂仁县",540227:"谢通门县",540228:"白朗县",540229:"仁布县",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"吉隆县",540235:"聂拉木县",540236:"萨嘎县",540237:"岗巴县"},540300:{540302:"卡若区",540321:"江达县",540322:"贡觉县",540323:"类乌齐县",540324:"丁青县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"边坝县"},540400:{540402:"巴宜区",540421:"工布江达县",540422:"米林县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县"},540500:{540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"琼结县",540525:"曲松县",540526:"措美县",540527:"洛扎县",540528:"加查县",540529:"隆子县",540530:"错那县",540531:"浪卡子县"},540600:{540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"聂荣县",540624:"安多县",540625:"申扎县",540626:"索县",540627:"班戈县",540628:"巴青县",540629:"尼玛县",540630:"双湖县"},542500:{542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县"},61e4:{610100:"西安市",610200:"铜川市",610300:"宝鸡市",610400:"咸阳市",610500:"渭南市",610600:"延安市",610700:"汉中市",610800:"榆林市",610900:"安康市",611e3:"商洛市"},610100:{610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"鄠邑区",610122:"蓝田县",610124:"周至县"},610200:{610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县"},610300:{610302:"渭滨区",610303:"金台区",610304:"陈仓区",610305:"凤翔区",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县"},610400:{610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"彬州市"},610500:{610502:"临渭区",610503:"华州区",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市"},610600:{610602:"宝塔区",610603:"安塞区",610621:"延长县",610622:"延川县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610681:"子长市"},610700:{610702:"汉台区",610703:"南郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县"},610800:{610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610881:"神木市"},610900:{610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610929:"白河县",610981:"旬阳市"},611e3:{611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县"},62e4:{620100:"兰州市",620200:"嘉峪关市",620300:"金昌市",620400:"白银市",620500:"天水市",620600:"武威市",620700:"张掖市",620800:"平凉市",620900:"酒泉市",621e3:"庆阳市",621100:"定西市",621200:"陇南市",622900:"临夏回族自治州",623e3:"甘南藏族自治州"},620100:{620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620171:"兰州新区"},620200:{6202011:"新城镇",620201001:"雄关街道",620201002:"钢城街道",620201101:"峪泉镇",620201102:"文殊镇"},620300:{620302:"金川区",620321:"永昌县"},620400:{620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县"},620500:{620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县"},620600:{620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县"},620700:{620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县"},620800:{620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620825:"庄浪县",620826:"静宁县",620881:"华亭市"},620900:{620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市"},621e3:{621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县"},621100:{621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县"},621200:{621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县"},622900:{622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县"},623e3:{623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县"},63e4:{630100:"西宁市",630200:"海东市",632200:"海北藏族自治州",632300:"黄南藏族自治州",632500:"海南藏族自治州",632600:"果洛藏族自治州",632700:"玉树藏族自治州",632800:"海西蒙古族藏族自治州"},630100:{630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630106:"湟中区",630121:"大通回族土族自治县",630123:"湟源县"},630200:{630202:"乐都区",630203:"平安区",630222:"民和回族土族自治县",630223:"互助土族自治县",630224:"化隆回族自治县",630225:"循化撒拉族自治县"},632200:{632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县"},632300:{632301:"同仁市",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县"},632500:{632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县"},632600:{632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县"},632700:{632701:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县"},632800:{632801:"格尔木市",632802:"德令哈市",632803:"茫崖市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632857:"大柴旦行政委员会"},64e4:{640100:"银川市",640200:"石嘴山市",640300:"吴忠市",640400:"固原市",640500:"中卫市"},640100:{640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市"},640200:{640202:"大武口区",640205:"惠农区",640221:"平罗县"},640300:{640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市"},640400:{640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县"},640500:{640502:"沙坡头区",640521:"中宁县",640522:"海原县"},65e4:{650100:"乌鲁木齐市",650200:"克拉玛依市",650400:"吐鲁番市",650500:"哈密市",652300:"昌吉回族自治州",652700:"博尔塔拉蒙古自治州",652800:"巴音郭楞蒙古自治州",652900:"阿克苏地区",653e3:"克孜勒苏柯尔克孜自治州",653100:"喀什地区",653200:"和田地区",654e3:"伊犁哈萨克自治州",654200:"塔城地区",654300:"阿勒泰地区"},650100:{650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县"},650200:{650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区"},650400:{650402:"高昌区",650421:"鄯善县",650422:"托克逊县"},650500:{650502:"伊州区",650521:"巴里坤哈萨克自治县",650522:"伊吾县"},652300:{652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县"},652700:{652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县"},652800:{652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652871:"库尔勒经济技术开发区"},652900:{652901:"阿克苏市",652902:"库车市",652922:"温宿县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县"},653e3:{653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县"},653100:{653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县"},653200:{653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县"},654e3:{654002:"伊宁市",654003:"奎屯市",654004:"霍尔果斯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县"},654200:{654201:"塔城市",654202:"乌苏市",654203:"沙湾市",654221:"额敏县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县"},654300:{654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县"},71e4:{710100:"台北市",710200:"高雄市",710300:"台南市",710400:"台中市",710500:"金门县",710600:"南投县",710700:"基隆市",710800:"新竹市",710900:"嘉义市",711100:"新北市",711200:"宜兰县",711300:"新竹县",711400:"桃园县",711500:"苗栗县",711700:"彰化县",711900:"嘉义县",712100:"云林县",712400:"屏东县",712500:"台东县",712600:"花莲县",712700:"澎湖县",712800:"连江县"},710100:{710101:"中正区",710102:"大同区",710103:"中山区",710104:"松山区",710105:"大安区",710106:"万华区",710107:"信义区",710108:"士林区",710109:"北投区",710110:"内湖区",710111:"南港区",710112:"文山区",710199:"其它区"},710200:{710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区",710241:"苓雅区",710242:"仁武区",710243:"大社区",710244:"冈山区",710245:"路竹区",710246:"阿莲区",710247:"田寮区",710248:"燕巢区",710249:"桥头区",710250:"梓官区",710251:"弥陀区",710252:"永安区",710253:"湖内区",710254:"凤山区",710255:"大寮区",710256:"林园区",710257:"鸟松区",710258:"大树区",710259:"旗山区",710260:"美浓区",710261:"六龟区",710262:"内门区",710263:"杉林区",710264:"甲仙区",710265:"桃源区",710266:"那玛夏区",710267:"茂林区",710268:"茄萣区",710299:"其它区"},710300:{710301:"中西区",710302:"东区",710303:"南区",710304:"北区",710305:"安平区",710306:"安南区",710339:"永康区",710340:"归仁区",710341:"新化区",710342:"左镇区",710343:"玉井区",710344:"楠西区",710345:"南化区",710346:"仁德区",710347:"关庙区",710348:"龙崎区",710349:"官田区",710350:"麻豆区",710351:"佳里区",710352:"西港区",710353:"七股区",710354:"将军区",710355:"学甲区",710356:"北门区",710357:"新营区",710358:"后壁区",710359:"白河区",710360:"东山区",710361:"六甲区",710362:"下营区",710363:"柳营区",710364:"盐水区",710365:"善化区",710366:"大内区",710367:"山上区",710368:"新市区",710369:"安定区",710399:"其它区"},710400:{710401:"中区",710402:"东区",710403:"南区",710404:"西区",710405:"北区",710406:"北屯区",710407:"西屯区",710408:"南屯区",710431:"太平区",710432:"大里区",710433:"雾峰区",710434:"乌日区",710435:"丰原区",710436:"后里区",710437:"石冈区",710438:"东势区",710439:"和平区",710440:"新社区",710441:"潭子区",710442:"大雅区",710443:"神冈区",710444:"大肚区",710445:"沙鹿区",710446:"龙井区",710447:"梧栖区",710448:"清水区",710449:"大甲区",710450:"外埔区",710451:"大安区",710499:"其它区"},710500:{710507:"金沙镇",710508:"金湖镇",710509:"金宁乡",710510:"金城镇",710511:"烈屿乡",710512:"乌坵乡"},710600:{710614:"南投市",710615:"中寮乡",710616:"草屯镇",710617:"国姓乡",710618:"埔里镇",710619:"仁爱乡",710620:"名间乡",710621:"集集镇",710622:"水里乡",710623:"鱼池乡",710624:"信义乡",710625:"竹山镇",710626:"鹿谷乡"},710700:{710701:"仁爱区",710702:"信义区",710703:"中正区",710704:"中山区",710705:"安乐区",710706:"暖暖区",710707:"七堵区",710799:"其它区"},710800:{710801:"东区",710802:"北区",710803:"香山区",710899:"其它区"},710900:{710901:"东区",710902:"西区",710999:"其它区"},711100:{711130:"万里区",711132:"板桥区",711133:"汐止区",711134:"深坑区",711135:"石碇区",711136:"瑞芳区",711137:"平溪区",711138:"双溪区",711139:"贡寮区",711140:"新店区",711141:"坪林区",711142:"乌来区",711143:"永和区",711144:"中和区",711145:"土城区",711146:"三峡区",711147:"树林区",711148:"莺歌区",711149:"三重区",711150:"新庄区",711151:"泰山区",711152:"林口区",711153:"芦洲区",711154:"五股区",711155:"八里区",711156:"淡水区",711157:"三芝区",711158:"石门区"},711200:{711287:"宜兰市",711288:"头城镇",711289:"礁溪乡",711290:"壮围乡",711291:"员山乡",711292:"罗东镇",711293:"三星乡",711294:"大同乡",711295:"五结乡",711296:"冬山乡",711297:"苏澳镇",711298:"南澳乡",711299:"钓鱼台"},711300:{711387:"竹北市",711388:"湖口乡",711389:"新丰乡",711390:"新埔镇",711391:"关西镇",711392:"芎林乡",711393:"宝山乡",711394:"竹东镇",711395:"五峰乡",711396:"横山乡",711397:"尖石乡",711398:"北埔乡",711399:"峨眉乡"},711400:{711414:"中坜区",711415:"平镇区",711417:"杨梅区",711418:"新屋区",711419:"观音区",711420:"桃园区",711421:"龟山区",711422:"八德区",711423:"大溪区",711425:"大园区",711426:"芦竹区",711487:"中坜市",711488:"平镇市",711489:"龙潭乡",711490:"杨梅市",711491:"新屋乡",711492:"观音乡",711493:"桃园市",711494:"龟山乡",711495:"八德市",711496:"大溪镇",711497:"复兴乡",711498:"大园乡",711499:"芦竹乡"},711500:{711520:"头份市",711582:"竹南镇",711583:"头份镇",711584:"三湾乡",711585:"南庄乡",711586:"狮潭乡",711587:"后龙镇",711588:"通霄镇",711589:"苑里镇",711590:"苗栗市",711591:"造桥乡",711592:"头屋乡",711593:"公馆乡",711594:"大湖乡",711595:"泰安乡",711596:"铜锣乡",711597:"三义乡",711598:"西湖乡",711599:"卓兰镇"},711700:{711736:"员林市",711774:"彰化市",711775:"芬园乡",711776:"花坛乡",711777:"秀水乡",711778:"鹿港镇",711779:"福兴乡",711780:"线西乡",711781:"和美镇",711782:"伸港乡",711783:"员林镇",711784:"社头乡",711785:"永靖乡",711786:"埔心乡",711787:"溪湖镇",711788:"大村乡",711789:"埔盐乡",711790:"田中镇",711791:"北斗镇",711792:"田尾乡",711793:"埤头乡",711794:"溪州乡",711795:"竹塘乡",711796:"二林镇",711797:"大城乡",711798:"芳苑乡",711799:"二水乡"},711900:{711982:"番路乡",711983:"梅山乡",711984:"竹崎乡",711985:"阿里山乡",711986:"中埔乡",711987:"大埔乡",711988:"水上乡",711989:"鹿草乡",711990:"太保市",711991:"朴子市",711992:"东石乡",711993:"六脚乡",711994:"新港乡",711995:"民雄乡",711996:"大林镇",711997:"溪口乡",711998:"义竹乡",711999:"布袋镇"},712100:{712180:"斗南镇",712181:"大埤乡",712182:"虎尾镇",712183:"土库镇",712184:"褒忠乡",712185:"东势乡",712186:"台西乡",712187:"仑背乡",712188:"麦寮乡",712189:"斗六市",712190:"林内乡",712191:"古坑乡",712192:"莿桐乡",712193:"西螺镇",712194:"二仑乡",712195:"北港镇",712196:"水林乡",712197:"口湖乡",712198:"四湖乡",712199:"元长乡"},712400:{712451:"崁顶乡",712467:"屏东市",712468:"三地门乡",712469:"雾台乡",712470:"玛家乡",712471:"九如乡",712472:"里港乡",712473:"高树乡",712474:"盐埔乡",712475:"长治乡",712476:"麟洛乡",712477:"竹田乡",712478:"内埔乡",712479:"万丹乡",712480:"潮州镇",712481:"泰武乡",712482:"来义乡",712483:"万峦乡",712484:"莰顶乡",712485:"新埤乡",712486:"南州乡",712487:"林边乡",712488:"东港镇",712489:"琉球乡",712490:"佳冬乡",712491:"新园乡",712492:"枋寮乡",712493:"枋山乡",712494:"春日乡",712495:"狮子乡",712496:"车城乡",712497:"牡丹乡",712498:"恒春镇",712499:"满州乡"},712500:{712584:"台东市",712585:"绿岛乡",712586:"兰屿乡",712587:"延平乡",712588:"卑南乡",712589:"鹿野乡",712590:"关山镇",712591:"海端乡",712592:"池上乡",712593:"东河乡",712594:"成功镇",712595:"长滨乡",712596:"金峰乡",712597:"大武乡",712598:"达仁乡",712599:"太麻里乡"},712600:{712686:"花莲市",712687:"新城乡",712688:"太鲁阁",712689:"秀林乡",712690:"吉安乡",712691:"寿丰乡",712692:"凤林镇",712693:"光复乡",712694:"丰滨乡",712695:"瑞穗乡",712696:"万荣乡",712697:"玉里镇",712698:"卓溪乡",712699:"富里乡"},712700:{712794:"马公市",712795:"西屿乡",712796:"望安乡",712797:"七美乡",712798:"白沙乡",712799:"湖西乡"},712800:{712896:"南竿乡",712897:"北竿乡",712898:"东引乡",712899:"莒光乡"},81e4:{810100:"香港岛",810200:"九龙",810300:"新界"},810100:{810101:"中西区",810102:"湾仔区",810103:"东区",810104:"南区"},810200:{810201:"九龙城区",810202:"油尖旺区",810203:"深水埗区",810204:"黄大仙区",810205:"观塘区"},810300:{810301:"北区",810302:"大埔区",810303:"沙田区",810304:"西贡区",810305:"元朗区",810306:"屯门区",810307:"荃湾区",810308:"葵青区",810309:"离岛区"},82e4:{820100:"澳门半岛",820200:"离岛"},820100:{820101:"澳门半岛"},820200:{820201:"离岛"},9e5:{900100:"其它市"},900100:{900101:"其它区"}},r={name:"v-distpicker",props:{province:{type:[String,Number],default:""},city:{type:[String,Number],default:""},area:{type:[String,Number],default:""},type:{type:String,default:""},hideArea:{type:Boolean,default:!1},onlyProvince:{type:Boolean,default:!1},staticPlaceholder:{type:Boolean,default:!1},placeholders:{type:Object,default:function(){return{province:"省",city:"市",area:"区"}}},districts:{type:[Array,Object],default:function(){return i}},disabled:{type:Boolean,default:!1},provinceDisabled:{type:Boolean,default:!1},cityDisabled:{type:Boolean,default:!1},areaDisabled:{type:Boolean,default:!1},addressHeader:{type:String,default:"address-header"},addressContainer:{type:String,default:"address-container"},wrapper:{type:String,default:"distpicker-address-wrapper"}},data:function(){return{tab:1,showCityTab:!1,showAreaTab:!1,provinces:[],cities:[],areas:[],currentProvince:this.determineType(this.province)||this.placeholders.province,currentCity:this.determineType(this.city)||this.placeholders.city,currentArea:this.determineType(this.area)||this.placeholders.area}},created:function(){if("mobile"!==this.type){this.provinces=this.getDistricts(),this.cities=this.province?this.getDistricts(this.getAreaCode(this.determineType(this.province))):[];var t=this.isDirectCity(this.province,this.city);this.areas=this.city?this.getDistricts(this.getAreaCode(this.determineType(this.city),t?this.determineType(this.city):this.area,"city")):[]}else if(!this.area||this.hideArea||this.onlyProvince)this.city&&this.hideArea&&!this.onlyProvince?(this.tab=2,this.showCityTab=!0,this.cities=this.getDistricts(this.getAreaCode(this.determineType(this.province)))):this.provinces=this.getDistricts();else{this.tab=3,this.showCityTab=!0,this.showAreaTab=!0;var e=this.isDirectCity(this.province,this.city);this.areas=this.getDistricts(this.getAreaCode(this.determineType(this.city),e?this.determineType(this.city):this.area,"city"))}},watch:{currentProvince:function(t){this.$emit("province",this.setData(t,"province")),this.onlyProvince&&this.emit("selected")},currentCity:function(t){this.$emit("city",this.setData(t,"city",this.currentProvince)),t!=this.placeholders.city&&this.hideArea&&this.emit("selected")},currentArea:function(t){this.$emit("area",this.setData(t,"area",this.currentProvince,!0)),t!=this.placeholders.area&&this.emit("selected")},province:function(t){this.currentProvince=this.province||this.placeholders.province,this.cities=this.determineValue("province",this.currentProvince,this.placeholders.province)},city:function(t){this.currentCity=this.city||this.placeholders.city,this.areas=this.determineValue("city",this.currentCity,this.placeholders.city,this.currentProvince)},area:function(t){this.currentArea=this.area||this.placeholders.area}},methods:{setData:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{code:arguments.length>3&&void 0!==arguments[3]&&arguments[3]?this.getCodeByArea(t):this.getAreaCode(t,n,e),value:t}},getCodeByArea:function(t){for(var e={},n=Object.keys(this.areas),i=0;i<n.length;i++){var r=n[i];e[this.areas[r]]=r}return e[t]},emit:function(t){var e={province:this.setData(this.currentProvince,"province")};this.onlyProvince||this.$set(e,"city",this.setData(this.currentCity,"city",this.currentProvince)),this.onlyProvince&&!this.hideArea||this.$set(e,"area",this.setData(this.currentArea,"area",this.currentProvince,!0)),this.$emit(t,e)},getCities:function(){this.currentCity=this.placeholders.city,this.currentArea=this.placeholders.area,this.cities=this.determineValue("province",this.currentProvince,this.placeholders.province),this.cleanList("areas"),0===this.cities.length&&(this.emit("selected"),this.tab=1,this.showCityTab=!1)},getAreas:function(){this.currentArea=this.placeholders.area,this.areas=this.determineValue("city",this.currentCity,this.placeholders.city,this.currentProvince),0===this.areas.length&&(this.emit("selected"),this.tab=2,this.showAreaTab=!1)},resetProvince:function(){this.tab=1,this.provinces=this.getDistricts(),this.showCityTab=!1,this.showAreaTab=!1},resetCity:function(){this.tab=2,this.showCityTab=!0,this.showAreaTab=!1,this.getCities()},chooseProvince:function(t){this.currentProvince=t,this.onlyProvince||(this.tab=2,this.showCityTab=!0,this.showAreaTab=!1,this.getCities())},chooseCity:function(t){this.currentCity=t,this.hideArea||(this.tab=3,this.showCityTab=!0,this.showAreaTab=!0,this.getAreas())},chooseArea:function(t){this.currentArea=t},getAreaCodeByPreCode:function(t,e){var n,i=[];for(var r in this.districts)for(var o in this.districts[r])t===this.districts[r][o]&&i.push(o);return i.length>1?(i.forEach((function(t,i){(2===e.length&&t.slice(0,2)===e||4===e.length&&t.slice(0,4)!==e)&&(n=i)})),i[n]):i[0]},getAreaCode:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";for(var i in this.districts)for(var r in this.districts[i])if(t===this.districts[i][r]){if(e.length>0){var o=r;if(e){var a="city"===n?this.getAreaCode(this.currentProvince).slice(0,2):r.slice(0,2);o=this.getAreaCodeByPreCode(t,a)}if(o&&r.slice(0,2)===o.slice(0,2))return o;continue}return r}},getCodeValue:function(t){for(var e in this.districts)for(var n in this.districts[e])if(t===parseInt(n))return this.districts[e][n]},getDistricts:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e5;return this.districts[t]||[]},determineValue:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return e===n?[]:this.getDistricts(this.getAreaCode(e,i,t))},determineType:function(t){return"number"==typeof t?this.getCodeValue(t):t},cleanList:function(t){this[t]=[]},isDirectCity:function(t,e){return!(!t||!e)&&this.determineType(this.province)===this.determineType(this.city)}}};n(1);var o=function(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.wrapper},["mobile"!==t.type?[n("label",[n("select",{directives:[{name:"model",rawName:"v-model",value:t.currentProvince,expression:"currentProvince"}],attrs:{disabled:t.disabled||t.provinceDisabled},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.currentProvince=e.target.multiple?n:n[0]},t.getCities]}},[n("option",{domProps:{value:t.placeholders.province}},[t._v(t._s(t.placeholders.province))]),t._v(" "),t._l(t.provinces,(function(e,i){return n("option",{key:i,domProps:{value:e}},[t._v("\n "+t._s(e)+"\n ")])}))],2)]),t._v(" "),t.onlyProvince?t._e():[n("label",[n("select",{directives:[{name:"model",rawName:"v-model",value:t.currentCity,expression:"currentCity"}],attrs:{disabled:t.disabled||t.cityDisabled},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.currentCity=e.target.multiple?n:n[0]},t.getAreas]}},[n("option",{domProps:{value:t.placeholders.city}},[t._v(t._s(t.placeholders.city))]),t._v(" "),t._l(t.cities,(function(e,i){return n("option",{key:i,domProps:{value:e}},[t._v("\n "+t._s(e)+"\n ")])}))],2)]),t._v(" "),n("label",[t.hideArea?t._e():n("select",{directives:[{name:"model",rawName:"v-model",value:t.currentArea,expression:"currentArea"}],attrs:{disabled:t.disabled||t.areaDisabled},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.currentArea=e.target.multiple?n:n[0]}}},[n("option",{domProps:{value:t.placeholders.area}},[t._v(t._s(t.placeholders.area))]),t._v(" "),t._l(t.areas,(function(e,i){return n("option",{key:i,domProps:{value:e}},[t._v("\n "+t._s(e)+"\n ")])}))],2)])]]:[n("div",{class:t.addressHeader},[n("ul",[n("li",{class:{active:1===t.tab},on:{click:t.resetProvince}},[t._v(t._s(t.currentProvince&&!t.staticPlaceholder?t.currentProvince:t.placeholders.province))]),t._v(" "),t.onlyProvince?t._e():[t.showCityTab?n("li",{class:{active:2===t.tab},on:{click:t.resetCity}},[t._v(t._s(t.currentCity&&!t.staticPlaceholder?t.currentCity:t.placeholders.city))]):t._e(),t._v(" "),t.showAreaTab&&!t.hideArea?n("li",{class:{active:3===t.tab}},[t._v(t._s(t.currentArea&&!t.staticPlaceholder?t.currentArea:t.placeholders.area))]):t._e()]],2)]),t._v(" "),n("div",{class:t.addressContainer},[1===t.tab?n("ul",t._l(t.provinces,(function(e,i){return n("li",{key:i,class:{active:e===t.currentProvince},on:{click:function(n){return t.chooseProvince(e)}}},[t._v("\n "+t._s(e)+"\n ")])})),0):t._e(),t._v(" "),t.onlyProvince?t._e():[2===t.tab?n("ul",t._l(t.cities,(function(e,i){return n("li",{key:i,class:{active:e===t.currentCity},on:{click:function(n){return t.chooseCity(e)}}},[t._v("\n "+t._s(e)+"\n ")])})),0):t._e(),t._v(" "),3!==t.tab||t.hideArea?t._e():n("ul",t._l(t.areas,(function(e,i){return n("li",{key:i,class:{active:e===t.currentArea},on:{click:function(n){return t.chooseArea(e)}}},[t._v("\n "+t._s(e)+"\n ")])})),0)]],2)]],2)}),[],!1,null,null,null).exports;e.default=o},function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],a=o[0],s={id:t+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return f}));var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,u=!1,c=function(){},h=null,d="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,r){u=n,h=r||{};var a=i(t,e);return g(a),function(e){for(var n=[],r=0;r<a.length;r++){var s=a[r];(l=o[s.id]).refs--,n.push(l)}for(e?g(a=i(t,e)):a=[],r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete o[l.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],i=o[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(v(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(v(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:a}}}}function m(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function v(t){var e,n,i=document.querySelector("style["+d+'~="'+t.id+'"]');if(i){if(u)return c;i.parentNode.removeChild(i)}if(p){var r=l++;i=s||(s=m()),e=_.bind(null,i,r,!1),n=_.bind(null,i,r,!0)}else i=m(),e=function(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),h.ssrId&&t.setAttribute(d,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var y,b=(y=[],function(t,e){return y[t]=e,y.filter(Boolean).join("\n")});function _(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}}]).default}))},"785a":function(t,e,n){var i=n("cc12"),r=i("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},7867:function(t,e,n){"use strict";n("5319");var i=n("2b0e"),r=n("7460"),o=n("8716");const a=/\/?$/;function s(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in e)if(!(n in t)||String(t[n])!==String(e[n]))return!1;return!0}function l(t,e){for(const n in e)if(!(n in t))return!1;return!0}function u(t,e){return!!e&&(t.path&&e.path?t.path.replace(a,"")===e.path.replace(a,"")&&t.hash===e.hash&&s(t.query,e.query):"string"===typeof t.name&&t.name===e.name&&t.hash===e.hash&&!0===s(t.query,e.query)&&!0===s(t.params,e.params))}function c(t,e){return 0===t.path.replace(a,"/").indexOf(e.path.replace(a,"/"))&&("string"!==typeof e.hash||e.hash.length<2||t.hash===e.hash)&&!0===l(t.query,e.query)}var h=n("d882");e["a"]=i["a"].extend({name:"QRouteTab",mixins:[r["a"],o["a"]],inject:{__activateRoute:{},__recalculateScroll:{}},watch:{$route(){this.__checkActivation()}},computed:{routerTabLinkProps(){return{...this.linkProps.props,custom:!0}}},methods:{__activate(t,e){if(!0!==this.disable)if(void 0===t||!0!==t.ctrlKey&&!0!==t.shiftKey&&!0!==t.altKey&&!0!==t.metaKey){if(!0===this.hasRouterLink){void 0!==t&&Object(h["l"])(t);const e=(t=this.to,e=this.append,n=this.replace)=>{const{route:i}=this.$router.resolve(t,this.$route,e),r=t===this.to&&e===this.append?this.__checkActivation:h["g"];this.$router[!0===n?"replace":"push"](i,(()=>{r(!0)}),(t=>{t&&"NavigationDuplicated"===t.name&&r(!0)}))};void 0!==this.qListeners.click&&this.$emit("click",t,e),void 0!==t&&!1===t.navigate||e()}}else this.__checkActivation(!0);!0===e?this.$el.focus({preventScroll:!0}):void 0!==this.$refs.blurTarget&&this.$refs.blurTarget.focus({preventScroll:!0})},__checkActivation(t=!1){if(!0!==this.hasRouterLink)return;const e=this.$route,{href:n,location:i,route:r}=this.$router.resolve(this.to,e,this.append),o=void 0!==r.redirectedFrom,a=u(e,r),s=!0===this.exact?u:c,l={name:this.name,selected:t,exact:this.exact,priorityMatched:r.matched.length,priorityHref:n.length};(!0===a||!0!==this.exact&&!0===c(e,r))&&this.__activateRoute({...l,redirected:o,exact:!0===this.exact||!0===a}),!0===o&&!0===s(e,{path:r.redirectedFrom,...i})&&this.__activateRoute(l),!0===this.isActive&&this.__activateRoute()}},mounted(){this.__recalculateScroll(),void 0!==this.$router&&this.__checkActivation()},beforeDestroy(){this.__recalculateScroll(),this.__activateRoute({remove:!0,name:this.name})},render(t){return this.__renderTab(t,this.linkTag)}})},7903:function(t,e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const n={N1:3,N2:3,N3:40,N4:10};function i(t,n,i){switch(t){case e.Patterns.PATTERN000:return(n+i)%2===0;case e.Patterns.PATTERN001:return n%2===0;case e.Patterns.PATTERN010:return i%3===0;case e.Patterns.PATTERN011:return(n+i)%3===0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(i/3))%2===0;case e.Patterns.PATTERN101:return n*i%2+n*i%3===0;case e.Patterns.PATTERN110:return(n*i%2+n*i%3)%2===0;case e.Patterns.PATTERN111:return(n*i%3+(n+i)%2)%2===0;default:throw new Error("bad maskPattern:"+t)}}e.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){const e=t.size;let i=0,r=0,o=0,a=null,s=null;for(let l=0;l<e;l++){r=o=0,a=s=null;for(let u=0;u<e;u++){let e=t.get(l,u);e===a?r++:(r>=5&&(i+=n.N1+(r-5)),a=e,r=1),e=t.get(u,l),e===s?o++:(o>=5&&(i+=n.N1+(o-5)),s=e,o=1)}r>=5&&(i+=n.N1+(r-5)),o>=5&&(i+=n.N1+(o-5))}return i},e.getPenaltyN2=function(t){const e=t.size;let i=0;for(let n=0;n<e-1;n++)for(let r=0;r<e-1;r++){const e=t.get(n,r)+t.get(n,r+1)+t.get(n+1,r)+t.get(n+1,r+1);4!==e&&0!==e||i++}return i*n.N2},e.getPenaltyN3=function(t){const e=t.size;let i=0,r=0,o=0;for(let n=0;n<e;n++){r=o=0;for(let a=0;a<e;a++)r=r<<1&2047|t.get(n,a),a>=10&&(1488===r||93===r)&&i++,o=o<<1&2047|t.get(a,n),a>=10&&(1488===o||93===o)&&i++}return i*n.N3},e.getPenaltyN4=function(t){let e=0;const i=t.data.length;for(let n=0;n<i;n++)e+=t.data[n];const r=Math.abs(Math.ceil(100*e/i/5)-10);return r*n.N4},e.applyMask=function(t,e){const n=e.size;for(let r=0;r<n;r++)for(let o=0;o<n;o++)e.isReserved(o,r)||e.xor(o,r,i(t,o,r))},e.getBestMask=function(t,n){const i=Object.keys(e.Patterns).length;let r=0,o=1/0;for(let a=0;a<i;a++){n(a),e.applyMask(a,t);const i=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(a,t),i<o&&(o=i,r=a)}return r}},7937:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return l}));const i=["B","KB","MB","GB","TB","PB"];function r(t){let e=0;while(parseInt(t,10)>=1024&&e<i.length-1)t/=1024,++e;return`${t.toFixed(1)}${i[e]}`}function o(t){return t.charAt(0).toUpperCase()+t.slice(1)}function a(t,e,n){return n<=e?e:Math.min(n,Math.max(e,t))}function s(t,e,n){if(n<=e)return e;const i=n-e+1;let r=e+(t-e)%i;return r<e&&(r=i+r),0===r?0:r}function l(t,e=2,n="0"){if(void 0===t||null===t)return t;const i=""+t;return i.length>=e?i:new Array(e-i.length+1).join(n)+i}},"79f1":function(t,e,n){"use strict";function i(t){return t.marginTop=t.marginTop||t.margin,t.marginBottom=t.marginBottom||t.margin,t.marginRight=t.marginRight||t.margin,t.marginLeft=t.marginLeft||t.margin,t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},"7a29":function(t,e,n){"use strict";(function(t){n.d(e,"p",(function(){return s})),n.d(e,"j",(function(){return u})),n.d(e,"q",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return f})),n.d(e,"i",(function(){return g})),n.d(e,"h",(function(){return m})),n.d(e,"l",(function(){return v})),n.d(e,"n",(function(){return b})),n.d(e,"m",(function(){return _})),n.d(e,"o",(function(){return x})),n.d(e,"k",(function(){return w})),n.d(e,"d",(function(){return S})),n.d(e,"f",(function(){return C})),n.d(e,"g",(function(){return k})),n.d(e,"c",(function(){return M}));var i=n("6d8b"),r=n("41ef"),o=n("22d1"),a=Math.round;function s(t){var e;if(t&&"transparent"!==t){if("string"===typeof t&&t.indexOf("rgba")>-1){var n=Object(r["g"])(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var l=1e-4;function u(t){return t<l&&t>-l}function c(t){return a(1e3*t)/1e3}function h(t){return a(1e4*t)/1e4}function d(t){return"matrix("+c(t[0])+","+c(t[1])+","+c(t[2])+","+c(t[3])+","+h(t[4])+","+h(t[5])+")"}var p={left:"start",right:"end",center:"middle",middle:"middle"};function f(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}function g(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function m(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function v(t){return t&&!!t.image}function y(t){return t&&!!t.svgElement}function b(t){return v(t)||y(t)}function _(t){return"linear"===t.type}function x(t){return"radial"===t.type}function w(t){return t&&("linear"===t.type||"radial"===t.type)}function S(t){return"url(#"+t+")"}function C(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function k(t){var e=t.x||0,n=t.y||0,r=(t.rotation||0)*i["a"],o=Object(i["P"])(t.scaleX,1),s=Object(i["P"])(t.scaleY,1),l=t.skewX||0,u=t.skewY||0,c=[];return(e||n)&&c.push("translate("+e+"px,"+n+"px)"),r&&c.push("rotate("+r+")"),1===o&&1===s||c.push("scale("+o+","+s+")"),(l||u)&&c.push("skew("+a(l*i["a"])+"deg, "+a(u*i["a"])+"deg)"),c.join(" ")}var M=function(){return o["a"].hasGlobalWindow&&Object(i["w"])(window.btoa)?function(t){return window.btoa(unescape(t))}:"undefined"!==typeof t?function(e){return t.from(e).toString("base64")}:function(t){return null}}()}).call(this,n("1c35").Buffer)},"7a43":function(t,e){function n(t){if("string"!==typeof t)throw new Error("Param is not a string");const n=t.toLowerCase();switch(n){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&"undefined"!==typeof t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,i){if(e.isValid(t))return t;try{return n(t)}catch(r){return i}}},"7a77":function(t,e,n){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},"7aac":function(t,e,n){"use strict";var i=n("c532");t.exports=i.isStandardBrowserEnv()?function(){return{write:function(t,e,n,r,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(t,e,n){var i=n("1d80"),r=Object;t.exports=function(t){return r(i(t))}},"7b1d":function(t,e,n){(function(e,n){t.exports=n()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var i=n("b622"),r=i("toStringTag"),o={};o[r]="z",t.exports="[object z]"===String(o)},"0366":function(t,e,n){var i=n("1c0b");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,n){var i=n("fc6a"),r=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return r(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):r(i(t))}},"06cf":function(t,e,n){var i=n("83ab"),r=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),l=n("5135"),u=n("0cfb"),c=Object.getOwnPropertyDescriptor;e.f=i?c:function(t,e){if(t=a(t),e=s(e,!0),u)try{return c(t,e)}catch(n){}if(l(t,e))return o(!r.f.call(t,e),t[e])}},"0cb2":function(t,e,n){var i=n("7b0b"),r=Math.floor,o="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;t.exports=function(t,e,n,l,u,c){var h=n+t.length,d=l.length,p=s;return void 0!==u&&(u=i(u),p=a),o.call(c,p,(function(i,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(h);case"<":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return i;if(s>d){var c=r(s/10);return 0===c?i:c<=d?void 0===l[c-1]?o.charAt(1):l[c-1]+o.charAt(1):i}a=l[s-1]}return void 0===a?"":a}))}},"0cfb":function(t,e,n){var i=n("83ab"),r=n("d039"),o=n("cc12");t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"14c3":function(t,e,n){var i=n("c6b6"),r=n("9263");t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"1be4":function(t,e,n){var i=n("d066");t.exports=i("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var i=n("d039"),r=n("b622"),o=n("2d00"),a=r("species");t.exports=function(t){return o>=51||!i((function(){var e=[],n=e.constructor={};return n[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"23cb":function(t,e,n){var i=n("a691"),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},"23e7":function(t,e,n){var i=n("da84"),r=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),l=n("e893"),u=n("94ca");t.exports=function(t,e){var n,c,h,d,p,f,g=t.target,m=t.global,v=t.stat;if(c=m?i:v?i[g]||s(g,{}):(i[g]||{}).prototype,c)for(h in e){if(p=e[h],t.noTargetGet?(f=r(c,h),d=f&&f.value):d=c[h],n=u(m?h:g+(v?".":"#")+h,t.forced),!n&&void 0!==d){if(typeof p===typeof d)continue;l(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),a(c,h,p,t)}}},"241c":function(t,e,n){var i=n("ca84"),r=n("7839"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},"25f0":function(t,e,n){"use strict";var i=n("6eeb"),r=n("825a"),o=n("d039"),a=n("ad6d"),s="toString",l=RegExp.prototype,u=l[s],c=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),h=u.name!=s;(c||h)&&i(RegExp.prototype,s,(function(){var t=r(this),e=String(t.source),n=t.flags,i=String(void 0===n&&t instanceof RegExp&&!("flags"in l)?a.call(t):n);return"/"+e+"/"+i}),{unsafe:!0})},2626:function(t,e,n){"use strict";var i=n("d066"),r=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");t.exports=function(t){var e=i(t),n=r.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},"2d00":function(t,e,n){var i,r,o=n("da84"),a=n("342f"),s=o.process,l=s&&s.versions,u=l&&l.v8;u?(i=u.split("."),r=i[0]+i[1]):a&&(i=a.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/),i&&(r=i[1]))),t.exports=r&&+r},"342f":function(t,e,n){var i=n("d066");t.exports=i("navigator","userAgent")||""},"37e8":function(t,e,n){var i=n("83ab"),r=n("9bf2"),o=n("825a"),a=n("df75");t.exports=i?Object.defineProperties:function(t,e){o(t);var n,i=a(e),s=i.length,l=0;while(s>l)r.f(t,n=i[l++],e[n]);return t}},"3bbe":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var i=n("6547").charAt,r=n("69f3"),o=n("7dd0"),a="String Iterator",s=r.set,l=r.getterFor(a);o(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=l(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=i(n,r),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,n){var i=n("da84");t.exports=i},"44ad":function(t,e,n){var i=n("d039"),r=n("c6b6"),o="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var i=n("b622"),r=n("7c73"),o=n("9bf2"),a=i("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},"44e7":function(t,e,n){var i=n("861d"),r=n("c6b6"),o=n("b622"),a=o("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==r(t))}},4930:function(t,e,n){var i=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},"4d63":function(t,e,n){var i=n("83ab"),r=n("da84"),o=n("94ca"),a=n("7156"),s=n("9bf2").f,l=n("241c").f,u=n("44e7"),c=n("ad6d"),h=n("9f7f"),d=n("6eeb"),p=n("d039"),f=n("69f3").set,g=n("2626"),m=n("b622"),v=m("match"),y=r.RegExp,b=y.prototype,_=/a/g,x=/a/g,w=new y(_)!==_,S=h.UNSUPPORTED_Y,C=i&&o("RegExp",!w||S||p((function(){return x[v]=!1,y(_)!=_||y(x)==x||"/a/i"!=y(_,"i")})));if(C){var k=function(t,e){var n,i=this instanceof k,r=u(t),o=void 0===e;if(!i&&r&&t.constructor===k&&o)return t;w?r&&!o&&(t=t.source):t instanceof k&&(o&&(e=c.call(t)),t=t.source),S&&(n=!!e&&e.indexOf("y")>-1,n&&(e=e.replace(/y/g,"")));var s=a(w?new y(t,e):y(t,e),i?this:b,k);return S&&n&&f(s,{sticky:n}),s},M=function(t){t in k||s(k,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},O=l(y),T=0;while(O.length>T)M(O[T++]);b.constructor=k,k.prototype=b,d(r,"RegExp",k)}g("RegExp")},"4d64":function(t,e,n){var i=n("fc6a"),r=n("50c4"),o=n("23cb"),a=function(t){return function(e,n,a){var s,l=i(e),u=r(l.length),c=o(a,u);if(t&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(t,e,n){var i=n("a691"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5319:function(t,e,n){"use strict";var i=n("d784"),r=n("825a"),o=n("50c4"),a=n("a691"),s=n("1d80"),l=n("8aa5"),u=n("0cb2"),c=n("14c3"),h=Math.max,d=Math.min,p=function(t){return void 0===t?t:String(t)};i("replace",2,(function(t,e,n,i){var f=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=i.REPLACE_KEEPS_$0,m=f?"$":"$0";return[function(n,i){var r=s(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r,i):e.call(String(r),n,i)},function(t,i){if(!f&&g||"string"===typeof i&&-1===i.indexOf(m)){var s=n(e,t,this,i);if(s.done)return s.value}var v=r(t),y=String(this),b="function"===typeof i;b||(i=String(i));var _=v.global;if(_){var x=v.unicode;v.lastIndex=0}var w=[];while(1){var S=c(v,y);if(null===S)break;if(w.push(S),!_)break;var C=String(S[0]);""===C&&(v.lastIndex=l(y,o(v.lastIndex),x))}for(var k="",M=0,O=0;O<w.length;O++){S=w[O];for(var T=String(S[0]),A=h(d(a(S.index),y.length),0),I=[],P=1;P<S.length;P++)I.push(p(S[P]));var E=S.groups;if(b){var D=[T].concat(I,A,y);void 0!==E&&D.push(E);var L=String(i.apply(void 0,D))}else L=u(T,y,A,I,E,i);A>=M&&(k+=y.slice(M,A)+L,M=A+T.length)}return k+y.slice(M)}]}))},5692:function(t,e,n){var i=n("c430"),r=n("c6cd");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.0",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var i=n("d066"),r=n("241c"),o=n("7418"),a=n("825a");t.exports=i("Reflect","ownKeys")||function(t){var e=r.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6547:function(t,e,n){var i=n("a691"),r=n("1d80"),o=function(t){return function(e,n){var o,a,s=String(r(e)),l=i(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}};t.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(t,e,n){var i=n("861d"),r=n("e8b5"),o=n("b622"),a=o("species");t.exports=function(t,e){var n;return r(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!r(n.prototype)?i(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var i,r,o,a=n("7f9a"),s=n("da84"),l=n("861d"),u=n("9112"),c=n("5135"),h=n("c6cd"),d=n("f772"),p=n("d012"),f=s.WeakMap,g=function(t){return o(t)?r(t):i(t,{})},m=function(t){return function(e){var n;if(!l(e)||(n=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(a){var v=h.state||(h.state=new f),y=v.get,b=v.has,_=v.set;i=function(t,e){return e.facade=t,_.call(v,t,e),e},r=function(t){return y.call(v,t)||{}},o=function(t){return b.call(v,t)}}else{var x=d("state");p[x]=!0,i=function(t,e){return e.facade=t,u(t,x,e),e},r=function(t){return c(t,x)?t[x]:{}},o=function(t){return c(t,x)}}t.exports={set:i,get:r,has:o,enforce:g,getterFor:m}},"6eeb":function(t,e,n){var i=n("da84"),r=n("9112"),o=n("5135"),a=n("ce4e"),s=n("8925"),l=n("69f3"),u=l.get,c=l.enforce,h=String(String).split("String");(t.exports=function(t,e,n,s){var l,u=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||r(n,"name",e),l=c(n),l.source||(l.source=h.join("string"==typeof e?e:""))),t!==i?(u?!p&&t[e]&&(d=!0):delete t[e],d?t[e]=n:r(t,e,n)):d?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},7156:function(t,e,n){var i=n("861d"),r=n("d2bb");t.exports=function(t,e,n){var o,a;return r&&"function"==typeof(o=e.constructor)&&o!==n&&i(a=o.prototype)&&a!==n.prototype&&r(t,a),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var i=n("428f"),r=n("5135"),o=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(e,t)||a(e,t,{value:o.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var i=n("1d80");t.exports=function(t){return Object(i(t))}},"7c73":function(t,e,n){var i,r=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),u=n("cc12"),c=n("f772"),h=">",d="<",p="prototype",f="script",g=c("IE_PROTO"),m=function(){},v=function(t){return d+f+h+t+d+"/"+f+h},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=u("iframe"),n="java"+f+":";return e.style.display="none",l.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},_=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(e){}_=i?y(i):b();var t=a.length;while(t--)delete _[p][a[t]];return _()};s[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(m[p]=r(t),n=new m,m[p]=null,n[g]=t):n=_(),void 0===e?n:o(n,e)}},"7dd0":function(t,e,n){"use strict";var i=n("23e7"),r=n("9ed3"),o=n("e163"),a=n("d2bb"),s=n("d44e"),l=n("9112"),u=n("6eeb"),c=n("b622"),h=n("c430"),d=n("3f8c"),p=n("ae93"),f=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m=c("iterator"),v="keys",y="values",b="entries",_=function(){return this};t.exports=function(t,e,n,c,p,x,w){r(n,e,c);var S,C,k,M=function(t){if(t===p&&P)return P;if(!g&&t in A)return A[t];switch(t){case v:return function(){return new n(this,t)};case y:return function(){return new n(this,t)};case b:return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",T=!1,A=t.prototype,I=A[m]||A["@@iterator"]||p&&A[p],P=!g&&I||M(p),E="Array"==e&&A.entries||I;if(E&&(S=o(E.call(new t)),f!==Object.prototype&&S.next&&(h||o(S)===f||(a?a(S,f):"function"!=typeof S[m]&&l(S,m,_)),s(S,O,!0,!0),h&&(d[O]=_))),p==y&&I&&I.name!==y&&(T=!0,P=function(){return I.call(this)}),h&&!w||A[m]===P||l(A,m,P),d[e]=P,p)if(C={values:M(y),keys:x?P:M(v),entries:M(b)},w)for(k in C)(g||T||!(k in A))&&u(A,k,C[k]);else i({target:e,proto:!0,forced:g||T},C);return C}},"7f9a":function(t,e,n){var i=n("da84"),r=n("8925"),o=i.WeakMap;t.exports="function"===typeof o&&/native code/.test(r(o))},"825a":function(t,e,n){var i=n("861d");t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var i=n("d039");t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var i=n("c04e"),r=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var a=i(e);a in t?r.f(t,a,o(0,n)):t[a]=n}},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,n){var i,r,o;(function(n,a){r=[],i=a,o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,i,r,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(p.stack)||a.exec(p.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),h=document.getElementsByTagName("script");l===c&&(n=document.documentElement.outerHTML,i=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=n.replace(i,"$1").trim());for(var d=0;d<h.length;d++){if("interactive"===h[d].readyState)return h[d];if(h[d].src===l)return h[d];if(l===c&&h[d].innerHTML&&h[d].innerHTML.trim()===r)return h[d]}return null}}return t}))},8925:function(t,e,n){var i=n("c6cd"),r=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(t){return r.call(t)}),t.exports=i.inspectSource},"8aa5":function(t,e,n){"use strict";var i=n("6547").charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"90e3":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+i).toString(36)}},9112:function(t,e,n){var i=n("83ab"),r=n("9bf2"),o=n("5c6c");t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var i=n("ad6d"),r=n("9f7f"),o=RegExp.prototype.exec,a=String.prototype.replace,s=o,l=function(){var t=/a/,e=/b*/g;return o.call(t,"a"),o.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),u=r.UNSUPPORTED_Y||r.BROKEN_CARET,c=void 0!==/()??/.exec("")[1],h=l||c||u;h&&(s=function(t){var e,n,r,s,h=this,d=u&&h.sticky,p=i.call(h),f=h.source,g=0,m=t;return d&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),m=String(t).slice(h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==t[h.lastIndex-1])&&(f="(?: "+f+")",m=" "+m,g++),n=new RegExp("^(?:"+f+")",p)),c&&(n=new RegExp("^"+f+"$(?!\\s)",p)),l&&(e=h.lastIndex),r=o.call(d?n:h,m),d?r?(r.input=r.input.slice(g),r[0]=r[0].slice(g),r.index=h.lastIndex,h.lastIndex+=r[0].length):h.lastIndex=0:l&&r&&(h.lastIndex=h.global?r.index+r[0].length:e),c&&r&&r.length>1&&a.call(r[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(r[s]=void 0)})),r}),t.exports=s},"94ca":function(t,e,n){var i=n("d039"),r=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==u||n!=l&&("function"==typeof e?i(e):!!e)},a=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o},"99af":function(t,e,n){"use strict";var i=n("23e7"),r=n("d039"),o=n("e8b5"),a=n("861d"),s=n("7b0b"),l=n("50c4"),u=n("8418"),c=n("65f0"),h=n("1dde"),d=n("b622"),p=n("2d00"),f=d("isConcatSpreadable"),g=9007199254740991,m="Maximum allowed index exceeded",v=p>=51||!r((function(){var t=[];return t[f]=!1,t.concat()[0]!==t})),y=h("concat"),b=function(t){if(!a(t))return!1;var e=t[f];return void 0!==e?!!e:o(t)},_=!v||!y;i({target:"Array",proto:!0,forced:_},{concat:function(t){var e,n,i,r,o,a=s(this),h=c(a,0),d=0;for(e=-1,i=arguments.length;e<i;e++)if(o=-1===e?a:arguments[e],b(o)){if(r=l(o.length),d+r>g)throw TypeError(m);for(n=0;n<r;n++,d++)n in o&&u(h,d,o[n])}else{if(d>=g)throw TypeError(m);u(h,d++,o)}return h.length=d,h}})},"9bf2":function(t,e,n){var i=n("83ab"),r=n("0cfb"),o=n("825a"),a=n("c04e"),s=Object.defineProperty;e.f=i?s:function(t,e,n){if(o(t),e=a(e,!0),o(n),r)try{return s(t,e,n)}catch(i){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var i=n("ae93").IteratorPrototype,r=n("7c73"),o=n("5c6c"),a=n("d44e"),s=n("3f8c"),l=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=r(i,{next:o(1,n)}),a(t,u,!1,!0),s[u]=l,t}},"9f7f":function(t,e,n){"use strict";var i=n("d039");function r(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=i((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=i((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a4d3:function(t,e,n){"use strict";var i=n("23e7"),r=n("da84"),o=n("d066"),a=n("c430"),s=n("83ab"),l=n("4930"),u=n("fdbf"),c=n("d039"),h=n("5135"),d=n("e8b5"),p=n("861d"),f=n("825a"),g=n("7b0b"),m=n("fc6a"),v=n("c04e"),y=n("5c6c"),b=n("7c73"),_=n("df75"),x=n("241c"),w=n("057f"),S=n("7418"),C=n("06cf"),k=n("9bf2"),M=n("d1e7"),O=n("9112"),T=n("6eeb"),A=n("5692"),I=n("f772"),P=n("d012"),E=n("90e3"),D=n("b622"),L=n("e538"),j=n("746f"),R=n("d44e"),B=n("69f3"),N=n("b727").forEach,F=I("hidden"),z="Symbol",V="prototype",q=D("toPrimitive"),$=B.set,H=B.getterFor(z),G=Object[V],W=r.Symbol,U=o("JSON","stringify"),Y=C.f,X=k.f,K=w.f,Z=M.f,Q=A("symbols"),J=A("op-symbols"),tt=A("string-to-symbol-registry"),et=A("symbol-to-string-registry"),nt=A("wks"),it=r.QObject,rt=!it||!it[V]||!it[V].findChild,ot=s&&c((function(){return 7!=b(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=Y(G,e);i&&delete G[e],X(t,e,n),i&&t!==G&&X(G,e,i)}:X,at=function(t,e){var n=Q[t]=b(W[V]);return $(n,{type:z,tag:t,description:e}),s||(n.description=e),n},st=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof W},lt=function(t,e,n){t===G&<(J,e,n),f(t);var i=v(e,!0);return f(n),h(Q,i)?(n.enumerable?(h(t,F)&&t[F][i]&&(t[F][i]=!1),n=b(n,{enumerable:y(0,!1)})):(h(t,F)||X(t,F,y(1,{})),t[F][i]=!0),ot(t,i,n)):X(t,i,n)},ut=function(t,e){f(t);var n=m(e),i=_(n).concat(ft(n));return N(i,(function(e){s&&!ht.call(n,e)||lt(t,e,n[e])})),t},ct=function(t,e){return void 0===e?b(t):ut(b(t),e)},ht=function(t){var e=v(t,!0),n=Z.call(this,e);return!(this===G&&h(Q,e)&&!h(J,e))&&(!(n||!h(this,e)||!h(Q,e)||h(this,F)&&this[F][e])||n)},dt=function(t,e){var n=m(t),i=v(e,!0);if(n!==G||!h(Q,i)||h(J,i)){var r=Y(n,i);return!r||!h(Q,i)||h(n,F)&&n[F][i]||(r.enumerable=!0),r}},pt=function(t){var e=K(m(t)),n=[];return N(e,(function(t){h(Q,t)||h(P,t)||n.push(t)})),n},ft=function(t){var e=t===G,n=K(e?J:m(t)),i=[];return N(n,(function(t){!h(Q,t)||e&&!h(G,t)||i.push(Q[t])})),i};if(l||(W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=E(t),n=function(t){this===G&&n.call(J,t),h(this,F)&&h(this[F],e)&&(this[F][e]=!1),ot(this,e,y(1,t))};return s&&rt&&ot(G,e,{configurable:!0,set:n}),at(e,t)},T(W[V],"toString",(function(){return H(this).tag})),T(W,"withoutSetter",(function(t){return at(E(t),t)})),M.f=ht,k.f=lt,C.f=dt,x.f=w.f=pt,S.f=ft,L.f=function(t){return at(D(t),t)},s&&(X(W[V],"description",{configurable:!0,get:function(){return H(this).description}}),a||T(G,"propertyIsEnumerable",ht,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),N(_(nt),(function(t){j(t)})),i({target:z,stat:!0,forced:!l},{for:function(t){var e=String(t);if(h(tt,e))return tt[e];var n=W(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!st(t))throw TypeError(t+" is not a symbol");if(h(et,t))return et[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!s},{create:ct,defineProperty:lt,defineProperties:ut,getOwnPropertyDescriptor:dt}),i({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:pt,getOwnPropertySymbols:ft}),i({target:"Object",stat:!0,forced:c((function(){S.f(1)}))},{getOwnPropertySymbols:function(t){return S.f(g(t))}}),U){var gt=!l||c((function(){var t=W();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}));i({target:"JSON",stat:!0,forced:gt},{stringify:function(t,e,n){var i,r=[t],o=1;while(arguments.length>o)r.push(arguments[o++]);if(i=e,(p(e)||void 0!==t)&&!st(t))return d(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!st(e))return e}),r[1]=e,U.apply(null,r)}})}W[V][q]||O(W[V],q,W[V].valueOf),R(W,z),P[F]=!0},a691:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},ac1f:function(t,e,n){"use strict";var i=n("23e7"),r=n("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ad6d:function(t,e,n){"use strict";var i=n("825a");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae93:function(t,e,n){"use strict";var i,r,o,a=n("d039"),s=n("e163"),l=n("9112"),u=n("5135"),c=n("b622"),h=n("c430"),d=c("iterator"),p=!1,f=function(){return this};[].keys&&(o=[].keys(),"next"in o?(r=s(s(o)),r!==Object.prototype&&(i=r)):p=!0);var g=void 0==i||a((function(){var t={};return i[d].call(t)!==t}));g&&(i={}),h&&!g||u(i,d)||l(i,d,f),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},b041:function(t,e,n){"use strict";var i=n("00ee"),r=n("f5df");t.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},b622:function(t,e,n){var i=n("da84"),r=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),l=n("fdbf"),u=r("wks"),c=i.Symbol,h=l?c:c&&c.withoutSetter||a;t.exports=function(t){return o(u,t)||(s&&o(c,t)?u[t]=c[t]:u[t]=h("Symbol."+t)),u[t]}},b727:function(t,e,n){var i=n("0366"),r=n("44ad"),o=n("7b0b"),a=n("50c4"),s=n("65f0"),l=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,c=4==t,h=6==t,d=7==t,p=5==t||h;return function(f,g,m,v){for(var y,b,_=o(f),x=r(_),w=i(g,m,3),S=a(x.length),C=0,k=v||s,M=e?k(f,S):n||d?k(f,0):void 0;S>C;C++)if((p||C in x)&&(y=x[C],b=w(y,C,_),t))if(e)M[C]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return C;case 2:l.call(M,y)}else switch(t){case 4:return!1;case 7:l.call(M,y)}return h?-1:u||c?c:M}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},c04e:function(t,e,n){var i=n("861d");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var i=n("da84"),r=n("ce4e"),o="__core-js_shared__",a=i[o]||r(o,{});t.exports=a},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var i=n("5135"),r=n("fc6a"),o=n("4d64").indexOf,a=n("d012");t.exports=function(t,e){var n,s=r(t),l=0,u=[];for(n in s)!i(a,n)&&i(s,n)&&u.push(n);while(e.length>l)i(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},cc12:function(t,e,n){var i=n("da84"),r=n("861d"),o=i.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},ce4e:function(t,e,n){var i=n("da84"),r=n("9112");t.exports=function(t,e){try{r(i,t,e)}catch(n){i[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var i=n("428f"),r=n("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(i[t])||o(r[t]):i[t]&&i[t][e]||r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},d28b:function(t,e,n){var i=n("746f");i("iterator")},d2bb:function(t,e,n){var i=n("825a"),r=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(o){}return function(n,o){return i(n),r(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(t,e,n){var i=n("00ee"),r=n("6eeb"),o=n("b041");i||r(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(t,e,n){var i=n("9bf2").f,r=n("5135"),o=n("b622"),a=o("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,a)&&i(t,a,{configurable:!0,value:e})}},d784:function(t,e,n){"use strict";n("ac1f");var i=n("6eeb"),r=n("d039"),o=n("b622"),a=n("9263"),s=n("9112"),l=o("species"),u=!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),c=function(){return"$0"==="a".replace(/./,"$0")}(),h=o("replace"),d=function(){return!!/./[h]&&""===/./[h]("a","$0")}(),p=!r((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,h){var f=o(t),g=!r((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),m=g&&!r((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return e=!0,null},n[f](""),!e}));if(!g||!m||"replace"===t&&(!u||!c||d)||"split"===t&&!p){var v=/./[f],y=n(f,""[t],(function(t,e,n,i,r){return e.exec===a?g&&!r?{done:!0,value:v.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),b=y[0],_=y[1];i(String.prototype,t,b),i(RegExp.prototype,f,2==e?function(t,e){return _.call(t,this,e)}:function(t){return _.call(t,this)})}h&&s(RegExp.prototype[f],"sham",!0)}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},ddb0:function(t,e,n){var i=n("da84"),r=n("fdbc"),o=n("e260"),a=n("9112"),s=n("b622"),l=s("iterator"),u=s("toStringTag"),c=o.values;for(var h in r){var d=i[h],p=d&&d.prototype;if(p){if(p[l]!==c)try{a(p,l,c)}catch(g){p[l]=c}if(p[u]||a(p,u,h),r[h])for(var f in o)if(p[f]!==o[f])try{a(p,f,o[f])}catch(g){p[f]=o[f]}}}},df75:function(t,e,n){var i=n("ca84"),r=n("7839");t.exports=Object.keys||function(t){return i(t,r)}},e01a:function(t,e,n){"use strict";var i=n("23e7"),r=n("83ab"),o=n("da84"),a=n("5135"),s=n("861d"),l=n("9bf2").f,u=n("e893"),c=o.Symbol;if(r&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var h={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new c(t):void 0===t?c():c(t);return""===t&&(h[e]=!0),e};u(d,c);var p=d.prototype=c.prototype;p.constructor=d;var f=p.toString,g="Symbol(test)"==String(c("test")),m=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=f.call(t);if(a(h,t))return"";var n=g?e.slice(7,-1):e.replace(m,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:d})}},e163:function(t,e,n){var i=n("5135"),r=n("7b0b"),o=n("f772"),a=n("e177"),s=o("IE_PROTO"),l=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=r(t),i(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},e177:function(t,e,n){var i=n("d039");t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var i=n("fc6a"),r=n("44d2"),o=n("3f8c"),a=n("69f3"),s=n("7dd0"),l="Array Iterator",u=a.set,c=a.getterFor(l);t.exports=s(Array,"Array",(function(t,e){u(this,{type:l,target:i(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},e538:function(t,e,n){var i=n("b622");e.f=i},e893:function(t,e,n){var i=n("5135"),r=n("56ef"),o=n("06cf"),a=n("9bf2");t.exports=function(t,e){for(var n=r(e),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];i(t,c)||s(t,c,l(e,c))}}},e8b5:function(t,e,n){var i=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==i(t)}},f5df:function(t,e,n){var i=n("00ee"),r=n("c6b6"),o=n("b622"),a=o("toStringTag"),s="Arguments"==r(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=i?r:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=Object(t),a))?n:s?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},f772:function(t,e,n){var i=n("5692"),r=n("90e3"),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var i=window.document.currentScript,r=n("8875");i=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var o=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}function a(t){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function u(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("5319"),n("ac1f"),n("4d63"),n("25f0"),n("99af");var c=function(){return!(!window.ActiveXobject&&!("ActiveXObject"in window))},h=function(){return!!/Trident\/7\./.test(navigator.userAgent)},d=function(t){return c()||h()?t.removeNode(!0):t.remove(),t},p=function(){function t(e){s(this,t),this.standards={strict:"strict",loose:"loose",html5:"html5"},this.previewBody=null,this.close=null,this.previewBodyUtilPrintBtn=null,this.selectArray=[],this.counter=0,this.settings={standard:this.standards.html5},Object.assign(this.settings,e),this.init()}return u(t,[{key:"init",value:function(){this.counter++,this.settings.id="printArea_".concat(this.counter);var t="";this.settings.url&&!this.settings.asyncUrl&&(t=this.settings.url);var e=this;if(this.settings.asyncUrl)e.settings.asyncUrl((function(t){var n=e.getPrintWindow(t);e.settings.preview?e.previewIfrmaeLoad():e.print(n)}),e.settings.vue);else{var n=this.getPrintWindow(t);this.settings.url||this.write(n.doc),this.settings.preview?this.previewIfrmaeLoad():this.print(n)}}},{key:"addEvent",value:function(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n}},{key:"previewIfrmaeLoad",value:function(){var t=document.getElementById("vue-pirnt-nb-previewBox");if(t){var e=this,n=t.querySelector("iframe");this.settings.previewBeforeOpenCallback(),this.addEvent(n,"load",(function(){e.previewBoxShow(),e.removeCanvasImg(),e.settings.previewOpenCallback()})),this.addEvent(t.querySelector(".previewBodyUtilPrintBtn"),"click",(function(){e.settings.beforeOpenCallback(),e.settings.openCallback(),n.contentWindow.print(),e.settings.closeCallback()}))}}},{key:"removeCanvasImg",value:function(){var t=this;try{if(t.elsdom)for(var e=t.elsdom.querySelectorAll(".canvasImg"),n=0;n<e.length;n++)d(e[n])}catch(i){console.log(i)}}},{key:"print",value:function(t){var e=this,n=document.getElementById(this.settings.id)||t.f,i=document.getElementById(this.settings.id).contentWindow||t.f.contentWindow,r=function(){i.focus(),e.settings.openCallback(),i.print(),d(n),e.settings.closeCallback(),e.removeCanvasImg()};e.settings.beforeOpenCallback(),e.addEvent(n,"load",(function(){r()}))}},{key:"write",value:function(t){t.open(),t.write("".concat(this.docType(),"<html>").concat(this.getHead()).concat(this.getBody(),"</html>")),t.close()}},{key:"docType",value:function(){if(this.settings.standard===this.standards.html5)return"<!DOCTYPE html>";var t=this.settings.standard===this.standards.loose?" Transitional":"",e=this.settings.standard===this.standards.loose?"loose":"strict";return'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01'.concat(t,'//EN" "http://www.w3.org/TR/html4/').concat(e,'.dtd">')}},{key:"getHead",value:function(){var t="",e="",n="";this.settings.extraHead&&this.settings.extraHead.replace(/([^,]+)/g,(function(e){t+=e})),[].forEach.call(document.querySelectorAll("link"),(function(t){t.href.indexOf(".css")>=0&&(e+='<link type="text/css" rel="stylesheet" href="'.concat(t.href,'" >'))}));var i=document.styleSheets;if(i&&i.length>0)for(var r=0;r<i.length;r++)try{if(i[r].cssRules||i[r].rules)for(var o=i[r].cssRules||i[r].rules,a=0;a<o.length;a++)n+=o[a].cssText}catch(s){console.log(i[r].href+s)}return this.settings.extraCss&&this.settings.extraCss.replace(/([^,\s]+)/g,(function(t){e+='<link type="text/css" rel="stylesheet" href="'.concat(t,'">')})),"<head><title>".concat(this.settings.popTitle,"</title>").concat(t).concat(e,'<style type="text/css">').concat(n,"</style></head>")}},{key:"getBody",value:function(){var t=this.settings.ids;t=t.replace(new RegExp("#","g"),""),this.elsdom=this.beforeHanler(document.getElementById(t));var e=this.getFormData(this.elsdom),n=e.outerHTML;return"<body>"+n+"</body>"}},{key:"beforeHanler",value:function(t){for(var e=t.querySelectorAll("canvas"),n=0;n<e.length;n++)if(!e[n].style.display){var i=e[n].parentNode,r=e[n].toDataURL("image/png"),o=new Image;o.className="canvasImg",o.style.display="none",o.src=r,i.appendChild(o)}return t}},{key:"getFormData",value:function(t){for(var e=t.cloneNode(!0),n=e.querySelectorAll("input,select,textarea"),i=e.querySelectorAll(".canvasImg,canvas"),r=-1,o=0;o<i.length;o++){var a=i[o].parentNode,s=i[o];"canvas"===s.tagName.toLowerCase()?a.removeChild(s):s.style.display="block"}for(var l=0;l<n.length;l++){var u=n[l],c=u.getAttribute("type"),h=n[l];if(c||(c="SELECT"===u.tagName?"select":"TEXTAREA"===u.tagName?"textarea":""),"INPUT"===u.tagName)"radio"===c||"checkbox"===c?u.checked&&h.setAttribute("checked",u.checked):(h.value=u.value,h.setAttribute("value",u.value));else if("select"===c){r++;for(var d=0;d<t.querySelectorAll("select").length;d++){var p=t.querySelectorAll("select")[d];if(!p.getAttribute("newbs")&&p.setAttribute("newbs",d),p.getAttribute("newbs")==r){var f=t.querySelectorAll("select")[r].selectedIndex;u.options[f].setAttribute("selected",!0)}}}else h.innerHTML=u.value,h.setAttribute("html",u.value)}return e}},{key:"getPrintWindow",value:function(t){var e=this.Iframe(t);return{f:e,win:e.contentWindow||e,doc:e.doc}}},{key:"previewBoxShow",value:function(){var t=document.getElementById("vue-pirnt-nb-previewBox");t&&(document.querySelector("html").setAttribute("style","overflow: hidden"),t.style.display="block")}},{key:"previewBoxHide",value:function(){var t=document.getElementById("vue-pirnt-nb-previewBox");t&&(document.querySelector("html").setAttribute("style","overflow: visible;"),t.querySelector("iframe")&&d(t.querySelector("iframe")),t.style.display="none")}},{key:"previewBox",value:function(){var t=document.getElementById("vue-pirnt-nb-previewBox"),e="previewBody";if(t)return t.querySelector("iframe")&&d(t.querySelector("iframe")),{close:t.querySelector(".previewClose"),previewBody:t.querySelector(".".concat(e))};var n=document.createElement("div");n.setAttribute("id","vue-pirnt-nb-previewBox"),n.setAttribute("style","position: fixed;top: 0px;left: 0px;width: 100%;height: 100%;background: white;display:none"),n.style.zIndex=this.settings.zIndex;var i=document.createElement("div");i.setAttribute("class","previewHeader"),i.setAttribute("style","padding: 5px 20px;"),i.innerHTML=this.settings.previewTitle,n.appendChild(i),this.close=document.createElement("div");var r=this.close;r.setAttribute("class","previewClose"),r.setAttribute("style","position: absolute;top: 5px;right: 20px;width: 25px;height: 20px;cursor: pointer;");var o=document.createElement("div"),a=document.createElement("div");o.setAttribute("class","closeBefore"),o.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(45deg); top: 0px;left: 50%;"),a.setAttribute("class","closeAfter"),a.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(-45deg); top: 0px;left: 50%;"),r.appendChild(o),r.appendChild(a),i.appendChild(r),this.previewBody=document.createElement("div");var s=this.previewBody;s.setAttribute("class",e),s.setAttribute("style","display: flex;flex-direction: column; height: 100%;"),n.appendChild(s);var l=document.createElement("div");l.setAttribute("class","previewBodyUtil"),l.setAttribute("style","height: 32px;background: #474747;position: relative;"),s.appendChild(l),this.previewBodyUtilPrintBtn=document.createElement("div");var u=this.previewBodyUtilPrintBtn;return u.setAttribute("class","previewBodyUtilPrintBtn"),u.innerHTML=this.settings.previewPrintBtnLabel,u.setAttribute("style","position: absolute;padding: 2px 10px;margin-top: 3px;left: 24px;font-size: 14px;color: white;cursor: pointer;background-color: rgba(0,0,0,.12);background-image: linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,0));background-clip: padding-box;border: 1px solid rgba(0,0,0,.35);border-color: rgba(0,0,0,.32) rgba(0,0,0,.38) rgba(0,0,0,.42);box-shadow: inset 0 1px 0 hsla(0,0%,100%,.05), inset 0 0 1px hsla(0,0%,100%,.15), 0 1px 0 hsla(0,0%,100%,.05);"),l.appendChild(u),document.body.appendChild(n),{close:this.close,previewBody:this.previewBody}}},{key:"iframeBox",value:function(t,e){var n=document.createElement("iframe");return n.style.border="0px",n.style.position="absolute",n.style.width="0px",n.style.height="0px",n.style.right="0px",n.style.top="0px",n.setAttribute("id",t),n.setAttribute("src",e),n}},{key:"Iframe",value:function(t){var e=this.settings.id;t=t||(new Date).getTime();var n=this,i=this.iframeBox(e,t);try{if(this.settings.preview){i.setAttribute("style","border: 0px;flex: 1;");var r=this.previewBox(),o=r.previewBody,a=r.close;o.appendChild(i),this.addEvent(a,"click",(function(){n.previewBoxHide()}))}else document.body.appendChild(i);i.doc=null,i.doc=i.contentDocument?i.contentDocument:i.contentWindow?i.contentWindow.document:i.document}catch(s){throw new Error(s+". iframes may not be supported in this browser.")}if(null==i.doc)throw new Error("Cannot find document.");return i}}]),t}(),f=function(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},g={directiveName:"print",bind:function(t,e,n){var i=n.context,r="";f(t,"click",(function(){i.$nextTick((function(){var t,n;if(null!==e&&void 0!==e&&null!==(t=e.value)&&void 0!==t&&t.clickMounted&&e.value.clickMounted(i),"string"===typeof e.value)r=e.value,o();else if("object"===a(e.value)&&e.value.id){r=e.value.id;var s=r.replace(new RegExp("#","g"),""),l=document.getElementById(s);l||(console.log("id in Error"),r=""),o()}else{if(null===e||void 0===e||null===(n=e.value)||void 0===n||!n.preview)return void window.print();o()}}))}));var o=function(){new p({ids:r,vue:i,url:e.value.url,standard:"",extraHead:e.value.extraHead,extraCss:e.value.extraCss,previewTitle:e.value.previewTitle||"打印预览",zIndex:e.value.zIndex||20002,previewPrintBtnLabel:e.value.previewPrintBtnLabel||"打印",popTitle:e.value.popTitle,preview:e.value.preview||!1,asyncUrl:e.value.asyncUrl,previewBeforeOpenCallback:function(){e.value.previewBeforeOpenCallback&&e.value.previewBeforeOpenCallback(i)},previewOpenCallback:function(){e.value.previewOpenCallback&&e.value.previewOpenCallback(i)},openCallback:function(){e.value.openCallback&&e.value.openCallback(i)},closeCallback:function(){e.value.closeCallback&&e.value.closeCallback(i)},beforeOpenCallback:function(){e.value.beforeOpenCallback&&e.value.beforeOpenCallback(i)}})}},install:function(t){t.directive("print",g)}},m=g;e["default"]=m},fc6a:function(t,e,n){var i=n("44ad"),r=n("1d80");t.exports=function(t){return i(r(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var i=n("4930");t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}))},"7ba0":function(t,e){function n(){this.buffer=[],this.length=0}n.prototype={get:function(t){const e=Math.floor(t/8);return 1===(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(let n=0;n<e;n++)this.putBit(1===(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},t.exports=n},"7bf0":function(t,e){let n;const i=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return i[t]},e.getBCHDigit=function(t){let e=0;while(0!==t)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!==typeof t)throw new Error('"toSJISFunc" is not a valid function.');n=t},e.isKanjiModeEnabled=function(){return"undefined"!==typeof n},e.toSJIS=function(t){return n(t)}},"7c73":function(t,e,n){var i,r=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),u=n("cc12"),c=n("f772"),h=">",d="<",p="prototype",f="script",g=c("IE_PROTO"),m=function(){},v=function(t){return d+f+h+t+d+"/"+f+h},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=u("iframe"),n="java"+f+":";return e.style.display="none",l.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},_=function(){try{i=new ActiveXObject("htmlfile")}catch(e){}_="undefined"!=typeof document?document.domain&&i?y(i):b():y(i);var t=a.length;while(t--)delete _[p][a[t]];return _()};s[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(m[p]=r(t),n=new m,m[p]=null,n[g]=t):n=_(),void 0===e?n:o.f(n,e)}},"7cb9":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,n){s(this,e);var i=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.number=parseInt(t,10),i}return u(e,t),i(e,[{key:"encode",value:function(){var t=this.number,e="";while(!isNaN(t)&&0!=t)t%2===0?(e="11100"+e,t=(t-2)/2):(e="100"+e,t=(t-1)/2);return e=e.slice(0,-2),{data:e,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e}(o.default);e.pharmacode=c},"7cbe":function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("24e8"),o=n("4e73"),a=n("c474"),s=n("dde5"),l=n("f376"),u=n("87e8");e["a"]=i["a"].extend({name:"QPopupProxy",mixins:[l["b"],u["a"],a["a"]],props:{breakpoint:{type:[String,Number],default:450}},data(){const t=parseInt(this.breakpoint,10);return{type:this.$q.screen.width<t||this.$q.screen.height<t?"dialog":"menu"}},computed:{parsedBreakpoint(){return parseInt(this.breakpoint,10)},onEvents(){return{...this.qListeners,hide:this.__onHide}}},watch:{"$q.screen.width"(t){!0!==this.$refs.popup.showing&&this.__updateType(t,this.$q.screen.height,this.parsedBreakpoint)},"$q.screen.height"(t){!0!==this.$refs.popup.showing&&this.__updateType(this.$q.screen.width,t,this.parsedBreakpoint)},breakpoint(t){!0!==this.$refs.popup.showing&&this.__updateType(this.$q.screen.width,this.$q.screen.height,parseInt(t,10))}},methods:{toggle(t){this.$refs.popup.toggle(t)},show(t){this.$refs.popup.show(t)},hide(t){this.$refs.popup.hide(t)},__onHide(t){this.__updateType(this.$q.screen.width,this.$q.screen.height,this.parsedBreakpoint),this.$emit("hide",t)},__updateType(t,e,n){const i=t<n||e<n?"dialog":"menu";this.type!==i&&(this.type=i)}},render(t){const e=Object(s["c"])(this,"default"),n="menu"===this.type&&void 0!==e&&void 0!==e[0]&&void 0!==e[0].componentOptions&&void 0!==e[0].componentOptions.Ctor&&void 0!==e[0].componentOptions.Ctor.sealedOptions&&["QDate","QTime","QCarousel","QColor"].includes(e[0].componentOptions.Ctor.sealedOptions.name)?{cover:!0,maxHeight:"99vh"}:{},i={ref:"popup",props:{...n,...this.qAttrs},on:this.onEvents};let a;return"dialog"===this.type?a=r["a"]:(a=o["a"],i.props.target=this.target,i.props.contextMenu=this.contextMenu,i.props.noParentEvent=!0,i.props.separateClosePopup=!0),t(a,i,e)}})},"7d6e":function(t,e,n){},"7dd0":function(t,e,n){"use strict";var i=n("23e7"),r=n("c65b"),o=n("c430"),a=n("5e77"),s=n("1626"),l=n("9ed3"),u=n("e163"),c=n("d2bb"),h=n("d44e"),d=n("9112"),p=n("cb2d"),f=n("b622"),g=n("3f8c"),m=n("ae93"),v=a.PROPER,y=a.CONFIGURABLE,b=m.IteratorPrototype,_=m.BUGGY_SAFARI_ITERATORS,x=f("iterator"),w="keys",S="values",C="entries",k=function(){return this};t.exports=function(t,e,n,a,f,m,M){l(n,e,a);var O,T,A,I=function(t){if(t===f&&j)return j;if(!_&&t in D)return D[t];switch(t){case w:return function(){return new n(this,t)};case S:return function(){return new n(this,t)};case C:return function(){return new n(this,t)}}return function(){return new n(this)}},P=e+" Iterator",E=!1,D=t.prototype,L=D[x]||D["@@iterator"]||f&&D[f],j=!_&&L||I(f),R="Array"==e&&D.entries||L;if(R&&(O=u(R.call(new t)),O!==Object.prototype&&O.next&&(o||u(O)===b||(c?c(O,b):s(O[x])||p(O,x,k)),h(O,P,!0,!0),o&&(g[P]=k))),v&&f==S&&L&&L.name!==S&&(!o&&y?d(D,"name",S):(E=!0,j=function(){return r(L,this)})),f)if(T={values:I(S),keys:m?j:I(w),entries:I(C)},M)for(A in T)(_||E||!(A in D))&&p(D,A,T[A]);else i({target:e,proto:!0,forced:_||E},T);return o&&!M||D[x]===j||p(D,x,j,{name:f}),g[e]=j,T}},"7ee0":function(t,e,n){"use strict";var i=n("0967"),r=n("463c"),o=n("87e8");e["a"]={mixins:[r["a"],o["a"]],props:{value:{type:Boolean,default:void 0}},data(){return{showing:!1}},watch:{value(t){this.__processModelChange(t)},$route(){!0===this.hideOnRouteChange&&!0===this.showing&&this.hide()}},methods:{toggle(t){this[!0===this.showing?"hide":"show"](t)},show(t){!0===this.disable||void 0!==this.__showCondition&&!0!==this.__showCondition(t)||(void 0!==this.qListeners.input&&!1===i["e"]&&(this.$emit("input",!0),this.payload=t,this.$nextTick((()=>{this.payload===t&&(this.payload=void 0)}))),void 0!==this.value&&void 0!==this.qListeners.input&&!0!==i["e"]||this.__processShow(t))},__processShow(t){!0!==this.showing&&(void 0!==this.__preparePortal&&this.__preparePortal(),this.showing=!0,this.$emit("before-show",t),void 0!==this.__show?(this.__clearTick(),this.__show(t),this.__prepareTick()):this.$emit("show",t))},hide(t){!0!==this.disable&&(void 0!==this.qListeners.input&&!1===i["e"]&&(this.$emit("input",!1),this.payload=t,this.$nextTick((()=>{this.payload===t&&(this.payload=void 0)}))),void 0!==this.value&&void 0!==this.qListeners.input&&!0!==i["e"]||this.__processHide(t))},__processHide(t){!1!==this.showing&&(this.showing=!1,this.$emit("before-hide",t),void 0!==this.__hide?(this.__clearTick(),this.__hide(t),this.__prepareTick()):this.$emit("hide",t))},__processModelChange(t){!0===this.disable&&!0===t?void 0!==this.qListeners.input&&this.$emit("input",!1):!0===t!==this.showing&&this["__process"+(!0===t?"Show":"Hide")](this.payload)}}}},"7f67":function(t,e,n){"use strict";var i=n("9e62"),r=n("d728");function o(t){if(!1===t)return 0;if(!0===t||void 0===t)return 1;const e=parseInt(t,10);return isNaN(e)?0:e}function a(t){const e=t.__qclosepopup;void 0!==e&&(t.removeEventListener("click",e.handler),t.removeEventListener("keyup",e.handlerKey),delete t.__qclosepopup)}e["a"]={name:"close-popup",bind(t,{value:e},n){void 0!==t.__qclosepopup&&(a(t),t.__qclosepopup_destroyed=!0);const s={depth:o(e),handler(t){0!==s.depth&&setTimeout((()=>{Object(i["b"])(n.componentInstance||n.context,t,s.depth)}))},handlerKey(t){!0===Object(r["a"])(t,13)&&s.handler(t)}};t.__qclosepopup=s,t.addEventListener("click",s.handler),t.addEventListener("keyup",s.handlerKey)},update(t,{value:e,oldValue:n}){void 0!==t.__qclosepopup&&e!==n&&(t.__qclosepopup.depth=o(e))},unbind(t){void 0===t.__qclosepopup_destroyed?a(t):delete t.__qclosepopup_destroyed}}},"7f9a":function(t,e,n){var i=n("da84"),r=n("1626"),o=n("8925"),a=i.WeakMap;t.exports=r(a)&&/native code/.test(o(a))},"805f":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("124f"),r=a(i),o=n("6e53");function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,n){return s(this,e),t+=(0,o.mod11)(t),t+=(0,o.mod10)(t),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return u(e,t),e}(r.default);e.default=c},8169:function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8");e["a"]=i["a"].extend({name:"QChatMessage",mixins:[r["a"]],props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String,labelSanitize:Boolean,nameSanitize:Boolean,textSanitize:Boolean,stampSanitize:Boolean},computed:{textClass(){return`q-message-text-content q-message-text-content--${this.op}`+(void 0!==this.textColor?` text-${this.textColor}`:"")},messageClass(){return`q-message-text q-message-text--${this.op}`+(void 0!==this.bgColor?` text-${this.bgColor}`:"")},containerClass(){return"q-message-container row items-end no-wrap"+(!0===this.sent?" reverse":"")},sizeClass(){if(void 0!==this.size)return`col-${this.size}`},op(){return!0===this.sent?"sent":"received"}},methods:{__wrapStamp(t,e){if(void 0!==this.$scopedSlots.stamp)return[e,t("div",{staticClass:"q-message-stamp"},this.$scopedSlots.stamp())];if(this.stamp){const n=!0===this.stampSanitize?"textContent":"innerHTML";return[e,t("div",{staticClass:"q-message-stamp",domProps:{[n]:this.stamp}})]}return[e]},__getText(t,e,n){const i=!0===this.textSanitize?"textContent":"innerHTML";if(!0===n&&!0===e.some((t=>void 0===t.tag&&void 0!==t.text)))return[t("div",{class:this.messageClass},[t("div",{class:this.textClass},this.__wrapStamp(t,t("div",e)))])];const r=!0!==n?e=>t("div",{domProps:{[i]:e}}):e.length>1?t=>t:e=>t("div",[e]);return e.map(((e,n)=>t("div",{key:n,class:this.messageClass},[t("div",{class:this.textClass},this.__wrapStamp(t,r(e)))])))}},render(t){const e=[];void 0!==this.$scopedSlots.avatar?e.push(this.$scopedSlots.avatar()):void 0!==this.avatar&&e.push(t("img",{class:`q-message-avatar q-message-avatar--${this.op}`,attrs:{src:this.avatar,"aria-hidden":"true"}}));const n=[];void 0!==this.$scopedSlots.name?n.push(t("div",{class:`q-message-name q-message-name--${this.op}`},this.$scopedSlots.name())):void 0!==this.name&&n.push(t("div",{class:`q-message-name q-message-name--${this.op}`,domProps:{[!0===this.nameSanitize?"textContent":"innerHTML"]:this.name}})),void 0!==this.text&&n.push(this.__getText(t,this.text)),void 0!==this.$scopedSlots.default&&n.push(this.__getText(t,this.$scopedSlots.default(),!0)),e.push(t("div",{class:this.sizeClass},n));const i=[];return void 0!==this.$scopedSlots.label?i.push(t("div",{staticClass:"q-message-label"},this.$scopedSlots.label())):void 0!==this.label&&i.push(t("div",{staticClass:"q-message-label",domProps:{[!0===this.labelSanitize?"textContent":"innerHTML"]:this.label}})),i.push(t("div",{class:this.containerClass},e)),t("div",{class:`q-message q-message-${this.op}`,on:{...this.qListeners}},i)}})},"81d5":function(t,e,n){"use strict";var i=n("7b0b"),r=n("23cb"),o=n("07fa");t.exports=function(t){var e=i(this),n=o(e),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:r(l,n);while(u>s)e[s++]=t;return e}},"81e7":function(t,e,n){"use strict";n.d(e,"c",(function(){return x})),n.d(e,"a",(function(){return w}));n("caad");var i=n("c0a8"),r=n("0967"),o=n("09f9"),a=(n("5319"),n("2b0e")),s=n("d882");const l={isActive:!1,mode:!1,install(t,e,{dark:n}){if(this.isActive=!0===n,!0===r["e"])return e.server.push(((t,e)=>{t.dark={isActive:!1,mode:!1,set:n=>{e.ssr.Q_BODY_CLASSES=e.ssr.Q_BODY_CLASSES.replace(" body--light","").replace(" body--dark","")+" body--"+(!0===n?"dark":"light"),t.dark.isActive=!0===n,t.dark.mode=n},toggle:()=>{t.dark.set(!1===t.dark.isActive)}},t.dark.set(n)})),void(this.set=s["g"]);const i=void 0!==n&&n;if(!0===r["c"]){const t=t=>{this.__fromSSR=t},n=this.set;this.set=t,t(i),e.takeover.push((()=>{this.set=n,this.set(this.__fromSSR)}))}else this.set(i);a["a"].util.defineReactive(this,"isActive",this.isActive),a["a"].util.defineReactive(t,"dark",this)},set(t){this.mode=t,"auto"===t?(void 0===this.__media&&(this.__media=window.matchMedia("(prefers-color-scheme: dark)"),this.__updateMedia=()=>{this.set("auto")},this.__media.addListener(this.__updateMedia)),t=this.__media.matches):void 0!==this.__media&&(this.__media.removeListener(this.__updateMedia),this.__media=void 0),this.isActive=!0===t,document.body.classList.remove("body--"+(!0===t?"light":"dark")),document.body.classList.add("body--"+(!0===t?"dark":"light"))},toggle(){l.set(!1===l.isActive)},__media:void 0};var u=l,c=n("582c"),h=n("ec5d");n("d9e2");function d(t,e,n=document.body){if("string"!==typeof t)throw new TypeError("Expected a string as color");if("string"!==typeof e)throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-color-${t}`,e)}var p=n("d728");function f(t){return!0===t.ios?"ios":!0===t.android?"android":void 0}function g({is:t,has:e,within:n},i){const r=[!0===t.desktop?"desktop":"mobile",(!1===e.touch?"no-":"")+"touch"];if(!0===t.mobile){const e=f(t);void 0!==e&&r.push("platform-"+e)}if(!0===t.nativeMobile){const e=t.nativeMobileWrapper;r.push(e),r.push("native-mobile"),!0!==t.ios||void 0!==i[e]&&!1===i[e].iosStatusBarPadding||r.push("q-ios-padding")}else!0===t.electron?r.push("electron"):!0===t.bex&&r.push("bex");return!0===n.iframe&&r.push("within-iframe"),r}function m(){const t=document.body.className;let e=t;void 0!==r["d"]&&(e=e.replace("desktop","platform-ios mobile")),!0===r["a"].has.touch&&(e=e.replace("no-touch","touch")),!0===r["a"].within.iframe&&(e+=" within-iframe"),t!==e&&(document.body.className=e)}function v(t){for(const e in t)d(e,t[e])}var y={install(t,e){if(!0!==r["e"]){if(!0===r["c"])m();else{const t=g(r["a"],e);!0===r["a"].is.ie&&11===r["a"].is.versionNumber?t.forEach((t=>document.body.classList.add(t))):document.body.classList.add.apply(document.body.classList,t)}void 0!==e.brand&&v(e.brand),!0===r["a"].is.ios&&document.body.addEventListener("touchstart",s["g"]),window.addEventListener("keydown",p["b"],!0)}else t.server.push(((t,n)=>{const i=g(t.platform,e),r=n.ssr.setBodyClasses;void 0!==e.screen&&!0===e.screen.bodyClass&&i.push("screen--xs"),"function"===typeof r?r(i):n.ssr.Q_BODY_CLASSES=i.join(" ")}))}},b=n("9071");const _=[r["b"],o["a"],u],x={server:[],takeover:[]},w={version:i["a"],config:{}};e["b"]=function(t,e={}){if(!0===this.__qInstalled)return;this.__qInstalled=!0;const n=w.config=Object.freeze(e.config||{});if(r["b"].install(w,x),y.install(x,n),u.install(w,x,n),o["a"].install(w,x,n),c["a"].install(n),h["a"].install(w,x,e.lang),b["a"].install(w,x,e.iconSet),!0===r["e"]?t.mixin({beforeCreate(){this.$q=this.$root.$options.$q}}):t.prototype.$q=w,e.components&&Object.keys(e.components).forEach((n=>{const i=e.components[n];"function"===typeof i&&t.component(i.options.name,i)})),e.directives&&Object.keys(e.directives).forEach((n=>{const i=e.directives[n];void 0!==i.name&&void 0!==i.unbind&&t.directive(i.name,i)})),e.plugins){const t={$q:w,queues:x,cfg:n};Object.keys(e.plugins).forEach((n=>{const i=e.plugins[n];"function"===typeof i.install&&!1===_.includes(i)&&i.install(t)}))}}},"823b":function(t,e,n){"use strict";var i=n("2b0e"),r=n("ae22"),o=n("dde5");e["a"]=i["a"].extend({name:"QTabPanel",mixins:[r["a"]],render(t){return t("div",{staticClass:"q-tab-panel",on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"825a":function(t,e,n){var i=n("861d"),r=String,o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not an object")}},"83ab":function(t,e,n){var i=n("d039");t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(t,e,n){"use strict";var i=n("d925"),r=n("e683");t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},8418:function(t,e,n){"use strict";var i=n("a04b"),r=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var a=i(e);a in t?r.f(t,a,o(0,n)):t[a]=n}},"848b":function(t,e,n){"use strict";var i=n("4a0c"),r={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){r[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={},a=i.version.split(".");function s(t,e){for(var n=e?e.split("."):a,i=t.split("."),r=0;r<3;r++){if(n[r]>i[r])return!0;if(n[r]<i[r])return!1}return!1}function l(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var i=Object.keys(t),r=i.length;while(r-- >0){var o=i[r],a=e[o];if(a){var s=t[o],l=void 0===s||a(s,o,t);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}}r.transitional=function(t,e,n){var r=e&&s(e);function a(t,e){return"[Axios v"+i.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,i,s){if(!1===t)throw new Error(a(i," has been removed in "+e));return r&&!o[i]&&(o[i]=!0,console.warn(a(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,s)}},t.exports={isOlderVersion:s,assertOptions:l,validators:r}},8572:function(t,e,n){"use strict";var i=n("2b0e"),r=n("0967"),o=n("0016"),a=n("0d59");n("caad"),n("ddb0");const s=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,l=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,u=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,c=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,h=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,d={date:t=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(t),time:t=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(t),fulltime:t=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(t),timeOrFulltime:t=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(t),email:t=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t),hexColor:t=>s.test(t),hexaColor:t=>l.test(t),hexOrHexaColor:t=>u.test(t),rgbColor:t=>c.test(t),rgbaColor:t=>h.test(t),rgbOrRgbaColor:t=>c.test(t)||h.test(t),hexOrRgbColor:t=>s.test(t)||c.test(t),hexaOrRgbaColor:t=>l.test(t)||h.test(t),anyColor:t=>u.test(t)||c.test(t)||h.test(t)};var p=n("1c16");const f=[!0,!1,"ondemand"];var g={props:{value:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],validator:t=>f.includes(t)}},data(){return{isDirty:null,innerError:!1,innerErrorMessage:void 0}},watch:{value(){this.__validateIfNeeded()},disable(t){!0===t?this.__resetValidation():this.__validateIfNeeded(!0)},reactiveRules:{handler(t){!0===t?void 0===this.unwatchRules&&(this.unwatchRules=this.$watch("rules",(()=>{this.__validateIfNeeded(!0)}))):void 0!==this.unwatchRules&&(this.unwatchRules(),this.unwatchRules=void 0)},immediate:!0},focused(t){!0===t?null===this.isDirty&&(this.isDirty=!1):!1===this.isDirty&&(this.isDirty=!0,!0===this.hasActiveRules&&"ondemand"!==this.lazyRules&&!1===this.innerLoading&&this.debouncedValidate())},hasError(t){const e=document.getElementById(this.targetUid);null!==e&&e.setAttribute("aria-invalid",!0===t)}},computed:{hasRules(){return void 0!==this.rules&&null!==this.rules&&this.rules.length>0},hasActiveRules(){return!0!==this.disable&&!0===this.hasRules},hasError(){return!0===this.error||!0===this.innerError},computedErrorMessage(){return"string"===typeof this.errorMessage&&this.errorMessage.length>0?this.errorMessage:this.innerErrorMessage}},created(){this.debouncedValidate=Object(p["a"])(this.validate,0)},mounted(){this.validateIndex=0},beforeDestroy(){void 0!==this.unwatchRules&&this.unwatchRules(),this.debouncedValidate.cancel()},methods:{resetValidation(){this.isDirty=null,this.__resetValidation()},validate(t=this.value){if(!0!==this.hasActiveRules)return!0;const e=++this.validateIndex;!0!==this.innerLoading&&!0!==this.lazyRules&&(this.isDirty=!0);const n=(t,e)=>{this.innerError!==t&&(this.innerError=t);const n=e||void 0;this.innerErrorMessage!==n&&(this.innerErrorMessage=n),!1!==this.innerLoading&&(this.innerLoading=!1)},i=[];for(let r=0;r<this.rules.length;r++){const e=this.rules[r];let o;if("function"===typeof e?o=e(t):"string"===typeof e&&void 0!==d[e]&&(o=d[e](t)),!1===o||"string"===typeof o)return n(!0,o),!1;!0!==o&&void 0!==o&&i.push(o)}return 0===i.length?(n(!1),!0):(!0!==this.innerLoading&&(this.innerLoading=!0),Promise.all(i).then((t=>{if(void 0===t||!1===Array.isArray(t)||0===t.length)return e===this.validateIndex&&n(!1),!0;const i=t.find((t=>!1===t||"string"===typeof t));return e===this.validateIndex&&n(void 0!==i,i),void 0===i}),(t=>(e===this.validateIndex&&(console.error(t),n(!0)),!1))))},__resetValidation(){this.debouncedValidate.cancel(),this.validateIndex++,this.innerLoading=!1,this.innerError=!1,this.innerErrorMessage=void 0},__validateIfNeeded(t){!0===this.hasActiveRules&&"ondemand"!==this.lazyRules&&(!0===this.isDirty||!0!==this.lazyRules&&!0!==t)&&this.debouncedValidate()}}},m=n("b7fa"),v=n("f376"),y=n("dde5");n("5cc6"),n("907a"),n("735e"),n("3c5d"),n("219c"),n("fa9e"),n("77d9");let b,_=0;const x=new Array(256);for(let T=0;T<256;T++)x[T]=(T+256).toString(16).substr(1);const w=(()=>{const t="undefined"!==typeof crypto?crypto:"undefined"!==typeof window?window.msCrypto:void 0;if(void 0!==t){if(void 0!==t.randomBytes)return t.randomBytes;if(void 0!==t.getRandomValues)return e=>{var n=new Uint8Array(e);return t.getRandomValues(n),n}}return t=>{const e=[];for(let n=t;n>0;n--)e.push(Math.floor(256*Math.random()));return e}})(),S=4096;var C=function(){(void 0===b||_+16>S)&&(_=0,b=w(S));const t=Array.prototype.slice.call(b,_,_+=16);return t[6]=15&t[6]|64,t[8]=63&t[8]|128,x[t[0]]+x[t[1]]+x[t[2]]+x[t[3]]+"-"+x[t[4]]+x[t[5]]+"-"+x[t[6]]+x[t[7]]+"-"+x[t[8]]+x[t[9]]+"-"+x[t[10]]+x[t[11]]+x[t[12]]+x[t[13]]+x[t[14]]+x[t[15]]},k=n("d882"),M=n("e704");function O(t){return void 0===t?`f_${C()}`:t}e["a"]=i["a"].extend({name:"QField",mixins:[m["a"],g,v["b"]],inheritAttrs:!1,props:{label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String,maxlength:[Number,String],maxValues:[Number,String]},data(){return{focused:!1,targetUid:O(this.for),innerLoading:!1}},watch:{for(t){this.targetUid=O(t)}},computed:{editable(){return!0!==this.disable&&!0!==this.readonly},hasValue(){const t=void 0===this.__getControl?this.value:this.innerValue;return void 0!==t&&null!==t&&(""+t).length>0},computedCounter(){if(!1!==this.counter){const t="string"===typeof this.value||"number"===typeof this.value?(""+this.value).length:!0===Array.isArray(this.value)?this.value.length:0,e=void 0!==this.maxlength?this.maxlength:this.maxValues;return t+(void 0!==e?" / "+e:"")}},floatingLabel(){return!0===this.stackLabel||!0===this.focused||"string"===typeof this.inputValue&&this.inputValue.length>0||!0!==this.hideSelected&&!0===this.hasValue||void 0!==this.displayValue&&null!==this.displayValue&&(""+this.displayValue).length>0},shouldRenderBottom(){return!0===this.bottomSlots||void 0!==this.hint||!0===this.hasRules||!0===this.counter||null!==this.error},classes(){return{[this.fieldClass]:void 0!==this.fieldClass,[`q-field--${this.styleType}`]:!0,"q-field--rounded":this.rounded,"q-field--square":this.square,"q-field--focused":!0===this.focused,"q-field--highlighted":!0===this.focused||!0===this.hasError,"q-field--float":this.floatingLabel,"q-field--labeled":this.hasLabel,"q-field--dense":this.dense,"q-field--item-aligned q-item-type":this.itemAligned,"q-field--dark":this.isDark,"q-field--auto-height":void 0===this.__getControl,"q-field--with-bottom":!0!==this.hideBottomSpace&&!0===this.shouldRenderBottom,"q-field--error":this.hasError,"q-field--readonly":!0===this.readonly&&!0!==this.disable,"q-field--disabled":!0===this.disable}},styleType(){return!0===this.filled?"filled":!0===this.outlined?"outlined":!0===this.borderless?"borderless":this.standout?"standout":"standard"},contentClass(){const t=[];if(!0===this.hasError)t.push("text-negative");else{if("string"===typeof this.standout&&this.standout.length>0&&!0===this.focused)return this.standout;void 0!==this.color&&t.push("text-"+this.color)}return void 0!==this.bgColor&&t.push(`bg-${this.bgColor}`),t},hasLabel(){return!0===this.labelSlot||void 0!==this.label},labelClass(){if(void 0!==this.labelColor&&!0!==this.hasError)return"text-"+this.labelColor},controlSlotScope(){return{id:this.targetUid,field:this.$el,editable:this.editable,focused:this.focused,floatingLabel:this.floatingLabel,value:this.value,emitValue:this.__emitValue}},bottomSlotScope(){return{id:this.targetUid,field:this.$el,editable:this.editable,focused:this.focused,value:this.value,errorMessage:this.computedErrorMessage}},attrs(){const t={for:this.targetUid};return!0===this.disable?t["aria-disabled"]="true":!0===this.readonly&&(t["aria-readonly"]="true"),t}},methods:{focus(){Object(M["a"])(this.__focus)},blur(){Object(M["c"])(this.__focus);const t=document.activeElement;null!==t&&this.$el.contains(t)&&t.blur()},__focus(){const t=document.activeElement;let e=this.$refs.target;void 0===e||null!==t&&t.id===this.targetUid||(!0===e.hasAttribute("tabindex")||(e=e.querySelector("[tabindex]")),null!==e&&e!==t&&e.focus({preventScroll:!0}))},__getContent(t){const e=[];return void 0!==this.$scopedSlots.prepend&&e.push(t("div",{staticClass:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",on:this.slotsEvents},this.$scopedSlots.prepend())),e.push(t("div",{staticClass:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},this.__getControlContainer(t))),!0===this.hasError&&!1===this.noErrorIcon&&e.push(this.__getInnerAppendNode(t,"error",[t(o["a"],{props:{name:this.$q.iconSet.field.error,color:"negative"}})])),!0===this.loading||!0===this.innerLoading?e.push(this.__getInnerAppendNode(t,"inner-loading-append",void 0!==this.$scopedSlots.loading?this.$scopedSlots.loading():[t(a["a"],{props:{color:this.color}})])):!0===this.clearable&&!0===this.hasValue&&!0===this.editable&&e.push(this.__getInnerAppendNode(t,"inner-clearable-append",[t(o["a"],{staticClass:"q-field__focusable-action",props:{tag:"button",name:this.clearIcon||this.$q.iconSet.field.clear},attrs:v["c"],on:this.clearableEvents})])),void 0!==this.$scopedSlots.append&&e.push(t("div",{staticClass:"q-field__append q-field__marginal row no-wrap items-center",key:"append",on:this.slotsEvents},this.$scopedSlots.append())),void 0!==this.__getInnerAppend&&e.push(this.__getInnerAppendNode(t,"inner-append",this.__getInnerAppend(t))),void 0!==this.__getControlChild&&e.push(this.__getControlChild(t)),e},__getControlContainer(t){const e=[];return void 0!==this.prefix&&null!==this.prefix&&e.push(t("div",{staticClass:"q-field__prefix no-pointer-events row items-center"},[this.prefix])),!0===this.hasShadow&&void 0!==this.__getShadowControl&&e.push(this.__getShadowControl(t)),void 0!==this.__getControl?e.push(this.__getControl(t)):void 0!==this.$scopedSlots.rawControl?e.push(this.$scopedSlots.rawControl()):void 0!==this.$scopedSlots.control&&e.push(t("div",{ref:"target",staticClass:"q-field__native row",attrs:{tabindex:-1,...this.qAttrs,"data-autofocus":this.autofocus||void 0}},this.$scopedSlots.control(this.controlSlotScope))),!0===this.hasLabel&&e.push(t("div",{staticClass:"q-field__label no-pointer-events absolute ellipsis",class:this.labelClass},[Object(y["c"])(this,"label",this.label)])),void 0!==this.suffix&&null!==this.suffix&&e.push(t("div",{staticClass:"q-field__suffix no-pointer-events row items-center"},[this.suffix])),e.concat(void 0!==this.__getDefaultSlot?this.__getDefaultSlot(t):Object(y["c"])(this,"default"))},__getBottom(t){let e,n;!0===this.hasError?(n="q--slot-error",void 0!==this.$scopedSlots.error?e=this.$scopedSlots.error(this.bottomSlotScope):void 0!==this.computedErrorMessage&&(e=[t("div",{attrs:{role:"alert"}},[this.computedErrorMessage])],n=this.computedErrorMessage)):!0===this.hideHint&&!0!==this.focused||(n="q--slot-hint",void 0!==this.$scopedSlots.hint?e=this.$scopedSlots.hint(this.bottomSlotScope):void 0!==this.hint&&(e=[t("div",[this.hint])],n=this.hint));const i=!0===this.counter||void 0!==this.$scopedSlots.counter;if(!0===this.hideBottomSpace&&!1===i&&void 0===e)return;const r=t("div",{key:n,staticClass:"q-field__messages col"},e);return t("div",{staticClass:"q-field__bottom row items-start q-field__bottom--"+(!0!==this.hideBottomSpace?"animated":"stale")},[!0===this.hideBottomSpace?r:t("transition",{props:{name:"q-transition--field-message"}},[r]),!0===i?t("div",{staticClass:"q-field__counter"},void 0!==this.$scopedSlots.counter?this.$scopedSlots.counter():[this.computedCounter]):null])},__getInnerAppendNode(t,e,n){return null===n?null:t("div",{staticClass:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip",key:e},n)},__onControlPopupShow(t){void 0!==t&&Object(k["k"])(t),this.$emit("popup-show",t),this.hasPopupOpen=!0,this.__onControlFocusin(t)},__onControlPopupHide(t){void 0!==t&&Object(k["k"])(t),this.$emit("popup-hide",t),this.hasPopupOpen=!1,this.__onControlFocusout(t)},__onControlFocusin(t){clearTimeout(this.focusoutTimer),!0===this.editable&&!1===this.focused&&(this.focused=!0,this.$emit("focus",t))},__onControlFocusout(t,e){clearTimeout(this.focusoutTimer),this.focusoutTimer=setTimeout((()=>{(!0!==document.hasFocus()||!0!==this.hasPopupOpen&&void 0!==this.$refs&&void 0!==this.$refs.control&&!1===this.$refs.control.contains(document.activeElement))&&(!0===this.focused&&(this.focused=!1,this.$emit("blur",t)),void 0!==e&&e())}))},__clearValue(t){if(Object(k["l"])(t),!0!==this.$q.platform.is.mobile){const t=this.$refs.target||this.$el;t.focus()}else!0===this.$el.contains(document.activeElement)&&document.activeElement.blur();"file"===this.type&&(this.$refs.input.value=null),this.$emit("input",null),this.$emit("clear",this.value),this.$nextTick((()=>{this.resetValidation(),!0!==this.$q.platform.is.mobile&&(this.isDirty=!1)}))},__emitValue(t){this.$emit("input",t)}},render(t){void 0!==this.__onPreRender&&this.__onPreRender(),void 0!==this.__onPostRender&&this.$nextTick(this.__onPostRender);const e=void 0===this.__getControl&&void 0===this.$scopedSlots.control?{...this.qAttrs,"data-autofocus":this.autofocus||void 0,...this.attrs}:this.attrs;return t("label",{staticClass:"q-field q-validation-component row no-wrap items-start",class:this.classes,attrs:e},[void 0!==this.$scopedSlots.before?t("div",{staticClass:"q-field__before q-field__marginal row no-wrap items-center",on:this.slotsEvents},this.$scopedSlots.before()):null,t("div",{staticClass:"q-field__inner relative-position col self-stretch"},[t("div",{ref:"control",staticClass:"q-field__control relative-position row no-wrap",class:this.contentClass,attrs:{tabindex:-1},on:this.controlEvents},this.__getContent(t)),!0===this.shouldRenderBottom?this.__getBottom(t):null]),void 0!==this.$scopedSlots.after?t("div",{staticClass:"q-field__after q-field__marginal row no-wrap items-center",on:this.slotsEvents},this.$scopedSlots.after()):null])},created(){void 0!==this.__onPreRender&&this.__onPreRender(),this.slotsEvents={click:k["i"]},this.clearableEvents={click:this.__clearValue},this.controlEvents=void 0!==this.__getControlEvents?this.__getControlEvents():{focusin:this.__onControlFocusin,focusout:this.__onControlFocusout,"popup-show":this.__onControlPopupShow,"popup-hide":this.__onControlPopupHide}},mounted(){!0===r["c"]&&void 0===this.for&&(this.targetUid=O()),!0===this.autofocus&&this.focus()},activated(){!0===this.shouldActivate&&!0===this.autofocus&&this.focus()},deactivated(){this.shouldActivate=!0},beforeDestroy(){clearTimeout(this.focusoutTimer)}})},"85fc":function(t,e,n){"use strict";var i=n("b7fa"),r=n("d882"),o=n("f89c"),a=n("ff7b"),s=n("2b69"),l=n("dde5"),u=n("0cd3");e["a"]={mixins:[i["a"],a["a"],o["b"],s["a"]],props:{value:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:t=>"tf"===t||"ft"===t},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},computed:{isTrue(){return!0===this.modelIsArray?this.index>-1:this.value===this.trueValue},isFalse(){return!0===this.modelIsArray?-1===this.index:this.value===this.falseValue},isIndeterminate(){return!1===this.isTrue&&!1===this.isFalse},index(){if(!0===this.modelIsArray)return this.value.indexOf(this.val)},modelIsArray(){return void 0!==this.val&&Array.isArray(this.value)},computedTabindex(){return!0===this.disable?-1:this.tabindex||0},classes(){return`q-${this.type} cursor-pointer no-outline row inline no-wrap items-center`+(!0===this.disable?" disabled":"")+(!0===this.isDark?` q-${this.type}--dark`:"")+(!0===this.dense?` q-${this.type}--dense`:"")+(!0===this.leftLabel?" reverse":"")},innerClass(){const t=!0===this.isTrue?"truthy":!0===this.isFalse?"falsy":"indet",e=void 0===this.color||!0!==this.keepColor&&("toggle"===this.type?!0!==this.isTrue:!0===this.isFalse)?"":` text-${this.color}`;return`q-${this.type}__inner--${t}${e}`},formAttrs(){const t={type:"checkbox"};return void 0!==this.name&&Object.assign(t,{checked:this.isTrue,name:this.name,value:!0===this.modelIsArray?this.val:this.trueValue}),t},attrs(){const t={tabindex:this.computedTabindex,role:"checkbox","aria-label":this.label,"aria-checked":!0===this.isIndeterminate?"mixed":!0===this.isTrue?"true":"false"};return!0===this.disable&&(t["aria-disabled"]="true"),t}},methods:{toggle(t){void 0!==t&&(Object(r["l"])(t),this.__refocusTarget(t)),!0!==this.disable&&this.$emit("input",this.__getNextValue(),t)},__getNextValue(){if(!0===this.modelIsArray){if(!0===this.isTrue){const t=this.value.slice();return t.splice(this.index,1),t}return this.value.concat([this.val])}if(!0===this.isTrue){if("ft"!==this.toggleOrder||!1===this.toggleIndeterminate)return this.falseValue}else{if(!0!==this.isFalse)return"ft"!==this.toggleOrder?this.trueValue:this.falseValue;if("ft"===this.toggleOrder||!1===this.toggleIndeterminate)return this.trueValue}return this.indeterminateValue},__onKeydown(t){13!==t.keyCode&&32!==t.keyCode||Object(r["l"])(t)},__onKeyup(t){13!==t.keyCode&&32!==t.keyCode||this.toggle(t)}},render(t){const e=this.__getInner(t);!0!==this.disable&&this.__injectFormInput(e,"unshift",`q-${this.type}__native absolute q-ma-none q-pa-none`);const n=[t("div",{staticClass:`q-${this.type}__inner relative-position non-selectable`,class:this.innerClass,style:this.sizeStyle},e)];void 0!==this.__refocusTargetEl&&n.push(this.__refocusTargetEl);const i=void 0!==this.label?Object(l["a"])([this.label],this,"default"):Object(l["c"])(this,"default");return void 0!==i&&n.push(t("div",{staticClass:`q-${this.type}__label q-anchor--skip`},i)),t("div",{class:this.classes,attrs:this.attrs,on:Object(u["b"])(this,"inpExt",{click:this.toggle,keydown:this.__onKeydown,keyup:this.__onKeyup})},n)}}},"861d":function(t,e,n){var i=n("1626");t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},8716:function(t,e,n){"use strict";n("5319");const i={to:[String,Object],exact:Boolean,append:Boolean,replace:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};e["a"]={props:i,computed:{hasHrefLink(){return!0!==this.disable&&void 0!==this.href},hasRouterLinkProps(){return void 0!==this.$router&&!0!==this.disable&&!0!==this.hasHrefLink&&void 0!==this.to&&null!==this.to&&""!==this.to},linkRoute(){if(!0===this.hasRouterLinkProps)try{return!0===this.append?this.$router.resolve(this.to,this.$route,!0):this.$router.resolve(this.to)}catch(t){}return null},hasRouterLink(){return null!==this.linkRoute},hasLink(){return!0===this.hasHrefLink||!0===this.hasRouterLink},linkTag(){return!0===this.hasRouterLink?"router-link":"a"===this.type||!0===this.hasLink?"a":this.tag||this.fallbackTag||"div"},linkProps(){return!0===this.hasHrefLink?{attrs:{href:this.href,target:this.target}}:!0===this.hasRouterLink?{props:{to:this.to,exact:this.exact,append:this.append,replace:this.replace,activeClass:this.activeClass,exactActiveClass:this.exactActiveClass},attrs:{href:this.linkRoute.href,target:this.target}}:{}}}}},"87e8":function(t,e,n){"use strict";var i=n("0cd3");e["a"]=Object(i["c"])("$listeners","qListeners")},8861:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("124f"),r=a(i),o=n("6e53");function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,n){return s(this,e),t+=(0,o.mod10)(t),t+=(0,o.mod10)(t),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return u(e,t),e}(r.default);e.default=c},8925:function(t,e,n){var i=n("e330"),r=n("1626"),o=n("c6cd"),a=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},"89a2":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(i):void 0},o=n("c243"),a=n("bdfe"),s=l(a);function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){var e=t.substr(0,12).split("").map((function(t){return+t})).reduce((function(t,e,n){return n%2?t+3*e:t+e}),0);return(10-e%10)%10},p=function(t){function e(t,n){u(this,e),-1!==t.search(/^[0-9]{12}$/)&&(t+=d(t));var i=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.lastChar=n.lastChar,i}return h(e,t),i(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===d(this.data)}},{key:"leftText",value:function(){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var t=this.data.substr(1,6),n=o.EAN13_STRUCTURE[this.data[0]];return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,n)}},{key:"rightText",value:function(){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var t=this.data.substr(7,6);return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRRRR")}},{key:"encodeGuarded",value:function(){var t=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(t.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(t.push({data:"00"}),t.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),t}}]),e}(s.default);e.default=p},"8aa5":function(t,e,n){"use strict";var i=n("6547").charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"8aa7":function(t,e,n){var i=n("da84"),r=n("d039"),o=n("1c7e"),a=n("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=i.ArrayBuffer,l=i.Int8Array;t.exports=!a||!r((function(){l(1)}))||!r((function(){new l(-1)}))||!o((function(t){new l,new l(null),new l(1.5),new l(t)}),!0)||r((function(){return 1!==new l(new s(2),1,void 0).length}))},"8c4f":function(t,e,n){"use strict";
- /*!
- * vue-router v3.5.3
- * (c) 2021 Evan You
- * @license MIT
- */function i(t,e){for(var n in e)t[n]=e[n];return t}var r=/[!'()*]/g,o=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(r,o).replace(a,",")};function l(t){try{return decodeURIComponent(t)}catch(e){0}return t}function u(t,e,n){void 0===e&&(e={});var i,r=n||h;try{i=r(t||"")}catch(s){i={}}for(var o in e){var a=e[o];i[o]=Array.isArray(a)?a.map(c):c(a)}return i}var c=function(t){return null==t||"object"===typeof t?t:String(t)};function h(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),i=l(n.shift()),r=n.length>0?l(n.join("=")):null;void 0===e[i]?e[i]=r:Array.isArray(e[i])?e[i].push(r):e[i]=[e[i],r]})),e):e}function d(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return s(e);if(Array.isArray(n)){var i=[];return n.forEach((function(t){void 0!==t&&(null===t?i.push(s(e)):i.push(s(e)+"="+s(t)))})),i.join("&")}return s(e)+"="+s(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var p=/\/?$/;function f(t,e,n,i){var r=i&&i.options.stringifyQuery,o=e.query||{};try{o=g(o)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:y(e,r),matched:t?v(t):[]};return n&&(a.redirectedFrom=y(n,r)),Object.freeze(a)}function g(t){if(Array.isArray(t))return t.map(g);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=g(t[n]);return e}return t}var m=f(null,{path:"/"});function v(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function y(t,e){var n=t.path,i=t.query;void 0===i&&(i={});var r=t.hash;void 0===r&&(r="");var o=e||d;return(n||"/")+o(i)+r}function b(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(p,"")===e.path.replace(p,"")&&(n||t.hash===e.hash&&_(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params))))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),i=Object.keys(e).sort();return n.length===i.length&&n.every((function(n,r){var o=t[n],a=i[r];if(a!==n)return!1;var s=e[n];return null==o||null==s?o===s:"object"===typeof o&&"object"===typeof s?_(o,s):String(o)===String(s)}))}function x(t,e){return 0===t.path.replace(p,"/").indexOf(e.path.replace(p,"/"))&&(!e.hash||t.hash===e.hash)&&w(t.query,e.query)}function w(t,e){for(var n in e)if(!(n in t))return!1;return!0}function S(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var i in n.instances){var r=n.instances[i],o=n.enteredCbs[i];if(r&&o){delete n.enteredCbs[i];for(var a=0;a<o.length;a++)r._isBeingDestroyed||o[a](r)}}}}var C={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,a=e.data;a.routerView=!0;var s=o.$createElement,l=n.name,u=o.$route,c=o._routerViewCache||(o._routerViewCache={}),h=0,d=!1;while(o&&o._routerRoot!==o){var p=o.$vnode?o.$vnode.data:{};p.routerView&&h++,p.keepAlive&&o._directInactive&&o._inactive&&(d=!0),o=o.$parent}if(a.routerViewDepth=h,d){var f=c[l],g=f&&f.component;return g?(f.configProps&&k(g,a,f.route,f.configProps),s(g,a,r)):s()}var m=u.matched[h],v=m&&m.components[l];if(!m||!v)return c[l]=null,s();c[l]={component:v},a.registerRouteInstance=function(t,e){var n=m.instances[l];(e&&n!==t||!e&&n===t)&&(m.instances[l]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){m.instances[l]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==m.instances[l]&&(m.instances[l]=t.componentInstance),S(u)};var y=m.props&&m.props[l];return y&&(i(c[l],{route:u,configProps:y}),k(v,a,u,y)),s(v,a,r)}};function k(t,e,n,r){var o=e.props=M(n,r);if(o){o=e.props=i({},o);var a=e.attrs=e.attrs||{};for(var s in o)t.props&&s in t.props||(a[s]=o[s],delete o[s])}}function M(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function O(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?r.pop():"."!==s&&r.push(s)}return""!==r[0]&&r.unshift(""),r.join("/")}function T(t){var e="",n="",i=t.indexOf("#");i>=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}function A(t){return t.replace(/\/+/g,"/")}var I=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},P=K,E=B,D=N,L=V,j=X,R=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function B(t,e){var n,i=[],r=0,o=0,a="",s=e&&e.delimiter||"/";while(null!=(n=R.exec(t))){var l=n[0],u=n[1],c=n.index;if(a+=t.slice(o,c),o=c+l.length,u)a+=u[1];else{var h=t[o],d=n[2],p=n[3],f=n[4],g=n[5],m=n[6],v=n[7];a&&(i.push(a),a="");var y=null!=d&&null!=h&&h!==d,b="+"===m||"*"===m,_="?"===m||"*"===m,x=n[2]||s,w=f||g;i.push({name:p||r++,prefix:d||"",delimiter:x,optional:_,repeat:b,partial:y,asterisk:!!v,pattern:w?$(w):v?".*":"[^"+q(x)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&i.push(a),i}function N(t,e){return V(B(t,e),e)}function F(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function z(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function V(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"===typeof t[i]&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",G(e)));return function(e,i){for(var r="",o=e||{},a=i||{},s=a.pretty?F:encodeURIComponent,l=0;l<t.length;l++){var u=t[l];if("string"!==typeof u){var c,h=o[u.name];if(null==h){if(u.optional){u.partial&&(r+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(I(h)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var d=0;d<h.length;d++){if(c=s(h[d]),!n[l].test(c))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(c)+"`");r+=(0===d?u.prefix:u.delimiter)+c}}else{if(c=u.asterisk?z(h):s(h),!n[l].test(c))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+c+'"');r+=u.prefix+c}}else r+=u}return r}}function q(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function $(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function H(t,e){return t.keys=e,t}function G(t){return t&&t.sensitive?"":"i"}function W(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return H(t,e)}function U(t,e,n){for(var i=[],r=0;r<t.length;r++)i.push(K(t[r],e,n).source);var o=new RegExp("(?:"+i.join("|")+")",G(n));return H(o,e)}function Y(t,e,n){return X(B(t,n),e,n)}function X(t,e,n){I(e)||(n=e||n,e=[]),n=n||{};for(var i=n.strict,r=!1!==n.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"===typeof s)o+=q(s);else{var l=q(s.prefix),u="(?:"+s.pattern+")";e.push(s),s.repeat&&(u+="(?:"+l+u+")*"),u=s.optional?s.partial?l+"("+u+")?":"(?:"+l+"("+u+"))?":l+"("+u+")",o+=u}}var c=q(n.delimiter||"/"),h=o.slice(-c.length)===c;return i||(o=(h?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=r?"$":i&&h?"":"(?="+c+"|$)",H(new RegExp("^"+o,G(n)),e)}function K(t,e,n){return I(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?W(t,e):I(t)?U(t,e,n):Y(t,e,n)}P.parse=E,P.compile=D,P.tokensToFunction=L,P.tokensToRegExp=j;var Z=Object.create(null);function Q(t,e,n){e=e||{};try{var i=Z[t]||(Z[t]=P.compile(t));return"string"===typeof e.pathMatch&&(e[0]=e.pathMatch),i(e,{pretty:!0})}catch(r){return""}finally{delete e[0]}}function J(t,e,n,r){var o="string"===typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){o=i({},t);var a=o.params;return a&&"object"===typeof a&&(o.params=i({},a)),o}if(!o.path&&o.params&&e){o=i({},o),o._normalized=!0;var s=i(i({},e.params),o.params);if(e.name)o.name=e.name,o.params=s;else if(e.matched.length){var l=e.matched[e.matched.length-1].path;o.path=Q(l,s,"path "+e.path)}else 0;return o}var c=T(o.path||""),h=e&&e.path||"/",d=c.path?O(c.path,h,n||o.append):h,p=u(c.query,o.query,r&&r.options.parseQuery),f=o.hash||c.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:d,query:p,hash:f}}var tt,et=[String,Object],nt=[String,Array],it=function(){},rt={name:"RouterLink",props:{to:{type:et,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:nt,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,s=o.route,l=o.href,u={},c=n.options.linkActiveClass,h=n.options.linkExactActiveClass,d=null==c?"router-link-active":c,p=null==h?"router-link-exact-active":h,g=null==this.activeClass?d:this.activeClass,m=null==this.exactActiveClass?p:this.exactActiveClass,v=s.redirectedFrom?f(null,J(s.redirectedFrom),null,n):s;u[m]=b(r,v,this.exactPath),u[g]=this.exact||this.exactPath?u[m]:x(r,v);var y=u[m]?this.ariaCurrentValue:null,_=function(t){ot(t)&&(e.replace?n.replace(a,it):n.push(a,it))},w={click:ot};Array.isArray(this.event)?this.event.forEach((function(t){w[t]=_})):w[this.event]=_;var S={class:u},C=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:_,isActive:u[g],isExactActive:u[m]});if(C){if(1===C.length)return C[0];if(C.length>1||!C.length)return 0===C.length?t():t("span",{},C)}if("a"===this.tag)S.on=w,S.attrs={href:l,"aria-current":y};else{var k=at(this.$slots.default);if(k){k.isStatic=!1;var M=k.data=i({},k.data);for(var O in M.on=M.on||{},M.on){var T=M.on[O];O in w&&(M.on[O]=Array.isArray(T)?T:[T])}for(var A in w)A in M.on?M.on[A].push(w[A]):M.on[A]=_;var I=k.data.attrs=i({},k.data.attrs);I.href=l,I["aria-current"]=y}else S.on=w}return t(this.tag,S,this.$slots.default)}};function ot(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function at(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=at(e.children)))return e}}function st(t){if(!st.installed||tt!==t){st.installed=!0,tt=t;var e=function(t){return void 0!==t},n=function(t,n){var i=t.$options._parentVnode;e(i)&&e(i=i.data)&&e(i=i.registerRouteInstance)&&i(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",C),t.component("RouterLink",rt);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}}var lt="undefined"!==typeof window;function ut(t,e,n,i,r){var o=e||[],a=n||Object.create(null),s=i||Object.create(null);t.forEach((function(t){ct(o,a,s,t,r)}));for(var l=0,u=o.length;l<u;l++)"*"===o[l]&&(o.push(o.splice(l,1)[0]),u--,l--);return{pathList:o,pathMap:a,nameMap:s}}function ct(t,e,n,i,r,o){var a=i.path,s=i.name;var l=i.pathToRegexpOptions||{},u=dt(a,r,l.strict);"boolean"===typeof i.caseSensitive&&(l.sensitive=i.caseSensitive);var c={path:u,regex:ht(u,l),components:i.components||{default:i.component},alias:i.alias?"string"===typeof i.alias?[i.alias]:i.alias:[],instances:{},enteredCbs:{},name:s,parent:r,matchAs:o,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};if(i.children&&i.children.forEach((function(i){var r=o?A(o+"/"+i.path):void 0;ct(t,e,n,i,c,r)})),e[c.path]||(t.push(c.path),e[c.path]=c),void 0!==i.alias)for(var h=Array.isArray(i.alias)?i.alias:[i.alias],d=0;d<h.length;++d){var p=h[d];0;var f={path:p,children:i.children};ct(t,e,n,f,r,c.path||"/")}s&&(n[s]||(n[s]=c))}function ht(t,e){var n=P(t,[],e);return n}function dt(t,e,n){return n||(t=t.replace(/\/$/,"")),"/"===t[0]||null==e?t:A(e.path+"/"+t)}function pt(t,e){var n=ut(t),i=n.pathList,r=n.pathMap,o=n.nameMap;function a(t){ut(t,i,r,o)}function s(t,e){var n="object"!==typeof t?o[t]:void 0;ut([e||t],i,r,o,n),n&&n.alias.length&&ut(n.alias.map((function(t){return{path:t,children:[e]}})),i,r,o,n)}function l(){return i.map((function(t){return r[t]}))}function u(t,n,a){var s=J(t,n,!1,e),l=s.name;if(l){var u=o[l];if(!u)return d(null,s);var c=u.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof s.params&&(s.params={}),n&&"object"===typeof n.params)for(var h in n.params)!(h in s.params)&&c.indexOf(h)>-1&&(s.params[h]=n.params[h]);return s.path=Q(u.path,s.params,'named route "'+l+'"'),d(u,s,a)}if(s.path){s.params={};for(var p=0;p<i.length;p++){var f=i[p],g=r[f];if(ft(g.regex,s.path,s.params))return d(g,s,a)}}return d(null,s)}function c(t,n){var i=t.redirect,r="function"===typeof i?i(f(t,n,null,e)):i;if("string"===typeof r&&(r={path:r}),!r||"object"!==typeof r)return d(null,n);var a=r,s=a.name,l=a.path,c=n.query,h=n.hash,p=n.params;if(c=a.hasOwnProperty("query")?a.query:c,h=a.hasOwnProperty("hash")?a.hash:h,p=a.hasOwnProperty("params")?a.params:p,s){o[s];return u({_normalized:!0,name:s,query:c,hash:h,params:p},void 0,n)}if(l){var g=gt(l,t),m=Q(g,p,'redirect route with path "'+g+'"');return u({_normalized:!0,path:m,query:c,hash:h},void 0,n)}return d(null,n)}function h(t,e,n){var i=Q(n,e.params,'aliased route with path "'+n+'"'),r=u({_normalized:!0,path:i});if(r){var o=r.matched,a=o[o.length-1];return e.params=r.params,d(a,e)}return d(null,e)}function d(t,n,i){return t&&t.redirect?c(t,i||n):t&&t.matchAs?h(t,n,t.matchAs):f(t,n,i,e)}return{match:u,addRoute:s,getRoutes:l,addRoutes:a}}function ft(t,e,n){var i=e.match(t);if(!i)return!1;if(!n)return!0;for(var r=1,o=i.length;r<o;++r){var a=t.keys[r-1];a&&(n[a.name||"pathMatch"]="string"===typeof i[r]?l(i[r]):i[r])}return!0}function gt(t,e){return O(t,e.parent?e.parent.path:"/",!0)}var mt=lt&&window.performance&&window.performance.now?window.performance:Date;function vt(){return mt.now().toFixed(3)}var yt=vt();function bt(){return yt}function _t(t){return yt=t}var xt=Object.create(null);function wt(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=i({},window.history.state);return n.key=bt(),window.history.replaceState(n,"",e),window.addEventListener("popstate",kt),function(){window.removeEventListener("popstate",kt)}}function St(t,e,n,i){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick((function(){var o=Mt(),a=r.call(t,e,n,i?o:null);a&&("function"===typeof a.then?a.then((function(t){Dt(t,o)})).catch((function(t){0})):Dt(a,o))}))}}function Ct(){var t=bt();t&&(xt[t]={x:window.pageXOffset,y:window.pageYOffset})}function kt(t){Ct(),t.state&&t.state.key&&_t(t.state.key)}function Mt(){var t=bt();if(t)return xt[t]}function Ot(t,e){var n=document.documentElement,i=n.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-i.left-e.x,y:r.top-i.top-e.y}}function Tt(t){return Pt(t.x)||Pt(t.y)}function At(t){return{x:Pt(t.x)?t.x:window.pageXOffset,y:Pt(t.y)?t.y:window.pageYOffset}}function It(t){return{x:Pt(t.x)?t.x:0,y:Pt(t.y)?t.y:0}}function Pt(t){return"number"===typeof t}var Et=/^#\d/;function Dt(t,e){var n="object"===typeof t;if(n&&"string"===typeof t.selector){var i=Et.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(i){var r=t.offset&&"object"===typeof t.offset?t.offset:{};r=It(r),e=Ot(i,r)}else Tt(t)&&(e=At(t))}else n&&Tt(t)&&(e=At(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var Lt=lt&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"function"===typeof window.history.pushState)}();function jt(t,e){Ct();var n=window.history;try{if(e){var r=i({},n.state);r.key=bt(),n.replaceState(r,"",t)}else n.pushState({key:_t(vt())},"",t)}catch(o){window.location[e?"replace":"assign"](t)}}function Rt(t){jt(t,!0)}function Bt(t,e,n){var i=function(r){r>=t.length?n():t[r]?e(t[r],(function(){i(r+1)})):i(r+1)};i(0)}var Nt={redirected:2,aborted:4,cancelled:8,duplicated:16};function Ft(t,e){return $t(t,e,Nt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Gt(e)+'" via a navigation guard.')}function zt(t,e){var n=$t(t,e,Nt.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Vt(t,e){return $t(t,e,Nt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function qt(t,e){return $t(t,e,Nt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function $t(t,e,n,i){var r=new Error(i);return r._isRouter=!0,r.from=t,r.to=e,r.type=n,r}var Ht=["params","query","hash"];function Gt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return Ht.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function Wt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Ut(t,e){return Wt(t)&&t._isRouter&&(null==e||t.type===e)}function Yt(t){return function(e,n,i){var r=!1,o=0,a=null;Xt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){r=!0,o++;var l,u=Jt((function(e){Qt(e)&&(e=e.default),t.resolved="function"===typeof e?e:tt.extend(e),n.components[s]=e,o--,o<=0&&i()})),c=Jt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Wt(t)?t:new Error(e),i(a))}));try{l=t(u,c)}catch(d){c(d)}if(l)if("function"===typeof l.then)l.then(u,c);else{var h=l.component;h&&"function"===typeof h.then&&h.then(u,c)}}})),r||i()}}function Xt(t,e){return Kt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Kt(t){return Array.prototype.concat.apply([],t)}var Zt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Qt(t){return t.__esModule||Zt&&"Module"===t[Symbol.toStringTag]}function Jt(t){var e=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var te=function(t,e){this.router=t,this.base=ee(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ee(t){if(!t)if(lt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ne(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n<i;n++)if(t[n]!==e[n])break;return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function ie(t,e,n,i){var r=Xt(t,(function(t,i,r,o){var a=re(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,i,r,o)})):n(a,i,r,o)}));return Kt(i?r.reverse():r)}function re(t,e){return"function"!==typeof t&&(t=tt.extend(t)),t.options[e]}function oe(t){return ie(t,"beforeRouteLeave",se,!0)}function ae(t){return ie(t,"beforeRouteUpdate",se)}function se(t,e){if(e)return function(){return t.apply(e,arguments)}}function le(t){return ie(t,"beforeRouteEnter",(function(t,e,n,i){return ue(t,n,i)}))}function ue(t,e,n){return function(i,r,o){return t(i,r,(function(t){"function"===typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),o(t)}))}}te.prototype.listen=function(t){this.cb=t},te.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},te.prototype.onError=function(t){this.errorCbs.push(t)},te.prototype.transitionTo=function(t,e,n){var i,r=this;try{i=this.router.match(t,this.current)}catch(a){throw this.errorCbs.forEach((function(t){t(a)})),a}var o=this.current;this.confirmTransition(i,(function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.router.afterHooks.forEach((function(t){t&&t(i,o)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(t){t(i)})))}),(function(t){n&&n(t),t&&!r.ready&&(Ut(t,Nt.redirected)&&o===m||(r.ready=!0,r.readyErrorCbs.forEach((function(e){e(t)}))))}))},te.prototype.confirmTransition=function(t,e,n){var i=this,r=this.current;this.pending=t;var o=function(t){!Ut(t)&&Wt(t)&&(i.errorCbs.length?i.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},a=t.matched.length-1,s=r.matched.length-1;if(b(t,r)&&a===s&&t.matched[a]===r.matched[s])return this.ensureURL(),t.hash&&St(this.router,r,t,!1),o(zt(r,t));var l=ne(this.current.matched,t.matched),u=l.updated,c=l.deactivated,h=l.activated,d=[].concat(oe(c),this.router.beforeHooks,ae(u),h.map((function(t){return t.beforeEnter})),Yt(h)),p=function(e,n){if(i.pending!==t)return o(Vt(r,t));try{e(t,r,(function(e){!1===e?(i.ensureURL(!0),o(qt(r,t))):Wt(e)?(i.ensureURL(!0),o(e)):"string"===typeof e||"object"===typeof e&&("string"===typeof e.path||"string"===typeof e.name)?(o(Ft(r,t)),"object"===typeof e&&e.replace?i.replace(e):i.push(e)):n(e)}))}catch(a){o(a)}};Bt(d,p,(function(){var n=le(h),a=n.concat(i.router.resolveHooks);Bt(a,p,(function(){if(i.pending!==t)return o(Vt(r,t));i.pending=null,e(t),i.router.app&&i.router.app.$nextTick((function(){S(t)}))}))}))},te.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},te.prototype.setupListeners=function(){},te.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=m,this.pending=null};var ce=function(t){function e(e,n){t.call(this,e,n),this._startLocation=he(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=Lt&&n;i&&this.listeners.push(wt());var r=function(){var n=t.current,r=he(t.base);t.current===m&&r===t._startLocation||t.transitionTo(r,(function(t){i&&St(e,t,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){jt(A(i.base+t.fullPath)),St(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){Rt(A(i.base+t.fullPath)),St(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(he(this.base)!==this.current.fullPath){var e=A(this.base+this.current.fullPath);t?jt(e):Rt(e)}},e.prototype.getCurrentLocation=function(){return he(this.base)},e}(te);function he(t){var e=window.location.pathname,n=e.toLowerCase(),i=t.toLowerCase();return!t||n!==i&&0!==n.indexOf(A(i+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var de=function(t){function e(e,n,i){t.call(this,e,n),i&&pe(this.base)||fe()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=Lt&&n;i&&this.listeners.push(wt());var r=function(){var e=t.current;fe()&&t.transitionTo(ge(),(function(n){i&&St(t.router,n,e,!0),Lt||ye(n.fullPath)}))},o=Lt?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},e.prototype.push=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){ve(t.fullPath),St(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this,r=this,o=r.current;this.transitionTo(t,(function(t){ye(t.fullPath),St(i.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ge()!==e&&(t?ve(e):ye(e))},e.prototype.getCurrentLocation=function(){return ge()},e}(te);function pe(t){var e=he(t);if(!/^\/#/.test(e))return window.location.replace(A(t+"/#"+e)),!0}function fe(){var t=ge();return"/"===t.charAt(0)||(ye("/"+t),!1)}function ge(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),i=n>=0?e.slice(0,n):e;return i+"#"+t}function ve(t){Lt?jt(me(t)):window.location.hash=t}function ye(t){Lt?Rt(me(t)):window.location.replace(me(t))}var be=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,(function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var t=e.current;e.index=n,e.updateRoute(i),e.router.afterHooks.forEach((function(e){e&&e(i,t)}))}),(function(t){Ut(t,Nt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(te),_e=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=pt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Lt&&!1!==t.fallback,this.fallback&&(e="hash"),lt||(e="abstract"),this.mode=e,e){case"history":this.history=new ce(this,t.base);break;case"hash":this.history=new de(this,t.base,this.fallback);break;case"abstract":this.history=new be(this,t.base);break;default:0}},xe={currentRoute:{configurable:!0}};function we(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Se(t,e,n){var i="hash"===n?"#"+e:e;return t?A(t+"/"+i):i}_e.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},xe.currentRoute.get=function(){return this.history&&this.history.current},_e.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof ce||n instanceof de){var i=function(t){var i=n.current,r=e.options.scrollBehavior,o=Lt&&r;o&&"fullPath"in t&&St(e,t,i,!1)},r=function(t){n.setupListeners(),i(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},_e.prototype.beforeEach=function(t){return we(this.beforeHooks,t)},_e.prototype.beforeResolve=function(t){return we(this.resolveHooks,t)},_e.prototype.afterEach=function(t){return we(this.afterHooks,t)},_e.prototype.onReady=function(t,e){this.history.onReady(t,e)},_e.prototype.onError=function(t){this.history.onError(t)},_e.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.push(t,e,n)}));this.history.push(t,e,n)},_e.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){i.history.replace(t,e,n)}));this.history.replace(t,e,n)},_e.prototype.go=function(t){this.history.go(t)},_e.prototype.back=function(){this.go(-1)},_e.prototype.forward=function(){this.go(1)},_e.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},_e.prototype.resolve=function(t,e,n){e=e||this.history.current;var i=J(t,e,n,this),r=this.match(i,e),o=r.redirectedFrom||r.fullPath,a=this.history.base,s=Se(a,o,this.mode);return{location:i,route:r,href:s,normalizedTo:i,resolved:r}},_e.prototype.getRoutes=function(){return this.matcher.getRoutes()},_e.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},_e.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(_e.prototype,xe),_e.install=st,_e.version="3.5.3",_e.isNavigationFailure=Ut,_e.NavigationFailureType=Nt,_e.START_LOCATION=m,lt&&window.Vue&&window.Vue.use(_e),e["a"]=_e},"8d23":function(t,e,n){const i=n("2732");function r(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}r.prototype.initialize=function(t){this.degree=t,this.genPoly=i.generateECPolynomial(this.degree)},r.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const e=new Uint8Array(t.length+this.degree);e.set(t);const n=i.mod(e,this.genPoly),r=this.degree-n.length;if(r>0){const t=new Uint8Array(this.degree);return t.set(n,r),t}return n},t.exports=r},"8df4":function(t,e,n){"use strict";var i=n("7a77");function r(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new i(t),e(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t,e=new r((function(e){t=e}));return{token:e,cancel:t}},t.exports=r},"8e51":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var i=n("124f"),r=p(i),o=n("4727"),a=p(o),s=n("4461"),l=p(s),u=n("8861"),c=p(u),h=n("805f"),d=p(h);function p(t){return t&&t.__esModule?t:{default:t}}e.MSI=r.default,e.MSI10=a.default,e.MSI11=l.default,e.MSI1010=c.default,e.MSI1110=d.default},"8f8e":function(t,e,n){"use strict";var i=n("2b0e"),r=n("0016"),o=n("85fc");e["a"]=i["a"].extend({name:"QCheckbox",mixins:[o["a"]],computed:{computedIcon(){return!0===this.isTrue?this.checkedIcon:!0===this.isIndeterminate?this.indeterminateIcon:this.uncheckedIcon}},methods:{__getInner(t){return void 0!==this.computedIcon?[t("div",{key:"icon",staticClass:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[t(r["a"],{staticClass:"q-checkbox__icon",props:{name:this.computedIcon}})])]:[t("div",{key:"svg",staticClass:"q-checkbox__bg absolute"},[t("svg",{staticClass:"q-checkbox__svg fit absolute-full",attrs:{focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true"}},[t("path",{staticClass:"q-checkbox__truthy",attrs:{fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}}),t("path",{staticClass:"q-checkbox__indet",attrs:{d:"M4,14H20V10H4"}})])])]}},created(){this.type="checkbox"}})},9071:function(t,e,n){"use strict";var i=n("2b0e"),r=n("0967"),o=n("42d2");e["a"]={install(t,e,n){const a=n||o["a"];this.set=(e,n)=>{const i={...e};if(!0===r["e"]){if(void 0===n)return void console.error("SSR ERROR: second param required: Quasar.iconSet.set(iconSet, ssrContext)");i.set=n.$q.iconSet.set,n.$q.iconSet=i}else i.set=this.set,t.iconSet=i},!0===r["e"]?e.server.push(((t,e)=>{t.iconSet={},t.iconSet.set=t=>{this.set(t,e.ssr)},t.iconSet.set(a)})):(i["a"].util.defineReactive(t,"iconMapFn",void 0),i["a"].util.defineReactive(t,"iconSet",{}),this.set(a))}}},"907a":function(t,e,n){"use strict";var i=n("ebb5"),r=n("07fa"),o=n("5926"),a=i.aTypedArray,s=i.exportTypedArrayMethod;s("at",(function(t){var e=a(this),n=r(e),i=o(t),s=i>=0?i:n+i;return s<0||s>=n?void 0:e[s]}))},"90e3":function(t,e,n){var i=n("e330"),r=0,o=Math.random(),a=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++r+o,36)}},9112:function(t,e,n){var i=n("83ab"),r=n("9bf2"),o=n("5c6c");t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9152:function(t,e){
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
- e.read=function(t,e,n,i,r){var o,a,s=8*r-i-1,l=(1<<s)-1,u=l>>1,c=-7,h=n?r-1:0,d=n?-1:1,p=t[e+h];for(h+=d,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=i;c>0;a=256*a+t[e+h],h+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,i),o-=u}return(p?-1:1)*a*Math.pow(2,o-i)},e.write=function(t,e,n,i,r,o){var a,s,l,u=8*o-r-1,c=(1<<u)-1,h=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:o-1,f=i?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),e+=a+h>=1?d/l:d*Math.pow(2,1-h),e*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,r),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),a=0));r>=8;t[n+p]=255&s,p+=f,s/=256,r-=8);for(a=a<<r|s,u+=r;u>0;t[n+p]=255&a,p+=f,a/=256,u-=8);t[n+p-f]|=128*g}},"924f":function(t,e,n){const i=n("7bf0").getSymbolSize,r=7;e.getPositions=function(t){const e=i(t);return[[0,0],[e-r,0],[0,e-r]]}},9263:function(t,e,n){"use strict";var i=n("c65b"),r=n("e330"),o=n("577e"),a=n("ad6d"),s=n("9f7f"),l=n("5692"),u=n("7c73"),c=n("69f3").get,h=n("fce3"),d=n("107c"),p=l("native-string-replace",String.prototype.replace),f=RegExp.prototype.exec,g=f,m=r("".charAt),v=r("".indexOf),y=r("".replace),b=r("".slice),_=function(){var t=/a/,e=/b*/g;return i(f,t,"a"),i(f,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),x=s.BROKEN_CARET,w=void 0!==/()??/.exec("")[1],S=_||w||x||h||d;S&&(g=function(t){var e,n,r,s,l,h,d,S=this,C=c(S),k=o(t),M=C.raw;if(M)return M.lastIndex=S.lastIndex,e=i(g,M,k),S.lastIndex=M.lastIndex,e;var O=C.groups,T=x&&S.sticky,A=i(a,S),I=S.source,P=0,E=k;if(T&&(A=y(A,"y",""),-1===v(A,"g")&&(A+="g"),E=b(k,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==m(k,S.lastIndex-1))&&(I="(?: "+I+")",E=" "+E,P++),n=new RegExp("^(?:"+I+")",A)),w&&(n=new RegExp("^"+I+"$(?!\\s)",A)),_&&(r=S.lastIndex),s=i(f,T?n:S,E),T?s?(s.input=b(s.input,P),s[0]=b(s[0],P),s.index=S.lastIndex,S.lastIndex+=s[0].length):S.lastIndex=0:_&&s&&(S.lastIndex=S.global?s.index+s[0].length:r),w&&s&&s.length>1&&i(p,s[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)})),s&&O)for(s.groups=h=u(null),l=0;l<O.length;l++)d=O[l],h[d[0]]=s[d[1]];return s}),t.exports=g},"93bf":function(t,e,n){
- /*!
- * screenfull
- * v4.2.0 - 2019-04-01
- * (c) Sindre Sorhus; MIT License
- */
- (function(){"use strict";var e="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},n=t.exports,i="undefined"!==typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,r=function(){for(var t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,r=n.length,o={};i<r;i++)if(t=n[i],t&&t[1]in e){for(i=0;i<t.length;i++)o[n[0][i]]=t[i];return o}return!1}(),o={change:r.fullscreenchange,error:r.fullscreenerror},a={request:function(t){return new Promise(function(n){var o=r.requestFullscreen,a=function(){this.off("change",a),n()}.bind(this);t=t||e.documentElement,/ Version\/5\.1(?:\.\d+)? Safari\//.test(navigator.userAgent)?t[o]():t[o](i?Element.ALLOW_KEYBOARD_INPUT:{}),this.on("change",a)}.bind(this))},exit:function(){return new Promise(function(t){if(this.isFullscreen){var n=function(){this.off("change",n),t()}.bind(this);e[r.exitFullscreen](),this.on("change",n)}else t()}.bind(this))},toggle:function(t){return this.isFullscreen?this.exit():this.request(t)},onchange:function(t){this.on("change",t)},onerror:function(t){this.on("error",t)},on:function(t,n){var i=o[t];i&&e.addEventListener(i,n,!1)},off:function(t,n){var i=o[t];i&&e.removeEventListener(i,n,!1)},raw:r};r?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(e[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return e[r.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return Boolean(e[r.fullscreenEnabled])}}}),n?(t.exports=a,t.exports.default=a):window.screenfull=a):n?t.exports=!1:window.screenfull=!1})()},9404:function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("58e5"),o=n("7ee0"),a=n("efe6"),s=n("b7fa"),l=n("75c3"),u=n("7937"),c=n("dde5"),h=n("0cd3"),d=n("f376");const p=150,f=["mouseover","mouseout","mouseenter","mouseleave"];e["a"]=i["a"].extend({name:"QDrawer",inject:{layout:{default(){console.error("QDrawer needs to be child of QLayout")}}},mixins:[s["a"],r["a"],o["a"],a["a"]],directives:{TouchPan:l["a"]},props:{side:{type:String,default:"left",validator:t=>["left","right"].includes(t)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:t=>["default","desktop","mobile"].includes(t),default:"default"},bordered:Boolean,elevated:Boolean,contentStyle:[String,Object,Array],contentClass:[String,Object,Array],overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},data(){const t="mobile"===this.behavior||"desktop"!==this.behavior&&this.layout.totalWidth<=this.breakpoint;return{belowBreakpoint:t,showing:!0===this.showIfAbove&&!1===t||!0===this.value}},watch:{belowBreakpoint(t){!0===t?(this.lastDesktopState=this.showing,!0===this.showing&&this.hide(!1)):!1===this.overlay&&"mobile"!==this.behavior&&!1!==this.lastDesktopState&&(!0===this.showing?(this.__applyPosition(0),this.__applyBackdrop(0),this.__cleanup()):this.show(!1))},"layout.totalWidth"(){!0!==this.layout.container&&!0===document.qScrollPrevented||this.__updateBelowBreakpoint()},side(t,e){this.layout.instances[e]===this&&(this.layout.instances[e]=void 0,this.layout[e].space=!1,this.layout[e].offset=0),this.layout.instances[t]=this,this.layout[t].size=this.size,this.layout[t].space=this.onLayout,this.layout[t].offset=this.offset},behavior(){this.__updateBelowBreakpoint()},breakpoint(){this.__updateBelowBreakpoint()},"layout.container"(t){!0===this.showing&&this.__preventScroll(!0!==t),!0===t&&this.__updateBelowBreakpoint()},"layout.scrollbarWidth"(){this.__applyPosition(!0===this.showing?0:void 0)},offset(t){this.__update("offset",t)},onLayout(t){this.$emit("on-layout",t),this.__update("space",t)},rightSide(){this.__applyPosition()},size(t){this.__applyPosition(),this.__updateSizeOnLayout(this.miniToOverlay,t)},miniToOverlay(t){this.__updateSizeOnLayout(t,this.size)},"$q.lang.rtl"(){this.__applyPosition()},mini(){!0===this.value&&(this.__animateMini(),this.layout.__animate())},isMini(t){this.$emit("mini-state",t)}},computed:{rightSide(){return"right"===this.side},otherSide(){return!0===this.rightSide?"left":"right"},offset(){return!0===this.showing&&!1===this.belowBreakpoint&&!1===this.overlay?!0===this.miniToOverlay?this.miniWidth:this.size:0},size(){return!0===this.isMini?this.miniWidth:this.width},fixed(){return!0===this.overlay||!0===this.miniToOverlay||this.layout.view.indexOf(this.rightSide?"R":"L")>-1||this.$q.platform.is.ios&&!0===this.layout.container},onLayout(){return!0===this.showing&&!1===this.belowBreakpoint&&!1===this.overlay},onScreenOverlay(){return!0===this.showing&&!1===this.belowBreakpoint&&!0===this.overlay},backdropClass(){return!1===this.showing?"hidden":null},headerSlot(){return!0===this.rightSide?"r"===this.layout.rows.top[2]:"l"===this.layout.rows.top[0]},footerSlot(){return!0===this.rightSide?"r"===this.layout.rows.bottom[2]:"l"===this.layout.rows.bottom[0]},aboveStyle(){const t={};return!0===this.layout.header.space&&!1===this.headerSlot&&(!0===this.fixed?t.top=`${this.layout.header.offset}px`:!0===this.layout.header.space&&(t.top=`${this.layout.header.size}px`)),!0===this.layout.footer.space&&!1===this.footerSlot&&(!0===this.fixed?t.bottom=`${this.layout.footer.offset}px`:!0===this.layout.footer.space&&(t.bottom=`${this.layout.footer.size}px`)),t},style(){const t={width:`${this.size}px`};return!0===this.belowBreakpoint?t:Object.assign(t,this.aboveStyle)},classes(){return`q-drawer--${this.side}`+(!0===this.bordered?" q-drawer--bordered":"")+(!0===this.isDark?" q-drawer--dark q-dark":"")+(!0!==this.showing?" q-layout--prevent-focus":"")+(!0===this.belowBreakpoint?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":" q-drawer--"+(!0===this.isMini?"mini":"standard")+(!0===this.fixed||!0!==this.onLayout?" fixed":"")+(!0===this.overlay||!0===this.miniToOverlay?" q-drawer--on-top":"")+(!0===this.headerSlot?" q-drawer--top-padding":""))},stateDirection(){return(!0===this.$q.lang.rtl?-1:1)*(!0===this.rightSide?1:-1)},isMini(){return!0===this.mini&&!0!==this.belowBreakpoint},onNativeEvents(){if(!0!==this.belowBreakpoint){const t={"!click":t=>{this.$emit("click",t)}};return f.forEach((e=>{t[e]=t=>{void 0!==this.qListeners[e]&&this.$emit(e,t)}})),t}},hideOnRouteChange(){return!0!==this.persistent&&(!0===this.belowBreakpoint||!0===this.onScreenOverlay)},openDirective(){const t=!0===this.$q.lang.rtl?this.side:this.otherSide;return[{name:"touch-pan",value:this.__openByTouch,modifiers:{[t]:!0,mouse:!0}}]},contentCloseDirective(){if(!0!==this.noSwipeClose){const t=!0===this.$q.lang.rtl?this.otherSide:this.side;return[{name:"touch-pan",value:this.__closeByTouch,modifiers:{[t]:!0,mouse:!0}}]}},backdropCloseDirective(){if(!0!==this.noSwipeBackdrop){const t=!0===this.$q.lang.rtl?this.otherSide:this.side;return[{name:"touch-pan",value:this.__closeByTouch,modifiers:{[t]:!0,mouse:!0,mouseAllDir:!0}}]}}},methods:{__applyPosition(t){void 0===t?this.$nextTick((()=>{t=!0===this.showing?0:this.size,this.__applyPosition(this.stateDirection*t)})):void 0!==this.$refs.content&&(!0!==this.layout.container||!0!==this.rightSide||!0!==this.belowBreakpoint&&Math.abs(t)!==this.size||(t+=this.stateDirection*this.layout.scrollbarWidth),this.__lastPosition!==t&&(this.$refs.content.style.transform=`translateX(${t}px)`,this.__lastPosition=t))},__applyBackdrop(t,e){void 0!==this.$refs.backdrop?this.$refs.backdrop.style.backgroundColor=this.lastBackdropBg=`rgba(0,0,0,${.4*t})`:!0!==e&&this.$nextTick((()=>{this.__applyBackdrop(t,!0)}))},__setBackdropVisible(t){void 0!==this.$refs.backdrop&&this.$refs.backdrop.classList[!0===t?"remove":"add"]("hidden")},__setScrollable(t){const e=!0===t?"remove":!0!==this.layout.container?"add":"";""!==e&&document.body.classList[e]("q-body--drawer-toggle")},__animateMini(){void 0!==this.timerMini?clearTimeout(this.timerMini):void 0!==this.$el&&this.$el.classList.add("q-drawer--mini-animate"),this.timerMini=setTimeout((()=>{void 0!==this.$el&&this.$el.classList.remove("q-drawer--mini-animate"),this.timerMini=void 0}),150)},__openByTouch(t){if(!1!==this.showing)return;const e=this.size,n=Object(u["a"])(t.distance.x,0,e);if(!0===t.isFinal){const t=this.$refs.content,i=n>=Math.min(75,e);return t.classList.remove("no-transition"),void(!0===i?this.show():(this.layout.__animate(),this.__applyBackdrop(0),this.__applyPosition(this.stateDirection*e),t.classList.remove("q-drawer--delimiter"),t.classList.add("q-layout--prevent-focus"),this.__setBackdropVisible(!1)))}if(this.__applyPosition((!0===this.$q.lang.rtl?!0!==this.rightSide:this.rightSide)?Math.max(e-n,0):Math.min(0,n-e)),this.__applyBackdrop(Object(u["a"])(n/e,0,1)),!0===t.isFirst){const t=this.$refs.content;t.classList.add("no-transition"),t.classList.add("q-drawer--delimiter"),t.classList.remove("q-layout--prevent-focus"),this.__setBackdropVisible(!0)}},__closeByTouch(t){if(!0!==this.showing)return;const e=this.size,n=t.direction===this.side,i=(!0===this.$q.lang.rtl?!0!==n:n)?Object(u["a"])(t.distance.x,0,e):0;if(!0===t.isFinal){const t=Math.abs(i)<Math.min(75,e);return this.$refs.content.classList.remove("no-transition"),void(!0===t?(this.layout.__animate(),this.__applyBackdrop(1),this.__applyPosition(0)):this.hide())}this.__applyPosition(this.stateDirection*i),this.__applyBackdrop(Object(u["a"])(1-i/e,0,1)),!0===t.isFirst&&this.$refs.content.classList.add("no-transition")},__show(t,e){if(this.__addHistory(),this.__setBackdropVisible(!0),!1!==t&&this.layout.__animate(),this.__applyPosition(0),!0===this.belowBreakpoint){const t=this.layout.instances[this.otherSide];void 0!==t&&!0===t.belowBreakpoint&&t.hide(!1),this.__applyBackdrop(1),!0!==this.layout.container&&this.__preventScroll(!0)}else this.__applyBackdrop(0),!1!==t&&this.__setScrollable(!1);this.__setTimeout((()=>{!1!==t&&this.__setScrollable(!0),!0!==e&&this.$emit("show",t)}),p)},__hide(t,e){this.__removeHistory(),!1!==t&&this.layout.__animate(),this.__applyBackdrop(0),this.__applyPosition(this.stateDirection*this.size),this.__setBackdropVisible(!1),this.__cleanup(),!0!==e&&this.__setTimeout((()=>{this.$emit("hide",t)}),p)},__cleanup(){this.__preventScroll(!1),this.__setScrollable(!0)},__update(t,e){this.layout[this.side][t]!==e&&(this.layout[this.side][t]=e)},__updateLocal(t,e){this[t]!==e&&(this[t]=e)},__updateSizeOnLayout(t,e){this.__update("size",!0===t?this.miniWidth:e)},__updateBelowBreakpoint(){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&this.layout.totalWidth<=this.breakpoint)}},created(){this.layout.instances[this.side]=this,this.__updateSizeOnLayout(this.miniToOverlay,this.size),this.__update("space",this.onLayout),this.__update("offset",this.offset),!0===this.showIfAbove&&!0!==this.value&&!0===this.showing&&void 0!==this.qListeners.input&&this.$emit("input",!0)},mounted(){this.$emit("on-layout",this.onLayout),this.$emit("mini-state",this.isMini),this.lastDesktopState=!0===this.showIfAbove;const t=()=>{const t=!0===this.showing?"show":"hide";this[`__${t}`](!1,!0)};0===this.layout.totalWidth?this.watcher=this.$watch("layout.totalWidth",(()=>{this.watcher(),this.watcher=void 0,!1===this.showing&&!0===this.showIfAbove&&!1===this.belowBreakpoint?this.show(!1):t()})):this.$nextTick(t)},beforeDestroy(){void 0!==this.watcher&&this.watcher(),clearTimeout(this.timerMini),!0===this.showing&&this.__cleanup(),this.layout.instances[this.side]===this&&(this.layout.instances[this.side]=void 0,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},render(t){const e=[];!0===this.belowBreakpoint&&(!0!==this.noSwipeOpen&&e.push(t("div",{staticClass:`q-drawer__opener fixed-${this.side}`,attrs:d["a"],directives:this.openDirective})),e.push(t("div",{ref:"backdrop",staticClass:"fullscreen q-drawer__backdrop",class:this.backdropClass,attrs:d["a"],style:void 0!==this.lastBackdropBg?{backgroundColor:this.lastBackdropBg}:null,on:Object(h["b"])(this,"bkdrop",{click:this.hide}),directives:!1===this.showing?void 0:this.backdropCloseDirective})));const n=[t("div",{staticClass:"q-drawer__content fit "+(!0===this.layout.container?"overflow-auto":"scroll"),class:this.contentClass,style:this.contentStyle},!0===this.isMini&&void 0!==this.$scopedSlots.mini?this.$scopedSlots.mini():Object(c["c"])(this,"default"))];return!0===this.elevated&&!0===this.showing&&n.push(t("div",{staticClass:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),e.push(t("aside",{ref:"content",staticClass:"q-drawer",class:this.classes,style:this.style,on:this.onNativeEvents,directives:!0===this.belowBreakpoint?this.contentCloseDirective:void 0},n)),t("div",{staticClass:"q-drawer-container"},e)}})},"94ca":function(t,e,n){var i=n("d039"),r=n("1626"),o=/#|\.prototype\./,a=function(t,e){var n=l[s(t)];return n==c||n!=u&&(r(e)?i(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},"94f1":function(module,exports,__webpack_require__){"undefined"!==typeof navigator&&function(t,e){module.exports=e()}(0,(function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var n,i,r=t.length;for(n=0;n<r;n+=1)for(var o in i=t[n].prototype,i)Object.prototype.hasOwnProperty.call(i,o)&&(e.prototype[o]=i[o])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,n=this.audios.length;for(e=0;e<n;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(t,e){var n,i=0,r=[];switch(t){case"int16":case"uint8c":n=1;break;default:n=1.1;break}for(i=0;i<e;i+=1)r.push(n);return r}function e(e,n){return"float32"===e?new Float32Array(n):"int16"===e?new Int16Array(n):"uint8c"===e?new Uint8ClampedArray(n):t(e,n)}return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return _typeof$6="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}(function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],n=e.length;for(t=0;t<n;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if("object"===e&&t.length){var n,i=createSizedArray(t.length),r=t.length;for(n=0;n<r;n+=1)i[n]=Math.abs(t[n]);return i}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){_shouldRoundValues=!!t}function bmRnd(t){return _shouldRoundValues?Math.round(t):t}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,n,i){this.type=t,this.currentTime=e,this.totalTime=n,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,n,i){this.type=t,this.currentLoop=n,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,n){this.type=t,this.firstFrame=e,this.totalFrames=n}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,n){var i,r,o,a,s,l,u,c;switch(a=Math.floor(6*t),s=6*t-a,l=n*(1-e),u=n*(1-s*e),c=n*(1-(1-s)*e),a%6){case 0:i=n,r=c,o=l;break;case 1:i=u,r=n,o=l;break;case 2:i=l,r=n,o=c;break;case 3:i=l,r=u,o=n;break;case 4:i=c,r=l,o=n;break;case 5:i=n,r=l,o=u;break;default:break}return[i,r,o]}function RGBtoHSV(t,e,n){var i,r=Math.max(t,e,n),o=Math.min(t,e,n),a=r-o,s=0===r?0:a/r,l=r/255;switch(r){case o:i=0;break;case t:i=e-n+a*(e<n?6:0),i/=6*a;break;case e:i=n-t+2*a,i/=6*a;break;case n:i=t-e+4*a,i/=6*a;break;default:break}return[i,s,l]}function addSaturationToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[1]+=e,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[2]+=e,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[0]+=e/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var t,e,n=[];for(t=0;t<256;t+=1)e=t.toString(16),n[t]=1===e.length?"0"+e:e;return function(t,e,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+n[t]+n[e]+n[i]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return _typeof$5="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(t)}var dataManager=function(){var t,e,n=1,i=[],r={onmessage:function(){},postMessage:function(e){t({data:e})}},o={postMessage:function(t){r.onmessage({data:t})}};function a(e){if(window.Worker&&window.Blob&&getWebWorker()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),i=URL.createObjectURL(n);return new Worker(i)}return t=e,r}function s(){e||(e=a((function(t){function e(){function t(e,n){var a,s,l,u,c,h,d=e.length;for(s=0;s<d;s+=1)if(a=e[s],"ks"in a&&!a.completed){if(a.completed=!0,a.tt&&(e[s-1].td=a.tt),a.hasMask){var f=a.masksProperties;for(u=f.length,l=0;l<u;l+=1)if(f[l].pt.k.i)o(f[l].pt.k);else for(h=f[l].pt.k.length,c=0;c<h;c+=1)f[l].pt.k[c].s&&o(f[l].pt.k[c].s[0]),f[l].pt.k[c].e&&o(f[l].pt.k[c].e[0])}0===a.ty?(a.layers=i(a.refId,n),t(a.layers,n)):4===a.ty?r(a.shapes):5===a.ty&&p(a)}}function e(e,n){if(e){var r=0,o=e.length;for(r=0;r<o;r+=1)1===e[r].t&&(e[r].data.layers=i(e[r].data.refId,n),t(e[r].data.layers,n))}}function n(t,e){var n=0,i=e.length;while(n<i){if(e[n].id===t)return e[n];n+=1}return null}function i(t,e){var i=n(t,e);return i?i.layers.__used?JSON.parse(JSON.stringify(i.layers)):(i.layers.__used=!0,i.layers):null}function r(t){var e,n,i,a=t.length;for(e=a-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)o(t[e].ks.k);else for(i=t[e].ks.k.length,n=0;n<i;n+=1)t[e].ks.k[n].s&&o(t[e].ks.k[n].s[0]),t[e].ks.k[n].e&&o(t[e].ks.k[n].e[0]);else"gr"===t[e].ty&&r(t[e].it)}function o(t){var e,n=t.i.length;for(e=0;e<n;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function a(t,e){var n=e?e.split("."):[100,100,100];return t[0]>n[0]||!(n[0]>t[0])&&(t[1]>n[1]||!(n[1]>t[1])&&(t[2]>n[2]||!(n[2]>t[2])&&null))}var s=function(){var t=[4,4,14];function e(t){var e=t.t.d;t.t.d={k:[{s:e,t:0}]}}function n(t){var n,i=t.length;for(n=0;n<i;n+=1)5===t[n].ty&&e(t[n])}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}(),l=function(){var t=[4,7,99];return function(e){if(e.chars&&!a(t,e.v)){var n,i=e.chars.length;for(n=0;n<i;n+=1){var o=e.chars[n];o.data&&o.data.shapes&&(r(o.data.shapes),o.data.ip=0,o.data.op=99999,o.data.st=0,o.data.sr=1,o.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[n].t||(o.data.shapes.push({ty:"no"}),o.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),u=function(){var t=[5,7,15];function e(t){var e=t.t.p;"number"===typeof e.a&&(e.a={a:0,k:e.a}),"number"===typeof e.p&&(e.p={a:0,k:e.p}),"number"===typeof e.r&&(e.r={a:0,k:e.r})}function n(t){var n,i=t.length;for(n=0;n<i;n+=1)5===t[n].ty&&e(t[n])}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}(),c=function(){var t=[4,1,9];function e(t){var n,i,r,o=t.length;for(n=0;n<o;n+=1)if("gr"===t[n].ty)e(t[n].it);else if("fl"===t[n].ty||"st"===t[n].ty)if(t[n].c.k&&t[n].c.k[0].i)for(r=t[n].c.k.length,i=0;i<r;i+=1)t[n].c.k[i].s&&(t[n].c.k[i].s[0]/=255,t[n].c.k[i].s[1]/=255,t[n].c.k[i].s[2]/=255,t[n].c.k[i].s[3]/=255),t[n].c.k[i].e&&(t[n].c.k[i].e[0]/=255,t[n].c.k[i].e[1]/=255,t[n].c.k[i].e[2]/=255,t[n].c.k[i].e[3]/=255);else t[n].c.k[0]/=255,t[n].c.k[1]/=255,t[n].c.k[2]/=255,t[n].c.k[3]/=255}function n(t){var n,i=t.length;for(n=0;n<i;n+=1)4===t[n].ty&&e(t[n].shapes)}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}(),h=function(){var t=[4,4,18];function e(t){var n,i,r,o=t.length;for(n=o-1;n>=0;n-=1)if("sh"===t[n].ty)if(t[n].ks.k.i)t[n].ks.k.c=t[n].closed;else for(r=t[n].ks.k.length,i=0;i<r;i+=1)t[n].ks.k[i].s&&(t[n].ks.k[i].s[0].c=t[n].closed),t[n].ks.k[i].e&&(t[n].ks.k[i].e[0].c=t[n].closed);else"gr"===t[n].ty&&e(t[n].it)}function n(t){var n,i,r,o,a,s,l=t.length;for(i=0;i<l;i+=1){if(n=t[i],n.hasMask){var u=n.masksProperties;for(o=u.length,r=0;r<o;r+=1)if(u[r].pt.k.i)u[r].pt.k.c=u[r].cl;else for(s=u[r].pt.k.length,a=0;a<s;a+=1)u[r].pt.k[a].s&&(u[r].pt.k[a].s[0].c=u[r].cl),u[r].pt.k[a].e&&(u[r].pt.k[a].e[0].c=u[r].cl)}4===n.ty&&e(n.shapes)}}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}();function d(n){n.__complete||(c(n),s(n),l(n),u(n),h(n),t(n.layers,n.assets),e(n.chars,n.assets),n.__complete=!0)}function p(t){0===t.t.a.length&&t.t.p}var f={};return f.completeData=d,f.checkColors=c,f.checkChars=l,f.checkPathProperties=u,f.checkShapes=h,f.completeLayers=t,f}if(o.dataManager||(o.dataManager=e()),o.assetLoader||(o.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===_typeof$5(t.response)?t.response:t.response&&"string"===typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}function e(e,n,i,r){var o,a=new XMLHttpRequest;try{a.responseType="json"}catch(s){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)o=t(a),i(o);else try{o=t(a),i(o)}catch(s){r&&r(s)}};try{a.open("GET",e,!0)}catch(l){a.open("GET",n+"/"+e,!0)}a.send()}return{load:e}}()),"loadAnimation"===t.data.type)o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.dataManager.completeData(e),o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var n=t.data.animation;o.dataManager.completeData(n),o.postMessage({id:t.data.id,payload:n,status:"success"})}else"loadData"===t.data.type&&o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,n=e.id,r=i[n];i[n]=null,"success"===e.status?r.onComplete(e.payload):r.onError&&r.onError()})}function l(t,e){n+=1;var r="processId_"+n;return i[r]={onComplete:t,onError:e},r}function u(t,n,i){s();var r=l(n,i);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:r})}function c(t,n,i){s();var r=l(n,i);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:r})}function h(t,n,i){s();var r=l(n,i);e.postMessage({type:"complete",animation:t,id:r})}return{loadAnimation:u,loadData:c,completeAnimation:h}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(t,e,n){var i="";if(t.e)i=t.p;else if(e){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),i=e+r}else i=n,i+=t.u?t.u:"",i+=t.p;return i}function r(t){var e=0,n=setInterval(function(){var i=t.getBBox();(i.width||e>500)&&(this._imageLoaded(),clearInterval(n)),e+=1}.bind(this),50)}function o(e){var n=i(e,this.assetsPath,this.path),r=createNS("image");isSafari?this.testImageLoaded(r):r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),r.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this._elementHelper.append?this._elementHelper.append(r):this._elementHelper.appendChild(r);var o={img:r,assetData:e};return o}function a(e){var n=i(e,this.assetsPath,this.path),r=createTag("img");r.crossOrigin="anonymous",r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),r.src=n;var o={img:r,assetData:e};return o}function s(t){var e={assetData:t},n=i(t,this.assetsPath,this.path);return dataManager.loadData(n,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function l(t,e){var n;this.imagesLoadedCb=e;var i=t.length;for(n=0;n<i;n+=1)t[n].layers||(t[n].t&&"seq"!==t[n].t?3===t[n].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[n]))):(this.totalImages+=1,this.images.push(this._createImageData(t[n]))))}function u(t){this.path=t||""}function c(t){this.assetsPath=t||""}function h(t){var e=0,n=this.images.length;while(e<n){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null}function d(){this.imagesLoadedCb=null,this.images.length=0}function p(){return this.totalImages===this.loadedAssets}function f(){return this.totalFootages===this.loadedFootagesCount}function g(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function m(){this._imageLoaded=e.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=r.bind(this),this.createFootageData=s.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return m.prototype={loadAssets:l,setAssetsPath:c,setPath:u,loadedImages:p,loadedFootages:f,destroy:d,getAsset:h,createImgData:a,createImageData:o,imageLoaded:e,footageLoaded:n,setCacheType:g},m}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var n=this._cbs[t],i=0;i<n.length;i+=1)n[i](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){var n=0,i=this._cbs[t].length;while(n<i)this._cbs[t][n]===e&&(this._cbs[t].splice(n,1),n-=1,i-=1),n+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(){function t(t){for(var e,n=t.split("\r\n"),i={},r=0,o=0;o<n.length;o+=1)e=n[o].split(":"),2===e.length&&(i[e[0]]=e[1].trim(),r+=1);if(0===r)throw new Error;return i}return function(e){for(var n=[],i=0;i<e.length;i+=1){var r=e[i],o={time:r.tm,duration:r.dr};try{o.payload=JSON.parse(e[i].cm)}catch(a){try{o.payload=t(e[i].cm)}catch(s){o.payload={name:e[i].cm}}}n.push(o)}return n}}(),ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){var e=0,n=this.compositions.length;while(e<n){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function _typeof$4(t){return _typeof$4="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var n=getRenderer(e);this.renderer=new n(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!==_typeof$4(e)&&(e=JSON.parse(e));var n={wrapper:t,animationData:e},i=t.attributes;n.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",n.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:"canvas";var r=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";"false"===r?n.loop=!1:"true"===r?n.loop=!0:""!==r&&(n.loop=parseInt(r,10));var o=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value;n.autoplay="false"!==o,n.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"";var a=i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"";"false"===a&&(n.prerender=!1),this.setParams(n)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,n,i=this.animationData.layers,r=i.length,o=t.layers,a=o.length;for(n=0;n<a;n+=1){e=0;while(e<r){if(i[e].id===o[n].id){i[e]=o[n];break}e+=1}}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(r=t.assets.length,e=0;e<r;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(n,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,n=0;n<this.markers.length;n+=1)if(e=this.markers[n],e.payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,n){if(!n||this.name===n){var i=Number(t);if(isNaN(i)){var r=this.getMarkerData(t);r&&this.goToAndStop(r.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,n){if(!n||this.name===n){var i=Number(t);if(isNaN(i)){var r=this.getMarkerData(t);r&&(r.duration?this.playSegments([r.time,r.time+r.duration],!0):this.goToAndStop(r.time,!0))}else this.goToAndStop(i,e,n);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,n=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(n=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),n&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?n=t:this.currentRawFrame+this.firstFrame>e&&(n=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var n,i=t.length;for(n=0;n<i;n+=1)this.segments.push(t[n])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var n=t.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),e=this.assetsPath+n}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){var e=0,n=this.assets.length;while(e<n){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,n){try{var i=this.renderer.getElementByPath(t);i.updateDocumentData(e,n)}catch(r){}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],n=0,i=0,r=0,o=!0,a=!1;function s(t){var n=0,r=t.target;while(n<i)e[n].animation===r&&(e.splice(n,1),n-=1,i-=1,r.isPaused||h()),n+=1}function l(t,n){if(!t)return null;var r=0;while(r<i){if(e[r].elem===t&&null!==e[r].elem)return e[r].animation;r+=1}var o=new AnimationItem;return d(o,t),o.setData(t,n),o}function u(){var t,n=e.length,i=[];for(t=0;t<n;t+=1)i.push(e[t].animation);return i}function c(){r+=1,M()}function h(){r-=1}function d(t,n){t.addEventListener("destroy",s),t.addEventListener("_active",c),t.addEventListener("_idle",h),e.push({elem:n,animation:t}),i+=1}function p(t){var e=new AnimationItem;return d(e,null),e.setParams(t),e}function f(t,n){var r;for(r=0;r<i;r+=1)e[r].animation.setSpeed(t,n)}function g(t,n){var r;for(r=0;r<i;r+=1)e[r].animation.setDirection(t,n)}function m(t){var n;for(n=0;n<i;n+=1)e[n].animation.play(t)}function v(t){var s,l=t-n;for(s=0;s<i;s+=1)e[s].animation.advanceTime(l);n=t,r&&!a?window.requestAnimationFrame(v):o=!0}function y(t){n=t,window.requestAnimationFrame(v)}function b(t){var n;for(n=0;n<i;n+=1)e[n].animation.pause(t)}function _(t,n,r){var o;for(o=0;o<i;o+=1)e[o].animation.goToAndStop(t,n,r)}function x(t){var n;for(n=0;n<i;n+=1)e[n].animation.stop(t)}function w(t){var n;for(n=0;n<i;n+=1)e[n].animation.togglePause(t)}function S(t){var n;for(n=i-1;n>=0;n-=1)e[n].animation.destroy(t)}function C(t,e,n){var i,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=r.length;for(i=0;i<o;i+=1)n&&r[i].setAttribute("data-bm-type",n),l(r[i],t);if(e&&0===o){n||(n="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",n),a.appendChild(s),l(s,t)}}function k(){var t;for(t=0;t<i;t+=1)e[t].animation.resize()}function M(){!a&&r&&o&&(window.requestAnimationFrame(y),o=!1)}function O(){a=!0}function T(){a=!1,M()}function A(t,n){var r;for(r=0;r<i;r+=1)e[r].animation.setVolume(t,n)}function I(t){var n;for(n=0;n<i;n+=1)e[n].animation.mute(t)}function P(t){var n;for(n=0;n<i;n+=1)e[n].animation.unmute(t)}return t.registerAnimation=l,t.loadAnimation=p,t.setSpeed=f,t.setDirection=g,t.play=m,t.pause=b,t.stop=x,t.togglePause=w,t.searchAnimations=C,t.resize=k,t.goToAndStop=_,t.destroy=S,t.freeze=O,t.unfreeze=T,t.setVolume=A,t.mute=I,t.unmute=P,t.getRegisteredAnimations=u,t}(),BezierFactory=function(){var t={};t.getBezierEasing=n;var e={};function n(t,n,i,r,o){var a=o||("bez_"+t+"_"+n+"_"+i+"_"+r).replace(/\./g,"p");if(e[a])return e[a];var s=new v([t,n,i,r]);return e[a]=s,s}var i=4,r=.001,o=1e-7,a=10,s=11,l=1/(s-1),u="function"===typeof Float32Array;function c(t,e){return 1-3*e+3*t}function h(t,e){return 3*e-6*t}function d(t){return 3*t}function p(t,e,n){return((c(e,n)*t+h(e,n))*t+d(e))*t}function f(t,e,n){return 3*c(e,n)*t*t+2*h(e,n)*t+d(e)}function g(t,e,n,i,r){var s,l,u=0;do{l=e+(n-e)/2,s=p(l,i,r)-t,s>0?n=l:e=l}while(Math.abs(s)>o&&++u<a);return l}function m(t,e,n,r){for(var o=0;o<i;++o){var a=f(e,n,r);if(0===a)return e;var s=p(e,n,r)-t;e-=s/a}return e}function v(t){this._p=t,this._mSampleValues=u?new Float32Array(s):new Array(s),this._precomputed=!1,this.get=this.get.bind(this)}return v.prototype={get:function(t){var e=this._p[0],n=this._p[1],i=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),e===n&&i===r?t:0===t?0:1===t?1:p(this._getTForX(t),n,r)},_precompute:function(){var t=this._p[0],e=this._p[1],n=this._p[2],i=this._p[3];this._precomputed=!0,t===e&&n===i||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],n=0;n<s;++n)this._mSampleValues[n]=p(n*l,t,e)},_getTForX:function(t){for(var e=this._p[0],n=this._p[2],i=this._mSampleValues,o=0,a=1,u=s-1;a!==u&&i[a]<=t;++a)o+=l;--a;var c=(t-i[a])/(i[a+1]-i[a]),h=o+c*l,d=f(h,e,n);return d>=r?m(t,h,e,n):0===d?h:g(t,o,o+l,e,n)}},t}(),pooling=function(){function t(t){return t.concat(createSizedArray(t.length))}return{double:t}}(),poolFactory=function(){return function(t,e,n){var i=0,r=t,o=createSizedArray(r),a={newElement:s,release:l};function s(){var t;return i?(i-=1,t=o[i]):t=e(),t}function l(t){i===r&&(o=pooling["double"](o),r*=2),n&&n(t),o[i]=t,i+=1}return a}}(),bezierLengthPool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,t)}(),segmentsLengthPool=function(){function t(){return{lengths:[],totalLength:0}}function e(t){var e,n=t.lengths.length;for(e=0;e<n;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(t,e,n,i,r,o){var a=t*i+e*r+n*o-r*i-o*t-n*e;return a>-.001&&a<.001}function n(n,i,r,o,a,s,l,u,c){if(0===r&&0===s&&0===c)return e(n,i,o,a,l,u);var h,d=t.sqrt(t.pow(o-n,2)+t.pow(a-i,2)+t.pow(s-r,2)),p=t.sqrt(t.pow(l-n,2)+t.pow(u-i,2)+t.pow(c-r,2)),f=t.sqrt(t.pow(l-o,2)+t.pow(u-a,2)+t.pow(c-s,2));return h=d>p?d>f?d-p-f:f-p-d:f>p?f-p-d:p-d-f,h>-1e-4&&h<1e-4}var i=function(){return function(t,e,n,i){var r,o,a,s,l,u,c=getDefaultCurveSegments(),h=0,d=[],p=[],f=bezierLengthPool.newElement();for(a=n.length,r=0;r<c;r+=1){for(l=r/(c-1),u=0,o=0;o<a;o+=1)s=bmPow(1-l,3)*t[o]+3*bmPow(1-l,2)*l*n[o]+3*(1-l)*bmPow(l,2)*i[o]+bmPow(l,3)*e[o],d[o]=s,null!==p[o]&&(u+=bmPow(d[o]-p[o],2)),p[o]=d[o];u&&(u=bmSqrt(u),h+=u),f.percents[r]=l,f.lengths[r]=h}return f.addedLength=h,f}}();function r(t){var e,n=segmentsLengthPool.newElement(),r=t.c,o=t.v,a=t.o,s=t.i,l=t._length,u=n.lengths,c=0;for(e=0;e<l-1;e+=1)u[e]=i(o[e],o[e+1],a[e],s[e+1]),c+=u[e].addedLength;return r&&l&&(u[e]=i(o[e],o[0],a[e],s[0]),c+=u[e].addedLength),n.totalLength=c,n}function o(t){this.segmentLength=0,this.points=new Array(t)}function a(t,e){this.partialLength=t,this.point=e}var s=function(){var t={};return function(n,i,r,s){var l=(n[0]+"_"+n[1]+"_"+i[0]+"_"+i[1]+"_"+r[0]+"_"+r[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!t[l]){var u,c,h,d,p,f,g,m=getDefaultCurveSegments(),v=0,y=null;2===n.length&&(n[0]!==i[0]||n[1]!==i[1])&&e(n[0],n[1],i[0],i[1],n[0]+r[0],n[1]+r[1])&&e(n[0],n[1],i[0],i[1],i[0]+s[0],i[1]+s[1])&&(m=2);var b=new o(m);for(h=r.length,u=0;u<m;u+=1){for(g=createSizedArray(h),p=u/(m-1),f=0,c=0;c<h;c+=1)d=bmPow(1-p,3)*n[c]+3*bmPow(1-p,2)*p*(n[c]+r[c])+3*(1-p)*bmPow(p,2)*(i[c]+s[c])+bmPow(p,3)*i[c],g[c]=d,null!==y&&(f+=bmPow(g[c]-y[c],2));f=bmSqrt(f),v+=f,b.points[u]=new a(f,g),y=g}b.segmentLength=v,t[l]=b}return t[l]}}();function l(t,e){var n=e.percents,i=e.lengths,r=n.length,o=bmFloor((r-1)*t),a=t*e.addedLength,s=0;if(o===r-1||0===o||a===i[o])return n[o];var l=i[o]>a?-1:1,u=!0;while(u)if(i[o]<=a&&i[o+1]>a?(s=(a-i[o])/(i[o+1]-i[o]),u=!1):o+=l,o<0||o>=r-1){if(o===r-1)return n[o];u=!1}return n[o]+(n[o+1]-n[o])*s}function u(e,n,i,r,o,a){var s=l(o,a),u=1-s,c=t.round(1e3*(u*u*u*e[0]+(s*u*u+u*s*u+u*u*s)*i[0]+(s*s*u+u*s*s+s*u*s)*r[0]+s*s*s*n[0]))/1e3,h=t.round(1e3*(u*u*u*e[1]+(s*u*u+u*s*u+u*u*s)*i[1]+(s*s*u+u*s*s+s*u*s)*r[1]+s*s*s*n[1]))/1e3;return[c,h]}var c=createTypedArray("float32",8);function h(e,n,i,r,o,a,s){o<0?o=0:o>1&&(o=1);var u=l(o,s);a=a>1?1:a;var h,d=l(a,s),p=e.length,f=1-u,g=1-d,m=f*f*f,v=u*f*f*3,y=u*u*f*3,b=u*u*u,_=f*f*g,x=u*f*g+f*u*g+f*f*d,w=u*u*g+f*u*d+u*f*d,S=u*u*d,C=f*g*g,k=u*g*g+f*d*g+f*g*d,M=u*d*g+f*d*d+u*g*d,O=u*d*d,T=g*g*g,A=d*g*g+g*d*g+g*g*d,I=d*d*g+g*d*d+d*g*d,P=d*d*d;for(h=0;h<p;h+=1)c[4*h]=t.round(1e3*(m*e[h]+v*i[h]+y*r[h]+b*n[h]))/1e3,c[4*h+1]=t.round(1e3*(_*e[h]+x*i[h]+w*r[h]+S*n[h]))/1e3,c[4*h+2]=t.round(1e3*(C*e[h]+k*i[h]+M*r[h]+O*n[h]))/1e3,c[4*h+3]=t.round(1e3*(T*e[h]+A*i[h]+I*r[h]+P*n[h]))/1e3;return c}return{getSegmentsLength:r,getNewSegment:h,getPointInSegment:u,buildBezierData:s,pointOnLine2D:e,pointOnLine3D:n}}var bez=bezFunction(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function n(t,e){var n,a=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));var s,l,u,c,h,d,p,f,g,m=e.lastIndex,v=m,y=this.keyframes.length-1,b=!0;while(b){if(s=this.keyframes[v],l=this.keyframes[v+1],v===y-1&&t>=l.t-a){s.h&&(s=l),m=0;break}if(l.t-a>t){m=v;break}v<y-1?v+=1:(m=0,b=!1)}u=this.keyframesMetadata[v]||{};var _,x=l.t-a,w=s.t-a;if(s.to){u.bezierData||(u.bezierData=bez.buildBezierData(s.s,l.s||s.e,s.to,s.ti));var S=u.bezierData;if(t>=x||t<w){var C=t>=x?S.points.length-1:0;for(h=S.points[C].point.length,c=0;c<h;c+=1)n[c]=S.points[C].point[c]}else{u.__fnct?g=u.__fnct:(g=BezierFactory.getBezierEasing(s.o.x,s.o.y,s.i.x,s.i.y,s.n).get,u.__fnct=g),d=g((t-w)/(x-w));var k,M=S.segmentLength*d,O=e.lastFrame<t&&e._lastKeyframeIndex===v?e._lastAddedLength:0;f=e.lastFrame<t&&e._lastKeyframeIndex===v?e._lastPoint:0,b=!0,p=S.points.length;while(b){if(O+=S.points[f].partialLength,0===M||0===d||f===S.points.length-1){for(h=S.points[f].point.length,c=0;c<h;c+=1)n[c]=S.points[f].point[c];break}if(M>=O&&M<O+S.points[f+1].partialLength){for(k=(M-O)/S.points[f+1].partialLength,h=S.points[f].point.length,c=0;c<h;c+=1)n[c]=S.points[f].point[c]+(S.points[f+1].point[c]-S.points[f].point[c])*k;break}f<p-1?f+=1:b=!1}e._lastPoint=f,e._lastAddedLength=O-S.points[f].partialLength,e._lastKeyframeIndex=v}}else{var T,A,I,P,E;if(y=s.s.length,_=l.s||s.e,this.sh&&1!==s.h)if(t>=x)n[0]=_[0],n[1]=_[1],n[2]=_[2];else if(t<=w)n[0]=s.s[0],n[1]=s.s[1],n[2]=s.s[2];else{var D=o(s.s),L=o(_),j=(t-w)/(x-w);r(n,i(D,L,j))}else for(v=0;v<y;v+=1)1!==s.h&&(t>=x?d=1:t<w?d=0:(s.o.x.constructor===Array?(u.__fnct||(u.__fnct=[]),u.__fnct[v]?g=u.__fnct[v]:(T=void 0===s.o.x[v]?s.o.x[0]:s.o.x[v],A=void 0===s.o.y[v]?s.o.y[0]:s.o.y[v],I=void 0===s.i.x[v]?s.i.x[0]:s.i.x[v],P=void 0===s.i.y[v]?s.i.y[0]:s.i.y[v],g=BezierFactory.getBezierEasing(T,A,I,P).get,u.__fnct[v]=g)):u.__fnct?g=u.__fnct:(T=s.o.x,A=s.o.y,I=s.i.x,P=s.i.y,g=BezierFactory.getBezierEasing(T,A,I,P).get,s.keyframeMetadata=g),d=g((t-w)/(x-w)))),_=l.s||s.e,E=1===s.h?s.s[v]:s.s[v]+(_[v]-s.s[v])*d,"multidimensional"===this.propType?n[v]=E:n=E}return e.lastIndex=m,n}function i(t,e,n){var i,r,o,a,s,l=[],u=t[0],c=t[1],h=t[2],d=t[3],p=e[0],f=e[1],g=e[2],m=e[3];return r=u*p+c*f+h*g+d*m,r<0&&(r=-r,p=-p,f=-f,g=-g,m=-m),1-r>1e-6?(i=Math.acos(r),o=Math.sin(i),a=Math.sin((1-n)*i)/o,s=Math.sin(n*i)/o):(a=1-n,s=n),l[0]=a*u+s*p,l[1]=a*c+s*f,l[2]=a*h+s*g,l[3]=a*d+s*m,l}function r(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=Math.atan2(2*i*o-2*n*r,1-2*i*i-2*r*r),s=Math.asin(2*n*i+2*r*o),l=Math.atan2(2*n*o-2*i*r,1-2*n*n-2*r*r);t[0]=a/degToRads,t[1]=s/degToRads,t[2]=l/degToRads}function o(t){var e=t[0]*degToRads,n=t[1]*degToRads,i=t[2]*degToRads,r=Math.cos(e/2),o=Math.cos(n/2),a=Math.cos(i/2),s=Math.sin(e/2),l=Math.sin(n/2),u=Math.sin(i/2),c=r*o*a-s*l*u,h=s*l*a+r*o*u,d=s*o*a+r*l*u,p=r*l*a-s*o*u;return[h,d,p,c]}function a(){var e=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=i&&e>=i||this._caching.lastFrame<n&&e<n))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(e,this._caching);this.pv=r}return this._caching.lastFrame=e,this.pv}function s(t){var n;if("unidimensional"===this.propType)n=t*this.mult,e(this.v-n)>1e-5&&(this.v=n,this._mdf=!0);else{var i=0,r=this.v.length;while(i<r)n=t[i]*this.mult,e(this.v[i]-n)>1e-5&&(this.v[i]=n,this._mdf=!0),i+=1}}function l(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)n=this.effectsSequence[t](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function u(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function c(t,e,n,i){this.propType="unidimensional",this.mult=n||1,this.data=e,this.v=n?e.k*n:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=l,this.setVValue=s,this.addEffect=u}function h(t,e,n,i){var r;this.propType="multidimensional",this.mult=n||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o=e.k.length;for(this.v=createTypedArray("float32",o),this.pv=createTypedArray("float32",o),this.vel=createTypedArray("float32",o),r=0;r<o;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=l,this.setVValue=s,this.addEffect=u}function d(e,i,r,o){this.propType="unidimensional",this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:t,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=r||1,this.elem=e,this.container=o,this.comp=e.comp,this.v=t,this.pv=t,this._isFirstFrame=!0,this.getValue=l,this.setVValue=s,this.interpolateValue=n,this.effectsSequence=[a.bind(this)],this.addEffect=u}function p(e,i,r,o){var c;this.propType="multidimensional";var h,d,p,f,g=i.k.length;for(c=0;c<g-1;c+=1)i.k[c].to&&i.k[c].s&&i.k[c+1]&&i.k[c+1].s&&(h=i.k[c].s,d=i.k[c+1].s,p=i.k[c].to,f=i.k[c].ti,(2===h.length&&(h[0]!==d[0]||h[1]!==d[1])&&bez.pointOnLine2D(h[0],h[1],d[0],d[1],h[0]+p[0],h[1]+p[1])&&bez.pointOnLine2D(h[0],h[1],d[0],d[1],d[0]+f[0],d[1]+f[1])||3===h.length&&(h[0]!==d[0]||h[1]!==d[1]||h[2]!==d[2])&&bez.pointOnLine3D(h[0],h[1],h[2],d[0],d[1],d[2],h[0]+p[0],h[1]+p[1],h[2]+p[2])&&bez.pointOnLine3D(h[0],h[1],h[2],d[0],d[1],d[2],d[0]+f[0],d[1]+f[1],d[2]+f[2]))&&(i.k[c].to=null,i.k[c].ti=null),h[0]===d[0]&&h[1]===d[1]&&0===p[0]&&0===p[1]&&0===f[0]&&0===f[1]&&(2===h.length||h[2]===d[2]&&0===p[2]&&0===f[2])&&(i.k[c].to=null,i.k[c].ti=null));this.effectsSequence=[a.bind(this)],this.data=i,this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=e,this.container=o,this.comp=e.comp,this.getValue=l,this.setVValue=s,this.interpolateValue=n,this.frameId=-1;var m=i.k[0].s.length;for(this.v=createTypedArray("float32",m),this.pv=createTypedArray("float32",m),c=0;c<m;c+=1)this.v[c]=t,this.pv[c]=t;this._caching={lastFrame:t,lastIndex:0,value:createTypedArray("float32",m)},this.addEffect=u}function f(t,e,n,i,r){var o;if(e.k.length)if("number"===typeof e.k[0])o=new h(t,e,i,r);else switch(n){case 0:o=new d(t,e,i,r);break;case 1:o=new p(t,e,i,r);break;default:break}else o=new c(t,e,i,r);return o.effectsSequence.length&&r.addDynamicProperty(o),o}var g={getProp:f};return g}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);var n=0;while(n<e)this.v[n]=pointPool.newElement(),this.o[n]=pointPool.newElement(),this.i[n]=pointPool.newElement(),n+=1},ShapePath.prototype.setLength=function(t){while(this._maxLength<t)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,n,i,r){var o;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[];break}(!o[i]||o[i]&&!r)&&(o[i]=pointPool.newElement()),o[i][0]=t,o[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,n,i,r,o,a,s){this.setXYAt(t,e,"v",a,s),this.setXYAt(n,i,"o",a,s),this.setXYAt(r,o,"i",a,s)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,n=this.o,i=this.i,r=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],n[0][0],n[0][1],0,!1),r=1);var o,a=this._length-1,s=this._length;for(o=r;o<s;o+=1)t.setTripleAt(e[a][0],e[a][1],i[a][0],i[a][1],n[a][0],n[a][1],o,!1),a-=1;return t};var shapePool=function(){function t(){return new ShapePath}function e(t){var e,n=t._length;for(e=0;e<n;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1}function n(t){var e,n=i.newElement(),r=void 0===t._length?t.v.length:t._length;for(n.setLength(r),n.c=t.c,e=0;e<r;e+=1)n.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return n}var i=poolFactory(4,t,e);return i.clone=n,i}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:r,release:o},e=0,n=4,i=createSizedArray(n);function r(){var t;return e?(e-=1,t=i[e]):t=new ShapeCollection,t}function o(t){var r,o=t._length;for(r=0;r<o;r+=1)shapePool.release(t.shapes[r]);t._length=0,e===n&&(i=pooling["double"](i),n*=2),i[e]=t,e+=1}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(t,e,n){var i,r,o,a,s,l,u,c,h,d=n.lastIndex,p=this.keyframes;if(t<p[0].t-this.offsetTime)i=p[0].s[0],o=!0,d=0;else if(t>=p[p.length-1].t-this.offsetTime)i=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],o=!0;else{var f,g,m,v=d,y=p.length-1,b=!0;while(b){if(f=p[v],g=p[v+1],g.t-this.offsetTime>t)break;v<y-1?v+=1:b=!1}if(m=this.keyframesMetadata[v]||{},o=1===f.h,d=v,!o){if(t>=g.t-this.offsetTime)c=1;else if(t<f.t-this.offsetTime)c=0;else{var _;m.__fnct?_=m.__fnct:(_=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,m.__fnct=_),c=_((t-(f.t-this.offsetTime))/(g.t-this.offsetTime-(f.t-this.offsetTime)))}r=g.s?g.s[0]:f.e[0]}i=f.s[0]}for(l=e._length,u=i.i[0].length,n.lastIndex=d,a=0;a<l;a+=1)for(s=0;s<u;s+=1)h=o?i.i[a][s]:i.i[a][s]+(r.i[a][s]-i.i[a][s])*c,e.i[a][s]=h,h=o?i.o[a][s]:i.o[a][s]+(r.o[a][s]-i.o[a][s])*c,e.o[a][s]=h,h=o?i.v[a][s]:i.v[a][s]+(r.v[a][s]-i.v[a][s])*c,e.v[a][s]=h}function n(){var e=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,r=this._caching.lastFrame;return r!==t&&(r<n&&e<n||r>i&&e>i)||(this._caching.lastIndex=r<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function i(){this.paths=this.localShapeCollection}function r(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var n,i=t._length;for(n=0;n<i;n+=1)if(t.v[n][0]!==e.v[n][0]||t.v[n][1]!==e.v[n][1]||t.o[n][0]!==e.o[n][0]||t.o[n][1]!==e.o[n][1]||t.i[n][0]!==e.i[n][0]||t.i[n][1]!==e.i[n][1])return!1;return!0}function o(t){r(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var n=this.effectsSequence.length;for(e=0;e<n;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(t,e,n){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var r=3===n?e.pt.k:e.ks.k;this.v=shapePool.clone(r),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function l(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function u(e,r,o){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===o?r.pt.k:r.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[n.bind(this)]}s.prototype.interpolateShape=e,s.prototype.getValue=a,s.prototype.setVValue=o,s.prototype.addEffect=l,u.prototype.getValue=a,u.prototype.interpolateShape=e,u.prototype.setVValue=o,u.prototype.addEffect=l;var c=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],n=this.p.v[1],i=this.s.v[0]/2,r=this.s.v[1]/2,o=3!==this.d,a=this.v;a.v[0][0]=e,a.v[0][1]=n-r,a.v[1][0]=o?e+i:e-i,a.v[1][1]=n,a.v[2][0]=e,a.v[2][1]=n+r,a.v[3][0]=o?e-i:e+i,a.v[3][1]=n,a.i[0][0]=o?e-i*t:e+i*t,a.i[0][1]=n-r,a.i[1][0]=o?e+i:e-i,a.i[1][1]=n-r*t,a.i[2][0]=o?e+i*t:e-i*t,a.i[2][1]=n+r,a.i[3][0]=o?e-i:e+i,a.i[3][1]=n+r*t,a.o[0][0]=o?e+i*t:e-i*t,a.o[0][1]=n-r,a.o[1][0]=o?e+i:e-i,a.o[1][1]=n+r*t,a.o[2][0]=o?e-i*t:e+i*t,a.o[2][1]=n+r,a.o[3][0]=o?e-i:e+i,a.o[3][1]=n-r*t}},extendPrototype([DynamicPropertyContainer],e),e}(),h=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,n,i,r=2*Math.floor(this.pt.v),o=2*Math.PI/r,a=!0,s=this.or.v,l=this.ir.v,u=this.os.v,c=this.is.v,h=2*Math.PI*s/(2*r),d=2*Math.PI*l/(2*r),p=-Math.PI/2;p+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<r;t+=1){e=a?s:l,n=a?u:c,i=a?h:d;var g=e*Math.cos(p),m=e*Math.sin(p),v=0===g&&0===m?0:m/Math.sqrt(g*g+m*m),y=0===g&&0===m?0:-g/Math.sqrt(g*g+m*m);g+=+this.p.v[0],m+=+this.p.v[1],this.v.setTripleAt(g,m,g-v*i*n*f,m-y*i*n*f,g+v*i*n*f,m+y*i*n*f,t,!0),a=!a,p+=o*f}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),n=2*Math.PI/e,i=this.or.v,r=this.os.v,o=2*Math.PI*i/(4*e),a=.5*-Math.PI,s=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=i*Math.cos(a),u=i*Math.sin(a),c=0===l&&0===u?0:u/Math.sqrt(l*l+u*u),h=0===l&&0===u?0:-l/Math.sqrt(l*l+u*u);l+=+this.p.v[0],u+=+this.p.v[1],this.v.setTripleAt(l,u,l-c*o*r*s,u-h*o*r*s,l+c*o*r*s,u+h*o*r*s,t,!0),a+=n*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),d=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],n=this.s.v[0]/2,i=this.s.v[1]/2,r=bmMin(n,i,this.r.v),o=r*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+n,e-i+r,t+n,e-i+r,t+n,e-i+o,0,!0),this.v.setTripleAt(t+n,e+i-r,t+n,e+i-o,t+n,e+i-r,1,!0),0!==r?(this.v.setTripleAt(t+n-r,e+i,t+n-r,e+i,t+n-o,e+i,2,!0),this.v.setTripleAt(t-n+r,e+i,t-n+o,e+i,t-n+r,e+i,3,!0),this.v.setTripleAt(t-n,e+i-r,t-n,e+i-r,t-n,e+i-o,4,!0),this.v.setTripleAt(t-n,e-i+r,t-n,e-i+o,t-n,e-i+r,5,!0),this.v.setTripleAt(t-n+r,e-i,t-n+r,e-i,t-n+o,e-i,6,!0),this.v.setTripleAt(t+n-r,e-i,t+n-o,e-i,t+n-r,e-i,7,!0)):(this.v.setTripleAt(t-n,e+i,t-n+o,e+i,t-n,e+i,2),this.v.setTripleAt(t-n,e-i,t-n,e-i+o,t-n,e-i,3))):(this.v.setTripleAt(t+n,e-i+r,t+n,e-i+o,t+n,e-i+r,0,!0),0!==r?(this.v.setTripleAt(t+n-r,e-i,t+n-r,e-i,t+n-o,e-i,1,!0),this.v.setTripleAt(t-n+r,e-i,t-n+o,e-i,t-n+r,e-i,2,!0),this.v.setTripleAt(t-n,e-i+r,t-n,e-i+r,t-n,e-i+o,3,!0),this.v.setTripleAt(t-n,e+i-r,t-n,e+i-o,t-n,e+i-r,4,!0),this.v.setTripleAt(t-n+r,e+i,t-n+r,e+i,t-n+o,e+i,5,!0),this.v.setTripleAt(t+n-r,e+i,t+n-o,e+i,t+n-r,e+i,6,!0),this.v.setTripleAt(t+n,e+i-r,t+n,e+i-r,t+n,e+i-o,7,!0)):(this.v.setTripleAt(t-n,e-i,t-n+o,e-i,t-n,e-i,1,!0),this.v.setTripleAt(t-n,e+i,t-n,e+i-o,t-n,e+i,2,!0),this.v.setTripleAt(t+n,e+i,t+n-o,e+i,t+n,e+i,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],t),t}();function p(t,e,n){var i;if(3===n||4===n){var r=3===n?e.pt:e.ks,o=r.k;i=o.length?new u(t,e,n):new s(t,e,n)}else 5===n?i=new d(t,e):6===n?i=new c(t,e):7===n&&(i=new h(t,e));return i.k&&t.addDynamicProperty(i),i}function f(){return s}function g(){return u}var m={};return m.getShapeProp=p,m.getConstructorFunction=f,m.getKeyframedConstructorFunction=g,m}(),Matrix=function(){var t=Math.cos,e=Math.sin,n=Math.tan,i=Math.round;function r(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(i,-r,0,0,r,i,0,0,0,0,1,0,0,0,0,1)}function a(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(1,0,0,0,0,i,-r,0,0,r,i,0,0,0,0,1)}function s(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(i,0,r,0,0,1,0,0,-r,0,i,0,0,0,0,1)}function l(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(i,-r,0,0,r,i,0,0,0,0,1,0,0,0,0,1)}function u(t,e){return this._t(1,e,t,1,0,0)}function c(t,e){return this.shear(n(t),n(e))}function h(i,r){var o=t(r),a=e(r);return this._t(o,a,0,0,-a,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(i),1,0,0,0,0,1,0,0,0,0,1)._t(o,-a,0,0,a,o,0,0,0,0,1,0,0,0,0,1)}function d(t,e,n){return n||0===n||(n=1),1===t&&1===e&&1===n?this:this._t(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1)}function p(t,e,n,i,r,o,a,s,l,u,c,h,d,p,f,g){return this.props[0]=t,this.props[1]=e,this.props[2]=n,this.props[3]=i,this.props[4]=r,this.props[5]=o,this.props[6]=a,this.props[7]=s,this.props[8]=l,this.props[9]=u,this.props[10]=c,this.props[11]=h,this.props[12]=d,this.props[13]=p,this.props[14]=f,this.props[15]=g,this}function f(t,e,n){return n=n||0,0!==t||0!==e||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,n,1):this}function g(t,e,n,i,r,o,a,s,l,u,c,h,d,p,f,g){var m=this.props;if(1===t&&0===e&&0===n&&0===i&&0===r&&1===o&&0===a&&0===s&&0===l&&0===u&&1===c&&0===h)return m[12]=m[12]*t+m[15]*d,m[13]=m[13]*o+m[15]*p,m[14]=m[14]*c+m[15]*f,m[15]*=g,this._identityCalculated=!1,this;var v=m[0],y=m[1],b=m[2],_=m[3],x=m[4],w=m[5],S=m[6],C=m[7],k=m[8],M=m[9],O=m[10],T=m[11],A=m[12],I=m[13],P=m[14],E=m[15];return m[0]=v*t+y*r+b*l+_*d,m[1]=v*e+y*o+b*u+_*p,m[2]=v*n+y*a+b*c+_*f,m[3]=v*i+y*s+b*h+_*g,m[4]=x*t+w*r+S*l+C*d,m[5]=x*e+w*o+S*u+C*p,m[6]=x*n+w*a+S*c+C*f,m[7]=x*i+w*s+S*h+C*g,m[8]=k*t+M*r+O*l+T*d,m[9]=k*e+M*o+O*u+T*p,m[10]=k*n+M*a+O*c+T*f,m[11]=k*i+M*s+O*h+T*g,m[12]=A*t+I*r+P*l+E*d,m[13]=A*e+I*o+P*u+E*p,m[14]=A*n+I*a+P*c+E*f,m[15]=A*i+I*s+P*h+E*g,this._identityCalculated=!1,this}function m(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(t){var e=0;while(e<16){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function y(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function b(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function _(t,e,n){return{x:t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}}function x(t,e,n){return t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12]}function w(t,e,n){return t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13]}function S(t,e,n){return t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}function C(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,n=-this.props[1]/t,i=-this.props[4]/t,r=this.props[0]/t,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,s=new Matrix;return s.props[0]=e,s.props[1]=n,s.props[4]=i,s.props[5]=r,s.props[12]=o,s.props[13]=a,s}function k(t){var e=this.getInverseMatrix();return e.applyToPointArray(t[0],t[1],t[2]||0)}function M(t){var e,n=t.length,i=[];for(e=0;e<n;e+=1)i[e]=k(t[e]);return i}function O(t,e,n){var i=createTypedArray("float32",6);if(this.isIdentity())i[0]=t[0],i[1]=t[1],i[2]=e[0],i[3]=e[1],i[4]=n[0],i[5]=n[1];else{var r=this.props[0],o=this.props[1],a=this.props[4],s=this.props[5],l=this.props[12],u=this.props[13];i[0]=t[0]*r+t[1]*a+l,i[1]=t[0]*o+t[1]*s+u,i[2]=e[0]*r+e[1]*a+l,i[3]=e[0]*o+e[1]*s+u,i[4]=n[0]*r+n[1]*a+l,i[5]=n[0]*o+n[1]*s+u}return i}function T(t,e,n){var i;return i=this.isIdentity()?[t,e,n]:[t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]],i}function A(t,e){if(this.isIdentity())return t+","+e;var n=this.props;return Math.round(100*(t*n[0]+e*n[4]+n[12]))/100+","+Math.round(100*(t*n[1]+e*n[5]+n[13]))/100}function I(){var t=0,e=this.props,n="matrix3d(",r=1e4;while(t<16)n+=i(e[t]*r)/r,n+=15===t?")":",",t+=1;return n}function P(t){var e=1e4;return t<1e-6&&t>0||t>-1e-6&&t<0?i(t*e)/e:t}function E(){var t=this.props,e=P(t[0]),n=P(t[1]),i=P(t[4]),r=P(t[5]),o=P(t[12]),a=P(t[13]);return"matrix("+e+","+n+","+i+","+r+","+o+","+a+")"}return function(){this.reset=r,this.rotate=o,this.rotateX=a,this.rotateY=s,this.rotateZ=l,this.skew=c,this.skewFromAxis=h,this.shear=u,this.scale=d,this.setTransform=p,this.translate=f,this.transform=g,this.applyToPoint=_,this.applyToX=x,this.applyToY=w,this.applyToZ=S,this.applyToPointArray=T,this.applyToTriplePoints=O,this.applyToPointStringified=A,this.toCSS=I,this.to2dCSS=E,this.clone=y,this.cloneFromProps=b,this.equals=v,this.inversePoints=M,this.inversePoint=k,this.getInverseMatrix=C,this._t=this.transform,this.isIdentity=m,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return _typeof$3="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"===typeof t)switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),n=0;n<e.length;n+=1){var i=e[n].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.9.6";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"===_typeof$3(exports)&&"undefined"!==typeof module||__webpack_require__("bf35")||(window.bodymovin=lottie)}catch(err){}var ShapeModifiers=function(){var t={},e={};function n(t,n){e[t]||(e[t]=n)}function i(t,n,i){return new e[t](n,i)}return t.registerModifier=n,t.getModifier=i,t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,n,i,r){var o=[];e<=1?o.push({s:t,e:e}):t>=1?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1}));var a,s,l=[],u=o.length;for(a=0;a<u;a+=1){var c,h;if(s=o[a],!(s.e*r<i||s.s*r>i+n))c=s.s*r<=i?0:(s.s*r-i)/n,h=s.e*r>=i+n?1:(s.e*r-i)/n,l.push([c,h])}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,n=t.length;for(e=0;e<n;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,n,i,r;if(this._mdf||t){var o=this.o.v%360/360;if(o<0&&(o+=1),e=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o,n=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o,e>n){var a=e;e=n,n=a}e=1e-4*Math.round(1e4*e),n=1e-4*Math.round(1e4*n),this.sValue=e,this.eValue=n}else e=this.sValue,n=this.eValue;var s,l,u,c,h,d=this.shapes.length,p=0;if(n===e)for(r=0;r<d;r+=1)this.shapes[r].localShapeCollection.releaseShapes(),this.shapes[r].shape._mdf=!0,this.shapes[r].shape.paths=this.shapes[r].localShapeCollection,this._mdf&&(this.shapes[r].pathsData.length=0);else if(1===n&&0===e||0===n&&1===e){if(this._mdf)for(r=0;r<d;r+=1)this.shapes[r].pathsData.length=0,this.shapes[r].shape._mdf=!0}else{var f,g,m=[];for(r=0;r<d;r+=1)if(f=this.shapes[r],f.shape._mdf||this._mdf||t||2===this.m){if(i=f.shape.paths,l=i._length,h=0,!f.shape._mdf&&f.pathsData.length)h=f.totalShapeLength;else{for(u=this.releasePathsData(f.pathsData),s=0;s<l;s+=1)c=bez.getSegmentsLength(i.shapes[s]),u.push(c),h+=c.totalLength;f.totalShapeLength=h,f.pathsData=u}p+=h,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var v,y=e,b=n,_=0;for(r=d-1;r>=0;r-=1)if(f=this.shapes[r],f.shape._mdf){for(g=f.localShapeCollection,g.releaseShapes(),2===this.m&&d>1?(v=this.calculateShapeEdges(e,n,f.totalShapeLength,_,p),_+=f.totalShapeLength):v=[[y,b]],l=v.length,s=0;s<l;s+=1){y=v[s][0],b=v[s][1],m.length=0,b<=1?m.push({s:f.totalShapeLength*y,e:f.totalShapeLength*b}):y>=1?m.push({s:f.totalShapeLength*(y-1),e:f.totalShapeLength*(b-1)}):(m.push({s:f.totalShapeLength*y,e:f.totalShapeLength}),m.push({s:0,e:f.totalShapeLength*(b-1)}));var x=this.addShapes(f,m[0]);if(m[0].s!==m[0].e){if(m.length>1){var w=f.shape.paths.shapes[f.shape.paths._length-1];if(w.c){var S=x.pop();this.addPaths(x,g),x=this.addShapes(f,m[1],S)}else this.addPaths(x,g),x=this.addShapes(f,m[1])}this.addPaths(x,g)}}f.shape.paths=g}}},TrimModifier.prototype.addPaths=function(t,e){var n,i=t.length;for(n=0;n<i;n+=1)e.addShape(t[n])},TrimModifier.prototype.addSegment=function(t,e,n,i,r,o,a){r.setXYAt(e[0],e[1],"o",o),r.setXYAt(n[0],n[1],"i",o+1),a&&r.setXYAt(t[0],t[1],"v",o),r.setXYAt(i[0],i[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,n,i){e.setXYAt(t[1],t[5],"o",n),e.setXYAt(t[2],t[6],"i",n+1),i&&e.setXYAt(t[0],t[4],"v",n),e.setXYAt(t[3],t[7],"v",n+1)},TrimModifier.prototype.addShapes=function(t,e,n){var i,r,o,a,s,l,u,c,h=t.pathsData,d=t.shape.paths.shapes,p=t.shape.paths._length,f=0,g=[],m=!0;for(n?(s=n._length,c=n._length):(n=shapePool.newElement(),s=0,c=0),g.push(n),i=0;i<p;i+=1){for(l=h[i].lengths,n.c=d[i].c,o=d[i].c?l.length:l.length+1,r=1;r<o;r+=1)if(a=l[r-1],f+a.addedLength<e.s)f+=a.addedLength,n.c=!1;else{if(f>e.e){n.c=!1;break}e.s<=f&&e.e>=f+a.addedLength?(this.addSegment(d[i].v[r-1],d[i].o[r-1],d[i].i[r],d[i].v[r],n,s,m),m=!1):(u=bez.getNewSegment(d[i].v[r-1],d[i].v[r],d[i].o[r-1],d[i].i[r],(e.s-f)/a.addedLength,(e.e-f)/a.addedLength,l[r-1]),this.addSegmentFromArray(u,n,s,m),m=!1,n.c=!1),f+=a.addedLength,s+=1}if(d[i].c&&l.length){if(a=l[r-1],f<=e.e){var v=l[r-1].addedLength;e.s<=f&&e.e>=f+v?(this.addSegment(d[i].v[r-1],d[i].o[r-1],d[i].i[0],d[i].v[0],n,s,m),m=!1):(u=bez.getNewSegment(d[i].v[r-1],d[i].v[0],d[i].o[r-1],d[i].i[0],(e.s-f)/v,(e.e-f)/v,l[r-1]),this.addSegmentFromArray(u,n,s,m),m=!1,n.c=!1)}else n.c=!1;f+=a.addedLength,s+=1}if(n._length&&(n.setXYAt(n.v[c][0],n.v[c][1],"i",c),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),f>e.e)break;i<p-1&&(n=shapePool.newElement(),m=!0,g.push(n),s=0)}return g},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var n=e/100,i=[0,0],r=t._length,o=0;for(o=0;o<r;o+=1)i[0]+=t.v[o][0],i[1]+=t.v[o][1];i[0]/=r,i[1]/=r;var a,s,l,u,c,h,d=shapePool.newElement();for(d.c=t.c,o=0;o<r;o+=1)a=t.v[o][0]+(i[0]-t.v[o][0])*n,s=t.v[o][1]+(i[1]-t.v[o][1])*n,l=t.o[o][0]+(i[0]-t.o[o][0])*-n,u=t.o[o][1]+(i[1]-t.o[o][1])*-n,c=t.i[o][0]+(i[0]-t.i[o][0])*-n,h=t.i[o][1]+(i[1]-t.i[o][1])*-n,d.setTripleAt(a,s,l,u,c,h,o);return d},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,n,i,r,o,a,s=this.shapes.length,l=this.amount.v;if(0!==l)for(n=0;n<s;n+=1){if(o=this.shapes[n],a=o.localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r=o.shape.paths._length,i=0;i<r;i+=1)a.addShape(this.processPath(e[i],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function n(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var n;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var i,r;if(n=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(i=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),r=this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),r=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(i=this.p.pv,r=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],r=[];var o=this.px,a=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(i[0]=o.getValueAtTime((o.keyframes[0].t+.01)/n,0),i[1]=a.getValueAtTime((a.keyframes[0].t+.01)/n,0),r[0]=o.getValueAtTime(o.keyframes[0].t/n,0),r[1]=a.getValueAtTime(a.keyframes[0].t/n,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(i[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/n,0),i[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/n,0),r[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/n,0),r[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/n,0)):(i=[o.pv,a.pv],r[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/n,o.offsetTime),r[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/n,a.offsetTime))}else r=t,i=r;this.v.rotate(-Math.atan2(i[1]-r[1],i[0]-r[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function i(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}}function r(){}function o(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0}function a(t,e,n){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(n||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var i,r=e.or.k.length;for(i=0;i<r;i+=1)e.or.k[i].to=null,e.or.k[i].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}function s(t,e,n){return new a(t,e,n)}return a.prototype={applyToMatrix:e,getValue:n,precalculateMatrix:i,autoOrient:r},extendPrototype([DynamicPropertyContainer],a),a.prototype.addDynamicProperty=o,a.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:s}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(t){for(var e,n=t.fStyle?t.fStyle.split(" "):[],i="normal",r="normal",o=n.length,a=0;a<o;a+=1)switch(e=n[a].toLowerCase(),e){case"italic":r="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break;default:break}return{style:r,weight:t.fWeight||i}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,n,i,r,o){var a=o?-1:1,s=i.s.v[0]+(1-i.s.v[0])*(1-r),l=i.s.v[1]+(1-i.s.v[1])*(1-r);t.translate(i.p.v[0]*a*r,i.p.v[1]*a*r,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*a*r),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),n.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),n.scale(o?1/s:s,o?1/l:l),n.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(t,e,n,i){this.elem=t,this.arr=e,this.pos=n,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[n]);while(n>0)n-=1,this._elements.unshift(e[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var n,i=t.length;for(n=0;n<i;n+=1)t[n]._render=e,"gr"===t[n].ty&&this.changeGroupRender(t[n].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,n,i,r,o,a=!1;if(this._mdf||t){var s,l=Math.ceil(this.c.v);if(this._groups.length<l){while(this._groups.length<l){var u={it:this.cloneElements(this._elements),ty:"gr"};u.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(o=0,i=0;i<=this._groups.length-1;i+=1){if(s=o<l,this._groups[i]._render=s,this.changeGroupRender(this._groups[i].it,s),!s){var c=this.elemsData[i].it,h=c[c.length-1];0!==h.transform.op.v?(h.transform.op._mdf=!0,h.transform.op.v=0):h.transform.op._mdf=!1}o+=1}this._currentCopies=l;var d=this.o.v,p=d%1,f=d>0?Math.floor(d):Math.ceil(d),g=this.pMatrix.props,m=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,b,_=0;if(d>0){while(_<f)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),_+=p)}else if(d<0){while(_>f)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),_-=p)}i=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,o=this._currentCopies;while(o){if(e=this.elemsData[i].it,n=e[e.length-1].transform.mProps.v.props,b=n.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==_){for((0!==i&&1===r||i!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),y=0;y<b;y+=1)n[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<b;y+=1)n[y]=this.matrix.props[y];_+=1,o-=1,i+=r}}else{o=this._currentCopies,i=0,r=1;while(o)e=this.elemsData[i].it,n=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,o-=1,i+=r}return a},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var n,i=shapePool.newElement();i.c=t.c;var r,o,a,s,l,u,c,h,d,p,f,g,m=t._length,v=0;for(n=0;n<m;n+=1)r=t.v[n],a=t.o[n],o=t.i[n],r[0]===a[0]&&r[1]===a[1]&&r[0]===o[0]&&r[1]===o[1]?0!==n&&n!==m-1||t.c?(s=0===n?t.v[m-1]:t.v[n-1],l=Math.sqrt(Math.pow(r[0]-s[0],2)+Math.pow(r[1]-s[1],2)),u=l?Math.min(l/2,e)/l:0,f=r[0]+(s[0]-r[0])*u,c=f,g=r[1]-(r[1]-s[1])*u,h=g,d=c-(c-r[0])*roundCorner,p=h-(h-r[1])*roundCorner,i.setTripleAt(c,h,d,p,f,g,v),v+=1,s=n===m-1?t.v[0]:t.v[n+1],l=Math.sqrt(Math.pow(r[0]-s[0],2)+Math.pow(r[1]-s[1],2)),u=l?Math.min(l/2,e)/l:0,d=r[0]+(s[0]-r[0])*u,c=d,p=r[1]+(s[1]-r[1])*u,h=p,f=c-(c-r[0])*roundCorner,g=h-(h-r[1])*roundCorner,i.setTripleAt(c,h,d,p,f,g,v),v+=1):(i.setTripleAt(r[0],r[1],a[0],a[1],o[0],o[1],v),v+=1):(i.setTripleAt(t.v[n][0],t.v[n][1],t.o[n][0],t.o[n][1],t.i[n][0],t.i[n][1],v),v+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,n,i,r,o,a,s=this.shapes.length,l=this.rd.v;if(0!==l)for(n=0;n<s;n+=1){if(o=this.shapes[n],a=o.localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r=o.shape.paths._length,i=0;i<r;i+=1)a.addShape(this.processPath(e[i],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},n=[];n=n.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],r=[65039,8205];function o(t){var e,n=t.split(","),i=n.length,r=[];for(e=0;e<i;e+=1)"sans-serif"!==n[e]&&"monospace"!==n[e]&&r.push(n[e]);return r.join(",")}function a(t,e){var n=createTag("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=e;var i=createTag("span");i.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(i),document.body.appendChild(n);var r=i.offsetWidth;return i.style.fontFamily=o(t)+", "+e,{node:i,w:r,parent:n}}function s(){var e,n,i,r=this.fonts.length,o=r;for(e=0;e<r;e+=1)this.fonts[e].loaded?o-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(n=this.fonts[e].monoCase.node,i=this.fonts[e].monoCase.w,n.offsetWidth!==i?(o-=1,this.fonts[e].loaded=!0):(n=this.fonts[e].sansCase.node,i=this.fonts[e].sansCase.w,n.offsetWidth!==i&&(o-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==o&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function l(t,e){var n,i=document.body&&e?"svg":"canvas",r=getFontProperties(t);if("svg"===i){var o=createNS("text");o.style.fontSize="100px",o.setAttribute("font-family",t.fFamily),o.setAttribute("font-style",r.style),o.setAttribute("font-weight",r.weight),o.textContent="1",t.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",t.fClass)):o.style.fontFamily=t.fFamily,e.appendChild(o),n=o}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=r.style+" "+r.weight+" 100px "+t.fFamily,n=a}function s(t){return"svg"===i?(n.textContent=t,n.getComputedTextLength()):n.measureText(t).width}return{measureText:s}}function u(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=l(t),t.cache={}})),void(this.fonts=t.list);var n,i=t.list,r=i.length,o=r;for(n=0;n<r;n+=1){var s,u,c=!0;if(i[n].loaded=!1,i[n].monoCase=a(i[n].fFamily,"monospace"),i[n].sansCase=a(i[n].fFamily,"sans-serif"),i[n].fPath){if("p"===i[n].fOrigin||3===i[n].origin){if(s=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[n].fFamily+'"], style[f-origin="3"][f-family="'+i[n].fFamily+'"]'),s.length>0&&(c=!1),c){var h=createTag("style");h.setAttribute("f-forigin",i[n].fOrigin),h.setAttribute("f-origin",i[n].origin),h.setAttribute("f-family",i[n].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+i[n].fFamily+"; font-style: normal; src: url('"+i[n].fPath+"');}",e.appendChild(h)}}else if("g"===i[n].fOrigin||1===i[n].origin){for(s=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),u=0;u<s.length;u+=1)-1!==s[u].href.indexOf(i[n].fPath)&&(c=!1);if(c){var d=createTag("link");d.setAttribute("f-forigin",i[n].fOrigin),d.setAttribute("f-origin",i[n].origin),d.type="text/css",d.rel="stylesheet",d.href=i[n].fPath,document.body.appendChild(d)}}else if("t"===i[n].fOrigin||2===i[n].origin){for(s=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),u=0;u<s.length;u+=1)i[n].fPath===s[u].src&&(c=!1);if(c){var p=createTag("link");p.setAttribute("f-forigin",i[n].fOrigin),p.setAttribute("f-origin",i[n].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",i[n].fPath),e.appendChild(p)}}}else i[n].loaded=!0,o-=1;i[n].helper=l(i[n],e),i[n].cache={},this.fonts.push(i[n])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0}function c(t){if(t){var e;this.chars||(this.chars=[]);var n,i,r=t.length,o=this.chars.length;for(e=0;e<r;e+=1){n=0,i=!1;while(n<o)this.chars[n].style===t[e].style&&this.chars[n].fFamily===t[e].fFamily&&this.chars[n].ch===t[e].ch&&(i=!0),n+=1;i||(this.chars.push(t[e]),o+=1)}}}function h(t,n,i){var r=0,o=this.chars.length;while(r<o){if(this.chars[r].ch===t&&this.chars[r].style===n&&this.chars[r].fFamily===i)return this.chars[r];r+=1}return("string"===typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,n,i)),e}function d(t,e,n){var i=this.getFontByName(e),r=t.charCodeAt(0);if(!i.cache[r+1]){var o=i.helper;if(" "===t){var a=o.measureText("|"+t+"|"),s=o.measureText("||");i.cache[r+1]=(a-s)/100}else i.cache[r+1]=o.measureText(t)/100}return i.cache[r+1]*n}function p(t){var e=0,n=this.fonts.length;while(e<n){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]}function f(t,e){var n=t.toString(16)+e.toString(16);return-1!==i.indexOf(n)}function g(t,e){return e?t===r[0]&&e===r[1]:t===r[1]}function m(t){return-1!==n.indexOf(t)}function v(){this.isLoaded=!0}var y=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};y.isModifier=f,y.isZeroWidthJoiner=g,y.isCombinedCharacter=m;var b={addChars:c,addFonts:u,getCharData:h,getFontByName:p,measureText:d,checkLoadedFonts:s,setIsLoaded:v};return y.prototype=b,y}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}});var e=function(e){var n,i=createSizedArray(e.viewData.length),r=e.viewData.length;for(n=0;n<r;n+=1)i[n]=new t(e.viewData[n],e.masksProperties[n]);var o=function(t){n=0;while(n<r){if(e.masksProperties[n].nm===t)return i[n];n+=1}return null};return o};return e}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function n(t,e,n){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(i){if(!t.numKeys)return 0;var r="";r="s"in e.keyframes[i-1]?e.keyframes[i-1].s:"e"in e.keyframes[i-2]?e.keyframes[i-2].e:e.keyframes[i-2].s;var o="unidimensional"===n?new Number(r):Object.assign({},r);return o.time=e.keyframes[i-1].t/e.elem.comp.globalData.frameRate,o.value="unidimensional"===n?r[0]:r,o},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function i(e){e&&"pv"in e||(e=t);var i=1/e.mult,r=e.pv*i,o=new Number(r);return o.value=r,n(o,e,"unidimensional"),function(){return e.k&&e.getValue(),r=e.v*i,o.value!==r&&(o=new Number(r),o.value=r,n(o,e,"unidimensional")),o}}function r(t){t&&"pv"in t||(t=e);var i=1/t.mult,r=t.data&&t.data.l||t.pv.length,o=createTypedArray("float32",r),a=createTypedArray("float32",r);return o.value=a,n(o,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<r;e+=1)a[e]=t.v[e]*i,o[e]=a[e];return o}}function o(){return t}return function(t){return t?"unidimensional"===t.propType?i(t):r(t):o}}(),TransformExpressionInterface=function(){return function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var n,i,r,o;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?o=ExpressionPropertyInterface(t.p):(n=ExpressionPropertyInterface(t.px),i=ExpressionPropertyInterface(t.py),t.pz&&(r=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?o():[n(),i(),r?r():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e}}(),LayerExpressionInterface=function(){function t(t){var e=new Matrix;if(void 0!==t){var n=this._elem.finalTransform.mProp.getValueAtTime(t);n.clone(e)}else{var i=this._elem.finalTransform.mProp;i.applyToMatrix(e)}return e}function e(t,e){var n=this.getMatrix(e);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.applyPoint(n,t)}function n(t,e){var n=this.getMatrix(e);return this.applyPoint(n,t)}function i(t,e){var n=this.getMatrix(e);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.invertPoint(n,t)}function r(t,e){var n=this.getMatrix(e);return this.invertPoint(n,t)}function o(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,i=this._elem.hierarchy.length;for(n=0;n<i;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,i=this._elem.hierarchy.length;for(n=0;n<i;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function s(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var n,i=this._elem.hierarchy.length;for(n=0;n<i;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function l(){return[1,1,1,1]}return function(u){var c;function h(t){p.mask=new MaskManagerInterface(t,u)}function d(t){p.effect=t}function p(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return p.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return c;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return p.effect;case"ADBE Text Properties":return p.textInterface;default:return null}}p.getMatrix=t,p.invertPoint=a,p.applyPoint=o,p.toWorld=n,p.toWorldVec=e,p.fromWorld=r,p.fromWorldVec=i,p.toComp=n,p.fromComp=s,p.sampleImage=l,p.sourceRectAtTime=u.sourceRectAtTime.bind(u),p._elem=u,c=TransformExpressionInterface(u.finalTransform.mProp);var f=getDescriptor(c,"anchorPoint");return Object.defineProperties(p,{hasParent:{get:function(){return u.hierarchy.length}},parent:{get:function(){return u.hierarchy[0].layerInterface}},rotation:getDescriptor(c,"rotation"),scale:getDescriptor(c,"scale"),position:getDescriptor(c,"position"),opacity:getDescriptor(c,"opacity"),anchorPoint:f,anchor_point:f,transform:{get:function(){return c}},active:{get:function(){return u.isInRange}}}),p.startTime=u.data.st,p.index=u.data.ind,p.source=u.data.refId,p.height=0===u.data.ty?u.data.h:100,p.width=0===u.data.ty?u.data.w:100,p.inPoint=u.data.ip/u.comp.globalData.frameRate,p.outPoint=u.data.op/u.comp.globalData.frameRate,p._name=u.data.nm,p.registerMaskInterface=h,p.registerEffectsInterface=d,p}}(),propertyGroupFactory=function(){return function(t,e){return function(n){return n=void 0===n?1:n,n<=0?t:e(n-1)}}}(),PropertyInterface=function(){return function(t,e){var n={_name:t};function i(t){return t=void 0===t?1:t,t<=0?n:e(t-1)}return i}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(t,e){if(t.effectsManager){var i,r=[],o=t.data.ef,a=t.effectsManager.effectElements.length;for(i=0;i<a;i+=1)r.push(n(o[i],t.effectsManager.effectElements[i],e,t));var s=t.data.ef||[],l=function(t){i=0,a=s.length;while(i<a){if(t===s[i].nm||t===s[i].mn||t===s[i].ix)return r[i];i+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return s.length}}),l}return null}function n(t,e,r,o){function a(e){var n=t.ef,i=0,r=n.length;while(i<r){if(e===n[i].nm||e===n[i].mn||e===n[i].ix)return 5===n[i].ty?u[i]:u[i]();i+=1}throw new Error}var s,l=propertyGroupFactory(a,r),u=[],c=t.ef.length;for(s=0;s<c;s+=1)5===t.ef[s].ty?u.push(n(t.ef[s],e.effectElements[s],e.effectElements[s].propertyGroup,o)):u.push(i(e.effectElements[s],t.ef[s].ty,o,l));return"ADBE Color Control"===t.mn&&Object.defineProperty(a,"color",{get:function(){return u[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return t.np}},_name:{value:t.nm},propertyGroup:{value:l}}),a.enabled=0!==t.en,a.active=a.enabled,a}function i(t,e,n,i){var r=ExpressionPropertyInterface(t.p);function o(){return 10===e?n.comp.compInterface(t.p.v):r()}return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",i)),o}return t}(),CompExpressionInterface=function(){return function(t){function e(e){var n=0,i=t.layers.length;while(n<i){if(t.layers[n].nm===e||t.layers[n].ind===e)return t.elements[n].layerInterface;n+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e}}(),ShapePathInterface=function(){return function(t,e,n){var i=e.sh;function r(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?r.path:null}var o=propertyGroupFactory(r,n);return i.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(r,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:n}}),r}}(),ShapeExpressionInterface=function(){function t(t,e,l){var f,g=[],m=t?t.length:0;for(f=0;f<m;f+=1)"gr"===t[f].ty?g.push(n(t[f],e[f],l)):"fl"===t[f].ty?g.push(i(t[f],e[f],l)):"st"===t[f].ty?g.push(a(t[f],e[f],l)):"tm"===t[f].ty?g.push(s(t[f],e[f],l)):"tr"===t[f].ty||("el"===t[f].ty?g.push(u(t[f],e[f],l)):"sr"===t[f].ty?g.push(c(t[f],e[f],l)):"sh"===t[f].ty?g.push(ShapePathInterface(t[f],e[f],l)):"rc"===t[f].ty?g.push(h(t[f],e[f],l)):"rd"===t[f].ty?g.push(d(t[f],e[f],l)):"rp"===t[f].ty?g.push(p(t[f],e[f],l)):"gf"===t[f].ty?g.push(r(t[f],e[f],l)):g.push(o(t[f],e[f],l)));return g}function e(e,n,i){var r,o=function(t){var e=0,n=r.length;while(e<n){if(r[e]._name===t||r[e].mn===t||r[e].propertyIndex===t||r[e].ix===t||r[e].ind===t)return r[e];e+=1}return"number"===typeof t?r[t-1]:null};o.propertyGroup=propertyGroupFactory(o,i),r=t(e.it,n.it,o.propertyGroup),o.numProperties=r.length;var a=l(e.it[e.it.length-1],n.it[n.it.length-1],o.propertyGroup);return o.transform=a,o.propertyIndex=e.cix,o._name=e.nm,o}function n(t,n,i){var r=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return r.content;default:return r.transform}};r.propertyGroup=propertyGroupFactory(r,i);var o=e(t,n,r.propertyGroup),a=l(t.it[t.it.length-1],n.it[n.it.length-1],r.propertyGroup);return r.content=o,r.transform=a,Object.defineProperty(r,"_name",{get:function(){return t.nm}}),r.numProperties=t.np,r.propertyIndex=t.ix,r.nm=t.nm,r.mn=t.mn,r}function i(t,e,n){function i(t){return"Color"===t||"color"===t?i.color:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),i}function r(t,e,n){function i(t){return"Start Point"===t||"start point"===t?i.startPoint:"End Point"===t||"end point"===t?i.endPoint:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",n)),e.e.setGroupProperty(PropertyInterface("End Point",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),i}function o(){function t(){return null}return t}function a(t,e,n){var i,r=propertyGroupFactory(u,n),o=propertyGroupFactory(l,r);function a(n){Object.defineProperty(l,t.d[n].nm,{get:ExpressionPropertyInterface(e.d.dataProps[n].p)})}var s=t.d?t.d.length:0,l={};for(i=0;i<s;i+=1)a(i),e.d.dataProps[i].p.setGroupProperty(o);function u(t){return"Color"===t||"color"===t?u.color:"Opacity"===t||"opacity"===t?u.opacity:"Stroke Width"===t||"stroke width"===t?u.strokeWidth:null}return Object.defineProperties(u,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),e.w.setGroupProperty(PropertyInterface("Stroke Width",r)),u}function s(t,e,n){function i(e){return e===t.e.ix||"End"===e||"end"===e?i.end:e===t.s.ix?i.start:e===t.o.ix?i.offset:null}var r=propertyGroupFactory(i,n);return i.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",r)),e.e.setGroupProperty(PropertyInterface("End",r)),e.o.setGroupProperty(PropertyInterface("Offset",r)),i.propertyIndex=t.ix,i.propertyGroup=n,Object.defineProperties(i,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),i.mn=t.mn,i}function l(t,e,n){function i(e){return t.a.ix===e||"Anchor Point"===e?i.anchorPoint:t.o.ix===e||"Opacity"===e?i.opacity:t.p.ix===e||"Position"===e?i.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?i.rotation:t.s.ix===e||"Scale"===e?i.scale:t.sk&&t.sk.ix===e||"Skew"===e?i.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?i.skewAxis:null}var r=propertyGroupFactory(i,n);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",r)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",r)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",r)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",r)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",r)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",r)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",r))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",r)),Object.defineProperties(i,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),i.ty="tr",i.mn=t.mn,i.propertyGroup=n,i}function u(t,e,n){function i(e){return t.p.ix===e?i.position:t.s.ix===e?i.size:null}var r=propertyGroupFactory(i,n);i.propertyIndex=t.ix;var o="tm"===e.sh.ty?e.sh.prop:e.sh;return o.s.setGroupProperty(PropertyInterface("Size",r)),o.p.setGroupProperty(PropertyInterface("Position",r)),Object.defineProperties(i,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:t.nm}}),i.mn=t.mn,i}function c(t,e,n){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.rotation:t.pt.ix===e?i.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?i.outerRadius:t.os.ix===e?i.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?i.innerRoundness:null:i.innerRadius}var r=propertyGroupFactory(i,n),o="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,o.or.setGroupProperty(PropertyInterface("Outer Radius",r)),o.os.setGroupProperty(PropertyInterface("Outer Roundness",r)),o.pt.setGroupProperty(PropertyInterface("Points",r)),o.p.setGroupProperty(PropertyInterface("Position",r)),o.r.setGroupProperty(PropertyInterface("Rotation",r)),t.ir&&(o.ir.setGroupProperty(PropertyInterface("Inner Radius",r)),o.is.setGroupProperty(PropertyInterface("Inner Roundness",r))),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:t.nm}}),i.mn=t.mn,i}function h(t,e,n){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?i.size:null}var r=propertyGroupFactory(i,n),o="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,o.p.setGroupProperty(PropertyInterface("Position",r)),o.s.setGroupProperty(PropertyInterface("Size",r)),o.r.setGroupProperty(PropertyInterface("Rotation",r)),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:t.nm}}),i.mn=t.mn,i}function d(t,e,n){function i(e){return t.r.ix===e||"Round Corners 1"===e?i.radius:null}var r=propertyGroupFactory(i,n),o=e;return i.propertyIndex=t.ix,o.rd.setGroupProperty(PropertyInterface("Radius",r)),Object.defineProperties(i,{radius:{get:ExpressionPropertyInterface(o.rd)},_name:{value:t.nm}}),i.mn=t.mn,i}function p(t,e,n){function i(e){return t.c.ix===e||"Copies"===e?i.copies:t.o.ix===e||"Offset"===e?i.offset:null}var r=propertyGroupFactory(i,n),o=e;return i.propertyIndex=t.ix,o.c.setGroupProperty(PropertyInterface("Copies",r)),o.o.setGroupProperty(PropertyInterface("Offset",r)),Object.defineProperties(i,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:t.nm}}),i.mn=t.mn,i}return function(e,n,i){var r;function o(t){if("number"===typeof t)return t=void 0===t?1:t,0===t?i:r[t-1];var e=0,n=r.length;while(e<n){if(r[e]._name===t)return r[e];e+=1}return null}function a(){return i}return o.propertyGroup=propertyGroupFactory(o,a),r=t(e,n,o.propertyGroup),o.numProperties=r.length,o._name="Contents",o}}(),TextExpressionInterface=function(){return function(t){var e,n;function i(t){switch(t){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){t.textProperty.getValue();var i=t.textProperty.currentData.t;return i!==e&&(t.textProperty.currentData.t=e,n=new String(i),n.value=i||new String(i)),n}}),i}}(),getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();function SliderEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function AngleEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function ColorEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,1,0,n)}function PointEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,1,0,n)}function LayerIndexEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function MaskIndexEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function CheckboxEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var n,i=t.ef||[];this.effectElements=[];var r,o=i.length;for(n=0;n<o;n+=1)r=new GroupEffect(i[n],e),this.effectElements.push(r)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function _typeof$2(t){return _typeof$2="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$2(t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var n;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,r=this.data.ef.length,o=this.data.ef;for(n=0;n<r;n+=1){switch(i=null,o[n].ty){case 0:i=new SliderEffect(o[n],e,this);break;case 1:i=new AngleEffect(o[n],e,this);break;case 2:i=new ColorEffect(o[n],e,this);break;case 3:i=new PointEffect(o[n],e,this);break;case 4:case 7:i=new CheckboxEffect(o[n],e,this);break;case 10:i=new LayerIndexEffect(o[n],e,this);break;case 11:i=new MaskIndexEffect(o[n],e,this);break;case 5:i=new EffectsManager(o[n],e,this);break;default:i=new NoValueEffect(o[n],e,this);break}i&&this.effectElements.push(i)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;var t=0,e=this.data.masksProperties.length;while(t<e){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var t=getBlendMode(this.data.bm),e=this.baseElement||this.layerElement;e.style["mix-blend-mode"]=t},initBaseData:function(t,e,n){this.globalData=e,this.comp=n,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var n,i=this.dynamicProperties.length;for(n=0;n<i;n+=1)(e||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}};var FootageInterface=function(){var t=function(t){var e="",n=t.getFootageData();function i(){return e="",n=t.getFootageData(),r}function r(t){if(n[t])return e=t,n=n[t],"object"===_typeof$2(n)?r:n;var i=t.indexOf(e);if(-1!==i){var o=parseInt(t.substr(i+e.length),10);return n=n[o],"object"===_typeof$2(n)?r:n}return""}return i},e=function(e){function n(t){return"Outline"===t?n.outlineInterface():null}return n._name="Outline",n.outlineInterface=t(e),n};return function(t){function n(t){return"Data"===t?n.dataInterface:null}return n._name="Data",n.dataInterface=e(t),n}}();function FootageElement(t,e,n){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,n)}function AudioElement(t,e,n){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,n),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(t,e,n){this.data=t,this.element=e,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,r,o=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var s,l,u,c,h,d,p=this.masksProperties,f=0,g=[],m=createElementID(),v="clipPath",y="clip-path";for(i=0;i<a;i+=1)if(("a"!==p[i].mode&&"n"!==p[i].mode||p[i].inv||100!==p[i].o.k||p[i].o.x)&&(v="mask",y="mask"),"s"!==p[i].mode&&"i"!==p[i].mode||0!==f?u=null:(u=createNS("rect"),u.setAttribute("fill","#ffffff"),u.setAttribute("width",this.element.comp.data.w||0),u.setAttribute("height",this.element.comp.data.h||0),g.push(u)),r=createNS("path"),"n"===p[i].mode)this.viewData[i]={op:PropertyFactory.getProp(this.element,p[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[i],3),elem:r,lastPath:""},o.appendChild(r);else{var b;if(f+=1,r.setAttribute("fill","s"===p[i].mode?"#000000":"#ffffff"),r.setAttribute("clip-rule","nonzero"),0!==p[i].x.k?(v="mask",y="mask",d=PropertyFactory.getProp(this.element,p[i].x,0,null,this.element),b=createElementID(),c=createNS("filter"),c.setAttribute("id",b),h=createNS("feMorphology"),h.setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),c.appendChild(h),o.appendChild(c),r.setAttribute("stroke","s"===p[i].mode?"#000000":"#ffffff")):(h=null,d=null),this.storedData[i]={elem:r,x:d,expan:h,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===p[i].mode){l=g.length;var _=createNS("g");for(s=0;s<l;s+=1)_.appendChild(g[s]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",m+"_"+f),x.appendChild(r),o.appendChild(x),_.setAttribute("mask","url("+getLocationHref()+"#"+m+"_"+f+")"),g.length=0,g.push(_)}else g.push(r);p[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:r,lastPath:"",op:PropertyFactory.getProp(this.element,p[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[i],3),invRect:u},this.viewData[i].prop.k||this.drawPath(p[i],this.viewData[i].prop.v,this.viewData[i])}for(this.maskElement=createNS(v),a=g.length,i=0;i<a;i+=1)this.maskElement.appendChild(g[i]);f>0&&(this.maskElement.setAttribute("id",m),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+m+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(t){var e,n,i=this.layers.length;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(n=this.layers[e],n.ip-n.st<=t-this.layers[e].st&&n.op-n.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var n,i=t.length,r=this.layers.length;for(e=0;e<i;e+=1){n=0;while(n<r){if(this.layers[n].id===t[e].id){this.layers[n]=t[e];break}n+=1}}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,n){var i=this.elements,r=this.layers,o=0,a=r.length;while(o<a)r[o].ind==e&&(i[o]&&!0!==i[o]?(n.push(i[o]),i[o].setAsParent(),void 0!==r[o].parent?this.buildElementParenting(t,r[o].parent,n):t.setHierarchy(n)):(this.buildItem(o),this.addPendingElement(t))),o+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,n=t.length;for(e=0;e<n;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementByPath=function(t){var e,n=t.shift();if("number"===typeof n)e=this.elements[n];else{var i,r=this.elements.length;for(i=0;i<r;i+=1)if(this.elements[i].data.nm===n){e=this.elements[i];break}}return 0===t.length?e:e.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,n=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)while(n<i){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),n=0;n<i;n+=1)t=this.hierarchy[n].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);var n,i=!0,r=this.comp;while(i)r.finalTransform?(r.data.hasMask&&e.splice(0,0,r.finalTransform),r=r.comp):i=!1;var o,a=e.length;for(n=0;n<a;n+=1)o=e[n].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,n=this.element.finalTransform.mat,i=this.masksProperties.length;for(e=0;e<i;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",n.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var r=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[e].filterId+")")),r.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},MaskElement.prototype.drawPath=function(t,e,n){var i,r,o=" M"+e.v[0][0]+","+e.v[0][1];for(r=e._length,i=1;i<r;i+=1)o+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[i][0]+","+e.i[i][1]+" "+e.v[i][0]+","+e.v[i][1];if(e.c&&r>1&&(o+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),n.lastPath!==o){var a="";n.elem&&(e.c&&(a=t.inv?this.solidPath+o:o),n.elem.setAttribute("d",a)),n.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};function e(t,e){var n=createNS("filter");return n.setAttribute("id",t),!0!==e&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n}function n(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t}return t.createFilter=e,t.createAlphaToLuminanceFilter=n,t}(),featureSupport=function(){var t={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),t}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(t){var e,n,i="SourceGraphic",r=t.data.ef?t.data.ef.length:0,o=createElementID(),a=filtersFactory.createFilter(o,!0),s=0;for(this.filters=[],e=0;e<r;e+=1){n=null;var l=t.data.ef[e].ty;if(registeredEffects[l]){var u=registeredEffects[l].effect;n=new u(a,t.effectsManager.effectElements[e],t,idPrefix+s,i),i=idPrefix+s,registeredEffects[l].countsAsEffect&&(s+=1)}n&&this.filters.push(n)}s&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e,n){registeredEffects[t]={effect:e,countsAsEffect:n}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(t){var e,n=this.filters.length;for(e=0;e<n;e+=1)this.filters[e].renderFrame(t)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,n,i=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var r=createNS("mask");r.setAttribute("id",this.layerId),r.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),r.appendChild(this.layerElement),i=r,this.globalData.defs.appendChild(r),featureSupport.maskType||1!=this.data.td||(r.setAttribute("mask-type","luminance"),t=createElementID(),e=filtersFactory.createFilter(t),this.globalData.defs.appendChild(e),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),n.appendChild(this.layerElement),i=n,r.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2==this.data.td){var o=createNS("mask");o.setAttribute("id",this.layerId),o.setAttribute("mask-type","alpha");var a=createNS("g");o.appendChild(a),t=createElementID(),e=filtersFactory.createFilter(t);var s=createNS("feComponentTransfer");s.setAttribute("in","SourceGraphic"),e.appendChild(s);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),s.appendChild(l),this.globalData.defs.appendChild(e);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),a.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),a.appendChild(u),a.appendChild(this.layerElement),i=a,featureSupport.maskType||(o.setAttribute("mask-type","luminance"),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),a.appendChild(u),n.appendChild(this.layerElement),i=n,a.appendChild(n)),this.globalData.defs.appendChild(o)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),i=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var c=createNS("clipPath"),h=createNS("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var d=createElementID();if(c.setAttribute("id",d),c.appendChild(h),this.globalData.defs.appendChild(c),this.checkMasks()){var p=createNS("g");p.setAttribute("clip-path","url("+getLocationHref()+"#"+d+")"),p.appendChild(this.layerElement),this.transformedElement=p,i?i.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+d+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},function(){var t={initElement:function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var t=this.baseElement||this.layerElement;t.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var t=this.baseElement||this.layerElement;t.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(t)],RenderableDOMElement)}(),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(t){var e,n=this.shapeModifiers.length;for(e=0;e<n;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){var e=0,n=this.shapeModifiers.length;while(e<n)if(this.shapeModifiers[e].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e,n=this.shapes.length;for(t=0;t<n;t+=1)this.shapes[t].sh.reset();for(n=this.shapeModifiers.length,t=n-1;t>=0;t-=1)if(e=this.shapeModifiers[t].processShapes(this._isFirstFrame),e)break}},searchProcessedElement:function(t){var e=this.processedElements,n=0,i=e.length;while(n<i){if(e[n].elem===t)return e[n].pos;n+=1}return 0},addProcessedElement:function(t,e){var n=this.processedElements,i=n.length;while(i)if(i-=1,n[i].elem===t)return void(n[i].pos=e);n.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,n){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=n,this.lvl=e,this._isAnimated=!!n.k;var i=0,r=t.length;while(i<r){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(t,e,n,i){var r;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var o,a=e.length||0;for(r=0;r<a;r+=1)o=PropertyFactory.getProp(t,e[r].v,0,0,this),this.k=o.k||this.k,this.dataProps[r]={n:e[r].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=n}function SVGNoStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=n}function GradientProperty(t,e,n){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var i=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,n)}function SVGGradientStrokeStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,n),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,n){this.transform={mProps:t,op:e,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<n;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(t,e){var n,i=0,r=this.o.length/2;while(i<r){if(n=Math.abs(t[4*i]-t[4*e+2*i]),n>.01)return!1;i+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s){var t=0,e=this.data.k.k.length;while(t<e){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,n,i,r=4*this.data.p;for(e=0;e<r;e+=1)n=e%4===0?100:255,i=Math.round(this.prop.v[e]*n),this.c[e]!==i&&(this.c[e]=i,this._cmdf=!t);if(this.o.length)for(r=this.prop.v.length,e=4*this.data.p;e<r;e+=1)n=e%2===0?100:1,i=e%2===0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==i&&(this.o[e-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,n){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,e),this.setGradientOpacity(e,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var n=createElementID(),i=createNS(1===e.t?"linearGradient":"radialGradient");i.setAttribute("id",n),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var r,o,a,s=[];for(a=4*e.g.p,o=0;o<a;o+=4)r=createNS("stop"),i.appendChild(r),s.push(r);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+n+")"),this.gf=i,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var n,i,r,o=createNS("mask"),a=createNS("path");o.appendChild(a);var s=createElementID(),l=createElementID();o.setAttribute("id",l);var u=createNS(1===t.t?"linearGradient":"radialGradient");u.setAttribute("id",s),u.setAttribute("spreadMethod","pad"),u.setAttribute("gradientUnits","userSpaceOnUse"),r=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var c=this.stops;for(i=4*t.g.p;i<r;i+=2)n=createNS("stop"),n.setAttribute("stop-color","rgb(255,255,255)"),u.appendChild(n),c.push(n);a.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),"gs"===t.ty&&(a.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&a.setAttribute("stroke-miterlimit",t.ml)),this.of=u,this.ms=o,this.ost=c,this.maskId=l,e.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,n,i){if(0===e)return"";var r,o=t.o,a=t.i,s=t.v,l=" M"+i.applyToPointStringified(s[0][0],s[0][1]);for(r=1;r<e;r+=1)l+=" C"+i.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+i.applyToPointStringified(a[r][0],a[r][1])+" "+i.applyToPointStringified(s[r][0],s[r][1]);return n&&e&&(l+=" C"+i.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+i.applyToPointStringified(a[0][0],a[0][1])+" "+i.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,n={createRenderFunction:i};function i(t){switch(t.ty){case"fl":return s;case"gf":return u;case"gs":return l;case"st":return c;case"sh":case"el":case"rc":case"sr":return a;case"tr":return r;case"no":return o;default:return null}}function r(t,e,n){(n||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(n||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function o(){}function a(n,i,r){var o,a,s,l,u,c,h,d,p,f,g,m=i.styles.length,v=i.lvl;for(c=0;c<m;c+=1){if(l=i.sh._mdf||r,i.styles[c].lvl<v){d=e.reset(),f=v-i.styles[c].lvl,g=i.transformers.length-1;while(!l&&f>0)l=i.transformers[g].mProps._mdf||l,f-=1,g-=1;if(l){f=v-i.styles[c].lvl,g=i.transformers.length-1;while(f>0)p=i.transformers[g].mProps.v.props,d.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),f-=1,g-=1}}else d=t;if(h=i.sh.paths,a=h._length,l){for(s="",o=0;o<a;o+=1)u=h.shapes[o],u&&u._length&&(s+=buildShapeString(u,u._length,u.c,d));i.caches[c]=s}else s=i.caches[c];i.styles[c].d+=!0===n.hd?"":s,i.styles[c]._mdf=l||i.styles[c]._mdf}}function s(t,e,n){var i=e.style;(e.c._mdf||n)&&i.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n)&&i.pElem.setAttribute("fill-opacity",e.o.v)}function l(t,e,n){u(t,e,n),c(t,e,n)}function u(t,e,n){var i,r,o,a,s,l=e.gf,u=e.g._hasOpacity,c=e.s.v,h=e.e.v;if(e.o._mdf||n){var d="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(d,e.o.v)}if(e.s._mdf||n){var p=1===t.t?"x1":"cx",f="x1"===p?"y1":"cy";l.setAttribute(p,c[0]),l.setAttribute(f,c[1]),u&&!e.g._collapsable&&(e.of.setAttribute(p,c[0]),e.of.setAttribute(f,c[1]))}if(e.g._cmdf||n){i=e.cst;var g=e.g.c;for(o=i.length,r=0;r<o;r+=1)a=i[r],a.setAttribute("offset",g[4*r]+"%"),a.setAttribute("stop-color","rgb("+g[4*r+1]+","+g[4*r+2]+","+g[4*r+3]+")")}if(u&&(e.g._omdf||n)){var m=e.g.o;for(i=e.g._collapsable?e.cst:e.ost,o=i.length,r=0;r<o;r+=1)a=i[r],e.g._collapsable||a.setAttribute("offset",m[2*r]+"%"),a.setAttribute("stop-opacity",m[2*r+1])}if(1===t.t)(e.e._mdf||n)&&(l.setAttribute("x2",h[0]),l.setAttribute("y2",h[1]),u&&!e.g._collapsable&&(e.of.setAttribute("x2",h[0]),e.of.setAttribute("y2",h[1])));else if((e.s._mdf||e.e._mdf||n)&&(s=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)),l.setAttribute("r",s),u&&!e.g._collapsable&&e.of.setAttribute("r",s)),e.e._mdf||e.h._mdf||e.a._mdf||n){s||(s=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)));var v=Math.atan2(h[1]-c[1],h[0]-c[0]),y=e.h.v;y>=1?y=.99:y<=-1&&(y=-.99);var b=s*y,_=Math.cos(v+e.a.v)*b+c[0],x=Math.sin(v+e.a.v)*b+c[1];l.setAttribute("fx",_),l.setAttribute("fy",x),u&&!e.g._collapsable&&(e.of.setAttribute("fx",_),e.of.setAttribute("fy",x))}}function c(t,e,n){var i=e.style,r=e.d;r&&(r._mdf||n)&&r.dashStr&&(i.pElem.setAttribute("stroke-dasharray",r.dashStr),i.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||n)&&i.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||n)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))}return n}();function SVGShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,n),this.prevViewData=[]}function LetterProps(t,e,n,i,r,o){this.o=t,this.sw=e,this.sc=n,this.fc=i,this.m=r,this.p=o,this._mdf={o:!0,sw:!!e,sc:!!n,fc:!!i,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,n,i,r=this.shapes.length,o=this.stylesList.length,a=[],s=!1;for(n=0;n<o;n+=1){for(i=this.stylesList[n],s=!1,a.length=0,t=0;t<r;t+=1)e=this.shapes[t],-1!==e.styles.indexOf(i)&&(a.push(e),s=e._isAnimated||s);a.length>1&&s&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var n,i=new SVGStyleData(t,e),r=i.pElem;if("st"===t.ty)n=new SVGStrokeStyleData(this,t,i);else if("fl"===t.ty)n=new SVGFillStyleData(this,t,i);else if("gf"===t.ty||"gs"===t.ty){var o="gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData;n=new o(this,t,i),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),r.setAttribute("mask","url("+getLocationHref()+"#"+n.maskId+")"))}else"no"===t.ty&&(n=new SVGNoStyleData(this,t,i));return"st"!==t.ty&&"gs"!==t.ty||(r.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),r.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),r.setAttribute("fill-opacity","0"),1===t.lj&&r.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&r.setAttribute("fill-rule","evenodd"),t.ln&&r.setAttribute("id",t.ln),t.cl&&r.setAttribute("class",t.cl),t.bm&&(r.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var n=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(n,n.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,n){var i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7);var r=ShapePropertyFactory.getShapeProp(this,t,i,this),o=new SVGShapeData(e,n,r);return this.shapes.push(o),this.addShapeToModifiers(o),this.addToAnimatedContents(t,o),o},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){var n=0,i=this.animatedContents.length;while(n<i){if(this.animatedContents[n].element===e)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,n=t.styles,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||n.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,n,i,r,o,a){var s,l,u,c,h,d,p=[].concat(o),f=t.length-1,g=[],m=[];for(s=f;s>=0;s-=1){if(d=this.searchProcessedElement(t[s]),d?e[s]=n[d-1]:t[s]._render=a,"fl"===t[s].ty||"st"===t[s].ty||"gf"===t[s].ty||"gs"===t[s].ty||"no"===t[s].ty)d?e[s].style.closed=!1:e[s]=this.createStyleElement(t[s],r),t[s]._render&&e[s].style.pElem.parentNode!==i&&i.appendChild(e[s].style.pElem),g.push(e[s].style);else if("gr"===t[s].ty){if(d)for(u=e[s].it.length,l=0;l<u;l+=1)e[s].prevViewData[l]=e[s].it[l];else e[s]=this.createGroupElement(t[s]);this.searchShapes(t[s].it,e[s].it,e[s].prevViewData,e[s].gr,r+1,p,a),t[s]._render&&e[s].gr.parentNode!==i&&i.appendChild(e[s].gr)}else"tr"===t[s].ty?(d||(e[s]=this.createTransformElement(t[s],i)),c=e[s].transform,p.push(c)):"sh"===t[s].ty||"rc"===t[s].ty||"el"===t[s].ty||"sr"===t[s].ty?(d||(e[s]=this.createShapeElement(t[s],p,r)),this.setElementStyles(e[s])):"tm"===t[s].ty||"rd"===t[s].ty||"ms"===t[s].ty||"pb"===t[s].ty?(d?(h=e[s],h.closed=!1):(h=ShapeModifiers.getModifier(t[s].ty),h.init(this,t[s]),e[s]=h,this.shapeModifiers.push(h)),m.push(h)):"rp"===t[s].ty&&(d?(h=e[s],h.closed=!0):(h=ShapeModifiers.getModifier(t[s].ty),e[s]=h,h.init(this,t,s,e),this.shapeModifiers.push(h),a=!1),m.push(h));this.addProcessedElement(t[s],s+1)}for(f=g.length,s=0;s<f;s+=1)g[s].closed=!0;for(f=m.length,s=0;s<f;s+=1)m[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,n=this.animatedContents.length;for(t=0;t<n;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,n,i,r,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,a=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,a=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,a=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,a=!0),this.m!==r&&(this.m=r,this._mdf.m=!0,a=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,a=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var i;this.lock=!0,this._mdf=!1;var r=this.effectsSequence.length,o=t||this.data.d.k[this.keysIndex].s;for(i=0;i<r;i+=1)o=n!==this.keysIndex?this.effectsSequence[i](o,o.t):this.effectsSequence[i](this.currentData,o.t);e!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){var t=this.data.d.k,e=this.elem.comp.renderedFrame,n=0,i=t.length;while(n<=i-1){if(n===i-1||t[n+1].t>e)break;n+=1}return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){var e,n,i=[],r=0,o=t.length,a=!1;while(r<o)e=t.charCodeAt(r),FontManager.isCombinedCharacter(e)?i[i.length-1]+=t.charAt(r):e>=55296&&e<=56319?(n=t.charCodeAt(r+1),n>=56320&&n<=57343?(a||FontManager.isModifier(e,n)?(i[i.length-1]+=t.substr(r,2),a=!1):i.push(t.substr(r,2)),r+=1):i.push(t.charAt(r))):e>56319?(n=t.charCodeAt(r+1),FontManager.isZeroWidthJoiner(e,n)?(a=!0,i[i.length-1]+=t.substr(r,2),r+=1):i.push(t.charAt(r))):FontManager.isZeroWidthJoiner(e)?(i[i.length-1]+=t.charAt(r),a=!0):i.push(t.charAt(r)),r+=1;return i},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,n,i,r,o,a,s,l=this.elem.globalData.fontManager,u=this.data,c=[],h=0,d=u.m.g,p=0,f=0,g=0,m=[],v=0,y=0,b=l.getFontByName(t.f),_=0,x=getFontProperties(b);t.fWeight=x.weight,t.fStyle=x.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),n=t.finalText.length,t.finalLineHeight=t.lh;var w,S=t.tr/1e3*t.finalSize;if(t.sz){var C,k,M=!0,O=t.sz[0],T=t.sz[1];while(M){k=this.buildFinalText(t.t),C=0,v=0,n=k.length,S=t.tr/1e3*t.finalSize;var A=-1;for(e=0;e<n;e+=1)w=k[e].charCodeAt(0),i=!1," "===k[e]?A=e:13!==w&&3!==w||(v=0,i=!0,C+=t.finalLineHeight||1.2*t.finalSize),l.chars?(s=l.getCharData(k[e],b.fStyle,b.fFamily),_=i?0:s.w*t.finalSize/100):_=l.measureText(k[e],t.f,t.finalSize),v+_>O&&" "!==k[e]?(-1===A?n+=1:e=A,C+=t.finalLineHeight||1.2*t.finalSize,k.splice(e,A===e?1:0,"\r"),A=-1,v=0):(v+=_,v+=S);C+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&T<C?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=k,n=t.finalText.length,M=!1)}}v=-S,_=0;var I,P=0;for(e=0;e<n;e+=1)if(i=!1,I=t.finalText[e],w=I.charCodeAt(0),13===w||3===w?(P=0,m.push(v),y=v>y?v:y,v=-2*S,r="",i=!0,g+=1):r=I,l.chars?(s=l.getCharData(I,b.fStyle,l.getFontByName(t.f).fFamily),_=i?0:s.w*t.finalSize/100):_=l.measureText(r,t.f,t.finalSize)," "===I?P+=_+S:(v+=_+S+P,P=0),c.push({l:_,an:_,add:p,n:i,anIndexes:[],val:r,line:g,animatorJustifyOffset:0}),2==d){if(p+=_,""===r||" "===r||e===n-1){""!==r&&" "!==r||(p-=_);while(f<=e)c[f].an=p,c[f].ind=h,c[f].extra=_,f+=1;h+=1,p=0}}else if(3==d){if(p+=_,""===r||e===n-1){""===r&&(p-=_);while(f<=e)c[f].an=p,c[f].ind=h,c[f].extra=_,f+=1;p=0,h+=1}}else c[h].ind=h,c[h].extra=0,h+=1;if(t.l=c,y=v>y?v:y,m.push(v),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=y,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=m;var E,D,L,j,R=u.a;a=R.length;var B=[];for(o=0;o<a;o+=1){for(E=R[o],E.a.sc&&(t.strokeColorAnim=!0),E.a.sw&&(t.strokeWidthAnim=!0),(E.a.fc||E.a.fh||E.a.fs||E.a.fb)&&(t.fillColorAnim=!0),j=0,L=E.s.b,e=0;e<n;e+=1)D=c[e],D.anIndexes[o]=j,(1==L&&""!==D.val||2==L&&""!==D.val&&" "!==D.val||3==L&&(D.n||" "==D.val||e==n-1)||4==L&&(D.n||e==n-1))&&(1===E.s.rn&&B.push(j),j+=1);u.a[o].s.totalChars=j;var N,F=-1;if(1===E.s.rn)for(e=0;e<n;e+=1)D=c[e],F!=D.anIndexes[o]&&(F=D.anIndexes[o],N=B.splice(Math.floor(Math.random()*B.length),1)[0]),D.anIndexes[o]=N}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var n=this.copyData({},this.data.d.k[e].s);n=this.copyData(n,t),this.data.d.k[e].s=n,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,n=Math.floor;function i(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}function r(t,e,n){return new i(t,e,n)}return i.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var r=0,o=0,a=1,s=1;this.ne.v>0?r=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(r,o,a,s).get,u=0,c=this.finalS,h=this.finalE,d=this.data.sh;if(2===d)u=h===c?i>=h?1:0:t(0,e(.5/(h-c)+(i-c)/(h-c),1)),u=l(u);else if(3===d)u=h===c?i>=h?0:1:1-t(0,e(.5/(h-c)+(i-c)/(h-c),1)),u=l(u);else if(4===d)h===c?u=0:(u=t(0,e(.5/(h-c)+(i-c)/(h-c),1)),u<.5?u*=2:u=1-2*(u-.5)),u=l(u);else if(5===d){if(h===c)u=0;else{var p=h-c;i=e(t(0,i+.5-c),h-c);var f=-p/2+i,g=p/2;u=Math.sqrt(1-f*f/(g*g))}u=l(u)}else 6===d?(h===c?u=0:(i=e(t(0,i+.5-c),h-c),u=(1+Math.cos(Math.PI+2*Math.PI*i/(h-c)))/2),u=l(u)):(i>=n(c)&&(u=t(0,e(i-c<0?e(h,1)-(c-i):h-i,1))),u=l(u));if(100!==this.sm.v){var m=.01*this.sm.v;0===m&&(m=1e-8);var v=.5-.5*m;u<v?u=0:(u=(u-v)/m,u>1&&(u=1))}return u*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/e,i=this.s.v/e+n,r=this.e.v/e+n;if(i>r){var o=i;i=r,r=o}this.finalS=i,this.finalE=r}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:r}}();function TextAnimatorDataProperty(t,e,n){var i={propType:!1},r=PropertyFactory.getProp,o=e.a;this.a={r:o.r?r(t,o.r,0,degToRads,n):i,rx:o.rx?r(t,o.rx,0,degToRads,n):i,ry:o.ry?r(t,o.ry,0,degToRads,n):i,sk:o.sk?r(t,o.sk,0,degToRads,n):i,sa:o.sa?r(t,o.sa,0,degToRads,n):i,s:o.s?r(t,o.s,1,.01,n):i,a:o.a?r(t,o.a,1,0,n):i,o:o.o?r(t,o.o,0,.01,n):i,p:o.p?r(t,o.p,1,0,n):i,sw:o.sw?r(t,o.sw,0,0,n):i,sc:o.sc?r(t,o.sc,1,0,n):i,fc:o.fc?r(t,o.fc,1,0,n):i,fh:o.fh?r(t,o.fh,0,0,n):i,fs:o.fs?r(t,o.fs,0,.01,n):i,fb:o.fb?r(t,o.fb,0,.01,n):i,t:o.t?r(t,o.t,0,0,n):i},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,n),this.s.t=e.s.t}function TextAnimatorProperty(t,e,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,n=this._textData.a.length,i=PropertyFactory.getProp;for(t=0;t<n;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var n,i,r,o,a,s,l,u,c,h,d,p,f,g,m,v,y,b,_,x=this._moreOptions.alignment.v,w=this._animatorsData,S=this._textData,C=this.mHelper,k=this._renderType,M=this.renderedLetters.length,O=t.l;if(this._hasMaskedPath){if(_=this._pathData.m,!this._pathData.n||this._pathData._mdf){var T,A=_.v;for(this._pathData.r.v&&(A=A.reverse()),a={tLength:0,segments:[]},o=A._length-1,v=0,r=0;r<o;r+=1)T=bez.buildBezierData(A.v[r],A.v[r+1],[A.o[r][0]-A.v[r][0],A.o[r][1]-A.v[r][1]],[A.i[r+1][0]-A.v[r+1][0],A.i[r+1][1]-A.v[r+1][1]]),a.tLength+=T.segmentLength,a.segments.push(T),v+=T.segmentLength;r=o,_.v.c&&(T=bez.buildBezierData(A.v[r],A.v[0],[A.o[r][0]-A.v[r][0],A.o[r][1]-A.v[r][1]],[A.i[0][0]-A.v[0][0],A.i[0][1]-A.v[0][1]]),a.tLength+=T.segmentLength,a.segments.push(T),v+=T.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,s=this._pathData.f.v,d=0,h=1,u=0,c=!0,g=a.segments,s<0&&_.v.c){a.tLength<Math.abs(s)&&(s=-Math.abs(s)%a.tLength),d=g.length-1,f=g[d].points,h=f.length-1;while(s<0)s+=f[h].partialLength,h-=1,h<0&&(d-=1,f=g[d].points,h=f.length-1)}f=g[d].points,p=f[h-1],l=f[h],m=l.partialLength}o=O.length,n=0,i=0;var I,P,E,D,L,j,R=1.2*t.finalSize*.714,B=!0;D=w.length;var N,F,z,V,q,$,H,G,W,U,Y,X,K=-1,Z=s,Q=d,J=h,tt=-1,et="",nt=this.defaultPropsArray;if(2===t.j||1===t.j){var it=0,rt=0,ot=2===t.j?-.5:-1,at=0,st=!0;for(r=0;r<o;r+=1)if(O[r].n){it&&(it+=rt);while(at<r)O[at].animatorJustifyOffset=it,at+=1;it=0,st=!0}else{for(E=0;E<D;E+=1)I=w[E].a,I.t.propType&&(st&&2===t.j&&(rt+=I.t.v*ot),P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),j.length?it+=I.t.v*j[0]*ot:it+=I.t.v*j*ot);st=!1}it&&(it+=rt);while(at<r)O[at].animatorJustifyOffset=it,at+=1}for(r=0;r<o;r+=1){if(C.reset(),V=1,O[r].n)n=0,i+=t.yOffset,i+=B?1:0,s=Z,B=!1,this._hasMaskedPath&&(d=Q,h=J,f=g[d].points,p=f[h-1],l=f[h],m=l.partialLength,u=0),et="",Y="",W="",X="",nt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(tt!==O[r].line){switch(t.j){case 1:s+=v-t.lineWidths[O[r].line];break;case 2:s+=(v-t.lineWidths[O[r].line])/2;break;default:break}tt=O[r].line}K!==O[r].ind&&(O[K]&&(s+=O[K].extra),s+=O[r].an/2,K=O[r].ind),s+=x[0]*O[r].an*.005;var lt=0;for(E=0;E<D;E+=1)I=w[E].a,I.p.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),j.length?lt+=I.p.v[0]*j[0]:lt+=I.p.v[0]*j),I.a.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),j.length?lt+=I.a.v[0]*j[0]:lt+=I.a.v[0]*j);c=!0,this._pathData.a.v&&(s=.5*O[0].an+(v-this._pathData.f.v-.5*O[0].an-.5*O[O.length-1].an)*K/(o-1),s+=this._pathData.f.v);while(c)u+m>=s+lt||!f?(y=(s+lt-u)/l.partialLength,F=p.point[0]+(l.point[0]-p.point[0])*y,z=p.point[1]+(l.point[1]-p.point[1])*y,C.translate(-x[0]*O[r].an*.005,-x[1]*R*.01),c=!1):f&&(u+=l.partialLength,h+=1,h>=f.length&&(h=0,d+=1,g[d]?f=g[d].points:_.v.c?(h=0,d=0,f=g[d].points):(u-=l.partialLength,f=null)),f&&(p=l,l=f[h],m=l.partialLength));N=O[r].an/2-O[r].add,C.translate(-N,0,0)}else N=O[r].an/2-O[r].add,C.translate(-N,0,0),C.translate(-x[0]*O[r].an*.005,-x[1]*R*.01,0);for(E=0;E<D;E+=1)I=w[E].a,I.t.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),0===n&&0===t.j||(this._hasMaskedPath?j.length?s+=I.t.v*j[0]:s+=I.t.v*j:j.length?n+=I.t.v*j[0]:n+=I.t.v*j));for(t.strokeWidthAnim&&($=t.sw||0),t.strokeColorAnim&&(q=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(H=[t.fc[0],t.fc[1],t.fc[2]]),E=0;E<D;E+=1)I=w[E].a,I.a.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),j.length?C.translate(-I.a.v[0]*j[0],-I.a.v[1]*j[1],I.a.v[2]*j[2]):C.translate(-I.a.v[0]*j,-I.a.v[1]*j,I.a.v[2]*j));for(E=0;E<D;E+=1)I=w[E].a,I.s.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),j.length?C.scale(1+(I.s.v[0]-1)*j[0],1+(I.s.v[1]-1)*j[1],1):C.scale(1+(I.s.v[0]-1)*j,1+(I.s.v[1]-1)*j,1));for(E=0;E<D;E+=1){if(I=w[E].a,P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),I.sk.propType&&(j.length?C.skewFromAxis(-I.sk.v*j[0],I.sa.v*j[1]):C.skewFromAxis(-I.sk.v*j,I.sa.v*j)),I.r.propType&&(j.length?C.rotateZ(-I.r.v*j[2]):C.rotateZ(-I.r.v*j)),I.ry.propType&&(j.length?C.rotateY(I.ry.v*j[1]):C.rotateY(I.ry.v*j)),I.rx.propType&&(j.length?C.rotateX(I.rx.v*j[0]):C.rotateX(I.rx.v*j)),I.o.propType&&(j.length?V+=(I.o.v*j[0]-V)*j[0]:V+=(I.o.v*j-V)*j),t.strokeWidthAnim&&I.sw.propType&&(j.length?$+=I.sw.v*j[0]:$+=I.sw.v*j),t.strokeColorAnim&&I.sc.propType)for(G=0;G<3;G+=1)j.length?q[G]+=(I.sc.v[G]-q[G])*j[0]:q[G]+=(I.sc.v[G]-q[G])*j;if(t.fillColorAnim&&t.fc){if(I.fc.propType)for(G=0;G<3;G+=1)j.length?H[G]+=(I.fc.v[G]-H[G])*j[0]:H[G]+=(I.fc.v[G]-H[G])*j;I.fh.propType&&(H=j.length?addHueToRGB(H,I.fh.v*j[0]):addHueToRGB(H,I.fh.v*j)),I.fs.propType&&(H=j.length?addSaturationToRGB(H,I.fs.v*j[0]):addSaturationToRGB(H,I.fs.v*j)),I.fb.propType&&(H=j.length?addBrightnessToRGB(H,I.fb.v*j[0]):addBrightnessToRGB(H,I.fb.v*j))}}for(E=0;E<D;E+=1)I=w[E].a,I.p.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),this._hasMaskedPath?j.length?C.translate(0,I.p.v[1]*j[0],-I.p.v[2]*j[1]):C.translate(0,I.p.v[1]*j,-I.p.v[2]*j):j.length?C.translate(I.p.v[0]*j[0],I.p.v[1]*j[1],-I.p.v[2]*j[2]):C.translate(I.p.v[0]*j,I.p.v[1]*j,-I.p.v[2]*j));if(t.strokeWidthAnim&&(W=$<0?0:$),t.strokeColorAnim&&(U="rgb("+Math.round(255*q[0])+","+Math.round(255*q[1])+","+Math.round(255*q[2])+")"),t.fillColorAnim&&t.fc&&(Y="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),this._hasMaskedPath){if(C.translate(0,-t.ls),C.translate(0,x[1]*R*.01+i,0),this._pathData.p.v){b=(l.point[1]-p.point[1])/(l.point[0]-p.point[0]);var ut=180*Math.atan(b)/Math.PI;l.point[0]<p.point[0]&&(ut+=180),C.rotate(-ut*Math.PI/180)}C.translate(F,z,0),s-=x[0]*O[r].an*.005,O[r+1]&&K!==O[r+1].ind&&(s+=O[r].an/2,s+=.001*t.tr*t.finalSize)}else{switch(C.translate(n,i,0),t.ps&&C.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:C.translate(O[r].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[O[r].line]),0,0);break;case 2:C.translate(O[r].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[O[r].line])/2,0,0);break;default:break}C.translate(0,-t.ls),C.translate(N,0,0),C.translate(x[0]*O[r].an*.005,x[1]*R*.01,0),n+=O[r].l+.001*t.tr*t.finalSize}"html"===k?et=C.toCSS():"svg"===k?et=C.to2dCSS():nt=[C.props[0],C.props[1],C.props[2],C.props[3],C.props[4],C.props[5],C.props[6],C.props[7],C.props[8],C.props[9],C.props[10],C.props[11],C.props[12],C.props[13],C.props[14],C.props[15]],X=V}M<=r?(L=new LetterProps(X,W,U,Y,et,nt),this.renderedLetters.push(L),M+=1,this.lettersChangedFlag=!0):(L=this.renderedLetters[r],this.lettersChangedFlag=L.update(X,W,U,Y,et,nt)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(t,e,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,n),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var n,i,r=e.length,o="";for(n=0;n<r;n+=1)"sh"===e[n].ty&&(i=e[n].ks.k,o+=buildShapeString(i,i.i.length,!0,t));return o},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,n,i,r){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n])/2,0,0);break;default:break}e.translate(i,r,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,n){this.textSpans=[],this.renderType="svg",this.initElement(t,e,n)}function ISolidElement(t,e,n){this.initElement(t,e,n)}function NullElement(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initFrame(),this.initTransform(t,e,n),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,n){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var n="";if(e&&e.title){var i=createNS("title"),r=createElementID();i.setAttribute("id",r),i.textContent=e.title,this.svgElement.appendChild(i),n+=r}if(e&&e.description){var o=createNS("desc"),a=createElementID();o.setAttribute("id",a),o.textContent=e.description,this.svgElement.appendChild(o),n+=" "+a}n&&this.svgElement.setAttribute("aria-labelledby",n);var s=createNS("defs");this.svgElement.appendChild(s);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var t;this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1;var e=15;for(this.savedOp=createTypedArray("float32",e),t=0;t<e;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=e}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVEffects(){}function CVMaskElement(t,e){var n;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i=this.masksProperties.length,r=!1;for(n=0;n<i;n+=1)"n"!==this.masksProperties[n].mode&&(r=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=r,r&&this.element.addRenderableComponent(this)}function CVBaseElement(){}function CVShapeData(t,e,n,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var r,o=4;"rc"===e.ty?o=5:"el"===e.ty?o=6:"sr"===e.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,o,t);var a,s=n.length;for(r=0;r<s;r+=1)n[r].closed||(a={transforms:i.addTransformSequence(n[r].transforms),trNodes:[]},this.styledShapes.push(a),n[r].elements.push(a))}function CVShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,n)}function CVTextElement(t,e,n){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,n)}function CVImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,n)}function CVSolidElement(t,e,n){this.initElement(t,e,n)}function CanvasRendererBase(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(t,e,n){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(t,e,n){this.initElement(t,e,n)}function HShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,n)}function HCameraElement(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,t.pe,0,0,this),t.ks.p.s?(this.px=i(this,t.ks.p.x,1,0,this),this.py=i(this,t.ks.p.y,1,0,this),this.pz=i(this,t.ks.p.z,1,0,this)):this.p=i(this,t.ks.p,1,0,this),t.ks.a&&(this.a=i(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var r,o=t.ks.or.k.length;for(r=0;r<o;r+=1)t.ks.or.k[r].to=null,t.ks.or.k[r].ti=null}this.or=i(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,t.ks.rx,0,degToRads,this),this.ry=i(this,t.ks.ry,0,degToRads,this),this.rz=i(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,n)}function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(t,e,n){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){var e=0,n=t.length,i=[],r="";while(e<n)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(r),r=""):r+=t[e],e+=1;return i.push(r),i},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var n=t.shapes[0];if(n.it){var i=n.it[n.it.length-1];i.s&&(i.s.k[0]=e,i.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var i=this.globalData.fontManager.getFontByName(n.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var r=n.fWeight,o=n.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",r)}this.layerElement.setAttribute("aria-label",n.t);var a,s=n.l||[],l=!!this.globalData.fontManager.chars;e=s.length;var u=this.mHelper,c="",h=this.data.singleShape,d=0,p=0,f=!0,g=.001*n.tr*n.finalSize;if(!h||l||n.sz){var m,v=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!l||!h||0===t){if(a=v>t?this.textSpans[t].span:createNS(l?"g":"text"),v<=t){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=a,l){var y=createNS("g");a.appendChild(y),this.textSpans[t].childSpan=y}this.textSpans[t].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(u.reset(),h&&(s[t].n&&(d=-g,p+=n.yOffset,p+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(n,u,s[t].line,d,p),d+=s[t].l||0,d+=g),l){var b;if(m=this.globalData.fontManager.getCharData(n.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily),1===m.t)b=new SVGCompElement(m.data,this.globalData,this);else{var _=emptyShapeData;m.data&&m.data.shapes&&(_=this.buildShapeData(m.data,n.finalSize)),b=new SVGShapeElement(_,this.globalData,this)}if(this.textSpans[t].glyph){var x=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(x.layerElement),x.destroy()}this.textSpans[t].glyph=b,b._debug=!0,b.prepareFrame(0),b.renderFrame(),this.textSpans[t].childSpan.appendChild(b.layerElement),1===m.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else h&&a.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),a.textContent=s[t].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}h&&a&&a.setAttribute("d",c)}else{var w=this.textContainer,S="start";switch(n.j){case 1:S="end";break;case 2:S="middle";break;default:S="start";break}w.setAttribute("text-anchor",S),w.setAttribute("letter-spacing",g);var C=this.buildTextContents(n.finalText);for(e=C.length,p=n.ps?n.ps[1]+n.ascent:0,t=0;t<e;t+=1)a=this.textSpans[t].span||createNS("tspan"),a.textContent=C[t],a.setAttribute("x",0),a.setAttribute("y",p),a.style.display="inherit",w.appendChild(a),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=a,p+=n.finalLineHeight;this.layerElement.appendChild(w)}while(t<this.textSpans.length)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,n=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<n;t+=1)e=this.textSpans[t].glyph,e&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var n,i,r,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(n=o[t],i=this.textSpans[t].span,r=this.textSpans[t].glyph,r&&r.renderFrame(),n._mdf.m&&i.setAttribute("transform",n.m),n._mdf.o&&i.setAttribute("opacity",n.o),n._mdf.sw&&i.setAttribute("stroke-width",n.sw),n._mdf.sc&&i.setAttribute("stroke",n.sc),n._mdf.fc&&i.setAttribute("fill",n.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var n=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var r=createElementID();n.setAttribute("id",r),n.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")"),e.appendChild(n),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var n=this.createItem(this.layers[t]);e[t]=n,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,t),this.layers[t].tt&&(this.elements[t-1]&&!0!==this.elements[t-1]?n.setMatte(e[t-1].layerId):(this.buildItem(t-1),this.addPendingElement(n)))}},SVGRendererBase.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt){var e=0,n=this.elements.length;while(e<n){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var n=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=n-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<n;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var n=t.getBaseElement();if(n){var i,r=0;while(r<e)this.elements[r]&&!0!==this.elements[r]&&this.elements[r].getBaseElement()&&(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(n,i):this.layerElement.appendChild(n)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var n,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=i-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var n=0;for(n=this._length;n<t;n+=1)this.saved[n]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},ShapeTransformManager.prototype={addTransformSequence:function(t){var e,n=t.length,i="_";for(e=0;e<n;e+=1)i+=t[e].transform.key+"_";var r=this.sequences[i];return r||(r={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=r,this.sequenceList.push(r)),r},processSequence:function(t,e){var n,i=0,r=t.transforms.length,o=e;while(i<r&&!e){if(t.transforms[i].transform.mProps._mdf){o=!0;break}i+=1}if(o)for(t.finalTransform.reset(),i=r-1;i>=0;i-=1)n=t.transforms[i].transform.mProps.v.props,t.finalTransform.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]);t._mdf=o},processSequences:function(t){var e,n=this.sequenceList.length;for(e=0;e<n;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,n,i,r=this.element.finalTransform.mat,o=this.element.canvasContext,a=this.masksProperties.length;for(o.beginPath(),t=0;t<a;t+=1)if("n"!==this.masksProperties[t].mode){var s;this.masksProperties[t].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),i=this.viewData[t].v,e=r.applyToPointArray(i.v[0][0],i.v[0][1],0),o.moveTo(e[0],e[1]);var l=i._length;for(s=1;s<l;s+=1)n=r.applyToTriplePoints(i.o[s-1],i.i[s],i.v[s]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=r.applyToTriplePoints(i.o[s-1],i.i[0],i.v[0]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5])}this.element.globalData.renderer.save(!0),o.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var n={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},i={};if("fl"===t.ty||"st"===t.ty?(i.c=PropertyFactory.getProp(this,t.c,1,255,this),i.c.k||(n.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(i.s=PropertyFactory.getProp(this,t.s,1,null,this),i.e=PropertyFactory.getProp(this,t.e,1,null,this),i.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,t.g,this)),i.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty){if(n.lc=lineCapEnum[t.lc||2],n.lj=lineJoinEnum[t.lj||2],1==t.lj&&(n.ml=t.ml),i.w=PropertyFactory.getProp(this,t.w,0,null,this),i.w.k||(n.wi=i.w.v),t.d){var r=new DashProperty(this,t.d,"canvas",this);i.d=r,i.d.k||(n.da=i.d.dashArray,n["do"]=i.d.dashoffset[0])}}else n.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(n),i.style=n,i},CVShapeElement.prototype.createGroupElement=function(){var t={it:[],prevViewData:[]};return t},CVShapeElement.prototype.createTransformElement=function(t){var e={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}};return e},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,n=this.stylesList.length;for(e=0;e<n;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,n,i,r){var o,a,s,l,u,c,h=t.length-1,d=[],p=[],f=[].concat(r);for(o=h;o>=0;o-=1){if(l=this.searchProcessedElement(t[o]),l?e[o]=n[l-1]:t[o]._shouldRender=i,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty)l?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],f),d.push(e[o].style);else if("gr"===t[o].ty){if(l)for(s=e[o].it.length,a=0;a<s;a+=1)e[o].prevViewData[a]=e[o].it[a];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,i,f)}else"tr"===t[o].ty?(l||(c=this.createTransformElement(t[o]),e[o]=c),f.push(e[o]),this.addTransformToStyleList(e[o])):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?l||(e[o]=this.createShapeElement(t[o])):"tm"===t[o].ty||"rd"===t[o].ty||"pb"===t[o].ty?(l?(u=e[o],u.closed=!1):(u=ShapeModifiers.getModifier(t[o].ty),u.init(this,t[o]),e[o]=u,this.shapeModifiers.push(u)),p.push(u)):"rp"===t[o].ty&&(l?(u=e[o],u.closed=!0):(u=ShapeModifiers.getModifier(t[o].ty),e[o]=u,u.init(this,t,o,e),this.shapeModifiers.push(u),i=!1),p.push(u));this.addProcessedElement(t[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),h=p.length,o=0;o<h;o+=1)p[o].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,n,i,r,o,a,s,l,u=this.stylesList.length,c=this.globalData.renderer,h=this.globalData.canvasContext;for(t=0;t<u;t+=1)if(l=this.stylesList[t],s=l.type,("st"!==s&&"gs"!==s||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(c.save(),o=l.elements,"st"===s||"gs"===s?(h.strokeStyle="st"===s?l.co:l.grd,h.lineWidth=l.wi,h.lineCap=l.lc,h.lineJoin=l.lj,h.miterLimit=l.ml||0):h.fillStyle="fl"===s?l.co:l.grd,c.ctxOpacity(l.coOp),"st"!==s&&"gs"!==s&&h.beginPath(),c.ctxTransform(l.preTransforms.finalTransform.props),n=o.length,e=0;e<n;e+=1){for("st"!==s&&"gs"!==s||(h.beginPath(),l.da&&(h.setLineDash(l.da),h.lineDashOffset=l["do"])),a=o[e].trNodes,r=a.length,i=0;i<r;i+=1)"m"===a[i].t?h.moveTo(a[i].p[0],a[i].p[1]):"c"===a[i].t?h.bezierCurveTo(a[i].pts[0],a[i].pts[1],a[i].pts[2],a[i].pts[3],a[i].pts[4],a[i].pts[5]):h.closePath();"st"!==s&&"gs"!==s||(h.stroke(),l.da&&h.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&h.fill(l.r),c.restore()}},CVShapeElement.prototype.renderShape=function(t,e,n,i){var r,o,a=e.length-1;for(o=t,r=a;r>=0;r-=1)"tr"===e[r].ty?(o=n[r].transform,this.renderShapeTransform(t,o)):"sh"===e[r].ty||"el"===e[r].ty||"rc"===e[r].ty||"sr"===e[r].ty?this.renderPath(e[r],n[r]):"fl"===e[r].ty?this.renderFill(e[r],n[r],o):"st"===e[r].ty?this.renderStroke(e[r],n[r],o):"gf"===e[r].ty||"gs"===e[r].ty?this.renderGradientFill(e[r],n[r],o):"gr"===e[r].ty?this.renderShape(o,e[r].it,n[r].it):e[r].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var n,i,r,o=t.trNodes,a=e.paths,s=a._length;o.length=0;var l=t.transforms.finalTransform;for(r=0;r<s;r+=1){var u=a.shapes[r];if(u&&u.v){for(i=u._length,n=1;n<i;n+=1)1===n&&o.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),o.push({t:"c",pts:l.applyToTriplePoints(u.o[n-1],u.i[n],u.v[n])});1===i&&o.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),u.c&&i&&(o.push({t:"c",pts:l.applyToTriplePoints(u.o[n-1],u.i[0],u.v[0])}),o.push({t:"z"}))}}t.trNodes=o}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var n,i=e.styledShapes.length;for(n=0;n<i;n+=1)this.renderStyledShape(e.styledShapes[n],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,n){var i=e.style;(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,n){var i,r=e.style;if(!r.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var o,a=this.globalData.canvasContext,s=e.s.v,l=e.e.v;if(1===t.t)i=a.createLinearGradient(s[0],s[1],l[0],l[1]);else{var u=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),c=Math.atan2(l[1]-s[1],l[0]-s[0]),h=e.h.v;h>=1?h=.99:h<=-1&&(h=-.99);var d=u*h,p=Math.cos(c+e.a.v)*d+s[0],f=Math.sin(c+e.a.v)*d+s[1];i=a.createRadialGradient(p,f,0,s[0],s[1],u)}var g=t.g.p,m=e.g.c,v=1;for(o=0;o<g;o+=1)e.g._hasOpacity&&e.g._collapsable&&(v=e.g.o[2*o+1]),i.addColorStop(m[4*o]/100,"rgba("+m[4*o+1]+","+m[4*o+2]+","+m[4*o+3]+","+v+")");r.grd=i}r.coOp=e.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(t,e,n){var i=e.style,r=e.d;r&&(r._mdf||this._isFirstFrame)&&(i.da=r.dashArray,i["do"]=r.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||n._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*n.opacity),(e.w._mdf||this._isFirstFrame)&&(i.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var n=!1;t.sc&&(n=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var i,r,o,a,s,l,u,c,h,d,p,f,g=this.globalData.fontManager.getFontByName(t.f),m=t.l,v=this.mHelper;this.stroke=n,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,r=t.finalText.length;var y=this.data.singleShape,b=.001*t.tr*t.finalSize,_=0,x=0,w=!0,S=0;for(i=0;i<r;i+=1){o=this.globalData.fontManager.getCharData(t.finalText[i],g.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),a=o&&o.data||{},v.reset(),y&&m[i].n&&(_=-b,x+=t.yOffset,x+=w?1:0,w=!1),u=a.shapes?a.shapes[0].it:[],h=u.length,v.scale(t.finalSize/100,t.finalSize/100),y&&this.applyTextPropertiesToMatrix(t,v,m[i].line,_,x),p=createSizedArray(h-1);var C=0;for(c=0;c<h;c+=1)if("sh"===u[c].ty){for(l=u[c].ks.k.i.length,d=u[c].ks.k,f=[],s=1;s<l;s+=1)1===s&&f.push(v.applyToX(d.v[0][0],d.v[0][1],0),v.applyToY(d.v[0][0],d.v[0][1],0)),f.push(v.applyToX(d.o[s-1][0],d.o[s-1][1],0),v.applyToY(d.o[s-1][0],d.o[s-1][1],0),v.applyToX(d.i[s][0],d.i[s][1],0),v.applyToY(d.i[s][0],d.i[s][1],0),v.applyToX(d.v[s][0],d.v[s][1],0),v.applyToY(d.v[s][0],d.v[s][1],0));f.push(v.applyToX(d.o[s-1][0],d.o[s-1][1],0),v.applyToY(d.o[s-1][0],d.o[s-1][1],0),v.applyToX(d.i[0][0],d.i[0][1],0),v.applyToY(d.i[0][0],d.i[0][1],0),v.applyToX(d.v[0][0],d.v[0][1],0),v.applyToY(d.v[0][0],d.v[0][1],0)),p[C]=f,C+=1}y&&(_+=m[i].l,_+=b),this.textSpans[S]?this.textSpans[S].elem=p:this.textSpans[S]={elem:p},S+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,n,i,r,o,a=this.canvasContext;a.font=this.values.fValue,a.lineCap="butt",a.lineJoin="miter",a.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,l=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;e=u.length;var c,h,d=null,p=null,f=null;for(t=0;t<e;t+=1)if(!u[t].n){if(s=l[t],s&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(s.p),this.globalData.renderer.ctxOpacity(s.o)),this.fill){for(s&&s.fc?d!==s.fc&&(d=s.fc,a.fillStyle=s.fc):d!==this.values.fill&&(d=this.values.fill,a.fillStyle=this.values.fill),c=this.textSpans[t].elem,i=c.length,this.globalData.canvasContext.beginPath(),n=0;n<i;n+=1)for(h=c[n],o=h.length,this.globalData.canvasContext.moveTo(h[0],h[1]),r=2;r<o;r+=6)this.globalData.canvasContext.bezierCurveTo(h[r],h[r+1],h[r+2],h[r+3],h[r+4],h[r+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(s&&s.sw?f!==s.sw&&(f=s.sw,a.lineWidth=s.sw):f!==this.values.sWidth&&(f=this.values.sWidth,a.lineWidth=this.values.sWidth),s&&s.sc?p!==s.sc&&(p=s.sc,a.strokeStyle=s.sc):p!==this.values.stroke&&(p=this.values.stroke,a.strokeStyle=this.values.stroke),c=this.textSpans[t].elem,i=c.length,this.globalData.canvasContext.beginPath(),n=0;n<i;n+=1)for(h=c[n],o=h.length,this.globalData.canvasContext.moveTo(h[0],h[1]),r=2;r<o;r+=6)this.globalData.canvasContext.bezierCurveTo(h[r],h[r+1],h[r+2],h[r+3],h[r+4],h[r+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}s&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,n,i=t.getContext("2d"),r=this.img.width,o=this.img.height,a=r/o,s=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>s&&"xMidYMid slice"===l||a<s&&"xMidYMid slice"!==l?(n=o,e=n*s):(e=r,n=e/s),i.drawImage(this.img,(r-e)/2,(o-n)/2,e,n,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){if(1!==t[0]||0!==t[1]||0!==t[4]||1!==t[5]||0!==t[12]||0!==t[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(t);var e=this.contextData.cTr.props;this.transformMat.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var n=this.contextData.cTr.props;this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])}else this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=t<0?0:t,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=t<0?0:t,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(t){if(this.renderConfig.clearCanvas){t&&this.canvasContext.save();var e,n=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var i=this.contextData.saved[this.contextData.cArrPos];for(e=0;e<16;e+=1)i[e]=n[e];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){if(this.renderConfig.clearCanvas){t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var e,n=this.contextData.saved[this.contextData.cArrPos],i=this.contextData.cTr.props;for(e=0;e<16;e+=1)i[e]=n[e];this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),n=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=n,this.globalData.currentGlobalAlpha!==n&&(this.canvasContext.globalAlpha=n,this.globalData.currentGlobalAlpha=n)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var n="0px 0px 0px";e.transformOrigin=n,e.mozTransformOrigin=n,e.webkitTransformOrigin=n,e["-webkit-transform"]=n,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(){var t,e,n,i;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",t*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",e*this.renderConfig.dpr)):(t=this.canvasContext.canvas.width*this.renderConfig.dpr,e=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var r=this.renderConfig.preserveAspectRatio.split(" "),o=r[1]||"meet",a=r[0]||"xMidYMid",s=a.substr(0,4),l=a.substr(4);n=t/e,i=this.transformCanvas.w/this.transformCanvas.h,i>n&&"meet"===o||i<n&&"slice"===o?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===s&&(i<n&&"meet"===o||i>n&&"slice"===o)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===s&&(i<n&&"meet"===o||i>n&&"slice"===o)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(i>n&&"meet"===o||i<n&&"slice"===o)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(i>n&&"meet"===o||i<n&&"slice"===o)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var t;this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var e=this.layers?this.layers.length:0;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var n;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var i=this.layers.length;for(this.completeLayers||this.checkLayers(t),n=0;n<i;n+=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(t-this.layers[n].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=i-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var n=this.createItem(this.layers[t],this,this.globalData);e[t]=n,n.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();t.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var n=this.layers.length;for(t=n-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?(t=createNS("rect"),t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(t=createTag("div"),t.style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var n,i=t.length;for(n=0;n<i;n+=1)e=t[n].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var n,i,r,o,a,s=t.sh.v,l=t.transformers,u=s._length;if(!(u<=1)){for(n=0;n<u-1;n+=1)i=this.getTransformedPoint(l,s.v[n]),r=this.getTransformedPoint(l,s.o[n]),o=this.getTransformedPoint(l,s.i[n+1]),a=this.getTransformedPoint(l,s.v[n+1]),this.checkBounds(i,r,o,a,e);s.c&&(i=this.getTransformedPoint(l,s.v[n]),r=this.getTransformedPoint(l,s.o[n]),o=this.getTransformedPoint(l,s.i[0]),a=this.getTransformedPoint(l,s.v[0]),this.checkBounds(i,r,o,a,e))}},HShapeElement.prototype.checkBounds=function(t,e,n,i,r){this.getBoundsOfCurve(t,e,n,i);var o=this.shapeBoundingBox;r.x=bmMin(o.left,r.x),r.xMax=bmMax(o.right,r.xMax),r.y=bmMin(o.top,r.y),r.yMax=bmMax(o.bottom,r.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,n,i){for(var r,o,a,s,l,u,c,h=[[t[0],i[0]],[t[1],i[1]]],d=0;d<2;++d)o=6*t[d]-12*e[d]+6*n[d],r=-3*t[d]+9*e[d]-9*n[d]+3*i[d],a=3*e[d]-3*t[d],o|=0,r|=0,a|=0,0===r&&0===o||(0===r?(s=-a/o,s>0&&s<1&&h[d].push(this.calculateF(s,t,e,n,i,d))):(l=o*o-4*a*r,l>=0&&(u=(-o+bmSqrt(l))/(2*r),u>0&&u<1&&h[d].push(this.calculateF(u,t,e,n,i,d)),c=(-o-bmSqrt(l))/(2*r),c>0&&c<1&&h[d].push(this.calculateF(c,t,e,n,i,d)))));this.shapeBoundingBox.left=bmMin.apply(null,h[0]),this.shapeBoundingBox.top=bmMin.apply(null,h[1]),this.shapeBoundingBox.right=bmMax.apply(null,h[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,h[1])},HShapeElement.prototype.calculateF=function(t,e,n,i,r,o){return bmPow(1-t,3)*e[o]+3*bmPow(1-t,2)*t*n[o]+3*(1-t)*bmPow(t,2)*i[o]+bmPow(t,3)*r[o]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var n,i=t.length;for(n=0;n<i;n+=1)t[n]&&t[n].sh?this.calculateShapeBoundingBox(t[n],e):t[n]&&t[n].it?this.calculateBoundingBox(t[n].it,e):t[n]&&t[n].style&&t[n].w&&this.expandStrokeBoundingBox(t[n].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var n=0;if(t.keyframes){for(var i=0;i<t.keyframes.length;i+=1){var r=t.keyframes[i].s;r>n&&(n=r)}n*=t.mult}else n=t.v*t.mult;e.x-=n,e.xMax+=n,e.y-=n,e.yMax+=n},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var n=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),n=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),n=!0),n||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,r="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=r,i.webkitTransform=r}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,n=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=n,e.color=n,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var i,r,o=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{e.fontFamily=o.fFamily;var a=t.fWeight,s=t.fStyle;e.fontStyle=s,e.fontWeight=a}var l,u,c,h=t.l;r=h.length;var d,p=this.mHelper,f="",g=0;for(i=0;i<r;i+=1){if(this.globalData.fontManager.chars?(this.textPaths[g]?l=this.textPaths[g]:(l=createNS("path"),l.setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[g]?(u=this.textSpans[g],c=u.children[0]):(u=createTag("div"),u.style.lineHeight=0,c=createNS("svg"),c.appendChild(l),styleDiv(u)))):this.isMasked?l=this.textPaths[g]?this.textPaths[g]:createNS("text"):this.textSpans[g]?(u=this.textSpans[g],l=this.textPaths[g]):(u=createTag("span"),styleDiv(u),l=createTag("span"),styleDiv(l),u.appendChild(l)),this.globalData.fontManager.chars){var m,v=this.globalData.fontManager.getCharData(t.finalText[i],o.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(m=v?v.data:null,p.reset(),m&&m.shapes&&m.shapes.length&&(d=m.shapes[0].it,p.scale(t.finalSize/100,t.finalSize/100),f=this.createPathShape(p,d),l.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(u),m&&m.shapes){document.body.appendChild(c);var y=c.getBBox();c.setAttribute("width",y.width+2),c.setAttribute("height",y.height+2),c.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2));var b=c.style,_="translate("+(y.x-1)+"px,"+(y.y-1)+"px)";b.transform=_,b.webkitTransform=_,h[i].yOffset=y.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);u.appendChild(c)}}else if(l.textContent=h[i].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(u);var x=l.style,w="translate3d(0,"+-t.finalSize/1.2+"px,0)";x.transform=w,x.webkitTransform=w}this.isMasked?this.textSpans[g]=l:this.textSpans[g]=u,this.textSpans[g].style.display="block",this.textPaths[g]=l,g+=1}while(g<this.textSpans.length)this.textSpans[g].style.display="none",g+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var n,i,r,o,a,s=0,l=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;for(i=u.length,n=0;n<i;n+=1)u[n].n?s+=1:(o=this.textSpans[n],a=this.textPaths[n],r=l[s],s+=1,r._mdf.m&&(this.isMasked?o.setAttribute("transform",r.m):(o.style.webkitTransform=r.m,o.style.transform=r.m)),o.style.opacity=r.o,r.sw&&r._mdf.sw&&a.setAttribute("stroke-width",r.sw),r.sc&&r._mdf.sc&&a.setAttribute("stroke",r.sc),r.fc&&r._mdf.fc&&(a.setAttribute("fill",r.fc),a.style.color=r.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var c=this.innerElem.getBBox();this.currentBBox.w!==c.width&&(this.currentBBox.w=c.width,this.svgElement.setAttribute("width",c.width)),this.currentBBox.h!==c.height&&(this.currentBBox.h=c.height,this.svgElement.setAttribute("height",c.height));var h=1;if(this.currentBBox.w!==c.width+2*h||this.currentBBox.h!==c.height+2*h||this.currentBBox.x!==c.x-h||this.currentBBox.y!==c.y-h){this.currentBBox.w=c.width+2*h,this.currentBBox.h=c.height+2*h,this.currentBBox.x=c.x-h,this.currentBBox.y=c.y-h,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var d="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=d,t.webkitTransform=d}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,n,i,r=this.comp.threeDElements.length;for(t=0;t<r;t+=1)if(e=this.comp.threeDElements[t],"3d"===e.type){n=e.perspectiveElem.style,i=e.container.style;var o=this.pe.v+"px",a="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.perspective=o,n.webkitPerspective=o,i.transformOrigin=a,i.mozTransformOrigin=a,i.webkitTransformOrigin=a,n.transform=s,n.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,n=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)n=this.hierarchy[t].finalTransform.mProp._mdf||n;if(n||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=this.hierarchy.length-1,t=e;t>=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var r;r=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(r[0],2)+Math.pow(r[1],2)+Math.pow(r[2],2)),a=[r[0]/o,r[1]/o,r[2]/o],s=Math.sqrt(a[2]*a[2]+a[0]*a[0]),l=Math.atan2(a[1],s),u=Math.atan2(a[0],-a[2]);this.mat.rotateY(u).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var h,d,p;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if(h=this.comp.threeDElements[t],"3d"===h.type){if(c){var f=this.mat.toCSS();p=h.container.style,p.transform=f,p.webkitTransform=f}this.pe._mdf&&(d=h.perspectiveElem.style,d.perspective=this.pe.v+"px",d.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();t.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(t,e){var n=t.getBaseElement();if(n){var i=this.layers[e];if(i.ddd&&this.supports3d)this.addTo3dContainer(n,e);else if(this.threeDElements)this.addTo3dContainer(n,e);else{var r,o,a,s=0;while(s<e)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(o=this.elements[s],a=this.layers[s].ddd?this.getThreeDContainerByPos(s):o.getBaseElement(),r=a||r),s+=1;r?i.ddd&&this.supports3d||this.layerElement.insertBefore(n,r):i.ddd&&this.supports3d||this.layerElement.appendChild(n)}}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){var e=0,n=this.threeDElements.length;while(e<n){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var n,i,r=createTag("div");styleDiv(r);var o=createTag("div");if(styleDiv(o),"3d"===e){n=r.style,n.width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var a="50% 50%";n.webkitTransformOrigin=a,n.mozTransformOrigin=a,n.transformOrigin=a,i=o.style;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.transform=s,i.webkitTransform=s}r.appendChild(o);var l={container:o,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var t,e,n=this.layers.length,i="";for(t=0;t<n;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==i&&(i="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==i&&(i="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(n=this.threeDElements.length,t=n-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){var n=0,i=this.threeDElements.length;while(n<i){if(e<=this.threeDElements[n].endPos){var r,o=this.threeDElements[n].startPos;while(o<e)this.elements[o]&&this.elements[o].getBaseElement&&(r=this.elements[o].getBaseElement()),o+=1;r?this.threeDElements[n].container.insertBefore(t,r):this.threeDElements[n].container.appendChild(t);break}n+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),n=this.animationItem.wrapper,i=e.style;i.width=t.w+"px",i.height=t.h+"px",this.resizerElem=e,styleDiv(e),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),n.appendChild(e),i.overflow="hidden";var r=createNS("svg");r.setAttribute("width","1"),r.setAttribute("height","1"),styleDiv(r),this.resizerElem.appendChild(r);var o=createNS("defs");r.appendChild(o),this.data=t,this.setupGlobalData(t,r),this.globalData.defs=o,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t,e,n,i,r=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight,a=r/o,s=this.globalData.compSize.w/this.globalData.compSize.h;s>a?(t=r/this.globalData.compSize.w,e=r/this.globalData.compSize.w,n=0,i=(o-this.globalData.compSize.h*(r/this.globalData.compSize.w))/2):(t=o/this.globalData.compSize.h,e=o/this.globalData.compSize.h,n=(r-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,i=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+n+","+i+",0,1)",l.transform=l.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,n=this.globalData.compSize.h,i=this.threeDElements.length;for(t=0;t<i;t+=1){var r=this.threeDElements[t].perspectiveElem.style;r.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(n,2))+"px",r.perspective=r.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,n=t.length,i=createTag("div");for(e=0;e<n;e+=1)if(t[e].xt){var r=this.createComp(t[e],i,this.globalData.comp,null);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){var n,i=0;while(i<e)this.elements[i]&&this.elements[i].getBaseElement&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(t,n):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var Expressions=function(){var t={};function e(t){var e=0,n=[];function i(){e+=1}function r(){e-=1,0===e&&a()}function o(t){-1===n.indexOf(t)&&n.push(t)}function a(){var t,e=n.length;for(t=0;t<e;t+=1)n[t].release();n.length=0}t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=i,t.renderer.globalData.popExpression=r,t.renderer.globalData.registerExpressionProperty=o}return t.initExpressions=e,t}();function _typeof$1(t){return _typeof$1="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$1(t)}function seedRandom(t,e){var n,i=this,r=256,o=6,a=52,s="random",l=e.pow(r,o),u=e.pow(2,a),c=2*u,h=r-1;function d(n,i,a){var h=[];i=!0===i?{entropy:!0}:i||{};var d=m(g(i.entropy?[n,y(t)]:null===n?v():n,3),h),b=new p(h),_=function(){var t=b.g(o),e=l,n=0;while(t<u)t=(t+n)*r,e*=r,n=b.g(1);while(t>=c)t/=2,e/=2,n>>>=1;return(t+n)/e};return _.int32=function(){return 0|b.g(4)},_.quick=function(){return b.g(4)/4294967296},_["double"]=_,m(y(b.S),t),(i.pass||a||function(t,n,i,r){return r&&(r.S&&f(r,b),t.state=function(){return f(b,{})}),i?(e[s]=t,n):t})(_,d,"global"in i?i.global:this==e,i.state)}function p(t){var e,n=t.length,i=this,o=0,a=i.i=i.j=0,s=i.S=[];n||(t=[n++]);while(o<r)s[o]=o++;for(o=0;o<r;o++)s[o]=s[a=h&a+t[o%n]+(e=s[o])],s[a]=e;i.g=function(t){var e,n=0,o=i.i,a=i.j,s=i.S;while(t--)e=s[o=h&o+1],n=n*r+s[h&(s[o]=s[a=h&a+e])+(s[a]=e)];return i.i=o,i.j=a,n}}function f(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function g(t,e){var n,i=[],r=_typeof$1(t);if(e&&"object"==r)for(n in t)try{i.push(g(t[n],e-1))}catch(o){}return i.length?i:"string"==r?t:t+"\0"}function m(t,e){var n,i=t+"",r=0;while(r<i.length)e[h&r]=h&(n^=19*e[h&r])+i.charCodeAt(r++);return y(e)}function v(){try{if(n)return y(n.randomBytes(r));var e=new Uint8Array(r);return(i.crypto||i.msCrypto).getRandomValues(e),y(e)}catch(s){var o=i.navigator,a=o&&o.plugins;return[+new Date,i,a,i.screen,y(t)]}}function y(t){return String.fromCharCode.apply(0,t)}e["seed"+s]=d,m(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof(t){return _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=_typeof(t);if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var n,i=t.length,r=[];for(n=0;n<i;n+=1)r[n]=-t[n];return r}return t.propType?t.v:-t}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var n=_typeof(t),i=_typeof(e);if("string"===n||"string"===i)return t+e;if(isNumerable(n,t)&&isNumerable(i,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return t=t.slice(0),t[0]+=e,t;if(isNumerable(n,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){var r=0,o=t.length,a=e.length,s=[];while(r<o||r<a)("number"===typeof t[r]||t[r]instanceof Number)&&("number"===typeof e[r]||e[r]instanceof Number)?s[r]=t[r]+e[r]:s[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return s}return 0}var add=sum;function sub(t,e){var n=_typeof(t),i=_typeof(e);if(isNumerable(n,t)&&isNumerable(i,e))return"string"===n&&(t=parseInt(t,10)),"string"===i&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return t=t.slice(0),t[0]-=e,t;if(isNumerable(n,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){var r=0,o=t.length,a=e.length,s=[];while(r<o||r<a)("number"===typeof t[r]||t[r]instanceof Number)&&("number"===typeof e[r]||e[r]instanceof Number)?s[r]=t[r]-e[r]:s[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return s}return 0}function mul(t,e){var n,i,r,o=_typeof(t),a=_typeof(e);if(isNumerable(o,t)&&isNumerable(a,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,n=createTypedArray("float32",r),i=0;i<r;i+=1)n[i]=t[i]*e;return n}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,n=createTypedArray("float32",r),i=0;i<r;i+=1)n[i]=t*e[i];return n}return 0}function div(t,e){var n,i,r,o=_typeof(t),a=_typeof(e);if(isNumerable(o,t)&&isNumerable(a,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,n=createTypedArray("float32",r),i=0;i<r;i+=1)n[i]=t[i]/e;return n}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,n=createTypedArray("float32",r),i=0;i<r;i+=1)n[i]=t/e[i];return n}return 0}function mod(t,e){return"string"===typeof t&&(t=parseInt(t,10)),"string"===typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,n){if(e>n){var i=n;n=e,e=i}return Math.min(Math.max(t,e),n)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"===typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var n;e||(e=helperLengthArray);var i=Math.min(t.length,e.length),r=0;for(n=0;n<i;n+=1)r+=Math.pow(e[n]-t[n],2);return Math.sqrt(r)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,n,i=t[0],r=t[1],o=t[2],a=Math.max(i,r,o),s=Math.min(i,r,o),l=(a+s)/2;if(a===s)e=0,n=0;else{var u=a-s;switch(n=l>.5?u/(2-a-s):u/(a+s),a){case i:e=(r-o)/u+(r<o?6:0);break;case r:e=(o-i)/u+2;break;case o:e=(i-r)/u+4;break;default:break}e/=6}return[e,n,l,t[3]]}function hue2rgb(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function hslToRgb(t){var e,n,i,r=t[0],o=t[1],a=t[2];if(0===o)e=a,i=a,n=a;else{var s=a<.5?a*(1+o):a+o-a*o,l=2*a-s;e=hue2rgb(l,s,r+1/3),n=hue2rgb(l,s,r),i=hue2rgb(l,s,r-1/3)}return[e,n,i,t[3]]}function linear(t,e,n,i,r){if(void 0!==i&&void 0!==r||(i=e,r=n,e=0,n=1),n<e){var o=n;n=e,e=o}if(t<=e)return i;if(t>=n)return r;var a,s=n===e?0:(t-e)/(n-e);if(!i.length)return i+(r-i)*s;var l=i.length,u=createTypedArray("float32",l);for(a=0;a<l;a+=1)u[a]=i[a]+(r[a]-i[a])*s;return u}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var n,i=e.length;t||(t=createTypedArray("float32",i));var r=createTypedArray("float32",i),o=BMMath.random();for(n=0;n<i;n+=1)r[n]=t[n]+o*(e[n]-t[n]);return r}void 0===t&&(t=0);var a=BMMath.random();return t+a*(e-t)}function createPath(t,e,n,i){var r,o=t.length,a=shapePool.newElement();a.setPathData(!!i,o);var s,l,u=[0,0];for(r=0;r<o;r+=1)s=e&&e[r]?e[r]:u,l=n&&n[r]?n[r]:u,a.setTripleAt(t[r][0],t[r][1],l[0]+t[r][0],l[1]+t[r][1],s[0]+t[r][0],s[1]+t[r][1],r,!0);return a}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var n,i,r=this.pv.length?this.pv.length:1,o=createTypedArray("float32",r);t=5;var a=Math.floor(time*t);n=0,i=0;while(n<a){for(i=0;i<r;i+=1)o[i]+=-e+2*e*BMMath.random();n+=1}var s=time*t,l=s-Math.floor(s),u=createTypedArray("float32",r);if(r>1){for(i=0;i<r;i+=1)u[i]=this.pv[i]+o[i]+(-e+2*e*BMMath.random())*l;return u}return this.pv+o[0]+(-e+2*e*BMMath.random())*l}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var n=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],i=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads,r=-Math.atan2(n[1],n[2])/degToRads;return[r,i,0]}function easeOut(t,e,n,i,r){return applyEase(easeOutBez,t,e,n,i,r)}function easeIn(t,e,n,i,r){return applyEase(easeInBez,t,e,n,i,r)}function ease(t,e,n,i,r){return applyEase(easeInOutBez,t,e,n,i,r)}function applyEase(t,e,n,i,r,o){void 0===r?(r=n,o=i):e=(e-n)/(i-n),e>1?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(r)){var s,l=r.length,u=createTypedArray("float32",l);for(s=0;s<l;s+=1)u[s]=(o[s]-r[s])*a+r[s];return u}return(o-r)*a+r}function nearestKey(t){var e,n,i,r=data.k.length;if(data.k.length&&"number"!==typeof data.k[0])if(n=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)n=1,i=data.k[0].t;else{for(e=0;e<r-1;e+=1){if(t===data.k[e].t){n=e+1,i=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(n=e+2,i=data.k[e+1].t):(n=e+1,i=data.k[e].t);break}}-1===n&&(n=e+1,i=data.k[e].t)}else n=0,i=0;var o={};return o.index=n,o.time=i/elem.comp.globalData.frameRate,o}function key(t){var e,n,i;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var r=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(i=r.length,n=0;n<i;n+=1)e[n]=r[n],e.value[n]=r[n];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"===typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"===typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!(!elem.hierarchy||!elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers=function(){function t(t,e,n){e.x&&(n.k=!0,n.x=!0,n.initiateExpression=ExpressionManager.initiateExpression,n.effectsSequence.push(n.initiateExpression(t,e,n).bind(n)))}function e(t){return t*=this.elem.globalData.frameRate,t-=this.offsetTime,t!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value}function n(t){var e=-.01,n=this.getValueAtTime(t),i=this.getValueAtTime(t+e),r=0;if(n.length){var o;for(o=0;o<n.length;o+=1)r+=Math.pow(i[o]-n[o],2);r=100*Math.sqrt(r)}else r=0;return r}function i(t){if(void 0!==this.vel)return this.vel;var e,n,i=-.001,r=this.getValueAtTime(t),o=this.getValueAtTime(t+i);if(r.length)for(e=createTypedArray("float32",r.length),n=0;n<r.length;n+=1)e[n]=(o[n]-r[n])/i;else e=(o-r)/i;return e}function r(){return this.pv}function o(t){this.propertyGroup=t}return{searchExpressions:t,getSpeedAtTime:n,getVelocityAtTime:i,getValueAtTime:e,getStaticValueAtTime:r,setGroupProperty:o}}();function addPropertyDecorator(){function t(t,e,n){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var i,r,o,a,s,l=this.comp.renderedFrame,u=this.keyframes,c=u[u.length-1].t;if(l<=c)return this.pv;if(n?(i=e?Math.abs(c-this.elem.comp.globalData.frameRate*e):Math.max(0,c-this.elem.data.ip),r=c-i):((!e||e>u.length-1)&&(e=u.length-1),r=u[u.length-1-e].t,i=c-r),"pingpong"===t){var h=Math.floor((l-r)/i);if(h%2!==0)return this.getValueAtTime((i-(l-r)%i+r)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var d=this.getValueAtTime(r/this.comp.globalData.frameRate,0),p=this.getValueAtTime(c/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-r)%i+r)/this.comp.globalData.frameRate,0),g=Math.floor((l-r)/i);if(this.pv.length){for(s=new Array(d.length),a=s.length,o=0;o<a;o+=1)s[o]=(p[o]-d[o])*g+f[o];return s}return(p-d)*g+f}if("continue"===t){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),v=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=new Array(m.length),a=s.length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-v[o])*((l-c)/this.comp.globalData.frameRate)/5e-4;return s}return m+(l-c)/.001*(m-v)}}return this.getValueAtTime(((l-r)%i+r)/this.comp.globalData.frameRate,0)}function e(t,e,n){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var i,r,o,a,s,l=this.comp.renderedFrame,u=this.keyframes,c=u[0].t;if(l>=c)return this.pv;if(n?(i=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-c),r=c+i):((!e||e>u.length-1)&&(e=u.length-1),r=u[e].t,i=r-c),"pingpong"===t){var h=Math.floor((c-l)/i);if(h%2===0)return this.getValueAtTime(((c-l)%i+c)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var d=this.getValueAtTime(c/this.comp.globalData.frameRate,0),p=this.getValueAtTime(r/this.comp.globalData.frameRate,0),f=this.getValueAtTime((i-(c-l)%i+c)/this.comp.globalData.frameRate,0),g=Math.floor((c-l)/i)+1;if(this.pv.length){for(s=new Array(d.length),a=s.length,o=0;o<a;o+=1)s[o]=f[o]-(p[o]-d[o])*g;return s}return f-(p-d)*g}if("continue"===t){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),v=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=new Array(m.length),a=s.length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-v[o])*(c-l)/.001;return s}return m+(m-v)*(c-l)/.001}}return this.getValueAtTime((i-((c-l)%i+c))/this.comp.globalData.frameRate,0)}function n(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),e=Math.floor(e||5),e<=1)return this.pv;var n,i,r=this.comp.renderedFrame/this.comp.globalData.frameRate,o=r-t,a=r+t,s=e>1?(a-o)/(e-1):1,l=0,u=0;n=this.pv.length?createTypedArray("float32",this.pv.length):0;while(l<e){if(i=this.getValueAtTime(o+l*s),this.pv.length)for(u=0;u<this.pv.length;u+=1)n[u]+=i[u];else n+=i;l+=1}if(this.pv.length)for(u=0;u<this.pv.length;u+=1)n[u]/=e;else n/=e;return n}function i(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var n=this.a.getValueAtTime(t);e.translate(-n[0]*this.a.mult,-n[1]*this.a.mult,n[2]*this.a.mult)}if(this.appliedTransformations<2){var i=this.s.getValueAtTime(t);e.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var r=this.sk.getValueAtTime(t),o=this.sa.getValueAtTime(t);e.skewFromAxis(-r*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var a=this.r.getValueAtTime(t);e.rotate(-a*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var s=this.rz.getValueAtTime(t),l=this.ry.getValueAtTime(t),u=this.rx.getValueAtTime(t),c=this.or.getValueAtTime(t);e.rotateZ(-s*this.rz.mult).rotateY(l*this.ry.mult).rotateX(u*this.rx.mult).rotateZ(-c[2]*this.or.mult).rotateY(c[1]*this.or.mult).rotateX(c[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var h=this.px.getValueAtTime(t),d=this.py.getValueAtTime(t);if(this.data.p.z){var p=this.pz.getValueAtTime(t);e.translate(h*this.px.mult,d*this.py.mult,-p*this.pz.mult)}else e.translate(h*this.px.mult,d*this.py.mult,0)}else{var f=this.p.getValueAtTime(t);e.translate(f[0]*this.p.mult,f[1]*this.p.mult,-f[2]*this.p.mult)}return e}function r(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,n){var a=o(t,e,n);return a.dynamicProperties.length?a.getValueAtTime=i.bind(a):a.getValueAtTime=r.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a};var a=PropertyFactory.getProp;function s(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,t-=this.offsetTime,t!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}PropertyFactory.getProp=function(i,r,o,s,l){var u=a(i,r,o,s,l);u.kf?u.getValueAtTime=expressionHelpers.getValueAtTime.bind(u):u.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(u),u.setGroupProperty=expressionHelpers.setGroupProperty,u.loopOut=t,u.loopIn=e,u.smooth=n,u.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(u),u.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(u),u.numKeys=1===r.a?r.k.length:0,u.propertyIndex=r.ix;var c=0;return 0!==o&&(c=createTypedArray("float32",1===r.a?r.k[0].s.length:r.k.length)),u._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:c},expressionHelpers.searchExpressions(i,r,u),u.k&&l.addDynamicProperty(u),u};var l=ShapePropertyFactory.getConstructorFunction(),u=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(t,e){this.k&&this.getValue();var n,i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0));var r=i._length,o=i[t],a=i.v,s=createSizedArray(r);for(n=0;n<r;n+=1)s[n]="i"===t||"o"===t?[o[n][0]-a[n][0],o[n][1]-a[n][1]]:[o[n][0],o[n][1]];return s},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var n=this.v;void 0!==e&&(n=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(n));var i,r=this._segmentsLength,o=r.lengths,a=r.totalLength*t,s=0,l=o.length,u=0;while(s<l){if(u+o[s].addedLength>a){var c=s,h=n.c&&s===l-1?0:s+1,d=(a-u)/o[s].addedLength;i=bez.getPointInSegment(n.v[c],n.v[h],n.o[c],n.i[h],d,o[s]);break}u+=o[s].addedLength,s+=1}return i||(i=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),i},vectorOnPath:function(t,e,n){1==t?t=this.v.c:0==t&&(t=.999);var i=this.pointOnPath(t,e),r=this.pointOnPath(t+.001,e),o=r[0]-i[0],a=r[1]-i[1],s=Math.sqrt(Math.pow(o,2)+Math.pow(a,2));if(0===s)return[0,0];var l="tangent"===n?[o/s,a/s]:[-a/s,o/s];return l},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],l),extendPrototype([c],u),u.prototype.getValueAtTime=s,u.prototype.initiateExpression=ExpressionManager.initiateExpression;var h=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,n,i,r){var o=h(t,e,n,i,r);return o.propertyIndex=e.ix,o.lock=!1,3===n?expressionHelpers.searchExpressions(t,e.pt,o):4===n&&expressionHelpers.searchExpressions(t,e.ks,o),o.k&&t.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function t(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,e){var n=this.calculateExpression(e);if(t.t!==n){var i={};return this.copyData(i,t),i.t=n.toString(),i.__complete=!1,i}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}function SVGTintFilter(t,e,n,i,r){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),o.setAttribute("result",i+"_tint_1"),t.appendChild(o),o=createNS("feColorMatrix"),o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",i+"_tint_2"),t.appendChild(o),this.matrixFilter=o;var a=this.createMergeNode(i,[r,i+"_tint_1",i+"_tint_2"]);t.appendChild(a)}function SVGFillFilter(t,e,n,i){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result",i),t.appendChild(r),this.matrixFilter=r}function SVGStrokeEffect(t,e,n){this.initialized=!1,this.filterManager=e,this.elem=n,this.paths=[]}function SVGTritoneFilter(t,e,n,i){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(r);var o=createNS("feComponentTransfer");o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",i),this.matrixFilter=o;var a=createNS("feFuncR");a.setAttribute("type","table"),o.appendChild(a),this.feFuncR=a;var s=createNS("feFuncG");s.setAttribute("type","table"),o.appendChild(s),this.feFuncG=s;var l=createNS("feFuncB");l.setAttribute("type","table"),o.appendChild(l),this.feFuncB=l,t.appendChild(o)}function SVGProLevelsFilter(t,e,n,i){this.filterManager=e;var r=this.filterManager.effectElements,o=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",o)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",o)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",o)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",o)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(o.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(o)),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&(o=createNS("feComponentTransfer"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",i),t.appendChild(o),this.feFuncRComposed=this.createFeFunc("feFuncR",o),this.feFuncGComposed=this.createFeFunc("feFuncG",o),this.feFuncBComposed=this.createFeFunc("feFuncB",o))}function SVGDropShadowEffect(t,e,n,i,r){var o=e.container.globalData.renderConfig.filterSize,a=e.data.fs||o;t.setAttribute("x",a.x||o.x),t.setAttribute("y",a.y||o.y),t.setAttribute("width",a.width||o.width),t.setAttribute("height",a.height||o.height),this.filterManager=e;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",i+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,t.appendChild(s);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",i+"_drop_shadow_1"),l.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=l,t.appendChild(l);var u=createNS("feFlood");u.setAttribute("flood-color","#00ff00"),u.setAttribute("flood-opacity","1"),u.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=u,t.appendChild(u);var c=createNS("feComposite");c.setAttribute("in",i+"_drop_shadow_3"),c.setAttribute("in2",i+"_drop_shadow_2"),c.setAttribute("operator","in"),c.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(c);var h=this.createMergeNode(i,[i+"_drop_shadow_4",r]);t.appendChild(h)}SVGComposableEffect.prototype={createMergeNode:function(t,e){var n,i,r=createNS("feMerge");for(r.setAttribute("result",t),i=0;i<e.length;i+=1)n=createNS("feMergeNode"),n.setAttribute("in",e[i]),r.appendChild(n),r.appendChild(n);return r}},extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",n[0]-e[0]+" 0 0 0 "+e[0]+" "+(n[1]-e[1])+" 0 0 0 "+e[1]+" "+(n[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,n=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+n+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,n,i,r=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,n=0):(n=this.filterManager.effectElements[0].p.v-1,i=n+1),e=createNS("g"),e.setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1),n;n<i;n+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:n});if(3===this.filterManager.effectElements[10].p.v){var o=createNS("mask"),a=createElementID();o.setAttribute("id",a),o.setAttribute("mask-type","alpha"),o.appendChild(e),this.elem.globalData.defs.appendChild(o);var s=createNS("g");s.setAttribute("mask","url("+getLocationHref()+"#"+a+")");while(r[0])s.appendChild(r[0]);this.elem.layerElement.appendChild(s),this.masker=o,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v){r=this.elem.layerElement.children||this.elem.layerElement.childNodes;while(r.length)this.elem.layerElement.removeChild(r[0])}this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var n,i,r=this.paths.length;for(e=0;e<r;e+=1)if(-1!==this.paths[e].m&&(n=this.elem.maskManager.viewData[this.paths[e].m],i=this.paths[e].p,(t||this.filterManager._mdf||n.prop._mdf)&&i.setAttribute("d",n.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||n.prop._mdf)){var o;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var a=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=i.getTotalLength();o="0 0 0 "+l*a+" ";var u,c=l*(s-a),h=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(c/h);for(u=0;u<d;u+=1)o+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";o+="0 "+10*l+" 0 0"}else o="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;i.setAttribute("stroke-dasharray",o)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var p=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*p[0])+","+bmFloor(255*p[1])+","+bmFloor(255*p[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,r=i[0]+" "+n[0]+" "+e[0],o=i[1]+" "+n[1]+" "+e[1],a=i[2]+" "+n[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",r),this.feFuncG.setAttribute("tableValues",o),this.feFuncB.setAttribute("tableValues",a)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var n=createNS(t);return n.setAttribute("type","table"),e.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(t,e,n,i,r){var o,a,s=0,l=256,u=Math.min(t,e),c=Math.max(t,e),h=Array.call(null,{length:l}),d=0,p=r-i,f=e-t;while(s<=256)o=s/256,a=o<=u?f<0?r:i:o>=c?f<0?i:r:i+p*Math.pow((o-t)/f,1/n),h[d]=a,d+=1,s+=256/(l-1);return h.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,n=this.filterManager.effectElements;this.feFuncRComposed&&(t||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(e=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(e=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(e=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(e=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(e=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,r=n*Math.cos(i),o=n*Math.sin(i);this.feOffset.setAttribute("dx",r),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,n){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGGaussianBlurEffect(t,e,n,i){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var r=createNS("feGaussianBlur");r.setAttribute("result",i),t.appendChild(r),this.feGaussianBlur=r}return SVGMatte3Effect.prototype.findSymbol=function(t){var e=0,n=_svgMatteSymbols.length;while(e<n){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var n=t.layerElement.parentNode;if(n){var i,r=n.children,o=0,a=r.length;while(o<a){if(r[o]===t.layerElement)break;o+=1}o<=a-2&&(i=r[o+1]);var s=createNS("use");s.setAttribute("href","#"+e),i?n.insertBefore(s,i):n.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var n=createElementID(),i=createNS("mask");i.setAttribute("id",e.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var r=t.globalData.defs;r.appendChild(i);var o=createNS("symbol");o.setAttribute("id",n),this.replaceInParent(e,n),o.appendChild(e.layerElement),r.appendChild(o);var a=createNS("use");a.setAttribute("href","#"+n),i.appendChild(a),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,n=0,i=e.length;while(n<i)e[n]&&e[n].data.ind===t&&this.setElementAsMask(this.elem,e[n]),n+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3,n=this.filterManager.effectElements[0].p.v*e,i=this.filterManager.effectElements[1].p.v,r=3==i?0:n,o=2==i?0:n;this.feGaussianBlur.setAttribute("stdDeviation",r+" "+o);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),setExpressionsPlugin(Expressions),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie}))},9564:function(t,e,n){"use strict";var i=n("2b0e"),r=n("0016"),o=n("85fc");e["a"]=i["a"].extend({name:"QToggle",mixins:[o["a"]],props:{icon:String,iconColor:String},computed:{computedIcon(){return(!0===this.isTrue?this.checkedIcon:!0===this.isIndeterminate?this.indeterminateIcon:this.uncheckedIcon)||this.icon},computedIconColor(){if(!0===this.isTrue)return this.iconColor}},methods:{__getInner(t){return[t("div",{staticClass:"q-toggle__track"}),t("div",{staticClass:"q-toggle__thumb absolute flex flex-center no-wrap"},void 0!==this.computedIcon?[t(r["a"],{props:{name:this.computedIcon,color:this.computedIconColor}})]:void 0)]}},created(){this.type="toggle"}})},9582:function(t,e,n){const i=n("7bf0"),r=1335,o=21522,a=i.getBCHDigit(r);e.getEncodedBits=function(t,e){const n=t.bit<<3|e;let s=n<<10;while(i.getBCHDigit(s)-a>=0)s^=r<<i.getBCHDigit(s)-a;return(n<<10|s)^o}},"985d":function(t,e,n){},9861:function(t,e,n){n("5352")},"986a":function(t,e,n){"use strict";var i=n("ebb5"),r=n("a258").findLast,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("findLast",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},9989:function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("dde5");e["a"]=i["a"].extend({name:"QPage",mixins:[r["a"]],inject:{pageContainer:{default(){console.error("QPage needs to be child of QPageContainer")}},layout:{}},props:{padding:Boolean,styleFn:Function},computed:{style(){const t=(!0===this.layout.header.space?this.layout.header.size:0)+(!0===this.layout.footer.space?this.layout.footer.size:0);if("function"===typeof this.styleFn){const e=!0===this.layout.container?this.layout.containerHeight:this.$q.screen.height;return this.styleFn(t,e)}return{minHeight:!0===this.layout.container?this.layout.containerHeight-t+"px":0===this.$q.screen.height?`calc(100vh - ${t}px)`:this.$q.screen.height-t+"px"}},classes(){if(!0===this.padding)return"q-layout-padding"}},render(t){return t("main",{staticClass:"q-page",style:this.style,class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"99b6":function(t,e,n){"use strict";n("caad");const i={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},r=Object.keys(i);e["a"]={props:{align:{type:String,validator:t=>r.includes(t)}},computed:{alignClass(){const t=void 0===this.align?!0===this.vertical?"stretch":"left":this.align;return`${!0===this.vertical?"items":"justify"}-${i[t]}`}}}},"9a1f":function(t,e,n){var i=n("c65b"),r=n("59ed"),o=n("825a"),a=n("0d51"),s=n("35a1"),l=TypeError;t.exports=function(t,e){var n=arguments.length<2?s(t):e;if(r(n))return o(i(n,t));throw l(a(t)+" is not iterable")}},"9bdd":function(t,e,n){var i=n("825a"),r=n("2a62");t.exports=function(t,e,n,o){try{return o?e(i(n)[0],n[1]):e(n)}catch(a){r(t,"throw",a)}}},"9bf2":function(t,e,n){var i=n("83ab"),r=n("0cfb"),o=n("aed9"),a=n("825a"),s=n("a04b"),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",p="writable";e.f=i?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var i=c(t,e);i&&i[p]&&(t[e]=n.value,n={configurable:d in n?n[d]:i[d],enumerable:h in n?n[h]:i[h],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),r)try{return u(t,e,n)}catch(i){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9c40":function(t,e,n){"use strict";n("5319");var i=n("2b0e"),r=n("0016"),o=n("0d59"),a=n("c8c8"),s=n("dde5"),l=n("d882"),u=n("d728");const{passiveCapture:c}=l["f"];let h,d,p;const f={role:"img","aria-hidden":"true"};e["a"]=i["a"].extend({name:"QBtn",mixins:[a["a"]],props:{percentage:Number,darkPercentage:Boolean},computed:{hasLabel(){return void 0!==this.label&&null!==this.label&&""!==this.label},computedRipple(){return!1!==this.ripple&&{keyCodes:!0===this.hasLink?[13,32]:[13],...!0===this.ripple?{}:this.ripple}},percentageStyle(){const t=Math.max(0,Math.min(100,this.percentage));if(t>0)return{transition:"transform 0.6s",transform:`translateX(${t-100}%)`}},onEvents(){if(!0===this.loading)return{mousedown:this.__onLoadingEvt,touchstart:this.__onLoadingEvt,click:this.__onLoadingEvt,keydown:this.__onLoadingEvt,keyup:this.__onLoadingEvt};if(!0===this.isActionable){const t={...this.qListeners,click:this.click,keydown:this.__onKeydown,mousedown:this.__onMousedown};return!0===this.$q.platform.has.touch&&(t.touchstart=this.__onTouchstart),t}return{click:l["l"]}},directives(){if(!0!==this.disable&&!1!==this.ripple)return[{name:"ripple",value:this.computedRipple,modifiers:{center:this.round}}]}},methods:{click(t){if(void 0!==t){if(!0===t.defaultPrevented)return;const e=document.activeElement;if("submit"===this.type&&(!0===this.$q.platform.is.ie&&(t.clientX<0||t.clientY<0)||e!==document.body&&!1===this.$el.contains(e)&&!1===e.contains(this.$el))){this.$el.focus();const t=()=>{document.removeEventListener("keydown",l["l"],!0),document.removeEventListener("keyup",t,c),void 0!==this.$el&&this.$el.removeEventListener("blur",t,c)};document.addEventListener("keydown",l["l"],!0),document.addEventListener("keyup",t,c),this.$el.addEventListener("blur",t,c)}if(!0===this.hasRouterLink){if(!0===t.ctrlKey||!0===t.shiftKey||!0===t.altKey||!0===t.metaKey)return;Object(l["l"])(t)}}const e=()=>{this.$router[!0===this.replace?"replace":"push"](this.linkRoute.route,void 0,l["g"])};this.$emit("click",t,e),!0===this.hasRouterLink&&!1!==t.navigate&&e()},__onKeydown(t){this.$emit("keydown",t),!0===Object(u["a"])(t,[13,32])&&(d!==this.$el&&(void 0!==d&&this.__cleanup(),!0!==t.defaultPrevented&&(this.$el.focus(),d=this.$el,this.$el.classList.add("q-btn--active"),document.addEventListener("keyup",this.__onPressEnd,!0),this.$el.addEventListener("blur",this.__onPressEnd,c))),Object(l["l"])(t))},__onTouchstart(t){if(this.$emit("touchstart",t),h!==this.$el&&(void 0!==h&&this.__cleanup(),!0!==t.defaultPrevented)){h=this.$el;const e=this.touchTargetEl=t.target;e.addEventListener("touchcancel",this.__onPressEnd,c),e.addEventListener("touchend",this.__onPressEnd,c)}this.avoidMouseRipple=!0,clearTimeout(this.mouseTimer),this.mouseTimer=setTimeout((()=>{this.avoidMouseRipple=!1}),200)},__onMousedown(t){t.qSkipRipple=!0===this.avoidMouseRipple,this.$emit("mousedown",t),p!==this.$el&&(void 0!==p&&this.__cleanup(),!0!==t.defaultPrevented&&(p=this.$el,this.$el.classList.add("q-btn--active"),document.addEventListener("mouseup",this.__onPressEnd,c)))},__onPressEnd(t){if(void 0===t||"blur"!==t.type||document.activeElement!==this.$el){if(void 0!==t&&"keyup"===t.type){if(d===this.$el&&!0===Object(u["a"])(t,[13,32])){const e=new MouseEvent("click",t);e.qKeyEvent=!0,!0===t.defaultPrevented&&Object(l["i"])(e),!0===t.cancelBubble&&Object(l["k"])(e),this.$el.dispatchEvent(e),Object(l["l"])(t),t.qKeyEvent=!0}this.$emit("keyup",t)}this.__cleanup()}},__cleanup(t){const e=this.$refs.blurTarget;if(!0===t||h!==this.$el&&p!==this.$el||void 0===e||e===document.activeElement||(e.setAttribute("tabindex",-1),e.focus()),h===this.$el){const t=this.touchTargetEl;t.removeEventListener("touchcancel",this.__onPressEnd,c),t.removeEventListener("touchend",this.__onPressEnd,c),h=this.touchTargetEl=void 0}p===this.$el&&(document.removeEventListener("mouseup",this.__onPressEnd,c),p=void 0),d===this.$el&&(document.removeEventListener("keyup",this.__onPressEnd,!0),void 0!==this.$el&&this.$el.removeEventListener("blur",this.__onPressEnd,c),d=void 0),void 0!==this.$el&&this.$el.classList.remove("q-btn--active")},__onLoadingEvt(t){Object(l["l"])(t),t.qSkipRipple=!0}},beforeDestroy(){this.__cleanup(!0)},render(t){let e=[];void 0!==this.icon&&e.push(t(r["a"],{attrs:f,props:{name:this.icon,left:!1===this.stack&&!0===this.hasLabel}})),!0===this.hasLabel&&e.push(t("span",{staticClass:"block"},[this.label])),e=Object(s["a"])(e,this,"default"),void 0!==this.iconRight&&!1===this.round&&e.push(t(r["a"],{attrs:f,props:{name:this.iconRight,right:!1===this.stack&&!0===this.hasLabel}}));const n=[t("span",{staticClass:"q-focus-helper",ref:"blurTarget"})];return!0===this.loading&&void 0!==this.percentage&&n.push(t("span",{staticClass:"q-btn__progress absolute-full overflow-hidden",class:!0===this.darkPercentage?"q-btn__progress--dark":""},[t("span",{staticClass:"q-btn__progress-indicator fit block",style:this.percentageStyle})])),n.push(t("span",{staticClass:"q-btn__wrapper col row q-anchor--skip",style:this.wrapperStyle},[t("span",{staticClass:"q-btn__content text-center col items-center q-anchor--skip",class:this.innerClasses},e)])),null!==this.loading&&n.push(t("transition",{props:{name:"q-transition--fade"}},!0===this.loading?[t("span",{key:"loading",staticClass:"absolute-full flex flex-center"},void 0!==this.$scopedSlots.loading?this.$scopedSlots.loading():[t(o["a"])])]:void 0)),t(!0===this.hasLink||"a"===this.type?"a":"button",{staticClass:"q-btn q-btn-item non-selectable no-outline",class:this.classes,style:this.style,attrs:this.attrs,on:this.onEvents,directives:this.directives},n)}})},"9c64":function(t,e,n){"use strict";n("caad"),n("5319");var i=n("2b0e"),r=n("0967");const o=Object.prototype.toString,a=Object.prototype.hasOwnProperty,s={};function l(t){return null===t?String(t):s[o.call(t)]||"object"}function u(t){if(!t||"object"!==l(t))return!1;if(t.constructor&&!a.call(t,"constructor")&&!a.call(t.constructor.prototype,"isPrototypeOf"))return!1;let e;for(e in t);return void 0===e||a.call(t,e)}function c(){let t,e,n,i,r,o,a=arguments[0]||{},s=1,h=!1;const d=arguments.length;for("boolean"===typeof a&&(h=a,a=arguments[1]||{},s=2),Object(a)!==a&&"function"!==l(a)&&(a={}),d===s&&(a=this,s--);s<d;s++)if(null!==(t=arguments[s]))for(e in t)n=a[e],i=t[e],a!==i&&(h&&i&&(!0===u(i)||(r="array"===l(i)))?(r?(r=!1,o=n&&"array"===l(n)?n:[]):o=n&&!0===u(n)?n:{},a[e]=c(h,o,i)):void 0!==i&&(a[e]=i));return a}let h,d;function p(t){t.title&&(t.title=t.titleTemplate?t.titleTemplate(t.title):t.title,delete t.titleTemplate),[["meta","content"],["link","href"]].forEach((e=>{const n=t[e[0]],i=e[1];for(const t in n){const e=n[t];e.template&&(1===Object.keys(e).length?delete n[t]:(e[i]=e.template(e[i]||""),delete e.template))}}))}function f(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!0;for(const n in t)if(t[n]!==e[n])return!0}function g(t){return!1===["class","style"].includes(t)}function m(t){return!1===["lang","dir"].includes(t)}function v(t,e){const n={},i={};return void 0===t?{add:e,remove:i}:(t.title!==e.title&&(n.title=e.title),["meta","link","script","htmlAttr","bodyAttr"].forEach((r=>{const o=t[r],a=e[r];if(i[r]=[],void 0!==o&&null!==o){n[r]={};for(const t in o)!1===a.hasOwnProperty(t)&&i[r].push(t);for(const t in a)!1===o.hasOwnProperty(t)?n[r][t]=a[t]:!0===f(o[t],a[t])&&(i[r].push(t),n[r][t]=a[t])}else n[r]=a})),{add:n,remove:i})}function y({add:t,remove:e}){t.title&&(document.title=t.title),Object.keys(e).length>0&&(["meta","link","script"].forEach((t=>{e[t].forEach((e=>{document.head.querySelector(`${t}[data-qmeta="${e}"]`).remove()}))})),e.htmlAttr.filter(m).forEach((t=>{document.documentElement.removeAttribute(t)})),e.bodyAttr.filter(g).forEach((t=>{document.body.removeAttribute(t)}))),["meta","link","script"].forEach((e=>{const n=t[e];for(const t in n){const i=document.createElement(e);for(const e in n[t])"innerHTML"!==e&&i.setAttribute(e,n[t][e]);i.setAttribute("data-qmeta",t),"script"===e&&(i.innerHTML=n[t].innerHTML||""),document.head.appendChild(i)}})),Object.keys(t.htmlAttr).filter(m).forEach((e=>{document.documentElement.setAttribute(e,t.htmlAttr[e]||"")})),Object.keys(t.bodyAttr).filter(g).forEach((e=>{document.body.setAttribute(e,t.bodyAttr[e]||"")}))}function b(t,e){!0!==t._inactive&&(!0===k(t)&&(c(!0,e,t.__qMeta),!0===t.$options.meta.stopPropagation)||t.$children.forEach((t=>{b(t,e)})))}function _(){!0===d&&(d=!1,this.$root.__currentMeta=window.__Q_META__);const t={title:"",titleTemplate:null,meta:{},link:{},script:{},htmlAttr:{},bodyAttr:{}};b(this.$root,t),p(t),y(v(this.$root.__currentMeta,t)),this.$root.__currentMeta=t}function x(t){return e=>{const n=t[e];return e+(!0!==n&&void 0!==n?`="${n}"`:"")}}function w(t){let e="";return t.title&&(e+=`<title>${t.title}</title>`),["meta","link","script"].forEach((n=>{const i=t[n];for(const t in i){const r=Object.keys(i[t]).filter((t=>"innerHTML"!==t)).map(x(i[t]));e+=`<${n} ${r.join(" ")} data-qmeta="${t}">`,"script"===n&&(e+=`${i[t].innerHTML||""}<\/script>`)}})),e}function S(t,e,n){const i={title:"",titleTemplate:null,meta:{},link:{},htmlAttr:{},bodyAttr:{},noscript:{}};b(t,i),p(i);const r=void 0!==n&&void 0!==n.nonce?` nonce="${n.nonce}"`:"",o={"%%Q_HTML_ATTRS%%":Object.keys(i.htmlAttr).filter(m).map(x(i.htmlAttr)).join(" "),"%%Q_HEAD_TAGS%%":w(i),"%%Q_BODY_ATTRS%%":Object.keys(i.bodyAttr).filter(g).map(x(i.bodyAttr)).join(" "),"%%Q_BODY_TAGS%%":Object.keys(i.noscript).map((t=>`<noscript data-qmeta="${t}">${i.noscript[t]}</noscript>`)).join("")+`<script${r}>window.__Q_META__=${delete i.noscript&&JSON.stringify(i)}<\/script>`};return Object.keys(o).forEach((t=>{e=e.replace(t,o[t])})),e}function C(){"function"===typeof this.$options.meta?(void 0===this.$options.computed&&(this.$options.computed={}),this.$options.computed.__qMeta=this.$options.meta):!0===k(this)&&(this.__qMeta=this.$options.meta)}function k(t){return void 0!==t.$options.meta&&null!==t.$options.meta}function M(){!0===k(this)&&this.__qMetaUpdate()}"Boolean Number String Function Array Date RegExp Object".split(" ").forEach((t=>{s["[object "+t+"]"]=t.toLowerCase()}));e["a"]={install({queues:t}){!0===r["e"]?(i["a"].prototype.$getMetaHTML=t=>(e,n)=>S(t,e,n),i["a"].mixin({beforeCreate:C}),t.server.push(((t,e)=>{e.ssr.Q_HTML_ATTRS+=" %%Q_HTML_ATTRS%%",Object.assign(e.ssr,{Q_HEAD_TAGS:"%%Q_HEAD_TAGS%%",Q_BODY_ATTRS:"%%Q_BODY_ATTRS%%",Q_BODY_TAGS:"%%Q_BODY_TAGS%%"})}))):(d=r["c"],i["a"].mixin({beforeCreate:C,created(){!0===k(this)&&(this.__qMetaUnwatch=this.$watch("__qMeta",this.__qMetaUpdate))},activated:M,deactivated:M,beforeMount:M,destroyed(){!0===k(this)&&(this.__qMetaUnwatch(),this.__qMetaUpdate())},methods:{__qMetaUpdate(){clearTimeout(h),h=setTimeout(_.bind(this),50)}}}))}}},"9d94":function(t,e,n){const i=n("bbf0"),r=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(t){this.mode=i.ALPHANUMERIC,this.data=t}o.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){let e;for(e=0;e+2<=this.data.length;e+=2){let n=45*r.indexOf(this.data[e]);n+=r.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(r.indexOf(this.data[e]),6)},t.exports=o},"9e62":function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return u}));var i=n("2b0e"),r=n("0967"),o=n("f303"),a=n("e704"),s=n("1c16");function l(t,e){do{if("QMenu"===t.$options.name){if(t.hide(e),!0===t.separateClosePopup)return t.$parent}else if(void 0!==t.__renderPortal)return void 0!==t.$parent&&"QPopupProxy"===t.$parent.$options.name?(t.hide(e),t.$parent):t;t=t.$parent}while(void 0!==t&&(void 0===t.$el.contains||!0!==t.$el.contains(e.target)))}function u(t,e,n){while(0!==n&&void 0!==t){if(void 0!==t.__renderPortal){if(n--,"QMenu"===t.$options.name){t=l(t,e);continue}t.hide(e)}t=t.$parent}}function c(t){while(void 0!==t){if("QGlobalDialog"===t.$options.name)return!0;if("QDialog"===t.$options.name)return!1;t=t.$parent}return!1}const h={inheritAttrs:!1,props:{contentClass:[Array,String,Object],contentStyle:[Array,String,Object]},methods:{__showPortal(t){if(!0===t)return Object(a["d"])(this.focusObj),void(this.__portalIsAccessible=!0);if(this.__portalIsAccessible=!1,!0!==this.__portalIsActive)if(this.__portalIsActive=!0,void 0===this.focusObj&&(this.focusObj={}),Object(a["b"])(this.focusObj),void 0!==this.$q.fullscreen&&!0===this.$q.fullscreen.isCapable){const t=()=>{if(void 0===this.__portal)return;const t=Object(o["c"])(this.$q.fullscreen.activeEl);this.__portal.$el.parentElement!==t&&t.contains(this.$el)===(!1===this.__onGlobalDialog)&&t.appendChild(this.__portal.$el)};this.unwatchFullscreen=this.$watch("$q.fullscreen.activeEl",Object(s["a"])(t,50)),!1!==this.__onGlobalDialog&&!0!==this.$q.fullscreen.isActive||t()}else void 0!==this.__portal&&!1===this.__onGlobalDialog&&document.body.appendChild(this.__portal.$el)},__hidePortal(t){this.__portalIsAccessible=!1,!0===t&&(this.__portalIsActive=!1,Object(a["d"])(this.focusObj),void 0!==this.__portal&&(void 0!==this.unwatchFullscreen&&(this.unwatchFullscreen(),this.unwatchFullscreen=void 0),!1===this.__onGlobalDialog&&(this.__portal.$destroy(),this.__portal.$el.remove()),this.__portal=void 0))},__preparePortal(){void 0===this.__portal&&(this.__portal=!0===this.__onGlobalDialog?{$el:this.$el,$refs:this.$refs}:new i["a"]({name:"QPortal",parent:this,inheritAttrs:!1,render:t=>this.__renderPortal(t),components:this.$options.components,directives:this.$options.directives}).$mount())}},render(t){if(!0===this.__onGlobalDialog)return this.__renderPortal(t);void 0!==this.__portal&&this.__portal.$forceUpdate()},beforeDestroy(){this.__hidePortal(!0)}};!1===r["e"]&&(h.created=function(){this.__onGlobalDialog=c(this.$parent)}),e["c"]=h},"9ed3":function(t,e,n){"use strict";var i=n("ae93").IteratorPrototype,r=n("7c73"),o=n("5c6c"),a=n("d44e"),s=n("3f8c"),l=function(){return this};t.exports=function(t,e,n,u){var c=e+" Iterator";return t.prototype=r(i,{next:o(+!u,n)}),a(t,c,!1,!0),s[c]=l,t}},"9f7f":function(t,e,n){var i=n("d039"),r=n("da84"),o=r.RegExp,a=i((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),s=a||i((function(){return!o("a","y").sticky})),l=a||i((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:l,MISSED_STICKY:s,UNSUPPORTED_Y:a}},"9ffa":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITF=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,n){s(this,e);var i=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.binaryRepresentation={0:"00110",1:"10001",2:"01001",3:"11000",4:"00101",5:"10100",6:"01100",7:"00011",8:"10010",9:"01010"},i}return u(e,t),i(e,[{key:"valid",value:function(){return-1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){for(var t="1010",e=0;e<this.data.length;e+=2)t+=this.calculatePair(this.data.substr(e,2));return t+="11101",{data:t,text:this.text}}},{key:"calculatePair",value:function(t){for(var e="",n=this.binaryRepresentation[t[0]],i=this.binaryRepresentation[t[1]],r=0;r<5;r++)e+="1"==n[r]?"111":"1",e+="1"==i[r]?"000":"0";return e}}]),e}(o.default);e.ITF=c},a04b:function(t,e,n){var i=n("c04e"),r=n("d9b5");t.exports=function(t){var e=i(t,"string");return r(e)?e:e+""}},a078:function(t,e,n){var i=n("0366"),r=n("c65b"),o=n("5087"),a=n("7b0b"),s=n("07fa"),l=n("9a1f"),u=n("35a1"),c=n("e95a"),h=n("ebb5").aTypedArrayConstructor;t.exports=function(t){var e,n,d,p,f,g,m=o(this),v=a(t),y=arguments.length,b=y>1?arguments[1]:void 0,_=void 0!==b,x=u(v);if(x&&!c(x)){f=l(v,x),g=f.next,v=[];while(!(p=r(g,f)).done)v.push(p.value)}for(_&&y>2&&(b=i(b,arguments[2])),n=s(v),d=new(h(m))(n),e=0;n>e;e++)d[e]=_?b(v[e],e):v[e];return d}},a258:function(t,e,n){var i=n("0366"),r=n("44ad"),o=n("7b0b"),a=n("07fa"),s=function(t){var e=1==t;return function(n,s,l){var u,c,h=o(n),d=r(h),p=i(s,l),f=a(d);while(f-- >0)if(u=d[f],c=p(u,f,h),c)switch(t){case 0:return u;case 1:return f}return e?-1:void 0}};t.exports={findLast:s(0),findLastIndex:s(1)}},a267:function(t,e,n){"use strict";var i=n("d728");const r=[];let o=!1;e["a"]={__install(){this.__installed=!0,window.addEventListener("keydown",(t=>{o=27===t.keyCode})),window.addEventListener("blur",(()=>{!0===o&&(o=!1)})),window.addEventListener("keyup",(t=>{!0===o&&(o=!1,0!==r.length&&!0===Object(i["a"])(t,27)&&r[r.length-1].fn(t))}))},register(t,e){!0===t.$q.platform.is.desktop&&(!0!==this.__installed&&this.__install(),r.push({comp:t,fn:e}))},pop(t){if(!0===t.$q.platform.is.desktop){const e=r.findIndex((e=>e.comp===t));e>-1&&r.splice(e,1)}}}},a2b0:function(t,e,n){"use strict";function i(t){var e=[];function n(t){if(Array.isArray(t))for(var i=0;i<t.length;i++)n(t[i]);else t.text=t.text||"",t.data=t.data||"",e.push(t)}return n(t),e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},a357:function(t,e,n){"use strict";n("ddb0"),n("2b3d"),n("9861");function i(t){setTimeout((()=>{window.URL.revokeObjectURL(t.href)}),1e4),t.remove()}e["a"]=function(t,e,n){const r=new Blob([e],{type:n||"text/plain"});if(window.navigator.msSaveOrOpenBlob)return window.navigator.msSaveOrOpenBlob(r,t);const o=document.createElement("a");o.download=t,o.href=window.URL.createObjectURL(r),o.classList.add("hidden"),o.style.position="fixed",document.body.appendChild(o);try{return o.click(),i(o),!0}catch(a){return i(o),a}}},a370:function(t,e,n){"use strict";var i=n("2b0e"),r=n("e2fa"),o=n("87e8"),a=n("dde5");e["a"]=i["a"].extend({name:"QCardSection",mixins:[o["a"],r["a"]],props:{horizontal:Boolean},computed:{classes(){return"q-card__section q-card__section--"+(!0===this.horizontal?"horiz row no-wrap":"vert")}},render(t){return t(this.tag,{class:this.classes,on:{...this.qListeners}},Object(a["c"])(this,"default"))}})},a5d2:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("c243"),o=n("5726"),a=u(o),s=n("e762"),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){function e(t,n){return c(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return d(e,t),i(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var t=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,t,"01"),text:this.text}}}]),e}(l.default);e.default=p},a639:function(t,e,n){"use strict";var i=n("0967"),r=n("685b");e["a"]={install({$q:t}){const e=!0===i["e"]||!1===i["a"].has.webStorage?Object(r["a"])():Object(r["b"])("session");t.sessionStorage=e,Object.assign(this,e)}}},a79d:function(t,e,n){"use strict";var i=n("23e7"),r=n("c430"),o=n("d256"),a=n("d039"),s=n("d066"),l=n("1626"),u=n("4840"),c=n("cdf9"),h=n("cb2d"),d=o&&o.prototype,p=!!o&&a((function(){d["finally"].call({then:function(){}},(function(){}))}));if(i({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(t){var e=u(this,s("Promise")),n=l(t);return this.then(n?function(n){return c(e,t()).then((function(){return n}))}:t,n?function(n){return c(e,t()).then((function(){throw n}))}:t)}}),!r&&l(o)){var f=s("Promise").prototype["finally"];d["finally"]!==f&&h(d,"finally",f,{unsafe:!0})}},a8f0:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));n("d9e2");const i=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function r(t,e,n){return"[object Date]"===Object.prototype.toString.call(t)&&(n=t.getDate(),e=t.getMonth()+1,t=t.getFullYear()),h(d(t,e,n))}function o(t,e,n){return p(c(t,e,n))}function a(t){return 0===l(t)}function s(t,e){return e<=6?31:e<=11||a(t)?30:29}function l(t){const e=i.length;let n,r,o,a,s,l=i[0];if(t<l||t>=i[e-1])throw new Error("Invalid Jalaali year "+t);for(s=1;s<e;s+=1){if(n=i[s],r=n-l,t<n)break;l=n}return a=t-l,r-a<6&&(a=a-r+33*f(r+4,33)),o=g(g(a+1,33)-1,4),-1===o&&(o=4),o}function u(t,e){const n=i.length,r=t+621;let o,a,s,l,u,c=-14,h=i[0];if(t<h||t>=i[n-1])throw new Error("Invalid Jalaali year "+t);for(u=1;u<n;u+=1){if(o=i[u],a=o-h,t<o)break;c=c+8*f(a,33)+f(g(a,33),4),h=o}l=t-h,c=c+8*f(l,33)+f(g(l,33)+3,4),4===g(a,33)&&a-l===4&&(c+=1);const d=f(r,4)-f(3*(f(r,100)+1),4)-150,p=20+c-d;return e||(a-l<6&&(l=l-a+33*f(a+4,33)),s=g(g(l+1,33)-1,4),-1===s&&(s=4)),{leap:s,gy:r,march:p}}function c(t,e,n){const i=u(t,!0);return d(i.gy,3,i.march)+31*(e-1)-f(e,7)*(e-7)+n-1}function h(t){const e=p(t).gy;let n,i,r,o=e-621;const a=u(o,!1),s=d(e,3,a.march);if(r=t-s,r>=0){if(r<=185)return i=1+f(r,31),n=g(r,31)+1,{jy:o,jm:i,jd:n};r-=186}else o-=1,r+=179,1===a.leap&&(r+=1);return i=7+f(r,30),n=g(r,30)+1,{jy:o,jm:i,jd:n}}function d(t,e,n){let i=f(1461*(t+f(e-8,6)+100100),4)+f(153*g(e+9,12)+2,5)+n-34840408;return i=i-f(3*f(t+100100+f(e-8,6),100),4)+752,i}function p(t){let e=4*t+139361631;e=e+4*f(3*f(4*t+183187720,146097),4)-3908;const n=5*f(g(e,1461),4)+308,i=f(g(n,153),5)+1,r=g(f(n,153),12)+1,o=f(e,1461)-100100+f(8-r,6);return{gy:o,gm:r,gd:i}}function f(t,e){return~~(t/e)}function g(t,e){return t-~~(t/e)*e}},a925:function(t,e,n){"use strict";
- /*!
- * vue-i18n v8.27.2
- * (c) 2022 kazuya kawaguchi
- * Released under the MIT License.
- */var i=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function r(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function o(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var a=Array.isArray;function s(t){return null!==t&&"object"===typeof t}function l(t){return"boolean"===typeof t}function u(t){return"string"===typeof t}var c=Object.prototype.toString,h="[object Object]";function d(t){return c.call(t)===h}function p(t){return null===t||void 0===t}function f(t){return"function"===typeof t}function g(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,i=null;return 1===t.length?s(t[0])||a(t[0])?i=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(s(t[1])||a(t[1]))&&(i=t[1])),{locale:n,params:i}}function m(t){return JSON.parse(JSON.stringify(t))}function v(t,e){if(t.delete(e))return t}function y(t){var e=[];return t.forEach((function(t){return e.push(t)})),e}function b(t,e){return!!~t.indexOf(e)}var _=Object.prototype.hasOwnProperty;function x(t,e){return _.call(t,e)}function w(t){for(var e=arguments,n=Object(t),i=1;i<arguments.length;i++){var r=e[i];if(void 0!==r&&null!==r){var o=void 0;for(o in r)x(r,o)&&(s(r[o])?n[o]=w(n[o],r[o]):n[o]=r[o])}}return n}function S(t,e){if(t===e)return!0;var n=s(t),i=s(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=a(t),o=a(e);if(r&&o)return t.length===e.length&&t.every((function(t,n){return S(t,e[n])}));if(r||o)return!1;var l=Object.keys(t),u=Object.keys(e);return l.length===u.length&&l.every((function(n){return S(t[n],e[n])}))}catch(c){return!1}}function C(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function k(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=C(t[e]))})),t}function M(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[t,i.locale,i._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}function O(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof kt){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},n=t.__i18nBridge||t.__i18n;n.forEach((function(t){e=w(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(l){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(d(t.i18n)){var i=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof kt?this.$root.$i18n:null;if(i&&(t.i18n.root=this.$root,t.i18n.formatter=i.formatter,t.i18n.fallbackLocale=i.fallbackLocale,t.i18n.formatFallbackMessages=i.formatFallbackMessages,t.i18n.silentTranslationWarn=i.silentTranslationWarn,t.i18n.silentFallbackWarn=i.silentFallbackWarn,t.i18n.pluralizationRules=i.pluralizationRules,t.i18n.preserveDirectiveContent=i.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var r=t.i18n&&t.i18n.messages?t.i18n.messages:{},o=t.__i18nBridge||t.__i18n;o.forEach((function(t){r=w(r,JSON.parse(t))})),t.i18n.messages=r}catch(l){0}var a=t.i18n,s=a.sharedMessages;s&&d(s)&&(t.i18n.messages=w(t.i18n.messages,s)),this._i18n=new kt(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),i&&i.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof kt?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof kt&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof kt||d(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof kt||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof kt)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}var T={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,i=e.parent,r=e.props,o=e.slots,a=i.$i18n;if(a){var s=r.path,l=r.locale,u=r.places,c=o(),h=a.i(s,l,A(c)||u?I(c.default,u):c),d=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return d?t(d,n,h):h}}};function A(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function I(t,e){var n=e?P(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var i=t.every(L);return t.reduce(i?E:D,n)}function P(t){return Array.isArray(t)?t.reduce(D,{}):Object.assign({},t)}function E(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function D(t,e,n){return t[n]=e,t}function L(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var j,R={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,r=e.parent,o=e.data,a=r.$i18n;if(!a)return null;var l=null,c=null;u(n.format)?l=n.format:s(n.format)&&(n.format.key&&(l=n.format.key),c=Object.keys(n.format).reduce((function(t,e){var r;return b(i,e)?Object.assign({},t,(r={},r[e]=n.format[e],r)):t}),null));var h=n.locale||a.locale,d=a._ntp(n.value,h,l,c),p=d.map((function(t,e){var n,i=o.scopedSlots&&o.scopedSlots[t.type];return i?i((n={},n[t.type]=t.value,n.index=e,n.parts=d,n)):t.value})),f=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return f?t(f,{attrs:o.attrs,class:o["class"],staticClass:o.staticClass},p):p}};function B(t,e,n){z(t,n)&&q(t,e,n)}function N(t,e,n,i){if(z(t,n)){var r=n.context.$i18n;V(t,n)&&S(e.value,e.oldValue)&&S(t._localeMessage,r.getLocaleMessage(r.locale))||q(t,e,n)}}function F(t,e,n,i){var o=n.context;if(o){var a=n.context.$i18n||{};e.modifiers.preserve||a.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else r("Vue instance does not exists in VNode context")}function z(t,e){var n=e.context;return n?!!n.$i18n||(r("VueI18n instance does not exists in Vue instance"),!1):(r("Vue instance does not exists in VNode context"),!1)}function V(t,e){var n=e.context;return t._locale===n.$i18n.locale}function q(t,e,n){var i,o,a=e.value,s=$(a),l=s.path,u=s.locale,c=s.args,h=s.choice;if(l||u||c)if(l){var d=n.context;t._vt=t.textContent=null!=h?(i=d.$i18n).tc.apply(i,[l,h].concat(H(u,c))):(o=d.$i18n).t.apply(o,[l].concat(H(u,c))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else r("`path` is required in v-t directive");else r("value type not supported")}function $(t){var e,n,i,r;return u(t)?e=t:d(t)&&(e=t.path,n=t.locale,i=t.args,r=t.choice),{path:e,locale:n,args:i,choice:r}}function H(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||d(e))&&n.push(e),n}function G(t,e){void 0===e&&(e={bridge:!1}),G.installed=!0,j=t;j.version&&Number(j.version.split(".")[0]);M(j),j.mixin(O(e.bridge)),j.directive("t",{bind:B,update:N,unbind:F}),j.component(T.name,T),j.component(R.name,R);var n=j.config.optionMergeStrategies;n.i18n=function(t,e){return void 0===e?t:e}}var W=function(){this._caches=Object.create(null)};W.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=X(t),this._caches[t]=n),K(n,e)};var U=/^(?:\d)+/,Y=/^(?:\w)+/;function X(t){var e=[],n=0,i="";while(n<t.length){var r=t[n++];if("{"===r){i&&e.push({type:"text",value:i}),i="";var o="";r=t[n++];while(void 0!==r&&"}"!==r)o+=r,r=t[n++];var a="}"===r,s=U.test(o)?"list":a&&Y.test(o)?"named":"unknown";e.push({value:o,type:s})}else"%"===r?"{"!==t[n]&&(i+=r):i+=r}return i&&e.push({type:"text",value:i}),e}function K(t,e){var n=[],i=0,r=Array.isArray(e)?"list":s(e)?"named":"unknown";if("unknown"===r)return n;while(i<t.length){var o=t[i];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(e[parseInt(o.value,10)]);break;case"named":"named"===r&&n.push(e[o.value]);break;case"unknown":0;break}i++}return n}var Z=0,Q=1,J=2,tt=3,et=0,nt=1,it=2,rt=3,ot=4,at=5,st=6,lt=7,ut=8,ct=[];ct[et]={ws:[et],ident:[rt,Z],"[":[ot],eof:[lt]},ct[nt]={ws:[nt],".":[it],"[":[ot],eof:[lt]},ct[it]={ws:[it],ident:[rt,Z],0:[rt,Z],number:[rt,Z]},ct[rt]={ident:[rt,Z],0:[rt,Z],number:[rt,Z],ws:[nt,Q],".":[it,Q],"[":[ot,Q],eof:[lt,Q]},ct[ot]={"'":[at,Z],'"':[st,Z],"[":[ot,J],"]":[nt,tt],eof:ut,else:[ot,Z]},ct[at]={"'":[ot,Z],eof:ut,else:[at,Z]},ct[st]={'"':[ot,Z],eof:ut,else:[st,Z]};var ht=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function dt(t){return ht.test(t)}function pt(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function ft(t){if(void 0===t||null===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function gt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(dt(e)?pt(e):"*"+e)}function mt(t){var e,n,i,r,o,a,s,l=[],u=-1,c=et,h=0,d=[];function p(){var e=t[u+1];if(c===at&&"'"===e||c===st&&'"'===e)return u++,i="\\"+e,d[Z](),!0}d[Q]=function(){void 0!==n&&(l.push(n),n=void 0)},d[Z]=function(){void 0===n?n=i:n+=i},d[J]=function(){d[Z](),h++},d[tt]=function(){if(h>0)h--,c=ot,d[Z]();else{if(h=0,void 0===n)return!1;if(n=gt(n),!1===n)return!1;d[Q]()}};while(null!==c)if(u++,e=t[u],"\\"!==e||!p()){if(r=ft(e),s=ct[c],o=s[r]||s["else"]||ut,o===ut)return;if(c=o[0],a=d[o[1]],a&&(i=o[2],i=void 0===i?e:i,!1===a()))return;if(c===lt)return l}}var vt=function(){this._cache=Object.create(null)};vt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=mt(t),e&&(this._cache[t]=e)),e||[]},vt.prototype.getPathValue=function(t,e){if(!s(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var i=n.length,r=t,o=0;while(o<i){var a=r[n[o]];if(void 0===a||null===a)return null;r=a,o++}return r};var yt,bt=/<\/?[\w\s="/.':;#-\/]+>/,_t=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,xt=/^@(?:\.([a-zA-Z]+))?:/,wt=/[()]/g,St={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Ct=new W,kt=function(t){var e=this;void 0===t&&(t={}),!j&&"undefined"!==typeof window&&window.Vue&&G(window.Vue);var n=t.locale||"en-US",i=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},o=t.dateTimeFormats||t.datetimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Ct,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new vt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var i=Object.getPrototypeOf(e);if(i&&i.getChoiceIndex){var r=i.getChoiceIndex;return r.call(e,t,n)}var o=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):o(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!p(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:o,numberFormats:a})},Mt={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}};kt.prototype._checkLocaleMessage=function(t,e,n){var i=[],s=function(t,e,n,i){if(d(n))Object.keys(n).forEach((function(r){var o=n[r];d(o)?(i.push(r),i.push("."),s(t,e,o,i),i.pop(),i.pop()):(i.push(r),s(t,e,o,i),i.pop())}));else if(a(n))n.forEach((function(n,r){d(n)?(i.push("["+r+"]"),i.push("."),s(t,e,n,i),i.pop(),i.pop()):(i.push("["+r+"]"),s(t,e,n,i),i.pop())}));else if(u(n)){var l=bt.test(n);if(l){var c="Detected HTML in message '"+n+"' of keypath '"+i.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?r(c):"error"===t&&o(c)}}};s(e,t,n,i)},kt.prototype._initVM=function(t){var e=j.config.silent;j.config.silent=!0,this._vm=new j({data:t,__VUE18N__INSTANCE__:!0}),j.config.silent=e},kt.prototype.destroyVM=function(){this._vm.$destroy()},kt.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},kt.prototype.unsubscribeDataChanging=function(t){v(this._dataListeners,t)},kt.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=y(t._dataListeners),n=e.length;while(n--)j.nextTick((function(){e[n]&&e[n].$forceUpdate()}))}),{deep:!0})},kt.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",(function(i){n.$set(n,"locale",i),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=i),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var i=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){i.$set(i,"locale",t),i.$forceUpdate()}),{immediate:!0})},kt.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Mt.vm.get=function(){return this._vm},Mt.messages.get=function(){return m(this._getMessages())},Mt.dateTimeFormats.get=function(){return m(this._getDateTimeFormats())},Mt.numberFormats.get=function(){return m(this._getNumberFormats())},Mt.availableLocales.get=function(){return Object.keys(this.messages).sort()},Mt.locale.get=function(){return this._vm.locale},Mt.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Mt.fallbackLocale.get=function(){return this._vm.fallbackLocale},Mt.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Mt.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Mt.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Mt.missing.get=function(){return this._missing},Mt.missing.set=function(t){this._missing=t},Mt.formatter.get=function(){return this._formatter},Mt.formatter.set=function(t){this._formatter=t},Mt.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Mt.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Mt.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Mt.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Mt.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Mt.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Mt.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Mt.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var i=this._getMessages();Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])}))}},Mt.postTranslation.get=function(){return this._postTranslation},Mt.postTranslation.set=function(t){this._postTranslation=t},Mt.sync.get=function(){return this._sync},Mt.sync.set=function(t){this._sync=t},kt.prototype._getMessages=function(){return this._vm.messages},kt.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},kt.prototype._getNumberFormats=function(){return this._vm.numberFormats},kt.prototype._warnDefault=function(t,e,n,i,r,o){if(!p(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,i,r]);if(u(a))return a}else 0;if(this._formatFallbackMessages){var s=g.apply(void 0,r);return this._render(e,o,s.params,e)}return e},kt.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:p(t))&&!p(this._root)&&this._fallbackRoot},kt.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},kt.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},kt.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},kt.prototype._interpolate=function(t,e,n,i,r,o,s){if(!e)return null;var l,c=this._path.getPathValue(e,n);if(a(c)||d(c))return c;if(p(c)){if(!d(e))return null;if(l=e[n],!u(l)&&!f(l))return null}else{if(!u(c)&&!f(c))return null;l=c}return u(l)&&(l.indexOf("@:")>=0||l.indexOf("@.")>=0)&&(l=this._link(t,e,l,i,"raw",o,s)),this._render(l,r,o,n)},kt.prototype._link=function(t,e,n,i,r,o,s){var l=n,u=l.match(_t);for(var c in u)if(u.hasOwnProperty(c)){var h=u[c],d=h.match(xt),p=d[0],f=d[1],g=h.replace(p,"").replace(wt,"");if(b(s,g))return l;s.push(g);var m=this._interpolate(t,e,g,i,"raw"===r?"string":r,"raw"===r?void 0:o,s);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var v=this._root.$i18n;m=v._translate(v._getMessages(),v.locale,v.fallbackLocale,g,i,r,o)}m=this._warnDefault(t,g,m,i,a(o)?o:[o],r),this._modifiers.hasOwnProperty(f)?m=this._modifiers[f](m):St.hasOwnProperty(f)&&(m=St[f](m)),s.pop(),l=m?l.replace(h,m):l}return l},kt.prototype._createMessageContext=function(t,e,n,i){var r=this,o=a(t)?t:[],l=s(t)?t:{},u=function(t){return o[t]},c=function(t){return l[t]},h=this._getMessages(),d=this.locale;return{list:u,named:c,values:t,formatter:e,path:n,messages:h,locale:d,linked:function(t){return r._interpolate(d,h[d]||{},t,null,i,void 0,[t])}}},kt.prototype._render=function(t,e,n,i){if(f(t))return t(this._createMessageContext(n,this._formatter||Ct,i,e));var r=this._formatter.interpolate(t,n,i);return r||(r=Ct.interpolate(t,n,i)),"string"!==e||u(r)?r:r.join("")},kt.prototype._appendItemToChain=function(t,e,n){var i=!1;return b(t,e)||(i=!0,e&&(i="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(i=n[e]))),i},kt.prototype._appendLocaleToChain=function(t,e,n){var i,r=e.split("-");do{var o=r.join("-");i=this._appendItemToChain(t,o,n),r.splice(-1,1)}while(r.length&&!0===i);return i},kt.prototype._appendBlockToChain=function(t,e,n){for(var i=!0,r=0;r<e.length&&l(i);r++){var o=e[r];u(o)&&(i=this._appendLocaleToChain(t,o,n))}return i},kt.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[t];if(!n){e||(e=this.fallbackLocale),n=[];var i,r=[t];while(a(r))r=this._appendBlockToChain(n,r,e);i=a(e)?e:s(e)?e["default"]?e["default"]:null:e,r=u(i)?[i]:i,r&&this._appendBlockToChain(n,r,null),this._localeChainCache[t]=n}return n},kt.prototype._translate=function(t,e,n,i,r,o,a){for(var s,l=this._getLocaleChain(e,n),u=0;u<l.length;u++){var c=l[u];if(s=this._interpolate(c,t[c],i,r,o,a,[i]),!p(s))return s}return null},kt.prototype._t=function(t,e,n,i){var r,o=[],a=arguments.length-4;while(a-- >0)o[a]=arguments[a+4];if(!t)return"";var s=g.apply(void 0,o);this._escapeParameterHtml&&(s.params=k(s.params));var l=s.locale||e,u=this._translate(n,l,this.fallbackLocale,t,i,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(o))}return u=this._warnDefault(l,t,u,i,o,"string"),this._postTranslation&&null!==u&&void 0!==u&&(u=this._postTranslation(u,t)),u},kt.prototype.t=function(t){var e,n=[],i=arguments.length-1;while(i-- >0)n[i]=arguments[i+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},kt.prototype._i=function(t,e,n,i,r){var o=this._translate(n,e,this.fallbackLocale,t,i,"raw",r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,o,i,[r],"raw")},kt.prototype.i=function(t,e,n){return t?(u(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},kt.prototype._tc=function(t,e,n,i,r){var o,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!t)return"";void 0===r&&(r=1);var l={count:r,n:r},u=g.apply(void 0,a);return u.params=Object.assign(l,u.params),a=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((o=this)._t.apply(o,[t,e,n,i].concat(a)),r)},kt.prototype.fetchChoice=function(t,e){if(!t||!u(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},kt.prototype.tc=function(t,e){var n,i=[],r=arguments.length-2;while(r-- >0)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(i))},kt.prototype._te=function(t,e,n){var i=[],r=arguments.length-3;while(r-- >0)i[r]=arguments[r+3];var o=g.apply(void 0,i).locale||e;return this._exist(n[o],t)},kt.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},kt.prototype.getLocaleMessage=function(t){return m(this._vm.messages[t]||{})},kt.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},kt.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,w("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},kt.prototype.getDateTimeFormat=function(t){return m(this._vm.dateTimeFormats[t]||{})},kt.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},kt.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,w(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},kt.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},kt.prototype._localizeDateTime=function(t,e,n,i,r){for(var o=e,a=i[o],s=this._getLocaleChain(e,n),l=0;l<s.length;l++){var u=s[l];if(a=i[u],o=u,!p(a)&&!p(a[r]))break}if(p(a)||p(a[r]))return null;var c=a[r],h=o+"__"+r,d=this._dateTimeFormatters[h];return d||(d=this._dateTimeFormatters[h]=new Intl.DateTimeFormat(o,c)),d.format(t)},kt.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var i=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return i||""},kt.prototype.d=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var i=this.locale,r=null;return 1===e.length?u(e[0])?r=e[0]:s(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&(u(e[0])&&(r=e[0]),u(e[1])&&(i=e[1])),this._d(t,i,r)},kt.prototype.getNumberFormat=function(t){return m(this._vm.numberFormats[t]||{})},kt.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},kt.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,w(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},kt.prototype._clearNumberFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},kt.prototype._getNumberFormatter=function(t,e,n,i,r,o){for(var a=e,s=i[a],l=this._getLocaleChain(e,n),u=0;u<l.length;u++){var c=l[u];if(s=i[c],a=c,!p(s)&&!p(s[r]))break}if(p(s)||p(s[r]))return null;var h,d=s[r];if(o)h=new Intl.NumberFormat(a,Object.assign({},d,o));else{var f=a+"__"+r;h=this._numberFormatters[f],h||(h=this._numberFormatters[f]=new Intl.NumberFormat(a,d))}return h},kt.prototype._n=function(t,e,n,i){if(!kt.availabilities.numberFormat)return"";if(!n){var r=i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e);return r.format(t)}var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),a=o&&o.format(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},i))}return a||""},kt.prototype.n=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var r=this.locale,o=null,a=null;return 1===e.length?u(e[0])?o=e[0]:s(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key),a=Object.keys(e[0]).reduce((function(t,n){var r;return b(i,n)?Object.assign({},t,(r={},r[n]=e[0][n],r)):t}),null)):2===e.length&&(u(e[0])&&(o=e[0]),u(e[1])&&(r=e[1])),this._n(t,r,o,a)},kt.prototype._ntp=function(t,e,n,i){if(!kt.availabilities.numberFormat)return[];if(!n){var r=i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e);return r.formatToParts(t)}var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),a=o&&o.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,i)}return a||[]},Object.defineProperties(kt.prototype,Mt),Object.defineProperty(kt,"availabilities",{get:function(){if(!yt){var t="undefined"!==typeof Intl;yt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return yt}}),kt.install=G,kt.version="8.27.2",e["a"]=kt},a981:function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},aa47:function(t,e,n){"use strict";
- /**!
- * Sortable 1.10.2
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */
- function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},o.apply(this,arguments)}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){r(t,e,n[e])}))}return t}function s(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}function l(t,e){if(null==t)return{};var n,i,r=s(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function u(t){return c(t)||h(t)||d()}function c(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function h(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function d(){throw new TypeError("Invalid attempt to spread non-iterable instance")}n.r(e),n.d(e,"MultiDrag",(function(){return Ne})),n.d(e,"Sortable",(function(){return Qt})),n.d(e,"Swap",(function(){return Me}));var p="1.10.2";function f(t){if("undefined"!==typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var g=f(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),m=f(/Edge/i),v=f(/firefox/i),y=f(/safari/i)&&!f(/chrome/i)&&!f(/android/i),b=f(/iP(ad|od|hone)/i),_=f(/chrome/i)&&f(/android/i),x={capture:!1,passive:!1};function w(t,e,n){t.addEventListener(e,n,!g&&x)}function S(t,e,n){t.removeEventListener(e,n,!g&&x)}function C(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(n){return!1}return!1}}function k(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function M(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&C(t,e):C(t,e))||i&&t===n)return t;if(t===n)break}while(t=k(t))}return null}var O,T=/\s+/g;function A(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(T," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(T," ")}}function I(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||-1!==e.indexOf("webkit")||(e="-webkit-"+e),i[e]=n+("string"===typeof n?"":"px")}}function P(t,e){var n="";if("string"===typeof t)n=t;else do{var i=I(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function E(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,o=i.length;if(n)for(;r<o;r++)n(i[r],r);return i}return[]}function D(){var t=document.scrollingElement;return t||document.documentElement}function L(t,e,n,i,r){if(t.getBoundingClientRect||t===window){var o,a,s,l,u,c,h;if(t!==window&&t!==D()?(o=t.getBoundingClientRect(),a=o.top,s=o.left,l=o.bottom,u=o.right,c=o.height,h=o.width):(a=0,s=0,l=window.innerHeight,u=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(e||n)&&t!==window&&(r=r||t.parentNode,!g))do{if(r&&r.getBoundingClientRect&&("none"!==I(r,"transform")||n&&"static"!==I(r,"position"))){var d=r.getBoundingClientRect();a-=d.top+parseInt(I(r,"border-top-width")),s-=d.left+parseInt(I(r,"border-left-width")),l=a+o.height,u=s+o.width;break}}while(r=r.parentNode);if(i&&t!==window){var p=P(r||t),f=p&&p.a,m=p&&p.d;p&&(a/=m,s/=f,h/=f,c/=m,l=a+c,u=s+h)}return{top:a,left:s,bottom:l,right:u,width:h,height:c}}}function j(t,e,n){var i=V(t,!0),r=L(t)[e];while(i){var o=L(i)[n],a=void 0;if(a="top"===n||"left"===n?r>=o:r<=o,!a)return i;if(i===D())break;i=V(i,!1)}return!1}function R(t,e,n){var i=0,r=0,o=t.children;while(r<o.length){if("none"!==o[r].style.display&&o[r]!==Qt.ghost&&o[r]!==Qt.dragged&&M(o[r],n.draggable,t,!1)){if(i===e)return o[r];i++}r++}return null}function B(t,e){var n=t.lastElementChild;while(n&&(n===Qt.ghost||"none"===I(n,"display")||e&&!C(n,e)))n=n.previousElementSibling;return n||null}function N(t,e){var n=0;if(!t||!t.parentNode)return-1;while(t=t.previousElementSibling)"TEMPLATE"===t.nodeName.toUpperCase()||t===Qt.clone||e&&!C(t,e)||n++;return n}function F(t){var e=0,n=0,i=D();if(t)do{var r=P(t),o=r.a,a=r.d;e+=t.scrollLeft*o,n+=t.scrollTop*a}while(t!==i&&(t=t.parentNode));return[e,n]}function z(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}function V(t,e){if(!t||!t.getBoundingClientRect)return D();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=I(n);if(n.clientWidth<n.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!n.getBoundingClientRect||n===document.body)return D();if(i||e)return n;i=!0}}}while(n=n.parentNode);return D()}function q(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function $(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function H(t,e){return function(){if(!O){var n=arguments,i=this;1===n.length?t.call(i,n[0]):t.apply(i,n),O=setTimeout((function(){O=void 0}),e)}}}function G(){clearTimeout(O),O=void 0}function W(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function U(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function Y(t,e){I(t,"position","absolute"),I(t,"top",e.top),I(t,"left",e.left),I(t,"width",e.width),I(t,"height",e.height)}function X(t){I(t,"position",""),I(t,"top",""),I(t,"left",""),I(t,"width",""),I(t,"height","")}var K="Sortable"+(new Date).getTime();function Z(){var t,e=[];return{captureAnimationState:function(){if(e=[],this.options.animation){var t=[].slice.call(this.el.children);t.forEach((function(t){if("none"!==I(t,"display")&&t!==Qt.ghost){e.push({target:t,rect:L(t)});var n=a({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=P(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))}},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(z(e,{target:t}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(t),void("function"===typeof n&&n());var r=!1,o=0;e.forEach((function(t){var e=0,n=t.target,a=n.fromRect,s=L(n),l=n.prevFromRect,u=n.prevToRect,c=t.rect,h=P(n,!0);h&&(s.top-=h.f,s.left-=h.e),n.toRect=s,n.thisAnimationDuration&&$(l,s)&&!$(a,s)&&(c.top-s.top)/(c.left-s.left)===(a.top-s.top)/(a.left-s.left)&&(e=J(c,l,u,i.options)),$(s,a)||(n.prevFromRect=a,n.prevToRect=s,e||(e=i.options.animation),i.animate(n,c,s,e)),e&&(r=!0,o=Math.max(o,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),r?t=setTimeout((function(){"function"===typeof n&&n()}),o):"function"===typeof n&&n(),e=[]},animate:function(t,e,n,i){if(i){I(t,"transition",""),I(t,"transform","");var r=P(this.el),o=r&&r.a,a=r&&r.d,s=(e.left-n.left)/(o||1),l=(e.top-n.top)/(a||1);t.animatingX=!!s,t.animatingY=!!l,I(t,"transform","translate3d("+s+"px,"+l+"px,0)"),Q(t),I(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),I(t,"transform","translate3d(0,0,0)"),"number"===typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){I(t,"transition",""),I(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),i)}}}}function Q(t){return t.offsetWidth}function J(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}var tt=[],et={initializeByDefault:!0},nt={mount:function(t){for(var e in et)et.hasOwnProperty(e)&&!(e in t)&&(t[e]=et[e]);tt.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=t+"Global";tt.forEach((function(i){e[i.pluginName]&&(e[i.pluginName][r]&&e[i.pluginName][r](a({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](a({sortable:e},n)))}))},initializePlugins:function(t,e,n,i){for(var r in tt.forEach((function(i){var r=i.pluginName;if(t.options[r]||i.initializeByDefault){var a=new i(t,e,t.options);a.sortable=t,a.options=t.options,t[r]=a,o(n,a.defaults)}})),t.options)if(t.options.hasOwnProperty(r)){var a=this.modifyOption(t,r,t.options[r]);"undefined"!==typeof a&&(t.options[r]=a)}},getEventProperties:function(t,e){var n={};return tt.forEach((function(i){"function"===typeof i.eventProperties&&o(n,i.eventProperties.call(e[i.pluginName],t))})),n},modifyOption:function(t,e,n){var i;return tt.forEach((function(r){t[r.pluginName]&&r.optionListeners&&"function"===typeof r.optionListeners[e]&&(i=r.optionListeners[e].call(t[r.pluginName],n))})),i}};function it(t){var e=t.sortable,n=t.rootEl,i=t.name,r=t.targetEl,o=t.cloneEl,s=t.toEl,l=t.fromEl,u=t.oldIndex,c=t.newIndex,h=t.oldDraggableIndex,d=t.newDraggableIndex,p=t.originalEvent,f=t.putSortable,v=t.extraEventProperties;if(e=e||n&&n[K],e){var y,b=e.options,_="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||g||m?(y=document.createEvent("Event"),y.initEvent(i,!0,!0)):y=new CustomEvent(i,{bubbles:!0,cancelable:!0}),y.to=s||n,y.from=l||n,y.item=r||n,y.clone=o,y.oldIndex=u,y.newIndex=c,y.oldDraggableIndex=h,y.newDraggableIndex=d,y.originalEvent=p,y.pullMode=f?f.lastPutMode:void 0;var x=a({},v,nt.getEventProperties(i,e));for(var w in x)y[w]=x[w];n&&n.dispatchEvent(y),b[_]&&b[_].call(e,y)}}var rt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=l(n,["evt"]);nt.pluginEvent.bind(Qt)(t,e,a({dragEl:at,parentEl:st,ghostEl:lt,rootEl:ut,nextEl:ct,lastDownEl:ht,cloneEl:dt,cloneHidden:pt,dragStarted:Mt,putSortable:bt,activeSortable:Qt.active,originalEvent:i,oldIndex:ft,oldDraggableIndex:mt,newIndex:gt,newDraggableIndex:vt,hideGhostForTarget:Yt,unhideGhostForTarget:Xt,cloneNowHidden:function(){pt=!0},cloneNowShown:function(){pt=!1},dispatchSortableEvent:function(t){ot({sortable:e,name:t,originalEvent:i})}},r))};function ot(t){it(a({putSortable:bt,cloneEl:dt,targetEl:at,rootEl:ut,oldIndex:ft,oldDraggableIndex:mt,newIndex:gt,newDraggableIndex:vt},t))}var at,st,lt,ut,ct,ht,dt,pt,ft,gt,mt,vt,yt,bt,_t,xt,wt,St,Ct,kt,Mt,Ot,Tt,At,It,Pt=!1,Et=!1,Dt=[],Lt=!1,jt=!1,Rt=[],Bt=!1,Nt=[],Ft="undefined"!==typeof document,zt=b,Vt=m||g?"cssFloat":"float",qt=Ft&&!_&&!b&&"draggable"in document.createElement("div"),$t=function(){if(Ft){if(g)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Ht=function(t,e){var n=I(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=R(t,0,e),o=R(t,1,e),a=r&&I(r),s=o&&I(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(r).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a["float"]&&"none"!==a["float"]){var c="left"===a["float"]?"left":"right";return!o||"both"!==s.clear&&s.clear!==c?"horizontal":"vertical"}return r&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=i&&"none"===n[Vt]||o&&"none"===n[Vt]&&l+u>i)?"vertical":"horizontal"},Gt=function(t,e,n){var i=n?t.left:t.top,r=n?t.right:t.bottom,o=n?t.width:t.height,a=n?e.left:e.top,s=n?e.right:e.bottom,l=n?e.width:e.height;return i===a||r===s||i+o/2===a+l/2},Wt=function(t,e){var n;return Dt.some((function(i){if(!B(i)){var r=L(i),o=i[K].options.emptyInsertThreshold,a=t>=r.left-o&&t<=r.right+o,s=e>=r.top-o&&e<=r.bottom+o;return o&&a&&s?n=i:void 0}})),n},Ut=function(t){function e(t,n){return function(i,r,o,a){var s=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"===typeof t)return e(t(i,r,o,a),n)(i,r,o,a);var l=(n?i:r).options.group.name;return!0===t||"string"===typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},r=t.group;r&&"object"==i(r)||(r={name:r}),n.name=r.name,n.checkPull=e(r.pull,!0),n.checkPut=e(r.put),n.revertClone=r.revertClone,t.group=n},Yt=function(){!$t&<&&I(lt,"display","none")},Xt=function(){!$t&<&&I(lt,"display","")};Ft&&document.addEventListener("click",(function(t){if(Et)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Et=!1,!1}),!0);var Kt=function(t){if(at){t=t.touches?t.touches[0]:t;var e=Wt(t.clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[K]._onDragOver(n)}}},Zt=function(t){at&&at.parentNode[K]._isOutsideThisEl(t.target)};function Qt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=o({},e),t[K]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ht(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Qt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in nt.initializePlugins(this,t,n),n)!(i in e)&&(e[i]=n[i]);for(var r in Ut(e),this)"_"===r.charAt(0)&&"function"===typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!e.forceFallback&&qt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?w(t,"pointerdown",this._onTapStart):(w(t,"mousedown",this._onTapStart),w(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(w(t,"dragover",this),w(t,"dragenter",this)),Dt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),o(this,Z())}function Jt(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function te(t,e,n,i,r,o,a,s){var l,u,c=t[K],h=c.options.onMove;return!window.CustomEvent||g||m?(l=document.createEvent("Event"),l.initEvent("move",!0,!0)):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=i,l.related=r||e,l.relatedRect=o||L(e),l.willInsertAfter=s,l.originalEvent=a,t.dispatchEvent(l),h&&(u=h.call(c,l,a)),u}function ee(t){t.draggable=!1}function ne(){Bt=!1}function ie(t,e,n){var i=L(B(n.el,n.options.draggable)),r=10;return e?t.clientX>i.right+r||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+r}function re(t,e,n,i,r,o,a,s){var l=i?t.clientY:t.clientX,u=i?n.height:n.width,c=i?n.top:n.left,h=i?n.bottom:n.right,d=!1;if(!a)if(s&&At<u*r){if(!Lt&&(1===Tt?l>c+u*o/2:l<h-u*o/2)&&(Lt=!0),Lt)d=!0;else if(1===Tt?l<c+At:l>h-At)return-Tt}else if(l>c+u*(1-r)/2&&l<h-u*(1-r)/2)return oe(e);return d=d||a,d&&(l<c+u*o/2||l>h-u*o/2)?l>c+u/2?1:-1:0}function oe(t){return N(at)<N(t)?1:-1}function ae(t){var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;while(n--)i+=e.charCodeAt(n);return i.toString(36)}function se(t){Nt.length=0;var e=t.getElementsByTagName("input"),n=e.length;while(n--){var i=e[n];i.checked&&Nt.push(i)}}function le(t){return setTimeout(t,0)}function ue(t){return clearTimeout(t)}Qt.prototype={constructor:Qt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Ot=null)},_getDirection:function(t,e){return"function"===typeof this.options.direction?this.options.direction.call(this,t,e,at):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,r=i.preventOnFilter,o=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,u=i.filter;if(se(n),!at&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||i.disabled)&&!l.isContentEditable&&(s=M(s,i.draggable,n,!1),(!s||!s.animated)&&ht!==s)){if(ft=N(s),mt=N(s,i.draggable),"function"===typeof u){if(u.call(this,t,s,this))return ot({sortable:e,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),rt("filter",e,{evt:t}),void(r&&t.cancelable&&t.preventDefault())}else if(u&&(u=u.split(",").some((function(i){if(i=M(l,i.trim(),n,!1),i)return ot({sortable:e,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),rt("filter",e,{evt:t}),!0})),u))return void(r&&t.cancelable&&t.preventDefault());i.handle&&!M(l,i.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,e,n){var i,r=this,o=r.el,a=r.options,s=o.ownerDocument;if(n&&!at&&n.parentNode===o){var l=L(n);if(ut=o,at=n,st=at.parentNode,ct=at.nextSibling,ht=n,yt=a.group,Qt.dragged=at,_t={target:at,clientX:(e||t).clientX,clientY:(e||t).clientY},Ct=_t.clientX-l.left,kt=_t.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,at.style["will-change"]="all",i=function(){rt("delayEnded",r,{evt:t}),Qt.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!v&&r.nativeDraggable&&(at.draggable=!0),r._triggerDragStart(t,e),ot({sortable:r,name:"choose",originalEvent:t}),A(at,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){E(at,t.trim(),ee)})),w(s,"dragover",Kt),w(s,"mousemove",Kt),w(s,"touchmove",Kt),w(s,"mouseup",r._onDrop),w(s,"touchend",r._onDrop),w(s,"touchcancel",r._onDrop),v&&this.nativeDraggable&&(this.options.touchStartThreshold=4,at.draggable=!0),rt("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!e||this.nativeDraggable&&(m||g))i();else{if(Qt.eventCanceled)return void this._onDrop();w(s,"mouseup",r._disableDelayedDrag),w(s,"touchend",r._disableDelayedDrag),w(s,"touchcancel",r._disableDelayedDrag),w(s,"mousemove",r._delayedDragTouchMoveHandler),w(s,"touchmove",r._delayedDragTouchMoveHandler),a.supportPointer&&w(s,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){at&&ee(at),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;S(t,"mouseup",this._disableDelayedDrag),S(t,"touchend",this._disableDelayedDrag),S(t,"touchcancel",this._disableDelayedDrag),S(t,"mousemove",this._delayedDragTouchMoveHandler),S(t,"touchmove",this._delayedDragTouchMoveHandler),S(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?w(document,"pointermove",this._onTouchMove):w(document,e?"touchmove":"mousemove",this._onTouchMove):(w(at,"dragend",this),w(ut,"dragstart",this._onDragStart));try{document.selection?le((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(t,e){if(Pt=!1,ut&&at){rt("dragStarted",this,{evt:e}),this.nativeDraggable&&w(document,"dragover",Zt);var n=this.options;!t&&A(at,n.dragClass,!1),A(at,n.ghostClass,!0),Qt.active=this,t&&this._appendGhost(),ot({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(xt){this._lastX=xt.clientX,this._lastY=xt.clientY,Yt();var t=document.elementFromPoint(xt.clientX,xt.clientY),e=t;while(t&&t.shadowRoot){if(t=t.shadowRoot.elementFromPoint(xt.clientX,xt.clientY),t===e)break;e=t}if(at.parentNode[K]._isOutsideThisEl(t),e)do{if(e[K]){var n=void 0;if(n=e[K]._onDragOver({clientX:xt.clientX,clientY:xt.clientY,target:t,rootEl:e}),n&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Xt()}},_onTouchMove:function(t){if(_t){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,r=t.touches?t.touches[0]:t,o=lt&&P(lt,!0),a=lt&&o&&o.a,s=lt&&o&&o.d,l=zt&&It&&F(It),u=(r.clientX-_t.clientX+i.x)/(a||1)+(l?l[0]-Rt[0]:0)/(a||1),c=(r.clientY-_t.clientY+i.y)/(s||1)+(l?l[1]-Rt[1]:0)/(s||1);if(!Qt.active&&!Pt){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(lt){o?(o.e+=u-(wt||0),o.f+=c-(St||0)):o={a:1,b:0,c:0,d:1,e:u,f:c};var h="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");I(lt,"webkitTransform",h),I(lt,"mozTransform",h),I(lt,"msTransform",h),I(lt,"transform",h),wt=u,St=c,xt=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!lt){var t=this.options.fallbackOnBody?document.body:ut,e=L(at,!0,zt,!0,t),n=this.options;if(zt){It=t;while("static"===I(It,"position")&&"none"===I(It,"transform")&&It!==document)It=It.parentNode;It!==document.body&&It!==document.documentElement?(It===document&&(It=D()),e.top+=It.scrollTop,e.left+=It.scrollLeft):It=D(),Rt=F(It)}lt=at.cloneNode(!0),A(lt,n.ghostClass,!1),A(lt,n.fallbackClass,!0),A(lt,n.dragClass,!0),I(lt,"transition",""),I(lt,"transform",""),I(lt,"box-sizing","border-box"),I(lt,"margin",0),I(lt,"top",e.top),I(lt,"left",e.left),I(lt,"width",e.width),I(lt,"height",e.height),I(lt,"opacity","0.8"),I(lt,"position",zt?"absolute":"fixed"),I(lt,"zIndex","100000"),I(lt,"pointerEvents","none"),Qt.ghost=lt,t.appendChild(lt),I(lt,"transform-origin",Ct/parseInt(lt.style.width)*100+"% "+kt/parseInt(lt.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,r=n.options;rt("dragStart",this,{evt:t}),Qt.eventCanceled?this._onDrop():(rt("setupClone",this),Qt.eventCanceled||(dt=U(at),dt.draggable=!1,dt.style["will-change"]="",this._hideClone(),A(dt,this.options.chosenClass,!1),Qt.clone=dt),n.cloneId=le((function(){rt("clone",n),Qt.eventCanceled||(n.options.removeCloneOnHide||ut.insertBefore(dt,at),n._hideClone(),ot({sortable:n,name:"clone"}))})),!e&&A(at,r.dragClass,!0),e?(Et=!0,n._loopId=setInterval(n._emulateDragOver,50)):(S(document,"mouseup",n._onDrop),S(document,"touchend",n._onDrop),S(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,at)),w(document,"drop",n),I(at,"transform","translateZ(0)")),Pt=!0,n._dragStartId=le(n._dragStarted.bind(n,e,t)),w(document,"selectstart",n),Mt=!0,y&&I(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,r,o=this.el,s=t.target,l=this.options,u=l.group,c=Qt.active,h=yt===u,d=l.sort,p=bt||c,f=this,g=!1;if(!Bt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),s=M(s,l.draggable,o,!0),E("dragOver"),Qt.eventCanceled)return g;if(at.contains(t.target)||s.animated&&s.animatingX&&s.animatingY||f._ignoreWhileAnimating===s)return R(!1);if(Et=!1,c&&!l.disabled&&(h?d||(i=!ut.contains(at)):bt===this||(this.lastPutMode=yt.checkPull(this,c,at,t))&&u.checkPut(this,c,at,t))){if(r="vertical"===this._getDirection(t,s),e=L(at),E("dragOverValid"),Qt.eventCanceled)return g;if(i)return st=ut,D(),this._hideClone(),E("revert"),Qt.eventCanceled||(ct?ut.insertBefore(at,ct):ut.appendChild(at)),R(!0);var m=B(o,l.draggable);if(!m||ie(t,r,this)&&!m.animated){if(m===at)return R(!1);if(m&&o===t.target&&(s=m),s&&(n=L(s)),!1!==te(ut,o,at,e,s,n,t,!!s))return D(),o.appendChild(at),st=o,F(),R(!0)}else if(s.parentNode===o){n=L(s);var v,y,b=0,_=at.parentNode!==o,x=!Gt(at.animated&&at.toRect||e,s.animated&&s.toRect||n,r),w=r?"top":"left",S=j(s,"top","top")||j(at,"top","top"),C=S?S.scrollTop:void 0;if(Ot!==s&&(v=n[w],Lt=!1,jt=!x&&l.invertSwap||_),b=re(t,s,n,r,x?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,jt,Ot===s),0!==b){var k=N(at);do{k-=b,y=st.children[k]}while(y&&("none"===I(y,"display")||y===lt))}if(0===b||y===s)return R(!1);Ot=s,Tt=b;var O=s.nextElementSibling,T=!1;T=1===b;var P=te(ut,o,at,e,s,n,t,T);if(!1!==P)return 1!==P&&-1!==P||(T=1===P),Bt=!0,setTimeout(ne,30),D(),T&&!O?o.appendChild(at):s.parentNode.insertBefore(at,T?O:s),S&&W(S,0,C-S.scrollTop),st=at.parentNode,void 0===v||jt||(At=Math.abs(v-L(s)[w])),F(),R(!0)}if(o.contains(at))return R(!1)}return!1}function E(l,u){rt(l,f,a({evt:t,isOwner:h,axis:r?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:d,fromSortable:p,target:s,completed:R,onMove:function(n,i){return te(ut,o,at,e,n,L(n),t,i)},changed:F},u))}function D(){E("dragOverAnimationCapture"),f.captureAnimationState(),f!==p&&p.captureAnimationState()}function R(e){return E("dragOverCompleted",{insertion:e}),e&&(h?c._hideClone():c._showClone(f),f!==p&&(A(at,bt?bt.options.ghostClass:c.options.ghostClass,!1),A(at,l.ghostClass,!0)),bt!==f&&f!==Qt.active?bt=f:f===Qt.active&&bt&&(bt=null),p===f&&(f._ignoreWhileAnimating=s),f.animateAll((function(){E("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(s===at&&!at.animated||s===o&&!s.animated)&&(Ot=null),l.dragoverBubble||t.rootEl||s===document||(at.parentNode[K]._isOutsideThisEl(t.target),!e&&Kt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),g=!0}function F(){gt=N(at),vt=N(at,l.draggable),ot({sortable:f,name:"change",toEl:o,newIndex:gt,newDraggableIndex:vt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){S(document,"mousemove",this._onTouchMove),S(document,"touchmove",this._onTouchMove),S(document,"pointermove",this._onTouchMove),S(document,"dragover",Kt),S(document,"mousemove",Kt),S(document,"touchmove",Kt)},_offUpEvents:function(){var t=this.el.ownerDocument;S(t,"mouseup",this._onDrop),S(t,"touchend",this._onDrop),S(t,"pointerup",this._onDrop),S(t,"touchcancel",this._onDrop),S(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;gt=N(at),vt=N(at,n.draggable),rt("drop",this,{evt:t}),st=at&&at.parentNode,gt=N(at),vt=N(at,n.draggable),Qt.eventCanceled||(Pt=!1,jt=!1,Lt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ue(this.cloneId),ue(this._dragStartId),this.nativeDraggable&&(S(document,"drop",this),S(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),y&&I(document.body,"user-select",""),I(at,"transform",""),t&&(Mt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),lt&<.parentNode&<.parentNode.removeChild(lt),(ut===st||bt&&"clone"!==bt.lastPutMode)&&dt&&dt.parentNode&&dt.parentNode.removeChild(dt),at&&(this.nativeDraggable&&S(at,"dragend",this),ee(at),at.style["will-change"]="",Mt&&!Pt&&A(at,bt?bt.options.ghostClass:this.options.ghostClass,!1),A(at,this.options.chosenClass,!1),ot({sortable:this,name:"unchoose",toEl:st,newIndex:null,newDraggableIndex:null,originalEvent:t}),ut!==st?(gt>=0&&(ot({rootEl:st,name:"add",toEl:st,fromEl:ut,originalEvent:t}),ot({sortable:this,name:"remove",toEl:st,originalEvent:t}),ot({rootEl:st,name:"sort",toEl:st,fromEl:ut,originalEvent:t}),ot({sortable:this,name:"sort",toEl:st,originalEvent:t})),bt&&bt.save()):gt!==ft&>>=0&&(ot({sortable:this,name:"update",toEl:st,originalEvent:t}),ot({sortable:this,name:"sort",toEl:st,originalEvent:t})),Qt.active&&(null!=gt&&-1!==gt||(gt=ft,vt=mt),ot({sortable:this,name:"end",toEl:st,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){rt("nulling",this),ut=at=st=lt=ct=dt=ht=pt=_t=xt=Mt=gt=vt=ft=mt=Ot=Tt=bt=yt=Qt.dragged=Qt.ghost=Qt.clone=Qt.active=null,Nt.forEach((function(t){t.checked=!0})),Nt.length=wt=St=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":at&&(this._onDragOver(t),Jt(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,r=n.length,o=this.options;i<r;i++)t=n[i],M(t,o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||ae(t));return e},sort:function(t){var e={},n=this.el;this.toArray().forEach((function(t,i){var r=n.children[i];M(r,this.options.draggable,n,!1)&&(e[t]=r)}),this),t.forEach((function(t){e[t]&&(n.removeChild(e[t]),n.appendChild(e[t]))}))},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return M(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=nt.modifyOption(this,t,e);n[t]="undefined"!==typeof i?i:e,"group"===t&&Ut(n)},destroy:function(){rt("destroy",this);var t=this.el;t[K]=null,S(t,"mousedown",this._onTapStart),S(t,"touchstart",this._onTapStart),S(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(S(t,"dragover",this),S(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Dt.splice(Dt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!pt){if(rt("hideClone",this),Qt.eventCanceled)return;I(dt,"display","none"),this.options.removeCloneOnHide&&dt.parentNode&&dt.parentNode.removeChild(dt),pt=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(pt){if(rt("showClone",this),Qt.eventCanceled)return;ut.contains(at)&&!this.options.group.revertClone?ut.insertBefore(dt,at):ct?ut.insertBefore(dt,ct):ut.appendChild(dt),this.options.group.revertClone&&this.animate(at,dt),I(dt,"display",""),pt=!1}}else this._hideClone()}},Ft&&w(document,"touchmove",(function(t){(Qt.active||Pt)&&t.cancelable&&t.preventDefault()})),Qt.utils={on:w,off:S,css:I,find:E,is:function(t,e){return!!M(t,e,t,!1)},extend:q,throttle:H,closest:M,toggleClass:A,clone:U,index:N,nextTick:le,cancelNextTick:ue,detectDirection:Ht,getChild:R},Qt.get=function(t){return t[K]},Qt.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Qt.utils=a({},Qt.utils,t.utils)),nt.mount(t)}))},Qt.create=function(t,e){return new Qt(t,e)},Qt.version=p;var ce,he,de,pe,fe,ge,me=[],ve=!1;function ye(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"===typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?w(document,"dragover",this._handleAutoScroll):this.options.supportPointer?w(document,"pointermove",this._handleFallbackAutoScroll):e.touches?w(document,"touchmove",this._handleFallbackAutoScroll):w(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?S(document,"dragover",this._handleAutoScroll):(S(document,"pointermove",this._handleFallbackAutoScroll),S(document,"touchmove",this._handleFallbackAutoScroll),S(document,"mousemove",this._handleFallbackAutoScroll)),_e(),be(),G()},nulling:function(){fe=he=ce=ve=ge=de=pe=null,me.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(i,r);if(fe=t,e||m||g||y){we(t,this.options,o,e);var a=V(o,!0);!ve||ge&&i===de&&r===pe||(ge&&_e(),ge=setInterval((function(){var o=V(document.elementFromPoint(i,r),!0);o!==a&&(a=o,be()),we(t,n.options,o,e)}),10),de=i,pe=r)}else{if(!this.options.bubbleScroll||V(o,!0)===D())return void be();we(t,this.options,V(o,!1),!1)}}},o(t,{pluginName:"scroll",initializeByDefault:!0})}function be(){me.forEach((function(t){clearInterval(t.pid)})),me=[]}function _e(){clearInterval(ge)}var xe,we=H((function(t,e,n,i){if(e.scroll){var r,o=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=e.scrollSensitivity,l=e.scrollSpeed,u=D(),c=!1;he!==n&&(he=n,be(),ce=e.scroll,r=e.scrollFn,!0===ce&&(ce=V(n,!0)));var h=0,d=ce;do{var p=d,f=L(p),g=f.top,m=f.bottom,v=f.left,y=f.right,b=f.width,_=f.height,x=void 0,w=void 0,S=p.scrollWidth,C=p.scrollHeight,k=I(p),M=p.scrollLeft,O=p.scrollTop;p===u?(x=b<S&&("auto"===k.overflowX||"scroll"===k.overflowX||"visible"===k.overflowX),w=_<C&&("auto"===k.overflowY||"scroll"===k.overflowY||"visible"===k.overflowY)):(x=b<S&&("auto"===k.overflowX||"scroll"===k.overflowX),w=_<C&&("auto"===k.overflowY||"scroll"===k.overflowY));var T=x&&(Math.abs(y-o)<=s&&M+b<S)-(Math.abs(v-o)<=s&&!!M),A=w&&(Math.abs(m-a)<=s&&O+_<C)-(Math.abs(g-a)<=s&&!!O);if(!me[h])for(var P=0;P<=h;P++)me[P]||(me[P]={});me[h].vx==T&&me[h].vy==A&&me[h].el===p||(me[h].el=p,me[h].vx=T,me[h].vy=A,clearInterval(me[h].pid),0==T&&0==A||(c=!0,me[h].pid=setInterval(function(){i&&0===this.layer&&Qt.active._onTouchMove(fe);var e=me[this.layer].vy?me[this.layer].vy*l:0,n=me[this.layer].vx?me[this.layer].vx*l:0;"function"===typeof r&&"continue"!==r.call(Qt.dragged.parentNode[K],n,e,t,fe,me[this.layer].el)||W(me[this.layer].el,n,e)}.bind({layer:h}),24))),h++}while(e.bubbleScroll&&d!==u&&(d=V(d,!1)));ve=c}}),30),Se=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,r=t.activeSortable,o=t.dispatchSortableEvent,a=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(e){var l=n||r;a();var u=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,c=document.elementFromPoint(u.clientX,u.clientY);s(),l&&!l.el.contains(c)&&(o("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function Ce(){}function ke(){}function Me(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;xe=e},dragOverValid:function(t){var e=t.completed,n=t.target,i=t.onMove,r=t.activeSortable,o=t.changed,a=t.cancel;if(r.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var u=xe;!1!==i(n)?(A(n,l.swapClass,!0),xe=n):xe=null,u&&u!==xe&&A(u,l.swapClass,!1)}o(),e(!0),a()}},drop:function(t){var e=t.activeSortable,n=t.putSortable,i=t.dragEl,r=n||this.sortable,o=this.options;xe&&A(xe,o.swapClass,!1),xe&&(o.swap||n&&n.options.swap)&&i!==xe&&(r.captureAnimationState(),r!==e&&e.captureAnimationState(),Oe(i,xe),r.animateAll(),r!==e&&e.animateAll())},nulling:function(){xe=null}},o(t,{pluginName:"swap",eventProperties:function(){return{swapItem:xe}}})}function Oe(t,e){var n,i,r=t.parentNode,o=e.parentNode;r&&o&&!r.isEqualNode(e)&&!o.isEqualNode(t)&&(n=N(t),i=N(e),r.isEqualNode(o)&&n<i&&i++,r.insertBefore(e,r.children[n]),o.insertBefore(t,o.children[i]))}Ce.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=R(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:Se},o(Ce,{pluginName:"revertOnSpill"}),ke.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable,i=n||this.sortable;i.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),i.animateAll()},drop:Se},o(ke,{pluginName:"removeOnSpill"});var Te,Ae,Ie,Pe,Ee,De=[],Le=[],je=!1,Re=!1,Be=!1;function Ne(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"===typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?w(document,"pointerup",this._deselectMultiDrag):(w(document,"mouseup",this._deselectMultiDrag),w(document,"touchend",this._deselectMultiDrag)),w(document,"keydown",this._checkKeyDown),w(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(e,n){var i="";De.length&&Ae===t?De.forEach((function(t,e){i+=(e?", ":"")+t.textContent})):i=n.textContent,e.setData("Text",i)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;Ie=e},delayEnded:function(){this.isMultiDrag=~De.indexOf(Ie)},setupClone:function(t){var e=t.sortable,n=t.cancel;if(this.isMultiDrag){for(var i=0;i<De.length;i++)Le.push(U(De[i])),Le[i].sortableIndex=De[i].sortableIndex,Le[i].draggable=!1,Le[i].style["will-change"]="",A(Le[i],this.options.selectedClass,!1),De[i]===Ie&&A(Le[i],this.options.chosenClass,!1);e._hideClone(),n()}},clone:function(t){var e=t.sortable,n=t.rootEl,i=t.dispatchSortableEvent,r=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||De.length&&Ae===e&&(ze(!0,n),i("clone"),r()))},showClone:function(t){var e=t.cloneNowShown,n=t.rootEl,i=t.cancel;this.isMultiDrag&&(ze(!1,n),Le.forEach((function(t){I(t,"display","")})),e(),Ee=!1,i())},hideClone:function(t){var e=this,n=(t.sortable,t.cloneNowHidden),i=t.cancel;this.isMultiDrag&&(Le.forEach((function(t){I(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),n(),Ee=!0,i())},dragStartGlobal:function(t){t.sortable;!this.isMultiDrag&&Ae&&Ae.multiDrag._deselectMultiDrag(),De.forEach((function(t){t.sortableIndex=N(t)})),De=De.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),Be=!0},dragStarted:function(t){var e=this,n=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){De.forEach((function(t){t!==Ie&&I(t,"position","absolute")}));var i=L(Ie,!1,!0,!0);De.forEach((function(t){t!==Ie&&Y(t,i)})),Re=!0,je=!0}n.animateAll((function(){Re=!1,je=!1,e.options.animation&&De.forEach((function(t){X(t)})),e.options.sort&&Ve()}))}},dragOver:function(t){var e=t.target,n=t.completed,i=t.cancel;Re&&~De.indexOf(e)&&(n(!1),i())},revert:function(t){var e=t.fromSortable,n=t.rootEl,i=t.sortable,r=t.dragRect;De.length>1&&(De.forEach((function(t){i.addAnimationState({target:t,rect:Re?L(t):r}),X(t),t.fromRect=r,e.removeAnimationState(t)})),Re=!1,Fe(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,i=t.insertion,r=t.activeSortable,o=t.parentEl,a=t.putSortable,s=this.options;if(i){if(n&&r._hideClone(),je=!1,s.animation&&De.length>1&&(Re||!n&&!r.options.sort&&!a)){var l=L(Ie,!1,!0,!0);De.forEach((function(t){t!==Ie&&(Y(t,l),o.appendChild(t))})),Re=!0}if(!n)if(Re||Ve(),De.length>1){var u=Ee;r._showClone(e),r.options.animation&&!Ee&&u&&Le.forEach((function(t){r.addAnimationState({target:t,rect:Pe}),t.fromRect=Pe,t.thisAnimationDuration=null}))}else r._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,i=t.activeSortable;if(De.forEach((function(t){t.thisAnimationDuration=null})),i.options.animation&&!n&&i.multiDrag.isMultiDrag){Pe=o({},e);var r=P(Ie,!0);Pe.top-=r.f,Pe.left-=r.e}},dragOverAnimationComplete:function(){Re&&(Re=!1,Ve())},drop:function(t){var e=t.originalEvent,n=t.rootEl,i=t.parentEl,r=t.sortable,o=t.dispatchSortableEvent,a=t.oldIndex,s=t.putSortable,l=s||this.sortable;if(e){var u=this.options,c=i.children;if(!Be)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),A(Ie,u.selectedClass,!~De.indexOf(Ie)),~De.indexOf(Ie))De.splice(De.indexOf(Ie),1),Te=null,it({sortable:r,rootEl:n,name:"deselect",targetEl:Ie,originalEvt:e});else{if(De.push(Ie),it({sortable:r,rootEl:n,name:"select",targetEl:Ie,originalEvt:e}),e.shiftKey&&Te&&r.el.contains(Te)){var h,d,p=N(Te),f=N(Ie);if(~p&&~f&&p!==f)for(f>p?(d=p,h=f):(d=f,h=p+1);d<h;d++)~De.indexOf(c[d])||(A(c[d],u.selectedClass,!0),De.push(c[d]),it({sortable:r,rootEl:n,name:"select",targetEl:c[d],originalEvt:e}))}else Te=Ie;Ae=l}if(Be&&this.isMultiDrag){if((i[K].options.sort||i!==n)&&De.length>1){var g=L(Ie),m=N(Ie,":not(."+this.options.selectedClass+")");if(!je&&u.animation&&(Ie.thisAnimationDuration=null),l.captureAnimationState(),!je&&(u.animation&&(Ie.fromRect=g,De.forEach((function(t){if(t.thisAnimationDuration=null,t!==Ie){var e=Re?L(t):g;t.fromRect=e,l.addAnimationState({target:t,rect:e})}}))),Ve(),De.forEach((function(t){c[m]?i.insertBefore(t,c[m]):i.appendChild(t),m++})),a===N(Ie))){var v=!1;De.forEach((function(t){t.sortableIndex===N(t)||(v=!0)})),v&&o("update")}De.forEach((function(t){X(t)})),l.animateAll()}Ae=l}(n===i||s&&"clone"!==s.lastPutMode)&&Le.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Be=!1,Le.length=0},destroyGlobal:function(){this._deselectMultiDrag(),S(document,"pointerup",this._deselectMultiDrag),S(document,"mouseup",this._deselectMultiDrag),S(document,"touchend",this._deselectMultiDrag),S(document,"keydown",this._checkKeyDown),S(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(("undefined"===typeof Be||!Be)&&Ae===this.sortable&&(!t||!M(t.target,this.options.draggable,this.sortable.el,!1))&&(!t||0===t.button))while(De.length){var e=De[0];A(e,this.options.selectedClass,!1),De.shift(),it({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[K];e&&e.options.multiDrag&&!~De.indexOf(t)&&(Ae&&Ae!==e&&(Ae.multiDrag._deselectMultiDrag(),Ae=e),A(t,e.options.selectedClass,!0),De.push(t))},deselect:function(t){var e=t.parentNode[K],n=De.indexOf(t);e&&e.options.multiDrag&&~n&&(A(t,e.options.selectedClass,!1),De.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return De.forEach((function(i){var r;e.push({multiDragElement:i,index:i.sortableIndex}),r=Re&&i!==Ie?-1:Re?N(i,":not(."+t.options.selectedClass+")"):N(i),n.push({multiDragElement:i,index:r})})),{items:u(De),clones:[].concat(Le),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return t=t.toLowerCase(),"ctrl"===t?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function Fe(t,e){De.forEach((function(n,i){var r=e.children[n.sortableIndex+(t?Number(i):0)];r?e.insertBefore(n,r):e.appendChild(n)}))}function ze(t,e){Le.forEach((function(n,i){var r=e.children[n.sortableIndex+(t?Number(i):0)];r?e.insertBefore(n,r):e.appendChild(n)}))}function Ve(){De.forEach((function(t){t!==Ie&&t.parentNode&&t.parentNode.removeChild(t)}))}Qt.mount(new ye),Qt.mount(ke,Ce),e["default"]=Qt},aa63:function(t,e,n){const i=n("7bf0"),r=n("7a43"),o=n("7ba0"),a=n("577e4"),s=n("d6c0"),l=n("924f"),u=n("7903"),c=n("34fc"),h=n("8d23"),d=n("c8aa"),p=n("9582"),f=n("bbf0"),g=n("befa");function m(t,e){const n=t.size,i=l.getPositions(e);for(let r=0;r<i.length;r++){const e=i[r][0],o=i[r][1];for(let i=-1;i<=7;i++)if(!(e+i<=-1||n<=e+i))for(let r=-1;r<=7;r++)o+r<=-1||n<=o+r||(i>=0&&i<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===i||6===i)||i>=2&&i<=4&&r>=2&&r<=4?t.set(e+i,o+r,!0,!0):t.set(e+i,o+r,!1,!0))}}function v(t){const e=t.size;for(let n=8;n<e-8;n++){const e=n%2===0;t.set(n,6,e,!0),t.set(6,n,e,!0)}}function y(t,e){const n=s.getPositions(e);for(let i=0;i<n.length;i++){const e=n[i][0],r=n[i][1];for(let n=-2;n<=2;n++)for(let i=-2;i<=2;i++)-2===n||2===n||-2===i||2===i||0===n&&0===i?t.set(e+n,r+i,!0,!0):t.set(e+n,r+i,!1,!0)}}function b(t,e){const n=t.size,i=d.getEncodedBits(e);let r,o,a;for(let s=0;s<18;s++)r=Math.floor(s/3),o=s%3+n-8-3,a=1===(i>>s&1),t.set(r,o,a,!0),t.set(o,r,a,!0)}function _(t,e,n){const i=t.size,r=p.getEncodedBits(e,n);let o,a;for(o=0;o<15;o++)a=1===(r>>o&1),o<6?t.set(o,8,a,!0):o<8?t.set(o+1,8,a,!0):t.set(i-15+o,8,a,!0),o<8?t.set(8,i-o-1,a,!0):o<9?t.set(8,15-o-1+1,a,!0):t.set(8,15-o-1,a,!0);t.set(i-8,8,1,!0)}function x(t,e){const n=t.size;let i=-1,r=n-1,o=7,a=0;for(let s=n-1;s>0;s-=2){6===s&&s--;while(1){for(let n=0;n<2;n++)if(!t.isReserved(r,s-n)){let i=!1;a<e.length&&(i=1===(e[a]>>>o&1)),t.set(r,s-n,i),o--,-1===o&&(a++,o=7)}if(r+=i,r<0||n<=r){r-=i,i=-i;break}}}}function w(t,e,n){const r=new o;n.forEach((function(e){r.put(e.mode.bit,4),r.put(e.getLength(),f.getCharCountIndicator(e.mode,t)),e.write(r)}));const a=i.getSymbolTotalCodewords(t),s=c.getTotalCodewordsCount(t,e),l=8*(a-s);r.getLengthInBits()+4<=l&&r.put(0,4);while(r.getLengthInBits()%8!==0)r.putBit(0);const u=(l-r.getLengthInBits())/8;for(let i=0;i<u;i++)r.put(i%2?17:236,8);return S(r,t,e)}function S(t,e,n){const r=i.getSymbolTotalCodewords(e),o=c.getTotalCodewordsCount(e,n),a=r-o,s=c.getBlocksCount(e,n),l=r%s,u=s-l,d=Math.floor(r/s),p=Math.floor(a/s),f=p+1,g=d-p,m=new h(g);let v=0;const y=new Array(s),b=new Array(s);let _=0;const x=new Uint8Array(t.buffer);for(let i=0;i<s;i++){const t=i<u?p:f;y[i]=x.slice(v,v+t),b[i]=m.encode(y[i]),v+=t,_=Math.max(_,t)}const w=new Uint8Array(r);let S,C,k=0;for(S=0;S<_;S++)for(C=0;C<s;C++)S<y[C].length&&(w[k++]=y[C][S]);for(S=0;S<g;S++)for(C=0;C<s;C++)w[k++]=b[C][S];return w}function C(t,e,n,r){let o;if(Array.isArray(t))o=g.fromArray(t);else{if("string"!==typeof t)throw new Error("Invalid data");{let i=e;if(!i){const e=g.rawSplit(t);i=d.getBestVersionForData(e,n)}o=g.fromString(t,i||40)}}const s=d.getBestVersionForData(o,n);if(!s)throw new Error("The amount of data is too big to be stored in a QR Code");if(e){if(e<s)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+s+".\n")}else e=s;const l=w(e,n,o),c=i.getSymbolSize(e),h=new a(c);return m(h,e),v(h),y(h,e),_(h,n,0),e>=7&&b(h,e),x(h,l),isNaN(r)&&(r=u.getBestMask(h,_.bind(null,h,n))),u.applyMask(r,h),_(h,n,r),{modules:h,version:e,errorCorrectionLevel:n,maskPattern:r,segments:o}}e.create=function(t,e){if("undefined"===typeof t||""===t)throw new Error("No input text");let n,o,a=r.M;return"undefined"!==typeof e&&(a=r.from(e.errorCorrectionLevel,r.M),n=d.from(e.version),o=u.from(e.maskPattern),e.toSJISFunc&&i.setToSJISFunction(e.toSJISFunc)),C(t,n,a,o)}},aab3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("5261"),r=s(i),o=n("ca32"),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t){var e={};for(var n in a.default)a.default.hasOwnProperty(n)&&(t.hasAttribute("jsbarcode-"+n.toLowerCase())&&(e[n]=t.getAttribute("jsbarcode-"+n.toLowerCase())),t.hasAttribute("data-"+n.toLowerCase())&&(e[n]=t.getAttribute("data-"+n.toLowerCase())));return e["value"]=t.getAttribute("jsbarcode-value")||t.getAttribute("data-value"),e=(0,r.default)(e),e}e.default=l},ab36:function(t,e,n){var i=n("861d"),r=n("9112");t.exports=function(t,e){i(e)&&"cause"in e&&r(t,"cause",e.cause)}},ab41:function(t,e,n){"use strict";n.d(e,"d",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return p}));n("caad");var i=n("0831"),r=n("0967");let o,a;function s(t){const e=t.split(" ");return 2===e.length&&(!0!==["top","center","bottom"].includes(e[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(e[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function l(t){return!t||2===t.length&&("number"===typeof t[0]&&"number"===typeof t[1])}const u={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function c(t,e){const n=t.split(" ");return{vertical:n[0],horizontal:u[`${n[1]}#${!0===e?"rtl":"ltr"}`]}}function h(t,e){let{top:n,left:i,right:r,bottom:o,width:a,height:s}=t.getBoundingClientRect();return void 0!==e&&(n-=e[1],i-=e[0],o+=e[1],r+=e[0],a+=e[0],s+=e[1]),{top:n,left:i,right:r,bottom:o,width:a,height:s,middle:i+(r-i)/2,center:n+(o-n)/2}}function d(t){return{top:0,center:t.offsetHeight/2,bottom:t.offsetHeight,left:0,middle:t.offsetWidth/2,right:t.offsetWidth}}function p(t){if(!0===r["a"].is.ios&&void 0!==window.visualViewport){const t=document.body.style,{offsetLeft:e,offsetTop:n}=window.visualViewport;e!==o&&(t.setProperty("--q-pe-left",e+"px"),o=e),n!==a&&(t.setProperty("--q-pe-top",n+"px"),a=n)}let e;const{scrollLeft:n,scrollTop:i}=t.el;if(void 0===t.absoluteOffset)e=h(t.anchorEl,!0===t.cover?[0,0]:t.offset);else{const{top:n,left:i}=t.anchorEl.getBoundingClientRect(),r=n+t.absoluteOffset.top,o=i+t.absoluteOffset.left;e={top:r,left:o,width:1,height:1,right:o+1,center:r,middle:o,bottom:r+1}}let s={maxHeight:t.maxHeight,maxWidth:t.maxWidth,visibility:"visible"};!0!==t.fit&&!0!==t.cover||(s.minWidth=e.width+"px",!0===t.cover&&(s.minHeight=e.height+"px")),Object.assign(t.el.style,s);const l=d(t.el),u={top:e[t.anchorOrigin.vertical]-l[t.selfOrigin.vertical],left:e[t.anchorOrigin.horizontal]-l[t.selfOrigin.horizontal]};f(u,e,l,t.anchorOrigin,t.selfOrigin),s={top:u.top+"px",left:u.left+"px"},void 0!==u.maxHeight&&(s.maxHeight=u.maxHeight+"px",e.height>u.maxHeight&&(s.minHeight=s.maxHeight)),void 0!==u.maxWidth&&(s.maxWidth=u.maxWidth+"px",e.width>u.maxWidth&&(s.minWidth=s.maxWidth)),Object.assign(t.el.style,s),t.el.scrollTop!==i&&(t.el.scrollTop=i),t.el.scrollLeft!==n&&(t.el.scrollLeft=n)}function f(t,e,n,r,o){const a=n.bottom,s=n.right,l=Object(i["e"])(),u=window.innerHeight-l,c=document.body.clientWidth;if(t.top<0||t.top+a>u)if("center"===o.vertical)t.top=e[r.vertical]>u/2?Math.max(0,u-a):0,t.maxHeight=Math.min(a,u);else if(e[r.vertical]>u/2){const n=Math.min(u,"center"===r.vertical?e.center:r.vertical===o.vertical?e.bottom:e.top);t.maxHeight=Math.min(a,n),t.top=Math.max(0,n-a)}else t.top=Math.max(0,"center"===r.vertical?e.center:r.vertical===o.vertical?e.top:e.bottom),t.maxHeight=Math.min(a,u-t.top);if(t.left<0||t.left+s>c)if(t.maxWidth=Math.min(s,c),"middle"===o.horizontal)t.left=e[r.horizontal]>c/2?Math.max(0,c-s):0;else if(e[r.horizontal]>c/2){const n=Math.min(c,"middle"===r.horizontal?e.middle:r.horizontal===o.horizontal?e.right:e.left);t.maxWidth=Math.min(s,n),t.left=Math.max(0,n-t.maxWidth)}else t.left=Math.max(0,"middle"===r.horizontal?e.middle:r.horizontal===o.horizontal?e.left:e.right),t.maxWidth=Math.min(s,c-t.left)}["left","middle","right"].forEach((t=>{u[`${t}#ltr`]=t,u[`${t}#rtl`]=t}))},ab5b:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var i=n("fd7c"),r=o(i);function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function s(t,e,n){if(n.displayValue&&e<t){if("center"==n.textAlign)return Math.floor((t-e)/2);if("left"==n.textAlign)return 0;if("right"==n.textAlign)return Math.floor(t-e)}return 0}function l(t,e,n){for(var i=0;i<t.length;i++){var o,l=t[i],u=(0,r.default)(e,l.options);o=u.displayValue?h(l.text,u,n):0;var c=l.data.length*u.width;l.width=Math.ceil(Math.max(o,c)),l.height=a(l,u),l.barcodePadding=s(o,c,u)}}function u(t){for(var e=0,n=0;n<t.length;n++)e+=t[n].width;return e}function c(t){for(var e=0,n=0;n<t.length;n++)t[n].height>e&&(e=t[n].height);return e}function h(t,e,n){var i;if(n)i=n;else{if("undefined"===typeof document)return 0;i=document.createElement("canvas").getContext("2d")}i.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var r=i.measureText(t).width;return r}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=a,e.getBarcodePadding=s,e.calculateEncodingAttributes=l,e.getTotalWidthOfEncodings=u},ac1f:function(t,e,n){"use strict";var i=n("23e7"),r=n("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ad6d:function(t,e,n){"use strict";var i=n("825a");t.exports=function(){var t=i(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},adad:function(t,e,n){"use strict";var i=n("2b0e"),r=n("b7fa"),o=n("ae22");e["a"]=i["a"].extend({name:"QTabPanels",mixins:[r["a"],o["b"]],computed:{classes(){return"q-tab-panels q-panel-parent"+(!0===this.isDark?" q-tab-panels--dark q-dark":"")}},methods:{__renderPanels(t){return t("div",{class:this.classes,directives:this.panelDirectives,on:{...this.qListeners}},this.__getPanelContent(t))}}})},addb:function(t,e,n){var i=n("4dae"),r=Math.floor,o=function(t,e){var n=t.length,l=r(n/2);return n<8?a(t,e):s(t,o(i(t,0,l),e),o(i(t,l),e),e)},a=function(t,e){var n,i,r=t.length,o=1;while(o<r){i=o,n=t[o];while(i&&e(t[i-1],n)>0)t[i]=t[--i];i!==o++&&(t[i]=n)}return t},s=function(t,e,n,i){var r=e.length,o=n.length,a=0,s=0;while(a<r||s<o)t[a+s]=a<r&&s<o?i(e[a],n[s])<=0?e[a++]:n[s++]:a<r?e[a++]:n[s++];return t};t.exports=o},ae22:function(t,e,n){"use strict";n.d(e,"b",(function(){return m})),n.d(e,"a",(function(){return v}));var i=n("2b0e"),r=n("0967"),o=n("3627"),a=n("d882"),s=n("2248");function l(t){const e=[.06,6,50];return"string"===typeof t&&t.length&&t.split(":").forEach(((t,n)=>{const i=parseFloat(t);i&&(e[n]=i)})),e}function u(t){const e=t.__qtouchswipe;void 0!==e&&(Object(a["b"])(e,"main"),Object(a["b"])(e,"temp"),!0===r["a"].is.firefox&&Object(a["j"])(t,!1),void 0!==e.styleCleanup&&e.styleCleanup(),delete t.__qtouchswipe)}var c={name:"touch-swipe",bind(t,{value:e,arg:n,modifiers:i}){if(void 0!==t.__qtouchswipe&&(u(t),t.__qtouchswipe_destroyed=!0),!0!==i.mouse&&!0!==r["a"].has.touch)return;const c=!0===i.mouseCapture?"Capture":"",h={handler:e,sensitivity:l(n),modifiers:i,direction:Object(o["a"])(i),noop:a["g"],mouseStart(t){Object(o["b"])(t,h)&&Object(a["e"])(t)&&(Object(a["a"])(h,"temp",[[document,"mousemove","move",`notPassive${c}`],[document,"mouseup","end","notPassiveCapture"]]),h.start(t,!0))},touchStart(t){if(Object(o["b"])(t,h)){const e=t.target;Object(a["a"])(h,"temp",[[e,"touchmove","move","notPassiveCapture"],[e,"touchcancel","end","notPassiveCapture"],[e,"touchend","end","notPassiveCapture"]]),h.start(t)}},start(e,n){!0===r["a"].is.firefox&&Object(a["j"])(t,!0);const i=Object(a["h"])(e);h.event={x:i.left,y:i.top,time:Date.now(),mouse:!0===n,dir:!1}},move(t){if(void 0===h.event)return;if(!1!==h.event.dir)return void Object(a["l"])(t);const e=Date.now()-h.event.time;if(0===e)return;const n=Object(a["h"])(t),i=n.left-h.event.x,r=Math.abs(i),o=n.top-h.event.y,l=Math.abs(o);if(!0!==h.event.mouse){if(r<h.sensitivity[1]&&l<h.sensitivity[1])return void h.end(t)}else if(r<h.sensitivity[2]&&l<h.sensitivity[2])return;const u=r/e,c=l/e;!0===h.direction.vertical&&r<l&&r<100&&c>h.sensitivity[0]&&(h.event.dir=o<0?"up":"down"),!0===h.direction.horizontal&&r>l&&l<100&&u>h.sensitivity[0]&&(h.event.dir=i<0?"left":"right"),!0===h.direction.up&&r<l&&o<0&&r<100&&c>h.sensitivity[0]&&(h.event.dir="up"),!0===h.direction.down&&r<l&&o>0&&r<100&&c>h.sensitivity[0]&&(h.event.dir="down"),!0===h.direction.left&&r>l&&i<0&&l<100&&u>h.sensitivity[0]&&(h.event.dir="left"),!0===h.direction.right&&r>l&&i>0&&l<100&&u>h.sensitivity[0]&&(h.event.dir="right"),!1!==h.event.dir?(Object(a["l"])(t),!0===h.event.mouse&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Object(s["a"])(),h.styleCleanup=t=>{h.styleCleanup=void 0,document.body.classList.remove("non-selectable");const e=()=>{document.body.classList.remove("no-pointer-events--children")};!0===t?setTimeout(e,50):e()}),h.handler({evt:t,touch:!0!==h.event.mouse,mouse:h.event.mouse,direction:h.event.dir,duration:e,distance:{x:r,y:l}})):h.end(t)},end(e){void 0!==h.event&&(Object(a["b"])(h,"temp"),!0===r["a"].is.firefox&&Object(a["j"])(t,!1),void 0!==h.styleCleanup&&h.styleCleanup(!0),void 0!==e&&!1!==h.event.dir&&Object(a["l"])(e),h.event=void 0)}};t.__qtouchswipe=h,!0===i.mouse&&Object(a["a"])(h,"main",[[t,"mousedown","mouseStart",`passive${c}`]]),!0===r["a"].has.touch&&Object(a["a"])(h,"main",[[t,"touchstart","touchStart","passive"+(!0===i.capture?"Capture":"")],[t,"touchmove","noop","notPassiveCapture"]])},update(t,{oldValue:e,value:n}){const i=t.__qtouchswipe;void 0!==i&&e!==n&&("function"!==typeof n&&i.end(),i.handler=n)},unbind(t){void 0===t.__qtouchswipe_destroyed?u(t):delete t.__qtouchswipe_destroyed}},h=n("87e8"),d=n("dde5"),p=n("0cd3");function f(t){return t("div",{staticClass:"q-panel scroll",attrs:{role:"tabpanel"},on:Object(p["b"])(this,"stop",{input:a["k"]})},Object(d["c"])(this,"default"))}const g=i["a"].extend({render:f}),m={mixins:[h["a"]],directives:{TouchSwipe:c},props:{value:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},data(){return{panelIndex:null,panelTransition:null}},computed:{panelDirectives(){if(!0===this.swipeable)return[{name:"touch-swipe",value:this.__swipe,modifiers:{horizontal:!0!==this.vertical,vertical:this.vertical,mouse:!0}}]},contentKey(){return"string"===typeof this.value||"number"===typeof this.value?this.value:String(this.value)},transitionPrevComputed(){return this.transitionPrev||"slide-"+(!0===this.vertical?"down":"right")},transitionNextComputed(){return this.transitionNext||"slide-"+(!0===this.vertical?"up":"left")},keepAliveProps(){return{include:this.keepAliveInclude,exclude:this.keepAliveExclude,max:this.keepAliveMax}},needsUniqueWrapper(){return void 0!==this.keepAliveInclude||void 0!==this.keepAliveExclude}},watch:{value(t,e){const n=!0===this.__isValidPanelName(t)?this.__getPanelIndex(t):-1;!0!==this.__forcedPanelTransition&&this.__updatePanelTransition(-1===n?0:n<this.__getPanelIndex(e)?-1:1),this.panelIndex!==n&&(this.panelIndex=n,this.$emit("before-transition",t,e),this.$nextTick((()=>{this.$emit("transition",t,e)})))}},methods:{next(){this.__go(1)},previous(){this.__go(-1)},goTo(t){this.$emit("input",t)},__isValidPanelName(t){return void 0!==t&&null!==t&&""!==t},__getPanelIndex(t){return this.panels.findIndex((e=>{const n=e.componentOptions.propsData;return n.name===t&&""!==n.disable&&!0!==n.disable}))},__getEnabledPanels(){return this.panels.filter((t=>{const e=t.componentOptions.propsData;return""!==e.disable&&!0!==e.disable}))},__updatePanelTransition(t){const e=0!==t&&!0===this.animated&&-1!==this.panelIndex?"q-transition--"+(-1===t?this.transitionPrevComputed:this.transitionNextComputed):null;this.panelTransition!==e&&(this.panelTransition=e)},__go(t,e=this.panelIndex){let n=e+t;const i=this.panels;while(n>-1&&n<i.length){const e=i[n].componentOptions;if(void 0!==e&&""!==e.propsData.disable&&!0!==e.propsData.disable)return this.__updatePanelTransition(t),this.__forcedPanelTransition=!0,this.$emit("input",i[n].componentOptions.propsData.name),void setTimeout((()=>{this.__forcedPanelTransition=!1}));n+=t}!0===this.infinite&&i.length>0&&-1!==e&&e!==i.length&&this.__go(t,-1===t?i.length:-1)},__swipe(t){const e=!0===this.vertical?"up":"left";this.__go((!0===this.$q.lang.rtl?-1:1)*(t.direction===e?1:-1))},__updatePanelIndex(){const t=this.__getPanelIndex(this.value);return this.panelIndex!==t&&(this.panelIndex=t),!0},__getPanelContent(t){if(0===this.panels.length)return;const e=this.__isValidPanelName(this.value)&&this.__updatePanelIndex()&&this.panels[this.panelIndex],n=!0===this.keepAlive?[t("keep-alive",{props:this.keepAliveProps},[t(!0===this.needsUniqueWrapper?Object(p["a"])(this,this.contentKey,(()=>i["a"].extend({name:this.contentKey,render:f}))):g,{key:this.contentKey},[e])])]:[t("div",{staticClass:"q-panel scroll",key:this.contentKey,attrs:{role:"tabpanel"},on:Object(p["b"])(this,"stop",{input:a["k"]})},[e])];return!0===this.animated?[t("transition",{props:{name:this.panelTransition}},n)]:n}},render(t){return this.panels=Object(d["c"])(this,"default",[]).filter((t=>void 0!==t&&void 0!==t.componentOptions&&void 0!==t.componentOptions.propsData&&this.__isValidPanelName(t.componentOptions.propsData.name))),this.__renderPanels(t)}},v={mixins:[h["a"]],props:{name:{required:!0},disable:Boolean}}},ae93:function(t,e,n){"use strict";var i,r,o,a=n("d039"),s=n("1626"),l=n("7c73"),u=n("e163"),c=n("cb2d"),h=n("b622"),d=n("c430"),p=h("iterator"),f=!1;[].keys&&(o=[].keys(),"next"in o?(r=u(u(o)),r!==Object.prototype&&(i=r)):f=!0);var g=void 0==i||a((function(){var t={};return i[p].call(t)!==t}));g?i={}:d&&(i=l(i)),s(i[p])||c(i,p,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:f}},aeb0:function(t,e,n){var i=n("9bf2").f;t.exports=function(t,e,n){n in t||i(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},aed9:function(t,e,n){var i=n("83ab"),r=n("d039");t.exports=i&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b05d:function(t,e,n){"use strict";var i=n("81e7"),r=n("c0a8"),o=n("ec5d"),a=n("9071");n("caad");const s={mounted(){i["c"].takeover.forEach((t=>{t(this.$q)}))}};var l=function(t){if(t.ssr){const e={...i["a"],ssrContext:t.ssr};Object.assign(t.ssr,{Q_HEAD_TAGS:"",Q_BODY_ATTRS:"",Q_BODY_TAGS:""}),t.app.$q=t.ssr.$q=e,i["c"].server.forEach((n=>{n(e,t)}))}else{const e=t.app.mixins||[];!1===e.includes(s)&&(t.app.mixins=e.concat(s))}};e["a"]={version:r["a"],install:i["b"],lang:o["a"],iconSet:a["a"],ssrUpdate:l}},b06b:function(t,e,n){"use strict";var i=n("2b0e"),r=n("0967"),o=n("d882");function a(t){const e=Object.assign({noopener:!0},t),n=[];return Object.keys(e).forEach((t=>{!0===e[t]&&n.push(t)})),n.join(",")}function s(t,e,n){let o=window.open;if(!0===r["b"].is.cordova){if(void 0!==cordova&&void 0!==cordova.InAppBrowser&&void 0!==cordova.InAppBrowser.open)o=cordova.InAppBrowser.open;else if(void 0!==navigator&&void 0!==navigator.app)return navigator.app.loadUrl(t,{openExternal:!0})}else if(void 0!==i["a"].prototype.$q.electron)return i["a"].prototype.$q.electron.shell.openExternal(t);const s=o(t,"_blank",a(n));if(s)return r["b"].is.desktop&&s.focus(),s;e&&e()}e["a"]=(t,e,n)=>{if(!0!==r["b"].is.ios||void 0===window.SafariViewController)return s(t,e,n);window.SafariViewController.isAvailable((i=>{i?window.SafariViewController.show({url:t},o["g"],e):s(t,e,n)}))}},b1d8:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=n("aab3"),o=u(r),a=n("752b"),s=u(a),l=n("dca2");function u(t){return t&&t.__esModule?t:{default:t}}function c(t){if("string"===typeof t)return h(t);if(Array.isArray(t)){for(var e=[],n=0;n<t.length;n++)e.push(c(t[n]));return e}if("undefined"!==typeof HTMLCanvasElement&&t instanceof HTMLImageElement)return d(t);if(t&&"svg"===t.nodeName||"undefined"!==typeof SVGElement&&t instanceof SVGElement)return{element:t,options:(0,o.default)(t),renderer:s.default.SVGRenderer};if("undefined"!==typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement)return{element:t,options:(0,o.default)(t),renderer:s.default.CanvasRenderer};if(t&&t.getContext)return{element:t,renderer:s.default.CanvasRenderer};if(t&&"object"===("undefined"===typeof t?"undefined":i(t))&&!t.nodeName)return{element:t,renderer:s.default.ObjectRenderer};throw new l.InvalidElementException}function h(t){var e=document.querySelectorAll(t);if(0!==e.length){for(var n=[],i=0;i<e.length;i++)n.push(c(e[i]));return n}}function d(t){var e=document.createElement("canvas");return{element:e,options:(0,o.default)(t),renderer:s.default.CanvasRenderer,afterRender:function(){t.setAttribute("src",e.toDataURL())}}}e.default=c},b42e:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?i:n)(e)}},b50d:function(t,e,n){"use strict";var i=n("c532"),r=n("467f"),o=n("7aac"),a=n("30b5"),s=n("83b9"),l=n("c345"),u=n("3934"),c=n("2d83");t.exports=function(t){return new Promise((function(e,n){var h=t.data,d=t.headers,p=t.responseType;i.isFormData(h)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";d.Authorization="Basic "+btoa(g+":"+m)}var v=s(t.baseURL,t.url);function y(){if(f){var i="getAllResponseHeaders"in f?l(f.getAllResponseHeaders()):null,o=p&&"text"!==p&&"json"!==p?f.response:f.responseText,a={data:o,status:f.status,statusText:f.statusText,headers:i,config:t,request:f};r(e,n,a),f=null}}if(f.open(t.method.toUpperCase(),a(v,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,"onloadend"in f?f.onloadend=y:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(y)},f.onabort=function(){f&&(n(c("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){n(c("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(c(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},i.isStandardBrowserEnv()){var b=(t.withCredentials||u(v))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;b&&(d[t.xsrfHeaderName]=b)}"setRequestHeader"in f&&i.forEach(d,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete d[e]:f.setRequestHeader(e,t)})),i.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),p&&"json"!==p&&(f.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){f&&(f.abort(),n(t),f=null)})),h||(h=null),f.send(h)}))}},b622:function(t,e,n){var i=n("da84"),r=n("5692"),o=n("1a2d"),a=n("90e3"),s=n("4930"),l=n("fdbf"),u=r("wks"),c=i.Symbol,h=c&&c["for"],d=l?c:c&&c.withoutSetter||a;t.exports=function(t){if(!o(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&o(c,t)?u[t]=c[t]:u[t]=l&&h?h(e):d(e)}return u[t]}},b727:function(t,e,n){var i=n("0366"),r=n("e330"),o=n("44ad"),a=n("7b0b"),s=n("07fa"),l=n("65f0"),u=r([].push),c=function(t){var e=1==t,n=2==t,r=3==t,c=4==t,h=6==t,d=7==t,p=5==t||h;return function(f,g,m,v){for(var y,b,_=a(f),x=o(_),w=i(g,m),S=s(x),C=0,k=v||l,M=e?k(f,S):n||d?k(f,0):void 0;S>C;C++)if((p||C in x)&&(y=x[C],b=w(y,C,_),t))if(e)M[C]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return C;case 2:u(M,y)}else switch(t){case 4:return!1;case 7:u(M,y)}return h?-1:r||c?c:M}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},b76a:function(t,e,n){(function(e,i){t.exports=i(n("aa47"))})("undefined"!==typeof self&&self,(function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"01f9":function(t,e,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),l=n("41a0"),u=n("7f20"),c=n("38fd"),h=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",f="keys",g="values",m=function(){return this};t.exports=function(t,e,n,v,y,b,_){l(n,e,v);var x,w,S,C=function(t){if(!d&&t in T)return T[t];switch(t){case f:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",M=y==g,O=!1,T=t.prototype,A=T[h]||T[p]||y&&T[y],I=A||C(y),P=y?M?C("entries"):I:void 0,E="Array"==e&&T.entries||A;if(E&&(S=c(E.call(new t)),S!==Object.prototype&&S.next&&(u(S,k,!0),i||"function"==typeof S[h]||a(S,h,m))),M&&A&&A.name!==g&&(O=!0,I=function(){return A.call(this)}),i&&!_||!d&&!O&&T[h]||a(T,h,I),s[e]=I,s[k]=m,y)if(x={values:M?I:C(g),keys:b?I:C(f),entries:P},_)for(w in x)w in T||o(T,w,x[w]);else r(r.P+r.F*(d||O),e,x);return x}},"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var o,a,s=String(r(e)),l=i(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,a=o(e),s=a.length,l=0;while(s>l)i.f(t,n=a[l++],e[n]);return t}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),l=n("520a"),u=s("species"),c=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var d=s(t),p=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),f=p?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[d](""),!e})):void 0;if(!p||!f||"replace"===t&&!c||"split"===t&&!h){var g=/./[d],m=n(a,d,""[t],(function(t,e,n,i,r){return e.exec===l?p&&!r?{done:!0,value:g.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),v=m[0],y=m[1];i(String.prototype,t,v),r(RegExp.prototype,d,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),r))?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),l="toString",u=(""+s).split(l);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var l="function"==typeof n;l&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(l&&(o(n,a)||r(n,a,t[e]?""+t[e]:u.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(t,e,n){var i=n("cb7c"),r=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,e=n("230e")("iframe"),i=o.length,r="<",a=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+a+"document.F=Object"+r+"/script"+a),t.close(),u=t.F;while(i--)delete u[l][o[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=i(t),n=new s,s[l]=null,n[a]=t):n=u(),void 0===e?n:r(n,e)}},"2b4c":function(t,e,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))};s.store=i},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d2c8"),o="includes";i(i.P+i.F*n("5147")(o),"String",{includes:function(t){return!!~r(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,n){var i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},"456d":function(t,e,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",(function(){return function(t){return r(i(t))}}))},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},5147:function(t,e,n){var i=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(r){}}return!0}},"520a":function(t,e,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,o=String.prototype.replace,a=r,s="lastIndex",l=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[s]||0!==e[s]}(),u=void 0!==/()??/.exec("")[1],c=l||u;c&&(a=function(t){var e,n,a,c,h=this;return u&&(n=new RegExp("^"+h.source+"$(?!\\s)",i.call(h))),l&&(e=h[s]),a=r.call(h,t),l&&a&&(h[s]=h.global?a.index+a[0].length:e),u&&a&&a.length>1&&o.call(a[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(a[c]=void 0)})),a}),t.exports=a},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var i=n("8378"),r=n("7726"),o="__core-js_shared__",a=r[o]||(r[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),l="prototype",u=function(t,e,n){var c,h,d,p,f=t&u.F,g=t&u.G,m=t&u.S,v=t&u.P,y=t&u.B,b=g?i:m?i[e]||(i[e]={}):(i[e]||{})[l],_=g?r:r[e]||(r[e]={}),x=_[l]||(_[l]={});for(c in g&&(n=e),n)h=!f&&b&&void 0!==b[c],d=(h?b:n)[c],p=y&&h?s(d,i):v&&"function"==typeof d?s(Function.call,d):d,b&&a(b,c,d,t&u.U),_[c]!=d&&o(_,c,p),v&&x[c]!=d&&(x[c]=d)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5eda":function(t,e,n){var i=n("5ca1"),r=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o((function(){n(1)})),"Object",a)}},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"613b":function(t,e,n){var i=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},6762:function(t,e,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var i=n("0d58"),r=n("2621"),o=n("52a7"),a=n("4bf8"),s=n("626a"),l=Object.assign;t.exports=!l||n("79e5")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i}))?function(t,e){var n=a(t),l=arguments.length,u=1,c=r.f,h=o.f;while(l>u){var d,p=s(arguments[u++]),f=c?i(p).concat(c(p)):i(p),g=f.length,m=0;while(g>m)h.call(p,d=f[m++])&&(n[d]=p[d])}return n}:l},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7f20":function(t,e,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),t.exports=function(t){r[i][t]=!0}},"9def":function(t,e,n){var i=n("4588"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(e,n){e.exports=t},a481:function(t,e,n){"use strict";var i=n("cb7c"),r=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),l=n("5f1b"),u=Math.max,c=Math.min,h=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,f=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,g){return[function(i,r){var o=t(this),a=void 0==i?void 0:i[e];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},function(t,e){var r=g(n,t,this,e);if(r.done)return r.value;var h=i(t),d=String(this),p="function"===typeof e;p||(e=String(e));var v=h.global;if(v){var y=h.unicode;h.lastIndex=0}var b=[];while(1){var _=l(h,d);if(null===_)break;if(b.push(_),!v)break;var x=String(_[0]);""===x&&(h.lastIndex=s(d,o(h.lastIndex),y))}for(var w="",S=0,C=0;C<b.length;C++){_=b[C];for(var k=String(_[0]),M=u(c(a(_.index),d.length),0),O=[],T=1;T<_.length;T++)O.push(f(_[T]));var A=_.groups;if(p){var I=[k].concat(O,M,d);void 0!==A&&I.push(A);var P=String(e.apply(void 0,I))}else P=m(k,d,M,O,A,e);M>=S&&(w+=d.slice(S,M)+P,S=M+k.length)}return w+d.slice(S)}];function m(t,e,i,o,a,s){var l=i+t.length,u=o.length,c=p;return void 0!==a&&(a=r(a),c=d),n.call(s,c,(function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(l);case"<":s=a[r.slice(1,-1)];break;default:var c=+r;if(0===c)return n;if(c>u){var d=h(c/10);return 0===d?n:d<=u?void 0===o[d-1]?r.charAt(1):o[d-1]+r.charAt(1):n}s=o[c-1]}return void 0===s?"":s}))}}))},aae3:function(t,e,n){var i=n("d3f4"),r=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},ac6a:function(t,e,n){for(var i=n("cadf"),r=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),l=n("84f2"),u=n("2b4c"),c=u("iterator"),h=u("toStringTag"),d=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=r(p),g=0;g<f.length;g++){var m,v=f[g],y=p[v],b=a[v],_=b&&b.prototype;if(_&&(_[c]||s(_,c,d),_[h]||s(_,h,v),l[v]=d,y))for(m in i)_[m]||o(_,m,i[m],!0)}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var i=n("6821"),r=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,a){var s,l=i(e),u=r(l.length),c=o(a,u);if(t&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return l}));n("a481");function i(){return"undefined"!==typeof window?window.console:t.console}var r=i();function o(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var a=/-(\w)/g,s=o((function(t){return t.replace(a,(function(t,e){return e?e.toUpperCase():""}))}));function l(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function u(t,e,n){var i=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,i)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),r=n("d53b"),o=n("84f2"),a=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);while(e.length>l)i(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},d2c8:function(t,e,n){var i=n("aae3"),r=n("be13");t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(t,e,n){"use strict";var i=n("5ca1"),r=n("9def"),o=n("d2c8"),a="startsWith",s=""[a];i(i.P+i.F*n("5147")(a),"String",{startsWith:function(t){var e=o(this,t,a),n=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return s?s.call(e,i,n):e.slice(n,n+i.length)===i}})},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(i){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},f751:function(t,e,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var i=n("7726").document;t.exports=i&&i.documentElement},fb15:function(t,e,n){"use strict";var i;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d");function r(t){if(Array.isArray(t))return t}function o(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(l){r=!0,o=l}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return n}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function s(t,e){if(t){if("string"===typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function l(){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 u(t,e){return r(t)||o(t,e)||s(t,e)||l()}n("6762"),n("2fdb");function c(t){if(Array.isArray(t))return a(t)}function h(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function d(){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 p(t){return c(t)||h(t)||s(t)||d()}var f=n("a352"),g=n.n(f),m=n("c649");function v(t,e,n){return void 0===n||(t=t||{},t[e]=n),t}function y(t,e){return t.map((function(t){return t.elm})).indexOf(e)}function b(t,e,n,i){if(!t)return[];var r=t.map((function(t){return t.elm})),o=e.length-i,a=p(e).map((function(t,e){return e>=o?r.length:r.indexOf(t)}));return n?a.filter((function(t){return-1!==t})):a}function _(t,e){var n=this;this.$nextTick((function(){return n.$emit(t.toLowerCase(),e)}))}function x(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),_.call(e,t,n)}}function w(t){return["transition-group","TransitionGroup"].includes(t)}function S(t){if(!t||1!==t.length)return!1;var e=u(t,1),n=e[0].componentOptions;return!!n&&w(n.tag)}function C(t,e,n){return t[n]||(e[n]?e[n]():void 0)}function k(t,e,n){var i=0,r=0,o=C(e,n,"header");o&&(i=o.length,t=t?[].concat(p(o),p(t)):p(o));var a=C(e,n,"footer");return a&&(r=a.length,t=t?[].concat(p(t),p(a)):p(a)),{children:t,headerOffset:i,footerOffset:r}}function M(t,e){var n=null,i=function(t,e){n=v(n,t,e)},r=Object.keys(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,n){return e[n]=t[n],e}),{});if(i("attrs",r),!e)return n;var o=e.on,a=e.props,s=e.attrs;return i("on",o),i("props",a),Object.assign(n.attrs,s),n}var O=["Start","Add","Remove","Update","End"],T=["Choose","Unchoose","Sort","Filter","Clone"],A=["Move"].concat(O,T).map((function(t){return"on"+t})),I=null,P={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},E={name:"draggable",inheritAttrs:!1,props:P,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=S(e);var n=k(e,this.$slots,this.$scopedSlots),i=n.children,r=n.headerOffset,o=n.footerOffset;this.headerOffset=r,this.footerOffset=o;var a=M(this.$attrs,this.componentData);return t(this.getTag(),a,i)},created:function(){null!==this.list&&null!==this.value&&m["b"].error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&m["b"].warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&m["b"].warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};O.forEach((function(n){e["on"+n]=x.call(t,n)})),T.forEach((function(n){e["on"+n]=_.bind(t,n)}));var n=Object.keys(this.$attrs).reduce((function(e,n){return e[Object(m["a"])(n)]=t.$attrs[n],e}),{}),i=Object.assign({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new g.a(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(m["a"])(e);-1===A.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=b(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e=y(this.getChildrenNodes()||[],t);if(-1===e)return null;var n=this.realList[e];return{index:e,element:n}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&w(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=p(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,p(t))};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,i=this.getUnderlyingPotencialDraggableComponent(e);if(!i)return{component:i};var r=i.realList,o={list:r,component:i};if(e!==n&&r&&i.getUnderlyingVm){var a=i.getUnderlyingVm(n);if(a)return Object.assign(a,o)}return o},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){var e=this.getChildrenNodes();e[t].data=null;var n=this.getComponent();n.children=[],n.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),I=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(m["d"])(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var i={element:e,newIndex:n};this.emitChanges({added:i})}},onDragRemove:function(t){if(Object(m["c"])(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(m["d"])(t.clone)},onDragUpdate:function(t){Object(m["d"])(t.item),Object(m["c"])(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var i={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:i})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=p(e.to.children).filter((function(t){return"none"!==t.style["display"]})),i=n.indexOf(e.related),r=t.component.getVmIndex(i),o=-1!==n.indexOf(I);return o||!e.willInsertAfter?r:r+1},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(t),r=this.context,o=this.computeFutureIndex(i,t);Object.assign(r,{futureIndex:o});var a=Object.assign({},t,{relatedContext:i,draggedContext:r});return n(a,e)},onDragEnd:function(){this.computeIndexes(),I=null}}};"undefined"!==typeof window&&"Vue"in window&&window.Vue.component("draggable",E);var D=E;e["default"]=D}})["default"]}))},b7fa:function(t,e,n){"use strict";e["a"]={props:{dark:{type:Boolean,default:null}},computed:{isDark(){return null===this.dark?this.$q.dark.isActive:this.dark}}}},b980:function(t,e,n){var i=n("d039"),r=n("5c6c");t.exports=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",r(1,7)),7!==t.stack)}))},bb5d:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("f08e"),r=function(t){return t.match(new RegExp("^"+i.A_CHARS+"*"))[0].length},o=function(t){return t.match(new RegExp("^"+i.B_CHARS+"*"))[0].length},a=function(t){return t.match(new RegExp("^"+i.C_CHARS+"*"))[0]};function s(t,e){var n=e?i.A_CHARS:i.B_CHARS,r=t.match(new RegExp("^("+n+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(r)return r[1]+String.fromCharCode(204)+l(t.substring(r[1].length));var o=t.match(new RegExp("^"+n+"+"))[0];return o.length===t.length?t:o+String.fromCharCode(e?205:206)+s(t.substring(o.length),!e)}function l(t){var e=a(t),n=e.length;if(n===t.length)return t;t=t.substring(n);var i=r(t)>=o(t);return e+String.fromCharCode(i?206:205)+s(t,i)}e.default=function(t){var e=void 0,n=a(t).length;if(n>=2)e=i.C_START_CHAR+l(t);else{var u=r(t)>o(t);e=(u?i.A_START_CHAR:i.B_START_CHAR)+s(t,u)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,(function(t,e){return String.fromCharCode(203)+e}))}},bbf0:function(t,e,n){const i=n("27a3"),r=n("0425");function o(t){if("string"!==typeof t)throw new Error("Param is not a string");const n=t.toLowerCase();switch(n){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!i.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return r.testNumeric(t)?e.NUMERIC:r.testAlphanumeric(t)?e.ALPHANUMERIC:r.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,n){if(e.isValid(t))return t;try{return o(t)}catch(i){return n}}},bc3a:function(t,e,n){t.exports=n("cee4")},bd08:function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("dde5");e["a"]=i["a"].extend({name:"QTr",mixins:[r["a"]],props:{props:Object,noHover:Boolean},computed:{classes(){return"q-tr"+(void 0===this.props||!0===this.props.header?"":" "+this.props.__trClass)+(!0===this.noHover?" q-tr--no-hover":"")}},render(t){return t("tr",{on:{...this.qListeners},class:this.classes},Object(o["c"])(this,"default"))}})},bd4c:function(t,e,n){"use strict";n.d(e,"a",(function(){return S})),n.d(e,"d",(function(){return N})),n.d(e,"c",(function(){return W}));n("5319"),n("d9e2");var i=n("5ff7"),r=n("7937"),o=n("a8f0"),a=n("ec5d");const s=864e5,l=36e5,u=6e4,c="YYYY-MM-DDTHH:mm:ss.SSSZ",h=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,d=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,p={};function f(t,e){const n="("+e.days.join("|")+")",i=t+n;if(void 0!==p[i])return p[i];const r="("+e.daysShort.join("|")+")",o="("+e.months.join("|")+")",a="("+e.monthsShort.join("|")+")",s={};let l=0;const u=t.replace(d,(t=>{switch(l++,t){case"YY":return s.YY=l,"(-?\\d{1,2})";case"YYYY":return s.YYYY=l,"(-?\\d{1,4})";case"M":return s.M=l,"(\\d{1,2})";case"MM":return s.M=l,"(\\d{2})";case"MMM":return s.MMM=l,a;case"MMMM":return s.MMMM=l,o;case"D":return s.D=l,"(\\d{1,2})";case"Do":return s.D=l++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return s.D=l,"(\\d{2})";case"H":return s.H=l,"(\\d{1,2})";case"HH":return s.H=l,"(\\d{2})";case"h":return s.h=l,"(\\d{1,2})";case"hh":return s.h=l,"(\\d{2})";case"m":return s.m=l,"(\\d{1,2})";case"mm":return s.m=l,"(\\d{2})";case"s":return s.s=l,"(\\d{1,2})";case"ss":return s.s=l,"(\\d{2})";case"S":return s.S=l,"(\\d{1})";case"SS":return s.S=l,"(\\d{2})";case"SSS":return s.S=l,"(\\d{3})";case"A":return s.A=l,"(AM|PM)";case"a":return s.a=l,"(am|pm)";case"aa":return s.aa=l,"(a\\.m\\.|p\\.m\\.)";case"ddd":return r;case"dddd":return n;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return s.Z=l,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return s.ZZ=l,"(Z|[+-]\\d{2}\\d{2})";case"X":return s.X=l,"(-?\\d+)";case"x":return s.x=l,"(-?\\d{4,})";default:return l--,"["===t[0]&&(t=t.substring(1,t.length-1)),t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}})),c={map:s,regex:new RegExp("^"+u)};return p[i]=c,c}function g(t,e){return void 0!==t?t:void 0!==e?e.date:a["b"].date}function m(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),o=Math.floor(i/60),a=i%60;return n+Object(r["e"])(o)+e+Object(r["e"])(a)}function v(t,e,n){let i=t.getFullYear(),r=t.getMonth();const o=t.getDate();return void 0!==e.year&&(i+=n*e.year,delete e.year),void 0!==e.month&&(r+=n*e.month,delete e.month),t.setDate(1),t.setMonth(2),t.setFullYear(i),t.setMonth(r),t.setDate(Math.min(o,$(t))),void 0!==e.date&&(t.setDate(t.getDate()+n*e.date),delete e.date),t}function y(t,e,n){const i=void 0!==e.year?e.year:t[`get${n}FullYear`](),r=void 0!==e.month?e.month-1:t[`get${n}Month`](),o=new Date(i,r+1,0).getDate(),a=Math.min(o,void 0!==e.date?e.date:t[`get${n}Date`]());return t[`set${n}Date`](1),t[`set${n}Month`](2),t[`set${n}FullYear`](i),t[`set${n}Month`](r),t[`set${n}Date`](a),delete e.year,delete e.month,delete e.date,t}function b(t,e,n){const i=_(e),o=new Date(t),a=void 0!==i.year||void 0!==i.month||void 0!==i.date?v(o,i,n):o;for(const s in i){const t=Object(r["b"])(s);a[`set${t}`](a[`get${t}`]()+n*i[s])}return a}function _(t){const e={...t};return void 0!==t.years&&(e.year=t.years,delete e.years),void 0!==t.months&&(e.month=t.months,delete e.months),void 0!==t.days&&(e.date=t.days,delete e.days),void 0!==t.day&&(e.date=t.day,delete e.day),void 0!==t.hour&&(e.hours=t.hour,delete e.hour),void 0!==t.minute&&(e.minutes=t.minute,delete e.minute),void 0!==t.second&&(e.seconds=t.second,delete e.second),void 0!==t.millisecond&&(e.milliseconds=t.millisecond,delete e.millisecond),e}function x(t,e,n){const i=_(e),r=!0===n?"UTC":"",o=new Date(t),a=void 0!==i.year||void 0!==i.month||void 0!==i.date?y(o,i,r):o;for(const s in i){const t=s.charAt(0).toUpperCase()+s.slice(1);a[`set${r}${t}`](i[s])}return a}function w(t,e,n){const i=S(t,e,n),r=new Date(i.year,null===i.month?null:i.month-1,null===i.day?1:i.day,i.hour,i.minute,i.second,i.millisecond),o=r.getTimezoneOffset();return null===i.timezoneOffset||i.timezoneOffset===o?r:b(r,{minutes:i.timezoneOffset-o},1)}function S(t,e,n,i,s){const l={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(void 0!==s&&Object.assign(l,s),void 0===t||null===t||""===t||"string"!==typeof t)return l;void 0===e&&(e=c);const u=g(n,a["a"].props),h=u.months,d=u.monthsShort,{regex:p,map:m}=f(e,u),v=t.match(p);if(null===v)return l;let y="";if(void 0!==m.X||void 0!==m.x){const t=parseInt(v[void 0!==m.X?m.X:m.x],10);if(!0===isNaN(t)||t<0)return l;const e=new Date(t*(void 0!==m.X?1e3:1));l.year=e.getFullYear(),l.month=e.getMonth()+1,l.day=e.getDate(),l.hour=e.getHours(),l.minute=e.getMinutes(),l.second=e.getSeconds(),l.millisecond=e.getMilliseconds()}else{if(void 0!==m.YYYY)l.year=parseInt(v[m.YYYY],10);else if(void 0!==m.YY){const t=parseInt(v[m.YY],10);l.year=t<0?t:2e3+t}if(void 0!==m.M){if(l.month=parseInt(v[m.M],10),l.month<1||l.month>12)return l}else void 0!==m.MMM?l.month=d.indexOf(v[m.MMM])+1:void 0!==m.MMMM&&(l.month=h.indexOf(v[m.MMMM])+1);if(void 0!==m.D){if(l.day=parseInt(v[m.D],10),null===l.year||null===l.month||l.day<1)return l;const t="persian"!==i?new Date(l.year,l.month,0).getDate():Object(o["a"])(l.year,l.month);if(l.day>t)return l}void 0!==m.H?l.hour=parseInt(v[m.H],10)%24:void 0!==m.h&&(l.hour=parseInt(v[m.h],10)%12,(m.A&&"PM"===v[m.A]||m.a&&"pm"===v[m.a]||m.aa&&"p.m."===v[m.aa])&&(l.hour+=12),l.hour=l.hour%24),void 0!==m.m&&(l.minute=parseInt(v[m.m],10)%60),void 0!==m.s&&(l.second=parseInt(v[m.s],10)%60),void 0!==m.S&&(l.millisecond=parseInt(v[m.S],10)*10**(3-v[m.S].length)),void 0===m.Z&&void 0===m.ZZ||(y=void 0!==m.Z?v[m.Z].replace(":",""):v[m.ZZ],l.timezoneOffset=("+"===y[0]?-1:1)*(60*y.slice(1,3)+1*y.slice(3,5)))}return l.dateHash=Object(r["e"])(l.year,6)+"/"+Object(r["e"])(l.month)+"/"+Object(r["e"])(l.day),l.timeHash=Object(r["e"])(l.hour)+":"+Object(r["e"])(l.minute)+":"+Object(r["e"])(l.second)+y,l}function C(t){return"number"===typeof t||!1===isNaN(Date.parse(t))}function k(t,e){return x(new Date,t,e)}function M(t){const e=new Date(t).getDay();return 0===e?7:e}function O(t){const e=new Date(t.getFullYear(),t.getMonth(),t.getDate());e.setDate(e.getDate()-(e.getDay()+6)%7+3);const n=new Date(e.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);const i=e.getTimezoneOffset()-n.getTimezoneOffset();e.setHours(e.getHours()-i);const r=(e-n)/(7*s);return 1+Math.floor(r)}function T(t){return 1e4*t.getFullYear()+100*t.getMonth()+t.getDate()}function A(t,e){const n=new Date(t);return!0===e?T(n):n.getTime()}function I(t,e,n,i={}){const r=A(e,i.onlyDate),o=A(n,i.onlyDate),a=A(t,i.onlyDate);return(a>r||!0===i.inclusiveFrom&&a===r)&&(a<o||!0===i.inclusiveTo&&a===o)}function P(t,e){return b(t,e,1)}function E(t,e){return b(t,e,-1)}function D(t,e,n){const i=new Date(t),r="set"+(!0===n?"UTC":"");switch(e){case"year":case"years":i[`${r}Month`](0);case"month":case"months":i[`${r}Date`](1);case"day":case"days":case"date":i[`${r}Hours`](0);case"hour":case"hours":i[`${r}Minutes`](0);case"minute":case"minutes":i[`${r}Seconds`](0);case"second":case"seconds":i[`${r}Milliseconds`](0)}return i}function L(t,e,n){const i=new Date(t),r="set"+(!0===n?"UTC":"");switch(e){case"year":case"years":i[`${r}Month`](11);case"month":case"months":i[`${r}Date`]($(i));case"day":case"days":case"date":i[`${r}Hours`](23);case"hour":case"hours":i[`${r}Minutes`](59);case"minute":case"minutes":i[`${r}Seconds`](59);case"second":case"seconds":i[`${r}Milliseconds`](999)}return i}function j(t){let e=new Date(t);return Array.prototype.slice.call(arguments,1).forEach((t=>{e=Math.max(e,new Date(t))})),e}function R(t){let e=new Date(t);return Array.prototype.slice.call(arguments,1).forEach((t=>{e=Math.min(e,new Date(t))})),e}function B(t,e,n){return(t.getTime()-t.getTimezoneOffset()*u-(e.getTime()-e.getTimezoneOffset()*u))/n}function N(t,e,n="days"){const i=new Date(t),r=new Date(e);switch(n){case"years":case"year":return i.getFullYear()-r.getFullYear();case"months":case"month":return 12*(i.getFullYear()-r.getFullYear())+i.getMonth()-r.getMonth();case"days":case"day":case"date":return B(D(i,"day"),D(r,"day"),s);case"hours":case"hour":return B(D(i,"hour"),D(r,"hour"),l);case"minutes":case"minute":return B(D(i,"minute"),D(r,"minute"),u);case"seconds":case"second":return B(D(i,"second"),D(r,"second"),1e3)}}function F(t){return N(t,D(t,"year"),"days")+1}function z(t){return!0===Object(i["a"])(t)?"date":"number"===typeof t?"number":"string"}function V(t,e,n){const i=new Date(t);if(e){const t=new Date(e);if(i<t)return t}if(n){const t=new Date(n);if(i>t)return t}return i}function q(t,e,n){const i=new Date(t),r=new Date(e);if(void 0===n)return i.getTime()===r.getTime();switch(n){case"second":case"seconds":if(i.getSeconds()!==r.getSeconds())return!1;case"minute":case"minutes":if(i.getMinutes()!==r.getMinutes())return!1;case"hour":case"hours":if(i.getHours()!==r.getHours())return!1;case"day":case"days":case"date":if(i.getDate()!==r.getDate())return!1;case"month":case"months":if(i.getMonth()!==r.getMonth())return!1;case"year":case"years":if(i.getFullYear()!==r.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${n}`)}return!0}function $(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()}function H(t){if(t>=11&&t<=13)return`${t}th`;switch(t%10){case 1:return`${t}st`;case 2:return`${t}nd`;case 3:return`${t}rd`}return`${t}th`}const G={YY(t,e,n){const i=this.YYYY(t,e,n)%100;return i>=0?Object(r["e"])(i):"-"+Object(r["e"])(Math.abs(i))},YYYY(t,e,n){return void 0!==n&&null!==n?n:t.getFullYear()},M(t){return t.getMonth()+1},MM(t){return Object(r["e"])(t.getMonth()+1)},MMM(t,e){return e.monthsShort[t.getMonth()]},MMMM(t,e){return e.months[t.getMonth()]},Q(t){return Math.ceil((t.getMonth()+1)/3)},Qo(t){return H(this.Q(t))},D(t){return t.getDate()},Do(t){return H(t.getDate())},DD(t){return Object(r["e"])(t.getDate())},DDD(t){return F(t)},DDDD(t){return Object(r["e"])(F(t),3)},d(t){return t.getDay()},dd(t,e){return this.dddd(t,e).slice(0,2)},ddd(t,e){return e.daysShort[t.getDay()]},dddd(t,e){return e.days[t.getDay()]},E(t){return t.getDay()||7},w(t){return O(t)},ww(t){return Object(r["e"])(O(t))},H(t){return t.getHours()},HH(t){return Object(r["e"])(t.getHours())},h(t){const e=t.getHours();return 0===e?12:e>12?e%12:e},hh(t){return Object(r["e"])(this.h(t))},m(t){return t.getMinutes()},mm(t){return Object(r["e"])(t.getMinutes())},s(t){return t.getSeconds()},ss(t){return Object(r["e"])(t.getSeconds())},S(t){return Math.floor(t.getMilliseconds()/100)},SS(t){return Object(r["e"])(Math.floor(t.getMilliseconds()/10))},SSS(t){return Object(r["e"])(t.getMilliseconds(),3)},A(t){return this.H(t)<12?"AM":"PM"},a(t){return this.H(t)<12?"am":"pm"},aa(t){return this.H(t)<12?"a.m.":"p.m."},Z(t,e,n,i){const r=void 0===i||null===i?t.getTimezoneOffset():i;return m(r,":")},ZZ(t,e,n,i){const r=void 0===i||null===i?t.getTimezoneOffset():i;return m(r)},X(t){return Math.floor(t.getTime()/1e3)},x(t){return t.getTime()}};function W(t,e,n,i,r){if(0!==t&&!t||t===1/0||t===-1/0)return;const o=new Date(t);if(isNaN(o))return;void 0===e&&(e=c);const s=g(n,a["a"].props);return e.replace(h,((t,e)=>t in G?G[t](o,s,i,r):void 0===e?t:e.split("\\]").join("]")))}function U(t){return!0===Object(i["a"])(t)?new Date(t.getTime()):t}e["b"]={isValid:C,extractDate:w,buildDate:k,getDayOfWeek:M,getWeekOfYear:O,isBetweenDates:I,addToDate:P,subtractFromDate:E,adjustDate:x,startOfDate:D,endOfDate:L,getMaxDate:j,getMinDate:R,getDateDiff:N,getDayOfYear:F,inferDateFormat:z,getDateBetween:V,isSameDate:q,daysInMonth:$,formatDate:W,clone:U}},bd8a:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(e){r(this,t),this.api=e}return i(t,[{key:"handleCatch",value:function(t){if("InvalidInputException"!==t.name)throw t;if(this.api._options.valid===this.api._defaults.valid)throw t.message;this.api._options.valid(!1),this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(t){try{var e=t.apply(void 0,arguments);return this.api._options.valid(!0),e}catch(n){return this.handleCatch(n),this.api}}}]),t}();e.default=o},bdfe:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("c243"),o=n("5726"),a=u(o),s=n("e762"),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){function e(t,n){c(this,e);var i=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.fontSize=!n.flat&&n.fontSize>10*n.width?10*n.width:n.fontSize,i.guardHeight=n.height+i.fontSize/2+n.textMargin,i}return d(e,t),i(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(t,e){return this.text.substr(t,e)}},{key:"leftEncode",value:function(t,e){return(0,a.default)(t,e)}},{key:"rightText",value:function(t,e){return this.text.substr(t,e)}},{key:"rightEncode",value:function(t,e){return(0,a.default)(t,e)}},{key:"encodeGuarded",value:function(){var t={fontSize:this.fontSize},e={height:this.guardHeight};return[{data:r.SIDE_BIN,options:e},{data:this.leftEncode(),text:this.leftText(),options:t},{data:r.MIDDLE_BIN,options:e},{data:this.rightEncode(),text:this.rightText(),options:t},{data:r.SIDE_BIN,options:e}]}},{key:"encodeFlat",value:function(){var t=[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN];return{data:t.join(""),text:this.text}}}]),e}(l.default);e.default=p},be5e:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("fd7c"),o=s(r),a=n("ab5b");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u="http://www.w3.org/2000/svg",c=function(){function t(e,n,i){l(this,t),this.svg=e,this.encodings=n,this.options=i,this.document=i.xmlDocument||document}return i(t,[{key:"render",value:function(){var t=this.options.marginLeft;this.prepareSVG();for(var e=0;e<this.encodings.length;e++){var n=this.encodings[e],i=(0,o.default)(this.options,n.options),r=this.createGroup(t,i.marginTop,this.svg);this.setGroupOptions(r,i),this.drawSvgBarcode(r,i,n),this.drawSVGText(r,i,n),t+=n.width}}},{key:"prepareSVG",value:function(){while(this.svg.firstChild)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var t=(0,a.getTotalWidthOfEncodings)(this.encodings),e=(0,a.getMaximumHeightOfEncodings)(this.encodings),n=t+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(n,e),this.options.background&&this.drawRect(0,0,n,e,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(t,e,n){var i,r=n.data;i="top"==e.textPosition?e.fontSize+e.textMargin:0;for(var o=0,a=0,s=0;s<r.length;s++)a=s*e.width+n.barcodePadding,"1"===r[s]?o++:o>0&&(this.drawRect(a-e.width*o,i,e.width*o,e.height,t),o=0);o>0&&this.drawRect(a-e.width*(o-1),i,e.width*o,e.height,t)}},{key:"drawSVGText",value:function(t,e,n){var i,r,o=this.document.createElementNS(u,"text");e.displayValue&&(o.setAttribute("style","font:"+e.fontOptions+" "+e.fontSize+"px "+e.font),r="top"==e.textPosition?e.fontSize-e.textMargin:e.height+e.textMargin+e.fontSize,"left"==e.textAlign||n.barcodePadding>0?(i=0,o.setAttribute("text-anchor","start")):"right"==e.textAlign?(i=n.width-1,o.setAttribute("text-anchor","end")):(i=n.width/2,o.setAttribute("text-anchor","middle")),o.setAttribute("x",i),o.setAttribute("y",r),o.appendChild(this.document.createTextNode(n.text)),t.appendChild(o))}},{key:"setSvgAttributes",value:function(t,e){var n=this.svg;n.setAttribute("width",t+"px"),n.setAttribute("height",e+"px"),n.setAttribute("x","0px"),n.setAttribute("y","0px"),n.setAttribute("viewBox","0 0 "+t+" "+e),n.setAttribute("xmlns",u),n.setAttribute("version","1.1"),n.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(t,e,n){var i=this.document.createElementNS(u,"g");return i.setAttribute("transform","translate("+t+", "+e+")"),n.appendChild(i),i}},{key:"setGroupOptions",value:function(t,e){t.setAttribute("style","fill:"+e.lineColor+";")}},{key:"drawRect",value:function(t,e,n,i,r){var o=this.document.createElementNS(u,"rect");return o.setAttribute("x",t),o.setAttribute("y",e),o.setAttribute("width",n),o.setAttribute("height",i),r.appendChild(o),o}}]),t}();e.default=c},be98:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("5726"),o=u(r),a=n("e762"),s=u(a),l=n("e8b2");function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],f=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(t){function e(t,n){c(this,e);var i=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(i.isValid=!1,-1!==t.search(/^[0-9]{6}$/))i.middleDigits=t,i.upcA=m(t,"0"),i.text=n.text||""+i.upcA[0]+t+i.upcA[i.upcA.length-1],i.isValid=!0;else{if(-1===t.search(/^[01][0-9]{7}$/))return h(i);if(i.middleDigits=t.substring(1,t.length-1),i.upcA=m(i.middleDigits,t[0]),i.upcA[i.upcA.length-1]!==t[t.length-1])return h(i);i.isValid=!0}return i.displayValue=n.displayValue,n.fontSize>10*n.width?i.fontSize=10*n.width:i.fontSize=n.fontSize,i.guardHeight=n.height+i.fontSize/2+n.textMargin,i}return d(e,t),i(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=this.encodeMiddleDigits(),t+="010101",{data:t,text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101",options:{height:this.guardHeight}}),t.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),t.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),t}},{key:"encodeMiddleDigits",value:function(){var t=this.upcA[0],e=this.upcA[this.upcA.length-1],n=f[parseInt(e)][parseInt(t)];return(0,o.default)(this.middleDigits,n)}}]),e}(s.default);function m(t,e){for(var n=parseInt(t[t.length-1]),i=p[n],r="",o=0,a=0;a<i.length;a++){var s=i[a];r+="X"===s?t[o++]:s}return r=""+e+r,""+r+(0,l.checksum)(r)}e.default=g},befa:function(t,e,n){const i=n("bbf0"),r=n("dd7e"),o=n("9d94"),a=n("0196"),s=n("2f3a"),l=n("0425"),u=n("7bf0"),c=n("10b0");function h(t){return unescape(encodeURIComponent(t)).length}function d(t,e,n){const i=[];let r;while(null!==(r=t.exec(n)))i.push({data:r[0],index:r.index,mode:e,length:r[0].length});return i}function p(t){const e=d(l.NUMERIC,i.NUMERIC,t),n=d(l.ALPHANUMERIC,i.ALPHANUMERIC,t);let r,o;u.isKanjiModeEnabled()?(r=d(l.BYTE,i.BYTE,t),o=d(l.KANJI,i.KANJI,t)):(r=d(l.BYTE_KANJI,i.BYTE,t),o=[]);const a=e.concat(n,r,o);return a.sort((function(t,e){return t.index-e.index})).map((function(t){return{data:t.data,mode:t.mode,length:t.length}}))}function f(t,e){switch(e){case i.NUMERIC:return r.getBitsLength(t);case i.ALPHANUMERIC:return o.getBitsLength(t);case i.KANJI:return s.getBitsLength(t);case i.BYTE:return a.getBitsLength(t)}}function g(t){return t.reduce((function(t,e){const n=t.length-1>=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}function m(t){const e=[];for(let n=0;n<t.length;n++){const r=t[n];switch(r.mode){case i.NUMERIC:e.push([r,{data:r.data,mode:i.ALPHANUMERIC,length:r.length},{data:r.data,mode:i.BYTE,length:r.length}]);break;case i.ALPHANUMERIC:e.push([r,{data:r.data,mode:i.BYTE,length:r.length}]);break;case i.KANJI:e.push([r,{data:r.data,mode:i.BYTE,length:h(r.data)}]);break;case i.BYTE:e.push([{data:r.data,mode:i.BYTE,length:h(r.data)}])}}return e}function v(t,e){const n={},r={start:{}};let o=["start"];for(let a=0;a<t.length;a++){const s=t[a],l=[];for(let t=0;t<s.length;t++){const u=s[t],c=""+a+t;l.push(c),n[c]={node:u,lastCount:0},r[c]={};for(let t=0;t<o.length;t++){const a=o[t];n[a]&&n[a].node.mode===u.mode?(r[a][c]=f(n[a].lastCount+u.length,u.mode)-f(n[a].lastCount,u.mode),n[a].lastCount+=u.length):(n[a]&&(n[a].lastCount=u.length),r[a][c]=f(u.length,u.mode)+4+i.getCharCountIndicator(u.mode,e))}}o=l}for(let i=0;i<o.length;i++)r[o[i]].end=0;return{map:r,table:n}}function y(t,e){let n;const l=i.getBestModeForData(t);if(n=i.from(e,l),n!==i.BYTE&&n.bit<l.bit)throw new Error('"'+t+'" cannot be encoded with mode '+i.toString(n)+".\n Suggested mode is: "+i.toString(l));switch(n!==i.KANJI||u.isKanjiModeEnabled()||(n=i.BYTE),n){case i.NUMERIC:return new r(t);case i.ALPHANUMERIC:return new o(t);case i.KANJI:return new s(t);case i.BYTE:return new a(t)}}e.fromArray=function(t){return t.reduce((function(t,e){return"string"===typeof e?t.push(y(e,null)):e.data&&t.push(y(e.data,e.mode)),t}),[])},e.fromString=function(t,n){const i=p(t,u.isKanjiModeEnabled()),r=m(i),o=v(r,n),a=c.find_path(o.map,"start","end"),s=[];for(let e=1;e<a.length-1;e++)s.push(o.table[a[e]].node);return e.fromArray(g(s))},e.rawSplit=function(t){return e.fromArray(p(t,u.isKanjiModeEnabled()))}},bf35:function(t,e){(function(e){t.exports=e}).call(this,{})},bf69:function(t,e,n){"use strict";e["a"]={isoName:"zh-hans",nativeName:"中文(简体)",label:{clear:"清空",ok:"确定",cancel:"取消",close:"关闭",set:"设置",select:"选择",reset:"重置",remove:"移除",update:"更新",create:"创建",search:"搜索",filter:"过滤",refresh:"刷新"},date:{days:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),daysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),headerTitle:function(t){return new Intl.DateTimeFormat("zh-CN",{weekday:"short",month:"short",day:"numeric"}).format(t)},firstDayOfWeek:0,format24h:!1,pluralDay:"天"},table:{noData:"没有可用数据",noResults:"找不到匹配的数据",loading:"正在加载...",selectedRecords:function(t){return"已选择"+t+"行"},recordsPerPage:"每页的行数:",allRows:"全部",pagination:function(t,e,n){return t+"-"+e+" / "+n},columns:"列"},editor:{url:"URL",bold:"粗体",italic:"斜体",strikethrough:"删除线",underline:"下划线",unorderedList:"无序列表",orderedList:"有序列表",subscript:"下标",superscript:"上标",hyperlink:"超链接",toggleFullscreen:"全屏切换",quote:"引号",left:"左对齐",center:"居中对齐",right:"右对齐",justify:"两端对齐",print:"打印",outdent:"减少缩进",indent:"增加缩进",removeFormat:"清除样式",formatting:"格式化",fontSize:"字体大小",align:"对齐",hr:"插入水平线",undo:"撤消",redo:"重做",heading1:"标题一",heading2:"标题二",heading3:"标题三",heading4:"标题四",heading5:"标题五",heading6:"标题六",paragraph:"段落",code:"代码",size1:"非常小",size2:"比较小",size3:"正常",size4:"中等偏大",size5:"大",size6:"非常大",size7:"超级大",defaultFont:"默认字体",viewSource:"查看资料"},tree:{noNodes:"没有可用节点",noResults:"找不到匹配的节点"}}},c04e:function(t,e,n){var i=n("c65b"),r=n("861d"),o=n("d9b5"),a=n("dc4a"),s=n("485a"),l=n("b622"),u=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,l=a(t,c);if(l){if(void 0===e&&(e="default"),n=i(l,t,e),!r(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},c0a8:function(t){t.exports=JSON.parse('{"a":"1.19.4"}')},c17b:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,n){s(this,e),0===t.search(/^[0-9\-\$\:\.\+\/]+$/)&&(t="A"+t+"A");var i=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t.toUpperCase(),n));return i.text=i.options.text||i.text.replace(/[A-D]/g,""),i}return u(e,t),i(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var t=[],e=this.getEncodings(),n=0;n<this.data.length;n++)t.push(e[this.data.charAt(n)]),n!==this.data.length-1&&t.push("0");return{text:this.text,data:t.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"101100110011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),e}(o.default);e.codabar=c},c243:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.SIDE_BIN="101",e.MIDDLE_BIN="01010",e.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},e.EAN2_STRUCTURE=["LL","LG","GL","GG"],e.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],e.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]},c294:function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("9c40"),o=n("0016"),a=n("57b0"),s=n("f376"),l=n("7ee0"),u=n("dde5"),c=n("0cd3");const h=["up","right","down","left"],d=["left","center","right"];e["a"]=i["a"].extend({name:"QFab",inheritAttrs:!1,mixins:[a["a"],s["b"],l["a"]],provide(){return{__qFab:this}},props:{icon:String,activeIcon:String,hideIcon:Boolean,hideLabel:{default:null},direction:{type:String,default:"right",validator:t=>h.includes(t)},persistent:Boolean,verticalActionsAlign:{type:String,default:"center",validator:t=>d.includes(t)}},data(){return{showing:!0===this.value}},computed:{hideOnRouteChange(){return!0!==this.persistent},classes(){return`q-fab--align-${this.verticalActionsAlign} ${this.formClass}`+(!0===this.showing?" q-fab--opened":"")},actionsClasses(){return`q-fab__actions--${this.direction}`+(!0===this.showing?" q-fab__actions--opened":"")},iconHolderClasses(){return!0===this.showing?"q-fab__icon-holder--opened":""},attrs(){return{"aria-expanded":!0===this.showing?"true":"false","aria-haspopup":"true",...this.qAttrs}},slotScope(){return{opened:this.showing}}},methods:{__onChildClick(t){this.hide(t),this.$refs.trigger&&this.$refs.trigger.$el&&this.$refs.trigger.$el.focus()},__getIcon(t,e,n){const i=this.$scopedSlots[e],r=`q-fab__${e} absolute-full`;return void 0===i?t(o["a"],{staticClass:r,props:{name:this[n]||this.$q.iconSet.fab[n]}}):t("div",{staticClass:r},i(this.slotScope))}},render(t){const e=[];return!0!==this.hideIcon&&e.push(t("div",{staticClass:"q-fab__icon-holder",class:this.iconHolderClasses},[this.__getIcon(t,"icon","icon"),this.__getIcon(t,"active-icon","activeIcon")])),""===this.label&&void 0===this.$scopedSlots.label||e[this.labelProps.action](t("div",this.labelProps.data,void 0!==this.$scopedSlots.label?this.$scopedSlots.label(this.slotScope):[this.label])),t("div",{staticClass:"q-fab z-fab row inline justify-center",class:this.classes,on:{...this.qListeners}},[t(r["a"],{ref:"trigger",class:this.formClass,props:{...this.$props,noWrap:!0,stack:this.stacked,align:void 0,icon:void 0,label:void 0,noCaps:!0,fab:!0},attrs:this.attrs,on:Object(c["b"])(this,"tog",{click:this.toggle})},Object(u["a"])(e,this,"tooltip")),t("div",{staticClass:"q-fab__actions flex no-wrap inline",class:this.actionsClasses},Object(u["c"])(this,"default"))])}})},c345:function(t,e,n){"use strict";var i=n("c532"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(i.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=i.trim(t.substr(0,o)).toLowerCase(),n=i.trim(t.substr(o+1)),e){if(a[e]&&r.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},c401:function(t,e,n){"use strict";var i=n("c532"),r=n("2444");t.exports=function(t,e,n){var o=this||r;return i.forEach(n,(function(n){t=n.call(o,t,e)})),t}},c430:function(t,e){t.exports=!1},c474:function(t,e,n){"use strict";var i=n("2248"),r=n("d882"),o=n("f303"),a=n("d728");e["a"]={props:{target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean},watch:{contextMenu(t){void 0!==this.anchorEl&&(this.__unconfigureAnchorEl(),this.__configureAnchorEl(t))},target(){void 0!==this.anchorEl&&this.__unconfigureAnchorEl(),this.__pickAnchorEl()},noParentEvent(t){void 0!==this.anchorEl&&(!0===t?this.__unconfigureAnchorEl():this.__configureAnchorEl())}},methods:{__showCondition(t){return void 0!==this.anchorEl&&(void 0===t||(void 0===t.touches||t.touches.length<=1))},__contextClick(t){this.hide(t),this.$nextTick((()=>{this.show(t)})),Object(r["i"])(t)},__toggleKey(t){!0===Object(a["a"])(t,13)&&this.toggle(t)},__mobileCleanup(t){this.anchorEl.classList.remove("non-selectable"),clearTimeout(this.touchTimer),!0===this.showing&&void 0!==t&&Object(i["a"])()},__mobilePrevent:r["i"],__mobileTouch(t){if(this.__mobileCleanup(t),!0!==this.__showCondition(t))return;this.hide(t),this.anchorEl.classList.add("non-selectable");const e=t.target;Object(r["a"])(this,"anchor",[[e,"touchmove","__mobileCleanup","passive"],[e,"touchend","__mobileCleanup","passive"],[e,"touchcancel","__mobileCleanup","passive"],[this.anchorEl,"contextmenu","__mobilePrevent","notPassive"]]),this.touchTimer=setTimeout((()=>{this.show(t)}),300)},__unconfigureAnchorEl(){Object(r["b"])(this,"anchor")},__configureAnchorEl(t=this.contextMenu){if(!0===this.noParentEvent||void 0===this.anchorEl)return;let e;e=!0===t?!0===this.$q.platform.is.mobile?[[this.anchorEl,"touchstart","__mobileTouch","passive"]]:[[this.anchorEl,"click","hide","passive"],[this.anchorEl,"contextmenu","__contextClick","notPassive"]]:[[this.anchorEl,"click","toggle","passive"],[this.anchorEl,"keyup","__toggleKey","passive"]],Object(r["a"])(this,"anchor",e)},__setAnchorEl(t){this.anchorEl=t;while(this.anchorEl.classList.contains("q-anchor--skip"))this.anchorEl=this.anchorEl.parentNode;this.__configureAnchorEl()},__pickAnchorEl(){!1===this.target||""===this.target||null===this.parentEl?this.anchorEl=void 0:!0===this.target?this.__setAnchorEl(this.parentEl):(this.anchorEl=Object(o["d"])(this.target)||void 0,void 0!==this.anchorEl?this.__configureAnchorEl():console.error(`Anchor: target "${this.target}" not found`,this))},__changeScrollEvent(t,e){const n=(void 0!==e?"add":"remove")+"EventListener",i=void 0!==e?e:this.__scrollFn;t!==window&&t[n]("scroll",i,r["f"].passive),window[n]("scroll",i,r["f"].passive),this.__scrollFn=e}},created(){"function"===typeof this.__configureScrollTarget&&"function"===typeof this.__unconfigureScrollTarget&&(this.noParentEventWatcher=this.$watch("noParentEvent",(()=>{void 0!==this.__scrollTarget&&(this.__unconfigureScrollTarget(),this.__configureScrollTarget())})))},mounted(){this.parentEl=this.$el.parentNode,this.__pickAnchorEl(),!0===this.value&&void 0===this.anchorEl&&this.$emit("input",!1)},beforeDestroy(){clearTimeout(this.touchTimer),void 0!==this.noParentEventWatcher&&this.noParentEventWatcher(),void 0!==this.__anchorCleanup&&this.__anchorCleanup(),this.__unconfigureAnchorEl()}}},c532:function(t,e,n){"use strict";var i=n("1d2b"),r=Object.prototype.toString;function o(t){return"[object Array]"===r.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function l(t){return"[object ArrayBuffer]"===r.call(t)}function u(t){return"undefined"!==typeof FormData&&t instanceof FormData}function c(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function h(t){return"string"===typeof t}function d(t){return"number"===typeof t}function p(t){return null!==t&&"object"===typeof t}function f(t){if("[object Object]"!==r.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function g(t){return"[object Date]"===r.call(t)}function m(t){return"[object File]"===r.call(t)}function v(t){return"[object Blob]"===r.call(t)}function y(t){return"[object Function]"===r.call(t)}function b(t){return p(t)&&y(t.pipe)}function _(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function x(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}function C(){var t={};function e(e,n){f(t[n])&&f(e)?t[n]=C(t[n],e):f(e)?t[n]=C({},e):o(e)?t[n]=e.slice():t[n]=e}for(var n=0,i=arguments.length;n<i;n++)S(arguments[n],e);return t}function k(t,e,n){return S(e,(function(e,r){t[r]=n&&"function"===typeof e?i(e,n):e})),t}function M(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:o,isArrayBuffer:l,isBuffer:s,isFormData:u,isArrayBufferView:c,isString:h,isNumber:d,isObject:p,isPlainObject:f,isUndefined:a,isDate:g,isFile:m,isBlob:v,isFunction:y,isStream:b,isURLSearchParams:_,isStandardBrowserEnv:w,forEach:S,merge:C,extend:k,trim:x,stripBOM:M}},c65b:function(t,e,n){var i=n("40d5"),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},c6b6:function(t,e,n){var i=n("e330"),r=i({}.toString),o=i("".slice);t.exports=function(t){return o(r(t),8,-1)}},c6cd:function(t,e,n){var i=n("da84"),r=n("6374"),o="__core-js_shared__",a=i[o]||r(o,{});t.exports=a},c770:function(t,e,n){var i=n("e330"),r=Error,o=i("".replace),a=function(t){return String(r(t).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);t.exports=function(t,e){if(l&&"string"==typeof t&&!r.prepareStackTrace)while(e--)t=o(t,s,"");return t}},c8aa:function(t,e,n){const i=n("7bf0"),r=n("34fc"),o=n("7a43"),a=n("bbf0"),s=n("27a3"),l=7973,u=i.getBCHDigit(l);function c(t,n,i){for(let r=1;r<=40;r++)if(n<=e.getCapacity(r,i,t))return r}function h(t,e){return a.getCharCountIndicator(t,e)+4}function d(t,e){let n=0;return t.forEach((function(t){const i=h(t.mode,e);n+=i+t.getBitsLength()})),n}function p(t,n){for(let i=1;i<=40;i++){const r=d(t,i);if(r<=e.getCapacity(i,n,a.MIXED))return i}}e.from=function(t,e){return s.isValid(t)?parseInt(t,10):e},e.getCapacity=function(t,e,n){if(!s.isValid(t))throw new Error("Invalid QR Code version");"undefined"===typeof n&&(n=a.BYTE);const o=i.getSymbolTotalCodewords(t),l=r.getTotalCodewordsCount(t,e),u=8*(o-l);if(n===a.MIXED)return u;const c=u-h(n,t);switch(n){case a.NUMERIC:return Math.floor(c/10*3);case a.ALPHANUMERIC:return Math.floor(c/11*2);case a.KANJI:return Math.floor(c/13);case a.BYTE:default:return Math.floor(c/8)}},e.getBestVersionForData=function(t,e){let n;const i=o.from(e,o.M);if(Array.isArray(t)){if(t.length>1)return p(t,i);if(0===t.length)return 1;n=t[0]}else n=t;return c(n.mode,n.getLength(),i)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");let e=t<<12;while(i.getBCHDigit(e)-u>=0)e^=l<<i.getBCHDigit(e)-u;return t<<12|e}},c8af:function(t,e,n){"use strict";var i=n("c532");t.exports=function(t,e){i.forEach(t,(function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])}))}},c8c8:function(t,e,n){"use strict";n("caad");var i=n("99b6"),r=n("3d69"),o=n("87e8"),a=n("8716"),s=n("6642");const l={none:0,xs:4,sm:8,md:16,lg:24,xl:32},u=["button","submit","reset"],c=/[^\s]\/[^\s]/;e["a"]={mixins:[o["a"],r["a"],a["a"],i["a"],Object(s["b"])({xs:8,sm:10,md:14,lg:20,xl:24})],props:{type:{type:String,default:"button"},to:[Object,String],replace:Boolean,append:Boolean,label:[Number,String],icon:String,iconRight:String,round:Boolean,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],align:{default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},computed:{style(){if(!1===this.fab&&!1===this.fabMini)return this.sizeStyle},isRounded(){return!0===this.rounded||!0===this.fab||!0===this.fabMini},isActionable(){return!0!==this.disable&&!0!==this.loading},computedTabIndex(){return!0===this.isActionable?this.tabindex||0:-1},design(){return!0===this.flat?"flat":!0===this.outline?"outline":!0===this.push?"push":!0===this.unelevated?"unelevated":"standard"},attrs(){const t={tabindex:this.computedTabIndex};return!0===this.hasLink?Object.assign(t,this.linkProps.attrs):!0===u.includes(this.type)&&(t.type=this.type),!0===this.hasLink||"a"===this.type?(!0===this.disable?t["aria-disabled"]="true":void 0===t.href&&(t.role="button"),!0===c.test(this.type)&&(t.type=this.type)):!0===this.disable&&(t.disabled="",t["aria-disabled"]="true"),!0===this.loading&&void 0!==this.percentage&&(t.role="progressbar",t["aria-valuemin"]=0,t["aria-valuemax"]=100,t["aria-valuenow"]=this.percentage),t},classes(){let t;return void 0!==this.color?t=!0===this.flat||!0===this.outline?`text-${this.textColor||this.color}`:`bg-${this.color} text-${this.textColor||"white"}`:this.textColor&&(t=`text-${this.textColor}`),`q-btn--${this.design} q-btn--`+(!0===this.round?"round":"rectangle"+(!0===this.isRounded?" q-btn--rounded":""))+(void 0!==t?" "+t:"")+(!0===this.isActionable?" q-btn--actionable q-focusable q-hoverable":!0===this.disable?" disabled":"")+(!0===this.fab?" q-btn--fab":!0===this.fabMini?" q-btn--fab-mini":"")+(!0===this.noCaps?" q-btn--no-uppercase":"")+(!0===this.noWrap?"":" q-btn--wrap")+(!0===this.dense?" q-btn--dense":"")+(!0===this.stretch?" no-border-radius self-stretch":"")+(!0===this.glossy?" glossy":"")},innerClasses(){return this.alignClass+(!0===this.stack?" column":" row")+(!0===this.noWrap?" no-wrap text-no-wrap":"")+(!0===this.loading?" q-btn__content--hidden":"")},wrapperStyle(){if(void 0!==this.padding)return{padding:this.padding.split(/\s+/).map((t=>t in l?l[t]+"px":t)).join(" "),minWidth:"0",minHeight:"0"}}}}},ca32:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};e.default=i},ca84:function(t,e,n){var i=n("e330"),r=n("1a2d"),o=n("fc6a"),a=n("4d64").indexOf,s=n("d012"),l=i([].push);t.exports=function(t,e){var n,i=o(t),u=0,c=[];for(n in i)!r(s,n)&&r(i,n)&&l(c,n);while(e.length>u)r(i,n=e[u++])&&(~a(c,n)||l(c,n));return c}},caad:function(t,e,n){"use strict";var i=n("23e7"),r=n("4d64").includes,o=n("d039"),a=n("44d2"),s=o((function(){return!Array(1).includes()}));i({target:"Array",proto:!0,forced:s},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cb2d:function(t,e,n){var i=n("1626"),r=n("9bf2"),o=n("13d2"),a=n("6374");t.exports=function(t,e,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:e;if(i(n)&&o(n,u,s),s.global)l?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(c){}l?t[e]=n:r.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},cb32:function(t,e,n){"use strict";var i=n("2b0e"),r=n("0016"),o=n("6642"),a=n("87e8"),s=n("dde5");e["a"]=i["a"].extend({name:"QAvatar",mixins:[a["a"],o["a"]],props:{fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},computed:{classes(){return{[`bg-${this.color}`]:this.color,[`text-${this.textColor} q-chip--colored`]:this.textColor,"q-avatar--square":this.square,"rounded-borders":this.rounded}},contentStyle(){if(this.fontSize)return{fontSize:this.fontSize}}},render(t){const e=void 0!==this.icon?[t(r["a"],{props:{name:this.icon}})]:void 0;return t("div",{staticClass:"q-avatar",style:this.sizeStyle,class:this.classes,on:{...this.qListeners}},[t("div",{staticClass:"q-avatar__content row flex-center overflow-hidden",style:this.contentStyle},Object(s["b"])(e,this,"default"))])}})},cc12:function(t,e,n){var i=n("da84"),r=n("861d"),o=i.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},cc78:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));n("caad");var i=n("d882"),r=n("0cd3");function o(t,e,n,i){const r=[];return t.forEach((t=>{!0===i(t)?r.push(t):e.push({failedPropValidation:n,file:t})})),r}function a(t){t&&t.dataTransfer&&(t.dataTransfer.dropEffect="copy"),Object(i["l"])(t)}e["b"]={props:{multiple:Boolean,accept:String,capture:String,maxFileSize:[Number,String],maxTotalSize:[Number,String],maxFiles:[Number,String],filter:Function},computed:{extensions(){if(void 0!==this.accept)return this.accept.split(",").map((t=>(t=t.trim(),"*"===t?"*/":(t.endsWith("/*")&&(t=t.slice(0,t.length-1)),t.toUpperCase()))))},maxFilesNumber(){return parseInt(this.maxFiles,10)},maxTotalSizeNumber(){return parseInt(this.maxTotalSize,10)}},methods:{pickFiles(t){if(!0===this.editable)if(t!==Object(t)&&(t={target:null}),null!==t.target&&!0===t.target.matches('input[type="file"]'))0===t.clientX&&0===t.clientY&&Object(i["k"])(t);else{const e=this.__getFileInput();e&&e!==t.target&&e.click(t)}},addFiles(t){this.editable&&t&&this.__addFiles(null,t)},__processFiles(t,e,n,i){let r=Array.from(e||t.target.files);const a=[],s=()=>{a.length>0&&this.$emit("rejected",a)};if(void 0!==this.accept&&-1===this.extensions.indexOf("*/")&&(r=o(r,a,"accept",(t=>this.extensions.some((e=>t.type.toUpperCase().startsWith(e)||t.name.toUpperCase().endsWith(e))))),0===r.length))return s();if(void 0!==this.maxFileSize){const t=parseInt(this.maxFileSize,10);if(r=o(r,a,"max-file-size",(e=>e.size<=t)),0===r.length)return s()}!0!==this.multiple&&r.length>0&&(r=[r[0]]),r.forEach((t=>{t.__key=t.webkitRelativePath+t.lastModified+t.name+t.size}));const l=n.map((t=>t.__key));if(r=o(r,a,"duplicate",(t=>!1===l.includes(t.__key))),0===r.length)return s();if(void 0!==this.maxTotalSize){let t=!0===i?n.reduce(((t,e)=>t+e.size),0):0;if(r=o(r,a,"max-total-size",(e=>(t+=e.size,t<=this.maxTotalSizeNumber))),0===r.length)return s()}if("function"===typeof this.filter){const t=this.filter(r);r=o(r,a,"filter",(e=>t.includes(e)))}if(void 0!==this.maxFiles){let t=!0===i?n.length:0;if(r=o(r,a,"max-files",(()=>(t++,t<=this.maxFilesNumber))),0===r.length)return s()}return s(),r.length>0?r:void 0},__onDragOver(t){a(t),!0!==this.dnd&&(this.dnd=!0)},__onDragLeave(t){Object(i["l"])(t),t.relatedTarget!==this.$refs.dnd&&(this.dnd=!1)},__onDrop(t){a(t);const e=t.dataTransfer.files;e.length>0&&this.__addFiles(null,e),this.dnd=!1},__getDnd(t,e){if(!0===this.dnd)return t("div",{staticClass:`q-${e}__dnd absolute-full`,ref:"dnd",on:Object(r["b"])(this,"dnd",{dragenter:a,dragover:a,dragleave:this.__onDragLeave,drop:this.__onDrop})})}}};const s={computed:{formDomProps(){if("file"===this.type)try{const t="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(this.value)===this.value&&("length"in this.value?Array.from(this.value):[this.value]).forEach((e=>{t.items.add(e)})),{files:t.files}}catch(t){return{files:void 0}}}}}},cdf9:function(t,e,n){var i=n("825a"),r=n("861d"),o=n("f069");t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},cee4:function(t,e,n){"use strict";var i=n("c532"),r=n("1d2b"),o=n("0a06"),a=n("4a7b"),s=n("2444");function l(t){var e=new o(t),n=r(o.prototype.request,e);return i.extend(n,o.prototype,e),i.extend(n,e),n}var u=l(s);u.Axios=o,u.create=function(t){return l(a(u.defaults,t))},u.Cancel=n("7a77"),u.CancelToken=n("8df4"),u.isCancel=n("2e67"),u.all=function(t){return Promise.all(t)},u.spread=n("0df6"),u.isAxiosError=n("5f02"),t.exports=u,t.exports.default=u},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d055:function(t,e,n){const i=n("67dd"),r=n("aa63"),o=n("4146"),a=n("4006");function s(t,e,n,o,a){const s=[].slice.call(arguments,1),l=s.length,u="function"===typeof s[l-1];if(!u&&!i())throw new Error("Callback required as last argument");if(!u){if(l<1)throw new Error("Too few arguments provided");return 1===l?(n=e,e=o=void 0):2!==l||e.getContext||(o=n,n=e,e=void 0),new Promise((function(i,a){try{const a=r.create(n,o);i(t(a,e,o))}catch(s){a(s)}}))}if(l<2)throw new Error("Too few arguments provided");2===l?(a=n,n=e,e=o=void 0):3===l&&(e.getContext&&"undefined"===typeof a?(a=o,o=void 0):(a=o,o=n,n=e,e=void 0));try{const i=r.create(n,o);a(null,t(i,e,o))}catch(c){a(c)}}e.create=r.create,e.toCanvas=s.bind(null,o.render),e.toDataURL=s.bind(null,o.renderToDataURL),e.toString=s.bind(null,(function(t,e,n){return a.render(t,n)}))},d066:function(t,e,n){var i=n("da84"),r=n("1626"),o=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(i[t]):i[t]&&i[t][e]}},d1e7:function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},d256:function(t,e,n){var i=n("da84");t.exports=i.Promise},d2bb:function(t,e,n){var i=n("e330"),r=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(n,[]),e=n instanceof Array}catch(a){}return function(n,i){return r(n),o(i),e?t(n,i):n.__proto__=i,n}}():void 0)},d44e:function(t,e,n){var i=n("9bf2").f,r=n("1a2d"),o=n("b622"),a=o("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!r(t,a)&&i(t,a,{configurable:!0,value:e})}},d51b:function(t,e,n){"use strict";var i=function(){function t(t){this.value=t}return t}(),r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e["a"]=o},d6c0:function(t,e,n){const i=n("7bf0").getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];const e=Math.floor(t/7)+2,n=i(t),r=145===n?26:2*Math.ceil((n-13)/(2*e-2)),o=[n-7];for(let i=1;i<e-1;i++)o[i]=o[i-1]-r;return o.push(6),o.reverse()},e.getPositions=function(t){const n=[],i=e.getRowColCoords(t),r=i.length;for(let e=0;e<r;e++)for(let t=0;t<r;t++)0===e&&0===t||0===e&&t===r-1||e===r-1&&0===t||n.push([i[e],i[t]]);return n}},d6d6:function(t,e){var n=TypeError;t.exports=function(t,e){if(t<e)throw n("Not enough arguments");return t}},d728:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));n("caad");let i=!1;function r(t){i=!0===t.isComposing}function o(t){return!0===i||t!==Object(t)||!0===t.isComposing||!0===t.qKeyEvent}function a(t,e){return!0!==o(t)&&[].concat(e).includes(t.keyCode)}},d784:function(t,e,n){"use strict";n("ac1f");var i=n("e330"),r=n("cb2d"),o=n("9263"),a=n("d039"),s=n("b622"),l=n("9112"),u=s("species"),c=RegExp.prototype;t.exports=function(t,e,n,h){var d=s(t),p=!a((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),f=p&&!a((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return e=!0,null},n[d](""),!e}));if(!p||!f||n){var g=i(/./[d]),m=e(d,""[t],(function(t,e,n,r,a){var s=i(t),l=e.exec;return l===o||l===c.exec?p&&!a?{done:!0,value:g(e,n,r)}:{done:!0,value:s(n,e,r)}:{done:!1}}));r(String.prototype,t,m[0]),r(c,d,m[1])}h&&l(c[d],"sham",!0)}},d847:function(t,e,n){"use strict";var i=n("2b0e"),r=n("b7fa"),o=n("87e8"),a=n("dde5");const s={role:"toolbar"};e["a"]=i["a"].extend({name:"QBar",mixins:[o["a"],r["a"]],props:{dense:Boolean},computed:{classes(){return`q-bar--${!0===this.dense?"dense":"standard"} q-bar--`+(!0===this.isDark?"dark":"light")}},render(t){return t("div",{staticClass:"q-bar row no-wrap items-center",class:this.classes,attrs:s,on:{...this.qListeners}},Object(a["c"])(this,"default"))}})},d882:function(t,e,n){"use strict";n.d(e,"f",(function(){return i})),n.d(e,"g",(function(){return o})),n.d(e,"e",(function(){return a})),n.d(e,"h",(function(){return s})),n.d(e,"d",(function(){return l})),n.d(e,"k",(function(){return u})),n.d(e,"i",(function(){return c})),n.d(e,"l",(function(){return h})),n.d(e,"m",(function(){return d})),n.d(e,"j",(function(){return p})),n.d(e,"c",(function(){return f})),n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return m}));n("ddb0");const i={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{var r=Object.defineProperty({},"passive",{get(){Object.assign(i,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,r),window.removeEventListener("qtest",null,r)}catch(v){}function o(){}function a(t){return 0===t.button}function s(t){return t.touches&&t.touches[0]?t=t.touches[0]:t.changedTouches&&t.changedTouches[0]?t=t.changedTouches[0]:t.targetTouches&&t.targetTouches[0]&&(t=t.targetTouches[0]),{top:t.clientY,left:t.clientX}}function l(t){if(t.path)return t.path;if(t.composedPath)return t.composedPath();const e=[];let n=t.target;while(n){if(e.push(n),"HTML"===n.tagName)return e.push(document),e.push(window),e;n=n.parentElement}}function u(t){t.stopPropagation()}function c(t){!1!==t.cancelable&&t.preventDefault()}function h(t){!1!==t.cancelable&&t.preventDefault(),t.stopPropagation()}function d(t){if(h(t),"mousedown"===t.type){const e=n=>{n.target===t.target&&h(n),document.removeEventListener("click",e,i.notPassiveCapture)};document.addEventListener("click",e,i.notPassiveCapture)}}function p(t,e){if(void 0===t||!0===e&&!0===t.__dragPrevented)return;const n=!0===e?t=>{t.__dragPrevented=!0,t.addEventListener("dragstart",c,i.notPassiveCapture)}:t=>{delete t.__dragPrevented,t.removeEventListener("dragstart",c,i.notPassiveCapture)};t.querySelectorAll("a, img").forEach(n)}function f(t,{bubbles:e=!1,cancelable:n=!1}={}){try{return new CustomEvent(t,{bubbles:e,cancelable:n})}catch(v){const r=document.createEvent("Event");return r.initEvent(t,e,n),r}}function g(t,e,n){const r=`__q_${e}_evt`;t[r]=void 0!==t[r]?t[r].concat(n):n,n.forEach((e=>{e[0].addEventListener(e[1],t[e[2]],i[e[3]])}))}function m(t,e){const n=`__q_${e}_evt`;void 0!==t[n]&&(t[n].forEach((e=>{e[0].removeEventListener(e[1],t[e[2]],i[e[3]])})),t[n]=void 0)}},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d998:function(t,e,n){var i=n("342f");t.exports=/MSIE|Trident/.test(i)},d9b5:function(t,e,n){var i=n("d066"),r=n("1626"),o=n("3a9b"),a=n("fdbf"),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return r(e)&&o(e.prototype,s(t))}},d9e2:function(t,e,n){var i=n("23e7"),r=n("da84"),o=n("2ba4"),a=n("e5cb"),s="WebAssembly",l=r[s],u=7!==Error("e",{cause:7}).cause,c=function(t,e){var n={};n[t]=a(t,e,u),i({global:!0,constructor:!0,arity:1,forced:u},n)},h=function(t,e){if(l&&l[t]){var n={};n[t]=a(s+"."+t,e,u),i({target:s,stat:!0,constructor:!0,arity:1,forced:u},n)}};c("Error",(function(t){return function(e){return o(t,this,arguments)}})),c("EvalError",(function(t){return function(e){return o(t,this,arguments)}})),c("RangeError",(function(t){return function(e){return o(t,this,arguments)}})),c("ReferenceError",(function(t){return function(e){return o(t,this,arguments)}})),c("SyntaxError",(function(t){return function(e){return o(t,this,arguments)}})),c("TypeError",(function(t){return function(e){return o(t,this,arguments)}})),c("URIError",(function(t){return function(e){return o(t,this,arguments)}})),h("CompileError",(function(t){return function(e){return o(t,this,arguments)}})),h("LinkError",(function(t){return function(e){return o(t,this,arguments)}})),h("RuntimeError",(function(t){return function(e){return o(t,this,arguments)}}))},da3d:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var i=n("6f24"),r=h(i),o=n("e8c9"),a=h(o),s=n("70b0"),l=h(s),u=n("ed3f"),c=h(u);function h(t){return t&&t.__esModule?t:{default:t}}e.CODE128=r.default,e.CODE128A=a.default,e.CODE128B=l.default,e.CODE128C=c.default},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("23b3"))},db86:function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("dde5");e["a"]=i["a"].extend({name:"QTd",mixins:[r["a"]],props:{props:Object,autoWidth:Boolean,noHover:Boolean},computed:{classes(){return"q-td"+(!0===this.autoWidth?" q-table--col-auto-width":"")+(!0===this.noHover?" q-td--no-hover":"")+" "}},render(t){const e=this.qListeners;if(void 0===this.props)return t("td",{on:e,class:this.classes},Object(o["c"])(this,"default"));const n=this.$vnode.key,i=void 0!==this.props.colsMap&&n?this.props.colsMap[n]:this.props.col;if(void 0===i)return;const r=this.props.row;return t("td",{on:e,style:i.__tdStyle(r),class:this.classes+i.__tdClass(r)},Object(o["c"])(this,"default"))}})},dc4a:function(t,e,n){var i=n("59ed");t.exports=function(t,e){var n=t[e];return null==n?void 0:i(n)}},dca2:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(t,n){i(this,e);var o=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.name="InvalidInputException",o.symbology=t,o.input=n,o.message='"'+o.input+'" is not a valid input for '+o.symbology,o}return o(e,t),e}(Error),s=function(t){function e(){i(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="InvalidElementException",t.message="Not supported type to render on",t}return o(e,t),e}(Error),l=function(t){function e(){i(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="NoElementException",t.message="No element to render on.",t}return o(e,t),e}(Error);e.InvalidInputException=a,e.InvalidElementException=s,e.NoElementException=l},dd7e:function(t,e,n){const i=n("bbf0");function r(t){this.mode=i.NUMERIC,this.data=t.toString()}r.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){let e,n,i;for(e=0;e+3<=this.data.length;e+=3)n=this.data.substr(e,3),i=parseInt(n,10),t.put(i,10);const r=this.data.length-e;r>0&&(n=this.data.substr(e),i=parseInt(n,10),t.put(i,3*r+1))},t.exports=r},dd82:function(t,e,n){},ddb0:function(t,e,n){var i=n("da84"),r=n("fdbc"),o=n("785a"),a=n("e260"),s=n("9112"),l=n("b622"),u=l("iterator"),c=l("toStringTag"),h=a.values,d=function(t,e){if(t){if(t[u]!==h)try{s(t,u,h)}catch(i){t[u]=h}if(t[c]||s(t,c,e),r[e])for(var n in a)if(t[n]!==a[n])try{s(t,n,a[n])}catch(i){t[n]=a[n]}}};for(var p in r)d(i[p]&&i[p].prototype,p);d(o,"DOMTokenList")},ddd8:function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("8572"),o=n("0016"),a=n("b7fa"),s=n("3d69"),l=n("6642"),u=n("d882"),c=n("dde5"),h=n("0cd3"),d=i["a"].extend({name:"QChip",mixins:[s["a"],a["a"],Object(l["b"])({xs:8,sm:10,md:14,lg:20,xl:24})],model:{event:"remove"},props:{dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,value:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,tabindex:[String,Number],disable:Boolean},computed:{classes(){const t=!0===this.outline&&this.color||this.textColor;return{[`bg-${this.color}`]:!1===this.outline&&void 0!==this.color,[`text-${t} q-chip--colored`]:t,disabled:this.disable,"q-chip--dense":this.dense,"q-chip--outline":this.outline,"q-chip--selected":this.selected,"q-chip--clickable cursor-pointer non-selectable q-hoverable":this.isClickable,"q-chip--square":this.square,"q-chip--dark q-dark":this.isDark}},hasLeftIcon(){return!0===this.selected||void 0!==this.icon},leftIcon(){return!0===this.selected?this.iconSelected||this.$q.iconSet.chip.selected:this.icon},removeIcon(){return this.iconRemove||this.$q.iconSet.chip.remove},isClickable(){return!1===this.disable&&(!0===this.clickable||null!==this.selected)},attrs(){return!0===this.disable?{tabindex:-1,"aria-disabled":"true"}:{tabindex:this.tabindex||0}}},methods:{__onKeyup(t){13===t.keyCode&&this.__onClick(t)},__onClick(t){this.disable||(this.$emit("update:selected",!this.selected),this.$emit("click",t))},__onRemove(t){void 0!==t.keyCode&&13!==t.keyCode||(Object(u["l"])(t),!this.disable&&this.$emit("remove",!1))},__getContent(t){const e=[];!0===this.isClickable&&e.push(t("div",{staticClass:"q-focus-helper"})),!0===this.hasLeftIcon&&e.push(t(o["a"],{staticClass:"q-chip__icon q-chip__icon--left",props:{name:this.leftIcon}}));const n=void 0!==this.label?[t("div",{staticClass:"ellipsis"},[this.label])]:void 0;return e.push(t("div",{staticClass:"q-chip__content col row no-wrap items-center q-anchor--skip"},Object(c["b"])(n,this,"default"))),this.iconRight&&e.push(t(o["a"],{staticClass:"q-chip__icon q-chip__icon--right",props:{name:this.iconRight}})),!0===this.removable&&e.push(t(o["a"],{staticClass:"q-chip__icon q-chip__icon--remove cursor-pointer",props:{name:this.removeIcon},attrs:this.attrs,on:Object(h["b"])(this,"non",{click:this.__onRemove,keyup:this.__onRemove})})),e}},render(t){if(!1===this.value)return;const e={staticClass:"q-chip row inline no-wrap items-center",class:this.classes,style:this.sizeStyle};return!0===this.isClickable&&Object.assign(e,{attrs:this.attrs,on:Object(h["b"])(this,"click",{click:this.__onClick,keyup:this.__onKeyup}),directives:Object(h["b"])(this,"dir#"+this.ripple,[{name:"ripple",value:this.ripple}])}),t("div",e,this.__getContent(t))}}),p=n("66e5"),f=n("4074"),g=n("0170"),m=n("4e73"),v=n("24e8"),y=n("5ff7"),b=n("7937"),_=n("d728"),x=n("f89c"),w=n("e48b"),S=n("21e1"),C=n("87e8"),k=n("0967");const M=t=>["add","add-unique","toggle"].includes(t),O=".*+?^${}()|[]\\";e["a"]=i["a"].extend({name:"QSelect",mixins:[r["a"],w["b"],S["a"],x["a"],C["a"]],props:{value:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueSanitize:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsSanitize:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:M},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:String,transitionHide:String,behavior:{type:String,validator:t=>["default","menu","dialog"].includes(t),default:"default"},virtualScrollItemSize:{type:[Number,String],default:void 0}},data(){return{menu:!1,dialog:!1,optionIndex:-1,inputValue:"",dialogFieldFocused:!1}},watch:{innerValue:{handler(t){this.innerValueCache=t,!0===this.useInput&&!0===this.fillInput&&!0!==this.multiple&&!0!==this.innerLoading&&(!0!==this.dialog&&!0!==this.menu||!0!==this.hasValue)&&(!0!==this.userInputValue&&this.__resetInputValue(),!0!==this.dialog&&!0!==this.menu||this.filter(""))},immediate:!0},fillInput(){this.__resetInputValue()},menu(t){this.__updateMenu(t)},virtualScrollLength(t,e){!0===this.menu&&!1===this.innerLoading&&(this.__resetVirtualScroll(-1,!0),this.$nextTick((()=>{!0===this.menu&&!1===this.innerLoading&&(t>e?this.__resetVirtualScroll():this.__updateMenu(!0))})))}},computed:{isOptionsDark(){return null===this.optionsDark?this.isDark:this.optionsDark},virtualScrollLength(){return Array.isArray(this.options)?this.options.length:0},fieldClass(){return`q-select q-field--auto-height q-select--with${!0!==this.useInput?"out":""}-input q-select--with${!0!==this.useChips?"out":""}-chips q-select--`+(!0===this.multiple?"multiple":"single")},computedInputClass(){return!0===this.hideSelected||0===this.innerValue.length?this.inputClass:void 0===this.inputClass?"q-field__input--padding":[this.inputClass,"q-field__input--padding"]},menuContentClass(){return(!0===this.virtualScrollHorizontal?"q-virtual-scroll--horizontal":"")+(this.popupContentClass?" "+this.popupContentClass:"")},innerValue(){const t=!0===this.mapOptions&&!0!==this.multiple,e=void 0===this.value||null===this.value&&!0!==t?[]:!0===this.multiple&&Array.isArray(this.value)?this.value:[this.value];if(!0===this.mapOptions&&!0===Array.isArray(this.options)){const n=!0===this.mapOptions&&void 0!==this.innerValueCache?this.innerValueCache:[],i=e.map((t=>this.__getOption(t,n)));return null===this.value&&!0===t?i.filter((t=>null!==t)):i}return e},noOptions(){return 0===this.virtualScrollLength},selectedString(){return this.innerValue.map((t=>this.getOptionLabel(t))).join(", ")},sanitizeFn(){return!0===this.optionsSanitize?()=>!0:t=>void 0!==t&&null!==t&&!0===t.sanitize},displayAsText(){return!0===this.displayValueSanitize||void 0===this.displayValue&&(!0===this.optionsSanitize||this.innerValue.some(this.sanitizeFn))},computedTabindex(){return!0===this.focused?this.tabindex:-1},selectedScope(){return this.innerValue.map(((t,e)=>({index:e,opt:t,sanitize:this.sanitizeFn(t),selected:!0,removeAtIndex:this.__removeAtIndexAndFocus,toggleOption:this.toggleOption,tabindex:this.computedTabindex})))},optionScope(){if(0===this.virtualScrollLength)return[];const{from:t,to:e}=this.virtualScrollSliceRange,{options:n,optionEls:i}=this.__optionScopeCache;return this.options.slice(t,e).map(((e,r)=>{const o=this.isOptionDisabled(e),a=t+r,s={clickable:!0,active:!1,activeClass:this.computedOptionsSelectedClass,manualFocus:!0,focused:!1,disable:o,tabindex:-1,dense:this.optionsDense,dark:this.isOptionsDark},l={role:"option",id:`${this.targetUid}_${a}`};!0!==o&&(!0===this.isOptionSelected(e)&&(s.active=!0),l["aria-selected"]=!0===s.active?"true":"false",this.optionIndex===a&&(s.focused=!0));const u={click:()=>{this.toggleOption(e)}};!0===this.$q.platform.is.desktop&&(u.mousemove=()=>{!0===this.menu&&this.setOptionIndex(a)});const c={index:a,opt:e,sanitize:this.sanitizeFn(e),selected:s.active,focused:s.focused,toggleOption:this.toggleOption,setOptionIndex:this.setOptionIndex,itemProps:s,itemAttrs:l};return void 0!==n[r]&&!0===Object(y["b"])(c,n[r])||(n[r]=c,i[r]=void 0),{...c,itemEvents:u}}))},dropdownArrowIcon(){return void 0!==this.dropdownIcon?this.dropdownIcon:this.$q.iconSet.arrow.dropdown},squaredMenu(){return!1===this.optionsCover&&!0!==this.outlined&&!0!==this.standout&&!0!==this.borderless&&!0!==this.rounded},computedOptionsSelectedClass(){return void 0!==this.optionsSelectedClass?this.optionsSelectedClass:void 0!==this.color?`text-${this.color}`:""},innerOptionsValue(){return this.innerValue.map((t=>this.getOptionValue(t)))},getOptionValue(){return this.__getPropValueFn("optionValue","value")},getOptionLabel(){return this.__getPropValueFn("optionLabel","label")},isOptionDisabled(){const t=this.__getPropValueFn("optionDisable","disable");return(...e)=>!0===t.apply(null,e)},inputControlEvents(){const t={input:this.__onInput,change:this.__onChange,keydown:this.__onTargetKeydown,keyup:this.__onTargetAutocomplete,keypress:this.__onTargetKeypress,focus:this.__selectInputText,click:t=>{!0===this.hasDialog&&Object(u["k"])(t)}};return t.compositionstart=t.compositionupdate=t.compositionend=this.__onComposition,t},virtualScrollItemSizeComputed(){return void 0===this.virtualScrollItemSize?!0===this.optionsDense?24:48:this.virtualScrollItemSize},comboboxAttrs(){return{role:"combobox","aria-multiselectable":!0===this.multiple?"true":"false","aria-expanded":!0===this.menu?"true":"false","aria-owns":`${this.targetUid}_lb`,"aria-activedescendant":`${this.targetUid}_${this.optionIndex}`}},listboxAttrs(){return{role:"listbox",id:`${this.targetUid}_lb`}}},methods:{getEmittingOptionValue(t){return!0===this.emitValue?this.getOptionValue(t):t},removeAtIndex(t){if(t>-1&&t<this.innerValue.length)if(!0===this.multiple){const e=this.value.slice();this.$emit("remove",{index:t,value:e.splice(t,1)[0]}),this.$emit("input",e)}else this.$emit("input",null)},__removeAtIndexAndFocus(t){this.removeAtIndex(t),this.__focus()},add(t,e){const n=this.getEmittingOptionValue(t);if(!0!==this.multiple)return!0===this.fillInput&&this.updateInputValue(this.getOptionLabel(t),!0,!0),void this.$emit("input",n);if(0===this.innerValue.length)return this.$emit("add",{index:0,value:n}),void this.$emit("input",!0===this.multiple?[n]:n);if(!0===e&&!0===this.isOptionSelected(t))return;if(void 0!==this.maxValues&&this.value.length>=this.maxValues)return;const i=this.value.slice();this.$emit("add",{index:i.length,value:n}),i.push(n),this.$emit("input",i)},toggleOption(t,e){if(!0!==this.editable||void 0===t||!0===this.isOptionDisabled(t))return;const n=this.getOptionValue(t);if(!0!==this.multiple)return!0!==e&&(this.updateInputValue(!0===this.fillInput?this.getOptionLabel(t):"",!0,!0),this.hidePopup()),void 0!==this.$refs.target&&this.$refs.target.focus(),void(0!==this.innerValue.length&&!0===Object(y["b"])(this.getOptionValue(this.innerValue[0]),n)||this.$emit("input",!0===this.emitValue?n:t));if((!0!==this.hasDialog||!0===this.dialogFieldFocused)&&this.__focus(),this.__selectInputText(),0===this.innerValue.length){const e=!0===this.emitValue?n:t;return this.$emit("add",{index:0,value:e}),void this.$emit("input",!0===this.multiple?[e]:e)}const i=this.value.slice(),r=this.innerOptionsValue.findIndex((t=>Object(y["b"])(t,n)));if(r>-1)this.$emit("remove",{index:r,value:i.splice(r,1)[0]});else{if(void 0!==this.maxValues&&i.length>=this.maxValues)return;const e=!0===this.emitValue?n:t;this.$emit("add",{index:i.length,value:e}),i.push(e)}this.$emit("input",i)},setOptionIndex(t){if(!0!==this.$q.platform.is.desktop)return;const e=t>-1&&t<this.virtualScrollLength?t:-1;this.optionIndex!==e&&(this.optionIndex=e)},moveOptionSelection(t=1,e){if(!0===this.menu){let n=this.optionIndex;do{n=Object(b["d"])(n+t,-1,this.virtualScrollLength-1)}while(-1!==n&&n!==this.optionIndex&&!0===this.isOptionDisabled(this.options[n]));this.optionIndex!==n&&(this.setOptionIndex(n),this.scrollTo(n),!0!==e&&!0===this.useInput&&!0===this.fillInput&&this.__setInputValue(n>=0?this.getOptionLabel(this.options[n]):this.defaultInputValue))}},__getOption(t,e){const n=e=>Object(y["b"])(this.getOptionValue(e),t);return this.options.find(n)||e.find(n)||t},__getPropValueFn(t,e){const n=void 0!==this[t]?this[t]:e;return"function"===typeof n?n:t=>null!==t&&"object"===typeof t&&n in t?t[n]:t},isOptionSelected(t){const e=this.getOptionValue(t);return void 0!==this.innerOptionsValue.find((t=>Object(y["b"])(t,e)))},__selectInputText(t){!0===this.useInput&&void 0!==this.$refs.target&&(void 0===t||this.$refs.target===t.target&&t.target.value===this.selectedString)&&this.$refs.target.select()},__onTargetKeyup(t){!0===Object(_["a"])(t,27)&&!0===this.menu&&(Object(u["k"])(t),this.hidePopup(),this.__resetInputValue()),this.$emit("keyup",t)},__onTargetAutocomplete(t){const{value:e}=t.target;if(void 0===t.keyCode)if(t.target.value="",clearTimeout(this.inputTimer),this.__resetInputValue(),"string"===typeof e&&e.length>0){const t=e.toLocaleLowerCase(),n=e=>{const n=this.options.find((n=>e(n).toLocaleLowerCase()===t));return void 0!==n&&(-1===this.innerValue.indexOf(n)?this.toggleOption(n):this.hidePopup(),!0)},i=t=>{!0!==n(this.getOptionValue)&&!0!==n(this.getOptionLabel)&&!0!==t&&this.filter(e,!0,(()=>i(!0)))};i()}else this.__clearValue(t);else this.__onTargetKeyup(t)},__onTargetKeypress(t){this.$emit("keypress",t)},__onTargetKeydown(t){if(this.$emit("keydown",t),!0===Object(_["c"])(t))return;const e=this.inputValue.length>0&&(void 0!==this.newValueMode||void 0!==this.qListeners["new-value"]),n=!0!==t.shiftKey&&!0!==this.multiple&&(this.optionIndex>-1||!0===e);if(27===t.keyCode)return void Object(u["i"])(t);if(9===t.keyCode&&!1===n)return void this.__closeMenu();if(void 0===t.target||t.target.id!==this.targetUid)return;if(40===t.keyCode&&!0!==this.innerLoading&&!1===this.menu)return Object(u["l"])(t),void this.showPopup();if(8===t.keyCode&&!0!==this.hideSelected&&0===this.inputValue.length)return void(!0===this.multiple&&Array.isArray(this.value)?this.removeAtIndex(this.value.length-1):!0!==this.multiple&&null!==this.value&&this.$emit("input",null));35!==t.keyCode&&36!==t.keyCode||"string"===typeof this.inputValue&&0!==this.inputValue.length||(Object(u["l"])(t),this.optionIndex=-1,this.moveOptionSelection(36===t.keyCode?1:-1,this.multiple)),33!==t.keyCode&&34!==t.keyCode||void 0===this.virtualScrollSliceSizeComputed||(Object(u["l"])(t),this.optionIndex=Math.max(-1,Math.min(this.virtualScrollLength,this.optionIndex+(33===t.keyCode?-1:1)*this.virtualScrollSliceSizeComputed.view)),this.moveOptionSelection(33===t.keyCode?1:-1,this.multiple)),38!==t.keyCode&&40!==t.keyCode||(Object(u["l"])(t),this.moveOptionSelection(38===t.keyCode?-1:1,this.multiple));const i=this.virtualScrollLength;if((void 0===this.searchBuffer||this.searchBufferExp<Date.now())&&(this.searchBuffer=""),i>0&&!0!==this.useInput&&void 0!==t.key&&1===t.key.length&&t.altKey===t.ctrlKey&&(32!==t.keyCode||this.searchBuffer.length>0)){!0!==this.menu&&this.showPopup(t);const e=t.key.toLocaleLowerCase(),n=1===this.searchBuffer.length&&this.searchBuffer[0]===e;this.searchBufferExp=Date.now()+1500,!1===n&&(Object(u["l"])(t),this.searchBuffer+=e);const r=new RegExp("^"+this.searchBuffer.split("").map((t=>O.indexOf(t)>-1?"\\"+t:t)).join(".*"),"i");let o=this.optionIndex;if(!0===n||o<0||!0!==r.test(this.getOptionLabel(this.options[o])))do{o=Object(b["d"])(o+1,-1,i-1)}while(o!==this.optionIndex&&(!0===this.isOptionDisabled(this.options[o])||!0!==r.test(this.getOptionLabel(this.options[o]))));this.optionIndex!==o&&this.$nextTick((()=>{this.setOptionIndex(o),this.scrollTo(o),o>=0&&!0===this.useInput&&!0===this.fillInput&&this.__setInputValue(this.getOptionLabel(this.options[o]))}))}else if(13===t.keyCode||32===t.keyCode&&!0!==this.useInput&&""===this.searchBuffer||9===t.keyCode&&!1!==n)if(9!==t.keyCode&&Object(u["l"])(t),this.optionIndex>-1&&this.optionIndex<i)this.toggleOption(this.options[this.optionIndex]);else{if(!0===e){const t=(t,e)=>{if(e){if(!0!==M(e))return}else e=this.newValueMode;void 0!==t&&null!==t&&(this.updateInputValue("",!0!==this.multiple,!0),this["toggle"===e?"toggleOption":"add"](t,"add-unique"===e),!0!==this.multiple&&(void 0!==this.$refs.target&&this.$refs.target.focus(),this.hidePopup()))};if(void 0!==this.qListeners["new-value"]?this.$emit("new-value",this.inputValue,t):t(this.inputValue),!0!==this.multiple)return}!0===this.menu?this.__closeMenu():!0!==this.innerLoading&&this.showPopup()}},__getVirtualScrollEl(){return!0===this.hasDialog?this.$refs.menuContent:void 0!==this.$refs.menu&&void 0!==this.$refs.menu.__portal?this.$refs.menu.__portal.$el:void 0},__getVirtualScrollTarget(){return this.__getVirtualScrollEl()},__getSelection(t){return!0===this.hideSelected?[]:void 0!==this.$scopedSlots["selected-item"]?this.selectedScope.map((t=>this.$scopedSlots["selected-item"](t))).slice():void 0!==this.$scopedSlots.selected?[].concat(this.$scopedSlots.selected()):!0===this.useChips?this.selectedScope.map(((e,n)=>t(d,{key:"option-"+n,props:{removable:!0===this.editable&&!0!==this.isOptionDisabled(e.opt),dense:!0,textColor:this.color,tabindex:this.computedTabindex},on:Object(h["b"])(this,"rem#"+n,{remove(){e.removeAtIndex(n)}})},[t("span",{staticClass:"ellipsis",domProps:{[!0===e.sanitize?"textContent":"innerHTML"]:this.getOptionLabel(e.opt)}})]))):[t("span",{domProps:{[this.displayAsText?"textContent":"innerHTML"]:void 0!==this.displayValue?this.displayValue:this.selectedString}})]},__getControl(t,e){const n=this.__getSelection(t),i=!0===e||!0!==this.dialog||!0!==this.hasDialog;if(!0===this.useInput)n.push(this.__getInput(t,e,i));else if(!0===this.editable){const r=!0===i?this.comboboxAttrs:void 0;n.push(t("div",{ref:!0===i?"target":void 0,key:"d_t",staticClass:"q-select__focus-target",attrs:{id:!0===i?this.targetUid:void 0,tabindex:this.tabindex,"data-autofocus":!0!==e&&this.autofocus||void 0,...r},on:Object(h["b"])(this,"f-tget",{keydown:this.__onTargetKeydown,keyup:this.__onTargetKeyup,keypress:this.__onTargetKeypress})})),!0===i&&"string"===typeof this.autocomplete&&this.autocomplete.length>0&&n.push(t("input",{staticClass:"q-select__autocomplete-input",attrs:{autocomplete:this.autocomplete},on:Object(h["b"])(this,"autoinp",{keyup:this.__onTargetAutocomplete})}))}if(void 0!==this.nameProp&&!0!==this.disable&&this.innerOptionsValue.length>0){const e=this.innerOptionsValue.map((e=>t("option",{attrs:{value:e,selected:!0}})));n.push(t("select",{staticClass:"hidden",attrs:{name:this.nameProp,multiple:this.multiple}},e))}const r=!0===this.useInput||!0!==i?void 0:this.qAttrs;return t("div",{staticClass:"q-field__native row items-center",attrs:r},n)},__getOptions(t){if(!0!==this.menu)return;void 0!==this.$scopedSlots.option&&this.__optionScopeCache.optionSlot!==this.$scopedSlots.option&&(this.__optionScopeCache.optionSlot=this.$scopedSlots.option,this.__optionScopeCache.optionEls=[]);const e=void 0!==this.$scopedSlots.option?this.$scopedSlots.option:e=>t(p["a"],{key:e.index,props:e.itemProps,attrs:e.itemAttrs,on:e.itemEvents},[t(f["a"],[t(g["a"],{domProps:{[!0===e.sanitize?"textContent":"innerHTML"]:this.getOptionLabel(e.opt)}})])]),{optionEls:n}=this.__optionScopeCache;let i=this.__padVirtualScroll(t,"div",this.optionScope.map(((t,i)=>(void 0===n[i]&&(n[i]=e(t)),n[i]))));return void 0!==this.$scopedSlots["before-options"]&&(i=this.$scopedSlots["before-options"]().concat(i)),Object(c["a"])(i,this,"after-options")},__getInnerAppend(t){return!0!==this.loading&&!0!==this.innerLoadingIndicator&&!0!==this.hideDropdownIcon?[t(o["a"],{staticClass:"q-select__dropdown-icon"+(!0===this.menu?" rotate-180":""),props:{name:this.dropdownArrowIcon}})]:null},__getInput(t,e,n){const i=!0===n?{...this.comboboxAttrs,...this.qAttrs}:void 0,r={ref:!0===n?"target":void 0,key:"i_t",staticClass:"q-field__input q-placeholder col",style:this.inputStyle,class:this.computedInputClass,domProps:{value:void 0!==this.inputValue?this.inputValue:""},attrs:{type:"search",...i,id:!0===n?this.targetUid:void 0,maxlength:this.maxlength,tabindex:this.tabindex,autocomplete:this.autocomplete,"data-autofocus":!0!==e&&this.autofocus||void 0,disabled:!0===this.disable,readonly:!0===this.readonly},on:this.inputControlEvents};return!0!==e&&!0===this.hasDialog&&(r.staticClass+=" no-pointer-events"),t("input",r)},__onChange(t){this.__onComposition(t)},__onInput(t){clearTimeout(this.inputTimer),t&&t.target&&!0===t.target.qComposing||(this.__setInputValue(t.target.value||""),this.userInputValue=!0,this.defaultInputValue=this.inputValue,!0===this.focused||!0===this.hasDialog&&!0!==this.dialogFieldFocused||this.__focus(),void 0!==this.qListeners.filter&&(this.inputTimer=setTimeout((()=>{this.filter(this.inputValue)}),this.inputDebounce)))},__setInputValue(t){this.inputValue!==t&&(this.inputValue=t,this.$emit("input-value",t))},updateInputValue(t,e,n){this.userInputValue=!0!==n,!0===this.useInput&&(this.__setInputValue(t),!0!==e&&!0===n||(this.defaultInputValue=t),!0!==e&&this.filter(t))},filter(t,e,n){if(void 0===this.qListeners.filter||!0!==e&&!0!==this.focused)return;!0===this.innerLoading?this.$emit("filter-abort"):(this.innerLoading=!0,this.innerLoadingIndicator=!0),""!==t&&!0!==this.multiple&&this.innerValue.length>0&&!0!==this.userInputValue&&t===this.getOptionLabel(this.innerValue[0])&&(t="");const i=setTimeout((()=>{!0===this.menu&&(this.menu=!1)}),10);clearTimeout(this.filterId),this.filterId=i,this.$emit("filter",t,((t,r)=>{!0!==e&&!0!==this.focused||this.filterId!==i||(clearTimeout(this.filterId),"function"===typeof t&&t(),this.innerLoadingIndicator=!1,this.$nextTick((()=>{this.innerLoading=!1,!0===this.editable&&(!0===e?!0===this.menu&&this.hidePopup():!0===this.menu?this.__updateMenu(!0):this.menu=!0),"function"===typeof r&&this.$nextTick((()=>{r(this)})),"function"===typeof n&&this.$nextTick((()=>{n(this)}))})))}),(()=>{!0===this.focused&&this.filterId===i&&(clearTimeout(this.filterId),this.innerLoading=!1,this.innerLoadingIndicator=!1),!0===this.menu&&(this.menu=!1)}))},__getControlEvents(){const t=t=>{this.__onControlFocusout(t,(()=>{this.__resetInputValue(),this.__closeMenu()}))};return{focusin:this.__onControlFocusin,focusout:t,"popup-show":this.__onControlPopupShow,"popup-hide":e=>{void 0!==e&&Object(u["k"])(e),this.$emit("popup-hide",e),this.hasPopupOpen=!1,t(e)},click:t=>{if(!0!==this.hasDialog&&(Object(u["i"])(t),!0===this.menu))return this.__closeMenu(),void(void 0!==this.$refs.target&&this.$refs.target.focus());this.showPopup(t)}}},__getControlChild(t){if(!1!==this.editable&&(!0===this.dialog||!0!==this.noOptions||void 0!==this.$scopedSlots["no-option"]))return this["__get"+(!0===this.hasDialog?"Dialog":"Menu")](t)},__getMenu(t){const e=!0===this.noOptions?void 0!==this.$scopedSlots["no-option"]?this.$scopedSlots["no-option"]({inputValue:this.inputValue}):null:this.__getOptions(t);return t(m["a"],{ref:"menu",props:{value:this.menu,fit:!0!==this.menuShrink,cover:!0===this.optionsCover&&!0!==this.noOptions&&!0!==this.useInput,anchor:this.menuAnchor,self:this.menuSelf,offset:this.menuOffset,contentClass:this.menuContentClass,contentStyle:this.popupContentStyle,dark:this.isOptionsDark,noParentEvent:!0,noRefocus:!0,noFocus:!0,square:this.squaredMenu,transitionShow:this.transitionShow,transitionHide:this.transitionHide,separateClosePopup:!0},attrs:this.listboxAttrs,on:Object(h["b"])(this,"menu",{"&scroll":this.__onVirtualScrollEvt,"before-hide":this.__closeMenu,show:this.__onMenuShow})},e)},__onMenuShow(){this.__setVirtualScrollSize()},__onDialogFieldFocus(t){Object(u["k"])(t),void 0!==this.$refs.target&&this.$refs.target.focus(),this.dialogFieldFocused=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)},__onDialogFieldBlur(t){Object(u["k"])(t),this.$nextTick((()=>{this.dialogFieldFocused=!1}))},__getDialog(t){const e=[t(r["a"],{staticClass:`col-auto ${this.fieldClass}`,props:{...this.$props,for:this.targetUid,dark:this.isOptionsDark,square:!0,filled:!0,itemAligned:!1,loading:this.innerLoadingIndicator,stackLabel:this.inputValue.length>0},on:{...this.qListeners,focus:this.__onDialogFieldFocus,blur:this.__onDialogFieldBlur},scopedSlots:{...this.$scopedSlots,rawControl:()=>this.__getControl(t,!0),before:void 0,after:void 0}})];return!0===this.menu&&e.push(t("div",{ref:"menuContent",staticClass:"scroll",class:this.menuContentClass,style:this.popupContentStyle,attrs:this.listboxAttrs,on:Object(h["b"])(this,"virtMenu",{click:u["i"],"&scroll":this.__onVirtualScrollEvt})},!0===this.noOptions?void 0!==this.$scopedSlots["no-option"]?this.$scopedSlots["no-option"]({inputValue:this.inputValue}):null:this.__getOptions(t))),t(v["a"],{ref:"dialog",props:{value:this.dialog,dark:this.isOptionsDark,position:!0===this.useInput?"top":void 0,transitionShow:this.transitionShowComputed,transitionHide:this.transitionHide},on:Object(h["b"])(this,"dialog",{"before-hide":this.__onDialogBeforeHide,hide:this.__onDialogHide,show:this.__onDialogShow})},[t("div",{staticClass:"q-select__dialog"+(!0===this.isOptionsDark?" q-select__dialog--dark q-dark":"")+(!0===this.dialogFieldFocused?" q-select__dialog--focused":"")},e)])},__onDialogBeforeHide(){!0!==k["a"].is.mobile&&(this.$refs.dialog.__refocusTarget=this.$el.querySelector(".q-field__native > [tabindex]:last-child")),this.focused=!1},__onDialogHide(t){this.hidePopup(),!1===this.focused&&this.$emit("blur",t),this.__resetInputValue()},__onDialogShow(){const t=document.activeElement;null!==t&&t.id===this.targetUid||this.$refs.target===t||void 0===this.$refs.target||this.$refs.target.focus(),this.__setVirtualScrollSize()},__closeMenu(){void 0!==this.__optionScopeCache&&(this.__optionScopeCache.optionEls=[]),!0!==this.dialog&&(this.optionIndex=-1,!0===this.menu&&(this.menu=!1),!1===this.focused&&(clearTimeout(this.filterId),this.filterId=void 0,!0===this.innerLoading&&(this.$emit("filter-abort"),this.innerLoading=!1,this.innerLoadingIndicator=!1)))},showPopup(t){!0===this.editable&&(!0===this.hasDialog?(this.__onControlFocusin(t),this.dialog=!0,this.$nextTick((()=>{this.__focus()}))):this.__focus(),void 0!==this.qListeners.filter?this.filter(this.inputValue):!0===this.noOptions&&void 0===this.$scopedSlots["no-option"]||(this.menu=!0))},hidePopup(){this.dialog=!1,this.__closeMenu()},__resetInputValue(){!0===this.useInput&&this.updateInputValue(!0!==this.multiple&&!0===this.fillInput&&this.innerValue.length>0&&this.getOptionLabel(this.innerValue[0])||"",!0,!0)},__updateMenu(t){let e=-1;if(!0===t){if(this.innerValue.length>0){const t=this.getOptionValue(this.innerValue[0]);e=this.options.findIndex((e=>Object(y["b"])(this.getOptionValue(e),t)))}this.__resetVirtualScroll(e)}this.setOptionIndex(e)},__onPreRender(){this.hasDialog=(!0===this.$q.platform.is.mobile||"dialog"===this.behavior)&&("menu"!==this.behavior&&(!0!==this.useInput||(void 0!==this.$scopedSlots["no-option"]||void 0!==this.qListeners.filter||!1===this.noOptions))),this.transitionShowComputed=!0===this.hasDialog&&!0===this.useInput&&!0===this.$q.platform.is.ios?"fade":this.transitionShow},__onPostRender(){!1===this.dialog&&void 0!==this.$refs.menu&&this.$refs.menu.updatePosition()},updateMenuPosition(){this.__onPostRender()}},beforeMount(){this.__optionScopeCache={optionSlot:this.$scopedSlots.option,options:[],optionEls:[]}},beforeDestroy(){this.__optionScopeCache=void 0,clearTimeout(this.inputTimer)}})},dde5:function(t,e,n){"use strict";function i(t,e,n){return void 0!==t.$scopedSlots[e]?t.$scopedSlots[e]():n}function r(t,e,n){return void 0!==t.$scopedSlots[e]?[].concat(t.$scopedSlots[e]()):n}function o(t,e,n){return void 0!==e.$scopedSlots[n]?t.concat(e.$scopedSlots[n]()):t}function a(t,e,n){if(void 0===e.$scopedSlots[n])return t;const i=e.$scopedSlots[n]();return void 0!==t?t.concat(i):i}n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}))},de5e:function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r=n("87e8"),o=n("dde5");e["a"]=i["a"].extend({name:"QPageSticky",mixins:[r["a"]],inject:{layout:{default(){console.error("QPageSticky needs to be child of QLayout")}}},props:{position:{type:String,default:"bottom-right",validator:t=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(t)},offset:{type:Array,validator:t=>2===t.length},expand:Boolean},computed:{attach(){const t=this.position;return{top:t.indexOf("top")>-1,right:t.indexOf("right")>-1,bottom:t.indexOf("bottom")>-1,left:t.indexOf("left")>-1,vertical:"top"===t||"bottom"===t,horizontal:"left"===t||"right"===t}},top(){return this.layout.header.offset},right(){return this.layout.right.offset},bottom(){return this.layout.footer.offset},left(){return this.layout.left.offset},style(){let t=0,e=0;const n=this.attach,i=!0===this.$q.lang.rtl?-1:1;!0===n.top&&0!==this.top?e=`${this.top}px`:!0===n.bottom&&0!==this.bottom&&(e=-this.bottom+"px"),!0===n.left&&0!==this.left?t=i*this.left+"px":!0===n.right&&0!==this.right&&(t=-i*this.right+"px");const r={transform:`translate(${t}, ${e})`};return this.offset&&(r.margin=`${this.offset[1]}px ${this.offset[0]}px`),!0===n.vertical?(0!==this.left&&(r[!0===this.$q.lang.rtl?"right":"left"]=`${this.left}px`),0!==this.right&&(r[!0===this.$q.lang.rtl?"left":"right"]=`${this.right}px`)):!0===n.horizontal&&(0!==this.top&&(r.top=`${this.top}px`),0!==this.bottom&&(r.bottom=`${this.bottom}px`)),r},classes(){return`fixed-${this.position} q-page-sticky--${!0===this.expand?"expand":"shrink"}`}},render(t){const e=Object(o["c"])(this,"default");return t("div",{staticClass:"q-page-sticky row flex-center",class:this.classes,style:this.style,on:{...this.qListeners}},!0===this.expand?e:[t("div",e)])}})},df75:function(t,e,n){var i=n("ca84"),r=n("7839");t.exports=Object.keys||function(t){return i(t,r)}},df7c:function(t,e,n){(function(t){function n(t,e){for(var n=0,i=t.length-1;i>=0;i--){var r=t[i];"."===r?t.splice(i,1):".."===r?(t.splice(i,1),n++):n&&(t.splice(i,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function i(t){"string"!==typeof t&&(t+="");var e,n=0,i=-1,r=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!r){n=e+1;break}}else-1===i&&(r=!1,i=e+1);return-1===i?"":t.slice(n,i)}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],i=0;i<t.length;i++)e(t[i],i,t)&&n.push(t[i]);return n}e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),a="/"===o(t,-1);return t=n(r(t.split("/"),(function(t){return!!t})),!i).join("/"),t||i||(t="."),t&&a&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function i(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var r=i(t.split("/")),o=i(n.split("/")),a=Math.min(r.length,o.length),s=a,l=0;l<a;l++)if(r[l]!==o[l]){s=l;break}var u=[];for(l=s;l<r.length;l++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,i=-1,r=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!r){i=o;break}}else r=!1;return-1===i?n?"/":".":n&&1===i?"/":t.slice(0,i)},e.basename=function(t,e){var n=i(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,i=-1,r=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===i&&(r=!1,i=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!r){n=a+1;break}}return-1===e||-1===i||0===o||1===o&&e===i-1&&e===n+1?"":t.slice(e,i)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},e163:function(t,e,n){var i=n("1a2d"),r=n("1626"),o=n("7b0b"),a=n("f772"),s=n("e177"),l=a("IE_PROTO"),u=Object,c=u.prototype;t.exports=s?u.getPrototypeOf:function(t){var e=o(t);if(i(e,l))return e[l];var n=e.constructor;return r(n)&&e instanceof n?n.prototype:e instanceof u?c:null}},e177:function(t,e,n){var i=n("d039");t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var i=n("fc6a"),r=n("44d2"),o=n("3f8c"),a=n("69f3"),s=n("9bf2").f,l=n("7dd0"),u=n("c430"),c=n("83ab"),h="Array Iterator",d=a.set,p=a.getterFor(h);t.exports=l(Array,"Array",(function(t,e){d(this,{type:h,target:i(t),index:0,kind:e})}),(function(){var t=p(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values");var f=o.Arguments=o.Array;if(r("keys"),r("values"),r("entries"),!u&&c&&"values"!==f.name)try{s(f,"name",{value:"values"})}catch(g){}},e2fa:function(t,e,n){"use strict";e["a"]={props:{tag:{type:String,default:"div"}}}},e330:function(t,e,n){var i=n("40d5"),r=Function.prototype,o=r.bind,a=r.call,s=i&&o.bind(a,a);t.exports=i?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},e359:function(t,e,n){"use strict";var i=n("2b0e"),r=n("3980"),o=n("87e8"),a=n("dde5"),s=n("d882"),l=n("0cd3");e["a"]=i["a"].extend({name:"QHeader",mixins:[o["a"]],inject:{layout:{default(){console.error("QHeader needs to be child of QLayout")}}},props:{value:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},data(){return{size:parseInt(this.heightHint,10),revealed:!0}},watch:{value(t){this.__update("space",t),this.__updateLocal("revealed",!0),this.layout.__animate()},offset(t){this.__update("offset",t)},reveal(t){!1===t&&this.__updateLocal("revealed",this.value)},revealed(t){this.layout.__animate(),this.$emit("reveal",t)},"layout.scroll"(t){!0===this.reveal&&this.__updateLocal("revealed","up"===t.direction||t.position<=this.revealOffset||t.position-t.inflexionPosition<100)}},computed:{fixed(){return!0===this.reveal||this.layout.view.indexOf("H")>-1||this.$q.platform.is.ios&&!0===this.layout.container},offset(){if(!0!==this.value)return 0;if(!0===this.fixed)return!0===this.revealed?this.size:0;const t=this.size-this.layout.scroll.position;return t>0?t:0},hidden(){return!0!==this.value||!0===this.fixed&&!0!==this.revealed},revealOnFocus(){return!0===this.value&&!0===this.hidden&&!0===this.reveal},classes(){return(!0===this.fixed?"fixed":"absolute")+"-top"+(!0===this.bordered?" q-header--bordered":"")+(!0===this.hidden?" q-header--hidden":"")+(!0!==this.value?" q-layout--prevent-focus":"")},style(){const t=this.layout.rows.top,e={};return"l"===t[0]&&!0===this.layout.left.space&&(e[!0===this.$q.lang.rtl?"right":"left"]=`${this.layout.left.size}px`),"r"===t[2]&&!0===this.layout.right.space&&(e[!0===this.$q.lang.rtl?"left":"right"]=`${this.layout.right.size}px`),e},onEvents(){return{...this.qListeners,focusin:this.__onFocusin,input:s["k"]}}},render(t){const e=Object(a["d"])(this,"default",[]);return!0===this.elevated&&e.push(t("div",{staticClass:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),e.push(t(r["a"],{props:{debounce:0},on:Object(l["b"])(this,"resize",{resize:this.__onResize})})),t("header",{staticClass:"q-header q-layout__section--marginal",class:this.classes,style:this.style,on:this.onEvents},e)},created(){this.layout.instances.header=this,!0===this.value&&this.__update("size",this.size),this.__update("space",this.value),this.__update("offset",this.offset)},beforeDestroy(){this.layout.instances.header===this&&(this.layout.instances.header=void 0,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},methods:{__onResize({height:t}){this.__updateLocal("size",t),this.__update("size",t)},__update(t,e){this.layout.header[t]!==e&&(this.layout.header[t]=e)},__updateLocal(t,e){this[t]!==e&&(this[t]=e)},__onFocusin(t){!0===this.revealOnFocus&&this.__updateLocal("revealed",!0),this.$emit("focusin",t)}}})},e391:function(t,e,n){var i=n("577e");t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:i(t)}},e3db:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},e48b:function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));n("5319");var i=n("1c16"),r=n("0831");const o=1e3,a=["start","center","end","start-force","center-force","end-force"],s=Array.prototype.filter;function l(t,e){return t+e}function u(t,e,n,i,o,a,s,l){const u=t===window?document.scrollingElement||document.documentElement:t,c=!0===o?"offsetWidth":"offsetHeight",h={scrollStart:0,scrollViewSize:-s-l,scrollMaxSize:0,offsetStart:-s,offsetEnd:-l};if(!0===o?(t===window?(h.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,h.scrollViewSize+=document.documentElement.clientWidth):(h.scrollStart=u.scrollLeft,h.scrollViewSize+=u.clientWidth),h.scrollMaxSize=u.scrollWidth,!0===a&&(h.scrollStart=(!0===Object(r["g"])()?h.scrollMaxSize-h.scrollViewSize:0)-h.scrollStart)):(t===window?(h.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,h.scrollViewSize+=document.documentElement.clientHeight):(h.scrollStart=u.scrollTop,h.scrollViewSize+=u.clientHeight),h.scrollMaxSize=u.scrollHeight),void 0!==n)for(let r=n.previousElementSibling;null!==r;r=r.previousElementSibling)!1===r.classList.contains("q-virtual-scroll--skip")&&(h.offsetStart+=r[c]);if(void 0!==i)for(let r=i.nextElementSibling;null!==r;r=r.nextElementSibling)!1===r.classList.contains("q-virtual-scroll--skip")&&(h.offsetEnd+=r[c]);if(e!==t){const n=u.getBoundingClientRect(),i=e.getBoundingClientRect();!0===o?(h.offsetStart+=i.left-n.left,h.offsetEnd-=i.width):(h.offsetStart+=i.top-n.top,h.offsetEnd-=i.height),t!==window&&(h.offsetStart+=h.scrollStart),h.offsetEnd+=h.scrollMaxSize-h.offsetStart}return h}function c(t,e,n,i){"end"===e&&(e=(t===window?document.body:t)[!0===n?"scrollWidth":"scrollHeight"]),t===window?!0===n?(!0===i&&(e=(!0===Object(r["g"])()?document.body.scrollWidth-document.documentElement.clientWidth:0)-e),window.scrollTo(e,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,e):!0===n?(!0===i&&(e=(!0===Object(r["g"])()?t.scrollWidth-t.offsetWidth:0)-e),t.scrollLeft=e):t.scrollTop=e}function h(t,e,n,i){if(n>=i)return 0;const r=e.length,a=Math.floor(n/o),s=Math.floor((i-1)/o)+1;let u=t.slice(a,s).reduce(l,0);return n%o!==0&&(u-=e.slice(a*o,n).reduce(l,0)),i%o!==0&&i!==r&&(u-=e.slice(i,s*o).reduce(l,0)),u}const d={virtualScrollSliceSize:{type:[Number,String],default:null},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]};function p(t,e){void 0===p.isSupported&&(p.isSupported=void 0!==window.getComputedStyle(document.body).overflowAnchor),!1!==p.isSupported&&void 0!==t&&(cancelAnimationFrame(t._qOverflowAnimationFrame),t._qOverflowAnimationFrame=requestAnimationFrame((()=>{if(void 0===t)return;const n=t.children||[];s.call(n,(t=>t.dataset&&void 0!==t.dataset.qVsAnchor)).forEach((t=>{delete t.dataset.qVsAnchor}));const i=n[e];i&&i.dataset&&(i.dataset.qVsAnchor="")})))}const f=Object.keys(d);e["b"]={props:{virtualScrollHorizontal:Boolean,...d},data(){return{virtualScrollSliceRange:{from:0,to:0}}},watch:{needsSliceRecalc(){this.__setVirtualScrollSize()},needsReset(){this.reset()}},computed:{needsReset(){return["virtualScrollItemSizeComputed","virtualScrollHorizontal"].map((t=>this[t])).join(";")},needsSliceRecalc(){return this.needsReset+";"+["virtualScrollSliceRatioBefore","virtualScrollSliceRatioAfter"].map((t=>this[t])).join(";")},colspanAttr(){return void 0!==this.tableColspan?{colspan:this.tableColspan}:{colspan:100}},virtualScrollItemSizeComputed(){return this.virtualScrollItemSize}},methods:{reset(){this.__resetVirtualScroll(this.prevToIndex,!0)},refresh(t){this.__resetVirtualScroll(void 0===t?this.prevToIndex:t)},scrollTo(t,e){const n=this.__getVirtualScrollTarget();if(void 0===n||null===n||8===n.nodeType)return;const i=u(n,this.__getVirtualScrollEl(),this.$refs.before,this.$refs.after,this.virtualScrollHorizontal,this.$q.lang.rtl,this.virtualScrollStickySizeStart,this.virtualScrollStickySizeEnd);this.__scrollViewSize!==i.scrollViewSize&&this.__setVirtualScrollSize(i.scrollViewSize),this.__setVirtualScrollSliceRange(n,i,Math.min(this.virtualScrollLength-1,Math.max(0,parseInt(t,10)||0)),0,a.indexOf(e)>-1?e:this.prevToIndex>-1&&t>this.prevToIndex?"end":"start")},__onVirtualScrollEvt(){const t=this.__getVirtualScrollTarget();if(void 0===t||null===t||8===t.nodeType)return;const e=u(t,this.__getVirtualScrollEl(),this.$refs.before,this.$refs.after,this.virtualScrollHorizontal,this.$q.lang.rtl,this.virtualScrollStickySizeStart,this.virtualScrollStickySizeEnd),n=this.virtualScrollLength-1,i=e.scrollMaxSize-e.offsetStart-e.offsetEnd-this.virtualScrollPaddingAfter;if(this.prevScrollStart===e.scrollStart)return;if(e.scrollMaxSize<=0)return void this.__setVirtualScrollSliceRange(t,e,0,0);this.__scrollViewSize!==e.scrollViewSize&&this.__setVirtualScrollSize(e.scrollViewSize),this.__updateVirtualScrollSizes(this.virtualScrollSliceRange.from);const r=Math.floor(e.scrollMaxSize-Math.max(e.scrollViewSize,e.offsetEnd)-Math.min(this.virtualScrollSizes[n],e.scrollViewSize/2));if(r>0&&Math.ceil(e.scrollStart)>=r)return void this.__setVirtualScrollSliceRange(t,e,n,e.scrollMaxSize-e.offsetEnd-this.virtualScrollSizesAgg.reduce(l,0));let a=0,s=e.scrollStart-e.offsetStart,c=s;if(s<=i&&s+e.scrollViewSize>=this.virtualScrollPaddingBefore)s-=this.virtualScrollPaddingBefore,a=this.virtualScrollSliceRange.from,c=s;else for(let l=0;s>=this.virtualScrollSizesAgg[l]&&a<n;l++)s-=this.virtualScrollSizesAgg[l],a+=o;while(s>0&&a<n)s-=this.virtualScrollSizes[a],s>-e.scrollViewSize?(a++,c=s):c=this.virtualScrollSizes[a]+s;this.__setVirtualScrollSliceRange(t,e,a,c)},__setVirtualScrollSliceRange(t,e,n,i,r){const o="string"===typeof r&&r.indexOf("-force")>-1,a=!0===o?r.replace("-force",""):r,s=void 0!==a?a:"start";let u=Math.max(0,n-this.virtualScrollSliceSizeComputed[s]),d=u+this.virtualScrollSliceSizeComputed.total;d>this.virtualScrollLength&&(d=this.virtualScrollLength,u=Math.max(0,d-this.virtualScrollSliceSizeComputed.total)),this.prevScrollStart=e.scrollStart;const f=u!==this.virtualScrollSliceRange.from||d!==this.virtualScrollSliceRange.to;if(!1===f&&void 0===a)return void this.__emitScroll(n);const{activeElement:g}=document,m=this.$refs.content;!0===f&&void 0!==m&&m!==g&&!0===m.contains(g)&&(m.addEventListener("focusout",this.__onBlurRefocusFn),setTimeout((()=>{void 0!==m&&m.removeEventListener("focusout",this.__onBlurRefocusFn)}))),p(m,n-u);const v=void 0!==a?this.virtualScrollSizes.slice(u,n).reduce(l,0):0;if(!0===f){const t=d>=this.virtualScrollSliceRange.from&&u<=this.virtualScrollSliceRange.to?this.virtualScrollSliceRange.to:d;this.virtualScrollSliceRange={from:u,to:t},this.virtualScrollPaddingBefore=h(this.virtualScrollSizesAgg,this.virtualScrollSizes,0,u),this.virtualScrollPaddingAfter=h(this.virtualScrollSizesAgg,this.virtualScrollSizes,this.virtualScrollSliceRange.to,this.virtualScrollLength),requestAnimationFrame((()=>{this.virtualScrollSliceRange.to!==d&&this.prevScrollStart===e.scrollStart&&(this.virtualScrollSliceRange={from:this.virtualScrollSliceRange.from,to:d},this.virtualScrollPaddingAfter=h(this.virtualScrollSizesAgg,this.virtualScrollSizes,d,this.virtualScrollLength))}))}requestAnimationFrame((()=>{if(this.prevScrollStart!==e.scrollStart)return;!0===f&&this.__updateVirtualScrollSizes(u);const r=this.virtualScrollSizes.slice(u,n).reduce(l,0),s=r+e.offsetStart+this.virtualScrollPaddingBefore,h=s+this.virtualScrollSizes[n];let d=s+i;if(void 0!==a){const t=r-v,i=e.scrollStart+t;d=!0!==o&&i<s&&h<i+e.scrollViewSize?i:"end"===a?h-e.scrollViewSize:s-("start"===a?0:Math.round((e.scrollViewSize-this.virtualScrollSizes[n])/2))}this.prevScrollStart=d,c(t,d,this.virtualScrollHorizontal,this.$q.lang.rtl),this.__emitScroll(n)}))},__updateVirtualScrollSizes(t){const e=this.$refs.content;if(void 0!==e){const n=s.call(e.children||[],(t=>t.classList&&!1===t.classList.contains("q-virtual-scroll--skip"))),i=n.length,r=!0===this.virtualScrollHorizontal?t=>t.getBoundingClientRect().width:t=>t.offsetHeight;let a,l,u=t;for(let t=0;t<i;){a=r(n[t]),t++;while(t<i&&!0===n[t].classList.contains("q-virtual-scroll--with-prev"))a+=r(n[t]),t++;l=a-this.virtualScrollSizes[u],0!==l&&(this.virtualScrollSizes[u]+=l,this.virtualScrollSizesAgg[Math.floor(u/o)]+=l),u++}}},__resetVirtualScroll(t,e){const n=1*this.virtualScrollItemSizeComputed;!0!==e&&!1!==Array.isArray(this.virtualScrollSizes)||(this.virtualScrollSizes=[]);const i=this.virtualScrollSizes.length;this.virtualScrollSizes.length=this.virtualScrollLength;for(let o=this.virtualScrollLength-1;o>=i;o--)this.virtualScrollSizes[o]=n;const r=Math.floor((this.virtualScrollLength-1)/o);this.virtualScrollSizesAgg=[];for(let a=0;a<=r;a++){let t=0;const e=Math.min((a+1)*o,this.virtualScrollLength);for(let n=a*o;n<e;n++)t+=this.virtualScrollSizes[n];this.virtualScrollSizesAgg.push(t)}this.prevToIndex=-1,this.prevScrollStart=void 0,this.virtualScrollPaddingBefore=h(this.virtualScrollSizesAgg,this.virtualScrollSizes,0,this.virtualScrollSliceRange.from),this.virtualScrollPaddingAfter=h(this.virtualScrollSizesAgg,this.virtualScrollSizes,this.virtualScrollSliceRange.to,this.virtualScrollLength),t>=0?(this.__updateVirtualScrollSizes(this.virtualScrollSliceRange.from),this.$nextTick((()=>{this.scrollTo(t)}))):this.__onVirtualScrollEvt()},__setVirtualScrollSize(t){if(void 0===t&&"undefined"!==typeof window){const e=this.__getVirtualScrollTarget();void 0!==e&&null!==e&&8!==e.nodeType&&(t=u(e,this.__getVirtualScrollEl(),this.$refs.before,this.$refs.after,this.virtualScrollHorizontal,this.$q.lang.rtl,this.virtualScrollStickySizeStart,this.virtualScrollStickySizeEnd).scrollViewSize)}this.__scrollViewSize=t;const e=parseFloat(this.virtualScrollSliceRatioBefore)||0,n=parseFloat(this.virtualScrollSliceRatioAfter)||0,i=1+e+n,r=void 0===t||t<=0?1:Math.ceil(t/this.virtualScrollItemSizeComputed),o=Math.max(1,r,Math.ceil((this.virtualScrollSliceSize>0?this.virtualScrollSliceSize:10)/i));this.virtualScrollSliceSizeComputed={total:Math.ceil(o*i),start:Math.ceil(o*e),center:Math.ceil(o*(.5+e)),end:Math.ceil(o*(1+e)),view:r}},__padVirtualScroll(t,e,n){const i=!0===this.virtualScrollHorizontal?"width":"height",r={["--q-virtual-scroll-item-"+i]:this.virtualScrollItemSizeComputed+"px"};return["tbody"===e?t(e,{staticClass:"q-virtual-scroll__padding",key:"before",ref:"before"},[t("tr",[t("td",{style:{[i]:`${this.virtualScrollPaddingBefore}px`,...r},attrs:this.colspanAttr})])]):t(e,{staticClass:"q-virtual-scroll__padding",key:"before",ref:"before",style:{[i]:`${this.virtualScrollPaddingBefore}px`,...r}}),t(e,{staticClass:"q-virtual-scroll__content",key:"content",ref:"content",attrs:{tabindex:-1}},n),"tbody"===e?t(e,{staticClass:"q-virtual-scroll__padding",key:"after",ref:"after"},[t("tr",[t("td",{style:{[i]:`${this.virtualScrollPaddingAfter}px`,...r},attrs:this.colspanAttr})])]):t(e,{staticClass:"q-virtual-scroll__padding",key:"after",ref:"after",style:{[i]:`${this.virtualScrollPaddingAfter}px`,...r}})]},__emitScroll(t){this.prevToIndex!==t&&(void 0!==this.qListeners["virtual-scroll"]&&this.$emit("virtual-scroll",{index:t,from:this.virtualScrollSliceRange.from,to:this.virtualScrollSliceRange.to-1,direction:t<this.prevToIndex?"decrease":"increase",ref:this}),this.prevToIndex=t)},__onBlurRefocusFn(){void 0!==this.$refs.content&&this.$refs.content.focus()}},created(){this.__setVirtualScrollSize()},activated(){if(!0!==this.shouldActivate)return;const t=this.__getVirtualScrollTarget();void 0!==this.prevScrollStart&&void 0!==t&&null!==t&&8!==t.nodeType?c(t,this.prevScrollStart,this.virtualScrollHorizontal,this.$q.lang.rtl):this.scrollTo(this.prevToIndex)},deactivated(){this.shouldActivate=!0},beforeMount(){this.__onVirtualScrollEvt=Object(i["a"])(this.__onVirtualScrollEvt,!0===this.$q.platform.is.ios?120:35),this.__setVirtualScrollSize()},beforeDestroy(){this.__onVirtualScrollEvt.cancel()}}},e54f:function(t,e,n){},e5cb:function(t,e,n){"use strict";var i=n("d066"),r=n("1a2d"),o=n("9112"),a=n("3a9b"),s=n("d2bb"),l=n("e893"),u=n("aeb0"),c=n("7156"),h=n("e391"),d=n("ab36"),p=n("c770"),f=n("b980"),g=n("83ab"),m=n("c430");t.exports=function(t,e,n,v){var y="stackTraceLimit",b=v?2:1,_=t.split("."),x=_[_.length-1],w=i.apply(null,_);if(w){var S=w.prototype;if(!m&&r(S,"cause")&&delete S.cause,!n)return w;var C=i("Error"),k=e((function(t,e){var n=h(v?e:t,void 0),i=v?new w(t):new w;return void 0!==n&&o(i,"message",n),f&&o(i,"stack",p(i.stack,2)),this&&a(S,this)&&c(i,this,k),arguments.length>b&&d(i,arguments[b]),i}));if(k.prototype=S,"Error"!==x?s?s(k,C):l(k,C,{name:!0}):g&&y in w&&(u(k,w,y),u(k,w,"prepareStackTrace")),l(k,w),!m)try{S.name!==x&&o(S,"name",x),S.constructor=k}catch(M){}return k}}},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e704:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return u}));let i=[],r=[];function o(t){r=r.filter((e=>e!==t))}function a(t){o(t),r.push(t)}function s(t){o(t),0===r.length&&i.length>0&&(i[i.length-1](),i=[])}function l(t){0===r.length?t():i.push(t)}function u(t){i=i.filter((e=>e!==t))}},e762:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function t(e,n){i(this,t),this.data=e,this.text=n.text||e,this.options=n};e.default=r},e7a9:function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("dde5");e["a"]=i["a"].extend({name:"QBtnGroup",mixin:[r["a"]],props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},computed:{classes(){return["unelevated","outline","flat","rounded","push","stretch","glossy"].filter((t=>!0===this[t])).map((t=>`q-btn-group--${t}`)).join(" ")}},render(t){return t("div",{staticClass:"q-btn-group row no-wrap "+(!0===this.spread?"q-btn-group--spread":"inline"),class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},e893:function(t,e,n){var i=n("1a2d"),r=n("56ef"),o=n("06cf"),a=n("9bf2");t.exports=function(t,e,n){for(var s=r(e),l=a.f,u=o.f,c=0;c<s.length;c++){var h=s[c];i(t,h)||n&&i(n,h)||l(t,h,u(e,h))}}},e8b2:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();e.checksum=p;var r=n("5726"),o=l(r),a=n("e762"),s=l(a);function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(t,n){u(this,e),-1!==t.search(/^[0-9]{11}$/)&&(t+=p(t));var i=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return i.displayValue=n.displayValue,n.fontSize>10*n.width?i.fontSize=10*n.width:i.fontSize=n.fontSize,i.guardHeight=n.height+i.fontSize/2+n.textMargin,i}return h(e,t),i(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==p(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=(0,o.default)(this.data.substr(0,6),"LLLLLL"),t+="01010",t+=(0,o.default)(this.data.substr(6,6),"RRRRRR"),t+="101",{data:t,text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101"+(0,o.default)(this.data[0],"L"),options:{height:this.guardHeight}}),t.push({data:(0,o.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),t.push({data:"01010",options:{height:this.guardHeight}}),t.push({data:(0,o.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),t.push({data:(0,o.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),t}}]),e}(s.default);function p(t){var e,n=0;for(e=1;e<11;e+=2)n+=parseInt(t[e]);for(e=0;e<11;e+=2)n+=3*parseInt(t[e]);return(10-n%10)%10}e.default=d},e8b5:function(t,e,n){var i=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==i(t)}},e8c9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("4b23"),o=s(r),a=n("f08e");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,n){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,a.A_START_CHAR+t,n))}return c(e,t),i(e,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),e}(o.default);e.default=h},e95a:function(t,e,n){var i=n("b622"),r=n("3f8c"),o=i("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},eaac:function(t,e,n){"use strict";n("caad");var i=n("2b0e"),r={computed:{marginalsScope(){return{pagination:this.computedPagination,pagesNumber:this.pagesNumber,isFirstPage:this.isFirstPage,isLastPage:this.isLastPage,firstPage:this.firstPage,prevPage:this.prevPage,nextPage:this.nextPage,lastPage:this.lastPage,inFullscreen:this.inFullscreen,toggleFullscreen:this.toggleFullscreen}}},methods:{__getTopDiv(t){const e=this.$scopedSlots.top,n=this.$scopedSlots["top-left"],i=this.$scopedSlots["top-right"],r=this.$scopedSlots["top-selection"],o=!0===this.hasSelectionMode&&void 0!==r&&this.rowsSelectedNumber>0,a="q-table__top relative-position row items-center";if(void 0!==e)return t("div",{staticClass:a},[e(this.marginalsScope)]);let s;return!0===o?s=r(this.marginalsScope).slice():(s=[],void 0!==n?s.push(t("div",{staticClass:"q-table-control"},[n(this.marginalsScope)])):this.title&&s.push(t("div",{staticClass:"q-table__control"},[t("div",{staticClass:"q-table__title",class:this.titleClass},this.title)]))),void 0!==i&&(s.push(t("div",{staticClass:"q-table__separator col"})),s.push(t("div",{staticClass:"q-table__control"},[i(this.marginalsScope)]))),0!==s.length?t("div",{staticClass:a},s):void 0}}},o=n("8f8e"),a=n("0016"),s=n("87e8"),l=n("dde5"),u=i["a"].extend({name:"QTh",mixins:[s["a"]],props:{props:Object,autoWidth:Boolean},render(t){const e={...this.qListeners};if(void 0===this.props)return t("th",{on:e,class:!0===this.autoWidth?"q-table--col-auto-width":null},Object(l["c"])(this,"default"));let n,i;const r=this.$vnode.key;if(r){if(n=this.props.colsMap[r],void 0===n)return}else n=this.props.col;if(!0===n.sortable){const e="right"===n.align?"unshift":"push";i=Object(l["d"])(this,"default",[]),i[e](t(a["a"],{props:{name:this.$q.iconSet.table.arrowUp},staticClass:n.__iconClass}))}else i=Object(l["c"])(this,"default");const o=!0===n.sortable?{click:t=>{this.props.sort(n),this.$emit("click",t)}}:{};return t("th",{on:{...e,...o},style:n.headerStyle,class:n.__thClass+(!0===this.autoWidth?" q-table--col-auto-width":"")},i)}}),c=n("0cd3"),h={computed:{headerSelectedValue(){return!0===this.someRowsSelected?null:this.allRowsSelected}},methods:{__getTHead(t){const e=this.__getTHeadTR(t);return!0===this.loading&&void 0===this.$scopedSlots.loading&&e.push(t("tr",{staticClass:"q-table__progress"},[t("th",{staticClass:"relative-position",attrs:{colspan:this.computedColspan}},this.__getProgress(t))])),t("thead",e)},__getTHeadTR(t){const e=this.$scopedSlots.header,n=this.$scopedSlots["header-cell"];if(void 0!==e)return e(this.__getHeaderScope({header:!0})).slice();const i=this.computedCols.map((e=>{const i=this.$scopedSlots[`header-cell-${e.name}`],r=void 0!==i?i:n,o=this.__getHeaderScope({col:e});return void 0!==r?r(o):t(u,{key:e.name,props:{props:o}},e.label)}));if(!0===this.singleSelection&&!0!==this.grid)i.unshift(t("th",{staticClass:"q-table--col-auto-width"},[" "]));else if(!0===this.multipleSelection){const e=this.$scopedSlots["header-selection"],n=void 0!==e?e(this.__getHeaderScope({})):[t(o["a"],{props:{color:this.color,value:this.headerSelectedValue,dark:this.isDark,dense:this.dense},on:Object(c["b"])(this,"inp",{input:this.__onMultipleSelectionSet})})];i.unshift(t("th",{staticClass:"q-table--col-auto-width"},n))}return[t("tr",{style:this.tableHeaderStyle,class:this.tableHeaderClass},i)]},__getHeaderScope(t){return Object.assign(t,{cols:this.computedCols,sort:this.sort,colsMap:this.computedColsMap,color:this.color,dark:this.isDark,dense:this.dense}),!0===this.multipleSelection&&(Object.defineProperty(t,"selected",{get:()=>this.headerSelectedValue,set:this.__onMultipleSelectionSet,configurable:!0,enumerable:!0}),t.partialSelected=this.someRowsSelected,t.multipleSelect=!0),t},__onMultipleSelectionSet(t){!0===this.someRowsSelected&&(t=!1),this.__updateSelection(this.computedRows.map(this.getRowKey),this.computedRows,t)}}},d={methods:{__getTBodyTR(t,e,n,i){const r=this.getRowKey(e),a=this.isRowSelected(r);if(void 0!==n)return n(this.__getBodyScope({key:r,row:e,pageIndex:i,__trClass:a?"selected":""}));const s=this.$scopedSlots["body-cell"],l=this.computedCols.map((n=>{const o=this.$scopedSlots[`body-cell-${n.name}`],a=void 0!==o?o:s;return void 0!==a?a(this.__getBodyCellScope({key:r,row:e,pageIndex:i,col:n})):t("td",{class:n.__tdClass(e),style:n.__tdStyle(e)},this.getCellValue(n,e))}));if(!0===this.hasSelectionMode){const n=this.$scopedSlots["body-selection"],s=void 0!==n?n(this.__getBodySelectionScope({key:r,row:e,pageIndex:i})):[t(o["a"],{props:{value:a,color:this.color,dark:this.isDark,dense:this.dense},on:{input:(t,n)=>{this.__updateSelection([r],[e],t,n)}}})];l.unshift(t("td",{staticClass:"q-table--col-auto-width"},s))}const u={key:r,class:{selected:a},on:{}};return void 0!==this.qListeners["row-click"]&&(u.class["cursor-pointer"]=!0,u.on.click=t=>{this.$emit("row-click",t,e,i)}),void 0!==this.qListeners["row-dblclick"]&&(u.class["cursor-pointer"]=!0,u.on.dblclick=t=>{this.$emit("row-dblclick",t,e,i)}),void 0!==this.qListeners["row-contextmenu"]&&(u.class["cursor-pointer"]=!0,u.on.contextmenu=t=>{this.$emit("row-contextmenu",t,e,i)}),t("tr",u,l)},__getTBody(t){const e=this.$scopedSlots.body,n=this.$scopedSlots["top-row"],i=this.$scopedSlots["bottom-row"];let r=this.computedRows.map(((n,i)=>this.__getTBodyTR(t,n,e,i)));return void 0!==n&&(r=n({cols:this.computedCols}).concat(r)),void 0!==i&&(r=r.concat(i({cols:this.computedCols}))),t("tbody",r)},__getVirtualTBodyTR(t){const e=this.$scopedSlots.body;return n=>this.__getTBodyTR(t,n.item,e,n.index)},__getBodyScope(t){return this.__injectBodyCommonScope(t),t.cols=t.cols.map((e=>{const n={...e};return Object.defineProperty(n,"value",{get:()=>this.getCellValue(e,t.row),configurable:!0,enumerable:!0}),n})),t},__getBodyCellScope(t){return this.__injectBodyCommonScope(t),Object.defineProperty(t,"value",{get:()=>this.getCellValue(t.col,t.row),configurable:!0,enumerable:!0}),t},__getBodySelectionScope(t){return this.__injectBodyCommonScope(t),t},__injectBodyCommonScope(t){Object.assign(t,{cols:this.computedCols,colsMap:this.computedColsMap,sort:this.sort,rowIndex:this.firstRowIndex+t.pageIndex,color:this.color,dark:this.isDark,dense:this.dense}),!0===this.hasSelectionMode&&Object.defineProperty(t,"selected",{get:()=>this.isRowSelected(t.key),set:(e,n)=>{this.__updateSelection([t.key],[t.row],e,n)},configurable:!0,enumerable:!0}),Object.defineProperty(t,"expand",{get:()=>this.isRowExpanded(t.key),set:e=>{this.__updateExpanded(t.key,e)},configurable:!0,enumerable:!0})},getCellValue(t,e){const n="function"===typeof t.field?t.field(e):e[t.field];return void 0!==t.format?t.format(n,e):n}}},p=n("ddd8"),f=n("9c40");const g="q-table__bottom row items-center";var m={props:{hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean},computed:{navIcon(){const t=[this.iconFirstPage||this.$q.iconSet.table.firstPage,this.iconPrevPage||this.$q.iconSet.table.prevPage,this.iconNextPage||this.$q.iconSet.table.nextPage,this.iconLastPage||this.$q.iconSet.table.lastPage];return!0===this.$q.lang.rtl?t.reverse():t}},methods:{__getBottomDiv(t){if(!0===this.hideBottom)return;if(!0===this.nothingToDisplay){if(!0===this.hideNoData)return;const e=!0===this.loading?this.loadingLabel||this.$q.lang.table.loading:this.filter?this.noResultsLabel||this.$q.lang.table.noResults:this.noDataLabel||this.$q.lang.table.noData,n=this.$scopedSlots["no-data"],i=void 0!==n?[n({message:e,icon:this.$q.iconSet.table.warning,filter:this.filter})]:[t(a["a"],{staticClass:"q-table__bottom-nodata-icon",props:{name:this.$q.iconSet.table.warning}}),e];return t("div",{staticClass:g+" q-table__bottom--nodata"},i)}const e=this.$scopedSlots.bottom;if(void 0!==e)return t("div",{staticClass:g},[e(this.marginalsScope)]);const n=!0!==this.hideSelectedBanner&&!0===this.hasSelectionMode&&this.rowsSelectedNumber>0?[t("div",{staticClass:"q-table__control"},[t("div",[(this.selectedRowsLabel||this.$q.lang.table.selectedRecords)(this.rowsSelectedNumber)])])]:[];return!0!==this.hidePagination?t("div",{staticClass:g+" justify-end"},this.__getPaginationDiv(t,n)):n.length>0?t("div",{staticClass:g},n):void 0},__getPaginationDiv(t,e){let n;const{rowsPerPage:i}=this.computedPagination,r=this.paginationLabel||this.$q.lang.table.pagination,o=this.$scopedSlots.pagination,a=this.rowsPerPageOptions.length>1;if(e.push(t("div",{staticClass:"q-table__separator col"})),!0===a&&e.push(t("div",{staticClass:"q-table__control"},[t("span",{staticClass:"q-table__bottom-item"},[this.rowsPerPageLabel||this.$q.lang.table.recordsPerPage]),t(p["a"],{staticClass:"q-table__select inline q-table__bottom-item",props:{color:this.color,value:i,options:this.computedRowsPerPageOptions,displayValue:0===i?this.$q.lang.table.allRows:i,dark:this.isDark,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0},on:Object(c["b"])(this,"pgSize",{input:t=>{this.setPagination({page:1,rowsPerPage:t.value})}})})])),void 0!==o)n=o(this.marginalsScope);else if(n=[t("span",0!==i?{staticClass:"q-table__bottom-item"}:{},[i?r(this.firstRowIndex+1,Math.min(this.lastRowIndex,this.computedRowsNumber),this.computedRowsNumber):r(1,this.filteredSortedRowsNumber,this.computedRowsNumber)])],0!==i&&this.pagesNumber>1){const e={color:this.color,round:!0,dense:!0,flat:!0};!0===this.dense&&(e.size="sm"),this.pagesNumber>2&&n.push(t(f["a"],{key:"pgFirst",props:{...e,icon:this.navIcon[0],disable:this.isFirstPage},on:Object(c["b"])(this,"pgFirst",{click:this.firstPage})})),n.push(t(f["a"],{key:"pgPrev",props:{...e,icon:this.navIcon[1],disable:this.isFirstPage},on:Object(c["b"])(this,"pgPrev",{click:this.prevPage})}),t(f["a"],{key:"pgNext",props:{...e,icon:this.navIcon[2],disable:this.isLastPage},on:Object(c["b"])(this,"pgNext",{click:this.nextPage})})),this.pagesNumber>2&&n.push(t(f["a"],{key:"pgLast",props:{...e,icon:this.navIcon[3],disable:this.isLastPage},on:Object(c["b"])(this,"pgLast",{click:this.lastPage})}))}return e.push(t("div",{staticClass:"q-table__control"},n)),e}}},v=n("eb85"),y={methods:{__getGridHeader(t){const e=!0===this.gridHeader?[t("table",{staticClass:"q-table"},[this.__getTHead(t)])]:!0===this.loading&&void 0===this.$scopedSlots.loading?this.__getProgress(t):void 0;return t("div",{staticClass:"q-table__middle"},e)},__getGridBody(t){const e=void 0!==this.$scopedSlots.item?this.$scopedSlots.item:e=>{const n=e.cols.map((e=>t("div",{staticClass:"q-table__grid-item-row"},[t("div",{staticClass:"q-table__grid-item-title"},[e.label]),t("div",{staticClass:"q-table__grid-item-value"},[e.value])])));if(!0===this.hasSelectionMode){const i=this.$scopedSlots["body-selection"],r=void 0!==i?i(e):[t(o["a"],{props:{value:e.selected,color:this.color,dark:this.isDark,dense:this.dense},on:{input:(t,n)=>{this.__updateSelection([e.key],[e.row],t,n)}}})];n.unshift(t("div",{staticClass:"q-table__grid-item-row"},r),t(v["a"],{props:{dark:this.isDark}}))}const i={staticClass:"q-table__grid-item-card"+this.cardDefaultClass,class:this.cardClass,style:this.cardStyle,on:{}};return void 0===this.qListeners["row-click"]&&void 0===this.qListeners["row-dblclick"]||(i.staticClass+=" cursor-pointer"),void 0!==this.qListeners["row-click"]&&(i.on.click=t=>{this.$emit("row-click",t,e.row,e.pageIndex)}),void 0!==this.qListeners["row-dblclick"]&&(i.on.dblclick=t=>{this.$emit("row-dblclick",t,e.row,e.pageIndex)}),t("div",{staticClass:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3",class:!0===e.selected?"q-table__grid-item--selected":""},[t("div",i,n)])};return t("div",{staticClass:"q-table__grid-content row",class:this.cardContainerClass,style:this.cardContainerStyle},this.computedRows.map(((t,n)=>e(this.__getBodyScope({key:this.getRowKey(t),row:t,pageIndex:n})))))}}},b=n("1c1c"),_=n("b7fa"),x=i["a"].extend({name:"QMarkupTable",mixins:[_["a"],s["a"]],props:{dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:t=>["horizontal","vertical","cell","none"].includes(t)},wrapCells:Boolean},computed:{classes(){return`q-table--${this.separator}-separator`+(!0===this.isDark?" q-table--dark q-table__card--dark q-dark":"")+(!0===this.dense?" q-table--dense":"")+(!0===this.flat?" q-table--flat":"")+(!0===this.bordered?" q-table--bordered":"")+(!0===this.square?" q-table--square":"")+(!1===this.wrapCells?" q-table--no-wrap":"")}},render(t){return t("div",{staticClass:"q-markup-table q-table__container q-table__card",class:this.classes,on:{...this.qListeners}},[t("table",{staticClass:"q-table"},Object(l["c"])(this,"default"))])}}),w=function(t,e,n){return t("div",{...e,staticClass:"q-table__middle"+(void 0!==e.staticClass?" "+e.staticClass:"")},[t("table",{staticClass:"q-table"},n)])},S=n("e48b"),C=n("f376"),k=n("0831"),M=n("d882");const O={list:b["a"],table:x};var T=i["a"].extend({name:"QVirtualScroll",mixins:[C["b"],s["a"],S["b"]],props:{type:{type:String,default:"list",validator:t=>["list","table","__qtable"].includes(t)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:{default:void 0}},computed:{virtualScrollLength(){return this.itemsSize>=0&&void 0!==this.itemsFn?parseInt(this.itemsSize,10):Array.isArray(this.items)?this.items.length:0},virtualScrollScope(){if(0===this.virtualScrollLength)return[];const t=(t,e)=>({index:this.virtualScrollSliceRange.from+e,item:t});return void 0===this.itemsFn?this.items.slice(this.virtualScrollSliceRange.from,this.virtualScrollSliceRange.to).map(t):this.itemsFn(this.virtualScrollSliceRange.from,this.virtualScrollSliceRange.to-this.virtualScrollSliceRange.from).map(t)},classes(){return"q-virtual-scroll q-virtual-scroll"+(!0===this.virtualScrollHorizontal?"--horizontal":"--vertical")+(void 0!==this.scrollTarget?"":" scroll")},attrs(){return void 0!==this.scrollTarget?void 0:{tabindex:0}}},watch:{virtualScrollLength(){this.__resetVirtualScroll()},scrollTarget(){this.__unconfigureScrollTarget(),this.__configureScrollTarget()}},methods:{__getVirtualScrollEl(){return this.$el},__getVirtualScrollTarget(){return this.__scrollTarget},__configureScrollTarget(){this.__scrollTarget=Object(k["d"])(this.$el,this.scrollTarget),this.__scrollTarget.addEventListener("scroll",this.__onVirtualScrollEvt,M["f"].passive)},__unconfigureScrollTarget(){void 0!==this.__scrollTarget&&(this.__scrollTarget.removeEventListener("scroll",this.__onVirtualScrollEvt,M["f"].passive),this.__scrollTarget=void 0)}},beforeMount(){this.__resetVirtualScroll()},mounted(){this.__configureScrollTarget()},activated(){this.__configureScrollTarget()},deactivated(){this.__unconfigureScrollTarget()},beforeDestroy(){this.__unconfigureScrollTarget()},render(t){if(void 0===this.$scopedSlots.default)return void console.error("QVirtualScroll: default scoped slot is required for rendering",this);let e=this.__padVirtualScroll(t,"list"===this.type?"div":"tbody",this.virtualScrollScope.map(this.$scopedSlots.default));return void 0!==this.$scopedSlots.before&&(e=this.$scopedSlots.before().concat(e)),e=Object(l["a"])(e,this,"after"),"__qtable"===this.type?w(t,{staticClass:this.classes},e):t(O[this.type],{class:this.classes,attrs:this.attrs,props:this.qAttrs,on:{...this.qListeners}},e)}}),A=n("6642");function I(t,e,n){return{transform:!0===e?`translateX(${!0===n.lang.rtl?"-":""}100%) scale3d(${-t},1,1)`:`scale3d(${t},1,1)`}}var P=i["a"].extend({name:"QLinearProgress",mixins:[s["a"],_["a"],Object(A["b"])({xs:2,sm:4,md:6,lg:10,xl:14})],props:{value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,instantFeedback:Boolean},computed:{motion(){return!0===this.indeterminate||!0===this.query},widthReverse(){return this.reverse!==this.query},classes(){return"q-linear-progress"+(void 0!==this.color?` text-${this.color}`:"")+(!0===this.reverse||!0===this.query?" q-linear-progress--reverse":"")+(!0===this.rounded?" rounded-borders":"")},trackStyle(){return I(void 0!==this.buffer?this.buffer:1,this.widthReverse,this.$q)},trackClass(){return`q-linear-progress__track--with${!0===this.instantFeedback?"out":""}-transition q-linear-progress__track--`+(!0===this.isDark?"dark":"light")+(void 0!==this.trackColor?` bg-${this.trackColor}`:"")},modelStyle(){return I(!0===this.motion?1:this.value,this.widthReverse,this.$q)},modelClasses(){return`q-linear-progress__model--with${!0===this.instantFeedback?"out":""}-transition q-linear-progress__model--${!0===this.motion?"in":""}determinate`},stripeStyle(){return{width:100*this.value+"%"}},stripeClass(){return!0===this.reverse?"absolute-right":"absolute-left"},attrs(){return{role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":!0===this.indeterminate?void 0:this.value}}},render(t){const e=[t("div",{staticClass:"q-linear-progress__track absolute-full",style:this.trackStyle,class:this.trackClass}),t("div",{staticClass:"q-linear-progress__model absolute-full",style:this.modelStyle,class:this.modelClasses})];return!0===this.stripe&&!1===this.motion&&e.push(t("div",{staticClass:"q-linear-progress__stripe",style:this.stripeStyle,class:this.stripeClass})),t("div",{style:this.sizeStyle,class:this.classes,attrs:this.attrs,on:{...this.qListeners}},Object(l["a"])(e,this,"default"))}});n("ddb0"),n("d9e2");function E(t,e){return new Date(t)-new Date(e)}var D=n("5ff7"),L={props:{sortMethod:{type:Function,default(t,e,n){const i=this.colList.find((t=>t.name===e));if(void 0===i||void 0===i.field)return t;const r=!0===n?-1:1,o="function"===typeof i.field?t=>i.field(t):t=>t[i.field];return t.sort(((t,e)=>{let n=o(t),a=o(e);return null===n||void 0===n?-1*r:null===a||void 0===a?1*r:void 0!==i.sort?i.sort(n,a,t,e)*r:!0===Object(D["c"])(n)&&!0===Object(D["c"])(a)?(n-a)*r:!0===Object(D["a"])(n)&&!0===Object(D["a"])(a)?E(n,a)*r:"boolean"===typeof n&&"boolean"===typeof a?(n-a)*r:([n,a]=[n,a].map((t=>(t+"").toLocaleString().toLowerCase())),n<a?-1*r:n===a?0:r)}))}},columnSortOrder:{type:String,validator:t=>"ad"===t||"da"===t,default:"ad"}},computed:{columnToSort(){const{sortBy:t}=this.computedPagination;if(t)return this.colList.find((e=>e.name===t))||null}},methods:{sort(t){let e=this.columnSortOrder;if(!0===Object(D["d"])(t))t.sortOrder&&(e=t.sortOrder),t=t.name;else{const n=this.colList.find((e=>e.name===t));void 0!==n&&n.sortOrder&&(e=n.sortOrder)}let{sortBy:n,descending:i}=this.computedPagination;n!==t?(n=t,i="da"===e):!0===this.binaryStateSort?i=!i:!0===i?"ad"===e?n=null:i=!1:"ad"===e?i=!0:n=null,this.setPagination({sortBy:n,descending:i,page:1})}}},j={props:{filter:[String,Object],filterMethod:{type:Function,default(t,e,n=this.computedCols,i=this.getCellValue){const r=e?e.toLowerCase():"";return t.filter((t=>n.some((e=>{const n=i(e,t)+"",o="undefined"===n||"null"===n?"":n.toLowerCase();return-1!==o.indexOf(r)}))))}}},watch:{filter:{handler(){this.$nextTick((()=>{this.setPagination({page:1},!0)}))},deep:!0}}};function R(t,e){for(const n in e)if(e[n]!==t[n])return!1;return!0}function B(t){return t.page<1&&(t.page=1),void 0!==t.rowsPerPage&&t.rowsPerPage<1&&(t.rowsPerPage=0),t}var N={props:{pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]}},computed:{computedPagination(){const t=void 0!==this.qListeners["update:pagination"]?{...this.innerPagination,...this.pagination}:this.innerPagination;return B(t)},firstRowIndex(){const{page:t,rowsPerPage:e}=this.computedPagination;return(t-1)*e},lastRowIndex(){const{page:t,rowsPerPage:e}=this.computedPagination;return t*e},isFirstPage(){return 1===this.computedPagination.page},pagesNumber(){return 0===this.computedPagination.rowsPerPage?1:Math.max(1,Math.ceil(this.computedRowsNumber/this.computedPagination.rowsPerPage))},isLastPage(){return 0===this.lastRowIndex||this.computedPagination.page>=this.pagesNumber},computedRowsPerPageOptions(){const t=this.rowsPerPageOptions.includes(this.innerPagination.rowsPerPage)?this.rowsPerPageOptions:[this.innerPagination.rowsPerPage].concat(this.rowsPerPageOptions);return t.map((t=>({label:0===t?this.$q.lang.table.allRows:""+t,value:t})))}},watch:{pagesNumber(t,e){if(t===e)return;const n=this.computedPagination.page;t&&!n?this.setPagination({page:1}):t<n&&this.setPagination({page:t})}},methods:{__sendServerRequest(t){this.requestServerInteraction({pagination:t,filter:this.filter})},setPagination(t,e){const n=B({...this.computedPagination,...t});R(this.computedPagination,n)?!0===this.isServerSide&&!0===e&&this.__sendServerRequest(n):!0!==this.isServerSide?void 0!==this.pagination&&void 0!==this.qListeners["update:pagination"]?this.$emit("update:pagination",n):this.innerPagination=n:this.__sendServerRequest(n)},firstPage(){this.setPagination({page:1})},prevPage(){const{page:t}=this.computedPagination;t>1&&this.setPagination({page:t-1})},nextPage(){const{page:t,rowsPerPage:e}=this.computedPagination;this.lastRowIndex>0&&t*e<this.computedRowsNumber&&this.setPagination({page:t+1})},lastPage(){this.setPagination({page:this.pagesNumber})}},created(){void 0!==this.qListeners["update:pagination"]&&this.$emit("update:pagination",{...this.computedPagination})}},F={props:{selection:{type:String,default:"none",validator:t=>["single","multiple","none"].includes(t)},selected:{type:Array,default:()=>[]}},computed:{selectedKeys(){const t={};return this.selected.map(this.getRowKey).forEach((e=>{t[e]=!0})),t},hasSelectionMode(){return"none"!==this.selection},singleSelection(){return"single"===this.selection},multipleSelection(){return"multiple"===this.selection},allRowsSelected(){return this.computedRows.length>0&&this.computedRows.every((t=>!0===this.selectedKeys[this.getRowKey(t)]))},someRowsSelected(){return!0!==this.allRowsSelected&&this.computedRows.some((t=>!0===this.selectedKeys[this.getRowKey(t)]))},rowsSelectedNumber(){return this.selected.length}},methods:{isRowSelected(t){return!0===this.selectedKeys[t]},clearSelection(){this.$emit("update:selected",[])},__updateSelection(t,e,n,i){this.$emit("selection",{rows:e,added:n,keys:t,evt:i});const r=!0===this.singleSelection?!0===n?e:[]:!0===n?this.selected.concat(e):this.selected.filter((e=>!1===t.includes(this.getRowKey(e))));this.$emit("update:selected",r)}}};function z(t){return Array.isArray(t)?t.slice():[]}var V={props:{expanded:Array},data(){return{innerExpanded:z(this.expanded)}},watch:{expanded(t){this.innerExpanded=z(t)}},methods:{isRowExpanded(t){return this.innerExpanded.includes(t)},setExpanded(t){void 0!==this.expanded?this.$emit("update:expanded",t):this.innerExpanded=t},__updateExpanded(t,e){const n=this.innerExpanded.slice(),i=n.indexOf(t);!0===e?-1===i&&(n.push(t),this.setExpanded(n)):-1!==i&&(n.splice(i,1),this.setExpanded(n))}}},q={props:{visibleColumns:Array},computed:{colList(){if(void 0!==this.columns)return this.columns;const t=this.data[0];return void 0!==t?Object.keys(t).map((e=>({name:e,label:e.toUpperCase(),field:e,align:Object(D["c"])(t[e])?"right":"left",sortable:!0}))):[]},computedCols(){const{sortBy:t,descending:e}=this.computedPagination,n=void 0!==this.visibleColumns?this.colList.filter((t=>!0===t.required||!0===this.visibleColumns.includes(t.name))):this.colList;return n.map((n=>{const i=n.align||"right",r=`text-${i}`;return{...n,align:i,__iconClass:`q-table__sort-icon q-table__sort-icon--${i}`,__thClass:r+(void 0!==n.headerClasses?" "+n.headerClasses:"")+(!0===n.sortable?" sortable":"")+(n.name===t?" sorted "+(!0===e?"sort-desc":""):""),__tdStyle:void 0!==n.style?"function"!==typeof n.style?()=>n.style:n.style:()=>null,__tdClass:void 0!==n.classes?"function"!==typeof n.classes?()=>r+" "+n.classes:t=>r+" "+n.classes(t):()=>r}}))},computedColsMap(){const t={};return this.computedCols.forEach((e=>{t[e.name]=e})),t},computedColspan(){return void 0!==this.tableColspan?this.tableColspan:this.computedCols.length+(!0===this.hasSelectionMode?1:0)}}},$=n("582c");let H=0;var G={props:{fullscreen:Boolean,noRouteFullscreenExit:Boolean},data(){return{inFullscreen:!1}},watch:{$route(){!0!==this.noRouteFullscreenExit&&this.exitFullscreen()},fullscreen(t){this.inFullscreen!==t&&this.toggleFullscreen()},inFullscreen(t){this.$emit("update:fullscreen",t),this.$emit("fullscreen",t)}},methods:{toggleFullscreen(){!0===this.inFullscreen?this.exitFullscreen():this.setFullscreen()},setFullscreen(){!0!==this.inFullscreen&&(this.inFullscreen=!0,this.container=this.$el.parentNode,this.container.replaceChild(this.fullscreenFillerNode,this.$el),document.body.appendChild(this.$el),H++,1===H&&document.body.classList.add("q-body--fullscreen-mixin"),this.__historyFullscreen={handler:this.exitFullscreen},$["a"].add(this.__historyFullscreen))},exitFullscreen(){!0===this.inFullscreen&&(void 0!==this.__historyFullscreen&&($["a"].remove(this.__historyFullscreen),this.__historyFullscreen=void 0),this.container.replaceChild(this.$el,this.fullscreenFillerNode),this.inFullscreen=!1,H=Math.max(0,H-1),0===H&&(document.body.classList.remove("q-body--fullscreen-mixin"),void 0!==this.$el.scrollIntoView&&setTimeout((()=>{this.$el.scrollIntoView()}))))}},beforeMount(){this.fullscreenFillerNode=document.createElement("span")},mounted(){!0===this.fullscreen&&this.setFullscreen()},beforeDestroy(){this.exitFullscreen()}};const W={};S["a"].forEach((t=>{W[t]={}}));e["a"]=i["a"].extend({name:"QTable",mixins:[_["a"],s["a"],G,r,h,d,m,y,L,j,N,F,V,q],props:{data:{type:Array,default:()=>[]},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,binaryStateSort:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:t=>["horizontal","vertical","cell","none"].includes(t)},wrapCells:Boolean,virtualScroll:Boolean,...W,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object]},data(){return{innerPagination:Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:this.rowsPerPageOptions.length>0?this.rowsPerPageOptions[0]:5},this.pagination)}},watch:{needsReset(){!0===this.hasVirtScroll&&void 0!==this.$refs.virtScroll&&this.$refs.virtScroll.reset()}},computed:{getRowKey(){return"function"===typeof this.rowKey?this.rowKey:t=>t[this.rowKey]},hasVirtScroll(){return!0!==this.grid&&!0===this.virtualScroll},needsReset(){return["tableStyle","tableClass","tableHeaderStyle","tableHeaderClass","__containerClass"].map((t=>this[t])).join(";")},filteredSortedRows(){let t=this.data;if(!0===this.isServerSide||0===t.length)return t;const{sortBy:e,descending:n}=this.computedPagination;return this.filter&&(t=this.filterMethod(t,this.filter,this.computedCols,this.getCellValue)),void 0!==this.columnToSort&&(t=this.sortMethod(this.data===t?t.slice():t,e,n)),t},filteredSortedRowsNumber(){return this.filteredSortedRows.length},computedRows(){let t=this.filteredSortedRows;if(!0===this.isServerSide)return t;const{rowsPerPage:e}=this.computedPagination;return 0!==e&&(0===this.firstRowIndex&&this.data!==t?t.length>this.lastRowIndex&&(t=t.slice(0,this.lastRowIndex)):t=t.slice(this.firstRowIndex,this.lastRowIndex)),t},computedRowsNumber(){return!0===this.isServerSide?this.computedPagination.rowsNumber||0:this.filteredSortedRowsNumber},nothingToDisplay(){return 0===this.computedRows.length},isServerSide(){return void 0!==this.computedPagination.rowsNumber},cardDefaultClass(){return" q-table__card"+(!0===this.isDark?" q-table__card--dark q-dark":"")+(!0===this.square?" q-table--square":"")+(!0===this.flat?" q-table--flat":"")+(!0===this.bordered?" q-table--bordered":"")},__containerClass(){return`q-table__container q-table--${this.separator}-separator column no-wrap`+(!0===this.grid?" q-table--grid":this.cardDefaultClass)+(!0===this.isDark?" q-table--dark":"")+(!0===this.dense?" q-table--dense":"")+(!1===this.wrapCells?" q-table--no-wrap":"")+(!0===this.inFullscreen?" fullscreen scroll":"")},containerClass(){return this.__containerClass+(!0===this.loading?" q-table--loading":"")},virtProps(){const t={};return S["a"].forEach((e=>{t[e]=this[e]})),void 0===t.virtualScrollItemSize&&(t.virtualScrollItemSize=!0===this.dense?28:48),t}},render(t){const e=[this.__getTopDiv(t)],n={staticClass:this.containerClass};return!0===this.grid?e.push(this.__getGridHeader(t)):Object.assign(n,{class:this.cardClass,style:this.cardStyle}),e.push(this.__getBody(t),this.__getBottomDiv(t)),!0===this.loading&&void 0!==this.$scopedSlots.loading&&e.push(this.$scopedSlots.loading()),t("div",n,e)},methods:{requestServerInteraction(t={}){this.$nextTick((()=>{this.$emit("request",{pagination:t.pagination||this.computedPagination,filter:t.filter||this.filter,getCellValue:this.getCellValue})}))},resetVirtualScroll(){!0===this.hasVirtScroll&&this.$refs.virtScroll.reset()},__getBody(t){if(!0===this.grid)return this.__getGridBody(t);const e=!0!==this.hideHeader?this.__getTHead(t):null;if(!0===this.hasVirtScroll){const n=this.$scopedSlots["top-row"],i=this.$scopedSlots["bottom-row"],r={default:this.__getVirtualTBodyTR(t)};if(void 0!==n){const i=t("tbody",n({cols:this.computedCols}));r.before=null===e?()=>[i]:()=>[e].concat(i)}else null!==e&&(r.before=()=>e);return void 0!==i&&(r.after=()=>t("tbody",i({cols:this.computedCols}))),t(T,{ref:"virtScroll",props:{...this.virtProps,items:this.computedRows,type:"__qtable",tableColspan:this.computedColspan},on:Object(c["b"])(this,"vs",{"virtual-scroll":this.__onVScroll}),class:this.tableClass,style:this.tableStyle,scopedSlots:r})}return w(t,{staticClass:"scroll",class:this.tableClass,style:this.tableStyle},[e,this.__getTBody(t)])},scrollTo(t,e){if(void 0!==this.$refs.virtScroll)return void this.$refs.virtScroll.scrollTo(t,e);t=parseInt(t,10);const n=this.$el.querySelector(`tbody tr:nth-of-type(${t+1})`);if(null!==n){const e=this.$el.querySelector(".q-table__middle.scroll"),{offsetTop:i}=n,r=i<e.scrollTop?"decrease":"increase";e.scrollTop=i,this.$emit("virtual-scroll",{index:t,from:0,to:this.pagination.rowsPerPage-1,direction:r})}},__onVScroll(t){this.$emit("virtual-scroll",t)},__getProgress(t){return[t(P,{staticClass:"q-table__linear-progress",props:{color:this.color,dark:this.isDark,indeterminate:!0,trackColor:"transparent"}})]}}})},eac5:function(t,e,n){var i=n("861d"),r=Math.floor;t.exports=Number.isInteger||function(t){return!i(t)&&isFinite(t)&&r(t)===t}},eb85:function(t,e,n){"use strict";var i=n("2b0e"),r=n("b7fa"),o=n("87e8");const a={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},s={xs:2,sm:4,md:8,lg:16,xl:24};e["a"]=i["a"].extend({name:"QSeparator",mixins:[r["a"],o["a"]],props:{spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},computed:{orientation(){return!0===this.vertical?"vertical":"horizontal"},classPrefix(){return` q-separator--${this.orientation}`},insetClass(){return!1!==this.inset?`${this.classPrefix}-${a[this.inset]}`:""},classes(){return`q-separator${this.classPrefix}${this.insetClass}`+(void 0!==this.color?` bg-${this.color}`:"")+(!0===this.isDark?" q-separator--dark":"")},style(){const t={};if(void 0!==this.size&&(t[!0===this.vertical?"width":"height"]=this.size),!1!==this.spaced){const e=!0===this.spaced?`${s.md}px`:this.spaced in s?`${s[this.spaced]}px`:this.spaced,n=!0===this.vertical?["Left","Right"]:["Top","Bottom"];t[`margin${n[0]}`]=t[`margin${n[1]}`]=e}return t},attrs(){return{"aria-orientation":this.orientation}}},render(t){return t("hr",{staticClass:"q-separator",class:this.classes,style:this.style,attrs:this.attrs,on:{...this.qListeners}})}})},ebb5:function(t,e,n){"use strict";var i,r,o,a=n("a981"),s=n("83ab"),l=n("da84"),u=n("1626"),c=n("861d"),h=n("1a2d"),d=n("f5df"),p=n("0d51"),f=n("9112"),g=n("cb2d"),m=n("9bf2").f,v=n("3a9b"),y=n("e163"),b=n("d2bb"),_=n("b622"),x=n("90e3"),w=n("69f3"),S=w.enforce,C=w.get,k=l.Int8Array,M=k&&k.prototype,O=l.Uint8ClampedArray,T=O&&O.prototype,A=k&&y(k),I=M&&y(M),P=Object.prototype,E=l.TypeError,D=_("toStringTag"),L=x("TYPED_ARRAY_TAG"),j="TypedArrayConstructor",R=a&&!!b&&"Opera"!==d(l.opera),B=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},z=function(t){if(!c(t))return!1;var e=d(t);return"DataView"===e||h(N,e)||h(F,e)},V=function(t){var e=y(t);if(c(e)){var n=C(e);return n&&h(n,j)?n[j]:V(e)}},q=function(t){if(!c(t))return!1;var e=d(t);return h(N,e)||h(F,e)},$=function(t){if(q(t))return t;throw E("Target is not a typed array")},H=function(t){if(u(t)&&(!b||v(A,t)))return t;throw E(p(t)+" is not a typed array constructor")},G=function(t,e,n,i){if(s){if(n)for(var r in N){var o=l[r];if(o&&h(o.prototype,t))try{delete o.prototype[t]}catch(a){try{o.prototype[t]=e}catch(u){}}}I[t]&&!n||g(I,t,n?e:R&&M[t]||e,i)}},W=function(t,e,n){var i,r;if(s){if(b){if(n)for(i in N)if(r=l[i],r&&h(r,t))try{delete r[t]}catch(o){}if(A[t]&&!n)return;try{return g(A,t,n?e:R&&A[t]||e)}catch(o){}}for(i in N)r=l[i],!r||r[t]&&!n||g(r,t,e)}};for(i in N)r=l[i],o=r&&r.prototype,o?S(o)[j]=r:R=!1;for(i in F)r=l[i],o=r&&r.prototype,o&&(S(o)[j]=r);if((!R||!u(A)||A===Function.prototype)&&(A=function(){throw E("Incorrect invocation")},R))for(i in N)l[i]&&b(l[i],A);if((!R||!I||I===P)&&(I=A.prototype,R))for(i in N)l[i]&&b(l[i].prototype,I);if(R&&y(T)!==I&&b(T,I),s&&!h(I,D))for(i in B=!0,m(I,D,{get:function(){return c(this)?this[L]:void 0}}),N)l[i]&&f(l[i],L,i);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:B&&L,aTypedArray:$,aTypedArrayConstructor:H,exportTypedArrayMethod:G,exportTypedArrayStaticMethod:W,getTypedArrayConstructor:V,isView:z,isTypedArray:q,TypedArray:A,TypedArrayPrototype:I}},ec5d:function(t,e,n){"use strict";n.d(e,"b",(function(){return r}));n("5319");var i=n("2b0e"),r={isoName:"en-us",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),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("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:function(t){return 1===t?"1 record selected.":(0===t?"No":t)+" records selected."},recordsPerPage:"Records per page:",allRows:"All",pagination:function(t,e,n){return t+"-"+e+" of "+n},columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}},o=n("0967");function a(){if(!0===o["e"])return;const t=navigator.language||navigator.languages[0]||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage;return t?t.toLowerCase():void 0}const s={getLocale:a,install(t,e,n){const s=n||r;this.set=(e=r,n)=>{const i={...e,rtl:!0===e.rtl,getLocale:a};if(!0===o["e"]){if(void 0===n)return void console.error("SSR ERROR: second param required: Quasar.lang.set(lang, ssrContext)");const t=!0===i.rtl?"rtl":"ltr",e=`lang=${i.isoName} dir=${t}`;i.set=n.$q.lang.set,n.Q_HTML_ATTRS=void 0!==n.Q_PREV_LANG?n.Q_HTML_ATTRS.replace(n.Q_PREV_LANG,e):e,n.Q_PREV_LANG=e,n.$q.lang=i}else{if(!1===o["c"]){const t=document.documentElement;t.setAttribute("dir",!0===i.rtl?"rtl":"ltr"),t.setAttribute("lang",i.isoName)}i.set=this.set,t.lang=this.props=i,this.isoName=i.isoName,this.nativeName=i.nativeName}},!0===o["e"]?(e.server.push(((t,e)=>{t.lang={},t.lang.set=t=>{this.set(t,e.ssr)},t.lang.set(s)})),this.isoName=s.isoName,this.nativeName=s.nativeName,this.props=s):(i["a"].util.defineReactive(t,"lang",{}),this.set(s))}};e["a"]=s},ed3f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("4b23"),o=s(r),a=n("f08e");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,n){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,a.C_START_CHAR+t,n))}return c(e,t),i(e,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),e}(o.default);e.default=h},ed5e:function(t,e,n){"use strict";n("ddb0");var i=n("2b0e"),r=n("0831"),o=n("d882");const{passive:a}=o["f"];e["a"]=i["a"].extend({name:"QScrollObserver",props:{debounce:[String,Number],horizontal:Boolean,scrollTarget:{default:void 0}},render:o["g"],data(){return{pos:0,dir:!0===this.horizontal?"right":"down",dirChanged:!1,dirChangePos:0}},watch:{scrollTarget(){this.__unconfigureScrollTarget(),this.__configureScrollTarget()}},methods:{getPosition(){return{position:this.pos,direction:this.dir,directionChanged:this.dirChanged,inflexionPosition:this.dirChangePos}},trigger(t){if(!0===t||0===this.debounce||"0"===this.debounce)this.__emit();else if(void 0===this.clearTimer){const[t,e]=this.debounce?[setTimeout(this.__emit,this.debounce),clearTimeout]:[requestAnimationFrame(this.__emit),cancelAnimationFrame];this.clearTimer=()=>{e(t),this.clearTimer=void 0}}},__emit(){void 0!==this.clearTimer&&this.clearTimer();const t=!0===this.horizontal?r["a"]:r["c"],e=Math.max(0,t(this.__scrollTarget)),n=e-this.pos,i=!0===this.horizontal?n<0?"left":"right":n<0?"up":"down";this.dirChanged=this.dir!==i,this.dirChanged&&(this.dir=i,this.dirChangePos=this.pos),this.pos=e,this.$emit("scroll",this.getPosition())},__configureScrollTarget(){this.__scrollTarget=Object(r["d"])(this.$el.parentNode,this.scrollTarget),this.__scrollTarget.addEventListener("scroll",this.trigger,a),this.trigger(!0)},__unconfigureScrollTarget(){void 0!==this.__scrollTarget&&(this.__scrollTarget.removeEventListener("scroll",this.trigger,a),this.__scrollTarget=void 0)}},mounted(){this.__configureScrollTarget()},beforeDestroy(){void 0!==this.clearTimer&&this.clearTimer(),this.__unconfigureScrollTarget()}})},edd0:function(t,e,n){var i=n("13d2"),r=n("9bf2");t.exports=function(t,e,n){return n.get&&i(n.get,e,{getter:!0}),n.set&&i(n.set,e,{setter:!0}),r.f(t,e,n)}},ee89:function(t,e,n){"use strict";var i=n("2b0e"),r=(n("ddb0"),n("2b3d"),n("9861"),n("9c40")),o=n("0016"),a=n("0d59"),s=n("87e8"),l=n("6642"),u=n("dde5"),c=n("7937");const h=50,d=2*h,p=d*Math.PI,f=Math.round(1e3*p)/1e3;var g=i["a"].extend({name:"QCircularProgress",mixins:[s["a"],l["a"]],props:{value:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,thickness:{type:Number,default:.2,validator:t=>t>=0&&t<=1},angle:{type:Number,default:0},indeterminate:Boolean,showValue:Boolean,reverse:Boolean,instantFeedback:Boolean},computed:{normalizedValue(){return Object(c["a"])(this.value,this.min,this.max)},svgStyle(){const t=!0===this.$q.lang.rtl?-this.angle:this.angle;return{transform:this.reverse!==(!0===this.$q.lang.rtl)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-t}deg)`:`rotate3d(0, 0, 1, ${t-90}deg)`}},circleStyle(){if(!0!==this.instantFeedback&&!0!==this.indeterminate)return{transition:"stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease"}},viewBox(){return d/(1-this.thickness/2)},viewBoxAttr(){return`${this.viewBox/2} ${this.viewBox/2} ${this.viewBox} ${this.viewBox}`},strokeDashOffset(){const t=1-(this.normalizedValue-this.min)/(this.max-this.min);return t*p},strokeWidth(){return this.thickness/2*this.viewBox},attrs(){return{role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":!0===this.indeterminate?void 0:this.normalizedValue}}},methods:{__getCircle(t,{thickness:e,offset:n,color:i,cls:r}){return t("circle",{staticClass:"q-circular-progress__"+r,class:void 0!==i?`text-${i}`:null,style:this.circleStyle,attrs:{fill:"transparent",stroke:"currentColor","stroke-width":e,"stroke-dasharray":f,"stroke-dashoffset":n,cx:this.viewBox,cy:this.viewBox,r:h}})}},render(t){const e=[];void 0!==this.centerColor&&"transparent"!==this.centerColor&&e.push(t("circle",{staticClass:"q-circular-progress__center",class:`text-${this.centerColor}`,attrs:{fill:"currentColor",r:h-this.strokeWidth/2,cx:this.viewBox,cy:this.viewBox}})),void 0!==this.trackColor&&"transparent"!==this.trackColor&&e.push(this.__getCircle(t,{cls:"track",thickness:this.strokeWidth,offset:0,color:this.trackColor})),e.push(this.__getCircle(t,{cls:"circle",thickness:this.strokeWidth,offset:this.strokeDashOffset,color:this.color}));const n=[t("svg",{staticClass:"q-circular-progress__svg",style:this.svgStyle,attrs:{focusable:"false",viewBox:this.viewBoxAttr,"aria-hidden":"true"}},e)];return!0===this.showValue&&n.push(t("div",{staticClass:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:this.fontSize}},void 0!==this.$scopedSlots.default?this.$scopedSlots.default():[t("div",[this.normalizedValue])])),t("div",{staticClass:"q-circular-progress",class:`q-circular-progress--${!0===this.indeterminate?"in":""}determinate`,style:this.sizeStyle,on:{...this.qListeners},attrs:this.attrs},Object(u["b"])(n,this,"internal"))}}),m=n("cc78"),v=n("b7fa"),y=n("d882"),b=n("0cd3"),_=i["a"].extend({name:"QUploaderBase",mixins:[v["a"],m["b"]],props:{label:String,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,noThumbnails:Boolean,autoUpload:Boolean,hideUploadBtn:Boolean,disable:Boolean,readonly:Boolean},provide(){return{__qUploaderGetInput:this.__getInputControl}},data(){return{files:[],queuedFiles:[],uploadedFiles:[],dnd:!1,expanded:!1,uploadSize:0,uploadedSize:0}},watch:{isUploading(t,e){!1===e&&!0===t?this.$emit("start"):!0===e&&!1===t&&this.$emit("finish")}},computed:{canUpload(){return!0===this.editable&&!0!==this.isBusy&&!0!==this.isUploading&&this.queuedFiles.length>0},canAddFiles(){return!0===this.editable&&!0!==this.isUploading&&(!0===this.multiple||0===this.queuedFiles.length)&&(void 0===this.maxFiles||this.files.length<this.maxFilesNumber)&&(void 0===this.maxTotalSize||this.uploadSize<this.maxTotalSizeNumber)},uploadProgress(){return 0===this.uploadSize?0:this.uploadedSize/this.uploadSize},uploadProgressLabel(){return this.__getProgressLabel(this.uploadProgress)},uploadedSizeLabel(){return Object(c["c"])(this.uploadedSize)},uploadSizeLabel(){return Object(c["c"])(this.uploadSize)},colorClass(){const t=[];return void 0!==this.color&&t.push(`bg-${this.color}`),void 0!==this.textColor&&t.push(`text-${this.textColor}`),t.join(" ")},editable(){return!0!==this.disable&&!0!==this.readonly}},methods:{reset(){this.disable||(this.abort(),this.uploadedSize=0,this.uploadSize=0,this.__revokeImgURLs(),this.files=[],this.queuedFiles=[],this.uploadedFiles=[])},removeUploadedFiles(){this.__removeFiles(["uploaded"],(()=>{this.uploadedFiles=[]}))},removeQueuedFiles(){this.__removeFiles(["idle","failed"],(({size:t})=>{this.uploadSize-=t,this.queuedFiles=[]}))},__removeFiles(t,e){if(!0===this.disable)return;const n={files:[],size:0},i=this.files.filter((e=>-1===t.indexOf(e.__status)||(n.size+=e.size,n.files.push(e),void 0!==e.__img&&window.URL.revokeObjectURL(e.__img.src),!1)));n.files.length>0&&(this.files=i,void 0!==e&&e(n),this.$emit("removed",n.files))},removeFile(t){this.disable||("uploaded"===t.__status?this.uploadedFiles=this.uploadedFiles.filter((e=>e.__key!==t.__key)):"uploading"===t.__status?t.__abort():this.uploadSize-=t.size,this.files=this.files.filter((e=>e.__key!==t.__key||(void 0!==e.__img&&window.URL.revokeObjectURL(e.__img.src),!1))),this.queuedFiles=this.queuedFiles.filter((e=>e.__key!==t.__key)),this.$emit("removed",[t]))},__revokeImgURLs(){this.files.forEach((t=>{void 0!==t.__img&&window.URL.revokeObjectURL(t.__img.src)}))},__getFileInput(){return this.$refs.input||this.$el.getElementsByClassName("q-uploader__input")[0]},__getProgressLabel(t){return(100*t).toFixed(2)+"%"},__updateFile(t,e,n){if(t.__status=e,"idle"===e)return t.__uploaded=0,t.__progress=0,t.__sizeLabel=Object(c["c"])(t.size),void(t.__progressLabel="0.00%");"failed"!==e?(t.__uploaded="uploaded"===e?t.size:n,t.__progress="uploaded"===e?1:Math.min(.9999,t.__uploaded/t.size),t.__progressLabel=this.__getProgressLabel(t.__progress),this.$forceUpdate()):this.$forceUpdate()},__addFiles(t,e){const n=this.__processFiles(t,e,this.files,!0);if(void 0===n)return;const i=this.__getFileInput();void 0!==i&&(i.value=""),n.forEach((t=>{if(this.__updateFile(t,"idle"),this.uploadSize+=t.size,!0!==this.noThumbnails&&t.type.toUpperCase().startsWith("IMAGE")){const e=new Image;e.src=window.URL.createObjectURL(t),t.__img=e}})),this.files=this.files.concat(n),this.queuedFiles=this.queuedFiles.concat(n),this.$emit("added",n),!0===this.autoUpload&&this.upload()},__getBtn(t,e,n,i){if(!0===e)return t(r["a"],{props:{type:"a",icon:this.$q.iconSet.uploader[n],flat:!0,dense:!0},on:{click:"add"===n?this.pickFiles:i}},"add"===n?this.__getInputControl(t):null)},__getInputControl(t){return[t("input",{ref:"input",staticClass:"q-uploader__input overflow-hidden absolute-full",attrs:{tabindex:-1,type:"file",title:"",accept:this.accept,capture:this.capture,...!0===this.multiple?{multiple:!0}:{}},on:Object(b["b"])(this,"input",{mousedown:y["k"],click:this.pickFiles,change:this.__addFiles})})]},__getHeader(t){return void 0!==this.$scopedSlots.header?this.$scopedSlots.header(this):[t("div",{staticClass:"q-uploader__header-content column"},[t("div",{staticClass:"flex flex-center no-wrap q-gutter-xs"},[this.__getBtn(t,this.queuedFiles.length>0,"removeQueue",this.removeQueuedFiles),this.__getBtn(t,this.uploadedFiles.length>0,"removeUploaded",this.removeUploadedFiles),!0===this.isUploading?t(a["a"],{staticClass:"q-uploader__spinner"}):null,t("div",{staticClass:"col column justify-center"},[void 0!==this.label?t("div",{staticClass:"q-uploader__title"},[this.label]):null,t("div",{staticClass:"q-uploader__subtitle"},[this.uploadSizeLabel+" / "+this.uploadProgressLabel])]),this.__getBtn(t,this.canAddFiles,"add",this.pickFiles),this.__getBtn(t,!1===this.hideUploadBtn&&!0===this.canUpload,"upload",this.upload),this.__getBtn(t,this.isUploading,"clear",this.abort)])])]},__getList(t){return void 0!==this.$scopedSlots.list?this.$scopedSlots.list(this):this.files.map((e=>t("div",{key:e.__key,staticClass:"q-uploader__file relative-position",class:{"q-uploader__file--img":!0!==this.noThumbnails&&void 0!==e.__img,"q-uploader__file--failed":"failed"===e.__status,"q-uploader__file--uploaded":"uploaded"===e.__status},style:!0!==this.noThumbnails&&void 0!==e.__img?{backgroundImage:'url("'+e.__img.src+'")'}:null},[t("div",{staticClass:"q-uploader__file-header row flex-center no-wrap"},["failed"===e.__status?t(o["a"],{staticClass:"q-uploader__file-status",props:{name:this.$q.iconSet.type.negative,color:"negative"}}):null,t("div",{staticClass:"q-uploader__file-header-content col"},[t("div",{staticClass:"q-uploader__title"},[e.name]),t("div",{staticClass:"q-uploader__subtitle row items-center no-wrap"},[e.__sizeLabel+" / "+e.__progressLabel])]),"uploading"===e.__status?t(g,{props:{value:e.__progress,min:0,max:1,indeterminate:0===e.__progress}}):t(r["a"],{props:{round:!0,dense:!0,flat:!0,icon:this.$q.iconSet.uploader["uploaded"===e.__status?"done":"clear"]},on:{click:()=>{this.removeFile(e)}}})])])))}},beforeDestroy(){!0===this.isUploading&&this.abort(),this.files.length>0&&this.__revokeImgURLs()},render(t){const e=[t("div",{staticClass:"q-uploader__header",class:this.colorClass},this.__getHeader(t)),t("div",{staticClass:"q-uploader__list scroll"},this.__getList(t)),this.__getDnd(t,"uploader")];return!0===this.isBusy&&e.push(t("div",{staticClass:"q-uploader__overlay absolute-full flex flex-center"},[t(a["a"])])),t("div",{staticClass:"q-uploader column no-wrap",class:{"q-uploader--dark q-dark":this.isDark,"q-uploader--bordered":this.bordered,"q-uploader--square no-border-radius":this.square,"q-uploader--flat no-shadow":this.flat,"disabled q-uploader--disable":this.disable,"q-uploader--dnd":this.dnd},on:!0===this.canAddFiles?Object(b["b"])(this,"drag",{dragover:this.__onDragOver,dragleave:this.__onDragLeave}):null},e)}});n("d9e2");function x(t){return"function"===typeof t?t:()=>t}var w={props:{url:[Function,String],method:{type:[Function,String],default:"POST"},fieldName:{type:[Function,String],default:t=>t.name},headers:[Function,Array],formFields:[Function,Array],withCredentials:[Function,Boolean],sendRaw:[Function,Boolean],batch:[Function,Boolean],factory:Function},data(){return{xhrs:[],promises:[],workingThreads:0}},computed:{xhrProps(){return{url:x(this.url),method:x(this.method),headers:x(this.headers),formFields:x(this.formFields),fieldName:x(this.fieldName),withCredentials:x(this.withCredentials),sendRaw:x(this.sendRaw),batch:x(this.batch)}},isUploading(){return this.workingThreads>0},isBusy(){return this.promises.length>0}},methods:{abort(){this.xhrs.forEach((t=>{t.abort()})),this.promises.length>0&&(this.abortPromises=!0)},upload(){if(!1===this.canUpload)return;const t=this.queuedFiles.slice(0);this.queuedFiles=[],this.xhrProps.batch(t)?this.__runFactory(t):t.forEach((t=>{this.__runFactory([t])}))},__runFactory(t){if(this.workingThreads++,"function"!==typeof this.factory)return void this.__uploadFiles(t,{});const e=this.factory(t);if(e)if("function"===typeof e.catch&&"function"===typeof e.then){this.promises.push(e);const n=n=>{!0!==this._isBeingDestroyed&&!0!==this._isDestroyed&&(this.promises=this.promises.filter((t=>t!==e)),0===this.promises.length&&(this.abortPromises=!1),this.queuedFiles=this.queuedFiles.concat(t),t.forEach((t=>{this.__updateFile(t,"failed")})),this.$emit("factory-failed",n,t),this.workingThreads--)};e.then((i=>{!0===this.abortPromises?n(new Error("Aborted")):!0!==this._isBeingDestroyed&&!0!==this._isDestroyed&&(this.promises=this.promises.filter((t=>t!==e)),this.__uploadFiles(t,i))})).catch(n)}else this.__uploadFiles(t,e||{});else this.$emit("factory-failed",new Error("QUploader: factory() does not return properly"),t),this.workingThreads--},__uploadFiles(t,e){const n=new FormData,i=new XMLHttpRequest,r=(t,n)=>void 0!==e[t]?x(e[t])(n):this.xhrProps[t](n),o=r("url",t);if(!o)return console.error("q-uploader: invalid or no URL specified"),void this.workingThreads--;const a=r("formFields",t);void 0!==a&&a.forEach((t=>{n.append(t.name,t.value)}));let s,l=0,u=0,c=0,h=0;i.upload.addEventListener("progress",(e=>{if(!0===s)return;const n=Math.min(h,e.loaded);this.uploadedSize+=n-c,c=n;let i=c-u;for(let r=l;i>0&&r<t.length;r++){const e=t[r],n=i>e.size;if(!n)return void this.__updateFile(e,"uploading",i);i-=e.size,l++,u+=e.size,this.__updateFile(e,"uploading",e.size)}}),!1),i.onreadystatechange=()=>{i.readyState<4||(i.status&&i.status<400?(this.uploadedFiles=this.uploadedFiles.concat(t),t.forEach((t=>{this.__updateFile(t,"uploaded")})),this.$emit("uploaded",{files:t,xhr:i})):(s=!0,this.uploadedSize-=c,this.queuedFiles=this.queuedFiles.concat(t),t.forEach((t=>{this.__updateFile(t,"failed")})),this.$emit("failed",{files:t,xhr:i})),this.workingThreads--,this.xhrs=this.xhrs.filter((t=>t!==i)))},i.open(r("method",t),o),!0===r("withCredentials",t)&&(i.withCredentials=!0);const d=r("headers",t);void 0!==d&&d.forEach((t=>{i.setRequestHeader(t.name,t.value)}));const p=r("sendRaw",t);t.forEach((t=>{this.__updateFile(t,"uploading",0),!0!==p&&n.append(r("fieldName",t),t,t.name),t.xhr=i,t.__abort=()=>{i.abort()},h+=t.size})),this.$emit("uploading",{files:t,xhr:i}),this.xhrs.push(i),!0===p?i.send(new Blob(t)):i.send(n)}}};e["a"]=i["a"].extend({name:"QUploader",mixins:[_,w]})},eebe:function(t,e){t.exports=function(t,e,n){var i;if("function"===typeof t.exports?(i=t.exports.extendOptions,i[e]=t.exports.options[e]):i=t.options,void 0===i[e])i[e]=n;else{var r=i[e];for(var o in n)void 0===r[o]&&(r[o]=n[o])}}},ef35:function(t,e,n){"use strict";var i=n("2b0e"),r=n("87e8"),o=n("1c16"),a=n("f303"),s=n("0831"),l=n("d882"),u=n("dde5");const{passive:c}=l["f"];e["a"]=i["a"].extend({name:"QInfiniteScroll",mixins:[r["a"]],props:{offset:{type:Number,default:500},debounce:{type:[String,Number],default:100},scrollTarget:{default:void 0},initialIndex:Number,disable:Boolean,reverse:Boolean},data(){return{index:this.initialIndex||0,isFetching:!1,isWorking:!0}},watch:{disable(t){!0===t?this.stop():this.resume()},reverse(){!1===this.isFetching&&!0===this.isWorking&&this.immediatePoll()},scrollTarget(){this.updateScrollTarget()},debounce(t){this.__setDebounce(t)}},methods:{poll(){if(!0===this.disable||!0===this.isFetching||!1===this.isWorking)return;const t=Object(s["b"])(this.__scrollTarget),e=Object(s["c"])(this.__scrollTarget),n=Object(a["e"])(this.__scrollTarget);!1===this.reverse?Math.round(e+n+this.offset)>=Math.round(t)&&this.trigger():Math.round(e)<this.offset&&this.trigger()},trigger(){if(!0===this.disable||!0===this.isFetching||!1===this.isWorking)return;this.index++,this.isFetching=!0;const t=Object(s["b"])(this.__scrollTarget);this.$emit("load",this.index,(e=>{!0===this.isWorking&&(this.isFetching=!1,this.$nextTick((()=>{if(!0===this.reverse){const e=Object(s["b"])(this.__scrollTarget),n=Object(s["c"])(this.__scrollTarget),i=e-t;Object(s["i"])(this.__scrollTarget,n+i)}!0===e?this.stop():this.$el.closest("body")&&this.poll()})))}))},reset(){this.index=0},resume(){!1===this.isWorking&&(this.isWorking=!0,this.__scrollTarget.addEventListener("scroll",this.poll,c)),this.immediatePoll()},stop(){!0===this.isWorking&&(this.isWorking=!1,this.isFetching=!1,this.__scrollTarget.removeEventListener("scroll",this.poll,c),"function"===typeof this.poll.cancel&&this.poll.cancel())},updateScrollTarget(){if(this.__scrollTarget&&!0===this.isWorking&&this.__scrollTarget.removeEventListener("scroll",this.poll,c),this.__scrollTarget=Object(s["d"])(this.$el,this.scrollTarget),!0===this.isWorking){if(this.__scrollTarget.addEventListener("scroll",this.poll,c),!0===this.reverse){const t=Object(s["b"])(this.__scrollTarget),e=Object(a["e"])(this.__scrollTarget);Object(s["i"])(this.__scrollTarget,t-e)}this.immediatePoll()}},setIndex(t){this.index=t},__setDebounce(t){t=parseInt(t,10);const e=this.poll;this.poll=t<=0?this.immediatePoll:Object(o["a"])(this.immediatePoll,!0===isNaN(t)?100:t),this.__scrollTarget&&!0===this.isWorking&&(void 0!==e&&this.__scrollTarget.removeEventListener("scroll",e,c),this.__scrollTarget.addEventListener("scroll",this.poll,c))}},mounted(){this.immediatePoll=this.poll,this.__setDebounce(this.debounce),this.updateScrollTarget()},activated(){void 0!==this.__scrollPosition&&this.__scrollTarget&&Object(s["i"])(this.__scrollTarget,this.__scrollPosition)},deactivated(){this.__scrollPosition=this.__scrollTarget?Object(s["c"])(this.__scrollTarget):void 0},beforeDestroy(){this.stop()},render(t){const e=Object(u["d"])(this,"default",[]);return!0!==this.disable&&!0===this.isWorking&&e[!1===this.reverse?"push":"unshift"](t("div",{staticClass:"q-infinite-scroll__loading",class:!0===this.isFetching?"":"invisible"},Object(u["c"])(this,"loading"))),t("div",{staticClass:"q-infinite-scroll",on:{...this.qListeners}},e)}})},efe6:function(t,e,n){"use strict";n.d(e,"b",(function(){return b}));var i=n("d882"),r=n("0831"),o=n("0967");let a,s,l,u,c,h,d=0,p=!1;function f(t){g(t)&&Object(i["l"])(t)}function g(t){if(t.target===document.body||t.target.classList.contains("q-layout__backdrop"))return!0;const e=Object(i["d"])(t),n=t.shiftKey&&!t.deltaX,o=!n&&Math.abs(t.deltaX)<=Math.abs(t.deltaY),a=n||o?t.deltaY:t.deltaX;for(let i=0;i<e.length;i++){const t=e[i];if(Object(r["f"])(t,o))return o?a<0&&0===t.scrollTop||a>0&&t.scrollTop+t.clientHeight===t.scrollHeight:a<0&&0===t.scrollLeft||a>0&&t.scrollLeft+t.clientWidth===t.scrollWidth}return!0}function m(t){t.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function v(t){!0!==p&&(p=!0,requestAnimationFrame((()=>{p=!1;const{height:e}=t.target,{clientHeight:n,scrollTop:i}=document.scrollingElement;void 0!==l&&e===window.innerHeight||(l=n-e,document.scrollingElement.scrollTop=i),i>l&&(document.scrollingElement.scrollTop-=Math.ceil((i-l)/8))})))}function y(t){const e=document.body,n=void 0!==window.visualViewport;if("add"===t){const t=window.getComputedStyle(e).overflowY;a=Object(r["a"])(window),s=Object(r["c"])(window),u=e.style.left,c=e.style.top,e.style.left=`-${a}px`,e.style.top=`-${s}px`,"hidden"!==t&&("scroll"===t||e.scrollHeight>window.innerHeight)&&e.classList.add("q-body--force-scrollbar"),e.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,!0===o["a"].is.ios&&(!0===n?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",v,i["f"].passiveCapture),window.visualViewport.addEventListener("scroll",v,i["f"].passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",m,i["f"].passiveCapture))}!0===o["a"].is.desktop&&!0===o["a"].is.mac&&window[`${t}EventListener`]("wheel",f,i["f"].notPassive),"remove"===t&&(!0===o["a"].is.ios&&(!0===n?(window.visualViewport.removeEventListener("resize",v,i["f"].passiveCapture),window.visualViewport.removeEventListener("scroll",v,i["f"].passiveCapture)):window.removeEventListener("scroll",m,i["f"].passiveCapture)),e.classList.remove("q-body--prevent-scroll"),e.classList.remove("q-body--force-scrollbar"),document.qScrollPrevented=!1,e.style.left=u,e.style.top=c,window.scrollTo(a,s),l=void 0)}function b(t){let e="add";if(!0===t){if(d++,void 0!==h)return clearTimeout(h),void(h=void 0);if(d>1)return}else{if(0===d)return;if(d--,d>0)return;if(e="remove",!0===o["a"].is.ios&&!0===o["a"].is.nativeMobile)return clearTimeout(h),void(h=setTimeout((()=>{y(e),h=void 0}),100))}y(e)}e["a"]={methods:{__preventScroll(t){t===this.preventedScroll||void 0===this.preventedScroll&&!0!==t||(this.preventedScroll=t,b(t))}}}},f069:function(t,e,n){"use strict";var i=n("59ed"),r=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new r(t)}},f08e:function(t,e,n){"use strict";var i;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var o=e.SET_A=0,a=e.SET_B=1,s=e.SET_C=2,l=(e.SHIFT=98,e.START_A=103),u=e.START_B=104,c=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(i={},r(i,l,o),r(i,u,a),r(i,c,s),i),e.SWAP={101:o,100:a,99:s},e.A_START_CHAR=String.fromCharCode(208),e.B_START_CHAR=String.fromCharCode(209),e.C_START_CHAR=String.fromCharCode(210),e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]},f09f:function(t,e,n){"use strict";var i=n("2b0e"),r=n("b7fa"),o=n("e2fa"),a=n("87e8"),s=n("dde5");e["a"]=i["a"].extend({name:"QCard",mixins:[a["a"],r["a"],o["a"]],props:{square:Boolean,flat:Boolean,bordered:Boolean},computed:{classes(){return"q-card"+(!0===this.isDark?" q-card--dark q-dark":"")+(!0===this.bordered?" q-card--bordered":"")+(!0===this.square?" q-card--square no-border-radius":"")+(!0===this.flat?" q-card--flat no-shadow":"")}},render(t){return t(this.tag,{class:this.classes,on:{...this.qListeners}},Object(s["c"])(this,"default"))}})},f20b:function(t,e,n){"use strict";var i=n("2b0e"),r=n("c8c8"),o=n("f376"),a=n("0016"),s=n("9c40"),l=n("e7a9"),u=n("4e73"),c=n("dde5"),h=n("d882"),d=n("0cd3");e["a"]=i["a"].extend({name:"QBtnDropdown",mixins:[r["a"],o["b"]],inheritAttrs:!1,props:{value:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean},data(){return{showing:this.value}},watch:{value(t){void 0!==this.$refs.menu&&this.$refs.menu[t?"show":"hide"]()},split(){this.hide()}},render(t){const e=Object(c["c"])(this,"label",[]),n={"aria-expanded":!0===this.showing?"true":"false","aria-haspopup":"true"};(!0===this.disable||!1===this.split&&!0===this.disableMainBtn||!0===this.disableDropdown)&&(n["aria-disabled"]="true");const i=[t(a["a"],{props:{name:this.dropdownIcon||this.$q.iconSet.arrow.dropdown},class:"q-btn-dropdown__arrow"+(!0===this.showing&&!1===this.noIconAnimation?" rotate-180":"")+(!1===this.split?" q-btn-dropdown__arrow-container":"")})];if(!0!==this.disableDropdown&&i.push(t(u["a"],{ref:"menu",props:{cover:this.cover,fit:!0,persistent:this.persistent,noRouteDismiss:this.noRouteDismiss,autoClose:this.autoClose,anchor:this.menuAnchor,self:this.menuSelf,offset:this.menuOffset,contentClass:this.contentClass,contentStyle:this.contentStyle,separateClosePopup:!0},on:Object(d["b"])(this,"menu",{"before-show":t=>{this.showing=!0,this.$emit("before-show",t)},show:t=>{this.$emit("show",t),this.$emit("input",!0)},"before-hide":t=>{this.showing=!1,this.$emit("before-hide",t)},hide:t=>{this.$emit("hide",t),this.$emit("input",!1)}})},Object(c["c"])(this,"default"))),!1===this.split)return t(s["a"],{class:"q-btn-dropdown q-btn-dropdown--simple",props:{...this.$props,disable:!0===this.disable||!0===this.disableMainBtn,noWrap:!0,round:!1},attrs:{...this.qAttrs,...n},on:Object(d["b"])(this,"nonSpl",{click:t=>{this.$emit("click",t)}})},e.concat(i));const r=t(s["a"],{class:"q-btn-dropdown--current",props:{...this.$props,disable:!0===this.disable||!0===this.disableMainBtn,noWrap:!0,iconRight:this.iconRight,round:!1},attrs:this.qAttrs,on:Object(d["b"])(this,"spl",{click:t=>{Object(h["k"])(t),this.hide(),this.$emit("click",t)}})},e);return t(l["a"],{props:{outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,unelevated:this.unelevated,glossy:this.glossy,stretch:this.stretch},staticClass:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item"},[r,t(s["a"],{staticClass:"q-btn-dropdown__arrow-container q-anchor--skip",attrs:n,props:{disable:!0===this.disable||!0===this.disableDropdown,outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,size:this.size,color:this.color,textColor:this.textColor,dense:this.dense,ripple:this.ripple}},i)])},methods:{toggle(t){this.$refs.menu&&this.$refs.menu.toggle(t)},show(t){this.$refs.menu&&this.$refs.menu.show(t)},hide(t){this.$refs.menu&&this.$refs.menu.hide(t)}},mounted(){!0===this.value&&this.show()}})},f303:function(t,e,n){"use strict";function i(t){return t===window?window.innerHeight:t.getBoundingClientRect().height}function r(t,e){const n=t.style;Object.keys(e).forEach((t=>{n[t]=e[t]}))}function o(t){const e=typeof t;if("function"===e&&(t=t()),"string"===e)try{t=document.querySelector(t)}catch(n){}return t!==Object(t)?null:!0===t._isVue&&void 0!==t.$el?t.$el:t}function a(t,e){if(void 0===t||!0===t.contains(e))return!0;for(let n=t.nextElementSibling;null!==n;n=n.nextElementSibling)if(n.contains(e))return!0;return!1}function s(t){return t===document.documentElement||null===t?document.body:t}n.d(e,"e",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return s}))},f376:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o}));var i=n("0cd3");const r={"aria-hidden":"true"},o={tabindex:0,type:"button","aria-hidden":!1,role:null};e["b"]=Object(i["c"])("$attrs","qAttrs")},f495:function(t,e,n){var i=n("c04e"),r=TypeError;t.exports=function(t){var e=i(t,"number");if("number"==typeof e)throw r("Can't convert number to bigint");return BigInt(e)}},f508:function(t,e,n){"use strict";var i=n("2b0e"),r=n("0d59"),o=n("0967"),a=n("0cd3"),s=n("5ff7"),l=n("efe6");let u,c,h=0,d={};const p={delay:0,message:!1,spinnerSize:80,spinnerColor:"white",messageColor:"white",backgroundColor:"black",spinner:r["a"],customClass:""},f={...p},g={isActive:!1,show(t){if(!0!==o["e"]){if(d=!0===Object(s["d"])(t)&&!0===t.ignoreDefaults?{...p,...t}:{...f,...t},d.customClass+=` text-${d.backgroundColor}`,this.isActive=!0,void 0!==u)return d.uid=h,void u.$forceUpdate();d.uid=++h,clearTimeout(c),c=setTimeout((()=>{c=void 0;const t=document.createElement("div");document.body.appendChild(t),u=new i["a"]({name:"QLoading",devtools:{hide:!0},beforeCreate(){void 0===this._routerRoot&&(this._routerRoot={})},el:t,mounted(){Object(l["b"])(!0)},render:t=>t("transition",{props:{name:"q-transition--fade",appear:!0},on:Object(a["b"])(this,"tr",{"after-leave":()=>{!0!==this.isActive&&void 0!==u&&(Object(l["b"])(!1),u.$destroy(),u.$el.remove(),u=void 0)}})},[!0===this.isActive?t("div",{staticClass:"q-loading fullscreen column flex-center z-max",key:d.uid,class:d.customClass.trim()},[t(d.spinner,{props:{color:d.spinnerColor,size:d.spinnerSize}}),d.message&&t("div",{class:`text-${d.messageColor}`,domProps:{[!0===d.sanitize?"textContent":"innerHTML"]:d.message}})||void 0]):null])})}),d.delay)}},hide(){!0===this.isActive&&(void 0!==c&&(clearTimeout(c),c=void 0),this.isActive=!1)},setDefaults(t){!0===Object(s["d"])(t)&&Object.assign(f,t)},install({$q:t,cfg:{loading:e}}){this.setDefaults(e),t.loading=this}};!1===o["e"]&&i["a"].util.defineReactive(g,"isActive",g.isActive),e["a"]=g},f5df:function(t,e,n){var i=n("00ee"),r=n("1626"),o=n("c6b6"),a=n("b622"),s=a("toStringTag"),l=Object,u="Arguments"==o(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(n){}};t.exports=i?o:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=l(t),s))?n:u?o(e):"Object"==(i=o(e))&&r(e.callee)?"Arguments":i}},f6b4:function(t,e,n){"use strict";var i=n("c532");function r(){this.handlers=[]}r.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},f772:function(t,e,n){var i=n("5692"),r=n("90e3"),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},f89c:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),e["b"]={props:{name:String},computed:{formAttrs(){return{type:"hidden",name:this.name,value:this.value}}},methods:{__injectFormInput(t,e,n){t[e](this.$createElement("input",{staticClass:"hidden",class:n,attrs:this.formAttrs,domProps:this.formDomProps}))}}};const i={props:{name:String},computed:{nameProp(){return this.name||this.for}}}},f8cd:function(t,e,n){var i=n("5926"),r=RangeError;t.exports=function(t){var e=i(t);if(e<0)throw r("The argument can't be less than 0");return e}},fa9e:function(t,e,n){n("986a")},fbb2:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,n){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return u(e,t),i(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(o.default);e.GenericBarcode=c},fc6a:function(t,e,n){var i=n("44ad"),r=n("1d80");t.exports=function(t){return i(r(t))}},fce3:function(t,e,n){var i=n("d039"),r=n("da84"),o=r.RegExp;t.exports=i((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},fd7c:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};e.default=function(t,e){return i({},t,e)}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var i=n("4930");t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},ff7b:function(t,e,n){"use strict";var i=n("6642");e["a"]=Object(i["b"])({xs:30,sm:35,md:40,lg:50,xl:60})},ff84:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("349c"),r=n("da3d"),o=n("241e"),a=n("2635"),s=n("9ffa"),l=n("8e51"),u=n("7cb9"),c=n("c17b"),h=n("fbb2");e.default={CODE39:i.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.CODE128C,EAN13:o.EAN13,EAN8:o.EAN8,EAN5:o.EAN5,EAN2:o.EAN2,UPC:o.UPC,UPCE:o.UPCE,ITF14:a.ITF14,ITF:s.ITF,MSI:l.MSI,MSI10:l.MSI10,MSI11:l.MSI11,MSI1010:l.MSI1010,MSI1110:l.MSI1110,pharmacode:u.pharmacode,codabar:c.codabar,GenericBarcode:h.GenericBarcode}}}]);
|