cari-ui-kit 0.1.21 → 0.1.23
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.
- package/dist/cari-ui-kit.css +1 -1
- package/dist/components/button/Button.d.ts +4 -4
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/card/Card.d.ts +1 -2
- package/dist/components/layout/sidebar/user/SidebarUser.d.ts +0 -1
- package/dist/components/modal/Modal.d.ts +1 -2
- package/dist/components/table/Table.d.ts +4 -8
- package/dist/components/toast/Toast.d.ts +0 -1
- package/dist/components/toast/ToastContext.d.ts +2 -0
- package/dist/components/toast/index.d.ts +2 -1
- package/dist/components/toast/useToast.d.ts +2 -0
- package/dist/hooks/useFocusTrap.d.ts +4 -2
- package/dist/index.cjs +26 -26
- package/dist/index.js +2163 -2138
- package/dist/types/polymorphic.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("react/jsx-runtime"),z=require("react"),ne=require("classnames"),
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,n=!0,o=!1;return{s:function(){t=t.call(s)},n:function(){var l=t.next();return n=l.done,l},e:function(l){o=!0,r=l},f:function(){try{n||t.return==null||t.return()}finally{if(o)throw r}}}}function ya(s){var e=
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Re(s){return(function(e){if(Array.isArray(e))return
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function On(s){var e=(function(t,a){if(typeof t!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var r=i.call(t,a);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(t)})(s,"string");return typeof e=="symbol"?e:e+""}function je(s){return je=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},je(s)}function zs(s,e){if(s){if(typeof s=="string")return ts(s,e);var t={}.toString.call(s).slice(8,-1);return t==="Object"&&s.constructor&&(t=s.constructor.name),t==="Map"||t==="Set"?Array.from(s):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ts(s,e):void 0}}var L=(function(){function s(){N(this,s)}return V(s,[{key:"shadeRGBColor",value:function(e,t){var a=t.split(","),i=e<0?0:255,r=e<0?-1*e:e,n=parseInt(a[0].slice(4),10),o=parseInt(a[1],10),l=parseInt(a[2],10);return"rgb("+(Math.round((i-n)*r)+n)+","+(Math.round((i-o)*r)+o)+","+(Math.round((i-l)*r)+l)+")"}},{key:"shadeHexColor",value:function(e,t){var a=parseInt(t.slice(1),16),i=e<0?0:255,r=e<0?-1*e:e,n=a>>16,o=a>>8&255,l=255&a;return"#"+(16777216+65536*(Math.round((i-n)*r)+n)+256*(Math.round((i-o)*r)+o)+(Math.round((i-l)*r)+l)).toString(16).slice(1)}},{key:"shadeColor",value:function(e,t){return s.isColorHex(t)?this.shadeHexColor(e,t):this.shadeRGBColor(e,t)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&je(e)==="object"&&!Array.isArray(e)&&e!=null}},{key:"is",value:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"listToArray",value:function(e){var t,a=[];for(t=0;t<e.length;t++)a[t]=e[t];return a}},{key:"extend",value:function(e,t){var a=this;typeof Object.assign!="function"&&(Object.assign=function(r){if(r==null)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(r),o=1;o<arguments.length;o++){var l=arguments[o];if(l!=null)for(var c in l)l.hasOwnProperty(c)&&(n[c]=l[c])}return n});var i=Object.assign({},e);return this.isObject(e)&&this.isObject(t)&&Object.keys(t).forEach((function(r){a.isObject(t[r])&&r in e?i[r]=a.extend(e[r],t[r]):Object.assign(i,Ka({},r,t[r]))})),i}},{key:"extendArray",value:function(e,t){var a=[];return e.map((function(i){a.push(s.extend(t,i))})),e=a}},{key:"monthMod",value:function(e){return e%12}},{key:"clone",value:function(e){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e===null||je(e)!=="object")return e;if(a.has(e))return a.get(e);if(Array.isArray(e)){t=[],a.set(e,t);for(var i=0;i<e.length;i++)t[i]=this.clone(e[i],a)}else if(e instanceof Date)t=new Date(e.getTime());else for(var r in t={},a.set(e,t),e)e.hasOwnProperty(r)&&(t[r]=this.clone(e[r],a));return t}},{key:"log10",value:function(e){return Math.log(e)/Math.LN10}},{key:"roundToBase10",value:function(e){return Math.pow(10,Math.floor(Math.log10(e)))}},{key:"roundToBase",value:function(e,t){return Math.pow(t,Math.floor(Math.log(e)/Math.log(t)))}},{key:"parseNumber",value:function(e){return typeof e=="number"||e===null?e:parseFloat(e)}},{key:"stripNumber",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Number.isInteger(e)?e:parseFloat(e.toPrecision(t))}},{key:"randomId",value:function(){return(Math.random()+1).toString(36).substring(4)}},{key:"noExponents",value:function(e){return e.toString().includes("e")?Math.round(e):e}},{key:"elementExists",value:function(e){return!(!e||!e.isConnected)}},{key:"isInShadowDOM",value:function(e){if(!e||!e.getRootNode)return!1;var t=e.getRootNode();return t&&t!==document&&s.is("ShadowRoot",t)}},{key:"getShadowRootHost",value:function(e){return s.isInShadowDOM(e)&&e.getRootNode().host||null}},{key:"getDimensions",value:function(e){if(!e)return[0,0];var t,a=e.getRootNode&&e.getRootNode();if(a&&a!==document&&a.host){var i=a.host.getBoundingClientRect();return[i.width,i.height]}try{t=getComputedStyle(e,null)}catch{return[e.clientWidth||0,e.clientHeight||0]}var r=e.clientHeight,n=e.clientWidth;return r-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),[n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),r]}},{key:"getBoundingClientRect",value:function(e){if(!e)return{top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0};var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:e.clientWidth,height:e.clientHeight,x:t.left,y:t.top}}},{key:"getLargestStringFromArr",value:function(e){return e.reduce((function(t,a){return Array.isArray(a)&&(a=a.reduce((function(i,r){return i.length>r.length?i:r}))),t.length>a.length?t:a}),0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"#999999",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.6;e.substring(0,1)!=="#"&&(e="#999999");var a=e.replace("#","");a=a.match(new RegExp("(.{"+a.length/3+"})","g"));for(var i=0;i<a.length;i++)a[i]=parseInt(a[i].length===1?a[i]+a[i]:a[i],16);return t!==void 0&&a.push(t),"rgba("+a.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(e){return parseFloat(e.replace(/^.*,(.+)\)/,"$1"))}},{key:"rgb2hex",value:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&e.length===4?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)/i.test(e)}},{key:"getPolygonPos",value:function(e,t){for(var a=[],i=2*Math.PI/t,r=0;r<t;r++){var n={};n.x=e*Math.sin(r*i),n.y=-e*Math.cos(r*i),a.push(n)}return a}},{key:"polarToCartesian",value:function(e,t,a,i){var r=(i-90)*Math.PI/180;return{x:e+a*Math.cos(r),y:t+a*Math.sin(r)}}},{key:"escapeString",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x",a=e.toString().slice();return a=a.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,a){if(a>=e.length)for(var i=a-e.length+1;i--;)e.push(void 0);return e.splice(a,0,e.splice(t,1)[0]),e}},{key:"extractNumber",value:function(e){return parseFloat(e.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}},{key:"setELstyles",value:function(e,t){for(var a in t)t.hasOwnProperty(a)&&(e.style.key=t[a])}},{key:"preciseAddition",value:function(e,t){var a=(String(e).split(".")[1]||"").length,i=(String(t).split(".")[1]||"").length,r=Math.pow(10,Math.max(a,i));return(Math.round(e*r)+Math.round(t*r))/r}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"isMsEdge",value:function(){var e=window.navigator.userAgent,t=e.indexOf("Edge/");return t>0&&parseInt(e.substring(t+5,e.indexOf(".",t)),10)}},{key:"getGCD",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:7,i=Math.pow(10,a-Math.floor(Math.log10(Math.max(e,t))));for(i>1?(e=Math.round(Math.abs(e)*i),t=Math.round(Math.abs(t)*i)):i=1;t;){var r=t;t=e%t,e=r}return e/i}},{key:"getPrimeFactors",value:function(e){for(var t=[],a=2;e>=2;)e%a==0?(t.push(a),e/=a):a++;return t}},{key:"mod",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:7,i=Math.pow(10,a-Math.floor(Math.log10(Math.max(e,t))));return(e=Math.round(Math.abs(e)*i))%(t=Math.round(Math.abs(t)*i))/i}}]),s})(),Ut=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"animateLine",value:function(e,t,a,i){e.attr(t).animate(i).attr(a)}},{key:"animateMarker",value:function(e,t,a,i){e.attr({opacity:0}).animate(t).attr({opacity:1}).after((function(){i()}))}},{key:"animateRect",value:function(e,t,a,i,r){e.attr(t).animate(i).attr(a).after((function(){return r()}))}},{key:"animatePathsGradually",value:function(e){var t=e.el,a=e.realIndex,i=e.j,r=e.fill,n=e.pathFrom,o=e.pathTo,l=e.speed,c=e.delay,h=this.w,d=0;h.config.chart.animations.animateGradually.enabled&&(d=h.config.chart.animations.animateGradually.delay),h.config.chart.animations.dynamicAnimation.enabled&&h.globals.dataChanged&&h.config.chart.type!=="bar"&&(d=0),this.morphSVG(t,a,i,h.config.chart.type!=="line"||h.globals.comboCharts?r:"stroke",n,o,l,c*d)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach((function(e){var t=e.el;t.classList.remove("apexcharts-element-hidden"),t.classList.add("apexcharts-hidden-element-shown")}))}},{key:"animationCompleted",value:function(e){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),typeof t.config.chart.events.animationEnd=="function"&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,a,i,r,n,o,l){var c=this,h=this.w;r||(r=e.attr("pathFrom")),n||(n=e.attr("pathTo"));var d=function(u){return h.config.chart.type==="radar"&&(o=1),"M 0 ".concat(h.globals.gridHeight)};(!r||r.indexOf("undefined")>-1||r.indexOf("NaN")>-1)&&(r=d()),(!n.trim()||n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n=d()),h.globals.shouldAnimate||(o=1),e.plot(r).animate(1,l).plot(r).animate(o,l).plot(n).after((function(){L.isNumber(a)?a===h.globals.series[h.globals.maxValsInArrayIndex].length-2&&h.globals.shouldAnimate&&c.animationCompleted(e):i!=="none"&&h.globals.shouldAnimate&&(!h.globals.comboCharts&&t===h.globals.series.length-1||h.globals.comboCharts)&&c.animationCompleted(e),c.showDelayedElements()}))}}]),s})();const is={},Hn=[];function se(s,e){if(Array.isArray(s))for(const t of s)se(t,e);else if(typeof s!="object")Tn(Object.getOwnPropertyNames(e)),is[s]=Object.assign(is[s]||{},e);else for(const t in s)se(t,s[t])}function Fe(s){return is[s]||{}}function Tn(s){Hn.push(...s)}function Os(s,e){let t;const a=s.length,i=[];for(t=0;t<a;t++)i.push(e(s[t]));return i}function bi(s){return s%360*Math.PI/180}function qt(s){return s.charAt(0).toUpperCase()+s.slice(1)}function Zt(s,e,t,a){return e!=null&&t!=null||(a=a||s.bbox(),e==null?e=a.width/a.height*t:t==null&&(t=a.height/a.width*e)),{width:e,height:t}}function ss(s,e){const t=s.origin;let a=s.ox!=null?s.ox:s.originX!=null?s.originX:"center",i=s.oy!=null?s.oy:s.originY!=null?s.originY:"center";t!=null&&([a,i]=Array.isArray(t)?t:typeof t=="object"?[t.x,t.y]:[t,t]);const r=typeof a=="string",n=typeof i=="string";if(r||n){const{height:o,width:l,x:c,y:h}=e.bbox();r&&(a=a.includes("left")?c:a.includes("right")?c+l:c+l/2),n&&(i=i.includes("top")?h:i.includes("bottom")?h+o:h+o/2)}return[a,i]}const hh=new Set(["desc","metadata","title"]),rs=s=>hh.has(s.nodeName),jn=(s,e,t={})=>{const a={...e};for(const i in a)a[i].valueOf()===t[i]&&delete a[i];Object.keys(a).length?s.node.setAttribute("data-svgjs",JSON.stringify(a)):(s.node.removeAttribute("data-svgjs"),s.node.removeAttribute("svgjs:data"))},Hs="http://www.w3.org/2000/svg",yi="http://www.w3.org/2000/xmlns/",Kt="http://www.w3.org/1999/xlink",le={window:typeof window>"u"?null:window,document:typeof document>"u"?null:document};function Ca(){return le.window}let Ts=class{};const _t={},js="___SYMBOL___ROOT___";function ha(s,e=Hs){return le.document.createElementNS(e,s)}function Ee(s,e=!1){if(s instanceof Ts)return s;if(typeof s=="object")return wi(s);if(s==null)return new _t[js];if(typeof s=="string"&&s.charAt(0)!=="<")return wi(le.document.querySelector(s));const t=e?le.document.createElement("div"):ha("svg");return t.innerHTML=s,s=wi(t.firstChild),t.removeChild(t.firstChild),s}function be(s,e){return e&&(e instanceof le.window.Node||e.ownerDocument&&e instanceof e.ownerDocument.defaultView.Node)?e:ha(s)}function Ue(s){if(!s)return null;if(s.instance instanceof Ts)return s.instance;if(s.nodeName==="#document-fragment")return new _t.Fragment(s);let e=qt(s.nodeName||"Dom");return e==="LinearGradient"||e==="RadialGradient"?e="Gradient":_t[e]||(e="Dom"),new _t[e](s)}let wi=Ue;function ce(s,e=s.name,t=!1){return _t[e]=s,t&&(_t[js]=s),Tn(Object.getOwnPropertyNames(s.prototype)),s}let dh=1e3;function En(s){return"Svgjs"+qt(s)+dh++}function Dn(s){for(let e=s.children.length-1;e>=0;e--)Dn(s.children[e]);return s.id&&(s.id=En(s.nodeName)),s}function q(s,e){let t,a;for(a=(s=Array.isArray(s)?s:[s]).length-1;a>=0;a--)for(t in e)s[a].prototype[t]=e[t]}function ve(s){return function(...e){const t=e[e.length-1];return!t||t.constructor!==Object||t instanceof Array?s.apply(this,e):s.apply(this,e.slice(0,-1)).attr(t)}}se("Dom",{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},prev:function(){return this.siblings()[this.position()-1]},forward:function(){const s=this.position();return this.parent().add(this.remove(),s+1),this},backward:function(){const s=this.position();return this.parent().add(this.remove(),s?s-1:0),this},front:function(){return this.parent().add(this.remove()),this},back:function(){return this.parent().add(this.remove(),0),this},before:function(s){(s=Ee(s)).remove();const e=this.position();return this.parent().add(s,e),this},after:function(s){(s=Ee(s)).remove();const e=this.position();return this.parent().add(s,e+1),this},insertBefore:function(s){return(s=Ee(s)).before(this),this},insertAfter:function(s){return(s=Ee(s)).after(this),this}});const Fn=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,uh=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,gh=/rgb\((\d+),(\d+),(\d+)\)/,fh=/(#[a-z_][a-z0-9\-_]*)/i,ph=/\)\s*,?\s*/,xh=/\s/g,gr=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i,fr=/^rgb\(/,pr=/^(\s+)?$/,xr=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,mh=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,dt=/[\s,]+/,Es=/[MLHVCSQTAZ]/i;function vh(s){const e=Math.round(s),t=Math.max(0,Math.min(255,e)).toString(16);return t.length===1?"0"+t:t}function Et(s,e){for(let t=e.length;t--;)if(s[e[t]]==null)return!1;return!0}function Ci(s,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?s+6*(e-s)*t:t<.5?e:t<2/3?s+(e-s)*(2/3-t)*6:s}se("Dom",{classes:function(){const s=this.attr("class");return s==null?[]:s.trim().split(dt)},hasClass:function(s){return this.classes().indexOf(s)!==-1},addClass:function(s){if(!this.hasClass(s)){const e=this.classes();e.push(s),this.attr("class",e.join(" "))}return this},removeClass:function(s){return this.hasClass(s)&&this.attr("class",this.classes().filter((function(e){return e!==s})).join(" ")),this},toggleClass:function(s){return this.hasClass(s)?this.removeClass(s):this.addClass(s)}}),se("Dom",{css:function(s,e){const t={};if(arguments.length===0)return this.node.style.cssText.split(/\s*;\s*/).filter((function(a){return!!a.length})).forEach((function(a){const i=a.split(/\s*:\s*/);t[i[0]]=i[1]})),t;if(arguments.length<2){if(Array.isArray(s)){for(const a of s){const i=a;t[a]=this.node.style.getPropertyValue(i)}return t}if(typeof s=="string")return this.node.style.getPropertyValue(s);if(typeof s=="object")for(const a in s)this.node.style.setProperty(a,s[a]==null||pr.test(s[a])?"":s[a])}return arguments.length===2&&this.node.style.setProperty(s,e==null||pr.test(e)?"":e),this},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},visible:function(){return this.css("display")!=="none"}}),se("Dom",{data:function(s,e,t){if(s==null)return this.data(Os((function(a,i){let r;const n=a.length,o=[];for(r=0;r<n;r++)i(a[r])&&o.push(a[r]);return o})(this.node.attributes,(a=>a.nodeName.indexOf("data-")===0)),(a=>a.nodeName.slice(5))));if(s instanceof Array){const a={};for(const i of s)a[i]=this.data(i);return a}if(typeof s=="object")for(e in s)this.data(e,s[e]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+s))}catch{return this.attr("data-"+s)}else this.attr("data-"+s,e===null?null:t===!0||typeof e=="string"||typeof e=="number"?e:JSON.stringify(e));return this}}),se("Dom",{remember:function(s,e){if(typeof arguments[0]=="object")for(const t in s)this.remember(t,s[t]);else{if(arguments.length===1)return this.memory()[s];this.memory()[s]=e}return this},forget:function(){if(arguments.length===0)this._memory={};else for(let s=arguments.length-1;s>=0;s--)delete this.memory()[arguments[s]];return this},memory:function(){return this._memory=this._memory||{}}});class me{constructor(...e){this.init(...e)}static isColor(e){return e&&(e instanceof me||this.isRgb(e)||this.test(e))}static isRgb(e){return e&&typeof e.r=="number"&&typeof e.g=="number"&&typeof e.b=="number"}static random(e="vibrant",t){const{random:a,round:i,sin:r,PI:n}=Math;if(e==="vibrant"){const o=24*a()+57,l=38*a()+45,c=360*a();return new me(o,l,c,"lch")}if(e==="sine"){const o=i(80*r(2*n*(t=t??a())/.5+.01)+150),l=i(50*r(2*n*t/.5+4.6)+200),c=i(100*r(2*n*t/.5+2.3)+150);return new me(o,l,c)}if(e==="pastel"){const o=8*a()+86,l=17*a()+9,c=360*a();return new me(o,l,c,"lch")}if(e==="dark"){const o=10+10*a(),l=50*a()+86,c=360*a();return new me(o,l,c,"lch")}if(e==="rgb"){const o=255*a(),l=255*a(),c=255*a();return new me(o,l,c)}if(e==="lab"){const o=100*a(),l=256*a()-128,c=256*a()-128;return new me(o,l,c,"lab")}if(e==="grey"){const o=255*a();return new me(o,o,o)}throw new Error("Unsupported random color mode")}static test(e){return typeof e=="string"&&(gr.test(e)||fr.test(e))}cmyk(){const{_a:e,_b:t,_c:a}=this.rgb(),[i,r,n]=[e,t,a].map((l=>l/255)),o=Math.min(1-i,1-r,1-n);return o===1?new me(0,0,0,1,"cmyk"):new me((1-i-o)/(1-o),(1-r-o)/(1-o),(1-n-o)/(1-o),o,"cmyk")}hsl(){const{_a:e,_b:t,_c:a}=this.rgb(),[i,r,n]=[e,t,a].map((u=>u/255)),o=Math.max(i,r,n),l=Math.min(i,r,n),c=(o+l)/2,h=o===l,d=o-l;return new me(360*(h?0:o===i?((r-n)/d+(r<n?6:0))/6:o===r?((n-i)/d+2)/6:o===n?((i-r)/d+4)/6:0),100*(h?0:c>.5?d/(2-o-l):d/(o+l)),100*c,"hsl")}init(e=0,t=0,a=0,i=0,r="rgb"){if(e=e||0,this.space)for(const d in this.space)delete this[this.space[d]];if(typeof e=="number")r=typeof i=="string"?i:r,i=typeof i=="string"?0:i,Object.assign(this,{_a:e,_b:t,_c:a,_d:i,space:r});else if(e instanceof Array)this.space=t||(typeof e[3]=="string"?e[3]:e[4])||"rgb",Object.assign(this,{_a:e[0],_b:e[1],_c:e[2],_d:e[3]||0});else if(e instanceof Object){const d=(function(u,g){const p=Et(u,"rgb")?{_a:u.r,_b:u.g,_c:u.b,_d:0,space:"rgb"}:Et(u,"xyz")?{_a:u.x,_b:u.y,_c:u.z,_d:0,space:"xyz"}:Et(u,"hsl")?{_a:u.h,_b:u.s,_c:u.l,_d:0,space:"hsl"}:Et(u,"lab")?{_a:u.l,_b:u.a,_c:u.b,_d:0,space:"lab"}:Et(u,"lch")?{_a:u.l,_b:u.c,_c:u.h,_d:0,space:"lch"}:Et(u,"cmyk")?{_a:u.c,_b:u.m,_c:u.y,_d:u.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};return p.space=g||p.space,p})(e,t);Object.assign(this,d)}else if(typeof e=="string")if(fr.test(e)){const d=e.replace(xh,""),[u,g,p]=gh.exec(d).slice(1,4).map((f=>parseInt(f)));Object.assign(this,{_a:u,_b:g,_c:p,_d:0,space:"rgb"})}else{if(!gr.test(e))throw Error("Unsupported string format, can't construct Color");{const d=f=>parseInt(f,16),[,u,g,p]=uh.exec((function(f){return f.length===4?["#",f.substring(1,2),f.substring(1,2),f.substring(2,3),f.substring(2,3),f.substring(3,4),f.substring(3,4)].join(""):f})(e)).map(d);Object.assign(this,{_a:u,_b:g,_c:p,_d:0,space:"rgb"})}}const{_a:n,_b:o,_c:l,_d:c}=this,h=this.space==="rgb"?{r:n,g:o,b:l}:this.space==="xyz"?{x:n,y:o,z:l}:this.space==="hsl"?{h:n,s:o,l}:this.space==="lab"?{l:n,a:o,b:l}:this.space==="lch"?{l:n,c:o,h:l}:this.space==="cmyk"?{c:n,m:o,y:l,k:c}:{};Object.assign(this,h)}lab(){const{x:e,y:t,z:a}=this.xyz();return new me(116*t-16,500*(e-t),200*(t-a),"lab")}lch(){const{l:e,a:t,b:a}=this.lab(),i=Math.sqrt(t**2+a**2);let r=180*Math.atan2(a,t)/Math.PI;return r<0&&(r*=-1,r=360-r),new me(e,i,r,"lch")}rgb(){if(this.space==="rgb")return this;if((e=this.space)==="lab"||e==="xyz"||e==="lch"){let{x:t,y:a,z:i}=this;if(this.space==="lab"||this.space==="lch"){let{l:g,a:p,b:f}=this;if(this.space==="lch"){const{c:A,h:C}=this,S=Math.PI/180;p=A*Math.cos(S*C),f=A*Math.sin(S*C)}const m=(g+16)/116,v=p/500+m,b=m-f/200,w=16/116,k=.008856,y=7.787;t=.95047*(v**3>k?v**3:(v-w)/y),a=1*(m**3>k?m**3:(m-w)/y),i=1.08883*(b**3>k?b**3:(b-w)/y)}const r=3.2406*t+-1.5372*a+-.4986*i,n=-.9689*t+1.8758*a+.0415*i,o=.0557*t+-.204*a+1.057*i,l=Math.pow,c=.0031308,h=r>c?1.055*l(r,1/2.4)-.055:12.92*r,d=n>c?1.055*l(n,1/2.4)-.055:12.92*n,u=o>c?1.055*l(o,1/2.4)-.055:12.92*o;return new me(255*h,255*d,255*u)}if(this.space==="hsl"){let{h:t,s:a,l:i}=this;if(t/=360,a/=100,i/=100,a===0)return i*=255,new me(i,i,i);const r=i<.5?i*(1+a):i+a-i*a,n=2*i-r,o=255*Ci(n,r,t+1/3),l=255*Ci(n,r,t),c=255*Ci(n,r,t-1/3);return new me(o,l,c)}if(this.space==="cmyk"){const{c:t,m:a,y:i,k:r}=this,n=255*(1-Math.min(1,t*(1-r)+r)),o=255*(1-Math.min(1,a*(1-r)+r)),l=255*(1-Math.min(1,i*(1-r)+r));return new me(n,o,l)}return this;var e}toArray(){const{_a:e,_b:t,_c:a,_d:i,space:r}=this;return[e,t,a,i,r]}toHex(){const[e,t,a]=this._clamped().map(vh);return`#${e}${t}${a}`}toRgb(){const[e,t,a]=this._clamped();return`rgb(${e},${t},${a})`}toString(){return this.toHex()}xyz(){const{_a:e,_b:t,_c:a}=this.rgb(),[i,r,n]=[e,t,a].map((m=>m/255)),o=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,l=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,c=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,h=(.4124*o+.3576*l+.1805*c)/.95047,d=(.2126*o+.7152*l+.0722*c)/1,u=(.0193*o+.1192*l+.9505*c)/1.08883,g=h>.008856?Math.pow(h,1/3):7.787*h+16/116,p=d>.008856?Math.pow(d,1/3):7.787*d+16/116,f=u>.008856?Math.pow(u,1/3):7.787*u+16/116;return new me(g,p,f,"xyz")}_clamped(){const{_a:e,_b:t,_c:a}=this.rgb(),{max:i,min:r,round:n}=Math;return[e,t,a].map((o=>i(0,r(n(o),255))))}}class ge{constructor(...e){this.init(...e)}clone(){return new ge(this)}init(e,t){const r=Array.isArray(e)?{x:e[0],y:e[1]}:typeof e=="object"?{x:e.x,y:e.y}:{x:e,y:t};return this.x=r.x==null?0:r.x,this.y=r.y==null?0:r.y,this}toArray(){return[this.x,this.y]}transform(e){return this.clone().transformO(e)}transformO(e){G.isMatrixLike(e)||(e=new G(e));const{x:t,y:a}=this;return this.x=e.a*t+e.c*a+e.e,this.y=e.b*t+e.d*a+e.f,this}}function Dt(s,e,t){return Math.abs(e-s)<1e-6}class G{constructor(...e){this.init(...e)}static formatTransforms(e){const t=e.flip==="both"||e.flip===!0,a=e.flip&&(t||e.flip==="x")?-1:1,i=e.flip&&(t||e.flip==="y")?-1:1,r=e.skew&&e.skew.length?e.skew[0]:isFinite(e.skew)?e.skew:isFinite(e.skewX)?e.skewX:0,n=e.skew&&e.skew.length?e.skew[1]:isFinite(e.skew)?e.skew:isFinite(e.skewY)?e.skewY:0,o=e.scale&&e.scale.length?e.scale[0]*a:isFinite(e.scale)?e.scale*a:isFinite(e.scaleX)?e.scaleX*a:a,l=e.scale&&e.scale.length?e.scale[1]*i:isFinite(e.scale)?e.scale*i:isFinite(e.scaleY)?e.scaleY*i:i,c=e.shear||0,h=e.rotate||e.theta||0,d=new ge(e.origin||e.around||e.ox||e.originX,e.oy||e.originY),u=d.x,g=d.y,p=new ge(e.position||e.px||e.positionX||NaN,e.py||e.positionY||NaN),f=p.x,m=p.y,v=new ge(e.translate||e.tx||e.translateX,e.ty||e.translateY),b=v.x,w=v.y,k=new ge(e.relative||e.rx||e.relativeX,e.ry||e.relativeY);return{scaleX:o,scaleY:l,skewX:r,skewY:n,shear:c,theta:h,rx:k.x,ry:k.y,tx:b,ty:w,ox:u,oy:g,px:f,py:m}}static fromArray(e){return{a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]}}static isMatrixLike(e){return e.a!=null||e.b!=null||e.c!=null||e.d!=null||e.e!=null||e.f!=null}static matrixMultiply(e,t,a){const i=e.a*t.a+e.c*t.b,r=e.b*t.a+e.d*t.b,n=e.a*t.c+e.c*t.d,o=e.b*t.c+e.d*t.d,l=e.e+e.a*t.e+e.c*t.f,c=e.f+e.b*t.e+e.d*t.f;return a.a=i,a.b=r,a.c=n,a.d=o,a.e=l,a.f=c,a}around(e,t,a){return this.clone().aroundO(e,t,a)}aroundO(e,t,a){const i=e||0,r=t||0;return this.translateO(-i,-r).lmultiplyO(a).translateO(i,r)}clone(){return new G(this)}decompose(e=0,t=0){const a=this.a,i=this.b,r=this.c,n=this.d,o=this.e,l=this.f,c=a*n-i*r,h=c>0?1:-1,d=h*Math.sqrt(a*a+i*i),u=Math.atan2(h*i,h*a),g=180/Math.PI*u,p=Math.cos(u),f=Math.sin(u),m=(a*r+i*n)/c,v=r*d/(m*a-i)||n*d/(m*i+a);return{scaleX:d,scaleY:v,shear:m,rotate:g,translateX:o-e+e*p*d+t*(m*p*d-f*v),translateY:l-t+e*f*d+t*(m*f*d+p*v),originX:e,originY:t,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(e){if(e===this)return!0;const t=new G(e);return Dt(this.a,t.a)&&Dt(this.b,t.b)&&Dt(this.c,t.c)&&Dt(this.d,t.d)&&Dt(this.e,t.e)&&Dt(this.f,t.f)}flip(e,t){return this.clone().flipO(e,t)}flipO(e,t){return e==="x"?this.scaleO(-1,1,t,0):e==="y"?this.scaleO(1,-1,0,t):this.scaleO(-1,-1,e,t||e)}init(e){const t=G.fromArray([1,0,0,1,0,0]);return e=e instanceof He?e.matrixify():typeof e=="string"?G.fromArray(e.split(dt).map(parseFloat)):Array.isArray(e)?G.fromArray(e):typeof e=="object"&&G.isMatrixLike(e)?e:typeof e=="object"?new G().transform(e):arguments.length===6?G.fromArray([].slice.call(arguments)):t,this.a=e.a!=null?e.a:t.a,this.b=e.b!=null?e.b:t.b,this.c=e.c!=null?e.c:t.c,this.d=e.d!=null?e.d:t.d,this.e=e.e!=null?e.e:t.e,this.f=e.f!=null?e.f:t.f,this}inverse(){return this.clone().inverseO()}inverseO(){const e=this.a,t=this.b,a=this.c,i=this.d,r=this.e,n=this.f,o=e*i-t*a;if(!o)throw new Error("Cannot invert "+this);const l=i/o,c=-t/o,h=-a/o,d=e/o,u=-(l*r+h*n),g=-(c*r+d*n);return this.a=l,this.b=c,this.c=h,this.d=d,this.e=u,this.f=g,this}lmultiply(e){return this.clone().lmultiplyO(e)}lmultiplyO(e){const t=e instanceof G?e:new G(e);return G.matrixMultiply(t,this,this)}multiply(e){return this.clone().multiplyO(e)}multiplyO(e){const t=e instanceof G?e:new G(e);return G.matrixMultiply(this,t,this)}rotate(e,t,a){return this.clone().rotateO(e,t,a)}rotateO(e,t=0,a=0){e=bi(e);const i=Math.cos(e),r=Math.sin(e),{a:n,b:o,c:l,d:c,e:h,f:d}=this;return this.a=n*i-o*r,this.b=o*i+n*r,this.c=l*i-c*r,this.d=c*i+l*r,this.e=h*i-d*r+a*r-t*i+t,this.f=d*i+h*r-t*r-a*i+a,this}scale(){return this.clone().scaleO(...arguments)}scaleO(e,t=e,a=0,i=0){arguments.length===3&&(i=a,a=t,t=e);const{a:r,b:n,c:o,d:l,e:c,f:h}=this;return this.a=r*e,this.b=n*t,this.c=o*e,this.d=l*t,this.e=c*e-a*e+a,this.f=h*t-i*t+i,this}shear(e,t,a){return this.clone().shearO(e,t,a)}shearO(e,t=0,a=0){const{a:i,b:r,c:n,d:o,e:l,f:c}=this;return this.a=i+r*e,this.c=n+o*e,this.e=l+c*e-a*e,this}skew(){return this.clone().skewO(...arguments)}skewO(e,t=e,a=0,i=0){arguments.length===3&&(i=a,a=t,t=e),e=bi(e),t=bi(t);const r=Math.tan(e),n=Math.tan(t),{a:o,b:l,c,d:h,e:d,f:u}=this;return this.a=o+l*r,this.b=l+o*n,this.c=c+h*r,this.d=h+c*n,this.e=d+u*r-i*r,this.f=u+d*n-a*n,this}skewX(e,t,a){return this.skew(e,0,t,a)}skewY(e,t,a){return this.skew(0,e,t,a)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(e){if(G.isMatrixLike(e))return new G(e).multiplyO(this);const t=G.formatTransforms(e),{x:a,y:i}=new ge(t.ox,t.oy).transform(this),r=new G().translateO(t.rx,t.ry).lmultiplyO(this).translateO(-a,-i).scaleO(t.scaleX,t.scaleY).skewO(t.skewX,t.skewY).shearO(t.shear).rotateO(t.theta).translateO(a,i);if(isFinite(t.px)||isFinite(t.py)){const n=new ge(a,i).transform(r),o=isFinite(t.px)?t.px-n.x:0,l=isFinite(t.py)?t.py-n.y:0;r.translateO(o,l)}return r.translateO(t.tx,t.ty),r}translate(e,t){return this.clone().translateO(e,t)}translateO(e,t){return this.e+=e||0,this.f+=t||0,this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function vt(){if(!vt.nodes){const s=Ee().size(2,0);s.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";"),s.attr("focusable","false"),s.attr("aria-hidden","true");const e=s.path().node;vt.nodes={svg:s,path:e}}if(!vt.nodes.svg.node.parentNode){const s=le.document.body||le.document.documentElement;vt.nodes.svg.addTo(s)}return vt.nodes}function Bn(s){return!(s.width||s.height||s.x||s.y)}ce(G,"Matrix");class ke{constructor(...e){this.init(...e)}addOffset(){return this.x+=le.window.pageXOffset,this.y+=le.window.pageYOffset,new ke(this)}init(e){return e=typeof e=="string"?e.split(dt).map(parseFloat):Array.isArray(e)?e:typeof e=="object"?[e.left!=null?e.left:e.x,e.top!=null?e.top:e.y,e.width,e.height]:arguments.length===4?[].slice.call(arguments):[0,0,0,0],this.x=e[0]||0,this.y=e[1]||0,this.width=this.w=e[2]||0,this.height=this.h=e[3]||0,this.x2=this.x+this.w,this.y2=this.y+this.h,this.cx=this.x+this.w/2,this.cy=this.y+this.h/2,this}isNulled(){return Bn(this)}merge(e){const t=Math.min(this.x,e.x),a=Math.min(this.y,e.y),i=Math.max(this.x+this.width,e.x+e.width)-t,r=Math.max(this.y+this.height,e.y+e.height)-a;return new ke(t,a,i,r)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(e){e instanceof G||(e=new G(e));let t=1/0,a=-1/0,i=1/0,r=-1/0;return[new ge(this.x,this.y),new ge(this.x2,this.y),new ge(this.x,this.y2),new ge(this.x2,this.y2)].forEach((function(n){n=n.transform(e),t=Math.min(t,n.x),a=Math.max(a,n.x),i=Math.min(i,n.y),r=Math.max(r,n.y)})),new ke(t,i,a-t,r-i)}}function mr(s,e,t){let a;try{if(a=e(s.node),Bn(a)&&(i=s.node)!==le.document&&!(le.document.documentElement.contains||function(r){for(;r.parentNode;)r=r.parentNode;return r===le.document}).call(le.document.documentElement,i))throw new Error("Element not in the dom")}catch{a=t(s)}var i;return a}se({viewbox:{viewbox(s,e,t,a){return s==null?new ke(this.attr("viewBox")):this.attr("viewBox",new ke(s,e,t,a))},zoom(s,e){let{width:t,height:a}=this.attr(["width","height"]);if((t||a)&&typeof t!="string"&&typeof a!="string"||(t=this.node.clientWidth,a=this.node.clientHeight),!t||!a)throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");const i=this.viewbox(),r=t/i.width,n=a/i.height,o=Math.min(r,n);if(s==null)return o;let l=o/s;l===1/0&&(l=Number.MAX_SAFE_INTEGER/100),e=e||new ge(t/2/r+i.x,a/2/n+i.y);const c=new ke(i).transform(new G({scale:l,origin:e}));return this.viewbox(c)}}}),ce(ke,"Box");class zt extends Array{constructor(e=[],...t){if(super(e,...t),typeof e=="number")return this;this.length=0,this.push(...e)}}q([zt],{each(s,...e){return typeof s=="function"?this.map(((t,a,i)=>s.call(t,t,a,i))):this.map((t=>t[s](...e)))},toArray(){return Array.prototype.concat.apply([],this)}});const bh=["toArray","constructor","each"];function jt(s,e){return new zt(Os((e||le.document).querySelectorAll(s),(function(t){return Ue(t)})))}zt.extend=function(s){s=s.reduce(((e,t)=>(bh.includes(t)||t[0]==="_"||(t in Array.prototype&&(e["$"+t]=Array.prototype[t]),e[t]=function(...a){return this.each(t,...a)}),e)),{}),q([zt],s)};let yh=0;const Nn={};function Vn(s){let e=s.getEventHolder();return e===le.window&&(e=Nn),e.events||(e.events={}),e.events}function Ds(s){return s.getEventTarget()}function lt(s,e,t,a,i){const r=t.bind(a||s),n=Ee(s),o=Vn(n),l=Ds(n);e=Array.isArray(e)?e:e.split(dt),t._svgjsListenerId||(t._svgjsListenerId=++yh),e.forEach((function(c){const h=c.split(".")[0],d=c.split(".")[1]||"*";o[h]=o[h]||{},o[h][d]=o[h][d]||{},o[h][d][t._svgjsListenerId]=r,l.addEventListener(h,r,i||!1)}))}function qe(s,e,t,a){const i=Ee(s),r=Vn(i),n=Ds(i);(typeof t!="function"||(t=t._svgjsListenerId))&&(e=Array.isArray(e)?e:(e||"").split(dt)).forEach((function(o){const l=o&&o.split(".")[0],c=o&&o.split(".")[1];let h,d;if(t)r[l]&&r[l][c||"*"]&&(n.removeEventListener(l,r[l][c||"*"][t],a||!1),delete r[l][c||"*"][t]);else if(l&&c){if(r[l]&&r[l][c]){for(d in r[l][c])qe(n,[l,c].join("."),d);delete r[l][c]}}else if(c)for(o in r)for(h in r[o])c===h&&qe(n,[o,c].join("."));else if(l){if(r[l]){for(h in r[l])qe(n,[l,h].join("."));delete r[l]}}else{for(o in r)qe(n,o);(function(u){let g=u.getEventHolder();g===le.window&&(g=Nn),g.events&&(g.events={})})(i)}}))}class ka extends Ts{addEventListener(){}dispatch(e,t,a){return(function(i,r,n,o){const l=Ds(i);return r instanceof le.window.Event||(r=new le.window.CustomEvent(r,{detail:n,cancelable:!0,...o})),l.dispatchEvent(r),r})(this,e,t,a)}dispatchEvent(e){const t=this.getEventHolder().events;if(!t)return!0;const a=t[e.type];for(const i in a)for(const r in a[i])a[i][r](e);return!e.defaultPrevented}fire(e,t,a){return this.dispatch(e,t,a),this}getEventHolder(){return this}getEventTarget(){return this}off(e,t,a){return qe(this,e,t,a),this}on(e,t,a,i){return lt(this,e,t,a,i),this}removeEventListener(){}}function vr(){}ce(ka,"EventTarget");const ki=400,wh=">",Ch=0,kh={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class Ot extends Array{constructor(...e){super(...e),this.init(...e)}clone(){return new this.constructor(this)}init(e){return typeof e=="number"||(this.length=0,this.push(...this.parse(e))),this}parse(e=[]){return e instanceof Array?e:e.trim().split(dt).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const e=[];return e.push(...this),e}}class te{constructor(...e){this.init(...e)}convert(e){return new te(this.value,e)}divide(e){return e=new te(e),new te(this/e,this.unit||e.unit)}init(e,t){return t=Array.isArray(e)?e[1]:t,e=Array.isArray(e)?e[0]:e,this.value=0,this.unit=t||"",typeof e=="number"?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:typeof e=="string"?(t=e.match(Fn))&&(this.value=parseFloat(t[1]),t[5]==="%"?this.value/=100:t[5]==="s"&&(this.value*=1e3),this.unit=t[5]):e instanceof te&&(this.value=e.valueOf(),this.unit=e.unit),this}minus(e){return e=new te(e),new te(this-e,this.unit||e.unit)}plus(e){return e=new te(e),new te(this+e,this.unit||e.unit)}times(e){return e=new te(e),new te(this*e,this.unit||e.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return(this.unit==="%"?~~(1e8*this.value)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const Ah=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]),Xn=[];class yt extends ka{constructor(e,t){super(),this.node=e,this.type=e.nodeName,t&&e!==t&&this.attr(t)}add(e,t){return(e=Ee(e)).removeNamespace&&this.node instanceof le.window.SVGElement&&e.removeNamespace(),t==null?this.node.appendChild(e.node):e.node!==this.node.childNodes[t]&&this.node.insertBefore(e.node,this.node.childNodes[t]),this}addTo(e,t){return Ee(e).put(this,t)}children(){return new zt(Os(this.node.children,(function(e){return Ue(e)})))}clear(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this}clone(e=!0,t=!0){this.writeDataToDom();let a=this.node.cloneNode(e);return t&&(a=Dn(a)),new this.constructor(a)}each(e,t){const a=this.children();let i,r;for(i=0,r=a.length;i<r;i++)e.apply(a[i],[i,a]),t&&a[i].each(e,t);return this}element(e,t){return this.put(new yt(ha(e),t))}first(){return Ue(this.node.firstChild)}get(e){return Ue(this.node.childNodes[e])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(e){return this.index(e)>=0}html(e,t){return this.xml(e,t,"http://www.w3.org/1999/xhtml")}id(e){return e!==void 0||this.node.id||(this.node.id=En(this.type)),this.attr("id",e)}index(e){return[].slice.call(this.node.childNodes).indexOf(e.node)}last(){return Ue(this.node.lastChild)}matches(e){const t=this.node,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector||null;return a&&a.call(t,e)}parent(e){let t=this;if(!t.node.parentNode)return null;if(t=Ue(t.node.parentNode),!e)return t;do if(typeof e=="string"?t.matches(e):t instanceof e)return t;while(t=Ue(t.node.parentNode));return t}put(e,t){return e=Ee(e),this.add(e,t),e}putIn(e,t){return Ee(e).add(this,t)}remove(){return this.parent()&&this.parent().removeElement(this),this}removeElement(e){return this.node.removeChild(e.node),this}replace(e){return e=Ee(e),this.node.parentNode&&this.node.parentNode.replaceChild(e.node,this.node),e}round(e=2,t=null){const a=10**e,i=this.attr(t);for(const r in i)typeof i[r]=="number"&&(i[r]=Math.round(i[r]*a)/a);return this.attr(i),this}svg(e,t){return this.xml(e,t,Hs)}toString(){return this.id()}words(e){return this.node.textContent=e,this}wrap(e){const t=this.parent();if(!t)return this.addTo(e);const a=t.index(this);return t.put(e,a).put(this)}writeDataToDom(){return this.each((function(){this.writeDataToDom()})),this}xml(e,t,a){if(typeof e=="boolean"&&(a=t,t=e,e=null),e==null||typeof e=="function"){t=t==null||t,this.writeDataToDom();let o=this;if(e!=null){if(o=Ue(o.node.cloneNode(!0)),t){const l=e(o);if(o=l||o,l===!1)return""}o.each((function(){const l=e(this),c=l||this;l===!1?this.remove():l&&this!==c&&this.replace(c)}),!0)}return t?o.node.outerHTML:o.node.innerHTML}t=t!=null&&t;const i=ha("wrapper",a),r=le.document.createDocumentFragment();i.innerHTML=e;for(let o=i.children.length;o--;)r.appendChild(i.firstElementChild);const n=this.parent();return t?this.replace(r)&&n:this.add(r)}}q(yt,{attr:function(s,e,t){if(s==null){s={},e=this.node.attributes;for(const a of e)s[a.nodeName]=xr.test(a.nodeValue)?parseFloat(a.nodeValue):a.nodeValue;return s}if(s instanceof Array)return s.reduce(((a,i)=>(a[i]=this.attr(i),a)),{});if(typeof s=="object"&&s.constructor===Object)for(e in s)this.attr(e,s[e]);else if(e===null)this.node.removeAttribute(s);else{if(e==null)return(e=this.node.getAttribute(s))==null?kh[s]:xr.test(e)?parseFloat(e):e;typeof(e=Xn.reduce(((a,i)=>i(s,a,this)),e))=="number"?e=new te(e):Ah.has(s)&&me.isColor(e)?e=new me(e):e.constructor===Array&&(e=new Ot(e)),s==="leading"?this.leading&&this.leading(e):typeof t=="string"?this.node.setAttributeNS(t,s,e.toString()):this.node.setAttribute(s,e.toString()),!this.rebuild||s!=="font-size"&&s!=="x"||this.rebuild()}return this},find:function(s){return jt(s,this.node)},findOne:function(s){return Ue(this.node.querySelector(s))}}),ce(yt,"Dom");let He=class extends yt{constructor(s,e){super(s,e),this.dom={},this.node.instance=this,(s.hasAttribute("data-svgjs")||s.hasAttribute("svgjs:data"))&&this.setData(JSON.parse(s.getAttribute("data-svgjs"))??JSON.parse(s.getAttribute("svgjs:data"))??{})}center(s,e){return this.cx(s).cy(e)}cx(s){return s==null?this.x()+this.width()/2:this.x(s-this.width()/2)}cy(s){return s==null?this.y()+this.height()/2:this.y(s-this.height()/2)}defs(){const s=this.root();return s&&s.defs()}dmove(s,e){return this.dx(s).dy(e)}dx(s=0){return this.x(new te(s).plus(this.x()))}dy(s=0){return this.y(new te(s).plus(this.y()))}getEventHolder(){return this}height(s){return this.attr("height",s)}move(s,e){return this.x(s).y(e)}parents(s=this.root()){const e=typeof s=="string";e||(s=Ee(s));const t=new zt;let a=this;for(;(a=a.parent())&&a.node!==le.document&&a.nodeName!=="#document-fragment"&&(t.push(a),e||a.node!==s.node)&&(!e||!a.matches(s));)if(a.node===this.root().node)return null;return t}reference(s){if(!(s=this.attr(s)))return null;const e=(s+"").match(fh);return e?Ee(e[1]):null}root(){const s=this.parent((function(e){return _t[e]})(js));return s&&s.root()}setData(s){return this.dom=s,this}size(s,e){const t=Zt(this,s,e);return this.width(new te(t.width)).height(new te(t.height))}width(s){return this.attr("width",s)}writeDataToDom(){return jn(this,this.dom),super.writeDataToDom()}x(s){return this.attr("x",s)}y(s){return this.attr("y",s)}};q(He,{bbox:function(){const s=mr(this,(e=>e.getBBox()),(e=>{try{const t=e.clone().addTo(vt().svg).show(),a=t.node.getBBox();return t.remove(),a}catch(t){throw new Error(`Getting bbox of element "${e.node.nodeName}" is not possible: ${t.toString()}`)}}));return new ke(s)},rbox:function(s){const e=mr(this,(a=>a.getBoundingClientRect()),(a=>{throw new Error(`Getting rbox of element "${a.node.nodeName}" is not possible`)})),t=new ke(e);return s?t.transform(s.screenCTM().inverseO()):t.addOffset()},inside:function(s,e){const t=this.bbox();return s>t.x&&e>t.y&&s<t.x+t.width&&e<t.y+t.height},point:function(s,e){return new ge(s,e).transformO(this.screenCTM().inverseO())},ctm:function(){return new G(this.node.getCTM())},screenCTM:function(){try{if(typeof this.isRoot=="function"&&!this.isRoot()){const s=this.rect(1,1),e=s.node.getScreenCTM();return s.remove(),new G(e)}return new G(this.node.getScreenCTM())}catch{return console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`),new G}}}),ce(He,"Element");const aa={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(s,e){return e==="color"?s:s+"-"+e}};["fill","stroke"].forEach((function(s){const e={};let t;e[s]=function(a){if(a===void 0)return this.attr(s);if(typeof a=="string"||a instanceof me||me.isRgb(a)||a instanceof He)this.attr(s,a);else for(t=aa[s].length-1;t>=0;t--)a[aa[s][t]]!=null&&this.attr(aa.prefix(s,aa[s][t]),a[aa[s][t]]);return this},se(["Element","Runner"],e)})),se(["Element","Runner"],{matrix:function(s,e,t,a,i,r){return s==null?new G(this):this.attr("transform",new G(s,e,t,a,i,r))},rotate:function(s,e,t){return this.transform({rotate:s,ox:e,oy:t},!0)},skew:function(s,e,t,a){return arguments.length===1||arguments.length===3?this.transform({skew:s,ox:e,oy:t},!0):this.transform({skew:[s,e],ox:t,oy:a},!0)},shear:function(s,e,t){return this.transform({shear:s,ox:e,oy:t},!0)},scale:function(s,e,t,a){return arguments.length===1||arguments.length===3?this.transform({scale:s,ox:e,oy:t},!0):this.transform({scale:[s,e],ox:t,oy:a},!0)},translate:function(s,e){return this.transform({translate:[s,e]},!0)},relative:function(s,e){return this.transform({relative:[s,e]},!0)},flip:function(s="both",e="center"){return"xybothtrue".indexOf(s)===-1&&(e=s,s="both"),this.transform({flip:s,origin:e},!0)},opacity:function(s){return this.attr("opacity",s)}}),se("radius",{radius:function(s,e=s){return(this._element||this).type==="radialGradient"?this.attr("r",new te(s)):this.rx(s).ry(e)}}),se("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(s){return new ge(this.node.getPointAtLength(s))}}),se(["Element","Runner"],{font:function(s,e){if(typeof s=="object"){for(e in s)this.font(e,s[e]);return this}return s==="leading"?this.leading(e):s==="anchor"?this.attr("text-anchor",e):s==="size"||s==="family"||s==="weight"||s==="stretch"||s==="variant"||s==="style"?this.attr("font-"+s,e):this.attr(s,e)}});se("Element",["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(s,e){return s[e]=function(t){return t===null?this.off(e):this.on(e,t),this},s}),{})),se("Element",{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(ph).slice(0,-1).map((function(e){const t=e.trim().split("(");return[t[0],t[1].split(dt).map((function(a){return parseFloat(a)}))]})).reverse().reduce((function(e,t){return t[0]==="matrix"?e.lmultiply(G.fromArray(t[1])):e[t[0]].apply(e,t[1])}),new G)},toParent:function(s,e){if(this===s)return this;if(rs(this.node))return this.addTo(s,e);const t=this.screenCTM(),a=s.screenCTM().inverse();return this.addTo(s,e).untransform().transform(a.multiply(t)),this},toRoot:function(s){return this.toParent(this.root(),s)},transform:function(s,e){if(s==null||typeof s=="string"){const a=new G(this).decompose();return s==null?a:a[s]}G.isMatrixLike(s)||(s={...s,origin:ss(s,this)});const t=new G(e===!0?this:e||!1).transform(s);return this.attr("transform",t)}});class De extends He{flatten(){return this.each((function(){if(this instanceof De)return this.flatten().ungroup()})),this}ungroup(e=this.parent(),t=e.index(this)){return t=t===-1?e.children().length:t,this.each((function(a,i){return i[i.length-a-1].toParent(e,t)})),this.remove()}}ce(De,"Container");class di extends De{constructor(e,t=e){super(be("defs",e),t)}flatten(){return this}ungroup(){return this}}ce(di,"Defs");class We extends He{}function Fs(s){return this.attr("rx",s)}function Bs(s){return this.attr("ry",s)}function Yn(s){return s==null?this.cx()-this.rx():this.cx(s+this.rx())}function Wn(s){return s==null?this.cy()-this.ry():this.cy(s+this.ry())}function Gn(s){return this.attr("cx",s)}function $n(s){return this.attr("cy",s)}function Un(s){return s==null?2*this.rx():this.rx(new te(s).divide(2))}function qn(s){return s==null?2*this.ry():this.ry(new te(s).divide(2))}ce(We,"Shape");var Sh=Object.freeze({__proto__:null,cx:Gn,cy:$n,height:qn,rx:Fs,ry:Bs,width:Un,x:Yn,y:Wn});class Na extends We{constructor(e,t=e){super(be("ellipse",e),t)}size(e,t){const a=Zt(this,e,t);return this.rx(new te(a.width).divide(2)).ry(new te(a.height).divide(2))}}q(Na,Sh),se("Container",{ellipse:ve((function(s=0,e=s){return this.put(new Na).size(s,e).move(0,0)}))}),ce(Na,"Ellipse");class Zn extends yt{constructor(e=le.document.createDocumentFragment()){super(e)}xml(e,t,a){if(typeof e=="boolean"&&(a=t,t=e,e=null),e==null||typeof e=="function"){const i=new yt(ha("wrapper",a));return i.add(this.node.cloneNode(!0)),i.xml(!1,a)}return super.xml(e,!1,a)}}function Kn(s,e){return(this._element||this).type==="radialGradient"?this.attr({fx:new te(s),fy:new te(e)}):this.attr({x1:new te(s),y1:new te(e)})}function Jn(s,e){return(this._element||this).type==="radialGradient"?this.attr({cx:new te(s),cy:new te(e)}):this.attr({x2:new te(s),y2:new te(e)})}ce(Zn,"Fragment");var Mh=Object.freeze({__proto__:null,from:Kn,to:Jn});class oa extends De{constructor(e,t){super(be(e+"Gradient",typeof e=="string"?null:e),t)}attr(e,t,a){return e==="transform"&&(e="gradientTransform"),super.attr(e,t,a)}bbox(){return new ke}targets(){return jt("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(e){return this.clear(),typeof e=="function"&&e.call(this,this),this}url(){return"url(#"+this.id()+")"}}q(oa,Mh),se({Container:{gradient(...s){return this.defs().gradient(...s)}},Defs:{gradient:ve((function(s,e){return this.put(new oa(s)).update(e)}))}}),ce(oa,"Gradient");class da extends De{constructor(e,t=e){super(be("pattern",e),t)}attr(e,t,a){return e==="transform"&&(e="patternTransform"),super.attr(e,t,a)}bbox(){return new ke}targets(){return jt("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(e){return this.clear(),typeof e=="function"&&e.call(this,this),this}url(){return"url(#"+this.id()+")"}}se({Container:{pattern(...s){return this.defs().pattern(...s)}},Defs:{pattern:ve((function(s,e,t){return this.put(new da).update(t).attr({x:0,y:0,width:s,height:e,patternUnits:"userSpaceOnUse"})}))}}),ce(da,"Pattern");let Va=class extends We{constructor(s,e=s){super(be("image",s),e)}load(s,e){if(!s)return this;const t=new le.window.Image;return lt(t,"load",(function(a){const i=this.parent(da);this.width()===0&&this.height()===0&&this.size(t.width,t.height),i instanceof da&&i.width()===0&&i.height()===0&&i.size(this.width(),this.height()),typeof e=="function"&&e.call(this,a)}),this),lt(t,"load error",(function(){qe(t)})),this.attr("href",t.src=s,Kt)}};var br;br=function(s,e,t){return s!=="fill"&&s!=="stroke"||mh.test(e)&&(e=t.root().defs().image(e)),e instanceof Va&&(e=t.root().defs().pattern(0,0,(a=>{a.add(e)}))),e},Xn.push(br),se({Container:{image:ve((function(s,e){return this.put(new Va).size(0,0).load(s,e)}))}}),ce(Va,"Image");class wt extends Ot{bbox(){let e=-1/0,t=-1/0,a=1/0,i=1/0;return this.forEach((function(r){e=Math.max(r[0],e),t=Math.max(r[1],t),a=Math.min(r[0],a),i=Math.min(r[1],i)})),new ke(a,i,e-a,t-i)}move(e,t){const a=this.bbox();if(e-=a.x,t-=a.y,!isNaN(e)&&!isNaN(t))for(let i=this.length-1;i>=0;i--)this[i]=[this[i][0]+e,this[i][1]+t];return this}parse(e=[0,0]){const t=[];(e=e instanceof Array?Array.prototype.concat.apply([],e):e.trim().split(dt).map(parseFloat)).length%2!=0&&e.pop();for(let a=0,i=e.length;a<i;a+=2)t.push([e[a],e[a+1]]);return t}size(e,t){let a;const i=this.bbox();for(a=this.length-1;a>=0;a--)i.width&&(this[a][0]=(this[a][0]-i.x)*e/i.width+i.x),i.height&&(this[a][1]=(this[a][1]-i.y)*t/i.height+i.y);return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const e=[];for(let t=0,a=this.length;t<a;t++)e.push(this[t].join(","));return e.join(" ")}transform(e){return this.clone().transformO(e)}transformO(e){G.isMatrixLike(e)||(e=new G(e));for(let t=this.length;t--;){const[a,i]=this[t];this[t][0]=e.a*a+e.c*i+e.e,this[t][1]=e.b*a+e.d*i+e.f}return this}}const Ih=wt;var Ns=Object.freeze({__proto__:null,MorphArray:Ih,height:function(s){const e=this.bbox();return s==null?e.height:this.size(e.width,s)},width:function(s){const e=this.bbox();return s==null?e.width:this.size(s,e.height)},x:function(s){return s==null?this.bbox().x:this.move(s,this.bbox().y)},y:function(s){return s==null?this.bbox().y:this.move(this.bbox().x,s)}});let It=class extends We{constructor(s,e=s){super(be("line",s),e)}array(){return new wt([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(s,e){return this.attr(this.array().move(s,e).toLine())}plot(s,e,t,a){return s==null?this.array():(s=e!==void 0?{x1:s,y1:e,x2:t,y2:a}:new wt(s).toLine(),this.attr(s))}size(s,e){const t=Zt(this,s,e);return this.attr(this.array().size(t.width,t.height).toLine())}};q(It,Ns),se({Container:{line:ve((function(...s){return It.prototype.plot.apply(this.put(new It),s[0]!=null?s:[0,0,0,0])}))}}),ce(It,"Line");let Xa=class extends De{constructor(s,e=s){super(be("marker",s),e)}height(s){return this.attr("markerHeight",s)}orient(s){return this.attr("orient",s)}ref(s,e){return this.attr("refX",s).attr("refY",e)}toString(){return"url(#"+this.id()+")"}update(s){return this.clear(),typeof s=="function"&&s.call(this,this),this}width(s){return this.attr("markerWidth",s)}};function Vt(s,e){return function(t){return t==null?this[s]:(this[s]=t,e&&e.call(this),this)}}se({Container:{marker(...s){return this.defs().marker(...s)}},Defs:{marker:ve((function(s,e,t){return this.put(new Xa).size(s,e).ref(s/2,e/2).viewbox(0,0,s,e).attr("orient","auto").update(t)}))},marker:{marker(s,e,t,a){let i=["marker"];return s!=="all"&&i.push(s),i=i.join("-"),s=arguments[1]instanceof Xa?arguments[1]:this.defs().marker(e,t,a),this.attr(i,s)}}}),ce(Xa,"Marker");const Lh={"-":function(s){return s},"<>":function(s){return-Math.cos(s*Math.PI)/2+.5},">":function(s){return Math.sin(s*Math.PI/2)},"<":function(s){return 1-Math.cos(s*Math.PI/2)},bezier:function(s,e,t,a){return function(i){return i<0?s>0?e/s*i:t>0?a/t*i:0:i>1?t<1?(1-a)/(1-t)*i+(a-t)/(1-t):s<1?(1-e)/(1-s)*i+(e-s)/(1-s):1:3*i*(1-i)**2*e+3*i**2*(1-i)*a+i**3}},steps:function(s,e="end"){e=e.split("-").reverse()[0];let t=s;return e==="none"?--t:e==="both"&&++t,(a,i=!1)=>{let r=Math.floor(a*s);const n=a*r%1==0;return e!=="start"&&e!=="both"||++r,i&&n&&--r,a>=0&&r<0&&(r=0),a<=1&&r>t&&(r=t),r/t}}};class Vs{done(){return!1}}class ns extends Vs{constructor(e=wh){super(),this.ease=Lh[e]||e}step(e,t,a){return typeof e!="number"?a<1?e:t:e+(t-e)*this.ease(a)}}class Qa extends Vs{constructor(e){super(),this.stepper=e}done(e){return e.done}step(e,t,a,i){return this.stepper(e,t,a,i)}}function yr(){const s=(this._duration||500)/1e3,e=this._overshoot||0,t=Math.PI,a=Math.log(e/100+1e-10),i=-a/Math.sqrt(t*t+a*a),r=3.9/(i*s);this.d=2*i*r,this.k=r*r}q(class extends Qa{constructor(s=500,e=0){super(),this.duration(s).overshoot(e)}step(s,e,t,a){if(typeof s=="string")return s;if(a.done=t===1/0,t===1/0)return e;if(t===0)return s;t>100&&(t=16),t/=1e3;const i=a.velocity||0,r=-this.d*i-this.k*(s-e),n=s+i*t+r*t*t/2;return a.velocity=i+r*t,a.done=Math.abs(e-n)+Math.abs(i)<.002,a.done?e:n}},{duration:Vt("_duration",yr),overshoot:Vt("_overshoot",yr)});q(class extends Qa{constructor(s=.1,e=.01,t=0,a=1e3){super(),this.p(s).i(e).d(t).windup(a)}step(s,e,t,a){if(typeof s=="string")return s;if(a.done=t===1/0,t===1/0)return e;if(t===0)return s;const i=e-s;let r=(a.integral||0)+i*t;const n=(i-(a.error||0))/t,o=this._windup;return o!==!1&&(r=Math.max(-o,Math.min(r,o))),a.error=i,a.integral=r,a.done=Math.abs(i)<.001,a.done?e:s+(this.P*i+this.I*r+this.D*n)}},{windup:Vt("_windup"),p:Vt("P"),i:Vt("I"),d:Vt("D")});const Rh={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0},os={M:function(s,e,t){return e.x=t.x=s[0],e.y=t.y=s[1],["M",e.x,e.y]},L:function(s,e){return e.x=s[0],e.y=s[1],["L",s[0],s[1]]},H:function(s,e){return e.x=s[0],["H",s[0]]},V:function(s,e){return e.y=s[0],["V",s[0]]},C:function(s,e){return e.x=s[4],e.y=s[5],["C",s[0],s[1],s[2],s[3],s[4],s[5]]},S:function(s,e){return e.x=s[2],e.y=s[3],["S",s[0],s[1],s[2],s[3]]},Q:function(s,e){return e.x=s[2],e.y=s[3],["Q",s[0],s[1],s[2],s[3]]},T:function(s,e){return e.x=s[0],e.y=s[1],["T",s[0],s[1]]},Z:function(s,e,t){return e.x=t.x,e.y=t.y,["Z"]},A:function(s,e){return e.x=s[5],e.y=s[6],["A",s[0],s[1],s[2],s[3],s[4],s[5],s[6]]}},Ai="mlhvqtcsaz".split("");for(let s=0,e=Ai.length;s<e;++s)os[Ai[s]]=(function(t){return function(a,i,r){if(t==="H")a[0]=a[0]+i.x;else if(t==="V")a[0]=a[0]+i.y;else if(t==="A")a[5]=a[5]+i.x,a[6]=a[6]+i.y;else for(let n=0,o=a.length;n<o;++n)a[n]=a[n]+(n%2?i.y:i.x);return os[t](a,i,r)}})(Ai[s].toUpperCase());function ls(s){return s.segment.length&&s.segment.length-1===Rh[s.segment[0].toUpperCase()]}function _h(s,e){s.inNumber&&At(s,!1);const t=Es.test(e);if(t)s.segment=[e];else{const a=s.lastCommand,i=a.toLowerCase(),r=a===i;s.segment=[i==="m"?r?"l":"L":a]}return s.inSegment=!0,s.lastCommand=s.segment[0],t}function At(s,e){if(!s.inNumber)throw new Error("Parser Error");s.number&&s.segment.push(parseFloat(s.number)),s.inNumber=e,s.number="",s.pointSeen=!1,s.hasExponent=!1,ls(s)&&cs(s)}function cs(s){s.inSegment=!1,s.absolute&&(s.segment=(function(e){const t=e.segment[0];return os[t](e.segment.slice(1),e.p,e.p0)})(s)),s.segments.push(s.segment)}function Ph(s){if(!s.segment.length)return!1;const e=s.segment[0].toUpperCase()==="A",t=s.segment.length;return e&&(t===4||t===5)}function zh(s){return s.lastToken.toUpperCase()==="E"}const Oh=new Set([" ",","," ",`
|
|
5
|
-
`,"\r","\f"]);class Qe extends Ot{bbox(){return vt().path.setAttribute("d",this.toString()),new ke(vt.nodes.path.getBBox())}move(e,t){const a=this.bbox();if(e-=a.x,t-=a.y,!isNaN(e)&&!isNaN(t))for(let i,r=this.length-1;r>=0;r--)i=this[r][0],i==="M"||i==="L"||i==="T"?(this[r][1]+=e,this[r][2]+=t):i==="H"?this[r][1]+=e:i==="V"?this[r][1]+=t:i==="C"||i==="S"||i==="Q"?(this[r][1]+=e,this[r][2]+=t,this[r][3]+=e,this[r][4]+=t,i==="C"&&(this[r][5]+=e,this[r][6]+=t)):i==="A"&&(this[r][6]+=e,this[r][7]+=t);return this}parse(e="M0 0"){return Array.isArray(e)&&(e=Array.prototype.concat.apply([],e).toString()),(function(t,a=!0){let i=0,r="";const n={segment:[],inNumber:!1,number:"",lastToken:"",inSegment:!1,segments:[],pointSeen:!1,hasExponent:!1,absolute:a,p0:new ge,p:new ge};for(;n.lastToken=r,r=t.charAt(i++);)if(n.inSegment||!_h(n,r))if(r!==".")if(isNaN(parseInt(r)))if(Oh.has(r))n.inNumber&&At(n,!1);else if(r!=="-"&&r!=="+")if(r.toUpperCase()!=="E"){if(Es.test(r)){if(n.inNumber)At(n,!1);else{if(!ls(n))throw new Error("parser Error");cs(n)}--i}}else n.number+=r,n.hasExponent=!0;else{if(n.inNumber&&!zh(n)){At(n,!1),--i;continue}n.number+=r,n.inNumber=!0}else{if(n.number==="0"||Ph(n)){n.inNumber=!0,n.number=r,At(n,!0);continue}n.inNumber=!0,n.number+=r}else{if(n.pointSeen||n.hasExponent){At(n,!1),--i;continue}n.inNumber=!0,n.pointSeen=!0,n.number+=r}return n.inNumber&&At(n,!1),n.inSegment&&ls(n)&&cs(n),n.segments})(e)}size(e,t){const a=this.bbox();let i,r;for(a.width=a.width===0?1:a.width,a.height=a.height===0?1:a.height,i=this.length-1;i>=0;i--)r=this[i][0],r==="M"||r==="L"||r==="T"?(this[i][1]=(this[i][1]-a.x)*e/a.width+a.x,this[i][2]=(this[i][2]-a.y)*t/a.height+a.y):r==="H"?this[i][1]=(this[i][1]-a.x)*e/a.width+a.x:r==="V"?this[i][1]=(this[i][1]-a.y)*t/a.height+a.y:r==="C"||r==="S"||r==="Q"?(this[i][1]=(this[i][1]-a.x)*e/a.width+a.x,this[i][2]=(this[i][2]-a.y)*t/a.height+a.y,this[i][3]=(this[i][3]-a.x)*e/a.width+a.x,this[i][4]=(this[i][4]-a.y)*t/a.height+a.y,r==="C"&&(this[i][5]=(this[i][5]-a.x)*e/a.width+a.x,this[i][6]=(this[i][6]-a.y)*t/a.height+a.y)):r==="A"&&(this[i][1]=this[i][1]*e/a.width,this[i][2]=this[i][2]*t/a.height,this[i][6]=(this[i][6]-a.x)*e/a.width+a.x,this[i][7]=(this[i][7]-a.y)*t/a.height+a.y);return this}toString(){return(function(e){let t="";for(let a=0,i=e.length;a<i;a++)t+=e[a][0],e[a][1]!=null&&(t+=e[a][1],e[a][2]!=null&&(t+=" ",t+=e[a][2],e[a][3]!=null&&(t+=" ",t+=e[a][3],t+=" ",t+=e[a][4],e[a][5]!=null&&(t+=" ",t+=e[a][5],t+=" ",t+=e[a][6],e[a][7]!=null&&(t+=" ",t+=e[a][7])))));return t+" "})(this)}}const Qn=s=>{const e=typeof s;return e==="number"?te:e==="string"?me.isColor(s)?me:dt.test(s)?Es.test(s)?Qe:Ot:Fn.test(s)?te:hs:ds.indexOf(s.constructor)>-1?s.constructor:Array.isArray(s)?Ot:e==="object"?ua:hs};class St{constructor(e){this._stepper=e||new ns("-"),this._from=null,this._to=null,this._type=null,this._context=null,this._morphObj=null}at(e){return this._morphObj.morph(this._from,this._to,e,this._stepper,this._context)}done(){return this._context.map(this._stepper.done).reduce((function(e,t){return e&&t}),!0)}from(e){return e==null?this._from:(this._from=this._set(e),this)}stepper(e){return e==null?this._stepper:(this._stepper=e,this)}to(e){return e==null?this._to:(this._to=this._set(e),this)}type(e){return e==null?this._type:(this._type=e,this)}_set(e){this._type||this.type(Qn(e));let t=new this._type(e);return this._type===me&&(t=this._to?t[this._to[4]]():this._from?t[this._from[4]]():t),this._type===ua&&(t=this._to?t.align(this._to):this._from?t.align(this._from):t),t=t.toConsumable(),this._morphObj=this._morphObj||new this._type,this._context=this._context||Array.apply(null,Array(t.length)).map(Object).map((function(a){return a.done=!0,a})),t}}class hs{constructor(...e){this.init(...e)}init(e){return e=Array.isArray(e)?e[0]:e,this.value=e,this}toArray(){return[this.value]}valueOf(){return this.value}}class Aa{constructor(...e){this.init(...e)}init(e){return Array.isArray(e)&&(e={scaleX:e[0],scaleY:e[1],shear:e[2],rotate:e[3],translateX:e[4],translateY:e[5],originX:e[6],originY:e[7]}),Object.assign(this,Aa.defaults,e),this}toArray(){const e=this;return[e.scaleX,e.scaleY,e.shear,e.rotate,e.translateX,e.translateY,e.originX,e.originY]}}Aa.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const Hh=(s,e)=>s[0]<e[0]?-1:s[0]>e[0]?1:0;class ua{constructor(...e){this.init(...e)}align(e){const t=this.values;for(let a=0,i=t.length;a<i;++a){if(t[a+1]===e[a+1]){if(t[a+1]===me&&e[a+7]!==t[a+7]){const o=e[a+7],l=new me(this.values.splice(a+3,5))[o]().toArray();this.values.splice(a+3,0,...l)}a+=t[a+2]+2;continue}if(!e[a+1])return this;const r=new e[a+1]().toArray(),n=t[a+2]+3;t.splice(a,n,e[a],e[a+1],e[a+2],...r),a+=t[a+2]+2}return this}init(e){if(this.values=[],Array.isArray(e))return void(this.values=e.slice());e=e||{};const t=[];for(const a in e){const i=Qn(e[a]),r=new i(e[a]).toArray();t.push([a,i,r.length,...r])}return t.sort(Hh),this.values=t.reduce(((a,i)=>a.concat(i)),[]),this}toArray(){return this.values}valueOf(){const e={},t=this.values;for(;t.length;){const a=t.shift(),i=t.shift(),r=t.shift(),n=t.splice(0,r);e[a]=new i(n)}return e}}const ds=[hs,Aa,ua];class Xt extends We{constructor(e,t=e){super(be("path",e),t)}array(){return this._array||(this._array=new Qe(this.attr("d")))}clear(){return delete this._array,this}height(e){return e==null?this.bbox().height:this.size(this.bbox().width,e)}move(e,t){return this.attr("d",this.array().move(e,t))}plot(e){return e==null?this.array():this.clear().attr("d",typeof e=="string"?e:this._array=new Qe(e))}size(e,t){const a=Zt(this,e,t);return this.attr("d",this.array().size(a.width,a.height))}width(e){return e==null?this.bbox().width:this.size(e,this.bbox().height)}x(e){return e==null?this.bbox().x:this.move(e,this.bbox().y)}y(e){return e==null?this.bbox().y:this.move(this.bbox().x,e)}}Xt.prototype.MorphArray=Qe,se({Container:{path:ve((function(s){return this.put(new Xt).plot(s||new Qe)}))}}),ce(Xt,"Path");var eo=Object.freeze({__proto__:null,array:function(){return this._array||(this._array=new wt(this.attr("points")))},clear:function(){return delete this._array,this},move:function(s,e){return this.attr("points",this.array().move(s,e))},plot:function(s){return s==null?this.array():this.clear().attr("points",typeof s=="string"?s:this._array=new wt(s))},size:function(s,e){const t=Zt(this,s,e);return this.attr("points",this.array().size(t.width,t.height))}});class Lt extends We{constructor(e,t=e){super(be("polygon",e),t)}}se({Container:{polygon:ve((function(s){return this.put(new Lt).plot(s||new wt)}))}}),q(Lt,Ns),q(Lt,eo),ce(Lt,"Polygon");class Rt extends We{constructor(e,t=e){super(be("polyline",e),t)}}se({Container:{polyline:ve((function(s){return this.put(new Rt).plot(s||new wt)}))}}),q(Rt,Ns),q(Rt,eo),ce(Rt,"Polyline");class Ya extends We{constructor(e,t=e){super(be("rect",e),t)}}q(Ya,{rx:Fs,ry:Bs}),se({Container:{rect:ve((function(s,e){return this.put(new Ya).size(s,e)}))}}),ce(Ya,"Rect");class Si{constructor(){this._first=null,this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(e){const t=e.next!==void 0?e:{value:e,next:null,prev:null};return this._last?(t.prev=this._last,this._last.next=t,this._last=t):(this._last=t,this._first=t),t}remove(e){e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e===this._last&&(this._last=e.prev),e===this._first&&(this._first=e.next),e.prev=null,e.next=null}shift(){const e=this._first;return e?(this._first=e.next,this._first&&(this._first.prev=null),this._last=this._first?this._last:null,e.value):null}}const pe={nextDraw:null,frames:new Si,timeouts:new Si,immediates:new Si,timer:()=>le.window.performance||le.window.Date,transforms:[],frame(s){const e=pe.frames.push({run:s});return pe.nextDraw===null&&(pe.nextDraw=le.window.requestAnimationFrame(pe._draw)),e},timeout(s,e){e=e||0;const t=pe.timer().now()+e,a=pe.timeouts.push({run:s,time:t});return pe.nextDraw===null&&(pe.nextDraw=le.window.requestAnimationFrame(pe._draw)),a},immediate(s){const e=pe.immediates.push(s);return pe.nextDraw===null&&(pe.nextDraw=le.window.requestAnimationFrame(pe._draw)),e},cancelFrame(s){s!=null&&pe.frames.remove(s)},clearTimeout(s){s!=null&&pe.timeouts.remove(s)},cancelImmediate(s){s!=null&&pe.immediates.remove(s)},_draw(s){let e=null;const t=pe.timeouts.last();for(;(e=pe.timeouts.shift())&&(s>=e.time?e.run():pe.timeouts.push(e),e!==t););let a=null;const i=pe.frames.last();for(;a!==i&&(a=pe.frames.shift());)a.run(s);let r=null;for(;r=pe.immediates.shift();)r();pe.nextDraw=pe.timeouts.first()||pe.frames.first()?le.window.requestAnimationFrame(pe._draw):null}},Th=function(s){const e=s.start,t=s.runner.duration();return{start:e,duration:t,end:e+t,runner:s.runner}},jh=function(){const s=le.window;return(s.performance||s.Date).now()};class to extends ka{constructor(e=jh){super(),this._timeSource=e,this.terminate()}active(){return!!this._nextFrame}finish(){return this.time(this.getEndTimeOfTimeline()+1),this.pause()}getEndTime(){const e=this.getLastRunnerInfo(),t=e?e.runner.duration():0;return(e?e.start:this._time)+t}getEndTimeOfTimeline(){const e=this._runners.map((t=>t.start+t.runner.duration()));return Math.max(0,...e)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(e){return this._runners[this._runnerIds.indexOf(e)]||null}pause(){return this._paused=!0,this._continue()}persist(e){return e==null?this._persist:(this._persist=e,this)}play(){return this._paused=!1,this.updateTime()._continue()}reverse(e){const t=this.speed();if(e==null)return this.speed(-t);const a=Math.abs(t);return this.speed(e?-a:a)}schedule(e,t,a){if(e==null)return this._runners.map(Th);let i=0;const r=this.getEndTime();if(t=t||0,a==null||a==="last"||a==="after")i=r;else if(a==="absolute"||a==="start")i=t,t=0;else if(a==="now")i=this._time;else if(a==="relative"){const l=this.getRunnerInfoById(e.id);l&&(i=l.start+t,t=0)}else{if(a!=="with-last")throw new Error('Invalid value for the "when" parameter');{const l=this.getLastRunnerInfo();i=l?l.start:this._time}}e.unschedule(),e.timeline(this);const n=e.persist(),o={persist:n===null?this._persist:n,start:i+t,runner:e};return this._lastRunnerId=e.id,this._runners.push(o),this._runners.sort(((l,c)=>l.start-c.start)),this._runnerIds=this._runners.map((l=>l.runner.id)),this.updateTime()._continue(),this}seek(e){return this.time(this._time+e)}source(e){return e==null?this._timeSource:(this._timeSource=e,this)}speed(e){return e==null?this._speed:(this._speed=e,this)}stop(){return this.time(0),this.pause()}time(e){return e==null?this._time:(this._time=e,this._continue(!0))}unschedule(e){const t=this._runnerIds.indexOf(e.id);return t<0||(this._runners.splice(t,1),this._runnerIds.splice(t,1),e.timeline(null)),this}updateTime(){return this.active()||(this._lastSourceTime=this._timeSource()),this}_continue(e=!1){return pe.cancelFrame(this._nextFrame),this._nextFrame=null,e?this._stepImmediate():(this._paused||(this._nextFrame=pe.frame(this._step)),this)}_stepFn(e=!1){const t=this._timeSource();let a=t-this._lastSourceTime;e&&(a=0);const i=this._speed*a+(this._time-this._lastStepTime);this._lastSourceTime=t,e||(this._time+=i,this._time=this._time<0?0:this._time),this._lastStepTime=this._time,this.fire("time",this._time);for(let n=this._runners.length;n--;){const o=this._runners[n],l=o.runner;this._time-o.start<=0&&l.reset()}let r=!1;for(let n=0,o=this._runners.length;n<o;n++){const l=this._runners[n],c=l.runner;let h=i;const d=this._time-l.start;if(d<=0){r=!0;continue}d<h&&(h=d),c.active()&&(c.step(h).done?l.persist!==!0&&c.duration()-c.time()+this._time+l.persist<this._time&&(c.unschedule(),--n,--o):r=!0)}return r&&!(this._speed<0&&this._time===0)||this._runnerIds.length&&this._speed<0&&this._time>0?this._continue():(this.pause(),this.fire("finished")),this}terminate(){this._startTime=0,this._speed=1,this._persist=0,this._nextFrame=null,this._paused=!0,this._runners=[],this._runnerIds=[],this._lastRunnerId=-1,this._time=0,this._lastSourceTime=0,this._lastStepTime=0,this._step=this._stepFn.bind(this,!1),this._stepImmediate=this._stepFn.bind(this,!0)}}se({Element:{timeline:function(s){return s==null?(this._timeline=this._timeline||new to,this._timeline):(this._timeline=s,this)}}});class Xe extends ka{constructor(e){super(),this.id=Xe.id++,e=typeof(e=e??ki)=="function"?new Qa(e):e,this._element=null,this._timeline=null,this.done=!1,this._queue=[],this._duration=typeof e=="number"&&e,this._isDeclarative=e instanceof Qa,this._stepper=this._isDeclarative?e:new ns,this._history={},this.enabled=!0,this._time=0,this._lastTime=0,this._reseted=!0,this.transforms=new G,this.transformId=1,this._haveReversed=!1,this._reverse=!1,this._loopsDone=0,this._swing=!1,this._wait=0,this._times=1,this._frameId=null,this._persist=!!this._isDeclarative||null}static sanitise(e,t,a){let i=1,r=!1,n=0;return t=t??Ch,a=a||"last",typeof(e=e??ki)!="object"||e instanceof Vs||(t=e.delay??t,a=e.when??a,r=e.swing||r,i=e.times??i,n=e.wait??n,e=e.duration??ki),{duration:e,delay:t,swing:r,times:i,wait:n,when:a}}active(e){return e==null?this.enabled:(this.enabled=e,this)}addTransform(e){return this.transforms.lmultiplyO(e),this}after(e){return this.on("finished",e)}animate(e,t,a){const i=Xe.sanitise(e,t,a),r=new Xe(i.duration);return this._timeline&&r.timeline(this._timeline),this._element&&r.element(this._element),r.loop(i).schedule(i.delay,i.when)}clearTransform(){return this.transforms=new G,this}clearTransformsFromQueue(){this.done&&this._timeline&&this._timeline._runnerIds.includes(this.id)||(this._queue=this._queue.filter((e=>!e.isTransform)))}delay(e){return this.animate(0,e)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(e){return this.queue(null,e)}ease(e){return this._stepper=new ns(e),this}element(e){return e==null?this._element:(this._element=e,e._prepareRunner(),this)}finish(){return this.step(1/0)}loop(e,t,a){return typeof e=="object"&&(t=e.swing,a=e.wait,e=e.times),this._times=e||1/0,this._swing=t||!1,this._wait=a||0,this._times===!0&&(this._times=1/0),this}loops(e){const t=this._duration+this._wait;if(e==null){const r=Math.floor(this._time/t),n=(this._time-r*t)/this._duration;return Math.min(r+n,this._times)}const a=e%1,i=t*Math.floor(e)+this._duration*a;return this.time(i)}persist(e){return e==null?this._persist:(this._persist=e,this)}position(e){const t=this._time,a=this._duration,i=this._wait,r=this._times,n=this._swing,o=this._reverse;let l;if(e==null){const d=function(g){const p=n*Math.floor(g%(2*(i+a))/(i+a)),f=p&&!o||!p&&o,m=Math.pow(-1,f)*(g%(i+a))/a+f;return Math.max(Math.min(m,1),0)},u=r*(i+a)-i;return l=t<=0?Math.round(d(1e-5)):t<u?d(t):Math.round(d(u-1e-5)),l}const c=Math.floor(this.loops()),h=n&&c%2==0;return l=c+(h&&!o||o&&h?e:1-e),this.loops(l)}progress(e){return e==null?Math.min(1,this._time/this.duration()):this.time(e*this.duration())}queue(e,t,a,i){return this._queue.push({initialiser:e||vr,runner:t||vr,retarget:a,isTransform:i,initialised:!1,finished:!1}),this.timeline()&&this.timeline()._continue(),this}reset(){return this._reseted||(this.time(0),this._reseted=!0),this}reverse(e){return this._reverse=e??!this._reverse,this}schedule(e,t,a){if(e instanceof to||(a=t,t=e,e=this.timeline()),!e)throw Error("Runner cannot be scheduled without timeline");return e.schedule(this,t,a),this}step(e){if(!this.enabled)return this;e=e??16,this._time+=e;const t=this.position(),a=this._lastPosition!==t&&this._time>=0;this._lastPosition=t;const i=this.duration(),r=this._lastTime<=0&&this._time>0,n=this._lastTime<i&&this._time>=i;this._lastTime=this._time,r&&this.fire("start",this);const o=this._isDeclarative;this.done=!o&&!n&&this._time>=i,this._reseted=!1;let l=!1;return(a||o)&&(this._initialise(a),this.transforms=new G,l=this._run(o?e:t),this.fire("step",this)),this.done=this.done||l&&o,n&&this.fire("finished",this),this}time(e){if(e==null)return this._time;const t=e-this._time;return this.step(t),this}timeline(e){return e===void 0?this._timeline:(this._timeline=e,this)}unschedule(){const e=this.timeline();return e&&e.unschedule(this),this}_initialise(e){if(e||this._isDeclarative)for(let t=0,a=this._queue.length;t<a;++t){const i=this._queue[t],r=this._isDeclarative||!i.initialised&&e;e=!i.finished,r&&e&&(i.initialiser.call(this),i.initialised=!0)}}_rememberMorpher(e,t){if(this._history[e]={morpher:t,caller:this._queue[this._queue.length-1]},this._isDeclarative){const a=this.timeline();a&&a.play()}}_run(e){let t=!0;for(let a=0,i=this._queue.length;a<i;++a){const r=this._queue[a],n=r.runner.call(this,e);r.finished=r.finished||n===!0,t=t&&r.finished}return t}_tryRetarget(e,t,a){if(this._history[e]){if(!this._history[e].caller.initialised){const r=this._queue.indexOf(this._history[e].caller);return this._queue.splice(r,1),!1}this._history[e].caller.retarget?this._history[e].caller.retarget.call(this,t,a):this._history[e].morpher.to(t),this._history[e].caller.finished=!1;const i=this.timeline();return i&&i.play(),!0}return!1}}Xe.id=0;class ei{constructor(e=new G,t=-1,a=!0){this.transforms=e,this.id=t,this.done=a}clearTransformsFromQueue(){}}q([Xe,ei],{mergeWith(s){return new ei(s.transforms.lmultiply(this.transforms),s.id)}});const ao=(s,e)=>s.lmultiplyO(e),io=s=>s.transforms;function Eh(){const s=this._transformationRunners.runners.map(io).reduce(ao,new G);this.transform(s),this._transformationRunners.merge(),this._transformationRunners.length()===1&&(this._frameId=null)}class Dh{constructor(){this.runners=[],this.ids=[]}add(e){if(this.runners.includes(e))return;const t=e.id+1;return this.runners.push(e),this.ids.push(t),this}clearBefore(e){const t=this.ids.indexOf(e+1)||1;return this.ids.splice(0,t,0),this.runners.splice(0,t,new ei).forEach((a=>a.clearTransformsFromQueue())),this}edit(e,t){const a=this.ids.indexOf(e+1);return this.ids.splice(a,1,e+1),this.runners.splice(a,1,t),this}getByID(e){return this.runners[this.ids.indexOf(e+1)]}length(){return this.ids.length}merge(){let e=null;for(let t=0;t<this.runners.length;++t){const a=this.runners[t];if(e&&a.done&&e.done&&(!a._timeline||!a._timeline._runnerIds.includes(a.id))&&(!e._timeline||!e._timeline._runnerIds.includes(e.id))){this.remove(a.id);const i=a.mergeWith(e);this.edit(e.id,i),e=i,--t}else e=a}return this}remove(e){const t=this.ids.indexOf(e+1);return this.ids.splice(t,1),this.runners.splice(t,1),this}}se({Element:{animate(s,e,t){const a=Xe.sanitise(s,e,t),i=this.timeline();return new Xe(a.duration).loop(a).element(this).timeline(i.play()).schedule(a.delay,a.when)},delay(s,e){return this.animate(0,s,e)},_clearTransformRunnersBefore(s){this._transformationRunners.clearBefore(s.id)},_currentTransform(s){return this._transformationRunners.runners.filter((e=>e.id<=s.id)).map(io).reduce(ao,new G)},_addRunner(s){this._transformationRunners.add(s),pe.cancelImmediate(this._frameId),this._frameId=pe.immediate(Eh.bind(this))},_prepareRunner(){this._frameId==null&&(this._transformationRunners=new Dh().add(new ei(new G(this))))}}});q(Xe,{attr(s,e){return this.styleAttr("attr",s,e)},css(s,e){return this.styleAttr("css",s,e)},styleAttr(s,e,t){if(typeof e=="string")return this.styleAttr(s,{[e]:t});let a=e;if(this._tryRetarget(s,a))return this;let i=new St(this._stepper).to(a),r=Object.keys(a);return this.queue((function(){i=i.from(this.element()[s](r))}),(function(n){return this.element()[s](i.at(n).valueOf()),i.done()}),(function(n){const o=Object.keys(n),l=(c=r,o.filter((d=>!c.includes(d))));var c;if(l.length){const d=this.element()[s](l),u=new ua(i.from()).valueOf();Object.assign(u,d),i.from(u)}const h=new ua(i.to()).valueOf();Object.assign(h,n),i.to(h),r=o,a=n})),this._rememberMorpher(s,i),this},zoom(s,e){if(this._tryRetarget("zoom",s,e))return this;let t=new St(this._stepper).to(new te(s));return this.queue((function(){t=t.from(this.element().zoom())}),(function(a){return this.element().zoom(t.at(a),e),t.done()}),(function(a,i){e=i,t.to(a)})),this._rememberMorpher("zoom",t),this},transform(s,e,t){if(e=s.relative||e,this._isDeclarative&&!e&&this._tryRetarget("transform",s))return this;const a=G.isMatrixLike(s);t=s.affine!=null?s.affine:t??!a;const i=new St(this._stepper).type(t?Aa:G);let r,n,o,l,c;return this.queue((function(){n=n||this.element(),r=r||ss(s,n),c=new G(e?void 0:n),n._addRunner(this),e||n._clearTransformRunnersBefore(this)}),(function(h){e||this.clearTransform();const{x:d,y:u}=new ge(r).transform(n._currentTransform(this));let g=new G({...s,origin:[d,u]}),p=this._isDeclarative&&o?o:c;if(t){g=g.decompose(d,u),p=p.decompose(d,u);const m=g.rotate,v=p.rotate,b=[m-360,m,m+360],w=b.map((A=>Math.abs(A-v))),k=Math.min(...w),y=w.indexOf(k);g.rotate=b[y]}e&&(a||(g.rotate=s.rotate||0),this._isDeclarative&&l&&(p.rotate=l)),i.from(p),i.to(g);const f=i.at(h);return l=f.rotate,o=new G(f),this.addTransform(o),n._addRunner(this),i.done()}),(function(h){(h.origin||"center").toString()!==(s.origin||"center").toString()&&(r=ss(h,n)),s={...h,origin:r}}),!0),this._isDeclarative&&this._rememberMorpher("transform",i),this},x(s){return this._queueNumber("x",s)},y(s){return this._queueNumber("y",s)},ax(s){return this._queueNumber("ax",s)},ay(s){return this._queueNumber("ay",s)},dx(s=0){return this._queueNumberDelta("x",s)},dy(s=0){return this._queueNumberDelta("y",s)},dmove(s,e){return this.dx(s).dy(e)},_queueNumberDelta(s,e){if(e=new te(e),this._tryRetarget(s,e))return this;const t=new St(this._stepper).to(e);let a=null;return this.queue((function(){a=this.element()[s](),t.from(a),t.to(a+e)}),(function(i){return this.element()[s](t.at(i)),t.done()}),(function(i){t.to(a+new te(i))})),this._rememberMorpher(s,t),this},_queueObject(s,e){if(this._tryRetarget(s,e))return this;const t=new St(this._stepper).to(e);return this.queue((function(){t.from(this.element()[s]())}),(function(a){return this.element()[s](t.at(a)),t.done()})),this._rememberMorpher(s,t),this},_queueNumber(s,e){return this._queueObject(s,new te(e))},cx(s){return this._queueNumber("cx",s)},cy(s){return this._queueNumber("cy",s)},move(s,e){return this.x(s).y(e)},amove(s,e){return this.ax(s).ay(e)},center(s,e){return this.cx(s).cy(e)},size(s,e){let t;return s&&e||(t=this._element.bbox()),s||(s=t.width/t.height*e),e||(e=t.height/t.width*s),this.width(s).height(e)},width(s){return this._queueNumber("width",s)},height(s){return this._queueNumber("height",s)},plot(s,e,t,a){if(arguments.length===4)return this.plot([s,e,t,a]);if(this._tryRetarget("plot",s))return this;const i=new St(this._stepper).type(this._element.MorphArray).to(s);return this.queue((function(){i.from(this._element.array())}),(function(r){return this._element.plot(i.at(r)),i.done()})),this._rememberMorpher("plot",i),this},leading(s){return this._queueNumber("leading",s)},viewbox(s,e,t,a){return this._queueObject("viewbox",new ke(s,e,t,a))},update(s){return typeof s!="object"?this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]}):(s.opacity!=null&&this.attr("stop-opacity",s.opacity),s.color!=null&&this.attr("stop-color",s.color),s.offset!=null&&this.attr("offset",s.offset),this)}}),q(Xe,{rx:Fs,ry:Bs,from:Kn,to:Jn}),ce(Xe,"Runner");class us extends De{constructor(e,t=e){super(be("svg",e),t),this.namespace()}defs(){return this.isRoot()?Ue(this.node.querySelector("defs"))||this.put(new di):this.root().defs()}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof le.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"}namespace(){return this.isRoot()?this.attr({xmlns:Hs,version:"1.1"}).attr("xmlns:xlink",Kt,yi):this.root().namespace()}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,yi).attr("xmlns:svgjs",null,yi)}root(){return this.isRoot()?this:super.root()}}se({Container:{nested:ve((function(){return this.put(new us)}))}}),ce(us,"Svg",!0);let gs=class extends De{constructor(s,e=s){super(be("symbol",s),e)}};se({Container:{symbol:ve((function(){return this.put(new gs)}))}}),ce(gs,"Symbol");var so=Object.freeze({__proto__:null,amove:function(s,e){return this.ax(s).ay(e)},ax:function(s){return this.attr("x",s)},ay:function(s){return this.attr("y",s)},build:function(s){return this._build=!!s,this},center:function(s,e,t=this.bbox()){return this.cx(s,t).cy(e,t)},cx:function(s,e=this.bbox()){return s==null?e.cx:this.attr("x",this.attr("x")+s-e.cx)},cy:function(s,e=this.bbox()){return s==null?e.cy:this.attr("y",this.attr("y")+s-e.cy)},length:function(){return this.node.getComputedTextLength()},move:function(s,e,t=this.bbox()){return this.x(s,t).y(e,t)},plain:function(s){return this._build===!1&&this.clear(),this.node.appendChild(le.document.createTextNode(s)),this},x:function(s,e=this.bbox()){return s==null?e.x:this.attr("x",this.attr("x")+s-e.x)},y:function(s,e=this.bbox()){return s==null?e.y:this.attr("y",this.attr("y")+s-e.y)}});class et extends We{constructor(e,t=e){super(be("text",e),t),this.dom.leading=this.dom.leading??new te(1.3),this._rebuild=!0,this._build=!1}leading(e){return e==null?this.dom.leading:(this.dom.leading=new te(e),this.rebuild())}rebuild(e){if(typeof e=="boolean"&&(this._rebuild=e),this._rebuild){const t=this;let a=0;const i=this.dom.leading;this.each((function(r){if(rs(this.node))return;const n=le.window.getComputedStyle(this.node).getPropertyValue("font-size"),o=i*new te(n);this.dom.newLined&&(this.attr("x",t.attr("x")),this.text()===`
|
|
6
|
-
`?a+=o:(this.attr("dy",r?o+a:0),a=0))})),this.fire("rebuild")}return this}setData(e){return this.dom=e,this.dom.leading=new te(e.leading||1.3),this}writeDataToDom(){return
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("react/jsx-runtime"),z=require("react"),ne=require("classnames"),hi=require("react-dom");function Bl(s){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const t in s)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(s,t);Object.defineProperty(e,t,a.get?a:{enumerable:!0,get:()=>s[t]})}}return e.default=s,Object.freeze(e)}const ie=Bl(z),Nl="_alert_5pmsn_1",Vl="_info_5pmsn_11",Xl="_success_5pmsn_16",Yl="_warning_5pmsn_21",Wl="_danger_5pmsn_26",Gl="_icon_5pmsn_32",$l="_content_5pmsn_43",Ul="_title_5pmsn_48",ql="_message_5pmsn_53",Zl="_actions_5pmsn_58",Kl="_dismiss_5pmsn_62",ft={alert:Nl,info:Vl,success:Xl,warning:Yl,danger:Wl,icon:Gl,content:$l,title:Ul,message:ql,actions:Zl,dismiss:Kl},Jl=()=>x.jsx("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),kn=z.forwardRef(({variant:s="info",title:e,dismissible:t,onDismiss:a,action:i,icon:r,className:n,children:o,...l},c)=>x.jsxs("div",{ref:c,role:"alert",className:ne(ft.alert,ft[s],n),...l,children:[r&&x.jsx("span",{className:ft.icon,children:r}),x.jsxs("div",{className:ft.content,children:[e&&x.jsx("p",{className:ft.title,children:e}),x.jsx("div",{className:ft.message,children:o}),i&&x.jsx("div",{className:ft.actions,children:i})]}),t&&x.jsx("button",{type:"button",className:ft.dismiss,onClick:a,"aria-label":"Dismiss",children:x.jsx(Jl,{})})]}));kn.displayName="Alert";const Ql="_badge_370mk_1",ec="_sm_370mk_12",tc="_md_370mk_17",ac="_success_370mk_27",ic="_warning_370mk_32",sc="_danger_370mk_37",rc="_info_370mk_42",nc="_dot_370mk_48",oc="_removeButton_370mk_56",ea={badge:Ql,sm:ec,md:tc,default:"_default_370mk_22",success:ac,warning:ic,danger:sc,info:rc,dot:nc,removeButton:oc},lc=()=>x.jsx("svg",{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M9 3L3 9M3 3L9 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),An=z.forwardRef(({variant:s="default",size:e="md",dot:t,onRemove:a,className:i,children:r,...n},o)=>x.jsxs("span",{ref:o,className:ne(ea.badge,ea[s],ea[e],i),...n,children:[t&&x.jsx("span",{className:ea.dot}),r,a&&x.jsx("button",{type:"button",className:ea.removeButton,onClick:a,"aria-label":"Remove",children:x.jsx(lc,{})})]}));An.displayName="Badge";const Je={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",paragraph:"paragraph",small:"small",caption:"caption"},Sn={light:"light",regular:"regular",medium:"medium",semibold:"semibold",bold:"bold"},cc="_typography_1hfe0_1",hc="_h1_1hfe0_7",dc="_h2_1hfe0_11",uc="_h3_1hfe0_15",gc="_h4_1hfe0_19",fc="_paragraph_1hfe0_23",pc="_small_1hfe0_28",xc="_caption_1hfe0_33",mc="_light_1hfe0_38",vc="_regular_1hfe0_42",bc="_medium_1hfe0_46",yc="_semibold_1hfe0_50",wc="_bold_1hfe0_54",Cc="_primary_1hfe0_58",kc="_secondary_1hfe0_62",Ac="_tertiary_1hfe0_66",Sc="_success_1hfe0_70",Mc="_warning_1hfe0_74",Ic="_error_1hfe0_78",Lc="_muted_1hfe0_82",La={typography:cc,h1:hc,h2:dc,h3:uc,h4:gc,paragraph:fc,small:pc,caption:xc,light:mc,regular:vc,medium:bc,semibold:yc,bold:wc,primary:Cc,secondary:kc,tertiary:Ac,success:Sc,warning:Mc,error:Ic,muted:Lc},Rc={[Je.h1]:"h1",[Je.h2]:"h2",[Je.h3]:"h3",[Je.h4]:"h4",[Je.h5]:"h5",[Je.h6]:"h6",[Je.paragraph]:"p",[Je.small]:"p",[Je.caption]:"span"},Pt=({variant:s=Je.paragraph,weight:e=Sn.regular,color:t,component:a,className:i,children:r,...n})=>{const o=a||Rc[s]||"p";return x.jsx(o,{className:ne(La.typography,La[s],La[e],t&&La[t],i),...n,children:r})},_c="_box_15gd2_1",Pc="_header_15gd2_10",zc="_actions_15gd2_17",Oc="_content_15gd2_23",Hc="_footer_15gd2_27",ta={box:_c,header:Pc,actions:zc,content:Oc,footer:Hc},Tc=s=>{const{title:e,children:t,actions:a,footer:i}=s;return x.jsxs("div",{className:ta.box,children:[x.jsxs("div",{className:ta.header,children:[e&&x.jsx(Pt,{variant:"h2",weight:"bold",children:e}),x.jsx("div",{className:ta.actions,children:a})]}),x.jsx("div",{className:ta.content,children:t}),i&&x.jsx("div",{className:ta.footer,children:i})]})},Za={xs:"xs",sm:"sm",md:"md",lg:"lg"},jc="_loader_1d1ld_1",Ec="_spin_1d1ld_1",Dc="_sm_1d1ld_8",Fc="_md_1d1ld_12",Bc="_lg_1d1ld_17",dr={loader:jc,spin:Ec,sm:Dc,md:Fc,lg:Bc},di=s=>{const{size:e=Za.sm}=s;return x.jsx("span",{className:ne(dr.loader,dr[e])})},Mn={primary:"primary",secondary:"secondary",tertiary:"tertiary",muted:"muted",menu:"menu",success:"success",warning:"warning",error:"error"},Nc="_button_1wc6w_1",Vc="_xs_1wc6w_19",Xc="_sm_1wc6w_25",Yc="_lg_1wc6w_30",Wc="_textCenter_1wc6w_34",Gc="_loading_1wc6w_37",$c="_primary_1wc6w_55",Uc="_secondary_1wc6w_68",qc="_tertiary_1wc6w_81",Zc="_menu_1wc6w_93",Kc="_circle_1wc6w_105",Jc="_active_1wc6w_125",Qc="_success_1wc6w_133",eh="_warning_1wc6w_146",th="_error_1wc6w_159",ah="_fullWidth_1wc6w_173",pt={button:Nc,xs:Vc,sm:Xc,lg:Yc,textCenter:Wc,loading:Gc,primary:$c,secondary:Uc,tertiary:qc,menu:Zc,circle:Kc,active:Jc,success:Qc,warning:eh,error:th,fullWidth:ah},ih=s=>{const{className:e,label:t,prefix:a,suffix:i,color:r=Mn.primary,size:n=Za.md,disabled:o,isLoading:l,onClick:c,ariaLabel:h,isFullWidth:d,isActive:u,isCircle:g,isHiddenLabel:p,type:f="button",as:m,...v}=s,b=m||"button",w={className:ne(pt.button,pt[r],pt[n],e,{[pt.loading]:l,[pt.fullWidth]:d,[pt.active]:u,[pt.circle]:g,[pt.textCenter]:!a&&!i}),onClick:c,"aria-label":t||h,...v},k=m?{}:{type:f,role:"button",disabled:l||o};return x.jsxs(b,{...w,...k,children:[a,!p&&t,i,l&&x.jsx(di,{size:Za.sm})]})},sh="_card_n3fbj_1",rh="_outlined_n3fbj_15",nh="_elevated_n3fbj_19",oh="_header_n3fbj_27",lh="_body_n3fbj_34",ch="_footer_n3fbj_44",ca={card:sh,default:"_default_n3fbj_11",outlined:rh,elevated:nh,header:oh,body:lh,footer:ch},In=z.forwardRef(({variant:s="default",className:e,children:t,...a},i)=>x.jsx("div",{ref:i,className:ne(ca.card,ca[s],e),...a,children:t}));In.displayName="Card";const Ln=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("div",{ref:a,className:ne(ca.header,s),...t,children:e}));Ln.displayName="Card.Header";const Rn=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("div",{ref:a,className:ne(ca.body,s),...t,children:e}));Rn.displayName="Card.Body";const _n=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("div",{ref:a,className:ne(ca.footer,s),...t,children:e}));_n.displayName="Card.Footer";const ts=Object.assign(In,{Header:Ln,Body:Rn,Footer:_n});function as(s,e){(e==null||e>s.length)&&(e=s.length);for(var t=0,a=Array(e);t<e;t++)a[t]=s[t];return a}function Pn(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function N(s,e){if(!(s instanceof e))throw new TypeError("Cannot call a class as a function")}function ur(s,e){for(var t=0;t<e.length;t++){var a=e[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,Hn(a.key),a)}}function V(s,e,t){return e&&ur(s.prototype,e),t&&ur(s,t),Object.defineProperty(s,"prototype",{writable:!1}),s}function ra(s,e){var t=typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(!t){if(Array.isArray(s)||(t=zs(s))||e){t&&(s=t);var a=0,i=function(){};return{s:i,n:function(){return a>=s.length?{done:!0}:{done:!1,value:s[a++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,n=!0,o=!1;return{s:function(){t=t.call(s)},n:function(){var l=t.next();return n=l.done,l},e:function(l){o=!0,r=l},f:function(){try{n||t.return==null||t.return()}finally{if(o)throw r}}}}function ya(s){var e=zn();return function(){var t,a=Ja(s);if(e){var i=Ja(this).constructor;t=Reflect.construct(a,arguments,i)}else t=a.apply(this,arguments);return(function(r,n){if(n&&(typeof n=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pn(r)})(this,t)}}function Ka(s,e,t){return(e=Hn(e))in s?Object.defineProperty(s,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[e]=t,s}function Ja(s){return Ja=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ja(s)}function wa(s,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(e&&e.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),e&&is(s,e)}function zn(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(zn=function(){return!!s})()}function gr(s,e){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(s);e&&(a=a.filter((function(i){return Object.getOwnPropertyDescriptor(s,i).enumerable}))),t.push.apply(t,a)}return t}function F(s){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?gr(Object(t),!0).forEach((function(a){Ka(s,a,t[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(t)):gr(Object(t)).forEach((function(a){Object.defineProperty(s,a,Object.getOwnPropertyDescriptor(t,a))}))}return s}function is(s,e){return is=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,a){return t.__proto__=a,t},is(s,e)}function On(s,e){return(function(t){if(Array.isArray(t))return t})(s)||(function(t,a){var i=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var r,n,o,l,c=[],h=!0,d=!1;try{if(o=(i=i.call(t)).next,a===0){if(Object(i)!==i)return;h=!1}else for(;!(h=(r=o.call(i)).done)&&(c.push(r.value),c.length!==a);h=!0);}catch(u){d=!0,n=u}finally{try{if(!h&&i.return!=null&&(l=i.return(),Object(l)!==l))return}finally{if(d)throw n}}return c}})(s,e)||zs(s,e)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Re(s){return(function(e){if(Array.isArray(e))return as(e)})(s)||(function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)})(s)||zs(s)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Hn(s){var e=(function(t,a){if(typeof t!="object"||!t)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var r=i.call(t,a);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(t)})(s,"string");return typeof e=="symbol"?e:e+""}function je(s){return je=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},je(s)}function zs(s,e){if(s){if(typeof s=="string")return as(s,e);var t={}.toString.call(s).slice(8,-1);return t==="Object"&&s.constructor&&(t=s.constructor.name),t==="Map"||t==="Set"?Array.from(s):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?as(s,e):void 0}}var L=(function(){function s(){N(this,s)}return V(s,[{key:"shadeRGBColor",value:function(e,t){var a=t.split(","),i=e<0?0:255,r=e<0?-1*e:e,n=parseInt(a[0].slice(4),10),o=parseInt(a[1],10),l=parseInt(a[2],10);return"rgb("+(Math.round((i-n)*r)+n)+","+(Math.round((i-o)*r)+o)+","+(Math.round((i-l)*r)+l)+")"}},{key:"shadeHexColor",value:function(e,t){var a=parseInt(t.slice(1),16),i=e<0?0:255,r=e<0?-1*e:e,n=a>>16,o=a>>8&255,l=255&a;return"#"+(16777216+65536*(Math.round((i-n)*r)+n)+256*(Math.round((i-o)*r)+o)+(Math.round((i-l)*r)+l)).toString(16).slice(1)}},{key:"shadeColor",value:function(e,t){return s.isColorHex(t)?this.shadeHexColor(e,t):this.shadeRGBColor(e,t)}}],[{key:"bind",value:function(e,t){return function(){return e.apply(t,arguments)}}},{key:"isObject",value:function(e){return e&&je(e)==="object"&&!Array.isArray(e)&&e!=null}},{key:"is",value:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"listToArray",value:function(e){var t,a=[];for(t=0;t<e.length;t++)a[t]=e[t];return a}},{key:"extend",value:function(e,t){var a=this;typeof Object.assign!="function"&&(Object.assign=function(r){if(r==null)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(r),o=1;o<arguments.length;o++){var l=arguments[o];if(l!=null)for(var c in l)l.hasOwnProperty(c)&&(n[c]=l[c])}return n});var i=Object.assign({},e);return this.isObject(e)&&this.isObject(t)&&Object.keys(t).forEach((function(r){a.isObject(t[r])&&r in e?i[r]=a.extend(e[r],t[r]):Object.assign(i,Ka({},r,t[r]))})),i}},{key:"extendArray",value:function(e,t){var a=[];return e.map((function(i){a.push(s.extend(t,i))})),e=a}},{key:"monthMod",value:function(e){return e%12}},{key:"clone",value:function(e){var t,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e===null||je(e)!=="object")return e;if(a.has(e))return a.get(e);if(Array.isArray(e)){t=[],a.set(e,t);for(var i=0;i<e.length;i++)t[i]=this.clone(e[i],a)}else if(e instanceof Date)t=new Date(e.getTime());else for(var r in t={},a.set(e,t),e)e.hasOwnProperty(r)&&(t[r]=this.clone(e[r],a));return t}},{key:"log10",value:function(e){return Math.log(e)/Math.LN10}},{key:"roundToBase10",value:function(e){return Math.pow(10,Math.floor(Math.log10(e)))}},{key:"roundToBase",value:function(e,t){return Math.pow(t,Math.floor(Math.log(e)/Math.log(t)))}},{key:"parseNumber",value:function(e){return typeof e=="number"||e===null?e:parseFloat(e)}},{key:"stripNumber",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Number.isInteger(e)?e:parseFloat(e.toPrecision(t))}},{key:"randomId",value:function(){return(Math.random()+1).toString(36).substring(4)}},{key:"noExponents",value:function(e){return e.toString().includes("e")?Math.round(e):e}},{key:"elementExists",value:function(e){return!(!e||!e.isConnected)}},{key:"isInShadowDOM",value:function(e){if(!e||!e.getRootNode)return!1;var t=e.getRootNode();return t&&t!==document&&s.is("ShadowRoot",t)}},{key:"getShadowRootHost",value:function(e){return s.isInShadowDOM(e)&&e.getRootNode().host||null}},{key:"getDimensions",value:function(e){if(!e)return[0,0];var t,a=e.getRootNode&&e.getRootNode();if(a&&a!==document&&a.host){var i=a.host.getBoundingClientRect();return[i.width,i.height]}try{t=getComputedStyle(e,null)}catch{return[e.clientWidth||0,e.clientHeight||0]}var r=e.clientHeight,n=e.clientWidth;return r-=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),[n-=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),r]}},{key:"getBoundingClientRect",value:function(e){if(!e)return{top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0};var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:e.clientWidth,height:e.clientHeight,x:t.left,y:t.top}}},{key:"getLargestStringFromArr",value:function(e){return e.reduce((function(t,a){return Array.isArray(a)&&(a=a.reduce((function(i,r){return i.length>r.length?i:r}))),t.length>a.length?t:a}),0)}},{key:"hexToRgba",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"#999999",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.6;e.substring(0,1)!=="#"&&(e="#999999");var a=e.replace("#","");a=a.match(new RegExp("(.{"+a.length/3+"})","g"));for(var i=0;i<a.length;i++)a[i]=parseInt(a[i].length===1?a[i]+a[i]:a[i],16);return t!==void 0&&a.push(t),"rgba("+a.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(e){return parseFloat(e.replace(/^.*,(.+)\)/,"$1"))}},{key:"rgb2hex",value:function(e){return(e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&e.length===4?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)/i.test(e)}},{key:"getPolygonPos",value:function(e,t){for(var a=[],i=2*Math.PI/t,r=0;r<t;r++){var n={};n.x=e*Math.sin(r*i),n.y=-e*Math.cos(r*i),a.push(n)}return a}},{key:"polarToCartesian",value:function(e,t,a,i){var r=(i-90)*Math.PI/180;return{x:e+a*Math.cos(r),y:t+a*Math.sin(r)}}},{key:"escapeString",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x",a=e.toString().slice();return a=a.replace(/[` ~!@#$%^&*()|+\=?;:'",.<>{}[\]\\/]/gi,t)}},{key:"negToZero",value:function(e){return e<0?0:e}},{key:"moveIndexInArray",value:function(e,t,a){if(a>=e.length)for(var i=a-e.length+1;i--;)e.push(void 0);return e.splice(a,0,e.splice(t,1)[0]),e}},{key:"extractNumber",value:function(e){return parseFloat(e.replace(/[^\d.]*/g,""))}},{key:"findAncestor",value:function(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}},{key:"setELstyles",value:function(e,t){for(var a in t)t.hasOwnProperty(a)&&(e.style.key=t[a])}},{key:"preciseAddition",value:function(e,t){var a=(String(e).split(".")[1]||"").length,i=(String(t).split(".")[1]||"").length,r=Math.pow(10,Math.max(a,i));return(Math.round(e*r)+Math.round(t*r))/r}},{key:"isNumber",value:function(e){return!isNaN(e)&&parseFloat(Number(e))===e&&!isNaN(parseInt(e,10))}},{key:"isFloat",value:function(e){return Number(e)===e&&e%1!=0}},{key:"isMsEdge",value:function(){var e=window.navigator.userAgent,t=e.indexOf("Edge/");return t>0&&parseInt(e.substring(t+5,e.indexOf(".",t)),10)}},{key:"getGCD",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:7,i=Math.pow(10,a-Math.floor(Math.log10(Math.max(e,t))));for(i>1?(e=Math.round(Math.abs(e)*i),t=Math.round(Math.abs(t)*i)):i=1;t;){var r=t;t=e%t,e=r}return e/i}},{key:"getPrimeFactors",value:function(e){for(var t=[],a=2;e>=2;)e%a==0?(t.push(a),e/=a):a++;return t}},{key:"mod",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:7,i=Math.pow(10,a-Math.floor(Math.log10(Math.max(e,t))));return(e=Math.round(Math.abs(e)*i))%(t=Math.round(Math.abs(t)*i))/i}}]),s})(),Ut=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"animateLine",value:function(e,t,a,i){e.attr(t).animate(i).attr(a)}},{key:"animateMarker",value:function(e,t,a,i){e.attr({opacity:0}).animate(t).attr({opacity:1}).after((function(){i()}))}},{key:"animateRect",value:function(e,t,a,i,r){e.attr(t).animate(i).attr(a).after((function(){return r()}))}},{key:"animatePathsGradually",value:function(e){var t=e.el,a=e.realIndex,i=e.j,r=e.fill,n=e.pathFrom,o=e.pathTo,l=e.speed,c=e.delay,h=this.w,d=0;h.config.chart.animations.animateGradually.enabled&&(d=h.config.chart.animations.animateGradually.delay),h.config.chart.animations.dynamicAnimation.enabled&&h.globals.dataChanged&&h.config.chart.type!=="bar"&&(d=0),this.morphSVG(t,a,i,h.config.chart.type!=="line"||h.globals.comboCharts?r:"stroke",n,o,l,c*d)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach((function(e){var t=e.el;t.classList.remove("apexcharts-element-hidden"),t.classList.add("apexcharts-hidden-element-shown")}))}},{key:"animationCompleted",value:function(e){var t=this.w;t.globals.animationEnded||(t.globals.animationEnded=!0,this.showDelayedElements(),typeof t.config.chart.events.animationEnd=="function"&&t.config.chart.events.animationEnd(this.ctx,{el:e,w:t}))}},{key:"morphSVG",value:function(e,t,a,i,r,n,o,l){var c=this,h=this.w;r||(r=e.attr("pathFrom")),n||(n=e.attr("pathTo"));var d=function(u){return h.config.chart.type==="radar"&&(o=1),"M 0 ".concat(h.globals.gridHeight)};(!r||r.indexOf("undefined")>-1||r.indexOf("NaN")>-1)&&(r=d()),(!n.trim()||n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n=d()),h.globals.shouldAnimate||(o=1),e.plot(r).animate(1,l).plot(r).animate(o,l).plot(n).after((function(){L.isNumber(a)?a===h.globals.series[h.globals.maxValsInArrayIndex].length-2&&h.globals.shouldAnimate&&c.animationCompleted(e):i!=="none"&&h.globals.shouldAnimate&&(!h.globals.comboCharts&&t===h.globals.series.length-1||h.globals.comboCharts)&&c.animationCompleted(e),c.showDelayedElements()}))}}]),s})();const ss={},Tn=[];function se(s,e){if(Array.isArray(s))for(const t of s)se(t,e);else if(typeof s!="object")jn(Object.getOwnPropertyNames(e)),ss[s]=Object.assign(ss[s]||{},e);else for(const t in s)se(t,s[t])}function Fe(s){return ss[s]||{}}function jn(s){Tn.push(...s)}function Os(s,e){let t;const a=s.length,i=[];for(t=0;t<a;t++)i.push(e(s[t]));return i}function yi(s){return s%360*Math.PI/180}function qt(s){return s.charAt(0).toUpperCase()+s.slice(1)}function Zt(s,e,t,a){return e!=null&&t!=null||(a=a||s.bbox(),e==null?e=a.width/a.height*t:t==null&&(t=a.height/a.width*e)),{width:e,height:t}}function rs(s,e){const t=s.origin;let a=s.ox!=null?s.ox:s.originX!=null?s.originX:"center",i=s.oy!=null?s.oy:s.originY!=null?s.originY:"center";t!=null&&([a,i]=Array.isArray(t)?t:typeof t=="object"?[t.x,t.y]:[t,t]);const r=typeof a=="string",n=typeof i=="string";if(r||n){const{height:o,width:l,x:c,y:h}=e.bbox();r&&(a=a.includes("left")?c:a.includes("right")?c+l:c+l/2),n&&(i=i.includes("top")?h:i.includes("bottom")?h+o:h+o/2)}return[a,i]}const hh=new Set(["desc","metadata","title"]),ns=s=>hh.has(s.nodeName),En=(s,e,t={})=>{const a={...e};for(const i in a)a[i].valueOf()===t[i]&&delete a[i];Object.keys(a).length?s.node.setAttribute("data-svgjs",JSON.stringify(a)):(s.node.removeAttribute("data-svgjs"),s.node.removeAttribute("svgjs:data"))},Hs="http://www.w3.org/2000/svg",wi="http://www.w3.org/2000/xmlns/",Kt="http://www.w3.org/1999/xlink",le={window:typeof window>"u"?null:window,document:typeof document>"u"?null:document};function Ca(){return le.window}let Ts=class{};const _t={},js="___SYMBOL___ROOT___";function ha(s,e=Hs){return le.document.createElementNS(e,s)}function Ee(s,e=!1){if(s instanceof Ts)return s;if(typeof s=="object")return Ci(s);if(s==null)return new _t[js];if(typeof s=="string"&&s.charAt(0)!=="<")return Ci(le.document.querySelector(s));const t=e?le.document.createElement("div"):ha("svg");return t.innerHTML=s,s=Ci(t.firstChild),t.removeChild(t.firstChild),s}function be(s,e){return e&&(e instanceof le.window.Node||e.ownerDocument&&e instanceof e.ownerDocument.defaultView.Node)?e:ha(s)}function Ue(s){if(!s)return null;if(s.instance instanceof Ts)return s.instance;if(s.nodeName==="#document-fragment")return new _t.Fragment(s);let e=qt(s.nodeName||"Dom");return e==="LinearGradient"||e==="RadialGradient"?e="Gradient":_t[e]||(e="Dom"),new _t[e](s)}let Ci=Ue;function ce(s,e=s.name,t=!1){return _t[e]=s,t&&(_t[js]=s),jn(Object.getOwnPropertyNames(s.prototype)),s}let dh=1e3;function Dn(s){return"Svgjs"+qt(s)+dh++}function Fn(s){for(let e=s.children.length-1;e>=0;e--)Fn(s.children[e]);return s.id&&(s.id=Dn(s.nodeName)),s}function q(s,e){let t,a;for(a=(s=Array.isArray(s)?s:[s]).length-1;a>=0;a--)for(t in e)s[a].prototype[t]=e[t]}function ve(s){return function(...e){const t=e[e.length-1];return!t||t.constructor!==Object||t instanceof Array?s.apply(this,e):s.apply(this,e.slice(0,-1)).attr(t)}}se("Dom",{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},prev:function(){return this.siblings()[this.position()-1]},forward:function(){const s=this.position();return this.parent().add(this.remove(),s+1),this},backward:function(){const s=this.position();return this.parent().add(this.remove(),s?s-1:0),this},front:function(){return this.parent().add(this.remove()),this},back:function(){return this.parent().add(this.remove(),0),this},before:function(s){(s=Ee(s)).remove();const e=this.position();return this.parent().add(s,e),this},after:function(s){(s=Ee(s)).remove();const e=this.position();return this.parent().add(s,e+1),this},insertBefore:function(s){return(s=Ee(s)).before(this),this},insertAfter:function(s){return(s=Ee(s)).after(this),this}});const Bn=/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,uh=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,gh=/rgb\((\d+),(\d+),(\d+)\)/,fh=/(#[a-z_][a-z0-9\-_]*)/i,ph=/\)\s*,?\s*/,xh=/\s/g,fr=/^#[a-f0-9]{3}$|^#[a-f0-9]{6}$/i,pr=/^rgb\(/,xr=/^(\s+)?$/,mr=/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,mh=/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,dt=/[\s,]+/,Es=/[MLHVCSQTAZ]/i;function vh(s){const e=Math.round(s),t=Math.max(0,Math.min(255,e)).toString(16);return t.length===1?"0"+t:t}function Et(s,e){for(let t=e.length;t--;)if(s[e[t]]==null)return!1;return!0}function ki(s,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?s+6*(e-s)*t:t<.5?e:t<2/3?s+(e-s)*(2/3-t)*6:s}se("Dom",{classes:function(){const s=this.attr("class");return s==null?[]:s.trim().split(dt)},hasClass:function(s){return this.classes().indexOf(s)!==-1},addClass:function(s){if(!this.hasClass(s)){const e=this.classes();e.push(s),this.attr("class",e.join(" "))}return this},removeClass:function(s){return this.hasClass(s)&&this.attr("class",this.classes().filter((function(e){return e!==s})).join(" ")),this},toggleClass:function(s){return this.hasClass(s)?this.removeClass(s):this.addClass(s)}}),se("Dom",{css:function(s,e){const t={};if(arguments.length===0)return this.node.style.cssText.split(/\s*;\s*/).filter((function(a){return!!a.length})).forEach((function(a){const i=a.split(/\s*:\s*/);t[i[0]]=i[1]})),t;if(arguments.length<2){if(Array.isArray(s)){for(const a of s){const i=a;t[a]=this.node.style.getPropertyValue(i)}return t}if(typeof s=="string")return this.node.style.getPropertyValue(s);if(typeof s=="object")for(const a in s)this.node.style.setProperty(a,s[a]==null||xr.test(s[a])?"":s[a])}return arguments.length===2&&this.node.style.setProperty(s,e==null||xr.test(e)?"":e),this},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},visible:function(){return this.css("display")!=="none"}}),se("Dom",{data:function(s,e,t){if(s==null)return this.data(Os((function(a,i){let r;const n=a.length,o=[];for(r=0;r<n;r++)i(a[r])&&o.push(a[r]);return o})(this.node.attributes,(a=>a.nodeName.indexOf("data-")===0)),(a=>a.nodeName.slice(5))));if(s instanceof Array){const a={};for(const i of s)a[i]=this.data(i);return a}if(typeof s=="object")for(e in s)this.data(e,s[e]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+s))}catch{return this.attr("data-"+s)}else this.attr("data-"+s,e===null?null:t===!0||typeof e=="string"||typeof e=="number"?e:JSON.stringify(e));return this}}),se("Dom",{remember:function(s,e){if(typeof arguments[0]=="object")for(const t in s)this.remember(t,s[t]);else{if(arguments.length===1)return this.memory()[s];this.memory()[s]=e}return this},forget:function(){if(arguments.length===0)this._memory={};else for(let s=arguments.length-1;s>=0;s--)delete this.memory()[arguments[s]];return this},memory:function(){return this._memory=this._memory||{}}});class me{constructor(...e){this.init(...e)}static isColor(e){return e&&(e instanceof me||this.isRgb(e)||this.test(e))}static isRgb(e){return e&&typeof e.r=="number"&&typeof e.g=="number"&&typeof e.b=="number"}static random(e="vibrant",t){const{random:a,round:i,sin:r,PI:n}=Math;if(e==="vibrant"){const o=24*a()+57,l=38*a()+45,c=360*a();return new me(o,l,c,"lch")}if(e==="sine"){const o=i(80*r(2*n*(t=t??a())/.5+.01)+150),l=i(50*r(2*n*t/.5+4.6)+200),c=i(100*r(2*n*t/.5+2.3)+150);return new me(o,l,c)}if(e==="pastel"){const o=8*a()+86,l=17*a()+9,c=360*a();return new me(o,l,c,"lch")}if(e==="dark"){const o=10+10*a(),l=50*a()+86,c=360*a();return new me(o,l,c,"lch")}if(e==="rgb"){const o=255*a(),l=255*a(),c=255*a();return new me(o,l,c)}if(e==="lab"){const o=100*a(),l=256*a()-128,c=256*a()-128;return new me(o,l,c,"lab")}if(e==="grey"){const o=255*a();return new me(o,o,o)}throw new Error("Unsupported random color mode")}static test(e){return typeof e=="string"&&(fr.test(e)||pr.test(e))}cmyk(){const{_a:e,_b:t,_c:a}=this.rgb(),[i,r,n]=[e,t,a].map((l=>l/255)),o=Math.min(1-i,1-r,1-n);return o===1?new me(0,0,0,1,"cmyk"):new me((1-i-o)/(1-o),(1-r-o)/(1-o),(1-n-o)/(1-o),o,"cmyk")}hsl(){const{_a:e,_b:t,_c:a}=this.rgb(),[i,r,n]=[e,t,a].map((u=>u/255)),o=Math.max(i,r,n),l=Math.min(i,r,n),c=(o+l)/2,h=o===l,d=o-l;return new me(360*(h?0:o===i?((r-n)/d+(r<n?6:0))/6:o===r?((n-i)/d+2)/6:o===n?((i-r)/d+4)/6:0),100*(h?0:c>.5?d/(2-o-l):d/(o+l)),100*c,"hsl")}init(e=0,t=0,a=0,i=0,r="rgb"){if(e=e||0,this.space)for(const d in this.space)delete this[this.space[d]];if(typeof e=="number")r=typeof i=="string"?i:r,i=typeof i=="string"?0:i,Object.assign(this,{_a:e,_b:t,_c:a,_d:i,space:r});else if(e instanceof Array)this.space=t||(typeof e[3]=="string"?e[3]:e[4])||"rgb",Object.assign(this,{_a:e[0],_b:e[1],_c:e[2],_d:e[3]||0});else if(e instanceof Object){const d=(function(u,g){const p=Et(u,"rgb")?{_a:u.r,_b:u.g,_c:u.b,_d:0,space:"rgb"}:Et(u,"xyz")?{_a:u.x,_b:u.y,_c:u.z,_d:0,space:"xyz"}:Et(u,"hsl")?{_a:u.h,_b:u.s,_c:u.l,_d:0,space:"hsl"}:Et(u,"lab")?{_a:u.l,_b:u.a,_c:u.b,_d:0,space:"lab"}:Et(u,"lch")?{_a:u.l,_b:u.c,_c:u.h,_d:0,space:"lch"}:Et(u,"cmyk")?{_a:u.c,_b:u.m,_c:u.y,_d:u.k,space:"cmyk"}:{_a:0,_b:0,_c:0,space:"rgb"};return p.space=g||p.space,p})(e,t);Object.assign(this,d)}else if(typeof e=="string")if(pr.test(e)){const d=e.replace(xh,""),[u,g,p]=gh.exec(d).slice(1,4).map((f=>parseInt(f)));Object.assign(this,{_a:u,_b:g,_c:p,_d:0,space:"rgb"})}else{if(!fr.test(e))throw Error("Unsupported string format, can't construct Color");{const d=f=>parseInt(f,16),[,u,g,p]=uh.exec((function(f){return f.length===4?["#",f.substring(1,2),f.substring(1,2),f.substring(2,3),f.substring(2,3),f.substring(3,4),f.substring(3,4)].join(""):f})(e)).map(d);Object.assign(this,{_a:u,_b:g,_c:p,_d:0,space:"rgb"})}}const{_a:n,_b:o,_c:l,_d:c}=this,h=this.space==="rgb"?{r:n,g:o,b:l}:this.space==="xyz"?{x:n,y:o,z:l}:this.space==="hsl"?{h:n,s:o,l}:this.space==="lab"?{l:n,a:o,b:l}:this.space==="lch"?{l:n,c:o,h:l}:this.space==="cmyk"?{c:n,m:o,y:l,k:c}:{};Object.assign(this,h)}lab(){const{x:e,y:t,z:a}=this.xyz();return new me(116*t-16,500*(e-t),200*(t-a),"lab")}lch(){const{l:e,a:t,b:a}=this.lab(),i=Math.sqrt(t**2+a**2);let r=180*Math.atan2(a,t)/Math.PI;return r<0&&(r*=-1,r=360-r),new me(e,i,r,"lch")}rgb(){if(this.space==="rgb")return this;if((e=this.space)==="lab"||e==="xyz"||e==="lch"){let{x:t,y:a,z:i}=this;if(this.space==="lab"||this.space==="lch"){let{l:g,a:p,b:f}=this;if(this.space==="lch"){const{c:A,h:C}=this,S=Math.PI/180;p=A*Math.cos(S*C),f=A*Math.sin(S*C)}const m=(g+16)/116,v=p/500+m,b=m-f/200,w=16/116,k=.008856,y=7.787;t=.95047*(v**3>k?v**3:(v-w)/y),a=1*(m**3>k?m**3:(m-w)/y),i=1.08883*(b**3>k?b**3:(b-w)/y)}const r=3.2406*t+-1.5372*a+-.4986*i,n=-.9689*t+1.8758*a+.0415*i,o=.0557*t+-.204*a+1.057*i,l=Math.pow,c=.0031308,h=r>c?1.055*l(r,1/2.4)-.055:12.92*r,d=n>c?1.055*l(n,1/2.4)-.055:12.92*n,u=o>c?1.055*l(o,1/2.4)-.055:12.92*o;return new me(255*h,255*d,255*u)}if(this.space==="hsl"){let{h:t,s:a,l:i}=this;if(t/=360,a/=100,i/=100,a===0)return i*=255,new me(i,i,i);const r=i<.5?i*(1+a):i+a-i*a,n=2*i-r,o=255*ki(n,r,t+1/3),l=255*ki(n,r,t),c=255*ki(n,r,t-1/3);return new me(o,l,c)}if(this.space==="cmyk"){const{c:t,m:a,y:i,k:r}=this,n=255*(1-Math.min(1,t*(1-r)+r)),o=255*(1-Math.min(1,a*(1-r)+r)),l=255*(1-Math.min(1,i*(1-r)+r));return new me(n,o,l)}return this;var e}toArray(){const{_a:e,_b:t,_c:a,_d:i,space:r}=this;return[e,t,a,i,r]}toHex(){const[e,t,a]=this._clamped().map(vh);return`#${e}${t}${a}`}toRgb(){const[e,t,a]=this._clamped();return`rgb(${e},${t},${a})`}toString(){return this.toHex()}xyz(){const{_a:e,_b:t,_c:a}=this.rgb(),[i,r,n]=[e,t,a].map((m=>m/255)),o=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,l=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,c=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,h=(.4124*o+.3576*l+.1805*c)/.95047,d=(.2126*o+.7152*l+.0722*c)/1,u=(.0193*o+.1192*l+.9505*c)/1.08883,g=h>.008856?Math.pow(h,1/3):7.787*h+16/116,p=d>.008856?Math.pow(d,1/3):7.787*d+16/116,f=u>.008856?Math.pow(u,1/3):7.787*u+16/116;return new me(g,p,f,"xyz")}_clamped(){const{_a:e,_b:t,_c:a}=this.rgb(),{max:i,min:r,round:n}=Math;return[e,t,a].map((o=>i(0,r(n(o),255))))}}class ge{constructor(...e){this.init(...e)}clone(){return new ge(this)}init(e,t){const r=Array.isArray(e)?{x:e[0],y:e[1]}:typeof e=="object"?{x:e.x,y:e.y}:{x:e,y:t};return this.x=r.x==null?0:r.x,this.y=r.y==null?0:r.y,this}toArray(){return[this.x,this.y]}transform(e){return this.clone().transformO(e)}transformO(e){G.isMatrixLike(e)||(e=new G(e));const{x:t,y:a}=this;return this.x=e.a*t+e.c*a+e.e,this.y=e.b*t+e.d*a+e.f,this}}function Dt(s,e,t){return Math.abs(e-s)<1e-6}class G{constructor(...e){this.init(...e)}static formatTransforms(e){const t=e.flip==="both"||e.flip===!0,a=e.flip&&(t||e.flip==="x")?-1:1,i=e.flip&&(t||e.flip==="y")?-1:1,r=e.skew&&e.skew.length?e.skew[0]:isFinite(e.skew)?e.skew:isFinite(e.skewX)?e.skewX:0,n=e.skew&&e.skew.length?e.skew[1]:isFinite(e.skew)?e.skew:isFinite(e.skewY)?e.skewY:0,o=e.scale&&e.scale.length?e.scale[0]*a:isFinite(e.scale)?e.scale*a:isFinite(e.scaleX)?e.scaleX*a:a,l=e.scale&&e.scale.length?e.scale[1]*i:isFinite(e.scale)?e.scale*i:isFinite(e.scaleY)?e.scaleY*i:i,c=e.shear||0,h=e.rotate||e.theta||0,d=new ge(e.origin||e.around||e.ox||e.originX,e.oy||e.originY),u=d.x,g=d.y,p=new ge(e.position||e.px||e.positionX||NaN,e.py||e.positionY||NaN),f=p.x,m=p.y,v=new ge(e.translate||e.tx||e.translateX,e.ty||e.translateY),b=v.x,w=v.y,k=new ge(e.relative||e.rx||e.relativeX,e.ry||e.relativeY);return{scaleX:o,scaleY:l,skewX:r,skewY:n,shear:c,theta:h,rx:k.x,ry:k.y,tx:b,ty:w,ox:u,oy:g,px:f,py:m}}static fromArray(e){return{a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]}}static isMatrixLike(e){return e.a!=null||e.b!=null||e.c!=null||e.d!=null||e.e!=null||e.f!=null}static matrixMultiply(e,t,a){const i=e.a*t.a+e.c*t.b,r=e.b*t.a+e.d*t.b,n=e.a*t.c+e.c*t.d,o=e.b*t.c+e.d*t.d,l=e.e+e.a*t.e+e.c*t.f,c=e.f+e.b*t.e+e.d*t.f;return a.a=i,a.b=r,a.c=n,a.d=o,a.e=l,a.f=c,a}around(e,t,a){return this.clone().aroundO(e,t,a)}aroundO(e,t,a){const i=e||0,r=t||0;return this.translateO(-i,-r).lmultiplyO(a).translateO(i,r)}clone(){return new G(this)}decompose(e=0,t=0){const a=this.a,i=this.b,r=this.c,n=this.d,o=this.e,l=this.f,c=a*n-i*r,h=c>0?1:-1,d=h*Math.sqrt(a*a+i*i),u=Math.atan2(h*i,h*a),g=180/Math.PI*u,p=Math.cos(u),f=Math.sin(u),m=(a*r+i*n)/c,v=r*d/(m*a-i)||n*d/(m*i+a);return{scaleX:d,scaleY:v,shear:m,rotate:g,translateX:o-e+e*p*d+t*(m*p*d-f*v),translateY:l-t+e*f*d+t*(m*f*d+p*v),originX:e,originY:t,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}equals(e){if(e===this)return!0;const t=new G(e);return Dt(this.a,t.a)&&Dt(this.b,t.b)&&Dt(this.c,t.c)&&Dt(this.d,t.d)&&Dt(this.e,t.e)&&Dt(this.f,t.f)}flip(e,t){return this.clone().flipO(e,t)}flipO(e,t){return e==="x"?this.scaleO(-1,1,t,0):e==="y"?this.scaleO(1,-1,0,t):this.scaleO(-1,-1,e,t||e)}init(e){const t=G.fromArray([1,0,0,1,0,0]);return e=e instanceof He?e.matrixify():typeof e=="string"?G.fromArray(e.split(dt).map(parseFloat)):Array.isArray(e)?G.fromArray(e):typeof e=="object"&&G.isMatrixLike(e)?e:typeof e=="object"?new G().transform(e):arguments.length===6?G.fromArray([].slice.call(arguments)):t,this.a=e.a!=null?e.a:t.a,this.b=e.b!=null?e.b:t.b,this.c=e.c!=null?e.c:t.c,this.d=e.d!=null?e.d:t.d,this.e=e.e!=null?e.e:t.e,this.f=e.f!=null?e.f:t.f,this}inverse(){return this.clone().inverseO()}inverseO(){const e=this.a,t=this.b,a=this.c,i=this.d,r=this.e,n=this.f,o=e*i-t*a;if(!o)throw new Error("Cannot invert "+this);const l=i/o,c=-t/o,h=-a/o,d=e/o,u=-(l*r+h*n),g=-(c*r+d*n);return this.a=l,this.b=c,this.c=h,this.d=d,this.e=u,this.f=g,this}lmultiply(e){return this.clone().lmultiplyO(e)}lmultiplyO(e){const t=e instanceof G?e:new G(e);return G.matrixMultiply(t,this,this)}multiply(e){return this.clone().multiplyO(e)}multiplyO(e){const t=e instanceof G?e:new G(e);return G.matrixMultiply(this,t,this)}rotate(e,t,a){return this.clone().rotateO(e,t,a)}rotateO(e,t=0,a=0){e=yi(e);const i=Math.cos(e),r=Math.sin(e),{a:n,b:o,c:l,d:c,e:h,f:d}=this;return this.a=n*i-o*r,this.b=o*i+n*r,this.c=l*i-c*r,this.d=c*i+l*r,this.e=h*i-d*r+a*r-t*i+t,this.f=d*i+h*r-t*r-a*i+a,this}scale(){return this.clone().scaleO(...arguments)}scaleO(e,t=e,a=0,i=0){arguments.length===3&&(i=a,a=t,t=e);const{a:r,b:n,c:o,d:l,e:c,f:h}=this;return this.a=r*e,this.b=n*t,this.c=o*e,this.d=l*t,this.e=c*e-a*e+a,this.f=h*t-i*t+i,this}shear(e,t,a){return this.clone().shearO(e,t,a)}shearO(e,t=0,a=0){const{a:i,b:r,c:n,d:o,e:l,f:c}=this;return this.a=i+r*e,this.c=n+o*e,this.e=l+c*e-a*e,this}skew(){return this.clone().skewO(...arguments)}skewO(e,t=e,a=0,i=0){arguments.length===3&&(i=a,a=t,t=e),e=yi(e),t=yi(t);const r=Math.tan(e),n=Math.tan(t),{a:o,b:l,c,d:h,e:d,f:u}=this;return this.a=o+l*r,this.b=l+o*n,this.c=c+h*r,this.d=h+c*n,this.e=d+u*r-i*r,this.f=u+d*n-a*n,this}skewX(e,t,a){return this.skew(e,0,t,a)}skewY(e,t,a){return this.skew(0,e,t,a)}toArray(){return[this.a,this.b,this.c,this.d,this.e,this.f]}toString(){return"matrix("+this.a+","+this.b+","+this.c+","+this.d+","+this.e+","+this.f+")"}transform(e){if(G.isMatrixLike(e))return new G(e).multiplyO(this);const t=G.formatTransforms(e),{x:a,y:i}=new ge(t.ox,t.oy).transform(this),r=new G().translateO(t.rx,t.ry).lmultiplyO(this).translateO(-a,-i).scaleO(t.scaleX,t.scaleY).skewO(t.skewX,t.skewY).shearO(t.shear).rotateO(t.theta).translateO(a,i);if(isFinite(t.px)||isFinite(t.py)){const n=new ge(a,i).transform(r),o=isFinite(t.px)?t.px-n.x:0,l=isFinite(t.py)?t.py-n.y:0;r.translateO(o,l)}return r.translateO(t.tx,t.ty),r}translate(e,t){return this.clone().translateO(e,t)}translateO(e,t){return this.e+=e||0,this.f+=t||0,this}valueOf(){return{a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f}}}function vt(){if(!vt.nodes){const s=Ee().size(2,0);s.node.style.cssText=["opacity: 0","position: absolute","left: -100%","top: -100%","overflow: hidden"].join(";"),s.attr("focusable","false"),s.attr("aria-hidden","true");const e=s.path().node;vt.nodes={svg:s,path:e}}if(!vt.nodes.svg.node.parentNode){const s=le.document.body||le.document.documentElement;vt.nodes.svg.addTo(s)}return vt.nodes}function Nn(s){return!(s.width||s.height||s.x||s.y)}ce(G,"Matrix");class ke{constructor(...e){this.init(...e)}addOffset(){return this.x+=le.window.pageXOffset,this.y+=le.window.pageYOffset,new ke(this)}init(e){return e=typeof e=="string"?e.split(dt).map(parseFloat):Array.isArray(e)?e:typeof e=="object"?[e.left!=null?e.left:e.x,e.top!=null?e.top:e.y,e.width,e.height]:arguments.length===4?[].slice.call(arguments):[0,0,0,0],this.x=e[0]||0,this.y=e[1]||0,this.width=this.w=e[2]||0,this.height=this.h=e[3]||0,this.x2=this.x+this.w,this.y2=this.y+this.h,this.cx=this.x+this.w/2,this.cy=this.y+this.h/2,this}isNulled(){return Nn(this)}merge(e){const t=Math.min(this.x,e.x),a=Math.min(this.y,e.y),i=Math.max(this.x+this.width,e.x+e.width)-t,r=Math.max(this.y+this.height,e.y+e.height)-a;return new ke(t,a,i,r)}toArray(){return[this.x,this.y,this.width,this.height]}toString(){return this.x+" "+this.y+" "+this.width+" "+this.height}transform(e){e instanceof G||(e=new G(e));let t=1/0,a=-1/0,i=1/0,r=-1/0;return[new ge(this.x,this.y),new ge(this.x2,this.y),new ge(this.x,this.y2),new ge(this.x2,this.y2)].forEach((function(n){n=n.transform(e),t=Math.min(t,n.x),a=Math.max(a,n.x),i=Math.min(i,n.y),r=Math.max(r,n.y)})),new ke(t,i,a-t,r-i)}}function vr(s,e,t){let a;try{if(a=e(s.node),Nn(a)&&(i=s.node)!==le.document&&!(le.document.documentElement.contains||function(r){for(;r.parentNode;)r=r.parentNode;return r===le.document}).call(le.document.documentElement,i))throw new Error("Element not in the dom")}catch{a=t(s)}var i;return a}se({viewbox:{viewbox(s,e,t,a){return s==null?new ke(this.attr("viewBox")):this.attr("viewBox",new ke(s,e,t,a))},zoom(s,e){let{width:t,height:a}=this.attr(["width","height"]);if((t||a)&&typeof t!="string"&&typeof a!="string"||(t=this.node.clientWidth,a=this.node.clientHeight),!t||!a)throw new Error("Impossible to get absolute width and height. Please provide an absolute width and height attribute on the zooming element");const i=this.viewbox(),r=t/i.width,n=a/i.height,o=Math.min(r,n);if(s==null)return o;let l=o/s;l===1/0&&(l=Number.MAX_SAFE_INTEGER/100),e=e||new ge(t/2/r+i.x,a/2/n+i.y);const c=new ke(i).transform(new G({scale:l,origin:e}));return this.viewbox(c)}}}),ce(ke,"Box");class zt extends Array{constructor(e=[],...t){if(super(e,...t),typeof e=="number")return this;this.length=0,this.push(...e)}}q([zt],{each(s,...e){return typeof s=="function"?this.map(((t,a,i)=>s.call(t,t,a,i))):this.map((t=>t[s](...e)))},toArray(){return Array.prototype.concat.apply([],this)}});const bh=["toArray","constructor","each"];function jt(s,e){return new zt(Os((e||le.document).querySelectorAll(s),(function(t){return Ue(t)})))}zt.extend=function(s){s=s.reduce(((e,t)=>(bh.includes(t)||t[0]==="_"||(t in Array.prototype&&(e["$"+t]=Array.prototype[t]),e[t]=function(...a){return this.each(t,...a)}),e)),{}),q([zt],s)};let yh=0;const Vn={};function Xn(s){let e=s.getEventHolder();return e===le.window&&(e=Vn),e.events||(e.events={}),e.events}function Ds(s){return s.getEventTarget()}function lt(s,e,t,a,i){const r=t.bind(a||s),n=Ee(s),o=Xn(n),l=Ds(n);e=Array.isArray(e)?e:e.split(dt),t._svgjsListenerId||(t._svgjsListenerId=++yh),e.forEach((function(c){const h=c.split(".")[0],d=c.split(".")[1]||"*";o[h]=o[h]||{},o[h][d]=o[h][d]||{},o[h][d][t._svgjsListenerId]=r,l.addEventListener(h,r,i||!1)}))}function qe(s,e,t,a){const i=Ee(s),r=Xn(i),n=Ds(i);(typeof t!="function"||(t=t._svgjsListenerId))&&(e=Array.isArray(e)?e:(e||"").split(dt)).forEach((function(o){const l=o&&o.split(".")[0],c=o&&o.split(".")[1];let h,d;if(t)r[l]&&r[l][c||"*"]&&(n.removeEventListener(l,r[l][c||"*"][t],a||!1),delete r[l][c||"*"][t]);else if(l&&c){if(r[l]&&r[l][c]){for(d in r[l][c])qe(n,[l,c].join("."),d);delete r[l][c]}}else if(c)for(o in r)for(h in r[o])c===h&&qe(n,[o,c].join("."));else if(l){if(r[l]){for(h in r[l])qe(n,[l,h].join("."));delete r[l]}}else{for(o in r)qe(n,o);(function(u){let g=u.getEventHolder();g===le.window&&(g=Vn),g.events&&(g.events={})})(i)}}))}class ka extends Ts{addEventListener(){}dispatch(e,t,a){return(function(i,r,n,o){const l=Ds(i);return r instanceof le.window.Event||(r=new le.window.CustomEvent(r,{detail:n,cancelable:!0,...o})),l.dispatchEvent(r),r})(this,e,t,a)}dispatchEvent(e){const t=this.getEventHolder().events;if(!t)return!0;const a=t[e.type];for(const i in a)for(const r in a[i])a[i][r](e);return!e.defaultPrevented}fire(e,t,a){return this.dispatch(e,t,a),this}getEventHolder(){return this}getEventTarget(){return this}off(e,t,a){return qe(this,e,t,a),this}on(e,t,a,i){return lt(this,e,t,a,i),this}removeEventListener(){}}function br(){}ce(ka,"EventTarget");const Ai=400,wh=">",Ch=0,kh={"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","text-anchor":"start"};class Ot extends Array{constructor(...e){super(...e),this.init(...e)}clone(){return new this.constructor(this)}init(e){return typeof e=="number"||(this.length=0,this.push(...this.parse(e))),this}parse(e=[]){return e instanceof Array?e:e.trim().split(dt).map(parseFloat)}toArray(){return Array.prototype.concat.apply([],this)}toSet(){return new Set(this)}toString(){return this.join(" ")}valueOf(){const e=[];return e.push(...this),e}}class te{constructor(...e){this.init(...e)}convert(e){return new te(this.value,e)}divide(e){return e=new te(e),new te(this/e,this.unit||e.unit)}init(e,t){return t=Array.isArray(e)?e[1]:t,e=Array.isArray(e)?e[0]:e,this.value=0,this.unit=t||"",typeof e=="number"?this.value=isNaN(e)?0:isFinite(e)?e:e<0?-34e37:34e37:typeof e=="string"?(t=e.match(Bn))&&(this.value=parseFloat(t[1]),t[5]==="%"?this.value/=100:t[5]==="s"&&(this.value*=1e3),this.unit=t[5]):e instanceof te&&(this.value=e.valueOf(),this.unit=e.unit),this}minus(e){return e=new te(e),new te(this-e,this.unit||e.unit)}plus(e){return e=new te(e),new te(this+e,this.unit||e.unit)}times(e){return e=new te(e),new te(this*e,this.unit||e.unit)}toArray(){return[this.value,this.unit]}toJSON(){return this.toString()}toString(){return(this.unit==="%"?~~(1e8*this.value)/1e6:this.unit==="s"?this.value/1e3:this.value)+this.unit}valueOf(){return this.value}}const Ah=new Set(["fill","stroke","color","bgcolor","stop-color","flood-color","lighting-color"]),Yn=[];class yt extends ka{constructor(e,t){super(),this.node=e,this.type=e.nodeName,t&&e!==t&&this.attr(t)}add(e,t){return(e=Ee(e)).removeNamespace&&this.node instanceof le.window.SVGElement&&e.removeNamespace(),t==null?this.node.appendChild(e.node):e.node!==this.node.childNodes[t]&&this.node.insertBefore(e.node,this.node.childNodes[t]),this}addTo(e,t){return Ee(e).put(this,t)}children(){return new zt(Os(this.node.children,(function(e){return Ue(e)})))}clear(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this}clone(e=!0,t=!0){this.writeDataToDom();let a=this.node.cloneNode(e);return t&&(a=Fn(a)),new this.constructor(a)}each(e,t){const a=this.children();let i,r;for(i=0,r=a.length;i<r;i++)e.apply(a[i],[i,a]),t&&a[i].each(e,t);return this}element(e,t){return this.put(new yt(ha(e),t))}first(){return Ue(this.node.firstChild)}get(e){return Ue(this.node.childNodes[e])}getEventHolder(){return this.node}getEventTarget(){return this.node}has(e){return this.index(e)>=0}html(e,t){return this.xml(e,t,"http://www.w3.org/1999/xhtml")}id(e){return e!==void 0||this.node.id||(this.node.id=Dn(this.type)),this.attr("id",e)}index(e){return[].slice.call(this.node.childNodes).indexOf(e.node)}last(){return Ue(this.node.lastChild)}matches(e){const t=this.node,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector||null;return a&&a.call(t,e)}parent(e){let t=this;if(!t.node.parentNode)return null;if(t=Ue(t.node.parentNode),!e)return t;do if(typeof e=="string"?t.matches(e):t instanceof e)return t;while(t=Ue(t.node.parentNode));return t}put(e,t){return e=Ee(e),this.add(e,t),e}putIn(e,t){return Ee(e).add(this,t)}remove(){return this.parent()&&this.parent().removeElement(this),this}removeElement(e){return this.node.removeChild(e.node),this}replace(e){return e=Ee(e),this.node.parentNode&&this.node.parentNode.replaceChild(e.node,this.node),e}round(e=2,t=null){const a=10**e,i=this.attr(t);for(const r in i)typeof i[r]=="number"&&(i[r]=Math.round(i[r]*a)/a);return this.attr(i),this}svg(e,t){return this.xml(e,t,Hs)}toString(){return this.id()}words(e){return this.node.textContent=e,this}wrap(e){const t=this.parent();if(!t)return this.addTo(e);const a=t.index(this);return t.put(e,a).put(this)}writeDataToDom(){return this.each((function(){this.writeDataToDom()})),this}xml(e,t,a){if(typeof e=="boolean"&&(a=t,t=e,e=null),e==null||typeof e=="function"){t=t==null||t,this.writeDataToDom();let o=this;if(e!=null){if(o=Ue(o.node.cloneNode(!0)),t){const l=e(o);if(o=l||o,l===!1)return""}o.each((function(){const l=e(this),c=l||this;l===!1?this.remove():l&&this!==c&&this.replace(c)}),!0)}return t?o.node.outerHTML:o.node.innerHTML}t=t!=null&&t;const i=ha("wrapper",a),r=le.document.createDocumentFragment();i.innerHTML=e;for(let o=i.children.length;o--;)r.appendChild(i.firstElementChild);const n=this.parent();return t?this.replace(r)&&n:this.add(r)}}q(yt,{attr:function(s,e,t){if(s==null){s={},e=this.node.attributes;for(const a of e)s[a.nodeName]=mr.test(a.nodeValue)?parseFloat(a.nodeValue):a.nodeValue;return s}if(s instanceof Array)return s.reduce(((a,i)=>(a[i]=this.attr(i),a)),{});if(typeof s=="object"&&s.constructor===Object)for(e in s)this.attr(e,s[e]);else if(e===null)this.node.removeAttribute(s);else{if(e==null)return(e=this.node.getAttribute(s))==null?kh[s]:mr.test(e)?parseFloat(e):e;typeof(e=Yn.reduce(((a,i)=>i(s,a,this)),e))=="number"?e=new te(e):Ah.has(s)&&me.isColor(e)?e=new me(e):e.constructor===Array&&(e=new Ot(e)),s==="leading"?this.leading&&this.leading(e):typeof t=="string"?this.node.setAttributeNS(t,s,e.toString()):this.node.setAttribute(s,e.toString()),!this.rebuild||s!=="font-size"&&s!=="x"||this.rebuild()}return this},find:function(s){return jt(s,this.node)},findOne:function(s){return Ue(this.node.querySelector(s))}}),ce(yt,"Dom");let He=class extends yt{constructor(s,e){super(s,e),this.dom={},this.node.instance=this,(s.hasAttribute("data-svgjs")||s.hasAttribute("svgjs:data"))&&this.setData(JSON.parse(s.getAttribute("data-svgjs"))??JSON.parse(s.getAttribute("svgjs:data"))??{})}center(s,e){return this.cx(s).cy(e)}cx(s){return s==null?this.x()+this.width()/2:this.x(s-this.width()/2)}cy(s){return s==null?this.y()+this.height()/2:this.y(s-this.height()/2)}defs(){const s=this.root();return s&&s.defs()}dmove(s,e){return this.dx(s).dy(e)}dx(s=0){return this.x(new te(s).plus(this.x()))}dy(s=0){return this.y(new te(s).plus(this.y()))}getEventHolder(){return this}height(s){return this.attr("height",s)}move(s,e){return this.x(s).y(e)}parents(s=this.root()){const e=typeof s=="string";e||(s=Ee(s));const t=new zt;let a=this;for(;(a=a.parent())&&a.node!==le.document&&a.nodeName!=="#document-fragment"&&(t.push(a),e||a.node!==s.node)&&(!e||!a.matches(s));)if(a.node===this.root().node)return null;return t}reference(s){if(!(s=this.attr(s)))return null;const e=(s+"").match(fh);return e?Ee(e[1]):null}root(){const s=this.parent((function(e){return _t[e]})(js));return s&&s.root()}setData(s){return this.dom=s,this}size(s,e){const t=Zt(this,s,e);return this.width(new te(t.width)).height(new te(t.height))}width(s){return this.attr("width",s)}writeDataToDom(){return En(this,this.dom),super.writeDataToDom()}x(s){return this.attr("x",s)}y(s){return this.attr("y",s)}};q(He,{bbox:function(){const s=vr(this,(e=>e.getBBox()),(e=>{try{const t=e.clone().addTo(vt().svg).show(),a=t.node.getBBox();return t.remove(),a}catch(t){throw new Error(`Getting bbox of element "${e.node.nodeName}" is not possible: ${t.toString()}`)}}));return new ke(s)},rbox:function(s){const e=vr(this,(a=>a.getBoundingClientRect()),(a=>{throw new Error(`Getting rbox of element "${a.node.nodeName}" is not possible`)})),t=new ke(e);return s?t.transform(s.screenCTM().inverseO()):t.addOffset()},inside:function(s,e){const t=this.bbox();return s>t.x&&e>t.y&&s<t.x+t.width&&e<t.y+t.height},point:function(s,e){return new ge(s,e).transformO(this.screenCTM().inverseO())},ctm:function(){return new G(this.node.getCTM())},screenCTM:function(){try{if(typeof this.isRoot=="function"&&!this.isRoot()){const s=this.rect(1,1),e=s.node.getScreenCTM();return s.remove(),new G(e)}return new G(this.node.getScreenCTM())}catch{return console.warn(`Cannot get CTM from SVG node ${this.node.nodeName}. Is the element rendered?`),new G}}}),ce(He,"Element");const aa={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(s,e){return e==="color"?s:s+"-"+e}};["fill","stroke"].forEach((function(s){const e={};let t;e[s]=function(a){if(a===void 0)return this.attr(s);if(typeof a=="string"||a instanceof me||me.isRgb(a)||a instanceof He)this.attr(s,a);else for(t=aa[s].length-1;t>=0;t--)a[aa[s][t]]!=null&&this.attr(aa.prefix(s,aa[s][t]),a[aa[s][t]]);return this},se(["Element","Runner"],e)})),se(["Element","Runner"],{matrix:function(s,e,t,a,i,r){return s==null?new G(this):this.attr("transform",new G(s,e,t,a,i,r))},rotate:function(s,e,t){return this.transform({rotate:s,ox:e,oy:t},!0)},skew:function(s,e,t,a){return arguments.length===1||arguments.length===3?this.transform({skew:s,ox:e,oy:t},!0):this.transform({skew:[s,e],ox:t,oy:a},!0)},shear:function(s,e,t){return this.transform({shear:s,ox:e,oy:t},!0)},scale:function(s,e,t,a){return arguments.length===1||arguments.length===3?this.transform({scale:s,ox:e,oy:t},!0):this.transform({scale:[s,e],ox:t,oy:a},!0)},translate:function(s,e){return this.transform({translate:[s,e]},!0)},relative:function(s,e){return this.transform({relative:[s,e]},!0)},flip:function(s="both",e="center"){return"xybothtrue".indexOf(s)===-1&&(e=s,s="both"),this.transform({flip:s,origin:e},!0)},opacity:function(s){return this.attr("opacity",s)}}),se("radius",{radius:function(s,e=s){return(this._element||this).type==="radialGradient"?this.attr("r",new te(s)):this.rx(s).ry(e)}}),se("Path",{length:function(){return this.node.getTotalLength()},pointAt:function(s){return new ge(this.node.getPointAtLength(s))}}),se(["Element","Runner"],{font:function(s,e){if(typeof s=="object"){for(e in s)this.font(e,s[e]);return this}return s==="leading"?this.leading(e):s==="anchor"?this.attr("text-anchor",e):s==="size"||s==="family"||s==="weight"||s==="stretch"||s==="variant"||s==="style"?this.attr("font-"+s,e):this.attr(s,e)}});se("Element",["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","mouseenter","mouseleave","touchstart","touchmove","touchleave","touchend","touchcancel","contextmenu","wheel","pointerdown","pointermove","pointerup","pointerleave","pointercancel"].reduce((function(s,e){return s[e]=function(t){return t===null?this.off(e):this.on(e,t),this},s}),{})),se("Element",{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(ph).slice(0,-1).map((function(e){const t=e.trim().split("(");return[t[0],t[1].split(dt).map((function(a){return parseFloat(a)}))]})).reverse().reduce((function(e,t){return t[0]==="matrix"?e.lmultiply(G.fromArray(t[1])):e[t[0]].apply(e,t[1])}),new G)},toParent:function(s,e){if(this===s)return this;if(ns(this.node))return this.addTo(s,e);const t=this.screenCTM(),a=s.screenCTM().inverse();return this.addTo(s,e).untransform().transform(a.multiply(t)),this},toRoot:function(s){return this.toParent(this.root(),s)},transform:function(s,e){if(s==null||typeof s=="string"){const a=new G(this).decompose();return s==null?a:a[s]}G.isMatrixLike(s)||(s={...s,origin:rs(s,this)});const t=new G(e===!0?this:e||!1).transform(s);return this.attr("transform",t)}});class De extends He{flatten(){return this.each((function(){if(this instanceof De)return this.flatten().ungroup()})),this}ungroup(e=this.parent(),t=e.index(this)){return t=t===-1?e.children().length:t,this.each((function(a,i){return i[i.length-a-1].toParent(e,t)})),this.remove()}}ce(De,"Container");class ui extends De{constructor(e,t=e){super(be("defs",e),t)}flatten(){return this}ungroup(){return this}}ce(ui,"Defs");class We extends He{}function Fs(s){return this.attr("rx",s)}function Bs(s){return this.attr("ry",s)}function Wn(s){return s==null?this.cx()-this.rx():this.cx(s+this.rx())}function Gn(s){return s==null?this.cy()-this.ry():this.cy(s+this.ry())}function $n(s){return this.attr("cx",s)}function Un(s){return this.attr("cy",s)}function qn(s){return s==null?2*this.rx():this.rx(new te(s).divide(2))}function Zn(s){return s==null?2*this.ry():this.ry(new te(s).divide(2))}ce(We,"Shape");var Sh=Object.freeze({__proto__:null,cx:$n,cy:Un,height:Zn,rx:Fs,ry:Bs,width:qn,x:Wn,y:Gn});class Na extends We{constructor(e,t=e){super(be("ellipse",e),t)}size(e,t){const a=Zt(this,e,t);return this.rx(new te(a.width).divide(2)).ry(new te(a.height).divide(2))}}q(Na,Sh),se("Container",{ellipse:ve((function(s=0,e=s){return this.put(new Na).size(s,e).move(0,0)}))}),ce(Na,"Ellipse");class Kn extends yt{constructor(e=le.document.createDocumentFragment()){super(e)}xml(e,t,a){if(typeof e=="boolean"&&(a=t,t=e,e=null),e==null||typeof e=="function"){const i=new yt(ha("wrapper",a));return i.add(this.node.cloneNode(!0)),i.xml(!1,a)}return super.xml(e,!1,a)}}function Jn(s,e){return(this._element||this).type==="radialGradient"?this.attr({fx:new te(s),fy:new te(e)}):this.attr({x1:new te(s),y1:new te(e)})}function Qn(s,e){return(this._element||this).type==="radialGradient"?this.attr({cx:new te(s),cy:new te(e)}):this.attr({x2:new te(s),y2:new te(e)})}ce(Kn,"Fragment");var Mh=Object.freeze({__proto__:null,from:Jn,to:Qn});class oa extends De{constructor(e,t){super(be(e+"Gradient",typeof e=="string"?null:e),t)}attr(e,t,a){return e==="transform"&&(e="gradientTransform"),super.attr(e,t,a)}bbox(){return new ke}targets(){return jt("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(e){return this.clear(),typeof e=="function"&&e.call(this,this),this}url(){return"url(#"+this.id()+")"}}q(oa,Mh),se({Container:{gradient(...s){return this.defs().gradient(...s)}},Defs:{gradient:ve((function(s,e){return this.put(new oa(s)).update(e)}))}}),ce(oa,"Gradient");class da extends De{constructor(e,t=e){super(be("pattern",e),t)}attr(e,t,a){return e==="transform"&&(e="patternTransform"),super.attr(e,t,a)}bbox(){return new ke}targets(){return jt("svg [fill*="+this.id()+"]")}toString(){return this.url()}update(e){return this.clear(),typeof e=="function"&&e.call(this,this),this}url(){return"url(#"+this.id()+")"}}se({Container:{pattern(...s){return this.defs().pattern(...s)}},Defs:{pattern:ve((function(s,e,t){return this.put(new da).update(t).attr({x:0,y:0,width:s,height:e,patternUnits:"userSpaceOnUse"})}))}}),ce(da,"Pattern");let Va=class extends We{constructor(s,e=s){super(be("image",s),e)}load(s,e){if(!s)return this;const t=new le.window.Image;return lt(t,"load",(function(a){const i=this.parent(da);this.width()===0&&this.height()===0&&this.size(t.width,t.height),i instanceof da&&i.width()===0&&i.height()===0&&i.size(this.width(),this.height()),typeof e=="function"&&e.call(this,a)}),this),lt(t,"load error",(function(){qe(t)})),this.attr("href",t.src=s,Kt)}};var yr;yr=function(s,e,t){return s!=="fill"&&s!=="stroke"||mh.test(e)&&(e=t.root().defs().image(e)),e instanceof Va&&(e=t.root().defs().pattern(0,0,(a=>{a.add(e)}))),e},Yn.push(yr),se({Container:{image:ve((function(s,e){return this.put(new Va).size(0,0).load(s,e)}))}}),ce(Va,"Image");class wt extends Ot{bbox(){let e=-1/0,t=-1/0,a=1/0,i=1/0;return this.forEach((function(r){e=Math.max(r[0],e),t=Math.max(r[1],t),a=Math.min(r[0],a),i=Math.min(r[1],i)})),new ke(a,i,e-a,t-i)}move(e,t){const a=this.bbox();if(e-=a.x,t-=a.y,!isNaN(e)&&!isNaN(t))for(let i=this.length-1;i>=0;i--)this[i]=[this[i][0]+e,this[i][1]+t];return this}parse(e=[0,0]){const t=[];(e=e instanceof Array?Array.prototype.concat.apply([],e):e.trim().split(dt).map(parseFloat)).length%2!=0&&e.pop();for(let a=0,i=e.length;a<i;a+=2)t.push([e[a],e[a+1]]);return t}size(e,t){let a;const i=this.bbox();for(a=this.length-1;a>=0;a--)i.width&&(this[a][0]=(this[a][0]-i.x)*e/i.width+i.x),i.height&&(this[a][1]=(this[a][1]-i.y)*t/i.height+i.y);return this}toLine(){return{x1:this[0][0],y1:this[0][1],x2:this[1][0],y2:this[1][1]}}toString(){const e=[];for(let t=0,a=this.length;t<a;t++)e.push(this[t].join(","));return e.join(" ")}transform(e){return this.clone().transformO(e)}transformO(e){G.isMatrixLike(e)||(e=new G(e));for(let t=this.length;t--;){const[a,i]=this[t];this[t][0]=e.a*a+e.c*i+e.e,this[t][1]=e.b*a+e.d*i+e.f}return this}}const Ih=wt;var Ns=Object.freeze({__proto__:null,MorphArray:Ih,height:function(s){const e=this.bbox();return s==null?e.height:this.size(e.width,s)},width:function(s){const e=this.bbox();return s==null?e.width:this.size(s,e.height)},x:function(s){return s==null?this.bbox().x:this.move(s,this.bbox().y)},y:function(s){return s==null?this.bbox().y:this.move(this.bbox().x,s)}});let It=class extends We{constructor(s,e=s){super(be("line",s),e)}array(){return new wt([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])}move(s,e){return this.attr(this.array().move(s,e).toLine())}plot(s,e,t,a){return s==null?this.array():(s=e!==void 0?{x1:s,y1:e,x2:t,y2:a}:new wt(s).toLine(),this.attr(s))}size(s,e){const t=Zt(this,s,e);return this.attr(this.array().size(t.width,t.height).toLine())}};q(It,Ns),se({Container:{line:ve((function(...s){return It.prototype.plot.apply(this.put(new It),s[0]!=null?s:[0,0,0,0])}))}}),ce(It,"Line");let Xa=class extends De{constructor(s,e=s){super(be("marker",s),e)}height(s){return this.attr("markerHeight",s)}orient(s){return this.attr("orient",s)}ref(s,e){return this.attr("refX",s).attr("refY",e)}toString(){return"url(#"+this.id()+")"}update(s){return this.clear(),typeof s=="function"&&s.call(this,this),this}width(s){return this.attr("markerWidth",s)}};function Vt(s,e){return function(t){return t==null?this[s]:(this[s]=t,e&&e.call(this),this)}}se({Container:{marker(...s){return this.defs().marker(...s)}},Defs:{marker:ve((function(s,e,t){return this.put(new Xa).size(s,e).ref(s/2,e/2).viewbox(0,0,s,e).attr("orient","auto").update(t)}))},marker:{marker(s,e,t,a){let i=["marker"];return s!=="all"&&i.push(s),i=i.join("-"),s=arguments[1]instanceof Xa?arguments[1]:this.defs().marker(e,t,a),this.attr(i,s)}}}),ce(Xa,"Marker");const Lh={"-":function(s){return s},"<>":function(s){return-Math.cos(s*Math.PI)/2+.5},">":function(s){return Math.sin(s*Math.PI/2)},"<":function(s){return 1-Math.cos(s*Math.PI/2)},bezier:function(s,e,t,a){return function(i){return i<0?s>0?e/s*i:t>0?a/t*i:0:i>1?t<1?(1-a)/(1-t)*i+(a-t)/(1-t):s<1?(1-e)/(1-s)*i+(e-s)/(1-s):1:3*i*(1-i)**2*e+3*i**2*(1-i)*a+i**3}},steps:function(s,e="end"){e=e.split("-").reverse()[0];let t=s;return e==="none"?--t:e==="both"&&++t,(a,i=!1)=>{let r=Math.floor(a*s);const n=a*r%1==0;return e!=="start"&&e!=="both"||++r,i&&n&&--r,a>=0&&r<0&&(r=0),a<=1&&r>t&&(r=t),r/t}}};class Vs{done(){return!1}}class os extends Vs{constructor(e=wh){super(),this.ease=Lh[e]||e}step(e,t,a){return typeof e!="number"?a<1?e:t:e+(t-e)*this.ease(a)}}class Qa extends Vs{constructor(e){super(),this.stepper=e}done(e){return e.done}step(e,t,a,i){return this.stepper(e,t,a,i)}}function wr(){const s=(this._duration||500)/1e3,e=this._overshoot||0,t=Math.PI,a=Math.log(e/100+1e-10),i=-a/Math.sqrt(t*t+a*a),r=3.9/(i*s);this.d=2*i*r,this.k=r*r}q(class extends Qa{constructor(s=500,e=0){super(),this.duration(s).overshoot(e)}step(s,e,t,a){if(typeof s=="string")return s;if(a.done=t===1/0,t===1/0)return e;if(t===0)return s;t>100&&(t=16),t/=1e3;const i=a.velocity||0,r=-this.d*i-this.k*(s-e),n=s+i*t+r*t*t/2;return a.velocity=i+r*t,a.done=Math.abs(e-n)+Math.abs(i)<.002,a.done?e:n}},{duration:Vt("_duration",wr),overshoot:Vt("_overshoot",wr)});q(class extends Qa{constructor(s=.1,e=.01,t=0,a=1e3){super(),this.p(s).i(e).d(t).windup(a)}step(s,e,t,a){if(typeof s=="string")return s;if(a.done=t===1/0,t===1/0)return e;if(t===0)return s;const i=e-s;let r=(a.integral||0)+i*t;const n=(i-(a.error||0))/t,o=this._windup;return o!==!1&&(r=Math.max(-o,Math.min(r,o))),a.error=i,a.integral=r,a.done=Math.abs(i)<.001,a.done?e:s+(this.P*i+this.I*r+this.D*n)}},{windup:Vt("_windup"),p:Vt("P"),i:Vt("I"),d:Vt("D")});const Rh={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0},ls={M:function(s,e,t){return e.x=t.x=s[0],e.y=t.y=s[1],["M",e.x,e.y]},L:function(s,e){return e.x=s[0],e.y=s[1],["L",s[0],s[1]]},H:function(s,e){return e.x=s[0],["H",s[0]]},V:function(s,e){return e.y=s[0],["V",s[0]]},C:function(s,e){return e.x=s[4],e.y=s[5],["C",s[0],s[1],s[2],s[3],s[4],s[5]]},S:function(s,e){return e.x=s[2],e.y=s[3],["S",s[0],s[1],s[2],s[3]]},Q:function(s,e){return e.x=s[2],e.y=s[3],["Q",s[0],s[1],s[2],s[3]]},T:function(s,e){return e.x=s[0],e.y=s[1],["T",s[0],s[1]]},Z:function(s,e,t){return e.x=t.x,e.y=t.y,["Z"]},A:function(s,e){return e.x=s[5],e.y=s[6],["A",s[0],s[1],s[2],s[3],s[4],s[5],s[6]]}},Si="mlhvqtcsaz".split("");for(let s=0,e=Si.length;s<e;++s)ls[Si[s]]=(function(t){return function(a,i,r){if(t==="H")a[0]=a[0]+i.x;else if(t==="V")a[0]=a[0]+i.y;else if(t==="A")a[5]=a[5]+i.x,a[6]=a[6]+i.y;else for(let n=0,o=a.length;n<o;++n)a[n]=a[n]+(n%2?i.y:i.x);return ls[t](a,i,r)}})(Si[s].toUpperCase());function cs(s){return s.segment.length&&s.segment.length-1===Rh[s.segment[0].toUpperCase()]}function _h(s,e){s.inNumber&&At(s,!1);const t=Es.test(e);if(t)s.segment=[e];else{const a=s.lastCommand,i=a.toLowerCase(),r=a===i;s.segment=[i==="m"?r?"l":"L":a]}return s.inSegment=!0,s.lastCommand=s.segment[0],t}function At(s,e){if(!s.inNumber)throw new Error("Parser Error");s.number&&s.segment.push(parseFloat(s.number)),s.inNumber=e,s.number="",s.pointSeen=!1,s.hasExponent=!1,cs(s)&&hs(s)}function hs(s){s.inSegment=!1,s.absolute&&(s.segment=(function(e){const t=e.segment[0];return ls[t](e.segment.slice(1),e.p,e.p0)})(s)),s.segments.push(s.segment)}function Ph(s){if(!s.segment.length)return!1;const e=s.segment[0].toUpperCase()==="A",t=s.segment.length;return e&&(t===4||t===5)}function zh(s){return s.lastToken.toUpperCase()==="E"}const Oh=new Set([" ",","," ",`
|
|
5
|
+
`,"\r","\f"]);class Qe extends Ot{bbox(){return vt().path.setAttribute("d",this.toString()),new ke(vt.nodes.path.getBBox())}move(e,t){const a=this.bbox();if(e-=a.x,t-=a.y,!isNaN(e)&&!isNaN(t))for(let i,r=this.length-1;r>=0;r--)i=this[r][0],i==="M"||i==="L"||i==="T"?(this[r][1]+=e,this[r][2]+=t):i==="H"?this[r][1]+=e:i==="V"?this[r][1]+=t:i==="C"||i==="S"||i==="Q"?(this[r][1]+=e,this[r][2]+=t,this[r][3]+=e,this[r][4]+=t,i==="C"&&(this[r][5]+=e,this[r][6]+=t)):i==="A"&&(this[r][6]+=e,this[r][7]+=t);return this}parse(e="M0 0"){return Array.isArray(e)&&(e=Array.prototype.concat.apply([],e).toString()),(function(t,a=!0){let i=0,r="";const n={segment:[],inNumber:!1,number:"",lastToken:"",inSegment:!1,segments:[],pointSeen:!1,hasExponent:!1,absolute:a,p0:new ge,p:new ge};for(;n.lastToken=r,r=t.charAt(i++);)if(n.inSegment||!_h(n,r))if(r!==".")if(isNaN(parseInt(r)))if(Oh.has(r))n.inNumber&&At(n,!1);else if(r!=="-"&&r!=="+")if(r.toUpperCase()!=="E"){if(Es.test(r)){if(n.inNumber)At(n,!1);else{if(!cs(n))throw new Error("parser Error");hs(n)}--i}}else n.number+=r,n.hasExponent=!0;else{if(n.inNumber&&!zh(n)){At(n,!1),--i;continue}n.number+=r,n.inNumber=!0}else{if(n.number==="0"||Ph(n)){n.inNumber=!0,n.number=r,At(n,!0);continue}n.inNumber=!0,n.number+=r}else{if(n.pointSeen||n.hasExponent){At(n,!1),--i;continue}n.inNumber=!0,n.pointSeen=!0,n.number+=r}return n.inNumber&&At(n,!1),n.inSegment&&cs(n)&&hs(n),n.segments})(e)}size(e,t){const a=this.bbox();let i,r;for(a.width=a.width===0?1:a.width,a.height=a.height===0?1:a.height,i=this.length-1;i>=0;i--)r=this[i][0],r==="M"||r==="L"||r==="T"?(this[i][1]=(this[i][1]-a.x)*e/a.width+a.x,this[i][2]=(this[i][2]-a.y)*t/a.height+a.y):r==="H"?this[i][1]=(this[i][1]-a.x)*e/a.width+a.x:r==="V"?this[i][1]=(this[i][1]-a.y)*t/a.height+a.y:r==="C"||r==="S"||r==="Q"?(this[i][1]=(this[i][1]-a.x)*e/a.width+a.x,this[i][2]=(this[i][2]-a.y)*t/a.height+a.y,this[i][3]=(this[i][3]-a.x)*e/a.width+a.x,this[i][4]=(this[i][4]-a.y)*t/a.height+a.y,r==="C"&&(this[i][5]=(this[i][5]-a.x)*e/a.width+a.x,this[i][6]=(this[i][6]-a.y)*t/a.height+a.y)):r==="A"&&(this[i][1]=this[i][1]*e/a.width,this[i][2]=this[i][2]*t/a.height,this[i][6]=(this[i][6]-a.x)*e/a.width+a.x,this[i][7]=(this[i][7]-a.y)*t/a.height+a.y);return this}toString(){return(function(e){let t="";for(let a=0,i=e.length;a<i;a++)t+=e[a][0],e[a][1]!=null&&(t+=e[a][1],e[a][2]!=null&&(t+=" ",t+=e[a][2],e[a][3]!=null&&(t+=" ",t+=e[a][3],t+=" ",t+=e[a][4],e[a][5]!=null&&(t+=" ",t+=e[a][5],t+=" ",t+=e[a][6],e[a][7]!=null&&(t+=" ",t+=e[a][7])))));return t+" "})(this)}}const eo=s=>{const e=typeof s;return e==="number"?te:e==="string"?me.isColor(s)?me:dt.test(s)?Es.test(s)?Qe:Ot:Bn.test(s)?te:ds:us.indexOf(s.constructor)>-1?s.constructor:Array.isArray(s)?Ot:e==="object"?ua:ds};class St{constructor(e){this._stepper=e||new os("-"),this._from=null,this._to=null,this._type=null,this._context=null,this._morphObj=null}at(e){return this._morphObj.morph(this._from,this._to,e,this._stepper,this._context)}done(){return this._context.map(this._stepper.done).reduce((function(e,t){return e&&t}),!0)}from(e){return e==null?this._from:(this._from=this._set(e),this)}stepper(e){return e==null?this._stepper:(this._stepper=e,this)}to(e){return e==null?this._to:(this._to=this._set(e),this)}type(e){return e==null?this._type:(this._type=e,this)}_set(e){this._type||this.type(eo(e));let t=new this._type(e);return this._type===me&&(t=this._to?t[this._to[4]]():this._from?t[this._from[4]]():t),this._type===ua&&(t=this._to?t.align(this._to):this._from?t.align(this._from):t),t=t.toConsumable(),this._morphObj=this._morphObj||new this._type,this._context=this._context||Array.apply(null,Array(t.length)).map(Object).map((function(a){return a.done=!0,a})),t}}class ds{constructor(...e){this.init(...e)}init(e){return e=Array.isArray(e)?e[0]:e,this.value=e,this}toArray(){return[this.value]}valueOf(){return this.value}}class Aa{constructor(...e){this.init(...e)}init(e){return Array.isArray(e)&&(e={scaleX:e[0],scaleY:e[1],shear:e[2],rotate:e[3],translateX:e[4],translateY:e[5],originX:e[6],originY:e[7]}),Object.assign(this,Aa.defaults,e),this}toArray(){const e=this;return[e.scaleX,e.scaleY,e.shear,e.rotate,e.translateX,e.translateY,e.originX,e.originY]}}Aa.defaults={scaleX:1,scaleY:1,shear:0,rotate:0,translateX:0,translateY:0,originX:0,originY:0};const Hh=(s,e)=>s[0]<e[0]?-1:s[0]>e[0]?1:0;class ua{constructor(...e){this.init(...e)}align(e){const t=this.values;for(let a=0,i=t.length;a<i;++a){if(t[a+1]===e[a+1]){if(t[a+1]===me&&e[a+7]!==t[a+7]){const o=e[a+7],l=new me(this.values.splice(a+3,5))[o]().toArray();this.values.splice(a+3,0,...l)}a+=t[a+2]+2;continue}if(!e[a+1])return this;const r=new e[a+1]().toArray(),n=t[a+2]+3;t.splice(a,n,e[a],e[a+1],e[a+2],...r),a+=t[a+2]+2}return this}init(e){if(this.values=[],Array.isArray(e))return void(this.values=e.slice());e=e||{};const t=[];for(const a in e){const i=eo(e[a]),r=new i(e[a]).toArray();t.push([a,i,r.length,...r])}return t.sort(Hh),this.values=t.reduce(((a,i)=>a.concat(i)),[]),this}toArray(){return this.values}valueOf(){const e={},t=this.values;for(;t.length;){const a=t.shift(),i=t.shift(),r=t.shift(),n=t.splice(0,r);e[a]=new i(n)}return e}}const us=[ds,Aa,ua];class Xt extends We{constructor(e,t=e){super(be("path",e),t)}array(){return this._array||(this._array=new Qe(this.attr("d")))}clear(){return delete this._array,this}height(e){return e==null?this.bbox().height:this.size(this.bbox().width,e)}move(e,t){return this.attr("d",this.array().move(e,t))}plot(e){return e==null?this.array():this.clear().attr("d",typeof e=="string"?e:this._array=new Qe(e))}size(e,t){const a=Zt(this,e,t);return this.attr("d",this.array().size(a.width,a.height))}width(e){return e==null?this.bbox().width:this.size(e,this.bbox().height)}x(e){return e==null?this.bbox().x:this.move(e,this.bbox().y)}y(e){return e==null?this.bbox().y:this.move(this.bbox().x,e)}}Xt.prototype.MorphArray=Qe,se({Container:{path:ve((function(s){return this.put(new Xt).plot(s||new Qe)}))}}),ce(Xt,"Path");var to=Object.freeze({__proto__:null,array:function(){return this._array||(this._array=new wt(this.attr("points")))},clear:function(){return delete this._array,this},move:function(s,e){return this.attr("points",this.array().move(s,e))},plot:function(s){return s==null?this.array():this.clear().attr("points",typeof s=="string"?s:this._array=new wt(s))},size:function(s,e){const t=Zt(this,s,e);return this.attr("points",this.array().size(t.width,t.height))}});class Lt extends We{constructor(e,t=e){super(be("polygon",e),t)}}se({Container:{polygon:ve((function(s){return this.put(new Lt).plot(s||new wt)}))}}),q(Lt,Ns),q(Lt,to),ce(Lt,"Polygon");class Rt extends We{constructor(e,t=e){super(be("polyline",e),t)}}se({Container:{polyline:ve((function(s){return this.put(new Rt).plot(s||new wt)}))}}),q(Rt,Ns),q(Rt,to),ce(Rt,"Polyline");class Ya extends We{constructor(e,t=e){super(be("rect",e),t)}}q(Ya,{rx:Fs,ry:Bs}),se({Container:{rect:ve((function(s,e){return this.put(new Ya).size(s,e)}))}}),ce(Ya,"Rect");class Mi{constructor(){this._first=null,this._last=null}first(){return this._first&&this._first.value}last(){return this._last&&this._last.value}push(e){const t=e.next!==void 0?e:{value:e,next:null,prev:null};return this._last?(t.prev=this._last,this._last.next=t,this._last=t):(this._last=t,this._first=t),t}remove(e){e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e===this._last&&(this._last=e.prev),e===this._first&&(this._first=e.next),e.prev=null,e.next=null}shift(){const e=this._first;return e?(this._first=e.next,this._first&&(this._first.prev=null),this._last=this._first?this._last:null,e.value):null}}const pe={nextDraw:null,frames:new Mi,timeouts:new Mi,immediates:new Mi,timer:()=>le.window.performance||le.window.Date,transforms:[],frame(s){const e=pe.frames.push({run:s});return pe.nextDraw===null&&(pe.nextDraw=le.window.requestAnimationFrame(pe._draw)),e},timeout(s,e){e=e||0;const t=pe.timer().now()+e,a=pe.timeouts.push({run:s,time:t});return pe.nextDraw===null&&(pe.nextDraw=le.window.requestAnimationFrame(pe._draw)),a},immediate(s){const e=pe.immediates.push(s);return pe.nextDraw===null&&(pe.nextDraw=le.window.requestAnimationFrame(pe._draw)),e},cancelFrame(s){s!=null&&pe.frames.remove(s)},clearTimeout(s){s!=null&&pe.timeouts.remove(s)},cancelImmediate(s){s!=null&&pe.immediates.remove(s)},_draw(s){let e=null;const t=pe.timeouts.last();for(;(e=pe.timeouts.shift())&&(s>=e.time?e.run():pe.timeouts.push(e),e!==t););let a=null;const i=pe.frames.last();for(;a!==i&&(a=pe.frames.shift());)a.run(s);let r=null;for(;r=pe.immediates.shift();)r();pe.nextDraw=pe.timeouts.first()||pe.frames.first()?le.window.requestAnimationFrame(pe._draw):null}},Th=function(s){const e=s.start,t=s.runner.duration();return{start:e,duration:t,end:e+t,runner:s.runner}},jh=function(){const s=le.window;return(s.performance||s.Date).now()};class ao extends ka{constructor(e=jh){super(),this._timeSource=e,this.terminate()}active(){return!!this._nextFrame}finish(){return this.time(this.getEndTimeOfTimeline()+1),this.pause()}getEndTime(){const e=this.getLastRunnerInfo(),t=e?e.runner.duration():0;return(e?e.start:this._time)+t}getEndTimeOfTimeline(){const e=this._runners.map((t=>t.start+t.runner.duration()));return Math.max(0,...e)}getLastRunnerInfo(){return this.getRunnerInfoById(this._lastRunnerId)}getRunnerInfoById(e){return this._runners[this._runnerIds.indexOf(e)]||null}pause(){return this._paused=!0,this._continue()}persist(e){return e==null?this._persist:(this._persist=e,this)}play(){return this._paused=!1,this.updateTime()._continue()}reverse(e){const t=this.speed();if(e==null)return this.speed(-t);const a=Math.abs(t);return this.speed(e?-a:a)}schedule(e,t,a){if(e==null)return this._runners.map(Th);let i=0;const r=this.getEndTime();if(t=t||0,a==null||a==="last"||a==="after")i=r;else if(a==="absolute"||a==="start")i=t,t=0;else if(a==="now")i=this._time;else if(a==="relative"){const l=this.getRunnerInfoById(e.id);l&&(i=l.start+t,t=0)}else{if(a!=="with-last")throw new Error('Invalid value for the "when" parameter');{const l=this.getLastRunnerInfo();i=l?l.start:this._time}}e.unschedule(),e.timeline(this);const n=e.persist(),o={persist:n===null?this._persist:n,start:i+t,runner:e};return this._lastRunnerId=e.id,this._runners.push(o),this._runners.sort(((l,c)=>l.start-c.start)),this._runnerIds=this._runners.map((l=>l.runner.id)),this.updateTime()._continue(),this}seek(e){return this.time(this._time+e)}source(e){return e==null?this._timeSource:(this._timeSource=e,this)}speed(e){return e==null?this._speed:(this._speed=e,this)}stop(){return this.time(0),this.pause()}time(e){return e==null?this._time:(this._time=e,this._continue(!0))}unschedule(e){const t=this._runnerIds.indexOf(e.id);return t<0||(this._runners.splice(t,1),this._runnerIds.splice(t,1),e.timeline(null)),this}updateTime(){return this.active()||(this._lastSourceTime=this._timeSource()),this}_continue(e=!1){return pe.cancelFrame(this._nextFrame),this._nextFrame=null,e?this._stepImmediate():(this._paused||(this._nextFrame=pe.frame(this._step)),this)}_stepFn(e=!1){const t=this._timeSource();let a=t-this._lastSourceTime;e&&(a=0);const i=this._speed*a+(this._time-this._lastStepTime);this._lastSourceTime=t,e||(this._time+=i,this._time=this._time<0?0:this._time),this._lastStepTime=this._time,this.fire("time",this._time);for(let n=this._runners.length;n--;){const o=this._runners[n],l=o.runner;this._time-o.start<=0&&l.reset()}let r=!1;for(let n=0,o=this._runners.length;n<o;n++){const l=this._runners[n],c=l.runner;let h=i;const d=this._time-l.start;if(d<=0){r=!0;continue}d<h&&(h=d),c.active()&&(c.step(h).done?l.persist!==!0&&c.duration()-c.time()+this._time+l.persist<this._time&&(c.unschedule(),--n,--o):r=!0)}return r&&!(this._speed<0&&this._time===0)||this._runnerIds.length&&this._speed<0&&this._time>0?this._continue():(this.pause(),this.fire("finished")),this}terminate(){this._startTime=0,this._speed=1,this._persist=0,this._nextFrame=null,this._paused=!0,this._runners=[],this._runnerIds=[],this._lastRunnerId=-1,this._time=0,this._lastSourceTime=0,this._lastStepTime=0,this._step=this._stepFn.bind(this,!1),this._stepImmediate=this._stepFn.bind(this,!0)}}se({Element:{timeline:function(s){return s==null?(this._timeline=this._timeline||new ao,this._timeline):(this._timeline=s,this)}}});class Xe extends ka{constructor(e){super(),this.id=Xe.id++,e=typeof(e=e??Ai)=="function"?new Qa(e):e,this._element=null,this._timeline=null,this.done=!1,this._queue=[],this._duration=typeof e=="number"&&e,this._isDeclarative=e instanceof Qa,this._stepper=this._isDeclarative?e:new os,this._history={},this.enabled=!0,this._time=0,this._lastTime=0,this._reseted=!0,this.transforms=new G,this.transformId=1,this._haveReversed=!1,this._reverse=!1,this._loopsDone=0,this._swing=!1,this._wait=0,this._times=1,this._frameId=null,this._persist=!!this._isDeclarative||null}static sanitise(e,t,a){let i=1,r=!1,n=0;return t=t??Ch,a=a||"last",typeof(e=e??Ai)!="object"||e instanceof Vs||(t=e.delay??t,a=e.when??a,r=e.swing||r,i=e.times??i,n=e.wait??n,e=e.duration??Ai),{duration:e,delay:t,swing:r,times:i,wait:n,when:a}}active(e){return e==null?this.enabled:(this.enabled=e,this)}addTransform(e){return this.transforms.lmultiplyO(e),this}after(e){return this.on("finished",e)}animate(e,t,a){const i=Xe.sanitise(e,t,a),r=new Xe(i.duration);return this._timeline&&r.timeline(this._timeline),this._element&&r.element(this._element),r.loop(i).schedule(i.delay,i.when)}clearTransform(){return this.transforms=new G,this}clearTransformsFromQueue(){this.done&&this._timeline&&this._timeline._runnerIds.includes(this.id)||(this._queue=this._queue.filter((e=>!e.isTransform)))}delay(e){return this.animate(0,e)}duration(){return this._times*(this._wait+this._duration)-this._wait}during(e){return this.queue(null,e)}ease(e){return this._stepper=new os(e),this}element(e){return e==null?this._element:(this._element=e,e._prepareRunner(),this)}finish(){return this.step(1/0)}loop(e,t,a){return typeof e=="object"&&(t=e.swing,a=e.wait,e=e.times),this._times=e||1/0,this._swing=t||!1,this._wait=a||0,this._times===!0&&(this._times=1/0),this}loops(e){const t=this._duration+this._wait;if(e==null){const r=Math.floor(this._time/t),n=(this._time-r*t)/this._duration;return Math.min(r+n,this._times)}const a=e%1,i=t*Math.floor(e)+this._duration*a;return this.time(i)}persist(e){return e==null?this._persist:(this._persist=e,this)}position(e){const t=this._time,a=this._duration,i=this._wait,r=this._times,n=this._swing,o=this._reverse;let l;if(e==null){const d=function(g){const p=n*Math.floor(g%(2*(i+a))/(i+a)),f=p&&!o||!p&&o,m=Math.pow(-1,f)*(g%(i+a))/a+f;return Math.max(Math.min(m,1),0)},u=r*(i+a)-i;return l=t<=0?Math.round(d(1e-5)):t<u?d(t):Math.round(d(u-1e-5)),l}const c=Math.floor(this.loops()),h=n&&c%2==0;return l=c+(h&&!o||o&&h?e:1-e),this.loops(l)}progress(e){return e==null?Math.min(1,this._time/this.duration()):this.time(e*this.duration())}queue(e,t,a,i){return this._queue.push({initialiser:e||br,runner:t||br,retarget:a,isTransform:i,initialised:!1,finished:!1}),this.timeline()&&this.timeline()._continue(),this}reset(){return this._reseted||(this.time(0),this._reseted=!0),this}reverse(e){return this._reverse=e??!this._reverse,this}schedule(e,t,a){if(e instanceof ao||(a=t,t=e,e=this.timeline()),!e)throw Error("Runner cannot be scheduled without timeline");return e.schedule(this,t,a),this}step(e){if(!this.enabled)return this;e=e??16,this._time+=e;const t=this.position(),a=this._lastPosition!==t&&this._time>=0;this._lastPosition=t;const i=this.duration(),r=this._lastTime<=0&&this._time>0,n=this._lastTime<i&&this._time>=i;this._lastTime=this._time,r&&this.fire("start",this);const o=this._isDeclarative;this.done=!o&&!n&&this._time>=i,this._reseted=!1;let l=!1;return(a||o)&&(this._initialise(a),this.transforms=new G,l=this._run(o?e:t),this.fire("step",this)),this.done=this.done||l&&o,n&&this.fire("finished",this),this}time(e){if(e==null)return this._time;const t=e-this._time;return this.step(t),this}timeline(e){return e===void 0?this._timeline:(this._timeline=e,this)}unschedule(){const e=this.timeline();return e&&e.unschedule(this),this}_initialise(e){if(e||this._isDeclarative)for(let t=0,a=this._queue.length;t<a;++t){const i=this._queue[t],r=this._isDeclarative||!i.initialised&&e;e=!i.finished,r&&e&&(i.initialiser.call(this),i.initialised=!0)}}_rememberMorpher(e,t){if(this._history[e]={morpher:t,caller:this._queue[this._queue.length-1]},this._isDeclarative){const a=this.timeline();a&&a.play()}}_run(e){let t=!0;for(let a=0,i=this._queue.length;a<i;++a){const r=this._queue[a],n=r.runner.call(this,e);r.finished=r.finished||n===!0,t=t&&r.finished}return t}_tryRetarget(e,t,a){if(this._history[e]){if(!this._history[e].caller.initialised){const r=this._queue.indexOf(this._history[e].caller);return this._queue.splice(r,1),!1}this._history[e].caller.retarget?this._history[e].caller.retarget.call(this,t,a):this._history[e].morpher.to(t),this._history[e].caller.finished=!1;const i=this.timeline();return i&&i.play(),!0}return!1}}Xe.id=0;class ei{constructor(e=new G,t=-1,a=!0){this.transforms=e,this.id=t,this.done=a}clearTransformsFromQueue(){}}q([Xe,ei],{mergeWith(s){return new ei(s.transforms.lmultiply(this.transforms),s.id)}});const io=(s,e)=>s.lmultiplyO(e),so=s=>s.transforms;function Eh(){const s=this._transformationRunners.runners.map(so).reduce(io,new G);this.transform(s),this._transformationRunners.merge(),this._transformationRunners.length()===1&&(this._frameId=null)}class Dh{constructor(){this.runners=[],this.ids=[]}add(e){if(this.runners.includes(e))return;const t=e.id+1;return this.runners.push(e),this.ids.push(t),this}clearBefore(e){const t=this.ids.indexOf(e+1)||1;return this.ids.splice(0,t,0),this.runners.splice(0,t,new ei).forEach((a=>a.clearTransformsFromQueue())),this}edit(e,t){const a=this.ids.indexOf(e+1);return this.ids.splice(a,1,e+1),this.runners.splice(a,1,t),this}getByID(e){return this.runners[this.ids.indexOf(e+1)]}length(){return this.ids.length}merge(){let e=null;for(let t=0;t<this.runners.length;++t){const a=this.runners[t];if(e&&a.done&&e.done&&(!a._timeline||!a._timeline._runnerIds.includes(a.id))&&(!e._timeline||!e._timeline._runnerIds.includes(e.id))){this.remove(a.id);const i=a.mergeWith(e);this.edit(e.id,i),e=i,--t}else e=a}return this}remove(e){const t=this.ids.indexOf(e+1);return this.ids.splice(t,1),this.runners.splice(t,1),this}}se({Element:{animate(s,e,t){const a=Xe.sanitise(s,e,t),i=this.timeline();return new Xe(a.duration).loop(a).element(this).timeline(i.play()).schedule(a.delay,a.when)},delay(s,e){return this.animate(0,s,e)},_clearTransformRunnersBefore(s){this._transformationRunners.clearBefore(s.id)},_currentTransform(s){return this._transformationRunners.runners.filter((e=>e.id<=s.id)).map(so).reduce(io,new G)},_addRunner(s){this._transformationRunners.add(s),pe.cancelImmediate(this._frameId),this._frameId=pe.immediate(Eh.bind(this))},_prepareRunner(){this._frameId==null&&(this._transformationRunners=new Dh().add(new ei(new G(this))))}}});q(Xe,{attr(s,e){return this.styleAttr("attr",s,e)},css(s,e){return this.styleAttr("css",s,e)},styleAttr(s,e,t){if(typeof e=="string")return this.styleAttr(s,{[e]:t});let a=e;if(this._tryRetarget(s,a))return this;let i=new St(this._stepper).to(a),r=Object.keys(a);return this.queue((function(){i=i.from(this.element()[s](r))}),(function(n){return this.element()[s](i.at(n).valueOf()),i.done()}),(function(n){const o=Object.keys(n),l=(c=r,o.filter((d=>!c.includes(d))));var c;if(l.length){const d=this.element()[s](l),u=new ua(i.from()).valueOf();Object.assign(u,d),i.from(u)}const h=new ua(i.to()).valueOf();Object.assign(h,n),i.to(h),r=o,a=n})),this._rememberMorpher(s,i),this},zoom(s,e){if(this._tryRetarget("zoom",s,e))return this;let t=new St(this._stepper).to(new te(s));return this.queue((function(){t=t.from(this.element().zoom())}),(function(a){return this.element().zoom(t.at(a),e),t.done()}),(function(a,i){e=i,t.to(a)})),this._rememberMorpher("zoom",t),this},transform(s,e,t){if(e=s.relative||e,this._isDeclarative&&!e&&this._tryRetarget("transform",s))return this;const a=G.isMatrixLike(s);t=s.affine!=null?s.affine:t??!a;const i=new St(this._stepper).type(t?Aa:G);let r,n,o,l,c;return this.queue((function(){n=n||this.element(),r=r||rs(s,n),c=new G(e?void 0:n),n._addRunner(this),e||n._clearTransformRunnersBefore(this)}),(function(h){e||this.clearTransform();const{x:d,y:u}=new ge(r).transform(n._currentTransform(this));let g=new G({...s,origin:[d,u]}),p=this._isDeclarative&&o?o:c;if(t){g=g.decompose(d,u),p=p.decompose(d,u);const m=g.rotate,v=p.rotate,b=[m-360,m,m+360],w=b.map((A=>Math.abs(A-v))),k=Math.min(...w),y=w.indexOf(k);g.rotate=b[y]}e&&(a||(g.rotate=s.rotate||0),this._isDeclarative&&l&&(p.rotate=l)),i.from(p),i.to(g);const f=i.at(h);return l=f.rotate,o=new G(f),this.addTransform(o),n._addRunner(this),i.done()}),(function(h){(h.origin||"center").toString()!==(s.origin||"center").toString()&&(r=rs(h,n)),s={...h,origin:r}}),!0),this._isDeclarative&&this._rememberMorpher("transform",i),this},x(s){return this._queueNumber("x",s)},y(s){return this._queueNumber("y",s)},ax(s){return this._queueNumber("ax",s)},ay(s){return this._queueNumber("ay",s)},dx(s=0){return this._queueNumberDelta("x",s)},dy(s=0){return this._queueNumberDelta("y",s)},dmove(s,e){return this.dx(s).dy(e)},_queueNumberDelta(s,e){if(e=new te(e),this._tryRetarget(s,e))return this;const t=new St(this._stepper).to(e);let a=null;return this.queue((function(){a=this.element()[s](),t.from(a),t.to(a+e)}),(function(i){return this.element()[s](t.at(i)),t.done()}),(function(i){t.to(a+new te(i))})),this._rememberMorpher(s,t),this},_queueObject(s,e){if(this._tryRetarget(s,e))return this;const t=new St(this._stepper).to(e);return this.queue((function(){t.from(this.element()[s]())}),(function(a){return this.element()[s](t.at(a)),t.done()})),this._rememberMorpher(s,t),this},_queueNumber(s,e){return this._queueObject(s,new te(e))},cx(s){return this._queueNumber("cx",s)},cy(s){return this._queueNumber("cy",s)},move(s,e){return this.x(s).y(e)},amove(s,e){return this.ax(s).ay(e)},center(s,e){return this.cx(s).cy(e)},size(s,e){let t;return s&&e||(t=this._element.bbox()),s||(s=t.width/t.height*e),e||(e=t.height/t.width*s),this.width(s).height(e)},width(s){return this._queueNumber("width",s)},height(s){return this._queueNumber("height",s)},plot(s,e,t,a){if(arguments.length===4)return this.plot([s,e,t,a]);if(this._tryRetarget("plot",s))return this;const i=new St(this._stepper).type(this._element.MorphArray).to(s);return this.queue((function(){i.from(this._element.array())}),(function(r){return this._element.plot(i.at(r)),i.done()})),this._rememberMorpher("plot",i),this},leading(s){return this._queueNumber("leading",s)},viewbox(s,e,t,a){return this._queueObject("viewbox",new ke(s,e,t,a))},update(s){return typeof s!="object"?this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]}):(s.opacity!=null&&this.attr("stop-opacity",s.opacity),s.color!=null&&this.attr("stop-color",s.color),s.offset!=null&&this.attr("offset",s.offset),this)}}),q(Xe,{rx:Fs,ry:Bs,from:Jn,to:Qn}),ce(Xe,"Runner");class gs extends De{constructor(e,t=e){super(be("svg",e),t),this.namespace()}defs(){return this.isRoot()?Ue(this.node.querySelector("defs"))||this.put(new ui):this.root().defs()}isRoot(){return!this.node.parentNode||!(this.node.parentNode instanceof le.window.SVGElement)&&this.node.parentNode.nodeName!=="#document-fragment"}namespace(){return this.isRoot()?this.attr({xmlns:Hs,version:"1.1"}).attr("xmlns:xlink",Kt,wi):this.root().namespace()}removeNamespace(){return this.attr({xmlns:null,version:null}).attr("xmlns:xlink",null,wi).attr("xmlns:svgjs",null,wi)}root(){return this.isRoot()?this:super.root()}}se({Container:{nested:ve((function(){return this.put(new gs)}))}}),ce(gs,"Svg",!0);let fs=class extends De{constructor(s,e=s){super(be("symbol",s),e)}};se({Container:{symbol:ve((function(){return this.put(new fs)}))}}),ce(fs,"Symbol");var ro=Object.freeze({__proto__:null,amove:function(s,e){return this.ax(s).ay(e)},ax:function(s){return this.attr("x",s)},ay:function(s){return this.attr("y",s)},build:function(s){return this._build=!!s,this},center:function(s,e,t=this.bbox()){return this.cx(s,t).cy(e,t)},cx:function(s,e=this.bbox()){return s==null?e.cx:this.attr("x",this.attr("x")+s-e.cx)},cy:function(s,e=this.bbox()){return s==null?e.cy:this.attr("y",this.attr("y")+s-e.cy)},length:function(){return this.node.getComputedTextLength()},move:function(s,e,t=this.bbox()){return this.x(s,t).y(e,t)},plain:function(s){return this._build===!1&&this.clear(),this.node.appendChild(le.document.createTextNode(s)),this},x:function(s,e=this.bbox()){return s==null?e.x:this.attr("x",this.attr("x")+s-e.x)},y:function(s,e=this.bbox()){return s==null?e.y:this.attr("y",this.attr("y")+s-e.y)}});class et extends We{constructor(e,t=e){super(be("text",e),t),this.dom.leading=this.dom.leading??new te(1.3),this._rebuild=!0,this._build=!1}leading(e){return e==null?this.dom.leading:(this.dom.leading=new te(e),this.rebuild())}rebuild(e){if(typeof e=="boolean"&&(this._rebuild=e),this._rebuild){const t=this;let a=0;const i=this.dom.leading;this.each((function(r){if(ns(this.node))return;const n=le.window.getComputedStyle(this.node).getPropertyValue("font-size"),o=i*new te(n);this.dom.newLined&&(this.attr("x",t.attr("x")),this.text()===`
|
|
6
|
+
`?a+=o:(this.attr("dy",r?o+a:0),a=0))})),this.fire("rebuild")}return this}setData(e){return this.dom=e,this.dom.leading=new te(e.leading||1.3),this}writeDataToDom(){return En(this,this.dom,{leading:1.3}),this}text(e){if(e===void 0){const t=this.node.childNodes;let a=0;e="";for(let i=0,r=t.length;i<r;++i)t[i].nodeName==="textPath"||ns(t[i])?i===0&&(a=i+1):(i!==a&&t[i].nodeType!==3&&Ue(t[i]).dom.newLined===!0&&(e+=`
|
|
7
7
|
`),e+=t[i].textContent);return e}if(this.clear().build(!0),typeof e=="function")e.call(this,this);else for(let t=0,a=(e=(e+"").split(`
|
|
8
|
-
`)).length;t<a;t++)this.newLine(e[t]);return this.build(!1).rebuild()}}q(et,
|
|
9
|
-
`:""):(typeof e=="function"?(this.clear().build(!0),e.call(this,this),this.build(!1)):this.plain(e),this)}}q(Wa,so),se({Tspan:{tspan:ve((function(s=""){const e=new Wa;return this._build||this.clear(),this.put(e).text(s)}))},Text:{newLine:function(s=""){return this.tspan(s).newLine()}}}),ce(Wa,"Tspan");class Mi extends We{constructor(e,t=e){super(be("circle",e),t)}radius(e){return this.attr("r",e)}rx(e){return this.attr("r",e)}ry(e){return this.rx(e)}size(e){return this.radius(new te(e).divide(2))}}q(Mi,{x:Yn,y:Wn,cx:Gn,cy:$n,width:Un,height:qn}),se({Container:{circle:ve((function(s=0){return this.put(new Mi).size(s).move(0,0)}))}}),ce(Mi,"Circle");class Ii extends De{constructor(e,t=e){super(be("clipPath",e),t)}remove(){return this.targets().forEach((function(e){e.unclip()})),super.remove()}targets(){return jt("svg [clip-path*="+this.id()+"]")}}se({Container:{clip:ve((function(){return this.defs().put(new Ii)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(s){const e=s instanceof Ii?s:this.parent().clip().add(s);return this.attr("clip-path","url(#"+e.id()+")")},unclip(){return this.attr("clip-path",null)}}}),ce(Ii,"ClipPath");class wr extends He{constructor(e,t=e){super(be("foreignObject",e),t)}}se({Container:{foreignObject:ve((function(s,e){return this.put(new wr).size(s,e)}))}}),ce(wr,"ForeignObject");var ro=Object.freeze({__proto__:null,dmove:function(s,e){return this.children().forEach((t=>{let a;try{a=t.node instanceof Ca().SVGSVGElement?new ke(t.attr(["x","y","width","height"])):t.bbox()}catch{return}const i=new G(t),r=i.translate(s,e).transform(i.inverse()),n=new ge(a.x,a.y).transform(r);t.move(n.x,n.y)})),this},dx:function(s){return this.dmove(s,0)},dy:function(s){return this.dmove(0,s)},height:function(s,e=this.bbox()){return s==null?e.height:this.size(e.width,s,e)},move:function(s=0,e=0,t=this.bbox()){const a=s-t.x,i=e-t.y;return this.dmove(a,i)},size:function(s,e,t=this.bbox()){const a=Zt(this,s,e,t),i=a.width/t.width,r=a.height/t.height;return this.children().forEach((n=>{const o=new ge(t).transform(new G(n).inverse());n.scale(i,r,o.x,o.y)})),this},width:function(s,e=this.bbox()){return s==null?e.width:this.size(s,e.height,e)},x:function(s,e=this.bbox()){return s==null?e.x:this.move(s,e.y,e)},y:function(s,e=this.bbox()){return s==null?e.y:this.move(e.x,s,e)}});class bt extends De{constructor(e,t=e){super(be("g",e),t)}}q(bt,ro),se({Container:{group:ve((function(){return this.put(new bt)}))}}),ce(bt,"G");class Ra extends De{constructor(e,t=e){super(be("a",e),t)}target(e){return this.attr("target",e)}to(e){return this.attr("href",e,Kt)}}q(Ra,ro),se({Container:{link:ve((function(s){return this.put(new Ra).to(s)}))},Element:{unlink(){const s=this.linker();if(!s)return this;const e=s.parent();if(!e)return this.remove();const t=e.index(s);return e.add(this,t),s.remove(),this},linkTo(s){let e=this.linker();return e||(e=new Ra,this.wrap(e)),typeof s=="function"?s.call(e,e):e.to(s),this},linker(){const s=this.parent();return s&&s.node.nodeName.toLowerCase()==="a"?s:null}}}),ce(Ra,"A");class Li extends De{constructor(e,t=e){super(be("mask",e),t)}remove(){return this.targets().forEach((function(e){e.unmask()})),super.remove()}targets(){return jt("svg [mask*="+this.id()+"]")}}se({Container:{mask:ve((function(){return this.defs().put(new Li)}))},Element:{masker(){return this.reference("mask")},maskWith(s){const e=s instanceof Li?s:this.parent().mask().add(s);return this.attr("mask","url(#"+e.id()+")")},unmask(){return this.attr("mask",null)}}}),ce(Li,"Mask");class Cr extends He{constructor(e,t=e){super(be("stop",e),t)}update(e){return(typeof e=="number"||e instanceof te)&&(e={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),e.opacity!=null&&this.attr("stop-opacity",e.opacity),e.color!=null&&this.attr("stop-color",e.color),e.offset!=null&&this.attr("offset",new te(e.offset)),this}}se({Gradient:{stop:function(s,e,t){return this.put(new Cr).update(s,e,t)}}}),ce(Cr,"Stop");class Ri extends He{constructor(e,t=e){super(be("style",e),t)}addText(e=""){return this.node.textContent+=e,this}font(e,t,a={}){return this.rule("@font-face",{fontFamily:e,src:t,...a})}rule(e,t){return this.addText((function(a,i){if(!a)return"";if(!i)return a;let r=a+"{";for(const n in i)r+=n.replace(/([A-Z])/g,(function(o,l){return"-"+l.toLowerCase()}))+":"+i[n]+";";return r+="}",r})(e,t))}}se("Dom",{style(s,e){return this.put(new Ri).rule(s,e)},fontface(s,e,t){return this.put(new Ri).font(s,e,t)}}),ce(Ri,"Style");class _i extends et{constructor(e,t=e){super(be("textPath",e),t)}array(){const e=this.track();return e?e.array():null}plot(e){const t=this.track();let a=null;return t&&(a=t.plot(e)),e==null?a:this}track(){return this.reference("href")}}se({Container:{textPath:ve((function(s,e){return s instanceof et||(s=this.text(s)),s.path(e)}))},Text:{path:ve((function(s,e=!0){const t=new _i;let a;if(s instanceof Xt||(s=this.defs().path(s)),t.attr("href","#"+s,Kt),e)for(;a=this.node.firstChild;)t.node.appendChild(a);return this.put(t)})),textPath(){return this.findOne("textPath")}},Path:{text:ve((function(s){return s instanceof et||(s=new et().addTo(this.parent()).text(s)),s.path(this)})),targets(){return jt("svg textPath").filter((s=>(s.attr("href")||"").includes(this.id())))}}}),_i.prototype.MorphArray=Qe,ce(_i,"TextPath");class kr extends We{constructor(e,t=e){super(be("use",e),t)}use(e,t){return this.attr("href",(t||"")+"#"+e,Kt)}}se({Container:{use:ve((function(s,e){return this.put(new kr).use(s,e)}))}}),ce(kr,"Use");const Fh=Ee;q([us,gs,Va,da,Xa],Fe("viewbox")),q([It,Rt,Lt,Xt],Fe("marker")),q(et,Fe("Text")),q(Xt,Fe("Path")),q(di,Fe("Defs")),q([et,Wa],Fe("Tspan")),q([Ya,Na,oa,Xe],Fe("radius")),q(ka,Fe("EventTarget")),q(yt,Fe("Dom")),q(He,Fe("Element")),q(We,Fe("Shape")),q([De,Zn],Fe("Container")),q(oa,Fe("Gradient")),q(Xe,Fe("Runner")),zt.extend([...new Set(Hn)]),(function(s=[]){ds.push(...[].concat(s))})([te,me,ke,G,Ot,wt,Qe,ge]),q(ds,{to(s){return new St().type(this.constructor).from(this.toArray()).to(s)},fromArray(s){return this.init(s),this},toConsumable(){return this.toArray()},morph(s,e,t,a,i){return this.fromArray(s.map((function(r,n){return a.step(r,e[n],t,i[n],i)})))}});class we extends He{constructor(e){super(be("filter",e),e),this.$source="SourceGraphic",this.$sourceAlpha="SourceAlpha",this.$background="BackgroundImage",this.$backgroundAlpha="BackgroundAlpha",this.$fill="FillPaint",this.$stroke="StrokePaint",this.$autoSetIn=!0}put(e,t){return!(e=super.put(e,t)).attr("in")&&this.$autoSetIn&&e.attr("in",this.$source),e.attr("result")||e.attr("result",e.id()),e}remove(){return this.targets().each("unfilter"),super.remove()}targets(){return jt('svg [filter*="'+this.id()+'"]')}toString(){return"url(#"+this.id()+")"}}class Xs extends He{constructor(e,t){super(e,t),this.result(this.id())}in(e){if(e==null){const t=this.attr("in");return this.parent()&&this.parent().find(`[result="${t}"]`)[0]||t}return this.attr("in",e)}result(e){return this.attr("result",e)}toString(){return this.result()}}const $e=s=>function(...e){for(let t=s.length;t--;)e[t]!=null&&this.attr(s[t],e[t])},Bh={blend:$e(["in","in2","mode"]),colorMatrix:$e(["type","values"]),composite:$e(["in","in2","operator"]),convolveMatrix:function(s){s=new Ot(s).toString(),this.attr({order:Math.sqrt(s.split(" ").length),kernelMatrix:s})},diffuseLighting:$e(["surfaceScale","lightingColor","diffuseConstant","kernelUnitLength"]),displacementMap:$e(["in","in2","scale","xChannelSelector","yChannelSelector"]),dropShadow:$e(["in","dx","dy","stdDeviation"]),flood:$e(["flood-color","flood-opacity"]),gaussianBlur:function(s=0,e=s){this.attr("stdDeviation",s+" "+e)},image:function(s){this.attr("href",s,Kt)},morphology:$e(["operator","radius"]),offset:$e(["dx","dy"]),specularLighting:$e(["surfaceScale","lightingColor","diffuseConstant","specularExponent","kernelUnitLength"]),tile:$e([]),turbulence:$e(["baseFrequency","numOctaves","seed","stitchTiles","type"])};["blend","colorMatrix","componentTransfer","composite","convolveMatrix","diffuseLighting","displacementMap","dropShadow","flood","gaussianBlur","image","merge","morphology","offset","specularLighting","tile","turbulence"].forEach((s=>{const e=qt(s),t=Bh[s];we[e+"Effect"]=class extends Xs{constructor(a){super(be("fe"+e,a),a)}update(a){return t.apply(this,a),this}},we.prototype[s]=ve((function(a,...i){const r=new we[e+"Effect"];return a==null?this.put(r):(typeof a=="function"?a.call(r,r):i.unshift(a),this.put(r).update(i))}))})),q(we,{merge(s){const e=this.put(new we.MergeEffect);return typeof s=="function"?(s.call(e,e),e):((s instanceof Array?s:[...arguments]).forEach((t=>{t instanceof we.MergeNode?e.put(t):e.mergeNode(t)})),e)},componentTransfer(s={}){const e=this.put(new we.ComponentTransferEffect);if(typeof s=="function")return s.call(e,e),e;s.r||s.g||s.b||s.a||(s={r:s,g:s,b:s,a:s});for(const t in s)e.add(new we["Func"+t.toUpperCase()](s[t]));return e}});["distantLight","pointLight","spotLight","mergeNode","FuncR","FuncG","FuncB","FuncA"].forEach((s=>{const e=qt(s);we[e]=class extends Xs{constructor(t){super(be("fe"+e,t),t)}}}));["funcR","funcG","funcB","funcA"].forEach((function(s){const e=we[qt(s)],t=ve((function(){return this.put(new e)}));we.ComponentTransferEffect.prototype[s]=t}));["distantLight","pointLight","spotLight"].forEach((s=>{const e=we[qt(s)],t=ve((function(){return this.put(new e)}));we.DiffuseLightingEffect.prototype[s]=t,we.SpecularLightingEffect.prototype[s]=t})),q(we.MergeEffect,{mergeNode(s){return this.put(new we.MergeNode).attr("in",s)}}),q(di,{filter:function(s){const e=this.put(new we);return typeof s=="function"&&s.call(e,e),e}}),q(De,{filter:function(s){return this.defs().filter(s)}}),q(He,{filterWith:function(s){const e=s instanceof we?s:this.defs().filter(s);return this.attr("filter",e)},unfilter:function(s){return this.attr("filter",null)},filterer(){return this.reference("filter")}});const Nh={blend:function(s,e){return this.parent()&&this.parent().blend(this,s,e)},colorMatrix:function(s,e){return this.parent()&&this.parent().colorMatrix(s,e).in(this)},componentTransfer:function(s){return this.parent()&&this.parent().componentTransfer(s).in(this)},composite:function(s,e){return this.parent()&&this.parent().composite(this,s,e)},convolveMatrix:function(s){return this.parent()&&this.parent().convolveMatrix(s).in(this)},diffuseLighting:function(s,e,t,a){return this.parent()&&this.parent().diffuseLighting(s,t,a).in(this)},displacementMap:function(s,e,t,a){return this.parent()&&this.parent().displacementMap(this,s,e,t,a)},dropShadow:function(s,e,t){return this.parent()&&this.parent().dropShadow(this,s,e,t).in(this)},flood:function(s,e){return this.parent()&&this.parent().flood(s,e)},gaussianBlur:function(s,e){return this.parent()&&this.parent().gaussianBlur(s,e).in(this)},image:function(s){return this.parent()&&this.parent().image(s)},merge:function(s){return s=s instanceof Array?s:[...s],this.parent()&&this.parent().merge(this,...s)},morphology:function(s,e){return this.parent()&&this.parent().morphology(s,e).in(this)},offset:function(s,e){return this.parent()&&this.parent().offset(s,e).in(this)},specularLighting:function(s,e,t,a,i){return this.parent()&&this.parent().specularLighting(s,t,a,i).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(s,e,t,a,i){return this.parent()&&this.parent().turbulence(s,e,t,a,i).in(this)}};q(Xs,Nh),q(we.MergeEffect,{in:function(s){return s instanceof we.MergeNode?this.add(s,0):this.add(new we.MergeNode().in(s),0),this}}),q([we.CompositeEffect,we.BlendEffect,we.DisplacementMapEffect],{in2:function(s){if(s==null){const e=this.attr("in2");return this.parent()&&this.parent().find(`[result="${e}"]`)[0]||e}return this.attr("in2",s)}}),we.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]};var Oe=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"getDefaultFilter",value:function(e,t){var a=this.w;e.unfilter(!0),new we().size("120%","180%","-5%","-40%"),a.config.chart.dropShadow.enabled&&this.dropShadow(e,a.config.chart.dropShadow,t)}},{key:"applyFilter",value:function(e,t,a){var i,r=this,n=this.w;if(e.unfilter(!0),a!=="none"){var o,l,c=n.config.chart.dropShadow,h=a==="lighten"?2:.3;e.filterWith((function(d){d.colorMatrix({type:"matrix",values:`
|
|
8
|
+
`)).length;t<a;t++)this.newLine(e[t]);return this.build(!1).rebuild()}}q(et,ro),se({Container:{text:ve((function(s=""){return this.put(new et).text(s)})),plain:ve((function(s=""){return this.put(new et).plain(s)}))}}),ce(et,"Text");class Wa extends We{constructor(e,t=e){super(be("tspan",e),t),this._build=!1}dx(e){return this.attr("dx",e)}dy(e){return this.attr("dy",e)}newLine(){this.dom.newLined=!0;const e=this.parent();if(!(e instanceof et))return this;const t=e.index(this),a=le.window.getComputedStyle(this.node).getPropertyValue("font-size"),i=e.dom.leading*new te(a);return this.dy(t?i:0).attr("x",e.x())}text(e){return e==null?this.node.textContent+(this.dom.newLined?`
|
|
9
|
+
`:""):(typeof e=="function"?(this.clear().build(!0),e.call(this,this),this.build(!1)):this.plain(e),this)}}q(Wa,ro),se({Tspan:{tspan:ve((function(s=""){const e=new Wa;return this._build||this.clear(),this.put(e).text(s)}))},Text:{newLine:function(s=""){return this.tspan(s).newLine()}}}),ce(Wa,"Tspan");class Ii extends We{constructor(e,t=e){super(be("circle",e),t)}radius(e){return this.attr("r",e)}rx(e){return this.attr("r",e)}ry(e){return this.rx(e)}size(e){return this.radius(new te(e).divide(2))}}q(Ii,{x:Wn,y:Gn,cx:$n,cy:Un,width:qn,height:Zn}),se({Container:{circle:ve((function(s=0){return this.put(new Ii).size(s).move(0,0)}))}}),ce(Ii,"Circle");class Li extends De{constructor(e,t=e){super(be("clipPath",e),t)}remove(){return this.targets().forEach((function(e){e.unclip()})),super.remove()}targets(){return jt("svg [clip-path*="+this.id()+"]")}}se({Container:{clip:ve((function(){return this.defs().put(new Li)}))},Element:{clipper(){return this.reference("clip-path")},clipWith(s){const e=s instanceof Li?s:this.parent().clip().add(s);return this.attr("clip-path","url(#"+e.id()+")")},unclip(){return this.attr("clip-path",null)}}}),ce(Li,"ClipPath");class Cr extends He{constructor(e,t=e){super(be("foreignObject",e),t)}}se({Container:{foreignObject:ve((function(s,e){return this.put(new Cr).size(s,e)}))}}),ce(Cr,"ForeignObject");var no=Object.freeze({__proto__:null,dmove:function(s,e){return this.children().forEach((t=>{let a;try{a=t.node instanceof Ca().SVGSVGElement?new ke(t.attr(["x","y","width","height"])):t.bbox()}catch{return}const i=new G(t),r=i.translate(s,e).transform(i.inverse()),n=new ge(a.x,a.y).transform(r);t.move(n.x,n.y)})),this},dx:function(s){return this.dmove(s,0)},dy:function(s){return this.dmove(0,s)},height:function(s,e=this.bbox()){return s==null?e.height:this.size(e.width,s,e)},move:function(s=0,e=0,t=this.bbox()){const a=s-t.x,i=e-t.y;return this.dmove(a,i)},size:function(s,e,t=this.bbox()){const a=Zt(this,s,e,t),i=a.width/t.width,r=a.height/t.height;return this.children().forEach((n=>{const o=new ge(t).transform(new G(n).inverse());n.scale(i,r,o.x,o.y)})),this},width:function(s,e=this.bbox()){return s==null?e.width:this.size(s,e.height,e)},x:function(s,e=this.bbox()){return s==null?e.x:this.move(s,e.y,e)},y:function(s,e=this.bbox()){return s==null?e.y:this.move(e.x,s,e)}});class bt extends De{constructor(e,t=e){super(be("g",e),t)}}q(bt,no),se({Container:{group:ve((function(){return this.put(new bt)}))}}),ce(bt,"G");class Ra extends De{constructor(e,t=e){super(be("a",e),t)}target(e){return this.attr("target",e)}to(e){return this.attr("href",e,Kt)}}q(Ra,no),se({Container:{link:ve((function(s){return this.put(new Ra).to(s)}))},Element:{unlink(){const s=this.linker();if(!s)return this;const e=s.parent();if(!e)return this.remove();const t=e.index(s);return e.add(this,t),s.remove(),this},linkTo(s){let e=this.linker();return e||(e=new Ra,this.wrap(e)),typeof s=="function"?s.call(e,e):e.to(s),this},linker(){const s=this.parent();return s&&s.node.nodeName.toLowerCase()==="a"?s:null}}}),ce(Ra,"A");class Ri extends De{constructor(e,t=e){super(be("mask",e),t)}remove(){return this.targets().forEach((function(e){e.unmask()})),super.remove()}targets(){return jt("svg [mask*="+this.id()+"]")}}se({Container:{mask:ve((function(){return this.defs().put(new Ri)}))},Element:{masker(){return this.reference("mask")},maskWith(s){const e=s instanceof Ri?s:this.parent().mask().add(s);return this.attr("mask","url(#"+e.id()+")")},unmask(){return this.attr("mask",null)}}}),ce(Ri,"Mask");class kr extends He{constructor(e,t=e){super(be("stop",e),t)}update(e){return(typeof e=="number"||e instanceof te)&&(e={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),e.opacity!=null&&this.attr("stop-opacity",e.opacity),e.color!=null&&this.attr("stop-color",e.color),e.offset!=null&&this.attr("offset",new te(e.offset)),this}}se({Gradient:{stop:function(s,e,t){return this.put(new kr).update(s,e,t)}}}),ce(kr,"Stop");class _i extends He{constructor(e,t=e){super(be("style",e),t)}addText(e=""){return this.node.textContent+=e,this}font(e,t,a={}){return this.rule("@font-face",{fontFamily:e,src:t,...a})}rule(e,t){return this.addText((function(a,i){if(!a)return"";if(!i)return a;let r=a+"{";for(const n in i)r+=n.replace(/([A-Z])/g,(function(o,l){return"-"+l.toLowerCase()}))+":"+i[n]+";";return r+="}",r})(e,t))}}se("Dom",{style(s,e){return this.put(new _i).rule(s,e)},fontface(s,e,t){return this.put(new _i).font(s,e,t)}}),ce(_i,"Style");class Pi extends et{constructor(e,t=e){super(be("textPath",e),t)}array(){const e=this.track();return e?e.array():null}plot(e){const t=this.track();let a=null;return t&&(a=t.plot(e)),e==null?a:this}track(){return this.reference("href")}}se({Container:{textPath:ve((function(s,e){return s instanceof et||(s=this.text(s)),s.path(e)}))},Text:{path:ve((function(s,e=!0){const t=new Pi;let a;if(s instanceof Xt||(s=this.defs().path(s)),t.attr("href","#"+s,Kt),e)for(;a=this.node.firstChild;)t.node.appendChild(a);return this.put(t)})),textPath(){return this.findOne("textPath")}},Path:{text:ve((function(s){return s instanceof et||(s=new et().addTo(this.parent()).text(s)),s.path(this)})),targets(){return jt("svg textPath").filter((s=>(s.attr("href")||"").includes(this.id())))}}}),Pi.prototype.MorphArray=Qe,ce(Pi,"TextPath");class Ar extends We{constructor(e,t=e){super(be("use",e),t)}use(e,t){return this.attr("href",(t||"")+"#"+e,Kt)}}se({Container:{use:ve((function(s,e){return this.put(new Ar).use(s,e)}))}}),ce(Ar,"Use");const Fh=Ee;q([gs,fs,Va,da,Xa],Fe("viewbox")),q([It,Rt,Lt,Xt],Fe("marker")),q(et,Fe("Text")),q(Xt,Fe("Path")),q(ui,Fe("Defs")),q([et,Wa],Fe("Tspan")),q([Ya,Na,oa,Xe],Fe("radius")),q(ka,Fe("EventTarget")),q(yt,Fe("Dom")),q(He,Fe("Element")),q(We,Fe("Shape")),q([De,Kn],Fe("Container")),q(oa,Fe("Gradient")),q(Xe,Fe("Runner")),zt.extend([...new Set(Tn)]),(function(s=[]){us.push(...[].concat(s))})([te,me,ke,G,Ot,wt,Qe,ge]),q(us,{to(s){return new St().type(this.constructor).from(this.toArray()).to(s)},fromArray(s){return this.init(s),this},toConsumable(){return this.toArray()},morph(s,e,t,a,i){return this.fromArray(s.map((function(r,n){return a.step(r,e[n],t,i[n],i)})))}});class we extends He{constructor(e){super(be("filter",e),e),this.$source="SourceGraphic",this.$sourceAlpha="SourceAlpha",this.$background="BackgroundImage",this.$backgroundAlpha="BackgroundAlpha",this.$fill="FillPaint",this.$stroke="StrokePaint",this.$autoSetIn=!0}put(e,t){return!(e=super.put(e,t)).attr("in")&&this.$autoSetIn&&e.attr("in",this.$source),e.attr("result")||e.attr("result",e.id()),e}remove(){return this.targets().each("unfilter"),super.remove()}targets(){return jt('svg [filter*="'+this.id()+'"]')}toString(){return"url(#"+this.id()+")"}}class Xs extends He{constructor(e,t){super(e,t),this.result(this.id())}in(e){if(e==null){const t=this.attr("in");return this.parent()&&this.parent().find(`[result="${t}"]`)[0]||t}return this.attr("in",e)}result(e){return this.attr("result",e)}toString(){return this.result()}}const $e=s=>function(...e){for(let t=s.length;t--;)e[t]!=null&&this.attr(s[t],e[t])},Bh={blend:$e(["in","in2","mode"]),colorMatrix:$e(["type","values"]),composite:$e(["in","in2","operator"]),convolveMatrix:function(s){s=new Ot(s).toString(),this.attr({order:Math.sqrt(s.split(" ").length),kernelMatrix:s})},diffuseLighting:$e(["surfaceScale","lightingColor","diffuseConstant","kernelUnitLength"]),displacementMap:$e(["in","in2","scale","xChannelSelector","yChannelSelector"]),dropShadow:$e(["in","dx","dy","stdDeviation"]),flood:$e(["flood-color","flood-opacity"]),gaussianBlur:function(s=0,e=s){this.attr("stdDeviation",s+" "+e)},image:function(s){this.attr("href",s,Kt)},morphology:$e(["operator","radius"]),offset:$e(["dx","dy"]),specularLighting:$e(["surfaceScale","lightingColor","diffuseConstant","specularExponent","kernelUnitLength"]),tile:$e([]),turbulence:$e(["baseFrequency","numOctaves","seed","stitchTiles","type"])};["blend","colorMatrix","componentTransfer","composite","convolveMatrix","diffuseLighting","displacementMap","dropShadow","flood","gaussianBlur","image","merge","morphology","offset","specularLighting","tile","turbulence"].forEach((s=>{const e=qt(s),t=Bh[s];we[e+"Effect"]=class extends Xs{constructor(a){super(be("fe"+e,a),a)}update(a){return t.apply(this,a),this}},we.prototype[s]=ve((function(a,...i){const r=new we[e+"Effect"];return a==null?this.put(r):(typeof a=="function"?a.call(r,r):i.unshift(a),this.put(r).update(i))}))})),q(we,{merge(s){const e=this.put(new we.MergeEffect);return typeof s=="function"?(s.call(e,e),e):((s instanceof Array?s:[...arguments]).forEach((t=>{t instanceof we.MergeNode?e.put(t):e.mergeNode(t)})),e)},componentTransfer(s={}){const e=this.put(new we.ComponentTransferEffect);if(typeof s=="function")return s.call(e,e),e;s.r||s.g||s.b||s.a||(s={r:s,g:s,b:s,a:s});for(const t in s)e.add(new we["Func"+t.toUpperCase()](s[t]));return e}});["distantLight","pointLight","spotLight","mergeNode","FuncR","FuncG","FuncB","FuncA"].forEach((s=>{const e=qt(s);we[e]=class extends Xs{constructor(t){super(be("fe"+e,t),t)}}}));["funcR","funcG","funcB","funcA"].forEach((function(s){const e=we[qt(s)],t=ve((function(){return this.put(new e)}));we.ComponentTransferEffect.prototype[s]=t}));["distantLight","pointLight","spotLight"].forEach((s=>{const e=we[qt(s)],t=ve((function(){return this.put(new e)}));we.DiffuseLightingEffect.prototype[s]=t,we.SpecularLightingEffect.prototype[s]=t})),q(we.MergeEffect,{mergeNode(s){return this.put(new we.MergeNode).attr("in",s)}}),q(ui,{filter:function(s){const e=this.put(new we);return typeof s=="function"&&s.call(e,e),e}}),q(De,{filter:function(s){return this.defs().filter(s)}}),q(He,{filterWith:function(s){const e=s instanceof we?s:this.defs().filter(s);return this.attr("filter",e)},unfilter:function(s){return this.attr("filter",null)},filterer(){return this.reference("filter")}});const Nh={blend:function(s,e){return this.parent()&&this.parent().blend(this,s,e)},colorMatrix:function(s,e){return this.parent()&&this.parent().colorMatrix(s,e).in(this)},componentTransfer:function(s){return this.parent()&&this.parent().componentTransfer(s).in(this)},composite:function(s,e){return this.parent()&&this.parent().composite(this,s,e)},convolveMatrix:function(s){return this.parent()&&this.parent().convolveMatrix(s).in(this)},diffuseLighting:function(s,e,t,a){return this.parent()&&this.parent().diffuseLighting(s,t,a).in(this)},displacementMap:function(s,e,t,a){return this.parent()&&this.parent().displacementMap(this,s,e,t,a)},dropShadow:function(s,e,t){return this.parent()&&this.parent().dropShadow(this,s,e,t).in(this)},flood:function(s,e){return this.parent()&&this.parent().flood(s,e)},gaussianBlur:function(s,e){return this.parent()&&this.parent().gaussianBlur(s,e).in(this)},image:function(s){return this.parent()&&this.parent().image(s)},merge:function(s){return s=s instanceof Array?s:[...s],this.parent()&&this.parent().merge(this,...s)},morphology:function(s,e){return this.parent()&&this.parent().morphology(s,e).in(this)},offset:function(s,e){return this.parent()&&this.parent().offset(s,e).in(this)},specularLighting:function(s,e,t,a,i){return this.parent()&&this.parent().specularLighting(s,t,a,i).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(s,e,t,a,i){return this.parent()&&this.parent().turbulence(s,e,t,a,i).in(this)}};q(Xs,Nh),q(we.MergeEffect,{in:function(s){return s instanceof we.MergeNode?this.add(s,0):this.add(new we.MergeNode().in(s),0),this}}),q([we.CompositeEffect,we.BlendEffect,we.DisplacementMapEffect],{in2:function(s){if(s==null){const e=this.attr("in2");return this.parent()&&this.parent().find(`[result="${e}"]`)[0]||e}return this.attr("in2",s)}}),we.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]};var Oe=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"getDefaultFilter",value:function(e,t){var a=this.w;e.unfilter(!0),new we().size("120%","180%","-5%","-40%"),a.config.chart.dropShadow.enabled&&this.dropShadow(e,a.config.chart.dropShadow,t)}},{key:"applyFilter",value:function(e,t,a){var i,r=this,n=this.w;if(e.unfilter(!0),a!=="none"){var o,l,c=n.config.chart.dropShadow,h=a==="lighten"?2:.3;e.filterWith((function(d){d.colorMatrix({type:"matrix",values:`
|
|
10
10
|
`.concat(h,` 0 0 0 0
|
|
11
11
|
0 `).concat(h,` 0 0 0
|
|
12
12
|
0 0 `).concat(h,` 0 0
|
|
@@ -26,13 +26,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
26
26
|
L `).concat(e+i," ").concat(t);break;default:i*=2,r="M ".concat(e,", ").concat(t,`
|
|
27
27
|
m -`).concat(i/2,`, 0
|
|
28
28
|
a `).concat(i/2,",").concat(i/2," 0 1,0 ").concat(i,`,0
|
|
29
|
-
a `).concat(i/2,",").concat(i/2," 0 1,0 -").concat(i,",0")}return r}},{key:"drawMarkerShape",value:function(e,t,a,i,r){var n=this.drawPath({d:this.getMarkerPath(e,t,a,i,r),stroke:r.pointStrokeColor,strokeDashArray:r.pointStrokeDashArray,strokeWidth:r.pointStrokeWidth,fill:r.pointFillColor,fillOpacity:r.pointFillOpacity,strokeOpacity:r.pointStrokeOpacity});return n.attr({cx:e,cy:t,shape:r.shape,class:r.class?r.class:""}),n}},{key:"drawMarker",value:function(e,t,a){e=e||0;var i=a.pSize||0;return L.isNumber(t)||(i=0,t=0),this.drawMarkerShape(e,t,a?.shape,i,F(F({},a),a.shape==="line"||a.shape==="plus"||a.shape==="cross"?{pointStrokeColor:a.pointFillColor,pointStrokeOpacity:a.pointFillOpacity}:{}))}},{key:"pathMouseEnter",value:function(e,t){var a=this.w,i=new Oe(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10);if(typeof a.config.chart.events.dataPointMouseEnter=="function"&&a.config.chart.events.dataPointMouseEnter(t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}),this.ctx.events.fireEvent("dataPointMouseEnter",[t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}]),(a.config.states.active.filter.type==="none"||e.node.getAttribute("selected")!=="true")&&a.config.states.hover.filter.type!=="none"&&!a.globals.isTouchDevice){var o=a.config.states.hover.filter;i.applyFilter(e,r,o.type)}}},{key:"pathMouseLeave",value:function(e,t){var a=this.w,i=new Oe(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10);typeof a.config.chart.events.dataPointMouseLeave=="function"&&a.config.chart.events.dataPointMouseLeave(t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}),this.ctx.events.fireEvent("dataPointMouseLeave",[t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}]),a.config.states.active.filter.type!=="none"&&e.node.getAttribute("selected")==="true"||a.config.states.hover.filter.type!=="none"&&i.getDefaultFilter(e,r)}},{key:"pathMouseDown",value:function(e,t){var a=this.w,i=new Oe(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10),o="false";if(e.node.getAttribute("selected")==="true"){if(e.node.setAttribute("selected","false"),a.globals.selectedDataPoints[r].indexOf(n)>-1){var l=a.globals.selectedDataPoints[r].indexOf(n);a.globals.selectedDataPoints[r].splice(l,1)}}else{if(!a.config.states.active.allowMultipleDataPointsSelection&&a.globals.selectedDataPoints.length>0){a.globals.selectedDataPoints=[];var c=a.globals.dom.Paper.find(".apexcharts-series path:not(.apexcharts-decoration-element)"),h=a.globals.dom.Paper.find(".apexcharts-series circle:not(.apexcharts-decoration-element), .apexcharts-series rect:not(.apexcharts-decoration-element)"),d=function(p){Array.prototype.forEach.call(p,(function(f){f.node.setAttribute("selected","false"),i.getDefaultFilter(f,r)}))};d(c),d(h)}e.node.setAttribute("selected","true"),o="true",a.globals.selectedDataPoints[r]===void 0&&(a.globals.selectedDataPoints[r]=[]),a.globals.selectedDataPoints[r].push(n)}if(o==="true"){var u=a.config.states.active.filter;if(u!=="none")i.applyFilter(e,r,u.type);else if(a.config.states.hover.filter!=="none"&&!a.globals.isTouchDevice){var g=a.config.states.hover.filter;i.applyFilter(e,r,g.type)}}else a.config.states.active.filter.type!=="none"&&(a.config.states.hover.filter.type==="none"||a.globals.isTouchDevice?i.getDefaultFilter(e,r):(g=a.config.states.hover.filter,i.applyFilter(e,r,g.type)));typeof a.config.chart.events.dataPointSelection=="function"&&a.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:n,w:a}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:n,w:a}])}},{key:"rotateAroundCenter",value:function(e){var t={};return e&&typeof e.getBBox=="function"&&(t=e.getBBox()),{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,a,i){var r=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],n=this.w,o=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:a,foreColor:"#fff",opacity:0});i&&o.attr("transform",i),n.globals.dom.Paper.add(o);var l=o.bbox();return r||(l=o.node.getBoundingClientRect()),o.remove(),{width:l.width,height:l.height}}},{key:"placeTextWithEllipsis",value:function(e,t,a){if(typeof e.getComputedTextLength=="function"&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=a/1.1)){for(var i=t.length-3;i>0;i-=3)if(e.getSubStringLength(0,i)<=a/1.1)return void(e.textContent=t.substring(0,i)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var a in t)t.hasOwnProperty(a)&&e.setAttribute(a,t[a])}}]),s})(),Ae=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"getStackedSeriesTotals",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=this.w,a=[];if(t.globals.series.length===0)return a;for(var i=0;i<t.globals.series[t.globals.maxValsInArrayIndex].length;i++){for(var r=0,n=0;n<t.globals.series.length;n++)t.globals.series[n][i]!==void 0&&e.indexOf(n)===-1&&(r+=t.globals.series[n][i]);a.push(r)}return a}},{key:"getSeriesTotalByIndex",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return e===null?this.w.config.series.reduce((function(t,a){return t+a}),0):this.w.globals.series[e].reduce((function(t,a){return t+a}),0)}},{key:"getStackedSeriesTotalsByGroups",value:function(){var e=this,t=this.w,a=[];return t.globals.seriesGroups.forEach((function(i){var r=[];t.config.series.forEach((function(o,l){i.indexOf(t.globals.seriesNames[l])>-1&&r.push(l)}));var n=t.globals.series.map((function(o,l){return r.indexOf(l)===-1?l:-1})).filter((function(o){return o!==-1}));a.push(e.getStackedSeriesTotals(n))})),a}},{key:"setSeriesYAxisMappings",value:function(){var e=this.w.globals,t=this.w.config,a=[],i=[],r=[],n=e.series.length>t.yaxis.length||t.yaxis.some((function(d){return Array.isArray(d.seriesName)}));t.series.forEach((function(d,u){r.push(u),i.push(null)})),t.yaxis.forEach((function(d,u){a[u]=[]}));var o=[];t.yaxis.forEach((function(d,u){var g=!1;if(d.seriesName){var p=[];Array.isArray(d.seriesName)?p=d.seriesName:p.push(d.seriesName),p.forEach((function(f){t.series.forEach((function(m,v){if(m.name===f){var b=v;u===v||n?!n||r.indexOf(v)>-1?a[u].push([u,v]):console.warn("Series '"+m.name+"' referenced more than once in what looks like the new style. That is, when using either seriesName: [], or when there are more series than yaxes."):(a[v].push([v,u]),b=u),g=!0,(b=r.indexOf(b))!==-1&&r.splice(b,1)}}))}))}g||o.push(u)})),a=a.map((function(d,u){var g=[];return d.forEach((function(p){i[p[1]]=p[0],g.push(p[1])})),g}));for(var l=t.yaxis.length-1,c=0;c<o.length&&(l=o[c],a[l]=[],r);c++){var h=r[0];r.shift(),a[l].push(h),i[h]=l}r.forEach((function(d){a[l].push(d),i[d]=l})),e.seriesYAxisMap=a.map((function(d){return d})),e.seriesYAxisReverseMap=i.map((function(d){return d})),e.seriesYAxisMap.forEach((function(d,u){d.forEach((function(g){t.series[g]&&t.series[g].group===void 0&&(t.series[g].group="apexcharts-axis-".concat(u.toString()))}))}))}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(e===null?this.w.config.series.filter((function(t){return t!==null})):this.w.config.series[e].data.filter((function(t){return t!==null}))).length===0}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every((function(t,a,i){return t===i[0]}))}},{key:"getCategoryLabels",value:function(e){var t=this.w,a=e.slice();return t.config.xaxis.convertedCatToNumeric&&(a=e.map((function(i,r){return t.config.xaxis.labels.formatter(i-t.globals.minX+1)}))),a}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map((function(t){return t.length})).indexOf(Math.max.apply(Math,e.globals.series.map((function(t){return t.length}))))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach((function(a){t=Math.max(t,a)})),e.config.markers.discrete&&e.config.markers.discrete.length&&e.config.markers.discrete.forEach((function(a){t=Math.max(t,a.size)})),t>0&&(e.config.markers.hover.size>0?t=e.config.markers.hover.size:t+=e.config.markers.hover.sizeOffset),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map((function(t,a){var i=0;if(Array.isArray(t))for(var r=0;r<t.length;r++)i+=t[r];else i+=t;return i}))}},{key:"getSeriesTotalsXRange",value:function(e,t){var a=this.w;return a.globals.series.map((function(i,r){for(var n=0,o=0;o<i.length;o++)a.globals.seriesX[r][o]>e&&a.globals.seriesX[r][o]<t&&(n+=i[o]);return n}))}},{key:"getPercentSeries",value:function(){var e=this.w;e.globals.seriesPercent=e.globals.series.map((function(t,a){var i=[];if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=e.globals.stackedSeriesTotals[r],o=0;n&&(o=100*t[r]/n),i.push(o)}else{var l=100*t/e.globals.seriesTotals.reduce((function(c,h){return c+h}),0);i.push(l)}return i}))}},{key:"getCalculatedRatios",value:function(){var e,t,a,i=this,r=this.w,n=r.globals,o=[],l=0,c=[],h=.1,d=0;if(n.yRange=[],n.isMultipleYAxis)for(var u=0;u<n.minYArr.length;u++)n.yRange.push(Math.abs(n.minYArr[u]-n.maxYArr[u])),c.push(0);else n.yRange.push(Math.abs(n.minY-n.maxY));n.xRange=Math.abs(n.maxX-n.minX),n.zRange=Math.abs(n.maxZ-n.minZ);for(var g=0;g<n.yRange.length;g++)o.push(n.yRange[g]/n.gridHeight);if(t=n.xRange/n.gridWidth,e=n.yRange/n.gridWidth,a=n.xRange/n.gridHeight,(l=n.zRange/n.gridHeight*16)||(l=1),n.minY!==Number.MIN_VALUE&&Math.abs(n.minY)!==0&&(n.hasNegs=!0),r.globals.seriesYAxisReverseMap.length>0){var p=function(m,v){var b=r.config.yaxis[r.globals.seriesYAxisReverseMap[v]],w=m<0?-1:1;return m=Math.abs(m),b.logarithmic&&(m=i.getBaseLog(b.logBase,m)),-w*m/o[v]};if(n.isMultipleYAxis){c=[];for(var f=0;f<o.length;f++)c.push(p(n.minYArr[f],f))}else(c=[]).push(p(n.minY,0)),n.minY!==Number.MIN_VALUE&&Math.abs(n.minY)!==0&&(h=-n.minY/e,d=n.minX/t)}else(c=[]).push(0),h=0,d=0;return{yRatio:o,invertedYRatio:e,zRatio:l,xRatio:t,invertedXRatio:a,baseLineInvertedY:h,baseLineY:c,baseLineX:d}}},{key:"getLogSeries",value:function(e){var t=this,a=this.w;return a.globals.seriesLog=e.map((function(i,r){var n=a.globals.seriesYAxisReverseMap[r];return a.config.yaxis[n]&&a.config.yaxis[n].logarithmic?i.map((function(o){return o===null?null:t.getLogVal(a.config.yaxis[n].logBase,o,r)})):i})),a.globals.invalidLogScale?e:a.globals.seriesLog}},{key:"getLogValAtSeriesIndex",value:function(e,t){if(e===null)return null;var a=this.w,i=a.globals.seriesYAxisReverseMap[t];return a.config.yaxis[i]&&a.config.yaxis[i].logarithmic?this.getLogVal(a.config.yaxis[i].logBase,e,t):e}},{key:"getBaseLog",value:function(e,t){return Math.log(t)/Math.log(e)}},{key:"getLogVal",value:function(e,t,a){if(t<=0)return 0;var i=this.w,r=i.globals.minYArr[a]===0?-1:this.getBaseLog(e,i.globals.minYArr[a]),n=(i.globals.maxYArr[a]===0?0:this.getBaseLog(e,i.globals.maxYArr[a]))-r;return t<1?t/n:(this.getBaseLog(e,t)-r)/n}},{key:"getLogYRatios",value:function(e){var t=this,a=this.w,i=this.w.globals;return i.yLogRatio=e.slice(),i.logYRange=i.yRange.map((function(r,n){var o=a.globals.seriesYAxisReverseMap[n];if(a.config.yaxis[o]&&t.w.config.yaxis[o].logarithmic){var l,c=-Number.MAX_VALUE,h=Number.MIN_VALUE;return i.seriesLog.forEach((function(d,u){d.forEach((function(g){a.config.yaxis[u]&&a.config.yaxis[u].logarithmic&&(c=Math.max(g,c),h=Math.min(g,h))}))})),l=Math.pow(i.yRange[n],Math.abs(h-c)/i.yRange[n]),i.yLogRatio[n]=l/i.gridHeight,l}})),i.invalidLogScale?e.slice():i.yLogRatio}},{key:"drawSeriesByGroup",value:function(e,t,a,i){var r=this.w,n=[];return e.series.length>0&&t.forEach((function(o){var l=[],c=[];e.i.forEach((function(h,d){r.config.series[h].group===o&&(l.push(e.series[d]),c.push(h))})),l.length>0&&n.push(i.draw(l,a,c))})),n}}],[{key:"checkComboSeries",value:function(e,t){var a=!1,i=0,r=0;return t===void 0&&(t="line"),e.length&&e[0].type!==void 0&&e.forEach((function(n){n.type!=="bar"&&n.type!=="column"&&n.type!=="candlestick"&&n.type!=="boxPlot"||i++,n.type!==void 0&&n.type!==t&&r++})),r>0&&(a=!0),{comboBarCount:i,comboCharts:a}}},{key:"extendArrayProps",value:function(e,t,a){var i,r,n,o,l,c;return(i=t)!==null&&i!==void 0&&i.yaxis&&(t=e.extendYAxis(t,a)),(r=t)!==null&&r!==void 0&&r.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),(n=t)!==null&&n!==void 0&&(o=n.annotations)!==null&&o!==void 0&&o.xaxis&&(t=e.extendXAxisAnnotations(t)),(l=t)!==null&&l!==void 0&&(c=l.annotations)!==null&&c!==void 0&&c.points&&(t=e.extendPointAnnotations(t))),t}}]),s})(),ui=(function(){function s(e){N(this,s),this.w=e.w,this.annoCtx=e}return V(s,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=this.w;if(e.label.orientation==="vertical"){var i=t!==null?t:0,r=a.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(i,"']"));if(r!==null){var n=r.getBoundingClientRect();r.setAttribute("x",parseFloat(r.getAttribute("x"))-n.height+4);var o=e.label.position==="top"?n.width:-n.width;r.setAttribute("y",parseFloat(r.getAttribute("y"))+o);var l=this.annoCtx.graphics.rotateAroundCenter(r),c=l.x,h=l.y;r.setAttribute("transform","rotate(-90 ".concat(c," ").concat(h,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var a=this.w;if(!e||!t.label.text||!String(t.label.text).trim())return null;var i=a.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),r=e.getBoundingClientRect(),n=t.label.style.padding,o=n.left,l=n.right,c=n.top,h=n.bottom;if(t.label.orientation==="vertical"){var d=[o,l,c,h];c=d[0],h=d[1],o=d[2],l=d[3]}var u=r.left-i.left-o,g=r.top-i.top-c,p=this.annoCtx.graphics.drawRect(u-a.globals.barPadForNumericAxis,g,r.width+o+l,r.height+c+h,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&p.node.classList.add(t.id),p}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,a=function(i,r,n){var o=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(n,"-annotations .apexcharts-").concat(n,"-annotation-label[rel='").concat(r,"']"));if(o){var l=o.parentNode,c=e.addBackgroundToAnno(o,i);c&&(l.insertBefore(c.node,o),i.label.mouseEnter&&c.node.addEventListener("mouseenter",i.label.mouseEnter.bind(e,i)),i.label.mouseLeave&&c.node.addEventListener("mouseleave",i.label.mouseLeave.bind(e,i)),i.label.click&&c.node.addEventListener("click",i.label.click.bind(e,i)))}};t.config.annotations.xaxis.forEach((function(i,r){return a(i,r,"xaxis")})),t.config.annotations.yaxis.forEach((function(i,r){return a(i,r,"yaxis")})),t.config.annotations.points.forEach((function(i,r){return a(i,r,"point")}))}},{key:"getY1Y2",value:function(e,t){var a,i=this.w,r=e==="y1"?t.y:t.y2,n=!1;if(this.annoCtx.invertAxis){var o=i.config.xaxis.convertedCatToNumeric?i.globals.categoryLabels:i.globals.labels,l=o.indexOf(r),c=i.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child(".concat(l+1,")"));a=c?parseFloat(c.getAttribute("y")):(i.globals.gridHeight/o.length-1)*(l+1)-i.globals.barHeight,t.seriesIndex!==void 0&&i.globals.barHeight&&(a-=i.globals.barHeight/2*(i.globals.series.length-1)-i.globals.barHeight*t.seriesIndex)}else{var h,d=i.globals.seriesYAxisMap[t.yAxisIndex][0],u=i.config.yaxis[t.yAxisIndex].logarithmic?new Ae(this.annoCtx.ctx).getLogVal(i.config.yaxis[t.yAxisIndex].logBase,r,d)/i.globals.yLogRatio[d]:(r-i.globals.minYArr[d])/(i.globals.yRange[d]/i.globals.gridHeight);a=i.globals.gridHeight-Math.min(Math.max(u,0),i.globals.gridHeight),n=u>i.globals.gridHeight||u<0,!t.marker||t.y!==void 0&&t.y!==null||(a=0),(h=i.config.yaxis[t.yAxisIndex])!==null&&h!==void 0&&h.reversed&&(a=u)}return typeof r=="string"&&r.includes("px")&&(a=parseFloat(r)),{yP:a,clipped:n}}},{key:"getX1X2",value:function(e,t){var a=this.w,i=e==="x1"?t.x:t.x2,r=this.annoCtx.invertAxis?a.globals.minY:a.globals.minX,n=this.annoCtx.invertAxis?a.globals.maxY:a.globals.maxX,o=this.annoCtx.invertAxis?a.globals.yRange[0]:a.globals.xRange,l=!1,c=this.annoCtx.inversedReversedAxis?(n-i)/(o/a.globals.gridWidth):(i-r)/(o/a.globals.gridWidth);return a.config.xaxis.type!=="category"&&!a.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||a.globals.dataFormatXNumeric||a.config.chart.sparkline.enabled||(c=this.getStringX(i)),typeof i=="string"&&i.includes("px")&&(c=parseFloat(i)),i==null&&t.marker&&(c=a.globals.gridWidth),t.seriesIndex!==void 0&&a.globals.barWidth&&!this.annoCtx.invertAxis&&(c-=a.globals.barWidth/2*(a.globals.series.length-1)-a.globals.barWidth*t.seriesIndex),typeof c!="number"&&(c=0,l=!0),parseFloat(c.toFixed(10))>parseFloat(a.globals.gridWidth.toFixed(10))?(c=a.globals.gridWidth,l=!0):c<0&&(c=0,l=!0),{x:c,clipped:l}}},{key:"getStringX",value:function(e){var t=this.w,a=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var i=t.globals.labels.map((function(n){return Array.isArray(n)?n.join(" "):n})).indexOf(e),r=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child(".concat(i+1,")"));return r&&(a=parseFloat(r.getAttribute("x"))),a}}]),s})(),Vh=(function(){function s(e){N(this,s),this.w=e.w,this.annoCtx=e,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new ui(this.annoCtx)}return V(s,[{key:"addXaxisAnnotation",value:function(e,t,a){var i,r=this.w,n=this.helpers.getX1X2("x1",e),o=n.x,l=n.clipped,c=!0,h=e.label.text,d=e.strokeDashArray;if(L.isNumber(o)){if(e.x2===null||e.x2===void 0){if(!l){var u=this.annoCtx.graphics.drawLine(o+e.offsetX,0+e.offsetY,o+e.offsetX,r.globals.gridHeight+e.offsetY,e.borderColor,d,e.borderWidth);t.appendChild(u.node),e.id&&u.node.classList.add(e.id)}}else{var g=this.helpers.getX1X2("x2",e);if(i=g.x,c=g.clipped,i<o){var p=o;o=i,i=p}var f=this.annoCtx.graphics.drawRect(o+e.offsetX,0+e.offsetY,i-o,r.globals.gridHeight+e.offsetY,0,e.fillColor,e.opacity,1,e.borderColor,d);f.node.classList.add("apexcharts-annotation-rect"),f.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(f.node),e.id&&f.node.classList.add(e.id)}if(!l||!c){var m=this.annoCtx.graphics.getTextRects(h,parseFloat(e.label.style.fontSize)),v=e.label.position==="top"?4:e.label.position==="center"?r.globals.gridHeight/2+(e.label.orientation==="vertical"?m.width/2:0):r.globals.gridHeight,b=this.annoCtx.graphics.drawText({x:o+e.label.offsetX,y:v+e.label.offsetY-(e.label.orientation==="vertical"?e.label.position==="top"?m.width/2-12:-m.width/2:0),text:h,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-xaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});b.attr({rel:a}),t.appendChild(b.node),this.annoCtx.helpers.setOrientations(e,a)}}}},{key:"drawXAxisAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-xaxis-annotations"});return t.config.annotations.xaxis.map((function(i,r){e.addXaxisAnnotation(i,a.node,r)})),a}}]),s})(),ze=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return V(s,[{key:"isValidDate",value:function(e){return typeof e!="number"&&!isNaN(this.parseDate(e))}},{key:"getTimeStamp",value:function(e){return Date.parse(e)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toISOString().substr(0,25)).getTime():new Date(e).getTime():e}},{key:"getDate",value:function(e){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toUTCString()):new Date(e)}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getTimeStamp(e);var a=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return a=this.getTimeStamp(a)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var a=this.w.globals.locale,i=this.w.config.xaxis.labels.datetimeUTC,r=["\0"].concat(Re(a.months)),n=[""].concat(Re(a.shortMonths)),o=[""].concat(Re(a.days)),l=[""].concat(Re(a.shortDays));function c(S,M){var I=S+"";for(M=M||2;I.length<M;)I="0"+I;return I}var h=i?e.getUTCFullYear():e.getFullYear();t=(t=(t=t.replace(/(^|[^\\])yyyy+/g,"$1"+h)).replace(/(^|[^\\])yy/g,"$1"+h.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+h);var d=(i?e.getUTCMonth():e.getMonth())+1;t=(t=(t=(t=t.replace(/(^|[^\\])MMMM+/g,"$1"+r[0])).replace(/(^|[^\\])MMM/g,"$1"+n[0])).replace(/(^|[^\\])MM/g,"$1"+c(d))).replace(/(^|[^\\])M/g,"$1"+d);var u=i?e.getUTCDate():e.getDate();t=(t=(t=(t=t.replace(/(^|[^\\])dddd+/g,"$1"+o[0])).replace(/(^|[^\\])ddd/g,"$1"+l[0])).replace(/(^|[^\\])dd/g,"$1"+c(u))).replace(/(^|[^\\])d/g,"$1"+u);var g=i?e.getUTCHours():e.getHours(),p=g>12?g-12:g===0?12:g;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+c(g))).replace(/(^|[^\\])H/g,"$1"+g)).replace(/(^|[^\\])hh+/g,"$1"+c(p))).replace(/(^|[^\\])h/g,"$1"+p);var f=i?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+c(f))).replace(/(^|[^\\])m/g,"$1"+f);var m=i?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+c(m))).replace(/(^|[^\\])s/g,"$1"+m);var v=i?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+c(v,3)),v=Math.round(v/10),t=t.replace(/(^|[^\\])ff/g,"$1"+c(v)),v=Math.round(v/10);var b=g<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+v)).replace(/(^|[^\\])TT+/g,"$1"+b)).replace(/(^|[^\\])T/g,"$1"+b.charAt(0));var w=b.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+w)).replace(/(^|[^\\])t/g,"$1"+w.charAt(0));var k=-e.getTimezoneOffset(),y=i||!k?"Z":k>0?"+":"-";if(!i){var A=(k=Math.abs(k))%60;y+=c(Math.floor(k/60))+":"+c(A)}t=t.replace(/(^|[^\\])K/g,"$1"+y);var C=(i?e.getUTCDay():e.getDay())+1;return t=(t=(t=(t=(t=t.replace(new RegExp(o[0],"g"),o[C])).replace(new RegExp(l[0],"g"),l[C])).replace(new RegExp(r[0],"g"),r[d])).replace(new RegExp(n[0],"g"),n[d])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,a){var i=this.w;i.config.xaxis.min!==void 0&&(e=i.config.xaxis.min),i.config.xaxis.max!==void 0&&(t=i.config.xaxis.max);var r=this.getDate(e),n=this.getDate(t),o=this.formatDate(r,"yyyy MM dd HH mm ss fff").split(" "),l=this.formatDate(n,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(o[6],10),maxMillisecond:parseInt(l[6],10),minSecond:parseInt(o[5],10),maxSecond:parseInt(l[5],10),minMinute:parseInt(o[4],10),maxMinute:parseInt(l[4],10),minHour:parseInt(o[3],10),maxHour:parseInt(l[3],10),minDate:parseInt(o[2],10),maxDate:parseInt(l[2],10),minMonth:parseInt(o[1],10)-1,maxMonth:parseInt(l[1],10)-1,minYear:parseInt(o[0],10),maxYear:parseInt(l[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,a){return this.determineDaysOfMonths(e,t)-a}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,a){var i=this.daysCntOfYear[t]+a;return t>1&&this.isLeapYear()&&i++,i}},{key:"determineDaysOfMonths",value:function(e,t){var a=30;switch(e=L.monthMod(e),!0){case this.months30.indexOf(e)>-1:e===2&&(a=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:a=31}return a}}]),s})(),Sa=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.tooltipKeyFormat="dd MMM"}return V(s,[{key:"xLabelFormat",value:function(e,t,a,i){var r=this.w;if(r.config.xaxis.type==="datetime"&&r.config.xaxis.labels.formatter===void 0&&r.config.tooltip.x.formatter===void 0){var n=new ze(this.ctx);return n.formatDate(n.getDate(t),r.config.tooltip.x.format)}return e(t,a,i)}},{key:"defaultGeneralFormatter",value:function(e){return Array.isArray(e)?e.map((function(t){return t})):e}},{key:"defaultYFormatter",value:function(e,t,a){var i=this.w;if(L.isNumber(e))if(i.globals.yValueDecimal!==0)e=e.toFixed(t.decimalsInFloat!==void 0?t.decimalsInFloat:i.globals.yValueDecimal);else{var r=e.toFixed(0);e=e==r?r:e.toFixed(1)}return e}},{key:"setLabelFormatters",value:function(){var e=this,t=this.w;return t.globals.xaxisTooltipFormatter=function(a){return e.defaultGeneralFormatter(a)},t.globals.ttKeyFormatter=function(a){return e.defaultGeneralFormatter(a)},t.globals.ttZFormatter=function(a){return a},t.globals.legendFormatter=function(a){return e.defaultGeneralFormatter(a)},t.config.xaxis.labels.formatter!==void 0?t.globals.xLabelFormatter=t.config.xaxis.labels.formatter:t.globals.xLabelFormatter=function(a){if(L.isNumber(a)){if(!t.config.xaxis.convertedCatToNumeric&&t.config.xaxis.type==="numeric"){if(L.isNumber(t.config.xaxis.decimalsInFloat))return a.toFixed(t.config.xaxis.decimalsInFloat);var i=t.globals.maxX-t.globals.minX;return i>0&&i<100?a.toFixed(1):a.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?a.toFixed(1):a.toFixed(0)}return a},typeof t.config.tooltip.x.formatter=="function"?t.globals.ttKeyFormatter=t.config.tooltip.x.formatter:t.globals.ttKeyFormatter=t.globals.xLabelFormatter,typeof t.config.xaxis.tooltip.formatter=="function"&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),(Array.isArray(t.config.tooltip.y)||t.config.tooltip.y.formatter!==void 0)&&(t.globals.ttVal=t.config.tooltip.y),t.config.tooltip.z.formatter!==void 0&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),t.config.legend.formatter!==void 0&&(t.globals.legendFormatter=t.config.legend.formatter),t.config.yaxis.forEach((function(a,i){a.labels.formatter!==void 0?t.globals.yLabelFormatters[i]=a.labels.formatter:t.globals.yLabelFormatters[i]=function(r){return t.globals.xyCharts?Array.isArray(r)?r.map((function(n){return e.defaultYFormatter(n,a,i)})):e.defaultYFormatter(r,a,i):r}})),t.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if(e.config.chart.type==="heatmap"){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce((function(a,i){return a.length>i.length?a:i}),0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),s})(),Ct=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"getLabel",value:function(e,t,a,i){var r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"12px",o=!(arguments.length>6&&arguments[6]!==void 0)||arguments[6],l=this.w,c=e[i]===void 0?"":e[i],h=c,d=l.globals.xLabelFormatter,u=l.config.xaxis.labels.formatter,g=!1,p=new Sa(this.ctx),f=c;o&&(h=p.xLabelFormat(d,c,f,{i,dateFormatter:new ze(this.ctx).formatDate,w:l}),u!==void 0&&(h=u(c,e[i],{i,dateFormatter:new ze(this.ctx).formatDate,w:l})));var m,v;t.length>0?(m=t[i].unit,v=null,t.forEach((function(y){y.unit==="month"?v="year":y.unit==="day"?v="month":y.unit==="hour"?v="day":y.unit==="minute"&&(v="hour")})),g=v===m,a=t[i].position,h=t[i].value):l.config.xaxis.type==="datetime"&&u===void 0&&(h=""),h===void 0&&(h=""),h=Array.isArray(h)?h:h.toString();var b=new E(this.ctx),w={};w=l.globals.rotateXLabels&&o?b.getTextRects(h,parseInt(n,10),null,"rotate(".concat(l.config.xaxis.labels.rotate," 0 0)"),!1):b.getTextRects(h,parseInt(n,10));var k=!l.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(h)&&(String(h)==="NaN"||r.indexOf(h)>=0&&k)&&(h=""),{x:a,text:h,textRect:w,isBold:g}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,a){var i=this.w,r=i.config.xaxis.tickAmount;return r==="dataPoints"&&(r=Math.round(i.globals.gridWidth/120)),r>a||e%Math.round(a/(r+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,a,i,r){var n=this.w;if(e===0&&n.globals.skipFirstTimelinelabel&&(t.text=""),e===a-1&&n.globals.skipLastTimelinelabel&&(t.text=""),n.config.xaxis.labels.hideOverlappingLabels&&i.length>0){var o=r[r.length-1];if(n.config.xaxis.labels.trim&&n.config.xaxis.type!=="datetime")return t;t.x<o.textRect.width/(n.globals.rotateXLabels?Math.abs(n.config.xaxis.labels.rotate)/12:1.01)+o.x&&(t.text="")}return t}},{key:"checkForReversedLabels",value:function(e,t){var a=this.w;return a.config.yaxis[e]&&a.config.yaxis[e].reversed&&t.reverse(),t}},{key:"yAxisAllSeriesCollapsed",value:function(e){var t=this.w.globals;return!t.seriesYAxisMap[e].some((function(a){return t.collapsedSeriesIndices.indexOf(a)===-1}))}},{key:"translateYAxisIndex",value:function(e){var t=this.w,a=t.globals,i=t.config.yaxis;return a.series.length>i.length||i.some((function(r){return Array.isArray(r.seriesName)}))?e:a.seriesYAxisReverseMap[e]}},{key:"isYAxisHidden",value:function(e){var t=this.w,a=t.config.yaxis[e];if(!a.show||this.yAxisAllSeriesCollapsed(e))return!0;if(!a.showForNullSeries){var i=t.globals.seriesYAxisMap[e],r=new Ae(this.ctx);return i.every((function(n){return r.isSeriesNull(n)}))}return!1}},{key:"getYAxisForeColor",value:function(e,t){var a=this.w;return Array.isArray(e)&&a.globals.yAxisScale[t]&&this.ctx.theme.pushExtraColors(e,a.globals.yAxisScale[t].result.length,!1),e}},{key:"drawYAxisTicks",value:function(e,t,a,i,r,n,o){var l=this.w,c=new E(this.ctx),h=l.globals.translateY+l.config.yaxis[r].labels.offsetY;if(l.globals.isBarHorizontal?h=0:l.config.chart.type==="heatmap"&&(h+=n/2),i.show&&t>0){l.config.yaxis[r].opposite===!0&&(e+=i.width);for(var d=t;d>=0;d--){var u=c.drawLine(e+a.offsetX-i.width+i.offsetX,h+i.offsetY,e+a.offsetX+i.offsetX,h+i.offsetY,i.color);o.add(u),h+=n}}}}]),s})(),Xh=(function(){function s(e){N(this,s),this.w=e.w,this.annoCtx=e,this.helpers=new ui(this.annoCtx),this.axesUtils=new Ct(this.annoCtx)}return V(s,[{key:"addYaxisAnnotation",value:function(e,t,a){var i,r=this.w,n=e.strokeDashArray,o=this.helpers.getY1Y2("y1",e),l=o.yP,c=o.clipped,h=!0,d=!1,u=e.label.text;if(e.y2===null||e.y2===void 0){if(!c){d=!0;var g=this.annoCtx.graphics.drawLine(0+e.offsetX,l+e.offsetY,this._getYAxisAnnotationWidth(e),l+e.offsetY,e.borderColor,n,e.borderWidth);t.appendChild(g.node),e.id&&g.node.classList.add(e.id)}}else{if(i=(o=this.helpers.getY1Y2("y2",e)).yP,h=o.clipped,i>l){var p=l;l=i,i=p}if(!c||!h){d=!0;var f=this.annoCtx.graphics.drawRect(0+e.offsetX,i+e.offsetY,this._getYAxisAnnotationWidth(e),l-i,0,e.fillColor,e.opacity,1,e.borderColor,n);f.node.classList.add("apexcharts-annotation-rect"),f.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(f.node),e.id&&f.node.classList.add(e.id)}}if(d){var m=e.label.position==="right"?r.globals.gridWidth:e.label.position==="center"?r.globals.gridWidth/2:0,v=this.annoCtx.graphics.drawText({x:m+e.label.offsetX,y:(i??l)+e.label.offsetY-3,text:u,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});v.attr({rel:a}),t.appendChild(v.node)}}},{key:"_getYAxisAnnotationWidth",value:function(e){var t=this.w;return t.globals.gridWidth,(e.width.indexOf("%")>-1?t.globals.gridWidth*parseInt(e.width,10)/100:parseInt(e.width,10))+e.offsetX}},{key:"drawYAxisAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.forEach((function(i,r){i.yAxisIndex=e.axesUtils.translateYAxisIndex(i.yAxisIndex),e.axesUtils.isYAxisHidden(i.yAxisIndex)&&e.axesUtils.yAxisAllSeriesCollapsed(i.yAxisIndex)||e.addYaxisAnnotation(i,a.node,r)})),a}}]),s})(),Yh=(function(){function s(e){N(this,s),this.w=e.w,this.annoCtx=e,this.helpers=new ui(this.annoCtx)}return V(s,[{key:"addPointAnnotation",value:function(e,t,a){if(!(this.w.globals.collapsedSeriesIndices.indexOf(e.seriesIndex)>-1)){var i=this.helpers.getX1X2("x1",e),r=i.x,n=i.clipped,o=(i=this.helpers.getY1Y2("y1",e)).yP,l=i.clipped;if(L.isNumber(r)&&!l&&!n){var c={pSize:e.marker.size,pointStrokeWidth:e.marker.strokeWidth,pointFillColor:e.marker.fillColor,pointStrokeColor:e.marker.strokeColor,shape:e.marker.shape,pRadius:e.marker.radius,class:"apexcharts-point-annotation-marker ".concat(e.marker.cssClass," ").concat(e.id?e.id:"")},h=this.annoCtx.graphics.drawMarker(r+e.marker.offsetX,o+e.marker.offsetY,c);t.appendChild(h.node);var d=e.label.text?e.label.text:"",u=this.annoCtx.graphics.drawText({x:r+e.label.offsetX,y:o+e.label.offsetY-e.marker.size-parseFloat(e.label.style.fontSize)/1.6,text:d,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});if(u.attr({rel:a}),t.appendChild(u.node),e.customSVG.SVG){var g=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});g.attr({transform:"translate(".concat(r+e.customSVG.offsetX,", ").concat(o+e.customSVG.offsetY,")")}),g.node.innerHTML=e.customSVG.SVG,t.appendChild(g.node)}if(e.image.path){var p=e.image.width?e.image.width:20,f=e.image.height?e.image.height:20;h=this.annoCtx.addImage({x:r+e.image.offsetX-p/2,y:o+e.image.offsetY-f/2,width:p,height:f,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&h.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&h.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e)),e.click&&h.node.addEventListener("click",e.click.bind(this,e))}}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map((function(i,r){e.addPointAnnotation(i,a.node,r)})),a}}]),s})(),no={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},Mt=(function(){function s(){N(this,s),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,stepSize:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,showDuplicates:!1,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={id:void 0,x:0,y:null,yAxisIndex:0,seriesIndex:void 0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={id:void 0,y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={id:void 0,x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return V(s,[{key:"init",value:function(){return{annotations:{yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"",locales:[no],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.7},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,xAxisLabelClick:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,nonce:void 0,offsetX:0,offsetY:0,injectStyleSheet:!0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0,targets:void 0},stacked:!1,stackOnlyBar:!0,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",categoryFormatter:void 0,valueFormatter:void 0},png:{filename:void 0},svg:{filename:void 0},scale:void 0,width:void 0},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,allowMouseWheelZoom:!0,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},parsing:{x:void 0,y:void 0},plotOptions:{line:{isSlopeChart:!1,colors:{threshold:0,colorAboveThreshold:void 0,colorBelowThreshold:void 0}},area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,borderRadiusApplication:"around",borderRadiusWhenStacked:"last",rangeBarOverlap:!0,rangeBarGroupRows:!1,hideZeroBarsWhenGrouped:!1,isDumbbell:!1,dumbbellColors:void 0,isFunnel:!1,isFunnel3d:!0,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal",total:{enabled:!1,formatter:void 0,offsetX:0,offsetY:0,style:{color:"#373d3f",fontSize:"12px",fontFamily:void 0,fontWeight:600}}}},bubble:{zScaling:!0,minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,borderRadius:4,dataLabels:{format:"scale"},colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0},seriesTitle:{show:!0,offsetY:1,offsetX:1,borderColor:"#000",borderWidth:1,borderRadius:2,style:{background:"rgba(0, 0, 0, 0.6)",color:"#fff",fontSize:"12px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:6,right:6,top:2,bottom:2}}}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(e){return e}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(t,a){return t+a}),0)/e.globals.series.length+"%"}}},barLabels:{enabled:!1,offsetX:0,offsetY:0,useSeriesColors:!0,fontFamily:void 0,fontWeight:600,fontSize:"16px",formatter:function(e){return e},onClick:void 0}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(e){return e}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(e){return e}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(t,a){return t+a}),0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return e!==null?e:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",backgroundColor:void 0,borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.8}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.8}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],clusterGroupedSeries:!0,clusterGroupedSeriesOrientation:"vertical",labels:{colors:void 0,useSeriesColors:!1},markers:{size:7,fillColors:void 0,strokeWidth:1,shape:void 0,offsetX:0,offsetY:0,customHTML:void 0,onClick:void 0},itemMargin:{horizontal:5,vertical:4},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",offsetX:0,offsetY:0,showNullDataPoints:!0,onClick:void 0,onDblClick:void 0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{hover:{filter:{type:"lighten"}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken"}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0,fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]}}},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,hideEmptySeries:!1,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",cssClass:"",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(e){return e?e+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},group:{groups:[],style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},stepSize:void 0,tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.8}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),s})(),Wh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.graphics=new E(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new ui(this),this.xAxisAnnotations=new Vh(this),this.yAxisAnnotations=new Xh(this),this.pointsAnnotations=new Yh(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return V(s,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts&&e.globals.dataPoints){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),a=this.xAxisAnnotations.drawXAxisAnnotations(),i=this.pointsAnnotations.drawPointAnnotations(),r=e.config.chart.animations.enabled,n=[t,a,i],o=[a.node,t.node,i.node],l=0;l<3;l++)e.globals.dom.elGraphical.add(n[l]),!r||e.globals.resized||e.globals.dataChanged||e.config.chart.type!=="scatter"&&e.config.chart.type!=="bubble"&&e.globals.dataPoints>1&&o[l].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:o[l],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map((function(t,a){e.addImage(t,a)}))}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map((function(t,a){e.addText(t,a)}))}},{key:"addXaxisAnnotation",value:function(e,t,a){this.xAxisAnnotations.addXaxisAnnotation(e,t,a)}},{key:"addYaxisAnnotation",value:function(e,t,a){this.yAxisAnnotations.addYaxisAnnotation(e,t,a)}},{key:"addPointAnnotation",value:function(e,t,a){this.pointsAnnotations.addPointAnnotation(e,t,a)}},{key:"addText",value:function(e,t){var a=e.x,i=e.y,r=e.text,n=e.textAnchor,o=e.foreColor,l=e.fontSize,c=e.fontFamily,h=e.fontWeight,d=e.cssClass,u=e.backgroundColor,g=e.borderWidth,p=e.strokeDashArray,f=e.borderRadius,m=e.borderColor,v=e.appendTo,b=v===void 0?".apexcharts-svg":v,w=e.paddingLeft,k=w===void 0?4:w,y=e.paddingRight,A=y===void 0?4:y,C=e.paddingBottom,S=C===void 0?2:C,M=e.paddingTop,I=M===void 0?2:M,R=this.w,P=this.graphics.drawText({x:a,y:i,text:r,textAnchor:n||"start",fontSize:l||"12px",fontWeight:h||"regular",fontFamily:c||R.config.chart.fontFamily,foreColor:o||R.config.chart.foreColor,cssClass:d}),_=R.globals.dom.baseEl.querySelector(b);_&&_.appendChild(P.node);var O=P.bbox();if(r){var H=this.graphics.drawRect(O.x-k,O.y-I,O.width+k+A,O.height+S+I,f,u||"transparent",1,g,m,p);_.insertBefore(H.node,P.node)}}},{key:"addImage",value:function(e,t){var a=this.w,i=e.path,r=e.x,n=r===void 0?0:r,o=e.y,l=o===void 0?0:o,c=e.width,h=c===void 0?20:c,d=e.height,u=d===void 0?20:d,g=e.appendTo,p=g===void 0?".apexcharts-svg":g,f=a.globals.dom.Paper.image(i);f.size(h,u).move(n,l);var m=a.globals.dom.baseEl.querySelector(p);return m&&m.appendChild(f.node),f}},{key:"addXaxisAnnotationExternal",value:function(e,t,a){return this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"xaxis",contextMethod:a.addXaxisAnnotation}),a}},{key:"addYaxisAnnotationExternal",value:function(e,t,a){return this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"yaxis",contextMethod:a.addYaxisAnnotation}),a}},{key:"addPointAnnotationExternal",value:function(e,t,a){return this.invertAxis===void 0&&(this.invertAxis=a.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"point",contextMethod:a.addPointAnnotation}),a}},{key:"addAnnotationExternal",value:function(e){var t=e.params,a=e.pushToMemory,i=e.context,r=e.type,n=e.contextMethod,o=i,l=o.w,c=l.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations")),h=c.childNodes.length+1,d=new Mt,u=Object.assign({},r==="xaxis"?d.xAxisAnnotation:r==="yaxis"?d.yAxisAnnotation:d.pointAnnotation),g=L.extend(u,t);switch(r){case"xaxis":this.addXaxisAnnotation(g,c,h);break;case"yaxis":this.addYaxisAnnotation(g,c,h);break;case"point":this.addPointAnnotation(g,c,h)}var p=l.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(h,"']")),f=this.helpers.addBackgroundToAnno(p,g);return f&&c.insertBefore(f.node,p),a&&l.globals.memory.methodsToExec.push({context:o,id:g.id?g.id:L.randomId(),method:n,label:"addAnnotation",params:t}),i}},{key:"clearAnnotations",value:function(e){for(var t=e.w,a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations"),i=t.globals.memory.methodsToExec.length-1;i>=0;i--)t.globals.memory.methodsToExec[i].label!=="addText"&&t.globals.memory.methodsToExec[i].label!=="addAnnotation"||t.globals.memory.methodsToExec.splice(i,1);a=L.listToArray(a),Array.prototype.forEach.call(a,(function(r){for(;r.firstChild;)r.removeChild(r.firstChild)}))}},{key:"removeAnnotation",value:function(e,t){var a=e.w,i=a.globals.dom.baseEl.querySelectorAll(".".concat(t));i&&(a.globals.memory.methodsToExec.map((function(r,n){r.id===t&&a.globals.memory.methodsToExec.splice(n,1)})),Object.keys(a.config.annotations).forEach((function(r){var n=a.config.annotations[r];Array.isArray(n)&&(a.config.annotations[r]=n.filter((function(o){return o.id!==t})))})),Array.prototype.forEach.call(i,(function(r){r.parentElement.removeChild(r)})))}}]),s})(),Pi=function(s){var e,t=s.isTimeline,a=s.ctx,i=s.seriesIndex,r=s.dataPointIndex,n=s.y1,o=s.y2,l=s.w,c=l.globals.seriesRangeStart[i][r],h=l.globals.seriesRangeEnd[i][r],d=l.globals.labels[r],u=l.config.series[i].name?l.config.series[i].name:"",g=l.globals.ttKeyFormatter,p=l.config.tooltip.y.title.formatter,f={w:l,seriesIndex:i,dataPointIndex:r,start:c,end:h};typeof p=="function"&&(u=p(u,f)),(e=l.config.series[i].data[r])!==null&&e!==void 0&&e.x&&(d=l.config.series[i].data[r].x),t||l.config.xaxis.type==="datetime"&&(d=new Sa(a).xLabelFormat(l.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new ze(a).formatDate,w:l})),typeof g=="function"&&(d=g(d,f)),Number.isFinite(n)&&Number.isFinite(o)&&(c=n,h=o);var m="",v="",b=l.globals.colors[i];if(l.config.tooltip.x.formatter===void 0)if(l.config.xaxis.type==="datetime"){var w=new ze(a);m=w.formatDate(w.getDate(c),l.config.tooltip.x.format),v=w.formatDate(w.getDate(h),l.config.tooltip.x.format)}else m=c,v=h;else m=l.config.tooltip.x.formatter(c),v=l.config.tooltip.x.formatter(h);return{start:c,end:h,startVal:m,endVal:v,ylabel:d,color:b,seriesName:u}},zi=function(s){var e=s.color,t=s.seriesName,a=s.ylabel,i=s.start,r=s.end,n=s.seriesIndex,o=s.dataPointIndex,l=s.ctx.tooltip.tooltipLabels.getFormatters(n);i=l.yLbFormatter(i),r=l.yLbFormatter(r);var c=l.yLbFormatter(s.w.globals.series[n][o]),h=`<span class="value start-value">
|
|
29
|
+
a `).concat(i/2,",").concat(i/2," 0 1,0 -").concat(i,",0")}return r}},{key:"drawMarkerShape",value:function(e,t,a,i,r){var n=this.drawPath({d:this.getMarkerPath(e,t,a,i,r),stroke:r.pointStrokeColor,strokeDashArray:r.pointStrokeDashArray,strokeWidth:r.pointStrokeWidth,fill:r.pointFillColor,fillOpacity:r.pointFillOpacity,strokeOpacity:r.pointStrokeOpacity});return n.attr({cx:e,cy:t,shape:r.shape,class:r.class?r.class:""}),n}},{key:"drawMarker",value:function(e,t,a){e=e||0;var i=a.pSize||0;return L.isNumber(t)||(i=0,t=0),this.drawMarkerShape(e,t,a?.shape,i,F(F({},a),a.shape==="line"||a.shape==="plus"||a.shape==="cross"?{pointStrokeColor:a.pointFillColor,pointStrokeOpacity:a.pointFillOpacity}:{}))}},{key:"pathMouseEnter",value:function(e,t){var a=this.w,i=new Oe(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10);if(typeof a.config.chart.events.dataPointMouseEnter=="function"&&a.config.chart.events.dataPointMouseEnter(t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}),this.ctx.events.fireEvent("dataPointMouseEnter",[t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}]),(a.config.states.active.filter.type==="none"||e.node.getAttribute("selected")!=="true")&&a.config.states.hover.filter.type!=="none"&&!a.globals.isTouchDevice){var o=a.config.states.hover.filter;i.applyFilter(e,r,o.type)}}},{key:"pathMouseLeave",value:function(e,t){var a=this.w,i=new Oe(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10);typeof a.config.chart.events.dataPointMouseLeave=="function"&&a.config.chart.events.dataPointMouseLeave(t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}),this.ctx.events.fireEvent("dataPointMouseLeave",[t,this.ctx,{seriesIndex:r,dataPointIndex:n,w:a}]),a.config.states.active.filter.type!=="none"&&e.node.getAttribute("selected")==="true"||a.config.states.hover.filter.type!=="none"&&i.getDefaultFilter(e,r)}},{key:"pathMouseDown",value:function(e,t){var a=this.w,i=new Oe(this.ctx),r=parseInt(e.node.getAttribute("index"),10),n=parseInt(e.node.getAttribute("j"),10),o="false";if(e.node.getAttribute("selected")==="true"){if(e.node.setAttribute("selected","false"),a.globals.selectedDataPoints[r].indexOf(n)>-1){var l=a.globals.selectedDataPoints[r].indexOf(n);a.globals.selectedDataPoints[r].splice(l,1)}}else{if(!a.config.states.active.allowMultipleDataPointsSelection&&a.globals.selectedDataPoints.length>0){a.globals.selectedDataPoints=[];var c=a.globals.dom.Paper.find(".apexcharts-series path:not(.apexcharts-decoration-element)"),h=a.globals.dom.Paper.find(".apexcharts-series circle:not(.apexcharts-decoration-element), .apexcharts-series rect:not(.apexcharts-decoration-element)"),d=function(p){Array.prototype.forEach.call(p,(function(f){f.node.setAttribute("selected","false"),i.getDefaultFilter(f,r)}))};d(c),d(h)}e.node.setAttribute("selected","true"),o="true",a.globals.selectedDataPoints[r]===void 0&&(a.globals.selectedDataPoints[r]=[]),a.globals.selectedDataPoints[r].push(n)}if(o==="true"){var u=a.config.states.active.filter;if(u!=="none")i.applyFilter(e,r,u.type);else if(a.config.states.hover.filter!=="none"&&!a.globals.isTouchDevice){var g=a.config.states.hover.filter;i.applyFilter(e,r,g.type)}}else a.config.states.active.filter.type!=="none"&&(a.config.states.hover.filter.type==="none"||a.globals.isTouchDevice?i.getDefaultFilter(e,r):(g=a.config.states.hover.filter,i.applyFilter(e,r,g.type)));typeof a.config.chart.events.dataPointSelection=="function"&&a.config.chart.events.dataPointSelection(t,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:n,w:a}),t&&this.ctx.events.fireEvent("dataPointSelection",[t,this.ctx,{selectedDataPoints:a.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:n,w:a}])}},{key:"rotateAroundCenter",value:function(e){var t={};return e&&typeof e.getBBox=="function"&&(t=e.getBBox()),{x:t.x+t.width/2,y:t.y+t.height/2}}},{key:"getTextRects",value:function(e,t,a,i){var r=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],n=this.w,o=this.drawText({x:-200,y:-200,text:e,textAnchor:"start",fontSize:t,fontFamily:a,foreColor:"#fff",opacity:0});i&&o.attr("transform",i),n.globals.dom.Paper.add(o);var l=o.bbox();return r||(l=o.node.getBoundingClientRect()),o.remove(),{width:l.width,height:l.height}}},{key:"placeTextWithEllipsis",value:function(e,t,a){if(typeof e.getComputedTextLength=="function"&&(e.textContent=t,t.length>0&&e.getComputedTextLength()>=a/1.1)){for(var i=t.length-3;i>0;i-=3)if(e.getSubStringLength(0,i)<=a/1.1)return void(e.textContent=t.substring(0,i)+"...");e.textContent="."}}}],[{key:"setAttrs",value:function(e,t){for(var a in t)t.hasOwnProperty(a)&&e.setAttribute(a,t[a])}}]),s})(),Ae=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"getStackedSeriesTotals",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=this.w,a=[];if(t.globals.series.length===0)return a;for(var i=0;i<t.globals.series[t.globals.maxValsInArrayIndex].length;i++){for(var r=0,n=0;n<t.globals.series.length;n++)t.globals.series[n][i]!==void 0&&e.indexOf(n)===-1&&(r+=t.globals.series[n][i]);a.push(r)}return a}},{key:"getSeriesTotalByIndex",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return e===null?this.w.config.series.reduce((function(t,a){return t+a}),0):this.w.globals.series[e].reduce((function(t,a){return t+a}),0)}},{key:"getStackedSeriesTotalsByGroups",value:function(){var e=this,t=this.w,a=[];return t.globals.seriesGroups.forEach((function(i){var r=[];t.config.series.forEach((function(o,l){i.indexOf(t.globals.seriesNames[l])>-1&&r.push(l)}));var n=t.globals.series.map((function(o,l){return r.indexOf(l)===-1?l:-1})).filter((function(o){return o!==-1}));a.push(e.getStackedSeriesTotals(n))})),a}},{key:"setSeriesYAxisMappings",value:function(){var e=this.w.globals,t=this.w.config,a=[],i=[],r=[],n=e.series.length>t.yaxis.length||t.yaxis.some((function(d){return Array.isArray(d.seriesName)}));t.series.forEach((function(d,u){r.push(u),i.push(null)})),t.yaxis.forEach((function(d,u){a[u]=[]}));var o=[];t.yaxis.forEach((function(d,u){var g=!1;if(d.seriesName){var p=[];Array.isArray(d.seriesName)?p=d.seriesName:p.push(d.seriesName),p.forEach((function(f){t.series.forEach((function(m,v){if(m.name===f){var b=v;u===v||n?!n||r.indexOf(v)>-1?a[u].push([u,v]):console.warn("Series '"+m.name+"' referenced more than once in what looks like the new style. That is, when using either seriesName: [], or when there are more series than yaxes."):(a[v].push([v,u]),b=u),g=!0,(b=r.indexOf(b))!==-1&&r.splice(b,1)}}))}))}g||o.push(u)})),a=a.map((function(d,u){var g=[];return d.forEach((function(p){i[p[1]]=p[0],g.push(p[1])})),g}));for(var l=t.yaxis.length-1,c=0;c<o.length&&(l=o[c],a[l]=[],r);c++){var h=r[0];r.shift(),a[l].push(h),i[h]=l}r.forEach((function(d){a[l].push(d),i[d]=l})),e.seriesYAxisMap=a.map((function(d){return d})),e.seriesYAxisReverseMap=i.map((function(d){return d})),e.seriesYAxisMap.forEach((function(d,u){d.forEach((function(g){t.series[g]&&t.series[g].group===void 0&&(t.series[g].group="apexcharts-axis-".concat(u.toString()))}))}))}},{key:"isSeriesNull",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(e===null?this.w.config.series.filter((function(t){return t!==null})):this.w.config.series[e].data.filter((function(t){return t!==null}))).length===0}},{key:"seriesHaveSameValues",value:function(e){return this.w.globals.series[e].every((function(t,a,i){return t===i[0]}))}},{key:"getCategoryLabels",value:function(e){var t=this.w,a=e.slice();return t.config.xaxis.convertedCatToNumeric&&(a=e.map((function(i,r){return t.config.xaxis.labels.formatter(i-t.globals.minX+1)}))),a}},{key:"getLargestSeries",value:function(){var e=this.w;e.globals.maxValsInArrayIndex=e.globals.series.map((function(t){return t.length})).indexOf(Math.max.apply(Math,e.globals.series.map((function(t){return t.length}))))}},{key:"getLargestMarkerSize",value:function(){var e=this.w,t=0;return e.globals.markers.size.forEach((function(a){t=Math.max(t,a)})),e.config.markers.discrete&&e.config.markers.discrete.length&&e.config.markers.discrete.forEach((function(a){t=Math.max(t,a.size)})),t>0&&(e.config.markers.hover.size>0?t=e.config.markers.hover.size:t+=e.config.markers.hover.sizeOffset),e.globals.markers.largestSize=t,t}},{key:"getSeriesTotals",value:function(){var e=this.w;e.globals.seriesTotals=e.globals.series.map((function(t,a){var i=0;if(Array.isArray(t))for(var r=0;r<t.length;r++)i+=t[r];else i+=t;return i}))}},{key:"getSeriesTotalsXRange",value:function(e,t){var a=this.w;return a.globals.series.map((function(i,r){for(var n=0,o=0;o<i.length;o++)a.globals.seriesX[r][o]>e&&a.globals.seriesX[r][o]<t&&(n+=i[o]);return n}))}},{key:"getPercentSeries",value:function(){var e=this.w;e.globals.seriesPercent=e.globals.series.map((function(t,a){var i=[];if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=e.globals.stackedSeriesTotals[r],o=0;n&&(o=100*t[r]/n),i.push(o)}else{var l=100*t/e.globals.seriesTotals.reduce((function(c,h){return c+h}),0);i.push(l)}return i}))}},{key:"getCalculatedRatios",value:function(){var e,t,a,i=this,r=this.w,n=r.globals,o=[],l=0,c=[],h=.1,d=0;if(n.yRange=[],n.isMultipleYAxis)for(var u=0;u<n.minYArr.length;u++)n.yRange.push(Math.abs(n.minYArr[u]-n.maxYArr[u])),c.push(0);else n.yRange.push(Math.abs(n.minY-n.maxY));n.xRange=Math.abs(n.maxX-n.minX),n.zRange=Math.abs(n.maxZ-n.minZ);for(var g=0;g<n.yRange.length;g++)o.push(n.yRange[g]/n.gridHeight);if(t=n.xRange/n.gridWidth,e=n.yRange/n.gridWidth,a=n.xRange/n.gridHeight,(l=n.zRange/n.gridHeight*16)||(l=1),n.minY!==Number.MIN_VALUE&&Math.abs(n.minY)!==0&&(n.hasNegs=!0),r.globals.seriesYAxisReverseMap.length>0){var p=function(m,v){var b=r.config.yaxis[r.globals.seriesYAxisReverseMap[v]],w=m<0?-1:1;return m=Math.abs(m),b.logarithmic&&(m=i.getBaseLog(b.logBase,m)),-w*m/o[v]};if(n.isMultipleYAxis){c=[];for(var f=0;f<o.length;f++)c.push(p(n.minYArr[f],f))}else(c=[]).push(p(n.minY,0)),n.minY!==Number.MIN_VALUE&&Math.abs(n.minY)!==0&&(h=-n.minY/e,d=n.minX/t)}else(c=[]).push(0),h=0,d=0;return{yRatio:o,invertedYRatio:e,zRatio:l,xRatio:t,invertedXRatio:a,baseLineInvertedY:h,baseLineY:c,baseLineX:d}}},{key:"getLogSeries",value:function(e){var t=this,a=this.w;return a.globals.seriesLog=e.map((function(i,r){var n=a.globals.seriesYAxisReverseMap[r];return a.config.yaxis[n]&&a.config.yaxis[n].logarithmic?i.map((function(o){return o===null?null:t.getLogVal(a.config.yaxis[n].logBase,o,r)})):i})),a.globals.invalidLogScale?e:a.globals.seriesLog}},{key:"getLogValAtSeriesIndex",value:function(e,t){if(e===null)return null;var a=this.w,i=a.globals.seriesYAxisReverseMap[t];return a.config.yaxis[i]&&a.config.yaxis[i].logarithmic?this.getLogVal(a.config.yaxis[i].logBase,e,t):e}},{key:"getBaseLog",value:function(e,t){return Math.log(t)/Math.log(e)}},{key:"getLogVal",value:function(e,t,a){if(t<=0)return 0;var i=this.w,r=i.globals.minYArr[a]===0?-1:this.getBaseLog(e,i.globals.minYArr[a]),n=(i.globals.maxYArr[a]===0?0:this.getBaseLog(e,i.globals.maxYArr[a]))-r;return t<1?t/n:(this.getBaseLog(e,t)-r)/n}},{key:"getLogYRatios",value:function(e){var t=this,a=this.w,i=this.w.globals;return i.yLogRatio=e.slice(),i.logYRange=i.yRange.map((function(r,n){var o=a.globals.seriesYAxisReverseMap[n];if(a.config.yaxis[o]&&t.w.config.yaxis[o].logarithmic){var l,c=-Number.MAX_VALUE,h=Number.MIN_VALUE;return i.seriesLog.forEach((function(d,u){d.forEach((function(g){a.config.yaxis[u]&&a.config.yaxis[u].logarithmic&&(c=Math.max(g,c),h=Math.min(g,h))}))})),l=Math.pow(i.yRange[n],Math.abs(h-c)/i.yRange[n]),i.yLogRatio[n]=l/i.gridHeight,l}})),i.invalidLogScale?e.slice():i.yLogRatio}},{key:"drawSeriesByGroup",value:function(e,t,a,i){var r=this.w,n=[];return e.series.length>0&&t.forEach((function(o){var l=[],c=[];e.i.forEach((function(h,d){r.config.series[h].group===o&&(l.push(e.series[d]),c.push(h))})),l.length>0&&n.push(i.draw(l,a,c))})),n}}],[{key:"checkComboSeries",value:function(e,t){var a=!1,i=0,r=0;return t===void 0&&(t="line"),e.length&&e[0].type!==void 0&&e.forEach((function(n){n.type!=="bar"&&n.type!=="column"&&n.type!=="candlestick"&&n.type!=="boxPlot"||i++,n.type!==void 0&&n.type!==t&&r++})),r>0&&(a=!0),{comboBarCount:i,comboCharts:a}}},{key:"extendArrayProps",value:function(e,t,a){var i,r,n,o,l,c;return(i=t)!==null&&i!==void 0&&i.yaxis&&(t=e.extendYAxis(t,a)),(r=t)!==null&&r!==void 0&&r.annotations&&(t.annotations.yaxis&&(t=e.extendYAxisAnnotations(t)),(n=t)!==null&&n!==void 0&&(o=n.annotations)!==null&&o!==void 0&&o.xaxis&&(t=e.extendXAxisAnnotations(t)),(l=t)!==null&&l!==void 0&&(c=l.annotations)!==null&&c!==void 0&&c.points&&(t=e.extendPointAnnotations(t))),t}}]),s})(),gi=(function(){function s(e){N(this,s),this.w=e.w,this.annoCtx=e}return V(s,[{key:"setOrientations",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=this.w;if(e.label.orientation==="vertical"){var i=t!==null?t:0,r=a.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(i,"']"));if(r!==null){var n=r.getBoundingClientRect();r.setAttribute("x",parseFloat(r.getAttribute("x"))-n.height+4);var o=e.label.position==="top"?n.width:-n.width;r.setAttribute("y",parseFloat(r.getAttribute("y"))+o);var l=this.annoCtx.graphics.rotateAroundCenter(r),c=l.x,h=l.y;r.setAttribute("transform","rotate(-90 ".concat(c," ").concat(h,")"))}}}},{key:"addBackgroundToAnno",value:function(e,t){var a=this.w;if(!e||!t.label.text||!String(t.label.text).trim())return null;var i=a.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),r=e.getBoundingClientRect(),n=t.label.style.padding,o=n.left,l=n.right,c=n.top,h=n.bottom;if(t.label.orientation==="vertical"){var d=[o,l,c,h];c=d[0],h=d[1],o=d[2],l=d[3]}var u=r.left-i.left-o,g=r.top-i.top-c,p=this.annoCtx.graphics.drawRect(u-a.globals.barPadForNumericAxis,g,r.width+o+l,r.height+c+h,t.label.borderRadius,t.label.style.background,1,t.label.borderWidth,t.label.borderColor,0);return t.id&&p.node.classList.add(t.id),p}},{key:"annotationsBackground",value:function(){var e=this,t=this.w,a=function(i,r,n){var o=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(n,"-annotations .apexcharts-").concat(n,"-annotation-label[rel='").concat(r,"']"));if(o){var l=o.parentNode,c=e.addBackgroundToAnno(o,i);c&&(l.insertBefore(c.node,o),i.label.mouseEnter&&c.node.addEventListener("mouseenter",i.label.mouseEnter.bind(e,i)),i.label.mouseLeave&&c.node.addEventListener("mouseleave",i.label.mouseLeave.bind(e,i)),i.label.click&&c.node.addEventListener("click",i.label.click.bind(e,i)))}};t.config.annotations.xaxis.forEach((function(i,r){return a(i,r,"xaxis")})),t.config.annotations.yaxis.forEach((function(i,r){return a(i,r,"yaxis")})),t.config.annotations.points.forEach((function(i,r){return a(i,r,"point")}))}},{key:"getY1Y2",value:function(e,t){var a,i=this.w,r=e==="y1"?t.y:t.y2,n=!1;if(this.annoCtx.invertAxis){var o=i.config.xaxis.convertedCatToNumeric?i.globals.categoryLabels:i.globals.labels,l=o.indexOf(r),c=i.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child(".concat(l+1,")"));a=c?parseFloat(c.getAttribute("y")):(i.globals.gridHeight/o.length-1)*(l+1)-i.globals.barHeight,t.seriesIndex!==void 0&&i.globals.barHeight&&(a-=i.globals.barHeight/2*(i.globals.series.length-1)-i.globals.barHeight*t.seriesIndex)}else{var h,d=i.globals.seriesYAxisMap[t.yAxisIndex][0],u=i.config.yaxis[t.yAxisIndex].logarithmic?new Ae(this.annoCtx.ctx).getLogVal(i.config.yaxis[t.yAxisIndex].logBase,r,d)/i.globals.yLogRatio[d]:(r-i.globals.minYArr[d])/(i.globals.yRange[d]/i.globals.gridHeight);a=i.globals.gridHeight-Math.min(Math.max(u,0),i.globals.gridHeight),n=u>i.globals.gridHeight||u<0,!t.marker||t.y!==void 0&&t.y!==null||(a=0),(h=i.config.yaxis[t.yAxisIndex])!==null&&h!==void 0&&h.reversed&&(a=u)}return typeof r=="string"&&r.includes("px")&&(a=parseFloat(r)),{yP:a,clipped:n}}},{key:"getX1X2",value:function(e,t){var a=this.w,i=e==="x1"?t.x:t.x2,r=this.annoCtx.invertAxis?a.globals.minY:a.globals.minX,n=this.annoCtx.invertAxis?a.globals.maxY:a.globals.maxX,o=this.annoCtx.invertAxis?a.globals.yRange[0]:a.globals.xRange,l=!1,c=this.annoCtx.inversedReversedAxis?(n-i)/(o/a.globals.gridWidth):(i-r)/(o/a.globals.gridWidth);return a.config.xaxis.type!=="category"&&!a.config.xaxis.convertedCatToNumeric||this.annoCtx.invertAxis||a.globals.dataFormatXNumeric||a.config.chart.sparkline.enabled||(c=this.getStringX(i)),typeof i=="string"&&i.includes("px")&&(c=parseFloat(i)),i==null&&t.marker&&(c=a.globals.gridWidth),t.seriesIndex!==void 0&&a.globals.barWidth&&!this.annoCtx.invertAxis&&(c-=a.globals.barWidth/2*(a.globals.series.length-1)-a.globals.barWidth*t.seriesIndex),typeof c!="number"&&(c=0,l=!0),parseFloat(c.toFixed(10))>parseFloat(a.globals.gridWidth.toFixed(10))?(c=a.globals.gridWidth,l=!0):c<0&&(c=0,l=!0),{x:c,clipped:l}}},{key:"getStringX",value:function(e){var t=this.w,a=e;t.config.xaxis.convertedCatToNumeric&&t.globals.categoryLabels.length&&(e=t.globals.categoryLabels.indexOf(e)+1);var i=t.globals.labels.map((function(n){return Array.isArray(n)?n.join(" "):n})).indexOf(e),r=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child(".concat(i+1,")"));return r&&(a=parseFloat(r.getAttribute("x"))),a}}]),s})(),Vh=(function(){function s(e){N(this,s),this.w=e.w,this.annoCtx=e,this.invertAxis=this.annoCtx.invertAxis,this.helpers=new gi(this.annoCtx)}return V(s,[{key:"addXaxisAnnotation",value:function(e,t,a){var i,r=this.w,n=this.helpers.getX1X2("x1",e),o=n.x,l=n.clipped,c=!0,h=e.label.text,d=e.strokeDashArray;if(L.isNumber(o)){if(e.x2===null||e.x2===void 0){if(!l){var u=this.annoCtx.graphics.drawLine(o+e.offsetX,0+e.offsetY,o+e.offsetX,r.globals.gridHeight+e.offsetY,e.borderColor,d,e.borderWidth);t.appendChild(u.node),e.id&&u.node.classList.add(e.id)}}else{var g=this.helpers.getX1X2("x2",e);if(i=g.x,c=g.clipped,i<o){var p=o;o=i,i=p}var f=this.annoCtx.graphics.drawRect(o+e.offsetX,0+e.offsetY,i-o,r.globals.gridHeight+e.offsetY,0,e.fillColor,e.opacity,1,e.borderColor,d);f.node.classList.add("apexcharts-annotation-rect"),f.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(f.node),e.id&&f.node.classList.add(e.id)}if(!l||!c){var m=this.annoCtx.graphics.getTextRects(h,parseFloat(e.label.style.fontSize)),v=e.label.position==="top"?4:e.label.position==="center"?r.globals.gridHeight/2+(e.label.orientation==="vertical"?m.width/2:0):r.globals.gridHeight,b=this.annoCtx.graphics.drawText({x:o+e.label.offsetX,y:v+e.label.offsetY-(e.label.orientation==="vertical"?e.label.position==="top"?m.width/2-12:-m.width/2:0),text:h,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-xaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});b.attr({rel:a}),t.appendChild(b.node),this.annoCtx.helpers.setOrientations(e,a)}}}},{key:"drawXAxisAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-xaxis-annotations"});return t.config.annotations.xaxis.map((function(i,r){e.addXaxisAnnotation(i,a.node,r)})),a}}]),s})(),ze=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return V(s,[{key:"isValidDate",value:function(e){return typeof e!="number"&&!isNaN(this.parseDate(e))}},{key:"getTimeStamp",value:function(e){return Date.parse(e)?this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toISOString().substr(0,25)).getTime():new Date(e).getTime():e}},{key:"getDate",value:function(e){return this.w.config.xaxis.labels.datetimeUTC?new Date(new Date(e).toUTCString()):new Date(e)}},{key:"parseDate",value:function(e){var t=Date.parse(e);if(!isNaN(t))return this.getTimeStamp(e);var a=Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "));return a=this.getTimeStamp(a)}},{key:"parseDateWithTimezone",value:function(e){return Date.parse(e.replace(/-/g,"/").replace(/[a-z]+/gi," "))}},{key:"formatDate",value:function(e,t){var a=this.w.globals.locale,i=this.w.config.xaxis.labels.datetimeUTC,r=["\0"].concat(Re(a.months)),n=[""].concat(Re(a.shortMonths)),o=[""].concat(Re(a.days)),l=[""].concat(Re(a.shortDays));function c(S,M){var I=S+"";for(M=M||2;I.length<M;)I="0"+I;return I}var h=i?e.getUTCFullYear():e.getFullYear();t=(t=(t=t.replace(/(^|[^\\])yyyy+/g,"$1"+h)).replace(/(^|[^\\])yy/g,"$1"+h.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+h);var d=(i?e.getUTCMonth():e.getMonth())+1;t=(t=(t=(t=t.replace(/(^|[^\\])MMMM+/g,"$1"+r[0])).replace(/(^|[^\\])MMM/g,"$1"+n[0])).replace(/(^|[^\\])MM/g,"$1"+c(d))).replace(/(^|[^\\])M/g,"$1"+d);var u=i?e.getUTCDate():e.getDate();t=(t=(t=(t=t.replace(/(^|[^\\])dddd+/g,"$1"+o[0])).replace(/(^|[^\\])ddd/g,"$1"+l[0])).replace(/(^|[^\\])dd/g,"$1"+c(u))).replace(/(^|[^\\])d/g,"$1"+u);var g=i?e.getUTCHours():e.getHours(),p=g>12?g-12:g===0?12:g;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+c(g))).replace(/(^|[^\\])H/g,"$1"+g)).replace(/(^|[^\\])hh+/g,"$1"+c(p))).replace(/(^|[^\\])h/g,"$1"+p);var f=i?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+c(f))).replace(/(^|[^\\])m/g,"$1"+f);var m=i?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+c(m))).replace(/(^|[^\\])s/g,"$1"+m);var v=i?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+c(v,3)),v=Math.round(v/10),t=t.replace(/(^|[^\\])ff/g,"$1"+c(v)),v=Math.round(v/10);var b=g<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+v)).replace(/(^|[^\\])TT+/g,"$1"+b)).replace(/(^|[^\\])T/g,"$1"+b.charAt(0));var w=b.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+w)).replace(/(^|[^\\])t/g,"$1"+w.charAt(0));var k=-e.getTimezoneOffset(),y=i||!k?"Z":k>0?"+":"-";if(!i){var A=(k=Math.abs(k))%60;y+=c(Math.floor(k/60))+":"+c(A)}t=t.replace(/(^|[^\\])K/g,"$1"+y);var C=(i?e.getUTCDay():e.getDay())+1;return t=(t=(t=(t=(t=t.replace(new RegExp(o[0],"g"),o[C])).replace(new RegExp(l[0],"g"),l[C])).replace(new RegExp(r[0],"g"),r[d])).replace(new RegExp(n[0],"g"),n[d])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(e,t,a){var i=this.w;i.config.xaxis.min!==void 0&&(e=i.config.xaxis.min),i.config.xaxis.max!==void 0&&(t=i.config.xaxis.max);var r=this.getDate(e),n=this.getDate(t),o=this.formatDate(r,"yyyy MM dd HH mm ss fff").split(" "),l=this.formatDate(n,"yyyy MM dd HH mm ss fff").split(" ");return{minMillisecond:parseInt(o[6],10),maxMillisecond:parseInt(l[6],10),minSecond:parseInt(o[5],10),maxSecond:parseInt(l[5],10),minMinute:parseInt(o[4],10),maxMinute:parseInt(l[4],10),minHour:parseInt(o[3],10),maxHour:parseInt(l[3],10),minDate:parseInt(o[2],10),maxDate:parseInt(l[2],10),minMonth:parseInt(o[1],10)-1,maxMonth:parseInt(l[1],10)-1,minYear:parseInt(o[0],10),maxYear:parseInt(l[0],10)}}},{key:"isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"calculcateLastDaysOfMonth",value:function(e,t,a){return this.determineDaysOfMonths(e,t)-a}},{key:"determineDaysOfYear",value:function(e){var t=365;return this.isLeapYear(e)&&(t=366),t}},{key:"determineRemainingDaysOfYear",value:function(e,t,a){var i=this.daysCntOfYear[t]+a;return t>1&&this.isLeapYear()&&i++,i}},{key:"determineDaysOfMonths",value:function(e,t){var a=30;switch(e=L.monthMod(e),!0){case this.months30.indexOf(e)>-1:e===2&&(a=this.isLeapYear(t)?29:28);break;case this.months31.indexOf(e)>-1:default:a=31}return a}}]),s})(),Sa=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.tooltipKeyFormat="dd MMM"}return V(s,[{key:"xLabelFormat",value:function(e,t,a,i){var r=this.w;if(r.config.xaxis.type==="datetime"&&r.config.xaxis.labels.formatter===void 0&&r.config.tooltip.x.formatter===void 0){var n=new ze(this.ctx);return n.formatDate(n.getDate(t),r.config.tooltip.x.format)}return e(t,a,i)}},{key:"defaultGeneralFormatter",value:function(e){return Array.isArray(e)?e.map((function(t){return t})):e}},{key:"defaultYFormatter",value:function(e,t,a){var i=this.w;if(L.isNumber(e))if(i.globals.yValueDecimal!==0)e=e.toFixed(t.decimalsInFloat!==void 0?t.decimalsInFloat:i.globals.yValueDecimal);else{var r=e.toFixed(0);e=e==r?r:e.toFixed(1)}return e}},{key:"setLabelFormatters",value:function(){var e=this,t=this.w;return t.globals.xaxisTooltipFormatter=function(a){return e.defaultGeneralFormatter(a)},t.globals.ttKeyFormatter=function(a){return e.defaultGeneralFormatter(a)},t.globals.ttZFormatter=function(a){return a},t.globals.legendFormatter=function(a){return e.defaultGeneralFormatter(a)},t.config.xaxis.labels.formatter!==void 0?t.globals.xLabelFormatter=t.config.xaxis.labels.formatter:t.globals.xLabelFormatter=function(a){if(L.isNumber(a)){if(!t.config.xaxis.convertedCatToNumeric&&t.config.xaxis.type==="numeric"){if(L.isNumber(t.config.xaxis.decimalsInFloat))return a.toFixed(t.config.xaxis.decimalsInFloat);var i=t.globals.maxX-t.globals.minX;return i>0&&i<100?a.toFixed(1):a.toFixed(0)}return t.globals.isBarHorizontal&&t.globals.maxY-t.globals.minYArr<4?a.toFixed(1):a.toFixed(0)}return a},typeof t.config.tooltip.x.formatter=="function"?t.globals.ttKeyFormatter=t.config.tooltip.x.formatter:t.globals.ttKeyFormatter=t.globals.xLabelFormatter,typeof t.config.xaxis.tooltip.formatter=="function"&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),(Array.isArray(t.config.tooltip.y)||t.config.tooltip.y.formatter!==void 0)&&(t.globals.ttVal=t.config.tooltip.y),t.config.tooltip.z.formatter!==void 0&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),t.config.legend.formatter!==void 0&&(t.globals.legendFormatter=t.config.legend.formatter),t.config.yaxis.forEach((function(a,i){a.labels.formatter!==void 0?t.globals.yLabelFormatters[i]=a.labels.formatter:t.globals.yLabelFormatters[i]=function(r){return t.globals.xyCharts?Array.isArray(r)?r.map((function(n){return e.defaultYFormatter(n,a,i)})):e.defaultYFormatter(r,a,i):r}})),t.globals}},{key:"heatmapLabelFormatters",value:function(){var e=this.w;if(e.config.chart.type==="heatmap"){e.globals.yAxisScale[0].result=e.globals.seriesNames.slice();var t=e.globals.seriesNames.reduce((function(a,i){return a.length>i.length?a:i}),0);e.globals.yAxisScale[0].niceMax=t,e.globals.yAxisScale[0].niceMin=t}}}]),s})(),Ct=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"getLabel",value:function(e,t,a,i){var r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"12px",o=!(arguments.length>6&&arguments[6]!==void 0)||arguments[6],l=this.w,c=e[i]===void 0?"":e[i],h=c,d=l.globals.xLabelFormatter,u=l.config.xaxis.labels.formatter,g=!1,p=new Sa(this.ctx),f=c;o&&(h=p.xLabelFormat(d,c,f,{i,dateFormatter:new ze(this.ctx).formatDate,w:l}),u!==void 0&&(h=u(c,e[i],{i,dateFormatter:new ze(this.ctx).formatDate,w:l})));var m,v;t.length>0?(m=t[i].unit,v=null,t.forEach((function(y){y.unit==="month"?v="year":y.unit==="day"?v="month":y.unit==="hour"?v="day":y.unit==="minute"&&(v="hour")})),g=v===m,a=t[i].position,h=t[i].value):l.config.xaxis.type==="datetime"&&u===void 0&&(h=""),h===void 0&&(h=""),h=Array.isArray(h)?h:h.toString();var b=new E(this.ctx),w={};w=l.globals.rotateXLabels&&o?b.getTextRects(h,parseInt(n,10),null,"rotate(".concat(l.config.xaxis.labels.rotate," 0 0)"),!1):b.getTextRects(h,parseInt(n,10));var k=!l.config.xaxis.labels.showDuplicates&&this.ctx.timeScale;return!Array.isArray(h)&&(String(h)==="NaN"||r.indexOf(h)>=0&&k)&&(h=""),{x:a,text:h,textRect:w,isBold:g}}},{key:"checkLabelBasedOnTickamount",value:function(e,t,a){var i=this.w,r=i.config.xaxis.tickAmount;return r==="dataPoints"&&(r=Math.round(i.globals.gridWidth/120)),r>a||e%Math.round(a/(r+1))==0||(t.text=""),t}},{key:"checkForOverflowingLabels",value:function(e,t,a,i,r){var n=this.w;if(e===0&&n.globals.skipFirstTimelinelabel&&(t.text=""),e===a-1&&n.globals.skipLastTimelinelabel&&(t.text=""),n.config.xaxis.labels.hideOverlappingLabels&&i.length>0){var o=r[r.length-1];if(n.config.xaxis.labels.trim&&n.config.xaxis.type!=="datetime")return t;t.x<o.textRect.width/(n.globals.rotateXLabels?Math.abs(n.config.xaxis.labels.rotate)/12:1.01)+o.x&&(t.text="")}return t}},{key:"checkForReversedLabels",value:function(e,t){var a=this.w;return a.config.yaxis[e]&&a.config.yaxis[e].reversed&&t.reverse(),t}},{key:"yAxisAllSeriesCollapsed",value:function(e){var t=this.w.globals;return!t.seriesYAxisMap[e].some((function(a){return t.collapsedSeriesIndices.indexOf(a)===-1}))}},{key:"translateYAxisIndex",value:function(e){var t=this.w,a=t.globals,i=t.config.yaxis;return a.series.length>i.length||i.some((function(r){return Array.isArray(r.seriesName)}))?e:a.seriesYAxisReverseMap[e]}},{key:"isYAxisHidden",value:function(e){var t=this.w,a=t.config.yaxis[e];if(!a.show||this.yAxisAllSeriesCollapsed(e))return!0;if(!a.showForNullSeries){var i=t.globals.seriesYAxisMap[e],r=new Ae(this.ctx);return i.every((function(n){return r.isSeriesNull(n)}))}return!1}},{key:"getYAxisForeColor",value:function(e,t){var a=this.w;return Array.isArray(e)&&a.globals.yAxisScale[t]&&this.ctx.theme.pushExtraColors(e,a.globals.yAxisScale[t].result.length,!1),e}},{key:"drawYAxisTicks",value:function(e,t,a,i,r,n,o){var l=this.w,c=new E(this.ctx),h=l.globals.translateY+l.config.yaxis[r].labels.offsetY;if(l.globals.isBarHorizontal?h=0:l.config.chart.type==="heatmap"&&(h+=n/2),i.show&&t>0){l.config.yaxis[r].opposite===!0&&(e+=i.width);for(var d=t;d>=0;d--){var u=c.drawLine(e+a.offsetX-i.width+i.offsetX,h+i.offsetY,e+a.offsetX+i.offsetX,h+i.offsetY,i.color);o.add(u),h+=n}}}}]),s})(),Xh=(function(){function s(e){N(this,s),this.w=e.w,this.annoCtx=e,this.helpers=new gi(this.annoCtx),this.axesUtils=new Ct(this.annoCtx)}return V(s,[{key:"addYaxisAnnotation",value:function(e,t,a){var i,r=this.w,n=e.strokeDashArray,o=this.helpers.getY1Y2("y1",e),l=o.yP,c=o.clipped,h=!0,d=!1,u=e.label.text;if(e.y2===null||e.y2===void 0){if(!c){d=!0;var g=this.annoCtx.graphics.drawLine(0+e.offsetX,l+e.offsetY,this._getYAxisAnnotationWidth(e),l+e.offsetY,e.borderColor,n,e.borderWidth);t.appendChild(g.node),e.id&&g.node.classList.add(e.id)}}else{if(i=(o=this.helpers.getY1Y2("y2",e)).yP,h=o.clipped,i>l){var p=l;l=i,i=p}if(!c||!h){d=!0;var f=this.annoCtx.graphics.drawRect(0+e.offsetX,i+e.offsetY,this._getYAxisAnnotationWidth(e),l-i,0,e.fillColor,e.opacity,1,e.borderColor,n);f.node.classList.add("apexcharts-annotation-rect"),f.attr("clip-path","url(#gridRectMask".concat(r.globals.cuid,")")),t.appendChild(f.node),e.id&&f.node.classList.add(e.id)}}if(d){var m=e.label.position==="right"?r.globals.gridWidth:e.label.position==="center"?r.globals.gridWidth/2:0,v=this.annoCtx.graphics.drawText({x:m+e.label.offsetX,y:(i??l)+e.label.offsetY-3,text:u,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-yaxis-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});v.attr({rel:a}),t.appendChild(v.node)}}},{key:"_getYAxisAnnotationWidth",value:function(e){var t=this.w;return t.globals.gridWidth,(e.width.indexOf("%")>-1?t.globals.gridWidth*parseInt(e.width,10)/100:parseInt(e.width,10))+e.offsetX}},{key:"drawYAxisAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-yaxis-annotations"});return t.config.annotations.yaxis.forEach((function(i,r){i.yAxisIndex=e.axesUtils.translateYAxisIndex(i.yAxisIndex),e.axesUtils.isYAxisHidden(i.yAxisIndex)&&e.axesUtils.yAxisAllSeriesCollapsed(i.yAxisIndex)||e.addYaxisAnnotation(i,a.node,r)})),a}}]),s})(),Yh=(function(){function s(e){N(this,s),this.w=e.w,this.annoCtx=e,this.helpers=new gi(this.annoCtx)}return V(s,[{key:"addPointAnnotation",value:function(e,t,a){if(!(this.w.globals.collapsedSeriesIndices.indexOf(e.seriesIndex)>-1)){var i=this.helpers.getX1X2("x1",e),r=i.x,n=i.clipped,o=(i=this.helpers.getY1Y2("y1",e)).yP,l=i.clipped;if(L.isNumber(r)&&!l&&!n){var c={pSize:e.marker.size,pointStrokeWidth:e.marker.strokeWidth,pointFillColor:e.marker.fillColor,pointStrokeColor:e.marker.strokeColor,shape:e.marker.shape,pRadius:e.marker.radius,class:"apexcharts-point-annotation-marker ".concat(e.marker.cssClass," ").concat(e.id?e.id:"")},h=this.annoCtx.graphics.drawMarker(r+e.marker.offsetX,o+e.marker.offsetY,c);t.appendChild(h.node);var d=e.label.text?e.label.text:"",u=this.annoCtx.graphics.drawText({x:r+e.label.offsetX,y:o+e.label.offsetY-e.marker.size-parseFloat(e.label.style.fontSize)/1.6,text:d,textAnchor:e.label.textAnchor,fontSize:e.label.style.fontSize,fontFamily:e.label.style.fontFamily,fontWeight:e.label.style.fontWeight,foreColor:e.label.style.color,cssClass:"apexcharts-point-annotation-label ".concat(e.label.style.cssClass," ").concat(e.id?e.id:"")});if(u.attr({rel:a}),t.appendChild(u.node),e.customSVG.SVG){var g=this.annoCtx.graphics.group({class:"apexcharts-point-annotations-custom-svg "+e.customSVG.cssClass});g.attr({transform:"translate(".concat(r+e.customSVG.offsetX,", ").concat(o+e.customSVG.offsetY,")")}),g.node.innerHTML=e.customSVG.SVG,t.appendChild(g.node)}if(e.image.path){var p=e.image.width?e.image.width:20,f=e.image.height?e.image.height:20;h=this.annoCtx.addImage({x:r+e.image.offsetX-p/2,y:o+e.image.offsetY-f/2,width:p,height:f,path:e.image.path,appendTo:".apexcharts-point-annotations"})}e.mouseEnter&&h.node.addEventListener("mouseenter",e.mouseEnter.bind(this,e)),e.mouseLeave&&h.node.addEventListener("mouseleave",e.mouseLeave.bind(this,e)),e.click&&h.node.addEventListener("click",e.click.bind(this,e))}}}},{key:"drawPointAnnotations",value:function(){var e=this,t=this.w,a=this.annoCtx.graphics.group({class:"apexcharts-point-annotations"});return t.config.annotations.points.map((function(i,r){e.addPointAnnotation(i,a.node,r)})),a}}]),s})(),oo={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",exportToCSV:"Download CSV",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},Mt=(function(){function s(){N(this,s),this.yAxis={show:!0,showAlways:!1,showForNullSeries:!0,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,logBase:10,tickAmount:void 0,stepSize:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,showDuplicates:!1,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontWeight:400,fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#e0e0e0",width:1,offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#e0e0e0",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:-90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontWeight:900,fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.pointAnnotation={id:void 0,x:0,y:null,yAxisIndex:0,seriesIndex:void 0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,marker:{size:4,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0},image:{path:void 0,width:20,height:20,offsetX:0,offsetY:0}},this.yAxisAnnotation={id:void 0,y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,width:"100%",yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.xAxisAnnotation={id:void 0,x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",borderWidth:1,opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,borderRadius:2,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,mouseEnter:void 0,mouseLeave:void 0,click:void 0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.text={x:0,y:0,text:"",textAnchor:"start",foreColor:void 0,fontSize:"13px",fontFamily:void 0,fontWeight:400,appendTo:".apexcharts-annotations",backgroundColor:"transparent",borderColor:"#c2c2c2",borderRadius:0,borderWidth:0,paddingLeft:4,paddingRight:4,paddingTop:2,paddingBottom:2}}return V(s,[{key:"init",value:function(){return{annotations:{yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation],texts:[],images:[],shapes:[]},chart:{animations:{enabled:!0,speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"",locales:[oo],defaultLocale:"en",dropShadow:{enabled:!1,enabledOnSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.7},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,mouseMove:void 0,mouseLeave:void 0,xAxisLabelClick:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,beforeResetZoom:void 0,zoomed:void 0,scrolled:void 0,brushScrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,redrawOnParentResize:!0,redrawOnWindowResize:!0,id:void 0,group:void 0,nonce:void 0,offsetX:0,offsetY:0,injectStyleSheet:!0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0,targets:void 0},stacked:!1,stackOnlyBar:!0,stackType:"normal",toolbar:{show:!0,offsetX:0,offsetY:0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},export:{csv:{filename:void 0,columnDelimiter:",",headerCategory:"category",headerValue:"value",categoryFormatter:void 0,valueFormatter:void 0},png:{filename:void 0},svg:{filename:void 0},scale:void 0,width:void 0},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,allowMouseWheelZoom:!0,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},parsing:{x:void 0,y:void 0},plotOptions:{line:{isSlopeChart:!1,colors:{threshold:0,colorAboveThreshold:void 0,colorBelowThreshold:void 0}},area:{fillTo:"origin"},bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,borderRadius:0,borderRadiusApplication:"around",borderRadiusWhenStacked:"last",rangeBarOverlap:!0,rangeBarGroupRows:!1,hideZeroBarsWhenGrouped:!1,isDumbbell:!1,dumbbellColors:void 0,isFunnel:!1,isFunnel3d:!0,colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1,backgroundBarRadius:0},dataLabels:{position:"top",maxItems:100,hideOverflowingLabels:!0,orientation:"horizontal",total:{enabled:!1,formatter:void 0,offsetX:0,offsetY:0,style:{color:"#373d3f",fontSize:"12px",fontFamily:void 0,fontWeight:600}}}},bubble:{zScaling:!0,minBubbleRadius:void 0,maxBubbleRadius:void 0},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},boxPlot:{colors:{upper:"#00E396",lower:"#008FFB"}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!1,distributed:!1,useFillColorAsStroke:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},treemap:{enableShades:!0,shadeIntensity:.5,distributed:!1,reverseNegativeShade:!1,useFillColorAsStroke:!1,borderRadius:4,dataLabels:{format:"scale"},colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0},seriesTitle:{show:!0,offsetY:1,offsetX:1,borderColor:"#000",borderWidth:1,borderRadius:2,style:{background:"rgba(0, 0, 0, 0.6)",color:"#fff",fontSize:"12px",fontFamily:void 0,fontWeight:400,cssClass:"",padding:{left:6,right:6,top:2,bottom:2}}}},radialBar:{inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:0,formatter:function(e){return e}},value:{show:!0,fontSize:"14px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:16,formatter:function(e){return e+"%"}},total:{show:!1,label:"Total",fontSize:"16px",fontWeight:600,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(t,a){return t+a}),0)/e.globals.series.length+"%"}}},barLabels:{enabled:!1,offsetX:0,offsetY:0,useSeriesColors:!0,fontFamily:void 0,fontWeight:600,fontSize:"16px",formatter:function(e){return e},onClick:void 0}},pie:{customScale:1,offsetX:0,offsetY:0,startAngle:0,endAngle:360,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,fontWeight:600,color:void 0,offsetY:-10,formatter:function(e){return e}},value:{show:!0,fontSize:"20px",fontFamily:void 0,fontWeight:400,color:void 0,offsetY:10,formatter:function(e){return e}},total:{show:!1,showAlways:!1,label:"Total",fontSize:"16px",fontWeight:400,fontFamily:void 0,color:void 0,formatter:function(e){return e.globals.seriesTotals.reduce((function(t,a){return t+a}),0)}}}}},polarArea:{rings:{strokeWidth:1,strokeColor:"#e8e8e8"},spokes:{strokeWidth:1,connectorColors:"#e8e8e8"}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeWidth:1,strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(e){return e!==null?e:""},textAnchor:"middle",distributed:!1,offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,fontWeight:600,colors:void 0},background:{enabled:!0,foreColor:"#fff",backgroundColor:void 0,borderRadius:2,padding:4,opacity:.9,borderWidth:1,borderColor:"#fff",dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.8}},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.8}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"squares",width:6,height:6,strokeWidth:2}},forecastDataPoints:{count:0,fillOpacity:.5,strokeWidth:void 0,dashArray:4},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1}},yaxis:{lines:{show:!0}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",inverseOrder:!1,fontSize:"12px",fontFamily:void 0,fontWeight:400,width:void 0,height:void 0,formatter:void 0,tooltipHoverFormatter:void 0,offsetX:-20,offsetY:4,customLegendItems:[],clusterGroupedSeries:!0,clusterGroupedSeriesOrientation:"vertical",labels:{colors:void 0,useSeriesColors:!1},markers:{size:7,fillColors:void 0,strokeWidth:1,shape:void 0,offsetX:0,offsetY:0,customHTML:void 0,onClick:void 0},itemMargin:{horizontal:5,vertical:4},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,strokeDashArray:0,fillOpacity:1,shape:"circle",offsetX:0,offsetY:0,showNullDataPoints:!0,onClick:void 0,onDblClick:void 0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{hover:{filter:{type:"lighten"}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken"}}},title:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontWeight:900,fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:5,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontWeight:400,fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0,fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]}}},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,hideEmptySeries:!1,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",cssClass:"",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(e){return e?e+": ":""}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0,fillColors:void 0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],convertedCatToNumeric:!1,offsetX:0,offsetY:0,overwriteCategories:void 0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!1,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeUTC:!0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss",second:"HH:mm:ss"}},group:{groups:[],style:{colors:[],fontSize:"12px",fontWeight:400,fontFamily:void 0,cssClass:""}},axisBorder:{show:!0,color:"#e0e0e0",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#e0e0e0",height:6,offsetX:0,offsetY:0},stepSize:void 0,tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,decimalsInFloat:void 0,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontWeight:900,fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.8}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),s})(),Wh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.graphics=new E(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.helpers=new gi(this),this.xAxisAnnotations=new Vh(this),this.yAxisAnnotations=new Xh(this),this.pointsAnnotations=new Yh(this),this.w.globals.isBarHorizontal&&this.w.config.yaxis[0].reversed&&(this.inversedReversedAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return V(s,[{key:"drawAxesAnnotations",value:function(){var e=this.w;if(e.globals.axisCharts&&e.globals.dataPoints){for(var t=this.yAxisAnnotations.drawYAxisAnnotations(),a=this.xAxisAnnotations.drawXAxisAnnotations(),i=this.pointsAnnotations.drawPointAnnotations(),r=e.config.chart.animations.enabled,n=[t,a,i],o=[a.node,t.node,i.node],l=0;l<3;l++)e.globals.dom.elGraphical.add(n[l]),!r||e.globals.resized||e.globals.dataChanged||e.config.chart.type!=="scatter"&&e.config.chart.type!=="bubble"&&e.globals.dataPoints>1&&o[l].classList.add("apexcharts-element-hidden"),e.globals.delayedElements.push({el:o[l],index:0});this.helpers.annotationsBackground()}}},{key:"drawImageAnnos",value:function(){var e=this;this.w.config.annotations.images.map((function(t,a){e.addImage(t,a)}))}},{key:"drawTextAnnos",value:function(){var e=this;this.w.config.annotations.texts.map((function(t,a){e.addText(t,a)}))}},{key:"addXaxisAnnotation",value:function(e,t,a){this.xAxisAnnotations.addXaxisAnnotation(e,t,a)}},{key:"addYaxisAnnotation",value:function(e,t,a){this.yAxisAnnotations.addYaxisAnnotation(e,t,a)}},{key:"addPointAnnotation",value:function(e,t,a){this.pointsAnnotations.addPointAnnotation(e,t,a)}},{key:"addText",value:function(e,t){var a=e.x,i=e.y,r=e.text,n=e.textAnchor,o=e.foreColor,l=e.fontSize,c=e.fontFamily,h=e.fontWeight,d=e.cssClass,u=e.backgroundColor,g=e.borderWidth,p=e.strokeDashArray,f=e.borderRadius,m=e.borderColor,v=e.appendTo,b=v===void 0?".apexcharts-svg":v,w=e.paddingLeft,k=w===void 0?4:w,y=e.paddingRight,A=y===void 0?4:y,C=e.paddingBottom,S=C===void 0?2:C,M=e.paddingTop,I=M===void 0?2:M,R=this.w,P=this.graphics.drawText({x:a,y:i,text:r,textAnchor:n||"start",fontSize:l||"12px",fontWeight:h||"regular",fontFamily:c||R.config.chart.fontFamily,foreColor:o||R.config.chart.foreColor,cssClass:d}),_=R.globals.dom.baseEl.querySelector(b);_&&_.appendChild(P.node);var O=P.bbox();if(r){var H=this.graphics.drawRect(O.x-k,O.y-I,O.width+k+A,O.height+S+I,f,u||"transparent",1,g,m,p);_.insertBefore(H.node,P.node)}}},{key:"addImage",value:function(e,t){var a=this.w,i=e.path,r=e.x,n=r===void 0?0:r,o=e.y,l=o===void 0?0:o,c=e.width,h=c===void 0?20:c,d=e.height,u=d===void 0?20:d,g=e.appendTo,p=g===void 0?".apexcharts-svg":g,f=a.globals.dom.Paper.image(i);f.size(h,u).move(n,l);var m=a.globals.dom.baseEl.querySelector(p);return m&&m.appendChild(f.node),f}},{key:"addXaxisAnnotationExternal",value:function(e,t,a){return this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"xaxis",contextMethod:a.addXaxisAnnotation}),a}},{key:"addYaxisAnnotationExternal",value:function(e,t,a){return this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"yaxis",contextMethod:a.addYaxisAnnotation}),a}},{key:"addPointAnnotationExternal",value:function(e,t,a){return this.invertAxis===void 0&&(this.invertAxis=a.w.globals.isBarHorizontal),this.addAnnotationExternal({params:e,pushToMemory:t,context:a,type:"point",contextMethod:a.addPointAnnotation}),a}},{key:"addAnnotationExternal",value:function(e){var t=e.params,a=e.pushToMemory,i=e.context,r=e.type,n=e.contextMethod,o=i,l=o.w,c=l.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations")),h=c.childNodes.length+1,d=new Mt,u=Object.assign({},r==="xaxis"?d.xAxisAnnotation:r==="yaxis"?d.yAxisAnnotation:d.pointAnnotation),g=L.extend(u,t);switch(r){case"xaxis":this.addXaxisAnnotation(g,c,h);break;case"yaxis":this.addYaxisAnnotation(g,c,h);break;case"point":this.addPointAnnotation(g,c,h)}var p=l.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(h,"']")),f=this.helpers.addBackgroundToAnno(p,g);return f&&c.insertBefore(f.node,p),a&&l.globals.memory.methodsToExec.push({context:o,id:g.id?g.id:L.randomId(),method:n,label:"addAnnotation",params:t}),i}},{key:"clearAnnotations",value:function(e){for(var t=e.w,a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations"),i=t.globals.memory.methodsToExec.length-1;i>=0;i--)t.globals.memory.methodsToExec[i].label!=="addText"&&t.globals.memory.methodsToExec[i].label!=="addAnnotation"||t.globals.memory.methodsToExec.splice(i,1);a=L.listToArray(a),Array.prototype.forEach.call(a,(function(r){for(;r.firstChild;)r.removeChild(r.firstChild)}))}},{key:"removeAnnotation",value:function(e,t){var a=e.w,i=a.globals.dom.baseEl.querySelectorAll(".".concat(t));i&&(a.globals.memory.methodsToExec.map((function(r,n){r.id===t&&a.globals.memory.methodsToExec.splice(n,1)})),Object.keys(a.config.annotations).forEach((function(r){var n=a.config.annotations[r];Array.isArray(n)&&(a.config.annotations[r]=n.filter((function(o){return o.id!==t})))})),Array.prototype.forEach.call(i,(function(r){r.parentElement.removeChild(r)})))}}]),s})(),zi=function(s){var e,t=s.isTimeline,a=s.ctx,i=s.seriesIndex,r=s.dataPointIndex,n=s.y1,o=s.y2,l=s.w,c=l.globals.seriesRangeStart[i][r],h=l.globals.seriesRangeEnd[i][r],d=l.globals.labels[r],u=l.config.series[i].name?l.config.series[i].name:"",g=l.globals.ttKeyFormatter,p=l.config.tooltip.y.title.formatter,f={w:l,seriesIndex:i,dataPointIndex:r,start:c,end:h};typeof p=="function"&&(u=p(u,f)),(e=l.config.series[i].data[r])!==null&&e!==void 0&&e.x&&(d=l.config.series[i].data[r].x),t||l.config.xaxis.type==="datetime"&&(d=new Sa(a).xLabelFormat(l.globals.ttKeyFormatter,d,d,{i:void 0,dateFormatter:new ze(a).formatDate,w:l})),typeof g=="function"&&(d=g(d,f)),Number.isFinite(n)&&Number.isFinite(o)&&(c=n,h=o);var m="",v="",b=l.globals.colors[i];if(l.config.tooltip.x.formatter===void 0)if(l.config.xaxis.type==="datetime"){var w=new ze(a);m=w.formatDate(w.getDate(c),l.config.tooltip.x.format),v=w.formatDate(w.getDate(h),l.config.tooltip.x.format)}else m=c,v=h;else m=l.config.tooltip.x.formatter(c),v=l.config.tooltip.x.formatter(h);return{start:c,end:h,startVal:m,endVal:v,ylabel:d,color:b,seriesName:u}},Oi=function(s){var e=s.color,t=s.seriesName,a=s.ylabel,i=s.start,r=s.end,n=s.seriesIndex,o=s.dataPointIndex,l=s.ctx.tooltip.tooltipLabels.getFormatters(n);i=l.yLbFormatter(i),r=l.yLbFormatter(r);var c=l.yLbFormatter(s.w.globals.series[n][o]),h=`<span class="value start-value">
|
|
30
30
|
`.concat(i,`
|
|
31
31
|
</span> <span class="separator">-</span> <span class="value end-value">
|
|
32
32
|
`).concat(r,`
|
|
33
|
-
</span>`);return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+e+'">'+(t||"")+'</span></div><div> <span class="category">'+a+": </span> "+(s.w.globals.comboCharts?s.w.config.series[n].type==="rangeArea"||s.w.config.series[n].type==="rangeBar"?h:"<span>".concat(c,"</span>"):h)+" </div></div>"},ga=(function(){function s(e){N(this,s),this.opts=e}return V(s,[{key:"hideYAxis",value:function(){this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0}},{key:"line",value:function(){return{dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(e){return this.hideYAxis(),L.extend(e,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"slope",value:function(){return this.hideYAxis(),{chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!0,formatter:function(e,t){var a=t.w.config.series[t.seriesIndex].name;return e!==null?a+": "+e:""},background:{enabled:!1},offsetX:-5},grid:{xaxis:{lines:{show:!0}},yaxis:{lines:{show:!1}}},xaxis:{position:"top",labels:{style:{fontSize:14,fontWeight:900}},tooltip:{enabled:!1},crosshairs:{show:!1}},markers:{size:8,hover:{sizeOffset:1}},legend:{show:!1},tooltip:{shared:!1,intersect:!0,followCursor:!0},stroke:{width:5,curve:"straight"}}}},{key:"bar",value:function(){return{chart:{stacked:!1},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"square"},fill:{opacity:.85},legend:{markers:{shape:"square"}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"funnel",value:function(){return this.hideYAxis(),F(F({},this.bar()),{},{chart:{animations:{speed:800,animateGradually:{enabled:!1}}},plotOptions:{bar:{horizontal:!0,borderRadiusApplication:"around",borderRadius:0,dataLabels:{position:"center"}}},grid:{show:!1,padding:{left:0,right:0}},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}}})}},{key:"candlestick",value:function(){var e=this;return{stroke:{width:1},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var a=t.seriesIndex,i=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,a,i,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var e=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var a=t.seriesIndex,i=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,a,i,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:7,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{chart:{animations:{animateGradually:!1}},stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var a=t.seriesIndex,i=t.dataPointIndex,r=t.w,n=function(){var o=r.globals.seriesRangeStart[a][i];return r.globals.seriesRangeEnd[a][i]-o};return r.globals.comboCharts?r.config.series[a].type==="rangeBar"||r.config.series[a].type==="rangeArea"?n():e:n()},background:{enabled:!1},style:{colors:["#fff"]}},markers:{size:10},tooltip:{shared:!1,followCursor:!0,custom:function(e){return e.w.config.plotOptions&&e.w.config.plotOptions.bar&&e.w.config.plotOptions.bar.horizontal?(function(t){var a=Pi(F(F({},t),{},{isTimeline:!0})),i=a.color,r=a.seriesName,n=a.ylabel,o=a.startVal,l=a.endVal;return zi(F(F({},t),{},{color:i,seriesName:r,ylabel:n,start:o,end:l}))})(e):(function(t){var a=Pi(t),i=a.color,r=a.seriesName,n=a.ylabel,o=a.start,l=a.end;return zi(F(F({},t),{},{color:i,seriesName:r,ylabel:n,start:o,end:l}))})(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"dumbbell",value:function(e){var t,a;return(t=e.plotOptions.bar)!==null&&t!==void 0&&t.barHeight||(e.plotOptions.bar.barHeight=2),(a=e.plotOptions.bar)!==null&&a!==void 0&&a.columnWidth||(e.plotOptions.bar.columnWidth=2),e}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"rangeArea",value:function(){return{stroke:{curve:"straight",width:0},fill:{type:"solid",opacity:.6},markers:{size:0},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},tooltip:{intersect:!1,shared:!0,followCursor:!0,custom:function(e){return(function(t){var a=Pi(t),i=a.color,r=a.seriesName,n=a.ylabel,o=a.start,l=a.end;return zi(F(F({},t),{},{color:i,seriesName:r,ylabel:n,start:o,end:l}))})(e)}}}}},{key:"brush",value:function(e){return L.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(e){e.dataLabels=e.dataLabels||{},e.dataLabels.formatter=e.dataLabels.formatter||void 0;var t=e.dataLabels.formatter;return e.yaxis.forEach((function(a,i){e.yaxis[i].min=0,e.yaxis[i].max=100})),e.chart.type==="bar"&&(e.dataLabels.formatter=t||function(a){return typeof a=="number"&&a?a.toFixed(0)+"%":a}),e}},{key:"stackedBars",value:function(){var e=this.bar();return F(F({},e),{},{plotOptions:F(F({},e.plotOptions),{},{bar:F(F({},e.plotOptions.bar),{},{borderRadiusApplication:"end",borderRadiusWhenStacked:"last"})})})}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,a){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(n){return L.isNumber(n)?Math.floor(n):n};var i=e.xaxis.labels.formatter,r=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return a&&a.length&&(r=a.map((function(n){return Array.isArray(n)?n:String(n)}))),r&&r.length&&(e.xaxis.labels.formatter=function(n){return L.isNumber(n)?i(r[Math.floor(n)-1]):i(n)}),e.xaxis.categories=[],e.labels=[],e.xaxis.tickAmount=e.xaxis.tickAmount||"dataPoints",e}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square"}},grid:{padding:{right:20}}}}},{key:"treemap",value:function(){return{chart:{zoom:{enabled:!1}},dataLabels:{style:{fontSize:14,fontWeight:600,colors:["#fff"]}},stroke:{show:!0,width:2,colors:["#fff"]},legend:{show:!1},fill:{opacity:1,gradient:{stops:[0,100]}},tooltip:{followCursor:!0,x:{show:!1}},grid:{padding:{left:0,right:0}},xaxis:{crosshairs:{show:!1},tooltip:{enabled:!1}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"polarArea",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:5,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},xaxis:{labels:{formatter:function(e){return e},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"_getBoxTooltip",value:function(e,t,a,i,r){var n=e.globals.seriesCandleO[t][a],o=e.globals.seriesCandleH[t][a],l=e.globals.seriesCandleM[t][a],c=e.globals.seriesCandleL[t][a],h=e.globals.seriesCandleC[t][a];return e.config.series[t].type&&e.config.series[t].type!==r?`<div class="apexcharts-custom-tooltip">
|
|
33
|
+
</span>`);return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+e+'">'+(t||"")+'</span></div><div> <span class="category">'+a+": </span> "+(s.w.globals.comboCharts?s.w.config.series[n].type==="rangeArea"||s.w.config.series[n].type==="rangeBar"?h:"<span>".concat(c,"</span>"):h)+" </div></div>"},ga=(function(){function s(e){N(this,s),this.opts=e}return V(s,[{key:"hideYAxis",value:function(){this.opts.yaxis[0].show=!1,this.opts.yaxis[0].title.text="",this.opts.yaxis[0].axisBorder.show=!1,this.opts.yaxis[0].axisTicks.show=!1,this.opts.yaxis[0].floating=!0}},{key:"line",value:function(){return{dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(e){return this.hideYAxis(),L.extend(e,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"slope",value:function(){return this.hideYAxis(),{chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!0,formatter:function(e,t){var a=t.w.config.series[t.seriesIndex].name;return e!==null?a+": "+e:""},background:{enabled:!1},offsetX:-5},grid:{xaxis:{lines:{show:!0}},yaxis:{lines:{show:!1}}},xaxis:{position:"top",labels:{style:{fontSize:14,fontWeight:900}},tooltip:{enabled:!1},crosshairs:{show:!1}},markers:{size:8,hover:{sizeOffset:1}},legend:{show:!1},tooltip:{shared:!1,intersect:!0,followCursor:!0},stroke:{width:5,curve:"straight"}}}},{key:"bar",value:function(){return{chart:{stacked:!1},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]},background:{enabled:!1}},stroke:{width:0,lineCap:"square"},fill:{opacity:.85},legend:{markers:{shape:"square"}},tooltip:{shared:!1,intersect:!0},xaxis:{tooltip:{enabled:!1},tickPlacement:"between",crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"funnel",value:function(){return this.hideYAxis(),F(F({},this.bar()),{},{chart:{animations:{speed:800,animateGradually:{enabled:!1}}},plotOptions:{bar:{horizontal:!0,borderRadiusApplication:"around",borderRadius:0,dataLabels:{position:"center"}}},grid:{show:!1,padding:{left:0,right:0}},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1},axisTicks:{show:!1}}})}},{key:"candlestick",value:function(){var e=this;return{stroke:{width:1},fill:{opacity:1},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var a=t.seriesIndex,i=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,a,i,["Open","High","","Low","Close"],"candlestick")}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"boxPlot",value:function(){var e=this;return{chart:{animations:{dynamicAnimation:{enabled:!1}}},stroke:{width:1,colors:["#24292e"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var a=t.seriesIndex,i=t.dataPointIndex,r=t.w;return e._getBoxTooltip(r,a,i,["Minimum","Q1","Median","Q3","Maximum"],"boxPlot")}},markers:{size:7,strokeWidth:1,strokeColors:"#111"},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{chart:{animations:{animateGradually:!1}},stroke:{width:0,lineCap:"square"},plotOptions:{bar:{borderRadius:0,dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(e,t){t.ctx;var a=t.seriesIndex,i=t.dataPointIndex,r=t.w,n=function(){var o=r.globals.seriesRangeStart[a][i];return r.globals.seriesRangeEnd[a][i]-o};return r.globals.comboCharts?r.config.series[a].type==="rangeBar"||r.config.series[a].type==="rangeArea"?n():e:n()},background:{enabled:!1},style:{colors:["#fff"]}},markers:{size:10},tooltip:{shared:!1,followCursor:!0,custom:function(e){return e.w.config.plotOptions&&e.w.config.plotOptions.bar&&e.w.config.plotOptions.bar.horizontal?(function(t){var a=zi(F(F({},t),{},{isTimeline:!0})),i=a.color,r=a.seriesName,n=a.ylabel,o=a.startVal,l=a.endVal;return Oi(F(F({},t),{},{color:i,seriesName:r,ylabel:n,start:o,end:l}))})(e):(function(t){var a=zi(t),i=a.color,r=a.seriesName,n=a.ylabel,o=a.start,l=a.end;return Oi(F(F({},t),{},{color:i,seriesName:r,ylabel:n,start:o,end:l}))})(e)}},xaxis:{tickPlacement:"between",tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"dumbbell",value:function(e){var t,a;return(t=e.plotOptions.bar)!==null&&t!==void 0&&t.barHeight||(e.plotOptions.bar.barHeight=2),(a=e.plotOptions.bar)!==null&&a!==void 0&&a.columnWidth||(e.plotOptions.bar.columnWidth=2),e}},{key:"area",value:function(){return{stroke:{width:4,fill:{type:"solid",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}}},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"rangeArea",value:function(){return{stroke:{curve:"straight",width:0},fill:{type:"solid",opacity:.6},markers:{size:0},states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},tooltip:{intersect:!1,shared:!0,followCursor:!0,custom:function(e){return(function(t){var a=zi(t),i=a.color,r=a.seriesName,n=a.ylabel,o=a.start,l=a.end;return Oi(F(F({},t),{},{color:i,seriesName:r,ylabel:n,start:o,end:l}))})(e)}}}}},{key:"brush",value:function(e){return L.extend(e,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(e){e.dataLabels=e.dataLabels||{},e.dataLabels.formatter=e.dataLabels.formatter||void 0;var t=e.dataLabels.formatter;return e.yaxis.forEach((function(a,i){e.yaxis[i].min=0,e.yaxis[i].max=100})),e.chart.type==="bar"&&(e.dataLabels.formatter=t||function(a){return typeof a=="number"&&a?a.toFixed(0)+"%":a}),e}},{key:"stackedBars",value:function(){var e=this.bar();return F(F({},e),{},{plotOptions:F(F({},e.plotOptions),{},{bar:F(F({},e.plotOptions.bar),{},{borderRadiusApplication:"end",borderRadiusWhenStacked:"last"})})})}},{key:"convertCatToNumeric",value:function(e){return e.xaxis.convertedCatToNumeric=!0,e}},{key:"convertCatToNumericXaxis",value:function(e,t,a){e.xaxis.type="numeric",e.xaxis.labels=e.xaxis.labels||{},e.xaxis.labels.formatter=e.xaxis.labels.formatter||function(n){return L.isNumber(n)?Math.floor(n):n};var i=e.xaxis.labels.formatter,r=e.xaxis.categories&&e.xaxis.categories.length?e.xaxis.categories:e.labels;return a&&a.length&&(r=a.map((function(n){return Array.isArray(n)?n:String(n)}))),r&&r.length&&(e.xaxis.labels.formatter=function(n){return L.isNumber(n)?i(r[Math.floor(n)-1]):i(n)}),e.xaxis.categories=[],e.labels=[],e.xaxis.tickAmount=e.xaxis.tickAmount||"dataPoints",e}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:1,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square"}},grid:{padding:{right:20}}}}},{key:"treemap",value:function(){return{chart:{zoom:{enabled:!1}},dataLabels:{style:{fontSize:14,fontWeight:600,colors:["#fff"]}},stroke:{show:!0,width:2,colors:["#fff"]},legend:{show:!1},fill:{opacity:1,gradient:{stops:[0,100]}},tooltip:{followCursor:!0,x:{show:!1}},grid:{padding:{left:0,right:0}},xaxis:{crosshairs:{show:!1},tooltip:{enabled:!1}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",stops:[0,100]}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},style:{colors:["#fff"]},background:{enabled:!1},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"light",shadeIntensity:.35,stops:[80,100],opacityFrom:1,opacityTo:1}},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"polarArea",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(e){return e.toFixed(1)+"%"},enabled:!1},stroke:{show:!0,width:2},fill:{opacity:.7},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.offsetY=this.opts.yaxis[0].labels.offsetY?this.opts.yaxis[0].labels.offsetY:6,{dataLabels:{enabled:!1,style:{fontSize:"11px"}},stroke:{width:2},markers:{size:5,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},xaxis:{labels:{formatter:function(e){return e},style:{colors:["#a8a8a8"],fontSize:"11px"}},tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0},grid:{padding:{left:0,right:0,top:0,bottom:0}}}}},{key:"_getBoxTooltip",value:function(e,t,a,i,r){var n=e.globals.seriesCandleO[t][a],o=e.globals.seriesCandleH[t][a],l=e.globals.seriesCandleM[t][a],c=e.globals.seriesCandleL[t][a],h=e.globals.seriesCandleC[t][a];return e.config.series[t].type&&e.config.series[t].type!==r?`<div class="apexcharts-custom-tooltip">
|
|
34
34
|
`.concat(e.config.series[t].name?e.config.series[t].name:"series-"+(t+1),": <strong>").concat(e.globals.series[t][a],`</strong>
|
|
35
|
-
</div>`):'<div class="apexcharts-tooltip-box apexcharts-tooltip-'.concat(e.config.chart.type,'">')+"<div>".concat(i[0],': <span class="value">')+n+"</span></div>"+"<div>".concat(i[1],': <span class="value">')+o+"</span></div>"+(l?"<div>".concat(i[2],': <span class="value">')+l+"</span></div>":"")+"<div>".concat(i[3],': <span class="value">')+c+"</span></div>"+"<div>".concat(i[4],': <span class="value">')+h+"</span></div></div>"}}]),s})(),fa=(function(){function s(e){N(this,s),this.opts=e}return V(s,[{key:"init",value:function(e){var t=e.responsiveOverride,a=this.opts,i=new Mt,r=new ga(a);this.chartType=a.chart.type,a=this.extendYAxis(a),a=this.extendAnnotations(a);var n=i.init(),o={};if(a&&je(a)==="object"){var l,c,h,d,u,g,p,f,m,v,b={};b=["line","area","bar","candlestick","boxPlot","rangeBar","rangeArea","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(a.chart.type)!==-1?r[a.chart.type]():r.line(),(l=a.plotOptions)!==null&&l!==void 0&&(c=l.bar)!==null&&c!==void 0&&c.isFunnel&&(b=r.funnel()),a.chart.stacked&&a.chart.type==="bar"&&(b=r.stackedBars()),(h=a.chart.brush)!==null&&h!==void 0&&h.enabled&&(b=r.brush(b)),(d=a.plotOptions)!==null&&d!==void 0&&(u=d.line)!==null&&u!==void 0&&u.isSlopeChart&&(b=r.slope()),a.chart.stacked&&a.chart.stackType==="100%"&&(a=r.stacked100(a)),(g=a.plotOptions)!==null&&g!==void 0&&(p=g.bar)!==null&&p!==void 0&&p.isDumbbell&&(a=r.dumbbell(a)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(a),a.xaxis=a.xaxis||window.Apex.xaxis||{},t||(a.xaxis.convertedCatToNumeric=!1),((f=(a=this.checkForCatToNumericXAxis(this.chartType,b,a)).chart.sparkline)!==null&&f!==void 0&&f.enabled||(m=window.Apex.chart)!==null&&m!==void 0&&(v=m.sparkline)!==null&&v!==void 0&&v.enabled)&&(b=r.sparkline(b)),o=L.extend(n,b)}var w=L.extend(o,window.Apex);return n=L.extend(w,a),n=this.handleUserInputErrors(n)}},{key:"checkForCatToNumericXAxis",value:function(e,t,a){var i,r,n=new ga(a),o=(e==="bar"||e==="boxPlot")&&((i=a.plotOptions)===null||i===void 0||(r=i.bar)===null||r===void 0?void 0:r.horizontal),l=e==="pie"||e==="polarArea"||e==="donut"||e==="radar"||e==="radialBar"||e==="heatmap",c=a.xaxis.type!=="datetime"&&a.xaxis.type!=="numeric",h=a.xaxis.tickPlacement?a.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return o||l||!c||h==="between"||(a=n.convertCatToNumeric(a)),a}},{key:"extendYAxis",value:function(e,t){var a=new Mt;(e.yaxis===void 0||!e.yaxis||Array.isArray(e.yaxis)&&e.yaxis.length===0)&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=L.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[L.extend(a.yAxis,e.yaxis)]:e.yaxis=L.extendArray(e.yaxis,a.yAxis);var i=!1;e.yaxis.forEach((function(n){n.logarithmic&&(i=!0)}));var r=e.series;return t&&!r&&(r=t.config.series),i&&r.length!==e.yaxis.length&&r.length&&(e.yaxis=r.map((function(n,o){if(n.name||(r[o].name="series-".concat(o+1)),e.yaxis[o])return e.yaxis[o].seriesName=r[o].name,e.yaxis[o];var l=L.extend(a.yAxis,e.yaxis[0]);return l.show=!1,l}))),i&&r.length>1&&r.length!==e.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes"),e}},{key:"extendAnnotations",value:function(e){return e.annotations===void 0&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),e=this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new Mt;return e.annotations.yaxis=L.extendArray(e.annotations.yaxis!==void 0?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new Mt;return e.annotations.xaxis=L.extendArray(e.annotations.xaxis!==void 0?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new Mt;return e.annotations.points=L.extendArray(e.annotations.points!==void 0?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&e.theme.mode==="dark"&&(e.tooltip||(e.tooltip={}),e.tooltip.theme!=="light"&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if(t.chart.type==="bar"&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return t.chart.type!=="bar"&&t.chart.type!=="rangeBar"||t.tooltip.shared&&t.xaxis.crosshairs.width==="barWidth"&&t.series.length>1&&(t.xaxis.crosshairs.width="tickWidth"),t.chart.type!=="candlestick"&&t.chart.type!=="boxPlot"||t.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(t.chart.type," chart is not supported.")),t.yaxis[0].reversed=!1),t}}]),s})(),oo=(function(){function s(){N(this,s)}return V(s,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleM=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRange=[],e.seriesPercent=[],e.seriesGoals=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.seriesLog=[],e.seriesColors=[],e.stackedSeriesTotals=[],e.seriesXvalues=[],e.seriesYvalues=[],e.dataWasParsed=!1,e.originalSeries=null,e.labels=[],e.hasXaxisGroups=!1,e.groups=[],e.barGroups=[],e.lineGroups=[],e.areaGroups=[],e.hasSeriesGroups=!1,e.seriesGroups=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvided=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.lastWheelExecution=0,e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.skipLastTimelinelabel=!1,e.skipFirstTimelinelabel=!1,e.isDataXYZ=!1,e.isMultiLineX=!1,e.isMultipleYAxis=!1,e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE,e.minYArr=[],e.maxYArr=[],e.maxX=-Number.MAX_VALUE,e.minX=Number.MAX_VALUE,e.initialMaxX=-Number.MAX_VALUE,e.initialMinX=Number.MAX_VALUE,e.maxDate=0,e.minDate=Number.MAX_VALUE,e.minZ=Number.MAX_VALUE,e.maxZ=-Number.MAX_VALUE,e.minXDiff=Number.MAX_VALUE,e.yAxisScale=[],e.xAxisScale=null,e.xAxisTicksPositions=[],e.yLabelsCoords=[],e.yTitleCoords=[],e.barPadForNumericAxis=0,e.padHorizontal=0,e.xRange=0,e.yRange=[],e.zRange=0,e.dataPoints=0,e.xTickAmount=0,e.multiAxisTickAmount=0}},{key:"globalVars",value:function(e){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:e.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],invalidLogScale:!1,ignoreYAxisIndexes:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:e.chart.toolbar.autoSelected==="zoom"&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:e.chart.toolbar.autoSelected==="pan"&&e.chart.toolbar.tools.pan,selectionEnabled:e.chart.toolbar.autoSelected==="selection"&&e.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,isSlopeChart:e.plotOptions.line.isSlopeChart,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisGroupLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null,niceScaleAllowedMagMsd:[[1,1,2,5,5,5,10,10,10,10,10],[1,1,2,5,5,5,10,10,10,10,10]],niceScaleDefaultTicks:[1,2,4,4,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,24],seriesYAxisMap:[],seriesYAxisReverseMap:[]}}},{key:"init",value:function(e){var t=this.globalVars(e);return this.initGlobalVars(t),t.initialConfig=L.extend({},e),t.initialSeries=L.clone(e.series),t.lastXAxis=L.clone(t.initialConfig.xaxis),t.lastYAxis=L.clone(t.initialConfig.yaxis),t}}]),s})(),Gh=(function(){function s(e){N(this,s),this.opts=e}return V(s,[{key:"init",value:function(){var e=new fa(this.opts).init({responsiveOverride:!1});return{config:e,globals:new oo().init(e)}}}]),s})(),tt=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.opts=null,this.seriesIndex=0,this.patternIDs=[]}return V(s,[{key:"clippedImgArea",value:function(e){var t=this.w,a=t.config,i=parseInt(t.globals.gridWidth,10),r=parseInt(t.globals.gridHeight,10),n=i>r?i:r,o=e.image,l=0,c=0;e.width===void 0&&e.height===void 0?a.fill.image.width!==void 0&&a.fill.image.height!==void 0?(l=a.fill.image.width+1,c=a.fill.image.height):(l=n+1,c=n):(l=e.width,c=e.height);var h=document.createElementNS(t.globals.SVGNS,"pattern");E.setAttrs(h,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:l+"px",height:c+"px"});var d=document.createElementNS(t.globals.SVGNS,"image");h.appendChild(d),d.setAttributeNS(window.SVG.xlink,"href",o),E.setAttrs(d,{x:0,y:0,preserveAspectRatio:"none",width:l+"px",height:c+"px"}),d.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(h)}},{key:"getSeriesIndex",value:function(e){var t=this.w,a=t.config.chart.type;return(a==="bar"||a==="rangeBar")&&t.config.plotOptions.bar.distributed||a==="heatmap"||a==="treemap"?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"computeColorStops",value:function(e,t){var a,i=this.w,r=null,n=null,o=ra(e);try{for(o.s();!(a=o.n()).done;){var l=a.value;l>=t.threshold?(r===null||l>r)&&(r=l):(n===null||l<n)&&(n=l)}}catch(d){o.e(d)}finally{o.f()}r===null&&(r=t.threshold),n===null&&(n=t.threshold);var c=r-t.threshold+(t.threshold-n);c===0&&(c=1);var h=100-(t.threshold-n)/c*100;return[{offset:h=Math.max(0,Math.min(h,100)),color:t.colorAboveThreshold,opacity:i.config.fill.opacity},{offset:0,color:t.colorBelowThreshold,opacity:i.config.fill.opacity}]}},{key:"fillPath",value:function(e){var t,a,i,r=this.w;this.opts=e;var n,o,l,c=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var h=c.plotOptions.line.colors.colorAboveThreshold&&c.plotOptions.line.colors.colorBelowThreshold,d=this.getFillColors()[this.seriesIndex];r.globals.seriesColors[this.seriesIndex]!==void 0&&(d=r.globals.seriesColors[this.seriesIndex]),typeof d=="function"&&(d=d({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:r}));var u,g,p,f=e.fillType?e.fillType:this.getFillType(this.seriesIndex),m=Array.isArray(c.fill.opacity)?c.fill.opacity[this.seriesIndex]:c.fill.opacity,v=f==="gradient"||h;e.color&&(d=e.color),(t=r.config.series[this.seriesIndex])!==null&&t!==void 0&&(a=t.data)!==null&&a!==void 0&&(i=a[e.dataPointIndex])!==null&&i!==void 0&&i.fillColor&&(d=(u=r.config.series[this.seriesIndex])===null||u===void 0||(g=u.data)===null||g===void 0||(p=g[e.dataPointIndex])===null||p===void 0?void 0:p.fillColor),d||(d="#fff",console.warn("undefined color - ApexCharts"));var b=d;if(d.indexOf("rgb")===-1?d.indexOf("#")===-1?b=d:d.length<9&&(b=L.hexToRgba(d,m)):d.indexOf("rgba")>-1?m=L.getOpacityFromRGBA(d):b=L.hexToRgba(L.rgb2hex(d),m),e.opacity&&(m=e.opacity),f==="pattern"&&(o=this.handlePatternFill({fillConfig:e.fillConfig,patternFill:o,fillColor:d,fillOpacity:m,defaultColor:b})),v){var w=Re(c.fill.gradient.colorStops)||[],k=c.fill.gradient.type;h&&(w[this.seriesIndex]=this.computeColorStops(r.globals.series[this.seriesIndex],c.plotOptions.line.colors),k="vertical"),l=this.handleGradientFill({type:k,fillConfig:e.fillConfig,fillColor:d,fillOpacity:m,colorStops:w,i:this.seriesIndex})}if(f==="image"){var y=c.fill.image.src,A=e.patternID?e.patternID:"",C="pattern".concat(r.globals.cuid).concat(e.seriesNumber+1).concat(A);this.patternIDs.indexOf(C)===-1&&(this.clippedImgArea({opacity:m,image:Array.isArray(y)?e.seriesNumber<y.length?y[e.seriesNumber]:y[0]:y,width:e.width?e.width:void 0,height:e.height?e.height:void 0,patternUnits:e.patternUnits,patternID:C}),this.patternIDs.push(C)),n="url(#".concat(C,")")}else n=v?l:f==="pattern"?o:b;return e.solid&&(n=b),n}},{key:"getFillType",value:function(e){var t=this.w;return Array.isArray(t.config.fill.type)?t.config.fill.type[e]:t.config.fill.type}},{key:"getFillColors",value:function(){var e=this.w,t=e.config,a=this.opts,i=[];return e.globals.comboCharts?e.config.series[this.seriesIndex].type==="line"?Array.isArray(e.globals.stroke.colors)?i=e.globals.stroke.colors:i.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?i=e.globals.fill.colors:i.push(e.globals.fill.colors):t.chart.type==="line"?Array.isArray(e.globals.stroke.colors)?i=e.globals.stroke.colors:i.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?i=e.globals.fill.colors:i.push(e.globals.fill.colors),a.fillColors!==void 0&&(i=[],Array.isArray(a.fillColors)?i=a.fillColors.slice():i.push(a.fillColors)),i}},{key:"handlePatternFill",value:function(e){var t=e.fillConfig,a=e.patternFill,i=e.fillColor,r=e.fillOpacity,n=e.defaultColor,o=this.w.config.fill;t&&(o=t);var l=this.opts,c=new E(this.ctx),h=Array.isArray(o.pattern.strokeWidth)?o.pattern.strokeWidth[this.seriesIndex]:o.pattern.strokeWidth,d=i;return Array.isArray(o.pattern.style)?a=o.pattern.style[l.seriesNumber]!==void 0?c.drawPattern(o.pattern.style[l.seriesNumber],o.pattern.width,o.pattern.height,d,h,r):n:a=c.drawPattern(o.pattern.style,o.pattern.width,o.pattern.height,d,h,r),a}},{key:"handleGradientFill",value:function(e){var t=e.type,a=e.fillColor,i=e.fillOpacity,r=e.fillConfig,n=e.colorStops,o=e.i,l=this.w.config.fill;r&&(l=F(F({},l),r));var c=this.opts,h=new E(this.ctx),d=new L;t=t||l.gradient.type;var u,g=a,p=l.gradient.opacityFrom===void 0?i:Array.isArray(l.gradient.opacityFrom)?l.gradient.opacityFrom[o]:l.gradient.opacityFrom;g.indexOf("rgba")>-1&&(p=L.getOpacityFromRGBA(g));var f=l.gradient.opacityTo===void 0?i:Array.isArray(l.gradient.opacityTo)?l.gradient.opacityTo[o]:l.gradient.opacityTo;if(l.gradient.gradientToColors===void 0||l.gradient.gradientToColors.length===0)u=l.gradient.shade==="dark"?d.shadeColor(-1*parseFloat(l.gradient.shadeIntensity),a.indexOf("rgb")>-1?L.rgb2hex(a):a):d.shadeColor(parseFloat(l.gradient.shadeIntensity),a.indexOf("rgb")>-1?L.rgb2hex(a):a);else if(l.gradient.gradientToColors[c.seriesNumber]){var m=l.gradient.gradientToColors[c.seriesNumber];u=m,m.indexOf("rgba")>-1&&(f=L.getOpacityFromRGBA(m))}else u=a;if(l.gradient.gradientFrom&&(g=l.gradient.gradientFrom),l.gradient.gradientTo&&(u=l.gradient.gradientTo),l.gradient.inverseColors){var v=g;g=u,u=v}return g.indexOf("rgb")>-1&&(g=L.rgb2hex(g)),u.indexOf("rgb")>-1&&(u=L.rgb2hex(u)),h.drawGradient(t,g,u,p,f,c.size,l.gradient.stops,n,o)}}]),s})(),Jt=(function(){function s(e,t){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"setGlobalMarkerSize",value:function(){var e=this.w;if(e.globals.markers.size=Array.isArray(e.config.markers.size)?e.config.markers.size:[e.config.markers.size],e.globals.markers.size.length>0){if(e.globals.markers.size.length<e.globals.series.length+1)for(var t=0;t<=e.globals.series.length;t++)e.globals.markers.size[t]===void 0&&e.globals.markers.size.push(e.globals.markers.size[0])}else e.globals.markers.size=e.config.series.map((function(a){return e.config.markers.size}))}},{key:"plotChartMarkers",value:function(e){var t=e.pointsPos,a=e.seriesIndex,i=e.j,r=e.pSize,n=e.alwaysDrawMarker,o=n!==void 0&&n,l=e.isVirtualPoint,c=l!==void 0&&l,h=this.w,d=a,u=t,g=null,p=new E(this.ctx),f=h.config.markers.discrete&&h.config.markers.discrete.length;if(Array.isArray(u.x))for(var m=0;m<u.x.length;m++){var v=void 0,b=i,w=!L.isNumber(u.y[m]);h.globals.markers.largestSize===0&&h.globals.hasNullValues&&h.globals.series[d][i+1]!==null&&!c&&(w=!0),i===1&&m===0&&(b=0),i===1&&m===1&&(b=1);var k="apexcharts-marker";if(h.config.chart.type!=="line"&&h.config.chart.type!=="area"||h.globals.comboCharts||h.config.tooltip.intersect||(k+=" no-pointer-events"),(Array.isArray(h.config.markers.size)?h.globals.markers.size[a]>0:h.config.markers.size>0)||o||f){w||(k+=" w".concat(L.randomId()));var y=this.getMarkerConfig({cssClass:k,seriesIndex:a,dataPointIndex:b});h.config.series[d].data[b]&&(h.config.series[d].data[b].fillColor&&(y.pointFillColor=h.config.series[d].data[b].fillColor),h.config.series[d].data[b].strokeColor&&(y.pointStrokeColor=h.config.series[d].data[b].strokeColor)),r!==void 0&&(y.pSize=r),(u.x[m]<-h.globals.markers.largestSize||u.x[m]>h.globals.gridWidth+h.globals.markers.largestSize||u.y[m]<-h.globals.markers.largestSize||u.y[m]>h.globals.gridHeight+h.globals.markers.largestSize)&&(y.pSize=0),!w&&((h.globals.markers.size[a]>0||o||f)&&!g&&(g=p.group({class:o||f?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(h.globals.cuid,")")),(v=p.drawMarker(u.x[m],u.y[m],y)).attr("rel",b),v.attr("j",b),v.attr("index",a),v.node.setAttribute("default-marker-size",y.pSize),new Oe(this.ctx).setSelectionFilter(v,a,b),this.addEvents(v),g&&g.add(v))}else h.globals.pointsArray[a]===void 0&&(h.globals.pointsArray[a]=[]),h.globals.pointsArray[a].push([u.x[m],u.y[m]])}return g}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,a=e.seriesIndex,i=e.dataPointIndex,r=i===void 0?null:i,n=e.radius,o=n===void 0?null:n,l=e.size,c=l===void 0?null:l,h=e.strokeWidth,d=h===void 0?null:h,u=this.w,g=this.getMarkerStyle(a),p=c===null?u.globals.markers.size[a]:c,f=u.config.markers;return r!==null&&f.discrete.length&&f.discrete.map((function(m){m.seriesIndex===a&&m.dataPointIndex===r&&(g.pointStrokeColor=m.strokeColor,g.pointFillColor=m.fillColor,p=m.size,g.pointShape=m.shape)})),{pSize:o===null?p:o,pRadius:o!==null?o:f.radius,pointStrokeWidth:d!==null?d:Array.isArray(f.strokeWidth)?f.strokeWidth[a]:f.strokeWidth,pointStrokeColor:g.pointStrokeColor,pointFillColor:g.pointFillColor,shape:g.pointShape||(Array.isArray(f.shape)?f.shape[a]:f.shape),class:t,pointStrokeOpacity:Array.isArray(f.strokeOpacity)?f.strokeOpacity[a]:f.strokeOpacity,pointStrokeDashArray:Array.isArray(f.strokeDashArray)?f.strokeDashArray[a]:f.strokeDashArray,pointFillOpacity:Array.isArray(f.fillOpacity)?f.fillOpacity[a]:f.fillOpacity,seriesIndex:a}}},{key:"addEvents",value:function(e){var t=this.w,a=new E(this.ctx);e.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",a.pathMouseDown.bind(this.ctx,e)),e.node.addEventListener("click",t.config.markers.onClick),e.node.addEventListener("dblclick",t.config.markers.onDblClick),e.node.addEventListener("touchstart",a.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,a=t.globals.markers.colors,i=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(i)?i[e]:i,pointFillColor:Array.isArray(a)?a[e]:a}}}]),s})(),lo=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.initialAnim=this.w.config.chart.animations.enabled}return V(s,[{key:"draw",value:function(e,t,a){var i=this.w,r=new E(this.ctx),n=a.realIndex,o=a.pointsPos,l=a.zRatio,c=a.elParent,h=r.group({class:"apexcharts-series-markers apexcharts-series-".concat(i.config.chart.type)});if(h.attr("clip-path","url(#gridRectMarkerMask".concat(i.globals.cuid,")")),Array.isArray(o.x))for(var d=0;d<o.x.length;d++){var u=t+1,g=!0;t===0&&d===0&&(u=0),t===0&&d===1&&(u=1);var p=i.globals.markers.size[n];if(l!==1/0){var f=i.config.plotOptions.bubble;p=i.globals.seriesZ[n][u],f.zScaling&&(p/=l),f.minBubbleRadius&&p<f.minBubbleRadius&&(p=f.minBubbleRadius),f.maxBubbleRadius&&p>f.maxBubbleRadius&&(p=f.maxBubbleRadius)}var m=o.x[d],v=o.y[d];if(p=p||0,v!==null&&i.globals.series[n][u]!==void 0||(g=!1),g){var b=this.drawPoint(m,v,p,n,u,t);h.add(b)}c.add(h)}}},{key:"drawPoint",value:function(e,t,a,i,r,n){var o=this.w,l=i,c=new Ut(this.ctx),h=new Oe(this.ctx),d=new tt(this.ctx),u=new Jt(this.ctx),g=new E(this.ctx),p=u.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:l,dataPointIndex:r,radius:o.config.chart.type==="bubble"||o.globals.comboCharts&&o.config.series[i]&&o.config.series[i].type==="bubble"?a:null}),f=d.fillPath({seriesNumber:i,dataPointIndex:r,color:p.pointFillColor,patternUnits:"objectBoundingBox",value:o.globals.series[i][n]}),m=g.drawMarker(e,t,p);if(o.config.series[l].data[r]&&o.config.series[l].data[r].fillColor&&(f=o.config.series[l].data[r].fillColor),m.attr({fill:f}),o.config.chart.dropShadow.enabled){var v=o.config.chart.dropShadow;h.dropShadow(m,v,i)}if(!this.initialAnim||o.globals.dataChanged||o.globals.resized)o.globals.animationEnded=!0;else{var b=o.config.chart.animations.speed;c.animateMarker(m,b,o.globals.easing,(function(){window.setTimeout((function(){c.animationCompleted(m)}),100)}))}return m.attr({rel:r,j:r,index:i,"default-marker-size":p.pSize}),h.setSelectionFilter(m,i,r),u.addEvents(m),m.node.classList.add("apexcharts-marker"),m}},{key:"centerTextInBubble",value:function(e){var t=this.w;return{y:e+=parseInt(t.config.dataLabels.style.fontSize,10)/4}}}]),s})(),Wt=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"dataLabelsCorrection",value:function(e,t,a,i,r,n,o){var l=this.w,c=!1,h=new E(this.ctx).getTextRects(a,o),d=h.width,u=h.height;t<0&&(t=0),t>l.globals.gridHeight+u&&(t=l.globals.gridHeight+u/2),l.globals.dataLabelsRects[i]===void 0&&(l.globals.dataLabelsRects[i]=[]),l.globals.dataLabelsRects[i].push({x:e,y:t,width:d,height:u});var g=l.globals.dataLabelsRects[i].length-2,p=l.globals.lastDrawnDataLabelsIndexes[i]!==void 0?l.globals.lastDrawnDataLabelsIndexes[i][l.globals.lastDrawnDataLabelsIndexes[i].length-1]:0;if(l.globals.dataLabelsRects[i][g]!==void 0){var f=l.globals.dataLabelsRects[i][p];(e>f.x+f.width||t>f.y+f.height||t+u<f.y||e+d<f.x)&&(c=!0)}return(r===0||n)&&(c=!0),{x:e,y:t,textRects:h,drawnextLabel:c}}},{key:"drawDataLabel",value:function(e){var t=this,a=e.type,i=e.pos,r=e.i,n=e.j,o=e.isRangeStart,l=e.strokeWidth,c=l===void 0?2:l,h=this.w,d=new E(this.ctx),u=h.config.dataLabels,g=0,p=0,f=n,m=null;if(h.globals.collapsedSeriesIndices.indexOf(r)!==-1||!u.enabled||!Array.isArray(i.x))return m;m=d.group({class:"apexcharts-data-labels"});for(var v=0;v<i.x.length;v++)if(g=i.x[v]+u.offsetX,p=i.y[v]+u.offsetY+c,!isNaN(g)){n===1&&v===0&&(f=0),n===1&&v===1&&(f=1);var b=h.globals.series[r][f];a==="rangeArea"&&(b=o?h.globals.seriesRangeStart[r][f]:h.globals.seriesRangeEnd[r][f]);var w="",k=function(A){return h.config.dataLabels.formatter(A,{ctx:t.ctx,seriesIndex:r,dataPointIndex:f,w:h})};h.config.chart.type==="bubble"?(w=k(b=h.globals.seriesZ[r][f]),p=i.y[v],p=new lo(this.ctx).centerTextInBubble(p,r,f).y):b!==void 0&&(w=k(b));var y=h.config.dataLabels.textAnchor;h.globals.isSlopeChart&&(y=f===0?"end":f===h.config.series[r].data.length-1?"start":"middle"),this.plotDataLabelsText({x:g,y:p,text:w,i:r,j:f,parent:m,offsetCorrection:!0,dataLabelsConfig:h.config.dataLabels,textAnchor:y})}return m}},{key:"plotDataLabelsText",value:function(e){var t=this.w,a=new E(this.ctx),i=e.x,r=e.y,n=e.i,o=e.j,l=e.text,c=e.textAnchor,h=e.fontSize,d=e.parent,u=e.dataLabelsConfig,g=e.color,p=e.alwaysDrawDataLabel,f=e.offsetCorrection,m=e.className,v=null;if(Array.isArray(t.config.dataLabels.enabledOnSeries)&&t.config.dataLabels.enabledOnSeries.indexOf(n)<0)return v;var b={x:i,y:r,drawnextLabel:!0,textRects:null};f&&(b=this.dataLabelsCorrection(i,r,l,n,o,p,parseInt(u.style.fontSize,10))),t.globals.zoomed||(i=b.x,r=b.y),b.textRects&&(i<-20-b.textRects.width||i>t.globals.gridWidth+b.textRects.width+30)&&(l="");var w=t.globals.dataLabels.style.colors[n];((t.config.chart.type==="bar"||t.config.chart.type==="rangeBar")&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(w=t.globals.dataLabels.style.colors[o]),typeof w=="function"&&(w=w({series:t.globals.series,seriesIndex:n,dataPointIndex:o,w:t})),g&&(w=g);var k=u.offsetX,y=u.offsetY;if(t.config.chart.type!=="bar"&&t.config.chart.type!=="rangeBar"||(k=0,y=0),t.globals.isSlopeChart&&(o!==0&&(k=-2*u.offsetX+5),o!==0&&o!==t.config.series[n].data.length-1&&(k=0)),b.drawnextLabel){if(c==="middle"&&i===t.globals.gridWidth&&(c="end"),(v=a.drawText({width:100,height:parseInt(u.style.fontSize,10),x:i+k,y:r+y,foreColor:w,textAnchor:c||u.textAnchor,text:l,fontSize:h||u.style.fontSize,fontFamily:u.style.fontFamily,fontWeight:u.style.fontWeight||"normal"})).attr({class:m||"apexcharts-datalabel",cx:i,cy:r}),u.dropShadow.enabled){var A=u.dropShadow;new Oe(this.ctx).dropShadow(v,A)}d.add(v),t.globals.lastDrawnDataLabelsIndexes[n]===void 0&&(t.globals.lastDrawnDataLabelsIndexes[n]=[]),t.globals.lastDrawnDataLabelsIndexes[n].push(o)}return v}},{key:"addBackgroundToDataLabel",value:function(e,t){var a=this.w,i=a.config.dataLabels.background,r=i.padding,n=i.padding/2,o=t.width,l=t.height,c=new E(this.ctx).drawRect(t.x-r,t.y-n/2,o+2*r,l+n,i.borderRadius,a.config.chart.background!=="transparent"&&a.config.chart.background?a.config.chart.background:"#fff",i.opacity,i.borderWidth,i.borderColor);return i.dropShadow.enabled&&new Oe(this.ctx).dropShadow(c,i.dropShadow),c}},{key:"dataLabelsBackground",value:function(){var e=this.w;if(e.config.chart.type!=="bubble")for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),a=0;a<t.length;a++){var i=t[a],r=i.getBBox(),n=null;if(r.width&&r.height&&(n=this.addBackgroundToDataLabel(i,r)),n){i.parentNode.insertBefore(n.node,i);var o=e.config.dataLabels.background.backgroundColor||i.getAttribute("fill");e.config.chart.animations.enabled&&!e.globals.resized&&!e.globals.dataChanged?n.animate().attr({fill:o}):n.attr({fill:o}),i.setAttribute("fill",e.config.dataLabels.background.foreColor)}}}},{key:"bringForward",value:function(){for(var e=this.w,t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels"),a=e.globals.dom.baseEl.querySelector(".apexcharts-plot-series:last-child"),i=0;i<t.length;i++)a&&a.insertBefore(t[i],a.nextSibling)}}]),s})(),co=`.apexcharts-flip-y {
|
|
35
|
+
</div>`):'<div class="apexcharts-tooltip-box apexcharts-tooltip-'.concat(e.config.chart.type,'">')+"<div>".concat(i[0],': <span class="value">')+n+"</span></div>"+"<div>".concat(i[1],': <span class="value">')+o+"</span></div>"+(l?"<div>".concat(i[2],': <span class="value">')+l+"</span></div>":"")+"<div>".concat(i[3],': <span class="value">')+c+"</span></div>"+"<div>".concat(i[4],': <span class="value">')+h+"</span></div></div>"}}]),s})(),fa=(function(){function s(e){N(this,s),this.opts=e}return V(s,[{key:"init",value:function(e){var t=e.responsiveOverride,a=this.opts,i=new Mt,r=new ga(a);this.chartType=a.chart.type,a=this.extendYAxis(a),a=this.extendAnnotations(a);var n=i.init(),o={};if(a&&je(a)==="object"){var l,c,h,d,u,g,p,f,m,v,b={};b=["line","area","bar","candlestick","boxPlot","rangeBar","rangeArea","bubble","scatter","heatmap","treemap","pie","polarArea","donut","radar","radialBar"].indexOf(a.chart.type)!==-1?r[a.chart.type]():r.line(),(l=a.plotOptions)!==null&&l!==void 0&&(c=l.bar)!==null&&c!==void 0&&c.isFunnel&&(b=r.funnel()),a.chart.stacked&&a.chart.type==="bar"&&(b=r.stackedBars()),(h=a.chart.brush)!==null&&h!==void 0&&h.enabled&&(b=r.brush(b)),(d=a.plotOptions)!==null&&d!==void 0&&(u=d.line)!==null&&u!==void 0&&u.isSlopeChart&&(b=r.slope()),a.chart.stacked&&a.chart.stackType==="100%"&&(a=r.stacked100(a)),(g=a.plotOptions)!==null&&g!==void 0&&(p=g.bar)!==null&&p!==void 0&&p.isDumbbell&&(a=r.dumbbell(a)),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(a),a.xaxis=a.xaxis||window.Apex.xaxis||{},t||(a.xaxis.convertedCatToNumeric=!1),((f=(a=this.checkForCatToNumericXAxis(this.chartType,b,a)).chart.sparkline)!==null&&f!==void 0&&f.enabled||(m=window.Apex.chart)!==null&&m!==void 0&&(v=m.sparkline)!==null&&v!==void 0&&v.enabled)&&(b=r.sparkline(b)),o=L.extend(n,b)}var w=L.extend(o,window.Apex);return n=L.extend(w,a),n=this.handleUserInputErrors(n)}},{key:"checkForCatToNumericXAxis",value:function(e,t,a){var i,r,n=new ga(a),o=(e==="bar"||e==="boxPlot")&&((i=a.plotOptions)===null||i===void 0||(r=i.bar)===null||r===void 0?void 0:r.horizontal),l=e==="pie"||e==="polarArea"||e==="donut"||e==="radar"||e==="radialBar"||e==="heatmap",c=a.xaxis.type!=="datetime"&&a.xaxis.type!=="numeric",h=a.xaxis.tickPlacement?a.xaxis.tickPlacement:t.xaxis&&t.xaxis.tickPlacement;return o||l||!c||h==="between"||(a=n.convertCatToNumeric(a)),a}},{key:"extendYAxis",value:function(e,t){var a=new Mt;(e.yaxis===void 0||!e.yaxis||Array.isArray(e.yaxis)&&e.yaxis.length===0)&&(e.yaxis={}),e.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(e.yaxis=L.extend(e.yaxis,window.Apex.yaxis)),e.yaxis.constructor!==Array?e.yaxis=[L.extend(a.yAxis,e.yaxis)]:e.yaxis=L.extendArray(e.yaxis,a.yAxis);var i=!1;e.yaxis.forEach((function(n){n.logarithmic&&(i=!0)}));var r=e.series;return t&&!r&&(r=t.config.series),i&&r.length!==e.yaxis.length&&r.length&&(e.yaxis=r.map((function(n,o){if(n.name||(r[o].name="series-".concat(o+1)),e.yaxis[o])return e.yaxis[o].seriesName=r[o].name,e.yaxis[o];var l=L.extend(a.yAxis,e.yaxis[0]);return l.show=!1,l}))),i&&r.length>1&&r.length!==e.yaxis.length&&console.warn("A multi-series logarithmic chart should have equal number of series and y-axes"),e}},{key:"extendAnnotations",value:function(e){return e.annotations===void 0&&(e.annotations={},e.annotations.yaxis=[],e.annotations.xaxis=[],e.annotations.points=[]),e=this.extendYAxisAnnotations(e),e=this.extendXAxisAnnotations(e),e=this.extendPointAnnotations(e)}},{key:"extendYAxisAnnotations",value:function(e){var t=new Mt;return e.annotations.yaxis=L.extendArray(e.annotations.yaxis!==void 0?e.annotations.yaxis:[],t.yAxisAnnotation),e}},{key:"extendXAxisAnnotations",value:function(e){var t=new Mt;return e.annotations.xaxis=L.extendArray(e.annotations.xaxis!==void 0?e.annotations.xaxis:[],t.xAxisAnnotation),e}},{key:"extendPointAnnotations",value:function(e){var t=new Mt;return e.annotations.points=L.extendArray(e.annotations.points!==void 0?e.annotations.points:[],t.pointAnnotation),e}},{key:"checkForDarkTheme",value:function(e){e.theme&&e.theme.mode==="dark"&&(e.tooltip||(e.tooltip={}),e.tooltip.theme!=="light"&&(e.tooltip.theme="dark"),e.chart.foreColor||(e.chart.foreColor="#f6f7f8"),e.theme.palette||(e.theme.palette="palette4"))}},{key:"handleUserInputErrors",value:function(e){var t=e;if(t.tooltip.shared&&t.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if(t.chart.type==="bar"&&t.plotOptions.bar.horizontal){if(t.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");t.yaxis[0].reversed&&(t.yaxis[0].opposite=!0),t.xaxis.tooltip.enabled=!1,t.yaxis[0].tooltip.enabled=!1,t.chart.zoom.enabled=!1}return t.chart.type!=="bar"&&t.chart.type!=="rangeBar"||t.tooltip.shared&&t.xaxis.crosshairs.width==="barWidth"&&t.series.length>1&&(t.xaxis.crosshairs.width="tickWidth"),t.chart.type!=="candlestick"&&t.chart.type!=="boxPlot"||t.yaxis[0].reversed&&(console.warn("Reversed y-axis in ".concat(t.chart.type," chart is not supported.")),t.yaxis[0].reversed=!1),t}}]),s})(),lo=(function(){function s(){N(this,s)}return V(s,[{key:"initGlobalVars",value:function(e){e.series=[],e.seriesCandleO=[],e.seriesCandleH=[],e.seriesCandleM=[],e.seriesCandleL=[],e.seriesCandleC=[],e.seriesRangeStart=[],e.seriesRangeEnd=[],e.seriesRange=[],e.seriesPercent=[],e.seriesGoals=[],e.seriesX=[],e.seriesZ=[],e.seriesNames=[],e.seriesTotals=[],e.seriesLog=[],e.seriesColors=[],e.stackedSeriesTotals=[],e.seriesXvalues=[],e.seriesYvalues=[],e.dataWasParsed=!1,e.originalSeries=null,e.labels=[],e.hasXaxisGroups=!1,e.groups=[],e.barGroups=[],e.lineGroups=[],e.areaGroups=[],e.hasSeriesGroups=!1,e.seriesGroups=[],e.categoryLabels=[],e.timescaleLabels=[],e.noLabelsProvided=!1,e.resizeTimer=null,e.selectionResizeTimer=null,e.lastWheelExecution=0,e.delayedElements=[],e.pointsArray=[],e.dataLabelsRects=[],e.isXNumeric=!1,e.skipLastTimelinelabel=!1,e.skipFirstTimelinelabel=!1,e.isDataXYZ=!1,e.isMultiLineX=!1,e.isMultipleYAxis=!1,e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE,e.minYArr=[],e.maxYArr=[],e.maxX=-Number.MAX_VALUE,e.minX=Number.MAX_VALUE,e.initialMaxX=-Number.MAX_VALUE,e.initialMinX=Number.MAX_VALUE,e.maxDate=0,e.minDate=Number.MAX_VALUE,e.minZ=Number.MAX_VALUE,e.maxZ=-Number.MAX_VALUE,e.minXDiff=Number.MAX_VALUE,e.yAxisScale=[],e.xAxisScale=null,e.xAxisTicksPositions=[],e.yLabelsCoords=[],e.yTitleCoords=[],e.barPadForNumericAxis=0,e.padHorizontal=0,e.xRange=0,e.yRange=[],e.zRange=0,e.dataPoints=0,e.xTickAmount=0,e.multiAxisTickAmount=0}},{key:"globalVars",value:function(e){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:e.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,initialSeries:[],lastXAxis:[],lastYAxis:[],columnSeries:null,labels:[],timescaleLabels:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,capturedSeriesIndex:-1,capturedDataPointIndex:-1,selectedDataPoints:[],invalidLogScale:!1,ignoreYAxisIndexes:[],maxValsInArrayIndex:0,radialSize:0,selection:void 0,zoomEnabled:e.chart.toolbar.autoSelected==="zoom"&&e.chart.toolbar.tools.zoom&&e.chart.zoom.enabled,panEnabled:e.chart.toolbar.autoSelected==="pan"&&e.chart.toolbar.tools.pan,selectionEnabled:e.chart.toolbar.autoSelected==="selection"&&e.chart.toolbar.tools.selection,yaxis:null,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,skipFirstTimelinelabel:!1,delayedElements:[],axisCharts:!0,isDataXYZ:!1,isSlopeChart:e.plotOptions.line.isSlopeChart,resized:!1,resizeTimer:null,comboCharts:!1,dataChanged:!1,previousPaths:[],allSeriesHasEqualX:!0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,zoomed:!1,gridWidth:0,gridHeight:0,rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,xAxisGroupLabelsHeight:0,xAxisLabelsWidth:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null,niceScaleAllowedMagMsd:[[1,1,2,5,5,5,10,10,10,10,10],[1,1,2,5,5,5,10,10,10,10,10]],niceScaleDefaultTicks:[1,2,4,4,6,6,6,6,6,6,6,6,6,6,6,6,6,6,12,12,12,12,12,12,12,12,12,24],seriesYAxisMap:[],seriesYAxisReverseMap:[]}}},{key:"init",value:function(e){var t=this.globalVars(e);return this.initGlobalVars(t),t.initialConfig=L.extend({},e),t.initialSeries=L.clone(e.series),t.lastXAxis=L.clone(t.initialConfig.xaxis),t.lastYAxis=L.clone(t.initialConfig.yaxis),t}}]),s})(),Gh=(function(){function s(e){N(this,s),this.opts=e}return V(s,[{key:"init",value:function(){var e=new fa(this.opts).init({responsiveOverride:!1});return{config:e,globals:new lo().init(e)}}}]),s})(),tt=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.opts=null,this.seriesIndex=0,this.patternIDs=[]}return V(s,[{key:"clippedImgArea",value:function(e){var t=this.w,a=t.config,i=parseInt(t.globals.gridWidth,10),r=parseInt(t.globals.gridHeight,10),n=i>r?i:r,o=e.image,l=0,c=0;e.width===void 0&&e.height===void 0?a.fill.image.width!==void 0&&a.fill.image.height!==void 0?(l=a.fill.image.width+1,c=a.fill.image.height):(l=n+1,c=n):(l=e.width,c=e.height);var h=document.createElementNS(t.globals.SVGNS,"pattern");E.setAttrs(h,{id:e.patternID,patternUnits:e.patternUnits?e.patternUnits:"userSpaceOnUse",width:l+"px",height:c+"px"});var d=document.createElementNS(t.globals.SVGNS,"image");h.appendChild(d),d.setAttributeNS(window.SVG.xlink,"href",o),E.setAttrs(d,{x:0,y:0,preserveAspectRatio:"none",width:l+"px",height:c+"px"}),d.style.opacity=e.opacity,t.globals.dom.elDefs.node.appendChild(h)}},{key:"getSeriesIndex",value:function(e){var t=this.w,a=t.config.chart.type;return(a==="bar"||a==="rangeBar")&&t.config.plotOptions.bar.distributed||a==="heatmap"||a==="treemap"?this.seriesIndex=e.seriesNumber:this.seriesIndex=e.seriesNumber%t.globals.series.length,this.seriesIndex}},{key:"computeColorStops",value:function(e,t){var a,i=this.w,r=null,n=null,o=ra(e);try{for(o.s();!(a=o.n()).done;){var l=a.value;l>=t.threshold?(r===null||l>r)&&(r=l):(n===null||l<n)&&(n=l)}}catch(d){o.e(d)}finally{o.f()}r===null&&(r=t.threshold),n===null&&(n=t.threshold);var c=r-t.threshold+(t.threshold-n);c===0&&(c=1);var h=100-(t.threshold-n)/c*100;return[{offset:h=Math.max(0,Math.min(h,100)),color:t.colorAboveThreshold,opacity:i.config.fill.opacity},{offset:0,color:t.colorBelowThreshold,opacity:i.config.fill.opacity}]}},{key:"fillPath",value:function(e){var t,a,i,r=this.w;this.opts=e;var n,o,l,c=this.w.config;this.seriesIndex=this.getSeriesIndex(e);var h=c.plotOptions.line.colors.colorAboveThreshold&&c.plotOptions.line.colors.colorBelowThreshold,d=this.getFillColors()[this.seriesIndex];r.globals.seriesColors[this.seriesIndex]!==void 0&&(d=r.globals.seriesColors[this.seriesIndex]),typeof d=="function"&&(d=d({seriesIndex:this.seriesIndex,dataPointIndex:e.dataPointIndex,value:e.value,w:r}));var u,g,p,f=e.fillType?e.fillType:this.getFillType(this.seriesIndex),m=Array.isArray(c.fill.opacity)?c.fill.opacity[this.seriesIndex]:c.fill.opacity,v=f==="gradient"||h;e.color&&(d=e.color),(t=r.config.series[this.seriesIndex])!==null&&t!==void 0&&(a=t.data)!==null&&a!==void 0&&(i=a[e.dataPointIndex])!==null&&i!==void 0&&i.fillColor&&(d=(u=r.config.series[this.seriesIndex])===null||u===void 0||(g=u.data)===null||g===void 0||(p=g[e.dataPointIndex])===null||p===void 0?void 0:p.fillColor),d||(d="#fff",console.warn("undefined color - ApexCharts"));var b=d;if(d.indexOf("rgb")===-1?d.indexOf("#")===-1?b=d:d.length<9&&(b=L.hexToRgba(d,m)):d.indexOf("rgba")>-1?m=L.getOpacityFromRGBA(d):b=L.hexToRgba(L.rgb2hex(d),m),e.opacity&&(m=e.opacity),f==="pattern"&&(o=this.handlePatternFill({fillConfig:e.fillConfig,patternFill:o,fillColor:d,fillOpacity:m,defaultColor:b})),v){var w=Re(c.fill.gradient.colorStops)||[],k=c.fill.gradient.type;h&&(w[this.seriesIndex]=this.computeColorStops(r.globals.series[this.seriesIndex],c.plotOptions.line.colors),k="vertical"),l=this.handleGradientFill({type:k,fillConfig:e.fillConfig,fillColor:d,fillOpacity:m,colorStops:w,i:this.seriesIndex})}if(f==="image"){var y=c.fill.image.src,A=e.patternID?e.patternID:"",C="pattern".concat(r.globals.cuid).concat(e.seriesNumber+1).concat(A);this.patternIDs.indexOf(C)===-1&&(this.clippedImgArea({opacity:m,image:Array.isArray(y)?e.seriesNumber<y.length?y[e.seriesNumber]:y[0]:y,width:e.width?e.width:void 0,height:e.height?e.height:void 0,patternUnits:e.patternUnits,patternID:C}),this.patternIDs.push(C)),n="url(#".concat(C,")")}else n=v?l:f==="pattern"?o:b;return e.solid&&(n=b),n}},{key:"getFillType",value:function(e){var t=this.w;return Array.isArray(t.config.fill.type)?t.config.fill.type[e]:t.config.fill.type}},{key:"getFillColors",value:function(){var e=this.w,t=e.config,a=this.opts,i=[];return e.globals.comboCharts?e.config.series[this.seriesIndex].type==="line"?Array.isArray(e.globals.stroke.colors)?i=e.globals.stroke.colors:i.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?i=e.globals.fill.colors:i.push(e.globals.fill.colors):t.chart.type==="line"?Array.isArray(e.globals.stroke.colors)?i=e.globals.stroke.colors:i.push(e.globals.stroke.colors):Array.isArray(e.globals.fill.colors)?i=e.globals.fill.colors:i.push(e.globals.fill.colors),a.fillColors!==void 0&&(i=[],Array.isArray(a.fillColors)?i=a.fillColors.slice():i.push(a.fillColors)),i}},{key:"handlePatternFill",value:function(e){var t=e.fillConfig,a=e.patternFill,i=e.fillColor,r=e.fillOpacity,n=e.defaultColor,o=this.w.config.fill;t&&(o=t);var l=this.opts,c=new E(this.ctx),h=Array.isArray(o.pattern.strokeWidth)?o.pattern.strokeWidth[this.seriesIndex]:o.pattern.strokeWidth,d=i;return Array.isArray(o.pattern.style)?a=o.pattern.style[l.seriesNumber]!==void 0?c.drawPattern(o.pattern.style[l.seriesNumber],o.pattern.width,o.pattern.height,d,h,r):n:a=c.drawPattern(o.pattern.style,o.pattern.width,o.pattern.height,d,h,r),a}},{key:"handleGradientFill",value:function(e){var t=e.type,a=e.fillColor,i=e.fillOpacity,r=e.fillConfig,n=e.colorStops,o=e.i,l=this.w.config.fill;r&&(l=F(F({},l),r));var c=this.opts,h=new E(this.ctx),d=new L;t=t||l.gradient.type;var u,g=a,p=l.gradient.opacityFrom===void 0?i:Array.isArray(l.gradient.opacityFrom)?l.gradient.opacityFrom[o]:l.gradient.opacityFrom;g.indexOf("rgba")>-1&&(p=L.getOpacityFromRGBA(g));var f=l.gradient.opacityTo===void 0?i:Array.isArray(l.gradient.opacityTo)?l.gradient.opacityTo[o]:l.gradient.opacityTo;if(l.gradient.gradientToColors===void 0||l.gradient.gradientToColors.length===0)u=l.gradient.shade==="dark"?d.shadeColor(-1*parseFloat(l.gradient.shadeIntensity),a.indexOf("rgb")>-1?L.rgb2hex(a):a):d.shadeColor(parseFloat(l.gradient.shadeIntensity),a.indexOf("rgb")>-1?L.rgb2hex(a):a);else if(l.gradient.gradientToColors[c.seriesNumber]){var m=l.gradient.gradientToColors[c.seriesNumber];u=m,m.indexOf("rgba")>-1&&(f=L.getOpacityFromRGBA(m))}else u=a;if(l.gradient.gradientFrom&&(g=l.gradient.gradientFrom),l.gradient.gradientTo&&(u=l.gradient.gradientTo),l.gradient.inverseColors){var v=g;g=u,u=v}return g.indexOf("rgb")>-1&&(g=L.rgb2hex(g)),u.indexOf("rgb")>-1&&(u=L.rgb2hex(u)),h.drawGradient(t,g,u,p,f,c.size,l.gradient.stops,n,o)}}]),s})(),Jt=(function(){function s(e,t){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"setGlobalMarkerSize",value:function(){var e=this.w;if(e.globals.markers.size=Array.isArray(e.config.markers.size)?e.config.markers.size:[e.config.markers.size],e.globals.markers.size.length>0){if(e.globals.markers.size.length<e.globals.series.length+1)for(var t=0;t<=e.globals.series.length;t++)e.globals.markers.size[t]===void 0&&e.globals.markers.size.push(e.globals.markers.size[0])}else e.globals.markers.size=e.config.series.map((function(a){return e.config.markers.size}))}},{key:"plotChartMarkers",value:function(e){var t=e.pointsPos,a=e.seriesIndex,i=e.j,r=e.pSize,n=e.alwaysDrawMarker,o=n!==void 0&&n,l=e.isVirtualPoint,c=l!==void 0&&l,h=this.w,d=a,u=t,g=null,p=new E(this.ctx),f=h.config.markers.discrete&&h.config.markers.discrete.length;if(Array.isArray(u.x))for(var m=0;m<u.x.length;m++){var v=void 0,b=i,w=!L.isNumber(u.y[m]);h.globals.markers.largestSize===0&&h.globals.hasNullValues&&h.globals.series[d][i+1]!==null&&!c&&(w=!0),i===1&&m===0&&(b=0),i===1&&m===1&&(b=1);var k="apexcharts-marker";if(h.config.chart.type!=="line"&&h.config.chart.type!=="area"||h.globals.comboCharts||h.config.tooltip.intersect||(k+=" no-pointer-events"),(Array.isArray(h.config.markers.size)?h.globals.markers.size[a]>0:h.config.markers.size>0)||o||f){w||(k+=" w".concat(L.randomId()));var y=this.getMarkerConfig({cssClass:k,seriesIndex:a,dataPointIndex:b});h.config.series[d].data[b]&&(h.config.series[d].data[b].fillColor&&(y.pointFillColor=h.config.series[d].data[b].fillColor),h.config.series[d].data[b].strokeColor&&(y.pointStrokeColor=h.config.series[d].data[b].strokeColor)),r!==void 0&&(y.pSize=r),(u.x[m]<-h.globals.markers.largestSize||u.x[m]>h.globals.gridWidth+h.globals.markers.largestSize||u.y[m]<-h.globals.markers.largestSize||u.y[m]>h.globals.gridHeight+h.globals.markers.largestSize)&&(y.pSize=0),!w&&((h.globals.markers.size[a]>0||o||f)&&!g&&(g=p.group({class:o||f?"":"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(h.globals.cuid,")")),(v=p.drawMarker(u.x[m],u.y[m],y)).attr("rel",b),v.attr("j",b),v.attr("index",a),v.node.setAttribute("default-marker-size",y.pSize),new Oe(this.ctx).setSelectionFilter(v,a,b),this.addEvents(v),g&&g.add(v))}else h.globals.pointsArray[a]===void 0&&(h.globals.pointsArray[a]=[]),h.globals.pointsArray[a].push([u.x[m],u.y[m]])}return g}},{key:"getMarkerConfig",value:function(e){var t=e.cssClass,a=e.seriesIndex,i=e.dataPointIndex,r=i===void 0?null:i,n=e.radius,o=n===void 0?null:n,l=e.size,c=l===void 0?null:l,h=e.strokeWidth,d=h===void 0?null:h,u=this.w,g=this.getMarkerStyle(a),p=c===null?u.globals.markers.size[a]:c,f=u.config.markers;return r!==null&&f.discrete.length&&f.discrete.map((function(m){m.seriesIndex===a&&m.dataPointIndex===r&&(g.pointStrokeColor=m.strokeColor,g.pointFillColor=m.fillColor,p=m.size,g.pointShape=m.shape)})),{pSize:o===null?p:o,pRadius:o!==null?o:f.radius,pointStrokeWidth:d!==null?d:Array.isArray(f.strokeWidth)?f.strokeWidth[a]:f.strokeWidth,pointStrokeColor:g.pointStrokeColor,pointFillColor:g.pointFillColor,shape:g.pointShape||(Array.isArray(f.shape)?f.shape[a]:f.shape),class:t,pointStrokeOpacity:Array.isArray(f.strokeOpacity)?f.strokeOpacity[a]:f.strokeOpacity,pointStrokeDashArray:Array.isArray(f.strokeDashArray)?f.strokeDashArray[a]:f.strokeDashArray,pointFillOpacity:Array.isArray(f.fillOpacity)?f.fillOpacity[a]:f.fillOpacity,seriesIndex:a}}},{key:"addEvents",value:function(e){var t=this.w,a=new E(this.ctx);e.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this.ctx,e)),e.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this.ctx,e)),e.node.addEventListener("mousedown",a.pathMouseDown.bind(this.ctx,e)),e.node.addEventListener("click",t.config.markers.onClick),e.node.addEventListener("dblclick",t.config.markers.onDblClick),e.node.addEventListener("touchstart",a.pathMouseDown.bind(this.ctx,e),{passive:!0})}},{key:"getMarkerStyle",value:function(e){var t=this.w,a=t.globals.markers.colors,i=t.config.markers.strokeColor||t.config.markers.strokeColors;return{pointStrokeColor:Array.isArray(i)?i[e]:i,pointFillColor:Array.isArray(a)?a[e]:a}}}]),s})(),co=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.initialAnim=this.w.config.chart.animations.enabled}return V(s,[{key:"draw",value:function(e,t,a){var i=this.w,r=new E(this.ctx),n=a.realIndex,o=a.pointsPos,l=a.zRatio,c=a.elParent,h=r.group({class:"apexcharts-series-markers apexcharts-series-".concat(i.config.chart.type)});if(h.attr("clip-path","url(#gridRectMarkerMask".concat(i.globals.cuid,")")),Array.isArray(o.x))for(var d=0;d<o.x.length;d++){var u=t+1,g=!0;t===0&&d===0&&(u=0),t===0&&d===1&&(u=1);var p=i.globals.markers.size[n];if(l!==1/0){var f=i.config.plotOptions.bubble;p=i.globals.seriesZ[n][u],f.zScaling&&(p/=l),f.minBubbleRadius&&p<f.minBubbleRadius&&(p=f.minBubbleRadius),f.maxBubbleRadius&&p>f.maxBubbleRadius&&(p=f.maxBubbleRadius)}var m=o.x[d],v=o.y[d];if(p=p||0,v!==null&&i.globals.series[n][u]!==void 0||(g=!1),g){var b=this.drawPoint(m,v,p,n,u,t);h.add(b)}c.add(h)}}},{key:"drawPoint",value:function(e,t,a,i,r,n){var o=this.w,l=i,c=new Ut(this.ctx),h=new Oe(this.ctx),d=new tt(this.ctx),u=new Jt(this.ctx),g=new E(this.ctx),p=u.getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:l,dataPointIndex:r,radius:o.config.chart.type==="bubble"||o.globals.comboCharts&&o.config.series[i]&&o.config.series[i].type==="bubble"?a:null}),f=d.fillPath({seriesNumber:i,dataPointIndex:r,color:p.pointFillColor,patternUnits:"objectBoundingBox",value:o.globals.series[i][n]}),m=g.drawMarker(e,t,p);if(o.config.series[l].data[r]&&o.config.series[l].data[r].fillColor&&(f=o.config.series[l].data[r].fillColor),m.attr({fill:f}),o.config.chart.dropShadow.enabled){var v=o.config.chart.dropShadow;h.dropShadow(m,v,i)}if(!this.initialAnim||o.globals.dataChanged||o.globals.resized)o.globals.animationEnded=!0;else{var b=o.config.chart.animations.speed;c.animateMarker(m,b,o.globals.easing,(function(){window.setTimeout((function(){c.animationCompleted(m)}),100)}))}return m.attr({rel:r,j:r,index:i,"default-marker-size":p.pSize}),h.setSelectionFilter(m,i,r),u.addEvents(m),m.node.classList.add("apexcharts-marker"),m}},{key:"centerTextInBubble",value:function(e){var t=this.w;return{y:e+=parseInt(t.config.dataLabels.style.fontSize,10)/4}}}]),s})(),Wt=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"dataLabelsCorrection",value:function(e,t,a,i,r,n,o){var l=this.w,c=!1,h=new E(this.ctx).getTextRects(a,o),d=h.width,u=h.height;t<0&&(t=0),t>l.globals.gridHeight+u&&(t=l.globals.gridHeight+u/2),l.globals.dataLabelsRects[i]===void 0&&(l.globals.dataLabelsRects[i]=[]),l.globals.dataLabelsRects[i].push({x:e,y:t,width:d,height:u});var g=l.globals.dataLabelsRects[i].length-2,p=l.globals.lastDrawnDataLabelsIndexes[i]!==void 0?l.globals.lastDrawnDataLabelsIndexes[i][l.globals.lastDrawnDataLabelsIndexes[i].length-1]:0;if(l.globals.dataLabelsRects[i][g]!==void 0){var f=l.globals.dataLabelsRects[i][p];(e>f.x+f.width||t>f.y+f.height||t+u<f.y||e+d<f.x)&&(c=!0)}return(r===0||n)&&(c=!0),{x:e,y:t,textRects:h,drawnextLabel:c}}},{key:"drawDataLabel",value:function(e){var t=this,a=e.type,i=e.pos,r=e.i,n=e.j,o=e.isRangeStart,l=e.strokeWidth,c=l===void 0?2:l,h=this.w,d=new E(this.ctx),u=h.config.dataLabels,g=0,p=0,f=n,m=null;if(h.globals.collapsedSeriesIndices.indexOf(r)!==-1||!u.enabled||!Array.isArray(i.x))return m;m=d.group({class:"apexcharts-data-labels"});for(var v=0;v<i.x.length;v++)if(g=i.x[v]+u.offsetX,p=i.y[v]+u.offsetY+c,!isNaN(g)){n===1&&v===0&&(f=0),n===1&&v===1&&(f=1);var b=h.globals.series[r][f];a==="rangeArea"&&(b=o?h.globals.seriesRangeStart[r][f]:h.globals.seriesRangeEnd[r][f]);var w="",k=function(A){return h.config.dataLabels.formatter(A,{ctx:t.ctx,seriesIndex:r,dataPointIndex:f,w:h})};h.config.chart.type==="bubble"?(w=k(b=h.globals.seriesZ[r][f]),p=i.y[v],p=new co(this.ctx).centerTextInBubble(p,r,f).y):b!==void 0&&(w=k(b));var y=h.config.dataLabels.textAnchor;h.globals.isSlopeChart&&(y=f===0?"end":f===h.config.series[r].data.length-1?"start":"middle"),this.plotDataLabelsText({x:g,y:p,text:w,i:r,j:f,parent:m,offsetCorrection:!0,dataLabelsConfig:h.config.dataLabels,textAnchor:y})}return m}},{key:"plotDataLabelsText",value:function(e){var t=this.w,a=new E(this.ctx),i=e.x,r=e.y,n=e.i,o=e.j,l=e.text,c=e.textAnchor,h=e.fontSize,d=e.parent,u=e.dataLabelsConfig,g=e.color,p=e.alwaysDrawDataLabel,f=e.offsetCorrection,m=e.className,v=null;if(Array.isArray(t.config.dataLabels.enabledOnSeries)&&t.config.dataLabels.enabledOnSeries.indexOf(n)<0)return v;var b={x:i,y:r,drawnextLabel:!0,textRects:null};f&&(b=this.dataLabelsCorrection(i,r,l,n,o,p,parseInt(u.style.fontSize,10))),t.globals.zoomed||(i=b.x,r=b.y),b.textRects&&(i<-20-b.textRects.width||i>t.globals.gridWidth+b.textRects.width+30)&&(l="");var w=t.globals.dataLabels.style.colors[n];((t.config.chart.type==="bar"||t.config.chart.type==="rangeBar")&&t.config.plotOptions.bar.distributed||t.config.dataLabels.distributed)&&(w=t.globals.dataLabels.style.colors[o]),typeof w=="function"&&(w=w({series:t.globals.series,seriesIndex:n,dataPointIndex:o,w:t})),g&&(w=g);var k=u.offsetX,y=u.offsetY;if(t.config.chart.type!=="bar"&&t.config.chart.type!=="rangeBar"||(k=0,y=0),t.globals.isSlopeChart&&(o!==0&&(k=-2*u.offsetX+5),o!==0&&o!==t.config.series[n].data.length-1&&(k=0)),b.drawnextLabel){if(c==="middle"&&i===t.globals.gridWidth&&(c="end"),(v=a.drawText({width:100,height:parseInt(u.style.fontSize,10),x:i+k,y:r+y,foreColor:w,textAnchor:c||u.textAnchor,text:l,fontSize:h||u.style.fontSize,fontFamily:u.style.fontFamily,fontWeight:u.style.fontWeight||"normal"})).attr({class:m||"apexcharts-datalabel",cx:i,cy:r}),u.dropShadow.enabled){var A=u.dropShadow;new Oe(this.ctx).dropShadow(v,A)}d.add(v),t.globals.lastDrawnDataLabelsIndexes[n]===void 0&&(t.globals.lastDrawnDataLabelsIndexes[n]=[]),t.globals.lastDrawnDataLabelsIndexes[n].push(o)}return v}},{key:"addBackgroundToDataLabel",value:function(e,t){var a=this.w,i=a.config.dataLabels.background,r=i.padding,n=i.padding/2,o=t.width,l=t.height,c=new E(this.ctx).drawRect(t.x-r,t.y-n/2,o+2*r,l+n,i.borderRadius,a.config.chart.background!=="transparent"&&a.config.chart.background?a.config.chart.background:"#fff",i.opacity,i.borderWidth,i.borderColor);return i.dropShadow.enabled&&new Oe(this.ctx).dropShadow(c,i.dropShadow),c}},{key:"dataLabelsBackground",value:function(){var e=this.w;if(e.config.chart.type!=="bubble")for(var t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels text"),a=0;a<t.length;a++){var i=t[a],r=i.getBBox(),n=null;if(r.width&&r.height&&(n=this.addBackgroundToDataLabel(i,r)),n){i.parentNode.insertBefore(n.node,i);var o=e.config.dataLabels.background.backgroundColor||i.getAttribute("fill");e.config.chart.animations.enabled&&!e.globals.resized&&!e.globals.dataChanged?n.animate().attr({fill:o}):n.attr({fill:o}),i.setAttribute("fill",e.config.dataLabels.background.foreColor)}}}},{key:"bringForward",value:function(){for(var e=this.w,t=e.globals.dom.baseEl.querySelectorAll(".apexcharts-datalabels"),a=e.globals.dom.baseEl.querySelector(".apexcharts-plot-series:last-child"),i=0;i<t.length;i++)a&&a.insertBefore(t[i],a.nextSibling)}}]),s})(),ho=`.apexcharts-flip-y {
|
|
36
36
|
transform: scaleY(-1) translateY(-100%);
|
|
37
37
|
transform-origin: top;
|
|
38
38
|
transform-box: fill-box;
|
|
@@ -109,7 +109,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
109
109
|
.apexcharts-tooltip, .apexcharts-toolbar, .apexcharts-xaxistooltip, .apexcharts-yaxistooltip, .apexcharts-xcrosshairs, .apexcharts-ycrosshairs, .apexcharts-zoom-rect, .apexcharts-selection-rect {
|
|
110
110
|
display: none;
|
|
111
111
|
}
|
|
112
|
-
`;i.config.legend.show&&i.globals.dom.elLegendWrap&&i.globals.dom.elLegendWrap.children.length>0&&(h+=
|
|
112
|
+
`;i.config.legend.show&&i.globals.dom.elLegendWrap&&i.globals.dom.elLegendWrap.children.length>0&&(h+=ho);var d=`
|
|
113
113
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
114
114
|
version="1.1"
|
|
115
115
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
@@ -127,7 +127,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
127
127
|
</foreignObject>
|
|
128
128
|
</svg>
|
|
129
129
|
`),u=t.svgStringToNode(d);r!==1&&t.scaleSvgNode(u,r),t.convertImagesToBase64(u).then((function(){d=new XMLSerializer().serializeToString(u),a(d.replace(/ /g," "))}))}))}},{key:"convertImagesToBase64",value:function(e){var t=this,a=e.getElementsByTagName("image"),i=Array.from(a).map((function(r){var n=r.getAttributeNS("http://www.w3.org/1999/xlink","href");return n&&!n.startsWith("data:")?t.getBase64FromUrl(n).then((function(o){r.setAttributeNS("http://www.w3.org/1999/xlink","href",o)})).catch((function(o){console.error("Error converting image to base64:",o)})):Promise.resolve()}));return Promise.all(i)}},{key:"getBase64FromUrl",value:function(e){return new Promise((function(t,a){var i=new Image;i.crossOrigin="Anonymous",i.onload=function(){var r=document.createElement("canvas");r.width=i.width,r.height=i.height,r.getContext("2d").drawImage(i,0,0),t(r.toDataURL())},i.onerror=a,i.src=e}))}},{key:"svgUrl",value:function(){var e=this;return new Promise((function(t){e.getSvgString().then((function(a){var i=new Blob([a],{type:"image/svg+xml;charset=utf-8"});t(URL.createObjectURL(i))}))}))}},{key:"dataURI",value:function(e){var t=this;return new Promise((function(a){var i=t.w,r=e?e.scale||e.width/i.globals.svgWidth:1,n=document.createElement("canvas");n.width=i.globals.svgWidth*r,n.height=parseInt(i.globals.dom.elWrap.style.height,10)*r;var o=i.config.chart.background!=="transparent"&&i.config.chart.background?i.config.chart.background:"#fff",l=n.getContext("2d");l.fillStyle=o,l.fillRect(0,0,n.width*r,n.height*r),t.getSvgString(r).then((function(c){var h="data:image/svg+xml,"+encodeURIComponent(c),d=new Image;d.crossOrigin="anonymous",d.onload=function(){if(l.drawImage(d,0,0),n.msToBlob){var u=n.msToBlob();a({blob:u})}else{var g=n.toDataURL("image/png");a({imgURI:g})}},d.src=h}))}))}},{key:"exportToSVG",value:function(){var e=this;this.svgUrl().then((function(t){e.triggerDownload(t,e.w.config.chart.toolbar.export.svg.filename,".svg")}))}},{key:"exportToPng",value:function(){var e=this,t=this.w.config.chart.toolbar.export.scale,a=this.w.config.chart.toolbar.export.width,i=t?{scale:t}:a?{width:a}:void 0;this.dataURI(i).then((function(r){var n=r.imgURI,o=r.blob;o?navigator.msSaveOrOpenBlob(o,e.w.globals.chartID+".png"):e.triggerDownload(n,e.w.config.chart.toolbar.export.png.filename,".png")}))}},{key:"exportToCSV",value:function(e){var t=this,a=e.series,i=e.fileName,r=e.columnDelimiter,n=r===void 0?",":r,o=e.lineDelimiter,l=o===void 0?`
|
|
130
|
-
`:o,c=this.w;a||(a=c.config.series);var h=[],d=[],u="",g=c.globals.series.map((function(y,A){return c.globals.collapsedSeriesIndices.indexOf(A)===-1?y:[]})),p=function(y){return typeof c.config.chart.toolbar.export.csv.categoryFormatter=="function"?c.config.chart.toolbar.export.csv.categoryFormatter(y):c.config.xaxis.type==="datetime"&&String(y).length>=10?new Date(y).toDateString():L.isNumber(y)?y:y.split(n).join("")},f=function(y){return typeof c.config.chart.toolbar.export.csv.valueFormatter=="function"?c.config.chart.toolbar.export.csv.valueFormatter(y):y},m=Math.max.apply(Math,Re(a.map((function(y){return y.data?y.data.length:0})))),v=new Ys(this.ctx),b=new Ct(this.ctx),w=function(y){var A="";if(c.globals.axisCharts){if(c.config.xaxis.type==="category"||c.config.xaxis.convertedCatToNumeric)if(c.globals.isBarHorizontal){var C=c.globals.yLabelFormatters[0],S=new Ze(t.ctx).getActiveConfigSeriesIndex();A=C(c.globals.labels[y],{seriesIndex:S,dataPointIndex:y,w:c})}else A=b.getLabel(c.globals.labels,c.globals.timescaleLabels,0,y).text;c.config.xaxis.type==="datetime"&&(c.config.xaxis.categories.length?A=c.config.xaxis.categories[y]:c.config.labels.length&&(A=c.config.labels[y]))}else A=c.config.labels[y];return A===null?"nullvalue":(Array.isArray(A)&&(A=A.join(" ")),L.isNumber(A)?A:A.split(n).join(""))},k=function(y,A){if(h.length&&A===0&&d.push(h.join(n)),y.data){y.data=y.data.length&&y.data||Re(Array(m)).map((function(){return""}));for(var C=0;C<y.data.length;C++){h=[];var S=w(C);if(S!=="nullvalue"){if(S||(v.isFormatXY()?S=a[A].data[C].x:v.isFormat2DArray()&&(S=a[A].data[C]?a[A].data[C][0]:"")),A===0){h.push(p(S));for(var M=0;M<c.globals.series.length;M++){var I,R=v.isFormatXY()?(I=a[M].data[C])===null||I===void 0?void 0:I.y:g[M][C];h.push(f(R))}}(c.config.chart.type==="candlestick"||y.type&&y.type==="candlestick")&&(h.pop(),h.push(c.globals.seriesCandleO[A][C]),h.push(c.globals.seriesCandleH[A][C]),h.push(c.globals.seriesCandleL[A][C]),h.push(c.globals.seriesCandleC[A][C])),(c.config.chart.type==="boxPlot"||y.type&&y.type==="boxPlot")&&(h.pop(),h.push(c.globals.seriesCandleO[A][C]),h.push(c.globals.seriesCandleH[A][C]),h.push(c.globals.seriesCandleM[A][C]),h.push(c.globals.seriesCandleL[A][C]),h.push(c.globals.seriesCandleC[A][C])),c.config.chart.type==="rangeBar"&&(h.pop(),h.push(c.globals.seriesRangeStart[A][C]),h.push(c.globals.seriesRangeEnd[A][C])),h.length&&d.push(h.join(n))}}}};h.push(c.config.chart.toolbar.export.csv.headerCategory),c.config.chart.type==="boxPlot"?(h.push("minimum"),h.push("q1"),h.push("median"),h.push("q3"),h.push("maximum")):c.config.chart.type==="candlestick"?(h.push("open"),h.push("high"),h.push("low"),h.push("close")):c.config.chart.type==="rangeBar"?(h.push("minimum"),h.push("maximum")):a.map((function(y,A){var C=(y.name?y.name:"series-".concat(A))+"";c.globals.axisCharts&&h.push(C.split(n).join("")?C.split(n).join(""):"series-".concat(A))})),c.globals.axisCharts||(h.push(c.config.chart.toolbar.export.csv.headerValue),d.push(h.join(n))),c.globals.allSeriesHasEqualX||!c.globals.axisCharts||c.config.xaxis.categories.length||c.config.labels.length?a.map((function(y,A){c.globals.axisCharts?k(y,A):((h=[]).push(p(c.globals.labels[A])),h.push(f(g[A])),d.push(h.join(n)))})):(function(){var y=new Set,A={};a.forEach((function(C,S){C?.data.forEach((function(M){var I,R;if(v.isFormatXY())I=M.x,R=M.y;else{if(!v.isFormat2DArray())return;I=M[0],R=M[1]}A[I]||(A[I]=Array(a.length).fill("")),A[I][S]=f(R),y.add(I)}))})),h.length&&d.push(h.join(n)),Array.from(y).sort().forEach((function(C){d.push([p(C),A[C].join(n)])}))})(),u+=d.join(l),this.triggerDownload("data:text/csv; charset=utf-8,"+encodeURIComponent("\uFEFF"+u),i||c.config.chart.toolbar.export.csv.filename,".csv")}},{key:"triggerDownload",value:function(e,t,a){var i=document.createElement("a");i.href=e,i.download=(t||this.w.globals.chartID)+a,document.body.appendChild(i),i.click(),document.body.removeChild(i)}}]),s})(),pa=(function(){function s(e,t){N(this,s),this.ctx=e,this.elgrid=t,this.w=e.w;var a=this.w;this.axesUtils=new Ct(e),this.xaxisLabels=a.globals.labels.slice(),a.globals.timescaleLabels.length>0&&!a.globals.isBarHorizontal&&(this.xaxisLabels=a.globals.timescaleLabels.slice()),a.config.xaxis.overwriteCategories&&(this.xaxisLabels=a.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],a.config.xaxis.position==="top"?this.offY=0:this.offY=a.globals.gridHeight,this.offY=this.offY+a.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal=a.config.chart.type==="bar"&&a.config.plotOptions.bar.horizontal,this.xaxisFontSize=a.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=a.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=a.config.xaxis.labels.style.colors,this.xaxisBorderWidth=a.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=a.config.yaxis[0].axisBorder.width.toString()),String(this.xaxisBorderWidth).indexOf("%")>-1?this.xaxisBorderWidth=a.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=a.config.xaxis.axisBorder.height,this.yaxis=a.config.yaxis[0]}return V(s,[{key:"drawXaxis",value:function(){var e=this.w,t=new E(this.ctx),a=t.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),i=t.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});a.add(i);for(var r=[],n=0;n<this.xaxisLabels.length;n++)r.push(this.xaxisLabels[n]);if(this.drawXAxisLabelAndGroup(!0,t,i,r,e.globals.isXNumeric,(function(p,f){return f})),e.globals.hasXaxisGroups){var o=e.globals.groups;r=[];for(var l=0;l<o.length;l++)r.push(o[l].title);var c={};e.config.xaxis.group.style&&(c.xaxisFontSize=e.config.xaxis.group.style.fontSize,c.xaxisFontFamily=e.config.xaxis.group.style.fontFamily,c.xaxisForeColors=e.config.xaxis.group.style.colors,c.fontWeight=e.config.xaxis.group.style.fontWeight,c.cssClass=e.config.xaxis.group.style.cssClass),this.drawXAxisLabelAndGroup(!1,t,i,r,!1,(function(p,f){return o[p].cols*f}),c)}if(e.config.xaxis.title.text!==void 0){var h=t.group({class:"apexcharts-xaxis-title"}),d=t.drawText({x:e.globals.gridWidth/2+e.config.xaxis.title.offsetX,y:this.offY+parseFloat(this.xaxisFontSize)+(e.config.xaxis.position==="bottom"?e.globals.xAxisLabelsHeight:-e.globals.xAxisLabelsHeight-10)+e.config.xaxis.title.offsetY,text:e.config.xaxis.title.text,textAnchor:"middle",fontSize:e.config.xaxis.title.style.fontSize,fontFamily:e.config.xaxis.title.style.fontFamily,fontWeight:e.config.xaxis.title.style.fontWeight,foreColor:e.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+e.config.xaxis.title.style.cssClass});h.add(d),a.add(h)}if(e.config.xaxis.axisBorder.show){var u=e.globals.barPadForNumericAxis,g=t.drawLine(e.globals.padHorizontal+e.config.xaxis.axisBorder.offsetX-u,this.offY,this.xaxisBorderWidth+u,this.offY,e.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);this.elgrid&&this.elgrid.elGridBorders&&e.config.grid.show?this.elgrid.elGridBorders.add(g):a.add(g)}return a}},{key:"drawXAxisLabelAndGroup",value:function(e,t,a,i,r,n){var o,l=this,c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:{},h=[],d=[],u=this.w,g=c.xaxisFontSize||this.xaxisFontSize,p=c.xaxisFontFamily||this.xaxisFontFamily,f=c.xaxisForeColors||this.xaxisForeColors,m=c.fontWeight||u.config.xaxis.labels.style.fontWeight,v=c.cssClass||u.config.xaxis.labels.style.cssClass,b=u.globals.padHorizontal,w=i.length,k=u.config.xaxis.type==="category"?u.globals.dataPoints:w;if(k===0&&w>k&&(k=w),r){var y=Math.max(Number(u.config.xaxis.tickAmount)||1,k>1?k-1:k);o=u.globals.gridWidth/Math.min(y,w-1),b=b+n(0,o)/2+u.config.xaxis.labels.offsetX}else o=u.globals.gridWidth/k,b=b+n(0,o)+u.config.xaxis.labels.offsetX;for(var A=function(S){var M=b-n(S,o)/2+u.config.xaxis.labels.offsetX;S===0&&w===1&&o/2===b&&k===1&&(M=u.globals.gridWidth/2);var I=l.axesUtils.getLabel(i,u.globals.timescaleLabels,M,S,h,g,e),R=28;if(u.globals.rotateXLabels&&e&&(R=22),u.config.xaxis.title.text&&u.config.xaxis.position==="top"&&(R+=parseFloat(u.config.xaxis.title.style.fontSize)+2),e||(R=R+parseFloat(g)+(u.globals.xAxisLabelsHeight-u.globals.xAxisGroupLabelsHeight)+(u.globals.rotateXLabels?10:0)),I=u.config.xaxis.tickAmount!==void 0&&u.config.xaxis.tickAmount!=="dataPoints"&&u.config.xaxis.type!=="datetime"?l.axesUtils.checkLabelBasedOnTickamount(S,I,w):l.axesUtils.checkForOverflowingLabels(S,I,w,h,d),u.config.xaxis.labels.show){var P=t.drawText({x:I.x,y:l.offY+u.config.xaxis.labels.offsetY+R-(u.config.xaxis.position==="top"?u.globals.xAxisHeight+u.config.xaxis.axisTicks.height-2:0),text:I.text,textAnchor:"middle",fontWeight:I.isBold?600:m,fontSize:g,fontFamily:p,foreColor:Array.isArray(f)?e&&u.config.xaxis.convertedCatToNumeric?f[u.globals.minX+S-1]:f[S]:f,isPlainText:!1,cssClass:(e?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+v});if(a.add(P),P.on("click",(function(O){if(typeof u.config.chart.events.xAxisLabelClick=="function"){var H=Object.assign({},u,{labelIndex:S});u.config.chart.events.xAxisLabelClick(O,l.ctx,H)}})),e){var _=document.createElementNS(u.globals.SVGNS,"title");_.textContent=Array.isArray(I.text)?I.text.join(" "):I.text,P.node.appendChild(_),I.text!==""&&(h.push(I.text),d.push(I))}}S<w-1&&(b+=n(S+1,o))},C=0;C<=w-1;C++)A(C)}},{key:"drawXaxisInversed",value:function(e){var t,a,i=this,r=this.w,n=new E(this.ctx),o=r.config.yaxis[0].opposite?r.globals.translateYAxisX[e]:0,l=n.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:e}),c=n.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+o+", 0)"});l.add(c);var h=[];if(r.config.yaxis[e].show)for(var d=0;d<this.xaxisLabels.length;d++)h.push(this.xaxisLabels[d]);t=r.globals.gridHeight/h.length,a=-t/2.2;var u=r.globals.yLabelFormatters[0],g=r.config.yaxis[0].labels;if(g.show)for(var p=function(y){var A=h[y]===void 0?"":h[y];A=u(A,{seriesIndex:e,dataPointIndex:y,w:r});var C=i.axesUtils.getYAxisForeColor(g.style.colors,e),S=0;Array.isArray(A)&&(S=A.length/2*parseInt(g.style.fontSize,10));var M=g.offsetX-15,I="end";i.yaxis.opposite&&(I="start"),r.config.yaxis[0].labels.align==="left"?(M=g.offsetX,I="start"):r.config.yaxis[0].labels.align==="center"?(M=g.offsetX,I="middle"):r.config.yaxis[0].labels.align==="right"&&(I="end");var R=n.drawText({x:M,y:a+t+g.offsetY-S,text:A,textAnchor:I,foreColor:Array.isArray(C)?C[y]:C,fontSize:g.style.fontSize,fontFamily:g.style.fontFamily,fontWeight:g.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+g.style.cssClass,maxWidth:g.maxWidth});c.add(R),R.on("click",(function(O){if(typeof r.config.chart.events.xAxisLabelClick=="function"){var H=Object.assign({},r,{labelIndex:y});r.config.chart.events.xAxisLabelClick(O,i.ctx,H)}}));var P=document.createElementNS(r.globals.SVGNS,"title");if(P.textContent=Array.isArray(A)?A.join(" "):A,R.node.appendChild(P),r.config.yaxis[e].labels.rotate!==0){var _=n.rotateAroundCenter(R.node);R.node.setAttribute("transform","rotate(".concat(r.config.yaxis[e].labels.rotate," 0 ").concat(_.y,")"))}a+=t},f=0;f<=h.length-1;f++)p(f);if(r.config.yaxis[0].title.text!==void 0){var m=n.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed",transform:"translate("+o+", 0)"}),v=n.drawText({x:r.config.yaxis[0].title.offsetX,y:r.globals.gridHeight/2+r.config.yaxis[0].title.offsetY,text:r.config.yaxis[0].title.text,textAnchor:"middle",foreColor:r.config.yaxis[0].title.style.color,fontSize:r.config.yaxis[0].title.style.fontSize,fontWeight:r.config.yaxis[0].title.style.fontWeight,fontFamily:r.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+r.config.yaxis[0].title.style.cssClass});m.add(v),l.add(m)}var b=0;this.isCategoryBarHorizontal&&r.config.yaxis[0].opposite&&(b=r.globals.gridWidth);var w=r.config.xaxis.axisBorder;if(w.show){var k=n.drawLine(r.globals.padHorizontal+w.offsetX+b,1+w.offsetY,r.globals.padHorizontal+w.offsetX+b,r.globals.gridHeight+w.offsetY,w.color,0);this.elgrid&&this.elgrid.elGridBorders&&r.config.grid.show?this.elgrid.elGridBorders.add(k):l.add(k)}return r.config.yaxis[0].axisTicks.show&&this.axesUtils.drawYAxisTicks(b,h.length,r.config.yaxis[0].axisBorder,r.config.yaxis[0].axisTicks,0,t,l),l}},{key:"drawXaxisTicks",value:function(e,t,a){var i=this.w,r=e;if(!(e<0||e-2>i.globals.gridWidth)){var n=this.offY+i.config.xaxis.axisTicks.offsetY;if(t=t+n+i.config.xaxis.axisTicks.height,i.config.xaxis.position==="top"&&(t=n-i.config.xaxis.axisTicks.height),i.config.xaxis.axisTicks.show){var o=new E(this.ctx).drawLine(e+i.config.xaxis.axisTicks.offsetX,n+i.config.xaxis.offsetY,r+i.config.xaxis.axisTicks.offsetX,t+i.config.xaxis.offsetY,i.config.xaxis.axisTicks.color);a.add(o),o.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],a=this.xaxisLabels.length,i=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var r=0;r<a;r++)i=this.xaxisLabels[r].position,t.push(i);else for(var n=a,o=0;o<n;o++){var l=n;e.globals.isXNumeric&&e.config.chart.type!=="bar"&&(l-=1),i+=e.globals.gridWidth/l,t.push(i)}return t}},{key:"xAxisLabelCorrections",value:function(){var e=this.w,t=new E(this.ctx),a=e.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text:not(.apexcharts-xaxis-group-label)"),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text tspan");if(e.globals.rotateXLabels||e.config.xaxis.labels.rotateAlways)for(var o=0;o<i.length;o++){var l=t.rotateAroundCenter(i[o]);l.y=l.y-1,l.x=l.x+1,i[o].setAttribute("transform","rotate(".concat(e.config.xaxis.labels.rotate," ").concat(l.x," ").concat(l.y,")")),i[o].setAttribute("text-anchor","end"),a.setAttribute("transform","translate(0, ".concat(-10,")"));var c=i[o].childNodes;e.config.xaxis.labels.trim&&Array.prototype.forEach.call(c,(function(g){t.placeTextWithEllipsis(g,g.textContent,e.globals.xAxisLabelsHeight-(e.config.legend.position==="bottom"?20:10))}))}else(function(){for(var g=e.globals.gridWidth/(e.globals.labels.length+1),p=0;p<i.length;p++){var f=i[p].childNodes;e.config.xaxis.labels.trim&&e.config.xaxis.type!=="datetime"&&Array.prototype.forEach.call(f,(function(m){t.placeTextWithEllipsis(m,m.textContent,g)}))}})();if(r.length>0){var h=r[r.length-1].getBBox(),d=r[0].getBBox();h.x<-20&&r[r.length-1].parentNode.removeChild(r[r.length-1]),d.x+d.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&r[0].parentNode.removeChild(r[0]);for(var u=0;u<n.length;u++)t.placeTextWithEllipsis(n[u],n[u].textContent,e.config.yaxis[0].labels.maxWidth-(e.config.yaxis[0].title.text?2*parseFloat(e.config.yaxis[0].title.style.fontSize):0)-15)}}}]),s})(),ho=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w;var t=this.w;this.xaxisLabels=t.globals.labels.slice(),this.axesUtils=new Ct(e),this.isRangeBar=t.globals.seriesRange.length&&t.globals.isBarHorizontal,t.globals.timescaleLabels.length>0&&(this.xaxisLabels=t.globals.timescaleLabels.slice())}return V(s,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w,a=new E(this.ctx);e||(e=a.group({class:"apexcharts-grid"}));var i=a.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),r=a.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(r),e.add(i),e}},{key:"drawGrid",value:function(){if(this.w.globals.axisCharts){var e=this.renderGrid();return this.drawGridArea(e.el),e}return null}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,a=new E(this.ctx),i=Array.isArray(e.config.stroke.width)?Math.max.apply(Math,Re(e.config.stroke.width)):e.config.stroke.width,r=function(h){var d=document.createElementNS(t.SVGNS,"clipPath");return d.setAttribute("id",h),d};t.dom.elGridRectMask=r("gridRectMask".concat(t.cuid)),t.dom.elGridRectBarMask=r("gridRectBarMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=r("gridRectMarkerMask".concat(t.cuid)),t.dom.elForecastMask=r("forecastMask".concat(t.cuid)),t.dom.elNonForecastMask=r("nonForecastMask".concat(t.cuid));var n=0,o=0;(["bar","rangeBar","candlestick","boxPlot"].includes(e.config.chart.type)||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(n=Math.max(e.config.grid.padding.left,t.barPadForNumericAxis),o=Math.max(e.config.grid.padding.right,t.barPadForNumericAxis)),t.dom.elGridRect=a.drawRect(-i/2-2,-i/2-2,t.gridWidth+i+4,t.gridHeight+i+4,0,"#fff"),t.dom.elGridRectBar=a.drawRect(-i/2-n-2,-i/2-2,t.gridWidth+i+o+n+4,t.gridHeight+i+4,0,"#fff");var l=e.globals.markers.largestSize;t.dom.elGridRectMarker=a.drawRect(Math.min(-i/2-n-2,-l),-l,t.gridWidth+Math.max(i+o+n+4,2*l),t.gridHeight+2*l,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectBarMask.appendChild(t.dom.elGridRectBar.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var c=t.dom.baseEl.querySelector("defs");c.appendChild(t.dom.elGridRectMask),c.appendChild(t.dom.elGridRectBarMask),c.appendChild(t.dom.elGridRectMarkerMask),c.appendChild(t.dom.elForecastMask),c.appendChild(t.dom.elNonForecastMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,a=e.x1,i=e.y1,r=e.x2,n=e.y2,o=e.xCount,l=e.parent,c=this.w;if(!(t===0&&c.globals.skipFirstTimelinelabel||t===o-1&&c.globals.skipLastTimelinelabel&&!c.config.xaxis.labels.formatter||c.config.chart.type==="radar")){c.config.grid.xaxis.lines.show&&this._drawGridLine({i:t,x1:a,y1:i,x2:r,y2:n,xCount:o,parent:l});var h=0;if(c.globals.hasXaxisGroups&&c.config.xaxis.tickPlacement==="between"){var d=c.globals.groups;if(d){for(var u=0,g=0;u<t&&g<d.length;g++)u+=d[g].cols;u===t&&(h=.6*c.globals.xAxisLabelsHeight)}}new pa(this.ctx).drawXaxisTicks(a,h,c.globals.dom.elGraphical)}}},{key:"_drawGridLine",value:function(e){var t=e.i,a=e.x1,i=e.y1,r=e.x2,n=e.y2,o=e.xCount,l=e.parent,c=this.w,h=l.node.classList.contains("apexcharts-gridlines-horizontal"),d=c.globals.barPadForNumericAxis,u=i===0&&n===0||a===0&&r===0||i===c.globals.gridHeight&&n===c.globals.gridHeight||c.globals.isBarHorizontal&&(t===0||t===o-1),g=new E(this).drawLine(a-(h?d:0),i,r+(h?d:0),n,c.config.grid.borderColor,c.config.grid.strokeDashArray);g.node.classList.add("apexcharts-gridline"),u&&c.config.grid.show?this.elGridBorders.add(g):l.add(g)}},{key:"_drawGridBandRect",value:function(e){var t=e.c,a=e.x1,i=e.y1,r=e.x2,n=e.y2,o=e.type,l=this.w,c=new E(this.ctx),h=l.globals.barPadForNumericAxis,d=l.config.grid[o].colors[t],u=c.drawRect(a-(o==="row"?h:0),i,r+(o==="row"?2*h:0),n,0,d,l.config.grid[o].opacity);this.elg.add(u),u.attr("clip-path","url(#gridRectMask".concat(l.globals.cuid,")")),u.node.classList.add("apexcharts-grid-".concat(o))}},{key:"_drawXYLines",value:function(e){var t=this,a=e.xCount,i=e.tickAmount,r=this.w;if(r.config.grid.xaxis.lines.show||r.config.xaxis.axisTicks.show){var n,o=r.globals.padHorizontal,l=r.globals.gridHeight;r.globals.timescaleLabels.length?(function(p){for(var f=p.xC,m=p.x1,v=p.y1,b=p.x2,w=p.y2,k=0;k<f;k++)m=t.xaxisLabels[k].position,b=t.xaxisLabels[k].position,t._drawGridLines({i:k,x1:m,y1:v,x2:b,y2:w,xCount:a,parent:t.elgridLinesV})})({xC:a,x1:o,y1:0,x2:n,y2:l}):(r.globals.isXNumeric&&(a=r.globals.xAxisScale.result.length),(function(p){for(var f=p.xC,m=p.x1,v=p.y1,b=p.x2,w=p.y2,k=0;k<f+(r.globals.isXNumeric?0:1);k++)k===0&&f===1&&r.globals.dataPoints===1&&(b=m=r.globals.gridWidth/2),t._drawGridLines({i:k,x1:m,y1:v,x2:b,y2:w,xCount:a,parent:t.elgridLinesV}),b=m+=r.globals.gridWidth/(r.globals.isXNumeric?f-1:f)})({xC:a,x1:o,y1:0,x2:n,y2:l}))}if(r.config.grid.yaxis.lines.show){var c=0,h=0,d=r.globals.gridWidth,u=i+1;this.isRangeBar&&(u=r.globals.labels.length);for(var g=0;g<u+(this.isRangeBar?1:0);g++)this._drawGridLine({i:g,xCount:u+(this.isRangeBar?1:0),x1:0,y1:c,x2:d,y2:h,parent:this.elgridLinesH}),h=c+=r.globals.gridHeight/(this.isRangeBar?u:i)}}},{key:"_drawInvertedXYLines",value:function(e){var t=e.xCount,a=this.w;if(a.config.grid.xaxis.lines.show||a.config.xaxis.axisTicks.show)for(var i,r=a.globals.padHorizontal,n=a.globals.gridHeight,o=0;o<t+1;o++)a.config.grid.xaxis.lines.show&&this._drawGridLine({i:o,xCount:t+1,x1:r,y1:0,x2:i,y2:n,parent:this.elgridLinesV}),new pa(this.ctx).drawXaxisTicks(r,0,a.globals.dom.elGraphical),i=r+=a.globals.gridWidth/t;if(a.config.grid.yaxis.lines.show)for(var l=0,c=0,h=a.globals.gridWidth,d=0;d<a.globals.dataPoints+1;d++)this._drawGridLine({i:d,xCount:a.globals.dataPoints+1,x1:0,y1:l,x2:h,y2:c,parent:this.elgridLinesH}),c=l+=a.globals.gridHeight/a.globals.dataPoints}},{key:"renderGrid",value:function(){var e=this.w,t=e.globals,a=new E(this.ctx);this.elg=a.group({class:"apexcharts-grid"}),this.elgridLinesH=a.group({class:"apexcharts-gridlines-horizontal"}),this.elgridLinesV=a.group({class:"apexcharts-gridlines-vertical"}),this.elGridBorders=a.group({class:"apexcharts-grid-borders"}),this.elg.add(this.elgridLinesH),this.elg.add(this.elgridLinesV),e.config.grid.show||(this.elgridLinesV.hide(),this.elgridLinesH.hide(),this.elGridBorders.hide());for(var i=0;i<t.seriesYAxisMap.length&&t.ignoreYAxisIndexes.includes(i);)i++;i===t.seriesYAxisMap.length&&(i=0);var r,n=t.yAxisScale[i].result.length-1;if(!t.isBarHorizontal||this.isRangeBar){var o,l,c;r=this.xaxisLabels.length,this.isRangeBar&&(n=t.labels.length,e.config.xaxis.tickAmount&&e.config.xaxis.labels.formatter&&(r=e.config.xaxis.tickAmount),((o=t.yAxisScale)===null||o===void 0||(l=o[i])===null||l===void 0||(c=l.result)===null||c===void 0?void 0:c.length)>0&&e.config.xaxis.type!=="datetime"&&(r=t.yAxisScale[i].result.length-1)),this._drawXYLines({xCount:r,tickAmount:n})}else r=n,n=t.xTickAmount,this._drawInvertedXYLines({xCount:r,tickAmount:n});return this.drawGridBands(r,n),{el:this.elg,elGridBorders:this.elGridBorders,xAxisTickWidth:t.gridWidth/r}}},{key:"drawGridBands",value:function(e,t){var a,i,r=this,n=this.w;if(((a=n.config.grid.row.colors)===null||a===void 0?void 0:a.length)>0&&(function(p,f,m,v,b,w){for(var k=0,y=0;k<f;k++,y++)y>=n.config.grid[p].colors.length&&(y=0),r._drawGridBandRect({c:y,x1:m,y1:v,x2:b,y2:w,type:p}),v+=n.globals.gridHeight/t})("row",t,0,0,n.globals.gridWidth,n.globals.gridHeight/t),((i=n.config.grid.column.colors)===null||i===void 0?void 0:i.length)>0){var o=n.globals.isBarHorizontal||n.config.xaxis.tickPlacement!=="on"||n.config.xaxis.type!=="category"&&!n.config.xaxis.convertedCatToNumeric?e:e-1;n.globals.isXNumeric&&(o=n.globals.xAxisScale.result.length-1);for(var l=n.globals.padHorizontal,c=n.globals.padHorizontal+n.globals.gridWidth/o,h=n.globals.gridHeight,d=0,u=0;d<e;d++,u++){var g;u>=n.config.grid.column.colors.length&&(u=0),n.config.xaxis.type==="datetime"&&(l=this.xaxisLabels[d].position,c=(((g=this.xaxisLabels[d+1])===null||g===void 0?void 0:g.position)||n.globals.gridWidth)-this.xaxisLabels[d].position),this._drawGridBandRect({c:u,x1:l,y1:0,x2:c,y2:h,type:"column"}),l+=n.globals.gridWidth/o}}}}]),s})(),uo=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.coreUtils=new Ae(this.ctx)}return V(s,[{key:"niceScale",value:function(e,t){var a,i,r,n,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=1e-11,c=this.w,h=c.globals;h.isBarHorizontal?(a=c.config.xaxis,i=Math.max((h.svgWidth-100)/25,2)):(a=c.config.yaxis[o],i=Math.max((h.svgHeight-100)/15,2)),L.isNumber(i)||(i=10),r=a.min!==void 0&&a.min!==null,n=a.max!==void 0&&a.min!==null;var d=a.stepSize!==void 0&&a.stepSize!==null,u=a.tickAmount!==void 0&&a.tickAmount!==null,g=u?a.tickAmount:h.niceScaleDefaultTicks[Math.min(Math.round(i/2),h.niceScaleDefaultTicks.length-1)];if(h.isMultipleYAxis&&!u&&h.multiAxisTickAmount>0&&(g=h.multiAxisTickAmount,u=!0),g=g==="dataPoints"?h.dataPoints-1:Math.abs(Math.round(g)),(e===Number.MIN_VALUE&&t===0||!L.isNumber(e)&&!L.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE)&&(e=L.isNumber(a.min)?a.min:0,t=L.isNumber(a.max)?a.max:e+g,h.allSeriesCollapsed=!1),e>t){console.warn("axis.min cannot be greater than axis.max: swapping min and max");var p=t;t=e,e=p}else e===t&&(e=e===0?0:e-1,t=t===0?2:t+1);var f=[];g<1&&(g=1);var m=g,v=Math.abs(t-e);!r&&e>0&&e/v<.15&&(e=0,r=!0),!n&&t<0&&-t/v<.15&&(t=0,n=!0);var b=(v=Math.abs(t-e))/m,w=b,k=Math.floor(Math.log10(w)),y=Math.pow(10,k),A=Math.ceil(w/y);if(b=w=(A=h.niceScaleAllowedMagMsd[h.yValueDecimal===0?0:1][A])*y,h.isBarHorizontal&&a.stepSize&&a.type!=="datetime"?(b=a.stepSize,d=!0):d&&(b=a.stepSize),d&&a.forceNiceScale){var C=Math.floor(Math.log10(b));b*=Math.pow(10,k-C)}if(r&&n){var S=v/m;if(u)if(d)if(L.mod(v,b)!=0){var M=L.getGCD(b,S);b=S/M<10?M:S}else L.mod(b,S)==0?b=S:(S=b,u=!1);else b=S;else if(d)L.mod(v,b)==0?S=b:b=S;else if(L.mod(v,b)==0)S=b;else{S=v/(m=Math.ceil(v/b));var I=L.getGCD(v,b);v/I<i&&(S=I),b=S}m=Math.round(v/b)}else{if(r||n){if(n)if(u)e=t-b*m;else{var R=e;e=b*Math.floor(e/b),Math.abs(t-e)/L.getGCD(v,b)>i&&(e=t-b*g,e+=b*Math.floor((R-e)/b))}else if(r)if(u)t=e+b*m;else{var P=t;t=b*Math.ceil(t/b),Math.abs(t-e)/L.getGCD(v,b)>i&&(t=e+b*g,t+=b*Math.ceil((P-t)/b))}}else if(h.isMultipleYAxis&&u){var _=b*Math.floor(e/b),O=_+b*m;O<t&&(b*=2),O=t,t=(e=_)+b*m,v=Math.abs(t-e),e>0&&e<Math.abs(O-t)&&(e=0,t=b*m),t<0&&-t<Math.abs(_-e)&&(t=0,e=-b*m)}else e=b*Math.floor(e/b),t=b*Math.ceil(t/b);v=Math.abs(t-e),b=L.getGCD(v,b),m=Math.round(v/b)}if(u||r||n||(m=Math.ceil((v-l)/(b+l)))>16&&L.getPrimeFactors(m).length<2&&m++,!u&&a.forceNiceScale&&h.yValueDecimal===0&&m>v&&(m=v,b=Math.round(v/m)),m>i&&(!u&&!d||a.forceNiceScale)){var H=L.getPrimeFactors(m),T=H.length-1,D=m;e:for(var B=0;B<T;B++)for(var X=0;X<=T-B;X++){for(var Y=Math.min(X+B,T),W=D,U=1,re=X;re<=Y;re++)U*=H[re];if((W/=U)<i){D=W;break e}}b=D===m?v:v/D,m=Math.round(v/b)}h.isMultipleYAxis&&h.multiAxisTickAmount==0&&h.ignoreYAxisIndexes.indexOf(o)<0&&(h.multiAxisTickAmount=m);var J=e-b,xe=b*l;do J+=b,f.push(L.stripNumber(J,7));while(t-J>xe);return{result:f,niceMin:f[0],niceMax:f[f.length-1]}}},{key:"linearScale",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:void 0,n=Math.abs(t-e),o=[];if(e===t)return{result:o=[e],niceMin:o[0],niceMax:o[o.length-1]};(a=this._adjustTicksForSmallRange(a,i,n))==="dataPoints"&&(a=this.w.globals.dataPoints-1),r||(r=n/a),r=Math.round(100*(r+Number.EPSILON))/100,a===Number.MAX_VALUE&&(a=5,r=1);for(var l=e;a>=0;)o.push(l),l=L.preciseAddition(l,r),a-=1;return{result:o,niceMin:o[0],niceMax:o[o.length-1]}}},{key:"logarithmicScaleNice",value:function(e,t,a){t<=0&&(t=Math.max(e,a)),e<=0&&(e=Math.min(t,a));for(var i=[],r=Math.ceil(Math.log(t)/Math.log(a)+1),n=Math.floor(Math.log(e)/Math.log(a));n<r;n++)i.push(Math.pow(a,n));return{result:i,niceMin:i[0],niceMax:i[i.length-1]}}},{key:"logarithmicScale",value:function(e,t,a){t<=0&&(t=Math.max(e,a)),e<=0&&(e=Math.min(t,a));for(var i=[],r=Math.log(t)/Math.log(a),n=Math.log(e)/Math.log(a),o=r-n,l=Math.round(o),c=o/l,h=0,d=n;h<l;h++,d+=c)i.push(Math.pow(a,d));return i.push(Math.pow(a,r)),{result:i,niceMin:e,niceMax:t}}},{key:"_adjustTicksForSmallRange",value:function(e,t,a){var i=e;if(t!==void 0&&this.w.config.yaxis[t].labels.formatter&&this.w.config.yaxis[t].tickAmount===void 0){var r=Number(this.w.config.yaxis[t].labels.formatter(1));L.isNumber(r)&&this.w.globals.yValueDecimal===0&&(i=Math.ceil(a))}return i<e?i:e}},{key:"setYScaleForIndex",value:function(e,t,a){var i=this.w.globals,r=this.w.config,n=i.isBarHorizontal?r.xaxis:r.yaxis[e];i.yAxisScale[e]===void 0&&(i.yAxisScale[e]=[]);var o=Math.abs(a-t);n.logarithmic&&o<=5&&(i.invalidLogScale=!0),n.logarithmic&&o>5?(i.allSeriesCollapsed=!1,i.yAxisScale[e]=n.forceNiceScale?this.logarithmicScaleNice(t,a,n.logBase):this.logarithmicScale(t,a,n.logBase)):a!==-Number.MAX_VALUE&&L.isNumber(a)&&t!==Number.MAX_VALUE&&L.isNumber(t)?(i.allSeriesCollapsed=!1,i.yAxisScale[e]=this.niceScale(t,a,e)):i.yAxisScale[e]=this.niceScale(Number.MIN_VALUE,0,e)}},{key:"setXScale",value:function(e,t){var a=this.w,i=a.globals;if(t!==-Number.MAX_VALUE&&L.isNumber(t)){var r=i.xTickAmount;i.xAxisScale=this.linearScale(e,t,r,0,a.config.xaxis.max===void 0?a.config.xaxis.stepSize:void 0)}else i.xAxisScale=this.linearScale(0,10,10);return i.xAxisScale}},{key:"scaleMultipleYAxes",value:function(){var e=this,t=this.w.config,a=this.w.globals;this.coreUtils.setSeriesYAxisMappings();var i=a.seriesYAxisMap,r=a.minYArr,n=a.maxYArr;a.allSeriesCollapsed=!0,a.barGroups=[],i.forEach((function(o,l){var c=[];o.forEach((function(h){var d,u=(d=t.series[h])===null||d===void 0?void 0:d.group;c.indexOf(u)<0&&c.push(u)})),o.length>0?(function(){var h,d,u=Number.MAX_VALUE,g=-Number.MAX_VALUE,p=u,f=g;if(t.chart.stacked)(function(){var b=new Array(a.dataPoints).fill(0),w=[],k=[],y=[];c.forEach((function(){w.push(b.map((function(){return Number.MIN_VALUE}))),k.push(b.map((function(){return Number.MIN_VALUE}))),y.push(b.map((function(){return Number.MIN_VALUE})))}));for(var A=function(S){!h&&t.series[o[S]].type&&(h=t.series[o[S]].type);var M=o[S];d=t.series[M].group?t.series[M].group:"axis-".concat(l),!(a.collapsedSeriesIndices.indexOf(M)<0&&a.ancillaryCollapsedSeriesIndices.indexOf(M)<0)||(a.allSeriesCollapsed=!1,c.forEach((function(I,R){if(t.series[M].group===I)for(var P=0;P<a.series[M].length;P++){var _=a.series[M][P];_>=0?k[R][P]+=_:y[R][P]+=_,w[R][P]+=_,p=Math.min(p,_),f=Math.max(f,_)}}))),h!=="bar"&&h!=="column"||a.barGroups.push(d)},C=0;C<o.length;C++)A(C);h||(h=t.chart.type),h==="bar"||h==="column"?c.forEach((function(S,M){u=Math.min(u,Math.min.apply(null,y[M])),g=Math.max(g,Math.max.apply(null,k[M]))})):(c.forEach((function(S,M){p=Math.min(p,Math.min.apply(null,w[M])),f=Math.max(f,Math.max.apply(null,w[M]))})),u=p,g=f),u===Number.MIN_VALUE&&g===Number.MIN_VALUE&&(g=-Number.MAX_VALUE)})();else for(var m=0;m<o.length;m++){var v=o[m];u=Math.min(u,r[v]),g=Math.max(g,n[v]),!(a.collapsedSeriesIndices.indexOf(v)<0&&a.ancillaryCollapsedSeriesIndices.indexOf(v)<0)||(a.allSeriesCollapsed=!1)}t.yaxis[l].min!==void 0&&(u=typeof t.yaxis[l].min=="function"?t.yaxis[l].min(u):t.yaxis[l].min),t.yaxis[l].max!==void 0&&(g=typeof t.yaxis[l].max=="function"?t.yaxis[l].max(g):t.yaxis[l].max),a.barGroups=a.barGroups.filter((function(b,w,k){return k.indexOf(b)===w})),e.setYScaleForIndex(l,u,g),o.forEach((function(b){r[b]=a.yAxisScale[l].niceMin,n[b]=a.yAxisScale[l].niceMax}))})():e.setYScaleForIndex(l,0,-Number.MAX_VALUE)}))}}]),s})(),fs=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.scales=new uo(e)}return V(s,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-Number.MAX_VALUE,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.w.config,n=this.w.globals,o=-Number.MAX_VALUE,l=Number.MIN_VALUE;i===null&&(i=e+1);var c=n.series,h=c,d=c;r.chart.type==="candlestick"?(h=n.seriesCandleL,d=n.seriesCandleH):r.chart.type==="boxPlot"?(h=n.seriesCandleO,d=n.seriesCandleC):n.isRangeData&&(h=n.seriesRangeStart,d=n.seriesRangeEnd);var u=!1;if(n.seriesX.length>=i){var g,p=(g=n.brushSource)===null||g===void 0?void 0:g.w.config.chart.brush;(r.chart.zoom.enabled&&r.chart.zoom.autoScaleYaxis||p!=null&&p.enabled&&p!=null&&p.autoScaleYaxis)&&(u=!0)}for(var f=e;f<i;f++){n.dataPoints=Math.max(n.dataPoints,c[f].length);var m=r.series[f].type;n.categoryLabels.length&&(n.dataPoints=n.categoryLabels.filter((function(M){return M!==void 0})).length),n.labels.length&&r.xaxis.type!=="datetime"&&n.series.reduce((function(M,I){return M+I.length}),0)!==0&&(n.dataPoints=Math.max(n.dataPoints,n.labels.length));var v=0,b=c[f].length-1;if(u){if(r.xaxis.min)for(;v<b&&n.seriesX[f][v]<r.xaxis.min;v++);if(r.xaxis.max)for(;b>v&&n.seriesX[f][b]>r.xaxis.max;b--);}for(var w=v;w<=b&&w<n.series[f].length;w++){var k=c[f][w];if(k!==null&&L.isNumber(k)){var y,A,C,S;switch(((y=d[f])===null||y===void 0?void 0:y[w])!==void 0&&(o=Math.max(o,d[f][w]),t=Math.min(t,d[f][w])),((A=h[f])===null||A===void 0?void 0:A[w])!==void 0&&(t=Math.min(t,h[f][w]),a=Math.max(a,h[f][w])),m){case"candlestick":n.seriesCandleC[f][w]!==void 0&&(o=Math.max(o,n.seriesCandleH[f][w]),t=Math.min(t,n.seriesCandleL[f][w]));break;case"boxPlot":n.seriesCandleC[f][w]!==void 0&&(o=Math.max(o,n.seriesCandleC[f][w]),t=Math.min(t,n.seriesCandleO[f][w]))}m&&m!=="candlestick"&&m!=="boxPlot"&&m!=="rangeArea"&&m!=="rangeBar"&&(o=Math.max(o,n.series[f][w]),t=Math.min(t,n.series[f][w])),n.seriesGoals[f]&&n.seriesGoals[f][w]&&Array.isArray(n.seriesGoals[f][w])&&n.seriesGoals[f][w].forEach((function(M){o=Math.max(o,M.value),t=Math.min(t,M.value)})),a=o,k=L.noExponents(k),L.isFloat(k)&&(n.yValueDecimal=Math.max(n.yValueDecimal,k.toString().split(".")[1].length)),l>((C=h[f])===null||C===void 0?void 0:C[w])&&((S=h[f])===null||S===void 0?void 0:S[w])<0&&(l=h[f][w])}else n.hasNullValues=!0}m!=="bar"&&m!=="column"||(l<0&&o<0&&(o=0,a=Math.max(a,0)),l===Number.MIN_VALUE&&(l=0,t=Math.min(t,0)))}return r.chart.type==="rangeBar"&&n.seriesRangeStart.length&&n.isBarHorizontal&&(l=t),r.chart.type==="bar"&&(l<0&&o<0&&(o=0),l===Number.MIN_VALUE&&(l=0)),{minY:l,maxY:o,lowestY:t,highestY:a}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var a,i=Number.MAX_VALUE;if(e.isMultipleYAxis){i=Number.MAX_VALUE;for(var r=0;r<e.series.length;r++)a=this.getMinYMaxY(r),e.minYArr[r]=a.lowestY,e.maxYArr[r]=a.highestY,i=Math.min(i,a.lowestY)}return a=this.getMinYMaxY(0,i,null,e.series.length),t.chart.type==="bar"?(e.minY=a.minY,e.maxY=a.maxY):(e.minY=a.lowestY,e.maxY=a.highestY),i=a.lowestY,t.chart.stacked&&this._setStackedMinMax(),t.chart.type==="line"||t.chart.type==="area"||t.chart.type==="scatter"||t.chart.type==="candlestick"||t.chart.type==="boxPlot"||t.chart.type==="rangeBar"&&!e.isBarHorizontal?e.minY===Number.MIN_VALUE&&i!==-Number.MAX_VALUE&&i!==e.maxY&&(e.minY=i):e.minY=e.minY!==Number.MIN_VALUE?Math.min(a.minY,e.minY):a.minY,t.yaxis.forEach((function(n,o){n.max!==void 0&&(typeof n.max=="number"?e.maxYArr[o]=n.max:typeof n.max=="function"&&(e.maxYArr[o]=n.max(e.isMultipleYAxis?e.maxYArr[o]:e.maxY)),e.maxY=e.maxYArr[o]),n.min!==void 0&&(typeof n.min=="number"?e.minYArr[o]=n.min:typeof n.min=="function"&&(e.minYArr[o]=n.min(e.isMultipleYAxis?e.minYArr[o]===Number.MIN_VALUE?0:e.minYArr[o]:e.minY)),e.minY=e.minYArr[o])})),e.isBarHorizontal&&["min","max"].forEach((function(n){t.xaxis[n]!==void 0&&typeof t.xaxis[n]=="number"&&(n==="min"?e.minY=t.xaxis[n]:e.maxY=t.xaxis[n])})),e.isMultipleYAxis?(this.scales.scaleMultipleYAxes(),e.minY=i):(this.scales.setYScaleForIndex(0,e.minY,e.maxY),e.minY=e.yAxisScale[0].niceMin,e.maxY=e.yAxisScale[0].niceMax,e.minYArr[0]=e.minY,e.maxYArr[0]=e.maxY),e.barGroups=[],e.lineGroups=[],e.areaGroups=[],t.series.forEach((function(n){switch(n.type||t.chart.type){case"bar":case"column":e.barGroups.push(n.group);break;case"line":e.lineGroups.push(n.group);break;case"area":e.areaGroups.push(n.group)}})),e.barGroups=e.barGroups.filter((function(n,o,l){return l.indexOf(n)===o})),e.lineGroups=e.lineGroups.filter((function(n,o,l){return l.indexOf(n)===o})),e.areaGroups=e.areaGroups.filter((function(n,o,l){return l.indexOf(n)===o})),{minY:e.minY,maxY:e.maxY,minYArr:e.minYArr,maxYArr:e.maxYArr,yAxisScale:e.yAxisScale}}},{key:"setXRange",value:function(){var e=this.w.globals,t=this.w.config,a=t.xaxis.type==="numeric"||t.xaxis.type==="datetime"||t.xaxis.type==="category"&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric&&(function(){for(var l=0;l<e.series.length;l++)if(e.labels[l])for(var c=0;c<e.labels[l].length;c++)e.labels[l][c]!==null&&L.isNumber(e.labels[l][c])&&(e.maxX=Math.max(e.maxX,e.labels[l][c]),e.initialMaxX=Math.max(e.maxX,e.labels[l][c]),e.minX=Math.min(e.minX,e.labels[l][c]),e.initialMinX=Math.min(e.minX,e.labels[l][c]))})(),e.noLabelsProvided&&t.xaxis.categories.length===0&&(e.maxX=e.labels[e.labels.length-1],e.initialMaxX=e.labels[e.labels.length-1],e.minX=1,e.initialMinX=1),e.isXNumeric||e.noLabelsProvided||e.dataFormatXNumeric){var i=10;if(t.xaxis.tickAmount===void 0)i=Math.round(e.svgWidth/150),t.xaxis.type==="numeric"&&e.dataPoints<30&&(i=e.dataPoints-1),i>e.dataPoints&&e.dataPoints!==0&&(i=e.dataPoints-1);else if(t.xaxis.tickAmount==="dataPoints"){if(e.series.length>1&&(i=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric){var r=Math.round(e.maxX-e.minX);r<30&&(i=r)}}else i=t.xaxis.tickAmount;if(e.xTickAmount=i,t.xaxis.max!==void 0&&typeof t.xaxis.max=="number"&&(e.maxX=t.xaxis.max),t.xaxis.min!==void 0&&typeof t.xaxis.min=="number"&&(e.minX=t.xaxis.min),t.xaxis.range!==void 0&&(e.minX=e.maxX-t.xaxis.range),e.minX!==Number.MAX_VALUE&&e.maxX!==-Number.MAX_VALUE)if(t.xaxis.convertedCatToNumeric&&!e.dataFormatXNumeric){for(var n=[],o=e.minX-1;o<e.maxX;o++)n.push(o+1);e.xAxisScale={result:n,niceMin:n[0],niceMax:n[n.length-1]}}else e.xAxisScale=this.scales.setXScale(e.minX,e.maxX);else e.xAxisScale=this.scales.linearScale(0,i,i,0,t.xaxis.stepSize),e.noLabelsProvided&&e.labels.length>0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,i-1,0,t.xaxis.stepSize),e.seriesX=e.labels.slice());a&&(e.labels=e.xAxisScale.result.slice())}return e.isBarHorizontal&&e.labels.length&&(e.xTickAmount=e.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:e.minX,maxX:e.maxX}}},{key:"setZRange",value:function(){var e=this.w.globals;if(e.isDataXYZ){for(var t=0;t<e.series.length;t++)if(e.seriesZ[t]!==void 0)for(var a=0;a<e.seriesZ[t].length;a++)e.seriesZ[t][a]!==null&&L.isNumber(e.seriesZ[t][a])&&(e.maxZ=Math.max(e.maxZ,e.seriesZ[t][a]),e.minZ=Math.min(e.minZ,e.seriesZ[t][a]))}}},{key:"_handleSingleDataPoint",value:function(){var e=this.w.globals,t=this.w.config;if(e.minX===e.maxX){var a=new ze(this.ctx);if(t.xaxis.type==="datetime"){var i=a.getDate(e.minX);t.xaxis.labels.datetimeUTC?i.setUTCDate(i.getUTCDate()-2):i.setDate(i.getDate()-2),e.minX=new Date(i).getTime();var r=a.getDate(e.maxX);t.xaxis.labels.datetimeUTC?r.setUTCDate(r.getUTCDate()+2):r.setDate(r.getDate()+2),e.maxX=new Date(r).getTime()}else(t.xaxis.type==="numeric"||t.xaxis.type==="category"&&!e.noLabelsProvided)&&(e.minX=e.minX-2,e.initialMinX=e.minX,e.maxX=e.maxX+2,e.initialMaxX=e.maxX)}}},{key:"_getMinXDiff",value:function(){var e=this.w.globals;e.isXNumeric&&e.seriesX.forEach((function(t,a){if(t.length){t.length===1&&t.push(e.seriesX[e.maxValsInArrayIndex][e.seriesX[e.maxValsInArrayIndex].length-1]);var i=t.slice();i.sort((function(r,n){return r-n})),i.forEach((function(r,n){if(n>0){var o=r-i[n-1];o>0&&(e.minXDiff=Math.min(o,e.minXDiff))}})),e.dataPoints!==1&&e.minXDiff!==Number.MAX_VALUE||(e.minXDiff=.5)}}))}},{key:"_setStackedMinMax",value:function(){var e=this,t=this.w.globals;if(t.series.length){var a=t.seriesGroups;a.length||(a=[this.w.globals.seriesNames.map((function(n){return n}))]);var i={},r={};a.forEach((function(n){i[n]=[],r[n]=[],e.w.config.series.map((function(o,l){return n.indexOf(t.seriesNames[l])>-1?l:null})).filter((function(o){return o!==null})).forEach((function(o){for(var l=0;l<t.series[t.maxValsInArrayIndex].length;l++){var c,h,d,u;i[n][l]===void 0&&(i[n][l]=0,r[n][l]=0),(e.w.config.chart.stacked&&!t.comboCharts||e.w.config.chart.stacked&&t.comboCharts&&(!e.w.config.chart.stackOnlyBar||((c=e.w.config.series)===null||c===void 0||(h=c[o])===null||h===void 0?void 0:h.type)==="bar"||((d=e.w.config.series)===null||d===void 0||(u=d[o])===null||u===void 0?void 0:u.type)==="column"))&&t.series[o][l]!==null&&L.isNumber(t.series[o][l])&&(t.series[o][l]>0?i[n][l]+=parseFloat(t.series[o][l])+1e-4:r[n][l]+=parseFloat(t.series[o][l]))}}))})),Object.entries(i).forEach((function(n){var o=zn(n,1)[0];i[o].forEach((function(l,c){t.maxY=Math.max(t.maxY,i[o][c]),t.minY=Math.min(t.minY,r[o][c])}))}))}}}]),s})(),Ws=(function(){function s(e,t){N(this,s),this.ctx=e,this.elgrid=t,this.w=e.w;var a=this.w;this.xaxisFontSize=a.config.xaxis.labels.style.fontSize,this.axisFontFamily=a.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=a.config.xaxis.labels.style.colors,this.isCategoryBarHorizontal=a.config.chart.type==="bar"&&a.config.plotOptions.bar.horizontal,this.xAxisoffX=a.config.xaxis.position==="bottom"?a.globals.gridHeight:0,this.drawnLabels=[],this.axesUtils=new Ct(e)}return V(s,[{key:"drawYaxis",value:function(e){var t=this.w,a=new E(this.ctx),i=t.config.yaxis[e].labels.style,r=i.fontSize,n=i.fontFamily,o=i.fontWeight,l=a.group({class:"apexcharts-yaxis",rel:e,transform:"translate(".concat(t.globals.translateYAxisX[e],", 0)")});if(this.axesUtils.isYAxisHidden(e))return l;var c=a.group({class:"apexcharts-yaxis-texts-g"});l.add(c);var h=t.globals.yAxisScale[e].result.length-1,d=t.globals.gridHeight/h,u=t.globals.yLabelFormatters[e],g=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice());if(t.config.yaxis[e].labels.show){var p=t.globals.translateY+t.config.yaxis[e].labels.offsetY;t.globals.isBarHorizontal?p=0:t.config.chart.type==="heatmap"&&(p-=d/2),p+=parseInt(r,10)/3;for(var f=h;f>=0;f--){var m=u(g[f],f,t),v=t.config.yaxis[e].labels.padding;t.config.yaxis[e].opposite&&t.config.yaxis.length!==0&&(v*=-1);var b=this.getTextAnchor(t.config.yaxis[e].labels.align,t.config.yaxis[e].opposite),w=this.axesUtils.getYAxisForeColor(i.colors,e),k=Array.isArray(w)?w[f]:w,y=L.listToArray(t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-label tspan"))).map((function(C){return C.textContent})),A=a.drawText({x:v,y:p,text:y.includes(m)&&!t.config.yaxis[e].labels.showDuplicates?"":m,textAnchor:b,fontSize:r,fontFamily:n,fontWeight:o,maxWidth:t.config.yaxis[e].labels.maxWidth,foreColor:k,isPlainText:!1,cssClass:"apexcharts-yaxis-label ".concat(i.cssClass)});c.add(A),this.addTooltip(A,m),t.config.yaxis[e].labels.rotate!==0&&this.rotateLabel(a,A,firstLabel,t.config.yaxis[e].labels.rotate),p+=d}}return this.addYAxisTitle(a,l,e),this.addAxisBorder(a,l,e,h,d),l}},{key:"getTextAnchor",value:function(e,t){return e==="left"?"start":e==="center"?"middle":e==="right"?"end":t?"start":"end"}},{key:"addTooltip",value:function(e,t){var a=document.createElementNS(this.w.globals.SVGNS,"title");a.textContent=Array.isArray(t)?t.join(" "):t,e.node.appendChild(a)}},{key:"rotateLabel",value:function(e,t,a,i){var r=e.rotateAroundCenter(a.node),n=e.rotateAroundCenter(t.node);t.node.setAttribute("transform","rotate(".concat(i," ").concat(r.x," ").concat(n.y,")"))}},{key:"addYAxisTitle",value:function(e,t,a){var i=this.w;if(i.config.yaxis[a].title.text!==void 0){var r=e.group({class:"apexcharts-yaxis-title"}),n=i.config.yaxis[a].opposite?i.globals.translateYAxisX[a]:0,o=e.drawText({x:n,y:i.globals.gridHeight/2+i.globals.translateY+i.config.yaxis[a].title.offsetY,text:i.config.yaxis[a].title.text,textAnchor:"end",foreColor:i.config.yaxis[a].title.style.color,fontSize:i.config.yaxis[a].title.style.fontSize,fontWeight:i.config.yaxis[a].title.style.fontWeight,fontFamily:i.config.yaxis[a].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text ".concat(i.config.yaxis[a].title.style.cssClass)});r.add(o),t.add(r)}}},{key:"addAxisBorder",value:function(e,t,a,i,r){var n=this.w,o=n.config.yaxis[a].axisBorder,l=31+o.offsetX;if(n.config.yaxis[a].opposite&&(l=-31-o.offsetX),o.show){var c=e.drawLine(l,n.globals.translateY+o.offsetY-2,l,n.globals.gridHeight+n.globals.translateY+o.offsetY+2,o.color,0,o.width);t.add(c)}n.config.yaxis[a].axisTicks.show&&this.axesUtils.drawYAxisTicks(l,i,o,n.config.yaxis[a].axisTicks,a,r,t)}},{key:"drawYaxisInversed",value:function(e){var t=this.w,a=new E(this.ctx),i=a.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),r=a.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});i.add(r);var n=t.globals.yAxisScale[e].result.length-1,o=t.globals.gridWidth/n+.1,l=o+t.config.xaxis.labels.offsetX,c=t.globals.xLabelFormatter,h=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice()),d=t.globals.timescaleLabels;if(d.length>0&&(this.xaxisLabels=d.slice(),n=(h=d.slice()).length),t.config.xaxis.labels.show)for(var u=d.length?0:n;d.length?u<d.length:u>=0;d.length?u++:u--){var g=c(h[u],u,t),p=t.globals.gridWidth+t.globals.padHorizontal-(l-o+t.config.xaxis.labels.offsetX);if(d.length){var f=this.axesUtils.getLabel(h,d,p,u,this.drawnLabels,this.xaxisFontSize);p=f.x,g=f.text,this.drawnLabels.push(f.text),u===0&&t.globals.skipFirstTimelinelabel&&(g=""),u===h.length-1&&t.globals.skipLastTimelinelabel&&(g="")}var m=a.drawText({x:p,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-(t.config.xaxis.position==="top"?t.globals.xAxisHeight+t.config.xaxis.axisTicks.height-2:0),text:g,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[e]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:t.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label ".concat(t.config.xaxis.labels.style.cssClass)});r.add(m),m.tspan(g),this.addTooltip(m,g),l+=o}return this.inversedYAxisTitleText(i),this.inversedYAxisBorder(i),i}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,a=new E(this.ctx),i=t.config.xaxis.axisBorder;if(i.show){var r=0;t.config.chart.type==="bar"&&t.globals.isXNumeric&&(r-=15);var n=a.drawLine(t.globals.padHorizontal+r+i.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,i.color,0,i.height);this.elgrid&&this.elgrid.elGridBorders&&t.config.grid.show?this.elgrid.elGridBorders.add(n):e.add(n)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,a=new E(this.ctx);if(t.config.xaxis.title.text!==void 0){var i=a.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),r=a.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(t.config.xaxis.title.style.fontSize)+t.config.xaxis.title.offsetY+20,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,fontWeight:t.config.xaxis.title.style.fontWeight,foreColor:t.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text ".concat(t.config.xaxis.title.style.cssClass)});i.add(r),e.add(i)}}},{key:"yAxisTitleRotate",value:function(e,t){var a=this.w,i=new E(this.ctx),r=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g")),n=r?r.getBoundingClientRect():{width:0,height:0},o=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text")),l=o?o.getBoundingClientRect():{width:0,height:0};if(o){var c=this.xPaddingForYAxisTitle(e,n,l,t);o.setAttribute("x",c.xPos-(t?10:0));var h=i.rotateAroundCenter(o);o.setAttribute("transform","rotate(".concat(t?-1*a.config.yaxis[e].title.rotate:a.config.yaxis[e].title.rotate," ").concat(h.x," ").concat(h.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,a,i){var r=this.w,n=0,o=10;return r.config.yaxis[e].title.text===void 0||e<0?{xPos:n,padd:0}:(i?n=t.width+r.config.yaxis[e].title.offsetX+a.width/2+o/2:(n=-1*t.width+r.config.yaxis[e].title.offsetX+o/2+a.width/2,r.globals.isBarHorizontal&&(o=25,n=-1*t.width-r.config.yaxis[e].title.offsetX-o)),{xPos:n,padd:o})}},{key:"setYAxisXPosition",value:function(e,t){var a=this.w,i=0,r=0,n=18,o=1;a.config.yaxis.length>1&&(this.multipleYs=!0),a.config.yaxis.forEach((function(l,c){var h=a.globals.ignoreYAxisIndexes.includes(c)||!l.show||l.floating||e[c].width===0,d=e[c].width+t[c].width;l.opposite?a.globals.isBarHorizontal?(r=a.globals.gridWidth+a.globals.translateX-1,a.globals.translateYAxisX[c]=r-l.labels.offsetX):(r=a.globals.gridWidth+a.globals.translateX+o,h||(o+=d+20),a.globals.translateYAxisX[c]=r-l.labels.offsetX+20):(i=a.globals.translateX-n,h||(n+=d+20),a.globals.translateYAxisX[c]=i+l.labels.offsetX)}))}},{key:"setYAxisTextAlignments",value:function(){var e=this.w;L.listToArray(e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis")).forEach((function(t,a){var i=e.config.yaxis[a];if(i&&!i.floating&&i.labels.align!==void 0){var r=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-texts-g")),n=L.listToArray(e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-label"))),o=r.getBoundingClientRect();n.forEach((function(l){l.setAttribute("text-anchor",i.labels.align)})),i.labels.align!=="left"||i.opposite?i.labels.align==="center"?r.setAttribute("transform","translate(".concat(o.width/2*(i.opposite?1:-1),", 0)")):i.labels.align==="right"&&i.opposite&&r.setAttribute("transform","translate(".concat(o.width,", 0)")):r.setAttribute("transform","translate(-".concat(o.width,", 0)"))}}))}}]),s})(),$h=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.documentEvent=L.bind(this.documentEvent,this)}return V(s,[{key:"addEventListener",value:function(e,t){var a=this.w;a.globals.events.hasOwnProperty(e)?a.globals.events[e].push(t):a.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var a=this.w;if(a.globals.events.hasOwnProperty(e)){var i=a.globals.events[e].indexOf(t);i!==-1&&a.globals.events[e].splice(i,1)}}},{key:"fireEvent",value:function(e,t){var a=this.w;if(a.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var i=a.globals.events[e],r=i.length,n=0;n<r;n++)i[n].apply(null,t)}}},{key:"setupEventHandlers",value:function(){var e=this,t=this.w,a=this.ctx,i=t.globals.dom.baseEl.querySelector(t.globals.chartClass);this.ctx.eventList.forEach((function(r){i.addEventListener(r,(function(n){var o=n.target.getAttribute("i")===null&&t.globals.capturedSeriesIndex!==-1?t.globals.capturedSeriesIndex:n.target.getAttribute("i"),l=n.target.getAttribute("j")===null&&t.globals.capturedDataPointIndex!==-1?t.globals.capturedDataPointIndex:n.target.getAttribute("j"),c=Object.assign({},t,{seriesIndex:t.globals.axisCharts?o:0,dataPointIndex:l});n.type==="mousemove"||n.type==="touchmove"?typeof t.config.chart.events.mouseMove=="function"&&t.config.chart.events.mouseMove(n,a,c):n.type==="mouseleave"||n.type==="touchleave"?typeof t.config.chart.events.mouseLeave=="function"&&t.config.chart.events.mouseLeave(n,a,c):(n.type==="mouseup"&&n.which===1||n.type==="touchend")&&(typeof t.config.chart.events.click=="function"&&t.config.chart.events.click(n,a,c),a.ctx.events.fireEvent("click",[n,a,c]))}),{capture:!1,passive:!0})})),this.ctx.eventList.forEach((function(r){t.globals.dom.baseEl.addEventListener(r,e.documentEvent,{passive:!0})})),this.ctx.core.setupBrushHandler()}},{key:"documentEvent",value:function(e){var t=this.w,a=e.target.className;if(e.type==="click"){var i=t.globals.dom.baseEl.querySelector(".apexcharts-menu");i&&i.classList.contains("apexcharts-menu-open")&&a!=="apexcharts-menu-icon"&&i.classList.remove("apexcharts-menu-open")}t.globals.clientX=e.type==="touchmove"?e.touches[0].clientX:e.clientX,t.globals.clientY=e.type==="touchmove"?e.touches[0].clientY:e.clientY}}]),s})(),Uh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"setCurrentLocaleValues",value:function(e){var t=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&window.Apex.chart.locales.length>0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var a=t.filter((function(r){return r.name===e}))[0];if(!a)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var i=L.extend(no,a);this.w.globals.locale=i.options}}]),s})(),qh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"drawAxis",value:function(e,t){var a,i,r=this,n=this.w.globals,o=this.w.config,l=new pa(this.ctx,t),c=new Ws(this.ctx,t);n.axisCharts&&e!=="radar"&&(n.isBarHorizontal?(i=c.drawYaxisInversed(0),a=l.drawXaxisInversed(0),n.dom.elGraphical.add(a),n.dom.elGraphical.add(i)):(a=l.drawXaxis(),n.dom.elGraphical.add(a),o.yaxis.map((function(h,d){if(n.ignoreYAxisIndexes.indexOf(d)===-1&&(i=c.drawYaxis(d),n.dom.Paper.add(i),r.w.config.grid.position==="back")){var u=n.dom.Paper.children()[1];u.remove(),n.dom.Paper.add(u)}}))))}}]),s})(),ps=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new E(this.ctx),a=new Oe(this.ctx),i=e.config.xaxis.crosshairs.fill.gradient,r=e.config.xaxis.crosshairs.dropShadow,n=e.config.xaxis.crosshairs.fill.type,o=i.colorFrom,l=i.colorTo,c=i.opacityFrom,h=i.opacityTo,d=i.stops,u=r.enabled,g=r.left,p=r.top,f=r.blur,m=r.color,v=r.opacity,b=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){n==="gradient"&&(b=t.drawGradient("vertical",o,l,c,h,null,d,null));var w=t.drawRect();e.config.xaxis.crosshairs.width===1&&(w=t.drawLine());var k=e.globals.gridHeight;(!L.isNumber(k)||k<0)&&(k=0);var y=e.config.xaxis.crosshairs.width;(!L.isNumber(y)||y<0)&&(y=0),w.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:k,width:y,height:k,fill:b,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),u&&(w=a.dropShadow(w,{left:g,top:p,blur:f,color:m,opacity:v})),e.globals.dom.elGraphical.add(w)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new E(this.ctx),a=e.config.yaxis[0].crosshairs,i=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var r=t.drawLine(-i,0,e.globals.gridWidth+i,0,a.stroke.color,a.stroke.dashArray,a.stroke.width);r.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(r)}var n=t.drawLine(-i,0,e.globals.gridWidth+i,0,a.stroke.color,0,0);n.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(n)}}]),s})(),Zh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"checkResponsiveConfig",value:function(e){var t=this,a=this.w,i=a.config;if(i.responsive.length!==0){var r=i.responsive.slice();r.sort((function(c,h){return c.breakpoint>h.breakpoint?1:h.breakpoint>c.breakpoint?-1:0})).reverse();var n=new fa({}),o=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=r[0].breakpoint,d=window.innerWidth>0?window.innerWidth:screen.width;if(d>h){var u=L.clone(a.globals.initialConfig);u.series=L.clone(a.config.series);var g=Ae.extendArrayProps(n,u,a);c=L.extend(g,c),c=L.extend(a.config,c),t.overrideResponsiveOptions(c)}else for(var p=0;p<r.length;p++)d<r[p].breakpoint&&(c=Ae.extendArrayProps(n,r[p].options,a),c=L.extend(a.config,c),t.overrideResponsiveOptions(c))};if(e){var l=Ae.extendArrayProps(n,e,a);l=L.extend(a.config,l),o(l=L.extend(l,e))}else o({})}}},{key:"overrideResponsiveOptions",value:function(e){var t=new fa(e).init({responsiveOverride:!0});this.w.config=t}}]),s})(),Kh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.colors=[],this.isColorFn=!1,this.isHeatmapDistributed=this.checkHeatmapDistributed(),this.isBarDistributed=this.checkBarDistributed()}return V(s,[{key:"checkHeatmapDistributed",value:function(){var e=this.w.config,t=e.chart,a=e.plotOptions;return t.type==="treemap"&&a.treemap&&a.treemap.distributed||t.type==="heatmap"&&a.heatmap&&a.heatmap.distributed}},{key:"checkBarDistributed",value:function(){var e=this.w.config,t=e.chart,a=e.plotOptions;return a.bar&&a.bar.distributed&&(t.type==="bar"||t.type==="rangeBar")}},{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var e=this.w,t=new L;e.globals.dom.elWrap.classList.add("apexcharts-theme-".concat(e.config.theme.mode||"light"));var a=Re(e.config.colors||e.config.fill.colors||[]);e.globals.colors=this.getColors(a),this.applySeriesColors(e.globals.seriesColors,e.globals.colors),e.config.theme.monochrome.enabled&&(e.globals.colors=this.getMonochromeColors(e.config.theme.monochrome,e.globals.series,t));var i=e.globals.colors.slice();this.pushExtraColors(e.globals.colors),this.applyColorTypes(["fill","stroke"],i),this.applyDataLabelsColors(i),this.applyRadarPolygonsColors(),this.applyMarkersColors(i)}},{key:"getColors",value:function(e){var t=this,a=this.w;return e&&e.length!==0?Array.isArray(e)&&e.length>0&&typeof e[0]=="function"?(this.isColorFn=!0,a.config.series.map((function(i,r){var n=e[r]||e[0];return typeof n=="function"?n({value:a.globals.axisCharts?a.globals.series[r][0]||0:a.globals.series[r],seriesIndex:r,dataPointIndex:r,w:t.w}):n}))):e:this.predefined()}},{key:"applySeriesColors",value:function(e,t){e.forEach((function(a,i){a&&(t[i]=a)}))}},{key:"getMonochromeColors",value:function(e,t,a){var i=e.color,r=e.shadeIntensity,n=e.shadeTo,o=this.isBarDistributed||this.isHeatmapDistributed?t[0].length*t.length:t.length,l=1/(o/r),c=0;return Array.from({length:o},(function(){var h=n==="dark"?a.shadeColor(-1*c,i):a.shadeColor(c,i);return c+=l,h}))}},{key:"applyColorTypes",value:function(e,t){var a=this,i=this.w;e.forEach((function(r){i.globals[r].colors=i.config[r].colors===void 0?a.isColorFn?i.config.colors:t:i.config[r].colors.slice(),a.pushExtraColors(i.globals[r].colors)}))}},{key:"applyDataLabelsColors",value:function(e){var t=this.w;t.globals.dataLabels.style.colors=t.config.dataLabels.style.colors===void 0?e:t.config.dataLabels.style.colors.slice(),this.pushExtraColors(t.globals.dataLabels.style.colors,50)}},{key:"applyRadarPolygonsColors",value:function(){var e=this.w;e.globals.radarPolygons.fill.colors=e.config.plotOptions.radar.polygons.fill.colors===void 0?[e.config.theme.mode==="dark"?"#343A3F":"none"]:e.config.plotOptions.radar.polygons.fill.colors.slice(),this.pushExtraColors(e.globals.radarPolygons.fill.colors,20)}},{key:"applyMarkersColors",value:function(e){var t=this.w;t.globals.markers.colors=t.config.markers.colors===void 0?e:t.config.markers.colors.slice(),this.pushExtraColors(t.globals.markers.colors)}},{key:"pushExtraColors",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=this.w,r=t||i.globals.series.length;if(a===null&&(a=this.isBarDistributed||this.isHeatmapDistributed||i.config.chart.type==="heatmap"&&i.config.plotOptions.heatmap&&i.config.plotOptions.heatmap.colorScale.inverse),a&&i.globals.series.length&&(r=i.globals.series[i.globals.maxValsInArrayIndex].length*i.globals.series.length),e.length<r)for(var n=r-e.length,o=0;o<n;o++)e.push(e[o])}},{key:"updateThemeOptions",value:function(e){e.chart=e.chart||{},e.tooltip=e.tooltip||{};var t=e.theme.mode,a=t==="dark"?"palette4":t==="light"?"palette1":e.theme.palette||"palette1",i=t==="dark"?"#f6f7f8":t==="light"?"#373d3f":e.chart.foreColor||"#373d3f";return e.tooltip.theme=t||"light",e.chart.foreColor=i,e.theme.palette=a,e}},{key:"predefined",value:function(){var e=this.w.config.theme.palette,t=this.ctx.constructor.getThemePalettes();return t[e]||t.palette1}}]),s})(),Jh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(e){var t=this.w,a=e==="title"?t.config.title:t.config.subtitle,i=t.globals.svgWidth/2,r=a.offsetY,n="middle";if(a.align==="left"?(i=10,n="start"):a.align==="right"&&(i=t.globals.svgWidth-10,n="end"),i+=a.offsetX,r=r+parseInt(a.style.fontSize,10)+a.margin/2,a.text!==void 0){var o=new E(this.ctx).drawText({x:i,y:r,text:a.text,textAnchor:n,fontSize:a.style.fontSize,fontFamily:a.style.fontFamily,fontWeight:a.style.fontWeight,foreColor:a.style.color,opacity:1});o.node.setAttribute("class","apexcharts-".concat(e,"-text")),t.globals.dom.Paper.add(o)}}}]),s})(),Qh=(function(){function s(e){N(this,s),this.w=e.w,this.dCtx=e}return V(s,[{key:"getTitleSubtitleCoords",value:function(e){var t=this.w,a=0,i=0,r=e==="title"?t.config.title.floating:t.config.subtitle.floating,n=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(e,"-text"));if(n!==null&&!r){var o=n.getBoundingClientRect();a=o.width,i=t.globals.axisCharts?o.height+5:o.height}return{width:a,height:i}}},{key:"getLegendsRect",value:function(){var e=this.w,t=e.globals.dom.elLegendWrap;e.config.legend.height||e.config.legend.position!=="top"&&e.config.legend.position!=="bottom"||(t.style.maxHeight=e.globals.svgHeight/2+"px");var a=Object.assign({},L.getBoundingClientRect(t));return t!==null&&!e.config.legend.floating&&e.config.legend.show?this.dCtx.lgRect={x:a.x,y:a.y,height:a.height,width:a.height===0?0:a.width}:this.dCtx.lgRect={x:0,y:0,height:0,width:0},e.config.legend.position!=="left"&&e.config.legend.position!=="right"||1.5*this.dCtx.lgRect.width>e.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getDatalabelsRect",value:function(){var e=this,t=this.w,a=[];t.config.series.forEach((function(l,c){l.data.forEach((function(h,d){var u;u=t.globals.series[c][d],i=t.config.dataLabels.formatter(u,{ctx:e.dCtx.ctx,seriesIndex:c,dataPointIndex:d,w:t}),a.push(i)}))}));var i=L.getLargestStringFromArr(a),r=new E(this.dCtx.ctx),n=t.config.dataLabels.style,o=r.getTextRects(i,parseInt(n.fontSize),n.fontFamily);return{width:1.05*o.width,height:o.height}}},{key:"getLargestStringFromMultiArr",value:function(e,t){var a=e;if(this.w.globals.isMultiLineX){var i=t.map((function(n,o){return Array.isArray(n)?n.length:1})),r=Math.max.apply(Math,Re(i));a=t[i.indexOf(r)]}return a}}]),s})(),ed=(function(){function s(e){N(this,s),this.w=e.w,this.dCtx=e}return V(s,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,a=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&a.length===0&&(a=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var i=this.getxAxisTimeScaleLabelsCoords();e={width:i.width,height:i.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends=t.config.legend.position!=="left"&&t.config.legend.position!=="right"||t.config.legend.floating?0:this.dCtx.lgRect.width;var r=t.globals.xLabelFormatter,n=L.getLargestStringFromArr(a),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(n,a);t.globals.isBarHorizontal&&(o=n=t.globals.yAxisScale[0].result.reduce((function(p,f){return p.length>f.length?p:f}),0));var l=new Sa(this.dCtx.ctx),c=n;n=l.xLabelFormat(r,n,c,{i:void 0,dateFormatter:new ze(this.dCtx.ctx).formatDate,w:t}),o=l.xLabelFormat(r,o,c,{i:void 0,dateFormatter:new ze(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&n===void 0||String(n).trim()==="")&&(o=n="1");var h=new E(this.dCtx.ctx),d=h.getTextRects(n,t.config.xaxis.labels.style.fontSize),u=d;if(n!==o&&(u=h.getTextRects(o,t.config.xaxis.labels.style.fontSize)),(e={width:d.width>=u.width?d.width:u.width,height:d.height>=u.height?d.height:u.height}).width*a.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&t.config.xaxis.labels.rotate!==0||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var g=function(p){return h.getTextRects(p,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};d=g(n),n!==o&&(u=g(o)),e.height=(d.height>u.height?d.height:u.height)/1.5,e.width=d.width>u.width?d.width:u.width}}else t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getxAxisGroupLabelsCoords",value:function(){var e,t=this.w;if(!t.globals.hasXaxisGroups)return{width:0,height:0};var a,i=((e=t.config.xaxis.group.style)===null||e===void 0?void 0:e.fontSize)||t.config.xaxis.labels.style.fontSize,r=t.globals.groups.map((function(d){return d.title})),n=L.getLargestStringFromArr(r),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(n,r),l=new E(this.dCtx.ctx),c=l.getTextRects(n,i),h=c;return n!==o&&(h=l.getTextRects(o,i)),a={width:c.width>=h.width?c.width:h.width,height:c.height>=h.height?c.height:h.height},t.config.xaxis.labels.show||(a={width:0,height:0}),{width:a.width,height:a.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,a=0;if(e.config.xaxis.title.text!==void 0){var i=new E(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=i.width,a=i.height}return{width:t,height:a}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var a=this.dCtx.timescaleLabels.map((function(r){return r.value})),i=a.reduce((function(r,n){return r===void 0?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):r.length>n.length?r:n}),0);return 1.05*(e=new E(this.dCtx.ctx).getTextRects(i,t.config.xaxis.labels.style.fontSize)).width*a.length>t.globals.gridWidth&&t.config.xaxis.labels.rotate!==0&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,a=this.w,i=a.globals,r=a.config,n=r.xaxis.type,o=e.width;i.skipLastTimelinelabel=!1,i.skipFirstTimelinelabel=!1;var l=a.config.yaxis[0].opposite&&a.globals.isBarHorizontal,c=function(h,d){r.yaxis.length>1&&(function(u){return i.collapsedSeriesIndices.indexOf(u)!==-1})(d)||(function(u){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var g=t.dCtx.timescaleLabels[0],p=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+o/1.75-t.dCtx.yAxisWidthRight,f=g.position-o/1.75+t.dCtx.yAxisWidthLeft,m=a.config.legend.position==="right"&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;p>i.svgWidth-i.translateX-m&&(i.skipLastTimelinelabel=!0),f<-(u.show&&!u.floating||r.chart.type!=="bar"&&r.chart.type!=="candlestick"&&r.chart.type!=="rangeBar"&&r.chart.type!=="boxPlot"?10:o/1.75)&&(i.skipFirstTimelinelabel=!0)}else n==="datetime"?t.dCtx.gridPad.right<o&&!i.rotateXLabels&&(i.skipLastTimelinelabel=!0):n!=="datetime"&&t.dCtx.gridPad.right<o/2-t.dCtx.yAxisWidthRight&&!i.rotateXLabels&&!a.config.xaxis.labels.trim&&(t.dCtx.xPadRight=o/2+1)})(h)};r.yaxis.forEach((function(h,d){l?(t.dCtx.gridPad.left<o&&(t.dCtx.xPadLeft=o/2+1),t.dCtx.xPadRight=o/2+1):c(h,d)}))}}]),s})(),td=(function(){function s(e){N(this,s),this.w=e.w,this.dCtx=e}return V(s,[{key:"getyAxisLabelsCoords",value:function(){var e=this,t=this.w,a=[],i=10,r=new Ct(this.dCtx.ctx);return t.config.yaxis.map((function(n,o){var l={seriesIndex:o,dataPointIndex:-1,w:t},c=t.globals.yAxisScale[o],h=0;if(!r.isYAxisHidden(o)&&n.labels.show&&n.labels.minWidth!==void 0&&(h=n.labels.minWidth),!r.isYAxisHidden(o)&&n.labels.show&&c.result.length){var d=t.globals.yLabelFormatters[o],u=c.niceMin===Number.MIN_VALUE?0:c.niceMin,g=c.result.reduce((function(k,y){var A,C;return((A=String(d(k,l)))===null||A===void 0?void 0:A.length)>((C=String(d(y,l)))===null||C===void 0?void 0:C.length)?k:y}),u),p=g=d(g,l);if(g!==void 0&&g.length!==0||(g=c.niceMax),t.globals.isBarHorizontal){i=0;var f=t.globals.labels.slice();g=L.getLargestStringFromArr(f),g=d(g,{seriesIndex:o,dataPointIndex:-1,w:t}),p=e.dCtx.dimHelpers.getLargestStringFromMultiArr(g,f)}var m=new E(e.dCtx.ctx),v="rotate(".concat(n.labels.rotate," 0 0)"),b=m.getTextRects(g,n.labels.style.fontSize,n.labels.style.fontFamily,v,!1),w=b;g!==p&&(w=m.getTextRects(p,n.labels.style.fontSize,n.labels.style.fontFamily,v,!1)),a.push({width:(h>w.width||h>b.width?h:w.width>b.width?w.width:b.width)+i,height:w.height>b.height?w.height:b.height})}else a.push({width:0,height:0})})),a}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,a=[];return t.config.yaxis.map((function(i,r){if(i.show&&i.title.text!==void 0){var n=new E(e.dCtx.ctx),o="rotate(".concat(i.title.rotate," 0 0)"),l=n.getTextRects(i.title.text,i.title.style.fontSize,i.title.style.fontFamily,o,!1);a.push({width:l.width,height:l.height})}else a.push({width:0,height:0})})),a}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,a=0,i=0,r=e.globals.yAxisScale.length>1?10:0,n=new Ct(this.dCtx.ctx),o=function(l,c){var h=e.config.yaxis[c].floating,d=0;l.width>0&&!h?(d=l.width+r,(function(u){return e.globals.ignoreYAxisIndexes.indexOf(u)>-1})(c)&&(d=d-l.width-r)):d=h||n.isYAxisHidden(c)?0:5,e.config.yaxis[c].opposite?i+=d:a+=d,t+=d};return e.globals.yLabelsCoords.map((function(l,c){o(l,c)})),e.globals.yTitleCoords.map((function(l,c){o(l,c)})),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=a,this.dCtx.yAxisWidthRight=i,t}}]),s})(),ad=(function(){function s(e){N(this,s),this.w=e.w,this.dCtx=e}return V(s,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w,a=t.config,i=t.globals;if(i.noData||i.collapsedSeries.length+i.ancillaryCollapsedSeries.length===a.series.length)return 0;var r=function(g){return["bar","rangeBar","candlestick","boxPlot"].includes(g)},n=a.chart.type,o=0,l=r(n)?a.series.length:1;i.comboBarCount>0&&(l=i.comboBarCount),i.collapsedSeries.forEach((function(g){r(g.type)&&(l-=1)})),a.chart.stacked&&(l=1);var c=r(n)||i.comboBarCount>0,h=Math.abs(i.initialMaxX-i.initialMinX);if(c&&i.isXNumeric&&!i.isBarHorizontal&&l>0&&h!==0){h<=3&&(h=i.dataPoints);var d=h/e,u=i.minXDiff&&i.minXDiff/d>0?i.minXDiff/d:0;u>e/2&&(u/=2),(o=u*parseInt(a.plotOptions.bar.columnWidth,10)/100)<1&&(o=1),i.barPadForNumericAxis=o}return o}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,a=t.globals,i=this.dCtx.isSparkline||!a.axisCharts?0:10;["title","subtitle"].forEach((function(o){t.config[o].text!==void 0?i+=t.config[o].margin:i+=e.dCtx.isSparkline||!a.axisCharts?0:5})),!t.config.legend.show||t.config.legend.position!=="bottom"||t.config.legend.floating||a.axisCharts||(i+=10);var r=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),n=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");a.gridHeight-=r.height+n.height+i,a.translateY+=r.height+n.height+i}},{key:"setGridXPosForDualYAxis",value:function(e,t){var a=this.w,i=new Ct(this.dCtx.ctx);a.config.yaxis.forEach((function(r,n){a.globals.ignoreYAxisIndexes.indexOf(n)!==-1||r.floating||i.isYAxisHidden(n)||(r.opposite&&(a.globals.translateX-=t[n].width+e[n].width+parseInt(r.labels.style.fontSize,10)/1.2+12),a.globals.translateX<2&&(a.globals.translateX=2))}))}}]),s})(),ti=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new Qh(this),this.dimYAxis=new td(this),this.dimXAxis=new ed(this),this.dimGrid=new ad(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return V(s,[{key:"plotCoords",value:function(){var e=this,t=this.w,a=t.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.datalabelsCoords={width:0,height:0};var i=Array.isArray(t.config.stroke.width)?Math.max.apply(Math,Re(t.config.stroke.width)):t.config.stroke.width;this.isSparkline&&((t.config.markers.discrete.length>0||t.config.markers.size>0)&&Object.entries(this.gridPad).forEach((function(n){var o=zn(n,2),l=o[0],c=o[1];e.gridPad[l]=Math.max(c,e.w.globals.markers.largestSize/1.5)})),this.gridPad.top=Math.max(i/2,this.gridPad.top),this.gridPad.bottom=Math.max(i/2,this.gridPad.bottom)),a.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),a.gridHeight=a.gridHeight-this.gridPad.top-this.gridPad.bottom,a.gridWidth=a.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var r=this.dimGrid.gridPadForColumnsInNumericAxis(a.gridWidth);a.gridWidth=a.gridWidth-2*r,a.translateX=a.translateX+this.gridPad.left+this.xPadLeft+(r>0?r:0),a.translateY=a.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,a=t.globals,i=this.dimYAxis.getyAxisLabelsCoords(),r=this.dimYAxis.getyAxisTitleCoords();a.isSlopeChart&&(this.datalabelsCoords=this.dimHelpers.getDatalabelsRect()),t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map((function(g,p){t.globals.yLabelsCoords.push({width:i[p].width,index:p}),t.globals.yTitleCoords.push({width:r[p].width,index:p})})),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var n=this.dimXAxis.getxAxisLabelsCoords(),o=this.dimXAxis.getxAxisGroupLabelsCoords(),l=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(n,l,o),a.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,a.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(a.rotateXLabels=!1,a.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),a.translateXAxisY=a.translateXAxisY+t.config.xaxis.labels.offsetY,a.translateXAxisX=a.translateXAxisX+t.config.xaxis.labels.offsetX;var c=this.yAxisWidth,h=this.xAxisHeight;a.xAxisLabelsHeight=this.xAxisHeight-l.height,a.xAxisGroupLabelsHeight=a.xAxisLabelsHeight-n.height,a.xAxisLabelsWidth=this.xAxisWidth,a.xAxisHeight=this.xAxisHeight;var d=10;(t.config.chart.type==="radar"||this.isSparkline)&&(c=0,h=0),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||t.config.chart.type==="treemap")&&(c=0,h=0,d=0),this.isSparkline||t.config.chart.type==="treemap"||this.dimXAxis.additionalPaddingXLabels(n);var u=function(){a.translateX=c+e.datalabelsCoords.width,a.gridHeight=a.svgHeight-e.lgRect.height-h-(e.isSparkline||t.config.chart.type==="treemap"?0:t.globals.rotateXLabels?10:15),a.gridWidth=a.svgWidth-c-2*e.datalabelsCoords.width};switch(t.config.xaxis.position==="top"&&(d=a.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":a.translateY=d,u();break;case"top":a.translateY=this.lgRect.height+d,u();break;case"left":a.translateY=d,a.translateX=this.lgRect.width+c+this.datalabelsCoords.width,a.gridHeight=a.svgHeight-h-12,a.gridWidth=a.svgWidth-this.lgRect.width-c-2*this.datalabelsCoords.width;break;case"right":a.translateY=d,a.translateX=c+this.datalabelsCoords.width,a.gridHeight=a.svgHeight-h-12,a.gridWidth=a.svgWidth-this.lgRect.width-c-2*this.datalabelsCoords.width-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(r,i),new Ws(this.ctx).setYAxisXPosition(i,r)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,a=e.config,i=0;e.config.legend.show&&!e.config.legend.floating&&(i=20);var r=a.chart.type==="pie"||a.chart.type==="polarArea"||a.chart.type==="donut"?"pie":"radialBar",n=a.plotOptions[r].offsetY,o=a.plotOptions[r].offsetX;if(!a.legend.show||a.legend.floating){t.gridHeight=t.svgHeight;var l=t.dom.elWrap.getBoundingClientRect().width;return t.gridWidth=Math.min(l,t.gridHeight),t.translateY=n,void(t.translateX=o+(t.svgWidth-t.gridWidth)/2)}switch(a.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=n-10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=this.lgRect.height+n+10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-i,t.gridHeight=a.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=n,t.translateX=o+this.lgRect.width+i;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-i-5,t.gridHeight=a.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=n,t.translateX=o+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t,a){var i=this.w,r=i.globals.hasXaxisGroups?2:1,n=a.height+e.height+t.height,o=i.globals.isMultiLineX?1.2:i.globals.LINE_HEIGHT_RATIO,l=i.globals.rotateXLabels?22:10,c=i.globals.rotateXLabels&&i.config.legend.position==="bottom"?10:0;this.xAxisHeight=n*o+r*l+c,this.xAxisWidth=e.width,this.xAxisHeight-t.height>i.config.xaxis.labels.maxHeight&&(this.xAxisHeight=i.config.xaxis.labels.maxHeight),i.config.xaxis.labels.minHeight&&this.xAxisHeight<i.config.xaxis.labels.minHeight&&(this.xAxisHeight=i.config.xaxis.labels.minHeight),i.config.xaxis.floating&&(this.xAxisHeight=0);var h=0,d=0;i.config.yaxis.forEach((function(u){h+=u.labels.minWidth,d+=u.labels.maxWidth})),this.yAxisWidth<h&&(this.yAxisWidth=h),this.yAxisWidth>d&&(this.yAxisWidth=d)}}]),s})(),id=(function(){function s(e){N(this,s),this.w=e.w,this.lgCtx=e}return V(s,[{key:"getLegendStyles",value:function(){var e,t,a,i=document.createElement("style");i.setAttribute("type","text/css");var r=((e=this.lgCtx.ctx)===null||e===void 0||(t=e.opts)===null||t===void 0||(a=t.chart)===null||a===void 0?void 0:a.nonce)||this.w.config.chart.nonce;r&&i.setAttribute("nonce",r);var n=document.createTextNode(co);return i.appendChild(n),i}},{key:"getLegendDimensions",value:function(){var e=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),t=e.width;return{clwh:e.height,clww:t}}},{key:"appendToForeignObject",value:function(){var e=this.w.globals;this.w.config.chart.injectStyleSheet!==!1&&e.dom.elLegendForeign.appendChild(this.getLegendStyles())}},{key:"toggleDataSeries",value:function(e,t){var a=this,i=this.w;if(i.globals.axisCharts||i.config.chart.type==="radialBar"){i.globals.resized=!0;var r=null,n=null;i.globals.risingSeries=[],i.globals.axisCharts?(r=i.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),n=parseInt(r.getAttribute("data:realIndex"),10)):(r=i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),n=parseInt(r.getAttribute("rel"),10)-1),t?[{cs:i.globals.collapsedSeries,csi:i.globals.collapsedSeriesIndices},{cs:i.globals.ancillaryCollapsedSeries,csi:i.globals.ancillaryCollapsedSeriesIndices}].forEach((function(h){a.riseCollapsedSeries(h.cs,h.csi,n)})):this.hideSeries({seriesEl:r,realIndex:n})}else{var o=i.globals.dom.Paper.findOne(" .apexcharts-series[rel='".concat(e+1,"'] path")),l=i.config.chart.type;if(l==="pie"||l==="polarArea"||l==="donut"){var c=i.config.plotOptions.pie.donut.labels;new E(this.lgCtx.ctx).pathMouseDown(o,null),this.lgCtx.ctx.pie.printDataLabelsInner(o.node,c)}o.fire("click")}}},{key:"getSeriesAfterCollapsing",value:function(e){var t=e.realIndex,a=this.w,i=a.globals,r=L.clone(a.config.series);if(i.axisCharts){var n=a.config.yaxis[i.seriesYAxisReverseMap[t]],o={index:t,data:r[t].data.slice(),type:r[t].type||a.config.chart.type};if(n&&n.show&&n.showAlways)i.ancillaryCollapsedSeriesIndices.indexOf(t)<0&&(i.ancillaryCollapsedSeries.push(o),i.ancillaryCollapsedSeriesIndices.push(t));else if(i.collapsedSeriesIndices.indexOf(t)<0){i.collapsedSeries.push(o),i.collapsedSeriesIndices.push(t);var l=i.risingSeries.indexOf(t);i.risingSeries.splice(l,1)}}else i.collapsedSeries.push({index:t,data:r[t]}),i.collapsedSeriesIndices.push(t);return i.allSeriesCollapsed=i.collapsedSeries.length+i.ancillaryCollapsedSeries.length===a.config.series.length,this._getSeriesBasedOnCollapsedState(r)}},{key:"hideSeries",value:function(e){for(var t=e.seriesEl,a=e.realIndex,i=this.w,r=this.getSeriesAfterCollapsing({realIndex:a}),n=t.childNodes,o=0;o<n.length;o++)n[o].classList.contains("apexcharts-series-markers-wrap")&&(n[o].classList.contains("apexcharts-hide")?n[o].classList.remove("apexcharts-hide"):n[o].classList.add("apexcharts-hide"));this.lgCtx.ctx.updateHelpers._updateSeries(r,i.config.chart.animations.dynamicAnimation.enabled)}},{key:"riseCollapsedSeries",value:function(e,t,a){var i=this.w,r=L.clone(i.config.series);if(e.length>0){for(var n=0;n<e.length;n++)e[n].index===a&&(i.globals.axisCharts?r[a].data=e[n].data.slice():r[a]=e[n].data,typeof r[a]!="number"&&(r[a].hidden=!1),e.splice(n,1),t.splice(n,1),i.globals.risingSeries.push(a));r=this._getSeriesBasedOnCollapsedState(r),this.lgCtx.ctx.updateHelpers._updateSeries(r,i.config.chart.animations.dynamicAnimation.enabled)}}},{key:"_getSeriesBasedOnCollapsedState",value:function(e){var t=this.w,a=0;return t.globals.axisCharts?e.forEach((function(i,r){t.globals.collapsedSeriesIndices.indexOf(r)<0&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(r)<0||(e[r].data=[],a++)})):e.forEach((function(i,r){!t.globals.collapsedSeriesIndices.indexOf(r)<0&&(e[r]=0,a++)})),t.globals.allSeriesCollapsed=a===e.length,e}}]),s})(),go=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed=this.w.config.chart.type==="bar"&&this.w.config.plotOptions.bar.distributed&&this.w.config.series.length===1,this.legendHelpers=new id(this)}return V(s,[{key:"init",value:function(){var e=this.w,t=e.globals,a=e.config,i=a.legend.showForSingleSeries&&t.series.length===1||this.isBarsDistributed||t.series.length>1;if(this.legendHelpers.appendToForeignObject(),(i||!t.axisCharts)&&a.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),a.legend.position==="bottom"||a.legend.position==="top"?this.legendAlignHorizontal():a.legend.position!=="right"&&a.legend.position!=="left"||this.legendAlignVertical()}}},{key:"createLegendMarker",value:function(e){var t=e.i,a=e.fillcolor,i=this.w,r=document.createElement("span");r.classList.add("apexcharts-legend-marker");var n=i.config.legend.markers.shape||i.config.markers.shape,o=n;Array.isArray(n)&&(o=n[t]);var l=Array.isArray(i.config.legend.markers.size)?parseFloat(i.config.legend.markers.size[t]):parseFloat(i.config.legend.markers.size),c=Array.isArray(i.config.legend.markers.offsetX)?parseFloat(i.config.legend.markers.offsetX[t]):parseFloat(i.config.legend.markers.offsetX),h=Array.isArray(i.config.legend.markers.offsetY)?parseFloat(i.config.legend.markers.offsetY[t]):parseFloat(i.config.legend.markers.offsetY),d=Array.isArray(i.config.legend.markers.strokeWidth)?parseFloat(i.config.legend.markers.strokeWidth[t]):parseFloat(i.config.legend.markers.strokeWidth),u=r.style;if(u.height=2*(l+d)+"px",u.width=2*(l+d)+"px",u.left=c+"px",u.top=h+"px",i.config.legend.markers.customHTML)u.background="transparent",u.color=a[t],Array.isArray(i.config.legend.markers.customHTML)?i.config.legend.markers.customHTML[t]&&(r.innerHTML=i.config.legend.markers.customHTML[t]()):r.innerHTML=i.config.legend.markers.customHTML();else{var g=new Jt(this.ctx).getMarkerConfig({cssClass:"apexcharts-legend-marker apexcharts-marker apexcharts-marker-".concat(o),seriesIndex:t,strokeWidth:d,size:l}),p=window.SVG().addTo(r).size("100%","100%"),f=new E(this.ctx).drawMarker(0,0,F(F({},g),{},{pointFillColor:Array.isArray(a)?a[t]:g.pointFillColor,shape:o}));i.globals.dom.Paper.find(".apexcharts-legend-marker.apexcharts-marker").forEach((function(m){m.node.classList.contains("apexcharts-marker-triangle")?m.node.style.transform="translate(50%, 45%)":m.node.style.transform="translate(50%, 50%)"})),p.add(f)}return r}},{key:"drawLegends",value:function(){var e=this,t=this,a=this.w,i=a.config.legend.fontFamily,r=a.globals.seriesNames,n=a.config.legend.markers.fillColors?a.config.legend.markers.fillColors.slice():a.globals.colors.slice();if(a.config.chart.type==="heatmap"){var o=a.config.plotOptions.heatmap.colorScale.ranges;r=o.map((function(g){return g.name?g.name:g.from+" - "+g.to})),n=o.map((function(g){return g.color}))}else this.isBarsDistributed&&(r=a.globals.labels.slice());a.config.legend.customLegendItems.length&&(r=a.config.legend.customLegendItems);var l=a.globals.legendFormatter,c=a.config.legend.inverseOrder,h=[];a.globals.seriesGroups.length>1&&a.config.legend.clusterGroupedSeries&&a.globals.seriesGroups.forEach((function(g,p){h[p]=document.createElement("div"),h[p].classList.add("apexcharts-legend-group","apexcharts-legend-group-".concat(p)),a.config.legend.clusterGroupedSeriesOrientation==="horizontal"?a.globals.dom.elLegendWrap.classList.add("apexcharts-legend-group-horizontal"):h[p].classList.add("apexcharts-legend-group-vertical")}));for(var d=function(g){var p,f=l(r[g],{seriesIndex:g,w:a}),m=!1,v=!1;if(a.globals.collapsedSeries.length>0)for(var b=0;b<a.globals.collapsedSeries.length;b++)a.globals.collapsedSeries[b].index===g&&(m=!0);if(a.globals.ancillaryCollapsedSeriesIndices.length>0)for(var w=0;w<a.globals.ancillaryCollapsedSeriesIndices.length;w++)a.globals.ancillaryCollapsedSeriesIndices[w]===g&&(v=!0);var k=e.createLegendMarker({i:g,fillcolor:n});E.setAttrs(k,{rel:g+1,"data:collapsed":m||v}),(m||v)&&k.classList.add("apexcharts-inactive-legend");var y=document.createElement("div"),A=document.createElement("span");A.classList.add("apexcharts-legend-text"),A.innerHTML=Array.isArray(f)?f.join(" "):f;var C=a.config.legend.labels.useSeriesColors?a.globals.colors[g]:Array.isArray(a.config.legend.labels.colors)?(p=a.config.legend.labels.colors)===null||p===void 0?void 0:p[g]:a.config.legend.labels.colors;C||(C=a.config.chart.foreColor),A.style.color=C,A.style.fontSize=parseFloat(a.config.legend.fontSize)+"px",A.style.fontWeight=a.config.legend.fontWeight,A.style.fontFamily=i||a.config.chart.fontFamily,E.setAttrs(A,{rel:g+1,i:g,"data:default-text":encodeURIComponent(f),"data:collapsed":m||v}),y.appendChild(k),y.appendChild(A);var S=new Ae(e.ctx);a.config.legend.showForZeroSeries||S.getSeriesTotalByIndex(g)===0&&S.seriesHaveSameValues(g)&&!S.isSeriesNull(g)&&a.globals.collapsedSeriesIndices.indexOf(g)===-1&&a.globals.ancillaryCollapsedSeriesIndices.indexOf(g)===-1&&y.classList.add("apexcharts-hidden-zero-series"),a.config.legend.showForNullSeries||S.isSeriesNull(g)&&a.globals.collapsedSeriesIndices.indexOf(g)===-1&&a.globals.ancillaryCollapsedSeriesIndices.indexOf(g)===-1&&y.classList.add("apexcharts-hidden-null-series"),h.length?a.globals.seriesGroups.forEach((function(M,I){var R;M.includes((R=a.config.series[g])===null||R===void 0?void 0:R.name)&&(a.globals.dom.elLegendWrap.appendChild(h[I]),h[I].appendChild(y))})):a.globals.dom.elLegendWrap.appendChild(y),a.globals.dom.elLegendWrap.classList.add("apexcharts-align-".concat(a.config.legend.horizontalAlign)),a.globals.dom.elLegendWrap.classList.add("apx-legend-position-"+a.config.legend.position),y.classList.add("apexcharts-legend-series"),y.style.margin="".concat(a.config.legend.itemMargin.vertical,"px ").concat(a.config.legend.itemMargin.horizontal,"px"),a.globals.dom.elLegendWrap.style.width=a.config.legend.width?a.config.legend.width+"px":"",a.globals.dom.elLegendWrap.style.height=a.config.legend.height?a.config.legend.height+"px":"",E.setAttrs(y,{rel:g+1,seriesName:L.escapeString(r[g]),"data:collapsed":m||v}),(m||v)&&y.classList.add("apexcharts-inactive-legend"),a.config.legend.onItemClick.toggleDataSeries||y.classList.add("apexcharts-no-click")},u=c?r.length-1:0;c?u>=0:u<=r.length-1;c?u--:u++)d(u);a.globals.dom.elWrap.addEventListener("click",t.onLegendClick,!0),a.config.legend.onItemHover.highlightDataSeries&&a.config.legend.customLegendItems.length===0&&(a.globals.dom.elWrap.addEventListener("mousemove",t.onLegendHovered,!0),a.globals.dom.elWrap.addEventListener("mouseout",t.onLegendHovered,!0))}},{key:"setLegendWrapXY",value:function(e,t){var a=this.w,i=a.globals.dom.elLegendWrap,r=i.clientHeight,n=0,o=0;if(a.config.legend.position==="bottom")o=a.globals.svgHeight-Math.min(r,a.globals.svgHeight/2)-5;else if(a.config.legend.position==="top"){var l=new ti(this.ctx),c=l.dimHelpers.getTitleSubtitleCoords("title").height,h=l.dimHelpers.getTitleSubtitleCoords("subtitle").height;o=(c>0?c-10:0)+(h>0?h-10:0)}i.style.position="absolute",n=n+e+a.config.legend.offsetX,o=o+t+a.config.legend.offsetY,i.style.left=n+"px",i.style.top=o+"px",a.config.legend.position==="right"&&(i.style.left="auto",i.style.right=25+a.config.legend.offsetX+"px"),["width","height"].forEach((function(d){i.style[d]&&(i.style[d]=parseInt(a.config.legend[d],10)+"px")}))}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.elLegendWrap.style.right=0;var t=new ti(this.ctx),a=t.dimHelpers.getTitleSubtitleCoords("title"),i=t.dimHelpers.getTitleSubtitleCoords("subtitle"),r=0;e.config.legend.position==="top"&&(r=a.height+i.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,r)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendDimensions(),a=0;e.config.legend.position==="left"&&(a=20),e.config.legend.position==="right"&&(a=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(a,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,a=e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if(t.config.chart.type==="heatmap"||this.isBarsDistributed){if(a){var i=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,i,this.w]),new Ze(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&a&&new Ze(this.ctx).toggleSeriesOnHover(e,e.target)}},{key:"onLegendClick",value:function(e){var t=this.w;if(!t.config.legend.customLegendItems.length&&(e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker"))){var a=parseInt(e.target.getAttribute("rel"),10)-1,i=e.target.getAttribute("data:collapsed")==="true",r=this.w.config.chart.events.legendClick;typeof r=="function"&&r(this.ctx,a,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,a,this.w]);var n=this.w.config.legend.markers.onClick;typeof n=="function"&&e.target.classList.contains("apexcharts-legend-marker")&&(n(this.ctx,a,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,a,this.w])),t.config.chart.type!=="treemap"&&t.config.chart.type!=="heatmap"&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(a,i)}}}]),s})(),fo=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w;var t=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=t.globals.minX,this.maxX=t.globals.maxX}return V(s,[{key:"createToolbar",value:function(){var e=this,t=this.w,a=function(){return document.createElement("div")},i=a();if(i.setAttribute("class","apexcharts-toolbar"),i.style.top=t.config.chart.toolbar.offsetY+"px",i.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(i),this.elZoom=a(),this.elZoomIn=a(),this.elZoomOut=a(),this.elPan=a(),this.elSelection=a(),this.elZoomReset=a(),this.elMenuIcon=a(),this.elMenu=a(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var r=0;r<this.t.customIcons.length;r++)this.elCustomIcons.push(a());var n=[],o=function(d,u,g){var p=d.toLowerCase();e.t[p]&&t.config.chart.zoom.enabled&&n.push({el:u,icon:typeof e.t[p]=="string"?e.t[p]:g,title:e.localeValues[d],class:"apexcharts-".concat(p,"-icon")})};o("zoomIn",this.elZoomIn,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
130
|
+
`:o,c=this.w;a||(a=c.config.series);var h=[],d=[],u="",g=c.globals.series.map((function(y,A){return c.globals.collapsedSeriesIndices.indexOf(A)===-1?y:[]})),p=function(y){return typeof c.config.chart.toolbar.export.csv.categoryFormatter=="function"?c.config.chart.toolbar.export.csv.categoryFormatter(y):c.config.xaxis.type==="datetime"&&String(y).length>=10?new Date(y).toDateString():L.isNumber(y)?y:y.split(n).join("")},f=function(y){return typeof c.config.chart.toolbar.export.csv.valueFormatter=="function"?c.config.chart.toolbar.export.csv.valueFormatter(y):y},m=Math.max.apply(Math,Re(a.map((function(y){return y.data?y.data.length:0})))),v=new Ys(this.ctx),b=new Ct(this.ctx),w=function(y){var A="";if(c.globals.axisCharts){if(c.config.xaxis.type==="category"||c.config.xaxis.convertedCatToNumeric)if(c.globals.isBarHorizontal){var C=c.globals.yLabelFormatters[0],S=new Ze(t.ctx).getActiveConfigSeriesIndex();A=C(c.globals.labels[y],{seriesIndex:S,dataPointIndex:y,w:c})}else A=b.getLabel(c.globals.labels,c.globals.timescaleLabels,0,y).text;c.config.xaxis.type==="datetime"&&(c.config.xaxis.categories.length?A=c.config.xaxis.categories[y]:c.config.labels.length&&(A=c.config.labels[y]))}else A=c.config.labels[y];return A===null?"nullvalue":(Array.isArray(A)&&(A=A.join(" ")),L.isNumber(A)?A:A.split(n).join(""))},k=function(y,A){if(h.length&&A===0&&d.push(h.join(n)),y.data){y.data=y.data.length&&y.data||Re(Array(m)).map((function(){return""}));for(var C=0;C<y.data.length;C++){h=[];var S=w(C);if(S!=="nullvalue"){if(S||(v.isFormatXY()?S=a[A].data[C].x:v.isFormat2DArray()&&(S=a[A].data[C]?a[A].data[C][0]:"")),A===0){h.push(p(S));for(var M=0;M<c.globals.series.length;M++){var I,R=v.isFormatXY()?(I=a[M].data[C])===null||I===void 0?void 0:I.y:g[M][C];h.push(f(R))}}(c.config.chart.type==="candlestick"||y.type&&y.type==="candlestick")&&(h.pop(),h.push(c.globals.seriesCandleO[A][C]),h.push(c.globals.seriesCandleH[A][C]),h.push(c.globals.seriesCandleL[A][C]),h.push(c.globals.seriesCandleC[A][C])),(c.config.chart.type==="boxPlot"||y.type&&y.type==="boxPlot")&&(h.pop(),h.push(c.globals.seriesCandleO[A][C]),h.push(c.globals.seriesCandleH[A][C]),h.push(c.globals.seriesCandleM[A][C]),h.push(c.globals.seriesCandleL[A][C]),h.push(c.globals.seriesCandleC[A][C])),c.config.chart.type==="rangeBar"&&(h.pop(),h.push(c.globals.seriesRangeStart[A][C]),h.push(c.globals.seriesRangeEnd[A][C])),h.length&&d.push(h.join(n))}}}};h.push(c.config.chart.toolbar.export.csv.headerCategory),c.config.chart.type==="boxPlot"?(h.push("minimum"),h.push("q1"),h.push("median"),h.push("q3"),h.push("maximum")):c.config.chart.type==="candlestick"?(h.push("open"),h.push("high"),h.push("low"),h.push("close")):c.config.chart.type==="rangeBar"?(h.push("minimum"),h.push("maximum")):a.map((function(y,A){var C=(y.name?y.name:"series-".concat(A))+"";c.globals.axisCharts&&h.push(C.split(n).join("")?C.split(n).join(""):"series-".concat(A))})),c.globals.axisCharts||(h.push(c.config.chart.toolbar.export.csv.headerValue),d.push(h.join(n))),c.globals.allSeriesHasEqualX||!c.globals.axisCharts||c.config.xaxis.categories.length||c.config.labels.length?a.map((function(y,A){c.globals.axisCharts?k(y,A):((h=[]).push(p(c.globals.labels[A])),h.push(f(g[A])),d.push(h.join(n)))})):(function(){var y=new Set,A={};a.forEach((function(C,S){C?.data.forEach((function(M){var I,R;if(v.isFormatXY())I=M.x,R=M.y;else{if(!v.isFormat2DArray())return;I=M[0],R=M[1]}A[I]||(A[I]=Array(a.length).fill("")),A[I][S]=f(R),y.add(I)}))})),h.length&&d.push(h.join(n)),Array.from(y).sort().forEach((function(C){d.push([p(C),A[C].join(n)])}))})(),u+=d.join(l),this.triggerDownload("data:text/csv; charset=utf-8,"+encodeURIComponent("\uFEFF"+u),i||c.config.chart.toolbar.export.csv.filename,".csv")}},{key:"triggerDownload",value:function(e,t,a){var i=document.createElement("a");i.href=e,i.download=(t||this.w.globals.chartID)+a,document.body.appendChild(i),i.click(),document.body.removeChild(i)}}]),s})(),pa=(function(){function s(e,t){N(this,s),this.ctx=e,this.elgrid=t,this.w=e.w;var a=this.w;this.axesUtils=new Ct(e),this.xaxisLabels=a.globals.labels.slice(),a.globals.timescaleLabels.length>0&&!a.globals.isBarHorizontal&&(this.xaxisLabels=a.globals.timescaleLabels.slice()),a.config.xaxis.overwriteCategories&&(this.xaxisLabels=a.config.xaxis.overwriteCategories),this.drawnLabels=[],this.drawnLabelsRects=[],a.config.xaxis.position==="top"?this.offY=0:this.offY=a.globals.gridHeight,this.offY=this.offY+a.config.xaxis.axisBorder.offsetY,this.isCategoryBarHorizontal=a.config.chart.type==="bar"&&a.config.plotOptions.bar.horizontal,this.xaxisFontSize=a.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=a.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=a.config.xaxis.labels.style.colors,this.xaxisBorderWidth=a.config.xaxis.axisBorder.width,this.isCategoryBarHorizontal&&(this.xaxisBorderWidth=a.config.yaxis[0].axisBorder.width.toString()),String(this.xaxisBorderWidth).indexOf("%")>-1?this.xaxisBorderWidth=a.globals.gridWidth*parseInt(this.xaxisBorderWidth,10)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth,10),this.xaxisBorderHeight=a.config.xaxis.axisBorder.height,this.yaxis=a.config.yaxis[0]}return V(s,[{key:"drawXaxis",value:function(){var e=this.w,t=new E(this.ctx),a=t.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),i=t.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});a.add(i);for(var r=[],n=0;n<this.xaxisLabels.length;n++)r.push(this.xaxisLabels[n]);if(this.drawXAxisLabelAndGroup(!0,t,i,r,e.globals.isXNumeric,(function(p,f){return f})),e.globals.hasXaxisGroups){var o=e.globals.groups;r=[];for(var l=0;l<o.length;l++)r.push(o[l].title);var c={};e.config.xaxis.group.style&&(c.xaxisFontSize=e.config.xaxis.group.style.fontSize,c.xaxisFontFamily=e.config.xaxis.group.style.fontFamily,c.xaxisForeColors=e.config.xaxis.group.style.colors,c.fontWeight=e.config.xaxis.group.style.fontWeight,c.cssClass=e.config.xaxis.group.style.cssClass),this.drawXAxisLabelAndGroup(!1,t,i,r,!1,(function(p,f){return o[p].cols*f}),c)}if(e.config.xaxis.title.text!==void 0){var h=t.group({class:"apexcharts-xaxis-title"}),d=t.drawText({x:e.globals.gridWidth/2+e.config.xaxis.title.offsetX,y:this.offY+parseFloat(this.xaxisFontSize)+(e.config.xaxis.position==="bottom"?e.globals.xAxisLabelsHeight:-e.globals.xAxisLabelsHeight-10)+e.config.xaxis.title.offsetY,text:e.config.xaxis.title.text,textAnchor:"middle",fontSize:e.config.xaxis.title.style.fontSize,fontFamily:e.config.xaxis.title.style.fontFamily,fontWeight:e.config.xaxis.title.style.fontWeight,foreColor:e.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+e.config.xaxis.title.style.cssClass});h.add(d),a.add(h)}if(e.config.xaxis.axisBorder.show){var u=e.globals.barPadForNumericAxis,g=t.drawLine(e.globals.padHorizontal+e.config.xaxis.axisBorder.offsetX-u,this.offY,this.xaxisBorderWidth+u,this.offY,e.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);this.elgrid&&this.elgrid.elGridBorders&&e.config.grid.show?this.elgrid.elGridBorders.add(g):a.add(g)}return a}},{key:"drawXAxisLabelAndGroup",value:function(e,t,a,i,r,n){var o,l=this,c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:{},h=[],d=[],u=this.w,g=c.xaxisFontSize||this.xaxisFontSize,p=c.xaxisFontFamily||this.xaxisFontFamily,f=c.xaxisForeColors||this.xaxisForeColors,m=c.fontWeight||u.config.xaxis.labels.style.fontWeight,v=c.cssClass||u.config.xaxis.labels.style.cssClass,b=u.globals.padHorizontal,w=i.length,k=u.config.xaxis.type==="category"?u.globals.dataPoints:w;if(k===0&&w>k&&(k=w),r){var y=Math.max(Number(u.config.xaxis.tickAmount)||1,k>1?k-1:k);o=u.globals.gridWidth/Math.min(y,w-1),b=b+n(0,o)/2+u.config.xaxis.labels.offsetX}else o=u.globals.gridWidth/k,b=b+n(0,o)+u.config.xaxis.labels.offsetX;for(var A=function(S){var M=b-n(S,o)/2+u.config.xaxis.labels.offsetX;S===0&&w===1&&o/2===b&&k===1&&(M=u.globals.gridWidth/2);var I=l.axesUtils.getLabel(i,u.globals.timescaleLabels,M,S,h,g,e),R=28;if(u.globals.rotateXLabels&&e&&(R=22),u.config.xaxis.title.text&&u.config.xaxis.position==="top"&&(R+=parseFloat(u.config.xaxis.title.style.fontSize)+2),e||(R=R+parseFloat(g)+(u.globals.xAxisLabelsHeight-u.globals.xAxisGroupLabelsHeight)+(u.globals.rotateXLabels?10:0)),I=u.config.xaxis.tickAmount!==void 0&&u.config.xaxis.tickAmount!=="dataPoints"&&u.config.xaxis.type!=="datetime"?l.axesUtils.checkLabelBasedOnTickamount(S,I,w):l.axesUtils.checkForOverflowingLabels(S,I,w,h,d),u.config.xaxis.labels.show){var P=t.drawText({x:I.x,y:l.offY+u.config.xaxis.labels.offsetY+R-(u.config.xaxis.position==="top"?u.globals.xAxisHeight+u.config.xaxis.axisTicks.height-2:0),text:I.text,textAnchor:"middle",fontWeight:I.isBold?600:m,fontSize:g,fontFamily:p,foreColor:Array.isArray(f)?e&&u.config.xaxis.convertedCatToNumeric?f[u.globals.minX+S-1]:f[S]:f,isPlainText:!1,cssClass:(e?"apexcharts-xaxis-label ":"apexcharts-xaxis-group-label ")+v});if(a.add(P),P.on("click",(function(O){if(typeof u.config.chart.events.xAxisLabelClick=="function"){var H=Object.assign({},u,{labelIndex:S});u.config.chart.events.xAxisLabelClick(O,l.ctx,H)}})),e){var _=document.createElementNS(u.globals.SVGNS,"title");_.textContent=Array.isArray(I.text)?I.text.join(" "):I.text,P.node.appendChild(_),I.text!==""&&(h.push(I.text),d.push(I))}}S<w-1&&(b+=n(S+1,o))},C=0;C<=w-1;C++)A(C)}},{key:"drawXaxisInversed",value:function(e){var t,a,i=this,r=this.w,n=new E(this.ctx),o=r.config.yaxis[0].opposite?r.globals.translateYAxisX[e]:0,l=n.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:e}),c=n.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+o+", 0)"});l.add(c);var h=[];if(r.config.yaxis[e].show)for(var d=0;d<this.xaxisLabels.length;d++)h.push(this.xaxisLabels[d]);t=r.globals.gridHeight/h.length,a=-t/2.2;var u=r.globals.yLabelFormatters[0],g=r.config.yaxis[0].labels;if(g.show)for(var p=function(y){var A=h[y]===void 0?"":h[y];A=u(A,{seriesIndex:e,dataPointIndex:y,w:r});var C=i.axesUtils.getYAxisForeColor(g.style.colors,e),S=0;Array.isArray(A)&&(S=A.length/2*parseInt(g.style.fontSize,10));var M=g.offsetX-15,I="end";i.yaxis.opposite&&(I="start"),r.config.yaxis[0].labels.align==="left"?(M=g.offsetX,I="start"):r.config.yaxis[0].labels.align==="center"?(M=g.offsetX,I="middle"):r.config.yaxis[0].labels.align==="right"&&(I="end");var R=n.drawText({x:M,y:a+t+g.offsetY-S,text:A,textAnchor:I,foreColor:Array.isArray(C)?C[y]:C,fontSize:g.style.fontSize,fontFamily:g.style.fontFamily,fontWeight:g.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-yaxis-label "+g.style.cssClass,maxWidth:g.maxWidth});c.add(R),R.on("click",(function(O){if(typeof r.config.chart.events.xAxisLabelClick=="function"){var H=Object.assign({},r,{labelIndex:y});r.config.chart.events.xAxisLabelClick(O,i.ctx,H)}}));var P=document.createElementNS(r.globals.SVGNS,"title");if(P.textContent=Array.isArray(A)?A.join(" "):A,R.node.appendChild(P),r.config.yaxis[e].labels.rotate!==0){var _=n.rotateAroundCenter(R.node);R.node.setAttribute("transform","rotate(".concat(r.config.yaxis[e].labels.rotate," 0 ").concat(_.y,")"))}a+=t},f=0;f<=h.length-1;f++)p(f);if(r.config.yaxis[0].title.text!==void 0){var m=n.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed",transform:"translate("+o+", 0)"}),v=n.drawText({x:r.config.yaxis[0].title.offsetX,y:r.globals.gridHeight/2+r.config.yaxis[0].title.offsetY,text:r.config.yaxis[0].title.text,textAnchor:"middle",foreColor:r.config.yaxis[0].title.style.color,fontSize:r.config.yaxis[0].title.style.fontSize,fontWeight:r.config.yaxis[0].title.style.fontWeight,fontFamily:r.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+r.config.yaxis[0].title.style.cssClass});m.add(v),l.add(m)}var b=0;this.isCategoryBarHorizontal&&r.config.yaxis[0].opposite&&(b=r.globals.gridWidth);var w=r.config.xaxis.axisBorder;if(w.show){var k=n.drawLine(r.globals.padHorizontal+w.offsetX+b,1+w.offsetY,r.globals.padHorizontal+w.offsetX+b,r.globals.gridHeight+w.offsetY,w.color,0);this.elgrid&&this.elgrid.elGridBorders&&r.config.grid.show?this.elgrid.elGridBorders.add(k):l.add(k)}return r.config.yaxis[0].axisTicks.show&&this.axesUtils.drawYAxisTicks(b,h.length,r.config.yaxis[0].axisBorder,r.config.yaxis[0].axisTicks,0,t,l),l}},{key:"drawXaxisTicks",value:function(e,t,a){var i=this.w,r=e;if(!(e<0||e-2>i.globals.gridWidth)){var n=this.offY+i.config.xaxis.axisTicks.offsetY;if(t=t+n+i.config.xaxis.axisTicks.height,i.config.xaxis.position==="top"&&(t=n-i.config.xaxis.axisTicks.height),i.config.xaxis.axisTicks.show){var o=new E(this.ctx).drawLine(e+i.config.xaxis.axisTicks.offsetX,n+i.config.xaxis.offsetY,r+i.config.xaxis.axisTicks.offsetX,t+i.config.xaxis.offsetY,i.config.xaxis.axisTicks.color);a.add(o),o.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var e=this.w,t=[],a=this.xaxisLabels.length,i=e.globals.padHorizontal;if(e.globals.timescaleLabels.length>0)for(var r=0;r<a;r++)i=this.xaxisLabels[r].position,t.push(i);else for(var n=a,o=0;o<n;o++){var l=n;e.globals.isXNumeric&&e.config.chart.type!=="bar"&&(l-=1),i+=e.globals.gridWidth/l,t.push(i)}return t}},{key:"xAxisLabelCorrections",value:function(){var e=this.w,t=new E(this.ctx),a=e.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text:not(.apexcharts-xaxis-group-label)"),r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),n=e.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text tspan");if(e.globals.rotateXLabels||e.config.xaxis.labels.rotateAlways)for(var o=0;o<i.length;o++){var l=t.rotateAroundCenter(i[o]);l.y=l.y-1,l.x=l.x+1,i[o].setAttribute("transform","rotate(".concat(e.config.xaxis.labels.rotate," ").concat(l.x," ").concat(l.y,")")),i[o].setAttribute("text-anchor","end"),a.setAttribute("transform","translate(0, ".concat(-10,")"));var c=i[o].childNodes;e.config.xaxis.labels.trim&&Array.prototype.forEach.call(c,(function(g){t.placeTextWithEllipsis(g,g.textContent,e.globals.xAxisLabelsHeight-(e.config.legend.position==="bottom"?20:10))}))}else(function(){for(var g=e.globals.gridWidth/(e.globals.labels.length+1),p=0;p<i.length;p++){var f=i[p].childNodes;e.config.xaxis.labels.trim&&e.config.xaxis.type!=="datetime"&&Array.prototype.forEach.call(f,(function(m){t.placeTextWithEllipsis(m,m.textContent,g)}))}})();if(r.length>0){var h=r[r.length-1].getBBox(),d=r[0].getBBox();h.x<-20&&r[r.length-1].parentNode.removeChild(r[r.length-1]),d.x+d.width>e.globals.gridWidth&&!e.globals.isBarHorizontal&&r[0].parentNode.removeChild(r[0]);for(var u=0;u<n.length;u++)t.placeTextWithEllipsis(n[u],n[u].textContent,e.config.yaxis[0].labels.maxWidth-(e.config.yaxis[0].title.text?2*parseFloat(e.config.yaxis[0].title.style.fontSize):0)-15)}}}]),s})(),uo=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w;var t=this.w;this.xaxisLabels=t.globals.labels.slice(),this.axesUtils=new Ct(e),this.isRangeBar=t.globals.seriesRange.length&&t.globals.isBarHorizontal,t.globals.timescaleLabels.length>0&&(this.xaxisLabels=t.globals.timescaleLabels.slice())}return V(s,[{key:"drawGridArea",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=this.w,a=new E(this.ctx);e||(e=a.group({class:"apexcharts-grid"}));var i=a.drawLine(t.globals.padHorizontal,1,t.globals.padHorizontal,t.globals.gridHeight,"transparent"),r=a.drawLine(t.globals.padHorizontal,t.globals.gridHeight,t.globals.gridWidth,t.globals.gridHeight,"transparent");return e.add(r),e.add(i),e}},{key:"drawGrid",value:function(){if(this.w.globals.axisCharts){var e=this.renderGrid();return this.drawGridArea(e.el),e}return null}},{key:"createGridMask",value:function(){var e=this.w,t=e.globals,a=new E(this.ctx),i=Array.isArray(e.config.stroke.width)?Math.max.apply(Math,Re(e.config.stroke.width)):e.config.stroke.width,r=function(h){var d=document.createElementNS(t.SVGNS,"clipPath");return d.setAttribute("id",h),d};t.dom.elGridRectMask=r("gridRectMask".concat(t.cuid)),t.dom.elGridRectBarMask=r("gridRectBarMask".concat(t.cuid)),t.dom.elGridRectMarkerMask=r("gridRectMarkerMask".concat(t.cuid)),t.dom.elForecastMask=r("forecastMask".concat(t.cuid)),t.dom.elNonForecastMask=r("nonForecastMask".concat(t.cuid));var n=0,o=0;(["bar","rangeBar","candlestick","boxPlot"].includes(e.config.chart.type)||e.globals.comboBarCount>0)&&e.globals.isXNumeric&&!e.globals.isBarHorizontal&&(n=Math.max(e.config.grid.padding.left,t.barPadForNumericAxis),o=Math.max(e.config.grid.padding.right,t.barPadForNumericAxis)),t.dom.elGridRect=a.drawRect(-i/2-2,-i/2-2,t.gridWidth+i+4,t.gridHeight+i+4,0,"#fff"),t.dom.elGridRectBar=a.drawRect(-i/2-n-2,-i/2-2,t.gridWidth+i+o+n+4,t.gridHeight+i+4,0,"#fff");var l=e.globals.markers.largestSize;t.dom.elGridRectMarker=a.drawRect(Math.min(-i/2-n-2,-l),-l,t.gridWidth+Math.max(i+o+n+4,2*l),t.gridHeight+2*l,0,"#fff"),t.dom.elGridRectMask.appendChild(t.dom.elGridRect.node),t.dom.elGridRectBarMask.appendChild(t.dom.elGridRectBar.node),t.dom.elGridRectMarkerMask.appendChild(t.dom.elGridRectMarker.node);var c=t.dom.baseEl.querySelector("defs");c.appendChild(t.dom.elGridRectMask),c.appendChild(t.dom.elGridRectBarMask),c.appendChild(t.dom.elGridRectMarkerMask),c.appendChild(t.dom.elForecastMask),c.appendChild(t.dom.elNonForecastMask)}},{key:"_drawGridLines",value:function(e){var t=e.i,a=e.x1,i=e.y1,r=e.x2,n=e.y2,o=e.xCount,l=e.parent,c=this.w;if(!(t===0&&c.globals.skipFirstTimelinelabel||t===o-1&&c.globals.skipLastTimelinelabel&&!c.config.xaxis.labels.formatter||c.config.chart.type==="radar")){c.config.grid.xaxis.lines.show&&this._drawGridLine({i:t,x1:a,y1:i,x2:r,y2:n,xCount:o,parent:l});var h=0;if(c.globals.hasXaxisGroups&&c.config.xaxis.tickPlacement==="between"){var d=c.globals.groups;if(d){for(var u=0,g=0;u<t&&g<d.length;g++)u+=d[g].cols;u===t&&(h=.6*c.globals.xAxisLabelsHeight)}}new pa(this.ctx).drawXaxisTicks(a,h,c.globals.dom.elGraphical)}}},{key:"_drawGridLine",value:function(e){var t=e.i,a=e.x1,i=e.y1,r=e.x2,n=e.y2,o=e.xCount,l=e.parent,c=this.w,h=l.node.classList.contains("apexcharts-gridlines-horizontal"),d=c.globals.barPadForNumericAxis,u=i===0&&n===0||a===0&&r===0||i===c.globals.gridHeight&&n===c.globals.gridHeight||c.globals.isBarHorizontal&&(t===0||t===o-1),g=new E(this).drawLine(a-(h?d:0),i,r+(h?d:0),n,c.config.grid.borderColor,c.config.grid.strokeDashArray);g.node.classList.add("apexcharts-gridline"),u&&c.config.grid.show?this.elGridBorders.add(g):l.add(g)}},{key:"_drawGridBandRect",value:function(e){var t=e.c,a=e.x1,i=e.y1,r=e.x2,n=e.y2,o=e.type,l=this.w,c=new E(this.ctx),h=l.globals.barPadForNumericAxis,d=l.config.grid[o].colors[t],u=c.drawRect(a-(o==="row"?h:0),i,r+(o==="row"?2*h:0),n,0,d,l.config.grid[o].opacity);this.elg.add(u),u.attr("clip-path","url(#gridRectMask".concat(l.globals.cuid,")")),u.node.classList.add("apexcharts-grid-".concat(o))}},{key:"_drawXYLines",value:function(e){var t=this,a=e.xCount,i=e.tickAmount,r=this.w;if(r.config.grid.xaxis.lines.show||r.config.xaxis.axisTicks.show){var n,o=r.globals.padHorizontal,l=r.globals.gridHeight;r.globals.timescaleLabels.length?(function(p){for(var f=p.xC,m=p.x1,v=p.y1,b=p.x2,w=p.y2,k=0;k<f;k++)m=t.xaxisLabels[k].position,b=t.xaxisLabels[k].position,t._drawGridLines({i:k,x1:m,y1:v,x2:b,y2:w,xCount:a,parent:t.elgridLinesV})})({xC:a,x1:o,y1:0,x2:n,y2:l}):(r.globals.isXNumeric&&(a=r.globals.xAxisScale.result.length),(function(p){for(var f=p.xC,m=p.x1,v=p.y1,b=p.x2,w=p.y2,k=0;k<f+(r.globals.isXNumeric?0:1);k++)k===0&&f===1&&r.globals.dataPoints===1&&(b=m=r.globals.gridWidth/2),t._drawGridLines({i:k,x1:m,y1:v,x2:b,y2:w,xCount:a,parent:t.elgridLinesV}),b=m+=r.globals.gridWidth/(r.globals.isXNumeric?f-1:f)})({xC:a,x1:o,y1:0,x2:n,y2:l}))}if(r.config.grid.yaxis.lines.show){var c=0,h=0,d=r.globals.gridWidth,u=i+1;this.isRangeBar&&(u=r.globals.labels.length);for(var g=0;g<u+(this.isRangeBar?1:0);g++)this._drawGridLine({i:g,xCount:u+(this.isRangeBar?1:0),x1:0,y1:c,x2:d,y2:h,parent:this.elgridLinesH}),h=c+=r.globals.gridHeight/(this.isRangeBar?u:i)}}},{key:"_drawInvertedXYLines",value:function(e){var t=e.xCount,a=this.w;if(a.config.grid.xaxis.lines.show||a.config.xaxis.axisTicks.show)for(var i,r=a.globals.padHorizontal,n=a.globals.gridHeight,o=0;o<t+1;o++)a.config.grid.xaxis.lines.show&&this._drawGridLine({i:o,xCount:t+1,x1:r,y1:0,x2:i,y2:n,parent:this.elgridLinesV}),new pa(this.ctx).drawXaxisTicks(r,0,a.globals.dom.elGraphical),i=r+=a.globals.gridWidth/t;if(a.config.grid.yaxis.lines.show)for(var l=0,c=0,h=a.globals.gridWidth,d=0;d<a.globals.dataPoints+1;d++)this._drawGridLine({i:d,xCount:a.globals.dataPoints+1,x1:0,y1:l,x2:h,y2:c,parent:this.elgridLinesH}),c=l+=a.globals.gridHeight/a.globals.dataPoints}},{key:"renderGrid",value:function(){var e=this.w,t=e.globals,a=new E(this.ctx);this.elg=a.group({class:"apexcharts-grid"}),this.elgridLinesH=a.group({class:"apexcharts-gridlines-horizontal"}),this.elgridLinesV=a.group({class:"apexcharts-gridlines-vertical"}),this.elGridBorders=a.group({class:"apexcharts-grid-borders"}),this.elg.add(this.elgridLinesH),this.elg.add(this.elgridLinesV),e.config.grid.show||(this.elgridLinesV.hide(),this.elgridLinesH.hide(),this.elGridBorders.hide());for(var i=0;i<t.seriesYAxisMap.length&&t.ignoreYAxisIndexes.includes(i);)i++;i===t.seriesYAxisMap.length&&(i=0);var r,n=t.yAxisScale[i].result.length-1;if(!t.isBarHorizontal||this.isRangeBar){var o,l,c;r=this.xaxisLabels.length,this.isRangeBar&&(n=t.labels.length,e.config.xaxis.tickAmount&&e.config.xaxis.labels.formatter&&(r=e.config.xaxis.tickAmount),((o=t.yAxisScale)===null||o===void 0||(l=o[i])===null||l===void 0||(c=l.result)===null||c===void 0?void 0:c.length)>0&&e.config.xaxis.type!=="datetime"&&(r=t.yAxisScale[i].result.length-1)),this._drawXYLines({xCount:r,tickAmount:n})}else r=n,n=t.xTickAmount,this._drawInvertedXYLines({xCount:r,tickAmount:n});return this.drawGridBands(r,n),{el:this.elg,elGridBorders:this.elGridBorders,xAxisTickWidth:t.gridWidth/r}}},{key:"drawGridBands",value:function(e,t){var a,i,r=this,n=this.w;if(((a=n.config.grid.row.colors)===null||a===void 0?void 0:a.length)>0&&(function(p,f,m,v,b,w){for(var k=0,y=0;k<f;k++,y++)y>=n.config.grid[p].colors.length&&(y=0),r._drawGridBandRect({c:y,x1:m,y1:v,x2:b,y2:w,type:p}),v+=n.globals.gridHeight/t})("row",t,0,0,n.globals.gridWidth,n.globals.gridHeight/t),((i=n.config.grid.column.colors)===null||i===void 0?void 0:i.length)>0){var o=n.globals.isBarHorizontal||n.config.xaxis.tickPlacement!=="on"||n.config.xaxis.type!=="category"&&!n.config.xaxis.convertedCatToNumeric?e:e-1;n.globals.isXNumeric&&(o=n.globals.xAxisScale.result.length-1);for(var l=n.globals.padHorizontal,c=n.globals.padHorizontal+n.globals.gridWidth/o,h=n.globals.gridHeight,d=0,u=0;d<e;d++,u++){var g;u>=n.config.grid.column.colors.length&&(u=0),n.config.xaxis.type==="datetime"&&(l=this.xaxisLabels[d].position,c=(((g=this.xaxisLabels[d+1])===null||g===void 0?void 0:g.position)||n.globals.gridWidth)-this.xaxisLabels[d].position),this._drawGridBandRect({c:u,x1:l,y1:0,x2:c,y2:h,type:"column"}),l+=n.globals.gridWidth/o}}}}]),s})(),go=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.coreUtils=new Ae(this.ctx)}return V(s,[{key:"niceScale",value:function(e,t){var a,i,r,n,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=1e-11,c=this.w,h=c.globals;h.isBarHorizontal?(a=c.config.xaxis,i=Math.max((h.svgWidth-100)/25,2)):(a=c.config.yaxis[o],i=Math.max((h.svgHeight-100)/15,2)),L.isNumber(i)||(i=10),r=a.min!==void 0&&a.min!==null,n=a.max!==void 0&&a.min!==null;var d=a.stepSize!==void 0&&a.stepSize!==null,u=a.tickAmount!==void 0&&a.tickAmount!==null,g=u?a.tickAmount:h.niceScaleDefaultTicks[Math.min(Math.round(i/2),h.niceScaleDefaultTicks.length-1)];if(h.isMultipleYAxis&&!u&&h.multiAxisTickAmount>0&&(g=h.multiAxisTickAmount,u=!0),g=g==="dataPoints"?h.dataPoints-1:Math.abs(Math.round(g)),(e===Number.MIN_VALUE&&t===0||!L.isNumber(e)&&!L.isNumber(t)||e===Number.MIN_VALUE&&t===-Number.MAX_VALUE)&&(e=L.isNumber(a.min)?a.min:0,t=L.isNumber(a.max)?a.max:e+g,h.allSeriesCollapsed=!1),e>t){console.warn("axis.min cannot be greater than axis.max: swapping min and max");var p=t;t=e,e=p}else e===t&&(e=e===0?0:e-1,t=t===0?2:t+1);var f=[];g<1&&(g=1);var m=g,v=Math.abs(t-e);!r&&e>0&&e/v<.15&&(e=0,r=!0),!n&&t<0&&-t/v<.15&&(t=0,n=!0);var b=(v=Math.abs(t-e))/m,w=b,k=Math.floor(Math.log10(w)),y=Math.pow(10,k),A=Math.ceil(w/y);if(b=w=(A=h.niceScaleAllowedMagMsd[h.yValueDecimal===0?0:1][A])*y,h.isBarHorizontal&&a.stepSize&&a.type!=="datetime"?(b=a.stepSize,d=!0):d&&(b=a.stepSize),d&&a.forceNiceScale){var C=Math.floor(Math.log10(b));b*=Math.pow(10,k-C)}if(r&&n){var S=v/m;if(u)if(d)if(L.mod(v,b)!=0){var M=L.getGCD(b,S);b=S/M<10?M:S}else L.mod(b,S)==0?b=S:(S=b,u=!1);else b=S;else if(d)L.mod(v,b)==0?S=b:b=S;else if(L.mod(v,b)==0)S=b;else{S=v/(m=Math.ceil(v/b));var I=L.getGCD(v,b);v/I<i&&(S=I),b=S}m=Math.round(v/b)}else{if(r||n){if(n)if(u)e=t-b*m;else{var R=e;e=b*Math.floor(e/b),Math.abs(t-e)/L.getGCD(v,b)>i&&(e=t-b*g,e+=b*Math.floor((R-e)/b))}else if(r)if(u)t=e+b*m;else{var P=t;t=b*Math.ceil(t/b),Math.abs(t-e)/L.getGCD(v,b)>i&&(t=e+b*g,t+=b*Math.ceil((P-t)/b))}}else if(h.isMultipleYAxis&&u){var _=b*Math.floor(e/b),O=_+b*m;O<t&&(b*=2),O=t,t=(e=_)+b*m,v=Math.abs(t-e),e>0&&e<Math.abs(O-t)&&(e=0,t=b*m),t<0&&-t<Math.abs(_-e)&&(t=0,e=-b*m)}else e=b*Math.floor(e/b),t=b*Math.ceil(t/b);v=Math.abs(t-e),b=L.getGCD(v,b),m=Math.round(v/b)}if(u||r||n||(m=Math.ceil((v-l)/(b+l)))>16&&L.getPrimeFactors(m).length<2&&m++,!u&&a.forceNiceScale&&h.yValueDecimal===0&&m>v&&(m=v,b=Math.round(v/m)),m>i&&(!u&&!d||a.forceNiceScale)){var H=L.getPrimeFactors(m),T=H.length-1,D=m;e:for(var B=0;B<T;B++)for(var X=0;X<=T-B;X++){for(var Y=Math.min(X+B,T),W=D,U=1,re=X;re<=Y;re++)U*=H[re];if((W/=U)<i){D=W;break e}}b=D===m?v:v/D,m=Math.round(v/b)}h.isMultipleYAxis&&h.multiAxisTickAmount==0&&h.ignoreYAxisIndexes.indexOf(o)<0&&(h.multiAxisTickAmount=m);var J=e-b,xe=b*l;do J+=b,f.push(L.stripNumber(J,7));while(t-J>xe);return{result:f,niceMin:f[0],niceMax:f[f.length-1]}}},{key:"linearScale",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:10,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:void 0,n=Math.abs(t-e),o=[];if(e===t)return{result:o=[e],niceMin:o[0],niceMax:o[o.length-1]};(a=this._adjustTicksForSmallRange(a,i,n))==="dataPoints"&&(a=this.w.globals.dataPoints-1),r||(r=n/a),r=Math.round(100*(r+Number.EPSILON))/100,a===Number.MAX_VALUE&&(a=5,r=1);for(var l=e;a>=0;)o.push(l),l=L.preciseAddition(l,r),a-=1;return{result:o,niceMin:o[0],niceMax:o[o.length-1]}}},{key:"logarithmicScaleNice",value:function(e,t,a){t<=0&&(t=Math.max(e,a)),e<=0&&(e=Math.min(t,a));for(var i=[],r=Math.ceil(Math.log(t)/Math.log(a)+1),n=Math.floor(Math.log(e)/Math.log(a));n<r;n++)i.push(Math.pow(a,n));return{result:i,niceMin:i[0],niceMax:i[i.length-1]}}},{key:"logarithmicScale",value:function(e,t,a){t<=0&&(t=Math.max(e,a)),e<=0&&(e=Math.min(t,a));for(var i=[],r=Math.log(t)/Math.log(a),n=Math.log(e)/Math.log(a),o=r-n,l=Math.round(o),c=o/l,h=0,d=n;h<l;h++,d+=c)i.push(Math.pow(a,d));return i.push(Math.pow(a,r)),{result:i,niceMin:e,niceMax:t}}},{key:"_adjustTicksForSmallRange",value:function(e,t,a){var i=e;if(t!==void 0&&this.w.config.yaxis[t].labels.formatter&&this.w.config.yaxis[t].tickAmount===void 0){var r=Number(this.w.config.yaxis[t].labels.formatter(1));L.isNumber(r)&&this.w.globals.yValueDecimal===0&&(i=Math.ceil(a))}return i<e?i:e}},{key:"setYScaleForIndex",value:function(e,t,a){var i=this.w.globals,r=this.w.config,n=i.isBarHorizontal?r.xaxis:r.yaxis[e];i.yAxisScale[e]===void 0&&(i.yAxisScale[e]=[]);var o=Math.abs(a-t);n.logarithmic&&o<=5&&(i.invalidLogScale=!0),n.logarithmic&&o>5?(i.allSeriesCollapsed=!1,i.yAxisScale[e]=n.forceNiceScale?this.logarithmicScaleNice(t,a,n.logBase):this.logarithmicScale(t,a,n.logBase)):a!==-Number.MAX_VALUE&&L.isNumber(a)&&t!==Number.MAX_VALUE&&L.isNumber(t)?(i.allSeriesCollapsed=!1,i.yAxisScale[e]=this.niceScale(t,a,e)):i.yAxisScale[e]=this.niceScale(Number.MIN_VALUE,0,e)}},{key:"setXScale",value:function(e,t){var a=this.w,i=a.globals;if(t!==-Number.MAX_VALUE&&L.isNumber(t)){var r=i.xTickAmount;i.xAxisScale=this.linearScale(e,t,r,0,a.config.xaxis.max===void 0?a.config.xaxis.stepSize:void 0)}else i.xAxisScale=this.linearScale(0,10,10);return i.xAxisScale}},{key:"scaleMultipleYAxes",value:function(){var e=this,t=this.w.config,a=this.w.globals;this.coreUtils.setSeriesYAxisMappings();var i=a.seriesYAxisMap,r=a.minYArr,n=a.maxYArr;a.allSeriesCollapsed=!0,a.barGroups=[],i.forEach((function(o,l){var c=[];o.forEach((function(h){var d,u=(d=t.series[h])===null||d===void 0?void 0:d.group;c.indexOf(u)<0&&c.push(u)})),o.length>0?(function(){var h,d,u=Number.MAX_VALUE,g=-Number.MAX_VALUE,p=u,f=g;if(t.chart.stacked)(function(){var b=new Array(a.dataPoints).fill(0),w=[],k=[],y=[];c.forEach((function(){w.push(b.map((function(){return Number.MIN_VALUE}))),k.push(b.map((function(){return Number.MIN_VALUE}))),y.push(b.map((function(){return Number.MIN_VALUE})))}));for(var A=function(S){!h&&t.series[o[S]].type&&(h=t.series[o[S]].type);var M=o[S];d=t.series[M].group?t.series[M].group:"axis-".concat(l),!(a.collapsedSeriesIndices.indexOf(M)<0&&a.ancillaryCollapsedSeriesIndices.indexOf(M)<0)||(a.allSeriesCollapsed=!1,c.forEach((function(I,R){if(t.series[M].group===I)for(var P=0;P<a.series[M].length;P++){var _=a.series[M][P];_>=0?k[R][P]+=_:y[R][P]+=_,w[R][P]+=_,p=Math.min(p,_),f=Math.max(f,_)}}))),h!=="bar"&&h!=="column"||a.barGroups.push(d)},C=0;C<o.length;C++)A(C);h||(h=t.chart.type),h==="bar"||h==="column"?c.forEach((function(S,M){u=Math.min(u,Math.min.apply(null,y[M])),g=Math.max(g,Math.max.apply(null,k[M]))})):(c.forEach((function(S,M){p=Math.min(p,Math.min.apply(null,w[M])),f=Math.max(f,Math.max.apply(null,w[M]))})),u=p,g=f),u===Number.MIN_VALUE&&g===Number.MIN_VALUE&&(g=-Number.MAX_VALUE)})();else for(var m=0;m<o.length;m++){var v=o[m];u=Math.min(u,r[v]),g=Math.max(g,n[v]),!(a.collapsedSeriesIndices.indexOf(v)<0&&a.ancillaryCollapsedSeriesIndices.indexOf(v)<0)||(a.allSeriesCollapsed=!1)}t.yaxis[l].min!==void 0&&(u=typeof t.yaxis[l].min=="function"?t.yaxis[l].min(u):t.yaxis[l].min),t.yaxis[l].max!==void 0&&(g=typeof t.yaxis[l].max=="function"?t.yaxis[l].max(g):t.yaxis[l].max),a.barGroups=a.barGroups.filter((function(b,w,k){return k.indexOf(b)===w})),e.setYScaleForIndex(l,u,g),o.forEach((function(b){r[b]=a.yAxisScale[l].niceMin,n[b]=a.yAxisScale[l].niceMax}))})():e.setYScaleForIndex(l,0,-Number.MAX_VALUE)}))}}]),s})(),ps=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.scales=new go(e)}return V(s,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-Number.MAX_VALUE,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.w.config,n=this.w.globals,o=-Number.MAX_VALUE,l=Number.MIN_VALUE;i===null&&(i=e+1);var c=n.series,h=c,d=c;r.chart.type==="candlestick"?(h=n.seriesCandleL,d=n.seriesCandleH):r.chart.type==="boxPlot"?(h=n.seriesCandleO,d=n.seriesCandleC):n.isRangeData&&(h=n.seriesRangeStart,d=n.seriesRangeEnd);var u=!1;if(n.seriesX.length>=i){var g,p=(g=n.brushSource)===null||g===void 0?void 0:g.w.config.chart.brush;(r.chart.zoom.enabled&&r.chart.zoom.autoScaleYaxis||p!=null&&p.enabled&&p!=null&&p.autoScaleYaxis)&&(u=!0)}for(var f=e;f<i;f++){n.dataPoints=Math.max(n.dataPoints,c[f].length);var m=r.series[f].type;n.categoryLabels.length&&(n.dataPoints=n.categoryLabels.filter((function(M){return M!==void 0})).length),n.labels.length&&r.xaxis.type!=="datetime"&&n.series.reduce((function(M,I){return M+I.length}),0)!==0&&(n.dataPoints=Math.max(n.dataPoints,n.labels.length));var v=0,b=c[f].length-1;if(u){if(r.xaxis.min)for(;v<b&&n.seriesX[f][v]<r.xaxis.min;v++);if(r.xaxis.max)for(;b>v&&n.seriesX[f][b]>r.xaxis.max;b--);}for(var w=v;w<=b&&w<n.series[f].length;w++){var k=c[f][w];if(k!==null&&L.isNumber(k)){var y,A,C,S;switch(((y=d[f])===null||y===void 0?void 0:y[w])!==void 0&&(o=Math.max(o,d[f][w]),t=Math.min(t,d[f][w])),((A=h[f])===null||A===void 0?void 0:A[w])!==void 0&&(t=Math.min(t,h[f][w]),a=Math.max(a,h[f][w])),m){case"candlestick":n.seriesCandleC[f][w]!==void 0&&(o=Math.max(o,n.seriesCandleH[f][w]),t=Math.min(t,n.seriesCandleL[f][w]));break;case"boxPlot":n.seriesCandleC[f][w]!==void 0&&(o=Math.max(o,n.seriesCandleC[f][w]),t=Math.min(t,n.seriesCandleO[f][w]))}m&&m!=="candlestick"&&m!=="boxPlot"&&m!=="rangeArea"&&m!=="rangeBar"&&(o=Math.max(o,n.series[f][w]),t=Math.min(t,n.series[f][w])),n.seriesGoals[f]&&n.seriesGoals[f][w]&&Array.isArray(n.seriesGoals[f][w])&&n.seriesGoals[f][w].forEach((function(M){o=Math.max(o,M.value),t=Math.min(t,M.value)})),a=o,k=L.noExponents(k),L.isFloat(k)&&(n.yValueDecimal=Math.max(n.yValueDecimal,k.toString().split(".")[1].length)),l>((C=h[f])===null||C===void 0?void 0:C[w])&&((S=h[f])===null||S===void 0?void 0:S[w])<0&&(l=h[f][w])}else n.hasNullValues=!0}m!=="bar"&&m!=="column"||(l<0&&o<0&&(o=0,a=Math.max(a,0)),l===Number.MIN_VALUE&&(l=0,t=Math.min(t,0)))}return r.chart.type==="rangeBar"&&n.seriesRangeStart.length&&n.isBarHorizontal&&(l=t),r.chart.type==="bar"&&(l<0&&o<0&&(o=0),l===Number.MIN_VALUE&&(l=0)),{minY:l,maxY:o,lowestY:t,highestY:a}}},{key:"setYRange",value:function(){var e=this.w.globals,t=this.w.config;e.maxY=-Number.MAX_VALUE,e.minY=Number.MIN_VALUE;var a,i=Number.MAX_VALUE;if(e.isMultipleYAxis){i=Number.MAX_VALUE;for(var r=0;r<e.series.length;r++)a=this.getMinYMaxY(r),e.minYArr[r]=a.lowestY,e.maxYArr[r]=a.highestY,i=Math.min(i,a.lowestY)}return a=this.getMinYMaxY(0,i,null,e.series.length),t.chart.type==="bar"?(e.minY=a.minY,e.maxY=a.maxY):(e.minY=a.lowestY,e.maxY=a.highestY),i=a.lowestY,t.chart.stacked&&this._setStackedMinMax(),t.chart.type==="line"||t.chart.type==="area"||t.chart.type==="scatter"||t.chart.type==="candlestick"||t.chart.type==="boxPlot"||t.chart.type==="rangeBar"&&!e.isBarHorizontal?e.minY===Number.MIN_VALUE&&i!==-Number.MAX_VALUE&&i!==e.maxY&&(e.minY=i):e.minY=e.minY!==Number.MIN_VALUE?Math.min(a.minY,e.minY):a.minY,t.yaxis.forEach((function(n,o){n.max!==void 0&&(typeof n.max=="number"?e.maxYArr[o]=n.max:typeof n.max=="function"&&(e.maxYArr[o]=n.max(e.isMultipleYAxis?e.maxYArr[o]:e.maxY)),e.maxY=e.maxYArr[o]),n.min!==void 0&&(typeof n.min=="number"?e.minYArr[o]=n.min:typeof n.min=="function"&&(e.minYArr[o]=n.min(e.isMultipleYAxis?e.minYArr[o]===Number.MIN_VALUE?0:e.minYArr[o]:e.minY)),e.minY=e.minYArr[o])})),e.isBarHorizontal&&["min","max"].forEach((function(n){t.xaxis[n]!==void 0&&typeof t.xaxis[n]=="number"&&(n==="min"?e.minY=t.xaxis[n]:e.maxY=t.xaxis[n])})),e.isMultipleYAxis?(this.scales.scaleMultipleYAxes(),e.minY=i):(this.scales.setYScaleForIndex(0,e.minY,e.maxY),e.minY=e.yAxisScale[0].niceMin,e.maxY=e.yAxisScale[0].niceMax,e.minYArr[0]=e.minY,e.maxYArr[0]=e.maxY),e.barGroups=[],e.lineGroups=[],e.areaGroups=[],t.series.forEach((function(n){switch(n.type||t.chart.type){case"bar":case"column":e.barGroups.push(n.group);break;case"line":e.lineGroups.push(n.group);break;case"area":e.areaGroups.push(n.group)}})),e.barGroups=e.barGroups.filter((function(n,o,l){return l.indexOf(n)===o})),e.lineGroups=e.lineGroups.filter((function(n,o,l){return l.indexOf(n)===o})),e.areaGroups=e.areaGroups.filter((function(n,o,l){return l.indexOf(n)===o})),{minY:e.minY,maxY:e.maxY,minYArr:e.minYArr,maxYArr:e.maxYArr,yAxisScale:e.yAxisScale}}},{key:"setXRange",value:function(){var e=this.w.globals,t=this.w.config,a=t.xaxis.type==="numeric"||t.xaxis.type==="datetime"||t.xaxis.type==="category"&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric&&(function(){for(var l=0;l<e.series.length;l++)if(e.labels[l])for(var c=0;c<e.labels[l].length;c++)e.labels[l][c]!==null&&L.isNumber(e.labels[l][c])&&(e.maxX=Math.max(e.maxX,e.labels[l][c]),e.initialMaxX=Math.max(e.maxX,e.labels[l][c]),e.minX=Math.min(e.minX,e.labels[l][c]),e.initialMinX=Math.min(e.minX,e.labels[l][c]))})(),e.noLabelsProvided&&t.xaxis.categories.length===0&&(e.maxX=e.labels[e.labels.length-1],e.initialMaxX=e.labels[e.labels.length-1],e.minX=1,e.initialMinX=1),e.isXNumeric||e.noLabelsProvided||e.dataFormatXNumeric){var i=10;if(t.xaxis.tickAmount===void 0)i=Math.round(e.svgWidth/150),t.xaxis.type==="numeric"&&e.dataPoints<30&&(i=e.dataPoints-1),i>e.dataPoints&&e.dataPoints!==0&&(i=e.dataPoints-1);else if(t.xaxis.tickAmount==="dataPoints"){if(e.series.length>1&&(i=e.series[e.maxValsInArrayIndex].length-1),e.isXNumeric){var r=Math.round(e.maxX-e.minX);r<30&&(i=r)}}else i=t.xaxis.tickAmount;if(e.xTickAmount=i,t.xaxis.max!==void 0&&typeof t.xaxis.max=="number"&&(e.maxX=t.xaxis.max),t.xaxis.min!==void 0&&typeof t.xaxis.min=="number"&&(e.minX=t.xaxis.min),t.xaxis.range!==void 0&&(e.minX=e.maxX-t.xaxis.range),e.minX!==Number.MAX_VALUE&&e.maxX!==-Number.MAX_VALUE)if(t.xaxis.convertedCatToNumeric&&!e.dataFormatXNumeric){for(var n=[],o=e.minX-1;o<e.maxX;o++)n.push(o+1);e.xAxisScale={result:n,niceMin:n[0],niceMax:n[n.length-1]}}else e.xAxisScale=this.scales.setXScale(e.minX,e.maxX);else e.xAxisScale=this.scales.linearScale(0,i,i,0,t.xaxis.stepSize),e.noLabelsProvided&&e.labels.length>0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,i-1,0,t.xaxis.stepSize),e.seriesX=e.labels.slice());a&&(e.labels=e.xAxisScale.result.slice())}return e.isBarHorizontal&&e.labels.length&&(e.xTickAmount=e.labels.length),this._handleSingleDataPoint(),this._getMinXDiff(),{minX:e.minX,maxX:e.maxX}}},{key:"setZRange",value:function(){var e=this.w.globals;if(e.isDataXYZ){for(var t=0;t<e.series.length;t++)if(e.seriesZ[t]!==void 0)for(var a=0;a<e.seriesZ[t].length;a++)e.seriesZ[t][a]!==null&&L.isNumber(e.seriesZ[t][a])&&(e.maxZ=Math.max(e.maxZ,e.seriesZ[t][a]),e.minZ=Math.min(e.minZ,e.seriesZ[t][a]))}}},{key:"_handleSingleDataPoint",value:function(){var e=this.w.globals,t=this.w.config;if(e.minX===e.maxX){var a=new ze(this.ctx);if(t.xaxis.type==="datetime"){var i=a.getDate(e.minX);t.xaxis.labels.datetimeUTC?i.setUTCDate(i.getUTCDate()-2):i.setDate(i.getDate()-2),e.minX=new Date(i).getTime();var r=a.getDate(e.maxX);t.xaxis.labels.datetimeUTC?r.setUTCDate(r.getUTCDate()+2):r.setDate(r.getDate()+2),e.maxX=new Date(r).getTime()}else(t.xaxis.type==="numeric"||t.xaxis.type==="category"&&!e.noLabelsProvided)&&(e.minX=e.minX-2,e.initialMinX=e.minX,e.maxX=e.maxX+2,e.initialMaxX=e.maxX)}}},{key:"_getMinXDiff",value:function(){var e=this.w.globals;e.isXNumeric&&e.seriesX.forEach((function(t,a){if(t.length){t.length===1&&t.push(e.seriesX[e.maxValsInArrayIndex][e.seriesX[e.maxValsInArrayIndex].length-1]);var i=t.slice();i.sort((function(r,n){return r-n})),i.forEach((function(r,n){if(n>0){var o=r-i[n-1];o>0&&(e.minXDiff=Math.min(o,e.minXDiff))}})),e.dataPoints!==1&&e.minXDiff!==Number.MAX_VALUE||(e.minXDiff=.5)}}))}},{key:"_setStackedMinMax",value:function(){var e=this,t=this.w.globals;if(t.series.length){var a=t.seriesGroups;a.length||(a=[this.w.globals.seriesNames.map((function(n){return n}))]);var i={},r={};a.forEach((function(n){i[n]=[],r[n]=[],e.w.config.series.map((function(o,l){return n.indexOf(t.seriesNames[l])>-1?l:null})).filter((function(o){return o!==null})).forEach((function(o){for(var l=0;l<t.series[t.maxValsInArrayIndex].length;l++){var c,h,d,u;i[n][l]===void 0&&(i[n][l]=0,r[n][l]=0),(e.w.config.chart.stacked&&!t.comboCharts||e.w.config.chart.stacked&&t.comboCharts&&(!e.w.config.chart.stackOnlyBar||((c=e.w.config.series)===null||c===void 0||(h=c[o])===null||h===void 0?void 0:h.type)==="bar"||((d=e.w.config.series)===null||d===void 0||(u=d[o])===null||u===void 0?void 0:u.type)==="column"))&&t.series[o][l]!==null&&L.isNumber(t.series[o][l])&&(t.series[o][l]>0?i[n][l]+=parseFloat(t.series[o][l])+1e-4:r[n][l]+=parseFloat(t.series[o][l]))}}))})),Object.entries(i).forEach((function(n){var o=On(n,1)[0];i[o].forEach((function(l,c){t.maxY=Math.max(t.maxY,i[o][c]),t.minY=Math.min(t.minY,r[o][c])}))}))}}}]),s})(),Ws=(function(){function s(e,t){N(this,s),this.ctx=e,this.elgrid=t,this.w=e.w;var a=this.w;this.xaxisFontSize=a.config.xaxis.labels.style.fontSize,this.axisFontFamily=a.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=a.config.xaxis.labels.style.colors,this.isCategoryBarHorizontal=a.config.chart.type==="bar"&&a.config.plotOptions.bar.horizontal,this.xAxisoffX=a.config.xaxis.position==="bottom"?a.globals.gridHeight:0,this.drawnLabels=[],this.axesUtils=new Ct(e)}return V(s,[{key:"drawYaxis",value:function(e){var t=this.w,a=new E(this.ctx),i=t.config.yaxis[e].labels.style,r=i.fontSize,n=i.fontFamily,o=i.fontWeight,l=a.group({class:"apexcharts-yaxis",rel:e,transform:"translate(".concat(t.globals.translateYAxisX[e],", 0)")});if(this.axesUtils.isYAxisHidden(e))return l;var c=a.group({class:"apexcharts-yaxis-texts-g"});l.add(c);var h=t.globals.yAxisScale[e].result.length-1,d=t.globals.gridHeight/h,u=t.globals.yLabelFormatters[e],g=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice());if(t.config.yaxis[e].labels.show){var p=t.globals.translateY+t.config.yaxis[e].labels.offsetY;t.globals.isBarHorizontal?p=0:t.config.chart.type==="heatmap"&&(p-=d/2),p+=parseInt(r,10)/3;for(var f=h;f>=0;f--){var m=u(g[f],f,t),v=t.config.yaxis[e].labels.padding;t.config.yaxis[e].opposite&&t.config.yaxis.length!==0&&(v*=-1);var b=this.getTextAnchor(t.config.yaxis[e].labels.align,t.config.yaxis[e].opposite),w=this.axesUtils.getYAxisForeColor(i.colors,e),k=Array.isArray(w)?w[f]:w,y=L.listToArray(t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-label tspan"))).map((function(C){return C.textContent})),A=a.drawText({x:v,y:p,text:y.includes(m)&&!t.config.yaxis[e].labels.showDuplicates?"":m,textAnchor:b,fontSize:r,fontFamily:n,fontWeight:o,maxWidth:t.config.yaxis[e].labels.maxWidth,foreColor:k,isPlainText:!1,cssClass:"apexcharts-yaxis-label ".concat(i.cssClass)});c.add(A),this.addTooltip(A,m),t.config.yaxis[e].labels.rotate!==0&&this.rotateLabel(a,A,firstLabel,t.config.yaxis[e].labels.rotate),p+=d}}return this.addYAxisTitle(a,l,e),this.addAxisBorder(a,l,e,h,d),l}},{key:"getTextAnchor",value:function(e,t){return e==="left"?"start":e==="center"?"middle":e==="right"?"end":t?"start":"end"}},{key:"addTooltip",value:function(e,t){var a=document.createElementNS(this.w.globals.SVGNS,"title");a.textContent=Array.isArray(t)?t.join(" "):t,e.node.appendChild(a)}},{key:"rotateLabel",value:function(e,t,a,i){var r=e.rotateAroundCenter(a.node),n=e.rotateAroundCenter(t.node);t.node.setAttribute("transform","rotate(".concat(i," ").concat(r.x," ").concat(n.y,")"))}},{key:"addYAxisTitle",value:function(e,t,a){var i=this.w;if(i.config.yaxis[a].title.text!==void 0){var r=e.group({class:"apexcharts-yaxis-title"}),n=i.config.yaxis[a].opposite?i.globals.translateYAxisX[a]:0,o=e.drawText({x:n,y:i.globals.gridHeight/2+i.globals.translateY+i.config.yaxis[a].title.offsetY,text:i.config.yaxis[a].title.text,textAnchor:"end",foreColor:i.config.yaxis[a].title.style.color,fontSize:i.config.yaxis[a].title.style.fontSize,fontWeight:i.config.yaxis[a].title.style.fontWeight,fontFamily:i.config.yaxis[a].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text ".concat(i.config.yaxis[a].title.style.cssClass)});r.add(o),t.add(r)}}},{key:"addAxisBorder",value:function(e,t,a,i,r){var n=this.w,o=n.config.yaxis[a].axisBorder,l=31+o.offsetX;if(n.config.yaxis[a].opposite&&(l=-31-o.offsetX),o.show){var c=e.drawLine(l,n.globals.translateY+o.offsetY-2,l,n.globals.gridHeight+n.globals.translateY+o.offsetY+2,o.color,0,o.width);t.add(c)}n.config.yaxis[a].axisTicks.show&&this.axesUtils.drawYAxisTicks(l,i,o,n.config.yaxis[a].axisTicks,a,r,t)}},{key:"drawYaxisInversed",value:function(e){var t=this.w,a=new E(this.ctx),i=a.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),r=a.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(t.globals.translateXAxisX,", ").concat(t.globals.translateXAxisY,")")});i.add(r);var n=t.globals.yAxisScale[e].result.length-1,o=t.globals.gridWidth/n+.1,l=o+t.config.xaxis.labels.offsetX,c=t.globals.xLabelFormatter,h=this.axesUtils.checkForReversedLabels(e,t.globals.yAxisScale[e].result.slice()),d=t.globals.timescaleLabels;if(d.length>0&&(this.xaxisLabels=d.slice(),n=(h=d.slice()).length),t.config.xaxis.labels.show)for(var u=d.length?0:n;d.length?u<d.length:u>=0;d.length?u++:u--){var g=c(h[u],u,t),p=t.globals.gridWidth+t.globals.padHorizontal-(l-o+t.config.xaxis.labels.offsetX);if(d.length){var f=this.axesUtils.getLabel(h,d,p,u,this.drawnLabels,this.xaxisFontSize);p=f.x,g=f.text,this.drawnLabels.push(f.text),u===0&&t.globals.skipFirstTimelinelabel&&(g=""),u===h.length-1&&t.globals.skipLastTimelinelabel&&(g="")}var m=a.drawText({x:p,y:this.xAxisoffX+t.config.xaxis.labels.offsetY+30-(t.config.xaxis.position==="top"?t.globals.xAxisHeight+t.config.xaxis.axisTicks.height-2:0),text:g,textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[e]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,fontWeight:t.config.xaxis.labels.style.fontWeight,isPlainText:!1,cssClass:"apexcharts-xaxis-label ".concat(t.config.xaxis.labels.style.cssClass)});r.add(m),m.tspan(g),this.addTooltip(m,g),l+=o}return this.inversedYAxisTitleText(i),this.inversedYAxisBorder(i),i}},{key:"inversedYAxisBorder",value:function(e){var t=this.w,a=new E(this.ctx),i=t.config.xaxis.axisBorder;if(i.show){var r=0;t.config.chart.type==="bar"&&t.globals.isXNumeric&&(r-=15);var n=a.drawLine(t.globals.padHorizontal+r+i.offsetX,this.xAxisoffX,t.globals.gridWidth,this.xAxisoffX,i.color,0,i.height);this.elgrid&&this.elgrid.elGridBorders&&t.config.grid.show?this.elgrid.elGridBorders.add(n):e.add(n)}}},{key:"inversedYAxisTitleText",value:function(e){var t=this.w,a=new E(this.ctx);if(t.config.xaxis.title.text!==void 0){var i=a.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),r=a.drawText({x:t.globals.gridWidth/2+t.config.xaxis.title.offsetX,y:this.xAxisoffX+parseFloat(this.xaxisFontSize)+parseFloat(t.config.xaxis.title.style.fontSize)+t.config.xaxis.title.offsetY+20,text:t.config.xaxis.title.text,textAnchor:"middle",fontSize:t.config.xaxis.title.style.fontSize,fontFamily:t.config.xaxis.title.style.fontFamily,fontWeight:t.config.xaxis.title.style.fontWeight,foreColor:t.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text ".concat(t.config.xaxis.title.style.cssClass)});i.add(r),e.add(i)}}},{key:"yAxisTitleRotate",value:function(e,t){var a=this.w,i=new E(this.ctx),r=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-texts-g")),n=r?r.getBoundingClientRect():{width:0,height:0},o=a.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(e,"'] .apexcharts-yaxis-title text")),l=o?o.getBoundingClientRect():{width:0,height:0};if(o){var c=this.xPaddingForYAxisTitle(e,n,l,t);o.setAttribute("x",c.xPos-(t?10:0));var h=i.rotateAroundCenter(o);o.setAttribute("transform","rotate(".concat(t?-1*a.config.yaxis[e].title.rotate:a.config.yaxis[e].title.rotate," ").concat(h.x," ").concat(h.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(e,t,a,i){var r=this.w,n=0,o=10;return r.config.yaxis[e].title.text===void 0||e<0?{xPos:n,padd:0}:(i?n=t.width+r.config.yaxis[e].title.offsetX+a.width/2+o/2:(n=-1*t.width+r.config.yaxis[e].title.offsetX+o/2+a.width/2,r.globals.isBarHorizontal&&(o=25,n=-1*t.width-r.config.yaxis[e].title.offsetX-o)),{xPos:n,padd:o})}},{key:"setYAxisXPosition",value:function(e,t){var a=this.w,i=0,r=0,n=18,o=1;a.config.yaxis.length>1&&(this.multipleYs=!0),a.config.yaxis.forEach((function(l,c){var h=a.globals.ignoreYAxisIndexes.includes(c)||!l.show||l.floating||e[c].width===0,d=e[c].width+t[c].width;l.opposite?a.globals.isBarHorizontal?(r=a.globals.gridWidth+a.globals.translateX-1,a.globals.translateYAxisX[c]=r-l.labels.offsetX):(r=a.globals.gridWidth+a.globals.translateX+o,h||(o+=d+20),a.globals.translateYAxisX[c]=r-l.labels.offsetX+20):(i=a.globals.translateX-n,h||(n+=d+20),a.globals.translateYAxisX[c]=i+l.labels.offsetX)}))}},{key:"setYAxisTextAlignments",value:function(){var e=this.w;L.listToArray(e.globals.dom.baseEl.getElementsByClassName("apexcharts-yaxis")).forEach((function(t,a){var i=e.config.yaxis[a];if(i&&!i.floating&&i.labels.align!==void 0){var r=e.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-texts-g")),n=L.listToArray(e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(a,"'] .apexcharts-yaxis-label"))),o=r.getBoundingClientRect();n.forEach((function(l){l.setAttribute("text-anchor",i.labels.align)})),i.labels.align!=="left"||i.opposite?i.labels.align==="center"?r.setAttribute("transform","translate(".concat(o.width/2*(i.opposite?1:-1),", 0)")):i.labels.align==="right"&&i.opposite&&r.setAttribute("transform","translate(".concat(o.width,", 0)")):r.setAttribute("transform","translate(-".concat(o.width,", 0)"))}}))}}]),s})(),$h=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.documentEvent=L.bind(this.documentEvent,this)}return V(s,[{key:"addEventListener",value:function(e,t){var a=this.w;a.globals.events.hasOwnProperty(e)?a.globals.events[e].push(t):a.globals.events[e]=[t]}},{key:"removeEventListener",value:function(e,t){var a=this.w;if(a.globals.events.hasOwnProperty(e)){var i=a.globals.events[e].indexOf(t);i!==-1&&a.globals.events[e].splice(i,1)}}},{key:"fireEvent",value:function(e,t){var a=this.w;if(a.globals.events.hasOwnProperty(e)){t&&t.length||(t=[]);for(var i=a.globals.events[e],r=i.length,n=0;n<r;n++)i[n].apply(null,t)}}},{key:"setupEventHandlers",value:function(){var e=this,t=this.w,a=this.ctx,i=t.globals.dom.baseEl.querySelector(t.globals.chartClass);this.ctx.eventList.forEach((function(r){i.addEventListener(r,(function(n){var o=n.target.getAttribute("i")===null&&t.globals.capturedSeriesIndex!==-1?t.globals.capturedSeriesIndex:n.target.getAttribute("i"),l=n.target.getAttribute("j")===null&&t.globals.capturedDataPointIndex!==-1?t.globals.capturedDataPointIndex:n.target.getAttribute("j"),c=Object.assign({},t,{seriesIndex:t.globals.axisCharts?o:0,dataPointIndex:l});n.type==="mousemove"||n.type==="touchmove"?typeof t.config.chart.events.mouseMove=="function"&&t.config.chart.events.mouseMove(n,a,c):n.type==="mouseleave"||n.type==="touchleave"?typeof t.config.chart.events.mouseLeave=="function"&&t.config.chart.events.mouseLeave(n,a,c):(n.type==="mouseup"&&n.which===1||n.type==="touchend")&&(typeof t.config.chart.events.click=="function"&&t.config.chart.events.click(n,a,c),a.ctx.events.fireEvent("click",[n,a,c]))}),{capture:!1,passive:!0})})),this.ctx.eventList.forEach((function(r){t.globals.dom.baseEl.addEventListener(r,e.documentEvent,{passive:!0})})),this.ctx.core.setupBrushHandler()}},{key:"documentEvent",value:function(e){var t=this.w,a=e.target.className;if(e.type==="click"){var i=t.globals.dom.baseEl.querySelector(".apexcharts-menu");i&&i.classList.contains("apexcharts-menu-open")&&a!=="apexcharts-menu-icon"&&i.classList.remove("apexcharts-menu-open")}t.globals.clientX=e.type==="touchmove"?e.touches[0].clientX:e.clientX,t.globals.clientY=e.type==="touchmove"?e.touches[0].clientY:e.clientY}}]),s})(),Uh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"setCurrentLocaleValues",value:function(e){var t=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&window.Apex.chart.locales.length>0&&(t=this.w.config.chart.locales.concat(window.Apex.chart.locales));var a=t.filter((function(r){return r.name===e}))[0];if(!a)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var i=L.extend(oo,a);this.w.globals.locale=i.options}}]),s})(),qh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"drawAxis",value:function(e,t){var a,i,r=this,n=this.w.globals,o=this.w.config,l=new pa(this.ctx,t),c=new Ws(this.ctx,t);n.axisCharts&&e!=="radar"&&(n.isBarHorizontal?(i=c.drawYaxisInversed(0),a=l.drawXaxisInversed(0),n.dom.elGraphical.add(a),n.dom.elGraphical.add(i)):(a=l.drawXaxis(),n.dom.elGraphical.add(a),o.yaxis.map((function(h,d){if(n.ignoreYAxisIndexes.indexOf(d)===-1&&(i=c.drawYaxis(d),n.dom.Paper.add(i),r.w.config.grid.position==="back")){var u=n.dom.Paper.children()[1];u.remove(),n.dom.Paper.add(u)}}))))}}]),s})(),xs=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"drawXCrosshairs",value:function(){var e=this.w,t=new E(this.ctx),a=new Oe(this.ctx),i=e.config.xaxis.crosshairs.fill.gradient,r=e.config.xaxis.crosshairs.dropShadow,n=e.config.xaxis.crosshairs.fill.type,o=i.colorFrom,l=i.colorTo,c=i.opacityFrom,h=i.opacityTo,d=i.stops,u=r.enabled,g=r.left,p=r.top,f=r.blur,m=r.color,v=r.opacity,b=e.config.xaxis.crosshairs.fill.color;if(e.config.xaxis.crosshairs.show){n==="gradient"&&(b=t.drawGradient("vertical",o,l,c,h,null,d,null));var w=t.drawRect();e.config.xaxis.crosshairs.width===1&&(w=t.drawLine());var k=e.globals.gridHeight;(!L.isNumber(k)||k<0)&&(k=0);var y=e.config.xaxis.crosshairs.width;(!L.isNumber(y)||y<0)&&(y=0),w.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:k,width:y,height:k,fill:b,filter:"none","fill-opacity":e.config.xaxis.crosshairs.opacity,stroke:e.config.xaxis.crosshairs.stroke.color,"stroke-width":e.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":e.config.xaxis.crosshairs.stroke.dashArray}),u&&(w=a.dropShadow(w,{left:g,top:p,blur:f,color:m,opacity:v})),e.globals.dom.elGraphical.add(w)}}},{key:"drawYCrosshairs",value:function(){var e=this.w,t=new E(this.ctx),a=e.config.yaxis[0].crosshairs,i=e.globals.barPadForNumericAxis;if(e.config.yaxis[0].crosshairs.show){var r=t.drawLine(-i,0,e.globals.gridWidth+i,0,a.stroke.color,a.stroke.dashArray,a.stroke.width);r.attr({class:"apexcharts-ycrosshairs"}),e.globals.dom.elGraphical.add(r)}var n=t.drawLine(-i,0,e.globals.gridWidth+i,0,a.stroke.color,0,0);n.attr({class:"apexcharts-ycrosshairs-hidden"}),e.globals.dom.elGraphical.add(n)}}]),s})(),Zh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"checkResponsiveConfig",value:function(e){var t=this,a=this.w,i=a.config;if(i.responsive.length!==0){var r=i.responsive.slice();r.sort((function(c,h){return c.breakpoint>h.breakpoint?1:h.breakpoint>c.breakpoint?-1:0})).reverse();var n=new fa({}),o=function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=r[0].breakpoint,d=window.innerWidth>0?window.innerWidth:screen.width;if(d>h){var u=L.clone(a.globals.initialConfig);u.series=L.clone(a.config.series);var g=Ae.extendArrayProps(n,u,a);c=L.extend(g,c),c=L.extend(a.config,c),t.overrideResponsiveOptions(c)}else for(var p=0;p<r.length;p++)d<r[p].breakpoint&&(c=Ae.extendArrayProps(n,r[p].options,a),c=L.extend(a.config,c),t.overrideResponsiveOptions(c))};if(e){var l=Ae.extendArrayProps(n,e,a);l=L.extend(a.config,l),o(l=L.extend(l,e))}else o({})}}},{key:"overrideResponsiveOptions",value:function(e){var t=new fa(e).init({responsiveOverride:!0});this.w.config=t}}]),s})(),Kh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.colors=[],this.isColorFn=!1,this.isHeatmapDistributed=this.checkHeatmapDistributed(),this.isBarDistributed=this.checkBarDistributed()}return V(s,[{key:"checkHeatmapDistributed",value:function(){var e=this.w.config,t=e.chart,a=e.plotOptions;return t.type==="treemap"&&a.treemap&&a.treemap.distributed||t.type==="heatmap"&&a.heatmap&&a.heatmap.distributed}},{key:"checkBarDistributed",value:function(){var e=this.w.config,t=e.chart,a=e.plotOptions;return a.bar&&a.bar.distributed&&(t.type==="bar"||t.type==="rangeBar")}},{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var e=this.w,t=new L;e.globals.dom.elWrap.classList.add("apexcharts-theme-".concat(e.config.theme.mode||"light"));var a=Re(e.config.colors||e.config.fill.colors||[]);e.globals.colors=this.getColors(a),this.applySeriesColors(e.globals.seriesColors,e.globals.colors),e.config.theme.monochrome.enabled&&(e.globals.colors=this.getMonochromeColors(e.config.theme.monochrome,e.globals.series,t));var i=e.globals.colors.slice();this.pushExtraColors(e.globals.colors),this.applyColorTypes(["fill","stroke"],i),this.applyDataLabelsColors(i),this.applyRadarPolygonsColors(),this.applyMarkersColors(i)}},{key:"getColors",value:function(e){var t=this,a=this.w;return e&&e.length!==0?Array.isArray(e)&&e.length>0&&typeof e[0]=="function"?(this.isColorFn=!0,a.config.series.map((function(i,r){var n=e[r]||e[0];return typeof n=="function"?n({value:a.globals.axisCharts?a.globals.series[r][0]||0:a.globals.series[r],seriesIndex:r,dataPointIndex:r,w:t.w}):n}))):e:this.predefined()}},{key:"applySeriesColors",value:function(e,t){e.forEach((function(a,i){a&&(t[i]=a)}))}},{key:"getMonochromeColors",value:function(e,t,a){var i=e.color,r=e.shadeIntensity,n=e.shadeTo,o=this.isBarDistributed||this.isHeatmapDistributed?t[0].length*t.length:t.length,l=1/(o/r),c=0;return Array.from({length:o},(function(){var h=n==="dark"?a.shadeColor(-1*c,i):a.shadeColor(c,i);return c+=l,h}))}},{key:"applyColorTypes",value:function(e,t){var a=this,i=this.w;e.forEach((function(r){i.globals[r].colors=i.config[r].colors===void 0?a.isColorFn?i.config.colors:t:i.config[r].colors.slice(),a.pushExtraColors(i.globals[r].colors)}))}},{key:"applyDataLabelsColors",value:function(e){var t=this.w;t.globals.dataLabels.style.colors=t.config.dataLabels.style.colors===void 0?e:t.config.dataLabels.style.colors.slice(),this.pushExtraColors(t.globals.dataLabels.style.colors,50)}},{key:"applyRadarPolygonsColors",value:function(){var e=this.w;e.globals.radarPolygons.fill.colors=e.config.plotOptions.radar.polygons.fill.colors===void 0?[e.config.theme.mode==="dark"?"#343A3F":"none"]:e.config.plotOptions.radar.polygons.fill.colors.slice(),this.pushExtraColors(e.globals.radarPolygons.fill.colors,20)}},{key:"applyMarkersColors",value:function(e){var t=this.w;t.globals.markers.colors=t.config.markers.colors===void 0?e:t.config.markers.colors.slice(),this.pushExtraColors(t.globals.markers.colors)}},{key:"pushExtraColors",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=this.w,r=t||i.globals.series.length;if(a===null&&(a=this.isBarDistributed||this.isHeatmapDistributed||i.config.chart.type==="heatmap"&&i.config.plotOptions.heatmap&&i.config.plotOptions.heatmap.colorScale.inverse),a&&i.globals.series.length&&(r=i.globals.series[i.globals.maxValsInArrayIndex].length*i.globals.series.length),e.length<r)for(var n=r-e.length,o=0;o<n;o++)e.push(e[o])}},{key:"updateThemeOptions",value:function(e){e.chart=e.chart||{},e.tooltip=e.tooltip||{};var t=e.theme.mode,a=t==="dark"?"palette4":t==="light"?"palette1":e.theme.palette||"palette1",i=t==="dark"?"#f6f7f8":t==="light"?"#373d3f":e.chart.foreColor||"#373d3f";return e.tooltip.theme=t||"light",e.chart.foreColor=i,e.theme.palette=a,e}},{key:"predefined",value:function(){var e=this.w.config.theme.palette,t=this.ctx.constructor.getThemePalettes();return t[e]||t.palette1}}]),s})(),Jh=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(e){var t=this.w,a=e==="title"?t.config.title:t.config.subtitle,i=t.globals.svgWidth/2,r=a.offsetY,n="middle";if(a.align==="left"?(i=10,n="start"):a.align==="right"&&(i=t.globals.svgWidth-10,n="end"),i+=a.offsetX,r=r+parseInt(a.style.fontSize,10)+a.margin/2,a.text!==void 0){var o=new E(this.ctx).drawText({x:i,y:r,text:a.text,textAnchor:n,fontSize:a.style.fontSize,fontFamily:a.style.fontFamily,fontWeight:a.style.fontWeight,foreColor:a.style.color,opacity:1});o.node.setAttribute("class","apexcharts-".concat(e,"-text")),t.globals.dom.Paper.add(o)}}}]),s})(),Qh=(function(){function s(e){N(this,s),this.w=e.w,this.dCtx=e}return V(s,[{key:"getTitleSubtitleCoords",value:function(e){var t=this.w,a=0,i=0,r=e==="title"?t.config.title.floating:t.config.subtitle.floating,n=t.globals.dom.baseEl.querySelector(".apexcharts-".concat(e,"-text"));if(n!==null&&!r){var o=n.getBoundingClientRect();a=o.width,i=t.globals.axisCharts?o.height+5:o.height}return{width:a,height:i}}},{key:"getLegendsRect",value:function(){var e=this.w,t=e.globals.dom.elLegendWrap;e.config.legend.height||e.config.legend.position!=="top"&&e.config.legend.position!=="bottom"||(t.style.maxHeight=e.globals.svgHeight/2+"px");var a=Object.assign({},L.getBoundingClientRect(t));return t!==null&&!e.config.legend.floating&&e.config.legend.show?this.dCtx.lgRect={x:a.x,y:a.y,height:a.height,width:a.height===0?0:a.width}:this.dCtx.lgRect={x:0,y:0,height:0,width:0},e.config.legend.position!=="left"&&e.config.legend.position!=="right"||1.5*this.dCtx.lgRect.width>e.globals.svgWidth&&(this.dCtx.lgRect.width=e.globals.svgWidth/1.5),this.dCtx.lgRect}},{key:"getDatalabelsRect",value:function(){var e=this,t=this.w,a=[];t.config.series.forEach((function(l,c){l.data.forEach((function(h,d){var u;u=t.globals.series[c][d],i=t.config.dataLabels.formatter(u,{ctx:e.dCtx.ctx,seriesIndex:c,dataPointIndex:d,w:t}),a.push(i)}))}));var i=L.getLargestStringFromArr(a),r=new E(this.dCtx.ctx),n=t.config.dataLabels.style,o=r.getTextRects(i,parseInt(n.fontSize),n.fontFamily);return{width:1.05*o.width,height:o.height}}},{key:"getLargestStringFromMultiArr",value:function(e,t){var a=e;if(this.w.globals.isMultiLineX){var i=t.map((function(n,o){return Array.isArray(n)?n.length:1})),r=Math.max.apply(Math,Re(i));a=t[i.indexOf(r)]}return a}}]),s})(),ed=(function(){function s(e){N(this,s),this.w=e.w,this.dCtx=e}return V(s,[{key:"getxAxisLabelsCoords",value:function(){var e,t=this.w,a=t.globals.labels.slice();if(t.config.xaxis.convertedCatToNumeric&&a.length===0&&(a=t.globals.categoryLabels),t.globals.timescaleLabels.length>0){var i=this.getxAxisTimeScaleLabelsCoords();e={width:i.width,height:i.height},t.globals.rotateXLabels=!1}else{this.dCtx.lgWidthForSideLegends=t.config.legend.position!=="left"&&t.config.legend.position!=="right"||t.config.legend.floating?0:this.dCtx.lgRect.width;var r=t.globals.xLabelFormatter,n=L.getLargestStringFromArr(a),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(n,a);t.globals.isBarHorizontal&&(o=n=t.globals.yAxisScale[0].result.reduce((function(p,f){return p.length>f.length?p:f}),0));var l=new Sa(this.dCtx.ctx),c=n;n=l.xLabelFormat(r,n,c,{i:void 0,dateFormatter:new ze(this.dCtx.ctx).formatDate,w:t}),o=l.xLabelFormat(r,o,c,{i:void 0,dateFormatter:new ze(this.dCtx.ctx).formatDate,w:t}),(t.config.xaxis.convertedCatToNumeric&&n===void 0||String(n).trim()==="")&&(o=n="1");var h=new E(this.dCtx.ctx),d=h.getTextRects(n,t.config.xaxis.labels.style.fontSize),u=d;if(n!==o&&(u=h.getTextRects(o,t.config.xaxis.labels.style.fontSize)),(e={width:d.width>=u.width?d.width:u.width,height:d.height>=u.height?d.height:u.height}).width*a.length>t.globals.svgWidth-this.dCtx.lgWidthForSideLegends-this.dCtx.yAxisWidth-this.dCtx.gridPad.left-this.dCtx.gridPad.right&&t.config.xaxis.labels.rotate!==0||t.config.xaxis.labels.rotateAlways){if(!t.globals.isBarHorizontal){t.globals.rotateXLabels=!0;var g=function(p){return h.getTextRects(p,t.config.xaxis.labels.style.fontSize,t.config.xaxis.labels.style.fontFamily,"rotate(".concat(t.config.xaxis.labels.rotate," 0 0)"),!1)};d=g(n),n!==o&&(u=g(o)),e.height=(d.height>u.height?d.height:u.height)/1.5,e.width=d.width>u.width?d.width:u.width}}else t.globals.rotateXLabels=!1}return t.config.xaxis.labels.show||(e={width:0,height:0}),{width:e.width,height:e.height}}},{key:"getxAxisGroupLabelsCoords",value:function(){var e,t=this.w;if(!t.globals.hasXaxisGroups)return{width:0,height:0};var a,i=((e=t.config.xaxis.group.style)===null||e===void 0?void 0:e.fontSize)||t.config.xaxis.labels.style.fontSize,r=t.globals.groups.map((function(d){return d.title})),n=L.getLargestStringFromArr(r),o=this.dCtx.dimHelpers.getLargestStringFromMultiArr(n,r),l=new E(this.dCtx.ctx),c=l.getTextRects(n,i),h=c;return n!==o&&(h=l.getTextRects(o,i)),a={width:c.width>=h.width?c.width:h.width,height:c.height>=h.height?c.height:h.height},t.config.xaxis.labels.show||(a={width:0,height:0}),{width:a.width,height:a.height}}},{key:"getxAxisTitleCoords",value:function(){var e=this.w,t=0,a=0;if(e.config.xaxis.title.text!==void 0){var i=new E(this.dCtx.ctx).getTextRects(e.config.xaxis.title.text,e.config.xaxis.title.style.fontSize);t=i.width,a=i.height}return{width:t,height:a}}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var e,t=this.w;this.dCtx.timescaleLabels=t.globals.timescaleLabels.slice();var a=this.dCtx.timescaleLabels.map((function(r){return r.value})),i=a.reduce((function(r,n){return r===void 0?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):r.length>n.length?r:n}),0);return 1.05*(e=new E(this.dCtx.ctx).getTextRects(i,t.config.xaxis.labels.style.fontSize)).width*a.length>t.globals.gridWidth&&t.config.xaxis.labels.rotate!==0&&(t.globals.overlappingXLabels=!0),e}},{key:"additionalPaddingXLabels",value:function(e){var t=this,a=this.w,i=a.globals,r=a.config,n=r.xaxis.type,o=e.width;i.skipLastTimelinelabel=!1,i.skipFirstTimelinelabel=!1;var l=a.config.yaxis[0].opposite&&a.globals.isBarHorizontal,c=function(h,d){r.yaxis.length>1&&(function(u){return i.collapsedSeriesIndices.indexOf(u)!==-1})(d)||(function(u){if(t.dCtx.timescaleLabels&&t.dCtx.timescaleLabels.length){var g=t.dCtx.timescaleLabels[0],p=t.dCtx.timescaleLabels[t.dCtx.timescaleLabels.length-1].position+o/1.75-t.dCtx.yAxisWidthRight,f=g.position-o/1.75+t.dCtx.yAxisWidthLeft,m=a.config.legend.position==="right"&&t.dCtx.lgRect.width>0?t.dCtx.lgRect.width:0;p>i.svgWidth-i.translateX-m&&(i.skipLastTimelinelabel=!0),f<-(u.show&&!u.floating||r.chart.type!=="bar"&&r.chart.type!=="candlestick"&&r.chart.type!=="rangeBar"&&r.chart.type!=="boxPlot"?10:o/1.75)&&(i.skipFirstTimelinelabel=!0)}else n==="datetime"?t.dCtx.gridPad.right<o&&!i.rotateXLabels&&(i.skipLastTimelinelabel=!0):n!=="datetime"&&t.dCtx.gridPad.right<o/2-t.dCtx.yAxisWidthRight&&!i.rotateXLabels&&!a.config.xaxis.labels.trim&&(t.dCtx.xPadRight=o/2+1)})(h)};r.yaxis.forEach((function(h,d){l?(t.dCtx.gridPad.left<o&&(t.dCtx.xPadLeft=o/2+1),t.dCtx.xPadRight=o/2+1):c(h,d)}))}}]),s})(),td=(function(){function s(e){N(this,s),this.w=e.w,this.dCtx=e}return V(s,[{key:"getyAxisLabelsCoords",value:function(){var e=this,t=this.w,a=[],i=10,r=new Ct(this.dCtx.ctx);return t.config.yaxis.map((function(n,o){var l={seriesIndex:o,dataPointIndex:-1,w:t},c=t.globals.yAxisScale[o],h=0;if(!r.isYAxisHidden(o)&&n.labels.show&&n.labels.minWidth!==void 0&&(h=n.labels.minWidth),!r.isYAxisHidden(o)&&n.labels.show&&c.result.length){var d=t.globals.yLabelFormatters[o],u=c.niceMin===Number.MIN_VALUE?0:c.niceMin,g=c.result.reduce((function(k,y){var A,C;return((A=String(d(k,l)))===null||A===void 0?void 0:A.length)>((C=String(d(y,l)))===null||C===void 0?void 0:C.length)?k:y}),u),p=g=d(g,l);if(g!==void 0&&g.length!==0||(g=c.niceMax),t.globals.isBarHorizontal){i=0;var f=t.globals.labels.slice();g=L.getLargestStringFromArr(f),g=d(g,{seriesIndex:o,dataPointIndex:-1,w:t}),p=e.dCtx.dimHelpers.getLargestStringFromMultiArr(g,f)}var m=new E(e.dCtx.ctx),v="rotate(".concat(n.labels.rotate," 0 0)"),b=m.getTextRects(g,n.labels.style.fontSize,n.labels.style.fontFamily,v,!1),w=b;g!==p&&(w=m.getTextRects(p,n.labels.style.fontSize,n.labels.style.fontFamily,v,!1)),a.push({width:(h>w.width||h>b.width?h:w.width>b.width?w.width:b.width)+i,height:w.height>b.height?w.height:b.height})}else a.push({width:0,height:0})})),a}},{key:"getyAxisTitleCoords",value:function(){var e=this,t=this.w,a=[];return t.config.yaxis.map((function(i,r){if(i.show&&i.title.text!==void 0){var n=new E(e.dCtx.ctx),o="rotate(".concat(i.title.rotate," 0 0)"),l=n.getTextRects(i.title.text,i.title.style.fontSize,i.title.style.fontFamily,o,!1);a.push({width:l.width,height:l.height})}else a.push({width:0,height:0})})),a}},{key:"getTotalYAxisWidth",value:function(){var e=this.w,t=0,a=0,i=0,r=e.globals.yAxisScale.length>1?10:0,n=new Ct(this.dCtx.ctx),o=function(l,c){var h=e.config.yaxis[c].floating,d=0;l.width>0&&!h?(d=l.width+r,(function(u){return e.globals.ignoreYAxisIndexes.indexOf(u)>-1})(c)&&(d=d-l.width-r)):d=h||n.isYAxisHidden(c)?0:5,e.config.yaxis[c].opposite?i+=d:a+=d,t+=d};return e.globals.yLabelsCoords.map((function(l,c){o(l,c)})),e.globals.yTitleCoords.map((function(l,c){o(l,c)})),e.globals.isBarHorizontal&&!e.config.yaxis[0].floating&&(t=e.globals.yLabelsCoords[0].width+e.globals.yTitleCoords[0].width+15),this.dCtx.yAxisWidthLeft=a,this.dCtx.yAxisWidthRight=i,t}}]),s})(),ad=(function(){function s(e){N(this,s),this.w=e.w,this.dCtx=e}return V(s,[{key:"gridPadForColumnsInNumericAxis",value:function(e){var t=this.w,a=t.config,i=t.globals;if(i.noData||i.collapsedSeries.length+i.ancillaryCollapsedSeries.length===a.series.length)return 0;var r=function(g){return["bar","rangeBar","candlestick","boxPlot"].includes(g)},n=a.chart.type,o=0,l=r(n)?a.series.length:1;i.comboBarCount>0&&(l=i.comboBarCount),i.collapsedSeries.forEach((function(g){r(g.type)&&(l-=1)})),a.chart.stacked&&(l=1);var c=r(n)||i.comboBarCount>0,h=Math.abs(i.initialMaxX-i.initialMinX);if(c&&i.isXNumeric&&!i.isBarHorizontal&&l>0&&h!==0){h<=3&&(h=i.dataPoints);var d=h/e,u=i.minXDiff&&i.minXDiff/d>0?i.minXDiff/d:0;u>e/2&&(u/=2),(o=u*parseInt(a.plotOptions.bar.columnWidth,10)/100)<1&&(o=1),i.barPadForNumericAxis=o}return o}},{key:"gridPadFortitleSubtitle",value:function(){var e=this,t=this.w,a=t.globals,i=this.dCtx.isSparkline||!a.axisCharts?0:10;["title","subtitle"].forEach((function(o){t.config[o].text!==void 0?i+=t.config[o].margin:i+=e.dCtx.isSparkline||!a.axisCharts?0:5})),!t.config.legend.show||t.config.legend.position!=="bottom"||t.config.legend.floating||a.axisCharts||(i+=10);var r=this.dCtx.dimHelpers.getTitleSubtitleCoords("title"),n=this.dCtx.dimHelpers.getTitleSubtitleCoords("subtitle");a.gridHeight-=r.height+n.height+i,a.translateY+=r.height+n.height+i}},{key:"setGridXPosForDualYAxis",value:function(e,t){var a=this.w,i=new Ct(this.dCtx.ctx);a.config.yaxis.forEach((function(r,n){a.globals.ignoreYAxisIndexes.indexOf(n)!==-1||r.floating||i.isYAxisHidden(n)||(r.opposite&&(a.globals.translateX-=t[n].width+e[n].width+parseInt(r.labels.style.fontSize,10)/1.2+12),a.globals.translateX<2&&(a.globals.translateX=2))}))}}]),s})(),ti=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.lgRect={},this.yAxisWidth=0,this.yAxisWidthLeft=0,this.yAxisWidthRight=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.dimHelpers=new Qh(this),this.dimYAxis=new td(this),this.dimXAxis=new ed(this),this.dimGrid=new ad(this),this.lgWidthForSideLegends=0,this.gridPad=this.w.config.grid.padding,this.xPadRight=0,this.xPadLeft=0}return V(s,[{key:"plotCoords",value:function(){var e=this,t=this.w,a=t.globals;this.lgRect=this.dimHelpers.getLegendsRect(),this.datalabelsCoords={width:0,height:0};var i=Array.isArray(t.config.stroke.width)?Math.max.apply(Math,Re(t.config.stroke.width)):t.config.stroke.width;this.isSparkline&&((t.config.markers.discrete.length>0||t.config.markers.size>0)&&Object.entries(this.gridPad).forEach((function(n){var o=On(n,2),l=o[0],c=o[1];e.gridPad[l]=Math.max(c,e.w.globals.markers.largestSize/1.5)})),this.gridPad.top=Math.max(i/2,this.gridPad.top),this.gridPad.bottom=Math.max(i/2,this.gridPad.bottom)),a.axisCharts?this.setDimensionsForAxisCharts():this.setDimensionsForNonAxisCharts(),this.dimGrid.gridPadFortitleSubtitle(),a.gridHeight=a.gridHeight-this.gridPad.top-this.gridPad.bottom,a.gridWidth=a.gridWidth-this.gridPad.left-this.gridPad.right-this.xPadRight-this.xPadLeft;var r=this.dimGrid.gridPadForColumnsInNumericAxis(a.gridWidth);a.gridWidth=a.gridWidth-2*r,a.translateX=a.translateX+this.gridPad.left+this.xPadLeft+(r>0?r:0),a.translateY=a.translateY+this.gridPad.top}},{key:"setDimensionsForAxisCharts",value:function(){var e=this,t=this.w,a=t.globals,i=this.dimYAxis.getyAxisLabelsCoords(),r=this.dimYAxis.getyAxisTitleCoords();a.isSlopeChart&&(this.datalabelsCoords=this.dimHelpers.getDatalabelsRect()),t.globals.yLabelsCoords=[],t.globals.yTitleCoords=[],t.config.yaxis.map((function(g,p){t.globals.yLabelsCoords.push({width:i[p].width,index:p}),t.globals.yTitleCoords.push({width:r[p].width,index:p})})),this.yAxisWidth=this.dimYAxis.getTotalYAxisWidth();var n=this.dimXAxis.getxAxisLabelsCoords(),o=this.dimXAxis.getxAxisGroupLabelsCoords(),l=this.dimXAxis.getxAxisTitleCoords();this.conditionalChecksForAxisCoords(n,l,o),a.translateXAxisY=t.globals.rotateXLabels?this.xAxisHeight/8:-4,a.translateXAxisX=t.globals.rotateXLabels&&t.globals.isXNumeric&&t.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,t.globals.isBarHorizontal&&(a.rotateXLabels=!1,a.translateXAxisY=parseInt(t.config.xaxis.labels.style.fontSize,10)/1.5*-1),a.translateXAxisY=a.translateXAxisY+t.config.xaxis.labels.offsetY,a.translateXAxisX=a.translateXAxisX+t.config.xaxis.labels.offsetX;var c=this.yAxisWidth,h=this.xAxisHeight;a.xAxisLabelsHeight=this.xAxisHeight-l.height,a.xAxisGroupLabelsHeight=a.xAxisLabelsHeight-n.height,a.xAxisLabelsWidth=this.xAxisWidth,a.xAxisHeight=this.xAxisHeight;var d=10;(t.config.chart.type==="radar"||this.isSparkline)&&(c=0,h=0),this.isSparkline&&(this.lgRect={height:0,width:0}),(this.isSparkline||t.config.chart.type==="treemap")&&(c=0,h=0,d=0),this.isSparkline||t.config.chart.type==="treemap"||this.dimXAxis.additionalPaddingXLabels(n);var u=function(){a.translateX=c+e.datalabelsCoords.width,a.gridHeight=a.svgHeight-e.lgRect.height-h-(e.isSparkline||t.config.chart.type==="treemap"?0:t.globals.rotateXLabels?10:15),a.gridWidth=a.svgWidth-c-2*e.datalabelsCoords.width};switch(t.config.xaxis.position==="top"&&(d=a.xAxisHeight-t.config.xaxis.axisTicks.height-5),t.config.legend.position){case"bottom":a.translateY=d,u();break;case"top":a.translateY=this.lgRect.height+d,u();break;case"left":a.translateY=d,a.translateX=this.lgRect.width+c+this.datalabelsCoords.width,a.gridHeight=a.svgHeight-h-12,a.gridWidth=a.svgWidth-this.lgRect.width-c-2*this.datalabelsCoords.width;break;case"right":a.translateY=d,a.translateX=c+this.datalabelsCoords.width,a.gridHeight=a.svgHeight-h-12,a.gridWidth=a.svgWidth-this.lgRect.width-c-2*this.datalabelsCoords.width-5;break;default:throw new Error("Legend position not supported")}this.dimGrid.setGridXPosForDualYAxis(r,i),new Ws(this.ctx).setYAxisXPosition(i,r)}},{key:"setDimensionsForNonAxisCharts",value:function(){var e=this.w,t=e.globals,a=e.config,i=0;e.config.legend.show&&!e.config.legend.floating&&(i=20);var r=a.chart.type==="pie"||a.chart.type==="polarArea"||a.chart.type==="donut"?"pie":"radialBar",n=a.plotOptions[r].offsetY,o=a.plotOptions[r].offsetX;if(!a.legend.show||a.legend.floating){t.gridHeight=t.svgHeight;var l=t.dom.elWrap.getBoundingClientRect().width;return t.gridWidth=Math.min(l,t.gridHeight),t.translateY=n,void(t.translateX=o+(t.svgWidth-t.gridWidth)/2)}switch(a.legend.position){case"bottom":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=n-10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"top":t.gridHeight=t.svgHeight-this.lgRect.height,t.gridWidth=t.svgWidth,t.translateY=this.lgRect.height+n+10,t.translateX=o+(t.svgWidth-t.gridWidth)/2;break;case"left":t.gridWidth=t.svgWidth-this.lgRect.width-i,t.gridHeight=a.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=n,t.translateX=o+this.lgRect.width+i;break;case"right":t.gridWidth=t.svgWidth-this.lgRect.width-i-5,t.gridHeight=a.chart.height!=="auto"?t.svgHeight:t.gridWidth,t.translateY=n,t.translateX=o+10;break;default:throw new Error("Legend position not supported")}}},{key:"conditionalChecksForAxisCoords",value:function(e,t,a){var i=this.w,r=i.globals.hasXaxisGroups?2:1,n=a.height+e.height+t.height,o=i.globals.isMultiLineX?1.2:i.globals.LINE_HEIGHT_RATIO,l=i.globals.rotateXLabels?22:10,c=i.globals.rotateXLabels&&i.config.legend.position==="bottom"?10:0;this.xAxisHeight=n*o+r*l+c,this.xAxisWidth=e.width,this.xAxisHeight-t.height>i.config.xaxis.labels.maxHeight&&(this.xAxisHeight=i.config.xaxis.labels.maxHeight),i.config.xaxis.labels.minHeight&&this.xAxisHeight<i.config.xaxis.labels.minHeight&&(this.xAxisHeight=i.config.xaxis.labels.minHeight),i.config.xaxis.floating&&(this.xAxisHeight=0);var h=0,d=0;i.config.yaxis.forEach((function(u){h+=u.labels.minWidth,d+=u.labels.maxWidth})),this.yAxisWidth<h&&(this.yAxisWidth=h),this.yAxisWidth>d&&(this.yAxisWidth=d)}}]),s})(),id=(function(){function s(e){N(this,s),this.w=e.w,this.lgCtx=e}return V(s,[{key:"getLegendStyles",value:function(){var e,t,a,i=document.createElement("style");i.setAttribute("type","text/css");var r=((e=this.lgCtx.ctx)===null||e===void 0||(t=e.opts)===null||t===void 0||(a=t.chart)===null||a===void 0?void 0:a.nonce)||this.w.config.chart.nonce;r&&i.setAttribute("nonce",r);var n=document.createTextNode(ho);return i.appendChild(n),i}},{key:"getLegendDimensions",value:function(){var e=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),t=e.width;return{clwh:e.height,clww:t}}},{key:"appendToForeignObject",value:function(){var e=this.w.globals;this.w.config.chart.injectStyleSheet!==!1&&e.dom.elLegendForeign.appendChild(this.getLegendStyles())}},{key:"toggleDataSeries",value:function(e,t){var a=this,i=this.w;if(i.globals.axisCharts||i.config.chart.type==="radialBar"){i.globals.resized=!0;var r=null,n=null;i.globals.risingSeries=[],i.globals.axisCharts?(r=i.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"']")),n=parseInt(r.getAttribute("data:realIndex"),10)):(r=i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(e+1,"']")),n=parseInt(r.getAttribute("rel"),10)-1),t?[{cs:i.globals.collapsedSeries,csi:i.globals.collapsedSeriesIndices},{cs:i.globals.ancillaryCollapsedSeries,csi:i.globals.ancillaryCollapsedSeriesIndices}].forEach((function(h){a.riseCollapsedSeries(h.cs,h.csi,n)})):this.hideSeries({seriesEl:r,realIndex:n})}else{var o=i.globals.dom.Paper.findOne(" .apexcharts-series[rel='".concat(e+1,"'] path")),l=i.config.chart.type;if(l==="pie"||l==="polarArea"||l==="donut"){var c=i.config.plotOptions.pie.donut.labels;new E(this.lgCtx.ctx).pathMouseDown(o,null),this.lgCtx.ctx.pie.printDataLabelsInner(o.node,c)}o.fire("click")}}},{key:"getSeriesAfterCollapsing",value:function(e){var t=e.realIndex,a=this.w,i=a.globals,r=L.clone(a.config.series);if(i.axisCharts){var n=a.config.yaxis[i.seriesYAxisReverseMap[t]],o={index:t,data:r[t].data.slice(),type:r[t].type||a.config.chart.type};if(n&&n.show&&n.showAlways)i.ancillaryCollapsedSeriesIndices.indexOf(t)<0&&(i.ancillaryCollapsedSeries.push(o),i.ancillaryCollapsedSeriesIndices.push(t));else if(i.collapsedSeriesIndices.indexOf(t)<0){i.collapsedSeries.push(o),i.collapsedSeriesIndices.push(t);var l=i.risingSeries.indexOf(t);i.risingSeries.splice(l,1)}}else i.collapsedSeries.push({index:t,data:r[t]}),i.collapsedSeriesIndices.push(t);return i.allSeriesCollapsed=i.collapsedSeries.length+i.ancillaryCollapsedSeries.length===a.config.series.length,this._getSeriesBasedOnCollapsedState(r)}},{key:"hideSeries",value:function(e){for(var t=e.seriesEl,a=e.realIndex,i=this.w,r=this.getSeriesAfterCollapsing({realIndex:a}),n=t.childNodes,o=0;o<n.length;o++)n[o].classList.contains("apexcharts-series-markers-wrap")&&(n[o].classList.contains("apexcharts-hide")?n[o].classList.remove("apexcharts-hide"):n[o].classList.add("apexcharts-hide"));this.lgCtx.ctx.updateHelpers._updateSeries(r,i.config.chart.animations.dynamicAnimation.enabled)}},{key:"riseCollapsedSeries",value:function(e,t,a){var i=this.w,r=L.clone(i.config.series);if(e.length>0){for(var n=0;n<e.length;n++)e[n].index===a&&(i.globals.axisCharts?r[a].data=e[n].data.slice():r[a]=e[n].data,typeof r[a]!="number"&&(r[a].hidden=!1),e.splice(n,1),t.splice(n,1),i.globals.risingSeries.push(a));r=this._getSeriesBasedOnCollapsedState(r),this.lgCtx.ctx.updateHelpers._updateSeries(r,i.config.chart.animations.dynamicAnimation.enabled)}}},{key:"_getSeriesBasedOnCollapsedState",value:function(e){var t=this.w,a=0;return t.globals.axisCharts?e.forEach((function(i,r){t.globals.collapsedSeriesIndices.indexOf(r)<0&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(r)<0||(e[r].data=[],a++)})):e.forEach((function(i,r){!t.globals.collapsedSeriesIndices.indexOf(r)<0&&(e[r]=0,a++)})),t.globals.allSeriesCollapsed=a===e.length,e}}]),s})(),fo=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this),this.isBarsDistributed=this.w.config.chart.type==="bar"&&this.w.config.plotOptions.bar.distributed&&this.w.config.series.length===1,this.legendHelpers=new id(this)}return V(s,[{key:"init",value:function(){var e=this.w,t=e.globals,a=e.config,i=a.legend.showForSingleSeries&&t.series.length===1||this.isBarsDistributed||t.series.length>1;if(this.legendHelpers.appendToForeignObject(),(i||!t.axisCharts)&&a.legend.show){for(;t.dom.elLegendWrap.firstChild;)t.dom.elLegendWrap.removeChild(t.dom.elLegendWrap.firstChild);this.drawLegends(),a.legend.position==="bottom"||a.legend.position==="top"?this.legendAlignHorizontal():a.legend.position!=="right"&&a.legend.position!=="left"||this.legendAlignVertical()}}},{key:"createLegendMarker",value:function(e){var t=e.i,a=e.fillcolor,i=this.w,r=document.createElement("span");r.classList.add("apexcharts-legend-marker");var n=i.config.legend.markers.shape||i.config.markers.shape,o=n;Array.isArray(n)&&(o=n[t]);var l=Array.isArray(i.config.legend.markers.size)?parseFloat(i.config.legend.markers.size[t]):parseFloat(i.config.legend.markers.size),c=Array.isArray(i.config.legend.markers.offsetX)?parseFloat(i.config.legend.markers.offsetX[t]):parseFloat(i.config.legend.markers.offsetX),h=Array.isArray(i.config.legend.markers.offsetY)?parseFloat(i.config.legend.markers.offsetY[t]):parseFloat(i.config.legend.markers.offsetY),d=Array.isArray(i.config.legend.markers.strokeWidth)?parseFloat(i.config.legend.markers.strokeWidth[t]):parseFloat(i.config.legend.markers.strokeWidth),u=r.style;if(u.height=2*(l+d)+"px",u.width=2*(l+d)+"px",u.left=c+"px",u.top=h+"px",i.config.legend.markers.customHTML)u.background="transparent",u.color=a[t],Array.isArray(i.config.legend.markers.customHTML)?i.config.legend.markers.customHTML[t]&&(r.innerHTML=i.config.legend.markers.customHTML[t]()):r.innerHTML=i.config.legend.markers.customHTML();else{var g=new Jt(this.ctx).getMarkerConfig({cssClass:"apexcharts-legend-marker apexcharts-marker apexcharts-marker-".concat(o),seriesIndex:t,strokeWidth:d,size:l}),p=window.SVG().addTo(r).size("100%","100%"),f=new E(this.ctx).drawMarker(0,0,F(F({},g),{},{pointFillColor:Array.isArray(a)?a[t]:g.pointFillColor,shape:o}));i.globals.dom.Paper.find(".apexcharts-legend-marker.apexcharts-marker").forEach((function(m){m.node.classList.contains("apexcharts-marker-triangle")?m.node.style.transform="translate(50%, 45%)":m.node.style.transform="translate(50%, 50%)"})),p.add(f)}return r}},{key:"drawLegends",value:function(){var e=this,t=this,a=this.w,i=a.config.legend.fontFamily,r=a.globals.seriesNames,n=a.config.legend.markers.fillColors?a.config.legend.markers.fillColors.slice():a.globals.colors.slice();if(a.config.chart.type==="heatmap"){var o=a.config.plotOptions.heatmap.colorScale.ranges;r=o.map((function(g){return g.name?g.name:g.from+" - "+g.to})),n=o.map((function(g){return g.color}))}else this.isBarsDistributed&&(r=a.globals.labels.slice());a.config.legend.customLegendItems.length&&(r=a.config.legend.customLegendItems);var l=a.globals.legendFormatter,c=a.config.legend.inverseOrder,h=[];a.globals.seriesGroups.length>1&&a.config.legend.clusterGroupedSeries&&a.globals.seriesGroups.forEach((function(g,p){h[p]=document.createElement("div"),h[p].classList.add("apexcharts-legend-group","apexcharts-legend-group-".concat(p)),a.config.legend.clusterGroupedSeriesOrientation==="horizontal"?a.globals.dom.elLegendWrap.classList.add("apexcharts-legend-group-horizontal"):h[p].classList.add("apexcharts-legend-group-vertical")}));for(var d=function(g){var p,f=l(r[g],{seriesIndex:g,w:a}),m=!1,v=!1;if(a.globals.collapsedSeries.length>0)for(var b=0;b<a.globals.collapsedSeries.length;b++)a.globals.collapsedSeries[b].index===g&&(m=!0);if(a.globals.ancillaryCollapsedSeriesIndices.length>0)for(var w=0;w<a.globals.ancillaryCollapsedSeriesIndices.length;w++)a.globals.ancillaryCollapsedSeriesIndices[w]===g&&(v=!0);var k=e.createLegendMarker({i:g,fillcolor:n});E.setAttrs(k,{rel:g+1,"data:collapsed":m||v}),(m||v)&&k.classList.add("apexcharts-inactive-legend");var y=document.createElement("div"),A=document.createElement("span");A.classList.add("apexcharts-legend-text"),A.innerHTML=Array.isArray(f)?f.join(" "):f;var C=a.config.legend.labels.useSeriesColors?a.globals.colors[g]:Array.isArray(a.config.legend.labels.colors)?(p=a.config.legend.labels.colors)===null||p===void 0?void 0:p[g]:a.config.legend.labels.colors;C||(C=a.config.chart.foreColor),A.style.color=C,A.style.fontSize=parseFloat(a.config.legend.fontSize)+"px",A.style.fontWeight=a.config.legend.fontWeight,A.style.fontFamily=i||a.config.chart.fontFamily,E.setAttrs(A,{rel:g+1,i:g,"data:default-text":encodeURIComponent(f),"data:collapsed":m||v}),y.appendChild(k),y.appendChild(A);var S=new Ae(e.ctx);a.config.legend.showForZeroSeries||S.getSeriesTotalByIndex(g)===0&&S.seriesHaveSameValues(g)&&!S.isSeriesNull(g)&&a.globals.collapsedSeriesIndices.indexOf(g)===-1&&a.globals.ancillaryCollapsedSeriesIndices.indexOf(g)===-1&&y.classList.add("apexcharts-hidden-zero-series"),a.config.legend.showForNullSeries||S.isSeriesNull(g)&&a.globals.collapsedSeriesIndices.indexOf(g)===-1&&a.globals.ancillaryCollapsedSeriesIndices.indexOf(g)===-1&&y.classList.add("apexcharts-hidden-null-series"),h.length?a.globals.seriesGroups.forEach((function(M,I){var R;M.includes((R=a.config.series[g])===null||R===void 0?void 0:R.name)&&(a.globals.dom.elLegendWrap.appendChild(h[I]),h[I].appendChild(y))})):a.globals.dom.elLegendWrap.appendChild(y),a.globals.dom.elLegendWrap.classList.add("apexcharts-align-".concat(a.config.legend.horizontalAlign)),a.globals.dom.elLegendWrap.classList.add("apx-legend-position-"+a.config.legend.position),y.classList.add("apexcharts-legend-series"),y.style.margin="".concat(a.config.legend.itemMargin.vertical,"px ").concat(a.config.legend.itemMargin.horizontal,"px"),a.globals.dom.elLegendWrap.style.width=a.config.legend.width?a.config.legend.width+"px":"",a.globals.dom.elLegendWrap.style.height=a.config.legend.height?a.config.legend.height+"px":"",E.setAttrs(y,{rel:g+1,seriesName:L.escapeString(r[g]),"data:collapsed":m||v}),(m||v)&&y.classList.add("apexcharts-inactive-legend"),a.config.legend.onItemClick.toggleDataSeries||y.classList.add("apexcharts-no-click")},u=c?r.length-1:0;c?u>=0:u<=r.length-1;c?u--:u++)d(u);a.globals.dom.elWrap.addEventListener("click",t.onLegendClick,!0),a.config.legend.onItemHover.highlightDataSeries&&a.config.legend.customLegendItems.length===0&&(a.globals.dom.elWrap.addEventListener("mousemove",t.onLegendHovered,!0),a.globals.dom.elWrap.addEventListener("mouseout",t.onLegendHovered,!0))}},{key:"setLegendWrapXY",value:function(e,t){var a=this.w,i=a.globals.dom.elLegendWrap,r=i.clientHeight,n=0,o=0;if(a.config.legend.position==="bottom")o=a.globals.svgHeight-Math.min(r,a.globals.svgHeight/2)-5;else if(a.config.legend.position==="top"){var l=new ti(this.ctx),c=l.dimHelpers.getTitleSubtitleCoords("title").height,h=l.dimHelpers.getTitleSubtitleCoords("subtitle").height;o=(c>0?c-10:0)+(h>0?h-10:0)}i.style.position="absolute",n=n+e+a.config.legend.offsetX,o=o+t+a.config.legend.offsetY,i.style.left=n+"px",i.style.top=o+"px",a.config.legend.position==="right"&&(i.style.left="auto",i.style.right=25+a.config.legend.offsetX+"px"),["width","height"].forEach((function(d){i.style[d]&&(i.style[d]=parseInt(a.config.legend[d],10)+"px")}))}},{key:"legendAlignHorizontal",value:function(){var e=this.w;e.globals.dom.elLegendWrap.style.right=0;var t=new ti(this.ctx),a=t.dimHelpers.getTitleSubtitleCoords("title"),i=t.dimHelpers.getTitleSubtitleCoords("subtitle"),r=0;e.config.legend.position==="top"&&(r=a.height+i.height+e.config.title.margin+e.config.subtitle.margin-10),this.setLegendWrapXY(20,r)}},{key:"legendAlignVertical",value:function(){var e=this.w,t=this.legendHelpers.getLegendDimensions(),a=0;e.config.legend.position==="left"&&(a=20),e.config.legend.position==="right"&&(a=e.globals.svgWidth-t.clww-10),this.setLegendWrapXY(a,20)}},{key:"onLegendHovered",value:function(e){var t=this.w,a=e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker");if(t.config.chart.type==="heatmap"||this.isBarsDistributed){if(a){var i=parseInt(e.target.getAttribute("rel"),10)-1;this.ctx.events.fireEvent("legendHover",[this.ctx,i,this.w]),new Ze(this.ctx).highlightRangeInSeries(e,e.target)}}else!e.target.classList.contains("apexcharts-inactive-legend")&&a&&new Ze(this.ctx).toggleSeriesOnHover(e,e.target)}},{key:"onLegendClick",value:function(e){var t=this.w;if(!t.config.legend.customLegendItems.length&&(e.target.classList.contains("apexcharts-legend-series")||e.target.classList.contains("apexcharts-legend-text")||e.target.classList.contains("apexcharts-legend-marker"))){var a=parseInt(e.target.getAttribute("rel"),10)-1,i=e.target.getAttribute("data:collapsed")==="true",r=this.w.config.chart.events.legendClick;typeof r=="function"&&r(this.ctx,a,this.w),this.ctx.events.fireEvent("legendClick",[this.ctx,a,this.w]);var n=this.w.config.legend.markers.onClick;typeof n=="function"&&e.target.classList.contains("apexcharts-legend-marker")&&(n(this.ctx,a,this.w),this.ctx.events.fireEvent("legendMarkerClick",[this.ctx,a,this.w])),t.config.chart.type!=="treemap"&&t.config.chart.type!=="heatmap"&&!this.isBarsDistributed&&t.config.legend.onItemClick.toggleDataSeries&&this.legendHelpers.toggleDataSeries(a,i)}}}]),s})(),po=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w;var t=this.w;this.ev=this.w.config.chart.events,this.selectedClass="apexcharts-selected",this.localeValues=this.w.globals.locale.toolbar,this.minX=t.globals.minX,this.maxX=t.globals.maxX}return V(s,[{key:"createToolbar",value:function(){var e=this,t=this.w,a=function(){return document.createElement("div")},i=a();if(i.setAttribute("class","apexcharts-toolbar"),i.style.top=t.config.chart.toolbar.offsetY+"px",i.style.right=3-t.config.chart.toolbar.offsetX+"px",t.globals.dom.elWrap.appendChild(i),this.elZoom=a(),this.elZoomIn=a(),this.elZoomOut=a(),this.elPan=a(),this.elSelection=a(),this.elZoomReset=a(),this.elMenuIcon=a(),this.elMenu=a(),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var r=0;r<this.t.customIcons.length;r++)this.elCustomIcons.push(a());var n=[],o=function(d,u,g){var p=d.toLowerCase();e.t[p]&&t.config.chart.zoom.enabled&&n.push({el:u,icon:typeof e.t[p]=="string"?e.t[p]:g,title:e.localeValues[d],class:"apexcharts-".concat(p,"-icon")})};o("zoomIn",this.elZoomIn,`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
131
131
|
<path d="M0 0h24v24H0z" fill="none"/>
|
|
132
132
|
<path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
|
|
133
133
|
</svg>
|
|
@@ -153,10 +153,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
153
153
|
</svg>`,title:this.localeValues.pan,class:"apexcharts-pan-icon"}),o("reset",this.elZoomReset,`<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
154
154
|
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
|
|
155
155
|
<path d="M0 0h24v24H0z" fill="none"/>
|
|
156
|
-
</svg>`),this.t.download&&n.push({el:this.elMenuIcon,icon:typeof this.t.download=="string"?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var c=0;c<this.elCustomIcons.length;c++)n.push({el:this.elCustomIcons[c],icon:this.t.customIcons[c].icon,title:this.t.customIcons[c].title,index:this.t.customIcons[c].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[c].class});n.forEach((function(d,u){d.index&&L.moveIndexInArray(n,u,d.index)}));for(var h=0;h<n.length;h++)E.setAttrs(n[h].el,{class:n[h].class,title:n[h].title}),n[h].el.innerHTML=n[h].icon,i.appendChild(n[h].el);this._createHamburgerMenu(i),t.globals.zoomEnabled?this.elZoom.classList.add(this.selectedClass):t.globals.panEnabled?this.elPan.classList.add(this.selectedClass):t.globals.selectionEnabled&&this.elSelection.classList.add(this.selectedClass),this.addToolbarEventListeners()}},{key:"_createHamburgerMenu",value:function(e){this.elMenuItems=[],e.appendChild(this.elMenu),E.setAttrs(this.elMenu,{class:"apexcharts-menu"});for(var t=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG},{name:"exportCSV",title:this.localeValues.exportToCSV}],a=0;a<t.length;a++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[a].innerHTML=t[a].title,E.setAttrs(this.elMenuItems[a],{class:"apexcharts-menu-item ".concat(t[a].name),title:t[a].title}),this.elMenu.appendChild(this.elMenuItems[a])}},{key:"addToolbarEventListeners",value:function(){var e=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleZoomSelection.bind(this,"selection")),this.elZoom.addEventListener("click",this.toggleZoomSelection.bind(this,"zoom")),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach((function(a){a.classList.contains("exportSVG")?a.addEventListener("click",e.handleDownload.bind(e,"svg")):a.classList.contains("exportPNG")?a.addEventListener("click",e.handleDownload.bind(e,"png")):a.classList.contains("exportCSV")&&a.addEventListener("click",e.handleDownload.bind(e,"csv"))}));for(var t=0;t<this.t.customIcons.length;t++)this.elCustomIcons[t].addEventListener("click",this.t.customIcons[t].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleZoomSelection",value:function(e){this.ctx.getSyncedCharts().forEach((function(t){t.ctx.toolbar.toggleOtherControls();var a=e==="selection"?t.ctx.toolbar.elSelection:t.ctx.toolbar.elZoom,i=e==="selection"?"selectionEnabled":"zoomEnabled";t.w.globals[i]=!t.w.globals[i],a.classList.contains(t.ctx.toolbar.selectedClass)?a.classList.remove(t.ctx.toolbar.selectedClass):a.classList.add(t.ctx.toolbar.selectedClass)}))}},{key:"getToolbarIconsReference",value:function(){var e=this.w;this.elZoom||(this.elZoom=e.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=e.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=e.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZoomPanFromToolbar",value:function(e){this.toggleOtherControls(),e==="pan"?this.w.globals.panEnabled=!0:this.w.globals.zoomEnabled=!0;var t=e==="pan"?this.elPan:this.elZoom,a=e==="pan"?this.elZoom:this.elPan;t&&t.classList.add(this.selectedClass),a&&a.classList.remove(this.selectedClass)}},{key:"togglePanning",value:function(){this.ctx.getSyncedCharts().forEach((function(e){e.ctx.toolbar.toggleOtherControls(),e.w.globals.panEnabled=!e.w.globals.panEnabled,e.ctx.toolbar.elPan.classList.contains(e.ctx.toolbar.selectedClass)?e.ctx.toolbar.elPan.classList.remove(e.ctx.toolbar.selectedClass):e.ctx.toolbar.elPan.classList.add(e.ctx.toolbar.selectedClass)}))}},{key:"toggleOtherControls",value:function(){var e=this,t=this.w;t.globals.panEnabled=!1,t.globals.zoomEnabled=!1,t.globals.selectionEnabled=!1,this.getToolbarIconsReference(),[this.elPan,this.elSelection,this.elZoom].forEach((function(a){a&&a.classList.remove(e.selectedClass)}))}},{key:"handleZoomIn",value:function(){var e=this.w;e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY);var t=(this.minX+this.maxX)/2,a=(this.minX+t)/2,i=(this.maxX+t)/2,r=this._getNewMinXMaxX(a,i);e.globals.disableZoomIn||this.zoomUpdateOptions(r.minX,r.maxX)}},{key:"handleZoomOut",value:function(){var e=this.w;if(e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY),!(e.config.xaxis.type==="datetime"&&new Date(this.minX).getUTCFullYear()<1e3)){var t=(this.minX+this.maxX)/2,a=this.minX-(t-this.minX),i=this.maxX-(t-this.maxX),r=this._getNewMinXMaxX(a,i);e.globals.disableZoomOut||this.zoomUpdateOptions(r.minX,r.maxX)}}},{key:"_getNewMinXMaxX",value:function(e,t){var a=this.w.config.xaxis.convertedCatToNumeric;return{minX:a?Math.floor(e):e,maxX:a?Math.floor(t):t}}},{key:"zoomUpdateOptions",value:function(e,t){var a=this.w;if(e!==void 0||t!==void 0){if(!(a.config.xaxis.convertedCatToNumeric&&(e<1&&(e=1,t=a.globals.dataPoints),t-e<2))){var i={min:e,max:t},r=this.getBeforeZoomRange(i);r&&(i=r.xaxis);var n={xaxis:i},o=L.clone(a.globals.initialConfig.yaxis);a.config.chart.group||(n.yaxis=o),this.w.globals.zoomed=!0,this.ctx.updateHelpers._updateOptions(n,!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback(i,o)}}else this.handleZoomReset()}},{key:"zoomCallback",value:function(e,t){typeof this.ev.zoomed=="function"&&(this.ev.zoomed(this.ctx,{xaxis:e,yaxis:t}),this.ctx.events.fireEvent("zoomed",{xaxis:e,yaxis:t}))}},{key:"getBeforeZoomRange",value:function(e,t){var a=null;return typeof this.ev.beforeZoom=="function"&&(a=this.ev.beforeZoom(this,{xaxis:e,yaxis:t})),a}},{key:"toggleMenu",value:function(){var e=this;window.setTimeout((function(){e.elMenu.classList.contains("apexcharts-menu-open")?e.elMenu.classList.remove("apexcharts-menu-open"):e.elMenu.classList.add("apexcharts-menu-open")}),0)}},{key:"handleDownload",value:function(e){var t=this.w,a=new la(this.ctx);switch(e){case"svg":a.exportToSVG(this.ctx);break;case"png":a.exportToPng(this.ctx);break;case"csv":a.exportToCSV({series:t.config.series,columnDelimiter:t.config.chart.toolbar.export.csv.columnDelimiter})}}},{key:"handleZoomReset",value:function(e){this.ctx.getSyncedCharts().forEach((function(t){var a=t.w;if(a.globals.lastXAxis.min=a.globals.initialConfig.xaxis.min,a.globals.lastXAxis.max=a.globals.initialConfig.xaxis.max,t.updateHelpers.revertDefaultAxisMinMax(),typeof a.config.chart.events.beforeResetZoom=="function"){var i=a.config.chart.events.beforeResetZoom(t,a);i&&t.updateHelpers.revertDefaultAxisMinMax(i)}typeof a.config.chart.events.zoomed=="function"&&t.ctx.toolbar.zoomCallback({min:a.config.xaxis.min,max:a.config.xaxis.max}),a.globals.zoomed=!1;var r=t.ctx.series.emptyCollapsedSeries(L.clone(a.globals.initialSeries));t.updateHelpers._updateSeries(r,a.config.chart.animations.dynamicAnimation.enabled)}))}},{key:"destroy",value:function(){this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),s})(),sd=(function(s){wa(t,fo);var e=ya(t);function t(a){var i;return N(this,t),(i=e.call(this,a)).ctx=a,i.w=a.w,i.dragged=!1,i.graphics=new E(i.ctx),i.eventList=["mousedown","mouseleave","mousemove","touchstart","touchmove","mouseup","touchend","wheel"],i.clientX=0,i.clientY=0,i.startX=0,i.endX=0,i.dragX=0,i.startY=0,i.endY=0,i.dragY=0,i.moveDirection="none",i.debounceTimer=null,i.debounceDelay=100,i.wheelDelay=400,i}return V(t,[{key:"init",value:function(a){var i=this,r=a.xyRatios,n=this.w,o=this;this.xyRatios=r,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=n.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.constraints=new ke(0,0,n.globals.gridWidth,n.globals.gridHeight),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),n.globals.dom.Paper.add(this.zoomRect),n.globals.dom.Paper.add(this.selectionRect),n.config.chart.selection.type==="x"?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:n.globals.gridWidth,maxY:n.globals.gridHeight}).on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")):n.config.chart.selection.type==="y"?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:n.globals.gridWidth}).on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=n.globals.dom.baseEl.querySelector("".concat(n.globals.chartClass," .apexcharts-svg")),this.hoverArea.classList.add("apexcharts-zoomable"),this.eventList.forEach((function(l){i.hoverArea.addEventListener(l,o.svgMouseEvents.bind(o,r),{capture:!1,passive:!0})})),n.config.chart.zoom.enabled&&n.config.chart.zoom.allowMouseWheelZoom&&this.hoverArea.addEventListener("wheel",o.mouseWheelEvent.bind(o),{capture:!1,passive:!1})}},{key:"destroy",value:function(){this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(a,i){var r=this.w,n=this.ctx.toolbar,o=r.globals.zoomEnabled?r.config.chart.zoom.type:r.config.chart.selection.type,l=r.config.chart.toolbar.autoSelected;if(i.shiftKey?(this.shiftWasPressed=!0,n.enableZoomPanFromToolbar(l==="pan"?"zoom":"pan")):this.shiftWasPressed&&(n.enableZoomPanFromToolbar(l),this.shiftWasPressed=!1),i.target){var c,h=i.target.classList;if(i.target.parentNode&&i.target.parentNode!==null&&(c=i.target.parentNode.classList),!(h.contains("apexcharts-legend-marker")||h.contains("apexcharts-legend-text")||c&&c.contains("apexcharts-toolbar"))){if(this.clientX=i.type==="touchmove"||i.type==="touchstart"?i.touches[0].clientX:i.type==="touchend"?i.changedTouches[0].clientX:i.clientX,this.clientY=i.type==="touchmove"||i.type==="touchstart"?i.touches[0].clientY:i.type==="touchend"?i.changedTouches[0].clientY:i.clientY,i.type==="mousedown"&&i.which===1||i.type==="touchstart"){var d=this.gridRect.getBoundingClientRect();this.startX=this.clientX-d.left-r.globals.barPadForNumericAxis,this.startY=this.clientY-d.top,this.dragged=!1,this.w.globals.mousedown=!0}(i.type==="mousemove"&&i.which===1||i.type==="touchmove")&&(this.dragged=!0,r.globals.panEnabled?(r.globals.selection=null,this.w.globals.mousedown&&this.panDragging({context:this,zoomtype:o,xyRatios:a})):(this.w.globals.mousedown&&r.globals.zoomEnabled||this.w.globals.mousedown&&r.globals.selectionEnabled)&&(this.selection=this.selectionDrawing({context:this,zoomtype:o}))),i.type!=="mouseup"&&i.type!=="touchend"&&i.type!=="mouseleave"||this.handleMouseUp({zoomtype:o}),this.makeSelectionRectDraggable()}}}},{key:"handleMouseUp",value:function(a){var i,r=a.zoomtype,n=a.isResized,o=this.w,l=(i=this.gridRect)===null||i===void 0?void 0:i.getBoundingClientRect();l&&(this.w.globals.mousedown||n)&&(this.endX=this.clientX-l.left-o.globals.barPadForNumericAxis,this.endY=this.clientY-l.top,this.dragX=Math.abs(this.endX-this.startX),this.dragY=Math.abs(this.endY-this.startY),(o.globals.zoomEnabled||o.globals.selectionEnabled)&&this.selectionDrawn({context:this,zoomtype:r})),o.globals.zoomEnabled&&this.hideSelectionRect(this.selectionRect),this.dragged=!1,this.w.globals.mousedown=!1}},{key:"mouseWheelEvent",value:function(a){var i=this,r=this.w;a.preventDefault();var n=Date.now();n-r.globals.lastWheelExecution>this.wheelDelay&&(this.executeMouseWheelZoom(a),r.globals.lastWheelExecution=n),this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((function(){n-r.globals.lastWheelExecution>i.wheelDelay&&(i.executeMouseWheelZoom(a),r.globals.lastWheelExecution=n)}),this.debounceDelay)}},{key:"executeMouseWheelZoom",value:function(a){var i,r=this.w;this.minX=r.globals.isRangeBar?r.globals.minY:r.globals.minX,this.maxX=r.globals.isRangeBar?r.globals.maxY:r.globals.maxX;var n=(i=this.gridRect)===null||i===void 0?void 0:i.getBoundingClientRect();if(n){var o,l,c,h=(a.clientX-n.left)/n.width,d=this.minX,u=this.maxX,g=u-d;if(a.deltaY<0){var p=d+h*g;l=p-(o=.5*g)/2,c=p+o/2}else l=d-(o=1.5*g)/2,c=u+o/2;if(!r.globals.isRangeBar){l=Math.max(l,r.globals.initialMinX),c=Math.min(c,r.globals.initialMaxX);var f=.01*(r.globals.initialMaxX-r.globals.initialMinX);if(c-l<f){var m=(l+c)/2;l=m-f/2,c=m+f/2}}var v=this._getNewMinXMaxX(l,c);isNaN(v.minX)||isNaN(v.maxX)||this.zoomUpdateOptions(v.minX,v.maxX)}}},{key:"makeSelectionRectDraggable",value:function(){var a=this,i=this.w;if(this.selectionRect){var r=this.selectionRect.node.getBoundingClientRect();r.width>0&&r.height>0&&(this.selectionRect.select(!1).resize(!1),this.selectionRect.select({createRot:function(){},updateRot:function(){},createHandle:function(n,o,l,c,h){return h==="l"||h==="r"?n.circle(8).css({"stroke-width":1,stroke:"#333",fill:"#fff"}):n.circle(0)},updateHandle:function(n,o){return n.center(o[0],o[1])}}).resize().on("resize",(function(){var n=i.globals.zoomEnabled?i.config.chart.zoom.type:i.config.chart.selection.type;a.handleMouseUp({zoomtype:n,isResized:!0})})))}}},{key:"preselectedSelection",value:function(){var a=this.w,i=this.xyRatios;if(!a.globals.zoomEnabled){if(a.globals.selection!==void 0&&a.globals.selection!==null)this.drawSelectionRect(F(F({},a.globals.selection),{},{translateX:a.globals.translateX,translateY:a.globals.translateY}));else if(a.config.chart.selection.xaxis.min!==void 0&&a.config.chart.selection.xaxis.max!==void 0){var r=(a.config.chart.selection.xaxis.min-a.globals.minX)/i.xRatio,n=a.globals.gridWidth-(a.globals.maxX-a.config.chart.selection.xaxis.max)/i.xRatio-r;a.globals.isRangeBar&&(r=(a.config.chart.selection.xaxis.min-a.globals.yAxisScale[0].niceMin)/i.invertedYRatio,n=(a.config.chart.selection.xaxis.max-a.config.chart.selection.xaxis.min)/i.invertedYRatio);var o={x:r,y:0,width:n,height:a.globals.gridHeight,translateX:a.globals.translateX,translateY:a.globals.translateY,selectionEnabled:!0};this.drawSelectionRect(o),this.makeSelectionRectDraggable(),typeof a.config.chart.events.selection=="function"&&a.config.chart.events.selection(this.ctx,{xaxis:{min:a.config.chart.selection.xaxis.min,max:a.config.chart.selection.xaxis.max},yaxis:{}})}}}},{key:"drawSelectionRect",value:function(a){var i=a.x,r=a.y,n=a.width,o=a.height,l=a.translateX,c=l===void 0?0:l,h=a.translateY,d=h===void 0?0:h,u=this.w,g=this.zoomRect,p=this.selectionRect;if(this.dragged||u.globals.selection!==null){var f={transform:"translate("+c+", "+d+")"};u.globals.zoomEnabled&&this.dragged&&(n<0&&(n=1),g.attr({x:i,y:r,width:n,height:o,fill:u.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":u.config.chart.zoom.zoomedArea.fill.opacity,stroke:u.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":u.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":u.config.chart.zoom.zoomedArea.stroke.opacity}),E.setAttrs(g.node,f)),u.globals.selectionEnabled&&(p.attr({x:i,y:r,width:n>0?n:0,height:o>0?o:0,fill:u.config.chart.selection.fill.color,"fill-opacity":u.config.chart.selection.fill.opacity,stroke:u.config.chart.selection.stroke.color,"stroke-width":u.config.chart.selection.stroke.width,"stroke-dasharray":u.config.chart.selection.stroke.dashArray,"stroke-opacity":u.config.chart.selection.stroke.opacity}),E.setAttrs(p.node,f))}}},{key:"hideSelectionRect",value:function(a){a&&a.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(a){var i=a.context,r=a.zoomtype,n=this.w,o=i,l=this.gridRect.getBoundingClientRect(),c=o.startX-1,h=o.startY,d=!1,u=!1,g=o.clientX-l.left-n.globals.barPadForNumericAxis,p=o.clientY-l.top,f=g-c,m=p-h,v={translateX:n.globals.translateX,translateY:n.globals.translateY};return Math.abs(f+c)>n.globals.gridWidth?f=n.globals.gridWidth-c:g<0&&(f=c),c>g&&(d=!0,f=Math.abs(f)),h>p&&(u=!0,m=Math.abs(m)),v=F(F({},v=r==="x"?{x:d?c-f:c,y:0,width:f,height:n.globals.gridHeight}:r==="y"?{x:0,y:u?h-m:h,width:n.globals.gridWidth,height:m}:{x:d?c-f:c,y:u?h-m:h,width:f,height:m}),{},{translateX:n.globals.translateX,translateY:n.globals.translateY}),o.drawSelectionRect(v),o.selectionDragging("resizing"),v}},{key:"selectionDragging",value:function(a,i){var r=this,n=this.w;if(i){i.preventDefault();var o=i.detail,l=o.handler,c=o.box,h=c.x,d=c.y;h<this.constraints.x&&(h=this.constraints.x),d<this.constraints.y&&(d=this.constraints.y),c.x2>this.constraints.x2&&(h=this.constraints.x2-c.w),c.y2>this.constraints.y2&&(d=this.constraints.y2-c.h),l.move(h,d);var u=this.xyRatios,g=this.selectionRect,p=0;a==="resizing"&&(p=30);var f=function(v){return parseFloat(g.node.getAttribute(v))},m={x:f("x"),y:f("y"),width:f("width"),height:f("height")};n.globals.selection=m,typeof n.config.chart.events.selection=="function"&&n.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout((function(){var v,b,w,k,y=r.gridRect.getBoundingClientRect(),A=g.node.getBoundingClientRect();n.globals.isRangeBar?(v=n.globals.yAxisScale[0].niceMin+(A.left-y.left)*u.invertedYRatio,b=n.globals.yAxisScale[0].niceMin+(A.right-y.left)*u.invertedYRatio,w=0,k=1):(v=n.globals.xAxisScale.niceMin+(A.left-y.left)*u.xRatio,b=n.globals.xAxisScale.niceMin+(A.right-y.left)*u.xRatio,w=n.globals.yAxisScale[0].niceMin+(y.bottom-A.bottom)*u.yRatio[0],k=n.globals.yAxisScale[0].niceMax-(A.top-y.top)*u.yRatio[0]);var C={xaxis:{min:v,max:b},yaxis:{min:w,max:k}};n.config.chart.events.selection(r.ctx,C),n.config.chart.brush.enabled&&n.config.chart.events.brushScrolled!==void 0&&n.config.chart.events.brushScrolled(r.ctx,C)}),p))}}},{key:"selectionDrawn",value:function(a){var i,r,n=a.context,o=a.zoomtype,l=this.w,c=n,h=this.xyRatios,d=this.ctx.toolbar,u=l.globals.zoomEnabled?c.zoomRect.node.getBoundingClientRect():c.selectionRect.node.getBoundingClientRect(),g=c.gridRect.getBoundingClientRect(),p=u.left-g.left-l.globals.barPadForNumericAxis,f=u.right-g.left-l.globals.barPadForNumericAxis,m=u.top-g.top,v=u.bottom-g.top;l.globals.isRangeBar?(i=l.globals.yAxisScale[0].niceMin+p*h.invertedYRatio,r=l.globals.yAxisScale[0].niceMin+f*h.invertedYRatio):(i=l.globals.xAxisScale.niceMin+p*h.xRatio,r=l.globals.xAxisScale.niceMin+f*h.xRatio);var b=[],w=[];if(l.config.yaxis.forEach((function(I,R){var P=l.globals.seriesYAxisMap[R][0],_=l.globals.yAxisScale[R].niceMax-h.yRatio[P]*m,O=l.globals.yAxisScale[R].niceMax-h.yRatio[P]*v;b.push(_),w.push(O)})),c.dragged&&(c.dragX>10||c.dragY>10)&&i!==r){if(l.globals.zoomEnabled){var k=L.clone(l.globals.initialConfig.yaxis),y=L.clone(l.globals.initialConfig.xaxis);if(l.globals.zoomed=!0,l.config.xaxis.convertedCatToNumeric&&(i=Math.floor(i),r=Math.floor(r),i<1&&(i=1,r=l.globals.dataPoints),r-i<2&&(r=i+1)),o!=="xy"&&o!=="x"||(y={min:i,max:r}),o!=="xy"&&o!=="y"||k.forEach((function(I,R){k[R].min=w[R],k[R].max=b[R]})),d){var A=d.getBeforeZoomRange(y,k);A&&(y=A.xaxis?A.xaxis:y,k=A.yaxis?A.yaxis:k)}var C={xaxis:y};l.config.chart.group||(C.yaxis=k),c.ctx.updateHelpers._updateOptions(C,!1,c.w.config.chart.animations.dynamicAnimation.enabled),typeof l.config.chart.events.zoomed=="function"&&d.zoomCallback(y,k)}else if(l.globals.selectionEnabled){var S,M=null;S={min:i,max:r},o!=="xy"&&o!=="y"||(M=L.clone(l.config.yaxis)).forEach((function(I,R){M[R].min=w[R],M[R].max=b[R]})),l.globals.selection=c.selection,typeof l.config.chart.events.selection=="function"&&l.config.chart.events.selection(c.ctx,{xaxis:S,yaxis:M})}}}},{key:"panDragging",value:function(a){var i=a.context,r=this.w,n=i;if(r.globals.lastClientPosition.x!==void 0){var o=r.globals.lastClientPosition.x-n.clientX,l=r.globals.lastClientPosition.y-n.clientY;Math.abs(o)>Math.abs(l)&&o>0?this.moveDirection="left":Math.abs(o)>Math.abs(l)&&o<0?this.moveDirection="right":Math.abs(l)>Math.abs(o)&&l>0?this.moveDirection="up":Math.abs(l)>Math.abs(o)&&l<0&&(this.moveDirection="down")}r.globals.lastClientPosition={x:n.clientX,y:n.clientY};var c=r.globals.isRangeBar?r.globals.minY:r.globals.minX,h=r.globals.isRangeBar?r.globals.maxY:r.globals.maxX;n.panScrolled(c,h)}},{key:"panScrolled",value:function(a,i){var r=this.w,n=this.xyRatios,o=L.clone(r.globals.initialConfig.yaxis),l=n.xRatio,c=r.globals.minX,h=r.globals.maxX;r.globals.isRangeBar&&(l=n.invertedYRatio,c=r.globals.minY,h=r.globals.maxY),this.moveDirection==="left"?(a=c+r.globals.gridWidth/15*l,i=h+r.globals.gridWidth/15*l):this.moveDirection==="right"&&(a=c-r.globals.gridWidth/15*l,i=h-r.globals.gridWidth/15*l),r.globals.isRangeBar||(a<r.globals.initialMinX||i>r.globals.initialMaxX)&&(a=c,i=h);var d={xaxis:{min:a,max:i}};r.config.chart.group||(d.yaxis=o),this.updateScrolledChart(d,a,i)}},{key:"updateScrolledChart",value:function(a,i,r){var n=this.w;if(this.ctx.updateHelpers._updateOptions(a,!1,!1),typeof n.config.chart.events.scrolled=="function"){var o={xaxis:{min:i,max:r}};n.config.chart.events.scrolled(this.ctx,o),this.ctx.events.fireEvent("scrolled",o)}}}]),t})(),po=(function(){function s(e){N(this,s),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx}return V(s,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,a=e.elGrid,i=e.clientX,r=e.clientY,n=this.w,o=a.getBoundingClientRect(),l=o.width,c=o.height,h=l/(n.globals.dataPoints-1),d=c/n.globals.dataPoints,u=this.hasBars();!n.globals.comboCharts&&!u||n.config.xaxis.convertedCatToNumeric||(h=l/n.globals.dataPoints);var g=i-o.left-n.globals.barPadForNumericAxis,p=r-o.top;g<0||p<0||g>l||p>c?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):n.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):n.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var f=Math.round(g/h),m=Math.floor(p/d);u&&!n.config.xaxis.convertedCatToNumeric&&(f=Math.ceil(g/h),f-=1);var v=null,b=null,w=n.globals.seriesXvalues.map((function(S){return S.filter((function(M){return L.isNumber(M)}))})),k=n.globals.seriesYvalues.map((function(S){return S.filter((function(M){return L.isNumber(M)}))}));if(n.globals.isXNumeric){var y=this.ttCtx.getElGrid().getBoundingClientRect(),A=g*(y.width/l),C=p*(y.height/c);v=(b=this.closestInMultiArray(A,C,w,k)).index,f=b.j,v!==null&&n.globals.hasNullValues&&(w=n.globals.seriesXvalues[v],f=(b=this.closestInArray(A,w)).j)}return n.globals.capturedSeriesIndex=v===null?-1:v,(!f||f<1)&&(f=0),n.globals.isBarHorizontal?n.globals.capturedDataPointIndex=m:n.globals.capturedDataPointIndex=f,{capturedSeries:v,j:n.globals.isBarHorizontal?m:f,hoverX:g,hoverY:p}}},{key:"getFirstActiveXArray",value:function(e){for(var t=this.w,a=0,i=e.map((function(n,o){return n.length>0?o:-1})),r=0;r<i.length;r++)if(i[r]!==-1&&t.globals.collapsedSeriesIndices.indexOf(r)===-1&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(r)===-1){a=i[r];break}return a}},{key:"closestInMultiArray",value:function(e,t,a,i){for(var r,n=this.w,o=1/0,l=null,c=null,h=0;h<a.length;h++)if(r=h,n.globals.collapsedSeriesIndices.indexOf(r)===-1&&n.globals.ancillaryCollapsedSeriesIndices.indexOf(r)===-1)for(var d=a[h],u=i[h],g=Math.min(d.length,u.length),p=0;p<g;p++){var f=e-d[p],m=Math.sqrt(f*f);if(!n.globals.allSeriesHasEqualX){var v=t-u[p];m=Math.sqrt(f*f+v*v)}m<o&&(o=m,l=h,c=p)}return{index:l,j:c}}},{key:"closestInArray",value:function(e,t){for(var a=t[0],i=null,r=Math.abs(e-a),n=0;n<t.length;n++){var o=Math.abs(e-t[n]);o<r&&(r=o,i=n)}return{j:i}}},{key:"isXoverlap",value:function(e){var t=[],a=this.w.globals.seriesX.filter((function(r){return r[0]!==void 0}));if(a.length>0)for(var i=0;i<a.length-1;i++)a[i][e]!==void 0&&a[i+1][e]!==void 0&&a[i][e]!==a[i+1][e]&&t.push("unEqual");return t.length===0}},{key:"isInitialSeriesSameLen",value:function(){for(var e=!0,t=this.w.globals.initialSeries,a=0;a<t.length-1;a++)if(t[a].data.length!==t[a+1].data.length){e=!1;break}return e}},{key:"getBarsHeight",value:function(e){return Re(e).reduce((function(t,a){return t+a.getBBox().height}),0)}},{key:"getElMarkers",value:function(e){return typeof e=="number"?this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-series-markers-wrap > *")):this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap > *")}},{key:"getAllMarkers",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0&&arguments[0],a=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap");a=Re(a),t&&(a=a.filter((function(r){var n=Number(r.getAttribute("data:realIndex"));return e.w.globals.collapsedSeriesIndices.indexOf(n)===-1}))),a.sort((function(r,n){var o=Number(r.getAttribute("data:realIndex")),l=Number(n.getAttribute("data:realIndex"));return l<o?1:l>o?-1:0}));var i=[];return a.forEach((function(r){i.push(r.querySelector(".apexcharts-marker"))})),i}},{key:"hasMarkers",value:function(e){return this.getElMarkers(e).length>0}},{key:"getPathFromPoint",value:function(e,t){var a=Number(e.getAttribute("cx")),i=Number(e.getAttribute("cy")),r=e.getAttribute("shape");return new E(this.ctx).getMarkerPath(a,i,r,t)}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-boxPlot-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(e){var t=this.w,a=t.config.markers.hover.size;return a===void 0&&(a=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),a}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,a=this.ttCtx;a.allTooltipSeriesGroups.length===0&&(a.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var i=a.allTooltipSeriesGroups,r=0;r<i.length;r++)e==="enable"?(i[r].classList.add("apexcharts-active"),i[r].style.display=t.config.tooltip.items.display):(i[r].classList.remove("apexcharts-active"),i[r].style.display="none")}}]),s})(),rd=(function(){function s(e){N(this,s),this.w=e.w,this.ctx=e.ctx,this.ttCtx=e,this.tooltipUtil=new po(e)}return V(s,[{key:"drawSeriesTexts",value:function(e){var t=e.shared,a=t===void 0||t,i=e.ttItems,r=e.i,n=r===void 0?0:r,o=e.j,l=o===void 0?null:o,c=e.y1,h=e.y2,d=e.e,u=this.w;u.config.tooltip.custom!==void 0?this.handleCustomTooltip({i:n,j:l,y1:c,y2:h,w:u}):this.toggleActiveInactiveSeries(a,n);var g=this.getValuesToPrint({i:n,j:l});this.printLabels({i:n,j:l,values:g,ttItems:i,shared:a,e:d});var p=this.ttCtx.getElTooltip();this.ttCtx.tooltipRect.ttWidth=p.getBoundingClientRect().width,this.ttCtx.tooltipRect.ttHeight=p.getBoundingClientRect().height}},{key:"printLabels",value:function(e){var t,a=this,i=e.i,r=e.j,n=e.values,o=e.ttItems,l=e.shared,c=e.e,h=this.w,d=[],u=function(y){return h.globals.seriesGoals[y]&&h.globals.seriesGoals[y][r]&&Array.isArray(h.globals.seriesGoals[y][r])},g=n.xVal,p=n.zVal,f=n.xAxisTTVal,m="",v=h.globals.colors[i];r!==null&&h.config.plotOptions.bar.distributed&&(v=h.globals.colors[r]);for(var b=function(y,A){var C=a.getFormatters(i);m=a.getSeriesName({fn:C.yLbTitleFormatter,index:i,seriesIndex:i,j:r}),h.config.chart.type==="treemap"&&(m=C.yLbTitleFormatter(String(h.config.series[i].data[r].x),{series:h.globals.series,seriesIndex:i,dataPointIndex:r,w:h}));var S=h.config.tooltip.inverseOrder?A:y;if(h.globals.axisCharts){var M=function(P){var _,O,H,T;return h.globals.isRangeData?C.yLbFormatter((_=h.globals.seriesRangeStart)===null||_===void 0||(O=_[P])===null||O===void 0?void 0:O[r],{series:h.globals.seriesRangeStart,seriesIndex:P,dataPointIndex:r,w:h})+" - "+C.yLbFormatter((H=h.globals.seriesRangeEnd)===null||H===void 0||(T=H[P])===null||T===void 0?void 0:T[r],{series:h.globals.seriesRangeEnd,seriesIndex:P,dataPointIndex:r,w:h}):C.yLbFormatter(h.globals.series[P][r],{series:h.globals.series,seriesIndex:P,dataPointIndex:r,w:h})};if(l)C=a.getFormatters(S),m=a.getSeriesName({fn:C.yLbTitleFormatter,index:S,seriesIndex:i,j:r}),v=h.globals.colors[S],t=M(S),u(S)&&(d=h.globals.seriesGoals[S][r].map((function(P){return{attrs:P,val:C.yLbFormatter(P.value,{seriesIndex:S,dataPointIndex:r,w:h})}})));else{var I,R=c==null||(I=c.target)===null||I===void 0?void 0:I.getAttribute("fill");R&&(R.indexOf("url")!==-1?R.indexOf("Pattern")!==-1&&(v=h.globals.dom.baseEl.querySelector(R.substr(4).slice(0,-1)).childNodes[0].getAttribute("stroke")):v=R),t=M(i),u(i)&&Array.isArray(h.globals.seriesGoals[i][r])&&(d=h.globals.seriesGoals[i][r].map((function(P){return{attrs:P,val:C.yLbFormatter(P.value,{seriesIndex:i,dataPointIndex:r,w:h})}})))}}r===null&&(t=C.yLbFormatter(h.globals.series[i],F(F({},h),{},{seriesIndex:i,dataPointIndex:i}))),a.DOMHandling({i,t:S,j:r,ttItems:o,values:{val:t,goalVals:d,xVal:g,xAxisTTVal:f,zVal:p},seriesName:m,shared:l,pColor:v})},w=0,k=h.globals.series.length-1;w<h.globals.series.length;w++,k--)b(w,k)}},{key:"getFormatters",value:function(e){var t,a=this.w,i=a.globals.yLabelFormatters[e];return a.globals.ttVal!==void 0?Array.isArray(a.globals.ttVal)?(i=a.globals.ttVal[e]&&a.globals.ttVal[e].formatter,t=a.globals.ttVal[e]&&a.globals.ttVal[e].title&&a.globals.ttVal[e].title.formatter):(i=a.globals.ttVal.formatter,typeof a.globals.ttVal.title.formatter=="function"&&(t=a.globals.ttVal.title.formatter)):t=a.config.tooltip.y.title.formatter,typeof i!="function"&&(i=a.globals.yLabelFormatters[0]?a.globals.yLabelFormatters[0]:function(r){return r}),typeof t!="function"&&(t=function(r){return r?r+": ":""}),{yLbFormatter:i,yLbTitleFormatter:t}}},{key:"getSeriesName",value:function(e){var t=e.fn,a=e.index,i=e.seriesIndex,r=e.j,n=this.w;return t(String(n.globals.seriesNames[a]),{series:n.globals.series,seriesIndex:i,dataPointIndex:r,w:n})}},{key:"DOMHandling",value:function(e){e.i;var t=e.t,a=e.j,i=e.ttItems,r=e.values,n=e.seriesName,o=e.shared,l=e.pColor,c=this.w,h=this.ttCtx,d=r.val,u=r.goalVals,g=r.xVal,p=r.xAxisTTVal,f=r.zVal,m=null;m=i[t].children,c.config.tooltip.fillSeriesColor&&(i[t].style.backgroundColor=l,m[0].style.display="none"),h.showTooltipTitle&&(h.tooltipTitle===null&&(h.tooltipTitle=c.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),h.tooltipTitle.innerHTML=g),h.isXAxisTooltipEnabled&&(h.xaxisTooltipText.innerHTML=p!==""?p:g);var v=i[t].querySelector(".apexcharts-tooltip-text-y-label");v&&(v.innerHTML=n||"");var b=i[t].querySelector(".apexcharts-tooltip-text-y-value");b&&(b.innerHTML=d!==void 0?d:""),m[0]&&m[0].classList.contains("apexcharts-tooltip-marker")&&(c.config.tooltip.marker.fillColors&&Array.isArray(c.config.tooltip.marker.fillColors)&&(l=c.config.tooltip.marker.fillColors[t]),c.config.tooltip.fillSeriesColor?m[0].style.backgroundColor=l:m[0].style.color=l),c.config.tooltip.marker.show||(m[0].style.display="none");var w=i[t].querySelector(".apexcharts-tooltip-text-goals-label"),k=i[t].querySelector(".apexcharts-tooltip-text-goals-value");if(u.length&&c.globals.seriesGoals[t]){var y=function(){var S="<div>",M="<div>";u.forEach((function(I,R){S+=' <div style="display: flex"><span class="apexcharts-tooltip-marker" style="background-color: '.concat(I.attrs.strokeColor,'; height: 3px; border-radius: 0; top: 5px;"></span> ').concat(I.attrs.name,"</div>"),M+="<div>".concat(I.val,"</div>")})),w.innerHTML=S+"</div>",k.innerHTML=M+"</div>"};o?c.globals.seriesGoals[t][a]&&Array.isArray(c.globals.seriesGoals[t][a])?y():(w.innerHTML="",k.innerHTML=""):y()}else w.innerHTML="",k.innerHTML="";if(f!==null&&(i[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=c.config.tooltip.z.title,i[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=f!==void 0?f:""),o&&m[0]){if(c.config.tooltip.hideEmptySeries){var A=i[t].querySelector(".apexcharts-tooltip-marker"),C=i[t].querySelector(".apexcharts-tooltip-text");parseFloat(d)==0?(A.style.display="none",C.style.display="none"):(A.style.display="block",C.style.display="block")}d==null||c.globals.ancillaryCollapsedSeriesIndices.indexOf(t)>-1||c.globals.collapsedSeriesIndices.indexOf(t)>-1||Array.isArray(h.tConfig.enabledOnSeries)&&h.tConfig.enabledOnSeries.indexOf(t)===-1?m[0].parentNode.style.display="none":m[0].parentNode.style.display=c.config.tooltip.items.display}else Array.isArray(h.tConfig.enabledOnSeries)&&h.tConfig.enabledOnSeries.indexOf(t)===-1&&(m[0].parentNode.style.display="none")}},{key:"toggleActiveInactiveSeries",value:function(e,t){var a=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var i=a.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group-".concat(t));i&&(i.classList.add("apexcharts-active"),i.style.display=a.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,a=e.j,i=this.w,r=this.ctx.series.filteredSeriesX(),n="",o="",l=null,c=null,h={series:i.globals.series,seriesIndex:t,dataPointIndex:a,w:i},d=i.globals.ttZFormatter;a===null?c=i.globals.series[t]:i.globals.isXNumeric&&i.config.chart.type!=="treemap"?(n=r[t][a],r[t].length===0&&(n=r[this.tooltipUtil.getFirstActiveXArray(r)][a])):n=new Ys(this.ctx).isFormatXY()?i.config.series[t].data[a]!==void 0?i.config.series[t].data[a].x:"":i.globals.labels[a]!==void 0?i.globals.labels[a]:"";var u=n;return i.globals.isXNumeric&&i.config.xaxis.type==="datetime"?n=new Sa(this.ctx).xLabelFormat(i.globals.ttKeyFormatter,u,u,{i:void 0,dateFormatter:new ze(this.ctx).formatDate,w:this.w}):n=i.globals.isBarHorizontal?i.globals.yLabelFormatters[0](u,h):i.globals.xLabelFormatter(u,h),i.config.tooltip.x.formatter!==void 0&&(n=i.globals.ttKeyFormatter(u,h)),i.globals.seriesZ.length>0&&i.globals.seriesZ[t].length>0&&(l=d(i.globals.seriesZ[t][a],i)),o=typeof i.config.xaxis.tooltip.formatter=="function"?i.globals.xaxisTooltipFormatter(u,h):n,{val:Array.isArray(c)?c.join(" "):c,xVal:Array.isArray(n)?n.join(" "):n,xAxisTTVal:Array.isArray(o)?o.join(" "):o,zVal:l}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,a=e.j,i=e.y1,r=e.y2,n=e.w,o=this.ttCtx.getElTooltip(),l=n.config.tooltip.custom;Array.isArray(l)&&l[t]&&(l=l[t]);var c=l({ctx:this.ctx,series:n.globals.series,seriesIndex:t,dataPointIndex:a,y1:i,y2:r,w:n});typeof c=="string"||typeof c=="number"?o.innerHTML=c:(c instanceof Element||typeof c.nodeName=="string")&&(o.innerHTML="",o.appendChild(c.cloneNode(!0)))}}]),s})(),xo=(function(){function s(e){N(this,s),this.ttCtx=e,this.ctx=e.ctx,this.w=e.w}return V(s,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=this.ttCtx,i=this.w,r=a.getElXCrosshairs(),n=e-a.xcrosshairsWidth/2,o=i.globals.labels.slice().length;if(t!==null&&(n=i.globals.gridWidth/o*t),r===null||i.globals.isBarHorizontal||(r.setAttribute("x",n),r.setAttribute("x1",n),r.setAttribute("x2",n),r.setAttribute("y2",i.globals.gridHeight),r.classList.add("apexcharts-active")),n<0&&(n=0),n>i.globals.gridWidth&&(n=i.globals.gridWidth),a.isXAxisTooltipEnabled){var l=n;i.config.xaxis.crosshairs.width!=="tickWidth"&&i.config.xaxis.crosshairs.width!=="barWidth"||(l=n+a.xcrosshairsWidth/2),this.moveXAxisTooltip(l)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;t.ycrosshairs!==null&&E.setAttrs(t.ycrosshairs,{y1:e,y2:e}),t.ycrosshairsHidden!==null&&E.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,a=this.ttCtx;if(a.xaxisTooltip!==null&&a.xcrosshairsWidth!==0){a.xaxisTooltip.classList.add("apexcharts-active");var i=a.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;if(e-=a.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(e)){e+=t.globals.translateX;var r;r=new E(this.ctx).getTextRects(a.xaxisTooltipText.innerHTML),a.xaxisTooltipText.style.minWidth=r.width+"px",a.xaxisTooltip.style.left=e+"px",a.xaxisTooltip.style.top=i+"px"}}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,a=this.ttCtx;a.yaxisTTEls===null&&(a.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var i=parseInt(a.ycrosshairsHidden.getAttribute("y1"),10),r=t.globals.translateY+i,n=a.yaxisTTEls[e].getBoundingClientRect(),o=n.height,l=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(l-=n.width),r-=o/2,t.globals.ignoreYAxisIndexes.indexOf(e)===-1&&r>0&&r<t.globals.gridHeight?(a.yaxisTTEls[e].classList.add("apexcharts-active"),a.yaxisTTEls[e].style.top=r+"px",a.yaxisTTEls[e].style.left=l+t.config.yaxis[e].tooltip.offsetX+"px"):a.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=this.w,r=this.ttCtx,n=r.getElTooltip(),o=r.tooltipRect,l=a!==null?parseFloat(a):1,c=parseFloat(e)+l+5,h=parseFloat(t)+l/2;if(c>i.globals.gridWidth/2&&(c=c-o.ttWidth-l-10),c>i.globals.gridWidth-o.ttWidth-10&&(c=i.globals.gridWidth-o.ttWidth),c<-20&&(c=-20),i.config.tooltip.followCursor){var d=r.getElGrid().getBoundingClientRect();(c=r.e.clientX-d.left)>i.globals.gridWidth/2&&(c-=r.tooltipRect.ttWidth),(h=r.e.clientY+i.globals.translateY-d.top)>i.globals.gridHeight/2&&(h-=r.tooltipRect.ttHeight)}else i.globals.isBarHorizontal||o.ttHeight/2+h>i.globals.gridHeight&&(h=i.globals.gridHeight-o.ttHeight+i.globals.translateY);isNaN(c)||(c+=i.globals.translateX,n.style.left=c+"px",n.style.top=h+"px")}},{key:"moveMarkers",value:function(e,t){var a=this.w,i=this.ttCtx;if(a.globals.markers.size[e]>0)for(var r=a.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),n=0;n<r.length;n++)parseInt(r[n].getAttribute("rel"),10)===t&&(i.marker.resetPointsSize(),i.marker.enlargeCurrentPoint(t,r[n]));else i.marker.resetPointsSize(),this.moveDynamicPointOnHover(t,e)}},{key:"moveDynamicPointOnHover",value:function(e,t){var a,i,r,n,o=this.w,l=this.ttCtx,c=new E(this.ctx),h=o.globals.pointsArray,d=l.tooltipUtil.getHoverMarkerSize(t),u=o.config.series[t].type;if(!u||u!=="column"&&u!=="candlestick"&&u!=="boxPlot"){r=(a=h[t][e])===null||a===void 0?void 0:a[0],n=((i=h[t][e])===null||i===void 0?void 0:i[1])||0;var g=o.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(t,"'] .apexcharts-series-markers path"));if(g&&n<o.globals.gridHeight&&n>0){var p=g.getAttribute("shape"),f=c.getMarkerPath(r,n,p,1.5*d);g.setAttribute("d",f)}this.moveXCrosshairs(r),l.fixedTooltip||this.moveTooltip(r,n,d)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,a=this.ttCtx,i=a.w,r=0,n=0,o=i.globals.pointsArray,l=new Ze(this.ctx),c=new E(this.ctx);t=l.getActiveConfigSeriesIndex("asc",["line","area","scatter","bubble"]);var h=a.tooltipUtil.getHoverMarkerSize(t);if(o[t]&&(r=o[t][e][0],n=o[t][e][1]),!isNaN(r)){var d=a.tooltipUtil.getAllMarkers();if(d.length)for(var u=0;u<i.globals.series.length;u++){var g=o[u];if(i.globals.comboCharts&&g===void 0&&d.splice(u,0,null),g&&g.length){var p=o[u][e][1],f=void 0;d[u].setAttribute("cx",r);var m=d[u].getAttribute("shape");if(i.config.chart.type==="rangeArea"&&!i.globals.comboCharts){var v=e+i.globals.series[u].length;f=o[u][v][1],p-=Math.abs(p-f)/2}if(p!==null&&!isNaN(p)&&p<i.globals.gridHeight+h&&p+h>0){var b=c.getMarkerPath(r,p,m,h);d[u].setAttribute("d",b)}else d[u].setAttribute("d","")}}this.moveXCrosshairs(r),a.fixedTooltip||this.moveTooltip(r,n||i.globals.gridHeight,h)}}},{key:"moveStickyTooltipOverBars",value:function(e,t){var a=this.w,i=this.ttCtx,r=a.globals.columnSeries?a.globals.columnSeries.length:a.globals.series.length;a.config.chart.stacked&&(r=a.globals.barGroups.length);var n=r>=2&&r%2==0?Math.floor(r/2):Math.floor(r/2)+1;a.globals.isBarHorizontal&&(n=new Ze(this.ctx).getActiveConfigSeriesIndex("desc")+1);var o=a.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(n,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"']"));o||typeof t!="number"||(o=a.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[data\\:realIndex='".concat(t,"'] path[j='").concat(e,`'],
|
|
156
|
+
</svg>`),this.t.download&&n.push({el:this.elMenuIcon,icon:typeof this.t.download=="string"?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var c=0;c<this.elCustomIcons.length;c++)n.push({el:this.elCustomIcons[c],icon:this.t.customIcons[c].icon,title:this.t.customIcons[c].title,index:this.t.customIcons[c].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[c].class});n.forEach((function(d,u){d.index&&L.moveIndexInArray(n,u,d.index)}));for(var h=0;h<n.length;h++)E.setAttrs(n[h].el,{class:n[h].class,title:n[h].title}),n[h].el.innerHTML=n[h].icon,i.appendChild(n[h].el);this._createHamburgerMenu(i),t.globals.zoomEnabled?this.elZoom.classList.add(this.selectedClass):t.globals.panEnabled?this.elPan.classList.add(this.selectedClass):t.globals.selectionEnabled&&this.elSelection.classList.add(this.selectedClass),this.addToolbarEventListeners()}},{key:"_createHamburgerMenu",value:function(e){this.elMenuItems=[],e.appendChild(this.elMenu),E.setAttrs(this.elMenu,{class:"apexcharts-menu"});for(var t=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG},{name:"exportCSV",title:this.localeValues.exportToCSV}],a=0;a<t.length;a++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[a].innerHTML=t[a].title,E.setAttrs(this.elMenuItems[a],{class:"apexcharts-menu-item ".concat(t[a].name),title:t[a].title}),this.elMenu.appendChild(this.elMenuItems[a])}},{key:"addToolbarEventListeners",value:function(){var e=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleZoomSelection.bind(this,"selection")),this.elZoom.addEventListener("click",this.toggleZoomSelection.bind(this,"zoom")),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach((function(a){a.classList.contains("exportSVG")?a.addEventListener("click",e.handleDownload.bind(e,"svg")):a.classList.contains("exportPNG")?a.addEventListener("click",e.handleDownload.bind(e,"png")):a.classList.contains("exportCSV")&&a.addEventListener("click",e.handleDownload.bind(e,"csv"))}));for(var t=0;t<this.t.customIcons.length;t++)this.elCustomIcons[t].addEventListener("click",this.t.customIcons[t].click.bind(this,this.ctx,this.ctx.w))}},{key:"toggleZoomSelection",value:function(e){this.ctx.getSyncedCharts().forEach((function(t){t.ctx.toolbar.toggleOtherControls();var a=e==="selection"?t.ctx.toolbar.elSelection:t.ctx.toolbar.elZoom,i=e==="selection"?"selectionEnabled":"zoomEnabled";t.w.globals[i]=!t.w.globals[i],a.classList.contains(t.ctx.toolbar.selectedClass)?a.classList.remove(t.ctx.toolbar.selectedClass):a.classList.add(t.ctx.toolbar.selectedClass)}))}},{key:"getToolbarIconsReference",value:function(){var e=this.w;this.elZoom||(this.elZoom=e.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=e.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=e.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZoomPanFromToolbar",value:function(e){this.toggleOtherControls(),e==="pan"?this.w.globals.panEnabled=!0:this.w.globals.zoomEnabled=!0;var t=e==="pan"?this.elPan:this.elZoom,a=e==="pan"?this.elZoom:this.elPan;t&&t.classList.add(this.selectedClass),a&&a.classList.remove(this.selectedClass)}},{key:"togglePanning",value:function(){this.ctx.getSyncedCharts().forEach((function(e){e.ctx.toolbar.toggleOtherControls(),e.w.globals.panEnabled=!e.w.globals.panEnabled,e.ctx.toolbar.elPan.classList.contains(e.ctx.toolbar.selectedClass)?e.ctx.toolbar.elPan.classList.remove(e.ctx.toolbar.selectedClass):e.ctx.toolbar.elPan.classList.add(e.ctx.toolbar.selectedClass)}))}},{key:"toggleOtherControls",value:function(){var e=this,t=this.w;t.globals.panEnabled=!1,t.globals.zoomEnabled=!1,t.globals.selectionEnabled=!1,this.getToolbarIconsReference(),[this.elPan,this.elSelection,this.elZoom].forEach((function(a){a&&a.classList.remove(e.selectedClass)}))}},{key:"handleZoomIn",value:function(){var e=this.w;e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY);var t=(this.minX+this.maxX)/2,a=(this.minX+t)/2,i=(this.maxX+t)/2,r=this._getNewMinXMaxX(a,i);e.globals.disableZoomIn||this.zoomUpdateOptions(r.minX,r.maxX)}},{key:"handleZoomOut",value:function(){var e=this.w;if(e.globals.isRangeBar&&(this.minX=e.globals.minY,this.maxX=e.globals.maxY),!(e.config.xaxis.type==="datetime"&&new Date(this.minX).getUTCFullYear()<1e3)){var t=(this.minX+this.maxX)/2,a=this.minX-(t-this.minX),i=this.maxX-(t-this.maxX),r=this._getNewMinXMaxX(a,i);e.globals.disableZoomOut||this.zoomUpdateOptions(r.minX,r.maxX)}}},{key:"_getNewMinXMaxX",value:function(e,t){var a=this.w.config.xaxis.convertedCatToNumeric;return{minX:a?Math.floor(e):e,maxX:a?Math.floor(t):t}}},{key:"zoomUpdateOptions",value:function(e,t){var a=this.w;if(e!==void 0||t!==void 0){if(!(a.config.xaxis.convertedCatToNumeric&&(e<1&&(e=1,t=a.globals.dataPoints),t-e<2))){var i={min:e,max:t},r=this.getBeforeZoomRange(i);r&&(i=r.xaxis);var n={xaxis:i},o=L.clone(a.globals.initialConfig.yaxis);a.config.chart.group||(n.yaxis=o),this.w.globals.zoomed=!0,this.ctx.updateHelpers._updateOptions(n,!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback(i,o)}}else this.handleZoomReset()}},{key:"zoomCallback",value:function(e,t){typeof this.ev.zoomed=="function"&&(this.ev.zoomed(this.ctx,{xaxis:e,yaxis:t}),this.ctx.events.fireEvent("zoomed",{xaxis:e,yaxis:t}))}},{key:"getBeforeZoomRange",value:function(e,t){var a=null;return typeof this.ev.beforeZoom=="function"&&(a=this.ev.beforeZoom(this,{xaxis:e,yaxis:t})),a}},{key:"toggleMenu",value:function(){var e=this;window.setTimeout((function(){e.elMenu.classList.contains("apexcharts-menu-open")?e.elMenu.classList.remove("apexcharts-menu-open"):e.elMenu.classList.add("apexcharts-menu-open")}),0)}},{key:"handleDownload",value:function(e){var t=this.w,a=new la(this.ctx);switch(e){case"svg":a.exportToSVG(this.ctx);break;case"png":a.exportToPng(this.ctx);break;case"csv":a.exportToCSV({series:t.config.series,columnDelimiter:t.config.chart.toolbar.export.csv.columnDelimiter})}}},{key:"handleZoomReset",value:function(e){this.ctx.getSyncedCharts().forEach((function(t){var a=t.w;if(a.globals.lastXAxis.min=a.globals.initialConfig.xaxis.min,a.globals.lastXAxis.max=a.globals.initialConfig.xaxis.max,t.updateHelpers.revertDefaultAxisMinMax(),typeof a.config.chart.events.beforeResetZoom=="function"){var i=a.config.chart.events.beforeResetZoom(t,a);i&&t.updateHelpers.revertDefaultAxisMinMax(i)}typeof a.config.chart.events.zoomed=="function"&&t.ctx.toolbar.zoomCallback({min:a.config.xaxis.min,max:a.config.xaxis.max}),a.globals.zoomed=!1;var r=t.ctx.series.emptyCollapsedSeries(L.clone(a.globals.initialSeries));t.updateHelpers._updateSeries(r,a.config.chart.animations.dynamicAnimation.enabled)}))}},{key:"destroy",value:function(){this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),s})(),sd=(function(s){wa(t,po);var e=ya(t);function t(a){var i;return N(this,t),(i=e.call(this,a)).ctx=a,i.w=a.w,i.dragged=!1,i.graphics=new E(i.ctx),i.eventList=["mousedown","mouseleave","mousemove","touchstart","touchmove","mouseup","touchend","wheel"],i.clientX=0,i.clientY=0,i.startX=0,i.endX=0,i.dragX=0,i.startY=0,i.endY=0,i.dragY=0,i.moveDirection="none",i.debounceTimer=null,i.debounceDelay=100,i.wheelDelay=400,i}return V(t,[{key:"init",value:function(a){var i=this,r=a.xyRatios,n=this.w,o=this;this.xyRatios=r,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=n.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.constraints=new ke(0,0,n.globals.gridWidth,n.globals.gridHeight),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),n.globals.dom.Paper.add(this.zoomRect),n.globals.dom.Paper.add(this.selectionRect),n.config.chart.selection.type==="x"?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:n.globals.gridWidth,maxY:n.globals.gridHeight}).on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")):n.config.chart.selection.type==="y"?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:n.globals.gridWidth}).on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove.namespace",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=n.globals.dom.baseEl.querySelector("".concat(n.globals.chartClass," .apexcharts-svg")),this.hoverArea.classList.add("apexcharts-zoomable"),this.eventList.forEach((function(l){i.hoverArea.addEventListener(l,o.svgMouseEvents.bind(o,r),{capture:!1,passive:!0})})),n.config.chart.zoom.enabled&&n.config.chart.zoom.allowMouseWheelZoom&&this.hoverArea.addEventListener("wheel",o.mouseWheelEvent.bind(o),{capture:!1,passive:!1})}},{key:"destroy",value:function(){this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(a,i){var r=this.w,n=this.ctx.toolbar,o=r.globals.zoomEnabled?r.config.chart.zoom.type:r.config.chart.selection.type,l=r.config.chart.toolbar.autoSelected;if(i.shiftKey?(this.shiftWasPressed=!0,n.enableZoomPanFromToolbar(l==="pan"?"zoom":"pan")):this.shiftWasPressed&&(n.enableZoomPanFromToolbar(l),this.shiftWasPressed=!1),i.target){var c,h=i.target.classList;if(i.target.parentNode&&i.target.parentNode!==null&&(c=i.target.parentNode.classList),!(h.contains("apexcharts-legend-marker")||h.contains("apexcharts-legend-text")||c&&c.contains("apexcharts-toolbar"))){if(this.clientX=i.type==="touchmove"||i.type==="touchstart"?i.touches[0].clientX:i.type==="touchend"?i.changedTouches[0].clientX:i.clientX,this.clientY=i.type==="touchmove"||i.type==="touchstart"?i.touches[0].clientY:i.type==="touchend"?i.changedTouches[0].clientY:i.clientY,i.type==="mousedown"&&i.which===1||i.type==="touchstart"){var d=this.gridRect.getBoundingClientRect();this.startX=this.clientX-d.left-r.globals.barPadForNumericAxis,this.startY=this.clientY-d.top,this.dragged=!1,this.w.globals.mousedown=!0}(i.type==="mousemove"&&i.which===1||i.type==="touchmove")&&(this.dragged=!0,r.globals.panEnabled?(r.globals.selection=null,this.w.globals.mousedown&&this.panDragging({context:this,zoomtype:o,xyRatios:a})):(this.w.globals.mousedown&&r.globals.zoomEnabled||this.w.globals.mousedown&&r.globals.selectionEnabled)&&(this.selection=this.selectionDrawing({context:this,zoomtype:o}))),i.type!=="mouseup"&&i.type!=="touchend"&&i.type!=="mouseleave"||this.handleMouseUp({zoomtype:o}),this.makeSelectionRectDraggable()}}}},{key:"handleMouseUp",value:function(a){var i,r=a.zoomtype,n=a.isResized,o=this.w,l=(i=this.gridRect)===null||i===void 0?void 0:i.getBoundingClientRect();l&&(this.w.globals.mousedown||n)&&(this.endX=this.clientX-l.left-o.globals.barPadForNumericAxis,this.endY=this.clientY-l.top,this.dragX=Math.abs(this.endX-this.startX),this.dragY=Math.abs(this.endY-this.startY),(o.globals.zoomEnabled||o.globals.selectionEnabled)&&this.selectionDrawn({context:this,zoomtype:r})),o.globals.zoomEnabled&&this.hideSelectionRect(this.selectionRect),this.dragged=!1,this.w.globals.mousedown=!1}},{key:"mouseWheelEvent",value:function(a){var i=this,r=this.w;a.preventDefault();var n=Date.now();n-r.globals.lastWheelExecution>this.wheelDelay&&(this.executeMouseWheelZoom(a),r.globals.lastWheelExecution=n),this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((function(){n-r.globals.lastWheelExecution>i.wheelDelay&&(i.executeMouseWheelZoom(a),r.globals.lastWheelExecution=n)}),this.debounceDelay)}},{key:"executeMouseWheelZoom",value:function(a){var i,r=this.w;this.minX=r.globals.isRangeBar?r.globals.minY:r.globals.minX,this.maxX=r.globals.isRangeBar?r.globals.maxY:r.globals.maxX;var n=(i=this.gridRect)===null||i===void 0?void 0:i.getBoundingClientRect();if(n){var o,l,c,h=(a.clientX-n.left)/n.width,d=this.minX,u=this.maxX,g=u-d;if(a.deltaY<0){var p=d+h*g;l=p-(o=.5*g)/2,c=p+o/2}else l=d-(o=1.5*g)/2,c=u+o/2;if(!r.globals.isRangeBar){l=Math.max(l,r.globals.initialMinX),c=Math.min(c,r.globals.initialMaxX);var f=.01*(r.globals.initialMaxX-r.globals.initialMinX);if(c-l<f){var m=(l+c)/2;l=m-f/2,c=m+f/2}}var v=this._getNewMinXMaxX(l,c);isNaN(v.minX)||isNaN(v.maxX)||this.zoomUpdateOptions(v.minX,v.maxX)}}},{key:"makeSelectionRectDraggable",value:function(){var a=this,i=this.w;if(this.selectionRect){var r=this.selectionRect.node.getBoundingClientRect();r.width>0&&r.height>0&&(this.selectionRect.select(!1).resize(!1),this.selectionRect.select({createRot:function(){},updateRot:function(){},createHandle:function(n,o,l,c,h){return h==="l"||h==="r"?n.circle(8).css({"stroke-width":1,stroke:"#333",fill:"#fff"}):n.circle(0)},updateHandle:function(n,o){return n.center(o[0],o[1])}}).resize().on("resize",(function(){var n=i.globals.zoomEnabled?i.config.chart.zoom.type:i.config.chart.selection.type;a.handleMouseUp({zoomtype:n,isResized:!0})})))}}},{key:"preselectedSelection",value:function(){var a=this.w,i=this.xyRatios;if(!a.globals.zoomEnabled){if(a.globals.selection!==void 0&&a.globals.selection!==null)this.drawSelectionRect(F(F({},a.globals.selection),{},{translateX:a.globals.translateX,translateY:a.globals.translateY}));else if(a.config.chart.selection.xaxis.min!==void 0&&a.config.chart.selection.xaxis.max!==void 0){var r=(a.config.chart.selection.xaxis.min-a.globals.minX)/i.xRatio,n=a.globals.gridWidth-(a.globals.maxX-a.config.chart.selection.xaxis.max)/i.xRatio-r;a.globals.isRangeBar&&(r=(a.config.chart.selection.xaxis.min-a.globals.yAxisScale[0].niceMin)/i.invertedYRatio,n=(a.config.chart.selection.xaxis.max-a.config.chart.selection.xaxis.min)/i.invertedYRatio);var o={x:r,y:0,width:n,height:a.globals.gridHeight,translateX:a.globals.translateX,translateY:a.globals.translateY,selectionEnabled:!0};this.drawSelectionRect(o),this.makeSelectionRectDraggable(),typeof a.config.chart.events.selection=="function"&&a.config.chart.events.selection(this.ctx,{xaxis:{min:a.config.chart.selection.xaxis.min,max:a.config.chart.selection.xaxis.max},yaxis:{}})}}}},{key:"drawSelectionRect",value:function(a){var i=a.x,r=a.y,n=a.width,o=a.height,l=a.translateX,c=l===void 0?0:l,h=a.translateY,d=h===void 0?0:h,u=this.w,g=this.zoomRect,p=this.selectionRect;if(this.dragged||u.globals.selection!==null){var f={transform:"translate("+c+", "+d+")"};u.globals.zoomEnabled&&this.dragged&&(n<0&&(n=1),g.attr({x:i,y:r,width:n,height:o,fill:u.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":u.config.chart.zoom.zoomedArea.fill.opacity,stroke:u.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":u.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":u.config.chart.zoom.zoomedArea.stroke.opacity}),E.setAttrs(g.node,f)),u.globals.selectionEnabled&&(p.attr({x:i,y:r,width:n>0?n:0,height:o>0?o:0,fill:u.config.chart.selection.fill.color,"fill-opacity":u.config.chart.selection.fill.opacity,stroke:u.config.chart.selection.stroke.color,"stroke-width":u.config.chart.selection.stroke.width,"stroke-dasharray":u.config.chart.selection.stroke.dashArray,"stroke-opacity":u.config.chart.selection.stroke.opacity}),E.setAttrs(p.node,f))}}},{key:"hideSelectionRect",value:function(a){a&&a.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(a){var i=a.context,r=a.zoomtype,n=this.w,o=i,l=this.gridRect.getBoundingClientRect(),c=o.startX-1,h=o.startY,d=!1,u=!1,g=o.clientX-l.left-n.globals.barPadForNumericAxis,p=o.clientY-l.top,f=g-c,m=p-h,v={translateX:n.globals.translateX,translateY:n.globals.translateY};return Math.abs(f+c)>n.globals.gridWidth?f=n.globals.gridWidth-c:g<0&&(f=c),c>g&&(d=!0,f=Math.abs(f)),h>p&&(u=!0,m=Math.abs(m)),v=F(F({},v=r==="x"?{x:d?c-f:c,y:0,width:f,height:n.globals.gridHeight}:r==="y"?{x:0,y:u?h-m:h,width:n.globals.gridWidth,height:m}:{x:d?c-f:c,y:u?h-m:h,width:f,height:m}),{},{translateX:n.globals.translateX,translateY:n.globals.translateY}),o.drawSelectionRect(v),o.selectionDragging("resizing"),v}},{key:"selectionDragging",value:function(a,i){var r=this,n=this.w;if(i){i.preventDefault();var o=i.detail,l=o.handler,c=o.box,h=c.x,d=c.y;h<this.constraints.x&&(h=this.constraints.x),d<this.constraints.y&&(d=this.constraints.y),c.x2>this.constraints.x2&&(h=this.constraints.x2-c.w),c.y2>this.constraints.y2&&(d=this.constraints.y2-c.h),l.move(h,d);var u=this.xyRatios,g=this.selectionRect,p=0;a==="resizing"&&(p=30);var f=function(v){return parseFloat(g.node.getAttribute(v))},m={x:f("x"),y:f("y"),width:f("width"),height:f("height")};n.globals.selection=m,typeof n.config.chart.events.selection=="function"&&n.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout((function(){var v,b,w,k,y=r.gridRect.getBoundingClientRect(),A=g.node.getBoundingClientRect();n.globals.isRangeBar?(v=n.globals.yAxisScale[0].niceMin+(A.left-y.left)*u.invertedYRatio,b=n.globals.yAxisScale[0].niceMin+(A.right-y.left)*u.invertedYRatio,w=0,k=1):(v=n.globals.xAxisScale.niceMin+(A.left-y.left)*u.xRatio,b=n.globals.xAxisScale.niceMin+(A.right-y.left)*u.xRatio,w=n.globals.yAxisScale[0].niceMin+(y.bottom-A.bottom)*u.yRatio[0],k=n.globals.yAxisScale[0].niceMax-(A.top-y.top)*u.yRatio[0]);var C={xaxis:{min:v,max:b},yaxis:{min:w,max:k}};n.config.chart.events.selection(r.ctx,C),n.config.chart.brush.enabled&&n.config.chart.events.brushScrolled!==void 0&&n.config.chart.events.brushScrolled(r.ctx,C)}),p))}}},{key:"selectionDrawn",value:function(a){var i,r,n=a.context,o=a.zoomtype,l=this.w,c=n,h=this.xyRatios,d=this.ctx.toolbar,u=l.globals.zoomEnabled?c.zoomRect.node.getBoundingClientRect():c.selectionRect.node.getBoundingClientRect(),g=c.gridRect.getBoundingClientRect(),p=u.left-g.left-l.globals.barPadForNumericAxis,f=u.right-g.left-l.globals.barPadForNumericAxis,m=u.top-g.top,v=u.bottom-g.top;l.globals.isRangeBar?(i=l.globals.yAxisScale[0].niceMin+p*h.invertedYRatio,r=l.globals.yAxisScale[0].niceMin+f*h.invertedYRatio):(i=l.globals.xAxisScale.niceMin+p*h.xRatio,r=l.globals.xAxisScale.niceMin+f*h.xRatio);var b=[],w=[];if(l.config.yaxis.forEach((function(I,R){var P=l.globals.seriesYAxisMap[R][0],_=l.globals.yAxisScale[R].niceMax-h.yRatio[P]*m,O=l.globals.yAxisScale[R].niceMax-h.yRatio[P]*v;b.push(_),w.push(O)})),c.dragged&&(c.dragX>10||c.dragY>10)&&i!==r){if(l.globals.zoomEnabled){var k=L.clone(l.globals.initialConfig.yaxis),y=L.clone(l.globals.initialConfig.xaxis);if(l.globals.zoomed=!0,l.config.xaxis.convertedCatToNumeric&&(i=Math.floor(i),r=Math.floor(r),i<1&&(i=1,r=l.globals.dataPoints),r-i<2&&(r=i+1)),o!=="xy"&&o!=="x"||(y={min:i,max:r}),o!=="xy"&&o!=="y"||k.forEach((function(I,R){k[R].min=w[R],k[R].max=b[R]})),d){var A=d.getBeforeZoomRange(y,k);A&&(y=A.xaxis?A.xaxis:y,k=A.yaxis?A.yaxis:k)}var C={xaxis:y};l.config.chart.group||(C.yaxis=k),c.ctx.updateHelpers._updateOptions(C,!1,c.w.config.chart.animations.dynamicAnimation.enabled),typeof l.config.chart.events.zoomed=="function"&&d.zoomCallback(y,k)}else if(l.globals.selectionEnabled){var S,M=null;S={min:i,max:r},o!=="xy"&&o!=="y"||(M=L.clone(l.config.yaxis)).forEach((function(I,R){M[R].min=w[R],M[R].max=b[R]})),l.globals.selection=c.selection,typeof l.config.chart.events.selection=="function"&&l.config.chart.events.selection(c.ctx,{xaxis:S,yaxis:M})}}}},{key:"panDragging",value:function(a){var i=a.context,r=this.w,n=i;if(r.globals.lastClientPosition.x!==void 0){var o=r.globals.lastClientPosition.x-n.clientX,l=r.globals.lastClientPosition.y-n.clientY;Math.abs(o)>Math.abs(l)&&o>0?this.moveDirection="left":Math.abs(o)>Math.abs(l)&&o<0?this.moveDirection="right":Math.abs(l)>Math.abs(o)&&l>0?this.moveDirection="up":Math.abs(l)>Math.abs(o)&&l<0&&(this.moveDirection="down")}r.globals.lastClientPosition={x:n.clientX,y:n.clientY};var c=r.globals.isRangeBar?r.globals.minY:r.globals.minX,h=r.globals.isRangeBar?r.globals.maxY:r.globals.maxX;n.panScrolled(c,h)}},{key:"panScrolled",value:function(a,i){var r=this.w,n=this.xyRatios,o=L.clone(r.globals.initialConfig.yaxis),l=n.xRatio,c=r.globals.minX,h=r.globals.maxX;r.globals.isRangeBar&&(l=n.invertedYRatio,c=r.globals.minY,h=r.globals.maxY),this.moveDirection==="left"?(a=c+r.globals.gridWidth/15*l,i=h+r.globals.gridWidth/15*l):this.moveDirection==="right"&&(a=c-r.globals.gridWidth/15*l,i=h-r.globals.gridWidth/15*l),r.globals.isRangeBar||(a<r.globals.initialMinX||i>r.globals.initialMaxX)&&(a=c,i=h);var d={xaxis:{min:a,max:i}};r.config.chart.group||(d.yaxis=o),this.updateScrolledChart(d,a,i)}},{key:"updateScrolledChart",value:function(a,i,r){var n=this.w;if(this.ctx.updateHelpers._updateOptions(a,!1,!1),typeof n.config.chart.events.scrolled=="function"){var o={xaxis:{min:i,max:r}};n.config.chart.events.scrolled(this.ctx,o),this.ctx.events.fireEvent("scrolled",o)}}}]),t})(),xo=(function(){function s(e){N(this,s),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx}return V(s,[{key:"getNearestValues",value:function(e){var t=e.hoverArea,a=e.elGrid,i=e.clientX,r=e.clientY,n=this.w,o=a.getBoundingClientRect(),l=o.width,c=o.height,h=l/(n.globals.dataPoints-1),d=c/n.globals.dataPoints,u=this.hasBars();!n.globals.comboCharts&&!u||n.config.xaxis.convertedCatToNumeric||(h=l/n.globals.dataPoints);var g=i-o.left-n.globals.barPadForNumericAxis,p=r-o.top;g<0||p<0||g>l||p>c?(t.classList.remove("hovering-zoom"),t.classList.remove("hovering-pan")):n.globals.zoomEnabled?(t.classList.remove("hovering-pan"),t.classList.add("hovering-zoom")):n.globals.panEnabled&&(t.classList.remove("hovering-zoom"),t.classList.add("hovering-pan"));var f=Math.round(g/h),m=Math.floor(p/d);u&&!n.config.xaxis.convertedCatToNumeric&&(f=Math.ceil(g/h),f-=1);var v=null,b=null,w=n.globals.seriesXvalues.map((function(S){return S.filter((function(M){return L.isNumber(M)}))})),k=n.globals.seriesYvalues.map((function(S){return S.filter((function(M){return L.isNumber(M)}))}));if(n.globals.isXNumeric){var y=this.ttCtx.getElGrid().getBoundingClientRect(),A=g*(y.width/l),C=p*(y.height/c);v=(b=this.closestInMultiArray(A,C,w,k)).index,f=b.j,v!==null&&n.globals.hasNullValues&&(w=n.globals.seriesXvalues[v],f=(b=this.closestInArray(A,w)).j)}return n.globals.capturedSeriesIndex=v===null?-1:v,(!f||f<1)&&(f=0),n.globals.isBarHorizontal?n.globals.capturedDataPointIndex=m:n.globals.capturedDataPointIndex=f,{capturedSeries:v,j:n.globals.isBarHorizontal?m:f,hoverX:g,hoverY:p}}},{key:"getFirstActiveXArray",value:function(e){for(var t=this.w,a=0,i=e.map((function(n,o){return n.length>0?o:-1})),r=0;r<i.length;r++)if(i[r]!==-1&&t.globals.collapsedSeriesIndices.indexOf(r)===-1&&t.globals.ancillaryCollapsedSeriesIndices.indexOf(r)===-1){a=i[r];break}return a}},{key:"closestInMultiArray",value:function(e,t,a,i){for(var r,n=this.w,o=1/0,l=null,c=null,h=0;h<a.length;h++)if(r=h,n.globals.collapsedSeriesIndices.indexOf(r)===-1&&n.globals.ancillaryCollapsedSeriesIndices.indexOf(r)===-1)for(var d=a[h],u=i[h],g=Math.min(d.length,u.length),p=0;p<g;p++){var f=e-d[p],m=Math.sqrt(f*f);if(!n.globals.allSeriesHasEqualX){var v=t-u[p];m=Math.sqrt(f*f+v*v)}m<o&&(o=m,l=h,c=p)}return{index:l,j:c}}},{key:"closestInArray",value:function(e,t){for(var a=t[0],i=null,r=Math.abs(e-a),n=0;n<t.length;n++){var o=Math.abs(e-t[n]);o<r&&(r=o,i=n)}return{j:i}}},{key:"isXoverlap",value:function(e){var t=[],a=this.w.globals.seriesX.filter((function(r){return r[0]!==void 0}));if(a.length>0)for(var i=0;i<a.length-1;i++)a[i][e]!==void 0&&a[i+1][e]!==void 0&&a[i][e]!==a[i+1][e]&&t.push("unEqual");return t.length===0}},{key:"isInitialSeriesSameLen",value:function(){for(var e=!0,t=this.w.globals.initialSeries,a=0;a<t.length-1;a++)if(t[a].data.length!==t[a+1].data.length){e=!1;break}return e}},{key:"getBarsHeight",value:function(e){return Re(e).reduce((function(t,a){return t+a.getBBox().height}),0)}},{key:"getElMarkers",value:function(e){return typeof e=="number"?this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-series-markers-wrap > *")):this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap > *")}},{key:"getAllMarkers",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0&&arguments[0],a=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers-wrap");a=Re(a),t&&(a=a.filter((function(r){var n=Number(r.getAttribute("data:realIndex"));return e.w.globals.collapsedSeriesIndices.indexOf(n)===-1}))),a.sort((function(r,n){var o=Number(r.getAttribute("data:realIndex")),l=Number(n.getAttribute("data:realIndex"));return l<o?1:l>o?-1:0}));var i=[];return a.forEach((function(r){i.push(r.querySelector(".apexcharts-marker"))})),i}},{key:"hasMarkers",value:function(e){return this.getElMarkers(e).length>0}},{key:"getPathFromPoint",value:function(e,t){var a=Number(e.getAttribute("cx")),i=Number(e.getAttribute("cy")),r=e.getAttribute("shape");return new E(this.ctx).getMarkerPath(a,i,r,t)}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-boxPlot-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"getHoverMarkerSize",value:function(e){var t=this.w,a=t.config.markers.hover.size;return a===void 0&&(a=t.globals.markers.size[e]+t.config.markers.hover.sizeOffset),a}},{key:"toggleAllTooltipSeriesGroups",value:function(e){var t=this.w,a=this.ttCtx;a.allTooltipSeriesGroups.length===0&&(a.allTooltipSeriesGroups=t.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var i=a.allTooltipSeriesGroups,r=0;r<i.length;r++)e==="enable"?(i[r].classList.add("apexcharts-active"),i[r].style.display=t.config.tooltip.items.display):(i[r].classList.remove("apexcharts-active"),i[r].style.display="none")}}]),s})(),rd=(function(){function s(e){N(this,s),this.w=e.w,this.ctx=e.ctx,this.ttCtx=e,this.tooltipUtil=new xo(e)}return V(s,[{key:"drawSeriesTexts",value:function(e){var t=e.shared,a=t===void 0||t,i=e.ttItems,r=e.i,n=r===void 0?0:r,o=e.j,l=o===void 0?null:o,c=e.y1,h=e.y2,d=e.e,u=this.w;u.config.tooltip.custom!==void 0?this.handleCustomTooltip({i:n,j:l,y1:c,y2:h,w:u}):this.toggleActiveInactiveSeries(a,n);var g=this.getValuesToPrint({i:n,j:l});this.printLabels({i:n,j:l,values:g,ttItems:i,shared:a,e:d});var p=this.ttCtx.getElTooltip();this.ttCtx.tooltipRect.ttWidth=p.getBoundingClientRect().width,this.ttCtx.tooltipRect.ttHeight=p.getBoundingClientRect().height}},{key:"printLabels",value:function(e){var t,a=this,i=e.i,r=e.j,n=e.values,o=e.ttItems,l=e.shared,c=e.e,h=this.w,d=[],u=function(y){return h.globals.seriesGoals[y]&&h.globals.seriesGoals[y][r]&&Array.isArray(h.globals.seriesGoals[y][r])},g=n.xVal,p=n.zVal,f=n.xAxisTTVal,m="",v=h.globals.colors[i];r!==null&&h.config.plotOptions.bar.distributed&&(v=h.globals.colors[r]);for(var b=function(y,A){var C=a.getFormatters(i);m=a.getSeriesName({fn:C.yLbTitleFormatter,index:i,seriesIndex:i,j:r}),h.config.chart.type==="treemap"&&(m=C.yLbTitleFormatter(String(h.config.series[i].data[r].x),{series:h.globals.series,seriesIndex:i,dataPointIndex:r,w:h}));var S=h.config.tooltip.inverseOrder?A:y;if(h.globals.axisCharts){var M=function(P){var _,O,H,T;return h.globals.isRangeData?C.yLbFormatter((_=h.globals.seriesRangeStart)===null||_===void 0||(O=_[P])===null||O===void 0?void 0:O[r],{series:h.globals.seriesRangeStart,seriesIndex:P,dataPointIndex:r,w:h})+" - "+C.yLbFormatter((H=h.globals.seriesRangeEnd)===null||H===void 0||(T=H[P])===null||T===void 0?void 0:T[r],{series:h.globals.seriesRangeEnd,seriesIndex:P,dataPointIndex:r,w:h}):C.yLbFormatter(h.globals.series[P][r],{series:h.globals.series,seriesIndex:P,dataPointIndex:r,w:h})};if(l)C=a.getFormatters(S),m=a.getSeriesName({fn:C.yLbTitleFormatter,index:S,seriesIndex:i,j:r}),v=h.globals.colors[S],t=M(S),u(S)&&(d=h.globals.seriesGoals[S][r].map((function(P){return{attrs:P,val:C.yLbFormatter(P.value,{seriesIndex:S,dataPointIndex:r,w:h})}})));else{var I,R=c==null||(I=c.target)===null||I===void 0?void 0:I.getAttribute("fill");R&&(R.indexOf("url")!==-1?R.indexOf("Pattern")!==-1&&(v=h.globals.dom.baseEl.querySelector(R.substr(4).slice(0,-1)).childNodes[0].getAttribute("stroke")):v=R),t=M(i),u(i)&&Array.isArray(h.globals.seriesGoals[i][r])&&(d=h.globals.seriesGoals[i][r].map((function(P){return{attrs:P,val:C.yLbFormatter(P.value,{seriesIndex:i,dataPointIndex:r,w:h})}})))}}r===null&&(t=C.yLbFormatter(h.globals.series[i],F(F({},h),{},{seriesIndex:i,dataPointIndex:i}))),a.DOMHandling({i,t:S,j:r,ttItems:o,values:{val:t,goalVals:d,xVal:g,xAxisTTVal:f,zVal:p},seriesName:m,shared:l,pColor:v})},w=0,k=h.globals.series.length-1;w<h.globals.series.length;w++,k--)b(w,k)}},{key:"getFormatters",value:function(e){var t,a=this.w,i=a.globals.yLabelFormatters[e];return a.globals.ttVal!==void 0?Array.isArray(a.globals.ttVal)?(i=a.globals.ttVal[e]&&a.globals.ttVal[e].formatter,t=a.globals.ttVal[e]&&a.globals.ttVal[e].title&&a.globals.ttVal[e].title.formatter):(i=a.globals.ttVal.formatter,typeof a.globals.ttVal.title.formatter=="function"&&(t=a.globals.ttVal.title.formatter)):t=a.config.tooltip.y.title.formatter,typeof i!="function"&&(i=a.globals.yLabelFormatters[0]?a.globals.yLabelFormatters[0]:function(r){return r}),typeof t!="function"&&(t=function(r){return r?r+": ":""}),{yLbFormatter:i,yLbTitleFormatter:t}}},{key:"getSeriesName",value:function(e){var t=e.fn,a=e.index,i=e.seriesIndex,r=e.j,n=this.w;return t(String(n.globals.seriesNames[a]),{series:n.globals.series,seriesIndex:i,dataPointIndex:r,w:n})}},{key:"DOMHandling",value:function(e){e.i;var t=e.t,a=e.j,i=e.ttItems,r=e.values,n=e.seriesName,o=e.shared,l=e.pColor,c=this.w,h=this.ttCtx,d=r.val,u=r.goalVals,g=r.xVal,p=r.xAxisTTVal,f=r.zVal,m=null;m=i[t].children,c.config.tooltip.fillSeriesColor&&(i[t].style.backgroundColor=l,m[0].style.display="none"),h.showTooltipTitle&&(h.tooltipTitle===null&&(h.tooltipTitle=c.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),h.tooltipTitle.innerHTML=g),h.isXAxisTooltipEnabled&&(h.xaxisTooltipText.innerHTML=p!==""?p:g);var v=i[t].querySelector(".apexcharts-tooltip-text-y-label");v&&(v.innerHTML=n||"");var b=i[t].querySelector(".apexcharts-tooltip-text-y-value");b&&(b.innerHTML=d!==void 0?d:""),m[0]&&m[0].classList.contains("apexcharts-tooltip-marker")&&(c.config.tooltip.marker.fillColors&&Array.isArray(c.config.tooltip.marker.fillColors)&&(l=c.config.tooltip.marker.fillColors[t]),c.config.tooltip.fillSeriesColor?m[0].style.backgroundColor=l:m[0].style.color=l),c.config.tooltip.marker.show||(m[0].style.display="none");var w=i[t].querySelector(".apexcharts-tooltip-text-goals-label"),k=i[t].querySelector(".apexcharts-tooltip-text-goals-value");if(u.length&&c.globals.seriesGoals[t]){var y=function(){var S="<div>",M="<div>";u.forEach((function(I,R){S+=' <div style="display: flex"><span class="apexcharts-tooltip-marker" style="background-color: '.concat(I.attrs.strokeColor,'; height: 3px; border-radius: 0; top: 5px;"></span> ').concat(I.attrs.name,"</div>"),M+="<div>".concat(I.val,"</div>")})),w.innerHTML=S+"</div>",k.innerHTML=M+"</div>"};o?c.globals.seriesGoals[t][a]&&Array.isArray(c.globals.seriesGoals[t][a])?y():(w.innerHTML="",k.innerHTML=""):y()}else w.innerHTML="",k.innerHTML="";if(f!==null&&(i[t].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=c.config.tooltip.z.title,i[t].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=f!==void 0?f:""),o&&m[0]){if(c.config.tooltip.hideEmptySeries){var A=i[t].querySelector(".apexcharts-tooltip-marker"),C=i[t].querySelector(".apexcharts-tooltip-text");parseFloat(d)==0?(A.style.display="none",C.style.display="none"):(A.style.display="block",C.style.display="block")}d==null||c.globals.ancillaryCollapsedSeriesIndices.indexOf(t)>-1||c.globals.collapsedSeriesIndices.indexOf(t)>-1||Array.isArray(h.tConfig.enabledOnSeries)&&h.tConfig.enabledOnSeries.indexOf(t)===-1?m[0].parentNode.style.display="none":m[0].parentNode.style.display=c.config.tooltip.items.display}else Array.isArray(h.tConfig.enabledOnSeries)&&h.tConfig.enabledOnSeries.indexOf(t)===-1&&(m[0].parentNode.style.display="none")}},{key:"toggleActiveInactiveSeries",value:function(e,t){var a=this.w;if(e)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var i=a.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group-".concat(t));i&&(i.classList.add("apexcharts-active"),i.style.display=a.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(e){var t=e.i,a=e.j,i=this.w,r=this.ctx.series.filteredSeriesX(),n="",o="",l=null,c=null,h={series:i.globals.series,seriesIndex:t,dataPointIndex:a,w:i},d=i.globals.ttZFormatter;a===null?c=i.globals.series[t]:i.globals.isXNumeric&&i.config.chart.type!=="treemap"?(n=r[t][a],r[t].length===0&&(n=r[this.tooltipUtil.getFirstActiveXArray(r)][a])):n=new Ys(this.ctx).isFormatXY()?i.config.series[t].data[a]!==void 0?i.config.series[t].data[a].x:"":i.globals.labels[a]!==void 0?i.globals.labels[a]:"";var u=n;return i.globals.isXNumeric&&i.config.xaxis.type==="datetime"?n=new Sa(this.ctx).xLabelFormat(i.globals.ttKeyFormatter,u,u,{i:void 0,dateFormatter:new ze(this.ctx).formatDate,w:this.w}):n=i.globals.isBarHorizontal?i.globals.yLabelFormatters[0](u,h):i.globals.xLabelFormatter(u,h),i.config.tooltip.x.formatter!==void 0&&(n=i.globals.ttKeyFormatter(u,h)),i.globals.seriesZ.length>0&&i.globals.seriesZ[t].length>0&&(l=d(i.globals.seriesZ[t][a],i)),o=typeof i.config.xaxis.tooltip.formatter=="function"?i.globals.xaxisTooltipFormatter(u,h):n,{val:Array.isArray(c)?c.join(" "):c,xVal:Array.isArray(n)?n.join(" "):n,xAxisTTVal:Array.isArray(o)?o.join(" "):o,zVal:l}}},{key:"handleCustomTooltip",value:function(e){var t=e.i,a=e.j,i=e.y1,r=e.y2,n=e.w,o=this.ttCtx.getElTooltip(),l=n.config.tooltip.custom;Array.isArray(l)&&l[t]&&(l=l[t]);var c=l({ctx:this.ctx,series:n.globals.series,seriesIndex:t,dataPointIndex:a,y1:i,y2:r,w:n});typeof c=="string"||typeof c=="number"?o.innerHTML=c:(c instanceof Element||typeof c.nodeName=="string")&&(o.innerHTML="",o.appendChild(c.cloneNode(!0)))}}]),s})(),mo=(function(){function s(e){N(this,s),this.ttCtx=e,this.ctx=e.ctx,this.w=e.w}return V(s,[{key:"moveXCrosshairs",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=this.ttCtx,i=this.w,r=a.getElXCrosshairs(),n=e-a.xcrosshairsWidth/2,o=i.globals.labels.slice().length;if(t!==null&&(n=i.globals.gridWidth/o*t),r===null||i.globals.isBarHorizontal||(r.setAttribute("x",n),r.setAttribute("x1",n),r.setAttribute("x2",n),r.setAttribute("y2",i.globals.gridHeight),r.classList.add("apexcharts-active")),n<0&&(n=0),n>i.globals.gridWidth&&(n=i.globals.gridWidth),a.isXAxisTooltipEnabled){var l=n;i.config.xaxis.crosshairs.width!=="tickWidth"&&i.config.xaxis.crosshairs.width!=="barWidth"||(l=n+a.xcrosshairsWidth/2),this.moveXAxisTooltip(l)}}},{key:"moveYCrosshairs",value:function(e){var t=this.ttCtx;t.ycrosshairs!==null&&E.setAttrs(t.ycrosshairs,{y1:e,y2:e}),t.ycrosshairsHidden!==null&&E.setAttrs(t.ycrosshairsHidden,{y1:e,y2:e})}},{key:"moveXAxisTooltip",value:function(e){var t=this.w,a=this.ttCtx;if(a.xaxisTooltip!==null&&a.xcrosshairsWidth!==0){a.xaxisTooltip.classList.add("apexcharts-active");var i=a.xaxisOffY+t.config.xaxis.tooltip.offsetY+t.globals.translateY+1+t.config.xaxis.offsetY;if(e-=a.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(e)){e+=t.globals.translateX;var r;r=new E(this.ctx).getTextRects(a.xaxisTooltipText.innerHTML),a.xaxisTooltipText.style.minWidth=r.width+"px",a.xaxisTooltip.style.left=e+"px",a.xaxisTooltip.style.top=i+"px"}}}},{key:"moveYAxisTooltip",value:function(e){var t=this.w,a=this.ttCtx;a.yaxisTTEls===null&&(a.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var i=parseInt(a.ycrosshairsHidden.getAttribute("y1"),10),r=t.globals.translateY+i,n=a.yaxisTTEls[e].getBoundingClientRect(),o=n.height,l=t.globals.translateYAxisX[e]-2;t.config.yaxis[e].opposite&&(l-=n.width),r-=o/2,t.globals.ignoreYAxisIndexes.indexOf(e)===-1&&r>0&&r<t.globals.gridHeight?(a.yaxisTTEls[e].classList.add("apexcharts-active"),a.yaxisTTEls[e].style.top=r+"px",a.yaxisTTEls[e].style.left=l+t.config.yaxis[e].tooltip.offsetX+"px"):a.yaxisTTEls[e].classList.remove("apexcharts-active")}},{key:"moveTooltip",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=this.w,r=this.ttCtx,n=r.getElTooltip(),o=r.tooltipRect,l=a!==null?parseFloat(a):1,c=parseFloat(e)+l+5,h=parseFloat(t)+l/2;if(c>i.globals.gridWidth/2&&(c=c-o.ttWidth-l-10),c>i.globals.gridWidth-o.ttWidth-10&&(c=i.globals.gridWidth-o.ttWidth),c<-20&&(c=-20),i.config.tooltip.followCursor){var d=r.getElGrid().getBoundingClientRect();(c=r.e.clientX-d.left)>i.globals.gridWidth/2&&(c-=r.tooltipRect.ttWidth),(h=r.e.clientY+i.globals.translateY-d.top)>i.globals.gridHeight/2&&(h-=r.tooltipRect.ttHeight)}else i.globals.isBarHorizontal||o.ttHeight/2+h>i.globals.gridHeight&&(h=i.globals.gridHeight-o.ttHeight+i.globals.translateY);isNaN(c)||(c+=i.globals.translateX,n.style.left=c+"px",n.style.top=h+"px")}},{key:"moveMarkers",value:function(e,t){var a=this.w,i=this.ttCtx;if(a.globals.markers.size[e]>0)for(var r=a.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-marker")),n=0;n<r.length;n++)parseInt(r[n].getAttribute("rel"),10)===t&&(i.marker.resetPointsSize(),i.marker.enlargeCurrentPoint(t,r[n]));else i.marker.resetPointsSize(),this.moveDynamicPointOnHover(t,e)}},{key:"moveDynamicPointOnHover",value:function(e,t){var a,i,r,n,o=this.w,l=this.ttCtx,c=new E(this.ctx),h=o.globals.pointsArray,d=l.tooltipUtil.getHoverMarkerSize(t),u=o.config.series[t].type;if(!u||u!=="column"&&u!=="candlestick"&&u!=="boxPlot"){r=(a=h[t][e])===null||a===void 0?void 0:a[0],n=((i=h[t][e])===null||i===void 0?void 0:i[1])||0;var g=o.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(t,"'] .apexcharts-series-markers path"));if(g&&n<o.globals.gridHeight&&n>0){var p=g.getAttribute("shape"),f=c.getMarkerPath(r,n,p,1.5*d);g.setAttribute("d",f)}this.moveXCrosshairs(r),l.fixedTooltip||this.moveTooltip(r,n,d)}}},{key:"moveDynamicPointsOnHover",value:function(e){var t,a=this.ttCtx,i=a.w,r=0,n=0,o=i.globals.pointsArray,l=new Ze(this.ctx),c=new E(this.ctx);t=l.getActiveConfigSeriesIndex("asc",["line","area","scatter","bubble"]);var h=a.tooltipUtil.getHoverMarkerSize(t);if(o[t]&&(r=o[t][e][0],n=o[t][e][1]),!isNaN(r)){var d=a.tooltipUtil.getAllMarkers();if(d.length)for(var u=0;u<i.globals.series.length;u++){var g=o[u];if(i.globals.comboCharts&&g===void 0&&d.splice(u,0,null),g&&g.length){var p=o[u][e][1],f=void 0;d[u].setAttribute("cx",r);var m=d[u].getAttribute("shape");if(i.config.chart.type==="rangeArea"&&!i.globals.comboCharts){var v=e+i.globals.series[u].length;f=o[u][v][1],p-=Math.abs(p-f)/2}if(p!==null&&!isNaN(p)&&p<i.globals.gridHeight+h&&p+h>0){var b=c.getMarkerPath(r,p,m,h);d[u].setAttribute("d",b)}else d[u].setAttribute("d","")}}this.moveXCrosshairs(r),a.fixedTooltip||this.moveTooltip(r,n||i.globals.gridHeight,h)}}},{key:"moveStickyTooltipOverBars",value:function(e,t){var a=this.w,i=this.ttCtx,r=a.globals.columnSeries?a.globals.columnSeries.length:a.globals.series.length;a.config.chart.stacked&&(r=a.globals.barGroups.length);var n=r>=2&&r%2==0?Math.floor(r/2):Math.floor(r/2)+1;a.globals.isBarHorizontal&&(n=new Ze(this.ctx).getActiveConfigSeriesIndex("desc")+1);var o=a.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='".concat(n,"'] path[j='").concat(e,"'], .apexcharts-candlestick-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"'], .apexcharts-boxPlot-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"'], .apexcharts-rangebar-series .apexcharts-series[rel='").concat(n,"'] path[j='").concat(e,"']"));o||typeof t!="number"||(o=a.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[data\\:realIndex='".concat(t,"'] path[j='").concat(e,`'],
|
|
157
157
|
.apexcharts-candlestick-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,`'],
|
|
158
158
|
.apexcharts-boxPlot-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,`'],
|
|
159
|
-
.apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,"']")));var l=o?parseFloat(o.getAttribute("cx")):0,c=o?parseFloat(o.getAttribute("cy")):0,h=o?parseFloat(o.getAttribute("barWidth")):0,d=i.getElGrid().getBoundingClientRect(),u=o&&(o.classList.contains("apexcharts-candlestick-area")||o.classList.contains("apexcharts-boxPlot-area"));a.globals.isXNumeric?(o&&!u&&(l-=r%2!=0?h/2:0),o&&u&&(l-=h/2)):a.globals.isBarHorizontal||(l=i.xAxisTicksPositions[e-1]+i.dataPointsDividedWidth/2,isNaN(l)&&(l=i.xAxisTicksPositions[e]-i.dataPointsDividedWidth/2)),a.globals.isBarHorizontal?c-=i.tooltipRect.ttHeight:a.config.tooltip.followCursor?c=i.e.clientY-d.top-i.tooltipRect.ttHeight/2:c+i.tooltipRect.ttHeight+15>a.globals.gridHeight&&(c=a.globals.gridHeight),a.globals.isBarHorizontal||this.moveXCrosshairs(l),i.fixedTooltip||this.moveTooltip(l,c||a.globals.gridHeight)}}]),s})(),nd=(function(){function s(e){N(this,s),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx,this.tooltipPosition=new xo(e)}return V(s,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new E(this.ctx),a=new Jt(this.ctx),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");i=Re(i),e.config.chart.stacked&&i.sort((function(d,u){return parseFloat(d.getAttribute("data:realIndex"))-parseFloat(u.getAttribute("data:realIndex"))}));for(var r=0;r<i.length;r++){var n=i[r].querySelector(".apexcharts-series-markers-wrap");if(n!==null){var o=void 0,l="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));e.config.chart.type!=="line"&&e.config.chart.type!=="area"||e.globals.comboCharts||e.config.tooltip.intersect||(l+=" no-pointer-events");var c=a.getMarkerConfig({cssClass:l,seriesIndex:Number(n.getAttribute("data:realIndex"))});(o=t.drawMarker(0,0,c)).node.setAttribute("default-marker-size",0);var h=document.createElementNS(e.globals.SVGNS,"g");h.classList.add("apexcharts-series-markers"),h.appendChild(o.node),n.appendChild(h)}}}},{key:"enlargeCurrentPoint",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.w;r.config.chart.type!=="bubble"&&this.newPointSize(e,t);var n=t.getAttribute("cx"),o=t.getAttribute("cy");if(a!==null&&i!==null&&(n=a,o=i),this.tooltipPosition.moveXCrosshairs(n),!this.fixedTooltip){if(r.config.chart.type==="radar"){var l=this.ttCtx.getElGrid().getBoundingClientRect();n=this.ttCtx.e.clientX-l.left}this.tooltipPosition.moveTooltip(n,o,r.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,a=this,i=this.ttCtx,r=e,n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),o=t.config.markers.hover.size,l=0;l<n.length;l++){var c=n[l].getAttribute("rel"),h=n[l].getAttribute("index");if(o===void 0&&(o=t.globals.markers.size[h]+t.config.markers.hover.sizeOffset),r===parseInt(c,10)){a.newPointSize(r,n[l]);var d=n[l].getAttribute("cx"),u=n[l].getAttribute("cy");a.tooltipPosition.moveXCrosshairs(d),i.fixedTooltip||a.tooltipPosition.moveTooltip(d,u,o)}else a.oldPointSize(n[l])}}},{key:"newPointSize",value:function(e,t){var a=this.w,i=a.config.markers.hover.size,r=e===0?t.parentNode.firstChild:t.parentNode.lastChild;if(r.getAttribute("default-marker-size")!=="0"){var n=parseInt(r.getAttribute("index"),10);i===void 0&&(i=a.globals.markers.size[n]+a.config.markers.hover.sizeOffset),i<0&&(i=0);var o=this.ttCtx.tooltipUtil.getPathFromPoint(t,i);t.setAttribute("d",o)}}},{key:"oldPointSize",value:function(e){var t=parseFloat(e.getAttribute("default-marker-size")),a=this.ttCtx.tooltipUtil.getPathFromPoint(e,t);e.setAttribute("d",a)}},{key:"resetPointsSize",value:function(){for(var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),t=0;t<e.length;t++){var a=parseFloat(e[t].getAttribute("default-marker-size"));if(L.isNumber(a)&&a>0){var i=this.ttCtx.tooltipUtil.getPathFromPoint(e[t],a);e[t].setAttribute("d",i)}else e[t].setAttribute("d","M0,0")}}}]),s})(),od=(function(){function s(e){N(this,s),this.w=e.w;var t=this.w;this.ttCtx=e,this.isVerticalGroupedRangeBar=!t.globals.isBarHorizontal&&t.config.chart.type==="rangeBar"&&t.config.plotOptions.bar.rangeBarGroupRows}return V(s,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,a=e.opt,i=e.x,r=e.y,n=e.type,o=this.ttCtx,l=this.w;if(t.target.classList.contains("apexcharts-".concat(n,"-rect"))){var c=this.getAttr(t,"i"),h=this.getAttr(t,"j"),d=this.getAttr(t,"cx"),u=this.getAttr(t,"cy"),g=this.getAttr(t,"width"),p=this.getAttr(t,"height");if(o.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:c,j:h,shared:!1,e:t}),l.globals.capturedSeriesIndex=c,l.globals.capturedDataPointIndex=h,i=d+o.tooltipRect.ttWidth/2+g,r=u+o.tooltipRect.ttHeight/2-p/2,o.tooltipPosition.moveXCrosshairs(d+g/2),i>l.globals.gridWidth/2&&(i=d-o.tooltipRect.ttWidth/2+g),o.w.config.tooltip.followCursor){var f=l.globals.dom.elWrap.getBoundingClientRect();i=l.globals.clientX-f.left-(i>l.globals.gridWidth/2?o.tooltipRect.ttWidth:0),r=l.globals.clientY-f.top-(r>l.globals.gridHeight/2?o.tooltipRect.ttHeight:0)}}return{x:i,y:r}}},{key:"handleMarkerTooltip",value:function(e){var t,a,i=e.e,r=e.opt,n=e.x,o=e.y,l=this.w,c=this.ttCtx;if(i.target.classList.contains("apexcharts-marker")){var h=parseInt(r.paths.getAttribute("cx"),10),d=parseInt(r.paths.getAttribute("cy"),10),u=parseFloat(r.paths.getAttribute("val"));if(a=parseInt(r.paths.getAttribute("rel"),10),t=parseInt(r.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,c.intersect){var g=L.findAncestor(r.paths,"apexcharts-series");g&&(t=parseInt(g.getAttribute("data:realIndex"),10))}if(c.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:t,j:a,shared:!c.showOnIntersect&&l.config.tooltip.shared,e:i}),i.type==="mouseup"&&c.markerClick(i,t,a),l.globals.capturedSeriesIndex=t,l.globals.capturedDataPointIndex=a,n=h,o=d+l.globals.translateY-1.4*c.tooltipRect.ttHeight,c.w.config.tooltip.followCursor){var p=c.getElGrid().getBoundingClientRect();o=c.e.clientY+l.globals.translateY-p.top}u<0&&(o=d),c.marker.enlargeCurrentPoint(a,r.paths,n,o)}return{x:n,y:o}}},{key:"handleBarTooltip",value:function(e){var t,a,i=e.e,r=e.opt,n=this.w,o=this.ttCtx,l=o.getElTooltip(),c=0,h=0,d=0,u=this.getBarTooltipXY({e:i,opt:r});if(u.j!==null||u.barHeight!==0||u.barWidth!==0){t=u.i;var g=u.j;if(n.globals.capturedSeriesIndex=t,n.globals.capturedDataPointIndex=g,n.globals.isBarHorizontal&&o.tooltipUtil.hasBars()||!n.config.tooltip.shared?(h=u.x,d=u.y,a=Array.isArray(n.config.stroke.width)?n.config.stroke.width[t]:n.config.stroke.width,c=h):n.globals.comboCharts||n.config.tooltip.shared||(c/=2),isNaN(d)&&(d=n.globals.svgHeight-o.tooltipRect.ttHeight),parseInt(r.paths.parentNode.getAttribute("data:realIndex"),10),h+o.tooltipRect.ttWidth>n.globals.gridWidth?h-=o.tooltipRect.ttWidth:h<0&&(h=0),o.w.config.tooltip.followCursor){var p=o.getElGrid().getBoundingClientRect();d=o.e.clientY-p.top}o.tooltip===null&&(o.tooltip=n.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),n.config.tooltip.shared||(n.globals.comboBarCount>0?o.tooltipPosition.moveXCrosshairs(c+a/2):o.tooltipPosition.moveXCrosshairs(c)),!o.fixedTooltip&&(!n.config.tooltip.shared||n.globals.isBarHorizontal&&o.tooltipUtil.hasBars())&&(d=d+n.globals.translateY-o.tooltipRect.ttHeight/2,l.style.left=h+n.globals.translateX+"px",l.style.top=d+"px")}}},{key:"getBarTooltipXY",value:function(e){var t=this,a=e.e,i=e.opt,r=this.w,n=null,o=this.ttCtx,l=0,c=0,h=0,d=0,u=0,g=a.target.classList;if(g.contains("apexcharts-bar-area")||g.contains("apexcharts-candlestick-area")||g.contains("apexcharts-boxPlot-area")||g.contains("apexcharts-rangebar-area")){var p=a.target,f=p.getBoundingClientRect(),m=i.elGrid.getBoundingClientRect(),v=f.height;u=f.height;var b=f.width,w=parseInt(p.getAttribute("cx"),10),k=parseInt(p.getAttribute("cy"),10);d=parseFloat(p.getAttribute("barWidth"));var y=a.type==="touchmove"?a.touches[0].clientX:a.clientX;n=parseInt(p.getAttribute("j"),10),l=parseInt(p.parentNode.getAttribute("rel"),10)-1;var A=p.getAttribute("data-range-y1"),C=p.getAttribute("data-range-y2");r.globals.comboCharts&&(l=parseInt(p.parentNode.getAttribute("data:realIndex"),10));var S=function(I){return r.globals.isXNumeric?w-b/2:t.isVerticalGroupedRangeBar?w+b/2:w-o.dataPointsDividedWidth+b/2},M=function(){return k-o.dataPointsDividedHeight+v/2-o.tooltipRect.ttHeight/2};o.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:l,j:n,y1:A?parseInt(A,10):null,y2:C?parseInt(C,10):null,shared:!o.showOnIntersect&&r.config.tooltip.shared,e:a}),r.config.tooltip.followCursor?r.globals.isBarHorizontal?(c=y-m.left+15,h=M()):(c=S(),h=a.clientY-m.top-o.tooltipRect.ttHeight/2-15):r.globals.isBarHorizontal?((c=w)<o.xyRatios.baseLineInvertedY&&(c=w-o.tooltipRect.ttWidth),h=M()):(c=S(),h=k)}return{x:c,y:h,barHeight:u,barWidth:d,i:l,j:n}}}]),s})(),ld=(function(){function s(e){N(this,s),this.w=e.w,this.ttCtx=e}return V(s,[{key:"drawXaxisTooltip",value:function(){var e=this.w,t=this.ttCtx,a=e.config.xaxis.position==="bottom";t.xaxisOffY=a?e.globals.gridHeight+1:-e.globals.xAxisHeight-e.config.xaxis.axisTicks.height+3;var i=a?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",r=e.globals.dom.elWrap;t.isXAxisTooltipEnabled&&e.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")===null&&(t.xaxisTooltip=document.createElement("div"),t.xaxisTooltip.setAttribute("class",i+" apexcharts-theme-"+e.config.tooltip.theme),r.appendChild(t.xaxisTooltip),t.xaxisTooltipText=document.createElement("div"),t.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),t.xaxisTooltipText.style.fontFamily=e.config.xaxis.tooltip.style.fontFamily||e.config.chart.fontFamily,t.xaxisTooltipText.style.fontSize=e.config.xaxis.tooltip.style.fontSize,t.xaxisTooltip.appendChild(t.xaxisTooltipText))}},{key:"drawYaxisTooltip",value:function(){for(var e=this.w,t=this.ttCtx,a=0;a<e.config.yaxis.length;a++){var i=e.config.yaxis[a].opposite||e.config.yaxis[a].crosshairs.opposite;t.yaxisOffX=i?e.globals.gridWidth+1:1;var r="apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(a,i?" apexcharts-yaxistooltip-right":" apexcharts-yaxistooltip-left"),n=e.globals.dom.elWrap;e.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(a))===null&&(t.yaxisTooltip=document.createElement("div"),t.yaxisTooltip.setAttribute("class",r+" apexcharts-theme-"+e.config.tooltip.theme),n.appendChild(t.yaxisTooltip),a===0&&(t.yaxisTooltipText=[]),t.yaxisTooltipText[a]=document.createElement("div"),t.yaxisTooltipText[a].classList.add("apexcharts-yaxistooltip-text"),t.yaxisTooltip.appendChild(t.yaxisTooltipText[a]))}}},{key:"setXCrosshairWidth",value:function(){var e=this.w,t=this.ttCtx,a=t.getElXCrosshairs();if(t.xcrosshairsWidth=parseInt(e.config.xaxis.crosshairs.width,10),e.globals.comboCharts){var i=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(i!==null&&e.config.xaxis.crosshairs.width==="barWidth"){var r=parseFloat(i.getAttribute("barWidth"));t.xcrosshairsWidth=r}else if(e.config.xaxis.crosshairs.width==="tickWidth"){var n=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/n}}else if(e.config.xaxis.crosshairs.width==="tickWidth"){var o=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/o}else if(e.config.xaxis.crosshairs.width==="barWidth"){var l=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(l!==null){var c=parseFloat(l.getAttribute("barWidth"));t.xcrosshairsWidth=c}else t.xcrosshairsWidth=1}e.globals.isBarHorizontal&&(t.xcrosshairsWidth=0),a!==null&&t.xcrosshairsWidth>0&&a.setAttribute("width",t.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var e=this.w,t=this.ttCtx;t.ycrosshairs=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),t.ycrosshairsHidden=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(e,t,a){var i=this.ttCtx,r=this.w,n=r.globals,o=n.seriesYAxisMap[e];if(i.yaxisTooltips[e]&&o.length>0){var l=n.yLabelFormatters[e],c=i.getElGrid().getBoundingClientRect(),h=o[0],d=0;a.yRatio.length>1&&(d=h);var u=(t-c.top)*a.yRatio[d],g=n.maxYArr[h]-n.minYArr[h],p=n.minYArr[h]+(g-u);r.config.yaxis[e].reversed&&(p=n.maxYArr[h]-(g-u)),i.tooltipPosition.moveYCrosshairs(t-c.top),i.yaxisTooltipText[e].innerHTML=l(p),i.tooltipPosition.moveYAxisTooltip(e)}}}]),s})(),Ar=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w;var t=this.w;this.tConfig=t.config.tooltip,this.tooltipUtil=new po(this),this.tooltipLabels=new rd(this),this.tooltipPosition=new xo(this),this.marker=new nd(this),this.intersect=new od(this),this.axesTooltip=new ld(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!t.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return V(s,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl?e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip"):null}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var t=this.w;this.xyRatios=e,this.isXAxisTooltipEnabled=t.config.xaxis.tooltip.enabled&&t.globals.axisCharts,this.yaxisTooltips=t.config.yaxis.map((function(n,o){return!!(n.show&&n.tooltip.enabled&&t.globals.axisCharts)})),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var a=document.createElement("div");if(a.classList.add("apexcharts-tooltip"),t.config.tooltip.cssClass&&a.classList.add(t.config.tooltip.cssClass),a.classList.add("apexcharts-theme-".concat(this.tConfig.theme||"light")),t.globals.dom.elWrap.appendChild(a),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var i=new pa(this.ctx);this.xAxisTicksPositions=i.getXAxisTicksPositions()}if(!t.globals.comboCharts&&!this.tConfig.intersect&&t.config.chart.type!=="rangeBar"||this.tConfig.shared||(this.showOnIntersect=!0),t.config.markers.size!==0&&t.globals.markers.largestSize!==0||this.marker.drawDynamicPoints(this),t.globals.collapsedSeries.length!==t.globals.series.length){this.dataPointsDividedHeight=t.globals.gridHeight/t.globals.dataPoints,this.dataPointsDividedWidth=t.globals.gridWidth/t.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,a.appendChild(this.tooltipTitle));var r=t.globals.series.length;(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(r=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(r),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this,a=this.w,i=[],r=this.getElTooltip(),n=function(l){var c=document.createElement("div");c.classList.add("apexcharts-tooltip-series-group","apexcharts-tooltip-series-group-".concat(l)),c.style.order=a.config.tooltip.inverseOrder?e-l:l+1;var h=document.createElement("span");h.classList.add("apexcharts-tooltip-marker"),a.config.tooltip.fillSeriesColor?h.style.backgroundColor=a.globals.colors[l]:h.style.color=a.globals.colors[l];var d=a.config.markers.shape,u=d;Array.isArray(d)&&(u=d[l]),h.setAttribute("shape",u),c.appendChild(h);var g=document.createElement("div");g.classList.add("apexcharts-tooltip-text"),g.style.fontFamily=t.tConfig.style.fontFamily||a.config.chart.fontFamily,g.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach((function(p){var f=document.createElement("div");f.classList.add("apexcharts-tooltip-".concat(p,"-group"));var m=document.createElement("span");m.classList.add("apexcharts-tooltip-text-".concat(p,"-label")),f.appendChild(m);var v=document.createElement("span");v.classList.add("apexcharts-tooltip-text-".concat(p,"-value")),f.appendChild(v),g.appendChild(f)})),c.appendChild(g),r.appendChild(c),i.push(c)},o=0;o<e;o++)n(o);return i}},{key:"addSVGEvents",value:function(){var e=this.w,t=e.config.chart.type,a=this.getElTooltip(),i=!(t!=="bar"&&t!=="candlestick"&&t!=="boxPlot"&&t!=="rangeBar"),r=t==="area"||t==="line"||t==="scatter"||t==="bubble"||t==="radar",n=e.globals.dom.Paper.node,o=this.getElGrid();o&&(this.seriesBound=o.getBoundingClientRect());var l,c=[],h=[],d={hoverArea:n,elGrid:o,tooltipEl:a,tooltipY:c,tooltipX:h,ttItems:this.ttItems};if(e.globals.axisCharts&&(r?l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):i?l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area, .apexcharts-series .apexcharts-candlestick-area, .apexcharts-series .apexcharts-boxPlot-area, .apexcharts-series .apexcharts-rangebar-area"):t!=="heatmap"&&t!=="treemap"||(l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap, .apexcharts-series .apexcharts-treemap")),l&&l.length))for(var u=0;u<l.length;u++)c.push(l[u].getAttribute("cy")),h.push(l[u].getAttribute("cx"));if(e.globals.xyCharts&&!this.showOnIntersect||e.globals.comboCharts&&!this.showOnIntersect||i&&this.tooltipUtil.hasBars()&&this.tConfig.shared)this.addPathsEventListeners([n],d);else if(i&&!e.globals.comboCharts||r&&this.showOnIntersect)this.addDatapointEventsListeners(d);else if(!e.globals.axisCharts||t==="heatmap"||t==="treemap"){var g=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(g,d)}if(this.showOnIntersect){var p=e.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker, .apexcharts-area-series .apexcharts-marker");p.length>0&&this.addPathsEventListeners(p,d),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(d)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),a=t.getBoundingClientRect(),i=a.width+10,r=a.height+10,n=this.tConfig.fixed.offsetX,o=this.tConfig.fixed.offsetY,l=this.tConfig.fixed.position.toLowerCase();return l.indexOf("right")>-1&&(n=n+e.globals.svgWidth-i+10),l.indexOf("bottom")>-1&&(o=o+e.globals.svgHeight-r-10),t.style.left=n+"px",t.style.top=o+"px",{x:n,y:o,ttWidth:i,ttHeight:r}}},{key:"addDatapointEventsListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-boxPlot-area, .apexcharts-rangebar-area");this.addPathsEventListeners(t,e)}},{key:"addPathsEventListeners",value:function(e,t){for(var a=this,i=function(n){var o={paths:e[n],tooltipEl:t.tooltipEl,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:t.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map((function(l){return e[n].addEventListener(l,a.onSeriesHover.bind(a,o),{capture:!1,passive:!0})}))},r=0;r<e.length;r++)i(r)}},{key:"onSeriesHover",value:function(e,t){var a=this,i=Date.now()-this.lastHoverTime;i>=20?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout((function(){a.seriesHover(e,t)}),20-i))}},{key:"seriesHover",value:function(e,t){var a=this;this.lastHoverTime=Date.now();var i=[],r=this.w;r.config.chart.group&&(i=this.ctx.getGroupedCharts()),r.globals.axisCharts&&(r.globals.minX===-1/0&&r.globals.maxX===1/0||r.globals.dataPoints===0)||(i.length?i.forEach((function(n){var o=a.getElTooltip(n),l={paths:e.paths,tooltipEl:o,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:n.w.globals.tooltip.ttItems};n.w.globals.minX===a.w.globals.minX&&n.w.globals.maxX===a.w.globals.maxX&&n.w.globals.tooltip.seriesHoverByContext({chartCtx:n,ttCtx:n.w.globals.tooltip,opt:l,e:t})})):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:e,e:t}))}},{key:"seriesHoverByContext",value:function(e){var t=e.chartCtx,a=e.ttCtx,i=e.opt,r=e.e,n=t.w,o=this.getElTooltip(t);o&&(a.tooltipRect={x:0,y:0,ttWidth:o.getBoundingClientRect().width,ttHeight:o.getBoundingClientRect().height},a.e=r,a.tooltipUtil.hasBars()&&!n.globals.comboCharts&&!a.isBarShared&&this.tConfig.onDatasetHover.highlightDataSeries&&new Ze(t).toggleSeriesOnHover(r,r.target.parentNode),n.globals.axisCharts?a.axisChartsTooltips({e:r,opt:i,tooltipRect:a.tooltipRect}):a.nonAxisChartsTooltips({e:r,opt:i,tooltipRect:a.tooltipRect}),a.fixedTooltip&&a.drawFixedTooltipRect())}},{key:"axisChartsTooltips",value:function(e){var t,a,i=e.e,r=e.opt,n=this.w,o=r.elGrid.getBoundingClientRect(),l=i.type==="touchmove"?i.touches[0].clientX:i.clientX,c=i.type==="touchmove"?i.touches[0].clientY:i.clientY;if(this.clientY=c,this.clientX=l,n.globals.capturedSeriesIndex=-1,n.globals.capturedDataPointIndex=-1,c<o.top||c>o.top+o.height)this.handleMouseOut(r);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!n.config.tooltip.shared){var h=parseInt(r.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(h)<0)return void this.handleMouseOut(r)}var d=this.getElTooltip(),u=this.getElXCrosshairs(),g=[];n.config.chart.group&&(g=this.ctx.getSyncedCharts());var p=n.globals.xyCharts||n.config.chart.type==="bar"&&!n.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||n.globals.comboCharts&&this.tooltipUtil.hasBars();if(i.type==="mousemove"||i.type==="touchmove"||i.type==="mouseup"){if(n.globals.collapsedSeries.length+n.globals.ancillaryCollapsedSeries.length===n.globals.series.length)return;u!==null&&u.classList.add("apexcharts-active");var f=this.yaxisTooltips.filter((function(b){return b===!0}));if(this.ycrosshairs!==null&&f.length&&this.ycrosshairs.classList.add("apexcharts-active"),p&&!this.showOnIntersect||g.length>1)this.handleStickyTooltip(i,l,c,r);else if(n.config.chart.type==="heatmap"||n.config.chart.type==="treemap"){var m=this.intersect.handleHeatTreeTooltip({e:i,opt:r,x:t,y:a,type:n.config.chart.type});t=m.x,a=m.y,d.style.left=t+"px",d.style.top=a+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:i,opt:r}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:i,opt:r,x:t,y:a});if(this.yaxisTooltips.length)for(var v=0;v<n.config.yaxis.length;v++)this.axesTooltip.drawYaxisTooltipText(v,c,this.xyRatios);n.globals.dom.baseEl.classList.add("apexcharts-tooltip-active"),r.tooltipEl.classList.add("apexcharts-active")}else i.type!=="mouseout"&&i.type!=="touchend"||this.handleMouseOut(r)}}},{key:"nonAxisChartsTooltips",value:function(e){var t=e.e,a=e.opt,i=e.tooltipRect,r=this.w,n=a.paths.getAttribute("rel"),o=this.getElTooltip(),l=r.globals.dom.elWrap.getBoundingClientRect();if(t.type==="mousemove"||t.type==="touchmove"){r.globals.dom.baseEl.classList.add("apexcharts-tooltip-active"),o.classList.add("apexcharts-active"),this.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:parseInt(n,10)-1,shared:!1});var c=r.globals.clientX-l.left-i.ttWidth/2,h=r.globals.clientY-l.top-i.ttHeight-10;if(o.style.left=c+"px",o.style.top=h+"px",r.config.legend.tooltipHoverFormatter){var d=n-1,u=(0,r.config.legend.tooltipHoverFormatter)(this.legendLabels[d].getAttribute("data:default-text"),{seriesIndex:d,dataPointIndex:d,w:r});this.legendLabels[d].innerHTML=u}}else t.type!=="mouseout"&&t.type!=="touchend"||(o.classList.remove("apexcharts-active"),r.globals.dom.baseEl.classList.remove("apexcharts-tooltip-active"),r.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach((function(g){var p=g.getAttribute("data:default-text");g.innerHTML=decodeURIComponent(p)})))}},{key:"handleStickyTooltip",value:function(e,t,a,i){var r=this.w,n=this.tooltipUtil.getNearestValues({context:this,hoverArea:i.hoverArea,elGrid:i.elGrid,clientX:t,clientY:a}),o=n.j,l=n.capturedSeries;r.globals.collapsedSeriesIndices.includes(l)&&(l=null);var c=i.elGrid.getBoundingClientRect();if(n.hoverX<0||n.hoverX>c.width)this.handleMouseOut(i);else if(l!==null)this.handleStickyCapturedSeries(e,l,i,o);else if(this.tooltipUtil.isXoverlap(o)||r.globals.isBarHorizontal){var h=r.globals.series.findIndex((function(d,u){return!r.globals.collapsedSeriesIndices.includes(u)}));this.create(e,this,h,o,i.ttItems)}}},{key:"handleStickyCapturedSeries",value:function(e,t,a,i){var r=this.w;if(!this.tConfig.shared&&r.globals.series[t][i]===null)return void this.handleMouseOut(a);if(r.globals.series[t][i]!==void 0)this.tConfig.shared&&this.tooltipUtil.isXoverlap(i)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,i,a.ttItems):this.create(e,this,t,i,a.ttItems,!1);else if(this.tooltipUtil.isXoverlap(i)){var n=r.globals.series.findIndex((function(o,l){return!r.globals.collapsedSeriesIndices.includes(l)}));this.create(e,this,n,i,a.ttItems)}}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new E(this.ctx),a=e.globals.dom.Paper.find(".apexcharts-bar-area"),i=0;i<a.length;i++)t.pathMouseLeave(a[i])}},{key:"handleMouseOut",value:function(e){var t=this.w,a=this.getElXCrosshairs();if(t.globals.dom.baseEl.classList.remove("apexcharts-tooltip-active"),e.tooltipEl.classList.remove("apexcharts-active"),this.deactivateHoverFilter(),t.config.chart.type!=="bubble"&&this.marker.resetPointsSize(),a!==null&&a.classList.remove("apexcharts-active"),this.ycrosshairs!==null&&this.ycrosshairs.classList.remove("apexcharts-active"),this.isXAxisTooltipEnabled&&this.xaxisTooltip.classList.remove("apexcharts-active"),this.yaxisTooltips.length){this.yaxisTTEls===null&&(this.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var i=0;i<this.yaxisTTEls.length;i++)this.yaxisTTEls[i].classList.remove("apexcharts-active")}t.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach((function(r){var n=r.getAttribute("data:default-text");r.innerHTML=decodeURIComponent(n)}))}},{key:"markerClick",value:function(e,t,a){var i=this.w;typeof i.config.chart.events.markerClick=="function"&&i.config.chart.events.markerClick(e,this.ctx,{seriesIndex:t,dataPointIndex:a,w:i}),this.ctx.events.fireEvent("markerClick",[e,this.ctx,{seriesIndex:t,dataPointIndex:a,w:i}])}},{key:"create",value:function(e,t,a,i,r){var n,o,l,c,h,d,u,g,p,f,m,v,b,w,k,y,A=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,C=this.w,S=t;e.type==="mouseup"&&this.markerClick(e,a,i),A===null&&(A=this.tConfig.shared);var M=this.tooltipUtil.hasMarkers(a),I=this.tooltipUtil.getElBars(),R=function(){C.globals.markers.largestSize>0?S.marker.enlargePoints(i):S.tooltipPosition.moveDynamicPointsOnHover(i)};if(C.config.legend.tooltipHoverFormatter){var P=C.config.legend.tooltipHoverFormatter,_=Array.from(this.legendLabels);_.forEach((function(re){var J=re.getAttribute("data:default-text");re.innerHTML=decodeURIComponent(J)}));for(var O=0;O<_.length;O++){var H=_[O],T=parseInt(H.getAttribute("i"),10),D=decodeURIComponent(H.getAttribute("data:default-text")),B=P(D,{seriesIndex:A?T:a,dataPointIndex:i,w:C});if(A)H.innerHTML=C.globals.collapsedSeriesIndices.indexOf(T)<0?B:D;else if(H.innerHTML=T===a?B:D,a===T)break}}var X=F(F({ttItems:r,i:a,j:i},((n=C.globals.seriesRange)===null||n===void 0||(o=n[a])===null||o===void 0||(l=o[i])===null||l===void 0||(c=l.y[0])===null||c===void 0?void 0:c.y1)!==void 0&&{y1:(h=C.globals.seriesRange)===null||h===void 0||(d=h[a])===null||d===void 0||(u=d[i])===null||u===void 0||(g=u.y[0])===null||g===void 0?void 0:g.y1}),((p=C.globals.seriesRange)===null||p===void 0||(f=p[a])===null||f===void 0||(m=f[i])===null||m===void 0||(v=m.y[0])===null||v===void 0?void 0:v.y2)!==void 0&&{y2:(b=C.globals.seriesRange)===null||b===void 0||(w=b[a])===null||w===void 0||(k=w[i])===null||k===void 0||(y=k.y[0])===null||y===void 0?void 0:y.y2});if(A){if(S.tooltipLabels.drawSeriesTexts(F(F({},X),{},{shared:!this.showOnIntersect&&this.tConfig.shared})),M)R();else if(this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(I),this.barSeriesHeight>0)){var Y=new E(this.ctx),W=C.globals.dom.Paper.find(".apexcharts-bar-area[j='".concat(i,"']"));this.deactivateHoverFilter(),S.tooltipUtil.getAllMarkers(!0).length&&!this.barSeriesHeight&&R(),S.tooltipPosition.moveStickyTooltipOverBars(i,a);for(var U=0;U<W.length;U++)Y.pathMouseEnter(W[U])}}else S.tooltipLabels.drawSeriesTexts(F({shared:!1},X)),this.tooltipUtil.hasBars()&&S.tooltipPosition.moveStickyTooltipOverBars(i,a),M&&S.tooltipPosition.moveMarkers(a,i)}}]),s})(),cd=(function(){function s(e){N(this,s),this.w=e.w,this.barCtx=e,this.totalFormatter=this.w.config.plotOptions.bar.dataLabels.total.formatter,this.totalFormatter||(this.totalFormatter=this.w.config.dataLabels.formatter)}return V(s,[{key:"handleBarDataLabels",value:function(e){var t,a,i=e.x,r=e.y,n=e.y1,o=e.y2,l=e.i,c=e.j,h=e.realIndex,d=e.columnGroupIndex,u=e.series,g=e.barHeight,p=e.barWidth,f=e.barXPosition,m=e.barYPosition,v=e.visibleSeries,b=this.w,w=new E(this.barCtx.ctx),k=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[h]:this.barCtx.strokeWidth;b.globals.isXNumeric&&!b.globals.isBarHorizontal?(t=i+parseFloat(p*(v+1)),a=r+parseFloat(g*(v+1))-k):(t=i+parseFloat(p*v),a=r+parseFloat(g*v));var y,A=null,C=i,S=r,M={},I=b.config.dataLabels,R=this.barCtx.barOptions.dataLabels,P=this.barCtx.barOptions.dataLabels.total;m!==void 0&&this.barCtx.isRangeBar&&(a=m,S=m),f!==void 0&&this.barCtx.isVerticalGroupedRangeBar&&(t=f,C=f);var _=I.offsetX,O=I.offsetY,H={width:0,height:0};if(b.config.dataLabels.enabled){var T=b.globals.series[l][c];H=w.getTextRects(b.config.dataLabels.formatter?b.config.dataLabels.formatter(T,F(F({},b),{},{seriesIndex:l,dataPointIndex:c,w:b})):b.globals.yLabelFormatters[0](T),parseFloat(I.style.fontSize))}var D={x:i,y:r,i:l,j:c,realIndex:h,columnGroupIndex:d,bcx:t,bcy:a,barHeight:g,barWidth:p,textRects:H,strokeWidth:k,dataLabelsX:C,dataLabelsY:S,dataLabelsConfig:I,barDataLabelsConfig:R,barTotalDataLabelsConfig:P,offX:_,offY:O};return M=this.barCtx.isHorizontal?this.calculateBarsDataLabelsPosition(D):this.calculateColumnsDataLabelsPosition(D),y=this.drawCalculatedDataLabels({x:M.dataLabelsX,y:M.dataLabelsY,val:this.barCtx.isRangeBar?[n,o]:b.config.chart.stackType==="100%"?u[h][c]:b.globals.series[h][c],i:h,j:c,barWidth:p,barHeight:g,textRects:H,dataLabelsConfig:I}),b.config.chart.stacked&&P.enabled&&(A=this.drawTotalDataLabels({x:M.totalDataLabelsX,y:M.totalDataLabelsY,barWidth:p,barHeight:g,realIndex:h,textAnchor:M.totalDataLabelsAnchor,val:this.getStackedTotalDataLabel({realIndex:h,j:c}),dataLabelsConfig:I,barTotalDataLabelsConfig:P})),{dataLabelsPos:M,dataLabels:y,totalDataLabels:A}}},{key:"getStackedTotalDataLabel",value:function(e){var t=e.realIndex,a=e.j,i=this.w,r=this.barCtx.stackedSeriesTotals[a];return this.totalFormatter&&(r=this.totalFormatter(r,F(F({},i),{},{seriesIndex:t,dataPointIndex:a,w:i}))),r}},{key:"calculateColumnsDataLabelsPosition",value:function(e){var t=this,a=this.w,i=e.i,r=e.j,n=e.realIndex;e.columnGroupIndex;var o,l,c=e.y,h=e.bcx,d=e.barWidth,u=e.barHeight,g=e.textRects,p=e.dataLabelsX,f=e.dataLabelsY,m=e.dataLabelsConfig,v=e.barDataLabelsConfig,b=e.barTotalDataLabelsConfig,w=e.strokeWidth,k=e.offX,y=e.offY,A=h;u=Math.abs(u);var C=a.config.plotOptions.bar.dataLabels.orientation==="vertical",S=this.barCtx.barHelpers.getZeroValueEncounters({i,j:r}).zeroEncounters;h-=w/2;var M=a.globals.gridWidth/a.globals.dataPoints;this.barCtx.isVerticalGroupedRangeBar?p+=d/2:(p=a.globals.isXNumeric?h-d/2+k:h-M+d/2+k,!a.config.chart.stacked&&S>0&&a.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(p-=d*S)),C&&(p=p+g.height/2-w/2-2);var I=a.globals.series[i][r]<0,R=c;switch(this.barCtx.isReversed&&(R=c+(I?u:-u)),v.position){case"center":f=C?I?R-u/2+y:R+u/2-y:I?R-u/2+g.height/2+y:R+u/2+g.height/2-y;break;case"bottom":f=C?I?R-u+y:R+u-y:I?R-u+g.height+w+y:R+u-g.height/2+w-y;break;case"top":f=C?I?R+y:R-y:I?R-g.height/2-y:R+g.height+y}var P=R;if(a.globals.seriesGroups.forEach((function(H){var T;(T=t.barCtx[H.join(",")])===null||T===void 0||T.prevY.forEach((function(D){P=I?Math.max(D[r],P):Math.min(D[r],P)}))})),this.barCtx.lastActiveBarSerieIndex===n&&b.enabled){var _=new E(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:n,j:r}),m.fontSize);o=I?P-_.height/2-y-b.offsetY+18:P+_.height+y+b.offsetY-18;var O=M;l=A+(a.globals.isXNumeric?-d*a.globals.barGroups.length/2:a.globals.barGroups.length*d/2-(a.globals.barGroups.length-1)*d-O)+b.offsetX}return a.config.chart.stacked||(f<0?f=0+w:f+g.height/3>a.globals.gridHeight&&(f=a.globals.gridHeight-w)),{bcx:h,bcy:c,dataLabelsX:p,dataLabelsY:f,totalDataLabelsX:l,totalDataLabelsY:o,totalDataLabelsAnchor:"middle"}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this,a=this.w,i=e.x,r=e.i,n=e.j,o=e.realIndex,l=e.bcy,c=e.barHeight,h=e.barWidth,d=e.textRects,u=e.dataLabelsX,g=e.strokeWidth,p=e.dataLabelsConfig,f=e.barDataLabelsConfig,m=e.barTotalDataLabelsConfig,v=e.offX,b=e.offY,w=a.globals.gridHeight/a.globals.dataPoints,k=this.barCtx.barHelpers.getZeroValueEncounters({i:r,j:n}).zeroEncounters;h=Math.abs(h);var y,A,C=l-(this.barCtx.isRangeBar?0:w)+c/2+d.height/2+b-3;!a.config.chart.stacked&&k>0&&a.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(C-=c*k);var S="start",M=a.globals.series[r][n]<0,I=i;switch(this.barCtx.isReversed&&(I=i+(M?-h:h),S=M?"start":"end"),f.position){case"center":u=M?I+h/2-v:Math.max(d.width/2,I-h/2)+v;break;case"bottom":u=M?I+h-g-v:I-h+g+v;break;case"top":u=M?I-g-v:I-g+v}var R=I;if(a.globals.seriesGroups.forEach((function(_){var O;(O=t.barCtx[_.join(",")])===null||O===void 0||O.prevX.forEach((function(H){R=M?Math.min(H[n],R):Math.max(H[n],R)}))})),this.barCtx.lastActiveBarSerieIndex===o&&m.enabled){var P=new E(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:o,j:n}),p.fontSize);M?(y=R-g-v-m.offsetX,S="end"):y=R+v+m.offsetX+(this.barCtx.isReversed?-(h+g):g),A=C-d.height/2+P.height/2+m.offsetY+g,a.globals.barGroups.length>1&&(A-=a.globals.barGroups.length/2*(c/2))}return a.config.chart.stacked||(p.textAnchor==="start"?u-d.width<0?u=M?d.width+g:g:u+d.width>a.globals.gridWidth&&(u=M?a.globals.gridWidth-g:a.globals.gridWidth-d.width-g):p.textAnchor==="middle"?u-d.width/2<0?u=d.width/2+g:u+d.width/2>a.globals.gridWidth&&(u=a.globals.gridWidth-d.width/2-g):p.textAnchor==="end"&&(u<1?u=d.width+g:u+1>a.globals.gridWidth&&(u=a.globals.gridWidth-d.width-g))),{bcx:i,bcy:l,dataLabelsX:u,dataLabelsY:C,totalDataLabelsX:y,totalDataLabelsY:A,totalDataLabelsAnchor:S}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,a=e.y,i=e.val,r=e.i,n=e.j,o=e.textRects,l=e.barHeight,c=e.barWidth,h=e.dataLabelsConfig,d=this.w,u="rotate(0)";d.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(u="rotate(-90, ".concat(t,", ").concat(a,")"));var g=new Wt(this.barCtx.ctx),p=new E(this.barCtx.ctx),f=h.formatter,m=null,v=d.globals.collapsedSeriesIndices.indexOf(r)>-1;if(h.enabled&&!v){m=p.group({class:"apexcharts-data-labels",transform:u});var b="";i!==void 0&&(b=f(i,F(F({},d),{},{seriesIndex:r,dataPointIndex:n,w:d}))),!i&&d.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(b="");var w=d.globals.series[r][n]<0,k=d.config.plotOptions.bar.dataLabels.position;d.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(k==="top"&&(h.textAnchor=w?"end":"start"),k==="center"&&(h.textAnchor="middle"),k==="bottom"&&(h.textAnchor=w?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&c<p.getTextRects(b,parseFloat(h.style.fontSize)).width&&(b=""),d.config.chart.stacked&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&(this.barCtx.isHorizontal?o.width/1.6>Math.abs(c)&&(b=""):o.height/1.6>Math.abs(l)&&(b=""));var y=F({},h);this.barCtx.isHorizontal&&i<0&&(h.textAnchor==="start"?y.textAnchor="end":h.textAnchor==="end"&&(y.textAnchor="start")),g.plotDataLabelsText({x:t,y:a,text:b,i:r,j:n,parent:m,dataLabelsConfig:y,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return m}},{key:"drawTotalDataLabels",value:function(e){var t=e.x,a=e.y,i=e.val,r=e.realIndex,n=e.textAnchor,o=e.barTotalDataLabelsConfig;this.w;var l,c=new E(this.barCtx.ctx);return o.enabled&&t!==void 0&&a!==void 0&&this.barCtx.lastActiveBarSerieIndex===r&&(l=c.drawText({x:t,y:a,foreColor:o.style.color,text:i,textAnchor:n,fontFamily:o.style.fontFamily,fontSize:o.style.fontSize,fontWeight:o.style.fontWeight})),l}}]),s})(),hd=(function(){function s(e){N(this,s),this.w=e.w,this.barCtx=e}return V(s,[{key:"initVariables",value:function(e){var t=this.w;this.barCtx.series=e,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var a=0;a<e.length;a++)if(e[a].length>0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[a].length),t.globals.isXNumeric)for(var i=0;i<e[a].length;i++)t.globals.seriesX[a][i]>t.globals.minX&&t.globals.seriesX[a][i]<t.globals.maxX&&this.barCtx.visibleItems++;else this.barCtx.visibleItems=t.globals.dataPoints;this.arrBorderRadius=this.createBorderRadiusArr(t.globals.series),L.isSafari()&&(this.arrBorderRadius=this.arrBorderRadius.map((function(r){return r.map((function(n){return"none"}))}))),this.barCtx.seriesLen===0&&(this.barCtx.seriesLen=1),this.barCtx.zeroSerieses=[],t.globals.comboCharts||this.checkZeroSeries({series:e})}},{key:"initialPositions",value:function(e){var t,a,i,r,n,o,l,c,h=this.w,d=h.globals.dataPoints;this.barCtx.isRangeBar&&(d=h.globals.labels.length);var u=this.barCtx.seriesLen;if(h.config.plotOptions.bar.rangeBarGroupRows&&(u=1),this.barCtx.isHorizontal)n=(i=h.globals.gridHeight/d)/u,h.globals.isXNumeric&&(n=(i=h.globals.gridHeight/this.barCtx.totalItems)/this.barCtx.seriesLen),n=n*parseInt(this.barCtx.barOptions.barHeight,10)/100,String(this.barCtx.barOptions.barHeight).indexOf("%")===-1&&(n=parseInt(this.barCtx.barOptions.barHeight,10)),c=this.barCtx.baseLineInvertedY+h.globals.padHorizontal+(this.barCtx.isReversed?h.globals.gridWidth:0)-(this.barCtx.isReversed?2*this.barCtx.baseLineInvertedY:0),this.barCtx.isFunnel&&(c=h.globals.gridWidth/2),a=(i-n*this.barCtx.seriesLen)/2;else{if(r=h.globals.gridWidth/this.barCtx.visibleItems,h.config.xaxis.convertedCatToNumeric&&(r=h.globals.gridWidth/h.globals.dataPoints),o=r/u*parseInt(this.barCtx.barOptions.columnWidth,10)/100,h.globals.isXNumeric){var g=this.barCtx.xRatio;h.globals.minXDiff&&h.globals.minXDiff!==.5&&h.globals.minXDiff/g>0&&(r=h.globals.minXDiff/g),(o=r/u*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(o=1)}String(this.barCtx.barOptions.columnWidth).indexOf("%")===-1&&(o=parseInt(this.barCtx.barOptions.columnWidth,10)),l=h.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.translationsIndex]-(this.barCtx.isReversed?h.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.translationsIndex]:0),h.globals.isXNumeric?t=this.barCtx.getBarXForNumericXAxis({x:t,j:0,realIndex:e,barWidth:o}).x:t=h.globals.padHorizontal+L.noExponents(r-o*this.barCtx.seriesLen)/2}return h.globals.barHeight=n,h.globals.barWidth=o,{x:t,y:a,yDivision:i,xDivision:r,barHeight:n,barWidth:o,zeroH:l,zeroW:c}}},{key:"initializeStackedPrevVars",value:function(e){e.w.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].prevY=[],e[t].prevX=[],e[t].prevYF=[],e[t].prevXF=[],e[t].prevYVal=[],e[t].prevXVal=[]}))}},{key:"initializeStackedXYVars",value:function(e){e.w.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].xArrj=[],e[t].xArrjF=[],e[t].xArrjVal=[],e[t].yArrj=[],e[t].yArrjF=[],e[t].yArrjVal=[]}))}},{key:"getPathFillColor",value:function(e,t,a,i){var r,n,o,l,c=this.w,h=this.barCtx.ctx.fill,d=null,u=this.barCtx.barOptions.distributed?a:t,g=!1;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map((function(p){e[t][a]>=p.from&&e[t][a]<=p.to&&(d=p.color,g=!0)})),{color:h.fillPath({seriesNumber:this.barCtx.barOptions.distributed?u:i,dataPointIndex:a,color:d,value:e[t][a],fillConfig:(r=c.config.series[t].data[a])===null||r===void 0?void 0:r.fill,fillType:(n=c.config.series[t].data[a])!==null&&n!==void 0&&(o=n.fill)!==null&&o!==void 0&&o.type?(l=c.config.series[t].data[a])===null||l===void 0?void 0:l.fill.type:Array.isArray(c.config.fill.type)?c.config.fill.type[i]:c.config.fill.type}),useRangeColor:g}}},{key:"getStrokeWidth",value:function(e,t,a){var i=0,r=this.w;return this.barCtx.series[e][t]===void 0||this.barCtx.series[e][t]===null||r.config.chart.type==="bar"&&!this.barCtx.series[e][t]?this.barCtx.isNullValue=!0:this.barCtx.isNullValue=!1,r.config.stroke.show&&(this.barCtx.isNullValue||(i=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[a]:this.barCtx.strokeWidth)),i}},{key:"createBorderRadiusArr",value:function(e){var t,a=this.w,i=!this.w.config.chart.stacked||a.config.plotOptions.bar.borderRadius<=0,r=e.length,n=0|((t=e[0])===null||t===void 0?void 0:t.length),o=Array.from({length:r},(function(){return Array(n).fill(i?"top":"none")}));if(i)return o;for(var l=0;l<n;l++){for(var c=[],h=[],d=0,u=0;u<r;u++){var g=e[u][l];g>0?(c.push(u),d++):g<0&&(h.push(u),d++)}if(c.length>0&&h.length===0)if(c.length===1)o[c[0]][l]="both";else{var p,f=c[0],m=c[c.length-1],v=ra(c);try{for(v.s();!(p=v.n()).done;){var b=p.value;o[b][l]=b===f?"bottom":b===m?"top":"none"}}catch(T){v.e(T)}finally{v.f()}}else if(h.length>0&&c.length===0)if(h.length===1)o[h[0]][l]="both";else{var w,k=Math.max.apply(Math,h),y=Math.min.apply(Math,h),A=ra(h);try{for(A.s();!(w=A.n()).done;){var C=w.value;o[C][l]=C===k?"bottom":C===y?"top":"none"}}catch(T){A.e(T)}finally{A.f()}}else if(c.length>0&&h.length>0){var S,M=c[c.length-1],I=ra(c);try{for(I.s();!(S=I.n()).done;){var R=S.value;o[R][l]=R===M?"top":"none"}}catch(T){I.e(T)}finally{I.f()}var P,_=Math.max.apply(Math,h),O=ra(h);try{for(O.s();!(P=O.n()).done;){var H=P.value;o[H][l]=H===_?"bottom":"none"}}catch(T){O.e(T)}finally{O.f()}}else d===1&&(o[c[0]||h[0]][l]="both")}return o}},{key:"barBackground",value:function(e){var t=e.j,a=e.i,i=e.x1,r=e.x2,n=e.y1,o=e.y2,l=e.elSeries,c=this.w,h=new E(this.barCtx.ctx),d=new Ze(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&d===a){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t%=this.barCtx.barOptions.colors.backgroundBarColors.length);var u=this.barCtx.barOptions.colors.backgroundBarColors[t],g=h.drawRect(i!==void 0?i:0,n!==void 0?n:0,r!==void 0?r:c.globals.gridWidth,o!==void 0?o:c.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,u,this.barCtx.barOptions.colors.backgroundBarOpacity);l.add(g),g.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t,a=e.barWidth,i=e.barXPosition,r=e.y1,n=e.y2,o=e.strokeWidth,l=e.isReversed,c=e.series,h=e.seriesGroup,d=e.realIndex,u=e.i,g=e.j,p=e.w,f=new E(this.barCtx.ctx);(o=Array.isArray(o)?o[d]:o)||(o=0);var m=a,v=i;(t=p.config.series[d].data[g])!==null&&t!==void 0&&t.columnWidthOffset&&(v=i-p.config.series[d].data[g].columnWidthOffset/2,m=a+p.config.series[d].data[g].columnWidthOffset);var b=o/2,w=v+b,k=v+m-b,y=(c[u][g]>=0?1:-1)*(l?-1:1);r+=.001-b*y,n+=.001+b*y;var A=f.move(w,r),C=f.move(w,r),S=f.line(k,r);if(p.globals.previousPaths.length>0&&(C=this.barCtx.getPreviousPath(d,g,!1)),A=A+f.line(w,n)+f.line(k,n)+S+(p.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][g]==="both"?" Z":" z"),C=C+f.line(w,r)+S+S+S+S+S+f.line(w,r)+(p.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][g]==="both"?" Z":" z"),this.arrBorderRadius[d][g]!=="none"&&(A=f.roundPathCorners(A,p.config.plotOptions.bar.borderRadius)),p.config.chart.stacked){var M=this.barCtx;(M=this.barCtx[h]).yArrj.push(n-b*y),M.yArrjF.push(Math.abs(r-n+o*y)),M.yArrjVal.push(this.barCtx.series[u][g])}return{pathTo:A,pathFrom:C}}},{key:"getBarpaths",value:function(e){var t,a=e.barYPosition,i=e.barHeight,r=e.x1,n=e.x2,o=e.strokeWidth,l=e.isReversed,c=e.series,h=e.seriesGroup,d=e.realIndex,u=e.i,g=e.j,p=e.w,f=new E(this.barCtx.ctx);(o=Array.isArray(o)?o[d]:o)||(o=0);var m=a,v=i;(t=p.config.series[d].data[g])!==null&&t!==void 0&&t.barHeightOffset&&(m=a-p.config.series[d].data[g].barHeightOffset/2,v=i+p.config.series[d].data[g].barHeightOffset);var b=o/2,w=m+b,k=m+v-b,y=(c[u][g]>=0?1:-1)*(l?-1:1);r+=.001+b*y,n+=.001-b*y;var A=f.move(r,w),C=f.move(r,w);p.globals.previousPaths.length>0&&(C=this.barCtx.getPreviousPath(d,g,!1));var S=f.line(r,k);if(A=A+f.line(n,w)+f.line(n,k)+S+(p.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][g]==="both"?" Z":" z"),C=C+f.line(r,w)+S+S+S+S+S+f.line(r,w)+(p.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][g]==="both"?" Z":" z"),this.arrBorderRadius[d][g]!=="none"&&(A=f.roundPathCorners(A,p.config.plotOptions.bar.borderRadius)),p.config.chart.stacked){var M=this.barCtx;(M=this.barCtx[h]).xArrj.push(n+b*y),M.xArrjF.push(Math.abs(r-n-o*y)),M.xArrjVal.push(this.barCtx.series[u][g])}return{pathTo:A,pathFrom:C}}},{key:"checkZeroSeries",value:function(e){for(var t=e.series,a=this.w,i=0;i<t.length;i++){for(var r=0,n=0;n<t[a.globals.maxValsInArrayIndex].length;n++)r+=t[i][n];r===0&&this.barCtx.zeroSerieses.push(i)}}},{key:"getXForValue",value:function(e,t){var a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2]?t:null;return e!=null&&(a=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),a}},{key:"getYForValue",value:function(e,t,a){var i=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3]?t:null;return e!=null&&(i=t-e/this.barCtx.yRatio[a]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[a]:0)),i}},{key:"getGoalValues",value:function(e,t,a,i,r,n){var o=this,l=this.w,c=[],h=function(g,p){var f;c.push((Ka(f={},e,e==="x"?o.getXForValue(g,t,!1):o.getYForValue(g,a,n,!1)),Ka(f,"attrs",p),f))};if(l.globals.seriesGoals[i]&&l.globals.seriesGoals[i][r]&&Array.isArray(l.globals.seriesGoals[i][r])&&l.globals.seriesGoals[i][r].forEach((function(g){h(g.value,g)})),this.barCtx.barOptions.isDumbbell&&l.globals.seriesRange.length){var d=this.barCtx.barOptions.dumbbellColors?this.barCtx.barOptions.dumbbellColors:l.globals.colors,u={strokeHeight:e==="x"?0:l.globals.markers.size[i],strokeWidth:e==="x"?l.globals.markers.size[i]:0,strokeDashArray:0,strokeLineCap:"round",strokeColor:Array.isArray(d[i])?d[i][0]:d[i]};h(l.globals.seriesRangeStart[i][r],u),h(l.globals.seriesRangeEnd[i][r],F(F({},u),{},{strokeColor:Array.isArray(d[i])?d[i][1]:d[i]}))}return c}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,a=e.barYPosition,i=e.goalX,r=e.goalY,n=e.barWidth,o=e.barHeight,l=new E(this.barCtx.ctx),c=l.group({className:"apexcharts-bar-goals-groups"});c.node.classList.add("apexcharts-element-hidden"),this.barCtx.w.globals.delayedElements.push({el:c.node}),c.attr("clip-path","url(#gridRectMarkerMask".concat(this.barCtx.w.globals.cuid,")"));var h=null;return this.barCtx.isHorizontal?Array.isArray(i)&&i.forEach((function(d){if(d.x>=-1&&d.x<=l.w.globals.gridWidth+1){var u=d.attrs.strokeHeight!==void 0?d.attrs.strokeHeight:o/2,g=a+u+o/2;h=l.drawLine(d.x,g-2*u,d.x,g,d.attrs.strokeColor?d.attrs.strokeColor:void 0,d.attrs.strokeDashArray,d.attrs.strokeWidth?d.attrs.strokeWidth:2,d.attrs.strokeLineCap),c.add(h)}})):Array.isArray(r)&&r.forEach((function(d){if(d.y>=-1&&d.y<=l.w.globals.gridHeight+1){var u=d.attrs.strokeWidth!==void 0?d.attrs.strokeWidth:n/2,g=t+u+n/2;h=l.drawLine(g-2*u,d.y,g,d.y,d.attrs.strokeColor?d.attrs.strokeColor:void 0,d.attrs.strokeDashArray,d.attrs.strokeHeight?d.attrs.strokeHeight:2,d.attrs.strokeLineCap),c.add(h)}})),c}},{key:"drawBarShadow",value:function(e){var t=e.prevPaths,a=e.currPaths,i=e.color,r=this.w,n=t.x,o=t.x1,l=t.barYPosition,c=a.x,h=a.x1,d=a.barYPosition,u=l+a.barHeight,g=new E(this.barCtx.ctx),p=new L,f=g.move(o,u)+g.line(n,u)+g.line(c,d)+g.line(h,d)+g.line(o,u)+(r.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[realIndex][j]==="both"?" Z":" z");return g.drawPath({d:f,fill:p.shadeColor(.5,L.rgb2hex(i)),stroke:"none",strokeWidth:0,fillOpacity:1,classes:"apexcharts-bar-shadow apexcharts-decoration-element"})}},{key:"getZeroValueEncounters",value:function(e){var t,a=e.i,i=e.j,r=this.w,n=0,o=0;return(r.config.plotOptions.bar.horizontal?r.globals.series.map((function(l,c){return c})):((t=r.globals.columnSeries)===null||t===void 0?void 0:t.i.map((function(l){return l})))||[]).forEach((function(l){var c=r.globals.seriesPercent[l][i];c&&n++,l<a&&c===0&&o++})),{nonZeroColumns:n,zeroEncounters:o}}},{key:"getGroupIndex",value:function(e){var t=this.w,a=t.globals.seriesGroups.findIndex((function(n){return n.indexOf(t.globals.seriesNames[e])>-1})),i=this.barCtx.columnGroupIndices,r=i.indexOf(a);return r<0&&(i.push(a),r=i.length-1),{groupIndex:a,columnGroupIndex:r}}}]),s})(),Gt=(function(){function s(e,t){N(this,s),this.ctx=e,this.w=e.w;var a=this.w;this.barOptions=a.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=a.config.stroke.width,this.isNullValue=!1,this.isRangeBar=a.globals.seriesRange.length&&this.isHorizontal,this.isVerticalGroupedRangeBar=!a.globals.isBarHorizontal&&a.globals.seriesRange.length&&a.config.plotOptions.bar.rangeBarGroupRows,this.isFunnel=this.barOptions.isFunnel,this.xyRatios=t,this.xyRatios!==null&&(this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.invertedXRatio=t.invertedXRatio,this.invertedYRatio=t.invertedYRatio,this.baseLineY=t.baseLineY,this.baseLineInvertedY=t.baseLineInvertedY),this.yaxisIndex=0,this.translationsIndex=0,this.seriesLen=0,this.pathArr=[];var i=new Ze(this.ctx);this.lastActiveBarSerieIndex=i.getActiveConfigSeriesIndex("desc",["bar","column"]),this.columnGroupIndices=[];var r=i.getBarSeriesIndices(),n=new Ae(this.ctx);this.stackedSeriesTotals=n.getStackedSeriesTotals(this.w.config.series.map((function(o,l){return r.indexOf(l)===-1?l:-1})).filter((function(o){return o!==-1}))),this.barHelpers=new hd(this)}return V(s,[{key:"draw",value:function(e,t){var a=this.w,i=new E(this.ctx),r=new Ae(this.ctx,a);e=r.getLogSeries(e),this.series=e,this.yRatio=r.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var n=i.group({class:"apexcharts-bar-series apexcharts-plot-series"});a.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering - ApexCharts");for(var o=0,l=0;o<e.length;o++,l++){var c,h,d,u,g=void 0,p=void 0,f=[],m=[],v=a.globals.comboCharts?t[o]:o,b=this.barHelpers.getGroupIndex(v).columnGroupIndex,w=i.group({class:"apexcharts-series",rel:o+1,seriesName:L.escapeString(a.globals.seriesNames[v]),"data:realIndex":v});this.ctx.series.addCollapsedClassToSeries(w,v),e[o].length>0&&(this.visibleI=this.visibleI+1);var k=0,y=0;this.yRatio.length>1&&(this.yaxisIndex=a.globals.seriesYAxisReverseMap[v],this.translationsIndex=v);var A=this.translationsIndex;this.isReversed=a.config.yaxis[this.yaxisIndex]&&a.config.yaxis[this.yaxisIndex].reversed;var C=this.barHelpers.initialPositions(v);p=C.y,k=C.barHeight,h=C.yDivision,u=C.zeroW,g=C.x,y=C.barWidth,c=C.xDivision,d=C.zeroH,this.isHorizontal||m.push(g+y/2);var S=i.group({class:"apexcharts-datalabels","data:realIndex":v});a.globals.delayedElements.push({el:S.node}),S.node.classList.add("apexcharts-element-hidden");var M=i.group({class:"apexcharts-bar-goals-markers"}),I=i.group({class:"apexcharts-bar-shadows"});a.globals.delayedElements.push({el:I.node}),I.node.classList.add("apexcharts-element-hidden");for(var R=0;R<e[o].length;R++){var P=this.barHelpers.getStrokeWidth(o,R,v),_=null,O={indexes:{i:o,j:R,realIndex:v,translationsIndex:A,bc:l},x:g,y:p,strokeWidth:P,elSeries:w};this.isHorizontal?(_=this.drawBarPaths(F(F({},O),{},{barHeight:k,zeroW:u,yDivision:h})),y=this.series[o][R]/this.invertedYRatio):(_=this.drawColumnPaths(F(F({},O),{},{xDivision:c,barWidth:y,zeroH:d})),k=this.series[o][R]/this.yRatio[A]);var H=this.barHelpers.getPathFillColor(e,o,R,v);if(this.isFunnel&&this.barOptions.isFunnel3d&&this.pathArr.length&&R>0){var T,D=this.barHelpers.drawBarShadow({color:typeof H.color=="string"&&((T=H.color)===null||T===void 0?void 0:T.indexOf("url"))===-1?H.color:L.hexToRgba(a.globals.colors[o]),prevPaths:this.pathArr[this.pathArr.length-1],currPaths:_});I.add(D),a.config.chart.dropShadow.enabled&&new Oe(this.ctx).dropShadow(D,a.config.chart.dropShadow,v)}this.pathArr.push(_);var B=this.barHelpers.drawGoalLine({barXPosition:_.barXPosition,barYPosition:_.barYPosition,goalX:_.goalX,goalY:_.goalY,barHeight:k,barWidth:y});B&&M.add(B),p=_.y,g=_.x,R>0&&m.push(g+y/2),f.push(p),this.renderSeries(F(F({realIndex:v,pathFill:H.color},H.useRangeColor?{lineFill:H.color}:{}),{},{j:R,i:o,columnGroupIndex:b,pathFrom:_.pathFrom,pathTo:_.pathTo,strokeWidth:P,elSeries:w,x:g,y:p,series:e,barHeight:Math.abs(_.barHeight?_.barHeight:k),barWidth:Math.abs(_.barWidth?_.barWidth:y),elDataLabelsWrap:S,elGoalsMarkers:M,elBarShadows:I,visibleSeries:this.visibleI,type:"bar"}))}a.globals.seriesXvalues[v]=m,a.globals.seriesYvalues[v]=f,n.add(w)}return n}},{key:"renderSeries",value:function(e){var t=e.realIndex,a=e.pathFill,i=e.lineFill,r=e.j,n=e.i,o=e.columnGroupIndex,l=e.pathFrom,c=e.pathTo,h=e.strokeWidth,d=e.elSeries,u=e.x,g=e.y,p=e.y1,f=e.y2,m=e.series,v=e.barHeight,b=e.barWidth,w=e.barXPosition,k=e.barYPosition,y=e.elDataLabelsWrap,A=e.elGoalsMarkers,C=e.elBarShadows,S=e.visibleSeries,M=e.type,I=e.classes,R=this.w,P=new E(this.ctx),_=!1;if(!i){var O=typeof R.globals.stroke.colors[t]=="function"?(function(X){var Y,W=R.config.stroke.colors;return Array.isArray(W)&&W.length>0&&((Y=W[X])||(Y=""),typeof Y=="function")?Y({value:R.globals.series[X][r],dataPointIndex:r,w:R}):Y})(t):R.globals.stroke.colors[t];i=this.barOptions.distributed?R.globals.stroke.colors[r]:O}var H=new cd(this).handleBarDataLabels({x:u,y:g,y1:p,y2:f,i:n,j:r,series:m,realIndex:t,columnGroupIndex:o,barHeight:v,barWidth:b,barXPosition:w,barYPosition:k,visibleSeries:S});R.globals.isBarHorizontal||(H.dataLabelsPos.dataLabelsX+Math.max(b,R.globals.barPadForNumericAxis)<0||H.dataLabelsPos.dataLabelsX-Math.max(b,R.globals.barPadForNumericAxis)>R.globals.gridWidth)&&(_=!0),R.config.series[n].data[r]&&R.config.series[n].data[r].strokeColor&&(i=R.config.series[n].data[r].strokeColor),this.isNullValue&&(a="none");var T=r/R.config.chart.animations.animateGradually.delay*(R.config.chart.animations.speed/R.globals.dataPoints)/2.4;if(!_){var D=P.renderPaths({i:n,j:r,realIndex:t,pathFrom:l,pathTo:c,stroke:i,strokeWidth:h,strokeLineCap:R.config.stroke.lineCap,fill:a,animationDelay:T,initialSpeed:R.config.chart.animations.speed,dataChangeSpeed:R.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(M,"-area ").concat(I),chartType:M});D.attr("clip-path","url(#gridRectBarMask".concat(R.globals.cuid,")"));var B=R.config.forecastDataPoints;B.count>0&&r>=R.globals.dataPoints-B.count&&(D.node.setAttribute("stroke-dasharray",B.dashArray),D.node.setAttribute("stroke-width",B.strokeWidth),D.node.setAttribute("fill-opacity",B.fillOpacity)),p!==void 0&&f!==void 0&&(D.attr("data-range-y1",p),D.attr("data-range-y2",f)),new Oe(this.ctx).setSelectionFilter(D,t,r),d.add(D),D.attr({cy:H.dataLabelsPos.bcy,cx:H.dataLabelsPos.bcx,j:r,val:R.globals.series[n][r],barHeight:v,barWidth:b}),H.dataLabels!==null&&y.add(H.dataLabels),H.totalDataLabels&&y.add(H.totalDataLabels),d.add(y),A&&d.add(A),C&&d.add(C)}return d}},{key:"drawBarPaths",value:function(e){var t,a=e.indexes,i=e.barHeight,r=e.strokeWidth,n=e.zeroW,o=e.x,l=e.y,c=e.yDivision,h=e.elSeries,d=this.w,u=a.i,g=a.j;if(d.globals.isXNumeric)t=(l=(d.globals.seriesX[u][g]-d.globals.minX)/this.invertedXRatio-i)+i*this.visibleI;else if(d.config.plotOptions.bar.hideZeroBarsWhenGrouped){var p=this.barHelpers.getZeroValueEncounters({i:u,j:g}),f=p.nonZeroColumns,m=p.zeroEncounters;f>0&&(i=this.seriesLen*i/f),t=l+i*this.visibleI,t-=i*m}else t=l+i*this.visibleI;this.isFunnel&&(n-=(this.barHelpers.getXForValue(this.series[u][g],n)-n)/2),o=this.barHelpers.getXForValue(this.series[u][g],n);var v=this.barHelpers.getBarpaths({barYPosition:t,barHeight:i,x1:n,x2:o,strokeWidth:r,isReversed:this.isReversed,series:this.series,realIndex:a.realIndex,i:u,j:g,w:d});return d.globals.isXNumeric||(l+=c),this.barHelpers.barBackground({j:g,i:u,y1:t-i*this.visibleI,y2:i*this.seriesLen,elSeries:h}),{pathTo:v.pathTo,pathFrom:v.pathFrom,x1:n,x:o,y:l,goalX:this.barHelpers.getGoalValues("x",n,null,u,g),barYPosition:t,barHeight:i}}},{key:"drawColumnPaths",value:function(e){var t,a=e.indexes,i=e.x,r=e.y,n=e.xDivision,o=e.barWidth,l=e.zeroH,c=e.strokeWidth,h=e.elSeries,d=this.w,u=a.realIndex,g=a.translationsIndex,p=a.i,f=a.j,m=a.bc;if(d.globals.isXNumeric){var v=this.getBarXForNumericXAxis({x:i,j:f,realIndex:u,barWidth:o});i=v.x,t=v.barXPosition}else if(d.config.plotOptions.bar.hideZeroBarsWhenGrouped){var b=this.barHelpers.getZeroValueEncounters({i:p,j:f}),w=b.nonZeroColumns,k=b.zeroEncounters;w>0&&(o=this.seriesLen*o/w),t=i+o*this.visibleI,t-=o*k}else t=i+o*this.visibleI;r=this.barHelpers.getYForValue(this.series[p][f],l,g);var y=this.barHelpers.getColumnPaths({barXPosition:t,barWidth:o,y1:l,y2:r,strokeWidth:c,isReversed:this.isReversed,series:this.series,realIndex:u,i:p,j:f,w:d});return d.globals.isXNumeric||(i+=n),this.barHelpers.barBackground({bc:m,j:f,i:p,x1:t-c/2-o*this.visibleI,x2:o*this.seriesLen+c/2,elSeries:h}),{pathTo:y.pathTo,pathFrom:y.pathFrom,x:i,y:r,goalY:this.barHelpers.getGoalValues("y",null,l,p,f,g),barXPosition:t,barWidth:o}}},{key:"getBarXForNumericXAxis",value:function(e){var t=e.x,a=e.barWidth,i=e.realIndex,r=e.j,n=this.w,o=i;return n.globals.seriesX[i].length||(o=n.globals.maxValsInArrayIndex),L.isNumber(n.globals.seriesX[o][r])&&(t=(n.globals.seriesX[o][r]-n.globals.minX)/this.xRatio-a*this.seriesLen/2),{barXPosition:t+a*this.visibleI,x:t}}},{key:"getPreviousPath",value:function(e,t){for(var a=this.w,i="M 0 0",r=0;r<a.globals.previousPaths.length;r++){var n=a.globals.previousPaths[r];n.paths&&n.paths.length>0&&parseInt(n.realIndex,10)===parseInt(e,10)&&a.globals.previousPaths[r].paths[t]!==void 0&&(i=a.globals.previousPaths[r].paths[t].d)}return i}}]),s})(),Sr=(function(s){wa(t,Gt);var e=ya(t);function t(){return N(this,t),e.apply(this,arguments)}return V(t,[{key:"draw",value:function(a,i){var r=this,n=this.w;this.graphics=new E(this.ctx),this.bar=new Gt(this.ctx,this.xyRatios);var o=new Ae(this.ctx,n);a=o.getLogSeries(a),this.yRatio=o.getLogYRatios(this.yRatio),this.barHelpers.initVariables(a),n.config.chart.stackType==="100%"&&(a=n.globals.comboCharts?i.map((function(p){return n.globals.seriesPercent[p]})):n.globals.seriesPercent.slice()),this.series=a,this.barHelpers.initializeStackedPrevVars(this);for(var l=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),c=0,h=0,d=function(p,f){var m=void 0,v=void 0,b=void 0,w=void 0,k=n.globals.comboCharts?i[p]:p,y=r.barHelpers.getGroupIndex(k),A=y.groupIndex,C=y.columnGroupIndex;r.groupCtx=r[n.globals.seriesGroups[A]];var S=[],M=[],I=0;r.yRatio.length>1&&(r.yaxisIndex=n.globals.seriesYAxisReverseMap[k][0],I=k),r.isReversed=n.config.yaxis[r.yaxisIndex]&&n.config.yaxis[r.yaxisIndex].reversed;var R=r.graphics.group({class:"apexcharts-series",seriesName:L.escapeString(n.globals.seriesNames[k]),rel:p+1,"data:realIndex":k});r.ctx.series.addCollapsedClassToSeries(R,k);var P=r.graphics.group({class:"apexcharts-datalabels","data:realIndex":k}),_=r.graphics.group({class:"apexcharts-bar-goals-markers"}),O=0,H=0,T=r.initialPositions(c,h,m,v,b,w,I);h=T.y,O=T.barHeight,v=T.yDivision,w=T.zeroW,c=T.x,H=T.barWidth,m=T.xDivision,b=T.zeroH,n.globals.barHeight=O,n.globals.barWidth=H,r.barHelpers.initializeStackedXYVars(r),r.groupCtx.prevY.length===1&&r.groupCtx.prevY[0].every((function(xe){return isNaN(xe)}))&&(r.groupCtx.prevY[0]=r.groupCtx.prevY[0].map((function(){return b})),r.groupCtx.prevYF[0]=r.groupCtx.prevYF[0].map((function(){return 0})));for(var D=0;D<n.globals.dataPoints;D++){var B=r.barHelpers.getStrokeWidth(p,D,k),X={indexes:{i:p,j:D,realIndex:k,translationsIndex:I,bc:f},strokeWidth:B,x:c,y:h,elSeries:R,columnGroupIndex:C,seriesGroup:n.globals.seriesGroups[A]},Y=null;r.isHorizontal?(Y=r.drawStackedBarPaths(F(F({},X),{},{zeroW:w,barHeight:O,yDivision:v})),H=r.series[p][D]/r.invertedYRatio):(Y=r.drawStackedColumnPaths(F(F({},X),{},{xDivision:m,barWidth:H,zeroH:b})),O=r.series[p][D]/r.yRatio[I]);var W=r.barHelpers.drawGoalLine({barXPosition:Y.barXPosition,barYPosition:Y.barYPosition,goalX:Y.goalX,goalY:Y.goalY,barHeight:O,barWidth:H});W&&_.add(W),h=Y.y,c=Y.x,S.push(c),M.push(h);var U=r.barHelpers.getPathFillColor(a,p,D,k),re="",J=n.globals.isBarHorizontal?"apexcharts-flip-x":"apexcharts-flip-y";(r.barHelpers.arrBorderRadius[k][D]==="bottom"&&n.globals.series[k][D]>0||r.barHelpers.arrBorderRadius[k][D]==="top"&&n.globals.series[k][D]<0)&&(re=J),R=r.renderSeries(F(F({realIndex:k,pathFill:U.color},U.useRangeColor?{lineFill:U.color}:{}),{},{j:D,i:p,columnGroupIndex:C,pathFrom:Y.pathFrom,pathTo:Y.pathTo,strokeWidth:B,elSeries:R,x:c,y:h,series:a,barHeight:O,barWidth:H,elDataLabelsWrap:P,elGoalsMarkers:_,type:"bar",visibleSeries:C,classes:re}))}n.globals.seriesXvalues[k]=S,n.globals.seriesYvalues[k]=M,r.groupCtx.prevY.push(r.groupCtx.yArrj),r.groupCtx.prevYF.push(r.groupCtx.yArrjF),r.groupCtx.prevYVal.push(r.groupCtx.yArrjVal),r.groupCtx.prevX.push(r.groupCtx.xArrj),r.groupCtx.prevXF.push(r.groupCtx.xArrjF),r.groupCtx.prevXVal.push(r.groupCtx.xArrjVal),l.add(R)},u=0,g=0;u<a.length;u++,g++)d(u,g);return l}},{key:"initialPositions",value:function(a,i,r,n,o,l,c){var h,d,u=this.w;if(this.isHorizontal){n=u.globals.gridHeight/u.globals.dataPoints;var g=u.config.plotOptions.bar.barHeight;h=String(g).indexOf("%")===-1?parseInt(g,10):n*parseInt(g,10)/100,l=u.globals.padHorizontal+(this.isReversed?u.globals.gridWidth-this.baseLineInvertedY:this.baseLineInvertedY),i=(n-h)/2}else{d=r=u.globals.gridWidth/u.globals.dataPoints;var p=u.config.plotOptions.bar.columnWidth;u.globals.isXNumeric&&u.globals.dataPoints>1?d=(r=u.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:String(p).indexOf("%")===-1?d=parseInt(p,10):d*=parseInt(p,10)/100,o=this.isReversed?this.baseLineY[c]:u.globals.gridHeight-this.baseLineY[c],a=u.globals.padHorizontal+(r-d)/2}var f=u.globals.barGroups.length||1;return{x:a,y:i,yDivision:n,xDivision:r,barHeight:h/f,barWidth:d/f,zeroH:o,zeroW:l}}},{key:"drawStackedBarPaths",value:function(a){for(var i,r=a.indexes,n=a.barHeight,o=a.strokeWidth,l=a.zeroW,c=a.x,h=a.y,d=a.columnGroupIndex,u=a.seriesGroup,g=a.yDivision,p=a.elSeries,f=this.w,m=h+d*n,v=r.i,b=r.j,w=r.realIndex,k=r.translationsIndex,y=0,A=0;A<this.groupCtx.prevXF.length;A++)y+=this.groupCtx.prevXF[A][b];var C=v;if(f.config.series[w].name&&(C=u.indexOf(f.config.series[w].name)),C>0){var S=l;this.groupCtx.prevXVal[C-1][b]<0?S=this.series[v][b]>=0?this.groupCtx.prevX[C-1][b]+y-2*(this.isReversed?y:0):this.groupCtx.prevX[C-1][b]:this.groupCtx.prevXVal[C-1][b]>=0&&(S=this.series[v][b]>=0?this.groupCtx.prevX[C-1][b]:this.groupCtx.prevX[C-1][b]-y+2*(this.isReversed?y:0)),i=S}else i=l;c=this.series[v][b]===null?i:i+this.series[v][b]/this.invertedYRatio-2*(this.isReversed?this.series[v][b]/this.invertedYRatio:0);var M=this.barHelpers.getBarpaths({barYPosition:m,barHeight:n,x1:i,x2:c,strokeWidth:o,isReversed:this.isReversed,series:this.series,realIndex:r.realIndex,seriesGroup:u,i:v,j:b,w:f});return this.barHelpers.barBackground({j:b,i:v,y1:m,y2:n,elSeries:p}),h+=g,{pathTo:M.pathTo,pathFrom:M.pathFrom,goalX:this.barHelpers.getGoalValues("x",l,null,v,b,k),barXPosition:i,barYPosition:m,x:c,y:h}}},{key:"drawStackedColumnPaths",value:function(a){var i=a.indexes,r=a.x,n=a.y,o=a.xDivision,l=a.barWidth,c=a.zeroH,h=a.columnGroupIndex,d=a.seriesGroup,u=a.elSeries,g=this.w,p=i.i,f=i.j,m=i.bc,v=i.realIndex,b=i.translationsIndex;if(g.globals.isXNumeric){var w=g.globals.seriesX[v][f];w||(w=0),r=(w-g.globals.minX)/this.xRatio-l/2*g.globals.barGroups.length}for(var k,y=r+h*l,A=0,C=0;C<this.groupCtx.prevYF.length;C++)A+=isNaN(this.groupCtx.prevYF[C][f])?0:this.groupCtx.prevYF[C][f];var S=p;if(d&&(S=d.indexOf(g.globals.seriesNames[v])),S>0&&!g.globals.isXNumeric||S>0&&g.globals.isXNumeric&&g.globals.seriesX[v-1][f]===g.globals.seriesX[v][f]){var M,I,R,P=Math.min(this.yRatio.length+1,v+1);if(this.groupCtx.prevY[S-1]!==void 0&&this.groupCtx.prevY[S-1].length)for(var _=1;_<P;_++){var O;if(!isNaN((O=this.groupCtx.prevY[S-_])===null||O===void 0?void 0:O[f])){R=this.groupCtx.prevY[S-_][f];break}}for(var H=1;H<P;H++){var T,D;if(((T=this.groupCtx.prevYVal[S-H])===null||T===void 0?void 0:T[f])<0){I=this.series[p][f]>=0?R-A+2*(this.isReversed?A:0):R;break}if(((D=this.groupCtx.prevYVal[S-H])===null||D===void 0?void 0:D[f])>=0){I=this.series[p][f]>=0?R:R+A-2*(this.isReversed?A:0);break}}I===void 0&&(I=g.globals.gridHeight),k=(M=this.groupCtx.prevYF[0])!==null&&M!==void 0&&M.every((function(X){return X===0}))&&this.groupCtx.prevYF.slice(1,S).every((function(X){return X.every((function(Y){return isNaN(Y)}))}))?c:I}else k=c;n=this.series[p][f]?k-this.series[p][f]/this.yRatio[b]+2*(this.isReversed?this.series[p][f]/this.yRatio[b]:0):k;var B=this.barHelpers.getColumnPaths({barXPosition:y,barWidth:l,y1:k,y2:n,yRatio:this.yRatio[b],strokeWidth:this.strokeWidth,isReversed:this.isReversed,series:this.series,seriesGroup:d,realIndex:i.realIndex,i:p,j:f,w:g});return this.barHelpers.barBackground({bc:m,j:f,i:p,x1:y,x2:l,elSeries:u}),{pathTo:B.pathTo,pathFrom:B.pathFrom,goalY:this.barHelpers.getGoalValues("y",null,c,p,f),barXPosition:y,x:g.globals.isXNumeric?r:r+o,y:n}}}]),t})(),Oi=(function(s){wa(t,Gt);var e=ya(t);function t(){return N(this,t),e.apply(this,arguments)}return V(t,[{key:"draw",value:function(a,i,r){var n=this,o=this.w,l=new E(this.ctx),c=o.globals.comboCharts?i:o.config.chart.type,h=new tt(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=o.config.plotOptions.bar.horizontal,this.isOHLC=this.candlestickOptions&&this.candlestickOptions.type==="ohlc";var d=new Ae(this.ctx,o);a=d.getLogSeries(a),this.series=a,this.yRatio=d.getLogYRatios(this.yRatio),this.barHelpers.initVariables(a);for(var u=l.group({class:"apexcharts-".concat(c,"-series apexcharts-plot-series")}),g=function(f){n.isBoxPlot=o.config.chart.type==="boxPlot"||o.config.series[f].type==="boxPlot";var m,v,b,w,k=void 0,y=void 0,A=[],C=[],S=o.globals.comboCharts?r[f]:f,M=n.barHelpers.getGroupIndex(S).columnGroupIndex,I=l.group({class:"apexcharts-series",seriesName:L.escapeString(o.globals.seriesNames[S]),rel:f+1,"data:realIndex":S});n.ctx.series.addCollapsedClassToSeries(I,S),a[f].length>0&&(n.visibleI=n.visibleI+1);var R,P,_=0;n.yRatio.length>1&&(n.yaxisIndex=o.globals.seriesYAxisReverseMap[S][0],_=S);var O=n.barHelpers.initialPositions(S);y=O.y,R=O.barHeight,v=O.yDivision,w=O.zeroW,k=O.x,P=O.barWidth,m=O.xDivision,b=O.zeroH,C.push(k+P/2);for(var H=l.group({class:"apexcharts-datalabels","data:realIndex":S}),T=l.group({class:"apexcharts-bar-goals-markers"}),D=function(X){var Y=n.barHelpers.getStrokeWidth(f,X,S),W=null,U={indexes:{i:f,j:X,realIndex:S,translationsIndex:_},x:k,y,strokeWidth:Y,elSeries:I};W=n.isHorizontal?n.drawHorizontalBoxPaths(F(F({},U),{},{yDivision:v,barHeight:R,zeroW:w})):n.drawVerticalBoxPaths(F(F({},U),{},{xDivision:m,barWidth:P,zeroH:b})),y=W.y,k=W.x;var re=n.barHelpers.drawGoalLine({barXPosition:W.barXPosition,barYPosition:W.barYPosition,goalX:W.goalX,goalY:W.goalY,barHeight:R,barWidth:P});re&&T.add(re),X>0&&C.push(k+P/2),A.push(y),W.pathTo.forEach((function(J,xe){var Q=!n.isBoxPlot&&n.candlestickOptions.wick.useFillColor?W.color[xe]:o.globals.stroke.colors[f],ee=h.fillPath({seriesNumber:S,dataPointIndex:X,color:W.color[xe],value:a[f][X]});n.renderSeries({realIndex:S,pathFill:ee,lineFill:Q,j:X,i:f,pathFrom:W.pathFrom,pathTo:J,strokeWidth:Y,elSeries:I,x:k,y,series:a,columnGroupIndex:M,barHeight:R,barWidth:P,elDataLabelsWrap:H,elGoalsMarkers:T,visibleSeries:n.visibleI,type:o.config.chart.type})}))},B=0;B<o.globals.dataPoints;B++)D(B);o.globals.seriesXvalues[S]=C,o.globals.seriesYvalues[S]=A,u.add(I)},p=0;p<a.length;p++)g(p);return u}},{key:"drawVerticalBoxPaths",value:function(a){var i=a.indexes,r=a.x;a.y;var n=a.xDivision,o=a.barWidth,l=a.zeroH,c=a.strokeWidth,h=this.w,d=new E(this.ctx),u=i.i,g=i.j,p=h.config.plotOptions.candlestick.colors,f=this.boxOptions.colors,m=i.realIndex,v=function(B){return Array.isArray(B)?B[m]:B},b=v(p.upward),w=v(p.downward),k=this.yRatio[i.translationsIndex],y=this.getOHLCValue(m,g),A=l,C=l,S=y.o<y.c?[b]:[w];this.isBoxPlot&&(S=[v(f.lower),v(f.upper)]);var M=Math.min(y.o,y.c),I=Math.max(y.o,y.c),R=y.m;h.globals.isXNumeric&&(r=(h.globals.seriesX[m][g]-h.globals.minX)/this.xRatio-o/2);var P=r+o*this.visibleI;this.series[u][g]===void 0||this.series[u][g]===null?(M=l,I=l):(M=l-M/k,I=l-I/k,A=l-y.h/k,C=l-y.l/k,R=l-y.m/k);var _=d.move(P,l),O=d.move(P+o/2,M);if(h.globals.previousPaths.length>0&&(O=this.getPreviousPath(m,g,!0)),this.isOHLC){var H=P+o/2,T=l-y.o/k,D=l-y.c/k;_=[d.move(H,A)+d.line(H,C)+d.move(H,T)+d.line(P,T)+d.move(H,D)+d.line(P+o,D)]}else _=this.isBoxPlot?[d.move(P,M)+d.line(P+o/2,M)+d.line(P+o/2,A)+d.line(P+o/4,A)+d.line(P+o-o/4,A)+d.line(P+o/2,A)+d.line(P+o/2,M)+d.line(P+o,M)+d.line(P+o,R)+d.line(P,R)+d.line(P,M+c/2),d.move(P,R)+d.line(P+o,R)+d.line(P+o,I)+d.line(P+o/2,I)+d.line(P+o/2,C)+d.line(P+o-o/4,C)+d.line(P+o/4,C)+d.line(P+o/2,C)+d.line(P+o/2,I)+d.line(P,I)+d.line(P,R)+"z"]:[d.move(P,I)+d.line(P+o/2,I)+d.line(P+o/2,A)+d.line(P+o/2,I)+d.line(P+o,I)+d.line(P+o,M)+d.line(P+o/2,M)+d.line(P+o/2,C)+d.line(P+o/2,M)+d.line(P,M)+d.line(P,I-c/2)];return O+=d.move(P,M),h.globals.isXNumeric||(r+=n),{pathTo:_,pathFrom:O,x:r,y:I,goalY:this.barHelpers.getGoalValues("y",null,l,u,g,i.translationsIndex),barXPosition:P,color:S}}},{key:"drawHorizontalBoxPaths",value:function(a){var i=a.indexes;a.x;var r=a.y,n=a.yDivision,o=a.barHeight,l=a.zeroW,c=a.strokeWidth,h=this.w,d=new E(this.ctx),u=i.i,g=i.j,p=this.boxOptions.colors.lower;this.isBoxPlot&&(p=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var f=this.invertedYRatio,m=i.realIndex,v=this.getOHLCValue(m,g),b=l,w=l,k=Math.min(v.o,v.c),y=Math.max(v.o,v.c),A=v.m;h.globals.isXNumeric&&(r=(h.globals.seriesX[m][g]-h.globals.minX)/this.invertedXRatio-o/2);var C=r+o*this.visibleI;this.series[u][g]===void 0||this.series[u][g]===null?(k=l,y=l):(k=l+k/f,y=l+y/f,b=l+v.h/f,w=l+v.l/f,A=l+v.m/f);var S=d.move(l,C),M=d.move(k,C+o/2);return h.globals.previousPaths.length>0&&(M=this.getPreviousPath(m,g,!0)),S=[d.move(k,C)+d.line(k,C+o/2)+d.line(b,C+o/2)+d.line(b,C+o/2-o/4)+d.line(b,C+o/2+o/4)+d.line(b,C+o/2)+d.line(k,C+o/2)+d.line(k,C+o)+d.line(A,C+o)+d.line(A,C)+d.line(k+c/2,C),d.move(A,C)+d.line(A,C+o)+d.line(y,C+o)+d.line(y,C+o/2)+d.line(w,C+o/2)+d.line(w,C+o-o/4)+d.line(w,C+o/4)+d.line(w,C+o/2)+d.line(y,C+o/2)+d.line(y,C)+d.line(A,C)+"z"],M+=d.move(k,C),h.globals.isXNumeric||(r+=n),{pathTo:S,pathFrom:M,x:y,y:r,goalX:this.barHelpers.getGoalValues("x",l,null,u,g),barYPosition:C,color:p}}},{key:"getOHLCValue",value:function(a,i){var r=this.w,n=new Ae(this.ctx,r),o=n.getLogValAtSeriesIndex(r.globals.seriesCandleH[a][i],a),l=n.getLogValAtSeriesIndex(r.globals.seriesCandleO[a][i],a),c=n.getLogValAtSeriesIndex(r.globals.seriesCandleM[a][i],a),h=n.getLogValAtSeriesIndex(r.globals.seriesCandleC[a][i],a),d=n.getLogValAtSeriesIndex(r.globals.seriesCandleL[a][i],a);return{o:this.isBoxPlot?o:l,h:this.isBoxPlot?l:o,m:c,l:this.isBoxPlot?h:d,c:this.isBoxPlot?d:h}}}]),t})(),mo=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,a=e.config.plotOptions[e.config.chart.type];return a.colorScale.ranges.length>0&&a.colorScale.ranges.map((function(i,r){i.from<=0&&(t=!0)})),t}},{key:"getShadeColor",value:function(e,t,a,i){var r=this.w,n=1,o=r.config.plotOptions[e].shadeIntensity,l=this.determineColor(e,t,a);r.globals.hasNegs||i?n=r.config.plotOptions[e].reverseNegativeShade?l.percent<0?l.percent/100*(1.25*o):(1-l.percent/100)*(1.25*o):l.percent<=0?1-(1+l.percent/100)*o:(1-l.percent/100)*o:(n=1-l.percent/100,e==="treemap"&&(n=(1-l.percent/100)*(1.25*o)));var c=l.color,h=new L;if(r.config.plotOptions[e].enableShades)if(this.w.config.theme.mode==="dark"){var d=h.shadeColor(-1*n,l.color);c=L.hexToRgba(L.isColorHex(d)?d:L.rgb2hex(d),r.config.fill.opacity)}else{var u=h.shadeColor(n,l.color);c=L.hexToRgba(L.isColorHex(u)?u:L.rgb2hex(u),r.config.fill.opacity)}return{color:c,colorProps:l}}},{key:"determineColor",value:function(e,t,a){var i=this.w,r=i.globals.series[t][a],n=i.config.plotOptions[e],o=n.colorScale.inverse?a:t;n.distributed&&i.config.chart.type==="treemap"&&(o=a);var l=i.globals.colors[o],c=null,h=Math.min.apply(Math,Re(i.globals.series[t])),d=Math.max.apply(Math,Re(i.globals.series[t]));n.distributed||e!=="heatmap"||(h=i.globals.minY,d=i.globals.maxY),n.colorScale.min!==void 0&&(h=n.colorScale.min<i.globals.minY?n.colorScale.min:i.globals.minY,d=n.colorScale.max>i.globals.maxY?n.colorScale.max:i.globals.maxY);var u=Math.abs(d)+Math.abs(h),g=100*r/(u===0?u-1e-6:u);return n.colorScale.ranges.length>0&&n.colorScale.ranges.map((function(p,f){if(r>=p.from&&r<=p.to){l=p.color,c=p.foreColor?p.foreColor:null,h=p.from,d=p.to;var m=Math.abs(d)+Math.abs(h);g=100*r/(m===0?m-1e-6:m)}})),{color:l,foreColor:c,percent:g}}},{key:"calculateDataLabels",value:function(e){var t=e.text,a=e.x,i=e.y,r=e.i,n=e.j,o=e.colorProps,l=e.fontSize,c=this.w.config.dataLabels,h=new E(this.ctx),d=new Wt(this.ctx),u=null;if(c.enabled){u=h.group({class:"apexcharts-data-labels"});var g=c.offsetX,p=c.offsetY,f=a+g,m=i+parseFloat(c.style.fontSize)/3+p;d.plotDataLabelsText({x:f,y:m,text:t,i:r,j:n,color:o.foreColor,parent:u,fontSize:l,dataLabelsConfig:c})}return u}},{key:"addListeners",value:function(e){var t=new E(this.ctx);e.node.addEventListener("mouseenter",t.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",t.pathMouseLeave.bind(this,e)),e.node.addEventListener("mousedown",t.pathMouseDown.bind(this,e))}}]),s})(),dd=(function(){function s(e,t){N(this,s),this.ctx=e,this.w=e.w,this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new mo(e),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return V(s,[{key:"draw",value:function(e){var t=this.w,a=new E(this.ctx),i=a.group({class:"apexcharts-heatmap"});i.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var r=t.globals.gridWidth/t.globals.dataPoints,n=t.globals.gridHeight/t.globals.series.length,o=0,l=!1;this.negRange=this.helpers.checkColorRange();var c=e.slice();t.config.yaxis[0].reversed&&(l=!0,c.reverse());for(var h=l?0:c.length-1;l?h<c.length:h>=0;l?h++:h--){var d=a.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:L.escapeString(t.globals.seriesNames[h]),rel:h+1,"data:realIndex":h});if(this.ctx.series.addCollapsedClassToSeries(d,h),t.config.chart.dropShadow.enabled){var u=t.config.chart.dropShadow;new Oe(this.ctx).dropShadow(d,u,h)}for(var g=0,p=t.config.plotOptions.heatmap.shadeIntensity,f=0,m=0;m<t.globals.dataPoints;m++)if(t.globals.seriesX.length&&!t.globals.allSeriesHasEqualX&&t.globals.minX+t.globals.minXDiff*m<t.globals.seriesX[h][f])g+=r;else{if(f>=c[h].length)break;var v=this.helpers.getShadeColor(t.config.chart.type,h,f,this.negRange),b=v.color,w=v.colorProps;t.config.fill.type==="image"&&(b=new tt(this.ctx).fillPath({seriesNumber:h,dataPointIndex:f,opacity:t.globals.hasNegs?w.percent<0?1-(1+w.percent/100):p+w.percent/100:w.percent/100,patternID:L.randomId(),width:t.config.fill.image.width?t.config.fill.image.width:r,height:t.config.fill.image.height?t.config.fill.image.height:n}));var k=this.rectRadius,y=a.drawRect(g,o,r,n,k);if(y.attr({cx:g,cy:o}),y.node.classList.add("apexcharts-heatmap-rect"),d.add(y),y.attr({fill:b,i:h,index:h,j:f,val:e[h][f],"stroke-width":this.strokeWidth,stroke:t.config.plotOptions.heatmap.useFillColorAsStroke?b:t.globals.stroke.colors[0],color:b}),this.helpers.addListeners(y),t.config.chart.animations.enabled&&!t.globals.dataChanged){var A=1;t.globals.resized||(A=t.config.chart.animations.speed),this.animateHeatMap(y,g,o,r,n,A)}if(t.globals.dataChanged){var C=1;if(this.dynamicAnim.enabled&&t.globals.shouldAnimate){C=this.dynamicAnim.speed;var S=t.globals.previousPaths[h]&&t.globals.previousPaths[h][f]&&t.globals.previousPaths[h][f].color;S||(S="rgba(255, 255, 255, 0)"),this.animateHeatColor(y,L.isColorHex(S)?S:L.rgb2hex(S),L.isColorHex(b)?b:L.rgb2hex(b),C)}}var M=(0,t.config.dataLabels.formatter)(t.globals.series[h][f],{value:t.globals.series[h][f],seriesIndex:h,dataPointIndex:f,w:t}),I=this.helpers.calculateDataLabels({text:M,x:g+r/2,y:o+n/2,i:h,j:f,colorProps:w,series:c});I!==null&&d.add(I),g+=r,f++}o+=n,i.add(d)}var R=t.globals.yAxisScale[0].result.slice();return t.config.yaxis[0].reversed?R.unshift(""):R.push(""),t.globals.yAxisScale[0].result=R,i}},{key:"animateHeatMap",value:function(e,t,a,i,r,n){var o=new Ut(this.ctx);o.animateRect(e,{x:t+i/2,y:a+r/2,width:0,height:0},{x:t,y:a,width:i,height:r},n,(function(){o.animationCompleted(e)}))}},{key:"animateHeatColor",value:function(e,t,a,i){e.attr({fill:t}).animate(i).attr({fill:a})}}]),s})(),vo=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"drawYAxisTexts",value:function(e,t,a,i){var r=this.w,n=r.config.yaxis[0],o=r.globals.yLabelFormatters[0];return new E(this.ctx).drawText({x:e+n.labels.offsetX,y:t+n.labels.offsetY,text:o(i,a),textAnchor:"middle",fontSize:n.labels.style.fontSize,fontFamily:n.labels.style.fontFamily,foreColor:Array.isArray(n.labels.style.colors)?n.labels.style.colors[a]:n.labels.style.colors})}}]),s})(),bo=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w;var t=this.w;this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels,this.lineColorArr=t.globals.stroke.colors!==void 0?t.globals.stroke.colors:t.globals.colors,this.defaultSize=Math.min(t.globals.gridWidth,t.globals.gridHeight),this.centerY=this.defaultSize/2,this.centerX=t.globals.gridWidth/2,t.config.chart.type==="radialBar"?this.fullAngle=360:this.fullAngle=Math.abs(t.config.plotOptions.pie.endAngle-t.config.plotOptions.pie.startAngle),this.initialAngle=t.config.plotOptions.pie.startAngle%this.fullAngle,t.globals.radialSize=this.defaultSize/2.05-t.config.stroke.width-(t.config.chart.sparkline.enabled?0:t.config.chart.dropShadow.blur),this.donutSize=t.globals.radialSize*parseInt(t.config.plotOptions.pie.donut.size,10)/100;var a=t.config.plotOptions.pie.customScale,i=t.globals.gridWidth/2,r=t.globals.gridHeight/2;this.translateX=i-i*a,this.translateY=r-r*a,this.dataLabelsGroup=new E(this.ctx).group({class:"apexcharts-datalabels-group",transform:"translate(".concat(this.translateX,", ").concat(this.translateY,") scale(").concat(a,")")}),this.maxY=0,this.sliceLabels=[],this.sliceSizes=[],this.prevSectorAngleArr=[]}return V(s,[{key:"draw",value:function(e){var t=this,a=this.w,i=new E(this.ctx),r=i.group({class:"apexcharts-pie"});if(a.globals.noData)return r;for(var n=0,o=0;o<e.length;o++)n+=L.negToZero(e[o]);var l=[],c=i.group();n===0&&(n=1e-5),e.forEach((function(w){t.maxY=Math.max(t.maxY,w)})),a.config.yaxis[0].max&&(this.maxY=a.config.yaxis[0].max),a.config.grid.position==="back"&&this.chartType==="polarArea"&&this.drawPolarElements(r);for(var h=0;h<e.length;h++){var d=this.fullAngle*L.negToZero(e[h])/n;l.push(d),this.chartType==="polarArea"?(l[h]=this.fullAngle/e.length,this.sliceSizes.push(a.globals.radialSize*e[h]/this.maxY)):this.sliceSizes.push(a.globals.radialSize)}if(a.globals.dataChanged){for(var u,g=0,p=0;p<a.globals.previousPaths.length;p++)g+=L.negToZero(a.globals.previousPaths[p]);for(var f=0;f<a.globals.previousPaths.length;f++)u=this.fullAngle*L.negToZero(a.globals.previousPaths[f])/g,this.prevSectorAngleArr.push(u)}if(this.donutSize<0&&(this.donutSize=0),this.chartType==="donut"){var m=i.drawCircle(this.donutSize);m.attr({cx:this.centerX,cy:this.centerY,fill:a.config.plotOptions.pie.donut.background?a.config.plotOptions.pie.donut.background:"transparent"}),c.add(m)}var v=this.drawArcs(l,e);if(this.sliceLabels.forEach((function(w){v.add(w)})),c.attr({transform:"translate(".concat(this.translateX,", ").concat(this.translateY,") scale(").concat(a.config.plotOptions.pie.customScale,")")}),c.add(v),r.add(c),this.donutDataLabels.show){var b=this.renderInnerDataLabels(this.dataLabelsGroup,this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show});r.add(b)}return a.config.grid.position==="front"&&this.chartType==="polarArea"&&this.drawPolarElements(r),r}},{key:"drawArcs",value:function(e,t){var a=this.w,i=new Oe(this.ctx),r=new E(this.ctx),n=new tt(this.ctx),o=r.group({class:"apexcharts-slices"}),l=this.initialAngle,c=this.initialAngle,h=this.initialAngle,d=this.initialAngle;this.strokeWidth=a.config.stroke.show?a.config.stroke.width:0;for(var u=0;u<e.length;u++){var g=r.group({class:"apexcharts-series apexcharts-pie-series",seriesName:L.escapeString(a.globals.seriesNames[u]),rel:u+1,"data:realIndex":u});o.add(g),c=d,h=(l=h)+e[u],d=c+this.prevSectorAngleArr[u];var p=h<l?this.fullAngle+h-l:h-l,f=n.fillPath({seriesNumber:u,size:this.sliceSizes[u],value:t[u]}),m=this.getChangedPath(c,d),v=r.drawPath({d:m,stroke:Array.isArray(this.lineColorArr)?this.lineColorArr[u]:this.lineColorArr,strokeWidth:0,fill:f,fillOpacity:a.config.fill.opacity,classes:"apexcharts-pie-area apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(u)});if(v.attr({index:0,j:u}),i.setSelectionFilter(v,0,u),a.config.chart.dropShadow.enabled){var b=a.config.chart.dropShadow;i.dropShadow(v,b,u)}this.addListeners(v,this.donutDataLabels),E.setAttrs(v.node,{"data:angle":p,"data:startAngle":l,"data:strokeWidth":this.strokeWidth,"data:value":t[u]});var w={x:0,y:0};this.chartType==="pie"||this.chartType==="polarArea"?w=L.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize/1.25+a.config.plotOptions.pie.dataLabels.offset,(l+p/2)%this.fullAngle):this.chartType==="donut"&&(w=L.polarToCartesian(this.centerX,this.centerY,(a.globals.radialSize+this.donutSize)/2+a.config.plotOptions.pie.dataLabels.offset,(l+p/2)%this.fullAngle)),g.add(v);var k=0;if(!this.initialAnim||a.globals.resized||a.globals.dataChanged?this.animBeginArr.push(0):((k=p/this.fullAngle*a.config.chart.animations.speed)===0&&(k=1),this.animDur=k+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&a.globals.dataChanged?this.animatePaths(v,{size:this.sliceSizes[u],endAngle:h,startAngle:l,prevStartAngle:c,prevEndAngle:d,animateStartingPos:!0,i:u,animBeginArr:this.animBeginArr,shouldSetPrevPaths:!0,dur:a.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(v,{size:this.sliceSizes[u],endAngle:h,startAngle:l,i:u,totalItems:e.length-1,animBeginArr:this.animBeginArr,dur:k}),a.config.plotOptions.pie.expandOnClick&&this.chartType!=="polarArea"&&v.node.addEventListener("mouseup",this.pieClicked.bind(this,u)),a.globals.selectedDataPoints[0]!==void 0&&a.globals.selectedDataPoints[0].indexOf(u)>-1&&this.pieClicked(u),a.config.dataLabels.enabled){var y=w.x,A=w.y,C=100*p/this.fullAngle+"%";if(p!==0&&a.config.plotOptions.pie.dataLabels.minAngleToShowLabel<e[u]){var S=a.config.dataLabels.formatter;S!==void 0&&(C=S(a.globals.seriesPercent[u][0],{seriesIndex:u,w:a}));var M=a.globals.dataLabels.style.colors[u],I=r.group({class:"apexcharts-datalabels"}),R=r.drawText({x:y,y:A,text:C,textAnchor:"middle",fontSize:a.config.dataLabels.style.fontSize,fontFamily:a.config.dataLabels.style.fontFamily,fontWeight:a.config.dataLabels.style.fontWeight,foreColor:M});if(I.add(R),a.config.dataLabels.dropShadow.enabled){var P=a.config.dataLabels.dropShadow;i.dropShadow(R,P)}R.node.classList.add("apexcharts-pie-label"),a.config.chart.animations.animate&&a.globals.resized===!1&&(R.node.classList.add("apexcharts-pie-label-delay"),R.node.style.animationDelay=a.config.chart.animations.speed/940+"s"),this.sliceLabels.push(I)}}}return o}},{key:"addListeners",value:function(e,t){var a=new E(this.ctx);e.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this,e)),e.node.addEventListener("mouseleave",this.revertDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",a.pathMouseDown.bind(this,e)),this.donutDataLabels.total.showAlways||(e.node.addEventListener("mouseenter",this.printDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",this.printDataLabelsInner.bind(this,e.node,t)))}},{key:"animatePaths",value:function(e,t){var a=this.w,i=t.endAngle<t.startAngle?this.fullAngle+t.endAngle-t.startAngle:t.endAngle-t.startAngle,r=i,n=t.startAngle,o=t.startAngle;t.prevStartAngle!==void 0&&t.prevEndAngle!==void 0&&(n=t.prevEndAngle,r=t.prevEndAngle<t.prevStartAngle?this.fullAngle+t.prevEndAngle-t.prevStartAngle:t.prevEndAngle-t.prevStartAngle),t.i===a.config.series.length-1&&(i+o>this.fullAngle?t.endAngle=t.endAngle-(i+o):i+o<this.fullAngle&&(t.endAngle=t.endAngle+(this.fullAngle-(i+o)))),i===this.fullAngle&&(i=this.fullAngle-.01),this.animateArc(e,n,o,i,r,t)}},{key:"animateArc",value:function(e,t,a,i,r,n){var o,l=this,c=this.w,h=new Ut(this.ctx),d=n.size;(isNaN(t)||isNaN(r))&&(t=a,r=i,n.dur=0);var u=i,g=a,p=t<a?this.fullAngle+t-a:t-a;c.globals.dataChanged&&n.shouldSetPrevPaths&&n.prevEndAngle&&(o=l.getPiePath({me:l,startAngle:n.prevStartAngle,angle:n.prevEndAngle<n.prevStartAngle?this.fullAngle+n.prevEndAngle-n.prevStartAngle:n.prevEndAngle-n.prevStartAngle,size:d}),e.attr({d:o})),n.dur!==0?e.animate(n.dur,n.animBeginArr[n.i]).after((function(){l.chartType!=="pie"&&l.chartType!=="donut"&&l.chartType!=="polarArea"||this.animate(c.config.chart.animations.dynamicAnimation.speed).attr({"stroke-width":l.strokeWidth}),n.i===c.config.series.length-1&&h.animationCompleted(e)})).during((function(f){u=p+(i-p)*f,n.animateStartingPos&&(u=r+(i-r)*f,g=t-r+(a-(t-r))*f),o=l.getPiePath({me:l,startAngle:g,angle:u,size:d}),e.node.setAttribute("data:pathOrig",o),e.attr({d:o})})):(o=l.getPiePath({me:l,startAngle:g,angle:i,size:d}),n.isTrack||(c.globals.animationEnded=!0),e.node.setAttribute("data:pathOrig",o),e.attr({d:o,"stroke-width":l.strokeWidth}))}},{key:"pieClicked",value:function(e){var t,a=this.w,i=this,r=i.sliceSizes[e]+(a.config.plotOptions.pie.expandOnClick?4:0),n=a.globals.dom.Paper.findOne(".apexcharts-".concat(i.chartType.toLowerCase(),"-slice-").concat(e));if(n.attr("data:pieClicked")!=="true"){var o=a.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area");Array.prototype.forEach.call(o,(function(d){d.setAttribute("data:pieClicked","false");var u=d.getAttribute("data:pathOrig");u&&d.setAttribute("d",u)})),a.globals.capturedDataPointIndex=e,n.attr("data:pieClicked","true");var l=parseInt(n.attr("data:startAngle"),10),c=parseInt(n.attr("data:angle"),10);t=i.getPiePath({me:i,startAngle:l,angle:c,size:r}),c!==360&&n.plot(t)}else{n.attr({"data:pieClicked":"false"}),this.revertDataLabelsInner(n.node,this.donutDataLabels);var h=n.attr("data:pathOrig");n.attr({d:h})}}},{key:"getChangedPath",value:function(e,t){var a="";return this.dynamicAnim&&this.w.globals.dataChanged&&(a=this.getPiePath({me:this,startAngle:e,angle:t-e,size:this.size})),a}},{key:"getPiePath",value:function(e){var t,a=e.me,i=e.startAngle,r=e.angle,n=e.size,o=new E(this.ctx),l=i,c=Math.PI*(l-90)/180,h=r+i;Math.ceil(h)>=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(h=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(h)>this.fullAngle&&(h-=this.fullAngle);var d=Math.PI*(h-90)/180,u=a.centerX+n*Math.cos(c),g=a.centerY+n*Math.sin(c),p=a.centerX+n*Math.cos(d),f=a.centerY+n*Math.sin(d),m=L.polarToCartesian(a.centerX,a.centerY,a.donutSize,h),v=L.polarToCartesian(a.centerX,a.centerY,a.donutSize,l),b=r>180?1:0,w=["M",u,g,"A",n,n,0,b,1,p,f];return t=a.chartType==="donut"?[].concat(w,["L",m.x,m.y,"A",a.donutSize,a.donutSize,0,b,0,v.x,v.y,"L",u,g,"z"]).join(" "):a.chartType==="pie"||a.chartType==="polarArea"?[].concat(w,["L",a.centerX,a.centerY,"L",u,g]).join(" "):[].concat(w).join(" "),o.roundPathCorners(t,2*this.strokeWidth)}},{key:"drawPolarElements",value:function(e){var t=this.w,a=new uo(this.ctx),i=new E(this.ctx),r=new vo(this.ctx),n=i.group(),o=i.group(),l=a.niceScale(0,Math.ceil(this.maxY),0),c=l.result.reverse(),h=l.result.length;this.maxY=l.niceMax;for(var d=t.globals.radialSize,u=d/(h-1),g=0;g<h-1;g++){var p=i.drawCircle(d);if(p.attr({cx:this.centerX,cy:this.centerY,fill:"none","stroke-width":t.config.plotOptions.polarArea.rings.strokeWidth,stroke:t.config.plotOptions.polarArea.rings.strokeColor}),t.config.yaxis[0].show){var f=r.drawYAxisTexts(this.centerX,this.centerY-d+parseInt(t.config.yaxis[0].labels.style.fontSize,10)/2,g,c[g]);o.add(f)}n.add(p),d-=u}this.drawSpokes(e),e.add(n),e.add(o)}},{key:"renderInnerDataLabels",value:function(e,t,a){var i=this.w,r=new E(this.ctx),n=t.total.show;e.node.innerHTML="",e.node.style.opacity=a.opacity;var o,l,c=a.centerX,h=this.donutDataLabels.total.label?a.centerY:a.centerY-a.centerY/6;o=t.name.color===void 0?i.globals.colors[0]:t.name.color;var d=t.name.fontSize,u=t.name.fontFamily,g=t.name.fontWeight;l=t.value.color===void 0?i.config.chart.foreColor:t.value.color;var p=t.value.formatter,f="",m="";if(n?(o=t.total.color,d=t.total.fontSize,u=t.total.fontFamily,g=t.total.fontWeight,m=this.donutDataLabels.total.label?t.total.label:"",f=t.total.formatter(i)):i.globals.series.length===1&&(f=p(i.globals.series[0],i),m=i.globals.seriesNames[0]),m&&(m=t.name.formatter(m,t.total.show,i)),t.name.show){var v=r.drawText({x:c,y:h+parseFloat(t.name.offsetY),text:m,textAnchor:"middle",foreColor:o,fontSize:d,fontWeight:g,fontFamily:u});v.node.classList.add("apexcharts-datalabel-label"),e.add(v)}if(t.value.show){var b=t.name.show?parseFloat(t.value.offsetY)+16:t.value.offsetY,w=r.drawText({x:c,y:h+b,text:f,textAnchor:"middle",foreColor:l,fontWeight:t.value.fontWeight,fontSize:t.value.fontSize,fontFamily:t.value.fontFamily});w.node.classList.add("apexcharts-datalabel-value"),e.add(w)}return e}},{key:"printInnerLabels",value:function(e,t,a,i){var r,n=this.w;i?r=e.name.color===void 0?n.globals.colors[parseInt(i.parentNode.getAttribute("rel"),10)-1]:e.name.color:n.globals.series.length>1&&e.total.show&&(r=e.total.color);var o=n.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),l=n.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");a=(0,e.value.formatter)(a,n),i||typeof e.total.formatter!="function"||(a=e.total.formatter(n));var c=t===e.total.label;t=this.donutDataLabels.total.label?e.name.formatter(t,c,n):"",o!==null&&(o.textContent=t),l!==null&&(l.textContent=a),o!==null&&(o.style.fill=r)}},{key:"printDataLabelsInner",value:function(e,t){var a=this.w,i=e.getAttribute("data:value"),r=a.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];a.globals.series.length>1&&this.printInnerLabels(t,r,i,e);var n=a.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");n!==null&&(n.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,a=this.w,i=new E(this.ctx),r=a.config.plotOptions.polarArea.spokes;if(r.strokeWidth!==0){for(var n=[],o=360/a.globals.series.length,l=0;l<a.globals.series.length;l++)n.push(L.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize,a.config.plotOptions.pie.startAngle+o*l));n.forEach((function(c,h){var d=i.drawLine(c.x,c.y,t.centerX,t.centerY,Array.isArray(r.connectorColors)?r.connectorColors[h]:r.connectorColors);e.add(d)}))}}},{key:"revertDataLabelsInner",value:function(){var e=this.w;if(this.donutDataLabels.show){var t=e.globals.dom.Paper.findOne(".apexcharts-datalabels-group"),a=this.renderInnerDataLabels(t,this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show});e.globals.dom.Paper.findOne(".apexcharts-radialbar, .apexcharts-pie").add(a)}}}]),s})(),ud=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var t=this.w;this.graphics=new E(this.ctx),this.lineColorArr=t.globals.stroke.colors!==void 0?t.globals.stroke.colors:t.globals.colors,this.defaultSize=t.globals.svgHeight<t.globals.svgWidth?t.globals.gridHeight:t.globals.gridWidth,this.isLog=t.config.yaxis[0].logarithmic,this.logBase=t.config.yaxis[0].logBase,this.coreUtils=new Ae(this.ctx),this.maxValue=this.isLog?this.coreUtils.getLogVal(this.logBase,t.globals.maxY,0):t.globals.maxY,this.minValue=this.isLog?this.coreUtils.getLogVal(this.logBase,this.w.globals.minY,0):t.globals.minY,this.polygons=t.config.plotOptions.radar.polygons,this.strokeWidth=t.config.stroke.show?t.config.stroke.width:0,this.size=this.defaultSize/2.1-this.strokeWidth-t.config.chart.dropShadow.blur,t.config.xaxis.labels.show&&(this.size=this.size-t.globals.xAxisLabelsWidth/1.75),t.config.plotOptions.radar.size!==void 0&&(this.size=t.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return V(s,[{key:"draw",value:function(e){var t=this,a=this.w,i=new tt(this.ctx),r=[],n=new Wt(this.ctx);e.length&&(this.dataPointsLen=e[a.globals.maxValsInArrayIndex].length),this.disAngle=2*Math.PI/this.dataPointsLen;var o=a.globals.gridWidth/2,l=a.globals.gridHeight/2,c=o+a.config.plotOptions.radar.offsetX,h=l+a.config.plotOptions.radar.offsetY,d=this.graphics.group({class:"apexcharts-radar-series apexcharts-plot-series",transform:"translate(".concat(c||0,", ").concat(h||0,")")}),u=[],g=null,p=null;if(this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),e.forEach((function(m,v){var b=m.length===a.globals.dataPoints,w=t.graphics.group().attr({class:"apexcharts-series","data:longestSeries":b,seriesName:L.escapeString(a.globals.seriesNames[v]),rel:v+1,"data:realIndex":v});t.dataRadiusOfPercent[v]=[],t.dataRadius[v]=[],t.angleArr[v]=[],m.forEach((function(_,O){var H=Math.abs(t.maxValue-t.minValue);_-=t.minValue,t.isLog&&(_=t.coreUtils.getLogVal(t.logBase,_,0)),t.dataRadiusOfPercent[v][O]=_/H,t.dataRadius[v][O]=t.dataRadiusOfPercent[v][O]*t.size,t.angleArr[v][O]=O*t.disAngle})),u=t.getDataPointsPos(t.dataRadius[v],t.angleArr[v]);var k=t.createPaths(u,{x:0,y:0});g=t.graphics.group({class:"apexcharts-series-markers-wrap apexcharts-element-hidden"}),p=t.graphics.group({class:"apexcharts-datalabels","data:realIndex":v}),a.globals.delayedElements.push({el:g.node,index:v});var y={i:v,realIndex:v,animationDelay:v,initialSpeed:a.config.chart.animations.speed,dataChangeSpeed:a.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:a.globals.stroke.colors[v],strokeLineCap:a.config.stroke.lineCap},A=null;a.globals.previousPaths.length>0&&(A=t.getPreviousPath(v));for(var C=0;C<k.linePathsTo.length;C++){var S=t.graphics.renderPaths(F(F({},y),{},{pathFrom:A===null?k.linePathsFrom[C]:A,pathTo:k.linePathsTo[C],strokeWidth:Array.isArray(t.strokeWidth)?t.strokeWidth[v]:t.strokeWidth,fill:"none",drawShadow:!1}));w.add(S);var M=i.fillPath({seriesNumber:v}),I=t.graphics.renderPaths(F(F({},y),{},{pathFrom:A===null?k.areaPathsFrom[C]:A,pathTo:k.areaPathsTo[C],strokeWidth:0,fill:M,drawShadow:!1}));if(a.config.chart.dropShadow.enabled){var R=new Oe(t.ctx),P=a.config.chart.dropShadow;R.dropShadow(I,Object.assign({},P,{noUserSpaceOnUse:!0}),v)}w.add(I)}m.forEach((function(_,O){var H=new Jt(t.ctx).getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:v,dataPointIndex:O}),T=t.graphics.drawMarker(u[O].x,u[O].y,H);T.attr("rel",O),T.attr("j",O),T.attr("index",v),T.node.setAttribute("default-marker-size",H.pSize);var D=t.graphics.group({class:"apexcharts-series-markers"});D&&D.add(T),g.add(D),w.add(g);var B=a.config.dataLabels;if(B.enabled){var X=B.formatter(a.globals.series[v][O],{seriesIndex:v,dataPointIndex:O,w:a});n.plotDataLabelsText({x:u[O].x,y:u[O].y,text:X,textAnchor:"middle",i:v,j:v,parent:p,offsetCorrection:!1,dataLabelsConfig:F({},B)})}w.add(p)})),r.push(w)})),this.drawPolygons({parent:d}),a.config.xaxis.labels.show){var f=this.drawXAxisTexts();d.add(f)}return r.forEach((function(m){d.add(m)})),d.add(this.yaxisLabels),d}},{key:"drawPolygons",value:function(e){for(var t=this,a=this.w,i=e.parent,r=new vo(this.ctx),n=a.globals.yAxisScale[0].result.reverse(),o=n.length,l=[],c=this.size/(o-1),h=0;h<o;h++)l[h]=c*h;l.reverse();var d=[],u=[];l.forEach((function(g,p){var f=L.getPolygonPos(g,t.dataPointsLen),m="";f.forEach((function(v,b){if(p===0){var w=t.graphics.drawLine(v.x,v.y,0,0,Array.isArray(t.polygons.connectorColors)?t.polygons.connectorColors[b]:t.polygons.connectorColors);u.push(w)}b===0&&t.yaxisLabelsTextsPos.push({x:v.x,y:v.y}),m+=v.x+","+v.y+" "})),d.push(m)})),d.forEach((function(g,p){var f=t.polygons.strokeColors,m=t.polygons.strokeWidth,v=t.graphics.drawPolygon(g,Array.isArray(f)?f[p]:f,Array.isArray(m)?m[p]:m,a.globals.radarPolygons.fill.colors[p]);i.add(v)})),u.forEach((function(g){i.add(g)})),a.config.yaxis[0].show&&this.yaxisLabelsTextsPos.forEach((function(g,p){var f=r.drawYAxisTexts(g.x,g.y,p,n[p]);t.yaxisLabels.add(f)}))}},{key:"drawXAxisTexts",value:function(){var e=this,t=this.w,a=t.config.xaxis.labels,i=this.graphics.group({class:"apexcharts-xaxis"}),r=L.getPolygonPos(this.size,this.dataPointsLen);return t.globals.labels.forEach((function(n,o){var l=t.config.xaxis.labels.formatter,c=new Wt(e.ctx);if(r[o]){var h=e.getTextPos(r[o],e.size),d=l(n,{seriesIndex:-1,dataPointIndex:o,w:t});c.plotDataLabelsText({x:h.newX,y:h.newY,text:d,textAnchor:h.textAnchor,i:o,j:o,parent:i,className:"apexcharts-xaxis-label",color:Array.isArray(a.style.colors)&&a.style.colors[o]?a.style.colors[o]:"#a8a8a8",dataLabelsConfig:F({textAnchor:h.textAnchor,dropShadow:{enabled:!1}},a),offsetCorrection:!1}).on("click",(function(u){if(typeof t.config.chart.events.xAxisLabelClick=="function"){var g=Object.assign({},t,{labelIndex:o});t.config.chart.events.xAxisLabelClick(u,e.ctx,g)}}))}})),i}},{key:"createPaths",value:function(e,t){var a=this,i=[],r=[],n=[],o=[];if(e.length){r=[this.graphics.move(t.x,t.y)],o=[this.graphics.move(t.x,t.y)];var l=this.graphics.move(e[0].x,e[0].y),c=this.graphics.move(e[0].x,e[0].y);e.forEach((function(h,d){l+=a.graphics.line(h.x,h.y),c+=a.graphics.line(h.x,h.y),d===e.length-1&&(l+="Z",c+="Z")})),i.push(l),n.push(c)}return{linePathsFrom:r,linePathsTo:i,areaPathsFrom:o,areaPathsTo:n}}},{key:"getTextPos",value:function(e,t){var a="middle",i=e.x,r=e.y;return Math.abs(e.x)>=10?e.x>0?(a="start",i+=10):e.x<0&&(a="end",i-=10):a="middle",Math.abs(e.y)>=t-10&&(e.y<0?r-=10:e.y>0&&(r+=10)),{textAnchor:a,newX:i,newY:r}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,a=null,i=0;i<t.globals.previousPaths.length;i++){var r=t.globals.previousPaths[i];r.paths.length>0&&parseInt(r.realIndex,10)===parseInt(e,10)&&t.globals.previousPaths[i].paths[0]!==void 0&&(a=t.globals.previousPaths[i].paths[0].d)}return a}},{key:"getDataPointsPos",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var i=[],r=0;r<a;r++){var n={};n.x=e[r]*Math.sin(t[r]),n.y=-e[r]*Math.cos(t[r]),i.push(n)}return i}}]),s})(),gd=(function(s){wa(t,bo);var e=ya(t);function t(a){var i;N(this,t),(i=e.call(this,a)).ctx=a,i.w=a.w,i.animBeginArr=[0],i.animDur=0;var r=i.w;return i.startAngle=r.config.plotOptions.radialBar.startAngle,i.endAngle=r.config.plotOptions.radialBar.endAngle,i.totalAngle=Math.abs(r.config.plotOptions.radialBar.endAngle-r.config.plotOptions.radialBar.startAngle),i.trackStartAngle=r.config.plotOptions.radialBar.track.startAngle,i.trackEndAngle=r.config.plotOptions.radialBar.track.endAngle,i.barLabels=i.w.config.plotOptions.radialBar.barLabels,i.donutDataLabels=i.w.config.plotOptions.radialBar.dataLabels,i.radialDataLabels=i.donutDataLabels,i.trackStartAngle||(i.trackStartAngle=i.startAngle),i.trackEndAngle||(i.trackEndAngle=i.endAngle),i.endAngle===360&&(i.endAngle=359.99),i.margin=parseInt(r.config.plotOptions.radialBar.track.margin,10),i.onBarLabelClick=i.onBarLabelClick.bind(_n(i)),i}return V(t,[{key:"draw",value:function(a){var i=this.w,r=new E(this.ctx),n=r.group({class:"apexcharts-radialbar"});if(i.globals.noData)return n;var o=r.group(),l=this.defaultSize/2,c=i.globals.gridWidth/2,h=this.defaultSize/2.05;i.config.chart.sparkline.enabled||(h=h-i.config.stroke.width-i.config.chart.dropShadow.blur);var d=i.globals.fill.colors;if(i.config.plotOptions.radialBar.track.show){var u=this.drawTracks({size:h,centerX:c,centerY:l,colorArr:d,series:a});o.add(u)}var g=this.drawArcs({size:h,centerX:c,centerY:l,colorArr:d,series:a}),p=360;i.config.plotOptions.radialBar.startAngle<0&&(p=this.totalAngle);var f=(360-p)/360;if(i.globals.radialSize=h-h*f,this.radialDataLabels.value.show){var m=Math.max(this.radialDataLabels.value.offsetY,this.radialDataLabels.name.offsetY);i.globals.radialSize+=m*f}return o.add(g.g),i.config.plotOptions.radialBar.hollow.position==="front"&&(g.g.add(g.elHollow),g.dataLabels&&g.g.add(g.dataLabels)),n.add(o),n}},{key:"drawTracks",value:function(a){var i=this.w,r=new E(this.ctx),n=r.group({class:"apexcharts-tracks"}),o=new Oe(this.ctx),l=new tt(this.ctx),c=this.getStrokeWidth(a);a.size=a.size-c/2;for(var h=0;h<a.series.length;h++){var d=r.group({class:"apexcharts-radialbar-track apexcharts-track"});n.add(d),d.attr({rel:h+1}),a.size=a.size-c-this.margin;var u=i.config.plotOptions.radialBar.track,g=l.fillPath({seriesNumber:0,size:a.size,fillColors:Array.isArray(u.background)?u.background[h]:u.background,solid:!0}),p=this.trackStartAngle,f=this.trackEndAngle;Math.abs(f)+Math.abs(p)>=360&&(f=360-Math.abs(this.startAngle)-.1);var m=r.drawPath({d:"",stroke:g,strokeWidth:c*parseInt(u.strokeWidth,10)/100,fill:"none",strokeOpacity:u.opacity,classes:"apexcharts-radialbar-area"});if(u.dropShadow.enabled){var v=u.dropShadow;o.dropShadow(m,v)}d.add(m),m.attr("id","apexcharts-radialbarTrack-"+h),this.animatePaths(m,{centerX:a.centerX,centerY:a.centerY,endAngle:f,startAngle:p,size:a.size,i:h,totalItems:2,animBeginArr:0,dur:0,isTrack:!0})}return n}},{key:"drawArcs",value:function(a){var i=this.w,r=new E(this.ctx),n=new tt(this.ctx),o=new Oe(this.ctx),l=r.group(),c=this.getStrokeWidth(a);a.size=a.size-c/2;var h=i.config.plotOptions.radialBar.hollow.background,d=a.size-c*a.series.length-this.margin*a.series.length-c*parseInt(i.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,u=d-i.config.plotOptions.radialBar.hollow.margin;i.config.plotOptions.radialBar.hollow.image!==void 0&&(h=this.drawHollowImage(a,l,d,h));var g=this.drawHollow({size:u,centerX:a.centerX,centerY:a.centerY,fill:h||"transparent"});if(i.config.plotOptions.radialBar.hollow.dropShadow.enabled){var p=i.config.plotOptions.radialBar.hollow.dropShadow;o.dropShadow(g,p)}var f=1;!this.radialDataLabels.total.show&&i.globals.series.length>1&&(f=0);var m=null;if(this.radialDataLabels.show){var v=i.globals.dom.Paper.findOne(".apexcharts-datalabels-group");m=this.renderInnerDataLabels(v,this.radialDataLabels,{hollowSize:d,centerX:a.centerX,centerY:a.centerY,opacity:f})}i.config.plotOptions.radialBar.hollow.position==="back"&&(l.add(g),m&&l.add(m));var b=!1;i.config.plotOptions.radialBar.inverseOrder&&(b=!0);for(var w=b?a.series.length-1:0;b?w>=0:w<a.series.length;b?w--:w++){var k=r.group({class:"apexcharts-series apexcharts-radial-series",seriesName:L.escapeString(i.globals.seriesNames[w])});l.add(k),k.attr({rel:w+1,"data:realIndex":w}),this.ctx.series.addCollapsedClassToSeries(k,w),a.size=a.size-c-this.margin;var y=n.fillPath({seriesNumber:w,size:a.size,value:a.series[w]}),A=this.startAngle,C=void 0,S=L.negToZero(a.series[w]>100?100:a.series[w])/100,M=Math.round(this.totalAngle*S)+this.startAngle,I=void 0;i.globals.dataChanged&&(C=this.startAngle,I=Math.round(this.totalAngle*L.negToZero(i.globals.previousPaths[w])/100)+C),Math.abs(M)+Math.abs(A)>360&&(M-=.01),Math.abs(I)+Math.abs(C)>360&&(I-=.01);var R=M-A,P=Array.isArray(i.config.stroke.dashArray)?i.config.stroke.dashArray[w]:i.config.stroke.dashArray,_=r.drawPath({d:"",stroke:y,strokeWidth:c,fill:"none",fillOpacity:i.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+w,strokeDashArray:P});if(E.setAttrs(_.node,{"data:angle":R,"data:value":a.series[w]}),i.config.chart.dropShadow.enabled){var O=i.config.chart.dropShadow;o.dropShadow(_,O,w)}if(o.setSelectionFilter(_,0,w),this.addListeners(_,this.radialDataLabels),k.add(_),_.attr({index:0,j:w}),this.barLabels.enabled){var H=L.polarToCartesian(a.centerX,a.centerY,a.size,A),T=this.barLabels.formatter(i.globals.seriesNames[w],{seriesIndex:w,w:i}),D=["apexcharts-radialbar-label"];this.barLabels.onClick||D.push("apexcharts-no-click");var B=this.barLabels.useSeriesColors?i.globals.colors[w]:i.config.chart.foreColor;B||(B=i.config.chart.foreColor);var X=H.x+this.barLabels.offsetX,Y=H.y+this.barLabels.offsetY,W=r.drawText({x:X,y:Y,text:T,textAnchor:"end",dominantBaseline:"middle",fontFamily:this.barLabels.fontFamily,fontWeight:this.barLabels.fontWeight,fontSize:this.barLabels.fontSize,foreColor:B,cssClass:D.join(" ")});W.on("click",this.onBarLabelClick),W.attr({rel:w+1}),A!==0&&W.attr({"transform-origin":"".concat(X," ").concat(Y),transform:"rotate(".concat(A," 0 0)")}),k.add(W)}var U=0;!this.initialAnim||i.globals.resized||i.globals.dataChanged||(U=i.config.chart.animations.speed),i.globals.dataChanged&&(U=i.config.chart.animations.dynamicAnimation.speed),this.animDur=U/(1.2*a.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(_,{centerX:a.centerX,centerY:a.centerY,endAngle:M,startAngle:A,prevEndAngle:I,prevStartAngle:C,size:a.size,i:w,totalItems:2,animBeginArr:this.animBeginArr,dur:U,shouldSetPrevPaths:!0})}return{g:l,elHollow:g,dataLabels:m}}},{key:"drawHollow",value:function(a){var i=new E(this.ctx).drawCircle(2*a.size);return i.attr({class:"apexcharts-radialbar-hollow",cx:a.centerX,cy:a.centerY,r:a.size,fill:a.fill}),i}},{key:"drawHollowImage",value:function(a,i,r,n){var o=this.w,l=new tt(this.ctx),c=L.randomId(),h=o.config.plotOptions.radialBar.hollow.image;if(o.config.plotOptions.radialBar.hollow.imageClipped)l.clippedImgArea({width:r,height:r,image:h,patternID:"pattern".concat(o.globals.cuid).concat(c)}),n="url(#pattern".concat(o.globals.cuid).concat(c,")");else{var d=o.config.plotOptions.radialBar.hollow.imageWidth,u=o.config.plotOptions.radialBar.hollow.imageHeight;if(d===void 0&&u===void 0){var g=o.globals.dom.Paper.image(h,(function(f){this.move(a.centerX-f.width/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,a.centerY-f.height/2+o.config.plotOptions.radialBar.hollow.imageOffsetY)}));i.add(g)}else{var p=o.globals.dom.Paper.image(h,(function(f){this.move(a.centerX-d/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,a.centerY-u/2+o.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(d,u)}));i.add(p)}}return n}},{key:"getStrokeWidth",value:function(a){var i=this.w;return a.size*(100-parseInt(i.config.plotOptions.radialBar.hollow.size,10))/100/(a.series.length+1)-this.margin}},{key:"onBarLabelClick",value:function(a){var i=parseInt(a.target.getAttribute("rel"),10)-1,r=this.barLabels.onClick,n=this.w;r&&r(n.globals.seriesNames[i],{w:n,seriesIndex:i})}}]),t})(),fd=(function(s){wa(t,Gt);var e=ya(t);function t(){return N(this,t),e.apply(this,arguments)}return V(t,[{key:"draw",value:function(a,i){var r=this.w,n=new E(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=a,this.seriesRangeStart=r.globals.seriesRangeStart,this.seriesRangeEnd=r.globals.seriesRangeEnd,this.barHelpers.initVariables(a);for(var o=n.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),l=0;l<a.length;l++){var c,h,d,u,g=void 0,p=void 0,f=r.globals.comboCharts?i[l]:l,m=this.barHelpers.getGroupIndex(f).columnGroupIndex,v=n.group({class:"apexcharts-series",seriesName:L.escapeString(r.globals.seriesNames[f]),rel:l+1,"data:realIndex":f});this.ctx.series.addCollapsedClassToSeries(v,f),a[l].length>0&&(this.visibleI=this.visibleI+1);var b=0,w=0,k=0;this.yRatio.length>1&&(this.yaxisIndex=r.globals.seriesYAxisReverseMap[f][0],k=f);var y=this.barHelpers.initialPositions(f);p=y.y,u=y.zeroW,g=y.x,w=y.barWidth,b=y.barHeight,c=y.xDivision,h=y.yDivision,d=y.zeroH;for(var A=n.group({class:"apexcharts-datalabels","data:realIndex":f}),C=n.group({class:"apexcharts-rangebar-goals-markers"}),S=0;S<r.globals.dataPoints;S++){var M=this.barHelpers.getStrokeWidth(l,S,f),I=this.seriesRangeStart[l][S],R=this.seriesRangeEnd[l][S],P=null,_=null,O=null,H={x:g,y:p,strokeWidth:M,elSeries:v},T=this.seriesLen;if(r.config.plotOptions.bar.rangeBarGroupRows&&(T=1),r.config.series[l].data[S]===void 0)break;if(this.isHorizontal){O=p+b*this.visibleI;var D=(h-b*T)/2;if(r.config.series[l].data[S].x){var B=this.detectOverlappingBars({i:l,j:S,barYPosition:O,srty:D,barHeight:b,yDivision:h,initPositions:y});b=B.barHeight,O=B.barYPosition}w=(P=this.drawRangeBarPaths(F({indexes:{i:l,j:S,realIndex:f},barHeight:b,barYPosition:O,zeroW:u,yDivision:h,y1:I,y2:R},H))).barWidth}else{r.globals.isXNumeric&&(g=(r.globals.seriesX[l][S]-r.globals.minX)/this.xRatio-w/2),_=g+w*this.visibleI;var X=(c-w*T)/2;if(r.config.series[l].data[S].x){var Y=this.detectOverlappingBars({i:l,j:S,barXPosition:_,srtx:X,barWidth:w,xDivision:c,initPositions:y});w=Y.barWidth,_=Y.barXPosition}b=(P=this.drawRangeColumnPaths(F({indexes:{i:l,j:S,realIndex:f,translationsIndex:k},barWidth:w,barXPosition:_,zeroH:d,xDivision:c},H))).barHeight}var W=this.barHelpers.drawGoalLine({barXPosition:P.barXPosition,barYPosition:O,goalX:P.goalX,goalY:P.goalY,barHeight:b,barWidth:w});W&&C.add(W),p=P.y,g=P.x;var U=this.barHelpers.getPathFillColor(a,l,S,f);this.renderSeries({realIndex:f,pathFill:U.color,lineFill:U.useRangeColor?U.color:r.globals.stroke.colors[f],j:S,i:l,x:g,y:p,y1:I,y2:R,pathFrom:P.pathFrom,pathTo:P.pathTo,strokeWidth:M,elSeries:v,series:a,barHeight:b,barWidth:w,barXPosition:_,barYPosition:O,columnGroupIndex:m,elDataLabelsWrap:A,elGoalsMarkers:C,visibleSeries:this.visibleI,type:"rangebar"})}o.add(v)}return o}},{key:"detectOverlappingBars",value:function(a){var i=a.i,r=a.j,n=a.barYPosition,o=a.barXPosition,l=a.srty,c=a.srtx,h=a.barHeight,d=a.barWidth,u=a.yDivision,g=a.xDivision,p=a.initPositions,f=this.w,m=[],v=f.config.series[i].data[r].rangeName,b=f.config.series[i].data[r].x,w=Array.isArray(b)?b.join(" "):b,k=f.globals.labels.map((function(A){return Array.isArray(A)?A.join(" "):A})).indexOf(w),y=f.globals.seriesRange[i].findIndex((function(A){return A.x===w&&A.overlaps.length>0}));return this.isHorizontal?(n=f.config.plotOptions.bar.rangeBarGroupRows?l+u*k:l+h*this.visibleI+u*k,y>-1&&!f.config.plotOptions.bar.rangeBarOverlap&&(m=f.globals.seriesRange[i][y].overlaps).indexOf(v)>-1&&(n=(h=p.barHeight/m.length)*this.visibleI+u*(100-parseInt(this.barOptions.barHeight,10))/100/2+h*(this.visibleI+m.indexOf(v))+u*k)):(k>-1&&!f.globals.timescaleLabels.length&&(o=f.config.plotOptions.bar.rangeBarGroupRows?c+g*k:c+d*this.visibleI+g*k),y>-1&&!f.config.plotOptions.bar.rangeBarOverlap&&(m=f.globals.seriesRange[i][y].overlaps).indexOf(v)>-1&&(o=(d=p.barWidth/m.length)*this.visibleI+g*(100-parseInt(this.barOptions.barWidth,10))/100/2+d*(this.visibleI+m.indexOf(v))+g*k)),{barYPosition:n,barXPosition:o,barHeight:h,barWidth:d}}},{key:"drawRangeColumnPaths",value:function(a){var i=a.indexes,r=a.x,n=a.xDivision,o=a.barWidth,l=a.barXPosition,c=a.zeroH,h=this.w,d=i.i,u=i.j,g=i.realIndex,p=i.translationsIndex,f=this.yRatio[p],m=this.getRangeValue(g,u),v=Math.min(m.start,m.end),b=Math.max(m.start,m.end);this.series[d][u]===void 0||this.series[d][u]===null?v=c:(v=c-v/f,b=c-b/f);var w=Math.abs(b-v),k=this.barHelpers.getColumnPaths({barXPosition:l,barWidth:o,y1:v,y2:b,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:g,i:g,j:u,w:h});if(h.globals.isXNumeric){var y=this.getBarXForNumericXAxis({x:r,j:u,realIndex:g,barWidth:o});r=y.x,l=y.barXPosition}else r+=n;return{pathTo:k.pathTo,pathFrom:k.pathFrom,barHeight:w,x:r,y:m.start<0&&m.end<0?v:b,goalY:this.barHelpers.getGoalValues("y",null,c,d,u,p),barXPosition:l}}},{key:"preventBarOverflow",value:function(a){var i=this.w;return a<0&&(a=0),a>i.globals.gridWidth&&(a=i.globals.gridWidth),a}},{key:"drawRangeBarPaths",value:function(a){var i=a.indexes,r=a.y,n=a.y1,o=a.y2,l=a.yDivision,c=a.barHeight,h=a.barYPosition,d=a.zeroW,u=this.w,g=i.realIndex,p=i.j,f=this.preventBarOverflow(d+n/this.invertedYRatio),m=this.preventBarOverflow(d+o/this.invertedYRatio),v=this.getRangeValue(g,p),b=Math.abs(m-f),w=this.barHelpers.getBarpaths({barYPosition:h,barHeight:c,x1:f,x2:m,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:g,realIndex:g,j:p,w:u});return u.globals.isXNumeric||(r+=l),{pathTo:w.pathTo,pathFrom:w.pathFrom,barWidth:b,x:v.start<0&&v.end<0?f:m,goalX:this.barHelpers.getGoalValues("x",d,null,g,p),y:r}}},{key:"getRangeValue",value:function(a,i){var r=this.w;return{start:r.globals.seriesRangeStart[a][i],end:r.globals.seriesRangeEnd[a][i]}}}]),t})(),pd=(function(){function s(e){N(this,s),this.w=e.w,this.lineCtx=e}return V(s,[{key:"sameValueSeriesFix",value:function(e,t){var a=this.w;if((a.config.fill.type==="gradient"||a.config.fill.type[e]==="gradient")&&new Ae(this.lineCtx.ctx,a).seriesHaveSameValues(e)){var i=t[e].slice();i[i.length-1]=i[i.length-1]+1e-6,t[e]=i}return t}},{key:"calculatePoints",value:function(e){var t=e.series,a=e.realIndex,i=e.x,r=e.y,n=e.i,o=e.j,l=e.prevY,c=this.w,h=[],d=[],u=this.lineCtx.categoryAxisCorrection+c.config.markers.offsetX;return c.globals.isXNumeric&&(u=(c.globals.seriesX[a][0]-c.globals.minX)/this.lineCtx.xRatio+c.config.markers.offsetX),o===0&&(h.push(u),d.push(L.isNumber(t[n][0])?l+c.config.markers.offsetY:null)),h.push(i+c.config.markers.offsetX),d.push(L.isNumber(t[n][o+1])?r+c.config.markers.offsetY:null),{x:h,y:d}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,a=e.pathFromArea,i=e.realIndex,r=this.w,n=0;n<r.globals.previousPaths.length;n++){var o=r.globals.previousPaths[n];(o.type==="line"||o.type==="area")&&o.paths.length>0&&parseInt(o.realIndex,10)===parseInt(i,10)&&(o.type==="line"?(this.lineCtx.appendPathFrom=!1,t=r.globals.previousPaths[n].paths[0].d):o.type==="area"&&(this.lineCtx.appendPathFrom=!1,a=r.globals.previousPaths[n].paths[0].d,r.config.stroke.show&&r.globals.previousPaths[n].paths[1]&&(t=r.globals.previousPaths[n].paths[1].d)))}return{pathFromLine:t,pathFromArea:a}}},{key:"determineFirstPrevY",value:function(e){var t,a,i,r=e.i,n=e.realIndex,o=e.series,l=e.prevY,c=e.lineYPosition,h=e.translationsIndex,d=this.w,u=d.config.chart.stacked&&!d.globals.comboCharts||d.config.chart.stacked&&d.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||((t=this.w.config.series[n])===null||t===void 0?void 0:t.type)==="bar"||((a=this.w.config.series[n])===null||a===void 0?void 0:a.type)==="column");if(((i=o[r])===null||i===void 0?void 0:i[0])!==void 0)l=(c=u&&r>0?this.lineCtx.prevSeriesY[r-1][0]:this.lineCtx.zeroY)-o[r][0]/this.lineCtx.yRatio[h]+2*(this.lineCtx.isReversed?o[r][0]/this.lineCtx.yRatio[h]:0);else if(u&&r>0&&o[r][0]===void 0){for(var g=r-1;g>=0;g--)if(o[g][0]!==null&&o[g][0]!==void 0){l=c=this.lineCtx.prevSeriesY[g][0];break}}return{prevY:l,lineYPosition:c}}}]),s})(),xd=function(s){for(var e,t,a,i,r=(function(h){for(var d=[],u=h[0],g=h[1],p=d[0]=Hi(u,g),f=1,m=h.length-1;f<m;f++)u=g,g=h[f+1],d[f]=.5*(p+(p=Hi(u,g)));return d[f]=p,d})(s),n=s.length-1,o=[],l=0;l<n;l++)a=Hi(s[l],s[l+1]),Math.abs(a)<1e-6?r[l]=r[l+1]=0:(i=(e=r[l]/a)*e+(t=r[l+1]/a)*t)>9&&(i=3*a/Math.sqrt(i),r[l]=i*e,r[l+1]=i*t);for(var c=0;c<=n;c++)i=(s[Math.min(n,c+1)][0]-s[Math.max(0,c-1)][0])/(6*(1+r[c]*r[c])),o.push([i||0,r[c]*i||0]);return o},md=function(s){var e=xd(s),t=s[1],a=s[0],i=[],r=e[1],n=e[0];i.push(a,[a[0]+n[0],a[1]+n[1],t[0]-r[0],t[1]-r[1],t[0],t[1]]);for(var o=2,l=e.length;o<l;o++){var c=s[o],h=e[o];i.push([c[0]-h[0],c[1]-h[1],c[0],c[1]])}return i},vd=function(s,e,t){var a=s.slice(e,t);if(e){if(t-e>1&&a[1].length<6){var i=a[0].length;a[1]=[2*a[0][i-2]-a[0][i-4],2*a[0][i-1]-a[0][i-3]].concat(a[1])}a[0]=a[0].slice(-2)}return a};function Hi(s,e){return(e[1]-s[1])/(e[0]-s[0])}var Ti=(function(){function s(e,t,a){N(this,s),this.ctx=e,this.w=e.w,this.xyRatios=t,this.pointsChart=!(this.w.config.chart.type!=="bubble"&&this.w.config.chart.type!=="scatter")||a,this.scatter=new lo(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new pd(this),this.markers=new Jt(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return V(s,[{key:"draw",value:function(e,t,a,i){var r,n=this.w,o=new E(this.ctx),l=n.globals.comboCharts?t:n.config.chart.type,c=o.group({class:"apexcharts-".concat(l,"-series apexcharts-plot-series")}),h=new Ae(this.ctx,n);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=h.getLogSeries(e),this.yRatio=h.getLogYRatios(this.yRatio),this.prevSeriesY=[];for(var d=[],u=0;u<e.length;u++){e=this.lineHelpers.sameValueSeriesFix(u,e);var g=n.globals.comboCharts?a[u]:u,p=this.yRatio.length>1?g:0;this._initSerieVariables(e,u,g);var f=[],m=[],v=[],b=n.globals.padHorizontal+this.categoryAxisCorrection;this.ctx.series.addCollapsedClassToSeries(this.elSeries,g),n.globals.isXNumeric&&n.globals.seriesX.length>0&&(b=(n.globals.seriesX[g][0]-n.globals.minX)/this.xRatio),v.push(b);var w,k=b,y=void 0,A=k,C=this.zeroY,S=this.zeroY;C=this.lineHelpers.determineFirstPrevY({i:u,realIndex:g,series:e,prevY:C,lineYPosition:0,translationsIndex:p}).prevY,n.config.stroke.curve==="monotoneCubic"&&e[u][0]===null?f.push(null):f.push(C),w=C,l==="rangeArea"&&(y=S=this.lineHelpers.determineFirstPrevY({i:u,realIndex:g,series:i,prevY:S,lineYPosition:0,translationsIndex:p}).prevY,m.push(f[0]!==null?S:null));var M=this._calculatePathsFrom({type:l,series:e,i:u,realIndex:g,translationsIndex:p,prevX:A,prevY:C,prevY2:S}),I=[f[0]],R=[m[0]],P={type:l,series:e,realIndex:g,translationsIndex:p,i:u,x:b,y:1,pX:k,pY:w,pathsFrom:M,linePaths:[],areaPaths:[],seriesIndex:a,lineYPosition:0,xArrj:v,yArrj:f,y2Arrj:m,seriesRangeEnd:i},_=this._iterateOverDataPoints(F(F({},P),{},{iterations:l==="rangeArea"?e[u].length-1:void 0,isRangeStart:!0}));if(l==="rangeArea"){for(var O=this._calculatePathsFrom({series:i,i:u,realIndex:g,prevX:A,prevY:S}),H=this._iterateOverDataPoints(F(F({},P),{},{series:i,xArrj:[b],yArrj:I,y2Arrj:R,pY:y,areaPaths:_.areaPaths,pathsFrom:O,iterations:i[u].length-1,isRangeStart:!1})),T=_.linePaths.length/2,D=0;D<T;D++)_.linePaths[D]=H.linePaths[D+T]+_.linePaths[D];_.linePaths.splice(T),_.pathFromLine=H.pathFromLine+_.pathFromLine}else _.pathFromArea+="z";this._handlePaths({type:l,realIndex:g,i:u,paths:_}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),d.push(this.elSeries)}if(((r=n.config.series[0])===null||r===void 0?void 0:r.zIndex)!==void 0&&d.sort((function(Y,W){return Number(Y.node.getAttribute("zIndex"))-Number(W.node.getAttribute("zIndex"))})),n.config.chart.stacked)for(var B=d.length-1;B>=0;B--)c.add(d[B]);else for(var X=0;X<d.length;X++)c.add(d[X]);return c}},{key:"_initSerieVariables",value:function(e,t,a){var i=this.w,r=new E(this.ctx);this.xDivision=i.globals.gridWidth/(i.globals.dataPoints-(i.config.xaxis.tickPlacement==="on"?1:0)),this.strokeWidth=Array.isArray(i.config.stroke.width)?i.config.stroke.width[a]:i.config.stroke.width;var n=0;if(this.yRatio.length>1&&(this.yaxisIndex=i.globals.seriesYAxisReverseMap[a],n=a),this.isReversed=i.config.yaxis[this.yaxisIndex]&&i.config.yaxis[this.yaxisIndex].reversed,this.zeroY=i.globals.gridHeight-this.baseLineY[n]-(this.isReversed?i.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[n]:0),this.areaBottomY=this.zeroY,(this.zeroY>i.globals.gridHeight||i.config.plotOptions.area.fillTo==="end")&&(this.areaBottomY=i.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=r.group({class:"apexcharts-series",zIndex:i.config.series[a].zIndex!==void 0?i.config.series[a].zIndex:a,seriesName:L.escapeString(i.globals.seriesNames[a])}),this.elPointsMain=r.group({class:"apexcharts-series-markers-wrap","data:realIndex":a}),i.globals.hasNullValues){var o=this.markers.plotChartMarkers({pointsPos:{x:[0],y:[i.globals.gridHeight+i.globals.markers.largestSize]},seriesIndex:t,j:0,pSize:.1,alwaysDrawMarker:!0,isVirtualPoint:!0});o!==null&&this.elPointsMain.add(o)}this.elDataLabelsWrap=r.group({class:"apexcharts-datalabels","data:realIndex":a});var l=e[t].length===i.globals.dataPoints;this.elSeries.attr({"data:longestSeries":l,rel:t+1,"data:realIndex":a}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,a,i,r,n=e.type,o=e.series,l=e.i,c=e.realIndex,h=e.translationsIndex,d=e.prevX,u=e.prevY,g=e.prevY2,p=this.w,f=new E(this.ctx);if(o[l][0]===null){for(var m=0;m<o[l].length;m++)if(o[l][m]!==null){d=this.xDivision*m,u=this.zeroY-o[l][m]/this.yRatio[h],t=f.move(d,u),a=f.move(d,this.areaBottomY);break}}else t=f.move(d,u),n==="rangeArea"&&(t=f.move(d,g)+f.line(d,u)),a=f.move(d,this.areaBottomY)+f.line(d,u);if(i=f.move(0,this.areaBottomY)+f.line(0,this.areaBottomY),r=f.move(0,this.areaBottomY)+f.line(0,this.areaBottomY),p.globals.previousPaths.length>0){var v=this.lineHelpers.checkPreviousPaths({pathFromLine:i,pathFromArea:r,realIndex:c});i=v.pathFromLine,r=v.pathFromArea}return{prevX:d,prevY:u,linePath:t,areaPath:a,pathFromLine:i,pathFromArea:r}}},{key:"_handlePaths",value:function(e){var t=e.type,a=e.realIndex,i=e.i,r=e.paths,n=this.w,o=new E(this.ctx),l=new tt(this.ctx);this.prevSeriesY.push(r.yArrj),n.globals.seriesXvalues[a]=r.xArrj,n.globals.seriesYvalues[a]=r.yArrj;var c=n.config.forecastDataPoints;if(c.count>0&&t!=="rangeArea"){var h=n.globals.seriesXvalues[a][n.globals.seriesXvalues[a].length-c.count-1],d=o.drawRect(h,0,n.globals.gridWidth,n.globals.gridHeight,0);n.globals.dom.elForecastMask.appendChild(d.node);var u=o.drawRect(0,0,h,n.globals.gridHeight,0);n.globals.dom.elNonForecastMask.appendChild(u.node)}this.pointsChart||n.globals.delayedElements.push({el:this.elPointsMain.node,index:a});var g={i,realIndex:a,animationDelay:i,initialSpeed:n.config.chart.animations.speed,dataChangeSpeed:n.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if(t==="area")for(var p=l.fillPath({seriesNumber:a}),f=0;f<r.areaPaths.length;f++){var m=o.renderPaths(F(F({},g),{},{pathFrom:r.pathFromArea,pathTo:r.areaPaths[f],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:p}));this.elSeries.add(m)}if(n.config.stroke.show&&!this.pointsChart){var v=null;if(t==="line")v=l.fillPath({seriesNumber:a,i});else if(n.config.stroke.fill.type==="solid")v=n.globals.stroke.colors[a];else{var b=n.config.fill;n.config.fill=n.config.stroke.fill,v=l.fillPath({seriesNumber:a,i}),n.config.fill=b}for(var w=0;w<r.linePaths.length;w++){var k=v;t==="rangeArea"&&(k=l.fillPath({seriesNumber:a}));var y=F(F({},g),{},{pathFrom:r.pathFromLine,pathTo:r.linePaths[w],stroke:v,strokeWidth:this.strokeWidth,strokeLineCap:n.config.stroke.lineCap,fill:t==="rangeArea"?k:"none"}),A=o.renderPaths(y);if(this.elSeries.add(A),A.attr("fill-rule","evenodd"),c.count>0&&t!=="rangeArea"){var C=o.renderPaths(y);C.node.setAttribute("stroke-dasharray",c.dashArray),c.strokeWidth&&C.node.setAttribute("stroke-width",c.strokeWidth),this.elSeries.add(C),C.attr("clip-path","url(#forecastMask".concat(n.globals.cuid,")")),A.attr("clip-path","url(#nonForecastMask".concat(n.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){var t,a,i=this,r=e.type,n=e.series,o=e.iterations,l=e.realIndex,c=e.translationsIndex,h=e.i,d=e.x,u=e.y,g=e.pX,p=e.pY,f=e.pathsFrom,m=e.linePaths,v=e.areaPaths,b=e.seriesIndex,w=e.lineYPosition,k=e.xArrj,y=e.yArrj,A=e.y2Arrj,C=e.isRangeStart,S=e.seriesRangeEnd,M=this.w,I=new E(this.ctx),R=this.yRatio,P=f.prevY,_=f.linePath,O=f.areaPath,H=f.pathFromLine,T=f.pathFromArea,D=L.isNumber(M.globals.minYArr[l])?M.globals.minYArr[l]:M.globals.minY;o||(o=M.globals.dataPoints>1?M.globals.dataPoints-1:M.globals.dataPoints);var B=function(ye,Ce){return Ce-ye/R[c]+2*(i.isReversed?ye/R[c]:0)},X=u,Y=M.config.chart.stacked&&!M.globals.comboCharts||M.config.chart.stacked&&M.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||((t=this.w.config.series[l])===null||t===void 0?void 0:t.type)==="bar"||((a=this.w.config.series[l])===null||a===void 0?void 0:a.type)==="column"),W=M.config.stroke.curve;Array.isArray(W)&&(W=Array.isArray(b)?W[b[h]]:W[h]);for(var U,re=0,J=0;J<o&&n[h].length!==0;J++){var xe=n[h][J+1]===void 0||n[h][J+1]===null;if(M.globals.isXNumeric){var Q=M.globals.seriesX[l][J+1];M.globals.seriesX[l][J+1]===void 0&&(Q=M.globals.seriesX[l][o-1]),d=(Q-M.globals.minX)/this.xRatio}else d+=this.xDivision;Y?h>0&&M.globals.collapsedSeries.length<M.config.series.length-1?w=this.prevSeriesY[(function(ye){for(var Ce=ye;Ce>0;Ce--){if(!(M.globals.collapsedSeriesIndices.indexOf(b?.[Ce]||Ce)>-1))return Ce;Ce--}return 0})(h-1)][J+1]:w=this.zeroY:w=this.zeroY,xe?u=B(D,w):(u=B(n[h][J+1],w),r==="rangeArea"&&(X=B(S[h][J+1],w))),k.push(n[h][J+1]===null?null:d),!xe||M.config.stroke.curve!=="smooth"&&M.config.stroke.curve!=="monotoneCubic"?(y.push(u),A.push(X)):(y.push(null),A.push(null));var ee=this.lineHelpers.calculatePoints({series:n,x:d,y:u,realIndex:l,i:h,j:J,prevY:P}),ae=this._createPaths({type:r,series:n,i:h,realIndex:l,j:J,x:d,y:u,y2:X,xArrj:k,yArrj:y,y2Arrj:A,pX:g,pY:p,pathState:re,segmentStartX:U,linePath:_,areaPath:O,linePaths:m,areaPaths:v,curve:W,isRangeStart:C});v=ae.areaPaths,m=ae.linePaths,g=ae.pX,p=ae.pY,re=ae.pathState,U=ae.segmentStartX,O=ae.areaPath,_=ae.linePath,!this.appendPathFrom||M.globals.hasNullValues||W==="monotoneCubic"&&r==="rangeArea"||(H+=I.line(d,this.areaBottomY),T+=I.line(d,this.areaBottomY)),this.handleNullDataPoints(n,ee,h,J,l),this._handleMarkersAndLabels({type:r,pointsPos:ee,i:h,j:J,realIndex:l,isRangeStart:C})}return{yArrj:y,xArrj:k,pathFromArea:T,areaPaths:v,pathFromLine:H,linePaths:m,linePath:_,areaPath:O}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.type,a=e.pointsPos,i=e.isRangeStart,r=e.i,n=e.j,o=e.realIndex,l=this.w,c=new Wt(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,n,{realIndex:o,pointsPos:a,zRatio:this.zRatio,elParent:this.elPointsMain});else{l.globals.series[r].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var h=this.markers.plotChartMarkers({pointsPos:a,seriesIndex:o,j:n+1});h!==null&&this.elPointsMain.add(h)}var d=c.drawDataLabel({type:t,isRangeStart:i,pos:a,i:o,j:n+1});d!==null&&this.elDataLabelsWrap.add(d)}},{key:"_createPaths",value:function(e){var t=e.type,a=e.series,i=e.i;e.realIndex;var r,n=e.j,o=e.x,l=e.y,c=e.xArrj,h=e.yArrj,d=e.y2,u=e.y2Arrj,g=e.pX,p=e.pY,f=e.pathState,m=e.segmentStartX,v=e.linePath,b=e.areaPath,w=e.linePaths,k=e.areaPaths,y=e.curve,A=e.isRangeStart,C=new E(this.ctx),S=this.areaBottomY,M=t==="rangeArea",I=t==="rangeArea"&&A;switch(y){case"monotoneCubic":var R=A?h:u;switch(f){case 0:if(R[n+1]===null)break;f=1;case 1:if(!(M?c.length===a[i].length:n===a[i].length-2))break;case 2:var P=A?c:c.slice().reverse(),_=A?R:R.slice().reverse(),O=(r=_,P.map((function(Q,ee){return[Q,r[ee]]})).filter((function(Q){return Q[1]!==null}))),H=O.length>1?md(O):O,T=[];M&&(I?k=O:T=k.reverse());var D=0,B=0;if((function(Q,ee){for(var ae=(function(gt){var _e=[],Ge=0;return gt.forEach((function(vi){vi!==null?Ge++:Ge>0&&(_e.push(Ge),Ge=0)})),Ge>0&&_e.push(Ge),_e})(Q),ye=[],Ce=0,Ie=0;Ce<ae.length;Ie+=ae[Ce++])ye[Ce]=vd(ee,Ie,Ie+ae[Ce]);return ye})(_,H).forEach((function(Q){D++;var ee=(function(Ce){for(var Ie="",gt=0;gt<Ce.length;gt++){var _e=Ce[gt],Ge=_e.length;Ge>4?(Ie+="C".concat(_e[0],", ").concat(_e[1]),Ie+=", ".concat(_e[2],", ").concat(_e[3]),Ie+=", ".concat(_e[4],", ").concat(_e[5])):Ge>2&&(Ie+="S".concat(_e[0],", ").concat(_e[1]),Ie+=", ".concat(_e[2],", ").concat(_e[3]))}return Ie})(Q),ae=B,ye=(B+=Q.length)-1;I?v=C.move(O[ae][0],O[ae][1])+ee:M?v=C.move(T[ae][0],T[ae][1])+C.line(O[ae][0],O[ae][1])+ee+C.line(T[ye][0],T[ye][1]):(v=C.move(O[ae][0],O[ae][1])+ee,b=v+C.line(O[ye][0],S)+C.line(O[ae][0],S)+"z",k.push(b)),w.push(v)})),M&&D>1&&!I){var X=w.slice(D).reverse();w.splice(D),X.forEach((function(Q){return w.push(Q)}))}f=0}break;case"smooth":var Y=.35*(o-g);if(a[i][n]===null)f=0;else switch(f){case 0:if(m=g,v=I?C.move(g,u[n])+C.line(g,p):C.move(g,p),b=C.move(g,p),a[i][n+1]===null||a[i][n+1]===void 0){w.push(v),k.push(b);break}if(f=1,n<a[i].length-2){var W=C.curve(g+Y,p,o-Y,l,o,l);v+=W,b+=W;break}case 1:if(a[i][n+1]===null)v+=I?C.line(g,d):C.move(g,p),b+=C.line(g,S)+C.line(m,S)+"z",w.push(v),k.push(b),f=-1;else{var U=C.curve(g+Y,p,o-Y,l,o,l);v+=U,b+=U,n>=a[i].length-2&&(I&&(v+=C.curve(o,l,o,l,o,d)+C.move(o,d)),b+=C.curve(o,l,o,l,o,S)+C.line(m,S)+"z",w.push(v),k.push(b),f=-1)}}g=o,p=l;break;default:var re=function(Q,ee,ae){var ye=[];switch(Q){case"stepline":ye=C.line(ee,null,"H")+C.line(null,ae,"V");break;case"linestep":ye=C.line(null,ae,"V")+C.line(ee,null,"H");break;case"straight":ye=C.line(ee,ae)}return ye};if(a[i][n]===null)f=0;else switch(f){case 0:if(m=g,v=I?C.move(g,u[n])+C.line(g,p):C.move(g,p),b=C.move(g,p),a[i][n+1]===null||a[i][n+1]===void 0){w.push(v),k.push(b);break}if(f=1,n<a[i].length-2){var J=re(y,o,l);v+=J,b+=J;break}case 1:if(a[i][n+1]===null)v+=I?C.line(g,d):C.move(g,p),b+=C.line(g,S)+C.line(m,S)+"z",w.push(v),k.push(b),f=-1;else{var xe=re(y,o,l);v+=xe,b+=xe,n>=a[i].length-2&&(I&&(v+=C.line(o,d)),b+=C.line(o,S)+C.line(m,S)+"z",w.push(v),k.push(b),f=-1)}}g=o,p=l}return{linePaths:w,areaPaths:k,pX:g,pY:p,pathState:f,segmentStartX:m,linePath:v,areaPath:b}}},{key:"handleNullDataPoints",value:function(e,t,a,i,r){var n=this.w;if(e[a][i]===null&&n.config.markers.showNullDataPoints||e[a].length===1){var o=this.strokeWidth-n.config.markers.strokeWidth/2;o>0||(o=0);var l=this.markers.plotChartMarkers({pointsPos:t,seriesIndex:r,j:i+1,pSize:o,alwaysDrawMarker:!0});l!==null&&this.elPointsMain.add(l)}}}]),s})();window.TreemapSquared={},window.TreemapSquared.generate=(function(){function s(o,l,c,h){this.xoffset=o,this.yoffset=l,this.height=h,this.width=c,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(d){var u,g=[],p=this.xoffset,f=this.yoffset,m=r(d)/this.height,v=r(d)/this.width;if(this.width>=this.height)for(u=0;u<d.length;u++)g.push([p,f,p+m,f+d[u]/m]),f+=d[u]/m;else for(u=0;u<d.length;u++)g.push([p,f,p+d[u]/v,f+v]),p+=d[u]/v;return g},this.cutArea=function(d){var u;if(this.width>=this.height){var g=d/this.height,p=this.width-g;u=new s(this.xoffset+g,this.yoffset,p,this.height)}else{var f=d/this.width,m=this.height-f;u=new s(this.xoffset,this.yoffset+f,this.width,m)}return u}}function e(o,l,c,h,d){h=h===void 0?0:h,d=d===void 0?0:d;var u=t((function(g,p){var f,m=[],v=p/r(g);for(f=0;f<g.length;f++)m[f]=g[f]*v;return m})(o,l*c),[],new s(h,d,l,c),[]);return(function(g){var p,f,m=[];for(p=0;p<g.length;p++)for(f=0;f<g[p].length;f++)m.push(g[p][f]);return m})(u)}function t(o,l,c,h){var d,u,g;if(o.length!==0)return d=c.shortestEdge(),(function(p,f,m){var v;if(p.length===0)return!0;(v=p.slice()).push(f);var b=a(p,m),w=a(v,m);return b>=w})(l,u=o[0],d)?(l.push(u),t(o.slice(1),l,c,h)):(g=c.cutArea(r(l),h),h.push(c.getCoordinates(l)),t(o,[],g,h)),h;h.push(c.getCoordinates(l))}function a(o,l){var c=Math.min.apply(Math,o),h=Math.max.apply(Math,o),d=r(o);return Math.max(Math.pow(l,2)*h/Math.pow(d,2),Math.pow(d,2)/(Math.pow(l,2)*c))}function i(o){return o&&o.constructor===Array}function r(o){var l,c=0;for(l=0;l<o.length;l++)c+=o[l];return c}function n(o){var l,c=0;if(i(o[0]))for(l=0;l<o.length;l++)c+=n(o[l]);else c=r(o);return c}return function o(l,c,h,d,u){d=d===void 0?0:d,u=u===void 0?0:u;var g,p,f=[],m=[];if(i(l[0])){for(p=0;p<l.length;p++)f[p]=n(l[p]);for(g=e(f,c,h,d,u),p=0;p<l.length;p++)m.push(o(l[p],g[p][2]-g[p][0],g[p][3]-g[p][1],g[p][0],g[p][1]))}else m=e(l,c,h,d,u);return m}})();var bd=(function(){function s(e,t){N(this,s),this.ctx=e,this.w=e.w,this.strokeWidth=this.w.config.stroke.width,this.helpers=new mo(e),this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.labels=[]}return V(s,[{key:"draw",value:function(e){var t=this,a=this.w,i=new E(this.ctx),r=new tt(this.ctx),n=i.group({class:"apexcharts-treemap"});if(a.globals.noData)return n;var o=[];return e.forEach((function(l){var c=l.map((function(h){return Math.abs(h)}));o.push(c)})),this.negRange=this.helpers.checkColorRange(),a.config.series.forEach((function(l,c){l.data.forEach((function(h){Array.isArray(t.labels[c])||(t.labels[c]=[]),t.labels[c].push(h.x)}))})),window.TreemapSquared.generate(o,a.globals.gridWidth,a.globals.gridHeight).forEach((function(l,c){var h=i.group({class:"apexcharts-series apexcharts-treemap-series",seriesName:L.escapeString(a.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(a.config.chart.dropShadow.enabled){var d=a.config.chart.dropShadow;new Oe(t.ctx).dropShadow(n,d,c)}var u=i.group({class:"apexcharts-data-labels"}),g={xMin:1/0,yMin:1/0,xMax:-1/0,yMax:-1/0};l.forEach((function(H,T){var D=H[0],B=H[1],X=H[2],Y=H[3];g.xMin=Math.min(g.xMin,D),g.yMin=Math.min(g.yMin,B),g.xMax=Math.max(g.xMax,X),g.yMax=Math.max(g.yMax,Y);var W=t.helpers.getShadeColor(a.config.chart.type,c,T,t.negRange),U=W.color,re=r.fillPath({color:U,seriesNumber:c,dataPointIndex:T}),J=i.drawRect(D,B,X-D,Y-B,a.config.plotOptions.treemap.borderRadius,"#fff",1,t.strokeWidth,a.config.plotOptions.treemap.useFillColorAsStroke?U:a.globals.stroke.colors[c]);J.attr({cx:D,cy:B,index:c,i:c,j:T,width:X-D,height:Y-B,fill:re}),J.node.classList.add("apexcharts-treemap-rect"),t.helpers.addListeners(J);var xe={x:D+(X-D)/2,y:B+(Y-B)/2,width:0,height:0},Q={x:D,y:B,width:X-D,height:Y-B};if(a.config.chart.animations.enabled&&!a.globals.dataChanged){var ee=1;a.globals.resized||(ee=a.config.chart.animations.speed),t.animateTreemap(J,xe,Q,ee)}if(a.globals.dataChanged){var ae=1;t.dynamicAnim.enabled&&a.globals.shouldAnimate&&(ae=t.dynamicAnim.speed,a.globals.previousPaths[c]&&a.globals.previousPaths[c][T]&&a.globals.previousPaths[c][T].rect&&(xe=a.globals.previousPaths[c][T].rect),t.animateTreemap(J,xe,Q,ae))}var ye=t.getFontSize(H),Ce=a.config.dataLabels.formatter(t.labels[c][T],{value:a.globals.series[c][T],seriesIndex:c,dataPointIndex:T,w:a});a.config.plotOptions.treemap.dataLabels.format==="truncate"&&(ye=parseInt(a.config.dataLabels.style.fontSize,10),Ce=t.truncateLabels(Ce,ye,D,B,X,Y));var Ie=null;a.globals.series[c][T]&&(Ie=t.helpers.calculateDataLabels({text:Ce,x:(D+X)/2,y:(B+Y)/2+t.strokeWidth/2+ye/3,i:c,j:T,colorProps:W,fontSize:ye,series:e})),a.config.dataLabels.enabled&&Ie&&t.rotateToFitLabel(Ie,ye,Ce,D,B,X,Y),h.add(J),Ie!==null&&h.add(Ie)}));var p=a.config.plotOptions.treemap.seriesTitle;if(a.config.series.length>1&&p&&p.show){var f=a.config.series[c].name||"";if(f&&g.xMin<1/0&&g.yMin<1/0){var m=p.offsetX,v=p.offsetY,b=p.borderColor,w=p.borderWidth,k=p.borderRadius,y=p.style,A=y.color||a.config.chart.foreColor,C={left:y.padding.left,right:y.padding.right,top:y.padding.top,bottom:y.padding.bottom},S=i.getTextRects(f,y.fontSize,y.fontFamily),M=S.width+C.left+C.right,I=S.height+C.top+C.bottom,R=g.xMin+(m||0),P=g.yMin+(v||0),_=i.drawRect(R,P,M,I,k,y.background,1,w,b),O=i.drawText({x:R+C.left,y:P+C.top+.75*S.height,text:f,fontSize:y.fontSize,fontFamily:y.fontFamily,fontWeight:y.fontWeight,foreColor:A,cssClass:y.cssClass||""});h.add(_),h.add(O)}}h.add(u),n.add(h)})),n}},{key:"getFontSize",value:function(e){var t=this.w,a=(function i(r){var n,o=0;if(Array.isArray(r[0]))for(n=0;n<r.length;n++)o+=i(r[n]);else for(n=0;n<r.length;n++)o+=r[n].length;return o})(this.labels)/(function i(r){var n,o=0;if(Array.isArray(r[0]))for(n=0;n<r.length;n++)o+=i(r[n]);else for(n=0;n<r.length;n++)o+=1;return o})(this.labels);return(function(i,r){var n=i*r,o=Math.pow(n,.5);return Math.min(o/a,parseInt(t.config.dataLabels.style.fontSize,10))})(e[2]-e[0],e[3]-e[1])}},{key:"rotateToFitLabel",value:function(e,t,a,i,r,n,o){var l=new E(this.ctx),c=l.getTextRects(a,t);if(c.width+this.w.config.stroke.width+5>n-i&&c.width<=o-r){var h=l.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(h.x," ").concat(h.y,") translate(").concat(c.height/3,")"))}}},{key:"truncateLabels",value:function(e,t,a,i,r,n){var o=new E(this.ctx),l=o.getTextRects(e,t).width+this.w.config.stroke.width+5>r-a&&n-i>r-a?n-i:r-a,c=o.getTextBasedOnMaxWidth({text:e,maxWidth:l,fontSize:t});return e.length!==c.length&&l/t<5?"":c}},{key:"animateTreemap",value:function(e,t,a,i){var r=new Ut(this.ctx);r.animateRect(e,t,a,i,(function(){r.animationCompleted(e)}))}}]),s})(),yo=86400,yd=10/yo,wd=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return V(s,[{key:"calculateTimeScaleTicks",value:function(e,t){var a=this,i=this.w;if(i.globals.allSeriesCollapsed)return i.globals.labels=[],i.globals.timescaleLabels=[],[];var r=new ze(this.ctx),n=(t-e)/864e5;this.determineInterval(n),i.globals.disableZoomIn=!1,i.globals.disableZoomOut=!1,n<yd?i.globals.disableZoomIn=!0:n>5e4&&(i.globals.disableZoomOut=!0);var o=r.getTimeUnitsfromTimestamp(e,t,this.utc),l=i.globals.gridWidth/n,c=l/24,h=c/60,d=h/60,u=Math.floor(24*n),g=Math.floor(1440*n),p=Math.floor(n*yo),f=Math.floor(n),m=Math.floor(n/30),v=Math.floor(n/365),b={minMillisecond:o.minMillisecond,minSecond:o.minSecond,minMinute:o.minMinute,minHour:o.minHour,minDate:o.minDate,minMonth:o.minMonth,minYear:o.minYear},w={firstVal:b,currentMillisecond:b.minMillisecond,currentSecond:b.minSecond,currentMinute:b.minMinute,currentHour:b.minHour,currentMonthDate:b.minDate,currentDate:b.minDate,currentMonth:b.minMonth,currentYear:b.minYear,daysWidthOnXAxis:l,hoursWidthOnXAxis:c,minutesWidthOnXAxis:h,secondsWidthOnXAxis:d,numberOfSeconds:p,numberOfMinutes:g,numberOfHours:u,numberOfDays:f,numberOfMonths:m,numberOfYears:v};switch(this.tickInterval){case"years":this.generateYearScale(w);break;case"months":case"half_year":this.generateMonthScale(w);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(w);break;case"hours":this.generateHourScale(w);break;case"minutes_fives":case"minutes":this.generateMinuteScale(w);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(w)}var k=this.timeScaleArray.map((function(y){var A={position:y.position,unit:y.unit,year:y.year,day:y.day?y.day:1,hour:y.hour?y.hour:0,month:y.month+1};return y.unit==="month"?F(F({},A),{},{day:1,value:y.value+1}):y.unit==="day"||y.unit==="hour"?F(F({},A),{},{value:y.value}):y.unit==="minute"?F(F({},A),{},{value:y.value,minute:y.value}):y.unit==="second"?F(F({},A),{},{value:y.value,minute:y.minute,second:y.second}):y}));return k.filter((function(y){var A=1,C=Math.ceil(i.globals.gridWidth/120),S=y.value;i.config.xaxis.tickAmount!==void 0&&(C=i.config.xaxis.tickAmount),k.length>C&&(A=Math.floor(k.length/C));var M=!1,I=!1;switch(a.tickInterval){case"years":y.unit==="year"&&(M=!0);break;case"half_year":A=7,y.unit==="year"&&(M=!0);break;case"months":A=1,y.unit==="year"&&(M=!0);break;case"months_fortnight":A=15,y.unit!=="year"&&y.unit!=="month"||(M=!0),S===30&&(I=!0);break;case"months_days":A=10,y.unit==="month"&&(M=!0),S===30&&(I=!0);break;case"week_days":A=8,y.unit==="month"&&(M=!0);break;case"days":A=1,y.unit==="month"&&(M=!0);break;case"hours":y.unit==="day"&&(M=!0);break;case"minutes_fives":case"seconds_fives":S%5!=0&&(I=!0);break;case"seconds_tens":S%10!=0&&(I=!0)}if(a.tickInterval==="hours"||a.tickInterval==="minutes_fives"||a.tickInterval==="seconds_tens"||a.tickInterval==="seconds_fives"){if(!I)return!0}else if((S%A==0||M)&&!I)return!0}))}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var a=this.w,i=this.formatDates(e),r=this.removeOverlappingTS(i);a.globals.timescaleLabels=r.slice(),new ti(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,a=60*t;switch(!0){case e/365>5:this.tickInterval="years";break;case e>800:this.tickInterval="half_year";break;case e>180:this.tickInterval="months";break;case e>90:this.tickInterval="months_fortnight";break;case e>60:this.tickInterval="months_days";break;case e>30:this.tickInterval="week_days";break;case e>2:this.tickInterval="days";break;case t>2.4:this.tickInterval="hours";break;case a>15:this.tickInterval="minutes_fives";break;case a>5:this.tickInterval="minutes";break;case a>1:this.tickInterval="seconds_tens";break;case 60*a>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,a=e.currentMonth,i=e.currentYear,r=e.daysWidthOnXAxis,n=e.numberOfYears,o=t.minYear,l=0,c=new ze(this.ctx),h="year";if(t.minDate>1||t.minMonth>0){var d=c.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);l=(c.determineDaysOfYear(t.minYear)-d+1)*r,o=t.minYear+1,this.timeScaleArray.push({position:l,value:o,unit:h,year:o,month:L.monthMod(a+1)})}else t.minDate===1&&t.minMonth===0&&this.timeScaleArray.push({position:l,value:o,unit:h,year:i,month:L.monthMod(a+1)});for(var u=o,g=l,p=0;p<n;p++)u++,g=c.determineDaysOfYear(u-1)*r+g,this.timeScaleArray.push({position:g,value:u,unit:h,year:u,month:1})}},{key:"generateMonthScale",value:function(e){var t=e.firstVal,a=e.currentMonthDate,i=e.currentMonth,r=e.currentYear,n=e.daysWidthOnXAxis,o=e.numberOfMonths,l=i,c=0,h=new ze(this.ctx),d="month",u=0;if(t.minDate>1){c=(h.determineDaysOfMonths(i+1,t.minYear)-a+1)*n,l=L.monthMod(i+1);var g=r+u,p=L.monthMod(l),f=l;l===0&&(d="year",f=g,p=1,g+=u+=1),this.timeScaleArray.push({position:c,value:f,unit:d,year:g,month:p})}else this.timeScaleArray.push({position:c,value:l,unit:d,year:r,month:L.monthMod(i)});for(var m=l+1,v=c,b=0,w=1;b<o;b++,w++){(m=L.monthMod(m))===0?(d="year",u+=1):d="month";var k=this._getYear(r,m,u);v=h.determineDaysOfMonths(m,k)*n+v;var y=m===0?k:m;this.timeScaleArray.push({position:v,value:y,unit:d,year:k,month:m===0?1:m}),m++}}},{key:"generateDayScale",value:function(e){var t=e.firstVal,a=e.currentMonth,i=e.currentYear,r=e.hoursWidthOnXAxis,n=e.numberOfDays,o=new ze(this.ctx),l="day",c=t.minDate+1,h=c,d=function(w,k,y){return w>o.determineDaysOfMonths(k+1,y)&&(h=1,l="month",g=k+=1),k},u=(24-t.minHour)*r,g=c,p=d(h,a,i);t.minHour===0&&t.minDate===1?(u=0,g=L.monthMod(t.minMonth),l="month",h=t.minDate):t.minDate!==1&&t.minHour===0&&t.minMinute===0&&(u=0,c=t.minDate,g=c,p=d(h=c,a,i),g!==1&&(l="day")),this.timeScaleArray.push({position:u,value:g,unit:l,year:this._getYear(i,p,0),month:L.monthMod(p),day:h});for(var f=u,m=0;m<n;m++){l="day",p=d(h+=1,p,this._getYear(i,p,0));var v=this._getYear(i,p,0);f=24*r+f;var b=h===1?L.monthMod(p):h;this.timeScaleArray.push({position:f,value:b,unit:l,year:v,month:L.monthMod(p),day:b})}}},{key:"generateHourScale",value:function(e){var t=e.firstVal,a=e.currentDate,i=e.currentMonth,r=e.currentYear,n=e.minutesWidthOnXAxis,o=e.numberOfHours,l=new ze(this.ctx),c="hour",h=function(A,C){return A>l.determineDaysOfMonths(C+1,r)&&(m=1,C+=1),{month:C,date:m}},d=function(A,C){return A>l.determineDaysOfMonths(C+1,r)?C+=1:C},u=60-(t.minMinute+t.minSecond/60),g=u*n,p=t.minHour+1,f=p;u===60&&(g=0,f=p=t.minHour);var m=a;f>=24&&(f=0,c="day",p=m+=1);var v=h(m,i).month;v=d(m,v),p>31&&(p=m=1),this.timeScaleArray.push({position:g,value:p,unit:c,day:m,hour:f,year:r,month:L.monthMod(v)}),f++;for(var b=g,w=0;w<o;w++){c="hour",f>=24&&(f=0,c="day",v=h(m+=1,v).month,v=d(m,v));var k=this._getYear(r,v,0);b=60*n+b;var y=f===0?m:f;this.timeScaleArray.push({position:b,value:y,unit:c,hour:f,day:m,year:k,month:L.monthMod(v)}),f++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,a=e.currentSecond,i=e.currentMinute,r=e.currentHour,n=e.currentDate,o=e.currentMonth,l=e.currentYear,c=e.minutesWidthOnXAxis,h=e.secondsWidthOnXAxis,d=e.numberOfMinutes,u=i+1,g=n,p=o,f=l,m=r,v=(60-a-t/1e3)*h,b=0;b<d;b++)u>=60&&(u=0,(m+=1)===24&&(m=0)),this.timeScaleArray.push({position:v,value:u,unit:"minute",hour:m,minute:u,day:g,year:this._getYear(f,p,0),month:L.monthMod(p)}),v+=c,u++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,a=e.currentSecond,i=e.currentMinute,r=e.currentHour,n=e.currentDate,o=e.currentMonth,l=e.currentYear,c=e.secondsWidthOnXAxis,h=e.numberOfSeconds,d=a+1,u=i,g=n,p=o,f=l,m=r,v=(1e3-t)/1e3*c,b=0;b<h;b++)d>=60&&(d=0,++u>=60&&(u=0,++m===24&&(m=0))),this.timeScaleArray.push({position:v,value:d,unit:"second",hour:m,minute:u,second:d,day:g,year:this._getYear(f,p,0),month:L.monthMod(p)}),v+=c,d++}},{key:"createRawDateString",value:function(e,t){var a=e.year;return e.month===0&&(e.month=1),a+="-"+("0"+e.month.toString()).slice(-2),e.unit==="day"?a+=e.unit==="day"?"-"+("0"+t).slice(-2):"-01":a+="-"+("0"+(e.day?e.day:"1")).slice(-2),e.unit==="hour"?a+=e.unit==="hour"?"T"+("0"+t).slice(-2):"T00":a+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),e.unit==="minute"?a+=":"+("0"+t).slice(-2):a+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),e.unit==="second"?a+=":"+("0"+t).slice(-2):a+=":00",this.utc&&(a+=".000Z"),a}},{key:"formatDates",value:function(e){var t=this,a=this.w;return e.map((function(i){var r=i.value.toString(),n=new ze(t.ctx),o=t.createRawDateString(i,r),l=n.getDate(n.parseDate(o));if(t.utc||(l=n.getDate(n.parseDateWithTimezone(o))),a.config.xaxis.labels.format===void 0){var c="dd MMM",h=a.config.xaxis.labels.datetimeFormatter;i.unit==="year"&&(c=h.year),i.unit==="month"&&(c=h.month),i.unit==="day"&&(c=h.day),i.unit==="hour"&&(c=h.hour),i.unit==="minute"&&(c=h.minute),i.unit==="second"&&(c=h.second),r=n.formatDate(l,c)}else r=n.formatDate(l,a.config.xaxis.labels.format);return{dateString:o,position:i.position,value:r,unit:i.unit,year:i.year,month:i.month}}))}},{key:"removeOverlappingTS",value:function(e){var t,a=this,i=new E(this.ctx),r=!1;e.length>0&&e[0].value&&e.every((function(l){return l.value.length===e[0].value.length}))&&(r=!0,t=i.getTextRects(e[0].value).width);var n=0,o=e.map((function(l,c){if(c>0&&a.w.config.xaxis.labels.hideOverlappingLabels){var h=r?t:i.getTextRects(e[n].value).width,d=e[n].position;return l.position>d+h+10?(n=c,l):null}return l}));return o=o.filter((function(l){return l!==null}))}},{key:"_getYear",value:function(e,t,a){return e+Math.floor(t/12)+a}}]),s})(),Cd=(function(){function s(e,t){N(this,s),this.ctx=t,this.w=t.w,this.el=e}return V(s,[{key:"setupElements",value:function(){var e=this.w,t=e.globals,a=e.config,i=a.chart.type;t.axisCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].includes(i),t.xyCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble"].includes(i),t.isBarHorizontal=["bar","rangeBar","boxPlot"].includes(i)&&a.plotOptions.bar.horizontal,t.chartClass=".apexcharts".concat(t.chartID),t.dom.baseEl=this.el,t.dom.elWrap=document.createElement("div"),E.setAttrs(t.dom.elWrap,{id:t.chartClass.substring(1),class:"apexcharts-canvas ".concat(t.chartClass.substring(1))}),this.el.appendChild(t.dom.elWrap),t.dom.Paper=window.SVG().addTo(t.dom.elWrap),t.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(a.chart.offsetX,", ").concat(a.chart.offsetY,")")}),t.dom.Paper.node.style.background=a.theme.mode!=="dark"||a.chart.background?a.theme.mode!=="light"||a.chart.background?a.chart.background:"#fff":"#343A3F",this.setSVGDimensions(),t.dom.elLegendForeign=document.createElementNS(t.SVGNS,"foreignObject"),E.setAttrs(t.dom.elLegendForeign,{x:0,y:0,width:t.svgWidth,height:t.svgHeight}),t.dom.elLegendWrap=document.createElement("div"),t.dom.elLegendWrap.classList.add("apexcharts-legend"),t.dom.elWrap.appendChild(t.dom.elLegendWrap),t.dom.Paper.node.appendChild(t.dom.elLegendForeign),t.dom.elGraphical=t.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),t.dom.elDefs=t.dom.Paper.defs(),t.dom.Paper.add(t.dom.elGraphical),t.dom.elGraphical.add(t.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var a=this.w,i=this.ctx,r=a.config,n=a.globals,o={line:{series:[],i:[]},area:{series:[],i:[]},scatter:{series:[],i:[]},bubble:{series:[],i:[]},bar:{series:[],i:[]},candlestick:{series:[],i:[]},boxPlot:{series:[],i:[]},rangeBar:{series:[],i:[]},rangeArea:{series:[],seriesRangeEnd:[],i:[]}},l=r.chart.type||"line",c=null,h=0;n.series.forEach((function(A,C){var S,M,I=((S=e[C])===null||S===void 0?void 0:S.type)==="column"?"bar":((M=e[C])===null||M===void 0?void 0:M.type)||(l==="column"?"bar":l);o[I]?(I==="rangeArea"?(o[I].series.push(n.seriesRangeStart[C]),o[I].seriesRangeEnd.push(n.seriesRangeEnd[C])):o[I].series.push(A),o[I].i.push(C),I==="bar"&&(a.globals.columnSeries=o.bar)):["heatmap","treemap","pie","donut","polarArea","radialBar","radar"].includes(I)?c=I:console.warn("You have specified an unrecognized series type (".concat(I,").")),l!==I&&I!=="scatter"&&h++})),h>0&&(c&&console.warn("Chart or series type ".concat(c," cannot appear with other chart or series types.")),o.bar.series.length>0&&r.plotOptions.bar.horizontal&&(h-=o.bar.series.length,o.bar={series:[],i:[]},a.globals.columnSeries={series:[],i:[]},console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"))),n.comboCharts||(n.comboCharts=h>0);var d=new Ti(i,t),u=new Oi(i,t);i.pie=new bo(i);var g=new gd(i);i.rangeBar=new fd(i,t);var p=new ud(i),f=[];if(n.comboCharts){var m,v,b=new Ae(i);if(o.area.series.length>0&&(m=f).push.apply(m,Re(b.drawSeriesByGroup(o.area,n.areaGroups,"area",d))),o.bar.series.length>0)if(r.chart.stacked){var w=new Sr(i,t);f.push(w.draw(o.bar.series,o.bar.i))}else i.bar=new Gt(i,t),f.push(i.bar.draw(o.bar.series,o.bar.i));if(o.rangeArea.series.length>0&&f.push(d.draw(o.rangeArea.series,"rangeArea",o.rangeArea.i,o.rangeArea.seriesRangeEnd)),o.line.series.length>0&&(v=f).push.apply(v,Re(b.drawSeriesByGroup(o.line,n.lineGroups,"line",d))),o.candlestick.series.length>0&&f.push(u.draw(o.candlestick.series,"candlestick",o.candlestick.i)),o.boxPlot.series.length>0&&f.push(u.draw(o.boxPlot.series,"boxPlot",o.boxPlot.i)),o.rangeBar.series.length>0&&f.push(i.rangeBar.draw(o.rangeBar.series,o.rangeBar.i)),o.scatter.series.length>0){var k=new Ti(i,t,!0);f.push(k.draw(o.scatter.series,"scatter",o.scatter.i))}if(o.bubble.series.length>0){var y=new Ti(i,t,!0);f.push(y.draw(o.bubble.series,"bubble",o.bubble.i))}}else switch(r.chart.type){case"line":f=d.draw(n.series,"line");break;case"area":f=d.draw(n.series,"area");break;case"bar":r.chart.stacked?f=new Sr(i,t).draw(n.series):(i.bar=new Gt(i,t),f=i.bar.draw(n.series));break;case"candlestick":f=new Oi(i,t).draw(n.series,"candlestick");break;case"boxPlot":f=new Oi(i,t).draw(n.series,r.chart.type);break;case"rangeBar":f=i.rangeBar.draw(n.series);break;case"rangeArea":f=d.draw(n.seriesRangeStart,"rangeArea",void 0,n.seriesRangeEnd);break;case"heatmap":f=new dd(i,t).draw(n.series);break;case"treemap":f=new bd(i,t).draw(n.series);break;case"pie":case"donut":case"polarArea":f=i.pie.draw(n.series);break;case"radialBar":f=g.draw(n.series);break;case"radar":f=p.draw(n.series);break;default:f=d.draw(n.series)}return f}},{key:"setSVGDimensions",value:function(){var e=this.w,t=e.globals,a=e.config;a.chart.width=a.chart.width||"100%",a.chart.height=a.chart.height||"auto",t.svgWidth=a.chart.width,t.svgHeight=a.chart.height;var i=L.getDimensions(this.el),r=a.chart.width.toString().split(/[0-9]+/g).pop();r==="%"?L.isNumber(i[0])&&(i[0].width===0&&(i=L.getDimensions(this.el.parentNode)),t.svgWidth=i[0]*parseInt(a.chart.width,10)/100):r!=="px"&&r!==""||(t.svgWidth=parseInt(a.chart.width,10));var n=String(a.chart.height).toString().split(/[0-9]+/g).pop();if(t.svgHeight!=="auto"&&t.svgHeight!=="")if(n==="%"){var o=L.getDimensions(this.el.parentNode);t.svgHeight=o[1]*parseInt(a.chart.height,10)/100}else t.svgHeight=parseInt(a.chart.height,10);else t.svgHeight=t.axisCharts?t.svgWidth/1.61:t.svgWidth/1.2;if(t.svgWidth=Math.max(t.svgWidth,0),t.svgHeight=Math.max(t.svgHeight,0),E.setAttrs(t.dom.Paper.node,{width:t.svgWidth,height:t.svgHeight}),n!=="%"){var l=a.chart.sparkline.enabled?0:t.axisCharts?a.chart.parentHeightOffset:0;t.dom.Paper.node.parentNode.parentNode.style.minHeight="".concat(t.svgHeight+l,"px")}t.dom.elWrap.style.width="".concat(t.svgWidth,"px"),t.dom.elWrap.style.height="".concat(t.svgHeight,"px")}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,a=e.translateX;E.setAttrs(e.dom.elGraphical.node,{transform:"translate(".concat(a,", ").concat(t,")")})}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,a=0,i=e.config.chart.sparkline.enabled?1:15;i+=e.config.grid.padding.bottom,["top","bottom"].includes(e.config.legend.position)&&e.config.legend.show&&!e.config.legend.floating&&(a=new go(this.ctx).legendHelpers.getLegendDimensions().clwh+7);var r=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),n=2.05*e.globals.radialSize;if(r&&!e.config.chart.sparkline.enabled&&e.config.plotOptions.radialBar.startAngle!==0){var o=L.getBoundingClientRect(r);n=o.bottom;var l=o.bottom-o.top;n=Math.max(2.05*e.globals.radialSize,l)}var c=Math.ceil(n+t.translateY+a+i);t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",c),e.config.chart.height&&String(e.config.chart.height).includes("%")||(t.dom.elWrap.style.height="".concat(c,"px"),E.setAttrs(t.dom.Paper.node,{height:c}),t.dom.Paper.node.parentNode.parentNode.style.minHeight="".concat(c,"px"))}},{key:"coreCalculations",value:function(){new fs(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map((function(){return[]}))},a=new oo,i=this.w.globals,r={dataWasParsed:i.dataWasParsed,originalSeries:i.originalSeries};a.initGlobalVars(i),i.seriesXvalues=t(),i.seriesYvalues=t(),r.dataWasParsed&&(i.dataWasParsed=r.dataWasParsed,i.originalSeries=r.originalSeries)}},{key:"isMultipleY",value:function(){return!!(Array.isArray(this.w.config.yaxis)&&this.w.config.yaxis.length>1)&&(this.w.globals.isMultipleYAxis=!0,!0)}},{key:"xySettings",value:function(){var e=this.w,t=null;if(e.globals.axisCharts){if(e.config.xaxis.crosshairs.position==="back"&&new ps(this.ctx).drawXCrosshairs(),e.config.yaxis[0].crosshairs.position==="back"&&new ps(this.ctx).drawYCrosshairs(),e.config.xaxis.type==="datetime"&&e.config.xaxis.labels.formatter===void 0){this.ctx.timeScale=new wd(this.ctx);var a=[];isFinite(e.globals.minX)&&isFinite(e.globals.maxX)&&!e.globals.isBarHorizontal?a=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minX,e.globals.maxX):e.globals.isBarHorizontal&&(a=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minY,e.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(a)}t=new Ae(this.ctx).getCalculatedRatios()}return t}},{key:"updateSourceChart",value:function(e){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:e.w.globals.minX,max:e.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var e=this,t=this.ctx,a=this.w;if(a.config.chart.brush.enabled&&typeof a.config.chart.events.selection!="function"){var i=Array.isArray(a.config.chart.brush.targets)?a.config.chart.brush.targets:[a.config.chart.brush.target];i.forEach((function(r){var n=t.constructor.getChartByID(r);n.w.globals.brushSource=e.ctx,typeof n.w.config.chart.events.zoomed!="function"&&(n.w.config.chart.events.zoomed=function(){return e.updateSourceChart(n)}),typeof n.w.config.chart.events.scrolled!="function"&&(n.w.config.chart.events.scrolled=function(){return e.updateSourceChart(n)})})),a.config.chart.events.selection=function(r,n){i.forEach((function(o){t.constructor.getChartByID(o).ctx.updateHelpers._updateOptions({xaxis:{min:n.xaxis.min,max:n.xaxis.max}},!1,!1,!1,!1)}))}}}}]),s})(),kd=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"_updateOptions",value:function(e){var t=this,a=arguments.length>1&&arguments[1]!==void 0&&arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],n=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return new Promise((function(o){var l=[t.ctx];r&&(l=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(l=[t.ctx],t.ctx.w.globals.isExecCalled=!1),l.forEach((function(c,h){var d=c.w;if(d.globals.shouldAnimate=i,a||(d.globals.resized=!0,d.globals.dataChanged=!0,i&&c.series.getPreviousPaths()),e&&je(e)==="object"&&(c.config=new fa(e),e=Ae.extendArrayProps(c.config,e,d),c.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,d.config=L.extend(d.config,e),n&&(d.globals.lastXAxis=e.xaxis?L.clone(e.xaxis):[],d.globals.lastYAxis=e.yaxis?L.clone(e.yaxis):[],d.globals.initialConfig=L.extend({},d.config),d.globals.initialSeries=L.clone(d.config.series),e.series))){for(var u=0;u<d.globals.collapsedSeriesIndices.length;u++){var g=d.config.series[d.globals.collapsedSeriesIndices[u]];d.globals.collapsedSeries[u].data=d.globals.axisCharts?g.data.slice():g}for(var p=0;p<d.globals.ancillaryCollapsedSeriesIndices.length;p++){var f=d.config.series[d.globals.ancillaryCollapsedSeriesIndices[p]];d.globals.ancillaryCollapsedSeries[p].data=d.globals.axisCharts?f.data.slice():f}c.series.emptyCollapsedSeries(d.config.series)}return c.update(e).then((function(){h===l.length-1&&o(c)}))}))}))}},{key:"_updateSeries",value:function(e,t){var a=this,i=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return new Promise((function(r){var n=a.w;return n.globals.shouldAnimate=t,n.globals.dataChanged=!0,t&&a.ctx.series.getPreviousPaths(),a.ctx.data.resetParsingFlags(),a.ctx.data.parseData(e),i&&(n.globals.initialConfig.series=L.clone(n.config.series),n.globals.initialSeries=L.clone(n.config.series)),a.ctx.update().then((function(){r(a.ctx)}))}))}},{key:"_extendSeries",value:function(e,t){var a=this.w,i=a.config.series[t];return F(F({},a.config.series[t]),{},{name:e.name?e.name:i?.name,color:e.color?e.color:i?.color,type:e.type?e.type:i?.type,group:e.group?e.group:i?.group,hidden:e.hidden!==void 0?e.hidden:i?.hidden,data:e.data?e.data:i?.data,zIndex:e.zIndex!==void 0?e.zIndex:t})}},{key:"toggleDataPointSelection",value:function(e,t){var a=this.w,i=null,r=".apexcharts-series[data\\:realIndex='".concat(e,"']");return a.globals.axisCharts?i=a.globals.dom.Paper.findOne("".concat(r," path[j='").concat(t,"'], ").concat(r," circle[j='").concat(t,"'], ").concat(r," rect[j='").concat(t,"']")):t===void 0&&(i=a.globals.dom.Paper.findOne("".concat(r," path[j='").concat(e,"']")),a.config.chart.type!=="pie"&&a.config.chart.type!=="polarArea"&&a.config.chart.type!=="donut"||this.ctx.pie.pieClicked(e)),i?(new E(this.ctx).pathMouseDown(i,null),i.node?i.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach((function(i){e.xaxis[i]!==void 0&&(t.config.xaxis[i]=e.xaxis[i],t.globals.lastXAxis[i]=e.xaxis[i])})),e.xaxis.categories&&e.xaxis.categories.length&&(t.config.xaxis.categories=e.xaxis.categories),t.config.xaxis.convertedCatToNumeric){var a=new ga(e);e=a.convertCatToNumericXaxis(e,this.ctx)}return e}},{key:"forceYAxisUpdate",value:function(e){return e.chart&&e.chart.stacked&&e.chart.stackType==="100%"&&(Array.isArray(e.yaxis)?e.yaxis.forEach((function(t,a){e.yaxis[a].min=0,e.yaxis[a].max=100})):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,a=this.w,i=a.globals.lastXAxis,r=a.globals.lastYAxis;e&&e.xaxis&&(i=e.xaxis),e&&e.yaxis&&(r=e.yaxis),a.config.xaxis.min=i.min,a.config.xaxis.max=i.max;var n=function(o){r[o]!==void 0&&(a.config.yaxis[o].min=r[o].min,a.config.yaxis[o].max=r[o].max)};a.config.yaxis.map((function(o,l){a.globals.zoomed||r[l]!==void 0?n(l):t.ctx.opts.yaxis[l]!==void 0&&(o.min=t.ctx.opts.yaxis[l].min,o.max=t.ctx.opts.yaxis[l].max)}))}}]),s})();(function(){function s(){for(var r=arguments.length>0&&arguments[0]!==d?arguments[0]:[],n=arguments.length>1?arguments[1]:d,o=arguments.length>2?arguments[2]:d,l=arguments.length>3?arguments[3]:d,c=arguments.length>4?arguments[4]:d,h=arguments.length>5?arguments[5]:d,d=arguments.length>6?arguments[6]:d,u=r.slice(n,o||d),g=l.slice(c,h||d),p=0,f={pos:[0,0],start:[0,0]},m={pos:[0,0],start:[0,0]};u[p]=e.call(f,u[p]),g[p]=e.call(m,g[p]),u[p][0]!=g[p][0]||u[p][0]=="M"||u[p][0]=="A"&&(u[p][4]!=g[p][4]||u[p][5]!=g[p][5])?(Array.prototype.splice.apply(u,[p,1].concat(a.call(f,u[p]))),Array.prototype.splice.apply(g,[p,1].concat(a.call(m,g[p])))):(u[p]=t.call(f,u[p]),g[p]=t.call(m,g[p])),!(++p==u.length&&p==g.length);)p==u.length&&u.push(["C",f.pos[0],f.pos[1],f.pos[0],f.pos[1],f.pos[0],f.pos[1]]),p==g.length&&g.push(["C",m.pos[0],m.pos[1],m.pos[0],m.pos[1],m.pos[0],m.pos[1]]);return{start:u,dest:g}}function e(r){switch(r[0]){case"z":case"Z":r[0]="L",r[1]=this.start[0],r[2]=this.start[1];break;case"H":r[0]="L",r[2]=this.pos[1];break;case"V":r[0]="L",r[2]=r[1],r[1]=this.pos[0];break;case"T":r[0]="Q",r[3]=r[1],r[4]=r[2],r[1]=this.reflection[1],r[2]=this.reflection[0];break;case"S":r[0]="C",r[6]=r[4],r[5]=r[3],r[4]=r[2],r[3]=r[1],r[2]=this.reflection[1],r[1]=this.reflection[0]}return r}function t(r){var n=r.length;return this.pos=[r[n-2],r[n-1]],"SCQT".indexOf(r[0])!=-1&&(this.reflection=[2*this.pos[0]-r[n-4],2*this.pos[1]-r[n-3]]),r}function a(r){var n=[r];switch(r[0]){case"M":return this.pos=this.start=[r[1],r[2]],n;case"L":r[5]=r[3]=r[1],r[6]=r[4]=r[2],r[1]=this.pos[0],r[2]=this.pos[1];break;case"Q":r[6]=r[4],r[5]=r[3],r[4]=1*r[4]/3+2*r[2]/3,r[3]=1*r[3]/3+2*r[1]/3,r[2]=1*this.pos[1]/3+2*r[2]/3,r[1]=1*this.pos[0]/3+2*r[1]/3;break;case"A":n=(function(o,l){var c,h,d,u,g,p,f,m,v,b,w,k,y,A,C,S,M,I,R,P,_,O,H,T,D,B,X=Math.abs(l[1]),Y=Math.abs(l[2]),W=l[3]%360,U=l[4],re=l[5],J=l[6],xe=l[7],Q=new ge(o),ee=new ge(J,xe),ae=[];if(X===0||Y===0||Q.x===ee.x&&Q.y===ee.y)return[["C",Q.x,Q.y,ee.x,ee.y,ee.x,ee.y]];for(c=new ge((Q.x-ee.x)/2,(Q.y-ee.y)/2).transform(new G().rotate(W)),h=c.x*c.x/(X*X)+c.y*c.y/(Y*Y),h>1&&(X*=h=Math.sqrt(h),Y*=h),d=new G().rotate(W).scale(1/X,1/Y).rotate(-W),Q=Q.transform(d),ee=ee.transform(d),u=[ee.x-Q.x,ee.y-Q.y],p=u[0]*u[0]+u[1]*u[1],g=Math.sqrt(p),u[0]/=g,u[1]/=g,f=p<4?Math.sqrt(1-p/4):0,U===re&&(f*=-1),m=new ge((ee.x+Q.x)/2+f*-u[1],(ee.y+Q.y)/2+f*u[0]),v=new ge(Q.x-m.x,Q.y-m.y),b=new ge(ee.x-m.x,ee.y-m.y),w=Math.acos(v.x/Math.sqrt(v.x*v.x+v.y*v.y)),v.y<0&&(w*=-1),k=Math.acos(b.x/Math.sqrt(b.x*b.x+b.y*b.y)),b.y<0&&(k*=-1),re&&w>k&&(k+=2*Math.PI),!re&&w<k&&(k-=2*Math.PI),A=Math.ceil(2*Math.abs(w-k)/Math.PI),S=[],M=w,y=(k-w)/A,C=4*Math.tan(y/4)/3,_=0;_<=A;_++)R=Math.cos(M),I=Math.sin(M),P=new ge(m.x+R,m.y+I),S[_]=[new ge(P.x+C*I,P.y-C*R),P,new ge(P.x-C*I,P.y+C*R)],M+=y;for(S[0][0]=S[0][1].clone(),S[S.length-1][2]=S[S.length-1][1].clone(),d=new G().rotate(W).scale(X,Y).rotate(-W),_=0,O=S.length;_<O;_++)S[_][0]=S[_][0].transform(d),S[_][1]=S[_][1].transform(d),S[_][2]=S[_][2].transform(d);for(_=1,O=S.length;_<O;_++)H=(P=S[_-1][2]).x,T=P.y,D=(P=S[_][0]).x,B=P.y,J=(P=S[_][1]).x,xe=P.y,ae.push(["C",H,T,D,B,J,xe]);return ae})(this.pos,r),r=n[0]}return r[0]="C",this.pos=[r[5],r[6]],this.reflection=[2*r[5]-r[3],2*r[6]-r[4]],n}function i(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;if(n===!1)return!1;for(var o=n,l=r.length;o<l;++o)if(r[o][0]=="M")return o;return!1}q(Qe,{morph:function(r,n,o,l,c){for(var h=this.parse(r),d=this.parse(n),u=0,g=0,p=!1,f=!1;u!==!1||g!==!1;){var m;p=i(h,u!==!1&&u+1),f=i(d,g!==!1&&g+1),u===!1&&(u=(m=new Qe(v.start).bbox()).height==0||m.width==0?h.push(h[0])-1:h.push(["M",m.x+m.width/2,m.y+m.height/2])-1),g===!1&&(g=(m=new Qe(v.dest).bbox()).height==0||m.width==0?d.push(d[0])-1:d.push(["M",m.x+m.width/2,m.y+m.height/2])-1);var v=s(h,u,p,d,g,f);h=h.slice(0,u).concat(v.start,p===!1?[]:h.slice(p)),d=d.slice(0,g).concat(v.dest,f===!1?[]:d.slice(f)),u=p!==!1&&u+v.start.length,g=f!==!1&&g+v.dest.length}this._array=h,this.destination=new Qe,this.destination._array=d;var b=this.fromArray(h.map((function(w,k){var y=d[k].map((function(A,C){return C===0?A:l.step(w[C],d[k][C],o,c[k],c)}));return y})));return b}})})();const Mr=s=>(s.changedTouches&&(s=s.changedTouches[0]),{x:s.clientX,y:s.clientY});class Ad{constructor(e){e.remember("_draggable",this),this.el=e,this.drag=this.drag.bind(this),this.startDrag=this.startDrag.bind(this),this.endDrag=this.endDrag.bind(this)}init(e){e?(this.el.on("mousedown.drag",this.startDrag),this.el.on("touchstart.drag",this.startDrag,{passive:!1})):(this.el.off("mousedown.drag"),this.el.off("touchstart.drag"))}startDrag(e){const t=!e.type.indexOf("mouse");if(t&&e.which!==1&&e.buttons!==0||this.el.dispatch("beforedrag",{event:e,handler:this}).defaultPrevented)return;e.preventDefault(),e.stopPropagation(),this.init(!1),this.box=this.el.bbox(),this.lastClick=this.el.point(Mr(e));const a=(t?"mouseup":"touchend")+".drag";lt(window,(t?"mousemove":"touchmove")+".drag",this.drag,this,{passive:!1}),lt(window,a,this.endDrag,this,{passive:!1}),this.el.fire("dragstart",{event:e,handler:this,box:this.box})}drag(e){const{box:t,lastClick:a}=this,i=this.el.point(Mr(e)),r=i.x-a.x,n=i.y-a.y;if(!r&&!n)return t;const o=t.x+r,l=t.y+n;this.box=new ke(o,l,t.w,t.h),this.lastClick=i,this.el.dispatch("dragmove",{event:e,handler:this,box:this.box}).defaultPrevented||this.move(o,l)}move(e,t){this.el.type==="svg"?bt.prototype.move.call(this.el,e,t):this.el.move(e,t)}endDrag(e){this.drag(e),this.el.fire("dragend",{event:e,handler:this,box:this.box}),qe(window,"mousemove.drag"),qe(window,"touchmove.drag"),qe(window,"mouseup.drag"),qe(window,"touchend.drag"),this.init(!0)}}function xs(s,e,t,a=null){return function(i){i.preventDefault(),i.stopPropagation();var r=i.pageX||i.touches[0].pageX,n=i.pageY||i.touches[0].pageY;e.fire(s,{x:r,y:n,event:i,index:a,points:t})}}function ms([s,e],{a:t,b:a,c:i,d:r,e:n,f:o}){return[s*t+e*i+n,s*a+e*r+o]}q(He,{draggable(s=!0){return(this.remember("_draggable")||new Ad(this)).init(s),this}});let wo=class{constructor(s){this.el=s,s.remember("_selectHandler",this),this.selection=new bt,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=Ca();this.observer=new e.MutationObserver(this.mutationHandler)}init(s){this.createHandle=s.createHandle||this.createHandleFn,this.createRot=s.createRot||this.createRotFn,this.updateHandle=s.updateHandle||this.updateHandleFn,this.updateRot=s.updateRot||this.updateRotFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createResizeHandles(),this.updateResizeHandles(),this.createRotationHandle(),this.updateRotationHandle(),this.observer.observe(this.el.node,{attributes:!0})}active(s,e){if(!s)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.handlePoints).addClass("svg_select_shape")}updateSelection(){this.selection.get(0).plot(this.handlePoints)}createResizeHandles(){this.handlePoints.forEach(((s,e,t)=>{const a=this.order[e];this.createHandle.call(this,this.selection,s,e,t,a),this.selection.get(e+1).addClass("svg_select_handle svg_select_handle_"+a).on("mousedown.selection touchstart.selection",xs(a,this.el,this.handlePoints,e))}))}createHandleFn(s){s.polyline()}updateHandleFn(s,e,t,a){const i=a.at(t-1),r=a[(t+1)%a.length],n=e,o=[n[0]-i[0],n[1]-i[1]],l=[n[0]-r[0],n[1]-r[1]],c=Math.sqrt(o[0]*o[0]+o[1]*o[1]),h=Math.sqrt(l[0]*l[0]+l[1]*l[1]),d=[o[0]/c,o[1]/c],u=[l[0]/h,l[1]/h],g=[n[0]-10*d[0],n[1]-10*d[1]],p=[n[0]-10*u[0],n[1]-10*u[1]];s.plot([g,n,p])}updateResizeHandles(){this.handlePoints.forEach(((s,e,t)=>{const a=this.order[e];this.updateHandle.call(this,this.selection.get(e+1),s,e,t,a)}))}createRotFn(s){s.line(),s.circle(5)}getPoint(s){return this.handlePoints[this.order.indexOf(s)]}getPointHandle(s){return this.selection.get(this.order.indexOf(s)+1)}updateRotFn(s,e){const t=this.getPoint("t");s.get(0).plot(t[0],t[1],e[0],e[1]),s.get(1).center(e[0],e[1])}createRotationHandle(){const s=this.selection.group().addClass("svg_select_handle_rot").on("mousedown.selection touchstart.selection",xs("rot",this.el,this.handlePoints));this.createRot.call(this,s)}updateRotationHandle(){const s=this.selection.findOne("g.svg_select_handle_rot");this.updateRot(s,this.rotationPoint,this.handlePoints)}updatePoints(){const s=this.el.bbox(),e=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.handlePoints=this.getHandlePoints(s).map((t=>ms(t,e))),this.rotationPoint=ms(this.getRotationPoint(s),e)}getHandlePoints({x:s,x2:e,y:t,y2:a,cx:i,cy:r}=this.el.bbox()){return[[s,t],[i,t],[e,t],[e,r],[e,a],[i,a],[s,a],[s,r]]}getRotationPoint({y:s,cx:e}=this.el.bbox()){return[e,s-20]}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updateResizeHandles(),this.updateRotationHandle()}};const Ir=s=>function(e=!0,t={}){typeof e=="object"&&(t=e,e=!0);let a=this.remember("_"+s.name);return a||(e.prototype instanceof wo?(a=new e(this),e=!0):a=new s(this),this.remember("_"+s.name,a)),a.active(e,t),this};function vs(s,e,t,a=null){return function(i){i.preventDefault(),i.stopPropagation();var r=i.pageX||i.touches[0].pageX,n=i.pageY||i.touches[0].pageY;e.fire(s,{x:r,y:n,event:i,index:a,points:t})}}function bs([s,e],{a:t,b:a,c:i,d:r,e:n,f:o}){return[s*t+e*i+n,s*a+e*r+o]}q(He,{select:Ir(wo)}),q([Lt,Rt,It],{pointSelect:Ir(class{constructor(s){this.el=s,s.remember("_pointSelectHandler",this),this.selection=new bt,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=Ca();this.observer=new e.MutationObserver(this.mutationHandler)}init(s){this.createHandle=s.createHandle||this.createHandleFn,this.updateHandle=s.updateHandle||this.updateHandleFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createPointHandles(),this.updatePointHandles(),this.observer.observe(this.el.node,{attributes:!0})}active(s,e){if(!s)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.points).addClass("svg_select_shape_pointSelect")}updateSelection(){this.selection.get(0).plot(this.points)}createPointHandles(){this.points.forEach(((s,e,t)=>{this.createHandle.call(this,this.selection,s,e,t),this.selection.get(e+1).addClass("svg_select_handle_point").on("mousedown.selection touchstart.selection",xs("point",this.el,this.points,e))}))}createHandleFn(s){s.circle(5)}updateHandleFn(s,e){s.center(e[0],e[1])}updatePointHandles(){this.points.forEach(((s,e,t)=>{this.updateHandle.call(this,this.selection.get(e+1),s,e,t)}))}updatePoints(){const s=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.points=this.el.array().map((e=>ms(e,s)))}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updatePointHandles()}})});class Co{constructor(e){this.el=e,e.remember("_selectHandler",this),this.selection=new bt,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const t=Ca();this.observer=new t.MutationObserver(this.mutationHandler)}init(e){this.createHandle=e.createHandle||this.createHandleFn,this.createRot=e.createRot||this.createRotFn,this.updateHandle=e.updateHandle||this.updateHandleFn,this.updateRot=e.updateRot||this.updateRotFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createResizeHandles(),this.updateResizeHandles(),this.createRotationHandle(),this.updateRotationHandle(),this.observer.observe(this.el.node,{attributes:!0})}active(e,t){if(!e)return this.selection.clear().remove(),void this.observer.disconnect();this.init(t)}createSelection(){this.selection.polygon(this.handlePoints).addClass("svg_select_shape")}updateSelection(){this.selection.get(0).plot(this.handlePoints)}createResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const i=this.order[t];this.createHandle.call(this,this.selection,e,t,a,i),this.selection.get(t+1).addClass("svg_select_handle svg_select_handle_"+i).on("mousedown.selection touchstart.selection",vs(i,this.el,this.handlePoints,t))}))}createHandleFn(e){e.polyline()}updateHandleFn(e,t,a,i){const r=i.at(a-1),n=i[(a+1)%i.length],o=t,l=[o[0]-r[0],o[1]-r[1]],c=[o[0]-n[0],o[1]-n[1]],h=Math.sqrt(l[0]*l[0]+l[1]*l[1]),d=Math.sqrt(c[0]*c[0]+c[1]*c[1]),u=[l[0]/h,l[1]/h],g=[c[0]/d,c[1]/d],p=[o[0]-10*u[0],o[1]-10*u[1]],f=[o[0]-10*g[0],o[1]-10*g[1]];e.plot([p,o,f])}updateResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const i=this.order[t];this.updateHandle.call(this,this.selection.get(t+1),e,t,a,i)}))}createRotFn(e){e.line(),e.circle(5)}getPoint(e){return this.handlePoints[this.order.indexOf(e)]}getPointHandle(e){return this.selection.get(this.order.indexOf(e)+1)}updateRotFn(e,t){const a=this.getPoint("t");e.get(0).plot(a[0],a[1],t[0],t[1]),e.get(1).center(t[0],t[1])}createRotationHandle(){const e=this.selection.group().addClass("svg_select_handle_rot").on("mousedown.selection touchstart.selection",vs("rot",this.el,this.handlePoints));this.createRot.call(this,e)}updateRotationHandle(){const e=this.selection.findOne("g.svg_select_handle_rot");this.updateRot(e,this.rotationPoint,this.handlePoints)}updatePoints(){const e=this.el.bbox(),t=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.handlePoints=this.getHandlePoints(e).map((a=>bs(a,t))),this.rotationPoint=bs(this.getRotationPoint(e),t)}getHandlePoints({x:e,x2:t,y:a,y2:i,cx:r,cy:n}=this.el.bbox()){return[[e,a],[r,a],[t,a],[t,n],[t,i],[r,i],[e,i],[e,n]]}getRotationPoint({y:e,cx:t}=this.el.bbox()){return[t,e-20]}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updateResizeHandles(),this.updateRotationHandle()}}const Lr=s=>function(e=!0,t={}){typeof e=="object"&&(t=e,e=!0);let a=this.remember("_"+s.name);return a||(e.prototype instanceof Co?(a=new e(this),e=!0):a=new s(this),this.remember("_"+s.name,a)),a.active(e,t),this};q(He,{select:Lr(Co)}),q([Lt,Rt,It],{pointSelect:Lr(class{constructor(s){this.el=s,s.remember("_pointSelectHandler",this),this.selection=new bt,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=Ca();this.observer=new e.MutationObserver(this.mutationHandler)}init(s){this.createHandle=s.createHandle||this.createHandleFn,this.updateHandle=s.updateHandle||this.updateHandleFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createPointHandles(),this.updatePointHandles(),this.observer.observe(this.el.node,{attributes:!0})}active(s,e){if(!s)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.points).addClass("svg_select_shape_pointSelect")}updateSelection(){this.selection.get(0).plot(this.points)}createPointHandles(){this.points.forEach(((s,e,t)=>{this.createHandle.call(this,this.selection,s,e,t),this.selection.get(e+1).addClass("svg_select_handle_point").on("mousedown.selection touchstart.selection",vs("point",this.el,this.points,e))}))}createHandleFn(s){s.circle(5)}updateHandleFn(s,e){s.center(e[0],e[1])}updatePointHandles(){this.points.forEach(((s,e,t)=>{this.updateHandle.call(this,this.selection.get(e+1),s,e,t)}))}updatePoints(){const s=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.points=this.el.array().map((e=>bs(e,s)))}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updatePointHandles()}})});const _a=s=>(s.changedTouches&&(s=s.changedTouches[0]),{x:s.clientX,y:s.clientY}),Rr=s=>{let e=1/0,t=1/0,a=-1/0,i=-1/0;for(let r=0;r<s.length;r++){const n=s[r];e=Math.min(e,n[0]),t=Math.min(t,n[1]),a=Math.max(a,n[0]),i=Math.max(i,n[1])}return new ke(e,t,a-e,i-t)};class _r{constructor(e){this.el=e,e.remember("_ResizeHandler",this),this.lastCoordinates=null,this.eventType="",this.lastEvent=null,this.handleResize=this.handleResize.bind(this),this.resize=this.resize.bind(this),this.endResize=this.endResize.bind(this),this.rotate=this.rotate.bind(this),this.movePoint=this.movePoint.bind(this)}active(e,t){this.preserveAspectRatio=t.preserveAspectRatio??!1,this.aroundCenter=t.aroundCenter??!1,this.grid=t.grid??0,this.degree=t.degree??0,this.el.off(".resize"),e&&(this.el.on(["lt.resize","rt.resize","rb.resize","lb.resize","t.resize","r.resize","b.resize","l.resize","rot.resize","point.resize"],this.handleResize),this.lastEvent&&(this.eventType==="rot"?this.rotate(this.lastEvent):this.eventType==="point"?this.movePoint(this.lastEvent):this.resize(this.lastEvent)))}handleResize(e){this.eventType=e.type;const{event:t,index:a,points:i}=e.detail,r=!t.type.indexOf("mouse");if(r&&(t.which||t.buttons)!==1||this.el.dispatch("beforeresize",{event:e,handler:this}).defaultPrevented)return;this.box=this.el.bbox(),this.startPoint=this.el.point(_a(t)),this.index=a,this.points=i.slice();const n=(r?"mousemove":"touchmove")+".resize",o=(r?"mouseup":"touchcancel.resize touchend")+".resize";e.type==="point"?lt(window,n,this.movePoint):e.type==="rot"?lt(window,n,this.rotate):lt(window,n,this.resize),lt(window,o,this.endResize)}resize(e){this.lastEvent=e;const t=this.snapToGrid(this.el.point(_a(e)));let a=t.x-this.startPoint.x,i=t.y-this.startPoint.y;this.preserveAspectRatio&&this.aroundCenter&&(a*=2,i*=2);const r=this.box.x+a,n=this.box.y+i,o=this.box.x2+a,l=this.box.y2+i;let c=new ke(this.box);if(this.eventType.includes("l")&&(c.x=Math.min(r,this.box.x2),c.x2=Math.max(r,this.box.x2)),this.eventType.includes("r")&&(c.x=Math.min(o,this.box.x),c.x2=Math.max(o,this.box.x)),this.eventType.includes("t")&&(c.y=Math.min(n,this.box.y2),c.y2=Math.max(n,this.box.y2)),this.eventType.includes("b")&&(c.y=Math.min(l,this.box.y),c.y2=Math.max(l,this.box.y)),c.width=c.x2-c.x,c.height=c.y2-c.y,this.preserveAspectRatio){const h=c.width/this.box.width,d=c.height/this.box.height,u=["lt","t","rt","r","rb","b","lb","l"],g=(u.indexOf(this.eventType)+4)%u.length,p=this.aroundCenter?[this.box.cx,this.box.cy]:this.points[g];let f=this.eventType.includes("t")||this.eventType.includes("b")?d:h;f=this.eventType.length===2?Math.max(h,d):f,c=(function(m,v,b){const w=[[m.x,m.y],[m.x+m.width,m.y],[m.x+m.width,m.y+m.height],[m.x,m.y+m.height]].map((([k,y])=>{const A=k-v[0],C=(y-v[1])*b;return[A*b+v[0],C+v[1]]}));return Rr(w)})(this.box,p,f)}this.el.dispatch("resize",{box:new ke(c),angle:0,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.size(c.width,c.height).move(c.x,c.y)}movePoint(e){this.lastEvent=e;const{x:t,y:a}=this.snapToGrid(this.el.point(_a(e))),i=this.el.array().slice();i[this.index]=[t,a],this.el.dispatch("resize",{box:Rr(i),angle:0,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.plot(i)}rotate(e){this.lastEvent=e;const t=this.startPoint,a=this.el.point(_a(e)),{cx:i,cy:r}=this.box,n=t.x-i,o=t.y-r,l=a.x-i,c=a.y-r,h=Math.sqrt(n*n+o*o)*Math.sqrt(l*l+c*c);if(h===0)return;let d=Math.acos((n*l+o*c)/h)/Math.PI*180;if(!d)return;a.x<t.x&&(d=-d);const u=new G(this.el),{x:g,y:p}=new ge(i,r).transformO(u),{rotate:f}=u.decompose(),m=this.snapToAngle(f+d)-f;this.el.dispatch("resize",{box:this.box,angle:m,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.transform(u.rotateO(m,g,p))}endResize(e){this.eventType!=="rot"&&this.eventType!=="point"&&this.resize(e),this.lastEvent=null,this.eventType="",qe(window,"mousemove.resize touchmove.resize"),qe(window,"mouseup.resize touchend.resize")}snapToGrid(e){return this.grid&&(e.x=Math.round(e.x/this.grid)*this.grid,e.y=Math.round(e.y/this.grid)*this.grid),e}snapToAngle(e){return this.degree&&(e=Math.round(e/this.degree)*this.degree),e}}q(He,{resize:function(s=!0,e={}){typeof s=="object"&&(e=s,s=!0);let t=this.remember("_ResizeHandler");return t||(s.prototype instanceof _r?(t=new s(this),s=!0):t=new _r(this),this.remember("_resizeHandler",t)),t.active(s,e),this}}),window.SVG===void 0&&(window.SVG=Fh),window.Apex===void 0&&(window.Apex={});var Pr=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","isSeriesHidden","highlightSeries","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","exportToCSV","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","mouseleave","touchstart","touchmove","touchleave","mouseup","touchend"],this.ctx.animations=new Ut(this.ctx),this.ctx.axes=new qh(this.ctx),this.ctx.core=new Cd(this.ctx.el,this.ctx),this.ctx.config=new fa({}),this.ctx.data=new Ys(this.ctx),this.ctx.grid=new ho(this.ctx),this.ctx.graphics=new E(this.ctx),this.ctx.coreUtils=new Ae(this.ctx),this.ctx.crosshairs=new ps(this.ctx),this.ctx.events=new $h(this.ctx),this.ctx.exports=new la(this.ctx),this.ctx.fill=new tt(this.ctx),this.ctx.localization=new Uh(this.ctx),this.ctx.options=new Mt,this.ctx.responsive=new Zh(this.ctx),this.ctx.series=new Ze(this.ctx),this.ctx.theme=new Kh(this.ctx),this.ctx.formatters=new Sa(this.ctx),this.ctx.titleSubtitle=new Jh(this.ctx),this.ctx.legend=new go(this.ctx),this.ctx.toolbar=new fo(this.ctx),this.ctx.tooltip=new Ar(this.ctx),this.ctx.dimensions=new ti(this.ctx),this.ctx.updateHelpers=new kd(this.ctx),this.ctx.zoomPanSelection=new sd(this.ctx),this.ctx.w.globals.tooltip=new Ar(this.ctx)}}]),s})(),zr=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"clear",value:function(e){var t=e.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:t})}},{key:"killSVG",value:function(e){e.each((function(){this.removeClass("*"),this.off()}),!0),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,a=e.isUpdating,i=this.w.globals.dom.Paper.node;i.parentNode&&i.parentNode.parentNode&&!a&&(i.parentNode.parentNode.style.minHeight="unset");var r=this.w.globals.dom.baseEl;r&&this.ctx.eventList.forEach((function(o){r.removeEventListener(o,t.ctx.events.documentEvent)}));var n=this.w.globals.dom;if(this.ctx.el!==null)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(n.Paper),n.Paper.remove(),n.elWrap=null,n.elGraphical=null,n.elLegendWrap=null,n.elLegendForeign=null,n.baseEl=null,n.elGridRect=null,n.elGridRectMask=null,n.elGridRectBarMask=null,n.elGridRectMarkerMask=null,n.elForecastMask=null,n.elNonForecastMask=null,n.elDefs=null}}]),s})(),ji=new WeakMap,Sd=(function(){function s(e,t){N(this,s),this.opts=t,this.ctx=this,this.w=new Gh(t).init(),this.el=e,this.w.globals.cuid=L.randomId(),this.w.globals.chartID=this.w.config.chart.id?L.escapeString(this.w.config.chart.id):this.w.globals.cuid,new Pr(this).initModules(),this.lastUpdateOptions=null,this.create=L.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return V(s,[{key:"render",value:function(){var e=this;return new Promise((function(t,a){if(L.elementExists(e.el)){Apex._chartInstances===void 0&&(Apex._chartInstances=[]),e.w.config.chart.id&&Apex._chartInstances.push({id:e.w.globals.chartID,group:e.w.config.chart.group,chart:e}),e.setLocale(e.w.config.chart.defaultLocale);var i=e.w.config.chart.events.beforeMount;typeof i=="function"&&i(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),(function(u,g){var p=!1;if(u.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var f=u.getBoundingClientRect();u.style.display!=="none"&&f.width!==0||(p=!0)}var m=new ResizeObserver((function(v){p&&g.call(u,v),p=!0}));u.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(u.children).forEach((function(v){return m.observe(v)})):m.observe(u),ji.set(g,m)})(e.el.parentNode,e.parentResizeHandler);var r=e.el.getRootNode&&e.el.getRootNode(),n=L.is("ShadowRoot",r),o=e.el.ownerDocument,l=n?r.getElementById("apexcharts-css"):o.getElementById("apexcharts-css");if(!l){var c;(l=document.createElement("style")).id="apexcharts-css",l.textContent=`@keyframes opaque {
|
|
159
|
+
.apexcharts-rangebar-series .apexcharts-series[data\\:realIndex='`).concat(t,"'] path[j='").concat(e,"']")));var l=o?parseFloat(o.getAttribute("cx")):0,c=o?parseFloat(o.getAttribute("cy")):0,h=o?parseFloat(o.getAttribute("barWidth")):0,d=i.getElGrid().getBoundingClientRect(),u=o&&(o.classList.contains("apexcharts-candlestick-area")||o.classList.contains("apexcharts-boxPlot-area"));a.globals.isXNumeric?(o&&!u&&(l-=r%2!=0?h/2:0),o&&u&&(l-=h/2)):a.globals.isBarHorizontal||(l=i.xAxisTicksPositions[e-1]+i.dataPointsDividedWidth/2,isNaN(l)&&(l=i.xAxisTicksPositions[e]-i.dataPointsDividedWidth/2)),a.globals.isBarHorizontal?c-=i.tooltipRect.ttHeight:a.config.tooltip.followCursor?c=i.e.clientY-d.top-i.tooltipRect.ttHeight/2:c+i.tooltipRect.ttHeight+15>a.globals.gridHeight&&(c=a.globals.gridHeight),a.globals.isBarHorizontal||this.moveXCrosshairs(l),i.fixedTooltip||this.moveTooltip(l,c||a.globals.gridHeight)}}]),s})(),nd=(function(){function s(e){N(this,s),this.w=e.w,this.ttCtx=e,this.ctx=e.ctx,this.tooltipPosition=new mo(e)}return V(s,[{key:"drawDynamicPoints",value:function(){var e=this.w,t=new E(this.ctx),a=new Jt(this.ctx),i=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");i=Re(i),e.config.chart.stacked&&i.sort((function(d,u){return parseFloat(d.getAttribute("data:realIndex"))-parseFloat(u.getAttribute("data:realIndex"))}));for(var r=0;r<i.length;r++){var n=i[r].querySelector(".apexcharts-series-markers-wrap");if(n!==null){var o=void 0,l="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));e.config.chart.type!=="line"&&e.config.chart.type!=="area"||e.globals.comboCharts||e.config.tooltip.intersect||(l+=" no-pointer-events");var c=a.getMarkerConfig({cssClass:l,seriesIndex:Number(n.getAttribute("data:realIndex"))});(o=t.drawMarker(0,0,c)).node.setAttribute("default-marker-size",0);var h=document.createElementNS(e.globals.SVGNS,"g");h.classList.add("apexcharts-series-markers"),h.appendChild(o.node),n.appendChild(h)}}}},{key:"enlargeCurrentPoint",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.w;r.config.chart.type!=="bubble"&&this.newPointSize(e,t);var n=t.getAttribute("cx"),o=t.getAttribute("cy");if(a!==null&&i!==null&&(n=a,o=i),this.tooltipPosition.moveXCrosshairs(n),!this.fixedTooltip){if(r.config.chart.type==="radar"){var l=this.ttCtx.getElGrid().getBoundingClientRect();n=this.ttCtx.e.clientX-l.left}this.tooltipPosition.moveTooltip(n,o,r.config.markers.hover.size)}}},{key:"enlargePoints",value:function(e){for(var t=this.w,a=this,i=this.ttCtx,r=e,n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),o=t.config.markers.hover.size,l=0;l<n.length;l++){var c=n[l].getAttribute("rel"),h=n[l].getAttribute("index");if(o===void 0&&(o=t.globals.markers.size[h]+t.config.markers.hover.sizeOffset),r===parseInt(c,10)){a.newPointSize(r,n[l]);var d=n[l].getAttribute("cx"),u=n[l].getAttribute("cy");a.tooltipPosition.moveXCrosshairs(d),i.fixedTooltip||a.tooltipPosition.moveTooltip(d,u,o)}else a.oldPointSize(n[l])}}},{key:"newPointSize",value:function(e,t){var a=this.w,i=a.config.markers.hover.size,r=e===0?t.parentNode.firstChild:t.parentNode.lastChild;if(r.getAttribute("default-marker-size")!=="0"){var n=parseInt(r.getAttribute("index"),10);i===void 0&&(i=a.globals.markers.size[n]+a.config.markers.hover.sizeOffset),i<0&&(i=0);var o=this.ttCtx.tooltipUtil.getPathFromPoint(t,i);t.setAttribute("d",o)}}},{key:"oldPointSize",value:function(e){var t=parseFloat(e.getAttribute("default-marker-size")),a=this.ttCtx.tooltipUtil.getPathFromPoint(e,t);e.setAttribute("d",a)}},{key:"resetPointsSize",value:function(){for(var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),t=0;t<e.length;t++){var a=parseFloat(e[t].getAttribute("default-marker-size"));if(L.isNumber(a)&&a>0){var i=this.ttCtx.tooltipUtil.getPathFromPoint(e[t],a);e[t].setAttribute("d",i)}else e[t].setAttribute("d","M0,0")}}}]),s})(),od=(function(){function s(e){N(this,s),this.w=e.w;var t=this.w;this.ttCtx=e,this.isVerticalGroupedRangeBar=!t.globals.isBarHorizontal&&t.config.chart.type==="rangeBar"&&t.config.plotOptions.bar.rangeBarGroupRows}return V(s,[{key:"getAttr",value:function(e,t){return parseFloat(e.target.getAttribute(t))}},{key:"handleHeatTreeTooltip",value:function(e){var t=e.e,a=e.opt,i=e.x,r=e.y,n=e.type,o=this.ttCtx,l=this.w;if(t.target.classList.contains("apexcharts-".concat(n,"-rect"))){var c=this.getAttr(t,"i"),h=this.getAttr(t,"j"),d=this.getAttr(t,"cx"),u=this.getAttr(t,"cy"),g=this.getAttr(t,"width"),p=this.getAttr(t,"height");if(o.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:c,j:h,shared:!1,e:t}),l.globals.capturedSeriesIndex=c,l.globals.capturedDataPointIndex=h,i=d+o.tooltipRect.ttWidth/2+g,r=u+o.tooltipRect.ttHeight/2-p/2,o.tooltipPosition.moveXCrosshairs(d+g/2),i>l.globals.gridWidth/2&&(i=d-o.tooltipRect.ttWidth/2+g),o.w.config.tooltip.followCursor){var f=l.globals.dom.elWrap.getBoundingClientRect();i=l.globals.clientX-f.left-(i>l.globals.gridWidth/2?o.tooltipRect.ttWidth:0),r=l.globals.clientY-f.top-(r>l.globals.gridHeight/2?o.tooltipRect.ttHeight:0)}}return{x:i,y:r}}},{key:"handleMarkerTooltip",value:function(e){var t,a,i=e.e,r=e.opt,n=e.x,o=e.y,l=this.w,c=this.ttCtx;if(i.target.classList.contains("apexcharts-marker")){var h=parseInt(r.paths.getAttribute("cx"),10),d=parseInt(r.paths.getAttribute("cy"),10),u=parseFloat(r.paths.getAttribute("val"));if(a=parseInt(r.paths.getAttribute("rel"),10),t=parseInt(r.paths.parentNode.parentNode.parentNode.getAttribute("rel"),10)-1,c.intersect){var g=L.findAncestor(r.paths,"apexcharts-series");g&&(t=parseInt(g.getAttribute("data:realIndex"),10))}if(c.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:t,j:a,shared:!c.showOnIntersect&&l.config.tooltip.shared,e:i}),i.type==="mouseup"&&c.markerClick(i,t,a),l.globals.capturedSeriesIndex=t,l.globals.capturedDataPointIndex=a,n=h,o=d+l.globals.translateY-1.4*c.tooltipRect.ttHeight,c.w.config.tooltip.followCursor){var p=c.getElGrid().getBoundingClientRect();o=c.e.clientY+l.globals.translateY-p.top}u<0&&(o=d),c.marker.enlargeCurrentPoint(a,r.paths,n,o)}return{x:n,y:o}}},{key:"handleBarTooltip",value:function(e){var t,a,i=e.e,r=e.opt,n=this.w,o=this.ttCtx,l=o.getElTooltip(),c=0,h=0,d=0,u=this.getBarTooltipXY({e:i,opt:r});if(u.j!==null||u.barHeight!==0||u.barWidth!==0){t=u.i;var g=u.j;if(n.globals.capturedSeriesIndex=t,n.globals.capturedDataPointIndex=g,n.globals.isBarHorizontal&&o.tooltipUtil.hasBars()||!n.config.tooltip.shared?(h=u.x,d=u.y,a=Array.isArray(n.config.stroke.width)?n.config.stroke.width[t]:n.config.stroke.width,c=h):n.globals.comboCharts||n.config.tooltip.shared||(c/=2),isNaN(d)&&(d=n.globals.svgHeight-o.tooltipRect.ttHeight),parseInt(r.paths.parentNode.getAttribute("data:realIndex"),10),h+o.tooltipRect.ttWidth>n.globals.gridWidth?h-=o.tooltipRect.ttWidth:h<0&&(h=0),o.w.config.tooltip.followCursor){var p=o.getElGrid().getBoundingClientRect();d=o.e.clientY-p.top}o.tooltip===null&&(o.tooltip=n.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),n.config.tooltip.shared||(n.globals.comboBarCount>0?o.tooltipPosition.moveXCrosshairs(c+a/2):o.tooltipPosition.moveXCrosshairs(c)),!o.fixedTooltip&&(!n.config.tooltip.shared||n.globals.isBarHorizontal&&o.tooltipUtil.hasBars())&&(d=d+n.globals.translateY-o.tooltipRect.ttHeight/2,l.style.left=h+n.globals.translateX+"px",l.style.top=d+"px")}}},{key:"getBarTooltipXY",value:function(e){var t=this,a=e.e,i=e.opt,r=this.w,n=null,o=this.ttCtx,l=0,c=0,h=0,d=0,u=0,g=a.target.classList;if(g.contains("apexcharts-bar-area")||g.contains("apexcharts-candlestick-area")||g.contains("apexcharts-boxPlot-area")||g.contains("apexcharts-rangebar-area")){var p=a.target,f=p.getBoundingClientRect(),m=i.elGrid.getBoundingClientRect(),v=f.height;u=f.height;var b=f.width,w=parseInt(p.getAttribute("cx"),10),k=parseInt(p.getAttribute("cy"),10);d=parseFloat(p.getAttribute("barWidth"));var y=a.type==="touchmove"?a.touches[0].clientX:a.clientX;n=parseInt(p.getAttribute("j"),10),l=parseInt(p.parentNode.getAttribute("rel"),10)-1;var A=p.getAttribute("data-range-y1"),C=p.getAttribute("data-range-y2");r.globals.comboCharts&&(l=parseInt(p.parentNode.getAttribute("data:realIndex"),10));var S=function(I){return r.globals.isXNumeric?w-b/2:t.isVerticalGroupedRangeBar?w+b/2:w-o.dataPointsDividedWidth+b/2},M=function(){return k-o.dataPointsDividedHeight+v/2-o.tooltipRect.ttHeight/2};o.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:l,j:n,y1:A?parseInt(A,10):null,y2:C?parseInt(C,10):null,shared:!o.showOnIntersect&&r.config.tooltip.shared,e:a}),r.config.tooltip.followCursor?r.globals.isBarHorizontal?(c=y-m.left+15,h=M()):(c=S(),h=a.clientY-m.top-o.tooltipRect.ttHeight/2-15):r.globals.isBarHorizontal?((c=w)<o.xyRatios.baseLineInvertedY&&(c=w-o.tooltipRect.ttWidth),h=M()):(c=S(),h=k)}return{x:c,y:h,barHeight:u,barWidth:d,i:l,j:n}}}]),s})(),ld=(function(){function s(e){N(this,s),this.w=e.w,this.ttCtx=e}return V(s,[{key:"drawXaxisTooltip",value:function(){var e=this.w,t=this.ttCtx,a=e.config.xaxis.position==="bottom";t.xaxisOffY=a?e.globals.gridHeight+1:-e.globals.xAxisHeight-e.config.xaxis.axisTicks.height+3;var i=a?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",r=e.globals.dom.elWrap;t.isXAxisTooltipEnabled&&e.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")===null&&(t.xaxisTooltip=document.createElement("div"),t.xaxisTooltip.setAttribute("class",i+" apexcharts-theme-"+e.config.tooltip.theme),r.appendChild(t.xaxisTooltip),t.xaxisTooltipText=document.createElement("div"),t.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),t.xaxisTooltipText.style.fontFamily=e.config.xaxis.tooltip.style.fontFamily||e.config.chart.fontFamily,t.xaxisTooltipText.style.fontSize=e.config.xaxis.tooltip.style.fontSize,t.xaxisTooltip.appendChild(t.xaxisTooltipText))}},{key:"drawYaxisTooltip",value:function(){for(var e=this.w,t=this.ttCtx,a=0;a<e.config.yaxis.length;a++){var i=e.config.yaxis[a].opposite||e.config.yaxis[a].crosshairs.opposite;t.yaxisOffX=i?e.globals.gridWidth+1:1;var r="apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(a,i?" apexcharts-yaxistooltip-right":" apexcharts-yaxistooltip-left"),n=e.globals.dom.elWrap;e.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(a))===null&&(t.yaxisTooltip=document.createElement("div"),t.yaxisTooltip.setAttribute("class",r+" apexcharts-theme-"+e.config.tooltip.theme),n.appendChild(t.yaxisTooltip),a===0&&(t.yaxisTooltipText=[]),t.yaxisTooltipText[a]=document.createElement("div"),t.yaxisTooltipText[a].classList.add("apexcharts-yaxistooltip-text"),t.yaxisTooltip.appendChild(t.yaxisTooltipText[a]))}}},{key:"setXCrosshairWidth",value:function(){var e=this.w,t=this.ttCtx,a=t.getElXCrosshairs();if(t.xcrosshairsWidth=parseInt(e.config.xaxis.crosshairs.width,10),e.globals.comboCharts){var i=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(i!==null&&e.config.xaxis.crosshairs.width==="barWidth"){var r=parseFloat(i.getAttribute("barWidth"));t.xcrosshairsWidth=r}else if(e.config.xaxis.crosshairs.width==="tickWidth"){var n=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/n}}else if(e.config.xaxis.crosshairs.width==="tickWidth"){var o=e.globals.labels.length;t.xcrosshairsWidth=e.globals.gridWidth/o}else if(e.config.xaxis.crosshairs.width==="barWidth"){var l=e.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(l!==null){var c=parseFloat(l.getAttribute("barWidth"));t.xcrosshairsWidth=c}else t.xcrosshairsWidth=1}e.globals.isBarHorizontal&&(t.xcrosshairsWidth=0),a!==null&&t.xcrosshairsWidth>0&&a.setAttribute("width",t.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var e=this.w,t=this.ttCtx;t.ycrosshairs=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),t.ycrosshairsHidden=e.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(e,t,a){var i=this.ttCtx,r=this.w,n=r.globals,o=n.seriesYAxisMap[e];if(i.yaxisTooltips[e]&&o.length>0){var l=n.yLabelFormatters[e],c=i.getElGrid().getBoundingClientRect(),h=o[0],d=0;a.yRatio.length>1&&(d=h);var u=(t-c.top)*a.yRatio[d],g=n.maxYArr[h]-n.minYArr[h],p=n.minYArr[h]+(g-u);r.config.yaxis[e].reversed&&(p=n.maxYArr[h]-(g-u)),i.tooltipPosition.moveYCrosshairs(t-c.top),i.yaxisTooltipText[e].innerHTML=l(p),i.tooltipPosition.moveYAxisTooltip(e)}}}]),s})(),Sr=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w;var t=this.w;this.tConfig=t.config.tooltip,this.tooltipUtil=new xo(this),this.tooltipLabels=new rd(this),this.tooltipPosition=new mo(this),this.marker=new nd(this),this.intersect=new od(this),this.axesTooltip=new ld(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!t.globals.isBarHorizontal&&this.tConfig.shared,this.lastHoverTime=Date.now()}return V(s,[{key:"getElTooltip",value:function(e){return e||(e=this),e.w.globals.dom.baseEl?e.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip"):null}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(e){var t=this.w;this.xyRatios=e,this.isXAxisTooltipEnabled=t.config.xaxis.tooltip.enabled&&t.globals.axisCharts,this.yaxisTooltips=t.config.yaxis.map((function(n,o){return!!(n.show&&n.tooltip.enabled&&t.globals.axisCharts)})),this.allTooltipSeriesGroups=[],t.globals.axisCharts||(this.showTooltipTitle=!1);var a=document.createElement("div");if(a.classList.add("apexcharts-tooltip"),t.config.tooltip.cssClass&&a.classList.add(t.config.tooltip.cssClass),a.classList.add("apexcharts-theme-".concat(this.tConfig.theme||"light")),t.globals.dom.elWrap.appendChild(a),t.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var i=new pa(this.ctx);this.xAxisTicksPositions=i.getXAxisTicksPositions()}if(!t.globals.comboCharts&&!this.tConfig.intersect&&t.config.chart.type!=="rangeBar"||this.tConfig.shared||(this.showOnIntersect=!0),t.config.markers.size!==0&&t.globals.markers.largestSize!==0||this.marker.drawDynamicPoints(this),t.globals.collapsedSeries.length!==t.globals.series.length){this.dataPointsDividedHeight=t.globals.gridHeight/t.globals.dataPoints,this.dataPointsDividedWidth=t.globals.gridWidth/t.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||t.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,a.appendChild(this.tooltipTitle));var r=t.globals.series.length;(t.globals.xyCharts||t.globals.comboCharts)&&this.tConfig.shared&&(r=this.showOnIntersect?1:t.globals.series.length),this.legendLabels=t.globals.dom.baseEl.querySelectorAll(".apexcharts-legend-text"),this.ttItems=this.createTTElements(r),this.addSVGEvents()}}},{key:"createTTElements",value:function(e){for(var t=this,a=this.w,i=[],r=this.getElTooltip(),n=function(l){var c=document.createElement("div");c.classList.add("apexcharts-tooltip-series-group","apexcharts-tooltip-series-group-".concat(l)),c.style.order=a.config.tooltip.inverseOrder?e-l:l+1;var h=document.createElement("span");h.classList.add("apexcharts-tooltip-marker"),a.config.tooltip.fillSeriesColor?h.style.backgroundColor=a.globals.colors[l]:h.style.color=a.globals.colors[l];var d=a.config.markers.shape,u=d;Array.isArray(d)&&(u=d[l]),h.setAttribute("shape",u),c.appendChild(h);var g=document.createElement("div");g.classList.add("apexcharts-tooltip-text"),g.style.fontFamily=t.tConfig.style.fontFamily||a.config.chart.fontFamily,g.style.fontSize=t.tConfig.style.fontSize,["y","goals","z"].forEach((function(p){var f=document.createElement("div");f.classList.add("apexcharts-tooltip-".concat(p,"-group"));var m=document.createElement("span");m.classList.add("apexcharts-tooltip-text-".concat(p,"-label")),f.appendChild(m);var v=document.createElement("span");v.classList.add("apexcharts-tooltip-text-".concat(p,"-value")),f.appendChild(v),g.appendChild(f)})),c.appendChild(g),r.appendChild(c),i.push(c)},o=0;o<e;o++)n(o);return i}},{key:"addSVGEvents",value:function(){var e=this.w,t=e.config.chart.type,a=this.getElTooltip(),i=!(t!=="bar"&&t!=="candlestick"&&t!=="boxPlot"&&t!=="rangeBar"),r=t==="area"||t==="line"||t==="scatter"||t==="bubble"||t==="radar",n=e.globals.dom.Paper.node,o=this.getElGrid();o&&(this.seriesBound=o.getBoundingClientRect());var l,c=[],h=[],d={hoverArea:n,elGrid:o,tooltipEl:a,tooltipY:c,tooltipX:h,ttItems:this.ttItems};if(e.globals.axisCharts&&(r?l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):i?l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area, .apexcharts-series .apexcharts-candlestick-area, .apexcharts-series .apexcharts-boxPlot-area, .apexcharts-series .apexcharts-rangebar-area"):t!=="heatmap"&&t!=="treemap"||(l=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap, .apexcharts-series .apexcharts-treemap")),l&&l.length))for(var u=0;u<l.length;u++)c.push(l[u].getAttribute("cy")),h.push(l[u].getAttribute("cx"));if(e.globals.xyCharts&&!this.showOnIntersect||e.globals.comboCharts&&!this.showOnIntersect||i&&this.tooltipUtil.hasBars()&&this.tConfig.shared)this.addPathsEventListeners([n],d);else if(i&&!e.globals.comboCharts||r&&this.showOnIntersect)this.addDatapointEventsListeners(d);else if(!e.globals.axisCharts||t==="heatmap"||t==="treemap"){var g=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(g,d)}if(this.showOnIntersect){var p=e.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker, .apexcharts-area-series .apexcharts-marker");p.length>0&&this.addPathsEventListeners(p,d),this.tooltipUtil.hasBars()&&!this.tConfig.shared&&this.addDatapointEventsListeners(d)}}},{key:"drawFixedTooltipRect",value:function(){var e=this.w,t=this.getElTooltip(),a=t.getBoundingClientRect(),i=a.width+10,r=a.height+10,n=this.tConfig.fixed.offsetX,o=this.tConfig.fixed.offsetY,l=this.tConfig.fixed.position.toLowerCase();return l.indexOf("right")>-1&&(n=n+e.globals.svgWidth-i+10),l.indexOf("bottom")>-1&&(o=o+e.globals.svgHeight-r-10),t.style.left=n+"px",t.style.top=o+"px",{x:n,y:o,ttWidth:i,ttHeight:r}}},{key:"addDatapointEventsListeners",value:function(e){var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker, .apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-boxPlot-area, .apexcharts-rangebar-area");this.addPathsEventListeners(t,e)}},{key:"addPathsEventListeners",value:function(e,t){for(var a=this,i=function(n){var o={paths:e[n],tooltipEl:t.tooltipEl,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:t.ttItems};["mousemove","mouseup","touchmove","mouseout","touchend"].map((function(l){return e[n].addEventListener(l,a.onSeriesHover.bind(a,o),{capture:!1,passive:!0})}))},r=0;r<e.length;r++)i(r)}},{key:"onSeriesHover",value:function(e,t){var a=this,i=Date.now()-this.lastHoverTime;i>=20?this.seriesHover(e,t):(clearTimeout(this.seriesHoverTimeout),this.seriesHoverTimeout=setTimeout((function(){a.seriesHover(e,t)}),20-i))}},{key:"seriesHover",value:function(e,t){var a=this;this.lastHoverTime=Date.now();var i=[],r=this.w;r.config.chart.group&&(i=this.ctx.getGroupedCharts()),r.globals.axisCharts&&(r.globals.minX===-1/0&&r.globals.maxX===1/0||r.globals.dataPoints===0)||(i.length?i.forEach((function(n){var o=a.getElTooltip(n),l={paths:e.paths,tooltipEl:o,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:n.w.globals.tooltip.ttItems};n.w.globals.minX===a.w.globals.minX&&n.w.globals.maxX===a.w.globals.maxX&&n.w.globals.tooltip.seriesHoverByContext({chartCtx:n,ttCtx:n.w.globals.tooltip,opt:l,e:t})})):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:e,e:t}))}},{key:"seriesHoverByContext",value:function(e){var t=e.chartCtx,a=e.ttCtx,i=e.opt,r=e.e,n=t.w,o=this.getElTooltip(t);o&&(a.tooltipRect={x:0,y:0,ttWidth:o.getBoundingClientRect().width,ttHeight:o.getBoundingClientRect().height},a.e=r,a.tooltipUtil.hasBars()&&!n.globals.comboCharts&&!a.isBarShared&&this.tConfig.onDatasetHover.highlightDataSeries&&new Ze(t).toggleSeriesOnHover(r,r.target.parentNode),n.globals.axisCharts?a.axisChartsTooltips({e:r,opt:i,tooltipRect:a.tooltipRect}):a.nonAxisChartsTooltips({e:r,opt:i,tooltipRect:a.tooltipRect}),a.fixedTooltip&&a.drawFixedTooltipRect())}},{key:"axisChartsTooltips",value:function(e){var t,a,i=e.e,r=e.opt,n=this.w,o=r.elGrid.getBoundingClientRect(),l=i.type==="touchmove"?i.touches[0].clientX:i.clientX,c=i.type==="touchmove"?i.touches[0].clientY:i.clientY;if(this.clientY=c,this.clientX=l,n.globals.capturedSeriesIndex=-1,n.globals.capturedDataPointIndex=-1,c<o.top||c>o.top+o.height)this.handleMouseOut(r);else{if(Array.isArray(this.tConfig.enabledOnSeries)&&!n.config.tooltip.shared){var h=parseInt(r.paths.getAttribute("index"),10);if(this.tConfig.enabledOnSeries.indexOf(h)<0)return void this.handleMouseOut(r)}var d=this.getElTooltip(),u=this.getElXCrosshairs(),g=[];n.config.chart.group&&(g=this.ctx.getSyncedCharts());var p=n.globals.xyCharts||n.config.chart.type==="bar"&&!n.globals.isBarHorizontal&&this.tooltipUtil.hasBars()&&this.tConfig.shared||n.globals.comboCharts&&this.tooltipUtil.hasBars();if(i.type==="mousemove"||i.type==="touchmove"||i.type==="mouseup"){if(n.globals.collapsedSeries.length+n.globals.ancillaryCollapsedSeries.length===n.globals.series.length)return;u!==null&&u.classList.add("apexcharts-active");var f=this.yaxisTooltips.filter((function(b){return b===!0}));if(this.ycrosshairs!==null&&f.length&&this.ycrosshairs.classList.add("apexcharts-active"),p&&!this.showOnIntersect||g.length>1)this.handleStickyTooltip(i,l,c,r);else if(n.config.chart.type==="heatmap"||n.config.chart.type==="treemap"){var m=this.intersect.handleHeatTreeTooltip({e:i,opt:r,x:t,y:a,type:n.config.chart.type});t=m.x,a=m.y,d.style.left=t+"px",d.style.top=a+"px"}else this.tooltipUtil.hasBars()&&this.intersect.handleBarTooltip({e:i,opt:r}),this.tooltipUtil.hasMarkers()&&this.intersect.handleMarkerTooltip({e:i,opt:r,x:t,y:a});if(this.yaxisTooltips.length)for(var v=0;v<n.config.yaxis.length;v++)this.axesTooltip.drawYaxisTooltipText(v,c,this.xyRatios);n.globals.dom.baseEl.classList.add("apexcharts-tooltip-active"),r.tooltipEl.classList.add("apexcharts-active")}else i.type!=="mouseout"&&i.type!=="touchend"||this.handleMouseOut(r)}}},{key:"nonAxisChartsTooltips",value:function(e){var t=e.e,a=e.opt,i=e.tooltipRect,r=this.w,n=a.paths.getAttribute("rel"),o=this.getElTooltip(),l=r.globals.dom.elWrap.getBoundingClientRect();if(t.type==="mousemove"||t.type==="touchmove"){r.globals.dom.baseEl.classList.add("apexcharts-tooltip-active"),o.classList.add("apexcharts-active"),this.tooltipLabels.drawSeriesTexts({ttItems:a.ttItems,i:parseInt(n,10)-1,shared:!1});var c=r.globals.clientX-l.left-i.ttWidth/2,h=r.globals.clientY-l.top-i.ttHeight-10;if(o.style.left=c+"px",o.style.top=h+"px",r.config.legend.tooltipHoverFormatter){var d=n-1,u=(0,r.config.legend.tooltipHoverFormatter)(this.legendLabels[d].getAttribute("data:default-text"),{seriesIndex:d,dataPointIndex:d,w:r});this.legendLabels[d].innerHTML=u}}else t.type!=="mouseout"&&t.type!=="touchend"||(o.classList.remove("apexcharts-active"),r.globals.dom.baseEl.classList.remove("apexcharts-tooltip-active"),r.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach((function(g){var p=g.getAttribute("data:default-text");g.innerHTML=decodeURIComponent(p)})))}},{key:"handleStickyTooltip",value:function(e,t,a,i){var r=this.w,n=this.tooltipUtil.getNearestValues({context:this,hoverArea:i.hoverArea,elGrid:i.elGrid,clientX:t,clientY:a}),o=n.j,l=n.capturedSeries;r.globals.collapsedSeriesIndices.includes(l)&&(l=null);var c=i.elGrid.getBoundingClientRect();if(n.hoverX<0||n.hoverX>c.width)this.handleMouseOut(i);else if(l!==null)this.handleStickyCapturedSeries(e,l,i,o);else if(this.tooltipUtil.isXoverlap(o)||r.globals.isBarHorizontal){var h=r.globals.series.findIndex((function(d,u){return!r.globals.collapsedSeriesIndices.includes(u)}));this.create(e,this,h,o,i.ttItems)}}},{key:"handleStickyCapturedSeries",value:function(e,t,a,i){var r=this.w;if(!this.tConfig.shared&&r.globals.series[t][i]===null)return void this.handleMouseOut(a);if(r.globals.series[t][i]!==void 0)this.tConfig.shared&&this.tooltipUtil.isXoverlap(i)&&this.tooltipUtil.isInitialSeriesSameLen()?this.create(e,this,t,i,a.ttItems):this.create(e,this,t,i,a.ttItems,!1);else if(this.tooltipUtil.isXoverlap(i)){var n=r.globals.series.findIndex((function(o,l){return!r.globals.collapsedSeriesIndices.includes(l)}));this.create(e,this,n,i,a.ttItems)}}},{key:"deactivateHoverFilter",value:function(){for(var e=this.w,t=new E(this.ctx),a=e.globals.dom.Paper.find(".apexcharts-bar-area"),i=0;i<a.length;i++)t.pathMouseLeave(a[i])}},{key:"handleMouseOut",value:function(e){var t=this.w,a=this.getElXCrosshairs();if(t.globals.dom.baseEl.classList.remove("apexcharts-tooltip-active"),e.tooltipEl.classList.remove("apexcharts-active"),this.deactivateHoverFilter(),t.config.chart.type!=="bubble"&&this.marker.resetPointsSize(),a!==null&&a.classList.remove("apexcharts-active"),this.ycrosshairs!==null&&this.ycrosshairs.classList.remove("apexcharts-active"),this.isXAxisTooltipEnabled&&this.xaxisTooltip.classList.remove("apexcharts-active"),this.yaxisTooltips.length){this.yaxisTTEls===null&&(this.yaxisTTEls=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var i=0;i<this.yaxisTTEls.length;i++)this.yaxisTTEls[i].classList.remove("apexcharts-active")}t.config.legend.tooltipHoverFormatter&&this.legendLabels.forEach((function(r){var n=r.getAttribute("data:default-text");r.innerHTML=decodeURIComponent(n)}))}},{key:"markerClick",value:function(e,t,a){var i=this.w;typeof i.config.chart.events.markerClick=="function"&&i.config.chart.events.markerClick(e,this.ctx,{seriesIndex:t,dataPointIndex:a,w:i}),this.ctx.events.fireEvent("markerClick",[e,this.ctx,{seriesIndex:t,dataPointIndex:a,w:i}])}},{key:"create",value:function(e,t,a,i,r){var n,o,l,c,h,d,u,g,p,f,m,v,b,w,k,y,A=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,C=this.w,S=t;e.type==="mouseup"&&this.markerClick(e,a,i),A===null&&(A=this.tConfig.shared);var M=this.tooltipUtil.hasMarkers(a),I=this.tooltipUtil.getElBars(),R=function(){C.globals.markers.largestSize>0?S.marker.enlargePoints(i):S.tooltipPosition.moveDynamicPointsOnHover(i)};if(C.config.legend.tooltipHoverFormatter){var P=C.config.legend.tooltipHoverFormatter,_=Array.from(this.legendLabels);_.forEach((function(re){var J=re.getAttribute("data:default-text");re.innerHTML=decodeURIComponent(J)}));for(var O=0;O<_.length;O++){var H=_[O],T=parseInt(H.getAttribute("i"),10),D=decodeURIComponent(H.getAttribute("data:default-text")),B=P(D,{seriesIndex:A?T:a,dataPointIndex:i,w:C});if(A)H.innerHTML=C.globals.collapsedSeriesIndices.indexOf(T)<0?B:D;else if(H.innerHTML=T===a?B:D,a===T)break}}var X=F(F({ttItems:r,i:a,j:i},((n=C.globals.seriesRange)===null||n===void 0||(o=n[a])===null||o===void 0||(l=o[i])===null||l===void 0||(c=l.y[0])===null||c===void 0?void 0:c.y1)!==void 0&&{y1:(h=C.globals.seriesRange)===null||h===void 0||(d=h[a])===null||d===void 0||(u=d[i])===null||u===void 0||(g=u.y[0])===null||g===void 0?void 0:g.y1}),((p=C.globals.seriesRange)===null||p===void 0||(f=p[a])===null||f===void 0||(m=f[i])===null||m===void 0||(v=m.y[0])===null||v===void 0?void 0:v.y2)!==void 0&&{y2:(b=C.globals.seriesRange)===null||b===void 0||(w=b[a])===null||w===void 0||(k=w[i])===null||k===void 0||(y=k.y[0])===null||y===void 0?void 0:y.y2});if(A){if(S.tooltipLabels.drawSeriesTexts(F(F({},X),{},{shared:!this.showOnIntersect&&this.tConfig.shared})),M)R();else if(this.tooltipUtil.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(I),this.barSeriesHeight>0)){var Y=new E(this.ctx),W=C.globals.dom.Paper.find(".apexcharts-bar-area[j='".concat(i,"']"));this.deactivateHoverFilter(),S.tooltipUtil.getAllMarkers(!0).length&&!this.barSeriesHeight&&R(),S.tooltipPosition.moveStickyTooltipOverBars(i,a);for(var U=0;U<W.length;U++)Y.pathMouseEnter(W[U])}}else S.tooltipLabels.drawSeriesTexts(F({shared:!1},X)),this.tooltipUtil.hasBars()&&S.tooltipPosition.moveStickyTooltipOverBars(i,a),M&&S.tooltipPosition.moveMarkers(a,i)}}]),s})(),cd=(function(){function s(e){N(this,s),this.w=e.w,this.barCtx=e,this.totalFormatter=this.w.config.plotOptions.bar.dataLabels.total.formatter,this.totalFormatter||(this.totalFormatter=this.w.config.dataLabels.formatter)}return V(s,[{key:"handleBarDataLabels",value:function(e){var t,a,i=e.x,r=e.y,n=e.y1,o=e.y2,l=e.i,c=e.j,h=e.realIndex,d=e.columnGroupIndex,u=e.series,g=e.barHeight,p=e.barWidth,f=e.barXPosition,m=e.barYPosition,v=e.visibleSeries,b=this.w,w=new E(this.barCtx.ctx),k=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[h]:this.barCtx.strokeWidth;b.globals.isXNumeric&&!b.globals.isBarHorizontal?(t=i+parseFloat(p*(v+1)),a=r+parseFloat(g*(v+1))-k):(t=i+parseFloat(p*v),a=r+parseFloat(g*v));var y,A=null,C=i,S=r,M={},I=b.config.dataLabels,R=this.barCtx.barOptions.dataLabels,P=this.barCtx.barOptions.dataLabels.total;m!==void 0&&this.barCtx.isRangeBar&&(a=m,S=m),f!==void 0&&this.barCtx.isVerticalGroupedRangeBar&&(t=f,C=f);var _=I.offsetX,O=I.offsetY,H={width:0,height:0};if(b.config.dataLabels.enabled){var T=b.globals.series[l][c];H=w.getTextRects(b.config.dataLabels.formatter?b.config.dataLabels.formatter(T,F(F({},b),{},{seriesIndex:l,dataPointIndex:c,w:b})):b.globals.yLabelFormatters[0](T),parseFloat(I.style.fontSize))}var D={x:i,y:r,i:l,j:c,realIndex:h,columnGroupIndex:d,bcx:t,bcy:a,barHeight:g,barWidth:p,textRects:H,strokeWidth:k,dataLabelsX:C,dataLabelsY:S,dataLabelsConfig:I,barDataLabelsConfig:R,barTotalDataLabelsConfig:P,offX:_,offY:O};return M=this.barCtx.isHorizontal?this.calculateBarsDataLabelsPosition(D):this.calculateColumnsDataLabelsPosition(D),y=this.drawCalculatedDataLabels({x:M.dataLabelsX,y:M.dataLabelsY,val:this.barCtx.isRangeBar?[n,o]:b.config.chart.stackType==="100%"?u[h][c]:b.globals.series[h][c],i:h,j:c,barWidth:p,barHeight:g,textRects:H,dataLabelsConfig:I}),b.config.chart.stacked&&P.enabled&&(A=this.drawTotalDataLabels({x:M.totalDataLabelsX,y:M.totalDataLabelsY,barWidth:p,barHeight:g,realIndex:h,textAnchor:M.totalDataLabelsAnchor,val:this.getStackedTotalDataLabel({realIndex:h,j:c}),dataLabelsConfig:I,barTotalDataLabelsConfig:P})),{dataLabelsPos:M,dataLabels:y,totalDataLabels:A}}},{key:"getStackedTotalDataLabel",value:function(e){var t=e.realIndex,a=e.j,i=this.w,r=this.barCtx.stackedSeriesTotals[a];return this.totalFormatter&&(r=this.totalFormatter(r,F(F({},i),{},{seriesIndex:t,dataPointIndex:a,w:i}))),r}},{key:"calculateColumnsDataLabelsPosition",value:function(e){var t=this,a=this.w,i=e.i,r=e.j,n=e.realIndex;e.columnGroupIndex;var o,l,c=e.y,h=e.bcx,d=e.barWidth,u=e.barHeight,g=e.textRects,p=e.dataLabelsX,f=e.dataLabelsY,m=e.dataLabelsConfig,v=e.barDataLabelsConfig,b=e.barTotalDataLabelsConfig,w=e.strokeWidth,k=e.offX,y=e.offY,A=h;u=Math.abs(u);var C=a.config.plotOptions.bar.dataLabels.orientation==="vertical",S=this.barCtx.barHelpers.getZeroValueEncounters({i,j:r}).zeroEncounters;h-=w/2;var M=a.globals.gridWidth/a.globals.dataPoints;this.barCtx.isVerticalGroupedRangeBar?p+=d/2:(p=a.globals.isXNumeric?h-d/2+k:h-M+d/2+k,!a.config.chart.stacked&&S>0&&a.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(p-=d*S)),C&&(p=p+g.height/2-w/2-2);var I=a.globals.series[i][r]<0,R=c;switch(this.barCtx.isReversed&&(R=c+(I?u:-u)),v.position){case"center":f=C?I?R-u/2+y:R+u/2-y:I?R-u/2+g.height/2+y:R+u/2+g.height/2-y;break;case"bottom":f=C?I?R-u+y:R+u-y:I?R-u+g.height+w+y:R+u-g.height/2+w-y;break;case"top":f=C?I?R+y:R-y:I?R-g.height/2-y:R+g.height+y}var P=R;if(a.globals.seriesGroups.forEach((function(H){var T;(T=t.barCtx[H.join(",")])===null||T===void 0||T.prevY.forEach((function(D){P=I?Math.max(D[r],P):Math.min(D[r],P)}))})),this.barCtx.lastActiveBarSerieIndex===n&&b.enabled){var _=new E(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:n,j:r}),m.fontSize);o=I?P-_.height/2-y-b.offsetY+18:P+_.height+y+b.offsetY-18;var O=M;l=A+(a.globals.isXNumeric?-d*a.globals.barGroups.length/2:a.globals.barGroups.length*d/2-(a.globals.barGroups.length-1)*d-O)+b.offsetX}return a.config.chart.stacked||(f<0?f=0+w:f+g.height/3>a.globals.gridHeight&&(f=a.globals.gridHeight-w)),{bcx:h,bcy:c,dataLabelsX:p,dataLabelsY:f,totalDataLabelsX:l,totalDataLabelsY:o,totalDataLabelsAnchor:"middle"}}},{key:"calculateBarsDataLabelsPosition",value:function(e){var t=this,a=this.w,i=e.x,r=e.i,n=e.j,o=e.realIndex,l=e.bcy,c=e.barHeight,h=e.barWidth,d=e.textRects,u=e.dataLabelsX,g=e.strokeWidth,p=e.dataLabelsConfig,f=e.barDataLabelsConfig,m=e.barTotalDataLabelsConfig,v=e.offX,b=e.offY,w=a.globals.gridHeight/a.globals.dataPoints,k=this.barCtx.barHelpers.getZeroValueEncounters({i:r,j:n}).zeroEncounters;h=Math.abs(h);var y,A,C=l-(this.barCtx.isRangeBar?0:w)+c/2+d.height/2+b-3;!a.config.chart.stacked&&k>0&&a.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(C-=c*k);var S="start",M=a.globals.series[r][n]<0,I=i;switch(this.barCtx.isReversed&&(I=i+(M?-h:h),S=M?"start":"end"),f.position){case"center":u=M?I+h/2-v:Math.max(d.width/2,I-h/2)+v;break;case"bottom":u=M?I+h-g-v:I-h+g+v;break;case"top":u=M?I-g-v:I-g+v}var R=I;if(a.globals.seriesGroups.forEach((function(_){var O;(O=t.barCtx[_.join(",")])===null||O===void 0||O.prevX.forEach((function(H){R=M?Math.min(H[n],R):Math.max(H[n],R)}))})),this.barCtx.lastActiveBarSerieIndex===o&&m.enabled){var P=new E(this.barCtx.ctx).getTextRects(this.getStackedTotalDataLabel({realIndex:o,j:n}),p.fontSize);M?(y=R-g-v-m.offsetX,S="end"):y=R+v+m.offsetX+(this.barCtx.isReversed?-(h+g):g),A=C-d.height/2+P.height/2+m.offsetY+g,a.globals.barGroups.length>1&&(A-=a.globals.barGroups.length/2*(c/2))}return a.config.chart.stacked||(p.textAnchor==="start"?u-d.width<0?u=M?d.width+g:g:u+d.width>a.globals.gridWidth&&(u=M?a.globals.gridWidth-g:a.globals.gridWidth-d.width-g):p.textAnchor==="middle"?u-d.width/2<0?u=d.width/2+g:u+d.width/2>a.globals.gridWidth&&(u=a.globals.gridWidth-d.width/2-g):p.textAnchor==="end"&&(u<1?u=d.width+g:u+1>a.globals.gridWidth&&(u=a.globals.gridWidth-d.width-g))),{bcx:i,bcy:l,dataLabelsX:u,dataLabelsY:C,totalDataLabelsX:y,totalDataLabelsY:A,totalDataLabelsAnchor:S}}},{key:"drawCalculatedDataLabels",value:function(e){var t=e.x,a=e.y,i=e.val,r=e.i,n=e.j,o=e.textRects,l=e.barHeight,c=e.barWidth,h=e.dataLabelsConfig,d=this.w,u="rotate(0)";d.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(u="rotate(-90, ".concat(t,", ").concat(a,")"));var g=new Wt(this.barCtx.ctx),p=new E(this.barCtx.ctx),f=h.formatter,m=null,v=d.globals.collapsedSeriesIndices.indexOf(r)>-1;if(h.enabled&&!v){m=p.group({class:"apexcharts-data-labels",transform:u});var b="";i!==void 0&&(b=f(i,F(F({},d),{},{seriesIndex:r,dataPointIndex:n,w:d}))),!i&&d.config.plotOptions.bar.hideZeroBarsWhenGrouped&&(b="");var w=d.globals.series[r][n]<0,k=d.config.plotOptions.bar.dataLabels.position;d.config.plotOptions.bar.dataLabels.orientation==="vertical"&&(k==="top"&&(h.textAnchor=w?"end":"start"),k==="center"&&(h.textAnchor="middle"),k==="bottom"&&(h.textAnchor=w?"end":"start")),this.barCtx.isRangeBar&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&c<p.getTextRects(b,parseFloat(h.style.fontSize)).width&&(b=""),d.config.chart.stacked&&this.barCtx.barOptions.dataLabels.hideOverflowingLabels&&(this.barCtx.isHorizontal?o.width/1.6>Math.abs(c)&&(b=""):o.height/1.6>Math.abs(l)&&(b=""));var y=F({},h);this.barCtx.isHorizontal&&i<0&&(h.textAnchor==="start"?y.textAnchor="end":h.textAnchor==="end"&&(y.textAnchor="start")),g.plotDataLabelsText({x:t,y:a,text:b,i:r,j:n,parent:m,dataLabelsConfig:y,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return m}},{key:"drawTotalDataLabels",value:function(e){var t=e.x,a=e.y,i=e.val,r=e.realIndex,n=e.textAnchor,o=e.barTotalDataLabelsConfig;this.w;var l,c=new E(this.barCtx.ctx);return o.enabled&&t!==void 0&&a!==void 0&&this.barCtx.lastActiveBarSerieIndex===r&&(l=c.drawText({x:t,y:a,foreColor:o.style.color,text:i,textAnchor:n,fontFamily:o.style.fontFamily,fontSize:o.style.fontSize,fontWeight:o.style.fontWeight})),l}}]),s})(),hd=(function(){function s(e){N(this,s),this.w=e.w,this.barCtx=e}return V(s,[{key:"initVariables",value:function(e){var t=this.w;this.barCtx.series=e,this.barCtx.totalItems=0,this.barCtx.seriesLen=0,this.barCtx.visibleI=-1,this.barCtx.visibleItems=1;for(var a=0;a<e.length;a++)if(e[a].length>0&&(this.barCtx.seriesLen=this.barCtx.seriesLen+1,this.barCtx.totalItems+=e[a].length),t.globals.isXNumeric)for(var i=0;i<e[a].length;i++)t.globals.seriesX[a][i]>t.globals.minX&&t.globals.seriesX[a][i]<t.globals.maxX&&this.barCtx.visibleItems++;else this.barCtx.visibleItems=t.globals.dataPoints;this.arrBorderRadius=this.createBorderRadiusArr(t.globals.series),L.isSafari()&&(this.arrBorderRadius=this.arrBorderRadius.map((function(r){return r.map((function(n){return"none"}))}))),this.barCtx.seriesLen===0&&(this.barCtx.seriesLen=1),this.barCtx.zeroSerieses=[],t.globals.comboCharts||this.checkZeroSeries({series:e})}},{key:"initialPositions",value:function(e){var t,a,i,r,n,o,l,c,h=this.w,d=h.globals.dataPoints;this.barCtx.isRangeBar&&(d=h.globals.labels.length);var u=this.barCtx.seriesLen;if(h.config.plotOptions.bar.rangeBarGroupRows&&(u=1),this.barCtx.isHorizontal)n=(i=h.globals.gridHeight/d)/u,h.globals.isXNumeric&&(n=(i=h.globals.gridHeight/this.barCtx.totalItems)/this.barCtx.seriesLen),n=n*parseInt(this.barCtx.barOptions.barHeight,10)/100,String(this.barCtx.barOptions.barHeight).indexOf("%")===-1&&(n=parseInt(this.barCtx.barOptions.barHeight,10)),c=this.barCtx.baseLineInvertedY+h.globals.padHorizontal+(this.barCtx.isReversed?h.globals.gridWidth:0)-(this.barCtx.isReversed?2*this.barCtx.baseLineInvertedY:0),this.barCtx.isFunnel&&(c=h.globals.gridWidth/2),a=(i-n*this.barCtx.seriesLen)/2;else{if(r=h.globals.gridWidth/this.barCtx.visibleItems,h.config.xaxis.convertedCatToNumeric&&(r=h.globals.gridWidth/h.globals.dataPoints),o=r/u*parseInt(this.barCtx.barOptions.columnWidth,10)/100,h.globals.isXNumeric){var g=this.barCtx.xRatio;h.globals.minXDiff&&h.globals.minXDiff!==.5&&h.globals.minXDiff/g>0&&(r=h.globals.minXDiff/g),(o=r/u*parseInt(this.barCtx.barOptions.columnWidth,10)/100)<1&&(o=1)}String(this.barCtx.barOptions.columnWidth).indexOf("%")===-1&&(o=parseInt(this.barCtx.barOptions.columnWidth,10)),l=h.globals.gridHeight-this.barCtx.baseLineY[this.barCtx.translationsIndex]-(this.barCtx.isReversed?h.globals.gridHeight:0)+(this.barCtx.isReversed?2*this.barCtx.baseLineY[this.barCtx.translationsIndex]:0),h.globals.isXNumeric?t=this.barCtx.getBarXForNumericXAxis({x:t,j:0,realIndex:e,barWidth:o}).x:t=h.globals.padHorizontal+L.noExponents(r-o*this.barCtx.seriesLen)/2}return h.globals.barHeight=n,h.globals.barWidth=o,{x:t,y:a,yDivision:i,xDivision:r,barHeight:n,barWidth:o,zeroH:l,zeroW:c}}},{key:"initializeStackedPrevVars",value:function(e){e.w.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].prevY=[],e[t].prevX=[],e[t].prevYF=[],e[t].prevXF=[],e[t].prevYVal=[],e[t].prevXVal=[]}))}},{key:"initializeStackedXYVars",value:function(e){e.w.globals.seriesGroups.forEach((function(t){e[t]||(e[t]={}),e[t].xArrj=[],e[t].xArrjF=[],e[t].xArrjVal=[],e[t].yArrj=[],e[t].yArrjF=[],e[t].yArrjVal=[]}))}},{key:"getPathFillColor",value:function(e,t,a,i){var r,n,o,l,c=this.w,h=this.barCtx.ctx.fill,d=null,u=this.barCtx.barOptions.distributed?a:t,g=!1;return this.barCtx.barOptions.colors.ranges.length>0&&this.barCtx.barOptions.colors.ranges.map((function(p){e[t][a]>=p.from&&e[t][a]<=p.to&&(d=p.color,g=!0)})),{color:h.fillPath({seriesNumber:this.barCtx.barOptions.distributed?u:i,dataPointIndex:a,color:d,value:e[t][a],fillConfig:(r=c.config.series[t].data[a])===null||r===void 0?void 0:r.fill,fillType:(n=c.config.series[t].data[a])!==null&&n!==void 0&&(o=n.fill)!==null&&o!==void 0&&o.type?(l=c.config.series[t].data[a])===null||l===void 0?void 0:l.fill.type:Array.isArray(c.config.fill.type)?c.config.fill.type[i]:c.config.fill.type}),useRangeColor:g}}},{key:"getStrokeWidth",value:function(e,t,a){var i=0,r=this.w;return this.barCtx.series[e][t]===void 0||this.barCtx.series[e][t]===null||r.config.chart.type==="bar"&&!this.barCtx.series[e][t]?this.barCtx.isNullValue=!0:this.barCtx.isNullValue=!1,r.config.stroke.show&&(this.barCtx.isNullValue||(i=Array.isArray(this.barCtx.strokeWidth)?this.barCtx.strokeWidth[a]:this.barCtx.strokeWidth)),i}},{key:"createBorderRadiusArr",value:function(e){var t,a=this.w,i=!this.w.config.chart.stacked||a.config.plotOptions.bar.borderRadius<=0,r=e.length,n=0|((t=e[0])===null||t===void 0?void 0:t.length),o=Array.from({length:r},(function(){return Array(n).fill(i?"top":"none")}));if(i)return o;for(var l=0;l<n;l++){for(var c=[],h=[],d=0,u=0;u<r;u++){var g=e[u][l];g>0?(c.push(u),d++):g<0&&(h.push(u),d++)}if(c.length>0&&h.length===0)if(c.length===1)o[c[0]][l]="both";else{var p,f=c[0],m=c[c.length-1],v=ra(c);try{for(v.s();!(p=v.n()).done;){var b=p.value;o[b][l]=b===f?"bottom":b===m?"top":"none"}}catch(T){v.e(T)}finally{v.f()}}else if(h.length>0&&c.length===0)if(h.length===1)o[h[0]][l]="both";else{var w,k=Math.max.apply(Math,h),y=Math.min.apply(Math,h),A=ra(h);try{for(A.s();!(w=A.n()).done;){var C=w.value;o[C][l]=C===k?"bottom":C===y?"top":"none"}}catch(T){A.e(T)}finally{A.f()}}else if(c.length>0&&h.length>0){var S,M=c[c.length-1],I=ra(c);try{for(I.s();!(S=I.n()).done;){var R=S.value;o[R][l]=R===M?"top":"none"}}catch(T){I.e(T)}finally{I.f()}var P,_=Math.max.apply(Math,h),O=ra(h);try{for(O.s();!(P=O.n()).done;){var H=P.value;o[H][l]=H===_?"bottom":"none"}}catch(T){O.e(T)}finally{O.f()}}else d===1&&(o[c[0]||h[0]][l]="both")}return o}},{key:"barBackground",value:function(e){var t=e.j,a=e.i,i=e.x1,r=e.x2,n=e.y1,o=e.y2,l=e.elSeries,c=this.w,h=new E(this.barCtx.ctx),d=new Ze(this.barCtx.ctx).getActiveConfigSeriesIndex();if(this.barCtx.barOptions.colors.backgroundBarColors.length>0&&d===a){t>=this.barCtx.barOptions.colors.backgroundBarColors.length&&(t%=this.barCtx.barOptions.colors.backgroundBarColors.length);var u=this.barCtx.barOptions.colors.backgroundBarColors[t],g=h.drawRect(i!==void 0?i:0,n!==void 0?n:0,r!==void 0?r:c.globals.gridWidth,o!==void 0?o:c.globals.gridHeight,this.barCtx.barOptions.colors.backgroundBarRadius,u,this.barCtx.barOptions.colors.backgroundBarOpacity);l.add(g),g.node.classList.add("apexcharts-backgroundBar")}}},{key:"getColumnPaths",value:function(e){var t,a=e.barWidth,i=e.barXPosition,r=e.y1,n=e.y2,o=e.strokeWidth,l=e.isReversed,c=e.series,h=e.seriesGroup,d=e.realIndex,u=e.i,g=e.j,p=e.w,f=new E(this.barCtx.ctx);(o=Array.isArray(o)?o[d]:o)||(o=0);var m=a,v=i;(t=p.config.series[d].data[g])!==null&&t!==void 0&&t.columnWidthOffset&&(v=i-p.config.series[d].data[g].columnWidthOffset/2,m=a+p.config.series[d].data[g].columnWidthOffset);var b=o/2,w=v+b,k=v+m-b,y=(c[u][g]>=0?1:-1)*(l?-1:1);r+=.001-b*y,n+=.001+b*y;var A=f.move(w,r),C=f.move(w,r),S=f.line(k,r);if(p.globals.previousPaths.length>0&&(C=this.barCtx.getPreviousPath(d,g,!1)),A=A+f.line(w,n)+f.line(k,n)+S+(p.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][g]==="both"?" Z":" z"),C=C+f.line(w,r)+S+S+S+S+S+f.line(w,r)+(p.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][g]==="both"?" Z":" z"),this.arrBorderRadius[d][g]!=="none"&&(A=f.roundPathCorners(A,p.config.plotOptions.bar.borderRadius)),p.config.chart.stacked){var M=this.barCtx;(M=this.barCtx[h]).yArrj.push(n-b*y),M.yArrjF.push(Math.abs(r-n+o*y)),M.yArrjVal.push(this.barCtx.series[u][g])}return{pathTo:A,pathFrom:C}}},{key:"getBarpaths",value:function(e){var t,a=e.barYPosition,i=e.barHeight,r=e.x1,n=e.x2,o=e.strokeWidth,l=e.isReversed,c=e.series,h=e.seriesGroup,d=e.realIndex,u=e.i,g=e.j,p=e.w,f=new E(this.barCtx.ctx);(o=Array.isArray(o)?o[d]:o)||(o=0);var m=a,v=i;(t=p.config.series[d].data[g])!==null&&t!==void 0&&t.barHeightOffset&&(m=a-p.config.series[d].data[g].barHeightOffset/2,v=i+p.config.series[d].data[g].barHeightOffset);var b=o/2,w=m+b,k=m+v-b,y=(c[u][g]>=0?1:-1)*(l?-1:1);r+=.001+b*y,n+=.001-b*y;var A=f.move(r,w),C=f.move(r,w);p.globals.previousPaths.length>0&&(C=this.barCtx.getPreviousPath(d,g,!1));var S=f.line(r,k);if(A=A+f.line(n,w)+f.line(n,k)+S+(p.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][g]==="both"?" Z":" z"),C=C+f.line(r,w)+S+S+S+S+S+f.line(r,w)+(p.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[d][g]==="both"?" Z":" z"),this.arrBorderRadius[d][g]!=="none"&&(A=f.roundPathCorners(A,p.config.plotOptions.bar.borderRadius)),p.config.chart.stacked){var M=this.barCtx;(M=this.barCtx[h]).xArrj.push(n+b*y),M.xArrjF.push(Math.abs(r-n-o*y)),M.xArrjVal.push(this.barCtx.series[u][g])}return{pathTo:A,pathFrom:C}}},{key:"checkZeroSeries",value:function(e){for(var t=e.series,a=this.w,i=0;i<t.length;i++){for(var r=0,n=0;n<t[a.globals.maxValsInArrayIndex].length;n++)r+=t[i][n];r===0&&this.barCtx.zeroSerieses.push(i)}}},{key:"getXForValue",value:function(e,t){var a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2]?t:null;return e!=null&&(a=t+e/this.barCtx.invertedYRatio-2*(this.barCtx.isReversed?e/this.barCtx.invertedYRatio:0)),a}},{key:"getYForValue",value:function(e,t,a){var i=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3]?t:null;return e!=null&&(i=t-e/this.barCtx.yRatio[a]+2*(this.barCtx.isReversed?e/this.barCtx.yRatio[a]:0)),i}},{key:"getGoalValues",value:function(e,t,a,i,r,n){var o=this,l=this.w,c=[],h=function(g,p){var f;c.push((Ka(f={},e,e==="x"?o.getXForValue(g,t,!1):o.getYForValue(g,a,n,!1)),Ka(f,"attrs",p),f))};if(l.globals.seriesGoals[i]&&l.globals.seriesGoals[i][r]&&Array.isArray(l.globals.seriesGoals[i][r])&&l.globals.seriesGoals[i][r].forEach((function(g){h(g.value,g)})),this.barCtx.barOptions.isDumbbell&&l.globals.seriesRange.length){var d=this.barCtx.barOptions.dumbbellColors?this.barCtx.barOptions.dumbbellColors:l.globals.colors,u={strokeHeight:e==="x"?0:l.globals.markers.size[i],strokeWidth:e==="x"?l.globals.markers.size[i]:0,strokeDashArray:0,strokeLineCap:"round",strokeColor:Array.isArray(d[i])?d[i][0]:d[i]};h(l.globals.seriesRangeStart[i][r],u),h(l.globals.seriesRangeEnd[i][r],F(F({},u),{},{strokeColor:Array.isArray(d[i])?d[i][1]:d[i]}))}return c}},{key:"drawGoalLine",value:function(e){var t=e.barXPosition,a=e.barYPosition,i=e.goalX,r=e.goalY,n=e.barWidth,o=e.barHeight,l=new E(this.barCtx.ctx),c=l.group({className:"apexcharts-bar-goals-groups"});c.node.classList.add("apexcharts-element-hidden"),this.barCtx.w.globals.delayedElements.push({el:c.node}),c.attr("clip-path","url(#gridRectMarkerMask".concat(this.barCtx.w.globals.cuid,")"));var h=null;return this.barCtx.isHorizontal?Array.isArray(i)&&i.forEach((function(d){if(d.x>=-1&&d.x<=l.w.globals.gridWidth+1){var u=d.attrs.strokeHeight!==void 0?d.attrs.strokeHeight:o/2,g=a+u+o/2;h=l.drawLine(d.x,g-2*u,d.x,g,d.attrs.strokeColor?d.attrs.strokeColor:void 0,d.attrs.strokeDashArray,d.attrs.strokeWidth?d.attrs.strokeWidth:2,d.attrs.strokeLineCap),c.add(h)}})):Array.isArray(r)&&r.forEach((function(d){if(d.y>=-1&&d.y<=l.w.globals.gridHeight+1){var u=d.attrs.strokeWidth!==void 0?d.attrs.strokeWidth:n/2,g=t+u+n/2;h=l.drawLine(g-2*u,d.y,g,d.y,d.attrs.strokeColor?d.attrs.strokeColor:void 0,d.attrs.strokeDashArray,d.attrs.strokeHeight?d.attrs.strokeHeight:2,d.attrs.strokeLineCap),c.add(h)}})),c}},{key:"drawBarShadow",value:function(e){var t=e.prevPaths,a=e.currPaths,i=e.color,r=this.w,n=t.x,o=t.x1,l=t.barYPosition,c=a.x,h=a.x1,d=a.barYPosition,u=l+a.barHeight,g=new E(this.barCtx.ctx),p=new L,f=g.move(o,u)+g.line(n,u)+g.line(c,d)+g.line(h,d)+g.line(o,u)+(r.config.plotOptions.bar.borderRadiusApplication==="around"||this.arrBorderRadius[realIndex][j]==="both"?" Z":" z");return g.drawPath({d:f,fill:p.shadeColor(.5,L.rgb2hex(i)),stroke:"none",strokeWidth:0,fillOpacity:1,classes:"apexcharts-bar-shadow apexcharts-decoration-element"})}},{key:"getZeroValueEncounters",value:function(e){var t,a=e.i,i=e.j,r=this.w,n=0,o=0;return(r.config.plotOptions.bar.horizontal?r.globals.series.map((function(l,c){return c})):((t=r.globals.columnSeries)===null||t===void 0?void 0:t.i.map((function(l){return l})))||[]).forEach((function(l){var c=r.globals.seriesPercent[l][i];c&&n++,l<a&&c===0&&o++})),{nonZeroColumns:n,zeroEncounters:o}}},{key:"getGroupIndex",value:function(e){var t=this.w,a=t.globals.seriesGroups.findIndex((function(n){return n.indexOf(t.globals.seriesNames[e])>-1})),i=this.barCtx.columnGroupIndices,r=i.indexOf(a);return r<0&&(i.push(a),r=i.length-1),{groupIndex:a,columnGroupIndex:r}}}]),s})(),Gt=(function(){function s(e,t){N(this,s),this.ctx=e,this.w=e.w;var a=this.w;this.barOptions=a.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=a.config.stroke.width,this.isNullValue=!1,this.isRangeBar=a.globals.seriesRange.length&&this.isHorizontal,this.isVerticalGroupedRangeBar=!a.globals.isBarHorizontal&&a.globals.seriesRange.length&&a.config.plotOptions.bar.rangeBarGroupRows,this.isFunnel=this.barOptions.isFunnel,this.xyRatios=t,this.xyRatios!==null&&(this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.invertedXRatio=t.invertedXRatio,this.invertedYRatio=t.invertedYRatio,this.baseLineY=t.baseLineY,this.baseLineInvertedY=t.baseLineInvertedY),this.yaxisIndex=0,this.translationsIndex=0,this.seriesLen=0,this.pathArr=[];var i=new Ze(this.ctx);this.lastActiveBarSerieIndex=i.getActiveConfigSeriesIndex("desc",["bar","column"]),this.columnGroupIndices=[];var r=i.getBarSeriesIndices(),n=new Ae(this.ctx);this.stackedSeriesTotals=n.getStackedSeriesTotals(this.w.config.series.map((function(o,l){return r.indexOf(l)===-1?l:-1})).filter((function(o){return o!==-1}))),this.barHelpers=new hd(this)}return V(s,[{key:"draw",value:function(e,t){var a=this.w,i=new E(this.ctx),r=new Ae(this.ctx,a);e=r.getLogSeries(e),this.series=e,this.yRatio=r.getLogYRatios(this.yRatio),this.barHelpers.initVariables(e);var n=i.group({class:"apexcharts-bar-series apexcharts-plot-series"});a.config.dataLabels.enabled&&this.totalItems>this.barOptions.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering - ApexCharts");for(var o=0,l=0;o<e.length;o++,l++){var c,h,d,u,g=void 0,p=void 0,f=[],m=[],v=a.globals.comboCharts?t[o]:o,b=this.barHelpers.getGroupIndex(v).columnGroupIndex,w=i.group({class:"apexcharts-series",rel:o+1,seriesName:L.escapeString(a.globals.seriesNames[v]),"data:realIndex":v});this.ctx.series.addCollapsedClassToSeries(w,v),e[o].length>0&&(this.visibleI=this.visibleI+1);var k=0,y=0;this.yRatio.length>1&&(this.yaxisIndex=a.globals.seriesYAxisReverseMap[v],this.translationsIndex=v);var A=this.translationsIndex;this.isReversed=a.config.yaxis[this.yaxisIndex]&&a.config.yaxis[this.yaxisIndex].reversed;var C=this.barHelpers.initialPositions(v);p=C.y,k=C.barHeight,h=C.yDivision,u=C.zeroW,g=C.x,y=C.barWidth,c=C.xDivision,d=C.zeroH,this.isHorizontal||m.push(g+y/2);var S=i.group({class:"apexcharts-datalabels","data:realIndex":v});a.globals.delayedElements.push({el:S.node}),S.node.classList.add("apexcharts-element-hidden");var M=i.group({class:"apexcharts-bar-goals-markers"}),I=i.group({class:"apexcharts-bar-shadows"});a.globals.delayedElements.push({el:I.node}),I.node.classList.add("apexcharts-element-hidden");for(var R=0;R<e[o].length;R++){var P=this.barHelpers.getStrokeWidth(o,R,v),_=null,O={indexes:{i:o,j:R,realIndex:v,translationsIndex:A,bc:l},x:g,y:p,strokeWidth:P,elSeries:w};this.isHorizontal?(_=this.drawBarPaths(F(F({},O),{},{barHeight:k,zeroW:u,yDivision:h})),y=this.series[o][R]/this.invertedYRatio):(_=this.drawColumnPaths(F(F({},O),{},{xDivision:c,barWidth:y,zeroH:d})),k=this.series[o][R]/this.yRatio[A]);var H=this.barHelpers.getPathFillColor(e,o,R,v);if(this.isFunnel&&this.barOptions.isFunnel3d&&this.pathArr.length&&R>0){var T,D=this.barHelpers.drawBarShadow({color:typeof H.color=="string"&&((T=H.color)===null||T===void 0?void 0:T.indexOf("url"))===-1?H.color:L.hexToRgba(a.globals.colors[o]),prevPaths:this.pathArr[this.pathArr.length-1],currPaths:_});I.add(D),a.config.chart.dropShadow.enabled&&new Oe(this.ctx).dropShadow(D,a.config.chart.dropShadow,v)}this.pathArr.push(_);var B=this.barHelpers.drawGoalLine({barXPosition:_.barXPosition,barYPosition:_.barYPosition,goalX:_.goalX,goalY:_.goalY,barHeight:k,barWidth:y});B&&M.add(B),p=_.y,g=_.x,R>0&&m.push(g+y/2),f.push(p),this.renderSeries(F(F({realIndex:v,pathFill:H.color},H.useRangeColor?{lineFill:H.color}:{}),{},{j:R,i:o,columnGroupIndex:b,pathFrom:_.pathFrom,pathTo:_.pathTo,strokeWidth:P,elSeries:w,x:g,y:p,series:e,barHeight:Math.abs(_.barHeight?_.barHeight:k),barWidth:Math.abs(_.barWidth?_.barWidth:y),elDataLabelsWrap:S,elGoalsMarkers:M,elBarShadows:I,visibleSeries:this.visibleI,type:"bar"}))}a.globals.seriesXvalues[v]=m,a.globals.seriesYvalues[v]=f,n.add(w)}return n}},{key:"renderSeries",value:function(e){var t=e.realIndex,a=e.pathFill,i=e.lineFill,r=e.j,n=e.i,o=e.columnGroupIndex,l=e.pathFrom,c=e.pathTo,h=e.strokeWidth,d=e.elSeries,u=e.x,g=e.y,p=e.y1,f=e.y2,m=e.series,v=e.barHeight,b=e.barWidth,w=e.barXPosition,k=e.barYPosition,y=e.elDataLabelsWrap,A=e.elGoalsMarkers,C=e.elBarShadows,S=e.visibleSeries,M=e.type,I=e.classes,R=this.w,P=new E(this.ctx),_=!1;if(!i){var O=typeof R.globals.stroke.colors[t]=="function"?(function(X){var Y,W=R.config.stroke.colors;return Array.isArray(W)&&W.length>0&&((Y=W[X])||(Y=""),typeof Y=="function")?Y({value:R.globals.series[X][r],dataPointIndex:r,w:R}):Y})(t):R.globals.stroke.colors[t];i=this.barOptions.distributed?R.globals.stroke.colors[r]:O}var H=new cd(this).handleBarDataLabels({x:u,y:g,y1:p,y2:f,i:n,j:r,series:m,realIndex:t,columnGroupIndex:o,barHeight:v,barWidth:b,barXPosition:w,barYPosition:k,visibleSeries:S});R.globals.isBarHorizontal||(H.dataLabelsPos.dataLabelsX+Math.max(b,R.globals.barPadForNumericAxis)<0||H.dataLabelsPos.dataLabelsX-Math.max(b,R.globals.barPadForNumericAxis)>R.globals.gridWidth)&&(_=!0),R.config.series[n].data[r]&&R.config.series[n].data[r].strokeColor&&(i=R.config.series[n].data[r].strokeColor),this.isNullValue&&(a="none");var T=r/R.config.chart.animations.animateGradually.delay*(R.config.chart.animations.speed/R.globals.dataPoints)/2.4;if(!_){var D=P.renderPaths({i:n,j:r,realIndex:t,pathFrom:l,pathTo:c,stroke:i,strokeWidth:h,strokeLineCap:R.config.stroke.lineCap,fill:a,animationDelay:T,initialSpeed:R.config.chart.animations.speed,dataChangeSpeed:R.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(M,"-area ").concat(I),chartType:M});D.attr("clip-path","url(#gridRectBarMask".concat(R.globals.cuid,")"));var B=R.config.forecastDataPoints;B.count>0&&r>=R.globals.dataPoints-B.count&&(D.node.setAttribute("stroke-dasharray",B.dashArray),D.node.setAttribute("stroke-width",B.strokeWidth),D.node.setAttribute("fill-opacity",B.fillOpacity)),p!==void 0&&f!==void 0&&(D.attr("data-range-y1",p),D.attr("data-range-y2",f)),new Oe(this.ctx).setSelectionFilter(D,t,r),d.add(D),D.attr({cy:H.dataLabelsPos.bcy,cx:H.dataLabelsPos.bcx,j:r,val:R.globals.series[n][r],barHeight:v,barWidth:b}),H.dataLabels!==null&&y.add(H.dataLabels),H.totalDataLabels&&y.add(H.totalDataLabels),d.add(y),A&&d.add(A),C&&d.add(C)}return d}},{key:"drawBarPaths",value:function(e){var t,a=e.indexes,i=e.barHeight,r=e.strokeWidth,n=e.zeroW,o=e.x,l=e.y,c=e.yDivision,h=e.elSeries,d=this.w,u=a.i,g=a.j;if(d.globals.isXNumeric)t=(l=(d.globals.seriesX[u][g]-d.globals.minX)/this.invertedXRatio-i)+i*this.visibleI;else if(d.config.plotOptions.bar.hideZeroBarsWhenGrouped){var p=this.barHelpers.getZeroValueEncounters({i:u,j:g}),f=p.nonZeroColumns,m=p.zeroEncounters;f>0&&(i=this.seriesLen*i/f),t=l+i*this.visibleI,t-=i*m}else t=l+i*this.visibleI;this.isFunnel&&(n-=(this.barHelpers.getXForValue(this.series[u][g],n)-n)/2),o=this.barHelpers.getXForValue(this.series[u][g],n);var v=this.barHelpers.getBarpaths({barYPosition:t,barHeight:i,x1:n,x2:o,strokeWidth:r,isReversed:this.isReversed,series:this.series,realIndex:a.realIndex,i:u,j:g,w:d});return d.globals.isXNumeric||(l+=c),this.barHelpers.barBackground({j:g,i:u,y1:t-i*this.visibleI,y2:i*this.seriesLen,elSeries:h}),{pathTo:v.pathTo,pathFrom:v.pathFrom,x1:n,x:o,y:l,goalX:this.barHelpers.getGoalValues("x",n,null,u,g),barYPosition:t,barHeight:i}}},{key:"drawColumnPaths",value:function(e){var t,a=e.indexes,i=e.x,r=e.y,n=e.xDivision,o=e.barWidth,l=e.zeroH,c=e.strokeWidth,h=e.elSeries,d=this.w,u=a.realIndex,g=a.translationsIndex,p=a.i,f=a.j,m=a.bc;if(d.globals.isXNumeric){var v=this.getBarXForNumericXAxis({x:i,j:f,realIndex:u,barWidth:o});i=v.x,t=v.barXPosition}else if(d.config.plotOptions.bar.hideZeroBarsWhenGrouped){var b=this.barHelpers.getZeroValueEncounters({i:p,j:f}),w=b.nonZeroColumns,k=b.zeroEncounters;w>0&&(o=this.seriesLen*o/w),t=i+o*this.visibleI,t-=o*k}else t=i+o*this.visibleI;r=this.barHelpers.getYForValue(this.series[p][f],l,g);var y=this.barHelpers.getColumnPaths({barXPosition:t,barWidth:o,y1:l,y2:r,strokeWidth:c,isReversed:this.isReversed,series:this.series,realIndex:u,i:p,j:f,w:d});return d.globals.isXNumeric||(i+=n),this.barHelpers.barBackground({bc:m,j:f,i:p,x1:t-c/2-o*this.visibleI,x2:o*this.seriesLen+c/2,elSeries:h}),{pathTo:y.pathTo,pathFrom:y.pathFrom,x:i,y:r,goalY:this.barHelpers.getGoalValues("y",null,l,p,f,g),barXPosition:t,barWidth:o}}},{key:"getBarXForNumericXAxis",value:function(e){var t=e.x,a=e.barWidth,i=e.realIndex,r=e.j,n=this.w,o=i;return n.globals.seriesX[i].length||(o=n.globals.maxValsInArrayIndex),L.isNumber(n.globals.seriesX[o][r])&&(t=(n.globals.seriesX[o][r]-n.globals.minX)/this.xRatio-a*this.seriesLen/2),{barXPosition:t+a*this.visibleI,x:t}}},{key:"getPreviousPath",value:function(e,t){for(var a=this.w,i="M 0 0",r=0;r<a.globals.previousPaths.length;r++){var n=a.globals.previousPaths[r];n.paths&&n.paths.length>0&&parseInt(n.realIndex,10)===parseInt(e,10)&&a.globals.previousPaths[r].paths[t]!==void 0&&(i=a.globals.previousPaths[r].paths[t].d)}return i}}]),s})(),Mr=(function(s){wa(t,Gt);var e=ya(t);function t(){return N(this,t),e.apply(this,arguments)}return V(t,[{key:"draw",value:function(a,i){var r=this,n=this.w;this.graphics=new E(this.ctx),this.bar=new Gt(this.ctx,this.xyRatios);var o=new Ae(this.ctx,n);a=o.getLogSeries(a),this.yRatio=o.getLogYRatios(this.yRatio),this.barHelpers.initVariables(a),n.config.chart.stackType==="100%"&&(a=n.globals.comboCharts?i.map((function(p){return n.globals.seriesPercent[p]})):n.globals.seriesPercent.slice()),this.series=a,this.barHelpers.initializeStackedPrevVars(this);for(var l=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),c=0,h=0,d=function(p,f){var m=void 0,v=void 0,b=void 0,w=void 0,k=n.globals.comboCharts?i[p]:p,y=r.barHelpers.getGroupIndex(k),A=y.groupIndex,C=y.columnGroupIndex;r.groupCtx=r[n.globals.seriesGroups[A]];var S=[],M=[],I=0;r.yRatio.length>1&&(r.yaxisIndex=n.globals.seriesYAxisReverseMap[k][0],I=k),r.isReversed=n.config.yaxis[r.yaxisIndex]&&n.config.yaxis[r.yaxisIndex].reversed;var R=r.graphics.group({class:"apexcharts-series",seriesName:L.escapeString(n.globals.seriesNames[k]),rel:p+1,"data:realIndex":k});r.ctx.series.addCollapsedClassToSeries(R,k);var P=r.graphics.group({class:"apexcharts-datalabels","data:realIndex":k}),_=r.graphics.group({class:"apexcharts-bar-goals-markers"}),O=0,H=0,T=r.initialPositions(c,h,m,v,b,w,I);h=T.y,O=T.barHeight,v=T.yDivision,w=T.zeroW,c=T.x,H=T.barWidth,m=T.xDivision,b=T.zeroH,n.globals.barHeight=O,n.globals.barWidth=H,r.barHelpers.initializeStackedXYVars(r),r.groupCtx.prevY.length===1&&r.groupCtx.prevY[0].every((function(xe){return isNaN(xe)}))&&(r.groupCtx.prevY[0]=r.groupCtx.prevY[0].map((function(){return b})),r.groupCtx.prevYF[0]=r.groupCtx.prevYF[0].map((function(){return 0})));for(var D=0;D<n.globals.dataPoints;D++){var B=r.barHelpers.getStrokeWidth(p,D,k),X={indexes:{i:p,j:D,realIndex:k,translationsIndex:I,bc:f},strokeWidth:B,x:c,y:h,elSeries:R,columnGroupIndex:C,seriesGroup:n.globals.seriesGroups[A]},Y=null;r.isHorizontal?(Y=r.drawStackedBarPaths(F(F({},X),{},{zeroW:w,barHeight:O,yDivision:v})),H=r.series[p][D]/r.invertedYRatio):(Y=r.drawStackedColumnPaths(F(F({},X),{},{xDivision:m,barWidth:H,zeroH:b})),O=r.series[p][D]/r.yRatio[I]);var W=r.barHelpers.drawGoalLine({barXPosition:Y.barXPosition,barYPosition:Y.barYPosition,goalX:Y.goalX,goalY:Y.goalY,barHeight:O,barWidth:H});W&&_.add(W),h=Y.y,c=Y.x,S.push(c),M.push(h);var U=r.barHelpers.getPathFillColor(a,p,D,k),re="",J=n.globals.isBarHorizontal?"apexcharts-flip-x":"apexcharts-flip-y";(r.barHelpers.arrBorderRadius[k][D]==="bottom"&&n.globals.series[k][D]>0||r.barHelpers.arrBorderRadius[k][D]==="top"&&n.globals.series[k][D]<0)&&(re=J),R=r.renderSeries(F(F({realIndex:k,pathFill:U.color},U.useRangeColor?{lineFill:U.color}:{}),{},{j:D,i:p,columnGroupIndex:C,pathFrom:Y.pathFrom,pathTo:Y.pathTo,strokeWidth:B,elSeries:R,x:c,y:h,series:a,barHeight:O,barWidth:H,elDataLabelsWrap:P,elGoalsMarkers:_,type:"bar",visibleSeries:C,classes:re}))}n.globals.seriesXvalues[k]=S,n.globals.seriesYvalues[k]=M,r.groupCtx.prevY.push(r.groupCtx.yArrj),r.groupCtx.prevYF.push(r.groupCtx.yArrjF),r.groupCtx.prevYVal.push(r.groupCtx.yArrjVal),r.groupCtx.prevX.push(r.groupCtx.xArrj),r.groupCtx.prevXF.push(r.groupCtx.xArrjF),r.groupCtx.prevXVal.push(r.groupCtx.xArrjVal),l.add(R)},u=0,g=0;u<a.length;u++,g++)d(u,g);return l}},{key:"initialPositions",value:function(a,i,r,n,o,l,c){var h,d,u=this.w;if(this.isHorizontal){n=u.globals.gridHeight/u.globals.dataPoints;var g=u.config.plotOptions.bar.barHeight;h=String(g).indexOf("%")===-1?parseInt(g,10):n*parseInt(g,10)/100,l=u.globals.padHorizontal+(this.isReversed?u.globals.gridWidth-this.baseLineInvertedY:this.baseLineInvertedY),i=(n-h)/2}else{d=r=u.globals.gridWidth/u.globals.dataPoints;var p=u.config.plotOptions.bar.columnWidth;u.globals.isXNumeric&&u.globals.dataPoints>1?d=(r=u.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth,10)/100:String(p).indexOf("%")===-1?d=parseInt(p,10):d*=parseInt(p,10)/100,o=this.isReversed?this.baseLineY[c]:u.globals.gridHeight-this.baseLineY[c],a=u.globals.padHorizontal+(r-d)/2}var f=u.globals.barGroups.length||1;return{x:a,y:i,yDivision:n,xDivision:r,barHeight:h/f,barWidth:d/f,zeroH:o,zeroW:l}}},{key:"drawStackedBarPaths",value:function(a){for(var i,r=a.indexes,n=a.barHeight,o=a.strokeWidth,l=a.zeroW,c=a.x,h=a.y,d=a.columnGroupIndex,u=a.seriesGroup,g=a.yDivision,p=a.elSeries,f=this.w,m=h+d*n,v=r.i,b=r.j,w=r.realIndex,k=r.translationsIndex,y=0,A=0;A<this.groupCtx.prevXF.length;A++)y+=this.groupCtx.prevXF[A][b];var C=v;if(f.config.series[w].name&&(C=u.indexOf(f.config.series[w].name)),C>0){var S=l;this.groupCtx.prevXVal[C-1][b]<0?S=this.series[v][b]>=0?this.groupCtx.prevX[C-1][b]+y-2*(this.isReversed?y:0):this.groupCtx.prevX[C-1][b]:this.groupCtx.prevXVal[C-1][b]>=0&&(S=this.series[v][b]>=0?this.groupCtx.prevX[C-1][b]:this.groupCtx.prevX[C-1][b]-y+2*(this.isReversed?y:0)),i=S}else i=l;c=this.series[v][b]===null?i:i+this.series[v][b]/this.invertedYRatio-2*(this.isReversed?this.series[v][b]/this.invertedYRatio:0);var M=this.barHelpers.getBarpaths({barYPosition:m,barHeight:n,x1:i,x2:c,strokeWidth:o,isReversed:this.isReversed,series:this.series,realIndex:r.realIndex,seriesGroup:u,i:v,j:b,w:f});return this.barHelpers.barBackground({j:b,i:v,y1:m,y2:n,elSeries:p}),h+=g,{pathTo:M.pathTo,pathFrom:M.pathFrom,goalX:this.barHelpers.getGoalValues("x",l,null,v,b,k),barXPosition:i,barYPosition:m,x:c,y:h}}},{key:"drawStackedColumnPaths",value:function(a){var i=a.indexes,r=a.x,n=a.y,o=a.xDivision,l=a.barWidth,c=a.zeroH,h=a.columnGroupIndex,d=a.seriesGroup,u=a.elSeries,g=this.w,p=i.i,f=i.j,m=i.bc,v=i.realIndex,b=i.translationsIndex;if(g.globals.isXNumeric){var w=g.globals.seriesX[v][f];w||(w=0),r=(w-g.globals.minX)/this.xRatio-l/2*g.globals.barGroups.length}for(var k,y=r+h*l,A=0,C=0;C<this.groupCtx.prevYF.length;C++)A+=isNaN(this.groupCtx.prevYF[C][f])?0:this.groupCtx.prevYF[C][f];var S=p;if(d&&(S=d.indexOf(g.globals.seriesNames[v])),S>0&&!g.globals.isXNumeric||S>0&&g.globals.isXNumeric&&g.globals.seriesX[v-1][f]===g.globals.seriesX[v][f]){var M,I,R,P=Math.min(this.yRatio.length+1,v+1);if(this.groupCtx.prevY[S-1]!==void 0&&this.groupCtx.prevY[S-1].length)for(var _=1;_<P;_++){var O;if(!isNaN((O=this.groupCtx.prevY[S-_])===null||O===void 0?void 0:O[f])){R=this.groupCtx.prevY[S-_][f];break}}for(var H=1;H<P;H++){var T,D;if(((T=this.groupCtx.prevYVal[S-H])===null||T===void 0?void 0:T[f])<0){I=this.series[p][f]>=0?R-A+2*(this.isReversed?A:0):R;break}if(((D=this.groupCtx.prevYVal[S-H])===null||D===void 0?void 0:D[f])>=0){I=this.series[p][f]>=0?R:R+A-2*(this.isReversed?A:0);break}}I===void 0&&(I=g.globals.gridHeight),k=(M=this.groupCtx.prevYF[0])!==null&&M!==void 0&&M.every((function(X){return X===0}))&&this.groupCtx.prevYF.slice(1,S).every((function(X){return X.every((function(Y){return isNaN(Y)}))}))?c:I}else k=c;n=this.series[p][f]?k-this.series[p][f]/this.yRatio[b]+2*(this.isReversed?this.series[p][f]/this.yRatio[b]:0):k;var B=this.barHelpers.getColumnPaths({barXPosition:y,barWidth:l,y1:k,y2:n,yRatio:this.yRatio[b],strokeWidth:this.strokeWidth,isReversed:this.isReversed,series:this.series,seriesGroup:d,realIndex:i.realIndex,i:p,j:f,w:g});return this.barHelpers.barBackground({bc:m,j:f,i:p,x1:y,x2:l,elSeries:u}),{pathTo:B.pathTo,pathFrom:B.pathFrom,goalY:this.barHelpers.getGoalValues("y",null,c,p,f),barXPosition:y,x:g.globals.isXNumeric?r:r+o,y:n}}}]),t})(),Hi=(function(s){wa(t,Gt);var e=ya(t);function t(){return N(this,t),e.apply(this,arguments)}return V(t,[{key:"draw",value:function(a,i,r){var n=this,o=this.w,l=new E(this.ctx),c=o.globals.comboCharts?i:o.config.chart.type,h=new tt(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick,this.boxOptions=this.w.config.plotOptions.boxPlot,this.isHorizontal=o.config.plotOptions.bar.horizontal,this.isOHLC=this.candlestickOptions&&this.candlestickOptions.type==="ohlc";var d=new Ae(this.ctx,o);a=d.getLogSeries(a),this.series=a,this.yRatio=d.getLogYRatios(this.yRatio),this.barHelpers.initVariables(a);for(var u=l.group({class:"apexcharts-".concat(c,"-series apexcharts-plot-series")}),g=function(f){n.isBoxPlot=o.config.chart.type==="boxPlot"||o.config.series[f].type==="boxPlot";var m,v,b,w,k=void 0,y=void 0,A=[],C=[],S=o.globals.comboCharts?r[f]:f,M=n.barHelpers.getGroupIndex(S).columnGroupIndex,I=l.group({class:"apexcharts-series",seriesName:L.escapeString(o.globals.seriesNames[S]),rel:f+1,"data:realIndex":S});n.ctx.series.addCollapsedClassToSeries(I,S),a[f].length>0&&(n.visibleI=n.visibleI+1);var R,P,_=0;n.yRatio.length>1&&(n.yaxisIndex=o.globals.seriesYAxisReverseMap[S][0],_=S);var O=n.barHelpers.initialPositions(S);y=O.y,R=O.barHeight,v=O.yDivision,w=O.zeroW,k=O.x,P=O.barWidth,m=O.xDivision,b=O.zeroH,C.push(k+P/2);for(var H=l.group({class:"apexcharts-datalabels","data:realIndex":S}),T=l.group({class:"apexcharts-bar-goals-markers"}),D=function(X){var Y=n.barHelpers.getStrokeWidth(f,X,S),W=null,U={indexes:{i:f,j:X,realIndex:S,translationsIndex:_},x:k,y,strokeWidth:Y,elSeries:I};W=n.isHorizontal?n.drawHorizontalBoxPaths(F(F({},U),{},{yDivision:v,barHeight:R,zeroW:w})):n.drawVerticalBoxPaths(F(F({},U),{},{xDivision:m,barWidth:P,zeroH:b})),y=W.y,k=W.x;var re=n.barHelpers.drawGoalLine({barXPosition:W.barXPosition,barYPosition:W.barYPosition,goalX:W.goalX,goalY:W.goalY,barHeight:R,barWidth:P});re&&T.add(re),X>0&&C.push(k+P/2),A.push(y),W.pathTo.forEach((function(J,xe){var Q=!n.isBoxPlot&&n.candlestickOptions.wick.useFillColor?W.color[xe]:o.globals.stroke.colors[f],ee=h.fillPath({seriesNumber:S,dataPointIndex:X,color:W.color[xe],value:a[f][X]});n.renderSeries({realIndex:S,pathFill:ee,lineFill:Q,j:X,i:f,pathFrom:W.pathFrom,pathTo:J,strokeWidth:Y,elSeries:I,x:k,y,series:a,columnGroupIndex:M,barHeight:R,barWidth:P,elDataLabelsWrap:H,elGoalsMarkers:T,visibleSeries:n.visibleI,type:o.config.chart.type})}))},B=0;B<o.globals.dataPoints;B++)D(B);o.globals.seriesXvalues[S]=C,o.globals.seriesYvalues[S]=A,u.add(I)},p=0;p<a.length;p++)g(p);return u}},{key:"drawVerticalBoxPaths",value:function(a){var i=a.indexes,r=a.x;a.y;var n=a.xDivision,o=a.barWidth,l=a.zeroH,c=a.strokeWidth,h=this.w,d=new E(this.ctx),u=i.i,g=i.j,p=h.config.plotOptions.candlestick.colors,f=this.boxOptions.colors,m=i.realIndex,v=function(B){return Array.isArray(B)?B[m]:B},b=v(p.upward),w=v(p.downward),k=this.yRatio[i.translationsIndex],y=this.getOHLCValue(m,g),A=l,C=l,S=y.o<y.c?[b]:[w];this.isBoxPlot&&(S=[v(f.lower),v(f.upper)]);var M=Math.min(y.o,y.c),I=Math.max(y.o,y.c),R=y.m;h.globals.isXNumeric&&(r=(h.globals.seriesX[m][g]-h.globals.minX)/this.xRatio-o/2);var P=r+o*this.visibleI;this.series[u][g]===void 0||this.series[u][g]===null?(M=l,I=l):(M=l-M/k,I=l-I/k,A=l-y.h/k,C=l-y.l/k,R=l-y.m/k);var _=d.move(P,l),O=d.move(P+o/2,M);if(h.globals.previousPaths.length>0&&(O=this.getPreviousPath(m,g,!0)),this.isOHLC){var H=P+o/2,T=l-y.o/k,D=l-y.c/k;_=[d.move(H,A)+d.line(H,C)+d.move(H,T)+d.line(P,T)+d.move(H,D)+d.line(P+o,D)]}else _=this.isBoxPlot?[d.move(P,M)+d.line(P+o/2,M)+d.line(P+o/2,A)+d.line(P+o/4,A)+d.line(P+o-o/4,A)+d.line(P+o/2,A)+d.line(P+o/2,M)+d.line(P+o,M)+d.line(P+o,R)+d.line(P,R)+d.line(P,M+c/2),d.move(P,R)+d.line(P+o,R)+d.line(P+o,I)+d.line(P+o/2,I)+d.line(P+o/2,C)+d.line(P+o-o/4,C)+d.line(P+o/4,C)+d.line(P+o/2,C)+d.line(P+o/2,I)+d.line(P,I)+d.line(P,R)+"z"]:[d.move(P,I)+d.line(P+o/2,I)+d.line(P+o/2,A)+d.line(P+o/2,I)+d.line(P+o,I)+d.line(P+o,M)+d.line(P+o/2,M)+d.line(P+o/2,C)+d.line(P+o/2,M)+d.line(P,M)+d.line(P,I-c/2)];return O+=d.move(P,M),h.globals.isXNumeric||(r+=n),{pathTo:_,pathFrom:O,x:r,y:I,goalY:this.barHelpers.getGoalValues("y",null,l,u,g,i.translationsIndex),barXPosition:P,color:S}}},{key:"drawHorizontalBoxPaths",value:function(a){var i=a.indexes;a.x;var r=a.y,n=a.yDivision,o=a.barHeight,l=a.zeroW,c=a.strokeWidth,h=this.w,d=new E(this.ctx),u=i.i,g=i.j,p=this.boxOptions.colors.lower;this.isBoxPlot&&(p=[this.boxOptions.colors.lower,this.boxOptions.colors.upper]);var f=this.invertedYRatio,m=i.realIndex,v=this.getOHLCValue(m,g),b=l,w=l,k=Math.min(v.o,v.c),y=Math.max(v.o,v.c),A=v.m;h.globals.isXNumeric&&(r=(h.globals.seriesX[m][g]-h.globals.minX)/this.invertedXRatio-o/2);var C=r+o*this.visibleI;this.series[u][g]===void 0||this.series[u][g]===null?(k=l,y=l):(k=l+k/f,y=l+y/f,b=l+v.h/f,w=l+v.l/f,A=l+v.m/f);var S=d.move(l,C),M=d.move(k,C+o/2);return h.globals.previousPaths.length>0&&(M=this.getPreviousPath(m,g,!0)),S=[d.move(k,C)+d.line(k,C+o/2)+d.line(b,C+o/2)+d.line(b,C+o/2-o/4)+d.line(b,C+o/2+o/4)+d.line(b,C+o/2)+d.line(k,C+o/2)+d.line(k,C+o)+d.line(A,C+o)+d.line(A,C)+d.line(k+c/2,C),d.move(A,C)+d.line(A,C+o)+d.line(y,C+o)+d.line(y,C+o/2)+d.line(w,C+o/2)+d.line(w,C+o-o/4)+d.line(w,C+o/4)+d.line(w,C+o/2)+d.line(y,C+o/2)+d.line(y,C)+d.line(A,C)+"z"],M+=d.move(k,C),h.globals.isXNumeric||(r+=n),{pathTo:S,pathFrom:M,x:y,y:r,goalX:this.barHelpers.getGoalValues("x",l,null,u,g),barYPosition:C,color:p}}},{key:"getOHLCValue",value:function(a,i){var r=this.w,n=new Ae(this.ctx,r),o=n.getLogValAtSeriesIndex(r.globals.seriesCandleH[a][i],a),l=n.getLogValAtSeriesIndex(r.globals.seriesCandleO[a][i],a),c=n.getLogValAtSeriesIndex(r.globals.seriesCandleM[a][i],a),h=n.getLogValAtSeriesIndex(r.globals.seriesCandleC[a][i],a),d=n.getLogValAtSeriesIndex(r.globals.seriesCandleL[a][i],a);return{o:this.isBoxPlot?o:l,h:this.isBoxPlot?l:o,m:c,l:this.isBoxPlot?h:d,c:this.isBoxPlot?d:h}}}]),t})(),vo=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"checkColorRange",value:function(){var e=this.w,t=!1,a=e.config.plotOptions[e.config.chart.type];return a.colorScale.ranges.length>0&&a.colorScale.ranges.map((function(i,r){i.from<=0&&(t=!0)})),t}},{key:"getShadeColor",value:function(e,t,a,i){var r=this.w,n=1,o=r.config.plotOptions[e].shadeIntensity,l=this.determineColor(e,t,a);r.globals.hasNegs||i?n=r.config.plotOptions[e].reverseNegativeShade?l.percent<0?l.percent/100*(1.25*o):(1-l.percent/100)*(1.25*o):l.percent<=0?1-(1+l.percent/100)*o:(1-l.percent/100)*o:(n=1-l.percent/100,e==="treemap"&&(n=(1-l.percent/100)*(1.25*o)));var c=l.color,h=new L;if(r.config.plotOptions[e].enableShades)if(this.w.config.theme.mode==="dark"){var d=h.shadeColor(-1*n,l.color);c=L.hexToRgba(L.isColorHex(d)?d:L.rgb2hex(d),r.config.fill.opacity)}else{var u=h.shadeColor(n,l.color);c=L.hexToRgba(L.isColorHex(u)?u:L.rgb2hex(u),r.config.fill.opacity)}return{color:c,colorProps:l}}},{key:"determineColor",value:function(e,t,a){var i=this.w,r=i.globals.series[t][a],n=i.config.plotOptions[e],o=n.colorScale.inverse?a:t;n.distributed&&i.config.chart.type==="treemap"&&(o=a);var l=i.globals.colors[o],c=null,h=Math.min.apply(Math,Re(i.globals.series[t])),d=Math.max.apply(Math,Re(i.globals.series[t]));n.distributed||e!=="heatmap"||(h=i.globals.minY,d=i.globals.maxY),n.colorScale.min!==void 0&&(h=n.colorScale.min<i.globals.minY?n.colorScale.min:i.globals.minY,d=n.colorScale.max>i.globals.maxY?n.colorScale.max:i.globals.maxY);var u=Math.abs(d)+Math.abs(h),g=100*r/(u===0?u-1e-6:u);return n.colorScale.ranges.length>0&&n.colorScale.ranges.map((function(p,f){if(r>=p.from&&r<=p.to){l=p.color,c=p.foreColor?p.foreColor:null,h=p.from,d=p.to;var m=Math.abs(d)+Math.abs(h);g=100*r/(m===0?m-1e-6:m)}})),{color:l,foreColor:c,percent:g}}},{key:"calculateDataLabels",value:function(e){var t=e.text,a=e.x,i=e.y,r=e.i,n=e.j,o=e.colorProps,l=e.fontSize,c=this.w.config.dataLabels,h=new E(this.ctx),d=new Wt(this.ctx),u=null;if(c.enabled){u=h.group({class:"apexcharts-data-labels"});var g=c.offsetX,p=c.offsetY,f=a+g,m=i+parseFloat(c.style.fontSize)/3+p;d.plotDataLabelsText({x:f,y:m,text:t,i:r,j:n,color:o.foreColor,parent:u,fontSize:l,dataLabelsConfig:c})}return u}},{key:"addListeners",value:function(e){var t=new E(this.ctx);e.node.addEventListener("mouseenter",t.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",t.pathMouseLeave.bind(this,e)),e.node.addEventListener("mousedown",t.pathMouseDown.bind(this,e))}}]),s})(),dd=(function(){function s(e,t){N(this,s),this.ctx=e,this.w=e.w,this.xRatio=t.xRatio,this.yRatio=t.yRatio,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.helpers=new vo(e),this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.show?this.w.config.stroke.width:0}return V(s,[{key:"draw",value:function(e){var t=this.w,a=new E(this.ctx),i=a.group({class:"apexcharts-heatmap"});i.attr("clip-path","url(#gridRectMask".concat(t.globals.cuid,")"));var r=t.globals.gridWidth/t.globals.dataPoints,n=t.globals.gridHeight/t.globals.series.length,o=0,l=!1;this.negRange=this.helpers.checkColorRange();var c=e.slice();t.config.yaxis[0].reversed&&(l=!0,c.reverse());for(var h=l?0:c.length-1;l?h<c.length:h>=0;l?h++:h--){var d=a.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:L.escapeString(t.globals.seriesNames[h]),rel:h+1,"data:realIndex":h});if(this.ctx.series.addCollapsedClassToSeries(d,h),t.config.chart.dropShadow.enabled){var u=t.config.chart.dropShadow;new Oe(this.ctx).dropShadow(d,u,h)}for(var g=0,p=t.config.plotOptions.heatmap.shadeIntensity,f=0,m=0;m<t.globals.dataPoints;m++)if(t.globals.seriesX.length&&!t.globals.allSeriesHasEqualX&&t.globals.minX+t.globals.minXDiff*m<t.globals.seriesX[h][f])g+=r;else{if(f>=c[h].length)break;var v=this.helpers.getShadeColor(t.config.chart.type,h,f,this.negRange),b=v.color,w=v.colorProps;t.config.fill.type==="image"&&(b=new tt(this.ctx).fillPath({seriesNumber:h,dataPointIndex:f,opacity:t.globals.hasNegs?w.percent<0?1-(1+w.percent/100):p+w.percent/100:w.percent/100,patternID:L.randomId(),width:t.config.fill.image.width?t.config.fill.image.width:r,height:t.config.fill.image.height?t.config.fill.image.height:n}));var k=this.rectRadius,y=a.drawRect(g,o,r,n,k);if(y.attr({cx:g,cy:o}),y.node.classList.add("apexcharts-heatmap-rect"),d.add(y),y.attr({fill:b,i:h,index:h,j:f,val:e[h][f],"stroke-width":this.strokeWidth,stroke:t.config.plotOptions.heatmap.useFillColorAsStroke?b:t.globals.stroke.colors[0],color:b}),this.helpers.addListeners(y),t.config.chart.animations.enabled&&!t.globals.dataChanged){var A=1;t.globals.resized||(A=t.config.chart.animations.speed),this.animateHeatMap(y,g,o,r,n,A)}if(t.globals.dataChanged){var C=1;if(this.dynamicAnim.enabled&&t.globals.shouldAnimate){C=this.dynamicAnim.speed;var S=t.globals.previousPaths[h]&&t.globals.previousPaths[h][f]&&t.globals.previousPaths[h][f].color;S||(S="rgba(255, 255, 255, 0)"),this.animateHeatColor(y,L.isColorHex(S)?S:L.rgb2hex(S),L.isColorHex(b)?b:L.rgb2hex(b),C)}}var M=(0,t.config.dataLabels.formatter)(t.globals.series[h][f],{value:t.globals.series[h][f],seriesIndex:h,dataPointIndex:f,w:t}),I=this.helpers.calculateDataLabels({text:M,x:g+r/2,y:o+n/2,i:h,j:f,colorProps:w,series:c});I!==null&&d.add(I),g+=r,f++}o+=n,i.add(d)}var R=t.globals.yAxisScale[0].result.slice();return t.config.yaxis[0].reversed?R.unshift(""):R.push(""),t.globals.yAxisScale[0].result=R,i}},{key:"animateHeatMap",value:function(e,t,a,i,r,n){var o=new Ut(this.ctx);o.animateRect(e,{x:t+i/2,y:a+r/2,width:0,height:0},{x:t,y:a,width:i,height:r},n,(function(){o.animationCompleted(e)}))}},{key:"animateHeatColor",value:function(e,t,a,i){e.attr({fill:t}).animate(i).attr({fill:a})}}]),s})(),bo=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"drawYAxisTexts",value:function(e,t,a,i){var r=this.w,n=r.config.yaxis[0],o=r.globals.yLabelFormatters[0];return new E(this.ctx).drawText({x:e+n.labels.offsetX,y:t+n.labels.offsetY,text:o(i,a),textAnchor:"middle",fontSize:n.labels.style.fontSize,fontFamily:n.labels.style.fontFamily,foreColor:Array.isArray(n.labels.style.colors)?n.labels.style.colors[a]:n.labels.style.colors})}}]),s})(),yo=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w;var t=this.w;this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels,this.lineColorArr=t.globals.stroke.colors!==void 0?t.globals.stroke.colors:t.globals.colors,this.defaultSize=Math.min(t.globals.gridWidth,t.globals.gridHeight),this.centerY=this.defaultSize/2,this.centerX=t.globals.gridWidth/2,t.config.chart.type==="radialBar"?this.fullAngle=360:this.fullAngle=Math.abs(t.config.plotOptions.pie.endAngle-t.config.plotOptions.pie.startAngle),this.initialAngle=t.config.plotOptions.pie.startAngle%this.fullAngle,t.globals.radialSize=this.defaultSize/2.05-t.config.stroke.width-(t.config.chart.sparkline.enabled?0:t.config.chart.dropShadow.blur),this.donutSize=t.globals.radialSize*parseInt(t.config.plotOptions.pie.donut.size,10)/100;var a=t.config.plotOptions.pie.customScale,i=t.globals.gridWidth/2,r=t.globals.gridHeight/2;this.translateX=i-i*a,this.translateY=r-r*a,this.dataLabelsGroup=new E(this.ctx).group({class:"apexcharts-datalabels-group",transform:"translate(".concat(this.translateX,", ").concat(this.translateY,") scale(").concat(a,")")}),this.maxY=0,this.sliceLabels=[],this.sliceSizes=[],this.prevSectorAngleArr=[]}return V(s,[{key:"draw",value:function(e){var t=this,a=this.w,i=new E(this.ctx),r=i.group({class:"apexcharts-pie"});if(a.globals.noData)return r;for(var n=0,o=0;o<e.length;o++)n+=L.negToZero(e[o]);var l=[],c=i.group();n===0&&(n=1e-5),e.forEach((function(w){t.maxY=Math.max(t.maxY,w)})),a.config.yaxis[0].max&&(this.maxY=a.config.yaxis[0].max),a.config.grid.position==="back"&&this.chartType==="polarArea"&&this.drawPolarElements(r);for(var h=0;h<e.length;h++){var d=this.fullAngle*L.negToZero(e[h])/n;l.push(d),this.chartType==="polarArea"?(l[h]=this.fullAngle/e.length,this.sliceSizes.push(a.globals.radialSize*e[h]/this.maxY)):this.sliceSizes.push(a.globals.radialSize)}if(a.globals.dataChanged){for(var u,g=0,p=0;p<a.globals.previousPaths.length;p++)g+=L.negToZero(a.globals.previousPaths[p]);for(var f=0;f<a.globals.previousPaths.length;f++)u=this.fullAngle*L.negToZero(a.globals.previousPaths[f])/g,this.prevSectorAngleArr.push(u)}if(this.donutSize<0&&(this.donutSize=0),this.chartType==="donut"){var m=i.drawCircle(this.donutSize);m.attr({cx:this.centerX,cy:this.centerY,fill:a.config.plotOptions.pie.donut.background?a.config.plotOptions.pie.donut.background:"transparent"}),c.add(m)}var v=this.drawArcs(l,e);if(this.sliceLabels.forEach((function(w){v.add(w)})),c.attr({transform:"translate(".concat(this.translateX,", ").concat(this.translateY,") scale(").concat(a.config.plotOptions.pie.customScale,")")}),c.add(v),r.add(c),this.donutDataLabels.show){var b=this.renderInnerDataLabels(this.dataLabelsGroup,this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show});r.add(b)}return a.config.grid.position==="front"&&this.chartType==="polarArea"&&this.drawPolarElements(r),r}},{key:"drawArcs",value:function(e,t){var a=this.w,i=new Oe(this.ctx),r=new E(this.ctx),n=new tt(this.ctx),o=r.group({class:"apexcharts-slices"}),l=this.initialAngle,c=this.initialAngle,h=this.initialAngle,d=this.initialAngle;this.strokeWidth=a.config.stroke.show?a.config.stroke.width:0;for(var u=0;u<e.length;u++){var g=r.group({class:"apexcharts-series apexcharts-pie-series",seriesName:L.escapeString(a.globals.seriesNames[u]),rel:u+1,"data:realIndex":u});o.add(g),c=d,h=(l=h)+e[u],d=c+this.prevSectorAngleArr[u];var p=h<l?this.fullAngle+h-l:h-l,f=n.fillPath({seriesNumber:u,size:this.sliceSizes[u],value:t[u]}),m=this.getChangedPath(c,d),v=r.drawPath({d:m,stroke:Array.isArray(this.lineColorArr)?this.lineColorArr[u]:this.lineColorArr,strokeWidth:0,fill:f,fillOpacity:a.config.fill.opacity,classes:"apexcharts-pie-area apexcharts-".concat(this.chartType.toLowerCase(),"-slice-").concat(u)});if(v.attr({index:0,j:u}),i.setSelectionFilter(v,0,u),a.config.chart.dropShadow.enabled){var b=a.config.chart.dropShadow;i.dropShadow(v,b,u)}this.addListeners(v,this.donutDataLabels),E.setAttrs(v.node,{"data:angle":p,"data:startAngle":l,"data:strokeWidth":this.strokeWidth,"data:value":t[u]});var w={x:0,y:0};this.chartType==="pie"||this.chartType==="polarArea"?w=L.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize/1.25+a.config.plotOptions.pie.dataLabels.offset,(l+p/2)%this.fullAngle):this.chartType==="donut"&&(w=L.polarToCartesian(this.centerX,this.centerY,(a.globals.radialSize+this.donutSize)/2+a.config.plotOptions.pie.dataLabels.offset,(l+p/2)%this.fullAngle)),g.add(v);var k=0;if(!this.initialAnim||a.globals.resized||a.globals.dataChanged?this.animBeginArr.push(0):((k=p/this.fullAngle*a.config.chart.animations.speed)===0&&(k=1),this.animDur=k+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&a.globals.dataChanged?this.animatePaths(v,{size:this.sliceSizes[u],endAngle:h,startAngle:l,prevStartAngle:c,prevEndAngle:d,animateStartingPos:!0,i:u,animBeginArr:this.animBeginArr,shouldSetPrevPaths:!0,dur:a.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(v,{size:this.sliceSizes[u],endAngle:h,startAngle:l,i:u,totalItems:e.length-1,animBeginArr:this.animBeginArr,dur:k}),a.config.plotOptions.pie.expandOnClick&&this.chartType!=="polarArea"&&v.node.addEventListener("mouseup",this.pieClicked.bind(this,u)),a.globals.selectedDataPoints[0]!==void 0&&a.globals.selectedDataPoints[0].indexOf(u)>-1&&this.pieClicked(u),a.config.dataLabels.enabled){var y=w.x,A=w.y,C=100*p/this.fullAngle+"%";if(p!==0&&a.config.plotOptions.pie.dataLabels.minAngleToShowLabel<e[u]){var S=a.config.dataLabels.formatter;S!==void 0&&(C=S(a.globals.seriesPercent[u][0],{seriesIndex:u,w:a}));var M=a.globals.dataLabels.style.colors[u],I=r.group({class:"apexcharts-datalabels"}),R=r.drawText({x:y,y:A,text:C,textAnchor:"middle",fontSize:a.config.dataLabels.style.fontSize,fontFamily:a.config.dataLabels.style.fontFamily,fontWeight:a.config.dataLabels.style.fontWeight,foreColor:M});if(I.add(R),a.config.dataLabels.dropShadow.enabled){var P=a.config.dataLabels.dropShadow;i.dropShadow(R,P)}R.node.classList.add("apexcharts-pie-label"),a.config.chart.animations.animate&&a.globals.resized===!1&&(R.node.classList.add("apexcharts-pie-label-delay"),R.node.style.animationDelay=a.config.chart.animations.speed/940+"s"),this.sliceLabels.push(I)}}}return o}},{key:"addListeners",value:function(e,t){var a=new E(this.ctx);e.node.addEventListener("mouseenter",a.pathMouseEnter.bind(this,e)),e.node.addEventListener("mouseleave",a.pathMouseLeave.bind(this,e)),e.node.addEventListener("mouseleave",this.revertDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",a.pathMouseDown.bind(this,e)),this.donutDataLabels.total.showAlways||(e.node.addEventListener("mouseenter",this.printDataLabelsInner.bind(this,e.node,t)),e.node.addEventListener("mousedown",this.printDataLabelsInner.bind(this,e.node,t)))}},{key:"animatePaths",value:function(e,t){var a=this.w,i=t.endAngle<t.startAngle?this.fullAngle+t.endAngle-t.startAngle:t.endAngle-t.startAngle,r=i,n=t.startAngle,o=t.startAngle;t.prevStartAngle!==void 0&&t.prevEndAngle!==void 0&&(n=t.prevEndAngle,r=t.prevEndAngle<t.prevStartAngle?this.fullAngle+t.prevEndAngle-t.prevStartAngle:t.prevEndAngle-t.prevStartAngle),t.i===a.config.series.length-1&&(i+o>this.fullAngle?t.endAngle=t.endAngle-(i+o):i+o<this.fullAngle&&(t.endAngle=t.endAngle+(this.fullAngle-(i+o)))),i===this.fullAngle&&(i=this.fullAngle-.01),this.animateArc(e,n,o,i,r,t)}},{key:"animateArc",value:function(e,t,a,i,r,n){var o,l=this,c=this.w,h=new Ut(this.ctx),d=n.size;(isNaN(t)||isNaN(r))&&(t=a,r=i,n.dur=0);var u=i,g=a,p=t<a?this.fullAngle+t-a:t-a;c.globals.dataChanged&&n.shouldSetPrevPaths&&n.prevEndAngle&&(o=l.getPiePath({me:l,startAngle:n.prevStartAngle,angle:n.prevEndAngle<n.prevStartAngle?this.fullAngle+n.prevEndAngle-n.prevStartAngle:n.prevEndAngle-n.prevStartAngle,size:d}),e.attr({d:o})),n.dur!==0?e.animate(n.dur,n.animBeginArr[n.i]).after((function(){l.chartType!=="pie"&&l.chartType!=="donut"&&l.chartType!=="polarArea"||this.animate(c.config.chart.animations.dynamicAnimation.speed).attr({"stroke-width":l.strokeWidth}),n.i===c.config.series.length-1&&h.animationCompleted(e)})).during((function(f){u=p+(i-p)*f,n.animateStartingPos&&(u=r+(i-r)*f,g=t-r+(a-(t-r))*f),o=l.getPiePath({me:l,startAngle:g,angle:u,size:d}),e.node.setAttribute("data:pathOrig",o),e.attr({d:o})})):(o=l.getPiePath({me:l,startAngle:g,angle:i,size:d}),n.isTrack||(c.globals.animationEnded=!0),e.node.setAttribute("data:pathOrig",o),e.attr({d:o,"stroke-width":l.strokeWidth}))}},{key:"pieClicked",value:function(e){var t,a=this.w,i=this,r=i.sliceSizes[e]+(a.config.plotOptions.pie.expandOnClick?4:0),n=a.globals.dom.Paper.findOne(".apexcharts-".concat(i.chartType.toLowerCase(),"-slice-").concat(e));if(n.attr("data:pieClicked")!=="true"){var o=a.globals.dom.baseEl.getElementsByClassName("apexcharts-pie-area");Array.prototype.forEach.call(o,(function(d){d.setAttribute("data:pieClicked","false");var u=d.getAttribute("data:pathOrig");u&&d.setAttribute("d",u)})),a.globals.capturedDataPointIndex=e,n.attr("data:pieClicked","true");var l=parseInt(n.attr("data:startAngle"),10),c=parseInt(n.attr("data:angle"),10);t=i.getPiePath({me:i,startAngle:l,angle:c,size:r}),c!==360&&n.plot(t)}else{n.attr({"data:pieClicked":"false"}),this.revertDataLabelsInner(n.node,this.donutDataLabels);var h=n.attr("data:pathOrig");n.attr({d:h})}}},{key:"getChangedPath",value:function(e,t){var a="";return this.dynamicAnim&&this.w.globals.dataChanged&&(a=this.getPiePath({me:this,startAngle:e,angle:t-e,size:this.size})),a}},{key:"getPiePath",value:function(e){var t,a=e.me,i=e.startAngle,r=e.angle,n=e.size,o=new E(this.ctx),l=i,c=Math.PI*(l-90)/180,h=r+i;Math.ceil(h)>=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle&&(h=this.fullAngle+this.w.config.plotOptions.pie.startAngle%this.fullAngle-.01),Math.ceil(h)>this.fullAngle&&(h-=this.fullAngle);var d=Math.PI*(h-90)/180,u=a.centerX+n*Math.cos(c),g=a.centerY+n*Math.sin(c),p=a.centerX+n*Math.cos(d),f=a.centerY+n*Math.sin(d),m=L.polarToCartesian(a.centerX,a.centerY,a.donutSize,h),v=L.polarToCartesian(a.centerX,a.centerY,a.donutSize,l),b=r>180?1:0,w=["M",u,g,"A",n,n,0,b,1,p,f];return t=a.chartType==="donut"?[].concat(w,["L",m.x,m.y,"A",a.donutSize,a.donutSize,0,b,0,v.x,v.y,"L",u,g,"z"]).join(" "):a.chartType==="pie"||a.chartType==="polarArea"?[].concat(w,["L",a.centerX,a.centerY,"L",u,g]).join(" "):[].concat(w).join(" "),o.roundPathCorners(t,2*this.strokeWidth)}},{key:"drawPolarElements",value:function(e){var t=this.w,a=new go(this.ctx),i=new E(this.ctx),r=new bo(this.ctx),n=i.group(),o=i.group(),l=a.niceScale(0,Math.ceil(this.maxY),0),c=l.result.reverse(),h=l.result.length;this.maxY=l.niceMax;for(var d=t.globals.radialSize,u=d/(h-1),g=0;g<h-1;g++){var p=i.drawCircle(d);if(p.attr({cx:this.centerX,cy:this.centerY,fill:"none","stroke-width":t.config.plotOptions.polarArea.rings.strokeWidth,stroke:t.config.plotOptions.polarArea.rings.strokeColor}),t.config.yaxis[0].show){var f=r.drawYAxisTexts(this.centerX,this.centerY-d+parseInt(t.config.yaxis[0].labels.style.fontSize,10)/2,g,c[g]);o.add(f)}n.add(p),d-=u}this.drawSpokes(e),e.add(n),e.add(o)}},{key:"renderInnerDataLabels",value:function(e,t,a){var i=this.w,r=new E(this.ctx),n=t.total.show;e.node.innerHTML="",e.node.style.opacity=a.opacity;var o,l,c=a.centerX,h=this.donutDataLabels.total.label?a.centerY:a.centerY-a.centerY/6;o=t.name.color===void 0?i.globals.colors[0]:t.name.color;var d=t.name.fontSize,u=t.name.fontFamily,g=t.name.fontWeight;l=t.value.color===void 0?i.config.chart.foreColor:t.value.color;var p=t.value.formatter,f="",m="";if(n?(o=t.total.color,d=t.total.fontSize,u=t.total.fontFamily,g=t.total.fontWeight,m=this.donutDataLabels.total.label?t.total.label:"",f=t.total.formatter(i)):i.globals.series.length===1&&(f=p(i.globals.series[0],i),m=i.globals.seriesNames[0]),m&&(m=t.name.formatter(m,t.total.show,i)),t.name.show){var v=r.drawText({x:c,y:h+parseFloat(t.name.offsetY),text:m,textAnchor:"middle",foreColor:o,fontSize:d,fontWeight:g,fontFamily:u});v.node.classList.add("apexcharts-datalabel-label"),e.add(v)}if(t.value.show){var b=t.name.show?parseFloat(t.value.offsetY)+16:t.value.offsetY,w=r.drawText({x:c,y:h+b,text:f,textAnchor:"middle",foreColor:l,fontWeight:t.value.fontWeight,fontSize:t.value.fontSize,fontFamily:t.value.fontFamily});w.node.classList.add("apexcharts-datalabel-value"),e.add(w)}return e}},{key:"printInnerLabels",value:function(e,t,a,i){var r,n=this.w;i?r=e.name.color===void 0?n.globals.colors[parseInt(i.parentNode.getAttribute("rel"),10)-1]:e.name.color:n.globals.series.length>1&&e.total.show&&(r=e.total.color);var o=n.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),l=n.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");a=(0,e.value.formatter)(a,n),i||typeof e.total.formatter!="function"||(a=e.total.formatter(n));var c=t===e.total.label;t=this.donutDataLabels.total.label?e.name.formatter(t,c,n):"",o!==null&&(o.textContent=t),l!==null&&(l.textContent=a),o!==null&&(o.style.fill=r)}},{key:"printDataLabelsInner",value:function(e,t){var a=this.w,i=e.getAttribute("data:value"),r=a.globals.seriesNames[parseInt(e.parentNode.getAttribute("rel"),10)-1];a.globals.series.length>1&&this.printInnerLabels(t,r,i,e);var n=a.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");n!==null&&(n.style.opacity=1)}},{key:"drawSpokes",value:function(e){var t=this,a=this.w,i=new E(this.ctx),r=a.config.plotOptions.polarArea.spokes;if(r.strokeWidth!==0){for(var n=[],o=360/a.globals.series.length,l=0;l<a.globals.series.length;l++)n.push(L.polarToCartesian(this.centerX,this.centerY,a.globals.radialSize,a.config.plotOptions.pie.startAngle+o*l));n.forEach((function(c,h){var d=i.drawLine(c.x,c.y,t.centerX,t.centerY,Array.isArray(r.connectorColors)?r.connectorColors[h]:r.connectorColors);e.add(d)}))}}},{key:"revertDataLabelsInner",value:function(){var e=this.w;if(this.donutDataLabels.show){var t=e.globals.dom.Paper.findOne(".apexcharts-datalabels-group"),a=this.renderInnerDataLabels(t,this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show});e.globals.dom.Paper.findOne(".apexcharts-radialbar, .apexcharts-pie").add(a)}}}]),s})(),ud=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var t=this.w;this.graphics=new E(this.ctx),this.lineColorArr=t.globals.stroke.colors!==void 0?t.globals.stroke.colors:t.globals.colors,this.defaultSize=t.globals.svgHeight<t.globals.svgWidth?t.globals.gridHeight:t.globals.gridWidth,this.isLog=t.config.yaxis[0].logarithmic,this.logBase=t.config.yaxis[0].logBase,this.coreUtils=new Ae(this.ctx),this.maxValue=this.isLog?this.coreUtils.getLogVal(this.logBase,t.globals.maxY,0):t.globals.maxY,this.minValue=this.isLog?this.coreUtils.getLogVal(this.logBase,this.w.globals.minY,0):t.globals.minY,this.polygons=t.config.plotOptions.radar.polygons,this.strokeWidth=t.config.stroke.show?t.config.stroke.width:0,this.size=this.defaultSize/2.1-this.strokeWidth-t.config.chart.dropShadow.blur,t.config.xaxis.labels.show&&(this.size=this.size-t.globals.xAxisLabelsWidth/1.75),t.config.plotOptions.radar.size!==void 0&&(this.size=t.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return V(s,[{key:"draw",value:function(e){var t=this,a=this.w,i=new tt(this.ctx),r=[],n=new Wt(this.ctx);e.length&&(this.dataPointsLen=e[a.globals.maxValsInArrayIndex].length),this.disAngle=2*Math.PI/this.dataPointsLen;var o=a.globals.gridWidth/2,l=a.globals.gridHeight/2,c=o+a.config.plotOptions.radar.offsetX,h=l+a.config.plotOptions.radar.offsetY,d=this.graphics.group({class:"apexcharts-radar-series apexcharts-plot-series",transform:"translate(".concat(c||0,", ").concat(h||0,")")}),u=[],g=null,p=null;if(this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),e.forEach((function(m,v){var b=m.length===a.globals.dataPoints,w=t.graphics.group().attr({class:"apexcharts-series","data:longestSeries":b,seriesName:L.escapeString(a.globals.seriesNames[v]),rel:v+1,"data:realIndex":v});t.dataRadiusOfPercent[v]=[],t.dataRadius[v]=[],t.angleArr[v]=[],m.forEach((function(_,O){var H=Math.abs(t.maxValue-t.minValue);_-=t.minValue,t.isLog&&(_=t.coreUtils.getLogVal(t.logBase,_,0)),t.dataRadiusOfPercent[v][O]=_/H,t.dataRadius[v][O]=t.dataRadiusOfPercent[v][O]*t.size,t.angleArr[v][O]=O*t.disAngle})),u=t.getDataPointsPos(t.dataRadius[v],t.angleArr[v]);var k=t.createPaths(u,{x:0,y:0});g=t.graphics.group({class:"apexcharts-series-markers-wrap apexcharts-element-hidden"}),p=t.graphics.group({class:"apexcharts-datalabels","data:realIndex":v}),a.globals.delayedElements.push({el:g.node,index:v});var y={i:v,realIndex:v,animationDelay:v,initialSpeed:a.config.chart.animations.speed,dataChangeSpeed:a.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:a.globals.stroke.colors[v],strokeLineCap:a.config.stroke.lineCap},A=null;a.globals.previousPaths.length>0&&(A=t.getPreviousPath(v));for(var C=0;C<k.linePathsTo.length;C++){var S=t.graphics.renderPaths(F(F({},y),{},{pathFrom:A===null?k.linePathsFrom[C]:A,pathTo:k.linePathsTo[C],strokeWidth:Array.isArray(t.strokeWidth)?t.strokeWidth[v]:t.strokeWidth,fill:"none",drawShadow:!1}));w.add(S);var M=i.fillPath({seriesNumber:v}),I=t.graphics.renderPaths(F(F({},y),{},{pathFrom:A===null?k.areaPathsFrom[C]:A,pathTo:k.areaPathsTo[C],strokeWidth:0,fill:M,drawShadow:!1}));if(a.config.chart.dropShadow.enabled){var R=new Oe(t.ctx),P=a.config.chart.dropShadow;R.dropShadow(I,Object.assign({},P,{noUserSpaceOnUse:!0}),v)}w.add(I)}m.forEach((function(_,O){var H=new Jt(t.ctx).getMarkerConfig({cssClass:"apexcharts-marker",seriesIndex:v,dataPointIndex:O}),T=t.graphics.drawMarker(u[O].x,u[O].y,H);T.attr("rel",O),T.attr("j",O),T.attr("index",v),T.node.setAttribute("default-marker-size",H.pSize);var D=t.graphics.group({class:"apexcharts-series-markers"});D&&D.add(T),g.add(D),w.add(g);var B=a.config.dataLabels;if(B.enabled){var X=B.formatter(a.globals.series[v][O],{seriesIndex:v,dataPointIndex:O,w:a});n.plotDataLabelsText({x:u[O].x,y:u[O].y,text:X,textAnchor:"middle",i:v,j:v,parent:p,offsetCorrection:!1,dataLabelsConfig:F({},B)})}w.add(p)})),r.push(w)})),this.drawPolygons({parent:d}),a.config.xaxis.labels.show){var f=this.drawXAxisTexts();d.add(f)}return r.forEach((function(m){d.add(m)})),d.add(this.yaxisLabels),d}},{key:"drawPolygons",value:function(e){for(var t=this,a=this.w,i=e.parent,r=new bo(this.ctx),n=a.globals.yAxisScale[0].result.reverse(),o=n.length,l=[],c=this.size/(o-1),h=0;h<o;h++)l[h]=c*h;l.reverse();var d=[],u=[];l.forEach((function(g,p){var f=L.getPolygonPos(g,t.dataPointsLen),m="";f.forEach((function(v,b){if(p===0){var w=t.graphics.drawLine(v.x,v.y,0,0,Array.isArray(t.polygons.connectorColors)?t.polygons.connectorColors[b]:t.polygons.connectorColors);u.push(w)}b===0&&t.yaxisLabelsTextsPos.push({x:v.x,y:v.y}),m+=v.x+","+v.y+" "})),d.push(m)})),d.forEach((function(g,p){var f=t.polygons.strokeColors,m=t.polygons.strokeWidth,v=t.graphics.drawPolygon(g,Array.isArray(f)?f[p]:f,Array.isArray(m)?m[p]:m,a.globals.radarPolygons.fill.colors[p]);i.add(v)})),u.forEach((function(g){i.add(g)})),a.config.yaxis[0].show&&this.yaxisLabelsTextsPos.forEach((function(g,p){var f=r.drawYAxisTexts(g.x,g.y,p,n[p]);t.yaxisLabels.add(f)}))}},{key:"drawXAxisTexts",value:function(){var e=this,t=this.w,a=t.config.xaxis.labels,i=this.graphics.group({class:"apexcharts-xaxis"}),r=L.getPolygonPos(this.size,this.dataPointsLen);return t.globals.labels.forEach((function(n,o){var l=t.config.xaxis.labels.formatter,c=new Wt(e.ctx);if(r[o]){var h=e.getTextPos(r[o],e.size),d=l(n,{seriesIndex:-1,dataPointIndex:o,w:t});c.plotDataLabelsText({x:h.newX,y:h.newY,text:d,textAnchor:h.textAnchor,i:o,j:o,parent:i,className:"apexcharts-xaxis-label",color:Array.isArray(a.style.colors)&&a.style.colors[o]?a.style.colors[o]:"#a8a8a8",dataLabelsConfig:F({textAnchor:h.textAnchor,dropShadow:{enabled:!1}},a),offsetCorrection:!1}).on("click",(function(u){if(typeof t.config.chart.events.xAxisLabelClick=="function"){var g=Object.assign({},t,{labelIndex:o});t.config.chart.events.xAxisLabelClick(u,e.ctx,g)}}))}})),i}},{key:"createPaths",value:function(e,t){var a=this,i=[],r=[],n=[],o=[];if(e.length){r=[this.graphics.move(t.x,t.y)],o=[this.graphics.move(t.x,t.y)];var l=this.graphics.move(e[0].x,e[0].y),c=this.graphics.move(e[0].x,e[0].y);e.forEach((function(h,d){l+=a.graphics.line(h.x,h.y),c+=a.graphics.line(h.x,h.y),d===e.length-1&&(l+="Z",c+="Z")})),i.push(l),n.push(c)}return{linePathsFrom:r,linePathsTo:i,areaPathsFrom:o,areaPathsTo:n}}},{key:"getTextPos",value:function(e,t){var a="middle",i=e.x,r=e.y;return Math.abs(e.x)>=10?e.x>0?(a="start",i+=10):e.x<0&&(a="end",i-=10):a="middle",Math.abs(e.y)>=t-10&&(e.y<0?r-=10:e.y>0&&(r+=10)),{textAnchor:a,newX:i,newY:r}}},{key:"getPreviousPath",value:function(e){for(var t=this.w,a=null,i=0;i<t.globals.previousPaths.length;i++){var r=t.globals.previousPaths[i];r.paths.length>0&&parseInt(r.realIndex,10)===parseInt(e,10)&&t.globals.previousPaths[i].paths[0]!==void 0&&(a=t.globals.previousPaths[i].paths[0].d)}return a}},{key:"getDataPointsPos",value:function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.dataPointsLen;e=e||[],t=t||[];for(var i=[],r=0;r<a;r++){var n={};n.x=e[r]*Math.sin(t[r]),n.y=-e[r]*Math.cos(t[r]),i.push(n)}return i}}]),s})(),gd=(function(s){wa(t,yo);var e=ya(t);function t(a){var i;N(this,t),(i=e.call(this,a)).ctx=a,i.w=a.w,i.animBeginArr=[0],i.animDur=0;var r=i.w;return i.startAngle=r.config.plotOptions.radialBar.startAngle,i.endAngle=r.config.plotOptions.radialBar.endAngle,i.totalAngle=Math.abs(r.config.plotOptions.radialBar.endAngle-r.config.plotOptions.radialBar.startAngle),i.trackStartAngle=r.config.plotOptions.radialBar.track.startAngle,i.trackEndAngle=r.config.plotOptions.radialBar.track.endAngle,i.barLabels=i.w.config.plotOptions.radialBar.barLabels,i.donutDataLabels=i.w.config.plotOptions.radialBar.dataLabels,i.radialDataLabels=i.donutDataLabels,i.trackStartAngle||(i.trackStartAngle=i.startAngle),i.trackEndAngle||(i.trackEndAngle=i.endAngle),i.endAngle===360&&(i.endAngle=359.99),i.margin=parseInt(r.config.plotOptions.radialBar.track.margin,10),i.onBarLabelClick=i.onBarLabelClick.bind(Pn(i)),i}return V(t,[{key:"draw",value:function(a){var i=this.w,r=new E(this.ctx),n=r.group({class:"apexcharts-radialbar"});if(i.globals.noData)return n;var o=r.group(),l=this.defaultSize/2,c=i.globals.gridWidth/2,h=this.defaultSize/2.05;i.config.chart.sparkline.enabled||(h=h-i.config.stroke.width-i.config.chart.dropShadow.blur);var d=i.globals.fill.colors;if(i.config.plotOptions.radialBar.track.show){var u=this.drawTracks({size:h,centerX:c,centerY:l,colorArr:d,series:a});o.add(u)}var g=this.drawArcs({size:h,centerX:c,centerY:l,colorArr:d,series:a}),p=360;i.config.plotOptions.radialBar.startAngle<0&&(p=this.totalAngle);var f=(360-p)/360;if(i.globals.radialSize=h-h*f,this.radialDataLabels.value.show){var m=Math.max(this.radialDataLabels.value.offsetY,this.radialDataLabels.name.offsetY);i.globals.radialSize+=m*f}return o.add(g.g),i.config.plotOptions.radialBar.hollow.position==="front"&&(g.g.add(g.elHollow),g.dataLabels&&g.g.add(g.dataLabels)),n.add(o),n}},{key:"drawTracks",value:function(a){var i=this.w,r=new E(this.ctx),n=r.group({class:"apexcharts-tracks"}),o=new Oe(this.ctx),l=new tt(this.ctx),c=this.getStrokeWidth(a);a.size=a.size-c/2;for(var h=0;h<a.series.length;h++){var d=r.group({class:"apexcharts-radialbar-track apexcharts-track"});n.add(d),d.attr({rel:h+1}),a.size=a.size-c-this.margin;var u=i.config.plotOptions.radialBar.track,g=l.fillPath({seriesNumber:0,size:a.size,fillColors:Array.isArray(u.background)?u.background[h]:u.background,solid:!0}),p=this.trackStartAngle,f=this.trackEndAngle;Math.abs(f)+Math.abs(p)>=360&&(f=360-Math.abs(this.startAngle)-.1);var m=r.drawPath({d:"",stroke:g,strokeWidth:c*parseInt(u.strokeWidth,10)/100,fill:"none",strokeOpacity:u.opacity,classes:"apexcharts-radialbar-area"});if(u.dropShadow.enabled){var v=u.dropShadow;o.dropShadow(m,v)}d.add(m),m.attr("id","apexcharts-radialbarTrack-"+h),this.animatePaths(m,{centerX:a.centerX,centerY:a.centerY,endAngle:f,startAngle:p,size:a.size,i:h,totalItems:2,animBeginArr:0,dur:0,isTrack:!0})}return n}},{key:"drawArcs",value:function(a){var i=this.w,r=new E(this.ctx),n=new tt(this.ctx),o=new Oe(this.ctx),l=r.group(),c=this.getStrokeWidth(a);a.size=a.size-c/2;var h=i.config.plotOptions.radialBar.hollow.background,d=a.size-c*a.series.length-this.margin*a.series.length-c*parseInt(i.config.plotOptions.radialBar.track.strokeWidth,10)/100/2,u=d-i.config.plotOptions.radialBar.hollow.margin;i.config.plotOptions.radialBar.hollow.image!==void 0&&(h=this.drawHollowImage(a,l,d,h));var g=this.drawHollow({size:u,centerX:a.centerX,centerY:a.centerY,fill:h||"transparent"});if(i.config.plotOptions.radialBar.hollow.dropShadow.enabled){var p=i.config.plotOptions.radialBar.hollow.dropShadow;o.dropShadow(g,p)}var f=1;!this.radialDataLabels.total.show&&i.globals.series.length>1&&(f=0);var m=null;if(this.radialDataLabels.show){var v=i.globals.dom.Paper.findOne(".apexcharts-datalabels-group");m=this.renderInnerDataLabels(v,this.radialDataLabels,{hollowSize:d,centerX:a.centerX,centerY:a.centerY,opacity:f})}i.config.plotOptions.radialBar.hollow.position==="back"&&(l.add(g),m&&l.add(m));var b=!1;i.config.plotOptions.radialBar.inverseOrder&&(b=!0);for(var w=b?a.series.length-1:0;b?w>=0:w<a.series.length;b?w--:w++){var k=r.group({class:"apexcharts-series apexcharts-radial-series",seriesName:L.escapeString(i.globals.seriesNames[w])});l.add(k),k.attr({rel:w+1,"data:realIndex":w}),this.ctx.series.addCollapsedClassToSeries(k,w),a.size=a.size-c-this.margin;var y=n.fillPath({seriesNumber:w,size:a.size,value:a.series[w]}),A=this.startAngle,C=void 0,S=L.negToZero(a.series[w]>100?100:a.series[w])/100,M=Math.round(this.totalAngle*S)+this.startAngle,I=void 0;i.globals.dataChanged&&(C=this.startAngle,I=Math.round(this.totalAngle*L.negToZero(i.globals.previousPaths[w])/100)+C),Math.abs(M)+Math.abs(A)>360&&(M-=.01),Math.abs(I)+Math.abs(C)>360&&(I-=.01);var R=M-A,P=Array.isArray(i.config.stroke.dashArray)?i.config.stroke.dashArray[w]:i.config.stroke.dashArray,_=r.drawPath({d:"",stroke:y,strokeWidth:c,fill:"none",fillOpacity:i.config.fill.opacity,classes:"apexcharts-radialbar-area apexcharts-radialbar-slice-"+w,strokeDashArray:P});if(E.setAttrs(_.node,{"data:angle":R,"data:value":a.series[w]}),i.config.chart.dropShadow.enabled){var O=i.config.chart.dropShadow;o.dropShadow(_,O,w)}if(o.setSelectionFilter(_,0,w),this.addListeners(_,this.radialDataLabels),k.add(_),_.attr({index:0,j:w}),this.barLabels.enabled){var H=L.polarToCartesian(a.centerX,a.centerY,a.size,A),T=this.barLabels.formatter(i.globals.seriesNames[w],{seriesIndex:w,w:i}),D=["apexcharts-radialbar-label"];this.barLabels.onClick||D.push("apexcharts-no-click");var B=this.barLabels.useSeriesColors?i.globals.colors[w]:i.config.chart.foreColor;B||(B=i.config.chart.foreColor);var X=H.x+this.barLabels.offsetX,Y=H.y+this.barLabels.offsetY,W=r.drawText({x:X,y:Y,text:T,textAnchor:"end",dominantBaseline:"middle",fontFamily:this.barLabels.fontFamily,fontWeight:this.barLabels.fontWeight,fontSize:this.barLabels.fontSize,foreColor:B,cssClass:D.join(" ")});W.on("click",this.onBarLabelClick),W.attr({rel:w+1}),A!==0&&W.attr({"transform-origin":"".concat(X," ").concat(Y),transform:"rotate(".concat(A," 0 0)")}),k.add(W)}var U=0;!this.initialAnim||i.globals.resized||i.globals.dataChanged||(U=i.config.chart.animations.speed),i.globals.dataChanged&&(U=i.config.chart.animations.dynamicAnimation.speed),this.animDur=U/(1.2*a.series.length)+this.animDur,this.animBeginArr.push(this.animDur),this.animatePaths(_,{centerX:a.centerX,centerY:a.centerY,endAngle:M,startAngle:A,prevEndAngle:I,prevStartAngle:C,size:a.size,i:w,totalItems:2,animBeginArr:this.animBeginArr,dur:U,shouldSetPrevPaths:!0})}return{g:l,elHollow:g,dataLabels:m}}},{key:"drawHollow",value:function(a){var i=new E(this.ctx).drawCircle(2*a.size);return i.attr({class:"apexcharts-radialbar-hollow",cx:a.centerX,cy:a.centerY,r:a.size,fill:a.fill}),i}},{key:"drawHollowImage",value:function(a,i,r,n){var o=this.w,l=new tt(this.ctx),c=L.randomId(),h=o.config.plotOptions.radialBar.hollow.image;if(o.config.plotOptions.radialBar.hollow.imageClipped)l.clippedImgArea({width:r,height:r,image:h,patternID:"pattern".concat(o.globals.cuid).concat(c)}),n="url(#pattern".concat(o.globals.cuid).concat(c,")");else{var d=o.config.plotOptions.radialBar.hollow.imageWidth,u=o.config.plotOptions.radialBar.hollow.imageHeight;if(d===void 0&&u===void 0){var g=o.globals.dom.Paper.image(h,(function(f){this.move(a.centerX-f.width/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,a.centerY-f.height/2+o.config.plotOptions.radialBar.hollow.imageOffsetY)}));i.add(g)}else{var p=o.globals.dom.Paper.image(h,(function(f){this.move(a.centerX-d/2+o.config.plotOptions.radialBar.hollow.imageOffsetX,a.centerY-u/2+o.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(d,u)}));i.add(p)}}return n}},{key:"getStrokeWidth",value:function(a){var i=this.w;return a.size*(100-parseInt(i.config.plotOptions.radialBar.hollow.size,10))/100/(a.series.length+1)-this.margin}},{key:"onBarLabelClick",value:function(a){var i=parseInt(a.target.getAttribute("rel"),10)-1,r=this.barLabels.onClick,n=this.w;r&&r(n.globals.seriesNames[i],{w:n,seriesIndex:i})}}]),t})(),fd=(function(s){wa(t,Gt);var e=ya(t);function t(){return N(this,t),e.apply(this,arguments)}return V(t,[{key:"draw",value:function(a,i){var r=this.w,n=new E(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=a,this.seriesRangeStart=r.globals.seriesRangeStart,this.seriesRangeEnd=r.globals.seriesRangeEnd,this.barHelpers.initVariables(a);for(var o=n.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),l=0;l<a.length;l++){var c,h,d,u,g=void 0,p=void 0,f=r.globals.comboCharts?i[l]:l,m=this.barHelpers.getGroupIndex(f).columnGroupIndex,v=n.group({class:"apexcharts-series",seriesName:L.escapeString(r.globals.seriesNames[f]),rel:l+1,"data:realIndex":f});this.ctx.series.addCollapsedClassToSeries(v,f),a[l].length>0&&(this.visibleI=this.visibleI+1);var b=0,w=0,k=0;this.yRatio.length>1&&(this.yaxisIndex=r.globals.seriesYAxisReverseMap[f][0],k=f);var y=this.barHelpers.initialPositions(f);p=y.y,u=y.zeroW,g=y.x,w=y.barWidth,b=y.barHeight,c=y.xDivision,h=y.yDivision,d=y.zeroH;for(var A=n.group({class:"apexcharts-datalabels","data:realIndex":f}),C=n.group({class:"apexcharts-rangebar-goals-markers"}),S=0;S<r.globals.dataPoints;S++){var M=this.barHelpers.getStrokeWidth(l,S,f),I=this.seriesRangeStart[l][S],R=this.seriesRangeEnd[l][S],P=null,_=null,O=null,H={x:g,y:p,strokeWidth:M,elSeries:v},T=this.seriesLen;if(r.config.plotOptions.bar.rangeBarGroupRows&&(T=1),r.config.series[l].data[S]===void 0)break;if(this.isHorizontal){O=p+b*this.visibleI;var D=(h-b*T)/2;if(r.config.series[l].data[S].x){var B=this.detectOverlappingBars({i:l,j:S,barYPosition:O,srty:D,barHeight:b,yDivision:h,initPositions:y});b=B.barHeight,O=B.barYPosition}w=(P=this.drawRangeBarPaths(F({indexes:{i:l,j:S,realIndex:f},barHeight:b,barYPosition:O,zeroW:u,yDivision:h,y1:I,y2:R},H))).barWidth}else{r.globals.isXNumeric&&(g=(r.globals.seriesX[l][S]-r.globals.minX)/this.xRatio-w/2),_=g+w*this.visibleI;var X=(c-w*T)/2;if(r.config.series[l].data[S].x){var Y=this.detectOverlappingBars({i:l,j:S,barXPosition:_,srtx:X,barWidth:w,xDivision:c,initPositions:y});w=Y.barWidth,_=Y.barXPosition}b=(P=this.drawRangeColumnPaths(F({indexes:{i:l,j:S,realIndex:f,translationsIndex:k},barWidth:w,barXPosition:_,zeroH:d,xDivision:c},H))).barHeight}var W=this.barHelpers.drawGoalLine({barXPosition:P.barXPosition,barYPosition:O,goalX:P.goalX,goalY:P.goalY,barHeight:b,barWidth:w});W&&C.add(W),p=P.y,g=P.x;var U=this.barHelpers.getPathFillColor(a,l,S,f);this.renderSeries({realIndex:f,pathFill:U.color,lineFill:U.useRangeColor?U.color:r.globals.stroke.colors[f],j:S,i:l,x:g,y:p,y1:I,y2:R,pathFrom:P.pathFrom,pathTo:P.pathTo,strokeWidth:M,elSeries:v,series:a,barHeight:b,barWidth:w,barXPosition:_,barYPosition:O,columnGroupIndex:m,elDataLabelsWrap:A,elGoalsMarkers:C,visibleSeries:this.visibleI,type:"rangebar"})}o.add(v)}return o}},{key:"detectOverlappingBars",value:function(a){var i=a.i,r=a.j,n=a.barYPosition,o=a.barXPosition,l=a.srty,c=a.srtx,h=a.barHeight,d=a.barWidth,u=a.yDivision,g=a.xDivision,p=a.initPositions,f=this.w,m=[],v=f.config.series[i].data[r].rangeName,b=f.config.series[i].data[r].x,w=Array.isArray(b)?b.join(" "):b,k=f.globals.labels.map((function(A){return Array.isArray(A)?A.join(" "):A})).indexOf(w),y=f.globals.seriesRange[i].findIndex((function(A){return A.x===w&&A.overlaps.length>0}));return this.isHorizontal?(n=f.config.plotOptions.bar.rangeBarGroupRows?l+u*k:l+h*this.visibleI+u*k,y>-1&&!f.config.plotOptions.bar.rangeBarOverlap&&(m=f.globals.seriesRange[i][y].overlaps).indexOf(v)>-1&&(n=(h=p.barHeight/m.length)*this.visibleI+u*(100-parseInt(this.barOptions.barHeight,10))/100/2+h*(this.visibleI+m.indexOf(v))+u*k)):(k>-1&&!f.globals.timescaleLabels.length&&(o=f.config.plotOptions.bar.rangeBarGroupRows?c+g*k:c+d*this.visibleI+g*k),y>-1&&!f.config.plotOptions.bar.rangeBarOverlap&&(m=f.globals.seriesRange[i][y].overlaps).indexOf(v)>-1&&(o=(d=p.barWidth/m.length)*this.visibleI+g*(100-parseInt(this.barOptions.barWidth,10))/100/2+d*(this.visibleI+m.indexOf(v))+g*k)),{barYPosition:n,barXPosition:o,barHeight:h,barWidth:d}}},{key:"drawRangeColumnPaths",value:function(a){var i=a.indexes,r=a.x,n=a.xDivision,o=a.barWidth,l=a.barXPosition,c=a.zeroH,h=this.w,d=i.i,u=i.j,g=i.realIndex,p=i.translationsIndex,f=this.yRatio[p],m=this.getRangeValue(g,u),v=Math.min(m.start,m.end),b=Math.max(m.start,m.end);this.series[d][u]===void 0||this.series[d][u]===null?v=c:(v=c-v/f,b=c-b/f);var w=Math.abs(b-v),k=this.barHelpers.getColumnPaths({barXPosition:l,barWidth:o,y1:v,y2:b,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,realIndex:g,i:g,j:u,w:h});if(h.globals.isXNumeric){var y=this.getBarXForNumericXAxis({x:r,j:u,realIndex:g,barWidth:o});r=y.x,l=y.barXPosition}else r+=n;return{pathTo:k.pathTo,pathFrom:k.pathFrom,barHeight:w,x:r,y:m.start<0&&m.end<0?v:b,goalY:this.barHelpers.getGoalValues("y",null,c,d,u,p),barXPosition:l}}},{key:"preventBarOverflow",value:function(a){var i=this.w;return a<0&&(a=0),a>i.globals.gridWidth&&(a=i.globals.gridWidth),a}},{key:"drawRangeBarPaths",value:function(a){var i=a.indexes,r=a.y,n=a.y1,o=a.y2,l=a.yDivision,c=a.barHeight,h=a.barYPosition,d=a.zeroW,u=this.w,g=i.realIndex,p=i.j,f=this.preventBarOverflow(d+n/this.invertedYRatio),m=this.preventBarOverflow(d+o/this.invertedYRatio),v=this.getRangeValue(g,p),b=Math.abs(m-f),w=this.barHelpers.getBarpaths({barYPosition:h,barHeight:c,x1:f,x2:m,strokeWidth:this.strokeWidth,series:this.seriesRangeEnd,i:g,realIndex:g,j:p,w:u});return u.globals.isXNumeric||(r+=l),{pathTo:w.pathTo,pathFrom:w.pathFrom,barWidth:b,x:v.start<0&&v.end<0?f:m,goalX:this.barHelpers.getGoalValues("x",d,null,g,p),y:r}}},{key:"getRangeValue",value:function(a,i){var r=this.w;return{start:r.globals.seriesRangeStart[a][i],end:r.globals.seriesRangeEnd[a][i]}}}]),t})(),pd=(function(){function s(e){N(this,s),this.w=e.w,this.lineCtx=e}return V(s,[{key:"sameValueSeriesFix",value:function(e,t){var a=this.w;if((a.config.fill.type==="gradient"||a.config.fill.type[e]==="gradient")&&new Ae(this.lineCtx.ctx,a).seriesHaveSameValues(e)){var i=t[e].slice();i[i.length-1]=i[i.length-1]+1e-6,t[e]=i}return t}},{key:"calculatePoints",value:function(e){var t=e.series,a=e.realIndex,i=e.x,r=e.y,n=e.i,o=e.j,l=e.prevY,c=this.w,h=[],d=[],u=this.lineCtx.categoryAxisCorrection+c.config.markers.offsetX;return c.globals.isXNumeric&&(u=(c.globals.seriesX[a][0]-c.globals.minX)/this.lineCtx.xRatio+c.config.markers.offsetX),o===0&&(h.push(u),d.push(L.isNumber(t[n][0])?l+c.config.markers.offsetY:null)),h.push(i+c.config.markers.offsetX),d.push(L.isNumber(t[n][o+1])?r+c.config.markers.offsetY:null),{x:h,y:d}}},{key:"checkPreviousPaths",value:function(e){for(var t=e.pathFromLine,a=e.pathFromArea,i=e.realIndex,r=this.w,n=0;n<r.globals.previousPaths.length;n++){var o=r.globals.previousPaths[n];(o.type==="line"||o.type==="area")&&o.paths.length>0&&parseInt(o.realIndex,10)===parseInt(i,10)&&(o.type==="line"?(this.lineCtx.appendPathFrom=!1,t=r.globals.previousPaths[n].paths[0].d):o.type==="area"&&(this.lineCtx.appendPathFrom=!1,a=r.globals.previousPaths[n].paths[0].d,r.config.stroke.show&&r.globals.previousPaths[n].paths[1]&&(t=r.globals.previousPaths[n].paths[1].d)))}return{pathFromLine:t,pathFromArea:a}}},{key:"determineFirstPrevY",value:function(e){var t,a,i,r=e.i,n=e.realIndex,o=e.series,l=e.prevY,c=e.lineYPosition,h=e.translationsIndex,d=this.w,u=d.config.chart.stacked&&!d.globals.comboCharts||d.config.chart.stacked&&d.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||((t=this.w.config.series[n])===null||t===void 0?void 0:t.type)==="bar"||((a=this.w.config.series[n])===null||a===void 0?void 0:a.type)==="column");if(((i=o[r])===null||i===void 0?void 0:i[0])!==void 0)l=(c=u&&r>0?this.lineCtx.prevSeriesY[r-1][0]:this.lineCtx.zeroY)-o[r][0]/this.lineCtx.yRatio[h]+2*(this.lineCtx.isReversed?o[r][0]/this.lineCtx.yRatio[h]:0);else if(u&&r>0&&o[r][0]===void 0){for(var g=r-1;g>=0;g--)if(o[g][0]!==null&&o[g][0]!==void 0){l=c=this.lineCtx.prevSeriesY[g][0];break}}return{prevY:l,lineYPosition:c}}}]),s})(),xd=function(s){for(var e,t,a,i,r=(function(h){for(var d=[],u=h[0],g=h[1],p=d[0]=Ti(u,g),f=1,m=h.length-1;f<m;f++)u=g,g=h[f+1],d[f]=.5*(p+(p=Ti(u,g)));return d[f]=p,d})(s),n=s.length-1,o=[],l=0;l<n;l++)a=Ti(s[l],s[l+1]),Math.abs(a)<1e-6?r[l]=r[l+1]=0:(i=(e=r[l]/a)*e+(t=r[l+1]/a)*t)>9&&(i=3*a/Math.sqrt(i),r[l]=i*e,r[l+1]=i*t);for(var c=0;c<=n;c++)i=(s[Math.min(n,c+1)][0]-s[Math.max(0,c-1)][0])/(6*(1+r[c]*r[c])),o.push([i||0,r[c]*i||0]);return o},md=function(s){var e=xd(s),t=s[1],a=s[0],i=[],r=e[1],n=e[0];i.push(a,[a[0]+n[0],a[1]+n[1],t[0]-r[0],t[1]-r[1],t[0],t[1]]);for(var o=2,l=e.length;o<l;o++){var c=s[o],h=e[o];i.push([c[0]-h[0],c[1]-h[1],c[0],c[1]])}return i},vd=function(s,e,t){var a=s.slice(e,t);if(e){if(t-e>1&&a[1].length<6){var i=a[0].length;a[1]=[2*a[0][i-2]-a[0][i-4],2*a[0][i-1]-a[0][i-3]].concat(a[1])}a[0]=a[0].slice(-2)}return a};function Ti(s,e){return(e[1]-s[1])/(e[0]-s[0])}var ji=(function(){function s(e,t,a){N(this,s),this.ctx=e,this.w=e.w,this.xyRatios=t,this.pointsChart=!(this.w.config.chart.type!=="bubble"&&this.w.config.chart.type!=="scatter")||a,this.scatter=new co(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.lineHelpers=new pd(this),this.markers=new Jt(this.ctx),this.prevSeriesY=[],this.categoryAxisCorrection=0,this.yaxisIndex=0}return V(s,[{key:"draw",value:function(e,t,a,i){var r,n=this.w,o=new E(this.ctx),l=n.globals.comboCharts?t:n.config.chart.type,c=o.group({class:"apexcharts-".concat(l,"-series apexcharts-plot-series")}),h=new Ae(this.ctx,n);this.yRatio=this.xyRatios.yRatio,this.zRatio=this.xyRatios.zRatio,this.xRatio=this.xyRatios.xRatio,this.baseLineY=this.xyRatios.baseLineY,e=h.getLogSeries(e),this.yRatio=h.getLogYRatios(this.yRatio),this.prevSeriesY=[];for(var d=[],u=0;u<e.length;u++){e=this.lineHelpers.sameValueSeriesFix(u,e);var g=n.globals.comboCharts?a[u]:u,p=this.yRatio.length>1?g:0;this._initSerieVariables(e,u,g);var f=[],m=[],v=[],b=n.globals.padHorizontal+this.categoryAxisCorrection;this.ctx.series.addCollapsedClassToSeries(this.elSeries,g),n.globals.isXNumeric&&n.globals.seriesX.length>0&&(b=(n.globals.seriesX[g][0]-n.globals.minX)/this.xRatio),v.push(b);var w,k=b,y=void 0,A=k,C=this.zeroY,S=this.zeroY;C=this.lineHelpers.determineFirstPrevY({i:u,realIndex:g,series:e,prevY:C,lineYPosition:0,translationsIndex:p}).prevY,n.config.stroke.curve==="monotoneCubic"&&e[u][0]===null?f.push(null):f.push(C),w=C,l==="rangeArea"&&(y=S=this.lineHelpers.determineFirstPrevY({i:u,realIndex:g,series:i,prevY:S,lineYPosition:0,translationsIndex:p}).prevY,m.push(f[0]!==null?S:null));var M=this._calculatePathsFrom({type:l,series:e,i:u,realIndex:g,translationsIndex:p,prevX:A,prevY:C,prevY2:S}),I=[f[0]],R=[m[0]],P={type:l,series:e,realIndex:g,translationsIndex:p,i:u,x:b,y:1,pX:k,pY:w,pathsFrom:M,linePaths:[],areaPaths:[],seriesIndex:a,lineYPosition:0,xArrj:v,yArrj:f,y2Arrj:m,seriesRangeEnd:i},_=this._iterateOverDataPoints(F(F({},P),{},{iterations:l==="rangeArea"?e[u].length-1:void 0,isRangeStart:!0}));if(l==="rangeArea"){for(var O=this._calculatePathsFrom({series:i,i:u,realIndex:g,prevX:A,prevY:S}),H=this._iterateOverDataPoints(F(F({},P),{},{series:i,xArrj:[b],yArrj:I,y2Arrj:R,pY:y,areaPaths:_.areaPaths,pathsFrom:O,iterations:i[u].length-1,isRangeStart:!1})),T=_.linePaths.length/2,D=0;D<T;D++)_.linePaths[D]=H.linePaths[D+T]+_.linePaths[D];_.linePaths.splice(T),_.pathFromLine=H.pathFromLine+_.pathFromLine}else _.pathFromArea+="z";this._handlePaths({type:l,realIndex:g,i:u,paths:_}),this.elSeries.add(this.elPointsMain),this.elSeries.add(this.elDataLabelsWrap),d.push(this.elSeries)}if(((r=n.config.series[0])===null||r===void 0?void 0:r.zIndex)!==void 0&&d.sort((function(Y,W){return Number(Y.node.getAttribute("zIndex"))-Number(W.node.getAttribute("zIndex"))})),n.config.chart.stacked)for(var B=d.length-1;B>=0;B--)c.add(d[B]);else for(var X=0;X<d.length;X++)c.add(d[X]);return c}},{key:"_initSerieVariables",value:function(e,t,a){var i=this.w,r=new E(this.ctx);this.xDivision=i.globals.gridWidth/(i.globals.dataPoints-(i.config.xaxis.tickPlacement==="on"?1:0)),this.strokeWidth=Array.isArray(i.config.stroke.width)?i.config.stroke.width[a]:i.config.stroke.width;var n=0;if(this.yRatio.length>1&&(this.yaxisIndex=i.globals.seriesYAxisReverseMap[a],n=a),this.isReversed=i.config.yaxis[this.yaxisIndex]&&i.config.yaxis[this.yaxisIndex].reversed,this.zeroY=i.globals.gridHeight-this.baseLineY[n]-(this.isReversed?i.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[n]:0),this.areaBottomY=this.zeroY,(this.zeroY>i.globals.gridHeight||i.config.plotOptions.area.fillTo==="end")&&(this.areaBottomY=i.globals.gridHeight),this.categoryAxisCorrection=this.xDivision/2,this.elSeries=r.group({class:"apexcharts-series",zIndex:i.config.series[a].zIndex!==void 0?i.config.series[a].zIndex:a,seriesName:L.escapeString(i.globals.seriesNames[a])}),this.elPointsMain=r.group({class:"apexcharts-series-markers-wrap","data:realIndex":a}),i.globals.hasNullValues){var o=this.markers.plotChartMarkers({pointsPos:{x:[0],y:[i.globals.gridHeight+i.globals.markers.largestSize]},seriesIndex:t,j:0,pSize:.1,alwaysDrawMarker:!0,isVirtualPoint:!0});o!==null&&this.elPointsMain.add(o)}this.elDataLabelsWrap=r.group({class:"apexcharts-datalabels","data:realIndex":a});var l=e[t].length===i.globals.dataPoints;this.elSeries.attr({"data:longestSeries":l,rel:t+1,"data:realIndex":a}),this.appendPathFrom=!0}},{key:"_calculatePathsFrom",value:function(e){var t,a,i,r,n=e.type,o=e.series,l=e.i,c=e.realIndex,h=e.translationsIndex,d=e.prevX,u=e.prevY,g=e.prevY2,p=this.w,f=new E(this.ctx);if(o[l][0]===null){for(var m=0;m<o[l].length;m++)if(o[l][m]!==null){d=this.xDivision*m,u=this.zeroY-o[l][m]/this.yRatio[h],t=f.move(d,u),a=f.move(d,this.areaBottomY);break}}else t=f.move(d,u),n==="rangeArea"&&(t=f.move(d,g)+f.line(d,u)),a=f.move(d,this.areaBottomY)+f.line(d,u);if(i=f.move(0,this.areaBottomY)+f.line(0,this.areaBottomY),r=f.move(0,this.areaBottomY)+f.line(0,this.areaBottomY),p.globals.previousPaths.length>0){var v=this.lineHelpers.checkPreviousPaths({pathFromLine:i,pathFromArea:r,realIndex:c});i=v.pathFromLine,r=v.pathFromArea}return{prevX:d,prevY:u,linePath:t,areaPath:a,pathFromLine:i,pathFromArea:r}}},{key:"_handlePaths",value:function(e){var t=e.type,a=e.realIndex,i=e.i,r=e.paths,n=this.w,o=new E(this.ctx),l=new tt(this.ctx);this.prevSeriesY.push(r.yArrj),n.globals.seriesXvalues[a]=r.xArrj,n.globals.seriesYvalues[a]=r.yArrj;var c=n.config.forecastDataPoints;if(c.count>0&&t!=="rangeArea"){var h=n.globals.seriesXvalues[a][n.globals.seriesXvalues[a].length-c.count-1],d=o.drawRect(h,0,n.globals.gridWidth,n.globals.gridHeight,0);n.globals.dom.elForecastMask.appendChild(d.node);var u=o.drawRect(0,0,h,n.globals.gridHeight,0);n.globals.dom.elNonForecastMask.appendChild(u.node)}this.pointsChart||n.globals.delayedElements.push({el:this.elPointsMain.node,index:a});var g={i,realIndex:a,animationDelay:i,initialSpeed:n.config.chart.animations.speed,dataChangeSpeed:n.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(t)};if(t==="area")for(var p=l.fillPath({seriesNumber:a}),f=0;f<r.areaPaths.length;f++){var m=o.renderPaths(F(F({},g),{},{pathFrom:r.pathFromArea,pathTo:r.areaPaths[f],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:p}));this.elSeries.add(m)}if(n.config.stroke.show&&!this.pointsChart){var v=null;if(t==="line")v=l.fillPath({seriesNumber:a,i});else if(n.config.stroke.fill.type==="solid")v=n.globals.stroke.colors[a];else{var b=n.config.fill;n.config.fill=n.config.stroke.fill,v=l.fillPath({seriesNumber:a,i}),n.config.fill=b}for(var w=0;w<r.linePaths.length;w++){var k=v;t==="rangeArea"&&(k=l.fillPath({seriesNumber:a}));var y=F(F({},g),{},{pathFrom:r.pathFromLine,pathTo:r.linePaths[w],stroke:v,strokeWidth:this.strokeWidth,strokeLineCap:n.config.stroke.lineCap,fill:t==="rangeArea"?k:"none"}),A=o.renderPaths(y);if(this.elSeries.add(A),A.attr("fill-rule","evenodd"),c.count>0&&t!=="rangeArea"){var C=o.renderPaths(y);C.node.setAttribute("stroke-dasharray",c.dashArray),c.strokeWidth&&C.node.setAttribute("stroke-width",c.strokeWidth),this.elSeries.add(C),C.attr("clip-path","url(#forecastMask".concat(n.globals.cuid,")")),A.attr("clip-path","url(#nonForecastMask".concat(n.globals.cuid,")"))}}}}},{key:"_iterateOverDataPoints",value:function(e){var t,a,i=this,r=e.type,n=e.series,o=e.iterations,l=e.realIndex,c=e.translationsIndex,h=e.i,d=e.x,u=e.y,g=e.pX,p=e.pY,f=e.pathsFrom,m=e.linePaths,v=e.areaPaths,b=e.seriesIndex,w=e.lineYPosition,k=e.xArrj,y=e.yArrj,A=e.y2Arrj,C=e.isRangeStart,S=e.seriesRangeEnd,M=this.w,I=new E(this.ctx),R=this.yRatio,P=f.prevY,_=f.linePath,O=f.areaPath,H=f.pathFromLine,T=f.pathFromArea,D=L.isNumber(M.globals.minYArr[l])?M.globals.minYArr[l]:M.globals.minY;o||(o=M.globals.dataPoints>1?M.globals.dataPoints-1:M.globals.dataPoints);var B=function(ye,Ce){return Ce-ye/R[c]+2*(i.isReversed?ye/R[c]:0)},X=u,Y=M.config.chart.stacked&&!M.globals.comboCharts||M.config.chart.stacked&&M.globals.comboCharts&&(!this.w.config.chart.stackOnlyBar||((t=this.w.config.series[l])===null||t===void 0?void 0:t.type)==="bar"||((a=this.w.config.series[l])===null||a===void 0?void 0:a.type)==="column"),W=M.config.stroke.curve;Array.isArray(W)&&(W=Array.isArray(b)?W[b[h]]:W[h]);for(var U,re=0,J=0;J<o&&n[h].length!==0;J++){var xe=n[h][J+1]===void 0||n[h][J+1]===null;if(M.globals.isXNumeric){var Q=M.globals.seriesX[l][J+1];M.globals.seriesX[l][J+1]===void 0&&(Q=M.globals.seriesX[l][o-1]),d=(Q-M.globals.minX)/this.xRatio}else d+=this.xDivision;Y?h>0&&M.globals.collapsedSeries.length<M.config.series.length-1?w=this.prevSeriesY[(function(ye){for(var Ce=ye;Ce>0;Ce--){if(!(M.globals.collapsedSeriesIndices.indexOf(b?.[Ce]||Ce)>-1))return Ce;Ce--}return 0})(h-1)][J+1]:w=this.zeroY:w=this.zeroY,xe?u=B(D,w):(u=B(n[h][J+1],w),r==="rangeArea"&&(X=B(S[h][J+1],w))),k.push(n[h][J+1]===null?null:d),!xe||M.config.stroke.curve!=="smooth"&&M.config.stroke.curve!=="monotoneCubic"?(y.push(u),A.push(X)):(y.push(null),A.push(null));var ee=this.lineHelpers.calculatePoints({series:n,x:d,y:u,realIndex:l,i:h,j:J,prevY:P}),ae=this._createPaths({type:r,series:n,i:h,realIndex:l,j:J,x:d,y:u,y2:X,xArrj:k,yArrj:y,y2Arrj:A,pX:g,pY:p,pathState:re,segmentStartX:U,linePath:_,areaPath:O,linePaths:m,areaPaths:v,curve:W,isRangeStart:C});v=ae.areaPaths,m=ae.linePaths,g=ae.pX,p=ae.pY,re=ae.pathState,U=ae.segmentStartX,O=ae.areaPath,_=ae.linePath,!this.appendPathFrom||M.globals.hasNullValues||W==="monotoneCubic"&&r==="rangeArea"||(H+=I.line(d,this.areaBottomY),T+=I.line(d,this.areaBottomY)),this.handleNullDataPoints(n,ee,h,J,l),this._handleMarkersAndLabels({type:r,pointsPos:ee,i:h,j:J,realIndex:l,isRangeStart:C})}return{yArrj:y,xArrj:k,pathFromArea:T,areaPaths:v,pathFromLine:H,linePaths:m,linePath:_,areaPath:O}}},{key:"_handleMarkersAndLabels",value:function(e){var t=e.type,a=e.pointsPos,i=e.isRangeStart,r=e.i,n=e.j,o=e.realIndex,l=this.w,c=new Wt(this.ctx);if(this.pointsChart)this.scatter.draw(this.elSeries,n,{realIndex:o,pointsPos:a,zRatio:this.zRatio,elParent:this.elPointsMain});else{l.globals.series[r].length>1&&this.elPointsMain.node.classList.add("apexcharts-element-hidden");var h=this.markers.plotChartMarkers({pointsPos:a,seriesIndex:o,j:n+1});h!==null&&this.elPointsMain.add(h)}var d=c.drawDataLabel({type:t,isRangeStart:i,pos:a,i:o,j:n+1});d!==null&&this.elDataLabelsWrap.add(d)}},{key:"_createPaths",value:function(e){var t=e.type,a=e.series,i=e.i;e.realIndex;var r,n=e.j,o=e.x,l=e.y,c=e.xArrj,h=e.yArrj,d=e.y2,u=e.y2Arrj,g=e.pX,p=e.pY,f=e.pathState,m=e.segmentStartX,v=e.linePath,b=e.areaPath,w=e.linePaths,k=e.areaPaths,y=e.curve,A=e.isRangeStart,C=new E(this.ctx),S=this.areaBottomY,M=t==="rangeArea",I=t==="rangeArea"&&A;switch(y){case"monotoneCubic":var R=A?h:u;switch(f){case 0:if(R[n+1]===null)break;f=1;case 1:if(!(M?c.length===a[i].length:n===a[i].length-2))break;case 2:var P=A?c:c.slice().reverse(),_=A?R:R.slice().reverse(),O=(r=_,P.map((function(Q,ee){return[Q,r[ee]]})).filter((function(Q){return Q[1]!==null}))),H=O.length>1?md(O):O,T=[];M&&(I?k=O:T=k.reverse());var D=0,B=0;if((function(Q,ee){for(var ae=(function(gt){var _e=[],Ge=0;return gt.forEach((function(bi){bi!==null?Ge++:Ge>0&&(_e.push(Ge),Ge=0)})),Ge>0&&_e.push(Ge),_e})(Q),ye=[],Ce=0,Ie=0;Ce<ae.length;Ie+=ae[Ce++])ye[Ce]=vd(ee,Ie,Ie+ae[Ce]);return ye})(_,H).forEach((function(Q){D++;var ee=(function(Ce){for(var Ie="",gt=0;gt<Ce.length;gt++){var _e=Ce[gt],Ge=_e.length;Ge>4?(Ie+="C".concat(_e[0],", ").concat(_e[1]),Ie+=", ".concat(_e[2],", ").concat(_e[3]),Ie+=", ".concat(_e[4],", ").concat(_e[5])):Ge>2&&(Ie+="S".concat(_e[0],", ").concat(_e[1]),Ie+=", ".concat(_e[2],", ").concat(_e[3]))}return Ie})(Q),ae=B,ye=(B+=Q.length)-1;I?v=C.move(O[ae][0],O[ae][1])+ee:M?v=C.move(T[ae][0],T[ae][1])+C.line(O[ae][0],O[ae][1])+ee+C.line(T[ye][0],T[ye][1]):(v=C.move(O[ae][0],O[ae][1])+ee,b=v+C.line(O[ye][0],S)+C.line(O[ae][0],S)+"z",k.push(b)),w.push(v)})),M&&D>1&&!I){var X=w.slice(D).reverse();w.splice(D),X.forEach((function(Q){return w.push(Q)}))}f=0}break;case"smooth":var Y=.35*(o-g);if(a[i][n]===null)f=0;else switch(f){case 0:if(m=g,v=I?C.move(g,u[n])+C.line(g,p):C.move(g,p),b=C.move(g,p),a[i][n+1]===null||a[i][n+1]===void 0){w.push(v),k.push(b);break}if(f=1,n<a[i].length-2){var W=C.curve(g+Y,p,o-Y,l,o,l);v+=W,b+=W;break}case 1:if(a[i][n+1]===null)v+=I?C.line(g,d):C.move(g,p),b+=C.line(g,S)+C.line(m,S)+"z",w.push(v),k.push(b),f=-1;else{var U=C.curve(g+Y,p,o-Y,l,o,l);v+=U,b+=U,n>=a[i].length-2&&(I&&(v+=C.curve(o,l,o,l,o,d)+C.move(o,d)),b+=C.curve(o,l,o,l,o,S)+C.line(m,S)+"z",w.push(v),k.push(b),f=-1)}}g=o,p=l;break;default:var re=function(Q,ee,ae){var ye=[];switch(Q){case"stepline":ye=C.line(ee,null,"H")+C.line(null,ae,"V");break;case"linestep":ye=C.line(null,ae,"V")+C.line(ee,null,"H");break;case"straight":ye=C.line(ee,ae)}return ye};if(a[i][n]===null)f=0;else switch(f){case 0:if(m=g,v=I?C.move(g,u[n])+C.line(g,p):C.move(g,p),b=C.move(g,p),a[i][n+1]===null||a[i][n+1]===void 0){w.push(v),k.push(b);break}if(f=1,n<a[i].length-2){var J=re(y,o,l);v+=J,b+=J;break}case 1:if(a[i][n+1]===null)v+=I?C.line(g,d):C.move(g,p),b+=C.line(g,S)+C.line(m,S)+"z",w.push(v),k.push(b),f=-1;else{var xe=re(y,o,l);v+=xe,b+=xe,n>=a[i].length-2&&(I&&(v+=C.line(o,d)),b+=C.line(o,S)+C.line(m,S)+"z",w.push(v),k.push(b),f=-1)}}g=o,p=l}return{linePaths:w,areaPaths:k,pX:g,pY:p,pathState:f,segmentStartX:m,linePath:v,areaPath:b}}},{key:"handleNullDataPoints",value:function(e,t,a,i,r){var n=this.w;if(e[a][i]===null&&n.config.markers.showNullDataPoints||e[a].length===1){var o=this.strokeWidth-n.config.markers.strokeWidth/2;o>0||(o=0);var l=this.markers.plotChartMarkers({pointsPos:t,seriesIndex:r,j:i+1,pSize:o,alwaysDrawMarker:!0});l!==null&&this.elPointsMain.add(l)}}}]),s})();window.TreemapSquared={},window.TreemapSquared.generate=(function(){function s(o,l,c,h){this.xoffset=o,this.yoffset=l,this.height=h,this.width=c,this.shortestEdge=function(){return Math.min(this.height,this.width)},this.getCoordinates=function(d){var u,g=[],p=this.xoffset,f=this.yoffset,m=r(d)/this.height,v=r(d)/this.width;if(this.width>=this.height)for(u=0;u<d.length;u++)g.push([p,f,p+m,f+d[u]/m]),f+=d[u]/m;else for(u=0;u<d.length;u++)g.push([p,f,p+d[u]/v,f+v]),p+=d[u]/v;return g},this.cutArea=function(d){var u;if(this.width>=this.height){var g=d/this.height,p=this.width-g;u=new s(this.xoffset+g,this.yoffset,p,this.height)}else{var f=d/this.width,m=this.height-f;u=new s(this.xoffset,this.yoffset+f,this.width,m)}return u}}function e(o,l,c,h,d){h=h===void 0?0:h,d=d===void 0?0:d;var u=t((function(g,p){var f,m=[],v=p/r(g);for(f=0;f<g.length;f++)m[f]=g[f]*v;return m})(o,l*c),[],new s(h,d,l,c),[]);return(function(g){var p,f,m=[];for(p=0;p<g.length;p++)for(f=0;f<g[p].length;f++)m.push(g[p][f]);return m})(u)}function t(o,l,c,h){var d,u,g;if(o.length!==0)return d=c.shortestEdge(),(function(p,f,m){var v;if(p.length===0)return!0;(v=p.slice()).push(f);var b=a(p,m),w=a(v,m);return b>=w})(l,u=o[0],d)?(l.push(u),t(o.slice(1),l,c,h)):(g=c.cutArea(r(l),h),h.push(c.getCoordinates(l)),t(o,[],g,h)),h;h.push(c.getCoordinates(l))}function a(o,l){var c=Math.min.apply(Math,o),h=Math.max.apply(Math,o),d=r(o);return Math.max(Math.pow(l,2)*h/Math.pow(d,2),Math.pow(d,2)/(Math.pow(l,2)*c))}function i(o){return o&&o.constructor===Array}function r(o){var l,c=0;for(l=0;l<o.length;l++)c+=o[l];return c}function n(o){var l,c=0;if(i(o[0]))for(l=0;l<o.length;l++)c+=n(o[l]);else c=r(o);return c}return function o(l,c,h,d,u){d=d===void 0?0:d,u=u===void 0?0:u;var g,p,f=[],m=[];if(i(l[0])){for(p=0;p<l.length;p++)f[p]=n(l[p]);for(g=e(f,c,h,d,u),p=0;p<l.length;p++)m.push(o(l[p],g[p][2]-g[p][0],g[p][3]-g[p][1],g[p][0],g[p][1]))}else m=e(l,c,h,d,u);return m}})();var bd=(function(){function s(e,t){N(this,s),this.ctx=e,this.w=e.w,this.strokeWidth=this.w.config.stroke.width,this.helpers=new vo(e),this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.labels=[]}return V(s,[{key:"draw",value:function(e){var t=this,a=this.w,i=new E(this.ctx),r=new tt(this.ctx),n=i.group({class:"apexcharts-treemap"});if(a.globals.noData)return n;var o=[];return e.forEach((function(l){var c=l.map((function(h){return Math.abs(h)}));o.push(c)})),this.negRange=this.helpers.checkColorRange(),a.config.series.forEach((function(l,c){l.data.forEach((function(h){Array.isArray(t.labels[c])||(t.labels[c]=[]),t.labels[c].push(h.x)}))})),window.TreemapSquared.generate(o,a.globals.gridWidth,a.globals.gridHeight).forEach((function(l,c){var h=i.group({class:"apexcharts-series apexcharts-treemap-series",seriesName:L.escapeString(a.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(a.config.chart.dropShadow.enabled){var d=a.config.chart.dropShadow;new Oe(t.ctx).dropShadow(n,d,c)}var u=i.group({class:"apexcharts-data-labels"}),g={xMin:1/0,yMin:1/0,xMax:-1/0,yMax:-1/0};l.forEach((function(H,T){var D=H[0],B=H[1],X=H[2],Y=H[3];g.xMin=Math.min(g.xMin,D),g.yMin=Math.min(g.yMin,B),g.xMax=Math.max(g.xMax,X),g.yMax=Math.max(g.yMax,Y);var W=t.helpers.getShadeColor(a.config.chart.type,c,T,t.negRange),U=W.color,re=r.fillPath({color:U,seriesNumber:c,dataPointIndex:T}),J=i.drawRect(D,B,X-D,Y-B,a.config.plotOptions.treemap.borderRadius,"#fff",1,t.strokeWidth,a.config.plotOptions.treemap.useFillColorAsStroke?U:a.globals.stroke.colors[c]);J.attr({cx:D,cy:B,index:c,i:c,j:T,width:X-D,height:Y-B,fill:re}),J.node.classList.add("apexcharts-treemap-rect"),t.helpers.addListeners(J);var xe={x:D+(X-D)/2,y:B+(Y-B)/2,width:0,height:0},Q={x:D,y:B,width:X-D,height:Y-B};if(a.config.chart.animations.enabled&&!a.globals.dataChanged){var ee=1;a.globals.resized||(ee=a.config.chart.animations.speed),t.animateTreemap(J,xe,Q,ee)}if(a.globals.dataChanged){var ae=1;t.dynamicAnim.enabled&&a.globals.shouldAnimate&&(ae=t.dynamicAnim.speed,a.globals.previousPaths[c]&&a.globals.previousPaths[c][T]&&a.globals.previousPaths[c][T].rect&&(xe=a.globals.previousPaths[c][T].rect),t.animateTreemap(J,xe,Q,ae))}var ye=t.getFontSize(H),Ce=a.config.dataLabels.formatter(t.labels[c][T],{value:a.globals.series[c][T],seriesIndex:c,dataPointIndex:T,w:a});a.config.plotOptions.treemap.dataLabels.format==="truncate"&&(ye=parseInt(a.config.dataLabels.style.fontSize,10),Ce=t.truncateLabels(Ce,ye,D,B,X,Y));var Ie=null;a.globals.series[c][T]&&(Ie=t.helpers.calculateDataLabels({text:Ce,x:(D+X)/2,y:(B+Y)/2+t.strokeWidth/2+ye/3,i:c,j:T,colorProps:W,fontSize:ye,series:e})),a.config.dataLabels.enabled&&Ie&&t.rotateToFitLabel(Ie,ye,Ce,D,B,X,Y),h.add(J),Ie!==null&&h.add(Ie)}));var p=a.config.plotOptions.treemap.seriesTitle;if(a.config.series.length>1&&p&&p.show){var f=a.config.series[c].name||"";if(f&&g.xMin<1/0&&g.yMin<1/0){var m=p.offsetX,v=p.offsetY,b=p.borderColor,w=p.borderWidth,k=p.borderRadius,y=p.style,A=y.color||a.config.chart.foreColor,C={left:y.padding.left,right:y.padding.right,top:y.padding.top,bottom:y.padding.bottom},S=i.getTextRects(f,y.fontSize,y.fontFamily),M=S.width+C.left+C.right,I=S.height+C.top+C.bottom,R=g.xMin+(m||0),P=g.yMin+(v||0),_=i.drawRect(R,P,M,I,k,y.background,1,w,b),O=i.drawText({x:R+C.left,y:P+C.top+.75*S.height,text:f,fontSize:y.fontSize,fontFamily:y.fontFamily,fontWeight:y.fontWeight,foreColor:A,cssClass:y.cssClass||""});h.add(_),h.add(O)}}h.add(u),n.add(h)})),n}},{key:"getFontSize",value:function(e){var t=this.w,a=(function i(r){var n,o=0;if(Array.isArray(r[0]))for(n=0;n<r.length;n++)o+=i(r[n]);else for(n=0;n<r.length;n++)o+=r[n].length;return o})(this.labels)/(function i(r){var n,o=0;if(Array.isArray(r[0]))for(n=0;n<r.length;n++)o+=i(r[n]);else for(n=0;n<r.length;n++)o+=1;return o})(this.labels);return(function(i,r){var n=i*r,o=Math.pow(n,.5);return Math.min(o/a,parseInt(t.config.dataLabels.style.fontSize,10))})(e[2]-e[0],e[3]-e[1])}},{key:"rotateToFitLabel",value:function(e,t,a,i,r,n,o){var l=new E(this.ctx),c=l.getTextRects(a,t);if(c.width+this.w.config.stroke.width+5>n-i&&c.width<=o-r){var h=l.rotateAroundCenter(e.node);e.node.setAttribute("transform","rotate(-90 ".concat(h.x," ").concat(h.y,") translate(").concat(c.height/3,")"))}}},{key:"truncateLabels",value:function(e,t,a,i,r,n){var o=new E(this.ctx),l=o.getTextRects(e,t).width+this.w.config.stroke.width+5>r-a&&n-i>r-a?n-i:r-a,c=o.getTextBasedOnMaxWidth({text:e,maxWidth:l,fontSize:t});return e.length!==c.length&&l/t<5?"":c}},{key:"animateTreemap",value:function(e,t,a,i){var r=new Ut(this.ctx);r.animateRect(e,t,a,i,(function(){r.animationCompleted(e)}))}}]),s})(),wo=86400,yd=10/wo,wd=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w,this.timeScaleArray=[],this.utc=this.w.config.xaxis.labels.datetimeUTC}return V(s,[{key:"calculateTimeScaleTicks",value:function(e,t){var a=this,i=this.w;if(i.globals.allSeriesCollapsed)return i.globals.labels=[],i.globals.timescaleLabels=[],[];var r=new ze(this.ctx),n=(t-e)/864e5;this.determineInterval(n),i.globals.disableZoomIn=!1,i.globals.disableZoomOut=!1,n<yd?i.globals.disableZoomIn=!0:n>5e4&&(i.globals.disableZoomOut=!0);var o=r.getTimeUnitsfromTimestamp(e,t,this.utc),l=i.globals.gridWidth/n,c=l/24,h=c/60,d=h/60,u=Math.floor(24*n),g=Math.floor(1440*n),p=Math.floor(n*wo),f=Math.floor(n),m=Math.floor(n/30),v=Math.floor(n/365),b={minMillisecond:o.minMillisecond,minSecond:o.minSecond,minMinute:o.minMinute,minHour:o.minHour,minDate:o.minDate,minMonth:o.minMonth,minYear:o.minYear},w={firstVal:b,currentMillisecond:b.minMillisecond,currentSecond:b.minSecond,currentMinute:b.minMinute,currentHour:b.minHour,currentMonthDate:b.minDate,currentDate:b.minDate,currentMonth:b.minMonth,currentYear:b.minYear,daysWidthOnXAxis:l,hoursWidthOnXAxis:c,minutesWidthOnXAxis:h,secondsWidthOnXAxis:d,numberOfSeconds:p,numberOfMinutes:g,numberOfHours:u,numberOfDays:f,numberOfMonths:m,numberOfYears:v};switch(this.tickInterval){case"years":this.generateYearScale(w);break;case"months":case"half_year":this.generateMonthScale(w);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(w);break;case"hours":this.generateHourScale(w);break;case"minutes_fives":case"minutes":this.generateMinuteScale(w);break;case"seconds_tens":case"seconds_fives":case"seconds":this.generateSecondScale(w)}var k=this.timeScaleArray.map((function(y){var A={position:y.position,unit:y.unit,year:y.year,day:y.day?y.day:1,hour:y.hour?y.hour:0,month:y.month+1};return y.unit==="month"?F(F({},A),{},{day:1,value:y.value+1}):y.unit==="day"||y.unit==="hour"?F(F({},A),{},{value:y.value}):y.unit==="minute"?F(F({},A),{},{value:y.value,minute:y.value}):y.unit==="second"?F(F({},A),{},{value:y.value,minute:y.minute,second:y.second}):y}));return k.filter((function(y){var A=1,C=Math.ceil(i.globals.gridWidth/120),S=y.value;i.config.xaxis.tickAmount!==void 0&&(C=i.config.xaxis.tickAmount),k.length>C&&(A=Math.floor(k.length/C));var M=!1,I=!1;switch(a.tickInterval){case"years":y.unit==="year"&&(M=!0);break;case"half_year":A=7,y.unit==="year"&&(M=!0);break;case"months":A=1,y.unit==="year"&&(M=!0);break;case"months_fortnight":A=15,y.unit!=="year"&&y.unit!=="month"||(M=!0),S===30&&(I=!0);break;case"months_days":A=10,y.unit==="month"&&(M=!0),S===30&&(I=!0);break;case"week_days":A=8,y.unit==="month"&&(M=!0);break;case"days":A=1,y.unit==="month"&&(M=!0);break;case"hours":y.unit==="day"&&(M=!0);break;case"minutes_fives":case"seconds_fives":S%5!=0&&(I=!0);break;case"seconds_tens":S%10!=0&&(I=!0)}if(a.tickInterval==="hours"||a.tickInterval==="minutes_fives"||a.tickInterval==="seconds_tens"||a.tickInterval==="seconds_fives"){if(!I)return!0}else if((S%A==0||M)&&!I)return!0}))}},{key:"recalcDimensionsBasedOnFormat",value:function(e,t){var a=this.w,i=this.formatDates(e),r=this.removeOverlappingTS(i);a.globals.timescaleLabels=r.slice(),new ti(this.ctx).plotCoords()}},{key:"determineInterval",value:function(e){var t=24*e,a=60*t;switch(!0){case e/365>5:this.tickInterval="years";break;case e>800:this.tickInterval="half_year";break;case e>180:this.tickInterval="months";break;case e>90:this.tickInterval="months_fortnight";break;case e>60:this.tickInterval="months_days";break;case e>30:this.tickInterval="week_days";break;case e>2:this.tickInterval="days";break;case t>2.4:this.tickInterval="hours";break;case a>15:this.tickInterval="minutes_fives";break;case a>5:this.tickInterval="minutes";break;case a>1:this.tickInterval="seconds_tens";break;case 60*a>20:this.tickInterval="seconds_fives";break;default:this.tickInterval="seconds"}}},{key:"generateYearScale",value:function(e){var t=e.firstVal,a=e.currentMonth,i=e.currentYear,r=e.daysWidthOnXAxis,n=e.numberOfYears,o=t.minYear,l=0,c=new ze(this.ctx),h="year";if(t.minDate>1||t.minMonth>0){var d=c.determineRemainingDaysOfYear(t.minYear,t.minMonth,t.minDate);l=(c.determineDaysOfYear(t.minYear)-d+1)*r,o=t.minYear+1,this.timeScaleArray.push({position:l,value:o,unit:h,year:o,month:L.monthMod(a+1)})}else t.minDate===1&&t.minMonth===0&&this.timeScaleArray.push({position:l,value:o,unit:h,year:i,month:L.monthMod(a+1)});for(var u=o,g=l,p=0;p<n;p++)u++,g=c.determineDaysOfYear(u-1)*r+g,this.timeScaleArray.push({position:g,value:u,unit:h,year:u,month:1})}},{key:"generateMonthScale",value:function(e){var t=e.firstVal,a=e.currentMonthDate,i=e.currentMonth,r=e.currentYear,n=e.daysWidthOnXAxis,o=e.numberOfMonths,l=i,c=0,h=new ze(this.ctx),d="month",u=0;if(t.minDate>1){c=(h.determineDaysOfMonths(i+1,t.minYear)-a+1)*n,l=L.monthMod(i+1);var g=r+u,p=L.monthMod(l),f=l;l===0&&(d="year",f=g,p=1,g+=u+=1),this.timeScaleArray.push({position:c,value:f,unit:d,year:g,month:p})}else this.timeScaleArray.push({position:c,value:l,unit:d,year:r,month:L.monthMod(i)});for(var m=l+1,v=c,b=0,w=1;b<o;b++,w++){(m=L.monthMod(m))===0?(d="year",u+=1):d="month";var k=this._getYear(r,m,u);v=h.determineDaysOfMonths(m,k)*n+v;var y=m===0?k:m;this.timeScaleArray.push({position:v,value:y,unit:d,year:k,month:m===0?1:m}),m++}}},{key:"generateDayScale",value:function(e){var t=e.firstVal,a=e.currentMonth,i=e.currentYear,r=e.hoursWidthOnXAxis,n=e.numberOfDays,o=new ze(this.ctx),l="day",c=t.minDate+1,h=c,d=function(w,k,y){return w>o.determineDaysOfMonths(k+1,y)&&(h=1,l="month",g=k+=1),k},u=(24-t.minHour)*r,g=c,p=d(h,a,i);t.minHour===0&&t.minDate===1?(u=0,g=L.monthMod(t.minMonth),l="month",h=t.minDate):t.minDate!==1&&t.minHour===0&&t.minMinute===0&&(u=0,c=t.minDate,g=c,p=d(h=c,a,i),g!==1&&(l="day")),this.timeScaleArray.push({position:u,value:g,unit:l,year:this._getYear(i,p,0),month:L.monthMod(p),day:h});for(var f=u,m=0;m<n;m++){l="day",p=d(h+=1,p,this._getYear(i,p,0));var v=this._getYear(i,p,0);f=24*r+f;var b=h===1?L.monthMod(p):h;this.timeScaleArray.push({position:f,value:b,unit:l,year:v,month:L.monthMod(p),day:b})}}},{key:"generateHourScale",value:function(e){var t=e.firstVal,a=e.currentDate,i=e.currentMonth,r=e.currentYear,n=e.minutesWidthOnXAxis,o=e.numberOfHours,l=new ze(this.ctx),c="hour",h=function(A,C){return A>l.determineDaysOfMonths(C+1,r)&&(m=1,C+=1),{month:C,date:m}},d=function(A,C){return A>l.determineDaysOfMonths(C+1,r)?C+=1:C},u=60-(t.minMinute+t.minSecond/60),g=u*n,p=t.minHour+1,f=p;u===60&&(g=0,f=p=t.minHour);var m=a;f>=24&&(f=0,c="day",p=m+=1);var v=h(m,i).month;v=d(m,v),p>31&&(p=m=1),this.timeScaleArray.push({position:g,value:p,unit:c,day:m,hour:f,year:r,month:L.monthMod(v)}),f++;for(var b=g,w=0;w<o;w++){c="hour",f>=24&&(f=0,c="day",v=h(m+=1,v).month,v=d(m,v));var k=this._getYear(r,v,0);b=60*n+b;var y=f===0?m:f;this.timeScaleArray.push({position:b,value:y,unit:c,hour:f,day:m,year:k,month:L.monthMod(v)}),f++}}},{key:"generateMinuteScale",value:function(e){for(var t=e.currentMillisecond,a=e.currentSecond,i=e.currentMinute,r=e.currentHour,n=e.currentDate,o=e.currentMonth,l=e.currentYear,c=e.minutesWidthOnXAxis,h=e.secondsWidthOnXAxis,d=e.numberOfMinutes,u=i+1,g=n,p=o,f=l,m=r,v=(60-a-t/1e3)*h,b=0;b<d;b++)u>=60&&(u=0,(m+=1)===24&&(m=0)),this.timeScaleArray.push({position:v,value:u,unit:"minute",hour:m,minute:u,day:g,year:this._getYear(f,p,0),month:L.monthMod(p)}),v+=c,u++}},{key:"generateSecondScale",value:function(e){for(var t=e.currentMillisecond,a=e.currentSecond,i=e.currentMinute,r=e.currentHour,n=e.currentDate,o=e.currentMonth,l=e.currentYear,c=e.secondsWidthOnXAxis,h=e.numberOfSeconds,d=a+1,u=i,g=n,p=o,f=l,m=r,v=(1e3-t)/1e3*c,b=0;b<h;b++)d>=60&&(d=0,++u>=60&&(u=0,++m===24&&(m=0))),this.timeScaleArray.push({position:v,value:d,unit:"second",hour:m,minute:u,second:d,day:g,year:this._getYear(f,p,0),month:L.monthMod(p)}),v+=c,d++}},{key:"createRawDateString",value:function(e,t){var a=e.year;return e.month===0&&(e.month=1),a+="-"+("0"+e.month.toString()).slice(-2),e.unit==="day"?a+=e.unit==="day"?"-"+("0"+t).slice(-2):"-01":a+="-"+("0"+(e.day?e.day:"1")).slice(-2),e.unit==="hour"?a+=e.unit==="hour"?"T"+("0"+t).slice(-2):"T00":a+="T"+("0"+(e.hour?e.hour:"0")).slice(-2),e.unit==="minute"?a+=":"+("0"+t).slice(-2):a+=":"+(e.minute?("0"+e.minute).slice(-2):"00"),e.unit==="second"?a+=":"+("0"+t).slice(-2):a+=":00",this.utc&&(a+=".000Z"),a}},{key:"formatDates",value:function(e){var t=this,a=this.w;return e.map((function(i){var r=i.value.toString(),n=new ze(t.ctx),o=t.createRawDateString(i,r),l=n.getDate(n.parseDate(o));if(t.utc||(l=n.getDate(n.parseDateWithTimezone(o))),a.config.xaxis.labels.format===void 0){var c="dd MMM",h=a.config.xaxis.labels.datetimeFormatter;i.unit==="year"&&(c=h.year),i.unit==="month"&&(c=h.month),i.unit==="day"&&(c=h.day),i.unit==="hour"&&(c=h.hour),i.unit==="minute"&&(c=h.minute),i.unit==="second"&&(c=h.second),r=n.formatDate(l,c)}else r=n.formatDate(l,a.config.xaxis.labels.format);return{dateString:o,position:i.position,value:r,unit:i.unit,year:i.year,month:i.month}}))}},{key:"removeOverlappingTS",value:function(e){var t,a=this,i=new E(this.ctx),r=!1;e.length>0&&e[0].value&&e.every((function(l){return l.value.length===e[0].value.length}))&&(r=!0,t=i.getTextRects(e[0].value).width);var n=0,o=e.map((function(l,c){if(c>0&&a.w.config.xaxis.labels.hideOverlappingLabels){var h=r?t:i.getTextRects(e[n].value).width,d=e[n].position;return l.position>d+h+10?(n=c,l):null}return l}));return o=o.filter((function(l){return l!==null}))}},{key:"_getYear",value:function(e,t,a){return e+Math.floor(t/12)+a}}]),s})(),Cd=(function(){function s(e,t){N(this,s),this.ctx=t,this.w=t.w,this.el=e}return V(s,[{key:"setupElements",value:function(){var e=this.w,t=e.globals,a=e.config,i=a.chart.type;t.axisCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble","radar","heatmap","treemap"].includes(i),t.xyCharts=["line","area","bar","rangeBar","rangeArea","candlestick","boxPlot","scatter","bubble"].includes(i),t.isBarHorizontal=["bar","rangeBar","boxPlot"].includes(i)&&a.plotOptions.bar.horizontal,t.chartClass=".apexcharts".concat(t.chartID),t.dom.baseEl=this.el,t.dom.elWrap=document.createElement("div"),E.setAttrs(t.dom.elWrap,{id:t.chartClass.substring(1),class:"apexcharts-canvas ".concat(t.chartClass.substring(1))}),this.el.appendChild(t.dom.elWrap),t.dom.Paper=window.SVG().addTo(t.dom.elWrap),t.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(a.chart.offsetX,", ").concat(a.chart.offsetY,")")}),t.dom.Paper.node.style.background=a.theme.mode!=="dark"||a.chart.background?a.theme.mode!=="light"||a.chart.background?a.chart.background:"#fff":"#343A3F",this.setSVGDimensions(),t.dom.elLegendForeign=document.createElementNS(t.SVGNS,"foreignObject"),E.setAttrs(t.dom.elLegendForeign,{x:0,y:0,width:t.svgWidth,height:t.svgHeight}),t.dom.elLegendWrap=document.createElement("div"),t.dom.elLegendWrap.classList.add("apexcharts-legend"),t.dom.elWrap.appendChild(t.dom.elLegendWrap),t.dom.Paper.node.appendChild(t.dom.elLegendForeign),t.dom.elGraphical=t.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),t.dom.elDefs=t.dom.Paper.defs(),t.dom.Paper.add(t.dom.elGraphical),t.dom.elGraphical.add(t.dom.elDefs)}},{key:"plotChartType",value:function(e,t){var a=this.w,i=this.ctx,r=a.config,n=a.globals,o={line:{series:[],i:[]},area:{series:[],i:[]},scatter:{series:[],i:[]},bubble:{series:[],i:[]},bar:{series:[],i:[]},candlestick:{series:[],i:[]},boxPlot:{series:[],i:[]},rangeBar:{series:[],i:[]},rangeArea:{series:[],seriesRangeEnd:[],i:[]}},l=r.chart.type||"line",c=null,h=0;n.series.forEach((function(A,C){var S,M,I=((S=e[C])===null||S===void 0?void 0:S.type)==="column"?"bar":((M=e[C])===null||M===void 0?void 0:M.type)||(l==="column"?"bar":l);o[I]?(I==="rangeArea"?(o[I].series.push(n.seriesRangeStart[C]),o[I].seriesRangeEnd.push(n.seriesRangeEnd[C])):o[I].series.push(A),o[I].i.push(C),I==="bar"&&(a.globals.columnSeries=o.bar)):["heatmap","treemap","pie","donut","polarArea","radialBar","radar"].includes(I)?c=I:console.warn("You have specified an unrecognized series type (".concat(I,").")),l!==I&&I!=="scatter"&&h++})),h>0&&(c&&console.warn("Chart or series type ".concat(c," cannot appear with other chart or series types.")),o.bar.series.length>0&&r.plotOptions.bar.horizontal&&(h-=o.bar.series.length,o.bar={series:[],i:[]},a.globals.columnSeries={series:[],i:[]},console.warn("Horizontal bars are not supported in a mixed/combo chart. Please turn off `plotOptions.bar.horizontal`"))),n.comboCharts||(n.comboCharts=h>0);var d=new ji(i,t),u=new Hi(i,t);i.pie=new yo(i);var g=new gd(i);i.rangeBar=new fd(i,t);var p=new ud(i),f=[];if(n.comboCharts){var m,v,b=new Ae(i);if(o.area.series.length>0&&(m=f).push.apply(m,Re(b.drawSeriesByGroup(o.area,n.areaGroups,"area",d))),o.bar.series.length>0)if(r.chart.stacked){var w=new Mr(i,t);f.push(w.draw(o.bar.series,o.bar.i))}else i.bar=new Gt(i,t),f.push(i.bar.draw(o.bar.series,o.bar.i));if(o.rangeArea.series.length>0&&f.push(d.draw(o.rangeArea.series,"rangeArea",o.rangeArea.i,o.rangeArea.seriesRangeEnd)),o.line.series.length>0&&(v=f).push.apply(v,Re(b.drawSeriesByGroup(o.line,n.lineGroups,"line",d))),o.candlestick.series.length>0&&f.push(u.draw(o.candlestick.series,"candlestick",o.candlestick.i)),o.boxPlot.series.length>0&&f.push(u.draw(o.boxPlot.series,"boxPlot",o.boxPlot.i)),o.rangeBar.series.length>0&&f.push(i.rangeBar.draw(o.rangeBar.series,o.rangeBar.i)),o.scatter.series.length>0){var k=new ji(i,t,!0);f.push(k.draw(o.scatter.series,"scatter",o.scatter.i))}if(o.bubble.series.length>0){var y=new ji(i,t,!0);f.push(y.draw(o.bubble.series,"bubble",o.bubble.i))}}else switch(r.chart.type){case"line":f=d.draw(n.series,"line");break;case"area":f=d.draw(n.series,"area");break;case"bar":r.chart.stacked?f=new Mr(i,t).draw(n.series):(i.bar=new Gt(i,t),f=i.bar.draw(n.series));break;case"candlestick":f=new Hi(i,t).draw(n.series,"candlestick");break;case"boxPlot":f=new Hi(i,t).draw(n.series,r.chart.type);break;case"rangeBar":f=i.rangeBar.draw(n.series);break;case"rangeArea":f=d.draw(n.seriesRangeStart,"rangeArea",void 0,n.seriesRangeEnd);break;case"heatmap":f=new dd(i,t).draw(n.series);break;case"treemap":f=new bd(i,t).draw(n.series);break;case"pie":case"donut":case"polarArea":f=i.pie.draw(n.series);break;case"radialBar":f=g.draw(n.series);break;case"radar":f=p.draw(n.series);break;default:f=d.draw(n.series)}return f}},{key:"setSVGDimensions",value:function(){var e=this.w,t=e.globals,a=e.config;a.chart.width=a.chart.width||"100%",a.chart.height=a.chart.height||"auto",t.svgWidth=a.chart.width,t.svgHeight=a.chart.height;var i=L.getDimensions(this.el),r=a.chart.width.toString().split(/[0-9]+/g).pop();r==="%"?L.isNumber(i[0])&&(i[0].width===0&&(i=L.getDimensions(this.el.parentNode)),t.svgWidth=i[0]*parseInt(a.chart.width,10)/100):r!=="px"&&r!==""||(t.svgWidth=parseInt(a.chart.width,10));var n=String(a.chart.height).toString().split(/[0-9]+/g).pop();if(t.svgHeight!=="auto"&&t.svgHeight!=="")if(n==="%"){var o=L.getDimensions(this.el.parentNode);t.svgHeight=o[1]*parseInt(a.chart.height,10)/100}else t.svgHeight=parseInt(a.chart.height,10);else t.svgHeight=t.axisCharts?t.svgWidth/1.61:t.svgWidth/1.2;if(t.svgWidth=Math.max(t.svgWidth,0),t.svgHeight=Math.max(t.svgHeight,0),E.setAttrs(t.dom.Paper.node,{width:t.svgWidth,height:t.svgHeight}),n!=="%"){var l=a.chart.sparkline.enabled?0:t.axisCharts?a.chart.parentHeightOffset:0;t.dom.Paper.node.parentNode.parentNode.style.minHeight="".concat(t.svgHeight+l,"px")}t.dom.elWrap.style.width="".concat(t.svgWidth,"px"),t.dom.elWrap.style.height="".concat(t.svgHeight,"px")}},{key:"shiftGraphPosition",value:function(){var e=this.w.globals,t=e.translateY,a=e.translateX;E.setAttrs(e.dom.elGraphical.node,{transform:"translate(".concat(a,", ").concat(t,")")})}},{key:"resizeNonAxisCharts",value:function(){var e=this.w,t=e.globals,a=0,i=e.config.chart.sparkline.enabled?1:15;i+=e.config.grid.padding.bottom,["top","bottom"].includes(e.config.legend.position)&&e.config.legend.show&&!e.config.legend.floating&&(a=new fo(this.ctx).legendHelpers.getLegendDimensions().clwh+7);var r=e.globals.dom.baseEl.querySelector(".apexcharts-radialbar, .apexcharts-pie"),n=2.05*e.globals.radialSize;if(r&&!e.config.chart.sparkline.enabled&&e.config.plotOptions.radialBar.startAngle!==0){var o=L.getBoundingClientRect(r);n=o.bottom;var l=o.bottom-o.top;n=Math.max(2.05*e.globals.radialSize,l)}var c=Math.ceil(n+t.translateY+a+i);t.dom.elLegendForeign&&t.dom.elLegendForeign.setAttribute("height",c),e.config.chart.height&&String(e.config.chart.height).includes("%")||(t.dom.elWrap.style.height="".concat(c,"px"),E.setAttrs(t.dom.Paper.node,{height:c}),t.dom.Paper.node.parentNode.parentNode.style.minHeight="".concat(c,"px"))}},{key:"coreCalculations",value:function(){new ps(this.ctx).init()}},{key:"resetGlobals",value:function(){var e=this,t=function(){return e.w.config.series.map((function(){return[]}))},a=new lo,i=this.w.globals,r={dataWasParsed:i.dataWasParsed,originalSeries:i.originalSeries};a.initGlobalVars(i),i.seriesXvalues=t(),i.seriesYvalues=t(),r.dataWasParsed&&(i.dataWasParsed=r.dataWasParsed,i.originalSeries=r.originalSeries)}},{key:"isMultipleY",value:function(){return!!(Array.isArray(this.w.config.yaxis)&&this.w.config.yaxis.length>1)&&(this.w.globals.isMultipleYAxis=!0,!0)}},{key:"xySettings",value:function(){var e=this.w,t=null;if(e.globals.axisCharts){if(e.config.xaxis.crosshairs.position==="back"&&new xs(this.ctx).drawXCrosshairs(),e.config.yaxis[0].crosshairs.position==="back"&&new xs(this.ctx).drawYCrosshairs(),e.config.xaxis.type==="datetime"&&e.config.xaxis.labels.formatter===void 0){this.ctx.timeScale=new wd(this.ctx);var a=[];isFinite(e.globals.minX)&&isFinite(e.globals.maxX)&&!e.globals.isBarHorizontal?a=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minX,e.globals.maxX):e.globals.isBarHorizontal&&(a=this.ctx.timeScale.calculateTimeScaleTicks(e.globals.minY,e.globals.maxY)),this.ctx.timeScale.recalcDimensionsBasedOnFormat(a)}t=new Ae(this.ctx).getCalculatedRatios()}return t}},{key:"updateSourceChart",value:function(e){this.ctx.w.globals.selection=void 0,this.ctx.updateHelpers._updateOptions({chart:{selection:{xaxis:{min:e.w.globals.minX,max:e.w.globals.maxX}}}},!1,!1)}},{key:"setupBrushHandler",value:function(){var e=this,t=this.ctx,a=this.w;if(a.config.chart.brush.enabled&&typeof a.config.chart.events.selection!="function"){var i=Array.isArray(a.config.chart.brush.targets)?a.config.chart.brush.targets:[a.config.chart.brush.target];i.forEach((function(r){var n=t.constructor.getChartByID(r);n.w.globals.brushSource=e.ctx,typeof n.w.config.chart.events.zoomed!="function"&&(n.w.config.chart.events.zoomed=function(){return e.updateSourceChart(n)}),typeof n.w.config.chart.events.scrolled!="function"&&(n.w.config.chart.events.scrolled=function(){return e.updateSourceChart(n)})})),a.config.chart.events.selection=function(r,n){i.forEach((function(o){t.constructor.getChartByID(o).ctx.updateHelpers._updateOptions({xaxis:{min:n.xaxis.min,max:n.xaxis.max}},!1,!1,!1,!1)}))}}}}]),s})(),kd=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"_updateOptions",value:function(e){var t=this,a=arguments.length>1&&arguments[1]!==void 0&&arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],n=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return new Promise((function(o){var l=[t.ctx];r&&(l=t.ctx.getSyncedCharts()),t.ctx.w.globals.isExecCalled&&(l=[t.ctx],t.ctx.w.globals.isExecCalled=!1),l.forEach((function(c,h){var d=c.w;if(d.globals.shouldAnimate=i,a||(d.globals.resized=!0,d.globals.dataChanged=!0,i&&c.series.getPreviousPaths()),e&&je(e)==="object"&&(c.config=new fa(e),e=Ae.extendArrayProps(c.config,e,d),c.w.globals.chartID!==t.ctx.w.globals.chartID&&delete e.series,d.config=L.extend(d.config,e),n&&(d.globals.lastXAxis=e.xaxis?L.clone(e.xaxis):[],d.globals.lastYAxis=e.yaxis?L.clone(e.yaxis):[],d.globals.initialConfig=L.extend({},d.config),d.globals.initialSeries=L.clone(d.config.series),e.series))){for(var u=0;u<d.globals.collapsedSeriesIndices.length;u++){var g=d.config.series[d.globals.collapsedSeriesIndices[u]];d.globals.collapsedSeries[u].data=d.globals.axisCharts?g.data.slice():g}for(var p=0;p<d.globals.ancillaryCollapsedSeriesIndices.length;p++){var f=d.config.series[d.globals.ancillaryCollapsedSeriesIndices[p]];d.globals.ancillaryCollapsedSeries[p].data=d.globals.axisCharts?f.data.slice():f}c.series.emptyCollapsedSeries(d.config.series)}return c.update(e).then((function(){h===l.length-1&&o(c)}))}))}))}},{key:"_updateSeries",value:function(e,t){var a=this,i=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return new Promise((function(r){var n=a.w;return n.globals.shouldAnimate=t,n.globals.dataChanged=!0,t&&a.ctx.series.getPreviousPaths(),a.ctx.data.resetParsingFlags(),a.ctx.data.parseData(e),i&&(n.globals.initialConfig.series=L.clone(n.config.series),n.globals.initialSeries=L.clone(n.config.series)),a.ctx.update().then((function(){r(a.ctx)}))}))}},{key:"_extendSeries",value:function(e,t){var a=this.w,i=a.config.series[t];return F(F({},a.config.series[t]),{},{name:e.name?e.name:i?.name,color:e.color?e.color:i?.color,type:e.type?e.type:i?.type,group:e.group?e.group:i?.group,hidden:e.hidden!==void 0?e.hidden:i?.hidden,data:e.data?e.data:i?.data,zIndex:e.zIndex!==void 0?e.zIndex:t})}},{key:"toggleDataPointSelection",value:function(e,t){var a=this.w,i=null,r=".apexcharts-series[data\\:realIndex='".concat(e,"']");return a.globals.axisCharts?i=a.globals.dom.Paper.findOne("".concat(r," path[j='").concat(t,"'], ").concat(r," circle[j='").concat(t,"'], ").concat(r," rect[j='").concat(t,"']")):t===void 0&&(i=a.globals.dom.Paper.findOne("".concat(r," path[j='").concat(e,"']")),a.config.chart.type!=="pie"&&a.config.chart.type!=="polarArea"&&a.config.chart.type!=="donut"||this.ctx.pie.pieClicked(e)),i?(new E(this.ctx).pathMouseDown(i,null),i.node?i.node:null):(console.warn("toggleDataPointSelection: Element not found"),null)}},{key:"forceXAxisUpdate",value:function(e){var t=this.w;if(["min","max"].forEach((function(i){e.xaxis[i]!==void 0&&(t.config.xaxis[i]=e.xaxis[i],t.globals.lastXAxis[i]=e.xaxis[i])})),e.xaxis.categories&&e.xaxis.categories.length&&(t.config.xaxis.categories=e.xaxis.categories),t.config.xaxis.convertedCatToNumeric){var a=new ga(e);e=a.convertCatToNumericXaxis(e,this.ctx)}return e}},{key:"forceYAxisUpdate",value:function(e){return e.chart&&e.chart.stacked&&e.chart.stackType==="100%"&&(Array.isArray(e.yaxis)?e.yaxis.forEach((function(t,a){e.yaxis[a].min=0,e.yaxis[a].max=100})):(e.yaxis.min=0,e.yaxis.max=100)),e}},{key:"revertDefaultAxisMinMax",value:function(e){var t=this,a=this.w,i=a.globals.lastXAxis,r=a.globals.lastYAxis;e&&e.xaxis&&(i=e.xaxis),e&&e.yaxis&&(r=e.yaxis),a.config.xaxis.min=i.min,a.config.xaxis.max=i.max;var n=function(o){r[o]!==void 0&&(a.config.yaxis[o].min=r[o].min,a.config.yaxis[o].max=r[o].max)};a.config.yaxis.map((function(o,l){a.globals.zoomed||r[l]!==void 0?n(l):t.ctx.opts.yaxis[l]!==void 0&&(o.min=t.ctx.opts.yaxis[l].min,o.max=t.ctx.opts.yaxis[l].max)}))}}]),s})();(function(){function s(){for(var r=arguments.length>0&&arguments[0]!==d?arguments[0]:[],n=arguments.length>1?arguments[1]:d,o=arguments.length>2?arguments[2]:d,l=arguments.length>3?arguments[3]:d,c=arguments.length>4?arguments[4]:d,h=arguments.length>5?arguments[5]:d,d=arguments.length>6?arguments[6]:d,u=r.slice(n,o||d),g=l.slice(c,h||d),p=0,f={pos:[0,0],start:[0,0]},m={pos:[0,0],start:[0,0]};u[p]=e.call(f,u[p]),g[p]=e.call(m,g[p]),u[p][0]!=g[p][0]||u[p][0]=="M"||u[p][0]=="A"&&(u[p][4]!=g[p][4]||u[p][5]!=g[p][5])?(Array.prototype.splice.apply(u,[p,1].concat(a.call(f,u[p]))),Array.prototype.splice.apply(g,[p,1].concat(a.call(m,g[p])))):(u[p]=t.call(f,u[p]),g[p]=t.call(m,g[p])),!(++p==u.length&&p==g.length);)p==u.length&&u.push(["C",f.pos[0],f.pos[1],f.pos[0],f.pos[1],f.pos[0],f.pos[1]]),p==g.length&&g.push(["C",m.pos[0],m.pos[1],m.pos[0],m.pos[1],m.pos[0],m.pos[1]]);return{start:u,dest:g}}function e(r){switch(r[0]){case"z":case"Z":r[0]="L",r[1]=this.start[0],r[2]=this.start[1];break;case"H":r[0]="L",r[2]=this.pos[1];break;case"V":r[0]="L",r[2]=r[1],r[1]=this.pos[0];break;case"T":r[0]="Q",r[3]=r[1],r[4]=r[2],r[1]=this.reflection[1],r[2]=this.reflection[0];break;case"S":r[0]="C",r[6]=r[4],r[5]=r[3],r[4]=r[2],r[3]=r[1],r[2]=this.reflection[1],r[1]=this.reflection[0]}return r}function t(r){var n=r.length;return this.pos=[r[n-2],r[n-1]],"SCQT".indexOf(r[0])!=-1&&(this.reflection=[2*this.pos[0]-r[n-4],2*this.pos[1]-r[n-3]]),r}function a(r){var n=[r];switch(r[0]){case"M":return this.pos=this.start=[r[1],r[2]],n;case"L":r[5]=r[3]=r[1],r[6]=r[4]=r[2],r[1]=this.pos[0],r[2]=this.pos[1];break;case"Q":r[6]=r[4],r[5]=r[3],r[4]=1*r[4]/3+2*r[2]/3,r[3]=1*r[3]/3+2*r[1]/3,r[2]=1*this.pos[1]/3+2*r[2]/3,r[1]=1*this.pos[0]/3+2*r[1]/3;break;case"A":n=(function(o,l){var c,h,d,u,g,p,f,m,v,b,w,k,y,A,C,S,M,I,R,P,_,O,H,T,D,B,X=Math.abs(l[1]),Y=Math.abs(l[2]),W=l[3]%360,U=l[4],re=l[5],J=l[6],xe=l[7],Q=new ge(o),ee=new ge(J,xe),ae=[];if(X===0||Y===0||Q.x===ee.x&&Q.y===ee.y)return[["C",Q.x,Q.y,ee.x,ee.y,ee.x,ee.y]];for(c=new ge((Q.x-ee.x)/2,(Q.y-ee.y)/2).transform(new G().rotate(W)),h=c.x*c.x/(X*X)+c.y*c.y/(Y*Y),h>1&&(X*=h=Math.sqrt(h),Y*=h),d=new G().rotate(W).scale(1/X,1/Y).rotate(-W),Q=Q.transform(d),ee=ee.transform(d),u=[ee.x-Q.x,ee.y-Q.y],p=u[0]*u[0]+u[1]*u[1],g=Math.sqrt(p),u[0]/=g,u[1]/=g,f=p<4?Math.sqrt(1-p/4):0,U===re&&(f*=-1),m=new ge((ee.x+Q.x)/2+f*-u[1],(ee.y+Q.y)/2+f*u[0]),v=new ge(Q.x-m.x,Q.y-m.y),b=new ge(ee.x-m.x,ee.y-m.y),w=Math.acos(v.x/Math.sqrt(v.x*v.x+v.y*v.y)),v.y<0&&(w*=-1),k=Math.acos(b.x/Math.sqrt(b.x*b.x+b.y*b.y)),b.y<0&&(k*=-1),re&&w>k&&(k+=2*Math.PI),!re&&w<k&&(k-=2*Math.PI),A=Math.ceil(2*Math.abs(w-k)/Math.PI),S=[],M=w,y=(k-w)/A,C=4*Math.tan(y/4)/3,_=0;_<=A;_++)R=Math.cos(M),I=Math.sin(M),P=new ge(m.x+R,m.y+I),S[_]=[new ge(P.x+C*I,P.y-C*R),P,new ge(P.x-C*I,P.y+C*R)],M+=y;for(S[0][0]=S[0][1].clone(),S[S.length-1][2]=S[S.length-1][1].clone(),d=new G().rotate(W).scale(X,Y).rotate(-W),_=0,O=S.length;_<O;_++)S[_][0]=S[_][0].transform(d),S[_][1]=S[_][1].transform(d),S[_][2]=S[_][2].transform(d);for(_=1,O=S.length;_<O;_++)H=(P=S[_-1][2]).x,T=P.y,D=(P=S[_][0]).x,B=P.y,J=(P=S[_][1]).x,xe=P.y,ae.push(["C",H,T,D,B,J,xe]);return ae})(this.pos,r),r=n[0]}return r[0]="C",this.pos=[r[5],r[6]],this.reflection=[2*r[5]-r[3],2*r[6]-r[4]],n}function i(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;if(n===!1)return!1;for(var o=n,l=r.length;o<l;++o)if(r[o][0]=="M")return o;return!1}q(Qe,{morph:function(r,n,o,l,c){for(var h=this.parse(r),d=this.parse(n),u=0,g=0,p=!1,f=!1;u!==!1||g!==!1;){var m;p=i(h,u!==!1&&u+1),f=i(d,g!==!1&&g+1),u===!1&&(u=(m=new Qe(v.start).bbox()).height==0||m.width==0?h.push(h[0])-1:h.push(["M",m.x+m.width/2,m.y+m.height/2])-1),g===!1&&(g=(m=new Qe(v.dest).bbox()).height==0||m.width==0?d.push(d[0])-1:d.push(["M",m.x+m.width/2,m.y+m.height/2])-1);var v=s(h,u,p,d,g,f);h=h.slice(0,u).concat(v.start,p===!1?[]:h.slice(p)),d=d.slice(0,g).concat(v.dest,f===!1?[]:d.slice(f)),u=p!==!1&&u+v.start.length,g=f!==!1&&g+v.dest.length}this._array=h,this.destination=new Qe,this.destination._array=d;var b=this.fromArray(h.map((function(w,k){var y=d[k].map((function(A,C){return C===0?A:l.step(w[C],d[k][C],o,c[k],c)}));return y})));return b}})})();const Ir=s=>(s.changedTouches&&(s=s.changedTouches[0]),{x:s.clientX,y:s.clientY});class Ad{constructor(e){e.remember("_draggable",this),this.el=e,this.drag=this.drag.bind(this),this.startDrag=this.startDrag.bind(this),this.endDrag=this.endDrag.bind(this)}init(e){e?(this.el.on("mousedown.drag",this.startDrag),this.el.on("touchstart.drag",this.startDrag,{passive:!1})):(this.el.off("mousedown.drag"),this.el.off("touchstart.drag"))}startDrag(e){const t=!e.type.indexOf("mouse");if(t&&e.which!==1&&e.buttons!==0||this.el.dispatch("beforedrag",{event:e,handler:this}).defaultPrevented)return;e.preventDefault(),e.stopPropagation(),this.init(!1),this.box=this.el.bbox(),this.lastClick=this.el.point(Ir(e));const a=(t?"mouseup":"touchend")+".drag";lt(window,(t?"mousemove":"touchmove")+".drag",this.drag,this,{passive:!1}),lt(window,a,this.endDrag,this,{passive:!1}),this.el.fire("dragstart",{event:e,handler:this,box:this.box})}drag(e){const{box:t,lastClick:a}=this,i=this.el.point(Ir(e)),r=i.x-a.x,n=i.y-a.y;if(!r&&!n)return t;const o=t.x+r,l=t.y+n;this.box=new ke(o,l,t.w,t.h),this.lastClick=i,this.el.dispatch("dragmove",{event:e,handler:this,box:this.box}).defaultPrevented||this.move(o,l)}move(e,t){this.el.type==="svg"?bt.prototype.move.call(this.el,e,t):this.el.move(e,t)}endDrag(e){this.drag(e),this.el.fire("dragend",{event:e,handler:this,box:this.box}),qe(window,"mousemove.drag"),qe(window,"touchmove.drag"),qe(window,"mouseup.drag"),qe(window,"touchend.drag"),this.init(!0)}}function ms(s,e,t,a=null){return function(i){i.preventDefault(),i.stopPropagation();var r=i.pageX||i.touches[0].pageX,n=i.pageY||i.touches[0].pageY;e.fire(s,{x:r,y:n,event:i,index:a,points:t})}}function vs([s,e],{a:t,b:a,c:i,d:r,e:n,f:o}){return[s*t+e*i+n,s*a+e*r+o]}q(He,{draggable(s=!0){return(this.remember("_draggable")||new Ad(this)).init(s),this}});let Co=class{constructor(s){this.el=s,s.remember("_selectHandler",this),this.selection=new bt,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=Ca();this.observer=new e.MutationObserver(this.mutationHandler)}init(s){this.createHandle=s.createHandle||this.createHandleFn,this.createRot=s.createRot||this.createRotFn,this.updateHandle=s.updateHandle||this.updateHandleFn,this.updateRot=s.updateRot||this.updateRotFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createResizeHandles(),this.updateResizeHandles(),this.createRotationHandle(),this.updateRotationHandle(),this.observer.observe(this.el.node,{attributes:!0})}active(s,e){if(!s)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.handlePoints).addClass("svg_select_shape")}updateSelection(){this.selection.get(0).plot(this.handlePoints)}createResizeHandles(){this.handlePoints.forEach(((s,e,t)=>{const a=this.order[e];this.createHandle.call(this,this.selection,s,e,t,a),this.selection.get(e+1).addClass("svg_select_handle svg_select_handle_"+a).on("mousedown.selection touchstart.selection",ms(a,this.el,this.handlePoints,e))}))}createHandleFn(s){s.polyline()}updateHandleFn(s,e,t,a){const i=a.at(t-1),r=a[(t+1)%a.length],n=e,o=[n[0]-i[0],n[1]-i[1]],l=[n[0]-r[0],n[1]-r[1]],c=Math.sqrt(o[0]*o[0]+o[1]*o[1]),h=Math.sqrt(l[0]*l[0]+l[1]*l[1]),d=[o[0]/c,o[1]/c],u=[l[0]/h,l[1]/h],g=[n[0]-10*d[0],n[1]-10*d[1]],p=[n[0]-10*u[0],n[1]-10*u[1]];s.plot([g,n,p])}updateResizeHandles(){this.handlePoints.forEach(((s,e,t)=>{const a=this.order[e];this.updateHandle.call(this,this.selection.get(e+1),s,e,t,a)}))}createRotFn(s){s.line(),s.circle(5)}getPoint(s){return this.handlePoints[this.order.indexOf(s)]}getPointHandle(s){return this.selection.get(this.order.indexOf(s)+1)}updateRotFn(s,e){const t=this.getPoint("t");s.get(0).plot(t[0],t[1],e[0],e[1]),s.get(1).center(e[0],e[1])}createRotationHandle(){const s=this.selection.group().addClass("svg_select_handle_rot").on("mousedown.selection touchstart.selection",ms("rot",this.el,this.handlePoints));this.createRot.call(this,s)}updateRotationHandle(){const s=this.selection.findOne("g.svg_select_handle_rot");this.updateRot(s,this.rotationPoint,this.handlePoints)}updatePoints(){const s=this.el.bbox(),e=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.handlePoints=this.getHandlePoints(s).map((t=>vs(t,e))),this.rotationPoint=vs(this.getRotationPoint(s),e)}getHandlePoints({x:s,x2:e,y:t,y2:a,cx:i,cy:r}=this.el.bbox()){return[[s,t],[i,t],[e,t],[e,r],[e,a],[i,a],[s,a],[s,r]]}getRotationPoint({y:s,cx:e}=this.el.bbox()){return[e,s-20]}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updateResizeHandles(),this.updateRotationHandle()}};const Lr=s=>function(e=!0,t={}){typeof e=="object"&&(t=e,e=!0);let a=this.remember("_"+s.name);return a||(e.prototype instanceof Co?(a=new e(this),e=!0):a=new s(this),this.remember("_"+s.name,a)),a.active(e,t),this};function bs(s,e,t,a=null){return function(i){i.preventDefault(),i.stopPropagation();var r=i.pageX||i.touches[0].pageX,n=i.pageY||i.touches[0].pageY;e.fire(s,{x:r,y:n,event:i,index:a,points:t})}}function ys([s,e],{a:t,b:a,c:i,d:r,e:n,f:o}){return[s*t+e*i+n,s*a+e*r+o]}q(He,{select:Lr(Co)}),q([Lt,Rt,It],{pointSelect:Lr(class{constructor(s){this.el=s,s.remember("_pointSelectHandler",this),this.selection=new bt,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=Ca();this.observer=new e.MutationObserver(this.mutationHandler)}init(s){this.createHandle=s.createHandle||this.createHandleFn,this.updateHandle=s.updateHandle||this.updateHandleFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createPointHandles(),this.updatePointHandles(),this.observer.observe(this.el.node,{attributes:!0})}active(s,e){if(!s)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.points).addClass("svg_select_shape_pointSelect")}updateSelection(){this.selection.get(0).plot(this.points)}createPointHandles(){this.points.forEach(((s,e,t)=>{this.createHandle.call(this,this.selection,s,e,t),this.selection.get(e+1).addClass("svg_select_handle_point").on("mousedown.selection touchstart.selection",ms("point",this.el,this.points,e))}))}createHandleFn(s){s.circle(5)}updateHandleFn(s,e){s.center(e[0],e[1])}updatePointHandles(){this.points.forEach(((s,e,t)=>{this.updateHandle.call(this,this.selection.get(e+1),s,e,t)}))}updatePoints(){const s=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.points=this.el.array().map((e=>vs(e,s)))}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updatePointHandles()}})});class ko{constructor(e){this.el=e,e.remember("_selectHandler",this),this.selection=new bt,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const t=Ca();this.observer=new t.MutationObserver(this.mutationHandler)}init(e){this.createHandle=e.createHandle||this.createHandleFn,this.createRot=e.createRot||this.createRotFn,this.updateHandle=e.updateHandle||this.updateHandleFn,this.updateRot=e.updateRot||this.updateRotFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createResizeHandles(),this.updateResizeHandles(),this.createRotationHandle(),this.updateRotationHandle(),this.observer.observe(this.el.node,{attributes:!0})}active(e,t){if(!e)return this.selection.clear().remove(),void this.observer.disconnect();this.init(t)}createSelection(){this.selection.polygon(this.handlePoints).addClass("svg_select_shape")}updateSelection(){this.selection.get(0).plot(this.handlePoints)}createResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const i=this.order[t];this.createHandle.call(this,this.selection,e,t,a,i),this.selection.get(t+1).addClass("svg_select_handle svg_select_handle_"+i).on("mousedown.selection touchstart.selection",bs(i,this.el,this.handlePoints,t))}))}createHandleFn(e){e.polyline()}updateHandleFn(e,t,a,i){const r=i.at(a-1),n=i[(a+1)%i.length],o=t,l=[o[0]-r[0],o[1]-r[1]],c=[o[0]-n[0],o[1]-n[1]],h=Math.sqrt(l[0]*l[0]+l[1]*l[1]),d=Math.sqrt(c[0]*c[0]+c[1]*c[1]),u=[l[0]/h,l[1]/h],g=[c[0]/d,c[1]/d],p=[o[0]-10*u[0],o[1]-10*u[1]],f=[o[0]-10*g[0],o[1]-10*g[1]];e.plot([p,o,f])}updateResizeHandles(){this.handlePoints.forEach(((e,t,a)=>{const i=this.order[t];this.updateHandle.call(this,this.selection.get(t+1),e,t,a,i)}))}createRotFn(e){e.line(),e.circle(5)}getPoint(e){return this.handlePoints[this.order.indexOf(e)]}getPointHandle(e){return this.selection.get(this.order.indexOf(e)+1)}updateRotFn(e,t){const a=this.getPoint("t");e.get(0).plot(a[0],a[1],t[0],t[1]),e.get(1).center(t[0],t[1])}createRotationHandle(){const e=this.selection.group().addClass("svg_select_handle_rot").on("mousedown.selection touchstart.selection",bs("rot",this.el,this.handlePoints));this.createRot.call(this,e)}updateRotationHandle(){const e=this.selection.findOne("g.svg_select_handle_rot");this.updateRot(e,this.rotationPoint,this.handlePoints)}updatePoints(){const e=this.el.bbox(),t=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.handlePoints=this.getHandlePoints(e).map((a=>ys(a,t))),this.rotationPoint=ys(this.getRotationPoint(e),t)}getHandlePoints({x:e,x2:t,y:a,y2:i,cx:r,cy:n}=this.el.bbox()){return[[e,a],[r,a],[t,a],[t,n],[t,i],[r,i],[e,i],[e,n]]}getRotationPoint({y:e,cx:t}=this.el.bbox()){return[t,e-20]}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updateResizeHandles(),this.updateRotationHandle()}}const Rr=s=>function(e=!0,t={}){typeof e=="object"&&(t=e,e=!0);let a=this.remember("_"+s.name);return a||(e.prototype instanceof ko?(a=new e(this),e=!0):a=new s(this),this.remember("_"+s.name,a)),a.active(e,t),this};q(He,{select:Rr(ko)}),q([Lt,Rt,It],{pointSelect:Rr(class{constructor(s){this.el=s,s.remember("_pointSelectHandler",this),this.selection=new bt,this.order=["lt","t","rt","r","rb","b","lb","l","rot"],this.mutationHandler=this.mutationHandler.bind(this);const e=Ca();this.observer=new e.MutationObserver(this.mutationHandler)}init(s){this.createHandle=s.createHandle||this.createHandleFn,this.updateHandle=s.updateHandle||this.updateHandleFn,this.el.root().put(this.selection),this.updatePoints(),this.createSelection(),this.createPointHandles(),this.updatePointHandles(),this.observer.observe(this.el.node,{attributes:!0})}active(s,e){if(!s)return this.selection.clear().remove(),void this.observer.disconnect();this.init(e)}createSelection(){this.selection.polygon(this.points).addClass("svg_select_shape_pointSelect")}updateSelection(){this.selection.get(0).plot(this.points)}createPointHandles(){this.points.forEach(((s,e,t)=>{this.createHandle.call(this,this.selection,s,e,t),this.selection.get(e+1).addClass("svg_select_handle_point").on("mousedown.selection touchstart.selection",bs("point",this.el,this.points,e))}))}createHandleFn(s){s.circle(5)}updateHandleFn(s,e){s.center(e[0],e[1])}updatePointHandles(){this.points.forEach(((s,e,t)=>{this.updateHandle.call(this,this.selection.get(e+1),s,e,t)}))}updatePoints(){const s=this.el.parent().screenCTM().inverseO().multiplyO(this.el.screenCTM());this.points=this.el.array().map((e=>ys(e,s)))}mutationHandler(){this.updatePoints(),this.updateSelection(),this.updatePointHandles()}})});const _a=s=>(s.changedTouches&&(s=s.changedTouches[0]),{x:s.clientX,y:s.clientY}),_r=s=>{let e=1/0,t=1/0,a=-1/0,i=-1/0;for(let r=0;r<s.length;r++){const n=s[r];e=Math.min(e,n[0]),t=Math.min(t,n[1]),a=Math.max(a,n[0]),i=Math.max(i,n[1])}return new ke(e,t,a-e,i-t)};class Pr{constructor(e){this.el=e,e.remember("_ResizeHandler",this),this.lastCoordinates=null,this.eventType="",this.lastEvent=null,this.handleResize=this.handleResize.bind(this),this.resize=this.resize.bind(this),this.endResize=this.endResize.bind(this),this.rotate=this.rotate.bind(this),this.movePoint=this.movePoint.bind(this)}active(e,t){this.preserveAspectRatio=t.preserveAspectRatio??!1,this.aroundCenter=t.aroundCenter??!1,this.grid=t.grid??0,this.degree=t.degree??0,this.el.off(".resize"),e&&(this.el.on(["lt.resize","rt.resize","rb.resize","lb.resize","t.resize","r.resize","b.resize","l.resize","rot.resize","point.resize"],this.handleResize),this.lastEvent&&(this.eventType==="rot"?this.rotate(this.lastEvent):this.eventType==="point"?this.movePoint(this.lastEvent):this.resize(this.lastEvent)))}handleResize(e){this.eventType=e.type;const{event:t,index:a,points:i}=e.detail,r=!t.type.indexOf("mouse");if(r&&(t.which||t.buttons)!==1||this.el.dispatch("beforeresize",{event:e,handler:this}).defaultPrevented)return;this.box=this.el.bbox(),this.startPoint=this.el.point(_a(t)),this.index=a,this.points=i.slice();const n=(r?"mousemove":"touchmove")+".resize",o=(r?"mouseup":"touchcancel.resize touchend")+".resize";e.type==="point"?lt(window,n,this.movePoint):e.type==="rot"?lt(window,n,this.rotate):lt(window,n,this.resize),lt(window,o,this.endResize)}resize(e){this.lastEvent=e;const t=this.snapToGrid(this.el.point(_a(e)));let a=t.x-this.startPoint.x,i=t.y-this.startPoint.y;this.preserveAspectRatio&&this.aroundCenter&&(a*=2,i*=2);const r=this.box.x+a,n=this.box.y+i,o=this.box.x2+a,l=this.box.y2+i;let c=new ke(this.box);if(this.eventType.includes("l")&&(c.x=Math.min(r,this.box.x2),c.x2=Math.max(r,this.box.x2)),this.eventType.includes("r")&&(c.x=Math.min(o,this.box.x),c.x2=Math.max(o,this.box.x)),this.eventType.includes("t")&&(c.y=Math.min(n,this.box.y2),c.y2=Math.max(n,this.box.y2)),this.eventType.includes("b")&&(c.y=Math.min(l,this.box.y),c.y2=Math.max(l,this.box.y)),c.width=c.x2-c.x,c.height=c.y2-c.y,this.preserveAspectRatio){const h=c.width/this.box.width,d=c.height/this.box.height,u=["lt","t","rt","r","rb","b","lb","l"],g=(u.indexOf(this.eventType)+4)%u.length,p=this.aroundCenter?[this.box.cx,this.box.cy]:this.points[g];let f=this.eventType.includes("t")||this.eventType.includes("b")?d:h;f=this.eventType.length===2?Math.max(h,d):f,c=(function(m,v,b){const w=[[m.x,m.y],[m.x+m.width,m.y],[m.x+m.width,m.y+m.height],[m.x,m.y+m.height]].map((([k,y])=>{const A=k-v[0],C=(y-v[1])*b;return[A*b+v[0],C+v[1]]}));return _r(w)})(this.box,p,f)}this.el.dispatch("resize",{box:new ke(c),angle:0,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.size(c.width,c.height).move(c.x,c.y)}movePoint(e){this.lastEvent=e;const{x:t,y:a}=this.snapToGrid(this.el.point(_a(e))),i=this.el.array().slice();i[this.index]=[t,a],this.el.dispatch("resize",{box:_r(i),angle:0,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.plot(i)}rotate(e){this.lastEvent=e;const t=this.startPoint,a=this.el.point(_a(e)),{cx:i,cy:r}=this.box,n=t.x-i,o=t.y-r,l=a.x-i,c=a.y-r,h=Math.sqrt(n*n+o*o)*Math.sqrt(l*l+c*c);if(h===0)return;let d=Math.acos((n*l+o*c)/h)/Math.PI*180;if(!d)return;a.x<t.x&&(d=-d);const u=new G(this.el),{x:g,y:p}=new ge(i,r).transformO(u),{rotate:f}=u.decompose(),m=this.snapToAngle(f+d)-f;this.el.dispatch("resize",{box:this.box,angle:m,eventType:this.eventType,event:e,handler:this}).defaultPrevented||this.el.transform(u.rotateO(m,g,p))}endResize(e){this.eventType!=="rot"&&this.eventType!=="point"&&this.resize(e),this.lastEvent=null,this.eventType="",qe(window,"mousemove.resize touchmove.resize"),qe(window,"mouseup.resize touchend.resize")}snapToGrid(e){return this.grid&&(e.x=Math.round(e.x/this.grid)*this.grid,e.y=Math.round(e.y/this.grid)*this.grid),e}snapToAngle(e){return this.degree&&(e=Math.round(e/this.degree)*this.degree),e}}q(He,{resize:function(s=!0,e={}){typeof s=="object"&&(e=s,s=!0);let t=this.remember("_ResizeHandler");return t||(s.prototype instanceof Pr?(t=new s(this),s=!0):t=new Pr(this),this.remember("_resizeHandler",t)),t.active(s,e),this}}),window.SVG===void 0&&(window.SVG=Fh),window.Apex===void 0&&(window.Apex={});var zr=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"initModules",value:function(){this.ctx.publicMethods=["updateOptions","updateSeries","appendData","appendSeries","isSeriesHidden","highlightSeries","toggleSeries","showSeries","hideSeries","setLocale","resetSeries","zoomX","toggleDataPointSelection","dataURI","exportToCSV","addXaxisAnnotation","addYaxisAnnotation","addPointAnnotation","clearAnnotations","removeAnnotation","paper","destroy"],this.ctx.eventList=["click","mousedown","mousemove","mouseleave","touchstart","touchmove","touchleave","mouseup","touchend"],this.ctx.animations=new Ut(this.ctx),this.ctx.axes=new qh(this.ctx),this.ctx.core=new Cd(this.ctx.el,this.ctx),this.ctx.config=new fa({}),this.ctx.data=new Ys(this.ctx),this.ctx.grid=new uo(this.ctx),this.ctx.graphics=new E(this.ctx),this.ctx.coreUtils=new Ae(this.ctx),this.ctx.crosshairs=new xs(this.ctx),this.ctx.events=new $h(this.ctx),this.ctx.exports=new la(this.ctx),this.ctx.fill=new tt(this.ctx),this.ctx.localization=new Uh(this.ctx),this.ctx.options=new Mt,this.ctx.responsive=new Zh(this.ctx),this.ctx.series=new Ze(this.ctx),this.ctx.theme=new Kh(this.ctx),this.ctx.formatters=new Sa(this.ctx),this.ctx.titleSubtitle=new Jh(this.ctx),this.ctx.legend=new fo(this.ctx),this.ctx.toolbar=new po(this.ctx),this.ctx.tooltip=new Sr(this.ctx),this.ctx.dimensions=new ti(this.ctx),this.ctx.updateHelpers=new kd(this.ctx),this.ctx.zoomPanSelection=new sd(this.ctx),this.ctx.w.globals.tooltip=new Sr(this.ctx)}}]),s})(),Or=(function(){function s(e){N(this,s),this.ctx=e,this.w=e.w}return V(s,[{key:"clear",value:function(e){var t=e.isUpdating;this.ctx.zoomPanSelection&&this.ctx.zoomPanSelection.destroy(),this.ctx.toolbar&&this.ctx.toolbar.destroy(),this.ctx.animations=null,this.ctx.axes=null,this.ctx.annotations=null,this.ctx.core=null,this.ctx.data=null,this.ctx.grid=null,this.ctx.series=null,this.ctx.responsive=null,this.ctx.theme=null,this.ctx.formatters=null,this.ctx.titleSubtitle=null,this.ctx.legend=null,this.ctx.dimensions=null,this.ctx.options=null,this.ctx.crosshairs=null,this.ctx.zoomPanSelection=null,this.ctx.updateHelpers=null,this.ctx.toolbar=null,this.ctx.localization=null,this.ctx.w.globals.tooltip=null,this.clearDomElements({isUpdating:t})}},{key:"killSVG",value:function(e){e.each((function(){this.removeClass("*"),this.off()}),!0),e.clear()}},{key:"clearDomElements",value:function(e){var t=this,a=e.isUpdating,i=this.w.globals.dom.Paper.node;i.parentNode&&i.parentNode.parentNode&&!a&&(i.parentNode.parentNode.style.minHeight="unset");var r=this.w.globals.dom.baseEl;r&&this.ctx.eventList.forEach((function(o){r.removeEventListener(o,t.ctx.events.documentEvent)}));var n=this.w.globals.dom;if(this.ctx.el!==null)for(;this.ctx.el.firstChild;)this.ctx.el.removeChild(this.ctx.el.firstChild);this.killSVG(n.Paper),n.Paper.remove(),n.elWrap=null,n.elGraphical=null,n.elLegendWrap=null,n.elLegendForeign=null,n.baseEl=null,n.elGridRect=null,n.elGridRectMask=null,n.elGridRectBarMask=null,n.elGridRectMarkerMask=null,n.elForecastMask=null,n.elNonForecastMask=null,n.elDefs=null}}]),s})(),Ei=new WeakMap,Sd=(function(){function s(e,t){N(this,s),this.opts=t,this.ctx=this,this.w=new Gh(t).init(),this.el=e,this.w.globals.cuid=L.randomId(),this.w.globals.chartID=this.w.config.chart.id?L.escapeString(this.w.config.chart.id):this.w.globals.cuid,new zr(this).initModules(),this.lastUpdateOptions=null,this.create=L.bind(this.create,this),this.windowResizeHandler=this._windowResizeHandler.bind(this),this.parentResizeHandler=this._parentResizeCallback.bind(this)}return V(s,[{key:"render",value:function(){var e=this;return new Promise((function(t,a){if(L.elementExists(e.el)){Apex._chartInstances===void 0&&(Apex._chartInstances=[]),e.w.config.chart.id&&Apex._chartInstances.push({id:e.w.globals.chartID,group:e.w.config.chart.group,chart:e}),e.setLocale(e.w.config.chart.defaultLocale);var i=e.w.config.chart.events.beforeMount;typeof i=="function"&&i(e,e.w),e.events.fireEvent("beforeMount",[e,e.w]),window.addEventListener("resize",e.windowResizeHandler),(function(u,g){var p=!1;if(u.nodeType!==Node.DOCUMENT_FRAGMENT_NODE){var f=u.getBoundingClientRect();u.style.display!=="none"&&f.width!==0||(p=!0)}var m=new ResizeObserver((function(v){p&&g.call(u,v),p=!0}));u.nodeType===Node.DOCUMENT_FRAGMENT_NODE?Array.from(u.children).forEach((function(v){return m.observe(v)})):m.observe(u),Ei.set(g,m)})(e.el.parentNode,e.parentResizeHandler);var r=e.el.getRootNode&&e.el.getRootNode(),n=L.is("ShadowRoot",r),o=e.el.ownerDocument,l=n?r.getElementById("apexcharts-css"):o.getElementById("apexcharts-css");if(!l){var c;(l=document.createElement("style")).id="apexcharts-css",l.textContent=`@keyframes opaque {
|
|
160
160
|
0% {
|
|
161
161
|
opacity: 0
|
|
162
162
|
}
|
|
@@ -905,7 +905,7 @@ rect.legend-mouseover-inactive,
|
|
|
905
905
|
|
|
906
906
|
.apexcharts-disable-transitions * {
|
|
907
907
|
transition: none !important;
|
|
908
|
-
}`;var h=((c=e.opts.chart)===null||c===void 0?void 0:c.nonce)||e.w.config.chart.nonce;h&&l.setAttribute("nonce",h),n?r.prepend(l):e.w.config.chart.injectStyleSheet!==!1&&o.head.appendChild(l)}var d=e.create(e.w.config.series,{});if(!d)return t(e);e.mount(d).then((function(){typeof e.w.config.chart.events.mounted=="function"&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(d)})).catch((function(u){a(u)}))}else a(new Error("Element not found"))}))}},{key:"create",value:function(e,t){var a=this,i=this.w;new Pr(this).initModules();var r=this.w.globals;if(r.noData=!1,r.animationEnded=!1,!L.elementExists(this.el)||(this.responsive.checkResponsiveConfig(t),i.config.xaxis.convertedCatToNumeric&&new ga(i.config).convertCatToNumericXaxis(i.config,this.ctx),this.core.setupElements(),i.config.chart.type==="treemap"&&(i.config.grid.show=!1,i.config.yaxis[0].show=!1),r.svgWidth===0))return r.animationEnded=!0,null;var n=e;e.forEach((function(u,g){u.hidden&&(n=a.legend.legendHelpers.getSeriesAfterCollapsing({realIndex:g}))}));var o=Ae.checkComboSeries(n,i.config.chart.type);r.comboCharts=o.comboCharts,r.comboBarCount=o.comboBarCount;var l=n.every((function(u){return u.data&&u.data.length===0}));(n.length===0||l&&r.collapsedSeries.length<1)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(n),this.theme.init(),new Jt(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),r.noData&&r.collapsedSeries.length!==r.series.length&&!i.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),r.axisCharts&&(this.core.coreCalculations(),i.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=i.globals.minX,this.ctx.toolbar.maxX=i.globals.maxX),this.formatters.heatmapLabelFormatters(),new Ae(this).getLargestMarkerSize(),this.dimensions.plotCoords();var c=this.core.xySettings();this.grid.createGridMask();var h=this.core.plotChartType(n,c),d=new Wt(this);return d.bringForward(),i.config.dataLabels.background.enabled&&d.dataLabelsBackground(),this.core.shiftGraphPosition(),i.globals.dataPoints>50&&i.globals.dom.elWrap.classList.add("apexcharts-disable-transitions"),{elGraph:h,xyRatios:c,dimensions:{plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}}}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this,i=a.w;return new Promise((function(r,n){if(a.el===null)return n(new Error("Not enough data to display or target element not found"));(t===null||i.globals.allSeriesCollapsed)&&a.series.handleNoData(),a.grid=new ho(a);var o,l,c=a.grid.drawGrid();if(a.annotations=new Wh(a),a.annotations.drawImageAnnos(),a.annotations.drawTextAnnos(),i.config.grid.position==="back"&&(c&&i.globals.dom.elGraphical.add(c.el),c!=null&&(o=c.elGridBorders)!==null&&o!==void 0&&o.node&&i.globals.dom.elGraphical.add(c.elGridBorders)),Array.isArray(t.elGraph))for(var h=0;h<t.elGraph.length;h++)i.globals.dom.elGraphical.add(t.elGraph[h]);else i.globals.dom.elGraphical.add(t.elGraph);i.config.grid.position==="front"&&(c&&i.globals.dom.elGraphical.add(c.el),c!=null&&(l=c.elGridBorders)!==null&&l!==void 0&&l.node&&i.globals.dom.elGraphical.add(c.elGridBorders)),i.config.xaxis.crosshairs.position==="front"&&a.crosshairs.drawXCrosshairs(),i.config.yaxis[0].crosshairs.position==="front"&&a.crosshairs.drawYCrosshairs(),i.config.chart.type!=="treemap"&&a.axes.drawAxis(i.config.chart.type,c);var d=new pa(e.ctx,c),u=new Ws(e.ctx,c);if(c!==null&&(d.xAxisLabelCorrections(c.xAxisTickWidth),u.setYAxisTextAlignments(),i.config.yaxis.map((function(p,f){i.globals.ignoreYAxisIndexes.indexOf(f)===-1&&u.yAxisTitleRotate(f,p.opposite)}))),a.annotations.drawAxesAnnotations(),!i.globals.noData){if(i.config.tooltip.enabled&&!i.globals.noData&&a.w.globals.tooltip.drawTooltip(t.xyRatios),i.globals.axisCharts&&(i.globals.isXNumeric||i.config.xaxis.convertedCatToNumeric||i.globals.isRangeBar))(i.config.chart.zoom.enabled||i.config.chart.selection&&i.config.chart.selection.enabled||i.config.chart.pan&&i.config.chart.pan.enabled)&&a.zoomPanSelection.init({xyRatios:t.xyRatios});else{var g=i.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach((function(p){g[p]=!1}))}i.config.chart.toolbar.show&&!i.globals.allSeriesCollapsed&&a.toolbar.createToolbar()}i.globals.memory.methodsToExec.length>0&&i.globals.memory.methodsToExec.forEach((function(p){p.method(p.params,!1,p.context)})),i.globals.axisCharts||i.globals.noData||a.core.resizeNonAxisCharts(),r(a)}))}},{key:"destroy",value:function(){window.removeEventListener("resize",this.windowResizeHandler),(function(t,a){var i=ji.get(a);i&&(i.disconnect(),ji.delete(a))})(this.el.parentNode,this.parentResizeHandler);var e=this.w.config.chart.id;e&&Apex._chartInstances.forEach((function(t,a){t.id===L.escapeString(e)&&Apex._chartInstances.splice(a,1)})),new zr(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,a=arguments.length>1&&arguments[1]!==void 0&&arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],n=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],o=this.w;return o.globals.selection=void 0,this.lastUpdateOptions&&JSON.stringify(this.lastUpdateOptions)===JSON.stringify(e)?this:(e.series&&(this.data.resetParsingFlags(),this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map((function(l,c){return t.updateHelpers._extendSeries(l,c)}))),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),o.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,a,i,r,n))}},{key:"updateSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return this.data.resetParsingFlags(),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,a)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];this.data.resetParsingFlags();var i=this.w.config.series.slice();return i.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(i,t,a)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=this;a.data.resetParsingFlags(),a.w.globals.dataChanged=!0,a.series.getPreviousPaths();for(var i=a.w.config.series.slice(),r=0;r<i.length;r++)if(e[r]!==null&&e[r]!==void 0)for(var n=0;n<e[r].data.length;n++)i[r].data.push(e[r].data[n]);return a.w.config.series=i,t&&(a.w.globals.initialSeries=L.clone(a.w.config.series)),this.update()}},{key:"update",value:function(e){var t=this;return new Promise((function(a,i){if(t.lastUpdateOptions&&JSON.stringify(t.lastUpdateOptions)===JSON.stringify(e))return a(t);t.lastUpdateOptions=L.clone(e),new zr(t.ctx).clear({isUpdating:!0});var r=t.create(t.w.config.series,e);if(!r)return a(t);t.mount(r).then((function(){typeof t.w.config.chart.events.updated=="function"&&t.w.config.chart.events.updated(t,t.w),t.events.fireEvent("updated",[t,t.w]),t.w.globals.isDirty=!0,a(t)})).catch((function(n){i(n)}))}))}},{key:"getSyncedCharts",value:function(){var e=this.getGroupedCharts(),t=[this];return e.length&&(t=[],e.forEach((function(a){t.push(a)}))),t}},{key:"getGroupedCharts",value:function(){var e=this;return Apex._chartInstances.filter((function(t){if(t.group)return!0})).map((function(t){return e.w.config.chart.group===t.group?t.chart:e}))}},{key:"toggleSeries",value:function(e){return this.series.toggleSeries(e)}},{key:"highlightSeriesOnLegendHover",value:function(e,t){return this.series.toggleSeriesOnHover(e,t)}},{key:"showSeries",value:function(e){this.series.showSeries(e)}},{key:"hideSeries",value:function(e){this.series.hideSeries(e)}},{key:"highlightSeries",value:function(e){this.series.highlightSeries(e)}},{key:"isSeriesHidden",value:function(e){this.series.isSeriesHidden(e)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=this;a&&(i=a),i.annotations.addXaxisAnnotationExternal(e,t,i)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=this;a&&(i=a),i.annotations.addYaxisAnnotationExternal(e,t,i)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=this;a&&(i=a),i.annotations.addPointAnnotationExternal(e,t,i)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,a=this;t&&(a=t),a.annotations.removeAnnotation(a,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new fs(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new fs(this.ctx).getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(e){return new la(this.ctx).dataURI(e)}},{key:"getSvgString",value:function(e){return new la(this.ctx).getSvgString(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new la(this.ctx).exportToCSV(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout((function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()}),150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;typeof e=="function"&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=L.escapeString(e);if(Apex._chartInstances){var a=Apex._chartInstances.filter((function(i){return i.id===t}))[0];return a&&a.chart}}},{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),t=0;t<e.length;t++)new s(e[t],JSON.parse(e[t].getAttribute("data-options"))).render()}},{key:"exec",value:function(e,t){var a=this.getChartByID(e);if(a){a.w.globals.isExecCalled=!0;var i=null;if(a.publicMethods.indexOf(t)!==-1){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];i=a[t].apply(a,n)}return i}}},{key:"merge",value:function(e,t){return L.extend(e,t)}},{key:"getThemePalettes",value:function(){return{palette1:["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"],palette2:["#3F51B5","#03A9F4","#4CAF50","#F9CE1D","#FF9800"],palette3:["#33B2DF","#546E7A","#D4526E","#13D8AA","#A5978B"],palette4:["#4ECDC4","#C7F464","#81D4FA","#FD6A6A","#546E7A"],palette5:["#2B908F","#F9A3A4","#90EE7E","#FA4443","#69D2E7"],palette6:["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"],palette7:["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"],palette8:["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"],palette9:["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"],palette10:["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"]}}}]),s})();function Md(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var Ei={exports:{}},Di,Or;function Id(){if(Or)return Di;Or=1;var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Di=s,Di}var Fi,Hr;function Ld(){if(Hr)return Fi;Hr=1;var s=Id();function e(){}function t(){}return t.resetWarningCache=e,Fi=function(){function a(n,o,l,c,h,d){if(d!==s){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}a.isRequired=a;function i(){return a}var r={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:i,element:a,elementType:a,instanceOf:i,node:a,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:t,resetWarningCache:e};return r.PropTypes=r,r},Fi}var Tr;function Rd(){return Tr||(Tr=1,Ei.exports=Ld()()),Ei.exports}var _d=Rd();const Ke=Md(_d);function Pd(s,e,t){return(e=(function(a){var i=(function(r,n){if(typeof r!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var l=o.call(r,n);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(r)})(a,"string");return typeof i=="symbol"?i:i+""})(e))in s?Object.defineProperty(s,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[e]=t,s}function ys(){return ys=Object.assign?Object.assign.bind():function(s){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var a in t)({}).hasOwnProperty.call(t,a)&&(s[a]=t[a])}return s},ys.apply(null,arguments)}function jr(s,e){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(s);e&&(a=a.filter((function(i){return Object.getOwnPropertyDescriptor(s,i).enumerable}))),t.push.apply(t,a)}return t}function ko(s){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?jr(Object(t),!0).forEach((function(a){Pd(s,a,t[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(t)):jr(Object(t)).forEach((function(a){Object.defineProperty(s,a,Object.getOwnPropertyDescriptor(t,a))}))}return s}function xa(s){return xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xa(s)}var zd=["type","width","height","series","options","chartRef"];function Bi(s){return s&&xa(s)==="object"&&!Array.isArray(s)}function Ao(s,e){var t=ko({},s);return Bi(s)&&Bi(e)&&Object.keys(e).forEach((function(a){Bi(e[a])?t[a]=a in s?Ao(s[a],e[a]):e[a]:t[a]=e[a]})),t}function ws(s,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new WeakSet;if(s===e)return!0;if(xa(s)!=="object"||s===null||xa(e)!=="object"||e===null)return!1;if(t.has(s)||t.has(e))return!0;t.add(s),t.add(e);var a=Object.keys(s),i=Object.keys(e);if(a.length!==i.length)return!1;for(var r=0,n=a;r<n.length;r++){var o=n[r];if(!i.includes(o)||!ws(s[o],e[o],t))return!1}return!0}var Od=["type","series","options","width","height","chartRef"];function Gs(s){var e=s.type,t=e===void 0?"line":e,a=s.width,i=a===void 0?"100%":a,r=s.height,n=r===void 0?"auto":r,o=s.series,l=s.options,c=s.chartRef,h=(function(w,k){if(w==null)return{};var y,A,C=(function(M,I){if(M==null)return{};var R={};for(var P in M)if({}.hasOwnProperty.call(M,P)){if(I.includes(P))continue;R[P]=M[P]}return R})(w,k);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(w);for(A=0;A<S.length;A++)y=S[A],k.includes(y)||{}.propertyIsEnumerable.call(w,y)&&(C[y]=w[y])}return C})(s,zd),d=z.useRef(null),u=z.useRef(null),g=z.useRef(null),p=c||g,f=function(){return Ao(l,{chart:{type:t,height:n,width:i},series:o})};z.useEffect((function(){return p.current=new Sd(d.current,f()),p.current.render(),u.current=l,function(){p.current&&typeof p.current.destroy=="function"&&p.current.destroy()}}),[]),z.useEffect((function(){if(p.current&&p.current.w){var w=!ws(p.current.w.config.series,o),k=!ws(u.current,l)||n!==p.current.opts.chart.height||i!==p.current.opts.chart.width;(w||k)&&(w?k?p.current.updateOptions(f()):p.current.updateSeries(o):p.current.updateOptions(f())),u.current=l}}),[l,o,n,i]);var m,v,b=(m=Od,v=ko({},h),m.forEach((function(w){delete v[w]})),v);return z.createElement("div",ys({ref:d},b))}Gs.propTypes={type:Ke.string.isRequired,series:Ke.array.isRequired,options:Ke.object.isRequired,width:Ke.oneOfType([Ke.string,Ke.number]),height:Ke.oneOfType([Ke.string,Ke.number]),chartRef:Ke.shape({current:Ke.any})};const Er=["#6366f1","#22c55e","#f59e0b","#ef4444","#3b82f6","#a5b4fc"];function mt(s){return typeof document>"u"?"":getComputedStyle(document.documentElement).getPropertyValue(s).trim()}function $s(s=6){return z.useMemo(()=>Array.from({length:s},(e,t)=>mt(`--cuk-color-chart-${t+1}`)||Er[t]||Er[0]),[s])}function Us(){return z.useMemo(()=>({textPrimary:mt("--cuk-color-text-primary")||"#1f2937",textSecondary:mt("--cuk-color-text-secondary")||"#6b7280",textMuted:mt("--cuk-color-text-muted")||"#9ca3af",border:mt("--cuk-color-border")||"#e5e7eb",surface:mt("--cuk-color-surface")||"#ffffff",surfaceRaised:mt("--cuk-color-surface-raised")||"#ffffff",background:mt("--cuk-color-background")||"#ffffff"}),[])}const Hd="_tooltip_pdcgx_1",Td="_tooltipHeader_pdcgx_10",jd="_tooltipBody_pdcgx_18",Ed="_tooltipRow_pdcgx_22",Dd="_tooltipDot_pdcgx_31",Fd="_tooltipLabel_pdcgx_38",Bd="_tooltipValue_pdcgx_43",Nd="_tooltipDetail_pdcgx_48",Vd="_tooltipDetailLabel_pdcgx_55",Xd="_tooltipDetailValue_pdcgx_59",he={tooltip:Hd,tooltipHeader:Td,tooltipBody:jd,tooltipRow:Ed,tooltipDot:Dd,tooltipLabel:Fd,tooltipValue:Bd,tooltipDetail:Nd,tooltipDetailLabel:Vd,tooltipDetailValue:Xd};function Pa({value:s,locale:e,currency:t}){return new Intl.NumberFormat(e,{style:"currency",currency:t,maximumFractionDigits:2}).format(s)}function Ni({value:s,locale:e,digits:t=0}){return new Intl.NumberFormat(e,{maximumFractionDigits:t}).format(s)}function Yd({data:s,height:e=420,currency:t="TRY",locale:a="tr-TR",valueField:i="total_sales"}){const r=$s(1),n=Us(),o=z.useMemo(()=>[...s].sort((d,u)=>d.rank-u.rank),[s]),l=z.useMemo(()=>o.map(d=>d.product_name),[o]),c=z.useMemo(()=>[{data:o.map(u=>i==="total_quantity"?u.total_quantity:i==="order_count"?u.order_count:u.total_sales)}],[o,i]),h=z.useMemo(()=>({chart:{type:"bar",toolbar:{show:!1},fontFamily:"inherit"},colors:r,plotOptions:{bar:{horizontal:!0,barHeight:"70%",borderRadius:6}},dataLabels:{enabled:!1},xaxis:{categories:l,labels:{style:{colors:n.textSecondary,fontSize:"12px"},formatter:d=>{const u=Number(d);return Number.isNaN(u)?String(d):i==="total_sales"?Pa({value:u,locale:a,currency:t}):Ni({value:u,locale:a,digits:i==="total_quantity"?2:0})}},axisBorder:{color:n.border},axisTicks:{color:n.border}},yaxis:{labels:{style:{colors:n.textSecondary,fontSize:"12px"},formatter:d=>String(d).length>28?`${String(d).slice(0,28)}…`:String(d)}},tooltip:{shared:!1,intersect:!0,custom:({dataPointIndex:d})=>{const u=o[d];return u?`
|
|
908
|
+
}`;var h=((c=e.opts.chart)===null||c===void 0?void 0:c.nonce)||e.w.config.chart.nonce;h&&l.setAttribute("nonce",h),n?r.prepend(l):e.w.config.chart.injectStyleSheet!==!1&&o.head.appendChild(l)}var d=e.create(e.w.config.series,{});if(!d)return t(e);e.mount(d).then((function(){typeof e.w.config.chart.events.mounted=="function"&&e.w.config.chart.events.mounted(e,e.w),e.events.fireEvent("mounted",[e,e.w]),t(d)})).catch((function(u){a(u)}))}else a(new Error("Element not found"))}))}},{key:"create",value:function(e,t){var a=this,i=this.w;new zr(this).initModules();var r=this.w.globals;if(r.noData=!1,r.animationEnded=!1,!L.elementExists(this.el)||(this.responsive.checkResponsiveConfig(t),i.config.xaxis.convertedCatToNumeric&&new ga(i.config).convertCatToNumericXaxis(i.config,this.ctx),this.core.setupElements(),i.config.chart.type==="treemap"&&(i.config.grid.show=!1,i.config.yaxis[0].show=!1),r.svgWidth===0))return r.animationEnded=!0,null;var n=e;e.forEach((function(u,g){u.hidden&&(n=a.legend.legendHelpers.getSeriesAfterCollapsing({realIndex:g}))}));var o=Ae.checkComboSeries(n,i.config.chart.type);r.comboCharts=o.comboCharts,r.comboBarCount=o.comboBarCount;var l=n.every((function(u){return u.data&&u.data.length===0}));(n.length===0||l&&r.collapsedSeries.length<1)&&this.series.handleNoData(),this.events.setupEventHandlers(),this.data.parseData(n),this.theme.init(),new Jt(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),r.noData&&r.collapsedSeries.length!==r.series.length&&!i.config.legend.showForSingleSeries||this.legend.init(),this.series.hasAllSeriesEqualX(),r.axisCharts&&(this.core.coreCalculations(),i.config.xaxis.type!=="category"&&this.formatters.setLabelFormatters(),this.ctx.toolbar.minX=i.globals.minX,this.ctx.toolbar.maxX=i.globals.maxX),this.formatters.heatmapLabelFormatters(),new Ae(this).getLargestMarkerSize(),this.dimensions.plotCoords();var c=this.core.xySettings();this.grid.createGridMask();var h=this.core.plotChartType(n,c),d=new Wt(this);return d.bringForward(),i.config.dataLabels.background.enabled&&d.dataLabelsBackground(),this.core.shiftGraphPosition(),i.globals.dataPoints>50&&i.globals.dom.elWrap.classList.add("apexcharts-disable-transitions"),{elGraph:h,xyRatios:c,dimensions:{plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}}}}},{key:"mount",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this,i=a.w;return new Promise((function(r,n){if(a.el===null)return n(new Error("Not enough data to display or target element not found"));(t===null||i.globals.allSeriesCollapsed)&&a.series.handleNoData(),a.grid=new uo(a);var o,l,c=a.grid.drawGrid();if(a.annotations=new Wh(a),a.annotations.drawImageAnnos(),a.annotations.drawTextAnnos(),i.config.grid.position==="back"&&(c&&i.globals.dom.elGraphical.add(c.el),c!=null&&(o=c.elGridBorders)!==null&&o!==void 0&&o.node&&i.globals.dom.elGraphical.add(c.elGridBorders)),Array.isArray(t.elGraph))for(var h=0;h<t.elGraph.length;h++)i.globals.dom.elGraphical.add(t.elGraph[h]);else i.globals.dom.elGraphical.add(t.elGraph);i.config.grid.position==="front"&&(c&&i.globals.dom.elGraphical.add(c.el),c!=null&&(l=c.elGridBorders)!==null&&l!==void 0&&l.node&&i.globals.dom.elGraphical.add(c.elGridBorders)),i.config.xaxis.crosshairs.position==="front"&&a.crosshairs.drawXCrosshairs(),i.config.yaxis[0].crosshairs.position==="front"&&a.crosshairs.drawYCrosshairs(),i.config.chart.type!=="treemap"&&a.axes.drawAxis(i.config.chart.type,c);var d=new pa(e.ctx,c),u=new Ws(e.ctx,c);if(c!==null&&(d.xAxisLabelCorrections(c.xAxisTickWidth),u.setYAxisTextAlignments(),i.config.yaxis.map((function(p,f){i.globals.ignoreYAxisIndexes.indexOf(f)===-1&&u.yAxisTitleRotate(f,p.opposite)}))),a.annotations.drawAxesAnnotations(),!i.globals.noData){if(i.config.tooltip.enabled&&!i.globals.noData&&a.w.globals.tooltip.drawTooltip(t.xyRatios),i.globals.axisCharts&&(i.globals.isXNumeric||i.config.xaxis.convertedCatToNumeric||i.globals.isRangeBar))(i.config.chart.zoom.enabled||i.config.chart.selection&&i.config.chart.selection.enabled||i.config.chart.pan&&i.config.chart.pan.enabled)&&a.zoomPanSelection.init({xyRatios:t.xyRatios});else{var g=i.config.chart.toolbar.tools;["zoom","zoomin","zoomout","selection","pan","reset"].forEach((function(p){g[p]=!1}))}i.config.chart.toolbar.show&&!i.globals.allSeriesCollapsed&&a.toolbar.createToolbar()}i.globals.memory.methodsToExec.length>0&&i.globals.memory.methodsToExec.forEach((function(p){p.method(p.params,!1,p.context)})),i.globals.axisCharts||i.globals.noData||a.core.resizeNonAxisCharts(),r(a)}))}},{key:"destroy",value:function(){window.removeEventListener("resize",this.windowResizeHandler),(function(t,a){var i=Ei.get(a);i&&(i.disconnect(),Ei.delete(a))})(this.el.parentNode,this.parentResizeHandler);var e=this.w.config.chart.id;e&&Apex._chartInstances.forEach((function(t,a){t.id===L.escapeString(e)&&Apex._chartInstances.splice(a,1)})),new Or(this.ctx).clear({isUpdating:!1})}},{key:"updateOptions",value:function(e){var t=this,a=arguments.length>1&&arguments[1]!==void 0&&arguments[1],i=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],r=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],n=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],o=this.w;return o.globals.selection=void 0,this.lastUpdateOptions&&JSON.stringify(this.lastUpdateOptions)===JSON.stringify(e)?this:(e.series&&(this.data.resetParsingFlags(),this.series.resetSeries(!1,!0,!1),e.series.length&&e.series[0].data&&(e.series=e.series.map((function(l,c){return t.updateHelpers._extendSeries(l,c)}))),this.updateHelpers.revertDefaultAxisMinMax()),e.xaxis&&(e=this.updateHelpers.forceXAxisUpdate(e)),e.yaxis&&(e=this.updateHelpers.forceYAxisUpdate(e)),o.globals.collapsedSeriesIndices.length>0&&this.series.clearPreviousPaths(),e.theme&&(e=this.theme.updateThemeOptions(e)),this.updateHelpers._updateOptions(e,a,i,r,n))}},{key:"updateSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return this.data.resetParsingFlags(),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(e,t,a)}},{key:"appendSeries",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];this.data.resetParsingFlags();var i=this.w.config.series.slice();return i.push(e),this.series.resetSeries(!1),this.updateHelpers.revertDefaultAxisMinMax(),this.updateHelpers._updateSeries(i,t,a)}},{key:"appendData",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=this;a.data.resetParsingFlags(),a.w.globals.dataChanged=!0,a.series.getPreviousPaths();for(var i=a.w.config.series.slice(),r=0;r<i.length;r++)if(e[r]!==null&&e[r]!==void 0)for(var n=0;n<e[r].data.length;n++)i[r].data.push(e[r].data[n]);return a.w.config.series=i,t&&(a.w.globals.initialSeries=L.clone(a.w.config.series)),this.update()}},{key:"update",value:function(e){var t=this;return new Promise((function(a,i){if(t.lastUpdateOptions&&JSON.stringify(t.lastUpdateOptions)===JSON.stringify(e))return a(t);t.lastUpdateOptions=L.clone(e),new Or(t.ctx).clear({isUpdating:!0});var r=t.create(t.w.config.series,e);if(!r)return a(t);t.mount(r).then((function(){typeof t.w.config.chart.events.updated=="function"&&t.w.config.chart.events.updated(t,t.w),t.events.fireEvent("updated",[t,t.w]),t.w.globals.isDirty=!0,a(t)})).catch((function(n){i(n)}))}))}},{key:"getSyncedCharts",value:function(){var e=this.getGroupedCharts(),t=[this];return e.length&&(t=[],e.forEach((function(a){t.push(a)}))),t}},{key:"getGroupedCharts",value:function(){var e=this;return Apex._chartInstances.filter((function(t){if(t.group)return!0})).map((function(t){return e.w.config.chart.group===t.group?t.chart:e}))}},{key:"toggleSeries",value:function(e){return this.series.toggleSeries(e)}},{key:"highlightSeriesOnLegendHover",value:function(e,t){return this.series.toggleSeriesOnHover(e,t)}},{key:"showSeries",value:function(e){this.series.showSeries(e)}},{key:"hideSeries",value:function(e){this.series.hideSeries(e)}},{key:"highlightSeries",value:function(e){this.series.highlightSeries(e)}},{key:"isSeriesHidden",value:function(e){this.series.isSeriesHidden(e)}},{key:"resetSeries",value:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.series.resetSeries(e,t)}},{key:"addEventListener",value:function(e,t){this.events.addEventListener(e,t)}},{key:"removeEventListener",value:function(e,t){this.events.removeEventListener(e,t)}},{key:"addXaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=this;a&&(i=a),i.annotations.addXaxisAnnotationExternal(e,t,i)}},{key:"addYaxisAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=this;a&&(i=a),i.annotations.addYaxisAnnotationExternal(e,t,i)}},{key:"addPointAnnotation",value:function(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,i=this;a&&(i=a),i.annotations.addPointAnnotationExternal(e,t,i)}},{key:"clearAnnotations",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,t=this;e&&(t=e),t.annotations.clearAnnotations(t)}},{key:"removeAnnotation",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,a=this;t&&(a=t),a.annotations.removeAnnotation(a,e)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(e,t){return this.coreUtils.getSeriesTotalsXRange(e,t)}},{key:"getHighestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new ps(this.ctx).getMinYMaxY(e).highestY}},{key:"getLowestValueInSeries",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new ps(this.ctx).getMinYMaxY(e).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"toggleDataPointSelection",value:function(e,t){return this.updateHelpers.toggleDataPointSelection(e,t)}},{key:"zoomX",value:function(e,t){this.ctx.toolbar.zoomUpdateOptions(e,t)}},{key:"setLocale",value:function(e){this.localization.setCurrentLocaleValues(e)}},{key:"dataURI",value:function(e){return new la(this.ctx).dataURI(e)}},{key:"getSvgString",value:function(e){return new la(this.ctx).getSvgString(e)}},{key:"exportToCSV",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new la(this.ctx).exportToCSV(e)}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"_parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.w.config.chart.redrawOnParentResize&&this._windowResize()}},{key:"_windowResize",value:function(){var e=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout((function(){e.w.globals.resized=!0,e.w.globals.dataChanged=!1,e.ctx.update()}),150)}},{key:"_windowResizeHandler",value:function(){var e=this.w.config.chart.redrawOnWindowResize;typeof e=="function"&&(e=e()),e&&this._windowResize()}}],[{key:"getChartByID",value:function(e){var t=L.escapeString(e);if(Apex._chartInstances){var a=Apex._chartInstances.filter((function(i){return i.id===t}))[0];return a&&a.chart}}},{key:"initOnLoad",value:function(){for(var e=document.querySelectorAll("[data-apexcharts]"),t=0;t<e.length;t++)new s(e[t],JSON.parse(e[t].getAttribute("data-options"))).render()}},{key:"exec",value:function(e,t){var a=this.getChartByID(e);if(a){a.w.globals.isExecCalled=!0;var i=null;if(a.publicMethods.indexOf(t)!==-1){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];i=a[t].apply(a,n)}return i}}},{key:"merge",value:function(e,t){return L.extend(e,t)}},{key:"getThemePalettes",value:function(){return{palette1:["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"],palette2:["#3F51B5","#03A9F4","#4CAF50","#F9CE1D","#FF9800"],palette3:["#33B2DF","#546E7A","#D4526E","#13D8AA","#A5978B"],palette4:["#4ECDC4","#C7F464","#81D4FA","#FD6A6A","#546E7A"],palette5:["#2B908F","#F9A3A4","#90EE7E","#FA4443","#69D2E7"],palette6:["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"],palette7:["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"],palette8:["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"],palette9:["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"],palette10:["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"]}}}]),s})();function Md(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var Di={exports:{}},Fi,Hr;function Id(){if(Hr)return Fi;Hr=1;var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Fi=s,Fi}var Bi,Tr;function Ld(){if(Tr)return Bi;Tr=1;var s=Id();function e(){}function t(){}return t.resetWarningCache=e,Bi=function(){function a(n,o,l,c,h,d){if(d!==s){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}a.isRequired=a;function i(){return a}var r={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:i,element:a,elementType:a,instanceOf:i,node:a,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:t,resetWarningCache:e};return r.PropTypes=r,r},Bi}var jr;function Rd(){return jr||(jr=1,Di.exports=Ld()()),Di.exports}var _d=Rd();const Ke=Md(_d);function Pd(s,e,t){return(e=(function(a){var i=(function(r,n){if(typeof r!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var l=o.call(r,n);if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(r)})(a,"string");return typeof i=="symbol"?i:i+""})(e))in s?Object.defineProperty(s,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[e]=t,s}function ws(){return ws=Object.assign?Object.assign.bind():function(s){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var a in t)({}).hasOwnProperty.call(t,a)&&(s[a]=t[a])}return s},ws.apply(null,arguments)}function Er(s,e){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(s);e&&(a=a.filter((function(i){return Object.getOwnPropertyDescriptor(s,i).enumerable}))),t.push.apply(t,a)}return t}function Ao(s){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Er(Object(t),!0).forEach((function(a){Pd(s,a,t[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(t)):Er(Object(t)).forEach((function(a){Object.defineProperty(s,a,Object.getOwnPropertyDescriptor(t,a))}))}return s}function xa(s){return xa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xa(s)}var zd=["type","width","height","series","options","chartRef"];function Ni(s){return s&&xa(s)==="object"&&!Array.isArray(s)}function So(s,e){var t=Ao({},s);return Ni(s)&&Ni(e)&&Object.keys(e).forEach((function(a){Ni(e[a])?t[a]=a in s?So(s[a],e[a]):e[a]:t[a]=e[a]})),t}function Cs(s,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new WeakSet;if(s===e)return!0;if(xa(s)!=="object"||s===null||xa(e)!=="object"||e===null)return!1;if(t.has(s)||t.has(e))return!0;t.add(s),t.add(e);var a=Object.keys(s),i=Object.keys(e);if(a.length!==i.length)return!1;for(var r=0,n=a;r<n.length;r++){var o=n[r];if(!i.includes(o)||!Cs(s[o],e[o],t))return!1}return!0}var Od=["type","series","options","width","height","chartRef"];function Gs(s){var e=s.type,t=e===void 0?"line":e,a=s.width,i=a===void 0?"100%":a,r=s.height,n=r===void 0?"auto":r,o=s.series,l=s.options,c=s.chartRef,h=(function(w,k){if(w==null)return{};var y,A,C=(function(M,I){if(M==null)return{};var R={};for(var P in M)if({}.hasOwnProperty.call(M,P)){if(I.includes(P))continue;R[P]=M[P]}return R})(w,k);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(w);for(A=0;A<S.length;A++)y=S[A],k.includes(y)||{}.propertyIsEnumerable.call(w,y)&&(C[y]=w[y])}return C})(s,zd),d=z.useRef(null),u=z.useRef(null),g=z.useRef(null),p=c||g,f=function(){return So(l,{chart:{type:t,height:n,width:i},series:o})};z.useEffect((function(){return p.current=new Sd(d.current,f()),p.current.render(),u.current=l,function(){p.current&&typeof p.current.destroy=="function"&&p.current.destroy()}}),[]),z.useEffect((function(){if(p.current&&p.current.w){var w=!Cs(p.current.w.config.series,o),k=!Cs(u.current,l)||n!==p.current.opts.chart.height||i!==p.current.opts.chart.width;(w||k)&&(w?k?p.current.updateOptions(f()):p.current.updateSeries(o):p.current.updateOptions(f())),u.current=l}}),[l,o,n,i]);var m,v,b=(m=Od,v=Ao({},h),m.forEach((function(w){delete v[w]})),v);return z.createElement("div",ws({ref:d},b))}Gs.propTypes={type:Ke.string.isRequired,series:Ke.array.isRequired,options:Ke.object.isRequired,width:Ke.oneOfType([Ke.string,Ke.number]),height:Ke.oneOfType([Ke.string,Ke.number]),chartRef:Ke.shape({current:Ke.any})};const Dr=["#6366f1","#22c55e","#f59e0b","#ef4444","#3b82f6","#a5b4fc"];function mt(s){return typeof document>"u"?"":getComputedStyle(document.documentElement).getPropertyValue(s).trim()}function $s(s=6){return z.useMemo(()=>Array.from({length:s},(e,t)=>mt(`--cuk-color-chart-${t+1}`)||Dr[t]||Dr[0]),[s])}function Us(){return z.useMemo(()=>({textPrimary:mt("--cuk-color-text-primary")||"#1f2937",textSecondary:mt("--cuk-color-text-secondary")||"#6b7280",textMuted:mt("--cuk-color-text-muted")||"#9ca3af",border:mt("--cuk-color-border")||"#e5e7eb",surface:mt("--cuk-color-surface")||"#ffffff",surfaceRaised:mt("--cuk-color-surface-raised")||"#ffffff",background:mt("--cuk-color-background")||"#ffffff"}),[])}const Hd="_tooltip_pdcgx_1",Td="_tooltipHeader_pdcgx_10",jd="_tooltipBody_pdcgx_18",Ed="_tooltipRow_pdcgx_22",Dd="_tooltipDot_pdcgx_31",Fd="_tooltipLabel_pdcgx_38",Bd="_tooltipValue_pdcgx_43",Nd="_tooltipDetail_pdcgx_48",Vd="_tooltipDetailLabel_pdcgx_55",Xd="_tooltipDetailValue_pdcgx_59",he={tooltip:Hd,tooltipHeader:Td,tooltipBody:jd,tooltipRow:Ed,tooltipDot:Dd,tooltipLabel:Fd,tooltipValue:Bd,tooltipDetail:Nd,tooltipDetailLabel:Vd,tooltipDetailValue:Xd};function Pa({value:s,locale:e,currency:t}){return new Intl.NumberFormat(e,{style:"currency",currency:t,maximumFractionDigits:2}).format(s)}function Vi({value:s,locale:e,digits:t=0}){return new Intl.NumberFormat(e,{maximumFractionDigits:t}).format(s)}function Yd({data:s,height:e=420,currency:t="TRY",locale:a="tr-TR",valueField:i="total_sales"}){const r=$s(1),n=Us(),o=z.useMemo(()=>[...s].sort((d,u)=>d.rank-u.rank),[s]),l=z.useMemo(()=>o.map(d=>d.product_name),[o]),c=z.useMemo(()=>[{data:o.map(u=>i==="total_quantity"?u.total_quantity:i==="order_count"?u.order_count:u.total_sales)}],[o,i]),h=z.useMemo(()=>({chart:{type:"bar",toolbar:{show:!1},fontFamily:"inherit"},colors:r,plotOptions:{bar:{horizontal:!0,barHeight:"70%",borderRadius:6}},dataLabels:{enabled:!1},xaxis:{categories:l,labels:{style:{colors:n.textSecondary,fontSize:"12px"},formatter:d=>{const u=Number(d);return Number.isNaN(u)?String(d):i==="total_sales"?Pa({value:u,locale:a,currency:t}):Vi({value:u,locale:a,digits:i==="total_quantity"?2:0})}},axisBorder:{color:n.border},axisTicks:{color:n.border}},yaxis:{labels:{style:{colors:n.textSecondary,fontSize:"12px"},formatter:d=>String(d).length>28?`${String(d).slice(0,28)}…`:String(d)}},tooltip:{shared:!1,intersect:!0,custom:({dataPointIndex:d})=>{const u=o[d];return u?`
|
|
909
909
|
<div class="${he.tooltip}">
|
|
910
910
|
<div class="${he.tooltipHeader}">${u.product_name}</div>
|
|
911
911
|
<div class="${he.tooltipBody}">
|
|
@@ -919,11 +919,11 @@ rect.legend-mouseover-inactive,
|
|
|
919
919
|
</div>
|
|
920
920
|
<div class="${he.tooltipDetail}">
|
|
921
921
|
<span class="${he.tooltipDetailLabel}">Sipariş</span>
|
|
922
|
-
<span class="${he.tooltipDetailValue}">${
|
|
922
|
+
<span class="${he.tooltipDetailValue}">${Vi({value:u.order_count,locale:a})} adet</span>
|
|
923
923
|
</div>
|
|
924
924
|
<div class="${he.tooltipDetail}">
|
|
925
925
|
<span class="${he.tooltipDetailLabel}">Miktar</span>
|
|
926
|
-
<span class="${he.tooltipDetailValue}">${
|
|
926
|
+
<span class="${he.tooltipDetailValue}">${Vi({value:u.total_quantity,locale:a,digits:2})} ${u.unit_name}</span>
|
|
927
927
|
</div>
|
|
928
928
|
<div class="${he.tooltipDetail}">
|
|
929
929
|
<span class="${he.tooltipDetailLabel}">Tür</span>
|
|
@@ -931,29 +931,29 @@ rect.legend-mouseover-inactive,
|
|
|
931
931
|
</div>
|
|
932
932
|
</div>
|
|
933
933
|
</div>
|
|
934
|
-
`:""}},grid:{strokeDashArray:4,borderColor:n.border}}),[l,o,i,a,t,r,n]);return x.jsx(Gs,{options:h,series:c,type:"bar",height:e})}function Wd(s,e){return s.year*100+s.month-(e.year*100+e.month)}function Gd(s,e=3){return s.map((t,a)=>{const i=Math.max(0,a-e+1),r=s.slice(i,a+1);return r.reduce((o,l)=>o+l,0)/r.length})}function $d(s){const e=[...s].sort(Wd),t=e.map(n=>n.label),a=e.map(n=>Number(n.total_revenue)),i=e.map(n=>n.total_orders),r=Gd(a,3);return{categories:t,revenue:a,orders:i,trend:r}}const
|
|
934
|
+
`:""}},grid:{strokeDashArray:4,borderColor:n.border}}),[l,o,i,a,t,r,n]);return x.jsx(Gs,{options:h,series:c,type:"bar",height:e})}function Wd(s,e){return s.year*100+s.month-(e.year*100+e.month)}function Gd(s,e=3){return s.map((t,a)=>{const i=Math.max(0,a-e+1),r=s.slice(i,a+1);return r.reduce((o,l)=>o+l,0)/r.length})}function $d(s){const e=[...s].sort(Wd),t=e.map(n=>n.label),a=e.map(n=>Number(n.total_revenue)),i=e.map(n=>n.total_orders),r=Gd(a,3);return{categories:t,revenue:a,orders:i,trend:r}}const Fr=s=>new Intl.NumberFormat("tr-TR",{style:"currency",currency:"TRY",maximumFractionDigits:2}).format(s),Br=s=>new Intl.NumberFormat("tr-TR",{maximumFractionDigits:0}).format(s);function Ud({data:s,height:e=360}){const t=$s(2),a=Us(),{categories:i,revenue:r,orders:n,trend:o}=z.useMemo(()=>$d(s),[s]),c=z.useMemo(()=>[{name:"Aylık Ciro",type:"column",data:r},{name:"3 Aylık Trend",type:"line",data:o}],[r,o]),h=z.useMemo(()=>({chart:{type:"line",toolbar:{show:!1},fontFamily:"inherit"},colors:t,stroke:{width:[0,3],curve:"smooth"},dataLabels:{enabled:!1},xaxis:{categories:i,labels:{rotate:-45,style:{colors:a.textSecondary,fontSize:"12px"}},axisBorder:{color:a.border},axisTicks:{color:a.border}},plotOptions:{bar:{columnWidth:"55%",borderRadius:4}},yaxis:{labels:{formatter:d=>Br(d),style:{colors:a.textSecondary,fontSize:"12px"}}},tooltip:{shared:!0,intersect:!1,custom:({series:d,dataPointIndex:u,w:g})=>{const p=g.globals.labels[u]||i[u]||"",f=d[0]?.[u]??0,m=d[1]?.[u]??0,v=n[u]??0;return`
|
|
935
935
|
<div class="${he.tooltip}">
|
|
936
936
|
<div class="${he.tooltipHeader}">${p}</div>
|
|
937
937
|
<div class="${he.tooltipBody}">
|
|
938
938
|
<div class="${he.tooltipRow}">
|
|
939
939
|
<span class="${he.tooltipDot}" style="background:${t[0]}"></span>
|
|
940
940
|
<span class="${he.tooltipLabel}">Ciro</span>
|
|
941
|
-
<span class="${he.tooltipValue}">${
|
|
941
|
+
<span class="${he.tooltipValue}">${Fr(f)}</span>
|
|
942
942
|
</div>
|
|
943
943
|
<div class="${he.tooltipRow}">
|
|
944
944
|
<span class="${he.tooltipDot}" style="background:${t[1]}"></span>
|
|
945
945
|
<span class="${he.tooltipLabel}">Trend</span>
|
|
946
|
-
<span class="${he.tooltipValue}">${
|
|
946
|
+
<span class="${he.tooltipValue}">${Fr(m)}</span>
|
|
947
947
|
</div>
|
|
948
948
|
<div class="${he.tooltipDetail}">
|
|
949
949
|
<span class="${he.tooltipDetailLabel}">Sipariş</span>
|
|
950
|
-
<span class="${he.tooltipDetailValue}">${
|
|
950
|
+
<span class="${he.tooltipDetailValue}">${Br(v)} adet</span>
|
|
951
951
|
</div>
|
|
952
952
|
</div>
|
|
953
953
|
</div>
|
|
954
|
-
`}},legend:{show:!0,labels:{colors:a.textSecondary}},grid:{strokeDashArray:4,borderColor:a.border}}),[i,n,t,a]);return x.jsx(Gs,{options:h,series:c,type:"line",height:e})}const qd=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m9 6.505-1.94 5.494A1.5 1.5 0 0 1 5.647 13H3a1 1 0 1 1 0-2h2.292l2.53-7.165c.392-1.112 1.964-1.112 2.357 0L15 17.495l1.94-5.494c.21-.6.778-1.001 1.414-1.001H21a1 1 0 1 1 0 2h-2.293l-2.528 7.165c-.393 1.112-1.965 1.112-2.358 0z",clipRule:"evenodd"})}),So=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 6a1 1 0 0 1 1 1v7a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M13 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),Mo=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 6a1 1 0 0 1 1 1v7a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M13 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.98 2.879A3 3 0 0 1 9.1 2h5.8a3 3 0 0 1 2.12.879l4.101 4.1A3 3 0 0 1 22 9.101v5.798a3 3 0 0 1-.879 2.122l-4.1 4.1a3 3 0 0 1-2.122.879H9.102a3 3 0 0 1-2.122-.879l-4.1-4.1A3 3 0 0 1 2 14.899V9.102a3 3 0 0 1 .879-2.122zM9.1 4h5.8a1 1 0 0 1 .707.293l4.1 4.1A1 1 0 0 1 20 9.1v5.8a1 1 0 0 1-.293.707l-4.1 4.1A1 1 0 0 1 14.9 20H9.1a1 1 0 0 1-.707-.293l-4.1-4.1A1 1 0 0 1 4 14.9V9.1a1 1 0 0 1 .293-.707l4.1-4.1A1 1 0 0 1 9.1 4",clipRule:"evenodd"})]}),Zd=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M3 7a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M6 17a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1M8 11a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2z"})}),Kd=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M3 7a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M3 17a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M4 11a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2z"})}),Jd=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M3 7a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M7 17a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1M12 11a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2z"})}),Qd=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"m13 16.586 4.293-4.293a1 1 0 0 1 1.414 1.414l-6.353 6.354a.5.5 0 0 1-.708 0l-6.353-6.354a1 1 0 1 1 1.414-1.414L11 16.586V5a1 1 0 1 1 2 0z"})}),eu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M8.05 14.536V8.464a1 1 0 1 0-2 0v8.986a.5.5 0 0 0 .5.5h8.985a1 1 0 1 0 0-2h-6.07l8.192-8.193a1 1 0 0 0-1.414-1.414z"})}),tu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M17.95 17.45a.5.5 0 0 1-.5.5H8.465a1 1 0 1 1 0-2h6.07L6.344 7.757a1 1 0 1 1 1.414-1.414l8.193 8.193V8.464a1 1 0 1 1 2 0z"})}),au=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M11.707 6.707a1 1 0 0 0-1.414-1.414l-5.995 5.995-.01.01-.349.348a.5.5 0 0 0 0 .708l.35.349.009.009 5.995 5.995a1 1 0 0 0 1.414-1.414L7.414 13H19a1 1 0 1 0 0-2H7.414z"})}),iu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M12.293 6.707a1 1 0 1 1 1.414-1.414l5.996 5.995.009.01.349.348a.5.5 0 0 1 0 .708l-.35.349-.008.009-5.996 5.995a1 1 0 0 1-1.414-1.414L16.586 13H5a1 1 0 1 1 0-2h11.586z"})}),su=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M6.707 11.707a1 1 0 0 1-1.414-1.414l6.353-6.354a.5.5 0 0 1 .708 0l6.353 6.354a1 1 0 0 1-1.414 1.414L13 7.414V19a1 1 0 1 1-2 0V7.414z"})}),ru=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M6.05 6.55a.5.5 0 0 1 .5-.5h8.985a1 1 0 1 1 0 2h-6.07l8.192 8.193a1 1 0 0 1-1.414 1.414L8.05 9.464v6.072a1 1 0 1 1-2 0z"})}),nu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M15.95 9.464v6.072a1 1 0 1 0 2 0V6.55a.5.5 0 0 0-.5-.5H8.465a1 1 0 1 0 0 2h6.07l-8.192 8.193a1 1 0 1 0 1.414 1.414z"})}),ou=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.967 10.448a1 1 0 1 0-1.434-1.395l-3.26 3.349-1.397-1.121a1 1 0 1 0-1.251 1.56l2.46 1.973a.5.5 0 0 0 .672-.041z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.61 2.345a2 2 0 0 1 2.78 0l1.33 1.286 1.83-.26a2 2 0 0 1 2.25 1.636l.32 1.82 1.632.867a2 2 0 0 1 .86 2.645L20.8 12l.812 1.661a2 2 0 0 1-.86 2.645l-1.633.866-.32 1.822a2 2 0 0 1-2.25 1.634l-1.83-.259-1.328 1.286a2 2 0 0 1-2.782 0l-1.328-1.286-1.831.26a2 2 0 0 1-2.25-1.636l-.32-1.82-1.633-.867a2 2 0 0 1-.859-2.645L3.2 12l-.812-1.66a2 2 0 0 1 .86-2.646l1.633-.867.319-1.82a2 2 0 0 1 2.25-1.635l1.83.259zM12 3.783l2.031 1.965 2.799-.396.488 2.784 2.497 1.325L18.574 12l1.241 2.54-2.497 1.324-.488 2.784-2.799-.396L12 20.217l-2.031-1.965-2.8.396-.487-2.784-2.497-1.325L5.426 12 4.185 9.46l2.497-1.324.488-2.784 2.799.396z",clipRule:"evenodd"})]}),lu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"m10.707 14.707 4-4a1 1 0 0 0-1.414-1.414l-4 4a1 1 0 1 0 1.414 1.414M9 10a1 1 0 1 0 2 0 1 1 0 0 0-2 0M15 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.61 2.345a2 2 0 0 1 2.78 0l1.33 1.286 1.83-.26a2 2 0 0 1 2.25 1.636l.32 1.82 1.632.867a2 2 0 0 1 .86 2.645L20.8 12l.812 1.661a2 2 0 0 1-.86 2.645l-1.633.866-.32 1.822a2 2 0 0 1-2.25 1.634l-1.83-.259-1.328 1.286a2 2 0 0 1-2.782 0l-1.328-1.286-1.831.26a2 2 0 0 1-2.25-1.636l-.32-1.82-1.633-.867a2 2 0 0 1-.859-2.645L3.2 12l-.812-1.66a2 2 0 0 1 .86-2.646l1.633-.867.319-1.82a2 2 0 0 1 2.25-1.635l1.83.259zM12 3.783l2.031 1.965 2.799-.396.488 2.784 2.497 1.325L18.574 12l1.241 2.54-2.497 1.324-.488 2.784-2.799-.396L12 20.217l-2.031-1.965-2.8.396-.487-2.784-2.497-1.325L5.426 12 4.185 9.46l2.497-1.324.488-2.784 2.799.396z",clipRule:"evenodd"})]}),cu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.031 5.748 12 3.783 9.969 5.748l-2.8-.396-.487 2.784-2.497 1.325L5.426 12l-1.241 2.54 2.497 1.324.488 2.784 2.799-.396 2.03 1.965 2.032-1.965 2.799.396.488-2.784 2.497-1.325L18.574 12l1.241-2.54-2.497-1.324-.488-2.784zm-.64-3.403a2 2 0 0 0-2.782 0L9.281 3.631 7.45 3.37A2 2 0 0 0 5.2 5.008l-.32 1.82-1.633.867a2 2 0 0 0-.859 2.645L3.2 12l-.812 1.661a2 2 0 0 0 .86 2.645l1.633.866.319 1.822a2 2 0 0 0 2.25 1.634l1.83-.259 1.33 1.286a2 2 0 0 0 2.78 0l1.33-1.286 1.83.26a2 2 0 0 0 2.25-1.636l.32-1.82 1.632-.867a2 2 0 0 0 .86-2.645L20.8 12l.812-1.66a2 2 0 0 0-.86-2.646l-1.633-.867-.32-1.82a2 2 0 0 0-2.25-1.635l-1.83.259z",clipRule:"evenodd"})}),hu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M20.5 4a1 1 0 1 0-2 0v16a1 1 0 1 0 2 0zM14.5 7a1 1 0 0 1 1 1v12a1 1 0 1 1-2 0V8a1 1 0 0 1 1-1M10.5 11a1 1 0 1 0-2 0v9a1 1 0 1 0 2 0zM5.5 15a1 1 0 1 0-2 0v5a1 1 0 1 0 2 0z"})}),Io=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M10.5 4a1 1 0 1 0-2 0v16a1 1 0 1 0 2 0zM5.5 12a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0zM14.5 6a1 1 0 0 1 1 1v13a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M20.5 10a1 1 0 1 0-2 0v10a1 1 0 1 0 2 0z"})}),du=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8 10.5a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1M17 11.5a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0zM12 10.5a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.29 3.886a1 1 0 0 1-.176 1.403L8.914 7h6.171l-2.199-1.71a1 1 0 0 1 1.228-1.58L18.344 7H21a1 1 0 1 1 0 2h-.16q0 .076-.006.153l-.62 8.077A3 3 0 0 1 17.221 20H6.778a3 3 0 0 1-2.991-2.77l-.621-8.077A2 2 0 0 1 3.16 9H3a1 1 0 0 1 0-2h2.657l4.23-3.29a1 1 0 0 1 1.402.176M17.99 9h.849l-.621 8.077a1 1 0 0 1-.997.923H6.778a1 1 0 0 1-.997-.923L5.16 9z",clipRule:"evenodd"})]}),uu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 12.5a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.114 5.29a1 1 0 1 0-1.228-1.58L5.656 7H3a1 1 0 0 0 0 2h.16q0 .076.006.153l.62 8.077A3 3 0 0 0 6.779 20h10.444a3 3 0 0 0 2.991-2.77l.621-8.077q.006-.077.006-.153H21a1 1 0 1 0 0-2h-2.657l-4.23-3.29a1 1 0 1 0-1.227 1.58l2.2 1.71H8.915zM5.16 9l.621 8.077a1 1 0 0 0 .997.923h10.444a1 1 0 0 0 .997-.923L18.84 9z",clipRule:"evenodd"})]}),gu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 10a1 1 0 0 1 1 1v1.5h1.5a1 1 0 1 1 0 2H13V16a1 1 0 1 1-2 0v-1.5H9.5a1 1 0 1 1 0-2H11V11a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.29 3.886a1 1 0 0 1-.176 1.403L8.914 7h6.172l-2.2-1.71a1 1 0 1 1 1.228-1.58L18.344 7H21a1 1 0 1 1 0 2h-.16q0 .076-.006.153l-.62 8.077A3 3 0 0 1 17.221 20H6.778a3 3 0 0 1-2.991-2.77l-.621-8.077A2 2 0 0 1 3.16 9H3a1 1 0 1 1 0-2h2.657l4.23-3.29a1 1 0 0 1 1.402.176M18.84 9l-.621 8.077a1 1 0 0 1-.997.923H6.778a1 1 0 0 1-.997-.923L5.16 9z",clipRule:"evenodd"})]}),fu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 3.12c0-.935 1.131-1.403 1.793-.742l4.379 4.38c.41.41.41 1.074 0 1.484L13.414 12l3.758 3.758c.41.41.41 1.074 0 1.485l-4.38 4.379c-.661.661-1.792.193-1.792-.743v-6.465l-2.793 2.793a1 1 0 0 1-1.414-1.414L10.586 12 6.793 8.207a1 1 0 0 1 1.414-1.414L11 9.586zm2 11.294 2.086 2.086L13 18.586zm0-4.828V5.414L15.086 7.5z",clipRule:"evenodd"})}),pu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 4H8a1 1 0 0 0-1 1v14.385l3.61-2.836a2.25 2.25 0 0 1 2.78 0L17 19.385V5a1 1 0 0 0-1-1M8 2a3 3 0 0 0-3 3v15.414c0 1.252 1.443 1.953 2.427 1.18l4.419-3.473a.25.25 0 0 1 .309 0l4.418 3.472c.985.774 2.427.073 2.427-1.18V5a3 3 0 0 0-3-3z",clipRule:"evenodd"})}),xu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 9a1 1 0 0 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 5a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v15.414c0 1.252-1.442 1.953-2.427 1.18l-4.418-3.473a.25.25 0 0 0-.31 0l-4.418 3.472c-.984.774-2.427.073-2.427-1.18zm3-1h8a1 1 0 0 1 1 1v14.385l-3.61-2.836a2.25 2.25 0 0 0-2.78 0L7 19.385V5a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),mu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 6.5a1 1 0 0 1 1 1V9h1.5a1 1 0 1 1 0 2H13v1.5a1 1 0 1 1-2 0V11H9.5a1 1 0 1 1 0-2H11V7.5a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 2a3 3 0 0 0-3 3v15.414c0 1.252 1.443 1.953 2.427 1.18l4.419-3.473a.25.25 0 0 1 .309 0l4.418 3.472c.985.774 2.427.073 2.427-1.18V5a3 3 0 0 0-3-3zm8 2H8a1 1 0 0 0-1 1v14.385l3.61-2.836a2.25 2.25 0 0 1 2.78 0L17 19.385V5a1 1 0 0 0-1-1",clipRule:"evenodd"})]}),vu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10 10.5a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a2 2 0 0 0 1.5 1.937V19a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2V8.937A2 2 0 0 0 22 7V5a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2zm18-2H4v2h16zM5.5 19V9h13v10z",clipRule:"evenodd"})]}),bu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 7.022V16.9l.001.048a1 1 0 0 0 .552.946l7.552 3.777c.2.1.413.164.629.193a1 1 0 0 0 .532 0c.216-.029.429-.093.628-.193l7.553-3.777a1 1 0 0 0 .552-.946L21 16.9V7a1 1 0 0 0-.225-.632 1 1 0 0 0-.348-.273L12.894 2.33a2 2 0 0 0-1.789 0L3.573 6.095A1 1 0 0 0 3 7zm10 12.36 6-3V8.618l-6 3zm-2-7.764-6-3v7.764l6 3zm1-1.736L6.236 7 12 4.118 17.764 7z",clipRule:"evenodd"})}),yu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M7 5h2v2H7zM9 9H7v2h2zM7 13h2v2H7zM13 5h-2v2h2zM17 13h-2v2h2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18 9h-1V5a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3M6 4h8a1 1 0 0 1 1 1v4h-1a3 3 0 0 0-3 3v7c0 .35.06.687.17 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m12 16h-4a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1",clipRule:"evenodd"})]}),wu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9 5h2v2H9zM11 9H9v2h2zM15 9h-2v2h2zM11 13H9v2h2zM13 13h2v2h-2zM15 5h-2v2h2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3zm8 2H8a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1",clipRule:"evenodd"})]}),Cu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 3a1 1 0 0 0-2 0H6a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-1a1 1 0 1 0-2 0zm10 4V6a1 1 0 0 0-1-1h-1a1 1 0 1 1-2 0H9a1 1 0 0 1-2 0H6a1 1 0 0 0-1 1v1zM5 9v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9z",clipRule:"evenodd"})}),ku=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.967 12.698a1 1 0 1 0-1.434-1.396l-3.26 3.35-1.397-1.121a1 1 0 1 0-1.251 1.56l2.46 1.973a.5.5 0 0 0 .672-.041z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 2a1 1 0 0 1 1 1h6a1 1 0 1 1 2 0h1a3 3 0 0 1 3 3v13a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h1a1 1 0 0 1 1-1m11 4v1H5V6a1 1 0 0 1 1-1h1a1 1 0 0 0 2 0h6a1 1 0 1 0 2 0h1a1 1 0 0 1 1 1M5 19V9h14v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),Au=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M6 11a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1M10.5 11a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2h-1a1 1 0 0 1-1-1M16 10a1 1 0 1 0 0 2h1a1 1 0 1 0 0-2zM6 14.5a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1M11.5 13.5a1 1 0 1 0 0 2h1a1 1 0 1 0 0-2zM15 14.5a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2h-1a1 1 0 0 1-1-1M7 17a1 1 0 1 0 0 2h1a1 1 0 1 0 0-2zM10.5 18a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2h-1a1 1 0 0 1-1-1M16 17a1 1 0 1 0 0 2h1a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 3a1 1 0 0 0-2 0H6a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-1a1 1 0 1 0-2 0zm10 4V6a1 1 0 0 0-1-1h-1a1 1 0 1 1-2 0H9a1 1 0 0 1-2 0H6a1 1 0 0 0-1 1v1zM5 9v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9z",clipRule:"evenodd"})]}),Su=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 13.5a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 2a1 1 0 0 1 1 1h6a1 1 0 1 1 2 0h1a3 3 0 0 1 3 3v13a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h1a1 1 0 0 1 1-1m11 4v1H5V6a1 1 0 0 1 1-1h1a1 1 0 0 0 2 0h6a1 1 0 1 0 2 0h1a1 1 0 0 1 1 1M5 19V9h14v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),Mu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 11a1 1 0 0 1 1 1v1.5h1.5a1 1 0 1 1 0 2H13V17a1 1 0 1 1-2 0v-1.5H9.5a1 1 0 1 1 0-2H11V12a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 3a1 1 0 0 0-2 0H6a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-1a1 1 0 1 0-2 0zm10 4V6a1 1 0 0 0-1-1h-1a1 1 0 1 1-2 0H9a1 1 0 0 1-2 0H6a1 1 0 0 0-1 1v1zM5 9v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9z",clipRule:"evenodd"})]}),Iu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.525 12.025a1 1 0 0 1 1.414 0L12 13.085l1.06-1.06a1 1 0 0 1 1.415 1.414l-1.06 1.061 1.06 1.06a1 1 0 0 1-1.414 1.415L12 15.915l-1.06 1.06a1 1 0 0 1-1.415-1.414l1.06-1.061-1.06-1.06a1 1 0 0 1 0-1.415"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 3a1 1 0 0 0-2 0H6a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-1a1 1 0 1 0-2 0zm10 4V6a1 1 0 0 0-1-1h-1a1 1 0 1 1-2 0H9a1 1 0 0 1-2 0H6a1 1 0 0 0-1 1v1zM5 9v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9z",clipRule:"evenodd"})]}),Lu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 12.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-2 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 5.5h2.5l.6-.8a3 3 0 0 1 2.4-1.2h3a3 3 0 0 1 2.4 1.2l.6.8H19a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3m9.3.4 1.2 1.6H19a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h3.5l1.2-1.6a1 1 0 0 1 .8-.4h3a1 1 0 0 1 .8.4",clipRule:"evenodd"})]}),Ru=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.707 2.293a1 1 0 0 0-1.414 1.414L4.195 5.61A3 3 0 0 0 2 8.5v9a3 3 0 0 0 3 3h14l.085-.001 1.208 1.208a1 1 0 0 0 1.414-1.414zM17.086 18.5l-2.752-2.751a4 4 0 0 1-5.583-5.583L6.086 7.5H5a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1zm-6.882-6.882a2 2 0 0 0 2.677 2.677z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M11.915 8.5 16 12.586 16 12.5a4 4 0 0 0-4.085-4"}),x.jsx("path",{fill:"currentColor",d:"M20 8.5v7.879a.5.5 0 0 0 .146.353l1.561 1.56c.062.063.176.046.197-.038Q22 17.89 22 17.5v-9a3 3 0 0 0-3-3h-2.5l-.6-.8a3 3 0 0 0-2.4-1.2h-3a3 3 0 0 0-2.107.865c-.178.175-.156.458.02.635l.927.926c.103.102.273.09.36-.026a1 1 0 0 1 .8-.4h3a1 1 0 0 1 .8.4l1.2 1.6H19a1 1 0 0 1 1 1"})]}),_u=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M17 14.592V16a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v.694l2.473-2.322c.958-.9 2.527-.22 2.527 1.094v8.702c0 1.365-1.675 2.02-2.601 1.018zM5 7h9a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1m12 4.646 3 3.245V8.62l-3 2.816z",clipRule:"evenodd"})}),Pu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.707 2.293a1 1 0 0 0-1.414 1.414L3.825 5.24A3 3 0 0 0 2 8v8a3 3 0 0 0 3 3h9c.978 0 1.846-.468 2.394-1.192l3.899 3.9a1 1 0 0 0 1.414-1.415zm11.23 14.058L5.586 7H5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h9a1 1 0 0 0 .937-.65M15 11.586l5.775 5.774c.136.137.342.188.507.089.417-.252.718-.703.718-1.281V7.466c0-1.314-1.569-1.993-2.527-1.094L17 8.694V8a3 3 0 0 0-3-3H9.621a.5.5 0 0 0-.353.854l1 1A.5.5 0 0 0 10.62 7H14a1 1 0 0 1 1 1zm2 .06 3 3.245V8.62l-3 2.816z",clipRule:"evenodd"})}),zu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M6.638 4.122A2 2 0 0 0 4.674 2.5H3a1 1 0 0 0 0 2h1.674l1.876 9.755a4 4 0 0 0 3.928 3.245h6.21a4 4 0 0 0 3.868-2.982l1.25-4.755A3 3 0 0 0 18.907 6H17.5a1 1 0 1 0 0 2h1.406a1 1 0 0 1 .967 1.254l-1.251 4.755a2 2 0 0 1-1.935 1.491h-6.209a2 2 0 0 1-1.964-1.622L7.384 8H10a1 1 0 1 0 0-2H7z"}),x.jsx("path",{fill:"currentColor",d:"M14.75 8.5a1 1 0 1 0-2 0V10h-1.5a1 1 0 1 0 0 2h1.5v1.5a1 1 0 1 0 2 0V12h1.5a1 1 0 1 0 0-2h-1.5zM16 20a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0M8.75 21.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})]}),Ou=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M6.638 4.122A2 2 0 0 0 4.674 2.5H3a1 1 0 0 0 0 2h1.674l1.876 9.755a4 4 0 0 0 3.928 3.245h6.21a4 4 0 0 0 3.868-2.982l1.25-4.755A3 3 0 0 0 18.907 6H17.5a1 1 0 1 0 0 2h1.406a1 1 0 0 1 .967 1.254l-1.251 4.755a2 2 0 0 1-1.935 1.491h-6.209a2 2 0 0 1-1.964-1.622L7.384 8H10a1 1 0 1 0 0-2H7zM8.75 21.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3M17.5 21.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"}),x.jsx("path",{fill:"currentColor",d:"M10.043 9.793a1 1 0 0 1 1.414 0l1.293 1.293V4a1 1 0 1 1 2 0v7.086l1.293-1.293a1 1 0 1 1 1.414 1.414l-3.353 3.354a.5.5 0 0 1-.708 0l-3.353-3.354a1 1 0 0 1 0-1.414"})]}),Hu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.638 4.122A2 2 0 0 0 4.674 2.5H3a1 1 0 0 0 0 2h1.674l1.876 9.755a4 4 0 0 0 3.928 3.245h6.21a4 4 0 0 0 3.868-2.982l1.25-4.755A3 3 0 0 0 18.907 6H6.999zM7.384 8l1.13 5.878a2 2 0 0 0 1.964 1.622h6.21a2 2 0 0 0 1.934-1.491l1.25-4.755A1 1 0 0 0 18.907 8z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M8.75 21.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3M17.5 21.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})]}),Tu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 8.5a1 1 0 0 1 1 1V11h1.5a1 1 0 1 1 0 2H13v1.5a1 1 0 1 1-2 0V13H9.5a1 1 0 1 1 0-2H11V9.5a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.17-1H19a1 1 0 0 1 1 1v.83A3 3 0 0 1 18.17 6M16.1 6H7.9A5.01 5.01 0 0 1 4 9.9v4.2A5.01 5.01 0 0 1 7.9 18h8.2a5.01 5.01 0 0 1 3.9-3.9V9.9A5.01 5.01 0 0 1 16.1 6M20 16.17A3 3 0 0 0 18.17 18H19a1 1 0 0 0 1-1zM5.83 18A3 3 0 0 0 4 16.17V17a1 1 0 0 0 1 1zM4 7.83A3 3 0 0 0 5.83 6H5a1 1 0 0 0-1 1z",clipRule:"evenodd"})]}),ju=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.967 10.448a1 1 0 1 0-1.434-1.395l-3.26 3.349-1.397-1.121a1 1 0 1 0-1.251 1.56l2.46 1.973a.5.5 0 0 0 .672-.041z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.17-1H19a1 1 0 0 1 1 1v.83A3 3 0 0 1 18.17 6M16.1 6H7.9A5.01 5.01 0 0 1 4 9.9v4.2A5.01 5.01 0 0 1 7.9 18h8.2a5.01 5.01 0 0 1 3.9-3.9V9.9A5.01 5.01 0 0 1 16.1 6M20 16.17A3 3 0 0 0 18.17 18H19a1 1 0 0 0 1-1zM5.83 18A3 3 0 0 0 4 16.17V17a1 1 0 0 0 1 1zM4 7.83A3 3 0 0 0 5.83 6H5a1 1 0 0 0-1 1z",clipRule:"evenodd"})]}),Eu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.525 9.525a1 1 0 0 1 1.414 0L12 10.585l1.06-1.06a1 1 0 1 1 1.415 1.414L13.415 12l1.06 1.06a1 1 0 0 1-1.414 1.415L12 13.415l-1.06 1.06a1 1 0 0 1-1.415-1.414L10.585 12l-1.06-1.06a1 1 0 0 1 0-1.415"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.17-1H19a1 1 0 0 1 1 1v.83A3 3 0 0 1 18.17 6M16.1 6H7.9A5.01 5.01 0 0 1 4 9.9v4.2A5.01 5.01 0 0 1 7.9 18h8.2a5.01 5.01 0 0 1 3.9-3.9V9.9A5.01 5.01 0 0 1 16.1 6M20 16.17A3 3 0 0 0 18.17 18H19a1 1 0 0 0 1-1zM5.83 18A3 3 0 0 0 4 16.17V17a1 1 0 0 0 1 1zM4 7.83A3 3 0 0 0 5.83 6H5a1 1 0 0 0-1 1z",clipRule:"evenodd"})]}),Du=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 16a4 4 0 1 0 0-8 4 4 0 0 0 0 8m0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.17-1H19a1 1 0 0 1 1 1v.83A3 3 0 0 1 18.17 6M16.1 6H7.9A5.01 5.01 0 0 1 4 9.9v4.2A5.01 5.01 0 0 1 7.9 18h8.2a5.01 5.01 0 0 1 3.9-3.9V9.9A5.01 5.01 0 0 1 16.1 6M20 16.17A3 3 0 0 0 18.17 18H19a1 1 0 0 0 1-1zM5.83 18A3 3 0 0 0 4 16.17V17a1 1 0 0 0 1 1zM4 7.83A3 3 0 0 0 5.83 6H5a1 1 0 0 0-1 1z",clipRule:"evenodd"})]}),Fu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 11a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.17-1H19a1 1 0 0 1 1 1v.83A3 3 0 0 1 18.17 6M16.1 6H7.9A5.01 5.01 0 0 1 4 9.9v4.2A5.01 5.01 0 0 1 7.9 18h8.2a5.01 5.01 0 0 1 3.9-3.9V9.9A5.01 5.01 0 0 1 16.1 6M20 16.17A3 3 0 0 0 18.17 18H19a1 1 0 0 0 1-1zM5.83 18A3 3 0 0 0 4 16.17V17a1 1 0 0 0 1 1zM4 7.83A3 3 0 0 0 5.83 6H5a1 1 0 0 0-1 1z",clipRule:"evenodd"})]}),qs=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.136 5.729a1 1 0 0 1 .135 1.407l-8.578 10.4a.5.5 0 0 1-.717.056L5.338 13.5A1 1 0 1 1 6.662 12l3.475 3.066 7.592-9.202a1 1 0 0 1 1.407-.135",clipRule:"evenodd"})}),Lo=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.707 8.293a1 1 0 0 0-1.414 0L12 13.586 6.707 8.293a1 1 0 0 0-1.414 1.414l6.353 6.354a.5.5 0 0 0 .708 0l6.353-6.354a1 1 0 0 0 0-1.414",clipRule:"evenodd"})}),Ro=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.207 5.293a1 1 0 0 1 0 1.414L9.914 12l5.293 5.293a1 1 0 0 1-1.414 1.414l-6.354-6.353a.5.5 0 0 1 0-.708l6.354-6.353a1 1 0 0 1 1.414 0",clipRule:"evenodd"})}),Zs=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.793 5.293a1 1 0 0 0 0 1.414L14.086 12l-5.293 5.293a1 1 0 1 0 1.414 1.414l6.354-6.353a.5.5 0 0 0 0-.708l-6.354-6.353a1 1 0 0 0-1.414 0",clipRule:"evenodd"})}),Bu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M17.293 5.793a1 1 0 1 1 1.414 1.414l-6.353 6.354a.5.5 0 0 1-.708 0L5.293 7.207a1 1 0 0 1 1.414-1.414L12 11.086z"}),x.jsx("path",{fill:"currentColor",d:"M17.293 11.793a1 1 0 0 1 1.414 1.414l-6.353 6.354a.5.5 0 0 1-.708 0l-6.353-6.354a1 1 0 1 1 1.414-1.414L12 17.086z"})]}),Nu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12.207 6.707a1 1 0 0 0-1.414-1.414l-6.354 6.353a.5.5 0 0 0 0 .708l6.354 6.353a1 1 0 0 0 1.414-1.414L6.914 12z"}),x.jsx("path",{fill:"currentColor",d:"M18.207 6.707a1 1 0 0 0-1.414-1.414l-6.354 6.353a.5.5 0 0 0 0 .708l6.354 6.353a1 1 0 0 0 1.414-1.414L12.914 12z"})]}),Vu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M5.793 6.707a1 1 0 0 1 1.414-1.414l6.354 6.353a.5.5 0 0 1 0 .708l-6.354 6.353a1 1 0 0 1-1.414-1.414L11.086 12z"}),x.jsx("path",{fill:"currentColor",d:"M11.793 6.707a1 1 0 0 1 1.414-1.414l6.354 6.353a.5.5 0 0 1 0 .708l-6.354 6.353a1 1 0 0 1-1.414-1.414L17.086 12z"})]}),Xu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M17.293 12.207a1 1 0 0 0 1.414-1.414l-6.353-6.354a.5.5 0 0 0-.708 0l-6.353 6.354a1 1 0 1 0 1.414 1.414L12 6.914z"}),x.jsx("path",{fill:"currentColor",d:"M17.293 18.207a1 1 0 0 0 1.414-1.414l-6.353-6.354a.5.5 0 0 0-.708 0l-6.353 6.354a1 1 0 1 0 1.414 1.414L12 12.914z"})]}),Yu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.707 15.707a1 1 0 0 1-1.414 0L12 10.414l-5.293 5.293a1 1 0 0 1-1.414-1.414l6.353-6.354a.5.5 0 0 1 .708 0l6.353 6.354a1 1 0 0 1 0 1.414",clipRule:"evenodd"})}),Wu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M7.293 11.543a1 1 0 0 1 1.414 0L11 13.836V7.75a1 1 0 1 1 2 0v6.086l2.293-2.293a1 1 0 1 1 1.414 1.414l-4.353 4.354a.5.5 0 0 1-.708 0l-4.353-4.354a1 1 0 0 1 0-1.414"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),Gu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12.457 7.293a1 1 0 0 1 0 1.414L10.164 11h6.086a1 1 0 1 1 0 2h-6.086l2.293 2.293a1 1 0 0 1-1.414 1.414l-4.354-4.353a.5.5 0 0 1 0-.708l4.354-4.353a1 1 0 0 1 1.414 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),$u=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M11.543 7.293a1 1 0 0 0 0 1.414L13.836 11H7.75a1 1 0 1 0 0 2h6.086l-2.293 2.293a1 1 0 0 0 1.414 1.414l4.354-4.353a.5.5 0 0 0 0-.708l-4.354-4.353a1 1 0 0 0-1.414 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),Uu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16.707 12.457a1 1 0 0 1-1.414 0L13 10.164v6.086a1 1 0 1 1-2 0v-6.086l-2.293 2.293a1 1 0 1 1-1.414-1.414l4.353-4.354a.5.5 0 0 1 .708 0l4.353 4.354a1 1 0 0 1 0 1.414"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),_o=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16.771 9.136a1 1 0 0 0-1.542-1.272l-4.292 5.202L9.162 11.5A1 1 0 0 0 7.838 13l2.938 2.592a.5.5 0 0 0 .716-.057z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),qu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.293 9.793a1 1 0 1 1 1.414 1.414l-4.353 4.354a.5.5 0 0 1-.708 0l-4.353-4.354a1 1 0 0 1 1.414-1.414L12 13.086z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),Zu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M14.207 8.707a1 1 0 0 0-1.414-1.414l-4.354 4.353a.5.5 0 0 0 0 .708l4.354 4.353a1 1 0 0 0 1.414-1.414L10.914 12z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),Ku=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.793 8.707a1 1 0 0 1 1.414-1.414l4.354 4.353a.5.5 0 0 1 0 .708l-4.354 4.353a1 1 0 0 1-1.414-1.414L13.086 12z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),Ju=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16.707 12.043a1 1 0 0 0-1.414 0L12 15.336l-3.293-3.293a1 1 0 1 0-1.414 1.414l4.353 4.354a.5.5 0 0 0 .708 0l4.353-4.354a1 1 0 0 0 0-1.414"}),x.jsx("path",{fill:"currentColor",d:"M15.293 7.043a1 1 0 1 1 1.414 1.414l-4.353 4.354a.5.5 0 0 1-.708 0L7.293 8.457a1 1 0 0 1 1.414-1.414L12 10.336z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),Qu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M11.957 7.293a1 1 0 0 1 0 1.414L8.664 12l3.293 3.293a1 1 0 0 1-1.414 1.414l-4.354-4.353a.5.5 0 0 1 0-.708l4.354-4.353a1 1 0 0 1 1.414 0"}),x.jsx("path",{fill:"currentColor",d:"M16.957 8.707a1 1 0 0 0-1.414-1.414l-4.354 4.353a.5.5 0 0 0 0 .708l4.354 4.353a1 1 0 0 0 1.414-1.414L13.664 12z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),e0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12.043 7.293a1 1 0 0 0 0 1.414L15.336 12l-3.293 3.293a1 1 0 0 0 1.414 1.414l4.354-4.353a.5.5 0 0 0 0-.708l-4.354-4.353a1 1 0 0 0-1.414 0"}),x.jsx("path",{fill:"currentColor",d:"M7.043 8.707a1 1 0 0 1 1.414-1.414l4.354 4.353a.5.5 0 0 1 0 .708l-4.354 4.353a1 1 0 0 1-1.414-1.414L10.336 12z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),t0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16.707 11.957a1 1 0 0 1-1.414 0L12 8.664l-3.293 3.293a1 1 0 1 1-1.414-1.414l4.353-4.354a.5.5 0 0 1 .708 0l4.353 4.354a1 1 0 0 1 0 1.414"}),x.jsx("path",{fill:"currentColor",d:"M15.293 16.957a1 1 0 1 0 1.414-1.414l-4.353-4.354a.5.5 0 0 0-.708 0l-4.353 4.354a1 1 0 1 0 1.414 1.414L12 13.664z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),a0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.293 14.207a1 1 0 1 0 1.414-1.414l-4.353-4.354a.5.5 0 0 0-.708 0l-4.353 4.354a1 1 0 1 0 1.414 1.414L12 10.914z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),i0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 12a8 8 0 1 0 16 0 8 8 0 0 0-16 0m8-10C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2",clipRule:"evenodd"})}),s0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.536 11a1 1 0 0 1 0 2H8.464a1 1 0 1 1 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),r0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 16.535a1 1 0 0 1-1-1V13H8.464a1 1 0 1 1 0-2H11V8.465a1 1 0 0 1 2 0V11h2.536a1 1 0 1 1 0 2H13v2.535a1 1 0 0 1-1 1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),n0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8.793 15.207a1 1 0 0 1 0-1.414L10.586 12l-1.793-1.793a1 1 0 0 1 1.414-1.414L12 10.586l1.793-1.793a1 1 0 0 1 1.414 1.414L13.414 12l1.793 1.793a1 1 0 0 1-1.414 1.414L12 13.414l-1.793 1.793a1 1 0 0 1-1.414 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),o0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 10.5a1 1 0 0 1 1 1V13h1.5a1 1 0 1 1 0 2H13v1.5a1 1 0 1 1-2 0V15H9.5a1 1 0 1 1 0-2H11v-1.5a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.664 1.753a1 1 0 0 0-1.328 0l-9 8A1 1 0 0 0 3.5 11.366V18a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-6.634a1 1 0 0 0 1.164-1.613zM18.5 9.616 12 3.838 5.5 9.616V18a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2z",clipRule:"evenodd"})]}),l0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3zm2 0h4v2h-4zm6 2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2H7a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1z",clipRule:"evenodd"})}),c0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 6a1 1 0 0 1 1 1v4h2a1 1 0 1 1 0 2h-3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),h0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v7a4 4 0 0 1-4 4h-1v1a4 4 0 0 1-4 4h-6a4 4 0 0 1-4-4v-7a4 4 0 0 1 4-4h1zm2 1h3a4 4 0 0 1 4 4v4h1a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-6a2 2 0 0 0-2 2zm-5 4a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2z",clipRule:"evenodd"})}),d0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"m7.414 13 3.293-3.293a1 1 0 0 0-1.414-1.414l-5.354 5.353a.5.5 0 0 0 0 .708l5.354 5.353a1 1 0 0 0 1.414-1.414L7.414 15H16a4 4 0 0 0 4-4V5a1 1 0 1 0-2 0v6a2 2 0 0 1-2 2z"})}),u0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"m16.586 13-3.293-3.293a1 1 0 0 1 1.414-1.414l5.354 5.353a.5.5 0 0 1 0 .708l-5.354 5.353a1 1 0 0 1-1.414-1.414L16.586 15H8a4 4 0 0 1-4-4V5a1 1 0 1 1 2 0v6a2 2 0 0 0 2 2z"})}),g0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"m10.703 19.712-.35.349a.5.5 0 0 1-.707 0l-.349-.35-.009-.008-4.995-4.996a1 1 0 1 1 1.414-1.414L9 16.586V8a4 4 0 0 1 4-4h6a1 1 0 1 1 0 2h-6a2 2 0 0 0-2 2v8.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4.995 4.996z"})}),f0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M5.707 10.707a1 1 0 0 1-1.414-1.414l4.995-4.996.01-.009.348-.349a.5.5 0 0 1 .708 0l.349.35.009.008 4.995 4.996a1 1 0 0 1-1.414 1.414L11 7.414V16a2 2 0 0 0 2 2h6a1 1 0 1 1 0 2h-6a4 4 0 0 1-4-4V7.414z"})}),p0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"m13.298 19.712-.01-.01-4.995-4.995a1 1 0 1 1 1.414-1.414L13 16.586V8a2 2 0 0 0-2-2H5a1 1 0 1 1 0-2h6a4 4 0 0 1 4 4v8.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4.995 4.996-.01.009-.348.349a.5.5 0 0 1-.708 0z"})}),x0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M18.293 10.707a1 1 0 0 0 1.414-1.414l-4.995-4.996-.01-.009-.348-.349a.5.5 0 0 0-.708 0l-.349.35-.009.008-4.995 4.996a1 1 0 1 0 1.414 1.414L13 7.414V16a2 2 0 0 1-2 2H5a1 1 0 1 0 0 2h6a4 4 0 0 0 4-4V7.414z"})}),m0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M10.707 5.707a1 1 0 0 0-1.414-1.414L3.939 9.646a.5.5 0 0 0 0 .708l5.354 5.353a1 1 0 0 0 1.414-1.414L7.414 11H16a2 2 0 0 1 2 2v6a1 1 0 1 0 2 0v-6a4 4 0 0 0-4-4H7.414z"})}),v0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M13.293 5.707a1 1 0 0 1 1.414-1.414l5.354 5.353a.5.5 0 0 1 0 .708l-5.354 5.353a1 1 0 0 1-1.414-1.414L16.586 11H8a2 2 0 0 0-2 2v6a1 1 0 1 1-2 0v-6a4 4 0 0 1 4-4h8.586z"})}),b0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M5 15a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm3-1h14a1 1 0 0 1 1 1v1H4V7a1 1 0 0 1 1-1m15 4v7a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-7z",clipRule:"evenodd"})]}),Cs=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M18.207 16.793a1 1 0 0 1-1.414 1.414L12 13.414l-4.793 4.793a1 1 0 1 1-1.414-1.414L10.586 12 5.793 7.207a1 1 0 1 1 1.414-1.414L12 10.586l4.793-4.793a1 1 0 1 1 1.414 1.414L13.414 12z"})}),y0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 5.5A2.5 2.5 0 0 1 5.5 3h3A2.5 2.5 0 0 1 11 5.5v3A2.5 2.5 0 0 1 8.5 11h-3A2.5 2.5 0 0 1 3 8.5zM5.5 5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5M13 15.5a2.5 2.5 0 0 1 2.5-2.5h3a2.5 2.5 0 0 1 2.5 2.5v3a2.5 2.5 0 0 1-2.5 2.5h-3a2.5 2.5 0 0 1-2.5-2.5zm2.5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5M5.5 13A2.5 2.5 0 0 0 3 15.5v3A2.5 2.5 0 0 0 5.5 21h3a2.5 2.5 0 0 0 2.5-2.5v-3A2.5 2.5 0 0 0 8.5 13zm3 2h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M14.5 6a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"})]}),w0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.5 3A2.5 2.5 0 0 0 3 5.5v3A2.5 2.5 0 0 0 5.5 11h3A2.5 2.5 0 0 0 11 8.5v-3A2.5 2.5 0 0 0 8.5 3zm3 2h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5M15.5 13a2.5 2.5 0 0 0-2.5 2.5v3a2.5 2.5 0 0 0 2.5 2.5h3a2.5 2.5 0 0 0 2.5-2.5v-3a2.5 2.5 0 0 0-2.5-2.5zm0 2a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM3 15.5A2.5 2.5 0 0 1 5.5 13h3a2.5 2.5 0 0 1 2.5 2.5v3A2.5 2.5 0 0 1 8.5 21h-3A2.5 2.5 0 0 1 3 18.5zm2.5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M17 3.5a1 1 0 0 1 1 1V6h1.5a1 1 0 1 1 0 2H18v1.5a1 1 0 1 1-2 0V8h-1.5a1 1 0 1 1 0-2H16V4.5a1 1 0 0 1 1-1"})]}),C0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10.5 13a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19 18h-6v2h2a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h2v-2H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3M5 5h14a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),k0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.516 16a.5.5 0 0 0 .044.111l2.612 4.822a2.037 2.037 0 0 0 3.828-.97V16h5.278a3 3 0 0 0 2.992-3.214l-.571-8A3 3 0 0 0 17.707 2H5.5a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3zM11 19.963V14h7.278a1 1 0 0 0 .998-1.071l-.572-8A1 1 0 0 0 17.707 4H8.5v11.493l2.43 4.488q.012.018.033.019l.014-.002.012-.009.009-.012q.001 0 .002-.014M6.5 14h-1a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h1z",clipRule:"evenodd"})}),A0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 20a1 1 0 1 0 2 0v-.253a4.68 4.68 0 0 0 4.5-4.679A4.07 4.07 0 0 0 13.432 11H13V6.274a3.26 3.26 0 0 1 2.047 1.075c.367.414.948.657 1.453.432.505-.224.74-.823.424-1.276A5.26 5.26 0 0 0 13 4.265V4a1 1 0 1 0-2 0v.253a4.68 4.68 0 0 0-4.5 4.679A4.07 4.07 0 0 0 10.568 13H11v4.726a3.26 3.26 0 0 1-2.047-1.075c-.367-.414-.948-.657-1.453-.432-.505.224-.74.823-.424 1.276A5.26 5.26 0 0 0 11 19.735zm2-2.256a2.68 2.68 0 0 0 2.5-2.676A2.07 2.07 0 0 0 13.432 13H13zM11 11V6.256a2.68 2.68 0 0 0-2.5 2.676c0 1.142.926 2.068 2.068 2.068z",clipRule:"evenodd"})}),S0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M6 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4M12 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4M20 12a2 2 0 1 0-4 0 2 2 0 0 0 4 0"})}),M0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M14 6a2 2 0 1 1-4 0 2 2 0 0 1 4 0M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0M12 20a2 2 0 1 0 0-4 2 2 0 0 0 0 4"})}),I0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"m11.25 13.586-1.293-1.293a1 1 0 0 0-1.414 1.414l3.353 3.354a.5.5 0 0 0 .708 0l3.353-3.354a1 1 0 0 0-1.414-1.414l-1.293 1.293V4a1 1 0 1 0-2 0z"}),x.jsx("path",{fill:"currentColor",d:"M4 14a1 1 0 0 1 1 1v2a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-2a1 1 0 1 1 2 0v2a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4v-2a1 1 0 0 1 1-1"})]}),L0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 11a9 9 0 0 1 18 0v8a3 3 0 0 1-3 3h-1a3 3 0 0 1-3-3v-3a3 3 0 0 1 3-3h1c.35 0 .687.06 1 .17V11a7 7 0 1 0-14 0v2.17c.313-.11.65-.17 1-.17h1a3 3 0 0 1 3 3v3a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm16 5a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zM5 19v-3a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1",clipRule:"evenodd"})}),R0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.333-1H5.667l5.733 4.3a1 1 0 0 0 1.2 0zM4 7.25V17a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.25l-6.2 4.65a3 3 0 0 1-3.6 0z",clipRule:"evenodd"})}),_0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.707 7.207a1 1 0 0 1-1.414 0L13 5.914V15.5a1 1 0 1 1-2 0V5.914L9.707 7.207a1 1 0 0 1-1.414-1.414l3.353-3.354a.5.5 0 0 1 .708 0l3.353 3.354a1 1 0 0 1 0 1.414"}),x.jsx("path",{fill:"currentColor",d:"M18 8.5a4 4 0 0 1 4 4v5a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4v-5a4 4 0 0 1 4-4h2a1 1 0 1 1 0 2H6a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2h-2a1 1 0 1 1 0-2z"})]}),P0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 5c6.13 0 9.03 4.11 10.052 6.031a2.05 2.05 0 0 1 0 1.938C21.03 14.89 18.13 19 12 19s-9.03-4.11-10.052-6.031a2.05 2.05 0 0 1 0-1.938C2.97 9.11 5.87 5 12 5M6.836 8.478c-1.66 1.1-2.63 2.565-3.122 3.492l-.009.021v.018l.01.021c.492.927 1.461 2.392 3.121 3.492A6.2 6.2 0 0 1 5.75 12c0-1.306.4-2.52 1.086-3.522m10.328 7.044c1.66-1.1 2.63-2.565 3.122-3.492l.008-.021.002-.007v-.006l-.002-.005-.008-.021c-.493-.927-1.462-2.392-3.122-3.492A6.2 6.2 0 0 1 18.25 12c0 1.306-.4 2.52-1.086 3.522M7.75 12a4.25 4.25 0 1 1 8.5 0 4.25 4.25 0 0 1-8.5 0",clipRule:"evenodd"})}),z0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.707 4.293a1 1 0 0 0-1.414 1.414L5.53 6.945c-1.904 1.33-3.024 3.036-3.583 4.086a2.05 2.05 0 0 0 0 1.938C2.97 14.89 5.87 19 12 19c1.827 0 3.368-.365 4.657-.929l1.636 1.636a1 1 0 0 0 1.414-1.414zm8.507 11.335L8.372 9.786a4.25 4.25 0 0 0 5.843 5.843m2.006-3.12c-.02.163.03.328.146.444l.888.887c.252.253.678.165.773-.179A6.3 6.3 0 0 0 18.25 12c0-1.306-.4-2.52-1.086-3.522 1.66 1.1 2.63 2.565 3.122 3.492l.008.021.001.005v.013l-.01.021a10 10 0 0 1-1.736 2.357.523.523 0 0 0-.01.738l.703.702c.189.19.494.197.683.009a12 12 0 0 0 2.127-2.867 2.05 2.05 0 0 0 0-1.938C21.03 9.11 18.13 5 12 5c-.838 0-1.616.077-2.337.215-.378.072-.502.532-.23.803l1.615 1.616a.54.54 0 0 0 .444.146q.25-.03.508-.03a4.25 4.25 0 0 1 4.22 4.758m-9.384-4.03c-1.66 1.1-2.63 2.565-3.122 3.492l-.009.021v.018l.01.021c.492.927 1.461 2.392 3.121 3.492A6.2 6.2 0 0 1 5.75 12c0-1.306.4-2.52 1.086-3.522",clipRule:"evenodd"})}),O0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.967 11.448a1 1 0 1 0-1.434-1.396l-3.26 3.35-1.398-1.121a1 1 0 1 0-1.25 1.56l2.46 1.973a.5.5 0 0 0 .672-.041z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7.243a3 3 0 0 0-.879-2.122L16.88 2.88A3 3 0 0 0 14.757 2zm0 2h7v2.9A1.1 1.1 0 0 0 15.1 8H18v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m9 .828L17.172 6H16z",clipRule:"evenodd"})]}),H0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9 7a1 1 0 0 0 0 2h2a1 1 0 1 0 0-2zM8 12a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1M9 15a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7.243a3 3 0 0 0-.879-2.122L16.88 2.88A3 3 0 0 0 14.757 2zm0 2h7v2.9A1.1 1.1 0 0 0 15.1 8H18v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m9 .828L17.172 6H16z",clipRule:"evenodd"})]}),T0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h7.757a3 3 0 0 1 2.122.879L19.12 5.12A3 3 0 0 1 20 7.243V19a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3zm10-1H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8h-2.9A1.1 1.1 0 0 1 14 6.9zm3.172 2L16 4.828V6z",clipRule:"evenodd"})}),j0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 12a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7.243a3 3 0 0 0-.879-2.122L16.88 2.88A3 3 0 0 0 14.757 2zm0 2h7v2.9A1.1 1.1 0 0 0 15.1 8H18v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m9 .828L17.172 6H16z",clipRule:"evenodd"})]}),E0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 9.5a1 1 0 0 1 1 1V12h1.5a1 1 0 1 1 0 2H13v1.5a1 1 0 1 1-2 0V14H9.5a1 1 0 1 1 0-2H11v-1.5a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h7.757a3 3 0 0 1 2.122.879L19.12 5.12A3 3 0 0 1 20 7.243V19a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3zm10-1H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8h-2.9A1.1 1.1 0 0 1 14 6.9zm3.172 2L16 4.828V6z",clipRule:"evenodd"})]}),D0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.525 10.525a1 1 0 0 1 1.414 0L12 11.585l1.06-1.06a1 1 0 0 1 1.415 1.414L13.415 13l1.06 1.06a1 1 0 0 1-1.414 1.415L12 14.415l-1.06 1.06a1 1 0 0 1-1.415-1.414L10.585 13l-1.06-1.06a1 1 0 0 1 0-1.415"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h7.757a3 3 0 0 1 2.122.879L19.12 5.12A3 3 0 0 1 20 7.243V19a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3zm10-1H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8h-2.9A1.1 1.1 0 0 1 14 6.9zm3.172 2L16 4.828V6z",clipRule:"evenodd"})]}),F0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.172 8 9.464 6.293A1 1 0 0 0 8.757 6H5a1 1 0 0 0-1 1v10.5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1zM12 6l-1.121-1.121A3 3 0 0 0 8.757 4H5a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3z",clipRule:"evenodd"})}),B0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 12.5a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.879 4.879 12 6h7a3 3 0 0 1 3 3v8.5a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h3.757a3 3 0 0 1 2.122.879M9.464 6.293 11.172 8H19a1 1 0 0 1 1 1v8.5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h3.757a1 1 0 0 1 .707.293",clipRule:"evenodd"})]}),N0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 20.5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h3.672a3 3 0 0 1 2.12.879L11.915 6H18a3 3 0 0 1 3 3v2.196a2 2 0 0 1 1.008 2.495l-2.026 5.5a2 2 0 0 1-1.877 1.309zM4 7a1 1 0 0 1 1-1h3.672a1 1 0 0 1 .707.293L11.086 8H18a1 1 0 0 1 1 1v2H7.328a2 2 0 0 0-1.843 1.224L4 15.75zm1.012 11.5h13.093l2.027-5.5H7.328z",clipRule:"evenodd"})}),V0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 10a1 1 0 0 1 1 1v1.5h1.5a1 1 0 1 1 0 2H13V16a1 1 0 1 1-2 0v-1.5H9.5a1 1 0 1 1 0-2H11V11a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m12 6-1.121-1.121A3 3 0 0 0 8.757 4H5a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3zm-.828 2L9.464 6.293A1 1 0 0 0 8.757 6H5a1 1 0 0 0-1 1v10.5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1z",clipRule:"evenodd"})]}),X0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-2 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m3.51 13.414.656-.394a8 8 0 0 1 0-2.04l-.654-.393a2 2 0 0 1-.685-2.745L4.02 5.857a2 2 0 0 1 2.745-.684l.654.393a8 8 0 0 1 1.419-.804V4a2 2 0 0 1 2-2h2.315a2 2 0 0 1 2 2v.762q.756.332 1.419.804l.656-.394a2 2 0 0 1 2.744.684l1.193 1.985a2 2 0 0 1-.684 2.745l-.656.394a8 8 0 0 1 0 2.04l.654.394a2 2 0 0 1 .684 2.744l-1.192 1.985a2 2 0 0 1-2.745.684l-.654-.393a8 8 0 0 1-1.419.804V20a2 2 0 0 1-2 2h-2.315a2 2 0 0 1-2-2v-.762a8 8 0 0 1-1.419-.804l-.656.394a2 2 0 0 1-2.744-.684l-1.193-1.985a2 2 0 0 1 .684-2.745m6.128-6.82 1.2-.523V4h2.315v2.07l1.2.525q.562.246 1.058.6l1.068.76 1.779-1.069 1.193 1.985-1.777 1.068.167 1.297a6 6 0 0 1 0 1.528l-.167 1.297 1.775 1.067-1.193 1.985-1.778-1.069-1.067.761q-.496.354-1.058.6l-1.2.524V20h-2.315v-2.07l-1.2-.525a6 6 0 0 1-1.058-.6l-1.068-.76-1.779 1.069-1.193-1.985 1.777-1.068-.167-1.297a6 6 0 0 1 0-1.528l.167-1.297-1.775-1.067 1.192-1.985 1.778 1.069 1.068-.761q.496-.354 1.058-.6",clipRule:"evenodd"})]}),Y0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.293 2.293a1 1 0 1 1 1.414 1.414L14.414 5H20a2 2 0 0 1 2 2v2a2 2 0 0 1-1.501 1.937L20.5 11v9a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2v-9l.001-.063A2 2 0 0 1 2 9V7a2 2 0 0 1 2-2h5.586L8.293 3.707a1 1 0 0 1 1.414-1.414L12 4.586zM11 7H4v2h7zm0 4H5.5v9H11zm2 9v-9h5.5v9zm0-11V7h7v2z",clipRule:"evenodd"})}),W0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10M9.07 19.447C8.104 18.027 7.199 15.934 7.03 13H4.062a8.01 8.01 0 0 0 5.009 6.447M4.063 11h2.967c.17-2.934 1.074-5.027 2.042-6.447A8.01 8.01 0 0 0 4.06 11m15.876 2a8.01 8.01 0 0 1-5.009 6.447c.969-1.42 1.873-3.513 2.042-6.447zm0-2a8.01 8.01 0 0 0-5.009-6.447c.969 1.42 1.873 3.513 2.042 6.447zm-9.123 7.452c-.786-1.105-1.611-2.85-1.783-5.452h5.936c-.172 2.602-.997 4.347-1.783 5.452A7.2 7.2 0 0 1 12 19.762a7.2 7.2 0 0 1-1.185-1.31M9.032 11h5.936c-.172-2.602-.997-4.347-1.783-5.452A7.2 7.2 0 0 0 12 4.238c-.318.27-.749.697-1.185 1.31-.786 1.105-1.611 2.85-1.783 5.452",clipRule:"evenodd"})}),G0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 5.5A2.5 2.5 0 0 1 5.5 3h3A2.5 2.5 0 0 1 11 5.5v3A2.5 2.5 0 0 1 8.5 11h-3A2.5 2.5 0 0 1 3 8.5zM5.5 5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5M13 5.5A2.5 2.5 0 0 1 15.5 3h3A2.5 2.5 0 0 1 21 5.5v3a2.5 2.5 0 0 1-2.5 2.5h-3A2.5 2.5 0 0 1 13 8.5zm2.5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5M15.5 13a2.5 2.5 0 0 0-2.5 2.5v3a2.5 2.5 0 0 0 2.5 2.5h3a2.5 2.5 0 0 0 2.5-2.5v-3a2.5 2.5 0 0 0-2.5-2.5zm3 2h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5M3 15.5A2.5 2.5 0 0 1 5.5 13h3a2.5 2.5 0 0 1 2.5 2.5v3A2.5 2.5 0 0 1 8.5 21h-3A2.5 2.5 0 0 1 3 18.5zm2.5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5",clipRule:"evenodd"})}),$0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm15-1h-2.25v3.25H19V6a1 1 0 0 0-1-1m-4.25 0v3.25h-3.5V5zm0 5.25h-3.5v3.5h3.5zm0 5.5h-3.5V19h3.5zm-5.5-2v-3.5H5v3.5zm-3.25 2h3.25V19H6a1 1 0 0 1-1-1zm14 0V18a1 1 0 0 1-1 1h-2.25v-3.25zm0-2h-3.25v-3.5H19zM8.25 5v3.25H5V6a1 1 0 0 1 1-1z",clipRule:"evenodd"})}),U0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.75 12a7 7 0 0 0-13.94-.925l.733-.732a1 1 0 1 1 1.414 1.414l-2.853 2.854a.5.5 0 0 1-.708 0l-2.853-2.854a1 1 0 1 1 1.414-1.414l.83.83a9.001 9.001 0 1 1 1.937 6.452 1 1 0 0 1 1.56-1.25A7 7 0 0 0 19.75 12m-6-4a1 1 0 1 0-2 0v4a1 1 0 0 0 1 1h2.5a1 1 0 1 0 0-2h-1.5z",clipRule:"evenodd"})}),q0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m21.664 9.753-9-8a1 1 0 0 0-1.328 0l-9 8A1 1 0 0 0 3.5 11.366V18a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-6.634a1 1 0 0 0 1.164-1.613M18.5 9.616 12 3.838 5.5 9.616V18a2 2 0 0 0 2 2H8v-4a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v4h.5a2 2 0 0 0 2-2zM14 20h-4v-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1z",clipRule:"evenodd"})}),Z0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8 10.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.75 2.75a3 3 0 0 0-3 3v12.5a3 3 0 0 0 3 3h12.5a3 3 0 0 0 3-3V5.75a3 3 0 0 0-3-3zm12.5 2H5.75a1 1 0 0 0-1 1v7.768l2.499-1.538a.5.5 0 0 1 .54.01l2.666 1.778 4.238-3.296a.5.5 0 0 1 .614 0l3.943 3.067V5.75a1 1 0 0 0-1-1m-13.5 13.5v-2.383l2.728-1.68 3.067 2.045L15 12.767l4.25 3.305v2.178a1 1 0 0 1-1 1H5.75a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),K0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"m13 13.086 1.293-1.293a1 1 0 0 1 1.414 1.414l-3.353 3.354a.5.5 0 0 1-.708 0l-3.353-3.354a1 1 0 1 1 1.414-1.414L11 13.086V3.5a1 1 0 1 1 2 0z"}),x.jsx("path",{fill:"currentColor",d:"M22 12.5a4 4 0 0 0-4-4h-2a1 1 0 1 0 0 2h2a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h2a1 1 0 1 0 0-2H6a4 4 0 0 0-4 4v5a4 4 0 0 0 4 4h12a4 4 0 0 0 4-4z"})]}),Po=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M13 7a1 1 0 1 1-2 0 1 1 0 0 1 2 0M12 9a1 1 0 0 1 1 1v7a1 1 0 1 1-2 0v-7a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),J0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10.5 13a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 3a3 3 0 0 0-3 3v9a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3zm14 2H5a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M2 20a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1"})]}),Q0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.516 8a.5.5 0 0 1 .044-.111l2.612-4.822a2.037 2.037 0 0 1 3.828.97V8h5.278a3 3 0 0 1 2.992 3.214l-.571 8A3 3 0 0 1 17.707 22H5.5a3 3 0 0 1-3-3v-8a3 3 0 0 1 3-3zM11 4.037V10h7.278a1 1 0 0 1 .998 1.071l-.572 8a1 1 0 0 1-.997.929H8.5V8.507l2.43-4.488A.04.04 0 0 1 10.964 4q.014.001.014.002l.012.009.009.012q.001 0 .002.014M6.5 10h-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h1z",clipRule:"evenodd"})}),e1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M4 3a1 1 0 0 1 1 1v15h15a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",d:"M19.832 16.445a1 1 0 1 1-1.664 1.11l-3.414-5.12L11.6 14.8a1 1 0 0 1-1.432-.245l-4-6a1 1 0 0 1 1.664-1.11l3.414 5.12L14.4 10.2a1 1 0 0 1 1.432.245z"})]}),t1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M4 3a1 1 0 0 1 1 1v15h15a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",d:"M19.832 8.555a1 1 0 1 0-1.664-1.11l-3.414 5.12L11.6 10.2a1 1 0 0 0-1.432.245l-4 6a1 1 0 1 0 1.664 1.11l3.414-5.12L14.4 14.8a1 1 0 0 0 1.432-.245z"})]}),a1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"m18.364 9.172-3.182 3.182a1 1 0 0 0 1.414 1.414l3.182-3.182a4.5 4.5 0 1 0-6.364-6.364l-3.182 3.182a1 1 0 1 0 1.415 1.414l3.182-3.182a2.5 2.5 0 1 1 3.535 3.536M9.172 18.364l3.182-3.182a1 1 0 1 1 1.414 1.414l-3.182 3.182a4.5 4.5 0 0 1-6.364-6.364l3.182-3.182a1 1 0 0 1 1.414 1.414l-3.182 3.182a2.5 2.5 0 1 0 3.536 3.536"}),x.jsx("path",{fill:"currentColor",d:"M9.172 13.414a1 1 0 1 0 1.414 1.414l4.242-4.242a1 1 0 0 0-1.414-1.414z"})]}),i1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M22.25 12.25a1 1 0 0 0-1-1h-4.5a1 1 0 1 0 0 2h4.5a1 1 0 0 0 1-1M19.248 5.002a1 1 0 0 0-1.414 0l-3.182 3.182a1 1 0 1 0 1.414 1.414l3.182-3.182a1 1 0 0 0 0-1.414M16.066 14.902a1 1 0 0 0-1.414 1.414l3.182 3.182a1 1 0 0 0 1.414-1.414zM13 17a1 1 0 1 0-2 0v4.5a1 1 0 0 0 2 0zM13 3a1 1 0 1 0-2 0v4.5a1 1 0 1 0 2 0zM4.752 5.002a1 1 0 0 1 1.414 0l3.182 3.182a1 1 0 1 1-1.414 1.414L4.752 6.416a1 1 0 0 1 0-1.414M7.934 14.902a1 1 0 0 1 1.414 1.414l-3.182 3.182a1 1 0 0 1-1.414-1.414zM7.25 11.25a1 1 0 1 1 0 2h-4.5a1 1 0 0 1 0-2z"})}),s1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M13 16.368a1.5 1.5 0 1 0-2 0v.882a1 1 0 1 0 2 0z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 10V8a6 6 0 1 1 12 0v2a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3m10-2v2H8V8a4 4 0 1 1 8 0M6 12a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1z",clipRule:"evenodd"})]}),r1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M13.5 15.25c0 .444-.193.843-.5 1.118v.882a1 1 0 1 1-2 0v-.882a1.5 1.5 0 1 1 2.5-1.118"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 10V8a4 4 0 0 0-7.97-.499C7.998 7.775 7.777 8 7.5 8h-1a.47.47 0 0 1-.48-.5A6 6 0 0 1 18 8v2a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3zm2 2H6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1",clipRule:"evenodd"})]}),n1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8 18a4 4 0 0 0 4 4h5a4 4 0 0 0 4-4V6a4 4 0 0 0-4-4h-5a4 4 0 0 0-4 4v2a1 1 0 1 0 2 0V6a2 2 0 0 1 2-2h5a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2a1 1 0 1 0-2 0z"}),x.jsx("path",{fill:"currentColor",d:"M12.957 15.707a1 1 0 0 1-1.414-1.414L12.836 13H3.25a1 1 0 1 1 0-2h9.586l-1.293-1.293a1 1 0 0 1 1.414-1.414l3.354 3.353a.5.5 0 0 1 0 .708z"})]}),o1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16 18a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h5a4 4 0 0 1 4 4v2a1 1 0 1 1-2 0V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-2a1 1 0 1 1 2 0z"}),x.jsx("path",{fill:"currentColor",d:"M17.543 15.707a1 1 0 0 1 0-1.414L18.836 13H9.25a1 1 0 1 1 0-2h9.586l-1.293-1.293a1 1 0 1 1 1.414-1.414l3.354 3.353a.5.5 0 0 1 0 .708l-3.354 3.353a1 1 0 0 1-1.414 0"})]}),l1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m11.978 7.586-1.414-1.414a4 4 0 0 0-5.657 5.656l7.07 7.072 7.055-7.054.017-.018a4 4 0 1 0-5.657-5.656zm-8.485 5.657a6 6 0 0 1 8.485-8.486 6 6 0 0 1 8.485 8.486l-.026.026-7.398 7.398a1.5 1.5 0 0 1-2.122 0z",clipRule:"evenodd"})}),c1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 3c.16 0 .31.038.445.104a2 2 0 0 1 .187.053L15 4.946l4.368-1.456A2 2 0 0 1 22 5.387V17.28a2 2 0 0 1-1.367 1.898l-5 1.666q-.093.03-.188.053a1 1 0 0 1-.89 0 2 2 0 0 1-.187-.053L9 19.054 4.632 20.51A2 2 0 0 1 2 18.613V6.72a2 2 0 0 1 1.368-1.898l5-1.666a2 2 0 0 1 .187-.053A1 1 0 0 1 9 3m7 15.613 4-1.334V5.387l-4 1.334zM14 6.72v11.892l-4-1.334V5.387zm-10 0 4-1.334V17.28l-4 1.334z",clipRule:"evenodd"})}),h1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 5v14a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3m14-1h1a1 1 0 0 1 1 1v1.5h-2zm-2 0H9v7h6zM7 4v2.5H5V5a1 1 0 0 1 1-1zm0 7V8.5H5V11zm-2 6.5V19a1 1 0 0 0 1 1h1v-2.5zm2-2H5V13h2zM9 20h6v-7H9zM19 8.5V11h-2V8.5zM17 13v2.5h2V13zm2 6v-1.5h-2V20h1a1 1 0 0 0 1-1",clipRule:"evenodd"})}),d1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M3 7a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M3 12a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M4 16a1 1 0 1 0 0 2h16a1 1 0 1 0 0-2z"})}),u1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8.5 10a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0M13.5 10a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0M17 8.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 14.5a3 3 0 0 0 3 3h3v2.696a1 1 0 0 0 1.53.848L15.2 17.5H19a3 3 0 0 0 3-3v-9a3 3 0 0 0-3-3H5a3 3 0 0 0-3 3zm8 3.892V15.5H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-4.374z",clipRule:"evenodd"})]}),g1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M6 8a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1M6 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 14.5a3 3 0 0 0 3 3h3v2.696a1 1 0 0 0 1.53.848L15.2 17.5H19a3 3 0 0 0 3-3v-9a3 3 0 0 0-3-3H5a3 3 0 0 0-3 3zm8 3.892V15.5H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-4.374z",clipRule:"evenodd"})]}),f1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 15.5v2.892l4.626-2.892H19a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1zm-5 2a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-3.8l-5.67 3.544A1 1 0 0 1 8 20.196V17.5z",clipRule:"evenodd"})}),p1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 6a4 4 0 1 1 8 0v6a4 4 0 0 1-8 0zm6 0v6a2 2 0 1 1-4 0V6a2 2 0 1 1 4 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M7.5 11.5a1 1 0 1 0-2 0v.5a6.5 6.5 0 0 0 5.5 6.424V20H9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-2v-1.576A6.5 6.5 0 0 0 18.5 12v-.5a1 1 0 1 0-2 0v.5a4.5 4.5 0 1 1-9 0z"})]}),x1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M14 10.379a.5.5 0 0 0 .146.353l1.428 1.428c.16.16.426.066.426-.16V6a4 4 0 0 0-7.705-1.51.47.47 0 0 0 .111.502l1.18 1.18A.243.243 0 0 0 10 6a2 2 0 1 1 4 0z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 9.414V12a4 4 0 0 0 6.032 3.446l.364.364A4.5 4.5 0 0 1 7.5 12v-.5a1 1 0 1 0-2 0v.5a6.5 6.5 0 0 0 5.5 6.424V20H9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-2v-1.576a6.5 6.5 0 0 0 2.835-1.175l4.458 4.458a1 1 0 0 0 1.414-1.414l-18-18a1 1 0 0 0-1.414 1.414zm4.518 4.518L10 11.414V12a2 2 0 0 0 2.518 1.932",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M17.454 14.04c.25.25.672.167.773-.172A6.5 6.5 0 0 0 18.5 12v-.5a1 1 0 1 0-2 0v.5q0 .362-.056.71a.54.54 0 0 0 .143.463z"})]}),m1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.5 12a1 1 0 0 1 1-1h13a1 1 0 1 1 0 2h-13a1 1 0 0 1-1-1",clipRule:"evenodd"})}),v1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10.5 17a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.5 5a3 3 0 0 1 3-3h7a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3h-7a3 3 0 0 1-3-3zm3-1h7a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),b1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 11a4 4 0 1 0-8 0 4 4 0 0 0 8 0m-2 0a2 2 0 1 0-4 0 2 2 0 0 0 4 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 3a1 1 0 0 0 0 2h1v13a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V5h1a1 1 0 1 0 0-2zm15 2H6v10.1A5.01 5.01 0 0 1 9.9 19h4.2a5.01 5.01 0 0 1 3.9-3.9zM6 17.17V18a1 1 0 0 0 1 1h.83A3 3 0 0 0 6 17.17M16.17 19H17a1 1 0 0 0 1-1v-.83A3 3 0 0 0 16.17 19",clipRule:"evenodd"})]}),y1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.707 2.293a1 1 0 0 0-1.414 1.414l.75.75c-.188.391-.293.83-.293 1.293v12.5a3 3 0 0 0 3 3h12.5c.463 0 .902-.105 1.293-.292l.75.75a1 1 0 0 0 1.414-1.415zM17.836 19.25l-4.888-4.887-2.403 1.869-3.067-2.044-2.728 1.678v2.384a1 1 0 0 0 1 1zm-6.313-6.313-2.69-2.69a1.5 1.5 0 0 1-2.08-2.08L4.75 6.164v7.354l2.499-1.538a.5.5 0 0 1 .54.01l2.666 1.778z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"m14.24 10.825 6.156 6.157a.5.5 0 0 0 .854-.353V5.75a3 3 0 0 0-3-3H7.371a.5.5 0 0 0-.353.854l1 1a.5.5 0 0 0 .353.146h9.879a1 1 0 0 1 1 1v7.789l-3.943-3.067a.5.5 0 0 0-.614 0z"})]}),w1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 3a1 1 0 1 0-2 0v.57a7 7 0 0 0-6 6.93v5l-.718 1.256A1.5 1.5 0 0 0 5.585 19h2.541a4.002 4.002 0 0 0 7.748 0h2.541a1.5 1.5 0 0 0 1.303-2.244L19 15.5v-5a7 7 0 0 0-6-6.93zM7 16.031 6.446 17h11.108L17 16.031V10.5a5 5 0 0 0-10 0zM12 20a2 2 0 0 1-1.732-1h3.464A2 2 0 0 1 12 20",clipRule:"evenodd"})}),C1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.811 7.226 3.793 5.207a1 1 0 0 1 1.414-1.414l15.5 15.5a1 1 0 0 1-1.414 1.414L17.586 19h-1.712a4.002 4.002 0 0 1-7.748 0H5.585a1.5 1.5 0 0 1-1.303-2.244L5 15.5v-5a7 7 0 0 1 .811-3.274M15.586 17h-9.14L7 16.031V10.5c0-.621.113-1.216.32-1.765zM12 20a2 2 0 0 1-1.732-1h3.464A2 2 0 0 1 12 20",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M17 13.372a.5.5 0 0 0 .154.361l1 .958a.5.5 0 0 0 .846-.362V10.5a7 7 0 0 0-6-6.93V3a1 1 0 1 0-2 0v.57a7 7 0 0 0-2.381.8c-.276.152-.312.523-.09.746l.756.755c.158.158.402.19.605.095A5 5 0 0 1 17 10.5z"})]}),k1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.9 4H9.1a1 1 0 0 0-.707.293l-4.1 4.1A1 1 0 0 0 4 9.101v5.798a1 1 0 0 0 .293.708l4.1 4.1a1 1 0 0 0 .708.293h5.798a1 1 0 0 0 .708-.293l4.1-4.1A1 1 0 0 0 20 14.9V9.1a1 1 0 0 0-.293-.707l-4.1-4.1A1 1 0 0 0 14.9 4M9.1 2a3 3 0 0 0-2.12.879l-4.101 4.1A3 3 0 0 0 2 9.101v5.798a3 3 0 0 0 .879 2.122l4.1 4.1A3 3 0 0 0 9.101 22h5.798a3 3 0 0 0 2.122-.879l4.1-4.1A3 3 0 0 0 22 14.899V9.102a3 3 0 0 0-.879-2.122l-4.1-4.1A3 3 0 0 0 14.899 2z",clipRule:"evenodd"})}),A1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.766 8.184a3 3 0 0 0 0-4.242l-.707-.708a3 3 0 0 0-4.243 0L4.429 14.621a3 3 0 0 0-.816 1.512l-.804 3.876a1 1 0 0 0 1.182 1.182l3.876-.804a3 3 0 0 0 1.512-.816zM19.35 5.356l-.707-.707a1 1 0 0 0-1.414 0l-1.06 1.06 2.12 2.122 1.061-1.061a1 1 0 0 0 0-1.414m-2.474 3.889-2.122-2.121-8.912 8.911a1 1 0 0 0-.272.504l-.494 2.384 2.384-.494a1 1 0 0 0 .504-.272z",clipRule:"evenodd"})}),S1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("g",{clipPath:"url(#a)",children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m19.973 18.66-2.95-2.95-1.946 2.577-.707-.28-.004-.001-.01-.004-.03-.012-.107-.044a21.024 21.024 0 0 1-1.668-.8c-1.005-.54-2.3-1.341-3.31-2.35-1.009-1.01-1.81-2.306-2.35-3.31a21 21 0 0 1-.845-1.776l-.012-.03-.003-.009-.002-.004-.28-.708 2.578-1.946-2.95-2.95c-.585.956-1.337 2.582-1.342 4.603-.005 2.095.793 4.748 3.69 7.645 2.898 2.898 5.55 3.696 7.646 3.69 2.021-.004 3.646-.757 4.602-1.342M8.193 9.62l1.34-1.01A2 2 0 0 0 9.74 5.6L6.705 2.562c-.79-.79-2.214-.828-2.918.272-.712 1.113-1.746 3.179-1.752 5.826-.006 2.683 1.044 5.832 4.276 9.065 3.233 3.232 6.382 4.282 9.065 4.276 2.647-.007 4.713-1.04 5.826-1.752 1.1-.704 1.061-2.129.272-2.919l-3.036-3.036a2 2 0 0 0-3.01.21l-1.012 1.339a19 19 0 0 1-.92-.462c-.936-.502-2.035-1.194-2.84-2-.807-.807-1.5-1.905-2.002-2.841-.185-.346-.34-.661-.461-.92",clipRule:"evenodd"})}),x.jsx("defs",{children:x.jsx("clipPath",{id:"a",children:x.jsx("path",{fill:"currentColor",d:"M0 0h24v24H0z"})})})]}),M1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.532 8.61 8.192 9.62c.122.259.277.574.462.92.502.936 1.195 2.034 2.001 2.84.806.807 1.905 1.5 2.84 2.001.347.186.662.34.92.462l1.012-1.34a2 2 0 0 1 3.01-.209l3.037 3.036c.79.79.828 2.215-.272 2.919-1.113.712-3.179 1.745-5.826 1.752-2.683.006-5.832-1.044-9.065-4.276-3.233-3.233-4.282-6.382-4.276-9.065.006-2.647 1.04-4.713 1.752-5.826.703-1.1 2.128-1.062 2.918-.272l3.036 3.036a2 2 0 0 1-.209 3.01m7.491 7.1 2.95 2.95c-.956.584-2.581 1.337-4.602 1.342-2.096.005-4.748-.793-7.646-3.69-2.897-2.898-3.695-5.55-3.69-7.646.005-2.021.757-3.647 1.342-4.602l2.95 2.95L5.75 8.958l.28.708v.004l.004.009.012.03.045.108a21 21 0 0 0 .8 1.668c.54 1.004 1.341 2.3 2.35 3.31 1.009 1.009 2.305 1.81 3.31 2.349a21 21 0 0 0 1.775.845l.03.012.01.004.004.002.707.279z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M15.172 5.586v1.828l3.95-3.95a1 1 0 1 1 1.413 1.415l-3.95 3.95h1.83a1 1 0 0 1 0 2h-4.743a.5.5 0 0 1-.5-.5V5.585a1 1 0 1 1 2 0"})]}),I1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8.654 10.54q.143.267.305.546a.51.51 0 0 1-.077.618l-.735.734a.487.487 0 0 1-.762-.085A21 21 0 0 1 6.046 9.71l-.012-.03-.003-.009-.002-.004-.28-.708 2.578-1.946-2.95-2.95c-.585.956-1.337 2.582-1.342 4.603-.004 1.552.433 3.41 1.838 5.447.14.203.12.48-.054.654l-.721.72a.487.487 0 0 1-.742-.055c-1.718-2.415-2.326-4.728-2.321-6.771.006-2.647 1.04-4.713 1.752-5.826.703-1.1 2.128-1.062 2.918-.272l3.036 3.036a2 2 0 0 1-.209 3.01l-1.34 1.012c.122.259.277.574.462.92"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m11.387 14.027 9.32-9.32a1 1 0 0 0-1.414-1.414l-16 16a1 1 0 1 0 1.414 1.414l2.31-2.31c2.983 2.709 5.871 3.61 8.359 3.605 2.647-.007 4.713-1.04 5.826-1.752 1.1-.704 1.061-2.129.272-2.919l-3.037-3.036a2 2 0 0 0-3.01.21l-1.011 1.339a19 19 0 0 1-.92-.462 14.6 14.6 0 0 1-2.109-1.355M9.965 15.45l-1.533 1.533c2.622 2.352 5.015 3.024 6.939 3.02 2.021-.005 3.646-.758 4.602-1.343l-2.95-2.95-1.946 2.578-.707-.28-.004-.001-.01-.004-.03-.012-.107-.044a21.022 21.022 0 0 1-1.668-.8c-.777-.418-1.728-.991-2.586-1.697",clipRule:"evenodd"})]}),L1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.532 8.61 8.192 9.62c.122.259.277.574.462.92.502.936 1.195 2.034 2.001 2.84.806.807 1.905 1.5 2.84 2.001.347.186.662.34.92.462l1.012-1.34a2 2 0 0 1 3.01-.209l3.037 3.036c.79.79.828 2.215-.272 2.919-1.113.712-3.179 1.745-5.826 1.752-2.683.006-5.832-1.044-9.065-4.276-3.233-3.233-4.282-6.382-4.276-9.065.006-2.647 1.04-4.713 1.752-5.826.703-1.1 2.128-1.062 2.918-.272l3.036 3.036a2 2 0 0 1-.209 3.01m7.491 7.1 2.95 2.95c-.956.584-2.581 1.337-4.602 1.342-2.096.005-4.748-.793-7.646-3.69-2.897-2.898-3.695-5.55-3.69-7.646.005-2.021.757-3.647 1.342-4.602l2.95 2.95L5.75 8.958l.28.708v.004l.004.009.012.03.045.108a21 21 0 0 0 .8 1.668c.54 1.004 1.341 2.3 2.35 3.31 1.009 1.009 2.305 1.81 3.31 2.349a21 21 0 0 0 1.775.845l.03.012.01.004.004.002.707.279z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M19.828 9.414a1 1 0 0 1-1-1V6.586l-3.95 3.95a1 1 0 1 1-1.414-1.415l3.95-3.95h-1.828a1 1 0 0 1 0-2h4.742a.5.5 0 0 1 .5.5v4.743a1 1 0 0 1-1 1"})]}),R1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.532 8.61 8.192 9.62c.122.259.277.574.462.92.502.936 1.195 2.034 2.001 2.84.806.807 1.905 1.5 2.84 2.001.347.186.662.34.92.462l1.012-1.34a2 2 0 0 1 3.01-.209l3.037 3.036c.79.79.828 2.215-.272 2.919-1.113.712-3.179 1.745-5.826 1.752-2.683.006-5.832-1.044-9.065-4.276-3.233-3.233-4.282-6.382-4.276-9.065.006-2.647 1.04-4.713 1.752-5.826.703-1.1 2.128-1.062 2.918-.272l3.036 3.036a2 2 0 0 1-.209 3.01m7.491 7.1 2.95 2.95c-.956.584-2.581 1.337-4.602 1.342-2.096.005-4.748-.793-7.646-3.69-2.897-2.898-3.695-5.55-3.69-7.646.005-2.021.757-3.647 1.342-4.602l2.95 2.95L5.75 8.958l.28.708v.004l.004.009.012.03.045.108a21 21 0 0 0 .8 1.668c.54 1.004 1.341 2.3 2.35 3.31 1.009 1.009 2.305 1.81 3.31 2.349a21 21 0 0 0 1.775.845l.03.012.01.004.004.002.707.279z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M17.446 6.545a5 5 0 0 0-4.636-1.343.54.54 0 0 1-.64-.34l-.315-.95a.473.473 0 0 1 .322-.615 7 7 0 0 1 6.683 1.834 7 7 0 0 1 1.834 6.683.473.473 0 0 1-.616.322l-.948-.316a.54.54 0 0 1-.341-.639 5 5 0 0 0-1.343-4.636"}),x.jsx("path",{fill:"currentColor",d:"M13.827 8.583c-.223.012-.455-.096-.526-.308l-.35-1.038c-.088-.261.053-.549.325-.599q.22-.04.44-.052a3.5 3.5 0 0 1 2.67 1.02 3.5 3.5 0 0 1 .967 3.11c-.05.271-.337.412-.6.324l-1.037-.35c-.212-.071-.32-.302-.308-.526a1.5 1.5 0 0 0-.437-1.144 1.5 1.5 0 0 0-1.144-.437"})]}),_1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1c0-5.523-4.477-10-10-10m1 9V4.062A8.004 8.004 0 0 1 19.938 11z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M9.364 4.444a1 1 0 0 0-.659-1.888C4.802 3.917 2 7.63 2 12c0 5.523 4.477 10 10 10 4.356 0 8.058-2.784 9.43-6.667a1 1 0 1 0-1.885-.666A8 8 0 1 1 9.364 4.444"})]}),P1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2.062 1A8.001 8.001 0 0 1 4 12a8 8 0 0 1 7-7.938V12a1 1 0 0 0 1 1zm0-2H13V4.062A8.004 8.004 0 0 1 19.938 11",clipRule:"evenodd"})}),z1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 10a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-2 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 10c0 6.87-5.9 10.791-7.567 11.76a.85.85 0 0 1-.866 0C9.9 20.792 4 16.87 4 10c0-4 3-8 8-8s8 4 8 8M6 10c0-3.063 2.265-6 6-6s6 2.937 6 6c0 3.283-1.632 5.804-3.414 7.586A16.2 16.2 0 0 1 12 19.679l-.14-.093a16.2 16.2 0 0 1-2.446-2C7.632 15.804 6 13.283 6 10",clipRule:"evenodd"})]}),O1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M11 18.5a1 1 0 1 0 2 0V13h5.5a1 1 0 1 0 0-2H13V5.5a1 1 0 1 0-2 0V11H5.5a1 1 0 1 0 0 2H11z"})}),H1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m14.133 15.582-1.541 4.623c-.439 1.316-2.274 1.383-2.808.103L3.46 5.13c-.43-1.03.605-2.064 1.635-1.634L20.272 9.82c1.28.533 1.213 2.369-.102 2.807l-4.623 1.541 4.69 4.69a1 1 0 1 1-1.415 1.414zm-3.016 2.724L6.007 6.042l12.263 5.11-4.653 1.551a2 2 0 0 0-.129.05 1 1 0 0 0-.77.771 2 2 0 0 0-.05.128z",clipRule:"evenodd"})}),T1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15 11a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 15a4 4 0 0 1-4 4 3 3 0 0 1-3 3H9a3 3 0 0 1-3-3 4 4 0 0 1-4-4v-4a4 4 0 0 1 4-4V5a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v2a4 4 0 0 1 4 4zM8 5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2H8zM6 9h12a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2v-2H6v2a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2m2 10v-2h8v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),j1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M11.786 8C10.8 8 10 8.8 10 9.786v.441a1 1 0 1 1-2 0v-.441A3.786 3.786 0 0 1 11.786 6h.148a3.6 3.6 0 0 1 1.136 7.014l-.102.034a.36.36 0 0 0-.246.341V14a1 1 0 1 1-2 0v-.61a2.36 2.36 0 0 1 1.614-2.24l.103-.033A1.6 1.6 0 0 0 11.934 8zM11.75 16a1 1 0 1 1 0 2 1 1 0 0 1 0-2"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),E1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M6 16a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1M7 11a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2zM6 8a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v3h1a3 3 0 0 1 3 3v5a3 3 0 0 1-3 3H6a4 4 0 0 1-4-4zm17 12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1h-1v6a1 1 0 0 0 1 1m-3-1c0 .35.06.687.17 1H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z",clipRule:"evenodd"})]}),D1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M5.936 8.5a7.001 7.001 0 0 1 13.004 2.574l-.733-.731a1 1 0 1 0-1.414 1.414l2.853 2.854a.5.5 0 0 0 .708 0l2.853-2.854a1 1 0 0 0-1.414-1.414l-.83.83A9.001 9.001 0 0 0 4.204 7.5a1 1 0 0 0 1.73 1.002M5.793 14.257a1 1 0 0 0 1.414-1.414L4.354 9.989a.5.5 0 0 0-.708 0L.793 12.843a1 1 0 1 0 1.414 1.414l.895-.895a9.002 9.002 0 0 0 15.924 4.263 1 1 0 1 0-1.56-1.25A7.003 7.003 0 0 1 5.2 13.663z"})}),F1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.25 12a7 7 0 0 1 13.94-.925l-.733-.732a1 1 0 1 0-1.414 1.414l2.853 2.854a.5.5 0 0 0 .708 0l2.853-2.854a1 1 0 0 0-1.414-1.414l-.83.83a9.001 9.001 0 1 0-1.937 6.452 1 1 0 1 0-1.56-1.25A7 7 0 0 1 4.25 12",clipRule:"evenodd"})}),B1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.371 9.404a1.5 1.5 0 1 0-2.12-2.121 1.5 1.5 0 0 0 2.12 2.121"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.73 4.79a2 2 0 0 1 2.028-2.028l3.397.048a6 6 0 0 1 4.158 1.757l3.713 3.713a5.54 5.54 0 0 1 5.045 1.51 1.455 1.455 0 0 1 0 2.057l-9.257 9.257a1.455 1.455 0 0 1-2.057 0 5.54 5.54 0 0 1-1.51-5.046l-3.713-3.713a6 6 0 0 1-1.756-4.157zm5.397.02-3.398-.048.048 3.397a4 4 0 0 0 1.172 2.772l4.554 4.555-.192.584a3.55 3.55 0 0 0 .504 3.204l8.426-8.426a3.55 3.55 0 0 0-3.203-.505l-.585.193-4.555-4.555A4 4 0 0 0 8.127 4.81",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M19.18 20.05c-.788.006-2.012-.074-2.978-.536-.499-.238-.504-.88-.113-1.271l2.121-2.121c.39-.39 1.033-.386 1.271.112.462.967.542 2.19.536 2.978a.835.835 0 0 1-.837.838"})]}),N1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M13.707 2.707a1 1 0 0 0-1.414-1.414L9.439 4.146a.5.5 0 0 0 0 .708l2.854 2.853a1 1 0 1 0 1.414-1.414l-.724-.725A7.001 7.001 0 0 1 12 19.5 7 7 0 0 1 7.625 7.035a1 1 0 1 0-1.25-1.56 9 9 0 1 0 6.498-1.933z"})}),V1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M10.793 2.707a1 1 0 0 1 1.414-1.414l2.854 2.853a.5.5 0 0 1 0 .708l-2.854 2.853a1 1 0 1 1-1.414-1.414l.78-.78a7 7 0 1 0 4.802 1.522 1 1 0 1 1 1.25-1.56 9 9 0 1 1-6.03-1.965z"})}),X1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V8.965a3 3 0 0 0-.879-2.121l-2.964-2.965A3 3 0 0 0 15.035 3zm9.035 2H15v2a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V5H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h1v-6a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v6h1a1 1 0 0 0 1-1V8.965a1 1 0 0 0-.293-.707l-2.965-2.965A1 1 0 0 0 15.035 5M15 19v-6H9v6zM9 5h4v2H9z",clipRule:"evenodd"})}),Y1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M6 5a1 1 0 0 0-1 1v2a1 1 0 0 1-2 0V6a3 3 0 0 1 3-3h3a1 1 0 0 1 0 2zM18 5a1 1 0 0 1 1 1v2a1 1 0 1 0 2 0V6a3 3 0 0 0-3-3h-3a1 1 0 1 0 0 2zM5 18a1 1 0 0 0 1 1h3a1 1 0 1 1 0 2H6a3 3 0 0 1-3-3v-2a1 1 0 1 1 2 0zM18 19a1 1 0 0 0 1-1v-2a1 1 0 1 1 2 0v2a3 3 0 0 1-3 3h-3a1 1 0 1 1 0-2zM4 11a1 1 0 1 0 0 2h16a1 1 0 1 0 0-2z"})}),W1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.785 16.199A8.002 8.002 0 0 1 4.222 4.222a8 8 0 0 1 11.977 10.563l4.286 4.286a1 1 0 0 1-1.414 1.414zM5.636 14.12a6 6 0 1 0 8.485-8.485 6 6 0 0 0-8.485 8.485",clipRule:"evenodd"})}),G1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.719 3.181c-1.64-.776-3.384.857-2.716 2.544L5.487 12l-2.484 6.275c-.668 1.687 1.076 3.32 2.716 2.544l14.801-7.011c1.525-.723 1.525-2.893 0-3.615zM17.553 11 4.863 4.989 7.243 11zm-10.31 2-2.38 6.011L17.553 13z",clipRule:"evenodd"})}),$1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M21 6a3.5 3.5 0 0 1-5.966 2.484l-5.11 2.787a3.5 3.5 0 0 1 0 1.458l5.11 2.787a3.5 3.5 0 1 1-.958 1.755l-5.11-2.787a3.5 3.5 0 1 1 0-4.968l5.11-2.787A3.5 3.5 0 1 1 21 6m-2 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m0 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M6.5 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3",clipRule:"evenodd"})}),U1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 6a4 4 0 1 1 8 0h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3zm2 0a2 2 0 1 1 4 0zM8 8v.5a1 1 0 0 0 2 0V8h4v.5a1 1 0 1 0 2 0V8h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z",clipRule:"evenodd"})}),q1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M12 3a1 1 0 0 0-1 1v1.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V4a1 1 0 0 0-1-1M14 10h-1v10a1 1 0 1 1-2 0V10h-1a1 1 0 0 1 0-2h4a1 1 0 1 1 0 2M7 15h1a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2h1v5a1 1 0 1 0 2 0zM6 3a1 1 0 0 0-1 1v6.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V4a1 1 0 0 0-1-1M19 17h1a1 1 0 1 0 0-2h-4a1 1 0 1 0 0 2h1v3a1 1 0 1 0 2 0zM18 3a1 1 0 0 0-1 1v8.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V4a1 1 0 0 0-1-1"})}),Z1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M13 8a1 1 0 1 0 2 0V7h5a1 1 0 1 0 0-2h-5V4a1 1 0 1 0-2 0zM3 12a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H4a1 1 0 0 1-1-1M9 9a1 1 0 0 0-1 1v4a1 1 0 1 0 2 0v-1h10a1 1 0 1 0 0-2H10v-1a1 1 0 0 0-1-1M3 6a1 1 0 0 1 1-1h6.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H4a1 1 0 0 1-1-1M15 16a1 1 0 1 1 2 0v1h3a1 1 0 1 1 0 2h-3v1a1 1 0 1 1-2 0zM3 18a1 1 0 0 1 1-1h8.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H4a1 1 0 0 1-1-1"})}),K1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.148 9.972 12 5.619 9.852 9.972l-4.804.698 3.476 3.388-.82 4.785L12 16.583l4.297 2.26-.821-4.785 3.476-3.388zM8.524 8.144l-5.769.838a1 1 0 0 0-.554 1.706l4.174 4.069-.985 5.745a1 1 0 0 0 1.45 1.054L12 18.843l5.16 2.713a1 1 0 0 0 1.45-1.054l-.985-5.745 4.174-4.07a1 1 0 0 0-.554-1.705l-5.769-.838-2.58-5.227a1 1 0 0 0-1.793 0z",clipRule:"evenodd"})}),J1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.66 2a3 3 0 0 1 2.545 1.41l2.205 3.529c.16.255.244.549.244.85a3.7 3.7 0 0 1-1.154 2.689V18a4 4 0 0 1-4 4h-9a4 4 0 0 1-4-4v-7.522a3.7 3.7 0 0 1-1.154-2.69c0-.3.085-.594.244-.85L4.795 3.41A3 3 0 0 1 7.34 2zM7.34 4a1 1 0 0 0-.849.47L4.35 7.897c.056.895.799 1.603 1.708 1.603h.173c1.04 0 1.884-.844 1.884-1.885h2a1.885 1.885 0 0 0 3.77 0h2c0 1.041.843 1.885 1.884 1.885h.173c.909 0 1.652-.708 1.709-1.603L17.509 4.47A1 1 0 0 0 16.66 4zm10.602 7.5q.285 0 .558-.042V18a2 2 0 0 1-2 2H16v-4a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v4h-.5a2 2 0 0 1-2-2v-6.542q.273.042.558.042h.173a3.88 3.88 0 0 0 2.884-1.283A3.88 3.88 0 0 0 12 11.5a3.88 3.88 0 0 0 2.885-1.283 3.88 3.88 0 0 0 2.884 1.283zM10 20h4v-4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1z",clipRule:"evenodd"})}),Q1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10.5 17a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.5 5a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3h-11a3 3 0 0 1-3-3zm3-1h11a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),eg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M7.391 8.098a1 1 0 0 0 1.414 1.415l.708-.708a1 1 0 0 0-1.415-1.414z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.074 13.973a3 3 0 0 1-.877-2.232l.27-7.31a1 1 0 0 1 .963-.963l7.31-.271a3 3 0 0 1 2.233.877l6.853 6.853a3 3 0 0 1 0 4.242l-5.657 5.657a3 3 0 0 1-4.242 0zm8.485-8.485 6.853 6.853a1 1 0 0 1 0 1.414l-5.657 5.657a1 1 0 0 1-1.414 0l-6.853-6.853a1 1 0 0 1-.292-.744l.236-6.383 6.383-.236a1 1 0 0 1 .744.292",clipRule:"evenodd"})]}),tg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0m-2 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2a1 1 0 0 1 1 1v.558A8.504 8.504 0 0 1 20.442 11H21a1 1 0 1 1 0 2h-.558A8.504 8.504 0 0 1 13 20.442V21a1 1 0 1 1-2 0v-.558A8.504 8.504 0 0 1 3.558 13H3a1 1 0 1 1 0-2h.558A8.504 8.504 0 0 1 11 3.558V3a1 1 0 0 1 1-1m6.424 9H18a1 1 0 1 0 0 2h.424A6.505 6.505 0 0 1 13 18.424V18a1 1 0 1 0-2 0v.424A6.505 6.505 0 0 1 5.576 13H6a1 1 0 1 0 0-2h-.424A6.505 6.505 0 0 1 11 5.576V6a1 1 0 1 0 2 0v-.424A6.505 6.505 0 0 1 18.424 11",clipRule:"evenodd"})]}),ag=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16.237 10.273a1 1 0 0 1 .04 1.414l-4.571 4.84a.5.5 0 0 1-.682.042l-2.66-2.198a1 1 0 0 1 1.273-1.542l1.578 1.304 3.608-3.82a1 1 0 0 1 1.414-.04"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 2a2 2 0 0 0-2 2H7a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3h-1a2 2 0 0 0-2-2zm4 2h-4v2h4zM8 6H7a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2",clipRule:"evenodd"})]}),ig=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8 14a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1M9 9.5a1 1 0 0 0 0 2h6a1 1 0 1 0 0-2zM8 17.5a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 2a2 2 0 0 0-2 2H7a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3h-1a2 2 0 0 0-2-2zm4 2h-4v2h4zM8 6H7a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2",clipRule:"evenodd"})]}),sg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10.94 10.525a1 1 0 0 0-1.415 1.414L10.585 13l-1.06 1.06a1 1 0 1 0 1.414 1.415L12 14.415l1.06 1.06a1 1 0 0 0 1.415-1.414L13.415 13l1.06-1.06a1 1 0 0 0-1.414-1.415L12 11.585z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3zm2 0h4v2h-4zm6 2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2H7a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1z",clipRule:"evenodd"})]}),rg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 9a1 1 0 0 1 1 1v2h1a1 1 0 1 1 0 2h-2a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 3a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2v1.058a8.45 8.45 0 0 1 3.53 1.248l.763-.763a1 1 0 1 1 1.414 1.414l-.615.615a8.5 8.5 0 1 1-12.184 0l-.615-.615a1 1 0 0 1 1.414-1.414l.763.763A8.45 8.45 0 0 1 11 5.058V4a1 1 0 0 1-1-1m8.5 10.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0",clipRule:"evenodd"})]}),ng=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.73 6.053a1 1 0 0 1 1.624-.306l2.833 2.834 1.06-.354.354-1.06-2.833-2.834a1 1 0 0 1 .306-1.623 6.502 6.502 0 0 1 8.81 7.911l5.762 5.762a3 3 0 1 1-4.242 4.243l-5.762-5.762a6.502 6.502 0 0 1-7.911-8.81m1.462 2.36a4.502 4.502 0 0 0 6.302 4.373l.625-.274 6.699 6.7a1 1 0 0 0 1.414-1.415l-6.699-6.699.274-.625A4.502 4.502 0 0 0 8.434 4.17l1.582 1.581a2 2 0 0 1 .483 2.047l-.354 1.06a2 2 0 0 1-1.265 1.266l-1.06.353a2 2 0 0 1-2.047-.483z",clipRule:"evenodd"})}),og=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10 9.75a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1M15 10.75a1 1 0 1 0-2 0v6a1 1 0 1 0 2 0z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18 6V5a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v1H4.5a1 1 0 0 0 0 2H5v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8h.5a1 1 0 1 0 0-2zm-3-2H9a1 1 0 0 0-1 1v1h8V5a1 1 0 0 0-1-1m2 4H7v11a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1z",clipRule:"evenodd"})]}),lg=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 5h8a1 1 0 0 1 1 1v9H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1m9 12h-3.67a3 3 0 1 1-5.652-.017A3 3 0 0 1 1.999 14V6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v2h1.646a3 3 0 0 1 2.683 1.658l1.46 2.92a2 2 0 0 1 .211.894V15a2 2 0 0 1-1.23 1.846 3 3 0 1 1-5.6.154zm4-2h2v-1.528l-1.46-2.92a1 1 0 0 0-.894-.552H16v5zm0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2M6.5 18a1 1 0 1 1 2 0 1 1 0 0 1-2 0",clipRule:"evenodd"})}),cg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8.543 7.707a1 1 0 0 0 1.414 0l1.293-1.293V16a1 1 0 1 0 2 0V6.414l1.293 1.293a1 1 0 1 0 1.414-1.414l-3.353-3.354a.5.5 0 0 0-.708 0L8.543 6.293a1 1 0 0 0 0 1.414"}),x.jsx("path",{fill:"currentColor",d:"M4 14a1 1 0 0 1 1 1v2a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-2a1 1 0 1 1 2 0v2a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4v-2a1 1 0 0 1 1-1"})]}),hg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 11a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9m0-2a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M14.077 14c1 0 1.93.298 2.708.81.46.305 1.09.315 1.48-.075s.394-1.03-.048-1.361A6.9 6.9 0 0 0 14.077 12H9.923A6.923 6.923 0 0 0 3 18.923C3 20.07 3.93 21 5.077 21H12a1 1 0 1 0 0-2H5.077A.077.077 0 0 1 5 18.923 4.923 4.923 0 0 1 9.923 14z"}),x.jsx("path",{fill:"currentColor",d:"M22.002 15.66a1 1 0 1 0-1.503-1.32l-3.322 3.784-1.454-1.157a1 1 0 0 0-1.246 1.566l2.573 2.046a.5.5 0 0 0 .687-.061z"})]}),dg=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.5 6.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-2 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0M3 18.923C3 15.1 6.1 12 9.923 12h4.154C17.9 12 21 15.1 21 18.923 21 20.07 20.07 21 18.923 21H5.077A2.077 2.077 0 0 1 3 18.923m2 0A4.923 4.923 0 0 1 9.923 14h4.154A4.923 4.923 0 0 1 19 18.923a.077.077 0 0 1-.077.077H5.077A.077.077 0 0 1 5 18.923",clipRule:"evenodd"})}),ug=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 11a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9m0-2a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M14.077 14a4.925 4.925 0 0 1 4.606 3.182c.175.461.588.818 1.082.818.622 0 1.106-.552.92-1.145A6.93 6.93 0 0 0 14.078 12H9.923A6.923 6.923 0 0 0 3 18.923C3 20.07 3.93 21 5.077 21H13a1 1 0 1 0 0-2H5.077A.077.077 0 0 1 5 18.923 4.923 4.923 0 0 1 9.923 14z"}),x.jsx("path",{fill:"currentColor",d:"M16 19a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"})]}),gg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.5 6.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-2 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M15.669 14.263A4.9 4.9 0 0 0 14.077 14H9.923A4.923 4.923 0 0 0 5 18.923c0 .043.034.077.077.077H13a1 1 0 1 1 0 2H5.077A2.077 2.077 0 0 1 3 18.923C3 15.1 6.1 12 9.923 12h4.154c.93 0 1.816.183 2.626.516.484.198.652.774.418 1.241-.258.518-.905.693-1.452.506M18.5 15a1 1 0 0 1 1 1v1.5H21a1 1 0 1 1 0 2h-1.5V21a1 1 0 1 1-2 0v-1.5H16a1 1 0 1 1 0-2h1.5V16a1 1 0 0 1 1-1"})]}),fg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.5 6.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-2 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0M2 18.923C2 15.1 5.1 12 8.923 12h2.154C14.9 12 18 15.1 18 18.923 18 20.07 17.07 21 15.923 21H4.077A2.077 2.077 0 0 1 2 18.923m2 0A4.923 4.923 0 0 1 8.923 14h2.154A4.923 4.923 0 0 1 16 18.923a.077.077 0 0 1-.077.077H4.077A.077.077 0 0 1 4 18.923",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M18.92 20.097c-.104.401.157.903.571.903h.432C21.07 21 22 20.07 22 18.923 22 15.1 18.9 12 15.077 12c-.142 0-.194.197-.073.273a8.5 8.5 0 0 1 2.414 2.261q.067.093.166.151A4.92 4.92 0 0 1 20 18.923a.077.077 0 0 1-.077.077h-.474c-.25 0-.449.21-.449.462q-.001.33-.08.635M14.919 8.963a.6.6 0 0 1 .254-.255 2.5 2.5 0 0 0 0-4.416.6.6 0 0 1-.254-.255 5.5 5.5 0 0 0-1.094-1.489C13.623 2.352 13.72 2 14 2a4.5 4.5 0 1 1 0 9c-.281 0-.377-.352-.175-.548a5.5 5.5 0 0 0 1.094-1.489"})]}),pg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.5 6.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-2 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M15.669 14.263A4.9 4.9 0 0 0 14.077 14H9.923A4.923 4.923 0 0 0 5 18.923c0 .043.034.077.077.077H13a1 1 0 1 1 0 2H5.077A2.077 2.077 0 0 1 3 18.923C3 15.1 6.1 12 9.923 12h4.154c.93 0 1.816.183 2.626.516.484.198.652.774.418 1.241-.258.518-.905.693-1.452.506"}),x.jsx("path",{fill:"currentColor",d:"M16.025 16.025a1 1 0 0 1 1.414 0l1.061 1.06 1.06-1.06a1 1 0 0 1 1.415 1.414l-1.06 1.061 1.06 1.06a1 1 0 0 1-1.414 1.415l-1.061-1.06-1.06 1.06a1 1 0 0 1-1.415-1.414l1.06-1.061-1.06-1.06a1 1 0 0 1 0-1.415"})]}),xg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.524 20.878 9 17H7a3 3 0 0 1-3-3v-4a3 3 0 0 1 3-3h2l4.524-3.878C14.497 2.288 16 2.98 16 4.262v15.477c0 1.281-1.503 1.973-2.476 1.139M7 9h2.74L14 5.348v13.304L9.74 15H7a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M17.49 10.582A1.5 1.5 0 0 1 18.5 12a1.49 1.49 0 0 1-1.01 1.418c-.26.09-.49.306-.49.582v1c0 .276.225.504.498.465.7-.1 1.334-.407 1.836-.857A3.5 3.5 0 0 0 20.5 12c0-1.037-.452-1.97-1.166-2.609a3.5 3.5 0 0 0-1.836-.856C17.225 8.496 17 8.724 17 9v1c0 .276.23.492.49.582"})]}),mg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m7 17 4.524 3.878c.973.834 2.476.142 2.476-1.14V4.262c0-1.281-1.503-1.973-2.476-1.139L7 7H5a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3zm.74-8H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h2.74L12 18.652V5.348z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M16 10.882a1.5 1.5 0 0 0-.51-.3c-.26-.09-.49-.306-.49-.582V9c0-.276.225-.504.498-.465.7.1 1.334.407 1.836.856A3.5 3.5 0 0 1 18.5 12c0 1.037-.452 1.97-1.166 2.608a3.5 3.5 0 0 1-1.836.857c-.273.039-.498-.189-.498-.465v-1c0-.276.23-.492.49-.582A1.5 1.5 0 0 0 16.5 12c0-.444-.192-.842-.5-1.118"}),x.jsx("path",{fill:"currentColor",d:"M15.5 7.025a5 5 0 0 1 0 9.95.54.54 0 0 0-.5.525v1c0 .276.225.502.5.482a7 7 0 0 0 0-13.964.474.474 0 0 0-.5.482v1c0 .276.225.497.5.525"})]}),vg=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.74 9H9a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h2.74L16 18.652V5.348zM11 17l4.524 3.878c.973.834 2.476.142 2.476-1.14V4.262c0-1.281-1.503-1.973-2.476-1.139L11 7H9a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3z",clipRule:"evenodd"})}),bg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m8 17 4.524 3.878c.973.834 2.476.142 2.476-1.14V4.262c0-1.281-1.503-1.973-2.476-1.139L8 7H6a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3zm.74-8H6a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h2.74L13 18.652V5.348z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M16.525 9.525a1 1 0 0 1 1.414 0L19 10.585l1.06-1.06a1 1 0 1 1 1.415 1.414L20.415 12l1.06 1.06a1 1 0 0 1-1.414 1.415L19 13.415l-1.06 1.06a1 1 0 0 1-1.415-1.414L17.585 12l-1.06-1.06a1 1 0 0 1 0-1.415"})]}),yg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15 12.5a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 6.5a2 2 0 0 1 2 2V18a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3zM17 5H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V8.5H9a1 1 0 0 1 0-2h9V6a1 1 0 0 0-1-1",clipRule:"evenodd"})]}),wg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8.793 15.207a1 1 0 0 1 0-1.414L10.586 12l-1.793-1.793a1 1 0 0 1 1.414-1.414L12 10.586l1.793-1.793a1 1 0 1 1 1.414 1.414L13.414 12l1.793 1.793a1 1 0 0 1-1.414 1.414L12 13.414l-1.793 1.793a1 1 0 0 1-1.414 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.1 2a3 3 0 0 0-2.12.879l-4.101 4.1A3 3 0 0 0 2 9.101v5.798a3 3 0 0 0 .879 2.122l4.1 4.1A3 3 0 0 0 9.101 22h5.798a3 3 0 0 0 2.122-.879l4.1-4.1A3 3 0 0 0 22 14.899V9.102a3 3 0 0 0-.879-2.122l-4.1-4.1A3 3 0 0 0 14.899 2zm5.8 2H9.1a1 1 0 0 0-.707.293l-4.1 4.1A1 1 0 0 0 4 9.101v5.798a1 1 0 0 0 .293.708l4.1 4.1a1 1 0 0 0 .708.293h5.798a1 1 0 0 0 .708-.293l4.1-4.1A1 1 0 0 0 20 14.9V9.1a1 1 0 0 0-.293-.707l-4.1-4.1A1 1 0 0 0 14.9 4",clipRule:"evenodd"})]}),Cg="_label_1arfr_1",kg={label:Cg},zo=s=>{const{children:e,...t}=s;return x.jsx("label",{className:kg.label,...t,children:e})},Ag="_wrap_davgy_1",Sg="_checkbox_davgy_13",Mg="_error_davgy_62",Vi={wrap:Ag,checkbox:Sg,error:Mg},Oo=z.forwardRef((s,e)=>{const{label:t,name:a,id:i,isError:r,...n}=s,o=i||a;return x.jsxs("div",{className:ne(Vi.wrap,{[Vi.error]:r}),children:[x.jsx("input",{ref:e,id:o,name:a,type:"checkbox",...n}),x.jsxs(zo,{htmlFor:o,children:[x.jsx("span",{className:Vi.checkbox,children:x.jsx(qs,{width:16,height:16})}),x.jsx("span",{children:t})]})]})});Oo.displayName="Checkbox";const Ig="_wrapper_18zvw_1",Lg="_trigger_18zvw_7",Rg="_placeholder_18zvw_31",_g="_dropdown_18zvw_41",Pg="_header_18zvw_55",zg="_monthYear_18zvw_62",Og="_navButton_18zvw_68",Hg="_grid_18zvw_91",Tg="_dayName_18zvw_98",jg="_day_18zvw_98",Eg="_today_18zvw_123",Dg="_selected_18zvw_127",Fg="_outside_18zvw_134",Be={wrapper:Ig,trigger:Lg,placeholder:Rg,dropdown:_g,header:Pg,monthYear:zg,navButton:Og,grid:Hg,dayName:Tg,day:jg,today:Eg,selected:Dg,outside:Fg},Bg=["Mo","Tu","We","Th","Fr","Sa","Su"],Ng=["January","February","March","April","May","June","July","August","September","October","November","December"],Vg=()=>x.jsx("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M5.333 1.333v2M10.667 1.333v2M2.333 6.06h11.334M14 5.667v5.666c0 2-1 3.334-3.333 3.334H5.333C3 14.667 2 13.333 2 11.333V5.667c0-2 1-3.334 3.333-3.334h5.334C13 2.333 14 3.667 14 5.667z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})});function Br(s,e){return new Date(s,e+1,0).getDate()}function Xg(s,e){const t=new Date(s,e,1).getDay();return t===0?6:t-1}const Yg=s=>`${s.getDate().toString().padStart(2,"0")}.${(s.getMonth()+1).toString().padStart(2,"0")}.${s.getFullYear()}`,Ho=z.forwardRef(({value:s,onChange:e,placeholder:t="Select date",format:a=Yg,className:i,...r},n)=>{const[o,l]=z.useState(!1),[c,h]=z.useState(()=>s??new Date),d=z.useRef(null),u=z.useMemo(()=>{const y=new Date;return new Date(y.getFullYear(),y.getMonth(),y.getDate())},[]),g=c.getFullYear(),p=c.getMonth(),f=Br(g,p),m=Xg(g,p),v=Br(g,p-1);z.useEffect(()=>{if(!o)return;const y=A=>{d.current&&!d.current.contains(A.target)&&l(!1)};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[o]);const b=z.useCallback(y=>{const A=new Date(g,p,y);e?.(A),l(!1)},[g,p,e]),w=[];for(let y=0;y<m;y++)w.push({day:v-m+1+y,current:!1});for(let y=1;y<=f;y++)w.push({day:y,current:!0});const k=42-w.length;for(let y=1;y<=k;y++)w.push({day:y,current:!1});return x.jsxs("div",{ref:y=>{d.current=y,typeof n=="function"?n(y):n&&(n.current=y)},className:ne(Be.wrapper,i),...r,children:[x.jsxs("button",{type:"button",className:ne(Be.trigger,!s&&Be.placeholder),onClick:()=>l(y=>!y),children:[x.jsx(Vg,{}),x.jsx("span",{children:s?a(s):t})]}),o&&x.jsxs("div",{className:Be.dropdown,children:[x.jsxs("div",{className:Be.header,children:[x.jsx("button",{type:"button",className:Be.navButton,onClick:()=>h(new Date(g,p-1,1)),children:"‹"}),x.jsxs("span",{className:Be.monthYear,children:[Ng[p]," ",g]}),x.jsx("button",{type:"button",className:Be.navButton,onClick:()=>h(new Date(g,p+1,1)),children:"›"})]}),x.jsxs("div",{className:Be.grid,children:[Bg.map(y=>x.jsx("div",{className:Be.dayName,children:y},y)),w.map((y,A)=>{const C=y.current&&y.day===u.getDate()&&p===u.getMonth()&&g===u.getFullYear(),S=s&&y.current&&y.day===s.getDate()&&p===s.getMonth()&&g===s.getFullYear();return x.jsx("button",{type:"button",className:ne(Be.day,!y.current&&Be.outside,C&&Be.today,S&&Be.selected),onClick:()=>y.current&&b(y.day),tabIndex:y.current?0:-1,children:y.day},A)})]})]})]})});Ho.displayName="DatePicker";const Wg="_formGroup_1d0zo_1",Gg={formGroup:Wg},$g=s=>{const{children:e}=s;return x.jsx("div",{className:Gg.formGroup,children:e})},Ug="_grid_8n7pg_1",qg="_item_8n7pg_10",To={grid:Ug,item:qg},Zg={none:"0px",xs:"6px",sm:"10px",md:"12px",lg:"16px",xl:"24px"};function Kg(s,e=12){const t=typeof s=="string"?Number(s):s;return!t||Number.isNaN(t)?e:Math.max(1,Math.floor(t))}function Jg({cols:s=12,gap:e="md",alignItems:t="stretch",justifyItems:a="stretch",style:i,className:r,...n}){const o={...i??{},"--grid-cols":Kg(s,12),"--grid-gap":Zg[e],"--grid-align-items":t??"stretch","--grid-justify-items":a??"stretch"},l=[To.grid,r].filter(Boolean).join(" ");return x.jsx("div",{className:l,style:o,...n})}function Qg(s){const e=s??1;return Number.isNaN(e)?1:Math.max(1,Math.floor(e))}function ef({span:s=1,style:e,className:t,...a}){const i={...e??{},"--grid-span":Qg(s)},r=[To.item,t].filter(Boolean).join(" ");return x.jsx("div",{className:r,style:i,...a})}const tf="_wrap_1cqfa_1",af="_input_1cqfa_4",sf="_error_1cqfa_30",rf="_suffixWrap_1cqfa_42",nf="_prefixWrap_1cqfa_45",of="_suffix_1cqfa_42",lf="_prefix_1cqfa_45",cf="_loader_1cqfa_66",xt={wrap:tf,input:af,error:sf,suffixWrap:rf,prefixWrap:nf,suffix:of,prefix:lf,loader:cf},jo=z.forwardRef((s,e)=>{const{type:t="text",name:a,id:i,isError:r,isLoading:n,prefix:o,suffix:l,...c}=s,h=i||a;return x.jsxs("div",{className:ne(xt.wrap,{[xt.prefixWrap]:o,[xt.suffixWrap]:l||n}),children:[o&&x.jsx("div",{className:xt.prefix,children:o}),x.jsx("input",{ref:e,id:h,name:a,type:t,className:ne(xt.input,{[xt.error]:r}),...c}),(l||n)&&x.jsx("div",{className:xt.suffix,children:n?x.jsx("div",{className:xt.loader,children:x.jsx(hi,{})}):l})]})});jo.displayName="Input";const hf="_authLayout_126cv_1",df="_left_126cv_7",uf="_leftContainer_126cv_21",gf="_right_126cv_29",ff="_header_126cv_44",pf="_headerContent_126cv_49",xf="_footer_126cv_55",Ht={authLayout:hf,left:df,leftContainer:uf,right:gf,header:ff,headerContent:pf,footer:xf},Ma=({children:s})=>x.jsx("div",{className:Ht.authLayout,children:s}),mf=({children:s})=>x.jsx("div",{className:Ht.left,children:x.jsx("div",{className:Ht.leftContainer,children:s})}),vf=({children:s})=>x.jsx("div",{className:Ht.right,children:s}),bf=({title:s,subtitle:e})=>x.jsx("div",{className:Ht.header,children:x.jsxs("div",{className:Ht.headerContent,children:[s&&x.jsx(Pt,{variant:"h3",weight:"semibold",children:s}),e&&x.jsx(Pt,{variant:"small",color:"muted",children:e})]})}),yf=({children:s})=>x.jsx(Pt,{variant:"caption",color:"secondary",className:Ht.footer,children:s});Ma.Left=mf;Ma.Right=vf;Ma.Header=bf;Ma.Footer=yf;const wf="_content_1ondx_1",Cf={content:wf},kf=s=>{const{children:e}=s;return x.jsx("div",{className:Cf.content,children:e})},Af="_layout_185da_1",Sf={layout:Af},Mf=s=>{const{children:e}=s;return x.jsx("div",{className:Sf.layout,children:e})},If="_footer_l07iq_1",Lf={footer:If},Rf=s=>{const{children:e}=s;return x.jsx("div",{className:Lf.footer,children:e})},_f="_header_u979b_1",Pf="_collapsed_u979b_11",zf="_logo_u979b_18",Of="_logoIcon_u979b_26",Hf="_logoText_u979b_42",Tf="_toggleButton_u979b_52",Ft={header:_f,collapsed:Pf,logo:zf,logoIcon:Of,logoText:Hf,toggleButton:Tf},jf=s=>{const{title:e,isOpen:t=!0,onClick:a}=s;return x.jsxs("div",{className:ne(Ft.header,{[Ft.collapsed]:!t}),children:[x.jsxs("div",{className:Ft.logo,children:[x.jsx("span",{className:Ft.logoIcon,children:x.jsx(Io,{})}),t&&x.jsx("span",{className:Ft.logoText,children:e})]}),a&&x.jsx("button",{type:"button",className:Ft.toggleButton,onClick:a,"aria-label":t?"Collapse sidebar":"Expand sidebar",children:t?x.jsx(Ro,{}):x.jsx(Zs,{})})]})},Ef="_menu_1y5e2_1",Df="_collapsed_1y5e2_11",Nr={menu:Ef,collapsed:Df},Ff=s=>{const{children:e,collapsed:t}=s;return x.jsx("div",{className:ne(Nr.menu,{[Nr.collapsed]:t}),children:e})},Bf="_sidebar_15pqo_1",Nf="_closed_15pqo_13",Vr={sidebar:Bf,closed:Nf},Vf=s=>{const{children:e,isOpen:t=!0}=s;return x.jsx("div",{className:ne(Vr.sidebar,{[Vr.closed]:!t}),children:e})},Xf=["a[href]","button:not([disabled])","input:not([disabled])","textarea:not([disabled])","select:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", ");function Ks(s={}){const{active:e=!0,escapeDeactivates:t=!0,onEscape:a,initialFocusSelector:i,returnFocusOnDeactivate:r=!0}=s,n=z.useRef(null),o=z.useRef(null),l=z.useCallback(()=>n.current?Array.from(n.current.querySelectorAll(Xf)):[],[]);return z.useEffect(()=>{if(!e||!n.current)return;o.current=document.activeElement;const c=i?n.current.querySelector(i):null;c?c.focus():l()[0]?.focus();const h=d=>{if(d.key==="Escape"&&t){d.stopPropagation(),a?.();return}if(d.key!=="Tab")return;const u=l();if(u.length===0)return;const g=u[0],p=u[u.length-1];d.shiftKey?document.activeElement===g&&(d.preventDefault(),p.focus()):document.activeElement===p&&(d.preventDefault(),g.focus())};return document.addEventListener("keydown",h),()=>{document.removeEventListener("keydown",h),r&&o.current&&o.current.focus()}},[e,t,a,i,r,l]),{trapRef:n}}const Yf="_container_1aui5_1",Wf="_trigger_1aui5_5",Gf="_collapsed_1aui5_34",$f="_initialsAvatar_1aui5_39",Uf="_info_1aui5_54",qf="_name_1aui5_62",Zf="_email_1aui5_69",Kf="_menu_1aui5_78",Jf="_menuHeader_1aui5_91",Qf="_menuHeaderName_1aui5_97",ep="_menuHeaderEmail_1aui5_104",tp="_divider_1aui5_111",ap="_menuItem_1aui5_117",ip="_menuItemIcon_1aui5_142",Ne={container:Yf,trigger:Wf,collapsed:Gf,initialsAvatar:$f,info:Uf,name:qf,email:Zf,menu:Kf,menuHeader:Jf,menuHeaderName:Qf,menuHeaderEmail:ep,divider:tp,menuItem:ap,menuItemIcon:ip},sp=s=>{const{name:e,email:t,avatar:a,initials:i,menuItems:r,collapsed:n}=s,[o,l]=z.useState(!1),c=z.useRef(null),h=z.useCallback(()=>l(!1),[]),d=z.useCallback(()=>l(p=>!p),[]),{trapRef:u}=Ks({active:o,escapeDeactivates:!0,onEscape:h});z.useEffect(()=>{if(!o)return;const p=f=>{c.current&&!c.current.contains(f.target)&&h()};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[o,h]);const g=a??x.jsx("span",{className:Ne.initialsAvatar,children:i??e.charAt(0)});return x.jsxs("div",{ref:c,className:Ne.container,children:[x.jsxs("button",{type:"button",className:ne(Ne.trigger,{[Ne.collapsed]:n}),onClick:d,"aria-expanded":o,"aria-haspopup":"menu","aria-label":`${e} user menu`,children:[g,!n&&x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:Ne.info,children:[x.jsx("span",{className:Ne.name,children:e}),t&&x.jsx("span",{className:Ne.email,children:t})]}),x.jsx(Zs,{})]})]}),o&&x.jsxs("div",{ref:u,className:Ne.menu,role:"menu",children:[x.jsxs("div",{className:Ne.menuHeader,children:[x.jsx("span",{className:Ne.menuHeaderName,children:e}),t&&x.jsx("span",{className:Ne.menuHeaderEmail,children:t})]}),r&&r.length>0&&x.jsxs(x.Fragment,{children:[x.jsx("div",{className:Ne.divider}),r.map(p=>x.jsxs("button",{type:"button",className:Ne.menuItem,role:"menuitem",onClick:()=>{p.onClick?.(),h()},children:[p.icon&&x.jsx("span",{className:Ne.menuItemIcon,children:p.icon}),p.label]},p.label))]})]})]})};function rp(s={}){const{politeness:e="polite"}=s,t=z.useRef(null);return z.useEffect(()=>{const i=document.createElement("div");return i.setAttribute("role","status"),i.setAttribute("aria-live",e),i.setAttribute("aria-atomic","true"),i.style.position="absolute",i.style.width="1px",i.style.height="1px",i.style.overflow="hidden",i.style.clip="rect(0, 0, 0, 0)",i.style.whiteSpace="nowrap",i.style.border="0",document.body.appendChild(i),t.current=i,()=>{document.body.removeChild(i),t.current=null}},[e]),{announce:z.useCallback(i=>{t.current&&(t.current.textContent="",requestAnimationFrame(()=>{t.current&&(t.current.textContent=i)}))},[])}}function Eo(s={}){const{orientation:e="vertical",loop:t=!0,itemSelector:a='[role="option"], [role="menuitem"], [role="tab"], [tabindex]'}=s,i=z.useRef(null),r=z.useCallback(()=>i.current?Array.from(i.current.querySelectorAll(a)):[],[a]),n=z.useCallback((l,c)=>{if(l.length===0)return;let h=c;t?h=(c%l.length+l.length)%l.length:h=Math.max(0,Math.min(c,l.length-1)),l[h]?.focus()},[t]),o=z.useCallback(l=>{const c=r();if(c.length===0)return;const h=c.indexOf(document.activeElement),d=e==="horizontal"?"ArrowLeft":"ArrowUp",u=e==="horizontal"?"ArrowRight":"ArrowDown";switch(l.key){case d:l.preventDefault(),n(c,h-1);break;case u:l.preventDefault(),n(c,h+1);break;case"ArrowUp":case"ArrowLeft":e==="both"&&(l.preventDefault(),n(c,h-1));break;case"ArrowDown":case"ArrowRight":e==="both"&&(l.preventDefault(),n(c,h+1));break;case"Home":l.preventDefault(),n(c,0);break;case"End":l.preventDefault(),n(c,c.length-1);break}},[e,r,n]);return{containerRef:i,handleKeyDown:o}}const np="_backdrop_1d11y_1",op="_fadeIn_1d11y_1",lp="_modal_1d11y_13",cp="_scaleIn_1d11y_1",hp="_sm_1d11y_25",dp="_md_1d11y_28",up="_lg_1d11y_31",gp="_header_1d11y_35",fp="_headerContent_1d11y_44",pp="_headerTitle_1d11y_52",xp="_headerDescription_1d11y_61",mp="_closeButton_1d11y_68",vp="_body_1d11y_99",bp="_footer_1d11y_108",rt={backdrop:np,fadeIn:op,modal:lp,scaleIn:cp,sm:hp,md:dp,lg:up,header:gp,headerContent:fp,headerTitle:pp,headerDescription:xp,closeButton:mp,body:vp,footer:bp},yp=()=>x.jsx("svg",{viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M13.5 4.5L4.5 13.5M4.5 4.5L13.5 13.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),Do=z.forwardRef(({title:s,description:e,onClose:t,className:a,children:i,...r},n)=>x.jsxs("div",{ref:n,className:ne(rt.header,a),...r,children:[s?x.jsxs("div",{className:rt.headerContent,children:[x.jsx("h2",{className:rt.headerTitle,children:s}),e&&x.jsx("p",{className:rt.headerDescription,children:e})]}):i,t&&x.jsx("button",{type:"button",className:rt.closeButton,onClick:t,"aria-label":"Close",children:x.jsx(yp,{})})]}));Do.displayName="Modal.Header";const Fo=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("div",{ref:a,className:ne(rt.body,s),...t,children:e}));Fo.displayName="Modal.Body";const Bo=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("div",{ref:a,className:ne(rt.footer,s),...t,children:e}));Bo.displayName="Modal.Footer";const wp=({open:s,onClose:e,size:t="md",className:a,children:i})=>{const{trapRef:r}=Ks({active:s,escapeDeactivates:!0,onEscape:e,returnFocusOnDeactivate:!0}),n=z.useCallback(o=>{o.target===o.currentTarget&&e()},[e]);return z.useEffect(()=>{if(s)return document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}},[s]),s?Ps.createPortal(x.jsx("div",{className:rt.backdrop,onClick:n,"aria-modal":"true",role:"dialog",children:x.jsx("div",{ref:r,className:ne(rt.modal,rt[t],a),children:i})}),document.body):null},Cp=Object.assign(wp,{Header:Do,Body:Fo,Footer:Bo}),kp="_wrapper_hct0l_1",Ap="_icon_hct0l_6",Sp="_input_hct0l_20",Mp="_clear_hct0l_42",za={wrapper:kp,icon:Ap,input:Sp,clear:Mp},Ip=()=>x.jsx("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M14 14L10.5 10.5M12 7C12 9.76 9.76 12 7 12C4.24 12 2 9.76 2 7C2 4.24 4.24 2 7 2C9.76 2 12 4.24 12 7Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),Lp=()=>x.jsx("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),Js=z.forwardRef(({value:s="",onChange:e,onClear:t,className:a,placeholder:i="Search...",...r},n)=>{const o=z.useCallback(c=>e?.(c.target.value),[e]),l=z.useCallback(()=>{e?.(""),t?.()},[e,t]);return x.jsxs("div",{className:ne(za.wrapper,a),children:[x.jsx("span",{className:za.icon,children:x.jsx(Ip,{})}),x.jsx("input",{ref:n,type:"search",className:za.input,value:s,onChange:o,placeholder:i,"aria-label":i,...r}),s&&x.jsx("button",{type:"button",className:za.clear,onClick:l,"aria-label":"Clear search",children:x.jsx(Lp,{})})]})});Js.displayName="SearchInput";function Tt(s){"@babel/helpers - typeof";return Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(s)}function Rp(s,e){if(Tt(s)!="object"||!s)return s;var t=s[Symbol.toPrimitive];if(t!==void 0){var a=t.call(s,e);if(Tt(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(s)}function No(s){var e=Rp(s,"string");return Tt(e)=="symbol"?e:e+""}function na(s,e,t){return(e=No(e))in s?Object.defineProperty(s,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[e]=t,s}function Xr(s,e){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(s);e&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(s,i).enumerable})),t.push.apply(t,a)}return t}function Z(s){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Xr(Object(t),!0).forEach(function(a){na(s,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(t)):Xr(Object(t)).forEach(function(a){Object.defineProperty(s,a,Object.getOwnPropertyDescriptor(t,a))})}return s}function _p(s){if(Array.isArray(s))return s}function Pp(s,e){var t=s==null?null:typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(t!=null){var a,i,r,n,o=[],l=!0,c=!1;try{if(r=(t=t.call(s)).next,e===0){if(Object(t)!==t)return;l=!1}else for(;!(l=(a=r.call(t)).done)&&(o.push(a.value),o.length!==e);l=!0);}catch(h){c=!0,i=h}finally{try{if(!l&&t.return!=null&&(n=t.return(),Object(n)!==n))return}finally{if(c)throw i}}return o}}function ks(s,e){(e==null||e>s.length)&&(e=s.length);for(var t=0,a=Array(e);t<e;t++)a[t]=s[t];return a}function Vo(s,e){if(s){if(typeof s=="string")return ks(s,e);var t={}.toString.call(s).slice(8,-1);return t==="Object"&&s.constructor&&(t=s.constructor.name),t==="Map"||t==="Set"?Array.from(s):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ks(s,e):void 0}}function zp(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
955
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ct(s,e){return
|
|
956
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qs(s){return Vp(s)||Xp(s)||Vo(s)||Yp()}function Wp(s){if(s.sheet)return s.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===s)return document.styleSheets[e]}function Gp(s){var e=document.createElement("style");return e.setAttribute("data-emotion",s.key),s.nonce!==void 0&&e.setAttribute("nonce",s.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var $p=(function(){function s(t){var a=this;this._insertTag=function(i){var r;a.tags.length===0?a.insertionPoint?r=a.insertionPoint.nextSibling:a.prepend?r=a.container.firstChild:r=a.before:r=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(i,r),a.tags.push(i)},this.isSpeedy=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=s.prototype;return e.hydrate=function(a){a.forEach(this._insertTag)},e.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Gp(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var r=Wp(i);try{r.insertRule(a,r.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(a));this.ctr++},e.flush=function(){this.tags.forEach(function(a){var i;return(i=a.parentNode)==null?void 0:i.removeChild(a)}),this.tags=[],this.ctr=0},s})(),Te="-ms-",ii="-moz-",de="-webkit-",Yo="comm",er="rule",tr="decl",Up="@import",Wo="@keyframes",qp="@layer",Zp=Math.abs,gi=String.fromCharCode,Kp=Object.assign;function Jp(s,e){return Pe(s,0)^45?(((e<<2^Pe(s,0))<<2^Pe(s,1))<<2^Pe(s,2))<<2^Pe(s,3):0}function Go(s){return s.trim()}function Qp(s,e){return(s=e.exec(s))?s[0]:s}function ue(s,e,t){return s.replace(e,t)}function Ss(s,e){return s.indexOf(e)}function Pe(s,e){return s.charCodeAt(e)|0}function ma(s,e,t){return s.slice(e,t)}function it(s){return s.length}function ar(s){return s.length}function Oa(s,e){return e.push(s),s}function ex(s,e){return s.map(e).join("")}var fi=1,$t=1,$o=0,Ve=0,Me=0,Qt="";function pi(s,e,t,a,i,r,n){return{value:s,root:e,parent:t,type:a,props:i,children:r,line:fi,column:$t,length:n,return:""}}function ia(s,e){return Kp(pi("",null,null,"",null,null,0),s,{length:-s.length},e)}function tx(){return Me}function ax(){return Me=Ve>0?Pe(Qt,--Ve):0,$t--,Me===10&&($t=1,fi--),Me}function Ye(){return Me=Ve<$o?Pe(Qt,Ve++):0,$t++,Me===10&&($t=1,fi++),Me}function nt(){return Pe(Qt,Ve)}function Ga(){return Ve}function Ia(s,e){return ma(Qt,s,e)}function va(s){switch(s){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Uo(s){return fi=$t=1,$o=it(Qt=s),Ve=0,[]}function qo(s){return Qt="",s}function $a(s){return Go(Ia(Ve-1,Ms(s===91?s+2:s===40?s+1:s)))}function ix(s){for(;(Me=nt())&&Me<33;)Ye();return va(s)>2||va(Me)>3?"":" "}function sx(s,e){for(;--e&&Ye()&&!(Me<48||Me>102||Me>57&&Me<65||Me>70&&Me<97););return Ia(s,Ga()+(e<6&&nt()==32&&Ye()==32))}function Ms(s){for(;Ye();)switch(Me){case s:return Ve;case 34:case 39:s!==34&&s!==39&&Ms(Me);break;case 40:s===41&&Ms(s);break;case 92:Ye();break}return Ve}function rx(s,e){for(;Ye()&&s+Me!==57;)if(s+Me===84&&nt()===47)break;return"/*"+Ia(e,Ve-1)+"*"+gi(s===47?s:Ye())}function nx(s){for(;!va(nt());)Ye();return Ia(s,Ve)}function ox(s){return qo(Ua("",null,null,null,[""],s=Uo(s),0,[0],s))}function Ua(s,e,t,a,i,r,n,o,l){for(var c=0,h=0,d=n,u=0,g=0,p=0,f=1,m=1,v=1,b=0,w="",k=i,y=r,A=a,C=w;m;)switch(p=b,b=Ye()){case 40:if(p!=108&&Pe(C,d-1)==58){Ss(C+=ue($a(b),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:C+=$a(b);break;case 9:case 10:case 13:case 32:C+=ix(p);break;case 92:C+=sx(Ga()-1,7);continue;case 47:switch(nt()){case 42:case 47:Oa(lx(rx(Ye(),Ga()),e,t),l);break;default:C+="/"}break;case 123*f:o[c++]=it(C)*v;case 125*f:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+h:v==-1&&(C=ue(C,/\f/g,"")),g>0&&it(C)-d&&Oa(g>32?Gr(C+";",a,t,d-1):Gr(ue(C," ","")+";",a,t,d-2),l);break;case 59:C+=";";default:if(Oa(A=Wr(C,e,t,c,h,i,o,w,k=[],y=[],d),r),b===123)if(h===0)Ua(C,e,A,A,k,r,d,o,y);else switch(u===99&&Pe(C,3)===110?100:u){case 100:case 108:case 109:case 115:Ua(s,A,A,a&&Oa(Wr(s,A,A,0,0,i,o,w,i,k=[],d),y),i,y,d,o,a?k:y);break;default:Ua(C,A,A,A,[""],y,0,o,y)}}c=h=g=0,f=v=1,w=C="",d=n;break;case 58:d=1+it(C),g=p;default:if(f<1){if(b==123)--f;else if(b==125&&f++==0&&ax()==125)continue}switch(C+=gi(b),b*f){case 38:v=h>0?1:(C+="\f",-1);break;case 44:o[c++]=(it(C)-1)*v,v=1;break;case 64:nt()===45&&(C+=$a(Ye())),u=nt(),h=d=it(w=C+=nx(Ga())),b++;break;case 45:p===45&&it(C)==2&&(f=0)}}return r}function Wr(s,e,t,a,i,r,n,o,l,c,h){for(var d=i-1,u=i===0?r:[""],g=ar(u),p=0,f=0,m=0;p<a;++p)for(var v=0,b=ma(s,d+1,d=Zp(f=n[p])),w=s;v<g;++v)(w=Go(f>0?u[v]+" "+b:ue(b,/&\f/g,u[v])))&&(l[m++]=w);return pi(s,e,t,i===0?er:o,l,c,h)}function lx(s,e,t){return pi(s,e,t,Yo,gi(tx()),ma(s,2,-2),0)}function Gr(s,e,t,a){return pi(s,e,t,tr,ma(s,0,a),ma(s,a+1,-1),a)}function Yt(s,e){for(var t="",a=ar(s),i=0;i<a;i++)t+=e(s[i],i,s,e)||"";return t}function cx(s,e,t,a){switch(s.type){case qp:if(s.children.length)break;case Up:case tr:return s.return=s.return||s.value;case Yo:return"";case Wo:return s.return=s.value+"{"+Yt(s.children,a)+"}";case er:s.value=s.props.join(",")}return it(t=Yt(s.children,a))?s.return=s.value+"{"+t+"}":""}function hx(s){var e=ar(s);return function(t,a,i,r){for(var n="",o=0;o<e;o++)n+=s[o](t,a,i,r)||"";return n}}function dx(s){return function(e){e.root||(e=e.return)&&s(e)}}function ux(s){var e=Object.create(null);return function(t){return e[t]===void 0&&(e[t]=s(t)),e[t]}}var gx=function(e,t,a){for(var i=0,r=0;i=r,r=nt(),i===38&&r===12&&(t[a]=1),!va(r);)Ye();return Ia(e,Ve)},fx=function(e,t){var a=-1,i=44;do switch(va(i)){case 0:i===38&&nt()===12&&(t[a]=1),e[a]+=gx(Ve-1,t,a);break;case 2:e[a]+=$a(i);break;case 4:if(i===44){e[++a]=nt()===58?"&\f":"",t[a]=e[a].length;break}default:e[a]+=gi(i)}while(i=Ye());return e},px=function(e,t){return qo(fx(Uo(e),t))},$r=new WeakMap,xx=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,a=e.parent,i=e.column===a.column&&e.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!$r.get(a))&&!i){$r.set(e,!0);for(var r=[],n=px(t,r),o=a.props,l=0,c=0;l<n.length;l++)for(var h=0;h<o.length;h++,c++)e.props[c]=r[l]?n[l].replace(/&\f/g,o[h]):o[h]+" "+n[l]}}},mx=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};function Zo(s,e){switch(Jp(s,e)){case 5103:return de+"print-"+s+s;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return de+s+s;case 5349:case 4246:case 4810:case 6968:case 2756:return de+s+ii+s+Te+s+s;case 6828:case 4268:return de+s+Te+s+s;case 6165:return de+s+Te+"flex-"+s+s;case 5187:return de+s+ue(s,/(\w+).+(:[^]+)/,de+"box-$1$2"+Te+"flex-$1$2")+s;case 5443:return de+s+Te+"flex-item-"+ue(s,/flex-|-self/,"")+s;case 4675:return de+s+Te+"flex-line-pack"+ue(s,/align-content|flex-|-self/,"")+s;case 5548:return de+s+Te+ue(s,"shrink","negative")+s;case 5292:return de+s+Te+ue(s,"basis","preferred-size")+s;case 6060:return de+"box-"+ue(s,"-grow","")+de+s+Te+ue(s,"grow","positive")+s;case 4554:return de+ue(s,/([^-])(transform)/g,"$1"+de+"$2")+s;case 6187:return ue(ue(ue(s,/(zoom-|grab)/,de+"$1"),/(image-set)/,de+"$1"),s,"")+s;case 5495:case 3959:return ue(s,/(image-set\([^]*)/,de+"$1$`$1");case 4968:return ue(ue(s,/(.+:)(flex-)?(.*)/,de+"box-pack:$3"+Te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+de+s+s;case 4095:case 3583:case 4068:case 2532:return ue(s,/(.+)-inline(.+)/,de+"$1$2")+s;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(it(s)-1-e>6)switch(Pe(s,e+1)){case 109:if(Pe(s,e+4)!==45)break;case 102:return ue(s,/(.+:)(.+)-([^]+)/,"$1"+de+"$2-$3$1"+ii+(Pe(s,e+3)==108?"$3":"$2-$3"))+s;case 115:return~Ss(s,"stretch")?Zo(ue(s,"stretch","fill-available"),e)+s:s}break;case 4949:if(Pe(s,e+1)!==115)break;case 6444:switch(Pe(s,it(s)-3-(~Ss(s,"!important")&&10))){case 107:return ue(s,":",":"+de)+s;case 101:return ue(s,/(.+:)([^;!]+)(;|!.+)?/,"$1"+de+(Pe(s,14)===45?"inline-":"")+"box$3$1"+de+"$2$3$1"+Te+"$2box$3")+s}break;case 5936:switch(Pe(s,e+11)){case 114:return de+s+Te+ue(s,/[svh]\w+-[tblr]{2}/,"tb")+s;case 108:return de+s+Te+ue(s,/[svh]\w+-[tblr]{2}/,"tb-rl")+s;case 45:return de+s+Te+ue(s,/[svh]\w+-[tblr]{2}/,"lr")+s}return de+s+Te+s+s}return s}var vx=function(e,t,a,i){if(e.length>-1&&!e.return)switch(e.type){case tr:e.return=Zo(e.value,e.length);break;case Wo:return Yt([ia(e,{value:ue(e.value,"@","@"+de)})],i);case er:if(e.length)return ex(e.props,function(r){switch(Qp(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yt([ia(e,{props:[ue(r,/:(read-\w+)/,":"+ii+"$1")]})],i);case"::placeholder":return Yt([ia(e,{props:[ue(r,/:(plac\w+)/,":"+de+"input-$1")]}),ia(e,{props:[ue(r,/:(plac\w+)/,":"+ii+"$1")]}),ia(e,{props:[ue(r,/:(plac\w+)/,Te+"input-$1")]})],i)}return""})}},bx=[vx],yx=function(e){var t=e.key;if(t==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(f){var m=f.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var i=e.stylisPlugins||bx,r={},n,o=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(f){for(var m=f.getAttribute("data-emotion").split(" "),v=1;v<m.length;v++)r[m[v]]=!0;o.push(f)});var l,c=[xx,mx];{var h,d=[cx,dx(function(f){h.insert(f)})],u=hx(c.concat(i,d)),g=function(m){return Yt(ox(m),u)};l=function(m,v,b,w){h=b,g(m?m+"{"+v.styles+"}":v.styles),w&&(p.inserted[v.name]=!0)}}var p={key:t,sheet:new $p({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:r,registered:{},insert:l};return p.sheet.hydrate(o),p},Xi={exports:{}},fe={};var Ur;function wx(){if(Ur)return fe;Ur=1;var s=typeof Symbol=="function"&&Symbol.for,e=s?Symbol.for("react.element"):60103,t=s?Symbol.for("react.portal"):60106,a=s?Symbol.for("react.fragment"):60107,i=s?Symbol.for("react.strict_mode"):60108,r=s?Symbol.for("react.profiler"):60114,n=s?Symbol.for("react.provider"):60109,o=s?Symbol.for("react.context"):60110,l=s?Symbol.for("react.async_mode"):60111,c=s?Symbol.for("react.concurrent_mode"):60111,h=s?Symbol.for("react.forward_ref"):60112,d=s?Symbol.for("react.suspense"):60113,u=s?Symbol.for("react.suspense_list"):60120,g=s?Symbol.for("react.memo"):60115,p=s?Symbol.for("react.lazy"):60116,f=s?Symbol.for("react.block"):60121,m=s?Symbol.for("react.fundamental"):60117,v=s?Symbol.for("react.responder"):60118,b=s?Symbol.for("react.scope"):60119;function w(y){if(typeof y=="object"&&y!==null){var A=y.$$typeof;switch(A){case e:switch(y=y.type,y){case l:case c:case a:case r:case i:case d:return y;default:switch(y=y&&y.$$typeof,y){case o:case h:case p:case g:case n:return y;default:return A}}case t:return A}}}function k(y){return w(y)===c}return fe.AsyncMode=l,fe.ConcurrentMode=c,fe.ContextConsumer=o,fe.ContextProvider=n,fe.Element=e,fe.ForwardRef=h,fe.Fragment=a,fe.Lazy=p,fe.Memo=g,fe.Portal=t,fe.Profiler=r,fe.StrictMode=i,fe.Suspense=d,fe.isAsyncMode=function(y){return k(y)||w(y)===l},fe.isConcurrentMode=k,fe.isContextConsumer=function(y){return w(y)===o},fe.isContextProvider=function(y){return w(y)===n},fe.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},fe.isForwardRef=function(y){return w(y)===h},fe.isFragment=function(y){return w(y)===a},fe.isLazy=function(y){return w(y)===p},fe.isMemo=function(y){return w(y)===g},fe.isPortal=function(y){return w(y)===t},fe.isProfiler=function(y){return w(y)===r},fe.isStrictMode=function(y){return w(y)===i},fe.isSuspense=function(y){return w(y)===d},fe.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===a||y===c||y===r||y===i||y===d||y===u||typeof y=="object"&&y!==null&&(y.$$typeof===p||y.$$typeof===g||y.$$typeof===n||y.$$typeof===o||y.$$typeof===h||y.$$typeof===m||y.$$typeof===v||y.$$typeof===b||y.$$typeof===f)},fe.typeOf=w,fe}var qr;function Cx(){return qr||(qr=1,Xi.exports=wx()),Xi.exports}var Yi,Zr;function kx(){if(Zr)return Yi;Zr=1;var s=Cx(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};r[s.ForwardRef]=a,r[s.Memo]=i;function n(p){return s.isMemo(p)?i:r[p.$$typeof]||e}var o=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,u=Object.prototype;function g(p,f,m){if(typeof f!="string"){if(u){var v=d(f);v&&v!==u&&g(p,v,m)}var b=l(f);c&&(b=b.concat(c(f)));for(var w=n(p),k=n(f),y=0;y<b.length;++y){var A=b[y];if(!t[A]&&!(m&&m[A])&&!(k&&k[A])&&!(w&&w[A])){var C=h(f,A);try{o(p,A,C)}catch{}}}}return p}return Yi=g,Yi}kx();var Ax=!0;function Sx(s,e,t){var a="";return t.split(" ").forEach(function(i){s[i]!==void 0?e.push(s[i]+";"):i&&(a+=i+" ")}),a}var Ko=function(e,t,a){var i=e.key+"-"+t.name;(a===!1||Ax===!1)&&e.registered[i]===void 0&&(e.registered[i]=t.styles)},Mx=function(e,t,a){Ko(e,t,a);var i=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var r=t;do e.insert(t===r?"."+i:"",r,e.sheet,!0),r=r.next;while(r!==void 0)}};function Ix(s){for(var e=0,t,a=0,i=s.length;i>=4;++a,i-=4)t=s.charCodeAt(a)&255|(s.charCodeAt(++a)&255)<<8|(s.charCodeAt(++a)&255)<<16|(s.charCodeAt(++a)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,e=(t&65535)*1540483477+((t>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(s.charCodeAt(a+2)&255)<<16;case 2:e^=(s.charCodeAt(a+1)&255)<<8;case 1:e^=s.charCodeAt(a)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var Lx={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Rx=/[A-Z]|^ms/g,_x=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Jo=function(e){return e.charCodeAt(1)===45},Kr=function(e){return e!=null&&typeof e!="boolean"},Wi=ux(function(s){return Jo(s)?s:s.replace(Rx,"-$&").toLowerCase()}),Jr=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(_x,function(a,i,r){return st={name:i,styles:r,next:st},i})}return Lx[e]!==1&&!Jo(e)&&typeof t=="number"&&t!==0?t+"px":t};function ba(s,e,t){if(t==null)return"";var a=t;if(a.__emotion_styles!==void 0)return a;switch(typeof t){case"boolean":return"";case"object":{var i=t;if(i.anim===1)return st={name:i.name,styles:i.styles,next:st},i.name;var r=t;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)st={name:n.name,styles:n.styles,next:st},n=n.next;var o=r.styles+";";return o}return Px(s,e,t)}case"function":{if(s!==void 0){var l=st,c=t(s);return st=l,ba(s,e,c)}break}}var h=t;return h}function Px(s,e,t){var a="";if(Array.isArray(t))for(var i=0;i<t.length;i++)a+=ba(s,e,t[i])+";";else for(var r in t){var n=t[r];if(typeof n!="object"){var o=n;Kr(o)&&(a+=Wi(r)+":"+Jr(r,o)+";")}else if(Array.isArray(n)&&typeof n[0]=="string"&&e==null)for(var l=0;l<n.length;l++)Kr(n[l])&&(a+=Wi(r)+":"+Jr(r,n[l])+";");else{var c=ba(s,e,n);switch(r){case"animation":case"animationName":{a+=Wi(r)+":"+c+";";break}default:a+=r+"{"+c+"}"}}}return a}var Qr=/label:\s*([^\s;{]+)\s*(;|$)/g,st;function Qo(s,e,t){if(s.length===1&&typeof s[0]=="object"&&s[0]!==null&&s[0].styles!==void 0)return s[0];var a=!0,i="";st=void 0;var r=s[0];if(r==null||r.raw===void 0)a=!1,i+=ba(t,e,r);else{var n=r;i+=n[0]}for(var o=1;o<s.length;o++)if(i+=ba(t,e,s[o]),a){var l=r;i+=l[o]}Qr.lastIndex=0;for(var c="",h;(h=Qr.exec(i))!==null;)c+="-"+h[1];var d=Ix(i)+c;return{name:d,styles:i,next:st}}var zx=function(e){return e()},Ox=ie.useInsertionEffect?ie.useInsertionEffect:!1,Hx=Ox||zx,el=ie.createContext(typeof HTMLElement<"u"?yx({key:"css"}):null);el.Provider;var Tx=function(e){return z.forwardRef(function(t,a){var i=z.useContext(el);return e(t,i,a)})},jx=ie.createContext({}),ir={}.hasOwnProperty,Is="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ex=function(e,t){var a={};for(var i in t)ir.call(t,i)&&(a[i]=t[i]);return a[Is]=e,a},Dx=function(e){var t=e.cache,a=e.serialized,i=e.isStringTag;return Ko(t,a,i),Hx(function(){return Mx(t,a,i)}),null},Fx=Tx(function(s,e,t){var a=s.css;typeof a=="string"&&e.registered[a]!==void 0&&(a=e.registered[a]);var i=s[Is],r=[a],n="";typeof s.className=="string"?n=Sx(e.registered,r,s.className):s.className!=null&&(n=s.className+" ");var o=Qo(r,void 0,ie.useContext(jx));n+=e.key+"-"+o.name;var l={};for(var c in s)ir.call(s,c)&&c!=="css"&&c!==Is&&(l[c]=s[c]);return l.className=n,t&&(l.ref=t),ie.createElement(ie.Fragment,null,ie.createElement(Dx,{cache:e,serialized:o,isStringTag:typeof i=="string"}),ie.createElement(i,l))}),Bx=Fx,$=function(e,t){var a=arguments;if(t==null||!ir.call(t,"css"))return ie.createElement.apply(void 0,a);var i=a.length,r=new Array(i);r[0]=Bx,r[1]=Ex(e,t);for(var n=2;n<i;n++)r[n]=a[n];return ie.createElement.apply(null,r)};(function(s){var e;e||(e=s.JSX||(s.JSX={}))})($||($={}));function sr(){for(var s=arguments.length,e=new Array(s),t=0;t<s;t++)e[t]=arguments[t];return Qo(e)}function Nx(){var s=sr.apply(void 0,arguments),e="animation-"+s.name;return{name:e,styles:"@keyframes "+e+"{"+s.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Vx(s,e){return e||(e=s.slice(0)),Object.freeze(Object.defineProperties(s,{raw:{value:Object.freeze(e)}}))}const Xx=Math.min,Yx=Math.max,si=Math.round,Ha=Math.floor,ri=s=>({x:s,y:s});function Wx(s){const{x:e,y:t,width:a,height:i}=s;return{width:a,height:i,top:t,left:e,right:e+a,bottom:t+i,x:e,y:t}}function xi(){return typeof window<"u"}function tl(s){return il(s)?(s.nodeName||"").toLowerCase():"#document"}function ht(s){var e;return(s==null||(e=s.ownerDocument)==null?void 0:e.defaultView)||window}function al(s){var e;return(e=(il(s)?s.ownerDocument:s.document)||window.document)==null?void 0:e.documentElement}function il(s){return xi()?s instanceof Node||s instanceof ht(s).Node:!1}function Gx(s){return xi()?s instanceof Element||s instanceof ht(s).Element:!1}function rr(s){return xi()?s instanceof HTMLElement||s instanceof ht(s).HTMLElement:!1}function en(s){return!xi()||typeof ShadowRoot>"u"?!1:s instanceof ShadowRoot||s instanceof ht(s).ShadowRoot}const $x=new Set(["inline","contents"]);function sl(s){const{overflow:e,overflowX:t,overflowY:a,display:i}=nr(s);return/auto|scroll|overlay|hidden|clip/.test(e+a+t)&&!$x.has(i)}function Ux(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const qx=new Set(["html","body","#document"]);function Zx(s){return qx.has(tl(s))}function nr(s){return ht(s).getComputedStyle(s)}function Kx(s){if(tl(s)==="html")return s;const e=s.assignedSlot||s.parentNode||en(s)&&s.host||al(s);return en(e)?e.host:e}function rl(s){const e=Kx(s);return Zx(e)?s.ownerDocument?s.ownerDocument.body:s.body:rr(e)&&sl(e)?e:rl(e)}function ni(s,e,t){var a;e===void 0&&(e=[]),t===void 0&&(t=!0);const i=rl(s),r=i===((a=s.ownerDocument)==null?void 0:a.body),n=ht(i);if(r){const o=Ls(n);return e.concat(n,n.visualViewport||[],sl(i)?i:[],o&&t?ni(o):[])}return e.concat(i,ni(i,[],t))}function Ls(s){return s.parent&&Object.getPrototypeOf(s.parent)?s.frameElement:null}function Jx(s){const e=nr(s);let t=parseFloat(e.width)||0,a=parseFloat(e.height)||0;const i=rr(s),r=i?s.offsetWidth:t,n=i?s.offsetHeight:a,o=si(t)!==r||si(a)!==n;return o&&(t=r,a=n),{width:t,height:a,$:o}}function or(s){return Gx(s)?s:s.contextElement}function tn(s){const e=or(s);if(!rr(e))return ri(1);const t=e.getBoundingClientRect(),{width:a,height:i,$:r}=Jx(e);let n=(r?si(t.width):t.width)/a,o=(r?si(t.height):t.height)/i;return(!n||!Number.isFinite(n))&&(n=1),(!o||!Number.isFinite(o))&&(o=1),{x:n,y:o}}const Qx=ri(0);function em(s){const e=ht(s);return!Ux()||!e.visualViewport?Qx:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function tm(s,e,t){return!1}function an(s,e,t,a){e===void 0&&(e=!1);const i=s.getBoundingClientRect(),r=or(s);let n=ri(1);e&&(n=tn(s));const o=tm()?em(r):ri(0);let l=(i.left+o.x)/n.x,c=(i.top+o.y)/n.y,h=i.width/n.x,d=i.height/n.y;if(r){const u=ht(r),g=a;let p=u,f=Ls(p);for(;f&&a&&g!==p;){const m=tn(f),v=f.getBoundingClientRect(),b=nr(f),w=v.left+(f.clientLeft+parseFloat(b.paddingLeft))*m.x,k=v.top+(f.clientTop+parseFloat(b.paddingTop))*m.y;l*=m.x,c*=m.y,h*=m.x,d*=m.y,l+=w,c+=k,p=ht(f),f=Ls(p)}}return Wx({width:h,height:d,x:l,y:c})}function nl(s,e){return s.x===e.x&&s.y===e.y&&s.width===e.width&&s.height===e.height}function am(s,e){let t=null,a;const i=al(s);function r(){var o;clearTimeout(a),(o=t)==null||o.disconnect(),t=null}function n(o,l){o===void 0&&(o=!1),l===void 0&&(l=1),r();const c=s.getBoundingClientRect(),{left:h,top:d,width:u,height:g}=c;if(o||e(),!u||!g)return;const p=Ha(d),f=Ha(i.clientWidth-(h+u)),m=Ha(i.clientHeight-(d+g)),v=Ha(h),w={rootMargin:-p+"px "+-f+"px "+-m+"px "+-v+"px",threshold:Yx(0,Xx(1,l))||1};let k=!0;function y(A){const C=A[0].intersectionRatio;if(C!==l){if(!k)return n();C?n(!1,C):a=setTimeout(()=>{n(!1,1e-7)},1e3)}C===1&&!nl(c,s.getBoundingClientRect())&&n(),k=!1}try{t=new IntersectionObserver(y,{...w,root:i.ownerDocument})}catch{t=new IntersectionObserver(y,w)}t.observe(s)}return n(!0),r}function im(s,e,t,a){a===void 0&&(a={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:n=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:l=!1}=a,c=or(s),h=i||r?[...c?ni(c):[],...ni(e)]:[];h.forEach(v=>{i&&v.addEventListener("scroll",t,{passive:!0}),r&&v.addEventListener("resize",t)});const d=c&&o?am(c,t):null;let u=-1,g=null;n&&(g=new ResizeObserver(v=>{let[b]=v;b&&b.target===c&&g&&(g.unobserve(e),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(e)})),t()}),c&&!l&&g.observe(c),g.observe(e));let p,f=l?an(s):null;l&&m();function m(){const v=an(s);f&&!nl(f,v)&&t(),f=v,p=requestAnimationFrame(m)}return t(),()=>{var v;h.forEach(b=>{i&&b.removeEventListener("scroll",t),r&&b.removeEventListener("resize",t)}),d?.(),(v=g)==null||v.disconnect(),g=null,l&&cancelAnimationFrame(p)}}var Rs=z.useLayoutEffect,sm=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],oi=function(){};function rm(s,e){return e?e[0]==="-"?s+e:s+"__"+e:s}function nm(s,e){for(var t=arguments.length,a=new Array(t>2?t-2:0),i=2;i<t;i++)a[i-2]=arguments[i];var r=[].concat(a);if(e&&s)for(var n in e)e.hasOwnProperty(n)&&e[n]&&r.push("".concat(rm(s,n)));return r.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var sn=function(e){return pm(e)?e.filter(Boolean):Tt(e)==="object"&&e!==null?[e]:[]},ol=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=ut(e,sm);return Z({},t)},Se=function(e,t,a){var i=e.cx,r=e.getStyles,n=e.getClassNames,o=e.className;return{css:r(t,e),className:i(a??{},n(t,e),o)}};function mi(s){return[document.documentElement,document.body,window].indexOf(s)>-1}function om(s){return mi(s)?window.innerHeight:s.clientHeight}function ll(s){return mi(s)?window.pageYOffset:s.scrollTop}function li(s,e){if(mi(s)){window.scrollTo(0,e);return}s.scrollTop=e}function lm(s){var e=getComputedStyle(s),t=e.position==="absolute",a=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var i=s;i=i.parentElement;)if(e=getComputedStyle(i),!(t&&e.position==="static")&&a.test(e.overflow+e.overflowY+e.overflowX))return i;return document.documentElement}function cm(s,e,t,a){return t*((s=s/a-1)*s*s+1)+e}function Ta(s,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:oi,i=ll(s),r=e-i,n=10,o=0;function l(){o+=n;var c=cm(o,i,r,t);li(s,c),o<t?window.requestAnimationFrame(l):a(s)}l()}function rn(s,e){var t=s.getBoundingClientRect(),a=e.getBoundingClientRect(),i=e.offsetHeight/3;a.bottom+i>t.bottom?li(s,Math.min(e.offsetTop+e.clientHeight-s.offsetHeight+i,s.scrollHeight)):a.top-i<t.top&&li(s,Math.max(e.offsetTop-i,0))}function hm(s){var e=s.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function nn(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function dm(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var cl=!1,um={get passive(){return cl=!0}},ja=typeof window<"u"?window:{};ja.addEventListener&&ja.removeEventListener&&(ja.addEventListener("p",oi,um),ja.removeEventListener("p",oi,!1));var gm=cl;function fm(s){return s!=null}function pm(s){return Array.isArray(s)}function Ea(s,e,t){return s?e:t}var xm=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];var r=Object.entries(e).filter(function(n){var o=ct(n,1),l=o[0];return!a.includes(l)});return r.reduce(function(n,o){var l=ct(o,2),c=l[0],h=l[1];return n[c]=h,n},{})},mm=["children","innerProps"],vm=["children","innerProps"];function bm(s){var e=s.maxHeight,t=s.menuEl,a=s.minHeight,i=s.placement,r=s.shouldScroll,n=s.isFixedPosition,o=s.controlHeight,l=lm(t),c={placement:"bottom",maxHeight:e};if(!t||!t.offsetParent)return c;var h=l.getBoundingClientRect(),d=h.height,u=t.getBoundingClientRect(),g=u.bottom,p=u.height,f=u.top,m=t.offsetParent.getBoundingClientRect(),v=m.top,b=n?window.innerHeight:om(l),w=ll(l),k=parseInt(getComputedStyle(t).marginBottom,10),y=parseInt(getComputedStyle(t).marginTop,10),A=v-y,C=b-f,S=A+w,M=d-w-f,I=g-b+w+k,R=w+f-y,P=160;switch(i){case"auto":case"bottom":if(C>=p)return{placement:"bottom",maxHeight:e};if(M>=p&&!n)return r&&Ta(l,I,P),{placement:"bottom",maxHeight:e};if(!n&&M>=a||n&&C>=a){r&&Ta(l,I,P);var _=n?C-k:M-k;return{placement:"bottom",maxHeight:_}}if(i==="auto"||n){var O=e,H=n?A:S;return H>=a&&(O=Math.min(H-k-o,e)),{placement:"top",maxHeight:O}}if(i==="bottom")return r&&li(l,I),{placement:"bottom",maxHeight:e};break;case"top":if(A>=p)return{placement:"top",maxHeight:e};if(S>=p&&!n)return r&&Ta(l,R,P),{placement:"top",maxHeight:e};if(!n&&S>=a||n&&A>=a){var T=e;return(!n&&S>=a||n&&A>=a)&&(T=n?A-y:S-y),r&&Ta(l,R,P),{placement:"top",maxHeight:T}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}function ym(s){var e={bottom:"top",top:"bottom"};return s?e[s]:"bottom"}var hl=function(e){return e==="auto"?"bottom":e},wm=function(e,t){var a,i=e.placement,r=e.theme,n=r.borderRadius,o=r.spacing,l=r.colors;return Z((a={label:"menu"},na(a,ym(i),"100%"),na(a,"position","absolute"),na(a,"width","100%"),na(a,"zIndex",1),a),t?{}:{backgroundColor:l.neutral0,borderRadius:n,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:o.menuGutter,marginTop:o.menuGutter})},dl=z.createContext(null),Cm=function(e){var t=e.children,a=e.minMenuHeight,i=e.maxMenuHeight,r=e.menuPlacement,n=e.menuPosition,o=e.menuShouldScrollIntoView,l=e.theme,c=z.useContext(dl)||{},h=c.setPortalPlacement,d=z.useRef(null),u=z.useState(i),g=ct(u,2),p=g[0],f=g[1],m=z.useState(null),v=ct(m,2),b=v[0],w=v[1],k=l.spacing.controlHeight;return Rs(function(){var y=d.current;if(y){var A=n==="fixed",C=o&&!A,S=bm({maxHeight:i,menuEl:y,minHeight:a,placement:r,shouldScroll:C,isFixedPosition:A,controlHeight:k});f(S.maxHeight),w(S.placement),h?.(S.placement)}},[i,r,n,o,a,h,k]),t({ref:d,placerProps:Z(Z({},e),{},{placement:b||hl(r),maxHeight:p})})},km=function(e){var t=e.children,a=e.innerRef,i=e.innerProps;return $("div",K({},Se(e,"menu",{menu:!0}),{ref:a},i),t)},Am=km,Sm=function(e,t){var a=e.maxHeight,i=e.theme.spacing.baseUnit;return Z({maxHeight:a,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:i,paddingTop:i})},Mm=function(e){var t=e.children,a=e.innerProps,i=e.innerRef,r=e.isMulti;return $("div",K({},Se(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:i},a),t)},ul=function(e,t){var a=e.theme,i=a.spacing.baseUnit,r=a.colors;return Z({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},Im=ul,Lm=ul,Rm=function(e){var t=e.children,a=t===void 0?"No options":t,i=e.innerProps,r=ut(e,mm);return $("div",K({},Se(Z(Z({},r),{},{children:a,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),a)},_m=function(e){var t=e.children,a=t===void 0?"Loading...":t,i=e.innerProps,r=ut(e,vm);return $("div",K({},Se(Z(Z({},r),{},{children:a,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),a)},Pm=function(e){var t=e.rect,a=e.offset,i=e.position;return{left:t.left,position:i,top:a,width:t.width,zIndex:1}},zm=function(e){var t=e.appendTo,a=e.children,i=e.controlElement,r=e.innerProps,n=e.menuPlacement,o=e.menuPosition,l=z.useRef(null),c=z.useRef(null),h=z.useState(hl(n)),d=ct(h,2),u=d[0],g=d[1],p=z.useMemo(function(){return{setPortalPlacement:g}},[]),f=z.useState(null),m=ct(f,2),v=m[0],b=m[1],w=z.useCallback(function(){if(i){var C=hm(i),S=o==="fixed"?0:window.pageYOffset,M=C[u]+S;(M!==v?.offset||C.left!==v?.rect.left||C.width!==v?.rect.width)&&b({offset:M,rect:C})}},[i,o,u,v?.offset,v?.rect.left,v?.rect.width]);Rs(function(){w()},[w]);var k=z.useCallback(function(){typeof c.current=="function"&&(c.current(),c.current=null),i&&l.current&&(c.current=im(i,l.current,w,{elementResize:"ResizeObserver"in window}))},[i,w]);Rs(function(){k()},[k]);var y=z.useCallback(function(C){l.current=C,k()},[k]);if(!t&&o!=="fixed"||!v)return null;var A=$("div",K({ref:y},Se(Z(Z({},e),{},{offset:v.offset,position:o,rect:v.rect}),"menuPortal",{"menu-portal":!0}),r),a);return $(dl.Provider,{value:p},t?Ps.createPortal(A,t):A)},Om=function(e){var t=e.isDisabled,a=e.isRtl;return{label:"container",direction:a?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},Hm=function(e){var t=e.children,a=e.innerProps,i=e.isDisabled,r=e.isRtl;return $("div",K({},Se(e,"container",{"--is-disabled":i,"--is-rtl":r}),a),t)},Tm=function(e,t){var a=e.theme.spacing,i=e.isMulti,r=e.hasValue,n=e.selectProps.controlShouldRenderValue;return Z({alignItems:"center",display:i&&r&&n?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(a.baseUnit/2,"px ").concat(a.baseUnit*2,"px")})},jm=function(e){var t=e.children,a=e.innerProps,i=e.isMulti,r=e.hasValue;return $("div",K({},Se(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":r}),a),t)},Em=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Dm=function(e){var t=e.children,a=e.innerProps;return $("div",K({},Se(e,"indicatorsContainer",{indicators:!0}),a),t)},on,Fm=["size"],Bm=["innerProps","isRtl","size"],Nm={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},gl=function(e){var t=e.size,a=ut(e,Fm);return $("svg",K({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Nm},a))},lr=function(e){return $(gl,K({size:20},e),$("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},fl=function(e){return $(gl,K({size:20},e),$("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},pl=function(e,t){var a=e.isFocused,i=e.theme,r=i.spacing.baseUnit,n=i.colors;return Z({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:a?n.neutral60:n.neutral20,padding:r*2,":hover":{color:a?n.neutral80:n.neutral40}})},Vm=pl,Xm=function(e){var t=e.children,a=e.innerProps;return $("div",K({},Se(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),a),t||$(fl,null))},Ym=pl,Wm=function(e){var t=e.children,a=e.innerProps;return $("div",K({},Se(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),a),t||$(lr,null))},Gm=function(e,t){var a=e.isDisabled,i=e.theme,r=i.spacing.baseUnit,n=i.colors;return Z({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:a?n.neutral10:n.neutral20,marginBottom:r*2,marginTop:r*2})},$m=function(e){var t=e.innerProps;return $("span",K({},t,Se(e,"indicatorSeparator",{"indicator-separator":!0})))},Um=Nx(on||(on=Vx([`
|
|
954
|
+
`}},legend:{show:!0,labels:{colors:a.textSecondary}},grid:{strokeDashArray:4,borderColor:a.border}}),[i,n,t,a]);return x.jsx(Gs,{options:h,series:c,type:"line",height:e})}const qd=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m9 6.505-1.94 5.494A1.5 1.5 0 0 1 5.647 13H3a1 1 0 1 1 0-2h2.292l2.53-7.165c.392-1.112 1.964-1.112 2.357 0L15 17.495l1.94-5.494c.21-.6.778-1.001 1.414-1.001H21a1 1 0 1 1 0 2h-2.293l-2.528 7.165c-.393 1.112-1.965 1.112-2.358 0z",clipRule:"evenodd"})}),Mo=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 6a1 1 0 0 1 1 1v7a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M13 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),Io=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 6a1 1 0 0 1 1 1v7a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M13 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.98 2.879A3 3 0 0 1 9.1 2h5.8a3 3 0 0 1 2.12.879l4.101 4.1A3 3 0 0 1 22 9.101v5.798a3 3 0 0 1-.879 2.122l-4.1 4.1a3 3 0 0 1-2.122.879H9.102a3 3 0 0 1-2.122-.879l-4.1-4.1A3 3 0 0 1 2 14.899V9.102a3 3 0 0 1 .879-2.122zM9.1 4h5.8a1 1 0 0 1 .707.293l4.1 4.1A1 1 0 0 1 20 9.1v5.8a1 1 0 0 1-.293.707l-4.1 4.1A1 1 0 0 1 14.9 20H9.1a1 1 0 0 1-.707-.293l-4.1-4.1A1 1 0 0 1 4 14.9V9.1a1 1 0 0 1 .293-.707l4.1-4.1A1 1 0 0 1 9.1 4",clipRule:"evenodd"})]}),Zd=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M3 7a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M6 17a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1M8 11a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2z"})}),Kd=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M3 7a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M3 17a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M4 11a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2z"})}),Jd=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M3 7a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M7 17a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1M12 11a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2z"})}),Qd=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"m13 16.586 4.293-4.293a1 1 0 0 1 1.414 1.414l-6.353 6.354a.5.5 0 0 1-.708 0l-6.353-6.354a1 1 0 1 1 1.414-1.414L11 16.586V5a1 1 0 1 1 2 0z"})}),eu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M8.05 14.536V8.464a1 1 0 1 0-2 0v8.986a.5.5 0 0 0 .5.5h8.985a1 1 0 1 0 0-2h-6.07l8.192-8.193a1 1 0 0 0-1.414-1.414z"})}),tu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M17.95 17.45a.5.5 0 0 1-.5.5H8.465a1 1 0 1 1 0-2h6.07L6.344 7.757a1 1 0 1 1 1.414-1.414l8.193 8.193V8.464a1 1 0 1 1 2 0z"})}),au=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M11.707 6.707a1 1 0 0 0-1.414-1.414l-5.995 5.995-.01.01-.349.348a.5.5 0 0 0 0 .708l.35.349.009.009 5.995 5.995a1 1 0 0 0 1.414-1.414L7.414 13H19a1 1 0 1 0 0-2H7.414z"})}),iu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M12.293 6.707a1 1 0 1 1 1.414-1.414l5.996 5.995.009.01.349.348a.5.5 0 0 1 0 .708l-.35.349-.008.009-5.996 5.995a1 1 0 0 1-1.414-1.414L16.586 13H5a1 1 0 1 1 0-2h11.586z"})}),su=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M6.707 11.707a1 1 0 0 1-1.414-1.414l6.353-6.354a.5.5 0 0 1 .708 0l6.353 6.354a1 1 0 0 1-1.414 1.414L13 7.414V19a1 1 0 1 1-2 0V7.414z"})}),ru=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M6.05 6.55a.5.5 0 0 1 .5-.5h8.985a1 1 0 1 1 0 2h-6.07l8.192 8.193a1 1 0 0 1-1.414 1.414L8.05 9.464v6.072a1 1 0 1 1-2 0z"})}),nu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M15.95 9.464v6.072a1 1 0 1 0 2 0V6.55a.5.5 0 0 0-.5-.5H8.465a1 1 0 1 0 0 2h6.07l-8.192 8.193a1 1 0 1 0 1.414 1.414z"})}),ou=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.967 10.448a1 1 0 1 0-1.434-1.395l-3.26 3.349-1.397-1.121a1 1 0 1 0-1.251 1.56l2.46 1.973a.5.5 0 0 0 .672-.041z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.61 2.345a2 2 0 0 1 2.78 0l1.33 1.286 1.83-.26a2 2 0 0 1 2.25 1.636l.32 1.82 1.632.867a2 2 0 0 1 .86 2.645L20.8 12l.812 1.661a2 2 0 0 1-.86 2.645l-1.633.866-.32 1.822a2 2 0 0 1-2.25 1.634l-1.83-.259-1.328 1.286a2 2 0 0 1-2.782 0l-1.328-1.286-1.831.26a2 2 0 0 1-2.25-1.636l-.32-1.82-1.633-.867a2 2 0 0 1-.859-2.645L3.2 12l-.812-1.66a2 2 0 0 1 .86-2.646l1.633-.867.319-1.82a2 2 0 0 1 2.25-1.635l1.83.259zM12 3.783l2.031 1.965 2.799-.396.488 2.784 2.497 1.325L18.574 12l1.241 2.54-2.497 1.324-.488 2.784-2.799-.396L12 20.217l-2.031-1.965-2.8.396-.487-2.784-2.497-1.325L5.426 12 4.185 9.46l2.497-1.324.488-2.784 2.799.396z",clipRule:"evenodd"})]}),lu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"m10.707 14.707 4-4a1 1 0 0 0-1.414-1.414l-4 4a1 1 0 1 0 1.414 1.414M9 10a1 1 0 1 0 2 0 1 1 0 0 0-2 0M15 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.61 2.345a2 2 0 0 1 2.78 0l1.33 1.286 1.83-.26a2 2 0 0 1 2.25 1.636l.32 1.82 1.632.867a2 2 0 0 1 .86 2.645L20.8 12l.812 1.661a2 2 0 0 1-.86 2.645l-1.633.866-.32 1.822a2 2 0 0 1-2.25 1.634l-1.83-.259-1.328 1.286a2 2 0 0 1-2.782 0l-1.328-1.286-1.831.26a2 2 0 0 1-2.25-1.636l-.32-1.82-1.633-.867a2 2 0 0 1-.859-2.645L3.2 12l-.812-1.66a2 2 0 0 1 .86-2.646l1.633-.867.319-1.82a2 2 0 0 1 2.25-1.635l1.83.259zM12 3.783l2.031 1.965 2.799-.396.488 2.784 2.497 1.325L18.574 12l1.241 2.54-2.497 1.324-.488 2.784-2.799-.396L12 20.217l-2.031-1.965-2.8.396-.487-2.784-2.497-1.325L5.426 12 4.185 9.46l2.497-1.324.488-2.784 2.799.396z",clipRule:"evenodd"})]}),cu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.031 5.748 12 3.783 9.969 5.748l-2.8-.396-.487 2.784-2.497 1.325L5.426 12l-1.241 2.54 2.497 1.324.488 2.784 2.799-.396 2.03 1.965 2.032-1.965 2.799.396.488-2.784 2.497-1.325L18.574 12l1.241-2.54-2.497-1.324-.488-2.784zm-.64-3.403a2 2 0 0 0-2.782 0L9.281 3.631 7.45 3.37A2 2 0 0 0 5.2 5.008l-.32 1.82-1.633.867a2 2 0 0 0-.859 2.645L3.2 12l-.812 1.661a2 2 0 0 0 .86 2.645l1.633.866.319 1.822a2 2 0 0 0 2.25 1.634l1.83-.259 1.33 1.286a2 2 0 0 0 2.78 0l1.33-1.286 1.83.26a2 2 0 0 0 2.25-1.636l.32-1.82 1.632-.867a2 2 0 0 0 .86-2.645L20.8 12l.812-1.66a2 2 0 0 0-.86-2.646l-1.633-.867-.32-1.82a2 2 0 0 0-2.25-1.635l-1.83.259z",clipRule:"evenodd"})}),hu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M20.5 4a1 1 0 1 0-2 0v16a1 1 0 1 0 2 0zM14.5 7a1 1 0 0 1 1 1v12a1 1 0 1 1-2 0V8a1 1 0 0 1 1-1M10.5 11a1 1 0 1 0-2 0v9a1 1 0 1 0 2 0zM5.5 15a1 1 0 1 0-2 0v5a1 1 0 1 0 2 0z"})}),Lo=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M10.5 4a1 1 0 1 0-2 0v16a1 1 0 1 0 2 0zM5.5 12a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0zM14.5 6a1 1 0 0 1 1 1v13a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1M20.5 10a1 1 0 1 0-2 0v10a1 1 0 1 0 2 0z"})}),du=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8 10.5a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1M17 11.5a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0zM12 10.5a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.29 3.886a1 1 0 0 1-.176 1.403L8.914 7h6.171l-2.199-1.71a1 1 0 0 1 1.228-1.58L18.344 7H21a1 1 0 1 1 0 2h-.16q0 .076-.006.153l-.62 8.077A3 3 0 0 1 17.221 20H6.778a3 3 0 0 1-2.991-2.77l-.621-8.077A2 2 0 0 1 3.16 9H3a1 1 0 0 1 0-2h2.657l4.23-3.29a1 1 0 0 1 1.402.176M17.99 9h.849l-.621 8.077a1 1 0 0 1-.997.923H6.778a1 1 0 0 1-.997-.923L5.16 9z",clipRule:"evenodd"})]}),uu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 12.5a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.114 5.29a1 1 0 1 0-1.228-1.58L5.656 7H3a1 1 0 0 0 0 2h.16q0 .076.006.153l.62 8.077A3 3 0 0 0 6.779 20h10.444a3 3 0 0 0 2.991-2.77l.621-8.077q.006-.077.006-.153H21a1 1 0 1 0 0-2h-2.657l-4.23-3.29a1 1 0 1 0-1.227 1.58l2.2 1.71H8.915zM5.16 9l.621 8.077a1 1 0 0 0 .997.923h10.444a1 1 0 0 0 .997-.923L18.84 9z",clipRule:"evenodd"})]}),gu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 10a1 1 0 0 1 1 1v1.5h1.5a1 1 0 1 1 0 2H13V16a1 1 0 1 1-2 0v-1.5H9.5a1 1 0 1 1 0-2H11V11a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.29 3.886a1 1 0 0 1-.176 1.403L8.914 7h6.172l-2.2-1.71a1 1 0 1 1 1.228-1.58L18.344 7H21a1 1 0 1 1 0 2h-.16q0 .076-.006.153l-.62 8.077A3 3 0 0 1 17.221 20H6.778a3 3 0 0 1-2.991-2.77l-.621-8.077A2 2 0 0 1 3.16 9H3a1 1 0 1 1 0-2h2.657l4.23-3.29a1 1 0 0 1 1.402.176M18.84 9l-.621 8.077a1 1 0 0 1-.997.923H6.778a1 1 0 0 1-.997-.923L5.16 9z",clipRule:"evenodd"})]}),fu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 3.12c0-.935 1.131-1.403 1.793-.742l4.379 4.38c.41.41.41 1.074 0 1.484L13.414 12l3.758 3.758c.41.41.41 1.074 0 1.485l-4.38 4.379c-.661.661-1.792.193-1.792-.743v-6.465l-2.793 2.793a1 1 0 0 1-1.414-1.414L10.586 12 6.793 8.207a1 1 0 0 1 1.414-1.414L11 9.586zm2 11.294 2.086 2.086L13 18.586zm0-4.828V5.414L15.086 7.5z",clipRule:"evenodd"})}),pu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 4H8a1 1 0 0 0-1 1v14.385l3.61-2.836a2.25 2.25 0 0 1 2.78 0L17 19.385V5a1 1 0 0 0-1-1M8 2a3 3 0 0 0-3 3v15.414c0 1.252 1.443 1.953 2.427 1.18l4.419-3.473a.25.25 0 0 1 .309 0l4.418 3.472c.985.774 2.427.073 2.427-1.18V5a3 3 0 0 0-3-3z",clipRule:"evenodd"})}),xu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 9a1 1 0 0 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 5a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v15.414c0 1.252-1.442 1.953-2.427 1.18l-4.418-3.473a.25.25 0 0 0-.31 0l-4.418 3.472c-.984.774-2.427.073-2.427-1.18zm3-1h8a1 1 0 0 1 1 1v14.385l-3.61-2.836a2.25 2.25 0 0 0-2.78 0L7 19.385V5a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),mu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 6.5a1 1 0 0 1 1 1V9h1.5a1 1 0 1 1 0 2H13v1.5a1 1 0 1 1-2 0V11H9.5a1 1 0 1 1 0-2H11V7.5a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 2a3 3 0 0 0-3 3v15.414c0 1.252 1.443 1.953 2.427 1.18l4.419-3.473a.25.25 0 0 1 .309 0l4.418 3.472c.985.774 2.427.073 2.427-1.18V5a3 3 0 0 0-3-3zm8 2H8a1 1 0 0 0-1 1v14.385l3.61-2.836a2.25 2.25 0 0 1 2.78 0L17 19.385V5a1 1 0 0 0-1-1",clipRule:"evenodd"})]}),vu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10 10.5a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a2 2 0 0 0 1.5 1.937V19a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2V8.937A2 2 0 0 0 22 7V5a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2zm18-2H4v2h16zM5.5 19V9h13v10z",clipRule:"evenodd"})]}),bu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 7.022V16.9l.001.048a1 1 0 0 0 .552.946l7.552 3.777c.2.1.413.164.629.193a1 1 0 0 0 .532 0c.216-.029.429-.093.628-.193l7.553-3.777a1 1 0 0 0 .552-.946L21 16.9V7a1 1 0 0 0-.225-.632 1 1 0 0 0-.348-.273L12.894 2.33a2 2 0 0 0-1.789 0L3.573 6.095A1 1 0 0 0 3 7zm10 12.36 6-3V8.618l-6 3zm-2-7.764-6-3v7.764l6 3zm1-1.736L6.236 7 12 4.118 17.764 7z",clipRule:"evenodd"})}),yu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M7 5h2v2H7zM9 9H7v2h2zM7 13h2v2H7zM13 5h-2v2h2zM17 13h-2v2h2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18 9h-1V5a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3M6 4h8a1 1 0 0 1 1 1v4h-1a3 3 0 0 0-3 3v7c0 .35.06.687.17 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m12 16h-4a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1",clipRule:"evenodd"})]}),wu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9 5h2v2H9zM11 9H9v2h2zM15 9h-2v2h2zM11 13H9v2h2zM13 13h2v2h-2zM15 5h-2v2h2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3zm8 2H8a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1",clipRule:"evenodd"})]}),Cu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 3a1 1 0 0 0-2 0H6a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-1a1 1 0 1 0-2 0zm10 4V6a1 1 0 0 0-1-1h-1a1 1 0 1 1-2 0H9a1 1 0 0 1-2 0H6a1 1 0 0 0-1 1v1zM5 9v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9z",clipRule:"evenodd"})}),ku=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.967 12.698a1 1 0 1 0-1.434-1.396l-3.26 3.35-1.397-1.121a1 1 0 1 0-1.251 1.56l2.46 1.973a.5.5 0 0 0 .672-.041z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 2a1 1 0 0 1 1 1h6a1 1 0 1 1 2 0h1a3 3 0 0 1 3 3v13a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h1a1 1 0 0 1 1-1m11 4v1H5V6a1 1 0 0 1 1-1h1a1 1 0 0 0 2 0h6a1 1 0 1 0 2 0h1a1 1 0 0 1 1 1M5 19V9h14v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),Au=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M6 11a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1M10.5 11a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2h-1a1 1 0 0 1-1-1M16 10a1 1 0 1 0 0 2h1a1 1 0 1 0 0-2zM6 14.5a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1M11.5 13.5a1 1 0 1 0 0 2h1a1 1 0 1 0 0-2zM15 14.5a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2h-1a1 1 0 0 1-1-1M7 17a1 1 0 1 0 0 2h1a1 1 0 1 0 0-2zM10.5 18a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2h-1a1 1 0 0 1-1-1M16 17a1 1 0 1 0 0 2h1a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 3a1 1 0 0 0-2 0H6a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-1a1 1 0 1 0-2 0zm10 4V6a1 1 0 0 0-1-1h-1a1 1 0 1 1-2 0H9a1 1 0 0 1-2 0H6a1 1 0 0 0-1 1v1zM5 9v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9z",clipRule:"evenodd"})]}),Su=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 13.5a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 2a1 1 0 0 1 1 1h6a1 1 0 1 1 2 0h1a3 3 0 0 1 3 3v13a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h1a1 1 0 0 1 1-1m11 4v1H5V6a1 1 0 0 1 1-1h1a1 1 0 0 0 2 0h6a1 1 0 1 0 2 0h1a1 1 0 0 1 1 1M5 19V9h14v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),Mu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 11a1 1 0 0 1 1 1v1.5h1.5a1 1 0 1 1 0 2H13V17a1 1 0 1 1-2 0v-1.5H9.5a1 1 0 1 1 0-2H11V12a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 3a1 1 0 0 0-2 0H6a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-1a1 1 0 1 0-2 0zm10 4V6a1 1 0 0 0-1-1h-1a1 1 0 1 1-2 0H9a1 1 0 0 1-2 0H6a1 1 0 0 0-1 1v1zM5 9v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9z",clipRule:"evenodd"})]}),Iu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.525 12.025a1 1 0 0 1 1.414 0L12 13.085l1.06-1.06a1 1 0 0 1 1.415 1.414l-1.06 1.061 1.06 1.06a1 1 0 0 1-1.414 1.415L12 15.915l-1.06 1.06a1 1 0 0 1-1.415-1.414l1.06-1.061-1.06-1.06a1 1 0 0 1 0-1.415"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 3a1 1 0 0 0-2 0H6a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-1a1 1 0 1 0-2 0zm10 4V6a1 1 0 0 0-1-1h-1a1 1 0 1 1-2 0H9a1 1 0 0 1-2 0H6a1 1 0 0 0-1 1v1zM5 9v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9z",clipRule:"evenodd"})]}),Lu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 12.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-2 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 5.5h2.5l.6-.8a3 3 0 0 1 2.4-1.2h3a3 3 0 0 1 2.4 1.2l.6.8H19a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3m9.3.4 1.2 1.6H19a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h3.5l1.2-1.6a1 1 0 0 1 .8-.4h3a1 1 0 0 1 .8.4",clipRule:"evenodd"})]}),Ru=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.707 2.293a1 1 0 0 0-1.414 1.414L4.195 5.61A3 3 0 0 0 2 8.5v9a3 3 0 0 0 3 3h14l.085-.001 1.208 1.208a1 1 0 0 0 1.414-1.414zM17.086 18.5l-2.752-2.751a4 4 0 0 1-5.583-5.583L6.086 7.5H5a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1zm-6.882-6.882a2 2 0 0 0 2.677 2.677z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M11.915 8.5 16 12.586 16 12.5a4 4 0 0 0-4.085-4"}),x.jsx("path",{fill:"currentColor",d:"M20 8.5v7.879a.5.5 0 0 0 .146.353l1.561 1.56c.062.063.176.046.197-.038Q22 17.89 22 17.5v-9a3 3 0 0 0-3-3h-2.5l-.6-.8a3 3 0 0 0-2.4-1.2h-3a3 3 0 0 0-2.107.865c-.178.175-.156.458.02.635l.927.926c.103.102.273.09.36-.026a1 1 0 0 1 .8-.4h3a1 1 0 0 1 .8.4l1.2 1.6H19a1 1 0 0 1 1 1"})]}),_u=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M17 14.592V16a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v.694l2.473-2.322c.958-.9 2.527-.22 2.527 1.094v8.702c0 1.365-1.675 2.02-2.601 1.018zM5 7h9a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1m12 4.646 3 3.245V8.62l-3 2.816z",clipRule:"evenodd"})}),Pu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.707 2.293a1 1 0 0 0-1.414 1.414L3.825 5.24A3 3 0 0 0 2 8v8a3 3 0 0 0 3 3h9c.978 0 1.846-.468 2.394-1.192l3.899 3.9a1 1 0 0 0 1.414-1.415zm11.23 14.058L5.586 7H5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h9a1 1 0 0 0 .937-.65M15 11.586l5.775 5.774c.136.137.342.188.507.089.417-.252.718-.703.718-1.281V7.466c0-1.314-1.569-1.993-2.527-1.094L17 8.694V8a3 3 0 0 0-3-3H9.621a.5.5 0 0 0-.353.854l1 1A.5.5 0 0 0 10.62 7H14a1 1 0 0 1 1 1zm2 .06 3 3.245V8.62l-3 2.816z",clipRule:"evenodd"})}),zu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M6.638 4.122A2 2 0 0 0 4.674 2.5H3a1 1 0 0 0 0 2h1.674l1.876 9.755a4 4 0 0 0 3.928 3.245h6.21a4 4 0 0 0 3.868-2.982l1.25-4.755A3 3 0 0 0 18.907 6H17.5a1 1 0 1 0 0 2h1.406a1 1 0 0 1 .967 1.254l-1.251 4.755a2 2 0 0 1-1.935 1.491h-6.209a2 2 0 0 1-1.964-1.622L7.384 8H10a1 1 0 1 0 0-2H7z"}),x.jsx("path",{fill:"currentColor",d:"M14.75 8.5a1 1 0 1 0-2 0V10h-1.5a1 1 0 1 0 0 2h1.5v1.5a1 1 0 1 0 2 0V12h1.5a1 1 0 1 0 0-2h-1.5zM16 20a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0M8.75 21.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})]}),Ou=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M6.638 4.122A2 2 0 0 0 4.674 2.5H3a1 1 0 0 0 0 2h1.674l1.876 9.755a4 4 0 0 0 3.928 3.245h6.21a4 4 0 0 0 3.868-2.982l1.25-4.755A3 3 0 0 0 18.907 6H17.5a1 1 0 1 0 0 2h1.406a1 1 0 0 1 .967 1.254l-1.251 4.755a2 2 0 0 1-1.935 1.491h-6.209a2 2 0 0 1-1.964-1.622L7.384 8H10a1 1 0 1 0 0-2H7zM8.75 21.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3M17.5 21.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"}),x.jsx("path",{fill:"currentColor",d:"M10.043 9.793a1 1 0 0 1 1.414 0l1.293 1.293V4a1 1 0 1 1 2 0v7.086l1.293-1.293a1 1 0 1 1 1.414 1.414l-3.353 3.354a.5.5 0 0 1-.708 0l-3.353-3.354a1 1 0 0 1 0-1.414"})]}),Hu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.638 4.122A2 2 0 0 0 4.674 2.5H3a1 1 0 0 0 0 2h1.674l1.876 9.755a4 4 0 0 0 3.928 3.245h6.21a4 4 0 0 0 3.868-2.982l1.25-4.755A3 3 0 0 0 18.907 6H6.999zM7.384 8l1.13 5.878a2 2 0 0 0 1.964 1.622h6.21a2 2 0 0 0 1.934-1.491l1.25-4.755A1 1 0 0 0 18.907 8z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M8.75 21.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3M17.5 21.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})]}),Tu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 8.5a1 1 0 0 1 1 1V11h1.5a1 1 0 1 1 0 2H13v1.5a1 1 0 1 1-2 0V13H9.5a1 1 0 1 1 0-2H11V9.5a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.17-1H19a1 1 0 0 1 1 1v.83A3 3 0 0 1 18.17 6M16.1 6H7.9A5.01 5.01 0 0 1 4 9.9v4.2A5.01 5.01 0 0 1 7.9 18h8.2a5.01 5.01 0 0 1 3.9-3.9V9.9A5.01 5.01 0 0 1 16.1 6M20 16.17A3 3 0 0 0 18.17 18H19a1 1 0 0 0 1-1zM5.83 18A3 3 0 0 0 4 16.17V17a1 1 0 0 0 1 1zM4 7.83A3 3 0 0 0 5.83 6H5a1 1 0 0 0-1 1z",clipRule:"evenodd"})]}),ju=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.967 10.448a1 1 0 1 0-1.434-1.395l-3.26 3.349-1.397-1.121a1 1 0 1 0-1.251 1.56l2.46 1.973a.5.5 0 0 0 .672-.041z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.17-1H19a1 1 0 0 1 1 1v.83A3 3 0 0 1 18.17 6M16.1 6H7.9A5.01 5.01 0 0 1 4 9.9v4.2A5.01 5.01 0 0 1 7.9 18h8.2a5.01 5.01 0 0 1 3.9-3.9V9.9A5.01 5.01 0 0 1 16.1 6M20 16.17A3 3 0 0 0 18.17 18H19a1 1 0 0 0 1-1zM5.83 18A3 3 0 0 0 4 16.17V17a1 1 0 0 0 1 1zM4 7.83A3 3 0 0 0 5.83 6H5a1 1 0 0 0-1 1z",clipRule:"evenodd"})]}),Eu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.525 9.525a1 1 0 0 1 1.414 0L12 10.585l1.06-1.06a1 1 0 1 1 1.415 1.414L13.415 12l1.06 1.06a1 1 0 0 1-1.414 1.415L12 13.415l-1.06 1.06a1 1 0 0 1-1.415-1.414L10.585 12l-1.06-1.06a1 1 0 0 1 0-1.415"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.17-1H19a1 1 0 0 1 1 1v.83A3 3 0 0 1 18.17 6M16.1 6H7.9A5.01 5.01 0 0 1 4 9.9v4.2A5.01 5.01 0 0 1 7.9 18h8.2a5.01 5.01 0 0 1 3.9-3.9V9.9A5.01 5.01 0 0 1 16.1 6M20 16.17A3 3 0 0 0 18.17 18H19a1 1 0 0 0 1-1zM5.83 18A3 3 0 0 0 4 16.17V17a1 1 0 0 0 1 1zM4 7.83A3 3 0 0 0 5.83 6H5a1 1 0 0 0-1 1z",clipRule:"evenodd"})]}),Du=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 16a4 4 0 1 0 0-8 4 4 0 0 0 0 8m0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.17-1H19a1 1 0 0 1 1 1v.83A3 3 0 0 1 18.17 6M16.1 6H7.9A5.01 5.01 0 0 1 4 9.9v4.2A5.01 5.01 0 0 1 7.9 18h8.2a5.01 5.01 0 0 1 3.9-3.9V9.9A5.01 5.01 0 0 1 16.1 6M20 16.17A3 3 0 0 0 18.17 18H19a1 1 0 0 0 1-1zM5.83 18A3 3 0 0 0 4 16.17V17a1 1 0 0 0 1 1zM4 7.83A3 3 0 0 0 5.83 6H5a1 1 0 0 0-1 1z",clipRule:"evenodd"})]}),Fu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 11a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.17-1H19a1 1 0 0 1 1 1v.83A3 3 0 0 1 18.17 6M16.1 6H7.9A5.01 5.01 0 0 1 4 9.9v4.2A5.01 5.01 0 0 1 7.9 18h8.2a5.01 5.01 0 0 1 3.9-3.9V9.9A5.01 5.01 0 0 1 16.1 6M20 16.17A3 3 0 0 0 18.17 18H19a1 1 0 0 0 1-1zM5.83 18A3 3 0 0 0 4 16.17V17a1 1 0 0 0 1 1zM4 7.83A3 3 0 0 0 5.83 6H5a1 1 0 0 0-1 1z",clipRule:"evenodd"})]}),qs=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.136 5.729a1 1 0 0 1 .135 1.407l-8.578 10.4a.5.5 0 0 1-.717.056L5.338 13.5A1 1 0 1 1 6.662 12l3.475 3.066 7.592-9.202a1 1 0 0 1 1.407-.135",clipRule:"evenodd"})}),Ro=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.707 8.293a1 1 0 0 0-1.414 0L12 13.586 6.707 8.293a1 1 0 0 0-1.414 1.414l6.353 6.354a.5.5 0 0 0 .708 0l6.353-6.354a1 1 0 0 0 0-1.414",clipRule:"evenodd"})}),_o=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.207 5.293a1 1 0 0 1 0 1.414L9.914 12l5.293 5.293a1 1 0 0 1-1.414 1.414l-6.354-6.353a.5.5 0 0 1 0-.708l6.354-6.353a1 1 0 0 1 1.414 0",clipRule:"evenodd"})}),Zs=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.793 5.293a1 1 0 0 0 0 1.414L14.086 12l-5.293 5.293a1 1 0 1 0 1.414 1.414l6.354-6.353a.5.5 0 0 0 0-.708l-6.354-6.353a1 1 0 0 0-1.414 0",clipRule:"evenodd"})}),Bu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M17.293 5.793a1 1 0 1 1 1.414 1.414l-6.353 6.354a.5.5 0 0 1-.708 0L5.293 7.207a1 1 0 0 1 1.414-1.414L12 11.086z"}),x.jsx("path",{fill:"currentColor",d:"M17.293 11.793a1 1 0 0 1 1.414 1.414l-6.353 6.354a.5.5 0 0 1-.708 0l-6.353-6.354a1 1 0 1 1 1.414-1.414L12 17.086z"})]}),Nu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12.207 6.707a1 1 0 0 0-1.414-1.414l-6.354 6.353a.5.5 0 0 0 0 .708l6.354 6.353a1 1 0 0 0 1.414-1.414L6.914 12z"}),x.jsx("path",{fill:"currentColor",d:"M18.207 6.707a1 1 0 0 0-1.414-1.414l-6.354 6.353a.5.5 0 0 0 0 .708l6.354 6.353a1 1 0 0 0 1.414-1.414L12.914 12z"})]}),Vu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M5.793 6.707a1 1 0 0 1 1.414-1.414l6.354 6.353a.5.5 0 0 1 0 .708l-6.354 6.353a1 1 0 0 1-1.414-1.414L11.086 12z"}),x.jsx("path",{fill:"currentColor",d:"M11.793 6.707a1 1 0 0 1 1.414-1.414l6.354 6.353a.5.5 0 0 1 0 .708l-6.354 6.353a1 1 0 0 1-1.414-1.414L17.086 12z"})]}),Xu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M17.293 12.207a1 1 0 0 0 1.414-1.414l-6.353-6.354a.5.5 0 0 0-.708 0l-6.353 6.354a1 1 0 1 0 1.414 1.414L12 6.914z"}),x.jsx("path",{fill:"currentColor",d:"M17.293 18.207a1 1 0 0 0 1.414-1.414l-6.353-6.354a.5.5 0 0 0-.708 0l-6.353 6.354a1 1 0 1 0 1.414 1.414L12 12.914z"})]}),Yu=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.707 15.707a1 1 0 0 1-1.414 0L12 10.414l-5.293 5.293a1 1 0 0 1-1.414-1.414l6.353-6.354a.5.5 0 0 1 .708 0l6.353 6.354a1 1 0 0 1 0 1.414",clipRule:"evenodd"})}),Wu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M7.293 11.543a1 1 0 0 1 1.414 0L11 13.836V7.75a1 1 0 1 1 2 0v6.086l2.293-2.293a1 1 0 1 1 1.414 1.414l-4.353 4.354a.5.5 0 0 1-.708 0l-4.353-4.354a1 1 0 0 1 0-1.414"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),Gu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12.457 7.293a1 1 0 0 1 0 1.414L10.164 11h6.086a1 1 0 1 1 0 2h-6.086l2.293 2.293a1 1 0 0 1-1.414 1.414l-4.354-4.353a.5.5 0 0 1 0-.708l4.354-4.353a1 1 0 0 1 1.414 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),$u=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M11.543 7.293a1 1 0 0 0 0 1.414L13.836 11H7.75a1 1 0 1 0 0 2h6.086l-2.293 2.293a1 1 0 0 0 1.414 1.414l4.354-4.353a.5.5 0 0 0 0-.708l-4.354-4.353a1 1 0 0 0-1.414 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),Uu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16.707 12.457a1 1 0 0 1-1.414 0L13 10.164v6.086a1 1 0 1 1-2 0v-6.086l-2.293 2.293a1 1 0 1 1-1.414-1.414l4.353-4.354a.5.5 0 0 1 .708 0l4.353 4.354a1 1 0 0 1 0 1.414"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),Po=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16.771 9.136a1 1 0 0 0-1.542-1.272l-4.292 5.202L9.162 11.5A1 1 0 0 0 7.838 13l2.938 2.592a.5.5 0 0 0 .716-.057z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),qu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.293 9.793a1 1 0 1 1 1.414 1.414l-4.353 4.354a.5.5 0 0 1-.708 0l-4.353-4.354a1 1 0 0 1 1.414-1.414L12 13.086z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),Zu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M14.207 8.707a1 1 0 0 0-1.414-1.414l-4.354 4.353a.5.5 0 0 0 0 .708l4.354 4.353a1 1 0 0 0 1.414-1.414L10.914 12z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),Ku=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.793 8.707a1 1 0 0 1 1.414-1.414l4.354 4.353a.5.5 0 0 1 0 .708l-4.354 4.353a1 1 0 0 1-1.414-1.414L13.086 12z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),Ju=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16.707 12.043a1 1 0 0 0-1.414 0L12 15.336l-3.293-3.293a1 1 0 1 0-1.414 1.414l4.353 4.354a.5.5 0 0 0 .708 0l4.353-4.354a1 1 0 0 0 0-1.414"}),x.jsx("path",{fill:"currentColor",d:"M15.293 7.043a1 1 0 1 1 1.414 1.414l-4.353 4.354a.5.5 0 0 1-.708 0L7.293 8.457a1 1 0 0 1 1.414-1.414L12 10.336z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),Qu=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M11.957 7.293a1 1 0 0 1 0 1.414L8.664 12l3.293 3.293a1 1 0 0 1-1.414 1.414l-4.354-4.353a.5.5 0 0 1 0-.708l4.354-4.353a1 1 0 0 1 1.414 0"}),x.jsx("path",{fill:"currentColor",d:"M16.957 8.707a1 1 0 0 0-1.414-1.414l-4.354 4.353a.5.5 0 0 0 0 .708l4.354 4.353a1 1 0 0 0 1.414-1.414L13.664 12z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),e0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12.043 7.293a1 1 0 0 0 0 1.414L15.336 12l-3.293 3.293a1 1 0 0 0 1.414 1.414l4.354-4.353a.5.5 0 0 0 0-.708l-4.354-4.353a1 1 0 0 0-1.414 0"}),x.jsx("path",{fill:"currentColor",d:"M7.043 8.707a1 1 0 0 1 1.414-1.414l4.354 4.353a.5.5 0 0 1 0 .708l-4.354 4.353a1 1 0 0 1-1.414-1.414L10.336 12z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),t0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16.707 11.957a1 1 0 0 1-1.414 0L12 8.664l-3.293 3.293a1 1 0 1 1-1.414-1.414l4.353-4.354a.5.5 0 0 1 .708 0l4.353 4.354a1 1 0 0 1 0 1.414"}),x.jsx("path",{fill:"currentColor",d:"M15.293 16.957a1 1 0 1 0 1.414-1.414l-4.353-4.354a.5.5 0 0 0-.708 0l-4.353 4.354a1 1 0 1 0 1.414 1.414L12 13.664z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),a0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.293 14.207a1 1 0 1 0 1.414-1.414l-4.353-4.354a.5.5 0 0 0-.708 0l-4.353 4.354a1 1 0 1 0 1.414 1.414L12 10.914z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),i0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 12a8 8 0 1 0 16 0 8 8 0 0 0-16 0m8-10C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2",clipRule:"evenodd"})}),s0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.536 11a1 1 0 0 1 0 2H8.464a1 1 0 1 1 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),r0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 16.535a1 1 0 0 1-1-1V13H8.464a1 1 0 1 1 0-2H11V8.465a1 1 0 0 1 2 0V11h2.536a1 1 0 1 1 0 2H13v2.535a1 1 0 0 1-1 1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),n0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8.793 15.207a1 1 0 0 1 0-1.414L10.586 12l-1.793-1.793a1 1 0 0 1 1.414-1.414L12 10.586l1.793-1.793a1 1 0 0 1 1.414 1.414L13.414 12l1.793 1.793a1 1 0 0 1-1.414 1.414L12 13.414l-1.793 1.793a1 1 0 0 1-1.414 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),o0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 10.5a1 1 0 0 1 1 1V13h1.5a1 1 0 1 1 0 2H13v1.5a1 1 0 1 1-2 0V15H9.5a1 1 0 1 1 0-2H11v-1.5a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.664 1.753a1 1 0 0 0-1.328 0l-9 8A1 1 0 0 0 3.5 11.366V18a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-6.634a1 1 0 0 0 1.164-1.613zM18.5 9.616 12 3.838 5.5 9.616V18a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2z",clipRule:"evenodd"})]}),l0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3zm2 0h4v2h-4zm6 2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2H7a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1z",clipRule:"evenodd"})}),c0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 6a1 1 0 0 1 1 1v4h2a1 1 0 1 1 0 2h-3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),h0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.5 6a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4v7a4 4 0 0 1-4 4h-1v1a4 4 0 0 1-4 4h-6a4 4 0 0 1-4-4v-7a4 4 0 0 1 4-4h1zm2 1h3a4 4 0 0 1 4 4v4h1a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-6a2 2 0 0 0-2 2zm-5 4a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2z",clipRule:"evenodd"})}),d0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"m7.414 13 3.293-3.293a1 1 0 0 0-1.414-1.414l-5.354 5.353a.5.5 0 0 0 0 .708l5.354 5.353a1 1 0 0 0 1.414-1.414L7.414 15H16a4 4 0 0 0 4-4V5a1 1 0 1 0-2 0v6a2 2 0 0 1-2 2z"})}),u0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"m16.586 13-3.293-3.293a1 1 0 0 1 1.414-1.414l5.354 5.353a.5.5 0 0 1 0 .708l-5.354 5.353a1 1 0 0 1-1.414-1.414L16.586 15H8a4 4 0 0 1-4-4V5a1 1 0 1 1 2 0v6a2 2 0 0 0 2 2z"})}),g0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"m10.703 19.712-.35.349a.5.5 0 0 1-.707 0l-.349-.35-.009-.008-4.995-4.996a1 1 0 1 1 1.414-1.414L9 16.586V8a4 4 0 0 1 4-4h6a1 1 0 1 1 0 2h-6a2 2 0 0 0-2 2v8.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4.995 4.996z"})}),f0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M5.707 10.707a1 1 0 0 1-1.414-1.414l4.995-4.996.01-.009.348-.349a.5.5 0 0 1 .708 0l.349.35.009.008 4.995 4.996a1 1 0 0 1-1.414 1.414L11 7.414V16a2 2 0 0 0 2 2h6a1 1 0 1 1 0 2h-6a4 4 0 0 1-4-4V7.414z"})}),p0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"m13.298 19.712-.01-.01-4.995-4.995a1 1 0 1 1 1.414-1.414L13 16.586V8a2 2 0 0 0-2-2H5a1 1 0 1 1 0-2h6a4 4 0 0 1 4 4v8.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4.995 4.996-.01.009-.348.349a.5.5 0 0 1-.708 0z"})}),x0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M18.293 10.707a1 1 0 0 0 1.414-1.414l-4.995-4.996-.01-.009-.348-.349a.5.5 0 0 0-.708 0l-.349.35-.009.008-4.995 4.996a1 1 0 1 0 1.414 1.414L13 7.414V16a2 2 0 0 1-2 2H5a1 1 0 1 0 0 2h6a4 4 0 0 0 4-4V7.414z"})}),m0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M10.707 5.707a1 1 0 0 0-1.414-1.414L3.939 9.646a.5.5 0 0 0 0 .708l5.354 5.353a1 1 0 0 0 1.414-1.414L7.414 11H16a2 2 0 0 1 2 2v6a1 1 0 1 0 2 0v-6a4 4 0 0 0-4-4H7.414z"})}),v0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M13.293 5.707a1 1 0 0 1 1.414-1.414l5.354 5.353a.5.5 0 0 1 0 .708l-5.354 5.353a1 1 0 0 1-1.414-1.414L16.586 11H8a2 2 0 0 0-2 2v6a1 1 0 1 1-2 0v-6a4 4 0 0 1 4-4h8.586z"})}),b0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M5 15a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm3-1h14a1 1 0 0 1 1 1v1H4V7a1 1 0 0 1 1-1m15 4v7a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-7z",clipRule:"evenodd"})]}),ks=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M18.207 16.793a1 1 0 0 1-1.414 1.414L12 13.414l-4.793 4.793a1 1 0 1 1-1.414-1.414L10.586 12 5.793 7.207a1 1 0 1 1 1.414-1.414L12 10.586l4.793-4.793a1 1 0 1 1 1.414 1.414L13.414 12z"})}),y0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 5.5A2.5 2.5 0 0 1 5.5 3h3A2.5 2.5 0 0 1 11 5.5v3A2.5 2.5 0 0 1 8.5 11h-3A2.5 2.5 0 0 1 3 8.5zM5.5 5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5M13 15.5a2.5 2.5 0 0 1 2.5-2.5h3a2.5 2.5 0 0 1 2.5 2.5v3a2.5 2.5 0 0 1-2.5 2.5h-3a2.5 2.5 0 0 1-2.5-2.5zm2.5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5M5.5 13A2.5 2.5 0 0 0 3 15.5v3A2.5 2.5 0 0 0 5.5 21h3a2.5 2.5 0 0 0 2.5-2.5v-3A2.5 2.5 0 0 0 8.5 13zm3 2h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M14.5 6a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"})]}),w0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.5 3A2.5 2.5 0 0 0 3 5.5v3A2.5 2.5 0 0 0 5.5 11h3A2.5 2.5 0 0 0 11 8.5v-3A2.5 2.5 0 0 0 8.5 3zm3 2h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5M15.5 13a2.5 2.5 0 0 0-2.5 2.5v3a2.5 2.5 0 0 0 2.5 2.5h3a2.5 2.5 0 0 0 2.5-2.5v-3a2.5 2.5 0 0 0-2.5-2.5zm0 2a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM3 15.5A2.5 2.5 0 0 1 5.5 13h3a2.5 2.5 0 0 1 2.5 2.5v3A2.5 2.5 0 0 1 8.5 21h-3A2.5 2.5 0 0 1 3 18.5zm2.5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M17 3.5a1 1 0 0 1 1 1V6h1.5a1 1 0 1 1 0 2H18v1.5a1 1 0 1 1-2 0V8h-1.5a1 1 0 1 1 0-2H16V4.5a1 1 0 0 1 1-1"})]}),C0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10.5 13a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19 18h-6v2h2a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h2v-2H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3M5 5h14a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),k0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.516 16a.5.5 0 0 0 .044.111l2.612 4.822a2.037 2.037 0 0 0 3.828-.97V16h5.278a3 3 0 0 0 2.992-3.214l-.571-8A3 3 0 0 0 17.707 2H5.5a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3zM11 19.963V14h7.278a1 1 0 0 0 .998-1.071l-.572-8A1 1 0 0 0 17.707 4H8.5v11.493l2.43 4.488q.012.018.033.019l.014-.002.012-.009.009-.012q.001 0 .002-.014M6.5 14h-1a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h1z",clipRule:"evenodd"})}),A0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 20a1 1 0 1 0 2 0v-.253a4.68 4.68 0 0 0 4.5-4.679A4.07 4.07 0 0 0 13.432 11H13V6.274a3.26 3.26 0 0 1 2.047 1.075c.367.414.948.657 1.453.432.505-.224.74-.823.424-1.276A5.26 5.26 0 0 0 13 4.265V4a1 1 0 1 0-2 0v.253a4.68 4.68 0 0 0-4.5 4.679A4.07 4.07 0 0 0 10.568 13H11v4.726a3.26 3.26 0 0 1-2.047-1.075c-.367-.414-.948-.657-1.453-.432-.505.224-.74.823-.424 1.276A5.26 5.26 0 0 0 11 19.735zm2-2.256a2.68 2.68 0 0 0 2.5-2.676A2.07 2.07 0 0 0 13.432 13H13zM11 11V6.256a2.68 2.68 0 0 0-2.5 2.676c0 1.142.926 2.068 2.068 2.068z",clipRule:"evenodd"})}),S0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M6 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4M12 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4M20 12a2 2 0 1 0-4 0 2 2 0 0 0 4 0"})}),M0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M14 6a2 2 0 1 1-4 0 2 2 0 0 1 4 0M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0M12 20a2 2 0 1 0 0-4 2 2 0 0 0 0 4"})}),I0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"m11.25 13.586-1.293-1.293a1 1 0 0 0-1.414 1.414l3.353 3.354a.5.5 0 0 0 .708 0l3.353-3.354a1 1 0 0 0-1.414-1.414l-1.293 1.293V4a1 1 0 1 0-2 0z"}),x.jsx("path",{fill:"currentColor",d:"M4 14a1 1 0 0 1 1 1v2a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-2a1 1 0 1 1 2 0v2a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4v-2a1 1 0 0 1 1-1"})]}),L0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 11a9 9 0 0 1 18 0v8a3 3 0 0 1-3 3h-1a3 3 0 0 1-3-3v-3a3 3 0 0 1 3-3h1c.35 0 .687.06 1 .17V11a7 7 0 1 0-14 0v2.17c.313-.11.65-.17 1-.17h1a3 3 0 0 1 3 3v3a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm16 5a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zM5 19v-3a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1",clipRule:"evenodd"})}),R0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3zm16.333-1H5.667l5.733 4.3a1 1 0 0 0 1.2 0zM4 7.25V17a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.25l-6.2 4.65a3 3 0 0 1-3.6 0z",clipRule:"evenodd"})}),_0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.707 7.207a1 1 0 0 1-1.414 0L13 5.914V15.5a1 1 0 1 1-2 0V5.914L9.707 7.207a1 1 0 0 1-1.414-1.414l3.353-3.354a.5.5 0 0 1 .708 0l3.353 3.354a1 1 0 0 1 0 1.414"}),x.jsx("path",{fill:"currentColor",d:"M18 8.5a4 4 0 0 1 4 4v5a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4v-5a4 4 0 0 1 4-4h2a1 1 0 1 1 0 2H6a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2h-2a1 1 0 1 1 0-2z"})]}),P0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 5c6.13 0 9.03 4.11 10.052 6.031a2.05 2.05 0 0 1 0 1.938C21.03 14.89 18.13 19 12 19s-9.03-4.11-10.052-6.031a2.05 2.05 0 0 1 0-1.938C2.97 9.11 5.87 5 12 5M6.836 8.478c-1.66 1.1-2.63 2.565-3.122 3.492l-.009.021v.018l.01.021c.492.927 1.461 2.392 3.121 3.492A6.2 6.2 0 0 1 5.75 12c0-1.306.4-2.52 1.086-3.522m10.328 7.044c1.66-1.1 2.63-2.565 3.122-3.492l.008-.021.002-.007v-.006l-.002-.005-.008-.021c-.493-.927-1.462-2.392-3.122-3.492A6.2 6.2 0 0 1 18.25 12c0 1.306-.4 2.52-1.086 3.522M7.75 12a4.25 4.25 0 1 1 8.5 0 4.25 4.25 0 0 1-8.5 0",clipRule:"evenodd"})}),z0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.707 4.293a1 1 0 0 0-1.414 1.414L5.53 6.945c-1.904 1.33-3.024 3.036-3.583 4.086a2.05 2.05 0 0 0 0 1.938C2.97 14.89 5.87 19 12 19c1.827 0 3.368-.365 4.657-.929l1.636 1.636a1 1 0 0 0 1.414-1.414zm8.507 11.335L8.372 9.786a4.25 4.25 0 0 0 5.843 5.843m2.006-3.12c-.02.163.03.328.146.444l.888.887c.252.253.678.165.773-.179A6.3 6.3 0 0 0 18.25 12c0-1.306-.4-2.52-1.086-3.522 1.66 1.1 2.63 2.565 3.122 3.492l.008.021.001.005v.013l-.01.021a10 10 0 0 1-1.736 2.357.523.523 0 0 0-.01.738l.703.702c.189.19.494.197.683.009a12 12 0 0 0 2.127-2.867 2.05 2.05 0 0 0 0-1.938C21.03 9.11 18.13 5 12 5c-.838 0-1.616.077-2.337.215-.378.072-.502.532-.23.803l1.615 1.616a.54.54 0 0 0 .444.146q.25-.03.508-.03a4.25 4.25 0 0 1 4.22 4.758m-9.384-4.03c-1.66 1.1-2.63 2.565-3.122 3.492l-.009.021v.018l.01.021c.492.927 1.461 2.392 3.121 3.492A6.2 6.2 0 0 1 5.75 12c0-1.306.4-2.52 1.086-3.522",clipRule:"evenodd"})}),O0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15.967 11.448a1 1 0 1 0-1.434-1.396l-3.26 3.35-1.398-1.121a1 1 0 1 0-1.25 1.56l2.46 1.973a.5.5 0 0 0 .672-.041z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7.243a3 3 0 0 0-.879-2.122L16.88 2.88A3 3 0 0 0 14.757 2zm0 2h7v2.9A1.1 1.1 0 0 0 15.1 8H18v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m9 .828L17.172 6H16z",clipRule:"evenodd"})]}),H0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9 7a1 1 0 0 0 0 2h2a1 1 0 1 0 0-2zM8 12a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1M9 15a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7.243a3 3 0 0 0-.879-2.122L16.88 2.88A3 3 0 0 0 14.757 2zm0 2h7v2.9A1.1 1.1 0 0 0 15.1 8H18v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m9 .828L17.172 6H16z",clipRule:"evenodd"})]}),T0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h7.757a3 3 0 0 1 2.122.879L19.12 5.12A3 3 0 0 1 20 7.243V19a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3zm10-1H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8h-2.9A1.1 1.1 0 0 1 14 6.9zm3.172 2L16 4.828V6z",clipRule:"evenodd"})}),j0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 12a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7.243a3 3 0 0 0-.879-2.122L16.88 2.88A3 3 0 0 0 14.757 2zm0 2h7v2.9A1.1 1.1 0 0 0 15.1 8H18v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m9 .828L17.172 6H16z",clipRule:"evenodd"})]}),E0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 9.5a1 1 0 0 1 1 1V12h1.5a1 1 0 1 1 0 2H13v1.5a1 1 0 1 1-2 0V14H9.5a1 1 0 1 1 0-2H11v-1.5a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h7.757a3 3 0 0 1 2.122.879L19.12 5.12A3 3 0 0 1 20 7.243V19a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3zm10-1H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8h-2.9A1.1 1.1 0 0 1 14 6.9zm3.172 2L16 4.828V6z",clipRule:"evenodd"})]}),D0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.525 10.525a1 1 0 0 1 1.414 0L12 11.585l1.06-1.06a1 1 0 0 1 1.415 1.414L13.415 13l1.06 1.06a1 1 0 0 1-1.414 1.415L12 14.415l-1.06 1.06a1 1 0 0 1-1.415-1.414L10.585 13l-1.06-1.06a1 1 0 0 1 0-1.415"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 5a3 3 0 0 1 3-3h7.757a3 3 0 0 1 2.122.879L19.12 5.12A3 3 0 0 1 20 7.243V19a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3zm10-1H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8h-2.9A1.1 1.1 0 0 1 14 6.9zm3.172 2L16 4.828V6z",clipRule:"evenodd"})]}),F0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.172 8 9.464 6.293A1 1 0 0 0 8.757 6H5a1 1 0 0 0-1 1v10.5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1zM12 6l-1.121-1.121A3 3 0 0 0 8.757 4H5a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3z",clipRule:"evenodd"})}),B0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.5 12.5a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.879 4.879 12 6h7a3 3 0 0 1 3 3v8.5a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h3.757a3 3 0 0 1 2.122.879M9.464 6.293 11.172 8H19a1 1 0 0 1 1 1v8.5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h3.757a1 1 0 0 1 .707.293",clipRule:"evenodd"})]}),N0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 20.5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h3.672a3 3 0 0 1 2.12.879L11.915 6H18a3 3 0 0 1 3 3v2.196a2 2 0 0 1 1.008 2.495l-2.026 5.5a2 2 0 0 1-1.877 1.309zM4 7a1 1 0 0 1 1-1h3.672a1 1 0 0 1 .707.293L11.086 8H18a1 1 0 0 1 1 1v2H7.328a2 2 0 0 0-1.843 1.224L4 15.75zm1.012 11.5h13.093l2.027-5.5H7.328z",clipRule:"evenodd"})}),V0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 10a1 1 0 0 1 1 1v1.5h1.5a1 1 0 1 1 0 2H13V16a1 1 0 1 1-2 0v-1.5H9.5a1 1 0 1 1 0-2H11V11a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m12 6-1.121-1.121A3 3 0 0 0 8.757 4H5a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V9a3 3 0 0 0-3-3zm-.828 2L9.464 6.293A1 1 0 0 0 8.757 6H5a1 1 0 0 0-1 1v10.5a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1z",clipRule:"evenodd"})]}),X0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-2 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m3.51 13.414.656-.394a8 8 0 0 1 0-2.04l-.654-.393a2 2 0 0 1-.685-2.745L4.02 5.857a2 2 0 0 1 2.745-.684l.654.393a8 8 0 0 1 1.419-.804V4a2 2 0 0 1 2-2h2.315a2 2 0 0 1 2 2v.762q.756.332 1.419.804l.656-.394a2 2 0 0 1 2.744.684l1.193 1.985a2 2 0 0 1-.684 2.745l-.656.394a8 8 0 0 1 0 2.04l.654.394a2 2 0 0 1 .684 2.744l-1.192 1.985a2 2 0 0 1-2.745.684l-.654-.393a8 8 0 0 1-1.419.804V20a2 2 0 0 1-2 2h-2.315a2 2 0 0 1-2-2v-.762a8 8 0 0 1-1.419-.804l-.656.394a2 2 0 0 1-2.744-.684l-1.193-1.985a2 2 0 0 1 .684-2.745m6.128-6.82 1.2-.523V4h2.315v2.07l1.2.525q.562.246 1.058.6l1.068.76 1.779-1.069 1.193 1.985-1.777 1.068.167 1.297a6 6 0 0 1 0 1.528l-.167 1.297 1.775 1.067-1.193 1.985-1.778-1.069-1.067.761q-.496.354-1.058.6l-1.2.524V20h-2.315v-2.07l-1.2-.525a6 6 0 0 1-1.058-.6l-1.068-.76-1.779 1.069-1.193-1.985 1.777-1.068-.167-1.297a6 6 0 0 1 0-1.528l.167-1.297-1.775-1.067 1.192-1.985 1.778 1.069 1.068-.761q.496-.354 1.058-.6",clipRule:"evenodd"})]}),Y0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.293 2.293a1 1 0 1 1 1.414 1.414L14.414 5H20a2 2 0 0 1 2 2v2a2 2 0 0 1-1.501 1.937L20.5 11v9a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2v-9l.001-.063A2 2 0 0 1 2 9V7a2 2 0 0 1 2-2h5.586L8.293 3.707a1 1 0 0 1 1.414-1.414L12 4.586zM11 7H4v2h7zm0 4H5.5v9H11zm2 9v-9h5.5v9zm0-11V7h7v2z",clipRule:"evenodd"})}),W0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10M9.07 19.447C8.104 18.027 7.199 15.934 7.03 13H4.062a8.01 8.01 0 0 0 5.009 6.447M4.063 11h2.967c.17-2.934 1.074-5.027 2.042-6.447A8.01 8.01 0 0 0 4.06 11m15.876 2a8.01 8.01 0 0 1-5.009 6.447c.969-1.42 1.873-3.513 2.042-6.447zm0-2a8.01 8.01 0 0 0-5.009-6.447c.969 1.42 1.873 3.513 2.042 6.447zm-9.123 7.452c-.786-1.105-1.611-2.85-1.783-5.452h5.936c-.172 2.602-.997 4.347-1.783 5.452A7.2 7.2 0 0 1 12 19.762a7.2 7.2 0 0 1-1.185-1.31M9.032 11h5.936c-.172-2.602-.997-4.347-1.783-5.452A7.2 7.2 0 0 0 12 4.238c-.318.27-.749.697-1.185 1.31-.786 1.105-1.611 2.85-1.783 5.452",clipRule:"evenodd"})}),G0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 5.5A2.5 2.5 0 0 1 5.5 3h3A2.5 2.5 0 0 1 11 5.5v3A2.5 2.5 0 0 1 8.5 11h-3A2.5 2.5 0 0 1 3 8.5zM5.5 5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5M13 5.5A2.5 2.5 0 0 1 15.5 3h3A2.5 2.5 0 0 1 21 5.5v3a2.5 2.5 0 0 1-2.5 2.5h-3A2.5 2.5 0 0 1 13 8.5zm2.5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5M15.5 13a2.5 2.5 0 0 0-2.5 2.5v3a2.5 2.5 0 0 0 2.5 2.5h3a2.5 2.5 0 0 0 2.5-2.5v-3a2.5 2.5 0 0 0-2.5-2.5zm3 2h-3a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5M3 15.5A2.5 2.5 0 0 1 5.5 13h3a2.5 2.5 0 0 1 2.5 2.5v3A2.5 2.5 0 0 1 8.5 21h-3A2.5 2.5 0 0 1 3 18.5zm2.5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5",clipRule:"evenodd"})}),$0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm15-1h-2.25v3.25H19V6a1 1 0 0 0-1-1m-4.25 0v3.25h-3.5V5zm0 5.25h-3.5v3.5h3.5zm0 5.5h-3.5V19h3.5zm-5.5-2v-3.5H5v3.5zm-3.25 2h3.25V19H6a1 1 0 0 1-1-1zm14 0V18a1 1 0 0 1-1 1h-2.25v-3.25zm0-2h-3.25v-3.5H19zM8.25 5v3.25H5V6a1 1 0 0 1 1-1z",clipRule:"evenodd"})}),U0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.75 12a7 7 0 0 0-13.94-.925l.733-.732a1 1 0 1 1 1.414 1.414l-2.853 2.854a.5.5 0 0 1-.708 0l-2.853-2.854a1 1 0 1 1 1.414-1.414l.83.83a9.001 9.001 0 1 1 1.937 6.452 1 1 0 0 1 1.56-1.25A7 7 0 0 0 19.75 12m-6-4a1 1 0 1 0-2 0v4a1 1 0 0 0 1 1h2.5a1 1 0 1 0 0-2h-1.5z",clipRule:"evenodd"})}),q0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m21.664 9.753-9-8a1 1 0 0 0-1.328 0l-9 8A1 1 0 0 0 3.5 11.366V18a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-6.634a1 1 0 0 0 1.164-1.613M18.5 9.616 12 3.838 5.5 9.616V18a2 2 0 0 0 2 2H8v-4a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v4h.5a2 2 0 0 0 2-2zM14 20h-4v-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1z",clipRule:"evenodd"})}),Z0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8 10.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.75 2.75a3 3 0 0 0-3 3v12.5a3 3 0 0 0 3 3h12.5a3 3 0 0 0 3-3V5.75a3 3 0 0 0-3-3zm12.5 2H5.75a1 1 0 0 0-1 1v7.768l2.499-1.538a.5.5 0 0 1 .54.01l2.666 1.778 4.238-3.296a.5.5 0 0 1 .614 0l3.943 3.067V5.75a1 1 0 0 0-1-1m-13.5 13.5v-2.383l2.728-1.68 3.067 2.045L15 12.767l4.25 3.305v2.178a1 1 0 0 1-1 1H5.75a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),K0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"m13 13.086 1.293-1.293a1 1 0 0 1 1.414 1.414l-3.353 3.354a.5.5 0 0 1-.708 0l-3.353-3.354a1 1 0 1 1 1.414-1.414L11 13.086V3.5a1 1 0 1 1 2 0z"}),x.jsx("path",{fill:"currentColor",d:"M22 12.5a4 4 0 0 0-4-4h-2a1 1 0 1 0 0 2h2a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h2a1 1 0 1 0 0-2H6a4 4 0 0 0-4 4v5a4 4 0 0 0 4 4h12a4 4 0 0 0 4-4z"})]}),zo=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M13 7a1 1 0 1 1-2 0 1 1 0 0 1 2 0M12 9a1 1 0 0 1 1 1v7a1 1 0 1 1-2 0v-7a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2 0a8 8 0 1 1-16 0 8 8 0 0 1 16 0",clipRule:"evenodd"})]}),J0=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10.5 13a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 3a3 3 0 0 0-3 3v9a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3zm14 2H5a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M2 20a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1"})]}),Q0=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.516 8a.5.5 0 0 1 .044-.111l2.612-4.822a2.037 2.037 0 0 1 3.828.97V8h5.278a3 3 0 0 1 2.992 3.214l-.571 8A3 3 0 0 1 17.707 22H5.5a3 3 0 0 1-3-3v-8a3 3 0 0 1 3-3zM11 4.037V10h7.278a1 1 0 0 1 .998 1.071l-.572 8a1 1 0 0 1-.997.929H8.5V8.507l2.43-4.488A.04.04 0 0 1 10.964 4q.014.001.014.002l.012.009.009.012q.001 0 .002.014M6.5 10h-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h1z",clipRule:"evenodd"})}),e1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M4 3a1 1 0 0 1 1 1v15h15a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",d:"M19.832 16.445a1 1 0 1 1-1.664 1.11l-3.414-5.12L11.6 14.8a1 1 0 0 1-1.432-.245l-4-6a1 1 0 0 1 1.664-1.11l3.414 5.12L14.4 10.2a1 1 0 0 1 1.432.245z"})]}),t1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M4 3a1 1 0 0 1 1 1v15h15a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",d:"M19.832 8.555a1 1 0 1 0-1.664-1.11l-3.414 5.12L11.6 10.2a1 1 0 0 0-1.432.245l-4 6a1 1 0 1 0 1.664 1.11l3.414-5.12L14.4 14.8a1 1 0 0 0 1.432-.245z"})]}),a1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"m18.364 9.172-3.182 3.182a1 1 0 0 0 1.414 1.414l3.182-3.182a4.5 4.5 0 1 0-6.364-6.364l-3.182 3.182a1 1 0 1 0 1.415 1.414l3.182-3.182a2.5 2.5 0 1 1 3.535 3.536M9.172 18.364l3.182-3.182a1 1 0 1 1 1.414 1.414l-3.182 3.182a4.5 4.5 0 0 1-6.364-6.364l3.182-3.182a1 1 0 0 1 1.414 1.414l-3.182 3.182a2.5 2.5 0 1 0 3.536 3.536"}),x.jsx("path",{fill:"currentColor",d:"M9.172 13.414a1 1 0 1 0 1.414 1.414l4.242-4.242a1 1 0 0 0-1.414-1.414z"})]}),i1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M22.25 12.25a1 1 0 0 0-1-1h-4.5a1 1 0 1 0 0 2h4.5a1 1 0 0 0 1-1M19.248 5.002a1 1 0 0 0-1.414 0l-3.182 3.182a1 1 0 1 0 1.414 1.414l3.182-3.182a1 1 0 0 0 0-1.414M16.066 14.902a1 1 0 0 0-1.414 1.414l3.182 3.182a1 1 0 0 0 1.414-1.414zM13 17a1 1 0 1 0-2 0v4.5a1 1 0 0 0 2 0zM13 3a1 1 0 1 0-2 0v4.5a1 1 0 1 0 2 0zM4.752 5.002a1 1 0 0 1 1.414 0l3.182 3.182a1 1 0 1 1-1.414 1.414L4.752 6.416a1 1 0 0 1 0-1.414M7.934 14.902a1 1 0 0 1 1.414 1.414l-3.182 3.182a1 1 0 0 1-1.414-1.414zM7.25 11.25a1 1 0 1 1 0 2h-4.5a1 1 0 0 1 0-2z"})}),s1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M13 16.368a1.5 1.5 0 1 0-2 0v.882a1 1 0 1 0 2 0z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 10V8a6 6 0 1 1 12 0v2a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3m10-2v2H8V8a4 4 0 1 1 8 0M6 12a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1z",clipRule:"evenodd"})]}),r1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M13.5 15.25c0 .444-.193.843-.5 1.118v.882a1 1 0 1 1-2 0v-.882a1.5 1.5 0 1 1 2.5-1.118"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 10V8a4 4 0 0 0-7.97-.499C7.998 7.775 7.777 8 7.5 8h-1a.47.47 0 0 1-.48-.5A6 6 0 0 1 18 8v2a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3zm2 2H6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1",clipRule:"evenodd"})]}),n1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8 18a4 4 0 0 0 4 4h5a4 4 0 0 0 4-4V6a4 4 0 0 0-4-4h-5a4 4 0 0 0-4 4v2a1 1 0 1 0 2 0V6a2 2 0 0 1 2-2h5a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2a1 1 0 1 0-2 0z"}),x.jsx("path",{fill:"currentColor",d:"M12.957 15.707a1 1 0 0 1-1.414-1.414L12.836 13H3.25a1 1 0 1 1 0-2h9.586l-1.293-1.293a1 1 0 0 1 1.414-1.414l3.354 3.353a.5.5 0 0 1 0 .708z"})]}),o1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16 18a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h5a4 4 0 0 1 4 4v2a1 1 0 1 1-2 0V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-2a1 1 0 1 1 2 0z"}),x.jsx("path",{fill:"currentColor",d:"M17.543 15.707a1 1 0 0 1 0-1.414L18.836 13H9.25a1 1 0 1 1 0-2h9.586l-1.293-1.293a1 1 0 1 1 1.414-1.414l3.354 3.353a.5.5 0 0 1 0 .708l-3.354 3.353a1 1 0 0 1-1.414 0"})]}),l1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m11.978 7.586-1.414-1.414a4 4 0 0 0-5.657 5.656l7.07 7.072 7.055-7.054.017-.018a4 4 0 1 0-5.657-5.656zm-8.485 5.657a6 6 0 0 1 8.485-8.486 6 6 0 0 1 8.485 8.486l-.026.026-7.398 7.398a1.5 1.5 0 0 1-2.122 0z",clipRule:"evenodd"})}),c1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9 3c.16 0 .31.038.445.104a2 2 0 0 1 .187.053L15 4.946l4.368-1.456A2 2 0 0 1 22 5.387V17.28a2 2 0 0 1-1.367 1.898l-5 1.666q-.093.03-.188.053a1 1 0 0 1-.89 0 2 2 0 0 1-.187-.053L9 19.054 4.632 20.51A2 2 0 0 1 2 18.613V6.72a2 2 0 0 1 1.368-1.898l5-1.666a2 2 0 0 1 .187-.053A1 1 0 0 1 9 3m7 15.613 4-1.334V5.387l-4 1.334zM14 6.72v11.892l-4-1.334V5.387zm-10 0 4-1.334V17.28l-4 1.334z",clipRule:"evenodd"})}),h1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 5v14a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3m14-1h1a1 1 0 0 1 1 1v1.5h-2zm-2 0H9v7h6zM7 4v2.5H5V5a1 1 0 0 1 1-1zm0 7V8.5H5V11zm-2 6.5V19a1 1 0 0 0 1 1h1v-2.5zm2-2H5V13h2zM9 20h6v-7H9zM19 8.5V11h-2V8.5zM17 13v2.5h2V13zm2 6v-1.5h-2V20h1a1 1 0 0 0 1-1",clipRule:"evenodd"})}),d1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M3 7a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M3 12a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1M4 16a1 1 0 1 0 0 2h16a1 1 0 1 0 0-2z"})}),u1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8.5 10a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0M13.5 10a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0M17 8.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 14.5a3 3 0 0 0 3 3h3v2.696a1 1 0 0 0 1.53.848L15.2 17.5H19a3 3 0 0 0 3-3v-9a3 3 0 0 0-3-3H5a3 3 0 0 0-3 3zm8 3.892V15.5H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-4.374z",clipRule:"evenodd"})]}),g1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M6 8a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1M6 12a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 14.5a3 3 0 0 0 3 3h3v2.696a1 1 0 0 0 1.53.848L15.2 17.5H19a3 3 0 0 0 3-3v-9a3 3 0 0 0-3-3H5a3 3 0 0 0-3 3zm8 3.892V15.5H5a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-4.374z",clipRule:"evenodd"})]}),f1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 15.5v2.892l4.626-2.892H19a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1zm-5 2a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-3.8l-5.67 3.544A1 1 0 0 1 8 20.196V17.5z",clipRule:"evenodd"})}),p1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 6a4 4 0 1 1 8 0v6a4 4 0 0 1-8 0zm6 0v6a2 2 0 1 1-4 0V6a2 2 0 1 1 4 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M7.5 11.5a1 1 0 1 0-2 0v.5a6.5 6.5 0 0 0 5.5 6.424V20H9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-2v-1.576A6.5 6.5 0 0 0 18.5 12v-.5a1 1 0 1 0-2 0v.5a4.5 4.5 0 1 1-9 0z"})]}),x1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M14 10.379a.5.5 0 0 0 .146.353l1.428 1.428c.16.16.426.066.426-.16V6a4 4 0 0 0-7.705-1.51.47.47 0 0 0 .111.502l1.18 1.18A.243.243 0 0 0 10 6a2 2 0 1 1 4 0z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 9.414V12a4 4 0 0 0 6.032 3.446l.364.364A4.5 4.5 0 0 1 7.5 12v-.5a1 1 0 1 0-2 0v.5a6.5 6.5 0 0 0 5.5 6.424V20H9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-2v-1.576a6.5 6.5 0 0 0 2.835-1.175l4.458 4.458a1 1 0 0 0 1.414-1.414l-18-18a1 1 0 0 0-1.414 1.414zm4.518 4.518L10 11.414V12a2 2 0 0 0 2.518 1.932",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M17.454 14.04c.25.25.672.167.773-.172A6.5 6.5 0 0 0 18.5 12v-.5a1 1 0 1 0-2 0v.5q0 .362-.056.71a.54.54 0 0 0 .143.463z"})]}),m1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.5 12a1 1 0 0 1 1-1h13a1 1 0 1 1 0 2h-13a1 1 0 0 1-1-1",clipRule:"evenodd"})}),v1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10.5 17a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.5 5a3 3 0 0 1 3-3h7a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3h-7a3 3 0 0 1-3-3zm3-1h7a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),b1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 11a4 4 0 1 0-8 0 4 4 0 0 0 8 0m-2 0a2 2 0 1 0-4 0 2 2 0 0 0 4 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 3a1 1 0 0 0 0 2h1v13a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V5h1a1 1 0 1 0 0-2zm15 2H6v10.1A5.01 5.01 0 0 1 9.9 19h4.2a5.01 5.01 0 0 1 3.9-3.9zM6 17.17V18a1 1 0 0 0 1 1h.83A3 3 0 0 0 6 17.17M16.17 19H17a1 1 0 0 0 1-1v-.83A3 3 0 0 0 16.17 19",clipRule:"evenodd"})]}),y1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.707 2.293a1 1 0 0 0-1.414 1.414l.75.75c-.188.391-.293.83-.293 1.293v12.5a3 3 0 0 0 3 3h12.5c.463 0 .902-.105 1.293-.292l.75.75a1 1 0 0 0 1.414-1.415zM17.836 19.25l-4.888-4.887-2.403 1.869-3.067-2.044-2.728 1.678v2.384a1 1 0 0 0 1 1zm-6.313-6.313-2.69-2.69a1.5 1.5 0 0 1-2.08-2.08L4.75 6.164v7.354l2.499-1.538a.5.5 0 0 1 .54.01l2.666 1.778z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"m14.24 10.825 6.156 6.157a.5.5 0 0 0 .854-.353V5.75a3 3 0 0 0-3-3H7.371a.5.5 0 0 0-.353.854l1 1a.5.5 0 0 0 .353.146h9.879a1 1 0 0 1 1 1v7.789l-3.943-3.067a.5.5 0 0 0-.614 0z"})]}),w1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13 3a1 1 0 1 0-2 0v.57a7 7 0 0 0-6 6.93v5l-.718 1.256A1.5 1.5 0 0 0 5.585 19h2.541a4.002 4.002 0 0 0 7.748 0h2.541a1.5 1.5 0 0 0 1.303-2.244L19 15.5v-5a7 7 0 0 0-6-6.93zM7 16.031 6.446 17h11.108L17 16.031V10.5a5 5 0 0 0-10 0zM12 20a2 2 0 0 1-1.732-1h3.464A2 2 0 0 1 12 20",clipRule:"evenodd"})}),C1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.811 7.226 3.793 5.207a1 1 0 0 1 1.414-1.414l15.5 15.5a1 1 0 0 1-1.414 1.414L17.586 19h-1.712a4.002 4.002 0 0 1-7.748 0H5.585a1.5 1.5 0 0 1-1.303-2.244L5 15.5v-5a7 7 0 0 1 .811-3.274M15.586 17h-9.14L7 16.031V10.5c0-.621.113-1.216.32-1.765zM12 20a2 2 0 0 1-1.732-1h3.464A2 2 0 0 1 12 20",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M17 13.372a.5.5 0 0 0 .154.361l1 .958a.5.5 0 0 0 .846-.362V10.5a7 7 0 0 0-6-6.93V3a1 1 0 1 0-2 0v.57a7 7 0 0 0-2.381.8c-.276.152-.312.523-.09.746l.756.755c.158.158.402.19.605.095A5 5 0 0 1 17 10.5z"})]}),k1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.9 4H9.1a1 1 0 0 0-.707.293l-4.1 4.1A1 1 0 0 0 4 9.101v5.798a1 1 0 0 0 .293.708l4.1 4.1a1 1 0 0 0 .708.293h5.798a1 1 0 0 0 .708-.293l4.1-4.1A1 1 0 0 0 20 14.9V9.1a1 1 0 0 0-.293-.707l-4.1-4.1A1 1 0 0 0 14.9 4M9.1 2a3 3 0 0 0-2.12.879l-4.101 4.1A3 3 0 0 0 2 9.101v5.798a3 3 0 0 0 .879 2.122l4.1 4.1A3 3 0 0 0 9.101 22h5.798a3 3 0 0 0 2.122-.879l4.1-4.1A3 3 0 0 0 22 14.899V9.102a3 3 0 0 0-.879-2.122l-4.1-4.1A3 3 0 0 0 14.899 2z",clipRule:"evenodd"})}),A1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20.766 8.184a3 3 0 0 0 0-4.242l-.707-.708a3 3 0 0 0-4.243 0L4.429 14.621a3 3 0 0 0-.816 1.512l-.804 3.876a1 1 0 0 0 1.182 1.182l3.876-.804a3 3 0 0 0 1.512-.816zM19.35 5.356l-.707-.707a1 1 0 0 0-1.414 0l-1.06 1.06 2.12 2.122 1.061-1.061a1 1 0 0 0 0-1.414m-2.474 3.889-2.122-2.121-8.912 8.911a1 1 0 0 0-.272.504l-.494 2.384 2.384-.494a1 1 0 0 0 .504-.272z",clipRule:"evenodd"})}),S1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("g",{clipPath:"url(#a)",children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m19.973 18.66-2.95-2.95-1.946 2.577-.707-.28-.004-.001-.01-.004-.03-.012-.107-.044a21.024 21.024 0 0 1-1.668-.8c-1.005-.54-2.3-1.341-3.31-2.35-1.009-1.01-1.81-2.306-2.35-3.31a21 21 0 0 1-.845-1.776l-.012-.03-.003-.009-.002-.004-.28-.708 2.578-1.946-2.95-2.95c-.585.956-1.337 2.582-1.342 4.603-.005 2.095.793 4.748 3.69 7.645 2.898 2.898 5.55 3.696 7.646 3.69 2.021-.004 3.646-.757 4.602-1.342M8.193 9.62l1.34-1.01A2 2 0 0 0 9.74 5.6L6.705 2.562c-.79-.79-2.214-.828-2.918.272-.712 1.113-1.746 3.179-1.752 5.826-.006 2.683 1.044 5.832 4.276 9.065 3.233 3.232 6.382 4.282 9.065 4.276 2.647-.007 4.713-1.04 5.826-1.752 1.1-.704 1.061-2.129.272-2.919l-3.036-3.036a2 2 0 0 0-3.01.21l-1.012 1.339a19 19 0 0 1-.92-.462c-.936-.502-2.035-1.194-2.84-2-.807-.807-1.5-1.905-2.002-2.841-.185-.346-.34-.661-.461-.92",clipRule:"evenodd"})}),x.jsx("defs",{children:x.jsx("clipPath",{id:"a",children:x.jsx("path",{fill:"currentColor",d:"M0 0h24v24H0z"})})})]}),M1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.532 8.61 8.192 9.62c.122.259.277.574.462.92.502.936 1.195 2.034 2.001 2.84.806.807 1.905 1.5 2.84 2.001.347.186.662.34.92.462l1.012-1.34a2 2 0 0 1 3.01-.209l3.037 3.036c.79.79.828 2.215-.272 2.919-1.113.712-3.179 1.745-5.826 1.752-2.683.006-5.832-1.044-9.065-4.276-3.233-3.233-4.282-6.382-4.276-9.065.006-2.647 1.04-4.713 1.752-5.826.703-1.1 2.128-1.062 2.918-.272l3.036 3.036a2 2 0 0 1-.209 3.01m7.491 7.1 2.95 2.95c-.956.584-2.581 1.337-4.602 1.342-2.096.005-4.748-.793-7.646-3.69-2.897-2.898-3.695-5.55-3.69-7.646.005-2.021.757-3.647 1.342-4.602l2.95 2.95L5.75 8.958l.28.708v.004l.004.009.012.03.045.108a21 21 0 0 0 .8 1.668c.54 1.004 1.341 2.3 2.35 3.31 1.009 1.009 2.305 1.81 3.31 2.349a21 21 0 0 0 1.775.845l.03.012.01.004.004.002.707.279z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M15.172 5.586v1.828l3.95-3.95a1 1 0 1 1 1.413 1.415l-3.95 3.95h1.83a1 1 0 0 1 0 2h-4.743a.5.5 0 0 1-.5-.5V5.585a1 1 0 1 1 2 0"})]}),I1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8.654 10.54q.143.267.305.546a.51.51 0 0 1-.077.618l-.735.734a.487.487 0 0 1-.762-.085A21 21 0 0 1 6.046 9.71l-.012-.03-.003-.009-.002-.004-.28-.708 2.578-1.946-2.95-2.95c-.585.956-1.337 2.582-1.342 4.603-.004 1.552.433 3.41 1.838 5.447.14.203.12.48-.054.654l-.721.72a.487.487 0 0 1-.742-.055c-1.718-2.415-2.326-4.728-2.321-6.771.006-2.647 1.04-4.713 1.752-5.826.703-1.1 2.128-1.062 2.918-.272l3.036 3.036a2 2 0 0 1-.209 3.01l-1.34 1.012c.122.259.277.574.462.92"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m11.387 14.027 9.32-9.32a1 1 0 0 0-1.414-1.414l-16 16a1 1 0 1 0 1.414 1.414l2.31-2.31c2.983 2.709 5.871 3.61 8.359 3.605 2.647-.007 4.713-1.04 5.826-1.752 1.1-.704 1.061-2.129.272-2.919l-3.037-3.036a2 2 0 0 0-3.01.21l-1.011 1.339a19 19 0 0 1-.92-.462 14.6 14.6 0 0 1-2.109-1.355M9.965 15.45l-1.533 1.533c2.622 2.352 5.015 3.024 6.939 3.02 2.021-.005 3.646-.758 4.602-1.343l-2.95-2.95-1.946 2.578-.707-.28-.004-.001-.01-.004-.03-.012-.107-.044a21.022 21.022 0 0 1-1.668-.8c-.777-.418-1.728-.991-2.586-1.697",clipRule:"evenodd"})]}),L1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.532 8.61 8.192 9.62c.122.259.277.574.462.92.502.936 1.195 2.034 2.001 2.84.806.807 1.905 1.5 2.84 2.001.347.186.662.34.92.462l1.012-1.34a2 2 0 0 1 3.01-.209l3.037 3.036c.79.79.828 2.215-.272 2.919-1.113.712-3.179 1.745-5.826 1.752-2.683.006-5.832-1.044-9.065-4.276-3.233-3.233-4.282-6.382-4.276-9.065.006-2.647 1.04-4.713 1.752-5.826.703-1.1 2.128-1.062 2.918-.272l3.036 3.036a2 2 0 0 1-.209 3.01m7.491 7.1 2.95 2.95c-.956.584-2.581 1.337-4.602 1.342-2.096.005-4.748-.793-7.646-3.69-2.897-2.898-3.695-5.55-3.69-7.646.005-2.021.757-3.647 1.342-4.602l2.95 2.95L5.75 8.958l.28.708v.004l.004.009.012.03.045.108a21 21 0 0 0 .8 1.668c.54 1.004 1.341 2.3 2.35 3.31 1.009 1.009 2.305 1.81 3.31 2.349a21 21 0 0 0 1.775.845l.03.012.01.004.004.002.707.279z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M19.828 9.414a1 1 0 0 1-1-1V6.586l-3.95 3.95a1 1 0 1 1-1.414-1.415l3.95-3.95h-1.828a1 1 0 0 1 0-2h4.742a.5.5 0 0 1 .5.5v4.743a1 1 0 0 1-1 1"})]}),R1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.532 8.61 8.192 9.62c.122.259.277.574.462.92.502.936 1.195 2.034 2.001 2.84.806.807 1.905 1.5 2.84 2.001.347.186.662.34.92.462l1.012-1.34a2 2 0 0 1 3.01-.209l3.037 3.036c.79.79.828 2.215-.272 2.919-1.113.712-3.179 1.745-5.826 1.752-2.683.006-5.832-1.044-9.065-4.276-3.233-3.233-4.282-6.382-4.276-9.065.006-2.647 1.04-4.713 1.752-5.826.703-1.1 2.128-1.062 2.918-.272l3.036 3.036a2 2 0 0 1-.209 3.01m7.491 7.1 2.95 2.95c-.956.584-2.581 1.337-4.602 1.342-2.096.005-4.748-.793-7.646-3.69-2.897-2.898-3.695-5.55-3.69-7.646.005-2.021.757-3.647 1.342-4.602l2.95 2.95L5.75 8.958l.28.708v.004l.004.009.012.03.045.108a21 21 0 0 0 .8 1.668c.54 1.004 1.341 2.3 2.35 3.31 1.009 1.009 2.305 1.81 3.31 2.349a21 21 0 0 0 1.775.845l.03.012.01.004.004.002.707.279z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M17.446 6.545a5 5 0 0 0-4.636-1.343.54.54 0 0 1-.64-.34l-.315-.95a.473.473 0 0 1 .322-.615 7 7 0 0 1 6.683 1.834 7 7 0 0 1 1.834 6.683.473.473 0 0 1-.616.322l-.948-.316a.54.54 0 0 1-.341-.639 5 5 0 0 0-1.343-4.636"}),x.jsx("path",{fill:"currentColor",d:"M13.827 8.583c-.223.012-.455-.096-.526-.308l-.35-1.038c-.088-.261.053-.549.325-.599q.22-.04.44-.052a3.5 3.5 0 0 1 2.67 1.02 3.5 3.5 0 0 1 .967 3.11c-.05.271-.337.412-.6.324l-1.037-.35c-.212-.071-.32-.302-.308-.526a1.5 1.5 0 0 0-.437-1.144 1.5 1.5 0 0 0-1.144-.437"})]}),_1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1c0-5.523-4.477-10-10-10m1 9V4.062A8.004 8.004 0 0 1 19.938 11z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M9.364 4.444a1 1 0 0 0-.659-1.888C4.802 3.917 2 7.63 2 12c0 5.523 4.477 10 10 10 4.356 0 8.058-2.784 9.43-6.667a1 1 0 1 0-1.885-.666A8 8 0 1 1 9.364 4.444"})]}),P1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-2.062 1A8.001 8.001 0 0 1 4 12a8 8 0 0 1 7-7.938V12a1 1 0 0 0 1 1zm0-2H13V4.062A8.004 8.004 0 0 1 19.938 11",clipRule:"evenodd"})}),z1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 10a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-2 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 10c0 6.87-5.9 10.791-7.567 11.76a.85.85 0 0 1-.866 0C9.9 20.792 4 16.87 4 10c0-4 3-8 8-8s8 4 8 8M6 10c0-3.063 2.265-6 6-6s6 2.937 6 6c0 3.283-1.632 5.804-3.414 7.586A16.2 16.2 0 0 1 12 19.679l-.14-.093a16.2 16.2 0 0 1-2.446-2C7.632 15.804 6 13.283 6 10",clipRule:"evenodd"})]}),O1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M11 18.5a1 1 0 1 0 2 0V13h5.5a1 1 0 1 0 0-2H13V5.5a1 1 0 1 0-2 0V11H5.5a1 1 0 1 0 0 2H11z"})}),H1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m14.133 15.582-1.541 4.623c-.439 1.316-2.274 1.383-2.808.103L3.46 5.13c-.43-1.03.605-2.064 1.635-1.634L20.272 9.82c1.28.533 1.213 2.369-.102 2.807l-4.623 1.541 4.69 4.69a1 1 0 1 1-1.415 1.414zm-3.016 2.724L6.007 6.042l12.263 5.11-4.653 1.551a2 2 0 0 0-.129.05 1 1 0 0 0-.77.771 2 2 0 0 0-.05.128z",clipRule:"evenodd"})}),T1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15 11a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 15a4 4 0 0 1-4 4 3 3 0 0 1-3 3H9a3 3 0 0 1-3-3 4 4 0 0 1-4-4v-4a4 4 0 0 1 4-4V5a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v2a4 4 0 0 1 4 4zM8 5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2H8zM6 9h12a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2v-2H6v2a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2m2 10v-2h8v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1",clipRule:"evenodd"})]}),j1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M11.786 8C10.8 8 10 8.8 10 9.786v.441a1 1 0 1 1-2 0v-.441A3.786 3.786 0 0 1 11.786 6h.148a3.6 3.6 0 0 1 1.136 7.014l-.102.034a.36.36 0 0 0-.246.341V14a1 1 0 1 1-2 0v-.61a2.36 2.36 0 0 1 1.614-2.24l.103-.033A1.6 1.6 0 0 0 11.934 8zM11.75 16a1 1 0 1 1 0 2 1 1 0 0 1 0-2"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),E1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M6 16a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1M7 11a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2zM6 8a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 7a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v3h1a3 3 0 0 1 3 3v5a3 3 0 0 1-3 3H6a4 4 0 0 1-4-4zm17 12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1h-1v6a1 1 0 0 0 1 1m-3-1c0 .35.06.687.17 1H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z",clipRule:"evenodd"})]}),D1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M5.936 8.5a7.001 7.001 0 0 1 13.004 2.574l-.733-.731a1 1 0 1 0-1.414 1.414l2.853 2.854a.5.5 0 0 0 .708 0l2.853-2.854a1 1 0 0 0-1.414-1.414l-.83.83A9.001 9.001 0 0 0 4.204 7.5a1 1 0 0 0 1.73 1.002M5.793 14.257a1 1 0 0 0 1.414-1.414L4.354 9.989a.5.5 0 0 0-.708 0L.793 12.843a1 1 0 1 0 1.414 1.414l.895-.895a9.002 9.002 0 0 0 15.924 4.263 1 1 0 1 0-1.56-1.25A7.003 7.003 0 0 1 5.2 13.663z"})}),F1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.25 12a7 7 0 0 1 13.94-.925l-.733-.732a1 1 0 1 0-1.414 1.414l2.853 2.854a.5.5 0 0 0 .708 0l2.853-2.854a1 1 0 0 0-1.414-1.414l-.83.83a9.001 9.001 0 1 0-1.937 6.452 1 1 0 1 0-1.56-1.25A7 7 0 0 1 4.25 12",clipRule:"evenodd"})}),B1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M9.371 9.404a1.5 1.5 0 1 0-2.12-2.121 1.5 1.5 0 0 0 2.12 2.121"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.73 4.79a2 2 0 0 1 2.028-2.028l3.397.048a6 6 0 0 1 4.158 1.757l3.713 3.713a5.54 5.54 0 0 1 5.045 1.51 1.455 1.455 0 0 1 0 2.057l-9.257 9.257a1.455 1.455 0 0 1-2.057 0 5.54 5.54 0 0 1-1.51-5.046l-3.713-3.713a6 6 0 0 1-1.756-4.157zm5.397.02-3.398-.048.048 3.397a4 4 0 0 0 1.172 2.772l4.554 4.555-.192.584a3.55 3.55 0 0 0 .504 3.204l8.426-8.426a3.55 3.55 0 0 0-3.203-.505l-.585.193-4.555-4.555A4 4 0 0 0 8.127 4.81",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M19.18 20.05c-.788.006-2.012-.074-2.978-.536-.499-.238-.504-.88-.113-1.271l2.121-2.121c.39-.39 1.033-.386 1.271.112.462.967.542 2.19.536 2.978a.835.835 0 0 1-.837.838"})]}),N1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M13.707 2.707a1 1 0 0 0-1.414-1.414L9.439 4.146a.5.5 0 0 0 0 .708l2.854 2.853a1 1 0 1 0 1.414-1.414l-.724-.725A7.001 7.001 0 0 1 12 19.5 7 7 0 0 1 7.625 7.035a1 1 0 1 0-1.25-1.56 9 9 0 1 0 6.498-1.933z"})}),V1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M10.793 2.707a1 1 0 0 1 1.414-1.414l2.854 2.853a.5.5 0 0 1 0 .708l-2.854 2.853a1 1 0 1 1-1.414-1.414l.78-.78a7 7 0 1 0 4.802 1.522 1 1 0 1 1 1.25-1.56 9 9 0 1 1-6.03-1.965z"})}),X1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V8.965a3 3 0 0 0-.879-2.121l-2.964-2.965A3 3 0 0 0 15.035 3zm9.035 2H15v2a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V5H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h1v-6a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v6h1a1 1 0 0 0 1-1V8.965a1 1 0 0 0-.293-.707l-2.965-2.965A1 1 0 0 0 15.035 5M15 19v-6H9v6zM9 5h4v2H9z",clipRule:"evenodd"})}),Y1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M6 5a1 1 0 0 0-1 1v2a1 1 0 0 1-2 0V6a3 3 0 0 1 3-3h3a1 1 0 0 1 0 2zM18 5a1 1 0 0 1 1 1v2a1 1 0 1 0 2 0V6a3 3 0 0 0-3-3h-3a1 1 0 1 0 0 2zM5 18a1 1 0 0 0 1 1h3a1 1 0 1 1 0 2H6a3 3 0 0 1-3-3v-2a1 1 0 1 1 2 0zM18 19a1 1 0 0 0 1-1v-2a1 1 0 1 1 2 0v2a3 3 0 0 1-3 3h-3a1 1 0 1 1 0-2zM4 11a1 1 0 1 0 0 2h16a1 1 0 1 0 0-2z"})}),W1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.785 16.199A8.002 8.002 0 0 1 4.222 4.222a8 8 0 0 1 11.977 10.563l4.286 4.286a1 1 0 0 1-1.414 1.414zM5.636 14.12a6 6 0 1 0 8.485-8.485 6 6 0 0 0-8.485 8.485",clipRule:"evenodd"})}),G1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.719 3.181c-1.64-.776-3.384.857-2.716 2.544L5.487 12l-2.484 6.275c-.668 1.687 1.076 3.32 2.716 2.544l14.801-7.011c1.525-.723 1.525-2.893 0-3.615zM17.553 11 4.863 4.989 7.243 11zm-10.31 2-2.38 6.011L17.553 13z",clipRule:"evenodd"})}),$1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M21 6a3.5 3.5 0 0 1-5.966 2.484l-5.11 2.787a3.5 3.5 0 0 1 0 1.458l5.11 2.787a3.5 3.5 0 1 1-.958 1.755l-5.11-2.787a3.5 3.5 0 1 1 0-4.968l5.11-2.787A3.5 3.5 0 1 1 21 6m-2 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m0 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M6.5 13.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3",clipRule:"evenodd"})}),U1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 6a4 4 0 1 1 8 0h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3zm2 0a2 2 0 1 1 4 0zM8 8v.5a1 1 0 0 0 2 0V8h4v.5a1 1 0 1 0 2 0V8h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z",clipRule:"evenodd"})}),q1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M12 3a1 1 0 0 0-1 1v1.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V4a1 1 0 0 0-1-1M14 10h-1v10a1 1 0 1 1-2 0V10h-1a1 1 0 0 1 0-2h4a1 1 0 1 1 0 2M7 15h1a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2h1v5a1 1 0 1 0 2 0zM6 3a1 1 0 0 0-1 1v6.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V4a1 1 0 0 0-1-1M19 17h1a1 1 0 1 0 0-2h-4a1 1 0 1 0 0 2h1v3a1 1 0 1 0 2 0zM18 3a1 1 0 0 0-1 1v8.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V4a1 1 0 0 0-1-1"})}),Z1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",d:"M13 8a1 1 0 1 0 2 0V7h5a1 1 0 1 0 0-2h-5V4a1 1 0 1 0-2 0zM3 12a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H4a1 1 0 0 1-1-1M9 9a1 1 0 0 0-1 1v4a1 1 0 1 0 2 0v-1h10a1 1 0 1 0 0-2H10v-1a1 1 0 0 0-1-1M3 6a1 1 0 0 1 1-1h6.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H4a1 1 0 0 1-1-1M15 16a1 1 0 1 1 2 0v1h3a1 1 0 1 1 0 2h-3v1a1 1 0 1 1-2 0zM3 18a1 1 0 0 1 1-1h8.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5H4a1 1 0 0 1-1-1"})}),K1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.148 9.972 12 5.619 9.852 9.972l-4.804.698 3.476 3.388-.82 4.785L12 16.583l4.297 2.26-.821-4.785 3.476-3.388zM8.524 8.144l-5.769.838a1 1 0 0 0-.554 1.706l4.174 4.069-.985 5.745a1 1 0 0 0 1.45 1.054L12 18.843l5.16 2.713a1 1 0 0 0 1.45-1.054l-.985-5.745 4.174-4.07a1 1 0 0 0-.554-1.705l-5.769-.838-2.58-5.227a1 1 0 0 0-1.793 0z",clipRule:"evenodd"})}),J1=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.66 2a3 3 0 0 1 2.545 1.41l2.205 3.529c.16.255.244.549.244.85a3.7 3.7 0 0 1-1.154 2.689V18a4 4 0 0 1-4 4h-9a4 4 0 0 1-4-4v-7.522a3.7 3.7 0 0 1-1.154-2.69c0-.3.085-.594.244-.85L4.795 3.41A3 3 0 0 1 7.34 2zM7.34 4a1 1 0 0 0-.849.47L4.35 7.897c.056.895.799 1.603 1.708 1.603h.173c1.04 0 1.884-.844 1.884-1.885h2a1.885 1.885 0 0 0 3.77 0h2c0 1.041.843 1.885 1.884 1.885h.173c.909 0 1.652-.708 1.709-1.603L17.509 4.47A1 1 0 0 0 16.66 4zm10.602 7.5q.285 0 .558-.042V18a2 2 0 0 1-2 2H16v-4a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v4h-.5a2 2 0 0 1-2-2v-6.542q.273.042.558.042h.173a3.88 3.88 0 0 0 2.884-1.283A3.88 3.88 0 0 0 12 11.5a3.88 3.88 0 0 0 2.885-1.283 3.88 3.88 0 0 0 2.884 1.283zM10 20h4v-4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1z",clipRule:"evenodd"})}),Q1=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10.5 17a1 1 0 1 0 0 2h3a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.5 5a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3h-11a3 3 0 0 1-3-3zm3-1h11a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1",clipRule:"evenodd"})]}),eg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M7.391 8.098a1 1 0 0 0 1.414 1.415l.708-.708a1 1 0 0 0-1.415-1.414z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4.074 13.973a3 3 0 0 1-.877-2.232l.27-7.31a1 1 0 0 1 .963-.963l7.31-.271a3 3 0 0 1 2.233.877l6.853 6.853a3 3 0 0 1 0 4.242l-5.657 5.657a3 3 0 0 1-4.242 0zm8.485-8.485 6.853 6.853a1 1 0 0 1 0 1.414l-5.657 5.657a1 1 0 0 1-1.414 0l-6.853-6.853a1 1 0 0 1-.292-.744l.236-6.383 6.383-.236a1 1 0 0 1 .744.292",clipRule:"evenodd"})]}),tg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0m-2 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2a1 1 0 0 1 1 1v.558A8.504 8.504 0 0 1 20.442 11H21a1 1 0 1 1 0 2h-.558A8.504 8.504 0 0 1 13 20.442V21a1 1 0 1 1-2 0v-.558A8.504 8.504 0 0 1 3.558 13H3a1 1 0 1 1 0-2h.558A8.504 8.504 0 0 1 11 3.558V3a1 1 0 0 1 1-1m6.424 9H18a1 1 0 1 0 0 2h.424A6.505 6.505 0 0 1 13 18.424V18a1 1 0 1 0-2 0v.424A6.505 6.505 0 0 1 5.576 13H6a1 1 0 1 0 0-2h-.424A6.505 6.505 0 0 1 11 5.576V6a1 1 0 1 0 2 0v-.424A6.505 6.505 0 0 1 18.424 11",clipRule:"evenodd"})]}),ag=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M16.237 10.273a1 1 0 0 1 .04 1.414l-4.571 4.84a.5.5 0 0 1-.682.042l-2.66-2.198a1 1 0 0 1 1.273-1.542l1.578 1.304 3.608-3.82a1 1 0 0 1 1.414-.04"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 2a2 2 0 0 0-2 2H7a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3h-1a2 2 0 0 0-2-2zm4 2h-4v2h4zM8 6H7a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2",clipRule:"evenodd"})]}),ig=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8 14a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1M9 9.5a1 1 0 0 0 0 2h6a1 1 0 1 0 0-2zM8 17.5a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 2a2 2 0 0 0-2 2H7a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3h-1a2 2 0 0 0-2-2zm4 2h-4v2h4zM8 6H7a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2",clipRule:"evenodd"})]}),sg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10.94 10.525a1 1 0 0 0-1.415 1.414L10.585 13l-1.06 1.06a1 1 0 1 0 1.414 1.415L12 14.415l1.06 1.06a1 1 0 0 0 1.415-1.414L13.415 13l1.06-1.06a1 1 0 0 0-1.414-1.415L12 11.585z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3zm2 0h4v2h-4zm6 2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2H7a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1z",clipRule:"evenodd"})]}),rg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M12 9a1 1 0 0 1 1 1v2h1a1 1 0 1 1 0 2h-2a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 3a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2v1.058a8.45 8.45 0 0 1 3.53 1.248l.763-.763a1 1 0 1 1 1.414 1.414l-.615.615a8.5 8.5 0 1 1-12.184 0l-.615-.615a1 1 0 0 1 1.414-1.414l.763.763A8.45 8.45 0 0 1 11 5.058V4a1 1 0 0 1-1-1m8.5 10.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0",clipRule:"evenodd"})]}),ng=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.73 6.053a1 1 0 0 1 1.624-.306l2.833 2.834 1.06-.354.354-1.06-2.833-2.834a1 1 0 0 1 .306-1.623 6.502 6.502 0 0 1 8.81 7.911l5.762 5.762a3 3 0 1 1-4.242 4.243l-5.762-5.762a6.502 6.502 0 0 1-7.911-8.81m1.462 2.36a4.502 4.502 0 0 0 6.302 4.373l.625-.274 6.699 6.7a1 1 0 0 0 1.414-1.415l-6.699-6.699.274-.625A4.502 4.502 0 0 0 8.434 4.17l1.582 1.581a2 2 0 0 1 .483 2.047l-.354 1.06a2 2 0 0 1-1.265 1.266l-1.06.353a2 2 0 0 1-2.047-.483z",clipRule:"evenodd"})}),og=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M10 9.75a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0v-6a1 1 0 0 1 1-1M15 10.75a1 1 0 1 0-2 0v6a1 1 0 1 0 2 0z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18 6V5a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v1H4.5a1 1 0 0 0 0 2H5v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8h.5a1 1 0 1 0 0-2zm-3-2H9a1 1 0 0 0-1 1v1h8V5a1 1 0 0 0-1-1m2 4H7v11a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1z",clipRule:"evenodd"})]}),lg=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 5h8a1 1 0 0 1 1 1v9H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1m9 12h-3.67a3 3 0 1 1-5.652-.017A3 3 0 0 1 1.999 14V6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v2h1.646a3 3 0 0 1 2.683 1.658l1.46 2.92a2 2 0 0 1 .211.894V15a2 2 0 0 1-1.23 1.846 3 3 0 1 1-5.6.154zm4-2h2v-1.528l-1.46-2.92a1 1 0 0 0-.894-.552H16v5zm0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2M6.5 18a1 1 0 1 1 2 0 1 1 0 0 1-2 0",clipRule:"evenodd"})}),cg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8.543 7.707a1 1 0 0 0 1.414 0l1.293-1.293V16a1 1 0 1 0 2 0V6.414l1.293 1.293a1 1 0 1 0 1.414-1.414l-3.353-3.354a.5.5 0 0 0-.708 0L8.543 6.293a1 1 0 0 0 0 1.414"}),x.jsx("path",{fill:"currentColor",d:"M4 14a1 1 0 0 1 1 1v2a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-2a1 1 0 1 1 2 0v2a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4v-2a1 1 0 0 1 1-1"})]}),hg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 11a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9m0-2a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M14.077 14c1 0 1.93.298 2.708.81.46.305 1.09.315 1.48-.075s.394-1.03-.048-1.361A6.9 6.9 0 0 0 14.077 12H9.923A6.923 6.923 0 0 0 3 18.923C3 20.07 3.93 21 5.077 21H12a1 1 0 1 0 0-2H5.077A.077.077 0 0 1 5 18.923 4.923 4.923 0 0 1 9.923 14z"}),x.jsx("path",{fill:"currentColor",d:"M22.002 15.66a1 1 0 1 0-1.503-1.32l-3.322 3.784-1.454-1.157a1 1 0 0 0-1.246 1.566l2.573 2.046a.5.5 0 0 0 .687-.061z"})]}),dg=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.5 6.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-2 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0M3 18.923C3 15.1 6.1 12 9.923 12h4.154C17.9 12 21 15.1 21 18.923 21 20.07 20.07 21 18.923 21H5.077A2.077 2.077 0 0 1 3 18.923m2 0A4.923 4.923 0 0 1 9.923 14h4.154A4.923 4.923 0 0 1 19 18.923a.077.077 0 0 1-.077.077H5.077A.077.077 0 0 1 5 18.923",clipRule:"evenodd"})}),ug=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 11a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9m0-2a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M14.077 14a4.925 4.925 0 0 1 4.606 3.182c.175.461.588.818 1.082.818.622 0 1.106-.552.92-1.145A6.93 6.93 0 0 0 14.078 12H9.923A6.923 6.923 0 0 0 3 18.923C3 20.07 3.93 21 5.077 21H13a1 1 0 1 0 0-2H5.077A.077.077 0 0 1 5 18.923 4.923 4.923 0 0 1 9.923 14z"}),x.jsx("path",{fill:"currentColor",d:"M16 19a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2z"})]}),gg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.5 6.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-2 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M15.669 14.263A4.9 4.9 0 0 0 14.077 14H9.923A4.923 4.923 0 0 0 5 18.923c0 .043.034.077.077.077H13a1 1 0 1 1 0 2H5.077A2.077 2.077 0 0 1 3 18.923C3 15.1 6.1 12 9.923 12h4.154c.93 0 1.816.183 2.626.516.484.198.652.774.418 1.241-.258.518-.905.693-1.452.506M18.5 15a1 1 0 0 1 1 1v1.5H21a1 1 0 1 1 0 2h-1.5V21a1 1 0 1 1-2 0v-1.5H16a1 1 0 1 1 0-2h1.5V16a1 1 0 0 1 1-1"})]}),fg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.5 6.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-2 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0M2 18.923C2 15.1 5.1 12 8.923 12h2.154C14.9 12 18 15.1 18 18.923 18 20.07 17.07 21 15.923 21H4.077A2.077 2.077 0 0 1 2 18.923m2 0A4.923 4.923 0 0 1 8.923 14h2.154A4.923 4.923 0 0 1 16 18.923a.077.077 0 0 1-.077.077H4.077A.077.077 0 0 1 4 18.923",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M18.92 20.097c-.104.401.157.903.571.903h.432C21.07 21 22 20.07 22 18.923 22 15.1 18.9 12 15.077 12c-.142 0-.194.197-.073.273a8.5 8.5 0 0 1 2.414 2.261q.067.093.166.151A4.92 4.92 0 0 1 20 18.923a.077.077 0 0 1-.077.077h-.474c-.25 0-.449.21-.449.462q-.001.33-.08.635M14.919 8.963a.6.6 0 0 1 .254-.255 2.5 2.5 0 0 0 0-4.416.6.6 0 0 1-.254-.255 5.5 5.5 0 0 0-1.094-1.489C13.623 2.352 13.72 2 14 2a4.5 4.5 0 1 1 0 9c-.281 0-.377-.352-.175-.548a5.5 5.5 0 0 0 1.094-1.489"})]}),pg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.5 6.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-2 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M15.669 14.263A4.9 4.9 0 0 0 14.077 14H9.923A4.923 4.923 0 0 0 5 18.923c0 .043.034.077.077.077H13a1 1 0 1 1 0 2H5.077A2.077 2.077 0 0 1 3 18.923C3 15.1 6.1 12 9.923 12h4.154c.93 0 1.816.183 2.626.516.484.198.652.774.418 1.241-.258.518-.905.693-1.452.506"}),x.jsx("path",{fill:"currentColor",d:"M16.025 16.025a1 1 0 0 1 1.414 0l1.061 1.06 1.06-1.06a1 1 0 0 1 1.415 1.414l-1.06 1.061 1.06 1.06a1 1 0 0 1-1.414 1.415l-1.061-1.06-1.06 1.06a1 1 0 0 1-1.415-1.414l1.06-1.061-1.06-1.06a1 1 0 0 1 0-1.415"})]}),xg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.524 20.878 9 17H7a3 3 0 0 1-3-3v-4a3 3 0 0 1 3-3h2l4.524-3.878C14.497 2.288 16 2.98 16 4.262v15.477c0 1.281-1.503 1.973-2.476 1.139M7 9h2.74L14 5.348v13.304L9.74 15H7a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M17.49 10.582A1.5 1.5 0 0 1 18.5 12a1.49 1.49 0 0 1-1.01 1.418c-.26.09-.49.306-.49.582v1c0 .276.225.504.498.465.7-.1 1.334-.407 1.836-.857A3.5 3.5 0 0 0 20.5 12c0-1.037-.452-1.97-1.166-2.609a3.5 3.5 0 0 0-1.836-.856C17.225 8.496 17 8.724 17 9v1c0 .276.23.492.49.582"})]}),mg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m7 17 4.524 3.878c.973.834 2.476.142 2.476-1.14V4.262c0-1.281-1.503-1.973-2.476-1.139L7 7H5a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3zm.74-8H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h2.74L12 18.652V5.348z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M16 10.882a1.5 1.5 0 0 0-.51-.3c-.26-.09-.49-.306-.49-.582V9c0-.276.225-.504.498-.465.7.1 1.334.407 1.836.856A3.5 3.5 0 0 1 18.5 12c0 1.037-.452 1.97-1.166 2.608a3.5 3.5 0 0 1-1.836.857c-.273.039-.498-.189-.498-.465v-1c0-.276.23-.492.49-.582A1.5 1.5 0 0 0 16.5 12c0-.444-.192-.842-.5-1.118"}),x.jsx("path",{fill:"currentColor",d:"M15.5 7.025a5 5 0 0 1 0 9.95.54.54 0 0 0-.5.525v1c0 .276.225.502.5.482a7 7 0 0 0 0-13.964.474.474 0 0 0-.5.482v1c0 .276.225.497.5.525"})]}),vg=s=>x.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.74 9H9a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h2.74L16 18.652V5.348zM11 17l4.524 3.878c.973.834 2.476.142 2.476-1.14V4.262c0-1.281-1.503-1.973-2.476-1.139L11 7H9a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3z",clipRule:"evenodd"})}),bg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m8 17 4.524 3.878c.973.834 2.476.142 2.476-1.14V4.262c0-1.281-1.503-1.973-2.476-1.139L8 7H6a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3zm.74-8H6a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h2.74L13 18.652V5.348z",clipRule:"evenodd"}),x.jsx("path",{fill:"currentColor",d:"M16.525 9.525a1 1 0 0 1 1.414 0L19 10.585l1.06-1.06a1 1 0 1 1 1.415 1.414L20.415 12l1.06 1.06a1 1 0 0 1-1.414 1.415L19 13.415l-1.06 1.06a1 1 0 0 1-1.415-1.414L17.585 12l-1.06-1.06a1 1 0 0 1 0-1.415"})]}),yg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M15 12.5a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2z"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 6.5a2 2 0 0 1 2 2V18a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3zM17 5H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V8.5H9a1 1 0 0 1 0-2h9V6a1 1 0 0 0-1-1",clipRule:"evenodd"})]}),wg=s=>x.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24",...s,children:[x.jsx("path",{fill:"currentColor",d:"M8.793 15.207a1 1 0 0 1 0-1.414L10.586 12l-1.793-1.793a1 1 0 0 1 1.414-1.414L12 10.586l1.793-1.793a1 1 0 1 1 1.414 1.414L13.414 12l1.793 1.793a1 1 0 0 1-1.414 1.414L12 13.414l-1.793 1.793a1 1 0 0 1-1.414 0"}),x.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.1 2a3 3 0 0 0-2.12.879l-4.101 4.1A3 3 0 0 0 2 9.101v5.798a3 3 0 0 0 .879 2.122l4.1 4.1A3 3 0 0 0 9.101 22h5.798a3 3 0 0 0 2.122-.879l4.1-4.1A3 3 0 0 0 22 14.899V9.102a3 3 0 0 0-.879-2.122l-4.1-4.1A3 3 0 0 0 14.899 2zm5.8 2H9.1a1 1 0 0 0-.707.293l-4.1 4.1A1 1 0 0 0 4 9.101v5.798a1 1 0 0 0 .293.708l4.1 4.1a1 1 0 0 0 .708.293h5.798a1 1 0 0 0 .708-.293l4.1-4.1A1 1 0 0 0 20 14.9V9.1a1 1 0 0 0-.293-.707l-4.1-4.1A1 1 0 0 0 14.9 4",clipRule:"evenodd"})]}),Cg="_label_1arfr_1",kg={label:Cg},Oo=s=>{const{children:e,...t}=s;return x.jsx("label",{className:kg.label,...t,children:e})},Ag="_wrap_davgy_1",Sg="_checkbox_davgy_13",Mg="_error_davgy_62",Xi={wrap:Ag,checkbox:Sg,error:Mg},Ho=z.forwardRef((s,e)=>{const{label:t,name:a,id:i,isError:r,...n}=s,o=i||a;return x.jsxs("div",{className:ne(Xi.wrap,{[Xi.error]:r}),children:[x.jsx("input",{ref:e,id:o,name:a,type:"checkbox",...n}),x.jsxs(Oo,{htmlFor:o,children:[x.jsx("span",{className:Xi.checkbox,children:x.jsx(qs,{width:16,height:16})}),x.jsx("span",{children:t})]})]})});Ho.displayName="Checkbox";const Ig="_wrapper_18zvw_1",Lg="_trigger_18zvw_7",Rg="_placeholder_18zvw_31",_g="_dropdown_18zvw_41",Pg="_header_18zvw_55",zg="_monthYear_18zvw_62",Og="_navButton_18zvw_68",Hg="_grid_18zvw_91",Tg="_dayName_18zvw_98",jg="_day_18zvw_98",Eg="_today_18zvw_123",Dg="_selected_18zvw_127",Fg="_outside_18zvw_134",Be={wrapper:Ig,trigger:Lg,placeholder:Rg,dropdown:_g,header:Pg,monthYear:zg,navButton:Og,grid:Hg,dayName:Tg,day:jg,today:Eg,selected:Dg,outside:Fg},Bg=["Mo","Tu","We","Th","Fr","Sa","Su"],Ng=["January","February","March","April","May","June","July","August","September","October","November","December"],Vg=()=>x.jsx("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M5.333 1.333v2M10.667 1.333v2M2.333 6.06h11.334M14 5.667v5.666c0 2-1 3.334-3.333 3.334H5.333C3 14.667 2 13.333 2 11.333V5.667c0-2 1-3.334 3.333-3.334h5.334C13 2.333 14 3.667 14 5.667z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})});function Nr(s,e){return new Date(s,e+1,0).getDate()}function Xg(s,e){const t=new Date(s,e,1).getDay();return t===0?6:t-1}const Yg=s=>`${s.getDate().toString().padStart(2,"0")}.${(s.getMonth()+1).toString().padStart(2,"0")}.${s.getFullYear()}`,To=z.forwardRef(({value:s,onChange:e,placeholder:t="Select date",format:a=Yg,className:i,...r},n)=>{const[o,l]=z.useState(!1),[c,h]=z.useState(()=>s??new Date),d=z.useRef(null),u=z.useMemo(()=>{const y=new Date;return new Date(y.getFullYear(),y.getMonth(),y.getDate())},[]),g=c.getFullYear(),p=c.getMonth(),f=Nr(g,p),m=Xg(g,p),v=Nr(g,p-1);z.useEffect(()=>{if(!o)return;const y=A=>{d.current&&!d.current.contains(A.target)&&l(!1)};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[o]);const b=z.useCallback(y=>{const A=new Date(g,p,y);e?.(A),l(!1)},[g,p,e]),w=[];for(let y=0;y<m;y++)w.push({day:v-m+1+y,current:!1});for(let y=1;y<=f;y++)w.push({day:y,current:!0});const k=42-w.length;for(let y=1;y<=k;y++)w.push({day:y,current:!1});return x.jsxs("div",{ref:y=>{d.current=y,typeof n=="function"?n(y):n&&(n.current=y)},className:ne(Be.wrapper,i),...r,children:[x.jsxs("button",{type:"button",className:ne(Be.trigger,!s&&Be.placeholder),onClick:()=>l(y=>!y),children:[x.jsx(Vg,{}),x.jsx("span",{children:s?a(s):t})]}),o&&x.jsxs("div",{className:Be.dropdown,children:[x.jsxs("div",{className:Be.header,children:[x.jsx("button",{type:"button",className:Be.navButton,onClick:()=>h(new Date(g,p-1,1)),children:"‹"}),x.jsxs("span",{className:Be.monthYear,children:[Ng[p]," ",g]}),x.jsx("button",{type:"button",className:Be.navButton,onClick:()=>h(new Date(g,p+1,1)),children:"›"})]}),x.jsxs("div",{className:Be.grid,children:[Bg.map(y=>x.jsx("div",{className:Be.dayName,children:y},y)),w.map((y,A)=>{const C=y.current&&y.day===u.getDate()&&p===u.getMonth()&&g===u.getFullYear(),S=s&&y.current&&y.day===s.getDate()&&p===s.getMonth()&&g===s.getFullYear();return x.jsx("button",{type:"button",className:ne(Be.day,!y.current&&Be.outside,C&&Be.today,S&&Be.selected),onClick:()=>y.current&&b(y.day),tabIndex:y.current?0:-1,children:y.day},A)})]})]})]})});To.displayName="DatePicker";const Wg="_formGroup_1d0zo_1",Gg={formGroup:Wg},$g=s=>{const{children:e}=s;return x.jsx("div",{className:Gg.formGroup,children:e})},Ug="_grid_8n7pg_1",qg="_item_8n7pg_10",jo={grid:Ug,item:qg},Zg={none:"0px",xs:"6px",sm:"10px",md:"12px",lg:"16px",xl:"24px"};function Kg(s,e=12){const t=typeof s=="string"?Number(s):s;return!t||Number.isNaN(t)?e:Math.max(1,Math.floor(t))}function Jg({cols:s=12,gap:e="md",alignItems:t="stretch",justifyItems:a="stretch",style:i,className:r,...n}){const o={...i??{},"--grid-cols":Kg(s,12),"--grid-gap":Zg[e],"--grid-align-items":t??"stretch","--grid-justify-items":a??"stretch"},l=[jo.grid,r].filter(Boolean).join(" ");return x.jsx("div",{className:l,style:o,...n})}function Qg(s){const e=s??1;return Number.isNaN(e)?1:Math.max(1,Math.floor(e))}function ef({span:s=1,style:e,className:t,...a}){const i={...e??{},"--grid-span":Qg(s)},r=[jo.item,t].filter(Boolean).join(" ");return x.jsx("div",{className:r,style:i,...a})}const tf="_wrap_1cqfa_1",af="_input_1cqfa_4",sf="_error_1cqfa_30",rf="_suffixWrap_1cqfa_42",nf="_prefixWrap_1cqfa_45",of="_suffix_1cqfa_42",lf="_prefix_1cqfa_45",cf="_loader_1cqfa_66",xt={wrap:tf,input:af,error:sf,suffixWrap:rf,prefixWrap:nf,suffix:of,prefix:lf,loader:cf},Eo=z.forwardRef((s,e)=>{const{type:t="text",name:a,id:i,isError:r,isLoading:n,prefix:o,suffix:l,...c}=s,h=i||a;return x.jsxs("div",{className:ne(xt.wrap,{[xt.prefixWrap]:o,[xt.suffixWrap]:l||n}),children:[o&&x.jsx("div",{className:xt.prefix,children:o}),x.jsx("input",{ref:e,id:h,name:a,type:t,className:ne(xt.input,{[xt.error]:r}),...c}),(l||n)&&x.jsx("div",{className:xt.suffix,children:n?x.jsx("div",{className:xt.loader,children:x.jsx(di,{})}):l})]})});Eo.displayName="Input";const hf="_authLayout_126cv_1",df="_left_126cv_7",uf="_leftContainer_126cv_21",gf="_right_126cv_29",ff="_header_126cv_44",pf="_headerContent_126cv_49",xf="_footer_126cv_55",Ht={authLayout:hf,left:df,leftContainer:uf,right:gf,header:ff,headerContent:pf,footer:xf},Ma=({children:s})=>x.jsx("div",{className:Ht.authLayout,children:s}),mf=({children:s})=>x.jsx("div",{className:Ht.left,children:x.jsx("div",{className:Ht.leftContainer,children:s})}),vf=({children:s})=>x.jsx("div",{className:Ht.right,children:s}),bf=({title:s,subtitle:e})=>x.jsx("div",{className:Ht.header,children:x.jsxs("div",{className:Ht.headerContent,children:[s&&x.jsx(Pt,{variant:"h3",weight:"semibold",children:s}),e&&x.jsx(Pt,{variant:"small",color:"muted",children:e})]})}),yf=({children:s})=>x.jsx(Pt,{variant:"caption",color:"secondary",className:Ht.footer,children:s});Ma.Left=mf;Ma.Right=vf;Ma.Header=bf;Ma.Footer=yf;const wf="_content_1ondx_1",Cf={content:wf},kf=s=>{const{children:e}=s;return x.jsx("div",{className:Cf.content,children:e})},Af="_layout_185da_1",Sf={layout:Af},Mf=s=>{const{children:e}=s;return x.jsx("div",{className:Sf.layout,children:e})},If="_footer_l07iq_1",Lf={footer:If},Rf=s=>{const{children:e}=s;return x.jsx("div",{className:Lf.footer,children:e})},_f="_header_u979b_1",Pf="_collapsed_u979b_11",zf="_logo_u979b_18",Of="_logoIcon_u979b_26",Hf="_logoText_u979b_42",Tf="_toggleButton_u979b_52",Ft={header:_f,collapsed:Pf,logo:zf,logoIcon:Of,logoText:Hf,toggleButton:Tf},jf=s=>{const{title:e,isOpen:t=!0,onClick:a}=s;return x.jsxs("div",{className:ne(Ft.header,{[Ft.collapsed]:!t}),children:[x.jsxs("div",{className:Ft.logo,children:[x.jsx("span",{className:Ft.logoIcon,children:x.jsx(Lo,{})}),t&&x.jsx("span",{className:Ft.logoText,children:e})]}),a&&x.jsx("button",{type:"button",className:Ft.toggleButton,onClick:a,"aria-label":t?"Collapse sidebar":"Expand sidebar",children:t?x.jsx(_o,{}):x.jsx(Zs,{})})]})},Ef="_trigger_19pq5_1",Df="_tooltip_19pq5_5",Vr={trigger:Ef,tooltip:Df},za=8,Ks=z.forwardRef(({content:s,placement:e="top",delayShow:t=200,children:a,className:i},r)=>{const[n,o]=z.useState(!1),[l,c]=z.useState({top:0,left:0}),h=z.useRef(null),d=z.useRef(null),u=z.useRef(void 0),g=z.useId(),p=z.useCallback(()=>{const b=h.current,w=d.current;if(!b||!w)return;const k=b.getBoundingClientRect(),y=w.getBoundingClientRect();let A=0,C=0;switch(e){case"top":A=k.top-y.height-za,C=k.left+k.width/2-y.width/2;break;case"bottom":A=k.bottom+za,C=k.left+k.width/2-y.width/2;break;case"left":A=k.top+k.height/2-y.height/2,C=k.left-y.width-za;break;case"right":A=k.top+k.height/2-y.height/2,C=k.right+za;break}A=Math.max(4,Math.min(A,window.innerHeight-y.height-4)),C=Math.max(4,Math.min(C,window.innerWidth-y.width-4)),c({top:A,left:C})},[e]);z.useEffect(()=>{n&&p()},[n,p]);const f=z.useCallback(()=>{u.current=setTimeout(()=>o(!0),t)},[t]),m=z.useCallback(()=>{clearTimeout(u.current),o(!1)},[]),v=z.useCallback(b=>{b.key==="Escape"&&m()},[m]);return x.jsxs(x.Fragment,{children:[x.jsx("div",{ref:b=>{h.current=b,typeof r=="function"?r(b):r&&(r.current=b)},className:Vr.trigger,onMouseEnter:f,onMouseLeave:m,onFocus:f,onBlur:m,onKeyDown:v,"aria-describedby":n?g:void 0,children:a}),n&&x.jsx("div",{ref:d,id:g,role:"tooltip",className:`${Vr.tooltip} ${i??""}`,style:{top:l.top,left:l.left},children:s})]})});Ks.displayName="Tooltip";const Ff="_menu_1y5e2_1",Bf="_collapsed_1y5e2_11",Xr={menu:Ff,collapsed:Bf},Nf=s=>{const{children:e,collapsed:t}=s;return x.jsx("div",{className:ne(Xr.menu,{[Xr.collapsed]:t}),children:t?z.Children.map(e,a=>z.isValidElement(a)&&a.props.label?x.jsx(Ks,{content:a.props.label,placement:"right",children:a}):a):e})},Vf="_sidebar_15pqo_1",Xf="_closed_15pqo_13",Yr={sidebar:Vf,closed:Xf},Yf=s=>{const{children:e,isOpen:t=!0}=s;return x.jsx("div",{className:ne(Yr.sidebar,{[Yr.closed]:!t}),children:e})},Wf=["a[href]","button:not([disabled])","input:not([disabled])","textarea:not([disabled])","select:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", ");function Js(s={}){const{active:e=!0,escapeDeactivates:t=!0,onEscape:a,initialFocusSelector:i,returnFocusOnDeactivate:r=!0,externalRef:n}=s,o=z.useRef(null),l=n??o,c=z.useRef(null);return z.useEffect(()=>{if(!e||!l.current)return;const h=l.current,d=()=>Array.from(h.querySelectorAll(Wf));c.current=document.activeElement;const u=i?h.querySelector(i):null;u?u.focus():d()[0]?.focus();const g=p=>{if(p.key==="Escape"&&t){p.stopPropagation(),a?.();return}if(p.key!=="Tab")return;const f=d();if(f.length===0)return;const m=f[0],v=f[f.length-1];p.shiftKey?document.activeElement===m&&(p.preventDefault(),v.focus()):document.activeElement===v&&(p.preventDefault(),m.focus())};return document.addEventListener("keydown",g),()=>{document.removeEventListener("keydown",g),r&&c.current&&c.current.focus()}},[e,t,a,i,r,l]),{trapRef:l}}const Gf="_container_r4ms0_1",$f="_trigger_r4ms0_5",Uf="_collapsed_r4ms0_34",qf="_initialsAvatar_r4ms0_39",Zf="_info_r4ms0_54",Kf="_name_r4ms0_62",Jf="_email_r4ms0_69",Qf="_menu_r4ms0_78",ep="_menuHeader_r4ms0_91",tp="_menuHeaderName_r4ms0_97",ap="_menuHeaderEmail_r4ms0_104",ip="_divider_r4ms0_111",sp="_menuItem_r4ms0_117",rp="_menuItemIcon_r4ms0_142",Ne={container:Gf,trigger:$f,collapsed:Uf,initialsAvatar:qf,info:Zf,name:Kf,email:Jf,menu:Qf,menuHeader:ep,menuHeaderName:tp,menuHeaderEmail:ap,divider:ip,menuItem:sp,menuItemIcon:rp},np=s=>{const{name:e,email:t,avatar:a,menuItems:i,collapsed:r}=s,[n,o]=z.useState(!1),[l,c]=z.useState({top:0,left:0}),h=z.useRef(null),d=z.useRef(null),u=z.useRef(null),g=z.useCallback(()=>o(!1),[]),p=z.useCallback(()=>o(v=>!v),[]);Js({active:n,escapeDeactivates:!0,onEscape:g,externalRef:u}),z.useEffect(()=>{if(!n||!d.current)return;const v=d.current.getBoundingClientRect();c({top:v.top,left:v.left})},[n]),z.useEffect(()=>{if(!n)return;const v=b=>{h.current&&!h.current.contains(b.target)&&u.current&&!u.current.contains(b.target)&&g()};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[n,g]);const f=e.split(" ").filter(Boolean).slice(0,2).map(v=>v.charAt(0).toUpperCase()).join(""),m=a??x.jsx("span",{className:Ne.initialsAvatar,children:f});return x.jsxs("div",{ref:h,className:Ne.container,children:[x.jsxs("button",{ref:d,type:"button",className:ne(Ne.trigger,{[Ne.collapsed]:r}),onClick:p,"aria-expanded":n,"aria-haspopup":"menu","aria-label":`${e} user menu`,children:[m,!r&&x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:Ne.info,children:[x.jsx("span",{className:Ne.name,children:e}),t&&x.jsx("span",{className:Ne.email,children:t})]}),x.jsx(Zs,{})]})]}),n&&hi.createPortal(x.jsxs("div",{ref:u,className:Ne.menu,role:"menu",style:{top:l.top,left:l.left},children:[x.jsxs("div",{className:Ne.menuHeader,children:[x.jsx("span",{className:Ne.menuHeaderName,children:e}),t&&x.jsx("span",{className:Ne.menuHeaderEmail,children:t})]}),i&&i.length>0&&x.jsxs(x.Fragment,{children:[x.jsx("div",{className:Ne.divider}),i.map(v=>x.jsxs("button",{type:"button",className:Ne.menuItem,role:"menuitem",onClick:()=>{v.onClick?.(),g()},children:[v.icon&&x.jsx("span",{className:Ne.menuItemIcon,children:v.icon}),v.label]},v.label))]})]}),document.body)]})};function op(s={}){const{politeness:e="polite"}=s,t=z.useRef(null);return z.useEffect(()=>{const i=document.createElement("div");return i.setAttribute("role","status"),i.setAttribute("aria-live",e),i.setAttribute("aria-atomic","true"),i.style.position="absolute",i.style.width="1px",i.style.height="1px",i.style.overflow="hidden",i.style.clip="rect(0, 0, 0, 0)",i.style.whiteSpace="nowrap",i.style.border="0",document.body.appendChild(i),t.current=i,()=>{document.body.removeChild(i),t.current=null}},[e]),{announce:z.useCallback(i=>{t.current&&(t.current.textContent="",requestAnimationFrame(()=>{t.current&&(t.current.textContent=i)}))},[])}}function Do(s={}){const{orientation:e="vertical",loop:t=!0,itemSelector:a='[role="option"], [role="menuitem"], [role="tab"], [tabindex]'}=s,i=z.useRef(null),r=z.useCallback(()=>i.current?Array.from(i.current.querySelectorAll(a)):[],[a]),n=z.useCallback((l,c)=>{if(l.length===0)return;let h=c;t?h=(c%l.length+l.length)%l.length:h=Math.max(0,Math.min(c,l.length-1)),l[h]?.focus()},[t]),o=z.useCallback(l=>{const c=r();if(c.length===0)return;const h=c.indexOf(document.activeElement),d=e==="horizontal"?"ArrowLeft":"ArrowUp",u=e==="horizontal"?"ArrowRight":"ArrowDown";switch(l.key){case d:l.preventDefault(),n(c,h-1);break;case u:l.preventDefault(),n(c,h+1);break;case"ArrowUp":case"ArrowLeft":e==="both"&&(l.preventDefault(),n(c,h-1));break;case"ArrowDown":case"ArrowRight":e==="both"&&(l.preventDefault(),n(c,h+1));break;case"Home":l.preventDefault(),n(c,0);break;case"End":l.preventDefault(),n(c,c.length-1);break}},[e,r,n]);return{containerRef:i,handleKeyDown:o}}const lp="_backdrop_1d11y_1",cp="_fadeIn_1d11y_1",hp="_modal_1d11y_13",dp="_scaleIn_1d11y_1",up="_sm_1d11y_25",gp="_md_1d11y_28",fp="_lg_1d11y_31",pp="_header_1d11y_35",xp="_headerContent_1d11y_44",mp="_headerTitle_1d11y_52",vp="_headerDescription_1d11y_61",bp="_closeButton_1d11y_68",yp="_body_1d11y_99",wp="_footer_1d11y_108",rt={backdrop:lp,fadeIn:cp,modal:hp,scaleIn:dp,sm:up,md:gp,lg:fp,header:pp,headerContent:xp,headerTitle:mp,headerDescription:vp,closeButton:bp,body:yp,footer:wp},Cp=()=>x.jsx("svg",{viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M13.5 4.5L4.5 13.5M4.5 4.5L13.5 13.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),Fo=z.forwardRef(({title:s,description:e,onClose:t,className:a,children:i,...r},n)=>x.jsxs("div",{ref:n,className:ne(rt.header,a),...r,children:[s?x.jsxs("div",{className:rt.headerContent,children:[x.jsx("h2",{className:rt.headerTitle,children:s}),e&&x.jsx("p",{className:rt.headerDescription,children:e})]}):i,t&&x.jsx("button",{type:"button",className:rt.closeButton,onClick:t,"aria-label":"Close",children:x.jsx(Cp,{})})]}));Fo.displayName="Modal.Header";const Bo=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("div",{ref:a,className:ne(rt.body,s),...t,children:e}));Bo.displayName="Modal.Body";const No=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("div",{ref:a,className:ne(rt.footer,s),...t,children:e}));No.displayName="Modal.Footer";const kp=({open:s,onClose:e,size:t="md",className:a,children:i})=>{const{trapRef:r}=Js({active:s,escapeDeactivates:!0,onEscape:e,returnFocusOnDeactivate:!0}),n=z.useCallback(o=>{o.target===o.currentTarget&&e()},[e]);return z.useEffect(()=>{if(s)return document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}},[s]),s?hi.createPortal(x.jsx("div",{className:rt.backdrop,onClick:n,"aria-modal":"true",role:"dialog",children:x.jsx("div",{ref:r,className:ne(rt.modal,rt[t],a),children:i})}),document.body):null},Ap=Object.assign(kp,{Header:Fo,Body:Bo,Footer:No}),Sp="_wrapper_hct0l_1",Mp="_icon_hct0l_6",Ip="_input_hct0l_20",Lp="_clear_hct0l_42",Oa={wrapper:Sp,icon:Mp,input:Ip,clear:Lp},Rp=()=>x.jsx("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M14 14L10.5 10.5M12 7C12 9.76 9.76 12 7 12C4.24 12 2 9.76 2 7C2 4.24 4.24 2 7 2C9.76 2 12 4.24 12 7Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),_p=()=>x.jsx("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),Qs=z.forwardRef(({value:s="",onChange:e,onClear:t,className:a,placeholder:i="Search...",...r},n)=>{const o=z.useCallback(c=>e?.(c.target.value),[e]),l=z.useCallback(()=>{e?.(""),t?.()},[e,t]);return x.jsxs("div",{className:ne(Oa.wrapper,a),children:[x.jsx("span",{className:Oa.icon,children:x.jsx(Rp,{})}),x.jsx("input",{ref:n,type:"search",className:Oa.input,value:s,onChange:o,placeholder:i,"aria-label":i,...r}),s&&x.jsx("button",{type:"button",className:Oa.clear,onClick:l,"aria-label":"Clear search",children:x.jsx(_p,{})})]})});Qs.displayName="SearchInput";function Tt(s){"@babel/helpers - typeof";return Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(s)}function Pp(s,e){if(Tt(s)!="object"||!s)return s;var t=s[Symbol.toPrimitive];if(t!==void 0){var a=t.call(s,e);if(Tt(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(s)}function Vo(s){var e=Pp(s,"string");return Tt(e)=="symbol"?e:e+""}function na(s,e,t){return(e=Vo(e))in s?Object.defineProperty(s,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[e]=t,s}function Wr(s,e){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(s);e&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(s,i).enumerable})),t.push.apply(t,a)}return t}function Z(s){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Wr(Object(t),!0).forEach(function(a){na(s,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(t)):Wr(Object(t)).forEach(function(a){Object.defineProperty(s,a,Object.getOwnPropertyDescriptor(t,a))})}return s}function zp(s){if(Array.isArray(s))return s}function Op(s,e){var t=s==null?null:typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(t!=null){var a,i,r,n,o=[],l=!0,c=!1;try{if(r=(t=t.call(s)).next,e===0){if(Object(t)!==t)return;l=!1}else for(;!(l=(a=r.call(t)).done)&&(o.push(a.value),o.length!==e);l=!0);}catch(h){c=!0,i=h}finally{try{if(!l&&t.return!=null&&(n=t.return(),Object(n)!==n))return}finally{if(c)throw i}}return o}}function As(s,e){(e==null||e>s.length)&&(e=s.length);for(var t=0,a=Array(e);t<e;t++)a[t]=s[t];return a}function Xo(s,e){if(s){if(typeof s=="string")return As(s,e);var t={}.toString.call(s).slice(8,-1);return t==="Object"&&s.constructor&&(t=s.constructor.name),t==="Map"||t==="Set"?Array.from(s):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?As(s,e):void 0}}function Hp(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
955
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ct(s,e){return zp(s)||Op(s,e)||Xo(s,e)||Hp()}function Tp(s,e){if(s==null)return{};var t={};for(var a in s)if({}.hasOwnProperty.call(s,a)){if(e.indexOf(a)!==-1)continue;t[a]=s[a]}return t}function ut(s,e){if(s==null)return{};var t,a,i=Tp(s,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(s);for(a=0;a<r.length;a++)t=r[a],e.indexOf(t)===-1&&{}.propertyIsEnumerable.call(s,t)&&(i[t]=s[t])}return i}var jp=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ep(s){var e=s.defaultInputValue,t=e===void 0?"":e,a=s.defaultMenuIsOpen,i=a===void 0?!1:a,r=s.defaultValue,n=r===void 0?null:r,o=s.inputValue,l=s.menuIsOpen,c=s.onChange,h=s.onInputChange,d=s.onMenuClose,u=s.onMenuOpen,g=s.value,p=ut(s,jp),f=z.useState(o!==void 0?o:t),m=ct(f,2),v=m[0],b=m[1],w=z.useState(l!==void 0?l:i),k=ct(w,2),y=k[0],A=k[1],C=z.useState(g!==void 0?g:n),S=ct(C,2),M=S[0],I=S[1],R=z.useCallback(function(B,X){typeof c=="function"&&c(B,X),I(B)},[c]),P=z.useCallback(function(B,X){var Y;typeof h=="function"&&(Y=h(B,X)),b(Y!==void 0?Y:B)},[h]),_=z.useCallback(function(){typeof u=="function"&&u(),A(!0)},[u]),O=z.useCallback(function(){typeof d=="function"&&d(),A(!1)},[d]),H=o!==void 0?o:v,T=l!==void 0?l:y,D=g!==void 0?g:M;return Z(Z({},p),{},{inputValue:H,menuIsOpen:T,onChange:R,onInputChange:P,onMenuClose:O,onMenuOpen:_,value:D})}function K(){return K=Object.assign?Object.assign.bind():function(s){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var a in t)({}).hasOwnProperty.call(t,a)&&(s[a]=t[a])}return s},K.apply(null,arguments)}function Dp(s,e){if(!(s instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(s,e){for(var t=0;t<e.length;t++){var a=e[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(s,Vo(a.key),a)}}function Fp(s,e,t){return e&&Gr(s.prototype,e),t&&Gr(s,t),Object.defineProperty(s,"prototype",{writable:!1}),s}function Ss(s,e){return Ss=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,a){return t.__proto__=a,t},Ss(s,e)}function Bp(s,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(e&&e.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),Object.defineProperty(s,"prototype",{writable:!1}),e&&Ss(s,e)}function ai(s){return ai=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ai(s)}function Yo(){try{var s=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Yo=function(){return!!s})()}function Np(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function Vp(s,e){if(e&&(Tt(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Np(s)}function Xp(s){var e=Yo();return function(){var t,a=ai(s);if(e){var i=ai(this).constructor;t=Reflect.construct(a,arguments,i)}else t=a.apply(this,arguments);return Vp(this,t)}}function Yp(s){if(Array.isArray(s))return As(s)}function Wp(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}function Gp(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
956
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function er(s){return Yp(s)||Wp(s)||Xo(s)||Gp()}function $p(s){if(s.sheet)return s.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===s)return document.styleSheets[e]}function Up(s){var e=document.createElement("style");return e.setAttribute("data-emotion",s.key),s.nonce!==void 0&&e.setAttribute("nonce",s.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var qp=(function(){function s(t){var a=this;this._insertTag=function(i){var r;a.tags.length===0?a.insertionPoint?r=a.insertionPoint.nextSibling:a.prepend?r=a.container.firstChild:r=a.before:r=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(i,r),a.tags.push(i)},this.isSpeedy=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=s.prototype;return e.hydrate=function(a){a.forEach(this._insertTag)},e.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Up(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var r=$p(i);try{r.insertRule(a,r.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(a));this.ctr++},e.flush=function(){this.tags.forEach(function(a){var i;return(i=a.parentNode)==null?void 0:i.removeChild(a)}),this.tags=[],this.ctr=0},s})(),Te="-ms-",ii="-moz-",de="-webkit-",Wo="comm",tr="rule",ar="decl",Zp="@import",Go="@keyframes",Kp="@layer",Jp=Math.abs,fi=String.fromCharCode,Qp=Object.assign;function ex(s,e){return Pe(s,0)^45?(((e<<2^Pe(s,0))<<2^Pe(s,1))<<2^Pe(s,2))<<2^Pe(s,3):0}function $o(s){return s.trim()}function tx(s,e){return(s=e.exec(s))?s[0]:s}function ue(s,e,t){return s.replace(e,t)}function Ms(s,e){return s.indexOf(e)}function Pe(s,e){return s.charCodeAt(e)|0}function ma(s,e,t){return s.slice(e,t)}function it(s){return s.length}function ir(s){return s.length}function Ha(s,e){return e.push(s),s}function ax(s,e){return s.map(e).join("")}var pi=1,$t=1,Uo=0,Ve=0,Me=0,Qt="";function xi(s,e,t,a,i,r,n){return{value:s,root:e,parent:t,type:a,props:i,children:r,line:pi,column:$t,length:n,return:""}}function ia(s,e){return Qp(xi("",null,null,"",null,null,0),s,{length:-s.length},e)}function ix(){return Me}function sx(){return Me=Ve>0?Pe(Qt,--Ve):0,$t--,Me===10&&($t=1,pi--),Me}function Ye(){return Me=Ve<Uo?Pe(Qt,Ve++):0,$t++,Me===10&&($t=1,pi++),Me}function nt(){return Pe(Qt,Ve)}function Ga(){return Ve}function Ia(s,e){return ma(Qt,s,e)}function va(s){switch(s){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qo(s){return pi=$t=1,Uo=it(Qt=s),Ve=0,[]}function Zo(s){return Qt="",s}function $a(s){return $o(Ia(Ve-1,Is(s===91?s+2:s===40?s+1:s)))}function rx(s){for(;(Me=nt())&&Me<33;)Ye();return va(s)>2||va(Me)>3?"":" "}function nx(s,e){for(;--e&&Ye()&&!(Me<48||Me>102||Me>57&&Me<65||Me>70&&Me<97););return Ia(s,Ga()+(e<6&&nt()==32&&Ye()==32))}function Is(s){for(;Ye();)switch(Me){case s:return Ve;case 34:case 39:s!==34&&s!==39&&Is(Me);break;case 40:s===41&&Is(s);break;case 92:Ye();break}return Ve}function ox(s,e){for(;Ye()&&s+Me!==57;)if(s+Me===84&&nt()===47)break;return"/*"+Ia(e,Ve-1)+"*"+fi(s===47?s:Ye())}function lx(s){for(;!va(nt());)Ye();return Ia(s,Ve)}function cx(s){return Zo(Ua("",null,null,null,[""],s=qo(s),0,[0],s))}function Ua(s,e,t,a,i,r,n,o,l){for(var c=0,h=0,d=n,u=0,g=0,p=0,f=1,m=1,v=1,b=0,w="",k=i,y=r,A=a,C=w;m;)switch(p=b,b=Ye()){case 40:if(p!=108&&Pe(C,d-1)==58){Ms(C+=ue($a(b),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:C+=$a(b);break;case 9:case 10:case 13:case 32:C+=rx(p);break;case 92:C+=nx(Ga()-1,7);continue;case 47:switch(nt()){case 42:case 47:Ha(hx(ox(Ye(),Ga()),e,t),l);break;default:C+="/"}break;case 123*f:o[c++]=it(C)*v;case 125*f:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+h:v==-1&&(C=ue(C,/\f/g,"")),g>0&&it(C)-d&&Ha(g>32?Ur(C+";",a,t,d-1):Ur(ue(C," ","")+";",a,t,d-2),l);break;case 59:C+=";";default:if(Ha(A=$r(C,e,t,c,h,i,o,w,k=[],y=[],d),r),b===123)if(h===0)Ua(C,e,A,A,k,r,d,o,y);else switch(u===99&&Pe(C,3)===110?100:u){case 100:case 108:case 109:case 115:Ua(s,A,A,a&&Ha($r(s,A,A,0,0,i,o,w,i,k=[],d),y),i,y,d,o,a?k:y);break;default:Ua(C,A,A,A,[""],y,0,o,y)}}c=h=g=0,f=v=1,w=C="",d=n;break;case 58:d=1+it(C),g=p;default:if(f<1){if(b==123)--f;else if(b==125&&f++==0&&sx()==125)continue}switch(C+=fi(b),b*f){case 38:v=h>0?1:(C+="\f",-1);break;case 44:o[c++]=(it(C)-1)*v,v=1;break;case 64:nt()===45&&(C+=$a(Ye())),u=nt(),h=d=it(w=C+=lx(Ga())),b++;break;case 45:p===45&&it(C)==2&&(f=0)}}return r}function $r(s,e,t,a,i,r,n,o,l,c,h){for(var d=i-1,u=i===0?r:[""],g=ir(u),p=0,f=0,m=0;p<a;++p)for(var v=0,b=ma(s,d+1,d=Jp(f=n[p])),w=s;v<g;++v)(w=$o(f>0?u[v]+" "+b:ue(b,/&\f/g,u[v])))&&(l[m++]=w);return xi(s,e,t,i===0?tr:o,l,c,h)}function hx(s,e,t){return xi(s,e,t,Wo,fi(ix()),ma(s,2,-2),0)}function Ur(s,e,t,a){return xi(s,e,t,ar,ma(s,0,a),ma(s,a+1,-1),a)}function Yt(s,e){for(var t="",a=ir(s),i=0;i<a;i++)t+=e(s[i],i,s,e)||"";return t}function dx(s,e,t,a){switch(s.type){case Kp:if(s.children.length)break;case Zp:case ar:return s.return=s.return||s.value;case Wo:return"";case Go:return s.return=s.value+"{"+Yt(s.children,a)+"}";case tr:s.value=s.props.join(",")}return it(t=Yt(s.children,a))?s.return=s.value+"{"+t+"}":""}function ux(s){var e=ir(s);return function(t,a,i,r){for(var n="",o=0;o<e;o++)n+=s[o](t,a,i,r)||"";return n}}function gx(s){return function(e){e.root||(e=e.return)&&s(e)}}function fx(s){var e=Object.create(null);return function(t){return e[t]===void 0&&(e[t]=s(t)),e[t]}}var px=function(e,t,a){for(var i=0,r=0;i=r,r=nt(),i===38&&r===12&&(t[a]=1),!va(r);)Ye();return Ia(e,Ve)},xx=function(e,t){var a=-1,i=44;do switch(va(i)){case 0:i===38&&nt()===12&&(t[a]=1),e[a]+=px(Ve-1,t,a);break;case 2:e[a]+=$a(i);break;case 4:if(i===44){e[++a]=nt()===58?"&\f":"",t[a]=e[a].length;break}default:e[a]+=fi(i)}while(i=Ye());return e},mx=function(e,t){return Zo(xx(qo(e),t))},qr=new WeakMap,vx=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,a=e.parent,i=e.column===a.column&&e.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!qr.get(a))&&!i){qr.set(e,!0);for(var r=[],n=mx(t,r),o=a.props,l=0,c=0;l<n.length;l++)for(var h=0;h<o.length;h++,c++)e.props[c]=r[l]?n[l].replace(/&\f/g,o[h]):o[h]+" "+n[l]}}},bx=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};function Ko(s,e){switch(ex(s,e)){case 5103:return de+"print-"+s+s;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return de+s+s;case 5349:case 4246:case 4810:case 6968:case 2756:return de+s+ii+s+Te+s+s;case 6828:case 4268:return de+s+Te+s+s;case 6165:return de+s+Te+"flex-"+s+s;case 5187:return de+s+ue(s,/(\w+).+(:[^]+)/,de+"box-$1$2"+Te+"flex-$1$2")+s;case 5443:return de+s+Te+"flex-item-"+ue(s,/flex-|-self/,"")+s;case 4675:return de+s+Te+"flex-line-pack"+ue(s,/align-content|flex-|-self/,"")+s;case 5548:return de+s+Te+ue(s,"shrink","negative")+s;case 5292:return de+s+Te+ue(s,"basis","preferred-size")+s;case 6060:return de+"box-"+ue(s,"-grow","")+de+s+Te+ue(s,"grow","positive")+s;case 4554:return de+ue(s,/([^-])(transform)/g,"$1"+de+"$2")+s;case 6187:return ue(ue(ue(s,/(zoom-|grab)/,de+"$1"),/(image-set)/,de+"$1"),s,"")+s;case 5495:case 3959:return ue(s,/(image-set\([^]*)/,de+"$1$`$1");case 4968:return ue(ue(s,/(.+:)(flex-)?(.*)/,de+"box-pack:$3"+Te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+de+s+s;case 4095:case 3583:case 4068:case 2532:return ue(s,/(.+)-inline(.+)/,de+"$1$2")+s;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(it(s)-1-e>6)switch(Pe(s,e+1)){case 109:if(Pe(s,e+4)!==45)break;case 102:return ue(s,/(.+:)(.+)-([^]+)/,"$1"+de+"$2-$3$1"+ii+(Pe(s,e+3)==108?"$3":"$2-$3"))+s;case 115:return~Ms(s,"stretch")?Ko(ue(s,"stretch","fill-available"),e)+s:s}break;case 4949:if(Pe(s,e+1)!==115)break;case 6444:switch(Pe(s,it(s)-3-(~Ms(s,"!important")&&10))){case 107:return ue(s,":",":"+de)+s;case 101:return ue(s,/(.+:)([^;!]+)(;|!.+)?/,"$1"+de+(Pe(s,14)===45?"inline-":"")+"box$3$1"+de+"$2$3$1"+Te+"$2box$3")+s}break;case 5936:switch(Pe(s,e+11)){case 114:return de+s+Te+ue(s,/[svh]\w+-[tblr]{2}/,"tb")+s;case 108:return de+s+Te+ue(s,/[svh]\w+-[tblr]{2}/,"tb-rl")+s;case 45:return de+s+Te+ue(s,/[svh]\w+-[tblr]{2}/,"lr")+s}return de+s+Te+s+s}return s}var yx=function(e,t,a,i){if(e.length>-1&&!e.return)switch(e.type){case ar:e.return=Ko(e.value,e.length);break;case Go:return Yt([ia(e,{value:ue(e.value,"@","@"+de)})],i);case tr:if(e.length)return ax(e.props,function(r){switch(tx(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yt([ia(e,{props:[ue(r,/:(read-\w+)/,":"+ii+"$1")]})],i);case"::placeholder":return Yt([ia(e,{props:[ue(r,/:(plac\w+)/,":"+de+"input-$1")]}),ia(e,{props:[ue(r,/:(plac\w+)/,":"+ii+"$1")]}),ia(e,{props:[ue(r,/:(plac\w+)/,Te+"input-$1")]})],i)}return""})}},wx=[yx],Cx=function(e){var t=e.key;if(t==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(f){var m=f.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var i=e.stylisPlugins||wx,r={},n,o=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(f){for(var m=f.getAttribute("data-emotion").split(" "),v=1;v<m.length;v++)r[m[v]]=!0;o.push(f)});var l,c=[vx,bx];{var h,d=[dx,gx(function(f){h.insert(f)})],u=ux(c.concat(i,d)),g=function(m){return Yt(cx(m),u)};l=function(m,v,b,w){h=b,g(m?m+"{"+v.styles+"}":v.styles),w&&(p.inserted[v.name]=!0)}}var p={key:t,sheet:new qp({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:r,registered:{},insert:l};return p.sheet.hydrate(o),p},Yi={exports:{}},fe={};var Zr;function kx(){if(Zr)return fe;Zr=1;var s=typeof Symbol=="function"&&Symbol.for,e=s?Symbol.for("react.element"):60103,t=s?Symbol.for("react.portal"):60106,a=s?Symbol.for("react.fragment"):60107,i=s?Symbol.for("react.strict_mode"):60108,r=s?Symbol.for("react.profiler"):60114,n=s?Symbol.for("react.provider"):60109,o=s?Symbol.for("react.context"):60110,l=s?Symbol.for("react.async_mode"):60111,c=s?Symbol.for("react.concurrent_mode"):60111,h=s?Symbol.for("react.forward_ref"):60112,d=s?Symbol.for("react.suspense"):60113,u=s?Symbol.for("react.suspense_list"):60120,g=s?Symbol.for("react.memo"):60115,p=s?Symbol.for("react.lazy"):60116,f=s?Symbol.for("react.block"):60121,m=s?Symbol.for("react.fundamental"):60117,v=s?Symbol.for("react.responder"):60118,b=s?Symbol.for("react.scope"):60119;function w(y){if(typeof y=="object"&&y!==null){var A=y.$$typeof;switch(A){case e:switch(y=y.type,y){case l:case c:case a:case r:case i:case d:return y;default:switch(y=y&&y.$$typeof,y){case o:case h:case p:case g:case n:return y;default:return A}}case t:return A}}}function k(y){return w(y)===c}return fe.AsyncMode=l,fe.ConcurrentMode=c,fe.ContextConsumer=o,fe.ContextProvider=n,fe.Element=e,fe.ForwardRef=h,fe.Fragment=a,fe.Lazy=p,fe.Memo=g,fe.Portal=t,fe.Profiler=r,fe.StrictMode=i,fe.Suspense=d,fe.isAsyncMode=function(y){return k(y)||w(y)===l},fe.isConcurrentMode=k,fe.isContextConsumer=function(y){return w(y)===o},fe.isContextProvider=function(y){return w(y)===n},fe.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},fe.isForwardRef=function(y){return w(y)===h},fe.isFragment=function(y){return w(y)===a},fe.isLazy=function(y){return w(y)===p},fe.isMemo=function(y){return w(y)===g},fe.isPortal=function(y){return w(y)===t},fe.isProfiler=function(y){return w(y)===r},fe.isStrictMode=function(y){return w(y)===i},fe.isSuspense=function(y){return w(y)===d},fe.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===a||y===c||y===r||y===i||y===d||y===u||typeof y=="object"&&y!==null&&(y.$$typeof===p||y.$$typeof===g||y.$$typeof===n||y.$$typeof===o||y.$$typeof===h||y.$$typeof===m||y.$$typeof===v||y.$$typeof===b||y.$$typeof===f)},fe.typeOf=w,fe}var Kr;function Ax(){return Kr||(Kr=1,Yi.exports=kx()),Yi.exports}var Wi,Jr;function Sx(){if(Jr)return Wi;Jr=1;var s=Ax(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};r[s.ForwardRef]=a,r[s.Memo]=i;function n(p){return s.isMemo(p)?i:r[p.$$typeof]||e}var o=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,u=Object.prototype;function g(p,f,m){if(typeof f!="string"){if(u){var v=d(f);v&&v!==u&&g(p,v,m)}var b=l(f);c&&(b=b.concat(c(f)));for(var w=n(p),k=n(f),y=0;y<b.length;++y){var A=b[y];if(!t[A]&&!(m&&m[A])&&!(k&&k[A])&&!(w&&w[A])){var C=h(f,A);try{o(p,A,C)}catch{}}}}return p}return Wi=g,Wi}Sx();var Mx=!0;function Ix(s,e,t){var a="";return t.split(" ").forEach(function(i){s[i]!==void 0?e.push(s[i]+";"):i&&(a+=i+" ")}),a}var Jo=function(e,t,a){var i=e.key+"-"+t.name;(a===!1||Mx===!1)&&e.registered[i]===void 0&&(e.registered[i]=t.styles)},Lx=function(e,t,a){Jo(e,t,a);var i=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var r=t;do e.insert(t===r?"."+i:"",r,e.sheet,!0),r=r.next;while(r!==void 0)}};function Rx(s){for(var e=0,t,a=0,i=s.length;i>=4;++a,i-=4)t=s.charCodeAt(a)&255|(s.charCodeAt(++a)&255)<<8|(s.charCodeAt(++a)&255)<<16|(s.charCodeAt(++a)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,e=(t&65535)*1540483477+((t>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(s.charCodeAt(a+2)&255)<<16;case 2:e^=(s.charCodeAt(a+1)&255)<<8;case 1:e^=s.charCodeAt(a)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var _x={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Px=/[A-Z]|^ms/g,zx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Qo=function(e){return e.charCodeAt(1)===45},Qr=function(e){return e!=null&&typeof e!="boolean"},Gi=fx(function(s){return Qo(s)?s:s.replace(Px,"-$&").toLowerCase()}),en=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(zx,function(a,i,r){return st={name:i,styles:r,next:st},i})}return _x[e]!==1&&!Qo(e)&&typeof t=="number"&&t!==0?t+"px":t};function ba(s,e,t){if(t==null)return"";var a=t;if(a.__emotion_styles!==void 0)return a;switch(typeof t){case"boolean":return"";case"object":{var i=t;if(i.anim===1)return st={name:i.name,styles:i.styles,next:st},i.name;var r=t;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)st={name:n.name,styles:n.styles,next:st},n=n.next;var o=r.styles+";";return o}return Ox(s,e,t)}case"function":{if(s!==void 0){var l=st,c=t(s);return st=l,ba(s,e,c)}break}}var h=t;return h}function Ox(s,e,t){var a="";if(Array.isArray(t))for(var i=0;i<t.length;i++)a+=ba(s,e,t[i])+";";else for(var r in t){var n=t[r];if(typeof n!="object"){var o=n;Qr(o)&&(a+=Gi(r)+":"+en(r,o)+";")}else if(Array.isArray(n)&&typeof n[0]=="string"&&e==null)for(var l=0;l<n.length;l++)Qr(n[l])&&(a+=Gi(r)+":"+en(r,n[l])+";");else{var c=ba(s,e,n);switch(r){case"animation":case"animationName":{a+=Gi(r)+":"+c+";";break}default:a+=r+"{"+c+"}"}}}return a}var tn=/label:\s*([^\s;{]+)\s*(;|$)/g,st;function el(s,e,t){if(s.length===1&&typeof s[0]=="object"&&s[0]!==null&&s[0].styles!==void 0)return s[0];var a=!0,i="";st=void 0;var r=s[0];if(r==null||r.raw===void 0)a=!1,i+=ba(t,e,r);else{var n=r;i+=n[0]}for(var o=1;o<s.length;o++)if(i+=ba(t,e,s[o]),a){var l=r;i+=l[o]}tn.lastIndex=0;for(var c="",h;(h=tn.exec(i))!==null;)c+="-"+h[1];var d=Rx(i)+c;return{name:d,styles:i,next:st}}var Hx=function(e){return e()},Tx=ie.useInsertionEffect?ie.useInsertionEffect:!1,jx=Tx||Hx,tl=ie.createContext(typeof HTMLElement<"u"?Cx({key:"css"}):null);tl.Provider;var Ex=function(e){return z.forwardRef(function(t,a){var i=z.useContext(tl);return e(t,i,a)})},Dx=ie.createContext({}),sr={}.hasOwnProperty,Ls="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Fx=function(e,t){var a={};for(var i in t)sr.call(t,i)&&(a[i]=t[i]);return a[Ls]=e,a},Bx=function(e){var t=e.cache,a=e.serialized,i=e.isStringTag;return Jo(t,a,i),jx(function(){return Lx(t,a,i)}),null},Nx=Ex(function(s,e,t){var a=s.css;typeof a=="string"&&e.registered[a]!==void 0&&(a=e.registered[a]);var i=s[Ls],r=[a],n="";typeof s.className=="string"?n=Ix(e.registered,r,s.className):s.className!=null&&(n=s.className+" ");var o=el(r,void 0,ie.useContext(Dx));n+=e.key+"-"+o.name;var l={};for(var c in s)sr.call(s,c)&&c!=="css"&&c!==Ls&&(l[c]=s[c]);return l.className=n,t&&(l.ref=t),ie.createElement(ie.Fragment,null,ie.createElement(Bx,{cache:e,serialized:o,isStringTag:typeof i=="string"}),ie.createElement(i,l))}),Vx=Nx,$=function(e,t){var a=arguments;if(t==null||!sr.call(t,"css"))return ie.createElement.apply(void 0,a);var i=a.length,r=new Array(i);r[0]=Vx,r[1]=Fx(e,t);for(var n=2;n<i;n++)r[n]=a[n];return ie.createElement.apply(null,r)};(function(s){var e;e||(e=s.JSX||(s.JSX={}))})($||($={}));function rr(){for(var s=arguments.length,e=new Array(s),t=0;t<s;t++)e[t]=arguments[t];return el(e)}function Xx(){var s=rr.apply(void 0,arguments),e="animation-"+s.name;return{name:e,styles:"@keyframes "+e+"{"+s.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Yx(s,e){return e||(e=s.slice(0)),Object.freeze(Object.defineProperties(s,{raw:{value:Object.freeze(e)}}))}const Wx=Math.min,Gx=Math.max,si=Math.round,Ta=Math.floor,ri=s=>({x:s,y:s});function $x(s){const{x:e,y:t,width:a,height:i}=s;return{width:a,height:i,top:t,left:e,right:e+a,bottom:t+i,x:e,y:t}}function mi(){return typeof window<"u"}function al(s){return sl(s)?(s.nodeName||"").toLowerCase():"#document"}function ht(s){var e;return(s==null||(e=s.ownerDocument)==null?void 0:e.defaultView)||window}function il(s){var e;return(e=(sl(s)?s.ownerDocument:s.document)||window.document)==null?void 0:e.documentElement}function sl(s){return mi()?s instanceof Node||s instanceof ht(s).Node:!1}function Ux(s){return mi()?s instanceof Element||s instanceof ht(s).Element:!1}function nr(s){return mi()?s instanceof HTMLElement||s instanceof ht(s).HTMLElement:!1}function an(s){return!mi()||typeof ShadowRoot>"u"?!1:s instanceof ShadowRoot||s instanceof ht(s).ShadowRoot}const qx=new Set(["inline","contents"]);function rl(s){const{overflow:e,overflowX:t,overflowY:a,display:i}=or(s);return/auto|scroll|overlay|hidden|clip/.test(e+a+t)&&!qx.has(i)}function Zx(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Kx=new Set(["html","body","#document"]);function Jx(s){return Kx.has(al(s))}function or(s){return ht(s).getComputedStyle(s)}function Qx(s){if(al(s)==="html")return s;const e=s.assignedSlot||s.parentNode||an(s)&&s.host||il(s);return an(e)?e.host:e}function nl(s){const e=Qx(s);return Jx(e)?s.ownerDocument?s.ownerDocument.body:s.body:nr(e)&&rl(e)?e:nl(e)}function ni(s,e,t){var a;e===void 0&&(e=[]),t===void 0&&(t=!0);const i=nl(s),r=i===((a=s.ownerDocument)==null?void 0:a.body),n=ht(i);if(r){const o=Rs(n);return e.concat(n,n.visualViewport||[],rl(i)?i:[],o&&t?ni(o):[])}return e.concat(i,ni(i,[],t))}function Rs(s){return s.parent&&Object.getPrototypeOf(s.parent)?s.frameElement:null}function em(s){const e=or(s);let t=parseFloat(e.width)||0,a=parseFloat(e.height)||0;const i=nr(s),r=i?s.offsetWidth:t,n=i?s.offsetHeight:a,o=si(t)!==r||si(a)!==n;return o&&(t=r,a=n),{width:t,height:a,$:o}}function lr(s){return Ux(s)?s:s.contextElement}function sn(s){const e=lr(s);if(!nr(e))return ri(1);const t=e.getBoundingClientRect(),{width:a,height:i,$:r}=em(e);let n=(r?si(t.width):t.width)/a,o=(r?si(t.height):t.height)/i;return(!n||!Number.isFinite(n))&&(n=1),(!o||!Number.isFinite(o))&&(o=1),{x:n,y:o}}const tm=ri(0);function am(s){const e=ht(s);return!Zx()||!e.visualViewport?tm:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function im(s,e,t){return!1}function rn(s,e,t,a){e===void 0&&(e=!1);const i=s.getBoundingClientRect(),r=lr(s);let n=ri(1);e&&(n=sn(s));const o=im()?am(r):ri(0);let l=(i.left+o.x)/n.x,c=(i.top+o.y)/n.y,h=i.width/n.x,d=i.height/n.y;if(r){const u=ht(r),g=a;let p=u,f=Rs(p);for(;f&&a&&g!==p;){const m=sn(f),v=f.getBoundingClientRect(),b=or(f),w=v.left+(f.clientLeft+parseFloat(b.paddingLeft))*m.x,k=v.top+(f.clientTop+parseFloat(b.paddingTop))*m.y;l*=m.x,c*=m.y,h*=m.x,d*=m.y,l+=w,c+=k,p=ht(f),f=Rs(p)}}return $x({width:h,height:d,x:l,y:c})}function ol(s,e){return s.x===e.x&&s.y===e.y&&s.width===e.width&&s.height===e.height}function sm(s,e){let t=null,a;const i=il(s);function r(){var o;clearTimeout(a),(o=t)==null||o.disconnect(),t=null}function n(o,l){o===void 0&&(o=!1),l===void 0&&(l=1),r();const c=s.getBoundingClientRect(),{left:h,top:d,width:u,height:g}=c;if(o||e(),!u||!g)return;const p=Ta(d),f=Ta(i.clientWidth-(h+u)),m=Ta(i.clientHeight-(d+g)),v=Ta(h),w={rootMargin:-p+"px "+-f+"px "+-m+"px "+-v+"px",threshold:Gx(0,Wx(1,l))||1};let k=!0;function y(A){const C=A[0].intersectionRatio;if(C!==l){if(!k)return n();C?n(!1,C):a=setTimeout(()=>{n(!1,1e-7)},1e3)}C===1&&!ol(c,s.getBoundingClientRect())&&n(),k=!1}try{t=new IntersectionObserver(y,{...w,root:i.ownerDocument})}catch{t=new IntersectionObserver(y,w)}t.observe(s)}return n(!0),r}function rm(s,e,t,a){a===void 0&&(a={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:n=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:l=!1}=a,c=lr(s),h=i||r?[...c?ni(c):[],...ni(e)]:[];h.forEach(v=>{i&&v.addEventListener("scroll",t,{passive:!0}),r&&v.addEventListener("resize",t)});const d=c&&o?sm(c,t):null;let u=-1,g=null;n&&(g=new ResizeObserver(v=>{let[b]=v;b&&b.target===c&&g&&(g.unobserve(e),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(e)})),t()}),c&&!l&&g.observe(c),g.observe(e));let p,f=l?rn(s):null;l&&m();function m(){const v=rn(s);f&&!ol(f,v)&&t(),f=v,p=requestAnimationFrame(m)}return t(),()=>{var v;h.forEach(b=>{i&&b.removeEventListener("scroll",t),r&&b.removeEventListener("resize",t)}),d?.(),(v=g)==null||v.disconnect(),g=null,l&&cancelAnimationFrame(p)}}var _s=z.useLayoutEffect,nm=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],oi=function(){};function om(s,e){return e?e[0]==="-"?s+e:s+"__"+e:s}function lm(s,e){for(var t=arguments.length,a=new Array(t>2?t-2:0),i=2;i<t;i++)a[i-2]=arguments[i];var r=[].concat(a);if(e&&s)for(var n in e)e.hasOwnProperty(n)&&e[n]&&r.push("".concat(om(s,n)));return r.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var nn=function(e){return mm(e)?e.filter(Boolean):Tt(e)==="object"&&e!==null?[e]:[]},ll=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=ut(e,nm);return Z({},t)},Se=function(e,t,a){var i=e.cx,r=e.getStyles,n=e.getClassNames,o=e.className;return{css:r(t,e),className:i(a??{},n(t,e),o)}};function vi(s){return[document.documentElement,document.body,window].indexOf(s)>-1}function cm(s){return vi(s)?window.innerHeight:s.clientHeight}function cl(s){return vi(s)?window.pageYOffset:s.scrollTop}function li(s,e){if(vi(s)){window.scrollTo(0,e);return}s.scrollTop=e}function hm(s){var e=getComputedStyle(s),t=e.position==="absolute",a=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var i=s;i=i.parentElement;)if(e=getComputedStyle(i),!(t&&e.position==="static")&&a.test(e.overflow+e.overflowY+e.overflowX))return i;return document.documentElement}function dm(s,e,t,a){return t*((s=s/a-1)*s*s+1)+e}function ja(s,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:oi,i=cl(s),r=e-i,n=10,o=0;function l(){o+=n;var c=dm(o,i,r,t);li(s,c),o<t?window.requestAnimationFrame(l):a(s)}l()}function on(s,e){var t=s.getBoundingClientRect(),a=e.getBoundingClientRect(),i=e.offsetHeight/3;a.bottom+i>t.bottom?li(s,Math.min(e.offsetTop+e.clientHeight-s.offsetHeight+i,s.scrollHeight)):a.top-i<t.top&&li(s,Math.max(e.offsetTop-i,0))}function um(s){var e=s.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function ln(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function gm(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var hl=!1,fm={get passive(){return hl=!0}},Ea=typeof window<"u"?window:{};Ea.addEventListener&&Ea.removeEventListener&&(Ea.addEventListener("p",oi,fm),Ea.removeEventListener("p",oi,!1));var pm=hl;function xm(s){return s!=null}function mm(s){return Array.isArray(s)}function Da(s,e,t){return s?e:t}var vm=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];var r=Object.entries(e).filter(function(n){var o=ct(n,1),l=o[0];return!a.includes(l)});return r.reduce(function(n,o){var l=ct(o,2),c=l[0],h=l[1];return n[c]=h,n},{})},bm=["children","innerProps"],ym=["children","innerProps"];function wm(s){var e=s.maxHeight,t=s.menuEl,a=s.minHeight,i=s.placement,r=s.shouldScroll,n=s.isFixedPosition,o=s.controlHeight,l=hm(t),c={placement:"bottom",maxHeight:e};if(!t||!t.offsetParent)return c;var h=l.getBoundingClientRect(),d=h.height,u=t.getBoundingClientRect(),g=u.bottom,p=u.height,f=u.top,m=t.offsetParent.getBoundingClientRect(),v=m.top,b=n?window.innerHeight:cm(l),w=cl(l),k=parseInt(getComputedStyle(t).marginBottom,10),y=parseInt(getComputedStyle(t).marginTop,10),A=v-y,C=b-f,S=A+w,M=d-w-f,I=g-b+w+k,R=w+f-y,P=160;switch(i){case"auto":case"bottom":if(C>=p)return{placement:"bottom",maxHeight:e};if(M>=p&&!n)return r&&ja(l,I,P),{placement:"bottom",maxHeight:e};if(!n&&M>=a||n&&C>=a){r&&ja(l,I,P);var _=n?C-k:M-k;return{placement:"bottom",maxHeight:_}}if(i==="auto"||n){var O=e,H=n?A:S;return H>=a&&(O=Math.min(H-k-o,e)),{placement:"top",maxHeight:O}}if(i==="bottom")return r&&li(l,I),{placement:"bottom",maxHeight:e};break;case"top":if(A>=p)return{placement:"top",maxHeight:e};if(S>=p&&!n)return r&&ja(l,R,P),{placement:"top",maxHeight:e};if(!n&&S>=a||n&&A>=a){var T=e;return(!n&&S>=a||n&&A>=a)&&(T=n?A-y:S-y),r&&ja(l,R,P),{placement:"top",maxHeight:T}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}function Cm(s){var e={bottom:"top",top:"bottom"};return s?e[s]:"bottom"}var dl=function(e){return e==="auto"?"bottom":e},km=function(e,t){var a,i=e.placement,r=e.theme,n=r.borderRadius,o=r.spacing,l=r.colors;return Z((a={label:"menu"},na(a,Cm(i),"100%"),na(a,"position","absolute"),na(a,"width","100%"),na(a,"zIndex",1),a),t?{}:{backgroundColor:l.neutral0,borderRadius:n,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:o.menuGutter,marginTop:o.menuGutter})},ul=z.createContext(null),Am=function(e){var t=e.children,a=e.minMenuHeight,i=e.maxMenuHeight,r=e.menuPlacement,n=e.menuPosition,o=e.menuShouldScrollIntoView,l=e.theme,c=z.useContext(ul)||{},h=c.setPortalPlacement,d=z.useRef(null),u=z.useState(i),g=ct(u,2),p=g[0],f=g[1],m=z.useState(null),v=ct(m,2),b=v[0],w=v[1],k=l.spacing.controlHeight;return _s(function(){var y=d.current;if(y){var A=n==="fixed",C=o&&!A,S=wm({maxHeight:i,menuEl:y,minHeight:a,placement:r,shouldScroll:C,isFixedPosition:A,controlHeight:k});f(S.maxHeight),w(S.placement),h?.(S.placement)}},[i,r,n,o,a,h,k]),t({ref:d,placerProps:Z(Z({},e),{},{placement:b||dl(r),maxHeight:p})})},Sm=function(e){var t=e.children,a=e.innerRef,i=e.innerProps;return $("div",K({},Se(e,"menu",{menu:!0}),{ref:a},i),t)},Mm=Sm,Im=function(e,t){var a=e.maxHeight,i=e.theme.spacing.baseUnit;return Z({maxHeight:a,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:i,paddingTop:i})},Lm=function(e){var t=e.children,a=e.innerProps,i=e.innerRef,r=e.isMulti;return $("div",K({},Se(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:i},a),t)},gl=function(e,t){var a=e.theme,i=a.spacing.baseUnit,r=a.colors;return Z({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},Rm=gl,_m=gl,Pm=function(e){var t=e.children,a=t===void 0?"No options":t,i=e.innerProps,r=ut(e,bm);return $("div",K({},Se(Z(Z({},r),{},{children:a,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),a)},zm=function(e){var t=e.children,a=t===void 0?"Loading...":t,i=e.innerProps,r=ut(e,ym);return $("div",K({},Se(Z(Z({},r),{},{children:a,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),a)},Om=function(e){var t=e.rect,a=e.offset,i=e.position;return{left:t.left,position:i,top:a,width:t.width,zIndex:1}},Hm=function(e){var t=e.appendTo,a=e.children,i=e.controlElement,r=e.innerProps,n=e.menuPlacement,o=e.menuPosition,l=z.useRef(null),c=z.useRef(null),h=z.useState(dl(n)),d=ct(h,2),u=d[0],g=d[1],p=z.useMemo(function(){return{setPortalPlacement:g}},[]),f=z.useState(null),m=ct(f,2),v=m[0],b=m[1],w=z.useCallback(function(){if(i){var C=um(i),S=o==="fixed"?0:window.pageYOffset,M=C[u]+S;(M!==v?.offset||C.left!==v?.rect.left||C.width!==v?.rect.width)&&b({offset:M,rect:C})}},[i,o,u,v?.offset,v?.rect.left,v?.rect.width]);_s(function(){w()},[w]);var k=z.useCallback(function(){typeof c.current=="function"&&(c.current(),c.current=null),i&&l.current&&(c.current=rm(i,l.current,w,{elementResize:"ResizeObserver"in window}))},[i,w]);_s(function(){k()},[k]);var y=z.useCallback(function(C){l.current=C,k()},[k]);if(!t&&o!=="fixed"||!v)return null;var A=$("div",K({ref:y},Se(Z(Z({},e),{},{offset:v.offset,position:o,rect:v.rect}),"menuPortal",{"menu-portal":!0}),r),a);return $(ul.Provider,{value:p},t?hi.createPortal(A,t):A)},Tm=function(e){var t=e.isDisabled,a=e.isRtl;return{label:"container",direction:a?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},jm=function(e){var t=e.children,a=e.innerProps,i=e.isDisabled,r=e.isRtl;return $("div",K({},Se(e,"container",{"--is-disabled":i,"--is-rtl":r}),a),t)},Em=function(e,t){var a=e.theme.spacing,i=e.isMulti,r=e.hasValue,n=e.selectProps.controlShouldRenderValue;return Z({alignItems:"center",display:i&&r&&n?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(a.baseUnit/2,"px ").concat(a.baseUnit*2,"px")})},Dm=function(e){var t=e.children,a=e.innerProps,i=e.isMulti,r=e.hasValue;return $("div",K({},Se(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":r}),a),t)},Fm=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Bm=function(e){var t=e.children,a=e.innerProps;return $("div",K({},Se(e,"indicatorsContainer",{indicators:!0}),a),t)},cn,Nm=["size"],Vm=["innerProps","isRtl","size"],Xm={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},fl=function(e){var t=e.size,a=ut(e,Nm);return $("svg",K({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Xm},a))},cr=function(e){return $(fl,K({size:20},e),$("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},pl=function(e){return $(fl,K({size:20},e),$("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},xl=function(e,t){var a=e.isFocused,i=e.theme,r=i.spacing.baseUnit,n=i.colors;return Z({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:a?n.neutral60:n.neutral20,padding:r*2,":hover":{color:a?n.neutral80:n.neutral40}})},Ym=xl,Wm=function(e){var t=e.children,a=e.innerProps;return $("div",K({},Se(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),a),t||$(pl,null))},Gm=xl,$m=function(e){var t=e.children,a=e.innerProps;return $("div",K({},Se(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),a),t||$(cr,null))},Um=function(e,t){var a=e.isDisabled,i=e.theme,r=i.spacing.baseUnit,n=i.colors;return Z({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:a?n.neutral10:n.neutral20,marginBottom:r*2,marginTop:r*2})},qm=function(e){var t=e.innerProps;return $("span",K({},t,Se(e,"indicatorSeparator",{"indicator-separator":!0})))},Zm=Xx(cn||(cn=Yx([`
|
|
957
957
|
0%, 80%, 100% { opacity: 0; }
|
|
958
958
|
40% { opacity: 1; }
|
|
959
|
-
`]))),qm=function(e,t){var a=e.isFocused,i=e.size,r=e.theme,n=r.colors,o=r.spacing.baseUnit;return Z({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},t?{}:{color:a?n.neutral60:n.neutral20,padding:o*2})},Gi=function(e){var t=e.delay,a=e.offset;return $("span",{css:sr({animation:"".concat(Um," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:a?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Zm=function(e){var t=e.innerProps,a=e.isRtl,i=e.size,r=i===void 0?4:i,n=ut(e,Bm);return $("div",K({},Se(Z(Z({},n),{},{innerProps:t,isRtl:a,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),$(Gi,{delay:0,offset:a}),$(Gi,{delay:160,offset:!0}),$(Gi,{delay:320,offset:!a}))},Km=function(e,t){var a=e.isDisabled,i=e.isFocused,r=e.theme,n=r.colors,o=r.borderRadius,l=r.spacing;return Z({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:a?n.neutral5:n.neutral0,borderColor:a?n.neutral10:i?n.primary:n.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(n.primary):void 0,"&:hover":{borderColor:i?n.primary:n.neutral30}})},Jm=function(e){var t=e.children,a=e.isDisabled,i=e.isFocused,r=e.innerRef,n=e.innerProps,o=e.menuIsOpen;return $("div",K({ref:r},Se(e,"control",{control:!0,"control--is-disabled":a,"control--is-focused":i,"control--menu-is-open":o}),n,{"aria-disabled":a||void 0}),t)},Qm=Jm,ev=["data"],tv=function(e,t){var a=e.theme.spacing;return t?{}:{paddingBottom:a.baseUnit*2,paddingTop:a.baseUnit*2}},av=function(e){var t=e.children,a=e.cx,i=e.getStyles,r=e.getClassNames,n=e.Heading,o=e.headingProps,l=e.innerProps,c=e.label,h=e.theme,d=e.selectProps;return $("div",K({},Se(e,"group",{group:!0}),l),$(n,K({},o,{selectProps:d,theme:h,getStyles:i,getClassNames:r,cx:a}),c),$("div",null,t))},iv=function(e,t){var a=e.theme,i=a.colors,r=a.spacing;return Z({label:"group",cursor:"default",display:"block"},t?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:r.baseUnit*3,paddingRight:r.baseUnit*3,textTransform:"uppercase"})},sv=function(e){var t=ol(e);t.data;var a=ut(t,ev);return $("div",K({},Se(e,"groupHeading",{"group-heading":!0}),a))},rv=av,nv=["innerRef","isDisabled","isHidden","inputClassName"],ov=function(e,t){var a=e.isDisabled,i=e.value,r=e.theme,n=r.spacing,o=r.colors;return Z(Z({visibility:a?"hidden":"visible",transform:i?"translateZ(0)":""},lv),t?{}:{margin:n.baseUnit/2,paddingBottom:n.baseUnit/2,paddingTop:n.baseUnit/2,color:o.neutral80})},xl={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},lv={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Z({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},xl)},cv=function(e){return Z({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},xl)},hv=function(e){var t=e.cx,a=e.value,i=ol(e),r=i.innerRef,n=i.isDisabled,o=i.isHidden,l=i.inputClassName,c=ut(i,nv);return $("div",K({},Se(e,"input",{"input-container":!0}),{"data-value":a||""}),$("input",K({className:t({input:!0},l),ref:r,style:cv(o),disabled:n},c)))},dv=hv,uv=function(e,t){var a=e.theme,i=a.spacing,r=a.borderRadius,n=a.colors;return Z({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:n.neutral10,borderRadius:r/2,margin:i.baseUnit/2})},gv=function(e,t){var a=e.theme,i=a.borderRadius,r=a.colors,n=e.cropWithEllipsis;return Z({overflow:"hidden",textOverflow:n||n===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:i/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},fv=function(e,t){var a=e.theme,i=a.spacing,r=a.borderRadius,n=a.colors,o=e.isFocused;return Z({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:o?n.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:n.dangerLight,color:n.danger}})},ml=function(e){var t=e.children,a=e.innerProps;return $("div",a,t)},pv=ml,xv=ml;function mv(s){var e=s.children,t=s.innerProps;return $("div",K({role:"button"},t),e||$(lr,{size:14}))}var vv=function(e){var t=e.children,a=e.components,i=e.data,r=e.innerProps,n=e.isDisabled,o=e.removeProps,l=e.selectProps,c=a.Container,h=a.Label,d=a.Remove;return $(c,{data:i,innerProps:Z(Z({},Se(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":n})),r),selectProps:l},$(h,{data:i,innerProps:Z({},Se(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),$(d,{data:i,innerProps:Z(Z({},Se(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},o),selectProps:l}))},bv=vv,yv=function(e,t){var a=e.isDisabled,i=e.isFocused,r=e.isSelected,n=e.theme,o=n.spacing,l=n.colors;return Z({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?l.primary:i?l.primary25:"transparent",color:a?l.neutral20:r?l.neutral0:"inherit",padding:"".concat(o.baseUnit*2,"px ").concat(o.baseUnit*3,"px"),":active":{backgroundColor:a?void 0:r?l.primary:l.primary50}})},wv=function(e){var t=e.children,a=e.isDisabled,i=e.isFocused,r=e.isSelected,n=e.innerRef,o=e.innerProps;return $("div",K({},Se(e,"option",{option:!0,"option--is-disabled":a,"option--is-focused":i,"option--is-selected":r}),{ref:n,"aria-disabled":a},o),t)},Cv=wv,kv=function(e,t){var a=e.theme,i=a.spacing,r=a.colors;return Z({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Av=function(e){var t=e.children,a=e.innerProps;return $("div",K({},Se(e,"placeholder",{placeholder:!0}),a),t)},Sv=Av,Mv=function(e,t){var a=e.isDisabled,i=e.theme,r=i.spacing,n=i.colors;return Z({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:a?n.neutral40:n.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},Iv=function(e){var t=e.children,a=e.isDisabled,i=e.innerProps;return $("div",K({},Se(e,"singleValue",{"single-value":!0,"single-value--is-disabled":a}),i),t)},Lv=Iv,Nt={ClearIndicator:Wm,Control:Qm,DropdownIndicator:Xm,DownChevron:fl,CrossIcon:lr,Group:rv,GroupHeading:sv,IndicatorsContainer:Dm,IndicatorSeparator:$m,Input:dv,LoadingIndicator:Zm,Menu:Am,MenuList:Mm,MenuPortal:zm,LoadingMessage:_m,NoOptionsMessage:Rm,MultiValue:bv,MultiValueContainer:pv,MultiValueLabel:xv,MultiValueRemove:mv,Option:Cv,Placeholder:Sv,SelectContainer:Hm,SingleValue:Lv,ValueContainer:jm},Rv=function(e){return Z(Z({},Nt),e.components)},ln=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function _v(s,e){return!!(s===e||ln(s)&&ln(e))}function Pv(s,e){if(s.length!==e.length)return!1;for(var t=0;t<s.length;t++)if(!_v(s[t],e[t]))return!1;return!0}function zv(s,e){e===void 0&&(e=Pv);var t=null;function a(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];if(t&&t.lastThis===this&&e(i,t.lastArgs))return t.lastResult;var n=s.apply(this,i);return t={lastResult:n,lastArgs:i,lastThis:this},n}return a.clear=function(){t=null},a}var Ov={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Hv=function(e){return $("span",K({css:Ov},e))},cn=Hv,Tv={guidance:function(e){var t=e.isSearchable,a=e.isMulti,i=e.tabSelectsValue,r=e.context,n=e.isInitialFocus;switch(r){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return n?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(a?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,a=e.label,i=a===void 0?"":a,r=e.labels,n=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return n?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(e){var t=e.context,a=e.focused,i=e.options,r=e.label,n=r===void 0?"":r,o=e.selectValue,l=e.isDisabled,c=e.isSelected,h=e.isAppleDevice,d=function(f,m){return f&&f.length?"".concat(f.indexOf(m)+1," of ").concat(f.length):""};if(t==="value"&&o)return"value ".concat(n," focused, ").concat(d(o,a),".");if(t==="menu"&&h){var u=l?" disabled":"",g="".concat(c?" selected":"").concat(u);return"".concat(n).concat(g,", ").concat(d(i,a),".")}return""},onFilter:function(e){var t=e.inputValue,a=e.resultsMessage;return"".concat(a).concat(t?" for search term "+t:"",".")}},jv=function(e){var t=e.ariaSelection,a=e.focusedOption,i=e.focusedValue,r=e.focusableOptions,n=e.isFocused,o=e.selectValue,l=e.selectProps,c=e.id,h=e.isAppleDevice,d=l.ariaLiveMessages,u=l.getOptionLabel,g=l.inputValue,p=l.isMulti,f=l.isOptionDisabled,m=l.isSearchable,v=l.menuIsOpen,b=l.options,w=l.screenReaderStatus,k=l.tabSelectsValue,y=l.isLoading,A=l["aria-label"],C=l["aria-live"],S=z.useMemo(function(){return Z(Z({},Tv),d||{})},[d]),M=z.useMemo(function(){var H="";if(t&&S.onChange){var T=t.option,D=t.options,B=t.removedValue,X=t.removedValues,Y=t.value,W=function(ae){return Array.isArray(ae)?null:ae},U=B||T||W(Y),re=U?u(U):"",J=D||X||void 0,xe=J?J.map(u):[],Q=Z({isDisabled:U&&f(U,o),label:re,labels:xe},t);H=S.onChange(Q)}return H},[t,S,f,o,u]),I=z.useMemo(function(){var H="",T=a||i,D=!!(a&&o&&o.includes(a));if(T&&S.onFocus){var B={focused:T,label:u(T),isDisabled:f(T,o),isSelected:D,options:r,context:T===a?"menu":"value",selectValue:o,isAppleDevice:h};H=S.onFocus(B)}return H},[a,i,u,f,S,r,o,h]),R=z.useMemo(function(){var H="";if(v&&b.length&&!y&&S.onFilter){var T=w({count:r.length});H=S.onFilter({inputValue:g,resultsMessage:T})}return H},[r,g,v,S,b,w,y]),P=t?.action==="initial-input-focus",_=z.useMemo(function(){var H="";if(S.guidance){var T=i?"value":v?"menu":"input";H=S.guidance({"aria-label":A,context:T,isDisabled:a&&f(a,o),isMulti:p,isSearchable:m,tabSelectsValue:k,isInitialFocus:P})}return H},[A,a,i,p,f,m,v,S,o,k,P]),O=$(z.Fragment,null,$("span",{id:"aria-selection"},M),$("span",{id:"aria-focused"},I),$("span",{id:"aria-results"},R),$("span",{id:"aria-guidance"},_));return $(z.Fragment,null,$(cn,{id:c},P&&O),$(cn,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},n&&!P&&O))},Ev=jv,_s=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Dv=new RegExp("["+_s.map(function(s){return s.letters}).join("")+"]","g"),vl={};for(var $i=0;$i<_s.length;$i++)for(var Ui=_s[$i],qi=0;qi<Ui.letters.length;qi++)vl[Ui.letters[qi]]=Ui.base;var bl=function(e){return e.replace(Dv,function(t){return vl[t]})},Fv=zv(bl),hn=function(e){return e.replace(/^\s+|\s+$/g,"")},Bv=function(e){return"".concat(e.label," ").concat(e.value)},Nv=function(e){return function(t,a){if(t.data.__isNew__)return!0;var i=Z({ignoreCase:!0,ignoreAccents:!0,stringify:Bv,trim:!0,matchFrom:"any"},e),r=i.ignoreCase,n=i.ignoreAccents,o=i.stringify,l=i.trim,c=i.matchFrom,h=l?hn(a):a,d=l?hn(o(t)):o(t);return r&&(h=h.toLowerCase(),d=d.toLowerCase()),n&&(h=Fv(h),d=bl(d)),c==="start"?d.substr(0,h.length)===h:d.indexOf(h)>-1}},Vv=["innerRef"];function Xv(s){var e=s.innerRef,t=ut(s,Vv),a=xm(t,"onExited","in","enter","exit","appear");return $("input",K({ref:e},a,{css:sr({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Yv=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function Wv(s){var e=s.isEnabled,t=s.onBottomArrive,a=s.onBottomLeave,i=s.onTopArrive,r=s.onTopLeave,n=z.useRef(!1),o=z.useRef(!1),l=z.useRef(0),c=z.useRef(null),h=z.useCallback(function(m,v){if(c.current!==null){var b=c.current,w=b.scrollTop,k=b.scrollHeight,y=b.clientHeight,A=c.current,C=v>0,S=k-y-w,M=!1;S>v&&n.current&&(a&&a(m),n.current=!1),C&&o.current&&(r&&r(m),o.current=!1),C&&v>S?(t&&!n.current&&t(m),A.scrollTop=k,M=!0,n.current=!0):!C&&-v>w&&(i&&!o.current&&i(m),A.scrollTop=0,M=!0,o.current=!0),M&&Yv(m)}},[t,a,i,r]),d=z.useCallback(function(m){h(m,m.deltaY)},[h]),u=z.useCallback(function(m){l.current=m.changedTouches[0].clientY},[]),g=z.useCallback(function(m){var v=l.current-m.changedTouches[0].clientY;h(m,v)},[h]),p=z.useCallback(function(m){if(m){var v=gm?{passive:!1}:!1;m.addEventListener("wheel",d,v),m.addEventListener("touchstart",u,v),m.addEventListener("touchmove",g,v)}},[g,u,d]),f=z.useCallback(function(m){m&&(m.removeEventListener("wheel",d,!1),m.removeEventListener("touchstart",u,!1),m.removeEventListener("touchmove",g,!1))},[g,u,d]);return z.useEffect(function(){if(e){var m=c.current;return p(m),function(){f(m)}}},[e,p,f]),function(m){c.current=m}}var dn=["boxSizing","height","overflow","paddingRight","position"],un={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function gn(s){s.cancelable&&s.preventDefault()}function fn(s){s.stopPropagation()}function pn(){var s=this.scrollTop,e=this.scrollHeight,t=s+this.offsetHeight;s===0?this.scrollTop=1:t===e&&(this.scrollTop=s-1)}function xn(){return"ontouchstart"in window||navigator.maxTouchPoints}var mn=!!(typeof window<"u"&&window.document&&window.document.createElement),sa=0,Bt={capture:!1,passive:!1};function Gv(s){var e=s.isEnabled,t=s.accountForScrollbars,a=t===void 0?!0:t,i=z.useRef({}),r=z.useRef(null),n=z.useCallback(function(l){if(mn){var c=document.body,h=c&&c.style;if(a&&dn.forEach(function(p){var f=h&&h[p];i.current[p]=f}),a&&sa<1){var d=parseInt(i.current.paddingRight,10)||0,u=document.body?document.body.clientWidth:0,g=window.innerWidth-u+d||0;Object.keys(un).forEach(function(p){var f=un[p];h&&(h[p]=f)}),h&&(h.paddingRight="".concat(g,"px"))}c&&xn()&&(c.addEventListener("touchmove",gn,Bt),l&&(l.addEventListener("touchstart",pn,Bt),l.addEventListener("touchmove",fn,Bt))),sa+=1}},[a]),o=z.useCallback(function(l){if(mn){var c=document.body,h=c&&c.style;sa=Math.max(sa-1,0),a&&sa<1&&dn.forEach(function(d){var u=i.current[d];h&&(h[d]=u)}),c&&xn()&&(c.removeEventListener("touchmove",gn,Bt),l&&(l.removeEventListener("touchstart",pn,Bt),l.removeEventListener("touchmove",fn,Bt)))}},[a]);return z.useEffect(function(){if(e){var l=r.current;return n(l),function(){o(l)}}},[e,n,o]),function(l){r.current=l}}var $v=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Uv={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function qv(s){var e=s.children,t=s.lockEnabled,a=s.captureEnabled,i=a===void 0?!0:a,r=s.onBottomArrive,n=s.onBottomLeave,o=s.onTopArrive,l=s.onTopLeave,c=Wv({isEnabled:i,onBottomArrive:r,onBottomLeave:n,onTopArrive:o,onTopLeave:l}),h=Gv({isEnabled:t}),d=function(g){c(g),h(g)};return $(z.Fragment,null,t&&$("div",{onClick:$v,css:Uv}),e(d))}var Zv={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Kv=function(e){var t=e.name,a=e.onFocus;return $("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:a,css:Zv,value:"",onChange:function(){}})},Jv=Kv;function cr(s){var e;return typeof window<"u"&&window.navigator!=null?s.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function Qv(){return cr(/^iPhone/i)}function yl(){return cr(/^Mac/i)}function eb(){return cr(/^iPad/i)||yl()&&navigator.maxTouchPoints>1}function tb(){return Qv()||eb()}function ab(){return yl()||tb()}var ib=function(e){return e.label},sb=function(e){return e.label},rb=function(e){return e.value},nb=function(e){return!!e.isDisabled},ob={clearIndicator:Ym,container:Om,control:Km,dropdownIndicator:Vm,group:tv,groupHeading:iv,indicatorsContainer:Em,indicatorSeparator:Gm,input:ov,loadingIndicator:qm,loadingMessage:Lm,menu:wm,menuList:Sm,menuPortal:Pm,multiValue:uv,multiValueLabel:gv,multiValueRemove:fv,noOptionsMessage:Im,option:yv,placeholder:kv,singleValue:Mv,valueContainer:Tm},lb={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},cb=4,wl=4,hb=38,db=wl*2,ub={baseUnit:wl,controlHeight:hb,menuGutter:db},Zi={borderRadius:cb,colors:lb,spacing:ub},gb={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:nn(),captureMenuScroll:!nn(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Nv(),formatGroupLabel:ib,getOptionLabel:sb,getOptionValue:rb,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:nb,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!dm(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(t!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function vn(s,e,t,a){var i=Al(s,e,t),r=Sl(s,e,t),n=kl(s,e),o=ci(s,e);return{type:"option",data:e,isDisabled:i,isSelected:r,label:n,value:o,index:a}}function qa(s,e){return s.options.map(function(t,a){if("options"in t){var i=t.options.map(function(n,o){return vn(s,n,e,o)}).filter(function(n){return yn(s,n)});return i.length>0?{type:"group",data:t,options:i,index:a}:void 0}var r=vn(s,t,e,a);return yn(s,r)?r:void 0}).filter(fm)}function Cl(s){return s.reduce(function(e,t){return t.type==="group"?e.push.apply(e,Qs(t.options.map(function(a){return a.data}))):e.push(t.data),e},[])}function bn(s,e){return s.reduce(function(t,a){return a.type==="group"?t.push.apply(t,Qs(a.options.map(function(i){return{data:i.data,id:"".concat(e,"-").concat(a.index,"-").concat(i.index)}}))):t.push({data:a.data,id:"".concat(e,"-").concat(a.index)}),t},[])}function fb(s,e){return Cl(qa(s,e))}function yn(s,e){var t=s.inputValue,a=t===void 0?"":t,i=e.data,r=e.isSelected,n=e.label,o=e.value;return(!Il(s)||!r)&&Ml(s,{label:n,value:o,data:i},a)}function pb(s,e){var t=s.focusedValue,a=s.selectValue,i=a.indexOf(t);if(i>-1){var r=e.indexOf(t);if(r>-1)return t;if(i<e.length)return e[i]}return null}function xb(s,e){var t=s.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}var Ki=function(e,t){var a,i=(a=e.find(function(r){return r.data===t}))===null||a===void 0?void 0:a.id;return i||null},kl=function(e,t){return e.getOptionLabel(t)},ci=function(e,t){return e.getOptionValue(t)};function Al(s,e,t){return typeof s.isOptionDisabled=="function"?s.isOptionDisabled(e,t):!1}function Sl(s,e,t){if(t.indexOf(e)>-1)return!0;if(typeof s.isOptionSelected=="function")return s.isOptionSelected(e,t);var a=ci(s,e);return t.some(function(i){return ci(s,i)===a})}function Ml(s,e,t){return s.filterOption?s.filterOption(e,t):!0}var Il=function(e){var t=e.hideSelectedOptions,a=e.isMulti;return t===void 0?a:t},mb=1,Ll=(function(s){Dp(t,s);var e=Np(t);function t(a){var i;if(jp(this,t),i=e.call(this,a),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(l){i.controlRef=l},i.focusedOptionRef=null,i.getFocusedOptionRef=function(l){i.focusedOptionRef=l},i.menuListRef=null,i.getMenuListRef=function(l){i.menuListRef=l},i.inputRef=null,i.getInputRef=function(l){i.inputRef=l},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(l,c){var h=i.props,d=h.onChange,u=h.name;c.name=u,i.ariaOnChange(l,c),d(l,c)},i.setValue=function(l,c,h){var d=i.props,u=d.closeMenuOnSelect,g=d.isMulti,p=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:p}),u&&(i.setState({inputIsHiddenAfterUpdate:!g}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(l,{action:c,option:h})},i.selectOption=function(l){var c=i.props,h=c.blurInputOnSelect,d=c.isMulti,u=c.name,g=i.state.selectValue,p=d&&i.isOptionSelected(l,g),f=i.isOptionDisabled(l,g);if(p){var m=i.getOptionValue(l);i.setValue(g.filter(function(v){return i.getOptionValue(v)!==m}),"deselect-option",l)}else if(!f)d?i.setValue([].concat(Qs(g),[l]),"select-option",l):i.setValue(l,"select-option");else{i.ariaOnChange(l,{action:"select-option",option:l,name:u});return}h&&i.blurInput()},i.removeValue=function(l){var c=i.props.isMulti,h=i.state.selectValue,d=i.getOptionValue(l),u=h.filter(function(p){return i.getOptionValue(p)!==d}),g=Ea(c,u,u[0]||null);i.onChange(g,{action:"remove-value",removedValue:l}),i.focusInput()},i.clearValue=function(){var l=i.state.selectValue;i.onChange(Ea(i.props.isMulti,[],null),{action:"clear",removedValues:l})},i.popValue=function(){var l=i.props.isMulti,c=i.state.selectValue,h=c[c.length-1],d=c.slice(0,c.length-1),u=Ea(l,d,d[0]||null);h&&i.onChange(u,{action:"pop-value",removedValue:h})},i.getFocusedOptionId=function(l){return Ki(i.state.focusableOptionsWithIds,l)},i.getFocusableOptionsWithIds=function(){return bn(qa(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];return nm.apply(void 0,[i.props.classNamePrefix].concat(c))},i.getOptionLabel=function(l){return kl(i.props,l)},i.getOptionValue=function(l){return ci(i.props,l)},i.getStyles=function(l,c){var h=i.props.unstyled,d=ob[l](c,h);d.boxSizing="border-box";var u=i.props.styles[l];return u?u(d,c):d},i.getClassNames=function(l,c){var h,d;return(h=(d=i.props.classNames)[l])===null||h===void 0?void 0:h.call(d,c)},i.getElementId=function(l){return"".concat(i.state.instancePrefix,"-").concat(l)},i.getComponents=function(){return Rv(i.props)},i.buildCategorizedOptions=function(){return qa(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Cl(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(l,c){i.setState({ariaSelection:Z({value:l},c)})},i.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(l){i.blockOptionHover=!1},i.onControlMouseDown=function(l){if(!l.defaultPrevented){var c=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&i.onMenuClose():c&&i.openMenu("first"):(c&&(i.openAfterFocus=!0),i.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},i.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!i.props.isDisabled){var c=i.props,h=c.isMulti,d=c.menuIsOpen;i.focusInput(),d?(i.setState({inputIsHiddenAfterUpdate:!h}),i.onMenuClose()):i.openMenu("first"),l.preventDefault()}},i.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(i.clearValue(),l.preventDefault(),i.openAfterFocus=!1,l.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(l){typeof i.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&mi(l.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(l)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(l){var c=l.touches,h=c&&c.item(0);h&&(i.initialTouchX=h.clientX,i.initialTouchY=h.clientY,i.userIsDragging=!1)},i.onTouchMove=function(l){var c=l.touches,h=c&&c.item(0);if(h){var d=Math.abs(h.clientX-i.initialTouchX),u=Math.abs(h.clientY-i.initialTouchY),g=5;i.userIsDragging=d>g||u>g}},i.onTouchEnd=function(l){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(l.target)&&i.menuListRef&&!i.menuListRef.contains(l.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(l){i.userIsDragging||i.onControlMouseDown(l)},i.onClearIndicatorTouchEnd=function(l){i.userIsDragging||i.onClearIndicatorMouseDown(l)},i.onDropdownIndicatorTouchEnd=function(l){i.userIsDragging||i.onDropdownIndicatorMouseDown(l)},i.handleInputChange=function(l){var c=i.props.inputValue,h=l.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(h,{action:"input-change",prevInputValue:c}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(l){i.props.onFocus&&i.props.onFocus(l),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(l){var c=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(l),i.onInputChange("",{action:"input-blur",prevInputValue:c}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(l){if(!(i.blockOptionHover||i.state.focusedOption===l)){var c=i.getFocusableOptions(),h=c.indexOf(l);i.setState({focusedOption:l,focusedOptionId:h>-1?i.getFocusedOptionId(l):null})}},i.shouldHideSelectedOptions=function(){return Il(i.props)},i.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),i.focus()},i.onKeyDown=function(l){var c=i.props,h=c.isMulti,d=c.backspaceRemovesValue,u=c.escapeClearsValue,g=c.inputValue,p=c.isClearable,f=c.isDisabled,m=c.menuIsOpen,v=c.onKeyDown,b=c.tabSelectsValue,w=c.openMenuOnFocus,k=i.state,y=k.focusedOption,A=k.focusedValue,C=k.selectValue;if(!f&&!(typeof v=="function"&&(v(l),l.defaultPrevented))){switch(i.blockOptionHover=!0,l.key){case"ArrowLeft":if(!h||g)return;i.focusValue("previous");break;case"ArrowRight":if(!h||g)return;i.focusValue("next");break;case"Delete":case"Backspace":if(g)return;if(A)i.removeValue(A);else{if(!d)return;h?i.popValue():p&&i.clearValue()}break;case"Tab":if(i.isComposing||l.shiftKey||!m||!b||!y||w&&i.isOptionSelected(y,C))return;i.selectOption(y);break;case"Enter":if(l.keyCode===229)break;if(m){if(!y||i.isComposing)return;i.selectOption(y);break}return;case"Escape":m?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:g}),i.onMenuClose()):p&&u&&i.clearValue();break;case" ":if(g)return;if(!m){i.openMenu("first");break}if(!y)return;i.selectOption(y);break;case"ArrowUp":m?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":m?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!m)return;i.focusOption("pageup");break;case"PageDown":if(!m)return;i.focusOption("pagedown");break;case"Home":if(!m)return;i.focusOption("first");break;case"End":if(!m)return;i.focusOption("last");break;default:return}l.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++mb),i.state.selectValue=sn(a.value),a.menuIsOpen&&i.state.selectValue.length){var r=i.getFocusableOptionsWithIds(),n=i.buildFocusableOptions(),o=n.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=r,i.state.focusedOption=n[o],i.state.focusedOptionId=Ki(r,n[o])}return i}return Ep(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&rn(this.menuListRef,this.focusedOptionRef),ab()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(i){var r=this.props,n=r.isDisabled,o=r.menuIsOpen,l=this.state.isFocused;(l&&!n&&i.isDisabled||l&&o&&!i.menuIsOpen)&&this.focusInput(),l&&n&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!n&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(rn(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,r){this.props.onInputChange(i,r)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var r=this,n=this.state,o=n.selectValue,l=n.isFocused,c=this.buildFocusableOptions(),h=i==="first"?0:c.length-1;if(!this.props.isMulti){var d=c.indexOf(o[0]);d>-1&&(h=d)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[h],focusedOptionId:this.getFocusedOptionId(c[h])},function(){return r.onMenuOpen()})}},{key:"focusValue",value:function(i){var r=this.state,n=r.selectValue,o=r.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=n.indexOf(o);o||(l=-1);var c=n.length-1,h=-1;if(n.length){switch(i){case"previous":l===0?h=0:l===-1?h=c:h=l-1;break;case"next":l>-1&&l<c&&(h=l+1);break}this.setState({inputIsHidden:h!==-1,focusedValue:n[h]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",r=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var l=0,c=o.indexOf(n);n||(c=-1),i==="up"?l=c>0?c-1:o.length-1:i==="down"?l=(c+1)%o.length:i==="pageup"?(l=c-r,l<0&&(l=0)):i==="pagedown"?(l=c+r,l>o.length-1&&(l=o.length-1)):i==="last"&&(l=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[l],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[l])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Zi):Z(Z({},Zi),this.props.theme):Zi})},{key:"getCommonProps",value:function(){var i=this.clearValue,r=this.cx,n=this.getStyles,o=this.getClassNames,l=this.getValue,c=this.selectOption,h=this.setValue,d=this.props,u=d.isMulti,g=d.isRtl,p=d.options,f=this.hasValue();return{clearValue:i,cx:r,getStyles:n,getClassNames:o,getValue:l,hasValue:f,isMulti:u,isRtl:g,options:p,selectOption:c,selectProps:d,setValue:h,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,r=i.isClearable,n=i.isMulti;return r===void 0?n:r}},{key:"isOptionDisabled",value:function(i,r){return Al(this.props,i,r)}},{key:"isOptionSelected",value:function(i,r){return Sl(this.props,i,r)}},{key:"filterOption",value:function(i,r){return Ml(this.props,i,r)}},{key:"formatOptionLabel",value:function(i,r){if(typeof this.props.formatOptionLabel=="function"){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(i,{context:r,inputValue:n,selectValue:o})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var i=this.props,r=i.isDisabled,n=i.isSearchable,o=i.inputId,l=i.inputValue,c=i.tabIndex,h=i.form,d=i.menuIsOpen,u=i.required,g=this.getComponents(),p=g.Input,f=this.state,m=f.inputIsHidden,v=f.ariaSelection,b=this.commonProps,w=o||this.getElementId("input"),k=Z(Z(Z({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?v?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?ie.createElement(p,K({},b,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:w,innerRef:this.getInputRef,isDisabled:r,isHidden:m,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:h,type:"text",value:l},k)):ie.createElement(Xv,K({id:w,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:oi,onFocus:this.onInputFocus,disabled:r,tabIndex:c,inputMode:"none",form:h,value:""},k))})},{key:"renderPlaceholderOrValue",value:function(){var i=this,r=this.getComponents(),n=r.MultiValue,o=r.MultiValueContainer,l=r.MultiValueLabel,c=r.MultiValueRemove,h=r.SingleValue,d=r.Placeholder,u=this.commonProps,g=this.props,p=g.controlShouldRenderValue,f=g.isDisabled,m=g.isMulti,v=g.inputValue,b=g.placeholder,w=this.state,k=w.selectValue,y=w.focusedValue,A=w.isFocused;if(!this.hasValue()||!p)return v?null:ie.createElement(d,K({},u,{key:"placeholder",isDisabled:f,isFocused:A,innerProps:{id:this.getElementId("placeholder")}}),b);if(m)return k.map(function(S,M){var I=S===y,R="".concat(i.getOptionLabel(S),"-").concat(i.getOptionValue(S));return ie.createElement(n,K({},u,{components:{Container:o,Label:l,Remove:c},isFocused:I,isDisabled:f,key:R,index:M,removeProps:{onClick:function(){return i.removeValue(S)},onTouchEnd:function(){return i.removeValue(S)},onMouseDown:function(_){_.preventDefault()}},data:S}),i.formatOptionLabel(S,"value"))});if(v)return null;var C=k[0];return ie.createElement(h,K({},u,{data:C,isDisabled:f}),this.formatOptionLabel(C,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),r=i.ClearIndicator,n=this.commonProps,o=this.props,l=o.isDisabled,c=o.isLoading,h=this.state.isFocused;if(!this.isClearable()||!r||l||!this.hasValue()||c)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ie.createElement(r,K({},n,{innerProps:d,isFocused:h}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),r=i.LoadingIndicator,n=this.commonProps,o=this.props,l=o.isDisabled,c=o.isLoading,h=this.state.isFocused;if(!r||!c)return null;var d={"aria-hidden":"true"};return ie.createElement(r,K({},n,{innerProps:d,isDisabled:l,isFocused:h}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),r=i.DropdownIndicator,n=i.IndicatorSeparator;if(!r||!n)return null;var o=this.commonProps,l=this.props.isDisabled,c=this.state.isFocused;return ie.createElement(n,K({},o,{isDisabled:l,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),r=i.DropdownIndicator;if(!r)return null;var n=this.commonProps,o=this.props.isDisabled,l=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ie.createElement(r,K({},n,{innerProps:c,isDisabled:o,isFocused:l}))}},{key:"renderMenu",value:function(){var i=this,r=this.getComponents(),n=r.Group,o=r.GroupHeading,l=r.Menu,c=r.MenuList,h=r.MenuPortal,d=r.LoadingMessage,u=r.NoOptionsMessage,g=r.Option,p=this.commonProps,f=this.state.focusedOption,m=this.props,v=m.captureMenuScroll,b=m.inputValue,w=m.isLoading,k=m.loadingMessage,y=m.minMenuHeight,A=m.maxMenuHeight,C=m.menuIsOpen,S=m.menuPlacement,M=m.menuPosition,I=m.menuPortalTarget,R=m.menuShouldBlockScroll,P=m.menuShouldScrollIntoView,_=m.noOptionsMessage,O=m.onMenuScrollToTop,H=m.onMenuScrollToBottom;if(!C)return null;var T=function(re,J){var xe=re.type,Q=re.data,ee=re.isDisabled,ae=re.isSelected,ye=re.label,Ce=re.value,Ie=f===Q,gt=ee?void 0:function(){return i.onOptionHover(Q)},_e=ee?void 0:function(){return i.selectOption(Q)},Ge="".concat(i.getElementId("option"),"-").concat(J),vi={id:Ge,onClick:_e,onMouseMove:gt,onMouseOver:gt,tabIndex:-1,role:"option","aria-selected":i.state.isAppleDevice?void 0:ae};return ie.createElement(g,K({},p,{innerProps:vi,data:Q,isDisabled:ee,isSelected:ae,key:Ge,label:ye,type:xe,value:Ce,isFocused:Ie,innerRef:Ie?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(re.data,"menu"))},D;if(this.hasOptions())D=this.getCategorizedOptions().map(function(U){if(U.type==="group"){var re=U.data,J=U.options,xe=U.index,Q="".concat(i.getElementId("group"),"-").concat(xe),ee="".concat(Q,"-heading");return ie.createElement(n,K({},p,{key:Q,data:re,options:J,Heading:o,headingProps:{id:ee,data:U.data},label:i.formatGroupLabel(U.data)}),U.options.map(function(ae){return T(ae,"".concat(xe,"-").concat(ae.index))}))}else if(U.type==="option")return T(U,"".concat(U.index))});else if(w){var B=k({inputValue:b});if(B===null)return null;D=ie.createElement(d,p,B)}else{var X=_({inputValue:b});if(X===null)return null;D=ie.createElement(u,p,X)}var Y={minMenuHeight:y,maxMenuHeight:A,menuPlacement:S,menuPosition:M,menuShouldScrollIntoView:P},W=ie.createElement(Cm,K({},p,Y),function(U){var re=U.ref,J=U.placerProps,xe=J.placement,Q=J.maxHeight;return ie.createElement(l,K({},p,Y,{innerRef:re,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:w,placement:xe}),ie.createElement(qv,{captureEnabled:v,onTopArrive:O,onBottomArrive:H,lockEnabled:R},function(ee){return ie.createElement(c,K({},p,{innerRef:function(ye){i.getMenuListRef(ye),ee(ye)},innerProps:{role:"listbox","aria-multiselectable":p.isMulti,id:i.getElementId("listbox")},isLoading:w,maxHeight:Q,focusedOption:f}),D)}))});return I||M==="fixed"?ie.createElement(h,K({},p,{appendTo:I,controlElement:this.controlRef,menuPlacement:S,menuPosition:M}),W):W}},{key:"renderFormField",value:function(){var i=this,r=this.props,n=r.delimiter,o=r.isDisabled,l=r.isMulti,c=r.name,h=r.required,d=this.state.selectValue;if(h&&!this.hasValue()&&!o)return ie.createElement(Jv,{name:c,onFocus:this.onValueInputFocus});if(!(!c||o))if(l)if(n){var u=d.map(function(f){return i.getOptionValue(f)}).join(n);return ie.createElement("input",{name:c,type:"hidden",value:u})}else{var g=d.length>0?d.map(function(f,m){return ie.createElement("input",{key:"i-".concat(m),name:c,type:"hidden",value:i.getOptionValue(f)})}):ie.createElement("input",{name:c,type:"hidden",value:""});return ie.createElement("div",null,g)}else{var p=d[0]?this.getOptionValue(d[0]):"";return ie.createElement("input",{name:c,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,r=this.state,n=r.ariaSelection,o=r.focusedOption,l=r.focusedValue,c=r.isFocused,h=r.selectValue,d=this.getFocusableOptions();return ie.createElement(Ev,K({},i,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:l,isFocused:c,selectValue:h,focusableOptions:d,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),r=i.Control,n=i.IndicatorsContainer,o=i.SelectContainer,l=i.ValueContainer,c=this.props,h=c.className,d=c.id,u=c.isDisabled,g=c.menuIsOpen,p=this.state.isFocused,f=this.commonProps=this.getCommonProps();return ie.createElement(o,K({},f,{className:h,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:p}),this.renderLiveRegion(),ie.createElement(r,K({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:p,menuIsOpen:g}),ie.createElement(l,K({},f,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),ie.createElement(n,K({},f,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,r){var n=r.prevProps,o=r.clearFocusValueOnUpdate,l=r.inputIsHiddenAfterUpdate,c=r.ariaSelection,h=r.isFocused,d=r.prevWasFocused,u=r.instancePrefix,g=i.options,p=i.value,f=i.menuIsOpen,m=i.inputValue,v=i.isMulti,b=sn(p),w={};if(n&&(p!==n.value||g!==n.options||f!==n.menuIsOpen||m!==n.inputValue)){var k=f?fb(i,b):[],y=f?bn(qa(i,b),"".concat(u,"-option")):[],A=o?pb(r,b):null,C=xb(r,k),S=Ki(y,C);w={selectValue:b,focusedOption:C,focusedOptionId:S,focusableOptionsWithIds:y,focusedValue:A,clearFocusValueOnUpdate:!1}}var M=l!=null&&i!==n?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},I=c,R=h&&d;return h&&!R&&(I={value:Ea(v,b,b[0]||null),options:b,action:"initial-input-focus"},R=!d),c?.action==="initial-input-focus"&&(I=null),Z(Z(Z({},w),M),{},{prevProps:i,ariaSelection:I,prevWasFocused:R})}}]),t})(z.Component);Ll.defaultProps=gb;var vb=z.forwardRef(function(s,e){var t=Tp(s);return ie.createElement(Ll,K({ref:e},t))}),bb=vb;const yb="_root_hduur_1",wb="_error_hduur_1",Cb="_menuOpen_hduur_102",kb="_menuClose_hduur_102",Da={root:yb,error:wb,menuOpen:Cb,menuClose:kb},Ab=s=>{const{name:e,isError:t,isLoading:a,disabled:i,...r}=s;return x.jsx(bb,{name:e,isLoading:a,isDisabled:i,className:ne(Da.root,{[Da.error]:t}),classNamePrefix:"uiSelect",components:{Option:n=>x.jsx(Nt.Option,{...n,children:x.jsxs("span",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8},children:[x.jsx("span",{children:n.children}),n.isSelected&&x.jsx(qs,{width:16,height:16,style:{flexShrink:0,opacity:.7}})]})}),DropdownIndicator:n=>x.jsx(Nt.DropdownIndicator,{...n,children:x.jsx("span",{className:ne({[Da.menuOpen]:n.selectProps.menuIsOpen,[Da.menuClose]:!n.selectProps.menuIsOpen}),children:x.jsx(Lo,{width:20,height:20})})}),ClearIndicator:n=>x.jsx(Nt.ClearIndicator,{...n,children:x.jsx(Cs,{width:20,height:20})}),MultiValueRemove:n=>x.jsx(Nt.MultiValueRemove,{...n,children:x.jsx(Cs,{width:16,height:16})}),IndicatorsContainer:n=>x.jsxs(Nt.IndicatorsContainer,{...n,children:[n.selectProps.isLoading?x.jsx(hi,{}):null,n.children]}),LoadingIndicator:()=>null},...r})},Sb="_statCard_1u8jx_1",Mb="_header_1u8jx_7",Ib="_title_1u8jx_13",Lb="_icon_1u8jx_20",Rb="_value_1u8jx_35",_b="_trend_1u8jx_45",Pb="_up_1u8jx_52",zb="_down_1u8jx_55",Ob="_neutral_1u8jx_58",Hb="_trendIcon_1u8jx_62",ot={statCard:Sb,header:Mb,title:Ib,icon:Lb,value:Rb,trend:_b,up:Pb,down:zb,neutral:Ob,trendIcon:Hb},Tb=()=>x.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M6 2L10 7H2L6 2Z",fill:"currentColor"})}),Rl=z.forwardRef(({title:s,value:e,trend:t,trendValue:a,icon:i,variant:r="default",className:n,...o},l)=>x.jsx(es,{ref:l,variant:r,className:n,...o,children:x.jsx(es.Body,{children:x.jsxs("div",{className:ot.statCard,children:[x.jsxs("div",{className:ot.header,children:[x.jsx("p",{className:ot.title,children:s}),i&&x.jsx("div",{className:ot.icon,children:i})]}),x.jsx("p",{className:ot.value,children:e}),t&&x.jsxs("div",{className:ne(ot.trend,ot[t]),children:[t!=="neutral"&&x.jsx("span",{className:ne(ot.trendIcon,t==="down"&&ot.down),children:x.jsx(Tb,{})}),a&&x.jsx("span",{children:a})]})]})})}));Rl.displayName="StatCard";const jb="_wrapper_ii2h9_1",Eb="_disabled_ii2h9_8",Db="_track_ii2h9_13",Fb="_checked_ii2h9_25",Bb="_thumb_ii2h9_32",Nb="_input_ii2h9_47",Vb="_label_ii2h9_61",kt={wrapper:jb,disabled:Eb,track:Db,checked:Fb,thumb:Bb,input:Nb,label:Vb},_l=z.forwardRef(({checked:s=!1,onChange:e,label:t,disabled:a,className:i,id:r,...n},o)=>{const l=z.useId(),c=r??l;return x.jsxs("label",{htmlFor:c,className:ne(kt.wrapper,a&&kt.disabled,i),children:[x.jsx("input",{ref:o,type:"checkbox",role:"switch",id:c,className:kt.input,checked:s,disabled:a,onChange:h=>e?.(h.target.checked),"aria-checked":s,...n}),x.jsx("span",{className:ne(kt.track,s&&kt.checked),children:x.jsx("span",{className:kt.thumb})}),t&&x.jsx("span",{className:kt.label,children:t})]})});_l.displayName="Switch";const Xb="_wrapper_ewy9m_1",Yb="_table_ewy9m_6",Wb="_head_ewy9m_12",Gb="_body_ewy9m_25",$b="_sortButton_ewy9m_40",Ub="_sortIcon_ewy9m_56",qb="_active_ewy9m_76",Zb="_empty_ewy9m_81",Kb="_loading_ewy9m_88",Jb="_filter_ewy9m_93",Qb="_pagination_ewy9m_98",e2="_pageButtons_ewy9m_108",t2="_pageButton_ewy9m_108",a2="_pageSizeSelect_ewy9m_149",Le={wrapper:Xb,table:Yb,head:Wb,body:Gb,sortButton:$b,sortIcon:Ub,active:qb,empty:Zb,loading:Kb,filter:Jb,pagination:Qb,pageButtons:e2,pageButton:t2,pageSizeSelect:a2},i2=({direction:s})=>x.jsx("span",{className:ne(Le.sortIcon,s&&Le.active),children:s==="asc"?x.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:x.jsx("path",{d:"m18 15-6-6-6 6"})}):s==="desc"?x.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:x.jsx("path",{d:"m6 9 6 6 6-6"})}):x.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[x.jsx("path",{d:"m7 15 5 5 5-5"}),x.jsx("path",{d:"m7 9 5-5 5 5"})]})}),Pl=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("thead",{ref:a,className:ne(Le.head,s),...t,children:e}));Pl.displayName="Table.Head";const zl=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("tbody",{ref:a,className:ne(Le.body,s),...t,children:e}));zl.displayName="Table.Body";const Ol=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("tr",{ref:a,className:s,...t,children:e}));Ol.displayName="Table.Row";const Hl=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("td",{ref:a,className:s,...t,children:e}));Hl.displayName="Table.Cell";const Tl=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("th",{ref:a,className:s,...t,children:e}));Tl.displayName="Table.HeadCell";function s2({columns:s,data:e,loading:t,emptyText:a="Veri bulunamadı",filterable:i,filterPlaceholder:r="Filtrele...",pagination:n,pageSize:o=10,pageSizeOptions:l=[5,10,20,50],onSort:c,onFilter:h,className:d,...u},g){const[p,f]=z.useState(null),[m,v]=z.useState(null),[b,w]=z.useState(""),[k,y]=z.useState(1),[A,C]=z.useState(o),S=z.useCallback(_=>{let O;p===_?O=m==="asc"?"desc":m==="desc"?null:"asc":O="asc",f(O?_:null),v(O),c?.(_,O)},[p,m,c]),M=z.useMemo(()=>{if(!i||!b||h)return e;const _=b.toLowerCase();return e.filter(O=>s.some(H=>String(O[H.key]??"").toLowerCase().includes(_)))},[e,i,b,s,h]),I=z.useMemo(()=>!p||!m||c?M:[...M].sort((_,O)=>{const H=_[p],T=O[p];if(H==null||T==null)return 0;const D=H<T?-1:H>T?1:0;return m==="asc"?D:-D}),[M,p,m,c]),R=n?Math.max(1,Math.ceil(I.length/A)):1,P=n?I.slice((k-1)*A,k*A):I;return x.jsxs("div",{ref:g,className:d,...u,children:[i&&x.jsx("div",{className:Le.filter,children:x.jsx(Js,{value:b,onChange:_=>{w(_),y(1),h?.(_)},placeholder:r})}),x.jsx("div",{className:Le.wrapper,children:x.jsxs("table",{className:Le.table,children:[x.jsx("thead",{className:Le.head,children:x.jsx("tr",{children:s.map(_=>x.jsx("th",{children:_.sortable?x.jsxs("button",{type:"button",className:Le.sortButton,onClick:()=>S(_.key),"aria-sort":p===_.key&&m?m==="asc"?"ascending":"descending":"none",children:[_.header,x.jsx(i2,{direction:p===_.key?m:null})]}):_.header},_.key))})}),x.jsx("tbody",{className:Le.body,children:t?x.jsx("tr",{children:x.jsx("td",{colSpan:s.length,className:Le.loading,children:"Loading..."})}):P.length===0?x.jsx("tr",{children:x.jsx("td",{colSpan:s.length,className:Le.empty,children:a})}):P.map((_,O)=>x.jsx("tr",{children:s.map(H=>x.jsx("td",{children:H.render?H.render(_[H.key],_,O):String(_[H.key]??"")},H.key))},O))})]})}),n&&!t&&P.length>0&&x.jsxs("div",{className:Le.pagination,children:[x.jsxs("div",{className:Le.pageSizeSelect,children:[x.jsx("span",{children:"Sayfa boyutu:"}),x.jsx("select",{value:A,onChange:_=>{C(Number(_.target.value)),y(1)},children:l.map(_=>x.jsx("option",{value:_,children:_},_))})]}),x.jsxs("div",{className:Le.pageButtons,children:[x.jsx("button",{type:"button",className:Le.pageButton,disabled:k===1,onClick:()=>y(_=>_-1),children:"‹"}),Array.from({length:R},(_,O)=>O+1).map(_=>x.jsx("button",{type:"button",className:ne(Le.pageButton,_===k&&Le.active),onClick:()=>y(_),children:_},_)),x.jsx("button",{type:"button",className:Le.pageButton,disabled:k===R,onClick:()=>y(_=>_+1),children:"›"})]})]})]})}const r2=Object.assign(z.forwardRef(s2),{Head:Pl,Body:zl,Row:Ol,Cell:Hl,HeadCell:Tl}),n2="_tabList_ypxaz_1",o2="_tab_ypxaz_1",l2="_active_ypxaz_26",c2="_panel_ypxaz_38",Fa={tabList:n2,tab:o2,active:l2,panel:c2},jl=z.forwardRef(({items:s,defaultActiveKey:e,activeKey:t,onChange:a,className:i,...r},n)=>{const[o,l]=z.useState(e??s[0]?.key),c=t??o,{containerRef:h,handleKeyDown:d}=Eo({orientation:"horizontal",itemSelector:'button[role="tab"]:not([disabled])'}),u=z.useCallback(p=>{t||l(p),a?.(p)},[t,a]),g=s.find(p=>p.key===c);return x.jsxs("div",{ref:n,className:i,...r,children:[x.jsx("div",{ref:h,role:"tablist",className:Fa.tabList,onKeyDown:d,children:s.map(p=>x.jsx("button",{role:"tab",type:"button","aria-selected":p.key===c,"aria-controls":`panel-${p.key}`,tabIndex:p.key===c?0:-1,disabled:p.disabled,className:ne(Fa.tab,p.key===c&&Fa.active),onClick:()=>u(p.key),children:p.label},p.key))}),g&&x.jsx("div",{role:"tabpanel",id:`panel-${g.key}`,className:Fa.panel,children:g.content})]})});jl.displayName="Tabs";const h2="_textarea_1d2rf_1",d2="_error_1d2rf_28",Ji={textarea:h2,error:d2},u2=s=>{const{name:e,id:t,isError:a,isLoading:i,...r}=s,n=t||e;return x.jsx("textarea",{id:n,name:e,className:ne(Ji.textarea,{[Ji.error]:a,[Ji.loading]:i}),...r})},g2="_container_cfnxg_1",f2="_toast_cfnxg_14",p2="_slideUp_cfnxg_1",x2="_success_cfnxg_29",m2="_error_cfnxg_34",v2="_warning_cfnxg_39",b2="_info_cfnxg_44",y2="_icon_cfnxg_50",w2="_content_cfnxg_61",C2="_title_cfnxg_69",k2="_description_cfnxg_74",A2="_actions_cfnxg_80",S2="_actionButton_cfnxg_86",M2="_close_cfnxg_110",at={container:g2,toast:f2,slideUp:p2,success:x2,error:m2,warning:v2,info:b2,icon:y2,content:w2,title:C2,description:k2,actions:A2,actionButton:S2,close:M2},I2={success:_o,error:Mo,warning:So,info:Po},El=z.createContext(null);function L2(){const s=z.useContext(El);if(!s)throw new Error("useToast must be used within ToastProvider");return s}const R2=()=>x.jsx("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),_2=({item:s,onRemove:e})=>{const t=z.useRef(void 0),a=z.useRef(!1),i=z.useCallback(()=>{t.current=setTimeout(()=>e(s.id),s.duration)},[s.id,s.duration,e]);z.useEffect(()=>(i(),()=>clearTimeout(t.current)),[i]);const r=I2[s.variant];return x.jsxs("div",{className:ne(at.toast,at[s.variant]),role:"status","aria-live":"polite",onMouseEnter:()=>{a.current=!0,clearTimeout(t.current)},onMouseLeave:()=>{a.current=!1,i()},children:[x.jsx("div",{className:at.icon,children:x.jsx(r,{})}),x.jsxs("div",{className:at.content,children:[x.jsx("div",{className:at.title,children:s.title}),s.description&&x.jsx("div",{className:at.description,children:s.description}),s.action&&x.jsx("div",{className:at.actions,children:x.jsx("button",{type:"button",className:at.actionButton,onClick:()=>{s.action?.onClick(),e(s.id)},children:s.action.label})})]}),x.jsx("button",{type:"button",className:at.close,onClick:()=>e(s.id),"aria-label":"Close",children:x.jsx(R2,{})})]})};let P2=0;const Dl=({children:s})=>{const[e,t]=z.useState([]),a=z.useCallback((n,o,l)=>{const c=String(++P2);t(h=>[...h,{id:c,title:n,description:l?.description,variant:o,duration:l?.duration??5e3,action:l?.action}])},[]),i=z.useCallback(n=>{t(o=>o.filter(l=>l.id!==n))},[]),r={success:(n,o)=>a(n,"success",o),error:(n,o)=>a(n,"error",o),warning:(n,o)=>a(n,"warning",o),info:(n,o)=>a(n,"info",o)};return x.jsxs(El.Provider,{value:r,children:[s,typeof document<"u"&&Ps.createPortal(x.jsx("div",{className:at.container,children:e.map(n=>x.jsx(_2,{item:n,onRemove:i},n.id))}),document.body)]})};Dl.displayName="ToastProvider";const z2="_trigger_19pq5_1",O2="_tooltip_19pq5_5",wn={trigger:z2,tooltip:O2},Ba=8,Fl=z.forwardRef(({content:s,placement:e="top",delayShow:t=200,children:a,className:i},r)=>{const[n,o]=z.useState(!1),[l,c]=z.useState({top:0,left:0}),h=z.useRef(null),d=z.useRef(null),u=z.useRef(void 0),g=z.useId(),p=z.useCallback(()=>{const b=h.current,w=d.current;if(!b||!w)return;const k=b.getBoundingClientRect(),y=w.getBoundingClientRect();let A=0,C=0;switch(e){case"top":A=k.top-y.height-Ba,C=k.left+k.width/2-y.width/2;break;case"bottom":A=k.bottom+Ba,C=k.left+k.width/2-y.width/2;break;case"left":A=k.top+k.height/2-y.height/2,C=k.left-y.width-Ba;break;case"right":A=k.top+k.height/2-y.height/2,C=k.right+Ba;break}A=Math.max(4,Math.min(A,window.innerHeight-y.height-4)),C=Math.max(4,Math.min(C,window.innerWidth-y.width-4)),c({top:A,left:C})},[e]);z.useEffect(()=>{n&&p()},[n,p]);const f=z.useCallback(()=>{u.current=setTimeout(()=>o(!0),t)},[t]),m=z.useCallback(()=>{clearTimeout(u.current),o(!1)},[]),v=z.useCallback(b=>{b.key==="Escape"&&m()},[m]);return x.jsxs(x.Fragment,{children:[x.jsx("div",{ref:b=>{h.current=b,typeof r=="function"?r(b):r&&(r.current=b)},className:wn.trigger,onMouseEnter:f,onMouseLeave:m,onFocus:f,onBlur:m,onKeyDown:v,"aria-describedby":n?g:void 0,children:a}),n&&x.jsx("div",{ref:d,id:g,role:"tooltip",className:`${wn.tooltip} ${i??""}`,style:{top:l.top,left:l.left},children:s})]})});Fl.displayName="Tooltip";const H2="_brandContent_p70zy_1",T2="_title_p70zy_10",j2="_subtitle_p70zy_18",Qi={brandContent:H2,title:T2,subtitle:j2},E2=({title:s,subtitle:e})=>x.jsxs("div",{className:Qi.brandContent,children:[x.jsx(Pt,{variant:"h1",weight:"bold",className:Qi.title,children:s}),e&&x.jsx(Pt,{variant:"h4",weight:"regular",className:Qi.subtitle,children:e})]}),D2="_gridPattern_1vc4w_1",F2="_crosshair_1vc4w_12",B2="_crosshairH_1vc4w_22",N2="_crosshairV_1vc4w_23",V2="_coordinateCircles_1vc4w_45",X2="_circle_1vc4w_54",Y2="_circle1_1vc4w_64",W2="_circle2_1vc4w_69",G2="_circle3_1vc4w_74",$2="_circle4_1vc4w_79",U2="_compassContainer_1vc4w_86",q2="_compassOuter_1vc4w_95",Z2="_directions_1vc4w_109",K2="_direction_1vc4w_109",J2="_directionN_1vc4w_126",Q2="_directionS_1vc4w_134",ey="_directionE_1vc4w_140",ty="_directionW_1vc4w_146",ay="_needle_1vc4w_152",iy="_needleNorth_1vc4w_162",sy="_needleSouth_1vc4w_175",ry="_needleCenter_1vc4w_187",ny="_coordinates_1vc4w_213",oy="_coordTopLeft_1vc4w_221",ly="_coordTopRight_1vc4w_226",cy="_coordBottomLeft_1vc4w_231",hy="_coordBottomRight_1vc4w_236",oe={gridPattern:D2,crosshair:F2,crosshairH:B2,crosshairV:N2,coordinateCircles:V2,circle:X2,circle1:Y2,circle2:W2,circle3:G2,circle4:$2,compassContainer:U2,compassOuter:q2,directions:Z2,direction:K2,directionN:J2,directionS:Q2,directionE:ey,directionW:ty,needle:ay,needleNorth:iy,needleSouth:sy,needleCenter:ry,coordinates:ny,coordTopLeft:oy,coordTopRight:ly,coordBottomLeft:cy,coordBottomRight:hy},dy=({topLeftCoord:s="41.0082° N",topRightCoord:e="28.9784° E",bottomLeftCoord:t="LAT 41.0082",bottomRightCoord:a="LNG 28.9784"})=>x.jsxs(x.Fragment,{children:[x.jsx("div",{className:oe.gridPattern}),x.jsxs("div",{className:oe.crosshair,children:[x.jsx("div",{className:oe.crosshairH}),x.jsx("div",{className:oe.crosshairV})]}),x.jsxs("div",{className:oe.coordinateCircles,children:[x.jsx("div",{className:`${oe.circle} ${oe.circle1}`}),x.jsx("div",{className:`${oe.circle} ${oe.circle2}`}),x.jsx("div",{className:`${oe.circle} ${oe.circle3}`}),x.jsx("div",{className:`${oe.circle} ${oe.circle4}`})]}),x.jsxs("div",{className:oe.compassContainer,children:[x.jsx("div",{className:oe.compassOuter}),x.jsxs("div",{className:oe.directions,children:[x.jsx("span",{className:`${oe.direction} ${oe.directionN}`,children:"N"}),x.jsx("span",{className:`${oe.direction} ${oe.directionS}`,children:"S"}),x.jsx("span",{className:`${oe.direction} ${oe.directionE}`,children:"E"}),x.jsx("span",{className:`${oe.direction} ${oe.directionW}`,children:"W"})]}),x.jsxs("div",{className:oe.needle,children:[x.jsx("div",{className:oe.needleNorth}),x.jsx("div",{className:oe.needleSouth}),x.jsx("div",{className:oe.needleCenter})]})]}),x.jsx("span",{className:`${oe.coordinates} ${oe.coordTopLeft}`,children:s}),x.jsx("span",{className:`${oe.coordinates} ${oe.coordTopRight}`,children:e}),x.jsx("span",{className:`${oe.coordinates} ${oe.coordBottomLeft}`,children:t}),x.jsx("span",{className:`${oe.coordinates} ${oe.coordBottomRight}`,children:a})]});exports.ActivityIcon=qd;exports.Alert=Cn;exports.AlertCircleIcon=So;exports.AlertOctagonIcon=Mo;exports.AlignCenterIcon=Zd;exports.AlignLeftIcon=Kd;exports.AlignRightIcon=Jd;exports.ArrowDownIcon=Qd;exports.ArrowDownLeftIcon=eu;exports.ArrowDownRightIcon=tu;exports.ArrowLeftIcon=au;exports.ArrowRightIcon=iu;exports.ArrowUpIcon=su;exports.ArrowUpLeftIcon=ru;exports.ArrowUpRightIcon=nu;exports.AuthLayout=Ma;exports.Badge=kn;exports.BadgeCheckIcon=ou;exports.BadgeDiscountIcon=lu;exports.BadgeIcon=cu;exports.BarChart=Yd;exports.BarChartAltIcon=hu;exports.BarChartIcon=Io;exports.BasketIcon=du;exports.BasketMinusIcon=uu;exports.BasketPlusIcon=gu;exports.BluetoothIcon=fu;exports.BookmarkIcon=pu;exports.BookmarkMinusIcon=xu;exports.BookmarkPlusIcon=mu;exports.Box=Tc;exports.BoxIcon=vu;exports.BoxsIcon=bu;exports.BrandContent=E2;exports.BuildingAltIcon=yu;exports.BuildingIcon=wu;exports.Button=ih;exports.COLOR=Sn;exports.CalendarAltIcon=Cu;exports.CalendarCheckIcon=ku;exports.CalendarIcon=Au;exports.CalendarMinusIcon=Su;exports.CalendarPlusIcon=Mu;exports.CalendarXIcon=Iu;exports.CameraIcon=Lu;exports.CameraOffIcon=Ru;exports.CameraVideoIcon=_u;exports.CameraVideoOffIcon=Pu;exports.Card=es;exports.CartAddIcon=zu;exports.CartDownloadIcon=Ou;exports.CartIcon=Hu;exports.CashAddIcon=Tu;exports.CashCheckedIcon=ju;exports.CashCrossIcon=Eu;exports.CashIcon=Du;exports.CashMinusIcon=Fu;exports.CheckIcon=qs;exports.Checkbox=Oo;exports.ChevronDownIcon=Lo;exports.ChevronLeftIcon=Ro;exports.ChevronRightIcon=Zs;exports.ChevronUpIcon=Yu;exports.ChevronsDownIcon=Bu;exports.ChevronsLeftIcon=Nu;exports.ChevronsRightIcon=Vu;exports.ChevronsUpIcon=Xu;exports.CircleArrowDownIcon=Wu;exports.CircleArrowLeftIcon=Gu;exports.CircleArrowRightIcon=$u;exports.CircleArrowUpIcon=Uu;exports.CircleCheckIcon=_o;exports.CircleChevronDownIcon=qu;exports.CircleChevronLeftIcon=Zu;exports.CircleChevronRightIcon=Ku;exports.CircleChevronUpIcon=a0;exports.CircleChevronsDownIcon=Ju;exports.CircleChevronsLeftIcon=Qu;exports.CircleChevronsRightIcon=e0;exports.CircleChevronsUpIcon=t0;exports.CircleIcon=i0;exports.CircleMinusIcon=s0;exports.CirclePlusIcon=r0;exports.CircleXIcon=n0;exports.ClinicIcon=o0;exports.ClipboardIcon=l0;exports.ClockIcon=c0;exports.CompassAnimation=dy;exports.Content=kf;exports.CopyIcon=h0;exports.CornerDownLeftIcon=d0;exports.CornerDownRightIcon=u0;exports.CornerLeftDownIcon=g0;exports.CornerLeftUpIcon=f0;exports.CornerRightDownIcon=p0;exports.CornerRightUpIcon=x0;exports.CornerUpLeftIcon=m0;exports.CornerUpRightIcon=v0;exports.CreditCardIcon=b0;exports.CrossIcon=Cs;exports.CustomizeAltIcon=y0;exports.CustomizeIcon=w0;exports.DatePicker=Ho;exports.DesktopIcon=C0;exports.DislikeIcon=k0;exports.DollarIcon=A0;exports.DotsIcon=S0;exports.DotsVerticalIcon=M0;exports.DownloadIcon=I0;exports.EarphoneIcon=L0;exports.EnvelopeIcon=R0;exports.ExportIcon=_0;exports.EyeIcon=P0;exports.EyeOffIcon=z0;exports.FileCheckIcon=O0;exports.FileDocumentIcon=H0;exports.FileIcon=T0;exports.FileMinusIcon=j0;exports.FilePlusIcon=E0;exports.FileXIcon=D0;exports.FolderIcon=F0;exports.FolderMinusIcon=B0;exports.FolderOpenIcon=N0;exports.FolderPlusIcon=V0;exports.FormGroup=$g;exports.GearIcon=X0;exports.GiftIcon=Y0;exports.GlobeIcon=W0;exports.Grid=Jg;exports.GridAltIcon=G0;exports.GridIcon=$0;exports.GridItem=ef;exports.HistoryIcon=U0;exports.HomeIcon=q0;exports.ImgIcon=Z0;exports.ImportIcon=K0;exports.InfoIcon=Po;exports.Input=jo;exports.Label=zo;exports.LaptopIcon=J0;exports.Layout=Mf;exports.LikeIcon=Q0;exports.LineChart=Ud;exports.LineChartDownIcon=e1;exports.LineChartUpIcon=t1;exports.LinkIcon=a1;exports.Loader=hi;exports.LoaderIcon=i1;exports.LockIcon=s1;exports.LockOpenIcon=r1;exports.LoginIcon=n1;exports.LogoutIcon=o1;exports.LoveIcon=l1;exports.MapIcon=c1;exports.MediaIcon=h1;exports.MenuIcon=d1;exports.MessageDotsIcon=u1;exports.MessageFilledIcon=g1;exports.MessageIcon=f1;exports.MicIcon=p1;exports.MicOffIcon=x1;exports.MinusIcon=m1;exports.MobileIcon=v1;exports.Modal=Cp;exports.MoneyWithdrawalIcon=b1;exports.NoImgIcon=y1;exports.NotificationIcon=w1;exports.NotificationOffIcon=C1;exports.OctagonIcon=k1;exports.PenIcon=A1;exports.PhoneIcon=S1;exports.PhoneIncomingIcon=M1;exports.PhoneOffIcon=I1;exports.PhoneOutgoingIcon=L1;exports.PhoneRingingIcon=R1;exports.PieChartAltIcon=_1;exports.PieChartIcon=P1;exports.PinIcon=z1;exports.PlusIcon=O1;exports.PointerIcon=H1;exports.PrinterIcon=T1;exports.QuestionIcon=j1;exports.ReceiptIcon=E1;exports.RefreshIcon=D1;exports.ReloadIcon=F1;exports.RocketIcon=B1;exports.RotateLeftIcon=N1;exports.RotateRightIcon=V1;exports.SIZE=Za;exports.SaveIcon=X1;exports.ScanIcon=Y1;exports.SearchIcon=W1;exports.SearchInput=Js;exports.Select=Ab;exports.SendIcon=G1;exports.ShareIcon=$1;exports.ShopingBagIcon=U1;exports.Sidebar=Vf;exports.SidebarFooter=Rf;exports.SidebarHeader=jf;exports.SidebarMenu=Ff;exports.SidebarUser=sp;exports.SliderAltIcon=q1;exports.SliderIcon=Z1;exports.StarIcon=K1;exports.StatCard=Rl;exports.StoreIcon=J1;exports.Switch=_l;exports.TYPOGRAPHY_VARIANT=Je;exports.Table=r2;exports.TabletIcon=Q1;exports.Tabs=jl;exports.TagIcon=eg;exports.TargetLockIcon=tg;exports.TaskCheckIcon=ag;exports.TaskListIcon=ig;exports.TaskXIcon=sg;exports.Textarea=u2;exports.TimerIcon=rg;exports.ToastProvider=Dl;exports.ToolsIcon=ng;exports.Tooltip=Fl;exports.TrashIcon=og;exports.TruckIcon=lg;exports.Typography=Pt;exports.UploadIcon=cg;exports.UserCheckIcon=hg;exports.UserIcon=dg;exports.UserMinusIcon=ug;exports.UserPlusIcon=gg;exports.UserXIcon=pg;exports.UsersIcon=fg;exports.VolumeDownIcon=xg;exports.VolumeFullIcon=mg;exports.VolumeMuteIcon=vg;exports.VolumeXIcon=bg;exports.WEIGHT=An;exports.WalletIcon=yg;exports.XOctagonIcon=wg;exports.useAriaAnnounce=rp;exports.useChartColors=$s;exports.useChartTheme=Us;exports.useFocusTrap=Ks;exports.useKeyboardNavigation=Eo;exports.useToast=L2;
|
|
959
|
+
`]))),Km=function(e,t){var a=e.isFocused,i=e.size,r=e.theme,n=r.colors,o=r.spacing.baseUnit;return Z({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},t?{}:{color:a?n.neutral60:n.neutral20,padding:o*2})},$i=function(e){var t=e.delay,a=e.offset;return $("span",{css:rr({animation:"".concat(Zm," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:a?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Jm=function(e){var t=e.innerProps,a=e.isRtl,i=e.size,r=i===void 0?4:i,n=ut(e,Vm);return $("div",K({},Se(Z(Z({},n),{},{innerProps:t,isRtl:a,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),$($i,{delay:0,offset:a}),$($i,{delay:160,offset:!0}),$($i,{delay:320,offset:!a}))},Qm=function(e,t){var a=e.isDisabled,i=e.isFocused,r=e.theme,n=r.colors,o=r.borderRadius,l=r.spacing;return Z({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:a?n.neutral5:n.neutral0,borderColor:a?n.neutral10:i?n.primary:n.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(n.primary):void 0,"&:hover":{borderColor:i?n.primary:n.neutral30}})},ev=function(e){var t=e.children,a=e.isDisabled,i=e.isFocused,r=e.innerRef,n=e.innerProps,o=e.menuIsOpen;return $("div",K({ref:r},Se(e,"control",{control:!0,"control--is-disabled":a,"control--is-focused":i,"control--menu-is-open":o}),n,{"aria-disabled":a||void 0}),t)},tv=ev,av=["data"],iv=function(e,t){var a=e.theme.spacing;return t?{}:{paddingBottom:a.baseUnit*2,paddingTop:a.baseUnit*2}},sv=function(e){var t=e.children,a=e.cx,i=e.getStyles,r=e.getClassNames,n=e.Heading,o=e.headingProps,l=e.innerProps,c=e.label,h=e.theme,d=e.selectProps;return $("div",K({},Se(e,"group",{group:!0}),l),$(n,K({},o,{selectProps:d,theme:h,getStyles:i,getClassNames:r,cx:a}),c),$("div",null,t))},rv=function(e,t){var a=e.theme,i=a.colors,r=a.spacing;return Z({label:"group",cursor:"default",display:"block"},t?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:r.baseUnit*3,paddingRight:r.baseUnit*3,textTransform:"uppercase"})},nv=function(e){var t=ll(e);t.data;var a=ut(t,av);return $("div",K({},Se(e,"groupHeading",{"group-heading":!0}),a))},ov=sv,lv=["innerRef","isDisabled","isHidden","inputClassName"],cv=function(e,t){var a=e.isDisabled,i=e.value,r=e.theme,n=r.spacing,o=r.colors;return Z(Z({visibility:a?"hidden":"visible",transform:i?"translateZ(0)":""},hv),t?{}:{margin:n.baseUnit/2,paddingBottom:n.baseUnit/2,paddingTop:n.baseUnit/2,color:o.neutral80})},ml={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},hv={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Z({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ml)},dv=function(e){return Z({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},ml)},uv=function(e){var t=e.cx,a=e.value,i=ll(e),r=i.innerRef,n=i.isDisabled,o=i.isHidden,l=i.inputClassName,c=ut(i,lv);return $("div",K({},Se(e,"input",{"input-container":!0}),{"data-value":a||""}),$("input",K({className:t({input:!0},l),ref:r,style:dv(o),disabled:n},c)))},gv=uv,fv=function(e,t){var a=e.theme,i=a.spacing,r=a.borderRadius,n=a.colors;return Z({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:n.neutral10,borderRadius:r/2,margin:i.baseUnit/2})},pv=function(e,t){var a=e.theme,i=a.borderRadius,r=a.colors,n=e.cropWithEllipsis;return Z({overflow:"hidden",textOverflow:n||n===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:i/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},xv=function(e,t){var a=e.theme,i=a.spacing,r=a.borderRadius,n=a.colors,o=e.isFocused;return Z({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:o?n.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:n.dangerLight,color:n.danger}})},vl=function(e){var t=e.children,a=e.innerProps;return $("div",a,t)},mv=vl,vv=vl;function bv(s){var e=s.children,t=s.innerProps;return $("div",K({role:"button"},t),e||$(cr,{size:14}))}var yv=function(e){var t=e.children,a=e.components,i=e.data,r=e.innerProps,n=e.isDisabled,o=e.removeProps,l=e.selectProps,c=a.Container,h=a.Label,d=a.Remove;return $(c,{data:i,innerProps:Z(Z({},Se(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":n})),r),selectProps:l},$(h,{data:i,innerProps:Z({},Se(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),$(d,{data:i,innerProps:Z(Z({},Se(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},o),selectProps:l}))},wv=yv,Cv=function(e,t){var a=e.isDisabled,i=e.isFocused,r=e.isSelected,n=e.theme,o=n.spacing,l=n.colors;return Z({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?l.primary:i?l.primary25:"transparent",color:a?l.neutral20:r?l.neutral0:"inherit",padding:"".concat(o.baseUnit*2,"px ").concat(o.baseUnit*3,"px"),":active":{backgroundColor:a?void 0:r?l.primary:l.primary50}})},kv=function(e){var t=e.children,a=e.isDisabled,i=e.isFocused,r=e.isSelected,n=e.innerRef,o=e.innerProps;return $("div",K({},Se(e,"option",{option:!0,"option--is-disabled":a,"option--is-focused":i,"option--is-selected":r}),{ref:n,"aria-disabled":a},o),t)},Av=kv,Sv=function(e,t){var a=e.theme,i=a.spacing,r=a.colors;return Z({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Mv=function(e){var t=e.children,a=e.innerProps;return $("div",K({},Se(e,"placeholder",{placeholder:!0}),a),t)},Iv=Mv,Lv=function(e,t){var a=e.isDisabled,i=e.theme,r=i.spacing,n=i.colors;return Z({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:a?n.neutral40:n.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},Rv=function(e){var t=e.children,a=e.isDisabled,i=e.innerProps;return $("div",K({},Se(e,"singleValue",{"single-value":!0,"single-value--is-disabled":a}),i),t)},_v=Rv,Nt={ClearIndicator:$m,Control:tv,DropdownIndicator:Wm,DownChevron:pl,CrossIcon:cr,Group:ov,GroupHeading:nv,IndicatorsContainer:Bm,IndicatorSeparator:qm,Input:gv,LoadingIndicator:Jm,Menu:Mm,MenuList:Lm,MenuPortal:Hm,LoadingMessage:zm,NoOptionsMessage:Pm,MultiValue:wv,MultiValueContainer:mv,MultiValueLabel:vv,MultiValueRemove:bv,Option:Av,Placeholder:Iv,SelectContainer:jm,SingleValue:_v,ValueContainer:Dm},Pv=function(e){return Z(Z({},Nt),e.components)},hn=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function zv(s,e){return!!(s===e||hn(s)&&hn(e))}function Ov(s,e){if(s.length!==e.length)return!1;for(var t=0;t<s.length;t++)if(!zv(s[t],e[t]))return!1;return!0}function Hv(s,e){e===void 0&&(e=Ov);var t=null;function a(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];if(t&&t.lastThis===this&&e(i,t.lastArgs))return t.lastResult;var n=s.apply(this,i);return t={lastResult:n,lastArgs:i,lastThis:this},n}return a.clear=function(){t=null},a}var Tv={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},jv=function(e){return $("span",K({css:Tv},e))},dn=jv,Ev={guidance:function(e){var t=e.isSearchable,a=e.isMulti,i=e.tabSelectsValue,r=e.context,n=e.isInitialFocus;switch(r){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return n?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(a?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,a=e.label,i=a===void 0?"":a,r=e.labels,n=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return n?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(e){var t=e.context,a=e.focused,i=e.options,r=e.label,n=r===void 0?"":r,o=e.selectValue,l=e.isDisabled,c=e.isSelected,h=e.isAppleDevice,d=function(f,m){return f&&f.length?"".concat(f.indexOf(m)+1," of ").concat(f.length):""};if(t==="value"&&o)return"value ".concat(n," focused, ").concat(d(o,a),".");if(t==="menu"&&h){var u=l?" disabled":"",g="".concat(c?" selected":"").concat(u);return"".concat(n).concat(g,", ").concat(d(i,a),".")}return""},onFilter:function(e){var t=e.inputValue,a=e.resultsMessage;return"".concat(a).concat(t?" for search term "+t:"",".")}},Dv=function(e){var t=e.ariaSelection,a=e.focusedOption,i=e.focusedValue,r=e.focusableOptions,n=e.isFocused,o=e.selectValue,l=e.selectProps,c=e.id,h=e.isAppleDevice,d=l.ariaLiveMessages,u=l.getOptionLabel,g=l.inputValue,p=l.isMulti,f=l.isOptionDisabled,m=l.isSearchable,v=l.menuIsOpen,b=l.options,w=l.screenReaderStatus,k=l.tabSelectsValue,y=l.isLoading,A=l["aria-label"],C=l["aria-live"],S=z.useMemo(function(){return Z(Z({},Ev),d||{})},[d]),M=z.useMemo(function(){var H="";if(t&&S.onChange){var T=t.option,D=t.options,B=t.removedValue,X=t.removedValues,Y=t.value,W=function(ae){return Array.isArray(ae)?null:ae},U=B||T||W(Y),re=U?u(U):"",J=D||X||void 0,xe=J?J.map(u):[],Q=Z({isDisabled:U&&f(U,o),label:re,labels:xe},t);H=S.onChange(Q)}return H},[t,S,f,o,u]),I=z.useMemo(function(){var H="",T=a||i,D=!!(a&&o&&o.includes(a));if(T&&S.onFocus){var B={focused:T,label:u(T),isDisabled:f(T,o),isSelected:D,options:r,context:T===a?"menu":"value",selectValue:o,isAppleDevice:h};H=S.onFocus(B)}return H},[a,i,u,f,S,r,o,h]),R=z.useMemo(function(){var H="";if(v&&b.length&&!y&&S.onFilter){var T=w({count:r.length});H=S.onFilter({inputValue:g,resultsMessage:T})}return H},[r,g,v,S,b,w,y]),P=t?.action==="initial-input-focus",_=z.useMemo(function(){var H="";if(S.guidance){var T=i?"value":v?"menu":"input";H=S.guidance({"aria-label":A,context:T,isDisabled:a&&f(a,o),isMulti:p,isSearchable:m,tabSelectsValue:k,isInitialFocus:P})}return H},[A,a,i,p,f,m,v,S,o,k,P]),O=$(z.Fragment,null,$("span",{id:"aria-selection"},M),$("span",{id:"aria-focused"},I),$("span",{id:"aria-results"},R),$("span",{id:"aria-guidance"},_));return $(z.Fragment,null,$(dn,{id:c},P&&O),$(dn,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},n&&!P&&O))},Fv=Dv,Ps=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Bv=new RegExp("["+Ps.map(function(s){return s.letters}).join("")+"]","g"),bl={};for(var Ui=0;Ui<Ps.length;Ui++)for(var qi=Ps[Ui],Zi=0;Zi<qi.letters.length;Zi++)bl[qi.letters[Zi]]=qi.base;var yl=function(e){return e.replace(Bv,function(t){return bl[t]})},Nv=Hv(yl),un=function(e){return e.replace(/^\s+|\s+$/g,"")},Vv=function(e){return"".concat(e.label," ").concat(e.value)},Xv=function(e){return function(t,a){if(t.data.__isNew__)return!0;var i=Z({ignoreCase:!0,ignoreAccents:!0,stringify:Vv,trim:!0,matchFrom:"any"},e),r=i.ignoreCase,n=i.ignoreAccents,o=i.stringify,l=i.trim,c=i.matchFrom,h=l?un(a):a,d=l?un(o(t)):o(t);return r&&(h=h.toLowerCase(),d=d.toLowerCase()),n&&(h=Nv(h),d=yl(d)),c==="start"?d.substr(0,h.length)===h:d.indexOf(h)>-1}},Yv=["innerRef"];function Wv(s){var e=s.innerRef,t=ut(s,Yv),a=vm(t,"onExited","in","enter","exit","appear");return $("input",K({ref:e},a,{css:rr({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Gv=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function $v(s){var e=s.isEnabled,t=s.onBottomArrive,a=s.onBottomLeave,i=s.onTopArrive,r=s.onTopLeave,n=z.useRef(!1),o=z.useRef(!1),l=z.useRef(0),c=z.useRef(null),h=z.useCallback(function(m,v){if(c.current!==null){var b=c.current,w=b.scrollTop,k=b.scrollHeight,y=b.clientHeight,A=c.current,C=v>0,S=k-y-w,M=!1;S>v&&n.current&&(a&&a(m),n.current=!1),C&&o.current&&(r&&r(m),o.current=!1),C&&v>S?(t&&!n.current&&t(m),A.scrollTop=k,M=!0,n.current=!0):!C&&-v>w&&(i&&!o.current&&i(m),A.scrollTop=0,M=!0,o.current=!0),M&&Gv(m)}},[t,a,i,r]),d=z.useCallback(function(m){h(m,m.deltaY)},[h]),u=z.useCallback(function(m){l.current=m.changedTouches[0].clientY},[]),g=z.useCallback(function(m){var v=l.current-m.changedTouches[0].clientY;h(m,v)},[h]),p=z.useCallback(function(m){if(m){var v=pm?{passive:!1}:!1;m.addEventListener("wheel",d,v),m.addEventListener("touchstart",u,v),m.addEventListener("touchmove",g,v)}},[g,u,d]),f=z.useCallback(function(m){m&&(m.removeEventListener("wheel",d,!1),m.removeEventListener("touchstart",u,!1),m.removeEventListener("touchmove",g,!1))},[g,u,d]);return z.useEffect(function(){if(e){var m=c.current;return p(m),function(){f(m)}}},[e,p,f]),function(m){c.current=m}}var gn=["boxSizing","height","overflow","paddingRight","position"],fn={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function pn(s){s.cancelable&&s.preventDefault()}function xn(s){s.stopPropagation()}function mn(){var s=this.scrollTop,e=this.scrollHeight,t=s+this.offsetHeight;s===0?this.scrollTop=1:t===e&&(this.scrollTop=s-1)}function vn(){return"ontouchstart"in window||navigator.maxTouchPoints}var bn=!!(typeof window<"u"&&window.document&&window.document.createElement),sa=0,Bt={capture:!1,passive:!1};function Uv(s){var e=s.isEnabled,t=s.accountForScrollbars,a=t===void 0?!0:t,i=z.useRef({}),r=z.useRef(null),n=z.useCallback(function(l){if(bn){var c=document.body,h=c&&c.style;if(a&&gn.forEach(function(p){var f=h&&h[p];i.current[p]=f}),a&&sa<1){var d=parseInt(i.current.paddingRight,10)||0,u=document.body?document.body.clientWidth:0,g=window.innerWidth-u+d||0;Object.keys(fn).forEach(function(p){var f=fn[p];h&&(h[p]=f)}),h&&(h.paddingRight="".concat(g,"px"))}c&&vn()&&(c.addEventListener("touchmove",pn,Bt),l&&(l.addEventListener("touchstart",mn,Bt),l.addEventListener("touchmove",xn,Bt))),sa+=1}},[a]),o=z.useCallback(function(l){if(bn){var c=document.body,h=c&&c.style;sa=Math.max(sa-1,0),a&&sa<1&&gn.forEach(function(d){var u=i.current[d];h&&(h[d]=u)}),c&&vn()&&(c.removeEventListener("touchmove",pn,Bt),l&&(l.removeEventListener("touchstart",mn,Bt),l.removeEventListener("touchmove",xn,Bt)))}},[a]);return z.useEffect(function(){if(e){var l=r.current;return n(l),function(){o(l)}}},[e,n,o]),function(l){r.current=l}}var qv=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Zv={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Kv(s){var e=s.children,t=s.lockEnabled,a=s.captureEnabled,i=a===void 0?!0:a,r=s.onBottomArrive,n=s.onBottomLeave,o=s.onTopArrive,l=s.onTopLeave,c=$v({isEnabled:i,onBottomArrive:r,onBottomLeave:n,onTopArrive:o,onTopLeave:l}),h=Uv({isEnabled:t}),d=function(g){c(g),h(g)};return $(z.Fragment,null,t&&$("div",{onClick:qv,css:Zv}),e(d))}var Jv={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Qv=function(e){var t=e.name,a=e.onFocus;return $("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:a,css:Jv,value:"",onChange:function(){}})},eb=Qv;function hr(s){var e;return typeof window<"u"&&window.navigator!=null?s.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function tb(){return hr(/^iPhone/i)}function wl(){return hr(/^Mac/i)}function ab(){return hr(/^iPad/i)||wl()&&navigator.maxTouchPoints>1}function ib(){return tb()||ab()}function sb(){return wl()||ib()}var rb=function(e){return e.label},nb=function(e){return e.label},ob=function(e){return e.value},lb=function(e){return!!e.isDisabled},cb={clearIndicator:Gm,container:Tm,control:Qm,dropdownIndicator:Ym,group:iv,groupHeading:rv,indicatorsContainer:Fm,indicatorSeparator:Um,input:cv,loadingIndicator:Km,loadingMessage:_m,menu:km,menuList:Im,menuPortal:Om,multiValue:fv,multiValueLabel:pv,multiValueRemove:xv,noOptionsMessage:Rm,option:Cv,placeholder:Sv,singleValue:Lv,valueContainer:Em},hb={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},db=4,Cl=4,ub=38,gb=Cl*2,fb={baseUnit:Cl,controlHeight:ub,menuGutter:gb},Ki={borderRadius:db,colors:hb,spacing:fb},pb={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ln(),captureMenuScroll:!ln(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Xv(),formatGroupLabel:rb,getOptionLabel:nb,getOptionValue:ob,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:lb,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!gm(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(t!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function yn(s,e,t,a){var i=Sl(s,e,t),r=Ml(s,e,t),n=Al(s,e),o=ci(s,e);return{type:"option",data:e,isDisabled:i,isSelected:r,label:n,value:o,index:a}}function qa(s,e){return s.options.map(function(t,a){if("options"in t){var i=t.options.map(function(n,o){return yn(s,n,e,o)}).filter(function(n){return Cn(s,n)});return i.length>0?{type:"group",data:t,options:i,index:a}:void 0}var r=yn(s,t,e,a);return Cn(s,r)?r:void 0}).filter(xm)}function kl(s){return s.reduce(function(e,t){return t.type==="group"?e.push.apply(e,er(t.options.map(function(a){return a.data}))):e.push(t.data),e},[])}function wn(s,e){return s.reduce(function(t,a){return a.type==="group"?t.push.apply(t,er(a.options.map(function(i){return{data:i.data,id:"".concat(e,"-").concat(a.index,"-").concat(i.index)}}))):t.push({data:a.data,id:"".concat(e,"-").concat(a.index)}),t},[])}function xb(s,e){return kl(qa(s,e))}function Cn(s,e){var t=s.inputValue,a=t===void 0?"":t,i=e.data,r=e.isSelected,n=e.label,o=e.value;return(!Ll(s)||!r)&&Il(s,{label:n,value:o,data:i},a)}function mb(s,e){var t=s.focusedValue,a=s.selectValue,i=a.indexOf(t);if(i>-1){var r=e.indexOf(t);if(r>-1)return t;if(i<e.length)return e[i]}return null}function vb(s,e){var t=s.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}var Ji=function(e,t){var a,i=(a=e.find(function(r){return r.data===t}))===null||a===void 0?void 0:a.id;return i||null},Al=function(e,t){return e.getOptionLabel(t)},ci=function(e,t){return e.getOptionValue(t)};function Sl(s,e,t){return typeof s.isOptionDisabled=="function"?s.isOptionDisabled(e,t):!1}function Ml(s,e,t){if(t.indexOf(e)>-1)return!0;if(typeof s.isOptionSelected=="function")return s.isOptionSelected(e,t);var a=ci(s,e);return t.some(function(i){return ci(s,i)===a})}function Il(s,e,t){return s.filterOption?s.filterOption(e,t):!0}var Ll=function(e){var t=e.hideSelectedOptions,a=e.isMulti;return t===void 0?a:t},bb=1,Rl=(function(s){Bp(t,s);var e=Xp(t);function t(a){var i;if(Dp(this,t),i=e.call(this,a),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(l){i.controlRef=l},i.focusedOptionRef=null,i.getFocusedOptionRef=function(l){i.focusedOptionRef=l},i.menuListRef=null,i.getMenuListRef=function(l){i.menuListRef=l},i.inputRef=null,i.getInputRef=function(l){i.inputRef=l},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(l,c){var h=i.props,d=h.onChange,u=h.name;c.name=u,i.ariaOnChange(l,c),d(l,c)},i.setValue=function(l,c,h){var d=i.props,u=d.closeMenuOnSelect,g=d.isMulti,p=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:p}),u&&(i.setState({inputIsHiddenAfterUpdate:!g}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(l,{action:c,option:h})},i.selectOption=function(l){var c=i.props,h=c.blurInputOnSelect,d=c.isMulti,u=c.name,g=i.state.selectValue,p=d&&i.isOptionSelected(l,g),f=i.isOptionDisabled(l,g);if(p){var m=i.getOptionValue(l);i.setValue(g.filter(function(v){return i.getOptionValue(v)!==m}),"deselect-option",l)}else if(!f)d?i.setValue([].concat(er(g),[l]),"select-option",l):i.setValue(l,"select-option");else{i.ariaOnChange(l,{action:"select-option",option:l,name:u});return}h&&i.blurInput()},i.removeValue=function(l){var c=i.props.isMulti,h=i.state.selectValue,d=i.getOptionValue(l),u=h.filter(function(p){return i.getOptionValue(p)!==d}),g=Da(c,u,u[0]||null);i.onChange(g,{action:"remove-value",removedValue:l}),i.focusInput()},i.clearValue=function(){var l=i.state.selectValue;i.onChange(Da(i.props.isMulti,[],null),{action:"clear",removedValues:l})},i.popValue=function(){var l=i.props.isMulti,c=i.state.selectValue,h=c[c.length-1],d=c.slice(0,c.length-1),u=Da(l,d,d[0]||null);h&&i.onChange(u,{action:"pop-value",removedValue:h})},i.getFocusedOptionId=function(l){return Ji(i.state.focusableOptionsWithIds,l)},i.getFocusableOptionsWithIds=function(){return wn(qa(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];return lm.apply(void 0,[i.props.classNamePrefix].concat(c))},i.getOptionLabel=function(l){return Al(i.props,l)},i.getOptionValue=function(l){return ci(i.props,l)},i.getStyles=function(l,c){var h=i.props.unstyled,d=cb[l](c,h);d.boxSizing="border-box";var u=i.props.styles[l];return u?u(d,c):d},i.getClassNames=function(l,c){var h,d;return(h=(d=i.props.classNames)[l])===null||h===void 0?void 0:h.call(d,c)},i.getElementId=function(l){return"".concat(i.state.instancePrefix,"-").concat(l)},i.getComponents=function(){return Pv(i.props)},i.buildCategorizedOptions=function(){return qa(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return kl(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(l,c){i.setState({ariaSelection:Z({value:l},c)})},i.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(l){i.blockOptionHover=!1},i.onControlMouseDown=function(l){if(!l.defaultPrevented){var c=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&i.onMenuClose():c&&i.openMenu("first"):(c&&(i.openAfterFocus=!0),i.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},i.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!i.props.isDisabled){var c=i.props,h=c.isMulti,d=c.menuIsOpen;i.focusInput(),d?(i.setState({inputIsHiddenAfterUpdate:!h}),i.onMenuClose()):i.openMenu("first"),l.preventDefault()}},i.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(i.clearValue(),l.preventDefault(),i.openAfterFocus=!1,l.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(l){typeof i.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&vi(l.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(l)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(l){var c=l.touches,h=c&&c.item(0);h&&(i.initialTouchX=h.clientX,i.initialTouchY=h.clientY,i.userIsDragging=!1)},i.onTouchMove=function(l){var c=l.touches,h=c&&c.item(0);if(h){var d=Math.abs(h.clientX-i.initialTouchX),u=Math.abs(h.clientY-i.initialTouchY),g=5;i.userIsDragging=d>g||u>g}},i.onTouchEnd=function(l){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(l.target)&&i.menuListRef&&!i.menuListRef.contains(l.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(l){i.userIsDragging||i.onControlMouseDown(l)},i.onClearIndicatorTouchEnd=function(l){i.userIsDragging||i.onClearIndicatorMouseDown(l)},i.onDropdownIndicatorTouchEnd=function(l){i.userIsDragging||i.onDropdownIndicatorMouseDown(l)},i.handleInputChange=function(l){var c=i.props.inputValue,h=l.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(h,{action:"input-change",prevInputValue:c}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(l){i.props.onFocus&&i.props.onFocus(l),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(l){var c=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(l),i.onInputChange("",{action:"input-blur",prevInputValue:c}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(l){if(!(i.blockOptionHover||i.state.focusedOption===l)){var c=i.getFocusableOptions(),h=c.indexOf(l);i.setState({focusedOption:l,focusedOptionId:h>-1?i.getFocusedOptionId(l):null})}},i.shouldHideSelectedOptions=function(){return Ll(i.props)},i.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),i.focus()},i.onKeyDown=function(l){var c=i.props,h=c.isMulti,d=c.backspaceRemovesValue,u=c.escapeClearsValue,g=c.inputValue,p=c.isClearable,f=c.isDisabled,m=c.menuIsOpen,v=c.onKeyDown,b=c.tabSelectsValue,w=c.openMenuOnFocus,k=i.state,y=k.focusedOption,A=k.focusedValue,C=k.selectValue;if(!f&&!(typeof v=="function"&&(v(l),l.defaultPrevented))){switch(i.blockOptionHover=!0,l.key){case"ArrowLeft":if(!h||g)return;i.focusValue("previous");break;case"ArrowRight":if(!h||g)return;i.focusValue("next");break;case"Delete":case"Backspace":if(g)return;if(A)i.removeValue(A);else{if(!d)return;h?i.popValue():p&&i.clearValue()}break;case"Tab":if(i.isComposing||l.shiftKey||!m||!b||!y||w&&i.isOptionSelected(y,C))return;i.selectOption(y);break;case"Enter":if(l.keyCode===229)break;if(m){if(!y||i.isComposing)return;i.selectOption(y);break}return;case"Escape":m?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:g}),i.onMenuClose()):p&&u&&i.clearValue();break;case" ":if(g)return;if(!m){i.openMenu("first");break}if(!y)return;i.selectOption(y);break;case"ArrowUp":m?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":m?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!m)return;i.focusOption("pageup");break;case"PageDown":if(!m)return;i.focusOption("pagedown");break;case"Home":if(!m)return;i.focusOption("first");break;case"End":if(!m)return;i.focusOption("last");break;default:return}l.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++bb),i.state.selectValue=nn(a.value),a.menuIsOpen&&i.state.selectValue.length){var r=i.getFocusableOptionsWithIds(),n=i.buildFocusableOptions(),o=n.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=r,i.state.focusedOption=n[o],i.state.focusedOptionId=Ji(r,n[o])}return i}return Fp(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&on(this.menuListRef,this.focusedOptionRef),sb()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(i){var r=this.props,n=r.isDisabled,o=r.menuIsOpen,l=this.state.isFocused;(l&&!n&&i.isDisabled||l&&o&&!i.menuIsOpen)&&this.focusInput(),l&&n&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!n&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(on(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,r){this.props.onInputChange(i,r)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var r=this,n=this.state,o=n.selectValue,l=n.isFocused,c=this.buildFocusableOptions(),h=i==="first"?0:c.length-1;if(!this.props.isMulti){var d=c.indexOf(o[0]);d>-1&&(h=d)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[h],focusedOptionId:this.getFocusedOptionId(c[h])},function(){return r.onMenuOpen()})}},{key:"focusValue",value:function(i){var r=this.state,n=r.selectValue,o=r.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=n.indexOf(o);o||(l=-1);var c=n.length-1,h=-1;if(n.length){switch(i){case"previous":l===0?h=0:l===-1?h=c:h=l-1;break;case"next":l>-1&&l<c&&(h=l+1);break}this.setState({inputIsHidden:h!==-1,focusedValue:n[h]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",r=this.props.pageSize,n=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var l=0,c=o.indexOf(n);n||(c=-1),i==="up"?l=c>0?c-1:o.length-1:i==="down"?l=(c+1)%o.length:i==="pageup"?(l=c-r,l<0&&(l=0)):i==="pagedown"?(l=c+r,l>o.length-1&&(l=o.length-1)):i==="last"&&(l=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[l],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[l])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Ki):Z(Z({},Ki),this.props.theme):Ki})},{key:"getCommonProps",value:function(){var i=this.clearValue,r=this.cx,n=this.getStyles,o=this.getClassNames,l=this.getValue,c=this.selectOption,h=this.setValue,d=this.props,u=d.isMulti,g=d.isRtl,p=d.options,f=this.hasValue();return{clearValue:i,cx:r,getStyles:n,getClassNames:o,getValue:l,hasValue:f,isMulti:u,isRtl:g,options:p,selectOption:c,selectProps:d,setValue:h,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,r=i.isClearable,n=i.isMulti;return r===void 0?n:r}},{key:"isOptionDisabled",value:function(i,r){return Sl(this.props,i,r)}},{key:"isOptionSelected",value:function(i,r){return Ml(this.props,i,r)}},{key:"filterOption",value:function(i,r){return Il(this.props,i,r)}},{key:"formatOptionLabel",value:function(i,r){if(typeof this.props.formatOptionLabel=="function"){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(i,{context:r,inputValue:n,selectValue:o})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var i=this.props,r=i.isDisabled,n=i.isSearchable,o=i.inputId,l=i.inputValue,c=i.tabIndex,h=i.form,d=i.menuIsOpen,u=i.required,g=this.getComponents(),p=g.Input,f=this.state,m=f.inputIsHidden,v=f.ariaSelection,b=this.commonProps,w=o||this.getElementId("input"),k=Z(Z(Z({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?v?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?ie.createElement(p,K({},b,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:w,innerRef:this.getInputRef,isDisabled:r,isHidden:m,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:h,type:"text",value:l},k)):ie.createElement(Wv,K({id:w,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:oi,onFocus:this.onInputFocus,disabled:r,tabIndex:c,inputMode:"none",form:h,value:""},k))})},{key:"renderPlaceholderOrValue",value:function(){var i=this,r=this.getComponents(),n=r.MultiValue,o=r.MultiValueContainer,l=r.MultiValueLabel,c=r.MultiValueRemove,h=r.SingleValue,d=r.Placeholder,u=this.commonProps,g=this.props,p=g.controlShouldRenderValue,f=g.isDisabled,m=g.isMulti,v=g.inputValue,b=g.placeholder,w=this.state,k=w.selectValue,y=w.focusedValue,A=w.isFocused;if(!this.hasValue()||!p)return v?null:ie.createElement(d,K({},u,{key:"placeholder",isDisabled:f,isFocused:A,innerProps:{id:this.getElementId("placeholder")}}),b);if(m)return k.map(function(S,M){var I=S===y,R="".concat(i.getOptionLabel(S),"-").concat(i.getOptionValue(S));return ie.createElement(n,K({},u,{components:{Container:o,Label:l,Remove:c},isFocused:I,isDisabled:f,key:R,index:M,removeProps:{onClick:function(){return i.removeValue(S)},onTouchEnd:function(){return i.removeValue(S)},onMouseDown:function(_){_.preventDefault()}},data:S}),i.formatOptionLabel(S,"value"))});if(v)return null;var C=k[0];return ie.createElement(h,K({},u,{data:C,isDisabled:f}),this.formatOptionLabel(C,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),r=i.ClearIndicator,n=this.commonProps,o=this.props,l=o.isDisabled,c=o.isLoading,h=this.state.isFocused;if(!this.isClearable()||!r||l||!this.hasValue()||c)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ie.createElement(r,K({},n,{innerProps:d,isFocused:h}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),r=i.LoadingIndicator,n=this.commonProps,o=this.props,l=o.isDisabled,c=o.isLoading,h=this.state.isFocused;if(!r||!c)return null;var d={"aria-hidden":"true"};return ie.createElement(r,K({},n,{innerProps:d,isDisabled:l,isFocused:h}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),r=i.DropdownIndicator,n=i.IndicatorSeparator;if(!r||!n)return null;var o=this.commonProps,l=this.props.isDisabled,c=this.state.isFocused;return ie.createElement(n,K({},o,{isDisabled:l,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),r=i.DropdownIndicator;if(!r)return null;var n=this.commonProps,o=this.props.isDisabled,l=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ie.createElement(r,K({},n,{innerProps:c,isDisabled:o,isFocused:l}))}},{key:"renderMenu",value:function(){var i=this,r=this.getComponents(),n=r.Group,o=r.GroupHeading,l=r.Menu,c=r.MenuList,h=r.MenuPortal,d=r.LoadingMessage,u=r.NoOptionsMessage,g=r.Option,p=this.commonProps,f=this.state.focusedOption,m=this.props,v=m.captureMenuScroll,b=m.inputValue,w=m.isLoading,k=m.loadingMessage,y=m.minMenuHeight,A=m.maxMenuHeight,C=m.menuIsOpen,S=m.menuPlacement,M=m.menuPosition,I=m.menuPortalTarget,R=m.menuShouldBlockScroll,P=m.menuShouldScrollIntoView,_=m.noOptionsMessage,O=m.onMenuScrollToTop,H=m.onMenuScrollToBottom;if(!C)return null;var T=function(re,J){var xe=re.type,Q=re.data,ee=re.isDisabled,ae=re.isSelected,ye=re.label,Ce=re.value,Ie=f===Q,gt=ee?void 0:function(){return i.onOptionHover(Q)},_e=ee?void 0:function(){return i.selectOption(Q)},Ge="".concat(i.getElementId("option"),"-").concat(J),bi={id:Ge,onClick:_e,onMouseMove:gt,onMouseOver:gt,tabIndex:-1,role:"option","aria-selected":i.state.isAppleDevice?void 0:ae};return ie.createElement(g,K({},p,{innerProps:bi,data:Q,isDisabled:ee,isSelected:ae,key:Ge,label:ye,type:xe,value:Ce,isFocused:Ie,innerRef:Ie?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(re.data,"menu"))},D;if(this.hasOptions())D=this.getCategorizedOptions().map(function(U){if(U.type==="group"){var re=U.data,J=U.options,xe=U.index,Q="".concat(i.getElementId("group"),"-").concat(xe),ee="".concat(Q,"-heading");return ie.createElement(n,K({},p,{key:Q,data:re,options:J,Heading:o,headingProps:{id:ee,data:U.data},label:i.formatGroupLabel(U.data)}),U.options.map(function(ae){return T(ae,"".concat(xe,"-").concat(ae.index))}))}else if(U.type==="option")return T(U,"".concat(U.index))});else if(w){var B=k({inputValue:b});if(B===null)return null;D=ie.createElement(d,p,B)}else{var X=_({inputValue:b});if(X===null)return null;D=ie.createElement(u,p,X)}var Y={minMenuHeight:y,maxMenuHeight:A,menuPlacement:S,menuPosition:M,menuShouldScrollIntoView:P},W=ie.createElement(Am,K({},p,Y),function(U){var re=U.ref,J=U.placerProps,xe=J.placement,Q=J.maxHeight;return ie.createElement(l,K({},p,Y,{innerRef:re,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:w,placement:xe}),ie.createElement(Kv,{captureEnabled:v,onTopArrive:O,onBottomArrive:H,lockEnabled:R},function(ee){return ie.createElement(c,K({},p,{innerRef:function(ye){i.getMenuListRef(ye),ee(ye)},innerProps:{role:"listbox","aria-multiselectable":p.isMulti,id:i.getElementId("listbox")},isLoading:w,maxHeight:Q,focusedOption:f}),D)}))});return I||M==="fixed"?ie.createElement(h,K({},p,{appendTo:I,controlElement:this.controlRef,menuPlacement:S,menuPosition:M}),W):W}},{key:"renderFormField",value:function(){var i=this,r=this.props,n=r.delimiter,o=r.isDisabled,l=r.isMulti,c=r.name,h=r.required,d=this.state.selectValue;if(h&&!this.hasValue()&&!o)return ie.createElement(eb,{name:c,onFocus:this.onValueInputFocus});if(!(!c||o))if(l)if(n){var u=d.map(function(f){return i.getOptionValue(f)}).join(n);return ie.createElement("input",{name:c,type:"hidden",value:u})}else{var g=d.length>0?d.map(function(f,m){return ie.createElement("input",{key:"i-".concat(m),name:c,type:"hidden",value:i.getOptionValue(f)})}):ie.createElement("input",{name:c,type:"hidden",value:""});return ie.createElement("div",null,g)}else{var p=d[0]?this.getOptionValue(d[0]):"";return ie.createElement("input",{name:c,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,r=this.state,n=r.ariaSelection,o=r.focusedOption,l=r.focusedValue,c=r.isFocused,h=r.selectValue,d=this.getFocusableOptions();return ie.createElement(Fv,K({},i,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:l,isFocused:c,selectValue:h,focusableOptions:d,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),r=i.Control,n=i.IndicatorsContainer,o=i.SelectContainer,l=i.ValueContainer,c=this.props,h=c.className,d=c.id,u=c.isDisabled,g=c.menuIsOpen,p=this.state.isFocused,f=this.commonProps=this.getCommonProps();return ie.createElement(o,K({},f,{className:h,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:p}),this.renderLiveRegion(),ie.createElement(r,K({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:p,menuIsOpen:g}),ie.createElement(l,K({},f,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),ie.createElement(n,K({},f,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,r){var n=r.prevProps,o=r.clearFocusValueOnUpdate,l=r.inputIsHiddenAfterUpdate,c=r.ariaSelection,h=r.isFocused,d=r.prevWasFocused,u=r.instancePrefix,g=i.options,p=i.value,f=i.menuIsOpen,m=i.inputValue,v=i.isMulti,b=nn(p),w={};if(n&&(p!==n.value||g!==n.options||f!==n.menuIsOpen||m!==n.inputValue)){var k=f?xb(i,b):[],y=f?wn(qa(i,b),"".concat(u,"-option")):[],A=o?mb(r,b):null,C=vb(r,k),S=Ji(y,C);w={selectValue:b,focusedOption:C,focusedOptionId:S,focusableOptionsWithIds:y,focusedValue:A,clearFocusValueOnUpdate:!1}}var M=l!=null&&i!==n?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},I=c,R=h&&d;return h&&!R&&(I={value:Da(v,b,b[0]||null),options:b,action:"initial-input-focus"},R=!d),c?.action==="initial-input-focus"&&(I=null),Z(Z(Z({},w),M),{},{prevProps:i,ariaSelection:I,prevWasFocused:R})}}]),t})(z.Component);Rl.defaultProps=pb;var yb=z.forwardRef(function(s,e){var t=Ep(s);return ie.createElement(Rl,K({ref:e},t))}),wb=yb;const Cb="_root_hduur_1",kb="_error_hduur_1",Ab="_menuOpen_hduur_102",Sb="_menuClose_hduur_102",Fa={root:Cb,error:kb,menuOpen:Ab,menuClose:Sb},Mb=s=>{const{name:e,isError:t,isLoading:a,disabled:i,...r}=s;return x.jsx(wb,{name:e,isLoading:a,isDisabled:i,className:ne(Fa.root,{[Fa.error]:t}),classNamePrefix:"uiSelect",components:{Option:n=>x.jsx(Nt.Option,{...n,children:x.jsxs("span",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8},children:[x.jsx("span",{children:n.children}),n.isSelected&&x.jsx(qs,{width:16,height:16,style:{flexShrink:0,opacity:.7}})]})}),DropdownIndicator:n=>x.jsx(Nt.DropdownIndicator,{...n,children:x.jsx("span",{className:ne({[Fa.menuOpen]:n.selectProps.menuIsOpen,[Fa.menuClose]:!n.selectProps.menuIsOpen}),children:x.jsx(Ro,{width:20,height:20})})}),ClearIndicator:n=>x.jsx(Nt.ClearIndicator,{...n,children:x.jsx(ks,{width:20,height:20})}),MultiValueRemove:n=>x.jsx(Nt.MultiValueRemove,{...n,children:x.jsx(ks,{width:16,height:16})}),IndicatorsContainer:n=>x.jsxs(Nt.IndicatorsContainer,{...n,children:[n.selectProps.isLoading?x.jsx(di,{}):null,n.children]}),LoadingIndicator:()=>null},...r})},Ib="_statCard_1u8jx_1",Lb="_header_1u8jx_7",Rb="_title_1u8jx_13",_b="_icon_1u8jx_20",Pb="_value_1u8jx_35",zb="_trend_1u8jx_45",Ob="_up_1u8jx_52",Hb="_down_1u8jx_55",Tb="_neutral_1u8jx_58",jb="_trendIcon_1u8jx_62",ot={statCard:Ib,header:Lb,title:Rb,icon:_b,value:Pb,trend:zb,up:Ob,down:Hb,neutral:Tb,trendIcon:jb},Eb=()=>x.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M6 2L10 7H2L6 2Z",fill:"currentColor"})}),_l=z.forwardRef(({title:s,value:e,trend:t,trendValue:a,icon:i,variant:r="default",className:n,...o},l)=>x.jsx(ts,{ref:l,variant:r,className:n,...o,children:x.jsx(ts.Body,{children:x.jsxs("div",{className:ot.statCard,children:[x.jsxs("div",{className:ot.header,children:[x.jsx("p",{className:ot.title,children:s}),i&&x.jsx("div",{className:ot.icon,children:i})]}),x.jsx("p",{className:ot.value,children:e}),t&&x.jsxs("div",{className:ne(ot.trend,ot[t]),children:[t!=="neutral"&&x.jsx("span",{className:ne(ot.trendIcon,t==="down"&&ot.down),children:x.jsx(Eb,{})}),a&&x.jsx("span",{children:a})]})]})})}));_l.displayName="StatCard";const Db="_wrapper_ii2h9_1",Fb="_disabled_ii2h9_8",Bb="_track_ii2h9_13",Nb="_checked_ii2h9_25",Vb="_thumb_ii2h9_32",Xb="_input_ii2h9_47",Yb="_label_ii2h9_61",kt={wrapper:Db,disabled:Fb,track:Bb,checked:Nb,thumb:Vb,input:Xb,label:Yb},Pl=z.forwardRef(({checked:s=!1,onChange:e,label:t,disabled:a,className:i,id:r,...n},o)=>{const l=z.useId(),c=r??l;return x.jsxs("label",{htmlFor:c,className:ne(kt.wrapper,a&&kt.disabled,i),children:[x.jsx("input",{ref:o,type:"checkbox",role:"switch",id:c,className:kt.input,checked:s,disabled:a,onChange:h=>e?.(h.target.checked),"aria-checked":s,...n}),x.jsx("span",{className:ne(kt.track,s&&kt.checked),children:x.jsx("span",{className:kt.thumb})}),t&&x.jsx("span",{className:kt.label,children:t})]})});Pl.displayName="Switch";const Wb="_wrapper_ewy9m_1",Gb="_table_ewy9m_6",$b="_head_ewy9m_12",Ub="_body_ewy9m_25",qb="_sortButton_ewy9m_40",Zb="_sortIcon_ewy9m_56",Kb="_active_ewy9m_76",Jb="_empty_ewy9m_81",Qb="_loading_ewy9m_88",e2="_filter_ewy9m_93",t2="_pagination_ewy9m_98",a2="_pageButtons_ewy9m_108",i2="_pageButton_ewy9m_108",s2="_pageSizeSelect_ewy9m_149",Le={wrapper:Wb,table:Gb,head:$b,body:Ub,sortButton:qb,sortIcon:Zb,active:Kb,empty:Jb,loading:Qb,filter:e2,pagination:t2,pageButtons:a2,pageButton:i2,pageSizeSelect:s2},r2=({direction:s})=>x.jsx("span",{className:ne(Le.sortIcon,s&&Le.active),children:s==="asc"?x.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:x.jsx("path",{d:"m18 15-6-6-6 6"})}):s==="desc"?x.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:x.jsx("path",{d:"m6 9 6 6 6-6"})}):x.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[x.jsx("path",{d:"m7 15 5 5 5-5"}),x.jsx("path",{d:"m7 9 5-5 5 5"})]})}),zl=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("thead",{ref:a,className:ne(Le.head,s),...t,children:e}));zl.displayName="Table.Head";const Ol=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("tbody",{ref:a,className:ne(Le.body,s),...t,children:e}));Ol.displayName="Table.Body";const Hl=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("tr",{ref:a,className:s,...t,children:e}));Hl.displayName="Table.Row";const Tl=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("td",{ref:a,className:s,...t,children:e}));Tl.displayName="Table.Cell";const jl=z.forwardRef(({className:s,children:e,...t},a)=>x.jsx("th",{ref:a,className:s,...t,children:e}));jl.displayName="Table.HeadCell";function n2({columns:s,data:e,loading:t,emptyText:a="Veri bulunamadı",filterable:i,filterPlaceholder:r="Filtrele...",pagination:n,pageSize:o=10,pageSizeOptions:l=[5,10,20,50],onSort:c,onFilter:h,className:d,...u},g){const[p,f]=z.useState(null),[m,v]=z.useState(null),[b,w]=z.useState(""),[k,y]=z.useState(1),[A,C]=z.useState(o),S=z.useCallback(_=>{let O;p===_?O=m==="asc"?"desc":m==="desc"?null:"asc":O="asc",f(O?_:null),v(O),c?.(_,O)},[p,m,c]),M=z.useMemo(()=>{if(!i||!b||h)return e;const _=b.toLowerCase();return e.filter(O=>s.some(H=>String(O[H.key]??"").toLowerCase().includes(_)))},[e,i,b,s,h]),I=z.useMemo(()=>!p||!m||c?M:[...M].sort((_,O)=>{const H=_[p],T=O[p];if(H==null||T==null)return 0;const D=H<T?-1:H>T?1:0;return m==="asc"?D:-D}),[M,p,m,c]),R=n?Math.max(1,Math.ceil(I.length/A)):1,P=n?I.slice((k-1)*A,k*A):I;return x.jsxs("div",{ref:g,className:d,...u,children:[i&&x.jsx("div",{className:Le.filter,children:x.jsx(Qs,{value:b,onChange:_=>{w(_),y(1),h?.(_)},placeholder:r})}),x.jsx("div",{className:Le.wrapper,children:x.jsxs("table",{className:Le.table,children:[x.jsx("thead",{className:Le.head,children:x.jsx("tr",{children:s.map(_=>x.jsx("th",{children:_.sortable?x.jsxs("button",{type:"button",className:Le.sortButton,onClick:()=>S(_.key),"aria-sort":p===_.key&&m?m==="asc"?"ascending":"descending":"none",children:[_.header,x.jsx(r2,{direction:p===_.key?m:null})]}):_.header},_.key))})}),x.jsx("tbody",{className:Le.body,children:t?x.jsx("tr",{children:x.jsx("td",{colSpan:s.length,className:Le.loading,children:"Loading..."})}):P.length===0?x.jsx("tr",{children:x.jsx("td",{colSpan:s.length,className:Le.empty,children:a})}):P.map((_,O)=>x.jsx("tr",{children:s.map(H=>x.jsx("td",{children:H.render?H.render(_[H.key],_,O):String(_[H.key]??"")},H.key))},O))})]})}),n&&!t&&P.length>0&&x.jsxs("div",{className:Le.pagination,children:[x.jsxs("div",{className:Le.pageSizeSelect,children:[x.jsx("span",{children:"Sayfa boyutu:"}),x.jsx("select",{value:A,onChange:_=>{C(Number(_.target.value)),y(1)},children:l.map(_=>x.jsx("option",{value:_,children:_},_))})]}),x.jsxs("div",{className:Le.pageButtons,children:[x.jsx("button",{type:"button",className:Le.pageButton,disabled:k===1,onClick:()=>y(_=>_-1),children:"‹"}),Array.from({length:R},(_,O)=>O+1).map(_=>x.jsx("button",{type:"button",className:ne(Le.pageButton,_===k&&Le.active),onClick:()=>y(_),children:_},_)),x.jsx("button",{type:"button",className:Le.pageButton,disabled:k===R,onClick:()=>y(_=>_+1),children:"›"})]})]})]})}const o2=Object.assign(z.forwardRef(n2),{Head:zl,Body:Ol,Row:Hl,Cell:Tl,HeadCell:jl}),l2="_tabList_ypxaz_1",c2="_tab_ypxaz_1",h2="_active_ypxaz_26",d2="_panel_ypxaz_38",Ba={tabList:l2,tab:c2,active:h2,panel:d2},El=z.forwardRef(({items:s,defaultActiveKey:e,activeKey:t,onChange:a,className:i,...r},n)=>{const[o,l]=z.useState(e??s[0]?.key),c=t??o,{containerRef:h,handleKeyDown:d}=Do({orientation:"horizontal",itemSelector:'button[role="tab"]:not([disabled])'}),u=z.useCallback(p=>{t||l(p),a?.(p)},[t,a]),g=s.find(p=>p.key===c);return x.jsxs("div",{ref:n,className:i,...r,children:[x.jsx("div",{ref:h,role:"tablist",className:Ba.tabList,onKeyDown:d,children:s.map(p=>x.jsx("button",{role:"tab",type:"button","aria-selected":p.key===c,"aria-controls":`panel-${p.key}`,tabIndex:p.key===c?0:-1,disabled:p.disabled,className:ne(Ba.tab,p.key===c&&Ba.active),onClick:()=>u(p.key),children:p.label},p.key))}),g&&x.jsx("div",{role:"tabpanel",id:`panel-${g.key}`,className:Ba.panel,children:g.content})]})});El.displayName="Tabs";const u2="_textarea_1d2rf_1",g2="_error_1d2rf_28",Qi={textarea:u2,error:g2},f2=s=>{const{name:e,id:t,isError:a,isLoading:i,...r}=s,n=t||e;return x.jsx("textarea",{id:n,name:e,className:ne(Qi.textarea,{[Qi.error]:a,[Qi.loading]:i}),...r})},Dl=z.createContext(null),p2="_container_9l1rm_1",x2="_toast_9l1rm_14",m2="_slideUp_9l1rm_1",v2="_success_9l1rm_29",b2="_error_9l1rm_34",y2="_warning_9l1rm_39",w2="_info_9l1rm_44",C2="_icon_9l1rm_50",k2="_content_9l1rm_61",A2="_title_9l1rm_69",S2="_description_9l1rm_74",M2="_actions_9l1rm_80",I2="_actionButton_9l1rm_86",L2="_close_9l1rm_110",at={container:p2,toast:x2,slideUp:m2,success:v2,error:b2,warning:y2,info:w2,icon:C2,content:k2,title:A2,description:S2,actions:M2,actionButton:I2,close:L2},R2={success:Po,error:Io,warning:Mo,info:zo},_2=()=>x.jsx("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:x.jsx("path",{d:"M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),P2=({item:s,onRemove:e})=>{const t=z.useRef(void 0),a=z.useRef(!1),i=z.useCallback(()=>{t.current=setTimeout(()=>e(s.id),s.duration)},[s.id,s.duration,e]);z.useEffect(()=>(i(),()=>clearTimeout(t.current)),[i]);const r=R2[s.variant];return x.jsxs("div",{className:ne(at.toast,at[s.variant]),role:"status","aria-live":"polite",onMouseEnter:()=>{a.current=!0,clearTimeout(t.current)},onMouseLeave:()=>{a.current=!1,i()},children:[x.jsx("div",{className:at.icon,children:x.jsx(r,{})}),x.jsxs("div",{className:at.content,children:[x.jsx("div",{className:at.title,children:s.title}),s.description&&x.jsx("div",{className:at.description,children:s.description}),s.action&&x.jsx("div",{className:at.actions,children:x.jsx("button",{type:"button",className:at.actionButton,onClick:()=>{s.action?.onClick(),e(s.id)},children:s.action.label})})]}),x.jsx("button",{type:"button",className:at.close,onClick:()=>e(s.id),"aria-label":"Close",children:x.jsx(_2,{})})]})};let z2=0;const Fl=({children:s})=>{const[e,t]=z.useState([]),a=z.useCallback((n,o,l)=>{const c=String(++z2);t(h=>[...h,{id:c,title:n,description:l?.description,variant:o,duration:l?.duration??5e3,action:l?.action}])},[]),i=z.useCallback(n=>{t(o=>o.filter(l=>l.id!==n))},[]),r={success:(n,o)=>a(n,"success",o),error:(n,o)=>a(n,"error",o),warning:(n,o)=>a(n,"warning",o),info:(n,o)=>a(n,"info",o)};return x.jsxs(Dl.Provider,{value:r,children:[s,typeof document<"u"&&hi.createPortal(x.jsx("div",{className:at.container,children:e.map(n=>x.jsx(P2,{item:n,onRemove:i},n.id))}),document.body)]})};Fl.displayName="ToastProvider";function O2(){const s=z.useContext(Dl);if(!s)throw new Error("useToast must be used within ToastProvider");return s}const H2="_brandContent_p70zy_1",T2="_title_p70zy_10",j2="_subtitle_p70zy_18",es={brandContent:H2,title:T2,subtitle:j2},E2=({title:s,subtitle:e})=>x.jsxs("div",{className:es.brandContent,children:[x.jsx(Pt,{variant:"h1",weight:"bold",className:es.title,children:s}),e&&x.jsx(Pt,{variant:"h4",weight:"regular",className:es.subtitle,children:e})]}),D2="_gridPattern_1vc4w_1",F2="_crosshair_1vc4w_12",B2="_crosshairH_1vc4w_22",N2="_crosshairV_1vc4w_23",V2="_coordinateCircles_1vc4w_45",X2="_circle_1vc4w_54",Y2="_circle1_1vc4w_64",W2="_circle2_1vc4w_69",G2="_circle3_1vc4w_74",$2="_circle4_1vc4w_79",U2="_compassContainer_1vc4w_86",q2="_compassOuter_1vc4w_95",Z2="_directions_1vc4w_109",K2="_direction_1vc4w_109",J2="_directionN_1vc4w_126",Q2="_directionS_1vc4w_134",ey="_directionE_1vc4w_140",ty="_directionW_1vc4w_146",ay="_needle_1vc4w_152",iy="_needleNorth_1vc4w_162",sy="_needleSouth_1vc4w_175",ry="_needleCenter_1vc4w_187",ny="_coordinates_1vc4w_213",oy="_coordTopLeft_1vc4w_221",ly="_coordTopRight_1vc4w_226",cy="_coordBottomLeft_1vc4w_231",hy="_coordBottomRight_1vc4w_236",oe={gridPattern:D2,crosshair:F2,crosshairH:B2,crosshairV:N2,coordinateCircles:V2,circle:X2,circle1:Y2,circle2:W2,circle3:G2,circle4:$2,compassContainer:U2,compassOuter:q2,directions:Z2,direction:K2,directionN:J2,directionS:Q2,directionE:ey,directionW:ty,needle:ay,needleNorth:iy,needleSouth:sy,needleCenter:ry,coordinates:ny,coordTopLeft:oy,coordTopRight:ly,coordBottomLeft:cy,coordBottomRight:hy},dy=({topLeftCoord:s="41.0082° N",topRightCoord:e="28.9784° E",bottomLeftCoord:t="LAT 41.0082",bottomRightCoord:a="LNG 28.9784"})=>x.jsxs(x.Fragment,{children:[x.jsx("div",{className:oe.gridPattern}),x.jsxs("div",{className:oe.crosshair,children:[x.jsx("div",{className:oe.crosshairH}),x.jsx("div",{className:oe.crosshairV})]}),x.jsxs("div",{className:oe.coordinateCircles,children:[x.jsx("div",{className:`${oe.circle} ${oe.circle1}`}),x.jsx("div",{className:`${oe.circle} ${oe.circle2}`}),x.jsx("div",{className:`${oe.circle} ${oe.circle3}`}),x.jsx("div",{className:`${oe.circle} ${oe.circle4}`})]}),x.jsxs("div",{className:oe.compassContainer,children:[x.jsx("div",{className:oe.compassOuter}),x.jsxs("div",{className:oe.directions,children:[x.jsx("span",{className:`${oe.direction} ${oe.directionN}`,children:"N"}),x.jsx("span",{className:`${oe.direction} ${oe.directionS}`,children:"S"}),x.jsx("span",{className:`${oe.direction} ${oe.directionE}`,children:"E"}),x.jsx("span",{className:`${oe.direction} ${oe.directionW}`,children:"W"})]}),x.jsxs("div",{className:oe.needle,children:[x.jsx("div",{className:oe.needleNorth}),x.jsx("div",{className:oe.needleSouth}),x.jsx("div",{className:oe.needleCenter})]})]}),x.jsx("span",{className:`${oe.coordinates} ${oe.coordTopLeft}`,children:s}),x.jsx("span",{className:`${oe.coordinates} ${oe.coordTopRight}`,children:e}),x.jsx("span",{className:`${oe.coordinates} ${oe.coordBottomLeft}`,children:t}),x.jsx("span",{className:`${oe.coordinates} ${oe.coordBottomRight}`,children:a})]});exports.ActivityIcon=qd;exports.Alert=kn;exports.AlertCircleIcon=Mo;exports.AlertOctagonIcon=Io;exports.AlignCenterIcon=Zd;exports.AlignLeftIcon=Kd;exports.AlignRightIcon=Jd;exports.ArrowDownIcon=Qd;exports.ArrowDownLeftIcon=eu;exports.ArrowDownRightIcon=tu;exports.ArrowLeftIcon=au;exports.ArrowRightIcon=iu;exports.ArrowUpIcon=su;exports.ArrowUpLeftIcon=ru;exports.ArrowUpRightIcon=nu;exports.AuthLayout=Ma;exports.Badge=An;exports.BadgeCheckIcon=ou;exports.BadgeDiscountIcon=lu;exports.BadgeIcon=cu;exports.BarChart=Yd;exports.BarChartAltIcon=hu;exports.BarChartIcon=Lo;exports.BasketIcon=du;exports.BasketMinusIcon=uu;exports.BasketPlusIcon=gu;exports.BluetoothIcon=fu;exports.BookmarkIcon=pu;exports.BookmarkMinusIcon=xu;exports.BookmarkPlusIcon=mu;exports.Box=Tc;exports.BoxIcon=vu;exports.BoxsIcon=bu;exports.BrandContent=E2;exports.BuildingAltIcon=yu;exports.BuildingIcon=wu;exports.Button=ih;exports.COLOR=Mn;exports.CalendarAltIcon=Cu;exports.CalendarCheckIcon=ku;exports.CalendarIcon=Au;exports.CalendarMinusIcon=Su;exports.CalendarPlusIcon=Mu;exports.CalendarXIcon=Iu;exports.CameraIcon=Lu;exports.CameraOffIcon=Ru;exports.CameraVideoIcon=_u;exports.CameraVideoOffIcon=Pu;exports.Card=ts;exports.CartAddIcon=zu;exports.CartDownloadIcon=Ou;exports.CartIcon=Hu;exports.CashAddIcon=Tu;exports.CashCheckedIcon=ju;exports.CashCrossIcon=Eu;exports.CashIcon=Du;exports.CashMinusIcon=Fu;exports.CheckIcon=qs;exports.Checkbox=Ho;exports.ChevronDownIcon=Ro;exports.ChevronLeftIcon=_o;exports.ChevronRightIcon=Zs;exports.ChevronUpIcon=Yu;exports.ChevronsDownIcon=Bu;exports.ChevronsLeftIcon=Nu;exports.ChevronsRightIcon=Vu;exports.ChevronsUpIcon=Xu;exports.CircleArrowDownIcon=Wu;exports.CircleArrowLeftIcon=Gu;exports.CircleArrowRightIcon=$u;exports.CircleArrowUpIcon=Uu;exports.CircleCheckIcon=Po;exports.CircleChevronDownIcon=qu;exports.CircleChevronLeftIcon=Zu;exports.CircleChevronRightIcon=Ku;exports.CircleChevronUpIcon=a0;exports.CircleChevronsDownIcon=Ju;exports.CircleChevronsLeftIcon=Qu;exports.CircleChevronsRightIcon=e0;exports.CircleChevronsUpIcon=t0;exports.CircleIcon=i0;exports.CircleMinusIcon=s0;exports.CirclePlusIcon=r0;exports.CircleXIcon=n0;exports.ClinicIcon=o0;exports.ClipboardIcon=l0;exports.ClockIcon=c0;exports.CompassAnimation=dy;exports.Content=kf;exports.CopyIcon=h0;exports.CornerDownLeftIcon=d0;exports.CornerDownRightIcon=u0;exports.CornerLeftDownIcon=g0;exports.CornerLeftUpIcon=f0;exports.CornerRightDownIcon=p0;exports.CornerRightUpIcon=x0;exports.CornerUpLeftIcon=m0;exports.CornerUpRightIcon=v0;exports.CreditCardIcon=b0;exports.CrossIcon=ks;exports.CustomizeAltIcon=y0;exports.CustomizeIcon=w0;exports.DatePicker=To;exports.DesktopIcon=C0;exports.DislikeIcon=k0;exports.DollarIcon=A0;exports.DotsIcon=S0;exports.DotsVerticalIcon=M0;exports.DownloadIcon=I0;exports.EarphoneIcon=L0;exports.EnvelopeIcon=R0;exports.ExportIcon=_0;exports.EyeIcon=P0;exports.EyeOffIcon=z0;exports.FileCheckIcon=O0;exports.FileDocumentIcon=H0;exports.FileIcon=T0;exports.FileMinusIcon=j0;exports.FilePlusIcon=E0;exports.FileXIcon=D0;exports.FolderIcon=F0;exports.FolderMinusIcon=B0;exports.FolderOpenIcon=N0;exports.FolderPlusIcon=V0;exports.FormGroup=$g;exports.GearIcon=X0;exports.GiftIcon=Y0;exports.GlobeIcon=W0;exports.Grid=Jg;exports.GridAltIcon=G0;exports.GridIcon=$0;exports.GridItem=ef;exports.HistoryIcon=U0;exports.HomeIcon=q0;exports.ImgIcon=Z0;exports.ImportIcon=K0;exports.InfoIcon=zo;exports.Input=Eo;exports.Label=Oo;exports.LaptopIcon=J0;exports.Layout=Mf;exports.LikeIcon=Q0;exports.LineChart=Ud;exports.LineChartDownIcon=e1;exports.LineChartUpIcon=t1;exports.LinkIcon=a1;exports.Loader=di;exports.LoaderIcon=i1;exports.LockIcon=s1;exports.LockOpenIcon=r1;exports.LoginIcon=n1;exports.LogoutIcon=o1;exports.LoveIcon=l1;exports.MapIcon=c1;exports.MediaIcon=h1;exports.MenuIcon=d1;exports.MessageDotsIcon=u1;exports.MessageFilledIcon=g1;exports.MessageIcon=f1;exports.MicIcon=p1;exports.MicOffIcon=x1;exports.MinusIcon=m1;exports.MobileIcon=v1;exports.Modal=Ap;exports.MoneyWithdrawalIcon=b1;exports.NoImgIcon=y1;exports.NotificationIcon=w1;exports.NotificationOffIcon=C1;exports.OctagonIcon=k1;exports.PenIcon=A1;exports.PhoneIcon=S1;exports.PhoneIncomingIcon=M1;exports.PhoneOffIcon=I1;exports.PhoneOutgoingIcon=L1;exports.PhoneRingingIcon=R1;exports.PieChartAltIcon=_1;exports.PieChartIcon=P1;exports.PinIcon=z1;exports.PlusIcon=O1;exports.PointerIcon=H1;exports.PrinterIcon=T1;exports.QuestionIcon=j1;exports.ReceiptIcon=E1;exports.RefreshIcon=D1;exports.ReloadIcon=F1;exports.RocketIcon=B1;exports.RotateLeftIcon=N1;exports.RotateRightIcon=V1;exports.SIZE=Za;exports.SaveIcon=X1;exports.ScanIcon=Y1;exports.SearchIcon=W1;exports.SearchInput=Qs;exports.Select=Mb;exports.SendIcon=G1;exports.ShareIcon=$1;exports.ShopingBagIcon=U1;exports.Sidebar=Yf;exports.SidebarFooter=Rf;exports.SidebarHeader=jf;exports.SidebarMenu=Nf;exports.SidebarUser=np;exports.SliderAltIcon=q1;exports.SliderIcon=Z1;exports.StarIcon=K1;exports.StatCard=_l;exports.StoreIcon=J1;exports.Switch=Pl;exports.TYPOGRAPHY_VARIANT=Je;exports.Table=o2;exports.TabletIcon=Q1;exports.Tabs=El;exports.TagIcon=eg;exports.TargetLockIcon=tg;exports.TaskCheckIcon=ag;exports.TaskListIcon=ig;exports.TaskXIcon=sg;exports.Textarea=f2;exports.TimerIcon=rg;exports.ToastProvider=Fl;exports.ToolsIcon=ng;exports.Tooltip=Ks;exports.TrashIcon=og;exports.TruckIcon=lg;exports.Typography=Pt;exports.UploadIcon=cg;exports.UserCheckIcon=hg;exports.UserIcon=dg;exports.UserMinusIcon=ug;exports.UserPlusIcon=gg;exports.UserXIcon=pg;exports.UsersIcon=fg;exports.VolumeDownIcon=xg;exports.VolumeFullIcon=mg;exports.VolumeMuteIcon=vg;exports.VolumeXIcon=bg;exports.WEIGHT=Sn;exports.WalletIcon=yg;exports.XOctagonIcon=wg;exports.useAriaAnnounce=op;exports.useChartColors=$s;exports.useChartTheme=Us;exports.useFocusTrap=Js;exports.useKeyboardNavigation=Do;exports.useToast=O2;
|