unisi 0.2.5__py3-none-any.whl → 0.2.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,45 @@
1
+ (globalThis["webpackChunkuniqua"]=globalThis["webpackChunkuniqua"]||[]).push([[121],{8582:e=>{e.exports=function(e,t,n){const r=void 0!==e.__vccOpts?e.__vccOpts:e,i=r[t];if(void 0===i)r[t]=n;else for(const o in n)void 0===i[o]&&(i[o]=n[o])}},5793:(e,t,n)=>{"use strict";n.d(t,{C$:()=>oe});var r=n(4933),i=WebGLRenderingContext,o=(i.UNSIGNED_BYTE,i.FLOAT,WebGLRenderingContext),a=(o.UNSIGNED_BYTE,o.FLOAT,WebGLRenderingContext),s=(a.UNSIGNED_BYTE,a.FLOAT,n(4614)),l=(n(9235),n(640));function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){if(Array.isArray(e))return u(e)}function d(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function h(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function f(){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(e){return c(e)||d(e)||h(e)||f()}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function m(e){var t=g(e,"string");return"symbol"==typeof t?t:String(t)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m(r.key),r)}}function _(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function x(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(x=function(){return!!e})()}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t){if(t&&("object"===typeof t||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function k(e,t,n){return t=b(t),S(e,x()?Reflect.construct(t,n||[],b(e).constructor):t.apply(e,n))}function C(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=b(e),null===e)break;return e}function A(){return A="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=C(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},A.apply(this,arguments)}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}function E(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}function M(e,t,n){return t=m(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function D(e,t){if(null==e)return{};var n,r,i=I(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){M(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function O(e){var t=e.texturesCount,n="\nprecision highp float;\n\nvarying vec4 v_color;\nvarying vec2 v_diffVector;\nvarying float v_radius;\nvarying vec4 v_texture;\nvarying float v_textureIndex;\n\nuniform sampler2D u_atlas[".concat(t,"];\nuniform float u_correctionRatio;\nuniform float u_cameraAngle;\nuniform float u_percentagePadding;\nuniform bool u_colorizeImages;\nuniform bool u_keepWithinCircle;\n\nconst vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);\n\nconst float radius = 0.5;\n\nvoid main(void) {\n float border = 2.0 * u_correctionRatio;\n float dist = length(v_diffVector);\n vec4 color = gl_FragColor;\n\n float c = cos(-u_cameraAngle);\n float s = sin(-u_cameraAngle);\n vec2 diffVector = mat2(c, s, -s, c) * (v_diffVector);\n\n // No antialiasing for picking mode:\n #ifdef PICKING_MODE\n border = 0.0;\n color = v_color;\n\n #else\n // First case: No image to display\n if (v_texture.w <= 0.0) {\n if (!u_colorizeImages) {\n color = v_color;\n }\n }\n\n // Second case: Image loaded into the texture\n else {\n float paddingRatio = 1.0 + 2.0 * u_percentagePadding;\n float coef = u_keepWithinCircle ? 1.0 : ").concat(Math.SQRT2,";\n vec2 coordinateInTexture = diffVector * vec2(paddingRatio, -paddingRatio) / v_radius / 2.0 * coef + vec2(0.5, 0.5);\n int index = int(v_textureIndex + 0.5); // +0.5 avoid rounding errors\n\n bool noTextureFound = false;\n vec4 texel;\n\n ").concat(p(new Array(t)).map((function(e,t){return"if (index == ".concat(t,") texel = texture2D(u_atlas[").concat(t,"], (v_texture.xy + coordinateInTexture * v_texture.zw), -1.0);")})).join("\n else ")+"else {\n texel = texture2D(u_atlas[0], (v_texture.xy + coordinateInTexture * v_texture.zw), -1.0);\n noTextureFound = true;\n }",'\n\n if (noTextureFound) {\n color = v_color;\n } else {\n // Colorize all visible image pixels:\n if (u_colorizeImages) {\n color = mix(gl_FragColor, v_color, texel.a);\n }\n\n // Colorize background pixels, keep image pixel colors:\n else {\n color = vec4(mix(v_color, texel, texel.a).rgb, max(texel.a, v_color.a));\n }\n\n // Erase pixels "in the padding":\n if (abs(diffVector.x) > v_radius / paddingRatio || abs(diffVector.y) > v_radius / paddingRatio) {\n color = u_colorizeImages ? gl_FragColor : v_color;\n }\n }\n }\n #endif\n\n // Crop in a circle when u_keepWithinCircle is truthy:\n if (u_keepWithinCircle) {\n if (dist < v_radius - border) {\n gl_FragColor = color;\n } else if (dist < v_radius) {\n gl_FragColor = mix(transparent, color, (v_radius - dist) / border);\n }\n }\n\n // Crop in a square else:\n else {\n float squareHalfSize = v_radius * ').concat(Math.SQRT1_2*Math.cos(Math.PI/12),";\n if (abs(diffVector.x) > squareHalfSize || abs(diffVector.y) > squareHalfSize) {\n gl_FragColor = transparent;\n } else {\n gl_FragColor = color;\n }\n }\n}\n");return n}var P="\nattribute vec4 a_id;\nattribute vec4 a_color;\nattribute vec2 a_position;\nattribute float a_size;\nattribute float a_angle;\nattribute vec4 a_texture;\nattribute float a_textureIndex;\n\nuniform mat3 u_matrix;\nuniform float u_sizeRatio;\nuniform float u_correctionRatio;\n\nvarying vec4 v_color;\nvarying vec2 v_diffVector;\nvarying float v_radius;\nvarying vec4 v_texture;\nvarying float v_textureIndex;\n\nconst float bias = 255.0 / 254.0;\nconst float marginRatio = 1.05;\n\nvoid main() {\n float size = a_size * u_correctionRatio / u_sizeRatio * 4.0;\n vec2 diffVector = size * vec2(cos(a_angle), sin(a_angle));\n vec2 position = a_position + diffVector * marginRatio;\n gl_Position = vec4(\n (u_matrix * vec3(position, 1)).xy,\n 0,\n 1\n );\n\n v_diffVector = diffVector;\n v_radius = size / 2.0 / marginRatio;\n\n #ifdef PICKING_MODE\n // For picking mode, we use the ID as the color:\n v_color = a_id;\n #else\n // For normal mode, we use the color:\n v_color = a_color;\n\n // Pass the texture coordinates:\n v_textureIndex = a_textureIndex;\n v_texture = a_texture;\n #endif\n\n v_color.a *= bias;\n}\n",z=P;function B(){B=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,a=Object.create(o.prototype),s=new I(r||[]);return i(a,"_invoke",{value:A(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var h="suspendedStart",f="suspendedYield",p="executing",v="completed",g={};function m(){}function y(){}function _(){}var b={};u(b,a,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(D([])));w&&w!==n&&r.call(w,a)&&(b=w);var S=_.prototype=m.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(i,o,a,s){var l=d(e[i],e,o);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==typeof c&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(c).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function A(t,n,r){var i=h;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=T(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===h)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var u=d(t,n,r);if("normal"===u.type){if(i=r.done?v:f,u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=v,r.method="throw",r.arg=u.arg)}}}function T(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=d(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return y.prototype=_,i(S,"constructor",{value:_,configurable:!0}),i(_,"constructor",{value:y,configurable:!0}),y.displayName=u(_,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,u(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},k(C.prototype),u(C.prototype,s,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new C(c(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(S),u(S,l,"Generator"),u(S,a,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;M(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}function N(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function F(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){N(o,r,i,a,s,"next",e)}function s(e){N(o,r,i,a,s,"throw",e)}a(void 0)}))}}var q={size:{mode:"max",value:512},objectFit:"cover",correctCentering:!1,maxTextureSize:4096,debounceTimeout:500,crossOrigin:"anonymous"},W=1;function G(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.crossOrigin;return new Promise((function(t,r){var i=new Image;i.addEventListener("load",(function(){t(i)}),{once:!0}),i.addEventListener("error",(function(e){r(e.error)}),{once:!0}),n&&i.setAttribute("crossOrigin",n),i.src=e}))}function V(e){return H.apply(this,arguments)}function H(){return H=F(B().mark((function e(t){var n,r,i,o,a,s,l,u,c,d,h,f,p,v=arguments;return B().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=v.length>1&&void 0!==v[1]?v[1]:{},r=n.size,i=n.crossOrigin,"use-credentials"!==i){e.next=7;break}return e.next=4,fetch(t,{credentials:"include"});case 4:o=e.sent,e.next=10;break;case 7:return e.next=9,fetch(t);case 9:o=e.sent;case 10:return e.next=12,o.text();case 12:if(a=e.sent,s=(new DOMParser).parseFromString(a,"image/svg+xml"),l=s.documentElement,u=l.getAttribute("width"),c=l.getAttribute("height"),u&&c){e.next=19;break}throw new Error("loadSVGImage: cannot use `size` if target SVG has no definite dimensions.");case 19:return"number"===typeof r&&(l.setAttribute("width",""+r),l.setAttribute("height",""+r)),d=(new XMLSerializer).serializeToString(s),h=new Blob([d],{type:"image/svg+xml"}),f=URL.createObjectURL(h),p=G(f),p["finally"]((function(){return URL.revokeObjectURL(f)})),e.abrupt("return",p);case 26:case"end":return e.stop()}}),e)}))),H.apply(this,arguments)}function j(e){return $.apply(this,arguments)}function $(){return $=F(B().mark((function e(t){var n,r,i,o,a,s,l=arguments;return B().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=l.length>1&&void 0!==l[1]?l[1]:{},i=r.size,o=r.crossOrigin,a="svg"===(null===(n=t.split(/[#?]/)[0].split(".").pop())||void 0===n?void 0:n.trim().toLowerCase()),!a||!i){e.next=16;break}return e.prev=3,e.next=6,V(t,{size:i,crossOrigin:o});case 6:s=e.sent,e.next=14;break;case 9:return e.prev=9,e.t0=e["catch"](3),e.next=13,G(t,{crossOrigin:o});case 13:s=e.sent;case 14:e.next=19;break;case 16:return e.next=18,G(t,{crossOrigin:o});case 18:s=e.sent;case 19:return e.abrupt("return",s);case 20:case"end":return e.stop()}}),e,null,[[3,9]])}))),$.apply(this,arguments)}function U(e,t,n){var r=n.objectFit,i=n.size,o=n.correctCentering,a="contain"===r?Math.max(e.width,e.height):Math.min(e.width,e.height),s="auto"===i.mode?a:"force"===i.mode?i.value:Math.min(i.value,a),l=(e.width-a)/2,u=(e.height-a)/2;if(o){var c=t.getCorrectionOffset(e,a);l=c.x,u=c.y}return{sourceX:l,sourceY:u,sourceSize:a,destinationSize:s}}function K(e,t,n){for(var r=t.canvas,i=r.width,o=r.height,a=[],s=n.x,l=n.y,u=n.rowHeight,c=n.maxRowWidth,d={},h=0,f=e.length;h<f;h++){var p=e[h],v=p.key,g=p.image,m=p.sourceSize,y=p.sourceX,_=p.sourceY,b=p.destinationSize,x=b+W;l+x>o||s+x>i&&l+x+u>o||(s+x>i&&(c=Math.max(c,s),s=0,l+=u,u=x),a.push({key:v,image:g,sourceX:y,sourceY:_,sourceSize:m,destinationX:s,destinationY:l,destinationSize:b}),d[v]={x:s,y:l,size:b},s+=x,u=Math.max(u,x))}c=Math.max(c,s);for(var w=c,S=l+u,k=0,C=a.length;k<C;k++){var A=a[k],T=A.image,E=A.sourceSize,M=A.sourceX,I=A.sourceY,D=A.destinationSize,R=A.destinationX,L=A.destinationY;t.drawImage(T,M,I,E,E,R,L,D,D)}return{atlas:d,texture:t.getImageData(0,0,w,S),cursor:{x:s,y:l,rowHeight:u,maxRowWidth:c}}}function X(e,t,n){var r=e.atlas,i=e.textures,o=e.cursor,a={atlas:L({},r),textures:p(i.slice(0,-1)),cursor:L({},o)},s=[];for(var l in t){var u,c=t[l];if("ready"===c.status){var d=null===(u=r[l])||void 0===u?void 0:u.textureIndex;"number"!==typeof d&&s.push(L({key:l},c))}}var h=function(){var e=K(s,n,a.cursor),t=e.atlas,r=e.texture,i=e.cursor;a.cursor=i;var o=[];s.forEach((function(e){t[e.key]?a.atlas[e.key]=L(L({},t[e.key]),{},{textureIndex:a.textures.length}):o.push(e)})),a.textures.push(r),s=o,s.length&&(a.cursor={x:0,y:0,rowHeight:0,maxRowWidth:0},n.clearRect(0,0,n.canvas.width,n.canvas.height))};while(s.length)h();return a}var Y=function(){function e(){v(this,e),this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",{willReadFrequently:!0})}return _(e,[{key:"getCorrectionOffset",value:function(e,t){this.canvas.width=t,this.canvas.height=t,this.context.clearRect(0,0,t,t),this.context.drawImage(e,0,0,t,t);for(var n=this.context.getImageData(0,0,t,t).data,r=new Uint8ClampedArray(n.length/4),i=0;i<n.length;i++)r[i]=n[4*i+3];for(var o=0,a=0,s=0,l=0;l<t;l++)for(var u=0;u<t;u++){var c=r[l*t+u];s+=c,o+=c*u,a+=c*l}var d=o/s,h=a/s;return{x:d-t/2,y:h-t/2}}}]),e}(),Z=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(this,t),e=k(this,t),M(w(e),"canvas",document.createElement("canvas")),M(w(e),"ctx",e.canvas.getContext("2d",{willReadFrequently:!0})),M(w(e),"corrector",new Y),M(w(e),"imageStates",{}),M(w(e),"textures",[e.ctx.getImageData(0,0,1,1)]),M(w(e),"lastTextureCursor",{x:0,y:0,rowHeight:0,maxRowWidth:0}),M(w(e),"atlas",{}),e.options=L(L({},q),n),e.canvas.width=e.options.maxTextureSize,e.canvas.height=e.options.maxTextureSize,e}return E(t,e),_(t,[{key:"scheduleGenerateTexture",value:function(){var e=this;"number"!==typeof this.frameId&&("number"===typeof this.options.debounceTimeout?this.frameId=window.setTimeout((function(){e.generateTextures(),e.frameId=void 0}),this.options.debounceTimeout):this.generateTextures())}},{key:"generateTextures",value:function(){var e=X({atlas:this.atlas,textures:this.textures,cursor:this.lastTextureCursor},this.imageStates,this.ctx),n=e.atlas,r=e.textures,i=e.cursor;this.atlas=n,this.textures=r,this.lastTextureCursor=i,this.emit(t.NEW_TEXTURE_EVENT,{atlas:n,textures:r})}},{key:"registerImage",value:function(){var e=F(B().mark((function e(t){var n,r;return B().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!this.imageStates[t]){e.next=2;break}return e.abrupt("return");case 2:return this.imageStates[t]={status:"loading"},e.prev=3,n=this.options.size,e.next=7,j(t,{size:"force"===n.mode?n.value:void 0,crossOrigin:this.options.crossOrigin||void 0});case 7:r=e.sent,this.imageStates[t]=L({status:"ready",image:r},U(r,this.corrector,this.options)),this.scheduleGenerateTexture(),e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](3),this.imageStates[t]={status:"error"};case 15:case"end":return e.stop()}}),e,this,[[3,12]])})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getAtlas",value:function(){return this.atlas}},{key:"getTextures",value:function(){return this.textures}}]),t}(l.EventEmitter);M(Z,"NEW_TEXTURE_EVENT","newTexture");var Q=["drawHover","drawLabel","drawingMode","keepWithinCircle","padding","colorAttribute","imageAttribute"],J=WebGLRenderingContext,ee=J.UNSIGNED_BYTE,te=J.FLOAT,ne=L(L({},q),{},{drawingMode:"background",keepWithinCircle:!0,drawLabel:void 0,drawHover:void 0,padding:0,colorAttribute:"color",imageAttribute:"image"}),re=["u_sizeRatio","u_correctionRatio","u_cameraAngle","u_percentagePadding","u_matrix","u_colorizeImages","u_keepWithinCircle","u_atlas"];function ie(e){var t,n=document.createElement("canvas").getContext("webgl"),i=Math.min(n.getParameter(n.MAX_TEXTURE_SIZE),q.maxTextureSize);n.canvas.remove();var o=L(L(L({},ne),{maxTextureSize:i}),e||{}),a=o.drawHover,l=o.drawLabel,u=o.drawingMode,c=o.keepWithinCircle,d=o.padding,h=o.colorAttribute,f=o.imageAttribute,g=D(o,Q),m=new Z(g);return t=function(e){function t(e,n,r){var i;return v(this,t),i=k(this,t,[e,n,r]),M(w(i),"drawLabel",l),M(w(i),"drawHover",a),M(w(i),"textureManagerCallback",null),i.textureManagerCallback=function(e){var t=e.atlas,n=e.textures,r=n.length!==i.textures.length;i.atlas=t,i.textureImages=n,r&&i.upgradeShaders(),i.bindTextures(),i.latestRenderParams&&i.render(i.latestRenderParams),i.renderer&&i.renderer.refresh&&i.renderer.refresh()},m.on(Z.NEW_TEXTURE_EVENT,i.textureManagerCallback),i.atlas=m.getAtlas(),i.textureImages=m.getTextures(),i.textures=i.textureImages.map((function(){return e.createTexture()})),i.bindTextures(),i}return E(t,e),_(t,[{key:"getDefinition",value:function(){return{VERTICES:3,VERTEX_SHADER_SOURCE:z,FRAGMENT_SHADER_SOURCE:O({texturesCount:m.getTextures().length}),METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:re,ATTRIBUTES:[{name:"a_position",size:2,type:te},{name:"a_size",size:1,type:te},{name:"a_color",size:4,type:ee,normalized:!0},{name:"a_id",size:4,type:ee,normalized:!0},{name:"a_texture",size:4,type:te},{name:"a_textureIndex",size:1,type:te}],CONSTANT_ATTRIBUTES:[{name:"a_angle",size:1,type:te}],CONSTANT_DATA:[[t.ANGLE_1],[t.ANGLE_2],[t.ANGLE_3]]}}},{key:"upgradeShaders",value:function(){var e=this.getDefinition(),t=this.normalProgram,n=t.program,r=t.buffer,i=t.vertexShader,o=t.fragmentShader,a=t.gl;a.deleteProgram(n),a.deleteBuffer(r),a.deleteShader(i),a.deleteShader(o),this.normalProgram=this.getProgramInfo("normal",a,e.VERTEX_SHADER_SOURCE,e.FRAGMENT_SHADER_SOURCE,null)}},{key:"kill",value:function(){var e,n=null===(e=this.normalProgram)||void 0===e?void 0:e.gl;if(n)for(var r=0;r<this.textures.length;r++)n.deleteTexture(this.textures[r]);this.textureManagerCallback&&(m.off(Z.NEW_TEXTURE_EVENT,this.textureManagerCallback),this.textureManagerCallback=null),A(b(t.prototype),"kill",this).call(this)}},{key:"bindTextures",value:function(){for(var e=this.normalProgram.gl,t=0;t<this.textureImages.length;t++){if(t>=this.textures.length){var n=e.createTexture();n&&this.textures.push(n)}e.activeTexture(e.TEXTURE0+t),e.bindTexture(e.TEXTURE_2D,this.textures[t]),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,this.textureImages[t]),e.generateMipmap(e.TEXTURE_2D)}}},{key:"renderProgram",value:function(e,n){if(!n.isPicking)for(var r=n.gl,i=0;i<this.textureImages.length;i++)r.activeTexture(r.TEXTURE0+i),r.bindTexture(r.TEXTURE_2D,this.textures[i]);A(b(t.prototype),"renderProgram",this).call(this,e,n)}},{key:"processVisibleItem",value:function(e,t,n){var r=this.array,i=(0,s.f)(n[h]),o=n[f],a=o?this.atlas[o]:void 0;if("string"!==typeof o||a||m.registerImage(o),r[t++]=n.x,r[t++]=n.y,r[t++]=n.size,r[t++]=i,r[t++]=e,a&&"number"===typeof a.textureIndex){var l=this.textureImages[a.textureIndex],u=l.width,c=l.height;r[t++]=a.x/u,r[t++]=a.y/c,r[t++]=a.size/u,r[t++]=a.size/c,r[t++]=a.textureIndex}else r[t++]=0,r[t++]=0,r[t++]=0,r[t++]=0,r[t++]=0}},{key:"setUniforms",value:function(e,t){var n=t.gl,r=t.uniformLocations,i=r.u_sizeRatio,o=r.u_correctionRatio,a=r.u_matrix,s=r.u_atlas,l=r.u_colorizeImages,h=r.u_keepWithinCircle,f=r.u_cameraAngle,v=r.u_percentagePadding;this.latestRenderParams=e,n.uniform1f(o,e.correctionRatio),n.uniform1f(i,c?e.sizeRatio:e.sizeRatio/Math.SQRT2),n.uniform1f(f,e.cameraAngle),n.uniform1f(v,d),n.uniformMatrix3fv(a,!1,e.matrix),n.uniform1iv(s,p(new Array(this.textureImages.length)).map((function(e,t){return t}))),n.uniform1i(l,"color"===u?1:0),n.uniform1i(h,c?1:0)}}]),t}(r.f),M(t,"ANGLE_1",0),M(t,"ANGLE_2",2*Math.PI/3),M(t,"ANGLE_3",4*Math.PI/3),M(t,"textureManager",m),t}var oe=ie();ie({keepWithinCircle:!1,size:{mode:"force",value:256},drawingMode:"color",correctCentering:!0})},1576:(e,t,n)=>{"use strict";n.d(t,{vA:()=>F});var r=n(8790);function i(e){throw e}function o(e){}function a(e,t,n,r){const i=e,o=new SyntaxError(String(i));return o.code=e,o.loc=t,o}const s=Symbol(""),l=(Symbol(""),Symbol(""),Symbol(""),Symbol(""),Symbol("")),u=Symbol(""),c=Symbol(""),d=Symbol(""),h=Symbol(""),f=Symbol(""),p=(Symbol(""),Symbol(""),Symbol(""),Symbol(""),Symbol(""),Symbol(""),Symbol("")),v=Symbol(""),g=(Symbol(""),Symbol(""),Symbol("")),m=Symbol(""),y=Symbol(""),_=Symbol(""),b=Symbol(""),x=Symbol(""),w=Symbol(""),S=(Symbol(""),Symbol(""),Symbol(""),Symbol(""),Symbol(""),Symbol(""),Symbol(""),Symbol(""),Symbol(""),Symbol("")),k=Symbol("");const C={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function A(e,t,n,r,i,o,a,s=!1,u=!1,c=!1,d=C){return e&&(s?(e.helper(l),e.helper(U(e.inSSR,c))):e.helper($(e.inSSR,c)),a&&e.helper(p)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:o,directives:a,isBlock:s,disableTracking:u,isComponent:c,loc:d}}function T(e,t=C){return{type:15,loc:t,properties:e}}function E(e,t){return{type:16,loc:C,key:(0,r.Kg)(e)?M(e,!0):e,value:t}}function M(e,t=!1,n=C,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function I(e,t=C){return{type:8,loc:t,children:e}}function D(e,t=[],n=C){return{type:14,loc:n,callee:e,arguments:t}}function R(e,t=void 0,n=!1,r=!1,i=C){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function L(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:C}}function O(e){return{type:21,body:e,loc:C}}const P=e=>4===e.type&&e.isStatic;function z(e,t,n){const r=e.source.slice(t,t+n),i={source:r,start:B(e.start,e.source,t),end:e.end};return null!=n&&(i.end=B(e.start,e.source,t+n)),i}function B(e,t,n=t.length){return N((0,r.X$)({},e),t,n)}function N(e,t,n=t.length){let r=0,i=-1;for(let o=0;o<n;o++)10===t.charCodeAt(o)&&(r++,i=o);return e.offset+=n,e.line+=r,e.column=-1===i?e.column+n:n-i,e}function F(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function q(e,t,n=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(7===o.type&&(n||o.exp)&&((0,r.Kg)(t)?o.name===t:t.test(o.name)))return o}}function W(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(6===o.type){if(n)continue;if(o.name===t&&(o.value||r))return o}else if("bind"===o.name&&(o.exp||r)&&G(o.arg,t))return o}}function G(e,t){return!(!e||!P(e)||e.content!==t)}function V(e){return 7===e.type&&"slot"===e.name}function H(e){return 1===e.type&&3===e.tagType}function j(e){return 1===e.type&&2===e.tagType}function $(e,t){return e||t?d:h}function U(e,t){return e||t?u:c}const K=new Set([b,x]);function X(e,t=[]){if(e&&!(0,r.Kg)(e)&&14===e.type){const n=e.callee;if(!(0,r.Kg)(n)&&K.has(n))return X(e.arguments[0],t.concat(e))}return[e,t]}function Y(e,t,n){let i,o,a=13===e.type?e.props:e.arguments[2],s=[];if(a&&!(0,r.Kg)(a)&&14===a.type){const e=X(a);a=e[0],s=e[1],o=s[s.length-1]}if(null==a||(0,r.Kg)(a))i=T([t]);else if(14===a.type){const e=a.arguments[0];(0,r.Kg)(e)||15!==e.type?a.callee===w?i=D(n.helper(m),[T([t]),a]):a.arguments.unshift(T([t])):Z(t,e)||e.properties.unshift(t),!i&&(i=a)}else 15===a.type?(Z(t,a)||a.properties.unshift(t),i=a):(i=D(n.helper(m),[T([t]),a]),o&&o.callee===x&&(o=s[s.length-2]));13===e.type?o?o.arguments[0]=i:e.props=i:o?o.arguments[0]=i:e.arguments[2]=i}function Z(e,t){let n=!1;if(4===e.key.type){const r=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===r))}return n}function Q(e){return 14===e.type&&e.callee===S?e.arguments[1].returns:e}function J(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n($(r,e.isComponent)),t(l),t(U(r,e.isComponent)))}const ee=/&(gt|lt|amp|apos|quot);/g,te={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'};r.NO,r.NO,r.NO;new Set([y,_,b,x]);function ne(e,t){let n=0;const i=()=>{n--};for(;n<e.children.length;n++){const o=e.children[n];(0,r.Kg)(o)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=i,re(o,t))}}function re(e,t){t.currentNode=e;const{nodeTransforms:n}=t,i=[];for(let a=0;a<n.length;a++){const o=n[a](e,t);if(o&&((0,r.cy)(o)?i.push(...o):i.push(o)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(f);break;case 5:t.ssr||t.helper(g);break;case 9:for(let n=0;n<e.branches.length;n++)re(e.branches[n],t);break;case 10:case 11:case 1:case 0:ne(e,t);break}t.currentNode=e;let o=i.length;while(o--)i[o]()}function ie(e,t){const n=(0,r.Kg)(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:i}=e;if(3===e.tagType&&i.some(V))return;const o=[];for(let a=0;a<i.length;a++){const s=i[a];if(7===s.type&&n(s.name)){i.splice(a,1),a--;const n=t(e,s,r);n&&o.push(n)}}return o}}}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");ie(/^(if|else|else-if)$/,((e,t,n)=>oe(e,t,n,((e,t,r)=>{const i=n.parent.children;let o=i.indexOf(e),a=0;while(o-- >=0){const e=i[o];e&&9===e.type&&(a+=e.branches.length)}return()=>{if(r)e.codegenNode=se(t,a,n);else{const r=ue(e.codegenNode);r.alternate=se(t,a+e.branches.length-1,n)}}}))));function oe(e,t,n,r){if("else"!==t.name&&(!t.exp||!t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(a(28,t.loc)),t.exp=M("true",!1,r)}if("if"===t.name){const i=ae(e,t),o={type:9,loc:e.loc,branches:[i]};if(n.replaceNode(o),r)return r(o,i,!0)}else{const i=n.parent.children;let o=i.indexOf(e);while(o-- >=-1){const s=i[o];if(s&&3===s.type)n.removeNode(s);else{if(!s||2!==s.type||s.content.trim().length){if(s&&9===s.type){"else-if"===t.name&&void 0===s.branches[s.branches.length-1].condition&&n.onError(a(30,e.loc)),n.removeNode();const i=ae(e,t);0,s.branches.push(i);const o=r&&r(s,i,!1);re(i,n),o&&o(),n.currentNode=null}else n.onError(a(30,e.loc));break}n.removeNode(s)}}}}function ae(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!q(e,"for")?e.children:[e],userKey:W(e,"key"),isTemplateIf:n}}function se(e,t,n){return e.condition?L(e.condition,le(e,t,n),D(n.helper(f),['""',"true"])):le(e,t,n)}function le(e,t,n){const{helper:i}=n,o=E("key",M(`${t}`,!1,C,2)),{children:a}=e,l=a[0],u=1!==a.length||1!==l.type;if(u){if(1===a.length&&11===l.type){const e=l.codegenNode;return Y(e,o,n),e}{let t=64;r.Hl[64];return A(n,i(s),T([o]),a,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=l.codegenNode,t=Q(e);return 13===t.type&&J(t,n),Y(t,o,n),e}}function ue(e){while(1)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}ie("for",((e,t,n)=>{const{helper:r,removeHelper:i}=n;return ce(e,t,n,(t=>{const o=D(r(v),[t.source]),a=H(e),u=q(e,"memo"),c=W(e,"key"),d=c&&(6===c.type?M(c.value.content,!0):c.exp),h=c?E("key",d):null,f=4===t.source.type&&t.source.constType>0,p=f?64:c?128:256;return t.codegenNode=A(n,r(s),void 0,o,p+"",void 0,void 0,!0,!f,!1,e.loc),()=>{let c;const{children:p}=t;const v=1!==p.length||1!==p[0].type,g=j(e)?e:a&&1===e.children.length&&j(e.children[0])?e.children[0]:null;if(g?(c=g.codegenNode,a&&h&&Y(c,h,n)):v?c=A(n,r(s),h?T([h]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=p[0].codegenNode,a&&h&&Y(c,h,n),c.isBlock!==!f&&(c.isBlock?(i(l),i(U(n.inSSR,c.isComponent))):i($(n.inSSR,c.isComponent))),c.isBlock=!f,c.isBlock?(r(l),r(U(n.inSSR,c.isComponent))):r($(n.inSSR,c.isComponent))),u){const e=R(ge(t.parseResult,[M("_cached")]));e.body=O([I(["const _memo = (",u.exp,")"]),I(["if (_cached",...d?[" && _cached.key === ",d]:[],` && ${n.helperString(k)}(_cached, _memo)) return _cached`]),I(["const _item = ",c]),M("_item.memo = _memo"),M("return _item")]),o.arguments.push(e,M("_cache"),M(String(n.cached++)))}else o.arguments.push(R(ge(t.parseResult),c,!0))}}))}));function ce(e,t,n,r){if(!t.exp)return void n.onError(a(31,t.loc));const i=pe(t.exp,n);if(!i)return void n.onError(a(32,t.loc));const{addIdentifiers:o,removeIdentifiers:s,scopes:l}=n,{source:u,value:c,key:d,index:h}=i,f={type:11,loc:t.loc,source:u,valueAlias:c,keyAlias:d,objectIndexAlias:h,parseResult:i,children:H(e)?e.children:[e]};n.replaceNode(f),l.vFor++;const p=r&&r(f);return()=>{l.vFor--,p&&p()}}const de=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,he=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,fe=/^\(|\)$/g;function pe(e,t){const n=e.loc,r=e.content,i=r.match(de);if(!i)return;const[,o,a]=i,s={source:ve(n,a.trim(),r.indexOf(a,o.length)),value:void 0,key:void 0,index:void 0};let l=o.trim().replace(fe,"").trim();const u=o.indexOf(l),c=l.match(he);if(c){l=l.replace(he,"").trim();const e=c[1].trim();let t;if(e&&(t=r.indexOf(e,u+l.length),s.key=ve(n,e,t)),c[2]){const i=c[2].trim();i&&(s.index=ve(n,i,r.indexOf(i,s.key?t+e.length:u+l.length)))}}return l&&(s.value=ve(n,l,u)),s}function ve(e,t,n){return M(t,!1,z(e,n,t.length))}function ge({value:e,key:t,index:n},r=[]){return me([e,t,n,...r])}function me(e){let t=e.length;while(t--)if(e[t])break;return e.slice(0,t+1).map(((e,t)=>e||M("_".repeat(t+1),!1)))}M("undefined",!1);new WeakMap;const ye=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},_e=/-(\w)/g;ye((e=>e.replace(_e,((e,t)=>t?t.toUpperCase():""))));new WeakSet;new WeakSet},8734:(e,t,n)=>{"use strict";n.d(t,{C4:()=>k,EW:()=>Ye,Gc:()=>ke,IG:()=>Re,IJ:()=>Fe,KR:()=>Ne,Kh:()=>Se,Pr:()=>He,QW:()=>je,R1:()=>Ge,X2:()=>b,bl:()=>C,fE:()=>Me,g8:()=>Te,hZ:()=>E,i9:()=>Be,ju:()=>Ie,o5:()=>s,u4:()=>A,ux:()=>De,yC:()=>o});var r=n(8790);let i;class o{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=i,!e&&i&&(this.index=(i.scopes||(i.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=i;try{return i=this,e()}finally{i=t}}else 0}on(){i=this}off(){i=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function a(e,t=i){t&&t.active&&t.effects.push(e)}function s(){return i}const l=e=>{const t=new Set(e);return t.w=0,t.n=0,t},u=e=>(e.w&v)>0,c=e=>(e.n&v)>0,d=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=v},h=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const i=t[r];u(i)&&!c(i)?i.delete(e):t[n++]=i,i.w&=~v,i.n&=~v}t.length=n}},f=new WeakMap;let p=0,v=1;const g=30;let m;const y=Symbol(""),_=Symbol("");class b{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,a(this,n)}run(){if(!this.active)return this.fn();let e=m,t=w;while(e){if(e===this)return;e=e.parent}try{return this.parent=m,m=this,w=!0,v=1<<++p,p<=g?d(this):x(this),this.fn()}finally{p<=g&&h(this),v=1<<--p,m=this.parent,w=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){m===this?this.deferStop=!0:this.active&&(x(this),this.onStop&&this.onStop(),this.active=!1)}}function x(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let w=!0;const S=[];function k(){S.push(w),w=!1}function C(){const e=S.pop();w=void 0===e||e}function A(e,t,n){if(w&&m){let t=f.get(e);t||f.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=l());const i=void 0;T(r,i)}}function T(e,t){let n=!1;p<=g?c(e)||(e.n|=v,n=!u(e)):n=!e.has(m),n&&(e.add(m),m.deps.push(e))}function E(e,t,n,i,o,a){const s=f.get(e);if(!s)return;let u=[];if("clear"===t)u=[...s.values()];else if("length"===n&&(0,r.cy)(e)){const e=Number(i);s.forEach(((t,n)=>{("length"===n||n>=e)&&u.push(t)}))}else switch(void 0!==n&&u.push(s.get(n)),t){case"add":(0,r.cy)(e)?(0,r.yI)(n)&&u.push(s.get("length")):(u.push(s.get(y)),(0,r.jh)(e)&&u.push(s.get(_)));break;case"delete":(0,r.cy)(e)||(u.push(s.get(y)),(0,r.jh)(e)&&u.push(s.get(_)));break;case"set":(0,r.jh)(e)&&u.push(s.get(y));break}if(1===u.length)u[0]&&M(u[0]);else{const e=[];for(const t of u)t&&e.push(...t);M(l(e))}}function M(e,t){const n=(0,r.cy)(e)?e:[...e];for(const r of n)r.computed&&I(r,t);for(const r of n)r.computed||I(r,t)}function I(e,t){(e!==m||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function D(e,t){var n;return null===(n=f.get(e))||void 0===n?void 0:n.get(t)}const R=(0,r.pD)("__proto__,__v_isRef,__isVue"),L=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.Bm)),O=q(),P=q(!1,!0),z=q(!0),B=N();function N(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=De(this);for(let t=0,i=this.length;t<i;t++)A(n,"get",t+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(De)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){k();const n=De(this)[t].apply(this,e);return C(),n}})),e}function F(e){const t=De(this);return A(t,"has",e),t.hasOwnProperty(e)}function q(e=!1,t=!1){return function(n,i,o){if("__v_isReactive"===i)return!e;if("__v_isReadonly"===i)return e;if("__v_isShallow"===i)return t;if("__v_raw"===i&&o===(e?t?be:_e:t?ye:me).get(n))return n;const a=(0,r.cy)(n);if(!e){if(a&&(0,r.$3)(B,i))return Reflect.get(B,i,o);if("hasOwnProperty"===i)return F}const s=Reflect.get(n,i,o);return((0,r.Bm)(i)?L.has(i):R(i))?s:(e||A(n,"get",i),t?s:Be(s)?a&&(0,r.yI)(i)?s:s.value:(0,r.Gv)(s)?e?Ce(s):Se(s):s)}}const W=V(),G=V(!0);function V(e=!1){return function(t,n,i,o){let a=t[n];if(Ee(a)&&Be(a)&&!Be(i))return!1;if(!e&&(Me(i)||Ee(i)||(a=De(a),i=De(i)),!(0,r.cy)(t)&&Be(a)&&!Be(i)))return a.value=i,!0;const s=(0,r.cy)(t)&&(0,r.yI)(n)?Number(n)<t.length:(0,r.$3)(t,n),l=Reflect.set(t,n,i,o);return t===De(o)&&(s?(0,r.$H)(i,a)&&E(t,"set",n,i,a):E(t,"add",n,i)),l}}function H(e,t){const n=(0,r.$3)(e,t),i=e[t],o=Reflect.deleteProperty(e,t);return o&&n&&E(e,"delete",t,void 0,i),o}function j(e,t){const n=Reflect.has(e,t);return(0,r.Bm)(t)&&L.has(t)||A(e,"has",t),n}function $(e){return A(e,"iterate",(0,r.cy)(e)?"length":y),Reflect.ownKeys(e)}const U={get:O,set:W,deleteProperty:H,has:j,ownKeys:$},K={get:z,set(e,t){return!0},deleteProperty(e,t){return!0}},X=(0,r.X$)({},U,{get:P,set:G}),Y=e=>e,Z=e=>Reflect.getPrototypeOf(e);function Q(e,t,n=!1,r=!1){e=e["__v_raw"];const i=De(e),o=De(t);n||(t!==o&&A(i,"get",t),A(i,"get",o));const{has:a}=Z(i),s=r?Y:n?Oe:Le;return a.call(i,t)?s(e.get(t)):a.call(i,o)?s(e.get(o)):void(e!==i&&e.get(t))}function J(e,t=!1){const n=this["__v_raw"],r=De(n),i=De(e);return t||(e!==i&&A(r,"has",e),A(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function ee(e,t=!1){return e=e["__v_raw"],!t&&A(De(e),"iterate",y),Reflect.get(e,"size",e)}function te(e){e=De(e);const t=De(this),n=Z(t),r=n.has.call(t,e);return r||(t.add(e),E(t,"add",e,e)),this}function ne(e,t){t=De(t);const n=De(this),{has:i,get:o}=Z(n);let a=i.call(n,e);a||(e=De(e),a=i.call(n,e));const s=o.call(n,e);return n.set(e,t),a?(0,r.$H)(t,s)&&E(n,"set",e,t,s):E(n,"add",e,t),this}function re(e){const t=De(this),{has:n,get:r}=Z(t);let i=n.call(t,e);i||(e=De(e),i=n.call(t,e));const o=r?r.call(t,e):void 0,a=t.delete(e);return i&&E(t,"delete",e,void 0,o),a}function ie(){const e=De(this),t=0!==e.size,n=void 0,r=e.clear();return t&&E(e,"clear",void 0,void 0,n),r}function oe(e,t){return function(n,r){const i=this,o=i["__v_raw"],a=De(o),s=t?Y:e?Oe:Le;return!e&&A(a,"iterate",y),o.forEach(((e,t)=>n.call(r,s(e),s(t),i)))}}function ae(e,t,n){return function(...i){const o=this["__v_raw"],a=De(o),s=(0,r.jh)(a),l="entries"===e||e===Symbol.iterator&&s,u="keys"===e&&s,c=o[e](...i),d=n?Y:t?Oe:Le;return!t&&A(a,"iterate",u?_:y),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function se(e){return function(...t){return"delete"!==e&&this}}function le(){const e={get(e){return Q(this,e)},get size(){return ee(this)},has:J,add:te,set:ne,delete:re,clear:ie,forEach:oe(!1,!1)},t={get(e){return Q(this,e,!1,!0)},get size(){return ee(this)},has:J,add:te,set:ne,delete:re,clear:ie,forEach:oe(!1,!0)},n={get(e){return Q(this,e,!0)},get size(){return ee(this,!0)},has(e){return J.call(this,e,!0)},add:se("add"),set:se("set"),delete:se("delete"),clear:se("clear"),forEach:oe(!0,!1)},r={get(e){return Q(this,e,!0,!0)},get size(){return ee(this,!0)},has(e){return J.call(this,e,!0)},add:se("add"),set:se("set"),delete:se("delete"),clear:se("clear"),forEach:oe(!0,!0)},i=["keys","values","entries",Symbol.iterator];return i.forEach((i=>{e[i]=ae(i,!1,!1),n[i]=ae(i,!0,!1),t[i]=ae(i,!1,!0),r[i]=ae(i,!0,!0)})),[e,n,t,r]}const[ue,ce,de,he]=le();function fe(e,t){const n=t?e?he:de:e?ce:ue;return(t,i,o)=>"__v_isReactive"===i?!e:"__v_isReadonly"===i?e:"__v_raw"===i?t:Reflect.get((0,r.$3)(n,i)&&i in t?n:t,i,o)}const pe={get:fe(!1,!1)},ve={get:fe(!1,!0)},ge={get:fe(!0,!1)};const me=new WeakMap,ye=new WeakMap,_e=new WeakMap,be=new WeakMap;function xe(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function we(e){return e["__v_skip"]||!Object.isExtensible(e)?0:xe((0,r.Zf)(e))}function Se(e){return Ee(e)?e:Ae(e,!1,U,pe,me)}function ke(e){return Ae(e,!1,X,ve,ye)}function Ce(e){return Ae(e,!0,K,ge,_e)}function Ae(e,t,n,i,o){if(!(0,r.Gv)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const a=o.get(e);if(a)return a;const s=we(e);if(0===s)return e;const l=new Proxy(e,2===s?i:n);return o.set(e,l),l}function Te(e){return Ee(e)?Te(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function Ee(e){return!(!e||!e["__v_isReadonly"])}function Me(e){return!(!e||!e["__v_isShallow"])}function Ie(e){return Te(e)||Ee(e)}function De(e){const t=e&&e["__v_raw"];return t?De(t):e}function Re(e){return(0,r.yQ)(e,"__v_skip",!0),e}const Le=e=>(0,r.Gv)(e)?Se(e):e,Oe=e=>(0,r.Gv)(e)?Ce(e):e;function Pe(e){w&&m&&(e=De(e),T(e.dep||(e.dep=l())))}function ze(e,t){e=De(e);const n=e.dep;n&&M(n)}function Be(e){return!(!e||!0!==e.__v_isRef)}function Ne(e){return qe(e,!1)}function Fe(e){return qe(e,!0)}function qe(e,t){return Be(e)?e:new We(e,t)}class We{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:De(e),this._value=t?e:Le(e)}get value(){return Pe(this),this._value}set value(e){const t=this.__v_isShallow||Me(e)||Ee(e);e=t?e:De(e),(0,r.$H)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Le(e),ze(this,e))}}function Ge(e){return Be(e)?e.value:e}const Ve={get:(e,t,n)=>Ge(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Be(i)&&!Be(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function He(e){return Te(e)?e:new Proxy(e,Ve)}function je(e){const t=(0,r.cy)(e)?new Array(e.length):{};for(const n in e)t[n]=Ue(e,n);return t}class $e{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return D(De(this._object),this._key)}}function Ue(e,t,n){const r=e[t];return Be(r)?r:new $e(e,t,n)}var Ke;class Xe{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Ke]=!1,this._dirty=!0,this.effect=new b(e,(()=>{this._dirty||(this._dirty=!0,ze(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const e=De(this);return Pe(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Ye(e,t,n=!1){let i,o;const a=(0,r.Tn)(e);a?(i=e,o=r.tE):(i=e.get,o=e.set);const s=new Xe(i,o,a||!o,n);return s}Ke="__v_isReadonly"},1758:(e,t,n)=>{"use strict";n.d(t,{$u:()=>Ae,CE:()=>Jt,Df:()=>ce,EW:()=>Fn,FK:()=>Gt,Gt:()=>$,Gy:()=>te,Ic:()=>Ce,Im:()=>qt,K9:()=>Et,KC:()=>Se,Lk:()=>sn,MZ:()=>ue,OW:()=>ae,Q3:()=>fn,Qi:()=>P,WQ:()=>U,Wv:()=>en,Y4:()=>ge,bF:()=>ln,bo:()=>Le,dY:()=>y,eW:()=>hn,eX:()=>We,g2:()=>ze,h:()=>qn,hi:()=>Ee,jt:()=>z,k6:()=>B,n:()=>ve,nI:()=>Sn,nT:()=>K,pI:()=>qe,pM:()=>de,pR:()=>ie,qL:()=>a,sV:()=>ke,uX:()=>Kt,wB:()=>Y,xo:()=>Te});var r=n(8734),i=n(8790);function o(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){s(o,t,n)}return i}function a(e,t,n,r){if((0,i.Tn)(e)){const a=o(e,t,n,r);return a&&(0,i.yL)(a)&&a.catch((e=>{s(e,t,n)})),a}const l=[];for(let i=0;i<e.length;i++)l.push(a(e[i],t,n,r));return l}function s(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,a=n;while(r){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,i,a))return;r=r.parent}const s=t.appContext.config.errorHandler;if(s)return void o(s,null,10,[e,i,a])}l(e,n,i,r)}function l(e,t,n,r=!0){console.error(e)}let u=!1,c=!1;const d=[];let h=0;const f=[];let p=null,v=0;const g=Promise.resolve();let m=null;function y(e){const t=m||g;return e?t.then(this?e.bind(this):e):t}function _(e){let t=h+1,n=d.length;while(t<n){const r=t+n>>>1,i=A(d[r]);i<e?t=r+1:n=r}return t}function b(e){d.length&&d.includes(e,u&&e.allowRecurse?h+1:h)||(null==e.id?d.push(e):d.splice(_(e.id),0,e),x())}function x(){u||c||(c=!0,m=g.then(E))}function w(e){const t=d.indexOf(e);t>h&&d.splice(t,1)}function S(e){(0,i.cy)(e)?f.push(...e):p&&p.includes(e,e.allowRecurse?v+1:v)||f.push(e),x()}function k(e,t=(u?h+1:0)){for(0;t<d.length;t++){const e=d[t];e&&e.pre&&(d.splice(t,1),t--,e())}}function C(e){if(f.length){const e=[...new Set(f)];if(f.length=0,p)return void p.push(...e);for(p=e,p.sort(((e,t)=>A(e)-A(t))),v=0;v<p.length;v++)p[v]();p=null,v=0}}const A=e=>null==e.id?1/0:e.id,T=(e,t)=>{const n=A(e)-A(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function E(e){c=!1,u=!0,d.sort(T);i.tE;try{for(h=0;h<d.length;h++){const e=d[h];e&&!1!==e.active&&o(e,null,14)}}finally{h=0,d.length=0,C(e),u=!1,m=null,(d.length||f.length)&&E(e)}}new Set;new Map;function M(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||i.MZ;let o=n;const s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){const e=`${"modelValue"===l?"model":l}Modifiers`,{number:t,trim:a}=r[e]||i.MZ;a&&(o=n.map((e=>(0,i.Kg)(e)?e.trim():e))),t&&(o=n.map(i.bB))}let u;let c=r[u=(0,i.rU)(t)]||r[u=(0,i.rU)((0,i.PT)(t))];!c&&s&&(c=r[u=(0,i.rU)((0,i.Tg)(t))]),c&&a(c,e,6,o);const d=r[u+"Once"];if(d){if(e.emitted){if(e.emitted[u])return}else e.emitted={};e.emitted[u]=!0,a(d,e,6,o)}}function I(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const a=e.emits;let s={},l=!1;if(!(0,i.Tn)(e)){const r=e=>{const n=I(e,t,!0);n&&(l=!0,(0,i.X$)(s,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return a||l?((0,i.cy)(a)?a.forEach((e=>s[e]=null)):(0,i.X$)(s,a),(0,i.Gv)(e)&&r.set(e,s),s):((0,i.Gv)(e)&&r.set(e,null),null)}function D(e,t){return!(!e||!(0,i.Mp)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,i.$3)(e,t[0].toLowerCase()+t.slice(1))||(0,i.$3)(e,(0,i.Tg)(t))||(0,i.$3)(e,t))}let R=null,L=null;function O(e){const t=R;return R=e,L=e&&e.type.__scopeId||null,t}function P(e){L=e}function z(){L=null}function B(e,t=R,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Zt(-1);const i=O(t);let o;try{o=e(...n)}finally{O(i),r._d&&Zt(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function N(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:a,propsOptions:[l],slots:u,attrs:c,emit:d,render:h,renderCache:f,data:p,setupState:v,ctx:g,inheritAttrs:m}=e;let y,_;const b=O(e);try{if(4&n.shapeFlag){const e=o||r;y=pn(h.call(e,e,f,a,v,p,g)),_=c}else{const e=t;0,y=pn(e.length>1?e(a,{attrs:c,slots:u,emit:d}):e(a,null)),_=t.props?c:F(c)}}catch(w){$t.length=0,s(w,e,1),y=ln(Ht)}let x=y;if(_&&!1!==m){const e=Object.keys(_),{shapeFlag:t}=x;e.length&&7&t&&(l&&e.some(i.CP)&&(_=q(_,l)),x=dn(x,_))}return n.dirs&&(x=dn(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),y=x,O(b),y}const F=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,i.Mp)(n))&&((t||(t={}))[n]=e[n]);return t},q=(e,t)=>{const n={};for(const r in e)(0,i.CP)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function W(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:s,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!s||s&&s.$stable)||r!==a&&(r?!a||G(r,a,u):!!a);if(1024&l)return!0;if(16&l)return r?G(r,a,u):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(a[n]!==r[n]&&!D(u,n))return!0}}return!1}function G(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(t[o]!==e[o]&&!D(n,o))return!0}return!1}function V({vnode:e,parent:t},n){while(t&&t.subTree===e)(e=t.vnode).el=n,t=t.parent}const H=e=>e.__isSuspense;function j(e,t){t&&t.pendingBranch?(0,i.cy)(e)?t.effects.push(...e):t.effects.push(e):S(e)}function $(e,t){if(wn){let n=wn.provides;const r=wn.parent&&wn.parent.provides;r===n&&(n=wn.provides=Object.create(r)),n[e]=t}else 0}function U(e,t,n=!1){const r=wn||R;if(r){const o=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&(0,i.Tn)(t)?t.call(r.proxy):t}else 0}function K(e,t){return Z(e,null,t)}const X={};function Y(e,t,n){return Z(e,t,n)}function Z(e,t,{immediate:n,deep:s,flush:l,onTrack:u,onTrigger:c}=i.MZ){const d=(0,r.o5)()===(null===wn||void 0===wn?void 0:wn.scope)?wn:null;let h,f,p=!1,v=!1;if((0,r.i9)(e)?(h=()=>e.value,p=(0,r.fE)(e)):(0,r.g8)(e)?(h=()=>e,s=!0):(0,i.cy)(e)?(v=!0,p=e.some((e=>(0,r.g8)(e)||(0,r.fE)(e))),h=()=>e.map((e=>(0,r.i9)(e)?e.value:(0,r.g8)(e)?ee(e):(0,i.Tn)(e)?o(e,d,2):void 0))):h=(0,i.Tn)(e)?t?()=>o(e,d,2):()=>{if(!d||!d.isUnmounted)return f&&f(),a(e,d,3,[m])}:i.tE,t&&s){const e=h;h=()=>ee(e())}let g,m=e=>{f=w.onStop=()=>{o(e,d,4)}};if(Mn){if(m=i.tE,t?n&&a(t,d,3,[h(),v?[]:void 0,m]):h(),"sync"!==l)return i.tE;{const e=Gn();g=e.__watcherHandles||(e.__watcherHandles=[])}}let y=v?new Array(e.length).fill(X):X;const _=()=>{if(w.active)if(t){const e=w.run();(s||p||(v?e.some(((e,t)=>(0,i.$H)(e,y[t]))):(0,i.$H)(e,y)))&&(f&&f(),a(t,d,3,[e,y===X?void 0:v&&y[0]===X?[]:y,m]),y=e)}else w.run()};let x;_.allowRecurse=!!t,"sync"===l?x=_:"post"===l?x=()=>Tt(_,d&&d.suspense):(_.pre=!0,d&&(_.id=d.uid),x=()=>b(_));const w=new r.X2(h,x);t?n?_():y=w.run():"post"===l?Tt(w.run.bind(w),d&&d.suspense):w.run();const S=()=>{w.stop(),d&&d.scope&&(0,i.TF)(d.scope.effects,w)};return g&&g.push(S),S}function Q(e,t,n){const r=this.proxy,o=(0,i.Kg)(e)?e.includes(".")?J(r,e):()=>r[e]:e.bind(r,r);let a;(0,i.Tn)(t)?a=t:(a=t.handler,n=t);const s=wn;kn(this);const l=Z(o,a.bind(r),n);return s?kn(s):Cn(),l}function J(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function ee(e,t){if(!(0,i.Gv)(e)||e["__v_skip"])return e;if(t=t||new Set,t.has(e))return e;if(t.add(e),(0,r.i9)(e))ee(e.value,t);else if((0,i.cy)(e))for(let n=0;n<e.length;n++)ee(e[n],t);else if((0,i.vM)(e)||(0,i.jh)(e))e.forEach((e=>{ee(e,t)}));else if((0,i.Qd)(e))for(const n in e)ee(e[n],t);return e}function te(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ke((()=>{e.isMounted=!0})),Te((()=>{e.isUnmounting=!0})),e}const ne=[Function,Array],re={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ne,onEnter:ne,onAfterEnter:ne,onEnterCancelled:ne,onBeforeLeave:ne,onLeave:ne,onAfterLeave:ne,onLeaveCancelled:ne,onBeforeAppear:ne,onAppear:ne,onAfterAppear:ne,onAppearCancelled:ne},setup(e,{slots:t}){const n=Sn(),i=te();let o;return()=>{const a=t.default&&ce(t.default(),!0);if(!a||!a.length)return;let s=a[0];if(a.length>1){let e=!1;for(const t of a)if(t.type!==Ht){0,s=t,e=!0;break}}const l=(0,r.ux)(e),{mode:u}=l;if(i.isLeaving)return se(s);const c=le(s);if(!c)return se(s);const d=ae(c,l,i,n);ue(c,d);const h=n.subTree,f=h&&le(h);let p=!1;const{getTransitionKey:v}=c.type;if(v){const e=v();void 0===o?o=e:e!==o&&(o=e,p=!0)}if(f&&f.type!==Ht&&(!nn(c,f)||p)){const e=ae(f,l,i,n);if(ue(f,e),"out-in"===u)return i.isLeaving=!0,e.afterLeave=()=>{i.isLeaving=!1,!1!==n.update.active&&n.update()},se(s);"in-out"===u&&c.type!==Ht&&(e.delayLeave=(e,t,n)=>{const r=oe(i,f);r[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=n})}return s}}},ie=re;function oe(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ae(e,t,n,r){const{appear:o,mode:s,persisted:l=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:d,onEnterCancelled:h,onBeforeLeave:f,onLeave:p,onAfterLeave:v,onLeaveCancelled:g,onBeforeAppear:m,onAppear:y,onAfterAppear:_,onAppearCancelled:b}=t,x=String(e.key),w=oe(n,e),S=(e,t)=>{e&&a(e,r,9,t)},k=(e,t)=>{const n=t[1];S(e,t),(0,i.cy)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:s,persisted:l,beforeEnter(t){let r=u;if(!n.isMounted){if(!o)return;r=m||u}t._leaveCb&&t._leaveCb(!0);const i=w[x];i&&nn(e,i)&&i.el._leaveCb&&i.el._leaveCb(),S(r,[t])},enter(e){let t=c,r=d,i=h;if(!n.isMounted){if(!o)return;t=y||c,r=_||d,i=b||h}let a=!1;const s=e._enterCb=t=>{a||(a=!0,S(t?i:r,[e]),C.delayedLeave&&C.delayedLeave(),e._enterCb=void 0)};t?k(t,[e,s]):s()},leave(t,r){const i=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();S(f,[t]);let o=!1;const a=t._leaveCb=n=>{o||(o=!0,r(),S(n?g:v,[t]),t._leaveCb=void 0,w[i]===e&&delete w[i])};w[i]=e,p?k(p,[t,a]):a()},clone(e){return ae(e,t,n,r)}};return C}function se(e){if(fe(e))return e=dn(e),e.children=null,e}function le(e){return fe(e)?e.children?e.children[0]:void 0:e}function ue(e,t){6&e.shapeFlag&&e.component?ue(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ce(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let a=e[o];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:o);a.type===Gt?(128&a.patchFlag&&i++,r=r.concat(ce(a.children,t,s))):(t||a.type!==Ht)&&r.push(null!=s?dn(a,{key:s}):a)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function de(e){return(0,i.Tn)(e)?{setup:e,name:e.name}:e}const he=e=>!!e.type.__asyncLoader;const fe=e=>e.type.__isKeepAlive;RegExp,RegExp;function pe(e,t){return(0,i.cy)(e)?e.some((e=>pe(e,t))):(0,i.Kg)(e)?e.split(",").includes(t):!!(0,i.gd)(e)&&e.test(t)}function ve(e,t){me(e,"a",t)}function ge(e,t){me(e,"da",t)}function me(e,t,n=wn){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(xe(t,r,n),n){let e=n.parent;while(e&&e.parent)fe(e.parent.vnode)&&ye(r,t,n,e),e=e.parent}}function ye(e,t,n,r){const o=xe(t,e,r,!0);Ee((()=>{(0,i.TF)(r[t],o)}),n)}function _e(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function be(e){return 128&e.shapeFlag?e.ssContent:e}function xe(e,t,n=wn,i=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;(0,r.C4)(),kn(n);const o=a(t,n,e,i);return Cn(),(0,r.bl)(),o});return i?o.unshift(s):o.push(s),s}}const we=e=>(t,n=wn)=>(!Mn||"sp"===e)&&xe(e,((...e)=>t(...e)),n),Se=we("bm"),ke=we("m"),Ce=we("bu"),Ae=we("u"),Te=we("bum"),Ee=we("um"),Me=we("sp"),Ie=we("rtg"),De=we("rtc");function Re(e,t=wn){xe("ec",e,t)}function Le(e,t){const n=R;if(null===n)return e;const r=zn(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[e,n,s,l=i.MZ]=t[a];e&&((0,i.Tn)(e)&&(e={mounted:e,updated:e}),e.deep&&ee(n),o.push({dir:e,instance:r,value:n,oldValue:void 0,arg:s,modifiers:l}))}return e}function Oe(e,t,n,i){const o=e.dirs,s=t&&t.dirs;for(let l=0;l<o.length;l++){const u=o[l];s&&(u.oldValue=s[l].value);let c=u.dir[i];c&&((0,r.C4)(),a(c,n,8,[e.el,u,e,t]),(0,r.bl)())}}const Pe="components";function ze(e,t){return Ne(Pe,e,!0,t)||e}const Be=Symbol();function Ne(e,t,n=!0,r=!1){const o=R||wn;if(o){const n=o.type;if(e===Pe){const e=Bn(n,!1);if(e&&(e===t||e===(0,i.PT)(t)||e===(0,i.ZH)((0,i.PT)(t))))return n}const a=Fe(o[e]||n[e],t)||Fe(o.appContext[e],t);return!a&&r?n:a}}function Fe(e,t){return e&&(e[t]||e[(0,i.PT)(t)]||e[(0,i.ZH)((0,i.PT)(t))])}function qe(e,t,n,r){let o;const a=n&&n[r];if((0,i.cy)(e)||(0,i.Kg)(e)){o=new Array(e.length);for(let n=0,r=e.length;n<r;n++)o[n]=t(e[n],n,void 0,a&&a[n])}else if("number"===typeof e){0,o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,a&&a[n])}else if((0,i.Gv)(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,a&&a[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,i=n.length;r<i;r++){const i=n[r];o[r]=t(e[i],i,r,a&&a[r])}}else o=[];return n&&(n[r]=o),o}function We(e,t){for(let n=0;n<t.length;n++){const r=t[n];if((0,i.cy)(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}const Ge=e=>e?An(e)?zn(e)||e.proxy:Ge(e.parent):null,Ve=(0,i.X$)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ge(e.parent),$root:e=>Ge(e.root),$emit:e=>e.emit,$options:e=>Ze(e),$forceUpdate:e=>e.f||(e.f=()=>b(e.update)),$nextTick:e=>e.n||(e.n=y.bind(e.proxy)),$watch:e=>Q.bind(e)}),He=(e,t)=>e!==i.MZ&&!e.__isScriptSetup&&(0,i.$3)(e,t),je={get({_:e},t){const{ctx:n,setupState:o,data:a,props:s,accessCache:l,type:u,appContext:c}=e;let d;if("$"!==t[0]){const r=l[t];if(void 0!==r)switch(r){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return s[t]}else{if(He(o,t))return l[t]=1,o[t];if(a!==i.MZ&&(0,i.$3)(a,t))return l[t]=2,a[t];if((d=e.propsOptions[0])&&(0,i.$3)(d,t))return l[t]=3,s[t];if(n!==i.MZ&&(0,i.$3)(n,t))return l[t]=4,n[t];$e&&(l[t]=0)}}const h=Ve[t];let f,p;return h?("$attrs"===t&&(0,r.u4)(e,"get",t),h(e)):(f=u.__cssModules)&&(f=f[t])?f:n!==i.MZ&&(0,i.$3)(n,t)?(l[t]=4,n[t]):(p=c.config.globalProperties,(0,i.$3)(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:a}=e;return He(o,t)?(o[t]=n,!0):r!==i.MZ&&(0,i.$3)(r,t)?(r[t]=n,!0):!(0,i.$3)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:a}},s){let l;return!!n[s]||e!==i.MZ&&(0,i.$3)(e,s)||He(t,s)||(l=a[0])&&(0,i.$3)(l,s)||(0,i.$3)(r,s)||(0,i.$3)(Ve,s)||(0,i.$3)(o.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,i.$3)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let $e=!0;function Ue(e){const t=Ze(e),n=e.proxy,o=e.ctx;$e=!1,t.beforeCreate&&Xe(t.beforeCreate,e,"bc");const{data:a,computed:s,methods:l,watch:u,provide:c,inject:d,created:h,beforeMount:f,mounted:p,beforeUpdate:v,updated:g,activated:m,deactivated:y,beforeDestroy:_,beforeUnmount:b,destroyed:x,unmounted:w,render:S,renderTracked:k,renderTriggered:C,errorCaptured:A,serverPrefetch:T,expose:E,inheritAttrs:M,components:I,directives:D,filters:R}=t,L=null;if(d&&Ke(d,o,L,e.appContext.config.unwrapInjectedRef),l)for(const r in l){const e=l[r];(0,i.Tn)(e)&&(o[r]=e.bind(n))}if(a){0;const t=a.call(n,n);0,(0,i.Gv)(t)&&(e.data=(0,r.Kh)(t))}if($e=!0,s)for(const r in s){const e=s[r],t=(0,i.Tn)(e)?e.bind(n,n):(0,i.Tn)(e.get)?e.get.bind(n,n):i.tE;0;const a=!(0,i.Tn)(e)&&(0,i.Tn)(e.set)?e.set.bind(n):i.tE,l=Fn({get:t,set:a});Object.defineProperty(o,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(u)for(const r in u)Ye(u[r],o,n,r);if(c){const e=(0,i.Tn)(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{$(t,e[t])}))}function O(e,t){(0,i.cy)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(h&&Xe(h,e,"c"),O(Se,f),O(ke,p),O(Ce,v),O(Ae,g),O(ve,m),O(ge,y),O(Re,A),O(De,k),O(Ie,C),O(Te,b),O(Ee,w),O(Me,T),(0,i.cy)(E))if(E.length){const t=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});S&&e.render===i.tE&&(e.render=S),null!=M&&(e.inheritAttrs=M),I&&(e.components=I),D&&(e.directives=D)}function Ke(e,t,n=i.tE,o=!1){(0,i.cy)(e)&&(e=nt(e));for(const a in e){const n=e[a];let s;s=(0,i.Gv)(n)?"default"in n?U(n.from||a,n.default,!0):U(n.from||a):U(n),(0,r.i9)(s)&&o?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[a]=s}}function Xe(e,t,n){a((0,i.cy)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Ye(e,t,n,r){const o=r.includes(".")?J(n,r):()=>n[r];if((0,i.Kg)(e)){const n=t[e];(0,i.Tn)(n)&&Y(o,n)}else if((0,i.Tn)(e))Y(o,e.bind(n));else if((0,i.Gv)(e))if((0,i.cy)(e))e.forEach((e=>Ye(e,t,n,r)));else{const r=(0,i.Tn)(e.handler)?e.handler.bind(n):t[e.handler];(0,i.Tn)(r)&&Y(o,r,e)}else 0}function Ze(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,l=a.get(t);let u;return l?u=l:o.length||n||r?(u={},o.length&&o.forEach((e=>Qe(u,e,s,!0))),Qe(u,t,s)):u=t,(0,i.Gv)(t)&&a.set(t,u),u}function Qe(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Qe(e,o,n,!0),i&&i.forEach((t=>Qe(e,t,n,!0)));for(const a in t)if(r&&"expose"===a);else{const r=Je[a]||n&&n[a];e[a]=r?r(e[a],t[a]):t[a]}return e}const Je={data:et,props:it,emits:it,methods:it,computed:it,beforeCreate:rt,created:rt,beforeMount:rt,mounted:rt,beforeUpdate:rt,updated:rt,beforeDestroy:rt,beforeUnmount:rt,destroyed:rt,unmounted:rt,activated:rt,deactivated:rt,errorCaptured:rt,serverPrefetch:rt,components:it,directives:it,watch:ot,provide:et,inject:tt};function et(e,t){return t?e?function(){return(0,i.X$)((0,i.Tn)(e)?e.call(this,this):e,(0,i.Tn)(t)?t.call(this,this):t)}:t:e}function tt(e,t){return it(nt(e),nt(t))}function nt(e){if((0,i.cy)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function rt(e,t){return e?[...new Set([].concat(e,t))]:t}function it(e,t){return e?(0,i.X$)((0,i.X$)(Object.create(null),e),t):t}function ot(e,t){if(!e)return t;if(!t)return e;const n=(0,i.X$)(Object.create(null),e);for(const r in t)n[r]=rt(e[r],t[r]);return n}function at(e,t,n,o=!1){const a={},s={};(0,i.yQ)(s,rn,1),e.propsDefaults=Object.create(null),lt(e,t,a,s);for(const r in e.propsOptions[0])r in a||(a[r]=void 0);n?e.props=o?a:(0,r.Gc)(a):e.type.props?e.props=a:e.props=s,e.attrs=s}function st(e,t,n,o){const{props:a,attrs:s,vnode:{patchFlag:l}}=e,u=(0,r.ux)(a),[c]=e.propsOptions;let d=!1;if(!(o||l>0)||16&l){let r;lt(e,t,a,s)&&(d=!0);for(const o in u)t&&((0,i.$3)(t,o)||(r=(0,i.Tg)(o))!==o&&(0,i.$3)(t,r))||(c?!n||void 0===n[o]&&void 0===n[r]||(a[o]=ut(c,u,o,void 0,e,!0)):delete a[o]);if(s!==u)for(const e in s)t&&(0,i.$3)(t,e)||(delete s[e],d=!0)}else if(8&l){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(D(e.emitsOptions,o))continue;const l=t[o];if(c)if((0,i.$3)(s,o))l!==s[o]&&(s[o]=l,d=!0);else{const t=(0,i.PT)(o);a[t]=ut(c,u,t,l,e,!1)}else l!==s[o]&&(s[o]=l,d=!0)}}d&&(0,r.hZ)(e,"set","$attrs")}function lt(e,t,n,o){const[a,s]=e.propsOptions;let l,u=!1;if(t)for(let r in t){if((0,i.SU)(r))continue;const c=t[r];let d;a&&(0,i.$3)(a,d=(0,i.PT)(r))?s&&s.includes(d)?(l||(l={}))[d]=c:n[d]=c:D(e.emitsOptions,r)||r in o&&c===o[r]||(o[r]=c,u=!0)}if(s){const t=(0,r.ux)(n),o=l||i.MZ;for(let r=0;r<s.length;r++){const l=s[r];n[l]=ut(a,t,l,o[l],e,!(0,i.$3)(o,l))}}return u}function ut(e,t,n,r,o,a){const s=e[n];if(null!=s){const e=(0,i.$3)(s,"default");if(e&&void 0===r){const e=s.default;if(s.type!==Function&&(0,i.Tn)(e)){const{propsDefaults:i}=o;n in i?r=i[n]:(kn(o),r=i[n]=e.call(null,t),Cn())}else r=e}s[0]&&(a&&!e?r=!1:!s[1]||""!==r&&r!==(0,i.Tg)(n)||(r=!0))}return r}function ct(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const a=e.props,s={},l=[];let u=!1;if(!(0,i.Tn)(e)){const r=e=>{u=!0;const[n,r]=ct(e,t,!0);(0,i.X$)(s,n),r&&l.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!u)return(0,i.Gv)(e)&&r.set(e,i.Oj),i.Oj;if((0,i.cy)(a))for(let d=0;d<a.length;d++){0;const e=(0,i.PT)(a[d]);dt(e)&&(s[e]=i.MZ)}else if(a){0;for(const e in a){const t=(0,i.PT)(e);if(dt(t)){const n=a[e],r=s[t]=(0,i.cy)(n)||(0,i.Tn)(n)?{type:n}:Object.assign({},n);if(r){const e=pt(Boolean,r.type),n=pt(String,r.type);r[0]=e>-1,r[1]=n<0||e<n,(e>-1||(0,i.$3)(r,"default"))&&l.push(t)}}}}const c=[s,l];return(0,i.Gv)(e)&&r.set(e,c),c}function dt(e){return"$"!==e[0]}function ht(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function ft(e,t){return ht(e)===ht(t)}function pt(e,t){return(0,i.cy)(t)?t.findIndex((t=>ft(t,e))):(0,i.Tn)(t)&&ft(t,e)?0:-1}const vt=e=>"_"===e[0]||"$stable"===e,gt=e=>(0,i.cy)(e)?e.map(pn):[pn(e)],mt=(e,t,n)=>{if(t._n)return t;const r=B(((...e)=>gt(t(...e))),n);return r._c=!1,r},yt=(e,t,n)=>{const r=e._ctx;for(const o in e){if(vt(o))continue;const n=e[o];if((0,i.Tn)(n))t[o]=mt(o,n,r);else if(null!=n){0;const e=gt(n);t[o]=()=>e}}},_t=(e,t)=>{const n=gt(t);e.slots.default=()=>n},bt=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=(0,r.ux)(t),(0,i.yQ)(t,"_",n)):yt(t,e.slots={})}else e.slots={},t&&_t(e,t);(0,i.yQ)(e.slots,rn,1)},xt=(e,t,n)=>{const{vnode:r,slots:o}=e;let a=!0,s=i.MZ;if(32&r.shapeFlag){const e=t._;e?n&&1===e?a=!1:((0,i.X$)(o,t),n||1!==e||delete o._):(a=!t.$stable,yt(t,o)),s=t}else t&&(_t(e,t),s={default:1});if(a)for(const i in o)vt(i)||i in s||delete o[i]};function wt(){return{app:null,config:{isNativeTag:i.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let St=0;function kt(e,t){return function(n,r=null){(0,i.Tn)(n)||(n=Object.assign({},n)),null==r||(0,i.Gv)(r)||(r=null);const o=wt(),a=new Set;let s=!1;const l=o.app={_uid:St++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:Vn,get config(){return o.config},set config(e){0},use(e,...t){return a.has(e)||(e&&(0,i.Tn)(e.install)?(a.add(e),e.install(l,...t)):(0,i.Tn)(e)&&(a.add(e),e(l,...t))),l},mixin(e){return o.mixins.includes(e)||o.mixins.push(e),l},component(e,t){return t?(o.components[e]=t,l):o.components[e]},directive(e,t){return t?(o.directives[e]=t,l):o.directives[e]},mount(i,a,u){if(!s){0;const c=ln(n,r);return c.appContext=o,a&&t?t(c,i):e(c,i,u),s=!0,l._container=i,i.__vue_app__=l,zn(c.component)||c.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return o.provides[e]=t,l}};return l}}function Ct(e,t,n,a,s=!1){if((0,i.cy)(e))return void e.forEach(((e,r)=>Ct(e,t&&((0,i.cy)(t)?t[r]:t),n,a,s)));if(he(a)&&!s)return;const l=4&a.shapeFlag?zn(a.component)||a.component.proxy:a.el,u=s?null:l,{i:c,r:d}=e;const h=t&&t.r,f=c.refs===i.MZ?c.refs={}:c.refs,p=c.setupState;if(null!=h&&h!==d&&((0,i.Kg)(h)?(f[h]=null,(0,i.$3)(p,h)&&(p[h]=null)):(0,r.i9)(h)&&(h.value=null)),(0,i.Tn)(d))o(d,c,12,[u,f]);else{const t=(0,i.Kg)(d),o=(0,r.i9)(d);if(t||o){const r=()=>{if(e.f){const n=t?(0,i.$3)(p,d)?p[d]:f[d]:d.value;s?(0,i.cy)(n)&&(0,i.TF)(n,l):(0,i.cy)(n)?n.includes(l)||n.push(l):t?(f[d]=[l],(0,i.$3)(p,d)&&(p[d]=f[d])):(d.value=[l],e.k&&(f[e.k]=d.value))}else t?(f[d]=u,(0,i.$3)(p,d)&&(p[d]=u)):o&&(d.value=u,e.k&&(f[e.k]=u))};u?(r.id=-1,Tt(r,n)):r()}else 0}}function At(){}const Tt=j;function Et(e){return Mt(e)}function Mt(e,t){At();const n=(0,i.We)();n.__VUE__=!0;const{insert:o,remove:a,patchProp:s,createElement:l,createText:u,createComment:c,setText:d,setElementText:h,parentNode:f,nextSibling:p,setScopeId:v=i.tE,insertStaticContent:g}=e,m=(e,t,n,r=null,i=null,o=null,a=!1,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!nn(e,t)&&(r=Q(e),U(e,i,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:u,ref:c,shapeFlag:d}=t;switch(u){case Vt:y(e,t,n,r);break;case Ht:_(e,t,n,r);break;case jt:null==e&&x(t,n,r,a);break;case Gt:O(e,t,n,r,i,o,a,s,l);break;default:1&d?T(e,t,n,r,i,o,a,s,l):6&d?P(e,t,n,r,i,o,a,s,l):(64&d||128&d)&&u.process(e,t,n,r,i,o,a,s,l,ee)}null!=c&&i&&Ct(c,e&&e.ref,o,t||e,!t)},y=(e,t,n,r)=>{if(null==e)o(t.el=u(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&d(n,t.children)}},_=(e,t,n,r)=>{null==e?o(t.el=c(t.children||""),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=g(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;while(e&&e!==t)i=p(e),o(e,n,r),e=i;o(t,n,r)},A=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=p(e),a(e),e=n;a(t)},T=(e,t,n,r,i,o,a,s,l)=>{a=a||"svg"===t.type,null==e?E(t,n,r,i,o,a,s,l):D(e,t,i,o,a,s,l)},E=(e,t,n,r,a,u,c,d)=>{let f,p;const{type:v,props:g,shapeFlag:m,transition:y,dirs:_}=e;if(f=e.el=l(e.type,u,g&&g.is,g),8&m?h(f,e.children):16&m&&I(e.children,f,null,r,a,u&&"foreignObject"!==v,c,d),_&&Oe(e,null,r,"created"),M(f,e,e.scopeId,c,r),g){for(const t in g)"value"===t||(0,i.SU)(t)||s(f,t,null,g[t],u,e.children,r,a,Z);"value"in g&&s(f,"value",null,g.value),(p=g.onVnodeBeforeMount)&&yn(p,r,e)}_&&Oe(e,null,r,"beforeMount");const b=(!a||a&&!a.pendingBranch)&&y&&!y.persisted;b&&y.beforeEnter(f),o(f,t,n),((p=g&&g.onVnodeMounted)||b||_)&&Tt((()=>{p&&yn(p,r,e),b&&y.enter(f),_&&Oe(e,null,r,"mounted")}),a)},M=(e,t,n,r,i)=>{if(n&&v(e,n),r)for(let o=0;o<r.length;o++)v(e,r[o]);if(i){let n=i.subTree;if(t===n){const t=i.vnode;M(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},I=(e,t,n,r,i,o,a,s,l=0)=>{for(let u=l;u<e.length;u++){const l=e[u]=s?vn(e[u]):pn(e[u]);m(null,l,t,n,r,i,o,a,s)}},D=(e,t,n,r,o,a,l)=>{const u=t.el=e.el;let{patchFlag:c,dynamicChildren:d,dirs:f}=t;c|=16&e.patchFlag;const p=e.props||i.MZ,v=t.props||i.MZ;let g;n&&It(n,!1),(g=v.onVnodeBeforeUpdate)&&yn(g,n,t,e),f&&Oe(t,e,n,"beforeUpdate"),n&&It(n,!0);const m=o&&"foreignObject"!==t.type;if(d?R(e.dynamicChildren,d,u,n,r,m,a):l||G(e,t,u,null,n,r,m,a,!1),c>0){if(16&c)L(u,t,p,v,n,r,o);else if(2&c&&p.class!==v.class&&s(u,"class",null,v.class,o),4&c&&s(u,"style",p.style,v.style,o),8&c){const i=t.dynamicProps;for(let t=0;t<i.length;t++){const a=i[t],l=p[a],c=v[a];c===l&&"value"!==a||s(u,a,l,c,o,e.children,n,r,Z)}}1&c&&e.children!==t.children&&h(u,t.children)}else l||null!=d||L(u,t,p,v,n,r,o);((g=v.onVnodeUpdated)||f)&&Tt((()=>{g&&yn(g,n,t,e),f&&Oe(t,e,n,"updated")}),r)},R=(e,t,n,r,i,o,a)=>{for(let s=0;s<t.length;s++){const l=e[s],u=t[s],c=l.el&&(l.type===Gt||!nn(l,u)||70&l.shapeFlag)?f(l.el):n;m(l,u,c,null,r,i,o,a,!0)}},L=(e,t,n,r,o,a,l)=>{if(n!==r){if(n!==i.MZ)for(const u in n)(0,i.SU)(u)||u in r||s(e,u,n[u],null,l,t.children,o,a,Z);for(const u in r){if((0,i.SU)(u))continue;const c=r[u],d=n[u];c!==d&&"value"!==u&&s(e,u,d,c,l,t.children,o,a,Z)}"value"in r&&s(e,"value",n.value,r.value)}},O=(e,t,n,r,i,a,s,l,c)=>{const d=t.el=e?e.el:u(""),h=t.anchor=e?e.anchor:u("");let{patchFlag:f,dynamicChildren:p,slotScopeIds:v}=t;v&&(l=l?l.concat(v):v),null==e?(o(d,n,r),o(h,n,r),I(t.children,n,h,i,a,s,l,c)):f>0&&64&f&&p&&e.dynamicChildren?(R(e.dynamicChildren,p,n,i,a,s,l),(null!=t.key||i&&t===i.subTree)&&Dt(e,t,!0)):G(e,t,n,h,i,a,s,l,c)},P=(e,t,n,r,i,o,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?i.ctx.activate(t,n,r,a,l):z(t,n,r,i,o,a,l):B(e,t,l)},z=(e,t,n,r,i,o,a)=>{const s=e.component=xn(e,r,i);if(fe(e)&&(s.ctx.renderer=ee),In(s),s.asyncDep){if(i&&i.registerDep(s,F),!e.el){const e=s.subTree=ln(Ht);_(null,e,t,n)}}else F(s,e,t,n,i,o,a)},B=(e,t,n)=>{const r=t.component=e.component;if(W(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void q(r,t,n);r.next=t,w(r.update),r.update()}else t.el=e.el,r.vnode=t},F=(e,t,n,o,a,s,l)=>{const u=()=>{if(e.isMounted){let t,{next:n,bu:r,u:o,parent:u,vnode:c}=e,d=n;0,It(e,!1),n?(n.el=c.el,q(e,n,l)):n=c,r&&(0,i.DY)(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&yn(t,u,n,c),It(e,!0);const h=N(e);0;const p=e.subTree;e.subTree=h,m(p,h,f(p.el),Q(p),e,a,s),n.el=h.el,null===d&&V(e,h.el),o&&Tt(o,a),(t=n.props&&n.props.onVnodeUpdated)&&Tt((()=>yn(t,u,n,c)),a)}else{let r;const{el:l,props:u}=t,{bm:c,m:d,parent:h}=e,f=he(t);if(It(e,!1),c&&(0,i.DY)(c),!f&&(r=u&&u.onVnodeBeforeMount)&&yn(r,h,t),It(e,!0),l&&ne){const n=()=>{e.subTree=N(e),ne(l,e.subTree,e,a,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const r=e.subTree=N(e);0,m(null,r,n,o,e,a,s),t.el=r.el}if(d&&Tt(d,a),!f&&(r=u&&u.onVnodeMounted)){const e=t;Tt((()=>yn(r,h,e)),a)}(256&t.shapeFlag||h&&he(h.vnode)&&256&h.vnode.shapeFlag)&&e.a&&Tt(e.a,a),e.isMounted=!0,t=n=o=null}},c=e.effect=new r.X2(u,(()=>b(d)),e.scope),d=e.update=()=>c.run();d.id=e.uid,It(e,!0),d()},q=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,st(e,t.props,i,n),xt(e,t.children,n),(0,r.C4)(),k(),(0,r.bl)()},G=(e,t,n,r,i,o,a,s,l=!1)=>{const u=e&&e.children,c=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void j(u,d,n,r,i,o,a,s,l);if(256&f)return void H(u,d,n,r,i,o,a,s,l)}8&p?(16&c&&Z(u,i,o),d!==u&&h(n,d)):16&c?16&p?j(u,d,n,r,i,o,a,s,l):Z(u,i,o,!0):(8&c&&h(n,""),16&p&&I(d,n,r,i,o,a,s,l))},H=(e,t,n,r,o,a,s,l,u)=>{e=e||i.Oj,t=t||i.Oj;const c=e.length,d=t.length,h=Math.min(c,d);let f;for(f=0;f<h;f++){const r=t[f]=u?vn(t[f]):pn(t[f]);m(e[f],r,n,null,o,a,s,l,u)}c>d?Z(e,o,a,!0,!1,h):I(t,n,r,o,a,s,l,u,h)},j=(e,t,n,r,o,a,s,l,u)=>{let c=0;const d=t.length;let h=e.length-1,f=d-1;while(c<=h&&c<=f){const r=e[c],i=t[c]=u?vn(t[c]):pn(t[c]);if(!nn(r,i))break;m(r,i,n,null,o,a,s,l,u),c++}while(c<=h&&c<=f){const r=e[h],i=t[f]=u?vn(t[f]):pn(t[f]);if(!nn(r,i))break;m(r,i,n,null,o,a,s,l,u),h--,f--}if(c>h){if(c<=f){const e=f+1,i=e<d?t[e].el:r;while(c<=f)m(null,t[c]=u?vn(t[c]):pn(t[c]),n,i,o,a,s,l,u),c++}}else if(c>f)while(c<=h)U(e[c],o,a,!0),c++;else{const p=c,v=c,g=new Map;for(c=v;c<=f;c++){const e=t[c]=u?vn(t[c]):pn(t[c]);null!=e.key&&g.set(e.key,c)}let y,_=0;const b=f-v+1;let x=!1,w=0;const S=new Array(b);for(c=0;c<b;c++)S[c]=0;for(c=p;c<=h;c++){const r=e[c];if(_>=b){U(r,o,a,!0);continue}let i;if(null!=r.key)i=g.get(r.key);else for(y=v;y<=f;y++)if(0===S[y-v]&&nn(r,t[y])){i=y;break}void 0===i?U(r,o,a,!0):(S[i-v]=c+1,i>=w?w=i:x=!0,m(r,t[i],n,null,o,a,s,l,u),_++)}const k=x?Rt(S):i.Oj;for(y=k.length-1,c=b-1;c>=0;c--){const e=v+c,i=t[e],h=e+1<d?t[e+1].el:r;0===S[c]?m(null,i,n,h,o,a,s,l,u):x&&(y<0||c!==k[y]?$(i,n,h,2):y--)}}},$=(e,t,n,r,i=null)=>{const{el:a,type:s,transition:l,children:u,shapeFlag:c}=e;if(6&c)return void $(e.component.subTree,t,n,r);if(128&c)return void e.suspense.move(t,n,r);if(64&c)return void s.move(e,t,n,ee);if(s===Gt){o(a,t,n);for(let e=0;e<u.length;e++)$(u[e],t,n,r);return void o(e.anchor,t,n)}if(s===jt)return void S(e,t,n);const d=2!==r&&1&c&&l;if(d)if(0===r)l.beforeEnter(a),o(a,t,n),Tt((()=>l.enter(a)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,s=()=>o(a,t,n),u=()=>{e(a,(()=>{s(),i&&i()}))};r?r(a,s,u):u()}else o(a,t,n)},U=(e,t,n,r=!1,i=!1)=>{const{type:o,props:a,ref:s,children:l,dynamicChildren:u,shapeFlag:c,patchFlag:d,dirs:h}=e;if(null!=s&&Ct(s,null,n,e,!0),256&c)return void t.ctx.deactivate(e);const f=1&c&&h,p=!he(e);let v;if(p&&(v=a&&a.onVnodeBeforeUnmount)&&yn(v,t,e),6&c)Y(e.component,n,r);else{if(128&c)return void e.suspense.unmount(n,r);f&&Oe(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,i,ee,r):u&&(o!==Gt||d>0&&64&d)?Z(u,t,n,!1,!0):(o===Gt&&384&d||!i&&16&c)&&Z(l,t,n),r&&K(e)}(p&&(v=a&&a.onVnodeUnmounted)||f)&&Tt((()=>{v&&yn(v,t,e),f&&Oe(e,null,t,"unmounted")}),n)},K=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Gt)return void X(n,r);if(t===jt)return void A(e);const o=()=>{a(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,a=()=>t(n,o);r?r(e.el,o,a):a()}else o()},X=(e,t)=>{let n;while(e!==t)n=p(e),a(e),e=n;a(t)},Y=(e,t,n)=>{const{bum:r,scope:o,update:a,subTree:s,um:l}=e;r&&(0,i.DY)(r),o.stop(),a&&(a.active=!1,U(s,e,t,n)),l&&Tt(l,t),Tt((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Z=(e,t,n,r=!1,i=!1,o=0)=>{for(let a=o;a<e.length;a++)U(e[a],t,n,r,i)},Q=e=>6&e.shapeFlag?Q(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),J=(e,t,n)=>{null==e?t._vnode&&U(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),k(),C(),t._vnode=e},ee={p:m,um:U,m:$,r:K,mt:z,mc:I,pc:G,pbc:R,n:Q,o:e};let te,ne;return t&&([te,ne]=t(ee)),{render:J,hydrate:te,createApp:kt(J,te)}}function It({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Dt(e,t,n=!1){const r=e.children,o=t.children;if((0,i.cy)(r)&&(0,i.cy)(o))for(let i=0;i<r.length;i++){const e=r[i];let t=o[i];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[i]=vn(o[i]),t.el=e.el),n||Dt(e,t)),t.type===Vt&&(t.el=e.el)}}function Rt(e){const t=e.slice(),n=[0];let r,i,o,a,s;const l=e.length;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(i=n[n.length-1],e[i]<l){t[r]=i,n.push(r);continue}o=0,a=n.length-1;while(o<a)s=o+a>>1,e[n[s]]<l?o=s+1:a=s;l<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}o=n.length,a=n[o-1];while(o-- >0)n[o]=a,a=t[a];return n}const Lt=e=>e.__isTeleport,Ot=e=>e&&(e.disabled||""===e.disabled),Pt=e=>"undefined"!==typeof SVGElement&&e instanceof SVGElement,zt=(e,t)=>{const n=e&&e.to;if((0,i.Kg)(n)){if(t){const e=t(n);return e}return null}return n},Bt={__isTeleport:!0,process(e,t,n,r,i,o,a,s,l,u){const{mc:c,pc:d,pbc:h,o:{insert:f,querySelector:p,createText:v,createComment:g}}=u,m=Ot(t.props);let{shapeFlag:y,children:_,dynamicChildren:b}=t;if(null==e){const e=t.el=v(""),u=t.anchor=v("");f(e,n,r),f(u,n,r);const d=t.target=zt(t.props,p),h=t.targetAnchor=v("");d&&(f(h,d),a=a||Pt(d));const g=(e,t)=>{16&y&&c(_,e,t,i,o,a,s,l)};m?g(n,u):d&&g(d,h)}else{t.el=e.el;const r=t.anchor=e.anchor,c=t.target=e.target,f=t.targetAnchor=e.targetAnchor,v=Ot(e.props),g=v?n:c,y=v?r:f;if(a=a||Pt(c),b?(h(e.dynamicChildren,b,g,i,o,a,s),Dt(e,t,!0)):l||d(e,t,g,y,i,o,a,s,!1),m)v||Nt(t,n,r,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=zt(t.props,p);e&&Nt(t,e,null,u,0)}else v&&Nt(t,c,f,u,1)}Wt(t)},remove(e,t,n,r,{um:i,o:{remove:o}},a){const{shapeFlag:s,children:l,anchor:u,targetAnchor:c,target:d,props:h}=e;if(d&&o(c),(a||!Ot(h))&&(o(u),16&s))for(let f=0;f<l.length;f++){const e=l[f];i(e,t,n,!0,!!e.dynamicChildren)}},move:Nt,hydrate:Ft};function Nt(e,t,n,{o:{insert:r},m:i},o=2){0===o&&r(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:l,children:u,props:c}=e,d=2===o;if(d&&r(a,t,n),(!d||Ot(c))&&16&l)for(let h=0;h<u.length;h++)i(u[h],t,n,2);d&&r(s,t,n)}function Ft(e,t,n,r,i,o,{o:{nextSibling:a,parentNode:s,querySelector:l}},u){const c=t.target=zt(t.props,l);if(c){const l=c._lpa||c.firstChild;if(16&t.shapeFlag)if(Ot(t.props))t.anchor=u(a(e),t,s(e),n,r,i,o),t.targetAnchor=l;else{t.anchor=a(e);let s=l;while(s)if(s=a(s),s&&8===s.nodeType&&"teleport anchor"===s.data){t.targetAnchor=s,c._lpa=t.targetAnchor&&a(t.targetAnchor);break}u(l,t,c,n,r,i,o)}Wt(t)}return t.anchor&&a(t.anchor)}const qt=Bt;function Wt(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;while(n!==e.targetAnchor)1===n.nodeType&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Gt=Symbol(void 0),Vt=Symbol(void 0),Ht=Symbol(void 0),jt=Symbol(void 0),$t=[];let Ut=null;function Kt(e=!1){$t.push(Ut=e?null:[])}function Xt(){$t.pop(),Ut=$t[$t.length-1]||null}let Yt=1;function Zt(e){Yt+=e}function Qt(e){return e.dynamicChildren=Yt>0?Ut||i.Oj:null,Xt(),Yt>0&&Ut&&Ut.push(e),e}function Jt(e,t,n,r,i,o){return Qt(sn(e,t,n,r,i,o,!0))}function en(e,t,n,r,i){return Qt(ln(e,t,n,r,i,!0))}function tn(e){return!!e&&!0===e.__v_isVNode}function nn(e,t){return e.type===t.type&&e.key===t.key}const rn="__vInternal",on=({key:e})=>null!=e?e:null,an=({ref:e,ref_key:t,ref_for:n})=>null!=e?(0,i.Kg)(e)||(0,r.i9)(e)||(0,i.Tn)(e)?{i:R,r:e,k:t,f:!!n}:e:null;function sn(e,t=null,n=null,r=0,o=null,a=(e===Gt?0:1),s=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&on(t),ref:t&&an(t),scopeId:L,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:R};return l?(gn(u,n),128&a&&e.normalize(u)):n&&(u.shapeFlag|=(0,i.Kg)(n)?8:16),Yt>0&&!s&&Ut&&(u.patchFlag>0||6&a)&&32!==u.patchFlag&&Ut.push(u),u}const ln=un;function un(e,t=null,n=null,o=0,a=null,s=!1){if(e&&e!==Be||(e=Ht),tn(e)){const r=dn(e,t,!0);return n&&gn(r,n),Yt>0&&!s&&Ut&&(6&r.shapeFlag?Ut[Ut.indexOf(e)]=r:Ut.push(r)),r.patchFlag|=-2,r}if(Nn(e)&&(e=e.__vccOpts),t){t=cn(t);let{class:e,style:n}=t;e&&!(0,i.Kg)(e)&&(t.class=(0,i.C4)(e)),(0,i.Gv)(n)&&((0,r.ju)(n)&&!(0,i.cy)(n)&&(n=(0,i.X$)({},n)),t.style=(0,i.Tr)(n))}const l=(0,i.Kg)(e)?1:H(e)?128:Lt(e)?64:(0,i.Gv)(e)?4:(0,i.Tn)(e)?2:0;return sn(e,t,n,o,a,l,s,!0)}function cn(e){return e?(0,r.ju)(e)||rn in e?(0,i.X$)({},e):e:null}function dn(e,t,n=!1){const{props:r,ref:o,patchFlag:a,children:s}=e,l=t?mn(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&on(l),ref:t&&t.ref?n&&o?(0,i.cy)(o)?o.concat(an(t)):[o,an(t)]:an(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Gt?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&dn(e.ssContent),ssFallback:e.ssFallback&&dn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u}function hn(e=" ",t=0){return ln(Vt,null,e,t)}function fn(e="",t=!1){return t?(Kt(),en(Ht,null,e)):ln(Ht,null,e)}function pn(e){return null==e||"boolean"===typeof e?ln(Ht):(0,i.cy)(e)?ln(Gt,null,e.slice()):"object"===typeof e?vn(e):ln(Vt,null,String(e))}function vn(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:dn(e)}function gn(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if((0,i.cy)(t))n=16;else if("object"===typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),gn(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||rn in t?3===r&&R&&(1===R.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=R}}else(0,i.Tn)(t)?(t={default:t,_ctx:R},n=32):(t=String(t),64&r?(n=16,t=[hn(t)]):n=8);e.children=t,e.shapeFlag|=n}function mn(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=(0,i.C4)([t.class,r.class]));else if("style"===e)t.style=(0,i.Tr)([t.style,r.style]);else if((0,i.Mp)(e)){const n=t[e],o=r[e];!o||n===o||(0,i.cy)(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}function yn(e,t,n,r=null){a(e,t,7,[n,r])}const _n=wt();let bn=0;function xn(e,t,n){const o=e.type,a=(t?t.appContext:e.appContext)||_n,s={uid:bn++,vnode:e,type:o,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new r.yC(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ct(o,a),emitsOptions:I(o,a),emit:null,emitted:null,propsDefaults:i.MZ,inheritAttrs:o.inheritAttrs,ctx:i.MZ,data:i.MZ,props:i.MZ,attrs:i.MZ,slots:i.MZ,refs:i.MZ,setupState:i.MZ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=M.bind(null,s),e.ce&&e.ce(s),s}let wn=null;const Sn=()=>wn||R,kn=e=>{wn=e,e.scope.on()},Cn=()=>{wn&&wn.scope.off(),wn=null};function An(e){return 4&e.vnode.shapeFlag}let Tn,En,Mn=!1;function In(e,t=!1){Mn=t;const{props:n,children:r}=e.vnode,i=An(e);at(e,n,i,t),bt(e,r);const o=i?Dn(e,t):void 0;return Mn=!1,o}function Dn(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=(0,r.IG)(new Proxy(e.ctx,je));const{setup:a}=n;if(a){const n=e.setupContext=a.length>1?Pn(e):null;kn(e),(0,r.C4)();const l=o(a,e,0,[e.props,n]);if((0,r.bl)(),Cn(),(0,i.yL)(l)){if(l.then(Cn,Cn),t)return l.then((n=>{Rn(e,n,t)})).catch((t=>{s(t,e,0)}));e.asyncDep=l}else Rn(e,l,t)}else Ln(e,t)}function Rn(e,t,n){(0,i.Tn)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,i.Gv)(t)&&(e.setupState=(0,r.Pr)(t)),Ln(e,n)}function Ln(e,t,n){const o=e.type;if(!e.render){if(!t&&Tn&&!o.render){const t=o.template||Ze(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:s}=o,l=(0,i.X$)((0,i.X$)({isCustomElement:n,delimiters:a},r),s);o.render=Tn(t,l)}}e.render=o.render||i.tE,En&&En(e)}kn(e),(0,r.C4)(),Ue(e),(0,r.bl)(),Cn()}function On(e){return new Proxy(e.attrs,{get(t,n){return(0,r.u4)(e,"get","$attrs"),t[n]}})}function Pn(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=On(e))},slots:e.slots,emit:e.emit,expose:t}}function zn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,r.Pr)((0,r.IG)(e.exposed)),{get(t,n){return n in t?t[n]:n in Ve?Ve[n](e):void 0},has(e,t){return t in e||t in Ve}}))}function Bn(e,t=!0){return(0,i.Tn)(e)?e.displayName||e.name:e.name||t&&e.__name}function Nn(e){return(0,i.Tn)(e)&&"__vccOpts"in e}const Fn=(e,t)=>(0,r.EW)(e,t,Mn);function qn(e,t,n){const r=arguments.length;return 2===r?(0,i.Gv)(t)&&!(0,i.cy)(t)?tn(t)?ln(e,null,[t]):ln(e,t):ln(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&tn(n)&&(n=[n]),ln(e,t,n))}const Wn=Symbol(""),Gn=()=>{{const e=U(Wn);return e}};const Vn="3.2.47"},9104:(e,t,n)=>{"use strict";n.d(t,{D$:()=>he,Ef:()=>be,F:()=>te,Jo:()=>ue,aG:()=>ve,eB:()=>P,jR:()=>pe});var r=n(8790),i=n(1758),o=n(8734);const a="http://www.w3.org/2000/svg",s="undefined"!==typeof document?document:null,l=s&&s.createElement("template"),u={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t?s.createElementNS(a,e):s.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:e=>s.createTextNode(e),createComment:e=>s.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>s.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling)){while(1)if(t.insertBefore(i.cloneNode(!0),n),i===o||!(i=i.nextSibling))break}else{l.innerHTML=r?`<svg>${e}</svg>`:e;const i=l.content;if(r){const e=i.firstChild;while(e.firstChild)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function c(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function d(e,t,n){const i=e.style,o=(0,r.Kg)(n);if(n&&!o){if(t&&!(0,r.Kg)(t))for(const e in t)null==n[e]&&f(i,e,"");for(const e in n)f(i,e,n[e])}else{const r=i.display;o?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=r)}}const h=/\s*!important$/;function f(e,t,n){if((0,r.cy)(n))n.forEach((n=>f(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=g(e,t);h.test(n)?e.setProperty((0,r.Tg)(i),n.replace(h,""),"important"):e[i]=n}}const p=["Webkit","Moz","ms"],v={};function g(e,t){const n=v[t];if(n)return n;let i=(0,r.PT)(t);if("filter"!==i&&i in e)return v[t]=i;i=(0,r.ZH)(i);for(let r=0;r<p.length;r++){const n=p[r]+i;if(n in e)return v[t]=n}return t}const m="http://www.w3.org/1999/xlink";function y(e,t,n,i,o){if(i&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(m,t.slice(6,t.length)):e.setAttributeNS(m,t,n);else{const i=(0,r.J$)(t);null==n||i&&!(0,r.Y2)(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function _(e,t,n,i,o,a,s){if("innerHTML"===t||"textContent"===t)return i&&s(i,o,a),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const r=null==n?"":n;return e.value===r&&"OPTION"!==e.tagName||(e.value=r),void(null==n&&e.removeAttribute(t))}let l=!1;if(""===n||null==n){const i=typeof e[t];"boolean"===i?n=(0,r.Y2)(n):null==n&&"string"===i?(n="",l=!0):"number"===i&&(n=0,l=!0)}try{e[t]=n}catch(u){0}l&&e.removeAttribute(t)}function b(e,t,n,r){e.addEventListener(t,n,r)}function x(e,t,n,r){e.removeEventListener(t,n,r)}function w(e,t,n,r,i=null){const o=e._vei||(e._vei={}),a=o[t];if(r&&a)a.value=r;else{const[n,s]=k(t);if(r){const a=o[t]=E(r,i);b(e,n,a,s)}else a&&(x(e,n,a,s),o[t]=void 0)}}const S=/(?:Once|Passive|Capture)$/;function k(e){let t;if(S.test(e)){let n;t={};while(n=e.match(S))e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):(0,r.Tg)(e.slice(2));return[n,t]}let C=0;const A=Promise.resolve(),T=()=>C||(A.then((()=>C=0)),C=Date.now());function E(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();(0,i.qL)(M(e,n.value),t,5,[e])};return n.value=e,n.attached=T(),n}function M(e,t){if((0,r.cy)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}const I=/^on[a-z]/,D=(e,t,n,i,o=!1,a,s,l,u)=>{"class"===t?c(e,i,o):"style"===t?d(e,n,i):(0,r.Mp)(t)?(0,r.CP)(t)||w(e,t,n,i,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):R(e,t,i,o))?_(e,t,i,a,s,l,u):("true-value"===t?e._trueValue=i:"false-value"===t&&(e._falseValue=i),y(e,t,i,o))};function R(e,t,n,i){return i?"innerHTML"===t||"textContent"===t||!!(t in e&&I.test(t)&&(0,r.Tn)(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!I.test(t)||!(0,r.Kg)(n))&&t in e))))}"undefined"!==typeof HTMLElement&&HTMLElement;const L="transition",O="animation",P=(e,{slots:t})=>(0,i.h)(i.pR,q(e),t);P.displayName="Transition";const z={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},B=P.props=(0,r.X$)({},i.pR.props,z),N=(e,t=[])=>{(0,r.cy)(e)?e.forEach((e=>e(...t))):e&&e(...t)},F=e=>!!e&&((0,r.cy)(e)?e.some((e=>e.length>1)):e.length>1);function q(e){const t={};for(const r in e)r in z||(t[r]=e[r]);if(!1===e.css)return t;const{name:n="v",type:i,duration:o,enterFromClass:a=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=a,appearActiveClass:c=s,appearToClass:d=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,v=W(o),g=v&&v[0],m=v&&v[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:b,onLeave:x,onLeaveCancelled:w,onBeforeAppear:S=y,onAppear:k=_,onAppearCancelled:C=b}=t,A=(e,t,n)=>{H(e,t?d:l),H(e,t?c:s),n&&n()},T=(e,t)=>{e._isLeaving=!1,H(e,h),H(e,p),H(e,f),t&&t()},E=e=>(t,n)=>{const r=e?k:_,o=()=>A(t,e,n);N(r,[t,o]),j((()=>{H(t,e?u:a),V(t,e?d:l),F(r)||U(t,i,g,o)}))};return(0,r.X$)(t,{onBeforeEnter(e){N(y,[e]),V(e,a),V(e,s)},onBeforeAppear(e){N(S,[e]),V(e,u),V(e,c)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>T(e,t);V(e,h),Z(),V(e,f),j((()=>{e._isLeaving&&(H(e,h),V(e,p),F(x)||U(e,i,m,n))})),N(x,[e,n])},onEnterCancelled(e){A(e,!1),N(b,[e])},onAppearCancelled(e){A(e,!0),N(C,[e])},onLeaveCancelled(e){T(e),N(w,[e])}})}function W(e){if(null==e)return null;if((0,r.Gv)(e))return[G(e.enter),G(e.leave)];{const t=G(e);return[t,t]}}function G(e){const t=(0,r.Ro)(e);return t}function V(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function H(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function j(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let $=0;function U(e,t,n,r){const i=e._endId=++$,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=K(e,t);if(!a)return r();const u=a+"end";let c=0;const d=()=>{e.removeEventListener(u,h),o()},h=t=>{t.target===e&&++c>=l&&d()};setTimeout((()=>{c<l&&d()}),s+1),e.addEventListener(u,h)}function K(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),i=r(`${L}Delay`),o=r(`${L}Duration`),a=X(i,o),s=r(`${O}Delay`),l=r(`${O}Duration`),u=X(s,l);let c=null,d=0,h=0;t===L?a>0&&(c=L,d=a,h=o.length):t===O?u>0&&(c=O,d=u,h=l.length):(d=Math.max(a,u),c=d>0?a>u?L:O:null,h=c?c===L?o.length:l.length:0);const f=c===L&&/\b(transform|all)(,|$)/.test(r(`${L}Property`).toString());return{type:c,timeout:d,propCount:h,hasTransform:f}}function X(e,t){while(e.length<t.length)e=e.concat(e);return Math.max(...t.map(((t,n)=>Y(t)+Y(e[n]))))}function Y(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function Z(){return document.body.offsetHeight}const Q=new WeakMap,J=new WeakMap,ee={name:"TransitionGroup",props:(0,r.X$)({},B,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=(0,i.nI)(),r=(0,i.Gy)();let a,s;return(0,i.$u)((()=>{if(!a.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!oe(a[0].el,n.vnode.el,t))return;a.forEach(ne),a.forEach(re);const r=a.filter(ie);Z(),r.forEach((e=>{const n=e.el,r=n.style;V(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const i=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",i),n._moveCb=null,H(n,t))};n.addEventListener("transitionend",i)}))})),()=>{const l=(0,o.ux)(e),u=q(l);let c=l.tag||i.FK;a=s,s=t.default?(0,i.Df)(t.default()):[];for(let e=0;e<s.length;e++){const t=s[e];null!=t.key&&(0,i.MZ)(t,(0,i.OW)(t,u,r,n))}if(a)for(let e=0;e<a.length;e++){const t=a[e];(0,i.MZ)(t,(0,i.OW)(t,u,r,n)),Q.set(t,t.el.getBoundingClientRect())}return(0,i.bF)(c,null,s)}}};ee.props;const te=ee;function ne(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function re(e){J.set(e,e.el.getBoundingClientRect())}function ie(e){const t=Q.get(e),n=J.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${i}px)`,t.transitionDuration="0s",e}}function oe(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const i=1===t.nodeType?t:t.parentNode;i.appendChild(r);const{hasTransform:o}=K(r);return i.removeChild(r),o}const ae=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,r.cy)(t)?e=>(0,r.DY)(t,e):t};function se(e){e.target.composing=!0}function le(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ue={created(e,{modifiers:{lazy:t,trim:n,number:i}},o){e._assign=ae(o);const a=i||o.props&&"number"===o.props.type;b(e,t?"change":"input",(t=>{if(t.target.composing)return;let i=e.value;n&&(i=i.trim()),a&&(i=(0,r.bB)(i)),e._assign(i)})),n&&b(e,"change",(()=>{e.value=e.value.trim()})),t||(b(e,"compositionstart",se),b(e,"compositionend",le),b(e,"change",le))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:o}},a){if(e._assign=ae(a),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(i&&e.value.trim()===t)return;if((o||"number"===e.type)&&(0,r.bB)(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}};const ce=["ctrl","shift","alt","meta"],de={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ce.some((n=>e[`${n}Key`]&&!t.includes(n)))},he=(e,t)=>(n,...r)=>{for(let e=0;e<t.length;e++){const r=de[t[e]];if(r&&r(n,t))return}return e(n,...r)},fe={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},pe=(e,t)=>n=>{if(!("key"in n))return;const i=(0,r.Tg)(n.key);return t.some((e=>e===i||fe[e]===i))?e(n):void 0},ve={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ge(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!==!n&&(r?t?(r.beforeEnter(e),ge(e,!0),r.enter(e)):r.leave(e,(()=>{ge(e,!1)})):ge(e,t))},beforeUnmount(e,{value:t}){ge(e,t)}};function ge(e,t){e.style.display=t?e._vod:"none"}const me=(0,r.X$)({patchProp:D},u);let ye;function _e(){return ye||(ye=(0,i.K9)(me))}const be=(...e)=>{const t=_e().createApp(...e);const{mount:n}=t;return t.mount=e=>{const i=xe(e);if(!i)return;const o=t._component;(0,r.Tn)(o)||o.render||o.template||(o.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function xe(e){if((0,r.Kg)(e)){const t=document.querySelector(e);return t}return e}},8790:(e,t,n)=>{"use strict";function r(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,{$3:()=>D,$H:()=>te,BX:()=>m,Bm:()=>F,C4:()=>h,CP:()=>T,DY:()=>ne,Ft:()=>a,Gv:()=>q,Hl:()=>i,J$:()=>p,Kg:()=>N,MZ:()=>x,Mp:()=>A,NO:()=>k,Oj:()=>w,PT:()=>Y,Qd:()=>j,Ro:()=>oe,SU:()=>U,TF:()=>M,Tg:()=>Q,Tn:()=>B,Tr:()=>s,We:()=>se,X$:()=>E,Y2:()=>v,ZH:()=>J,Zf:()=>H,bB:()=>ie,cy:()=>R,gd:()=>z,jh:()=>L,pD:()=>r,rU:()=>ee,tE:()=>S,u3:()=>y,vM:()=>O,v_:()=>_,yI:()=>$,yL:()=>W,yQ:()=>re});const i={[1]:"TEXT",[2]:"CLASS",[4]:"STYLE",[8]:"PROPS",[16]:"FULL_PROPS",[32]:"HYDRATE_EVENTS",[64]:"STABLE_FRAGMENT",[128]:"KEYED_FRAGMENT",[256]:"UNKEYED_FRAGMENT",[512]:"NEED_PATCH",[1024]:"DYNAMIC_SLOTS",[2048]:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},o="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",a=r(o);function s(e){if(R(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=N(r)?d(r):s(r);if(i)for(const e in i)t[e]=i[e]}return t}return N(e)||q(e)?e:void 0}const l=/;(?![^(]*\))/g,u=/:([^]+)/,c=/\/\*.*?\*\//gs;function d(e){const t={};return e.replace(c,"").split(l).forEach((e=>{if(e){const n=e.split(u);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function h(e){let t="";if(N(e))t=e;else if(R(e))for(let n=0;n<e.length;n++){const r=h(e[n]);r&&(t+=r+" ")}else if(q(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const f="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",p=r(f);function v(e){return!!e||""===e}function g(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=m(e[r],t[r]);return n}function m(e,t){if(e===t)return!0;let n=P(e),r=P(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=F(e),r=F(t),n||r)return e===t;if(n=R(e),r=R(t),n||r)return!(!n||!r)&&g(e,t);if(n=q(e),r=q(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const n in e){const r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!m(e[n],t[n]))return!1}}return String(e)===String(t)}function y(e,t){return e.findIndex((e=>m(e,t)))}const _=e=>N(e)?e:null==e?"":R(e)||q(e)&&(e.toString===G||!B(e.toString))?JSON.stringify(e,b,2):String(e),b=(e,t)=>t&&t.__v_isRef?b(e,t.value):L(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:O(t)?{[`Set(${t.size})`]:[...t.values()]}:!q(t)||R(t)||j(t)?t:String(t),x={},w=[],S=()=>{},k=()=>!1,C=/^on[^a-z]/,A=e=>C.test(e),T=e=>e.startsWith("onUpdate:"),E=Object.assign,M=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},I=Object.prototype.hasOwnProperty,D=(e,t)=>I.call(e,t),R=Array.isArray,L=e=>"[object Map]"===V(e),O=e=>"[object Set]"===V(e),P=e=>"[object Date]"===V(e),z=e=>"[object RegExp]"===V(e),B=e=>"function"===typeof e,N=e=>"string"===typeof e,F=e=>"symbol"===typeof e,q=e=>null!==e&&"object"===typeof e,W=e=>q(e)&&B(e.then)&&B(e.catch),G=Object.prototype.toString,V=e=>G.call(e),H=e=>V(e).slice(8,-1),j=e=>"[object Object]"===V(e),$=e=>N(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,U=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),K=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},X=/-(\w)/g,Y=K((e=>e.replace(X,((e,t)=>t?t.toUpperCase():"")))),Z=/\B([A-Z])/g,Q=K((e=>e.replace(Z,"-$1").toLowerCase())),J=K((e=>e.charAt(0).toUpperCase()+e.slice(1))),ee=K((e=>e?`on${J(e)}`:"")),te=(e,t)=>!Object.is(e,t),ne=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},re=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ie=e=>{const t=parseFloat(e);return isNaN(t)?e:t},oe=e=>{const t=N(e)?Number(e):NaN;return isNaN(t)?e:t};let ae;const se=()=>ae||(ae="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{})},7178:(e,t,n)=>{"use strict";n.d(t,{LR:()=>c,LW:()=>u,Nz:()=>d,ap:()=>p,oi:()=>l,t5:()=>f});var r=n(2486),i=n(630),o=(0,i.$r)();function a(e,t,n,i,o){var a;if(t&&t.ecModel){var s=t.ecModel.getUpdatePayload();a=s&&s.animation}var l=t&&t.isAnimationEnabled(),u="update"===e;if(l){var c=void 0,d=void 0,h=void 0;i?(c=(0,r.bZ)(i.duration,200),d=(0,r.bZ)(i.easing,"cubicOut"),h=0):(c=t.getShallow(u?"animationDurationUpdate":"animationDuration"),d=t.getShallow(u?"animationEasingUpdate":"animationEasing"),h=t.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(c=a.duration),null!=a.easing&&(d=a.easing),null!=a.delay&&(h=a.delay)),(0,r.Tn)(h)&&(h=h(n,o)),(0,r.Tn)(c)&&(c=c(n));var f={duration:c||0,delay:h,easing:d};return f}return null}function s(e,t,n,i,o,s,l){var u,c=!1;(0,r.Tn)(o)?(l=s,s=o,o=null):(0,r.Gv)(o)&&(s=o.cb,l=o.during,c=o.isFrom,u=o.removeOpt,o=o.dataIndex);var d="leave"===e;d||t.stopAnimation("leave");var h=a(e,i,o,d?u||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(t,o):null);if(h&&h.duration>0){var f=h.duration,p=h.delay,v=h.easing,g={duration:f,delay:p||0,easing:v,done:s,force:!!s||!!l,setToFinal:!d,scope:e,during:l};c?t.animateFrom(n,g):t.animateTo(n,g)}else t.stopAnimation(),!c&&t.attr(n),l&&l(1),s&&s()}function l(e,t,n,r,i,o){s("update",e,t,n,r,i,o)}function u(e,t,n,r,i,o){s("enter",e,t,n,r,i,o)}function c(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){var n=e.animators[t];if("leave"===n.scope)return!0}return!1}function d(e,t,n,r,i,o){c(e)||s("leave",e,t,n,r,i,o)}function h(e,t,n,r){e.removeTextContent(),e.removeTextGuideLine(),d(e,{style:{opacity:0}},t,n,r)}function f(e,t,n){function r(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse((function(e){e.isGroup||h(e,t,n,r)})):h(e,t,n,r)}function p(e){o(e).oldStyle=e.style}},2164:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(1730),i=n(6027),o=n(7178),a=n(354),s=n(4066),l=n(1797),u=n(9160),c=n(2486),d=n(9348),h=n(7744),f=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.updateData(t,n,r,i),o}return(0,r.C6)(t,e),t.prototype._createSymbol=function(e,t,n,r,o){this.removeAll();var a=(0,i.v5)(e,-1,-1,2,2,null,o);a.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),a.drift=p,this._symbolType=e,this.add(a)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){(0,l.HY)(this.childAt(0))},t.prototype.downplay=function(){(0,l.SD)(this.childAt(0))},t.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},t.prototype.setDraggable=function(e,t){var n=this.childAt(0);n.draggable=e,n.cursor=!t&&e?"move":n.cursor},t.prototype.updateData=function(e,n,r,i){this.silent=!1;var a=e.getItemVisual(n,"symbol")||"circle",s=e.hostModel,l=t.getSymbolSize(e,n),u=a!==this._symbolType,c=i&&i.disableAnimation;if(u){var d=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(a,e,n,l,d)}else{var h=this.childAt(0);h.silent=!1;var f={scaleX:l[0]/2,scaleY:l[1]/2};c?h.attr(f):o.oi(h,f,s,n),(0,o.ap)(h)}if(this._updateCommon(e,n,l,r,i),u){h=this.childAt(0);if(!c){f={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,o.LW(h,f,s,n)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,n,r,o){var a,s,f,p,v,g,m,y,_,b=this.childAt(0),x=e.hostModel;if(r&&(a=r.emphasisItemStyle,s=r.blurItemStyle,f=r.selectItemStyle,p=r.focus,v=r.blurScope,m=r.labelStatesModels,y=r.hoverScale,_=r.cursorStyle,g=r.emphasisDisabled),!r||e.hasItemOption){var w=r&&r.itemModel?r.itemModel:e.getItemModel(t),S=w.getModel("emphasis");a=S.getModel("itemStyle").getItemStyle(),f=w.getModel(["select","itemStyle"]).getItemStyle(),s=w.getModel(["blur","itemStyle"]).getItemStyle(),p=S.get("focus"),v=S.get("blurScope"),g=S.get("disabled"),m=(0,d.lx)(w),y=S.getShallow("scale"),_=w.getShallow("cursor")}var k=e.getItemVisual(t,"symbolRotate");b.attr("rotation",(k||0)*Math.PI/180||0);var C=(0,i.hV)(e.getItemVisual(t,"symbolOffset"),n);C&&(b.x=C[0],b.y=C[1]),_&&b.attr("cursor",_);var A=e.getItemVisual(t,"style"),T=A.fill;if(b instanceof h.Ay){var E=b.style;b.useStyle((0,c.X$)({image:E.image,x:E.x,y:E.y,width:E.width,height:E.height},A))}else b.__isEmptyBrush?b.useStyle((0,c.X$)({},A)):b.useStyle(A),b.style.decal=null,b.setColor(T,o&&o.symbolInnerColor),b.style.strokeNoScale=!0;var M=e.getItemVisual(t,"liftZ"),I=this._z2;null!=M?null==I&&(this._z2=b.z2,b.z2+=M):null!=I&&(b.z2=I,this._z2=null);var D=o&&o.useNameLabel;function R(t){return D?e.getName(t):(0,u.i)(e,t)}(0,d.qM)(b,m,{labelFetcher:x,labelDataIndex:t,defaultText:R,inheritColor:T,defaultOpacity:A.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var L=b.ensureState("emphasis");L.style=a,b.ensureState("select").style=f,b.ensureState("blur").style=s;var O=null==y||!0===y?Math.max(1.1,3/this._sizeY):isFinite(y)&&y>0?+y:1;L.scaleX=this._sizeX*O,L.scaleY=this._sizeY*O,this.setSymbolScale(1),(0,l.Lm)(this,p,v,g)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var r=this.childAt(0),i=(0,s.z)(this).dataIndex,a=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var l=r.getTextContent();l&&o.Nz(l,{style:{opacity:0}},t,{dataIndex:i,removeOpt:a,cb:function(){r.removeTextContent()}})}else r.removeTextContent();o.Nz(r,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:i,cb:e,removeOpt:a})},t.getSymbolSize=function(e,t){return(0,i.xU)(e.getItemVisual(t,"symbolSize"))},t}(a.A);function p(e,t){this.parent.drift(e,t)}const v=f},8758:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(354),i=n(7178),o=n(7233),a=n(2164),s=n(2486),l=n(9348);function u(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function c(e){return null==e||(0,s.Gv)(e)||(e={isIgnore:e}),e||{}}function d(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:(0,l.lx)(t),cursorStyle:t.get("cursor")}}var h=function(){function e(e){this.group=new r.A,this._SymbolCtor=e||a.A}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=c(t);var n=this.group,r=e.hostModel,o=this._data,a=this._SymbolCtor,s=t.disableAnimation,l=d(e),h={disableAnimation:s},f=t.getSymbolPoint||function(t){return e.getItemLayout(t)};o||n.removeAll(),e.diff(o).add((function(r){var i=f(r);if(u(e,i,r,t)){var o=new a(e,r,l,h);o.setPosition(i),e.setItemGraphicEl(r,o),n.add(o)}})).update((function(c,d){var p=o.getItemGraphicEl(d),v=f(c);if(u(e,v,c,t)){var g=e.getItemVisual(c,"symbol")||"circle",m=p&&p.getSymbolType&&p.getSymbolType();if(!p||m&&m!==g)n.remove(p),p=new a(e,c,l,h),p.setPosition(v);else{p.updateData(e,c,l,h);var y={x:v[0],y:v[1]};s?p.attr(y):i.oi(p,y,r)}n.add(p),e.setItemGraphicEl(c,p)}else n.remove(p)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}),r)})).execute(),this._getSymbolPoint=f,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl((function(t,n){var r=e._getSymbolPoint(n);t.setPosition(r),t.markRedraw()}))},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=d(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=c(n);for(var i=e.start;i<e.end;i++){var o=t.getItemLayout(i);if(u(t,o,i,n)){var a=new this._SymbolCtor(t,i,this._seriesScope);a.traverse(r),a.setPosition(o),this.group.add(a),t.setItemGraphicEl(i,a),this._progressiveEls.push(a)}}},e.prototype.eachRendered=function(e){o.traverseElements(this._progressiveEls||this.group,e)},e.prototype.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl((function(e){e.fadeOut((function(){t.remove(e)}),n.hostModel)})):t.removeAll()},e}();const f=h},7002:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(630);function i(){var e=(0,r.$r)();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===a&&o===s)&&"reset"}}},9160:(e,t,n)=>{"use strict";n.d(t,{T:()=>a,i:()=>o});var r=n(391),i=n(2486);function o(e,t){var n=e.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var o=(0,r.QE)(e,t,n[0]);return null!=o?o+"":null}if(i){for(var a=[],s=0;s<n.length;s++)a.push((0,r.QE)(e,t,n[s]));return a.join(" ")}}function a(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!(0,i.cy)(t))return t+"";for(var r=[],o=0;o<n.length;o++){var a=e.getDimensionIndex(n[o]);a>=0&&r.push(t[a])}return r.join(" ")}},6224:(e,t,n)=>{"use strict";n.d(t,{a:()=>Ge});var r=n(1730),i=n(2486),o=n(458),a=n(9002),s=n(7643),l=n(1637),u=n(6862),c=n(630),d=n(891),h=n(4812);function f(e,t){(0,l.tP)(e)||(e=(0,l.AF)(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],o=(0,i.nt)(),f=[],m=v(e,n,r,t.dimensionsCount),y=t.canOmitUnusedDimensions&&(0,h.eS)(m),_=r===e.dimensionsDefine,b=_?(0,h.j_)(e):(0,h.io)(r),x=t.encodeDefine;!x&&t.encodeDefaulter&&(x=t.encodeDefaulter(e,m));for(var w=(0,i.nt)(x),S=new u.A_(m),k=0;k<S.length;k++)S[k]=-1;function C(e){var t=S[e];if(t<0){var n=r[e],o=(0,i.Gv)(n)?n:{name:n},a=new s.A,l=o.name;null!=l&&null!=b.get(l)&&(a.name=a.displayName=l),null!=o.type&&(a.type=o.type),null!=o.displayName&&(a.displayName=o.displayName);var u=f.length;return S[e]=u,a.storeDimIndex=e,f.push(a),a}return f[t]}if(!y)for(k=0;k<m;k++)C(k);w.each((function(e,t){var n=(0,c.qB)(e).slice();if(1===n.length&&!(0,i.Kg)(n[0])&&n[0]<0)w.set(t,!1);else{var r=w.set(t,[]);(0,i.__)(n,(function(e,n){var o=(0,i.Kg)(e)?b.get(e):e;null!=o&&o<m&&(r[n]=o,T(C(o),t,n))}))}}));var A=0;function T(e,t,n){null!=a.Pe.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,o.set(t,!0))}(0,i.__)(n,(function(e){var t,n,r,o;if((0,i.Kg)(e))t=e,o={};else{o=e,t=o.name;var a=o.ordinalMeta;o.ordinalMeta=null,o=(0,i.X$)({},o),o.ordinalMeta=a,n=o.dimsDef,r=o.otherDims,o.name=o.coordDim=o.coordDimIndex=o.dimsDef=o.otherDims=null}var s=w.get(t);if(!1!==s){if(s=(0,c.qB)(s),!s.length)for(var l=0;l<(n&&n.length||1);l++){while(A<m&&null!=C(A).coordDim)A++;A<m&&s.push(A++)}(0,i.__)(s,(function(e,a){var s=C(e);if(_&&null!=o.type&&(s.type=o.type),T((0,i.NT)(s,o),t,a),null==s.name&&n){var l=n[a];!(0,i.Gv)(l)&&(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}r&&(0,i.NT)(s.otherDims,r)}))}}));var E=t.generateCoord,M=t.generateCoordCount,I=null!=M;M=E?M||1:0;var D=E||"value";function R(e){null==e.name&&(e.name=e.coordDim)}if(y)(0,i.__)(f,(function(e){R(e)})),f.sort((function(e,t){return e.storeDimIndex-t.storeDimIndex}));else for(var L=0;L<m;L++){var O=C(L),P=O.coordDim;null==P&&(O.coordDim=g(D,o,I),O.coordDimIndex=0,(!E||M<=0)&&(O.isExtraCoord=!0),M--),R(O),null!=O.type||(0,d.PU)(e,L)!==d.sc.Must&&(!O.isExtraCoord||null==O.otherDims.itemName&&null==O.otherDims.seriesName)||(O.type="ordinal")}return p(f),new h.Tc({source:e,dimensions:f,fullDimensionCount:m,dimensionOmitted:y})}function p(e){for(var t=(0,i.nt)(),n=0;n<e.length;n++){var r=e[n],o=r.name,a=t.get(o)||0;a>0&&(r.name=o+(a-1)),a++,t.set(o,a)}}function v(e,t,n,r){var o=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return(0,i.__)(t,(function(e){var t;(0,i.Gv)(e)&&(t=e.dimsDef)&&(o=Math.max(o,t.length))})),o}function g(e,t,n){if(n||t.hasKey(e)){var r=0;while(t.hasKey(e+r))r++;e+=r}return t.set(e,!0),e}var m=n(1480),y=n(7717),_=function(){function e(e){this.coordSysDims=[],this.axisMap=(0,i.nt)(),this.categoryAxisMap=(0,i.nt)(),this.coordSysName=e}return e}();function b(e){var t=e.get("coordinateSystem"),n=new _(t),r=x[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var x={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",c.US).models[0],o=e.getReferringComponents("yAxis",c.US).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),w(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),w(o)&&(r.set("y",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",c.US).models[0];t.coordSysDims=["single"],n.set("single",i),w(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",c.US).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),w(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),w(a)&&(r.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var o=e.ecModel,a=o.getComponent("parallel",e.get("parallelIndex")),s=t.coordSysDims=a.dimensions.slice();(0,i.__)(a.parallelAxisIndex,(function(e,i){var a=o.getComponent("parallelAxis",e),l=s[i];n.set(l,a),w(a)&&(r.set(l,a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=i))}))}};function w(e){return"category"===e.get("type")}var S=n(6279);function k(e,t){var n,r=e.get("coordinateSystem"),o=y.A.get(r);return t&&t.coordSysDims&&(n=i.Tj(t.coordSysDims,(function(e){var n={name:e},r=t.axisMap.get(e);if(r){var i=r.get("type");n.type=(0,m.B)(i)}return n}))),n||(n=o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]),n}function C(e,t,n){var r,o;return n&&i.__(e,(function(e,i){var a=e.coordDim,s=n.categoryAxisMap.get(a);s&&(null==r&&(r=i),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(o=!0)})),o||null==r||(e[r].otherDims.itemName=0),r}function A(e,t,n){n=n||{};var r,s=t.getSourceManager(),u=!1;e?(u=!0,r=(0,l.AF)(e)):(r=s.getSource(),u=r.sourceFormat===a.mK);var c=b(t),h=k(t,c),p=n.useEncodeDefaulter,v=i.Tn(p)?p:p?i.cF(d.OC,h,t):null,g={coordDimensions:h,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:v,canOmitUnusedDimensions:!u},m=f(r,g),y=C(m.dimensions,n.createInvertedIndices,c),_=u?null:s.getSharedDataStore(m),x=(0,S.iJ)(t,{schema:m,store:_}),w=new o.A(m,t);w.setCalculationInfo(x);var A=null!=y&&T(r)?function(e,t,n,r){return r===y?n:this.defaultDimValueGetter(e,t,n,r)}:null;return w.hasItemOption=!1,w.initData(u?r:_,null,A),w}function T(e){if(e.sourceFormat===a.mK){var t=E(e.data||[]);return!i.cy((0,c.vj)(t))}}function E(e){var t=0;while(t<e.length&&null==e[t])t++;return e[t]}const M=A;var I=n(9643),D=n(6027),R=n(354),L=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return(0,r.C6)(t,e),t.prototype.getInitialData=function(e){return M(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var t=new R.A,n=(0,D.v5)("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);t.add(n),n.setStyle(e.lineStyle);var r=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),o="none"===r?"circle":r,a=.8*e.itemHeight,s=(0,D.v5)(o,(e.itemWidth-a)/2,(e.itemHeight-a)/2,a,a,e.itemStyle.fill);t.add(s),s.setStyle(e.itemStyle);var l="inherit"===e.iconRotate?i:e.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([e.itemWidth/2,e.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),t},t.type="series.line",t.dependencies=["grid","polar"],t.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},t}(I.A);const O=L;var P=n(8758),z=n(2164);function B(e,t,n){var r=e.getBaseAxis(),o=e.getOtherAxis(r),a=N(o,n),s=r.dim,l=o.dim,u=t.mapDimension(l),c=t.mapDimension(s),d="x"===l||"radius"===l?1:0,h=(0,i.Tj)(e.dimensions,(function(e){return t.mapDimension(e)})),f=!1,p=t.getCalculationInfo("stackResultDimension");return(0,S.sJ)(t,h[0])&&(f=!0,h[0]=p),(0,S.sJ)(t,h[1])&&(f=!0,h[1]=p),{dataDimsForPoint:h,valueStart:a,valueAxisDim:l,baseAxisDim:s,stacked:!!f,valueDim:u,baseDim:c,baseDataOffset:d,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function N(e,t){var n=0,r=e.scale.getExtent();return"start"===t?n=r[0]:"end"===t?n=r[1]:(0,i.Et)(t)&&!isNaN(t)?n=t:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}function F(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}var q="undefined"!==typeof Float32Array,W=q?Float32Array:Array;function G(e){return(0,i.cy)(e)?q?new Float32Array(e):e:new W(e)}function V(e,t){var n=[];return t.diff(e).add((function(e){n.push({cmd:"+",idx:e})})).update((function(e,t){n.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){n.push({cmd:"-",idx:e})})).execute(),n}function H(e,t,n,r,i,o,a,s){for(var l=V(e,t),u=[],c=[],d=[],h=[],f=[],p=[],v=[],g=B(i,t,a),m=e.getLayout("points")||[],y=t.getLayout("points")||[],_=0;_<l.length;_++){var b=l[_],x=!0,w=void 0,S=void 0;switch(b.cmd){case"=":w=2*b.idx,S=2*b.idx1;var k=m[w],C=m[w+1],A=y[S],T=y[S+1];(isNaN(k)||isNaN(C))&&(k=A,C=T),u.push(k,C),c.push(A,T),d.push(n[w],n[w+1]),h.push(r[S],r[S+1]),v.push(t.getRawIndex(b.idx1));break;case"+":var E=b.idx,M=g.dataDimsForPoint,I=i.dataToPoint([t.get(M[0],E),t.get(M[1],E)]);S=2*E,u.push(I[0],I[1]),c.push(y[S],y[S+1]);var D=F(g,i,t,E);d.push(D[0],D[1]),h.push(r[S],r[S+1]),v.push(t.getRawIndex(E));break;case"-":x=!1}x&&(f.push(b),p.push(p.length))}p.sort((function(e,t){return v[e]-v[t]}));var R=u.length,L=G(R),O=G(R),P=G(R),z=G(R),N=[];for(_=0;_<p.length;_++){var q=p[_],W=2*_,H=2*q;L[W]=u[H],L[W+1]=u[H+1],O[W]=c[H],O[W+1]=c[H+1],P[W]=d[H],P[W+1]=d[H+1],z[W]=h[H],z[W+1]=h[H+1],N[_]=f[q]}return{current:L,next:O,stackedOnCurrent:P,stackedOnNext:z,status:N}}var j=n(1832),$=n(7178),U=n(8246),K=n(8874),X=n(9975),Y=n(6943),Z=Math.min,Q=Math.max;function J(e,t){return isNaN(e)||isNaN(t)}function ee(e,t,n,r,i,o,a,s,l){for(var u,c,d,h,f,p,v=n,g=0;g<r;g++){var m=t[2*v],y=t[2*v+1];if(v>=i||v<0)break;if(J(m,y)){if(l){v+=o;continue}break}if(v===n)e[o>0?"moveTo":"lineTo"](m,y),d=m,h=y;else{var _=m-u,b=y-c;if(_*_+b*b<.5){v+=o;continue}if(a>0){var x=v+o,w=t[2*x],S=t[2*x+1];while(w===m&&S===y&&g<r)g++,x+=o,v+=o,w=t[2*x],S=t[2*x+1],m=t[2*v],y=t[2*v+1],_=m-u,b=y-c;var k=g+1;if(l)while(J(w,S)&&k<r)k++,x+=o,w=t[2*x],S=t[2*x+1];var C=.5,A=0,T=0,E=void 0,M=void 0;if(k>=r||J(w,S))f=m,p=y;else{A=w-u,T=S-c;var I=m-u,D=w-m,R=y-c,L=S-y,O=void 0,P=void 0;if("x"===s){O=Math.abs(I),P=Math.abs(D);var z=A>0?1:-1;f=m-z*O*a,p=y,E=m+z*P*a,M=y}else if("y"===s){O=Math.abs(R),P=Math.abs(L);var B=T>0?1:-1;f=m,p=y-B*O*a,E=m,M=y+B*P*a}else O=Math.sqrt(I*I+R*R),P=Math.sqrt(D*D+L*L),C=P/(P+O),f=m-A*a*(1-C),p=y-T*a*(1-C),E=m+A*a*C,M=y+T*a*C,E=Z(E,Q(w,m)),M=Z(M,Q(S,y)),E=Q(E,Z(w,m)),M=Q(M,Z(S,y)),A=E-m,T=M-y,f=m-A*O/P,p=y-T*O/P,f=Z(f,Q(u,m)),p=Z(p,Q(c,y)),f=Q(f,Z(u,m)),p=Q(p,Z(c,y)),A=m-f,T=y-p,E=m+A*P/O,M=y+T*P/O}e.bezierCurveTo(d,h,f,p,m,y),d=E,h=M}else e.lineTo(m,y)}u=m,c=y,v+=o}return g}var te=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),ne=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return(0,r.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new te},t.prototype.buildPath=function(e,t){var n=t.points,r=0,i=n.length/2;if(t.connectNulls){for(;i>0;i--)if(!J(n[2*i-2],n[2*i-1]))break;for(;r<i;r++)if(!J(n[2*r],n[2*r+1]))break}while(r<i)r+=ee(e,n,r,i,i,1,t.smooth,t.smoothMonotone,t.connectNulls)+1},t.prototype.getPointOn=function(e,t){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,r,i=this.path,o=i.data,a=X.A.CMD,s="x"===t,l=[],u=0;u<o.length;){var c=o[u++],d=void 0,h=void 0,f=void 0,p=void 0,v=void 0,g=void 0,m=void 0;switch(c){case a.M:n=o[u++],r=o[u++];break;case a.L:if(d=o[u++],h=o[u++],m=s?(e-n)/(d-n):(e-r)/(h-r),m<=1&&m>=0){var y=s?(h-r)*m+r:(d-n)*m+n;return s?[e,y]:[y,e]}n=d,r=h;break;case a.C:d=o[u++],h=o[u++],f=o[u++],p=o[u++],v=o[u++],g=o[u++];var _=s?(0,Y._E)(n,d,f,v,e,l):(0,Y._E)(r,h,p,g,e,l);if(_>0)for(var b=0;b<_;b++){var x=l[b];if(x<=1&&x>=0){y=s?(0,Y.Yb)(r,h,p,g,x):(0,Y.Yb)(n,d,f,v,x);return s?[e,y]:[y,e]}}n=v,r=g;break}}},t}(K.Ay),re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t}(te),ie=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new re},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,o=n.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;o>0;o--)if(!J(n[2*o-2],n[2*o-1]))break;for(;i<o;i++)if(!J(n[2*i],n[2*i+1]))break}while(i<o){var s=ee(e,n,i,o,o,1,t.smooth,a,t.connectNulls);ee(e,r,i+s-1,s,o,-1,t.stackedOnSmooth,a,t.connectNulls),i+=s+1,e.closePath()}},t}(K.Ay),oe=n(9174),ae=n(2092),se=n(1271),le=n(4018);function ue(e,t,n,r,o){var a=e.getArea(),s=a.x,l=a.y,u=a.width,c=a.height,d=n.get(["lineStyle","width"])||2;s-=d/2,l-=d/2,u+=d,c+=d,s=Math.floor(s),u=Math.round(u);var h=new ae.A({shape:{x:s,y:l,width:u,height:c}});if(t){var f=e.getBaseAxis(),p=f.isHorizontal(),v=f.inverse;p?(v&&(h.shape.x+=u),h.shape.width=0):(v||(h.shape.y+=c),h.shape.height=0);var g=(0,i.Tn)(o)?function(e){o(e,h)}:null;$.LW(h,{shape:{width:u,height:c,x:s,y:l}},n,null,r,g)}return h}function ce(e,t,n){var r=e.getArea(),i=(0,le.LI)(r.r0,1),o=(0,le.LI)(r.r,1),a=new se.A({shape:{cx:(0,le.LI)(e.cx,1),cy:(0,le.LI)(e.cy,1),r0:i,r:o,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(t){var s="angle"===e.getBaseAxis().dim;s?a.shape.endAngle=r.startAngle:a.shape.r=i,$.LW(a,{shape:{endAngle:r.endAngle,r:o}},n)}return a}function de(e,t){return e.type===t}var he=n(1797),fe=n(9348),pe=n(9160),ve=n(4066),ge=n(8992),me=n(5334);function ye(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function _e(e){for(var t=1/0,n=1/0,r=-1/0,i=-1/0,o=0;o<e.length;){var a=e[o++],s=e[o++];isNaN(a)||(t=Math.min(a,t),r=Math.max(a,r)),isNaN(s)||(n=Math.min(s,n),i=Math.max(s,i))}return[[t,n],[r,i]]}function be(e,t){var n=_e(e),r=n[0],i=n[1],o=_e(t),a=o[0],s=o[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function xe(e){return i.Et(e)?e:e?.5:0}function we(e,t,n){if(!n.valueDim)return[];for(var r=t.count(),i=G(2*r),o=0;o<r;o++){var a=F(n,e,t,o);i[2*o]=a[0],i[2*o+1]=a[1]}return i}function Se(e,t,n,r){var i=t.getBaseAxis(),o="x"===i.dim||"radius"===i.dim?0:1,a=[],s=0,l=[],u=[],c=[],d=[];if(r){for(s=0;s<e.length;s+=2)isNaN(e[s])||isNaN(e[s+1])||d.push(e[s],e[s+1]);e=d}for(s=0;s<e.length-2;s+=2)switch(c[0]=e[s+2],c[1]=e[s+3],u[0]=e[s],u[1]=e[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 h=(u[o]+c[o])/2,f=[];l[o]=f[o]=h,l[1-o]=u[1-o],f[1-o]=c[1-o],a.push(l[0],l[1]),a.push(f[0],f[1]);break;default:l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1])}return a.push(e[s++],e[s++]),a}function ke(e,t){var n,r,i=[],o=e.length;function a(e,t,n){var r=e.coord,i=(n-r)/(t.coord-r),o=(0,me.Cc)(i,[e.color,t.color]);return{coord:n,color:o}}for(var s=0;s<o;s++){var l=e[s],u=l.coord;if(u<0)n=l;else{if(u>t){r?i.push(a(r,l,t)):n&&i.push(a(n,l,0),a(n,l,t));break}n&&(i.push(a(n,l,0)),n=null),i.push(l),r=l}}return i}function Ce(e,t,n){var r=e.getVisual("visualMeta");if(r&&r.length&&e.count()&&"cartesian2d"===t.type){for(var o,a,s=r.length-1;s>=0;s--){var l=e.getDimensionInfo(r[s].dimension);if(o=l&&l.coordDim,"x"===o||"y"===o){a=r[s];break}}if(a){var u=t.getAxis(o),c=i.Tj(a.stops,(function(e){return{coord:u.toGlobalCoord(u.dataToCoord(e.value)),color:e.color}})),d=c.length,h=a.outerColors.slice();d&&c[0].coord>c[d-1].coord&&(c.reverse(),h.reverse());var f=ke(c,"x"===o?n.getWidth():n.getHeight()),p=f.length;if(!p&&d)return c[0].coord<0?h[1]?h[1]:c[d-1].color:h[0]?h[0]:c[0].color;var v=10,g=f[0].coord-v,m=f[p-1].coord+v,y=m-g;if(y<.001)return"transparent";i.__(f,(function(e){e.offset=(e.coord-g)/y})),f.push({offset:p?f[p-1].offset:.5,color:h[1]||"transparent"}),f.unshift({offset:p?f[0].offset:.5,color:h[0]||"transparent"});var _=new j.A(0,0,0,0,f,!0);return _[o]=g,_[o+"2"]=m,_}}}function Ae(e,t,n){var r=e.get("showAllSymbol"),o="auto"===r;if(!r||o){var a=n.getAxesByScale("ordinal")[0];if(a&&(!o||!Te(a,t))){var s=t.mapDimension(a.dim),l={};return i.__(a.getViewLabels(),(function(e){var t=a.scale.getRawOrdinalNumber(e.tickValue);l[t]=1})),function(e){return!l.hasOwnProperty(t.get(s,e))}}}}function Te(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(1.5*z.A.getSymbolSize(t,a)[e.isHorizontal()?1:0]>r)return!1;return!0}function Ee(e,t){return isNaN(e)||isNaN(t)}function Me(e){for(var t=e.length/2;t>0;t--)if(!Ee(e[2*t-2],e[2*t-1]))break;return t-1}function Ie(e,t){return[e[2*t],e[2*t+1]]}function De(e,t,n){for(var r,i,o=e.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u<o;u++)if(i=e[2*u+a],!isNaN(i)&&!isNaN(e[2*u+1-a]))if(0!==u){if(r<=t&&i>=t||r>=t&&i<=t){l=u;break}s=u,r=i}else r=i;return{range:[s,l],t:(t-r)/(i-r)}}function Re(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<he.BV.length;t++)if(e.get([he.BV[t],"endLabel","show"]))return!0;return!1}function Le(e,t,n,r){if(de(t,"cartesian2d")){var i=r.getModel("endLabel"),o=i.get("valueAnimation"),a=r.getData(),s={lastFrameIndex:0},l=Re(r)?function(n,r){e._endLabelOnDuring(n,r,a,s,o,i,t)}:null,u=t.getBaseAxis().isHorizontal(),c=ue(t,n,r,(function(){var t=e._endLabel;t&&n&&null!=s.originalX&&t.attr({x:s.originalX,y:s.originalY})}),l);if(!r.get("clip",!0)){var d=c.shape,h=Math.max(d.width,d.height);u?(d.y-=h,d.height+=2*h):(d.x-=h,d.width+=2*h)}return l&&l(1,c),c}return ce(t,n,r)}function Oe(e,t){var n=t.getBaseAxis(),r=n.isHorizontal(),i=n.inverse,o=r?i?"right":"left":"center",a=r?"middle":i?"top":"bottom";return{normal:{align:e.get("align")||o,verticalAlign:e.get("verticalAlign")||a}}}var Pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.init=function(){var e=new R.A,t=new P.A;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},t.prototype.render=function(e,t,n){var r=this,o=e.coordinateSystem,a=this.group,s=e.getData(),l=e.getModel("lineStyle"),u=e.getModel("areaStyle"),c=s.getLayout("points")||[],d="polar"===o.type,h=this._coordSys,f=this._symbolDraw,p=this._polyline,v=this._polygon,g=this._lineGroup,m=!t.ssr&&e.isAnimationEnabled(),y=!u.isEmpty(),_=u.get("origin"),b=B(o,s,_),x=y&&we(o,s,b),w=e.get("showSymbol"),S=e.get("connectNulls"),k=w&&!d&&Ae(e,s,o),C=this._data;C&&C.eachItemGraphicEl((function(e,t){e.__temp&&(a.remove(e),C.setItemGraphicEl(t,null))})),w||f.remove(),a.add(g);var A,T=!d&&e.get("step");o&&o.getArea&&e.get("clip",!0)&&(A=o.getArea(),null!=A.width?(A.x-=.1,A.y-=.1,A.width+=.2,A.height+=.2):A.r0&&(A.r0-=.5,A.r+=.5)),this._clipShapeForSymbol=A;var E=Ce(s,o,n)||s.getVisual("style")[s.getVisual("drawType")];if(p&&h.type===o.type&&T===this._step){y&&!v?v=this._newPolygon(c,x):v&&!y&&(g.remove(v),v=this._polygon=null),d||this._initOrUpdateEndLabel(e,o,(0,ge.he)(E));var M=g.getClipPath();if(M){var I=Le(this,o,!1,e);$.LW(M,{shape:I.shape},e)}else g.setClipPath(Le(this,o,!0,e));w&&f.updateData(s,{isIgnore:k,clipShape:A,disableAnimation:!0,getSymbolPoint:function(e){return[c[2*e],c[2*e+1]]}}),ye(this._stackedOnPoints,x)&&ye(this._points,c)||(m?this._doUpdateAnimation(s,x,o,n,T,_,S):(T&&(c=Se(c,o,T,S),x&&(x=Se(x,o,T,S))),p.setShape({points:c}),v&&v.setShape({points:c,stackedOnPoints:x})))}else w&&f.updateData(s,{isIgnore:k,clipShape:A,disableAnimation:!0,getSymbolPoint:function(e){return[c[2*e],c[2*e+1]]}}),m&&this._initSymbolLabelAnimation(s,o,A),T&&(c=Se(c,o,T,S),x&&(x=Se(x,o,T,S))),p=this._newPolyline(c),y?v=this._newPolygon(c,x):v&&(g.remove(v),v=this._polygon=null),d||this._initOrUpdateEndLabel(e,o,(0,ge.he)(E)),g.setClipPath(Le(this,o,!0,e));var D=e.getModel("emphasis"),R=D.get("focus"),L=D.get("blurScope"),O=D.get("disabled");if(p.useStyle(i.NT(l.getLineStyle(),{fill:"none",stroke:E,lineJoin:"bevel"})),(0,he.Mx)(p,e,"lineStyle"),p.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"])){var P=p.getState("emphasis").style;P.lineWidth=+p.style.lineWidth+1}(0,ve.z)(p).seriesIndex=e.seriesIndex,(0,he.Lm)(p,R,L,O);var z=xe(e.get("smooth")),N=e.get("smoothMonotone");if(p.setShape({smooth:z,smoothMonotone:N,connectNulls:S}),v){var F=s.getCalculationInfo("stackedOnSeries"),q=0;v.useStyle(i.NT(u.getAreaStyle(),{fill:E,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),F&&(q=xe(F.get("smooth"))),v.setShape({smooth:z,stackedOnSmooth:q,smoothMonotone:N,connectNulls:S}),(0,he.Mx)(v,e,"areaStyle"),(0,ve.z)(v).seriesIndex=e.seriesIndex,(0,he.Lm)(v,R,L,O)}var W=function(e){r._changePolyState(e)};s.eachItemGraphicEl((function(e){e&&(e.onHoverStateChange=W)})),this._polyline.onHoverStateChange=W,this._data=s,this._coordSys=o,this._stackedOnPoints=x,this._points=c,this._step=T,this._valueOrigin=_,e.get("triggerLineEvent")&&(this.packEventData(e,p),v&&this.packEventData(e,v))},t.prototype.packEventData=function(e,t){(0,ve.z)(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,n,r){var i=e.getData(),o=c.le(i,r);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=i.getLayout("points"),s=i.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 d=e.get("zlevel")||0,h=e.get("z")||0;s=new z.A(i,o),s.x=l,s.y=u,s.setZ(d,h);var f=s.getSymbolPath().getTextContent();f&&(f.zlevel=d,f.z=h,f.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else oe.A.prototype.highlight.call(this,e,t,n,r)},t.prototype.downplay=function(e,t,n,r){var i=e.getData(),o=c.le(i,r);if(this._changePolyState("normal"),null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else oe.A.prototype.downplay.call(this,e,t,n,r)},t.prototype._changePolyState=function(e){var t=this._polygon;(0,he.Pk)(this._polyline,e),t&&(0,he.Pk)(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new ne({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new ie({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var r,o,a=t.getBaseAxis(),s=a.inverse;"cartesian2d"===t.type?(r=a.isHorizontal(),o=!1):"polar"===t.type&&(r="angle"===a.dim,o=!0);var l=e.hostModel,u=l.get("animationDuration");i.Tn(u)&&(u=u(null));var c=l.get("animationDelay")||0,d=i.Tn(c)?c(null):c;e.eachItemGraphicEl((function(e,a){var l=e;if(l){var h=[e.x,e.y],f=void 0,p=void 0,v=void 0;if(n)if(o){var g=n,m=t.pointToCoord(h);r?(f=g.startAngle,p=g.endAngle,v=-m[1]/180*Math.PI):(f=g.r0,p=g.r,v=m[0])}else{var y=n;r?(f=y.x,p=y.x+y.width,v=e.x):(f=y.y+y.height,p=y.y,v=e.y)}var _=p===f?0:(v-f)/(p-f);s&&(_=1-_);var b=i.Tn(c)?c(a):u*_+d,x=l.getSymbolPath(),w=x.getTextContent();l.attr({scaleX:0,scaleY:0}),l.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:b}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:b}),x.disableLabelAnimation=!0}}))},t.prototype._initOrUpdateEndLabel=function(e,t,n){var r=e.getModel("endLabel");if(Re(e)){var i=e.getData(),o=this._polyline,a=i.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new U.Ay({z2:200}),s.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=Me(a);l>=0&&((0,fe.qM)(o,(0,fe.lx)(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:l,defaultText:function(e,t,n){return null!=n?(0,pe.T)(i,n):(0,pe.i)(i,e)},enableTextSetter:!0},Oe(r,t)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,r,i,o,a){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var u=n.getLayout("points"),d=n.hostModel,h=d.get("connectNulls"),f=o.get("precision"),p=o.get("distance")||0,v=a.getBaseAxis(),g=v.isHorizontal(),m=v.inverse,y=t.shape,_=m?g?y.x:y.y+y.height:g?y.x+y.width:y.y,b=(g?p:0)*(m?-1:1),x=(g?0:-p)*(m?-1:1),w=g?"x":"y",S=De(u,_,w),k=S.range,C=k[1]-k[0],A=void 0;if(C>=1){if(C>1&&!h){var T=Ie(u,k[0]);s.attr({x:T[0]+b,y:T[1]+x}),i&&(A=d.getRawValue(k[0]))}else{T=l.getPointOn(_,w);T&&s.attr({x:T[0]+b,y:T[1]+x});var E=d.getRawValue(k[0]),M=d.getRawValue(k[1]);i&&(A=c.Il(n,f,E,M,S.t))}r.lastFrameIndex=k[0]}else{var I=1===e||r.lastFrameIndex>0?k[0]:0;T=Ie(u,I);i&&(A=d.getRawValue(I)),s.attr({x:T[0]+b,y:T[1]+x})}i&&(0,fe.Lu)(s).setLabelText(A)}},t.prototype._doUpdateAnimation=function(e,t,n,r,i,o,a){var s=this._polyline,l=this._polygon,u=e.hostModel,c=H(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,o),d=c.current,h=c.stackedOnCurrent,f=c.next,p=c.stackedOnNext;if(i&&(d=Se(c.current,n,i,a),h=Se(c.stackedOnCurrent,n,i,a),f=Se(c.next,n,i,a),p=Se(c.stackedOnNext,n,i,a)),be(d,f)>3e3||l&&be(h,p)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:p})));s.shape.__points=c.current,s.shape.points=d;var v={shape:{points:f}};c.current!==d&&(v.shape.__points=c.next),s.stopAnimation(),$.oi(s,v,u),l&&(l.setShape({points:d,stackedOnPoints:h}),l.stopAnimation(),$.oi(l,{shape:{stackedOnPoints:p}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var g=[],m=c.status,y=0;y<m.length;y++){var _=m[y].cmd;if("="===_){var b=e.getItemGraphicEl(m[y].idx1);b&&g.push({el:b,ptIdx:y})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var e=s.shape.__points,t=0;t<g.length;t++){var n=g[t].el,r=2*g[t].ptIdx;n.x=e[r],n.y=e[r+1],n.markRedraw()}}))},t.prototype.remove=function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(e,r){e.__temp&&(t.remove(e),n.setItemGraphicEl(r,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(oe.A);const ze=Pe;var Be=n(7002);function Ne(e,t){return{seriesType:e,plan:(0,Be.A)(),reset:function(e){var n=e.getData(),r=e.coordinateSystem,o=e.pipelineContext,a=t||o.large;if(r){var s=(0,i.Tj)(r.dimensions,(function(e){return n.mapDimension(e)})).slice(0,2),l=s.length,u=n.getCalculationInfo("stackResultDimension");(0,S.sJ)(n,s[0])&&(s[0]=u),(0,S.sJ)(n,s[1])&&(s[1]=u);var c=n.getStore(),d=n.getDimensionIndex(s[0]),h=n.getDimensionIndex(s[1]);return l&&{progress:function(e,t){for(var n=e.end-e.start,i=a&&G(n*l),o=[],s=[],u=e.start,f=0;u<e.end;u++){var p=void 0;if(1===l){var v=c.get(d,u);p=r.dataToPoint(v,null,s)}else o[0]=c.get(d,u),o[1]=c.get(h,u),p=r.dataToPoint(o,null,s);a?(i[f++]=p[0],i[f++]=p[1]):t.setItemLayout(u,p.slice())}a&&t.setLayout("points",i)}}}}}}var Fe={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},qe=function(e){return Math.round(e.length/2)};function We(e){return{seriesType:e,reset:function(e,t,n){var r=e.getData(),o=e.get("sampling"),a=e.coordinateSystem,s=r.count();if(s>10&&"cartesian2d"===a.type&&o){var l=a.getBaseAxis(),u=a.getOtherAxis(l),c=l.getExtent(),d=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(d||1),f=Math.round(s/h);if(isFinite(f)&&f>1){"lttb"===o&&e.setData(r.lttbDownSample(r.mapDimension(u.dim),1/f));var p=void 0;(0,i.Kg)(o)?p=Fe[o]:(0,i.Tn)(o)&&(p=o),p&&e.setData(r.downSample(r.mapDimension(u.dim),1/f,p,qe))}}}}}function Ge(e){e.registerChartView(ze),e.registerSeriesModel(O),e.registerLayout(Ne("line",!0)),e.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),n=e.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,We("line"))}},3324:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(2486),i=n(354),o=n(3321),a=n(7233),s=n(8246),l=n(4066),u=n(9348),c=n(2555),d=n(4018),h=n(6027),f=n(9383),p=n(2809),v=n(3045),g=n(4672),m=n(2848);function y(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(!r.defaultAttr.ignore){var i=r.label,o=i.getComputedTransform(),a=i.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=i.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 g.A(a,o):null;t.push({label:i,labelLine:r.labelLine,rect:u,localRect:a,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:s,transform:o})}}return t}function _(e){var t=[];e.sort((function(e,t){return t.priority-e.priority}));var n=new m.A(0,0,0,0);function r(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var i=0;i<e.length;i++){var o=e[i],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 d=o.obb,h=!1,f=0;f<t.length;f++){var p=t[f];if(n.intersect(p.rect)){if(a&&p.axisAligned){h=!0;break}if(p.obb||(p.obb=new g.A(p.localRect,p.transform)),d||(d=new g.A(s,l)),d.intersect(p.obb)){h=!0;break}}}h?(r(u),c&&r(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),t.push(o))}}var b=Math.PI,x=function(){function e(e,t){this.group=new i.A,this.opt=t,this.axisModel=e,(0,r.NT)(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new i.A({x:t.position[0],y:t.position[1],rotation:t.rotation});n.updateTransform(),this._transformGroup=n}return e.prototype.hasBuilder=function(e){return!!w[e]},e.prototype.add=function(e){w[e](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(e,t,n){var r,i,o=(0,d._7)(t-e);return(0,d.dh)(o)?(i=n>0?"top":"bottom",r="center"):(0,d.dh)(o-b)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o<b?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),w={axisLine:function(e,t,n,i){var s=t.get(["axisLine","show"]);if("auto"===s&&e.handleAutoShown&&(s=e.handleAutoShown("axisLine")),s){var l=t.axis.getExtent(),u=i.transform,c=[l[0],0],d=[l[1],0],f=c[0]>d[0];u&&((0,p.NW)(c,c,u),(0,p.NW)(d,d,u));var v=(0,r.X$)({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),g=new o.A({shape:{x1:c[0],y1:c[1],x2:d[0],y2:d[1]},style:v,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});a.subPixelOptimizeLine(g.shape,g.style.lineWidth),g.anid="line",n.add(g);var m=t.get(["axisLine","symbol"]);if(null!=m){var y=t.get(["axisLine","symbolSize"]);(0,r.Kg)(m)&&(m=[m,m]),((0,r.Kg)(y)||(0,r.Et)(y))&&(y=[y,y]);var _=(0,h.hV)(t.get(["axisLine","symbolOffset"])||0,y),b=y[0],x=y[1];(0,r.__)([{rotate:e.rotation+Math.PI/2,offset:_[0],r:0},{rotate:e.rotation-Math.PI/2,offset:_[1],r:Math.sqrt((c[0]-d[0])*(c[0]-d[0])+(c[1]-d[1])*(c[1]-d[1]))}],(function(t,r){if("none"!==m[r]&&null!=m[r]){var i=(0,h.v5)(m[r],-b/2,-x/2,b,x,v.stroke,!0),o=t.r+t.offset,a=f?d:c;i.attr({rotation:t.rotate,x:a[0]+o*Math.cos(e.rotation),y:a[1]-o*Math.sin(e.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(e,t,n,i){var o=M(n,i,t,e),a=D(n,i,t,e);if(k(t,a,o),I(n,i,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var s=y((0,r.Tj)(a,(function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}})));_(s)}},axisName:function(e,t,n,i){var o=(0,r.Je)(e.axisName,t.get("name"));if(o){var c,d,h=t.get("nameLocation"),f=e.nameDirection,p=t.getModel("nameTextStyle"),v=t.get("nameGap")||0,g=t.axis.getExtent(),m=g[0]>g[1]?-1:1,y=["start"===h?g[0]-m*v:"end"===h?g[1]+m*v:(g[0]+g[1])/2,T(h)?e.labelOffset+f*v:0],_=t.get("nameRotate");null!=_&&(_=_*b/180),T(h)?c=x.innerTextLayout(e.rotation,null!=_?_:e.rotation,f):(c=S(e.rotation,h,_||0,g),d=e.axisNameAvailableWidth,null!=d&&(d=Math.abs(d/Math.sin(c.rotation)),!isFinite(d)&&(d=null)));var w=p.getFont(),k=t.get("nameTruncate",!0)||{},C=k.ellipsis,A=(0,r.Je)(e.nameTruncateMaxWidth,k.maxWidth,d),E=new s.Ay({x:y[0],y:y[1],rotation:c.rotation,silent:x.isLabelSilent(t),style:(0,u.VB)(p,{text:o,font:w,overflow:"truncate",width:A,ellipsis:C,fill:p.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:p.get("align")||c.textAlign,verticalAlign:p.get("verticalAlign")||c.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:E,componentModel:t,itemName:o}),E.__fullText=o,E.anid="name",t.get("triggerEvent")){var M=x.makeAxisEventDataBase(t);M.targetType="axisName",M.name=o,(0,l.z)(E).eventData=M}i.add(E),E.updateTransform(),n.add(E),E.decomposeTransform()}}};function S(e,t,n,r){var i,o,a=(0,d._7)(n-e),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;return(0,d.dh)(a-b/2)?(o=l?"bottom":"top",i="center"):(0,d.dh)(a-1.5*b)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*b&&a>b/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function k(e,t,n){if(!(0,v.PJ)(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],d=n[n.length-1],h=n[n.length-2];!1===r?(C(o),C(u)):A(o,a)&&(r?(C(a),C(c)):(C(o),C(u))),!1===i?(C(s),C(d)):A(l,s)&&(i?(C(l),C(h)):(C(s),C(d)))}}function C(e){e&&(e.ignore=!0)}function A(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var i=f.D_([]);return f.e$(i,i,-e.rotation),n.applyTransform(f.lK([],i,e.getLocalTransform())),r.applyTransform(f.lK([],i,t.getLocalTransform())),n.intersect(r)}}function T(e){return"middle"===e||"center"===e}function E(e,t,n,r,i){for(var s=[],l=[],u=[],c=0;c<e.length;c++){var d=e[c].coord;l[0]=d,l[1]=0,u[0]=d,u[1]=n,t&&((0,p.NW)(l,l,t),(0,p.NW)(u,u,t));var h=new o.A({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:r,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(h.shape,h.style.lineWidth),h.anid=i+"_"+e[c].tickValue,s.push(h)}return s}function M(e,t,n,i){var o=n.axis,a=n.getModel("axisTick"),s=a.get("show");if("auto"===s&&i.handleAutoShown&&(s=i.handleAutoShown("axisTick")),s&&!o.scale.isBlank()){for(var l=a.getModel("lineStyle"),u=i.tickDirection*a.get("length"),c=o.getTicksCoords(),d=E(c,t.transform,u,(0,r.NT)(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<d.length;h++)e.add(d[h]);return d}}function I(e,t,n,i){var o=n.axis,a=n.getModel("minorTick");if(a.get("show")&&!o.scale.isBlank()){var s=o.getMinorTicksCoords();if(s.length)for(var l=a.getModel("lineStyle"),u=i*a.get("length"),c=(0,r.NT)(l.getLineStyle(),(0,r.NT)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),d=0;d<s.length;d++)for(var h=E(s[d],t.transform,u,c,"minorticks_"+d),f=0;f<h.length;f++)e.add(h[f])}}function D(e,t,n,i){var o=n.axis,a=(0,r.Je)(i.axisLabelShow,n.get(["axisLabel","show"]));if(a&&!o.scale.isBlank()){var d=n.getModel("axisLabel"),h=d.get("margin"),f=o.getViewLabels(),p=((0,r.Je)(i.labelRotate,d.get("rotate"))||0)*b/180,v=x.innerTextLayout(i.rotation,p,i.labelDirection),g=n.getCategories&&n.getCategories(!0),m=[],y=x.isLabelSilent(n),_=n.get("triggerEvent");return(0,r.__)(f,(function(a,f){var p="ordinal"===o.scale.type?o.scale.getRawOrdinalNumber(a.tickValue):a.tickValue,b=a.formattedLabel,w=a.rawLabel,S=d;if(g&&g[p]){var k=g[p];(0,r.Gv)(k)&&k.textStyle&&(S=new c.A(k.textStyle,d,n.ecModel))}var C=S.getTextColor()||n.get(["axisLine","lineStyle","color"]),A=o.dataToCoord(p),T=new s.Ay({x:A,y:i.labelOffset+i.labelDirection*h,rotation:v.rotation,silent:y,z2:10+(a.level||0),style:(0,u.VB)(S,{text:b,align:S.getShallow("align",!0)||v.textAlign,verticalAlign:S.getShallow("verticalAlign",!0)||S.getShallow("baseline",!0)||v.textVerticalAlign,fill:(0,r.Tn)(C)?C("category"===o.type?w:"value"===o.type?p+"":p,f):C})});if(T.anid="label_"+p,_){var E=x.makeAxisEventDataBase(n);E.targetType="axisLabel",E.value=w,E.tickIndex=f,"category"===o.type&&(E.dataIndex=p),(0,l.z)(T).eventData=E}t.add(T),T.updateTransform(),m.push(T),e.add(T),T.decomposeTransform()})),m}}const R=x},3916:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(1730),i=n(774),o=n(2401),a={},s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.C6)(t,e),t.prototype.render=function(t,n,r,o){this.axisPointerClass&&i.h_(t),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,r,!0)},t.prototype.updateAxisPointer=function(e,t,n,r){this._doUpdateAxisPointerClass(e,n,!1)},t.prototype.remove=function(e,t){var n=this._axisPointer;n&&n.remove(t)},t.prototype.dispose=function(t,n){this._disposeAxisPointer(n),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,n,r){var o=t.getAxisPointerClass(this.axisPointerClass);if(o){var a=i.mg(e);a?(this._axisPointer||(this._axisPointer=new o)).render(e,a,n,r):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,t){a[e]=t},t.getAxisPointerClass=function(e){return e&&a[e]},t.type="axis",t}(o.A);const l=s},9657:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2486),i=n(630);function o(e,t){var n,o=[],a=e.seriesIndex;if(null==a||!(n=t.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=i.le(s,e);if(null==l||l<0||r.cy(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)if(e.isStacked){var d=c.getBaseAxis(),h=c.getOtherAxis(d),f=h.dim,p=d.dim,v="x"===f||"radius"===f?1:0,g=s.mapDimension(p),m=[];m[v]=s.get(g,l),m[1-v]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=c.dataToPoint(m)||[]}else o=c.dataToPoint(s.getValues(r.Tj(c.dimensions,(function(e){return s.mapDimension(e)})),l))||[];else if(u){var y=u.getBoundingRect().clone();y.applyTransform(u.transform),o=[y.x+y.width/2,y.y+y.height/2]}return{point:o,el:u}}},9444:(e,t,n)=>{"use strict";n.d(t,{h:()=>p,k:()=>l});var r=n(2486),i=n(4047),o=n(630),a=(0,o.$r)(),s=r.__;function l(e,t,n){if(!i.A.node){var r=t.getZr();a(r).records||(a(r).records={}),u(r,t);var o=a(r).records[e]||(a(r).records[e]={});o.handler=n}}function u(e,t){function n(n,r){e.on(n,(function(n){var i=f(t);s(a(e).records,(function(e){e&&r(e,n,i.dispatchAction)})),c(i.pendings,t)}))}a(e).initialized||(a(e).initialized=!0,n("click",r.cF(h,"click")),n("mousemove",r.cF(h,"mousemove")),n("globalout",d))}function c(e,t){var n,r=e.showTip.length,i=e.hideTip.length;r?n=e.showTip[r-1]:i&&(n=e.hideTip[i-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function d(e,t,n){e.handler("leave",null,n)}function h(e,t,n,r){t.handler(e,n,r)}function f(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function p(e,t){if(!i.A.node){var n=t.getZr(),r=(a(n).records||{})[e];r&&(a(n).records[e]=null)}}},6930:(e,t,n)=>{"use strict";n.d(t,{a:()=>Z});var r=n(3916),i=n(1730),o=n(2486),a=n(354),s=n(7233),l=n(8246),u=n(7178),c=n(774),d=n(8560),h=n(4563),f=n(630),p=(0,f.$r)(),v=o.o8,g=o.oI,m=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(e,t,n,r){var i=t.get("value"),s=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,r||this._lastValue!==i||this._lastStatus!==s){this._lastValue=i,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,i,e,t,n);var d=c.graphicKey;d!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=d;var h=this._moveAnimation=this.determineAnimation(e,t);if(l){var f=o.cF(y,t,h);this.updatePointerEl(l,c,f),this.updateLabelEl(l,c,f,t)}else l=this._group=new a.A,this.createPointerEl(l,c,e,t),this.createLabelEl(l,c,e,t),n.getZr().add(l);w(l,t,!0),this._renderHandle(i)}},e.prototype.remove=function(e){this.clear(e)},e.prototype.dispose=function(e){this.clear(e)},e.prototype.determineAnimation=function(e,t){var n=t.get("animation"),r=e.axis,i="category"===r.type,o=t.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(i&&r.getBandWidth()>a)return!0;if(o){var s=c.Yc(e).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,r,i){},e.prototype.createPointerEl=function(e,t,n,r){var i=t.pointer;if(i){var o=p(e).pointerEl=new s[i.type](v(t.pointer));e.add(o)}},e.prototype.createLabelEl=function(e,t,n,r){if(t.label){var i=p(e).labelEl=new l.Ay(v(t.label));e.add(i),b(i,r)}},e.prototype.updatePointerEl=function(e,t,n){var r=p(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,r){var i=p(e).labelEl;i&&(i.setStyle(t.label.style),n(i,{x:t.label.x,y:t.label.y}),b(i,r))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,a=n.getModel("handle"),l=n.get("status");if(!a.get("show")||!l||"hide"===l)return i&&r.remove(i),void(this._handle=null);this._handle||(t=!0,i=this._handle=s.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){d.ds(e.event)},onmousedown:g(this._onHandleDragMove,this,0,0),drift:g(this._onHandleDragMove,this),ondragend:g(this._onHandleDragEnd,this)}),r.add(i)),w(i,n,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");o.cy(u)||(u=[u,u]),i.scaleX=u[0]/2,i.scaleY=u[1]/2,h.N(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){y(this._axisPointerModel,!t&&this._moveAnimation,this._handle,x(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(x(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(x(r)),p(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),h.IU(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}},e}();function y(e,t,n,r){_(p(n).lastProp,r)||(p(n).lastProp=r,t?u.oi(n,r,e):(n.stopAnimation(),n.attr(r)))}function _(e,t){if(o.Gv(e)&&o.Gv(t)){var n=!0;return o.__(t,(function(t,r){n=n&&_(e[r],t)})),!!n}return e===t}function b(e,t){e[t.get(["label","show"])?"show":"hide"]()}function x(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function w(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=i&&(e.zlevel=i),e.silent=n)}))}const S=m;var k=n(3474),C=n(9242),A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis,a=o.grid,s=r.get("type"),l=T(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(t,!0));if(s&&"none"!==s){var c=k.bY(r),d=E[s](o,u,l);d.style=c,e.graphicKey=d.type,e.pointer=d}var h=C.Zp(a.model,n);k.DA(t,e,h,n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=C.Zp(t.axis.grid.model,t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=k.Tc(t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=T(o,i).getOtherAxis(i).getGlobalExtent(),l="x"===i.dim?0:1,u=[e.x,e.y];u[l]+=t[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,d=[c,c];d[l]=u[l];var h=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:e.rotation,cursorPoint:d,tooltipOption:h[l]}},t}(S);function T(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var E={line:function(e,t,n){var r=k.MU([t,n[0]],[t,n[1]],M(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:k.cU([t-r/2,n[0]],[r,i],M(e))}}};function M(e){return"x"===e.dim?0:1}const I=A;var D=n(5487),R=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.type="axisPointer",t.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}},t}(D.A);const L=R;var O=n(9444),P=n(2401),z=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.prototype.render=function(e,t,n){var r=t.getComponent("tooltip"),i=e.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";O.k("axisPointer",n,(function(e,t,n){"none"!==i&&("leave"===e||i.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},t.prototype.remove=function(e,t){O.h("axisPointer",t)},t.prototype.dispose=function(e,t){O.h("axisPointer",t)},t.type="axisPointer",t}(P.A);const B=z;var N=n(9657),F=(0,f.$r)();function q(e,t,n){var r=e.currTrigger,i=[e.x,e.y],a=e,s=e.dispatchAction||(0,o.oI)(n.dispatchAction,n),l=t.getComponent("axisPointer").coordSysAxesInfo;if(l){Y(i)&&(i=(0,N.A)({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var u=Y(i),c=a.axesInfo,d=l.axesInfo,h="leave"===r||Y(i),f={},p={},v={list:[],map:{}},g={showPointer:(0,o.cF)(V,p),showTooltip:(0,o.cF)(H,v)};(0,o.__)(l.coordSysMap,(function(e,t){var n=u||e.containPoint(i);(0,o.__)(l.coordSysAxesInfo[t],(function(e,t){var r=e.axis,o=K(c,e);if(!h&&n&&(!c||o)){var a=o&&o.value;null!=a||u||(a=r.pointToData(i)),null!=a&&W(e,a,g,!1,f)}}))}));var m={};return(0,o.__)(d,(function(e,t){var n=e.linkGroup;n&&!p[t]&&(0,o.__)(n.axesInfo,(function(t,r){var i=p[r];if(t!==e&&i){var o=i.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,X(t),X(e)))),m[e.key]=o}}))})),(0,o.__)(m,(function(e,t){W(d[t],e,g,!0,f)})),j(p,d,f),$(v,i,e,s),U(d,s,n),f}}function W(e,t,n,r,i){var a=e.axis;if(!a.scale.isBlank()&&a.containData(t))if(e.involveSeries){var s=G(t,e),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==i.seriesIndex&&(0,o.X$)(i,l[0]),!r&&e.snap&&a.containData(u)&&null!=u&&(t=u),n.showPointer(e,t,l),n.showTooltip(e,s,u)}else n.showPointer(e,t)}function G(e,t){var n=t.axis,r=n.dim,i=e,a=[],s=Number.MAX_VALUE,l=-1;return(0,o.__)(t.seriesModels,(function(t,u){var c,d,h=t.getData().mapDimensionsAll(r);if(t.getAxisTooltipData){var f=t.getAxisTooltipData(h,e,n);d=f.dataIndices,c=f.nestestValue}else{if(d=t.getData().indicesOfNearest(h[0],e,"category"===n.type?.5:null),!d.length)return;c=t.getData().get(h[0],d[0])}if(null!=c&&isFinite(c)){var p=e-c,v=Math.abs(p);v<=s&&((v<s||p>=0&&l<0)&&(s=v,l=p,i=c,a.length=0),(0,o.__)(d,(function(e){a.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:a,snapToValue:i}}function V(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function H(e,t,n,r){var i=n.payloadBatch,o=t.axis,a=o.model,s=t.axisPointerModel;if(t.triggerTooltip&&i.length){var l=t.coordSys.model,u=c.og(l),d=e.map[u];d||(d=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(d)),d.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function j(e,t,n){var r=n.axesInfo=[];(0,o.__)(t,(function(t,n){var i=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})}))}function $(e,t,n,r){if(!Y(t)&&e.list.length){var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}else r({type:"hideTip"})}function U(e,t,n){var r=n.getZr(),i="axisPointerLastHighlights",a=F(r)[i]||{},s=F(r)[i]={};(0,o.__)(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&(0,o.__)(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;s[t]=e}))}));var l=[],u=[];(0,o.__)(a,(function(e,t){!s[t]&&u.push(e)})),(0,o.__)(s,(function(e,t){!a[t]&&l.push(e)})),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 K(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function X(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function Y(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function Z(e){r.A.registerAxisPointerClass("CartesianAxisPointer",I),e.registerComponentModel(L),e.registerComponentView(B),e.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!(0,o.cy)(t)&&(e.axisPointer.link=[t])}})),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=(0,c.Fo)(e,t)})),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},q)}},774:(e,t,n)=>{"use strict";n.d(t,{Fo:()=>o,Yc:()=>h,h_:()=>d,mg:()=>f,og:()=>v});var r=n(2555),i=n(2486);function o(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return a(n,e,t),n.seriesInvolved&&l(n,e),n}function a(e,t,n){var r=t.getComponent("tooltip"),o=t.getComponent("axisPointer"),a=o.get("link",!0)||[],l=[];(0,i.__)(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var c=v(n.model),d=e.coordSysAxesInfo[c]={};e.coordSysMap[c]=n;var h=n.model,f=h.getModel("tooltip",r);if((0,i.__)(n.getAxes(),(0,i.cF)(_,!1,null)),n.getTooltipAxes&&r&&f.get("show")){var g="axis"===f.get("trigger"),m="cross"===f.get(["axisPointer","type"]),y=n.getTooltipAxes(f.get(["axisPointer","axis"]));(g||m)&&(0,i.__)(y.baseAxes,(0,i.cF)(_,!m||"cross",g)),m&&(0,i.__)(y.otherAxes,(0,i.cF)(_,"cross",!1))}}function _(r,i,c){var h=c.model.getModel("axisPointer",o),g=h.get("show");if(g&&("auto"!==g||r||p(h))){null==i&&(i=h.get("triggerTooltip")),h=r?s(c,f,o,t,r,i):h;var m=h.get("snap"),y=v(c.model),_=i||m||"category"===c.type,b=e.axesInfo[y]={key:y,axis:c,coordSys:n,axisPointerModel:h,triggerTooltip:i,involveSeries:_,snap:m,useHandle:p(h),seriesModels:[],linkGroup:null};d[y]=b,e.seriesInvolved=e.seriesInvolved||_;var x=u(a,c);if(null!=x){var w=l[x]||(l[x]={axesInfo:{}});w.axesInfo[y]=b,w.mapper=a[x].mapper,b.linkGroup=w}}}}))}function s(e,t,n,o,a,s){var l=t.getModel("axisPointer"),u=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],c={};(0,i.__)(u,(function(e){c[e]=(0,i.o8)(l.get(e))})),c.snap="category"!==e.type&&!!s,"cross"===l.get("type")&&(c.type="line");var d=c.label||(c.label={});if(null==d.show&&(d.show=!1),"cross"===a){var h=l.get(["label","show"]);if(d.show=null==h||h,!s){var f=c.lineStyle=l.get("crossStyle");f&&(0,i.NT)(d,f.textStyle)}}return e.model.getModel("axisPointer",new r.A(c,n,o))}function l(e,t){t.eachSeries((function(t){var n=t.coordinateSystem,r=t.get(["tooltip","trigger"],!0),o=t.get(["tooltip","show"],!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==o&&!1!==t.get(["axisPointer","show"],!0)&&(0,i.__)(e.coordSysAxesInfo[v(n.model)],(function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}))}function u(e,t){for(var n=t.model,r=t.dim,i=0;i<e.length;i++){var o=e[i]||{};if(c(o[r+"AxisId"],n.id)||c(o[r+"AxisIndex"],n.componentIndex)||c(o[r+"AxisName"],n.name))return i}}function c(e,t){return"all"===e||(0,i.cy)(e)&&(0,i.qh)(e,t)>=0||e===t}function d(e){var t=h(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=p(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),i.value=a,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function h(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[v(e)]}function f(e){var t=h(e);return t&&t.axisPointerModel}function p(e){return!!e.get(["handle","show"])}function v(e){return e.type+"||"+e.id}},3474:(e,t,n)=>{"use strict";n.d(t,{DA:()=>g,MU:()=>m,Tc:()=>v,_F:()=>p,bY:()=>d,cU:()=>y});var r=n(2486),i=n(7233),o=n(2586),a=n(8992),s=n(9383),l=n(3045),u=n(3324),c=n(9348);function d(e){var t,n=e.get("type"),r=e.getModel(n+"Style");return"line"===n?(t=r.getLineStyle(),t.fill=null):"shadow"===n&&(t=r.getAreaStyle(),t.stroke=null),t}function h(e,t,n,r,i){var s=n.get("value"),l=p(s,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),u=n.getModel("label"),d=a.QX(u.get("padding")||0),h=u.getFont(),v=o.NO(l,h),g=i.position,m=v.width+d[1]+d[3],y=v.height+d[0]+d[2],_=i.align;"right"===_&&(g[0]-=m),"center"===_&&(g[0]-=m/2);var b=i.verticalAlign;"bottom"===b&&(g[1]-=y),"middle"===b&&(g[1]-=y/2),f(g,m,y,r);var x=u.get("backgroundColor");x&&"auto"!==x||(x=t.get(["axisLine","lineStyle","color"])),e.label={x:g[0],y:g[1],style:(0,c.VB)(u,{text:l,font:h,fill:u.getTextColor(),padding:d,backgroundColor:x}),z2:10}}function f(e,t,n,r){var i=r.getWidth(),o=r.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function p(e,t,n,i,o){e=t.scale.parse(e);var a=t.scale.getLabel({value:e},{precision:o.precision}),s=o.formatter;if(s){var u={value:l.Dt(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};r.__(i,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,i=t&&t.getDataParams(r);i&&u.seriesData.push(i)})),r.Kg(s)?a=s.replace("{value}",a):r.Tn(s)&&(a=s(u))}return a}function v(e,t,n){var r=s.vt();return s.e$(r,r,n.rotation),s.Tl(r,r,n.position),i.applyTransform([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function g(e,t,n,r,i,o){var a=u.A.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),h(t,r,i,o,{position:v(r.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function m(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function y(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}},848:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(1730),i=n(2486),o=n(5487),a=n(1842),s=n(630),l=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}(),u=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return(0,r.C6)(t,e),t.prototype.init=function(e,t,n){var r=c(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this._doInit(r)},t.prototype.mergeOption=function(e){var t=c(e);(0,i.h1)(this.option,e,!0),(0,i.h1)(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var n=this.settledOption;(0,i.__)([["start","startValue"],["end","endValue"]],(function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)}),this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=(0,i.nt)(),n=this._fillSpecifiedTargetAxis(t);n?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each((function(e){e.indexList.length&&(this._noTarget=!1)}),this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return(0,i.__)(a.$5,(function(n){var r=this.getReferringComponents((0,a.dX)(n),s.UW);if(r.specified){t=!0;var o=new l;(0,i.__)(r.models,(function(e){o.add(e.componentIndex)})),e.set(n,o)}}),this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,r=!0;if(r){var o="vertical"===t?"y":"x",u=n.findComponents({mainType:o+"Axis"});c(u,o)}if(r){u=n.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}});c(u,"single")}function c(t,n){var o=t[0];if(o){var a=new l;if(a.add(o.componentIndex),e.set(n,a),r=!1,"x"===n||"y"===n){var u=o.getReferringComponents("grid",s.US).models[0];u&&(0,i.__)(t,(function(e){o.componentIndex!==e.componentIndex&&u===e.getReferringComponents("grid",s.US).models[0]&&a.add(e.componentIndex)}))}}}r&&(0,i.__)(a.$5,(function(t){if(r){var i=n.findComponents({mainType:(0,a.dX)(t),filter:function(e){return"category"===e.get("type",!0)}});if(i[0]){var o=new l;o.add(i[0].componentIndex),e.set(t,o),r=!1}}}),this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis((function(t){!e&&(e=t)}),this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");(0,i.__)([["start","startValue"],["end","endValue"]],(function(r,i){var o=null!=e[r[0]],a=null!=e[r[1]];o&&!a?t[i]="percent":!o&&a?t[i]="value":n?t[i]=n[i]:o&&(t[i]="percent")}))},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis((function(t,n){null==e&&(e=this.ecModel.getComponent((0,a.dX)(t),n))}),this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each((function(n,r){(0,i.__)(n.indexList,(function(n){e.call(t,r,n)}))}))},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent((0,a.dX)(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;(0,i.__)([["start","startValue"],["end","endValue"]],(function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])}),this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;(0,i.__)(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),r=0;r<n.length;r++)for(var i=n[r],o=this._targetAxisInfoMap.get(i),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(i,o.indexList[a]);if(s.hostedBy(this))return s;t||(t=s)}return t},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(o.A);function c(e){var t={};return(0,i.__)(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}const d=u},6884:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1730),i=n(2401),o=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.C6)(t,e),t.prototype.render=function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},t.type="dataZoom",t}(i.A);const a=o},1842:(e,t,n)=>{"use strict";n.d(t,{$5:()=>i,CN:()=>l,_u:()=>a,dX:()=>s,es:()=>u});var r=n(2486),i=["x","y","radius","angle","single"],o=["cartesian2d","polar","singleAxis"];function a(e){var t=e.get("coordinateSystem");return(0,r.qh)(o,t)>=0}function s(e){return e+"Axis"}function l(e,t){var n,i=(0,r.nt)(),o=[],a=(0,r.nt)();e.eachComponent({mainType:"dataZoom",query:t},(function(e){a.get(e.uid)||l(e)}));do{n=!1,e.eachComponent("dataZoom",s)}while(n);function s(e){!a.get(e.uid)&&u(e)&&(l(e),n=!0)}function l(e){a.set(e.uid,!0),o.push(e),c(e)}function u(e){var t=!1;return e.eachTargetAxis((function(e,n){var r=i.get(e);r&&r[n]&&(t=!0)})),t}function c(e){e.eachTargetAxis((function(e,t){(i.get(e)||i.set(e,[]))[t]=!0}))}return o}function u(e){var t=e.ecModel,n={infoList:[],infoMap:(0,r.nt)()};return e.eachTargetAxis((function(e,r){var i=t.getComponent(s(e),r);if(i){var o=i.getCoordSysModel();if(o){var a=o.uid,l=n.infoMap.get(a);l||(l={model:o,axisModels:[]},n.infoList.push(l),n.infoMap.set(a,l)),l.axisModels.push(i)}}})),n}},1795:(e,t,n)=>{"use strict";n.d(t,{a:()=>pe});var r=n(1259),i=n(1730),o=n(848),a=n(8660),s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.type="dataZoom.inside",t.defaultOption=(0,a.G_)(o.A.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(o.A);const l=s;var u=n(6884),c=n(9371),d=n(6105),h=n(8560),f=n(8856),p=n(2486),v=function(e){function t(t){var n=e.call(this)||this;n._zr=t;var r=(0,p.oI)(n._mousedownHandler,n),i=(0,p.oI)(n._mousemoveHandler,n),o=(0,p.oI)(n._mouseupHandler,n),a=(0,p.oI)(n._mousewheelHandler,n),s=(0,p.oI)(n._pinchHandler,n);return n.enable=function(e,n){this.disable(),this._opt=(0,p.NT)((0,p.o8)(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",r),t.on("mousemove",i),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",a),t.on("pinch",s))},n.disable=function(){t.off("mousedown",r),t.off("mousemove",i),t.off("mouseup",o),t.off("mousewheel",a),t.off("pinch",s)},n}return(0,i.C6)(t,e),t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!h.W5(e)){var t=e.target;while(t){if(t.draggable)return;t=t.__hostTarget||t.parent}var n=e.offsetX,r=e.offsetY;this.pointerChecker&&this.pointerChecker(e,n,r)&&(this._x=n,this._y=r,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(this._dragging&&y("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!f.Ck(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,r=this._x,i=this._y,o=t-r,a=n-i;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&h.ds(e.event),m(this,"pan","moveOnMouseMove",e,{dx:o,dy:a,oldX:r,oldY:i,newX:t,newY:n,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){h.W5(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=y("zoomOnMouseWheel",e,this._opt),n=y("moveOnMouseWheel",e,this._opt),r=e.wheelDelta,i=Math.abs(r),o=e.offsetX,a=e.offsetY;if(0!==r&&(t||n)){if(t){var s=i>3?1.4:i>1?1.2:1.1,l=r>0?s:1/s;g(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:o,originY:a,isAvailableBehavior:null})}if(n){var u=Math.abs(r),c=(r>0?1:-1)*(u>3?.4:u>1?.15:.05);g(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:o,originY:a,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!f.Ck(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;g(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t}(d.A);function g(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(h.ds(r.event),m(e,t,n,r,i))}function m(e,t,n,r,i){i.isAvailableBehavior=(0,p.oI)(y,null,n,r),e.trigger(t,i)}function y(e,t,n){var r=n[e];return!e||r&&(!(0,p.Kg)(r)||t.event[r+"Key"])}const _=v;var b=n(4563),x=n(630),w=n(1842),S=(0,x.$r)();function k(e,t,n){S(e).coordSysRecordMap.each((function(e){var r=e.dataZoomInfoMap.get(t.uid);r&&(r.getRange=n)}))}function C(e,t){for(var n=S(e).coordSysRecordMap,r=n.keys(),i=0;i<r.length;i++){var o=r[i],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=t.uid,u=s.get(l);u&&(s.removeKey(l),s.keys().length||A(n,a))}}}function A(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function T(e,t){var n={model:t,containsPoint:(0,p.cF)(M,t),dispatchAction:(0,p.cF)(E,e),dataZoomInfoMap:null,controller:null},r=n.controller=new _(e.getZr());return(0,p.__)(["pan","zoom","scrollMove"],(function(e){r.on(e,(function(t){var r=[];n.dataZoomInfoMap.each((function(i){if(t.isAvailableBehavior(i.model.option)){var o=(i.getRange||{})[e],a=o&&o(i.dzReferCoordSysInfo,n.model.mainType,n.controller,t);!i.model.get("disabled",!0)&&a&&r.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}})),r.length&&n.dispatchAction(r)}))})),n}function E(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function M(e,t,n,r){return e.coordinateSystem.containPoint([n,r])}function I(e){var t,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return e.each((function(e){var o=e.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");r[n+a]>r[n+t]&&(t=a),i=i&&o.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function D(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,(function(e,t){var n=S(t),r=n.coordSysRecordMap||(n.coordSysRecordMap=(0,p.nt)());r.each((function(e){e.dataZoomInfoMap=null})),e.eachComponent({mainType:"dataZoom",subType:"inside"},(function(e){var n=(0,w.es)(e);(0,p.__)(n.infoList,(function(n){var i=n.model.uid,o=r.get(i)||r.set(i,T(t,n.model)),a=o.dataZoomInfoMap||(o.dataZoomInfoMap=(0,p.nt)());a.set(e.uid,{dzReferCoordSysInfo:n,model:e,getRange:null})}))})),r.each((function(e){var t,n=e.controller,i=e.dataZoomInfoMap;if(i){var o=i.keys()[0];null!=o&&(t=i.get(o))}if(t){var a=I(i);n.enable(a.controlType,a.opt),n.setPointerChecker(e.containsPoint),b.N(e,"dispatchAction",t.model.get("throttle",!0),"fixRate")}else A(r,e)}))}))}var R=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return(0,i.C6)(t,e),t.prototype.render=function(t,n,r){e.prototype.render.apply(this,arguments),t.noTarget()?this._clear():(this.range=t.getPercentRange(),k(r,t,{pan:(0,p.oI)(L.pan,this),zoom:(0,p.oI)(L.zoom,this),scrollMove:(0,p.oI)(L.scrollMove,this)}))},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){C(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(u.A),L={zoom:function(e,t,n,r){var i=this.range,o=i.slice(),a=e.axisModels[0];if(a){var s=P[t](null,[r.originX,r.originY],a,n,e),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/r.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return(0,c.A)(0,o,[0,100],0,d.minSpan,d.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:O((function(e,t,n,r,i,o){var a=P[r]([o.oldX,o.oldY],[o.newX,o.newY],t,i,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength})),scrollMove:O((function(e,t,n,r,i,o){var a=P[r]([0,0],[o.scrollDelta,o.scrollDelta],t,i,n);return a.signal*(e[1]-e[0])*o.scrollDelta}))};function O(e){return function(t,n,r,i){var o=this.range,a=o.slice(),s=t.axisModels[0];if(s){var l=e(a,s,t,n,r,i);return(0,c.A)(l,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}}var P={grid:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};const z=R;var B=n(8747);function N(e){(0,B.A)(e),e.registerComponentModel(l),e.registerComponentView(z),D(e)}var F=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=(0,a.G_)(o.A.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"}}}),t}(o.A);const q=F;var W=n(2092),G=n(354),V=n(2589),H=n(7111),j=n(8246),$=n(7233),U=n(1678),K=n(4018),X=n(7049),Y=n(1797),Z=n(6027),Q=n(9348),J=W.A,ee=7,te=1,ne=30,re=7,ie="horizontal",oe="vertical",ae=5,se=["line","bar","candlestick","scatter"],le={easing:"cubicOut",duration:100,delay:0},ue=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return(0,i.C6)(t,e),t.prototype.init=function(e,t){this.api=t,this._onBrush=(0,p.oI)(this._onBrush,this),this._onBrushEnd=(0,p.oI)(this._onBrushEnd,this)},t.prototype.render=function(t,n,r,i){if(e.prototype.render.apply(this,arguments),b.N(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1!==t.get("show")){if(t.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){b.IU(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var t=this._displayables.sliderGroup=new G.A;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,t=this.api,n=e.get("brushSelect"),r=n?re:0,i=this._findCoordRect(),o={width:t.getWidth(),height:t.getHeight()},a=this._orient===ie?{right:o.width-i.x-i.width,top:o.height-ne-ee-r,width:i.width,height:ne}:{right:ee,top:i.y,width:ne,height:i.height},s=X.vs(e.option);(0,p.__)(["right","top","width","height"],(function(e){"ph"===s[e]&&(s[e]=a[e])}));var l=X.dV(s,o);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===oe&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==ie||i?n===ie&&i?{scaleY:a?1:-1,scaleX:-1}:n!==oe||i?{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=e.getBoundingRect([o]);e.x=t.x-s.x,e.y=t.y-s.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.sliderGroup,r=e.get("brushSelect");n.add(new J({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var i=new J({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:(0,p.oI)(this._onClickPanel,this)}),o=this.api.getZr();r?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(i)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var t=this._size,n=this._shadowSize||[],r=e.series,i=r.getRawData(),o=r.getShadowDim&&r.getShadowDim(),a=o&&i.getDimensionInfo(o)?r.getShadowDim():e.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(i!==this._shadowData||a!==this._shadowDim||t[0]!==n[0]||t[1]!==n[1]){var u=i.getDataExtent(a),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var d,h=[0,t[1]],f=[0,t[0]],p=[[t[0],0],[0,0]],v=[],g=f[1]/(i.count()-1),m=0,y=Math.round(i.count()/t[0]);i.each([a],(function(e,t){if(y>0&&t%y)m+=g;else{var n=null==e||isNaN(e)||""===e,r=n?0:(0,K.Cb)(e,u,h,!0);n&&!d&&t?(p.push([p[p.length-1][0],0]),v.push([v[v.length-1][0],0])):!n&&d&&(p.push([m,0]),v.push([m,0])),p.push([m,r]),v.push([m,r]),m+=g,d=n}})),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=v}this._shadowData=i,this._shadowDim=a,this._shadowSize=[t[0],t[1]];for(var _=this.dataZoomModel,b=0;b<3;b++){var x=w(1===b);this._displayables.sliderGroup.add(x),this._displayables.dataShadowSegs.push(x)}}}function w(e){var t=_.getModel(e?"selectedDataBackground":"dataBackground"),n=new G.A,r=new V.A({shape:{points:s},segmentIgnoreThreshold:1,style:t.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new H.A({shape:{points:l},segmentIgnoreThreshold:1,style:t.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,r=this.ecModel;return e.eachTargetAxis((function(i,o){var a=e.getAxisProxy(i,o).getTargetSeriesModels();(0,p.__)(a,(function(e){if(!n&&!(!0!==t&&(0,p.qh)(se,e.get("type"))<0)){var a,s=r.getComponent((0,w.dX)(i),o).axis,l=ce(i),u=e.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=e.getData().mapDimension(l),n={thisAxis:s,series:e,thisDim:i,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,n=t.handles=[null,null],r=t.handleLabels=[null,null],i=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),c=t.filler=new J({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});i.add(c),i.add(new J({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:te,fill:"rgba(0,0,0,0)"}})),(0,p.__)([0,1],(function(t){var o=a.get("handleIcon");!Z.$V[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=(0,Z.v5)(o,-1,0,2,2,null,!0);s.attr({cursor:de(this._orient),draggable:!0,drift:(0,p.oI)(this._onDragMove,this,t),ondragend:(0,p.oI)(this._onDragEnd,this),onmouseover:(0,p.oI)(this._showDataInfo,this,!0),onmouseout:(0,p.oI)(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=(0,K.lo)(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,Y.iJ)(s);var c=a.get("handleColor");null!=c&&(s.style.fill=c),i.add(n[t]=s);var d=a.getModel("textStyle");e.add(r[t]=new j.Ay({silent:!0,invisible:!0,style:(0,Q.VB)(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=c;if(u){var h=(0,K.lo)(a.get("moveHandleSize"),o[1]),f=t.moveHandle=new W.A({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:h}}),v=.8*h,g=t.moveHandleIcon=(0,Z.v5)(a.get("moveHandleIcon"),-v/2,-v/2,v,v,"#fff",!0);g.silent=!0,g.y=o[1]+h/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(o[1]/2,Math.max(h,10));d=t.moveZone=new W.A({invisible:!0,shape:{y:o[1]-m,height:h+m}}),d.on("mouseover",(function(){s.enterEmphasis(f)})).on("mouseout",(function(){s.leaveEmphasis(f)})),i.add(f),i.add(g),i.add(d)}d.attr({draggable:!0,cursor:de(this._orient),drift:(0,p.oI)(this._onDragMove,this,"all"),ondragstart:(0,p.oI)(this._showDataInfo,this,!0),ondragend:(0,p.oI)(this._onDragEnd,this),onmouseover:(0,p.oI)(this._showDataInfo,this,!0),onmouseout:(0,p.oI)(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[(0,K.Cb)(e[0],[0,100],t,!0),(0,K.Cb)(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];(0,c.A)(t,r,i,n.get("zoomLock")?"all":e,null!=o.minSpan?(0,K.Cb)(o.minSpan,a,i,!0):null,null!=o.maxSpan?(0,K.Cb)(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=(0,K.Y6)([(0,K.Cb)(r[0],i,a,!0),(0,K.Cb)(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},t.prototype._updateView=function(e){var t=this._displayables,n=this._handleEnds,r=(0,K.Y6)(n.slice()),i=this._size;(0,p.__)([0,1],(function(e){var r=t.handles[e],o=this._handleHeight;r.attr({scaleX:o/2,scaleY:o/2,x:n[e]+(e?-1:1),y:i[1]/2-o/2})}),this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]});var o={x:r[0],width:r[1]-r[0]};t.moveHandle&&(t.moveHandle.setShape(o),t.moveZone.setShape(o),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=t.dataShadowSegs,s=[0,r[0],r[1],i[0]],l=0;l<a.length;l++){var u=a[l],c=u.getClipPath();c||(c=new W.A,u.setClipPath(c)),c.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:i[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var t=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,o=["",""];if(t.get("showDetail")){var a=t.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=e?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=(0,K.Y6)(this._handleEnds.slice());function d(e){var t=$.getTransform(n.handles[e].parent,this.group),a=$.transformDirection(0===e?"right":"left",t),s=this._handleWidth/2+ae,l=$.applyTransform([c[e]+(0===e?-s:s),this._size[1]/2],t);r[e].setStyle({x:l[0],y:l[1],verticalAlign:i===ie?"middle":a,align:i===ie?a:"center",text:o[e]})}d.call(this,0),d.call(this,1)},t.prototype._formatLabel=function(e,t){var n=this.dataZoomModel,r=n.get("labelFormatter"),i=n.get("labelPrecision");null!=i&&"auto"!==i||(i=t.getPixelPrecision());var o=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(i,20));return(0,p.Tn)(r)?r(e,o):(0,p.Kg)(r)?r.replace("{value}",o):o},t.prototype._showDataInfo=function(e){e=this._dragging||e;var t=this._displayables,n=t.handleLabels;n[0].attr("invisible",!e),n[1].attr("invisible",!e),t.moveHandle&&this.api[e?"enterEmphasis":"leaveEmphasis"](t.moveHandle,1)},t.prototype._onDragMove=function(e,t,n,r){this._dragging=!0,h.ds(r.event);var i=this._displayables.sliderGroup.getLocalTransform(),o=$.applyTransform([t,n],i,!0),a=this._updateInterval(e,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(e){var t=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,n=e.offsetY;this._brushStart=new U.A(t,n),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var t=this._displayables.brushRect;if(this._brushing=!1,t){t.attr("ignore",!0);var n=t.shape,r=+new Date;if(!(r-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),o=[0,100];this._range=(0,K.Y6)([(0,K.Cb)(n.x,i,o,!0),(0,K.Cb)(n.x+n.width,i,o,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(h.ds(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var n=this._displayables,r=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new J({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(e,t),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},t.prototype._dispatchZoomAction=function(e){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?le:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=(0,w.es)(this.dataZoomModel).infoList;if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}if(!e){var r=this.api.getWidth(),i=this.api.getHeight();e={x:.2*r,y:.2*i,width:.6*r,height:.6*i}}return e},t.type="dataZoom.slider",t}(u.A);function ce(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function de(e){return"vertical"===e?"ns-resize":"ew-resize"}const he=ue;function fe(e){e.registerComponentModel(q),e.registerComponentView(he),(0,B.A)(e)}function pe(e){(0,r.Y)(N),(0,r.Y)(fe)}},8747:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(2486),i=n(1842),o=n(4018),a=n(9371),s=n(3045),l=n(2978),u=n(630),c=r.__,d=o.Y6,h=function(){function e(e,t,n,r){this._dimName=e,this._axisIndex=t,this.ecModel=r,this._dataZoomModel=n}return e.prototype.hostedBy=function(e){return this._dataZoomModel===e},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries((function(t){if((0,i._u)(t)){var n=(0,i.dX)(this._dimName),r=t.getReferringComponents(n,u.US).models[0];r&&this._axisIndex===r.componentIndex&&e.push(t)}}),this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return r.o8(this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,n=this._dataExtent,r=this.getAxisModel(),i=r.axis.scale,s=this._dataZoomModel.getRangePropMode(),l=[0,100],u=[],h=[];c(["start","end"],(function(r,a){var c=e[r],d=e[r+"Value"];"percent"===s[a]?(null==c&&(c=l[a]),d=i.parse(o.Cb(c,l,n))):(t=!0,d=null==d?n[a]:i.parse(d),c=o.Cb(d,n,l)),h[a]=null==d||isNaN(d)?n[a]:d,u[a]=null==c||isNaN(c)?l[a]:c})),d(h),d(u);var f=this._minMaxSpan;function p(e,t,n,r,s){var l=s?"Span":"ValueSpan";(0,a.A)(0,e,n,"all",f["min"+l],f["max"+l]);for(var u=0;u<2;u++)t[u]=o.Cb(e[u],n,r,!0),s&&(t[u]=i.parse(t[u]))}return t?p(h,u,n,l,!1):p(u,h,l,n,!0),{valueWindow:h,percentWindow:u}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=f(this,this._dimName,t),this._updateMinMaxSpan();var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(e,t){if(e===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),o=e.get("filterMode"),a=this._valueWindow;"none"!==o&&c(i,(function(e){var t=e.getData(),i=t.mapDimensionsAll(n);if(i.length){if("weakFilter"===o){var l=t.getStore(),u=r.Tj(i,(function(e){return t.getDimensionIndex(e)}),t);t.filterSelf((function(e){for(var t,n,r,o=0;o<i.length;o++){var s=l.get(u[o],e),c=!isNaN(s),d=s<a[0],h=s>a[1];if(c&&!d&&!h)return!0;c&&(r=!0),d&&(t=!0),h&&(n=!0)}return r&&t&&n}))}else c(i,(function(n){if("empty"===o)e.setData(t=t.map(n,(function(e){return s(e)?e:NaN})));else{var r={};r[n]=a,t.selectRange(r)}}));c(i,(function(e){t.setApproximateExtent(a,e)}))}}))}function s(e){return e>=a[0]&&e<=a[1]}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._dataExtent;c(["min","max"],(function(r){var i=t.get(r+"Span"),a=t.get(r+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?i=o.Cb(n[0]+a,n,[0,100],!0):null!=i&&(a=o.Cb(i,[0,100],n,!0)-n[0]),e[r+"Span"]=i,e[r+"ValueSpan"]=a}),this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,n=this._valueWindow;if(t){var r=o.hb(n,[0,500]);r=Math.min(r,20);var i=e.axis.scale.rawExtentInfo;0!==t[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==t[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},e}();function f(e,t,n){var r=[1/0,-1/0];c(n,(function(e){(0,s.PN)(r,e.getData(),t)}));var i=e.getAxisModel(),o=(0,l.Tc)(i.axis.scale,i,r).calculate();return[o.min,o.max]}const p=h;var v={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(r,o){var a=e.getComponent((0,i.dX)(r),o);t(r,o,a,n)}))}))}t((function(e,t,n,r){n.__dzAxisProxy=null}));var n=[];t((function(t,r,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new p(t,r,o,e),n.push(i.__dzAxisProxy))}));var o=(0,r.nt)();return(0,r.__)(n,(function(e){(0,r.__)(e.getTargetSeriesModels(),(function(e){o.set(e.uid,e)}))})),o},overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(t,n){e.getAxisProxy(t,n).reset(e)})),e.eachTargetAxis((function(n,r){e.getAxisProxy(n,r).filterData(e,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getDataPercentWindow(),r=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}}))}};const g=v;function m(e){e.registerAction("dataZoom",(function(e,t){var n=(0,i.CN)(t,e);(0,r.__)(n,(function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))}var y=!1;function _(e){y||(y=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,g),m(e),e.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}},596:(e,t,n)=>{"use strict";n.d(t,{a:()=>Oe});var r=n(1730),i=n(2401),o=n(5487),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.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"},t}(o.A);const s=a;var l=n(2092),u=n(2486),c=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},e.prototype.getCoordSysModel=function(){},e}(),d=n(630),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",d.US).models[0]},t.type="cartesian2dAxis",t}(o.A);u.co(h,c);var f={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)"]}}},p=u.h1({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},f),v=u.h1({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}}},f),g=u.h1({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},v),m=u.NT({logBase:10},v);const y={category:p,value:v,time:g,log:m};var _=n(7049),b=n(4195),x={value:1,category:1,time:1,log:1};function w(e,t,n,i){(0,u.__)(x,(function(o,a){var s=(0,u.h1)((0,u.h1)({},y[a],!0),i,!0),l=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t+"Axis."+a,n}return(0,r.C6)(n,e),n.prototype.mergeDefaultAndTheme=function(e,t){var n=(0,_.ad)(this),r=n?(0,_.vs)(e):{},i=t.getTheme();(0,u.h1)(e,i.get(a+"Axis")),(0,u.h1)(e,this.getDefaultOption()),e.type=S(e),n&&(0,_.YA)(e,r,n)},n.prototype.optionUpdated=function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=b.A.createByAxisModel(this))},n.prototype.getCategories=function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=t+"Axis."+a,n.defaultOption=s,n}(n);e.registerComponentModel(l)})),e.registerSubTypeDefaulter(t+"Axis",S)}function S(e){return e.type||(e.data?"category":"value")}var k=n(3045),C=n(2848),A=function(){function e(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return e.prototype.getAxis=function(e){return this._axes[e]},e.prototype.getAxes=function(){return u.Tj(this._dimList,(function(e){return this._axes[e]}),this)},e.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),u.pb(this.getAxes(),(function(t){return t.scale.type===e}))},e.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},e}();const T=A;var E=n(9383),M=n(2809),I=["x","y"];function D(e){return"interval"===e.type||"time"===e.type}var R=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=I,t}return(0,r.C6)(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(D(e)&&D(t)){var n=e.getExtent(),r=t.getExtent(),i=this.dataToPoint([n[0],r[0]]),o=this.dataToPoint([n[1],r[1]]),a=n[1]-n[0],s=r[1]-r[0];if(a&&s){var l=(o[0]-i[0])/a,u=(o[1]-i[1])/s,c=i[0]-n[0]*l,d=i[1]-r[0]*u,h=this._transform=[l,0,0,u,c,d];this._invTransform=(0,E.B8)([],h)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,t){var n=this.dataToPoint(e),r=this.dataToPoint(t),i=this.getArea(),o=new C.A(n[0],n[1],r[0]-n[0],r[1]-n[1]);return i.intersect(o)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var r=e[0],i=e[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return(0,M.NW)(n,e,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(r,t)),n[1]=a.toGlobalCoord(a.dataToCoord(i,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(e[0]),s=r.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),t},t.prototype.pointToData=function(e,t){var n=[];if(this._invTransform)return(0,M.NW)(n,e,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(e[0]),t),n[1]=i.coordToData(i.toLocalCoord(e[1]),t),n},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1]),r=Math.min(t[0],t[1]),i=Math.max(e[0],e[1])-n,o=Math.max(t[0],t[1])-r;return new C.A(n,r,i,o)},t}(T);const L=R;var O=n(4018),P=n(2586),z=(0,d.$r)();function B(e){return"category"===e.type?F(e):G(e)}function N(e,t){return"category"===e.type?W(e,t):{ticks:u.Tj(e.scale.getTicks(),(function(e){return e.value}))}}function F(e){var t=e.getLabelModel(),n=q(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function q(e,t){var n,r,i=V(e,"labels"),o=(0,k.j2)(t),a=H(i,o);return a||(u.Tn(o)?n=Y(e,o):(r="auto"===o?$(e):o,n=X(e,r)),j(i,o,{labels:n,labelCategoryInterval:r}))}function W(e,t){var n,r,i=V(e,"ticks"),o=(0,k.j2)(t),a=H(i,o);if(a)return a;if(t.get("show")&&!e.scale.isBlank()||(n=[]),u.Tn(o))n=Y(e,o,!0);else if("auto"===o){var s=q(e,e.getLabelModel());r=s.labelCategoryInterval,n=u.Tj(s.labels,(function(e){return e.tickValue}))}else r=o,n=X(e,r,!0);return j(i,o,{ticks:n,tickCategoryInterval:r})}function G(e){var t=e.scale.getTicks(),n=(0,k.ry)(e);return{labels:u.Tj(t,(function(t,r){return{level:t.level,formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tickValue:t.value}}))}}function V(e,t){return z(e)[t]||(z(e)[t]=[])}function H(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function j(e,t,n){return e.push({key:t,value:n}),n}function $(e){var t=z(e).autoInterval;return null!=t?t:z(e).autoInterval=e.calculateCategoryInterval()}function U(e){var t=K(e),n=(0,k.ry)(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.scale,o=i.getExtent(),a=i.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=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),d=Math.abs(u*Math.sin(r)),h=0,f=0;l<=o[1];l+=s){var p=0,v=0,g=P.NO(n({value:l}),t.font,"center","top");p=1.3*g.width,v=1.3*g.height,h=Math.max(h,p,7),f=Math.max(f,v,7)}var m=h/c,y=f/d;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(m,y))),b=z(e.model),x=e.getExtent(),w=b.lastAutoInterval,S=b.lastTickCount;return null!=w&&null!=S&&Math.abs(w-_)<=1&&Math.abs(S-a)<=1&&w>_&&b.axisExtent0===x[0]&&b.axisExtent1===x[1]?_=w:(b.lastTickCount=a,b.lastAutoInterval=_,b.axisExtent0=x[0],b.axisExtent1=x[1]),_}function K(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function X(e,t,n){var r=(0,k.ry)(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=o[0],c=i.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var d=(0,k.PJ)(e),h=a.get("showMinLabel")||d,f=a.get("showMaxLabel")||d;h&&u!==o[0]&&v(o[0]);for(var p=u;p<=o[1];p+=l)v(p);function v(e){var t={value:e};s.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return f&&p-l!==o[1]&&v(o[1]),s}function Y(e,t,n){var r=e.scale,i=(0,k.ry)(e),o=[];return u.__(r.getTicks(),(function(e){var a=r.getLabel(e),s=e.value;t(e.value,a)&&o.push(n?s:{formattedLabel:i(e),rawLabel:a,tickValue:s})})),o}var Z=[0,1],Q=function(){function e(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}return e.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return(0,O.hb)(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&(n=n.slice(),J(n,r.count())),(0,O.Cb)(e,Z,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),J(n,r.count()));var i=(0,O.Cb)(e,n,Z,t);return this.scale.scale(i)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=N(this,t),r=n.ticks,i=(0,u.Tj)(r,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this),o=t.get("alignWithLabel");return ee(this,i,o,e.clamp),i},e.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var n=this.scale.getMinorTicks(t),r=(0,u.Tj)(n,(function(e){return(0,u.Tj)(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this);return r},e.prototype.getViewLabels=function(){return B(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return U(this)},e}();function J(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function ee(e,t,n,r){var i=t.length;if(e.onBand&&!n&&i){var o,a,s=e.getExtent();if(1===i)t[0].coord=s[0],o=t[1]={coord:s[0]};else{var l=t[i-1].tickValue-t[0].tickValue,c=(t[i-1].coord-t[0].coord)/l;(0,u.__)(t,(function(e){e.coord-=c/2}));var d=e.scale.getExtent();a=1+d[1]-t[i-1].tickValue,o={coord:t[i-1].coord+c*a},t.push(o)}var h=s[0]>s[1];f(t[0].coord,s[0])&&(r?t[0].coord=s[0]:t.shift()),r&&f(s[0],t[0].coord)&&t.unshift({coord:s[0]}),f(s[1],o.coord)&&(r?o.coord=s[1]:t.pop()),r&&f(o.coord,s[1])&&t.push({coord:s[1]})}function f(e,t){return e=(0,O.LI)(e),t=(0,O.LI)(t),h?e>t:e<t}}const te=Q;var ne=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return(0,r.C6)(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.getGlobalExtent=function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},t.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},t.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(te);const re=ne;var ie=n(9242),oe=n(9763),ae=n(1606),se=Math.log;function le(e,t,n){var r=ae.A.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=(0,k.Rx)(e,t),u=l.extent,c=l.fixMin,d=l.fixMax;if("log"===e.type){var h=se(e.base);u=[se(u[0])/h,se(u[1])/h]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:d});var f=r.getExtent.call(e);c&&(u[0]=f[0]),d&&(u[1]=f[1]);var p=r.getInterval.call(e),v=u[0],g=u[1];if(c&&d)p=(g-v)/a;else if(c){g=u[0]+p*a;while(g<u[1]&&isFinite(g)&&isFinite(u[1]))p=(0,oe.kH)(p),g=u[0]+p*a}else if(d){v=u[1]-p*a;while(v>u[0]&&isFinite(v)&&isFinite(u[0]))p=(0,oe.kH)(p),v=u[1]-p*a}else{var m=e.getTicks().length-1;m>a&&(p=(0,oe.kH)(p));var y=p*a;g=Math.ceil(u[1]/p)*p,v=(0,O.LI)(g-y),v<0&&u[0]>=0?(v=0,g=(0,O.LI)(y)):g>0&&u[1]<=0&&(g=0,v=-(0,O.LI)(y))}var _=(i[0].value-o[0].value)/s,b=(i[a].value-o[a].value)/s;r.setExtent.call(e,v+p*_,g+p*b),r.setInterval.call(e,p),(_||b)&&r.setNiceExtent.call(e,v+p,g-p)}var ue=function(){function e(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=I,this._initCartesian(e,t,n),this.model=e}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(e,t){var n=this._axesMap;function r(e){var t,n=(0,u.HP)(e),r=n.length;if(r){for(var i=[],o=r-1;o>=0;o--){var a=+n[o],s=e[a],l=s.model,c=s.scale;(0,oe.rf)(c)&&l.get("alignTicks")&&null==l.get("interval")?i.push(s):((0,k.af)(c,l),(0,oe.rf)(c)&&(t=s))}i.length&&(t||(t=i.pop(),(0,k.af)(t.scale,t.model)),(0,u.__)(i,(function(e){le(e.scale,e.model,t.scale)})))}}this._updateScale(e,this.model),r(n.x),r(n.y);var i={};(0,u.__)(n.x,(function(e){de(n,"y",e,i)})),(0,u.__)(n.y,(function(e){de(n,"x",e,i)})),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var r=e.getBoxLayoutParams(),i=!n&&e.get("containLabel"),o=(0,_.dV)(r,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var a=this._axesList;function s(){(0,u.__)(a,(function(e){var t=e.isHorizontal(),n=t?[0,o.width]:[0,o.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),fe(e,t?o.x:o.y)}))}s(),i&&((0,u.__)(a,(function(e){if(!e.model.get(["axisLabel","inside"])){var t=(0,k.Og)(e);if(t){var n=e.isHorizontal()?"height":"width",r=e.model.get(["axisLabel","margin"]);o[n]-=t[n]+r,"top"===e.position?o.y+=t.height+r:"left"===e.position&&(o.x+=t.width+r)}}})),s()),(0,u.__)(this._coordsList,(function(e){e.calcAffineTransform()}))},e.prototype.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n)return n[t||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}(0,u.Gv)(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,i=this._coordsList;r<i.length;r++)if(i[r].getAxis("x").index===e||i[r].getAxis("y").index===t)return i[r]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},e.prototype.convertFromPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},e.prototype._findConvertTarget=function(e){var t,n,r=e.seriesModel,i=e.xAxisModel||r&&r.getReferringComponents("xAxis",d.US).models[0],o=e.yAxisModel||r&&r.getReferringComponents("yAxis",d.US).models[0],a=e.gridModel,s=this._coordsList;if(r)t=r.coordinateSystem,(0,u.qh)(s,t)<0&&(t=null);else if(i&&o)t=this.getCartesian(i.componentIndex,o.componentIndex);else if(i)n=this.getAxis("x",i.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){var l=a.coordinateSystem;l===this&&(t=this._coordsList[0])}return{cartesian:t,axis:n}},e.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},e.prototype._initCartesian=function(e,t,n){var r=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",l("x"),this),t.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(t){return function(n,r){if(ce(n,e)){var l=n.get("position");"x"===t?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new re(t,(0,k.f$)(n),[0,0],n.get("type"),l),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=i,u.index=r,i._axesList.push(u),a[t][r]=u,s[t]++}}}this._axesMap=a,(0,u.__)(a.x,(function(t,n){(0,u.__)(a.y,(function(i,o){var a="x"+n+"y"+o,s=new L(a);s.master=r,s.model=e,r._coordsMap[a]=s,r._coordsList.push(s),s.addAxis(t),s.addAxis(i)}))}))},e.prototype._updateScale=function(e,t){function n(e,t){(0,u.__)((0,k.wq)(e,t.dim),(function(n){t.scale.unionExtentFromData(e,n)}))}(0,u.__)(this._axesList,(function(e){if(e.scale.setExtent(1/0,-1/0),"category"===e.type){var t=e.model.get("categorySortInfo");e.scale.setSortInfo(t)}})),e.eachSeries((function(e){if((0,ie.gO)(e)){var r=(0,ie.LR)(e),i=r.xAxisModel,o=r.yAxisModel;if(!ce(i,t)||!ce(o,t))return;var a=this.getCartesian(i.componentIndex,o.componentIndex),s=e.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}),this)},e.prototype.getTooltipAxes=function(e){var t=[],n=[];return(0,u.__)(this.getCartesians(),(function(r){var i=null!=e&&"auto"!==e?r.getAxis(e):r.getBaseAxis(),o=r.getOtherAxis(i);(0,u.qh)(t,i)<0&&t.push(i),(0,u.qh)(n,o)<0&&n.push(o)})),{baseAxes:t,otherAxes:n}},e.create=function(t,n){var r=[];return t.eachComponent("grid",(function(i,o){var a=new e(i,t,n);a.name="grid_"+o,a.resize(i,n,!0),i.coordinateSystem=a,r.push(a)})),t.eachSeries((function(e){if((0,ie.gO)(e)){var t=(0,ie.LR)(e),n=t.xAxisModel,r=t.yAxisModel,i=n.getCoordSysModel();0;var o=i.coordinateSystem;e.coordinateSystem=o.getCartesian(n.componentIndex,r.componentIndex)}})),r},e.dimensions=I,e}();function ce(e,t){return e.getCoordSysModel()===t}function de(e,t,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=e[t],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)he(o[l])&&(i=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&he(o[u])&&!r[c(o[u])]){i=o[u];break}i&&(r[c(i)]=!0)}function c(e){return e.dim+"_"+e.index}}function he(e){return e&&"category"!==e.type&&"time"!==e.type&&(0,k.JJ)(e)}function fe(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return r-e+t}}const pe=ue;var ve=n(354),ge=n(7233),me=n(3321),ye=n(3324),_e=n(3916),be=(0,d.$r)();function xe(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),c=r.coordinateSystem.getRect(),d=i.getTicksCoords({tickModel:o,clamp:!0});if(d.length){var h=s.length,f=be(e).splitAreaColors,p=u.nt(),v=0;if(f)for(var g=0;g<d.length;g++){var m=f.get(d[g].tickValue);if(null!=m){v=(m+(h-1)*g)%h;break}}var y=i.toGlobalCoord(d[0].coord),_=a.getAreaStyle();s=u.cy(s)?s:[s];for(g=1;g<d.length;g++){var b=i.toGlobalCoord(d[g].coord),x=void 0,w=void 0,S=void 0,k=void 0;i.isHorizontal()?(x=y,w=c.y,S=b-x,k=c.height,y=x+S):(x=c.x,w=y,S=c.width,k=b-w,y=w+k);var C=d[g-1].tickValue;null!=C&&p.set(C,v),t.add(new l.A({anid:null!=C?"area_"+C:null,shape:{x,y:w,width:S,height:k},style:u.NT({fill:s[v]},_),autoBatch:!0,silent:!0})),v=(v+1)%h}be(e).splitAreaColors=p}}}function we(e){be(e).splitAreaColors=null}var Se=["axisLine","axisTickLabel","axisName"],ke=["splitArea","splitLine","minorSplitLine"],Ce=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,r.C6)(t,e),t.prototype.render=function(t,n,r,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new ve.A,this.group.add(this._axisGroup),t.get("show")){var a=t.getCoordSysModel(),s=ie.Zp(a,t),l=new ye.A(t,u.X$({handleAutoShown:function(e){for(var n=a.coordinateSystem.getCartesians(),r=0;r<n.length;r++)if((0,oe.rf)(n[r].getOtherAxis(t.axis).scale))return!0;return!1}},s));u.__(Se,l.add,l),this._axisGroup.add(l.getGroup()),u.__(ke,(function(e){t.get([e,"show"])&&Ae[e](this,this._axisGroup,t,a)}),this);var c=i&&"changeAxisOrder"===i.type&&i.isInitSort;c||ge.groupTransition(o,this._axisGroup,t),e.prototype.render.call(this,t,n,r,i)}},t.prototype.remove=function(){we(this)},t.type="cartesianAxis",t}(_e.A),Ae={splitLine:function(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=u.cy(s)?s:[s];for(var l=r.coordinateSystem.getRect(),c=i.isHorizontal(),d=0,h=i.getTicksCoords({tickModel:o}),f=[],p=[],v=a.getLineStyle(),g=0;g<h.length;g++){var m=i.toGlobalCoord(h[g].coord);c?(f[0]=m,f[1]=l.y,p[0]=m,p[1]=l.y+l.height):(f[0]=l.x,f[1]=m,p[0]=l.x+l.width,p[1]=m);var y=d++%s.length,_=h[g].tickValue,b=new me.A({anid:null!=_?"line_"+h[g].tickValue:null,autoBatch:!0,shape:{x1:f[0],y1:f[1],x2:p[0],y2:p[1]},style:u.NT({stroke:s[y]},v),silent:!0});ge.subPixelOptimizeLine(b.shape,v.lineWidth),t.add(b)}}},minorSplitLine:function(e,t,n,r){var i=n.axis,o=n.getModel("minorSplitLine"),a=o.getModel("lineStyle"),s=r.coordinateSystem.getRect(),l=i.isHorizontal(),u=i.getMinorTicksCoords();if(u.length)for(var c=[],d=[],h=a.getLineStyle(),f=0;f<u.length;f++)for(var p=0;p<u[f].length;p++){var v=i.toGlobalCoord(u[f][p].coord);l?(c[0]=v,c[1]=s.y,d[0]=v,d[1]=s.y+s.height):(c[0]=s.x,c[1]=v,d[0]=s.x+s.width,d[1]=v);var g=new me.A({anid:"minor_line_"+u[f][p].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:d[0],y2:d[1]},style:h,silent:!0});ge.subPixelOptimizeLine(g.shape,h.lineWidth),t.add(g)}},splitArea:function(e,t,n,r){xe(e,t,n,r)}},Te=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.C6)(t,e),t.type="xAxis",t}(Ce),Ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=Te.type,t}return(0,r.C6)(t,e),t.type="yAxis",t}(Ce);var Me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="grid",t}return(0,r.C6)(t,e),t.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new l.A({shape:e.coordinateSystem.getRect(),style:(0,u.NT)({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(i.A),Ie={offset:0};function De(e){e.registerComponentView(Me),e.registerComponentModel(s),e.registerCoordinateSystem("cartesian2d",pe),w(e,"x",h,Ie),w(e,"y",h,Ie),e.registerComponentView(Te),e.registerComponentView(Ee),e.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))}var Re=n(6930),Le=n(1259);function Oe(e){(0,Le.Y)(De),(0,Le.Y)(Re.a)}},8856:(e,t,n)=>{"use strict";n.d(t,{Ck:()=>l,_r:()=>s,s:()=>a});var r=n(659),i=n(2486),o="\0_ec_interaction_mutex";function a(e,t,n){var r=u(e);r[t]=n}function s(e,t,n){var r=u(e),i=r[t];i===n&&(r[t]=null)}function l(e,t){return!!u(e)[t]}function u(e){return e[o]||(e[o]={})}r.OH({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},i.lQ)},1884:(e,t,n)=>{"use strict";n.d(t,{P:()=>s,Z:()=>a});var r=n(7049),i=n(8992),o=n(2092);function a(e,t,n){var i=t.getBoxLayoutParams(),o=t.get("padding"),a={width:n.getWidth(),height:n.getHeight()},s=(0,r.dV)(i,a,o);(0,r.aP)(t.get("orient"),e,t.get("itemGap"),s.width,s.height),(0,r.m$)(e,i,a,o)}function s(e,t){var n=i.QX(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),e=new o.A({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1}),e}},9371:(e,t,n)=>{"use strict";function r(e,t,n,r,a,s){e=e||0;var l=n[1]-n[0];if(null!=a&&(a=o(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===r){var u=Math.abs(t[1]-t[0]);u=o(u,[0,l]),a=s=o(u,[a,s]),r=0}t[0]=o(t[0],n),t[1]=o(t[1],n);var c=i(t,r);t[r]+=e;var d,h=a||0,f=n.slice();return c.sign<0?f[0]+=h:f[1]-=h,t[r]=o(t[r],f),d=i(t,r),null!=a&&(d.sign!==c.sign||d.span<a)&&(t[1-r]=t[r]+c.sign*a),d=i(t,r),null!=s&&d.span>s&&(t[1-r]=t[r]+d.sign*s),t}function i(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function o(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}n.d(t,{A:()=>r})},9e3:(e,t,n)=>{"use strict";n.d(t,{a:()=>Z});var r=n(1259),i=n(1730),o=n(2486),a=n(2555),s=n(630),l=n(5487),u=function(e,t){return"all"===t?{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}:void 0},c=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,i.C6)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),this._updateSelector(t)},t.prototype._updateSelector=function(e){var t=e.selector,n=this.ecModel;!0===t&&(t=e.selector=["all","inverse"]),o.cy(t)&&o.__(t,(function(e,r){o.Kg(e)&&(e={type:e}),t[r]=o.h1(e,u(n,e.type))}))},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var r=e[n].get("name");if(this.isSelected(r)){this.select(r),t=!0;break}}!t&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],n=[];e.eachRawSeries((function(r){var i,o=r.name;if(n.push(o),r.legendVisualProvider){var a=r.legendVisualProvider,l=a.getAllNames();e.isSeriesFiltered(r)||(n=n.concat(l)),l.length?t=t.concat(l):i=!0}else i=!0;i&&(0,s.O0)(r)&&t.push(r.name)})),this._availableNames=n;var r=this.get("data")||t,i=o.nt(),l=o.Tj(r,(function(e){return(o.Kg(e)||o.Et(e))&&(e={name:e}),i.get(e.name)?null:(i.set(e.name,!0),new a.A(e,this,this.ecModel))}),this);this._data=o.pb(l,(function(e){return!!e}))},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var t=this.option.selected,n=this.get("selectedMode");if("single"===n){var r=this._data;o.__(r,(function(e){t[e.get("name")]=!1}))}t[e]=!0},t.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,t=this.option.selected;o.__(e,(function(e){t[e.get("name",!0)]=!0}))},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;o.__(e,(function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]}))},t.prototype.isSelected=function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&o.qh(this._availableNames,e)>=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.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}},t}(l.A);const d=c;var h=n(5334),f=n(354),p=n(8246),v=n(2092),g=n(7233),m=n(1797),y=n(9348),_=n(1884),b=n(7049),x=n(2401),w=n(6027),S=n(4919),k=o.cF,C=o.__,A=f.A,T=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return(0,i.C6)(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new A),this.group.add(this._selectorGroup=new A),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var i=e.get("align"),a=e.get("orient");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===a?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(i,e,t,n,s,a,l);var u=e.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},d=e.get("padding"),h=b.dV(u,c,d),f=this.layoutInner(e,i,h,r,s,l),p=b.dV(o.NT({width:f.width,height:f.height},u),c,d);this.group.x=p.x-f.x,this.group.y=p.y-f.y,this.group.markRedraw(),this.group.add(this._backgroundEl=(0,_.P)(f,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,r,i,a,s){var l=this.getContentGroup(),u=o.nt(),c=t.get("selectedMode"),d=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&d.push(e.id)})),C(t.getData(),(function(i,a){var s=i.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var f=new A;return f.newline=!0,void l.add(f)}var p=n.getSeriesByName(s)[0];if(!u.get(s)){if(p){var v=p.getData(),g=v.getVisual("legendLineStyle")||{},m=v.getVisual("legendIcon"),y=v.getVisual("style"),_=this._createItem(p,s,a,i,t,e,g,y,m,c,r);_.on("click",k(I,s,null,r,d)).on("mouseover",k(R,p.name,null,r,d)).on("mouseout",k(L,p.name,null,r,d)),u.set(s,!0)}else n.eachRawSeries((function(n){if(!u.get(s)&&n.legendVisualProvider){var l=n.legendVisualProvider;if(!l.containName(s))return;var f=l.indexOfName(s),p=l.getItemVisual(f,"style"),v=l.getItemVisual(f,"legendIcon"),g=(0,h.qg)(p.fill);g&&0===g[3]&&(g[3]=.2,p=o.X$(o.X$({},p),{fill:(0,h.As)(g,"rgba")}));var m=this._createItem(n,s,a,i,t,e,{},p,v,c,r);m.on("click",k(I,null,s,r,d)).on("mouseover",k(R,null,s,r,d)).on("mouseout",k(L,null,s,r,d)),u.set(s,!0)}}),this);0}}),this),i&&this._createSelector(i,t,r,a,s)},t.prototype._createSelector=function(e,t,n,r,i){var o=this.getSelectorGroup();C(e,(function(e){var r=e.type,i=new p.Ay({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i);var a=t.getModel("selectorLabel"),s=t.getModel(["emphasis","selectorLabel"]);(0,y.qM)(i,{normal:a,emphasis:s},{defaultText:e.title}),(0,m.iJ)(i)}))},t.prototype._createItem=function(e,t,n,r,i,a,s,l,u,c,d){var h=e.visualDrawType,f=i.get("itemWidth"),_=i.get("itemHeight"),b=i.isSelected(t),x=r.get("symbolRotate"),w=r.get("symbolKeepAspect"),S=r.get("icon");u=S||u||"roundRect";var k=E(u,r,s,l,h,b,d),C=new A,T=r.getModel("textStyle");if(!o.Tn(e.getLegendIcon)||S&&"inherit"!==S){var I="inherit"===S&&e.getData().getVisual("symbol")?"inherit"===x?e.getData().getVisual("symbolRotate"):x:0;C.add(M({itemWidth:f,itemHeight:_,icon:u,iconRotate:I,itemStyle:k.itemStyle,lineStyle:k.lineStyle,symbolKeepAspect:w}))}else C.add(e.getLegendIcon({itemWidth:f,itemHeight:_,icon:u,iconRotate:x,itemStyle:k.itemStyle,lineStyle:k.lineStyle,symbolKeepAspect:w}));var D="left"===a?f+5:-5,R=a,L=i.get("formatter"),O=t;o.Kg(L)&&L?O=L.replace("{name}",null!=t?t:""):o.Tn(L)&&(O=L(t));var P=r.get("inactiveColor");C.add(new p.Ay({style:(0,y.VB)(T,{text:O,x:D,y:_/2,fill:b?T.getTextColor():P,align:R,verticalAlign:"middle"})}));var z=new v.A({shape:C.getBoundingRect(),invisible:!0}),B=r.getModel("tooltip");return B.get("show")&&g.setTooltipConfig({el:z,componentModel:i,itemName:t,itemTooltipOption:B.option}),C.add(z),C.eachChild((function(e){e.silent=!0})),z.silent=!c,this.getContentGroup().add(C),(0,m.iJ)(C),C.__legendDataIndex=n,C},t.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();b.aP(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),i){b.aP("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],h=e.get("selectorButtonGap",!0),f=e.getOrient().index,p=0===f?"width":"height",v=0===f?"height":"width",g=0===f?"y":"x";"end"===o?d[f]+=l[p]+h:u[f]+=c[p]+h,d[1-f]+=l[v]/2-c[v]/2,s.x=d[0],s.y=d[1],a.x=u[0],a.y=u[1];var m={x:0,y:0};return m[p]=l[p]+h+c[p],m[v]=Math.max(l[v],c[v]),m[g]=Math.min(0,c[g]+d[1-f]),m}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(x.A);function E(e,t,n,r,i,o,a){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),C(e,(function(n,r){"inherit"===e[r]&&(e[r]=t[r])}))}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=0===e.lastIndexOf("empty",0)?"fill":"stroke",d=l.getShallow("decal");u.decal=d&&"inherit"!==d?(0,S.w)(d,a):r.decal,"inherit"===u.fill&&(u.fill=r[i]),"inherit"===u.stroke&&(u.stroke=r[c]),"inherit"===u.opacity&&(u.opacity=("fill"===i?r:n).opacity),s(u,r);var h=t.getModel("lineStyle"),f=h.getLineStyle();if(s(f,n),"auto"===u.fill&&(u.fill=r.fill),"auto"===u.stroke&&(u.stroke=r.fill),"auto"===f.stroke&&(f.stroke=r.fill),!o){var p=t.get("inactiveBorderWidth"),v=u[c];u.lineWidth="auto"===p?r.lineWidth>0&&v?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),f.stroke=h.get("inactiveColor"),f.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}function M(e){var t=e.icon||"roundRect",n=(0,w.v5)(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function I(e,t,n,r){L(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),R(e,t,n,r)}function D(e){var t,n=e.getZr().storage.getDisplayList(),r=0,i=n.length;while(r<i&&!(t=n[r].states.emphasis))r++;return t&&t.hoverLayer}function R(e,t,n,r){D(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function L(e,t,n,r){D(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}const O=T;function P(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0}))}function z(e,t,n){var r,i={},a="toggleSelected"===e;return n.eachComponent("legend",(function(n){a&&null!=r?n[r?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?n[e]():(n[e](t.name),r=n.isSelected(t.name));var s=n.getData();(0,o.__)(s,(function(e){var t=e.get("name");if("\n"!==t&&""!==t){var r=n.isSelected(t);i.hasOwnProperty(t)?i[t]=i[t]&&r:i[t]=r}}))})),"allSelect"===e||"inverseSelect"===e?{selected:i}:{name:t.name,selected:i}}function B(e){e.registerAction("legendToggleSelect","legendselectchanged",(0,o.cF)(z,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",(0,o.cF)(z,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",(0,o.cF)(z,"inverseSelect")),e.registerAction("legendSelect","legendselected",(0,o.cF)(z,"select")),e.registerAction("legendUnSelect","legendunselected",(0,o.cF)(z,"unSelect"))}function N(e){e.registerComponentModel(d),e.registerComponentView(O),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,P),e.registerSubTypeDefaulter("legend",(function(){return"plain"})),B(e)}var F=n(8660),q=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,n,r){var i=(0,b.vs)(t);e.prototype.init.call(this,t,n,r),W(this,t,i)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),W(this,this.option,t)},t.type="legend.scroll",t.defaultOption=(0,F.G_)(d.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}),t}(d);function W(e,t,n){var r=e.getOrient(),i=[1,1];i[r.index]=0,(0,b.YA)(t,n,{type:"box",ignoreSize:!!i})}const G=q;var V=n(7178),H=f.A,j=["width","height"],$=["x","y"],U=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return(0,i.C6)(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new H),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new H)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(t,n,r,i,a,s,l){var u=this;e.prototype.renderInner.call(this,t,n,r,i,a,s,l);var c=this._controllerGroup,d=n.get("pageIconSize",!0),h=o.cy(d)?d:[d,d];v("pagePrev",0);var f=n.getModel("pageTextStyle");function v(e,t){var r=e+"DataIndex",a=g.createIcon(n.get("pageIcons",!0)[n.getOrient().name][t],{onclick:o.oI(u._pageGo,u,r,n,i)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});a.name=e,c.add(a)}c.add(new p.Ay({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1)},t.prototype.layoutInner=function(e,t,n,r,i,a){var s=this.getSelectorGroup(),l=e.getOrient().index,u=j[l],c=$[l],d=j[1-l],h=$[1-l];i&&b.aP("horizontal",s,e.get("selectorItemGap",!0));var f=e.get("selectorButtonGap",!0),p=s.getBoundingRect(),v=[-p.x,-p.y],g=o.o8(n);i&&(g[u]=n[u]-p[u]-f);var m=this._layoutContentAndController(e,r,g,l,u,d,h,c);if(i){if("end"===a)v[l]+=m[u]+f;else{var y=p[u]+f;v[l]-=y,m[c]-=y}m[u]+=p[u]+f,v[1-l]+=m[h]+m[d]/2-p[d]/2,m[d]=Math.max(m[d],p[d]),m[h]=Math.min(m[h],p[h]+v[1-l]),s.x=v[0],s.y=v[1],s.markRedraw()}return m},t.prototype._layoutContentAndController=function(e,t,n,r,i,a,s,l){var u=this.getContentGroup(),c=this._containerGroup,d=this._controllerGroup;b.aP(e.get("orient"),u,e.get("itemGap"),r?n.width:null,r?null:n.height),b.aP("horizontal",d,e.get("pageButtonItemGap",!0));var h=u.getBoundingRect(),f=d.getBoundingRect(),p=this._showController=h[i]>n[i],g=[-h.x,-h.y];t||(g[r]=u[l]);var m=[0,0],y=[-f.x,-f.y],_=o.bZ(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(p){var x=e.get("pageButtonPosition",!0);"end"===x?y[r]+=n[i]-f[i]:m[r]+=f[i]+_}y[1-r]+=h[a]/2-f[a]/2,u.setPosition(g),c.setPosition(m),d.setPosition(y);var w={x:0,y:0};if(w[i]=p?n[i]:h[i],w[a]=Math.max(h[a],f[a]),w[s]=Math.min(0,f[s]+y[1-r]),c.__rectSize=n[i],p){var S={x:0,y:0};S[i]=Math.max(n[i]-f[i]-_,0),S[a]=w[a],c.setClipPath(new v.A({shape:S})),c.__rectSize=S[i]}else d.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var k=this._getPageInfo(e);return null!=k.pageIndex&&V.oi(u,{x:k.contentPosition[0],y:k.contentPosition[1]},p?e:null),this._updatePageInfoView(e,k),w},t.prototype._pageGo=function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;o.__(["pagePrev","pageNext"],(function(r){var i=r+"DataIndex",o=null!=t[i],a=n.childOfName(r);a&&(a.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var r=n.childOfName("pageText"),i=e.get("pageFormatter"),a=t.pageIndex,s=null!=a?a+1:0,l=t.pageCount;r&&i&&r.setStyle("text",o.Kg(i)?i.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):i({current:s,total:l}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=e.getOrient().index,o=j[i],a=$[i],s=this._findTargetItemIndex(t),l=n.children(),u=l[s],c=l.length,d=c?1:0,h={contentPosition:[n.x,n.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return h;var f=y(u);h.contentPosition[i]=-f.s;for(var p=s+1,v=f,g=f,m=null;p<=c;++p)m=y(l[p]),(!m&&g.e>v.s+r||m&&!_(m,v.s))&&(v=g.i>v.i?g:m,v&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=v.i),++h.pageCount)),g=m;for(p=s-1,v=f,g=f,m=null;p>=-1;--p)m=y(l[p]),m&&_(g,m.s)||!(v.i<g.i)||(g=v,null==h.pagePrevDataIndex&&(h.pagePrevDataIndex=v.i),++h.pageCount,++h.pageIndex),v=m;return h;function y(e){if(e){var t=e.getBoundingRect(),n=t[a]+e[a];return{s:n,e:n+t[o],i:e.__legendDataIndex}}}function _(e,t){return e.e>=t&&e.s<=t+r}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var t,n,r=this.getContentGroup();return r.eachChild((function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===e&&(t=i)})),null!=t?t:n},t.type="legend.scroll",t}(O);const K=U;function X(e){e.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))}function Y(e){(0,r.Y)(N),e.registerComponentModel(G),e.registerComponentView(K),X(e)}function Z(e){(0,r.Y)(N),(0,r.Y)(Y)}},16:(e,t,n)=>{"use strict";n.d(t,{a:()=>V});var r=n(2486);function i(e,t){if(!e)return!1;for(var n=(0,r.cy)(e)?e:[e],i=0;i<n.length;i++)if(n[i]&&n[i][t])return!0;return!1}var o=n(1730),a=n(4047),s=n(1023),l=n(5487),u=n(630),c=n(8429);function d(e){(0,u.M5)(e,"label",["show"])}var h=(0,u.$r)(),f=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return(0,o.C6)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(a.A.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,n,i){var o=this.mainType;n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),a=h(e)[o];n&&n.data?(a?a._mergeOption(n,t,!0):(i&&d(n),r.__(n.data,(function(e){e instanceof Array?(d(e[0]),d(e[1])):d(e)})),a=this.createMarkerModelFromSeries(n,this,t),r.X$(a,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),a.__hostSeries=e),h(e)[o]=a):h(e)[o]=null}),this)},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e),o=r.getName(e);return(0,c.Qx)("section",{header:this.name,blocks:[(0,c.Qx)("nameValue",{name:o,value:i,noName:!o,noValue:null==i})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.getMarkerModelFromSeries=function(e,t){return h(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(l.A);r.co(f,s.J.prototype);const p=f;var v=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(p);const g=v;var m=n(8758),y=n(4018),_=n(458),b=n(6279),x=n(3629);function w(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function S(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function k(e,t,n,r,i,o){var a=[],s=(0,b.sJ)(t,r),l=s?t.getCalculationInfo("stackResultDimension"):r,u=D(t,l,e),c=t.indicesOfNearest(l,u)[0];a[i]=t.get(n,c),a[o]=t.get(l,c);var d=t.get(r,c),h=y.XV(t.get(r,c));return h=Math.min(h,20),h>=0&&(a[o]=+a[o].toFixed(h)),[a,d]}var C={min:(0,r.cF)(k,"min"),max:(0,r.cF)(k,"max"),average:(0,r.cF)(k,"average"),median:(0,r.cF)(k,"median")};function A(e,t){if(t){var n=e.getData(),i=e.coordinateSystem,o=i&&i.dimensions;if(!S(t)&&!(0,r.cy)(t.coord)&&(0,r.cy)(o)){var a=T(t,n,i,e);if(t=(0,r.o8)(t),t.type&&C[t.type]&&a.baseAxis&&a.valueAxis){var s=(0,r.qh)(o,a.baseAxis.dim),l=(0,r.qh)(o,a.valueAxis.dim),u=C[t.type](n,a.baseDataDim,a.valueDataDim,s,l);t.coord=u[0],t.value=u[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&(0,r.cy)(o))for(var c=t.coord,d=0;d<2;d++)C[c[d]]&&(c[d]=D(n,n.mapDimension(o[d]),c[d]));else t.coord=[];return t}}function T(e,t,n,r){var i={};return null!=e.valueIndex||null!=e.valueDim?(i.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(E(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function E(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}function M(e,t){return!(e&&e.containData&&t.coord&&!w(t))||e.containData(t.coord)}function I(e,t){return e?function(e,n,r,i){var o=i<2?e.coord&&e.coord[i]:e.value;return(0,x.Pn)(o,t[i])}:function(e,n,r,i){return(0,x.Pn)(e.value,t[i])}}function D(e,t,n){if("average"===n){var r=0,i=0;return e.each(t,(function(e,t){isNaN(e)||(r+=e,i++)})),r/i}return"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}var R=n(2401),L=n(1797),O=(0,u.$r)(),P=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.prototype.init=function(){this.markerGroupMap=(0,r.nt)()},t.prototype.render=function(e,t,n){var r=this,i=this.markerGroupMap;i.each((function(e){O(e).keep=!1})),t.eachSeries((function(e){var i=p.getMarkerModelFromSeries(e,r.type);i&&r.renderSeries(e,i,t,n)})),i.each((function(e){!O(e).keep&&r.group.remove(e.group)}))},t.prototype.markKeep=function(e){O(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;(0,r.__)(e,(function(e){var r=p.getMarkerModelFromSeries(e,n.type);if(r){var i=r.getData();i.eachItemGraphicEl((function(e){e&&(t?(0,L.QX)(e):(0,L.JC)(e))}))}}))},t.type="marker",t}(R.A);const z=P;var B=n(4066),N=n(343);function F(e,t,n){var r=t.coordinateSystem;e.each((function(i){var o,a=e.getItemModel(i),s=y.lo(a.get("x"),n.getWidth()),l=y.lo(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(r){var u=e.get(r.dimensions[0],i),c=e.get(r.dimensions[1],i);o=r.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),e.setItemLayout(i,o)}))}var q=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=p.getMarkerModelFromSeries(e,"markPoint");t&&(F(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())}),this)},t.prototype.renderSeries=function(e,t,n,i){var o=e.coordinateSystem,a=e.id,s=e.getData(),l=this.markerGroupMap,u=l.get(a)||l.set(a,new m.A),c=W(o,e,t);t.setData(c),F(t.getData(),e,i),c.each((function(e){var n=c.getItemModel(e),i=n.getShallow("symbol"),o=n.getShallow("symbolSize"),a=n.getShallow("symbolRotate"),l=n.getShallow("symbolOffset"),u=n.getShallow("symbolKeepAspect");if((0,r.Tn)(i)||(0,r.Tn)(o)||(0,r.Tn)(a)||(0,r.Tn)(l)){var d=t.getRawValue(e),h=t.getDataParams(e);(0,r.Tn)(i)&&(i=i(d,h)),(0,r.Tn)(o)&&(o=o(d,h)),(0,r.Tn)(a)&&(a=a(d,h)),(0,r.Tn)(l)&&(l=l(d,h))}var f=n.getModel("itemStyle").getItemStyle(),p=(0,N.rI)(s,"color");f.fill||(f.fill=p),c.setItemVisual(e,{symbol:i,symbolSize:o,symbolRotate:a,symbolOffset:l,symbolKeepAspect:u,style:f})})),u.updateData(c),this.group.add(u.group),c.eachItemGraphicEl((function(e){e.traverse((function(e){(0,B.z)(e).dataModel=t}))})),this.markKeep(u),u.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(z);function W(e,t,n){var i;i=e?(0,r.Tj)(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return(0,r.X$)((0,r.X$)({},n),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var o=new _.A(i,n),a=(0,r.Tj)(n.get("data"),(0,r.cF)(A,t));e&&(a=(0,r.pb)(a,(0,r.cF)(M,e)));var s=I(!!e,i);return o.initData(a,null,s),o}const G=q;function V(e){e.registerComponentModel(g),e.registerComponentView(G),e.registerPreprocessor((function(e){i(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})}))}},6532:(e,t,n)=>{"use strict";n.d(t,{a:()=>v});var r=n(1730),i=n(2486),o=n(8246),a=n(2092),s=n(4066),l=n(9348),u=n(7049),c=n(5487),d=n(2401),h=n(8992),f=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,r.C6)(t,e),t.type="title",t.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"}},t}(c.A),p=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,r.C6)(t,e),t.prototype.render=function(e,t,n){if(this.group.removeAll(),e.get("show")){var r=this.group,c=e.getModel("textStyle"),d=e.getModel("subtextStyle"),f=e.get("textAlign"),p=i.bZ(e.get("textBaseline"),e.get("textVerticalAlign")),v=new o.Ay({style:(0,l.VB)(c,{text:e.get("text"),fill:c.getTextColor()},{disableBox:!0}),z2:10}),g=v.getBoundingRect(),m=e.get("subtext"),y=new o.Ay({style:(0,l.VB)(d,{text:m,fill:d.getTextColor(),y:g.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),_=e.get("link"),b=e.get("sublink"),x=e.get("triggerEvent",!0);v.silent=!_&&!x,y.silent=!b&&!x,_&&v.on("click",(function(){(0,h.JW)(_,"_"+e.get("target"))})),b&&y.on("click",(function(){(0,h.JW)(b,"_"+e.get("subtarget"))})),(0,s.z)(v).eventData=(0,s.z)(y).eventData=x?{componentType:"title",componentIndex:e.componentIndex}:null,r.add(v),m&&r.add(y);var w=r.getBoundingRect(),S=e.getBoxLayoutParams();S.width=w.width,S.height=w.height;var k=(0,u.dV)(S,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));f||(f=e.get("left")||e.get("right"),"middle"===f&&(f="center"),"right"===f?k.x+=k.width:"center"===f&&(k.x+=k.width/2)),p||(p=e.get("top")||e.get("bottom"),"center"===p&&(p="middle"),"bottom"===p?k.y+=k.height:"middle"===p&&(k.y+=k.height/2),p=p||"top"),r.x=k.x,r.y=k.y,r.markRedraw();var C={align:f,verticalAlign:p};v.setStyle(C),y.setStyle(C),w=r.getBoundingRect();var A=k.margin,T=e.getItemStyle(["color","opacity"]);T.fill=e.get("backgroundColor");var E=new a.A({shape:{x:w.x-A[3],y:w.y-A[0],width:w.width+A[1]+A[3],height:w.height+A[0]+A[2],r:e.get("borderRadius")},style:T,subPixelOptimize:!0,silent:!0});r.add(E)}},t.type="title",t}(d.A);function v(e){e.registerComponentModel(f),e.registerComponentView(p)}},42:(e,t,n)=>{"use strict";n.d(t,{a:()=>Ut});var r=n(1259),i=n(1730),o=n(848),a=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.type="dataZoom.select",t}(o.A);const s=a;var l=n(6884),u=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.type="dataZoom.select",t}(l.A);const c=u;var d=n(8747);function h(e){e.registerComponentModel(s),e.registerComponentView(c),(0,d.A)(e)}var f=n(2486),p=function(){function e(){}return e}(),v={};function g(e,t){v[e]=t}function m(e){return v[e]}var y=n(5487),_=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,i.C6)(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;f.__(this.option.feature,(function(e,n){var r=m(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(t)),f.h1(e,r.defaultOption))}))},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.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"}},t}(y.A);const b=_;var x=n(2586),w=n(7233),S=n(1797),k=n(2555),C=n(9495),A=n(1884),T=n(2401),E=n(8660),M=n(8246),I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.render=function(e,t,n,r){var i=this.group;if(i.removeAll(),e.get("show")){var o=+e.get("itemSize"),a="vertical"===e.get("orient"),s=e.get("feature")||{},l=this._features||(this._features={}),u=[];f.__(s,(function(e,t){u.push(t)})),new C.A(this._featureNames||[],u).add(c).update(c).remove(f.cF(c,null)).execute(),this._featureNames=u,A.Z(i,e,n),i.add(A.P(i.getBoundingRect(),e)),a||i.eachChild((function(e){var t=e.__title,r=e.ensureState("emphasis"),a=r.textConfig||(r.textConfig={}),s=e.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!f.Tn(l)&&t){var u=l.style||(l.style={}),c=x.NO(t,M.Ay.makeFont(u)),d=e.x+i.x,h=e.y+i.y+o,p=!1;h+c.height>n.getHeight()&&(a.position="top",p=!0);var v=p?-5-c.height:o+10;d+c.width/2>n.getWidth()?(a.position=["100%",v],u.align="right"):d-c.width/2<0&&(a.position=[0,v],u.align="left")}}))}function c(i,o){var a,c=u[i],h=u[o],f=s[c],v=new k.A(f,e,e.ecModel);if(r&&null!=r.newTitle&&r.featureName===c&&(f.title=r.newTitle),c&&!h){if(D(c))a={onclick:v.option.onclick,featureName:c};else{var g=m(c);if(!g)return;a=new g}l[c]=a}else if(a=l[h],!a)return;a.uid=(0,E.$Q)("toolbox-feature"),a.model=v,a.ecModel=t,a.api=n;var y=a instanceof p;c||!h?!v.get("show")||y&&a.unusable?y&&a.remove&&a.remove(t,n):(d(v,a,c),v.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&("emphasis"===t?S.HY:S.SD)(r[e])},a instanceof p&&a.render&&a.render(v,t,n,r)):y&&a.dispose&&a.dispose(t,n)}function d(r,s,l){var u,c,d=r.getModel("iconStyle"),h=r.getModel(["emphasis","iconStyle"]),v=s instanceof p&&s.getIcons?s.getIcons():r.get("icon"),g=r.get("title")||{};f.Kg(v)?(u={},u[l]=v):u=v,f.Kg(g)?(c={},c[l]=g):c=g;var m=r.iconPaths={};f.__(u,(function(l,u){var p=w.createIcon(l,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(d.getItemStyle());var v=p.ensureState("emphasis");v.style=h.getItemStyle();var g=new M.Ay({style:{text:c[u],align:h.get("textAlign"),borderRadius:h.get("textBorderRadius"),padding:h.get("textPadding"),fill:null},ignore:!0});p.setTextContent(g),w.setTooltipConfig({el:p,componentModel:e,itemName:u,formatterParamsExtra:{title:c[u]}}),p.__title=c[u],p.on("mouseover",(function(){var t=h.getItemStyle(),r=a?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";g.setStyle({fill:h.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:h.get("textBackgroundColor")}),p.setTextConfig({position:h.get("textPosition")||r}),g.ignore=!e.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==r.get(["iconStatus",u])&&n.leaveEmphasis(this),g.hide()})),("emphasis"===r.get(["iconStatus",u])?S.HY:S.SD)(p),i.add(p),p.on("click",f.oI(s.onclick,s,t,n,u)),m[u]=p}))}},t.prototype.updateView=function(e,t,n,r){f.__(this._features,(function(e){e instanceof p&&e.updateView&&e.updateView(e.model,t,n,r)}))},t.prototype.remove=function(e,t){f.__(this._features,(function(n){n instanceof p&&n.remove&&n.remove(e,t)})),this.group.removeAll()},t.prototype.dispose=function(e,t){f.__(this._features,(function(n){n instanceof p&&n.dispose&&n.dispose(e,t)}))},t.type="toolbox",t}(T.A);function D(e){return 0===e.indexOf("my")}const R=I;var L=n(4047),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",i="svg"===t.getZr().painter.getType(),o=i?"svg":n.get("type",!0)||"png",a=t.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=L.A.browser;if((0,f.Tn)(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=r+"."+o,l.target="_blank",l.href=a;var u=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(u)}else if(window.navigator.msSaveOrOpenBlob||i){var c=a.split(","),d=c[0].indexOf("base64")>-1,h=i?decodeURIComponent(c[1]):c[1];d&&(h=window.atob(h));var p=r+"."+o;if(window.navigator.msSaveOrOpenBlob){var v=h.length,g=new Uint8Array(v);while(v--)g[v]=h.charCodeAt(v);var m=new Blob([g]);window.navigator.msSaveOrOpenBlob(m,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var _=y.contentWindow,b=_.document;b.open("image/svg+xml","replace"),b.write(h),b.close(),_.focus(),b.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var x=n.get("lang"),w='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(x&&x[0]||"")+'" /></body>',S=window.open();S.document.write(w),S.document.title=r}},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return t},t}(p);const P=O;var z=n(659),B=n(630),N="__ec_magicType_stack__",F=[["line","bar"],["stack"]],q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return f.__(e.get("type"),(function(e){t[e]&&(n[e]=t[e])})),n},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return t},t.prototype.onclick=function(e,t,n){var r=this.model,i=r.get(["seriesIndex",n]);if(W[n]){var o,a={series:[]},s=function(e){var t=e.subType,i=e.id,o=W[n](t,i,e,r);o&&(f.NT(o,e.option),a.series.push(o));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim,c=u+"Axis",d=e.getReferringComponents(c,B.US).models[0],h=d.componentIndex;a[c]=a[c]||[];for(var p=0;p<=h;p++)a[c][h]=a[c][h]||{};a[c][h].boundaryGap="bar"===n}}};f.__(F,(function(e){f.qh(e,n)>=0&&f.__(e,(function(e){r.setIconStatus(e,"normal")}))})),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},s);var l=n;"stack"===n&&(o=f.h1({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(l="tiled")),t.dispatchAction({type:"changeMagicType",currentType:l,newOption:a,newTitle:o,featureName:"magicType"})}},t}(p),W={line:function(e,t,n,r){if("bar"===e)return f.h1({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if("line"===e)return f.h1({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var i=n.get("stack")===N;if("line"===e||"bar"===e)return r.setIconStatus("stack",i?"normal":"emphasis"),f.h1({id:t,stack:i?"":N},r.get(["option","stack"])||{},!0)}};z.OH({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)}));const G=q;var V=n(8560),H=new Array(60).join("-"),j="\t";function $(e){var t={},n=[],r=[];return e.eachRawSeries((function(e){var i=e.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(e);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function U(e){var t=[];return f.__(e,(function(e,n){var r=e.categoryAxis,i=e.valueAxis,o=i.dim,a=[" "].concat(f.Tj(e.series,(function(e){return e.name}))),s=[r.model.getCategories()];f.__(e.series,(function(e){var t=e.getRawData();s.push(e.getRawData().mapArray(t.mapDimension(o),(function(e){return e})))}));for(var l=[a.join(j)],u=0;u<s[0].length;u++){for(var c=[],d=0;d<s.length;d++)c.push(s[d][u]);l.push(c.join(j))}t.push(l.join("\n"))})),t.join("\n\n"+H+"\n\n")}function K(e){return f.Tj(e,(function(e){var t=e.getRawData(),n=[e.name],r=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,i=arguments[e-1],o=t.getName(i),a=0;a<e-1;a++)r[a]=arguments[a];n.push((o?o+j:"")+r.join(j))})),n.join("\n")})).join("\n\n"+H+"\n\n")}function X(e){var t=$(e);return{value:f.pb([U(t.seriesGroupByCategoryAxis),K(t.other)],(function(e){return!!e.replace(/[\n\t\s]/g,"")})).join("\n\n"+H+"\n\n"),meta:t.meta}}function Y(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Z(e){var t=e.slice(0,e.indexOf("\n"));if(t.indexOf(j)>=0)return!0}var Q=new RegExp("["+j+"]+","g");function J(e){for(var t=e.split(/\n+/g),n=Y(t.shift()).split(Q),r=[],i=f.Tj(n,(function(e){return{name:e,data:[]}})),o=0;o<t.length;o++){var a=Y(t[o]).split(Q);r.push(a.shift());for(var s=0;s<a.length;s++)i[s]&&(i[s].data[o]=a[s])}return{series:i,categories:r}}function ee(e){for(var t=e.split(/\n+/g),n=Y(t.shift()),r=[],i=0;i<t.length;i++){var o=Y(t[i]);if(o){var a=o.split(Q),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),r[i]={name:s,value:[]},l=r[i].value):l=r[i]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?r[i].value=l[0]:r[i]=l[0])}}return{name:n,data:r}}function te(e,t){var n=e.split(new RegExp("\n*"+H+"\n*","g")),r={series:[]};return f.__(n,(function(e,n){if(Z(e)){var i=J(e),o=t[n],a=o.axisDim+"Axis";o&&(r[a]=r[a]||[],r[a][o.axisIndex]={data:i.categories},r.series=r.series.concat(i.series))}else{i=ee(e);r.series.push(i)}})),r}var ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.onclick=function(e,t){setTimeout((function(){t.dispatchAction({type:"hideTip"})}));var n=t.getDom(),r=this.model;this._dom&&n.removeChild(this._dom);var i=document.createElement("div");i.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",i.style.backgroundColor=r.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=r.get("lang")||[];o.innerHTML=a[0]||r.get("title"),o.style.cssText="margin:10px 20px",o.style.color=r.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=r.get("optionToContent"),c=r.get("contentToOption"),d=X(e);if(f.Tn(u)){var h=u(t.getOption());f.Kg(h)?s.innerHTML=h:f.n_(h)&&s.appendChild(h)}else{l.readOnly=r.get("readOnly");var p=l.style;p.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",p.color=r.get("textColor"),p.borderColor=r.get("textareaBorderColor"),p.backgroundColor=r.get("textareaColor"),l.value=d.value,s.appendChild(l)}var v=d.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var m="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",y=document.createElement("div"),_=document.createElement("div");m+=";background-color:"+r.get("buttonColor"),m+=";color:"+r.get("buttonTextColor");var b=this;function x(){n.removeChild(i),b._dom=null}(0,V.q2)(y,"click",x),(0,V.q2)(_,"click",(function(){if(null==c&&null!=u||null!=c&&null==u)x();else{var e;try{e=f.Tn(c)?c(s,t.getOption()):te(l.value,v)}catch(n){throw x(),new Error("Data view format error "+n)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),x()}})),y.innerHTML=a[1],_.innerHTML=a[2],_.style.cssText=y.style.cssText=m,!r.get("readOnly")&&g.appendChild(_),g.appendChild(y),i.appendChild(o),i.appendChild(s),i.appendChild(g),s.style.height=n.clientHeight-80+"px",n.appendChild(i),this._dom=i},t.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return t},t}(p);function re(e,t){return f.Tj(e,(function(e,n){var r=t&&t[n];if(f.Gv(r)&&!f.cy(r)){var i=f.Gv(e)&&!f.cy(e);i||(e={value:e});var o=null!=r.name&&null==e.name;return e=f.NT(e,r),o&&delete e.name,e}return e}))}z.OH({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];f.__(e.newOption.series,(function(e){var r=t.getSeriesByName(e.name)[0];if(r){var i=r.get("data");n.push({name:e.name,data:re(e.data,i)})}else n.push(f.X$({type:"scatter"},e))})),t.mergeOption(f.NT({series:n},e.newOption))}));const ie=ne;var oe=f.__,ae=(0,B.$r)();function se(e,t){var n=de(e);oe(t,(function(t,r){for(var i=n.length-1;i>=0;i--){var o=n[i];if(o[r])break}if(i<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var s=a.getPercentRange();n[0][r]={dataZoomId:r,start:s[0],end:s[1]}}}})),n.push(t)}function le(e){var t=de(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return oe(n,(function(e,n){for(var i=t.length-1;i>=0;i--)if(e=t[i][n],e){r[n]=e;break}})),r}function ue(e){ae(e).snapshots=null}function ce(e){return de(e).length}function de(e){var t=ae(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.onclick=function(e,t){ue(e),t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","restore","title"])};return t},t}(p);z.OH({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));const fe=he;var pe=n(6105),ve=n(354),ge=n(2092),me=n(7111),ye=n(2589),_e=n(8856),be=!0,xe=Math.min,we=Math.max,Se=Math.pow,ke=1e4,Ce=6,Ae=6,Te="globalPan",Ee={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},Me={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},Ie={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},De=0,Re=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new ve.A,n._uid="brushController_"+De++,(0,f.__)(ct,(function(e,t){this._handlers[t]=(0,f.oI)(e,this)}),n),n}return(0,i.C6)(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||_e.s(t,Te,this._uid),(0,f.__)(this._handlers,(function(e,n){t.on(n,e)})),this._brushType=e.brushType,this._brushOption=(0,f.h1)((0,f.o8)(Ie),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;_e._r(e,Te,this._uid),(0,f.__)(this._handlers,(function(t,n){e.off(n,t)})),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};(0,f.__)(e,(function(e){t[e.panelId]=(0,f.o8)(e)}))}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=(0,f.Tj)(e,(function(e){return(0,f.h1)((0,f.o8)(Ie),e,!0)}));var t="\0-brush-index-",n=this._covers,r=this._covers=[],i=this,o=this._creatingCover;return new C.A(n,e,s,a).add(l).update(l).remove(u).execute(),this;function a(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function s(e,t){return a(e.__brushOption,t)}function l(t,a){var s=e[t];if(null!=a&&n[a]===o)r[t]=n[a];else{var l=r[t]=null!=a?(n[a].__brushOption=s,n[a]):Oe(i,Le(i,s));Be(i,l)}}function u(e){n[e]!==o&&i.group.remove(n[e])}},t.prototype.unmount=function(){return this.enableBrush(!1),We(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(pe.A);function Le(e,t){var n=ft[t.brushType].createCover(e,t);return n.__brushOption=t,ze(n,t),e.group.add(n),n}function Oe(e,t){var n=Ne(t);return n.endCreating&&(n.endCreating(e,t),ze(t,t.__brushOption)),t}function Pe(e,t){var n=t.__brushOption;Ne(t).updateCoverShape(e,t,n.range,n)}function ze(e,t){var n=t.z;null==n&&(n=ke),e.traverse((function(e){e.z=n,e.z2=n}))}function Be(e,t){Ne(t).updateCommon(e,t),Pe(e,t)}function Ne(e){return ft[e.__brushOption.brushType]}function Fe(e,t,n){var r,i=e._panels;if(!i)return be;var o=e._transform;return(0,f.__)(i,(function(e){e.isTargetByCursor(t,n,o)&&(r=e)})),r}function qe(e,t){var n=e._panels;if(!n)return be;var r=t.__brushOption.panelId;return null!=r?n[r]:be}function We(e){var t=e._covers,n=t.length;return(0,f.__)(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function Ge(e,t){var n=(0,f.Tj)(e._covers,(function(e){var t=e.__brushOption,n=(0,f.o8)(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function Ve(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],i=n[0]-r[0],o=n[1]-r[1],a=Se(i*i+o*o,.5);return a>Ce}function He(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function je(e,t,n,r){var i=new ve.A;return i.add(new ge.A({name:"main",style:Xe(n),silent:!0,draggable:!0,cursor:"move",drift:(0,f.cF)(et,e,t,i,["n","s","w","e"]),ondragend:(0,f.cF)(Ge,t,{isEnd:!0})})),(0,f.__)(r,(function(n){i.add(new ge.A({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:(0,f.cF)(et,e,t,i,n),ondragend:(0,f.cF)(Ge,t,{isEnd:!0})}))})),i}function $e(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=we(i,Ae),a=n[0][0],s=n[1][0],l=a-i/2,u=s-i/2,c=n[0][1],d=n[1][1],h=c-o+i/2,f=d-o+i/2,p=c-a,v=d-s,g=p+i,m=v+i;Ke(e,t,"main",a,s,p,v),r.transformable&&(Ke(e,t,"w",l,u,o,m),Ke(e,t,"e",h,u,o,m),Ke(e,t,"n",l,u,g,o),Ke(e,t,"s",l,f,g,o),Ke(e,t,"nw",l,u,o,o),Ke(e,t,"ne",h,u,o,o),Ke(e,t,"sw",l,f,o,o),Ke(e,t,"se",h,f,o,o))}function Ue(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(Xe(n)),i.attr({silent:!r,cursor:r?"move":"default"}),(0,f.__)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var i=t.childOfName(n.join("")),o=1===n.length?Qe(e,n[0]):Je(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?Me[o]+"-resize":null})}))}function Ke(e,t,n,r,i,o,a){var s=t.childOfName(n);s&&s.setShape(it(rt(e,t,[[r,i],[r+o,i+a]])))}function Xe(e){return(0,f.NT)({strokeNoScale:!0},e.brushStyle)}function Ye(e,t,n,r){var i=[xe(e,n),xe(t,r)],o=[we(e,n),we(t,r)];return[[i[0],o[0]],[i[1],o[1]]]}function Ze(e){return w.getTransform(e.group)}function Qe(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},i=w.transformDirection(n[t],Ze(e));return r[i]}function Je(e,t){var n=[Qe(e,t[0]),Qe(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function et(e,t,n,r,i,o){var a=n.__brushOption,s=e.toRectRange(a.range),l=nt(t,i,o);(0,f.__)(r,(function(e){var t=Ee[e];s[t[0]][t[1]]+=l[t[0]]})),a.range=e.fromRectRange(Ye(s[0][0],s[1][0],s[0][1],s[1][1])),Be(t,n),Ge(t,{isEnd:!1})}function tt(e,t,n,r){var i=t.__brushOption.range,o=nt(e,n,r);(0,f.__)(i,(function(e){e[0]+=o[0],e[1]+=o[1]})),Be(e,t),Ge(e,{isEnd:!1})}function nt(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function rt(e,t,n){var r=qe(e,t);return r&&r!==be?r.clipPath(n,e._transform):(0,f.o8)(n)}function it(e){var t=xe(e[0][0],e[1][0]),n=xe(e[0][1],e[1][1]),r=we(e[0][0],e[1][0]),i=we(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}function ot(e,t,n){if(e._brushType&&!ht(e,t.offsetX,t.offsetY)){var r=e._zr,i=e._covers,o=Fe(e,t,n);if(!e._dragging)for(var a=0;a<i.length;a++){var s=i[a].__brushOption;if(o&&(o===be||s.panelId===o.panelId)&&ft[s.brushType].contain(i[a],n[0],n[1]))return}o&&r.setCursorStyle("crosshair")}}function at(e){var t=e.event;t.preventDefault&&t.preventDefault()}function st(e,t,n){return e.childOfName("main").contain(t,n)}function lt(e,t,n,r){var i,o=e._creatingCover,a=e._creatingPanel,s=e._brushOption;if(e._track.push(n.slice()),Ve(e)||o){if(a&&!o){"single"===s.brushMode&&We(e);var l=(0,f.o8)(s);l.brushType=ut(l.brushType,a),l.panelId=a===be?null:a.panelId,o=e._creatingCover=Le(e,l),e._covers.push(o)}if(o){var u=ft[ut(e._brushType,a)],c=o.__brushOption;c.range=u.getCreatingRange(rt(e,o,e._track)),r&&(Oe(e,o),u.updateCommon(e,o)),Pe(e,o),i={isEnd:r}}}else r&&"single"===s.brushMode&&s.removeOnClick&&Fe(e,t,n)&&We(e)&&(i={isEnd:r,removeOnClick:!0});return i}function ut(e,t){return"auto"===e?t.defaultBrushType:e}var ct={mousedown:function(e){if(this._dragging)dt(this,e);else if(!e.target||!e.target.draggable){at(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var n=this._creatingPanel=Fe(this,e,t);n&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if(ot(this,e,r),this._dragging){at(e);var i=lt(this,e,r,!1);i&&Ge(this,i)}},mouseup:function(e){dt(this,e)}};function dt(e,t){if(e._dragging){at(t);var n=t.offsetX,r=t.offsetY,i=e.group.transformCoordToLocal(n,r),o=lt(e,t,i,!0);e._dragging=!1,e._track=[],e._creatingCover=null,o&&Ge(e,o)}}function ht(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var ft={lineX:pt(0),lineY:pt(1),rect:{createCover:function(e,t){function n(e){return e}return je({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=He(e);return Ye(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){$e(e,t,n,r)},updateCommon:Ue,contain:st},polygon:{createCover:function(e,t){var n=new ve.A;return n.add(new me.A({name:"main",style:Xe(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new ye.A({name:"main",draggable:!0,drift:(0,f.cF)(tt,e,t),ondragend:(0,f.cF)(Ge,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:rt(e,t,n)})},updateCommon:Ue,contain:st}};function pt(e){return{createCover:function(t,n){return je({toRectRange:function(t){var n=[t,[0,100]];return e&&n.reverse(),n},fromRectRange:function(t){return t[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=He(t),r=xe(n[0][e],n[1][e]),i=we(n[0][e],n[1][e]);return[r,i]},updateCoverShape:function(t,n,r,i){var o,a=qe(t,n);if(a!==be&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,o];e&&l.reverse(),$e(t,n,l,i)},updateCommon:Ue,contain:st}}const vt=Re;var gt=n(2848),mt={axisPointer:1,tooltip:1,brush:1};function yt(e,t,n){var r=t.getComponentByElement(e.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!mt.hasOwnProperty(r.mainType)&&i&&i.model!==n}function _t(e){return e=wt(e),function(t){return w.clipPointsByRect(t,e)}}function bt(e,t){return e=wt(e),function(n){var r=null!=t?t:n,i=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(i||0)]}}function xt(e,t,n){var r=wt(e);return function(e,i){return r.contain(i[0],i[1])&&!yt(e,t,n)}}function wt(e){return gt.A.create(e)}var St=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],kt=function(){function e(e,t,n){var r=this;this._targetInfoList=[];var i=At(t,e);(0,f.__)(Tt,(function(e,t){(!n||!n.include||(0,f.qh)(n.include,t)>=0)&&e(i,r._targetInfoList)}))}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=It[e.brushType](0,n,t);e.__rangeOffset={offset:Rt[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}})),e},e.prototype.matchOutputRanges=function(e,t,n){(0,f.__)(e,(function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&(0,f.__)(r.coordSyses,(function(r){var i=It[e.brushType](1,r,e.range,!0);n(e,i.values,r,t)}))}),this)},e.prototype.setInputRanges=function(e,t){(0,f.__)(e,(function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var r=It[e.brushType](0,n.coordSys,e.coordRange),i=e.__rangeOffset;e.range=i?Rt[e.brushType](r.values,i.offset,Ot(r.xyMinMax,i.xyMinMax)):r.values}}),this)},e.prototype.makePanelOpts=function(e,t){return(0,f.Tj)(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:_t(r),isTargetByCursor:xt(r,e,n.coordSysModel),getLinearBrushOtherExtent:bt(r)}}))},e.prototype.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return!0===r||r&&(0,f.qh)(r.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=At(t,e),i=0;i<n.length;i++){var o=n[i],a=e.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<Et.length;s++)if(Et[s](r,o))return o}return!0},e}();function Ct(e){return e[0]>e[1]&&e.reverse(),e}function At(e,t){return(0,B._e)(e,t,{includeMainTypes:St})}var Tt={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=e.gridModels,o=(0,f.nt)(),a={},s={};(n||r||i)&&((0,f.__)(n,(function(e){var t=e.axis.grid.model;o.set(t.id,t),a[t.id]=!0})),(0,f.__)(r,(function(e){var t=e.axis.grid.model;o.set(t.id,t),s[t.id]=!0})),(0,f.__)(i,(function(e){o.set(e.id,e),a[e.id]=!0,s[e.id]=!0})),o.each((function(e){var i=e.coordinateSystem,o=[];(0,f.__)(i.getCartesians(),(function(e,t){((0,f.qh)(n,e.getAxis("x").model)>=0||(0,f.qh)(r,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:Mt.grid,xAxisDeclared:a[e.id],yAxisDeclared:s[e.id]})})))},geo:function(e,t){(0,f.__)(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:Mt.geo})}))}},Et=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],Mt={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(w.getTransform(e)),t}},It={lineX:(0,f.cF)(Dt,0),lineY:(0,f.cF)(Dt,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),o=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),a=[Ct([i[0],o[0]]),Ct([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,r){var i=[[1/0,-1/0],[1/0,-1/0]],o=(0,f.Tj)(n,(function(n){var o=e?t.pointToData(n,r):t.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],o[0]),i[1][0]=Math.min(i[1][0],o[1]),i[0][1]=Math.max(i[0][1],o[0]),i[1][1]=Math.max(i[1][1],o[1]),o}));return{values:o,xyMinMax:i}}};function Dt(e,t,n,r){var i=n.getAxis(["x","y"][e]),o=Ct((0,f.Tj)([0,1],(function(e){return t?i.coordToData(i.toLocalCoord(r[e]),!0):i.toGlobalCoord(i.dataToCoord(r[e]))}))),a=[];return a[e]=o,a[1-e]=[NaN,NaN],{values:o,xyMinMax:a}}var Rt={lineX:(0,f.cF)(Lt,0),lineY:(0,f.cF)(Lt,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return(0,f.Tj)(e,(function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]}))}};function Lt(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function Ot(e,t){var n=Pt(e),r=Pt(t),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function Pt(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}const zt=kt;var Bt=n(9371),Nt=n(6078),Ft=f.__,qt=(0,B.S_)("toolbox-dataZoom_"),Wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.render=function(e,t,n,r){this._brushController||(this._brushController=new vt(n.getZr()),this._brushController.on("brush",f.oI(this._onBrush,this)).mount()),jt(e,t,this,r,n),Ht(e,t)},t.prototype.onclick=function(e,t,n){Gt[n].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]);var i=new zt(Vt(this.model),r,{include:["grid"]});i.matchOutputRanges(t,r,(function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[r],n,t)}})),se(r,n),this._dispatchZoomAction(n)}function o(e,t,i){var o=t.getAxis(e),s=o.model,l=a(e,s,r),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=(0,Bt.A)(0,i.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}function a(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var i=n.getAxisModel(e,t.componentIndex);i&&(r=n)})),r}},t.prototype._dispatchZoomAction=function(e){var t=[];Ft(e,(function(e,n){t.push(f.o8(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){var t={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:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return t},t}(p),Gt={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(le(this.ecModel))}};function Vt(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}function Ht(e,t){e.setIconStatus("back",ce(t)>1?"emphasis":"normal")}function jt(e,t,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var a=new zt(Vt(e),t,{include:["grid"]}),s=a.makePanelOpts(i,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}(0,Nt.S)("dataZoom",(function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var r=t.getModel(n),i=[],o=Vt(r),a=(0,B._e)(e,o);return Ft(a.xAxisModels,(function(e){return s(e,"xAxis","xAxisIndex")})),Ft(a.yAxisModels,(function(e){return s(e,"yAxis","yAxisIndex")})),i}function s(e,t,n){var o=e.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:qt+t+o};a[n]=o,i.push(a)}}));const $t=Wt;function Ut(e){e.registerComponentModel(b),e.registerComponentView(R),g("saveAsImage",P),g("magicType",G),g("dataView",ie),g("dataZoom",$t),g("restore",fe),(0,r.Y)(h)}},5951:(e,t,n)=>{"use strict";n.d(t,{a:()=>de});var r=n(6930),i=n(1259),o=n(1730),a=n(5487),s=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.type="tooltip",t.dependencies=["axisPointer"],t.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}},t}(a.A);const l=s;var u=n(2486),c=n(4047),d=n(8560),h=n(8407),f=n(8992);function p(e){var t=e.get("confine");return null!=t?!!t:"richText"===e.get("renderMode")}function v(e){if(c.A.domSupported)for(var t=document.documentElement.style,n=0,r=e.length;n<r;n++)if(e[n]in t)return e[n]}var g=v(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),m=v(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function y(e,t){if(!e)return t;t=(0,f.Cb)(t,!0);var n=e.indexOf(t);return e=-1===n?t:"-"+e.slice(0,n)+"-"+t,e.toLowerCase()}function _(e,t){var n=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return n?t?n[t]:n:null}var b=n(8429),x=y(m,"transition"),w=y(g,"transform"),S="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(c.A.transform3dSupported?"will-change:transform;":"");function k(e){return e="left"===e?"right":"right"===e?"left":"top"===e?"bottom":"top",e}function C(e,t,n){if(!(0,u.Kg)(n)||"inside"===n)return"";var r=e.get("backgroundColor"),i=e.get("borderWidth");t=(0,f.he)(t);var o,a=k(n),s=Math.max(1.5*Math.round(i),6),l="",c=w+":";(0,u.qh)(["left","right"],a)>-1?(l+="top:50%",c+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(l+="left:50%",c+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var d=o*Math.PI/180,h=s+i,p=h*Math.abs(Math.cos(d))+h*Math.abs(Math.sin(d)),v=Math.round(100*((p-Math.SQRT2*i)/2+Math.SQRT2*i-(p-h)/2))/100;l+=";"+a+":-"+v+"px";var g=t+" solid "+i+"px;",m=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",l+";"+c+";","border-bottom:"+g,"border-right:"+g,"background-color:"+r+";"];return'<div style="'+m.join("")+'"></div>'}function A(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,i="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,i+=c.A.transformSupported?","+w+r:",left"+r+",top"+r),x+":"+i}function T(e,t,n){var r=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!c.A.transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=c.A.transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+w+":"+a+";":[["top",0],["left",0],[g,a]]}function E(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px");var i=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,a=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&o&&t.push("text-shadow:"+a+"px "+s+"px "+o+"px "+i),(0,u.__)(["decoration","align"],(function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)})),t.join(";")}function M(e,t,n){var r=[],i=e.get("transitionDuration"),o=e.get("backgroundColor"),a=e.get("shadowBlur"),s=e.get("shadowColor"),l=e.get("shadowOffsetX"),c=e.get("shadowOffsetY"),d=e.getModel("textStyle"),h=(0,b.CO)(e,"html"),p=l+"px "+c+"px "+a+"px "+s;return r.push("box-shadow:"+p),t&&i&&r.push(A(i,n)),o&&r.push("background-color:"+o),(0,u.__)(["width","color","radius"],(function(t){var n="border-"+t,i=(0,f.Cb)(n),o=e.get(i);null!=o&&r.push(n+":"+o+("color"===t?"":"px"))})),r.push(E(d)),null!=h&&r.push("padding:"+(0,f.QX)(h).join("px ")+"px"),r.join(";")+";"}function I(e,t,n,r,i){var o=t&&t.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,h.lJ)(e,a,document.body,r,i)}else{e[0]=r,e[1]=i;var s=o&&o.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var D=function(){function e(e,t,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,c.A.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=t.getZr(),o=this._appendToBody=n&&n.appendToBody;I(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),o?document.body.appendChild(r):e.appendChild(r),this._container=e;var a=this;r.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},r.onmousemove=function(e){if(e=e||window.event,!a._enterable){var t=i.handler,n=i.painter.getViewportRoot();(0,d.e0)(n,e,!0),t.dispatch("mousemove",e)}},r.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return e.prototype.update=function(e){var t=this._container,n=_(t,"position"),r=t.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative");var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=e.get("className")||""},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=S+M(e,!this._firstShow,this._longHide)+T(i[0],i[1],!0)+"border-color:"+(0,f.he)(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,n,r,i){var o=this.el;if(null!=e){var a="";if((0,u.Kg)(i)&&"item"===n.get("trigger")&&!p(n)&&(a=C(n,r,i)),(0,u.Kg)(e))o.innerHTML=e+a;else if(e){o.innerHTML="",(0,u.cy)(e)||(e=[e]);for(var s=0;s<e.length;s++)(0,u.n_)(e[s])&&e[s].parentNode!==o&&o.appendChild(e[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el;return[e.offsetWidth,e.offsetHeight]},e.prototype.moveTo=function(e,t){var n=this._styleCoord;if(I(n,this._zr,this._appendToBody,e,t),null!=n[0]&&null!=n[1]){var r=this.el.style,i=T(n[0],n[1]);(0,u.__)(i,(function(e){r[e[0]]=e[1]}))}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){var e=this,t=this.el.style;t.visibility="hidden",t.opacity="0",c.A.transform3dSupported&&(t.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return e._longHide=!0}),500)},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout((0,u.oI)(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},e}();const R=D;var L=n(8246),O=n(5149),P=function(){function e(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),N(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return e.prototype.update=function(e){var t=e.get("alwaysShowContent");t&&this._moveIfResized(),this._alwaysShowContent=t},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(e,t,n,r,i){var o=this;u.Gv(e)&&(0,O.$8)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new L.Ay({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,b.CO)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),u.__(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(e){o.el.style[e]=n.get(e)})),u.__(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(e){o.el.style[e]=a.get(e)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect(),n=B(e.style);return[t.width+n.left+n.right,t.height+n.top+n.bottom]},e.prototype.moveTo=function(e,t){var n=this.el;if(n){var r=this._styleCoord;N(r,this._zr,e,t),e=r[0],t=r[1];var i=n.style,o=z(i.borderWidth||0),a=B(i);n.x=e+o+a.left,n.y=t+o+a.top,n.markRedraw()}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(u.oI(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function z(e){return Math.max(0,e)}function B(e){var t=z(e.shadowBlur||0),n=z(e.shadowOffsetX||0),r=z(e.shadowOffsetY||0);return{left:z(t-n),right:z(t+n),top:z(t-r),bottom:z(t+r)}}function N(e,t,n,r){e[0]=n,e[1]=r,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}const F=P;var q=n(4018),W=n(2092),G=n(9657),V=n(7049),H=n(2555),j=n(9444),$=n(3045),U=n(3474),K=n(630),X=n(2401),Y=n(8018),Z=n(4066),Q=n(1023),J=n(8431),ee=n(4563),te=new W.A({shape:{x:-1,y:-1,width:2,height:2}}),ne=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.prototype.init=function(e,t){if(!c.A.node&&t.getDom()){var n=e.getComponent("tooltip"),r=this._renderMode=(0,K.XJ)(n.get("renderMode"));this._tooltipContent="richText"===r?new F(t):new R(t.getDom(),t,{appendToBody:n.get("appendToBody",!0)})}},t.prototype.render=function(e,t,n){if(!c.A.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n;var r=this._tooltipContent;r.update(e),r.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&e.get("transitionDuration")?(0,ee.N)(this,"_updatePosition",50,"fixRate"):(0,ee.IU)(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel,t=e.get("triggerOn");j.k("itemTooltip",this._api,(0,u.oI)((function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))}),this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api,r=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(e,t,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},t.prototype.manuallyShowTip=function(e,t,n,r){if(r.from!==this.uid&&!c.A.node&&n.getDom()){var i=ie(r,n);this._ticket="";var o=r.dataByCoordSys,a=ue(r,t,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var l=te;l.x=r.x,l.y=r.y,l.update(),(0,Z.z)(l).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:l},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var u=(0,G.A)(r,t),d=u.point[0],h=u.point[1];null!=d&&null!=h&&this._tryShow({offsetX:d,offsetY:h,target:u.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},t.prototype.manuallyHideTip=function(e,t,n,r){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(ie(r,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,r){var i=r.seriesIndex,o=r.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=t.getSeriesByIndex(i);if(s){var l=s.getData(),u=re([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}}},t.prototype._tryShow=function(e,t){var n=e.target,r=this._tooltipModel;if(r){this._lastX=e.offsetX,this._lastY=e.offsetY;var i=e.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,e);else if(n){var o,a;this._lastDataByCoordSys=null,(0,J.R)(n,(function(e){return null!=(0,Z.z)(e).dataIndex?(o=e,!0):null!=(0,Z.z)(e).tooltipConfig?(a=e,!0):void 0}),!0),o?this._showSeriesItemTooltip(e,o,t):a?this._showComponentItemTooltip(e,a,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get("showDelay");t=(0,u.oI)(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,r=this._tooltipModel,i=[t.offsetX,t.offsetY],o=re([t.tooltipOption],r),a=this._renderMode,s=[],l=(0,b.Qx)("section",{blocks:[],noHeader:!0}),c=[],d=new b.lb;(0,u.__)(e,(function(e){(0,u.__)(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),i=e.value;if(t&&null!=i){var o=U._F(i,t.axis,n,e.seriesDataIndices,e.valueLabelOpt),h=(0,b.Qx)("section",{header:o,noHeader:!(0,u.Bq)(o),sortBlocks:!0,blocks:[]});l.blocks.push(h),(0,u.__)(e.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),v=l.dataIndexInside,g=p.getDataParams(v);if(!(g.dataIndex<0)){g.axisDim=e.axisDim,g.axisIndex=e.axisIndex,g.axisType=e.axisType,g.axisId=e.axisId,g.axisValue=$.Dt(t.axis,{value:i}),g.axisValueLabel=o,g.marker=d.makeTooltipMarker("item",(0,f.he)(g.color),a);var m=(0,Q.L)(p.formatTooltip(v,!0,null)),y=m.frag;if(y){var _=re([p],r).get("valueFormatter");h.blocks.push(_?(0,u.X$)({valueFormatter:_},y):y)}m.text&&c.push(m.text),s.push(g)}}))}}))})),l.blocks.reverse(),c.reverse();var h=t.position,p=o.get("order"),v=(0,b.Yu)(l,d,a,p,n.get("useUTC"),o.get("textStyle"));v&&c.unshift(v);var g="richText"===a?"\n\n":"<br/>",m=c.join(g);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(o,h,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,m,s,Math.random()+"",i[0],i[1],h,null,d)}))},t.prototype._showSeriesItemTooltip=function(e,t,n){var r=this._ecModel,i=(0,Z.z)(t),o=i.seriesIndex,a=r.getSeriesByIndex(o),s=i.dataModel||a,l=i.dataIndex,c=i.dataType,d=s.getData(c),h=this._renderMode,p=e.positionDefault,v=re([d.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=v.get("trigger");if(null==g||"item"===g){var m=s.getDataParams(l,c),y=new b.lb;m.marker=y.makeTooltipMarker("item",(0,f.he)(m.color),h);var _=(0,Q.L)(s.formatTooltip(l,!1,c)),x=v.get("order"),w=v.get("valueFormatter"),S=_.frag,k=S?(0,b.Yu)(w?(0,u.X$)({valueFormatter:w},S):S,y,h,x,r.get("useUTC"),v.get("textStyle")):_.text,C="item_"+s.name+"_"+l;this._showOrMove(v,(function(){this._showTooltipContent(v,k,m,C,e.offsetX,e.offsetY,e.position,e.target,y)})),n({type:"showTip",dataIndexInside:l,dataIndex:d.getRawIndex(l),seriesIndex:o,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var r=(0,Z.z)(t),i=r.tooltipConfig,o=i.option||{};if((0,u.Kg)(o)){var a=o;o={content:a,formatter:a}}var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var c=e.positionDefault,d=re(s,this._tooltipModel,c?{position:c}:null),h=d.get("content"),f=Math.random()+"",p=new b.lb;this._showOrMove(d,(function(){var n=(0,u.o8)(d.get("formatterParams")||{});this._showTooltipContent(d,h,n,f,e.offsetX,e.offsetY,e.position,t,p)})),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,r,i,o,a,s,l){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent;c.setEnterable(e.get("enterable"));var d=e.get("formatter");a=a||e.get("position");var h=t,p=this._getNearestPoint([i,o],n,e.get("trigger"),e.get("borderColor")),v=p.color;if(d)if((0,u.Kg)(d)){var g=e.ecModel.get("useUTC"),m=(0,u.cy)(n)?n[0]:n,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;h=d,y&&(h=(0,Y.GP)(m.axisValue,h,g)),h=(0,f.YK)(h,n,!0)}else if((0,u.Tn)(d)){var _=(0,u.oI)((function(t,r){t===this._ticket&&(c.setContent(r,l,e,v,a),this._updatePosition(e,a,i,o,c,n,s))}),this);this._ticket=r,h=d(n,r,_)}else h=d;c.setContent(h,l,e,v,a),c.show(e,v),this._updatePosition(e,a,i,o,c,n,s)}},t.prototype._getNearestPoint=function(e,t,n,r){return"axis"===n||(0,u.cy)(t)?{color:r||("html"===this._renderMode?"#fff":"none")}:(0,u.cy)(t)?void 0:{color:r||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,n,r,i,o,a){var s=this._api.getWidth(),l=this._api.getHeight();t=t||e.get("position");var c=i.getSize(),d=e.get("align"),h=e.get("verticalAlign"),f=a&&a.getBoundingRect().clone();if(a&&f.applyTransform(a.transform),(0,u.Tn)(t)&&(t=t([n,r],o,i.el,f,{viewSize:[s,l],contentSize:c.slice()})),(0,u.cy)(t))n=(0,q.lo)(t[0],s),r=(0,q.lo)(t[1],l);else if((0,u.Gv)(t)){var v=t;v.width=c[0],v.height=c[1];var g=(0,V.dV)(v,{width:s,height:l});n=g.x,r=g.y,d=null,h=null}else if((0,u.Kg)(t)&&a){var m=se(t,f,c,e.get("borderWidth"));n=m[0],r=m[1]}else{m=oe(n,r,i,s,l,d?null:20,h?null:20);n=m[0],r=m[1]}if(d&&(n-=le(d)?c[0]/2:"right"===d?c[0]:0),h&&(r-=le(h)?c[1]/2:"bottom"===h?c[1]:0),p(e)){m=ae(n,r,i,s,l);n=m[0],r=m[1]}i.moveTo(n,r)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===e.length;return i&&(0,u.__)(n,(function(n,o){var a=n.dataByAxis||[],s=e[o]||{},l=s.dataByAxis||[];i=i&&a.length===l.length,i&&(0,u.__)(a,(function(e,n){var o=l[n]||{},a=e.seriesDataIndices||[],s=o.seriesDataIndices||[];i=i&&e.value===o.value&&e.axisType===o.axisType&&e.axisId===o.axisId&&a.length===s.length,i&&(0,u.__)(a,(function(e,t){var n=s[t];i=i&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex})),r&&(0,u.__)(e.seriesDataIndices,(function(e){var n=e.seriesIndex,o=t[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)}))}))})),this._lastDataByCoordSys=e,this._cbParamsList=t,!!i},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){!c.A.node&&t.getDom()&&((0,ee.IU)(this,"_updatePosition"),this._tooltipContent.dispose(),j.h("itemTooltip",t))},t.type="tooltip",t}(X.A);function re(e,t,n){var r,i=t.ecModel;n?(r=new H.A(n,i,i),r=new H.A(t.option,r,i)):r=t;for(var o=e.length-1;o>=0;o--){var a=e[o];a&&(a instanceof H.A&&(a=a.get("tooltip",!0)),(0,u.Kg)(a)&&(a={formatter:a}),a&&(r=new H.A(a,r,i)))}return r}function ie(e,t){return e.dispatchAction||(0,u.oI)(t.dispatchAction,t)}function oe(e,t,n,r,i,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(e+l+o+2>r?e-=l+o:e+=o),null!=a&&(t+u+a>i?t-=u+a:t+=a),[e,t]}function ae(e,t,n,r,i){var o=n.getSize(),a=o[0],s=o[1];return e=Math.min(e+a,r)-a,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function se(e,t,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+c/2-o/2;break;case"top":s=t.x+u/2-i/2,l=t.y-o-a;break;case"bottom":s=t.x+u/2-i/2,l=t.y+c+a;break;case"left":s=t.x-i-a,l=t.y+c/2-o/2;break;case"right":s=t.x+u+a,l=t.y+c/2-o/2}return[s,l]}function le(e){return"center"===e||"middle"===e}function ue(e,t,n){var r=(0,K.HB)(e).queryOptionMap,i=r.keys()[0];if(i&&"series"!==i){var o=(0,K.JO)(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(t){var n=(0,Z.z)(t).tooltipConfig;if(n&&n.name===e.name)return s=t,!0})),s?{componentMainType:i,componentIndex:a.componentIndex,el:s}:void 0}}}const ce=ne;function de(e){(0,i.Y)(r.a),e.registerComponentModel(l),e.registerComponentView(ce),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},u.lQ),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},u.lQ)}},8429:(e,t,n)=>{"use strict";n.d(t,{CO:()=>A,Qx:()=>h,Yu:()=>y,aw:()=>C,lb:()=>T});var r=n(8407),i=n(8992),o=n(2486),a=n(3629),s=n(4018),l="line-height:1";function u(e,t){var n=e.color||"#6e7079",i=e.fontSize||12,o=e.fontWeight||"400",a=e.color||"#464646",s=e.fontSize||14,l=e.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+(0,r.Me)(i+"")+"px;color:"+(0,r.Me)(n)+";font-weight:"+(0,r.Me)(o+""),valueStyle:"font-size:"+(0,r.Me)(s+"")+"px;color:"+(0,r.Me)(a)+";font-weight:"+(0,r.Me)(l+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var c=[0,10,20,30],d=["","\n","\n\n","\n\n\n"];function h(e,t){return t.type=e,t}function f(e){return"section"===e.type}function p(e){return f(e)?g:m}function v(e){if(f(e)){var t=0,n=e.blocks.length,r=n>1||n>0&&!e.noHeader;return(0,o.__)(e.blocks,(function(e){var n=v(e);n>=t&&(t=n+ +(r&&(!n||f(e)&&!e.noHeader)))})),t}return 0}function g(e,t,n,s){var c=t.noHeader,d=_(v(t)),h=[],f=t.blocks||[];(0,o.vA)(!f||(0,o.cy)(f)),f=f||[];var g=e.orderMode;if(t.sortBlocks&&g){f=f.slice();var m={valueAsc:"asc",valueDesc:"desc"};if((0,o.$3)(m,g)){var y=new a.Fl(m[g],null);f.sort((function(e,t){return y.evaluate(e.sortParam,t.sortParam)}))}else"seriesDesc"===g&&f.reverse()}(0,o.__)(f,(function(n,r){var i=t.valueFormatter,a=p(n)(i?(0,o.X$)((0,o.X$)({},e),{valueFormatter:i}):e,n,r>0?d.html:0,s);null!=a&&h.push(a)}));var x="richText"===e.renderMode?h.join(d.richText):b(h.join(""),c?n:d.html);if(c)return x;var w=(0,i.yC)(t.header,"ordinal",e.useUTC),k=u(s,e.renderMode).nameStyle;return"richText"===e.renderMode?S(e,w,k)+d.richText+x:b('<div style="'+k+";"+l+';">'+(0,r.Me)(w)+"</div>"+x,n)}function m(e,t,n,r){var a=e.renderMode,s=t.noName,l=t.noValue,c=!t.markerType,d=t.name,h=e.useUTC,f=t.valueFormatter||e.valueFormatter||function(e){return e=(0,o.cy)(e)?e:[e],(0,o.Tj)(e,(function(e,t){return(0,i.yC)(e,(0,o.cy)(g)?g[t]:g,h)}))};if(!s||!l){var p=c?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),v=s?"":(0,i.yC)(d,"ordinal",h),g=t.valueType,m=l?[]:f(t.value),y=!c||!s,_=!c&&s,C=u(r,a),A=C.nameStyle,T=C.valueStyle;return"richText"===a?(c?"":p)+(s?"":S(e,v,A))+(l?"":k(e,m,y,_,T)):b((c?"":p)+(s?"":x(v,!c,A))+(l?"":w(m,y,_,T)),n)}}function y(e,t,n,r,i,o){if(e){var a=p(e),s={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return a(s,e,0,o)}}function _(e){return{html:c[e],richText:d[e]}}function b(e,t){var n='<div style="clear:both"></div>',r="margin: "+t+"px 0 0";return'<div style="'+r+";"+l+';">'+e+n+"</div>"}function x(e,t,n){var i=t?"margin-left:2px":"";return'<span style="'+n+";"+i+'">'+(0,r.Me)(e)+"</span>"}function w(e,t,n,i){var a=n?"10px":"20px",s=t?"float:right;margin-left:"+a:"";return e=(0,o.cy)(e)?e:[e],'<span style="'+s+";"+i+'">'+(0,o.Tj)(e,(function(e){return(0,r.Me)(e)})).join("&nbsp;&nbsp;")+"</span>"}function S(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function k(e,t,n,r,i){var a=[i],s=r?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),e.markupStyleCreator.wrapRichTextStyle((0,o.cy)(t)?t.join(" "):t,a)}function C(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return(0,i.he)(r)}function A(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var T=function(){function e(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var r="richText"===n?this._generateStyleName():null,a=(0,i.qg)({color:t,type:e,renderMode:n,markerId:r});return(0,o.Kg)(a)?a:(this.richTextStyles[r]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};(0,o.cy)(t)?(0,o.__)(t,(function(e){return(0,o.X$)(n,e)})):(0,o.X$)(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}()},3045:(e,t,n)=>{"use strict";n.d(t,{f$:()=>Q,Og:()=>ne,Dt:()=>te,wq:()=>ae,j2:()=>ie,Rx:()=>X,JJ:()=>J,ry:()=>ee,af:()=>Z,PJ:()=>oe,PN:()=>se});var r=n(2486),i=n(1730),o=n(6361),a=n(4195),s=n(9763),l=function(e){function t(t){var n=e.call(this,t)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new a.A({})),(0,r.cy)(i)&&(i=new a.A({categories:(0,r.Tj)(i,(function(e){return(0,r.Gv)(e)?e.value:e}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return(0,i.C6)(t,e),t.prototype.parse=function(e){return null==e?NaN:(0,r.Kg)(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),s.lP(e,this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),s.S8(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(s.hs(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){var e=[],t=this._extent,n=t[0];while(n<=t[1])e.push({value:n}),n++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(null!=e){for(var t=e.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,t.length);i<a;++i){var s=t[i];n[i]=s,r[s]=i}for(var l=0;i<o;++i){while(null!=r[l])l++;n.push(l),r[l]=i}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},t.prototype._getTickNumber=function(e){var t=this._ticksByOrdinalNumber;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getRawOrdinalNumber=function(e){var t=this._ordinalNumbersByTick;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getLabel=function(e){if(!this.isBlank()){var t=this.getRawOrdinalNumber(e.value),n=this._ordinalMeta.categories[t];return null==n?"":n+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(o.A);o.A.registerClass(l);const u=l;var c=n(1606),d=n(4018),h="__ec_stack_";function f(e){return e.get("stack")||h+e.seriesIndex}function p(e){return e.dim+e.index}function v(e,t){var n=[];return t.eachSeriesByType(e,(function(e){b(e)&&n.push(e)})),n}function g(e){var t={};(0,r.__)(e,(function(e){var n=e.coordinateSystem,r=n.getBaseAxis();if("time"===r.type||"value"===r.type)for(var i=e.getData(),o=r.dim+"_"+r.index,a=i.getDimensionIndex(i.mapDimension(r.dim)),s=i.getStore(),l=0,u=s.count();l<u;++l){var c=s.get(a,l);t[o]?t[o].push(c):t[o]=[c]}}));var n={};for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];if(o){o.sort((function(e,t){return e-t}));for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[i]=a}}return n}function m(e){var t=g(e),n=[];return(0,r.__)(e,(function(e){var r,i=e.coordinateSystem,o=i.getBaseAxis(),a=o.getExtent();if("category"===o.type)r=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=o.dim+"_"+o.index,l=t[s],u=Math.abs(a[1]-a[0]),c=o.scale.getExtent(),h=Math.abs(c[1]-c[0]);r=l?u/h*l:u}else{var v=e.getData();r=Math.abs(a[1]-a[0])/v.count()}var g=(0,d.lo)(e.get("barWidth"),r),m=(0,d.lo)(e.get("barMaxWidth"),r),y=(0,d.lo)(e.get("barMinWidth")||(x(e)?.5:1),r),_=e.get("barGap"),b=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:g,barMaxWidth:m,barMinWidth:y,barGap:_,barCategoryGap:b,axisKey:p(o),stackId:f(e)})})),y(n)}function y(e){var t={};(0,r.__)(e,(function(e,n){var r=e.axisKey,i=e.bandWidth,o=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;t[r]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(a[s].maxWidth=u);var c=e.barMinWidth;c&&(a[s].minWidth=c);var d=e.barGap;null!=d&&(o.gap=d);var h=e.barCategoryGap;null!=h&&(o.categoryGap=h)}));var n={};return(0,r.__)(t,(function(e,t){n[t]={};var i=e.stacks,o=e.bandWidth,a=e.categoryGap;if(null==a){var s=(0,r.HP)(i).length;a=Math.max(35-4*s,15)+"%"}var l=(0,d.lo)(a,o),u=(0,d.lo)(e.gap,1),c=e.remainedWidth,h=e.autoWidthCount,f=(c-l)/(h+(h-1)*u);f=Math.max(f,0),(0,r.__)(i,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){r=e.width;t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,c-=r+u*r,h--}else{var r=f;t&&t<r&&(r=Math.min(t,c)),n&&n>r&&(r=n),r!==f&&(e.width=r,c-=r+u*r,h--)}})),f=(c-l)/(h+(h-1)*u),f=Math.max(f,0);var p,v=0;(0,r.__)(i,(function(e,t){e.width||(e.width=f),p=e,v+=e.width*(1+u)})),p&&(v-=p.width*u);var g=-v/2;(0,r.__)(i,(function(e,r){n[t][r]=n[t][r]||{bandWidth:o,offset:g,width:e.width},g+=e.width*(1+u)}))})),n}function _(e,t,n){if(e&&t){var r=e[p(t)];return null!=r&&null!=n?r[f(n)]:r}}function b(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function x(e){return e.pipelineContext&&e.pipelineContext.large}var w=n(2848),S=n(8018),k=function(e,t,n,r){while(n<r){var i=n+r>>>1;e[i][1]<t?n=i+1:r=i}return n},C=function(e){function t(t){var n=e.call(this,t)||this;return n.type="time",n}return(0,i.C6)(t,e),t.prototype.getLabel=function(e){var t=this.getSetting("useUTC");return(0,S.GP)(e.value,S.Lm[(0,S.$9)((0,S.ym)(this._minLevelUnit))]||S.Lm.second,t,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,t,n){var r=this.getSetting("useUTC"),i=this.getSetting("locale");return(0,S.X_)(e,t,n,i,r)},t.prototype.getTicks=function(){var e=this._interval,t=this._extent,n=[];if(!e)return n;n.push({value:t[0],level:0});var r=this.getSetting("useUTC"),i=O(this._minLevelUnit,this._approxInterval,r,t);return n=n.concat(i),n.push({value:t[1],level:0}),n},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=S.CZ,t[1]+=S.CZ),t[1]===-1/0&&t[0]===1/0){var n=new Date;t[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),t[0]=t[1]-S.CZ}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,t,n){e=e||10;var r=this._extent,i=r[1]-r[0];this._approxInterval=i/e,null!=t&&this._approxInterval<t&&(this._approxInterval=t),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=A.length,a=Math.min(k(A,this._approxInterval,0,o),o-1);this._interval=A[a][1],this._minLevelUnit=A[Math.max(a-1,0)][0]},t.prototype.parse=function(e){return(0,r.Et)(e)?e:+d._U(e)},t.prototype.contain=function(e){return s.lP(this.parse(e),this._extent)},t.prototype.normalize=function(e){return s.S8(this.parse(e),this._extent)},t.prototype.scale=function(e){return s.hs(e,this._extent)},t.type="time",t}(c.A),A=[["second",S.OY],["minute",S.iW],["hour",S.MA],["quarter-day",6*S.MA],["half-day",12*S.MA],["day",1.2*S.CZ],["half-week",3.5*S.CZ],["week",7*S.CZ],["month",31*S.CZ],["quarter",95*S.CZ],["half-year",S.$H/2],["year",S.$H]];function T(e,t,n,r){var i=d._U(t),o=d._U(n),a=function(e){return(0,S.g0)(i,e,r)===(0,S.g0)(o,e,r)},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")},f=function(){return h()&&a("second")},p=function(){return f()&&a("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return h();case"second":return f();case"millisecond":return p()}}function E(e,t){return e/=S.CZ,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function M(e){var t=30*S.CZ;return e/=t,e>6?6:e>3?3:e>2?2:1}function I(e){return e/=S.MA,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function D(e,t){return e/=t?S.iW:S.OY,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function R(e){return d.Cm(e,!0)}function L(e,t,n){var r=new Date(e);switch((0,S.ym)(t)){case"year":case"month":r[(0,S.xu)(n)](0);case"day":r[(0,S.ti)(n)](1);case"hour":r[(0,S.Yd)(n)](0);case"minute":r[(0,S.KF)(n)](0);case"second":r[(0,S.ww)(n)](0),r[(0,S.FP)(n)](0)}return r.getTime()}function O(e,t,n,i){var o=1e4,a=S.F7,s=0;function l(e,t,n,r,o,a,s){var l=new Date(t),u=t,c=l[r]();while(u<n&&u<=i[1])s.push({value:u}),c+=e,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function u(e,r,o){var a=[],s=!r.length;if(!T((0,S.ym)(e),i[0],i[1],n)){s&&(r=[{value:L(new Date(i[0]),e,n)},{value:i[1]}]);for(var u=0;u<r.length-1;u++){var c=r[u].value,d=r[u+1].value;if(c!==d){var h=void 0,f=void 0,p=void 0,v=!1;switch(e){case"year":h=Math.max(1,Math.round(t/S.CZ/365)),f=(0,S.hY)(n),p=(0,S.tM)(n);break;case"half-year":case"quarter":case"month":h=M(t),f=(0,S.jJ)(n),p=(0,S.xu)(n);break;case"week":case"half-week":case"day":h=E(t,31),f=(0,S.bP)(n),p=(0,S.ti)(n),v=!0;break;case"half-day":case"quarter-day":case"hour":h=I(t),f=(0,S.iC)(n),p=(0,S.Yd)(n);break;case"minute":h=D(t,!0),f=(0,S.yB)(n),p=(0,S.KF)(n);break;case"second":h=D(t,!1),f=(0,S.Wf)(n),p=(0,S.ww)(n);break;case"millisecond":h=R(t),f=(0,S.Zz)(n),p=(0,S.FP)(n);break}l(h,c,d,f,p,v,a),"year"===e&&o.length>1&&0===u&&o.unshift({value:o[0].value-h})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var c=[],d=[],h=0,f=0,p=0;p<a.length&&s++<o;++p){var v=(0,S.ym)(a[p]);if((0,S.ce)(a[p])){u(a[p],c[c.length-1]||[],d);var g=a[p+1]?(0,S.ym)(a[p+1]):null;if(v!==g){if(d.length){f=h,d.sort((function(e,t){return e.value-t.value}));for(var m=[],y=0;y<d.length;++y){var _=d[y].value;0!==y&&d[y-1].value===_||(m.push(d[y]),_>=i[0]&&_<=i[1]&&h++)}var b=(i[1]-i[0])/t;if(h>1.5*b&&f>b/1.5)break;if(c.push(m),h>b||e===a[p])break}d=[]}}}var x=(0,r.pb)((0,r.Tj)(c,(function(e){return(0,r.pb)(e,(function(e){return e.value>=i[0]&&e.value<=i[1]&&!e.notAdd}))})),(function(e){return e.length>0})),w=[],k=x.length-1;for(p=0;p<x.length;++p)for(var C=x[p],A=0;A<C.length;++A)w.push({value:C[A].value,level:k-p});w.sort((function(e,t){return e.value-t.value}));var O=[];for(p=0;p<w.length;++p)0!==p&&w[p].value===w[p-1].value||O.push(w[p]);return O}o.A.registerClass(C);const P=C;var z=o.A.prototype,B=c.A.prototype,N=d.LI,F=Math.floor,q=Math.ceil,W=Math.pow,G=Math.log,V=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new c.A,t._interval=0,t}return(0,i.C6)(t,e),t.prototype.getTicks=function(e){var t=this._originalScale,n=this._extent,i=t.getExtent(),o=B.getTicks.call(this,e);return r.Tj(o,(function(e){var t=e.value,r=d.LI(W(this.base,t));return r=t===n[0]&&this._fixMin?j(r,i[0]):r,r=t===n[1]&&this._fixMax?j(r,i[1]):r,{value:r}}),this)},t.prototype.setExtent=function(e,t){var n=G(this.base);e=G(Math.max(0,e))/n,t=G(Math.max(0,t))/n,B.setExtent.call(this,e,t)},t.prototype.getExtent=function(){var e=this.base,t=z.getExtent.call(this);t[0]=W(e,t[0]),t[1]=W(e,t[1]);var n=this._originalScale,r=n.getExtent();return this._fixMin&&(t[0]=j(t[0],r[0])),this._fixMax&&(t[1]=j(t[1],r[1])),t},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=G(e[0])/G(t),e[1]=G(e[1])/G(t),z.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.calcNiceTicks=function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r=d.au(n),i=e/n*r;i<=.5&&(r*=10);while(!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0)r*=10;var o=[d.LI(q(t[0]/r)*r),d.LI(F(t[1]/r)*r)];this._interval=r,this._niceExtent=o}},t.prototype.calcNiceExtent=function(e){B.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=G(e)/G(this.base),s.lP(e,this._extent)},t.prototype.normalize=function(e){return e=G(e)/G(this.base),s.S8(e,this._extent)},t.prototype.scale=function(e){return e=s.hs(e,this._extent),W(this.base,e)},t.type="log",t}(o.A),H=V.prototype;function j(e,t){return N(e,d.XV(t))}H.getMinorTicks=B.getMinorTicks,H.getLabel=B.getLabel,o.A.registerClass(V);const $=V;var U=n(6279),K=n(2978);function X(e,t){var n=e.type,i=(0,K.Tc)(e,t,e.getExtent()).calculate();e.setBlank(i.isBlank);var o=i.min,a=i.max,s=t.ecModel;if(s&&"time"===n){var l=v("bar",s),u=!1;if(r.__(l,(function(e){u=u||e.getBaseAxis()===t.axis})),u){var c=m(l),d=Y(o,a,t,c);o=d.min,a=d.max}}return{extent:[o,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function Y(e,t,n,i){var o=n.axis.getExtent(),a=o[1]-o[0],s=_(i,n.axis);if(void 0===s)return{min:e,max:t};var l=1/0;r.__(s,(function(e){l=Math.min(e.offset,l)}));var u=-1/0;r.__(s,(function(e){u=Math.max(e.offset+e.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,d=t-e,h=1-(l+u)/a,f=d/h-d;return t+=f*(u/c),e-=f*(l/c),{min:e,max:t}}function Z(e,t){var n=t,r=X(e,n),i=r.extent,o=n.get("splitNumber");e instanceof $&&(e.base=n.get("logBase"));var a=e.type,s=n.get("interval"),l="interval"===a||"time"===a;e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&e.setInterval&&e.setInterval(s)}function Q(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new u({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new P({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(o.A.getClass(t)||c.A)}}function J(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function ee(e){var t=e.getLabelModel().get("formatter"),n="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?function(t){return function(n,r){return e.scale.getFormattedLabel(n,r,t)}}(t):r.Kg(t)?function(t){return function(n){var r=e.scale.getLabel(n),i=t.replace("{value}",null!=r?r:"");return i}}(t):r.Tn(t)?function(t){return function(r,i){return null!=n&&(i=r.value-n),t(te(e,r),i,null!=r.level?{level:r.level}:null)}}(t):function(t){return e.scale.getLabel(t)}}function te(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function ne(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,i,o=n.getExtent();n instanceof u?i=n.count():(r=n.getTicks(),i=r.length);var a,s=e.getLabelModel(),l=ee(e),c=1;i>40&&(c=Math.ceil(i/40));for(var d=0;d<i;d+=c){var h=r?r[d]:{value:o[0]+d},f=l(h,d),p=s.getTextRect(f),v=re(p,s.get("rotate")||0);a?a.union(v):a=v}return a}}function re(e,t){var n=t*Math.PI/180,r=e.width,i=e.height,o=r*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),a=r*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n)),s=new w.A(e.x,e.y,o,a);return s}function ie(e){var t=e.get("interval");return null==t?"auto":t}function oe(e){return"category"===e.type&&0===ie(e.getLabelModel())}function ae(e,t){var n={};return r.__(e.mapDimensionsAll(t),(function(t){n[(0,U.me)(e,t)]=!0})),r.HP(n)}function se(e,t,n){t&&r.__(ae(t,n),(function(n){var r=t.getApproximateExtent(n);r[0]<e[0]&&(e[0]=r[0]),r[1]>e[1]&&(e[1]=r[1])}))}},9242:(e,t,n)=>{"use strict";n.d(t,{LR:()=>s,Zp:()=>o,gO:()=>a});var r=n(2486),i=n(630);function o(e,t,n){n=n||{};var i=e.coordinateSystem,o=t.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,c=o.dim,d=i.getRect(),h=[d.x,d.x+d.width,d.y,d.y+d.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,v="x"===c?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(s){var g=s.toGlobalCoord(s.dataToCoord(0));v[f.onZero]=Math.max(Math.min(g,v[1]),v[0])}a.position=["y"===c?v[f[u]]:h[0],"x"===c?v[f[u]]:h[3]],a.rotation=Math.PI/2*("x"===c?0:1);var m={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=m[l],a.labelOffset=s?v[f[l]]-v[f.onZero]:0,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),r.Je(n.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var y=t.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-y:y,a.z2=1,a}function a(e){return"cartesian2d"===e.get("coordinateSystem")}function s(e){var t={xAxisModel:null,yAxisModel:null};return r.__(t,(function(n,r){var o=r.replace(/Model$/,""),a=e.getReferringComponents(o,i.US).models[0];t[r]=a})),t}},2978:(e,t,n)=>{"use strict";n.d(t,{Tc:()=>l});var r=n(2486),i=n(2586),o=function(){function e(e,t,n){this._prepareParams(e,t,n)}return e.prototype._prepareParams=function(e,t,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var o=this._isOrdinal="ordinal"===e.type;this._needCrossZero="interval"===e.type&&t.getNeedCrossZero&&t.getNeedCrossZero();var a=this._modelMinRaw=t.get("min",!0);(0,r.Tn)(a)?this._modelMinNum=u(e,a({min:n[0],max:n[1]})):"dataMin"!==a&&(this._modelMinNum=u(e,a));var s=this._modelMaxRaw=t.get("max",!0);if((0,r.Tn)(s)?this._modelMaxNum=u(e,s({min:n[0],max:n[1]})):"dataMax"!==s&&(this._modelMaxNum=u(e,s)),o)this._axisDataLen=t.getCategories().length;else{var l=t.get("boundaryGap"),c=(0,r.cy)(l)?l:[l||0,l||0];"boolean"===typeof c[0]||"boolean"===typeof c[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,i.lo)(c[0],1),(0,i.lo)(c[1],1)]}},e.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,n=this._dataMax,i=this._axisDataLen,o=this._boundaryGapInner,a=e?null:n-t||Math.abs(t),s="dataMin"===this._modelMinRaw?t:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=s,c=null!=l;null==s&&(s=e?i?0:NaN:t-o[0]*a),null==l&&(l=e?i?i-1:NaN:n+o[1]*a),(null==s||!isFinite(s))&&(s=NaN),(null==l||!isFinite(l))&&(l=NaN);var d=(0,r.Yp)(s)||(0,r.Yp)(l)||e&&!i;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var h=this._determinedMin,f=this._determinedMax;return null!=h&&(s=h,u=!0),null!=f&&(l=f,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:d}},e.prototype.modifyDataMinMax=function(e,t){this[s[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){var n=a[e];this[n]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(e,t,n){var r=e.rawExtentInfo;return r||(r=new o(e,t,n),e.rawExtentInfo=r,r)}function u(e,t){return null==t?null:(0,r.Yp)(t)?NaN:e.parse(t)}},7717:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(2486),i={},o=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(e,t){var n=[];r.__(i,(function(r,i){var o=r.create(e,t);n=n.concat(o||[])})),this._coordinateSystems=n},e.prototype.update=function(e,t){r.__(this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(e,t){i[e]=t},e.get=function(e){return i[e]},e}();const a=o},659:(e,t,n)=>{"use strict";n.d(t,{FQ:()=>Kt,Ts:()=>Gn,OH:()=>Yn,pX:()=>Zn,Oh:()=>Qn,Ej:()=>nr,mz:()=>rr,cf:()=>Un,tb:()=>Kn,lP:()=>jn,qg:()=>$n,iY:()=>ir,xV:()=>Xn,AF:()=>Jn});var r=n(1730),i=n(7332),o=n(2486),a=n(4047),s=n(4074),l=n(6105),u=n(630),c=n(2555),d=n(5487),h="";"undefined"!==typeof navigator&&(h=navigator.platform||"");var f="rgba(0, 0, 0, 0.2)";const p={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:f,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:f,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:f,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:f,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:f,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:f,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:h.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};var v,g,m,y=n(891),_=n(6078),b=n(1217),x="\0_ec_inner",w=1;var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.init=function(e,t,n,r,i,o){r=r||{},this.option=null,this._theme=new c.A(r),this._locale=new c.A(i),this._optionManager=o},t.prototype.setOption=function(e,t,n){var r=E(t);this._optionManager.setOption(e,n,r),this._resetOption(null,r)},t.prototype.resetOption=function(e,t){return this._resetOption(e,E(t))},t.prototype._resetOption=function(e,t){var n=!1,r=this._optionManager;if(!e||"recreate"===e){var i=r.mountOption("recreate"===e);0,this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(i,t)):m(this,i),n=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var a=r.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,t))}if(!e||"recreate"===e||"media"===e){var s=r.getMediaOption(this);s.length&&(0,o.__)(s,(function(e){n=!0,this._mergeOption(e,t)}),this)}return n},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,t){var n=this.option,r=this._componentsMap,i=this._componentsCount,a=[],s=(0,o.nt)(),l=t&&t.replaceMergeMainTypeMap;function c(t){var a=(0,_.a)(this,t,u.qB(e[t])),s=r.get(t),c=s?l&&l.get(t)?"replaceMerge":"normalMerge":"replaceAll",h=u.O2(s,a,c);u.GX(h,t,d.A),n[t]=null,r.set(t,null),i.set(t,0);var f,p=[],g=[],m=0;(0,o.__)(h,(function(e,n){var r=e.existing,i=e.newOption;if(i){var a="series"===t,s=d.A.getClass(t,e.keyInfo.subType,!a);if(!s)return;if("tooltip"===t){if(f)return void 0;f=!0}if(r&&r.constructor===s)r.name=e.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1);else{var l=(0,o.X$)({componentIndex:n},e.keyInfo);r=new s(i,this,this,l),(0,o.X$)(r,l),e.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(p.push(r.option),g.push(r),m++):(p.push(void 0),g.push(void 0))}),this),n[t]=p,r.set(t,g),i.set(t,m),"series"===t&&v(this)}(0,y.ps)(this),(0,o.__)(e,(function(e,t){null!=e&&(d.A.hasClass(t)?t&&(a.push(t),s.set(t,!0)):n[t]=null==n[t]?(0,o.o8)(e):(0,o.h1)(n[t],e,!0))})),l&&l.each((function(e,t){d.A.hasClass(t)&&!s.get(t)&&(a.push(t),s.set(t,!0))})),d.A.topologicalTravel(a,d.A.getAllClassMainTypes(),c,this),this._seriesIndices||v(this)},t.prototype.getOption=function(){var e=(0,o.o8)(this.option);return(0,o.__)(e,(function(t,n){if(d.A.hasClass(n)){for(var r=u.qB(t),i=r.length,o=!1,a=i-1;a>=0;a--)r[a]&&!u.oh(r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,e[n]=r}})),delete e[x],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(null==t)for(var i=0;i<n.length;i++)if(n[i])return n[i]}},t.prototype.queryComponents=function(e){var t=e.mainType;if(!t)return[];var n,r=e.index,i=e.id,a=e.name,s=this._componentsMap.get(t);return s&&s.length?(null!=r?(n=[],(0,o.__)(u.qB(r),(function(e){s[e]&&n.push(s[e])}))):n=null!=i?A("id",i,s):null!=a?A("name",a,s):(0,o.pb)(s,(function(e){return!!e})),T(n,e)):[]},t.prototype.findComponents=function(e){var t=e.query,n=e.mainType,r=a(t),i=r?this.queryComponents(r):(0,o.pb)(this._componentsMap.get(n),(function(e){return!!e}));return s(T(i,e));function a(e){var t=n+"Index",r=n+"Id",i=n+"Name";return!e||null==e[t]&&null==e[r]&&null==e[i]?null:{mainType:n,index:e[t],id:e[r],name:e[i]}}function s(t){return e.filter?(0,o.pb)(t,e.filter):t}},t.prototype.eachComponent=function(e,t,n){var r=this._componentsMap;if((0,o.Tn)(e)){var i=t,a=e;r.each((function(e,t){for(var n=0;e&&n<e.length;n++){var r=e[n];r&&a.call(i,t,r,r.componentIndex)}}))}else for(var s=(0,o.Kg)(e)?r.get(e):(0,o.Gv)(e)?this.findComponents(e):null,l=0;s&&l<s.length;l++){var u=s[l];u&&t.call(n,u,u.componentIndex)}},t.prototype.getSeriesByName=function(e){var t=u.vS(e,null);return(0,o.pb)(this._componentsMap.get("series"),(function(e){return!!e&&null!=t&&e.name===t}))},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return(0,o.pb)(this._componentsMap.get("series"),(function(t){return!!t&&t.subType===e}))},t.prototype.getSeries=function(){return(0,o.pb)(this._componentsMap.get("series"),(function(e){return!!e}))},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,t){g(this),(0,o.__)(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];e.call(t,r,n)}),this)},t.prototype.eachRawSeries=function(e,t){(0,o.__)(this._componentsMap.get("series"),(function(n){n&&e.call(t,n,n.componentIndex)}))},t.prototype.eachSeriesByType=function(e,t,n){g(this),(0,o.__)(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===e&&t.call(n,i,r)}),this)},t.prototype.eachRawSeriesByType=function(e,t,n){return(0,o.__)(this.getSeriesByType(e),t,n)},t.prototype.isSeriesFiltered=function(e){return g(this),null==this._seriesIndicesMap.get(e.componentIndex)},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,t){g(this);var n=[];(0,o.__)(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];e.call(t,i,r)&&n.push(r)}),this),this._seriesIndices=n,this._seriesIndicesMap=(0,o.nt)(n)},t.prototype.restoreData=function(e){v(this);var t=this._componentsMap,n=[];t.each((function(e,t){d.A.hasClass(t)&&n.push(t)})),d.A.topologicalTravel(n,d.A.getAllClassMainTypes(),(function(n){(0,o.__)(t.get(n),(function(t){!t||"series"===n&&k(t,e)||t.restoreData()}))}))},t.internalField=function(){v=function(e){var t=e._seriesIndices=[];(0,o.__)(e._componentsMap.get("series"),(function(e){e&&t.push(e.componentIndex)})),e._seriesIndicesMap=(0,o.nt)(t)},g=function(e){0},m=function(e,t){e.option={},e.option[x]=w,e._componentsMap=(0,o.nt)({series:[]}),e._componentsCount=(0,o.nt)();var n=t.aria;(0,o.Gv)(n)&&null==n.enabled&&(n.enabled=!0),C(t,e._theme.option),(0,o.h1)(t,p,!1),e._mergeOption(t,null)}}(),t}(c.A);function k(e,t){if(t){var n=t.seriesIndex,r=t.seriesId,i=t.seriesName;return null!=n&&e.componentIndex!==n||null!=r&&e.id!==r||null!=i&&e.name!==i}}function C(e,t){var n=e.color&&!e.colorLayer;(0,o.__)(t,(function(t,r){"colorLayer"===r&&n||d.A.hasClass(r)||("object"===typeof t?e[r]=e[r]?(0,o.h1)(e[r],t,!1):(0,o.o8)(t):null==e[r]&&(e[r]=t))}))}function A(e,t,n){if((0,o.cy)(t)){var r=(0,o.nt)();return(0,o.__)(t,(function(e){if(null!=e){var t=u.vS(e,null);null!=t&&r.set(e,!0)}})),(0,o.pb)(n,(function(t){return t&&r.get(t[e])}))}var i=u.vS(t,null);return(0,o.pb)(n,(function(t){return t&&null!=i&&t[e]===i}))}function T(e,t){return t.hasOwnProperty("subType")?(0,o.pb)(e,(function(e){return e&&e.subType===t.subType})):e}function E(e){var t=(0,o.nt)();return e&&(0,o.__)(u.qB(e.replaceMerge),(function(e){t.set(e,!0)})),{replaceMergeMainTypeMap:t}}(0,o.co)(S,b.X);const M=S;var I=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],D=function(){function e(e){o.__(I,(function(t){this[t]=o.oI(e[t],e)}),this)}return e}();const R=D;var L=n(7717),O=/^(min|max)?(.+)$/,P=function(){function e(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return e.prototype.setOption=function(e,t,n){e&&((0,o.__)((0,u.qB)(e.series),(function(e){e&&e.data&&(0,o.iu)(e.data)&&(0,o.En)(e.data)})),(0,o.__)((0,u.qB)(e.dataset),(function(e){e&&e.source&&(0,o.iu)(e.source)&&(0,o.En)(e.source)}))),e=(0,o.o8)(e);var r=this._optionBackup,i=z(e,t,!r);this._newBaseOption=i.baseOption,r?(i.timelineOptions.length&&(r.timelineOptions=i.timelineOptions),i.mediaList.length&&(r.mediaList=i.mediaList),i.mediaDefault&&(r.mediaDefault=i.mediaDefault)):this._optionBackup=i},e.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],(0,o.o8)(e?t.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(e){var t,n=this._timelineOptions;if(n.length){var r=e.getComponent("timeline");r&&(t=(0,o.o8)(n[r.getCurrentIndex()]))}return t},e.prototype.getMediaOption=function(e){var t=this._api.getWidth(),n=this._api.getHeight(),r=this._mediaList,i=this._mediaDefault,a=[],s=[];if(!r.length&&!i)return s;for(var l=0,u=r.length;l<u;l++)B(r[l].query,t,n)&&a.push(l);return!a.length&&i&&(a=[-1]),a.length&&!F(a,this._currentMediaIndices)&&(s=(0,o.Tj)(a,(function(e){return(0,o.o8)(-1===e?i.option:r[e].option)}))),this._currentMediaIndices=a,s},e}();function z(e,t,n){var r,i,a=[],s=e.baseOption,l=e.timeline,u=e.options,c=e.media,d=!!e.media,h=!!(u||l||s&&s.timeline);function f(e){(0,o.__)(t,(function(t){t(e,n)}))}return s?(i=s,i.timeline||(i.timeline=l)):((h||d)&&(e.options=e.media=null),i=e),d&&(0,o.cy)(c)&&(0,o.__)(c,(function(e){e&&e.option&&(e.query?a.push(e):r||(r=e))})),f(i),(0,o.__)(u,(function(e){return f(e)})),(0,o.__)(a,(function(e){return f(e.option)})),{baseOption:i,timelineOptions:u||[],mediaDefault:r,mediaList:a}}function B(e,t,n){var r={width:t,height:n,aspectratio:t/n},i=!0;return(0,o.__)(e,(function(e,t){var n=t.match(O);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();N(r[a],e,o)||(i=!1)}})),i}function N(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t}function F(e,t){return e.join(",")===t.join(",")}const q=P;var W=o.__,G=o.Gv,V=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function H(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=V.length;n<r;n++){var i=V[n],a=t.normal,s=t.emphasis;a&&a[i]&&(e[i]=e[i]||{},e[i].normal?o.h1(e[i].normal,a[i]):e[i].normal=a[i],a[i]=null),s&&s[i]&&(e[i]=e[i]||{},e[i].emphasis?o.h1(e[i].emphasis,s[i]):e[i].emphasis=s[i],s[i]=null)}}function j(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var r=e[t].normal,i=e[t].emphasis;r&&(n?(e[t].normal=e[t].emphasis=null,o.NT(e[t],r)):e[t]=r),i&&(e.emphasis=e.emphasis||{},e.emphasis[t]=i,i.focus&&(e.emphasis.focus=i.focus),i.blurScope&&(e.emphasis.blurScope=i.blurScope))}}function $(e){j(e,"itemStyle"),j(e,"lineStyle"),j(e,"areaStyle"),j(e,"label"),j(e,"labelLine"),j(e,"upperLabel"),j(e,"edgeLabel")}function U(e,t){var n=G(e)&&e[t],r=G(n)&&n.textStyle;if(r){0;for(var i=0,o=u.JS.length;i<o;i++){var a=u.JS[i];r.hasOwnProperty(a)&&(n[a]=r[a])}}}function K(e){e&&($(e),U(e,"label"),e.emphasis&&U(e.emphasis,"label"))}function X(e){if(G(e)){H(e),$(e),U(e,"label"),U(e,"upperLabel"),U(e,"edgeLabel"),e.emphasis&&(U(e.emphasis,"label"),U(e.emphasis,"upperLabel"),U(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(H(t),K(t));var n=e.markLine;n&&(H(n),K(n));var r=e.markArea;r&&K(r);var i=e.data;if("graph"===e.type){i=i||e.nodes;var a=e.links||e.edges;if(a&&!o.iu(a))for(var s=0;s<a.length;s++)K(a[s]);o.__(e.categories,(function(e){$(e)}))}if(i&&!o.iu(i))for(s=0;s<i.length;s++)K(i[s]);if(t=e.markPoint,t&&t.data){var l=t.data;for(s=0;s<l.length;s++)K(l[s])}if(n=e.markLine,n&&n.data){var u=n.data;for(s=0;s<u.length;s++)o.cy(u[s])?(K(u[s][0]),K(u[s][1])):K(u[s])}"gauge"===e.type?(U(e,"axisLabel"),U(e,"title"),U(e,"detail")):"treemap"===e.type?(j(e.breadcrumb,"itemStyle"),o.__(e.levels,(function(e){$(e)}))):"tree"===e.type&&$(e.leaves)}}function Y(e){return o.cy(e)?e:e?[e]:[]}function Z(e){return(o.cy(e)?e[0]:e)||{}}function Q(e,t){W(Y(e.series),(function(e){G(e)&&X(e)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),W(n,(function(t){W(Y(e[t]),(function(e){e&&(U(e,"axisLabel"),U(e.axisPointer,"label"))}))})),W(Y(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;U(t,"axisLabel"),U(t&&t.axisPointer,"label")})),W(Y(e.calendar),(function(e){j(e,"itemStyle"),U(e,"dayLabel"),U(e,"monthLabel"),U(e,"yearLabel")})),W(Y(e.radar),(function(e){U(e,"name"),e.name&&null==e.axisName&&(e.axisName=e.name,delete e.name),null!=e.nameGap&&null==e.axisNameGap&&(e.axisNameGap=e.nameGap,delete e.nameGap)})),W(Y(e.geo),(function(e){G(e)&&(K(e),W(Y(e.regions),(function(e){K(e)})))})),W(Y(e.timeline),(function(e){K(e),j(e,"label"),j(e,"itemStyle"),j(e,"controlStyle",!0);var t=e.data;o.cy(t)&&o.__(t,(function(e){o.Gv(e)&&(j(e,"label"),j(e,"itemStyle"))}))})),W(Y(e.toolbox),(function(e){j(e,"iconStyle"),W(e.feature,(function(e){j(e,"iconStyle")}))})),U(Z(e.axisPointer),"label"),U(Z(e.tooltip).axisPointer,"label")}function J(e,t){for(var n=t.split(","),r=e,i=0;i<n.length;i++)if(r=r&&r[n[i]],null==r)break;return r}function ee(e,t,n,r){for(var i,o=t.split(","),a=e,s=0;s<o.length-1;s++)i=o[s],null==a[i]&&(a[i]={}),a=a[i];(r||null==a[o[s]])&&(a[o[s]]=n)}function te(e){e&&(0,o.__)(ne,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var ne=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],re=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],ie=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function oe(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<ie.length;n++){var r=ie[n][1],i=ie[n][0];null!=t[r]&&(t[i]=t[r])}}function ae(e){e&&"edge"===e.alignTo&&null!=e.margin&&null==e.edgeDistance&&(e.edgeDistance=e.margin)}function se(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function le(e){e&&null!=e.focusNodeAdjacency&&(e.emphasis=e.emphasis||{},null==e.emphasis.focus&&(e.emphasis.focus="adjacency"))}function ue(e,t){if(e)for(var n=0;n<e.length;n++)t(e[n]),e[n]&&ue(e[n].children,t)}function ce(e,t){Q(e,t),e.series=(0,u.qB)(e.series),(0,o.__)(e.series,(function(e){if((0,o.Gv)(e)){var t=e.type;if("line"===t)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===t||"gauge"===t){null!=e.clockWise&&(e.clockwise=e.clockWise),ae(e.label);var n=e.data;if(n&&!(0,o.iu)(n))for(var r=0;r<n.length;r++)ae(n[r]);null!=e.hoverOffset&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if("gauge"===t){var i=J(e,"pointer.color");null!=i&&ee(e,"itemStyle.color",i)}else if("bar"===t){oe(e),oe(e.backgroundStyle),oe(e.emphasis);n=e.data;if(n&&!(0,o.iu)(n))for(r=0;r<n.length;r++)"object"===typeof n[r]&&(oe(n[r]),oe(n[r]&&n[r].emphasis))}else if("sunburst"===t){var a=e.highlightPolicy;a&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=a)),se(e),ue(e.data,se)}else"graph"===t||"sankey"===t?le(e):"map"===t&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&(0,o.NT)(e,e.mapLocation));null!=e.hoverAnimation&&(e.emphasis=e.emphasis||{},e.emphasis&&null==e.emphasis.scale&&(e.emphasis.scale=e.hoverAnimation)),te(e)}})),e.dataRange&&(e.visualMap=e.dataRange),(0,o.__)(re,(function(t){var n=e[t];n&&((0,o.cy)(n)||(n=[n]),(0,o.__)(n,(function(e){te(e)})))}))}var de=n(4018);function he(e){var t=(0,o.nt)();e.eachSeries((function(e){var n=e.get("stack");if(n){var r=t.get(n)||t.set(n,[]),i=e.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}})),t.each(fe)}function fe(e){(0,o.__)(e,(function(t,n){var r=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var d,h,f=a.get(t.stackedDimension,c);if(isNaN(f))return i;s?h=a.getRawIndex(c):d=a.get(t.stackedByDimension,c);for(var p=NaN,v=n-1;v>=0;v--){var g=e[v];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,d)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if("all"===l||"positive"===l&&m>0||"negative"===l&&m<0||"samesign"===l&&f>=0&&m>0||"samesign"===l&&f<=0&&m<0){f=(0,de.Tr)(f,m),p=m;break}}}return r[0]=f,r[1]=p,r}))}))}var pe=n(9643),ve=n(2401),ge=n(9174),me=n(2092),ye=n(7744),_e=n(7178),be=n(8874),xe=n(4066),we=n(1797),Se=n(4563),ke=n(7356),Ce=n(4262),Ae=n(4273),Te=(0,u.$r)(),Ee={itemStyle:(0,ke.A)(Ce.L,!0),lineStyle:(0,ke.A)(Ae.m,!0)},Me={lineStyle:"stroke",itemStyle:"fill"};function Ie(e,t){var n=e.visualStyleMapper||Ee[t];return n||(console.warn("Unknown style type '"+t+"'."),Ee.itemStyle)}function De(e,t){var n=e.visualDrawType||Me[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var Re={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),a=Ie(e,r),s=a(i),l=i.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var u=De(e,r),c=s[u],d=(0,o.Tn)(c)?c:null,h="auto"===s.fill||"auto"===s.stroke;if(!s[u]||d||h){var f=e.getColorFromPalette(e.name,null,t.getSeriesCount());s[u]||(s[u]=f,n.setVisual("colorFromPalette",!0)),s.fill="auto"===s.fill||(0,o.Tn)(s.fill)?f:s.fill,s.stroke="auto"===s.stroke||(0,o.Tn)(s.stroke)?f:s.stroke}if(n.setVisual("style",s),n.setVisual("drawType",u),!t.isSeriesFiltered(e)&&d)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var r=e.getDataParams(n),i=(0,o.X$)({},s);i[u]=d(r),t.setItemVisual(n,"style",i)}}}},Le=new c.A,Oe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=Ie(e,r),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[r]){Le.option=n[r];var s=i(Le),l=e.ensureUniqueItemVisual(t,"style");(0,o.X$)(l,s),Le.option.decal&&(e.setItemVisual(t,"decal",Le.option.decal),Le.option.decal.dirty=!0),a in s&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},Pe={performRawSeries:!0,overallReset:function(e){var t=(0,o.nt)();e.eachSeries((function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var r=e.type+"-"+n,i=t.get(r);i||(i={},t.set(r,i)),Te(e).scope=i}})),e.eachSeries((function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var n=t.getRawData(),r={},i=t.getData(),o=Te(t).scope,a=t.visualStyleAccessPath||"itemStyle",s=De(t,a);i.each((function(e){var t=i.getRawIndex(e);r[t]=e})),n.each((function(e){var a=r[e],l=i.getItemVisual(a,"colorFromPalette");if(l){var u=i.ensureUniqueItemVisual(a,"style"),c=n.getName(e)||e+"",d=n.count();u[s]=t.getColorFromPalette(c,o,d)}}))}}))}},ze=n(354),Be=n(8246),Ne=n(2891),Fe=Math.PI;function qe(e,t){t=t||{},o.NT(t,{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 ze.A,r=new me.A({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i,a=new Be.Ay({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),s=new me.A({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return n.add(s),t.showSpinner&&(i=new Ne.A({shape:{startAngle:-Fe/2,endAngle:-Fe/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),i.animateShape(!0).when(1e3,{endAngle:3*Fe/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*Fe/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=a.getBoundingRect().width,o=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-2*o-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner&&n?0:5+n/2)+(t.showSpinner?0:n/2)+(n?0:o),u=e.getHeight()/2;t.showSpinner&&i.setShape({cx:l,cy:u}),s.setShape({x:l-o,y:u-o,width:2*o,height:2*o}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var We=n(3699),Ge=n(8660),Ve=function(){function e(e,t,n,r){this._stageTaskMap=(0,o.nt)(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex,o=i?n.step:null,a=r&&r.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData(),i=r.count(),o=n.progressiveEnabled&&t.incrementalPrepareRender&&i>=n.threshold,a=e.get("large")&&i>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?i:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=(0,o.nt)();e.eachSeries((function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),t._pipe(e,e.dataTask)}))},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;(0,o.__)(this._allHandlers,(function(r){var i=e.get(r.uid)||e.set(r.uid,{}),a="";(0,o.vA)(!(r.reset&&r.overallReset),a),r.reset&&this._createSeriesStageTask(r,i,t,n),r.overallReset&&this._createOverallStageTask(r,i,t,n)}),this)},e.prototype.prepareView=function(e,t,n,r){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=n,o.api=r,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},e.prototype._performStageTasks=function(e,t,n,r){r=r||{};var i=!1,a=this;function s(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}(0,o.__)(e,(function(e,o){if(!r.visualType||r.visualType===e.visualType){var l=a._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var d,h=c.agentStubMap;h.each((function(e){s(r,e)&&(e.dirty(),d=!0)})),d&&c.dirty(),a.updatePayload(c,n);var f=a.getPerformArgs(c,r.block);h.each((function(e){e.perform(f)})),c.perform(f)&&(i=!0)}else u&&u.each((function(o,l){s(r,o)&&o.dirty();var u=a.getPerformArgs(o,r.block);u.skip=!e.performRawSeries&&t.isSeriesFiltered(o.context.model),a.updatePayload(o,n),o.perform(u)&&(i=!0)}))}})),this.unfinished=i||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t=e.dataTask.perform()||t})),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))},e.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,n,r){var i=this,a=t.seriesTaskMap,s=t.seriesTaskMap=(0,o.nt)(),l=e.seriesType,u=e.getTargetSeries;function c(t){var o=t.uid,l=s.set(o,a&&a.get(o)||(0,We.U)({plan:Ke,reset:Xe,count:Qe}));l.context={model:t,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(t,l)}e.createOnAllSeries?n.eachRawSeries(c):l?n.eachRawSeriesByType(l,c):u&&u(n,r).each(c)},e.prototype._createOverallStageTask=function(e,t,n,r){var i=this,a=t.overallTask=t.overallTask||(0,We.U)({reset:He});a.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:i};var s=a.agentStubMap,l=a.agentStubMap=(0,o.nt)(),u=e.seriesType,c=e.getTargetSeries,d=!0,h=!1,f="";function p(e){var t=e.uid,n=l.set(t,s&&s.get(t)||(h=!0,(0,We.U)({reset:je,onDirty:Ue})));n.context={model:e,overallProgress:d},n.agent=a,n.__block=d,i._pipe(e,n)}(0,o.vA)(!e.createOnAllSeries,f),u?n.eachRawSeriesByType(u,p):c?c(n,r).each(p):(d=!1,(0,o.__)(n.getSeries(),p)),h&&a.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=t),r.tail&&r.tail.pipe(t),r.tail=t,t.__idxInPipeline=r.count++,t.__pipeline=r},e.wrapStageHandler=function(e,t){return(0,o.Tn)(e)&&(e={overallReset:e,seriesType:Je(e)}),e.uid=(0,Ge.$Q)("stageHandler"),t&&(e.visualType=t),e},e}();function He(e){e.overallReset(e.ecModel,e.api,e.payload)}function je(e){return e.overallProgress&&$e}function $e(){this.agent.dirty(),this.getDownstream().dirty()}function Ue(){this.agent&&this.agent.dirty()}function Ke(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function Xe(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=(0,u.qB)(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?(0,o.Tj)(t,(function(e,t){return Ze(t)})):Ye}var Ye=Ze(0);function Ze(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(t,r)}}function Qe(e){return e.data.count()}function Je(e){et=null;try{e(tt,nt)}catch(t){}return et}var et,tt={},nt={};function rt(e,t){for(var n in t.prototype)e[n]=o.lQ}rt(tt,M),rt(nt,R),tt.eachSeriesByType=tt.eachRawSeriesByType=function(e){et=e},tt.eachComponent=function(e){"series"===e.mainType&&e.subType&&(et=e.subType)};const it=Ve;var ot=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const at={color:ot,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],ot]};var st="#B9B8CE",lt="#100C2A",ut=function(){return{axisLine:{lineStyle:{color:st}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},ct=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],dt={darkMode:!0,color:ct,backgroundColor:lt,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:st}},textStyle:{color:st},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:st}},dataZoom:{borderColor:"#71708A",textStyle:{color:st},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:st}},timeline:{lineStyle:{color:st},label:{color:st},controlStyle:{color:st,borderColor:st}},calendar:{itemStyle:{color:lt},dayLabel:{color:st},monthLabel:{color:st},yearLabel:{color:st}},timeAxis:ut(),logAxis:ut(),valueAxis:ut(),categoryAxis:ut(),line:{symbol:"circle"},graph:{color:ct},gauge:{title:{color:st},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:st},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};dt.categoryAxis.splitLine.show=!1;const ht=dt;var ft=n(7489),pt=function(){function e(){}return e.prototype.normalizeQuery=function(e){var t={},n={},r={};if(o.Kg(e)){var i=(0,ft.CC)(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};o.__(e,(function(e,i){for(var o=!1,l=0;l<a.length;l++){var u=a[l],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var d=i.slice(0,c);"data"!==d&&(t.mainType=d,t[u.toLowerCase()]=e,o=!0)}}s.hasOwnProperty(i)&&(n[i]=e,o=!0),o||(r[i]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:r}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=t.cptQuery,l=t.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,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(e,t.otherQuery,r,i));function u(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),vt=["symbol","symbolSize","symbolRotate","symbolOffset"],gt=vt.concat(["symbolKeepAspect"]),mt={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var r={},i={},a=!1,s=0;s<vt.length;s++){var l=vt[s],u=e.get(l);(0,o.Tn)(u)?(a=!0,i[l]=u):r[l]=u}if(r.symbol=r.symbol||e.defaultSymbol,n.setVisual((0,o.X$)({legendIcon:e.legendIcon||r.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},r)),!t.isSeriesFiltered(e)){var c=(0,o.HP)(i);return{dataEach:a?d:null}}}function d(t,n){for(var r=e.getRawValue(n),o=e.getDataParams(n),a=0;a<c.length;a++){var s=c[a];t.setItemVisual(n,s,i[s](r,o))}}}},yt={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(e.hasSymbolVisual&&!t.isSeriesFiltered(e)){var n=e.getData();return{dataEach:n.hasItemOption?r:null}}function r(e,t){for(var n=e.getItemModel(t),r=0;r<gt.length;r++){var i=gt[r],o=n.getShallow(i,!0);null!=o&&e.setItemVisual(t,i,o)}}}},_t=n(343),bt=n(5149);function xt(e,t,n,r,i){var a=e+t;n.isSilent(a)||r.eachComponent({mainType:"series",subType:"pie"},(function(e){for(var t=e.seriesIndex,r=e.option.selectedMap,s=i.selected,l=0;l<s.length;l++)if(s[l].seriesIndex===t){var c=e.getData(),d=(0,u.le)(c,i.fromActionPayload);n.trigger(a,{type:a,seriesId:e.id,name:(0,o.cy)(d)?c.getName(d[0]):c.getName(d),selected:(0,o.Kg)(r)?r:(0,o.X$)({},r)})}}))}function wt(e,t,n){e.on("selectchanged",(function(e){var r=n.getModel();e.isFromClick?(xt("map","selectchanged",t,r,e),xt("pie","selectchanged",t,r,e)):"select"===e.fromAction?(xt("map","selected",t,r,e),xt("pie","selected",t,r,e)):"unselect"===e.fromAction&&(xt("map","unselected",t,r,e),xt("pie","unselected",t,r,e))}))}var St=n(420),kt=n(8947),Ct=n(8431),At=n(4919);function Tt(e,t){e.eachRawSeries((function(n){if(!e.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each((function(e){var n=r.getItemVisual(e,"decal");if(n){var i=r.ensureUniqueItemVisual(e,"style");i.decal=(0,At.w)(n,t)}}));var i=r.getVisual("decal");if(i){var o=r.getVisual("style");o.decal=(0,At.w)(i,t)}}}))}var Et=new l.A;const Mt=Et;var It=n(985),Dt=n(6940),Rt=1,Lt=800,Ot=900,Pt=1e3,zt=2e3,Bt=5e3,Nt=1e3,Ft=1100,qt=2e3,Wt=3e3,Gt=4e3,Vt=4500,Ht=4600,jt=5e3,$t=6e3,Ut=7e3,Kt={PROCESSOR:{FILTER:Pt,SERIES_FILTER:Lt,STATISTIC:Bt},VISUAL:{LAYOUT:Nt,PROGRESSIVE_LAYOUT:Ft,GLOBAL:qt,CHART:Wt,POST_CHART_LAYOUT:Ht,COMPONENT:Gt,BRUSH:jt,CHART_ITEM:Vt,ARIA:$t,DECAL:Ut}},Xt="__flagInMainProcess",Yt="__pendingUpdate",Zt="__needsUpdateStatus",Qt=/^[a-zA-Z0-9_]+$/,Jt="__connectUpdateStatus",en=0,tn=1,nn=2;function rn(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!this.isDisposed())return an(this,e,t);In(this.id)}}function on(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return an(this,e,t)}}function an(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),l.A.prototype[t].apply(e,n)}var sn,ln,un,cn,dn,hn,fn,pn,vn,gn,mn,yn,_n,bn,xn,wn,Sn,kn,Cn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t}(l.A),An=Cn.prototype;An.on=on("on"),An.off=on("off");var Tn=function(e){function t(t,n,r){var a=e.call(this,new pt)||this;a._chartsViews=[],a._chartsMap={},a._componentsViews=[],a._componentsMap={},a._pendingActions=[],r=r||{},(0,o.Kg)(n)&&(n=zn[n]),a._dom=t;var l="canvas",u="auto",c=!1,d=a._zr=i.Ts(t,{renderer:r.renderer||l,devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:(0,o.bZ)(r.useDirtyRect,c),useCoarsePointer:(0,o.bZ)(r.useCoarsePointer,u),pointerSize:r.pointerSize});a._ssr=r.ssr,a._throttledZrFlush=(0,Se.nF)((0,o.oI)(d.flush,d),17),n=(0,o.o8)(n),n&&ce(n,!0),a._theme=n,a._locale=(0,kt.A$)(r.locale||kt.Lv),a._coordSysMgr=new L.A;var h=a._api=xn(a);function f(e,t){return e.__prio-t.__prio}return(0,s.A)(Pn,f),(0,s.A)(Ln,f),a._scheduler=new it(a,h,Ln,Pn),a._messageCenter=new Cn,a._initEvents(),a.resize=(0,o.oI)(a.resize,a),d.animation.on("frame",a._onframe,a),gn(d,a),mn(d,a),(0,o.En)(a),a}return(0,r.C6)(t,e),t.prototype._onframe=function(){if(!this._disposed){kn(this);var e=this._scheduler;if(this[Yt]){var t=this[Yt].silent;this[Xt]=!0;try{sn(this),cn.update.call(this,null,this[Yt].updateParams)}catch(a){throw this[Xt]=!1,this[Yt]=null,a}this._zr.flush(),this[Xt]=!1,this[Yt]=null,pn.call(this,t),vn.call(this,t)}else if(e.unfinished){var n=Rt,r=this._model,i=this._api;e.unfinished=!1;do{var o=+new Date;e.performSeriesTasks(r),e.performDataProcessorTasks(r),hn(this,r),e.performVisualTasks(r),bn(this,this._model,i,"remain",{}),n-=+new Date-o}while(n>0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this[Xt])if(this._disposed)In(this.id);else{var r,i,a;if((0,o.Gv)(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,a=t.transition,t=t.notMerge),this[Xt]=!0,!this._model||t){var s=new q(this._api),l=this._theme,u=this._model=new M;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,s)}this._model.setOption(e,{replaceMerge:i},On);var c={seriesTransition:a,optionChanged:!0};if(n)this[Yt]={silent:r,updateParams:c},this[Xt]=!1,this.getZr().wakeUp();else{try{sn(this),cn.update.call(this,null,c)}catch(d){throw this[Yt]=null,this[Xt]=!1,d}this._ssr||this._zr.flush(),this[Yt]=null,this[Xt]=!1,pn.call(this,r),vn.call(this,r)}}},t.prototype.setTheme=function(){(0,bt.aT)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||a.A.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var t=this._zr.painter;return t.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var t=this._zr.painter;return t.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(a.A.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return(0,o.__)(t,(function(e){e.stopAnimation(null,!0)})),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,n=this._model,r=[],i=this;(0,o.__)(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return(0,o.__)(r,(function(e){e.group.ignore=!1})),a}In(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,r=Math.min,a=Math.max,s=1/0;if(Fn[n]){var l=s,u=s,c=-s,d=-s,h=[],f=e&&e.pixelRatio||this.getDevicePixelRatio();(0,o.__)(Nn,(function(i,s){if(i.group===n){var f=t?i.getZr().painter.getSvgDom().innerHTML:i.renderToCanvas((0,o.o8)(e)),p=i.getDom().getBoundingClientRect();l=r(p.left,l),u=r(p.top,u),c=a(p.right,c),d=a(p.bottom,d),h.push({dom:f,left:p.left,top:p.top})}})),l*=f,u*=f,c*=f,d*=f;var p=c-l,v=d-u,g=It.yh.createCanvas(),m=i.Ts(g,{renderer:t?"svg":"canvas"});if(m.resize({width:p,height:v}),t){var y="";return(0,o.__)(h,(function(e){var t=e.left-l,n=e.top-u;y+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"})),m.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&m.painter.setBackgroundColor(e.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return e.connectedBackgroundColor&&m.add(new me.A({shape:{x:0,y:0,width:p,height:v},style:{fill:e.connectedBackgroundColor}})),(0,o.__)(h,(function(e){var t=new ye.Ay({style:{x:e.left*f-l,y:e.top*f-u,image:e.dom}});m.add(t)})),m.refreshImmediately(),g.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}In(this.id)},t.prototype.convertToPixel=function(e,t){return dn(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return dn(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var n,r=this._model,i=u._e(r,e);return(0,o.__)(i,(function(e,r){r.indexOf("Models")>=0&&(0,o.__)(e,(function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(t);else if("seriesModels"===r){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n=n||o.containPoint(t,e))}else 0}),this)}),this),!!n}In(this.id)},t.prototype.getVisual=function(e,t){var n=this._model,r=u._e(n,e,{defaultMainType:"series"}),i=r.seriesModel;var o=i.getData(),a=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?o.indexOfRawIndex(r.dataIndex):null;return null!=a?(0,_t.Ez)(o,a,t):(0,_t.rI)(o,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;(0,o.__)(Mn,(function(t){var n=function(n){var r,i=e.getModel(),a=n.target,s="globalout"===t;if(s?r={}:a&&(0,Ct.R)(a,(function(e){var t=(0,xe.z)(e);if(t&&null!=t.dataIndex){var n=t.dataModel||i.getSeriesByIndex(t.seriesIndex);return r=n&&n.getDataParams(t.dataIndex,t.dataType)||{},!0}if(t.eventData)return r=(0,o.X$)({},t.eventData),!0}),!0),r){var l=r.componentType,u=r.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=r.seriesIndex);var c=l&&null!=u&&i.getComponent(l,u),d=c&&e["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,r.event=n,r.type=t,e._$eventProcessor.eventInfo={targetEl:a,packedEvent:r,model:c,view:d},e.trigger(t,r)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)})),(0,o.__)(Rn,(function(t,n){e._messageCenter.on(n,(function(e){this.trigger(n,e)}),e)})),(0,o.__)(["selectchanged"],(function(t){e._messageCenter.on(t,(function(e){this.trigger(t,e)}),e)})),wt(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?In(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)In(this.id);else{this._disposed=!0;var e=this.getDom();e&&u.Bq(this.getDom(),Wn,"");var t=this,n=t._api,r=t._model;(0,o.__)(t._componentsViews,(function(e){e.dispose(r,n)})),(0,o.__)(t._chartsViews,(function(e){e.dispose(r,n)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Nn[t.id]}},t.prototype.resize=function(e){if(!this[Xt])if(this._disposed)In(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[Yt]&&(null==r&&(r=this[Yt].silent),n=!0,this[Yt]=null),this[Xt]=!0;try{n&&sn(this),cn.update.call(this,{type:"resize",animation:(0,o.X$)({duration:0},e&&e.animation)})}catch(i){throw this[Xt]=!1,i}this[Xt]=!1,pn.call(this,r),vn.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)In(this.id);else if((0,o.Gv)(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Bn[e]){var n=Bn[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?In(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=(0,o.X$)({},e);return t.type=Rn[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)In(this.id);else if((0,o.Gv)(t)||(t={silent:!!t}),Dn[e.type]&&this._model)if(this[Xt])this._pendingActions.push(e);else{var n=t.silent;fn.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&a.A.browser.weChat&&this._throttledZrFlush(),pn.call(this,n),vn.call(this,n)}},t.prototype.updateLabelLayout=function(){Mt.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)In(this.id);else{var t=e.seriesIndex,n=this.getModel(),r=n.getSeriesByIndex(t);0,r.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function t(e){var t=[],n=[],r=!1;if(e.eachComponent((function(e,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===e?n:t).push({zlevel:o,z:a,idx:i.componentIndex,type:e,key:s})})),r){var i,a,l=t.concat(n);(0,s.A)(l,(function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel})),(0,o.__)(l,(function(t){var n=e.getComponent(t.type,t.idx),r=t.zlevel,o=t.key;null!=i&&(r=Math.max(i,r)),o?(r===i&&o!==a&&r++,a=o):a&&(r===i&&r++,a=""),i=r,n.setZLevel(r)}))}}function n(e){for(var t=[],n=e.currentStates,r=0;r<n.length;r++){var i=n[r];"emphasis"!==i&&"blur"!==i&&"select"!==i&&t.push(i)}e.selected&&e.states.select&&t.push("select"),e.hoverState===we.e3&&e.states.emphasis?t.push("emphasis"):e.hoverState===we.zX&&e.states.blur&&t.push("blur"),e.useStates(t)}function i(e,t){var n=e._zr,r=n.storage,i=0;r.traverse((function(e){e.isGroup||i++})),i>t.get("hoverLayerThreshold")&&!a.A.node&&!a.A.worker&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered((function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)}))}}))}function l(e,t){var n=e.get("blendMode")||null;t.eachRendered((function(e){e.isGroup||(e.style.blend=n)}))}function c(e,t){if(!e.preventAutoZ){var n=e.get("z")||0,r=e.get("zlevel")||0;t.eachRendered((function(e){return d(e,n,r,-1/0),!0}))}}function d(e,t,n,r){var i=e.getTextContent(),o=e.getTextGuideLine(),a=e.isGroup;if(a)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=Math.max(d(s[l],t,n,r),r);else e.z=t,e.zlevel=n,r=Math.max(e.z2,r);if(i&&(i.z=t,i.zlevel=n,isFinite(r)&&(i.z2=r+2)),o){var u=e.textGuideLineConfig;o.z=t,o.zlevel=n,isFinite(r)&&(o.z2=r+(u&&u.showAbove?1:-1))}return r}function h(e,t){t.eachRendered((function(e){if(!_e.LR(e)){var t=e.getTextContent(),n=e.getTextGuideLine();e.stateTransition&&(e.stateTransition=null),t&&t.stateTransition&&(t.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),e.hasState()?(e.prevStates=e.currentStates,e.clearStates()):e.prevStates&&(e.prevStates=null)}}))}function f(e,t){var r=e.getModel("stateAnimation"),i=e.isAnimationEnabled(),o=r.get("duration"),a=o>0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;t.eachRendered((function(e){if(e.states&&e.states.emphasis){if(_e.LR(e))return;if(e instanceof be.Ay&&(0,we.fz)(e),e.__dirty){var t=e.prevStates;t&&e.useStates(t)}if(i){e.stateTransition=a;var r=e.getTextContent(),o=e.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}e.__dirty&&n(e)}}))}sn=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),ln(e,!0),ln(e,!1),t.plan()},ln=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,o=t?e._componentsMap:e._chartsMap,a=e._zr,s=e._api,l=0;l<i.length;l++)i[l].__alive=!1;function u(e){var l=e.__requireNewView;e.__requireNewView=!1;var u="_ec_"+e.id+"_"+e.type,c=!l&&o[u];if(!c){var d=(0,ft.CC)(e.type),h=t?ve.A.getClass(d.main,d.sub):ge.A.getClass(d.sub);0,c=new h,c.init(n,s),o[u]=c,i.push(c),a.add(c.group)}e.__viewId=c.__id=u,c.__alive=!0,c.__model=e,c.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!t&&r.prepareView(c,e,n,s)}t?n.eachComponent((function(e,t){"series"!==e&&u(t)})):n.eachSeries(u);for(l=0;l<i.length;){var c=i[l];c.__alive?l++:(!t&&c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),i.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},un=function(e,t,n,r,i){var a=e._model;if(a.setUpdatePayload(n),r){var s={};s[r+"Id"]=n[r+"Id"],s[r+"Index"]=n[r+"Index"],s[r+"Name"]=n[r+"Name"];var l={mainType:r,query:s};i&&(l.subType=i);var c,d=n.excludeSeriesId;null!=d&&(c=(0,o.nt)(),(0,o.__)(u.qB(d),(function(e){var t=u.vS(e,null);null!=t&&c.set(t,!0)}))),a&&a.eachComponent(l,(function(t){var r=c&&null!=c.get(t.id);if(!r)if((0,we.T$)(n))if(t instanceof pe.A)n.type!==we.h5||n.notBlur||t.get(["emphasis","disabled"])||(0,we.lV)(t,n,e._api);else{var i=(0,we.Tl)(t.mainType,t.componentIndex,n.name,e._api),a=i.focusSelf,s=i.dispatchers;n.type===we.h5&&a&&!n.notBlur&&(0,we.Du)(t.mainType,t.componentIndex,e._api),s&&(0,o.__)(s,(function(e){n.type===we.h5?(0,we.HY)(e):(0,we.SD)(e)}))}else(0,we.Lx)(n)&&t instanceof pe.A&&((0,we.t6)(t,n,e._api),(0,we.jA)(t),Sn(e))}),e),a&&a.eachComponent(l,(function(t){var n=c&&null!=c.get(t.id);n||h(e["series"===r?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else(0,o.__)([].concat(e._componentsViews).concat(e._chartsViews),h);function h(r){r&&r.__alive&&r[t]&&r[t](r.__model,a,e._api,n)}},cn={prepareAndUpdate:function(e){sn(this),cn.update.call(this,e,{optionChanged:null!=e.newOption})},update:function(t,n){var r=this._model,i=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(r){r.setUpdatePayload(t),s.restoreData(r,t),s.performSeriesTasks(r),a.create(r,i),s.performDataProcessorTasks(r,t),hn(this,r),a.update(r,i),e(r),s.performVisualTasks(r,t),yn(this,r,i,t,n);var l=r.get("backgroundColor")||"transparent",u=r.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),Mt.trigger("afterupdate",r,i)}},updateTransform:function(t){var n=this,r=this._model,i=this._api;if(r){r.setUpdatePayload(t);var a=[];r.eachComponent((function(e,o){if("series"!==e){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,r,i,t);l&&l.update&&a.push(s)}else a.push(s)}}));var s=(0,o.nt)();r.eachSeries((function(e){var o=n._chartsMap[e.__viewId];if(o.updateTransform){var a=o.updateTransform(e,r,i,t);a&&a.update&&s.set(e.uid,1)}else s.set(e.uid,1)})),e(r),this._scheduler.performVisualTasks(r,t,{setDirty:!0,dirtyMap:s}),bn(this,r,i,t,{},s),Mt.trigger("afterupdate",r,i)}},updateView:function(t){var n=this._model;n&&(n.setUpdatePayload(t),ge.A.markUpdateMethod(t,"updateView"),e(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0}),yn(this,n,this._api,t,{}),Mt.trigger("afterupdate",n,this._api))},updateVisual:function(t){var n=this,r=this._model;r&&(r.setUpdatePayload(t),r.eachSeries((function(e){e.getData().clearAllVisual()})),ge.A.markUpdateMethod(t,"updateVisual"),e(r),this._scheduler.performVisualTasks(r,t,{visualType:"visual",setDirty:!0}),r.eachComponent((function(e,i){if("series"!==e){var o=n.getViewOfComponentModel(i);o&&o.__alive&&o.updateVisual(i,r,n._api,t)}})),r.eachSeries((function(e){var i=n._chartsMap[e.__viewId];i.updateVisual(e,r,n._api,t)})),Mt.trigger("afterupdate",r,this._api))},updateLayout:function(e){cn.update.call(this,e)}},dn=function(e,t,n,r){if(e._disposed)In(e.id);else{for(var i,o=e._model,a=e._coordSysMgr.getCoordinateSystems(),s=u._e(o,n),l=0;l<a.length;l++){var c=a[l];if(c[t]&&null!=(i=c[t](o,s,r)))return i}0}},hn=function(e,t){var n=e._chartsMap,r=e._scheduler;t.eachSeries((function(e){r.updateStreamModes(e,n[e.__viewId])}))},fn=function(e,t){var n=this,r=this.getModel(),i=e.type,a=e.escapeConnect,s=Dn[i],l=s.actionInfo,c=(l.update||"update").split(":"),d=c.pop(),h=null!=c[0]&&(0,ft.CC)(c[0]);this[Xt]=!0;var f=[e],p=!1;e.batch&&(p=!0,f=(0,o.Tj)(e.batch,(function(t){return t=(0,o.NT)((0,o.X$)({},t),e),t.batch=null,t})));var v,g=[],m=(0,we.Lx)(e),y=(0,we.T$)(e);if(y&&(0,we.qR)(this._api),(0,o.__)(f,(function(t){if(v=s.action(t,n._model,n._api),v=v||(0,o.X$)({},t),v.type=l.event||v.type,g.push(v),y){var r=u.HB(e),i=r.queryOptionMap,a=r.mainTypeSpecified,c=a?i.keys()[0]:"series";un(n,d,t,c),Sn(n)}else m?(un(n,d,t,"series"),Sn(n)):h&&un(n,d,t,h.main,h.sub)})),"none"!==d&&!y&&!m&&!h)try{this[Yt]?(sn(this),cn.update.call(this,e),this[Yt]=null):cn[d].call(this,e)}catch(x){throw this[Xt]=!1,x}if(v=p?{type:l.event||i,escapeConnect:a,batch:g}:g[0],this[Xt]=!1,!t){var _=this._messageCenter;if(_.trigger(v.type,v),m){var b={type:"selectchanged",escapeConnect:a,selected:(0,we.mc)(r),isFromClick:e.isFromClick||!1,fromAction:e.type,fromActionPayload:e};_.trigger(b.type,b)}}},pn=function(e){var t=this._pendingActions;while(t.length){var n=t.shift();fn.call(this,n,e)}},vn=function(e){!e&&this.trigger("updated")},gn=function(e,t){e.on("rendered",(function(n){t.trigger("rendered",n),!e.animation.isFinished()||t[Yt]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))},mn=function(e,t){e.on("mouseover",(function(e){var n=e.target,r=(0,Ct.R)(n,we.u6);r&&((0,we._m)(r,e,t._api),Sn(t))})).on("mouseout",(function(e){var n=e.target,r=(0,Ct.R)(n,we.u6);r&&((0,we.Iz)(r,e,t._api),Sn(t))})).on("click",(function(e){var n=e.target,r=(0,Ct.R)(n,(function(e){return null!=(0,xe.z)(e).dataIndex}),!0);if(r){var i=r.selected?"unselect":"select",o=(0,xe.z)(r);t._api.dispatchAction({type:i,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}}))},yn=function(e,n,r,i,a){t(n),_n(e,n,r,i,a),(0,o.__)(e._chartsViews,(function(e){e.__alive=!1})),bn(e,n,r,i,a),(0,o.__)(e._chartsViews,(function(e){e.__alive||e.remove(n,r)}))},_n=function(e,t,n,r,i,a){(0,o.__)(a||e._componentsViews,(function(e){var i=e.__model;h(i,e),e.render(i,t,n,r),c(i,e),f(i,e)}))},bn=function(e,t,n,r,a,s){var u=e._scheduler;a=(0,o.X$)(a||{},{updatedSeries:t.getSeries()}),Mt.trigger("series:beforeupdate",t,n,a);var d=!1;t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var i=n.renderTask;u.updatePayload(i,r),h(t,n),s&&s.get(t.uid)&&i.dirty(),i.perform(u.getPerformArgs(i))&&(d=!0),n.group.silent=!!t.get("silent"),l(t,n),(0,we.jA)(t)})),u.unfinished=d||u.unfinished,Mt.trigger("series:layoutlabels",t,n,a),Mt.trigger("series:transition",t,n,a),t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];c(t,n),f(t,n)})),i(e,t),Mt.trigger("series:afterupdate",t,n,a)},Sn=function(e){e[Zt]=!0,e.getZr().wakeUp()},kn=function(e){e[Zt]&&(e.getZr().storage.traverse((function(e){_e.LR(e)||n(e)})),e[Zt]=!1)},xn=function(e){return new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(n,t),n.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(t){while(t){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}},n.prototype.enterEmphasis=function(t,n){(0,we.HY)(t,n),Sn(e)},n.prototype.leaveEmphasis=function(t,n){(0,we.SD)(t,n),Sn(e)},n.prototype.enterBlur=function(t){(0,we.QX)(t),Sn(e)},n.prototype.leaveBlur=function(t){(0,we.JC)(t),Sn(e)},n.prototype.enterSelect=function(t){(0,we.JI)(t),Sn(e)},n.prototype.leaveSelect=function(t){(0,we.gd)(t),Sn(e)},n.prototype.getModel=function(){return e.getModel()},n.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},n.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},n}(R))(e)},wn=function(e){function t(e,t){for(var n=0;n<e.length;n++){var r=e[n];r[Jt]=t}}(0,o.__)(Rn,(function(n,r){e._messageCenter.on(r,(function(n){if(Fn[e.group]&&e[Jt]!==en){if(n&&n.escapeConnect)return;var r=e.makeActionFromEvent(n),i=[];(0,o.__)(Nn,(function(t){t!==e&&t.group===e.group&&i.push(t)})),t(i,en),(0,o.__)(i,(function(e){e[Jt]!==tn&&e.dispatchAction(r)})),t(i,nn)}}))}))}}(),t}(l.A),En=Tn.prototype;En.on=rn("on"),En.off=rn("off"),En.one=function(e,t,n){var r=this;function i(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];t&&t.apply&&t.apply(this,n),r.off(e,i)}(0,bt.aT)("ECharts#one is deprecated."),this.on.call(this,e,i,n)};var Mn=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function In(e){0}var Dn={},Rn={},Ln=[],On=[],Pn=[],zn={},Bn={},Nn={},Fn={},qn=+new Date-0,Wn=(new Date,"_echarts_instance_");function Gn(e,t,n){var r=!(n&&n.ssr);if(r){0;var i=Vn(e);if(i)return i;0}var o=new Tn(e,t,n);return o.id="ec_"+qn++,Nn[o.id]=o,r&&u.Bq(e,Wn,o.id),wn(o),Mt.trigger("afterinit",o),o}function Vn(e){return Nn[u.D$(e,Wn)]}function Hn(e,t){zn[e]=t}function jn(e){(0,o.qh)(On,e)<0&&On.push(e)}function $n(e,t){tr(Ln,e,t,zt)}function Un(e){Xn("afterinit",e)}function Kn(e){Xn("afterupdate",e)}function Xn(e,t){Mt.on(e,t)}function Yn(e,t,n){(0,o.Tn)(t)&&(n=t,t="");var r=(0,o.Gv)(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,Rn[t]||((0,o.vA)(Qt.test(r)&&Qt.test(t)),Dn[r]||(Dn[r]={action:n,actionInfo:e}),Rn[t]=r)}function Zn(e,t){L.A.register(e,t)}function Qn(e,t){tr(Pn,e,t,Nt,"layout")}function Jn(e,t){tr(Pn,e,t,Wt,"visual")}var er=[];function tr(e,t,n,r,i){if(((0,o.Tn)(t)||(0,o.Gv)(t))&&(n=t,t=r),!((0,o.qh)(er,n)>=0)){er.push(n);var a=it.wrapStageHandler(n,i);a.__prio=t,a.__raw=n,e.push(a)}}function nr(e,t){Bn[e]=t}function rr(e,t,n){var r=(0,Dt.v)("registerMap");r&&r(e,t,n)}var ir=St.v5;Jn(qt,Re),Jn(Vt,Oe),Jn(Vt,Pe),Jn(qt,mt),Jn(Vt,yt),Jn(Ut,Tt),jn(ce),$n(Ot,he),nr("default",qe),Yn({type:we.h5,event:we.h5,update:we.h5},o.lQ),Yn({type:we.PW,event:we.PW,update:we.PW},o.lQ),Yn({type:we.Lv,event:we.Lv,update:we.Lv},o.lQ),Yn({type:we.U2,event:we.U2,update:we.U2},o.lQ),Yn({type:we.Q6,event:we.Q6,update:we.Q6},o.lQ),Hn("light",at),Hn("dark",ht)},6940:(e,t,n)=>{"use strict";n.d(t,{m:()=>i,v:()=>o});var r={};function i(e,t){r[e]=t}function o(e){return r[e]}},8947:(e,t,n)=>{"use strict";n.d(t,{Lv:()=>f,A$:()=>v,pr:()=>m,A4:()=>g});var r=n(2555),i=n(4047);const o={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:". "}}}},a={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:""}}}};var s=n(2486),l="ZH",u="EN",c=u,d={},h={},f=i.A.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return e.indexOf(l)>-1?l:c}():c;function p(e,t){e=e.toUpperCase(),h[e]=new r.A(t),d[e]=t}function v(e){if((0,s.Kg)(e)){var t=d[e.toUpperCase()]||{};return e===l||e===u?(0,s.o8)(t):(0,s.h1)((0,s.o8)(t),(0,s.o8)(d[c]),!1)}return(0,s.h1)((0,s.o8)(e),(0,s.o8)(d[c]),!1)}function g(e){return h[e]}function m(){return h[c]}p(u,o),p(l,a)},3699:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var r=n(2486);function i(e){return new o(e)}var o=function(){function e(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return e.prototype.perform=function(e){var t,n=this._upstream,i=e&&e.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(t=this._plan(this.context));var a,s=d(this._modBy),l=this._modDataCount||0,u=d(e&&e.modBy),c=e&&e.modDataCount||0;function d(e){return!(e>=1)&&(e=1),e}s===u&&l===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=u,this._modDataCount=c;var h=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,p=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!i&&(a||f<p)){var v=this._progress;if((0,r.cy)(v))for(var g=0;g<v.length;g++)this._doProgress(v[g],f,p,u,c);else this._doProgress(v,f,p,u,c)}this._dueIndex=p;var m=null!=this._settedOutputEnd?this._settedOutputEnd:p;0,this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(e,t,n,r,i){a.reset(t,n,r,i),this._callingProgress=e,this._callingProgress({start:t,end:n,count:n-t,next:a.next},this.context)},e.prototype._doReset=function(e){var t,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!e&&this._reset&&(t=this._reset(this.context),t&&t.progress&&(n=t.forceFirstProgress,t=t.progress),(0,r.cy)(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},e}(),a=function(){var e,t,n,r,i,o={reset:function(l,u,c,d){t=l,e=u,n=c,r=d,i=Math.ceil(r/n),o.next=n>1&&r>0?s:a}};return o;function a(){return t<e?t++:null}function s(){var o=t%i*n+Math.ceil(t/i),a=t>=e?null:o<r?o:t;return t++,a}}()},9495:(e,t,n)=>{"use strict";function r(e){return null==e?0:e.length||1}function i(e){return e}n.d(t,{A:()=>a});var o=function(){function e(e,t,n,r,o,a){this._old=e,this._new=t,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=o,this._diffModeMultiple="multiple"===a}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,n={},i=new Array(e.length),o=new Array(t.length);this._initIndexMap(e,null,i,"_oldKeyGetter"),this._initIndexMap(t,n,o,"_newKeyGetter");for(var a=0;a<e.length;a++){var s=i[a],l=n[s],u=r(l);if(u>1){var c=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(c,a)}else 1===u?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},i={},o=[],a=[];this._initIndexMap(e,n,o,"_oldKeyGetter"),this._initIndexMap(t,i,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var l=o[s],u=n[l],c=i[l],d=r(u),h=r(c);if(d>1&&1===h)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(1===d&&h>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(1===d&&1===h)this._update&&this._update(c,u),i[l]=null;else if(d>1&&h>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(d>1)for(var f=0;f<d;f++)this._remove&&this._remove(u[f]);else this._remove&&this._remove(u)}this._performRestAdd(a,i)},e.prototype._performRestAdd=function(e,t){for(var n=0;n<e.length;n++){var i=e[n],o=t[i],a=r(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);t[i]=null}},e.prototype._initIndexMap=function(e,t,n,i){for(var o=this._diffModeMultiple,a=0;a<e.length;a++){var s="_ec_"+this[i](e[a],a);if(o||(n[a]=s),t){var l=t[s],u=r(l);0===u?(t[s]=a,o&&n.push(s)):1===u?t[s]=[l,a]:l.push(a)}}},e}();const a=o},6862:(e,t,n)=>{"use strict";n.d(t,{A_:()=>c,Ay:()=>y});var r,i=n(2486),o=n(3629),a=n(1637),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,u=typeof Uint16Array===s?Array:Uint16Array,c=typeof Int32Array===s?Array:Int32Array,d=typeof Float64Array===s?Array:Float64Array,h={float:d,int:c,ordinal:Array,number:Array,time:d};function f(e){return e>65535?l:u}function p(){return[1/0,-1/0]}function v(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function g(e,t,n,r,i){var o=h[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;u<s;u++)l[u]=a[u];e[t]=l}}else e[t]=new o(r)}var m=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,i.nt)()}return e.prototype.initData=function(e,t,n){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=e.getSource(),s=this.defaultDimValueGetter=r[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[];(0,a.O0)(o);this._dimensions=(0,i.Tj)(t,(function(e){return{type:e.type,property:e.property}})),this._initDataFromProvider(0,e.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(e,t){var n=this._calcDimNameToIdx,r=this._dimensions,i=n.get(e);if(null!=i){if(r[i].type===t)return i}else i=r.length;return r[i]={type:t},n.set(e,i),this._chunks[i]=new h[t||"float"](this._rawCount),this._rawExtent[i]=p(),i},e.prototype.collectOrdinalMeta=function(e,t){var n=this._chunks[e],r=this._dimensions[e],i=this._rawExtent,o=r.ordinalOffset||0,a=n.length;0===o&&(i[e]=p());for(var s=i[e],l=o;l<a;l++){var u=n[l]=t.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}r.ordinalMeta=t,r.ordinalOffset=a,r.type="ordinal"},e.prototype.getOrdinalMeta=function(e){var t=this._dimensions[e],n=t.ordinalMeta;return n},e.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},e.prototype.appendData=function(e){var t=this._provider,n=this.count();t.appendData(e);var r=t.count();return t.persistent||(r+=n),n<r&&this._initDataFromProvider(n,r,!0),[n,r]},e.prototype.appendValues=function(e,t){for(var n=this._chunks,i=this._dimensions,o=i.length,a=this._rawExtent,s=this.count(),l=s+Math.max(e.length,t||0),u=0;u<o;u++){var c=i[u];g(n,u,c.type,l,!0)}for(var d=[],h=s;h<l;h++)for(var f=h-s,p=0;p<o;p++){c=i[p];var v=r.arrayRows.call(this,e[f]||d,c.property,f,p);n[p][h]=v;var m=a[p];v<m[0]&&(m[0]=v),v>m[1]&&(m[1]=v)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,i.Tj)(a,(function(e){return e.property})),c=0;c<s;c++){var d=a[c];l[c]||(l[c]=p()),g(o,c,d.type,t,n)}if(r.fillStorage)r.fillStorage(e,t,o,l);else for(var h=[],f=e;f<t;f++){h=r.getItem(f,h);for(var v=0;v<s;v++){var m=o[v],y=this._dimValueGetter(h,u[v],f,v);m[f]=y;var _=l[v];y<_[0]&&(_[0]=y),y>_[1]&&(_[1]=y)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var n=this._chunks[e];return n?n[this.getRawIndex(t)]:NaN},e.prototype.getValues=function(e,t){var n=[],r=[];if(null==t){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=e;i=0;for(var o=r.length;i<o;i++)n.push(this.get(r[i],t));return n},e.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var n=this._chunks[e];return n?n[t]:NaN},e.prototype.getSum=function(e){var t=this._chunks[e],n=0;if(t)for(var r=0,i=this.count();r<i;r++){var o=this.get(e,r);isNaN(o)||(n+=o)}return n},e.prototype.getMedian=function(e){var t=[];this.each([e],(function(e){isNaN(e)||t.push(e)}));var n=t.sort((function(e,t){return e-t})),r=this.count();return 0===r?0:r%2===1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},e.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;var r=0,i=this._count-1;while(r<=i){var o=(r+i)/2|0;if(t[o]<e)r=o+1;else{if(!(t[o]>e))return o;i=o-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks,i=r[e],o=[];if(!i)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 d=this.getRawIndex(u),h=t-i[d],f=Math.abs(h);f<=n&&((f<a||f===a&&h>=0&&s<0)&&(a=f,s=h,l=0),h===s&&(o[l++]=u))}return o.length=l,o},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var i=0;i<r;i++)e[i]=t[i]}else e=new n(t.buffer,0,r)}else{n=f(this._rawCount);e=new n(this.count());for(i=0;i<e.length;i++)e[i]=i}return e},e.prototype.filter=function(e,t){if(!this._count)return this;for(var n=this.clone(),r=n.count(),i=f(n._rawCount),o=new i(r),a=[],s=e.length,l=0,u=e[0],c=n._chunks,d=0;d<r;d++){var h=void 0,p=n.getRawIndex(d);if(0===s)h=t(d);else if(1===s){var v=c[u][p];h=t(v,d)}else{for(var g=0;g<s;g++)a[g]=c[e[g]][p];a[g]=d,h=t.apply(null,a)}h&&(o[l++]=p)}return l<r&&(n._indices=o),n._count=l,n._extent=[],n._updateGetRawIdx(),n},e.prototype.selectRange=function(e){var t=this.clone(),n=t._count;if(!n)return this;var r=(0,i.HP)(e),o=r.length;if(!o)return this;var a=t.count(),s=f(t._rawCount),l=new s(a),u=0,c=r[0],d=e[c][0],h=e[c][1],p=t._chunks,v=!1;if(!t._indices){var g=0;if(1===o){for(var m=p[r[0]],y=0;y<n;y++){var _=m[y];(_>=d&&_<=h||isNaN(_))&&(l[u++]=g),g++}v=!0}else if(2===o){m=p[r[0]];var b=p[r[1]],x=e[r[1]][0],w=e[r[1]][1];for(y=0;y<n;y++){_=m[y];var S=b[y];(_>=d&&_<=h||isNaN(_))&&(S>=x&&S<=w||isNaN(S))&&(l[u++]=g),g++}v=!0}}if(!v)if(1===o)for(y=0;y<a;y++){var k=t.getRawIndex(y);_=p[r[0]][k];(_>=d&&_<=h||isNaN(_))&&(l[u++]=k)}else for(y=0;y<a;y++){for(var C=!0,A=(k=t.getRawIndex(y),0);A<o;A++){var T=r[A];_=p[T][k];(_<e[T][0]||_>e[T][1])&&(C=!1)}C&&(l[u++]=t.getRawIndex(y))}return u<a&&(t._indices=l),t._count=u,t._extent=[],t._updateGetRawIdx(),t},e.prototype.map=function(e,t){var n=this.clone(e);return this._updateDims(n,e,t),n},e.prototype.modify=function(e,t){this._updateDims(this,e,t)},e.prototype._updateDims=function(e,t,n){for(var r=e._chunks,i=[],o=t.length,a=e.count(),s=[],l=e._rawExtent,u=0;u<t.length;u++)l[t[u]]=p();for(var c=0;c<a;c++){for(var d=e.getRawIndex(c),h=0;h<o;h++)s[h]=r[t[h]][d];s[o]=c;var f=n&&n.apply(null,s);if(null!=f){"object"!==typeof f&&(i[0]=f,f=i);for(u=0;u<f.length;u++){var v=t[u],g=f[u],m=l[v],y=r[v];y&&(y[d]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},e.prototype.lttbDownSample=function(e,t){var n,r,i,o=this.clone([e],!0),a=o._chunks,s=a[e],l=this.count(),u=0,c=Math.floor(1/t),d=this.getRawIndex(0),h=new(f(this._rawCount))(Math.min(2*(Math.ceil(l/c)+2),l));h[u++]=d;for(var p=1;p<l-1;p+=c){for(var v=Math.min(p+c,l-1),g=Math.min(p+2*c,l),m=(g+v)/2,y=0,_=v;_<g;_++){var b=this.getRawIndex(_),x=s[b];isNaN(x)||(y+=x)}y/=g-v;var w=p,S=Math.min(p+c,l),k=p-1,C=s[d];n=-1,i=w;var A=-1,T=0;for(_=w;_<S;_++){b=this.getRawIndex(_),x=s[b];isNaN(x)?(T++,A<0&&(A=b)):(r=Math.abs((k-m)*(x-C)-(k-_)*(y-C)),r>n&&(n=r,i=b))}T>0&&T<S-w&&(h[u++]=Math.min(A,i),i=Math.max(A,i)),h[u++]=i,d=i}return h[u++]=this.getRawIndex(l-1),o._count=u,o._indices=h,o.getRawIndex=this._getRawIdx,o},e.prototype.downSample=function(e,t,n,r){for(var i=this.clone([e],!0),o=i._chunks,a=[],s=Math.floor(1/t),l=o[e],u=this.count(),c=i._rawExtent[e]=p(),d=new(f(this._rawCount))(Math.ceil(u/s)),h=0,v=0;v<u;v+=s){s>u-v&&(s=u-v,a.length=s);for(var g=0;g<s;g++){var m=this.getRawIndex(v+g);a[g]=l[m]}var y=n(a),_=this.getRawIndex(Math.min(v+r(a,y)||0,u-1));l[_]=y,y<c[0]&&(c[0]=y),y>c[1]&&(c[1]=y),d[h++]=_}return i._count=h,i._indices=d,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(n){case 0:t(i);break;case 1:t(r[e[0]][a],i);break;case 2:t(r[e[0]][a],r[e[1]][a],i);break;default:for(var s=0,l=[];s<n;s++)l[s]=r[e[s]][a];l[s]=i,t.apply(null,l)}}},e.prototype.getDataExtent=function(e){var t=this._chunks[e],n=p();if(!t)return n;var r,i=this.count(),o=!this._indices;if(o)return this._rawExtent[e].slice();if(r=this._extent[e],r)return r.slice();r=n;for(var a=r[0],s=r[1],l=0;l<i;l++){var u=this.getRawIndex(l),c=t[u];c<a&&(a=c),c>s&&(s=c)}return r=[a,s],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i<r.length;i++)n.push(r[i][t]);return n},e.prototype.clone=function(t,n){var r=new e,o=this._chunks,a=t&&(0,i.TS)(t,(function(e,t){return e[t]=!0,e}),{});if(a)for(var s=0;s<o.length;s++)r._chunks[s]=a[s]?v(o[s]):o[s];else r._chunks=o;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},e.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=(0,i.o8)(this._extent),e._rawExtent=(0,i.o8)(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var n=this._indices.length;t=new e(n);for(var r=0;r<n;r++)t[r]=this._indices[r]}else t=new e(this._indices);return t}return null},e.prototype._getRawIdxIdentity=function(e){return e},e.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return(0,o.Pn)(e[r],this._dimensions[r])}r={arrayRows:e,objectRows:function(e,t,n,r){return(0,o.Pn)(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return(0,o.Pn)(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}();const y=m},4195:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(2486),i=0,o=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++i}return e.createByAxisModel=function(t){var n=t.option,i=n.data,o=i&&(0,r.Tj)(i,a);return new e({categories:o,needCollect:!o,deduplication:!1!==n.dedplication})},e.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},e.prototype.parseAndCollect=function(e){var t,n=this._needCollect;if(!(0,r.Kg)(e)&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var i=this._getOrCreateMap();return t=i.get(e),null==t&&(n?(t=this.categories.length,this.categories[t]=e,i.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,r.nt)(this.categories))},e}();function a(e){return(0,r.Gv)(e)&&null!=e.value?e.value:e+""}const s=o},458:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r,i,o,a,s,l,u,c=n(2486),d=n(2555),h=n(9495),f=n(391),p=n(1480),v=n(7643),g=n(9002),m=n(630),y=n(4066),_=n(1637),b=n(6862),x=n(4812),w=c.Gv,S=c.Tj,k="undefined"===typeof Int32Array?Array:Int32Array,C="e\0\0",A=-1,T=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],E=["_approximateExtent"],M=function(){function e(e,t){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 r=!1;(0,x.fg)(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(r=!0,n=e),n=n||["x","y"];for(var i={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var d=n[u],h=c.Kg(d)?new v.A({name:d}):d instanceof v.A?d:new v.A(d),f=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=f,h.coordDimIndex=0);var p=h.otherDims=h.otherDims||{};o.push(f),i[f]=h,null!=l[f]&&(s=!0),h.createInvertedIndices&&(a[f]=[]),0===p.itemName&&(this._nameDimIdx=u),0===p.itemId&&(this._idDimIdx=u),r&&(h.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=t,this._invertedIndicesMap=a,this._dimOmitted){var g=this._dimIdxToName=c.nt();c.__(o,(function(e){g.set(i[e].storeDimIndex,e)}))}}return e.prototype.getDimension=function(e){var t=this._recognizeDimIndex(e);if(null==t)return e;if(t=e,!this._dimOmitted)return this.dimensions[t];var n=this._dimIdxToName.get(t);if(null!=n)return n;var r=this._schema.getSourceDimension(t);return r?r.name:void 0},e.prototype.getDimensionIndex=function(e){var t=this._recognizeDimIndex(e);if(null!=t)return t;if(null==e)return-1;var n=this._getDimInfo(e);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},e.prototype._recognizeDimIndex=function(e){if(c.Et(e)||null!=e&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},e.prototype._getStoreDimIndex=function(e){var t=this.getDimensionIndex(e);return t},e.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},e.prototype._initGetDimensionInfo=function(e){var t=this._dimInfos;this._getDimInfo=e?function(e){return t.hasOwnProperty(e)?t[e]:void 0}:function(e){return t[e]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(e,t){var n=this._dimSummary;if(null==t)return n.encodeFirstDimNotExtra[e];var r=n.encode[e];return r?r[t]:null},e.prototype.mapDimensionsAll=function(e){var t=this._dimSummary,n=t.encode[e];return(n||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(e,t,n){var r,i=this;if(e instanceof b.Ay&&(r=e),!r){var o=this.dimensions,a=(0,_.tP)(e)||c.Xj(e)?new f.d1(e,o.length):e;r=new b.Ay;var s=S(o,(function(e){return{type:i._dimInfos[e].type,property:e}}));r.initData(a,s,n)}this._store=r,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=(0,p.l)(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(e){var t=this._store.appendData(e);this._doInit(t[0],t[1])},e.prototype.appendValues=function(e,t){var n=this._store.appendValues(e,t.length),r=n.start,i=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var a=r;a<i;a++){var s=a-r;this._nameList[a]=t[s],o&&u(this,a)}},e.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,n=0;n<t.length;n++){var r=this._dimInfos[t[n]];r.ordinalMeta&&e.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return null==this._idDimIdx&&e.getSource().sourceFormat!==g.XO&&!e.fillStorage},e.prototype._doInit=function(e,t){if(!(e>=t)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var o=this._nameList,a=this._idList,s=i.getSource().sourceFormat,l=s===g.mK;if(l&&!i.pure)for(var c=[],d=e;d<t;d++){var h=i.getItem(d,c);if(!this.hasItemOption&&(0,m.zu)(h)&&(this.hasItemOption=!0),h){var f=h.name;null==o[d]&&null!=f&&(o[d]=(0,m.vS)(f,null));var p=h.id;null==a[d]&&null!=p&&(a[d]=(0,m.vS)(p,null))}}if(this._shouldMakeIdFromName())for(d=e;d<t;d++)u(this,d);r(this)}},e.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},e.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},e.prototype.setCalculationInfo=function(e,t){w(e)?c.X$(this._calculationInfo,e):this._calculationInfo[e]=t},e.prototype.getName=function(e){var t=this.getRawIndex(e),n=this._nameList[t];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,t)),null==n&&(n=""),n},e.prototype._getCategory=function(e,t){var n=this._store.get(e,t),r=this._store.getOrdinalMeta(e);return r?r.categories[n]:n},e.prototype.getId=function(e){return i(this,this.getRawIndex(e))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.get(r.storeDimIndex,t)},e.prototype.getByRawIndex=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.getByRawIndex(r.storeDimIndex,t)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},e.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},e.prototype.getValues=function(e,t){var n=this,r=this._store;return c.cy(e)?r.getValues(S(e,(function(e){return n._getStoreDimIndex(e)})),t):r.getValues(e)},e.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,n=0,r=t.length;n<r;n++)if(isNaN(this._store.get(t[n],e)))return!1;return!0},e.prototype.indexOfName=function(e){for(var t=0,n=this._store.count();t<n;t++)if(this.getName(t)===e)return t;return-1},e.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},e.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},e.prototype.rawIndexOf=function(e,t){var n=e&&this._invertedIndicesMap[e];var r=n[t];return null==r||isNaN(r)?A:r},e.prototype.indicesOfNearest=function(e,t,n){return this._store.indicesOfNearest(this._getStoreDimIndex(e),t,n)},e.prototype.each=function(e,t,n){c.Tn(e)&&(n=t,t=e,e=[]);var r=n||this,i=S(a(e),this._getStoreDimIndex,this);this._store.each(i,r?c.oI(t,r):t)},e.prototype.filterSelf=function(e,t,n){c.Tn(e)&&(n=t,t=e,e=[]);var r=n||this,i=S(a(e),this._getStoreDimIndex,this);return this._store=this._store.filter(i,r?c.oI(t,r):t),this},e.prototype.selectRange=function(e){var t=this,n={},r=c.HP(e),i=[];return c.__(r,(function(r){var o=t._getStoreDimIndex(r);n[o]=e[r],i.push(o)})),this._store=this._store.selectRange(n),this},e.prototype.mapArray=function(e,t,n){c.Tn(e)&&(n=t,t=e,e=[]),n=n||this;var r=[];return this.each(e,(function(){r.push(t&&t.apply(this,arguments))}),n),r},e.prototype.map=function(e,t,n,r){var i=n||r||this,o=S(a(e),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,i?c.oI(t,i):t),s},e.prototype.modify=function(e,t,n,r){var i=n||r||this;var o=S(a(e),this._getStoreDimIndex,this);this._store.modify(o,i?c.oI(t,i):t)},e.prototype.downSample=function(e,t,n,r){var i=l(this);return i._store=this._store.downSample(this._getStoreDimIndex(e),t,n,r),i},e.prototype.lttbDownSample=function(e,t){var n=l(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(e),t),n},e.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},e.prototype.getItemModel=function(e){var t=this.hostModel,n=this.getRawDataItem(e);return new d.A(n,t,t&&t.ecModel)},e.prototype.diff=function(e){var t=this;return new h.A(e?e.getStore().getIndices():[],this.getStore().getIndices(),(function(t){return i(e,t)}),(function(e){return i(t,e)}))},e.prototype.getVisual=function(e){var t=this._visual;return t&&t[e]},e.prototype.setVisual=function(e,t){this._visual=this._visual||{},w(e)?c.X$(this._visual,e):this._visual[e]=t},e.prototype.getItemVisual=function(e,t){var n=this._itemVisuals[e],r=n&&n[t];return null==r?this.getVisual(t):r},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];r||(r=n[e]={});var i=r[t];return null==i&&(i=this.getVisual(t),c.cy(i)?i=i.slice():w(i)&&(i=c.X$({},i)),r[t]=i),i},e.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,w(t)?c.X$(r,t):r[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){w(e)?c.X$(this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?c.X$(this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;(0,y.a)(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){c.__(this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:S(this.dimensions,this._getDimInfo,this),this.hostModel)),s(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];c.Tn(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(c.di(arguments)))})},e.internalField=function(){r=function(e){var t=e._invertedIndicesMap;c.__(t,(function(n,r){var i=e._dimInfos[r],o=i.ordinalMeta,a=e._store;if(o){n=t[r]=new k(o.categories.length);for(var s=0;s<n.length;s++)n[s]=A;for(s=0;s<a.count();s++)n[a.get(i.storeDimIndex,s)]=s}}))},o=function(e,t,n){return(0,m.vS)(e._getCategory(t,n),null)},i=function(e,t){var n=e._idList[t];return null==n&&null!=e._idDimIdx&&(n=o(e,e._idDimIdx,t)),null==n&&(n=C+t),n},a=function(e){return c.cy(e)||(e=null!=e?[e]:[]),e},l=function(t){var n=new e(t._schema?t._schema:S(t.dimensions,t._getDimInfo,t),t.hostModel);return s(n,t),n},s=function(e,t){c.__(T.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,c.__(E,(function(n){e[n]=c.o8(t[n])})),e._calculationInfo=c.X$({},t._calculationInfo)},u=function(e,t){var n=e._nameList,r=e._idList,i=e._nameDimIdx,a=e._idDimIdx,s=n[t],l=r[t];if(null==s&&null!=i&&(n[t]=s=o(e,i,t)),null==l&&null!=a&&(r[t]=l=o(e,a,t)),null==l&&null!=s){var u=e._nameRepeatCount,c=u[s]=(u[s]||0)+1;l=s,c>1&&(l+="__ec__"+c),r[t]=l}}}(),e}();const I=M},7643:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2486),i=function(){function e(e){this.otherDims={},null!=e&&r.X$(this,e)}return e}();const o=i},1637:(e,t,n)=>{"use strict";n.d(t,{AF:()=>c,BE:()=>d,O0:()=>m,gV:()=>u,tP:()=>l,wZ:()=>h});var r=n(2486),i=n(9002),o=n(630),a=n(891),s=function(){function e(e){this.data=e.data||(e.sourceFormat===i.t1?{}:[]),this.sourceFormat=e.sourceFormat||i.vm,this.seriesLayoutBy=e.seriesLayoutBy||i.i_,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var n=0;n<t.length;n++){var r=t[n];null==r.type&&(0,a.PU)(this,n)===a.sc.Must&&(r.type="ordinal")}}return e}();function l(e){return e instanceof s}function u(e,t,n){n=n||h(e);var i=t.seriesLayoutBy,o=f(e,n,i,t.sourceHeader,t.dimensions),a=new s({data:e,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:o.dimensionsDefine,startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount,metaRawOption:(0,r.o8)(t)});return a}function c(e){return new s({data:e,sourceFormat:(0,r.iu)(e)?i.XO:i.mK})}function d(e){return new s({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:(0,r.o8)(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function h(e){var t=i.vm;if((0,r.iu)(e))t=i.XO;else if((0,r.cy)(e)){0===e.length&&(t=i.Km);for(var n=0,o=e.length;n<o;n++){var a=e[n];if(null!=a){if((0,r.cy)(a)){t=i.Km;break}if((0,r.Gv)(a)){t=i.Wk;break}}}}else if((0,r.Gv)(e))for(var s in e)if((0,r.$3)(e,s)&&(0,r.Xj)(e[s])){t=i.t1;break}return t}function f(e,t,n,a,s){var l,u;if(!e)return{dimensionsDefine:v(s),startIndex:u,dimensionsDetectedCount:l};if(t===i.Km){var c=e;"auto"===a||null==a?g((function(e){null!=e&&"-"!==e&&((0,r.Kg)(e)?null==u&&(u=1):u=0)}),n,c,10):u=(0,r.Et)(a)?a:a?1:0,s||1!==u||(s=[],g((function(e,t){s[t]=null!=e?e+"":""}),n,c,1/0)),l=s?s.length:n===i.oC?c.length:c[0]?c[0].length:null}else if(t===i.Wk)s||(s=p(e));else if(t===i.t1)s||(s=[],(0,r.__)(e,(function(e,t){s.push(t)})));else if(t===i.mK){var d=(0,o.vj)(e[0]);l=(0,r.cy)(d)&&d.length||1}else i.XO;return{startIndex:u,dimensionsDefine:v(s),dimensionsDetectedCount:l}}function p(e){var t,n=0;while(n<e.length&&!(t=e[n++]));if(t)return(0,r.HP)(t)}function v(e){if(e){var t=(0,r.nt)();return(0,r.Tj)(e,(function(e,n){e=(0,r.Gv)(e)?e:{name:e};var i={name:e.name,displayName:e.displayName,type:e.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var o=t.get(i.name);return o?i.name+="-"+o.count++:t.set(i.name,{count:1}),i}))}}function g(e,t,n,r){if(t===i.oC)for(var o=0;o<n.length&&o<r;o++)e(n[o]?n[o][0]:null,o);else{var a=n[0]||[];for(o=0;o<a.length&&o<r;o++)e(a[o],o)}}function m(e){var t=e.sourceFormat;return t===i.Wk||t===i.t1}},4812:(e,t,n)=>{"use strict";n.d(t,{Tc:()=>l,eS:()=>h,fg:()=>u,io:()=>c,j_:()=>d});var r=n(2486),i=n(630),o=n(1637),a=(0,i.$r)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function e(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=d(this.source)))},e.prototype.getSourceDimensionIndex=function(e){return(0,r.bZ)(this._dimNameMap.get(e),-1)},e.prototype.getSourceDimension=function(e){var t=this.source.dimensionsDefine;if(t)return t[e]},e.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,t=(0,o.O0)(this.source),n=!h(e),r="",i=[],a=0,l=0;a<e;a++){var u=void 0,c=void 0,d=void 0,f=this.dimensions[l];if(f&&f.storeDimIndex===a)u=t?f.name:null,c=f.type,d=f.ordinalMeta,l++;else{var p=this.getSourceDimension(a);p&&(u=t?p.name:null,c=p.type)}i.push({property:u,type:c,ordinalMeta:d}),!t||null==u||f&&f.isCalculationCoord||(r+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),r+="$",r+=s[c]||"f",d&&(r+=d.uid),r+="$"}var v=this.source,g=[v.seriesLayoutBy,v.startIndex,r].join("$$");return{dimensions:i,hash:g}},e.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,n=0;t<this._fullDimCount;t++){var r=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===t)i.isCalculationCoord||(r=i.name),n++;else{var o=this.getSourceDimension(t);o&&(r=o.name)}e.push(r)}return e},e.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function u(e){return e instanceof l}function c(e){for(var t=(0,r.nt)(),n=0;n<(e||[]).length;n++){var i=e[n],o=(0,r.Gv)(i)?i.name:i;null!=o&&null==t.get(o)&&t.set(o,n)}return t}function d(e){var t=a(e);return t.dimNameMap||(t.dimNameMap=c(e.dimensionsDefine))}function h(e){return e>30}},391:(e,t,n)=>{"use strict";n.d(t,{Kd:()=>y,QE:()=>S,d1:()=>h,sC:()=>v,uQ:()=>x});var r,i,o,a,s,l=n(2486),u=n(630),c=n(1637),d=n(9002),h=function(){function e(e,t){var n=(0,c.tP)(e)?e:(0,c.AF)(e);this._source=n;var r=this._data=n.data;n.sourceFormat===d.XO&&(this._offset=0,this._dimSize=t,this._data=r),s(this,r,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var e;s=function(e,i,o){var s=o.sourceFormat,u=o.seriesLayoutBy,c=o.startIndex,h=o.dimensionsDefine,f=a[w(s,u)];if((0,l.X$)(e,f),s===d.XO)e.getItem=t,e.count=r,e.fillStorage=n;else{var p=v(s,u);e.getItem=(0,l.oI)(p,null,i,c,h);var g=y(s,u);e.count=(0,l.oI)(g,null,i,c,h)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,r=this._dimSize,i=r*e,o=0;o<r;o++)t[o]=n[i+o];return t},n=function(e,t,n,r){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=r[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=t-e,d=n[a],h=0;h<c;h++){var f=i[h*o+a];d[e+h]=f,f<l&&(l=f),f>u&&(u=f)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}e={},e[d.Km+"_"+d.i_]={pure:!0,appendData:i},e[d.Km+"_"+d.oC]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[d.Wk]={pure:!0,appendData:i},e[d.t1]={pure:!0,appendData:function(e){var t=this._data;(0,l.__)(e,(function(e,n){for(var r=t[n]||(t[n]=[]),i=0;i<(e||[]).length;i++)r.push(e[i])}))}},e[d.mK]={appendData:i},e[d.XO]={persistent:!1,pure:!0,appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}},a=e}(),e}(),f=function(e,t,n,r){return e[r]},p=(r={},r[d.Km+"_"+d.i_]=function(e,t,n,r){return e[r+t]},r[d.Km+"_"+d.oC]=function(e,t,n,r,i){r+=t;for(var o=i||[],a=e,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[r]:null}return o},r[d.Wk]=f,r[d.t1]=function(e,t,n,r,i){for(var o=i||[],a=0;a<n.length;a++){var s=n[a].name;0;var l=e[s];o[a]=l?l[r]:null}return o},r[d.mK]=f,r);function v(e,t){var n=p[w(e,t)];return n}var g=function(e,t,n){return e.length},m=(i={},i[d.Km+"_"+d.i_]=function(e,t,n){return Math.max(0,e.length-t)},i[d.Km+"_"+d.oC]=function(e,t,n){var r=e[0];return r?Math.max(0,r.length-t):0},i[d.Wk]=g,i[d.t1]=function(e,t,n){var r=n[0].name;var i=e[r];return i?i.length:0},i[d.mK]=g,i);function y(e,t){var n=m[w(e,t)];return n}var _=function(e,t,n){return e[t]},b=(o={},o[d.Km]=_,o[d.Wk]=function(e,t,n){return e[n]},o[d.t1]=_,o[d.mK]=function(e,t,n){var r=(0,u.vj)(e);return r instanceof Array?r[t]:r},o[d.XO]=_,o);function x(e){var t=b[e];return t}function w(e,t){return e===d.Km?e+"_"+t:e}function S(e,t,n){if(e){var r=e.getRawDataItem(t);if(null!=r){var i=e.getStore(),o=i.getSource().sourceFormat;if(null!=n){var a=e.getDimensionIndex(n),s=i.getDimensionProperty(a);return x(o)(r,a,s)}var l=r;return o===d.mK&&(l=(0,u.vj)(r)),l}}}},6279:(e,t,n)=>{"use strict";n.d(t,{iJ:()=>o,me:()=>l,sJ:()=>s});var r=n(2486),i=n(4812);function o(e,t,n){n=n||{};var i,o,s,l=n.byIndex,u=n.stackedCoordDimension;a(t)?i=t:(o=t.schema,i=o.dimensions,s=t.store);var c,d,h,f,p=!(!e||!e.get("stack"));if((0,r.__)(i,(function(e,t){(0,r.Kg)(e)&&(i[t]=e={name:e}),p&&!e.isExtraCoord&&(l||c||!e.ordinalMeta||(c=e),d||"ordinal"===e.type||"time"===e.type||u&&u!==e.coordDim||(d=e))})),!d||l||c||(l=!0),d){h="__\0ecstackresult_"+e.id,f="__\0ecstackedover_"+e.id,c&&(c.createInvertedIndices=!0);var v=d.coordDim,g=d.type,m=0;(0,r.__)(i,(function(e){e.coordDim===v&&m++}));var y={name:h,coordDim:v,coordDimIndex:m,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},_={name:f,coordDim:f,coordDimIndex:m+1,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(s&&(y.storeDimIndex=s.ensureCalculationDimension(f,g),_.storeDimIndex=s.ensureCalculationDimension(h,g)),o.appendCalculationDimension(y),o.appendCalculationDimension(_)):(i.push(y),i.push(_))}return{stackedDimension:d&&d.name,stackedByDimension:c&&c.name,isStackedByIndex:l,stackedOverDimension:f,stackResultDimension:h}}function a(e){return!(0,i.fg)(e.schema)}function s(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function l(e,t){return s(e,t)?e.getCalculationInfo("stackResultDimension"):t}},3629:(e,t,n)=>{"use strict";n.d(t,{Fl:()=>l,Pn:()=>a});var r=n(4018),i=n(2486),o=n(5149);function a(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||(0,i.Et)(e)||null==e||"-"===e||(e=+(0,r._U)(e)),null==e||""===e?NaN:+e)}(0,i.nt)({number:function(e){return parseFloat(e)},time:function(e){return+(0,r._U)(e)},trim:function(e){return(0,i.Kg)(e)?(0,i.Bq)(e):e}});var s={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t}},l=(function(){function e(e,t){if(!(0,i.Et)(t)){var n="";0,(0,o.$8)(n)}this._opFn=s[e],this._rvalFloat=(0,r.Sm)(t)}e.prototype.evaluate=function(e){return(0,i.Et)(e)?this._opFn(e,this._rvalFloat):this._opFn((0,r.Sm)(e),this._rvalFloat)}}(),function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=(0,i.Et)(e)?e:(0,r.Sm)(e),o=(0,i.Et)(t)?t:(0,r.Sm)(t),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,i.Kg)(e),u=(0,i.Kg)(t);l&&(n=u?e:0),u&&(o=l?t:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},e}());(function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=(0,r.Sm)(t)}e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=(0,r.Sm)(e)===this._rvalFloat)}return this._isEQ?t:!t}})()},1480:(e,t,n)=>{"use strict";n.d(t,{B:()=>l,l:()=>a});var r=n(2486),i=n(9002),o=function(){function e(e,t){this._encode=e,this._schema=t}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function a(e,t){var n={},a=n.encode={},l=(0,r.nt)(),c=[],d=[],h={};(0,r.__)(e.dimensions,(function(t){var n=e.getDimensionInfo(t),r=n.coordDim;if(r){0;var o=n.coordDimIndex;s(a,r)[o]=t,n.isExtraCoord||(l.set(r,1),u(n.type)&&(c[0]=t),s(h,r)[o]=e.getDimensionIndex(n.name)),n.defaultTooltip&&d.push(t)}i.Pe.each((function(e,t){var r=s(a,t),i=n.otherDims[t];null!=i&&!1!==i&&(r[i]=n.name)}))}));var f=[],p={};l.each((function(e,t){var n=a[t];p[t]=n[0],f=f.concat(n)})),n.dataDimsOnCoord=f,n.dataDimIndicesOnCoord=(0,r.Tj)(f,(function(t){return e.getDimensionInfo(t).storeDimIndex})),n.encodeFirstDimNotExtra=p;var v=a.label;v&&v.length&&(c=v.slice());var g=a.tooltip;return g&&g.length?d=g.slice():d.length||(d=c.slice()),a.defaultedLabel=c,a.defaultedTooltip=d,n.userOutput=new o(h,t),n}function s(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function l(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function u(e){return!("ordinal"===e||"time"===e)}},891:(e,t,n)=>{"use strict";n.d(t,{G9:()=>c,Gt:()=>d,OC:()=>u,PU:()=>h,ps:()=>l,sc:()=>a});var r=n(630),i=n(2486),o=n(9002),a={Must:1,Might:2,Not:3},s=(0,r.$r)();function l(e){s(e).datasetMap=(0,i.nt)()}function u(e,t,n){var r={},o=c(t);if(!o||!e)return r;var a,l,u=[],d=[],h=t.ecModel,f=s(h).datasetMap,p=o.uid+"_"+n.seriesLayoutBy;e=e.slice(),(0,i.__)(e,(function(t,n){var o=(0,i.Gv)(t)?t:e[n]={name:t};"ordinal"===o.type&&null==a&&(a=n,l=m(o)),r[o.name]=[]}));var v=f.get(p)||f.set(p,{categoryWayDim:l,valueWayDim:0});function g(e,t,n){for(var r=0;r<n;r++)e.push(t+r)}function m(e){var t=e.dimsDef;return t?t.length:1}return(0,i.__)(e,(function(e,t){var n=e.name,i=m(e);if(null==a){var o=v.valueWayDim;g(r[n],o,i),g(d,o,i),v.valueWayDim+=i}else if(a===t)g(r[n],0,i),g(u,0,i);else{o=v.categoryWayDim;g(r[n],o,i),g(d,o,i),v.categoryWayDim+=i}})),u.length&&(r.itemName=u),d.length&&(r.seriesName=d),r}function c(e){var t=e.get("data",!0);if(!t)return(0,r.JO)(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},r.US).models[0]}function d(e){return e.get("transform",!0)||e.get("fromTransformResult",!0)?(0,r.JO)(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},r.US).models:[]}function h(e,t){return f(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function f(e,t,n,s,l,u){var c,d,h,f=5;if((0,i.iu)(e))return a.Not;if(s){var p=s[u];(0,i.Gv)(p)?(d=p.name,h=p.type):(0,i.Kg)(p)&&(d=p)}if(null!=h)return"ordinal"===h?a.Must:a.Not;if(t===o.Km){var v=e;if(n===o.oC){for(var g=v[u],m=0;m<(g||[]).length&&m<f;m++)if(null!=(c=k(g[l+m])))return c}else for(m=0;m<v.length&&m<f;m++){var y=v[l+m];if(y&&null!=(c=k(y[u])))return c}}else if(t===o.Wk){var _=e;if(!d)return a.Not;for(m=0;m<_.length&&m<f;m++){var b=_[m];if(b&&null!=(c=k(b[d])))return c}}else if(t===o.t1){var x=e;if(!d)return a.Not;g=x[d];if(!g||(0,i.iu)(g))return a.Not;for(m=0;m<g.length&&m<f;m++)if(null!=(c=k(g[m])))return c}else if(t===o.mK){var w=e;for(m=0;m<w.length&&m<f;m++){b=w[m];var S=(0,r.vj)(b);if(!(0,i.cy)(S))return a.Not;if(null!=(c=k(S[u])))return c}}function k(e){var t=(0,i.Kg)(e);return null!=e&&isFinite(e)&&""!==e?t?a.Might:a.Not:t&&"-"!==e?a.Must:void 0}return a.Not}},420:(e,t,n)=>{"use strict";n.d(t,{py:()=>y,v5:()=>m});var r=n(9002),i=n(630),o=n(2486),a=n(391),s=n(3629),l=n(5149),u=n(1637),c=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(e){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(e){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(e,t){},e.prototype.retrieveValueFromItem=function(e,t){},e.prototype.convertValue=function(e,t){return(0,s.Pn)(e,t)},e}();function d(e,t){var n=new c,i=e.data,s=n.sourceFormat=e.sourceFormat,u=e.startIndex,d="";e.seriesLayoutBy!==r.i_&&(0,l.$8)(d);var g=[],m={},y=e.dimensionsDefine;if(y)(0,o.__)(y,(function(e,t){var n=e.name,r={index:t,name:n,displayName:e.displayName};if(g.push(r),null!=n){var i="";(0,o.$3)(m,n)&&(0,l.$8)(i),m[n]=r}}));else for(var _=0;_<e.dimensionsDetectedCount;_++)g.push({index:_});var b=(0,a.sC)(s,r.i_);t.__isBuiltIn&&(n.getRawDataItem=function(e){return b(i,u,g,e)},n.getRawData=(0,o.oI)(h,null,e)),n.cloneRawData=(0,o.oI)(f,null,e);var x=(0,a.Kd)(s,r.i_);n.count=(0,o.oI)(x,null,i,u,g);var w=(0,a.uQ)(s);n.retrieveValue=function(e,t){var n=b(i,u,g,e);return S(n,t)};var S=n.retrieveValueFromItem=function(e,t){if(null!=e){var n=g[t];return n?w(e,t,n.name):void 0}};return n.getDimensionInfo=(0,o.oI)(p,null,g,m),n.cloneAllDimensionInfo=(0,o.oI)(v,null,g),n}function h(e){var t=e.sourceFormat;if(!b(t)){var n="";0,(0,l.$8)(n)}return e.data}function f(e){var t=e.sourceFormat,n=e.data;if(!b(t)){var i="";0,(0,l.$8)(i)}if(t===r.Km){for(var a=[],s=0,u=n.length;s<u;s++)a.push(n[s].slice());return a}if(t===r.Wk){for(a=[],s=0,u=n.length;s<u;s++)a.push((0,o.X$)({},n[s]));return a}}function p(e,t,n){if(null!=n)return(0,o.Et)(n)||!isNaN(n)&&!(0,o.$3)(t,n)?e[n]:(0,o.$3)(t,n)?t[n]:void 0}function v(e){return(0,o.o8)(e)}var g=(0,o.nt)();function m(e){e=(0,o.o8)(e);var t=e.type,n="";t||(0,l.$8)(n);var r=t.split(":");2!==r.length&&(0,l.$8)(n);var i=!1;"echarts"===r[0]&&(t=r[1],i=!0),e.__isBuiltIn=i,g.set(t,e)}function y(e,t,n){var r=(0,i.qB)(e),o=r.length,a="";o||(0,l.$8)(a);for(var s=0,u=o;s<u;s++){var c=r[s];t=_(c,t,n,1===o?null:s),s!==u-1&&(t.length=Math.max(t.length,1))}return t}function _(e,t,n,a){var s="";t.length||(0,l.$8)(s),(0,o.Gv)(e)||(0,l.$8)(s);var c=e.type,h=g.get(c);h||(0,l.$8)(s);var f=(0,o.Tj)(t,(function(e){return d(e,h)})),p=(0,i.qB)(h.transform({upstream:f[0],upstreamList:f,config:(0,o.o8)(e.config)}));return(0,o.Tj)(p,(function(e,n){var i="";(0,o.Gv)(e)||(0,l.$8)(i),e.data||(0,l.$8)(i);var a,s=(0,u.wZ)(e.data);b(s)||(0,l.$8)(i);var c=t[0];if(c&&0===n&&!e.dimensions){var d=c.startIndex;d&&(e.data=c.data.slice(0,d).concat(e.data)),a={seriesLayoutBy:r.i_,sourceHeader:d,dimensions:c.metaRawOption.dimensions}}else a={seriesLayoutBy:r.i_,sourceHeader:0,dimensions:e.dimensions};return(0,u.gV)(e.data,a,null)}))}function b(e){return e===r.Km||e===r.Wk}},1259:(e,t,n)=>{"use strict";n.d(t,{Y:()=>f});var r=n(659),i=n(2401),o=n(9174),a=n(5487),s=n(9643),l=n(2486),u=n(6940),c=n(7332),d=[],h={registerPreprocessor:r.lP,registerProcessor:r.qg,registerPostInit:r.cf,registerPostUpdate:r.tb,registerUpdateLifecycle:r.xV,registerAction:r.OH,registerCoordinateSystem:r.pX,registerLayout:r.Oh,registerVisual:r.AF,registerTransform:r.iY,registerLoading:r.Ej,registerMap:r.mz,registerImpl:u.m,PRIORITY:r.FQ,ComponentModel:a.A,ComponentView:i.A,SeriesModel:s.A,ChartView:o.A,registerComponentModel:function(e){a.A.registerClass(e)},registerComponentView:function(e){i.A.registerClass(e)},registerSeriesModel:function(e){s.A.registerClass(e)},registerChartView:function(e){o.A.registerClass(e)},registerSubTypeDefaulter:function(e,t){a.A.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){(0,c.fI)(e,t)}};function f(e){(0,l.cy)(e)?(0,l.__)(e,(function(e){f(e)})):(0,l.qh)(d,e)>=0||(d.push(e),(0,l.Tn)(e)&&(e={install:e}),e.install(h))}},9348:(e,t,n)=>{"use strict";n.d(t,{Lu:()=>x,VB:()=>h,c8:()=>b,lx:()=>d,qM:()=>c});var r=n(8246),i=n(2486),o=n(1797),a=n(630),s={};function l(e,t){for(var n=0;n<o.BV.length;n++){var r=o.BV[n],i=t[r],a=e.ensureState(r);a.style=a.style||{},a.style.text=i}var s=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(s,!0)}function u(e,t,n){var r,a=e.labelFetcher,s=e.labelDataIndex,l=e.labelDimIndex,u=t.normal;a&&(r=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=(0,i.Tn)(e.defaultText)?e.defaultText(s,e,n):e.defaultText);for(var c={normal:r},d=0;d<o.BV.length;d++){var h=o.BV[d],f=t[h];c[h]=(0,i.bZ)(a?a.getFormattedLabel(s,h,null,l,f&&f.get("formatter")):null,r)}return c}function c(e,t,n,a){n=n||s;for(var c=e instanceof r.Ay,d=!1,p=0;p<o.wV.length;p++){var v=t[o.wV[p]];if(v&&v.getShallow("show")){d=!0;break}}var g=c?e:e.getTextContent();if(d){c||(g||(g=new r.Ay,e.setTextContent(g)),e.stateProxy&&(g.stateProxy=e.stateProxy));var m=u(n,t),y=t.normal,_=!!y.getShallow("show"),b=h(y,a&&a.normal,n,!1,!c);b.text=m.normal,c||e.setTextConfig(f(y,n,!1));for(p=0;p<o.BV.length;p++){var w=o.BV[p];v=t[w];if(v){var S=g.ensureState(w),k=!!(0,i.bZ)(v.getShallow("show"),_);if(k!==_&&(S.ignore=!k),S.style=h(v,a&&a[w],n,!0,!c),S.style.text=m[w],!c){var C=e.ensureState(w);C.textConfig=f(v,n,!0)}}}g.silent=!!y.getShallow("silent"),null!=g.style.x&&(b.x=g.style.x),null!=g.style.y&&(b.y=g.style.y),g.ignore=!_,g.useStyle(b),g.dirty(),n.enableTextSetter&&(x(g).setLabelText=function(e){var r=u(n,t,e);l(g,r)})}else g&&(g.ignore=!0);e.dirty()}function d(e,t){t=t||"label";for(var n={normal:e.getModel(t)},r=0;r<o.BV.length;r++){var i=o.BV[r];n[i]=e.getModel([i,t])}return n}function h(e,t,n,r,o){var a={};return p(a,e,n,r,o),t&&(0,i.X$)(a,t),a}function f(e,t,n){t=t||{};var r,o={},a=e.getShallow("rotate"),s=(0,i.bZ)(e.getShallow("distance"),n?null:5),l=e.getShallow("offset");return r=e.getShallow("position")||(n?null:"inside"),"outside"===r&&(r=t.defaultOutsidePosition||"top"),null!=r&&(o.position=r),null!=l&&(o.offset=l),null!=a&&(a*=Math.PI/180,o.rotation=a),null!=s&&(o.distance=s),o.outsideFill="inherit"===e.get("color")?t.inheritColor||null:"auto",o}function p(e,t,n,r,i){n=n||s;var o,a=t.ecModel,l=a&&a.option.textStyle,u=v(t);if(u)for(var c in o={},u)if(u.hasOwnProperty(c)){var d=t.getModel(["rich",c]);_(o[c]={},d,l,n,r,i,!1,!0)}o&&(e.rich=o);var h=t.get("overflow");h&&(e.overflow=h);var f=t.get("minMargin");null!=f&&(e.margin=f),_(e,t,l,n,r,i,!0,!1)}function v(e){var t;while(e&&e!==e.ecModel){var n=(e.option||s).rich;if(n){t=t||{};for(var r=(0,i.HP)(n),o=0;o<r.length;o++){var a=r[o];t[a]=1}}e=e.parentModel}return t}var g=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],m=["align","lineHeight","width","height","tag","verticalAlign"],y=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function _(e,t,n,r,o,a,l,u){n=!o&&n||s;var c=r&&r.inheritColor,d=t.getShallow("color"),h=t.getShallow("textBorderColor"),f=(0,i.bZ)(t.getShallow("opacity"),n.opacity);"inherit"!==d&&"auto"!==d||(d=c||null),"inherit"!==h&&"auto"!==h||(h=c||null),a||(d=d||n.color,h=h||n.textBorderColor),null!=d&&(e.fill=d),null!=h&&(e.stroke=h);var p=(0,i.bZ)(t.getShallow("textBorderWidth"),n.textBorderWidth);null!=p&&(e.lineWidth=p);var v=(0,i.bZ)(t.getShallow("textBorderType"),n.textBorderType);null!=v&&(e.lineDash=v);var _=(0,i.bZ)(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=_&&(e.lineDashOffset=_),o||null!=f||u||(f=r&&r.defaultOpacity),null!=f&&(e.opacity=f),o||a||null==e.fill&&r.inheritColor&&(e.fill=r.inheritColor);for(var b=0;b<g.length;b++){var x=g[b],w=(0,i.bZ)(t.getShallow(x),n[x]);null!=w&&(e[x]=w)}for(b=0;b<m.length;b++){x=m[b],w=t.getShallow(x);null!=w&&(e[x]=w)}if(null==e.verticalAlign){var S=t.getShallow("baseline");null!=S&&(e.verticalAlign=S)}if(!l||!r.disableBox){for(b=0;b<y.length;b++){x=y[b],w=t.getShallow(x);null!=w&&(e[x]=w)}var k=t.getShallow("borderType");null!=k&&(e.borderDash=k),"auto"!==e.backgroundColor&&"inherit"!==e.backgroundColor||!c||(e.backgroundColor=c),"auto"!==e.borderColor&&"inherit"!==e.borderColor||!c||(e.borderColor=c)}}function b(e,t){var n=t&&t.getModel("textStyle");return(0,i.Bq)([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var x=(0,a.$r)()},5487:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(1730),i=n(2486),o=n(2555),a=n(8660),s=n(7489),l=n(630),u=n(7049),c=(0,l.$r)(),d=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.uid=a.$Q("ec_cpt_model"),i}return(0,r.C6)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=u.ad(this),r=n?u.vs(e):{},o=t.getTheme();i.h1(e,o.get(this.mainType)),i.h1(e,this.getDefaultOption()),n&&u.YA(e,r,n)},t.prototype.mergeOption=function(e,t){i.h1(this.option,e,!0);var n=u.ad(this);n&&u.YA(this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!(0,s._E)(e))return e.defaultOption;var t=c(this);if(!t.defaultOption){var n=[],r=e;while(r){var o=r.prototype.defaultOption;o&&n.push(o),r=r.superClass}for(var a={},l=n.length-1;l>=0;l--)a=i.h1(a,n[l],!0);t.defaultOption=a}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",r=e+"Id";return(0,l.JO)(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(o.A);function h(e){var t=[];return i.__(d.getClassesByMainType(e),(function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])})),t=i.Tj(t,(function(e){return(0,s.CC)(e).main})),"dataset"!==e&&i.qh(t,"dataset")<=0&&t.unshift("dataset"),t}(0,s.q7)(d,o.A),(0,s.tQ)(d),a.A6(d),a.vf(d,h);const f=d},2555:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(4047),i=n(7489),o=n(7356),a=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],s=(0,o.A)(a),l=function(){function e(){}return e.prototype.getAreaStyle=function(e,t){return s(this,e,t)},e}(),u=n(9348),c=n(8246),d=["textStyle","color"],h=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],f=new c.Ay,p=function(){function e(){}return e.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(d):null)},e.prototype.getFont=function(){return(0,u.c8)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<h.length;n++)t[h[n]]=this.getShallow(h[n]);return f.useStyle(t),f.update(),f.getBoundingRect()},e}();const v=p;var g=n(4273),m=n(4262),y=n(2486),_=function(){function e(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}return e.prototype.init=function(e,t,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},e.prototype.mergeOption=function(e,t){(0,y.h1)(this.option,e,!0)},e.prototype.get=function(e,t){return null==e?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},e.prototype.getShallow=function(e,t){var n=this.option,r=null==n?n:n[e];if(null==r&&!t){var i=this.parentModel;i&&(r=i.getShallow(e))}return r},e.prototype.getModel=function(t,n){var r=null!=t,i=r?this.parsePath(t):null,o=r?this._doGet(i):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new e(o,n,this.ecModel)},e.prototype.isEmpty=function(){return null==this.option},e.prototype.restoreData=function(){},e.prototype.clone=function(){var e=this.constructor;return new e((0,y.o8)(this.option))},e.prototype.parsePath=function(e){return"string"===typeof e?e.split("."):e},e.prototype.resolveParentPath=function(e){return e},e.prototype.isAnimationEnabled=function(){if(!r.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(e,t){var n=this.option;if(!e)return n;for(var r=0;r<e.length;r++)if(e[r]&&(n=n&&"object"===typeof n?n[e[r]]:null,null==n))break;return null==n&&t&&(n=t._doGet(this.resolveParentPath(e),t.parentModel)),n},e}();(0,i.gq)(_),(0,i.Od)(_),(0,y.co)(_,g.J),(0,y.co)(_,m.s),(0,y.co)(_,l),(0,y.co)(_,v);const b=_},9643:(e,t,n)=>{"use strict";n.d(t,{A:()=>B});var r=n(1730),i=n(2486),o=n(4047),a=n(630),s=n(5487),l=n(1217),u=n(1023),c=n(7049),d=n(3699),h=n(7489),f=n(1637),p=n(9002),v=n(891),g=n(420),m=n(6862),y=n(391),_=function(){function e(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n=this._sourceHost,r=this._getUpstreamSourceManagers(),o=!!r.length;if(b(n)){var a=n,s=void 0,l=void 0,u=void 0;if(o){var c=r[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,t=[c._getVersionSign()]}else s=a.get("data",!0),l=(0,i.iu)(s)?p.XO:p.mK,t=[];var d=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},v=(0,i.bZ)(d.seriesLayoutBy,h.seriesLayoutBy)||null,g=(0,i.bZ)(d.sourceHeader,h.sourceHeader),m=(0,i.bZ)(d.dimensions,h.dimensions),y=v!==h.seriesLayoutBy||!!g!==!!h.sourceHeader||m;e=y?[(0,f.gV)(s,{seriesLayoutBy:v,sourceHeader:g,dimensions:m},l)]:[]}else{var _=n;if(o){var x=this._applyTransform(r);e=x.sourceList,t=x.upstreamSignList}else{var w=_.get("source",!0);e=[(0,f.gV)(w,this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,r=n.get("transform",!0),o=n.get("fromTransformResult",!0);if(null!=o){var a="";1!==e.length&&x(a)}var s=[],l=[];return(0,i.__)(e,(function(e){e.prepareSource();var t=e.getSource(o||0),n="";null==o||t||x(n),s.push(t),l.push(e._getVersionSign())})),r?t=(0,g.py)(r,s,{datasetIndex:n.componentIndex}):null!=o&&(t=[(0,f.BE)(s[0])]),{sourceList:t,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var n=e[t];if(n._isDirty()||this._upstreamSignList[t]!==n._getVersionSign())return!0}},e.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(e)}return t},e.prototype.getSharedDataStore=function(e){var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},e.prototype._innerGetDataStore=function(e,t,n){var r=0,i=this._storeList,o=i[r];o||(o=i[r]={});var a=o[n];if(!a){var s=this._getUpstreamSourceManagers()[0];b(this._sourceHost)&&s?a=s._innerGetDataStore(e,t,n):(a=new m.Ay,a.initData(new y.d1(t,e.length),e)),o[n]=a}return a},e.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(b(e)){var t=(0,v.G9)(e);return t?[t.getSourceManager()]:[]}return(0,i.Tj)((0,v.Gt)(e),(function(e){return e.getSourceManager()}))},e.prototype._getSourceMetaRawOption=function(){var e,t,n,r=this._sourceHost;if(b(r))e=r.get("seriesLayoutBy",!0),t=r.get("sourceHeader",!0),n=r.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=r;e=i.get("seriesLayoutBy",!0),t=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:t,dimensions:n}},e}();function b(e){return"series"===e.mainType}function x(e){throw new Error(e)}var w=n(8429);function S(e){var t,n,r,o,s=e.series,l=e.dataIndex,u=e.multipleSeries,c=s.getData(),d=c.mapDimensionsAll("defaultedTooltip"),h=d.length,f=s.getRawValue(l),p=(0,i.cy)(f),v=(0,w.aw)(s,l);if(h>1||p&&!h){var g=k(f,s,l,d,v);t=g.inlineValues,n=g.inlineValueTypes,r=g.blocks,o=g.inlineValues[0]}else if(h){var m=c.getDimensionInfo(d[0]);o=t=(0,y.QE)(c,l,d[0]),n=m.type}else o=t=p?f[0]:f;var _=(0,a.O0)(s),b=_&&s.name||"",x=c.getName(l),S=u?b:x;return(0,w.Qx)("section",{header:b,noHeader:u||!_,sortParam:o,blocks:[(0,w.Qx)("nameValue",{markerType:"item",markerColor:v,name:S,noName:!(0,i.Bq)(S),value:t,valueType:n})].concat(r||[])})}function k(e,t,n,r,o){var a=t.getData(),s=(0,i.TS)(e,(function(e,t,n){var r=a.getDimensionInfo(n);return e||r&&!1!==r.tooltip&&null!=r.displayName}),!1),l=[],u=[],c=[];function d(e,t){var n=a.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(s?c.push((0,w.Qx)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:e,valueType:n.type})):(l.push(e),u.push(n.type)))}return r.length?(0,i.__)(r,(function(e){d((0,y.QE)(a,n,e),e)})):(0,i.__)(e,d),{inlineValues:l,inlineValueTypes:u,blocks:c}}var C=a.$r();function A(e,t){return e.getName(t)||e.getId(t)}var T="__universalTransitionEnabled",E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return(0,r.C6)(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,d.U)({count:D,reset:R}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n);var r=C(this).sourceManager=new _(this);r.prepareSource();var i=this.getInitialData(e,n);O(i,this),this.dataTask.context.data=i,C(this).dataBeforeProcessed=i,M(this),this._initSelectedMapFromData(i)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=(0,c.ad)(this),r=n?(0,c.vs)(e):{},o=this.subType;s.A.hasClass(o)&&(o+="Series"),i.h1(e,t.getTheme().get(this.subType)),i.h1(e,this.getDefaultOption()),a.M5(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&(0,c.YA)(e,r,n)},t.prototype.mergeOption=function(e,t){e=i.h1(this.option,e,!0),this.fillDataTextStyle(e.data);var n=(0,c.ad)(this);n&&(0,c.YA)(this.option,e,n);var r=C(this).sourceManager;r.dirty(),r.prepareSource();var o=this.getInitialData(e,t);O(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,C(this).dataBeforeProcessed=o,M(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(e){if(e&&!i.iu(e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&a.M5(e[n],"label",t)},t.prototype.getInitialData=function(e,t){},t.prototype.appendData=function(e){var t=this.getRawData();t.appendData(e.data)},t.prototype.getData=function(e){var t=z(this);if(t){var n=t.context.data;return null==e?n:n.getLinkedData(e)}return C(this).data},t.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},t.prototype.setData=function(e){var t=z(this);if(t){var n=t.context;n.outputData=e,t!==this.dataTask&&(n.data=e)}C(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return i.nt(e)},t.prototype.getSourceManager=function(){return C(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return C(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var e=this.get("colorBy");return e||"series"},t.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},t.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},t.prototype.formatTooltip=function(e,t,n){return S({series:this,dataIndex:e,multipleSeries:t})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(o.A.node&&(!e||!e.ssr))return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,i=l.X.prototype.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(t);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<e.length;o++){var a=e[o],s=A(i,a);n[s]=!1,this._selectedDataIndicesMap[s]=-1}}},t.prototype.toggleSelect=function(e,t){for(var n=[],r=0;r<e.length;r++)n[0]=e[r],this.isSelected(e[r],t)?this.unselect(n,t):this.select(n,t)},t.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,t=i.HP(e),n=[],r=0;r<t.length;r++){var o=e[t[r]];o>=0&&n.push(o)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return("all"===n||n[A(r,e)])&&!r.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[T])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,o=this.option,a=o.selectedMode,s=t.length;if(a&&s)if("series"===a)o.selectedMap="all";else if("multiple"===a){i.Gv(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var c=t[u],d=A(e,c);l[d]=!0,this._selectedDataIndicesMap[d]=e.getRawIndex(c)}}else if("single"===a||!0===a){var h=t[s-1];d=A(e,h);o.selectedMap=(n={},n[d]=!0,n),this._selectedDataIndicesMap=(r={},r[d]=e.getRawIndex(h),r)}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var t=[];e.hasItemOption&&e.each((function(n){var r=e.getRawDataItem(n);r&&r.selected&&t.push(n)})),t.length>0&&this._innerSelect(e,t)}},t.registerClass=function(e){return s.A.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(s.A);function M(e){var t=e.name;a.O0(e)||(e.name=I(e)||t)}function I(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return i.__(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}function D(e){return e.model.getRawData().count()}function R(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),L}function L(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function O(e,t){i.__(i.yB(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,i.cF(P,t))}))}function P(e,t){var n=z(e);return n&&n.setOutputEnd((t||this).count()),t}function z(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}i.co(E,u.J),i.co(E,l.X),(0,h.q7)(E,s.A);const B=E},6078:(e,t,n)=>{"use strict";n.d(t,{S:()=>o,a:()=>a});var r=n(2486),i=(0,r.nt)();function o(e,t){(0,r.vA)(null==i.get(e)&&t),i.set(e,t)}function a(e,t,n){var r=i.get(t);if(!r)return n;var o=r(e);return o?n.concat(o):n}},1023:(e,t,n)=>{"use strict";n.d(t,{J:()=>s,L:()=>l});var r=n(2486),i=n(391),o=n(8992),a=/\{@(.+?)\}/g,s=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),o=n.getName(e),a=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),l=s&&s[n.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,d="series"===c,h=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:o,dataIndex:i,data:a,dataType:t,value:r,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,s,l,u){t=t||"normal";var c=this.getData(n),d=this.getDataParams(e,n);if(u&&(d.value=u.interpolatedValue),null!=s&&r.cy(d.value)&&(d.value=d.value[s]),!l){var h=c.getItemModel(e);l=h.get("normal"===t?["label","formatter"]:[t,"label","formatter"])}if(r.Tn(l))return d.status=t,d.dimensionIndex=s,l(d);if(r.Kg(l)){var f=(0,o.YK)(l,d);return f.replace(a,(function(t,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,i.QE)(c,e,a);if(u&&r.cy(u.interpolatedValue)){var l=c.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}))}},e.prototype.getRawValue=function(e,t){return(0,i.QE)(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function l(e){var t,n;return r.Gv(e)?e.type&&(n=e):t=e,{text:t,frag:n}}},4262:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,s:()=>a});var r=n(7356),i=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,r.A)(i),a=function(){function e(){}return e.prototype.getItemStyle=function(e,t){return o(this,e,t)},e}()},4273:(e,t,n)=>{"use strict";n.d(t,{J:()=>a,m:()=>i});var r=n(7356),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,r.A)(i),a=function(){function e(){}return e.prototype.getLineStyle=function(e){return o(this,e)},e}()},7356:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2486);function i(e,t){for(var n=0;n<e.length;n++)e[n][1]||(e[n][1]=e[n][0]);return t=t||!1,function(n,i,o){for(var a={},s=0;s<e.length;s++){var l=e[s][1];if(!(i&&r.qh(i,l)>=0||o&&r.qh(o,l)<0)){var u=n.getShallow(l,t);null!=u&&(a[e[s][0]]=u)}}return a}}},1217:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(630),i=(0,r.$r)(),o=((0,r.$r)(),function(){function e(){}return e.prototype.getColorFromPalette=function(e,t,n){var o=(0,r.qB)(this.get("color",!0)),a=this.get("colorLayer",!0);return s(this,i,o,a,e,t,n)},e.prototype.clearColorPalette=function(){l(this,i)},e}());function a(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}function s(e,t,n,r,i,o,s){o=o||e;var l=t(o),u=l.paletteIdx||0,c=l.paletteNameMap=l.paletteNameMap||{};if(c.hasOwnProperty(i))return c[i];var d=null!=s&&r?a(r,s):n;if(d=d||n,d&&d.length){var h=d[u];return i&&(c[i]=h),l.paletteIdx=(u+1)%d.length,h}}function l(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}},6926:(e,t,n)=>{"use strict";n.d(t,{a:()=>C});var r=n(9054),i=n(2486),o=n(8462),a=n(6105),s=n(3443),l=n(133),u=n(2848),c=n(4580),d=n(985);function h(e,t,n){var r=d.yh.createCanvas(),i=t.getWidth(),o=t.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",r.setAttribute("data-zr-dom-id",e)),r.width=i*n,r.height=o*n,r}var f=function(e){function t(t,n,o){var a,s=e.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||r.Y5,"string"===typeof t?a=h(t,n,o):i.Gv(t)&&(a=t,t=a.id),s.id=t,s.dom=a;var l=a.style;return l&&(i.iq(a),a.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=n,s.dpr=o,s}return(0,o.C6)(t,e),t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=h("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,t,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,l=new u.A(0,0,0,0);function d(e){if(e.isFinite()&&!e.isZero())if(0===o.length){var t=new u.A(0,0,0,0);t.copy(e),o.push(t)}else{for(var n=!1,r=1/0,i=0,c=0;c<o.length;++c){var d=o[c];if(d.intersect(e)){var h=new u.A(0,0,0,0);h.copy(d),h.union(e),o[c]=h,n=!0;break}if(s){l.copy(e),l.union(d);var f=e.width*e.height,p=d.width*d.height,v=l.width*l.height,g=v-f-p;g<r&&(r=g,i=c)}}if(s&&(o[i].union(e),n=!0),!n){t=new u.A(0,0,0,0);t.copy(e),o.push(t)}s||(s=o.length>=a)}}for(var h=this.__startIndex;h<this.__endIndex;++h){var f=e[h];if(f){var p=f.shouldBePainted(n,r,!0,!0),v=f.__isRendered&&(f.__dirty&c.M||!p)?f.getPrevPaintRect():null;v&&d(v);var g=p&&(f.__dirty&c.M||!f.__isRendered)?f.getPaintRect():null;g&&d(g)}}for(h=this.__prevStartIndex;h<this.__prevEndIndex;++h){f=t[h],p=f.shouldBePainted(n,r,!0,!0);if(f&&(!p||!f.__zr)&&f.__isRendered){v=f.getPrevPaintRect();v&&d(v)}}do{i=!1;for(h=0;h<o.length;)if(o[h].isZero())o.splice(h,1);else{for(var m=h+1;m<o.length;)o[h].intersect(o[m])?(i=!0,o[h].union(o[m]),o.splice(m,1)):m++;h++}}while(i);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,t){var n=this.dpr,r=this.dom,i=r.style,o=this.domBack;i&&(i.width=e+"px",i.height=t+"px"),r.width=e*n,r.height=t*n,o&&(o.width=e*n,o.height=t*n,1!==n&&this.ctxBack.scale(n,n))},t.prototype.clear=function(e,t,n){var r=this.dom,o=this.ctx,a=r.width,u=r.height;t=t||this.clearColor;var c=this.motionBlur&&!e,d=this.lastFrameAlpha,h=this.dpr,f=this;c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,a/h,u/h));var p=this.domBack;function v(e,n,r,a){if(o.clearRect(e,n,r,a),t&&"transparent"!==t){var u=void 0;if(i.C7(t)){var v=t.global||t.__width===r&&t.__height===a;u=v&&t.__canvasGradient||(0,s.Ff)(o,t,{x:0,y:0,width:r,height:a}),t.__canvasGradient=u,t.__width=r,t.__height=a}else i.HE(t)&&(t.scaleX=t.scaleX||h,t.scaleY=t.scaleY||h,u=(0,l.ZQ)(o,t,{dirty:function(){f.setUnpainted(),f.__painter.refresh()}}));o.save(),o.fillStyle=u||t,o.fillRect(e,n,r,a),o.restore()}c&&(o.save(),o.globalAlpha=d,o.drawImage(p,e,n,r,a),o.restore())}!n||c?v(0,0,a,u):n.length&&i.__(n,(function(e){v(e.x*h,e.y*h,e.width*h,e.height*h)}))},t}(a.A);const p=f;var v=n(2541),g=n(4047),m=1e5,y=314159,_=.01,b=.001;function x(e){return!!e&&(!!e.__builtin__||"function"===typeof e.resize&&"function"===typeof e.refresh)}function w(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var S=function(){function e(e,t,n,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=i.X$({},n||{}),this.dpr=n.devicePixelRatio||r.Y5,this._singleCanvas=a,this.root=e;var l=e.style;l&&(i.iq(e),e.innerHTML=""),this.storage=t;var u=this._zlevelList;this._prevDisplayList=[];var c=this._layers;if(a){var d=e,h=d.width,f=d.height;null!=n.width&&(h=n.width),null!=n.height&&(f=n.height),this.dpr=n.devicePixelRatio||1,d.width=h*this.dpr,d.height=f*this.dpr,this._width=h,this._height=f;var v=new p(d,this,this.dpr);v.__builtin__=!0,v.initContext(),c[y]=v,v.zlevel=y,u.push(y),this._domRoot=e}else{this._width=(0,s.YC)(e,0,n),this._height=(0,s.YC)(e,1,n);var g=this._domRoot=w(this._width,this._height);e.appendChild(g)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),n=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,n,e,this._redrawId);for(var i=0;i<r.length;i++){var o=r[i],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===i?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=t.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(e){var t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){for(var r,i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<t;o++){var a=e[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(m)),r||(r=n.ctx,r.save()),(0,l.V$)(r,a,i,o===t-1))}r&&r.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(m)},e.prototype.paintOne=function(e,t){(0,l.Xi)(e,t)},e.prototype._paintList=function(e,t,n,r){if(this._redrawId===r){n=n||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t,n),o=i.finished,a=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(e),o)this.eachLayer((function(e){e.afterBrush&&e.afterBrush()}));else{var s=this;(0,v.A)((function(){s._paintList(e,t,n,r)}))}}},e.prototype._compositeManually=function(){var e=this.getLayer(y).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(r){r.virtual&&e.drawImage(r.dom,0,0,t,n)}))},e.prototype._doPaintList=function(e,t,n){for(var r=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&o.push(u)}for(var c=!0,d=!1,h=function(i){var s,l=o[i],u=l.ctx,h=a&&l.createRepaintRects(e,t,f._width,f._height),p=n?l.__startIndex:l.__drawIndex,v=!n&&l.incremental&&Date.now,g=v&&Date.now(),m=l.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,m,h);else if(p===l.__startIndex){var y=e[p];y.incremental&&y.notClear&&!n||l.clear(!1,m,h)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=l.__startIndex);var _=function(t){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(s=p;s<l.__endIndex;s++){var i=e[s];if(i.__inHover&&(d=!0),r._doPaintEl(i,l,a,t,n,s===l.__endIndex-1),v){var o=Date.now()-g;if(o>15)break}}n.prevElClipPaths&&u.restore()};if(h)if(0===h.length)s=l.__endIndex;else for(var b=f.dpr,x=0;x<h.length;++x){var w=h[x];u.save(),u.beginPath(),u.rect(w.x*b,w.y*b,w.width*b,w.height*b),u.clip(),_(w),u.restore()}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(c=!1)},f=this,p=0;p<o.length;p++)h(p);return g.A.wxa&&i.__(this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),{finished:c,needsRefreshHover:d}},e.prototype._doPaintEl=function(e,t,n,r,i,o){var a=t.ctx;if(n){var s=e.getPaintRect();(!r||s&&s.intersect(r))&&((0,l.V$)(a,e,i,o),e.setPrevPaintRect(s))}else(0,l.V$)(a,e,i,o)},e.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=y);var n=this._layers[e];return n||(n=new p("zr_"+e,this,this.dpr),n.zlevel=e,n.__builtin__=!0,this._layerConfig[e]?i.h1(n,this._layerConfig[e],!0):this._layerConfig[e-_]&&i.h1(n,this._layerConfig[e-_],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},e.prototype.insertLayer=function(e,t){var n=this._layers,r=this._zlevelList,i=r.length,o=this._domRoot,a=null,s=-1;if(!n[e]&&x(t)){if(i>0&&e>r[0]){for(s=0;s<i-1;s++)if(r[s]<e&&r[s+1]>e)break;a=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(t.dom,l.nextSibling):o.appendChild(t.dom)}else o.firstChild?o.insertBefore(t.dom,o.firstChild):o.appendChild(t.dom);t.__painter=this}},e.prototype.eachLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r];e.call(t,this._layers[i],i)}},e.prototype.eachBuiltinLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__&&e.call(t,o,i)}},e.prototype.eachOtherLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__||e.call(t,o,i)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(e){function t(e){s&&(s.__endIndex!==e&&(s.__dirty=!0),s.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++){var r=e[n];if(r.zlevel!==e[n-1].zlevel||r.incremental){this._needsManuallyCompositing=!0;break}}var o,a,s=null,l=0;for(a=0;a<e.length;a++){r=e[a];var u=r.zlevel,d=void 0;o!==u&&(o=u,l=0),r.incremental?(d=this.getLayer(u+b,this._needsManuallyCompositing),d.incremental=!0,l=1):d=this.getLayer(u+(l>0?_:0),this._needsManuallyCompositing),d.__builtin__||i.vV("ZLevel "+u+" has been used by unkown layer "+d.id),d!==s&&(d.__used=!0,d.__startIndex!==a&&(d.__dirty=!0),d.__startIndex=a,d.incremental?d.__drawIndex=-1:d.__drawIndex=a,t(a),s=d),r.__dirty&c.M&&!r.__inHover&&(d.__dirty=!0,d.incremental&&d.__drawIndex<0&&(d.__drawIndex=a))}t(a),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(e){e.clear()},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e,i.__(this._layers,(function(e){e.setUnpainted()}))},e.prototype.configLayer=function(e,t){if(t){var n=this._layerConfig;n[e]?i.h1(n[e],t,!0):n[e]=t;for(var r=0;r<this._zlevelList.length;r++){var o=this._zlevelList[r];if(o===e||o===e+_){var a=this._layers[o];i.h1(a,n[e],!0)}}}},e.prototype.delLayer=function(e){var t=this._layers,n=this._zlevelList,r=t[e];r&&(r.dom.parentNode.removeChild(r.dom),delete t[e],n.splice(i.qh(n,e),1))},e.prototype.resize=function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts,i=this.root;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=(0,s.YC)(i,0,r),t=(0,s.YC)(i,1,r),n.style.display="",this._width!==e||t!==this._height){for(var o in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(e,t);this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(y).resize(e,t)}return this},e.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[y].dom;var t=new p("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor);var n=t.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var r=t.dom.width,i=t.dom.height;this.eachLayer((function(e){e.__builtin__?n.drawImage(e.dom,0,0,r,i):e.renderToCanvas&&(n.save(),e.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,u=a.length;s<u;s++){var c=a[s];(0,l.V$)(n,c,o,s===u-1)}return t.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}();const k=S;function C(e){e.registerPainter("canvas",k)}},1606:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1730),i=n(4018),o=n(8992),a=n(6361),s=n(9763),l=i.LI,u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return(0,r.C6)(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return s.lP(e,this._extent)},t.prototype.normalize=function(e){return s.S8(e,this._extent)},t.prototype.scale=function(e){return s.hs(e,this._extent)},t.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.u$(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!t)return o;var a=1e4;n[0]<r[0]&&(e?o.push({value:l(r[0]-t,i)}):o.push({value:n[0]}));var s=r[0];while(s<=r[1]){if(o.push({value:s}),s=l(s+t,i),s===o[o.length-1].value)break;if(o.length>a)return[]}var u=o.length?o[o.length-1].value:r[1];return n[1]>u&&(e?o.push({value:l(u+t,i)}):o.push({value:n[1]})),o},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),i=1;i<t.length;i++){var o=t[i],a=t[i-1],s=0,u=[],c=o.value-a.value,d=c/e;while(s<e-1){var h=l(a.value+(s+1)*d);h>r[0]&&h<r[1]&&u.push(h),s++}n.push(u)}return n},t.prototype.getLabel=function(e,t){if(null==e)return"";var n=t&&t.precision;null==n?n=i.XV(e.value)||0:"auto"===n&&(n=this._intervalPrecision);var r=l(e.value,n,!0);return o.ob(r)},t.prototype.calcNiceTicks=function(e,t,n){e=e||5;var r=this._extent,i=r[1]-r[0];if(isFinite(i)){i<0&&(i=-i,r.reverse());var o=s.xh(r,e,t,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=Math.abs(t[0]);e.fixMax||(t[1]+=n/2),t[0]-=n/2}else t[1]=1;var r=t[1]-t[0];isFinite(r)||(t[0]=0,t[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var i=this._interval;e.fixMin||(t[0]=l(Math.floor(t[0]/i)*i)),e.fixMax||(t[1]=l(Math.ceil(t[1]/i)*i))},t.prototype.setNiceExtent=function(e,t){this._niceExtent=[e,t]},t.type="interval",t}(a.A);a.A.registerClass(u);const c=u},6361:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7489),i=function(){function e(e){this._setting=e||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(e){return this._setting[e]},e.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();r.tQ(i);const o=i},9763:(e,t,n)=>{"use strict";n.d(t,{S8:()=>d,hs:()=>h,kH:()=>a,lP:()=>c,rf:()=>i,u$:()=>s,xh:()=>o});var r=n(4018);function i(e){return"interval"===e.type||"log"===e.type}function o(e,t,n,i){var o={},a=e[1]-e[0],l=o.interval=(0,r.Cm)(a/t,!0);null!=n&&l<n&&(l=o.interval=n),null!=i&&l>i&&(l=o.interval=i);var c=o.intervalPrecision=s(l),d=o.niceTickExtent=[(0,r.LI)(Math.ceil(e[0]/l)*l,c),(0,r.LI)(Math.floor(e[1]/l)*l,c)];return u(d,e),o}function a(e){var t=Math.pow(10,(0,r.NX)(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,(0,r.LI)(n*t)}function s(e){return(0,r.XV)(e)+2}function l(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function u(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),l(e,0,t),l(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function c(e,t){return e>=t[0]&&e<=t[1]}function d(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function h(e,t){return e*(t[1]-t[0])+t[0]}},7489:(e,t,n)=>{"use strict";n.d(t,{CC:()=>l,Od:()=>v,_E:()=>c,gq:()=>d,q7:()=>f,tQ:()=>y});var r=n(1730),i=n(2486),o=".",a="___EC__COMPONENT__CONTAINER___",s="___EC__EXTENDED_CLASS___";function l(e){var t={main:"",sub:""};if(e){var n=e.split(o);t.main=n[0]||"",t.sub=n[1]||""}return t}function u(e){i.vA(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function c(e){return!(!e||!e[s])}function d(e,t){e.$constructor=e,e.extend=function(e){var t,n=this;return h(n)?t=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.C6)(t,e),t}(n):(t=function(){(e.$constructor||n).apply(this,arguments)},i.B(t,this)),i.X$(t.prototype,e),t[s]=!0,t.extend=this.extend,t.superCall=g,t.superApply=m,t.superClass=n,t}}function h(e){return i.Tn(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function f(e,t){e.extend=t.extend}var p=Math.round(10*Math.random());function v(e){var t=["__\0is_clz",p++].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function g(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[t].apply(e,n)}function m(e,t,n){return this.superClass.prototype[t].apply(e,n)}function y(e){var t={};function n(e){var n=t[e.main];return n&&n[a]||(n=t[e.main]={},n[a]=!0),n}e.registerClass=function(e){var r=e.type||e.prototype.type;if(r){u(r),e.prototype.type=r;var i=l(r);if(i.sub){if(i.sub!==a){var o=n(i);o[i.sub]=e}}else t[i.main]=e}return e},e.getClass=function(e,n,r){var i=t[e];if(i&&i[a]&&(i=n?i[n]:null),r&&!i)throw new Error(n?"Component "+e+"."+(n||"")+" is used but not imported.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){var n=l(e),r=[],o=t[n.main];return o&&o[a]?i.__(o,(function(e,t){t!==a&&r.push(e)})):r.push(o),r},e.hasClass=function(e){var n=l(e);return!!t[n.main]},e.getAllClassMainTypes=function(){var e=[];return i.__(t,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){var n=l(e),r=t[n.main];return r&&r[a]}}},8660:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>a,A6:()=>s,G_:()=>u,vf:()=>l});var r=n(2486),i=n(7489),o=Math.round(10*Math.random());function a(e){return[e||"",o++].join("_")}function s(e){var t={};e.registerSubTypeDefaulter=function(e,n){var r=(0,i.CC)(e);t[r.main]=n},e.determineSubType=function(n,r){var o=r.type;if(!o){var a=(0,i.CC)(n).main;e.hasSubTypes(n)&&t[a]&&(o=t[a](r))}return o}}function l(e,t){function n(e){var n={},a=[];return r.__(e,(function(s){var l=i(n,s),u=l.originalDeps=t(s),c=o(u,e);l.entryCount=c.length,0===l.entryCount&&a.push(s),r.__(c,(function(e){r.qh(l.predecessor,e)<0&&l.predecessor.push(e);var t=i(n,e);r.qh(t.successor,e)<0&&t.successor.push(s)}))})),{graph:n,noEntryList:a}}function i(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function o(e,t){var n=[];return r.__(e,(function(e){r.qh(t,e)>=0&&n.push(e)})),n}e.topologicalTravel=function(e,t,i,o){if(e.length){var a=n(t),s=a.graph,l=a.noEntryList,u={};r.__(e,(function(e){u[e]=!0}));while(l.length){var c=l.pop(),d=s[c],h=!!u[c];h&&(i.call(o,c,d.originalDeps.slice()),delete u[c]),r.__(d.successor,h?p:f)}r.__(u,(function(){var e="";throw new Error(e)}))}function f(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function p(e){u[e]=!0,f(e)}}}function u(e,t){return r.h1(r.h1({},e,!0),t,!0)}},4919:(e,t,n)=>{"use strict";n.d(t,{w:()=>g});var r=Math.round(9*Math.random()),i="function"===typeof Object.defineProperty,o=function(){function e(){this._id="__ec_inner_"+r++}return e.prototype.get=function(e){return this._guard(e)[this._id]},e.prototype.set=function(e,t){var n=this._guard(e);return i?Object.defineProperty(n,this._id,{value:t,enumerable:!1,configurable:!0}):n[this._id]=t,this},e.prototype["delete"]=function(e){return!!this.has(e)&&(delete this._guard(e)[this._id],!0)},e.prototype.has=function(e){return!!this._guard(e)[this._id]},e.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},e}();const a=o;var s=n(2369),l=n(2486),u=n(4018),c=n(6027),d=n(133),h=n(985),f=new a,p=new s.Ay(100),v=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(e,t){if("none"===e)return null;var n=t.getDevicePixelRatio(),r=t.getZr(),i="svg"===r.painter.type;e.dirty&&f["delete"](e);var o=f.get(e);if(o)return o;var a=(0,l.NT)(e,{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 s={repeat:"repeat"};return g(s),s.rotation=a.rotation,s.scaleX=s.scaleY=i?1:1/n,f.set(e,s),e.dirty=!1,s;function g(e){for(var t,o=[n],s=!0,f=0;f<v.length;++f){var g=a[v[f]];if(null!=g&&!(0,l.cy)(g)&&!(0,l.Kg)(g)&&!(0,l.Et)(g)&&"boolean"!==typeof g){s=!1;break}o.push(g)}if(s){t=o.join(",")+(i?"-svg":"");var w=p.get(t);w&&(i?e.svgElement=w:e.image=w)}var S,k=y(a.dashArrayX),C=_(a.dashArrayY),A=m(a.symbol),T=b(k),E=x(C),M=!i&&h.yh.createCanvas(),I=i&&{tag:"g",attrs:{},key:"dcl",children:[]},D=R();function R(){for(var e=1,t=0,n=T.length;t<n;++t)e=(0,u.lQ)(e,T[t]);var r=1;for(t=0,n=A.length;t<n;++t)r=(0,u.lQ)(r,A[t].length);e*=r;var i=E*T.length*A.length;return{width:Math.max(1,Math.min(e,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}function L(){S&&(S.clearRect(0,0,M.width,M.height),a.backgroundColor&&(S.fillStyle=a.backgroundColor,S.fillRect(0,0,M.width,M.height)));for(var e=0,t=0;t<C.length;++t)e+=C[t];if(!(e<=0)){var o=-E,s=0,l=0,u=0;while(o<D.height){if(s%2===0){var h=l/2%A.length,f=0,p=0,v=0;while(f<2*D.width){var g=0;for(t=0;t<k[u].length;++t)g+=k[u][t];if(g<=0)break;if(p%2===0){var m=.5*(1-a.symbolSize),y=f+k[u][p]*m,_=o+C[s]*m,b=k[u][p]*a.symbolSize,x=C[s]*a.symbolSize,w=v/2%A[h].length;T(y,_,b,x,A[h][w])}f+=k[u][p],++v,++p,p===k[u].length&&(p=0)}++u,u===k.length&&(u=0)}o+=C[s],++l,++s,s===C.length&&(s=0)}}function T(e,t,o,s,l){var u=i?1:n,h=(0,c.v5)(l,e*u,t*u,o*u,s*u,a.color,a.symbolKeepAspect);if(i){var f=r.painter.renderOneToVNode(h);f&&I.children.push(f)}else(0,d.Xi)(S,h)}}M&&(M.width=D.width*n,M.height=D.height*n,S=M.getContext("2d")),L(),s&&p.put(t,M||I),e.image=M,e.svgElement=I,e.svgWidth=D.width,e.svgHeight=D.height}}function m(e){if(!e||0===e.length)return[["rect"]];if((0,l.Kg)(e))return[[e]];for(var t=!0,n=0;n<e.length;++n)if(!(0,l.Kg)(e[n])){t=!1;break}if(t)return m([e]);var r=[];for(n=0;n<e.length;++n)(0,l.Kg)(e[n])?r.push([e[n]]):r.push(e[n]);return r}function y(e){if(!e||0===e.length)return[[0,0]];if((0,l.Et)(e)){var t=Math.ceil(e);return[[t,t]]}for(var n=!0,r=0;r<e.length;++r)if(!(0,l.Et)(e[r])){n=!1;break}if(n)return y([e]);var i=[];for(r=0;r<e.length;++r)if((0,l.Et)(e[r])){t=Math.ceil(e[r]);i.push([t,t])}else{t=(0,l.Tj)(e[r],(function(e){return Math.ceil(e)}));t.length%2===1?i.push(t.concat(t)):i.push(t)}return i}function _(e){if(!e||"object"===typeof e&&0===e.length)return[0,0];if((0,l.Et)(e)){var t=Math.ceil(e);return[t,t]}var n=(0,l.Tj)(e,(function(e){return Math.ceil(e)}));return e.length%2?n.concat(n):n}function b(e){return(0,l.Tj)(e,(function(e){return x(e)}))}function x(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2===1?2*t:t}},8431:(e,t,n)=>{"use strict";function r(e,t,n){var r;while(e){if(t(e)&&(r=e,n))break;e=e.__hostTarget||e.parent}return r}n.d(t,{R:()=>r})},8992:(e,t,n)=>{"use strict";n.d(t,{Cb:()=>l,JW:()=>g,QX:()=>u,YK:()=>f,he:()=>v,ob:()=>s,qg:()=>p,yC:()=>c});var r=n(2486),i=n(8407),o=n(4018),a=n(8018);function s(e){if(!(0,o.kf)(e))return r.Kg(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function l(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var u=r.QX;function c(e,t,n){var i="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function l(e){return e&&r.Bq(e)?e:"-"}function u(e){return!(null==e||isNaN(e)||!isFinite(e))}var c="time"===t,d=e instanceof Date;if(c||d){var h=c?(0,o._U)(e):e;if(!isNaN(+h))return(0,a.GP)(h,i,n);if(d)return"-"}if("ordinal"===t)return r.Lh(e)?l(e):r.Et(e)&&u(e)?e+"":"-";var f=(0,o.Sm)(e);return u(f)?s(f):r.Lh(e)?l(e):"boolean"===typeof e?e+"":"-"}var d=["a","b","c","d","e","f","g"],h=function(e,t){return"{"+e+(null==t?"":t)+"}"};function f(e,t,n){r.cy(t)||(t=[t]);var o=t.length;if(!o)return"";for(var a=t[0].$vars||[],s=0;s<a.length;s++){var l=d[s];e=e.replace(h(l),h(l,0))}for(var u=0;u<o;u++)for(var c=0;c<a.length;c++){var f=t[u][a[c]];e=e.replace(h(d[c],u),n?(0,i.Me)(f):f)}return e}function p(e,t){var n=r.Kg(e)?{color:e,extraCssText:t}:e||{},o=n.color,a=n.type;t=n.extraCssText;var s=n.renderMode||"html";if(!o)return"";if("html"===s)return"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,i.Me)(o)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,i.Me)(o)+";"+(t||"")+'"></span>';var l=n.markerId||"markerX";return{renderMode:s,content:"{"+l+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}}function v(e,t){return t=t||"transparent",r.Kg(e)?e:r.Gv(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function g(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}},7233:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Arc:()=>J.A,BezierCurve:()=>Q,BoundingRect:()=>ae.A,Circle:()=>P.A,CompoundPath:()=>te,Ellipse:()=>N,Group:()=>L.A,Image:()=>R.Ay,IncrementalDisplayable:()=>he,Line:()=>$.A,LinearGradient:()=>ne.A,OrientedBoundingRect:()=>se.A,Path:()=>i.Ay,Point:()=>le.A,Polygon:()=>V.A,Polyline:()=>H.A,RadialGradient:()=>oe,Rect:()=>j.A,Ring:()=>G,Sector:()=>F.A,Text:()=>O.Ay,applyTransform:()=>Le,clipPointsByRect:()=>Ne,clipRectByRect:()=>Fe,createIcon:()=>qe,extendPath:()=>xe,extendShape:()=>_e,getShapeClass:()=>Se,getTransform:()=>Re,groupTransition:()=>Be,initProps:()=>ve.LW,isElementRemoved:()=>ve.LR,lineLineIntersect:()=>Ge,linePolygonIntersect:()=>We,makeImage:()=>Ce,makePath:()=>ke,mergePath:()=>Te,registerShape:()=>we,removeElement:()=>ve.Nz,removeElementWithFadeOut:()=>ve.t5,resizePath:()=>Ee,setTooltipConfig:()=>je,subPixelOptimize:()=>De,subPixelOptimizeLine:()=>Me,subPixelOptimizeRect:()=>Ie,transformDirection:()=>Oe,traverseElements:()=>Ue,updateProps:()=>ve.oi});var r=n(8462),i=n(8874),o=n(9975),a=n(2809),s=o.A.CMD,l=[[],[],[]],u=Math.sqrt,c=Math.atan2;function d(e,t){if(t){var n,r,i,o,d,h,f=e.data,p=e.len(),v=s.M,g=s.C,m=s.L,y=s.R,_=s.A,b=s.Q;for(i=0,o=0;i<p;){switch(n=f[i++],o=i,r=0,n){case v:r=1;break;case m:r=1;break;case g:r=3;break;case b:r=2;break;case _:var x=t[4],w=t[5],S=u(t[0]*t[0]+t[1]*t[1]),k=u(t[2]*t[2]+t[3]*t[3]),C=c(-t[1]/k,t[0]/S);f[i]*=S,f[i++]+=x,f[i]*=k,f[i++]+=w,f[i++]*=S,f[i++]*=k,f[i++]+=C,f[i++]+=C,i+=2,o=i;break;case y:h[0]=f[i++],h[1]=f[i++],(0,a.NW)(h,h,t),f[o++]=h[0],f[o++]=h[1],h[0]+=f[i++],h[1]+=f[i++],(0,a.NW)(h,h,t),f[o++]=h[0],f[o++]=h[1]}for(d=0;d<r;d++){var A=l[d];A[0]=f[i++],A[1]=f[i++],(0,a.NW)(A,A,t),f[o++]=A[0],f[o++]=A[1]}}e.increaseVersion()}}var h=n(2486),f=Math.sqrt,p=Math.sin,v=Math.cos,g=Math.PI;function m(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function y(e,t){return(e[0]*t[0]+e[1]*t[1])/(m(e)*m(t))}function _(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(y(e,t))}function b(e,t,n,r,i,o,a,s,l,u,c){var d=l*(g/180),h=v(d)*(e-n)/2+p(d)*(t-r)/2,m=-1*p(d)*(e-n)/2+v(d)*(t-r)/2,b=h*h/(a*a)+m*m/(s*s);b>1&&(a*=f(b),s*=f(b));var x=(i===o?-1:1)*f((a*a*(s*s)-a*a*(m*m)-s*s*(h*h))/(a*a*(m*m)+s*s*(h*h)))||0,w=x*a*m/s,S=x*-s*h/a,k=(e+n)/2+v(d)*w-p(d)*S,C=(t+r)/2+p(d)*w+v(d)*S,A=_([1,0],[(h-w)/a,(m-S)/s]),T=[(h-w)/a,(m-S)/s],E=[(-1*h-w)/a,(-1*m-S)/s],M=_(T,E);if(y(T,E)<=-1&&(M=g),y(T,E)>=1&&(M=0),M<0){var I=Math.round(M/g*1e6)/1e6;M=2*g+I%2*g}c.addData(u,k,C,a,s,A,M,d,o)}var x=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,w=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function S(e){var t=new o.A;if(!e)return t;var n,r=0,i=0,a=r,s=i,l=o.A.CMD,u=e.match(x);if(!u)return t;for(var c=0;c<u.length;c++){for(var d=u[c],h=d.charAt(0),f=void 0,p=d.match(w)||[],v=p.length,g=0;g<v;g++)p[g]=parseFloat(p[g]);var m=0;while(m<v){var y=void 0,_=void 0,S=void 0,k=void 0,C=void 0,A=void 0,T=void 0,E=r,M=i,I=void 0,D=void 0;switch(h){case"l":r+=p[m++],i+=p[m++],f=l.L,t.addData(f,r,i);break;case"L":r=p[m++],i=p[m++],f=l.L,t.addData(f,r,i);break;case"m":r+=p[m++],i+=p[m++],f=l.M,t.addData(f,r,i),a=r,s=i,h="l";break;case"M":r=p[m++],i=p[m++],f=l.M,t.addData(f,r,i),a=r,s=i,h="L";break;case"h":r+=p[m++],f=l.L,t.addData(f,r,i);break;case"H":r=p[m++],f=l.L,t.addData(f,r,i);break;case"v":i+=p[m++],f=l.L,t.addData(f,r,i);break;case"V":i=p[m++],f=l.L,t.addData(f,r,i);break;case"C":f=l.C,t.addData(f,p[m++],p[m++],p[m++],p[m++],p[m++],p[m++]),r=p[m-2],i=p[m-1];break;case"c":f=l.C,t.addData(f,p[m++]+r,p[m++]+i,p[m++]+r,p[m++]+i,p[m++]+r,p[m++]+i),r+=p[m-2],i+=p[m-1];break;case"S":y=r,_=i,I=t.len(),D=t.data,n===l.C&&(y+=r-D[I-4],_+=i-D[I-3]),f=l.C,E=p[m++],M=p[m++],r=p[m++],i=p[m++],t.addData(f,y,_,E,M,r,i);break;case"s":y=r,_=i,I=t.len(),D=t.data,n===l.C&&(y+=r-D[I-4],_+=i-D[I-3]),f=l.C,E=r+p[m++],M=i+p[m++],r+=p[m++],i+=p[m++],t.addData(f,y,_,E,M,r,i);break;case"Q":E=p[m++],M=p[m++],r=p[m++],i=p[m++],f=l.Q,t.addData(f,E,M,r,i);break;case"q":E=p[m++]+r,M=p[m++]+i,r+=p[m++],i+=p[m++],f=l.Q,t.addData(f,E,M,r,i);break;case"T":y=r,_=i,I=t.len(),D=t.data,n===l.Q&&(y+=r-D[I-4],_+=i-D[I-3]),r=p[m++],i=p[m++],f=l.Q,t.addData(f,y,_,r,i);break;case"t":y=r,_=i,I=t.len(),D=t.data,n===l.Q&&(y+=r-D[I-4],_+=i-D[I-3]),r+=p[m++],i+=p[m++],f=l.Q,t.addData(f,y,_,r,i);break;case"A":S=p[m++],k=p[m++],C=p[m++],A=p[m++],T=p[m++],E=r,M=i,r=p[m++],i=p[m++],f=l.A,b(E,M,r,i,A,T,S,k,C,f,t);break;case"a":S=p[m++],k=p[m++],C=p[m++],A=p[m++],T=p[m++],E=r,M=i,r+=p[m++],i+=p[m++],f=l.A,b(E,M,r,i,A,T,S,k,C,f,t);break}}"z"!==h&&"Z"!==h||(f=l.Z,t.addData(f),r=a,i=s),n=f}return t.toStatic(),t}var k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.applyTransform=function(e){},t}(i.Ay);function C(e){return null!=e.setData}function A(e,t){var n=S(e),r=(0,h.X$)({},t);return r.buildPath=function(e){if(C(e)){e.setData(n.data);var t=e.getContext();t&&e.rebuildPath(t,1)}else{t=e;n.rebuildPath(t,1)}},r.applyTransform=function(e){d(n,e),this.dirtyShape()},r}function T(e,t){return new k(A(e,t))}function E(e,t){var n=A(e,t),i=function(e){function t(t){var r=e.call(this,t)||this;return r.applyTransform=n.applyTransform,r.buildPath=n.buildPath,r}return(0,r.C6)(t,e),t}(k);return i}function M(e,t){for(var n=[],r=e.length,o=0;o<r;o++){var a=e[o];n.push(a.getUpdatedPathProxy(!0))}var s=new i.Ay(t);return s.createPathProxy(),s.buildPath=function(e){if(C(e)){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t,1)}},s}var I=n(9383),D=n(792),R=n(7744),L=n(354),O=n(8246),P=n(1863),z=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),B=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new z},t.prototype.buildPath=function(e,t){var n=.5522848,r=t.cx,i=t.cy,o=t.rx,a=t.ry,s=o*n,l=a*n;e.moveTo(r-o,i),e.bezierCurveTo(r-o,i-l,r-s,i-a,r,i-a),e.bezierCurveTo(r+s,i-a,r+o,i-l,r+o,i),e.bezierCurveTo(r+o,i+l,r+s,i+a,r,i+a),e.bezierCurveTo(r-s,i+a,r-o,i+l,r-o,i),e.closePath()},t}(i.Ay);B.prototype.type="ellipse";const N=B;var F=n(1271),q=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),W=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new q},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,i,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,i,!0)},t}(i.Ay);W.prototype.type="ring";const G=W;var V=n(2589),H=n(7111),j=n(2092),$=n(3321),U=n(6943),K=[],X=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e}();function Y(e,t,n){var r=e.cpx2,i=e.cpy2;return null!=r||null!=i?[(n?U.rD:U.Yb)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?U.rD:U.Yb)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?U.z7:U.k3)(e.x1,e.cpx1,e.x2,t),(n?U.z7:U.k3)(e.y1,e.cpy1,e.y2,t)]}var Z=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new X},t.prototype.buildPath=function(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.cpx1,s=t.cpy1,l=t.cpx2,u=t.cpy2,c=t.percent;0!==c&&(e.moveTo(n,r),null==l||null==u?(c<1&&((0,U.kx)(n,a,i,c,K),a=K[1],i=K[2],(0,U.kx)(r,s,o,c,K),s=K[1],o=K[2]),e.quadraticCurveTo(a,s,i,o)):(c<1&&((0,U.YT)(n,a,l,i,c,K),a=K[1],l=K[2],i=K[3],(0,U.YT)(r,s,u,o,c,K),s=K[1],u=K[2],o=K[3]),e.bezierCurveTo(a,s,l,u,i,o)))},t.prototype.pointAt=function(e){return Y(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=Y(this.shape,e,!0);return a.S8(t,t)},t}(i.Ay);Z.prototype.type="bezier-curve";const Q=Z;var J=n(2891),ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return(0,r.C6)(t,e),t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,t=this.shapeChanged(),n=0;n<e.length;n++)t=t||e[n].shapeChanged();t&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1],e[n].segmentIgnoreThreshold)},t.prototype.buildPath=function(e,t){for(var n=t.paths||[],r=0;r<n.length;r++)n[r].buildPath(e,n[r].shape,!0)},t.prototype.afterBrush=function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),i.Ay.prototype.getBoundingRect.call(this)},t}(i.Ay);const te=ee;var ne=n(1832),re=n(9261),ie=function(e){function t(t,n,r,i,o){var a=e.call(this,i)||this;return a.x=null==t?.5:t,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=o||!1,a}return(0,r.C6)(t,e),t}(re.A);const oe=ie;var ae=n(2848),se=n(4672),le=n(1678),ue=n(6011),ce=[],de=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return(0,r.C6)(t,e),t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n<e.length;n++)this.addDisplayable(e[n],t)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},t.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var t=this._displayables[e];t.parent=this,t.update(),t.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){t=this._temporaryDisplayables[e];t.parent=this,t.update(),t.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new ae.A(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(ce)),e.union(r)}this._rect=e}return this._rect},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();if(r.contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){var o=this._displayables[i];if(o.contain(e,t))return!0}return!1},t}(ue.Ay);const he=de;var fe=n(325),pe=n(4066),ve=n(7178),ge=Math.max,me=Math.min,ye={};function _e(e){return i.Ay.extend(e)}var be=E;function xe(e,t){return be(e,t)}function we(e,t){ye[e]=t}function Se(e){if(ye.hasOwnProperty(e))return ye[e]}function ke(e,t,n,r){var i=T(e,t);return n&&("center"===r&&(n=Ae(n,i.getBoundingRect())),Ee(i,n)),i}function Ce(e,t,n){var r=new R.Ay({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(Ae(t,i))}}});return r}function Ae(e,t){var n,r=t.width/t.height,i=e.height*r;i<=e.width?n=e.height:(i=e.width,n=i/r);var o=e.x+e.width/2,a=e.y+e.height/2;return{x:o-i/2,y:a-n/2,width:i,height:n}}var Te=M;function Ee(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function Me(e,t){return fe.eB(e,e,{lineWidth:t}),e}function Ie(e){return fe.Op(e.shape,e.shape,e.style),e}var De=fe.M7;function Re(e,t){var n=I.D_([]);while(e&&e!==t)I.lK(n,e.getLocalTransform(),n),e=e.parent;return n}function Le(e,t,n){return t&&!(0,h.Xj)(t)&&(t=D.Ay.getLocalTransform(t)),n&&(t=I.B8([],t)),a.NW([],e,t)}function Oe(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return o=Le(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Pe(e){return!e.isGroup}function ze(e){return null!=e.shape}function Be(e,t,n){if(e&&t){var r=i(e);t.traverse((function(e){if(Pe(e)&&e.anid){var t=r[e.anid];if(t){var i=o(e);e.attr(o(t)),(0,ve.oi)(e,i,n,(0,pe.z)(e).dataIndex)}}}))}function i(e){var t={};return e.traverse((function(e){Pe(e)&&e.anid&&(t[e.anid]=e)})),t}function o(e){var t={x:e.x,y:e.y,rotation:e.rotation};return ze(e)&&(t.shape=(0,h.X$)({},e.shape)),t}}function Ne(e,t){return(0,h.Tj)(e,(function(e){var n=e[0];n=ge(n,t.x),n=me(n,t.x+t.width);var r=e[1];return r=ge(r,t.y),r=me(r,t.y+t.height),[n,r]}))}function Fe(e,t){var n=ge(e.x,t.x),r=me(e.x+e.width,t.x+t.width),i=ge(e.y,t.y),o=me(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function qe(e,t,n){var r=(0,h.X$)({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),(0,h.NT)(i,n),new R.Ay(r)):ke(e.replace("path://",""),r,n,"center")}function We(e,t,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(Ge(e,t,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function Ge(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,d=s-o,h=Ve(c,d,l,u);if(He(h))return!1;var f=e-i,p=t-o,v=Ve(f,p,l,u)/h;if(v<0||v>1)return!1;var g=Ve(f,p,c,d)/h;return!(g<0||g>1)}function Ve(e,t,n,r){return e*r-n*t}function He(e){return e<=1e-6&&e>=-1e-6}function je(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=(0,h.Kg)(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=e.formatterParamsExtra;l&&(0,h.__)((0,h.HP)(l),(function(e){(0,h.$3)(s,e)||(s[e]=l[e],s.$vars.push(e))}));var u=(0,pe.z)(e.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:(0,h.NT)({content:r,formatterParams:s},i)}}function $e(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function Ue(e,t){if(e)if((0,h.cy)(e))for(var n=0;n<e.length;n++)$e(e[n],t);else $e(e,t)}we("circle",P.A),we("ellipse",N),we("sector",F.A),we("ring",G),we("polygon",V.A),we("polyline",H.A),we("rect",j.A),we("line",$.A),we("bezierCurve",Q),we("arc",J.A)},4066:(e,t,n)=>{"use strict";n.d(t,{a:()=>o,z:()=>i});var r=n(630),i=(0,r.$r)(),o=function(e,t,n,r){if(r){var o=i(r);o.dataIndex=n,o.dataType=t,o.seriesIndex=e,"group"===r.type&&r.traverse((function(r){var o=i(r);o.seriesIndex=e,o.dataIndex=n,o.dataType=t}))}}},7049:(e,t,n)=>{"use strict";n.d(t,{YA:()=>v,aP:()=>d,ad:()=>p,dV:()=>h,m$:()=>f,vs:()=>g});var r=n(2486),i=n(2848),o=n(4018),a=n(8992),s=r.__,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function c(e,t,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild((function(l,u){var c,d,h=l.getBoundingRect(),f=t.childAt(u+1),p=f&&f.getBoundingRect();if("horizontal"===e){var v=h.width+(p?-p.x+h.x:0);c=o+v,c>r||l.newline?(o=0,c=v,a+=s+n,s=h.height):s=Math.max(s,h.height)}else{var g=h.height+(p?-p.y+h.y:0);d=a+g,d>i||l.newline?(o+=s+n,a=0,d=g,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===e?o=c+n:a=d+n)}))}var d=c;r.cF(c,"vertical"),r.cF(c,"horizontal");function h(e,t,n){n=a.QX(n||0);var r=t.width,s=t.height,l=(0,o.lo)(e.left,r),u=(0,o.lo)(e.top,s),c=(0,o.lo)(e.right,r),d=(0,o.lo)(e.bottom,s),h=(0,o.lo)(e.width,r),f=(0,o.lo)(e.height,s),p=n[2]+n[0],v=n[1]+n[3],g=e.aspect;switch(isNaN(h)&&(h=r-c-v-l),isNaN(f)&&(f=s-d-p-u),null!=g&&(isNaN(h)&&isNaN(f)&&(g>r/s?h=.8*r:f=.8*s),isNaN(h)&&(h=g*f),isNaN(f)&&(f=h/g)),isNaN(l)&&(l=r-c-h-v),isNaN(u)&&(u=s-d-f-p),e.left||e.right){case"center":l=r/2-h/2-n[3];break;case"right":l=r-h-v;break}switch(e.top||e.bottom){case"middle":case"center":u=s/2-f/2-n[0];break;case"bottom":u=s-f-p;break}l=l||0,u=u||0,isNaN(h)&&(h=r-v-l-(c||0)),isNaN(f)&&(f=s-p-u-(d||0));var m=new i.A(l+n[3],u+n[0],h,f);return m.margin=n,m}function f(e,t,n,o,a,s){var l,u=!a||!a.hv||a.hv[0],c=!a||!a.hv||a.hv[1],d=a&&a.boundingMode||"all";if(s=s||e,s.x=e.x,s.y=e.y,!u&&!c)return!1;if("raw"===d)l="group"===e.type?new i.A(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(l=e.getBoundingRect(),e.needLocalTransform()){var f=e.getLocalTransform();l=l.clone(),l.applyTransform(f)}var p=h(r.NT({width:l.width,height:l.height},t),n,o),v=u?p.x-l.x:0,g=c?p.y-l.y:0;return"raw"===d?(s.x=v,s.y=g):(s.x+=v,s.y+=g),s===e&&e.markRedraw(),!0}function p(e){var t=e.layoutMode||e.constructor.layoutMode;return r.Gv(t)?t:t?{type:t}:null}function v(e,t,n){var i=n&&n.ignoreSize;!r.cy(i)&&(i=[i,i]);var o=l(u[0],0),a=l(u[1],1);function l(n,r){var o={},a=0,l={},u=0,h=2;if(s(n,(function(t){l[t]=e[t]})),s(n,(function(e){c(t,e)&&(o[e]=l[e]=t[e]),d(o,e)&&a++,d(l,e)&&u++})),i[r])return d(t,n[1])?l[n[2]]=null:d(t,n[2])&&(l[n[1]]=null),l;if(u!==h&&a){if(a>=h)return o;for(var f=0;f<n.length;f++){var p=n[f];if(!c(o,p)&&c(e,p)){o[p]=e[p];break}}return o}return l}function c(e,t){return e.hasOwnProperty(t)}function d(e,t){return null!=e[t]&&"auto"!==e[t]}function h(e,t,n){s(e,(function(e){t[e]=n[e]}))}h(u[0],e,o),h(u[1],e,a)}function g(e){return m({},e)}function m(e,t){return t&&e&&s(l,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}},5149:(e,t,n)=>{"use strict";n.d(t,{$8:()=>i,aT:()=>r});"undefined"!==typeof console&&console.warn&&console.log;function r(e){0}function i(e){throw new Error(e)}},630:(e,t,n)=>{"use strict";n.d(t,{$r:()=>I,Bq:()=>B,D$:()=>N,GX:()=>T,HB:()=>L,Il:()=>q,JO:()=>z,JS:()=>d,M5:()=>c,O0:()=>k,O2:()=>p,S_:()=>A,US:()=>O,UW:()=>P,XJ:()=>F,_e:()=>R,le:()=>M,oh:()=>C,qB:()=>u,vS:()=>S,vj:()=>h,zu:()=>f});var r=n(2486),i=n(4047),o=n(4018);function a(e,t,n){return(t-e)*n+e}var s="series\0",l="\0_ec_\0";function u(e){return e instanceof Array?e:null==e?[]:[e]}function c(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var d=["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 h(e){return!(0,r.Gv)(e)||(0,r.cy)(e)||e instanceof Date?e:e.value}function f(e){return(0,r.Gv)(e)&&!(e instanceof Array)}function p(e,t,n){var i="normalMerge"===n,o="replaceMerge"===n,a="replaceAll"===n;e=e||[],t=(t||[]).slice();var s=(0,r.nt)();(0,r.__)(t,(function(e,n){(0,r.Gv)(e)||(t[n]=null)}));var l=v(e,s,n);return(i||o)&&g(l,e,s,t),i&&m(l,t),i||o?y(l,t,o):a&&_(l,t),b(l),l}function v(e,t,n){var r=[];if("replaceAll"===n)return r;for(var i=0;i<e.length;i++){var o=e[i];o&&null!=o.id&&t.set(o.id,i),r.push({existing:"replaceMerge"===n||C(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}function g(e,t,n,i){(0,r.__)(i,(function(o,a){if(o&&null!=o.id){var s=w(o.id),l=n.get(s);if(null!=l){var u=e[l];(0,r.vA)(!u.newOption,'Duplicated option on id "'+s+'".'),u.newOption=o,u.existing=t[l],i[a]=null}}}))}function m(e,t){(0,r.__)(t,(function(n,r){if(n&&null!=n.name)for(var i=0;i<e.length;i++){var o=e[i].existing;if(!e[i].newOption&&o&&(null==o.id||null==n.id)&&!C(n)&&!C(o)&&x("name",o,n))return e[i].newOption=n,void(t[r]=null)}}))}function y(e,t,n){(0,r.__)(t,(function(t){if(t){var r,i=0;while((r=e[i])&&(r.newOption||C(r.existing)||r.existing&&null!=t.id&&!x("id",t,r.existing)))i++;r?(r.newOption=t,r.brandNew=n):e.push({newOption:t,brandNew:n,existing:null,keyInfo:null}),i++}}))}function _(e,t){(0,r.__)(t,(function(t){e.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})}))}function b(e){var t=(0,r.nt)();(0,r.__)(e,(function(e){var n=e.existing;n&&t.set(n.id,e)})),(0,r.__)(e,(function(e){var n=e.newOption;(0,r.vA)(!n||null==n.id||!t.get(n.id)||t.get(n.id)===e,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&t.set(n.id,e),!e.keyInfo&&(e.keyInfo={})})),(0,r.__)(e,(function(e,n){var i=e.existing,o=e.newOption,a=e.keyInfo;if((0,r.Gv)(o)){if(a.name=null!=o.name?w(o.name):i?i.name:s+n,i)a.id=w(i.id);else if(null!=o.id)a.id=w(o.id);else{var l=0;do{a.id="\0"+a.name+"\0"+l++}while(t.get(a.id))}t.set(a.id,e)}}))}function x(e,t,n){var r=S(t[e],null),i=S(n[e],null);return null!=r&&null!=i&&r===i}function w(e){return S(e,"")}function S(e,t){return null==e?t:(0,r.Kg)(e)?e:(0,r.Et)(e)||(0,r.Lh)(e)?e+"":t}function k(e){var t=e.name;return!(!t||!t.indexOf(s))}function C(e){return e&&null!=e.id&&0===w(e.id).indexOf(l)}function A(e){return l+e}function T(e,t,n){(0,r.__)(e,(function(e){var i=e.newOption;(0,r.Gv)(i)&&(e.keyInfo.mainType=t,e.keyInfo.subType=E(t,i,e.existing,n))}))}function E(e,t,n,r){var i=t.type?t.type:n?n.subType:r.determineSubType(e,t);return i}function M(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?(0,r.cy)(t.dataIndex)?(0,r.Tj)(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?(0,r.cy)(t.name)?(0,r.Tj)(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function I(){var e="__ec_inner_"+D++;return function(t){return t[e]||(t[e]={})}}var D=(0,o.IH)();function R(e,t,n){var r=L(t,n),i=r.mainTypeSpecified,o=r.queryOptionMap,a=r.others,s=a,l=n?n.defaultMainType:null;return!i&&l&&o.set(l,{}),o.each((function(t,r){var i=z(e,r,t,{useDefault:l===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});s[r+"Models"]=i.models,s[r+"Model"]=i.models[0]})),s}function L(e,t){var n;if((0,r.Kg)(e)){var i={};i[e+"Index"]=0,n=i}else n=e;var o=(0,r.nt)(),a={},s=!1;return(0,r.__)(n,(function(e,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=i[1],u=(i[2]||"").toLowerCase();if(l&&u&&!(t&&t.includeMainTypes&&(0,r.qh)(t.includeMainTypes,l)<0)){s=s||!!l;var c=o.get(l)||o.set(l,{});c[u]=e}}else a[n]=e})),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var O={useDefault:!0,enableAll:!1,enableNone:!1},P={useDefault:!1,enableAll:!0,enableNone:!0};function z(e,t,n,i){i=i||O;var o=n.index,a=n.id,s=n.name,l={models:null,specified:null!=o||null!=a||null!=s};if(!l.specified){var u=void 0;return l.models=i.useDefault&&(u=e.getComponent(t))?[u]:[],l}return"none"===o||!1===o?((0,r.vA)(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[],l):("all"===o&&((0,r.vA)(i.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),l.models=e.queryComponents({mainType:t,index:o,id:a,name:s}),l)}function B(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function N(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function F(e){return"auto"===e?i.A.domSupported?"html":"richText":e||"html"}function q(e,t,n,i,s){var l=null==t||"auto"===t;if(null==i)return i;if((0,r.Et)(i)){var u=a(n||0,i,s);return(0,o.LI)(u,l?Math.max((0,o.XV)(n||0),(0,o.XV)(i)):t)}if((0,r.Kg)(i))return s<1?n:i;for(var c=[],d=n,h=i,f=Math.max(d?d.length:0,h.length),p=0;p<f;++p){var v=e.getDimensionInfo(p);if(v&&"ordinal"===v.type)c[p]=(s<1&&d?d:h)[p];else{var g=d&&d[p]?d[p]:0,m=h[p];u=a(g,m,s);c[p]=(0,o.LI)(u,l?Math.max((0,o.XV)(g),(0,o.XV)(m)):t)}}return c}},4018:(e,t,n)=>{"use strict";n.d(t,{Cb:()=>s,Cm:()=>x,IH:()=>k,LI:()=>u,NX:()=>b,Sm:()=>w,Tr:()=>p,XV:()=>d,Y6:()=>c,_7:()=>v,_U:()=>y,au:()=>_,dh:()=>g,hb:()=>f,kf:()=>S,lQ:()=>A,lo:()=>l});var r=n(2486),i=1e-4,o=20;function a(e){return e.replace(/^\s+|\s+$/g,"")}function s(e,t,n,r){var i=t[0],o=t[1],a=n[0],s=n[1],l=o-i,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(r)if(l>0){if(e<=i)return a;if(e>=o)return s}else{if(e>=i)return a;if(e<=o)return s}else{if(e===i)return a;if(e===o)return s}return(e-i)/l*u+a}function l(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return r.Kg(e)?a(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function u(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),o),e=(+e).toFixed(t),n?e:+e}function c(e){return e.sort((function(e,t){return e-t})),e}function d(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return h(e)}function h(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function f(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function p(e,t){var n=Math.max(d(e),d(t)),r=e+t;return n>o?r:u(r,n)}function v(e){var t=2*Math.PI;return(e%t+t)%t}function g(e){return e>-i&&e<i}var m=/^(?:(\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 y(e){if(e instanceof Date)return e;if(r.Kg(e)){var t=m.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}return null==e?new Date(NaN):new Date(Math.round(e))}function _(e){return Math.pow(10,b(e))}function b(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function x(e,t){var n,r=b(e),i=Math.pow(10,r),o=e/i;return n=t?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,e=n*i,r>=-20?+e.toFixed(r<0?-r:0):e}function w(e){var t=parseFloat(e);return t==e&&(0!==t||!r.Kg(e)||e.indexOf("x")<=0)?t:NaN}function S(e){return!isNaN(w(e))}function k(){return Math.round(9*Math.random())}function C(e,t){return 0===t?e:C(t,e%t)}function A(e,t){return null==e?t:null==t?e:e*t/C(e,t)}},1797:(e,t,n)=>{"use strict";n.d(t,{BV:()=>g,Du:()=>te,HY:()=>$,Iz:()=>oe,JC:()=>X,JI:()=>Y,Lm:()=>de,Lv:()=>w,Lx:()=>_e,Mx:()=>ve,PW:()=>x,Pk:()=>B,Q6:()=>k,QX:()=>K,SD:()=>U,T$:()=>be,Tl:()=>re,U2:()=>S,_m:()=>ie,_n:()=>ye,e3:()=>v,fz:()=>xe,gd:()=>Z,h5:()=>b,iJ:()=>ue,jA:()=>se,lV:()=>ne,mc:()=>le,qR:()=>J,t6:()=>ae,u6:()=>me,wV:()=>m,zX:()=>p});var r=n(2369),i=n(2486),o=n(4066),a=n(5334),s=n(630),l=n(8874),u=1,c={},d=(0,s.$r)(),h=(0,s.$r)(),f=0,p=1,v=2,g=["emphasis","blur","select"],m=["normal","emphasis","blur","select"],y=10,_=9,b="highlight",x="downplay",w="select",S="unselect",k="toggleSelect";function C(e){return null!=e&&"none"!==e}var A=new r.Ay(100);function T(e){if((0,i.Kg)(e)){var t=A.get(e);return t||(t=a.yY(e,-.1),A.put(e,t)),t}if((0,i.C7)(e)){var n=(0,i.X$)({},e);return n.colorStops=(0,i.Tj)(e.colorStops,(function(e){return{offset:e.offset,color:a.yY(e.color,-.1)}})),n}return e}function E(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function M(e){E(e,"emphasis",v)}function I(e){e.hoverState===v&&E(e,"normal",f)}function D(e){E(e,"blur",p)}function R(e){e.hoverState===p&&E(e,"normal",f)}function L(e){e.selected=!0}function O(e){e.selected=!1}function P(e,t,n){t(e,n)}function z(e,t,n){P(e,t,n),e.isGroup&&e.traverse((function(e){P(e,t,n)}))}function B(e,t){switch(t){case"emphasis":e.hoverState=v;break;case"normal":e.hoverState=f;break;case"blur":e.hoverState=p;break;case"select":e.selected=!0}}function N(e,t,n,r){for(var i=e.style,o={},a=0;a<t.length;a++){var s=t[a],l=i[s];o[s]=null==l?r&&r[s]:l}for(a=0;a<e.animators.length;a++){var u=e.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,t)}return o}function F(e,t,n,r){var o=n&&(0,i.qh)(n,"select")>=0,a=!1;if(e instanceof l.Ay){var s=d(e),u=o&&s.selectFill||s.normalFill,c=o&&s.selectStroke||s.normalStroke;if(C(u)||C(c)){r=r||{};var h=r.style||{};"inherit"===h.fill?(a=!0,r=(0,i.X$)({},r),h=(0,i.X$)({},h),h.fill=u):!C(h.fill)&&C(u)?(a=!0,r=(0,i.X$)({},r),h=(0,i.X$)({},h),h.fill=T(u)):!C(h.stroke)&&C(c)&&(a||(r=(0,i.X$)({},r),h=(0,i.X$)({},h)),h.stroke=T(c)),r.style=h}}if(r&&null==r.z2){a||(r=(0,i.X$)({},r));var f=e.z2EmphasisLift;r.z2=e.z2+(null!=f?f:y)}return r}function q(e,t,n){if(n&&null==n.z2){n=(0,i.X$)({},n);var r=e.z2SelectLift;n.z2=e.z2+(null!=r?r:_)}return n}function W(e,t,n){var r=(0,i.qh)(e.currentStates,t)>=0,o=e.style.opacity,a=r?null:N(e,["opacity"],t,{opacity:1});n=n||{};var s=n.style||{};return null==s.opacity&&(n=(0,i.X$)({},n),s=(0,i.X$)({opacity:r?o:.1*a.opacity},s),n.style=s),n}function G(e,t){var n=this.states[e];if(this.style){if("emphasis"===e)return F(this,e,t,n);if("blur"===e)return W(this,e,n);if("select"===e)return q(this,e,n)}return n}function V(e){e.stateProxy=G;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=G),n&&(n.stateProxy=G)}function H(e,t){!Q(e,t)&&!e.__highByOuter&&z(e,M)}function j(e,t){!Q(e,t)&&!e.__highByOuter&&z(e,I)}function $(e,t){e.__highByOuter|=1<<(t||0),z(e,M)}function U(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&z(e,I)}function K(e){z(e,D)}function X(e){z(e,R)}function Y(e){z(e,L)}function Z(e){z(e,O)}function Q(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function J(e){var t=e.getModel(),n=[],r=[];t.eachComponent((function(t,i){var o=h(i),a="series"===t,s=a?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse((function(e){R(e)})),a&&n.push(i)),o.isBlured=!1})),(0,i.__)(r,(function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(n,!1,t)}))}function ee(e,t,n,r){var o=r.getModel();function a(e,t){for(var n=0;n<t.length;n++){var r=e.getItemGraphicEl(t[n]);r&&X(r)}}if(n=n||"coordinateSystem",null!=e&&t&&"none"!==t){var s=o.getSeriesByIndex(e),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries((function(e){var o=s===e,c=e.coordinateSystem;c&&c.master&&(c=c.master);var d=c&&l?c===l:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!d||"series"===t&&o)){var f=r.getViewOfSeriesModel(e);if(f.group.traverse((function(e){D(e)})),(0,i.Xj)(t))a(e.getData(),t);else if((0,i.Gv)(t))for(var p=(0,i.HP)(t),v=0;v<p.length;v++)a(e.getData(p[v]),t[p[v]]);u.push(e),h(e).isBlured=!0}})),o.eachComponent((function(e,t){if("series"!==e){var n=r.getViewOfComponentModel(t);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,o)}}))}}function te(e,t,n){if(null!=e&&null!=t){var r=n.getModel().getComponent(e,t);if(r){h(r).isBlured=!0;var i=n.getViewOfComponentModel(r);i&&i.focusBlurEnabled&&i.group.traverse((function(e){D(e)}))}}}function ne(e,t,n){var r=e.seriesIndex,a=e.getData(t.dataType);if(a){var l=(0,s.le)(a,t);l=((0,i.cy)(l)?l[0]:l)||0;var u=a.getItemGraphicEl(l);if(!u){var c=a.count(),d=0;while(!u&&d<c)u=a.getItemGraphicEl(d++)}if(u){var h=(0,o.z)(u);ee(r,h.focus,h.blurScope,n)}else{var f=e.get(["emphasis","focus"]),p=e.get(["emphasis","blurScope"]);null!=f&&ee(r,f,p,n)}}}function re(e,t,n,r){var i={focusSelf:!1,dispatchers:null};if(null==e||"series"===e||null==t||null==n)return i;var a=r.getModel().getComponent(e,t);if(!a)return i;var s=r.getViewOfComponentModel(a);if(!s||!s.findHighDownDispatchers)return i;for(var l,u=s.findHighDownDispatchers(n),c=0;c<u.length;c++)if("self"===(0,o.z)(u[c]).focus){l=!0;break}return{focusSelf:l,dispatchers:u}}function ie(e,t,n){var r=(0,o.z)(e),a=re(r.componentMainType,r.componentIndex,r.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&te(r.componentMainType,r.componentIndex,n),(0,i.__)(s,(function(e){return H(e,t)}))):(ee(r.seriesIndex,r.focus,r.blurScope,n),"self"===r.focus&&te(r.componentMainType,r.componentIndex,n),H(e,t))}function oe(e,t,n){J(n);var r=(0,o.z)(e),a=re(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;a?(0,i.__)(a,(function(e){return j(e,t)})):j(e,t)}function ae(e,t,n){if(_e(t)){var r=t.dataType,o=e.getData(r),a=(0,s.le)(o,t);(0,i.cy)(a)||(a=[a]),e[t.type===k?"toggleSelect":t.type===w?"select":"unselect"](a,r)}}function se(e){var t=e.getAllData();(0,i.__)(t,(function(t){var n=t.data,r=t.type;n.eachItemGraphicEl((function(t,n){e.isSelected(n,r)?Y(t):Z(t)}))}))}function le(e){var t=[];return e.eachSeries((function(e){var n=e.getAllData();(0,i.__)(n,(function(n){n.data;var r=n.type,i=e.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:e.seriesIndex};null!=r&&(o.dataType=r),t.push(o)}}))})),t}function ue(e,t,n){ge(e,!0),z(e,V),he(e,t,n)}function ce(e){ge(e,!1)}function de(e,t,n,r){r?ce(e):ue(e,t,n)}function he(e,t,n){var r=(0,o.z)(e);null!=t?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var fe=["emphasis","blur","select"],pe={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ve(e,t,n,r){n=n||"itemStyle";for(var i=0;i<fe.length;i++){var o=fe[i],a=t.getModel([o,n]),s=e.ensureState(o);s.style=r?r(a):a[pe[n]]()}}function ge(e,t){var n=!1===t,r=e;e.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=e.highDownSilentOnTouch),n&&!r.__highDownDispatcher||(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function me(e){return!(!e||!e.__highDownDispatcher)}function ye(e){var t=c[e];return null==t&&u<=32&&(t=c[e]=u++),t}function _e(e){var t=e.type;return t===w||t===S||t===k}function be(e){var t=e.type;return t===b||t===x}function xe(e){var t=d(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var n=e.states.select||{};t.selectFill=n.style&&n.style.fill||null,t.selectStroke=n.style&&n.style.stroke||null}},6027:(e,t,n)=>{"use strict";n.d(t,{$V:()=>y,hV:()=>S,v5:()=>x,xU:()=>w});var r=n(2486),i=n(8874),o=n(3321),a=n(2092),s=n(1863),l=n(7233),u=n(2848),c=n(2586),d=n(4018),h=i.Ay.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r+o),e.lineTo(n-i,r+o),e.closePath()}}),f=i.Ay.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r),e.lineTo(n,r+o),e.lineTo(n-i,r),e.closePath()}}),p=i.Ay.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,i=t.width/5*3,o=Math.max(i,t.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,d=Math.sin(u),h=Math.cos(u),f=.6*a,p=.7*a;e.moveTo(n-c,l+s),e.arc(n,l,a,Math.PI-u,2*Math.PI+u),e.bezierCurveTo(n+c-d*f,l+s+h*f,n,r-p,n,r),e.bezierCurveTo(n,r-p,n-c+d*f,l+s+h*f,n-c,l+s),e.closePath()}}),v=i.Ay.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,i=t.x,o=t.y,a=r/3*2;e.moveTo(i,o),e.lineTo(i+a,o+n),e.lineTo(i,o+n/4*3),e.lineTo(i-a,o+n),e.lineTo(i,o),e.closePath()}}),g={line:o.A,rect:a.A,roundRect:a.A,square:a.A,circle:s.A,diamond:f,pin:p,arrow:v,triangle:h},m={line:function(e,t,n,r,i){i.x1=e,i.y1=t+r/2,i.x2=e+n,i.y2=t+r/2},rect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r},roundRect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(e,t,n,r,i){var o=Math.min(n,r);i.x=e,i.y=t,i.width=o,i.height=o},circle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.r=Math.min(n,r)/2},diamond:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r},pin:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},arrow:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},triangle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r}},y={};(0,r.__)(g,(function(e,t){y[t]=new e}));var _=i.Ay.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=(0,c.X4)(e,t,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===t.position&&(r.y=n.y+.4*n.height),r},buildPath:function(e,t,n){var r=t.symbolType;if("none"!==r){var i=y[r];i||(r="rect",i=y[r]),m[r](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,n)}}});function b(e,t){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=e:n.fill=e,this.markRedraw()}}function x(e,t,n,r,i,o,a){var s,c=0===e.indexOf("empty");return c&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),s=0===e.indexOf("image://")?l.makeImage(e.slice(8),new u.A(t,n,r,i),a?"center":"cover"):0===e.indexOf("path://")?l.makePath(e.slice(7),{},new u.A(t,n,r,i),a?"center":"cover"):new _({shape:{symbolType:e,x:t,y:n,width:r,height:i}}),s.__isEmptyBrush=c,s.setColor=b,o&&s.setColor(o),s}function w(e){return(0,r.cy)(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function S(e,t){if(null!=e)return(0,r.cy)(e)||(e=[e,e]),[(0,d.lo)(e[0],t[0])||0,(0,d.lo)((0,r.bZ)(e[1],e[0]),t[1])||0]}},4563:(e,t,n)=>{"use strict";n.d(t,{IU:()=>l,N:()=>s,nF:()=>a});var r="\0__throttleOriginMethod",i="\0__throttleRate",o="\0__throttleType";function a(e,t,n){var r,i,o,a,s,l=0,u=0,c=null;function d(){u=(new Date).getTime(),c=null,e.apply(o,a||[])}t=t||0;var h=function(){for(var e=[],h=0;h<arguments.length;h++)e[h]=arguments[h];r=(new Date).getTime(),o=this,a=e;var f=s||t,p=s||n;s=null,i=r-(p?l:u)-f,clearTimeout(c),p?c=setTimeout(d,f):i>=0?d():c=setTimeout(d,-i),l=r};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(e){s=e},h}function s(e,t,n,s){var l=e[t];if(l){var u=l[r]||l,c=l[o],d=l[i];if(d!==n||c!==s){if(null==n||!s)return e[t]=u;l=e[t]=a(u,n,"debounce"===s),l[r]=u,l[o]=s,l[i]=n}return l}}function l(e,t){var n=e[t];n&&n[r]&&(n.clear&&n.clear(),e[t]=n[r])}},8018:(e,t,n)=>{"use strict";n.d(t,{$9:()=>b,$H:()=>d,CZ:()=>c,F7:()=>g,FP:()=>N,GP:()=>x,KF:()=>z,Lm:()=>p,MA:()=>u,OY:()=>s,Wf:()=>I,X_:()=>w,Yd:()=>P,Zz:()=>D,bP:()=>T,ce:()=>_,g0:()=>k,hY:()=>C,iC:()=>E,iW:()=>l,jJ:()=>A,tM:()=>R,ti:()=>O,ww:()=>B,xu:()=>L,yB:()=>M,ym:()=>y});var r=n(2486),i=n(4018),o=n(8947),a=n(2555),s=1e3,l=60*s,u=60*l,c=24*u,d=365*c,h={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}"},f="{yyyy}-{MM}-{dd}",p={year:"{yyyy}",month:"{yyyy}-{MM}",day:f,hour:f+" "+h.hour,minute:f+" "+h.minute,second:f+" "+h.second,millisecond:h.none},v=["year","month","day","hour","minute","second","millisecond"],g=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function m(e,t){return e+="","0000".substr(0,t-e.length)+e}function y(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function _(e){return e===y(e)}function b(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function x(e,t,n,r){var s=i._U(e),l=s[C(n)](),u=s[A(n)]()+1,c=Math.floor((u-1)/3)+1,d=s[T(n)](),h=s["get"+(n?"UTC":"")+"Day"](),f=s[E(n)](),p=(f-1)%12+1,v=s[M(n)](),g=s[I(n)](),y=s[D(n)](),_=r instanceof a.A?r:(0,o.A4)(r||o.Lv)||(0,o.pr)(),b=_.getModel("time"),x=b.get("month"),w=b.get("monthAbbr"),S=b.get("dayOfWeek"),k=b.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,l%100+"").replace(/{Q}/g,c+"").replace(/{MMMM}/g,x[u-1]).replace(/{MMM}/g,w[u-1]).replace(/{MM}/g,m(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,m(d,2)).replace(/{d}/g,d+"").replace(/{eeee}/g,S[h]).replace(/{ee}/g,k[h]).replace(/{e}/g,h+"").replace(/{HH}/g,m(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,m(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,m(v,2)).replace(/{m}/g,v+"").replace(/{ss}/g,m(g,2)).replace(/{s}/g,g+"").replace(/{SSS}/g,m(y,3)).replace(/{S}/g,y+"")}function w(e,t,n,i,o){var a=null;if(r.Kg(n))a=n;else if(r.Tn(n))a=n(e.value,t,{level:e.level});else{var s=r.X$({},h);if(e.level>0)for(var l=0;l<v.length;++l)s[v[l]]="{primary|"+s[v[l]]+"}";var u=n?!1===n.inherit?n:r.NT(n,s):s,c=S(e.value,o);if(u[c])a=u[c];else if(u.inherit){var d=g.indexOf(c);for(l=d-1;l>=0;--l)if(u[c]){a=u[c];break}a=a||s.none}if(r.cy(a)){var f=null==e.level?0:e.level>=0?e.level:a.length+e.level;f=Math.min(f,a.length-1),a=a[f]}}return x(new Date(e.value),a,o,i)}function S(e,t){var n=i._U(e),r=n[A(t)]()+1,o=n[T(t)](),a=n[E(t)](),s=n[M(t)](),l=n[I(t)](),u=n[D(t)](),c=0===u,d=c&&0===l,h=d&&0===s,f=h&&0===a,p=f&&1===o,v=p&&1===r;return v?"year":p?"month":f?"day":h?"hour":d?"minute":c?"second":"millisecond"}function k(e,t,n){var o=r.Et(e)?i._U(e):e;switch(t=t||S(e,n),t){case"year":return o[C(n)]();case"half-year":return o[A(n)]()>=6?1:0;case"quarter":return Math.floor((o[A(n)]()+1)/4);case"month":return o[A(n)]();case"day":return o[T(n)]();case"half-day":return o[E(n)]()/24;case"hour":return o[E(n)]();case"minute":return o[M(n)]();case"second":return o[I(n)]();case"millisecond":return o[D(n)]()}}function C(e){return e?"getUTCFullYear":"getFullYear"}function A(e){return e?"getUTCMonth":"getMonth"}function T(e){return e?"getUTCDate":"getDate"}function E(e){return e?"getUTCHours":"getHours"}function M(e){return e?"getUTCMinutes":"getMinutes"}function I(e){return e?"getUTCSeconds":"getSeconds"}function D(e){return e?"getUTCMilliseconds":"getMilliseconds"}function R(e){return e?"setUTCFullYear":"setFullYear"}function L(e){return e?"setUTCMonth":"setMonth"}function O(e){return e?"setUTCDate":"setDate"}function P(e){return e?"setUTCHours":"setHours"}function z(e){return e?"setUTCMinutes":"setMinutes"}function B(e){return e?"setUTCSeconds":"setSeconds"}function N(e){return e?"setUTCMilliseconds":"setMilliseconds"}},9002:(e,t,n)=>{"use strict";n.d(t,{Km:()=>a,Pe:()=>i,Wk:()=>s,XO:()=>u,i_:()=>d,mK:()=>o,oC:()=>h,t1:()=>l,vm:()=>c});var r=n(2486),i=(0,r.nt)(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),o="original",a="arrayRows",s="objectRows",l="keyedColumns",u="typedArray",c="unknown",d="column",h="row"},9174:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(2486),i=n(354),o=n(8660),a=n(7489),s=n(630),l=n(1797),u=n(3699),c=n(7002),d=n(7233),h=s.$r(),f=(0,c.A)(),p=function(){function e(){this.group=new i.A,this.uid=o.$Q("viewChart"),this.renderTask=(0,u.U)({plan:m,reset:y}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){0},e.prototype.highlight=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&g(i,r,"emphasis")},e.prototype.downplay=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&g(i,r,"normal")},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateLayout=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.eachRendered=function(e){(0,d.traverseElements)(this.group,e)},e.markUpdateMethod=function(e,t){h(e).updateMethod=t},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function v(e,t,n){e&&(0,l.u6)(e)&&("emphasis"===t?l.HY:l.SD)(e,n)}function g(e,t,n){var i=s.le(e,t),o=t&&null!=t.highlightKey?(0,l._n)(t.highlightKey):null;null!=i?(0,r.__)(s.qB(i),(function(t){v(e.getItemGraphicEl(t),n,o)})):e.eachItemGraphicEl((function(e){v(e,n,o)}))}function m(e){return f(e.model)}function y(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&h(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,n,r,i),_[l]}a.gq(p,["dispose"]),a.tQ(p);var _={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};const b=p},2401:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(354),i=n(8660),o=n(7489),a=function(){function e(){this.group=new r.A,this.uid=i.$Q("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){},e.prototype.updateLayout=function(e,t,n,r){},e.prototype.updateVisual=function(e,t,n,r){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();o.gq(a),o.tQ(a);const s=a},343:(e,t,n)=>{"use strict";function r(e,t,n){switch(n){case"color":var r=e.getItemVisual(t,"style");return r[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n);default:0}}function i(e,t){switch(t){case"color":var n=e.getVisual("style");return n[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t);default:0}}n.d(t,{Ez:()=>r,rI:()=>i})},1730:(e,t,n)=>{"use strict";n.d(t,{C6:()=>i});
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */
16
+ var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create},640:e=>{"use strict";var t,n="object"===typeof Reflect?Reflect:null,r=n&&"function"===typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};function i(e){console&&console.warn&&console.warn(e)}t=n&&"function"===typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!==e};function a(){a.init.call(this)}e.exports=a,e.exports.once=y,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function l(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var o,a,s;if(l(n),a=e._events,void 0===a?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),s=a[t]),void 0===s)s=a[t]=n,++e._eventsCount;else if("function"===typeof s?s=a[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),o=u(e),o>0&&s.length>o&&!s.warned){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,i(c)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function f(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?m(i):v(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function g(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function m(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function y(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"===typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}b(e,t,o,{once:!0}),"error"!==t&&_(e,i,{once:!0})}))}function _(e,t,n){"function"===typeof e.on&&b(e,"error",t,n)}function b(e,t,n,r){if("function"===typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!==typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!==typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return u(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"===typeof l)r(l,this,t);else{var u=l.length,c=v(l,u);for(n=0;n<u;++n)r(c[n],this,t)}return!0},a.prototype.addListener=function(e,t){return c(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return c(this,e,t,!0)},a.prototype.once=function(e,t){return l(t),this.on(e,h(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,h(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,r,i,o,a;if(l(t),r=this._events,void 0===r)return this;if(n=r[e],void 0===n)return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():g(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,n,r;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)i=o[r],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],"function"===typeof t)this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return f(this,e,!0)},a.prototype.rawListeners=function(e){return f(this,e,!1)},a.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},a.prototype.listenerCount=p,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},9692:e=>{e.exports={linLogMode:!1,outboundAttractionDistribution:!1,adjustSizes:!1,edgeWeightInfluence:1,scalingRatio:1,strongGravityMode:!1,gravity:1,slowDown:1,barnesHutOptimize:!1,barnesHutTheta:.5}},8085:(e,t)=>{var n=10,r=3;t.assign=function(e){e=e||{};var t,n,r,i=Array.prototype.slice.call(arguments).slice(1);for(t=0,r=i.length;t<r;t++)if(i[t])for(n in i[t])e[n]=i[t][n];return e},t.validateSettings=function(e){return"linLogMode"in e&&"boolean"!==typeof e.linLogMode?{message:"the `linLogMode` setting should be a boolean."}:"outboundAttractionDistribution"in e&&"boolean"!==typeof e.outboundAttractionDistribution?{message:"the `outboundAttractionDistribution` setting should be a boolean."}:"adjustSizes"in e&&"boolean"!==typeof e.adjustSizes?{message:"the `adjustSizes` setting should be a boolean."}:"edgeWeightInfluence"in e&&"number"!==typeof e.edgeWeightInfluence?{message:"the `edgeWeightInfluence` setting should be a number."}:!("scalingRatio"in e)||"number"===typeof e.scalingRatio&&e.scalingRatio>=0?"strongGravityMode"in e&&"boolean"!==typeof e.strongGravityMode?{message:"the `strongGravityMode` setting should be a boolean."}:!("gravity"in e)||"number"===typeof e.gravity&&e.gravity>=0?"slowDown"in e&&!("number"===typeof e.slowDown||e.slowDown>=0)?{message:"the `slowDown` setting should be a number >= 0."}:"barnesHutOptimize"in e&&"boolean"!==typeof e.barnesHutOptimize?{message:"the `barnesHutOptimize` setting should be a boolean."}:!("barnesHutTheta"in e)||"number"===typeof e.barnesHutTheta&&e.barnesHutTheta>=0?null:{message:"the `barnesHutTheta` setting should be a number >= 0."}:{message:"the `gravity` setting should be a number >= 0."}:{message:"the `scalingRatio` setting should be a number >= 0."}},t.graphToByteArrays=function(e,t){var i,o=e.order,a=e.size,s={},l=new Float32Array(o*n),u=new Float32Array(a*r);return i=0,e.forEachNode((function(e,t){s[e]=i,l[i]=t.x,l[i+1]=t.y,l[i+2]=0,l[i+3]=0,l[i+4]=0,l[i+5]=0,l[i+6]=1,l[i+7]=1,l[i+8]=t.size||1,l[i+9]=t.fixed?1:0,i+=n})),i=0,e.forEachEdge((function(e,n,o,a,c,d,h){var f=s[o],p=s[a],v=t(e,n,o,a,c,d,h);l[f+6]+=v,l[p+6]+=v,u[i]=f,u[i+1]=p,u[i+2]=v,i+=r})),{nodes:l,edges:u}},t.assignLayoutChanges=function(e,t,r){var i=0;e.updateEachNodeAttributes((function(e,o){return o.x=t[i],o.y=t[i+1],i+=n,r?r(e,o):o}))},t.readGraphPositions=function(e,t){var r=0;e.forEachNode((function(e,i){t[r]=i.x,t[r+1]=i.y,r+=n}))},t.collectLayoutChanges=function(e,t,r){for(var i=e.nodes(),o={},a=0,s=0,l=t.length;a<l;a+=n){if(r){var u=Object.assign({},e.getNodeAttributes(i[s]));u.x=t[a],u.y=t[a+1],u=r(i[s],u),o[i[s]]={x:u.x,y:u.y}}else o[i[s]]={x:t[a],y:t[a+1]};s++}return o},t.createWorker=function(e){var t=window.URL||window.webkitURL,n=e.toString(),r=t.createObjectURL(new Blob(["("+n+").call(this);"],{type:"text/javascript"})),i=new Worker(r);return t.revokeObjectURL(r),i}},1944:(e,t,n)=>{var r=n(9235),i=n(2936).Fd,o=n(2454),a=n(8085),s=n(9692);function l(e,t,n){if(!r(t))throw new Error("graphology-layout-forceatlas2: the given graph is not a valid graphology instance.");"number"===typeof n&&(n={iterations:n});var l=n.iterations;if("number"!==typeof l)throw new Error("graphology-layout-forceatlas2: invalid number of iterations.");if(l<=0)throw new Error("graphology-layout-forceatlas2: you should provide a positive number of iterations.");var u=i("getEdgeWeight"in n?n.getEdgeWeight:"weight").fromEntry,c="function"===typeof n.outputReducer?n.outputReducer:null,d=a.assign({},s,n.settings),h=a.validateSettings(d);if(h)throw new Error("graphology-layout-forceatlas2: "+h.message);var f,p=a.graphToByteArrays(t,u);for(f=0;f<l;f++)o(d,p.nodes,p.edges);if(!e)return a.collectLayoutChanges(t,p.nodes);a.assignLayoutChanges(t,p.nodes,c)}function u(e){var t="number"===typeof e?e:e.order;return{barnesHutOptimize:t>2e3,strongGravityMode:!0,gravity:.05,scalingRatio:10,slowDown:1+Math.log(t)}}var c=l.bind(null,!1);c.assign=l.bind(null,!0),c.inferSettings=u,e.exports=c},2454:e=>{var t=0,n=1,r=2,i=3,o=4,a=5,s=6,l=7,u=8,c=9,d=0,h=1,f=2,p=0,v=1,g=2,m=3,y=4,_=5,b=6,x=7,w=8,S=3,k=10,C=3,A=9,T=10;e.exports=function(e,E,M){var I,D,R,L,O,P,z,B,N,F,q,W,G,V,H,j,$,U,K,X,Y,Z,Q,J=E.length,ee=M.length,te=e.adjustSizes,ne=e.barnesHutTheta*e.barnesHutTheta,re=[];for(R=0;R<J;R+=k)E[R+o]=E[R+r],E[R+a]=E[R+i],E[R+r]=0,E[R+i]=0;if(e.outboundAttractionDistribution){for(q=0,R=0;R<J;R+=k)q+=E[R+s];q/=J/k}if(e.barnesHutOptimize){var ie,oe,ae,se=1/0,le=-1/0,ue=1/0,ce=-1/0;for(R=0;R<J;R+=k)se=Math.min(se,E[R+t]),le=Math.max(le,E[R+t]),ue=Math.min(ue,E[R+n]),ce=Math.max(ce,E[R+n]);var de=le-se,he=ce-ue;for(de>he?(ue-=(de-he)/2,ce=ue+de):(se-=(he-de)/2,le=se+he),re[0+p]=-1,re[0+v]=(se+le)/2,re[0+g]=(ue+ce)/2,re[0+m]=Math.max(le-se,ce-ue),re[0+y]=-1,re[0+_]=-1,re[0+b]=0,re[0+x]=0,re[0+w]=0,I=1,R=0;R<J;R+=k){D=0,ae=S;while(1){if(!(re[D+_]>=0)){if(re[D+p]<0){re[D+p]=R;break}if(re[D+_]=I*A,B=re[D+m]/2,N=re[D+_],re[N+p]=-1,re[N+v]=re[D+v]-B,re[N+g]=re[D+g]-B,re[N+m]=B,re[N+y]=N+A,re[N+_]=-1,re[N+b]=0,re[N+x]=0,re[N+w]=0,N+=A,re[N+p]=-1,re[N+v]=re[D+v]-B,re[N+g]=re[D+g]+B,re[N+m]=B,re[N+y]=N+A,re[N+_]=-1,re[N+b]=0,re[N+x]=0,re[N+w]=0,N+=A,re[N+p]=-1,re[N+v]=re[D+v]+B,re[N+g]=re[D+g]-B,re[N+m]=B,re[N+y]=N+A,re[N+_]=-1,re[N+b]=0,re[N+x]=0,re[N+w]=0,N+=A,re[N+p]=-1,re[N+v]=re[D+v]+B,re[N+g]=re[D+g]+B,re[N+m]=B,re[N+y]=re[D+y],re[N+_]=-1,re[N+b]=0,re[N+x]=0,re[N+w]=0,I+=4,ie=E[re[D+p]+t]<re[D+v]?E[re[D+p]+n]<re[D+g]?re[D+_]:re[D+_]+A:E[re[D+p]+n]<re[D+g]?re[D+_]+2*A:re[D+_]+3*A,re[D+b]=E[re[D+p]+s],re[D+x]=E[re[D+p]+t],re[D+w]=E[re[D+p]+n],re[ie+p]=re[D+p],re[D+p]=-1,oe=E[R+t]<re[D+v]?E[R+n]<re[D+g]?re[D+_]:re[D+_]+A:E[R+n]<re[D+g]?re[D+_]+2*A:re[D+_]+3*A,ie===oe){if(ae--){D=ie;continue}ae=S;break}re[oe+p]=R;break}ie=E[R+t]<re[D+v]?E[R+n]<re[D+g]?re[D+_]:re[D+_]+A:E[R+n]<re[D+g]?re[D+_]+2*A:re[D+_]+3*A,re[D+x]=(re[D+x]*re[D+b]+E[R+t]*E[R+s])/(re[D+b]+E[R+s]),re[D+w]=(re[D+w]*re[D+b]+E[R+n]*E[R+s])/(re[D+b]+E[R+s]),re[D+b]+=E[R+s],D=ie}}}if(e.barnesHutOptimize)for(W=e.scalingRatio,R=0;R<J;R+=k){D=0;while(1)if(re[D+_]>=0){if(j=Math.pow(E[R+t]-re[D+x],2)+Math.pow(E[R+n]-re[D+w],2),F=re[D+m],4*F*F/j<ne){if(G=E[R+t]-re[D+x],V=E[R+n]-re[D+w],!0===te?j>0?($=W*E[R+s]*re[D+b]/j,E[R+r]+=G*$,E[R+i]+=V*$):j<0&&($=-W*E[R+s]*re[D+b]/Math.sqrt(j),E[R+r]+=G*$,E[R+i]+=V*$):j>0&&($=W*E[R+s]*re[D+b]/j,E[R+r]+=G*$,E[R+i]+=V*$),D=re[D+y],D<0)break;continue}D=re[D+_]}else if(P=re[D+p],P>=0&&P!==R&&(G=E[R+t]-E[P+t],V=E[R+n]-E[P+n],j=G*G+V*V,!0===te?j>0?($=W*E[R+s]*E[P+s]/j,E[R+r]+=G*$,E[R+i]+=V*$):j<0&&($=-W*E[R+s]*E[P+s]/Math.sqrt(j),E[R+r]+=G*$,E[R+i]+=V*$):j>0&&($=W*E[R+s]*E[P+s]/j,E[R+r]+=G*$,E[R+i]+=V*$)),D=re[D+y],D<0)break}else for(W=e.scalingRatio,L=0;L<J;L+=k)for(O=0;O<L;O+=k)G=E[L+t]-E[O+t],V=E[L+n]-E[O+n],!0===te?(j=Math.sqrt(G*G+V*V)-E[L+u]-E[O+u],j>0?($=W*E[L+s]*E[O+s]/j/j,E[L+r]+=G*$,E[L+i]+=V*$,E[O+r]-=G*$,E[O+i]-=V*$):j<0&&($=100*W*E[L+s]*E[O+s],E[L+r]+=G*$,E[L+i]+=V*$,E[O+r]-=G*$,E[O+i]-=V*$)):(j=Math.sqrt(G*G+V*V),j>0&&($=W*E[L+s]*E[O+s]/j/j,E[L+r]+=G*$,E[L+i]+=V*$,E[O+r]-=G*$,E[O+i]-=V*$));for(N=e.gravity/e.scalingRatio,W=e.scalingRatio,R=0;R<J;R+=k)$=0,G=E[R+t],V=E[R+n],j=Math.sqrt(Math.pow(G,2)+Math.pow(V,2)),e.strongGravityMode?j>0&&($=W*E[R+s]*N):j>0&&($=W*E[R+s]*N/j),E[R+r]-=G*$,E[R+i]-=V*$;for(W=1*(e.outboundAttractionDistribution?q:1),z=0;z<ee;z+=C)L=M[z+d],O=M[z+h],B=M[z+f],H=Math.pow(B,e.edgeWeightInfluence),G=E[L+t]-E[O+t],V=E[L+n]-E[O+n],!0===te?(j=Math.sqrt(G*G+V*V)-E[L+u]-E[O+u],e.linLogMode?e.outboundAttractionDistribution?j>0&&($=-W*H*Math.log(1+j)/j/E[L+s]):j>0&&($=-W*H*Math.log(1+j)/j):e.outboundAttractionDistribution?j>0&&($=-W*H/E[L+s]):j>0&&($=-W*H)):(j=Math.sqrt(Math.pow(G,2)+Math.pow(V,2)),e.linLogMode?e.outboundAttractionDistribution?j>0&&($=-W*H*Math.log(1+j)/j/E[L+s]):j>0&&($=-W*H*Math.log(1+j)/j):e.outboundAttractionDistribution?(j=1,$=-W*H/E[L+s]):(j=1,$=-W*H)),j>0&&(E[L+r]+=G*$,E[L+i]+=V*$,E[O+r]-=G*$,E[O+i]-=V*$);if(!0===te)for(R=0;R<J;R+=k)1!==E[R+c]&&(U=Math.sqrt(Math.pow(E[R+r],2)+Math.pow(E[R+i],2)),U>T&&(E[R+r]=E[R+r]*T/U,E[R+i]=E[R+i]*T/U),K=E[R+s]*Math.sqrt((E[R+o]-E[R+r])*(E[R+o]-E[R+r])+(E[R+a]-E[R+i])*(E[R+a]-E[R+i])),X=Math.sqrt((E[R+o]+E[R+r])*(E[R+o]+E[R+r])+(E[R+a]+E[R+i])*(E[R+a]+E[R+i]))/2,Y=.1*Math.log(1+X)/(1+Math.sqrt(K)),Z=E[R+t]+E[R+r]*(Y/e.slowDown),E[R+t]=Z,Q=E[R+n]+E[R+i]*(Y/e.slowDown),E[R+n]=Q);else for(R=0;R<J;R+=k)1!==E[R+c]&&(K=E[R+s]*Math.sqrt((E[R+o]-E[R+r])*(E[R+o]-E[R+r])+(E[R+a]-E[R+i])*(E[R+a]-E[R+i])),X=Math.sqrt((E[R+o]+E[R+r])*(E[R+o]+E[R+r])+(E[R+a]+E[R+i])*(E[R+a]+E[R+i]))/2,Y=E[R+l]*Math.log(1+X)/(1+Math.sqrt(K)),E[R+l]=Math.min(1,Math.sqrt(Y*(Math.pow(E[R+r],2)+Math.pow(E[R+i],2))/(1+Math.sqrt(K)))),Z=E[R+t]+E[R+r]*(Y/e.slowDown),E[R+t]=Z,Q=E[R+n]+E[R+i]*(Y/e.slowDown),E[R+n]=Q);return{}}},6168:e=>{e.exports=function(){var e,t,n={};(function(){var e=0,t=1,r=2,i=3,o=4,a=5,s=6,l=7,u=8,c=9,d=0,h=1,f=2,p=0,v=1,g=2,m=3,y=4,_=5,b=6,x=7,w=8,S=3,k=10,C=3,A=9,T=10;n.exports=function(n,E,M){var I,D,R,L,O,P,z,B,N,F,q,W,G,V,H,j,$,U,K,X,Y,Z,Q,J=E.length,ee=M.length,te=n.adjustSizes,ne=n.barnesHutTheta*n.barnesHutTheta,re=[];for(R=0;R<J;R+=k)E[R+o]=E[R+r],E[R+a]=E[R+i],E[R+r]=0,E[R+i]=0;if(n.outboundAttractionDistribution){for(q=0,R=0;R<J;R+=k)q+=E[R+s];q/=J/k}if(n.barnesHutOptimize){var ie,oe,ae,se=1/0,le=-1/0,ue=1/0,ce=-1/0;for(R=0;R<J;R+=k)se=Math.min(se,E[R+e]),le=Math.max(le,E[R+e]),ue=Math.min(ue,E[R+t]),ce=Math.max(ce,E[R+t]);var de=le-se,he=ce-ue;for(de>he?(ue-=(de-he)/2,ce=ue+de):(se-=(he-de)/2,le=se+he),re[0+p]=-1,re[0+v]=(se+le)/2,re[0+g]=(ue+ce)/2,re[0+m]=Math.max(le-se,ce-ue),re[0+y]=-1,re[0+_]=-1,re[0+b]=0,re[0+x]=0,re[0+w]=0,I=1,R=0;R<J;R+=k){D=0,ae=S;while(1){if(!(re[D+_]>=0)){if(re[D+p]<0){re[D+p]=R;break}if(re[D+_]=I*A,B=re[D+m]/2,N=re[D+_],re[N+p]=-1,re[N+v]=re[D+v]-B,re[N+g]=re[D+g]-B,re[N+m]=B,re[N+y]=N+A,re[N+_]=-1,re[N+b]=0,re[N+x]=0,re[N+w]=0,N+=A,re[N+p]=-1,re[N+v]=re[D+v]-B,re[N+g]=re[D+g]+B,re[N+m]=B,re[N+y]=N+A,re[N+_]=-1,re[N+b]=0,re[N+x]=0,re[N+w]=0,N+=A,re[N+p]=-1,re[N+v]=re[D+v]+B,re[N+g]=re[D+g]-B,re[N+m]=B,re[N+y]=N+A,re[N+_]=-1,re[N+b]=0,re[N+x]=0,re[N+w]=0,N+=A,re[N+p]=-1,re[N+v]=re[D+v]+B,re[N+g]=re[D+g]+B,re[N+m]=B,re[N+y]=re[D+y],re[N+_]=-1,re[N+b]=0,re[N+x]=0,re[N+w]=0,I+=4,ie=E[re[D+p]+e]<re[D+v]?E[re[D+p]+t]<re[D+g]?re[D+_]:re[D+_]+A:E[re[D+p]+t]<re[D+g]?re[D+_]+2*A:re[D+_]+3*A,re[D+b]=E[re[D+p]+s],re[D+x]=E[re[D+p]+e],re[D+w]=E[re[D+p]+t],re[ie+p]=re[D+p],re[D+p]=-1,oe=E[R+e]<re[D+v]?E[R+t]<re[D+g]?re[D+_]:re[D+_]+A:E[R+t]<re[D+g]?re[D+_]+2*A:re[D+_]+3*A,ie===oe){if(ae--){D=ie;continue}ae=S;break}re[oe+p]=R;break}ie=E[R+e]<re[D+v]?E[R+t]<re[D+g]?re[D+_]:re[D+_]+A:E[R+t]<re[D+g]?re[D+_]+2*A:re[D+_]+3*A,re[D+x]=(re[D+x]*re[D+b]+E[R+e]*E[R+s])/(re[D+b]+E[R+s]),re[D+w]=(re[D+w]*re[D+b]+E[R+t]*E[R+s])/(re[D+b]+E[R+s]),re[D+b]+=E[R+s],D=ie}}}if(n.barnesHutOptimize)for(W=n.scalingRatio,R=0;R<J;R+=k){D=0;while(1)if(re[D+_]>=0){if(j=Math.pow(E[R+e]-re[D+x],2)+Math.pow(E[R+t]-re[D+w],2),F=re[D+m],4*F*F/j<ne){if(G=E[R+e]-re[D+x],V=E[R+t]-re[D+w],!0===te?j>0?($=W*E[R+s]*re[D+b]/j,E[R+r]+=G*$,E[R+i]+=V*$):j<0&&($=-W*E[R+s]*re[D+b]/Math.sqrt(j),E[R+r]+=G*$,E[R+i]+=V*$):j>0&&($=W*E[R+s]*re[D+b]/j,E[R+r]+=G*$,E[R+i]+=V*$),D=re[D+y],D<0)break;continue}D=re[D+_]}else if(P=re[D+p],P>=0&&P!==R&&(G=E[R+e]-E[P+e],V=E[R+t]-E[P+t],j=G*G+V*V,!0===te?j>0?($=W*E[R+s]*E[P+s]/j,E[R+r]+=G*$,E[R+i]+=V*$):j<0&&($=-W*E[R+s]*E[P+s]/Math.sqrt(j),E[R+r]+=G*$,E[R+i]+=V*$):j>0&&($=W*E[R+s]*E[P+s]/j,E[R+r]+=G*$,E[R+i]+=V*$)),D=re[D+y],D<0)break}else for(W=n.scalingRatio,L=0;L<J;L+=k)for(O=0;O<L;O+=k)G=E[L+e]-E[O+e],V=E[L+t]-E[O+t],!0===te?(j=Math.sqrt(G*G+V*V)-E[L+u]-E[O+u],j>0?($=W*E[L+s]*E[O+s]/j/j,E[L+r]+=G*$,E[L+i]+=V*$,E[O+r]-=G*$,E[O+i]-=V*$):j<0&&($=100*W*E[L+s]*E[O+s],E[L+r]+=G*$,E[L+i]+=V*$,E[O+r]-=G*$,E[O+i]-=V*$)):(j=Math.sqrt(G*G+V*V),j>0&&($=W*E[L+s]*E[O+s]/j/j,E[L+r]+=G*$,E[L+i]+=V*$,E[O+r]-=G*$,E[O+i]-=V*$));for(N=n.gravity/n.scalingRatio,W=n.scalingRatio,R=0;R<J;R+=k)$=0,G=E[R+e],V=E[R+t],j=Math.sqrt(Math.pow(G,2)+Math.pow(V,2)),n.strongGravityMode?j>0&&($=W*E[R+s]*N):j>0&&($=W*E[R+s]*N/j),E[R+r]-=G*$,E[R+i]-=V*$;for(W=1*(n.outboundAttractionDistribution?q:1),z=0;z<ee;z+=C)L=M[z+d],O=M[z+h],B=M[z+f],H=Math.pow(B,n.edgeWeightInfluence),G=E[L+e]-E[O+e],V=E[L+t]-E[O+t],!0===te?(j=Math.sqrt(G*G+V*V)-E[L+u]-E[O+u],n.linLogMode?n.outboundAttractionDistribution?j>0&&($=-W*H*Math.log(1+j)/j/E[L+s]):j>0&&($=-W*H*Math.log(1+j)/j):n.outboundAttractionDistribution?j>0&&($=-W*H/E[L+s]):j>0&&($=-W*H)):(j=Math.sqrt(Math.pow(G,2)+Math.pow(V,2)),n.linLogMode?n.outboundAttractionDistribution?j>0&&($=-W*H*Math.log(1+j)/j/E[L+s]):j>0&&($=-W*H*Math.log(1+j)/j):n.outboundAttractionDistribution?(j=1,$=-W*H/E[L+s]):(j=1,$=-W*H)),j>0&&(E[L+r]+=G*$,E[L+i]+=V*$,E[O+r]-=G*$,E[O+i]-=V*$);if(!0===te)for(R=0;R<J;R+=k)1!==E[R+c]&&(U=Math.sqrt(Math.pow(E[R+r],2)+Math.pow(E[R+i],2)),U>T&&(E[R+r]=E[R+r]*T/U,E[R+i]=E[R+i]*T/U),K=E[R+s]*Math.sqrt((E[R+o]-E[R+r])*(E[R+o]-E[R+r])+(E[R+a]-E[R+i])*(E[R+a]-E[R+i])),X=Math.sqrt((E[R+o]+E[R+r])*(E[R+o]+E[R+r])+(E[R+a]+E[R+i])*(E[R+a]+E[R+i]))/2,Y=.1*Math.log(1+X)/(1+Math.sqrt(K)),Z=E[R+e]+E[R+r]*(Y/n.slowDown),E[R+e]=Z,Q=E[R+t]+E[R+i]*(Y/n.slowDown),E[R+t]=Q);else for(R=0;R<J;R+=k)1!==E[R+c]&&(K=E[R+s]*Math.sqrt((E[R+o]-E[R+r])*(E[R+o]-E[R+r])+(E[R+a]-E[R+i])*(E[R+a]-E[R+i])),X=Math.sqrt((E[R+o]+E[R+r])*(E[R+o]+E[R+r])+(E[R+a]+E[R+i])*(E[R+a]+E[R+i]))/2,Y=E[R+l]*Math.log(1+X)/(1+Math.sqrt(K)),E[R+l]=Math.min(1,Math.sqrt(Y*(Math.pow(E[R+r],2)+Math.pow(E[R+i],2))/(1+Math.sqrt(K)))),Z=E[R+e]+E[R+r]*(Y/n.slowDown),E[R+e]=Z,Q=E[R+t]+E[R+i]*(Y/n.slowDown),E[R+t]=Q);return{}}})();var r=n.exports;self.addEventListener("message",(function(n){var i=n.data;e=new Float32Array(i.nodes),i.edges&&(t=new Float32Array(i.edges)),r(i.settings,e,t),self.postMessage({nodes:e.buffer},[e.buffer])}))}},3668:(e,t,n)=>{var r=n(6168),i=n(9235),o=n(2936).Fd,a=n(8085),s=n(9692);function l(e,t){if(t=t||{},!i(e))throw new Error("graphology-layout-forceatlas2/worker: the given graph is not a valid graphology instance.");var n=o("getEdgeWeight"in t?t.getEdgeWeight:"weight").fromEntry,r=a.assign({},s,t.settings),l=a.validateSettings(r);if(l)throw new Error("graphology-layout-forceatlas2/worker: "+l.message);this.worker=null,this.graph=e,this.settings=r,this.getEdgeWeight=n,this.matrices=null,this.running=!1,this.killed=!1,this.outputReducer="function"===typeof t.outputReducer?t.outputReducer:null,this.handleMessage=this.handleMessage.bind(this);var u=void 0,c=this;this.handleGraphUpdate=function(){c.worker&&c.worker.terminate(),u&&clearTimeout(u),u=setTimeout((function(){u=void 0,c.spawnWorker()}),0)},e.on("nodeAdded",this.handleGraphUpdate),e.on("edgeAdded",this.handleGraphUpdate),e.on("nodeDropped",this.handleGraphUpdate),e.on("edgeDropped",this.handleGraphUpdate),this.spawnWorker()}l.prototype.isRunning=function(){return this.running},l.prototype.spawnWorker=function(){this.worker&&this.worker.terminate(),this.worker=a.createWorker(r),this.worker.addEventListener("message",this.handleMessage),this.running&&(this.running=!1,this.start())},l.prototype.handleMessage=function(e){if(this.running){var t=new Float32Array(e.data.nodes);a.assignLayoutChanges(this.graph,t,this.outputReducer),this.outputReducer&&a.readGraphPositions(this.graph,t),this.matrices.nodes=t,this.askForIterations()}},l.prototype.askForIterations=function(e){var t=this.matrices,n={settings:this.settings,nodes:t.nodes.buffer},r=[t.nodes.buffer];return e&&(n.edges=t.edges.buffer,r.push(t.edges.buffer)),this.worker.postMessage(n,r),this},l.prototype.start=function(){if(this.killed)throw new Error("graphology-layout-forceatlas2/worker.start: layout was killed.");return this.running||(this.matrices=a.graphToByteArrays(this.graph,this.getEdgeWeight),this.running=!0,this.askForIterations(!0)),this},l.prototype.stop=function(){return this.running=!1,this},l.prototype.kill=function(){if(this.killed)return this;this.running=!1,this.killed=!0,this.matrices=null,this.worker.terminate(),this.graph.removeListener("nodeAdded",this.handleGraphUpdate),this.graph.removeListener("edgeAdded",this.handleGraphUpdate),this.graph.removeListener("nodeDropped",this.handleGraphUpdate),this.graph.removeListener("edgeDropped",this.handleGraphUpdate)},e.exports=l},2936:(e,t)=>{function n(e){return"number"!==typeof e||isNaN(e)?1:e}function r(e,t){var n={},r=function(e){return"undefined"===typeof e?t:e};"function"===typeof t&&(r=t);var i=function(t){return r(t[e])},o=function(){return r(void 0)};return"string"===typeof e?(n.fromAttributes=i,n.fromGraph=function(e,t){return i(e.getNodeAttributes(t))},n.fromEntry=function(e,t){return i(t)}):"function"===typeof e?(n.fromAttributes=function(){throw new Error("graphology-utils/getters/createNodeValueGetter: irrelevant usage.")},n.fromGraph=function(t,n){return r(e(n,t.getNodeAttributes(n)))},n.fromEntry=function(t,n){return r(e(t,n))}):(n.fromAttributes=o,n.fromGraph=o,n.fromEntry=o),n}function i(e,t){var n={},r=function(e){return"undefined"===typeof e?t:e};"function"===typeof t&&(r=t);var i=function(t){return r(t[e])},o=function(){return r(void 0)};return"string"===typeof e?(n.fromAttributes=i,n.fromGraph=function(e,t){return i(e.getEdgeAttributes(t))},n.fromEntry=function(e,t){return i(t)},n.fromPartialEntry=n.fromEntry,n.fromMinimalEntry=n.fromEntry):"function"===typeof e?(n.fromAttributes=function(){throw new Error("graphology-utils/getters/createEdgeValueGetter: irrelevant usage.")},n.fromGraph=function(t,n){var i=t.extremities(n);return r(e(n,t.getEdgeAttributes(n),i[0],i[1],t.getNodeAttributes(i[0]),t.getNodeAttributes(i[1]),t.isUndirected(n)))},n.fromEntry=function(t,n,i,o,a,s,l){return r(e(t,n,i,o,a,s,l))},n.fromPartialEntry=function(t,n,i,o){return r(e(t,n,i,o))},n.fromMinimalEntry=function(t,n){return r(e(t,n))}):(n.fromAttributes=o,n.fromGraph=o,n.fromEntry=o,n.fromMinimalEntry=o),n}t.Fd=function(e){return i(e,n)}},9235:e=>{e.exports=function(e){return null!==e&&"object"===typeof e&&"function"===typeof e.addUndirectedEdgeWithKey&&"function"===typeof e.dropNode&&"boolean"===typeof e.multi}},8911:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function o(e,t,n){return o=i()?Reflect.construct.bind():function(e,t,n){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return n&&r(o,n.prototype),o},o.apply(null,arguments)}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return o(e,arguments,n(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),r(a,e)},a(e)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=function(){for(var e=arguments[0],t=1,n=arguments.length;t<n;t++)if(arguments[t])for(var r in arguments[t])e[r]=arguments[t][r];return e};function u(e,t,n,r){var i=e._nodes.get(t),o=null;return i?o="mixed"===r?i.out&&i.out[n]||i.undirected&&i.undirected[n]:"directed"===r?i.out&&i.out[n]:i.undirected&&i.undirected[n]:o}function c(t){return"object"===e(t)&&null!==t}function d(e){var t;for(t in e)return!1;return!0}function h(e,t,n){Object.defineProperty(e,t,{enumerable:!1,configurable:!1,writable:!0,value:n})}function f(e,t,n){var r={enumerable:!0,configurable:!0};"function"==typeof n?r.get=n:(r.value=n,r.writable=!1),Object.defineProperty(e,t,r)}function p(e){return!!c(e)&&!(e.attributes&&!Array.isArray(e.attributes))}"function"==typeof Object.assign&&(l=Object.assign);var v,g={exports:{}},m="object"==typeof Reflect?Reflect:null,y=m&&"function"==typeof m.apply?m.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};v=m&&"function"==typeof m.ownKeys?m.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var _=Number.isNaN||function(e){return e!=e};function b(){b.init.call(this)}g.exports=b,g.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}I(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&I(e,"error",t,n)}(e,i,{once:!0})}))},b.EventEmitter=b,b.prototype._events=void 0,b.prototype._eventsCount=0,b.prototype._maxListeners=void 0;var x=10;function w(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function S(e){return void 0===e._maxListeners?b.defaultMaxListeners:e._maxListeners}function k(e,t,n,r){var i,o,a,s;if(w(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=S(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function C(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function A(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=C.bind(r);return i.listener=n,r.wrapFn=i,i}function T(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):M(i,i.length)}function E(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function M(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function I(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}function D(e){if("function"!=typeof e)throw new Error("obliterator/iterator: expecting a function!");this.next=e}Object.defineProperty(b,"defaultMaxListeners",{enumerable:!0,get:function(){return x},set:function(e){if("number"!=typeof e||e<0||_(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");x=e}}),b.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},b.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||_(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},b.prototype.getMaxListeners=function(){return S(this)},b.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)y(s,this,t);else{var l=s.length,u=M(s,l);for(n=0;n<l;++n)y(u[n],this,t)}return!0},b.prototype.addListener=function(e,t){return k(this,e,t,!1)},b.prototype.on=b.prototype.addListener,b.prototype.prependListener=function(e,t){return k(this,e,t,!0)},b.prototype.once=function(e,t){return w(t),this.on(e,A(this,e,t)),this},b.prototype.prependOnceListener=function(e,t){return w(t),this.prependListener(e,A(this,e,t)),this},b.prototype.removeListener=function(e,t){var n,r,i,o,a;if(w(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},b.prototype.off=b.prototype.removeListener,b.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},b.prototype.listeners=function(e){return T(this,e,!0)},b.prototype.rawListeners=function(e){return T(this,e,!1)},b.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):E.call(e,t)},b.prototype.listenerCount=E,b.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]},"undefined"!=typeof Symbol&&(D.prototype[Symbol.iterator]=function(){return this}),D.of=function(){var e=arguments,t=e.length,n=0;return new D((function(){return n>=t?{done:!0}:{done:!1,value:e[n++]}}))},D.empty=function(){return new D((function(){return{done:!0}}))},D.fromSequence=function(e){var t=0,n=e.length;return new D((function(){return t>=n?{done:!0}:{done:!1,value:e[t++]}}))},D.is=function(e){return e instanceof D||"object"==typeof e&&null!==e&&"function"==typeof e.next};var R=D,L={};L.ARRAY_BUFFER_SUPPORT="undefined"!=typeof ArrayBuffer,L.SYMBOL_SUPPORT="undefined"!=typeof Symbol;var O=R,P=L,z=P.ARRAY_BUFFER_SUPPORT,B=P.SYMBOL_SUPPORT,N=function(e){var t=function(e){return"string"==typeof e||Array.isArray(e)||z&&ArrayBuffer.isView(e)?O.fromSequence(e):"object"!=typeof e||null===e?null:B&&"function"==typeof e[Symbol.iterator]?e[Symbol.iterator]():"function"==typeof e.next?e:null}(e);if(!t)throw new Error("obliterator: target is not iterable nor a valid iterator.");return t},F=N,q=function(e,t){for(var n,r=arguments.length>1?t:1/0,i=r!==1/0?new Array(r):[],o=0,a=F(e);;){if(o===r)return i;if((n=a.next()).done)return o!==t&&(i.length=o),i;i[o++]=n.value}},W=function(e){function n(t){var n;return(n=e.call(this)||this).name="GraphError",n.message=t,n}return t(n,e),n}(a(Error)),G=function(e){function n(t){var r;return(r=e.call(this,t)||this).name="InvalidArgumentsGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(s(r),n.prototype.constructor),r}return t(n,e),n}(W),V=function(e){function n(t){var r;return(r=e.call(this,t)||this).name="NotFoundGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(s(r),n.prototype.constructor),r}return t(n,e),n}(W),H=function(e){function n(t){var r;return(r=e.call(this,t)||this).name="UsageGraphError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(s(r),n.prototype.constructor),r}return t(n,e),n}(W);function j(e,t){this.key=e,this.attributes=t,this.clear()}function $(e,t){this.key=e,this.attributes=t,this.clear()}function U(e,t){this.key=e,this.attributes=t,this.clear()}function K(e,t,n,r,i){this.key=t,this.attributes=i,this.undirected=e,this.source=n,this.target=r}function X(e,t,n,r,i,o,a){var s,l,u,c;if(r=""+r,0===n){if(!(s=e._nodes.get(r)))throw new V("Graph.".concat(t,': could not find the "').concat(r,'" node in the graph.'));u=i,c=o}else if(3===n){if(i=""+i,!(l=e._edges.get(i)))throw new V("Graph.".concat(t,': could not find the "').concat(i,'" edge in the graph.'));var d=l.source.key,h=l.target.key;if(r===d)s=l.target;else{if(r!==h)throw new V("Graph.".concat(t,': the "').concat(r,'" node is not attached to the "').concat(i,'" edge (').concat(d,", ").concat(h,")."));s=l.source}u=o,c=a}else{if(!(l=e._edges.get(r)))throw new V("Graph.".concat(t,': could not find the "').concat(r,'" edge in the graph.'));s=1===n?l.source:l.target,u=i,c=o}return[s,u,c]}j.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.undirectedDegree=0,this.undirectedLoops=0,this.directedLoops=0,this.in={},this.out={},this.undirected={}},$.prototype.clear=function(){this.inDegree=0,this.outDegree=0,this.directedLoops=0,this.in={},this.out={}},U.prototype.clear=function(){this.undirectedDegree=0,this.undirectedLoops=0,this.undirected={}},K.prototype.attach=function(){var e="out",t="in";this.undirected&&(e=t="undirected");var n=this.source.key,r=this.target.key;this.source[e][r]=this,this.undirected&&n===r||(this.target[t][n]=this)},K.prototype.attachMulti=function(){var e="out",t="in",n=this.source.key,r=this.target.key;this.undirected&&(e=t="undirected");var i=this.source[e],o=i[r];if(void 0===o)return i[r]=this,void(this.undirected&&n===r||(this.target[t][n]=this));o.previous=this,this.next=o,i[r]=this,this.target[t][n]=this},K.prototype.detach=function(){var e=this.source.key,t=this.target.key,n="out",r="in";this.undirected&&(n=r="undirected"),delete this.source[n][t],delete this.target[r][e]},K.prototype.detachMulti=function(){var e=this.source.key,t=this.target.key,n="out",r="in";this.undirected&&(n=r="undirected"),void 0===this.previous?void 0===this.next?(delete this.source[n][t],delete this.target[r][e]):(this.next.previous=void 0,this.source[n][t]=this.next,this.target[r][e]=this.next):(this.previous.next=this.next,void 0!==this.next&&(this.next.previous=this.previous))};var Y=[{name:function(e){return"get".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var o=X(this,t,n,e,r,i),a=o[0],s=o[1];return a.attributes[s]}}},{name:function(e){return"get".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r){return X(this,t,n,e,r)[0].attributes}}},{name:function(e){return"has".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var o=X(this,t,n,e,r,i),a=o[0],s=o[1];return a.attributes.hasOwnProperty(s)}}},{name:function(e){return"set".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i,o){var a=X(this,t,n,e,r,i,o),s=a[0],l=a[1],u=a[2];return s.attributes[l]=u,this.emit("nodeAttributesUpdated",{key:s.key,type:"set",attributes:s.attributes,name:l}),this}}},{name:function(e){return"update".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i,o){var a=X(this,t,n,e,r,i,o),s=a[0],l=a[1],u=a[2];if("function"!=typeof u)throw new G("Graph.".concat(t,": updater should be a function."));var c=s.attributes,d=u(c[l]);return c[l]=d,this.emit("nodeAttributesUpdated",{key:s.key,type:"set",attributes:s.attributes,name:l}),this}}},{name:function(e){return"remove".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var o=X(this,t,n,e,r,i),a=o[0],s=o[1];return delete a.attributes[s],this.emit("nodeAttributesUpdated",{key:a.key,type:"remove",attributes:a.attributes,name:s}),this}}},{name:function(e){return"replace".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var o=X(this,t,n,e,r,i),a=o[0],s=o[1];if(!c(s))throw new G("Graph.".concat(t,": provided attributes are not a plain object."));return a.attributes=s,this.emit("nodeAttributesUpdated",{key:a.key,type:"replace",attributes:a.attributes}),this}}},{name:function(e){return"merge".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var o=X(this,t,n,e,r,i),a=o[0],s=o[1];if(!c(s))throw new G("Graph.".concat(t,": provided attributes are not a plain object."));return l(a.attributes,s),this.emit("nodeAttributesUpdated",{key:a.key,type:"merge",attributes:a.attributes,data:s}),this}}},{name:function(e){return"update".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var o=X(this,t,n,e,r,i),a=o[0],s=o[1];if("function"!=typeof s)throw new G("Graph.".concat(t,": provided updater is not a function."));return a.attributes=s(a.attributes),this.emit("nodeAttributesUpdated",{key:a.key,type:"update",attributes:a.attributes}),this}}}],Z=[{name:function(e){return"get".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new H("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new H("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+e,a=""+r;if(r=arguments[2],!(i=u(this,o,a,n)))throw new V("Graph.".concat(t,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else{if("mixed"!==n)throw new H("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new V("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}return i.attributes[r]}}},{name:function(e){return"get".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e){var r;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new H("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>1){if(this.multi)throw new H("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var i=""+e,o=""+arguments[1];if(!(r=u(this,i,o,n)))throw new V("Graph.".concat(t,': could not find an edge for the given path ("').concat(i,'" - "').concat(o,'").'))}else{if("mixed"!==n)throw new H("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(r=this._edges.get(e)))throw new V("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}return r.attributes}}},{name:function(e){return"has".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new H("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new H("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+e,a=""+r;if(r=arguments[2],!(i=u(this,o,a,n)))throw new V("Graph.".concat(t,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else{if("mixed"!==n)throw new H("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new V("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}return i.attributes.hasOwnProperty(r)}}},{name:function(e){return"set".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var o;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new H("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>3){if(this.multi)throw new H("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+e,s=""+r;if(r=arguments[2],i=arguments[3],!(o=u(this,a,s,n)))throw new V("Graph.".concat(t,': could not find an edge for the given path ("').concat(a,'" - "').concat(s,'").'))}else{if("mixed"!==n)throw new H("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(o=this._edges.get(e)))throw new V("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}return o.attributes[r]=i,this.emit("edgeAttributesUpdated",{key:o.key,type:"set",attributes:o.attributes,name:r}),this}}},{name:function(e){return"update".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r,i){var o;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new H("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>3){if(this.multi)throw new H("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var a=""+e,s=""+r;if(r=arguments[2],i=arguments[3],!(o=u(this,a,s,n)))throw new V("Graph.".concat(t,': could not find an edge for the given path ("').concat(a,'" - "').concat(s,'").'))}else{if("mixed"!==n)throw new H("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(o=this._edges.get(e)))throw new V("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}if("function"!=typeof i)throw new G("Graph.".concat(t,": updater should be a function."));return o.attributes[r]=i(o.attributes[r]),this.emit("edgeAttributesUpdated",{key:o.key,type:"set",attributes:o.attributes,name:r}),this}}},{name:function(e){return"remove".concat(e,"Attribute")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new H("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new H("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+e,a=""+r;if(r=arguments[2],!(i=u(this,o,a,n)))throw new V("Graph.".concat(t,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else{if("mixed"!==n)throw new H("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new V("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}return delete i.attributes[r],this.emit("edgeAttributesUpdated",{key:i.key,type:"remove",attributes:i.attributes,name:r}),this}}},{name:function(e){return"replace".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new H("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new H("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+e,a=""+r;if(r=arguments[2],!(i=u(this,o,a,n)))throw new V("Graph.".concat(t,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else{if("mixed"!==n)throw new H("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new V("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}if(!c(r))throw new G("Graph.".concat(t,": provided attributes are not a plain object."));return i.attributes=r,this.emit("edgeAttributesUpdated",{key:i.key,type:"replace",attributes:i.attributes}),this}}},{name:function(e){return"merge".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new H("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new H("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+e,a=""+r;if(r=arguments[2],!(i=u(this,o,a,n)))throw new V("Graph.".concat(t,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else{if("mixed"!==n)throw new H("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new V("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}if(!c(r))throw new G("Graph.".concat(t,": provided attributes are not a plain object."));return l(i.attributes,r),this.emit("edgeAttributesUpdated",{key:i.key,type:"merge",attributes:i.attributes,data:r}),this}}},{name:function(e){return"update".concat(e,"Attributes")},attacher:function(e,t,n){e.prototype[t]=function(e,r){var i;if("mixed"!==this.type&&"mixed"!==n&&n!==this.type)throw new H("Graph.".concat(t,": cannot find this type of edges in your ").concat(this.type," graph."));if(arguments.length>2){if(this.multi)throw new H("Graph.".concat(t,": cannot use a {source,target} combo when asking about an edge's attributes in a MultiGraph since we cannot infer the one you want information about."));var o=""+e,a=""+r;if(r=arguments[2],!(i=u(this,o,a,n)))throw new V("Graph.".concat(t,': could not find an edge for the given path ("').concat(o,'" - "').concat(a,'").'))}else{if("mixed"!==n)throw new H("Graph.".concat(t,": calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type."));if(e=""+e,!(i=this._edges.get(e)))throw new V("Graph.".concat(t,': could not find the "').concat(e,'" edge in the graph.'))}if("function"!=typeof r)throw new G("Graph.".concat(t,": provided updater is not a function."));return i.attributes=r(i.attributes),this.emit("edgeAttributesUpdated",{key:i.key,type:"update",attributes:i.attributes}),this}}}],Q=R,J=N,ee=function(){var e=arguments,t=null,n=-1;return new Q((function(){for(var r=null;;){if(null===t){if(++n>=e.length)return{done:!0};t=J(e[n])}if(!0!==(r=t.next()).done)break;t=null}return r}))},te=[{name:"edges",type:"mixed"},{name:"inEdges",type:"directed",direction:"in"},{name:"outEdges",type:"directed",direction:"out"},{name:"inboundEdges",type:"mixed",direction:"in"},{name:"outboundEdges",type:"mixed",direction:"out"},{name:"directedEdges",type:"directed"},{name:"undirectedEdges",type:"undirected"}];function ne(e,t,n,r){var i=!1;for(var o in t)if(o!==r){var a=t[o];if(i=n(a.key,a.attributes,a.source.key,a.target.key,a.source.attributes,a.target.attributes,a.undirected),e&&i)return a.key}}function re(e,t,n,r){var i,o,a,s=!1;for(var l in t)if(l!==r){i=t[l];do{if(o=i.source,a=i.target,s=n(i.key,i.attributes,o.key,a.key,o.attributes,a.attributes,i.undirected),e&&s)return i.key;i=i.next}while(void 0!==i)}}function ie(e,t){var n,r=Object.keys(e),i=r.length,o=0;return new R((function(){do{if(n)n=n.next;else{if(o>=i)return{done:!0};var a=r[o++];if(a===t){n=void 0;continue}n=e[a]}}while(!n);return{done:!1,value:{edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected}}}))}function oe(e,t,n,r){var i=t[n];if(i){var o=i.source,a=i.target;return r(i.key,i.attributes,o.key,a.key,o.attributes,a.attributes,i.undirected)&&e?i.key:void 0}}function ae(e,t,n,r){var i=t[n];if(i){var o=!1;do{if(o=r(i.key,i.attributes,i.source.key,i.target.key,i.source.attributes,i.target.attributes,i.undirected),e&&o)return i.key;i=i.next}while(void 0!==i)}}function se(e,t){var n=e[t];return void 0!==n.next?new R((function(){if(!n)return{done:!0};var e={edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected};return n=n.next,{done:!1,value:e}})):R.of({edge:n.key,attributes:n.attributes,source:n.source.key,target:n.target.key,sourceAttributes:n.source.attributes,targetAttributes:n.target.attributes,undirected:n.undirected})}function le(e,t){if(0===e.size)return[];if("mixed"===t||t===e.type)return"function"==typeof Array.from?Array.from(e._edges.keys()):q(e._edges.keys(),e._edges.size);for(var n,r,i="undirected"===t?e.undirectedSize:e.directedSize,o=new Array(i),a="undirected"===t,s=e._edges.values(),l=0;!0!==(n=s.next()).done;)(r=n.value).undirected===a&&(o[l++]=r.key);return o}function ue(e,t,n,r){if(0!==t.size)for(var i,o,a="mixed"!==n&&n!==t.type,s="undirected"===n,l=!1,u=t._edges.values();!0!==(i=u.next()).done;)if(o=i.value,!a||o.undirected===s){var c=o,d=c.key,h=c.attributes,f=c.source,p=c.target;if(l=r(d,h,f.key,p.key,f.attributes,p.attributes,o.undirected),e&&l)return d}}function ce(e,t){if(0===e.size)return R.empty();var n="mixed"!==t&&t!==e.type,r="undirected"===t,i=e._edges.values();return new R((function(){for(var e,t;;){if((e=i.next()).done)return e;if(t=e.value,!n||t.undirected===r)break}return{value:{edge:t.key,attributes:t.attributes,source:t.source.key,target:t.target.key,sourceAttributes:t.source.attributes,targetAttributes:t.target.attributes,undirected:t.undirected},done:!1}}))}function de(e,t,n,r,i,o){var a,s=t?re:ne;if("undirected"!==n){if("out"!==r&&(a=s(e,i.in,o),e&&a))return a;if("in"!==r&&(a=s(e,i.out,o,r?void 0:i.key),e&&a))return a}if("directed"!==n&&(a=s(e,i.undirected,o),e&&a))return a}function he(e,t,n,r){var i=[];return de(!1,e,t,n,r,(function(e){i.push(e)})),i}function fe(e,t,n){var r=R.empty();return"undirected"!==e&&("out"!==t&&void 0!==n.in&&(r=ee(r,ie(n.in))),"in"!==t&&void 0!==n.out&&(r=ee(r,ie(n.out,t?void 0:n.key)))),"directed"!==e&&void 0!==n.undirected&&(r=ee(r,ie(n.undirected))),r}function pe(e,t,n,r,i,o,a){var s,l=n?ae:oe;if("undirected"!==t){if(void 0!==i.in&&"out"!==r&&(s=l(e,i.in,o,a),e&&s))return s;if(void 0!==i.out&&"in"!==r&&(r||i.key!==o)&&(s=l(e,i.out,o,a),e&&s))return s}if("directed"!==t&&void 0!==i.undirected&&(s=l(e,i.undirected,o,a),e&&s))return s}function ve(e,t,n,r,i){var o=[];return pe(!1,e,t,n,r,i,(function(e){o.push(e)})),o}function ge(e,t,n,r){var i=R.empty();return"undirected"!==e&&(void 0!==n.in&&"out"!==t&&r in n.in&&(i=ee(i,se(n.in,r))),void 0!==n.out&&"in"!==t&&r in n.out&&(t||n.key!==r)&&(i=ee(i,se(n.out,r)))),"directed"!==e&&void 0!==n.undirected&&r in n.undirected&&(i=ee(i,se(n.undirected,r))),i}var me=[{name:"neighbors",type:"mixed"},{name:"inNeighbors",type:"directed",direction:"in"},{name:"outNeighbors",type:"directed",direction:"out"},{name:"inboundNeighbors",type:"mixed",direction:"in"},{name:"outboundNeighbors",type:"mixed",direction:"out"},{name:"directedNeighbors",type:"directed"},{name:"undirectedNeighbors",type:"undirected"}];function ye(){this.A=null,this.B=null}function _e(e,t,n,r,i){for(var o in r){var a=r[o],s=a.source,l=a.target,u=s===n?l:s;if(!t||!t.has(u.key)){var c=i(u.key,u.attributes);if(e&&c)return u.key}}}function be(e,t,n,r,i){if("mixed"!==t){if("undirected"===t)return _e(e,null,r,r.undirected,i);if("string"==typeof n)return _e(e,null,r,r[n],i)}var o,a=new ye;if("undirected"!==t){if("out"!==n){if(o=_e(e,null,r,r.in,i),e&&o)return o;a.wrap(r.in)}if("in"!==n){if(o=_e(e,a,r,r.out,i),e&&o)return o;a.wrap(r.out)}}if("directed"!==t&&(o=_e(e,a,r,r.undirected,i),e&&o))return o}function xe(e,t,n){var r=Object.keys(n),i=r.length,o=0;return new R((function(){var a=null;do{if(o>=i)return e&&e.wrap(n),{done:!0};var s=n[r[o++]],l=s.source,u=s.target;a=l===t?u:l,e&&e.has(a.key)&&(a=null)}while(null===a);return{done:!1,value:{neighbor:a.key,attributes:a.attributes}}}))}function we(e,t){var n=t.name,r=t.type,i=t.direction;e.prototype[n]=function(e){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return[];e=""+e;var t=this._nodes.get(e);if(void 0===t)throw new V("Graph.".concat(n,': could not find the "').concat(e,'" node in the graph.'));return function(e,t,n){if("mixed"!==e){if("undirected"===e)return Object.keys(n.undirected);if("string"==typeof t)return Object.keys(n[t])}var r=[];return be(!1,e,t,n,(function(e){r.push(e)})),r}("mixed"===r?this.type:r,i,t)}}function Se(e,t){var n=t.name,r=t.type,i=t.direction,o=n.slice(0,-1)+"Entries";e.prototype[o]=function(e){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return R.empty();e=""+e;var t=this._nodes.get(e);if(void 0===t)throw new V("Graph.".concat(o,': could not find the "').concat(e,'" node in the graph.'));return function(e,t,n){if("mixed"!==e){if("undirected"===e)return xe(null,n,n.undirected);if("string"==typeof t)return xe(null,n,n[t])}var r=R.empty(),i=new ye;return"undirected"!==e&&("out"!==t&&(r=ee(r,xe(i,n,n.in))),"in"!==t&&(r=ee(r,xe(i,n,n.out)))),"directed"!==e&&(r=ee(r,xe(i,n,n.undirected))),r}("mixed"===r?this.type:r,i,t)}}function ke(e,t,n,r,i){for(var o,a,s,l,u,c,d,h=r._nodes.values(),f=r.type;!0!==(o=h.next()).done;){var p=!1;if(a=o.value,"undirected"!==f)for(s in l=a.out){u=l[s];do{if(c=u.target,p=!0,d=i(a.key,c.key,a.attributes,c.attributes,u.key,u.attributes,u.undirected),e&&d)return u;u=u.next}while(u)}if("directed"!==f)for(s in l=a.undirected)if(!(t&&a.key>s)){u=l[s];do{if((c=u.target).key!==s&&(c=u.source),p=!0,d=i(a.key,c.key,a.attributes,c.attributes,u.key,u.attributes,u.undirected),e&&d)return u;u=u.next}while(u)}if(n&&!p&&(d=i(a.key,null,a.attributes,null,null,null,null),e&&d))return null}}function Ce(e){if(!c(e))throw new G('Graph.import: invalid serialized node. A serialized node should be a plain object with at least a "key" property.');if(!("key"in e))throw new G("Graph.import: serialized node is missing its key.");if("attributes"in e&&(!c(e.attributes)||null===e.attributes))throw new G("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.")}function Ae(e){if(!c(e))throw new G('Graph.import: invalid serialized edge. A serialized edge should be a plain object with at least a "source" & "target" property.');if(!("source"in e))throw new G("Graph.import: serialized edge is missing its source.");if(!("target"in e))throw new G("Graph.import: serialized edge is missing its target.");if("attributes"in e&&(!c(e.attributes)||null===e.attributes))throw new G("Graph.import: invalid attributes. Attributes should be a plain object, null or omitted.");if("undirected"in e&&"boolean"!=typeof e.undirected)throw new G("Graph.import: invalid undirectedness information. Undirected should be boolean or omitted.")}ye.prototype.wrap=function(e){null===this.A?this.A=e:null===this.B&&(this.B=e)},ye.prototype.has=function(e){return null!==this.A&&e in this.A||null!==this.B&&e in this.B};var Te,Ee=(Te=255&Math.floor(256*Math.random()),function(){return Te++}),Me=new Set(["directed","undirected","mixed"]),Ie=new Set(["domain","_events","_eventsCount","_maxListeners"]),De={allowSelfLoops:!0,multi:!1,type:"mixed"};function Re(e,t,n){var r=new e.NodeDataClass(t,n);return e._nodes.set(t,r),e.emit("nodeAdded",{key:t,attributes:n}),r}function Le(e,t,n,r,i,o,a,s){if(!r&&"undirected"===e.type)throw new H("Graph.".concat(t,": you cannot add a directed edge to an undirected graph. Use the #.addEdge or #.addUndirectedEdge instead."));if(r&&"directed"===e.type)throw new H("Graph.".concat(t,": you cannot add an undirected edge to a directed graph. Use the #.addEdge or #.addDirectedEdge instead."));if(s&&!c(s))throw new G("Graph.".concat(t,': invalid attributes. Expecting an object but got "').concat(s,'"'));if(o=""+o,a=""+a,s=s||{},!e.allowSelfLoops&&o===a)throw new H("Graph.".concat(t,': source & target are the same ("').concat(o,"\"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false."));var l=e._nodes.get(o),u=e._nodes.get(a);if(!l)throw new V("Graph.".concat(t,': source node "').concat(o,'" not found.'));if(!u)throw new V("Graph.".concat(t,': target node "').concat(a,'" not found.'));var d={key:null,undirected:r,source:o,target:a,attributes:s};if(n)i=e._edgeKeyGenerator();else if(i=""+i,e._edges.has(i))throw new H("Graph.".concat(t,': the "').concat(i,'" edge already exists in the graph.'));if(!e.multi&&(r?void 0!==l.undirected[a]:void 0!==l.out[a]))throw new H("Graph.".concat(t,': an edge linking "').concat(o,'" to "').concat(a,"\" already exists. If you really want to add multiple edges linking those nodes, you should create a multi graph by using the 'multi' option."));var h=new K(r,i,l,u,s);e._edges.set(i,h);var f=o===a;return r?(l.undirectedDegree++,u.undirectedDegree++,f&&(l.undirectedLoops++,e._undirectedSelfLoopCount++)):(l.outDegree++,u.inDegree++,f&&(l.directedLoops++,e._directedSelfLoopCount++)),e.multi?h.attachMulti():h.attach(),r?e._undirectedSize++:e._directedSize++,d.key=i,e.emit("edgeAdded",d),i}function Oe(e,t,n,r,i,o,a,s,u){if(!r&&"undirected"===e.type)throw new H("Graph.".concat(t,": you cannot merge/update a directed edge to an undirected graph. Use the #.mergeEdge/#.updateEdge or #.addUndirectedEdge instead."));if(r&&"directed"===e.type)throw new H("Graph.".concat(t,": you cannot merge/update an undirected edge to a directed graph. Use the #.mergeEdge/#.updateEdge or #.addDirectedEdge instead."));if(s)if(u){if("function"!=typeof s)throw new G("Graph.".concat(t,': invalid updater function. Expecting a function but got "').concat(s,'"'))}else if(!c(s))throw new G("Graph.".concat(t,': invalid attributes. Expecting an object but got "').concat(s,'"'));var d;if(o=""+o,a=""+a,u&&(d=s,s=void 0),!e.allowSelfLoops&&o===a)throw new H("Graph.".concat(t,': source & target are the same ("').concat(o,"\"), thus creating a loop explicitly forbidden by this graph 'allowSelfLoops' option set to false."));var h,f,p=e._nodes.get(o),v=e._nodes.get(a);if(!n&&(h=e._edges.get(i))){if(!(h.source.key===o&&h.target.key===a||r&&h.source.key===a&&h.target.key===o))throw new H("Graph.".concat(t,': inconsistency detected when attempting to merge the "').concat(i,'" edge with "').concat(o,'" source & "').concat(a,'" target vs. ("').concat(h.source.key,'", "').concat(h.target.key,'").'));f=h}if(f||e.multi||!p||(f=r?p.undirected[a]:p.out[a]),f){var g=[f.key,!1,!1,!1];if(u?!d:!s)return g;if(u){var m=f.attributes;f.attributes=d(m),e.emit("edgeAttributesUpdated",{type:"replace",key:f.key,attributes:f.attributes})}else l(f.attributes,s),e.emit("edgeAttributesUpdated",{type:"merge",key:f.key,attributes:f.attributes,data:s});return g}s=s||{},u&&d&&(s=d(s));var y={key:null,undirected:r,source:o,target:a,attributes:s};if(n)i=e._edgeKeyGenerator();else if(i=""+i,e._edges.has(i))throw new H("Graph.".concat(t,': the "').concat(i,'" edge already exists in the graph.'));var _=!1,b=!1;p||(p=Re(e,o,{}),_=!0,o===a&&(v=p,b=!0)),v||(v=Re(e,a,{}),b=!0),h=new K(r,i,p,v,s),e._edges.set(i,h);var x=o===a;return r?(p.undirectedDegree++,v.undirectedDegree++,x&&(p.undirectedLoops++,e._undirectedSelfLoopCount++)):(p.outDegree++,v.inDegree++,x&&(p.directedLoops++,e._directedSelfLoopCount++)),e.multi?h.attachMulti():h.attach(),r?e._undirectedSize++:e._directedSize++,y.key=i,e.emit("edgeAdded",y),[i,!0,_,b]}function Pe(e,t){e._edges.delete(t.key);var n=t.source,r=t.target,i=t.attributes,o=t.undirected,a=n===r;o?(n.undirectedDegree--,r.undirectedDegree--,a&&(n.undirectedLoops--,e._undirectedSelfLoopCount--)):(n.outDegree--,r.inDegree--,a&&(n.directedLoops--,e._directedSelfLoopCount--)),e.multi?t.detachMulti():t.detach(),o?e._undirectedSize--:e._directedSize--,e.emit("edgeDropped",{key:t.key,attributes:i,source:n.key,target:r.key,undirected:o})}var ze=function(n){function r(e){var t;if(t=n.call(this)||this,"boolean"!=typeof(e=l({},De,e)).multi)throw new G("Graph.constructor: invalid 'multi' option. Expecting a boolean but got \"".concat(e.multi,'".'));if(!Me.has(e.type))throw new G('Graph.constructor: invalid \'type\' option. Should be one of "mixed", "directed" or "undirected" but got "'.concat(e.type,'".'));if("boolean"!=typeof e.allowSelfLoops)throw new G("Graph.constructor: invalid 'allowSelfLoops' option. Expecting a boolean but got \"".concat(e.allowSelfLoops,'".'));var r="mixed"===e.type?j:"directed"===e.type?$:U;h(s(t),"NodeDataClass",r);var i="geid_"+Ee()+"_",o=0;return h(s(t),"_attributes",{}),h(s(t),"_nodes",new Map),h(s(t),"_edges",new Map),h(s(t),"_directedSize",0),h(s(t),"_undirectedSize",0),h(s(t),"_directedSelfLoopCount",0),h(s(t),"_undirectedSelfLoopCount",0),h(s(t),"_edgeKeyGenerator",(function(){var e;do{e=i+o++}while(t._edges.has(e));return e})),h(s(t),"_options",e),Ie.forEach((function(e){return h(s(t),e,t[e])})),f(s(t),"order",(function(){return t._nodes.size})),f(s(t),"size",(function(){return t._edges.size})),f(s(t),"directedSize",(function(){return t._directedSize})),f(s(t),"undirectedSize",(function(){return t._undirectedSize})),f(s(t),"selfLoopCount",(function(){return t._directedSelfLoopCount+t._undirectedSelfLoopCount})),f(s(t),"directedSelfLoopCount",(function(){return t._directedSelfLoopCount})),f(s(t),"undirectedSelfLoopCount",(function(){return t._undirectedSelfLoopCount})),f(s(t),"multi",t._options.multi),f(s(t),"type",t._options.type),f(s(t),"allowSelfLoops",t._options.allowSelfLoops),f(s(t),"implementation",(function(){return"graphology"})),t}t(r,n);var i=r.prototype;return i._resetInstanceCounters=function(){this._directedSize=0,this._undirectedSize=0,this._directedSelfLoopCount=0,this._undirectedSelfLoopCount=0},i.hasNode=function(e){return this._nodes.has(""+e)},i.hasDirectedEdge=function(e,t){if("undirected"===this.type)return!1;if(1===arguments.length){var n=""+e,r=this._edges.get(n);return!!r&&!r.undirected}if(2===arguments.length){e=""+e,t=""+t;var i=this._nodes.get(e);return!!i&&i.out.hasOwnProperty(t)}throw new G("Graph.hasDirectedEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},i.hasUndirectedEdge=function(e,t){if("directed"===this.type)return!1;if(1===arguments.length){var n=""+e,r=this._edges.get(n);return!!r&&r.undirected}if(2===arguments.length){e=""+e,t=""+t;var i=this._nodes.get(e);return!!i&&i.undirected.hasOwnProperty(t)}throw new G("Graph.hasDirectedEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},i.hasEdge=function(e,t){if(1===arguments.length){var n=""+e;return this._edges.has(n)}if(2===arguments.length){e=""+e,t=""+t;var r=this._nodes.get(e);return!!r&&(void 0!==r.out&&r.out.hasOwnProperty(t)||void 0!==r.undirected&&r.undirected.hasOwnProperty(t))}throw new G("Graph.hasEdge: invalid arity (".concat(arguments.length,", instead of 1 or 2). You can either ask for an edge id or for the existence of an edge between a source & a target."))},i.directedEdge=function(e,t){if("undirected"!==this.type){if(e=""+e,t=""+t,this.multi)throw new H("Graph.directedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.directedEdges instead.");var n=this._nodes.get(e);if(!n)throw new V('Graph.directedEdge: could not find the "'.concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new V('Graph.directedEdge: could not find the "'.concat(t,'" target node in the graph.'));var r=n.out&&n.out[t]||void 0;return r?r.key:void 0}},i.undirectedEdge=function(e,t){if("directed"!==this.type){if(e=""+e,t=""+t,this.multi)throw new H("Graph.undirectedEdge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.undirectedEdges instead.");var n=this._nodes.get(e);if(!n)throw new V('Graph.undirectedEdge: could not find the "'.concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new V('Graph.undirectedEdge: could not find the "'.concat(t,'" target node in the graph.'));var r=n.undirected&&n.undirected[t]||void 0;return r?r.key:void 0}},i.edge=function(e,t){if(this.multi)throw new H("Graph.edge: this method is irrelevant with multigraphs since there might be multiple edges between source & target. See #.edges instead.");e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new V('Graph.edge: could not find the "'.concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new V('Graph.edge: could not find the "'.concat(t,'" target node in the graph.'));var r=n.out&&n.out[t]||n.undirected&&n.undirected[t]||void 0;if(r)return r.key},i.areDirectedNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new V('Graph.areDirectedNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&(t in n.in||t in n.out)},i.areOutNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new V('Graph.areOutNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&t in n.out},i.areInNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new V('Graph.areInNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&t in n.in},i.areUndirectedNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new V('Graph.areUndirectedNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"directed"!==this.type&&t in n.undirected},i.areNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new V('Graph.areNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&(t in n.in||t in n.out)||"directed"!==this.type&&t in n.undirected},i.areInboundNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new V('Graph.areInboundNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&t in n.in||"directed"!==this.type&&t in n.undirected},i.areOutboundNeighbors=function(e,t){e=""+e,t=""+t;var n=this._nodes.get(e);if(!n)throw new V('Graph.areOutboundNeighbors: could not find the "'.concat(e,'" node in the graph.'));return"undirected"!==this.type&&t in n.out||"directed"!==this.type&&t in n.undirected},i.inDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.inDegree: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree},i.outDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.outDegree: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.outDegree},i.directedDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.directedDegree: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree+t.outDegree},i.undirectedDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.undirectedDegree: could not find the "'.concat(e,'" node in the graph.'));return"directed"===this.type?0:t.undirectedDegree},i.inboundDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.inboundDegree: could not find the "'.concat(e,'" node in the graph.'));var n=0;return"directed"!==this.type&&(n+=t.undirectedDegree),"undirected"!==this.type&&(n+=t.inDegree),n},i.outboundDegree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.outboundDegree: could not find the "'.concat(e,'" node in the graph.'));var n=0;return"directed"!==this.type&&(n+=t.undirectedDegree),"undirected"!==this.type&&(n+=t.outDegree),n},i.degree=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.degree: could not find the "'.concat(e,'" node in the graph.'));var n=0;return"directed"!==this.type&&(n+=t.undirectedDegree),"undirected"!==this.type&&(n+=t.inDegree+t.outDegree),n},i.inDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.inDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree-t.directedLoops},i.outDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.outDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.outDegree-t.directedLoops},i.directedDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.directedDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));return"undirected"===this.type?0:t.inDegree+t.outDegree-2*t.directedLoops},i.undirectedDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.undirectedDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));return"directed"===this.type?0:t.undirectedDegree-2*t.undirectedLoops},i.inboundDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.inboundDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));var n=0,r=0;return"directed"!==this.type&&(n+=t.undirectedDegree,r+=2*t.undirectedLoops),"undirected"!==this.type&&(n+=t.inDegree,r+=t.directedLoops),n-r},i.outboundDegreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.outboundDegreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));var n=0,r=0;return"directed"!==this.type&&(n+=t.undirectedDegree,r+=2*t.undirectedLoops),"undirected"!==this.type&&(n+=t.outDegree,r+=t.directedLoops),n-r},i.degreeWithoutSelfLoops=function(e){e=""+e;var t=this._nodes.get(e);if(!t)throw new V('Graph.degreeWithoutSelfLoops: could not find the "'.concat(e,'" node in the graph.'));var n=0,r=0;return"directed"!==this.type&&(n+=t.undirectedDegree,r+=2*t.undirectedLoops),"undirected"!==this.type&&(n+=t.inDegree+t.outDegree,r+=2*t.directedLoops),n-r},i.source=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new V('Graph.source: could not find the "'.concat(e,'" edge in the graph.'));return t.source.key},i.target=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new V('Graph.target: could not find the "'.concat(e,'" edge in the graph.'));return t.target.key},i.extremities=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new V('Graph.extremities: could not find the "'.concat(e,'" edge in the graph.'));return[t.source.key,t.target.key]},i.opposite=function(e,t){e=""+e,t=""+t;var n=this._edges.get(t);if(!n)throw new V('Graph.opposite: could not find the "'.concat(t,'" edge in the graph.'));var r=n.source.key,i=n.target.key;if(e===r)return i;if(e===i)return r;throw new V('Graph.opposite: the "'.concat(e,'" node is not attached to the "').concat(t,'" edge (').concat(r,", ").concat(i,")."))},i.hasExtremity=function(e,t){e=""+e,t=""+t;var n=this._edges.get(e);if(!n)throw new V('Graph.hasExtremity: could not find the "'.concat(e,'" edge in the graph.'));return n.source.key===t||n.target.key===t},i.isUndirected=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new V('Graph.isUndirected: could not find the "'.concat(e,'" edge in the graph.'));return t.undirected},i.isDirected=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new V('Graph.isDirected: could not find the "'.concat(e,'" edge in the graph.'));return!t.undirected},i.isSelfLoop=function(e){e=""+e;var t=this._edges.get(e);if(!t)throw new V('Graph.isSelfLoop: could not find the "'.concat(e,'" edge in the graph.'));return t.source===t.target},i.addNode=function(e,t){var n=function(e,t,n){if(n&&!c(n))throw new G('Graph.addNode: invalid attributes. Expecting an object but got "'.concat(n,'"'));if(t=""+t,n=n||{},e._nodes.has(t))throw new H('Graph.addNode: the "'.concat(t,'" node already exist in the graph.'));var r=new e.NodeDataClass(t,n);return e._nodes.set(t,r),e.emit("nodeAdded",{key:t,attributes:n}),r}(this,e,t);return n.key},i.mergeNode=function(e,t){if(t&&!c(t))throw new G('Graph.mergeNode: invalid attributes. Expecting an object but got "'.concat(t,'"'));e=""+e,t=t||{};var n=this._nodes.get(e);return n?(t&&(l(n.attributes,t),this.emit("nodeAttributesUpdated",{type:"merge",key:e,attributes:n.attributes,data:t})),[e,!1]):(n=new this.NodeDataClass(e,t),this._nodes.set(e,n),this.emit("nodeAdded",{key:e,attributes:t}),[e,!0])},i.updateNode=function(e,t){if(t&&"function"!=typeof t)throw new G('Graph.updateNode: invalid updater function. Expecting a function but got "'.concat(t,'"'));e=""+e;var n=this._nodes.get(e);if(n){if(t){var r=n.attributes;n.attributes=t(r),this.emit("nodeAttributesUpdated",{type:"replace",key:e,attributes:n.attributes})}return[e,!1]}var i=t?t({}):{};return n=new this.NodeDataClass(e,i),this._nodes.set(e,n),this.emit("nodeAdded",{key:e,attributes:i}),[e,!0]},i.dropNode=function(e){e=""+e;var t,n=this._nodes.get(e);if(!n)throw new V('Graph.dropNode: could not find the "'.concat(e,'" node in the graph.'));if("undirected"!==this.type){for(var r in n.out){t=n.out[r];do{Pe(this,t),t=t.next}while(t)}for(var i in n.in){t=n.in[i];do{Pe(this,t),t=t.next}while(t)}}if("directed"!==this.type)for(var o in n.undirected){t=n.undirected[o];do{Pe(this,t),t=t.next}while(t)}this._nodes.delete(e),this.emit("nodeDropped",{key:e,attributes:n.attributes})},i.dropEdge=function(e){var t;if(arguments.length>1){var n=""+arguments[0],r=""+arguments[1];if(!(t=u(this,n,r,this.type)))throw new V('Graph.dropEdge: could not find the "'.concat(n,'" -> "').concat(r,'" edge in the graph.'))}else if(e=""+e,!(t=this._edges.get(e)))throw new V('Graph.dropEdge: could not find the "'.concat(e,'" edge in the graph.'));return Pe(this,t),this},i.dropDirectedEdge=function(e,t){if(arguments.length<2)throw new H("Graph.dropDirectedEdge: it does not make sense to try and drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new H("Graph.dropDirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");var n=u(this,e=""+e,t=""+t,"directed");if(!n)throw new V('Graph.dropDirectedEdge: could not find a "'.concat(e,'" -> "').concat(t,'" edge in the graph.'));return Pe(this,n),this},i.dropUndirectedEdge=function(e,t){if(arguments.length<2)throw new H("Graph.dropUndirectedEdge: it does not make sense to drop a directed edge by key. What if the edge with this key is undirected? Use #.dropEdge for this purpose instead.");if(this.multi)throw new H("Graph.dropUndirectedEdge: cannot use a {source,target} combo when dropping an edge in a MultiGraph since we cannot infer the one you want to delete as there could be multiple ones.");var n=u(this,e,t,"undirected");if(!n)throw new V('Graph.dropUndirectedEdge: could not find a "'.concat(e,'" -> "').concat(t,'" edge in the graph.'));return Pe(this,n),this},i.clear=function(){this._edges.clear(),this._nodes.clear(),this._resetInstanceCounters(),this.emit("cleared")},i.clearEdges=function(){for(var e,t=this._nodes.values();!0!==(e=t.next()).done;)e.value.clear();this._edges.clear(),this._resetInstanceCounters(),this.emit("edgesCleared")},i.getAttribute=function(e){return this._attributes[e]},i.getAttributes=function(){return this._attributes},i.hasAttribute=function(e){return this._attributes.hasOwnProperty(e)},i.setAttribute=function(e,t){return this._attributes[e]=t,this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:e}),this},i.updateAttribute=function(e,t){if("function"!=typeof t)throw new G("Graph.updateAttribute: updater should be a function.");var n=this._attributes[e];return this._attributes[e]=t(n),this.emit("attributesUpdated",{type:"set",attributes:this._attributes,name:e}),this},i.removeAttribute=function(e){return delete this._attributes[e],this.emit("attributesUpdated",{type:"remove",attributes:this._attributes,name:e}),this},i.replaceAttributes=function(e){if(!c(e))throw new G("Graph.replaceAttributes: provided attributes are not a plain object.");return this._attributes=e,this.emit("attributesUpdated",{type:"replace",attributes:this._attributes}),this},i.mergeAttributes=function(e){if(!c(e))throw new G("Graph.mergeAttributes: provided attributes are not a plain object.");return l(this._attributes,e),this.emit("attributesUpdated",{type:"merge",attributes:this._attributes,data:e}),this},i.updateAttributes=function(e){if("function"!=typeof e)throw new G("Graph.updateAttributes: provided updater is not a function.");return this._attributes=e(this._attributes),this.emit("attributesUpdated",{type:"update",attributes:this._attributes}),this},i.updateEachNodeAttributes=function(e,t){if("function"!=typeof e)throw new G("Graph.updateEachNodeAttributes: expecting an updater function.");if(t&&!p(t))throw new G("Graph.updateEachNodeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");for(var n,r,i=this._nodes.values();!0!==(n=i.next()).done;)(r=n.value).attributes=e(r.key,r.attributes);this.emit("eachNodeAttributesUpdated",{hints:t||null})},i.updateEachEdgeAttributes=function(e,t){if("function"!=typeof e)throw new G("Graph.updateEachEdgeAttributes: expecting an updater function.");if(t&&!p(t))throw new G("Graph.updateEachEdgeAttributes: invalid hints. Expecting an object having the following shape: {attributes?: [string]}");for(var n,r,i,o,a=this._edges.values();!0!==(n=a.next()).done;)i=(r=n.value).source,o=r.target,r.attributes=e(r.key,r.attributes,i.key,o.key,i.attributes,o.attributes,r.undirected);this.emit("eachEdgeAttributesUpdated",{hints:t||null})},i.forEachAdjacencyEntry=function(e){if("function"!=typeof e)throw new G("Graph.forEachAdjacencyEntry: expecting a callback.");ke(!1,!1,!1,this,e)},i.forEachAdjacencyEntryWithOrphans=function(e){if("function"!=typeof e)throw new G("Graph.forEachAdjacencyEntryWithOrphans: expecting a callback.");ke(!1,!1,!0,this,e)},i.forEachAssymetricAdjacencyEntry=function(e){if("function"!=typeof e)throw new G("Graph.forEachAssymetricAdjacencyEntry: expecting a callback.");ke(!1,!0,!1,this,e)},i.forEachAssymetricAdjacencyEntryWithOrphans=function(e){if("function"!=typeof e)throw new G("Graph.forEachAssymetricAdjacencyEntryWithOrphans: expecting a callback.");ke(!1,!0,!0,this,e)},i.nodes=function(){return"function"==typeof Array.from?Array.from(this._nodes.keys()):q(this._nodes.keys(),this._nodes.size)},i.forEachNode=function(e){if("function"!=typeof e)throw new G("Graph.forEachNode: expecting a callback.");for(var t,n,r=this._nodes.values();!0!==(t=r.next()).done;)e((n=t.value).key,n.attributes)},i.findNode=function(e){if("function"!=typeof e)throw new G("Graph.findNode: expecting a callback.");for(var t,n,r=this._nodes.values();!0!==(t=r.next()).done;)if(e((n=t.value).key,n.attributes))return n.key},i.mapNodes=function(e){if("function"!=typeof e)throw new G("Graph.mapNode: expecting a callback.");for(var t,n,r=this._nodes.values(),i=new Array(this.order),o=0;!0!==(t=r.next()).done;)n=t.value,i[o++]=e(n.key,n.attributes);return i},i.someNode=function(e){if("function"!=typeof e)throw new G("Graph.someNode: expecting a callback.");for(var t,n,r=this._nodes.values();!0!==(t=r.next()).done;)if(e((n=t.value).key,n.attributes))return!0;return!1},i.everyNode=function(e){if("function"!=typeof e)throw new G("Graph.everyNode: expecting a callback.");for(var t,n,r=this._nodes.values();!0!==(t=r.next()).done;)if(!e((n=t.value).key,n.attributes))return!1;return!0},i.filterNodes=function(e){if("function"!=typeof e)throw new G("Graph.filterNodes: expecting a callback.");for(var t,n,r=this._nodes.values(),i=[];!0!==(t=r.next()).done;)e((n=t.value).key,n.attributes)&&i.push(n.key);return i},i.reduceNodes=function(e,t){if("function"!=typeof e)throw new G("Graph.reduceNodes: expecting a callback.");if(arguments.length<2)throw new G("Graph.reduceNodes: missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array.");for(var n,r,i=t,o=this._nodes.values();!0!==(n=o.next()).done;)i=e(i,(r=n.value).key,r.attributes);return i},i.nodeEntries=function(){var e=this._nodes.values();return new R((function(){var t=e.next();if(t.done)return t;var n=t.value;return{value:{node:n.key,attributes:n.attributes},done:!1}}))},i.export=function(){var e=this,t=new Array(this._nodes.size),n=0;this._nodes.forEach((function(e,r){t[n++]=function(e,t){var n={key:e};return d(t.attributes)||(n.attributes=l({},t.attributes)),n}(r,e)}));var r=new Array(this._edges.size);return n=0,this._edges.forEach((function(t,i){r[n++]=function(e,t,n){var r={key:t,source:n.source.key,target:n.target.key};return d(n.attributes)||(r.attributes=l({},n.attributes)),"mixed"===e&&n.undirected&&(r.undirected=!0),r}(e.type,i,t)})),{options:{type:this.type,multi:this.multi,allowSelfLoops:this.allowSelfLoops},attributes:this.getAttributes(),nodes:t,edges:r}},i.import=function(e){var t,n,i,o,a,s=this,l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e instanceof r)return e.forEachNode((function(e,t){l?s.mergeNode(e,t):s.addNode(e,t)})),e.forEachEdge((function(e,t,n,r,i,o,a){l?a?s.mergeUndirectedEdgeWithKey(e,n,r,t):s.mergeDirectedEdgeWithKey(e,n,r,t):a?s.addUndirectedEdgeWithKey(e,n,r,t):s.addDirectedEdgeWithKey(e,n,r,t)})),this;if(!c(e))throw new G("Graph.import: invalid argument. Expecting a serialized graph or, alternatively, a Graph instance.");if(e.attributes){if(!c(e.attributes))throw new G("Graph.import: invalid attributes. Expecting a plain object.");l?this.mergeAttributes(e.attributes):this.replaceAttributes(e.attributes)}if(e.nodes){if(i=e.nodes,!Array.isArray(i))throw new G("Graph.import: invalid nodes. Expecting an array.");for(t=0,n=i.length;t<n;t++){Ce(o=i[t]);var u=o,d=u.key,h=u.attributes;l?this.mergeNode(d,h):this.addNode(d,h)}}if(e.edges){var f=!1;if("undirected"===this.type&&(f=!0),i=e.edges,!Array.isArray(i))throw new G("Graph.import: invalid edges. Expecting an array.");for(t=0,n=i.length;t<n;t++){Ae(a=i[t]);var p=a,v=p.source,g=p.target,m=p.attributes,y=p.undirected,_=void 0===y?f:y;"key"in a?(l?_?this.mergeUndirectedEdgeWithKey:this.mergeDirectedEdgeWithKey:_?this.addUndirectedEdgeWithKey:this.addDirectedEdgeWithKey).call(this,a.key,v,g,m):(l?_?this.mergeUndirectedEdge:this.mergeDirectedEdge:_?this.addUndirectedEdge:this.addDirectedEdge).call(this,v,g,m)}}return this},i.nullCopy=function(e){var t=new r(l({},this._options,e));return t.replaceAttributes(l({},this.getAttributes())),t},i.emptyCopy=function(e){var t=this.nullCopy(e);return this._nodes.forEach((function(e,n){var r=l({},e.attributes);e=new t.NodeDataClass(n,r),t._nodes.set(n,e)})),t},i.copy=function(e){if("string"==typeof(e=e||{}).type&&e.type!==this.type&&"mixed"!==e.type)throw new H('Graph.copy: cannot create an incompatible copy from "'.concat(this.type,'" type to "').concat(e.type,'" because this would mean losing information about the current graph.'));if("boolean"==typeof e.multi&&e.multi!==this.multi&&!0!==e.multi)throw new H("Graph.copy: cannot create an incompatible copy by downgrading a multi graph to a simple one because this would mean losing information about the current graph.");if("boolean"==typeof e.allowSelfLoops&&e.allowSelfLoops!==this.allowSelfLoops&&!0!==e.allowSelfLoops)throw new H("Graph.copy: cannot create an incompatible copy from a graph allowing self loops to one that does not because this would mean losing information about the current graph.");for(var t,n,r=this.emptyCopy(e),i=this._edges.values();!0!==(t=i.next()).done;)Le(r,"copy",!1,(n=t.value).undirected,n.key,n.source.key,n.target.key,l({},n.attributes));return r},i.toJSON=function(){return this.export()},i.toString=function(){return"[object Graph]"},i.inspect=function(){var t=this,n={};this._nodes.forEach((function(e,t){n[t]=e.attributes}));var r={},i={};this._edges.forEach((function(e,n){var o,a=e.undirected?"--":"->",s="",l=e.source.key,u=e.target.key;e.undirected&&l>u&&(o=l,l=u,u=o);var c="(".concat(l,")").concat(a,"(").concat(u,")");n.startsWith("geid_")?t.multi&&(void 0===i[c]?i[c]=0:i[c]++,s+="".concat(i[c],". ")):s+="[".concat(n,"]: "),r[s+=c]=e.attributes}));var o={};for(var a in this)this.hasOwnProperty(a)&&!Ie.has(a)&&"function"!=typeof this[a]&&"symbol"!==e(a)&&(o[a]=this[a]);return o.attributes=this._attributes,o.nodes=n,o.edges=r,h(o,"constructor",this.constructor),o},r}(g.exports.EventEmitter);"undefined"!=typeof Symbol&&(ze.prototype[Symbol.for("nodejs.util.inspect.custom")]=ze.prototype.inspect),[{name:function(e){return"".concat(e,"Edge")},generateKey:!0},{name:function(e){return"".concat(e,"DirectedEdge")},generateKey:!0,type:"directed"},{name:function(e){return"".concat(e,"UndirectedEdge")},generateKey:!0,type:"undirected"},{name:function(e){return"".concat(e,"EdgeWithKey")}},{name:function(e){return"".concat(e,"DirectedEdgeWithKey")},type:"directed"},{name:function(e){return"".concat(e,"UndirectedEdgeWithKey")},type:"undirected"}].forEach((function(e){["add","merge","update"].forEach((function(t){var n=e.name(t),r="add"===t?Le:Oe;e.generateKey?ze.prototype[n]=function(i,o,a){return r(this,n,!0,"undirected"===(e.type||this.type),null,i,o,a,"update"===t)}:ze.prototype[n]=function(i,o,a,s){return r(this,n,!1,"undirected"===(e.type||this.type),i,o,a,s,"update"===t)}}))})),function(e){Y.forEach((function(t){var n=t.name,r=t.attacher;r(e,n("Node"),0),r(e,n("Source"),1),r(e,n("Target"),2),r(e,n("Opposite"),3)}))}(ze),function(e){Z.forEach((function(t){var n=t.name,r=t.attacher;r(e,n("Edge"),"mixed"),r(e,n("DirectedEdge"),"directed"),r(e,n("UndirectedEdge"),"undirected")}))}(ze),function(e){te.forEach((function(t){!function(e,t){var n=t.name,r=t.type,i=t.direction;e.prototype[n]=function(e,t){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return[];if(!arguments.length)return le(this,r);if(1===arguments.length){e=""+e;var o=this._nodes.get(e);if(void 0===o)throw new V("Graph.".concat(n,': could not find the "').concat(e,'" node in the graph.'));return he(this.multi,"mixed"===r?this.type:r,i,o)}if(2===arguments.length){e=""+e,t=""+t;var a=this._nodes.get(e);if(!a)throw new V("Graph.".concat(n,': could not find the "').concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new V("Graph.".concat(n,': could not find the "').concat(t,'" target node in the graph.'));return ve(r,this.multi,i,a,t)}throw new G("Graph.".concat(n,": too many arguments (expecting 0, 1 or 2 and got ").concat(arguments.length,")."))}}(e,t),function(e,t){var n=t.name,r=t.type,i=t.direction,o="forEach"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[o]=function(e,t,n){if("mixed"===r||"mixed"===this.type||r===this.type){if(1===arguments.length)return ue(!1,this,r,n=e);if(2===arguments.length){e=""+e,n=t;var a=this._nodes.get(e);if(void 0===a)throw new V("Graph.".concat(o,': could not find the "').concat(e,'" node in the graph.'));return de(!1,this.multi,"mixed"===r?this.type:r,i,a,n)}if(3===arguments.length){e=""+e,t=""+t;var s=this._nodes.get(e);if(!s)throw new V("Graph.".concat(o,': could not find the "').concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new V("Graph.".concat(o,': could not find the "').concat(t,'" target node in the graph.'));return pe(!1,r,this.multi,i,s,t,n)}throw new G("Graph.".concat(o,": too many arguments (expecting 1, 2 or 3 and got ").concat(arguments.length,")."))}};var a="map"+n[0].toUpperCase()+n.slice(1);e.prototype[a]=function(){var e,t=Array.prototype.slice.call(arguments),n=t.pop();if(0===t.length){var i=0;"directed"!==r&&(i+=this.undirectedSize),"undirected"!==r&&(i+=this.directedSize),e=new Array(i);var a=0;t.push((function(t,r,i,o,s,l,u){e[a++]=n(t,r,i,o,s,l,u)}))}else e=[],t.push((function(t,r,i,o,a,s,l){e.push(n(t,r,i,o,a,s,l))}));return this[o].apply(this,t),e};var s="filter"+n[0].toUpperCase()+n.slice(1);e.prototype[s]=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=[];return e.push((function(e,r,i,o,a,s,l){t(e,r,i,o,a,s,l)&&n.push(e)})),this[o].apply(this,e),n};var l="reduce"+n[0].toUpperCase()+n.slice(1);e.prototype[l]=function(){var e,t,n=Array.prototype.slice.call(arguments);if(n.length<2||n.length>4)throw new G("Graph.".concat(l,": invalid number of arguments (expecting 2, 3 or 4 and got ").concat(n.length,")."));if("function"==typeof n[n.length-1]&&"function"!=typeof n[n.length-2])throw new G("Graph.".concat(l,": missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array."));2===n.length?(e=n[0],t=n[1],n=[]):3===n.length?(e=n[1],t=n[2],n=[n[0]]):4===n.length&&(e=n[2],t=n[3],n=[n[0],n[1]]);var r=t;return n.push((function(t,n,i,o,a,s,l){r=e(r,t,n,i,o,a,s,l)})),this[o].apply(this,n),r}}(e,t),function(e,t){var n=t.name,r=t.type,i=t.direction,o="find"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[o]=function(e,t,n){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return!1;if(1===arguments.length)return ue(!0,this,r,n=e);if(2===arguments.length){e=""+e,n=t;var a=this._nodes.get(e);if(void 0===a)throw new V("Graph.".concat(o,': could not find the "').concat(e,'" node in the graph.'));return de(!0,this.multi,"mixed"===r?this.type:r,i,a,n)}if(3===arguments.length){e=""+e,t=""+t;var s=this._nodes.get(e);if(!s)throw new V("Graph.".concat(o,': could not find the "').concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new V("Graph.".concat(o,': could not find the "').concat(t,'" target node in the graph.'));return pe(!0,r,this.multi,i,s,t,n)}throw new G("Graph.".concat(o,": too many arguments (expecting 1, 2 or 3 and got ").concat(arguments.length,")."))};var a="some"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[a]=function(){var e=Array.prototype.slice.call(arguments),t=e.pop();return e.push((function(e,n,r,i,o,a,s){return t(e,n,r,i,o,a,s)})),!!this[o].apply(this,e)};var s="every"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[s]=function(){var e=Array.prototype.slice.call(arguments),t=e.pop();return e.push((function(e,n,r,i,o,a,s){return!t(e,n,r,i,o,a,s)})),!this[o].apply(this,e)}}(e,t),function(e,t){var n=t.name,r=t.type,i=t.direction,o=n.slice(0,-1)+"Entries";e.prototype[o]=function(e,t){if("mixed"!==r&&"mixed"!==this.type&&r!==this.type)return R.empty();if(!arguments.length)return ce(this,r);if(1===arguments.length){e=""+e;var n=this._nodes.get(e);if(!n)throw new V("Graph.".concat(o,': could not find the "').concat(e,'" node in the graph.'));return fe(r,i,n)}if(2===arguments.length){e=""+e,t=""+t;var a=this._nodes.get(e);if(!a)throw new V("Graph.".concat(o,': could not find the "').concat(e,'" source node in the graph.'));if(!this._nodes.has(t))throw new V("Graph.".concat(o,': could not find the "').concat(t,'" target node in the graph.'));return ge(r,i,a,t)}throw new G("Graph.".concat(o,": too many arguments (expecting 0, 1 or 2 and got ").concat(arguments.length,")."))}}(e,t)}))}(ze),function(e){me.forEach((function(t){we(e,t),function(e,t){var n=t.name,r=t.type,i=t.direction,o="forEach"+n[0].toUpperCase()+n.slice(1,-1);e.prototype[o]=function(e,t){if("mixed"===r||"mixed"===this.type||r===this.type){e=""+e;var n=this._nodes.get(e);if(void 0===n)throw new V("Graph.".concat(o,': could not find the "').concat(e,'" node in the graph.'));be(!1,"mixed"===r?this.type:r,i,n,t)}};var a="map"+n[0].toUpperCase()+n.slice(1);e.prototype[a]=function(e,t){var n=[];return this[o](e,(function(e,r){n.push(t(e,r))})),n};var s="filter"+n[0].toUpperCase()+n.slice(1);e.prototype[s]=function(e,t){var n=[];return this[o](e,(function(e,r){t(e,r)&&n.push(e)})),n};var l="reduce"+n[0].toUpperCase()+n.slice(1);e.prototype[l]=function(e,t,n){if(arguments.length<3)throw new G("Graph.".concat(l,": missing initial value. You must provide it because the callback takes more than one argument and we cannot infer the initial value from the first iteration, as you could with a simple array."));var r=n;return this[o](e,(function(e,n){r=t(r,e,n)})),r}}(e,t),function(e,t){var n=t.name,r=t.type,i=t.direction,o=n[0].toUpperCase()+n.slice(1,-1),a="find"+o;e.prototype[a]=function(e,t){if("mixed"===r||"mixed"===this.type||r===this.type){e=""+e;var n=this._nodes.get(e);if(void 0===n)throw new V("Graph.".concat(a,': could not find the "').concat(e,'" node in the graph.'));return be(!0,"mixed"===r?this.type:r,i,n,t)}};var s="some"+o;e.prototype[s]=function(e,t){return!!this[a](e,t)};var l="every"+o;e.prototype[l]=function(e,t){return!this[a](e,(function(e,n){return!t(e,n)}))}}(e,t),Se(e,t)}))}(ze);var Be=function(e){function n(t){var n=l({type:"directed"},t);if("multi"in n&&!1!==n.multi)throw new G("DirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if("directed"!==n.type)throw new G('DirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return e.call(this,n)||this}return t(n,e),n}(ze),Ne=function(e){function n(t){var n=l({type:"undirected"},t);if("multi"in n&&!1!==n.multi)throw new G("UndirectedGraph.from: inconsistent indication that the graph should be multi in given options!");if("undirected"!==n.type)throw new G('UndirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return e.call(this,n)||this}return t(n,e),n}(ze),Fe=function(e){function n(t){var n=l({multi:!0},t);if("multi"in n&&!0!==n.multi)throw new G("MultiGraph.from: inconsistent indication that the graph should be simple in given options!");return e.call(this,n)||this}return t(n,e),n}(ze),qe=function(e){function n(t){var n=l({type:"directed",multi:!0},t);if("multi"in n&&!0!==n.multi)throw new G("MultiDirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if("directed"!==n.type)throw new G('MultiDirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return e.call(this,n)||this}return t(n,e),n}(ze),We=function(e){function n(t){var n=l({type:"undirected",multi:!0},t);if("multi"in n&&!0!==n.multi)throw new G("MultiUndirectedGraph.from: inconsistent indication that the graph should be simple in given options!");if("undirected"!==n.type)throw new G('MultiUndirectedGraph.from: inconsistent "'+n.type+'" type in given options!');return e.call(this,n)||this}return t(n,e),n}(ze);function Ge(e){e.from=function(t,n){var r=l({},t.options,n),i=new e(r);return i.import(t),i}}return Ge(ze),Ge(Be),Ge(Ne),Ge(Fe),Ge(qe),Ge(We),ze.Graph=ze,ze.DirectedGraph=Be,ze.UndirectedGraph=Ne,ze.MultiGraph=Fe,ze.MultiDirectedGraph=qe,ze.MultiUndirectedGraph=We,ze.InvalidArgumentsGraphError=G,ze.NotFoundGraphError=V,ze.UsageGraphError=H,ze}))},3436:function(e,t,n){var r;
17
+ /**
18
+ * @license
19
+ * Lodash <https://lodash.com/>
20
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
21
+ * Released under MIT license <https://lodash.com/license>
22
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
23
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
24
+ */e=n.nmd(e),function(){var i,o="4.17.21",a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",d=500,h="__lodash_placeholder__",f=1,p=2,v=4,g=1,m=2,y=1,_=2,b=4,x=8,w=16,S=32,k=64,C=128,A=256,T=512,E=30,M="...",I=800,D=16,R=1,L=2,O=3,P=1/0,z=9007199254740991,B=17976931348623157e292,N=NaN,F=4294967295,q=F-1,W=F>>>1,G=[["ary",C],["bind",y],["bindKey",_],["curry",x],["curryRight",w],["flip",T],["partial",S],["partialRight",k],["rearg",A]],V="[object Arguments]",H="[object Array]",j="[object AsyncFunction]",$="[object Boolean]",U="[object Date]",K="[object DOMException]",X="[object Error]",Y="[object Function]",Z="[object GeneratorFunction]",Q="[object Map]",J="[object Number]",ee="[object Null]",te="[object Object]",ne="[object Promise]",re="[object Proxy]",ie="[object RegExp]",oe="[object Set]",ae="[object String]",se="[object Symbol]",le="[object Undefined]",ue="[object WeakMap]",ce="[object WeakSet]",de="[object ArrayBuffer]",he="[object DataView]",fe="[object Float32Array]",pe="[object Float64Array]",ve="[object Int8Array]",ge="[object Int16Array]",me="[object Int32Array]",ye="[object Uint8Array]",_e="[object Uint8ClampedArray]",be="[object Uint16Array]",xe="[object Uint32Array]",we=/\b__p \+= '';/g,Se=/\b(__p \+=) '' \+/g,ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ce=/&(?:amp|lt|gt|quot|#39);/g,Ae=/[&<>"']/g,Te=RegExp(Ce.source),Ee=RegExp(Ae.source),Me=/<%-([\s\S]+?)%>/g,Ie=/<%([\s\S]+?)%>/g,De=/<%=([\s\S]+?)%>/g,Re=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Le=/^\w*$/,Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pe=/[\\^$.*+?()[\]{}|]/g,ze=RegExp(Pe.source),Be=/^\s+/,Ne=/\s/,Fe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qe=/\{\n\/\* \[wrapped with (.+)\] \*/,We=/,? & /,Ge=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ve=/[()=,{}\[\]\/\s]/,He=/\\(\\)?/g,je=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$e=/\w*$/,Ue=/^[-+]0x[0-9a-f]+$/i,Ke=/^0b[01]+$/i,Xe=/^\[object .+?Constructor\]$/,Ye=/^0o[0-7]+$/i,Ze=/^(?:0|[1-9]\d*)$/,Qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=/($^)/,et=/['\n\r\u2028\u2029\\]/g,tt="\\ud800-\\udfff",nt="\\u0300-\\u036f",rt="\\ufe20-\\ufe2f",it="\\u20d0-\\u20ff",ot=nt+rt+it,at="\\u2700-\\u27bf",st="a-z\\xdf-\\xf6\\xf8-\\xff",lt="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ct="\\u2000-\\u206f",dt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ht="A-Z\\xc0-\\xd6\\xd8-\\xde",ft="\\ufe0e\\ufe0f",pt=lt+ut+ct+dt,vt="['’]",gt="["+tt+"]",mt="["+pt+"]",yt="["+ot+"]",_t="\\d+",bt="["+at+"]",xt="["+st+"]",wt="[^"+tt+pt+_t+at+st+ht+"]",St="\\ud83c[\\udffb-\\udfff]",kt="(?:"+yt+"|"+St+")",Ct="[^"+tt+"]",At="(?:\\ud83c[\\udde6-\\uddff]){2}",Tt="[\\ud800-\\udbff][\\udc00-\\udfff]",Et="["+ht+"]",Mt="\\u200d",It="(?:"+xt+"|"+wt+")",Dt="(?:"+Et+"|"+wt+")",Rt="(?:"+vt+"(?:d|ll|m|re|s|t|ve))?",Lt="(?:"+vt+"(?:D|LL|M|RE|S|T|VE))?",Ot=kt+"?",Pt="["+ft+"]?",zt="(?:"+Mt+"(?:"+[Ct,At,Tt].join("|")+")"+Pt+Ot+")*",Bt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Nt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ft=Pt+Ot+zt,qt="(?:"+[bt,At,Tt].join("|")+")"+Ft,Wt="(?:"+[Ct+yt+"?",yt,At,Tt,gt].join("|")+")",Gt=RegExp(vt,"g"),Vt=RegExp(yt,"g"),Ht=RegExp(St+"(?="+St+")|"+Wt+Ft,"g"),jt=RegExp([Et+"?"+xt+"+"+Rt+"(?="+[mt,Et,"$"].join("|")+")",Dt+"+"+Lt+"(?="+[mt,Et+It,"$"].join("|")+")",Et+"?"+It+"+"+Rt,Et+"+"+Lt,Nt,Bt,_t,qt].join("|"),"g"),$t=RegExp("["+Mt+tt+ot+ft+"]"),Ut=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Kt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xt=-1,Yt={};Yt[fe]=Yt[pe]=Yt[ve]=Yt[ge]=Yt[me]=Yt[ye]=Yt[_e]=Yt[be]=Yt[xe]=!0,Yt[V]=Yt[H]=Yt[de]=Yt[$]=Yt[he]=Yt[U]=Yt[X]=Yt[Y]=Yt[Q]=Yt[J]=Yt[te]=Yt[ie]=Yt[oe]=Yt[ae]=Yt[ue]=!1;var Zt={};Zt[V]=Zt[H]=Zt[de]=Zt[he]=Zt[$]=Zt[U]=Zt[fe]=Zt[pe]=Zt[ve]=Zt[ge]=Zt[me]=Zt[Q]=Zt[J]=Zt[te]=Zt[ie]=Zt[oe]=Zt[ae]=Zt[se]=Zt[ye]=Zt[_e]=Zt[be]=Zt[xe]=!0,Zt[X]=Zt[Y]=Zt[ue]=!1;var Qt={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Jt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},en={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},tn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,rn=parseInt,on="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,an="object"==typeof self&&self&&self.Object===Object&&self,sn=on||an||Function("return this")(),ln=t&&!t.nodeType&&t,un=ln&&e&&!e.nodeType&&e,cn=un&&un.exports===ln,dn=cn&&on.process,hn=function(){try{var e=un&&un.require&&un.require("util").types;return e||dn&&dn.binding&&dn.binding("util")}catch(t){}}(),fn=hn&&hn.isArrayBuffer,pn=hn&&hn.isDate,vn=hn&&hn.isMap,gn=hn&&hn.isRegExp,mn=hn&&hn.isSet,yn=hn&&hn.isTypedArray;function _n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function bn(e,t,n,r){var i=-1,o=null==e?0:e.length;while(++i<o){var a=e[i];t(r,a,n(a),e)}return r}function xn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!1===t(e[n],n,e))break;return e}function wn(e,t){var n=null==e?0:e.length;while(n--)if(!1===t(e[n],n,e))break;return e}function Sn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!t(e[n],n,e))return!1;return!0}function kn(e,t){var n=-1,r=null==e?0:e.length,i=0,o=[];while(++n<r){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function Cn(e,t){var n=null==e?0:e.length;return!!n&&Bn(e,t,0)>-1}function An(e,t,n){var r=-1,i=null==e?0:e.length;while(++r<i)if(n(t,e[r]))return!0;return!1}function Tn(e,t){var n=-1,r=null==e?0:e.length,i=Array(r);while(++n<r)i[n]=t(e[n],n,e);return i}function En(e,t){var n=-1,r=t.length,i=e.length;while(++n<r)e[i+n]=t[n];return e}function Mn(e,t,n,r){var i=-1,o=null==e?0:e.length;r&&o&&(n=e[++i]);while(++i<o)n=t(n,e[i],i,e);return n}function In(e,t,n,r){var i=null==e?0:e.length;r&&i&&(n=e[--i]);while(i--)n=t(n,e[i],i,e);return n}function Dn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}var Rn=Wn("length");function Ln(e){return e.split("")}function On(e){return e.match(Ge)||[]}function Pn(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function zn(e,t,n,r){var i=e.length,o=n+(r?1:-1);while(r?o--:++o<i)if(t(e[o],o,e))return o;return-1}function Bn(e,t,n){return t===t?fr(e,t,n):zn(e,Fn,n)}function Nn(e,t,n,r){var i=n-1,o=e.length;while(++i<o)if(r(e[i],t))return i;return-1}function Fn(e){return e!==e}function qn(e,t){var n=null==e?0:e.length;return n?jn(e,t)/n:N}function Wn(e){return function(t){return null==t?i:t[e]}}function Gn(e){return function(t){return null==e?i:e[t]}}function Vn(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Hn(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}function jn(e,t){var n,r=-1,o=e.length;while(++r<o){var a=t(e[r]);a!==i&&(n=n===i?a:n+a)}return n}function $n(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}function Un(e,t){return Tn(t,(function(t){return[t,e[t]]}))}function Kn(e){return e?e.slice(0,mr(e)+1).replace(Be,""):e}function Xn(e){return function(t){return e(t)}}function Yn(e,t){return Tn(t,(function(t){return e[t]}))}function Zn(e,t){return e.has(t)}function Qn(e,t){var n=-1,r=e.length;while(++n<r&&Bn(t,e[n],0)>-1);return n}function Jn(e,t){var n=e.length;while(n--&&Bn(t,e[n],0)>-1);return n}function er(e,t){var n=e.length,r=0;while(n--)e[n]===t&&++r;return r}var tr=Gn(Qt),nr=Gn(Jt);function rr(e){return"\\"+tn[e]}function ir(e,t){return null==e?i:e[t]}function or(e){return $t.test(e)}function ar(e){return Ut.test(e)}function sr(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function lr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ur(e,t){return function(n){return e(t(n))}}function cr(e,t){var n=-1,r=e.length,i=0,o=[];while(++n<r){var a=e[n];a!==t&&a!==h||(e[n]=h,o[i++]=n)}return o}function dr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function hr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function fr(e,t,n){var r=n-1,i=e.length;while(++r<i)if(e[r]===t)return r;return-1}function pr(e,t,n){var r=n+1;while(r--)if(e[r]===t)return r;return r}function vr(e){return or(e)?_r(e):Rn(e)}function gr(e){return or(e)?br(e):Ln(e)}function mr(e){var t=e.length;while(t--&&Ne.test(e.charAt(t)));return t}var yr=Gn(en);function _r(e){var t=Ht.lastIndex=0;while(Ht.test(e))++t;return t}function br(e){return e.match(Ht)||[]}function xr(e){return e.match(jt)||[]}var wr=function e(t){t=null==t?sn:Sr.defaults(sn.Object(),t,Sr.pick(sn,Kt));var n=t.Array,r=t.Date,Ne=t.Error,Ge=t.Function,tt=t.Math,nt=t.Object,rt=t.RegExp,it=t.String,ot=t.TypeError,at=n.prototype,st=Ge.prototype,lt=nt.prototype,ut=t["__core-js_shared__"],ct=st.toString,dt=lt.hasOwnProperty,ht=0,ft=function(){var e=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),pt=lt.toString,vt=ct.call(nt),gt=sn._,mt=rt("^"+ct.call(dt).replace(Pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=cn?t.Buffer:i,_t=t.Symbol,bt=t.Uint8Array,xt=yt?yt.allocUnsafe:i,wt=ur(nt.getPrototypeOf,nt),St=nt.create,kt=lt.propertyIsEnumerable,Ct=at.splice,At=_t?_t.isConcatSpreadable:i,Tt=_t?_t.iterator:i,Et=_t?_t.toStringTag:i,Mt=function(){try{var e=Ua(nt,"defineProperty");return e({},"",{}),e}catch(t){}}(),It=t.clearTimeout!==sn.clearTimeout&&t.clearTimeout,Dt=r&&r.now!==sn.Date.now&&r.now,Rt=t.setTimeout!==sn.setTimeout&&t.setTimeout,Lt=tt.ceil,Ot=tt.floor,Pt=nt.getOwnPropertySymbols,zt=yt?yt.isBuffer:i,Bt=t.isFinite,Nt=at.join,Ft=ur(nt.keys,nt),qt=tt.max,Wt=tt.min,Ht=r.now,jt=t.parseInt,$t=tt.random,Ut=at.reverse,Qt=Ua(t,"DataView"),Jt=Ua(t,"Map"),en=Ua(t,"Promise"),tn=Ua(t,"Set"),on=Ua(t,"WeakMap"),an=Ua(nt,"create"),ln=on&&new on,un={},dn=Rs(Qt),hn=Rs(Jt),Rn=Rs(en),Ln=Rs(tn),Gn=Rs(on),fr=_t?_t.prototype:i,_r=fr?fr.valueOf:i,br=fr?fr.toString:i;function wr(e){if(Cc(e)&&!lc(e)&&!(e instanceof Tr)){if(e instanceof Ar)return e;if(dt.call(e,"__wrapped__"))return Os(e)}return new Ar(e)}var kr=function(){function e(){}return function(t){if(!kc(t))return{};if(St)return St(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Cr(){}function Ar(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Tr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=F,this.__views__=[]}function Er(){var e=new Tr(this.__wrapped__);return e.__actions__=ia(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ia(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ia(this.__views__),e}function Mr(){if(this.__filtered__){var e=new Tr(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Ir(){var e=this.__wrapped__.value(),t=this.__dir__,n=lc(e),r=t<0,i=n?e.length:0,o=Qa(0,i,this.__views__),a=o.start,s=o.end,l=s-a,u=r?s:a-1,c=this.__iteratees__,d=c.length,h=0,f=Wt(l,this.__takeCount__);if(!n||!r&&i==l&&f==l)return Fo(e,this.__actions__);var p=[];e:while(l--&&h<f){u+=t;var v=-1,g=e[u];while(++v<d){var m=c[v],y=m.iteratee,_=m.type,b=y(g);if(_==L)g=b;else if(!b){if(_==R)continue e;break e}}p[h++]=g}return p}function Dr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Rr(){this.__data__=an?an(null):{},this.size=0}function Lr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Or(e){var t=this.__data__;if(an){var n=t[e];return n===c?i:n}return dt.call(t,e)?t[e]:i}function Pr(e){var t=this.__data__;return an?t[e]!==i:dt.call(t,e)}function zr(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=an&&t===i?c:t,this}function Br(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Nr(){this.__data__=[],this.size=0}function Fr(e){var t=this.__data__,n=ci(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ct.call(t,n,1),--this.size,!0}function qr(e){var t=this.__data__,n=ci(t,e);return n<0?i:t[n][1]}function Wr(e){return ci(this.__data__,e)>-1}function Gr(e,t){var n=this.__data__,r=ci(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Vr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Hr(){this.size=0,this.__data__={hash:new Dr,map:new(Jt||Br),string:new Dr}}function jr(e){var t=ja(this,e)["delete"](e);return this.size-=t?1:0,t}function $r(e){return ja(this,e).get(e)}function Ur(e){return ja(this,e).has(e)}function Kr(e,t){var n=ja(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Xr(e){var t=-1,n=null==e?0:e.length;this.__data__=new Vr;while(++t<n)this.add(e[t])}function Yr(e){return this.__data__.set(e,c),this}function Zr(e){return this.__data__.has(e)}function Qr(e){var t=this.__data__=new Br(e);this.size=t.size}function Jr(){this.__data__=new Br,this.size=0}function ei(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}function ti(e){return this.__data__.get(e)}function ni(e){return this.__data__.has(e)}function ri(e,t){var n=this.__data__;if(n instanceof Br){var r=n.__data__;if(!Jt||r.length<a-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Vr(r)}return n.set(e,t),this.size=n.size,this}function ii(e,t){var n=lc(e),r=!n&&sc(e),i=!n&&!r&&fc(e),o=!n&&!r&&!i&&qc(e),a=n||r||i||o,s=a?$n(e.length,it):[],l=s.length;for(var u in e)!t&&!dt.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||as(u,l))||s.push(u);return s}function oi(e){var t=e.length;return t?e[yo(0,t-1)]:i}function ai(e,t){return Ms(ia(e),gi(t,0,e.length))}function si(e){return Ms(ia(e))}function li(e,t,n){(n!==i&&!ic(e[t],n)||n===i&&!(t in e))&&pi(e,t,n)}function ui(e,t,n){var r=e[t];dt.call(e,t)&&ic(r,n)&&(n!==i||t in e)||pi(e,t,n)}function ci(e,t){var n=e.length;while(n--)if(ic(e[n][0],t))return n;return-1}function di(e,t,n,r){return wi(e,(function(e,i,o){t(r,e,n(e),o)})),r}function hi(e,t){return e&&oa(t,wd(t),e)}function fi(e,t){return e&&oa(t,Sd(t),e)}function pi(e,t,n){"__proto__"==t&&Mt?Mt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function vi(e,t){var r=-1,o=t.length,a=n(o),s=null==e;while(++r<o)a[r]=s?i:gd(e,t[r]);return a}function gi(e,t,n){return e===e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function mi(e,t,n,r,o,a){var s,l=t&f,u=t&p,c=t&v;if(n&&(s=o?n(e,r,o,a):n(e)),s!==i)return s;if(!kc(e))return e;var d=lc(e);if(d){if(s=ts(e),!l)return ia(e,s)}else{var h=Za(e),g=h==Y||h==Z;if(fc(e))return Ko(e,l);if(h==te||h==V||g&&!o){if(s=u||g?{}:ns(e),!l)return u?sa(e,fi(s,e)):aa(e,hi(s,e))}else{if(!Zt[h])return o?e:{};s=rs(e,h,l)}}a||(a=new Qr);var m=a.get(e);if(m)return m;a.set(e,s),Bc(e)?e.forEach((function(r){s.add(mi(r,t,n,r,e,a))})):Ac(e)&&e.forEach((function(r,i){s.set(i,mi(r,t,n,i,e,a))}));var y=c?u?qa:Fa:u?Sd:wd,_=d?i:y(e);return xn(_||e,(function(r,i){_&&(i=r,r=e[i]),ui(s,i,mi(r,t,n,i,e,a))})),s}function yi(e){var t=wd(e);return function(n){return _i(n,e,t)}}function _i(e,t,n){var r=n.length;if(null==e)return!r;e=nt(e);while(r--){var o=n[r],a=t[o],s=e[o];if(s===i&&!(o in e)||!a(s))return!1}return!0}function bi(e,t,n){if("function"!=typeof e)throw new ot(l);return Cs((function(){e.apply(i,n)}),t)}function xi(e,t,n,r){var i=-1,o=Cn,s=!0,l=e.length,u=[],c=t.length;if(!l)return u;n&&(t=Tn(t,Xn(n))),r?(o=An,s=!1):t.length>=a&&(o=Zn,s=!1,t=new Xr(t));e:while(++i<l){var d=e[i],h=null==n?d:n(d);if(d=r||0!==d?d:0,s&&h===h){var f=c;while(f--)if(t[f]===h)continue e;u.push(d)}else o(t,h,r)||u.push(d)}return u}wr.templateSettings={escape:Me,evaluate:Ie,interpolate:De,variable:"",imports:{_:wr}},wr.prototype=Cr.prototype,wr.prototype.constructor=wr,Ar.prototype=kr(Cr.prototype),Ar.prototype.constructor=Ar,Tr.prototype=kr(Cr.prototype),Tr.prototype.constructor=Tr,Dr.prototype.clear=Rr,Dr.prototype["delete"]=Lr,Dr.prototype.get=Or,Dr.prototype.has=Pr,Dr.prototype.set=zr,Br.prototype.clear=Nr,Br.prototype["delete"]=Fr,Br.prototype.get=qr,Br.prototype.has=Wr,Br.prototype.set=Gr,Vr.prototype.clear=Hr,Vr.prototype["delete"]=jr,Vr.prototype.get=$r,Vr.prototype.has=Ur,Vr.prototype.set=Kr,Xr.prototype.add=Xr.prototype.push=Yr,Xr.prototype.has=Zr,Qr.prototype.clear=Jr,Qr.prototype["delete"]=ei,Qr.prototype.get=ti,Qr.prototype.has=ni,Qr.prototype.set=ri;var wi=ca(Di),Si=ca(Ri,!0);function ki(e,t){var n=!0;return wi(e,(function(e,r,i){return n=!!t(e,r,i),n})),n}function Ci(e,t,n){var r=-1,o=e.length;while(++r<o){var a=e[r],s=t(a);if(null!=s&&(l===i?s===s&&!Fc(s):n(s,l)))var l=s,u=a}return u}function Ai(e,t,n,r){var o=e.length;n=Kc(n),n<0&&(n=-n>o?0:o+n),r=r===i||r>o?o:Kc(r),r<0&&(r+=o),r=n>r?0:Xc(r);while(n<r)e[n++]=t;return e}function Ti(e,t){var n=[];return wi(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function Ei(e,t,n,r,i){var o=-1,a=e.length;n||(n=os),i||(i=[]);while(++o<a){var s=e[o];t>0&&n(s)?t>1?Ei(s,t-1,n,r,i):En(i,s):r||(i[i.length]=s)}return i}var Mi=da(),Ii=da(!0);function Di(e,t){return e&&Mi(e,t,wd)}function Ri(e,t){return e&&Ii(e,t,wd)}function Li(e,t){return kn(t,(function(t){return xc(e[t])}))}function Oi(e,t){t=Ho(t,e);var n=0,r=t.length;while(null!=e&&n<r)e=e[Ds(t[n++])];return n&&n==r?e:i}function Pi(e,t,n){var r=t(e);return lc(e)?r:En(r,n(e))}function zi(e){return null==e?e===i?le:ee:Et&&Et in nt(e)?Ka(e):_s(e)}function Bi(e,t){return e>t}function Ni(e,t){return null!=e&&dt.call(e,t)}function Fi(e,t){return null!=e&&t in nt(e)}function qi(e,t,n){return e>=Wt(t,n)&&e<qt(t,n)}function Wi(e,t,r){var o=r?An:Cn,a=e[0].length,s=e.length,l=s,u=n(s),c=1/0,d=[];while(l--){var h=e[l];l&&t&&(h=Tn(h,Xn(t))),c=Wt(h.length,c),u[l]=!r&&(t||a>=120&&h.length>=120)?new Xr(l&&h):i}h=e[0];var f=-1,p=u[0];e:while(++f<a&&d.length<c){var v=h[f],g=t?t(v):v;if(v=r||0!==v?v:0,!(p?Zn(p,g):o(d,g,r))){l=s;while(--l){var m=u[l];if(!(m?Zn(m,g):o(e[l],g,r)))continue e}p&&p.push(g),d.push(v)}}return d}function Gi(e,t,n,r){return Di(e,(function(e,i,o){t(r,n(e),i,o)})),r}function Vi(e,t,n){t=Ho(t,e),e=xs(e,t);var r=null==e?e:e[Ds(ol(t))];return null==r?i:_n(r,e,n)}function Hi(e){return Cc(e)&&zi(e)==V}function ji(e){return Cc(e)&&zi(e)==de}function $i(e){return Cc(e)&&zi(e)==U}function Ui(e,t,n,r,i){return e===t||(null==e||null==t||!Cc(e)&&!Cc(t)?e!==e&&t!==t:Ki(e,t,n,r,Ui,i))}function Ki(e,t,n,r,i,o){var a=lc(e),s=lc(t),l=a?H:Za(e),u=s?H:Za(t);l=l==V?te:l,u=u==V?te:u;var c=l==te,d=u==te,h=l==u;if(h&&fc(e)){if(!fc(t))return!1;a=!0,c=!1}if(h&&!c)return o||(o=new Qr),a||qc(e)?Pa(e,t,n,r,i,o):za(e,t,l,n,r,i,o);if(!(n&g)){var f=c&&dt.call(e,"__wrapped__"),p=d&&dt.call(t,"__wrapped__");if(f||p){var v=f?e.value():e,m=p?t.value():t;return o||(o=new Qr),i(v,m,n,r,o)}}return!!h&&(o||(o=new Qr),Ba(e,t,n,r,i,o))}function Xi(e){return Cc(e)&&Za(e)==Q}function Yi(e,t,n,r){var o=n.length,a=o,s=!r;if(null==e)return!a;e=nt(e);while(o--){var l=n[o];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}while(++o<a){l=n[o];var u=l[0],c=e[u],d=l[1];if(s&&l[2]){if(c===i&&!(u in e))return!1}else{var h=new Qr;if(r)var f=r(c,d,u,e,t,h);if(!(f===i?Ui(d,c,g|m,r,h):f))return!1}}return!0}function Zi(e){if(!kc(e)||ds(e))return!1;var t=xc(e)?mt:Xe;return t.test(Rs(e))}function Qi(e){return Cc(e)&&zi(e)==ie}function Ji(e){return Cc(e)&&Za(e)==oe}function eo(e){return Cc(e)&&Sc(e.length)&&!!Yt[zi(e)]}function to(e){return"function"==typeof e?e:null==e?Ih:"object"==typeof e?lc(e)?so(e[0],e[1]):ao(e):Vh(e)}function no(e){if(!fs(e))return Ft(e);var t=[];for(var n in nt(e))dt.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ro(e){if(!kc(e))return ys(e);var t=fs(e),n=[];for(var r in e)("constructor"!=r||!t&&dt.call(e,r))&&n.push(r);return n}function io(e,t){return e<t}function oo(e,t){var r=-1,i=cc(e)?n(e.length):[];return wi(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}function ao(e){var t=$a(e);return 1==t.length&&t[0][2]?vs(t[0][0],t[0][1]):function(n){return n===e||Yi(n,e,t)}}function so(e,t){return ls(e)&&ps(t)?vs(Ds(e),t):function(n){var r=gd(n,e);return r===i&&r===t?yd(n,e):Ui(t,r,g|m)}}function lo(e,t,n,r,o){e!==t&&Mi(t,(function(a,s){if(o||(o=new Qr),kc(a))uo(e,t,s,n,lo,r,o);else{var l=r?r(Ss(e,s),a,s+"",e,t,o):i;l===i&&(l=a),li(e,s,l)}}),Sd)}function uo(e,t,n,r,o,a,s){var l=Ss(e,n),u=Ss(t,n),c=s.get(u);if(c)li(e,n,c);else{var d=a?a(l,u,n+"",e,t,s):i,h=d===i;if(h){var f=lc(u),p=!f&&fc(u),v=!f&&!p&&qc(u);d=u,f||p||v?lc(l)?d=l:dc(l)?d=ia(l):p?(h=!1,d=Ko(u,!0)):v?(h=!1,d=Jo(u,!0)):d=[]:Oc(u)||sc(u)?(d=l,sc(l)?d=Zc(l):kc(l)&&!xc(l)||(d=ns(u))):h=!1}h&&(s.set(u,d),o(d,u,r,a,s),s["delete"](u)),li(e,n,d)}}function co(e,t){var n=e.length;if(n)return t+=t<0?n:0,as(t,n)?e[t]:i}function ho(e,t,n){t=t.length?Tn(t,(function(e){return lc(e)?function(t){return Oi(t,1===e.length?e[0]:e)}:e})):[Ih];var r=-1;t=Tn(t,Xn(Ha()));var i=oo(e,(function(e,n,i){var o=Tn(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return Hn(i,(function(e,t){return ta(e,t,n)}))}function fo(e,t){return po(e,t,(function(t,n){return yd(e,n)}))}function po(e,t,n){var r=-1,i=t.length,o={};while(++r<i){var a=t[r],s=Oi(e,a);n(s,a)&&ko(o,Ho(a,e),s)}return o}function vo(e){return function(t){return Oi(t,e)}}function go(e,t,n,r){var i=r?Nn:Bn,o=-1,a=t.length,s=e;e===t&&(t=ia(t)),n&&(s=Tn(e,Xn(n)));while(++o<a){var l=0,u=t[o],c=n?n(u):u;while((l=i(s,c,l,r))>-1)s!==e&&Ct.call(s,l,1),Ct.call(e,l,1)}return e}function mo(e,t){var n=e?t.length:0,r=n-1;while(n--){var i=t[n];if(n==r||i!==o){var o=i;as(i)?Ct.call(e,i,1):zo(e,i)}}return e}function yo(e,t){return e+Ot($t()*(t-e+1))}function _o(e,t,r,i){var o=-1,a=qt(Lt((t-e)/(r||1)),0),s=n(a);while(a--)s[i?a:++o]=e,e+=r;return s}function bo(e,t){var n="";if(!e||t<1||t>z)return n;do{t%2&&(n+=e),t=Ot(t/2),t&&(e+=e)}while(t);return n}function xo(e,t){return As(bs(e,t,Ih),e+"")}function wo(e){return oi(Wd(e))}function So(e,t){var n=Wd(e);return Ms(n,gi(t,0,n.length))}function ko(e,t,n,r){if(!kc(e))return e;t=Ho(t,e);var o=-1,a=t.length,s=a-1,l=e;while(null!=l&&++o<a){var u=Ds(t[o]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(o!=s){var d=l[u];c=r?r(d,u,l):i,c===i&&(c=kc(d)?d:as(t[o+1])?[]:{})}ui(l,u,c),l=l[u]}return e}var Co=ln?function(e,t){return ln.set(e,t),e}:Ih,Ao=Mt?function(e,t){return Mt(e,"toString",{configurable:!0,enumerable:!1,value:Ah(t),writable:!0})}:Ih;function To(e){return Ms(Wd(e))}function Eo(e,t,r){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;var a=n(o);while(++i<o)a[i]=e[i+t];return a}function Mo(e,t){var n;return wi(e,(function(e,r,i){return n=t(e,r,i),!n})),!!n}function Io(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t===t&&i<=W){while(r<i){var o=r+i>>>1,a=e[o];null!==a&&!Fc(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return Do(e,t,Ih,n)}function Do(e,t,n,r){var o=0,a=null==e?0:e.length;if(0===a)return 0;t=n(t);var s=t!==t,l=null===t,u=Fc(t),c=t===i;while(o<a){var d=Ot((o+a)/2),h=n(e[d]),f=h!==i,p=null===h,v=h===h,g=Fc(h);if(s)var m=r||v;else m=c?v&&(r||f):l?v&&f&&(r||!p):u?v&&f&&!p&&(r||!g):!p&&!g&&(r?h<=t:h<t);m?o=d+1:a=d}return Wt(a,q)}function Ro(e,t){var n=-1,r=e.length,i=0,o=[];while(++n<r){var a=e[n],s=t?t(a):a;if(!n||!ic(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function Lo(e){return"number"==typeof e?e:Fc(e)?N:+e}function Oo(e){if("string"==typeof e)return e;if(lc(e))return Tn(e,Oo)+"";if(Fc(e))return br?br.call(e):"";var t=e+"";return"0"==t&&1/e==-P?"-0":t}function Po(e,t,n){var r=-1,i=Cn,o=e.length,s=!0,l=[],u=l;if(n)s=!1,i=An;else if(o>=a){var c=t?null:Ma(e);if(c)return dr(c);s=!1,i=Zn,u=new Xr}else u=t?[]:l;e:while(++r<o){var d=e[r],h=t?t(d):d;if(d=n||0!==d?d:0,s&&h===h){var f=u.length;while(f--)if(u[f]===h)continue e;t&&u.push(h),l.push(d)}else i(u,h,n)||(u!==l&&u.push(h),l.push(d))}return l}function zo(e,t){return t=Ho(t,e),e=xs(e,t),null==e||delete e[Ds(ol(t))]}function Bo(e,t,n,r){return ko(e,t,n(Oi(e,t)),r)}function No(e,t,n,r){var i=e.length,o=r?i:-1;while((r?o--:++o<i)&&t(e[o],o,e));return n?Eo(e,r?0:o,r?o+1:i):Eo(e,r?o+1:0,r?i:o)}function Fo(e,t){var n=e;return n instanceof Tr&&(n=n.value()),Mn(t,(function(e,t){return t.func.apply(t.thisArg,En([e],t.args))}),n)}function qo(e,t,r){var i=e.length;if(i<2)return i?Po(e[0]):[];var o=-1,a=n(i);while(++o<i){var s=e[o],l=-1;while(++l<i)l!=o&&(a[o]=xi(a[o]||s,e[l],t,r))}return Po(Ei(a,1),t,r)}function Wo(e,t,n){var r=-1,o=e.length,a=t.length,s={};while(++r<o){var l=r<a?t[r]:i;n(s,e[r],l)}return s}function Go(e){return dc(e)?e:[]}function Vo(e){return"function"==typeof e?e:Ih}function Ho(e,t){return lc(e)?e:ls(e,t)?[e]:Is(Jc(e))}var jo=xo;function $o(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:Eo(e,t,n)}var Uo=It||function(e){return sn.clearTimeout(e)};function Ko(e,t){if(t)return e.slice();var n=e.length,r=xt?xt(n):new e.constructor(n);return e.copy(r),r}function Xo(e){var t=new e.constructor(e.byteLength);return new bt(t).set(new bt(e)),t}function Yo(e,t){var n=t?Xo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Zo(e){var t=new e.constructor(e.source,$e.exec(e));return t.lastIndex=e.lastIndex,t}function Qo(e){return _r?nt(_r.call(e)):{}}function Jo(e,t){var n=t?Xo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ea(e,t){if(e!==t){var n=e!==i,r=null===e,o=e===e,a=Fc(e),s=t!==i,l=null===t,u=t===t,c=Fc(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!o)return 1;if(!r&&!a&&!c&&e<t||c&&n&&o&&!r&&!a||l&&n&&o||!s&&o||!u)return-1}return 0}function ta(e,t,n){var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;while(++r<a){var l=ea(i[r],o[r]);if(l){if(r>=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}function na(e,t,r,i){var o=-1,a=e.length,s=r.length,l=-1,u=t.length,c=qt(a-s,0),d=n(u+c),h=!i;while(++l<u)d[l]=t[l];while(++o<s)(h||o<a)&&(d[r[o]]=e[o]);while(c--)d[l++]=e[o++];return d}function ra(e,t,r,i){var o=-1,a=e.length,s=-1,l=r.length,u=-1,c=t.length,d=qt(a-l,0),h=n(d+c),f=!i;while(++o<d)h[o]=e[o];var p=o;while(++u<c)h[p+u]=t[u];while(++s<l)(f||o<a)&&(h[p+r[s]]=e[o++]);return h}function ia(e,t){var r=-1,i=e.length;t||(t=n(i));while(++r<i)t[r]=e[r];return t}function oa(e,t,n,r){var o=!n;n||(n={});var a=-1,s=t.length;while(++a<s){var l=t[a],u=r?r(n[l],e[l],l,n,e):i;u===i&&(u=e[l]),o?pi(n,l,u):ui(n,l,u)}return n}function aa(e,t){return oa(e,Xa(e),t)}function sa(e,t){return oa(e,Ya(e),t)}function la(e,t){return function(n,r){var i=lc(n)?bn:di,o=t?t():{};return i(n,e,Ha(r,2),o)}}function ua(e){return xo((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:i,s=o>2?n[2]:i;a=e.length>3&&"function"==typeof a?(o--,a):i,s&&ss(n[0],n[1],s)&&(a=o<3?i:a,o=1),t=nt(t);while(++r<o){var l=n[r];l&&e(t,l,r,a)}return t}))}function ca(e,t){return function(n,r){if(null==n)return n;if(!cc(n))return e(n,r);var i=n.length,o=t?i:-1,a=nt(n);while(t?o--:++o<i)if(!1===r(a[o],o,a))break;return n}}function da(e){return function(t,n,r){var i=-1,o=nt(t),a=r(t),s=a.length;while(s--){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function ha(e,t,n){var r=t&y,i=va(e);function o(){var t=this&&this!==sn&&this instanceof o?i:e;return t.apply(r?n:this,arguments)}return o}function fa(e){return function(t){t=Jc(t);var n=or(t)?gr(t):i,r=n?n[0]:t.charAt(0),o=n?$o(n,1).join(""):t.slice(1);return r[e]()+o}}function pa(e){return function(t){return Mn(xh(Kd(t).replace(Gt,"")),e,"")}}function va(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=kr(e.prototype),r=e.apply(n,t);return kc(r)?r:n}}function ga(e,t,r){var o=va(e);function a(){var s=arguments.length,l=n(s),u=s,c=Va(a);while(u--)l[u]=arguments[u];var d=s<3&&l[0]!==c&&l[s-1]!==c?[]:cr(l,c);if(s-=d.length,s<r)return Ta(e,t,_a,a.placeholder,i,l,d,i,i,r-s);var h=this&&this!==sn&&this instanceof a?o:e;return _n(h,this,l)}return a}function ma(e){return function(t,n,r){var o=nt(t);if(!cc(t)){var a=Ha(n,3);t=wd(t),n=function(e){return a(o[e],e,o)}}var s=e(t,n,r);return s>-1?o[a?t[s]:s]:i}}function ya(e){return Na((function(t){var n=t.length,r=n,o=Ar.prototype.thru;e&&t.reverse();while(r--){var a=t[r];if("function"!=typeof a)throw new ot(l);if(o&&!s&&"wrapper"==Ga(a))var s=new Ar([],!0)}r=s?r:n;while(++r<n){a=t[r];var u=Ga(a),c="wrapper"==u?Wa(a):i;s=c&&cs(c[0])&&c[1]==(C|x|S|A)&&!c[4].length&&1==c[9]?s[Ga(c[0])].apply(s,c[3]):1==a.length&&cs(a)?s[u]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&lc(r))return s.plant(r).value();var i=0,o=n?t[i].apply(this,e):r;while(++i<n)o=t[i].call(this,o);return o}}))}function _a(e,t,r,o,a,s,l,u,c,d){var h=t&C,f=t&y,p=t&_,v=t&(x|w),g=t&T,m=p?i:va(e);function b(){var i=arguments.length,y=n(i),_=i;while(_--)y[_]=arguments[_];if(v)var x=Va(b),w=er(y,x);if(o&&(y=na(y,o,a,v)),s&&(y=ra(y,s,l,v)),i-=w,v&&i<d){var S=cr(y,x);return Ta(e,t,_a,b.placeholder,r,y,S,u,c,d-i)}var k=f?r:this,C=p?k[e]:e;return i=y.length,u?y=ws(y,u):g&&i>1&&y.reverse(),h&&c<i&&(y.length=c),this&&this!==sn&&this instanceof b&&(C=m||va(C)),C.apply(k,y)}return b}function ba(e,t){return function(n,r){return Gi(n,e,t(r),{})}}function xa(e,t){return function(n,r){var o;if(n===i&&r===i)return t;if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=Oo(n),r=Oo(r)):(n=Lo(n),r=Lo(r)),o=e(n,r)}return o}}function wa(e){return Na((function(t){return t=Tn(t,Xn(Ha())),xo((function(n){var r=this;return e(t,(function(e){return _n(e,r,n)}))}))}))}function Sa(e,t){t=t===i?" ":Oo(t);var n=t.length;if(n<2)return n?bo(t,e):t;var r=bo(t,Lt(e/vr(t)));return or(t)?$o(gr(r),0,e).join(""):r.slice(0,e)}function ka(e,t,r,i){var o=t&y,a=va(e);function s(){var t=-1,l=arguments.length,u=-1,c=i.length,d=n(c+l),h=this&&this!==sn&&this instanceof s?a:e;while(++u<c)d[u]=i[u];while(l--)d[u++]=arguments[++t];return _n(h,o?r:this,d)}return s}function Ca(e){return function(t,n,r){return r&&"number"!=typeof r&&ss(t,n,r)&&(n=r=i),t=Uc(t),n===i?(n=t,t=0):n=Uc(n),r=r===i?t<n?1:-1:Uc(r),_o(t,n,r,e)}}function Aa(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Yc(t),n=Yc(n)),e(t,n)}}function Ta(e,t,n,r,o,a,s,l,u,c){var d=t&x,h=d?s:i,f=d?i:s,p=d?a:i,v=d?i:a;t|=d?S:k,t&=~(d?k:S),t&b||(t&=~(y|_));var g=[e,t,o,p,h,v,f,l,u,c],m=n.apply(i,g);return cs(e)&&ks(m,g),m.placeholder=r,Ts(m,e,t)}function Ea(e){var t=tt[e];return function(e,n){if(e=Yc(e),n=null==n?0:Wt(Kc(n),292),n&&Bt(e)){var r=(Jc(e)+"e").split("e"),i=t(r[0]+"e"+(+r[1]+n));return r=(Jc(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}var Ma=tn&&1/dr(new tn([,-0]))[1]==P?function(e){return new tn(e)}:Nh;function Ia(e){return function(t){var n=Za(t);return n==Q?lr(t):n==oe?hr(t):Un(t,e(t))}}function Da(e,t,n,r,o,a,s,u){var c=t&_;if(!c&&"function"!=typeof e)throw new ot(l);var d=r?r.length:0;if(d||(t&=~(S|k),r=o=i),s=s===i?s:qt(Kc(s),0),u=u===i?u:Kc(u),d-=o?o.length:0,t&k){var h=r,f=o;r=o=i}var p=c?i:Wa(e),v=[e,t,n,r,o,h,f,a,s,u];if(p&&ms(v,p),e=v[0],t=v[1],n=v[2],r=v[3],o=v[4],u=v[9]=v[9]===i?c?0:e.length:qt(v[9]-d,0),!u&&t&(x|w)&&(t&=~(x|w)),t&&t!=y)g=t==x||t==w?ga(e,t,u):t!=S&&t!=(y|S)||o.length?_a.apply(i,v):ka(e,t,n,r);else var g=ha(e,t,n);var m=p?Co:ks;return Ts(m(g,v),e,t)}function Ra(e,t,n,r){return e===i||ic(e,lt[n])&&!dt.call(r,n)?t:e}function La(e,t,n,r,o,a){return kc(e)&&kc(t)&&(a.set(t,e),lo(e,t,i,La,a),a["delete"](t)),e}function Oa(e){return Oc(e)?i:e}function Pa(e,t,n,r,o,a){var s=n&g,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var h=-1,f=!0,p=n&m?new Xr:i;a.set(e,t),a.set(t,e);while(++h<l){var v=e[h],y=t[h];if(r)var _=s?r(y,v,h,t,e,a):r(v,y,h,e,t,a);if(_!==i){if(_)continue;f=!1;break}if(p){if(!Dn(t,(function(e,t){if(!Zn(p,t)&&(v===e||o(v,e,n,r,a)))return p.push(t)}))){f=!1;break}}else if(v!==y&&!o(v,y,n,r,a)){f=!1;break}}return a["delete"](e),a["delete"](t),f}function za(e,t,n,r,i,o,a){switch(n){case he:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case de:return!(e.byteLength!=t.byteLength||!o(new bt(e),new bt(t)));case $:case U:case J:return ic(+e,+t);case X:return e.name==t.name&&e.message==t.message;case ie:case ae:return e==t+"";case Q:var s=lr;case oe:var l=r&g;if(s||(s=dr),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;r|=m,a.set(e,t);var c=Pa(s(e),s(t),r,i,o,a);return a["delete"](e),c;case se:if(_r)return _r.call(e)==_r.call(t)}return!1}function Ba(e,t,n,r,o,a){var s=n&g,l=Fa(e),u=l.length,c=Fa(t),d=c.length;if(u!=d&&!s)return!1;var h=u;while(h--){var f=l[h];if(!(s?f in t:dt.call(t,f)))return!1}var p=a.get(e),v=a.get(t);if(p&&v)return p==t&&v==e;var m=!0;a.set(e,t),a.set(t,e);var y=s;while(++h<u){f=l[h];var _=e[f],b=t[f];if(r)var x=s?r(b,_,f,t,e,a):r(_,b,f,e,t,a);if(!(x===i?_===b||o(_,b,n,r,a):x)){m=!1;break}y||(y="constructor"==f)}if(m&&!y){var w=e.constructor,S=t.constructor;w==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(m=!1)}return a["delete"](e),a["delete"](t),m}function Na(e){return As(bs(e,i,Ks),e+"")}function Fa(e){return Pi(e,wd,Xa)}function qa(e){return Pi(e,Sd,Ya)}var Wa=ln?function(e){return ln.get(e)}:Nh;function Ga(e){var t=e.name+"",n=un[t],r=dt.call(un,t)?n.length:0;while(r--){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Va(e){var t=dt.call(wr,"placeholder")?wr:e;return t.placeholder}function Ha(){var e=wr.iteratee||Dh;return e=e===Dh?to:e,arguments.length?e(arguments[0],arguments[1]):e}function ja(e,t){var n=e.__data__;return us(t)?n["string"==typeof t?"string":"hash"]:n.map}function $a(e){var t=wd(e),n=t.length;while(n--){var r=t[n],i=e[r];t[n]=[r,i,ps(i)]}return t}function Ua(e,t){var n=ir(e,t);return Zi(n)?n:i}function Ka(e){var t=dt.call(e,Et),n=e[Et];try{e[Et]=i;var r=!0}catch(a){}var o=pt.call(e);return r&&(t?e[Et]=n:delete e[Et]),o}var Xa=Pt?function(e){return null==e?[]:(e=nt(e),kn(Pt(e),(function(t){return kt.call(e,t)})))}:Uh,Ya=Pt?function(e){var t=[];while(e)En(t,Xa(e)),e=wt(e);return t}:Uh,Za=zi;function Qa(e,t,n){var r=-1,i=n.length;while(++r<i){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Wt(t,e+a);break;case"takeRight":e=qt(e,t-a);break}}return{start:e,end:t}}function Ja(e){var t=e.match(qe);return t?t[1].split(We):[]}function es(e,t,n){t=Ho(t,e);var r=-1,i=t.length,o=!1;while(++r<i){var a=Ds(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:(i=null==e?0:e.length,!!i&&Sc(i)&&as(a,i)&&(lc(e)||sc(e)))}function ts(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&dt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function ns(e){return"function"!=typeof e.constructor||fs(e)?{}:kr(wt(e))}function rs(e,t,n){var r=e.constructor;switch(t){case de:return Xo(e);case $:case U:return new r(+e);case he:return Yo(e,n);case fe:case pe:case ve:case ge:case me:case ye:case _e:case be:case xe:return Jo(e,n);case Q:return new r;case J:case ae:return new r(e);case ie:return Zo(e);case oe:return new r;case se:return Qo(e)}}function is(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Fe,"{\n/* [wrapped with "+t+"] */\n")}function os(e){return lc(e)||sc(e)||!!(At&&e&&e[At])}function as(e,t){var n=typeof e;return t=null==t?z:t,!!t&&("number"==n||"symbol"!=n&&Ze.test(e))&&e>-1&&e%1==0&&e<t}function ss(e,t,n){if(!kc(n))return!1;var r=typeof t;return!!("number"==r?cc(n)&&as(t,n.length):"string"==r&&t in n)&&ic(n[t],e)}function ls(e,t){if(lc(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Fc(e))||(Le.test(e)||!Re.test(e)||null!=t&&e in nt(t))}function us(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function cs(e){var t=Ga(e),n=wr[t];if("function"!=typeof n||!(t in Tr.prototype))return!1;if(e===n)return!0;var r=Wa(n);return!!r&&e===r[0]}function ds(e){return!!ft&&ft in e}(Qt&&Za(new Qt(new ArrayBuffer(1)))!=he||Jt&&Za(new Jt)!=Q||en&&Za(en.resolve())!=ne||tn&&Za(new tn)!=oe||on&&Za(new on)!=ue)&&(Za=function(e){var t=zi(e),n=t==te?e.constructor:i,r=n?Rs(n):"";if(r)switch(r){case dn:return he;case hn:return Q;case Rn:return ne;case Ln:return oe;case Gn:return ue}return t});var hs=ut?xc:Kh;function fs(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||lt;return e===n}function ps(e){return e===e&&!kc(e)}function vs(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==i||e in nt(n)))}}function gs(e){var t=qu(e,(function(e){return n.size===d&&n.clear(),e})),n=t.cache;return t}function ms(e,t){var n=e[1],r=t[1],i=n|r,o=i<(y|_|C),a=r==C&&n==x||r==C&&n==A&&e[7].length<=t[8]||r==(C|A)&&t[7].length<=t[8]&&n==x;if(!o&&!a)return e;r&y&&(e[2]=t[2],i|=n&y?0:b);var s=t[3];if(s){var l=e[3];e[3]=l?na(l,s,t[4]):s,e[4]=l?cr(e[3],h):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?ra(l,s,t[6]):s,e[6]=l?cr(e[5],h):t[6]),s=t[7],s&&(e[7]=s),r&C&&(e[8]=null==e[8]?t[8]:Wt(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function ys(e){var t=[];if(null!=e)for(var n in nt(e))t.push(n);return t}function _s(e){return pt.call(e)}function bs(e,t,r){return t=qt(t===i?e.length-1:t,0),function(){var i=arguments,o=-1,a=qt(i.length-t,0),s=n(a);while(++o<a)s[o]=i[t+o];o=-1;var l=n(t+1);while(++o<t)l[o]=i[o];return l[t]=r(s),_n(e,this,l)}}function xs(e,t){return t.length<2?e:Oi(e,Eo(t,0,-1))}function ws(e,t){var n=e.length,r=Wt(t.length,n),o=ia(e);while(r--){var a=t[r];e[r]=as(a,n)?o[a]:i}return e}function Ss(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var ks=Es(Co),Cs=Rt||function(e,t){return sn.setTimeout(e,t)},As=Es(Ao);function Ts(e,t,n){var r=t+"";return As(e,is(r,Ls(Ja(r),n)))}function Es(e){var t=0,n=0;return function(){var r=Ht(),o=D-(r-n);if(n=r,o>0){if(++t>=I)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ms(e,t){var n=-1,r=e.length,o=r-1;t=t===i?r:t;while(++n<t){var a=yo(n,o),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Is=gs((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Oe,(function(e,n,r,i){t.push(r?i.replace(He,"$1"):n||e)})),t}));function Ds(e){if("string"==typeof e||Fc(e))return e;var t=e+"";return"0"==t&&1/e==-P?"-0":t}function Rs(e){if(null!=e){try{return ct.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Ls(e,t){return xn(G,(function(n){var r="_."+n[0];t&n[1]&&!Cn(e,r)&&e.push(r)})),e.sort()}function Os(e){if(e instanceof Tr)return e.clone();var t=new Ar(e.__wrapped__,e.__chain__);return t.__actions__=ia(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Ps(e,t,r){t=(r?ss(e,t,r):t===i)?1:qt(Kc(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];var a=0,s=0,l=n(Lt(o/t));while(a<o)l[s++]=Eo(e,a,a+=t);return l}function zs(e){var t=-1,n=null==e?0:e.length,r=0,i=[];while(++t<n){var o=e[t];o&&(i[r++]=o)}return i}function Bs(){var e=arguments.length;if(!e)return[];var t=n(e-1),r=arguments[0],i=e;while(i--)t[i-1]=arguments[i];return En(lc(r)?ia(r):[r],Ei(t,1))}var Ns=xo((function(e,t){return dc(e)?xi(e,Ei(t,1,dc,!0)):[]})),Fs=xo((function(e,t){var n=ol(t);return dc(n)&&(n=i),dc(e)?xi(e,Ei(t,1,dc,!0),Ha(n,2)):[]})),qs=xo((function(e,t){var n=ol(t);return dc(n)&&(n=i),dc(e)?xi(e,Ei(t,1,dc,!0),i,n):[]}));function Ws(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===i?1:Kc(t),Eo(e,t<0?0:t,r)):[]}function Gs(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===i?1:Kc(t),t=r-t,Eo(e,0,t<0?0:t)):[]}function Vs(e,t){return e&&e.length?No(e,Ha(t,3),!0,!0):[]}function Hs(e,t){return e&&e.length?No(e,Ha(t,3),!0):[]}function js(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&ss(e,t,n)&&(n=0,r=i),Ai(e,t,n,r)):[]}function $s(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Kc(n);return i<0&&(i=qt(r+i,0)),zn(e,Ha(t,3),i)}function Us(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==i&&(o=Kc(n),o=n<0?qt(r+o,0):Wt(o,r-1)),zn(e,Ha(t,3),o,!0)}function Ks(e){var t=null==e?0:e.length;return t?Ei(e,1):[]}function Xs(e){var t=null==e?0:e.length;return t?Ei(e,P):[]}function Ys(e,t){var n=null==e?0:e.length;return n?(t=t===i?1:Kc(t),Ei(e,t)):[]}function Zs(e){var t=-1,n=null==e?0:e.length,r={};while(++t<n){var i=e[t];r[i[0]]=i[1]}return r}function Qs(e){return e&&e.length?e[0]:i}function Js(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Kc(n);return i<0&&(i=qt(r+i,0)),Bn(e,t,i)}function el(e){var t=null==e?0:e.length;return t?Eo(e,0,-1):[]}var tl=xo((function(e){var t=Tn(e,Go);return t.length&&t[0]===e[0]?Wi(t):[]})),nl=xo((function(e){var t=ol(e),n=Tn(e,Go);return t===ol(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Wi(n,Ha(t,2)):[]})),rl=xo((function(e){var t=ol(e),n=Tn(e,Go);return t="function"==typeof t?t:i,t&&n.pop(),n.length&&n[0]===e[0]?Wi(n,i,t):[]}));function il(e,t){return null==e?"":Nt.call(e,t)}function ol(e){var t=null==e?0:e.length;return t?e[t-1]:i}function al(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=Kc(n),o=o<0?qt(r+o,0):Wt(o,r-1)),t===t?pr(e,t,o):zn(e,Fn,o,!0)}function sl(e,t){return e&&e.length?co(e,Kc(t)):i}var ll=xo(ul);function ul(e,t){return e&&e.length&&t&&t.length?go(e,t):e}function cl(e,t,n){return e&&e.length&&t&&t.length?go(e,t,Ha(n,2)):e}function dl(e,t,n){return e&&e.length&&t&&t.length?go(e,t,i,n):e}var hl=Na((function(e,t){var n=null==e?0:e.length,r=vi(e,t);return mo(e,Tn(t,(function(e){return as(e,n)?+e:e})).sort(ea)),r}));function fl(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;t=Ha(t,3);while(++r<o){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return mo(e,i),n}function pl(e){return null==e?e:Ut.call(e)}function vl(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ss(e,t,n)?(t=0,n=r):(t=null==t?0:Kc(t),n=n===i?r:Kc(n)),Eo(e,t,n)):[]}function gl(e,t){return Io(e,t)}function ml(e,t,n){return Do(e,t,Ha(n,2))}function yl(e,t){var n=null==e?0:e.length;if(n){var r=Io(e,t);if(r<n&&ic(e[r],t))return r}return-1}function _l(e,t){return Io(e,t,!0)}function bl(e,t,n){return Do(e,t,Ha(n,2),!0)}function xl(e,t){var n=null==e?0:e.length;if(n){var r=Io(e,t,!0)-1;if(ic(e[r],t))return r}return-1}function wl(e){return e&&e.length?Ro(e):[]}function Sl(e,t){return e&&e.length?Ro(e,Ha(t,2)):[]}function kl(e){var t=null==e?0:e.length;return t?Eo(e,1,t):[]}function Cl(e,t,n){return e&&e.length?(t=n||t===i?1:Kc(t),Eo(e,0,t<0?0:t)):[]}function Al(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===i?1:Kc(t),t=r-t,Eo(e,t<0?0:t,r)):[]}function Tl(e,t){return e&&e.length?No(e,Ha(t,3),!1,!0):[]}function El(e,t){return e&&e.length?No(e,Ha(t,3)):[]}var Ml=xo((function(e){return Po(Ei(e,1,dc,!0))})),Il=xo((function(e){var t=ol(e);return dc(t)&&(t=i),Po(Ei(e,1,dc,!0),Ha(t,2))})),Dl=xo((function(e){var t=ol(e);return t="function"==typeof t?t:i,Po(Ei(e,1,dc,!0),i,t)}));function Rl(e){return e&&e.length?Po(e):[]}function Ll(e,t){return e&&e.length?Po(e,Ha(t,2)):[]}function Ol(e,t){return t="function"==typeof t?t:i,e&&e.length?Po(e,i,t):[]}function Pl(e){if(!e||!e.length)return[];var t=0;return e=kn(e,(function(e){if(dc(e))return t=qt(e.length,t),!0})),$n(t,(function(t){return Tn(e,Wn(t))}))}function zl(e,t){if(!e||!e.length)return[];var n=Pl(e);return null==t?n:Tn(n,(function(e){return _n(t,i,e)}))}var Bl=xo((function(e,t){return dc(e)?xi(e,t):[]})),Nl=xo((function(e){return qo(kn(e,dc))})),Fl=xo((function(e){var t=ol(e);return dc(t)&&(t=i),qo(kn(e,dc),Ha(t,2))})),ql=xo((function(e){var t=ol(e);return t="function"==typeof t?t:i,qo(kn(e,dc),i,t)})),Wl=xo(Pl);function Gl(e,t){return Wo(e||[],t||[],ui)}function Vl(e,t){return Wo(e||[],t||[],ko)}var Hl=xo((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,zl(e,n)}));function jl(e){var t=wr(e);return t.__chain__=!0,t}function $l(e,t){return t(e),e}function Ul(e,t){return t(e)}var Kl=Na((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return vi(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Tr&&as(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Ul,args:[o],thisArg:i}),new Ar(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(o)}));function Xl(){return jl(this)}function Yl(){return new Ar(this.value(),this.__chain__)}function Zl(){this.__values__===i&&(this.__values__=$c(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function Ql(){return this}function Jl(e){var t,n=this;while(n instanceof Cr){var r=Os(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t}function eu(){var e=this.__wrapped__;if(e instanceof Tr){var t=e;return this.__actions__.length&&(t=new Tr(this)),t=t.reverse(),t.__actions__.push({func:Ul,args:[pl],thisArg:i}),new Ar(t,this.__chain__)}return this.thru(pl)}function tu(){return Fo(this.__wrapped__,this.__actions__)}var nu=la((function(e,t,n){dt.call(e,n)?++e[n]:pi(e,n,1)}));function ru(e,t,n){var r=lc(e)?Sn:ki;return n&&ss(e,t,n)&&(t=i),r(e,Ha(t,3))}function iu(e,t){var n=lc(e)?kn:Ti;return n(e,Ha(t,3))}var ou=ma($s),au=ma(Us);function su(e,t){return Ei(gu(e,t),1)}function lu(e,t){return Ei(gu(e,t),P)}function uu(e,t,n){return n=n===i?1:Kc(n),Ei(gu(e,t),n)}function cu(e,t){var n=lc(e)?xn:wi;return n(e,Ha(t,3))}function du(e,t){var n=lc(e)?wn:Si;return n(e,Ha(t,3))}var hu=la((function(e,t,n){dt.call(e,n)?e[n].push(t):pi(e,n,[t])}));function fu(e,t,n,r){e=cc(e)?e:Wd(e),n=n&&!r?Kc(n):0;var i=e.length;return n<0&&(n=qt(i+n,0)),Nc(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Bn(e,t,n)>-1}var pu=xo((function(e,t,r){var i=-1,o="function"==typeof t,a=cc(e)?n(e.length):[];return wi(e,(function(e){a[++i]=o?_n(t,e,r):Vi(e,t,r)})),a})),vu=la((function(e,t,n){pi(e,n,t)}));function gu(e,t){var n=lc(e)?Tn:oo;return n(e,Ha(t,3))}function mu(e,t,n,r){return null==e?[]:(lc(t)||(t=null==t?[]:[t]),n=r?i:n,lc(n)||(n=null==n?[]:[n]),ho(e,t,n))}var yu=la((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function _u(e,t,n){var r=lc(e)?Mn:Vn,i=arguments.length<3;return r(e,Ha(t,4),n,i,wi)}function bu(e,t,n){var r=lc(e)?In:Vn,i=arguments.length<3;return r(e,Ha(t,4),n,i,Si)}function xu(e,t){var n=lc(e)?kn:Ti;return n(e,Wu(Ha(t,3)))}function wu(e){var t=lc(e)?oi:wo;return t(e)}function Su(e,t,n){t=(n?ss(e,t,n):t===i)?1:Kc(t);var r=lc(e)?ai:So;return r(e,t)}function ku(e){var t=lc(e)?si:To;return t(e)}function Cu(e){if(null==e)return 0;if(cc(e))return Nc(e)?vr(e):e.length;var t=Za(e);return t==Q||t==oe?e.size:no(e).length}function Au(e,t,n){var r=lc(e)?Dn:Mo;return n&&ss(e,t,n)&&(t=i),r(e,Ha(t,3))}var Tu=xo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ss(e,t[0],t[1])?t=[]:n>2&&ss(t[0],t[1],t[2])&&(t=[t[0]]),ho(e,Ei(t,1),[])})),Eu=Dt||function(){return sn.Date.now()};function Mu(e,t){if("function"!=typeof t)throw new ot(l);return e=Kc(e),function(){if(--e<1)return t.apply(this,arguments)}}function Iu(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Da(e,C,i,i,i,i,t)}function Du(e,t){var n;if("function"!=typeof t)throw new ot(l);return e=Kc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Ru=xo((function(e,t,n){var r=y;if(n.length){var i=cr(n,Va(Ru));r|=S}return Da(e,r,t,n,i)})),Lu=xo((function(e,t,n){var r=y|_;if(n.length){var i=cr(n,Va(Lu));r|=S}return Da(t,r,e,n,i)}));function Ou(e,t,n){t=n?i:t;var r=Da(e,x,i,i,i,i,i,t);return r.placeholder=Ou.placeholder,r}function Pu(e,t,n){t=n?i:t;var r=Da(e,w,i,i,i,i,i,t);return r.placeholder=Pu.placeholder,r}function zu(e,t,n){var r,o,a,s,u,c,d=0,h=!1,f=!1,p=!0;if("function"!=typeof e)throw new ot(l);function v(t){var n=r,a=o;return r=o=i,d=t,s=e.apply(a,n),s}function g(e){return d=e,u=Cs(_,t),h?v(e):s}function m(e){var n=e-c,r=e-d,i=t-n;return f?Wt(i,a-r):i}function y(e){var n=e-c,r=e-d;return c===i||n>=t||n<0||f&&r>=a}function _(){var e=Eu();if(y(e))return b(e);u=Cs(_,m(e))}function b(e){return u=i,p&&r?v(e):(r=o=i,s)}function x(){u!==i&&Uo(u),d=0,r=c=o=u=i}function w(){return u===i?s:b(Eu())}function S(){var e=Eu(),n=y(e);if(r=arguments,o=this,c=e,n){if(u===i)return g(c);if(f)return Uo(u),u=Cs(_,t),v(c)}return u===i&&(u=Cs(_,t)),s}return t=Yc(t)||0,kc(n)&&(h=!!n.leading,f="maxWait"in n,a=f?qt(Yc(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),S.cancel=x,S.flush=w,S}var Bu=xo((function(e,t){return bi(e,1,t)})),Nu=xo((function(e,t,n){return bi(e,Yc(t)||0,n)}));function Fu(e){return Da(e,T)}function qu(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ot(l);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(qu.Cache||Vr),n}function Wu(e){if("function"!=typeof e)throw new ot(l);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Gu(e){return Du(2,e)}qu.Cache=Vr;var Vu=jo((function(e,t){t=1==t.length&&lc(t[0])?Tn(t[0],Xn(Ha())):Tn(Ei(t,1),Xn(Ha()));var n=t.length;return xo((function(r){var i=-1,o=Wt(r.length,n);while(++i<o)r[i]=t[i].call(this,r[i]);return _n(e,this,r)}))})),Hu=xo((function(e,t){var n=cr(t,Va(Hu));return Da(e,S,i,t,n)})),ju=xo((function(e,t){var n=cr(t,Va(ju));return Da(e,k,i,t,n)})),$u=Na((function(e,t){return Da(e,A,i,i,i,t)}));function Uu(e,t){if("function"!=typeof e)throw new ot(l);return t=t===i?t:Kc(t),xo(e,t)}function Ku(e,t){if("function"!=typeof e)throw new ot(l);return t=null==t?0:qt(Kc(t),0),xo((function(n){var r=n[t],i=$o(n,0,t);return r&&En(i,r),_n(e,this,i)}))}function Xu(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ot(l);return kc(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),zu(e,t,{leading:r,maxWait:t,trailing:i})}function Yu(e){return Iu(e,1)}function Zu(e,t){return Hu(Vo(t),e)}function Qu(){if(!arguments.length)return[];var e=arguments[0];return lc(e)?e:[e]}function Ju(e){return mi(e,v)}function ec(e,t){return t="function"==typeof t?t:i,mi(e,v,t)}function tc(e){return mi(e,f|v)}function nc(e,t){return t="function"==typeof t?t:i,mi(e,f|v,t)}function rc(e,t){return null==t||_i(e,t,wd(t))}function ic(e,t){return e===t||e!==e&&t!==t}var oc=Aa(Bi),ac=Aa((function(e,t){return e>=t})),sc=Hi(function(){return arguments}())?Hi:function(e){return Cc(e)&&dt.call(e,"callee")&&!kt.call(e,"callee")},lc=n.isArray,uc=fn?Xn(fn):ji;function cc(e){return null!=e&&Sc(e.length)&&!xc(e)}function dc(e){return Cc(e)&&cc(e)}function hc(e){return!0===e||!1===e||Cc(e)&&zi(e)==$}var fc=zt||Kh,pc=pn?Xn(pn):$i;function vc(e){return Cc(e)&&1===e.nodeType&&!Oc(e)}function gc(e){if(null==e)return!0;if(cc(e)&&(lc(e)||"string"==typeof e||"function"==typeof e.splice||fc(e)||qc(e)||sc(e)))return!e.length;var t=Za(e);if(t==Q||t==oe)return!e.size;if(fs(e))return!no(e).length;for(var n in e)if(dt.call(e,n))return!1;return!0}function mc(e,t){return Ui(e,t)}function yc(e,t,n){n="function"==typeof n?n:i;var r=n?n(e,t):i;return r===i?Ui(e,t,i,n):!!r}function _c(e){if(!Cc(e))return!1;var t=zi(e);return t==X||t==K||"string"==typeof e.message&&"string"==typeof e.name&&!Oc(e)}function bc(e){return"number"==typeof e&&Bt(e)}function xc(e){if(!kc(e))return!1;var t=zi(e);return t==Y||t==Z||t==j||t==re}function wc(e){return"number"==typeof e&&e==Kc(e)}function Sc(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=z}function kc(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Cc(e){return null!=e&&"object"==typeof e}var Ac=vn?Xn(vn):Xi;function Tc(e,t){return e===t||Yi(e,t,$a(t))}function Ec(e,t,n){return n="function"==typeof n?n:i,Yi(e,t,$a(t),n)}function Mc(e){return Lc(e)&&e!=+e}function Ic(e){if(hs(e))throw new Ne(s);return Zi(e)}function Dc(e){return null===e}function Rc(e){return null==e}function Lc(e){return"number"==typeof e||Cc(e)&&zi(e)==J}function Oc(e){if(!Cc(e)||zi(e)!=te)return!1;var t=wt(e);if(null===t)return!0;var n=dt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ct.call(n)==vt}var Pc=gn?Xn(gn):Qi;function zc(e){return wc(e)&&e>=-z&&e<=z}var Bc=mn?Xn(mn):Ji;function Nc(e){return"string"==typeof e||!lc(e)&&Cc(e)&&zi(e)==ae}function Fc(e){return"symbol"==typeof e||Cc(e)&&zi(e)==se}var qc=yn?Xn(yn):eo;function Wc(e){return e===i}function Gc(e){return Cc(e)&&Za(e)==ue}function Vc(e){return Cc(e)&&zi(e)==ce}var Hc=Aa(io),jc=Aa((function(e,t){return e<=t}));function $c(e){if(!e)return[];if(cc(e))return Nc(e)?gr(e):ia(e);if(Tt&&e[Tt])return sr(e[Tt]());var t=Za(e),n=t==Q?lr:t==oe?dr:Wd;return n(e)}function Uc(e){if(!e)return 0===e?e:0;if(e=Yc(e),e===P||e===-P){var t=e<0?-1:1;return t*B}return e===e?e:0}function Kc(e){var t=Uc(e),n=t%1;return t===t?n?t-n:t:0}function Xc(e){return e?gi(Kc(e),0,F):0}function Yc(e){if("number"==typeof e)return e;if(Fc(e))return N;if(kc(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=kc(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kn(e);var n=Ke.test(e);return n||Ye.test(e)?rn(e.slice(2),n?2:8):Ue.test(e)?N:+e}function Zc(e){return oa(e,Sd(e))}function Qc(e){return e?gi(Kc(e),-z,z):0===e?e:0}function Jc(e){return null==e?"":Oo(e)}var ed=ua((function(e,t){if(fs(t)||cc(t))oa(t,wd(t),e);else for(var n in t)dt.call(t,n)&&ui(e,n,t[n])})),td=ua((function(e,t){oa(t,Sd(t),e)})),nd=ua((function(e,t,n,r){oa(t,Sd(t),e,r)})),rd=ua((function(e,t,n,r){oa(t,wd(t),e,r)})),id=Na(vi);function od(e,t){var n=kr(e);return null==t?n:hi(n,t)}var ad=xo((function(e,t){e=nt(e);var n=-1,r=t.length,o=r>2?t[2]:i;o&&ss(t[0],t[1],o)&&(r=1);while(++n<r){var a=t[n],s=Sd(a),l=-1,u=s.length;while(++l<u){var c=s[l],d=e[c];(d===i||ic(d,lt[c])&&!dt.call(e,c))&&(e[c]=a[c])}}return e})),sd=xo((function(e){return e.push(i,La),_n(Td,i,e)}));function ld(e,t){return Pn(e,Ha(t,3),Di)}function ud(e,t){return Pn(e,Ha(t,3),Ri)}function cd(e,t){return null==e?e:Mi(e,Ha(t,3),Sd)}function dd(e,t){return null==e?e:Ii(e,Ha(t,3),Sd)}function hd(e,t){return e&&Di(e,Ha(t,3))}function fd(e,t){return e&&Ri(e,Ha(t,3))}function pd(e){return null==e?[]:Li(e,wd(e))}function vd(e){return null==e?[]:Li(e,Sd(e))}function gd(e,t,n){var r=null==e?i:Oi(e,t);return r===i?n:r}function md(e,t){return null!=e&&es(e,t,Ni)}function yd(e,t){return null!=e&&es(e,t,Fi)}var _d=ba((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),e[t]=n}),Ah(Ih)),bd=ba((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),dt.call(e,t)?e[t].push(n):e[t]=[n]}),Ha),xd=xo(Vi);function wd(e){return cc(e)?ii(e):no(e)}function Sd(e){return cc(e)?ii(e,!0):ro(e)}function kd(e,t){var n={};return t=Ha(t,3),Di(e,(function(e,r,i){pi(n,t(e,r,i),e)})),n}function Cd(e,t){var n={};return t=Ha(t,3),Di(e,(function(e,r,i){pi(n,r,t(e,r,i))})),n}var Ad=ua((function(e,t,n){lo(e,t,n)})),Td=ua((function(e,t,n,r){lo(e,t,n,r)})),Ed=Na((function(e,t){var n={};if(null==e)return n;var r=!1;t=Tn(t,(function(t){return t=Ho(t,e),r||(r=t.length>1),t})),oa(e,qa(e),n),r&&(n=mi(n,f|p|v,Oa));var i=t.length;while(i--)zo(n,t[i]);return n}));function Md(e,t){return Dd(e,Wu(Ha(t)))}var Id=Na((function(e,t){return null==e?{}:fo(e,t)}));function Dd(e,t){if(null==e)return{};var n=Tn(qa(e),(function(e){return[e]}));return t=Ha(t),po(e,n,(function(e,n){return t(e,n[0])}))}function Rd(e,t,n){t=Ho(t,e);var r=-1,o=t.length;o||(o=1,e=i);while(++r<o){var a=null==e?i:e[Ds(t[r])];a===i&&(r=o,a=n),e=xc(a)?a.call(e):a}return e}function Ld(e,t,n){return null==e?e:ko(e,t,n)}function Od(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:ko(e,t,n,r)}var Pd=Ia(wd),zd=Ia(Sd);function Bd(e,t,n){var r=lc(e),i=r||fc(e)||qc(e);if(t=Ha(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:kc(e)&&xc(o)?kr(wt(e)):{}}return(i?xn:Di)(e,(function(e,r,i){return t(n,e,r,i)})),n}function Nd(e,t){return null==e||zo(e,t)}function Fd(e,t,n){return null==e?e:Bo(e,t,Vo(n))}function qd(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:Bo(e,t,Vo(n),r)}function Wd(e){return null==e?[]:Yn(e,wd(e))}function Gd(e){return null==e?[]:Yn(e,Sd(e))}function Vd(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=Yc(n),n=n===n?n:0),t!==i&&(t=Yc(t),t=t===t?t:0),gi(Yc(e),t,n)}function Hd(e,t,n){return t=Uc(t),n===i?(n=t,t=0):n=Uc(n),e=Yc(e),qi(e,t,n)}function jd(e,t,n){if(n&&"boolean"!=typeof n&&ss(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=Uc(e),t===i?(t=e,e=0):t=Uc(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=$t();return Wt(e+o*(t-e+nn("1e-"+((o+"").length-1))),t)}return yo(e,t)}var $d=pa((function(e,t,n){return t=t.toLowerCase(),e+(n?Ud(t):t)}));function Ud(e){return bh(Jc(e).toLowerCase())}function Kd(e){return e=Jc(e),e&&e.replace(Qe,tr).replace(Vt,"")}function Xd(e,t,n){e=Jc(e),t=Oo(t);var r=e.length;n=n===i?r:gi(Kc(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function Yd(e){return e=Jc(e),e&&Ee.test(e)?e.replace(Ae,nr):e}function Zd(e){return e=Jc(e),e&&ze.test(e)?e.replace(Pe,"\\$&"):e}var Qd=pa((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Jd=pa((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),eh=fa("toLowerCase");function th(e,t,n){e=Jc(e),t=Kc(t);var r=t?vr(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Sa(Ot(i),n)+e+Sa(Lt(i),n)}function nh(e,t,n){e=Jc(e),t=Kc(t);var r=t?vr(e):0;return t&&r<t?e+Sa(t-r,n):e}function rh(e,t,n){e=Jc(e),t=Kc(t);var r=t?vr(e):0;return t&&r<t?Sa(t-r,n)+e:e}function ih(e,t,n){return n||null==t?t=0:t&&(t=+t),jt(Jc(e).replace(Be,""),t||0)}function oh(e,t,n){return t=(n?ss(e,t,n):t===i)?1:Kc(t),bo(Jc(e),t)}function ah(){var e=arguments,t=Jc(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var sh=pa((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));function lh(e,t,n){return n&&"number"!=typeof n&&ss(e,t,n)&&(t=n=i),n=n===i?F:n>>>0,n?(e=Jc(e),e&&("string"==typeof t||null!=t&&!Pc(t))&&(t=Oo(t),!t&&or(e))?$o(gr(e),0,n):e.split(t,n)):[]}var uh=pa((function(e,t,n){return e+(n?" ":"")+bh(t)}));function ch(e,t,n){return e=Jc(e),n=null==n?0:gi(Kc(n),0,e.length),t=Oo(t),e.slice(n,n+t.length)==t}function dh(e,t,n){var r=wr.templateSettings;n&&ss(e,t,n)&&(t=i),e=Jc(e),t=nd({},t,r,Ra);var o,a,s=nd({},t.imports,r.imports,Ra),l=wd(s),c=Yn(s,l),d=0,h=t.interpolate||Je,f="__p += '",p=rt((t.escape||Je).source+"|"+h.source+"|"+(h===De?je:Je).source+"|"+(t.evaluate||Je).source+"|$","g"),v="//# sourceURL="+(dt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Xt+"]")+"\n";e.replace(p,(function(t,n,r,i,s,l){return r||(r=i),f+=e.slice(d,l).replace(et,rr),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),d=l+t.length,t})),f+="';\n";var g=dt.call(t,"variable")&&t.variable;if(g){if(Ve.test(g))throw new Ne(u)}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(we,""):f).replace(Se,"$1").replace(ke,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=wh((function(){return Ge(l,v+"return "+f).apply(i,c)}));if(m.source=f,_c(m))throw m;return m}function hh(e){return Jc(e).toLowerCase()}function fh(e){return Jc(e).toUpperCase()}function ph(e,t,n){if(e=Jc(e),e&&(n||t===i))return Kn(e);if(!e||!(t=Oo(t)))return e;var r=gr(e),o=gr(t),a=Qn(r,o),s=Jn(r,o)+1;return $o(r,a,s).join("")}function vh(e,t,n){if(e=Jc(e),e&&(n||t===i))return e.slice(0,mr(e)+1);if(!e||!(t=Oo(t)))return e;var r=gr(e),o=Jn(r,gr(t))+1;return $o(r,0,o).join("")}function gh(e,t,n){if(e=Jc(e),e&&(n||t===i))return e.replace(Be,"");if(!e||!(t=Oo(t)))return e;var r=gr(e),o=Qn(r,gr(t));return $o(r,o).join("")}function mh(e,t){var n=E,r=M;if(kc(t)){var o="separator"in t?t.separator:o;n="length"in t?Kc(t.length):n,r="omission"in t?Oo(t.omission):r}e=Jc(e);var a=e.length;if(or(e)){var s=gr(e);a=s.length}if(n>=a)return e;var l=n-vr(r);if(l<1)return r;var u=s?$o(s,0,l).join(""):e.slice(0,l);if(o===i)return u+r;if(s&&(l+=u.length-l),Pc(o)){if(e.slice(l).search(o)){var c,d=u;o.global||(o=rt(o.source,Jc($e.exec(o))+"g")),o.lastIndex=0;while(c=o.exec(d))var h=c.index;u=u.slice(0,h===i?l:h)}}else if(e.indexOf(Oo(o),l)!=l){var f=u.lastIndexOf(o);f>-1&&(u=u.slice(0,f))}return u+r}function yh(e){return e=Jc(e),e&&Te.test(e)?e.replace(Ce,yr):e}var _h=pa((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),bh=fa("toUpperCase");function xh(e,t,n){return e=Jc(e),t=n?i:t,t===i?ar(e)?xr(e):On(e):e.match(t)||[]}var wh=xo((function(e,t){try{return _n(e,i,t)}catch(n){return _c(n)?n:new Ne(n)}})),Sh=Na((function(e,t){return xn(t,(function(t){t=Ds(t),pi(e,t,Ru(e[t],e))})),e}));function kh(e){var t=null==e?0:e.length,n=Ha();return e=t?Tn(e,(function(e){if("function"!=typeof e[1])throw new ot(l);return[n(e[0]),e[1]]})):[],xo((function(n){var r=-1;while(++r<t){var i=e[r];if(_n(i[0],this,n))return _n(i[1],this,n)}}))}function Ch(e){return yi(mi(e,f))}function Ah(e){return function(){return e}}function Th(e,t){return null==e||e!==e?t:e}var Eh=ya(),Mh=ya(!0);function Ih(e){return e}function Dh(e){return to("function"==typeof e?e:mi(e,f))}function Rh(e){return ao(mi(e,f))}function Lh(e,t){return so(e,mi(t,f))}var Oh=xo((function(e,t){return function(n){return Vi(n,e,t)}})),Ph=xo((function(e,t){return function(n){return Vi(e,n,t)}}));function zh(e,t,n){var r=wd(t),i=Li(t,r);null!=n||kc(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Li(t,wd(t)));var o=!(kc(n)&&"chain"in n)||!!n.chain,a=xc(e);return xn(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=ia(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,En([this.value()],arguments))})})),e}function Bh(){return sn._===this&&(sn._=gt),this}function Nh(){}function Fh(e){return e=Kc(e),xo((function(t){return co(t,e)}))}var qh=wa(Tn),Wh=wa(Sn),Gh=wa(Dn);function Vh(e){return ls(e)?Wn(Ds(e)):vo(e)}function Hh(e){return function(t){return null==e?i:Oi(e,t)}}var jh=Ca(),$h=Ca(!0);function Uh(){return[]}function Kh(){return!1}function Xh(){return{}}function Yh(){return""}function Zh(){return!0}function Qh(e,t){if(e=Kc(e),e<1||e>z)return[];var n=F,r=Wt(e,F);t=Ha(t),e-=F;var i=$n(r,t);while(++n<e)t(n);return i}function Jh(e){return lc(e)?Tn(e,Ds):Fc(e)?[e]:ia(Is(Jc(e)))}function ef(e){var t=++ht;return Jc(e)+t}var tf=xa((function(e,t){return e+t}),0),nf=Ea("ceil"),rf=xa((function(e,t){return e/t}),1),of=Ea("floor");function af(e){return e&&e.length?Ci(e,Ih,Bi):i}function sf(e,t){return e&&e.length?Ci(e,Ha(t,2),Bi):i}function lf(e){return qn(e,Ih)}function uf(e,t){return qn(e,Ha(t,2))}function cf(e){return e&&e.length?Ci(e,Ih,io):i}function df(e,t){return e&&e.length?Ci(e,Ha(t,2),io):i}var hf=xa((function(e,t){return e*t}),1),ff=Ea("round"),pf=xa((function(e,t){return e-t}),0);function vf(e){return e&&e.length?jn(e,Ih):0}function gf(e,t){return e&&e.length?jn(e,Ha(t,2)):0}return wr.after=Mu,wr.ary=Iu,wr.assign=ed,wr.assignIn=td,wr.assignInWith=nd,wr.assignWith=rd,wr.at=id,wr.before=Du,wr.bind=Ru,wr.bindAll=Sh,wr.bindKey=Lu,wr.castArray=Qu,wr.chain=jl,wr.chunk=Ps,wr.compact=zs,wr.concat=Bs,wr.cond=kh,wr.conforms=Ch,wr.constant=Ah,wr.countBy=nu,wr.create=od,wr.curry=Ou,wr.curryRight=Pu,wr.debounce=zu,wr.defaults=ad,wr.defaultsDeep=sd,wr.defer=Bu,wr.delay=Nu,wr.difference=Ns,wr.differenceBy=Fs,wr.differenceWith=qs,wr.drop=Ws,wr.dropRight=Gs,wr.dropRightWhile=Vs,wr.dropWhile=Hs,wr.fill=js,wr.filter=iu,wr.flatMap=su,wr.flatMapDeep=lu,wr.flatMapDepth=uu,wr.flatten=Ks,wr.flattenDeep=Xs,wr.flattenDepth=Ys,wr.flip=Fu,wr.flow=Eh,wr.flowRight=Mh,wr.fromPairs=Zs,wr.functions=pd,wr.functionsIn=vd,wr.groupBy=hu,wr.initial=el,wr.intersection=tl,wr.intersectionBy=nl,wr.intersectionWith=rl,wr.invert=_d,wr.invertBy=bd,wr.invokeMap=pu,wr.iteratee=Dh,wr.keyBy=vu,wr.keys=wd,wr.keysIn=Sd,wr.map=gu,wr.mapKeys=kd,wr.mapValues=Cd,wr.matches=Rh,wr.matchesProperty=Lh,wr.memoize=qu,wr.merge=Ad,wr.mergeWith=Td,wr.method=Oh,wr.methodOf=Ph,wr.mixin=zh,wr.negate=Wu,wr.nthArg=Fh,wr.omit=Ed,wr.omitBy=Md,wr.once=Gu,wr.orderBy=mu,wr.over=qh,wr.overArgs=Vu,wr.overEvery=Wh,wr.overSome=Gh,wr.partial=Hu,wr.partialRight=ju,wr.partition=yu,wr.pick=Id,wr.pickBy=Dd,wr.property=Vh,wr.propertyOf=Hh,wr.pull=ll,wr.pullAll=ul,wr.pullAllBy=cl,wr.pullAllWith=dl,wr.pullAt=hl,wr.range=jh,wr.rangeRight=$h,wr.rearg=$u,wr.reject=xu,wr.remove=fl,wr.rest=Uu,wr.reverse=pl,wr.sampleSize=Su,wr.set=Ld,wr.setWith=Od,wr.shuffle=ku,wr.slice=vl,wr.sortBy=Tu,wr.sortedUniq=wl,wr.sortedUniqBy=Sl,wr.split=lh,wr.spread=Ku,wr.tail=kl,wr.take=Cl,wr.takeRight=Al,wr.takeRightWhile=Tl,wr.takeWhile=El,wr.tap=$l,wr.throttle=Xu,wr.thru=Ul,wr.toArray=$c,wr.toPairs=Pd,wr.toPairsIn=zd,wr.toPath=Jh,wr.toPlainObject=Zc,wr.transform=Bd,wr.unary=Yu,wr.union=Ml,wr.unionBy=Il,wr.unionWith=Dl,wr.uniq=Rl,wr.uniqBy=Ll,wr.uniqWith=Ol,wr.unset=Nd,wr.unzip=Pl,wr.unzipWith=zl,wr.update=Fd,wr.updateWith=qd,wr.values=Wd,wr.valuesIn=Gd,wr.without=Bl,wr.words=xh,wr.wrap=Zu,wr.xor=Nl,wr.xorBy=Fl,wr.xorWith=ql,wr.zip=Wl,wr.zipObject=Gl,wr.zipObjectDeep=Vl,wr.zipWith=Hl,wr.entries=Pd,wr.entriesIn=zd,wr.extend=td,wr.extendWith=nd,zh(wr,wr),wr.add=tf,wr.attempt=wh,wr.camelCase=$d,wr.capitalize=Ud,wr.ceil=nf,wr.clamp=Vd,wr.clone=Ju,wr.cloneDeep=tc,wr.cloneDeepWith=nc,wr.cloneWith=ec,wr.conformsTo=rc,wr.deburr=Kd,wr.defaultTo=Th,wr.divide=rf,wr.endsWith=Xd,wr.eq=ic,wr.escape=Yd,wr.escapeRegExp=Zd,wr.every=ru,wr.find=ou,wr.findIndex=$s,wr.findKey=ld,wr.findLast=au,wr.findLastIndex=Us,wr.findLastKey=ud,wr.floor=of,wr.forEach=cu,wr.forEachRight=du,wr.forIn=cd,wr.forInRight=dd,wr.forOwn=hd,wr.forOwnRight=fd,wr.get=gd,wr.gt=oc,wr.gte=ac,wr.has=md,wr.hasIn=yd,wr.head=Qs,wr.identity=Ih,wr.includes=fu,wr.indexOf=Js,wr.inRange=Hd,wr.invoke=xd,wr.isArguments=sc,wr.isArray=lc,wr.isArrayBuffer=uc,wr.isArrayLike=cc,wr.isArrayLikeObject=dc,wr.isBoolean=hc,wr.isBuffer=fc,wr.isDate=pc,wr.isElement=vc,wr.isEmpty=gc,wr.isEqual=mc,wr.isEqualWith=yc,wr.isError=_c,wr.isFinite=bc,wr.isFunction=xc,wr.isInteger=wc,wr.isLength=Sc,wr.isMap=Ac,wr.isMatch=Tc,wr.isMatchWith=Ec,wr.isNaN=Mc,wr.isNative=Ic,wr.isNil=Rc,wr.isNull=Dc,wr.isNumber=Lc,wr.isObject=kc,wr.isObjectLike=Cc,wr.isPlainObject=Oc,wr.isRegExp=Pc,wr.isSafeInteger=zc,wr.isSet=Bc,wr.isString=Nc,wr.isSymbol=Fc,wr.isTypedArray=qc,wr.isUndefined=Wc,wr.isWeakMap=Gc,wr.isWeakSet=Vc,wr.join=il,wr.kebabCase=Qd,wr.last=ol,wr.lastIndexOf=al,wr.lowerCase=Jd,wr.lowerFirst=eh,wr.lt=Hc,wr.lte=jc,wr.max=af,wr.maxBy=sf,wr.mean=lf,wr.meanBy=uf,wr.min=cf,wr.minBy=df,wr.stubArray=Uh,wr.stubFalse=Kh,wr.stubObject=Xh,wr.stubString=Yh,wr.stubTrue=Zh,wr.multiply=hf,wr.nth=sl,wr.noConflict=Bh,wr.noop=Nh,wr.now=Eu,wr.pad=th,wr.padEnd=nh,wr.padStart=rh,wr.parseInt=ih,wr.random=jd,wr.reduce=_u,wr.reduceRight=bu,wr.repeat=oh,wr.replace=ah,wr.result=Rd,wr.round=ff,wr.runInContext=e,wr.sample=wu,wr.size=Cu,wr.snakeCase=sh,wr.some=Au,wr.sortedIndex=gl,wr.sortedIndexBy=ml,wr.sortedIndexOf=yl,wr.sortedLastIndex=_l,wr.sortedLastIndexBy=bl,wr.sortedLastIndexOf=xl,wr.startCase=uh,wr.startsWith=ch,wr.subtract=pf,wr.sum=vf,wr.sumBy=gf,wr.template=dh,wr.times=Qh,wr.toFinite=Uc,wr.toInteger=Kc,wr.toLength=Xc,wr.toLower=hh,wr.toNumber=Yc,wr.toSafeInteger=Qc,wr.toString=Jc,wr.toUpper=fh,wr.trim=ph,wr.trimEnd=vh,wr.trimStart=gh,wr.truncate=mh,wr.unescape=yh,wr.uniqueId=ef,wr.upperCase=_h,wr.upperFirst=bh,wr.each=cu,wr.eachRight=du,wr.first=Qs,zh(wr,function(){var e={};return Di(wr,(function(t,n){dt.call(wr.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),wr.VERSION=o,xn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){wr[e].placeholder=wr})),xn(["drop","take"],(function(e,t){Tr.prototype[e]=function(n){n=n===i?1:qt(Kc(n),0);var r=this.__filtered__&&!t?new Tr(this):this.clone();return r.__filtered__?r.__takeCount__=Wt(n,r.__takeCount__):r.__views__.push({size:Wt(n,F),type:e+(r.__dir__<0?"Right":"")}),r},Tr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),xn(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==R||n==O;Tr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ha(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),xn(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Tr.prototype[e]=function(){return this[n](1).value()[0]}})),xn(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Tr.prototype[e]=function(){return this.__filtered__?new Tr(this):this[n](1)}})),Tr.prototype.compact=function(){return this.filter(Ih)},Tr.prototype.find=function(e){return this.filter(e).head()},Tr.prototype.findLast=function(e){return this.reverse().find(e)},Tr.prototype.invokeMap=xo((function(e,t){return"function"==typeof e?new Tr(this):this.map((function(n){return Vi(n,e,t)}))})),Tr.prototype.reject=function(e){return this.filter(Wu(Ha(e)))},Tr.prototype.slice=function(e,t){e=Kc(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Tr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(t=Kc(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Tr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Tr.prototype.toArray=function(){return this.take(F)},Di(Tr.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=wr[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);o&&(wr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Tr,u=s[0],c=l||lc(t),d=function(e){var t=o.apply(wr,En([e],s));return r&&h?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,f=!!this.__actions__.length,p=a&&!h,v=l&&!f;if(!a&&c){t=v?t:new Tr(this);var g=e.apply(t,s);return g.__actions__.push({func:Ul,args:[d],thisArg:i}),new Ar(g,h)}return p&&v?e.apply(this,s):(g=this.thru(d),p?r?g.value()[0]:g.value():g)})})),xn(["pop","push","shift","sort","splice","unshift"],(function(e){var t=at[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);wr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(lc(i)?i:[],e)}return this[n]((function(n){return t.apply(lc(n)?n:[],e)}))}})),Di(Tr.prototype,(function(e,t){var n=wr[t];if(n){var r=n.name+"";dt.call(un,r)||(un[r]=[]),un[r].push({name:t,func:n})}})),un[_a(i,_).name]=[{name:"wrapper",func:i}],Tr.prototype.clone=Er,Tr.prototype.reverse=Mr,Tr.prototype.value=Ir,wr.prototype.at=Kl,wr.prototype.chain=Xl,wr.prototype.commit=Yl,wr.prototype.next=Zl,wr.prototype.plant=Jl,wr.prototype.reverse=eu,wr.prototype.toJSON=wr.prototype.valueOf=wr.prototype.value=tu,wr.prototype.first=wr.prototype.head,Tt&&(wr.prototype[Tt]=Ql),wr},Sr=wr();sn._=Sr,r=function(){return Sr}.call(t,n,t,e),r===i||(e.exports=r)}.call(this)},4614:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}function i(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(e){if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function s(){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 l(e,t){return r(e)||i(e,t)||a(e,t)||s()}n.d(t,{_:()=>l,a:()=>o,b:()=>a,c:()=>w,f:()=>_,g:()=>S,i:()=>x});var u={black:"#000000",silver:"#C0C0C0",gray:"#808080",grey:"#808080",white:"#FFFFFF",maroon:"#800000",red:"#FF0000",purple:"#800080",fuchsia:"#FF00FF",green:"#008000",lime:"#00FF00",olive:"#808000",yellow:"#FFFF00",navy:"#000080",blue:"#0000FF",teal:"#008080",aqua:"#00FFFF",darkblue:"#00008B",mediumblue:"#0000CD",darkgreen:"#006400",darkcyan:"#008B8B",deepskyblue:"#00BFFF",darkturquoise:"#00CED1",mediumspringgreen:"#00FA9A",springgreen:"#00FF7F",cyan:"#00FFFF",midnightblue:"#191970",dodgerblue:"#1E90FF",lightseagreen:"#20B2AA",forestgreen:"#228B22",seagreen:"#2E8B57",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",limegreen:"#32CD32",mediumseagreen:"#3CB371",turquoise:"#40E0D0",royalblue:"#4169E1",steelblue:"#4682B4",darkslateblue:"#483D8B",mediumturquoise:"#48D1CC",indigo:"#4B0082",darkolivegreen:"#556B2F",cadetblue:"#5F9EA0",cornflowerblue:"#6495ED",rebeccapurple:"#663399",mediumaquamarine:"#66CDAA",dimgray:"#696969",dimgrey:"#696969",slateblue:"#6A5ACD",olivedrab:"#6B8E23",slategray:"#708090",slategrey:"#708090",lightslategray:"#778899",lightslategrey:"#778899",mediumslateblue:"#7B68EE",lawngreen:"#7CFC00",chartreuse:"#7FFF00",aquamarine:"#7FFFD4",skyblue:"#87CEEB",lightskyblue:"#87CEFA",blueviolet:"#8A2BE2",darkred:"#8B0000",darkmagenta:"#8B008B",saddlebrown:"#8B4513",darkseagreen:"#8FBC8F",lightgreen:"#90EE90",mediumpurple:"#9370DB",darkviolet:"#9400D3",palegreen:"#98FB98",darkorchid:"#9932CC",yellowgreen:"#9ACD32",sienna:"#A0522D",brown:"#A52A2A",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",lightblue:"#ADD8E6",greenyellow:"#ADFF2F",paleturquoise:"#AFEEEE",lightsteelblue:"#B0C4DE",powderblue:"#B0E0E6",firebrick:"#B22222",darkgoldenrod:"#B8860B",mediumorchid:"#BA55D3",rosybrown:"#BC8F8F",darkkhaki:"#BDB76B",mediumvioletred:"#C71585",indianred:"#CD5C5C",peru:"#CD853F",chocolate:"#D2691E",tan:"#D2B48C",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",thistle:"#D8BFD8",orchid:"#DA70D6",goldenrod:"#DAA520",palevioletred:"#DB7093",crimson:"#DC143C",gainsboro:"#DCDCDC",plum:"#DDA0DD",burlywood:"#DEB887",lightcyan:"#E0FFFF",lavender:"#E6E6FA",darksalmon:"#E9967A",violet:"#EE82EE",palegoldenrod:"#EEE8AA",lightcoral:"#F08080",khaki:"#F0E68C",aliceblue:"#F0F8FF",honeydew:"#F0FFF0",azure:"#F0FFFF",sandybrown:"#F4A460",wheat:"#F5DEB3",beige:"#F5F5DC",whitesmoke:"#F5F5F5",mintcream:"#F5FFFA",ghostwhite:"#F8F8FF",salmon:"#FA8072",antiquewhite:"#FAEBD7",linen:"#FAF0E6",lightgoldenrodyellow:"#FAFAD2",oldlace:"#FDF5E6",magenta:"#FF00FF",deeppink:"#FF1493",orangered:"#FF4500",tomato:"#FF6347",hotpink:"#FF69B4",coral:"#FF7F50",darkorange:"#FF8C00",lightsalmon:"#FFA07A",orange:"#FFA500",lightpink:"#FFB6C1",pink:"#FFC0CB",gold:"#FFD700",peachpuff:"#FFDAB9",navajowhite:"#FFDEAD",moccasin:"#FFE4B5",bisque:"#FFE4C4",mistyrose:"#FFE4E1",blanchedalmond:"#FFEBCD",papayawhip:"#FFEFD5",lavenderblush:"#FFF0F5",seashell:"#FFF5EE",cornsilk:"#FFF8DC",lemonchiffon:"#FFFACD",floralwhite:"#FFFAF0",snow:"#FFFAFA",lightyellow:"#FFFFE0",ivory:"#FFFFF0"};var c=new Int8Array(4),d=new Int32Array(c.buffer,0,1),h=new Float32Array(c.buffer,0,1),f=/^\s*rgba?\s*\(/,p=/^\s*rgba?\s*\(\s*([0-9]*)\s*,\s*([0-9]*)\s*,\s*([0-9]*)(?:\s*,\s*(.*)?)?\)\s*$/;function v(e){var t=0,n=0,r=0,i=1;if("#"===e[0])4===e.length?(t=parseInt(e.charAt(1)+e.charAt(1),16),n=parseInt(e.charAt(2)+e.charAt(2),16),r=parseInt(e.charAt(3)+e.charAt(3),16)):(t=parseInt(e.charAt(1)+e.charAt(2),16),n=parseInt(e.charAt(3)+e.charAt(4),16),r=parseInt(e.charAt(5)+e.charAt(6),16)),9===e.length&&(i=parseInt(e.charAt(7)+e.charAt(8),16)/255);else if(f.test(e)){var o=e.match(p);o&&(t=+o[1],n=+o[2],r=+o[3],o[4]&&(i=+o[4]))}return{r:t,g:n,b:r,a:i}}var g={};for(var m in u)g[m]=_(u[m]),g[u[m]]=g[m];function y(e,t,n,r,i){return d[0]=r<<24|n<<16|t<<8|e,i&&(d[0]=4278190079&d[0]),h[0]}function _(e){if(e=e.toLowerCase(),"undefined"!==typeof g[e])return g[e];var t=v(e),n=t.r,r=t.g,i=t.b,o=t.a;o=255*o|0;var a=y(n,r,i,o,!0);return g[e]=a,a}var b={};function x(e){if("undefined"!==typeof b[e])return b[e];var t=(16711680&e)>>>16,n=(65280&e)>>>8,r=255&e,i=255,o=y(t,n,r,i,!0);return b[e]=o,o}function w(e,t,n,r){return n+(t<<8)+(e<<16)}function S(e,t,n,r,i,o){var a=Math.floor(n/o*i),s=Math.floor(e.drawingBufferHeight/o-r/o*i),u=new Uint8Array(4);e.bindFramebuffer(e.FRAMEBUFFER,t),e.readPixels(a,s,1,1,e.RGBA,e.UNSIGNED_BYTE,u);var c=l(u,4),d=c[0],h=c[1],f=c[2],p=c[3];return[d,h,f,p]}},4933:(e,t,n)=>{"use strict";n.d(t,{E:()=>re,N:()=>O,_:()=>o,a:()=>s,b:()=>k,c:()=>C,d:()=>S,e:()=>ce,f:()=>b});var r=n(7954),i=n(4614);function o(e,t,n){return t=(0,r.t)(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=(0,r.e)(e),null===e)break;return e}function u(){return u="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=l(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},u.apply(this,arguments)}function c(e){return e.normalized?1:e.size}function d(e){var t=0;return e.forEach((function(e){return t+=c(e)})),t}function h(e,t,n){var r="VERTEX"===e?t.VERTEX_SHADER:t.FRAGMENT_SHADER,i=t.createShader(r);if(null===i)throw new Error("loadShader: error while creating the shader");t.shaderSource(i,n),t.compileShader(i);var o=t.getShaderParameter(i,t.COMPILE_STATUS);if(!o){var a=t.getShaderInfoLog(i);throw t.deleteShader(i),new Error("loadShader: error while compiling the shader:\n".concat(a,"\n").concat(n))}return i}function f(e,t){return h("VERTEX",e,t)}function p(e,t){return h("FRAGMENT",e,t)}function v(e,t){var n,r,i=e.createProgram();if(null===i)throw new Error("loadProgram: error while creating the program.");for(n=0,r=t.length;n<r;n++)e.attachShader(i,t[n]);e.linkProgram(i);var o=e.getProgramParameter(i,e.LINK_STATUS);if(!o)throw e.deleteProgram(i),new Error("loadProgram: error while linking the program.");return i}function g(e){var t=e.gl,n=e.buffer,r=e.program,i=e.vertexShader,o=e.fragmentShader;t.deleteShader(i),t.deleteShader(o),t.deleteProgram(r),t.deleteBuffer(n)}var m="#define PICKING_MODE\n",y=o(o(o(o(o(o(o(o({},WebGL2RenderingContext.BOOL,1),WebGL2RenderingContext.BYTE,1),WebGL2RenderingContext.UNSIGNED_BYTE,1),WebGL2RenderingContext.SHORT,2),WebGL2RenderingContext.UNSIGNED_SHORT,2),WebGL2RenderingContext.INT,4),WebGL2RenderingContext.UNSIGNED_INT,4),WebGL2RenderingContext.FLOAT,4),_=function(){function e(t,n,i){(0,r.a)(this,e),o(this,"array",new Float32Array),o(this,"constantArray",new Float32Array),o(this,"capacity",0),o(this,"verticesCount",0);var a=this.getDefinition();if(this.VERTICES=a.VERTICES,this.VERTEX_SHADER_SOURCE=a.VERTEX_SHADER_SOURCE,this.FRAGMENT_SHADER_SOURCE=a.FRAGMENT_SHADER_SOURCE,this.UNIFORMS=a.UNIFORMS,this.ATTRIBUTES=a.ATTRIBUTES,this.METHOD=a.METHOD,this.CONSTANT_ATTRIBUTES="CONSTANT_ATTRIBUTES"in a?a.CONSTANT_ATTRIBUTES:[],this.CONSTANT_DATA="CONSTANT_DATA"in a?a.CONSTANT_DATA:[],this.isInstanced="CONSTANT_ATTRIBUTES"in a,this.ATTRIBUTES_ITEMS_COUNT=d(this.ATTRIBUTES),this.STRIDE=this.VERTICES*this.ATTRIBUTES_ITEMS_COUNT,this.renderer=i,this.normalProgram=this.getProgramInfo("normal",t,a.VERTEX_SHADER_SOURCE,a.FRAGMENT_SHADER_SOURCE,null),this.pickProgram=n?this.getProgramInfo("pick",t,m+a.VERTEX_SHADER_SOURCE,m+a.FRAGMENT_SHADER_SOURCE,n):null,this.isInstanced){var s=d(this.CONSTANT_ATTRIBUTES);if(this.CONSTANT_DATA.length!==this.VERTICES)throw new Error("Program: error while getting constant data (expected ".concat(this.VERTICES," items, received ").concat(this.CONSTANT_DATA.length," instead)"));this.constantArray=new Float32Array(this.CONSTANT_DATA.length*s);for(var l=0;l<this.CONSTANT_DATA.length;l++){var u=this.CONSTANT_DATA[l];if(u.length!==s)throw new Error("Program: error while getting constant data (one vector has ".concat(u.length," items instead of ").concat(s,")"));for(var c=0;c<u.length;c++)this.constantArray[l*s+c]=u[c]}this.STRIDE=this.ATTRIBUTES_ITEMS_COUNT}}return(0,r.d)(e,[{key:"kill",value:function(){g(this.normalProgram),this.pickProgram&&(g(this.pickProgram),this.pickProgram=null)}},{key:"getProgramInfo",value:function(e,t,n,r,i){var o=this.getDefinition(),a=t.createBuffer();if(null===a)throw new Error("Program: error while creating the WebGL buffer.");var s=f(t,n),l=p(t,r),u=v(t,[s,l]),c={};o.UNIFORMS.forEach((function(e){var n=t.getUniformLocation(u,e);n&&(c[e]=n)}));var d,h={};if(o.ATTRIBUTES.forEach((function(e){h[e.name]=t.getAttribLocation(u,e.name)})),"CONSTANT_ATTRIBUTES"in o&&(o.CONSTANT_ATTRIBUTES.forEach((function(e){h[e.name]=t.getAttribLocation(u,e.name)})),d=t.createBuffer(),null===d))throw new Error("Program: error while creating the WebGL constant buffer.");return{name:e,program:u,gl:t,frameBuffer:i,buffer:a,constantBuffer:d||{},uniformLocations:c,attributeLocations:h,isPicking:"pick"===e,vertexShader:s,fragmentShader:l}}},{key:"bindProgram",value:function(e){var t=this,n=0,r=e.gl,i=e.buffer;this.isInstanced?(r.bindBuffer(r.ARRAY_BUFFER,e.constantBuffer),n=0,this.CONSTANT_ATTRIBUTES.forEach((function(r){return n+=t.bindAttribute(r,e,n,!1)})),r.bufferData(r.ARRAY_BUFFER,this.constantArray,r.STATIC_DRAW),r.bindBuffer(r.ARRAY_BUFFER,e.buffer),n=0,this.ATTRIBUTES.forEach((function(r){return n+=t.bindAttribute(r,e,n,!0)})),r.bufferData(r.ARRAY_BUFFER,this.array,r.DYNAMIC_DRAW)):(r.bindBuffer(r.ARRAY_BUFFER,i),n=0,this.ATTRIBUTES.forEach((function(r){return n+=t.bindAttribute(r,e,n)})),r.bufferData(r.ARRAY_BUFFER,this.array,r.DYNAMIC_DRAW)),r.bindBuffer(r.ARRAY_BUFFER,null)}},{key:"unbindProgram",value:function(e){var t=this;this.isInstanced?(this.CONSTANT_ATTRIBUTES.forEach((function(n){return t.unbindAttribute(n,e,!1)})),this.ATTRIBUTES.forEach((function(n){return t.unbindAttribute(n,e,!0)}))):this.ATTRIBUTES.forEach((function(n){return t.unbindAttribute(n,e)}))}},{key:"bindAttribute",value:function(e,t,n,r){var i=y[e.type];if("number"!==typeof i)throw new Error('Program.bind: yet unsupported attribute type "'.concat(e.type,'"'));var o=t.attributeLocations[e.name],a=t.gl;if(-1!==o){a.enableVertexAttribArray(o);var s=this.isInstanced?(r?this.ATTRIBUTES_ITEMS_COUNT:d(this.CONSTANT_ATTRIBUTES))*Float32Array.BYTES_PER_ELEMENT:this.ATTRIBUTES_ITEMS_COUNT*Float32Array.BYTES_PER_ELEMENT;if(a.vertexAttribPointer(o,e.size,e.type,e.normalized||!1,s,n),this.isInstanced&&r)if(a instanceof WebGL2RenderingContext)a.vertexAttribDivisor(o,1);else{var l=a.getExtension("ANGLE_instanced_arrays");l&&l.vertexAttribDivisorANGLE(o,1)}}return e.size*i}},{key:"unbindAttribute",value:function(e,t,n){var r=t.attributeLocations[e.name],i=t.gl;if(-1!==r&&(i.disableVertexAttribArray(r),this.isInstanced&&n))if(i instanceof WebGL2RenderingContext)i.vertexAttribDivisor(r,0);else{var o=i.getExtension("ANGLE_instanced_arrays");o&&o.vertexAttribDivisorANGLE(r,0)}}},{key:"reallocate",value:function(e){e!==this.capacity&&(this.capacity=e,this.verticesCount=this.VERTICES*e,this.array=new Float32Array(this.isInstanced?this.capacity*this.ATTRIBUTES_ITEMS_COUNT:this.verticesCount*this.ATTRIBUTES_ITEMS_COUNT))}},{key:"hasNothingToRender",value:function(){return 0===this.verticesCount}},{key:"renderProgram",value:function(e,t){var n=t.gl,r=t.program;n.enable(n.BLEND),n.useProgram(r),this.setUniforms(e,t),this.drawWebGL(this.METHOD,t)}},{key:"render",value:function(e){this.hasNothingToRender()||(this.pickProgram&&(this.pickProgram.gl.viewport(0,0,e.width*e.pixelRatio/e.downSizingRatio,e.height*e.pixelRatio/e.downSizingRatio),this.bindProgram(this.pickProgram),this.renderProgram(s(s({},e),{},{pixelRatio:e.pixelRatio/e.downSizingRatio}),this.pickProgram),this.unbindProgram(this.pickProgram)),this.normalProgram.gl.viewport(0,0,e.width*e.pixelRatio,e.height*e.pixelRatio),this.bindProgram(this.normalProgram),this.renderProgram(e,this.normalProgram),this.unbindProgram(this.normalProgram))}},{key:"drawWebGL",value:function(e,t){var n=t.gl,r=t.frameBuffer;if(n.bindFramebuffer(n.FRAMEBUFFER,r),this.isInstanced)if(n instanceof WebGL2RenderingContext)n.drawArraysInstanced(e,0,this.VERTICES,this.capacity);else{var i=n.getExtension("ANGLE_instanced_arrays");i&&i.drawArraysInstancedANGLE(e,0,this.VERTICES,this.capacity)}else n.drawArrays(e,0,this.verticesCount)}}]),e}(),b=function(e){function t(){return(0,r.a)(this,t),(0,r.b)(this,t,arguments)}return(0,r._)(t,e),(0,r.d)(t,[{key:"kill",value:function(){u((0,r.e)(t.prototype),"kill",this).call(this)}},{key:"process",value:function(e,t,n){var r=t*this.STRIDE;if(!n.hidden)return this.processVisibleItem((0,i.i)(e),r,n);for(var o=r+this.STRIDE;r<o;r++)this.array[r]=0}}]),t}(_);var x=function(e){function t(){var e;(0,r.a)(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=(0,r.b)(this,t,[].concat(i)),o((0,r.c)(e),"drawLabel",void 0),e}return(0,r._)(t,e),(0,r.d)(t,[{key:"kill",value:function(){u((0,r.e)(t.prototype),"kill",this).call(this)}},{key:"process",value:function(e,t,n,r,o){var a=t*this.STRIDE;if(!(o.hidden||n.hidden||r.hidden))return this.processVisibleItem((0,i.i)(e),a,n,r,o);for(var s=a+this.STRIDE;a<s;a++)this.array[a]=0}}]),t}(_);function w(e,t){return function(){function n(i,a,s){(0,r.a)(this,n),o(this,"drawLabel",t),this.programs=e.map((function(e){return new e(i,a,s)}))}return(0,r.d)(n,[{key:"reallocate",value:function(e){this.programs.forEach((function(t){return t.reallocate(e)}))}},{key:"process",value:function(e,t,n,r,i){this.programs.forEach((function(o){return o.process(e,t,n,r,i)}))}},{key:"render",value:function(e){this.programs.forEach((function(t){return t.render(e)}))}},{key:"kill",value:function(){this.programs.forEach((function(e){return e.kill()}))}}]),n}()}function S(e,t,n,r,i){var o=i.edgeLabelSize,a=i.edgeLabelFont,s=i.edgeLabelWeight,l=i.edgeLabelColor.attribute?t[i.edgeLabelColor.attribute]||i.edgeLabelColor.color||"#000":i.edgeLabelColor.color,u=t.label;if(u){e.fillStyle=l,e.font="".concat(s," ").concat(o,"px ").concat(a);var c=n.size,d=r.size,h=n.x,f=n.y,p=r.x,v=r.y,g=(h+p)/2,m=(f+v)/2,y=p-h,_=v-f,b=Math.sqrt(y*y+_*_);if(!(b<c+d)){h+=y*c/b,f+=_*c/b,p-=y*d/b,v-=_*d/b,g=(h+p)/2,m=(f+v)/2,y=p-h,_=v-f,b=Math.sqrt(y*y+_*_);var x,w=e.measureText(u).width;if(w>b){var S="…";u+=S,w=e.measureText(u).width;while(w>b&&u.length>1)u=u.slice(0,-2)+S,w=e.measureText(u).width;if(u.length<4)return}x=y>0?_>0?Math.acos(y/b):Math.asin(_/b):_>0?Math.acos(y/b)+Math.PI:Math.asin(y/b)+Math.PI/2,e.save(),e.translate(g,m),e.rotate(x),e.fillText(u,-w/2,t.size/2+o),e.restore()}}}function k(e,t,n){if(t.label){var r=n.labelSize,i=n.labelFont,o=n.labelWeight,a=n.labelColor.attribute?t[n.labelColor.attribute]||n.labelColor.color||"#000":n.labelColor.color;e.fillStyle=a,e.font="".concat(o," ").concat(r,"px ").concat(i),e.fillText(t.label,t.x+t.size+3,t.y+r/3)}}function C(e,t,n){var r=n.labelSize,i=n.labelFont,o=n.labelWeight;e.font="".concat(o," ").concat(r,"px ").concat(i),e.fillStyle="#FFF",e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=8,e.shadowColor="#000";var a=2;if("string"===typeof t.label){var s=e.measureText(t.label).width,l=Math.round(s+5),u=Math.round(r+2*a),c=Math.max(t.size,r/2)+a,d=Math.asin(u/2/c),h=Math.sqrt(Math.abs(Math.pow(c,2)-Math.pow(u/2,2)));e.beginPath(),e.moveTo(t.x+h,t.y+u/2),e.lineTo(t.x+c+l,t.y+u/2),e.lineTo(t.x+c+l,t.y-u/2),e.lineTo(t.x+h,t.y-u/2),e.arc(t.x,t.y,c,d,-d),e.closePath(),e.fill()}else e.beginPath(),e.arc(t.x,t.y,t.size+a,0,2*Math.PI),e.closePath(),e.fill();e.shadowOffsetX=0,e.shadowOffsetY=0,e.shadowBlur=0,k(e,t,n)}var A="\nprecision highp float;\n\nvarying vec4 v_color;\nvarying vec2 v_diffVector;\nvarying float v_radius;\n\nuniform float u_correctionRatio;\n\nconst vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);\n\nvoid main(void) {\n float border = u_correctionRatio * 2.0;\n float dist = length(v_diffVector) - v_radius + border;\n\n // No antialiasing for picking mode:\n #ifdef PICKING_MODE\n if (dist > border)\n gl_FragColor = transparent;\n else\n gl_FragColor = v_color;\n\n #else\n float t = 0.0;\n if (dist > border)\n t = 1.0;\n else if (dist > 0.0)\n t = dist / border;\n\n gl_FragColor = mix(v_color, transparent, t);\n #endif\n}\n",T=A,E="\nattribute vec4 a_id;\nattribute vec4 a_color;\nattribute vec2 a_position;\nattribute float a_size;\nattribute float a_angle;\n\nuniform mat3 u_matrix;\nuniform float u_sizeRatio;\nuniform float u_correctionRatio;\n\nvarying vec4 v_color;\nvarying vec2 v_diffVector;\nvarying float v_radius;\nvarying float v_border;\n\nconst float bias = 255.0 / 254.0;\n\nvoid main() {\n float size = a_size * u_correctionRatio / u_sizeRatio * 4.0;\n vec2 diffVector = size * vec2(cos(a_angle), sin(a_angle));\n vec2 position = a_position + diffVector;\n gl_Position = vec4(\n (u_matrix * vec3(position, 1)).xy,\n 0,\n 1\n );\n\n v_diffVector = diffVector;\n v_radius = size / 2.0;\n\n #ifdef PICKING_MODE\n // For picking mode, we use the ID as the color:\n v_color = a_id;\n #else\n // For normal mode, we use the color:\n v_color = a_color;\n #endif\n\n v_color.a *= bias;\n}\n",M=E,I=WebGLRenderingContext,D=I.UNSIGNED_BYTE,R=I.FLOAT,L=["u_sizeRatio","u_correctionRatio","u_matrix"],O=function(e){function t(){return(0,r.a)(this,t),(0,r.b)(this,t,arguments)}return(0,r._)(t,e),(0,r.d)(t,[{key:"getDefinition",value:function(){return{VERTICES:3,VERTEX_SHADER_SOURCE:M,FRAGMENT_SHADER_SOURCE:T,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:L,ATTRIBUTES:[{name:"a_position",size:2,type:R},{name:"a_size",size:1,type:R},{name:"a_color",size:4,type:D,normalized:!0},{name:"a_id",size:4,type:D,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:"a_angle",size:1,type:R}],CONSTANT_DATA:[[t.ANGLE_1],[t.ANGLE_2],[t.ANGLE_3]]}}},{key:"processVisibleItem",value:function(e,t,n){var r=this.array,o=(0,i.f)(n.color);r[t++]=n.x,r[t++]=n.y,r[t++]=n.size,r[t++]=o,r[t++]=e}},{key:"setUniforms",value:function(e,t){var n=t.gl,r=t.uniformLocations,i=r.u_sizeRatio,o=r.u_correctionRatio,a=r.u_matrix;n.uniform1f(o,e.correctionRatio),n.uniform1f(i,e.sizeRatio),n.uniformMatrix3fv(a,!1,e.matrix)}}]),t}(b);o(O,"ANGLE_1",0),o(O,"ANGLE_2",2*Math.PI/3),o(O,"ANGLE_3",4*Math.PI/3);var P="\nprecision mediump float;\n\nvarying vec4 v_color;\n\nvoid main(void) {\n gl_FragColor = v_color;\n}\n",z=P,B="\nattribute vec2 a_position;\nattribute vec2 a_normal;\nattribute float a_radius;\nattribute vec3 a_barycentric;\n\n#ifdef PICKING_MODE\nattribute vec4 a_id;\n#else\nattribute vec4 a_color;\n#endif\n\nuniform mat3 u_matrix;\nuniform float u_sizeRatio;\nuniform float u_correctionRatio;\nuniform float u_minEdgeThickness;\nuniform float u_lengthToThicknessRatio;\nuniform float u_widenessToThicknessRatio;\n\nvarying vec4 v_color;\n\nconst float bias = 255.0 / 254.0;\n\nvoid main() {\n float minThickness = u_minEdgeThickness;\n\n float normalLength = length(a_normal);\n vec2 unitNormal = a_normal / normalLength;\n\n // These first computations are taken from edge.vert.glsl and\n // edge.clamped.vert.glsl. Please read it to get better comments on what's\n // happening:\n float pixelsThickness = max(normalLength / u_sizeRatio, minThickness);\n float webGLThickness = pixelsThickness * u_correctionRatio;\n float webGLNodeRadius = a_radius * 2.0 * u_correctionRatio / u_sizeRatio;\n float webGLArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;\n float webGLArrowHeadThickness = webGLThickness * u_widenessToThicknessRatio;\n\n float da = a_barycentric.x;\n float db = a_barycentric.y;\n float dc = a_barycentric.z;\n\n vec2 delta = vec2(\n da * (webGLNodeRadius * unitNormal.y)\n + db * ((webGLNodeRadius + webGLArrowHeadLength) * unitNormal.y + webGLArrowHeadThickness * unitNormal.x)\n + dc * ((webGLNodeRadius + webGLArrowHeadLength) * unitNormal.y - webGLArrowHeadThickness * unitNormal.x),\n\n da * (-webGLNodeRadius * unitNormal.x)\n + db * (-(webGLNodeRadius + webGLArrowHeadLength) * unitNormal.x + webGLArrowHeadThickness * unitNormal.y)\n + dc * (-(webGLNodeRadius + webGLArrowHeadLength) * unitNormal.x - webGLArrowHeadThickness * unitNormal.y)\n );\n\n vec2 position = (u_matrix * vec3(a_position + delta, 1)).xy;\n\n gl_Position = vec4(position, 0, 1);\n\n #ifdef PICKING_MODE\n // For picking mode, we use the ID as the color:\n v_color = a_id;\n #else\n // For normal mode, we use the color:\n v_color = a_color;\n #endif\n\n v_color.a *= bias;\n}\n",N=B,F=WebGLRenderingContext,q=F.UNSIGNED_BYTE,W=F.FLOAT,G=["u_matrix","u_sizeRatio","u_correctionRatio","u_minEdgeThickness","u_lengthToThicknessRatio","u_widenessToThicknessRatio"],V={lengthToThicknessRatio:2.5,widenessToThicknessRatio:2};function H(e){var t=s(s({},V),e||{});return function(e){function n(){return(0,r.a)(this,n),(0,r.b)(this,n,arguments)}return(0,r._)(n,e),(0,r.d)(n,[{key:"getDefinition",value:function(){return{VERTICES:3,VERTEX_SHADER_SOURCE:N,FRAGMENT_SHADER_SOURCE:z,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:G,ATTRIBUTES:[{name:"a_position",size:2,type:W},{name:"a_normal",size:2,type:W},{name:"a_radius",size:1,type:W},{name:"a_color",size:4,type:q,normalized:!0},{name:"a_id",size:4,type:q,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:"a_barycentric",size:3,type:W}],CONSTANT_DATA:[[1,0,0],[0,1,0],[0,0,1]]}}},{key:"processVisibleItem",value:function(e,t,n,r,o){var a=o.size||1,s=r.size||1,l=n.x,u=n.y,c=r.x,d=r.y,h=(0,i.f)(o.color),f=c-l,p=d-u,v=f*f+p*p,g=0,m=0;v&&(v=1/Math.sqrt(v),g=-p*v*a,m=f*v*a);var y=this.array;y[t++]=c,y[t++]=d,y[t++]=-g,y[t++]=-m,y[t++]=s,y[t++]=h,y[t++]=e}},{key:"setUniforms",value:function(e,n){var r=n.gl,i=n.uniformLocations,o=i.u_matrix,a=i.u_sizeRatio,s=i.u_correctionRatio,l=i.u_minEdgeThickness,u=i.u_lengthToThicknessRatio,c=i.u_widenessToThicknessRatio;r.uniformMatrix3fv(o,!1,e.matrix),r.uniform1f(a,e.sizeRatio),r.uniform1f(s,e.correctionRatio),r.uniform1f(l,e.minEdgeThickness),r.uniform1f(u,t.lengthToThicknessRatio),r.uniform1f(c,t.widenessToThicknessRatio)}}]),n}(x)}H();var j="\nprecision mediump float;\n\nvarying vec4 v_color;\nvarying vec2 v_normal;\nvarying float v_thickness;\nvarying float v_feather;\n\nconst vec4 transparent = vec4(0.0, 0.0, 0.0, 0.0);\n\nvoid main(void) {\n // We only handle antialiasing for normal mode:\n #ifdef PICKING_MODE\n gl_FragColor = v_color;\n #else\n float dist = length(v_normal) * v_thickness;\n\n float t = smoothstep(\n v_thickness - v_feather,\n v_thickness,\n dist\n );\n\n gl_FragColor = mix(v_color, transparent, t);\n #endif\n}\n",$=j,U="\nattribute vec4 a_id;\nattribute vec4 a_color;\nattribute vec2 a_normal;\nattribute float a_normalCoef;\nattribute vec2 a_positionStart;\nattribute vec2 a_positionEnd;\nattribute float a_positionCoef;\nattribute float a_radius;\nattribute float a_radiusCoef;\n\nuniform mat3 u_matrix;\nuniform float u_zoomRatio;\nuniform float u_sizeRatio;\nuniform float u_pixelRatio;\nuniform float u_correctionRatio;\nuniform float u_minEdgeThickness;\nuniform float u_lengthToThicknessRatio;\nuniform float u_feather;\n\nvarying vec4 v_color;\nvarying vec2 v_normal;\nvarying float v_thickness;\nvarying float v_feather;\n\nconst float bias = 255.0 / 254.0;\n\nvoid main() {\n float minThickness = u_minEdgeThickness;\n\n float radius = a_radius * a_radiusCoef;\n vec2 normal = a_normal * a_normalCoef;\n vec2 position = a_positionStart * (1.0 - a_positionCoef) + a_positionEnd * a_positionCoef;\n\n float normalLength = length(normal);\n vec2 unitNormal = normal / normalLength;\n\n // These first computations are taken from edge.vert.glsl. Please read it to\n // get better comments on what's happening:\n float pixelsThickness = max(normalLength, minThickness * u_sizeRatio);\n float webGLThickness = pixelsThickness * u_correctionRatio / u_sizeRatio;\n\n // Here, we move the point to leave space for the arrow head:\n float direction = sign(radius);\n float webGLNodeRadius = direction * radius * 2.0 * u_correctionRatio / u_sizeRatio;\n float webGLArrowHeadLength = webGLThickness * u_lengthToThicknessRatio * 2.0;\n\n vec2 compensationVector = vec2(-direction * unitNormal.y, direction * unitNormal.x) * (webGLNodeRadius + webGLArrowHeadLength);\n\n // Here is the proper position of the vertex\n gl_Position = vec4((u_matrix * vec3(position + unitNormal * webGLThickness + compensationVector, 1)).xy, 0, 1);\n\n v_thickness = webGLThickness / u_zoomRatio;\n\n v_normal = unitNormal;\n\n v_feather = u_feather * u_correctionRatio / u_zoomRatio / u_pixelRatio * 2.0;\n\n #ifdef PICKING_MODE\n // For picking mode, we use the ID as the color:\n v_color = a_id;\n #else\n // For normal mode, we use the color:\n v_color = a_color;\n #endif\n\n v_color.a *= bias;\n}\n",K=U,X=WebGLRenderingContext,Y=X.UNSIGNED_BYTE,Z=X.FLOAT,Q=["u_matrix","u_zoomRatio","u_sizeRatio","u_correctionRatio","u_pixelRatio","u_feather","u_minEdgeThickness","u_lengthToThicknessRatio"],J={lengthToThicknessRatio:V.lengthToThicknessRatio};function ee(e){var t=s(s({},J),e||{});return function(e){function n(){return(0,r.a)(this,n),(0,r.b)(this,n,arguments)}return(0,r._)(n,e),(0,r.d)(n,[{key:"getDefinition",value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:K,FRAGMENT_SHADER_SOURCE:$,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:Q,ATTRIBUTES:[{name:"a_positionStart",size:2,type:Z},{name:"a_positionEnd",size:2,type:Z},{name:"a_normal",size:2,type:Z},{name:"a_color",size:4,type:Y,normalized:!0},{name:"a_id",size:4,type:Y,normalized:!0},{name:"a_radius",size:1,type:Z}],CONSTANT_ATTRIBUTES:[{name:"a_positionCoef",size:1,type:Z},{name:"a_normalCoef",size:1,type:Z},{name:"a_radiusCoef",size:1,type:Z}],CONSTANT_DATA:[[0,1,0],[0,-1,0],[1,1,1],[1,1,1],[0,-1,0],[1,-1,-1]]}}},{key:"processVisibleItem",value:function(e,t,n,r,o){var a=o.size||1,s=n.x,l=n.y,u=r.x,c=r.y,d=(0,i.f)(o.color),h=u-s,f=c-l,p=r.size||1,v=h*h+f*f,g=0,m=0;v&&(v=1/Math.sqrt(v),g=-f*v*a,m=h*v*a);var y=this.array;y[t++]=s,y[t++]=l,y[t++]=u,y[t++]=c,y[t++]=g,y[t++]=m,y[t++]=d,y[t++]=e,y[t++]=p}},{key:"setUniforms",value:function(e,n){var r=n.gl,i=n.uniformLocations,o=i.u_matrix,a=i.u_zoomRatio,s=i.u_feather,l=i.u_pixelRatio,u=i.u_correctionRatio,c=i.u_sizeRatio,d=i.u_minEdgeThickness,h=i.u_lengthToThicknessRatio;r.uniformMatrix3fv(o,!1,e.matrix),r.uniform1f(a,e.zoomRatio),r.uniform1f(c,e.sizeRatio),r.uniform1f(u,e.correctionRatio),r.uniform1f(l,e.pixelRatio),r.uniform1f(s,e.antiAliasingFeather),r.uniform1f(d,e.minEdgeThickness),r.uniform1f(h,t.lengthToThicknessRatio)}}]),n}(x)}function te(e){return w([ee(e),H(e)])}ee();var ne=te(),re=ne,ie='\nattribute vec4 a_id;\nattribute vec4 a_color;\nattribute vec2 a_normal;\nattribute float a_normalCoef;\nattribute vec2 a_positionStart;\nattribute vec2 a_positionEnd;\nattribute float a_positionCoef;\n\nuniform mat3 u_matrix;\nuniform float u_sizeRatio;\nuniform float u_zoomRatio;\nuniform float u_pixelRatio;\nuniform float u_correctionRatio;\nuniform float u_minEdgeThickness;\nuniform float u_feather;\n\nvarying vec4 v_color;\nvarying vec2 v_normal;\nvarying float v_thickness;\nvarying float v_feather;\n\nconst float bias = 255.0 / 254.0;\n\nvoid main() {\n float minThickness = u_minEdgeThickness;\n\n vec2 normal = a_normal * a_normalCoef;\n vec2 position = a_positionStart * (1.0 - a_positionCoef) + a_positionEnd * a_positionCoef;\n\n float normalLength = length(normal);\n vec2 unitNormal = normal / normalLength;\n\n // We require edges to be at least "minThickness" pixels thick *on screen*\n // (so we need to compensate the size ratio):\n float pixelsThickness = max(normalLength, minThickness * u_sizeRatio);\n\n // Then, we need to retrieve the normalized thickness of the edge in the WebGL\n // referential (in a ([0, 1], [0, 1]) space), using our "magic" correction\n // ratio:\n float webGLThickness = pixelsThickness * u_correctionRatio / u_sizeRatio;\n\n // Here is the proper position of the vertex\n gl_Position = vec4((u_matrix * vec3(position + unitNormal * webGLThickness, 1)).xy, 0, 1);\n\n // For the fragment shader though, we need a thickness that takes the "magic"\n // correction ratio into account (as in webGLThickness), but so that the\n // antialiasing effect does not depend on the zoom level. So here\'s yet\n // another thickness version:\n v_thickness = webGLThickness / u_zoomRatio;\n\n v_normal = unitNormal;\n\n v_feather = u_feather * u_correctionRatio / u_zoomRatio / u_pixelRatio * 2.0;\n\n #ifdef PICKING_MODE\n // For picking mode, we use the ID as the color:\n v_color = a_id;\n #else\n // For normal mode, we use the color:\n v_color = a_color;\n #endif\n\n v_color.a *= bias;\n}\n',oe=ie,ae=WebGLRenderingContext,se=ae.UNSIGNED_BYTE,le=ae.FLOAT,ue=["u_matrix","u_zoomRatio","u_sizeRatio","u_correctionRatio","u_pixelRatio","u_feather","u_minEdgeThickness"],ce=function(e){function t(){return(0,r.a)(this,t),(0,r.b)(this,t,arguments)}return(0,r._)(t,e),(0,r.d)(t,[{key:"getDefinition",value:function(){return{VERTICES:6,VERTEX_SHADER_SOURCE:oe,FRAGMENT_SHADER_SOURCE:$,METHOD:WebGLRenderingContext.TRIANGLES,UNIFORMS:ue,ATTRIBUTES:[{name:"a_positionStart",size:2,type:le},{name:"a_positionEnd",size:2,type:le},{name:"a_normal",size:2,type:le},{name:"a_color",size:4,type:se,normalized:!0},{name:"a_id",size:4,type:se,normalized:!0}],CONSTANT_ATTRIBUTES:[{name:"a_positionCoef",size:1,type:le},{name:"a_normalCoef",size:1,type:le}],CONSTANT_DATA:[[0,1],[0,-1],[1,1],[1,1],[0,-1],[1,-1]]}}},{key:"processVisibleItem",value:function(e,t,n,r,o){var a=o.size||1,s=n.x,l=n.y,u=r.x,c=r.y,d=(0,i.f)(o.color),h=u-s,f=c-l,p=h*h+f*f,v=0,g=0;p&&(p=1/Math.sqrt(p),v=-f*p*a,g=h*p*a);var m=this.array;m[t++]=s,m[t++]=l,m[t++]=u,m[t++]=c,m[t++]=v,m[t++]=g,m[t++]=d,m[t++]=e}},{key:"setUniforms",value:function(e,t){var n=t.gl,r=t.uniformLocations,i=r.u_matrix,o=r.u_zoomRatio,a=r.u_feather,s=r.u_pixelRatio,l=r.u_correctionRatio,u=r.u_sizeRatio,c=r.u_minEdgeThickness;n.uniformMatrix3fv(i,!1,e.matrix),n.uniform1f(o,e.zoomRatio),n.uniform1f(u,e.sizeRatio),n.uniform1f(l,e.correctionRatio),n.uniform1f(s,e.pixelRatio),n.uniform1f(a,e.antiAliasingFeather),n.uniform1f(c,e.minEdgeThickness)}}]),t}(x)},7954:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function o(e){var t=i(e,"string");return"symbol"==typeof t?t:String(t)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){if(t&&("object"===typeof t||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return c(e)}function h(e,t,n){return t=l(t),d(e,u()?Reflect.construct(t,n||[],l(e).constructor):t.apply(e,n))}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}n.d(t,{_:()=>p,a:()=>r,b:()=>h,c:()=>c,d:()=>s,e:()=>l,t:()=>o})},1522:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Ae});var r=n(7954),i=n(4933),o=n(640),a=function(e){function t(){var e;return(0,r.a)(this,t),e=(0,r.b)(this,t),e.rawEmitter=(0,r.c)(e),e}return(0,r._)(t,e),(0,r.d)(t)}(o.EventEmitter),s=n(9235),l=n.n(s),u=n(4614),c=function(e){return e},d=function(e){return e*e},h=function(e){return e*(2-e)},f=function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},p=function(e){return e*e*e},v=function(e){return--e*e*e+1},g=function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},m={linear:c,quadraticIn:d,quadraticOut:h,quadraticInOut:f,cubicIn:p,cubicOut:v,cubicInOut:g},y={easing:"quadraticInOut",duration:150};function _(){return Float32Array.of(1,0,0,0,1,0,0,0,1)}function b(e,t,n){return e[0]=t,e[4]="number"===typeof n?n:t,e}function x(e,t){var n=Math.sin(t),r=Math.cos(t);return e[0]=r,e[1]=n,e[3]=-n,e[4]=r,e}function w(e,t,n){return e[6]=t,e[7]=n,e}function S(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],d=t[0],h=t[1],f=t[2],p=t[3],v=t[4],g=t[5],m=t[6],y=t[7],_=t[8];return e[0]=d*n+h*o+f*l,e[1]=d*r+h*a+f*u,e[2]=d*i+h*s+f*c,e[3]=p*n+v*o+g*l,e[4]=p*r+v*a+g*u,e[5]=p*i+v*s+g*c,e[6]=m*n+y*o+_*l,e[7]=m*r+y*a+_*u,e[8]=m*i+y*s+_*c,e}function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=e[0],i=e[1],o=e[3],a=e[4],s=e[6],l=e[7],u=t.x,c=t.y;return{x:u*r+c*o+s*n,y:u*i+c*a+l*n}}function C(e,t){var n=e.height/e.width,r=t.height/t.width;return n<1&&r>1||n>1&&r<1?1:Math.min(Math.max(r,1/r),Math.max(1/n,n))}function A(e,t,n,r,i){var o=e.angle,a=e.ratio,s=e.x,l=e.y,u=t.width,c=t.height,d=_(),h=Math.min(u,c)-2*r,f=C(t,n);return i?(S(d,w(_(),s,l)),S(d,b(_(),a)),S(d,x(_(),o)),S(d,b(_(),u/h/2/f,c/h/2/f))):(S(d,b(_(),h/u*2*f,h/c*2*f)),S(d,x(_(),-o)),S(d,b(_(),1/a)),S(d,w(_(),-s,-l))),d}function T(e,t,n){var r=k(e,{x:Math.cos(t.angle),y:Math.sin(t.angle)},0),i=r.x,o=r.y;return 1/Math.sqrt(Math.pow(i,2)+Math.pow(o,2))/n.width}function E(e){if(!e.order)return{x:[0,1],y:[0,1]};var t=1/0,n=-1/0,r=1/0,i=-1/0;return e.forEachNode((function(e,o){var a=o.x,s=o.y;a<t&&(t=a),a>n&&(n=a),s<r&&(r=s),s>i&&(i=s)})),{x:[t,n],y:[r,i]}}function M(e){if(!l()(e))throw new Error("Sigma: invalid graph instance.");e.forEachNode((function(e,t){if(!Number.isFinite(t.x)||!Number.isFinite(t.y))throw new Error("Sigma: Coordinates of node ".concat(e," are invalid. A node must have a numeric 'x' and 'y' attribute."))}))}function I(e,t,n){var r=document.createElement(e);if(t)for(var i in t)r.style[i]=t[i];if(n)for(var o in n)r.setAttribute(o,n[o]);return r}function D(){return"undefined"!==typeof window.devicePixelRatio?window.devicePixelRatio:1}function R(e,t,n){return n.sort((function(e,n){var r=t(e)||0,i=t(n)||0;return r<i?-1:r>i?1:0}))}function L(e){var t=(0,u._)(e.x,2),n=t[0],r=t[1],i=(0,u._)(e.y,2),o=i[0],a=i[1],s=Math.max(r-n,a-o),l=(r+n)/2,c=(a+o)/2;(0===s||Math.abs(s)===1/0||isNaN(s))&&(s=1),isNaN(l)&&(l=0),isNaN(c)&&(c=0);var d=function(e){return{x:.5+(e.x-l)/s,y:.5+(e.y-c)/s}};return d.applyTo=function(e){e.x=.5+(e.x-l)/s,e.y=.5+(e.y-c)/s},d.inverse=function(e){return{x:l+s*(e.x-.5),y:c+s*(e.y-.5)}},d.ratio=s,d}function O(e,t){var n=t.size;if(0!==n){var r=e.length;e.length+=n;var i=0;t.forEach((function(t){e[r+i]=t,i++}))}}function P(e){e=e||{};for(var t=0,n=arguments.length<=1?0:arguments.length-1;t<n;t++){var r=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];r&&Object.assign(e,r)}return e}var z={hideEdgesOnMove:!1,hideLabelsOnMove:!1,renderLabels:!0,renderEdgeLabels:!1,enableEdgeEvents:!1,defaultNodeColor:"#999",defaultNodeType:"circle",defaultEdgeColor:"#ccc",defaultEdgeType:"line",labelFont:"Arial",labelSize:14,labelWeight:"normal",labelColor:{color:"#000"},edgeLabelFont:"Arial",edgeLabelSize:14,edgeLabelWeight:"normal",edgeLabelColor:{attribute:"color"},stagePadding:30,zoomToSizeRatioFunction:Math.sqrt,itemSizesReference:"screen",defaultDrawEdgeLabel:i.d,defaultDrawNodeLabel:i.b,defaultDrawNodeHover:i.c,minEdgeThickness:1.7,antiAliasingFeather:1,labelDensity:1,labelGridCellSize:100,labelRenderedSizeThreshold:6,nodeReducer:null,edgeReducer:null,zIndex:!1,minCameraRatio:null,maxCameraRatio:null,enableCameraRotation:!0,allowInvalidContainer:!1,nodeProgramClasses:{},nodeHoverProgramClasses:{},edgeProgramClasses:{}},B={circle:i.N},N={arrow:i.E,line:i.e};function F(e){if("number"!==typeof e.labelDensity||e.labelDensity<0)throw new Error("Settings: invalid `labelDensity`. Expecting a positive number.");var t=e.minCameraRatio,n=e.maxCameraRatio;if("number"===typeof t&&"number"===typeof n&&n<t)throw new Error("Settings: invalid camera ratio boundaries. Expecting `maxCameraRatio` to be greater than `minCameraRatio`.")}function q(e){var t=P({},z,e);return t.nodeProgramClasses=P({},B,t.nodeProgramClasses),t.edgeProgramClasses=P({},N,t.edgeProgramClasses),t}var W=1.5,G=function(e){function t(){var e;return(0,r.a)(this,t),e=(0,r.b)(this,t),(0,i._)((0,r.c)(e),"x",.5),(0,i._)((0,r.c)(e),"y",.5),(0,i._)((0,r.c)(e),"angle",0),(0,i._)((0,r.c)(e),"ratio",1),(0,i._)((0,r.c)(e),"minRatio",null),(0,i._)((0,r.c)(e),"maxRatio",null),(0,i._)((0,r.c)(e),"enabledRotation",!0),(0,i._)((0,r.c)(e),"nextFrame",null),(0,i._)((0,r.c)(e),"previousState",null),(0,i._)((0,r.c)(e),"enabled",!0),e.previousState=e.getState(),e}return(0,r._)(t,e),(0,r.d)(t,[{key:"enable",value:function(){return this.enabled=!0,this}},{key:"disable",value:function(){return this.enabled=!1,this}},{key:"getState",value:function(){return{x:this.x,y:this.y,angle:this.angle,ratio:this.ratio}}},{key:"hasState",value:function(e){return this.x===e.x&&this.y===e.y&&this.ratio===e.ratio&&this.angle===e.angle}},{key:"getPreviousState",value:function(){var e=this.previousState;return e?{x:e.x,y:e.y,angle:e.angle,ratio:e.ratio}:null}},{key:"getBoundedRatio",value:function(e){var t=e;return"number"===typeof this.minRatio&&(t=Math.max(t,this.minRatio)),"number"===typeof this.maxRatio&&(t=Math.min(t,this.maxRatio)),t}},{key:"validateState",value:function(e){var t={};return"number"===typeof e.x&&(t.x=e.x),"number"===typeof e.y&&(t.y=e.y),this.enabledRotation&&"number"===typeof e.angle&&(t.angle=e.angle),"number"===typeof e.ratio&&(t.ratio=this.getBoundedRatio(e.ratio)),t}},{key:"isAnimated",value:function(){return!!this.nextFrame}},{key:"setState",value:function(e){if(!this.enabled)return this;this.previousState=this.getState();var t=this.validateState(e);return"number"===typeof t.x&&(this.x=t.x),"number"===typeof t.y&&(this.y=t.y),this.enabledRotation&&"number"===typeof t.angle&&(this.angle=t.angle),"number"===typeof t.ratio&&(this.ratio=t.ratio),this.hasState(this.previousState)||this.emit("updated",this.getState()),this}},{key:"updateState",value:function(e){return this.setState(e(this.getState())),this}},{key:"animate",value:function(e,t,n){var r=this;if(this.enabled){var i=Object.assign({},y,t),o=this.validateState(e),a="function"===typeof i.easing?i.easing:m[i.easing],s=Date.now(),l=this.getState(),u=function e(){var t=(Date.now()-s)/i.duration;if(t>=1)return r.nextFrame=null,r.setState(o),void(r.animationCallback&&(r.animationCallback.call(null),r.animationCallback=void 0));var n=a(t),u={};"number"===typeof o.x&&(u.x=l.x+(o.x-l.x)*n),"number"===typeof o.y&&(u.y=l.y+(o.y-l.y)*n),r.enabledRotation&&"number"===typeof o.angle&&(u.angle=l.angle+(o.angle-l.angle)*n),"number"===typeof o.ratio&&(u.ratio=l.ratio+(o.ratio-l.ratio)*n),r.setState(u),r.nextFrame=requestAnimationFrame(e)};this.nextFrame?(cancelAnimationFrame(this.nextFrame),this.animationCallback&&this.animationCallback.call(null),this.nextFrame=requestAnimationFrame(u)):u(),this.animationCallback=n}}},{key:"animatedZoom",value:function(e){if(e){if("number"===typeof e)return this.animate({ratio:this.ratio/e});this.animate({ratio:this.ratio/(e.factor||W)},e)}else this.animate({ratio:this.ratio/W})}},{key:"animatedUnzoom",value:function(e){if(e){if("number"===typeof e)return this.animate({ratio:this.ratio*e});this.animate({ratio:this.ratio*(e.factor||W)},e)}else this.animate({ratio:this.ratio*W})}},{key:"animatedReset",value:function(e){this.animate({x:.5,y:.5,ratio:1,angle:0},e)}},{key:"copy",value:function(){return t.from(this.getState())}}],[{key:"from",value:function(e){var n=new t;return n.setState(e)}}]),t}(a);function V(e,t){var n=t.getBoundingClientRect();return{x:e.clientX-n.left,y:e.clientY-n.top}}function H(e,t){var n=(0,i.a)((0,i.a)({},V(e,t)),{},{sigmaDefaultPrevented:!1,preventSigmaDefault:function(){n.sigmaDefaultPrevented=!0},original:e});return n}function j(e,t){return(0,i.a)((0,i.a)({},H(e,t)),{},{delta:X(e)})}var $=2;function U(e){for(var t=[],n=0,r=Math.min(e.length,$);n<r;n++)t.push(e[n]);return t}function K(e,t){return{touches:U(e.touches).map((function(e){return V(e,t)})),original:e}}function X(e){if("undefined"!==typeof e.deltaY)return-3*e.deltaY/360;if("undefined"!==typeof e.detail)return e.detail/-9;throw new Error("Captor: could not extract delta from event.")}var Y=function(e){function t(e,n){var i;return(0,r.a)(this,t),i=(0,r.b)(this,t),i.container=e,i.renderer=n,i}return(0,r._)(t,e),(0,r.d)(t)}(a),Z=100,Q=3,J=200,ee=3,te=250,ne=1.7,re=300,ie=2.2,oe=200,ae=function(e){function t(e,n){var o;return(0,r.a)(this,t),o=(0,r.b)(this,t,[e,n]),(0,i._)((0,r.c)(o),"enabled",!0),(0,i._)((0,r.c)(o),"draggedEvents",0),(0,i._)((0,r.c)(o),"downStartTime",null),(0,i._)((0,r.c)(o),"lastMouseX",null),(0,i._)((0,r.c)(o),"lastMouseY",null),(0,i._)((0,r.c)(o),"isMouseDown",!1),(0,i._)((0,r.c)(o),"isMoving",!1),(0,i._)((0,r.c)(o),"movingTimeout",null),(0,i._)((0,r.c)(o),"startCameraState",null),(0,i._)((0,r.c)(o),"clicks",0),(0,i._)((0,r.c)(o),"doubleClickTimeout",null),(0,i._)((0,r.c)(o),"currentWheelDirection",0),o.handleClick=o.handleClick.bind((0,r.c)(o)),o.handleRightClick=o.handleRightClick.bind((0,r.c)(o)),o.handleDown=o.handleDown.bind((0,r.c)(o)),o.handleUp=o.handleUp.bind((0,r.c)(o)),o.handleMove=o.handleMove.bind((0,r.c)(o)),o.handleWheel=o.handleWheel.bind((0,r.c)(o)),o.handleLeave=o.handleLeave.bind((0,r.c)(o)),o.handleEnter=o.handleEnter.bind((0,r.c)(o)),e.addEventListener("click",o.handleClick,!1),e.addEventListener("contextmenu",o.handleRightClick,!1),e.addEventListener("mousedown",o.handleDown,!1),e.addEventListener("wheel",o.handleWheel,!1),e.addEventListener("mouseleave",o.handleLeave,!1),e.addEventListener("mouseenter",o.handleEnter,!1),document.addEventListener("mousemove",o.handleMove,!1),document.addEventListener("mouseup",o.handleUp,!1),o}return(0,r._)(t,e),(0,r.d)(t,[{key:"kill",value:function(){var e=this.container;e.removeEventListener("click",this.handleClick),e.removeEventListener("contextmenu",this.handleRightClick),e.removeEventListener("mousedown",this.handleDown),e.removeEventListener("wheel",this.handleWheel),e.removeEventListener("mouseleave",this.handleLeave),e.removeEventListener("mouseenter",this.handleEnter),document.removeEventListener("mousemove",this.handleMove),document.removeEventListener("mouseup",this.handleUp)}},{key:"handleClick",value:function(e){var t=this;if(this.enabled){if(this.clicks++,2===this.clicks)return this.clicks=0,"number"===typeof this.doubleClickTimeout&&(clearTimeout(this.doubleClickTimeout),this.doubleClickTimeout=null),this.handleDoubleClick(e);setTimeout((function(){t.clicks=0,t.doubleClickTimeout=null}),re),this.draggedEvents<Q&&this.emit("click",H(e,this.container))}}},{key:"handleRightClick",value:function(e){this.enabled&&this.emit("rightClick",H(e,this.container))}},{key:"handleDoubleClick",value:function(e){if(this.enabled){e.preventDefault(),e.stopPropagation();var t=H(e,this.container);if(this.emit("doubleClick",t),!t.sigmaDefaultPrevented){var n=this.renderer.getCamera(),r=n.getBoundedRatio(n.getState().ratio/ie);n.animate(this.renderer.getViewportZoomedState(V(e,this.container),r),{easing:"quadraticInOut",duration:oe})}}}},{key:"handleDown",value:function(e){if(this.enabled){if(0===e.button){this.startCameraState=this.renderer.getCamera().getState();var t=V(e,this.container),n=t.x,r=t.y;this.lastMouseX=n,this.lastMouseY=r,this.draggedEvents=0,this.downStartTime=Date.now(),this.isMouseDown=!0}this.emit("mousedown",H(e,this.container))}}},{key:"handleUp",value:function(e){var t=this;if(this.enabled&&this.isMouseDown){var n=this.renderer.getCamera();this.isMouseDown=!1,"number"===typeof this.movingTimeout&&(clearTimeout(this.movingTimeout),this.movingTimeout=null);var r=V(e,this.container),i=r.x,o=r.y,a=n.getState(),s=n.getPreviousState()||{x:0,y:0};this.isMoving?n.animate({x:a.x+ee*(a.x-s.x),y:a.y+ee*(a.y-s.y)},{duration:J,easing:"quadraticOut"}):this.lastMouseX===i&&this.lastMouseY===o||n.setState({x:a.x,y:a.y}),this.isMoving=!1,setTimeout((function(){var e=t.draggedEvents>0;t.draggedEvents=0,e&&t.renderer.refresh()}),0),this.emit("mouseup",H(e,this.container))}}},{key:"handleMove",value:function(e){var t=this;if(this.enabled){var n=H(e,this.container);if(this.emit("mousemovebody",n),e.target!==this.container&&e.composedPath()[0]!==this.container||this.emit("mousemove",n),!n.sigmaDefaultPrevented&&this.isMouseDown){this.isMoving=!0,this.draggedEvents++,"number"===typeof this.movingTimeout&&clearTimeout(this.movingTimeout),this.movingTimeout=window.setTimeout((function(){t.movingTimeout=null,t.isMoving=!1}),Z);var r=this.renderer.getCamera(),i=V(e,this.container),o=i.x,a=i.y,s=this.renderer.viewportToFramedGraph({x:this.lastMouseX,y:this.lastMouseY}),l=this.renderer.viewportToFramedGraph({x:o,y:a}),u=s.x-l.x,c=s.y-l.y,d=r.getState(),h=d.x+u,f=d.y+c;r.setState({x:h,y:f}),this.lastMouseX=o,this.lastMouseY=a,e.preventDefault(),e.stopPropagation()}}}},{key:"handleLeave",value:function(e){this.emit("mouseleave",H(e,this.container))}},{key:"handleEnter",value:function(e){this.emit("mouseenter",H(e,this.container))}},{key:"handleWheel",value:function(e){var t=this;if(this.enabled){e.preventDefault(),e.stopPropagation();var n=X(e);if(n){var r=j(e,this.container);if(this.emit("wheel",r),!r.sigmaDefaultPrevented){var i=n>0?1/ne:ne,o=this.renderer.getCamera(),a=o.getBoundedRatio(o.getState().ratio*i),s=n>0?1:-1,l=Date.now();this.currentWheelDirection===s&&this.lastWheelTriggerTime&&l-this.lastWheelTriggerTime<te/5||(o.animate(this.renderer.getViewportZoomedState(V(e,this.container),a),{easing:"quadraticOut",duration:te},(function(){t.currentWheelDirection=0})),this.currentWheelDirection=s,this.lastWheelTriggerTime=l)}}}}}]),t}(Y),se=200,le=3,ue=200,ce=function(e){function t(e,n){var o;return(0,r.a)(this,t),o=(0,r.b)(this,t,[e,n]),(0,i._)((0,r.c)(o),"enabled",!0),(0,i._)((0,r.c)(o),"isMoving",!1),(0,i._)((0,r.c)(o),"hasMoved",!1),(0,i._)((0,r.c)(o),"touchMode",0),(0,i._)((0,r.c)(o),"startTouchesPositions",[]),o.handleStart=o.handleStart.bind((0,r.c)(o)),o.handleLeave=o.handleLeave.bind((0,r.c)(o)),o.handleMove=o.handleMove.bind((0,r.c)(o)),e.addEventListener("touchstart",o.handleStart,!1),e.addEventListener("touchend",o.handleLeave,!1),e.addEventListener("touchcancel",o.handleLeave,!1),e.addEventListener("touchmove",o.handleMove,!1),o}return(0,r._)(t,e),(0,r.d)(t,[{key:"kill",value:function(){var e=this.container;e.removeEventListener("touchstart",this.handleStart),e.removeEventListener("touchend",this.handleLeave),e.removeEventListener("touchcancel",this.handleLeave),e.removeEventListener("touchmove",this.handleMove)}},{key:"getDimensions",value:function(){return{width:this.container.offsetWidth,height:this.container.offsetHeight}}},{key:"dispatchRelatedMouseEvent",value:function(e,t,n,r){var i=n||t.touches[0],o=new MouseEvent(e,{clientX:i.clientX,clientY:i.clientY,altKey:t.altKey,ctrlKey:t.ctrlKey});o.isFakeSigmaMouseEvent=!0,(r||this.container).dispatchEvent(o)}},{key:"handleStart",value:function(e){var t=this;if(this.enabled){e.preventDefault(),1===e.touches.length&&this.dispatchRelatedMouseEvent("mousedown",e);var n=U(e.touches);if(this.touchMode=n.length,this.startCameraState=this.renderer.getCamera().getState(),this.startTouchesPositions=n.map((function(e){return V(e,t.container)})),this.lastTouches=n,this.lastTouchesPositions=this.startTouchesPositions,2===this.touchMode){var r=(0,u._)(this.startTouchesPositions,2),i=r[0],o=i.x,a=i.y,s=r[1],l=s.x,c=s.y;this.startTouchesAngle=Math.atan2(c-a,l-o),this.startTouchesDistance=Math.sqrt(Math.pow(l-o,2)+Math.pow(c-a,2))}this.emit("touchdown",K(e,this.container))}}},{key:"handleLeave",value:function(e){if(this.enabled){switch(e.preventDefault(),0===e.touches.length&&this.lastTouches&&this.lastTouches.length&&(this.dispatchRelatedMouseEvent("mouseup",e,this.lastTouches[0],document),this.hasMoved||this.dispatchRelatedMouseEvent("click",e,this.lastTouches[0])),this.movingTimeout&&(this.isMoving=!1,clearTimeout(this.movingTimeout)),this.touchMode){case 2:if(1===e.touches.length){this.handleStart(e),e.preventDefault();break}case 1:if(this.isMoving){var t=this.renderer.getCamera(),n=t.getState(),r=t.getPreviousState()||{x:0,y:0};t.animate({x:n.x+le*(n.x-r.x),y:n.y+le*(n.y-r.y)},{duration:ue,easing:"quadraticOut"})}this.hasMoved=!1,this.isMoving=!1,this.touchMode=0;break}this.emit("touchup",K(e,this.container))}}},{key:"handleMove",value:function(e){var t=this;if(this.enabled){e.preventDefault(),1===e.touches.length&&this.dispatchRelatedMouseEvent("mousemove",e);var n=U(e.touches),r=n.map((function(e){return V(e,t.container)}));if(this.lastTouches=n,this.lastTouchesPositions=r,this.hasMoved||(this.hasMoved=r.some((function(e,n){var r=t.startTouchesPositions[n];return e.x!==r.x||e.y!==r.y}))),this.hasMoved){this.isMoving=!0,this.movingTimeout&&clearTimeout(this.movingTimeout),this.movingTimeout=window.setTimeout((function(){t.isMoving=!1}),se);var i=this.renderer.getCamera(),o=this.startCameraState;switch(this.touchMode){case 1:var a=this.renderer.viewportToFramedGraph((this.startTouchesPositions||[])[0]),s=a.x,l=a.y,u=this.renderer.viewportToFramedGraph(r[0]),c=u.x,d=u.y;i.setState({x:o.x+s-c,y:o.y+l-d});break;case 2:var h={},f=r[0],p=f.x,v=f.y,g=r[1],m=g.x,y=g.y,_=Math.atan2(y-v,m-p)-this.startTouchesAngle,b=Math.hypot(y-v,m-p)/this.startTouchesDistance,x=i.getBoundedRatio(o.ratio/b);h.ratio=x,h.angle=o.angle+_;var w=this.getDimensions(),S=this.renderer.viewportToFramedGraph((this.startTouchesPositions||[])[0],{cameraState:o}),k=Math.min(w.width,w.height),C=k/w.width,A=k/w.height,T=x/k,E=p-k/2/C,M=v-k/2/A,I=[E*Math.cos(-h.angle)-M*Math.sin(-h.angle),M*Math.cos(-h.angle)+E*Math.sin(-h.angle)];E=I[0],M=I[1],h.x=S.x-E*T,h.y=S.y+M*T,i.setState(h);break}this.emit("touchmove",K(e,this.container))}}}}]),t}(Y);function de(e){if(Array.isArray(e))return(0,u.a)(e)}function he(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function fe(){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 pe(e){return de(e)||he(e)||(0,u.b)(e)||fe()}function ve(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function ge(e,t){if(null==e)return{};var n,r,i=ve(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var me=function(){function e(t,n){(0,r.a)(this,e),this.key=t,this.size=n}return(0,r.d)(e,null,[{key:"compare",value:function(e,t){return e.size>t.size?-1:e.size<t.size||e.key>t.key?1:-1}}]),e}(),ye=function(){function e(){(0,r.a)(this,e),(0,i._)(this,"width",0),(0,i._)(this,"height",0),(0,i._)(this,"cellSize",0),(0,i._)(this,"columns",0),(0,i._)(this,"rows",0),(0,i._)(this,"cells",{})}return(0,r.d)(e,[{key:"resizeAndClear",value:function(e,t){this.width=e.width,this.height=e.height,this.cellSize=t,this.columns=Math.ceil(e.width/t),this.rows=Math.ceil(e.height/t),this.cells={}}},{key:"getIndex",value:function(e){var t=Math.floor(e.x/this.cellSize),n=Math.floor(e.y/this.cellSize);return n*this.columns+t}},{key:"add",value:function(e,t,n){var r=new me(e,t),i=this.getIndex(n),o=this.cells[i];o||(o=[],this.cells[i]=o),o.push(r)}},{key:"organize",value:function(){for(var e in this.cells){var t=this.cells[e];t.sort(me.compare)}}},{key:"getLabelsToDisplay",value:function(e,t){var n=this.cellSize*this.cellSize,r=n/e/e,i=r*t/n,o=Math.ceil(i),a=[];for(var s in this.cells)for(var l=this.cells[s],u=0;u<Math.min(o,l.length);u++)a.push(l[u].key);return a}}]),e}();function _e(e){var t=e.graph,n=e.hoveredNode,r=e.highlightedNodes,i=e.displayedNodeLabels,o=[];return t.forEachEdge((function(e,t,a,s){(a===n||s===n||r.has(a)||r.has(s)||i.has(a)&&i.has(s))&&o.push(e)})),o}var be=150,xe=50,we=Object.prototype.hasOwnProperty;function Se(e,t,n){if(!we.call(n,"x")||!we.call(n,"y"))throw new Error('Sigma: could not find a valid position (x, y) for node "'.concat(t,'". All your nodes must have a number "x" and "y". Maybe your forgot to apply a layout or your "nodeReducer" is not returning the correct data?'));return n.color||(n.color=e.defaultNodeColor),n.label||""===n.label||(n.label=null),void 0!==n.label&&null!==n.label?n.label=""+n.label:n.label=null,n.size||(n.size=2),we.call(n,"hidden")||(n.hidden=!1),we.call(n,"highlighted")||(n.highlighted=!1),we.call(n,"forceLabel")||(n.forceLabel=!1),n.type&&""!==n.type||(n.type=e.defaultNodeType),n.zIndex||(n.zIndex=0),n}function ke(e,t,n){return n.color||(n.color=e.defaultEdgeColor),n.label||(n.label=""),n.size||(n.size=.5),we.call(n,"hidden")||(n.hidden=!1),we.call(n,"forceLabel")||(n.forceLabel=!1),n.type&&""!==n.type||(n.type=e.defaultEdgeType),n.zIndex||(n.zIndex=0),n}var Ce=function(e){function t(e,n){var o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if((0,r.a)(this,t),o=(0,r.b)(this,t),(0,i._)((0,r.c)(o),"elements",{}),(0,i._)((0,r.c)(o),"canvasContexts",{}),(0,i._)((0,r.c)(o),"webGLContexts",{}),(0,i._)((0,r.c)(o),"pickingLayers",new Set),(0,i._)((0,r.c)(o),"textures",{}),(0,i._)((0,r.c)(o),"frameBuffers",{}),(0,i._)((0,r.c)(o),"activeListeners",{}),(0,i._)((0,r.c)(o),"labelGrid",new ye),(0,i._)((0,r.c)(o),"nodeDataCache",{}),(0,i._)((0,r.c)(o),"edgeDataCache",{}),(0,i._)((0,r.c)(o),"nodeProgramIndex",{}),(0,i._)((0,r.c)(o),"edgeProgramIndex",{}),(0,i._)((0,r.c)(o),"nodesWithForcedLabels",new Set),(0,i._)((0,r.c)(o),"edgesWithForcedLabels",new Set),(0,i._)((0,r.c)(o),"nodeExtent",{x:[0,1],y:[0,1]}),(0,i._)((0,r.c)(o),"nodeZExtent",[1/0,-1/0]),(0,i._)((0,r.c)(o),"edgeZExtent",[1/0,-1/0]),(0,i._)((0,r.c)(o),"matrix",_()),(0,i._)((0,r.c)(o),"invMatrix",_()),(0,i._)((0,r.c)(o),"correctionRatio",1),(0,i._)((0,r.c)(o),"customBBox",null),(0,i._)((0,r.c)(o),"normalizationFunction",L({x:[0,1],y:[0,1]})),(0,i._)((0,r.c)(o),"graphToViewportRatio",1),(0,i._)((0,r.c)(o),"itemIDsIndex",{}),(0,i._)((0,r.c)(o),"nodeIndices",{}),(0,i._)((0,r.c)(o),"edgeIndices",{}),(0,i._)((0,r.c)(o),"width",0),(0,i._)((0,r.c)(o),"height",0),(0,i._)((0,r.c)(o),"pixelRatio",D()),(0,i._)((0,r.c)(o),"pickingDownSizingRatio",2*o.pixelRatio),(0,i._)((0,r.c)(o),"displayedNodeLabels",new Set),(0,i._)((0,r.c)(o),"displayedEdgeLabels",new Set),(0,i._)((0,r.c)(o),"highlightedNodes",new Set),(0,i._)((0,r.c)(o),"hoveredNode",null),(0,i._)((0,r.c)(o),"hoveredEdge",null),(0,i._)((0,r.c)(o),"renderFrame",null),(0,i._)((0,r.c)(o),"renderHighlightedNodesFrame",null),(0,i._)((0,r.c)(o),"needToProcess",!1),(0,i._)((0,r.c)(o),"checkEdgesEventsFrame",null),(0,i._)((0,r.c)(o),"nodePrograms",{}),(0,i._)((0,r.c)(o),"nodeHoverPrograms",{}),(0,i._)((0,r.c)(o),"edgePrograms",{}),o.settings=q(a),F(o.settings),M(e),!(n instanceof HTMLElement))throw new Error("Sigma: container should be an html element.");for(var s in o.graph=e,o.container=n,o.createWebGLContext("edges",{picking:a.enableEdgeEvents}),o.createCanvasContext("edgeLabels"),o.createWebGLContext("nodes",{picking:!0}),o.createCanvasContext("labels"),o.createCanvasContext("hovers"),o.createWebGLContext("hoverNodes"),o.createCanvasContext("mouse"),o.resize(),o.settings.nodeProgramClasses)o.registerNodeProgram(s,o.settings.nodeProgramClasses[s],o.settings.nodeHoverProgramClasses[s]);for(var l in o.settings.edgeProgramClasses)o.registerEdgeProgram(l,o.settings.edgeProgramClasses[l]);return o.camera=new G,o.bindCameraHandlers(),o.mouseCaptor=new ae(o.elements.mouse,(0,r.c)(o)),o.touchCaptor=new ce(o.elements.mouse,(0,r.c)(o)),o.bindEventHandlers(),o.bindGraphHandlers(),o.handleSettingsUpdate(),o.refresh(),o}return(0,r._)(t,e),(0,r.d)(t,[{key:"registerNodeProgram",value:function(e,t,n){return this.nodePrograms[e]&&this.nodePrograms[e].kill(),this.nodeHoverPrograms[e]&&this.nodeHoverPrograms[e].kill(),this.nodePrograms[e]=new t(this.webGLContexts.nodes,this.frameBuffers.nodes,this),this.nodeHoverPrograms[e]=new(n||t)(this.webGLContexts.hoverNodes,null,this),this}},{key:"registerEdgeProgram",value:function(e,t){return this.edgePrograms[e]&&this.edgePrograms[e].kill(),this.edgePrograms[e]=new t(this.webGLContexts.edges,this.frameBuffers.edges,this),this}},{key:"unregisterNodeProgram",value:function(e){if(this.nodePrograms[e]){var t=this.nodePrograms,n=t[e],i=ge(t,[e].map(r.t));n.kill(),this.nodePrograms=i}if(this.nodeHoverPrograms[e]){var o=this.nodeHoverPrograms,a=o[e],s=ge(o,[e].map(r.t));a.kill(),this.nodePrograms=s}return this}},{key:"unregisterEdgeProgram",value:function(e){if(this.edgePrograms[e]){var t=this.edgePrograms,n=t[e],i=ge(t,[e].map(r.t));n.kill(),this.edgePrograms=i}return this}},{key:"resetWebGLTexture",value:function(e){var t=this.webGLContexts[e],n=this.frameBuffers[e],r=this.textures[e];r&&t.deleteTexture(r);var i=t.createTexture();return t.bindFramebuffer(t.FRAMEBUFFER,n),t.bindTexture(t.TEXTURE_2D,i),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,this.width,this.height,0,t.RGBA,t.UNSIGNED_BYTE,null),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,i,0),this.textures[e]=i,this}},{key:"bindCameraHandlers",value:function(){var e=this;return this.activeListeners.camera=function(){e.scheduleRender()},this.camera.on("updated",this.activeListeners.camera),this}},{key:"unbindCameraHandlers",value:function(){return this.camera.removeListener("updated",this.activeListeners.camera),this}},{key:"getNodeAtPosition",value:function(e){var t=e.x,n=e.y,r=(0,u.g)(this.webGLContexts.nodes,this.frameBuffers.nodes,t,n,this.pixelRatio,this.pickingDownSizingRatio),i=u.c.apply(void 0,pe(r)),o=this.itemIDsIndex[i];return o&&"node"===o.type?o.id:null}},{key:"bindEventHandlers",value:function(){var e=this;this.activeListeners.handleResize=function(){e.scheduleRefresh()},window.addEventListener("resize",this.activeListeners.handleResize),this.activeListeners.handleMove=function(t){var n={event:t,preventSigmaDefault:function(){t.preventSigmaDefault()}},r=e.getNodeAtPosition(t);if(r&&e.hoveredNode!==r&&!e.nodeDataCache[r].hidden)return e.hoveredNode&&e.emit("leaveNode",(0,i.a)((0,i.a)({},n),{},{node:e.hoveredNode})),e.hoveredNode=r,e.emit("enterNode",(0,i.a)((0,i.a)({},n),{},{node:r})),void e.scheduleHighlightedNodesRender();if(e.hoveredNode&&e.getNodeAtPosition(t)!==e.hoveredNode){var o=e.hoveredNode;return e.hoveredNode=null,e.emit("leaveNode",(0,i.a)((0,i.a)({},n),{},{node:o})),void e.scheduleHighlightedNodesRender()}if(e.settings.enableEdgeEvents){var a=e.hoveredNode?null:e.getEdgeAtPoint(n.event.x,n.event.y);a!==e.hoveredEdge&&(e.hoveredEdge&&e.emit("leaveEdge",(0,i.a)((0,i.a)({},n),{},{edge:e.hoveredEdge})),a&&e.emit("enterEdge",(0,i.a)((0,i.a)({},n),{},{edge:a})),e.hoveredEdge=a)}},this.activeListeners.handleLeave=function(t){var n={event:t,preventSigmaDefault:function(){t.preventSigmaDefault()}};e.hoveredNode&&(e.emit("leaveNode",(0,i.a)((0,i.a)({},n),{},{node:e.hoveredNode})),e.scheduleHighlightedNodesRender()),e.settings.enableEdgeEvents&&e.hoveredEdge&&(e.emit("leaveEdge",(0,i.a)((0,i.a)({},n),{},{edge:e.hoveredEdge})),e.scheduleHighlightedNodesRender()),e.emit("leaveStage",(0,i.a)({},n))},this.activeListeners.handleEnter=function(t){var n={event:t,preventSigmaDefault:function(){t.preventSigmaDefault()}};e.emit("enterStage",(0,i.a)({},n))};var t=function(t){return function(n){var r={event:n,preventSigmaDefault:function(){n.preventSigmaDefault()}},o=n.original.isFakeSigmaMouseEvent,a=o?e.getNodeAtPosition(n):e.hoveredNode;if(a)return e.emit("".concat(t,"Node"),(0,i.a)((0,i.a)({},r),{},{node:a}));if(e.settings.enableEdgeEvents){var s=e.getEdgeAtPoint(n.x,n.y);if(s)return e.emit("".concat(t,"Edge"),(0,i.a)((0,i.a)({},r),{},{edge:s}))}return e.emit("".concat(t,"Stage"),r)}};return this.activeListeners.handleClick=t("click"),this.activeListeners.handleRightClick=t("rightClick"),this.activeListeners.handleDoubleClick=t("doubleClick"),this.activeListeners.handleWheel=t("wheel"),this.activeListeners.handleDown=t("down"),this.activeListeners.handleUp=t("up"),this.mouseCaptor.on("mousemove",this.activeListeners.handleMove),this.mouseCaptor.on("click",this.activeListeners.handleClick),this.mouseCaptor.on("rightClick",this.activeListeners.handleRightClick),this.mouseCaptor.on("doubleClick",this.activeListeners.handleDoubleClick),this.mouseCaptor.on("wheel",this.activeListeners.handleWheel),this.mouseCaptor.on("mousedown",this.activeListeners.handleDown),this.mouseCaptor.on("mouseup",this.activeListeners.handleUp),this.mouseCaptor.on("mouseleave",this.activeListeners.handleLeave),this.mouseCaptor.on("mouseenter",this.activeListeners.handleEnter),this}},{key:"bindGraphHandlers",value:function(){var e=this,t=this.graph,n=new Set(["x","y","zIndex","type"]);return this.activeListeners.eachNodeAttributesUpdatedGraphUpdate=function(r){var i,o=null===(i=r.hints)||void 0===i?void 0:i.attributes;e.graph.forEachNode((function(t){return e.updateNode(t)}));var a=!o||o.some((function(e){return n.has(e)}));e.refresh({partialGraph:{nodes:t.nodes()},skipIndexation:!a,schedule:!0})},this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate=function(n){var r,i=null===(r=n.hints)||void 0===r?void 0:r.attributes;e.graph.forEachEdge((function(t){return e.updateEdge(t)}));var o=i&&["zIndex","type"].some((function(e){return null===i||void 0===i?void 0:i.includes(e)}));e.refresh({partialGraph:{edges:t.edges()},skipIndexation:!o,schedule:!0})},this.activeListeners.addNodeGraphUpdate=function(t){var n=t.key;e.addNode(n),e.refresh({partialGraph:{nodes:[n]},skipIndexation:!1,schedule:!0})},this.activeListeners.updateNodeGraphUpdate=function(t){var n=t.key;e.refresh({partialGraph:{nodes:[n]},skipIndexation:!1,schedule:!0})},this.activeListeners.dropNodeGraphUpdate=function(t){var n=t.key;e.removeNode(n),e.refresh({schedule:!0})},this.activeListeners.addEdgeGraphUpdate=function(t){var n=t.key;e.addEdge(n),e.refresh({partialGraph:{edges:[n]},schedule:!0})},this.activeListeners.updateEdgeGraphUpdate=function(t){var n=t.key;e.refresh({partialGraph:{edges:[n]},skipIndexation:!1,schedule:!0})},this.activeListeners.dropEdgeGraphUpdate=function(t){var n=t.key;e.removeEdge(n),e.refresh({schedule:!0})},this.activeListeners.clearEdgesGraphUpdate=function(){e.clearEdgeState(),e.clearEdgeIndices(),e.refresh({schedule:!0})},this.activeListeners.clearGraphUpdate=function(){e.clearEdgeState(),e.clearNodeState(),e.clearEdgeIndices(),e.clearNodeIndices(),e.refresh({schedule:!0})},t.on("nodeAdded",this.activeListeners.addNodeGraphUpdate),t.on("nodeDropped",this.activeListeners.dropNodeGraphUpdate),t.on("nodeAttributesUpdated",this.activeListeners.updateNodeGraphUpdate),t.on("eachNodeAttributesUpdated",this.activeListeners.eachNodeAttributesUpdatedGraphUpdate),t.on("edgeAdded",this.activeListeners.addEdgeGraphUpdate),t.on("edgeDropped",this.activeListeners.dropEdgeGraphUpdate),t.on("edgeAttributesUpdated",this.activeListeners.updateEdgeGraphUpdate),t.on("eachEdgeAttributesUpdated",this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate),t.on("edgesCleared",this.activeListeners.clearEdgesGraphUpdate),t.on("cleared",this.activeListeners.clearGraphUpdate),this}},{key:"unbindGraphHandlers",value:function(){var e=this.graph;e.removeListener("nodeAdded",this.activeListeners.addNodeGraphUpdate),e.removeListener("nodeDropped",this.activeListeners.dropNodeGraphUpdate),e.removeListener("nodeAttributesUpdated",this.activeListeners.updateNodeGraphUpdate),e.removeListener("eachNodeAttributesUpdated",this.activeListeners.eachNodeAttributesUpdatedGraphUpdate),e.removeListener("edgeAdded",this.activeListeners.addEdgeGraphUpdate),e.removeListener("edgeDropped",this.activeListeners.dropEdgeGraphUpdate),e.removeListener("edgeAttributesUpdated",this.activeListeners.updateEdgeGraphUpdate),e.removeListener("eachEdgeAttributesUpdated",this.activeListeners.eachEdgeAttributesUpdatedGraphUpdate),e.removeListener("edgesCleared",this.activeListeners.clearEdgesGraphUpdate),e.removeListener("cleared",this.activeListeners.clearGraphUpdate)}},{key:"getEdgeAtPoint",value:function(e,t){var n=(0,u.g)(this.webGLContexts.edges,this.frameBuffers.edges,e,t,this.pixelRatio,this.pickingDownSizingRatio),r=u.c.apply(void 0,pe(n)),i=this.itemIDsIndex[r];return i&&"edge"===i.type?i.id:null}},{key:"process",value:function(){var e=this;this.emit("beforeProcess");var t=this.graph,n=this.settings,r=this.getDimensions();this.nodeExtent=E(this.graph),this.normalizationFunction=L(this.customBBox||this.nodeExtent);var i=new G,o=A(i.getState(),r,this.getGraphDimensions(),this.getSetting("stagePadding")||0);this.labelGrid.resizeAndClear(r,n.labelGridCellSize);for(var a={},s={},l={},u={},c=1,d=t.nodes(),h=0,f=d.length;h<f;h++){var p=d[h],v=this.nodeDataCache[p],g=t.getNodeAttributes(p);v.x=g.x,v.y=g.y,this.normalizationFunction.applyTo(v),"string"!==typeof v.label||v.hidden||this.labelGrid.add(p,v.size,this.framedGraphToViewport(v,{matrix:o})),a[v.type]=(a[v.type]||0)+1}for(var m in this.labelGrid.organize(),this.nodePrograms){if(!we.call(this.nodePrograms,m))throw new Error('Sigma: could not find a suitable program for node type "'.concat(m,'"!'));this.nodePrograms[m].reallocate(a[m]||0),a[m]=0}this.settings.zIndex&&this.nodeZExtent[0]!==this.nodeZExtent[1]&&(d=R(this.nodeZExtent,(function(t){return e.nodeDataCache[t].zIndex}),d));for(var y=0,_=d.length;y<_;y++){var b=d[y];s[b]=c,u[s[b]]={type:"node",id:b},c++;var x=this.nodeDataCache[b];this.addNodeToProgram(b,s[b],a[x.type]++)}for(var w={},S=t.edges(),k=0,C=S.length;k<C;k++){var T=S[k],M=this.edgeDataCache[T];w[M.type]=(w[M.type]||0)+1}for(var I in this.settings.zIndex&&this.edgeZExtent[0]!==this.edgeZExtent[1]&&(S=R(this.edgeZExtent,(function(t){return e.edgeDataCache[t].zIndex}),S)),this.edgePrograms){if(!we.call(this.edgePrograms,I))throw new Error('Sigma: could not find a suitable program for edge type "'.concat(I,'"!'));this.edgePrograms[I].reallocate(w[I]||0),w[I]=0}for(var D=0,O=S.length;D<O;D++){var P=S[D];l[P]=c,u[l[P]]={type:"edge",id:P},c++;var z=this.edgeDataCache[P];this.addEdgeToProgram(P,l[P],w[z.type]++)}return this.itemIDsIndex=u,this.nodeIndices=s,this.edgeIndices=l,this.emit("afterProcess"),this}},{key:"handleSettingsUpdate",value:function(e){var t=this.settings;if(this.camera.minRatio=t.minCameraRatio,this.camera.maxRatio=t.maxCameraRatio,this.camera.enabledRotation=t.enableCameraRotation,this.camera.setState(this.camera.validateState(this.camera.getState())),e){if(e.edgeProgramClasses!==t.edgeProgramClasses){for(var n in t.edgeProgramClasses)t.edgeProgramClasses[n]!==e.edgeProgramClasses[n]&&this.registerEdgeProgram(n,t.edgeProgramClasses[n]);for(var r in e.edgeProgramClasses)t.edgeProgramClasses[r]||this.unregisterEdgeProgram(r)}if(e.nodeProgramClasses!==t.nodeProgramClasses||e.nodeHoverProgramClasses!==t.nodeHoverProgramClasses){for(var i in t.nodeProgramClasses)t.nodeProgramClasses[i]===e.nodeProgramClasses[i]&&t.nodeHoverProgramClasses[i]===e.nodeHoverProgramClasses[i]||this.registerNodeProgram(i,t.nodeProgramClasses[i],t.nodeHoverProgramClasses[i]);for(var o in e.nodeProgramClasses)t.nodeProgramClasses[o]||this.unregisterNodeProgram(o)}}return this}},{key:"renderLabels",value:function(){if(!this.settings.renderLabels)return this;var e=this.camera.getState(),t=this.labelGrid.getLabelsToDisplay(e.ratio,this.settings.labelDensity);O(t,this.nodesWithForcedLabels),this.displayedNodeLabels=new Set;for(var n=this.canvasContexts.labels,r=0,o=t.length;r<o;r++){var a=t[r],s=this.nodeDataCache[a];if(!this.displayedNodeLabels.has(a)&&!s.hidden){var l=this.framedGraphToViewport(s),u=l.x,c=l.y,d=this.scaleSize(s.size);if((s.forceLabel||!(d<this.settings.labelRenderedSizeThreshold))&&!(u<-be||u>this.width+be||c<-xe||c>this.height+xe)){this.displayedNodeLabels.add(a);var h=this.settings.defaultDrawNodeLabel,f=this.nodePrograms[s.type],p=(null===f||void 0===f?void 0:f.drawLabel)||h;p(n,(0,i.a)((0,i.a)({key:a},s),{},{size:d,x:u,y:c}),this.settings)}}}return this}},{key:"renderEdgeLabels",value:function(){if(!this.settings.renderEdgeLabels)return this;var e=this.canvasContexts.edgeLabels;e.clearRect(0,0,this.width,this.height);var t=_e({graph:this.graph,hoveredNode:this.hoveredNode,displayedNodeLabels:this.displayedNodeLabels,highlightedNodes:this.highlightedNodes});O(t,this.edgesWithForcedLabels);for(var n=new Set,r=0,o=t.length;r<o;r++){var a=t[r],s=this.graph.extremities(a),l=this.nodeDataCache[s[0]],u=this.nodeDataCache[s[1]],c=this.edgeDataCache[a];if(!n.has(a)&&!(c.hidden||l.hidden||u.hidden)){var d=this.settings.defaultDrawEdgeLabel,h=this.edgePrograms[c.type],f=(null===h||void 0===h?void 0:h.drawLabel)||d;f(e,(0,i.a)((0,i.a)({key:a},c),{},{size:this.scaleSize(c.size)}),(0,i.a)((0,i.a)((0,i.a)({key:s[0]},l),this.framedGraphToViewport(l)),{},{size:this.scaleSize(l.size)}),(0,i.a)((0,i.a)((0,i.a)({key:s[1]},u),this.framedGraphToViewport(u)),{},{size:this.scaleSize(u.size)}),this.settings),n.add(a)}}return this.displayedEdgeLabels=n,this}},{key:"renderHighlightedNodes",value:function(){var e=this,t=this.canvasContexts.hovers;t.clearRect(0,0,this.width,this.height);var n=function(n){var r=e.nodeDataCache[n],o=e.framedGraphToViewport(r),a=o.x,s=o.y,l=e.scaleSize(r.size),u=e.settings.defaultDrawNodeHover,c=e.nodePrograms[r.type],d=(null===c||void 0===c?void 0:c.drawHover)||u;d(t,(0,i.a)((0,i.a)({key:n},r),{},{size:l,x:a,y:s}),e.settings)},r=[];this.hoveredNode&&!this.nodeDataCache[this.hoveredNode].hidden&&r.push(this.hoveredNode),this.highlightedNodes.forEach((function(t){t!==e.hoveredNode&&r.push(t)})),r.forEach((function(e){return n(e)}));var o={};for(var a in r.forEach((function(t){var n=e.nodeDataCache[t].type;o[n]=(o[n]||0)+1})),this.nodeHoverPrograms)this.nodeHoverPrograms[a].reallocate(o[a]||0),o[a]=0;r.forEach((function(t){var n=e.nodeDataCache[t];e.nodeHoverPrograms[n.type].process(0,o[n.type]++,n)})),this.webGLContexts.hoverNodes.clear(this.webGLContexts.hoverNodes.COLOR_BUFFER_BIT);var s=this.getRenderParams();for(var l in this.nodeHoverPrograms){var u=this.nodeHoverPrograms[l];u.render(s)}}},{key:"scheduleHighlightedNodesRender",value:function(){var e=this;this.renderHighlightedNodesFrame||this.renderFrame||(this.renderHighlightedNodesFrame=requestAnimationFrame((function(){e.renderHighlightedNodesFrame=null,e.renderHighlightedNodes(),e.renderEdgeLabels()})))}},{key:"render",value:function(){var e=this;this.emit("beforeRender");var t=function(){return e.emit("afterRender"),e};if(this.renderFrame&&(cancelAnimationFrame(this.renderFrame),this.renderFrame=null),this.resize(),this.needToProcess&&this.process(),this.needToProcess=!1,this.clear(),this.pickingLayers.forEach((function(t){return e.resetWebGLTexture(t)})),!this.graph.order)return t();var n=this.mouseCaptor,r=this.camera.isAnimated()||n.isMoving||n.draggedEvents||n.currentWheelDirection,i=this.camera.getState(),o=this.getDimensions(),a=this.getGraphDimensions(),s=this.getSetting("stagePadding")||0;this.matrix=A(i,o,a,s),this.invMatrix=A(i,o,a,s,!0),this.correctionRatio=T(this.matrix,i,o),this.graphToViewportRatio=this.getGraphToViewportRatio();var l=this.getRenderParams();for(var u in this.nodePrograms){var c=this.nodePrograms[u];c.render(l)}if(!this.settings.hideEdgesOnMove||!r)for(var d in this.edgePrograms){var h=this.edgePrograms[d];h.render(l)}return this.settings.hideLabelsOnMove&&r||(this.renderLabels(),this.renderEdgeLabels(),this.renderHighlightedNodes()),t()}},{key:"addNode",value:function(e){var t=Object.assign({},this.graph.getNodeAttributes(e));this.settings.nodeReducer&&(t=this.settings.nodeReducer(e,t));var n=Se(this.settings,e,t);this.nodeDataCache[e]=n,this.nodesWithForcedLabels["delete"](e),n.forceLabel&&!n.hidden&&this.nodesWithForcedLabels.add(e),this.highlightedNodes["delete"](e),n.highlighted&&!n.hidden&&this.highlightedNodes.add(e),this.settings.zIndex&&(n.zIndex<this.nodeZExtent[0]&&(this.nodeZExtent[0]=n.zIndex),n.zIndex>this.nodeZExtent[1]&&(this.nodeZExtent[1]=n.zIndex))}},{key:"updateNode",value:function(e){this.addNode(e);var t=this.nodeDataCache[e];this.normalizationFunction.applyTo(t)}},{key:"removeNode",value:function(e){delete this.nodeDataCache[e],delete this.nodeProgramIndex[e],this.highlightedNodes["delete"](e),this.hoveredNode===e&&(this.hoveredNode=null),this.nodesWithForcedLabels["delete"](e)}},{key:"addEdge",value:function(e){var t=Object.assign({},this.graph.getEdgeAttributes(e));this.settings.edgeReducer&&(t=this.settings.edgeReducer(e,t));var n=ke(this.settings,e,t);this.edgeDataCache[e]=n,this.edgesWithForcedLabels["delete"](e),n.forceLabel&&!n.hidden&&this.edgesWithForcedLabels.add(e),this.settings.zIndex&&(n.zIndex<this.edgeZExtent[0]&&(this.edgeZExtent[0]=n.zIndex),n.zIndex>this.edgeZExtent[1]&&(this.edgeZExtent[1]=n.zIndex))}},{key:"updateEdge",value:function(e){this.addEdge(e)}},{key:"removeEdge",value:function(e){delete this.edgeDataCache[e],delete this.edgeProgramIndex[e],this.hoveredEdge===e&&(this.hoveredEdge=null),this.edgesWithForcedLabels["delete"](e)}},{key:"clearNodeIndices",value:function(){this.labelGrid=new ye,this.nodeExtent={x:[0,1],y:[0,1]},this.nodeDataCache={},this.edgeProgramIndex={},this.nodesWithForcedLabels=new Set,this.nodeZExtent=[1/0,-1/0]}},{key:"clearEdgeIndices",value:function(){this.edgeDataCache={},this.edgeProgramIndex={},this.edgesWithForcedLabels=new Set,this.edgeZExtent=[1/0,-1/0]}},{key:"clearIndices",value:function(){this.clearEdgeIndices(),this.clearNodeIndices()}},{key:"clearNodeState",value:function(){this.displayedNodeLabels=new Set,this.highlightedNodes=new Set,this.hoveredNode=null}},{key:"clearEdgeState",value:function(){this.displayedEdgeLabels=new Set,this.highlightedNodes=new Set,this.hoveredEdge=null}},{key:"clearState",value:function(){this.clearEdgeState(),this.clearNodeState()}},{key:"addNodeToProgram",value:function(e,t,n){var r=this.nodeDataCache[e],i=this.nodePrograms[r.type];if(!i)throw new Error('Sigma: could not find a suitable program for node type "'.concat(r.type,'"!'));i.process(t,n,r),this.nodeProgramIndex[e]=n}},{key:"addEdgeToProgram",value:function(e,t,n){var r=this.edgeDataCache[e],i=this.edgePrograms[r.type];if(!i)throw new Error('Sigma: could not find a suitable program for edge type "'.concat(r.type,'"!'));var o=this.graph.extremities(e),a=this.nodeDataCache[o[0]],s=this.nodeDataCache[o[1]];i.process(t,n,a,s,r),this.edgeProgramIndex[e]=n}},{key:"getRenderParams",value:function(){return{matrix:this.matrix,invMatrix:this.invMatrix,width:this.width,height:this.height,pixelRatio:this.pixelRatio,zoomRatio:this.camera.ratio,cameraAngle:this.camera.angle,sizeRatio:1/this.scaleSize(),correctionRatio:this.correctionRatio,downSizingRatio:this.pickingDownSizingRatio,minEdgeThickness:this.settings.minEdgeThickness,antiAliasingFeather:this.settings.antiAliasingFeather}}},{key:"createCanvas",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.elements[e])throw new Error('Sigma: a layer named "'.concat(e,'" already exists'));var n=I("canvas",{position:"absolute"},{class:"sigma-".concat(e)});return this.elements[e]=n,"beforeLayer"in t&&t.beforeLayer?this.elements[t.beforeLayer].before(n):"afterLayer"in t&&t.afterLayer?this.elements[t.afterLayer].after(n):this.container.appendChild(n),n}},{key:"createCanvasContext",value:function(e){var t=this.createCanvas(e),n={preserveDrawingBuffer:!1,antialias:!1};return this.canvasContexts[e]=t.getContext("2d",n),this}},{key:"createWebGLContext",value:function(e,t){var n=(null===t||void 0===t?void 0:t.canvas)||this.createCanvas(e);null!==t&&void 0!==t&&t.hidden&&n.remove();var r,o=(0,i.a)({preserveDrawingBuffer:!1,antialias:!1},t||{});r=n.getContext("webgl2",o),r||(r=n.getContext("webgl",o)),r||(r=n.getContext("experimental-webgl",o));var a=r;if(this.webGLContexts[e]=a,a.blendFunc(a.ONE,a.ONE_MINUS_SRC_ALPHA),null!==t&&void 0!==t&&t.picking){this.pickingLayers.add(e);var s=a.createFramebuffer();if(!s)throw new Error("Sigma: cannot create a new frame buffer for layer ".concat(e));this.frameBuffers[e]=s}return a}},{key:"killLayer",value:function(e){var t=this.elements[e];if(!t)throw new Error("Sigma: cannot kill layer ".concat(e,", which does not exist"));if(this.webGLContexts[e]){var n,r=this.webGLContexts[e];null===(n=r.getExtension("WEBGL_lose_context"))||void 0===n||n.loseContext(),delete this.webGLContexts[e]}else delete this.canvasContexts[e];return t.remove(),delete this.elements[e],this}},{key:"getCamera",value:function(){return this.camera}},{key:"setCamera",value:function(e){this.unbindCameraHandlers(),this.camera=e,this.bindCameraHandlers()}},{key:"getContainer",value:function(){return this.container}},{key:"getGraph",value:function(){return this.graph}},{key:"setGraph",value:function(e){e!==this.graph&&(this.unbindGraphHandlers(),null!==this.checkEdgesEventsFrame&&(cancelAnimationFrame(this.checkEdgesEventsFrame),this.checkEdgesEventsFrame=null),this.graph=e,this.bindGraphHandlers(),this.refresh())}},{key:"getMouseCaptor",value:function(){return this.mouseCaptor}},{key:"getTouchCaptor",value:function(){return this.touchCaptor}},{key:"getDimensions",value:function(){return{width:this.width,height:this.height}}},{key:"getGraphDimensions",value:function(){var e=this.customBBox||this.nodeExtent;return{width:e.x[1]-e.x[0]||1,height:e.y[1]-e.y[0]||1}}},{key:"getNodeDisplayData",value:function(e){var t=this.nodeDataCache[e];return t?Object.assign({},t):void 0}},{key:"getEdgeDisplayData",value:function(e){var t=this.edgeDataCache[e];return t?Object.assign({},t):void 0}},{key:"getNodeDisplayedLabels",value:function(){return new Set(this.displayedNodeLabels)}},{key:"getEdgeDisplayedLabels",value:function(){return new Set(this.displayedEdgeLabels)}},{key:"getSettings",value:function(){return(0,i.a)({},this.settings)}},{key:"getSetting",value:function(e){return this.settings[e]}},{key:"setSetting",value:function(e,t){var n=(0,i.a)({},this.settings);return this.settings[e]=t,F(this.settings),this.handleSettingsUpdate(n),this.scheduleRefresh(),this}},{key:"updateSetting",value:function(e,t){return this.setSetting(e,t(this.settings[e])),this}},{key:"resize",value:function(e){var t=this.width,n=this.height;if(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,this.pixelRatio=D(),0===this.width){if(!this.settings.allowInvalidContainer)throw new Error("Sigma: Container has no width. You can set the allowInvalidContainer setting to true to stop seeing this error.");this.width=1}if(0===this.height){if(!this.settings.allowInvalidContainer)throw new Error("Sigma: Container has no height. You can set the allowInvalidContainer setting to true to stop seeing this error.");this.height=1}if(!e&&t===this.width&&n===this.height)return this;for(var r in this.emit("resize"),this.elements){var i=this.elements[r];i.style.width=this.width+"px",i.style.height=this.height+"px"}for(var o in this.canvasContexts)this.elements[o].setAttribute("width",this.width*this.pixelRatio+"px"),this.elements[o].setAttribute("height",this.height*this.pixelRatio+"px"),1!==this.pixelRatio&&this.canvasContexts[o].scale(this.pixelRatio,this.pixelRatio);for(var a in this.webGLContexts){this.elements[a].setAttribute("width",this.width*this.pixelRatio+"px"),this.elements[a].setAttribute("height",this.height*this.pixelRatio+"px");var s=this.webGLContexts[a];if(s.viewport(0,0,this.width*this.pixelRatio,this.height*this.pixelRatio),this.pickingLayers.has(a)){var l=this.textures[a];l&&s.deleteTexture(l)}}return this}},{key:"clear",value:function(){return this.emit("beforeClear"),this.webGLContexts.nodes.bindFramebuffer(WebGLRenderingContext.FRAMEBUFFER,null),this.webGLContexts.nodes.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.webGLContexts.edges.bindFramebuffer(WebGLRenderingContext.FRAMEBUFFER,null),this.webGLContexts.edges.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.webGLContexts.hoverNodes.clear(WebGLRenderingContext.COLOR_BUFFER_BIT),this.canvasContexts.labels.clearRect(0,0,this.width,this.height),this.canvasContexts.hovers.clearRect(0,0,this.width,this.height),this.canvasContexts.edgeLabels.clearRect(0,0,this.width,this.height),this.emit("afterClear"),this}},{key:"refresh",value:function(e){var t=this,n=void 0!==(null===e||void 0===e?void 0:e.skipIndexation)&&(null===e||void 0===e?void 0:e.skipIndexation),r=void 0!==(null===e||void 0===e?void 0:e.schedule)&&e.schedule,i=!e||!e.partialGraph;if(i)this.clearEdgeIndices(),this.clearNodeIndices(),this.graph.forEachNode((function(e){return t.addNode(e)})),this.graph.forEachEdge((function(e){return t.addEdge(e)}));else{for(var o,a,s=(null===(o=e.partialGraph)||void 0===o?void 0:o.nodes)||[],l=0,u=(null===s||void 0===s?void 0:s.length)||0;l<u;l++){var c=s[l];if(this.updateNode(c),n){var d=this.nodeProgramIndex[c];if(void 0===d)throw new Error('Sigma: node "'.concat(c,"\" can't be repaint"));this.addNodeToProgram(c,this.nodeIndices[c],d)}}for(var h=(null===e||void 0===e||null===(a=e.partialGraph)||void 0===a?void 0:a.edges)||[],f=0,p=h.length;f<p;f++){var v=h[f];if(this.updateEdge(v),n){var g=this.edgeProgramIndex[v];if(void 0===g)throw new Error('Sigma: edge "'.concat(v,"\" can't be repaint"));this.addEdgeToProgram(v,this.edgeIndices[v],g)}}}return!i&&n||(this.needToProcess=!0),r?this.scheduleRender():this.render(),this}},{key:"scheduleRender",value:function(){var e=this;return this.renderFrame||(this.renderFrame=requestAnimationFrame((function(){e.render()}))),this}},{key:"scheduleRefresh",value:function(e){return this.refresh((0,i.a)((0,i.a)({},e),{},{schedule:!0}))}},{key:"getViewportZoomedState",value:function(e,t){var n=this.camera.getState(),r=n.ratio,i=n.angle,o=n.x,a=n.y,s=this.settings,l=s.minCameraRatio,u=s.maxCameraRatio;"number"===typeof u&&(t=Math.min(t,u)),"number"===typeof l&&(t=Math.max(t,l));var c=t/r,d={x:this.width/2,y:this.height/2},h=this.viewportToFramedGraph(e),f=this.viewportToFramedGraph(d);return{angle:i,x:(h.x-f.x)*(1-c)+o,y:(h.y-f.y)*(1-c)+a,ratio:t}}},{key:"viewRectangle",value:function(){var e=this.viewportToFramedGraph({x:0,y:0}),t=this.viewportToFramedGraph({x:this.width,y:0}),n=this.viewportToFramedGraph({x:0,y:this.height});return{x1:e.x,y1:e.y,x2:t.x,y2:t.y,height:t.y-n.y}}},{key:"framedGraphToViewport",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!!t.cameraState||!!t.viewportDimensions||!!t.graphDimensions,r=t.matrix?t.matrix:n?A(t.cameraState||this.camera.getState(),t.viewportDimensions||this.getDimensions(),t.graphDimensions||this.getGraphDimensions(),t.padding||this.getSetting("stagePadding")||0):this.matrix,i=k(r,e);return{x:(1+i.x)*this.width/2,y:(1-i.y)*this.height/2}}},{key:"viewportToFramedGraph",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!!t.cameraState||!!t.viewportDimensions||!t.graphDimensions,r=t.matrix?t.matrix:n?A(t.cameraState||this.camera.getState(),t.viewportDimensions||this.getDimensions(),t.graphDimensions||this.getGraphDimensions(),t.padding||this.getSetting("stagePadding")||0,!0):this.invMatrix,i=k(r,{x:e.x/this.width*2-1,y:1-e.y/this.height*2});return isNaN(i.x)&&(i.x=0),isNaN(i.y)&&(i.y=0),i}},{key:"viewportToGraph",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.normalizationFunction.inverse(this.viewportToFramedGraph(e,t))}},{key:"graphToViewport",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.framedGraphToViewport(this.normalizationFunction(e),t)}},{key:"getGraphToViewportRatio",value:function(){var e={x:0,y:0},t={x:1,y:1},n=Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)),r=this.graphToViewport(e),i=this.graphToViewport(t),o=Math.sqrt(Math.pow(r.x-i.x,2)+Math.pow(r.y-i.y,2));return o/n}},{key:"getBBox",value:function(){return this.nodeExtent}},{key:"getCustomBBox",value:function(){return this.customBBox}},{key:"setCustomBBox",value:function(e){return this.customBBox=e,this.scheduleRender(),this}},{key:"kill",value:function(){this.emit("kill"),this.removeAllListeners(),this.unbindCameraHandlers(),window.removeEventListener("resize",this.activeListeners.handleResize),this.mouseCaptor.kill(),this.touchCaptor.kill(),this.unbindGraphHandlers(),this.clearIndices(),this.clearState(),this.nodeDataCache={},this.edgeDataCache={},this.highlightedNodes.clear(),this.renderFrame&&(cancelAnimationFrame(this.renderFrame),this.renderFrame=null),this.renderHighlightedNodesFrame&&(cancelAnimationFrame(this.renderHighlightedNodesFrame),this.renderHighlightedNodesFrame=null);var e=this.container;while(e.firstChild)e.removeChild(e.firstChild);for(var t in this.canvasContexts={},this.webGLContexts={},this.elements={},this.nodePrograms)this.nodePrograms[t].kill();for(var n in this.nodeHoverPrograms)this.nodeHoverPrograms[n].kill();for(var r in this.edgePrograms)this.edgePrograms[r].kill();for(var i in this.nodePrograms={},this.nodeHoverPrograms={},this.edgePrograms={},this.elements)this.killLayer(i)}},{key:"scaleSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.camera.ratio;return e/this.settings.zoomToSizeRatioFunction(t)*("positions"===this.getSetting("itemSizesReference")?t*this.graphToViewportRatio:1)}},{key:"getCanvases",value:function(){return(0,i.a)({},this.elements)}}]),t}(a),Ae=Ce},559:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>F});var r=n(8734),i=void 0;var o=n(1758),a=n(659),s=n(4563),l=null;function u(e){return l||(l=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return setTimeout(e,16)}).bind(window)),l(e)}var c=null;function d(e){c||(c=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}).bind(window)),c(e)}function h(e){var t=document.createElement("style");return t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(t),t}function f(e,t){void 0===t&&(t={});var n=document.createElement(e);return Object.keys(t).forEach((function(e){n[e]=t[e]})),n}function p(e,t,n){var r=window.getComputedStyle(e,n||null)||{display:"none"};return r[t]}function v(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};var t=e;while(t!==document){if("none"===p(t,"display"))return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var g='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',m=0,y=null;function _(e,t){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=w.bind(e));var n=e.__resize_listeners__;if(!n)if(e.__resize_listeners__=[],window.ResizeObserver){var r=e.offsetWidth,i=e.offsetHeight,o=new ResizeObserver((function(){(e.__resize_observer_triggered__||(e.__resize_observer_triggered__=!0,e.offsetWidth!==r||e.offsetHeight!==i))&&k(e)})),a=v(e),s=a.detached,l=a.rendered;e.__resize_observer_triggered__=!1===s&&!1===l,e.__resize_observer__=o,o.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){k(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(m||(y=h(g)),C(e),e.__resize_rendered__=v(e).rendered,window.MutationObserver){var u=new MutationObserver(e.__resize_mutation_handler__);u.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=u}e.__resize_listeners__.push(t),m++}function b(e,t){var n=e.__resize_listeners__;if(n){if(t&&n.splice(n.indexOf(t),1),!n.length||!t){if(e.detachEvent&&e.removeEventListener)return e.detachEvent("onresize",e.__resize_legacy_resize_handler__),void document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",S),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null}! --m&&y&&y.parentNode.removeChild(y)}}function x(e){var t=e.__resize_last__,n=t.width,r=t.height,i=e.offsetWidth,o=e.offsetHeight;return i!==n||o!==r?{width:i,height:o}:null}function w(){var e=v(this),t=e.rendered,n=e.detached;t!==this.__resize_rendered__&&(!n&&this.__resize_triggers__&&(A(this),this.addEventListener("scroll",S,!0)),this.__resize_rendered__=t,k(this))}function S(){var e=this;A(this),this.__resize_raf__&&d(this.__resize_raf__),this.__resize_raf__=u((function(){var t=x(e);t&&(e.__resize_last__=t,k(e))}))}function k(e){e&&e.__resize_listeners__&&e.__resize_listeners__.forEach((function(t){t.call(e,e)}))}function C(e){var t=p(e,"position");t&&"static"!==t||(e.style.position="relative"),e.__resize_old_position__=t,e.__resize_last__={};var n=f("div",{className:"resize-triggers"}),r=f("div",{className:"resize-expand-trigger"}),i=f("div"),o=f("div",{className:"resize-contract-trigger"});r.appendChild(i),n.appendChild(r),n.appendChild(o),e.appendChild(n),e.__resize_triggers__={triggers:n,expand:r,expandChild:i,contract:o},A(e),e.addEventListener("scroll",S,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}function A(e){var t=e.__resize_triggers__,n=t.expand,r=t.expandChild,i=t.contract,o=i.scrollWidth,a=i.scrollHeight,s=n.offsetWidth,l=n.offsetHeight,u=n.scrollWidth,c=n.scrollHeight;i.scrollLeft=o,i.scrollTop=a,r.style.width=s+1+"px",r.style.height=l+1+"px",n.scrollLeft=u,n.scrollTop=c}var T=function(){return T=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},T.apply(this,arguments)},E=["getWidth","getHeight","getDom","getOption","resize","dispatchAction","convertToPixel","convertFromPixel","containPixel","getDataURL","getConnectedDataURL","appendData","clear","isDisposed","dispose"];function M(e){return t=Object.create(null),E.forEach((function(n){t[n]=function(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(!e.value)throw new Error("ECharts is not initialized yet.");return e.value[t].apply(e.value,n)}}(n)})),t;var t}var I={autoresize:Boolean},D=/^on[^a-z]/,R=function(e){return D.test(e)};function L(e,t){var n=(0,r.R1)(e);return n&&"object"==typeof n&&"value"in n?n.value||t:n||t}var O={loading:Boolean,loadingOptions:Object},P=null,z=[],B=[];!function(e,t){if(e&&"undefined"!=typeof document){var n,r=!0===t.prepend?"prepend":"append",i=!0===t.singleTag,o="string"==typeof t.container?document.querySelector(t.container):document.getElementsByTagName("head")[0];if(i){var a=z.indexOf(o);-1===a&&(a=z.push(o)-1,B[a]={}),n=B[a]&&B[a][r]?B[a][r]:B[a][r]=s()}else n=s();65279===e.charCodeAt(0)&&(e=e.substring(1)),n.styleSheet?n.styleSheet.cssText+=e:n.appendChild(document.createTextNode(e))}function s(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),t.attributes)for(var n=Object.keys(t.attributes),i=0;i<n.length;i++)e.setAttribute(n[i],t.attributes[n[i]]);var a="prepend"===r?"afterbegin":"beforeend";return o.insertAdjacentElement(a,e),e}}("x-vue-echarts{display:block;width:100%;height:100%;min-width:0}\n",{});var N=function(){if(null!=P)return P;if("undefined"==typeof HTMLElement||"undefined"==typeof customElements)return P=!1;try{new Function("tag","class EChartsElement extends HTMLElement {\n __dispose = null;\n\n disconnectedCallback() {\n if (this.__dispose) {\n this.__dispose();\n this.__dispose = null;\n }\n }\n}\n\nif (customElements.get(tag) == null) {\n customElements.define(tag, EChartsElement);\n}\n")("x-vue-echarts")}catch(e){return P=!1}return P=!0}();i&&i.config.ignoredElements.push("x-vue-echarts");var F=(0,o.pM)({name:"echarts",props:T(T({option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean},I),O),emits:{},inheritAttrs:!1,setup:function(e,t){var n=t.attrs,i=(0,r.IJ)(),l=(0,r.IJ)(),u=(0,r.IJ)(),c=(0,o.WQ)("ecTheme",null),d=(0,o.WQ)("ecInitOptions",null),h=(0,o.WQ)("ecUpdateOptions",null),f=(0,r.QW)(e),p=f.autoresize,v=f.manualUpdate,g=f.loading,m=f.loadingOptions,y=(0,o.EW)((function(){return u.value||e.option||null})),x=(0,o.EW)((function(){return e.theme||L(c,{})})),w=(0,o.EW)((function(){return e.initOptions||L(d,{})})),S=(0,o.EW)((function(){return e.updateOptions||L(h,{})})),k=(0,o.EW)((function(){return function(e){var t={};for(var n in e)R(n)||(t[n]=e[n]);return t}(n)})),C=(0,o.nI)().proxy.$listeners;function A(t){if(i.value){var r=l.value=(0,a.Ts)(i.value,x.value,w.value);e.group&&(r.group=e.group);var s=C;s||(s={},Object.keys(n).filter((function(e){return 0===e.indexOf("on")&&e.length>2})).forEach((function(e){var t=e.charAt(2).toLowerCase()+e.slice(3);"Once"===t.substring(t.length-4)&&(t="~".concat(t.substring(0,t.length-4))),s[t]=n[e]}))),Object.keys(s).forEach((function(e){var t=s[e];if(t){var n=e.toLowerCase();"~"===n.charAt(0)&&(n=n.substring(1),t.__once__=!0);var i=r;if(0===n.indexOf("zr:")&&(i=r.getZr(),n=n.substring(3)),t.__once__){delete t.__once__;var o=t;t=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];o.apply(void 0,e),i.off(n,t)}}i.on(n,t)}})),p.value?(0,o.dY)((function(){r&&!r.isDisposed()&&r.resize(),u()})):u()}function u(){var e=t||y.value;e&&r.setOption(e,S.value)}}function E(){l.value&&(l.value.dispose(),l.value=void 0)}var I=null;(0,o.wB)(v,(function(t){"function"==typeof I&&(I(),I=null),t||(I=(0,o.wB)((function(){return e.option}),(function(e,t){e&&(l.value?l.value.setOption(e,T({notMerge:e!==t},S.value)):A())}),{deep:!0}))}),{immediate:!0}),(0,o.wB)([x,w],(function(){E(),A()}),{deep:!0}),(0,o.nT)((function(){e.group&&l.value&&(l.value.group=e.group)}));var D=M(l);return function(e,t,n){var r=(0,o.WQ)("ecLoadingOptions",{}),i=(0,o.EW)((function(){return T(T({},L(r,{})),null==n?void 0:n.value)}));(0,o.nT)((function(){var n=e.value;n&&(t.value?n.showLoading(i.value):n.hideLoading())}))}(l,g,m),function(e,t,n){var r=null;(0,o.wB)([n,e,t],(function(e,t,n){var i=e[0],o=e[1],a=e[2];i&&o&&a&&(r=(0,s.nF)((function(){o.resize()}),100),_(i,r)),n((function(){r&&i&&b(i,r)}))}))}(l,p,i),(0,o.sV)((function(){A()})),(0,o.xo)((function(){N&&i.value?i.value.__dispose=E:E()})),T({chart:l,root:i,setOption:function(t,n){e.manualUpdate&&(u.value=t),l.value?l.value.setOption(t,n||{}):A(t)},nonEventAttrs:k},D)},render:function(){var e=i?{attrs:this.nonEventAttrs}:T({},this.nonEventAttrs);return e.ref="root",e.class=e.class?["echarts"].concat(e.class):"echarts",(0,o.h)("x-vue-echarts",e)}})},2807:(e,t)=>{"use strict";t.A=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n}},4762:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(792),i=n(3432),o=n(2848),a=n(6105),s=n(2586),l=n(2486),u=n(9054),c=n(5334),d=n(4580),h="__zr_normal__",f=r.Wx.concat(["ignore"]),p=(0,l.TS)(r.Wx,(function(e,t){return e[t]=!0,e}),{ignore:!1}),v={},g=new o.A(0,0,0,0),m=function(){function e(e){this.id=(0,l.Os)(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return e.prototype._init=function(e){this.attr(e)},e.prototype.drift=function(e,t,n){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=e,r[5]+=t,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=t.innerTransformable,o=void 0,a=void 0,l=!1;i.parent=r?this:null;var u=!1;if(i.copyTransform(t),null!=n.position){var c=g;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),r||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(v,n,c):(0,s.X4)(v,n,c),i.x=v.x,i.y=v.y,o=v.align,a=v.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var f=void 0,p=void 0;"center"===h?(f=.5*c.width,p=.5*c.height):(f=(0,s.lo)(h[0],c.width),p=(0,s.lo)(h[1],c.height)),u=!0,i.originX=-i.x+f+(r?0:c.x),i.originY=-i.y+p+(r?0:c.y)}}null!=n.rotation&&(i.rotation=n.rotation);var m=n.offset;m&&(i.x+=m[0],i.y+=m[1],u||(i.originX=-m[0],i.originY=-m[1]));var y=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,_=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),b=void 0,x=void 0,w=void 0;y&&this.canBeInsideText()?(b=n.insideFill,x=n.insideStroke,null!=b&&"auto"!==b||(b=this.getInsideTextFill()),null!=x&&"auto"!==x||(x=this.getInsideTextStroke(b),w=!0)):(b=n.outsideFill,x=n.outsideStroke,null!=b&&"auto"!==b||(b=this.getOutsideFill()),null!=x&&"auto"!==x||(x=this.getOutsideStroke(b),w=!0)),b=b||"#000",b===_.fill&&x===_.stroke&&w===_.autoStroke&&o===_.align&&a===_.verticalAlign||(l=!0,_.fill=b,_.stroke=x,_.autoStroke=w,_.align=o,_.verticalAlign=a,t.setDefaultTextStyle(_)),t.__dirty|=d.M,l&&t.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(e){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.el:u._S},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof t&&(0,c.qg)(t);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(i?0:255)*(1-r);return n[3]=1,(0,c.As)(n,"rgba")},e.prototype.traverse=function(e,t){},e.prototype.attrKV=function(e,t){"textConfig"===e?this.setTextConfig(t):"textContent"===e?this.setTextContent(t):"clipPath"===e?this.setClipPath(t):"extra"===e?(this.extra=this.extra||{},(0,l.X$)(this.extra,t)):this[e]=t},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(e,t){if("string"===typeof e)this.attrKV(e,t);else if((0,l.Gv)(e))for(var n=e,r=(0,l.HP)(n),i=0;i<r.length;i++){var o=r[i];this.attrKV(o,e[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],i=r.__fromStateTransition;if(!(r.getLoop()||i&&i!==h)){var o=r.targetName,a=o?t[o]:t;r.saveTo(a)}}},e.prototype._innerSaveToNormal=function(e){var t=this._normalState;t||(t=this._normalState={}),e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,f)},e.prototype._savePrimaryToNormal=function(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];null==e[i]||i in t||(t[i]=this[i])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(e){return this.states[e]},e.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},e.prototype.clearStates=function(e){this.useState(h,!1,e)},e.prototype.useState=function(e,t,n,r){var i=e===h,o=this.hasState();if(o||!i){var a=this.currentStates,s=this.stateTransition;if(!((0,l.qh)(a,e)>=0)||!t&&1!==a.length){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(e)),u||(u=this.states&&this.states[e]),u||i){i||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||r);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,u,this._normalState,t,!n&&!this.__inHover&&s&&s.duration>0,s);var f=this._textContent,p=this._textGuide;return f&&f.useState(e,t,n,c),p&&p.useState(e,t,n,c),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~d.M),u}(0,l.vV)("State "+e+" not exists.")}}},e.prototype.useStates=function(e,t,n){if(e.length){var r=[],i=this.currentStates,o=e.length,a=o===i.length;if(a)for(var s=0;s<o;s++)if(e[s]!==i[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,e)),u||(u=this.states[l]),u&&r.push(u)}var c=r[o-1],h=!!(c&&c.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var f=this._mergeStates(r),p=this.stateTransition;this.saveCurrentToNormalState(f),this._applyStateObj(e.join(","),f,this._normalState,!1,!t&&!this.__inHover&&p&&p.duration>0,p);var v=this._textContent,g=this._textGuide;v&&v.useStates(e,t,h),g&&g.useStates(e,t,h),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~d.M)}else this.clearStates()},e.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},e.prototype.removeState=function(e){var t=(0,l.qh)(this.currentStates,e);if(t>=0){var n=this.currentStates.slice();n.splice(t,1),this.useStates(n)}},e.prototype.replaceState=function(e,t,n){var r=this.currentStates.slice(),i=(0,l.qh)(r,e),o=(0,l.qh)(r,t)>=0;i>=0?o?r.splice(i,1):r[i]=t:n&&!o&&r.push(t),this.useStates(r)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t,n={},r=0;r<e.length;r++){var i=e[r];(0,l.X$)(n,i),i.textConfig&&(t=t||{},(0,l.X$)(t,i.textConfig))}return t&&(n.textConfig=t),n},e.prototype._applyStateObj=function(e,t,n,r,i,o){var a=!(t&&r);t&&t.textConfig?(this.textConfig=(0,l.X$)({},r?this.textConfig:n.textConfig),(0,l.X$)(this.textConfig,t.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,c=0;c<f.length;c++){var d=f[c],h=i&&p[d];t&&null!=t[d]?h?(u=!0,s[d]=t[d]):this[d]=t[d]:a&&null!=n[d]&&(h?(u=!0,s[d]=n[d]):this[d]=n[d])}if(!i)for(c=0;c<this.animators.length;c++){var v=this.animators[c],g=v.targetName;v.getLoop()||v.__changeFinalValue(g?(t||n)[g]:t||n)}u&&this._transitionState(e,s,o)},e.prototype._attachComponent=function(e){if((!e.__zr||e.__hostTarget)&&e!==this){var t=this.__zr;t&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this}},e.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},e.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(e){var t=this._textContent;t!==e&&(t&&t!==e&&this.removeTextContent(),e.innerTransformable=new r.Ay,this._attachComponent(e),this._textContent=e,this.markRedraw())},e.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),(0,l.X$)(this.textConfig,e),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=d.M;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,n=this._textGuide;t&&(t.__inHover=e),n&&(n.__inHover=e)},e.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.addAnimator(t[n]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},e.prototype.animate=function(e,t,n){var r=e?this[e]:this;var o=new i.A(r,t,n);return e&&(o.targetName=e),this.addAnimator(o,e),o},e.prototype.addAnimator=function(e,t){var n=this.__zr,r=this;e.during((function(){r.updateDuringAnimation(t)})).done((function(){var t=r.animators,n=(0,l.qh)(t,e);n>=0&&t.splice(n,1)})),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(e){this.markRedraw()},e.prototype.stopAnimation=function(e,t){for(var n=this.animators,r=n.length,i=[],o=0;o<r;o++){var a=n[o];e&&e!==a.scope?i.push(a):a.stop(t)}return this.animators=i,this},e.prototype.animateTo=function(e,t,n){y(this,e,t,n)},e.prototype.animateFrom=function(e,t,n){y(this,e,t,n,!0)},e.prototype._transitionState=function(e,t,n,r){for(var i=y(this,t,n,r),o=0;o<i.length;o++)i[o].__fromStateTransition=e},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=d.M;function n(e,n,r,i){function o(e,t){Object.defineProperty(t,0,{get:function(){return e[r]},set:function(t){e[r]=t}}),Object.defineProperty(t,1,{get:function(){return e[i]},set:function(t){e[i]=t}})}Object.defineProperty(t,e,{get:function(){if(!this[n]){var e=this[n]=[];o(this,e)}return this[n]},set:function(e){this[r]=e[0],this[i]=e[1],this[n]=e,o(this,e)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();function y(e,t,n,r,i){n=n||{};var o=[];k(e,"",e,t,n,r,o,i);var a=o.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,a--,a<=0&&(s?l&&l():u&&u())},d=function(){a--,a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(e,t){n.during(t)}));for(var h=0;h<o.length;h++){var f=o[h];c&&f.done(c),d&&f.aborted(d),n.force&&f.duration(n.duration),f.start(n.easing)}return o}function _(e,t,n){for(var r=0;r<n;r++)e[r]=t[r]}function b(e){return(0,l.Xj)(e[0])}function x(e,t,n){if((0,l.Xj)(t[n]))if((0,l.Xj)(e[n])||(e[n]=[]),(0,l.iu)(t[n])){var r=t[n].length;e[n].length!==r&&(e[n]=new t[n].constructor(r),_(e[n],t[n],r))}else{var i=t[n],o=e[n],a=i.length;if(b(i))for(var s=i[0].length,u=0;u<a;u++)o[u]?_(o[u],i[u],s):o[u]=Array.prototype.slice.call(i[u]);else _(o,i,a);o.length=i.length}else e[n]=t[n]}function w(e,t){return e===t||(0,l.Xj)(e)&&(0,l.Xj)(t)&&S(e,t)}function S(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function k(e,t,n,r,o,a,s,u){for(var c=(0,l.HP)(r),d=o.duration,h=o.delay,f=o.additive,p=o.setToFinal,v=!(0,l.Gv)(a),g=e.animators,m=[],y=0;y<c.length;y++){var _=c[y],b=r[_];if(null!=b&&null!=n[_]&&(v||a[_]))if(!(0,l.Gv)(b)||(0,l.Xj)(b)||(0,l.C7)(b))m.push(_);else{if(t){u||(n[_]=b,e.updateDuringAnimation(t));continue}k(e,_,n[_],b,o,a&&a[_],s,u)}else u||(n[_]=b,e.updateDuringAnimation(t),m.push(_))}var S=m.length;if(!f&&S)for(var C=0;C<g.length;C++){var A=g[C];if(A.targetName===t){var T=A.stopTracks(m);if(T){var E=(0,l.qh)(g,A);g.splice(E,1)}}}if(o.force||(m=(0,l.pb)(m,(function(e){return!w(r[e],n[e])})),S=m.length),S>0||o.force&&!s.length){var M=void 0,I=void 0,D=void 0;if(u){I={},p&&(M={});for(C=0;C<S;C++){_=m[C];I[_]=n[_],p?M[_]=r[_]:n[_]=r[_]}}else if(p){D={};for(C=0;C<S;C++){_=m[C];D[_]=(0,i.F)(n[_]),x(n,r,_)}}A=new i.A(n,!1,!1,f?(0,l.pb)(g,(function(e){return e.targetName===t})):null);A.targetName=t,o.scope&&(A.scope=o.scope),p&&M&&A.whenWithKeys(0,M,m),D&&A.whenWithKeys(0,D,m),A.whenWithKeys(null==d?500:d,u?I:r,m).delay(h||0),e.addAnimator(A,t),s.push(A)}}(0,l.co)(m,a.A),(0,l.co)(m,r.Ay);const C=m},3432:(e,t,n)=>{"use strict";n.d(t,{F:()=>S,A:()=>N});var r={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r))},elasticOut:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-r.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*r.bounceIn(2*e):.5*r.bounceOut(2*e-1)+.5}};const i=r;var o=n(2486),a=n(6943),s=/cubic-bezier\(([0-9,\.e ]+)\)/;function l(e){var t=e&&s.exec(e);if(t){var n=t[1].split(","),r=+(0,o.Bq)(n[0]),i=+(0,o.Bq)(n[1]),l=+(0,o.Bq)(n[2]),u=+(0,o.Bq)(n[3]);if(isNaN(r+i+l+u))return;var c=[];return function(e){return e<=0?0:e>=1?1:(0,a._E)(0,r,l,1,e,c)&&(0,a.Yb)(0,i,u,1,c[0])}}}var u=function(){function e(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||o.lQ,this.ondestroy=e.ondestroy||o.lQ,this.onrestart=e.onrestart||o.lQ,e.easing&&this.setEasing(e.easing)}return e.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),!this._paused){var n=this._life,r=e-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i){if(!this.loop)return!0;var s=r%n;this._startTime=e-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=t},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(e){this.easing=e,this.easingFunc=(0,o.Tn)(e)?e:i[e]||l(e)},e}();const c=u;var d=n(5334),h=n(4047);Math.round;function f(e){return"linear"===e.type}function p(e){return"radial"===e.type}(function(){h.A.hasGlobalWindow&&(0,o.Tn)(window.btoa)})();var v=Array.prototype.slice;function g(e,t,n){return(t-e)*n+e}function m(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=g(t[o],n[o],r);return e}function y(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=g(t[a][s],n[a][s],r)}return e}function _(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=t[o]+n[o]*r;return e}function b(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=t[a][s]+n[a][s]*r}return e}function x(e,t){for(var n=e.length,r=t.length,i=n>r?t:e,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,r);s++)i.push({offset:a.offset,color:a.color.slice()})}function w(e,t,n){var r=e,i=t;if(r.push&&i.push){var o=r.length,a=i.length;if(o!==a){var s=o>a;if(s)r.length=a;else for(var l=o;l<a;l++)r.push(1===n?i[l]:v.call(i[l]))}var u=r[0]&&r[0].length;for(l=0;l<r.length;l++)if(1===n)isNaN(r[l])&&(r[l]=i[l]);else for(var c=0;c<u;c++)isNaN(r[l][c])&&(r[l][c]=i[l][c])}}function S(e){if((0,o.Xj)(e)){var t=e.length;if((0,o.Xj)(e[0])){for(var n=[],r=0;r<t;r++)n.push(v.call(e[r]));return n}return v.call(e)}return e}function k(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=null==e[3]?1:e[3],"rgba("+e.join(",")+")"}function C(e){return(0,o.Xj)(e&&e[0])?2:1}var A=0,T=1,E=2,M=3,I=4,D=5,R=6;function L(e){return e===I||e===D}function O(e){return e===T||e===E}var P=[0,0,0,0],z=function(){function e(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r=this.keyframes,a=r.length,s=!1,u=R,c=t;if((0,o.Xj)(t)){var h=C(t);u=h,(1===h&&!(0,o.Et)(t[0])||2===h&&!(0,o.Et)(t[0][0]))&&(s=!0)}else if((0,o.Et)(t)&&!(0,o.Yp)(t))u=A;else if((0,o.Kg)(t))if(isNaN(+t)){var v=d.qg(t);v&&(c=v,u=M)}else u=A;else if((0,o.C7)(t)){var g=(0,o.X$)({},c);g.colorStops=(0,o.Tj)(t.colorStops,(function(e){return{offset:e.offset,color:d.qg(e.color)}})),f(t)?u=I:p(t)&&(u=D),c=g}0===a?this.valType=u:u===this.valType&&u!==R||(s=!0),this.discrete=this.discrete||s;var m={time:e,value:c,rawValue:t,percent:0};return n&&(m.easing=n,m.easingFunc=(0,o.Tn)(n)?n:i[n]||l(n)),r.push(m),m},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort((function(e,t){return e.time-t.time}));for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=O(r),l=L(r),u=0;u<i;u++){var c=n[u],d=c.value,h=o.value;c.percent=c.time/e,a||(s&&u!==i-1?w(d,h,r):l&&x(d.colorStops,h.colorStops))}if(!a&&r!==D&&t&&this.needsAnimate()&&t.needsAnimate()&&r===t.valType&&!t._finished){this._additiveTrack=t;var f=n[0].value;for(u=0;u<i;u++)r===A?n[u].additiveValue=n[u].value-f:r===M?n[u].additiveValue=_([],n[u].value,f,-1):O(r)&&(n[u].additiveValue=r===T?_([],n[u].value,f,-1):b([],n[u].value,f,-1))}},e.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,i,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,c=u.length,d=this.propName,h=l===M,f=this._lastFr,p=Math.min;if(1===c)r=i=u[0];else{if(t<0)n=0;else if(t<this._lastFrP){var v=p(f+1,c-1);for(n=v;n>=0;n--)if(u[n].percent<=t)break;n=p(n,c-2)}else{for(n=f;n<c;n++)if(u[n].percent>t)break;n=p(n-1,c-2)}i=u[n+1],r=u[n]}if(r&&i){this._lastFr=n,this._lastFrP=t;var _=i.percent-r.percent,b=0===_?1:p((t-r.percent)/_,1);i.easingFunc&&(b=i.easingFunc(b));var x=a?this._additiveValue:h?P:e[d];if(!O(l)&&!h||x||(x=this._additiveValue=[]),this.discrete)e[d]=b<1?r.rawValue:i.rawValue;else if(O(l))l===T?m(x,r[s],i[s],b):y(x,r[s],i[s],b);else if(L(l)){var w=r[s],S=i[s],C=l===I;e[d]={type:C?"linear":"radial",x:g(w.x,S.x,b),y:g(w.y,S.y,b),colorStops:(0,o.Tj)(w.colorStops,(function(e,t){var n=S.colorStops[t];return{offset:g(e.offset,n.offset,b),color:k(m([],e.color,n.color,b))}})),global:S.global},C?(e[d].x2=g(w.x2,S.x2,b),e[d].y2=g(w.y2,S.y2,b)):e[d].r=g(w.r,S.r,b)}else if(h)m(x,r[s],i[s],b),a||(e[d]=k(x));else{var A=g(r[s],i[s],b);a?this._additiveValue=A:e[d]=A}a&&this._addToTarget(e)}}},e.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,r=this._additiveValue;t===A?e[n]=e[n]+r:t===M?(d.qg(e[n],P),_(P,P,r,1),e[n]=k(P)):t===T?_(e[n],e[n],r,1):t===E&&b(e[n],e[n],r,1)},e}(),B=function(){function e(e,t,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&r?(0,o.vV)("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(e){this._target=e},e.prototype.when=function(e,t,n){return this.whenWithKeys(e,t,(0,o.HP)(t),n)},e.prototype.whenWithKeys=function(e,t,n,r){for(var i=this._tracks,o=0;o<n.length;o++){var a=n[o],s=i[a];if(!s){s=i[a]=new z(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,d=c[c.length-1];l=d&&d.value,u.valType===M&&l&&(l=k(l))}else l=this._target[a];if(null==l)continue;e>0&&s.addKeyframe(0,S(l),r),this._trackKeys.push(a)}s.addKeyframe(e,S(t[a]),r)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n<t;n++)e[n].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var n=0;n<t.length;n++)t[n].call(this)},e.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,n=0;n<t.length;n++)e[t[n]].setFinished()},e.prototype._getAdditiveTrack=function(e){var t,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var i=n[r].getTrack(e);i&&(t=i)}return t},e.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,n=[],r=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(r,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var d=l[u-1];d&&(t._target[a.propName]=d.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var h=new c({life:r,loop:this._loop,delay:this._delay||0,onframe:function(e){t._started=2;var r=t._additiveAnimators;if(r){for(var i=!1,o=0;o<r.length;o++)if(r[o]._clip){i=!0;break}i||(t._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(t._target,e);var a=t._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](t._target,e)},ondestroy:function(){t._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),e&&h.setEasing(e)}else this._doneCallback();return this}},e.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},e.prototype.delay=function(e){return this._delay=e,this},e.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},e.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},e.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(e){return this._tracks[e]},e.prototype.getTracks=function(){var e=this;return(0,o.Tj)(this._trackKeys,(function(t){return e._tracks[t]}))},e.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,i=0;i<e.length;i++){var o=n[e[i]];o&&!o.isFinished()&&(t?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(i=0;i<r.length;i++)if(!n[r[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},e.prototype.saveTo=function(e,t,n){if(e){t=t||this._trackKeys;for(var r=0;r<t.length;r++){var i=t[r],o=this._tracks[i];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(e[i]=S(s.rawValue))}}}},e.prototype.__changeFinalValue=function(e,t){t=t||(0,o.HP)(e);for(var n=0;n<t.length;n++){var r=t[n],i=this._tracks[r];if(i){var a=i.keyframes;if(a.length>1){var s=a.pop();i.addKeyframe(s.time,e[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}();const N=B},2541:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r,i=n(4047);r=i.A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};const o=r},133:(e,t,n)=>{"use strict";n.d(t,{V$:()=>W,Xi:()=>q,ZQ:()=>x});var r=n(6011),i=n(9975),o=n(7163),a=n(3443),s=n(8874),l=n(7744),u=n(7649),c=n(2486);function d(e,t){return e&&"solid"!==e&&t>0?"dashed"===e?[4*t,2*t]:"dotted"===e?[t]:(0,c.Et)(e)?[e]:(0,c.cy)(e)?e:null:null}function h(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&d(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&1!==i&&(n=(0,c.Tj)(n,(function(e){return e/i})),r/=i)}return[n,r]}var f=n(4580),p=n(985),v=new i.A(!0);function g(e){var t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))}function m(e){return"string"===typeof e&&"none"!==e}function y(e){var t=e.fill;return null!=t&&"none"!==t}function _(e,t){if(null!=t.fillOpacity&&1!==t.fillOpacity){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function b(e,t){if(null!=t.strokeOpacity&&1!==t.strokeOpacity){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function x(e,t,n){var r=(0,o.OD)(t.image,t.__image,n);if((0,o.xA)(r)){var i=e.createPattern(r,t.repeat||"repeat");if("function"===typeof DOMMatrix&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*c.lI),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function w(e,t,n,r){var i,o=g(n),s=y(n),l=n.strokePercent,u=l<1,c=!t.path;t.silent&&!u||!c||t.createPathProxy();var d=t.path||v,p=t.__dirty;if(!r){var m=n.fill,w=n.stroke,S=s&&!!m.colorStops,k=o&&!!w.colorStops,C=s&&!!m.image,A=o&&!!w.image,T=void 0,E=void 0,M=void 0,I=void 0,D=void 0;(S||k)&&(D=t.getBoundingRect()),S&&(T=p?(0,a.Ff)(e,m,D):t.__canvasFillGradient,t.__canvasFillGradient=T),k&&(E=p?(0,a.Ff)(e,w,D):t.__canvasStrokeGradient,t.__canvasStrokeGradient=E),C&&(M=p||!t.__canvasFillPattern?x(e,m,t):t.__canvasFillPattern,t.__canvasFillPattern=M),A&&(I=p||!t.__canvasStrokePattern?x(e,w,t):t.__canvasStrokePattern,t.__canvasStrokePattern=M),S?e.fillStyle=T:C&&(M?e.fillStyle=M:s=!1),k?e.strokeStyle=E:A&&(I?e.strokeStyle=I:o=!1)}var R,L,O=t.getGlobalScale();d.setScale(O[0],O[1],t.segmentIgnoreThreshold),e.setLineDash&&n.lineDash&&(i=h(t),R=i[0],L=i[1]);var P=!0;(c||p&f.Dl)&&(d.setDPR(e.dpr),u?d.setContext(null):(d.setContext(e),P=!1),d.reset(),t.buildPath(d,t.shape,r),d.toStatic(),t.pathUpdated()),P&&d.rebuildPath(e,u?l:1),R&&(e.setLineDash(R),e.lineDashOffset=L),r||(n.strokeFirst?(o&&b(e,n),s&&_(e,n)):(s&&_(e,n),o&&b(e,n))),R&&e.setLineDash([])}function S(e,t,n){var r=t.__image=(0,o.OD)(n.image,t.__image,t,t.onload);if(r&&(0,o.xA)(r)){var i=n.x||0,a=n.y||0,s=t.getWidth(),l=t.getHeight(),u=r.width/r.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=r.width,l=r.height),n.sWidth&&n.sHeight){var c=n.sx||0,d=n.sy||0;e.drawImage(r,c,d,n.sWidth,n.sHeight,i,a,s,l)}else if(n.sx&&n.sy){c=n.sx,d=n.sy;var h=s-c,f=l-d;e.drawImage(r,c,d,h,f,i,a,s,l)}else e.drawImage(r,i,a,s,l)}}function k(e,t,n){var r,i=n.text;if(null!=i&&(i+=""),i){e.font=n.font||p.OH,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var o=void 0,a=void 0;e.setLineDash&&n.lineDash&&(r=h(t),o=r[0],a=r[1]),o&&(e.setLineDash(o),e.lineDashOffset=a),n.strokeFirst?(g(n)&&e.strokeText(i,n.x,n.y),y(n)&&e.fillText(i,n.x,n.y)):(y(n)&&e.fillText(i,n.x,n.y),g(n)&&e.strokeText(i,n.x,n.y)),o&&e.setLineDash([])}}var C=["shadowBlur","shadowOffsetX","shadowOffsetY"],A=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function T(e,t,n,i,o){var a=!1;if(!i&&(n=n||{},t===n))return!1;if(i||t.opacity!==n.opacity){N(e,o),a=!0;var s=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(s)?r.oN.opacity:s}(i||t.blend!==n.blend)&&(a||(N(e,o),a=!0),e.globalCompositeOperation=t.blend||r.oN.blend);for(var l=0;l<C.length;l++){var u=C[l];(i||t[u]!==n[u])&&(a||(N(e,o),a=!0),e[u]=e.dpr*(t[u]||0))}return(i||t.shadowColor!==n.shadowColor)&&(a||(N(e,o),a=!0),e.shadowColor=t.shadowColor||r.oN.shadowColor),a}function E(e,t,n,r,i){var o=F(t,i.inHover),a=r?null:n&&F(n,i.inHover)||{};if(o===a)return!1;var s=T(e,o,a,r,i);if((r||o.fill!==a.fill)&&(s||(N(e,i),s=!0),m(o.fill)&&(e.fillStyle=o.fill)),(r||o.stroke!==a.stroke)&&(s||(N(e,i),s=!0),m(o.stroke)&&(e.strokeStyle=o.stroke)),(r||o.opacity!==a.opacity)&&(s||(N(e,i),s=!0),e.globalAlpha=null==o.opacity?1:o.opacity),t.hasStroke()){var l=o.lineWidth,u=l/(o.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==u&&(s||(N(e,i),s=!0),e.lineWidth=u)}for(var c=0;c<A.length;c++){var d=A[c],h=d[0];(r||o[h]!==a[h])&&(s||(N(e,i),s=!0),e[h]=o[h]||d[1])}return s}function M(e,t,n,r,i){return T(e,F(t,i.inHover),n&&F(n,i.inHover),r,i)}function I(e,t){var n=t.transform,r=e.dpr||1;n?e.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):e.setTransform(r,0,0,r,0,0)}function D(e,t,n){for(var r=!1,i=0;i<e.length;i++){var o=e[i];r=r||o.isZeroArea(),I(t,o),t.beginPath(),o.buildPath(t,o.shape),t.clip()}n.allClipped=r}function R(e,t){return e&&t?e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[5]!==t[5]:!(!e&&!t)}var L=1,O=2,P=3,z=4;function B(e){var t=y(e),n=g(e);return!(e.lineDash||!(+t^+n)||t&&"string"!==typeof e.fill||n&&"string"!==typeof e.stroke||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function N(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function F(e,t){return t&&e.__hoverStyle||e.style}function q(e,t){W(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function W(e,t,n,r){var i=t.transform;if(!t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return t.__dirty&=~f.M,void(t.__isRendered=!1);var o=t.__clipPaths,c=n.prevElClipPaths,d=!1,h=!1;if(c&&!(0,a.KU)(o,c)||(c&&c.length&&(N(e,n),e.restore(),h=d=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(N(e,n),e.save(),D(o,e,n),d=!0),n.prevElClipPaths=o),n.allClipped)t.__isRendered=!1;else{t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var p=n.prevEl;p||(h=d=!0);var v=t instanceof s.Ay&&t.autoBatch&&B(t.style);d||R(i,p.transform)?(N(e,n),I(e,t)):v||N(e,n);var g=F(t,n.inHover);t instanceof s.Ay?(n.lastDrawType!==L&&(h=!0,n.lastDrawType=L),E(e,t,p,h,n),v&&(n.batchFill||n.batchStroke)||e.beginPath(),w(e,t,g,v),v&&(n.batchFill=g.fill||"",n.batchStroke=g.stroke||"")):t instanceof u.A?(n.lastDrawType!==P&&(h=!0,n.lastDrawType=P),E(e,t,p,h,n),k(e,t,g)):t instanceof l.Ay?(n.lastDrawType!==O&&(h=!0,n.lastDrawType=O),M(e,t,p,h,n),S(e,t,g)):t.getTemporalDisplayables&&(n.lastDrawType!==z&&(h=!0,n.lastDrawType=z),G(e,t,n)),v&&r&&N(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}}function G(e,t,n){var r=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=t.getCursor(),a=r.length;o<a;o++){var l=r[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),W(e,l,s,o===a-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=i.length;u<c;u++){l=i[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),W(e,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}},3443:(e,t,n)=>{"use strict";function r(e){return isFinite(e)}function i(e,t,n){var i=null==t.x?0:t.x,o=null==t.x2?1:t.x2,a=null==t.y?0:t.y,s=null==t.y2?0:t.y2;t.global||(i=i*n.width+n.x,o=o*n.width+n.x,a=a*n.height+n.y,s=s*n.height+n.y),i=r(i)?i:0,o=r(o)?o:1,a=r(a)?a:0,s=r(s)?s:0;var l=e.createLinearGradient(i,a,o,s);return l}function o(e,t,n){var i=n.width,o=n.height,a=Math.min(i,o),s=null==t.x?.5:t.x,l=null==t.y?.5:t.y,u=null==t.r?.5:t.r;t.global||(s=s*i+n.x,l=l*o+n.y,u*=a),s=r(s)?s:.5,l=r(l)?l:.5,u=u>=0&&r(u)?u:.5;var c=e.createRadialGradient(s,l,0,s,l,u);return c}function a(e,t,n){for(var r="radial"===t.type?o(e,t,n):i(e,t,n),a=t.colorStops,s=0;s<a.length;s++)r.addColorStop(a[s].offset,a[s].color);return r}function s(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}function l(e){return parseInt(e,10)}function u(e,t,n){var r=["width","height"][t],i=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=n[r]&&"auto"!==n[r])return parseFloat(n[r]);var s=document.defaultView.getComputedStyle(e);return(e[i]||l(s[r])||l(e.style[r]))-(l(s[o])||0)-(l(s[a])||0)|0}n.d(t,{Ff:()=>a,KU:()=>s,YC:()=>u})},9054:(e,t,n)=>{"use strict";n.d(t,{Y5:()=>o,_S:()=>s,el:()=>l,ps:()=>a,tY:()=>u});var r=n(4047),i=1;r.A.hasGlobalWindow&&(i=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=i,a=.4,s="#333",l="#ccc",u="#eee"},2586:(e,t,n)=>{"use strict";n.d(t,{NO:()=>u,RG:()=>s,X4:()=>p,ks:()=>h,ll:()=>c,lo:()=>f,sZ:()=>d});var r=n(2848),i=n(2369),o=n(985),a={};function s(e,t){t=t||o.OH;var n=a[t];n||(n=a[t]=new i.Ay(500));var r=n.get(e);return null==r&&(r=o.yh.measureText(e,t).width,n.put(e,r)),r}function l(e,t,n,i){var o=s(e,t),a=h(t),l=c(0,o,n),u=d(0,a,i),f=new r.A(l,u,o,a);return f}function u(e,t,n,i){var o=((e||"")+"").split("\n"),a=o.length;if(1===a)return l(o[0],t,n,i);for(var s=new r.A(0,0,0,0),u=0;u<o.length;u++){var c=l(o[u],t,n,i);0===u?s.copy(c):s.union(c)}return s}function c(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function d(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function h(e){return s("国",e)}function f(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function p(e,t,n){var r=t.position||"inside",i=null!=t.distance?t.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",d="top";if(r instanceof Array)l+=f(r[0],n.width),u+=f(r[1],n.height),c=null,d=null;else switch(r){case"left":l-=i,u+=s,c="right",d="middle";break;case"right":l+=i+a,u+=s,d="middle";break;case"top":l+=a/2,u-=i,c="center",d="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",d="middle";break;case"insideLeft":l+=i,u+=s,d="middle";break;case"insideRight":l+=a-i,u+=s,c="right",d="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",d="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,d="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",d="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=d,e}},2848:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(9383),i=n(1678),o=Math.min,a=Math.max,s=new i.A,l=new i.A,u=new i.A,c=new i.A,d=new i.A,h=new i.A,f=function(){function e(e,t,n,r){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),this.x=e,this.y=t,this.width=n,this.height=r}return e.prototype.union=function(e){var t=o(e.x,this.x),n=o(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(e.y+e.height,this.y+this.height)-n:this.height=e.height,this.x=t,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(e){var t=this,n=e.width/t.width,i=e.height/t.height,o=r.vt();return r.Tl(o,o,[-t.x,-t.y]),r.hs(o,o,[n,i]),r.Tl(o,o,[e.x,e.y]),o},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,o=r.x,a=r.x+r.width,s=r.y,l=r.y+r.height,u=t.x,c=t.x+t.width,f=t.y,p=t.y+t.height,v=!(a<u||c<o||l<f||p<s);if(n){var g=1/0,m=0,y=Math.abs(a-u),_=Math.abs(c-o),b=Math.abs(l-f),x=Math.abs(p-s),w=Math.min(y,_),S=Math.min(b,x);a<u||c<o?w>m&&(m=w,y<_?i.A.set(h,-y,0):i.A.set(h,_,0)):w<g&&(g=w,y<_?i.A.set(d,y,0):i.A.set(d,-_,0)),l<f||p<s?S>m&&(m=S,b<x?i.A.set(h,0,-b):i.A.set(h,0,x)):w<g&&(g=w,b<x?i.A.set(d,0,b):i.A.set(d,0,-x))}return n&&i.A.copy(n,v?d:h),v},e.prototype.contain=function(e,t){var n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return 0===this.width||0===this.height},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},e.applyTransform=function(t,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],d=r[3],h=r[4],f=r[5];return t.x=n.x*i+h,t.y=n.y*d+f,t.width=n.width*i,t.height=n.height*d,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}s.x=u.x=n.x,s.y=c.y=n.y,l.x=c.x=n.x+n.width,l.y=u.y=n.y+n.height,s.transform(r),c.transform(r),l.transform(r),u.transform(r),t.x=o(s.x,l.x,u.x,c.x),t.y=o(s.y,l.y,u.y,c.y);var p=a(s.x,l.x,u.x,c.x),v=a(s.y,l.y,u.y,c.y);t.width=p-t.x,t.height=v-t.y}else t!==n&&e.copy(t,n)},e}();const p=f},6105:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"===typeof t&&(r=n,n=t,t=null),!n||!e)return this;var o=this._$eventProcessor;null!=t&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),i[e]||(i[e]=[]);for(var a=0;a<i[e].length;a++)if(i[e][a].h===n)return this;var s={h:n,query:t,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},l=i[e].length-1,u=i[e][l];return u&&u.callAtLast?i[e].splice(l,0,s):i[e].push(s),this},e.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},e.prototype.off=function(e,t){var n=this._$handlers;if(!n)return this;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var r=[],i=0,o=n[e].length;i<o;i++)n[e][i].h!==t&&r.push(n[e][i]);n[e]=r}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];return this},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=r.length,s=0;s<a;s++){var l=r[s];if(!i||!i.filter||null==l.query||i.filter(e,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,t[0]);break;case 2:l.h.call(l.ctx,t[0],t[1]);break;default:l.h.apply(l.ctx,t);break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e.prototype.triggerWithContext=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=t[o-1],s=r.length,l=0;l<s;l++){var u=r[l];if(!i||!i.filter||null==u.query||i.filter(e,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,t[0]);break;case 2:u.h.call(a,t[0],t[1]);break;default:u.h.apply(a,t.slice(1,o-1));break}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e}();const i=r},2369:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a});var r=function(){function e(e){this.value=e}return e}(),i=function(){function e(){this._len=0}return e.prototype.insert=function(e){var t=new r(e);return this.insertEntry(t),t},e.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},e.prototype.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),o=function(){function e(e){this._list=new i,this._maxSize=10,this._map={},this._maxSize=e}return e.prototype.put=function(e,t){var n=this._list,i=this._map,o=null;if(null==i[e]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new r(t),s.key=e,n.insertEntry(s),i[e]=s}return o},e.prototype.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();const a=o},4672:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(1678),i=[0,0],o=[0,0],a=new r.A,s=new r.A,l=function(){function e(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new r.A;for(n=0;n<2;n++)this._axes[n]=new r.A;e&&this.fromBoundingRect(e,t)}return e.prototype.fromBoundingRect=function(e,t){var n=this._corners,i=this._axes,o=e.x,a=e.y,s=o+e.width,l=a+e.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),t)for(var u=0;u<4;u++)n[u].transform(t);r.A.sub(i[0],n[1],n[0]),r.A.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(u=0;u<2;u++)this._origin[u]=i[u].dot(n[0])},e.prototype.intersect=function(e,t){var n=!0,i=!t;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,e,a,s,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(e,this,a,s,i,-1)&&(n=!1,i)||i||r.A.copy(t,n?a:s),n},e.prototype._intersectCheckOneSide=function(e,t,n,a,s,l){for(var u=!0,c=0;c<2;c++){var d=this._axes[c];if(this._getProjMinMaxOnAxis(c,e._corners,i),this._getProjMinMaxOnAxis(c,t._corners,o),i[1]<o[0]||i[0]>o[1]){if(u=!1,s)return u;var h=Math.abs(o[0]-i[1]),f=Math.abs(i[0]-o[1]);Math.min(h,f)>a.len()&&(h<f?r.A.scale(a,d,-h*l):r.A.scale(a,d,f*l))}else if(n){h=Math.abs(o[0]-i[1]),f=Math.abs(i[0]-o[1]);Math.min(h,f)<n.len()&&(h<f?r.A.scale(n,d,h*l):r.A.scale(n,d,-f*l))}}return u},e.prototype._getProjMinMaxOnAxis=function(e,t,n){for(var r=this._axes[e],i=this._origin,o=t[0].dot(r)+i[e],a=o,s=o,l=1;l<t.length;l++){var u=t[l].dot(r)+i[e];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},e}();const u=l},9975:(e,t,n)=>{"use strict";n.d(t,{A:()=>q});var r=n(2809),i=n(2848),o=n(9054),a=n(6943),s=Math.min,l=Math.max,u=Math.sin,c=Math.cos,d=2*Math.PI,h=r.vt(),f=r.vt(),p=r.vt();function v(e,t,n,r,i,o){i[0]=s(e,n),i[1]=s(t,r),o[0]=l(e,n),o[1]=l(t,r)}var g=[],m=[];function y(e,t,n,r,i,o,u,c,d,h){var f=a.lX,p=a.Yb,v=f(e,n,i,u,g);d[0]=1/0,d[1]=1/0,h[0]=-1/0,h[1]=-1/0;for(var y=0;y<v;y++){var _=p(e,n,i,u,g[y]);d[0]=s(_,d[0]),h[0]=l(_,h[0])}v=f(t,r,o,c,m);for(y=0;y<v;y++){var b=p(t,r,o,c,m[y]);d[1]=s(b,d[1]),h[1]=l(b,h[1])}d[0]=s(e,d[0]),h[0]=l(e,h[0]),d[0]=s(u,d[0]),h[0]=l(u,h[0]),d[1]=s(t,d[1]),h[1]=l(t,h[1]),d[1]=s(c,d[1]),h[1]=l(c,h[1])}function _(e,t,n,r,i,o,u,c){var d=a.gC,h=a.k3,f=l(s(d(e,n,i),1),0),p=l(s(d(t,r,o),1),0),v=h(e,n,i,f),g=h(t,r,o,p);u[0]=s(e,i,v),u[1]=s(t,o,g),c[0]=l(e,i,v),c[1]=l(t,o,g)}function b(e,t,n,i,o,a,s,l,v){var g=r.jk,m=r.T9,y=Math.abs(o-a);if(y%d<1e-4&&y>1e-4)return l[0]=e-n,l[1]=t-i,v[0]=e+n,void(v[1]=t+i);if(h[0]=c(o)*n+e,h[1]=u(o)*i+t,f[0]=c(a)*n+e,f[1]=u(a)*i+t,g(l,h,f),m(v,h,f),o%=d,o<0&&(o+=d),a%=d,a<0&&(a+=d),o>a&&!s?a+=d:o<a&&s&&(o+=d),s){var _=a;a=o,o=_}for(var b=0;b<a;b+=Math.PI/2)b>o&&(p[0]=c(b)*n+e,p[1]=u(b)*i+t,g(l,p,l),m(v,p,v))}var x={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},w=[],S=[],k=[],C=[],A=[],T=[],E=Math.min,M=Math.max,I=Math.cos,D=Math.sin,R=Math.abs,L=Math.PI,O=2*L,P="undefined"!==typeof Float32Array,z=[];function B(e){var t=Math.round(e/L*1e8)/1e8;return t%2*L}function N(e,t){var n=B(e[0]);n<0&&(n+=O);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=O?i=n+O:t&&n-i>=O?i=n-O:!t&&n>i?i=n+(O-B(n-i)):t&&n<i&&(i=n-(O-B(i-n))),e[0]=n,e[1]=i}var F=function(){function e(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(e,t,n){n=n||0,n>0&&(this._ux=R(n/o.Y5/e)||0,this._uy=R(n/o.Y5/t)||0)},e.prototype.setDPR=function(e){this.dpr=e},e.prototype.setContext=function(e){this._ctx=e},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(x.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},e.prototype.lineTo=function(e,t){var n=R(e-this._xi),r=R(t-this._yi),i=n>this._ux||r>this._uy;if(this.addData(x.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(e,t,n,r,i,o){return this._drawPendingPt(),this.addData(x.C,e,t,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(e,t,n,r,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(e,t,n,r){return this._drawPendingPt(),this.addData(x.Q,e,t,n,r),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(e,t,n,r,i,o){this._drawPendingPt(),z[0]=r,z[1]=i,N(z,o),r=z[0],i=z[1];var a=i-r;return this.addData(x.A,e,t,n,n,r,a,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,r,i,o),this._xi=I(i)*n+e,this._yi=D(i)*n+t,this},e.prototype.arcTo=function(e,t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},e.prototype.rect=function(e,t,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,r),this.addData(x.R,e,t,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(x.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&e.closePath(),this._xi=t,this._yi=n,this},e.prototype.fill=function(e){e&&e.fill(),this.toStatic()},e.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(e){var t=e.length;this.data&&this.data.length===t||!P||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},e.prototype.appendPath=function(e){e instanceof Array||(e=[e]);for(var t=e.length,n=0,r=this._len,i=0;i<t;i++)n+=e[i].len();P&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(i=0;i<t;i++)for(var o=e[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},e.prototype.addData=function(e,t,n,r,i,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]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,P&&this._len>11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){k[0]=k[1]=A[0]=A[1]=Number.MAX_VALUE,C[0]=C[1]=T[0]=T[1]=-Number.MAX_VALUE;var e,t=this.data,n=0,o=0,a=0,s=0;for(e=0;e<this._len;){var l=t[e++],u=1===e;switch(u&&(n=t[e],o=t[e+1],a=n,s=o),l){case x.M:n=a=t[e++],o=s=t[e++],A[0]=a,A[1]=s,T[0]=a,T[1]=s;break;case x.L:v(n,o,t[e],t[e+1],A,T),n=t[e++],o=t[e++];break;case x.C:y(n,o,t[e++],t[e++],t[e++],t[e++],t[e],t[e+1],A,T),n=t[e++],o=t[e++];break;case x.Q:_(n,o,t[e++],t[e++],t[e],t[e+1],A,T),n=t[e++],o=t[e++];break;case x.A:var c=t[e++],d=t[e++],h=t[e++],f=t[e++],p=t[e++],g=t[e++]+p;e+=1;var m=!t[e++];u&&(a=I(p)*h+c,s=D(p)*f+d),b(c,d,h,f,p,g,m,A,T),n=I(g)*h+c,o=D(g)*f+d;break;case x.R:a=n=t[e++],s=o=t[e++];var w=t[e++],S=t[e++];v(a,s,a+w,s+S,A,T);break;case x.Z:n=a,o=s;break}r.jk(k,k,A),r.T9(C,C,T)}return 0===e&&(k[0]=k[1]=C[0]=C[1]=0),new i.A(k[0],k[1],C[0]-k[0],C[1]-k[1])},e.prototype._calculateLength=function(){var e=this.data,t=this._len,n=this._ux,r=this._uy,i=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,c=0,d=0,h=0;h<t;){var f=e[h++],p=1===h;p&&(i=e[h],o=e[h+1],s=i,l=o);var v=-1;switch(f){case x.M:i=s=e[h++],o=l=e[h++];break;case x.L:var g=e[h++],m=e[h++],y=g-i,_=m-o;(R(y)>n||R(_)>r||h===t-1)&&(v=Math.sqrt(y*y+_*_),i=g,o=m);break;case x.C:var b=e[h++],w=e[h++],S=(g=e[h++],m=e[h++],e[h++]),k=e[h++];v=(0,a.h0)(i,o,b,w,g,m,S,k,10),i=S,o=k;break;case x.Q:b=e[h++],w=e[h++],g=e[h++],m=e[h++];v=(0,a.d8)(i,o,b,w,g,m,10),i=g,o=m;break;case x.A:var C=e[h++],A=e[h++],T=e[h++],L=e[h++],P=e[h++],z=e[h++],B=z+P;h+=1;e[h++];p&&(s=I(P)*T+C,l=D(P)*L+A),v=M(T,L)*E(O,Math.abs(z)),i=I(B)*T+C,o=D(B)*L+A;break;case x.R:s=i=e[h++],l=o=e[h++];var N=e[h++],F=e[h++];v=2*N+2*F;break;case x.Z:y=s-i,_=l-o;v=Math.sqrt(y*y+_*_),i=s,o=l;break}v>=0&&(u[d++]=v,c+=v)}return this._pathLen=c,c},e.prototype.rebuildPath=function(e,t){var n,r,i,o,s,l,u,c,d,h,f,p=this.data,v=this._ux,g=this._uy,m=this._len,y=t<1,_=0,b=0,k=0;if(!y||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,c=this._pathLen,d=t*c,d))e:for(var C=0;C<m;){var A=p[C++],T=1===C;switch(T&&(i=p[C],o=p[C+1],n=i,r=o),A!==x.L&&k>0&&(e.lineTo(h,f),k=0),A){case x.M:n=i=p[C++],r=o=p[C++],e.moveTo(i,o);break;case x.L:s=p[C++],l=p[C++];var L=R(s-i),O=R(l-o);if(L>v||O>g){if(y){var P=u[b++];if(_+P>d){var z=(d-_)/P;e.lineTo(i*(1-z)+s*z,o*(1-z)+l*z);break e}_+=P}e.lineTo(s,l),i=s,o=l,k=0}else{var B=L*L+O*O;B>k&&(h=s,f=l,k=B)}break;case x.C:var N=p[C++],F=p[C++],q=p[C++],W=p[C++],G=p[C++],V=p[C++];if(y){P=u[b++];if(_+P>d){z=(d-_)/P;(0,a.YT)(i,N,q,G,z,w),(0,a.YT)(o,F,W,V,z,S),e.bezierCurveTo(w[1],S[1],w[2],S[2],w[3],S[3]);break e}_+=P}e.bezierCurveTo(N,F,q,W,G,V),i=G,o=V;break;case x.Q:N=p[C++],F=p[C++],q=p[C++],W=p[C++];if(y){P=u[b++];if(_+P>d){z=(d-_)/P;(0,a.kx)(i,N,q,z,w),(0,a.kx)(o,F,W,z,S),e.quadraticCurveTo(w[1],S[1],w[2],S[2]);break e}_+=P}e.quadraticCurveTo(N,F,q,W),i=q,o=W;break;case x.A:var H=p[C++],j=p[C++],$=p[C++],U=p[C++],K=p[C++],X=p[C++],Y=p[C++],Z=!p[C++],Q=$>U?$:U,J=R($-U)>.001,ee=K+X,te=!1;if(y){P=u[b++];_+P>d&&(ee=K+X*(d-_)/P,te=!0),_+=P}if(J&&e.ellipse?e.ellipse(H,j,$,U,Y,K,ee,Z):e.arc(H,j,Q,K,ee,Z),te)break e;T&&(n=I(K)*$+H,r=D(K)*U+j),i=I(ee)*$+H,o=D(ee)*U+j;break;case x.R:n=i=p[C],r=o=p[C+1],s=p[C++],l=p[C++];var ne=p[C++],re=p[C++];if(y){P=u[b++];if(_+P>d){var ie=d-_;e.moveTo(s,l),e.lineTo(s+E(ie,ne),l),ie-=ne,ie>0&&e.lineTo(s+ne,l+E(ie,re)),ie-=re,ie>0&&e.lineTo(s+M(ne-ie,0),l+re),ie-=ne,ie>0&&e.lineTo(s,l+M(re-ie,0));break e}_+=P}e.rect(s,l,ne,re);break;case x.Z:if(y){P=u[b++];if(_+P>d){z=(d-_)/P;e.lineTo(i*(1-z)+n*z,o*(1-z)+r*z);break e}_+=P}e.closePath(),i=n,o=r}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=x,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();const q=F},1678:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=function(){function e(e,t){this.x=e||0,this.y=t||0}return e.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(e,t){return this.x=e,this.y=t,this},e.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},e.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},e.prototype.scale=function(e){this.x*=e,this.y*=e},e.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},e.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},e.prototype.dot=function(e){return this.x*e.x+this.y*e.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},e.prototype.distance=function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},e.prototype.distanceSquare=function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(e){if(e){var t=this.x,n=this.y;return this.x=e[0]*t+e[2]*n+e[4],this.y=e[1]*t+e[3]*n+e[5],this}},e.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},e.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},e.set=function(e,t,n){e.x=t,e.y=n},e.copy=function(e,t){e.x=t.x,e.y=t.y},e.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},e.lenSquare=function(e){return e.x*e.x+e.y*e.y},e.dot=function(e,t){return e.x*t.x+e.y*t.y},e.add=function(e,t,n){e.x=t.x+n.x,e.y=t.y+n.y},e.sub=function(e,t,n){e.x=t.x-n.x,e.y=t.y-n.y},e.scale=function(e,t,n){e.x=t.x*n,e.y=t.y*n},e.scaleAndAdd=function(e,t,n,r){e.x=t.x+n.x*r,e.y=t.y+n.y*r},e.lerp=function(e,t,n,r){var i=1-r;e.x=i*t.x+r*n.x,e.y=i*t.y+r*n.y},e}();const i=r},792:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,Wx:()=>f});var r=n(9383),i=n(2809),o=r.D_,a=5e-5;function s(e){return e>a||e<-a}var l=[],u=[],c=r.vt(),d=Math.abs,h=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},e.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},e.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},e.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},e.prototype.needLocalTransform=function(){return s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||r.vt(),t?this.getLocalTransform(n):o(n),e&&(t?r.lK(n,e,n):r.C(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&o(n)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(l);var n=l[0]<0?-1:1,i=l[1]<0?-1:1,o=((l[0]-n)*t+n)/l[0]||0,a=((l[1]-i)*t+i)/l[1]||0;e[0]*=o,e[1]*=o,e[2]*=a,e[3]*=a}this.invTransform=this.invTransform||r.vt(),r.B8(this.invTransform,e)},e.prototype.getComputedTransform=function(){var e=this,t=[];while(e)t.push(e),e=e.parent;while(e=t.pop())e.updateTransform();return this.transform},e.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=Math.atan2(e[1],e[0]),i=Math.PI/2+r-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(r.lK(u,e.invTransform,t),t=u);var n=this.originX,i=this.originY;(n||i)&&(c[4]=n,c[5]=i,r.lK(u,t,c),u[4]-=n,u[5]-=i,t=u),this.setLocalTransform(t)}},e.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},e.prototype.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&i.NW(n,n,r),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&i.NW(n,n,r),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&d(e[0]-1)>1e-10&&d(e[3]-1)>1e-10?Math.sqrt(d(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){p(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,i=e.originY||0,o=e.scaleX,a=e.scaleY,s=e.anchorX,l=e.anchorY,u=e.rotation||0,c=e.x,d=e.y,h=e.skewX?Math.tan(e.skewX):0,f=e.skewY?Math.tan(-e.skewY):0;if(n||i||s||l){var p=n+s,v=i+l;t[4]=-p*o-h*v*a,t[5]=-v*a-f*p*o}else t[4]=t[5]=0;return t[0]=o,t[3]=a,t[1]=f*o,t[2]=h*a,u&&r.e$(t,t,u),t[4]+=n+c,t[5]+=i+d,t},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),f=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function p(e,t){for(var n=0;n<f.length;n++){var r=f[n];e[r]=t[r]}}const v=h},6943:(e,t,n)=>{"use strict";n.d(t,{Et:()=>b,YT:()=>_,Yb:()=>v,_E:()=>m,d8:()=>E,gC:()=>C,h0:()=>x,k3:()=>w,kh:()=>T,kx:()=>A,lX:()=>y,qY:()=>k,rD:()=>g,z7:()=>S});var r=n(2809),i=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,l=o(3),u=1/3,c=(0,r.vt)(),d=(0,r.vt)(),h=(0,r.vt)();function f(e){return e>-a&&e<a}function p(e){return e>a||e<-a}function v(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function g(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function m(e,t,n,r,a,s){var c=r+3*(t-n)-e,d=3*(n-2*t+e),h=3*(t-e),p=e-a,v=d*d-3*c*h,g=d*h-9*c*p,m=h*h-3*d*p,y=0;if(f(v)&&f(g))if(f(d))s[0]=0;else{var _=-h/d;_>=0&&_<=1&&(s[y++]=_)}else{var b=g*g-4*v*m;if(f(b)){var x=g/v,w=(_=-d/c+x,-x/2);_>=0&&_<=1&&(s[y++]=_),w>=0&&w<=1&&(s[y++]=w)}else if(b>0){var S=o(b),k=v*d+1.5*c*(-g+S),C=v*d+1.5*c*(-g-S);k=k<0?-i(-k,u):i(k,u),C=C<0?-i(-C,u):i(C,u);_=(-d-(k+C))/(3*c);_>=0&&_<=1&&(s[y++]=_)}else{var A=(2*v*d-3*c*g)/(2*o(v*v*v)),T=Math.acos(A)/3,E=o(v),M=Math.cos(T),I=(_=(-d-2*E*M)/(3*c),w=(-d+E*(M+l*Math.sin(T)))/(3*c),(-d+E*(M-l*Math.sin(T)))/(3*c));_>=0&&_<=1&&(s[y++]=_),w>=0&&w<=1&&(s[y++]=w),I>=0&&I<=1&&(s[y++]=I)}}return y}function y(e,t,n,r,i){var a=6*n-12*t+6*e,s=9*t+3*r-3*e-9*n,l=3*t-3*e,u=0;if(f(s)){if(p(a)){var c=-l/a;c>=0&&c<=1&&(i[u++]=c)}}else{var d=a*a-4*s*l;if(f(d))i[0]=-a/(2*s);else if(d>0){var h=o(d),v=(c=(-a+h)/(2*s),(-a-h)/(2*s));c>=0&&c<=1&&(i[u++]=c),v>=0&&v<=1&&(i[u++]=v)}}return u}function _(e,t,n,r,i,o){var a=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,d=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=d,o[4]=d,o[5]=c,o[6]=l,o[7]=r}function b(e,t,n,i,a,l,u,f,p,g,m){var y,_,b,x,w,S=.005,k=1/0;c[0]=p,c[1]=g;for(var C=0;C<1;C+=.05)d[0]=v(e,n,a,u,C),d[1]=v(t,i,l,f,C),x=(0,r.oi)(c,d),x<k&&(y=C,k=x);k=1/0;for(var A=0;A<32;A++){if(S<s)break;_=y-S,b=y+S,d[0]=v(e,n,a,u,_),d[1]=v(t,i,l,f,_),x=(0,r.oi)(d,c),_>=0&&x<k?(y=_,k=x):(h[0]=v(e,n,a,u,b),h[1]=v(t,i,l,f,b),w=(0,r.oi)(h,c),b<=1&&w<k?(y=b,k=w):S*=.5)}return m&&(m[0]=v(e,n,a,u,y),m[1]=v(t,i,l,f,y)),o(k)}function x(e,t,n,r,i,o,a,s,l){for(var u=e,c=t,d=0,h=1/l,f=1;f<=l;f++){var p=f*h,g=v(e,n,i,a,p),m=v(t,r,o,s,p),y=g-u,_=m-c;d+=Math.sqrt(y*y+_*_),u=g,c=m}return d}function w(e,t,n,r){var i=1-r;return i*(i*e+2*r*t)+r*r*n}function S(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function k(e,t,n,r,i){var a=e-2*t+n,s=2*(t-e),l=e-r,u=0;if(f(a)){if(p(s)){var c=-l/s;c>=0&&c<=1&&(i[u++]=c)}}else{var d=s*s-4*a*l;if(f(d)){c=-s/(2*a);c>=0&&c<=1&&(i[u++]=c)}else if(d>0){var h=o(d),v=(c=(-s+h)/(2*a),(-s-h)/(2*a));c>=0&&c<=1&&(i[u++]=c),v>=0&&v<=1&&(i[u++]=v)}}return u}function C(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function A(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,s=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function T(e,t,n,i,a,l,u,f,p){var v,g=.005,m=1/0;c[0]=u,c[1]=f;for(var y=0;y<1;y+=.05){d[0]=w(e,n,a,y),d[1]=w(t,i,l,y);var _=(0,r.oi)(c,d);_<m&&(v=y,m=_)}m=1/0;for(var b=0;b<32;b++){if(g<s)break;var x=v-g,S=v+g;d[0]=w(e,n,a,x),d[1]=w(t,i,l,x);_=(0,r.oi)(d,c);if(x>=0&&_<m)v=x,m=_;else{h[0]=w(e,n,a,S),h[1]=w(t,i,l,S);var k=(0,r.oi)(h,c);S<=1&&k<m?(v=S,m=k):g*=.5}}return p&&(p[0]=w(e,n,a,v),p[1]=w(t,i,l,v)),o(m)}function E(e,t,n,r,i,o,a){for(var s=e,l=t,u=0,c=1/a,d=1;d<=a;d++){var h=d*c,f=w(e,n,i,h),p=w(t,r,o,h),v=f-s,g=p-l;u+=Math.sqrt(v*v+g*g),s=f,l=p}return u}},8407:(e,t,n)=>{"use strict";n.d(t,{Me:()=>g,ot:()=>f,oq:()=>c,lJ:()=>u});var r=n(4047),i=Math.log(2);function o(e,t,n,r,a,s){var l=r+"-"+a,u=e.length;if(s.hasOwnProperty(l))return s[l];if(1===t){var c=Math.round(Math.log((1<<u)-1&~a)/i);return e[n][c]}var d=r|1<<n,h=n+1;while(r&1<<h)h++;for(var f=0,p=0,v=0;p<u;p++){var g=1<<p;g&a||(f+=(v%2?-1:1)*e[n][p]*o(e,t-1,h,d,a|g,s),v++)}return s[l]=f,f}function a(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},i=o(n,8,0,0,0,r);if(0!==i){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(n,7,0===s?1:0,1<<s,1<<l,r)/i*t[s];return function(e,t,n){var r=t*a[6]+n*a[7]+1;e[0]=(t*a[0]+n*a[1]+a[2])/r,e[1]=(t*a[3]+n*a[4]+a[5])/r}}}var s="___zrEVENTSAVED",l=[];function u(e,t,n,r,i){return c(l,t,r,i,!0)&&c(e,n,l[0],l[1])}function c(e,t,n,i,o){if(t.getBoundingClientRect&&r.A.domSupported&&!f(t)){var a=t[s]||(t[s]={}),l=d(t,a),u=h(l,a,o);if(u)return u(e,n,i),!0}return!1}function d(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var r=["left","right"],i=["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",r[l]+":0",i[u]+":0",r[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function h(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],o=t.srcCoords,s=[],l=[],u=!0,c=0;c<4;c++){var d=e[c].getBoundingClientRect(),h=2*c,f=d.left,p=d.top;s.push(f,p),u=u&&o&&f===o[h]&&p===o[h+1],l.push(e[c].offsetLeft,e[c].offsetTop)}return u&&i?i:(t.srcCoords=s,t[r]=n?a(l,s):a(s,l))}function f(e){return"CANVAS"===e.nodeName.toUpperCase()}var p=/([&<>"'])/g,v={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function g(e){return null==e?"":(e+"").replace(p,(function(e,t){return v[t]}))}},4047:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),i=function(){function e(){this.browser=new r,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 e}(),o=new i;function a(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),t.svgSupported="undefined"!==typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported="undefined"!==typeof document;var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.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);const s=o},8560:(e,t,n)=>{"use strict";n.d(t,{W5:()=>g,Yo:()=>l,ds:()=>v,e0:()=>d,f:()=>p,mK:()=>c,q2:()=>f});var r=n(4047),i=n(8407),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=r.A.browser.firefox&&+r.A.browser.version.split(".")[0]<39;function l(e,t,n,r){return n=n||{},r?u(e,t,n):s&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):u(e,t,n),n}function u(e,t,n){if(r.A.domSupported&&e.getBoundingClientRect){var o=t.clientX,s=t.clientY;if((0,i.ot)(e)){var l=e.getBoundingClientRect();return n.zrX=o-l.left,void(n.zrY=s-l.top)}if((0,i.oq)(a,e,o,s))return n.zrX=a[0],void(n.zrY=a[1])}n.zrX=n.zrY=0}function c(e){return e||window.event}function d(e,t,n){if(t=c(t),null!=t.zrX)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var a="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];a&&l(e,a,t,n)}else{l(e,t,t,n);var s=h(t);t.zrDelta=s?s/120:-(t.detail||0)/3}var u=t.button;return null==t.which&&void 0!==u&&o.test(t.type)&&(t.which=1&u?1:2&u?3:4&u?2:0),t}function h(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(null==n||null==r)return t;var i=0!==r?Math.abs(r):Math.abs(n),o=r>0?-1:r<0?1:n>0?-1:1;return 3*i*o}function f(e,t,n,r){e.addEventListener(t,n,r)}function p(e,t,n,r){e.removeEventListener(t,n,r)}var v=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function g(e){return 2===e.which||3===e.which}},9383:(e,t,n)=>{"use strict";function r(){return[1,0,0,1,0,0]}function i(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function a(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function s(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function l(e,t,n){var r=t[0],i=t[2],o=t[4],a=t[1],s=t[3],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=r*c+a*u,e[1]=-r*u+a*c,e[2]=i*c+s*u,e[3]=-i*u+c*s,e[4]=c*o+u*l,e[5]=c*l-u*o,e}function u(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function c(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*r;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*i)*l,e[5]=(o*i-n*s)*l,e):null}n.d(t,{B8:()=>c,C:()=>o,D_:()=>i,Tl:()=>s,e$:()=>l,hs:()=>u,lK:()=>a,vt:()=>r})},985:(e,t,n)=>{"use strict";n.d(t,{OH:()=>o,gI:()=>r,yh:()=>d});var r=12,i="sans-serif",o=r+"px "+i,a=20,s=100,l="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function u(e){var t={};if("undefined"===typeof JSON)return t;for(var n=0;n<e.length;n++){var r=String.fromCharCode(n+32),i=(e.charCodeAt(n)-a)/s;t[r]=i}return t}var c=u(l),d={createCanvas:function(){return"undefined"!==typeof document&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,i){if(!e){var a=d.createCanvas();e=a&&a.getContext("2d")}if(e)return t!==i&&(t=e.font=i||o),e.measureText(n);n=n||"",i=i||o;var s=/(\d+)px/.exec(i),l=s&&+s[1]||r,u=0;if(i.indexOf("mono")>=0)u=l*n.length;else for(var h=0;h<n.length;h++){var f=c[n[h]];u+=null==f?l:f*l}return{width:u}}}(),loadImage:function(e,t,n){var r=new Image;return r.onload=t,r.onerror=n,r.src=e,r}}},4074:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=32,i=7;function o(e){var t=0;while(e>=r)t|=1&e,e>>=1;return e+t}function a(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){while(i<n&&r(e[i],e[i-1])<0)i++;s(e,t,i)}else while(i<n&&r(e[i],e[i-1])>=0)i++;return i-t}function s(e,t,n){n--;while(t<n){var r=e[t];e[t++]=e[n],e[n--]=r}}function l(e,t,n,r,i){for(r===t&&r++;r<n;r++){var o,a=e[r],s=t,l=r;while(s<l)o=s+l>>>1,i(a,e[o])<0?l=o:s=o+1;var u=r-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:while(u>0)e[s+u]=e[s+u-1],u--}e[s]=a}}function u(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])>0){s=r-i;while(l<s&&o(e,t[n+i+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{s=i+1;while(l<s&&o(e,t[n+i-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[n+c])>0?a=c+1:l=c}return l}function c(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])<0){s=i+1;while(l<s&&o(e,t[n+i-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}else{s=r-i;while(l<s&&o(e,t[n+i+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[n+c])<0?l=c:a=c+1}return l}function d(e,t){var n,r,o=i,a=0,s=0;a=e.length;var l=[];function d(e,t){n[s]=e,r[s]=t,s+=1}function h(){while(s>1){var e=s-2;if(e>=1&&r[e-1]<=r[e]+r[e+1]||e>=2&&r[e-2]<=r[e]+r[e-1])r[e-1]<r[e+1]&&e--;else if(r[e]>r[e+1])break;p(e)}}function f(){while(s>1){var e=s-2;e>0&&r[e-1]<r[e+1]&&e--,p(e)}}function p(i){var o=n[i],a=r[i],l=n[i+1],d=r[i+1];r[i]=a+d,i===s-3&&(n[i+1]=n[i+2],r[i+1]=r[i+2]),s--;var h=c(e[l],e,o,a,0,t);o+=h,a-=h,0!==a&&(d=u(e[o+a-1],e,l,d,d-1,t),0!==d&&(a<=d?v(o,a,l,d):g(o,a,l,d)))}function v(n,r,a,s){var d=0;for(d=0;d<r;d++)l[d]=e[n+d];var h=0,f=a,p=n;if(e[p++]=e[f++],0!==--s)if(1!==r){var v,g,m,y=o;while(1){v=0,g=0,m=!1;do{if(t(e[f],l[h])<0){if(e[p++]=e[f++],g++,v=0,0===--s){m=!0;break}}else if(e[p++]=l[h++],v++,g=0,1===--r){m=!0;break}}while((v|g)<y);if(m)break;do{if(v=c(e[f],l,h,r,0,t),0!==v){for(d=0;d<v;d++)e[p+d]=l[h+d];if(p+=v,h+=v,r-=v,r<=1){m=!0;break}}if(e[p++]=e[f++],0===--s){m=!0;break}if(g=u(l[h],e,f,s,0,t),0!==g){for(d=0;d<g;d++)e[p+d]=e[f+d];if(p+=g,f+=g,s-=g,0===s){m=!0;break}}if(e[p++]=l[h++],1===--r){m=!0;break}y--}while(v>=i||g>=i);if(m)break;y<0&&(y=0),y+=2}if(o=y,o<1&&(o=1),1===r){for(d=0;d<s;d++)e[p+d]=e[f+d];e[p+s]=l[h]}else{if(0===r)throw new Error;for(d=0;d<r;d++)e[p+d]=l[h+d]}}else{for(d=0;d<s;d++)e[p+d]=e[f+d];e[p+s]=l[h]}else for(d=0;d<r;d++)e[p+d]=l[h+d]}function g(n,r,a,s){var d=0;for(d=0;d<s;d++)l[d]=e[a+d];var h=n+r-1,f=s-1,p=a+s-1,v=0,g=0;if(e[p--]=e[h--],0!==--r)if(1!==s){var m=o;while(1){var y=0,_=0,b=!1;do{if(t(l[f],e[h])<0){if(e[p--]=e[h--],y++,_=0,0===--r){b=!0;break}}else if(e[p--]=l[f--],_++,y=0,1===--s){b=!0;break}}while((y|_)<m);if(b)break;do{if(y=r-c(l[f],e,n,r,r-1,t),0!==y){for(p-=y,h-=y,r-=y,g=p+1,v=h+1,d=y-1;d>=0;d--)e[g+d]=e[v+d];if(0===r){b=!0;break}}if(e[p--]=l[f--],1===--s){b=!0;break}if(_=s-u(e[h],l,0,s,s-1,t),0!==_){for(p-=_,f-=_,s-=_,g=p+1,v=f+1,d=0;d<_;d++)e[g+d]=l[v+d];if(s<=1){b=!0;break}}if(e[p--]=e[h--],0===--r){b=!0;break}m--}while(y>=i||_>=i);if(b)break;m<0&&(m=0),m+=2}if(o=m,o<1&&(o=1),1===s){for(p-=r,h-=r,g=p+1,v=h+1,d=r-1;d>=0;d--)e[g+d]=e[v+d];e[p]=l[f]}else{if(0===s)throw new Error;for(v=p-(s-1),d=0;d<s;d++)e[v+d]=l[d]}}else{for(p-=r,h-=r,g=p+1,v=h+1,d=r-1;d>=0;d--)e[g+d]=e[v+d];e[p]=l[f]}else for(v=p-(s-1),d=0;d<s;d++)e[v+d]=l[d]}return n=[],r=[],{mergeRuns:h,forceMergeRuns:f,pushRun:d}}function h(e,t,n,i){n||(n=0),i||(i=e.length);var s=i-n;if(!(s<2)){var u=0;if(s<r)return u=a(e,n,i,t),void l(e,n,i,n+u,t);var c=d(e,t),h=o(s);do{if(u=a(e,n,i,t),u<h){var f=s;f>h&&(f=h),l(e,n,n+f,n+u,t),u=f}c.pushRun(n,u),c.mergeRuns(),s-=u,n+=u}while(0!==s);c.forceMergeRuns()}}},2486:(e,t,n)=>{"use strict";n.d(t,{$3:()=>ce,B:()=>S,Bq:()=>Q,C7:()=>V,En:()=>ee,Et:()=>N,Gv:()=>F,HE:()=>H,HP:()=>I,Je:()=>$,Kg:()=>z,Lh:()=>B,NT:()=>x,Os:()=>g,QX:()=>Y,TS:()=>E,Tj:()=>T,Tn:()=>P,WV:()=>K,X$:()=>b,Xj:()=>C,Yp:()=>j,__:()=>A,bZ:()=>U,cF:()=>L,co:()=>k,cy:()=>O,di:()=>X,ed:()=>le,h1:()=>_,iq:()=>ue,iu:()=>W,lI:()=>he,lQ:()=>de,n_:()=>G,nt:()=>ae,o8:()=>y,oI:()=>R,pb:()=>M,qh:()=>w,vA:()=>Z,vV:()=>m,yB:()=>se});var r=n(985),i=E(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),o=E(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,d=s.map,h=function(){}.constructor,f=h?h.prototype:null,p="__proto__",v=2311;function g(){return v++}function m(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"undefined"!==typeof console&&console.error.apply(console,e)}function y(e){if(null==e||"object"!==typeof e)return e;var t=e,n=a.call(e);if("[object Array]"===n){if(!te(e)){t=[];for(var r=0,s=e.length;r<s;r++)t[r]=y(e[r])}}else if(o[n]){if(!te(e)){var l=e.constructor;if(l.from)t=l.from(e);else{t=new l(e.length);for(r=0,s=e.length;r<s;r++)t[r]=e[r]}}}else if(!i[n]&&!te(e)&&!G(e))for(var u in t={},e)e.hasOwnProperty(u)&&u!==p&&(t[u]=y(e[u]));return t}function _(e,t,n){if(!F(t)||!F(e))return n?y(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!==p){var i=e[r],o=t[r];!F(o)||!F(i)||O(o)||O(i)||G(o)||G(i)||q(o)||q(i)||te(o)||te(i)?!n&&r in e||(e[r]=y(t[r])):_(i,o,n)}return e}function b(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==p&&(e[n]=t[n]);return e}function x(e,t,n){for(var r=I(t),i=0;i<r.length;i++){var o=r[i];(n?null!=t[o]:null==e[o])&&(e[o]=t[o])}return e}r.yh.createCanvas;function w(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function S(e,t){var n=e.prototype;function r(){}for(var i in r.prototype=t.prototype,e.prototype=new r,n)n.hasOwnProperty(i)&&(e.prototype[i]=n[i]);e.prototype.constructor=e,e.superClass=t}function k(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var o=r[i];"constructor"!==o&&(n?null!=t[o]:null==e[o])&&(e[o]=t[o])}else x(e,t,n)}function C(e){return!!e&&("string"!==typeof e&&"number"===typeof e.length)}function A(e,t,n){if(e&&t)if(e.forEach&&e.forEach===l)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function T(e,t,n){if(!e)return[];if(!t)return X(e);if(e.map&&e.map===d)return e.map(t,n);for(var r=[],i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i,e));return r}function E(e,t,n,r){if(e&&t){for(var i=0,o=e.length;i<o;i++)n=t.call(r,n,e[i],i,e);return n}}function M(e,t,n){if(!e)return[];if(!t)return X(e);if(e.filter&&e.filter===u)return e.filter(t,n);for(var r=[],i=0,o=e.length;i<o;i++)t.call(n,e[i],i,e)&&r.push(e[i]);return r}function I(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function D(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(c.call(arguments)))}}var R=f&&P(f.bind)?f.call.bind(f.bind):D;function L(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(c.call(arguments)))}}function O(e){return Array.isArray?Array.isArray(e):"[object Array]"===a.call(e)}function P(e){return"function"===typeof e}function z(e){return"string"===typeof e}function B(e){return"[object String]"===a.call(e)}function N(e){return"number"===typeof e}function F(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function q(e){return!!i[a.call(e)]}function W(e){return!!o[a.call(e)]}function G(e){return"object"===typeof e&&"number"===typeof e.nodeType&&"object"===typeof e.ownerDocument}function V(e){return null!=e.colorStops}function H(e){return null!=e.image}function j(e){return e!==e}function $(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e.length;n<r;n++)if(null!=e[n])return e[n]}function U(e,t){return null!=e?e:t}function K(e,t,n){return null!=e?e:null!=t?t:n}function X(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return c.apply(e,t)}function Y(e){if("number"===typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function Z(e,t){if(!e)throw new Error(t)}function Q(e){return null==e?null:"function"===typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var J="__ec_primitive__";function ee(e){e[J]=!0}function te(e){return e[J]}var ne=function(){function e(){this.data={}}return e.prototype["delete"]=function(e){var t=this.has(e);return t&&delete this.data[e],t},e.prototype.has=function(e){return this.data.hasOwnProperty(e)},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){return this.data[e]=t,this},e.prototype.keys=function(){return I(this.data)},e.prototype.forEach=function(e){var t=this.data;for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},e}(),re="function"===typeof Map;function ie(){return re?new Map:new ne}var oe=function(){function e(t){var n=O(t);this.data=ie();var r=this;function i(e,t){n?r.set(e,t):r.set(t,e)}t instanceof e?t.each(i):t&&A(t,i)}return e.prototype.hasKey=function(e){return this.data.has(e)},e.prototype.get=function(e){return this.data.get(e)},e.prototype.set=function(e,t){return this.data.set(e,t),t},e.prototype.each=function(e,t){this.data.forEach((function(n,r){e.call(t,n,r)}))},e.prototype.keys=function(){var e=this.data.keys();return re?Array.from(e):e},e.prototype.removeKey=function(e){this.data["delete"](e)},e}();function ae(e){return new oe(e)}function se(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];var i=e.length;for(r=0;r<t.length;r++)n[r+i]=t[r];return n}function le(e,t){var n;if(Object.create)n=Object.create(e);else{var r=function(){};r.prototype=e,n=new r}return t&&b(n,t),n}function ue(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function ce(e,t){return e.hasOwnProperty(t)}function de(){}var he=180/Math.PI},2809:(e,t,n)=>{"use strict";function r(e,t){return null==e&&(e=0),null==t&&(t=0),[e,t]}function i(e){return[e[0],e[1]]}function o(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function a(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function s(e){return Math.sqrt(l(e))}n.d(t,{Io:()=>d,NW:()=>v,S8:()=>c,T9:()=>m,WQ:()=>o,hs:()=>u,jb:()=>a,jk:()=>g,o8:()=>i,oi:()=>p,vt:()=>r,xg:()=>h});function l(e){return e[0]*e[0]+e[1]*e[1]}function u(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function c(e,t){var n=s(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function d(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var h=d;function f(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var p=f;function v(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function g(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function m(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}},6011:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>m,oN:()=>u,sW:()=>c});var r=n(8462),i=n(4762),o=n(2848),a=n(2486),s=n(4580),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},c={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var d=["z","z2","invisible"],h=["invisible"],f=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype._init=function(t){for(var n=(0,a.HP)(t),r=0;r<n.length;r++){var i=n[r];"style"===i?this.useStyle(t[i]):e.prototype.attrKV.call(this,i,t[i])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,t,n,r){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&g(this,e,t)||i&&!i[0]&&!i[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(r&&this.parent){var a=this.parent;while(a){if(a.ignore)return!1;a=a.parent}}return!0},t.prototype.contain=function(e,t){return this.rectContain(e,t)},t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.rectContain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return r.contain(n[0],n[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var t=this.transform,n=this.getBoundingRect(),r=this.style,i=r.shadowBlur||0,a=r.shadowOffsetX||0,s=r.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new o.A(0,0,0,0)),t?o.A.applyTransform(e,n,t):e.copy(n),(i||a||s)&&(e.width+=2*i+Math.abs(a),e.height+=2*i+Math.abs(s),e.x=Math.min(e.x,e.x+a-i),e.y=Math.min(e.y,e.y+s-i));var l=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-l),e.y=Math.floor(e.y-l),e.width=Math.ceil(e.width+1+2*l),e.height=Math.ceil(e.height+1+2*l))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new o.A(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(t,n){"style"!==t?e.prototype.attrKV.call(this,t,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(e,t){return"string"===typeof e?this.style[e]=t:(0,a.X$)(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=s.pO,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&s.pO)},t.prototype.styleUpdated=function(){this.__dirty&=~s.pO},t.prototype.createStyle=function(e){return(0,a.ed)(u,e)},t.prototype.useStyle=function(e){e[l]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[l]},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,n,d)},t.prototype._applyStateObj=function(t,n,r,i,o,s){e.prototype._applyStateObj.call(this,t,n,r,i,o,s);var l,u=!(n&&i);if(n&&n.style?o?i?l=n.style:(l=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),i?this.style:r.style),this._mergeStyle(l,n.style)):u&&(l=r.style),l)if(o){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var f=(0,a.HP)(c),p=0;p<f.length;p++){var v=f[p];v in l&&(l[v]=l[v],this.style[v]=c[v])}var g=(0,a.HP)(l);for(p=0;p<g.length;p++){v=g[p];this.style[v]=this.style[v]}this._transitionState(t,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l);var m=this.__inHover?h:d;for(p=0;p<m.length;p++){v=m[p];n&&null!=n[v]?this[v]=n[v]:u&&null!=r[v]&&(this[v]=r[v])}},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(r.style=n),r},t.prototype._mergeStyle=function(e,t){return(0,a.X$)(e,t),e},t.prototype.getAnimationStyleProps=function(){return c},t.initDefaultProps=function(){var e=t.prototype;e.type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.M|s.pO}(),t}(i.A),p=new o.A(0,0,0,0),v=new o.A(0,0,0,0);function g(e,t,n){return p.copy(e.getBoundingRect()),e.transform&&p.applyTransform(e.transform),v.width=t,v.height=n,!p.intersect(v)}const m=f},9261:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=function(){function e(e){this.colorStops=e||[]}return e.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},e}();const i=r},354:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(8462),i=n(2486),o=n(4762),a=n(2848),s=function(e){function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return(0,r.C6)(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},t.prototype.addBefore=function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var n=this._children,r=n.indexOf(t);r>=0&&(n.splice(r,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=i.qh(this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];if(e&&e!==this&&e.parent!==this&&e!==r){n[t]=e,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,n=this._children,r=i.qh(n,e);return r<0||(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh()),this},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;n<e.length;n++){var r=e[n];t&&r.removeSelfFromZr(t),r.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,t){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];e.call(t,i,r)}return this},t.prototype.traverse=function(e,t){for(var n=0;n<this._children.length;n++){var r=this._children[n],i=e.call(t,r);r.isGroup&&!i&&r.traverse(e,t)}return this},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++){var r=this._children[n];r.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++){var r=this._children[n];r.removeSelfFromZr(t)}},t.prototype.getBoundingRect=function(e){for(var t=new a.A(0,0,0,0),n=e||this._children,r=[],i=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(r);u?(a.A.applyTransform(t,l,u),i=i||t.clone(),i.union(t)):(i=i||l.clone(),i.union(l))}}return i||t},t}(o.A);s.prototype.type="group";const l=s},7744:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d});var r=n(8462),i=n(6011),o=n(2848),a=n(2486),s=(0,a.NT)({x:0,y:0},i.oN),l={style:(0,a.NT)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i.sW.style)};function u(e){return!!(e&&"string"!==typeof e&&e.width&&e.height)}var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.createStyle=function(e){return(0,a.ed)(s,e)},t.prototype._getSize=function(e){var t=this.style,n=t[e];if(null!=n)return n;var r=u(t.image)?t.image:this.__image;if(!r)return 0;var i="width"===e?"height":"width",o=t[i];return null==o?r[e]:r[e]/r[i]*o},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return l},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new o.A(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(i.Ay);c.prototype.type="image";const d=c},1832:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(8462),i=n(9261),o=function(e){function t(t,n,r,i,o,a){var s=e.call(this,o)||this;return s.x=null==t?0:t,s.y=null==n?0:n,s.x2=null==r?1:r,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return(0,r.C6)(t,e),t}(i.A);const a=o},8874:(e,t,n)=>{"use strict";n.d(t,{MW:()=>L,Ay:()=>B});var r=n(8462),i=n(6011),o=n(9975);function a(e,t,n,r,i,o,a){if(0===i)return!1;var s=i,l=0,u=e;if(a>t+s&&a>r+s||a<t-s&&a<r-s||o>e+s&&o>n+s||o<e-s&&o<n-s)return!1;if(e===n)return Math.abs(o-e)<=s/2;l=(t-r)/(e-n),u=(e*r-n*t)/(e-n);var c=l*o-a+u,d=c*c/(l*l+1);return d<=s/2*s/2}var s=n(6943);function l(e,t,n,r,i,o,a,l,u,c,d){if(0===u)return!1;var h=u;if(d>t+h&&d>r+h&&d>o+h&&d>l+h||d<t-h&&d<r-h&&d<o-h&&d<l-h||c>e+h&&c>n+h&&c>i+h&&c>a+h||c<e-h&&c<n-h&&c<i-h&&c<a-h)return!1;var f=s.Et(e,t,n,r,i,o,a,l,c,d,null);return f<=h/2}function u(e,t,n,r,i,o,a,l,u){if(0===a)return!1;var c=a;if(u>t+c&&u>r+c&&u>o+c||u<t-c&&u<r-c&&u<o-c||l>e+c&&l>n+c&&l>i+c||l<e-c&&l<n-c&&l<i-c)return!1;var d=(0,s.kh)(e,t,n,r,i,o,l,u,null);return d<=c/2}var c=2*Math.PI;function d(e){return e%=c,e<0&&(e+=c),e}var h=2*Math.PI;function f(e,t,n,r,i,o,a,s,l){if(0===a)return!1;var u=a;s-=e,l-=t;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(r-i)%h<1e-4)return!0;if(o){var f=r;r=d(i),i=d(f)}else r=d(r),i=d(i);r>i&&(i+=h);var p=Math.atan2(l,s);return p<0&&(p+=h),p>=r&&p<=i||p+h>=r&&p+h<=i}function p(e,t,n,r,i,o){if(o>t&&o>r||o<t&&o<r)return 0;if(r===t)return 0;var a=(o-t)/(r-t),s=r<t?1:-1;1!==a&&0!==a||(s=r<t?.5:-.5);var l=a*(n-e)+e;return l===i?1/0:l>i?s:0}var v=o.A.CMD,g=2*Math.PI,m=1e-4;function y(e,t){return Math.abs(e-t)<m}var _=[-1,-1,-1],b=[-1,-1];function x(){var e=b[0];b[0]=b[1],b[1]=e}function w(e,t,n,r,i,o,a,l,u,c){if(c>t&&c>r&&c>o&&c>l||c<t&&c<r&&c<o&&c<l)return 0;var d=s._E(t,r,o,l,c,_);if(0===d)return 0;for(var h=0,f=-1,p=void 0,v=void 0,g=0;g<d;g++){var m=_[g],y=0===m||1===m?.5:1,w=s.Yb(e,n,i,a,m);w<u||(f<0&&(f=s.lX(t,r,o,l,b),b[1]<b[0]&&f>1&&x(),p=s.Yb(t,r,o,l,b[0]),f>1&&(v=s.Yb(t,r,o,l,b[1]))),2===f?m<b[0]?h+=p<t?y:-y:m<b[1]?h+=v<p?y:-y:h+=l<v?y:-y:m<b[0]?h+=p<t?y:-y:h+=l<p?y:-y)}return h}function S(e,t,n,r,i,o,a,l){if(l>t&&l>r&&l>o||l<t&&l<r&&l<o)return 0;var u=s.qY(t,r,o,l,_);if(0===u)return 0;var c=s.gC(t,r,o);if(c>=0&&c<=1){for(var d=0,h=s.k3(t,r,o,c),f=0;f<u;f++){var p=0===_[f]||1===_[f]?.5:1,v=s.k3(e,n,i,_[f]);v<a||(_[f]<c?d+=h<t?p:-p:d+=o<h?p:-p)}return d}p=0===_[0]||1===_[0]?.5:1,v=s.k3(e,n,i,_[0]);return v<a?0:o<t?p:-p}function k(e,t,n,r,i,o,a,s){if(s-=t,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);_[0]=-l,_[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=g-1e-4){r=0,i=g;var c=o?1:-1;return a>=_[0]+e&&a<=_[1]+e?c:0}if(r>i){var d=r;r=i,i=d}r<0&&(r+=g,i+=g);for(var h=0,f=0;f<2;f++){var p=_[f];if(p+e>a){var v=Math.atan2(s,p);c=o?1:-1;v<0&&(v=g+v),(v>=r&&v<=i||v+g>=r&&v+g<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(c=-c),h+=c)}}return h}function C(e,t,n,r,i){for(var o,s,c=e.data,d=e.len(),h=0,g=0,m=0,_=0,b=0,x=0;x<d;){var C=c[x++],A=1===x;switch(C===v.M&&x>1&&(n||(h+=p(g,m,_,b,r,i))),A&&(g=c[x],m=c[x+1],_=g,b=m),C){case v.M:_=c[x++],b=c[x++],g=_,m=b;break;case v.L:if(n){if(a(g,m,c[x],c[x+1],t,r,i))return!0}else h+=p(g,m,c[x],c[x+1],r,i)||0;g=c[x++],m=c[x++];break;case v.C:if(n){if(l(g,m,c[x++],c[x++],c[x++],c[x++],c[x],c[x+1],t,r,i))return!0}else h+=w(g,m,c[x++],c[x++],c[x++],c[x++],c[x],c[x+1],r,i)||0;g=c[x++],m=c[x++];break;case v.Q:if(n){if(u(g,m,c[x++],c[x++],c[x],c[x+1],t,r,i))return!0}else h+=S(g,m,c[x++],c[x++],c[x],c[x+1],r,i)||0;g=c[x++],m=c[x++];break;case v.A:var T=c[x++],E=c[x++],M=c[x++],I=c[x++],D=c[x++],R=c[x++];x+=1;var L=!!(1-c[x++]);o=Math.cos(D)*M+T,s=Math.sin(D)*I+E,A?(_=o,b=s):h+=p(g,m,o,s,r,i);var O=(r-T)*I/M+T;if(n){if(f(T,E,I,D,D+R,L,t,O,i))return!0}else h+=k(T,E,I,D,D+R,L,O,i);g=Math.cos(D+R)*M+T,m=Math.sin(D+R)*I+E;break;case v.R:_=g=c[x++],b=m=c[x++];var P=c[x++],z=c[x++];if(o=_+P,s=b+z,n){if(a(_,b,o,b,t,r,i)||a(o,b,o,s,t,r,i)||a(o,s,_,s,t,r,i)||a(_,s,_,b,t,r,i))return!0}else h+=p(o,b,o,s,r,i),h+=p(_,s,_,b,r,i);break;case v.Z:if(n){if(a(g,m,_,b,t,r,i))return!0}else h+=p(g,m,_,b,r,i);g=_,m=b;break}}return n||y(m,b)||(h+=p(g,m,_,b,r,i)||0),0!==h}function A(e,t,n){return C(e,0,!1,t,n)}function T(e,t,n,r){return C(e,t,!0,n,r)}var E=n(2486),M=n(5334),I=n(9054),D=n(4580),R=n(792),L=(0,E.NT)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i.oN),O={style:(0,E.NT)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.sW.style)},P=R.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]),z=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(e){n.buildPath(e,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s<P.length;++s)i[P[s]]=this[P[s]];i.__dirty|=D.M}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(t){var n=(0,E.HP)(t);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var i=0;i<n.length;i++){var o=n[i],a=t[o];"style"===o?this.style?(0,E.X$)(this.style,a):this.useStyle(a):"shape"===o?(0,E.X$)(this.shape,a):e.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var e=this.style.fill;if("none"!==e){if((0,E.Kg)(e)){var t=(0,M.fN)(e,0);return t>.5?I._S:t>.2?I.tY:I.el}if(e)return I.el}return I._S},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if((0,E.Kg)(t)){var n=this.__zr,r=!(!n||!n.isDarkMode()),i=(0,M.fN)(e,0)<I.ps;if(r===i)return t}},t.prototype.buildPath=function(e,t,n){},t.prototype.pathUpdated=function(){this.__dirty&=~D.Dl},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new o.A(!1)},t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style,t=e.fill;return null!=t&&"none"!==t},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,n=!e;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&D.Dl)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),e=i.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){o.copy(e);var a=t.strokeNoScale?this.getLineScale():1,s=t.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 e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),T(o,a/s,e,t)))return!0}if(this.hasFill())return A(o,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=D.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,n){"shape"===t?this.setShape(n):e.prototype.attrKV.call(this,t,n)},t.prototype.setShape=function(e,t){var n=this.shape;return n||(n=this.shape={}),"string"===typeof e?n[e]=t:(0,E.X$)(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&D.Dl)},t.prototype.createStyle=function(e){return(0,E.ed)(L,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=(0,E.X$)({},this.shape))},t.prototype._applyStateObj=function(t,n,r,i,o,a){e.prototype._applyStateObj.call(this,t,n,r,i,o,a);var s,l=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=(0,E.X$)({},r.shape),(0,E.X$)(s,n.shape)):(s=(0,E.X$)({},i?this.shape:r.shape),(0,E.X$)(s,n.shape)):l&&(s=r.shape),s)if(o){this.shape=(0,E.X$)({},this.shape);for(var u={},c=(0,E.HP)(s),d=0;d<c.length;d++){var h=c[d];"object"===typeof s[h]?this.shape[h]=s[h]:u[h]=s[h]}this._transitionState(t,{shape:u},a)}else this.shape=s,this.dirtyShape()},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(r.shape=n),r},t.prototype.getAnimationStyleProps=function(){return O},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var n=function(t){function n(n){var r=t.call(this,n)||this;return e.init&&e.init.call(r,n),r}return(0,r.C6)(n,t),n.prototype.getDefaultStyle=function(){return(0,E.o8)(e.style)},n.prototype.getDefaultShape=function(){return(0,E.o8)(e.shape)},n}(t);for(var i in e)"function"===typeof e[i]&&(n.prototype[i]=e[i]);return n},t.initDefaultProps=function(){var e=t.prototype;e.type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=D.M|D.pO|D.Dl}(),t}(i.Ay);const B=z},7649:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(8462),i=n(6011),o=n(2586),a=n(8874),s=n(2486),l=n(985),u=(0,s.NT)({strokeFirst:!0,font:l.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.MW),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return null!=t&&"none"!==t&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style,t=e.fill;return null!=t&&"none"!==t},t.prototype.createStyle=function(e){return(0,s.ed)(u,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var t=e.text;null!=t?t+="":t="";var n=(0,o.NO)(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var r=e.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},t.initDefaultProps=function(){var e=t.prototype;e.dirtyRectTolerance=10}(),t}(i.Ay);c.prototype.type="tspan";const d=c},8246:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>j});var r=n(8462),i=n(7163),o=n(2486),a=n(2586),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(e,t,n,r,i){if(!t)return"";var o=(e+"").split("\n");i=u(t,n,r,i);for(var a=0,s=o.length;a<s;a++)o[a]=c(o[a],i);return o.join("\n")}function u(e,t,n,r){r=r||{};var i=(0,o.X$)({},r);i.font=t,n=(0,o.bZ)(n,"..."),i.maxIterations=(0,o.bZ)(r.maxIterations,2);var s=i.minChar=(0,o.bZ)(r.minChar,0);i.cnCharWidth=(0,a.RG)("国",t);var l=i.ascCharWidth=(0,a.RG)("a",t);i.placeholder=(0,o.bZ)(r.placeholder,"");for(var u=e=Math.max(0,e-1),c=0;c<s&&u>=l;c++)u-=l;var d=(0,a.RG)(n,t);return d>u&&(n="",d=0),u=e-d,i.ellipsis=n,i.ellipsisWidth=d,i.contentWidth=u,i.containerWidth=e,i}function c(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var o=(0,a.RG)(e,r);if(o<=n)return e;for(var s=0;;s++){if(o<=i||s>=t.maxIterations){e+=t.ellipsis;break}var l=0===s?d(e,i,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*i/o):0;e=e.substr(0,l),o=(0,a.RG)(e,r)}return""===e&&(e=t.placeholder),e}function d(e,t,n,r){for(var i=0,o=0,a=e.length;o<a&&i<t;o++){var s=e.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}function h(e,t){null!=e&&(e+="");var n,r=t.overflow,i=t.padding,s=t.font,l="truncate"===r,d=(0,a.ks)(s),h=(0,o.bZ)(t.lineHeight,d),f=!!t.backgroundColor,p="truncate"===t.lineOverflow,v=t.width;n=null==v||"break"!==r&&"breakAll"!==r?e?e.split("\n"):[]:e?x(e,t.font,v,"breakAll"===r,0).lines:[];var g=n.length*h,m=(0,o.bZ)(t.height,g);if(g>m&&p){var y=Math.floor(m/h);n=n.slice(0,y)}if(e&&l&&null!=v)for(var _=u(v,s,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),b=0;b<n.length;b++)n[b]=c(n[b],_);var w=m,S=0;for(b=0;b<n.length;b++)S=Math.max((0,a.RG)(n[b],s),S);null==v&&(v=S);var k=S;return i&&(w+=i[0]+i[2],k+=i[1]+i[3],v+=i[1]+i[3]),f&&(k=v),{lines:n,height:m,outerWidth:k,outerHeight:w,lineHeight:h,calculatedLineHeight:d,contentWidth:S,contentHeight:g,width:v}}var f=function(){function e(){}return e}(),p=function(){function e(e){this.tokens=[],e&&(this.tokens=e)}return e}(),v=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function g(e,t){var n=new v;if(null!=e&&(e+=""),!e)return n;var r,u=t.width,c=t.height,d=t.overflow,h="break"!==d&&"breakAll"!==d||null==u?null:{width:u,accumWidth:0,breakAll:"breakAll"===d},f=s.lastIndex=0;while(null!=(r=s.exec(e))){var p=r.index;p>f&&m(n,e.substring(f,p),t,h),m(n,r[2],t,h,r[1]),f=s.lastIndex}f<e.length&&m(n,e.substring(f,e.length),t,h);var g=[],y=0,_=0,b=t.padding,x="truncate"===d,w="truncate"===t.lineOverflow;function S(e,t,n){e.width=t,e.lineHeight=n,y+=n,_=Math.max(_,t)}e:for(var k=0;k<n.lines.length;k++){for(var C=n.lines[k],A=0,T=0,E=0;E<C.tokens.length;E++){var M=C.tokens[E],I=M.styleName&&t.rich[M.styleName]||{},D=M.textPadding=I.padding,R=D?D[1]+D[3]:0,L=M.font=I.font||t.font;M.contentHeight=(0,a.ks)(L);var O=(0,o.bZ)(I.height,M.contentHeight);if(M.innerHeight=O,D&&(O+=D[0]+D[2]),M.height=O,M.lineHeight=(0,o.WV)(I.lineHeight,t.lineHeight,O),M.align=I&&I.align||t.align,M.verticalAlign=I&&I.verticalAlign||"middle",w&&null!=c&&y+M.lineHeight>c){E>0?(C.tokens=C.tokens.slice(0,E),S(C,T,A),n.lines=n.lines.slice(0,k+1)):n.lines=n.lines.slice(0,k);break e}var P=I.width,z=null==P||"auto"===P;if("string"===typeof P&&"%"===P.charAt(P.length-1))M.percentWidth=P,g.push(M),M.contentWidth=(0,a.RG)(M.text,L);else{if(z){var B=I.backgroundColor,N=B&&B.image;N&&(N=i.SR(N),i.xA(N)&&(M.width=Math.max(M.width,N.width*O/N.height)))}var F=x&&null!=u?u-T:null;null!=F&&F<M.width?!z||F<R?(M.text="",M.width=M.contentWidth=0):(M.text=l(M.text,F-R,L,t.ellipsis,{minChar:t.truncateMinChar}),M.width=M.contentWidth=(0,a.RG)(M.text,L)):M.contentWidth=(0,a.RG)(M.text,L)}M.width+=R,T+=M.width,I&&(A=Math.max(A,M.lineHeight))}S(C,T,A)}n.outerWidth=n.width=(0,o.bZ)(u,_),n.outerHeight=n.height=(0,o.bZ)(c,y),n.contentHeight=y,n.contentWidth=_,b&&(n.outerWidth+=b[1]+b[3],n.outerHeight+=b[0]+b[2]);for(k=0;k<g.length;k++){M=g[k];var q=M.percentWidth;M.width=parseInt(q,10)/100*n.width}return n}function m(e,t,n,r,i){var o,s,l=""===t,u=i&&n.rich[i]||{},c=e.lines,d=u.font||n.font,h=!1;if(r){var v=u.padding,g=v?v[1]+v[3]:0;if(null!=u.width&&"auto"!==u.width){var m=(0,a.lo)(u.width,r.width)+g;c.length>0&&m+r.accumWidth>r.width&&(o=t.split("\n"),h=!0),r.accumWidth=m}else{var y=x(t,d,r.width,r.breakAll,r.accumWidth);r.accumWidth=y.accumWidth+g,s=y.linesWidths,o=y.lines}}else o=t.split("\n");for(var _=0;_<o.length;_++){var b=o[_],w=new f;if(w.styleName=i,w.text=b,w.isLineHolder=!b&&!l,"number"===typeof u.width?w.width=u.width:w.width=s?s[_]:(0,a.RG)(b,d),_||h)c.push(new p([w]));else{var S=(c[c.length-1]||(c[0]=new p)).tokens,k=S.length;1===k&&S[0].isLineHolder?S[0]=w:(b||!k||l)&&S.push(w)}}}function y(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var _=(0,o.TS)(",&?/;] ".split(""),(function(e,t){return e[t]=!0,e}),{});function b(e){return!y(e)||!!_[e]}function x(e,t,n,r,i){for(var o=[],s=[],l="",u="",c=0,d=0,h=0;h<e.length;h++){var f=e.charAt(h);if("\n"!==f){var p=(0,a.RG)(f,t),v=!r&&!b(f);(o.length?d+p>n:i+d+p>n)?d?(l||u)&&(v?(l||(l=u,u="",c=0,d=c),o.push(l),s.push(d-c),u+=f,c+=p,l="",d=c):(u&&(l+=u,u="",c=0),o.push(l),s.push(d),l=f,d=p)):v?(o.push(u),s.push(c),u=f,c=p):(o.push(f),s.push(p)):(d+=p,v?(u+=f,c+=p):(u&&(l+=u,u="",c=0),l+=f))}else u&&(l+=u,d+=c),o.push(l),s.push(d),l="",u="",c=0,d=0}return o.length||l||(l=e,u="",c=0),u&&(l+=u),l&&(o.push(l),s.push(d)),1===o.length&&(d+=i),{accumWidth:d,lines:o,linesWidths:s}}var w=n(7649),S=n(7744),k=n(2092),C=n(2848),A=n(6011),T=n(985),E={fill:"#000"},M=2,I={style:(0,o.NT)({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},A.sW.style)},D=function(e){function t(t){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=E,n.attr(t),n}return(0,r.C6)(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t<this._children.length;t++){var n=this._children[t];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var t=this.innerTransformable;t?(t.updateTransform(),t.transform&&(this.transform=t.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(t){var n=this.innerTransformable;return n?n.getLocalTransform(t):e.prototype.getLocalTransform.call(this,t)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,N(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=t},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new C.A(0,0,0,0),t=this._children,n=[],r=null,i=0;i<t.length;i++){var o=t[i],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(e.copy(a),e.applyTransform(s),r=r||e.clone(),r.union(e)):(r=r||a.clone(),r.union(a))}this._rect=r||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||E},t.prototype.setTextContent=function(e){0},t.prototype._mergeStyle=function(e,t){if(!t)return e;var n=t.rich,r=e.rich||n&&{};return(0,o.X$)(e,t),n&&r?(this._mergeRich(r,n),e.rich=r):r&&(e.rich=r),e},t.prototype._mergeRich=function(e,t){for(var n=(0,o.HP)(t),r=0;r<n.length;r++){var i=n[r];e[i]=e[i]||{},(0,o.X$)(e[i],t[i])}},t.prototype.getAnimationStyleProps=function(){return I},t.prototype._getOrCreateChild=function(e){var t=this._children[this._childCursor];return t&&t instanceof e||(t=new e),this._children[this._childCursor++]=t,t.__zr=this.__zr,t.parent=this,t},t.prototype._updatePlainTexts=function(){var e=this.style,t=e.font||T.OH,n=e.padding,r=V(e),i=h(r,e),o=H(e),s=!!e.backgroundColor,l=i.outerHeight,u=i.outerWidth,c=i.contentWidth,d=i.lines,f=i.lineHeight,p=this._defaultStyle,v=e.x||0,g=e.y||0,m=e.align||p.align||"left",y=e.verticalAlign||p.verticalAlign||"top",_=v,b=(0,a.sZ)(g,i.contentHeight,y);if(o||n){var x=(0,a.ll)(v,u,m),S=(0,a.sZ)(g,l,y);o&&this._renderBackground(e,e,x,S,u,l)}b+=f/2,n&&(_=G(v,m,n),"top"===y?b+=n[0]:"bottom"===y&&(b-=n[2]));for(var k=0,A=!1,E=(W("fill"in e?e.fill:(A=!0,p.fill))),I=(q("stroke"in e?e.stroke:s||p.autoStroke&&!A?null:(k=M,p.stroke))),D=e.textShadowBlur>0,R=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),L=i.calculatedLineHeight,O=0;O<d.length;O++){var P=this._getOrCreateChild(w.A),B=P.createStyle();P.useStyle(B),B.text=d[O],B.x=_,B.y=b,m&&(B.textAlign=m),B.textBaseline="middle",B.opacity=e.opacity,B.strokeFirst=!0,D&&(B.shadowBlur=e.textShadowBlur||0,B.shadowColor=e.textShadowColor||"transparent",B.shadowOffsetX=e.textShadowOffsetX||0,B.shadowOffsetY=e.textShadowOffsetY||0),B.stroke=I,B.fill=E,I&&(B.lineWidth=e.lineWidth||k,B.lineDash=e.lineDash,B.lineDashOffset=e.lineDashOffset||0),B.font=t,z(B,e),b+=f,R&&P.setBoundingRect(new C.A((0,a.ll)(B.x,e.width,B.textAlign),(0,a.sZ)(B.y,L,B.textBaseline),c,L))}},t.prototype._updateRichTexts=function(){var e=this.style,t=V(e),n=g(t,e),r=n.width,i=n.outerWidth,o=n.outerHeight,s=e.padding,l=e.x||0,u=e.y||0,c=this._defaultStyle,d=e.align||c.align,h=e.verticalAlign||c.verticalAlign,f=(0,a.ll)(l,i,d),p=(0,a.sZ)(u,o,h),v=f,m=p;s&&(v+=s[3],m+=s[0]);var y=v+r;H(e)&&this._renderBackground(e,e,f,p,i,o);for(var _=!!e.backgroundColor,b=0;b<n.lines.length;b++){var x=n.lines[b],w=x.tokens,S=w.length,k=x.lineHeight,C=x.width,A=0,T=v,E=y,M=S-1,I=void 0;while(A<S&&(I=w[A],!I.align||"left"===I.align))this._placeToken(I,e,k,m,T,"left",_),C-=I.width,T+=I.width,A++;while(M>=0&&(I=w[M],"right"===I.align))this._placeToken(I,e,k,m,E,"right",_),C-=I.width,E-=I.width,M--;T+=(r-(T-v)-(y-E)-C)/2;while(A<=M)I=w[A],this._placeToken(I,e,k,m,T+I.width/2,"center",_),T+=I.width,A++;m+=k}},t.prototype._placeToken=function(e,t,n,r,i,s,l){var u=t.rich[e.styleName]||{};u.text=e.text;var c=e.verticalAlign,d=r+n/2;"top"===c?d=r+e.height/2:"bottom"===c&&(d=r+n-e.height/2);var h=!e.isLineHolder&&H(u);h&&this._renderBackground(u,t,"right"===s?i-e.width:"center"===s?i-e.width/2:i,d-e.height/2,e.width,e.height);var f=!!u.backgroundColor,p=e.textPadding;p&&(i=G(i,s,p),d-=e.height/2-p[0]-e.innerHeight/2);var v=this._getOrCreateChild(w.A),g=v.createStyle();v.useStyle(g);var m=this._defaultStyle,y=!1,_=0,b=W("fill"in u?u.fill:"fill"in t?t.fill:(y=!0,m.fill)),x=q("stroke"in u?u.stroke:"stroke"in t?t.stroke:f||l||m.autoStroke&&!y?null:(_=M,m.stroke)),S=u.textShadowBlur>0||t.textShadowBlur>0;g.text=e.text,g.x=i,g.y=d,S&&(g.shadowBlur=u.textShadowBlur||t.textShadowBlur||0,g.shadowColor=u.textShadowColor||t.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||t.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||t.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=e.font||T.OH,g.opacity=(0,o.WV)(u.opacity,t.opacity,1),z(g,u),x&&(g.lineWidth=(0,o.WV)(u.lineWidth,t.lineWidth,_),g.lineDash=(0,o.bZ)(u.lineDash,t.lineDash),g.lineDashOffset=t.lineDashOffset||0,g.stroke=x),b&&(g.fill=b);var k=e.contentWidth,A=e.contentHeight;v.setBoundingRect(new C.A((0,a.ll)(g.x,k,g.textAlign),(0,a.sZ)(g.y,A,g.textBaseline),k,A))},t.prototype._renderBackground=function(e,t,n,r,i,a){var s,l,u=e.backgroundColor,c=e.borderWidth,d=e.borderColor,h=u&&u.image,f=u&&!h,p=e.borderRadius,v=this;if(f||e.lineHeight||c&&d){s=this._getOrCreateChild(k.A),s.useStyle(s.createStyle()),s.style.fill=null;var g=s.shape;g.x=n,g.y=r,g.width=i,g.height=a,g.r=p,s.dirtyShape()}if(f){var m=s.style;m.fill=u||null,m.fillOpacity=(0,o.bZ)(e.fillOpacity,1)}else if(h){l=this._getOrCreateChild(S.Ay),l.onload=function(){v.dirtyStyle()};var y=l.style;y.image=u.image,y.x=n,y.y=r,y.width=i,y.height=a}if(c&&d){m=s.style;m.lineWidth=c,m.stroke=d,m.strokeOpacity=(0,o.bZ)(e.strokeOpacity,1),m.lineDash=e.borderDash,m.lineDashOffset=e.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(m.strokeFirst=!0,m.lineWidth*=2)}var _=(s||l).style;_.shadowBlur=e.shadowBlur||0,_.shadowColor=e.shadowColor||"transparent",_.shadowOffsetX=e.shadowOffsetX||0,_.shadowOffsetY=e.shadowOffsetY||0,_.opacity=(0,o.WV)(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return B(e)&&(t=[e.fontStyle,e.fontWeight,P(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&(0,o.Bq)(t)||e.textFont||e.font},t}(A.Ay),R={left:!0,right:1,center:1},L={top:1,bottom:1,middle:1},O=["fontStyle","fontWeight","fontSize","fontFamily"];function P(e){return"string"!==typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?T.gI+"px":e+"px":e}function z(e,t){for(var n=0;n<O.length;n++){var r=O[n],i=t[r];null!=i&&(e[r]=i)}}function B(e){return null!=e.fontSize||e.fontFamily||e.fontWeight}function N(e){return F(e),(0,o.__)(e.rich,F),e}function F(e){if(e){e.font=D.makeFont(e);var t=e.align;"middle"===t&&(t="center"),e.align=null==t||R[t]?t:"left";var n=e.verticalAlign;"center"===n&&(n="middle"),e.verticalAlign=null==n||L[n]?n:"top";var r=e.padding;r&&(e.padding=(0,o.QX)(e.padding))}}function q(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function W(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function G(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function V(e){var t=e.text;return null!=t&&(t+=""),t}function H(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}const j=D},4580:(e,t,n)=>{"use strict";n.d(t,{Dl:()=>o,M:()=>r,pO:()=>i});var r=1,i=2,o=4},7163:(e,t,n)=>{"use strict";n.d(t,{OD:()=>s,SR:()=>a,xA:()=>u});var r=n(2369),i=n(985),o=new r.Ay(50);function a(e){if("string"===typeof e){var t=o.get(e);return t&&t.image}return e}function s(e,t,n,r,a){if(e){if("string"===typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var s=o.get(e),c={hostEl:n,cb:r,cbPayload:a};return s?(t=s.image,!u(t)&&s.pending.push(c)):(t=i.yh.loadImage(e,l,l),t.__zrImageSrc=e,o.put(e,t.__cachedImgObj={image:t,pending:[c]})),t}return e}return t}function l(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function u(e){return e&&e.width&&e.height}},5780:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(2809);function i(e,t,n,i){var o,a,s,l,u=[],c=[],d=[],h=[];if(i){s=[1/0,1/0],l=[-1/0,-1/0];for(var f=0,p=e.length;f<p;f++)(0,r.jk)(s,s,e[f]),(0,r.T9)(l,l,e[f]);(0,r.jk)(s,s,i[0]),(0,r.T9)(l,l,i[1])}for(f=0,p=e.length;f<p;f++){var v=e[f];if(n)o=e[f?f-1:p-1],a=e[(f+1)%p];else{if(0===f||f===p-1){u.push((0,r.o8)(e[f]));continue}o=e[f-1],a=e[f+1]}(0,r.jb)(c,a,o),(0,r.hs)(c,c,t);var g=(0,r.Io)(v,o),m=(0,r.Io)(v,a),y=g+m;0!==y&&(g/=y,m/=y),(0,r.hs)(d,c,-g),(0,r.hs)(h,c,m);var _=(0,r.WQ)([],v,d),b=(0,r.WQ)([],v,h);i&&((0,r.T9)(_,_,s),(0,r.jk)(_,_,l),(0,r.T9)(b,b,s),(0,r.jk)(b,b,l)),u.push(_),u.push(b)}return n&&u.push(u.shift()),u}function o(e,t,n){var r=t.smooth,o=t.points;if(o&&o.length>=2){if(r){var a=i(o,r,n,t.smoothConstraint);e.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(n?s:s-1);l++){var u=a[2*l],c=a[2*l+1],d=o[(l+1)%s];e.bezierCurveTo(u[0],u[1],c[0],c[1],d[0],d[1])}}else{e.moveTo(o[0][0],o[0][1]);l=1;for(var h=o.length;l<h;l++)e.lineTo(o[l][0],o[l][1])}n&&e.closePath()}}},325:(e,t,n)=>{"use strict";n.d(t,{M7:()=>a,Op:()=>o,eB:()=>i});var r=Math.round;function i(e,t,n){if(t){var i=t.x1,o=t.x2,s=t.y1,l=t.y2;e.x1=i,e.x2=o,e.y1=s,e.y2=l;var u=n&&n.lineWidth;return u?(r(2*i)===r(2*o)&&(e.x1=e.x2=a(i,u,!0)),r(2*s)===r(2*l)&&(e.y1=e.y2=a(s,u,!0)),e):e}}function o(e,t,n){if(t){var r=t.x,i=t.y,o=t.width,s=t.height;e.x=r,e.y=i,e.width=o,e.height=s;var l=n&&n.lineWidth;return l?(e.x=a(r,l,!0),e.y=a(i,l,!0),e.width=Math.max(a(r+o,l,!1)-e.x,0===o?0:1),e.height=Math.max(a(i+s,l,!1)-e.y,0===s?0:1),e):e}}function a(e,t,n){if(!t)return e;var i=r(2*e);return(i+r(t))%2===0?i/2:(i+(n?1:-1))/2}},2891:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(8462),i=n(8874),o=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return e}(),a=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new o},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r,0),o=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(o),u=Math.sin(o);e.moveTo(l*i+n,u*i+r),e.arc(n,r,i,o,a,!s)},t}(i.Ay);a.prototype.type="arc";const s=a},1863:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(8462),i=n(8874),o=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),a=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new o},t.prototype.buildPath=function(e,t){e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI)},t}(i.Ay);a.prototype.type="circle";const s=a},3321:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(8462),i=n(8874),o=n(325),a={},s=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),l=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new s},t.prototype.buildPath=function(e,t){var n,r,i,s;if(this.subPixelOptimize){var l=(0,o.eB)(a,t,this.style);n=l.x1,r=l.y1,i=l.x2,s=l.y2}else n=t.x1,r=t.y1,i=t.x2,s=t.y2;var u=t.percent;0!==u&&(e.moveTo(n,r),u<1&&(i=n*(1-u)+i*u,s=r*(1-u)+s*u),e.lineTo(i,s))},t.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},t}(i.Ay);l.prototype.type="line";const u=l},2589:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(8462),i=n(8874),o=n(5780),a=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),s=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){o.U(e,t,!0)},t}(i.Ay);s.prototype.type="polygon";const l=s},7111:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(8462),i=n(8874),o=n(5780),a=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),s=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){o.U(e,t,!1)},t}(i.Ay);s.prototype.type="polyline";const l=s},2092:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(8462),i=n(8874);function o(e,t){var n,r,i,o,a,s=t.x,l=t.y,u=t.width,c=t.height,d=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof d?n=r=i=o=d:d instanceof Array?1===d.length?n=r=i=o=d[0]:2===d.length?(n=i=d[0],r=o=d[1]):3===d.length?(n=d[0],r=o=d[1],i=d[2]):(n=d[0],r=d[1],i=d[2],o=d[3]):n=r=i=o=0,n+r>u&&(a=n+r,n*=u/a,r*=u/a),i+o>u&&(a=i+o,i*=u/a,o*=u/a),r+i>c&&(a=r+i,r*=c/a,i*=c/a),n+o>c&&(a=n+o,n*=c/a,o*=c/a),e.moveTo(s+n,l),e.lineTo(s+u-r,l),0!==r&&e.arc(s+u-r,l+r,r,-Math.PI/2,0),e.lineTo(s+u,l+c-i),0!==i&&e.arc(s+u-i,l+c-i,i,0,Math.PI/2),e.lineTo(s+o,l+c),0!==o&&e.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}var a=n(325),s=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),l={},u=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new s},t.prototype.buildPath=function(e,t){var n,r,i,s;if(this.subPixelOptimize){var u=(0,a.Op)(l,t,this.style);n=u.x,r=u.y,i=u.width,s=u.height,u.r=t.r,t=u}else n=t.x,r=t.y,i=t.width,s=t.height;t.r?o(e,t):e.rect(n,r,i,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(i.Ay);u.prototype.type="rect";const c=u},1271:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(8462),i=n(8874),o=n(2486),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,c=Math.acos,d=Math.atan2,h=Math.abs,f=Math.sqrt,p=Math.max,v=Math.min,g=1e-4;function m(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,d=s-o,h=d*l-c*u;if(!(h*h<g))return h=(c*(t-o)-d*(e-i))/h,[e+h*l,t+h*u]}function y(e,t,n,r,i,o,a){var s=e-n,l=t-r,u=(a?o:-o)/f(s*s+l*l),c=u*l,d=-u*s,h=e+c,v=t+d,g=n+c,m=r+d,y=(h+g)/2,_=(v+m)/2,b=g-h,x=m-v,w=b*b+x*x,S=i-o,k=h*m-g*v,C=(x<0?-1:1)*f(p(0,S*S*w-k*k)),A=(k*x-b*C)/w,T=(-k*b-x*C)/w,E=(k*x+b*C)/w,M=(-k*b+x*C)/w,I=A-y,D=T-_,R=E-y,L=M-_;return I*I+D*D>R*R+L*L&&(A=E,T=M),{cx:A,cy:T,x0:-c,y0:-d,x1:A*(i/S-1),y1:T*(i/S-1)}}function _(e){var t;if((0,o.cy)(e)){var n=e.length;if(!n)return e;t=1===n?[e[0],e[0],0,0]:2===n?[e[0],e[0],e[1],e[1]]:3===n?e.concat(e[2]):e}else t=[e,e,e,e];return t}function b(e,t){var n,r=p(t.r,0),i=p(t.r0||0,0),o=r>0,b=i>0;if(o||b){if(o||(r=i,i=0),i>r){var x=r;r=i,i=x}var w=t.startAngle,S=t.endAngle;if(!isNaN(w)&&!isNaN(S)){var k=t.cx,C=t.cy,A=!!t.clockwise,T=h(S-w),E=T>s&&T%s;if(E>g&&(T=E),r>g)if(T>s-g)e.moveTo(k+r*u(w),C+r*l(w)),e.arc(k,C,r,w,S,!A),i>g&&(e.moveTo(k+i*u(S),C+i*l(S)),e.arc(k,C,i,S,w,A));else{var M=void 0,I=void 0,D=void 0,R=void 0,L=void 0,O=void 0,P=void 0,z=void 0,B=void 0,N=void 0,F=void 0,q=void 0,W=void 0,G=void 0,V=void 0,H=void 0,j=r*u(w),$=r*l(w),U=i*u(S),K=i*l(S),X=T>g;if(X){var Y=t.cornerRadius;Y&&(n=_(Y),M=n[0],I=n[1],D=n[2],R=n[3]);var Z=h(r-i)/2;if(L=v(Z,D),O=v(Z,R),P=v(Z,M),z=v(Z,I),F=B=p(L,O),q=N=p(P,z),(B>g||N>g)&&(W=r*u(S),G=r*l(S),V=i*u(w),H=i*l(w),T<a)){var Q=m(j,$,V,H,W,G,U,K);if(Q){var J=j-Q[0],ee=$-Q[1],te=W-Q[0],ne=G-Q[1],re=1/l(c((J*te+ee*ne)/(f(J*J+ee*ee)*f(te*te+ne*ne)))/2),ie=f(Q[0]*Q[0]+Q[1]*Q[1]);F=v(B,(r-ie)/(re+1)),q=v(N,(i-ie)/(re-1))}}}if(X)if(F>g){var oe=v(D,F),ae=v(R,F),se=y(V,H,j,$,r,oe,A),le=y(W,G,U,K,r,ae,A);e.moveTo(k+se.cx+se.x0,C+se.cy+se.y0),F<B&&oe===ae?e.arc(k+se.cx,C+se.cy,F,d(se.y0,se.x0),d(le.y0,le.x0),!A):(oe>0&&e.arc(k+se.cx,C+se.cy,oe,d(se.y0,se.x0),d(se.y1,se.x1),!A),e.arc(k,C,r,d(se.cy+se.y1,se.cx+se.x1),d(le.cy+le.y1,le.cx+le.x1),!A),ae>0&&e.arc(k+le.cx,C+le.cy,ae,d(le.y1,le.x1),d(le.y0,le.x0),!A))}else e.moveTo(k+j,C+$),e.arc(k,C,r,w,S,!A);else e.moveTo(k+j,C+$);if(i>g&&X)if(q>g){oe=v(M,q),ae=v(I,q),se=y(U,K,W,G,i,-ae,A),le=y(j,$,V,H,i,-oe,A);e.lineTo(k+se.cx+se.x0,C+se.cy+se.y0),q<N&&oe===ae?e.arc(k+se.cx,C+se.cy,q,d(se.y0,se.x0),d(le.y0,le.x0),!A):(ae>0&&e.arc(k+se.cx,C+se.cy,ae,d(se.y0,se.x0),d(se.y1,se.x1),!A),e.arc(k,C,i,d(se.cy+se.y1,se.cx+se.x1),d(le.cy+le.y1,le.cx+le.x1),A),oe>0&&e.arc(k+le.cx,C+le.cy,oe,d(le.y1,le.x1),d(le.y0,le.x0),!A))}else e.lineTo(k+U,C+K),e.arc(k,C,i,S,w,A);else e.lineTo(k+U,C+K)}else e.moveTo(k,C);e.closePath()}}}var x=function(){function e(){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 e}(),w=function(e){function t(t){return e.call(this,t)||this}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new x},t.prototype.buildPath=function(e,t){b(e,t)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(i.Ay);w.prototype.type="sector";const S=w},5334:(e,t,n)=>{"use strict";n.d(t,{As:()=>b,Cc:()=>_,fN:()=>x,qg:()=>g,yY:()=>y});var r=n(2369),i={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(e){return e=Math.round(e),e<0?0:e>255?255:e}function a(e){return e<0?0:e>1?1:e}function s(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100*255):o(parseInt(t,10))}function l(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100):a(parseFloat(t))}function u(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){return e+(t-e)*n}function d(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var f=new r.Ay(20),p=null;function v(e,t){p&&h(p,t),p=f.put(e,p||t.slice())}function g(e,t){if(e){t=t||[];var n=f.get(e);if(n)return h(t,n);e+="";var r=e.replace(/ /g,"").toLowerCase();if(r in i)return h(t,i[r]),v(e,t),t;var o=r.length;if("#"!==r.charAt(0)){var a=r.indexOf("("),u=r.indexOf(")");if(-1!==a&&u+1===o){var c=r.substr(0,a),p=r.substr(a+1,u-(a+1)).split(","),g=1;switch(c){case"rgba":if(4!==p.length)return 3===p.length?d(t,+p[0],+p[1],+p[2],1):d(t,0,0,0,1);g=l(p.pop());case"rgb":return p.length>=3?(d(t,s(p[0]),s(p[1]),s(p[2]),3===p.length?g:l(p[3])),v(e,t),t):void d(t,0,0,0,1);case"hsla":return 4!==p.length?void d(t,0,0,0,1):(p[3]=l(p[3]),m(p,t),v(e,t),t);case"hsl":return 3!==p.length?void d(t,0,0,0,1):(m(p,t),v(e,t),t);default:return}}d(t,0,0,0,1)}else{if(4===o||5===o){var y=parseInt(r.slice(1,4),16);return y>=0&&y<=4095?(d(t,(3840&y)>>4|(3840&y)>>8,240&y|(240&y)>>4,15&y|(15&y)<<4,5===o?parseInt(r.slice(4),16)/15:1),v(e,t),t):void d(t,0,0,0,1)}if(7===o||9===o){y=parseInt(r.slice(1,7),16);return y>=0&&y<=16777215?(d(t,(16711680&y)>>16,(65280&y)>>8,255&y,9===o?parseInt(r.slice(7),16)/255:1),v(e,t),t):void d(t,0,0,0,1)}}}}function m(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=l(e[1]),i=l(e[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return t=t||[],d(t,o(255*u(s,a,n+1/3)),o(255*u(s,a,n)),o(255*u(s,a,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function y(e,t){var n=g(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return b(n,4===n.length?"rgba":"rgb")}}function _(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),i=Math.floor(r),s=Math.ceil(r),l=g(t[i]),u=g(t[s]),d=r-i,h=b([o(c(l[0],u[0],d)),o(c(l[1],u[1],d)),o(c(l[2],u[2],d)),a(c(l[3],u[3],d))],"rgba");return n?{color:h,leftIndex:i,rightIndex:s,value:r}:h}}function b(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}function x(e,t){var n=g(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}},7332:(e,t,n)=>{"use strict";n.d(t,{Ts:()=>ve,fI:()=>ge});var r=n(4047),i=n(2486),o=n(8462),a=n(2809),s=function(){function e(e,t){this.target=e,this.topTarget=t&&t.topTarget}return e}(),l=function(){function e(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(e){var t=e.target;while(t&&!t.draggable)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new s(t,e),"dragstart",e.event))},e.prototype._drag=function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,r=e.offsetY,i=n-this._x,o=r-this._y;this._x=n,this._y=r,t.drift(i,o,e),this.handler.dispatchToElement(new s(t,e),"drag",e.event);var a=this.handler.findHover(n,r,t).target,l=this._dropTarget;this._dropTarget=a,t!==a&&(l&&a!==l&&this.handler.dispatchToElement(new s(l,e),"dragleave",e.event),a&&a!==l&&this.handler.dispatchToElement(new s(a,e),"dragenter",e.event))}},e.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new s(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new s(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},e}();const u=l;var c=n(6105),d=n(8560),h=function(){function e(){this._track=[]}return e.prototype.recognize=function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(e,t,n){var r=e.touches;if(r){for(var i={points:[],touches:[],target:t,event:e},o=0,a=r.length;o<a;o++){var s=r[o],l=d.Yo(n,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},e.prototype._recognize=function(e){for(var t in v)if(v.hasOwnProperty(t)){var n=v[t](this._track,e);if(n)return n}},e}();function f(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function p(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var v={pinch:function(e,t){var n=e.length;if(n){var r=(e[n-1]||{}).points,i=(e[n-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var o=f(r)/f(i);!isFinite(o)&&(o=1),t.pinchScale=o;var a=p(r);return t.pinchX=a[0],t.pinchY=a[1],{type:"pinch",target:e[0].target,event:t}}}}},g=n(2848),m="silent";function y(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.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:_}}function _(){d.ds(this.event)}var b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handler=null,t}return(0,o.C6)(t,e),t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(c.A),x=function(){function e(e,t){this.x=e,this.y=t}return e}(),w=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],S=new g.A(0,0,0,0),k=function(e){function t(t,n,r,i,o){var a=e.call(this)||this;return a._hovered=new x(0,0),a.storage=t,a.painter=n,a.painterRoot=i,a._pointerSize=o,r=r||new b,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new u(a),a}return(0,o.C6)(t,e),t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(i.__(w,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var t=e.zrX,n=e.zrY,r=T(this,t,n),i=this._hovered,o=i.target;o&&!o.__zr&&(i=this.findHover(i.x,i.y),o=i.target);var a=this._hovered=r?new x(t,n):this.findHover(t,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",e),this.dispatchToElement(a,"mousemove",e),s&&s!==o&&this.dispatchToElement(a,"mouseover",e)},t.prototype.mouseout=function(e){var t=e.zrEventControl;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new x(0,0)},t.prototype.dispatch=function(e,t){var n=this[e];n&&n.call(this,t)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},t.prototype.dispatchToElement=function(e,t,n){e=e||{};var r=e.target;if(!r||!r.silent){var i="on"+t,o=y(t,e,n);while(r)if(r[i]&&(o.cancelBubble=!!r[i].call(r,o)),r.trigger(t,o),r=r.__hostTarget?r.__hostTarget:r.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(e){"function"===typeof e[i]&&e[i].call(e,o),e.trigger&&e.trigger(t,o)})))}},t.prototype.findHover=function(e,t,n){var r=this.storage.getDisplayList(),i=new x(e,t);if(A(r,i,e,t,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new g.A(e-s,t-s,a,a),u=r.length-1;u>=0;u--){var c=r[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(S.copy(c.getBoundingRect()),c.transform&&S.applyTransform(c.transform),S.intersect(l)&&o.push(c))}if(o.length)for(var d=4,h=Math.PI/12,f=2*Math.PI,p=0;p<s;p+=d)for(var v=0;v<f;v+=h){var m=e+p*Math.cos(v),y=t+p*Math.sin(v);if(A(o,i,m,y,n),i.target)return i}}return i},t.prototype.processGesture=function(e,t){this._gestureMgr||(this._gestureMgr=new h);var n=this._gestureMgr;"start"===t&&n.clear();var r=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),r){var i=r.type;e.gestureEvent=i;var o=new x;o.target=r.target,this.dispatchToElement(o,i,r.event)}},t}(c.A);function C(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){var r=e,i=void 0,o=!1;while(r){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(t,n))return!1;r.silent&&(i=!0)}var s=r.__hostTarget;r=s||r.parent}return!i||m}return!1}function A(e,t,n,r,i){for(var o=e.length-1;o>=0;o--){var a=e[o],s=void 0;if(a!==i&&!a.ignore&&(s=C(a,n,r))&&(!t.topTarget&&(t.topTarget=a),s!==m)){t.target=a;break}}}function T(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}i.__(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){k.prototype[e]=function(t){var n,r,i=t.zrX,o=t.zrY,s=T(this,i,o);if("mouseup"===e&&s||(n=this.findHover(i,o),r=n.target),"mousedown"===e)this._downEl=r,this._downPoint=[t.zrX,t.zrY],this._upEl=r;else if("mouseup"===e)this._upEl=r;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||a.xg(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}}));const E=k;var M=n(4074),I=n(4580),D=!1;function R(){D||(D=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function L(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var O=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=L}return e.prototype.traverse=function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},e.prototype.getDisplayList=function(e,t){t=t||!1;var n=this._displayList;return!e&&n.length||this.updateDisplayList(t),n},e.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,r=0,i=t.length;r<i;r++)this._updateAndAddDisplayable(t[r],null,e);n.length=this._displayListLen,(0,M.A)(n,L)},e.prototype._updateAndAddDisplayable=function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.update(),e.afterUpdate();var r=e.getClipPath();if(e.ignoreClip)t=null;else if(r){t=t?t.slice():[];var i=r,o=e;while(i)i.parent=o,i.updateTransform(),t.push(i),o=i,i=i.getClipPath()}if(e.childrenRef){for(var a=e.childrenRef(),s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty|=I.M),this._updateAndAddDisplayable(l,t,n)}e.__dirty=0}else{var u=e;t&&t.length?u.__clipPaths=t:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(R(),u.z=0),isNaN(u.z2)&&(R(),u.z2=0),isNaN(u.zlevel)&&(R(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=e.getDecalElement&&e.getDecalElement();c&&this._updateAndAddDisplayable(c,t,n);var d=e.getTextGuideLine();d&&this._updateAndAddDisplayable(d,t,n);var h=e.getTextContent();h&&this._updateAndAddDisplayable(h,t,n)}},e.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},e.prototype.delRoot=function(e){if(e instanceof Array)for(var t=0,n=e.length;t<n;t++)this.delRoot(e[t]);else{var r=i.qh(this._roots,e);r>=0&&this._roots.splice(r,1)}},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}();const P=O;var z=n(2541),B=n(3432);function N(){return(new Date).getTime()}var F=function(e){function t(t){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,t=t||{},n.stage=t.stage||{},n}return(0,o.C6)(t,e),t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var t=e.getClip();t&&this.addClip(t)},t.prototype.removeClip=function(e){if(e.animation){var t=e.prev,n=e.next;t?t.next=n:this._head=n,n?n.prev=t:this._tail=t,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var t=e.getClip();t&&this.removeClip(t),e.animation=null},t.prototype.update=function(e){var t=N()-this._pausedTime,n=t-this._time,r=this._head;while(r){var i=r.next,o=r.step(t,n);o?(r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=t,e||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;function t(){e._running&&((0,z.A)(t),!e._paused&&e.update())}this._running=!0,(0,z.A)(t)},t.prototype.start=function(){this._running||(this._time=N(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=N(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=N()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){var e=this._head;while(e){var t=e.next;e.prev=e.next=e.animation=null,e=t}this._head=this._tail=null},t.prototype.isFinished=function(){return null==this._head},t.prototype.animate=function(e,t){t=t||{},this.start();var n=new B.A(e,t.loop);return this.addAnimator(n),n},t}(c.A);const q=F;var W=300,G=r.A.domSupported,V=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=i.Tj(e,(function(e){var t=e.replace("mouse","pointer");return n.hasOwnProperty(t)?t:e}));return{mouse:e,touch:t,pointer:r}}(),H={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},j=!1;function $(e){var t=e.pointerType;return"pen"===t||"touch"===t}function U(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}function K(e){e&&(e.zrByTouch=!0)}function X(e,t){return(0,d.e0)(e.dom,new Z(e,t),!0)}function Y(e,t){var n=t,r=!1;while(n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot))n=n.parentNode;return r}var Z=function(){function e(e,t){this.stopPropagation=i.lQ,this.stopImmediatePropagation=i.lQ,this.preventDefault=i.lQ,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return e}(),Q={mousedown:function(e){e=(0,d.e0)(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=(0,d.e0)(this.dom,e);var t=this.__mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=(0,d.e0)(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=(0,d.e0)(this.dom,e);var t=e.toElement||e.relatedTarget;Y(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){j=!0,e=(0,d.e0)(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){j||(e=(0,d.e0)(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=(0,d.e0)(this.dom,e),K(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Q.mousemove.call(this,e),Q.mousedown.call(this,e)},touchmove:function(e){e=(0,d.e0)(this.dom,e),K(e),this.handler.processGesture(e,"change"),Q.mousemove.call(this,e)},touchend:function(e){e=(0,d.e0)(this.dom,e),K(e),this.handler.processGesture(e,"end"),Q.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<W&&Q.click.call(this,e)},pointerdown:function(e){Q.mousedown.call(this,e)},pointermove:function(e){$(e)||Q.mousemove.call(this,e)},pointerup:function(e){Q.mouseup.call(this,e)},pointerout:function(e){$(e)||Q.mouseout.call(this,e)}};i.__(["click","dblclick","contextmenu"],(function(e){Q[e]=function(t){t=(0,d.e0)(this.dom,t),this.trigger(e,t)}}));var J={pointermove:function(e){$(e)||J.mousemove.call(this,e)},pointerup:function(e){J.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function ee(e,t){var n=t.domHandlers;r.A.pointerEventsSupported?i.__(V.pointer,(function(r){ne(t,r,(function(t){n[r].call(e,t)}))})):(r.A.touchEventsSupported&&i.__(V.touch,(function(r){ne(t,r,(function(i){n[r].call(e,i),U(t)}))})),i.__(V.mouse,(function(r){ne(t,r,(function(i){i=(0,d.mK)(i),t.touching||n[r].call(e,i)}))})))}function te(e,t){function n(n){function r(r){r=(0,d.mK)(r),Y(e,r.target)||(r=X(e,r),t.domHandlers[n].call(e,r))}ne(t,n,r,{capture:!0})}r.A.pointerEventsSupported?i.__(H.pointer,n):r.A.touchEventsSupported||i.__(H.mouse,n)}function ne(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,(0,d.q2)(e.domTarget,t,n,r)}function re(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&(0,d.f)(e.domTarget,n,t[n],e.listenerOpts[n]);e.mounted={}}var ie=function(){function e(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}return e}(),oe=function(e){function t(t,n){var r=e.call(this)||this;return r.__pointerCapturing=!1,r.dom=t,r.painterRoot=n,r._localHandlerScope=new ie(t,Q),G&&(r._globalHandlerScope=new ie(document,J)),ee(r,r._localHandlerScope),r}return(0,o.C6)(t,e),t.prototype.dispose=function(){re(this._localHandlerScope),G&&re(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,G&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var t=this._globalHandlerScope;e?te(this,t):re(t)}},t}(c.A);const ae=oe;var se=n(5334),le=n(9054),ue=n(354),ce={},de={};function he(e){delete de[e]}function fe(e){if(!e)return!1;if("string"===typeof e)return(0,se.fN)(e,1)<le.ps;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,i=0;i<r;i++)n+=(0,se.fN)(t[i].color,1);return n/=r,n<le.ps}return!1}var pe=function(){function e(e,t,n){var o=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=t,this.id=e;var a=new P,s=n.renderer||"canvas";ce[s]||(s=i.HP(ce)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var l=new ce[s](t,a,n,e),u=n.ssr||l.ssrOnly;this.storage=a,this.painter=l;var c,d=r.A.node||r.A.worker||u?null:new ae(l.getViewportRoot(),l.root),h=n.useCoarsePointer,f=null==h||"auto"===h?r.A.touchEventsSupported:!!h,p=44;f&&(c=i.bZ(n.pointerSize,p)),this.handler=new E(a,l,d,l.root,c),this.animation=new q({stage:{update:u?null:function(){return o._flush(!0)}}}),u||this.animation.start()}return e.prototype.add=function(e){e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},e.prototype.remove=function(e){e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(e,t){this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh()},e.prototype.setBackgroundColor=function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=fe(e)},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(e){this._darkMode=e},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(e){e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},e.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},e.prototype.flush=function(){this._flush(!1)},e.prototype._flush=function(e){var t,n=N();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var r=N();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:r-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},e.prototype.resize=function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){return this.handler.findHover(e,t)},e.prototype.on=function(e,t,n){return this.handler.on(e,t,n),this},e.prototype.off=function(e,t){this.handler.off(e,t)},e.prototype.trigger=function(e,t){this.handler.trigger(e,t)},e.prototype.clear=function(){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof ue.A&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},e.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,he(this.id)},e}();function ve(e,t){var n=new pe(i.Os(),e,t);return de[n.id]=n,n}function ge(e,t){ce[e]=t}},8462:(e,t,n)=>{"use strict";n.d(t,{C6:()=>i});
25
+ /*! *****************************************************************************
26
+ Copyright (c) Microsoft Corporation.
27
+
28
+ Permission to use, copy, modify, and/or distribute this software for any
29
+ purpose with or without fee is hereby granted.
30
+
31
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
32
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
33
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
34
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
35
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
36
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
37
+ PERFORMANCE OF THIS SOFTWARE.
38
+ ***************************************************************************** */
39
+ var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create},455:(e,t,n)=>{"use strict";n.d(t,{LA:()=>F,aE:()=>tt});var r=n(1758),i=n(8734);
40
+ /*!
41
+ * vue-router v4.1.1
42
+ * (c) 2022 Eduardo San Martin Morote
43
+ * @license MIT
44
+ */
45
+ const o="undefined"!==typeof window;function a(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const s=Object.assign;function l(e,t){const n={};for(const r in t){const i=t[r];n[r]=c(i)?i.map(e):e(i)}return n}const u=()=>{},c=Array.isArray;const d=/\/$/,h=e=>e.replace(d,"");function f(e,t,n="/"){let r,i={},o="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,s>-1?s:t.length),i=e(o)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=x(null!=r?r:t,n),{fullPath:r+(o&&"?")+o+a,path:r,query:i,hash:a}}function p(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function v(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function g(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&m(t.matched[r],n.matched[i])&&y(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function m(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function y(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!_(e[n],t[n]))return!1;return!0}function _(e,t){return c(e)?b(e,t):c(t)?b(t,e):e===t}function b(e,t){return c(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function x(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let i,o,a=n.length-1;for(i=0;i<r.length;i++)if(o=r[i],"."!==o){if(".."!==o)break;a>1&&a--}return n.slice(0,a).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var w,S;(function(e){e["pop"]="pop",e["push"]="push"})(w||(w={})),function(e){e["back"]="back",e["forward"]="forward",e["unknown"]=""}(S||(S={}));function k(e){if(!e)if(o){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),h(e)}const C=/^[^#]+#/;function A(e,t){return e.replace(C,"#")+t}function T(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const E=()=>({left:window.pageXOffset,top:window.pageYOffset});function M(e){let t;if("el"in e){const n=e.el,r="string"===typeof n&&n.startsWith("#");0;const i="string"===typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=T(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function I(e,t){const n=history.state?history.state.position-t:-1;return n+e}const D=new Map;function R(e,t){D.set(e,t)}function L(e){const t=D.get(e);return D.delete(e),t}let O=()=>location.protocol+"//"+location.host;function P(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let t=i.includes(e.slice(o))?e.slice(o).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),v(n,"")}const a=v(n,e);return a+r+i}function z(e,t,n,r){let i=[],o=[],a=null;const l=({state:o})=>{const s=P(e,location),l=n.value,u=t.value;let c=0;if(o){if(n.value=s,t.value=o,a&&a===l)return void(a=null);c=u?o.position-u.position:0}else r(s);i.forEach((e=>{e(n.value,l,{delta:c,type:w.pop,direction:c?c>0?S.forward:S.back:S.unknown})}))};function u(){a=n.value}function c(e){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return o.push(t),t}function d(){const{history:e}=window;e.state&&e.replaceState(s({},e.state,{scroll:E()}),"")}function h(){for(const e of o)e();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",d),{pauseListeners:u,listen:c,destroy:h}}function B(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?E():null}}function N(e){const{history:t,location:n}=window,r={value:P(e,n)},i={value:t.state};function o(r,o,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+r:O()+e+r;try{t[a?"replaceState":"pushState"](o,"",l),i.value=o}catch(u){console.error(u),n[a?"replace":"assign"](l)}}function a(e,n){const a=s({},t.state,B(i.value.back,e,i.value.forward,!0),n,{position:i.value.position});o(e,a,!0),r.value=e}function l(e,n){const a=s({},i.value,t.state,{forward:e,scroll:E()});o(a.current,a,!0);const l=s({},B(r.value,e,null),{position:a.position+1},n);o(e,l,!1),r.value=e}return i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:i,push:l,replace:a}}function F(e){e=k(e);const t=N(e),n=z(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}const i=s({location:"",base:e,go:r,createHref:A.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function q(e){return"string"===typeof e||e&&"object"===typeof e}function W(e){return"string"===typeof e||"symbol"===typeof e}const G={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},V=Symbol("");var H;(function(e){e[e["aborted"]=4]="aborted",e[e["cancelled"]=8]="cancelled",e[e["duplicated"]=16]="duplicated"})(H||(H={}));function j(e,t){return s(new Error,{type:e,[V]:!0},t)}function $(e,t){return e instanceof Error&&V in e&&(null==t||!!(e.type&t))}const U="[^/]+?",K={sensitive:!1,strict:!1,start:!0,end:!0},X=/[.+*?^${}()[\]/\\]/g;function Y(e,t){const n=s({},K,t),r=[];let i=n.start?"^":"";const o=[];for(const s of e){const e=s.length?[]:[90];n.strict&&!s.length&&(i+="/");for(let t=0;t<s.length;t++){const r=s[t];let a=40+(n.sensitive?.25:0);if(0===r.type)t||(i+="/"),i+=r.value.replace(X,"\\$&"),a+=40;else if(1===r.type){const{value:e,repeatable:n,optional:l,regexp:u}=r;o.push({name:e,repeatable:n,optional:l});const c=u||U;if(c!==U){a+=10;try{new RegExp(`(${c})`)}catch(d){throw new Error(`Invalid custom RegExp for param "${e}" (${c}): `+d.message)}}let h=n?`((?:${c})(?:/(?:${c}))*)`:`(${c})`;t||(h=l&&s.length<2?`(?:/${h})`:"/"+h),l&&(h+="?"),i+=h,a+=20,l&&(a+=-8),n&&(a+=-20),".*"===c&&(a+=-50)}e.push(a)}r.push(e)}if(n.strict&&n.end){const e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const a=new RegExp(i,n.sensitive?"":"i");function l(e){const t=e.match(a),n={};if(!t)return null;for(let r=1;r<t.length;r++){const e=t[r]||"",i=o[r-1];n[i.name]=e&&i.repeatable?e.split("/"):e}return n}function u(t){let n="",r=!1;for(const i of e){r&&n.endsWith("/")||(n+="/"),r=!1;for(const o of i)if(0===o.type)n+=o.value;else if(1===o.type){const{value:a,repeatable:s,optional:l}=o,u=a in t?t[a]:"";if(c(u)&&!s)throw new Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);const d=c(u)?u.join("/"):u;if(!d){if(!l)throw new Error(`Missing required param "${a}"`);i.length<2&&e.length>1&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=d}}return n}return{re:a,score:r,keys:o,parse:l,stringify:u}}function Z(e,t){let n=0;while(n<e.length&&n<t.length){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function Q(e,t){let n=0;const r=e.score,i=t.score;while(n<r.length&&n<i.length){const e=Z(r[n],i[n]);if(e)return e;n++}if(1===Math.abs(i.length-r.length)){if(J(r))return 1;if(J(i))return-1}return i.length-r.length}function J(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ee={type:0,value:""},te=/[a-zA-Z0-9_]/;function ne(e){if(!e)return[[]];if("/"===e)return[[ee]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${u}": ${e}`)}let n=0,r=n;const i=[];let o;function a(){o&&i.push(o),o=[]}let s,l=0,u="",c="";function d(){u&&(0===n?o.push({type:0,value:u}):1===n||2===n||3===n?(o.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),u="")}function h(){u+=s}while(l<e.length)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(u&&d(),a()):":"===s?(d(),n=1):h();break;case 4:h(),n=r;break;case 1:"("===s?n=2:te.test(s)?h():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==c[c.length-1]?c=c.slice(0,-1)+s:n=3:c+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,c="";break;default:t("Unknown state");break}else r=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${u}"`),d(),a(),i}function re(e,t,n){const r=Y(ne(e.path),n);const i=s(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf===!t.record.aliasOf&&t.children.push(i),i}function ie(e,t){const n=[],r=new Map;function i(e){return r.get(e)}function o(e,n,r){const i=!r,l=ae(e);l.aliasOf=r&&r.record;const d=ce(t,e),h=[l];if("alias"in e){const t="string"===typeof e.alias?[e.alias]:e.alias;for(const e of t)h.push(s({},l,{components:r?r.record.components:l.components,path:e,aliasOf:r?r.record:l}))}let f,p;for(const t of h){const{path:s}=t;if(n&&"/"!==s[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(s&&r+s)}if(f=re(t,n,d),r?r.alias.push(f):(p=p||f,p!==f&&p.alias.push(f),i&&e.name&&!le(f)&&a(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)o(e[t],f,r&&r.children[t])}r=r||f,c(f)}return p?()=>{a(p)}:u}function a(e){if(W(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(a),t.alias.forEach(a))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function l(){return n}function c(e){let t=0;while(t<n.length&&Q(e,n[t])>=0&&(e.record.path!==n[t].record.path||!de(e,n[t])))t++;n.splice(t,0,e),e.record.name&&!le(e)&&r.set(e.record.name,e)}function d(e,t){let i,o,a,l={};if("name"in e&&e.name){if(i=r.get(e.name),!i)throw j(1,{location:e});a=i.record.name,l=s(oe(t.params,i.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params),o=i.stringify(l)}else if("path"in e)o=e.path,i=n.find((e=>e.re.test(o))),i&&(l=i.parse(o),a=i.record.name);else{if(i=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!i)throw j(1,{location:e,currentLocation:t});a=i.record.name,l=s({},t.params,e.params),o=i.stringify(l)}const u=[];let c=i;while(c)u.unshift(c.record),c=c.parent;return{name:a,path:o,params:l,matched:u,meta:ue(u)}}return t=ce({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,resolve:d,removeRoute:a,getRoutes:l,getRecordMatcher:i}}function oe(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function ae(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:se(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function se(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="boolean"===typeof n?n:n[r];return t}function le(e){while(e){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ue(e){return e.reduce(((e,t)=>s(e,t.meta)),{})}function ce(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function de(e,t){return t.children.some((t=>t===e||de(e,t)))}const he=/#/g,fe=/&/g,pe=/\//g,ve=/=/g,ge=/\?/g,me=/\+/g,ye=/%5B/g,_e=/%5D/g,be=/%5E/g,xe=/%60/g,we=/%7B/g,Se=/%7C/g,ke=/%7D/g,Ce=/%20/g;function Ae(e){return encodeURI(""+e).replace(Se,"|").replace(ye,"[").replace(_e,"]")}function Te(e){return Ae(e).replace(we,"{").replace(ke,"}").replace(be,"^")}function Ee(e){return Ae(e).replace(me,"%2B").replace(Ce,"+").replace(he,"%23").replace(fe,"%26").replace(xe,"`").replace(we,"{").replace(ke,"}").replace(be,"^")}function Me(e){return Ee(e).replace(ve,"%3D")}function Ie(e){return Ae(e).replace(he,"%23").replace(ge,"%3F")}function De(e){return null==e?"":Ie(e).replace(pe,"%2F")}function Re(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Le(e){const t={};if(""===e||"?"===e)return t;const n="?"===e[0],r=(n?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const e=r[i].replace(me," "),n=e.indexOf("="),o=Re(n<0?e:e.slice(0,n)),a=n<0?null:Re(e.slice(n+1));if(o in t){let e=t[o];c(e)||(e=t[o]=[e]),e.push(a)}else t[o]=a}return t}function Oe(e){let t="";for(let n in e){const r=e[n];if(n=Me(n),null==r){void 0!==r&&(t+=(t.length?"&":"")+n);continue}const i=c(r)?r.map((e=>e&&Ee(e))):[r&&Ee(r)];i.forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Pe(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=c(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const ze=Symbol(""),Be=Symbol(""),Ne=Symbol(""),Fe=Symbol(""),qe=Symbol("");function We(){let e=[];function t(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Ge(e,t,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise(((a,s)=>{const l=e=>{!1===e?s(j(4,{from:n,to:t})):e instanceof Error?s(e):q(e)?s(j(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&"function"===typeof e&&o.push(e),a())},u=e.call(r&&r.instances[i],t,n,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch((e=>s(e)))}))}function Ve(e,t,n,r){const i=[];for(const o of e){0;for(const e in o.components){let s=o.components[e];if("beforeRouteEnter"===t||o.instances[e])if(He(s)){const a=s.__vccOpts||s,l=a[t];l&&i.push(Ge(l,n,r,o,e))}else{let l=s();0,i.push((()=>l.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${o.path}"`));const s=a(i)?i.default:i;o.components[e]=s;const l=s.__vccOpts||s,u=l[t];return u&&Ge(u,n,r,o,e)()}))))}}}return i}function He(e){return"object"===typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function je(e){const t=(0,r.WQ)(Ne),n=(0,r.WQ)(Fe),o=(0,r.EW)((()=>t.resolve((0,i.R1)(e.to)))),a=(0,r.EW)((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const a=i.findIndex(m.bind(null,r));if(a>-1)return a;const s=Ye(e[t-2]);return t>1&&Ye(r)===s&&i[i.length-1].path!==s?i.findIndex(m.bind(null,e[t-2])):a})),s=(0,r.EW)((()=>a.value>-1&&Xe(n.params,o.value.params))),l=(0,r.EW)((()=>a.value>-1&&a.value===n.matched.length-1&&y(n.params,o.value.params)));function c(n={}){return Ke(n)?t[(0,i.R1)(e.replace)?"replace":"push"]((0,i.R1)(e.to)).catch(u):Promise.resolve()}return{route:o,href:(0,r.EW)((()=>o.value.href)),isActive:s,isExactActive:l,navigate:c}}const $e=(0,r.pM)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:je,setup(e,{slots:t}){const n=(0,i.Kh)(je(e)),{options:o}=(0,r.WQ)(Ne),a=(0,r.EW)((()=>({[Ze(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ze(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const i=t.default&&t.default(n);return e.custom?i:(0,r.h)("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},i)}}}),Ue=$e;function Ke(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Xe(e,t){for(const n in t){const r=t[n],i=e[n];if("string"===typeof r){if(r!==i)return!1}else if(!c(i)||i.length!==r.length||r.some(((e,t)=>e!==i[t])))return!1}return!0}function Ye(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ze=(e,t,n)=>null!=e?e:null!=t?t:n,Qe=(0,r.pM)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=(0,r.WQ)(qe),a=(0,r.EW)((()=>e.route||o.value)),l=(0,r.WQ)(Be,0),u=(0,r.EW)((()=>{let e=(0,i.R1)(l);const{matched:t}=a.value;let n;while((n=t[e])&&!n.components)e++;return e})),c=(0,r.EW)((()=>a.value.matched[u.value]));(0,r.Gt)(Be,(0,r.EW)((()=>u.value+1))),(0,r.Gt)(ze,c),(0,r.Gt)(qe,a);const d=(0,i.KR)();return(0,r.wB)((()=>[d.value,c.value,e.name]),(([e,t,n],[r,i,o])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&m(t,i)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const i=a.value,o=c.value,l=o&&o.components[e.name],u=e.name;if(!l)return Je(n.default,{Component:l,route:i});const h=o.props[e.name],f=h?!0===h?i.params:"function"===typeof h?h(i):h:null,p=e=>{e.component.isUnmounted&&(o.instances[u]=null)},v=(0,r.h)(l,s({},f,t,{onVnodeUnmounted:p,ref:d}));return Je(n.default,{Component:v,route:i})||v}}});function Je(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const et=Qe;function tt(e){const t=ie(e.routes,e),n=e.parseQuery||Le,a=e.stringifyQuery||Oe,d=e.history;const h=We(),v=We(),m=We(),y=(0,i.IJ)(G);let _=G;o&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const b=l.bind(null,(e=>""+e)),x=l.bind(null,De),S=l.bind(null,Re);function k(e,n){let r,i;return W(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function C(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function A(){return t.getRoutes().map((e=>e.record))}function T(e){return!!t.getRecordMatcher(e)}function D(e,r){if(r=s({},r||y.value),"string"===typeof e){const i=f(n,e,r.path),o=t.resolve({path:i.path},r),a=d.createHref(i.fullPath);return s(i,o,{params:S(o.params),hash:Re(i.hash),redirectedFrom:void 0,href:a})}let i;if("path"in e)i=s({},e,{path:f(n,e.path,r.path).path});else{const t=s({},e.params);for(const e in t)null==t[e]&&delete t[e];i=s({},e,{params:x(e.params)}),r.params=x(r.params)}const o=t.resolve(i,r),l=e.hash||"";o.params=b(S(o.params));const u=p(a,s({},e,{hash:Te(l),path:o.path})),c=d.createHref(u);return s({fullPath:u,hash:l,query:a===Oe?Pe(e.query):e.query||{}},o,{redirectedFrom:void 0,href:c})}function O(e){return"string"===typeof e?f(n,e,y.value.path):s({},e)}function P(e,t){if(_!==e)return j(8,{from:t,to:e})}function z(e){return F(e)}function B(e){return z(s(O(e),{replace:!0}))}function N(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"===typeof n?n(e):n;return"string"===typeof r&&(r=r.includes("?")||r.includes("#")?r=O(r):{path:r},r.params={}),s({query:e.query,hash:e.hash,params:"path"in r?{}:e.params},r)}}function F(e,t){const n=_=D(e),r=y.value,i=e.state,o=e.force,l=!0===e.replace,u=N(n);if(u)return F(s(O(u),{state:i,force:o,replace:l}),t||n);const c=n;let d;return c.redirectedFrom=t,!o&&g(a,r,n)&&(d=j(16,{to:c,from:r}),ne(r,r,!0,!1)),(d?Promise.resolve(d):V(c,r)).catch((e=>$(e)?$(e,2)?e:te(e):J(e,c,r))).then((e=>{if(e){if($(e,2))return F(s(O(e.to),{state:i,force:o,replace:l}),t||c)}else e=U(c,r,!0,l,i);return H(c,r,e),e}))}function q(e,t){const n=P(e,t);return n?Promise.reject(n):Promise.resolve()}function V(e,t){let n;const[r,i,o]=rt(e,t);n=Ve(r.reverse(),"beforeRouteLeave",e,t);for(const s of r)s.leaveGuards.forEach((r=>{n.push(Ge(r,e,t))}));const a=q.bind(null,e,t);return n.push(a),nt(n).then((()=>{n=[];for(const r of h.list())n.push(Ge(r,e,t));return n.push(a),nt(n)})).then((()=>{n=Ve(i,"beforeRouteUpdate",e,t);for(const r of i)r.updateGuards.forEach((r=>{n.push(Ge(r,e,t))}));return n.push(a),nt(n)})).then((()=>{n=[];for(const r of e.matched)if(r.beforeEnter&&!t.matched.includes(r))if(c(r.beforeEnter))for(const i of r.beforeEnter)n.push(Ge(i,e,t));else n.push(Ge(r.beforeEnter,e,t));return n.push(a),nt(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Ve(o,"beforeRouteEnter",e,t),n.push(a),nt(n)))).then((()=>{n=[];for(const r of v.list())n.push(Ge(r,e,t));return n.push(a),nt(n)})).catch((e=>$(e,8)?e:Promise.reject(e)))}function H(e,t,n){for(const r of m.list())r(e,t,n)}function U(e,t,n,r,i){const a=P(e,t);if(a)return a;const l=t===G,u=o?history.state:{};n&&(r||l?d.replace(e.fullPath,s({scroll:l&&u&&u.scroll},i)):d.push(e.fullPath,i)),y.value=e,ne(e,t,n,l),te()}let K;function X(){K||(K=d.listen(((e,t,n)=>{if(!se.listening)return;const r=D(e),i=N(r);if(i)return void F(s(i,{replace:!0}),r).catch(u);_=r;const a=y.value;o&&R(I(a.fullPath,n.delta),E()),V(r,a).catch((e=>$(e,12)?e:$(e,2)?(F(e.to,r).then((e=>{$(e,20)&&!n.delta&&n.type===w.pop&&d.go(-1,!1)})).catch(u),Promise.reject()):(n.delta&&d.go(-n.delta,!1),J(e,r,a)))).then((e=>{e=e||U(r,a,!1),e&&(n.delta?d.go(-n.delta,!1):n.type===w.pop&&$(e,20)&&d.go(-1,!1)),H(r,a,e)})).catch(u)})))}let Y,Z=We(),Q=We();function J(e,t,n){te(e);const r=Q.list();return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}function ee(){return Y&&y.value!==G?Promise.resolve():new Promise(((e,t)=>{Z.add([e,t])}))}function te(e){return Y||(Y=!e,X(),Z.list().forEach((([t,n])=>e?n(e):t())),Z.reset()),e}function ne(t,n,i,a){const{scrollBehavior:s}=e;if(!o||!s)return Promise.resolve();const l=!i&&L(I(t.fullPath,0))||(a||!i)&&history.state&&history.state.scroll||null;return(0,r.dY)().then((()=>s(t,n,l))).then((e=>e&&M(e))).catch((e=>J(e,t,n)))}const re=e=>d.go(e);let oe;const ae=new Set,se={currentRoute:y,listening:!0,addRoute:k,removeRoute:C,hasRoute:T,getRoutes:A,resolve:D,options:e,push:z,replace:B,go:re,back:()=>re(-1),forward:()=>re(1),beforeEach:h.add,beforeResolve:v.add,afterEach:m.add,onError:Q.add,isReady:ee,install(e){const t=this;e.component("RouterLink",Ue),e.component("RouterView",et),e.config.globalProperties.$router=t,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,i.R1)(y)}),o&&!oe&&y.value===G&&(oe=!0,z(d.location).catch((e=>{0})));const n={};for(const i in G)n[i]=(0,r.EW)((()=>y.value[i]));e.provide(Ne,t),e.provide(Fe,(0,i.Kh)(n)),e.provide(qe,y);const a=e.unmount;ae.add(e),e.unmount=function(){ae.delete(e),ae.size<1&&(_=G,K&&K(),K=null,y.value=G,oe=!1,Y=!1),a()}}};return se}function nt(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function rt(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a<o;a++){const o=t.matched[a];o&&(e.matched.find((e=>m(e,o)))?r.push(o):n.push(o));const s=e.matched[a];s&&(t.matched.find((e=>m(e,s)))||i.push(s))}return[n,r,i]}},3954:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1758),i=n(9467),o=n(5139);const a=["top","middle","bottom"],s=(0,i.a0)({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>a.includes(e)}},setup(e,{slots:t}){const n=(0,r.EW)((()=>void 0!==e.align?{verticalAlign:e.align}:null)),i=(0,r.EW)((()=>{const t=!0===e.outline&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${!0===e.multiLine?"multi":"single"}-line`+(!0===e.outline?" q-badge--outline":void 0!==e.color?` bg-${e.color}`:"")+(void 0!==t?` text-${t}`:"")+(!0===e.floating?" q-badge--floating":"")+(!0===e.rounded?" q-badge--rounded":"")+(!0===e.transparent?" q-badge--transparent":"")}));return()=>(0,r.h)("div",{class:i.value,style:n.value,role:"status","aria-label":e.label},(0,o.Hp)(t.default,void 0!==e.label?[e.label]:[]))}})},6939:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1758),i=n(6384),o=n(9467),a=n(5139);const s=(0,o.a0)({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){const n=(0,r.EW)((()=>{const t=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter((t=>!0===e[t])).map((e=>`q-btn-group--${e}`)).join(" ");return"q-btn-group row no-wrap"+(0!==t.length?" "+t:"")+(!0===e.spread?" q-btn-group--spread":" inline")}));return()=>(0,r.h)("div",{class:n.value},(0,a.zm)(t.default))}});var l=n(2510),u=n(3495);const c=(0,o.a0)({name:"QBtnToggle",props:{...l.Sc,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every((e=>("label"in e||"icon"in e||"slot"in e)&&"value"in e))},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,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","clear","click"],setup(e,{slots:t,emit:n}){const o=(0,r.EW)((()=>void 0!==e.options.find((t=>t.value===e.modelValue)))),c=(0,r.EW)((()=>({type:"hidden",name:e.name,value:e.modelValue}))),d=(0,l.vq)(c),h=(0,r.EW)((()=>(0,u.cv)(e))),f=(0,r.EW)((()=>({rounded:e.rounded,dense:e.dense,...h.value}))),p=(0,r.EW)((()=>e.options.map(((t,n)=>{const{attrs:r,value:i,slot:o,...a}=t;return{slot:o,props:{key:n,"aria-pressed":i===e.modelValue?"true":"false",...r,...a,...f.value,disable:!0===e.disable||!0===a.disable,color:i===e.modelValue?g(a,"toggleColor"):g(a,"color"),textColor:i===e.modelValue?g(a,"toggleTextColor"):g(a,"textColor"),noCaps:!0===g(a,"noCaps"),noWrap:!0===g(a,"noWrap"),size:g(a,"size"),padding:g(a,"padding"),ripple:g(a,"ripple"),stack:!0===g(a,"stack"),stretch:!0===g(a,"stretch"),onClick(e){v(i,t,e)}}}}))));function v(t,r,i){!0!==e.readonly&&(e.modelValue===t?!0===e.clearable&&(n("update:modelValue",null,null),n("clear")):n("update:modelValue",t,r),n("click",i))}function g(t,n){return void 0===t[n]?e[n]:t[n]}function m(){const n=p.value.map((e=>(0,r.h)(i.A,e.props,void 0!==e.slot?t[e.slot]:void 0)));return void 0!==e.name&&!0!==e.disable&&!0===o.value&&d(n,"push"),(0,a.Hp)(t.default,n)}return()=>(0,r.h)(s,{class:"q-btn-toggle",...h.value,rounded:e.rounded,stretch:e.stretch,glossy:e.glossy,spread:e.spread},m)}})},6384:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(1758),i=n(8734),o=n(9104),a=n(492),s=n(8210),l=n(9626),u=n(3495),c=n(9467),d=n(5139),h=n(2500),f=n(2906);const{passiveCapture:p}=h.mG;let v=null,g=null,m=null;const y=(0,c.a0)({name:"QBtn",props:{...u.Y6,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:c}=(0,r.nI)(),{classes:y,style:_,innerClasses:b,attributes:x,hasLink:w,linkTag:S,navigateOnClick:k,isActionable:C}=(0,u.Ay)(e),A=(0,i.KR)(null),T=(0,i.KR)(null);let E,M=null,I=null;const D=(0,r.EW)((()=>void 0!==e.label&&null!==e.label&&""!==e.label)),R=(0,r.EW)((()=>!0!==e.disable&&!1!==e.ripple&&{keyCodes:!0===w.value?[13,32]:[13],...!0===e.ripple?{}:e.ripple})),L=(0,r.EW)((()=>({center:e.round}))),O=(0,r.EW)((()=>{const t=Math.max(0,Math.min(100,e.percentage));return t>0?{transition:"transform 0.6s",transform:`translateX(${t-100}%)`}:{}})),P=(0,r.EW)((()=>{if(!0===e.loading)return{onMousedown:V,onTouchstart:V,onClick:V,onKeydown:V,onKeyup:V};if(!0===C.value){const t={onClick:B,onKeydown:N,onMousedown:q};if(!0===c.$q.platform.has.touch){const n=void 0!==e.onTouchstart?"":"Passive";t[`onTouchstart${n}`]=F}return t}return{onClick:h.Gu}})),z=(0,r.EW)((()=>({ref:A,class:"q-btn q-btn-item non-selectable no-outline "+y.value,style:_.value,...x.value,...P.value})));function B(t){if(null!==A.value){if(void 0!==t){if(!0===t.defaultPrevented)return;const n=document.activeElement;if("submit"===e.type&&n!==document.body&&!1===A.value.contains(n)&&!1===n.contains(A.value)){A.value.focus();const e=()=>{document.removeEventListener("keydown",h.Gu,!0),document.removeEventListener("keyup",e,p),null!==A.value&&A.value.removeEventListener("blur",e,p)};document.addEventListener("keydown",h.Gu,!0),document.addEventListener("keyup",e,p),A.value.addEventListener("blur",e,p)}}k(t)}}function N(e){null!==A.value&&(n("keydown",e),!0===(0,f.Dv)(e,[13,32])&&g!==A.value&&(null!==g&&G(),!0!==e.defaultPrevented&&(A.value.focus(),g=A.value,A.value.classList.add("q-btn--active"),document.addEventListener("keyup",W,!0),A.value.addEventListener("blur",W,p)),(0,h.Gu)(e)))}function F(e){null!==A.value&&(n("touchstart",e),!0!==e.defaultPrevented&&(v!==A.value&&(null!==v&&G(),v=A.value,M=e.target,M.addEventListener("touchcancel",W,p),M.addEventListener("touchend",W,p)),E=!0,null!==I&&clearTimeout(I),I=setTimeout((()=>{I=null,E=!1}),200)))}function q(e){null!==A.value&&(e.qSkipRipple=!0===E,n("mousedown",e),!0!==e.defaultPrevented&&m!==A.value&&(null!==m&&G(),m=A.value,A.value.classList.add("q-btn--active"),document.addEventListener("mouseup",W,p)))}function W(e){if(null!==A.value&&(void 0===e||"blur"!==e.type||document.activeElement!==A.value)){if(void 0!==e&&"keyup"===e.type){if(g===A.value&&!0===(0,f.Dv)(e,[13,32])){const t=new MouseEvent("click",e);t.qKeyEvent=!0,!0===e.defaultPrevented&&(0,h.F4)(t),!0===e.cancelBubble&&(0,h.ds)(t),A.value.dispatchEvent(t),(0,h.Gu)(e),e.qKeyEvent=!0}n("keyup",e)}G()}}function G(e){const t=T.value;!0===e||v!==A.value&&m!==A.value||null===t||t===document.activeElement||(t.setAttribute("tabindex",-1),t.focus()),v===A.value&&(null!==M&&(M.removeEventListener("touchcancel",W,p),M.removeEventListener("touchend",W,p)),v=M=null),m===A.value&&(document.removeEventListener("mouseup",W,p),m=null),g===A.value&&(document.removeEventListener("keyup",W,!0),null!==A.value&&A.value.removeEventListener("blur",W,p),g=null),null!==A.value&&A.value.classList.remove("q-btn--active")}function V(e){(0,h.Gu)(e),e.qSkipRipple=!0}return(0,r.xo)((()=>{G(!0)})),Object.assign(c,{click:e=>{!0===C.value&&B(e)}}),()=>{let n=[];void 0!==e.icon&&n.push((0,r.h)(a.A,{name:e.icon,left:!0!==e.stack&&!0===D.value,role:"img"})),!0===D.value&&n.push((0,r.h)("span",{class:"block"},[e.label])),n=(0,d.Hp)(t.default,n),void 0!==e.iconRight&&!1===e.round&&n.push((0,r.h)(a.A,{name:e.iconRight,right:!0!==e.stack&&!0===D.value,role:"img"}));const i=[(0,r.h)("span",{class:"q-focus-helper",ref:T})];return!0===e.loading&&void 0!==e.percentage&&i.push((0,r.h)("span",{class:"q-btn__progress absolute-full overflow-hidden"+(!0===e.darkPercentage?" q-btn__progress--dark":"")},[(0,r.h)("span",{class:"q-btn__progress-indicator fit block",style:O.value})])),i.push((0,r.h)("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+b.value},n)),null!==e.loading&&i.push((0,r.h)(o.eB,{name:"q-transition--fade"},(()=>!0===e.loading?[(0,r.h)("span",{key:"loading",class:"absolute-full flex flex-center"},void 0!==t.loading?t.loading():[(0,r.h)(s.A)])]:null))),(0,r.bo)((0,r.h)(S.value,z.value,i),[[l.A,R.value,void 0,L.value]])}}})},3495:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g,Y6:()=>v,cv:()=>f});var r=n(1758),i=n(18),o=n(1906),a=n(7502);const s={none:0,xs:4,sm:8,md:16,lg:24,xl:32},l={xs:8,sm:10,md:14,lg:20,xl:24},u=["button","submit","reset"],c=/[^\s]\/[^\s]/,d=["flat","outline","push","unelevated"];function h(e,t){return!0===e.flat?"flat":!0===e.outline?"outline":!0===e.push?"push":!0===e.unelevated?"unelevated":t}function f(e){const t=h(e);return void 0!==t?{[t]:!0}:{}}const p={...o.x_,...a.ni,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...d.reduce(((e,t)=>(e[t]=Boolean)&&e),{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...i.fR.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},v={...p,round:Boolean};function g(e){const t=(0,o.Ay)(e,l),n=(0,i.Ay)(e),{hasRouterLink:d,hasLink:f,linkTag:p,linkAttrs:v,navigateOnClick:g}=(0,a.Ay)({fallbackTag:"button"}),m=(0,r.EW)((()=>{const n=!1===e.fab&&!1===e.fabMini?t.value:{};return void 0!==e.padding?Object.assign({},n,{padding:e.padding.split(/\s+/).map((e=>e in s?s[e]+"px":e)).join(" "),minWidth:"0",minHeight:"0"}):n})),y=(0,r.EW)((()=>!0===e.rounded||!0===e.fab||!0===e.fabMini)),_=(0,r.EW)((()=>!0!==e.disable&&!0!==e.loading)),b=(0,r.EW)((()=>!0===_.value?e.tabindex||0:-1)),x=(0,r.EW)((()=>h(e,"standard"))),w=(0,r.EW)((()=>{const t={tabindex:b.value};return!0===f.value?Object.assign(t,v.value):!0===u.includes(e.type)&&(t.type=e.type),"a"===p.value?(!0===e.disable?t["aria-disabled"]="true":void 0===t.href&&(t.role="button"),!0!==d.value&&!0===c.test(e.type)&&(t.type=e.type)):!0===e.disable&&(t.disabled="",t["aria-disabled"]="true"),!0===e.loading&&void 0!==e.percentage&&Object.assign(t,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),t})),S=(0,r.EW)((()=>{let t;void 0!==e.color?t=!0===e.flat||!0===e.outline?`text-${e.textColor||e.color}`:`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(t=`text-${e.textColor}`);const n=!0===e.round?"round":"rectangle"+(!0===y.value?" q-btn--rounded":!0===e.square?" q-btn--square":"");return`q-btn--${x.value} q-btn--${n}`+(void 0!==t?" "+t:"")+(!0===_.value?" q-btn--actionable q-focusable q-hoverable":!0===e.disable?" disabled":"")+(!0===e.fab?" q-btn--fab":!0===e.fabMini?" q-btn--fab-mini":"")+(!0===e.noCaps?" q-btn--no-uppercase":"")+(!0===e.dense?" q-btn--dense":"")+(!0===e.stretch?" no-border-radius self-stretch":"")+(!0===e.glossy?" glossy":"")+(e.square?" q-btn--square":"")})),k=(0,r.EW)((()=>n.value+(!0===e.stack?" column":" row")+(!0===e.noWrap?" no-wrap text-no-wrap":"")+(!0===e.loading?" q-btn__content--hidden":"")));return{classes:S,style:m,innerClasses:k,attributes:w,hasLink:f,linkTag:p,navigateOnClick:g,isActionable:_}}},3316:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1758),i=n(6372),o=n(9467),a=n(5139);const s=(0,o.a0)({name:"QCard",props:{...i.C,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,r.nI)(),o=(0,i.A)(e,n),s=(0,r.EW)((()=>"q-card"+(!0===o.value?" q-card--dark q-dark":"")+(!0===e.bordered?" q-card--bordered":"")+(!0===e.square?" q-card--square no-border-radius":"")+(!0===e.flat?" q-card--flat no-shadow":"")));return()=>(0,r.h)(e.tag,{class:s.value},(0,a.zm)(t.default))}})},460:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(1758),i=n(492),o=n(9467),a=n(3);const s=()=>(0,r.h)("div",{key:"svg",class:"q-checkbox__bg absolute"},[(0,r.h)("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[(0,r.h)("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),(0,r.h)("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),l=(0,o.a0)({name:"QCheckbox",props:a.jh,emits:a.LA,setup(e){const t=s();function n(n,o){const a=(0,r.EW)((()=>(!0===n.value?e.checkedIcon:!0===o.value?e.indeterminateIcon:e.uncheckedIcon)||null));return()=>null!==a.value?[(0,r.h)("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[(0,r.h)(i.A,{class:"q-checkbox__icon",name:a.value})])]:[t]}return(0,a.Ay)("checkbox",n)}})},3:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p,LA:()=>f,jh:()=>h});var r=n(1758),i=n(8734),o=n(6372),a=n(1906),s=n(8014),l=n(2510),u=n(447),c=n(2500),d=n(5139);const h={...o.C,...a.x_,...l.Sc,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>"tf"===e||"ft"===e},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},f=["update:modelValue"];function p(e,t){const{props:n,slots:h,emit:f,proxy:p}=(0,r.nI)(),{$q:v}=p,g=(0,o.A)(n,v),m=(0,i.KR)(null),{refocusTargetEl:y,refocusTarget:_}=(0,s.A)(n,m),b=(0,a.Ay)(n,u.A),x=(0,r.EW)((()=>void 0!==n.val&&Array.isArray(n.modelValue))),w=(0,r.EW)((()=>{const e=(0,i.ux)(n.val);return!0===x.value?n.modelValue.findIndex((t=>(0,i.ux)(t)===e)):-1})),S=(0,r.EW)((()=>!0===x.value?-1!==w.value:(0,i.ux)(n.modelValue)===(0,i.ux)(n.trueValue))),k=(0,r.EW)((()=>!0===x.value?-1===w.value:(0,i.ux)(n.modelValue)===(0,i.ux)(n.falseValue))),C=(0,r.EW)((()=>!1===S.value&&!1===k.value)),A=(0,r.EW)((()=>!0===n.disable?-1:n.tabindex||0)),T=(0,r.EW)((()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(!0===n.disable?" disabled":"")+(!0===g.value?` q-${e}--dark`:"")+(!0===n.dense?` q-${e}--dense`:"")+(!0===n.leftLabel?" reverse":""))),E=(0,r.EW)((()=>{const t=!0===S.value?"truthy":!0===k.value?"falsy":"indet",r=void 0===n.color||!0!==n.keepColor&&("toggle"===e?!0!==S.value:!0===k.value)?"":` text-${n.color}`;return`q-${e}__inner relative-position non-selectable q-${e}__inner--${t}${r}`})),M=(0,r.EW)((()=>{const e={type:"checkbox"};return void 0!==n.name&&Object.assign(e,{".checked":S.value,"^checked":!0===S.value?"checked":void 0,name:n.name,value:!0===x.value?n.val:n.trueValue}),e})),I=(0,l.vq)(M),D=(0,r.EW)((()=>{const t={tabindex:A.value,role:"toggle"===e?"switch":"checkbox","aria-label":n.label,"aria-checked":!0===C.value?"mixed":!0===S.value?"true":"false"};return!0===n.disable&&(t["aria-disabled"]="true"),t}));function R(e){void 0!==e&&((0,c.Gu)(e),_(e)),!0!==n.disable&&f("update:modelValue",L(),e)}function L(){if(!0===x.value){if(!0===S.value){const e=n.modelValue.slice();return e.splice(w.value,1),e}return n.modelValue.concat([n.val])}if(!0===S.value){if("ft"!==n.toggleOrder||!1===n.toggleIndeterminate)return n.falseValue}else{if(!0!==k.value)return"ft"!==n.toggleOrder?n.trueValue:n.falseValue;if("ft"===n.toggleOrder||!1===n.toggleIndeterminate)return n.trueValue}return n.indeterminateValue}function O(e){13!==e.keyCode&&32!==e.keyCode||(0,c.Gu)(e)}function P(e){13!==e.keyCode&&32!==e.keyCode||R(e)}const z=t(S,C);return Object.assign(p,{toggle:R}),()=>{const t=z();!0!==n.disable&&I(t,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const i=[(0,r.h)("div",{class:E.value,style:b.value,"aria-hidden":"true"},t)];null!==y.value&&i.push(y.value);const o=void 0!==n.label?(0,d.Hp)(h.default,[n.label]):(0,d.zm)(h.default);return void 0!==o&&i.push((0,r.h)("div",{class:`q-${e}__label q-anchor--skip`},o)),(0,r.h)("div",{ref:m,class:T.value,...D.value,onClick:R,onKeydown:O,onKeyup:P},i)}}},558:(e,t,n)=>{"use strict";n.d(t,{A:()=>W});var r=n(1758),i=n(8734),o=n(9104),a=n(4848);function s(e,t,n){let i;function o(){void 0!==i&&(a.A.remove(i),i=void 0)}return(0,r.xo)((()=>{!0===e.value&&o()})),{removeFromHistory:o,addToHistory(){i={condition:()=>!0===n.value,handler:t},a.A.add(i)}}}var l=n(4667),u=n(6019),c=n(2916),d=n(454),h=n(2120),f=n(8336),p=n(2500),v=n(1597);let g,m,y,_,b,x,w=0,S=!1,k=null;function C(e){A(e)&&(0,p.Gu)(e)}function A(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=(0,p.en)(e),n=e.shiftKey&&!e.deltaX,r=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=n||r?e.deltaY:e.deltaX;for(let o=0;o<t.length;o++){const e=t[o];if((0,f.D_)(e,r))return r?i<0&&0===e.scrollTop||i>0&&e.scrollTop+e.clientHeight===e.scrollHeight:i<0&&0===e.scrollLeft||i>0&&e.scrollLeft+e.clientWidth===e.scrollWidth}return!0}function T(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function E(e){!0!==S&&(S=!0,requestAnimationFrame((()=>{S=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:r}=document.scrollingElement;void 0!==y&&t===window.innerHeight||(y=n-t,document.scrollingElement.scrollTop=r),r>y&&(document.scrollingElement.scrollTop-=Math.ceil((r-y)/8))})))}function M(e){const t=document.body,n=void 0!==window.visualViewport;if("add"===e){const{overflowY:e,overflowX:r}=window.getComputedStyle(t);g=(0,f.lS)(window),m=(0,f.fQ)(window),_=t.style.left,b=t.style.top,x=window.location.href,t.style.left=`-${g}px`,t.style.top=`-${m}px`,"hidden"!==r&&("scroll"===r||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),"hidden"!==e&&("scroll"===e||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,!0===v.Sn.is.ios&&(!0===n?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",E,p.mG.passiveCapture),window.visualViewport.addEventListener("scroll",E,p.mG.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",T,p.mG.passiveCapture))}!0===v.Sn.is.desktop&&!0===v.Sn.is.mac&&window[`${e}EventListener`]("wheel",C,p.mG.notPassive),"remove"===e&&(!0===v.Sn.is.ios&&(!0===n?(window.visualViewport.removeEventListener("resize",E,p.mG.passiveCapture),window.visualViewport.removeEventListener("scroll",E,p.mG.passiveCapture)):window.removeEventListener("scroll",T,p.mG.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=_,t.style.top=b,window.location.href===x&&window.scrollTo(g,m),y=void 0)}function I(e){let t="add";if(!0===e){if(w++,null!==k)return clearTimeout(k),void(k=null);if(w>1)return}else{if(0===w)return;if(w--,w>0)return;if(t="remove",!0===v.Sn.is.ios&&!0===v.Sn.is.nativeMobile)return null!==k&&clearTimeout(k),void(k=setTimeout((()=>{M(t),k=null}),100))}M(t)}function D(){let e;return{preventBodyScroll(t){t===e||void 0===e&&!0!==t||(e=t,I(t))}}}var R=n(9467),L=n(7556),O=n(5139),P=n(8773),z=n(8173),B=n(8983);let N=0;const F={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"},q={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},W=(0,R.a0)({name:"QDialog",inheritAttrs:!1,props:{...c.RI,...d.d,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...c.Jl,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:a}){const f=(0,r.nI)(),p=(0,i.KR)(null),v=(0,i.KR)(!1),g=(0,i.KR)(!1);let m,y,_=null,b=null;const x=(0,r.EW)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss&&!0!==e.seamless)),{preventBodyScroll:w}=D(),{registerTimeout:S}=(0,l.A)(),{registerTick:k,removeTick:C}=(0,u.A)(),{transitionProps:A,transitionStyle:T}=(0,d.A)(e,(()=>q[e.position][0]),(()=>q[e.position][1])),E=(0,r.EW)((()=>T.value+(void 0!==e.backdropFilter?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:""))),{showPortal:M,hidePortal:I,portalIsAccessible:R,renderPortal:W}=(0,h.A)(f,p,oe,"dialog"),{hide:G}=(0,c.Ay)({showing:v,hideOnRouteChange:x,handleShow:X,handleHide:Y,processOnMount:!0}),{addToHistory:V,removeFromHistory:H}=s(v,G,x),j=(0,r.EW)((()=>"q-dialog__inner flex no-pointer-events q-dialog__inner--"+(!0===e.maximized?"maximized":"minimized")+` q-dialog__inner--${e.position} ${F[e.position]}`+(!0===g.value?" q-dialog__inner--animating":"")+(!0===e.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===e.fullHeight?" q-dialog__inner--fullheight":"")+(!0===e.square?" q-dialog__inner--square":""))),$=(0,r.EW)((()=>!0===v.value&&!0!==e.seamless)),U=(0,r.EW)((()=>!0===e.autoClose?{onClick:ne}:{})),K=(0,r.EW)((()=>["q-dialog fullscreen no-pointer-events q-dialog--"+(!0===$.value?"modal":"seamless"),a.class]));function X(t){V(),b=!1===e.noRefocus&&null!==document.activeElement?document.activeElement:null,te(e.maximized),M(),g.value=!0,!0!==e.noFocus?(null!==document.activeElement&&document.activeElement.blur(),k(Z)):C(),S((()=>{if(!0===f.proxy.$q.platform.is.ios){if(!0!==e.seamless&&document.activeElement){const{top:e,bottom:t}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,r=void 0!==window.visualViewport?window.visualViewport.height:n;e>0&&t>r/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-r,t>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+t-r/2))),document.activeElement.scrollIntoView()}y=!0,p.value.click(),y=!1}M(!0),g.value=!1,n("show",t)}),e.transitionDuration)}function Y(t){C(),H(),ee(!0),g.value=!0,I(),null!==b&&(((t&&0===t.type.indexOf("key")?b.closest('[tabindex]:not([tabindex^="-"])'):void 0)||b).focus(),b=null),S((()=>{I(!0),g.value=!1,n("hide",t)}),e.transitionDuration)}function Z(e){(0,B.Gy)((()=>{let t=p.value;if(null!==t){if(void 0!==e){const n=t.querySelector(e);if(null!==n)return void n.focus({preventScroll:!0})}!0!==t.contains(document.activeElement)&&(t=t.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||t.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||t.querySelector("[autofocus], [data-autofocus]")||t,t.focus({preventScroll:!0}))}}))}function Q(e){e&&"function"===typeof e.focus?e.focus({preventScroll:!0}):Z(),n("shake");const t=p.value;null!==t&&(t.classList.remove("q-animate--scale"),t.classList.add("q-animate--scale"),null!==_&&clearTimeout(_),_=setTimeout((()=>{_=null,null!==p.value&&(t.classList.remove("q-animate--scale"),Z())}),170))}function J(){!0!==e.seamless&&(!0===e.persistent||!0===e.noEscDismiss?!0!==e.maximized&&!0!==e.noShake&&Q():(n("escapeKey"),G()))}function ee(t){null!==_&&(clearTimeout(_),_=null),!0!==t&&!0!==v.value||(te(!1),!0!==e.seamless&&(w(!1),(0,z.v)(ie),(0,P.V)(J))),!0!==t&&(b=null)}function te(e){!0===e?!0!==m&&(N<1&&document.body.classList.add("q-body--dialog"),N++,m=!0):!0===m&&(N<2&&document.body.classList.remove("q-body--dialog"),N--,m=!1)}function ne(e){!0!==y&&(G(e),n("click",e))}function re(t){!0!==e.persistent&&!0!==e.noBackdropDismiss?G(t):!0!==e.noShake&&Q()}function ie(t){!0!==e.allowFocusOutside&&!0===R.value&&!0!==(0,L.$J)(p.value,t.target)&&Z('[tabindex]:not([tabindex="-1"])')}function oe(){return(0,r.h)("div",{role:"dialog","aria-modal":!0===$.value?"true":"false",...a,class:K.value},[(0,r.h)(o.eB,{name:"q-transition--fade",appear:!0},(()=>!0===$.value?(0,r.h)("div",{class:"q-dialog__backdrop fixed-full",style:E.value,"aria-hidden":"true",tabindex:-1,onClick:re}):null)),(0,r.h)(o.eB,A.value,(()=>!0===v.value?(0,r.h)("div",{ref:p,class:j.value,style:T.value,tabindex:-1,...U.value},(0,O.zm)(t.default)):null))])}return(0,r.wB)((()=>e.maximized),(e=>{!0===v.value&&te(e)})),(0,r.wB)($,(e=>{w(e),!0===e?((0,z.g)(ie),(0,P.I)(J)):((0,z.v)(ie),(0,P.V)(J))})),Object.assign(f.proxy,{focus:Z,shake:Q,__updateRefocusTarget(e){b=e||null}}),(0,r.xo)(ee),W}})},8416:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(1758),i=n(8734),o=n(1096),a=n(9467),s=n(5139),l=n(7973);const u=(0,a.a0)({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:n}){const{proxy:{$q:a}}=(0,r.nI)(),u=(0,r.WQ)(l.ON,l.U_);if(u===l.U_)return console.error("QHeader needs to be child of QLayout"),l.U_;const c=(0,i.KR)(parseInt(e.heightHint,10)),d=(0,i.KR)(!0),h=(0,r.EW)((()=>!0===e.reveal||-1!==u.view.value.indexOf("H")||a.platform.is.ios&&!0===u.isContainer.value)),f=(0,r.EW)((()=>{if(!0!==e.modelValue)return 0;if(!0===h.value)return!0===d.value?c.value:0;const t=c.value-u.scroll.value.position;return t>0?t:0})),p=(0,r.EW)((()=>!0!==e.modelValue||!0===h.value&&!0!==d.value)),v=(0,r.EW)((()=>!0===e.modelValue&&!0===p.value&&!0===e.reveal)),g=(0,r.EW)((()=>"q-header q-layout__section--marginal "+(!0===h.value?"fixed":"absolute")+"-top"+(!0===e.bordered?" q-header--bordered":"")+(!0===p.value?" q-header--hidden":"")+(!0!==e.modelValue?" q-layout--prevent-focus":""))),m=(0,r.EW)((()=>{const e=u.rows.value.top,t={};return"l"===e[0]&&!0===u.left.space&&(t[!0===a.lang.rtl?"right":"left"]=`${u.left.size}px`),"r"===e[2]&&!0===u.right.space&&(t[!0===a.lang.rtl?"left":"right"]=`${u.right.size}px`),t}));function y(e,t){u.update("header",e,t)}function _(e,t){e.value!==t&&(e.value=t)}function b({height:e}){_(c,e),y("size",e)}function x(e){!0===v.value&&_(d,!0),n("focusin",e)}(0,r.wB)((()=>e.modelValue),(e=>{y("space",e),_(d,!0),u.animate()})),(0,r.wB)(f,(e=>{y("offset",e)})),(0,r.wB)((()=>e.reveal),(t=>{!1===t&&_(d,e.modelValue)})),(0,r.wB)(d,(e=>{u.animate(),n("reveal",e)})),(0,r.wB)(u.scroll,(t=>{!0===e.reveal&&_(d,"up"===t.direction||t.position<=e.revealOffset||t.position-t.inflectionPoint<100)}));const w={};return u.instances.header=w,!0===e.modelValue&&y("size",c.value),y("space",e.modelValue),y("offset",f.value),(0,r.xo)((()=>{u.instances.header===w&&(u.instances.header=void 0,y("size",0),y("offset",0),y("space",!1))})),()=>{const n=(0,s.Ij)(t.default,[]);return!0===e.elevated&&n.push((0,r.h)("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),n.push((0,r.h)(o.A,{debounce:0,onResize:b})),(0,r.h)("header",{class:g.value,style:m.value,onFocusin:x},n)}}})},492:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(1758),i=n(1906),o=n(9467),a=n(5139);const s="0 0 24 24",l=e=>e,u=e=>`ionicons ${e}`,c={"mdi-":e=>`mdi ${e}`,"icon-":l,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":u,"ion-ios":u,"ion-logo":u,"iconfont ":l,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},d={o_:"-outlined",r_:"-round",s_:"-sharp"},h={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},f=new RegExp("^("+Object.keys(c).join("|")+")"),p=new RegExp("^("+Object.keys(d).join("|")+")"),v=new RegExp("^("+Object.keys(h).join("|")+")"),g=/^[Mm]\s?[-+]?\.?\d/,m=/^img:/,y=/^svguse:/,_=/^ion-/,b=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,x=(0,o.a0)({name:"QIcon",props:{...i.x_,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,r.nI)(),o=(0,i.Ay)(e),l=(0,r.EW)((()=>"q-icon"+(!0===e.left?" on-left":"")+(!0===e.right?" on-right":"")+(void 0!==e.color?` text-${e.color}`:""))),u=(0,r.EW)((()=>{let t,i=e.name;if("none"===i||!i)return{none:!0};if(null!==n.iconMapFn){const e=n.iconMapFn(i);if(void 0!==e){if(void 0===e.icon)return{cls:e.cls,content:void 0!==e.content?e.content:" "};if(i=e.icon,"none"===i||!i)return{none:!0}}}if(!0===g.test(i)){const[e,t=s]=i.split("|");return{svg:!0,viewBox:t,nodes:e.split("&&").map((e=>{const[t,n,i]=e.split("@@");return(0,r.h)("path",{style:n,d:t,transform:i})}))}}if(!0===m.test(i))return{img:!0,src:i.substring(4)};if(!0===y.test(i)){const[e,t=s]=i.split("|");return{svguse:!0,src:e.substring(7),viewBox:t}}let o=" ";const a=i.match(f);if(null!==a)t=c[a[1]](i);else if(!0===b.test(i))t=i;else if(!0===_.test(i))t=`ionicons ion-${!0===n.platform.is.ios?"ios":"md"}${i.substring(3)}`;else if(!0===v.test(i)){t="notranslate material-symbols";const e=i.match(v);null!==e&&(i=i.substring(6),t+=h[e[1]]),o=i}else{t="notranslate material-icons";const e=i.match(p);null!==e&&(i=i.substring(2),t+=d[e[1]]),o=i}return{cls:t,content:o}}));return()=>{const n={class:l.value,style:o.value,"aria-hidden":"true",role:"presentation"};return!0===u.value.none?(0,r.h)(e.tag,n,(0,a.zm)(t.default)):!0===u.value.img?(0,r.h)(e.tag,n,(0,a.Hp)(t.default,[(0,r.h)("img",{src:u.value.src})])):!0===u.value.svg?(0,r.h)(e.tag,n,(0,a.Hp)(t.default,[(0,r.h)("svg",{viewBox:u.value.viewBox||"0 0 24 24"},u.value.nodes)])):!0===u.value.svguse?(0,r.h)(e.tag,n,(0,a.Hp)(t.default,[(0,r.h)("svg",{viewBox:u.value.viewBox},[(0,r.h)("use",{"xlink:href":u.value.src})])])):(void 0!==u.value.cls&&(n.class+=" "+u.value.cls),(0,r.h)(e.tag,n,(0,a.Hp)(t.default,[u.value.content])))}}})},5046:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(8734),i=n(1758),o=n(9104),a=n(8210),s=n(1597);const l={ratio:[String,Number]};function u(e,t){return(0,i.EW)((()=>{const n=Number(e.ratio||(void 0!==t?t.value:void 0));return!0!==isNaN(n)&&n>0?{paddingBottom:100/n+"%"}:null}))}var c=n(9467),d=n(5139),h=n(5157),f=n(4667);const p=1.7778,v=(0,c.a0)({name:"QImg",props:{...l,src:String,srcset:String,sizes:String,alt:String,crossorigin:String,decoding:String,referrerpolicy:String,draggable:Boolean,loading:{type:String,default:"lazy"},loadingShowDelay:{type:[Number,String],default:0},fetchpriority:{type:String,default:"auto"},width:String,height:String,initialRatio:{type:[Number,String],default:p},placeholderSrc:String,errorSrc:String,fit:{type:String,default:"cover"},position:{type:String,default:"50% 50%"},imgClass:String,imgStyle:Object,noSpinner:Boolean,noNativeMenu:Boolean,noTransition:Boolean,spinnerColor:String,spinnerSize:String},emits:["load","error"],setup(e,{slots:t,emit:n}){const l=(0,r.KR)(e.initialRatio),c=u(e,l),p=(0,i.nI)(),{registerTimeout:v,removeTimeout:g}=(0,f.A)(),{registerTimeout:m,removeTimeout:y}=(0,f.A)(),_=(0,i.EW)((()=>void 0!==e.placeholderSrc?{src:e.placeholderSrc}:null)),b=(0,i.EW)((()=>void 0!==e.errorSrc?{src:e.errorSrc,__qerror:!0}:null)),x=[(0,r.KR)(null),(0,r.KR)(_.value)],w=(0,r.KR)(0),S=(0,r.KR)(!1),k=(0,r.KR)(!1),C=(0,i.EW)((()=>`q-img q-img--${!0===e.noNativeMenu?"no-":""}menu`)),A=(0,i.EW)((()=>({width:e.width,height:e.height}))),T=(0,i.EW)((()=>"q-img__image "+(void 0!==e.imgClass?e.imgClass+" ":"")+`q-img__image--with${!0===e.noTransition?"out":""}-transition q-img__image--`)),E=(0,i.EW)((()=>({...e.imgStyle,objectFit:e.fit,objectPosition:e.position})));function M(){y(),0!==e.loadingShowDelay?m((()=>{S.value=!0}),e.loadingShowDelay):S.value=!0}function I(){y(),S.value=!1}function D({target:e}){!1===(0,h.rU)(p)&&(g(),l.value=0===e.naturalHeight?.5:e.naturalWidth/e.naturalHeight,R(e,1))}function R(e,t){1e3!==t&&!0!==(0,h.rU)(p)&&(!0===e.complete?L(e):v((()=>{R(e,t+1)}),50))}function L(e){!0!==(0,h.rU)(p)&&(w.value=1^w.value,x[w.value].value=null,I(),"true"!==e.getAttribute("__qerror")&&(k.value=!1),n("load",e.currentSrc||e.src))}function O(e){g(),I(),k.value=!0,x[w.value].value=b.value,x[1^w.value].value=_.value,n("error",e)}function P(t){const n=x[t].value,r={key:"img_"+t,class:T.value,style:E.value,alt:e.alt,crossorigin:e.crossorigin,decoding:e.decoding,referrerpolicy:e.referrerpolicy,height:e.height,width:e.width,loading:e.loading,fetchpriority:e.fetchpriority,"aria-hidden":"true",draggable:e.draggable,...n};return w.value===t?Object.assign(r,{class:r.class+"current",onLoad:D,onError:O}):r.class+="loaded",(0,i.h)("div",{class:"q-img__container absolute-full",key:"img"+t},(0,i.h)("img",r))}function z(){return!1===S.value?(0,i.h)("div",{key:"content",class:"q-img__content absolute-full q-anchor--skip"},(0,d.zm)(t[!0===k.value?"error":"default"])):(0,i.h)("div",{key:"loading",class:"q-img__loading absolute-full flex flex-center"},void 0!==t.loading?t.loading():!0===e.noSpinner?void 0:[(0,i.h)(a.A,{color:e.spinnerColor,size:e.spinnerSize})])}{function B(){(0,i.wB)((()=>e.src||e.srcset||e.sizes?{src:e.src,srcset:e.srcset,sizes:e.sizes}:null),(e=>{g(),k.value=!1,null===e?(I(),x[1^w.value].value=_.value):M(),x[w.value].value=e}),{immediate:!0})}!0===s.ot.value?(0,i.sV)(B):B()}return()=>{const t=[];return null!==c.value&&t.push((0,i.h)("div",{key:"filler",style:c.value})),null!==x[0].value&&t.push(P(0)),null!==x[1].value&&t.push(P(1)),t.push((0,i.h)(o.eB,{name:"q-transition--fade"},z)),(0,i.h)("div",{key:"main",class:C.value,style:A.value,role:"img","aria-label":e.alt},t)}}})},9270:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(1758),i=n(8734),o=n(7076),a=n(2906);const s={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},l={"#":{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:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},u=Object.keys(l);u.forEach((e=>{l[e].regex=new RegExp(l[e].pattern)}));const c=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+u.join("")+"])|(.)","g"),d=/[.*+?^${}()|[\]\\]/g,h=String.fromCharCode(1),f={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function p(e,t,n,o){let u,f,p,v,g,m;const y=(0,i.KR)(null),_=(0,i.KR)(x());function b(){return!0===e.autogrow||["textarea","text","search","url","tel","password"].includes(e.type)}function x(){if(S(),!0===y.value){const t=M(D(e.modelValue));return!1!==e.fillMask?R(t):t}return e.modelValue}function w(e){if(e<u.length)return u.slice(-e);let t="",n=u;const r=n.indexOf(h);if(-1!==r){for(let r=e-n.length;r>0;r--)t+=h;n=n.slice(0,r)+t+n.slice(r)}return n}function S(){if(y.value=void 0!==e.mask&&0!==e.mask.length&&b(),!1===y.value)return v=void 0,u="",void(f="");const t=void 0===s[e.mask]?e.mask:s[e.mask],n="string"===typeof e.fillMask&&0!==e.fillMask.length?e.fillMask.slice(0,1):"_",r=n.replace(d,"\\$&"),i=[],o=[],a=[];let g=!0===e.reverseFillMask,m="",_="";t.replace(c,((e,t,n,r,s)=>{if(void 0!==r){const e=l[r];a.push(e),_=e.negate,!0===g&&(o.push("(?:"+_+"+)?("+e.pattern+"+)?(?:"+_+"+)?("+e.pattern+"+)?"),g=!1),o.push("(?:"+_+"+)?("+e.pattern+")?")}else if(void 0!==n)m="\\"+("\\"===n?"":n),a.push(n),i.push("([^"+m+"]+)?"+m+"?");else{const e=void 0!==t?t:s;m="\\"===e?"\\\\\\\\":e.replace(d,"\\\\$&"),a.push(e),i.push("([^"+m+"]+)?"+m+"?")}}));const x=new RegExp("^"+i.join("")+"("+(""===m?".":"[^"+m+"]")+"+)?"+(""===m?"":"["+m+"]*")+"$"),w=o.length-1,S=o.map(((t,n)=>0===n&&!0===e.reverseFillMask?new RegExp("^"+r+"*"+t):n===w?new RegExp("^"+t+"("+(""===_?".":_)+"+)?"+(!0===e.reverseFillMask?"$":r+"*")):new RegExp("^"+t)));p=a,v=t=>{const n=x.exec(!0===e.reverseFillMask?t:t.slice(0,a.length+1));null!==n&&(t=n.slice(1).join(""));const r=[],i=S.length;for(let e=0,o=t;e<i;e++){const t=S[e].exec(o);if(null===t)break;o=o.slice(t.shift().length),r.push(...t)}return 0!==r.length?r.join(""):t},u=a.map((e=>"string"===typeof e?e:h)).join(""),f=u.split(h).join(n)}function k(t,i,a){const s=o.value,l=s.selectionEnd,c=s.value.length-l,d=D(t);!0===i&&S();const p=M(d),v=!1!==e.fillMask?R(p):p,m=_.value!==v;s.value!==v&&(s.value=v),!0===m&&(_.value=v),document.activeElement===s&&(0,r.dY)((()=>{if(v!==f)if("insertFromPaste"!==a||!0===e.reverseFillMask)if(-1===["deleteContentBackward","deleteContentForward"].indexOf(a))if(!0===e.reverseFillMask)if(!0===m){const e=Math.max(0,v.length-(v===f?0:Math.min(p.length,c+1)));1===e&&1===l?s.setSelectionRange(e,e,"forward"):A.rightReverse(s,e)}else{const e=v.length-c;s.setSelectionRange(e,e,"backward")}else if(!0===m){const e=Math.max(0,u.indexOf(h),Math.min(p.length,l)-1);A.right(s,e)}else{const e=l-1;A.right(s,e)}else{const t=!0===e.reverseFillMask?0===l?v.length>p.length?1:0:Math.max(0,v.length-(v===f?0:Math.min(p.length,c)+1))+1:l;s.setSelectionRange(t,t,"forward")}else{const e=s.selectionEnd;let t=l-1;for(let n=g;n<=t&&n<e;n++)u[n]!==h&&t++;A.right(s,t)}else{const t=!0===e.reverseFillMask?f.length:0;s.setSelectionRange(t,t,"forward")}}));const y=!0===e.unmaskedValue?D(v):v;String(e.modelValue)===y||null===e.modelValue&&""===y||n(y,!0)}function C(e,t,n){const r=M(D(e.value));t=Math.max(0,u.indexOf(h),Math.min(r.length,t)),g=t,e.setSelectionRange(t,n,"forward")}(0,r.wB)((()=>e.type+e.autogrow),S),(0,r.wB)((()=>e.mask),(n=>{if(void 0!==n)k(_.value,!0);else{const n=D(_.value);S(),e.modelValue!==n&&t("update:modelValue",n)}})),(0,r.wB)((()=>e.fillMask+e.reverseFillMask),(()=>{!0===y.value&&k(_.value,!0)})),(0,r.wB)((()=>e.unmaskedValue),(()=>{!0===y.value&&k(_.value)}));const A={left(e,t){const n=-1===u.slice(t-1).indexOf(h);let r=Math.max(0,t-1);for(;r>=0;r--)if(u[r]===h){t=r,!0===n&&t++;break}if(r<0&&void 0!==u[t]&&u[t]!==h)return A.right(e,0);t>=0&&e.setSelectionRange(t,t,"backward")},right(e,t){const n=e.value.length;let r=Math.min(n,t+1);for(;r<=n;r++){if(u[r]===h){t=r;break}u[r-1]===h&&(t=r)}if(r>n&&void 0!==u[t-1]&&u[t-1]!==h)return A.left(e,n);e.setSelectionRange(t,t,"forward")},leftReverse(e,t){const n=w(e.value.length);let r=Math.max(0,t-1);for(;r>=0;r--){if(n[r-1]===h){t=r;break}if(n[r]===h&&(t=r,0===r))break}if(r<0&&void 0!==n[t]&&n[t]!==h)return A.rightReverse(e,0);t>=0&&e.setSelectionRange(t,t,"backward")},rightReverse(e,t){const n=e.value.length,r=w(n),i=-1===r.slice(0,t+1).indexOf(h);let o=Math.min(n,t+1);for(;o<=n;o++)if(r[o-1]===h){t=o,t>0&&!0===i&&t--;break}if(o>n&&void 0!==r[t-1]&&r[t-1]!==h)return A.leftReverse(e,n);e.setSelectionRange(t,t,"forward")}};function T(e){t("click",e),m=void 0}function E(n){if(t("keydown",n),!0===(0,a.JL)(n)||!0===n.altKey)return;const r=o.value,i=r.selectionStart,s=r.selectionEnd;if(n.shiftKey||(m=void 0),37===n.keyCode||39===n.keyCode){n.shiftKey&&void 0===m&&(m="forward"===r.selectionDirection?i:s);const t=A[(39===n.keyCode?"right":"left")+(!0===e.reverseFillMask?"Reverse":"")];if(n.preventDefault(),t(r,m===i?s:i),n.shiftKey){const e=r.selectionStart;r.setSelectionRange(Math.min(m,e),Math.max(m,e),"forward")}}else 8===n.keyCode&&!0!==e.reverseFillMask&&i===s?(A.left(r,i),r.setSelectionRange(r.selectionStart,s,"backward")):46===n.keyCode&&!0===e.reverseFillMask&&i===s&&(A.rightReverse(r,s),r.setSelectionRange(i,r.selectionEnd,"forward"))}function M(t){if(void 0===t||null===t||""===t)return"";if(!0===e.reverseFillMask)return I(t);const n=p;let r=0,i="";for(let e=0;e<n.length;e++){const o=t[r],a=n[e];if("string"===typeof a)i+=a,o===a&&r++;else{if(void 0===o||!a.regex.test(o))return i;i+=void 0!==a.transform?a.transform(o):o,r++}}return i}function I(e){const t=p,n=u.indexOf(h);let r=e.length-1,i="";for(let o=t.length-1;o>=0&&-1!==r;o--){const a=t[o];let s=e[r];if("string"===typeof a)i=a+i,s===a&&r--;else{if(void 0===s||!a.regex.test(s))return i;do{i=(void 0!==a.transform?a.transform(s):s)+i,r--,s=e[r]}while(n===o&&void 0!==s&&a.regex.test(s))}}return i}function D(e){return"string"!==typeof e||void 0===v?"number"===typeof e?v(""+e):e:v(e)}function R(t){return f.length-t.length<=0?t:!0===e.reverseFillMask&&0!==t.length?f.slice(0,-t.length)+t:t+f.slice(t.length)}return{innerValue:_,hasMask:y,moveCursorForPaste:C,updateMaskValue:k,onMaskedKeydown:E,onMaskedClick:T}}var v=n(2510);function g(e,t){function n(){const t=e.modelValue;try{const e="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(t)===t&&("length"in t?Array.from(t):[t]).forEach((t=>{e.items.add(t)})),{files:e.files}}catch(n){return{files:void 0}}}return!0===t?(0,r.EW)((()=>{if("file"===e.type)return n()})):(0,r.EW)(n)}var m=n(2342),y=n(9467),_=n(2500),b=n(8983),x=n(2453);const w=(0,y.a0)({name:"QInput",inheritAttrs:!1,props:{...o.OJ,...f,...v.Sc,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...o.mU,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:a}=(0,r.nI)(),{$q:s}=a,l={};let u,c,d,h=NaN,f=null;const y=(0,i.KR)(null),w=(0,v.M4)(e),{innerValue:S,hasMask:k,moveCursorForPaste:C,updateMaskValue:A,onMaskedKeydown:T,onMaskedClick:E}=p(e,t,G,y),M=g(e,!0),I=(0,r.EW)((()=>(0,o.o9)(S.value))),D=(0,m.A)(q),R=(0,o.$7)({changeEvent:!0}),L=(0,r.EW)((()=>"textarea"===e.type||!0===e.autogrow)),O=(0,r.EW)((()=>!0===L.value||["text","search","url","tel","password"].includes(e.type))),P=(0,r.EW)((()=>{const t={...R.splitAttrs.listeners.value,onInput:q,onPaste:F,onChange:H,onBlur:j,onFocus:_.ds};return t.onCompositionstart=t.onCompositionupdate=t.onCompositionend=D,!0===k.value&&(t.onKeydown=T,t.onClick=E),!0===e.autogrow&&(t.onAnimationend=W),t})),z=(0,r.EW)((()=>{const t={tabindex:0,"data-autofocus":!0===e.autofocus||void 0,rows:"textarea"===e.type?6:void 0,"aria-label":e.label,name:w.value,...R.splitAttrs.attributes.value,id:R.targetUid.value,maxlength:e.maxlength,disabled:!0===e.disable,readonly:!0===e.readonly};return!1===L.value&&(t.type=e.type),!0===e.autogrow&&(t.rows=1),t}));function B(){(0,b.Gy)((()=>{const e=document.activeElement;null===y.value||y.value===e||null!==e&&e.id===R.targetUid.value||y.value.focus({preventScroll:!0})}))}function N(){null!==y.value&&y.value.select()}function F(n){if(!0===k.value&&!0!==e.reverseFillMask){const e=n.target;C(e,e.selectionStart,e.selectionEnd)}t("paste",n)}function q(n){if(!n||!n.target)return;if("file"===e.type)return void t("update:modelValue",n.target.files);const i=n.target.value;if(!0!==n.target.qComposing){if(!0===k.value)A(i,!1,n.inputType);else if(G(i),!0===O.value&&n.target===document.activeElement){const{selectionStart:e,selectionEnd:t}=n.target;void 0!==e&&void 0!==t&&(0,r.dY)((()=>{n.target===document.activeElement&&0===i.indexOf(n.target.value)&&n.target.setSelectionRange(e,t)}))}!0===e.autogrow&&V()}else l.value=i}function W(e){t("animationend",e),V()}function G(n,i){d=()=>{f=null,"number"!==e.type&&!0===l.hasOwnProperty("value")&&delete l.value,e.modelValue!==n&&h!==n&&(h=n,!0===i&&(c=!0),t("update:modelValue",n),(0,r.dY)((()=>{h===n&&(h=NaN)}))),d=void 0},"number"===e.type&&(u=!0,l.value=n),void 0!==e.debounce?(null!==f&&clearTimeout(f),l.value=n,f=setTimeout(d,e.debounce)):d()}function V(){requestAnimationFrame((()=>{const e=y.value;if(null!==e){const t=e.parentNode.style,{scrollTop:n}=e,{overflowY:r,maxHeight:i}=!0===s.platform.is.firefox?{}:window.getComputedStyle(e),o=void 0!==r&&"scroll"!==r;!0===o&&(e.style.overflowY="hidden"),t.marginBottom=e.scrollHeight-1+"px",e.style.height="1px",e.style.height=e.scrollHeight+"px",!0===o&&(e.style.overflowY=parseInt(i,10)<e.scrollHeight?"auto":"hidden"),t.marginBottom="",e.scrollTop=n}}))}function H(e){D(e),null!==f&&(clearTimeout(f),f=null),void 0!==d&&d(),t("change",e.target.value)}function j(t){void 0!==t&&(0,_.ds)(t),null!==f&&(clearTimeout(f),f=null),void 0!==d&&d(),u=!1,c=!1,delete l.value,"file"!==e.type&&setTimeout((()=>{null!==y.value&&(y.value.value=void 0!==S.value?S.value:"")}))}function $(){return!0===l.hasOwnProperty("value")?l.value:void 0!==S.value?S.value:""}(0,r.wB)((()=>e.type),(()=>{y.value&&(y.value.value=e.modelValue)})),(0,r.wB)((()=>e.modelValue),(t=>{if(!0===k.value){if(!0===c&&(c=!1,String(t)===h))return;A(t)}else S.value!==t&&(S.value=t,"number"===e.type&&!0===l.hasOwnProperty("value")&&(!0===u?u=!1:delete l.value));!0===e.autogrow&&(0,r.dY)(V)})),(0,r.wB)((()=>e.autogrow),(e=>{!0===e?(0,r.dY)(V):null!==y.value&&n.rows>0&&(y.value.style.height="auto")})),(0,r.wB)((()=>e.dense),(()=>{!0===e.autogrow&&(0,r.dY)(V)})),(0,r.xo)((()=>{j()})),(0,r.sV)((()=>{!0===e.autogrow&&V()})),Object.assign(R,{innerValue:S,fieldClass:(0,r.EW)((()=>"q-"+(!0===L.value?"textarea":"input")+(!0===e.autogrow?" q-textarea--autogrow":""))),hasShadow:(0,r.EW)((()=>"file"!==e.type&&"string"===typeof e.shadowText&&0!==e.shadowText.length)),inputRef:y,emitValue:G,hasValue:I,floatingLabel:(0,r.EW)((()=>!0===I.value&&("number"!==e.type||!1===isNaN(S.value))||(0,o.o9)(e.displayValue))),getControl:()=>(0,r.h)(!0===L.value?"textarea":"input",{ref:y,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...z.value,...P.value,..."file"!==e.type?{value:$()}:M.value}),getShadowControl:()=>(0,r.h)("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===L.value?"":" text-no-wrap")},[(0,r.h)("span",{class:"invisible"},$()),(0,r.h)("span",e.shadowText)])});const U=(0,o.Ay)(R);return Object.assign(a,{focus:B,select:N,getNativeElement:()=>y.value}),(0,x.$)(a,"nativeEl",(()=>y.value)),U}})},124:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(1758),i=n(8734),o=n(6372),a=n(7502),s=n(9467),l=n(5139),u=n(2500),c=n(2906);const d=(0,s.a0)({name:"QItem",props:{...o.C,...a.Ji,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:s}}=(0,r.nI)(),d=(0,o.A)(e,s),{hasLink:h,linkAttrs:f,linkClass:p,linkTag:v,navigateOnClick:g}=(0,a.Ay)(),m=(0,i.KR)(null),y=(0,i.KR)(null),_=(0,r.EW)((()=>!0===e.clickable||!0===h.value||"label"===e.tag)),b=(0,r.EW)((()=>!0!==e.disable&&!0===_.value)),x=(0,r.EW)((()=>"q-item q-item-type row no-wrap"+(!0===e.dense?" q-item--dense":"")+(!0===d.value?" q-item--dark":"")+(!0===h.value&&null===e.active?p.value:!0===e.active?" q-item--active"+(void 0!==e.activeClass?` ${e.activeClass}`:""):"")+(!0===e.disable?" disabled":"")+(!0===b.value?" q-item--clickable q-link cursor-pointer "+(!0===e.manualFocus?"q-manual-focusable":"q-focusable q-hoverable")+(!0===e.focused?" q-manual-focusable--focused":""):""))),w=(0,r.EW)((()=>{if(void 0===e.insetLevel)return null;const t=!0===s.lang.rtl?"Right":"Left";return{["padding"+t]:16+56*e.insetLevel+"px"}}));function S(e){!0===b.value&&(null!==y.value&&(!0!==e.qKeyEvent&&document.activeElement===m.value?y.value.focus():document.activeElement===y.value&&m.value.focus()),g(e))}function k(e){if(!0===b.value&&!0===(0,c.Dv)(e,[13,32])){(0,u.Gu)(e),e.qKeyEvent=!0;const t=new MouseEvent("click",e);t.qKeyEvent=!0,m.value.dispatchEvent(t)}n("keyup",e)}function C(){const e=(0,l.Ij)(t.default,[]);return!0===b.value&&e.unshift((0,r.h)("div",{class:"q-focus-helper",tabindex:-1,ref:y})),e}return()=>{const t={ref:m,class:x.value,style:w.value,role:"listitem",onClick:S,onKeyup:k};return!0===b.value?(t.tabindex=e.tabindex||"0",Object.assign(t,f.value)):!0===_.value&&(t["aria-disabled"]="true"),(0,r.h)(v.value,t,C())}}})},3796:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1758),i=n(9467),o=n(5139);const a=(0,i.a0)({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=(0,r.EW)((()=>parseInt(e.lines,10))),i=(0,r.EW)((()=>"q-item__label"+(!0===e.overline?" q-item__label--overline text-overline":"")+(!0===e.caption?" q-item__label--caption text-caption":"")+(!0===e.header?" q-item__label--header":"")+(1===n.value?" ellipsis":""))),a=(0,r.EW)((()=>void 0!==e.lines&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null));return()=>(0,r.h)("div",{style:a.value,class:i.value},(0,o.zm)(t.default))}})},5173:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1758),i=n(9467),o=n(5139);const a=(0,i.a0)({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=(0,r.EW)((()=>"q-item__section column q-item__section--"+(!0===e.avatar||!0===e.side||!0===e.thumbnail?"side":"main")+(!0===e.top?" q-item__section--top justify-start":" justify-center")+(!0===e.avatar?" q-item__section--avatar":"")+(!0===e.thumbnail?" q-item__section--thumbnail":"")+(!0===e.noWrap?" q-item__section--nowrap":"")));return()=>(0,r.h)("div",{class:n.value},(0,o.zm)(t.default))}})},2008:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(1758),i=n(8734),o=n(1597),a=n(3163),s=n(1096),l=n(9467),u=n(8336),c=n(5139),d=n(7973);const h=(0,l.a0)({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:t,emit:n}){const{proxy:{$q:l}}=(0,r.nI)(),h=(0,i.KR)(null),f=(0,i.KR)(l.screen.height),p=(0,i.KR)(!0===e.container?0:l.screen.width),v=(0,i.KR)({position:0,direction:"down",inflectionPoint:0}),g=(0,i.KR)(0),m=(0,i.KR)(!0===o.ot.value?0:(0,u.XJ)()),y=(0,r.EW)((()=>"q-layout q-layout--"+(!0===e.container?"containerized":"standard"))),_=(0,r.EW)((()=>!1===e.container?{minHeight:l.screen.height+"px"}:null)),b=(0,r.EW)((()=>0!==m.value?{[!0===l.lang.rtl?"left":"right"]:`${m.value}px`}:null)),x=(0,r.EW)((()=>0!==m.value?{[!0===l.lang.rtl?"right":"left"]:0,[!0===l.lang.rtl?"left":"right"]:`-${m.value}px`,width:`calc(100% + ${m.value}px)`}:null));function w(t){if(!0===e.container||!0!==document.qScrollPrevented){const r={position:t.position.top,direction:t.direction,directionChanged:t.directionChanged,inflectionPoint:t.inflectionPoint.top,delta:t.delta.top};v.value=r,void 0!==e.onScroll&&n("scroll",r)}}function S(t){const{height:r,width:i}=t;let o=!1;f.value!==r&&(o=!0,f.value=r,void 0!==e.onScrollHeight&&n("scrollHeight",r),C()),p.value!==i&&(o=!0,p.value=i),!0===o&&void 0!==e.onResize&&n("resize",t)}function k({height:e}){g.value!==e&&(g.value=e,C())}function C(){if(!0===e.container){const e=f.value>g.value?(0,u.XJ)():0;m.value!==e&&(m.value=e)}}let A=null;const T={instances:{},view:(0,r.EW)((()=>e.view)),isContainer:(0,r.EW)((()=>e.container)),rootRef:h,height:f,containerHeight:g,scrollbarWidth:m,totalWidth:(0,r.EW)((()=>p.value+m.value)),rows:(0,r.EW)((()=>{const t=e.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}})),header:(0,i.Kh)({size:0,offset:0,space:!1}),right:(0,i.Kh)({size:300,offset:0,space:!1}),footer:(0,i.Kh)({size:0,offset:0,space:!1}),left:(0,i.Kh)({size:300,offset:0,space:!1}),scroll:v,animate(){null!==A?clearTimeout(A):document.body.classList.add("q-body--layout-animate"),A=setTimeout((()=>{A=null,document.body.classList.remove("q-body--layout-animate")}),155)},update(e,t,n){T[e][t]=n}};if((0,r.Gt)(d.ON,T),(0,u.XJ)()>0){let E=null;const M=document.body;function I(){E=null,M.classList.remove("hide-scrollbar")}function D(){if(null===E){if(M.scrollHeight>l.screen.height)return;M.classList.add("hide-scrollbar")}else clearTimeout(E);E=setTimeout(I,300)}function R(e){null!==E&&"remove"===e&&(clearTimeout(E),I()),window[`${e}EventListener`]("resize",D)}(0,r.wB)((()=>!0!==e.container?"add":"remove"),R),!0!==e.container&&R("add"),(0,r.hi)((()=>{R("remove")}))}return()=>{const n=(0,c.Hp)(t.default,[(0,r.h)(a.A,{onScroll:w}),(0,r.h)(s.A,{onResize:S})]),i=(0,r.h)("div",{class:y.value,style:_.value,ref:!0===e.container?void 0:h,tabindex:-1},n);return!0===e.container?(0,r.h)("div",{class:"q-layout-container overflow-hidden",ref:h},[(0,r.h)(s.A,{onResize:k}),(0,r.h)("div",{class:"absolute-full",style:b.value},[(0,r.h)("div",{class:"scroll",style:x.value},[i])])]):i}}})},7716:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1758),i=n(9467),o=n(5139),a=n(7973);const s=(0,i.a0)({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,r.nI)(),i=(0,r.WQ)(a.ON,a.U_);if(i===a.U_)return console.error("QPage needs to be a deep child of QLayout"),a.U_;const s=(0,r.WQ)(a.YR,a.U_);if(s===a.U_)return console.error("QPage needs to be child of QPageContainer"),a.U_;const l=(0,r.EW)((()=>{const t=(!0===i.header.space?i.header.size:0)+(!0===i.footer.space?i.footer.size:0);if("function"===typeof e.styleFn){const r=!0===i.isContainer.value?i.containerHeight.value:n.screen.height;return e.styleFn(t,r)}return{minHeight:!0===i.isContainer.value?i.containerHeight.value-t+"px":0===n.screen.height?0!==t?`calc(100vh - ${t}px)`:"100vh":n.screen.height-t+"px"}})),u=(0,r.EW)((()=>"q-page"+(!0===e.padding?" q-layout-padding":"")));return()=>(0,r.h)("main",{class:u.value,style:l.value},(0,o.zm)(t.default))}})},5205:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1758),i=n(9467),o=n(5139),a=n(7973);const s=(0,i.a0)({name:"QPageContainer",setup(e,{slots:t}){const{proxy:{$q:n}}=(0,r.nI)(),i=(0,r.WQ)(a.ON,a.U_);if(i===a.U_)return console.error("QPageContainer needs to be child of QLayout"),a.U_;(0,r.Gt)(a.YR,!0);const s=(0,r.EW)((()=>{const e={};return!0===i.header.space&&(e.paddingTop=`${i.header.size}px`),!0===i.right.space&&(e["padding"+(!0===n.lang.rtl?"Left":"Right")]=`${i.right.size}px`),!0===i.footer.space&&(e.paddingBottom=`${i.footer.size}px`),!0===i.left.space&&(e["padding"+(!0===n.lang.rtl?"Right":"Left")]=`${i.left.size}px`),e}));return()=>(0,r.h)("div",{class:"q-page-container",style:s.value},(0,o.zm)(t.default))}})},1096:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(1758),i=n(8734),o=n(1597);function a(){const e=(0,i.KR)(!o.ot.value);return!1===e.value&&(0,r.sV)((()=>{e.value=!0})),{isHydrated:e}}var s=n(9467),l=n(2500);const u="undefined"!==typeof ResizeObserver,c=!0===u?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},d=(0,s.a0)({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let n,i=null,o={width:-1,height:-1};function s(t){!0===t||0===e.debounce||"0"===e.debounce?d():null===i&&(i=setTimeout(d,e.debounce))}function d(){if(null!==i&&(clearTimeout(i),i=null),n){const{offsetWidth:e,offsetHeight:r}=n;e===o.width&&r===o.height||(o={width:e,height:r},t("resize",o))}}const{proxy:h}=(0,r.nI)();if(h.trigger=s,!0===u){let f;const p=e=>{n=h.$el.parentNode,n?(f=new ResizeObserver(s),f.observe(n),d()):!0!==e&&(0,r.dY)((()=>{p(!0)}))};return(0,r.sV)((()=>{p()})),(0,r.xo)((()=>{null!==i&&clearTimeout(i),void 0!==f&&(void 0!==f.disconnect?f.disconnect():n&&f.unobserve(n))})),l.lQ}{const{isHydrated:v}=a();let g;function m(){null!==i&&(clearTimeout(i),i=null),void 0!==g&&(void 0!==g.removeEventListener&&g.removeEventListener("resize",s,l.mG.passive),g=void 0)}function y(){m(),n&&n.contentDocument&&(g=n.contentDocument.defaultView,g.addEventListener("resize",s,l.mG.passive),d())}return(0,r.sV)((()=>{(0,r.dY)((()=>{n=h.$el,n&&y()}))})),(0,r.xo)(m),()=>{if(!0===v.value)return(0,r.h)("object",{class:"q--avoid-card-border",style:c.style,tabindex:-1,type:"text/html",data:c.url,"aria-hidden":"true",onLoad:y})}}}})},8958:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(8734),i=n(1758),o=n(6372),a=n(9467);const s=(0,a.a0)({props:["store","barStyle","verticalBarStyle","horizontalBarStyle"],setup(e){return()=>[(0,i.h)("div",{class:e.store.scroll.vertical.barClass.value,style:[e.barStyle,e.verticalBarStyle],"aria-hidden":"true",onMousedown:e.store.onVerticalMousedown}),(0,i.h)("div",{class:e.store.scroll.horizontal.barClass.value,style:[e.barStyle,e.horizontalBarStyle],"aria-hidden":"true",onMousedown:e.store.onHorizontalMousedown}),(0,i.bo)((0,i.h)("div",{ref:e.store.scroll.vertical.ref,class:e.store.scroll.vertical.thumbClass.value,style:e.store.scroll.vertical.style.value,"aria-hidden":"true"}),e.store.thumbVertDir),(0,i.bo)((0,i.h)("div",{ref:e.store.scroll.horizontal.ref,class:e.store.scroll.horizontal.thumbClass.value,style:e.store.scroll.horizontal.style.value,"aria-hidden":"true"}),e.store.thumbHorizDir)]}});var l=n(1096),u=n(3163),c=n(9815),d=n(2732),h=n(8336),f=n(5139),p=n(3500);const v=["vertical","horizontal"],g={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}},m={prevent:!0,mouse:!0,mouseAllDir:!0},y=e=>e>=250?50:Math.ceil(e/5),_=(0,a.a0)({name:"QScrollArea",props:{...o.C,thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],verticalOffset:{type:Array,default:[0,0]},horizontalOffset:{type:Array,default:[0,0]},contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},tabindex:[String,Number],onScroll:Function},setup(e,{slots:t,emit:n}){const a=(0,r.KR)(!1),_=(0,r.KR)(!1),b=(0,r.KR)(!1),x={vertical:(0,r.KR)(0),horizontal:(0,r.KR)(0)},w={vertical:{ref:(0,r.KR)(null),position:(0,r.KR)(0),size:(0,r.KR)(0)},horizontal:{ref:(0,r.KR)(null),position:(0,r.KR)(0),size:(0,r.KR)(0)}},{proxy:S}=(0,i.nI)(),k=(0,o.A)(e,S.$q);let C,A=null;const T=(0,r.KR)(null),E=(0,i.EW)((()=>"q-scrollarea"+(!0===k.value?" q-scrollarea--dark":"")));Object.assign(x,{verticalInner:(0,i.EW)((()=>x.vertical.value-e.verticalOffset[0]-e.verticalOffset[1])),horizontalInner:(0,i.EW)((()=>x.horizontal.value-e.horizontalOffset[0]-e.horizontalOffset[1]))}),w.vertical.percentage=(0,i.EW)((()=>{const e=w.vertical.size.value-x.vertical.value;if(e<=0)return 0;const t=(0,d.Tq)(w.vertical.position.value/e,0,1);return Math.round(1e4*t)/1e4})),w.vertical.thumbHidden=(0,i.EW)((()=>!0!==(null===e.visible?b.value:e.visible)&&!1===a.value&&!1===_.value||w.vertical.size.value<=x.vertical.value+1)),w.vertical.thumbStart=(0,i.EW)((()=>e.verticalOffset[0]+w.vertical.percentage.value*(x.verticalInner.value-w.vertical.thumbSize.value))),w.vertical.thumbSize=(0,i.EW)((()=>Math.round((0,d.Tq)(x.verticalInner.value*x.verticalInner.value/w.vertical.size.value,y(x.verticalInner.value),x.verticalInner.value)))),w.vertical.style=(0,i.EW)((()=>({...e.thumbStyle,...e.verticalThumbStyle,top:`${w.vertical.thumbStart.value}px`,height:`${w.vertical.thumbSize.value}px`,right:`${e.horizontalOffset[1]}px`}))),w.vertical.thumbClass=(0,i.EW)((()=>"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(!0===w.vertical.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),w.vertical.barClass=(0,i.EW)((()=>"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(!0===w.vertical.thumbHidden.value?" q-scrollarea__bar--invisible":""))),w.horizontal.percentage=(0,i.EW)((()=>{const e=w.horizontal.size.value-x.horizontal.value;if(e<=0)return 0;const t=(0,d.Tq)(Math.abs(w.horizontal.position.value)/e,0,1);return Math.round(1e4*t)/1e4})),w.horizontal.thumbHidden=(0,i.EW)((()=>!0!==(null===e.visible?b.value:e.visible)&&!1===a.value&&!1===_.value||w.horizontal.size.value<=x.horizontal.value+1)),w.horizontal.thumbStart=(0,i.EW)((()=>e.horizontalOffset[0]+w.horizontal.percentage.value*(x.horizontalInner.value-w.horizontal.thumbSize.value))),w.horizontal.thumbSize=(0,i.EW)((()=>Math.round((0,d.Tq)(x.horizontalInner.value*x.horizontalInner.value/w.horizontal.size.value,y(x.horizontalInner.value),x.horizontalInner.value)))),w.horizontal.style=(0,i.EW)((()=>({...e.thumbStyle,...e.horizontalThumbStyle,[!0===S.$q.lang.rtl?"right":"left"]:`${w.horizontal.thumbStart.value}px`,width:`${w.horizontal.thumbSize.value}px`,bottom:`${e.verticalOffset[1]}px`}))),w.horizontal.thumbClass=(0,i.EW)((()=>"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(!0===w.horizontal.thumbHidden.value?" q-scrollarea__thumb--invisible":""))),w.horizontal.barClass=(0,i.EW)((()=>"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(!0===w.horizontal.thumbHidden.value?" q-scrollarea__bar--invisible":"")));const M=(0,i.EW)((()=>!0===w.vertical.thumbHidden.value&&!0===w.horizontal.thumbHidden.value?e.contentStyle:e.contentActiveStyle));function I(){const e={};return v.forEach((t=>{const n=w[t];Object.assign(e,{[t+"Position"]:n.position.value,[t+"Percentage"]:n.percentage.value,[t+"Size"]:n.size.value,[t+"ContainerSize"]:x[t].value,[t+"ContainerInnerSize"]:x[t+"Inner"].value})})),e}const D=(0,p.A)((()=>{const e=I();e.ref=S,n("scroll",e)}),0);function R(e,t,n){if(!1===v.includes(e))return void console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");const r="vertical"===e?h.RZ:h.rr;r(T.value,t,n)}function L({height:e,width:t}){let n=!1;x.vertical.value!==e&&(x.vertical.value=e,n=!0),x.horizontal.value!==t&&(x.horizontal.value=t,n=!0),!0===n&&N()}function O({position:e}){let t=!1;w.vertical.position.value!==e.top&&(w.vertical.position.value=e.top,t=!0),w.horizontal.position.value!==e.left&&(w.horizontal.position.value=e.left,t=!0),!0===t&&N()}function P({height:e,width:t}){w.horizontal.size.value!==t&&(w.horizontal.size.value=t,N()),w.vertical.size.value!==e&&(w.vertical.size.value=e,N())}function z(e,t){const n=w[t];if(!0===e.isFirst){if(!0===n.thumbHidden.value)return;C=n.position.value,_.value=!0}else if(!0!==_.value)return;!0===e.isFinal&&(_.value=!1);const r=g[t],i=(n.size.value-x[t].value)/(x[t+"Inner"].value-n.thumbSize.value),o=e.distance[r.dist],a=C+(e.direction===r.dir?1:-1)*o*i;F(a,t)}function B(t,n){const r=w[n];if(!0!==r.thumbHidden.value){const i="vertical"===n?e.verticalOffset[0]:e.horizontalOffset[0],o=t[g[n].offset]-i,a=r.thumbStart.value-i;if(o<a||o>a+r.thumbSize.value){const e=o-r.thumbSize.value/2,t=(0,d.Tq)(e/(x[n+"Inner"].value-r.thumbSize.value),0,1);F(t*Math.max(0,r.size.value-x[n].value),n)}null!==r.ref.value&&r.ref.value.dispatchEvent(new MouseEvent(t.type,t))}}function N(){a.value=!0,null!==A&&clearTimeout(A),A=setTimeout((()=>{A=null,a.value=!1}),e.delay),void 0!==e.onScroll&&D()}function F(e,t){T.value[g[t].scroll]=e}let q=null;function W(){null!==q&&clearTimeout(q),q=setTimeout((()=>{q=null,b.value=!0}),S.$q.platform.is.ios?50:0)}function G(){null!==q&&(clearTimeout(q),q=null),b.value=!1}let V=null;(0,i.wB)((()=>S.$q.lang.rtl),(e=>{null!==T.value&&(0,h.rr)(T.value,Math.abs(w.horizontal.position.value)*(!0===e?-1:1))})),(0,i.Y4)((()=>{V={top:w.vertical.position.value,left:w.horizontal.position.value}})),(0,i.n)((()=>{if(null===V)return;const e=T.value;null!==e&&((0,h.rr)(e,V.left),(0,h.RZ)(e,V.top))})),(0,i.xo)(D.cancel),Object.assign(S,{getScrollTarget:()=>T.value,getScroll:I,getScrollPosition:()=>({top:w.vertical.position.value,left:w.horizontal.position.value}),getScrollPercentage:()=>({top:w.vertical.percentage.value,left:w.horizontal.percentage.value}),setScrollPosition:R,setScrollPercentage(e,t,n){R(e,t*(w[e].size.value-x[e].value)*("horizontal"===e&&!0===S.$q.lang.rtl?-1:1),n)}});const H={scroll:w,thumbVertDir:[[c.A,e=>{z(e,"vertical")},void 0,{vertical:!0,...m}]],thumbHorizDir:[[c.A,e=>{z(e,"horizontal")},void 0,{horizontal:!0,...m}]],onVerticalMousedown(e){B(e,"vertical")},onHorizontalMousedown(e){B(e,"horizontal")}};return()=>(0,i.h)("div",{class:E.value,onMouseenter:W,onMouseleave:G},[(0,i.h)("div",{ref:T,class:"q-scrollarea__container scroll relative-position fit hide-scrollbar",tabindex:void 0!==e.tabindex?e.tabindex:void 0},[(0,i.h)("div",{class:"q-scrollarea__content absolute",style:M.value},(0,f.Hp)(t.default,[(0,i.h)(l.A,{debounce:0,onResize:P})])),(0,i.h)(u.A,{axis:"both",onScroll:O})]),(0,i.h)(l.A,{debounce:0,onResize:L}),(0,i.h)(s,{store:H,barStyle:e.barStyle,verticalBarStyle:e.verticalBarStyle,horizontalBarStyle:e.horizontalBarStyle})])}})},3163:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(1758),i=n(9467),o=n(8336),a=n(2500);const{passive:s}=a.mG,l=["both","horizontal","vertical"],u=(0,i.a0)({name:"QScrollObserver",props:{axis:{type:String,validator:e=>l.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:o.cP},emits:["scroll"],setup(e,{emit:t}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let i,l,u=null;function c(){null!==u&&u();const r=Math.max(0,(0,o.fQ)(i)),a=(0,o.lS)(i),s={top:r-n.position.top,left:a-n.position.left};if("vertical"===e.axis&&0===s.top||"horizontal"===e.axis&&0===s.left)return;const l=Math.abs(s.top)>=Math.abs(s.left)?s.top<0?"up":"down":s.left<0?"left":"right";n.position={top:r,left:a},n.directionChanged=n.direction!==l,n.delta=s,!0===n.directionChanged&&(n.direction=l,n.inflectionPoint=n.position),t("scroll",{...n})}function d(){i=(0,o.hD)(l,e.scrollTarget),i.addEventListener("scroll",f,s),f(!0)}function h(){void 0!==i&&(i.removeEventListener("scroll",f,s),i=void 0)}function f(t){if(!0===t||0===e.debounce||"0"===e.debounce)c();else if(null===u){const[t,n]=e.debounce?[setTimeout(c,e.debounce),clearTimeout]:[requestAnimationFrame(c),cancelAnimationFrame];u=()=>{n(t),u=null}}}(0,r.wB)((()=>e.scrollTarget),(()=>{h(),d()}));const{proxy:p}=(0,r.nI)();return(0,r.wB)((()=>p.$q.lang.rtl),c),(0,r.sV)((()=>{l=p.$el.parentNode,d()})),(0,r.xo)((()=>{null!==u&&u(),h()})),Object.assign(p,{trigger:f,getPosition:()=>n}),a.lQ}})},9183:(e,t,n)=>{"use strict";n.d(t,{A:()=>U});var r=n(1758),i=n(8734),o=n(7076),a=n(9467);const s=(0,a.a0)({name:"QField",inheritAttrs:!1,props:{...o.OJ,tag:{type:String,default:"label"}},emits:o.mU,setup(){return(0,o.Ay)((0,o.$7)({tagProp:!0}))}});var l=n(492),u=n(9626),c=n(6372),d=n(1906),h=n(2500),f=n(5139);const p={xs:8,sm:10,md:14,lg:20,xl:24},v=(0,a.a0)({name:"QChip",props:{...c.C,...d.x_,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:i}}=(0,r.nI)(),o=(0,c.A)(e,i),a=(0,d.Ay)(e,p),s=(0,r.EW)((()=>!0===e.selected||void 0!==e.icon)),v=(0,r.EW)((()=>!0===e.selected?e.iconSelected||i.iconSet.chip.selected:e.icon)),g=(0,r.EW)((()=>e.iconRemove||i.iconSet.chip.remove)),m=(0,r.EW)((()=>!1===e.disable&&(!0===e.clickable||null!==e.selected))),y=(0,r.EW)((()=>{const t=!0===e.outline&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(!1===e.outline&&void 0!==e.color?` bg-${e.color}`:"")+(t?` text-${t} q-chip--colored`:"")+(!0===e.disable?" disabled":"")+(!0===e.dense?" q-chip--dense":"")+(!0===e.outline?" q-chip--outline":"")+(!0===e.selected?" q-chip--selected":"")+(!0===m.value?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(!0===e.square?" q-chip--square":"")+(!0===o.value?" q-chip--dark q-dark":"")})),_=(0,r.EW)((()=>{const t=!0===e.disable?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},n={...t,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||i.lang.label.remove};return{chip:t,remove:n}}));function b(e){13===e.keyCode&&x(e)}function x(t){e.disable||(n("update:selected",!e.selected),n("click",t))}function w(t){void 0!==t.keyCode&&13!==t.keyCode||((0,h.Gu)(t),!1===e.disable&&(n("update:modelValue",!1),n("remove")))}function S(){const n=[];!0===m.value&&n.push((0,r.h)("div",{class:"q-focus-helper"})),!0===s.value&&n.push((0,r.h)(l.A,{class:"q-chip__icon q-chip__icon--left",name:v.value}));const i=void 0!==e.label?[(0,r.h)("div",{class:"ellipsis"},[e.label])]:void 0;return n.push((0,r.h)("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},(0,f.bG)(t.default,i))),e.iconRight&&n.push((0,r.h)(l.A,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),!0===e.removable&&n.push((0,r.h)(l.A,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:g.value,..._.value.remove,onClick:w,onKeyup:w})),n}return()=>{if(!1===e.modelValue)return;const t={class:y.value,style:a.value};return!0===m.value&&Object.assign(t,_.value.chip,{onClick:x,onKeyup:b}),(0,f.Kf)("div",t,S(),"ripple",!1!==e.ripple&&!0!==e.disable,(()=>[[u.A,e.ripple]]))}}});var g=n(124),m=n(5173),y=n(3796),_=n(9104),b=n(3746),x=n(8842),w=n(2916),S=n(2120),k=n(454),C=n(6019),A=n(4667),T=n(5563),E=n(8336),M=n(8773),I=n(8173),D=n(7556),R=n(2257),L=n(8983),O=n(385);const P=(0,a.a0)({name:"QMenu",inheritAttrs:!1,props:{...b.d,...w.RI,...c.C,...k.d,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:O.o3},self:{type:String,validator:O.o3},offset:{type:Array,validator:O.aC},scrollTarget:E.cP,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...w.Jl,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){let a,s,l,u=null;const d=(0,r.nI)(),{proxy:p}=d,{$q:v}=p,g=(0,i.KR)(null),m=(0,i.KR)(!1),y=(0,r.EW)((()=>!0!==e.persistent&&!0!==e.noRouteDismiss)),P=(0,c.A)(e,v),{registerTick:z,removeTick:B}=(0,C.A)(),{registerTimeout:N}=(0,A.A)(),{transitionProps:F,transitionStyle:q}=(0,k.A)(e),{localScrollTarget:W,changeScrollEvent:G,unconfigureScrollTarget:V}=(0,x.A)(e,ae),{anchorEl:H,canShow:j}=(0,b.Ay)({showing:m}),{hide:$}=(0,w.Ay)({showing:m,canShow:j,handleShow:re,handleHide:ie,hideOnRouteChange:y,processOnMount:!0}),{showPortal:U,hidePortal:K,renderPortal:X}=(0,S.A)(d,g,de,"menu"),Y={anchorEl:H,innerRef:g,onClickOutside(t){if(!0!==e.persistent&&!0===m.value)return $(t),("touchstart"===t.type||t.target.classList.contains("q-dialog__backdrop"))&&(0,h.Gu)(t),!0}},Z=(0,r.EW)((()=>(0,O.rk)(e.anchor||(!0===e.cover?"center middle":"bottom start"),v.lang.rtl))),Q=(0,r.EW)((()=>!0===e.cover?Z.value:(0,O.rk)(e.self||"top start",v.lang.rtl))),J=(0,r.EW)((()=>(!0===e.square?" q-menu--square":"")+(!0===P.value?" q-menu--dark q-dark":""))),ee=(0,r.EW)((()=>!0===e.autoClose?{onClick:se}:{})),te=(0,r.EW)((()=>!0===m.value&&!0!==e.persistent));function ne(){(0,L.Gy)((()=>{let e=g.value;e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||e.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||e.querySelector("[autofocus], [data-autofocus]")||e,e.focus({preventScroll:!0}))}))}function re(t){if(u=!1===e.noRefocus?document.activeElement:null,(0,I.g)(le),U(),ae(),a=void 0,void 0!==t&&(e.touchPosition||e.contextMenu)){const e=(0,h.G1)(t);if(void 0!==e.left){const{top:t,left:n}=H.value.getBoundingClientRect();a={left:e.left-n,top:e.top-t}}}void 0===s&&(s=(0,r.wB)((()=>v.screen.width+"|"+v.screen.height+"|"+e.self+"|"+e.anchor+"|"+v.lang.rtl),ce)),!0!==e.noFocus&&document.activeElement.blur(),z((()=>{ce(),!0!==e.noFocus&&ne()})),N((()=>{!0===v.platform.is.ios&&(l=e.autoClose,g.value.click()),ce(),U(!0),n("show",t)}),e.transitionDuration)}function ie(t){B(),K(),oe(!0),null===u||void 0!==t&&!0===t.qClickOutside||(((t&&0===t.type.indexOf("key")?u.closest('[tabindex]:not([tabindex^="-"])'):void 0)||u).focus(),u=null),N((()=>{K(!0),n("hide",t)}),e.transitionDuration)}function oe(e){a=void 0,void 0!==s&&(s(),s=void 0),!0!==e&&!0!==m.value||((0,I.v)(le),V(),(0,R.e)(Y),(0,M.V)(ue)),!0!==e&&(u=null)}function ae(){null===H.value&&void 0===e.scrollTarget||(W.value=(0,E.hD)(H.value,e.scrollTarget),G(W.value,ce))}function se(e){!0!==l?((0,T.bc)(p,e),n("click",e)):l=!1}function le(t){!0===te.value&&!0!==e.noFocus&&!0!==(0,D.$J)(g.value,t.target)&&ne()}function ue(e){n("escapeKey"),$(e)}function ce(){(0,O.Kk)({targetEl:g.value,offset:e.offset,anchorEl:H.value,anchorOrigin:Z.value,selfOrigin:Q.value,absoluteOffset:a,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function de(){return(0,r.h)(_.eB,F.value,(()=>!0===m.value?(0,r.h)("div",{role:"menu",...o,ref:g,tabindex:-1,class:["q-menu q-position-engine scroll"+J.value,o.class],style:[o.style,q.value],...ee.value},(0,f.zm)(t.default)):null))}return(0,r.wB)(te,(e=>{!0===e?((0,M.I)(ue),(0,R.r)(Y)):((0,M.V)(ue),(0,R.e)(Y))})),(0,r.xo)(oe),Object.assign(p,{focus:ne,updatePosition:ce}),X}});var z=n(558),B=n(1503),N=n(2510),F=n(2342),q=n(1054),W=n(2732),G=n(2906);const V=e=>["add","add-unique","toggle"].includes(e),H=".*+?^${}()|[]\\",j=Object.keys(o.OJ);function $(e,t){if("function"===typeof e)return e;const n=void 0!==e?e:t;return e=>null!==e&&"object"===typeof e&&n in e?e[n]:e}const U=(0,a.a0)({name:"QSelect",inheritAttrs:!1,props:{...B.AV,...N.Sc,...o.OJ,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml: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,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:V},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:B.AV.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...o.mU,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:a}=(0,r.nI)(),{$q:u}=a,c=(0,i.KR)(!1),d=(0,i.KR)(!1),p=(0,i.KR)(-1),_=(0,i.KR)(""),b=(0,i.KR)(!1),x=(0,i.KR)(!1);let w,S,k,C,A,T,E,M=null,I=null,D=null;const R=(0,i.KR)(null),L=(0,i.KR)(null),O=(0,i.KR)(null),U=(0,i.KR)(null),K=(0,i.KR)(null),X=(0,N.M4)(e),Y=(0,F.A)(Ye),Z=(0,r.EW)((()=>e.options.length)),Q=(0,r.EW)((()=>void 0===e.virtualScrollItemSize?!0===e.optionsDense?24:48:e.virtualScrollItemSize)),{virtualScrollSliceRange:J,virtualScrollSliceSizeComputed:ee,localResetVirtualScroll:te,padVirtualScroll:ne,onVirtualScrollEvt:re,scrollTo:ie,setVirtualScrollSize:oe}=(0,B.Iq)({virtualScrollLength:Z,getVirtualScrollTarget:$e,getVirtualScrollEl:je,virtualScrollItemSizeComputed:Q}),ae=(0,o.$7)(),se=(0,r.EW)((()=>{const t=!0===e.mapOptions&&!0!==e.multiple,n=void 0===e.modelValue||null===e.modelValue&&!0!==t?[]:!0===e.multiple&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue];if(!0===e.mapOptions){const r=!0===e.mapOptions&&void 0!==w?w:[],i=n.map((e=>Ne(e,r)));return null===e.modelValue&&!0===t?i.filter((e=>null!==e)):i}return n})),le=(0,r.EW)((()=>{const t={};return j.forEach((n=>{const r=e[n];void 0!==r&&(t[n]=r)})),t})),ue=(0,r.EW)((()=>null===e.optionsDark?ae.isDark.value:e.optionsDark)),ce=(0,r.EW)((()=>(0,o.o9)(se.value))),de=(0,r.EW)((()=>{let t="q-field__input q-placeholder col";return!0===e.hideSelected||0===se.value.length?[t,e.inputClass]:(t+=" q-field__input--padding",void 0===e.inputClass?t:[t,e.inputClass])})),he=(0,r.EW)((()=>(!0===e.virtualScrollHorizontal?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:""))),fe=(0,r.EW)((()=>0===Z.value)),pe=(0,r.EW)((()=>se.value.map((e=>Te.value(e))).join(", "))),ve=(0,r.EW)((()=>void 0!==e.displayValue?e.displayValue:pe.value)),ge=(0,r.EW)((()=>!0===e.optionsHtml?()=>!0:e=>void 0!==e&&null!==e&&!0===e.html)),me=(0,r.EW)((()=>!0===e.displayValueHtml||void 0===e.displayValue&&(!0===e.optionsHtml||se.value.some(ge.value)))),ye=(0,r.EW)((()=>!0===ae.focused.value?e.tabindex:-1)),_e=(0,r.EW)((()=>{const t={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":!0===e.readonly?"true":"false","aria-autocomplete":!0===e.useInput?"list":"none","aria-expanded":!0===c.value?"true":"false","aria-controls":`${ae.targetUid.value}_lb`};return p.value>=0&&(t["aria-activedescendant"]=`${ae.targetUid.value}_${p.value}`),t})),be=(0,r.EW)((()=>({id:`${ae.targetUid.value}_lb`,role:"listbox","aria-multiselectable":!0===e.multiple?"true":"false"}))),xe=(0,r.EW)((()=>se.value.map(((e,t)=>({index:t,opt:e,html:ge.value(e),selected:!0,removeAtIndex:Le,toggleOption:Pe,tabindex:ye.value}))))),we=(0,r.EW)((()=>{if(0===Z.value)return[];const{from:t,to:n}=J.value;return e.options.slice(t,n).map(((n,r)=>{const i=!0===Ee.value(n),o=!0===Fe(n),a=t+r,s={clickable:!0,active:o,activeClass:Ce.value,manualFocus:!0,focused:!1,disable:i,tabindex:-1,dense:e.optionsDense,dark:ue.value,role:"option","aria-selected":!0===o?"true":"false",id:`${ae.targetUid.value}_${a}`,onClick:()=>{Pe(n)}};return!0!==i&&(p.value===a&&(s.focused=!0),!0===u.platform.is.desktop&&(s.onMousemove=()=>{!0===c.value&&ze(a)})),{index:a,opt:n,html:ge.value(n),label:Te.value(n),selected:s.active,focused:s.focused,toggleOption:Pe,setOptionIndex:ze,itemProps:s}}))})),Se=(0,r.EW)((()=>void 0!==e.dropdownIcon?e.dropdownIcon:u.iconSet.arrow.dropdown)),ke=(0,r.EW)((()=>!1===e.optionsCover&&!0!==e.outlined&&!0!==e.standout&&!0!==e.borderless&&!0!==e.rounded)),Ce=(0,r.EW)((()=>void 0!==e.optionsSelectedClass?e.optionsSelectedClass:void 0!==e.color?`text-${e.color}`:"")),Ae=(0,r.EW)((()=>$(e.optionValue,"value"))),Te=(0,r.EW)((()=>$(e.optionLabel,"label"))),Ee=(0,r.EW)((()=>$(e.optionDisable,"disable"))),Me=(0,r.EW)((()=>se.value.map(Ae.value))),Ie=(0,r.EW)((()=>{const e={onInput:Ye,onChange:Y,onKeydown:He,onKeyup:Ge,onKeypress:Ve,onFocus:qe,onClick(e){!0===S&&(0,h.ds)(e)}};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=Y,e}));function De(t){return!0===e.emitValue?Ae.value(t):t}function Re(t){if(-1!==t&&t<se.value.length)if(!0===e.multiple){const r=e.modelValue.slice();n("remove",{index:t,value:r.splice(t,1)[0]}),n("update:modelValue",r)}else n("update:modelValue",null)}function Le(e){Re(e),ae.focus()}function Oe(t,r){const i=De(t);if(!0!==e.multiple)return!0===e.fillInput&&Qe(Te.value(t),!0,!0),void n("update:modelValue",i);if(0===se.value.length)return n("add",{index:0,value:i}),void n("update:modelValue",!0===e.multiple?[i]:i);if(!0===r&&!0===Fe(t))return;if(void 0!==e.maxValues&&e.modelValue.length>=e.maxValues)return;const o=e.modelValue.slice();n("add",{index:o.length,value:i}),o.push(i),n("update:modelValue",o)}function Pe(t,r){if(!0!==ae.editable.value||void 0===t||!0===Ee.value(t))return;const i=Ae.value(t);if(!0!==e.multiple)return!0!==r&&(Qe(!0===e.fillInput?Te.value(t):"",!0,!0),dt()),null!==L.value&&L.value.focus(),void(0!==se.value.length&&!0===(0,q.Hv)(Ae.value(se.value[0]),i)||n("update:modelValue",!0===e.emitValue?i:t));if((!0!==S||!0===b.value)&&ae.focus(),qe(),0===se.value.length){const r=!0===e.emitValue?i:t;return n("add",{index:0,value:r}),void n("update:modelValue",!0===e.multiple?[r]:r)}const o=e.modelValue.slice(),a=Me.value.findIndex((e=>(0,q.Hv)(e,i)));if(-1!==a)n("remove",{index:a,value:o.splice(a,1)[0]});else{if(void 0!==e.maxValues&&o.length>=e.maxValues)return;const r=!0===e.emitValue?i:t;n("add",{index:o.length,value:r}),o.push(r)}n("update:modelValue",o)}function ze(e){if(!0!==u.platform.is.desktop)return;const t=-1!==e&&e<Z.value?e:-1;p.value!==t&&(p.value=t)}function Be(t=1,n){if(!0===c.value){let r=p.value;do{r=(0,W.eo)(r+t,-1,Z.value-1)}while(-1!==r&&r!==p.value&&!0===Ee.value(e.options[r]));p.value!==r&&(ze(r),ie(r),!0!==n&&!0===e.useInput&&!0===e.fillInput&&Ze(r>=0?Te.value(e.options[r]):C,!0))}}function Ne(t,n){const r=e=>(0,q.Hv)(Ae.value(e),t);return e.options.find(r)||n.find(r)||t}function Fe(e){const t=Ae.value(e);return void 0!==Me.value.find((e=>(0,q.Hv)(e,t)))}function qe(t){!0===e.useInput&&null!==L.value&&(void 0===t||L.value===t.target&&t.target.value===pe.value)&&L.value.select()}function We(e){!0===(0,G.Dv)(e,27)&&!0===c.value&&((0,h.ds)(e),dt(),ht()),n("keyup",e)}function Ge(t){const{value:n}=t.target;if(void 0===t.keyCode)if(t.target.value="",null!==M&&(clearTimeout(M),M=null),null!==I&&(clearTimeout(I),I=null),ht(),"string"===typeof n&&0!==n.length){const t=n.toLocaleLowerCase(),r=n=>{const r=e.options.find((e=>n.value(e).toLocaleLowerCase()===t));return void 0!==r&&(-1===se.value.indexOf(r)?Pe(r):dt(),!0)},i=e=>{!0!==r(Ae)&&!0!==r(Te)&&!0!==e&&Je(n,!0,(()=>i(!0)))};i()}else ae.clearValue(t);else We(t)}function Ve(e){n("keypress",e)}function He(t){if(n("keydown",t),!0===(0,G.JL)(t))return;const i=0!==_.value.length&&(void 0!==e.newValueMode||void 0!==e.onNewValue),o=!0!==t.shiftKey&&!0!==e.disableTabSelection&&!0!==e.multiple&&(-1!==p.value||!0===i);if(27===t.keyCode)return void(0,h.F4)(t);if(9===t.keyCode&&!1===o)return void ut();if(void 0===t.target||t.target.id!==ae.targetUid.value||!0!==ae.editable.value)return;if(40===t.keyCode&&!0!==ae.innerLoading.value&&!1===c.value)return(0,h.Gu)(t),void ct();if(8===t.keyCode&&(!0===e.useChips||!0===e.clearable)&&!0!==e.hideSelected&&0===_.value.length)return void(!0===e.multiple&&!0===Array.isArray(e.modelValue)?Re(e.modelValue.length-1):!0!==e.multiple&&null!==e.modelValue&&n("update:modelValue",null));35!==t.keyCode&&36!==t.keyCode||"string"===typeof _.value&&0!==_.value.length||((0,h.Gu)(t),p.value=-1,Be(36===t.keyCode?1:-1,e.multiple)),33!==t.keyCode&&34!==t.keyCode||void 0===ee.value||((0,h.Gu)(t),p.value=Math.max(-1,Math.min(Z.value,p.value+(33===t.keyCode?-1:1)*ee.value.view)),Be(33===t.keyCode?1:-1,e.multiple)),38!==t.keyCode&&40!==t.keyCode||((0,h.Gu)(t),Be(38===t.keyCode?-1:1,e.multiple));const a=Z.value;if((void 0===T||E<Date.now())&&(T=""),a>0&&!0!==e.useInput&&void 0!==t.key&&1===t.key.length&&!1===t.altKey&&!1===t.ctrlKey&&!1===t.metaKey&&(32!==t.keyCode||0!==T.length)){!0!==c.value&&ct(t);const n=t.key.toLocaleLowerCase(),i=1===T.length&&T[0]===n;E=Date.now()+1500,!1===i&&((0,h.Gu)(t),T+=n);const o=new RegExp("^"+T.split("").map((e=>-1!==H.indexOf(e)?"\\"+e:e)).join(".*"),"i");let s=p.value;if(!0===i||s<0||!0!==o.test(Te.value(e.options[s])))do{s=(0,W.eo)(s+1,-1,a-1)}while(s!==p.value&&(!0===Ee.value(e.options[s])||!0!==o.test(Te.value(e.options[s]))));p.value!==s&&(0,r.dY)((()=>{ze(s),ie(s),s>=0&&!0===e.useInput&&!0===e.fillInput&&Ze(Te.value(e.options[s]),!0)}))}else if(13===t.keyCode||32===t.keyCode&&!0!==e.useInput&&""===T||9===t.keyCode&&!1!==o)if(9!==t.keyCode&&(0,h.Gu)(t),-1!==p.value&&p.value<a)Pe(e.options[p.value]);else{if(!0===i){const t=(t,n)=>{if(n){if(!0!==V(n))return}else n=e.newValueMode;if(Qe("",!0!==e.multiple,!0),void 0===t||null===t)return;const r="toggle"===n?Pe:Oe;r(t,"add-unique"===n),!0!==e.multiple&&(null!==L.value&&L.value.focus(),dt())};if(void 0!==e.onNewValue?n("newValue",_.value,t):t(_.value),!0!==e.multiple)return}!0===c.value?ut():!0!==ae.innerLoading.value&&ct()}}function je(){return!0===S?K.value:null!==O.value&&null!==O.value.contentEl?O.value.contentEl:void 0}function $e(){return je()}function Ue(){return!0===e.hideSelected?[]:void 0!==t["selected-item"]?xe.value.map((e=>t["selected-item"](e))).slice():void 0!==t.selected?[].concat(t.selected()):!0===e.useChips?xe.value.map(((t,n)=>(0,r.h)(v,{key:"option-"+n,removable:!0===ae.editable.value&&!0!==Ee.value(t.opt),dense:!0,textColor:e.color,tabindex:ye.value,onRemove(){t.removeAtIndex(n)}},(()=>(0,r.h)("span",{class:"ellipsis",[!0===t.html?"innerHTML":"textContent"]:Te.value(t.opt)}))))):[(0,r.h)("span",{[!0===me.value?"innerHTML":"textContent"]:ve.value})]}function Ke(){if(!0===fe.value)return void 0!==t["no-option"]?t["no-option"]({inputValue:_.value}):void 0;const e=void 0!==t.option?t.option:e=>(0,r.h)(g.A,{key:e.index,...e.itemProps},(()=>(0,r.h)(m.A,(()=>(0,r.h)(y.A,(()=>(0,r.h)("span",{[!0===e.html?"innerHTML":"textContent"]:e.label})))))));let n=ne("div",we.value.map(e));return void 0!==t["before-options"]&&(n=t["before-options"]().concat(n)),(0,f.Hp)(t["after-options"],n)}function Xe(t,n){const i=!0===n?{..._e.value,...ae.splitAttrs.attributes.value}:void 0,o={ref:!0===n?L:void 0,key:"i_t",class:de.value,style:e.inputStyle,value:void 0!==_.value?_.value:"",type:"search",...i,id:!0===n?ae.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":!0===t||!0===e.autofocus||void 0,disabled:!0===e.disable,readonly:!0===e.readonly,...Ie.value};return!0!==t&&!0===S&&(!0===Array.isArray(o.class)?o.class=[...o.class,"no-pointer-events"]:o.class+=" no-pointer-events"),(0,r.h)("input",o)}function Ye(t){null!==M&&(clearTimeout(M),M=null),null!==I&&(clearTimeout(I),I=null),t&&t.target&&!0===t.target.qComposing||(Ze(t.target.value||""),k=!0,C=_.value,!0===ae.focused.value||!0===S&&!0!==b.value||ae.focus(),void 0!==e.onFilter&&(M=setTimeout((()=>{M=null,Je(_.value)}),e.inputDebounce)))}function Ze(t,r){_.value!==t&&(_.value=t,!0===r||0===e.inputDebounce||"0"===e.inputDebounce?n("inputValue",t):I=setTimeout((()=>{I=null,n("inputValue",t)}),e.inputDebounce))}function Qe(t,n,r){k=!0!==r,!0===e.useInput&&(Ze(t,!0),!0!==n&&!0===r||(C=t),!0!==n&&Je(t))}function Je(t,i,o){if(void 0===e.onFilter||!0!==i&&!0!==ae.focused.value)return;!0===ae.innerLoading.value?n("filterAbort"):(ae.innerLoading.value=!0,x.value=!0),""!==t&&!0!==e.multiple&&0!==se.value.length&&!0!==k&&t===Te.value(se.value[0])&&(t="");const s=setTimeout((()=>{!0===c.value&&(c.value=!1)}),10);null!==D&&clearTimeout(D),D=s,n("filter",t,((e,t)=>{!0!==i&&!0!==ae.focused.value||D!==s||(clearTimeout(D),"function"===typeof e&&e(),x.value=!1,(0,r.dY)((()=>{ae.innerLoading.value=!1,!0===ae.editable.value&&(!0===i?!0===c.value&&dt():!0===c.value?ft(!0):c.value=!0),"function"===typeof t&&(0,r.dY)((()=>{t(a)})),"function"===typeof o&&(0,r.dY)((()=>{o(a)}))})))}),(()=>{!0===ae.focused.value&&D===s&&(clearTimeout(D),ae.innerLoading.value=!1,x.value=!1),!0===c.value&&(c.value=!1)}))}function et(){return(0,r.h)(P,{ref:O,class:he.value,style:e.popupContentStyle,modelValue:c.value,fit:!0!==e.menuShrink,cover:!0===e.optionsCover&&!0!==fe.value&&!0!==e.useInput,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:ue.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:ke.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...be.value,onScrollPassive:re,onBeforeShow:gt,onBeforeHide:tt,onShow:nt},Ke)}function tt(e){mt(e),ut()}function nt(){oe()}function rt(e){(0,h.ds)(e),null!==L.value&&L.value.focus(),b.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function it(e){(0,h.ds)(e),(0,r.dY)((()=>{b.value=!1}))}function ot(){const n=[(0,r.h)(s,{class:`col-auto ${ae.fieldClass.value}`,...le.value,for:ae.targetUid.value,dark:ue.value,square:!0,loading:x.value,itemAligned:!1,filled:!0,stackLabel:0!==_.value.length,...ae.splitAttrs.listeners.value,onFocus:rt,onBlur:it},{...t,rawControl:()=>ae.getControl(!0),before:void 0,after:void 0})];return!0===c.value&&n.push((0,r.h)("div",{ref:K,class:he.value+" scroll",style:e.popupContentStyle,...be.value,onClick:h.F4,onScrollPassive:re},Ke())),(0,r.h)(z.A,{ref:U,modelValue:d.value,position:!0===e.useInput?"top":void 0,transitionShow:A,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:gt,onBeforeHide:at,onHide:st,onShow:lt},(()=>(0,r.h)("div",{class:"q-select__dialog"+(!0===ue.value?" q-select__dialog--dark q-dark":"")+(!0===b.value?" q-select__dialog--focused":"")},n)))}function at(e){mt(e),null!==U.value&&U.value.__updateRefocusTarget(ae.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),ae.focused.value=!1}function st(e){dt(),!1===ae.focused.value&&n("blur",e),ht()}function lt(){const e=document.activeElement;null!==e&&e.id===ae.targetUid.value||null===L.value||L.value===e||L.value.focus(),oe()}function ut(){!0!==d.value&&(p.value=-1,!0===c.value&&(c.value=!1),!1===ae.focused.value&&(null!==D&&(clearTimeout(D),D=null),!0===ae.innerLoading.value&&(n("filterAbort"),ae.innerLoading.value=!1,x.value=!1)))}function ct(n){!0===ae.editable.value&&(!0===S?(ae.onControlFocusin(n),d.value=!0,(0,r.dY)((()=>{ae.focus()}))):ae.focus(),void 0!==e.onFilter?Je(_.value):!0===fe.value&&void 0===t["no-option"]||(c.value=!0))}function dt(){d.value=!1,ut()}function ht(){!0===e.useInput&&Qe(!0!==e.multiple&&!0===e.fillInput&&0!==se.value.length&&Te.value(se.value[0])||"",!0,!0)}function ft(t){let n=-1;if(!0===t){if(0!==se.value.length){const t=Ae.value(se.value[0]);n=e.options.findIndex((e=>(0,q.Hv)(Ae.value(e),t)))}te(n)}ze(n)}function pt(e,t){!0===c.value&&!1===ae.innerLoading.value&&(te(-1,!0),(0,r.dY)((()=>{!0===c.value&&!1===ae.innerLoading.value&&(e>t?te():ft(!0))})))}function vt(){!1===d.value&&null!==O.value&&O.value.updatePosition()}function gt(e){void 0!==e&&(0,h.ds)(e),n("popupShow",e),ae.hasPopupOpen=!0,ae.onControlFocusin(e)}function mt(e){void 0!==e&&(0,h.ds)(e),n("popupHide",e),ae.hasPopupOpen=!1,ae.onControlFocusout(e)}function yt(){S=(!0===u.platform.is.mobile||"dialog"===e.behavior)&&("menu"!==e.behavior&&(!0!==e.useInput||(void 0!==t["no-option"]||void 0!==e.onFilter||!1===fe.value))),A=!0===u.platform.is.ios&&!0===S&&!0===e.useInput?"fade":e.transitionShow}return(0,r.wB)(se,(t=>{w=t,!0===e.useInput&&!0===e.fillInput&&!0!==e.multiple&&!0!==ae.innerLoading.value&&(!0!==d.value&&!0!==c.value||!0!==ce.value)&&(!0!==k&&ht(),!0!==d.value&&!0!==c.value||Je(""))}),{immediate:!0}),(0,r.wB)((()=>e.fillInput),ht),(0,r.wB)(c,ft),(0,r.wB)(Z,pt),(0,r.Ic)(yt),(0,r.$u)(vt),yt(),(0,r.xo)((()=>{null!==M&&clearTimeout(M),null!==I&&clearTimeout(I)})),Object.assign(a,{showPopup:ct,hidePopup:dt,removeAtIndex:Re,add:Oe,toggleOption:Pe,getOptionIndex:()=>p.value,setOptionIndex:ze,moveOptionSelection:Be,filter:Je,updateMenuPosition:vt,updateInputValue:Qe,isOptionSelected:Fe,getEmittingOptionValue:De,isOptionDisabled:(...e)=>!0===Ee.value.apply(null,e),getOptionValue:(...e)=>Ae.value.apply(null,e),getOptionLabel:(...e)=>Te.value.apply(null,e)}),Object.assign(ae,{innerValue:se,fieldClass:(0,r.EW)((()=>`q-select q-field--auto-height q-select--with${!0!==e.useInput?"out":""}-input q-select--with${!0!==e.useChips?"out":""}-chips q-select--`+(!0===e.multiple?"multiple":"single"))),inputRef:R,targetRef:L,hasValue:ce,showPopup:ct,floatingLabel:(0,r.EW)((()=>!0!==e.hideSelected&&!0===ce.value||"number"===typeof _.value||0!==_.value.length||(0,o.o9)(e.displayValue))),getControlChild:()=>{if(!1!==ae.editable.value&&(!0===d.value||!0!==fe.value||void 0!==t["no-option"]))return!0===S?ot():et();!0===ae.hasPopupOpen&&(ae.hasPopupOpen=!1)},controlEvents:{onFocusin(e){ae.onControlFocusin(e)},onFocusout(e){ae.onControlFocusout(e,(()=>{ht(),ut()}))},onClick(e){if((0,h.F4)(e),!0!==S&&!0===c.value)return ut(),void(null!==L.value&&L.value.focus());ct(e)}},getControl:t=>{const n=Ue(),i=!0===t||!0!==d.value||!0!==S;if(!0===e.useInput)n.push(Xe(t,i));else if(!0===ae.editable.value){const o=!0===i?_e.value:void 0;n.push((0,r.h)("input",{ref:!0===i?L:void 0,key:"d_t",class:"q-select__focus-target",id:!0===i?ae.targetUid.value:void 0,value:ve.value,readonly:!0,"data-autofocus":!0===t||!0===e.autofocus||void 0,...o,onKeydown:He,onKeyup:We,onKeypress:Ve})),!0===i&&"string"===typeof e.autocomplete&&0!==e.autocomplete.length&&n.push((0,r.h)("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Ge}))}if(void 0!==X.value&&!0!==e.disable&&0!==Me.value.length){const t=Me.value.map((e=>(0,r.h)("option",{value:e,selected:!0})));n.push((0,r.h)("select",{class:"hidden",name:X.value,multiple:e.multiple},t))}const o=!0===e.useInput||!0!==i?void 0:ae.splitAttrs.attributes.value;return(0,r.h)("div",{class:"q-field__native row items-center",...o,...ae.splitAttrs.listeners.value},n)},getInnerAppend:()=>!0!==e.loading&&!0!==x.value&&!0!==e.hideDropdownIcon?[(0,r.h)(l.A,{class:"q-select__dropdown-icon"+(!0===c.value?" rotate-180":""),name:Se.value})]:null}),(0,o.Ay)(ae)}})},386:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(1758),i=n(6372),o=n(9467);const a={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},s={xs:2,sm:4,md:8,lg:16,xl:24},l=(0,o.a0)({name:"QSeparator",props:{...i.C,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=(0,r.nI)(),n=(0,i.A)(e,t.proxy.$q),o=(0,r.EW)((()=>!0===e.vertical?"vertical":"horizontal")),l=(0,r.EW)((()=>` q-separator--${o.value}`)),u=(0,r.EW)((()=>!1!==e.inset?`${l.value}-${a[e.inset]}`:"")),c=(0,r.EW)((()=>`q-separator${l.value}${u.value}`+(void 0!==e.color?` bg-${e.color}`:"")+(!0===n.value?" q-separator--dark":""))),d=(0,r.EW)((()=>{const t={};if(void 0!==e.size&&(t[!0===e.vertical?"width":"height"]=e.size),!1!==e.spaced){const n=!0===e.spaced?`${s.md}px`:e.spaced in s?`${s[e.spaced]}px`:e.spaced,r=!0===e.vertical?["Left","Right"]:["Top","Bottom"];t[`margin${r[0]}`]=t[`margin${r[1]}`]=n}return t}));return()=>(0,r.h)("hr",{class:c.value,style:d.value,"aria-orientation":o.value})}})},1444:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(1758),i=n(8734),o=n(2510),a=n(9815),s=n(6372),l=n(2732),u=n(2500),c=n(1054),d=n(5139);const h="q-slider__marker-labels",f=e=>({value:e}),p=({marker:e})=>(0,r.h)("div",{key:e.value,style:e.style,class:e.classes},e.label),v=[34,37,40,33,39,38],g={...s.C,...o.Sc,min:{type:Number,default:0},max:{type:Number,default:100},innerMin:Number,innerMax:Number,step:{type:Number,default:1,validator:e=>e>=0},snap:Boolean,vertical:Boolean,reverse:Boolean,color:String,markerLabelsClass:String,label:Boolean,labelColor:String,labelTextColor:String,labelAlways:Boolean,switchLabelSide:Boolean,markers:[Boolean,Number],markerLabels:[Boolean,Array,Object,Function],switchMarkerLabelsSide:Boolean,trackImg:String,trackColor:String,innerTrackImg:String,innerTrackColor:String,selectionColor:String,selectionImg:String,thumbSize:{type:String,default:"20px"},trackSize:{type:String,default:"4px"},disable:Boolean,readonly:Boolean,dense:Boolean,tabindex:[String,Number],thumbColor:String,thumbPath:{type:String,default:"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"}},m=["pan","update:modelValue","change"];function y({updateValue:e,updatePosition:t,getDragging:n,formAttrs:g}){const{props:m,emit:y,slots:_,proxy:{$q:b}}=(0,r.nI)(),x=(0,s.A)(m,b),w=(0,o.vq)(g),S=(0,i.KR)(!1),k=(0,i.KR)(!1),C=(0,i.KR)(!1),A=(0,i.KR)(!1),T=(0,r.EW)((()=>!0===m.vertical?"--v":"--h")),E=(0,r.EW)((()=>"-"+(!0===m.switchLabelSide?"switched":"standard"))),M=(0,r.EW)((()=>!0===m.vertical?!0===m.reverse:m.reverse!==(!0===b.lang.rtl))),I=(0,r.EW)((()=>!0===isNaN(m.innerMin)||m.innerMin<m.min?m.min:m.innerMin)),D=(0,r.EW)((()=>!0===isNaN(m.innerMax)||m.innerMax>m.max?m.max:m.innerMax)),R=(0,r.EW)((()=>!0!==m.disable&&!0!==m.readonly&&I.value<D.value)),L=(0,r.EW)((()=>{if(0===m.step)return e=>e;const e=(String(m.step).trim().split(".")[1]||"").length;return t=>parseFloat(t.toFixed(e))})),O=(0,r.EW)((()=>0===m.step?1:m.step)),P=(0,r.EW)((()=>!0===R.value?m.tabindex||0:-1)),z=(0,r.EW)((()=>m.max-m.min)),B=(0,r.EW)((()=>D.value-I.value)),N=(0,r.EW)((()=>ae(I.value))),F=(0,r.EW)((()=>ae(D.value))),q=(0,r.EW)((()=>!0===m.vertical?!0===M.value?"bottom":"top":!0===M.value?"right":"left")),W=(0,r.EW)((()=>!0===m.vertical?"height":"width")),G=(0,r.EW)((()=>!0===m.vertical?"width":"height")),V=(0,r.EW)((()=>!0===m.vertical?"vertical":"horizontal")),H=(0,r.EW)((()=>{const e={role:"slider","aria-valuemin":I.value,"aria-valuemax":D.value,"aria-orientation":V.value,"data-step":m.step};return!0===m.disable?e["aria-disabled"]="true":!0===m.readonly&&(e["aria-readonly"]="true"),e})),j=(0,r.EW)((()=>`q-slider q-slider${T.value} q-slider--${!0===S.value?"":"in"}active inline no-wrap `+(!0===m.vertical?"row":"column")+(!0===m.disable?" disabled":" q-slider--enabled"+(!0===R.value?" q-slider--editable":""))+("both"===C.value?" q-slider--focus":"")+(m.label||!0===m.labelAlways?" q-slider--label":"")+(!0===m.labelAlways?" q-slider--label-always":"")+(!0===x.value?" q-slider--dark":"")+(!0===m.dense?" q-slider--dense q-slider--dense"+T.value:"")));function $(e){const t="q-slider__"+e;return`${t} ${t}${T.value} ${t}${T.value}${E.value}`}function U(e){const t="q-slider__"+e;return`${t} ${t}${T.value}`}const K=(0,r.EW)((()=>{const e=m.selectionColor||m.color;return"q-slider__selection absolute"+(void 0!==e?` text-${e}`:"")})),X=(0,r.EW)((()=>U("markers")+" absolute overflow-hidden")),Y=(0,r.EW)((()=>U("track-container"))),Z=(0,r.EW)((()=>$("pin"))),Q=(0,r.EW)((()=>$("label"))),J=(0,r.EW)((()=>$("text-container"))),ee=(0,r.EW)((()=>$("marker-labels-container")+(void 0!==m.markerLabelsClass?` ${m.markerLabelsClass}`:""))),te=(0,r.EW)((()=>"q-slider__track relative-position no-outline"+(void 0!==m.trackColor?` bg-${m.trackColor}`:""))),ne=(0,r.EW)((()=>{const e={[G.value]:m.trackSize};return void 0!==m.trackImg&&(e.backgroundImage=`url(${m.trackImg}) !important`),e})),re=(0,r.EW)((()=>"q-slider__inner absolute"+(void 0!==m.innerTrackColor?` bg-${m.innerTrackColor}`:""))),ie=(0,r.EW)((()=>{const e=F.value-N.value,t={[q.value]:100*N.value+"%",[W.value]:0===e?"2px":100*e+"%"};return void 0!==m.innerTrackImg&&(t.backgroundImage=`url(${m.innerTrackImg}) !important`),t}));function oe(e){const{min:t,max:n,step:r}=m;let i=t+e*(n-t);if(r>0){const e=(i-I.value)%r;i+=(Math.abs(e)>=r/2?(e<0?-1:1)*r:0)-e}return i=L.value(i),(0,l.Tq)(i,I.value,D.value)}function ae(e){return 0===z.value?0:(e-m.min)/z.value}function se(e,t){const n=(0,u.G1)(e),r=!0===m.vertical?(0,l.Tq)((n.top-t.top)/t.height,0,1):(0,l.Tq)((n.left-t.left)/t.width,0,1);return(0,l.Tq)(!0===M.value?1-r:r,N.value,F.value)}const le=(0,r.EW)((()=>!0===(0,c.Et)(m.markers)?m.markers:O.value)),ue=(0,r.EW)((()=>{const e=[],t=le.value,n=m.max;let r=m.min;do{e.push(r),r+=t}while(r<n);return e.push(n),e})),ce=(0,r.EW)((()=>{const e=` ${h}${T.value}-`;return h+`${e}${!0===m.switchMarkerLabelsSide?"switched":"standard"}`+`${e}${!0===M.value?"rtl":"ltr"}`})),de=(0,r.EW)((()=>!1===m.markerLabels?null:pe(m.markerLabels).map(((e,t)=>({index:t,value:e.value,label:e.label||e.value,classes:ce.value+(void 0!==e.classes?" "+e.classes:""),style:{...ve(e.value),...e.style||{}}}))))),he=(0,r.EW)((()=>({markerList:de.value,markerMap:ge.value,classes:ce.value,getStyle:ve}))),fe=(0,r.EW)((()=>{const e=0===B.value?"2px":100*le.value/B.value;return{...ie.value,backgroundSize:!0===m.vertical?`2px ${e}%`:`${e}% 2px`}}));function pe(e){if(!1===e)return null;if(!0===e)return ue.value.map(f);if("function"===typeof e)return ue.value.map((t=>{const n=e(t);return!0===(0,c.Gv)(n)?{...n,value:t}:{value:t,label:n}}));const t=({value:e})=>e>=m.min&&e<=m.max;return!0===Array.isArray(e)?e.map((e=>!0===(0,c.Gv)(e)?e:{value:e})).filter(t):Object.keys(e).map((t=>{const n=e[t],r=Number(t);return!0===(0,c.Gv)(n)?{...n,value:r}:{value:r,label:n}})).filter(t)}function ve(e){return{[q.value]:100*(e-m.min)/z.value+"%"}}const ge=(0,r.EW)((()=>{if(!1===m.markerLabels)return null;const e={};return de.value.forEach((t=>{e[t.value]=t})),e}));function me(){if(void 0!==_["marker-label-group"])return _["marker-label-group"](he.value);const e=_["marker-label"]||p;return de.value.map((t=>e({marker:t,...he.value})))}const ye=(0,r.EW)((()=>[[a.A,_e,void 0,{[V.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]));function _e(r){!0===r.isFinal?(void 0!==A.value&&(t(r.evt),!0===r.touch&&e(!0),A.value=void 0,y("pan","end")),S.value=!1,C.value=!1):!0===r.isFirst?(A.value=n(r.evt),t(r.evt),e(),S.value=!0,y("pan","start")):(t(r.evt),e())}function be(){C.value=!1}function xe(r){t(r,n(r)),e(),k.value=!0,S.value=!0,document.addEventListener("mouseup",we,!0)}function we(){k.value=!1,S.value=!1,e(!0),be(),document.removeEventListener("mouseup",we,!0)}function Se(r){t(r,n(r)),e(!0)}function ke(t){v.includes(t.keyCode)&&e(!0)}function Ce(e){if(!0===m.vertical)return null;const t=b.lang.rtl!==m.reverse?1-e:e;return{transform:`translateX(calc(${2*t-1} * ${m.thumbSize} / 2 + ${50-100*t}%))`}}function Ae(e){const t=(0,r.EW)((()=>!1!==k.value||C.value!==e.focusValue&&"both"!==C.value?"":" q-slider--focus")),n=(0,r.EW)((()=>`q-slider__thumb q-slider__thumb${T.value} q-slider__thumb${T.value}-${!0===M.value?"rtl":"ltr"} absolute non-selectable`+t.value+(void 0!==e.thumbColor.value?` text-${e.thumbColor.value}`:""))),i=(0,r.EW)((()=>({width:m.thumbSize,height:m.thumbSize,[q.value]:100*e.ratio.value+"%",zIndex:C.value===e.focusValue?2:void 0}))),o=(0,r.EW)((()=>void 0!==e.labelColor.value?` text-${e.labelColor.value}`:"")),a=(0,r.EW)((()=>Ce(e.ratio.value))),s=(0,r.EW)((()=>"q-slider__text"+(void 0!==e.labelTextColor.value?` text-${e.labelTextColor.value}`:"")));return()=>{const t=[(0,r.h)("svg",{class:"q-slider__thumb-shape absolute-full",viewBox:"0 0 20 20","aria-hidden":"true"},[(0,r.h)("path",{d:m.thumbPath})]),(0,r.h)("div",{class:"q-slider__focus-ring fit"})];return!0!==m.label&&!0!==m.labelAlways||(t.push((0,r.h)("div",{class:Z.value+" absolute fit no-pointer-events"+o.value},[(0,r.h)("div",{class:Q.value,style:{minWidth:m.thumbSize}},[(0,r.h)("div",{class:J.value,style:a.value},[(0,r.h)("span",{class:s.value},e.label.value)])])])),void 0!==m.name&&!0!==m.disable&&w(t,"push")),(0,r.h)("div",{class:n.value,style:i.value,...e.getNodeData()},t)}}function Te(e,t,n,i){const o=[];"transparent"!==m.innerTrackColor&&o.push((0,r.h)("div",{key:"inner",class:re.value,style:ie.value})),"transparent"!==m.selectionColor&&o.push((0,r.h)("div",{key:"selection",class:K.value,style:e.value})),!1!==m.markers&&o.push((0,r.h)("div",{key:"marker",class:X.value,style:fe.value})),i(o);const a=[(0,d.Kf)("div",{key:"trackC",class:Y.value,tabindex:t.value,...n.value},[(0,r.h)("div",{class:te.value,style:ne.value},o)],"slide",R.value,(()=>ye.value))];if(!1!==m.markerLabels){const e=!0===m.switchMarkerLabelsSide?"unshift":"push";a[e]((0,r.h)("div",{key:"markerL",class:ee.value},me()))}return a}return(0,r.xo)((()=>{document.removeEventListener("mouseup",we,!0)})),{state:{active:S,focus:C,preventFocus:k,dragging:A,editable:R,classes:j,tabindex:P,attributes:H,roundValueFn:L,keyStep:O,trackLen:z,innerMin:I,innerMinRatio:N,innerMax:D,innerMaxRatio:F,positionProp:q,sizeProp:W,isReversed:M},methods:{onActivate:xe,onMobileClick:Se,onBlur:be,onKeyup:ke,getContent:Te,getThumbRenderFn:Ae,convertRatioToModel:oe,convertModelToRatio:ae,getDraggingRatio:se}}}var _=n(9467);const b=()=>({}),x=(0,_.a0)({name:"QSlider",props:{...g,modelValue:{required:!0,default:null,validator:e=>"number"===typeof e||null===e},labelValue:[String,Number]},emits:m,setup(e,{emit:t}){const{proxy:{$q:n}}=(0,r.nI)(),{state:a,methods:s}=y({updateValue:w,updatePosition:k,getDragging:S,formAttrs:(0,o.mj)(e)}),c=(0,i.KR)(null),d=(0,i.KR)(0),h=(0,i.KR)(0);function f(){h.value=null===e.modelValue?a.innerMin.value:(0,l.Tq)(e.modelValue,a.innerMin.value,a.innerMax.value)}(0,r.wB)((()=>`${e.modelValue}|${a.innerMin.value}|${a.innerMax.value}`),f),f();const p=(0,r.EW)((()=>s.convertModelToRatio(h.value))),g=(0,r.EW)((()=>!0===a.active.value?d.value:p.value)),m=(0,r.EW)((()=>{const t={[a.positionProp.value]:100*a.innerMinRatio.value+"%",[a.sizeProp.value]:100*(g.value-a.innerMinRatio.value)+"%"};return void 0!==e.selectionImg&&(t.backgroundImage=`url(${e.selectionImg}) !important`),t})),_=s.getThumbRenderFn({focusValue:!0,getNodeData:b,ratio:g,label:(0,r.EW)((()=>void 0!==e.labelValue?e.labelValue:h.value)),thumbColor:(0,r.EW)((()=>e.thumbColor||e.color)),labelColor:(0,r.EW)((()=>e.labelColor)),labelTextColor:(0,r.EW)((()=>e.labelTextColor))}),x=(0,r.EW)((()=>!0!==a.editable.value?{}:!0===n.platform.is.mobile?{onClick:s.onMobileClick}:{onMousedown:s.onActivate,onFocus:C,onBlur:s.onBlur,onKeydown:A,onKeyup:s.onKeyup}));function w(n){h.value!==e.modelValue&&t("update:modelValue",h.value),!0===n&&t("change",h.value)}function S(){return c.value.getBoundingClientRect()}function k(t,n=a.dragging.value){const r=s.getDraggingRatio(t,n);h.value=s.convertRatioToModel(r),d.value=!0!==e.snap||0===e.step?r:s.convertModelToRatio(h.value)}function C(){a.focus.value=!0}function A(t){if(!v.includes(t.keyCode))return;(0,u.Gu)(t);const n=([34,33].includes(t.keyCode)?10:1)*a.keyStep.value,r=([34,37,40].includes(t.keyCode)?-1:1)*(!0===a.isReversed.value?-1:1)*(!0===e.vertical?-1:1)*n;h.value=(0,l.Tq)(a.roundValueFn.value(h.value+r),a.innerMin.value,a.innerMax.value),w()}return()=>{const t=s.getContent(m,a.tabindex,x,(e=>{e.push(_())}));return(0,r.h)("div",{ref:c,class:a.classes.value+(null===e.modelValue?" q-slider--no-value":""),...a.attributes.value,"aria-valuenow":e.modelValue},t)}}})},3676:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1758),i=n(9467);const o=(0,i.a0)({name:"QSpace",setup(){const e=(0,r.h)("div",{class:"q-space"});return()=>e}})},8210:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1758),i=n(1551),o=n(9467);const a=(0,o.a0)({name:"QSpinner",props:{...i.X,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=(0,i.A)(e);return()=>(0,r.h)("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[(0,r.h)("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}})},2157:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1758),i=n(1551),o=n(9467);const a='<g stroke-width="4" stroke-linecap="round"><line y1="17" y2="29" transform="translate(32,32) rotate(180)"><animate attributeName="stroke-opacity" dur="750ms" values="1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(210)"><animate attributeName="stroke-opacity" dur="750ms" values="0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(240)"><animate attributeName="stroke-opacity" dur="750ms" values=".1;0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(270)"><animate attributeName="stroke-opacity" dur="750ms" values=".15;.1;0;1;.85;.7;.65;.55;.45;.35;.25;.15" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(300)"><animate attributeName="stroke-opacity" dur="750ms" values=".25;.15;.1;0;1;.85;.7;.65;.55;.45;.35;.25" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(330)"><animate attributeName="stroke-opacity" dur="750ms" values=".35;.25;.15;.1;0;1;.85;.7;.65;.55;.45;.35" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(0)"><animate attributeName="stroke-opacity" dur="750ms" values=".45;.35;.25;.15;.1;0;1;.85;.7;.65;.55;.45" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(30)"><animate attributeName="stroke-opacity" dur="750ms" values=".55;.45;.35;.25;.15;.1;0;1;.85;.7;.65;.55" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(60)"><animate attributeName="stroke-opacity" dur="750ms" values=".65;.55;.45;.35;.25;.15;.1;0;1;.85;.7;.65" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(90)"><animate attributeName="stroke-opacity" dur="750ms" values=".7;.65;.55;.45;.35;.25;.15;.1;0;1;.85;.7" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(120)"><animate attributeName="stroke-opacity" dur="750ms" values=".85;.7;.65;.55;.45;.35;.25;.15;.1;0;1;.85" repeatCount="indefinite"></animate></line><line y1="17" y2="29" transform="translate(32,32) rotate(150)"><animate attributeName="stroke-opacity" dur="750ms" values="1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1" repeatCount="indefinite"></animate></line></g>',s=(0,o.a0)({name:"QSpinnerIos",props:i.X,setup(e){const{cSize:t,classes:n}=(0,i.A)(e);return()=>(0,r.h)("svg",{class:n.value,width:t.value,height:t.value,stroke:"currentColor",fill:"currentColor",viewBox:"0 0 64 64",innerHTML:a})}})},1551:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,X:()=>o});var r=n(1758),i=n(1906);const o={size:{type:[String,Number],default:"1em"},color:String};function a(e){return{cSize:(0,r.EW)((()=>e.size in i.v0?`${i.v0[e.size]}px`:e.size)),classes:(0,r.EW)((()=>"q-spinner"+(e.color?` text-${e.color}`:"")))}}},8098:(e,t,n)=>{"use strict";n.d(t,{A:()=>ie});var r=n(1758),i=n(8734),o=n(7722),a=n(386),s=n(492),l=n(9467),u=n(6372),c=n(5139);const d=["ul","ol"],h=(0,l.a0)({name:"QList",props:{...u.C,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=(0,r.nI)(),i=(0,u.A)(e,n.proxy.$q),o=(0,r.EW)((()=>d.includes(e.tag)?null:"list")),a=(0,r.EW)((()=>"q-list"+(!0===e.bordered?" q-list--bordered":"")+(!0===e.dense?" q-list--dense":"")+(!0===e.separator?" q-list--separator":"")+(!0===i.value?" q-list--dark":"")+(!0===e.padding?" q-list--padding":"")));return()=>(0,r.h)(e.tag,{class:a.value,role:o.value},(0,c.zm)(t.default))}}),f=["horizontal","vertical","cell","none"],p=(0,l.a0)({name:"QMarkupTable",props:{...u.C,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>f.includes(e)}},setup(e,{slots:t}){const n=(0,r.nI)(),i=(0,u.A)(e,n.proxy.$q),o=(0,r.EW)((()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(!0===i.value?" q-table--dark q-table__card--dark q-dark":"")+(!0===e.dense?" q-table--dense":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":"")+(!0===e.square?" q-table--square":"")+(!1===e.wrapCells?" q-table--no-wrap":"")));return()=>(0,r.h)("div",{class:o.value},[(0,r.h)("table",{class:"q-table"},(0,c.zm)(t.default))])}});function v(e,t){return(0,r.h)("div",e,[(0,r.h)("table",{class:"q-table"},t)])}var g=n(1503),m=n(8336),y=n(2500);const _={list:h,table:p},b=["list","table","__qtable"],x=(0,l.a0)({name:"QVirtualScroll",props:{...g.AV,type:{type:String,default:"list",validator:e=>b.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:m.cP},setup(e,{slots:t,attrs:n}){let o;const a=(0,i.KR)(null),s=(0,r.EW)((()=>e.itemsSize>=0&&void 0!==e.itemsFn?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0)),{virtualScrollSliceRange:l,localResetVirtualScroll:u,padVirtualScroll:d,onVirtualScrollEvt:h}=(0,g.Iq)({virtualScrollLength:s,getVirtualScrollTarget:w,getVirtualScrollEl:x}),f=(0,r.EW)((()=>{if(0===s.value)return[];const t=(e,t)=>({index:l.value.from+t,item:e});return void 0===e.itemsFn?e.items.slice(l.value.from,l.value.to).map(t):e.itemsFn(l.value.from,l.value.to-l.value.from).map(t)})),p=(0,r.EW)((()=>"q-virtual-scroll q-virtual-scroll"+(!0===e.virtualScrollHorizontal?"--horizontal":"--vertical")+(void 0!==e.scrollTarget?"":" scroll"))),b=(0,r.EW)((()=>void 0!==e.scrollTarget?{}:{tabindex:0}));function x(){return a.value.$el||a.value}function w(){return o}function S(){o=(0,m.hD)(x(),e.scrollTarget),o.addEventListener("scroll",h,y.mG.passive)}function k(){void 0!==o&&(o.removeEventListener("scroll",h,y.mG.passive),o=void 0)}function C(){let n=d("list"===e.type?"div":"tbody",f.value.map(t.default));return void 0!==t.before&&(n=t.before().concat(n)),(0,c.Hp)(t.after,n)}return(0,r.wB)(s,(()=>{u()})),(0,r.wB)((()=>e.scrollTarget),(()=>{k(),S()})),(0,r.KC)((()=>{u()})),(0,r.sV)((()=>{S()})),(0,r.n)((()=>{S()})),(0,r.Y4)((()=>{k()})),(0,r.xo)((()=>{k()})),()=>{if(void 0!==t.default)return"__qtable"===e.type?v({ref:a,class:"q-table__middle "+p.value},C()):(0,r.h)(_[e.type],{...n,ref:a,class:[n.class,p.value],...b.value},C);console.error("QVirtualScroll: default scoped slot is required for rendering")}}});var w=n(9183),S=n(1906);const k={xs:2,sm:4,md:6,lg:10,xl:14};function C(e,t,n){return{transform:!0===t?`translateX(${!0===n.lang.rtl?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const A=(0,l.a0)({name:"QLinearProgress",props:{...u.C,...S.x_,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=(0,r.nI)(),i=(0,u.A)(e,n.$q),o=(0,S.Ay)(e,k),a=(0,r.EW)((()=>!0===e.indeterminate||!0===e.query)),s=(0,r.EW)((()=>e.reverse!==e.query)),l=(0,r.EW)((()=>({...null!==o.value?o.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`}))),d=(0,r.EW)((()=>"q-linear-progress"+(void 0!==e.color?` text-${e.color}`:"")+(!0===e.reverse||!0===e.query?" q-linear-progress--reverse":"")+(!0===e.rounded?" rounded-borders":""))),h=(0,r.EW)((()=>C(void 0!==e.buffer?e.buffer:1,s.value,n.$q))),f=(0,r.EW)((()=>`with${!0===e.instantFeedback?"out":""}-transition`)),p=(0,r.EW)((()=>`q-linear-progress__track absolute-full q-linear-progress__track--${f.value} q-linear-progress__track--`+(!0===i.value?"dark":"light")+(void 0!==e.trackColor?` bg-${e.trackColor}`:""))),v=(0,r.EW)((()=>C(!0===a.value?1:e.value,s.value,n.$q))),g=(0,r.EW)((()=>`q-linear-progress__model absolute-full q-linear-progress__model--${f.value} q-linear-progress__model--${!0===a.value?"in":""}determinate`)),m=(0,r.EW)((()=>({width:100*e.value+"%"}))),y=(0,r.EW)((()=>"q-linear-progress__stripe absolute-"+(!0===e.reverse?"right":"left")+` q-linear-progress__stripe--${f.value}`));return()=>{const n=[(0,r.h)("div",{class:p.value,style:h.value}),(0,r.h)("div",{class:g.value,style:v.value})];return!0===e.stripe&&!1===a.value&&n.push((0,r.h)("div",{class:y.value,style:m.value})),(0,r.h)("div",{class:d.value,style:l.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":!0===e.indeterminate?void 0:e.value},(0,c.Hp)(t.default,n))}}});var T=n(460),E=n(6384),M=n(4848),I=n(5157);let D=0;const R={fullscreen:Boolean,noRouteFullscreenExit:Boolean},L=["update:fullscreen","fullscreen"];function O(){const e=(0,r.nI)(),{props:t,emit:n,proxy:o}=e;let a,s,l;const u=(0,i.KR)(!1);function c(){!0===u.value?h():d()}function d(){!0!==u.value&&(u.value=!0,l=o.$el.parentNode,l.replaceChild(s,o.$el),document.body.appendChild(o.$el),D++,1===D&&document.body.classList.add("q-body--fullscreen-mixin"),a={handler:h},M.A.add(a))}function h(){!0===u.value&&(void 0!==a&&(M.A.remove(a),a=void 0),l.replaceChild(o.$el,s),u.value=!1,D=Math.max(0,D-1),0===D&&(document.body.classList.remove("q-body--fullscreen-mixin"),void 0!==o.$el.scrollIntoView&&setTimeout((()=>{o.$el.scrollIntoView()}))))}return!0===(0,I.$b)(e)&&(0,r.wB)((()=>o.$route.fullPath),(()=>{!0!==t.noRouteFullscreenExit&&h()})),(0,r.wB)((()=>t.fullscreen),(e=>{u.value!==e&&c()})),(0,r.wB)(u,(e=>{n("update:fullscreen",e),n("fullscreen",e)})),(0,r.KC)((()=>{s=document.createElement("span")})),(0,r.sV)((()=>{!0===t.fullscreen&&d()})),(0,r.xo)(h),Object.assign(o,{toggleFullscreen:c,setFullscreen:d,exitFullscreen:h}),{inFullscreen:u,toggleFullscreen:c}}function P(e,t){return new Date(e)-new Date(t)}var z=n(1054);const B={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>"ad"===e||"da"===e,default:"ad"}};function N(e,t,n,i){const o=(0,r.EW)((()=>{const{sortBy:e}=t.value;return e&&n.value.find((t=>t.name===e))||null})),a=(0,r.EW)((()=>void 0!==e.sortMethod?e.sortMethod:(e,t,r)=>{const i=n.value.find((e=>e.name===t));if(void 0===i||void 0===i.field)return e;const o=!0===r?-1:1,a="function"===typeof i.field?e=>i.field(e):e=>e[i.field];return e.sort(((e,t)=>{let n=a(e),r=a(t);return void 0!==i.rawSort?i.rawSort(n,r,e,t)*o:null===n||void 0===n?-1*o:null===r||void 0===r?1*o:void 0!==i.sort?i.sort(n,r,e,t)*o:!0===(0,z.Et)(n)&&!0===(0,z.Et)(r)?(n-r)*o:!0===(0,z.$P)(n)&&!0===(0,z.$P)(r)?P(n,r)*o:"boolean"===typeof n&&"boolean"===typeof r?(n-r)*o:([n,r]=[n,r].map((e=>(e+"").toLocaleString().toLowerCase())),n<r?-1*o:n===r?0:o)}))}));function s(r){let o=e.columnSortOrder;if(!0===(0,z.Gv)(r))r.sortOrder&&(o=r.sortOrder),r=r.name;else{const e=n.value.find((e=>e.name===r));void 0!==e&&e.sortOrder&&(o=e.sortOrder)}let{sortBy:a,descending:s}=t.value;a!==r?(a=r,s="da"===o):!0===e.binaryStateSort?s=!s:!0===s?"ad"===o?a=null:s=!1:"ad"===o?s=!0:a=null,i({sortBy:a,descending:s,page:1})}return{columnToSort:o,computedSortMethod:a,sort:s}}const F={filter:[String,Object],filterMethod:Function};function q(e,t){const n=(0,r.EW)((()=>void 0!==e.filterMethod?e.filterMethod:(e,t,n,r)=>{const i=t?t.toLowerCase():"";return e.filter((e=>n.some((t=>{const n=r(t,e)+"",o="undefined"===n||"null"===n?"":n.toLowerCase();return-1!==o.indexOf(i)}))))}));return(0,r.wB)((()=>e.filter),(()=>{(0,r.dY)((()=>{t({page:1},!0)}))}),{deep:!0}),{computedFilterMethod:n}}function W(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function G(e){return e.page<1&&(e.page=1),void 0!==e.rowsPerPage&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const V={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function H(e,t){const{props:n,emit:o}=e,a=(0,i.KR)(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:0!==n.rowsPerPageOptions.length?n.rowsPerPageOptions[0]:5},n.pagination)),s=(0,r.EW)((()=>{const e=void 0!==n["onUpdate:pagination"]?{...a.value,...n.pagination}:a.value;return G(e)})),l=(0,r.EW)((()=>void 0!==s.value.rowsNumber));function u(e){c({pagination:e,filter:n.filter})}function c(e={}){(0,r.dY)((()=>{o("request",{pagination:e.pagination||s.value,filter:e.filter||n.filter,getCellValue:t})}))}function d(e,t){const r=G({...s.value,...e});!0!==W(s.value,r)?!0!==l.value?void 0!==n.pagination&&void 0!==n["onUpdate:pagination"]?o("update:pagination",r):a.value=r:u(r):!0===l.value&&!0===t&&u(r)}return{innerPagination:a,computedPagination:s,isServerSide:l,requestServerInteraction:c,setPagination:d}}function j(e,t,n,i,o,a){const{props:s,emit:l,proxy:{$q:u}}=e,c=(0,r.EW)((()=>!0===i.value?n.value.rowsNumber||0:a.value)),d=(0,r.EW)((()=>{const{page:e,rowsPerPage:t}=n.value;return(e-1)*t})),h=(0,r.EW)((()=>{const{page:e,rowsPerPage:t}=n.value;return e*t})),f=(0,r.EW)((()=>1===n.value.page)),p=(0,r.EW)((()=>0===n.value.rowsPerPage?1:Math.max(1,Math.ceil(c.value/n.value.rowsPerPage)))),v=(0,r.EW)((()=>0===h.value||n.value.page>=p.value)),g=(0,r.EW)((()=>{const e=s.rowsPerPageOptions.includes(t.value.rowsPerPage)?s.rowsPerPageOptions:[t.value.rowsPerPage].concat(s.rowsPerPageOptions);return e.map((e=>({label:0===e?u.lang.table.allRows:""+e,value:e})))}));function m(){o({page:1})}function y(){const{page:e}=n.value;e>1&&o({page:e-1})}function _(){const{page:e,rowsPerPage:t}=n.value;h.value>0&&e*t<c.value&&o({page:e+1})}function b(){o({page:p.value})}return(0,r.wB)(p,((e,t)=>{if(e===t)return;const r=n.value.page;e&&!r?o({page:1}):e<r&&o({page:e})})),void 0!==s["onUpdate:pagination"]&&l("update:pagination",{...n.value}),{firstRowIndex:d,lastRowIndex:h,isFirstPage:f,isLastPage:v,pagesNumber:p,computedRowsPerPageOptions:g,computedRowsNumber:c,firstPage:m,prevPage:y,nextPage:_,lastPage:b}}const $={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},U=["update:selected","selection"];function K(e,t,n,i){const o=(0,r.EW)((()=>{const t={};return e.selected.map(i.value).forEach((e=>{t[e]=!0})),t})),a=(0,r.EW)((()=>"none"!==e.selection)),s=(0,r.EW)((()=>"single"===e.selection)),l=(0,r.EW)((()=>"multiple"===e.selection)),u=(0,r.EW)((()=>0!==n.value.length&&n.value.every((e=>!0===o.value[i.value(e)])))),c=(0,r.EW)((()=>!0!==u.value&&n.value.some((e=>!0===o.value[i.value(e)])))),d=(0,r.EW)((()=>e.selected.length));function h(e){return!0===o.value[e]}function f(){t("update:selected",[])}function p(n,r,o,a){t("selection",{rows:r,added:o,keys:n,evt:a});const l=!0===s.value?!0===o?r:[]:!0===o?e.selected.concat(r):e.selected.filter((e=>!1===n.includes(i.value(e))));t("update:selected",l)}return{hasSelectionMode:a,singleSelection:s,multipleSelection:l,allRowsSelected:u,someRowsSelected:c,rowsSelectedNumber:d,isRowSelected:h,clearSelection:f,updateSelection:p}}function X(e){return Array.isArray(e)?e.slice():[]}const Y={expanded:Array},Z=["update:expanded"];function Q(e,t){const n=(0,i.KR)(X(e.expanded));function o(e){return n.value.includes(e)}function a(r){void 0!==e.expanded?t("update:expanded",r):n.value=r}function s(e,t){const r=n.value.slice(),i=r.indexOf(e);!0===t?-1===i&&(r.push(e),a(r)):-1!==i&&(r.splice(i,1),a(r))}return(0,r.wB)((()=>e.expanded),(e=>{n.value=X(e)})),{isRowExpanded:o,setExpanded:a,updateExpanded:s}}const J={visibleColumns:Array};function ee(e,t,n){const i=(0,r.EW)((()=>{if(void 0!==e.columns)return e.columns;const t=e.rows[0];return void 0!==t?Object.keys(t).map((e=>({name:e,label:e.toUpperCase(),field:e,align:(0,z.Et)(t[e])?"right":"left",sortable:!0}))):[]})),o=(0,r.EW)((()=>{const{sortBy:n,descending:r}=t.value,o=void 0!==e.visibleColumns?i.value.filter((t=>!0===t.required||!0===e.visibleColumns.includes(t.name))):i.value;return o.map((e=>{const t=e.align||"right",i=`text-${t}`;return{...e,align:t,__iconClass:`q-table__sort-icon q-table__sort-icon--${t}`,__thClass:i+(void 0!==e.headerClasses?" "+e.headerClasses:"")+(!0===e.sortable?" sortable":"")+(e.name===n?" sorted "+(!0===r?"sort-desc":""):""),__tdStyle:void 0!==e.style?"function"!==typeof e.style?()=>e.style:e.style:()=>null,__tdClass:void 0!==e.classes?"function"!==typeof e.classes?()=>i+" "+e.classes:t=>i+" "+e.classes(t):()=>i}}))})),a=(0,r.EW)((()=>{const e={};return o.value.forEach((t=>{e[t.name]=t})),e})),s=(0,r.EW)((()=>void 0!==e.tableColspan?e.tableColspan:o.value.length+(!0===n.value?1:0)));return{colList:i,computedCols:o,computedColsMap:a,computedColspan:s}}var te=n(2453);const ne="q-table__bottom row items-center",re={};g.kP.forEach((e=>{re[e]={}}));const ie=(0,l.a0)({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading: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:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...re,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],hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...u.C,...R,...J,...F,...V,...Y,...$,...B},emits:["request","virtualScroll",...L,...Z,...U],setup(e,{slots:t,emit:n}){const l=(0,r.nI)(),{proxy:{$q:c}}=l,d=(0,u.A)(e,c),{inFullscreen:h,toggleFullscreen:f}=O(),p=(0,r.EW)((()=>"function"===typeof e.rowKey?e.rowKey:t=>t[e.rowKey])),m=(0,i.KR)(null),y=(0,i.KR)(null),_=(0,r.EW)((()=>!0!==e.grid&&!0===e.virtualScroll)),b=(0,r.EW)((()=>" q-table__card"+(!0===d.value?" q-table__card--dark q-dark":"")+(!0===e.square?" q-table--square":"")+(!0===e.flat?" q-table--flat":"")+(!0===e.bordered?" q-table--bordered":""))),S=(0,r.EW)((()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(!0===e.grid?" q-table--grid":b.value)+(!0===d.value?" q-table--dark":"")+(!0===e.dense?" q-table--dense":"")+(!1===e.wrapCells?" q-table--no-wrap":"")+(!0===h.value?" fullscreen scroll":""))),k=(0,r.EW)((()=>S.value+(!0===e.loading?" q-table--loading":"")));(0,r.wB)((()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+S.value),(()=>{!0===_.value&&null!==y.value&&y.value.reset()}));const{innerPagination:C,computedPagination:M,isServerSide:I,requestServerInteraction:D,setPagination:R}=H(l,ze),{computedFilterMethod:L}=q(e,R),{isRowExpanded:P,setExpanded:z,updateExpanded:B}=Q(e,n),F=(0,r.EW)((()=>{let t=e.rows;if(!0===I.value||0===t.length)return t;const{sortBy:n,descending:r}=M.value;return e.filter&&(t=L.value(t,e.filter,ae.value,ze)),null!==ue.value&&(t=ce.value(e.rows===t?t.slice():t,n,r)),t})),W=(0,r.EW)((()=>F.value.length)),G=(0,r.EW)((()=>{let t=F.value;if(!0===I.value)return t;const{rowsPerPage:n}=M.value;return 0!==n&&(0===he.value&&e.rows!==t?t.length>fe.value&&(t=t.slice(0,fe.value)):t=t.slice(he.value,fe.value)),t})),{hasSelectionMode:V,singleSelection:$,multipleSelection:U,allRowsSelected:X,someRowsSelected:Y,rowsSelectedNumber:Z,isRowSelected:J,clearSelection:re,updateSelection:ie}=K(e,n,G,p),{colList:oe,computedCols:ae,computedColsMap:se,computedColspan:le}=ee(e,M,V),{columnToSort:ue,computedSortMethod:ce,sort:de}=N(e,M,oe,R),{firstRowIndex:he,lastRowIndex:fe,isFirstPage:pe,isLastPage:ve,pagesNumber:ge,computedRowsPerPageOptions:me,computedRowsNumber:ye,firstPage:_e,prevPage:be,nextPage:xe,lastPage:we}=j(l,C,M,I,R,W),Se=(0,r.EW)((()=>0===G.value.length)),ke=(0,r.EW)((()=>{const t={};return g.kP.forEach((n=>{t[n]=e[n]})),void 0===t.virtualScrollItemSize&&(t.virtualScrollItemSize=!0===e.dense?28:48),t}));function Ce(){!0===_.value&&y.value.reset()}function Ae(){if(!0===e.grid)return Xe();const n=!0!==e.hideHeader?qe:null;if(!0===_.value){const i=t["top-row"],o=t["bottom-row"],a={default:e=>Ie(e.item,t.body,e.index)};if(void 0!==i){const e=(0,r.h)("tbody",i({cols:ae.value}));a.before=null===n?()=>e:()=>[n()].concat(e)}else null!==n&&(a.before=n);return void 0!==o&&(a.after=()=>(0,r.h)("tbody",o({cols:ae.value}))),(0,r.h)(x,{ref:y,class:e.tableClass,style:e.tableStyle,...ke.value,scrollTarget:e.virtualScrollTarget,items:G.value,type:"__qtable",tableColspan:le.value,onVirtualScroll:Ee},a)}const i=[De()];return null!==n&&i.unshift(n()),v({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},i)}function Te(t,r){if(null!==y.value)return void y.value.scrollTo(t,r);t=parseInt(t,10);const i=m.value.querySelector(`tbody tr:nth-of-type(${t+1})`);if(null!==i){const r=m.value.querySelector(".q-table__middle.scroll"),o=i.offsetTop-e.virtualScrollStickySizeStart,a=o<r.scrollTop?"decrease":"increase";r.scrollTop=o,n("virtualScroll",{index:t,from:0,to:C.value.rowsPerPage-1,direction:a})}}function Ee(e){n("virtualScroll",e)}function Me(){return[(0,r.h)(A,{class:"q-table__linear-progress",color:e.color,dark:d.value,indeterminate:!0,trackColor:"transparent"})]}function Ie(i,o,a){const s=p.value(i),l=J(s);if(void 0!==o)return o(Re({key:s,row:i,pageIndex:a,__trClass:l?"selected":""}));const u=t["body-cell"],c=ae.value.map((e=>{const n=t[`body-cell-${e.name}`],o=void 0!==n?n:u;return void 0!==o?o(Le({key:s,row:i,pageIndex:a,col:e})):(0,r.h)("td",{class:e.__tdClass(i),style:e.__tdStyle(i)},ze(e,i))}));if(!0===V.value){const n=t["body-selection"],o=void 0!==n?n(Oe({key:s,row:i,pageIndex:a})):[(0,r.h)(T.A,{modelValue:l,color:e.color,dark:d.value,dense:e.dense,"onUpdate:modelValue":(e,t)=>{ie([s],[i],e,t)}})];c.unshift((0,r.h)("td",{class:"q-table--col-auto-width"},o))}const h={key:s,class:{selected:l}};return void 0!==e.onRowClick&&(h.class["cursor-pointer"]=!0,h.onClick=e=>{n("rowClick",e,i,a)}),void 0!==e.onRowDblclick&&(h.class["cursor-pointer"]=!0,h.onDblclick=e=>{n("rowDblclick",e,i,a)}),void 0!==e.onRowContextmenu&&(h.class["cursor-pointer"]=!0,h.onContextmenu=e=>{n("rowContextmenu",e,i,a)}),(0,r.h)("tr",h,c)}function De(){const e=t.body,n=t["top-row"],i=t["bottom-row"];let o=G.value.map(((t,n)=>Ie(t,e,n)));return void 0!==n&&(o=n({cols:ae.value}).concat(o)),void 0!==i&&(o=o.concat(i({cols:ae.value}))),(0,r.h)("tbody",o)}function Re(e){return Pe(e),e.cols=e.cols.map((t=>(0,te.$)({...t},"value",(()=>ze(t,e.row))))),e}function Le(e){return Pe(e),(0,te.$)(e,"value",(()=>ze(e.col,e.row))),e}function Oe(e){return Pe(e),e}function Pe(t){Object.assign(t,{cols:ae.value,colsMap:se.value,sort:de,rowIndex:he.value+t.pageIndex,color:e.color,dark:d.value,dense:e.dense}),!0===V.value&&(0,te.$)(t,"selected",(()=>J(t.key)),((e,n)=>{ie([t.key],[t.row],e,n)})),(0,te.$)(t,"expand",(()=>P(t.key)),(e=>{B(t.key,e)}))}function ze(e,t){const n="function"===typeof e.field?e.field(t):t[e.field];return void 0!==e.format?e.format(n,t):n}const Be=(0,r.EW)((()=>({pagination:M.value,pagesNumber:ge.value,isFirstPage:pe.value,isLastPage:ve.value,firstPage:_e,prevPage:be,nextPage:xe,lastPage:we,inFullscreen:h.value,toggleFullscreen:f})));function Ne(){const n=t.top,i=t["top-left"],o=t["top-right"],a=t["top-selection"],s=!0===V.value&&void 0!==a&&Z.value>0,l="q-table__top relative-position row items-center";if(void 0!==n)return(0,r.h)("div",{class:l},[n(Be.value)]);let u;return!0===s?u=a(Be.value).slice():(u=[],void 0!==i?u.push((0,r.h)("div",{class:"q-table__control"},[i(Be.value)])):e.title&&u.push((0,r.h)("div",{class:"q-table__control"},[(0,r.h)("div",{class:["q-table__title",e.titleClass]},e.title)]))),void 0!==o&&(u.push((0,r.h)("div",{class:"q-table__separator col"})),u.push((0,r.h)("div",{class:"q-table__control"},[o(Be.value)]))),0!==u.length?(0,r.h)("div",{class:l},u):void 0}const Fe=(0,r.EW)((()=>!0===Y.value?null:X.value));function qe(){const n=We();return!0===e.loading&&void 0===t.loading&&n.push((0,r.h)("tr",{class:"q-table__progress"},[(0,r.h)("th",{class:"relative-position",colspan:le.value},Me())])),(0,r.h)("thead",n)}function We(){const n=t.header,i=t["header-cell"];if(void 0!==n)return n(Ge({header:!0})).slice();const a=ae.value.map((e=>{const n=t[`header-cell-${e.name}`],a=void 0!==n?n:i,s=Ge({col:e});return void 0!==a?a(s):(0,r.h)(o.A,{key:e.name,props:s},(()=>e.label))}));if(!0===$.value&&!0!==e.grid)a.unshift((0,r.h)("th",{class:"q-table--col-auto-width"}," "));else if(!0===U.value){const n=t["header-selection"],i=void 0!==n?n(Ge({})):[(0,r.h)(T.A,{color:e.color,modelValue:Fe.value,dark:d.value,dense:e.dense,"onUpdate:modelValue":Ve})];a.unshift((0,r.h)("th",{class:"q-table--col-auto-width"},i))}return[(0,r.h)("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},a)]}function Ge(t){return Object.assign(t,{cols:ae.value,sort:de,colsMap:se.value,color:e.color,dark:d.value,dense:e.dense}),!0===U.value&&(0,te.$)(t,"selected",(()=>Fe.value),Ve),t}function Ve(e){!0===Y.value&&(e=!1),ie(G.value.map(p.value),G.value,e)}const He=(0,r.EW)((()=>{const t=[e.iconFirstPage||c.iconSet.table.firstPage,e.iconPrevPage||c.iconSet.table.prevPage,e.iconNextPage||c.iconSet.table.nextPage,e.iconLastPage||c.iconSet.table.lastPage];return!0===c.lang.rtl?t.reverse():t}));function je(){if(!0===e.hideBottom)return;if(!0===Se.value){if(!0===e.hideNoData)return;const n=!0===e.loading?e.loadingLabel||c.lang.table.loading:e.filter?e.noResultsLabel||c.lang.table.noResults:e.noDataLabel||c.lang.table.noData,i=t["no-data"],o=void 0!==i?[i({message:n,icon:c.iconSet.table.warning,filter:e.filter})]:[(0,r.h)(s.A,{class:"q-table__bottom-nodata-icon",name:c.iconSet.table.warning}),n];return(0,r.h)("div",{class:ne+" q-table__bottom--nodata"},o)}const n=t.bottom;if(void 0!==n)return(0,r.h)("div",{class:ne},[n(Be.value)]);const i=!0!==e.hideSelectedBanner&&!0===V.value&&Z.value>0?[(0,r.h)("div",{class:"q-table__control"},[(0,r.h)("div",[(e.selectedRowsLabel||c.lang.table.selectedRecords)(Z.value)])])]:[];return!0!==e.hidePagination?(0,r.h)("div",{class:ne+" justify-end"},Ue(i)):0!==i.length?(0,r.h)("div",{class:ne},i):void 0}function $e(e){R({page:1,rowsPerPage:e.value})}function Ue(n){let i;const{rowsPerPage:o}=M.value,a=e.paginationLabel||c.lang.table.pagination,s=t.pagination,l=e.rowsPerPageOptions.length>1;if(n.push((0,r.h)("div",{class:"q-table__separator col"})),!0===l&&n.push((0,r.h)("div",{class:"q-table__control"},[(0,r.h)("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||c.lang.table.recordsPerPage]),(0,r.h)(w.A,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:o,options:me.value,displayValue:0===o?c.lang.table.allRows:o,dark:d.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":$e})])),void 0!==s)i=s(Be.value);else if(i=[(0,r.h)("span",0!==o?{class:"q-table__bottom-item"}:{},[o?a(he.value+1,Math.min(fe.value,ye.value),ye.value):a(1,W.value,ye.value)])],0!==o&&ge.value>1){const t={color:e.color,round:!0,dense:!0,flat:!0};!0===e.dense&&(t.size="sm"),ge.value>2&&i.push((0,r.h)(E.A,{key:"pgFirst",...t,icon:He.value[0],disable:pe.value,onClick:_e})),i.push((0,r.h)(E.A,{key:"pgPrev",...t,icon:He.value[1],disable:pe.value,onClick:be}),(0,r.h)(E.A,{key:"pgNext",...t,icon:He.value[2],disable:ve.value,onClick:xe})),ge.value>2&&i.push((0,r.h)(E.A,{key:"pgLast",...t,icon:He.value[3],disable:ve.value,onClick:we}))}return n.push((0,r.h)("div",{class:"q-table__control"},i)),n}function Ke(){const n=!0===e.gridHeader?[(0,r.h)("table",{class:"q-table"},[qe(r.h)])]:!0===e.loading&&void 0===t.loading?Me(r.h):void 0;return(0,r.h)("div",{class:"q-table__middle"},n)}function Xe(){const i=void 0!==t.item?t.item:i=>{const o=i.cols.map((e=>(0,r.h)("div",{class:"q-table__grid-item-row"},[(0,r.h)("div",{class:"q-table__grid-item-title"},[e.label]),(0,r.h)("div",{class:"q-table__grid-item-value"},[e.value])])));if(!0===V.value){const n=t["body-selection"],s=void 0!==n?n(i):[(0,r.h)(T.A,{modelValue:i.selected,color:e.color,dark:d.value,dense:e.dense,"onUpdate:modelValue":(e,t)=>{ie([i.key],[i.row],e,t)}})];o.unshift((0,r.h)("div",{class:"q-table__grid-item-row"},s),(0,r.h)(a.A,{dark:d.value}))}const s={class:["q-table__grid-item-card"+b.value,e.cardClass],style:e.cardStyle};return void 0===e.onRowClick&&void 0===e.onRowDblclick||(s.class[0]+=" cursor-pointer",void 0!==e.onRowClick&&(s.onClick=e=>{n("RowClick",e,i.row,i.pageIndex)}),void 0!==e.onRowDblclick&&(s.onDblclick=e=>{n("RowDblclick",e,i.row,i.pageIndex)})),(0,r.h)("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(!0===i.selected?" q-table__grid-item--selected":"")},[(0,r.h)("div",s,o)])};return(0,r.h)("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},G.value.map(((e,t)=>i(Re({key:p.value(e),row:e,pageIndex:t})))))}return Object.assign(l.proxy,{requestServerInteraction:D,setPagination:R,firstPage:_e,prevPage:be,nextPage:xe,lastPage:we,isRowSelected:J,clearSelection:re,isRowExpanded:P,setExpanded:z,sort:de,resetVirtualScroll:Ce,scrollTo:Te,getCellValue:ze}),(0,te.M)(l.proxy,{filteredSortedRows:()=>F.value,computedRows:()=>G.value,computedRowsNumber:()=>ye.value}),()=>{const n=[Ne()],i={ref:m,class:k.value};return!0===e.grid?n.push(Ke()):Object.assign(i,{class:[i.class,e.cardClass],style:e.cardStyle}),n.push(Ae(),je()),!0===e.loading&&void 0!==t.loading&&n.push(t.loading()),(0,r.h)("div",i,n)}}})},5262:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1758),i=n(9467),o=n(5139);const a=(0,i.a0)({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=(0,r.nI)(),i=(0,r.EW)((()=>"q-td"+(!0===e.autoWidth?" q-table--col-auto-width":"")+(!0===e.noHover?" q-td--no-hover":"")+" "));return()=>{if(void 0===e.props)return(0,r.h)("td",{class:i.value},(0,o.zm)(t.default));const a=n.vnode.key,s=(void 0!==e.props.colsMap?e.props.colsMap[a]:null)||e.props.col;if(void 0===s)return;const{row:l}=e.props;return(0,r.h)("td",{class:i.value+s.__tdClass(l),style:s.__tdStyle(l)},(0,o.zm)(t.default))}}})},7722:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1758),i=n(492),o=n(9467),a=n(5139);const s=(0,o.a0)({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const o=(0,r.nI)(),{proxy:{$q:s}}=o,l=e=>{n("click",e)};return()=>{if(void 0===e.props)return(0,r.h)("th",{class:!0===e.autoWidth?"q-table--col-auto-width":"",onClick:l},(0,a.zm)(t.default));let n,u;const c=o.vnode.key;if(c){if(n=e.props.colsMap[c],void 0===n)return}else n=e.props.col;if(!0===n.sortable){const e="right"===n.align?"unshift":"push";u=(0,a.Ij)(t.default,[]),u[e]((0,r.h)(i.A,{class:n.__iconClass,name:s.iconSet.table.arrowUp}))}else u=(0,a.zm)(t.default);const d={class:n.__thClass+(!0===e.autoWidth?" q-table--col-auto-width":""),style:n.headerStyle,onClick:t=>{!0===n.sortable&&e.props.sort(n),l(t)}};return(0,r.h)("th",d,u)}}})},4488:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1758),i=n(9467),o=n(5139);const a=(0,i.a0)({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=(0,r.EW)((()=>"q-tr"+(void 0===e.props||!0===e.props.header?"":" "+e.props.__trClass)+(!0===e.noHover?" q-tr--no-hover":"")));return()=>(0,r.h)("tr",{class:n.value},(0,o.zm)(t.default))}})},327:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(1758),i=n(8734),o=n(492),a=n(9626),s=n(5139),l=n(2906),u=n(7973),c=n(2500),d=n(5192),h=n(1054);let f=0;const p=["click","keydown"],v={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>"t_"+f++},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function g(e,t,n,f){const p=(0,r.WQ)(u.Uv,u.U_);if(p===u.U_)return console.error("QTab/QRouteTab component needs to be child of QTabs"),u.U_;const{proxy:v}=(0,r.nI)(),g=(0,i.KR)(null),m=(0,i.KR)(null),y=(0,i.KR)(null),_=(0,r.EW)((()=>!0!==e.disable&&!1!==e.ripple&&Object.assign({keyCodes:[13,32],early:!0},!0===e.ripple?{}:e.ripple))),b=(0,r.EW)((()=>p.currentModel.value===e.name)),x=(0,r.EW)((()=>"q-tab relative-position self-stretch flex flex-center text-center"+(!0===b.value?" q-tab--active"+(p.tabProps.value.activeClass?" "+p.tabProps.value.activeClass:"")+(p.tabProps.value.activeColor?` text-${p.tabProps.value.activeColor}`:"")+(p.tabProps.value.activeBgColor?` bg-${p.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&!1===p.tabProps.value.inlineLabel?" q-tab--full":"")+(!0===e.noCaps||!0===p.tabProps.value.noCaps?" q-tab--no-caps":"")+(!0===e.disable?" disabled":" q-focusable q-hoverable cursor-pointer")+(void 0!==f?f.linkClass.value:""))),w=(0,r.EW)((()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(!0===p.tabProps.value.inlineLabel?"row no-wrap q-tab__content--inline":"column")+(void 0!==e.contentClass?` ${e.contentClass}`:""))),S=(0,r.EW)((()=>!0===e.disable||!0===p.hasFocus.value||!1===b.value&&!0===p.hasActiveTab.value?-1:e.tabindex||0));function k(t,r){if(!0!==r&&null!==g.value&&g.value.focus(),!0!==e.disable){if(void 0===f)return p.updateModel({name:e.name}),void n("click",t);if(!0===f.hasRouterLink.value){const r=(n={})=>{let r;const i=void 0===n.to||!0===(0,h.Hv)(n.to,e.to)?p.avoidRouteWatcher=(0,d.A)():null;return f.navigateToRouterLink(t,{...n,returnRouterError:!0}).catch((e=>{r=e})).then((t=>{if(i===p.avoidRouteWatcher&&(p.avoidRouteWatcher=!1,void 0===r&&(void 0===t||void 0!==t.message&&!0===t.message.startsWith("Avoided redundant navigation"))&&p.updateModel({name:e.name})),!0===n.returnRouterError)return void 0!==r?Promise.reject(r):t}))};return n("click",t,r),void(!0!==t.defaultPrevented&&r())}n("click",t)}else void 0!==f&&!0===f.hasRouterLink.value&&(0,c.Gu)(t)}function C(e){(0,l.Dv)(e,[13,32])?k(e,!0):!0!==(0,l.JL)(e)&&e.keyCode>=35&&e.keyCode<=40&&!0!==e.altKey&&!0!==e.metaKey&&!0===p.onKbdNavigate(e.keyCode,v.$el)&&(0,c.Gu)(e),n("keydown",e)}function A(){const n=p.tabProps.value.narrowIndicator,i=[],a=(0,r.h)("div",{ref:y,class:["q-tab__indicator",p.tabProps.value.indicatorClass]});void 0!==e.icon&&i.push((0,r.h)(o.A,{class:"q-tab__icon",name:e.icon})),void 0!==e.label&&i.push((0,r.h)("div",{class:"q-tab__label"},e.label)),!1!==e.alert&&i.push(void 0!==e.alertIcon?(0,r.h)(o.A,{class:"q-tab__alert-icon",color:!0!==e.alert?e.alert:void 0,name:e.alertIcon}):(0,r.h)("div",{class:"q-tab__alert"+(!0!==e.alert?` text-${e.alert}`:"")})),!0===n&&i.push(a);const l=[(0,r.h)("div",{class:"q-focus-helper",tabindex:-1,ref:g}),(0,r.h)("div",{class:w.value},(0,s.Hp)(t.default,i))];return!1===n&&l.push(a),l}const T={name:(0,r.EW)((()=>e.name)),rootRef:m,tabIndicatorRef:y,routeData:f};function E(t,n){const i={ref:m,class:x.value,tabindex:S.value,role:"tab","aria-selected":!0===b.value?"true":"false","aria-disabled":!0===e.disable?"true":void 0,onClick:k,onKeydown:C,...n};return(0,r.bo)((0,r.h)(t,i,A()),[[a.A,_.value]])}return(0,r.xo)((()=>{p.unregisterTab(T)})),(0,r.sV)((()=>{p.registerTab(T)})),{renderTab:E,$tabs:p}}var m=n(9467);const y=(0,m.a0)({name:"QTab",props:v,emits:p,setup(e,{slots:t,emit:n}){const{renderTab:r}=g(e,t,n);return()=>r("div")}})},2980:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(1758),i=n(8734),o=n(492),a=n(1096),s=n(6019),l=n(4667),u=n(9467),c=n(5139),d=n(7973),h=n(4897);function f(e,t,n){const r=!0===n?["left","right"]:["top","bottom"];return`absolute-${!0===t?r[0]:r[1]}${e?` text-${e}`:""}`}const p=["left","center","right","justify"],v=(0,u.a0)({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>p.includes(e)},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,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:n}){const{proxy:u}=(0,r.nI)(),{$q:p}=u,{registerTick:v}=(0,s.A)(),{registerTick:g}=(0,s.A)(),{registerTick:m}=(0,s.A)(),{registerTimeout:y,removeTimeout:_}=(0,l.A)(),{registerTimeout:b,removeTimeout:x}=(0,l.A)(),w=(0,i.KR)(null),S=(0,i.KR)(null),k=(0,i.KR)(e.modelValue),C=(0,i.KR)(!1),A=(0,i.KR)(!0),T=(0,i.KR)(!1),E=(0,i.KR)(!1),M=[],I=(0,i.KR)(0),D=(0,i.KR)(!1);let R,L=null,O=null;const P=(0,r.EW)((()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:f(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps}))),z=(0,r.EW)((()=>{const e=I.value,t=k.value;for(let n=0;n<e;n++)if(M[n].name.value===t)return!0;return!1})),B=(0,r.EW)((()=>{const t=!0===C.value?"left":!0===E.value?"justify":e.align;return`q-tabs__content--align-${t}`})),N=(0,r.EW)((()=>`q-tabs row no-wrap items-center q-tabs--${!0===C.value?"":"not-"}scrollable q-tabs--`+(!0===e.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===e.outsideArrows?"outside":"inside")+` q-tabs--mobile-with${!0===e.mobileArrows?"":"out"}-arrows`+(!0===e.dense?" q-tabs--dense":"")+(!0===e.shrink?" col-shrink":"")+(!0===e.stretch?" self-stretch":""))),F=(0,r.EW)((()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+B.value+(void 0!==e.contentClass?` ${e.contentClass}`:""))),q=(0,r.EW)((()=>!0===e.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"})),W=(0,r.EW)((()=>!0!==e.vertical&&!0===p.lang.rtl)),G=(0,r.EW)((()=>!1===h.E&&!0===W.value));function V({name:t,setCurrent:r,skipEmit:i}){k.value!==t&&(!0!==i&&void 0!==e["onUpdate:modelValue"]&&n("update:modelValue",t),!0!==r&&void 0!==e["onUpdate:modelValue"]||($(k.value,t),k.value=t))}function H(){v((()=>{j({width:w.value.offsetWidth,height:w.value.offsetHeight})}))}function j(t){if(void 0===q.value||null===S.value)return;const n=t[q.value.container],r=Math.min(S.value[q.value.scroll],Array.prototype.reduce.call(S.value.children,((e,t)=>e+(t[q.value.content]||0)),0)),i=n>0&&r>n;C.value=i,!0===i&&g(K),E.value=n<parseInt(e.breakpoint,10)}function $(t,n){const r=void 0!==t&&null!==t&&""!==t?M.find((e=>e.name.value===t)):null,i=void 0!==n&&null!==n&&""!==n?M.find((e=>e.name.value===n)):null;if(!0===fe)fe=!1;else if(r&&i){const t=r.tabIndicatorRef.value,n=i.tabIndicatorRef.value;null!==L&&(clearTimeout(L),L=null),t.style.transition="none",t.style.transform="none",n.style.transition="none",n.style.transform="none";const o=t.getBoundingClientRect(),a=n.getBoundingClientRect();n.style.transform=!0===e.vertical?`translate3d(0,${o.top-a.top}px,0) scale3d(1,${a.height?o.height/a.height:1},1)`:`translate3d(${o.left-a.left}px,0,0) scale3d(${a.width?o.width/a.width:1},1,1)`,m((()=>{L=setTimeout((()=>{L=null,n.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",n.style.transform="none"}),70)}))}i&&!0===C.value&&U(i.rootRef.value)}function U(t){const{left:n,width:r,top:i,height:o}=S.value.getBoundingClientRect(),a=t.getBoundingClientRect();let s=!0===e.vertical?a.top-i:a.left-n;if(s<0)return S.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.floor(s),void K();s+=!0===e.vertical?a.height-o:a.width-r,s>0&&(S.value[!0===e.vertical?"scrollTop":"scrollLeft"]+=Math.ceil(s),K())}function K(){const t=S.value;if(null===t)return;const n=t.getBoundingClientRect(),r=!0===e.vertical?t.scrollTop:Math.abs(t.scrollLeft);!0===W.value?(A.value=Math.ceil(r+n.width)<t.scrollWidth-1,T.value=r>0):(A.value=r>0,T.value=!0===e.vertical?Math.ceil(r+n.height)<t.scrollHeight:Math.ceil(r+n.width)<t.scrollWidth)}function X(e){null!==O&&clearInterval(O),O=setInterval((()=>{!0===te(e)&&Q()}),5)}function Y(){X(!0===G.value?Number.MAX_SAFE_INTEGER:0)}function Z(){X(!0===G.value?0:Number.MAX_SAFE_INTEGER)}function Q(){null!==O&&(clearInterval(O),O=null)}function J(t,n){const r=Array.prototype.filter.call(S.value.children,(e=>e===n||e.matches&&!0===e.matches(".q-tab.q-focusable"))),i=r.length;if(0===i)return;if(36===t)return U(r[0]),r[0].focus(),!0;if(35===t)return U(r[i-1]),r[i-1].focus(),!0;const o=t===(!0===e.vertical?38:37),a=t===(!0===e.vertical?40:39),s=!0===o?-1:!0===a?1:void 0;if(void 0!==s){const e=!0===W.value?-1:1,t=r.indexOf(n)+s*e;return t>=0&&t<i&&(U(r[t]),r[t].focus({preventScroll:!0})),!0}}(0,r.wB)(W,K),(0,r.wB)((()=>e.modelValue),(e=>{V({name:e,setCurrent:!0,skipEmit:!0})})),(0,r.wB)((()=>e.outsideArrows),H);const ee=(0,r.EW)((()=>!0===G.value?{get:e=>Math.abs(e.scrollLeft),set:(e,t)=>{e.scrollLeft=-t}}:!0===e.vertical?{get:e=>e.scrollTop,set:(e,t)=>{e.scrollTop=t}}:{get:e=>e.scrollLeft,set:(e,t)=>{e.scrollLeft=t}}));function te(e){const t=S.value,{get:n,set:r}=ee.value;let i=!1,o=n(t);const a=e<o?-1:1;return o+=5*a,o<0?(i=!0,o=0):(-1===a&&o<=e||1===a&&o>=e)&&(i=!0,o=e),r(t,o),K(),i}function ne(e,t){for(const n in e)if(e[n]!==t[n])return!1;return!0}function re(){let e=null,t={matchedLen:0,queryDiff:9999,hrefLen:0};const n=M.filter((e=>void 0!==e.routeData&&!0===e.routeData.hasRouterLink.value)),{hash:r,query:i}=u.$route,o=Object.keys(i).length;for(const a of n){const n=!0===a.routeData.exact.value;if(!0!==a.routeData[!0===n?"linkIsExactActive":"linkIsActive"].value)continue;const{hash:s,query:l,matched:u,href:c}=a.routeData.resolvedLink.value,d=Object.keys(l).length;if(!0===n){if(s!==r)continue;if(d!==o||!1===ne(i,l))continue;e=a.name.value;break}if(""!==s&&s!==r)continue;if(0!==d&&!1===ne(l,i))continue;const h={matchedLen:u.length,queryDiff:o-d,hrefLen:c.length-s.length};if(h.matchedLen>t.matchedLen)e=a.name.value,t=h;else if(h.matchedLen===t.matchedLen){if(h.queryDiff<t.queryDiff)e=a.name.value,t=h;else if(h.queryDiff!==t.queryDiff)continue;h.hrefLen>t.hrefLen&&(e=a.name.value,t=h)}}null!==e||!0!==M.some((e=>void 0===e.routeData&&e.name.value===k.value))?V({name:e,setCurrent:!0}):fe=!1}function ie(e){if(_(),!0!==D.value&&null!==w.value&&e.target&&"function"===typeof e.target.closest){const t=e.target.closest(".q-tab");t&&!0===w.value.contains(t)&&(D.value=!0,!0===C.value&&U(t))}}function oe(){y((()=>{D.value=!1}),30)}function ae(){!1===ce.avoidRouteWatcher?b(re):x()}function se(){if(void 0===R){const e=(0,r.wB)((()=>u.$route.fullPath),ae);R=()=>{e(),R=void 0}}}function le(e){M.push(e),I.value++,H(),void 0===e.routeData||void 0===u.$route?b((()=>{if(!0===C.value){const e=k.value,t=void 0!==e&&null!==e&&""!==e?M.find((t=>t.name.value===e)):null;t&&U(t.rootRef.value)}})):(se(),!0===e.routeData.hasRouterLink.value&&ae())}function ue(e){M.splice(M.indexOf(e),1),I.value--,H(),void 0!==R&&void 0!==e.routeData&&(!0===M.every((e=>void 0===e.routeData))&&R(),ae())}const ce={currentModel:k,tabProps:P,hasFocus:D,hasActiveTab:z,registerTab:le,unregisterTab:ue,verifyRouteModel:ae,updateModel:V,onKbdNavigate:J,avoidRouteWatcher:!1};function de(){null!==L&&clearTimeout(L),Q(),void 0!==R&&R()}let he,fe;return(0,r.Gt)(d.Uv,ce),(0,r.xo)(de),(0,r.Y4)((()=>{he=void 0!==R,de()})),(0,r.n)((()=>{!0===he&&(se(),fe=!0,ae()),H()})),()=>(0,r.h)("div",{ref:w,class:N.value,role:"tablist",onFocusin:ie,onFocusout:oe},[(0,r.h)(a.A,{onResize:j}),(0,r.h)("div",{ref:S,class:F.value,onScroll:K},(0,c.zm)(t.default)),(0,r.h)(o.A,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(!0===A.value?"":" q-tabs__arrow--faded"),name:e.leftIcon||p.iconSet.tabs[!0===e.vertical?"up":"left"],onMousedownPassive:Y,onTouchstartPassive:Y,onMouseupPassive:Q,onMouseleavePassive:Q,onTouchendPassive:Q}),(0,r.h)(o.A,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(!0===T.value?"":" q-tabs__arrow--faded"),name:e.rightIcon||p.iconSet.tabs[!0===e.vertical?"down":"right"],onMousedownPassive:Z,onTouchstartPassive:Z,onMouseupPassive:Q,onMouseleavePassive:Q,onTouchendPassive:Q})])}})},6908:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1758),i=n(492),o=n(3),a=n(9467);const s=(0,a.a0)({name:"QToggle",props:{...o.jh,icon:String,iconColor:String},emits:o.LA,setup(e){function t(t,n){const o=(0,r.EW)((()=>(!0===t.value?e.checkedIcon:!0===n.value?e.indeterminateIcon:e.uncheckedIcon)||e.icon)),a=(0,r.EW)((()=>!0===t.value?e.iconColor:null));return()=>[(0,r.h)("div",{class:"q-toggle__track"}),(0,r.h)("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},void 0!==o.value?[(0,r.h)(i.A,{name:o.value,color:a.value})]:void 0)]}return(0,o.Ay)("toggle",t)}})},6914:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1758),i=n(9467),o=n(5139);const a=(0,i.a0)({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const n=(0,r.EW)((()=>"q-toolbar row no-wrap items-center"+(!0===e.inset?" q-toolbar--inset":"")));return()=>(0,r.h)("div",{class:n.value,role:"toolbar"},(0,o.zm)(t.default))}})},7410:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(1758),i=n(8734),o=n(9104),a=n(3746),s=n(8842),l=n(2916),u=n(2120),c=n(454),d=n(6019),h=n(4667),f=n(9467),p=n(8336),v=n(2500),g=n(2941),m=n(5139),y=n(2257),_=n(385);const b=(0,f.a0)({name:"QTooltip",inheritAttrs:!1,props:{...a.Tq,...l.RI,...c.d,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...c.d.transitionShow,default:"jump-down"},transitionHide:{...c.d.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:_.o3},self:{type:String,default:"top middle",validator:_.o3},offset:{type:Array,default:()=>[14,14],validator:_.aC},scrollTarget:p.cP,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...l.Jl],setup(e,{slots:t,emit:n,attrs:f}){let b,x;const w=(0,r.nI)(),{proxy:{$q:S}}=w,k=(0,i.KR)(null),C=(0,i.KR)(!1),A=(0,r.EW)((()=>(0,_.rk)(e.anchor,S.lang.rtl))),T=(0,r.EW)((()=>(0,_.rk)(e.self,S.lang.rtl))),E=(0,r.EW)((()=>!0!==e.persistent)),{registerTick:M,removeTick:I}=(0,d.A)(),{registerTimeout:D}=(0,h.A)(),{transitionProps:R,transitionStyle:L}=(0,c.A)(e),{localScrollTarget:O,changeScrollEvent:P,unconfigureScrollTarget:z}=(0,s.A)(e,Q),{anchorEl:B,canShow:N,anchorEvents:F}=(0,a.Ay)({showing:C,configureAnchorEl:Z}),{show:q,hide:W}=(0,l.Ay)({showing:C,canShow:N,handleShow:j,handleHide:$,hideOnRouteChange:E,processOnMount:!0});Object.assign(F,{delayShow:X,delayHide:Y});const{showPortal:G,hidePortal:V,renderPortal:H}=(0,u.A)(w,k,ee,"tooltip");if(!0===S.platform.is.mobile){const t={anchorEl:B,innerRef:k,onClickOutside(e){return W(e),e.target.classList.contains("q-dialog__backdrop")&&(0,v.Gu)(e),!0}},n=(0,r.EW)((()=>null===e.modelValue&&!0!==e.persistent&&!0===C.value));(0,r.wB)(n,(e=>{const n=!0===e?y.r:y.e;n(t)})),(0,r.xo)((()=>{(0,y.e)(t)}))}function j(t){G(),M((()=>{x=new MutationObserver((()=>K())),x.observe(k.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),K(),Q()})),void 0===b&&(b=(0,r.wB)((()=>S.screen.width+"|"+S.screen.height+"|"+e.self+"|"+e.anchor+"|"+S.lang.rtl),K)),D((()=>{G(!0),n("show",t)}),e.transitionDuration)}function $(t){I(),V(),U(),D((()=>{V(!0),n("hide",t)}),e.transitionDuration)}function U(){void 0!==x&&(x.disconnect(),x=void 0),void 0!==b&&(b(),b=void 0),z(),(0,v.Fh)(F,"tooltipTemp")}function K(){(0,_.Kk)({targetEl:k.value,offset:e.offset,anchorEl:B.value,anchorOrigin:A.value,selfOrigin:T.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function X(t){if(!0===S.platform.is.mobile){(0,g.w)(),document.body.classList.add("non-selectable");const e=B.value,t=["touchmove","touchcancel","touchend","click"].map((t=>[e,t,"delayHide","passiveCapture"]));(0,v.Z4)(F,"tooltipTemp",t)}D((()=>{q(t)}),e.delay)}function Y(t){!0===S.platform.is.mobile&&((0,v.Fh)(F,"tooltipTemp"),(0,g.w)(),setTimeout((()=>{document.body.classList.remove("non-selectable")}),10)),D((()=>{W(t)}),e.hideDelay)}function Z(){if(!0===e.noParentEvent||null===B.value)return;const t=!0===S.platform.is.mobile?[[B.value,"touchstart","delayShow","passive"]]:[[B.value,"mouseenter","delayShow","passive"],[B.value,"mouseleave","delayHide","passive"]];(0,v.Z4)(F,"anchor",t)}function Q(){if(null!==B.value||void 0!==e.scrollTarget){O.value=(0,p.hD)(B.value,e.scrollTarget);const t=!0===e.noParentEvent?K:W;P(O.value,t)}}function J(){return!0===C.value?(0,r.h)("div",{...f,ref:k,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",f.class],style:[f.style,L.value],role:"tooltip"},(0,m.zm)(t.default)):null}function ee(){return(0,r.h)(o.eB,R.value,J)}return(0,r.xo)(U),Object.assign(w.proxy,{updatePosition:K}),H}})},7567:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(1758),i=n(8734),o=n(9104),a=n(492),s=n(460),l=n(9467);const u=(0,l.a0)({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(e,{slots:t,emit:n}){let i,a,s,l,u=!1,c=null,d=null;function h(){i&&i(),i=null,u=!1,null!==c&&(clearTimeout(c),c=null),null!==d&&(clearTimeout(d),d=null),void 0!==a&&a.removeEventListener("transitionend",s),s=null}function f(t,n,r){void 0!==n&&(t.style.height=`${n}px`),t.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,u=!0,i=r}function p(e,t){e.style.overflowY=null,e.style.height=null,e.style.transition=null,h(),t!==l&&n(t)}function v(t,n){let r=0;a=t,!0===u?(h(),r=t.offsetHeight===t.scrollHeight?0:void 0):(l="hide",t.style.overflowY="hidden"),f(t,r,n),c=setTimeout((()=>{c=null,t.style.height=`${t.scrollHeight}px`,s=e=>{d=null,Object(e)===e&&e.target!==t||p(t,"show")},t.addEventListener("transitionend",s),d=setTimeout(s,1.1*e.duration)}),100)}function g(t,n){let r;a=t,!0===u?h():(l="show",t.style.overflowY="hidden",r=t.scrollHeight),f(t,r,n),c=setTimeout((()=>{c=null,t.style.height=0,s=e=>{d=null,Object(e)===e&&e.target!==t||p(t,"hide")},t.addEventListener("transitionend",s),d=setTimeout(s,1.1*e.duration)}),100)}return(0,r.xo)((()=>{!0===u&&h()})),()=>(0,r.h)(o.eB,{css:!1,appear:e.appear,onEnter:v,onLeave:g},t.default)}});var c=n(8210),d=n(6372),h=n(2500),f=n(2906),p=n(2453);const v=["none","strict","leaf","leaf-filtered"],g=(0,l.a0)({name:"QTree",props:{...d.C,nodes:{type:Array,required:!0},nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},childrenKey:{type:String,default:"children"},dense:Boolean,color:String,controlColor:String,textColor:String,selectedColor:String,icon:String,tickStrategy:{type:String,default:"none",validator:e=>v.includes(e)},ticked:Array,expanded:Array,selected:{},noSelectionUnset:Boolean,defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:Function,duration:{},noConnectors:Boolean,noTransition:Boolean,noNodesLabel:String,noResultsLabel:String},emits:["update:expanded","update:ticked","update:selected","lazyLoad","afterShow","afterHide"],setup(e,{slots:t,emit:n}){const{proxy:l}=(0,r.nI)(),{$q:v}=l,g=(0,d.A)(e,v),m=(0,i.KR)({}),y=(0,i.KR)(e.ticked||[]),_=(0,i.KR)(e.expanded||[]);let b={};(0,r.Ic)((()=>{b={}}));const x=(0,r.EW)((()=>"q-tree q-tree--"+(!0===e.dense?"dense":"standard")+(!0===e.noConnectors?" q-tree--no-connectors":"")+(!0===g.value?" q-tree--dark":"")+(void 0!==e.color?` text-${e.color}`:""))),w=(0,r.EW)((()=>void 0!==e.selected)),S=(0,r.EW)((()=>e.icon||v.iconSet.tree.icon)),k=(0,r.EW)((()=>e.controlColor||e.color)),C=(0,r.EW)((()=>void 0!==e.textColor?` text-${e.textColor}`:"")),A=(0,r.EW)((()=>{const t=e.selectedColor||e.color;return t?` text-${t}`:""})),T=(0,r.EW)((()=>void 0!==e.filterMethod?e.filterMethod:(t,n)=>{const r=n.toLowerCase();return t[e.labelKey]&&-1!==t[e.labelKey].toLowerCase().indexOf(r)})),E=(0,r.EW)((()=>{const t={},n=(r,i)=>{const o=r.tickStrategy||(i?i.tickStrategy:e.tickStrategy),a=r[e.nodeKey],s=r[e.childrenKey]&&Array.isArray(r[e.childrenKey])&&0!==r[e.childrenKey].length,l=!0!==r.disabled&&!0===w.value&&!1!==r.selectable,u=!0!==r.disabled&&!1!==r.expandable,c="none"!==o,d="strict"===o,h="leaf-filtered"===o,f="leaf"===o||"leaf-filtered"===o;let p=!0!==r.disabled&&!1!==r.tickable;!0===f&&!0===p&&i&&!0!==i.tickable&&(p=!1);let v=r.lazy;!0===v&&void 0!==m.value[a]&&!0===Array.isArray(r[e.childrenKey])&&(v=m.value[a]);const g={key:a,parent:i,isParent:s,lazy:v,disabled:r.disabled,link:!0!==r.disabled&&(!0===l||!0===u&&(!0===s||!0===v)),children:[],matchesFilter:!e.filter||T.value(r,e.filter),selected:a===e.selected&&!0===l,selectable:l,expanded:!0===s&&_.value.includes(a),expandable:u,noTick:!0===r.noTick||!0!==d&&v&&"loaded"!==v,tickable:p,tickStrategy:o,hasTicking:c,strictTicking:d,leafFilteredTicking:h,leafTicking:f,ticked:(!0===d||!0!==s)&&y.value.includes(a)};if(t[a]=g,!0===s&&(g.children=r[e.childrenKey].map((e=>n(e,g))),e.filter&&(!0!==g.matchesFilter?g.matchesFilter=g.children.some((e=>e.matchesFilter)):!0!==g.noTick&&!0!==g.disabled&&!0===g.tickable&&!0===h&&!0===g.children.every((e=>!0!==e.matchesFilter||!0===e.noTick||!0!==e.tickable))&&(g.tickable=!1)),!0===g.matchesFilter&&(!0!==g.noTick&&!0!==d&&!0===g.children.every((e=>e.noTick))&&(g.noTick=!0),f))){if(g.ticked=!1,g.indeterminate=g.children.some((e=>!0===e.indeterminate)),g.tickable=!0===g.tickable&&g.children.some((e=>e.tickable)),!0!==g.indeterminate){const e=g.children.reduce(((e,t)=>!0===t.ticked?e+1:e),0);e===g.children.length?g.ticked=!0:e>0&&(g.indeterminate=!0)}!0===g.indeterminate&&(g.indeterminateNextState=g.children.every((e=>!0!==e.tickable||!0!==e.ticked)))}return g};return e.nodes.forEach((e=>n(e,null))),t}));function M(t){const n=[].reduce,r=(i,o)=>i||!o?i:!0===Array.isArray(o)?n.call(Object(o),r,i):o[e.nodeKey]===t?o:o[e.childrenKey]?r(null,o[e.childrenKey]):void 0;return r(null,e.nodes)}function I(){return y.value.map((e=>M(e)))}function D(){return _.value.map((e=>M(e)))}function R(e){return!(!e||!E.value[e])&&E.value[e].expanded}function L(){void 0!==e.expanded?n("update:expanded",[]):_.value=[]}function O(){const t=[],r=n=>{n[e.childrenKey]&&0!==n[e.childrenKey].length&&!1!==n.expandable&&!0!==n.disabled&&(t.push(n[e.nodeKey]),n[e.childrenKey].forEach(r))};e.nodes.forEach(r),void 0!==e.expanded?n("update:expanded",t):_.value=t}function P(t,i,o=M(t),a=E.value[t]){if(a.lazy&&"loaded"!==a.lazy){if("loading"===a.lazy)return;m.value[t]="loading",!0!==Array.isArray(o[e.childrenKey])&&(o[e.childrenKey]=[]),n("lazyLoad",{node:o,key:t,done:n=>{m.value[t]="loaded",o[e.childrenKey]=!0===Array.isArray(n)?n:[],(0,r.dY)((()=>{const e=E.value[t];e&&!0===e.isParent&&z(t,!0)}))},fail:()=>{delete m.value[t],0===o[e.childrenKey].length&&delete o[e.childrenKey]}})}else!0===a.isParent&&!0===a.expandable&&z(t,i)}function z(t,r){let i=_.value;const o=void 0!==e.expanded;if(!0===o&&(i=i.slice()),r){if(e.accordion&&E.value[t]){const n=[];E.value[t].parent?E.value[t].parent.children.forEach((e=>{e.key!==t&&!0===e.expandable&&n.push(e.key)})):e.nodes.forEach((r=>{const i=r[e.nodeKey];i!==t&&n.push(i)})),0!==n.length&&(i=i.filter((e=>!1===n.includes(e))))}i=i.concat([t]).filter(((e,t,n)=>n.indexOf(e)===t))}else i=i.filter((e=>e!==t));!0===o?n("update:expanded",i):_.value=i}function B(e){return!(!e||!E.value[e])&&E.value[e].ticked}function N(t,r){let i=y.value;const o=void 0!==e.ticked;!0===o&&(i=i.slice()),i=r?i.concat(t).filter(((e,t,n)=>n.indexOf(e)===t)):i.filter((e=>!1===t.includes(e))),!0===o&&n("update:ticked",i)}function F(t,n,r){const i={tree:l,node:t,key:r,color:e.color,dark:g.value};return(0,p.$)(i,"expanded",(()=>n.expanded),(e=>{e!==n.expanded&&P(r,e)})),(0,p.$)(i,"ticked",(()=>n.ticked),(e=>{e!==n.ticked&&N([r],e)})),i}function q(t){return(e.filter?t.filter((t=>E.value[t[e.nodeKey]].matchesFilter)):t).map((e=>H(e)))}function W(e){if(void 0!==e.icon)return(0,r.h)(a.A,{class:"q-tree__icon q-mr-sm",name:e.icon,color:e.iconColor});const t=e.img||e.avatar;return t?(0,r.h)("img",{class:`q-tree__${e.img?"img":"avatar"} q-mr-sm`,src:t}):void 0}function G(){n("afterShow")}function V(){n("afterHide")}function H(n){const i=n[e.nodeKey],l=E.value[i],d=n.header&&t[`header-${n.header}`]||t["default-header"],p=!0===l.isParent?q(n[e.childrenKey]):[],v=0!==p.length||l.lazy&&"loaded"!==l.lazy;let m=n.body&&t[`body-${n.body}`]||t["default-body"];const y=void 0!==d||void 0!==m?F(n,l,i):null;return void 0!==m&&(m=(0,r.h)("div",{class:"q-tree__node-body relative-position"},[(0,r.h)("div",{class:C.value},[m(y)])])),(0,r.h)("div",{key:i,class:"q-tree__node relative-position q-tree__node--"+(!0===v?"parent":"child")},[(0,r.h)("div",{class:"q-tree__node-header relative-position row no-wrap items-center"+(!0===l.link?" q-tree__node--link q-hoverable q-focusable":"")+(!0===l.selected?" q-tree__node--selected":"")+(!0===l.disabled?" q-tree__node--disabled":""),tabindex:!0===l.link?0:-1,ariaExpanded:p.length>0?l.expanded:null,role:"treeitem",onClick:e=>{$(n,l,e)},onKeypress(e){!0!==(0,f.JL)(e)&&(13===e.keyCode?$(n,l,e,!0):32===e.keyCode&&U(n,l,e,!0))}},[(0,r.h)("div",{class:"q-focus-helper",tabindex:-1,ref:e=>{b[l.key]=e}}),"loading"===l.lazy?(0,r.h)(c.A,{class:"q-tree__spinner",color:k.value}):!0===v?(0,r.h)(a.A,{class:"q-tree__arrow"+(!0===l.expanded?" q-tree__arrow--rotate":""),name:S.value,onClick(e){U(n,l,e)}}):null,!0===l.hasTicking&&!0!==l.noTick?(0,r.h)(s.A,{class:"q-tree__tickbox",modelValue:!0===l.indeterminate?null:l.ticked,color:k.value,dark:g.value,dense:!0,keepColor:!0,disable:!0!==l.tickable,onKeydown:h.Gu,"onUpdate:modelValue":e=>{K(l,e)}}):null,(0,r.h)("div",{class:"q-tree__node-header-content col row no-wrap items-center"+(!0===l.selected?A.value:C.value)},[d?d(y):[W(n),(0,r.h)("div",n[e.labelKey])]])]),!0===v?!0===e.noTransition?!0===l.expanded?(0,r.h)("div",{class:"q-tree__node-collapsible"+C.value,key:`${i}__q`},[m,(0,r.h)("div",{class:"q-tree__children"+(!0===l.disabled?" q-tree__node--disabled":""),role:"group"},p)]):null:(0,r.h)(u,{duration:e.duration,onShow:G,onHide:V},(()=>(0,r.bo)((0,r.h)("div",{class:"q-tree__node-collapsible"+C.value,key:`${i}__q`},[m,(0,r.h)("div",{class:"q-tree__children"+(!0===l.disabled?" q-tree__node--disabled":""),role:"group"},p)]),[[o.aG,l.expanded]]))):m])}function j(e){const t=b[e];t&&t.focus()}function $(t,r,i,o){!0!==o&&!1!==r.selectable&&j(r.key),w.value&&r.selectable?!1===e.noSelectionUnset?n("update:selected",r.key!==e.selected?r.key:null):r.key!==e.selected&&n("update:selected",void 0===r.key?null:r.key):U(t,r,i,o),"function"===typeof t.handler&&t.handler(t)}function U(e,t,n,r){void 0!==n&&(0,h.Gu)(n),!0!==r&&!1!==t.selectable&&j(t.key),P(t.key,!t.expanded,e,t)}function K(e,t){if(!0===e.indeterminate&&(t=e.indeterminateNextState),e.strictTicking)N([e.key],t);else if(e.leafTicking){const n=[],r=e=>{e.isParent?(!0!==t&&!0!==e.noTick&&!0===e.tickable&&n.push(e.key),!0===e.leafTicking&&e.children.forEach(r)):!0===e.noTick||!0!==e.tickable||!0===e.leafFilteredTicking&&!0!==e.matchesFilter||n.push(e.key)};r(e),N(n,t)}}return(0,r.wB)((()=>e.ticked),(e=>{y.value=e})),(0,r.wB)((()=>e.expanded),(e=>{_.value=e})),!0===e.defaultExpandAll&&O(),Object.assign(l,{getNodeByKey:M,getTickedNodes:I,getExpandedNodes:D,isExpanded:R,collapseAll:L,expandAll:O,setExpanded:P,isTicked:B,setTicked:N}),()=>{const t=q(e.nodes);return(0,r.h)("div",{class:x.value,role:"tree"},0===t.length?e.filter?e.noResultsLabel||v.lang.tree.noResults:e.noNodesLabel||v.lang.tree.noNodes:t)}}})},1298:(e,t,n)=>{"use strict";n.d(t,{A:()=>H});var r=n(1758),i=n(8734),o=n(6384),a=n(492),s=n(8210),l=n(1906);const u={...l.x_,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,rounded:Boolean,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean};var c=n(9467),d=n(5139),h=n(2732);const f=50,p=2*f,v=p*Math.PI,g=Math.round(1e3*v)/1e3,m=(0,c.a0)({name:"QCircularProgress",props:{...u,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=(0,r.nI)(),i=(0,l.Ay)(e),o=(0,r.EW)((()=>{const t=(!0===n.lang.rtl?-1:1)*e.angle;return{transform:e.reverse!==(!0===n.lang.rtl)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-t}deg)`:`rotate3d(0, 0, 1, ${t-90}deg)`}})),a=(0,r.EW)((()=>!0!==e.instantFeedback&&!0!==e.indeterminate?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:"")),s=(0,r.EW)((()=>p/(1-e.thickness/2))),u=(0,r.EW)((()=>`${s.value/2} ${s.value/2} ${s.value} ${s.value}`)),c=(0,r.EW)((()=>(0,h.Tq)(e.value,e.min,e.max))),m=(0,r.EW)((()=>e.max-e.min)),y=(0,r.EW)((()=>e.thickness/2*s.value)),_=(0,r.EW)((()=>{const t=(e.max-c.value)/m.value,n=!0===e.rounded&&c.value<e.max&&t<.25?y.value/2*(1-t/.25):0;return v*t+n}));function b({thickness:e,offset:t,color:n,cls:i,rounded:o}){return(0,r.h)("circle",{class:"q-circular-progress__"+i+(void 0!==n?` text-${n}`:""),style:a.value,fill:"transparent",stroke:"currentColor","stroke-width":e,"stroke-dasharray":g,"stroke-dashoffset":t,"stroke-linecap":o,cx:s.value,cy:s.value,r:f})}return()=>{const n=[];void 0!==e.centerColor&&"transparent"!==e.centerColor&&n.push((0,r.h)("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:f-y.value/2,cx:s.value,cy:s.value})),void 0!==e.trackColor&&"transparent"!==e.trackColor&&n.push(b({cls:"track",thickness:y.value,offset:0,color:e.trackColor})),n.push(b({cls:"circle",thickness:y.value,offset:_.value,color:e.color,rounded:!0===e.rounded?"round":void 0}));const a=[(0,r.h)("svg",{class:"q-circular-progress__svg",style:o.value,viewBox:u.value,"aria-hidden":"true"},n)];return!0===e.showValue&&a.push((0,r.h)("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},void 0!==t.default?t.default():[(0,r.h)("div",c.value)])),(0,r.h)("div",{class:`q-circular-progress q-circular-progress--${!0===e.indeterminate?"in":""}determinate`,style:i.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":!0===e.indeterminate?void 0:c.value},(0,d.bG)(t.internal,a))}}});var y=n(6372),_=n(1597),b=n(2500);function x(e,t,n,r){const i=[];return e.forEach((e=>{!0===r(e)?i.push(e):t.push({failedPropValidation:n,file:e})})),i}function w(e){e&&e.dataTransfer&&(e.dataTransfer.dropEffect="copy"),(0,b.Gu)(e)}const S={multiple:Boolean,accept:String,capture:String,maxFileSize:[Number,String],maxTotalSize:[Number,String],maxFiles:[Number,String],filter:Function},k=["rejected"];function C({editable:e,dnd:t,getFileInput:n,addFilesToQueue:o}){const{props:a,emit:s,proxy:l}=(0,r.nI)(),u=(0,i.KR)(null),c=(0,r.EW)((()=>void 0!==a.accept?a.accept.split(",").map((e=>(e=e.trim(),"*"===e?"*/":(e.endsWith("/*")&&(e=e.slice(0,e.length-1)),e.toUpperCase())))):null)),d=(0,r.EW)((()=>parseInt(a.maxFiles,10))),h=(0,r.EW)((()=>parseInt(a.maxTotalSize,10)));function f(t){if(e.value)if(t!==Object(t)&&(t={target:null}),null!==t.target&&!0===t.target.matches('input[type="file"]'))0===t.clientX&&0===t.clientY&&(0,b.ds)(t);else{const e=n();e&&e!==t.target&&e.click(t)}}function p(t){e.value&&t&&o(null,t)}function v(e,t,n,r){let i=Array.from(t||e.target.files);const o=[],l=()=>{0!==o.length&&s("rejected",o)};if(void 0!==a.accept&&-1===c.value.indexOf("*/")&&(i=x(i,o,"accept",(e=>c.value.some((t=>e.type.toUpperCase().startsWith(t)||e.name.toUpperCase().endsWith(t))))),0===i.length))return l();if(void 0!==a.maxFileSize){const e=parseInt(a.maxFileSize,10);if(i=x(i,o,"max-file-size",(t=>t.size<=e)),0===i.length)return l()}if(!0!==a.multiple&&0!==i.length&&(i=[i[0]]),i.forEach((e=>{e.__key=e.webkitRelativePath+e.lastModified+e.name+e.size})),!0===r){const e=n.map((e=>e.__key));i=x(i,o,"duplicate",(t=>!1===e.includes(t.__key)))}if(0===i.length)return l();if(void 0!==a.maxTotalSize){let e=!0===r?n.reduce(((e,t)=>e+t.size),0):0;if(i=x(i,o,"max-total-size",(t=>(e+=t.size,e<=h.value))),0===i.length)return l()}if("function"===typeof a.filter){const e=a.filter(i);i=x(i,o,"filter",(t=>e.includes(t)))}if(void 0!==a.maxFiles){let e=!0===r?n.length:0;if(i=x(i,o,"max-files",(()=>(e++,e<=d.value))),0===i.length)return l()}return l(),0!==i.length?i:void 0}function g(e){w(e),!0!==t.value&&(t.value=!0)}function m(e){(0,b.Gu)(e);const n=null!==e.relatedTarget||!0!==_.Sn.is.safari?e.relatedTarget!==u.value:!1===document.elementsFromPoint(e.clientX,e.clientY).includes(u.value);!0===n&&(t.value=!1)}function y(e){w(e);const n=e.dataTransfer.files;0!==n.length&&o(null,n),t.value=!1}function S(e){if(!0===t.value)return(0,r.h)("div",{ref:u,class:`q-${e}__dnd absolute-full`,onDragenter:w,onDragover:w,onDragleave:m,onDrop:y})}return Object.assign(l,{pickFiles:f,addFiles:p}),{pickFiles:f,addFiles:p,onDragover:g,onDragleave:m,processFiles:v,getDndNode:S,maxFilesNumber:d,maxTotalSizeNumber:h}}var A=n(7973),T=n(2453),E=n(5157);function M(e){return(100*e).toFixed(2)+"%"}const I={...y.C,...S,label:String,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,noThumbnails:Boolean,thumbnailFit:{type:String,default:"cover"},autoUpload:Boolean,hideUploadBtn:Boolean,disable:Boolean,readonly:Boolean},D=[...k,"start","finish","added","removed"];function R(e,t){const n=(0,r.nI)(),{props:l,slots:u,emit:c,proxy:d}=n,{$q:f}=d,p=(0,y.A)(l,f);function v(e,t,n){if(e.__status=t,"idle"===t)return e.__uploaded=0,e.__progress=0,e.__sizeLabel=(0,h.cO)(e.size),void(e.__progressLabel="0.00%");"failed"!==t?(e.__uploaded="uploaded"===t?e.size:n,e.__progress="uploaded"===t?1:Math.min(.9999,e.__uploaded/e.size),e.__progressLabel=M(e.__progress),d.$forceUpdate()):d.$forceUpdate()}const g=(0,r.EW)((()=>!0!==l.disable&&!0!==l.readonly)),_=(0,i.KR)(!1),x=(0,i.KR)(null),w=(0,i.KR)(null),S={files:(0,i.KR)([]),queuedFiles:(0,i.KR)([]),uploadedFiles:(0,i.KR)([]),uploadedSize:(0,i.KR)(0),updateFileStatus:v,isAlive:()=>!1===(0,E.rU)(n)},{pickFiles:k,addFiles:I,onDragover:D,onDragleave:R,processFiles:L,getDndNode:O,maxFilesNumber:P,maxTotalSizeNumber:z}=C({editable:g,dnd:_,getFileInput:Z,addFilesToQueue:Q});Object.assign(S,e({props:l,slots:u,emit:c,helpers:S,exposeApi:e=>{Object.assign(S,e)}})),void 0===S.isBusy&&(S.isBusy=(0,i.KR)(!1));const B=(0,i.KR)(0),N=(0,r.EW)((()=>0===B.value?0:S.uploadedSize.value/B.value)),F=(0,r.EW)((()=>M(N.value))),q=(0,r.EW)((()=>(0,h.cO)(B.value))),W=(0,r.EW)((()=>!0===g.value&&!0!==S.isUploading.value&&(!0===l.multiple||0===S.queuedFiles.value.length)&&(void 0===l.maxFiles||S.files.value.length<P.value)&&(void 0===l.maxTotalSize||B.value<z.value))),G=(0,r.EW)((()=>!0===g.value&&!0!==S.isBusy.value&&!0!==S.isUploading.value&&0!==S.queuedFiles.value.length));(0,r.Gt)(A.Wr,te);const V=(0,r.EW)((()=>"q-uploader column no-wrap"+(!0===p.value?" q-uploader--dark q-dark":"")+(!0===l.bordered?" q-uploader--bordered":"")+(!0===l.square?" q-uploader--square no-border-radius":"")+(!0===l.flat?" q-uploader--flat no-shadow":"")+(!0===l.disable?" disabled q-uploader--disable":"")+(!0===_.value?" q-uploader--dnd":""))),H=(0,r.EW)((()=>"q-uploader__header"+(void 0!==l.color?` bg-${l.color}`:"")+(void 0!==l.textColor?` text-${l.textColor}`:"")));function j(){!1===l.disable&&(S.abort(),S.uploadedSize.value=0,B.value=0,Y(),S.files.value=[],S.queuedFiles.value=[],S.uploadedFiles.value=[])}function $(){!1===l.disable&&K(["uploaded"],(()=>{S.uploadedFiles.value=[]}))}function U(){K(["idle","failed"],(({size:e})=>{B.value-=e,S.queuedFiles.value=[]}))}function K(e,t){if(!0===l.disable)return;const n={files:[],size:0},r=S.files.value.filter((t=>-1===e.indexOf(t.__status)||(n.size+=t.size,n.files.push(t),void 0!==t.__img&&window.URL.revokeObjectURL(t.__img.src),!1)));0!==n.files.length&&(S.files.value=r,t(n),c("removed",n.files))}function X(e){l.disable||("uploaded"===e.__status?S.uploadedFiles.value=S.uploadedFiles.value.filter((t=>t.__key!==e.__key)):"uploading"===e.__status?e.__abort():B.value-=e.size,S.files.value=S.files.value.filter((t=>t.__key!==e.__key||(void 0!==t.__img&&window.URL.revokeObjectURL(t.__img.src),!1))),S.queuedFiles.value=S.queuedFiles.value.filter((t=>t.__key!==e.__key)),c("removed",[e]))}function Y(){S.files.value.forEach((e=>{void 0!==e.__img&&window.URL.revokeObjectURL(e.__img.src)}))}function Z(){return w.value||x.value.getElementsByClassName("q-uploader__input")[0]}function Q(e,t){const n=L(e,t,S.files.value,!0),r=Z();void 0!==r&&null!==r&&(r.value=""),void 0!==n&&(n.forEach((e=>{if(S.updateFileStatus(e,"idle"),B.value+=e.size,!0!==l.noThumbnails&&e.type.toUpperCase().startsWith("IMAGE")){const t=new Image;t.src=window.URL.createObjectURL(e),e.__img=t}})),S.files.value=S.files.value.concat(n),S.queuedFiles.value=S.queuedFiles.value.concat(n),c("added",n),!0===l.autoUpload&&S.upload())}function J(){!0===G.value&&S.upload()}function ee(e,t,n){if(!0===e){const e={type:"a",key:t,icon:f.iconSet.uploader[t],flat:!0,dense:!0};let i;return"add"===t?(e.onClick=k,i=te):e.onClick=n,(0,r.h)(o.A,e,i)}}function te(){return(0,r.h)("input",{ref:w,class:"q-uploader__input overflow-hidden absolute-full",tabindex:-1,type:"file",title:"",accept:l.accept,multiple:!0===l.multiple?"multiple":void 0,capture:l.capture,onMousedown:b.ds,onClick:k,onChange:Q})}function ne(){return void 0!==u.header?u.header(ie):[(0,r.h)("div",{class:"q-uploader__header-content column"},[(0,r.h)("div",{class:"flex flex-center no-wrap q-gutter-xs"},[ee(0!==S.queuedFiles.value.length,"removeQueue",U),ee(0!==S.uploadedFiles.value.length,"removeUploaded",$),!0===S.isUploading.value?(0,r.h)(s.A,{class:"q-uploader__spinner"}):null,(0,r.h)("div",{class:"col column justify-center"},[void 0!==l.label?(0,r.h)("div",{class:"q-uploader__title"},[l.label]):null,(0,r.h)("div",{class:"q-uploader__subtitle"},[q.value+" / "+F.value])]),ee(W.value,"add"),ee(!1===l.hideUploadBtn&&!0===G.value,"upload",S.upload),ee(S.isUploading.value,"clear",S.abort)])])]}function re(){return void 0!==u.list?u.list(ie):S.files.value.map((e=>(0,r.h)("div",{key:e.__key,class:"q-uploader__file relative-position"+(!0!==l.noThumbnails&&void 0!==e.__img?" q-uploader__file--img":"")+("failed"===e.__status?" q-uploader__file--failed":"uploaded"===e.__status?" q-uploader__file--uploaded":""),style:!0!==l.noThumbnails&&void 0!==e.__img?{backgroundImage:'url("'+e.__img.src+'")',backgroundSize:l.thumbnailFit}:null},[(0,r.h)("div",{class:"q-uploader__file-header row flex-center no-wrap"},["failed"===e.__status?(0,r.h)(a.A,{class:"q-uploader__file-status",name:f.iconSet.type.negative,color:"negative"}):null,(0,r.h)("div",{class:"q-uploader__file-header-content col"},[(0,r.h)("div",{class:"q-uploader__title"},[e.name]),(0,r.h)("div",{class:"q-uploader__subtitle row items-center no-wrap"},[e.__sizeLabel+" / "+e.__progressLabel])]),"uploading"===e.__status?(0,r.h)(m,{value:e.__progress,min:0,max:1,indeterminate:0===e.__progress}):(0,r.h)(o.A,{round:!0,dense:!0,flat:!0,icon:f.iconSet.uploader["uploaded"===e.__status?"done":"clear"],onClick:()=>{X(e)}})])])))}(0,r.wB)(S.isUploading,((e,t)=>{!1===t&&!0===e?c("start"):!0===t&&!1===e&&c("finish")})),(0,r.xo)((()=>{!0===S.isUploading.value&&S.abort(),0!==S.files.value.length&&Y()}));const ie={};for(const r in S)!0===(0,i.i9)(S[r])?(0,T.$)(ie,r,(()=>S[r].value)):ie[r]=S[r];return Object.assign(ie,{upload:J,reset:j,removeUploadedFiles:$,removeQueuedFiles:U,removeFile:X,pickFiles:k,addFiles:I}),(0,T.M)(ie,{canAddFiles:()=>W.value,canUpload:()=>G.value,uploadSizeLabel:()=>q.value,uploadProgressLabel:()=>F.value}),t({...S,upload:J,reset:j,removeUploadedFiles:$,removeQueuedFiles:U,removeFile:X,pickFiles:k,addFiles:I,canAddFiles:W,canUpload:G,uploadSizeLabel:q,uploadProgressLabel:F}),()=>{const e=[(0,r.h)("div",{class:H.value},ne()),(0,r.h)("div",{class:"q-uploader__list scroll"},re()),O("uploader")];!0===S.isBusy.value&&e.push((0,r.h)("div",{class:"q-uploader__overlay absolute-full flex flex-center"},[(0,r.h)(s.A)]));const t={ref:x,class:V.value};return!0===W.value&&Object.assign(t,{onDragover:D,onDragleave:R}),(0,r.h)("div",t,e)}}const L=()=>!0;function O(e){const t={};return e.forEach((e=>{t[e]=L})),t}var P=n(1054);const z=O(D),B=({name:e,props:t,emits:n,injectPlugin:r})=>(0,c.a0)({name:e,props:{...I,...t},emits:!0===(0,P.Gv)(n)?{...z,...n}:[...D,...n],setup(e,{expose:t}){return R(r,t)}});function N(e){return"function"===typeof e?e:()=>e}const F="QUploader",q={url:[Function,String],method:{type:[Function,String],default:"POST"},fieldName:{type:[Function,String],default:()=>e=>e.name},headers:[Function,Array],formFields:[Function,Array],withCredentials:[Function,Boolean],sendRaw:[Function,Boolean],batch:[Function,Boolean],factory:Function},W=["factoryFailed","uploaded","failed","uploading"];function G({props:e,emit:t,helpers:n}){const o=(0,i.KR)([]),a=(0,i.KR)([]),s=(0,i.KR)(0),l=(0,r.EW)((()=>({url:N(e.url),method:N(e.method),headers:N(e.headers),formFields:N(e.formFields),fieldName:N(e.fieldName),withCredentials:N(e.withCredentials),sendRaw:N(e.sendRaw),batch:N(e.batch)}))),u=(0,r.EW)((()=>s.value>0)),c=(0,r.EW)((()=>0!==a.value.length));let d;function h(){o.value.forEach((e=>{e.abort()})),0!==a.value.length&&(d=!0)}function f(){const e=n.queuedFiles.value.slice(0);n.queuedFiles.value=[],l.value.batch(e)?p(e):e.forEach((e=>{p([e])}))}function p(r){if(s.value++,"function"!==typeof e.factory)return void v(r,{});const i=e.factory(r);if(i)if("function"===typeof i.catch&&"function"===typeof i.then){a.value.push(i);const e=e=>{!0===n.isAlive()&&(a.value=a.value.filter((e=>e!==i)),0===a.value.length&&(d=!1),n.queuedFiles.value=n.queuedFiles.value.concat(r),r.forEach((e=>{n.updateFileStatus(e,"failed")})),t("factoryFailed",e,r),s.value--)};i.then((t=>{!0===d?e(new Error("Aborted")):!0===n.isAlive()&&(a.value=a.value.filter((e=>e!==i)),v(r,t))})).catch(e)}else v(r,i||{});else t("factoryFailed",new Error("QUploader: factory() does not return properly"),r),s.value--}function v(e,r){const i=new FormData,a=new XMLHttpRequest,u=(e,t)=>void 0!==r[e]?N(r[e])(t):l.value[e](t),c=u("url",e);if(!c)return console.error("q-uploader: invalid or no URL specified"),void s.value--;const d=u("formFields",e);void 0!==d&&d.forEach((e=>{i.append(e.name,e.value)}));let h,f=0,p=0,v=0,g=0;a.upload.addEventListener("progress",(t=>{if(!0===h)return;const r=Math.min(g,t.loaded);n.uploadedSize.value+=r-v,v=r;let i=v-p;for(let o=f;i>0&&o<e.length;o++){const t=e[o],r=i>t.size;if(!r)return void n.updateFileStatus(t,"uploading",i);i-=t.size,f++,p+=t.size,n.updateFileStatus(t,"uploading",t.size)}}),!1),a.onreadystatechange=()=>{a.readyState<4||(a.status&&a.status<400?(n.uploadedFiles.value=n.uploadedFiles.value.concat(e),e.forEach((e=>{n.updateFileStatus(e,"uploaded")})),t("uploaded",{files:e,xhr:a})):(h=!0,n.uploadedSize.value-=v,n.queuedFiles.value=n.queuedFiles.value.concat(e),e.forEach((e=>{n.updateFileStatus(e,"failed")})),t("failed",{files:e,xhr:a})),s.value--,o.value=o.value.filter((e=>e!==a)))},a.open(u("method",e),c),!0===u("withCredentials",e)&&(a.withCredentials=!0);const m=u("headers",e);void 0!==m&&m.forEach((e=>{a.setRequestHeader(e.name,e.value)}));const y=u("sendRaw",e);e.forEach((e=>{n.updateFileStatus(e,"uploading",0),!0!==y&&i.append(u("fieldName",e),e,e.name),e.xhr=a,e.__abort=()=>{a.abort()},g+=e.size})),t("uploading",{files:e,xhr:a}),o.value.push(a),!0===y?a.send(new Blob(e)):a.send(i)}return{isUploading:u,isBusy:c,abort:h,upload:f}}const V={name:F,props:q,emits:W,injectPlugin:G},H=B(V)},1503:(e,t,n)=>{"use strict";n.d(t,{AV:()=>y,Iq:()=>_,kP:()=>m});var r=n(1758),i=n(8734),o=n(3500),a=n(2500),s=n(4897);const l=1e3,u=["start","center","end","start-force","center-force","end-force"],c=Array.prototype.filter,d=void 0===window.getComputedStyle(document.body).overflowAnchor?a.lQ:function(e,t){null!==e&&(void 0!==e._qOverflowAnimationFrame&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame((()=>{if(null===e)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];c.call(n,(e=>e.dataset&&void 0!==e.dataset.qVsAnchor)).forEach((e=>{delete e.dataset.qVsAnchor}));const r=n[t];r&&r.dataset&&(r.dataset.qVsAnchor="")})))};function h(e,t){return e+t}function f(e,t,n,r,i,o,a,l){const u=e===window?document.scrollingElement||document.documentElement:e,c=!0===i?"offsetWidth":"offsetHeight",d={scrollStart:0,scrollViewSize:-a-l,scrollMaxSize:0,offsetStart:-a,offsetEnd:-l};if(!0===i?(e===window?(d.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,d.scrollViewSize+=document.documentElement.clientWidth):(d.scrollStart=u.scrollLeft,d.scrollViewSize+=u.clientWidth),d.scrollMaxSize=u.scrollWidth,!0===o&&(d.scrollStart=(!0===s.E?d.scrollMaxSize-d.scrollViewSize:0)-d.scrollStart)):(e===window?(d.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,d.scrollViewSize+=document.documentElement.clientHeight):(d.scrollStart=u.scrollTop,d.scrollViewSize+=u.clientHeight),d.scrollMaxSize=u.scrollHeight),null!==n)for(let s=n.previousElementSibling;null!==s;s=s.previousElementSibling)!1===s.classList.contains("q-virtual-scroll--skip")&&(d.offsetStart+=s[c]);if(null!==r)for(let s=r.nextElementSibling;null!==s;s=s.nextElementSibling)!1===s.classList.contains("q-virtual-scroll--skip")&&(d.offsetEnd+=s[c]);if(t!==e){const n=u.getBoundingClientRect(),r=t.getBoundingClientRect();!0===i?(d.offsetStart+=r.left-n.left,d.offsetEnd-=r.width):(d.offsetStart+=r.top-n.top,d.offsetEnd-=r.height),e!==window&&(d.offsetStart+=d.scrollStart),d.offsetEnd+=d.scrollMaxSize-d.offsetStart}return d}function p(e,t,n,r){"end"===t&&(t=(e===window?document.body:e)[!0===n?"scrollWidth":"scrollHeight"]),e===window?!0===n?(!0===r&&(t=(!0===s.E?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):!0===n?(!0===r&&(t=(!0===s.E?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function v(e,t,n,r){if(n>=r)return 0;const i=t.length,o=Math.floor(n/l),a=Math.floor((r-1)/l)+1;let s=e.slice(o,a).reduce(h,0);return n%l!==0&&(s-=t.slice(o*l,n).reduce(h,0)),r%l!==0&&r!==i&&(s-=t.slice(r,a*l).reduce(h,0)),s}const g={virtualScrollSliceSize:{type:[Number,String],default:10},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]},m=Object.keys(g),y={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...g};function _({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:a}){const s=(0,r.nI)(),{props:g,emit:m,proxy:y}=s,{$q:_}=y;let b,x,w,S,k=[];const C=(0,i.KR)(0),A=(0,i.KR)(0),T=(0,i.KR)({}),E=(0,i.KR)(null),M=(0,i.KR)(null),I=(0,i.KR)(null),D=(0,i.KR)({from:0,to:0}),R=(0,r.EW)((()=>void 0!==g.tableColspan?g.tableColspan:100));void 0===a&&(a=(0,r.EW)((()=>g.virtualScrollItemSize)));const L=(0,r.EW)((()=>a.value+";"+g.virtualScrollHorizontal)),O=(0,r.EW)((()=>L.value+";"+g.virtualScrollSliceRatioBefore+";"+g.virtualScrollSliceRatioAfter));function P(){G(x,!0)}function z(e){G(void 0===e?x:e)}function B(r,i){const o=t();if(void 0===o||null===o||8===o.nodeType)return;const a=f(o,n(),E.value,M.value,g.virtualScrollHorizontal,_.lang.rtl,g.virtualScrollStickySizeStart,g.virtualScrollStickySizeEnd);w!==a.scrollViewSize&&V(a.scrollViewSize),F(o,a,Math.min(e.value-1,Math.max(0,parseInt(r,10)||0)),0,-1!==u.indexOf(i)?i:-1!==x&&r>x?"end":"start")}function N(){const r=t();if(void 0===r||null===r||8===r.nodeType)return;const i=f(r,n(),E.value,M.value,g.virtualScrollHorizontal,_.lang.rtl,g.virtualScrollStickySizeStart,g.virtualScrollStickySizeEnd),o=e.value-1,a=i.scrollMaxSize-i.offsetStart-i.offsetEnd-A.value;if(b===i.scrollStart)return;if(i.scrollMaxSize<=0)return void F(r,i,0,0);w!==i.scrollViewSize&&V(i.scrollViewSize),q(D.value.from);const s=Math.floor(i.scrollMaxSize-Math.max(i.scrollViewSize,i.offsetEnd)-Math.min(S[o],i.scrollViewSize/2));if(s>0&&Math.ceil(i.scrollStart)>=s)return void F(r,i,o,i.scrollMaxSize-i.offsetEnd-k.reduce(h,0));let u=0,c=i.scrollStart-i.offsetStart,d=c;if(c<=a&&c+i.scrollViewSize>=C.value)c-=C.value,u=D.value.from,d=c;else for(let e=0;c>=k[e]&&u<o;e++)c-=k[e],u+=l;while(c>0&&u<o)c-=S[u],c>-i.scrollViewSize?(u++,d=c):d=S[u]+c;F(r,i,u,d)}function F(t,n,r,i,o){const a="string"===typeof o&&-1!==o.indexOf("-force"),s=!0===a?o.replace("-force",""):o,l=void 0!==s?s:"start";let u=Math.max(0,r-T.value[l]),c=u+T.value.total;c>e.value&&(c=e.value,u=Math.max(0,c-T.value.total)),b=n.scrollStart;const f=u!==D.value.from||c!==D.value.to;if(!1===f&&void 0===s)return void j(r);const{activeElement:m}=document,y=I.value;!0===f&&null!==y&&y!==m&&!0===y.contains(m)&&(y.addEventListener("focusout",W),setTimeout((()=>{null!==y&&y.removeEventListener("focusout",W)}))),d(y,r-u);const x=void 0!==s?S.slice(u,r).reduce(h,0):0;if(!0===f){const t=c>=D.value.from&&u<=D.value.to?D.value.to:c;D.value={from:u,to:t},C.value=v(k,S,0,u),A.value=v(k,S,c,e.value),requestAnimationFrame((()=>{D.value.to!==c&&b===n.scrollStart&&(D.value={from:D.value.from,to:c},A.value=v(k,S,c,e.value))}))}requestAnimationFrame((()=>{if(b!==n.scrollStart)return;!0===f&&q(u);const e=S.slice(u,r).reduce(h,0),o=e+n.offsetStart+C.value,l=o+S[r];let c=o+i;if(void 0!==s){const t=e-x,i=n.scrollStart+t;c=!0!==a&&i<o&&l<i+n.scrollViewSize?i:"end"===s?l-n.scrollViewSize:o-("start"===s?0:Math.round((n.scrollViewSize-S[r])/2))}b=c,p(t,c,g.virtualScrollHorizontal,_.lang.rtl),j(r)}))}function q(e){const t=I.value;if(t){const n=c.call(t.children,(e=>e.classList&&!1===e.classList.contains("q-virtual-scroll--skip"))),r=n.length,i=!0===g.virtualScrollHorizontal?e=>e.getBoundingClientRect().width:e=>e.offsetHeight;let o,a,s=e;for(let e=0;e<r;){o=i(n[e]),e++;while(e<r&&!0===n[e].classList.contains("q-virtual-scroll--with-prev"))o+=i(n[e]),e++;a=o-S[s],0!==a&&(S[s]+=a,k[Math.floor(s/l)]+=a),s++}}}function W(){null!==I.value&&void 0!==I.value&&I.value.focus()}function G(t,n){const i=1*a.value;!0!==n&&!1!==Array.isArray(S)||(S=[]);const o=S.length;S.length=e.value;for(let r=e.value-1;r>=o;r--)S[r]=i;const s=Math.floor((e.value-1)/l);k=[];for(let r=0;r<=s;r++){let t=0;const n=Math.min((r+1)*l,e.value);for(let e=r*l;e<n;e++)t+=S[e];k.push(t)}x=-1,b=void 0,C.value=v(k,S,0,D.value.from),A.value=v(k,S,D.value.to,e.value),t>=0?(q(D.value.from),(0,r.dY)((()=>{B(t)}))):$()}function V(e){if(void 0===e&&"undefined"!==typeof window){const r=t();void 0!==r&&null!==r&&8!==r.nodeType&&(e=f(r,n(),E.value,M.value,g.virtualScrollHorizontal,_.lang.rtl,g.virtualScrollStickySizeStart,g.virtualScrollStickySizeEnd).scrollViewSize)}w=e;const r=parseFloat(g.virtualScrollSliceRatioBefore)||0,i=parseFloat(g.virtualScrollSliceRatioAfter)||0,o=1+r+i,s=void 0===e||e<=0?1:Math.ceil(e/a.value),l=Math.max(1,s,Math.ceil((g.virtualScrollSliceSize>0?g.virtualScrollSliceSize:10)/o));T.value={total:Math.ceil(l*o),start:Math.ceil(l*r),center:Math.ceil(l*(.5+r)),end:Math.ceil(l*(1+r)),view:s}}function H(e,t){const n=!0===g.virtualScrollHorizontal?"width":"height",i={["--q-virtual-scroll-item-"+n]:a.value+"px"};return["tbody"===e?(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:E},[(0,r.h)("tr",[(0,r.h)("td",{style:{[n]:`${C.value}px`,...i},colspan:R.value})])]):(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"before",ref:E,style:{[n]:`${C.value}px`,...i}}),(0,r.h)(e,{class:"q-virtual-scroll__content",key:"content",ref:I,tabindex:-1},t.flat()),"tbody"===e?(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:M},[(0,r.h)("tr",[(0,r.h)("td",{style:{[n]:`${A.value}px`,...i},colspan:R.value})])]):(0,r.h)(e,{class:"q-virtual-scroll__padding",key:"after",ref:M,style:{[n]:`${A.value}px`,...i}})]}function j(e){x!==e&&(void 0!==g.onVirtualScroll&&m("virtualScroll",{index:e,from:D.value.from,to:D.value.to-1,direction:e<x?"decrease":"increase",ref:y}),x=e)}(0,r.wB)(O,(()=>{V()})),(0,r.wB)(L,P),V();const $=(0,o.A)(N,!0===_.platform.is.ios?120:35);(0,r.KC)((()=>{V()}));let U=!1;return(0,r.Y4)((()=>{U=!0})),(0,r.n)((()=>{if(!0!==U)return;const e=t();void 0!==b&&void 0!==e&&null!==e&&8!==e.nodeType?p(e,b,g.virtualScrollHorizontal,_.lang.rtl):B(x)})),(0,r.xo)((()=>{$.cancel()})),Object.assign(y,{scrollTo:B,reset:P,refresh:z}),{virtualScrollSliceRange:D,virtualScrollSliceSizeComputed:T,setVirtualScrollSize:V,onVirtualScrollEvt:$,localResetVirtualScroll:G,padVirtualScroll:H,scrollTo:B,reset:P,refresh:z}}},18:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,fR:()=>a});var r=n(1758);const i={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},o=Object.keys(i),a={align:{type:String,validator:e=>o.includes(e)}};function s(e){return(0,r.EW)((()=>{const t=void 0===e.align?!0===e.vertical?"stretch":"left":e.align;return`${!0===e.vertical?"items":"justify"}-${i[t]}`}))}},3746:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,Tq:()=>l,d:()=>u});var r=n(1758),i=n(8734),o=n(2941),a=n(2500),s=n(2906);const l={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},u={...l,contextMenu:Boolean};function c({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:l,proxy:u,emit:c}=(0,r.nI)(),d=(0,i.KR)(null);let h=null;function f(e){return null!==d.value&&(void 0===e||void 0===e.touches||e.touches.length<=1)}const p={};function v(){(0,a.Fh)(p,"anchor")}function g(e){d.value=e;while(d.value.classList.contains("q-anchor--skip"))d.value=d.value.parentNode;n()}function m(){if(!1===l.target||""===l.target||null===u.$el.parentNode)d.value=null;else if(!0===l.target)g(u.$el.parentNode);else{let t=l.target;if("string"===typeof l.target)try{t=document.querySelector(l.target)}catch(e){t=void 0}void 0!==t&&null!==t?(d.value=t.$el||t,n()):(d.value=null,console.error(`Anchor: target "${l.target}" not found`))}}return void 0===n&&(Object.assign(p,{hide(e){u.hide(e)},toggle(e){u.toggle(e),e.qAnchorHandled=!0},toggleKey(e){!0===(0,s.Dv)(e,13)&&p.toggle(e)},contextClick(e){u.hide(e),(0,a.F4)(e),(0,r.dY)((()=>{u.show(e),e.qAnchorHandled=!0}))},prevent:a.F4,mobileTouch(e){if(p.mobileCleanup(e),!0!==f(e))return;u.hide(e),d.value.classList.add("non-selectable");const t=e.target;(0,a.Z4)(p,"anchor",[[t,"touchmove","mobileCleanup","passive"],[t,"touchend","mobileCleanup","passive"],[t,"touchcancel","mobileCleanup","passive"],[d.value,"contextmenu","prevent","notPassive"]]),h=setTimeout((()=>{h=null,u.show(e),e.qAnchorHandled=!0}),300)},mobileCleanup(t){d.value.classList.remove("non-selectable"),null!==h&&(clearTimeout(h),h=null),!0===e.value&&void 0!==t&&(0,o.w)()}}),n=function(e=l.contextMenu){if(!0===l.noParentEvent||null===d.value)return;let t;t=!0===e?!0===u.$q.platform.is.mobile?[[d.value,"touchstart","mobileTouch","passive"]]:[[d.value,"mousedown","hide","passive"],[d.value,"contextmenu","contextClick","notPassive"]]:[[d.value,"click","toggle","passive"],[d.value,"keyup","toggleKey","passive"]],(0,a.Z4)(p,"anchor",t)}),(0,r.wB)((()=>l.contextMenu),(e=>{null!==d.value&&(v(),n(e))})),(0,r.wB)((()=>l.target),(()=>{null!==d.value&&v(),m()})),(0,r.wB)((()=>l.noParentEvent),(e=>{null!==d.value&&(!0===e?v():n())})),(0,r.sV)((()=>{m(),!0!==t&&!0===l.modelValue&&null===d.value&&c("update:modelValue",!1)})),(0,r.xo)((()=>{null!==h&&clearTimeout(h),v()})),{anchorEl:d,canShow:f,anchorEvents:p}}},6372:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,C:()=>i});var r=n(1758);const i={dark:{type:Boolean,default:null}};function o(e,t){return(0,r.EW)((()=>null===e.dark?t.dark.isActive:e.dark))}},7076:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>B,o9:()=>R,mU:()=>P,OJ:()=>O,$7:()=>z});var r=n(1758),i=n(8734),o=n(9104),a=n(492),s=n(8210),l=n(5192),u=n(1597);function c(e){return void 0===e||null===e?null:e}function d(e,t){return void 0===e||null===e?!0===t?`f_${(0,l.A)()}`:null:e}function h({getValue:e,required:t=!0}={}){if(!0===u.ot.value){const n=void 0!==e?(0,i.KR)(c(e())):(0,i.KR)(null);return!0===t&&null===n.value&&(0,r.sV)((()=>{n.value=`f_${(0,l.A)()}`})),void 0!==e&&(0,r.wB)(e,(e=>{n.value=d(e,t)})),n}return void 0!==e?(0,r.EW)((()=>d(e(),t))):(0,i.KR)(`f_${(0,l.A)()}`)}const f=/^on[A-Z]/;function p(){const{attrs:e,vnode:t}=(0,r.nI)(),n={listeners:(0,i.KR)({}),attributes:(0,i.KR)({})};function o(){const r={},i={};for(const t in e)"class"!==t&&"style"!==t&&!1===f.test(t)&&(r[t]=e[t]);for(const e in t.props)!0===f.test(e)&&(i[e]=t.props[e]);n.attributes.value=r,n.listeners.value=i}return(0,r.Ic)(o),o(),n}var v=n(6372),g=n(7973);function m({validate:e,resetValidation:t,requiresQForm:n}){const i=(0,r.WQ)(g.q3,!1);if(!1!==i){const{props:n,proxy:o}=(0,r.nI)();Object.assign(o,{validate:e,resetValidation:t}),(0,r.wB)((()=>n.disable),(e=>{!0===e?("function"===typeof t&&t(),i.unbindComponent(o)):i.bindComponent(o)})),(0,r.sV)((()=>{!0!==n.disable&&i.bindComponent(o)})),(0,r.xo)((()=>{!0!==n.disable&&i.unbindComponent(o)}))}else!0===n&&console.error("Parent QForm not found on useFormChild()!")}const y=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,_=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,b=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,x=/^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])\)$/,w=/^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)\)$/,S={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\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(e),hexColor:e=>y.test(e),hexaColor:e=>_.test(e),hexOrHexaColor:e=>b.test(e),rgbColor:e=>x.test(e),rgbaColor:e=>w.test(e),rgbOrRgbaColor:e=>x.test(e)||w.test(e),hexOrRgbColor:e=>y.test(e)||x.test(e),hexaOrRgbaColor:e=>_.test(e)||w.test(e),anyColor:e=>b.test(e)||x.test(e)||w.test(e)};var k=n(3500),C=n(2453);const A=[!0,!1,"ondemand"],T={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>A.includes(e)}};function E(e,t){const{props:n,proxy:o}=(0,r.nI)(),a=(0,i.KR)(!1),s=(0,i.KR)(null),l=(0,i.KR)(!1);m({validate:y,resetValidation:g});let u,c=0;const d=(0,r.EW)((()=>void 0!==n.rules&&null!==n.rules&&0!==n.rules.length)),h=(0,r.EW)((()=>!0!==n.disable&&!0===d.value&&!1===t.value)),f=(0,r.EW)((()=>!0===n.error||!0===a.value)),p=(0,r.EW)((()=>"string"===typeof n.errorMessage&&0!==n.errorMessage.length?n.errorMessage:s.value));function v(){"ondemand"!==n.lazyRules&&!0===h.value&&!0===l.value&&_()}function g(){c++,t.value=!1,l.value=!1,a.value=!1,s.value=null,_.cancel()}function y(e=n.modelValue){if(!0===n.disable||!1===d.value)return!0;const r=++c,i=!0!==t.value?()=>{l.value=!0}:()=>{},o=(e,n)=>{!0===e&&i(),a.value=e,s.value=n||null,t.value=!1},u=[];for(let t=0;t<n.rules.length;t++){const r=n.rules[t];let i;if("function"===typeof r?i=r(e,S):"string"===typeof r&&void 0!==S[r]&&(i=S[r](e)),!1===i||"string"===typeof i)return o(!0,i),!1;!0!==i&&void 0!==i&&u.push(i)}return 0===u.length?(o(!1),!0):(t.value=!0,Promise.all(u).then((e=>{if(void 0===e||!1===Array.isArray(e)||0===e.length)return r===c&&o(!1),!0;const t=e.find((e=>!1===e||"string"===typeof e));return r===c&&o(void 0!==t,t),void 0===t}),(e=>(r===c&&(console.error(e),o(!0)),!1))))}(0,r.wB)((()=>n.modelValue),(()=>{l.value=!0,!0===h.value&&!1===n.lazyRules&&_()})),(0,r.wB)((()=>n.reactiveRules),(e=>{!0===e?void 0===u&&(u=(0,r.wB)((()=>n.rules),v,{immediate:!0,deep:!0})):void 0!==u&&(u(),u=void 0)}),{immediate:!0}),(0,r.wB)((()=>n.lazyRules),v),(0,r.wB)(e,(e=>{!0===e?l.value=!0:!0===h.value&&"ondemand"!==n.lazyRules&&_()}));const _=(0,k.A)(y,0);return(0,r.xo)((()=>{void 0!==u&&u(),_.cancel()})),Object.assign(o,{resetValidation:g,validate:y}),(0,C.$)(o,"hasError",(()=>f.value)),{isDirtyModel:l,hasRules:d,hasError:f,errorMessage:p,validate:y,resetValidation:g}}var M=n(5139),I=n(2500),D=n(8983);function R(e){return void 0!==e&&null!==e&&0!==(""+e).length}const L={...v.C,...T,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},O={...L,maxlength:[Number,String]},P=["update:modelValue","clear","focus","blur"];function z({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:o,proxy:a}=(0,r.nI)(),s=(0,v.A)(o,a.$q),l=h({required:e,getValue:()=>o.for});return{requiredForAttr:e,changeEvent:n,tag:!0===t?(0,r.EW)((()=>o.tag)):{value:"label"},isDark:s,editable:(0,r.EW)((()=>!0!==o.disable&&!0!==o.readonly)),innerLoading:(0,i.KR)(!1),focused:(0,i.KR)(!1),hasPopupOpen:!1,splitAttrs:p(),targetUid:l,rootRef:(0,i.KR)(null),targetRef:(0,i.KR)(null),controlRef:(0,i.KR)(null)}}function B(e){const{props:t,emit:n,slots:i,attrs:l,proxy:u}=(0,r.nI)(),{$q:c}=u;let d=null;void 0===e.hasValue&&(e.hasValue=(0,r.EW)((()=>R(t.modelValue)))),void 0===e.emitValue&&(e.emitValue=e=>{n("update:modelValue",e)}),void 0===e.controlEvents&&(e.controlEvents={onFocusin:O,onFocusout:P}),Object.assign(e,{clearValue:z,onControlFocusin:O,onControlFocusout:P,focus:T}),void 0===e.computedCounter&&(e.computedCounter=(0,r.EW)((()=>{if(!1!==t.counter){const e="string"===typeof t.modelValue||"number"===typeof t.modelValue?(""+t.modelValue).length:!0===Array.isArray(t.modelValue)?t.modelValue.length:0,n=void 0!==t.maxlength?t.maxlength:t.maxValues;return e+(void 0!==n?" / "+n:"")}})));const{isDirtyModel:h,hasRules:f,hasError:p,errorMessage:v,resetValidation:g}=E(e.focused,e.innerLoading),m=void 0!==e.floatingLabel?(0,r.EW)((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.floatingLabel.value)):(0,r.EW)((()=>!0===t.stackLabel||!0===e.focused.value||!0===e.hasValue.value)),y=(0,r.EW)((()=>!0===t.bottomSlots||void 0!==t.hint||!0===f.value||!0===t.counter||null!==t.error)),_=(0,r.EW)((()=>!0===t.filled?"filled":!0===t.outlined?"outlined":!0===t.borderless?"borderless":t.standout?"standout":"standard")),b=(0,r.EW)((()=>`q-field row no-wrap items-start q-field--${_.value}`+(void 0!==e.fieldClass?` ${e.fieldClass.value}`:"")+(!0===t.rounded?" q-field--rounded":"")+(!0===t.square?" q-field--square":"")+(!0===m.value?" q-field--float":"")+(!0===w.value?" q-field--labeled":"")+(!0===t.dense?" q-field--dense":"")+(!0===t.itemAligned?" q-field--item-aligned q-item-type":"")+(!0===e.isDark.value?" q-field--dark":"")+(void 0===e.getControl?" q-field--auto-height":"")+(!0===e.focused.value?" q-field--focused":"")+(!0===p.value?" q-field--error":"")+(!0===p.value||!0===e.focused.value?" q-field--highlighted":"")+(!0!==t.hideBottomSpace&&!0===y.value?" q-field--with-bottom":"")+(!0===t.disable?" q-field--disabled":!0===t.readonly?" q-field--readonly":""))),x=(0,r.EW)((()=>"q-field__control relative-position row no-wrap"+(void 0!==t.bgColor?` bg-${t.bgColor}`:"")+(!0===p.value?" text-negative":"string"===typeof t.standout&&0!==t.standout.length&&!0===e.focused.value?` ${t.standout}`:void 0!==t.color?` text-${t.color}`:""))),w=(0,r.EW)((()=>!0===t.labelSlot||void 0!==t.label)),S=(0,r.EW)((()=>"q-field__label no-pointer-events absolute ellipsis"+(void 0!==t.labelColor&&!0!==p.value?` text-${t.labelColor}`:""))),k=(0,r.EW)((()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:m.value,modelValue:t.modelValue,emitValue:e.emitValue}))),C=(0,r.EW)((()=>{const n={};return e.targetUid.value&&(n.for=e.targetUid.value),!0===t.disable&&(n["aria-disabled"]="true"),n}));function A(){const t=document.activeElement;let n=void 0!==e.targetRef&&e.targetRef.value;!n||null!==t&&t.id===e.targetUid.value||(!0===n.hasAttribute("tabindex")||(n=n.querySelector("[tabindex]")),n&&n!==t&&n.focus({preventScroll:!0}))}function T(){(0,D.Gy)(A)}function L(){(0,D.vQ)(A);const t=document.activeElement;null!==t&&e.rootRef.value.contains(t)&&t.blur()}function O(t){null!==d&&(clearTimeout(d),d=null),!0===e.editable.value&&!1===e.focused.value&&(e.focused.value=!0,n("focus",t))}function P(t,r){null!==d&&clearTimeout(d),d=setTimeout((()=>{d=null,(!0!==document.hasFocus()||!0!==e.hasPopupOpen&&void 0!==e.controlRef&&null!==e.controlRef.value&&!1===e.controlRef.value.contains(document.activeElement))&&(!0===e.focused.value&&(e.focused.value=!1,n("blur",t)),void 0!==r&&r())}))}function z(i){if((0,I.Gu)(i),!0!==c.platform.is.mobile){const t=void 0!==e.targetRef&&e.targetRef.value||e.rootRef.value;t.focus()}else!0===e.rootRef.value.contains(document.activeElement)&&document.activeElement.blur();"file"===t.type&&(e.inputRef.value.value=null),n("update:modelValue",null),!0===e.changeEvent&&n("change",null),n("clear",t.modelValue),(0,r.dY)((()=>{const e=h.value;g(),h.value=e}))}function B(e){[13,32].includes(e.keyCode)&&z(e)}function N(){const n=[];return void 0!==i.prepend&&n.push((0,r.h)("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:I.F4},i.prepend())),n.push((0,r.h)("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},F())),!0===p.value&&!1===t.noErrorIcon&&n.push(W("error",[(0,r.h)(a.A,{name:c.iconSet.field.error,color:"negative"})])),!0===t.loading||!0===e.innerLoading.value?n.push(W("inner-loading-append",void 0!==i.loading?i.loading():[(0,r.h)(s.A,{color:t.color})])):!0===t.clearable&&!0===e.hasValue.value&&!0===e.editable.value&&n.push(W("inner-clearable-append",[(0,r.h)(a.A,{class:"q-field__focusable-action",name:t.clearIcon||c.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":c.lang.label.clear,onKeyup:B,onClick:z})])),void 0!==i.append&&n.push((0,r.h)("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:I.F4},i.append())),void 0!==e.getInnerAppend&&n.push(W("inner-append",e.getInnerAppend())),void 0!==e.getControlChild&&n.push(e.getControlChild()),n}function F(){const n=[];return void 0!==t.prefix&&null!==t.prefix&&n.push((0,r.h)("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),void 0!==e.getShadowControl&&!0===e.hasShadow.value&&n.push(e.getShadowControl()),void 0!==e.getControl?n.push(e.getControl()):void 0!==i.rawControl?n.push(i.rawControl()):void 0!==i.control&&n.push((0,r.h)("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":!0===t.autofocus||void 0},i.control(k.value))),!0===w.value&&n.push((0,r.h)("div",{class:S.value},(0,M.zm)(i.label,t.label))),void 0!==t.suffix&&null!==t.suffix&&n.push((0,r.h)("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),n.concat((0,M.zm)(i.default))}function q(){let n,a;!0===p.value?null!==v.value?(n=[(0,r.h)("div",{role:"alert"},v.value)],a=`q--slot-error-${v.value}`):(n=(0,M.zm)(i.error),a="q--slot-error"):!0===t.hideHint&&!0!==e.focused.value||(void 0!==t.hint?(n=[(0,r.h)("div",t.hint)],a=`q--slot-hint-${t.hint}`):(n=(0,M.zm)(i.hint),a="q--slot-hint"));const s=!0===t.counter||void 0!==i.counter;if(!0===t.hideBottomSpace&&!1===s&&void 0===n)return;const l=(0,r.h)("div",{key:a,class:"q-field__messages col"},n);return(0,r.h)("div",{class:"q-field__bottom row items-start q-field__bottom--"+(!0!==t.hideBottomSpace?"animated":"stale"),onClick:I.F4},[!0===t.hideBottomSpace?l:(0,r.h)(o.eB,{name:"q-transition--field-message"},(()=>l)),!0===s?(0,r.h)("div",{class:"q-field__counter"},void 0!==i.counter?i.counter():e.computedCounter.value):null])}function W(e,t){return null===t?null:(0,r.h)("div",{key:e,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},t)}let G=!1;return(0,r.Y4)((()=>{G=!0})),(0,r.n)((()=>{!0===G&&!0===t.autofocus&&u.focus()})),!0===t.autofocus&&(0,r.sV)((()=>{u.focus()})),(0,r.xo)((()=>{null!==d&&clearTimeout(d)})),Object.assign(u,{focus:T,blur:L}),function(){const n=void 0===e.getControl&&void 0===i.control?{...e.splitAttrs.attributes.value,"data-autofocus":!0===t.autofocus||void 0,...C.value}:C.value;return(0,r.h)(e.tag.value,{ref:e.rootRef,class:[b.value,l.class],style:l.style,...n},[void 0!==i.before?(0,r.h)("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:I.F4},i.before()):null,(0,r.h)("div",{class:"q-field__inner relative-position col self-stretch"},[(0,r.h)("div",{ref:e.controlRef,class:x.value,tabindex:-1,...e.controlEvents},N()),!0===y.value?q():null]),void 0!==i.after?(0,r.h)("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:I.F4},i.after()):null])}}},2342:(e,t,n)=>{"use strict";function r(e){return function(t){if("compositionend"===t.type||"change"===t.type){if(!0!==t.target.qComposing)return;t.target.qComposing=!1,e(t)}else"compositionstart"===t.type&&(t.target.qComposing=!0)}}n.d(t,{A:()=>r})},2916:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,Jl:()=>a,RI:()=>o});var r=n(1758),i=n(5157);const o={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},a=["beforeShow","show","beforeHide","hide"];function s({showing:e,canShow:t,hideOnRouteChange:n,handleShow:o,handleHide:a,processOnMount:s}){const l=(0,r.nI)(),{props:u,emit:c,proxy:d}=l;let h;function f(t){!0===e.value?g(t):p(t)}function p(e){if(!0===u.disable||void 0!==e&&!0===e.qAnchorHandled||void 0!==t&&!0!==t(e))return;const n=void 0!==u["onUpdate:modelValue"];!0===n&&(c("update:modelValue",!0),h=e,(0,r.dY)((()=>{h===e&&(h=void 0)}))),null!==u.modelValue&&!1!==n||v(e)}function v(t){!0!==e.value&&(e.value=!0,c("beforeShow",t),void 0!==o?o(t):c("show",t))}function g(e){if(!0===u.disable)return;const t=void 0!==u["onUpdate:modelValue"];!0===t&&(c("update:modelValue",!1),h=e,(0,r.dY)((()=>{h===e&&(h=void 0)}))),null!==u.modelValue&&!1!==t||m(e)}function m(t){!1!==e.value&&(e.value=!1,c("beforeHide",t),void 0!==a?a(t):c("hide",t))}function y(t){if(!0===u.disable&&!0===t)void 0!==u["onUpdate:modelValue"]&&c("update:modelValue",!1);else if(!0===t!==e.value){const e=!0===t?v:m;e(h)}}(0,r.wB)((()=>u.modelValue),y),void 0!==n&&!0===(0,i.$b)(l)&&(0,r.wB)((()=>d.$route.fullPath),(()=>{!0===n.value&&!0===e.value&&g()})),!0===s&&(0,r.sV)((()=>{y(u.modelValue)}));const _={show:p,hide:g,toggle:f};return Object.assign(d,_),_}},2120:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(8734),i=n(1758),o=n(9467),a=(n(2500),n(8983)),s=n(8536),l=n(5563),u=n(2453);const c=(0,o.a0)({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function d(e){e=e.parent;while(void 0!==e&&null!==e){if("QGlobalDialog"===e.type.name)return!0;if("QDialog"===e.type.name||"QMenu"===e.type.name)return!1;e=e.parent}return!1}function h(e,t,n,o){const h=(0,r.KR)(!1),f=(0,r.KR)(!1);let p=null;const v={},g="dialog"===o&&d(e);function m(t){if(!0===t)return(0,a.gv)(v),void(f.value=!0);f.value=!1,!1===h.value&&(!1===g&&null===p&&(p=(0,s.US)(!1,o)),h.value=!0,l.jx.push(e.proxy),(0,a.FD)(v))}function y(t){if(f.value=!1,!0!==t)return;(0,a.gv)(v),h.value=!1;const n=l.jx.indexOf(e.proxy);-1!==n&&l.jx.splice(n,1),null!==p&&((0,s._J)(p),p=null)}return(0,i.hi)((()=>{y(!0)})),e.proxy.__qPortal=!0,(0,u.$)(e.proxy,"contentEl",(()=>t.value)),{showPortal:m,hidePortal:y,portalIsActive:h,portalIsAccessible:f,renderPortal:()=>!0===g?n():!0===h.value?[(0,i.h)(i.Im,{to:p},(0,i.h)(c,n))]:void 0}}},8014:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8734),i=n(1758);function o(e,t){const n=(0,r.KR)(null),o=(0,i.EW)((()=>!0===e.disable?null:(0,i.h)("span",{ref:n,class:"no-outline",tabindex:-1})));function a(e){const r=t.value;void 0!==e&&0===e.type.indexOf("key")?null!==r&&document.activeElement!==r&&!0===r.contains(document.activeElement)&&r.focus():null!==n.value&&(void 0===e||null!==r&&!0===r.contains(e.target))&&n.value.focus()}return{refocusTargetEl:o,refocusTarget:a}}},7502:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,Ji:()=>h,ni:()=>d});var r=n(1758),i=n(5157);function o(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function a(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function s(e,t){for(const n in t){const r=t[n],i=e[n];if("string"===typeof r){if(r!==i)return!1}else if(!1===Array.isArray(i)||i.length!==r.length||r.some(((e,t)=>e!==i[t])))return!1}return!0}function l(e,t){return!0===Array.isArray(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function u(e,t){return!0===Array.isArray(e)?l(e,t):!0===Array.isArray(t)?l(t,e):e===t}function c(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!1===u(e[n],t[n]))return!1;return!0}const d={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},h={...d,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function f({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=(0,r.nI)(),{props:l,proxy:u,emit:d}=n,h=(0,i.$b)(n),f=(0,r.EW)((()=>!0!==l.disable&&void 0!==l.href)),p=!0===t?(0,r.EW)((()=>!0===h&&!0!==l.disable&&!0!==f.value&&void 0!==l.to&&null!==l.to&&""!==l.to)):(0,r.EW)((()=>!0===h&&!0!==f.value&&void 0!==l.to&&null!==l.to&&""!==l.to)),v=(0,r.EW)((()=>!0===p.value?k(l.to):null)),g=(0,r.EW)((()=>null!==v.value)),m=(0,r.EW)((()=>!0===f.value||!0===g.value)),y=(0,r.EW)((()=>"a"===l.type||!0===m.value?"a":l.tag||e||"div")),_=(0,r.EW)((()=>!0===f.value?{href:l.href,target:l.target}:!0===g.value?{href:v.value.href,target:l.target}:{})),b=(0,r.EW)((()=>{if(!1===g.value)return-1;const{matched:e}=v.value,{length:t}=e,n=e[t-1];if(void 0===n)return-1;const r=u.$route.matched;if(0===r.length)return-1;const i=r.findIndex(a.bind(null,n));if(-1!==i)return i;const s=o(e[t-2]);return t>1&&o(n)===s&&r[r.length-1].path!==s?r.findIndex(a.bind(null,e[t-2])):i})),x=(0,r.EW)((()=>!0===g.value&&-1!==b.value&&s(u.$route.params,v.value.params))),w=(0,r.EW)((()=>!0===x.value&&b.value===u.$route.matched.length-1&&c(u.$route.params,v.value.params))),S=(0,r.EW)((()=>!0===g.value?!0===w.value?` ${l.exactActiveClass} ${l.activeClass}`:!0===l.exact?"":!0===x.value?` ${l.activeClass}`:"":""));function k(e){try{return u.$router.resolve(e)}catch(t){}return null}function C(e,{returnRouterError:t,to:n=l.to,replace:r=l.replace}={}){if(!0===l.disable)return e.preventDefault(),Promise.resolve(!1);if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||void 0!==e.button&&0!==e.button||"_blank"===l.target)return Promise.resolve(!1);e.preventDefault();const i=u.$router[!0===r?"replace":"push"](n);return!0===t?i:i.then((()=>{})).catch((()=>{}))}function A(e){if(!0===g.value){const t=t=>C(e,t);d("click",e,t),!0!==e.defaultPrevented&&t()}else d("click",e)}return{hasRouterLink:g,hasHrefLink:f,hasLink:m,linkTag:y,resolvedLink:v,linkIsActive:x,linkIsExactActive:w,linkClass:S,linkAttrs:_,getLink:k,navigateToRouterLink:C,navigateOnClick:A}}},8842:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(8734),i=n(1758),o=n(2500);function a(e,t){const n=(0,r.KR)(null);let a;function s(e,t){const n=(void 0!==t?"add":"remove")+"EventListener",r=void 0!==t?t:a;e!==window&&e[n]("scroll",r,o.mG.passive),window[n]("scroll",r,o.mG.passive),a=t}function l(){null!==n.value&&(s(n.value),n.value=null)}const u=(0,i.wB)((()=>e.noParentEvent),(()=>{null!==n.value&&(l(),t())}));return(0,i.xo)(u),{localScrollTarget:n,unconfigureScrollTarget:l,changeScrollEvent:s}}},1906:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a,v0:()=>i,x_:()=>o});var r=n(1758);const i={xs:18,sm:24,md:32,lg:38,xl:46},o={size:String};function a(e,t=i){return(0,r.EW)((()=>void 0!==e.size?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null))}},454:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,d:()=>i});var r=n(1758);const i={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function o(e,t=()=>{},n=()=>{}){return{transitionProps:(0,r.EW)((()=>{const r=`q-transition--${e.transitionShow||t()}`,i=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}})),transitionStyle:(0,r.EW)((()=>`--q-transition-duration: ${e.transitionDuration}ms`))}}},2510:(e,t,n)=>{"use strict";n.d(t,{M4:()=>s,Sc:()=>i,mj:()=>o,vq:()=>a});var r=n(1758);const i={name:String};function o(e){return(0,r.EW)((()=>({type:"hidden",name:e.name,value:e.modelValue})))}function a(e={}){return(t,n,i)=>{t[n]((0,r.h)("input",{class:"hidden"+(i||""),...e.value}))}}function s(e){return(0,r.EW)((()=>e.name||e.for))}},4907:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1758),i=n(7973);function o(){return(0,r.WQ)(i.XA)}},6019:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1758),i=n(5157);function o(){let e;const t=(0,r.nI)();function n(){e=void 0}return(0,r.Y4)(n),(0,r.xo)(n),{removeTick:n,registerTick(n){e=n,(0,r.dY)((()=>{e===n&&(!1===(0,i.rU)(t)&&e(),e=void 0)}))}}}},4667:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1758),i=n(5157);function o(){let e=null;const t=(0,r.nI)();function n(){null!==e&&(clearTimeout(e),e=null)}return(0,r.Y4)(n),(0,r.xo)(n),{removeTimeout:n,registerTimeout(r,o){n(e),!1===(0,i.rU)(t)&&(e=setTimeout((()=>{e=null,r()}),o))}}}},9626:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9467),i=n(7556),o=n(2500),a=n(2906);function s(e,t=250){let n,r=!1;return function(){return!1===r&&(r=!0,setTimeout((()=>{r=!1}),t),n=e.apply(this,arguments)),n}}function l(e,t,n,r){!0===n.modifiers.stop&&(0,o.ds)(e);const a=n.modifiers.color;let s=n.modifiers.center;s=!0===s||!0===r;const l=document.createElement("span"),u=document.createElement("span"),c=(0,o.G1)(e),{left:d,top:h,width:f,height:p}=t.getBoundingClientRect(),v=Math.sqrt(f*f+p*p),g=v/2,m=(f-v)/2+"px",y=s?m:c.left-d-g+"px",_=(p-v)/2+"px",b=s?_:c.top-h-g+"px";u.className="q-ripple__inner",(0,i.AH)(u,{height:`${v}px`,width:`${v}px`,transform:`translate3d(${y},${b},0) scale3d(.2,.2,1)`,opacity:0}),l.className="q-ripple"+(a?" text-"+a:""),l.setAttribute("dir","ltr"),l.appendChild(u),t.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(${m},${_},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 u(e,{modifiers:t,value:n,arg:r}){const i=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:!0===i.early,stop:!0===i.stop,center:!0===i.center,color:i.color||r,keyCodes:[].concat(i.keyCodes||13)}}const c=(0,r.Yg)({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(!1===n.ripple)return;const r={cfg:n,enabled:!1!==t.value,modifiers:{},abort:[],start(t){!0===r.enabled&&!0!==t.qSkipRipple&&t.type===(!0===r.modifiers.early?"pointerdown":"click")&&l(t,e,r,!0===t.qKeyEvent)},keystart:s((t=>{!0===r.enabled&&!0!==t.qSkipRipple&&!0===(0,a.Dv)(t,r.modifiers.keyCodes)&&t.type==="key"+(!0===r.modifiers.early?"down":"up")&&l(t,e,r,!0)}),300)};u(r,t),e.__qripple=r,(0,o.Z4)(r,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;void 0!==n&&(n.enabled=!1!==t.value,!0===n.enabled&&Object(t.value)===t.value&&u(n,t))}},beforeUnmount(e){const t=e.__qripple;void 0!==t&&(t.abort.forEach((e=>{e()})),(0,o.Fh)(t,"main"),delete e._qripple)}})},9815:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(1597),i=n(9467);const o={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},a=Object.keys(o);function s(e){const t={};for(const n of a)!0===e[n]&&(t[n]=!0);return 0===Object.keys(t).length?o:(!0===t.horizontal?t.left=t.right=!0:!0===t.left&&!0===t.right&&(t.horizontal=!0),!0===t.vertical?t.up=t.down=!0:!0===t.up&&!0===t.down&&(t.vertical=!0),!0===t.horizontal&&!0===t.vertical&&(t.all=!0),t)}o.all=!0;const l=["INPUT","TEXTAREA"];function u(e,t){return void 0===t.event&&void 0!==e.target&&!0!==e.target.draggable&&"function"===typeof t.handler&&!1===l.includes(e.target.nodeName.toUpperCase())&&(void 0===e.qClonedBy||-1===e.qClonedBy.indexOf(t.uid))}var c=n(2500),d=n(2941);function h(e,t,n){const r=(0,c.G1)(e);let i,o=r.left-t.event.x,a=r.top-t.event.y,s=Math.abs(o),l=Math.abs(a);const u=t.direction;!0===u.horizontal&&!0!==u.vertical?i=o<0?"left":"right":!0!==u.horizontal&&!0===u.vertical?i=a<0?"up":"down":!0===u.up&&a<0?(i="up",s>l&&(!0===u.left&&o<0?i="left":!0===u.right&&o>0&&(i="right"))):!0===u.down&&a>0?(i="down",s>l&&(!0===u.left&&o<0?i="left":!0===u.right&&o>0&&(i="right"))):!0===u.left&&o<0?(i="left",s<l&&(!0===u.up&&a<0?i="up":!0===u.down&&a>0&&(i="down"))):!0===u.right&&o>0&&(i="right",s<l&&(!0===u.up&&a<0?i="up":!0===u.down&&a>0&&(i="down")));let d=!1;if(void 0===i&&!1===n){if(!0===t.event.isFirst||void 0===t.event.lastDir)return{};i=t.event.lastDir,d=!0,"left"===i||"right"===i?(r.left-=o,s=0,o=0):(r.top-=a,l=0,a=0)}return{synthetic:d,payload:{evt:e,touch:!0!==t.event.mouse,mouse:!0===t.event.mouse,position:r,direction:i,isFirst:t.event.isFirst,isFinal:!0===n,duration:Date.now()-t.event.time,distance:{x:s,y:l},offset:{x:o,y:a},delta:{x:r.left-t.event.lastX,y:r.top-t.event.lastY}}}}let f=0;const p=(0,i.Yg)({name:"touch-pan",beforeMount(e,{value:t,modifiers:n}){if(!0!==n.mouse&&!0!==r.Sn.has.touch)return;function i(e,t){!0===n.mouse&&!0===t?(0,c.Gu)(e):(!0===n.stop&&(0,c.ds)(e),!0===n.prevent&&(0,c.F4)(e))}const o={uid:"qvtp_"+f++,handler:t,modifiers:n,direction:s(n),noop:c.lQ,mouseStart(e){u(e,o)&&(0,c.w7)(e)&&((0,c.Z4)(o,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),o.start(e,!0))},touchStart(e){if(u(e,o)){const t=e.target;(0,c.Z4)(o,"temp",[[t,"touchmove","move","notPassiveCapture"],[t,"touchcancel","end","passiveCapture"],[t,"touchend","end","passiveCapture"]]),o.start(e)}},start(t,i){if(!0===r.Sn.is.firefox&&(0,c.M5)(e,!0),o.lastEvt=t,!0===i||!0===n.stop){if(!0!==o.direction.all&&(!0!==i||!0!==o.modifiers.mouseAllDir&&!0!==o.modifiers.mousealldir)){const e=-1!==t.type.indexOf("mouse")?new MouseEvent(t.type,t):new TouchEvent(t.type,t);!0===t.defaultPrevented&&(0,c.F4)(e),!0===t.cancelBubble&&(0,c.ds)(e),Object.assign(e,{qKeyEvent:t.qKeyEvent,qClickOutside:t.qClickOutside,qAnchorHandled:t.qAnchorHandled,qClonedBy:void 0===t.qClonedBy?[o.uid]:t.qClonedBy.concat(o.uid)}),o.initialEvent={target:t.target,event:e}}(0,c.ds)(t)}const{left:a,top:s}=(0,c.G1)(t);o.event={x:a,y:s,time:Date.now(),mouse:!0===i,detected:!1,isFirst:!0,isFinal:!1,lastX:a,lastY:s}},move(e){if(void 0===o.event)return;const t=(0,c.G1)(e),r=t.left-o.event.x,a=t.top-o.event.y;if(0===r&&0===a)return;o.lastEvt=e;const s=!0===o.event.mouse,l=()=>{let t;i(e,s),!0!==n.preserveCursor&&!0!==n.preservecursor&&(t=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),!0===s&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),(0,d.w)(),o.styleCleanup=e=>{if(o.styleCleanup=void 0,void 0!==t&&(document.documentElement.style.cursor=t),document.body.classList.remove("non-selectable"),!0===s){const t=()=>{document.body.classList.remove("no-pointer-events--children")};void 0!==e?setTimeout((()=>{t(),e()}),50):t()}else void 0!==e&&e()}};if(!0===o.event.detected){!0!==o.event.isFirst&&i(e,o.event.mouse);const{payload:t,synthetic:n}=h(e,o,!1);return void(void 0!==t&&(!1===o.handler(t)?o.end(e):(void 0===o.styleCleanup&&!0===o.event.isFirst&&l(),o.event.lastX=t.position.left,o.event.lastY=t.position.top,o.event.lastDir=!0===n?void 0:t.direction,o.event.isFirst=!1)))}if(!0===o.direction.all||!0===s&&(!0===o.modifiers.mouseAllDir||!0===o.modifiers.mousealldir))return l(),o.event.detected=!0,void o.move(e);const u=Math.abs(r),f=Math.abs(a);u!==f&&(!0===o.direction.horizontal&&u>f||!0===o.direction.vertical&&u<f||!0===o.direction.up&&u<f&&a<0||!0===o.direction.down&&u<f&&a>0||!0===o.direction.left&&u>f&&r<0||!0===o.direction.right&&u>f&&r>0?(o.event.detected=!0,o.move(e)):o.end(e,!0))},end(t,n){if(void 0!==o.event){if((0,c.Fh)(o,"temp"),!0===r.Sn.is.firefox&&(0,c.M5)(e,!1),!0===n)void 0!==o.styleCleanup&&o.styleCleanup(),!0!==o.event.detected&&void 0!==o.initialEvent&&o.initialEvent.target.dispatchEvent(o.initialEvent.event);else if(!0===o.event.detected){!0===o.event.isFirst&&o.handler(h(void 0===t?o.lastEvt:t,o).payload);const{payload:e}=h(void 0===t?o.lastEvt:t,o,!0),n=()=>{o.handler(e)};void 0!==o.styleCleanup?o.styleCleanup(n):n()}o.event=void 0,o.initialEvent=void 0,o.lastEvt=void 0}}};if(e.__qtouchpan=o,!0===n.mouse){const t=!0===n.mouseCapture||!0===n.mousecapture?"Capture":"";(0,c.Z4)(o,"main",[[e,"mousedown","mouseStart",`passive${t}`]])}!0===r.Sn.has.touch&&(0,c.Z4)(o,"main",[[e,"touchstart","touchStart","passive"+(!0===n.capture?"Capture":"")],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){const n=e.__qtouchpan;void 0!==n&&(t.oldValue!==t.value&&("function"!==typeof value&&n.end(),n.handler=t.value),n.direction=s(t.modifiers))},beforeUnmount(e){const t=e.__qtouchpan;void 0!==t&&(void 0!==t.event&&t.end(),(0,c.Fh)(t,"main"),(0,c.Fh)(t,"temp"),!0===r.Sn.is.firefox&&(0,c.M5)(e,!1),void 0!==t.styleCleanup&&t.styleCleanup(),delete e.__qtouchpan)}})},7991:(e,t,n)=>{"use strict";n.d(t,{i:()=>A,A:()=>M});var r=n(9104),i=n(1597),o=n(9467),a=n(2500),s=n(3500);const l=["sm","md","lg","xl"],{passive:u}=a.mG,c=(0,o.Xj)({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:a.lQ,setDebounce:a.lQ,install({$q:e,onSSRHydrated:t}){if(e.screen=this,!0===this.__installed)return void(void 0!==e.config.screen&&(!1===e.config.screen.bodyClasses?document.body.classList.remove(`screen--${this.name}`):this.__update(!0)));const{visualViewport:n}=window,r=n||window,o=document.scrollingElement||document.documentElement,a=void 0===n||!0===i.Sn.is.mobile?()=>[Math.max(window.innerWidth,o.clientWidth),Math.max(window.innerHeight,o.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-o.clientWidth,n.height*n.scale+window.innerHeight-o.clientHeight],c=void 0!==e.config.screen&&!0===e.config.screen.bodyClasses;this.__update=e=>{const[t,n]=a();if(n!==this.height&&(this.height=n),t!==this.width)this.width=t;else if(!0!==e)return;let r=this.sizes;this.gt.xs=t>=r.sm,this.gt.sm=t>=r.md,this.gt.md=t>=r.lg,this.gt.lg=t>=r.xl,this.lt.sm=t<r.sm,this.lt.md=t<r.md,this.lt.lg=t<r.lg,this.lt.xl=t<r.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,r=(!0===this.xs?"xs":!0===this.sm&&"sm")||!0===this.md&&"md"||!0===this.lg&&"lg"||"xl",r!==this.name&&(!0===c&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${r}`)),this.name=r)};let d,h={},f=16;this.setSizes=e=>{l.forEach((t=>{void 0!==e[t]&&(h[t]=e[t])}))},this.setDebounce=e=>{f=e};const p=()=>{const e=getComputedStyle(document.body);e.getPropertyValue("--q-size-sm")&&l.forEach((t=>{this.sizes[t]=parseInt(e.getPropertyValue(`--q-size-${t}`),10)})),this.setSizes=e=>{l.forEach((t=>{e[t]&&(this.sizes[t]=e[t])})),this.__update(!0)},this.setDebounce=e=>{void 0!==d&&r.removeEventListener("resize",d,u),d=e>0?(0,s.A)(this.__update,e):this.__update,r.addEventListener("resize",d,u)},this.setDebounce(f),0!==Object.keys(h).length?(this.setSizes(h),h=void 0):this.__update(),!0===c&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===i.ot.value?t.push(p):p()}});var d=n(411);function h(e,t,n=document.body){if("string"!==typeof e)throw new TypeError("Expected a string as propName");if("string"!==typeof t)throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}var f=n(2906);function p(e){return!0===e.ios?"ios":!0===e.android?"android":void 0}function v({is:e,has:t,within:n},r){const i=[!0===e.desktop?"desktop":"mobile",(!1===t.touch?"no-":"")+"touch"];if(!0===e.mobile){const t=p(e);void 0!==t&&i.push("platform-"+t)}if(!0===e.nativeMobile){const t=e.nativeMobileWrapper;i.push(t),i.push("native-mobile"),!0!==e.ios||void 0!==r[t]&&!1===r[t].iosStatusBarPadding||i.push("q-ios-padding")}else!0===e.electron?i.push("electron"):!0===e.bex&&i.push("bex");return!0===n.iframe&&i.push("within-iframe"),i}function g(){const{is:e}=i.Sn,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(!0!==e.nativeMobile&&!0!==e.electron&&!0!==e.bex)if(!0===e.desktop)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(!0===e.mobile){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const t=p(e);void 0!==t&&n.add(`platform-${t}`)}!0===i.Sn.has.touch&&(n.delete("no-touch"),n.add("touch")),!0===i.Sn.within.iframe&&n.add("within-iframe");const r=Array.from(n).join(" ");t!==r&&(document.body.className=r)}function m(e){for(const t in e)h(t,e[t])}const y={install(e){if(!0!==this.__installed){if(!0===i.ot.value)g();else{const{$q:t}=e;void 0!==t.config.brand&&m(t.config.brand);const n=v(i.Sn,t.config);document.body.classList.add.apply(document.body.classList,n)}!0===i.Sn.is.ios&&document.body.addEventListener("touchstart",a.lQ),window.addEventListener("keydown",f.V7,!0)}}};var _=n(4848),b=n(4360),x=n(3493),w=n(7973),S=n(8253),k=n(1054);const C=[i.Ay,y,d.A,c,_.A,b.A,x.A];function A(e,t){const n=(0,r.Ef)(e);n.config.globalProperties=t.config.globalProperties;const{reload:i,...o}=t._context;return Object.assign(n._context,o),n}function T(e,t){t.forEach((t=>{t.install(e),t.__installed=!0}))}function E(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(w.XA,n.$q),T(n,C),void 0!==t.components&&Object.values(t.components).forEach((t=>{!0===(0,k.Gv)(t)&&void 0!==t.name&&e.component(t.name,t)})),void 0!==t.directives&&Object.values(t.directives).forEach((t=>{!0===(0,k.Gv)(t)&&void 0!==t.name&&e.directive(t.name,t)})),void 0!==t.plugins&&T(n,Object.values(t.plugins).filter((e=>"function"===typeof e.install&&!1===C.includes(e)))),!0===i.ot.value&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach((e=>{e()})),n.$q.onSSRHydrated=()=>{}})}const M=function(e,t={}){const n={version:"2.17.0"};!1===S.Or?(void 0!==t.config&&Object.assign(S.cr,t.config),n.config={...S.cr},(0,S.xX)()):n.config=t.config||{},E(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})}},411:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(9467);const i=(0,r.Xj)({isActive:!1,mode:!1},{__media:void 0,set(e){i.mode=e,"auto"===e?(void 0===i.__media&&(i.__media=window.matchMedia("(prefers-color-scheme: dark)"),i.__updateMedia=()=>{i.set("auto")},i.__media.addListener(i.__updateMedia)),e=i.__media.matches):void 0!==i.__media&&(i.__media.removeListener(i.__updateMedia),i.__media=void 0),i.isActive=!0===e,document.body.classList.remove("body--"+(!0===e?"light":"dark")),document.body.classList.add("body--"+(!0===e?"dark":"light"))},toggle(){i.set(!1===i.isActive)},install({$q:e,ssrContext:t}){const{dark:n}=e.config;e.dark=this,!0!==this.__installed&&this.set(void 0!==n&&n)}}),o=i},8292:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r=n(1758),i=n(8734),o=n(558),a=n(6384),s=n(3316),l=n(9467),u=n(5139);const c=(0,l.a0)({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=(0,r.EW)((()=>"q-card__section q-card__section--"+(!0===e.horizontal?"horiz row no-wrap":"vert")));return()=>(0,r.h)(e.tag,{class:n.value},(0,u.zm)(t.default))}});var d=n(18);const h=(0,l.a0)({name:"QCardActions",props:{...d.fR,vertical:Boolean},setup(e,{slots:t}){const n=(0,d.Ay)(e),i=(0,r.EW)((()=>`q-card__actions ${n.value} q-card__actions--`+(!0===e.vertical?"vert column":"horiz row")));return()=>(0,r.h)("div",{class:i.value},(0,u.zm)(t.default))}});var f=n(386),p=n(9270),v=n(492),g=n(6372),m=n(1906),y=n(8014),_=n(2510),b=n(447),x=n(2500);const w=()=>(0,r.h)("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[(0,r.h)("path",{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"}),(0,r.h)("path",{class:"q-radio__check",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"})]),S=(0,l.a0)({name:"QRadio",props:{...g.C,...m.x_,..._.Sc,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:o}=(0,r.nI)(),a=(0,g.A)(e,o.$q),s=(0,m.Ay)(e,b.A),l=(0,i.KR)(null),{refocusTargetEl:c,refocusTarget:d}=(0,y.A)(e,l),h=(0,r.EW)((()=>(0,i.ux)(e.modelValue)===(0,i.ux)(e.val))),f=(0,r.EW)((()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(!0===e.disable?" disabled":"")+(!0===a.value?" q-radio--dark":"")+(!0===e.dense?" q-radio--dense":"")+(!0===e.leftLabel?" reverse":""))),p=(0,r.EW)((()=>{const t=void 0===e.color||!0!==e.keepColor&&!0!==h.value?"":` text-${e.color}`;return`q-radio__inner relative-position q-radio__inner--${!0===h.value?"truthy":"falsy"}${t}`})),S=(0,r.EW)((()=>(!0===h.value?e.checkedIcon:e.uncheckedIcon)||null)),k=(0,r.EW)((()=>!0===e.disable?-1:e.tabindex||0)),C=(0,r.EW)((()=>{const t={type:"radio"};return void 0!==e.name&&Object.assign(t,{".checked":!0===h.value,"^checked":!0===h.value?"checked":void 0,name:e.name,value:e.val}),t})),A=(0,_.vq)(C);function T(t){void 0!==t&&((0,x.Gu)(t),d(t)),!0!==e.disable&&!0!==h.value&&n("update:modelValue",e.val,t)}function E(e){13!==e.keyCode&&32!==e.keyCode||(0,x.Gu)(e)}function M(e){13!==e.keyCode&&32!==e.keyCode||T(e)}Object.assign(o,{set:T});const I=w();return()=>{const n=null!==S.value?[(0,r.h)("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[(0,r.h)(v.A,{class:"q-radio__icon",name:S.value})])]:[I];!0!==e.disable&&A(n,"unshift"," q-radio__native q-ma-none q-pa-none");const i=[(0,r.h)("div",{class:p.value,style:s.value,"aria-hidden":"true"},n)];null!==c.value&&i.push(c.value);const o=void 0!==e.label?(0,u.Hp)(t.default,[e.label]):(0,u.zm)(t.default);return void 0!==o&&i.push((0,r.h)("div",{class:"q-radio__label q-anchor--skip"},o)),(0,r.h)("div",{ref:l,class:f.value,tabindex:k.value,role:"radio","aria-label":e.label,"aria-checked":!0===h.value?"true":"false","aria-disabled":!0===e.disable?"true":void 0,onClick:T,onKeydown:E,onKeyup:M},i)}}});var k=n(460),C=n(6908),A=n(1054);const T={radio:S,checkbox:k.A,toggle:C.A},E=Object.keys(T);function M(e,t){if("function"===typeof e)return e;const n=void 0!==e?e:t;return e=>e[n]}const I=(0,l.a0)({name:"QOptionGroup",props:{...g.C,modelValue:{required:!0},options:{type:Array,validator:e=>e.every(A.Gv),default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],name:String,type:{type:String,default:"radio",validator:e=>E.includes(e)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{proxy:{$q:i}}=(0,r.nI)(),o=Array.isArray(e.modelValue);"radio"===e.type?!0===o&&console.error("q-option-group: model should not be array"):!1===o&&console.error("q-option-group: model should be array in your case");const a=(0,g.A)(e,i),s=(0,r.EW)((()=>T[e.type])),l=(0,r.EW)((()=>M(e.optionValue,"value"))),u=(0,r.EW)((()=>M(e.optionLabel,"label"))),c=(0,r.EW)((()=>M(e.optionDisable,"disable"))),d=(0,r.EW)((()=>e.options.map((t=>({val:l.value(t),name:void 0===t.name?e.name:t.name,disable:e.disable||c.value(t),leftLabel:void 0===t.leftLabel?e.leftLabel:t.leftLabel,color:void 0===t.color?e.color:t.color,checkedIcon:t.checkedIcon,uncheckedIcon:t.uncheckedIcon,dark:void 0===t.dark?a.value:t.dark,size:void 0===t.size?e.size:t.size,dense:e.dense,keepColor:void 0===t.keepColor?e.keepColor:t.keepColor}))))),h=(0,r.EW)((()=>"q-option-group q-gutter-x-sm"+(!0===e.inline?" q-option-group--inline":""))),f=(0,r.EW)((()=>{const t={role:"group"};return"radio"===e.type&&(t.role="radiogroup",!0===e.disable&&(t["aria-disabled"]="true")),t}));function p(e){t("update:modelValue",e)}return()=>(0,r.h)("div",{class:h.value,...f.value},e.options.map(((t,i)=>{const o=void 0!==n["label-"+i]?()=>n["label-"+i](t):void 0!==n.label?()=>n.label(t):void 0;return(0,r.h)("div",[(0,r.h)(s.value,{label:void 0===o?u.value(t):null,modelValue:e.modelValue,"onUpdate:modelValue":p,...d.value[i]},o)])})))}});var D=n(8210),R=n(2906);const L=(0,l.a0)({name:"DialogPluginComponent",props:{...g.C,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:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){const{proxy:n}=(0,r.nI)(),{$q:l}=n,u=(0,g.A)(e,l),d=(0,i.KR)(null),v=(0,i.KR)(void 0!==e.prompt?e.prompt.model:void 0!==e.options?e.options.model:void 0),m=(0,r.EW)((()=>"q-dialog-plugin"+(!0===u.value?" q-dialog-plugin--dark q-dark":"")+(!1!==e.progress?" q-dialog-plugin--progress":""))),y=(0,r.EW)((()=>e.color||(!0===u.value?"amber":"primary"))),_=(0,r.EW)((()=>!1===e.progress?null:!0===(0,A.Gv)(e.progress)?{component:e.progress.spinner||D.A,props:{color:e.progress.color||y.value}}:{component:D.A,props:{color:y.value}})),b=(0,r.EW)((()=>void 0!==e.prompt||void 0!==e.options)),x=(0,r.EW)((()=>{if(!0!==b.value)return{};const{model:t,isValid:n,items:r,...i}=void 0!==e.prompt?e.prompt:e.options;return i})),w=(0,r.EW)((()=>!0===(0,A.Gv)(e.ok)||!0===e.ok?l.lang.label.ok:e.ok)),S=(0,r.EW)((()=>!0===(0,A.Gv)(e.cancel)||!0===e.cancel?l.lang.label.cancel:e.cancel)),k=(0,r.EW)((()=>void 0!==e.prompt?void 0!==e.prompt.isValid&&!0!==e.prompt.isValid(v.value):void 0!==e.options&&(void 0!==e.options.isValid&&!0!==e.options.isValid(v.value)))),C=(0,r.EW)((()=>({color:y.value,label:w.value,ripple:!1,disable:k.value,...!0===(0,A.Gv)(e.ok)?e.ok:{flat:!0},"data-autofocus":"ok"===e.focus&&!0!==b.value||void 0,onClick:L}))),T=(0,r.EW)((()=>({color:y.value,label:S.value,ripple:!1,...!0===(0,A.Gv)(e.cancel)?e.cancel:{flat:!0},"data-autofocus":"cancel"===e.focus&&!0!==b.value||void 0,onClick:O})));function E(){d.value.show()}function M(){d.value.hide()}function L(){t("ok",(0,i.ux)(v.value)),M()}function O(){M()}function P(){t("hide")}function z(e){v.value=e}function B(t){!0!==k.value&&"textarea"!==e.prompt.type&&!0===(0,R.Dv)(t,13)&&L()}function N(t,n){return!0===e.html?(0,r.h)(c,{class:t,innerHTML:n}):(0,r.h)(c,{class:t},(()=>n))}function F(){return[(0,r.h)(p.A,{color:y.value,dense:!0,autofocus:!0,dark:u.value,...x.value,modelValue:v.value,"onUpdate:modelValue":z,onKeyup:B})]}function q(){return[(0,r.h)(I,{color:y.value,options:e.options.items,dark:u.value,...x.value,modelValue:v.value,"onUpdate:modelValue":z})]}function W(){const t=[];return e.cancel&&t.push((0,r.h)(a.A,T.value)),e.ok&&t.push((0,r.h)(a.A,C.value)),(0,r.h)(h,{class:!0===e.stackButtons?"items-end":"",vertical:e.stackButtons,align:"right"},(()=>t))}function G(){const t=[];return e.title&&t.push(N("q-dialog__title",e.title)),!1!==e.progress&&t.push((0,r.h)(c,{class:"q-dialog__progress"},(()=>(0,r.h)(_.value.component,_.value.props)))),e.message&&t.push(N("q-dialog__message",e.message)),void 0!==e.prompt?t.push((0,r.h)(c,{class:"scroll q-dialog-plugin__form"},F)):void 0!==e.options&&t.push((0,r.h)(f.A,{dark:u.value}),(0,r.h)(c,{class:"scroll q-dialog-plugin__form"},q),(0,r.h)(f.A,{dark:u.value})),(e.ok||e.cancel)&&t.push(W()),t}function V(){return[(0,r.h)(s.A,{class:[m.value,e.cardClass],style:e.cardStyle,dark:u.value},G)]}return(0,r.wB)((()=>e.prompt&&e.prompt.model),z),(0,r.wB)((()=>e.options&&e.options.model),z),Object.assign(n,{show:E,hide:M}),()=>(0,r.h)(o.A,{ref:d,onHide:P},V)}});var O=n(7991),P=n(8536);function z(e,t){for(const n in t)"spinner"!==n&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},z(e[n],t[n])):e[n]=t[n]}function B(e,t,n){return o=>{let a,s;const l=!0===t&&void 0!==o.component;if(!0===l){const{component:e,componentProps:t}=o;a="string"===typeof e?n.component(e):e,s=t||{}}else{const{class:t,style:n,...r}=o;a=e,s=r,void 0!==t&&(r.cardClass=t),void 0!==n&&(r.cardStyle=n)}let u,c=!1;const d=(0,i.KR)(null),h=(0,P.US)(!1,"dialog"),f=e=>{if(null!==d.value&&void 0!==d.value[e])return void d.value[e]();const t=u.$.subTree;if(t&&t.component){if(t.component.proxy&&t.component.proxy[e])return void t.component.proxy[e]();if(t.component.subTree&&t.component.subTree.component&&t.component.subTree.component.proxy&&t.component.subTree.component.proxy[e])return void t.component.subTree.component.proxy[e]()}console.error("[Quasar] Incorrectly defined Dialog component")},p=[],v=[],g={onOk(e){return p.push(e),g},onCancel(e){return v.push(e),g},onDismiss(e){return p.push(e),v.push(e),g},hide(){return f("hide"),g},update(e){if(null!==u){if(!0===l)Object.assign(s,e);else{const{class:t,style:n,...r}=e;void 0!==t&&(r.cardClass=t),void 0!==n&&(r.cardStyle=n),z(s,r)}u.$forceUpdate()}return g}},m=e=>{c=!0,p.forEach((t=>{t(e)}))},y=()=>{_.unmount(h),(0,P._J)(h),_=null,u=null,!0!==c&&v.forEach((e=>{e()}))};let _=(0,O.i)({name:"QGlobalDialog",setup:()=>()=>(0,r.h)(a,{...s,ref:d,onOk:m,onHide:y,onVnodeMounted(...e){"function"===typeof s.onVnodeMounted&&s.onVnodeMounted(...e),(0,r.dY)((()=>f("show")))}})},n);return u=_.mount(h),g}}const N={install({$q:e,parentApp:t}){e.dialog=this.create=B(L,!0,t)}}},3493:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(9467),i=n(2453);const o={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"}},a=(0,r.Xj)({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=a.set,Object.assign(a.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){void 0!==e.config.iconMapFn&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,(0,i.$)(e,"iconMapFn",(()=>this.iconMapFn),(e=>{this.iconMapFn=e})),!0===this.__installed?void 0!==t&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(e){return Reflect.ownKeys(e).filter((e=>"set"!==e))}}),this.set(t||o))}}),s=a},4360:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(9467);const i={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",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},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:e=>1===e?"1 record selected.":(0===e?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" 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"}};function o(){const e=!0===Array.isArray(navigator.languages)&&0!==navigator.languages.length?navigator.languages[0]:navigator.language;if("string"===typeof e)return e.split(/[-_]/).map(((e,t)=>0===t?e.toLowerCase():t>1||e.length<4?e.toUpperCase():e[0].toUpperCase()+e.slice(1).toLowerCase())).join("-")}const a=(0,r.Xj)({__qLang:{}},{getLocale:o,set(e=i,t){const n={...e,rtl:!0===e.rtl,getLocale:o};if(n.set=a.set,void 0===a.__langConfig||!0!==a.__langConfig.noHtmlAttrs){const e=document.documentElement;e.setAttribute("dir",!0===n.rtl?"rtl":"ltr"),e.setAttribute("lang",n.isoName)}Object.assign(a.__qLang,n)},install({$q:e,lang:t,ssrContext:n}){e.lang=a.__qLang,a.__langConfig=e.config.lang,!0===this.__installed?void 0!==t&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(e){return Reflect.ownKeys(e).filter((e=>"set"!==e&&"getLocale"!==e))}}),this.set(t||i))}}),s=a},1627:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(8734),i=n(1758),o=n(9104),a=n(492),s=n(1906),l=n(9467),u=n(5139);const c=(0,l.a0)({name:"QAvatar",props:{...s.x_,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=(0,s.Ay)(e),r=(0,i.EW)((()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(!0===e.square?" q-avatar--square":!0===e.rounded?" rounded-borders":""))),o=(0,i.EW)((()=>e.fontSize?{fontSize:e.fontSize}:null));return()=>{const s=void 0!==e.icon?[(0,i.h)(a.A,{name:e.icon})]:void 0;return(0,i.h)("div",{class:r.value,style:n.value},[(0,i.h)("div",{class:"q-avatar__content row flex-center overflow-hidden",style:o.value},(0,u.bG)(t.default,s))])}}});var d=n(6384),h=n(8210),f=n(7991),p=(n(2500),n(8536)),v=n(1054);let g=0;const m={},y={},_={},b={},x=/^\s*$/,w=[],S=[void 0,null,!0,!1,""],k=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],C=["top-left","top-right","bottom-left","bottom-right"],A={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function T(e,t,n){if(!e)return I("parameter required");let i;const o={textColor:"white"};if(!0!==e.ignoreDefaults&&Object.assign(o,m),!1===(0,v.Gv)(e)&&(o.type&&Object.assign(o,A[o.type]),e={message:e}),Object.assign(o,A[e.type||o.type],e),"function"===typeof o.icon&&(o.icon=o.icon(t)),o.spinner?(!0===o.spinner&&(o.spinner=h.A),o.spinner=(0,r.IG)(o.spinner)):o.spinner=!1,o.meta={hasMedia:Boolean(!1!==o.spinner||o.icon||o.avatar),hasText:M(o.message)||M(o.caption)},o.position){if(!1===k.includes(o.position))return I("wrong position",e)}else o.position="bottom";if(!0===S.includes(o.timeout))o.timeout=5e3;else{const t=Number(o.timeout);if(isNaN(t)||t<0)return I("wrong timeout",e);o.timeout=Number.isFinite(t)?t:0}0===o.timeout?o.progress=!1:!0===o.progress&&(o.meta.progressClass="q-notification__progress"+(o.progressClass?` ${o.progressClass}`:""),o.meta.progressStyle={animationDuration:`${o.timeout+1e3}ms`});const a=(!0===Array.isArray(e.actions)?e.actions:[]).concat(!0!==e.ignoreDefaults&&!0===Array.isArray(m.actions)?m.actions:[]).concat(void 0!==A[e.type]&&!0===Array.isArray(A[e.type].actions)?A[e.type].actions:[]),{closeBtn:s}=o;if(s&&a.push({label:"string"===typeof s?s:t.lang.label.close}),o.actions=a.map((({handler:e,noDismiss:t,...n})=>({flat:!0,...n,onClick:"function"===typeof e?()=>{e(),!0!==t&&l()}:()=>{l()}}))),void 0===o.multiLine&&(o.multiLine=o.actions.length>1),Object.assign(o.meta,{class:"q-notification row items-stretch q-notification--"+(!0===o.multiLine?"multi-line":"standard")+(void 0!==o.color?` bg-${o.color}`:"")+(void 0!==o.textColor?` text-${o.textColor}`:"")+(void 0!==o.classes?` ${o.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(!0===o.multiLine?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(!0===o.multiLine?"":" col"),leftClass:!0===o.meta.hasText?"additional":"single",attrs:{role:"alert",...o.attrs}}),!1===o.group?(o.group=void 0,o.meta.group=void 0):(void 0!==o.group&&!0!==o.group||(o.group=[o.message,o.caption,o.multiline].concat(o.actions.map((e=>`${e.label}*${e.icon}`))).join("|")),o.meta.group=o.group+"|"+o.position),0===o.actions.length?o.actions=void 0:o.meta.actionsClass="q-notification__actions row items-center "+(!0===o.multiLine?"justify-end":"col-auto")+(!0===o.meta.hasMedia?" q-notification__actions--with-media":""),void 0!==n){n.notif.meta.timer&&(clearTimeout(n.notif.meta.timer),n.notif.meta.timer=void 0),o.meta.uid=n.notif.meta.uid;const e=_[o.position].value.indexOf(n.notif);_[o.position].value[e]=o}else{const t=y[o.meta.group];if(void 0===t){if(o.meta.uid=g++,o.meta.badge=1,-1!==["left","right","center"].indexOf(o.position))_[o.position].value.splice(Math.floor(_[o.position].value.length/2),0,o);else{const e=-1!==o.position.indexOf("top")?"unshift":"push";_[o.position].value[e](o)}void 0!==o.group&&(y[o.meta.group]=o)}else{if(t.meta.timer&&(clearTimeout(t.meta.timer),t.meta.timer=void 0),void 0!==o.badgePosition){if(!1===C.includes(o.badgePosition))return I("wrong badgePosition",e)}else o.badgePosition="top-"+(-1!==o.position.indexOf("left")?"right":"left");o.meta.uid=t.meta.uid,o.meta.badge=t.meta.badge+1,o.meta.badgeClass=`q-notification__badge q-notification__badge--${o.badgePosition}`+(void 0!==o.badgeColor?` bg-${o.badgeColor}`:"")+(void 0!==o.badgeTextColor?` text-${o.badgeTextColor}`:"")+(o.badgeClass?` ${o.badgeClass}`:"");const n=_[o.position].value.indexOf(t);_[o.position].value[n]=y[o.meta.group]=o}}const l=()=>{E(o),i=void 0};return o.timeout>0&&(o.meta.timer=setTimeout((()=>{o.meta.timer=void 0,l()}),o.timeout+1e3)),void 0!==o.group?t=>{void 0!==t?I("trying to update a grouped one which is forbidden",e):l()}:(i={dismiss:l,config:e,notif:o},void 0===n?e=>{if(void 0!==i)if(void 0===e)i.dismiss();else{const n=Object.assign({},i.config,e,{group:!1,position:o.position});T(n,t,i)}}:void Object.assign(n,i))}function E(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const t=_[e.position].value.indexOf(e);if(-1!==t){void 0!==e.group&&delete y[e.meta.group];const n=w[""+e.meta.uid];if(n){const{width:e,height:t}=getComputedStyle(n);n.style.left=`${n.offsetLeft}px`,n.style.width=e,n.style.height=t}_[e.position].value.splice(t,1),"function"===typeof e.onDismiss&&e.onDismiss()}}function M(e){return void 0!==e&&null!==e&&!0!==x.test(e)}function I(e,t){return console.error(`Notify: ${e}`,t),!1}function D(){return(0,l.a0)({name:"QNotifications",devtools:{hide:!0},setup(){return()=>(0,i.h)("div",{class:"q-notifications"},k.map((e=>(0,i.h)(o.F,{key:e,class:b[e],tag:"div",name:`q-notification--${e}`},(()=>_[e].value.map((e=>{const t=e.meta,n=[];if(!0===t.hasMedia&&(!1!==e.spinner?n.push((0,i.h)(e.spinner,{class:"q-notification__spinner q-notification__spinner--"+t.leftClass,color:e.spinnerColor,size:e.spinnerSize})):e.icon?n.push((0,i.h)(a.A,{class:"q-notification__icon q-notification__icon--"+t.leftClass,name:e.icon,color:e.iconColor,size:e.iconSize,role:"img"})):e.avatar&&n.push((0,i.h)(c,{class:"q-notification__avatar q-notification__avatar--"+t.leftClass},(()=>(0,i.h)("img",{src:e.avatar,"aria-hidden":"true"}))))),!0===t.hasText){let t;const r={class:"q-notification__message col"};if(!0===e.html)r.innerHTML=e.caption?`<div>${e.message}</div><div class="q-notification__caption">${e.caption}</div>`:e.message;else{const n=[e.message];t=e.caption?[(0,i.h)("div",n),(0,i.h)("div",{class:"q-notification__caption"},[e.caption])]:n}n.push((0,i.h)("div",r,t))}const r=[(0,i.h)("div",{class:t.contentClass},n)];return!0===e.progress&&r.push((0,i.h)("div",{key:`${t.uid}|p|${t.badge}`,class:t.progressClass,style:t.progressStyle})),void 0!==e.actions&&r.push((0,i.h)("div",{class:t.actionsClass},e.actions.map((e=>(0,i.h)(d.A,e))))),t.badge>1&&r.push((0,i.h)("div",{key:`${t.uid}|${t.badge}`,class:e.meta.badgeClass,style:e.badgeStyle},[t.badge])),(0,i.h)("div",{ref:e=>{w[""+t.uid]=e},key:t.uid,class:t.class,...t.attrs},[(0,i.h)("div",{class:t.wrapperClass},r)])})))))))}})}const R={setDefaults(e){!0===(0,v.Gv)(e)&&Object.assign(m,e)},registerType(e,t){!0===(0,v.Gv)(t)&&(A[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=t=>T(t,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,void 0!==e.config.notify&&this.setDefaults(e.config.notify),!0!==this.__installed){k.forEach((e=>{_[e]=(0,r.KR)([]);const t=!0===["left","center","right"].includes(e)?"center":-1!==e.indexOf("top")?"top":"bottom",n=-1!==e.indexOf("left")?"start":-1!==e.indexOf("right")?"end":"center",i=["left","right"].includes(e)?`items-${"left"===e?"start":"end"} justify-center`:"center"===e?"flex-center":`items-${n}`;b[e]=`q-notifications__list q-notifications__list--${t} fixed column no-wrap ${i}`}));const e=(0,p.US)("q-notify");(0,f.i)(D(),t).mount(e)}}}},1597:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,Sn:()=>f,ot:()=>o});var r=n(8734),i=n(2453);const o=(0,r.KR)(!1);let a;function s(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[4]||n[2]||"0",platform:t[0]||""}}function l(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const u="ontouchstart"in window||window.navigator.maxTouchPoints>0;function c(e){const t=e.toLowerCase(),n=l(t),r=s(t,n),i={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};r.browser&&(i[r.browser]=!0,i.version=r.version,i.versionNumber=parseInt(r.version,10)),r.platform&&(i[r.platform]=!0);const c=i.android||i.ios||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"];if(!0===c||-1!==t.indexOf("mobile")?i.mobile=!0:i.desktop=!0,i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),i.edga||i.edgios||i.edg?(i.edge=!0,r.browser="edge"):i.crios?(i.chrome=!0,r.browser="chrome"):i.fxios&&(i.firefox=!0,r.browser="firefox"),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i.vivaldi&&(r.browser="vivaldi",i.vivaldi=!0),(i.chrome||i.opr||i.safari||i.vivaldi||!0===i.mobile&&!0!==i.ios&&!0!==c)&&(i.webkit=!0),i.opr&&(r.browser="opera",i.opera=!0),i.safari&&(i.blackberry||i.bb?(r.browser="blackberry",i.blackberry=!0):i.playbook?(r.browser="playbook",i.playbook=!0):i.android?(r.browser="android",i.android=!0):i.kindle?(r.browser="kindle",i.kindle=!0):i.silk&&(r.browser="silk",i.silk=!0)),i.name=r.browser,i.platform=r.platform,-1!==t.indexOf("electron"))i.electron=!0;else if(-1!==document.location.href.indexOf("-extension://"))i.bex=!0;else{if(void 0!==window.Capacitor?(i.capacitor=!0,i.nativeMobile=!0,i.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(i.cordova=!0,i.nativeMobile=!0,i.nativeMobileWrapper="cordova"),!0===o.value&&(a={is:{...i}}),!0===u&&!0===i.mac&&(!0===i.desktop&&!0===i.safari||!0===i.nativeMobile&&!0!==i.android&&!0!==i.ios&&!0!==i.ipad)){delete i.mac,delete i.desktop;const e=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(i,{mobile:!0,ios:!0,platform:e,[e]:!0})}!0!==i.mobile&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete i.desktop,i.mobile=!0)}return i}const d=navigator.userAgent||navigator.vendor||window.opera,h={has:{touch:!1,webStorage:!1},within:{iframe:!1}},f={userAgent:d,is:c(d),has:{touch:u},within:{iframe:window.self!==window.top}},p={install(e){const{$q:t}=e;!0===o.value?(e.onSSRHydrated.push((()=>{Object.assign(t.platform,f),o.value=!1})),t.platform=(0,r.Kh)(this)):t.platform=this}};{let e;(0,i.$)(f.has,"webStorage",(()=>{if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(t){}return e=!1,!1})),Object.assign(p,f),!0===o.value&&(Object.assign(p,a,h),a=null)}const v=p},4848:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(1597),i=n(2500);const o=()=>!0;function a(e){return"string"===typeof e&&""!==e&&"/"!==e&&"#/"!==e}function s(e){return!0===e.startsWith("#")&&(e=e.substring(1)),!1===e.startsWith("/")&&(e="/"+e),!0===e.endsWith("/")&&(e=e.substring(0,e.length-1)),"#"+e}function l(e){if(!1===e.backButtonExit)return()=>!1;if("*"===e.backButtonExit)return o;const t=["#/"];return!0===Array.isArray(e.backButtonExit)&&t.push(...e.backButtonExit.filter(a).map(s)),()=>t.includes(window.location.hash)}const u={__history:[],add:i.lQ,remove:i.lQ,install({$q:e}){if(!0===this.__installed)return;const{cordova:t,capacitor:n}=r.Sn.is;if(!0!==t&&!0!==n)return;const i=e.config[!0===t?"cordova":"capacitor"];if(void 0!==i&&!1===i.backButton)return;if(!0===n&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=e=>{void 0===e.condition&&(e.condition=o),this.__history.push(e)},this.remove=e=>{const t=this.__history.indexOf(e);t>=0&&this.__history.splice(t,1)};const a=l(Object.assign({backButtonExit:!0},i)),s=()=>{if(this.__history.length){const e=this.__history[this.__history.length-1];!0===e.condition()&&(this.__history.pop(),e.handler())}else!0===a()?navigator.app.exitApp():window.history.back()};!0===t?document.addEventListener("deviceready",(()=>{document.addEventListener("backbutton",s,!1)})):window.Capacitor.Plugins.App.addListener("backButton",s)}}},5022:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1597),i=n(6445);const o=!1===r.Sn.has.webStorage?(0,i.P)():(0,i.c)("local"),a={install({$q:e}){e.localStorage=o}};Object.assign(a,o);const s=a},1903:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1597),i=n(6445);const o=!1===r.Sn.has.webStorage?(0,i.P)():(0,i.c)("session"),a={install({$q:e}){e.sessionStorage=o}};Object.assign(a,o);const s=a},6445:(e,t,n)=>{"use strict";n.d(t,{P:()=>s,c:()=>l});var r=n(2500),i=n(1054);function o(e){return!0===(0,i.$P)(e)?"__q_date|"+e.getTime():!0===(0,i.oh)(e)?"__q_expr|"+e.source:"number"===typeof e?"__q_numb|"+e:"boolean"===typeof e?"__q_bool|"+(e?"1":"0"):"string"===typeof e?"__q_strn|"+e:"function"===typeof e?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}function a(e){const t=e.length;if(t<9)return e;const n=e.substring(0,8),r=e.substring(9);switch(n){case"__q_date":const t=Number(r);return new Date(!0===Number.isNaN(t)?r:t);case"__q_expr":return new RegExp(r);case"__q_numb":return Number(r);case"__q_bool":return Boolean("1"===r);case"__q_strn":return""+r;case"__q_objt":return JSON.parse(r);default:return e}}function s(){const e=()=>null;return{has:()=>!1,hasItem:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:r.lQ,setItem:r.lQ,remove:r.lQ,removeItem:r.lQ,clear:r.lQ,isEmpty:()=>!0}}function l(e){const t=window[e+"Storage"],n=e=>{const n=t.getItem(e);return n?a(n):null},r=e=>null!==t.getItem(e),i=(e,n)=>{t.setItem(e,o(n))},s=e=>{t.removeItem(e)};return{has:r,hasItem:r,getLength:()=>t.length,getItem:n,getIndex:e=>e<t.length?n(t.key(e)):null,getKey:e=>e<t.length?t.key(e):null,getAll:()=>{let e;const r={},i=t.length;for(let o=0;o<i;o++)e=t.key(o),r[e]=n(e);return r},getAllKeys:()=>{const e=[],n=t.length;for(let r=0;r<n;r++)e.push(t.key(r));return e},set:i,setItem:i,remove:s,removeItem:s,clear:()=>{t.clear()},isEmpty:()=>0===t.length}}},3500:(e,t,n)=>{"use strict";function r(e,t=250,n){let r=null;function i(){const i=arguments,o=()=>{r=null,!0!==n&&e.apply(this,i)};null!==r?clearTimeout(r):!0===n&&e.apply(this,i),r=setTimeout(o,t)}return i.cancel=()=>{null!==r&&clearTimeout(r)},i}n.d(t,{A:()=>r})},7556:(e,t,n)=>{"use strict";n.d(t,{$J:()=>a,AH:()=>i,V6:()=>o});var r=n(8734);function i(e,t){const n=e.style;for(const r in t)n[r]=t[r]}function o(e){if(void 0===e||null===e)return;if("string"===typeof e)try{return document.querySelector(e)||void 0}catch(n){return}const t=(0,r.R1)(e);return t?t.$el||t:void 0}function a(e,t){if(void 0===e||null===e||!0===e.contains(t))return!0;for(let n=e.nextElementSibling;null!==n;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}},2500:(e,t,n)=>{"use strict";n.d(t,{F4:()=>u,Fh:()=>f,G1:()=>a,Gu:()=>c,M5:()=>d,Z4:()=>h,ds:()=>l,en:()=>s,lQ:()=>i,mG:()=>r,w7:()=>o});const r={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(r,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch(p){}function i(){}function o(e){return 0===e.button}function a(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function s(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;while(n){if(t.push(n),"HTML"===n.tagName)return t.push(document),t.push(window),t;n=n.parentElement}}function l(e){e.stopPropagation()}function u(e){!1!==e.cancelable&&e.preventDefault()}function c(e){!1!==e.cancelable&&e.preventDefault(),e.stopPropagation()}function d(e,t){if(void 0===e||!0===t&&!0===e.__dragPrevented)return;const n=!0===t?e=>{e.__dragPrevented=!0,e.addEventListener("dragstart",u,r.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener("dragstart",u,r.notPassiveCapture)};e.querySelectorAll("a, img").forEach(n)}function h(e,t,n){const i=`__q_${t}_evt`;e[i]=void 0!==e[i]?e[i].concat(n):n,n.forEach((t=>{t[0].addEventListener(t[1],e[t[2]],r[t[3]])}))}function f(e,t){const n=`__q_${t}_evt`;void 0!==e[n]&&(e[n].forEach((t=>{t[0].removeEventListener(t[1],e[t[2]],r[t[3]])})),e[n]=void 0)}},2732:(e,t,n)=>{"use strict";n.d(t,{Tq:()=>o,cO:()=>i,eo:()=>a});const r=["B","KB","MB","GB","TB","PB"];function i(e,t=1){let n=0;while(parseInt(e,10)>=1024&&n<r.length-1)e/=1024,++n;return`${e.toFixed(t)}${r[n]}`}function o(e,t,n){return n<=t?t:Math.min(n,Math.max(t,e))}function a(e,t,n){if(n<=t)return t;const r=n-t+1;let i=t+(e-t)%r;return i<t&&(i=r+i),0===i?0:i}},1054:(e,t,n)=>{"use strict";function r(e,t){if(e===t)return!0;if(null!==e&&null!==t&&"object"===typeof e&&"object"===typeof t){if(e.constructor!==t.constructor)return!1;let n,i;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(i=n;0!==i--;)if(!0!==r(e[i],t[i]))return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let n=e.entries();i=n.next();while(!0!==i.done){if(!0!==t.has(i.value[0]))return!1;i=n.next()}n=e.entries(),i=n.next();while(!0!==i.done){if(!0!==r(i.value[1],t.get(i.value[0])))return!1;i=n.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const n=e.entries();i=n.next();while(!0!==i.done){if(!0!==t.has(i.value[0]))return!1;i=n.next()}return!0}if(null!=e.buffer&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(i=n;0!==i--;)if(e[i]!==t[i])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const o=Object.keys(e).filter((t=>void 0!==e[t]));if(n=o.length,n!==Object.keys(t).filter((e=>void 0!==t[e])).length)return!1;for(i=n;0!==i--;){const n=o[i];if(!0!==r(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function i(e){return null!==e&&"object"===typeof e&&!0!==Array.isArray(e)}function o(e){return"[object Date]"===Object.prototype.toString.call(e)}function a(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function s(e){return"number"===typeof e&&isFinite(e)}n.d(t,{$P:()=>o,Et:()=>s,Gv:()=>i,Hv:()=>r,oh:()=>a})},2257:(e,t,n)=>{"use strict";n.d(t,{e:()=>c,r:()=>u});var r=n(2500),i=n(5563);let o=null;const{notPassiveCapture:a}=r.mG,s=[];function l(e){null!==o&&(clearTimeout(o),o=null);const t=e.target;if(void 0===t||8===t.nodeType||!0===t.classList.contains("no-pointer-events"))return;let n=i.jx.length-1;while(n>=0){const e=i.jx[n].$;if("QTooltip"!==e.type.name){if("QDialog"!==e.type.name)break;if(!0!==e.props.seamless)return;n--}else n--}for(let r=s.length-1;r>=0;r--){const n=s[r];if(null!==n.anchorEl.value&&!1!==n.anchorEl.value.contains(t)||t!==document.body&&(null===n.innerRef.value||!1!==n.innerRef.value.contains(t)))return;e.qClickOutside=!0,n.onClickOutside(e)}}function u(e){s.push(e),1===s.length&&(document.addEventListener("mousedown",l,a),document.addEventListener("touchstart",l,a))}function c(e){const t=s.findIndex((t=>t===e));-1!==t&&(s.splice(t,1),0===s.length&&(null!==o&&(clearTimeout(o),o=null),document.removeEventListener("mousedown",l,a),document.removeEventListener("touchstart",l,a)))}},8253:(e,t,n)=>{"use strict";n.d(t,{Or:()=>i,cr:()=>r,xX:()=>o});const r={};let i=!1;function o(){i=!0}},8536:(e,t,n)=>{"use strict";n.d(t,{US:()=>l,_J:()=>u});var r=n(8253);const i=[],o=[];let a=1,s=document.body;function l(e,t){const n=document.createElement("div");if(n.id=void 0!==t?`q-portal--${t}--${a++}`:e,void 0!==r.cr.globalNodes){const e=r.cr.globalNodes.class;void 0!==e&&(n.className=e)}return s.appendChild(n),i.push(n),o.push(t),n}function u(e){const t=i.indexOf(e);i.splice(t,1),o.splice(t,1),e.remove()}},9467:(e,t,n)=>{"use strict";n.d(t,{Xj:()=>l,Yg:()=>s,a0:()=>a});var r=n(8734),i=n(1758),o=n(2453);function a(e){return(0,r.IG)((0,i.pM)(e))}function s(e){return(0,r.IG)(e)}const l=(e,t)=>{const n=(0,r.Kh)(e);for(const r in e)(0,o.$)(t,r,(()=>n[r]),(e=>{n[r]=e}));return t}},8983:(e,t,n)=>{"use strict";n.d(t,{FD:()=>a,Gy:()=>l,gv:()=>s,vQ:()=>u});let r=[],i=[];function o(e){i=i.filter((t=>t!==e))}function a(e){o(e),i.push(e)}function s(e){o(e),0===i.length&&0!==r.length&&(r[r.length-1](),r=[])}function l(e){0===i.length?e():r.push(e)}function u(e){r=r.filter((t=>t!==e))}},8173:(e,t,n)=>{"use strict";n.d(t,{g:()=>a,v:()=>s});var r=n(1597);const i=[];function o(e){i[i.length-1](e)}function a(e){!0===r.Sn.is.desktop&&(i.push(e),1===i.length&&document.body.addEventListener("focusin",o))}function s(e){const t=i.indexOf(e);-1!==t&&(i.splice(t,1),0===i.length&&document.body.removeEventListener("focusin",o))}},2453:(e,t,n)=>{"use strict";function r(e,t,n,r){return Object.defineProperty(e,t,{get:n,set:r,enumerable:!0}),e}function i(e,t){for(const n in t)r(e,n,t[n]);return e}n.d(t,{$:()=>r,M:()=>i})},8773:(e,t,n)=>{"use strict";n.d(t,{I:()=>d,V:()=>h});var r=n(1597),i=n(2906);const o=[];let a;function s(e){a=27===e.keyCode}function l(){!0===a&&(a=!1)}function u(e){!0===a&&(a=!1,!0===(0,i.Dv)(e,27)&&o[o.length-1](e))}function c(e){window[e]("keydown",s),window[e]("blur",l),window[e]("keyup",u),a=!1}function d(e){!0===r.Sn.is.desktop&&(o.push(e),1===o.length&&c("addEventListener"))}function h(e){const t=o.indexOf(e);-1!==t&&(o.splice(t,1),0===o.length&&c("removeEventListener"))}},2906:(e,t,n)=>{"use strict";n.d(t,{Dv:()=>a,JL:()=>o,V7:()=>i});let r=!1;function i(e){r=!0===e.isComposing}function o(e){return!0===r||e!==Object(e)||!0===e.isComposing||!0===e.qKeyEvent}function a(e,t){return!0!==o(e)&&[].concat(t).includes(e.keyCode)}},447:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={xs:30,sm:35,md:40,lg:50,xl:60}},5563:(e,t,n)=>{"use strict";n.d(t,{bc:()=>o,jx:()=>i});var r=n(5157);const i=[];function o(e,t){do{if("QMenu"===e.$options.name){if(e.hide(t),!0===e.$props.separateClosePopup)return(0,r.V_)(e)}else if(!0===e.__qPortal){const n=(0,r.V_)(e);return void 0!==n&&"QPopupProxy"===n.$options.name?(e.hide(t),n):e}e=(0,r.V_)(e)}while(void 0!==e&&null!==e)}},385:(e,t,n)=>{"use strict";n.d(t,{Kk:()=>v,aC:()=>l,o3:()=>s,rk:()=>c});var r=n(8336),i=n(1597);let o,a;function s(e){const t=e.split(" ");return 2===t.length&&(!0!==["top","center","bottom"].includes(t[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(t[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function l(e){return!e||2===e.length&&("number"===typeof e[0]&&"number"===typeof e[1])}const u={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function c(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:u[`${n[1]}#${!0===t?"rtl":"ltr"}`]}}function d(e,t){let{top:n,left:r,right:i,bottom:o,width:a,height:s}=e.getBoundingClientRect();return void 0!==t&&(n-=t[1],r-=t[0],o+=t[1],i+=t[0],a+=t[0],s+=t[1]),{top:n,bottom:o,height:s,left:r,right:i,width:a,middle:r+(i-r)/2,center:n+(o-n)/2}}function h(e,t,n){let{top:r,left:i}=e.getBoundingClientRect();return r+=t.top,i+=t.left,void 0!==n&&(r+=n[1],i+=n[0]),{top:r,bottom:r+1,height:1,left:i,right:i+1,width:1,middle:i,center:r}}function f(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function p(e,t,n,r){return{top:e[n.vertical]-t[r.vertical],left:e[n.horizontal]-t[r.horizontal]}}function v(e,t=0){if(null===e.targetEl||null===e.anchorEl||t>5)return;if(0===e.targetEl.offsetHeight||0===e.targetEl.offsetWidth)return void setTimeout((()=>{v(e,t+1)}),10);const{targetEl:n,offset:r,anchorEl:s,anchorOrigin:l,selfOrigin:u,absoluteOffset:c,fit:m,cover:y,maxHeight:_,maxWidth:b}=e;if(!0===i.Sn.is.ios&&void 0!==window.visualViewport){const e=document.body.style,{offsetLeft:t,offsetTop:n}=window.visualViewport;t!==o&&(e.setProperty("--q-pe-left",t+"px"),o=t),n!==a&&(e.setProperty("--q-pe-top",n+"px"),a=n)}const{scrollLeft:x,scrollTop:w}=n,S=void 0===c?d(s,!0===y?[0,0]:r):h(s,c,r);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:b,maxHeight:_,visibility:"visible"});const{offsetWidth:k,offsetHeight:C}=n,{elWidth:A,elHeight:T}=!0===m||!0===y?{elWidth:Math.max(S.width,k),elHeight:!0===y?Math.max(S.height,C):C}:{elWidth:k,elHeight:C};let E={maxWidth:b,maxHeight:_};!0!==m&&!0!==y||(E.minWidth=S.width+"px",!0===y&&(E.minHeight=S.height+"px")),Object.assign(n.style,E);const M=f(A,T);let I=p(S,M,l,u);if(void 0===c||void 0===r)g(I,S,M,l,u);else{const{top:e,left:t}=I;g(I,S,M,l,u);let n=!1;if(I.top!==e){n=!0;const e=2*r[1];S.center=S.top-=e,S.bottom-=e+2}if(I.left!==t){n=!0;const e=2*r[0];S.middle=S.left-=e,S.right-=e+2}!0===n&&(I=p(S,M,l,u),g(I,S,M,l,u))}E={top:I.top+"px",left:I.left+"px"},void 0!==I.maxHeight&&(E.maxHeight=I.maxHeight+"px",S.height>I.maxHeight&&(E.minHeight=E.maxHeight)),void 0!==I.maxWidth&&(E.maxWidth=I.maxWidth+"px",S.width>I.maxWidth&&(E.minWidth=E.maxWidth)),Object.assign(n.style,E),n.scrollTop!==w&&(n.scrollTop=w),n.scrollLeft!==x&&(n.scrollLeft=x)}function g(e,t,n,i,o){const a=n.bottom,s=n.right,l=(0,r.XJ)(),u=window.innerHeight-l,c=document.body.clientWidth;if(e.top<0||e.top+a>u)if("center"===o.vertical)e.top=t[i.vertical]>u/2?Math.max(0,u-a):0,e.maxHeight=Math.min(a,u);else if(t[i.vertical]>u/2){const n=Math.min(u,"center"===i.vertical?t.center:i.vertical===o.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,n),e.top=Math.max(0,n-a)}else e.top=Math.max(0,"center"===i.vertical?t.center:i.vertical===o.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,u-e.top);if(e.left<0||e.left+s>c)if(e.maxWidth=Math.min(s,c),"middle"===o.horizontal)e.left=t[i.horizontal]>c/2?Math.max(0,c-s):0;else if(t[i.horizontal]>c/2){const n=Math.min(c,"middle"===i.horizontal?t.middle:i.horizontal===o.horizontal?t.right:t.left);e.maxWidth=Math.min(s,n),e.left=Math.max(0,n-e.maxWidth)}else e.left=Math.max(0,"middle"===i.horizontal?t.middle:i.horizontal===o.horizontal?t.left:t.right),e.maxWidth=Math.min(s,c-e.left)}["left","middle","right"].forEach((e=>{u[`${e}#ltr`]=e,u[`${e}#rtl`]=e}))},5139:(e,t,n)=>{"use strict";n.d(t,{Hp:()=>a,Ij:()=>o,Kf:()=>l,bG:()=>s,zm:()=>i});var r=n(1758);function i(e,t){return void 0!==e&&e()||t}function o(e,t){if(void 0!==e){const t=e();if(void 0!==t&&null!==t)return t.slice()}return t}function a(e,t){return void 0!==e?t.concat(e()):t}function s(e,t){return void 0===e?t:void 0!==t?t.concat(e()):e()}function l(e,t,n,i,o,a){t.key=i+o;const s=(0,r.h)(e,t,n);return!0===o?(0,r.bo)(s,a()):s}},4897:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});let r=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,r=e.scrollLeft>=0,e.remove()}},2941:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(1597);function i(){if(void 0!==window.getSelection){const e=window.getSelection();void 0!==e.empty?e.empty():void 0!==e.removeAllRanges&&(e.removeAllRanges(),!0!==r.Ay.is.mobile&&e.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}},7973:(e,t,n)=>{"use strict";n.d(t,{ON:()=>i,U_:()=>u,Uv:()=>s,Wr:()=>l,XA:()=>r,YR:()=>o,q3:()=>a});const r="_q_",i="_q_l_",o="_q_pc_",a="_q_fo_",s="_q_tabs_",l="_q_u_";function u(){}},5157:(e,t,n)=>{"use strict";function r(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;while(Object(t)===t){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function i(e){return void 0!==e.appContext.config.globalProperties.$router}function o(e){return!0===e.isUnmounted||!0===e.isDeactivated}n.d(t,{$b:()=>i,V_:()=>r,rU:()=>o})},8336:(e,t,n)=>{"use strict";n.d(t,{D_:()=>m,RZ:()=>f,XJ:()=>g,cP:()=>i,fQ:()=>s,hD:()=>a,lS:()=>l,rr:()=>p});var r=n(7556);const i=[Element,String],o=[null,document,document.body,document.scrollingElement,document.documentElement];function a(e,t){let n=(0,r.V6)(t);if(void 0===n){if(void 0===e||null===e)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return o.includes(n)?window:n}function s(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function l(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function u(e,t,n=0){const r=void 0===arguments[3]?performance.now():arguments[3],i=s(e);n<=0?i!==t&&d(e,t):requestAnimationFrame((o=>{const a=o-r,s=i+(t-i)/Math.max(a,n)*a;d(e,s),s!==t&&u(e,t,n-a,o)}))}function c(e,t,n=0){const r=void 0===arguments[3]?performance.now():arguments[3],i=l(e);n<=0?i!==t&&h(e,t):requestAnimationFrame((o=>{const a=o-r,s=i+(t-i)/Math.max(a,n)*a;h(e,s),s!==t&&c(e,t,n-a,o)}))}function d(e,t){e!==window?e.scrollTop=t:window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t)}function h(e,t){e!==window?e.scrollLeft=t:window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)}function f(e,t,n){n?u(e,t,n):d(e,t)}function p(e,t,n){n?c(e,t,n):h(e,t)}let v;function g(){if(void 0!==v)return v;const e=document.createElement("p"),t=document.createElement("div");(0,r.AH)(e,{width:"100%",height:"200px"}),(0,r.AH)(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let i=e.offsetWidth;return n===i&&(i=t.clientWidth),t.remove(),v=n-i,v}function m(e,t=!0){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"])))}},5192:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let r,i=0;const o=new Array(256);for(let u=0;u<256;u++)o[u]=(u+256).toString(16).substring(1);const a=(()=>{const e="undefined"!==typeof crypto?crypto:"undefined"!==typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{const t=[];for(let n=e;n>0;n--)t.push(Math.floor(256*Math.random()));return t}})(),s=4096;function l(){(void 0===r||i+16>s)&&(i=0,r=a(s));const e=Array.prototype.slice.call(r,i,i+=16);return e[6]=15&e[6]|64,e[8]=63&e[8]|128,o[e[0]]+o[e[1]]+o[e[2]]+o[e[3]]+"-"+o[e[4]]+o[e[5]]+"-"+o[e[6]]+o[e[7]]+"-"+o[e[8]]+o[e[9]]+"-"+o[e[10]]+o[e[11]]+o[e[12]]+o[e[13]]+o[e[14]]+o[e[15]]}},6501:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(7991),i=n(4360),o=n(3493);const a={name:"Quasar",version:"2.17.0",install:r.A,lang:i.A,iconSet:o.A}},1573:(e,t,n)=>{"use strict";function r(e){return e}function i(e){return e}n.d(t,{wE:()=>i,zj:()=>r})}}]);