@allurereport/web-components 3.0.0-beta.10
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/README.md +62 -0
- package/dist/components/ArrowButton/index.d.ts +10 -0
- package/dist/components/ArrowButton/index.d.ts.map +1 -0
- package/dist/components/Attachment/Attachment.d.ts +8 -0
- package/dist/components/Attachment/Attachment.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentCode.d.ts +10 -0
- package/dist/components/Attachment/AttachmentCode.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentEmpty.d.ts +5 -0
- package/dist/components/Attachment/AttachmentEmpty.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentImage.d.ts +8 -0
- package/dist/components/Attachment/AttachmentImage.d.ts.map +1 -0
- package/dist/components/Attachment/AttachmentVideo.d.ts +8 -0
- package/dist/components/Attachment/AttachmentVideo.d.ts.map +1 -0
- package/dist/components/Attachment/CodeViewer.d.ts +8 -0
- package/dist/components/Attachment/CodeViewer.d.ts.map +1 -0
- package/dist/components/Attachment/HtmlPreview.d.ts +8 -0
- package/dist/components/Attachment/HtmlPreview.d.ts.map +1 -0
- package/dist/components/Attachment/index.d.ts +8 -0
- package/dist/components/Attachment/index.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +29 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Counter/index.d.ts +10 -0
- package/dist/components/Counter/index.d.ts.map +1 -0
- package/dist/components/Label/index.d.ts +3 -0
- package/dist/components/Label/index.d.ts.map +1 -0
- package/dist/components/Link/index.d.ts +9 -0
- package/dist/components/Link/index.d.ts.map +1 -0
- package/dist/components/Loadable/index.d.ts +16 -0
- package/dist/components/Loadable/index.d.ts.map +1 -0
- package/dist/components/Menu/index.d.ts +37 -0
- package/dist/components/Menu/index.d.ts.map +1 -0
- package/dist/components/Modal/Gallery.d.ts +5 -0
- package/dist/components/Modal/Gallery.d.ts.map +1 -0
- package/dist/components/Modal/Thumb.d.ts +10 -0
- package/dist/components/Modal/Thumb.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +24 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/PageLoader/index.d.ts +2 -0
- package/dist/components/PageLoader/index.d.ts.map +1 -0
- package/dist/components/SearchBox/index.d.ts +11 -0
- package/dist/components/SearchBox/index.d.ts.map +1 -0
- package/dist/components/Spinner/index.d.ts +5 -0
- package/dist/components/Spinner/index.d.ts.map +1 -0
- package/dist/components/SuccessRatePieChart/index.d.ts +13 -0
- package/dist/components/SuccessRatePieChart/index.d.ts.map +1 -0
- package/dist/components/SvgIcon/index.d.ts +67 -0
- package/dist/components/SvgIcon/index.d.ts.map +1 -0
- package/dist/components/Toggle/index.d.ts +9 -0
- package/dist/components/Toggle/index.d.ts.map +1 -0
- package/dist/components/Tooltip/index.d.ts +14 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/Tree/Tree.d.ts +21 -0
- package/dist/components/Tree/Tree.d.ts.map +1 -0
- package/dist/components/Tree/TreeHeader.d.ts +16 -0
- package/dist/components/Tree/TreeHeader.d.ts.map +1 -0
- package/dist/components/Tree/TreeItem.d.ts +14 -0
- package/dist/components/Tree/TreeItem.d.ts.map +1 -0
- package/dist/components/Tree/TreeItemIcon.d.ts +9 -0
- package/dist/components/Tree/TreeItemIcon.d.ts.map +1 -0
- package/dist/components/Tree/index.d.ts +5 -0
- package/dist/components/Tree/index.d.ts.map +1 -0
- package/dist/components/TrendChart/index.d.ts +25 -0
- package/dist/components/TrendChart/index.d.ts.map +1 -0
- package/dist/components/Typography/index.d.ts +28 -0
- package/dist/components/Typography/index.d.ts.map +1 -0
- package/dist/fonts/JetBrainsMono_vf.woff +0 -0
- package/dist/fonts/JetBrainsMono_vf.woff2 +0 -0
- package/dist/fonts/pt-root-ui_vf.woff +0 -0
- package/dist/fonts/pt-root-ui_vf.woff2 +0 -0
- package/dist/hooks/useDebouncedCallback.d.ts +2 -0
- package/dist/hooks/useDebouncedCallback.d.ts.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +335 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/mixins.scss +50 -0
- package/package.json +148 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import{options as e,createContext as t,Fragment as n}from"preact";import{useRef as r,useState as i,useEffect as o,useCallback as a,useContext as s}from"preact/hooks";import*as c from"react";import{useEffect as l,useLayoutEffect as u,useState as f,useRef as d,forwardRef as h,useCallback as p,useContext as g,useMemo as b,memo as m,createContext as y,createElement as v,Component as _,cloneElement as w,Fragment as x}from"react";import{unstable_batchedUpdates as C}from"react-dom";var k=0;function M(t,n,r,i,o,a){n||(n={});var s,c,l=n;if("ref"in l)for(c in l={},n)"ref"==c?s=n[c]:l[c]=n[c];var u={type:t,props:l,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--k,__i:-1,__u:0,__source:o,__self:a};if("function"==typeof t&&(s=t.defaultProps))for(c in s)void 0===l[c]&&(l[c]=s[c]);return e.vnode&&e.vnode(u),u}function T(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=T(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function S(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=T(e))&&(r&&(r+=" "),r+=t);return r}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var A={exports:{}};A.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function n(n,r){return r&&!0===r.clone&&e(n)?o(t(n),n,r):n}function r(t,r,i){var a=t.slice();return r.forEach((function(r,s){void 0===a[s]?a[s]=n(r,i):e(r)?a[s]=o(t[s],r,i):-1===t.indexOf(r)&&a.push(n(r,i))})),a}function i(t,r,i){var a={};return e(t)&&Object.keys(t).forEach((function(e){a[e]=n(t[e],i)})),Object.keys(r).forEach((function(s){e(r[s])&&t[s]?a[s]=o(t[s],r[s],i):a[s]=n(r[s],i)})),a}function o(e,t,o){var a=Array.isArray(t),s=(o||{arrayMerge:r}).arrayMerge||r;return a?Array.isArray(e)?s(e,t,o):n(t,o):i(e,t,o)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}();var O=A.exports;var j,E,F={exports:{}};j=F,(E=F.exports).default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},j.exports=E.default;var L=F.exports;const{svg:P,xlink:$}=L,N={[P.name]:P.uri,[$.name]:$.uri};function z(e="",t){const n=function(e){return Object.keys(e).map((t=>`${t}="${e[t].toString().replace(/"/g,""")}"`)).join(" ")}(O(N,t||{}));return`<svg ${n}>${e}</svg>`}const{svg:B,xlink:D}=L;var R={attrs:{[B.name]:B.uri,[D.name]:D.uri,style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"}};class U{constructor(e){this.config=O(R,e||{}),this.symbols=[]}add(e){const{symbols:t}=this,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)}remove(e){const{symbols:t}=this,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)}find(e){return this.symbols.filter((t=>t.id===e))[0]||null}has(e){return null!==this.find(e)}stringify(){const{attrs:e}=this.config;return z(this.symbols.map((e=>e.stringify())).join(""),e)}toString(){return this.stringify()}destroy(){this.symbols.forEach((e=>e.destroy()))}}class I{constructor({id:e,viewBox:t,content:n}){this.id=e,this.viewBox=t,this.content=n}stringify(){return this.content}toString(){return this.stringify()}destroy(){["id","viewBox","content"].forEach((e=>delete this[e]))}}function H(e){const t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}class q extends I{get isMounted(){return!!this.node}static createFromExistingNode(e){return new q({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})}destroy(){this.isMounted&&this.unmount(),super.destroy()}mount(e){if(this.isMounted)return this.node;const t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n}render(){return H(z(this.stringify())).childNodes[0]}unmount(){this.node.parentNode.removeChild(this.node)}}var W={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1};function V(e){return Array.prototype.slice.call(e,0)}var Y=()=>/firefox/i.test(navigator.userAgent),Z=()=>/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent),G=()=>/edge/i.test(navigator.userAgent);function X(e){return(e||window.location.href).split("#")[0]}function Q(e){angular.module("ng").run(["$rootScope",t=>{t.$on("$locationChangeSuccess",((t,n,r)=>{!function(e,t){const n=document.createEvent("CustomEvent");n.initCustomEvent(e,!1,!1,t),window.dispatchEvent(n)}(e,{oldUrl:r,newUrl:n})}))}])}function J(e,t="linearGradient, radialGradient, pattern, mask, clipPath"){return V(e.querySelectorAll("symbol")).forEach((e=>{V(e.querySelectorAll(t)).forEach((t=>{e.parentNode.insertBefore(t,e)}))})),e}const K=L.xlink.uri,ee="xlink:href",te=/[{}|\\\^\[\]`"<>]/g;function ne(e){return e.replace(te,(e=>`%${e[0].charCodeAt(0).toString(16).toUpperCase()}`))}const re=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],ie=re.map((e=>`[${e}]`)).join(",");function oe(e,t,n,r){const i=ne(n),o=ne(r),a=function(e,t){return V(e).reduce(((e,n)=>{if(!n.attributes)return e;const r=V(n.attributes).filter(t);return e.concat(r)}),[])}(e.querySelectorAll(ie),(({localName:e,value:t})=>-1!==re.indexOf(e)&&-1!==t.indexOf(`url(${i}`)));a.forEach((e=>e.value=e.value.replace(new RegExp(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),o))),function(e,t,n){V(e).forEach((e=>{const r=e.getAttribute(ee);if(r&&0===r.indexOf(t)){const i=r.replace(t,n);e.setAttributeNS(K,ee,i)}}))}(t,i,o)}const ae="mount",se="symbol_mount";const ce="__SVG_SPRITE_NODE__",le="__SVG_SPRITE__",ue=()=>{const e=document.getElementById(ce);e?fe.attach(e):fe.mount(document.body,!0)};let fe=new class extends U{constructor(e={}){super(O(W,e));const t=(n=n||Object.create(null),{on:function(e,t){(n[e]||(n[e]=[])).push(t)},off:function(e,t){n[e]&&n[e].splice(n[e].indexOf(t)>>>0,1)},emit:function(e,t){(n[e]||[]).map((function(e){e(t)})),(n["*"]||[]).map((function(n){n(e,t)}))}});var n;this._emitter=t,this.node=null;const{config:r}=this;if(r.autoConfigure&&this._autoConfigure(e),r.syncUrlsWithBaseTag){const e=document.getElementsByTagName("base")[0].getAttribute("href");t.on(ae,(()=>this.updateUrls("#",e)))}const i=this._handleLocationChange.bind(this);this._handleLocationChange=i,r.listenLocationChangeEvent&&window.addEventListener(r.locationChangeEvent,i),r.locationChangeAngularEmitter&&Q(r.locationChangeEvent),t.on(ae,(e=>{r.moveGradientsOutsideSymbol&&J(e)})),t.on(se,(e=>{r.moveGradientsOutsideSymbol&&J(e.parentNode),(Z()||G())&&function(e){const t=[];V(e.querySelectorAll("style")).forEach((e=>{e.textContent+="",t.push(e)}))}(e)}))}get isMounted(){return!!this.node}_autoConfigure(e){const{config:t}=this;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=Y())}_handleLocationChange(e){const{oldUrl:t,newUrl:n}=e.detail;this.updateUrls(t,n)}add(e){const t=this,n=super.add(e);return this.isMounted&&n&&(e.mount(t.node),this._emitter.emit(se,e.node)),n}attach(e){const t=this;if(t.isMounted)return t.node;const n="string"==typeof e?document.querySelector(e):e;return t.node=n,this.symbols.forEach((e=>{e.mount(t.node),this._emitter.emit(se,e.node)})),V(n.querySelectorAll("symbol")).forEach((e=>{const n=q.createFromExistingNode(e);n.node=e,t.add(n)})),this._emitter.emit(ae,n),n}destroy(){const{config:e,symbols:t,_emitter:n}=this;t.forEach((e=>e.destroy())),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()}mount(e=this.config.mountTo,t=!1){const n=this;if(n.isMounted)return n.node;const r="string"==typeof e?document.querySelector(e):e,i=n.render();return this.node=i,t&&r.childNodes[0]?r.insertBefore(i,r.childNodes[0]):r.appendChild(i),this._emitter.emit(ae,i),i}render(){return H(this.stringify())}unmount(){this.node.parentNode.removeChild(this.node)}updateUrls(e,t){if(!this.isMounted)return!1;const n=document.querySelectorAll(this.config.usagesToUpdate);return oe(this.node,n,`${X(e)}#`,`${X(t)}#`),!0}}({attrs:{id:ce,"aria-hidden":"true"},autoConfigure:"undefined"!=typeof document,listenLocationChangeEvent:"undefined"!=typeof window});var de,he,pe,ge,be,me;"undefined"!=typeof window&&"undefined"!=typeof document&&(window[le]?fe=window[le]:window[le]=fe,document.body?ue():(he=[],pe=document,ge=pe.documentElement.doScroll,be="DOMContentLoaded",(me=(ge?/^loaded|^c/:/^loaded|^i|^c/).test(pe.readyState))||pe.addEventListener(be,de=function(){for(pe.removeEventListener(be,de),me=1;de=he.shift();)de()}),function(e){me?setTimeout(e,0):he.push(e)})(ue));const ye=new q({id:"7e3aa6e8f105b74dd36141c94bfbc1eb",content:'<symbol viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" id="7e3aa6e8f105b74dd36141c94bfbc1eb">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M9.554 4.47a.6.6 0 0 1-.13.654l-3 3a.6.6 0 0 1-.849 0l-3-3A.6.6 0 0 1 3 4.1h6a.6.6 0 0 1 .554.37Z" fill="currentColor" fill-opacity=".56" />\n</symbol>',viewBox:"0 0 12 12"});fe.add(ye);const ve=new q({id:"b1d648a783b58a400b404192338f655e",content:'<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 98 96" id="b1d648a783b58a400b404192338f655e">\n <path fill="currentColor" fill-rule="evenodd" d="M48.85 0C21.84 0 0 22 0 49.22 0 70.97 14 89.39 33.4 95.9c2.43.49 3.32-1.06 3.32-2.37 0-1.14-.08-5.05-.08-9.12-13.59 2.93-16.42-5.87-16.42-5.87-2.18-5.7-5.42-7.17-5.42-7.17-4.45-3.01.33-3.01.33-3.01 4.93.32 7.52 5.05 7.52 5.05 4.37 7.5 11.4 5.38 14.23 4.07.4-3.18 1.7-5.38 3.08-6.6-10.84-1.14-22.25-5.38-22.25-24.28 0-5.38 1.94-9.78 5.02-13.2-.49-1.22-2.19-6.28.48-13.04 0 0 4.13-1.3 13.43 5.05a46.97 46.97 0 0 1 12.21-1.63c4.13 0 8.33.57 12.22 1.63 9.3-6.35 13.42-5.05 13.42-5.05 2.67 6.76.97 11.82.49 13.04a18.9 18.9 0 0 1 5.01 13.2c0 18.9-11.4 23.06-22.32 24.28 1.78 1.55 3.32 4.48 3.32 9.13 0 6.6-.08 11.9-.08 13.52 0 1.3.89 2.86 3.31 2.37a49.18 49.18 0 0 0 33.4-46.7C97.72 22 75.8 0 48.86 0z" clip-rule="evenodd" />\n</symbol>',viewBox:"0 0 98 96"});fe.add(ve);const _e=new q({id:"97e840812207a4e85942a3d4cc9c425d",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="97e840812207a4e85942a3d4cc9c425d">\n <g clip-path="url(#97e840812207a4e85942a3d4cc9c425d_a)">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M8 5.333V8m0 2.666h.006M14.666 8A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.333 0Z" />\n </g>\n <defs>\n <clipPath id="97e840812207a4e85942a3d4cc9c425d_a">\n <path fill="currentColor" d="M0 0h16v16H0z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 16 16"});fe.add(_e);const we=new q({id:"fd1fdbebd322c484b74d1ba8222ec72e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fd1fdbebd322c484b74d1ba8222ec72e">\n<path vector-effect="non-scaling-stroke" d="M11 4H7.8C6.11984 4 5.27976 4 4.63803 4.32698C4.07354 4.6146 3.6146 5.07354 3.32698 5.63803C3 6.27976 3 7.11984 3 8.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H15.2C16.8802 21 17.7202 21 18.362 20.673C18.9265 20.3854 19.3854 19.9265 19.673 19.362C20 18.7202 20 17.8802 20 16.2V13M20.1213 3.87868C21.2929 5.05025 21.2929 6.94975 20.1213 8.12132C18.9497 9.29289 17.0503 9.29289 15.8787 8.12132C14.7071 6.94975 14.7071 5.05025 15.8787 3.87868C17.0503 2.70711 18.9497 2.70711 20.1213 3.87868Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(we);const xe=new q({id:"6a0dfad9d21a9029d1e845251a03a91c",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6a0dfad9d21a9029d1e845251a03a91c">\n<path vector-effect="non-scaling-stroke" d="M7 13L12 18L17 13M7 6L12 11L17 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(xe);const Ce=new q({id:"6714b0a01cad0cd868b19137adbf8ef7",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6714b0a01cad0cd868b19137adbf8ef7">\n<path vector-effect="non-scaling-stroke" d="M6 9L12 15L18 9" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Ce);const ke=new q({id:"d369105b52d959e0f31d7e56dae2612e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="d369105b52d959e0f31d7e56dae2612e">\n<path vector-effect="non-scaling-stroke" d="M9 18L15 12L9 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(ke);const Me=new q({id:"0b66582bad1b04536ee18b4b8d9e9a30",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="0b66582bad1b04536ee18b4b8d9e9a30">\n<path vector-effect="non-scaling-stroke" d="M17 18L12 13L7 18M17 11L12 6L7 11" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Me);const Te=new q({id:"7d421dfdc55a22c840e4f6e7f6d142f1",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="7d421dfdc55a22c840e4f6e7f6d142f1">\n<path vector-effect="non-scaling-stroke" d="M18 15L12 9L6 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Te);const Se=new q({id:"a5aca797db351fc35e3c4b4d5d3a6673",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="a5aca797db351fc35e3c4b4d5d3a6673">\n<path vector-effect="non-scaling-stroke" d="M4 4V5.4C4 8.76031 4 10.4405 4.65396 11.7239C5.2292 12.8529 6.14708 13.7708 7.27606 14.346C8.55953 15 10.2397 15 13.6 15H20M20 15L15 10M20 15L15 20" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Se);const Ae=new q({id:"14ab32a1c041859dcf2a710b85f4e6bb",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="14ab32a1c041859dcf2a710b85f4e6bb">\n<path vector-effect="non-scaling-stroke" d="M14 10L21 3M21 3H15M21 3V9M10 14L3 21M3 21H9M3 21L3 15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Ae);const Oe=new q({id:"2df7897188ce65409ea57e820129bd3f",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2df7897188ce65409ea57e820129bd3f">\n<path vector-effect="non-scaling-stroke" d="M8.54636 19.7675C10.9455 20.8319 13.803 20.7741 16.2499 19.3613C20.3154 17.0141 21.7084 11.8156 19.3612 7.75008L19.1112 7.31706M4.63826 16.2502C2.29105 12.1847 3.68399 6.98619 7.74948 4.63898C10.1965 3.22621 13.0539 3.16841 15.4531 4.23277M2.49316 16.3338L5.22521 17.0659L5.95727 14.3338M18.0424 9.6659L18.7744 6.93385L21.5065 7.6659" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Oe);const je=new q({id:"2e896c815a6200a31f8b8e813ff3443b",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2e896c815a6200a31f8b8e813ff3443b">\n<path vector-effect="non-scaling-stroke" d="M4.5 18H19.5M4.5 12H15.5M4.5 6H12.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(je);const Ee=new q({id:"9401086058a257018c5f11bd2d0f1699",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9401086058a257018c5f11bd2d0f1699">\n<path vector-effect="non-scaling-stroke" d="M4.5 6H19.5M4.5 12C6.45262 12 13.5474 12 15.5 12M4.5 18L12.5 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Ee);const Fe=new q({id:"b46ed421558c23c2bc56040f64fea542",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="b46ed421558c23c2bc56040f64fea542">\n<path vector-effect="non-scaling-stroke" d="M7 4V20M7 20L3 16M7 20L11 16M17 20V4M17 4L13 8M17 4L21 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Fe);const Le=new q({id:"bb021e85399e995f42b66451360b7f3e",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="bb021e85399e995f42b66451360b7f3e">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M8 13v4m8-6v6M12 7v10m-4 4h11l2-2V5l-2-2H5L3 5v14l2 2h3Z" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Le);const Pe=new q({id:"c2b90d2236acecf4ea15dfe9c6962306",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="c2b90d2236acecf4ea15dfe9c6962306">\n<path vector-effect="non-scaling-stroke" d="M2.5 7L5 9.5M2.5 20.5L5.5 17.5M1.5 13.5H4.6213M19 13.5H22.5M19 9.5L21.5 7M18.5 17.5L21.5 20.5M8 7.5V6.5C8 4.29086 9.7908 2.5 12 2.5C14.2092 2.5 16 4.29086 16 6.5V7.5M12 21.5C8.13401 21.5 5 18.366 5 14.5V11.4999C5 10.3829 5 9.82428 5.15712 9.37516C5.43856 8.57093 6.07093 7.93856 6.87522 7.65712C7.32427 7.5 7.88284 7.5 9 7.5H15.0001C16.1171 7.5 16.6757 7.5 17.1248 7.65712C17.9291 7.93856 18.5614 8.57093 18.8429 9.37516C19 9.82428 19 10.3829 19 11.4999V14.5C19 18.366 15.866 21.5 12 21.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Pe);const $e=new q({id:"11fffc2467a7bbf0274413a1ad37dc9f",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="11fffc2467a7bbf0274413a1ad37dc9f">\n<path vector-effect="non-scaling-stroke" d="M14.5 15L17.5 12L14.5 9M9.5 9L6.5 12L9.5 15M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add($e);const Ne=new q({id:"6a4ae14f6cf80dfe96ec4985f4a1f09a",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="6a4ae14f6cf80dfe96ec4985f4a1f09a">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M12 4v14l2 2h3m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0ZM7 4h10M7 4a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm10 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0Zm-5 8h5m0 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0Z" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Ne);const ze=new q({id:"28573ddc1fa4574541a30ea41dc809d3",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="28573ddc1fa4574541a30ea41dc809d3">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M16 4h2l2 2v14l-2 2H6l-2-2V6l2-2h2m1 11 2 2 5-4m-6-7h5l1-1V4v0-1l-1-1H9L8 3v2l1 1h1Z" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(ze);const Be=new q({id:"5d13576ad53afa1a06870e7f2a89611c",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="5d13576ad53afa1a06870e7f2a89611c">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="M14 11H8m2 4H8m8-8H8m12 0v13l-2 2H6l-2-2V4l2-2h12l2 2v3Z" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Be);const De=new q({id:"301433459aced022caf70a344436a818",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="301433459aced022caf70a344436a818">\n<path vector-effect="non-scaling-stroke" d="M20 7V6.8C20 5.11984 20 4.27976 19.673 3.63803C19.3854 3.07354 18.9265 2.6146 18.362 2.32698C17.7202 2 16.8802 2 15.2 2H8.8C7.11984 2 6.27976 2 5.63803 2.32698C5.07354 2.6146 4.6146 3.07354 4.32698 3.63803C4 4.27976 4 5.11984 4 6.8V17.2C4 18.8802 4 19.7202 4.32698 20.362C4.6146 20.9265 5.07354 21.3854 5.63803 21.673C6.27976 22 7.11984 22 8.8 22H12.5M12.5 11H8M11.5 15H8M16 7H8M18 18V12.5C18 11.6716 18.6716 11 19.5 11C20.3284 11 21 11.6716 21 12.5V18C21 19.6569 19.6569 21 18 21C16.3431 21 15 19.6569 15 18V14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(De);const Re=new q({id:"8e25e3f623b611fe5142a6270ac7268d",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" id="8e25e3f623b611fe5142a6270ac7268d">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".7" stroke-width="1.5" d="m13 7-1-2-1-1-1-1H3L2 4v3m0 0h18l2 2v10l-2 2H4l-2-2V7Z" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Re);const Ue=new q({id:"fcf877cdf00a9154483271d31c261114",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fcf877cdf00a9154483271d31c261114">\n<path vector-effect="non-scaling-stroke" d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Ue);const Ie=new q({id:"1bc28c2f0dfd279d91231ef6e553e638",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="1bc28c2f0dfd279d91231ef6e553e638">\n<path vector-effect="non-scaling-stroke" d="M13 5H21M13 9H18M13 15H21M13 19H18M3 17.012L4.99133 19L9 15M4 4H8C8.55228 4 9 4.44772 9 5V9C9 9.55228 8.55228 10 8 10H4C3.44772 10 3 9.55228 3 9V5C3 4.44772 3.44772 4 4 4Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Ie);const He=new q({id:"472a7e86c3a9476a4f38bb06c801d30d",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="472a7e86c3a9476a4f38bb06c801d30d">\n<path vector-effect="non-scaling-stroke" d="M5 15C4.06812 15 3.60218 15 3.23463 14.8478C2.74458 14.6448 2.35523 14.2554 2.15224 13.7654C2 13.3978 2 12.9319 2 12V5.2C2 4.0799 2 3.51984 2.21799 3.09202C2.40973 2.71569 2.71569 2.40973 3.09202 2.21799C3.51984 2 4.0799 2 5.2 2H12C12.9319 2 13.3978 2 13.7654 2.15224C14.2554 2.35523 14.6448 2.74458 14.8478 3.23463C15 3.60218 15 4.06812 15 5M12.2 22H18.8C19.9201 22 20.4802 22 20.908 21.782C21.2843 21.5903 21.5903 21.2843 21.782 20.908C22 20.4802 22 19.9201 22 18.8V12.2C22 11.0799 22 10.5198 21.782 10.092C21.5903 9.71569 21.2843 9.40973 20.908 9.21799C20.4802 9 19.9201 9 18.8 9H12.2C11.0799 9 10.5198 9 10.092 9.21799C9.71569 9.40973 9.40973 9.71569 9.21799 10.092C9 10.5198 9 11.0799 9 12.2V18.8C9 19.9201 9 20.4802 9.21799 20.908C9.40973 21.2843 9.71569 21.5903 10.092 21.782C10.5198 22 11.0799 22 12.2 22Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(He);const qe=new q({id:"0e6dd40015c633a2be9271018b9b22bf",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="0e6dd40015c633a2be9271018b9b22bf">\n<path vector-effect="non-scaling-stroke" d="M4 16.2422C2.79401 15.435 2 14.0602 2 12.5C2 10.1564 3.79151 8.23129 6.07974 8.01937C6.54781 5.17213 9.02024 3 12 3C14.9798 3 17.4522 5.17213 17.9203 8.01937C20.2085 8.23129 22 10.1564 22 12.5C22 14.0602 21.206 15.435 20 16.2422M8 17L12 21M12 21L16 17M12 21V12" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(qe);const We=new q({id:"dacf24b7c84e8a250ab378b98cf65780",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="dacf24b7c84e8a250ab378b98cf65780">\n<path vector-effect="non-scaling-stroke" d="M5 9H19M5 15H19" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(We);const Ve=new q({id:"f6af8233c5d208fa571aed090bfc4178",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="f6af8233c5d208fa571aed090bfc4178">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M1.613 8.475c-.09-.144-.136-.216-.161-.326a.782.782 0 0 1 0-.298c.025-.111.07-.183.161-.327C2.363 6.336 4.597 3.333 8 3.333c3.404 0 5.637 3.003 6.387 4.191.09.144.136.216.162.327.019.083.019.214 0 .298-.026.11-.071.182-.162.326-.75 1.188-2.983 4.191-6.387 4.191-3.403 0-5.636-3.003-6.387-4.19Z" />\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="M8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" />\n</symbol>',viewBox:"0 0 16 16"});fe.add(Ve);const Ye=new q({id:"e2bf3103166453fd92fed1c3c2fcc807",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="e2bf3103166453fd92fed1c3c2fcc807">\n<path vector-effect="non-scaling-stroke" d="M8 17H16M11.0177 2.764L4.23539 8.03912C3.78202 8.39175 3.55534 8.56806 3.39203 8.78886C3.24737 8.98444 3.1396 9.20478 3.07403 9.43905C3 9.70352 3 9.9907 3 10.5651V17.8C3 18.9201 3 19.4801 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.07989 21 6.2 21H17.8C18.9201 21 19.4802 21 19.908 20.782C20.2843 20.5903 20.5903 20.2843 20.782 19.908C21 19.4801 21 18.9201 21 17.8V10.5651C21 9.9907 21 9.70352 20.926 9.43905C20.8604 9.20478 20.7526 8.98444 20.608 8.78886C20.4447 8.56806 20.218 8.39175 19.7646 8.03913L12.9823 2.764C12.631 2.49075 12.4553 2.35412 12.2613 2.3016C12.0902 2.25526 11.9098 2.25526 11.7387 2.3016C11.5447 2.35412 11.369 2.49075 11.0177 2.764Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Ye);const Ze=new q({id:"db4c3937a96a0ed2c4446a44d3ed4487",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="db4c3937a96a0ed2c4446a44d3ed4487">\n<path vector-effect="non-scaling-stroke" d="M10.0002 13C10.4297 13.5741 10.9776 14.0491 11.6067 14.3929C12.2359 14.7367 12.9317 14.9411 13.6468 14.9923C14.362 15.0435 15.0798 14.9403 15.7515 14.6897C16.4233 14.4392 17.0333 14.047 17.5402 13.54L20.5402 10.54C21.451 9.59695 21.955 8.33394 21.9436 7.02296C21.9322 5.71198 21.4063 4.45791 20.4793 3.53087C19.5523 2.60383 18.2982 2.07799 16.9872 2.0666C15.6762 2.0552 14.4132 2.55918 13.4702 3.46997L11.7502 5.17997M14.0002 11C13.5707 10.4258 13.0228 9.95078 12.3936 9.60703C11.7645 9.26327 11.0687 9.05885 10.3535 9.00763C9.63841 8.95641 8.92061 9.0596 8.24885 9.31018C7.5771 9.56077 6.96709 9.9529 6.4602 10.46L3.4602 13.46C2.54941 14.403 2.04544 15.666 2.05683 16.977C2.06822 18.288 2.59407 19.542 3.52111 20.4691C4.44815 21.3961 5.70221 21.9219 7.01319 21.9333C8.32418 21.9447 9.58719 21.4408 10.5302 20.53L12.2402 18.82" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Ze);const Ge=new q({id:"f346781556394af2bd92144ed8a81446",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f346781556394af2bd92144ed8a81446">\n<path vector-effect="non-scaling-stroke" d="M21 9L21 3M21 3H15M21 3L13 11M10 5H7.8C6.11984 5 5.27976 5 4.63803 5.32698C4.07354 5.6146 3.6146 6.07354 3.32698 6.63803C3 7.27976 3 8.11984 3 9.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H14.2C15.8802 21 16.7202 21 17.362 20.673C17.9265 20.3854 18.3854 19.9265 18.673 19.362C19 18.7202 19 17.8802 19 16.2V14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Ge);const Xe=new q({id:"eb91e2adaaf820e51d7f9276a36ae9bc",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="eb91e2adaaf820e51d7f9276a36ae9bc">\n<path vector-effect="non-scaling-stroke" d="M21 21L16.65 16.65M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Xe);const Qe=new q({id:"a3d8dc7d008afa216e105f1d0e428c8a",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="a3d8dc7d008afa216e105f1d0e428c8a">\n<path vector-effect="non-scaling-stroke" d="M3 8L15 8M15 8C15 9.65686 16.3431 11 18 11C19.6569 11 21 9.65685 21 8C21 6.34315 19.6569 5 18 5C16.3431 5 15 6.34315 15 8ZM9 16L21 16M9 16C9 17.6569 7.65685 19 6 19C4.34315 19 3 17.6569 3 16C3 14.3431 4.34315 13 6 13C7.65685 13 9 14.3431 9 16Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Qe);const Je=new q({id:"00720afc1b6bf51893d1d598043a4de1",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="00720afc1b6bf51893d1d598043a4de1">\n<path vector-effect="non-scaling-stroke" d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Je);const Ke=new q({id:"72dc6b01e3eb761c8218eb9909e841a6",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="72dc6b01e3eb761c8218eb9909e841a6">\n<path vector-effect="non-scaling-stroke" d="M12.9999 2L4.09332 12.6879C3.74451 13.1064 3.57011 13.3157 3.56744 13.4925C3.56512 13.6461 3.63359 13.7923 3.75312 13.8889C3.89061 14 4.16304 14 4.7079 14H11.9999L10.9999 22L19.9064 11.3121C20.2552 10.8936 20.4296 10.6843 20.4323 10.5075C20.4346 10.3539 20.3661 10.2077 20.2466 10.1111C20.1091 10 19.8367 10 19.2918 10H11.9999L12.9999 2Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(Ke);const et=new q({id:"2b588854ea2eb02a33849edc6074ba47",content:'<symbol fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" id="2b588854ea2eb02a33849edc6074ba47">\n <path d="M2.667 10s.667-.667 2.667-.667c2 0 3.333 1.333 5.333 1.333S13.334 10 13.334 10V2s-.667.666-2.667.666c-2 0-3.333-1.333-5.333-1.333S2.667 2 2.667 2v12.666" stroke="currentColor" stroke-opacity=".72" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 16 16"});fe.add(et);const tt=new q({id:"e7a5450a50d9dbdceccdc513ec1c2df5",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="e7a5450a50d9dbdceccdc513ec1c2df5">\n<path vector-effect="non-scaling-stroke" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n<path vector-effect="non-scaling-stroke" d="M9.5 8.96533C9.5 8.48805 9.5 8.24941 9.59974 8.11618C9.68666 8.00007 9.81971 7.92744 9.96438 7.9171C10.1304 7.90525 10.3311 8.03429 10.7326 8.29239L15.4532 11.3271C15.8016 11.551 15.9758 11.663 16.0359 11.8054C16.0885 11.9298 16.0885 12.0702 16.0359 12.1946C15.9758 12.337 15.8016 12.449 15.4532 12.6729L10.7326 15.7076C10.3311 15.9657 10.1304 16.0948 9.96438 16.0829C9.81971 16.0726 9.68666 15.9999 9.59974 15.8838C9.5 15.7506 9.5 15.512 9.5 15.0347V8.96533Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(tt);const nt=new q({id:"212b7cc7454a8f2131b99a6dc35cdac7",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16" id="212b7cc7454a8f2131b99a6dc35cdac7">\n <g clip-path="url(#212b7cc7454a8f2131b99a6dc35cdac7_a)">\n <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".56" stroke-width="1.5" d="m9.566 3.1 1.3-1.3a1.607 1.607 0 0 1 2.267 0L14.2 2.867a1.6 1.6 0 0 1 0 2.266l-1.3 1.3m1.766-5.1-1 1m-.333 6.334a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z" />\n </g>\n <defs>\n <clipPath id="212b7cc7454a8f2131b99a6dc35cdac7_a">\n <path fill="currentColor" d="M0 0h16v16H0z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 16 16"});fe.add(nt);const rt=new q({id:"74dd05c5f266368b8b6322f3a7323966",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="74dd05c5f266368b8b6322f3a7323966">\n <path vector-effect="non-scaling-stroke" d="M16.2 21H6.93137C6.32555 21 6.02265 21 5.88238 20.8802C5.76068 20.7763 5.69609 20.6203 5.70865 20.4608C5.72312 20.2769 5.93731 20.0627 6.36569 19.6343L14.8686 11.1314C15.2646 10.7354 15.4627 10.5373 15.691 10.4632C15.8918 10.3979 16.1082 10.3979 16.309 10.4632C16.5373 10.5373 16.7354 10.7354 17.1314 11.1314L21 15V16.2M16.2 21C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2M16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2M10.5 8.5C10.5 9.60457 9.60457 10.5 8.5 10.5C7.39543 10.5 6.5 9.60457 6.5 8.5C6.5 7.39543 7.39543 6.5 8.5 6.5C9.60457 6.5 10.5 7.39543 10.5 8.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(rt);const it=new q({id:"59472a73e3c4c5e34794720bd8f10af7",content:'<symbol viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none" id="59472a73e3c4c5e34794720bd8f10af7">\n <path vector-effect="non-scaling-stroke" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-opacity="1" stroke-width="1.5" d="M12 3v18M8 3h11l2 2v14l-2 2H5l-2-2V5l2-2h3Z" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(it);const ot=new q({id:"a7ec9c9b2ab84be9a85639d7ee018535",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="a7ec9c9b2ab84be9a85639d7ee018535">\n <path vector-effect="non-scaling-stroke" d="M3 9H21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z" stroke="currentColor" stroke-opacity="1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(ot);const at=new q({id:"2cfef4a6ca3bcab80737e78fa35a1e8e",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="2cfef4a6ca3bcab80737e78fa35a1e8e">\n<path vector-effect="non-scaling-stroke" d="M15 9H15.01M15 15C18.3137 15 21 12.3137 21 9C21 5.68629 18.3137 3 15 3C11.6863 3 9 5.68629 9 9C9 9.27368 9.01832 9.54308 9.05381 9.80704C9.11218 10.2412 9.14136 10.4583 9.12172 10.5956C9.10125 10.7387 9.0752 10.8157 9.00469 10.9419C8.937 11.063 8.81771 11.1823 8.57913 11.4209L3.46863 16.5314C3.29568 16.7043 3.2092 16.7908 3.14736 16.8917C3.09253 16.9812 3.05213 17.0787 3.02763 17.1808C3 17.2959 3 17.4182 3 17.6627V19.4C3 19.9601 3 20.2401 3.10899 20.454C3.20487 20.6422 3.35785 20.7951 3.54601 20.891C3.75992 21 4.03995 21 4.6 21H6.33726C6.58185 21 6.70414 21 6.81923 20.9724C6.92127 20.9479 7.01881 20.9075 7.10828 20.8526C7.2092 20.7908 7.29568 20.7043 7.46863 20.5314L12.5791 15.4209C12.8177 15.1823 12.937 15.063 13.0581 14.9953C13.1843 14.9248 13.2613 14.8987 13.4044 14.8783C13.5417 14.8586 13.7588 14.8878 14.193 14.9462C14.4569 14.9817 14.7263 15 15 15Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(at);const st=new q({id:"f5f0f4b804a352ab8e0f24140051bbe3",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f5f0f4b804a352ab8e0f24140051bbe3">\n<path vector-effect="non-scaling-stroke" d="M8.99999 12H12M8.99999 12C8.99999 12.3965 9.07692 12.7751 9.21667 13.1216M8.99999 12C8.99999 11.6224 9.06975 11.2611 9.19707 10.9283M15 12H12M15 12C15 11.6224 14.9303 11.2611 14.8029 10.9283M15 12C15 12.3776 14.9303 12.7389 14.8029 13.0717M12 15V12M12 15C11.6219 15 11.2601 14.93 10.9269 14.8024M12 15C12.4299 15 12.8388 14.9096 13.2085 14.7467M12 9V12M12 9C12.4299 9 12.8388 9.09044 13.2085 9.25334M12 9C11.5908 9 11.2008 9.08191 10.8454 9.23022M12 12L9.82377 9.93503M12 12L14.3085 13.916M12 12L9.94168 14.1825M12 12L14.1762 9.93503M12 12L14.8029 10.9283M12 12L9.21667 13.1216M12 12L10.9269 14.8024M12 12L13.2085 9.25334M12 12L14.8029 13.0717M12 12L13.2085 14.7467M12 12L10.8454 9.23022M12 12L9.19707 10.9283M9.82377 9.93503C10.1094 9.63416 10.4567 9.39246 10.8454 9.23022M9.82377 9.93503C9.55415 10.2191 9.33956 10.5559 9.19707 10.9283M14.3085 13.916C14.5165 13.6657 14.6846 13.381 14.8029 13.0717M14.3085 13.916C14.0131 14.2716 13.6371 14.5578 13.2085 14.7467M9.94168 14.1825C9.62921 13.8877 9.38003 13.5266 9.21667 13.1216M9.94168 14.1825C10.224 14.4488 10.5579 14.661 10.9269 14.8024M14.1762 9.93503C14.4458 10.2191 14.6604 10.5559 14.8029 10.9283M14.1762 9.93503C13.9039 9.64814 13.5755 9.41504 13.2085 9.25334M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(st);const ct=new q({id:"b53acf6616bc3217ee53f6fa11e30526",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="b53acf6616bc3217ee53f6fa11e30526">\n<path vector-effect="non-scaling-stroke" d="M5.5839 4.7328C6.33209 3.98462 7.17125 3.38527 8.06529 2.9339C7.43285 6.41756 8.46285 10.1468 11.158 12.842C13.8532 15.5372 17.5824 16.5672 21.0661 15.9347C20.6147 16.8288 20.0154 17.6679 19.2672 18.4161C15.4887 22.1946 9.36244 22.1946 5.5839 18.4161C1.80537 14.6376 1.80537 8.51134 5.5839 4.7328Z" stroke="currentColor" stroke-width="1.5" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(ct);const lt=new q({id:"f6726cf2a294337e9b40efc54b12453b",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="f6726cf2a294337e9b40efc54b12453b">\n<path vector-effect="non-scaling-stroke" d="M22 12H20M19.071 19.0711L17.6567 17.6569M4 12H2M6.34292 6.34317L4.92871 4.92896M12 4V2M17.6567 6.34317L19.071 4.92896M12 22V20M4.92871 19.0711L6.34292 17.6569M18 12C18 15.3137 15.3137 18 12 18C8.68629 18 6 15.3137 6 12C6 8.68629 8.68629 6 12 6C15.3137 6 18 8.68629 18 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(lt);const ut=new q({id:"fcf01aebea5d02da45d4b8d3bac62b58",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="fcf01aebea5d02da45d4b8d3bac62b58">\n<path vector-effect="non-scaling-stroke" d="M12 9.5V13.5L14.5 15M12 5C7.30558 5 3.5 8.80558 3.5 13.5C3.5 18.1944 7.30558 22 12 22C16.6944 22 20.5 18.1944 20.5 13.5C20.5 8.80558 16.6944 5 12 5ZM12 5V2M10 2H14M20.329 5.59204L18.829 4.09204L19.579 4.84204M3.67102 5.59204L5.17102 4.09204L4.42102 4.84204" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(ut);const ft=new q({id:"4af8011a58a597dd8fd8c52187120c54",content:'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 32 32" id="4af8011a58a597dd8fd8c52187120c54">\n <g clip-path="url(#4af8011a58a597dd8fd8c52187120c54_a)">\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_b)" fill-rule="evenodd" d="M22.23 4.66a3.6 3.6 0 0 1 5.1.04A16.08 16.08 0 0 1 31.97 16a3.6 3.6 0 1 1-7.2 0c0-2.4-.98-4.61-2.58-6.24a3.6 3.6 0 0 1 .03-5.1Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_c)" fill-rule="evenodd" d="M12.4 3.6A3.6 3.6 0 0 1 16 0c4.4 0 8.4 1.8 11.29 4.66a3.6 3.6 0 0 1-5.06 5.13A8.87 8.87 0 0 0 16 7.2a3.6 3.6 0 0 1-3.6-3.6Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_d)" fill-rule="evenodd" d="M0 16A16 16 0 0 1 16 0a3.6 3.6 0 0 1 0 7.2 8.8 8.8 0 0 0-6.21 15.04 3.6 3.6 0 0 1-5.13 5.06A16.08 16.08 0 0 1 0 16Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_e)" fill-rule="evenodd" d="M4.66 22.24a3.6 3.6 0 0 1 5.1-.03 8.87 8.87 0 0 0 6.23 2.59 3.6 3.6 0 0 1 0 7.2c-4.4 0-8.4-1.8-11.3-4.66a3.6 3.6 0 0 1-.03-5.1Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_f)" fill-rule="evenodd" d="M28.38 12.4a3.6 3.6 0 0 1 3.6 3.6A16 16 0 0 1 16 32a3.6 3.6 0 0 1 0-7.2 8.8 8.8 0 0 0 8.8-8.8 3.6 3.6 0 0 1 3.6-3.6Z" clip-rule="evenodd" />\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_g)" fill-rule="evenodd" d="M28.38 12.4a3.6 3.6 0 0 1 3.6 3.6v12.4a3.6 3.6 0 1 1-7.2 0V16a3.6 3.6 0 0 1 3.6-3.6Z" clip-rule="evenodd" />\n <g clip-path="url(#4af8011a58a597dd8fd8c52187120c54_h)">\n <path fill="url(#4af8011a58a597dd8fd8c52187120c54_i)" fill-rule="evenodd" d="M22.23 4.66a3.6 3.6 0 0 1 5.1.04A16.08 16.08 0 0 1 31.97 16a3.6 3.6 0 1 1-7.2 0c0-2.4-.98-4.61-2.58-6.24a3.6 3.6 0 0 1 .03-5.1Z" clip-rule="evenodd" />\n </g>\n </g>\n <defs>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_b" x1="26.4" x2="28.8" y1="9.6" y2="15.01" gradientUnits="userSpaceOnUse">\n <stop stop-color="#7E22CE" />\n <stop offset="1" stop-color="#8B5CF6" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_c" x1="26.8" x2="17.8" y1="9.4" y2="3.61" gradientUnits="userSpaceOnUse">\n <stop stop-color="#EF4444" />\n <stop offset="1" stop-color="#DC2626" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_d" x1="3.6" x2="5.4" y1="14.01" y2="24.81" gradientUnits="userSpaceOnUse">\n <stop stop-color="#22C55E" />\n <stop offset="1" stop-color="#15803D" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_e" x1="4.8" x2="14.4" y1="22.21" y2="29.21" gradientUnits="userSpaceOnUse">\n <stop stop-color="#94A3B8" />\n <stop offset=".96" stop-color="#64748B" />\n <stop offset="1" stop-color="#64748B" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_f" x1="28.4" x2="22.19" y1="22.18" y2="28.4" gradientUnits="userSpaceOnUse">\n <stop stop-color="#D97706" />\n <stop offset="1" stop-color="#FBBF24" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_g" x1="29.2" x2="30.63" y1="54.43" y2="54.28" gradientUnits="userSpaceOnUse">\n <stop stop-color="#FBBF24" />\n <stop offset="1" stop-color="#FBBF24" />\n </linearGradient>\n <linearGradient id="4af8011a58a597dd8fd8c52187120c54_i" x1="26.4" x2="28.8" y1="9.6" y2="15.01" gradientUnits="userSpaceOnUse">\n <stop stop-color="#7E22CE" />\n <stop offset="1" stop-color="#8B5CF6" />\n </linearGradient>\n <clipPath id="4af8011a58a597dd8fd8c52187120c54_a">\n <path fill="#fff" d="M0 0h32v32H0z" />\n </clipPath>\n <clipPath id="4af8011a58a597dd8fd8c52187120c54_h">\n <path fill="#fff" d="M24.8 12H32v8h-7.2z" />\n </clipPath>\n </defs>\n</symbol>',viewBox:"0 0 32 32"});fe.add(ft);const dt=new q({id:"9a80d543f66830af93634ae4d68aa0b7",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9a80d543f66830af93634ae4d68aa0b7">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM13 8C13 7.44772 12.5523 7 12 7C11.4477 7 11 7.44772 11 8V12C11 12.5523 11.4477 13 12 13C12.5523 13 13 12.5523 13 12V8ZM12 15C11.4477 15 11 15.4477 11 16C11 16.5523 11.4477 17 12 17H12.01C12.5623 17 13.01 16.5523 13.01 16C13.01 15.4477 12.5623 15 12.01 15H12Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(dt);const ht=new q({id:"9fc212651ca048f099abf61155ea3483",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="9fc212651ca048f099abf61155ea3483">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM17.2071 9.70711C17.5976 9.31658 17.5976 8.68342 17.2071 8.29289C16.8166 7.90237 16.1834 7.90237 15.7929 8.29289L10.5 13.5858L8.20711 11.2929C7.81658 10.9024 7.18342 10.9024 6.79289 11.2929C6.40237 11.6834 6.40237 12.3166 6.79289 12.7071L9.79289 15.7071C10.1834 16.0976 10.8166 16.0976 11.2071 15.7071L17.2071 9.70711Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(ht);const pt=new q({id:"6f69a868093429cca2d18204c014d1de",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="6f69a868093429cca2d18204c014d1de">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM10.9066 8.27123C11.3138 8.03191 11.7926 7.94443 12.2581 8.02428C12.7236 8.10413 13.1459 8.34615 13.45 8.70749C13.7542 9.06883 13.9207 9.52615 13.92 9.99847L13.92 9.99996C13.92 10.4691 13.5549 10.9582 12.8653 11.4179C12.5509 11.6275 12.2294 11.7889 11.9826 11.8986C11.8606 11.9529 11.7603 11.9929 11.6929 12.0186C11.663 12.03 11.6329 12.041 11.6027 12.0516C11.0794 12.2267 10.7968 12.7926 10.9713 13.3162C11.146 13.8401 11.7123 14.1233 12.2362 13.9486L12.4049 13.8876C12.5015 13.8508 12.6356 13.7971 12.7949 13.7263C13.1105 13.586 13.5391 13.3724 13.9747 13.082C14.7849 12.5419 15.9195 11.5312 15.92 10.0009C15.9213 9.05644 15.5883 8.14201 14.9801 7.41949C14.3717 6.69682 13.5273 6.21277 12.5962 6.05307C11.6652 5.89337 10.7077 6.06833 9.89327 6.54696C9.07886 7.02559 8.46013 7.77701 8.14666 8.66812C7.96339 9.18911 8.23716 9.76002 8.75815 9.9433C9.27914 10.1266 9.85006 9.85279 10.0333 9.33181C10.1901 8.88625 10.4994 8.51054 10.9066 8.27123ZM12 16C11.4477 16 11 16.4477 11 17C11 17.5522 11.4477 18 12 18H12.01C12.5623 18 13.01 17.5522 13.01 17C13.01 16.4477 12.5623 16 12.01 16H12Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(pt);const gt=new q({id:"27eb29a1af650efa3c8f236e96fd49b8",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="27eb29a1af650efa3c8f236e96fd49b8">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8 11C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13H16C16.5523 13 17 12.5523 17 12C17 11.4477 16.5523 11 16 11H8Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(gt);const bt=new q({id:"d37b4d7c76a2a7896f3890561ed86f2d",content:'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="d37b4d7c76a2a7896f3890561ed86f2d">\n<path vector-effect="non-scaling-stroke" fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289Z" fill="currentColor" />\n</symbol>',viewBox:"0 0 24 24"});fe.add(bt);const mt=new q({id:"eddd9bec4b080bb230775b072a486acc",content:'<symbol viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" id="eddd9bec4b080bb230775b072a486acc">\n <circle cx="8" cy="8" r="7" stroke="currentColor" stroke-opacity="0.32" stroke-width="1.5" vector-effect="non-scaling-stroke" />\n <path d="M 15 8 A 7 7 0 0 1 8 15" stroke="currentColor" stroke-opacity="1" stroke-width="1.5" class="allure-spinner" vector-effect="non-scaling-stroke" />\n <style>\n #eddd9bec4b080bb230775b072a486acc .allure-spinner {\n transform-origin: center;\n animation: allure-spinner-spin 0.75s infinite ease-in-out;\n }\n\n @keyframes allure-spinner-spin {\n 100% {\n transform: rotate(360deg);\n }\n }\n </style>\n</symbol>',viewBox:"0 0 16 16"});fe.add(mt);const yt=new q({id:"baef59387353cd7f2939ebd4ddf30155",content:'<symbol viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" id="baef59387353cd7f2939ebd4ddf30155">\n<g clip-path="url(#baef59387353cd7f2939ebd4ddf30155_clip0_428_25)">\n<path d="M5.24 22.51L6.67 21.09C5.10422 19.6841 3.87398 17.9447 3.07 16C5.1 10.93 10.7 7 16 7C17.3639 7.018 18.7154 7.26128 20 7.72L21.55 6.16C19.7927 5.41732 17.9077 5.02335 16 5C12.7405 5.12257 9.58839 6.19756 6.9332 8.09209C4.27802 9.98662 2.23616 12.6176 1.06 15.66C0.980569 15.8797 0.980569 16.1203 1.06 16.34C1.94825 18.697 3.38043 20.811 5.24 22.51Z" fill="currentColor" />\n<path d="M12 15.73C12.0695 14.7717 12.4817 13.8705 13.1611 13.1911C13.8405 12.5117 14.7417 12.0995 15.7 12.03L17.51 10.21C16.4958 9.94295 15.4292 9.94642 14.4168 10.2201C13.4043 10.4937 12.4812 11.028 11.7396 11.7696C10.998 12.5112 10.4637 13.4343 10.1901 14.4468C9.91642 15.4592 9.91295 16.5258 10.18 17.54L12 15.73Z" fill="currentColor" />\n<path d="M30.94 15.66C29.7933 12.6732 27.7981 10.087 25.2 8.22L30 3.41L28.59 2L2 28.59L3.41 30L8.51 24.9C10.7839 26.234 13.364 26.9574 16 27C19.2595 26.8774 22.4116 25.8024 25.0668 23.9079C27.722 22.0134 29.7638 19.3824 30.94 16.34C31.0194 16.1203 31.0194 15.8797 30.94 15.66ZM20 16C19.9958 16.7001 19.8079 17.3868 19.4551 17.9916C19.1023 18.5963 18.597 19.0978 17.9896 19.4461C17.3822 19.7943 16.6941 19.977 15.994 19.9759C15.2939 19.9749 14.6063 19.7901 14 19.44L19.44 14C19.7995 14.6057 19.9927 15.2957 20 16ZM16 25C13.9021 24.9634 11.8439 24.4214 10 23.42L12.54 20.88C13.6953 21.6816 15.0955 22.052 16.4961 21.9265C17.8967 21.8009 19.2087 21.1874 20.2031 20.1931C21.1974 19.1987 21.8109 17.8867 21.9365 16.4861C22.062 15.0855 21.6916 13.6853 20.89 12.53L23.76 9.66C26.0546 11.235 27.849 13.4354 28.93 16C26.9 21.07 21.3 25 16 25Z" fill="currentColor" />\n</g>\n<defs>\n<clipPath id="baef59387353cd7f2939ebd4ddf30155_clip0_428_25">\n<rect width="32" height="32" fill="white" />\n</clipPath>\n</defs>\n</symbol>',viewBox:"0 0 32 32"});fe.add(yt);const vt=new q({id:"81703ad6b4eb056b5d8424a52fc8c0e8",content:'<symbol viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" id="81703ad6b4eb056b5d8424a52fc8c0e8">\n<g clip-path="url(#81703ad6b4eb056b5d8424a52fc8c0e8_clip0_428_24)">\n<path d="M30.94 15.66C29.7638 12.6176 27.722 9.98662 25.0668 8.09209C22.4116 6.19756 19.2595 5.12257 16 5C12.7405 5.12257 9.58839 6.19756 6.9332 8.09209C4.27802 9.98662 2.23616 12.6176 1.06 15.66C0.980569 15.8797 0.980569 16.1203 1.06 16.34C2.23616 19.3824 4.27802 22.0134 6.9332 23.9079C9.58839 25.8024 12.7405 26.8774 16 27C19.2595 26.8774 22.4116 25.8024 25.0668 23.9079C27.722 22.0134 29.7638 19.3824 30.94 16.34C31.0194 16.1203 31.0194 15.8797 30.94 15.66ZM16 25C10.7 25 5.1 21.07 3.07 16C5.1 10.93 10.7 7 16 7C21.3 7 26.9 10.93 28.93 16C26.9 21.07 21.3 25 16 25Z" fill="currentColor" />\n<path d="M16 10C14.8133 10 13.6533 10.3519 12.6666 11.0112C11.6799 11.6705 10.9109 12.6075 10.4567 13.7039C10.0026 14.8003 9.88378 16.0067 10.1153 17.1705C10.3468 18.3344 10.9182 19.4035 11.7574 20.2426C12.5965 21.0818 13.6656 21.6532 14.8295 21.8847C15.9933 22.1162 17.1997 21.9974 18.2961 21.5433C19.3925 21.0892 20.3295 20.3201 20.9888 19.3334C21.6481 18.3467 22 17.1867 22 16C22 14.4087 21.3679 12.8826 20.2426 11.7574C19.1174 10.6321 17.5913 10 16 10ZM16 20C15.2089 20 14.4355 19.7654 13.7777 19.3259C13.1199 18.8864 12.6072 18.2616 12.3045 17.5307C12.0017 16.7998 11.9225 15.9956 12.0769 15.2196C12.2312 14.4437 12.6122 13.731 13.1716 13.1716C13.731 12.6122 14.4437 12.2312 15.2196 12.0769C15.9956 11.9225 16.7998 12.0017 17.5307 12.3045C18.2616 12.6072 18.8864 13.1199 19.3259 13.7777C19.7654 14.4355 20 15.2089 20 16C20 17.0609 19.5786 18.0783 18.8284 18.8284C18.0783 19.5786 17.0609 20 16 20Z" fill="currentColor" />\n</g>\n<defs>\n<clipPath id="81703ad6b4eb056b5d8424a52fc8c0e8_clip0_428_24">\n<rect width="32" height="32" fill="white" />\n</clipPath>\n</defs>\n</symbol>',viewBox:"0 0 32 32"});fe.add(vt);var _t={icon:"styles_icon__peopu","size-xs":"styles_size-xs__jr71y","size-s":"styles_size-s__nGH-V","size-m":"styles_size-m__INBNd",inline:"styles_inline__BmJqE"};const wt={arrowsChevronDown:ye.id,github:ve.id,lineAlertsAlertCircle:_e.id,lineAlertsNotificationBox:we.id,lineArrowsChevronDown:Ce.id,lineArrowsChevronDownDouble:xe.id,lineArrowsChevronRight:ke.id,lineArrowsChevronUp:Te.id,lineArrowsChevronUpDouble:Me.id,lineArrowsCornerDownRight:Se.id,lineArrowsExpand3:Ae.id,lineArrowsRefreshCcw1:Oe.id,lineArrowsSortLineAsc:je.id,lineArrowsSortLineDesc:Ee.id,lineArrowsSwitchVertical1:Fe.id,lineChartsBarChartSquare:Le.id,lineDevBug2:Pe.id,lineDevCodeSquare:$e.id,lineDevDataflow3:Ne.id,lineFilesClipboardCheck:ze.id,lineFilesFile2:Be.id,lineFilesFileAttachment2:De.id,lineFilesFolder:Re.id,lineGeneralCheck:Ue.id,lineGeneralChecklist3:Ie.id,lineGeneralCopy3:He.id,lineGeneralDownloadCloud:qe.id,lineGeneralEqual:We.id,lineGeneralEye:Ve.id,lineGeneralHomeLine:Ye.id,lineGeneralLink1:Ze.id,lineGeneralLinkExternal:Ge.id,lineGeneralSearchMd:Xe.id,lineGeneralSettings1:Qe.id,lineGeneralXClose:Je.id,lineGeneralZap:Ke.id,lineHelpersFlag:et.id,lineHelpersPlayCircle:tt.id,lineIconBomb2:nt.id,lineImagesImage:rt.id,lineLayoutsColumn2:it.id,lineLayoutsLayoutTop:ot.id,lineSecurityKey:at.id,lineShapesDotCircle:st.id,lineShapesMoon:ct.id,lineShapesSun:lt.id,lineTimeClockStopwatch:ut.id,reportLogo:ft.id,solidAlertCircle:dt.id,solidCheckCircle:ht.id,solidHelpCircle:pt.id,solidMinusCircle:gt.id,solidXCircle:bt.id,spinner:mt.id,view:vt.id,viewOff:yt.id},xt=({id:e,size:t="s",inline:n=!1,className:r=""})=>M("svg",{className:S(_t.icon,_t[`size-${t}`],n&&_t.inline,r),children:M("use",{xlinkHref:`#${e}`})}),Ct=({size:e})=>M(xt,{role:"progressbar",id:mt.id,size:e}),kt=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?M(t,{...a,className:S(`paragraphs-text-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?M(t,{...a,className:S(`ui-text-${e}-ui${r?"-bold":""}`,i),children:o}):null,Mt=({size:e="m",tag:t="span",type:n="paragraph",bold:r=!1,className:i,children:o,...a})=>"paragraph"===n?M(t,{...a,className:S(`paragraphs-code-${e}${r?"-bold":""}`,i),children:o}):"ui"===n?M(t,{...a,className:S(`ui-code-${e}-ui${r?"-bold":""}`,i),children:o}):null,Tt=({size:e="m",tag:t="span",className:n,children:r,...i})=>M(t,{...i,className:S(`headings-head-${e}`,n),children:r});var St={button:"styles_button__dJOMr",fullWidth:"styles_fullWidth__UvMfL",contentIcon:"styles_contentIcon__WG8cP",leadingIcon:"styles_leadingIcon__YCONr",dropdownIcon:"styles_dropdownIcon__QbL-e",buttonIcon:"styles_buttonIcon__jkuyM",size_l:"styles_size_l__qdpXc",size_m:"styles_size_m__YdAJU",size_s:"styles_size_s__ujh2O",icon_size_xs:"styles_icon_size_xs__I8F1x",style_primary:"styles_style_primary__repZw",active:"styles_active__qHBgG",danger:"styles_danger__ifSNz",positive:"styles_positive__NaE-e",style_outline:"styles_style_outline__UDLGz",style_ghost:"styles_style_ghost__XxqyT",style_flat:"styles_style_flat__tgVZ1",style_raised:"styles_style_raised__Pwwft",text:"styles_text__n3hds",pending:"styles_pending__8GUAj",content:"styles_content__pYX6n",spinner:"styles_spinner__anTET"};const At=e=>{const{text:t,type:n="button",icon:r,iconSize:i="m",onClick:o,isPending:a=!1,size:s="m",style:c="primary",action:l="default",fullWidth:u=!1,isDisabled:f=!1,isIconButton:d=!1,isDropdownButton:h=!1,isActive:p=!1,focusable:g=!0,className:b,...m}=e,y=f||a;return M("button",{...m,tabIndex:g?0:-1,className:S(St.button,d&&St.buttonIcon,St[`size_${s}`],St[`icon_size_${i}`],St[`style_${c}`],"danger"===l&&St.danger,"positive"===l&&St.positive,a&&St.pending,u&&St.fullWidth,!y&&p&&St.active,b),disabled:y,onClick:o,type:n,children:M(kt,{type:"ui",size:"s"===s?"s":"m",bold:!0,className:St.content,children:[r&&M(xt,{size:"s",className:d?St.contentIcon:St.leadingIcon,id:r}),!d&&M("span",{className:St.text,children:t}),h&&M(xt,{id:wt.lineArrowsChevronDown,size:"s",className:St.dropdownIcon}),M("span",{className:St.spinner,"aria-hidden":!a,children:M(Ct,{})})]})})},Ot=e=>M(At,{...e}),jt=e=>M(At,{...e,isIconButton:!0}),Et=e=>M(At,{...e,isDropdownButton:!0,isActive:e.isExpanded}),Ft=Math.min,Lt=Math.max,Pt={left:"right",right:"left",bottom:"top",top:"bottom"},$t={start:"end",end:"start"};function Nt(e,t,n){return Lt(e,Ft(t,n))}function zt(e,t){return"function"==typeof e?e(t):e}function Bt(e){return e.split("-")[0]}function Dt(e){return e.split("-")[1]}function Rt(e){return"x"===e?"y":"x"}function Ut(e){return"y"===e?"height":"width"}function It(e){return["top","bottom"].includes(Bt(e))?"y":"x"}function Ht(e){return Rt(It(e))}function qt(e){return e.replace(/start|end/g,(e=>$t[e]))}function Wt(e){return e.replace(/left|right|bottom|top/g,(e=>Pt[e]))}function Vt(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Yt(e,t,n){let{reference:r,floating:i}=e;const o=It(t),a=Ht(t),s=Ut(a),c=Bt(t),l="y"===o,u=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[s]/2-i[s]/2;let h;switch(c){case"top":h={x:u,y:r.y-i.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Dt(t)){case"start":h[a]-=d*(n&&l?-1:1);break;case"end":h[a]+=d*(n&&l?-1:1)}return h}async function Zt(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=zt(t,e),p=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(h),g=s[d?"floating"===f?"reference":"floating":f],b=Vt(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),m="floating"===f?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),v=await(null==o.isElement?void 0:o.isElement(y))&&await(null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},_=Vt(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:y,strategy:c}):m);return{top:(b.top-_.top+p.top)/v.y,bottom:(_.bottom-b.bottom+p.bottom)/v.y,left:(b.left-_.left+p.left)/v.x,right:(_.right-b.right+p.right)/v.x}}const Gt=Math.min,Xt=Math.max,Qt=Math.round,Jt=Math.floor,Kt=e=>({x:e,y:e});function en(){return"undefined"!=typeof window}function tn(e){return on(e)?(e.nodeName||"").toLowerCase():"#document"}function nn(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function rn(e){var t;return null==(t=(on(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function on(e){return!!en()&&(e instanceof Node||e instanceof nn(e).Node)}function an(e){return!!en()&&(e instanceof Element||e instanceof nn(e).Element)}function sn(e){return!!en()&&(e instanceof HTMLElement||e instanceof nn(e).HTMLElement)}function cn(e){return!(!en()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof nn(e).ShadowRoot)}function ln(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=gn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function un(e){return["table","td","th"].includes(tn(e))}function fn(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function dn(e){const t=hn(),n=an(e)?gn(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function hn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function pn(e){return["html","body","#document"].includes(tn(e))}function gn(e){return nn(e).getComputedStyle(e)}function bn(e){return an(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function mn(e){if("html"===tn(e))return e;const t=e.assignedSlot||e.parentNode||cn(e)&&e.host||rn(e);return cn(t)?t.host:t}function yn(e){const t=mn(e);return pn(t)?e.ownerDocument?e.ownerDocument.body:e.body:sn(t)&&ln(t)?t:yn(t)}function vn(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=yn(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=nn(i);if(o){const e=_n(a);return t.concat(a,a.visualViewport||[],ln(i)?i:[],e&&n?vn(e):[])}return t.concat(i,vn(i,[],n))}function _n(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function wn(e){const t=gn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=sn(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=Qt(n)!==o||Qt(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function xn(e){return an(e)?e:e.contextElement}function Cn(e){const t=xn(e);if(!sn(t))return Kt(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=wn(t);let a=(o?Qt(n.width):n.width)/r,s=(o?Qt(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const kn=Kt(0);function Mn(e){const t=nn(e);return hn()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:kn}function Tn(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=xn(e);let a=Kt(1);t&&(r?an(r)&&(a=Cn(r)):a=Cn(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==nn(e))&&t}(o,n,r)?Mn(o):Kt(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,u=i.width/a.x,f=i.height/a.y;if(o){const e=nn(o),t=r&&an(r)?nn(r):r;let n=e,i=_n(n);for(;i&&r&&t!==n;){const e=Cn(i),t=i.getBoundingClientRect(),r=gn(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,f*=e.y,c+=o,l+=a,n=nn(i),i=_n(n)}}return Vt({width:u,height:f,x:c,y:l})}function Sn(e,t){const n=bn(e).scrollLeft;return t?t.left+n:Tn(rn(e)).left+n}function An(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:Sn(e,r)),y:r.top+t.scrollTop}}function On(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=nn(e),r=rn(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;const e=hn();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s,y:c}}(e,n);else if("document"===t)r=function(e){const t=rn(e),n=bn(e),r=e.ownerDocument.body,i=Xt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Xt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Sn(e);const s=-n.scrollTop;return"rtl"===gn(r).direction&&(a+=Xt(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(rn(e));else if(an(t))r=function(e,t){const n=Tn(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=sn(e)?Cn(e):Kt(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=Mn(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Vt(r)}function jn(e,t){const n=mn(e);return!(n===t||!an(n)||pn(n))&&("fixed"===gn(n).position||jn(n,t))}function En(e,t,n){const r=sn(t),i=rn(t),o="fixed"===n,a=Tn(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const c=Kt(0);if(r||!r&&!o)if(("body"!==tn(t)||ln(i))&&(s=bn(t)),r){const e=Tn(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=Sn(i));const l=!i||r||o?Kt(0):An(i,s);return{x:a.left+s.scrollLeft-c.x-l.x,y:a.top+s.scrollTop-c.y-l.y,width:a.width,height:a.height}}function Fn(e){return"static"===gn(e).position}function Ln(e,t){if(!sn(e)||"fixed"===gn(e).position)return null;if(t)return t(e);let n=e.offsetParent;return rn(e)===n&&(n=n.ownerDocument.body),n}function Pn(e,t){const n=nn(e);if(fn(e))return n;if(!sn(e)){let t=mn(e);for(;t&&!pn(t);){if(an(t)&&!Fn(t))return t;t=mn(t)}return n}let r=Ln(e,t);for(;r&&un(r)&&Fn(r);)r=Ln(r,t);return r&&pn(r)&&Fn(r)&&!dn(r)?n:r||function(e){let t=mn(e);for(;sn(t)&&!pn(t);){if(dn(t))return t;if(fn(t))return null;t=mn(t)}return null}(e)||n}const $n={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=rn(r),s=!!t&&fn(t.floating);if(r===a||s&&o)return n;let c={scrollLeft:0,scrollTop:0},l=Kt(1);const u=Kt(0),f=sn(r);if((f||!f&&!o)&&(("body"!==tn(r)||ln(a))&&(c=bn(r)),sn(r))){const e=Tn(r);l=Cn(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const d=!a||f||o?Kt(0):An(a,c,!0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+d.x,y:n.y*l.y-c.scrollTop*l.y+u.y+d.y}},getDocumentElement:rn,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?fn(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=vn(e,[],!1).filter((e=>an(e)&&"body"!==tn(e))),i=null;const o="fixed"===gn(e).position;let a=o?mn(e):e;for(;an(a)&&!pn(a);){const t=gn(a),n=dn(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||ln(a)&&!n&&jn(e,a))?r=r.filter((e=>e!==a)):i=t,a=mn(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],s=o.reduce(((e,n)=>{const r=On(t,n,i);return e.top=Xt(r.top,e.top),e.right=Gt(r.right,e.right),e.bottom=Gt(r.bottom,e.bottom),e.left=Xt(r.left,e.left),e}),On(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Pn,getElementRects:async function(e){const t=this.getOffsetParent||Pn,n=this.getDimensions,r=await n(e.floating);return{reference:En(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=wn(e);return{width:t,height:n}},getScale:Cn,isElement:an,isRTL:function(e){return"rtl"===gn(e).direction}};function Nn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function zn(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,l=xn(e),u=i||o?[...l?vn(l):[],...vn(t)]:[];u.forEach((e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));const f=l&&s?function(e,t){let n,r=null;const i=rn(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),o();const l=e.getBoundingClientRect(),{left:u,top:f,width:d,height:h}=l;if(s||t(),!d||!h)return;const p={rootMargin:-Jt(f)+"px "+-Jt(i.clientWidth-(u+d))+"px "+-Jt(i.clientHeight-(f+h))+"px "+-Jt(u)+"px",threshold:Xt(0,Gt(1,c))||1};let g=!0;function b(t){const r=t[0].intersectionRatio;if(r!==c){if(!g)return a();r?a(!1,r):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}1!==r||Nn(l,e.getBoundingClientRect())||a(),g=!1}try{r=new IntersectionObserver(b,{...p,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(b,p)}r.observe(e)}(!0),o}(l,n):null;let d,h=-1,p=null;a&&(p=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame((()=>{var e;null==(e=p)||e.observe(t)}))),n()})),l&&!c&&p.observe(l),p.observe(t));let g=c?Tn(e):null;return c&&function t(){const r=Tn(e);g&&!Nn(g,r)&&n();g=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)})),null==f||f(),null==(e=p)||e.disconnect(),p=null,c&&cancelAnimationFrame(d)}}const Bn=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,c=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=Bt(n),s=Dt(n),c="y"===It(n),l=["left","top"].includes(a)?-1:1,u=o&&c?-1:1,f=zt(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:p}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),c?{x:h*u,y:d*l}:{x:d*l,y:h*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+c.x,y:o+c.y,data:{...c,placement:a}}}}},Dn=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=zt(e,t),l={x:n,y:r},u=await Zt(t,c),f=It(Bt(i)),d=Rt(f);let h=l[d],p=l[f];if(o){const e="y"===d?"bottom":"right";h=Nt(h+u["y"===d?"top":"left"],h,h-u[e])}if(a){const e="y"===f?"bottom":"right";p=Nt(p+u["y"===f?"top":"left"],p,p-u[e])}const g=s.fn({...t,[d]:h,[f]:p});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:o,[f]:a}}}}}},Rn=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:c,elements:l}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=zt(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const m=Bt(i),y=It(s),v=Bt(s)===s,_=await(null==c.isRTL?void 0:c.isRTL(l.floating)),w=d||(v||!g?[Wt(s)]:function(e){const t=Wt(e);return[qt(e),t,qt(t)]}(s)),x="none"!==p;!d&&x&&w.push(...function(e,t,n,r){const i=Dt(e);let o=function(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:a;default:return[]}}(Bt(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(qt)))),o}(s,g,p,_));const C=[s,...w],k=await Zt(t,b),M=[];let T=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&M.push(k[m]),f){const e=function(e,t,n){void 0===n&&(n=!1);const r=Dt(e),i=Ht(e),o=Ut(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=Wt(a)),[a,Wt(a)]}(i,a,_);M.push(k[e[0]],k[e[1]])}if(T=[...T,{placement:i,overflows:M}],!M.every((e=>e<=0))){var S,A;const e=((null==(S=o.flip)?void 0:S.index)||0)+1,t=C[e];if(t)return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(A=T.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:A.placement;if(!n)switch(h){case"bestFit":{var O;const e=null==(O=T.filter((e=>{if(x){const t=It(e.placement);return t===y||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},Un=(e,t,n)=>{const r=new Map,i={platform:$n,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=Yt(l,r,c),d=r,h={},p=0;for(let n=0;n<s.length;n++){const{name:o,fn:g}=s[n],{x:b,y:m,data:y,reset:v}=await g({x:u,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:l,platform:a,elements:{reference:e,floating:t}});u=null!=b?b:u,f=null!=m?m:f,h={...h,[o]:{...h[o],...y}},v&&p<=50&&(p++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):v.rects),({x:u,y:f}=Yt(l,d,c))),n=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:h}})(e,t,{...i,platform:o})};var In="styles_custom-tooltip__2reCz";const Hn=({children:e})=>M("div",{className:In,children:M(kt,{className:"tooltip-content",size:"s",bold:!0,children:e})}),qn=({tooltipText:e,tooltipTextAfterClick:t,tooltipComponent:n,children:a,placement:s="top",triggerMode:c="hover",autoHideDelay:l=600,isTriggerActive:u=!0})=>{const f=r(null),d=r(null),[h,p]=i(!1),[g,b]=i(e),m=r(null);o((()=>{b(e);const t=()=>{d.current&&f.current&&Un(d.current,f.current,{placement:s,middleware:[Bn(6),Rn(),Dn({padding:5})]}).then((({x:e,y:t})=>{f.current&&Object.assign(f.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":100})}))};return h&&t(),d.current&&f.current?zn(d.current,f.current,t):()=>{}}),[h,s,e]);o((()=>()=>{m.current&&clearTimeout(m.current)}),[]);const y=n||M(Hn,{children:g});return M("div",{onMouseEnter:()=>{"hover"===c&&u&&p(!0),"click"===c&&m.current&&clearTimeout(m.current)},onMouseLeave:()=>{"hover"===c?(p(!1),b(e)):"click"===c&&h&&(m.current=window.setTimeout((()=>{p(!1)}),l))},onClick:()=>{"click"===c&&d.current&&u&&(p(!0),m.current&&clearTimeout(m.current)),t&&b(t)},children:[M("div",{ref:d,children:a}),M("div",{ref:f,children:h&&y})]})},Wn=e=>{const{source:t,transformData:n=e=>e,renderLoader:r=()=>null,renderError:i=e=>M("div",{children:e}),renderData:o}=e;return t.value.loading?r():t.value.error?i(t.value.error):o(n(t.value.data))};var Vn="styles_page-loader__OFuzd";const Yn=()=>M("div",{className:Vn,children:M(Ct,{size:"m"})}),Zn=(e,t=300)=>{const n=r(e);return o((()=>{n.current=e}),[e]),a(((e,t=300)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(((...e)=>n.current(...e)),t),[t])};var Gn="styles_inputWrap__96bWy",Xn="styles_input__ir8z5",Qn="styles_inputClear__R8pU3",Jn="styles_leadingIcon__6Bcbs",Kn="styles_clearButton__SR4Dg";const er=e=>{const{placeholder:t,value:n,onChange:r,changeDebounce:o=300}=e,[a,s]=i(n),c=Zn(r,o),l=!!a;return M(kt,{className:Gn,type:"ui",size:"m",tag:"div",children:[M(xt,{id:Xe.id,size:"s",className:Jn}),M("input",{className:S(Xn,l&&Qn),type:"text",placeholder:t,onInput:e=>{const t=e.target.value;s(t),c(t)},value:a,name:"search",autocomplete:"off","data-testid":"search-input"}),l&&M("div",{className:Kn,children:M(jt,{size:"s",icon:Je.id,onClick:e=>{e.preventDefault(),e.stopPropagation(),s(""),c("")},style:"ghost","data-testid":"clear-button"})})]})};var tr={menu:"styles_menu__Y2xWi","size-s":"styles_size-s__phegq","size-m":"styles_size-m__FqoGi","size-l":"styles_size-l__ShSlS","size-xl":"styles_size-xl__Mk5k2",menuListItem:"styles_menuListItem__FHex0",section:"styles_section__gV07b",menuItem:"styles_menuItem__mOGZq",interactive:"styles_interactive__VHNnJ",leadingIcon:"styles_leadingIcon__0ikkr",content:"styles_content__XpstT",right:"styles_right__9xwiq",checkmarkIcon:"styles_checkmarkIcon__SnS-7"};const nr=t(null),rr=e=>{const{children:t,menuTrigger:a,menuTriggerWrapper:s="div",size:c="m",isInitialOpened:l=!1,placement:u="bottom-end"}=e,[f,d]=i(l),h=r(null),p=r(null);return o((()=>{const e=e=>{"Escape"===e.key&&f&&d(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[f]),o((()=>{const e=e=>{f&&h.current&&(h.current.contains(e.target)||d(!1))};return f&&document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[f]),o((()=>{const e=()=>{(h.current||p.current)&&Un(p.current,h.current,{placement:u,middleware:[Bn(6),Rn(),Dn({padding:5})]}).then((({x:e,y:t})=>{h.current&&Object.assign(h.current.style,{left:`${e}px`,top:`${t}px`,position:"absolute","z-index":10})}))};return e(),zn(p.current,h.current,e)}),[h.current,p.current]),M(nr.Provider,{value:{setIsOpened:d},children:M(n,{children:["function"==typeof a&&M(s,{ref:p,children:a({isOpened:f,onClick:()=>{d(!f)},setIsOpened:d})}),M("div",{ref:h,children:f&&M("aside",{className:S(tr.menu,tr[`size-${c}`]),children:t})})]})})};rr.Section=e=>M("ul",{className:tr.section,children:e.children}),rr.Item=e=>{const{setIsOpened:t}=(()=>{const e=s(nr);if(!e)throw new Error("useMenuContext must be used within a Menu");return e})(),{children:n,onClick:r,leadingIcon:i,rightSlot:o,ariaLabel:a,closeMenuOnClick:c=!0}=e,l="function"==typeof r,u="string"==typeof i;return M("li",{className:tr.menuListItem,children:M(kt,{"aria-label":a,type:"paragraph",size:"m",tag:l?"button":"div",className:S(tr.menuItem,l&&tr.interactive),onClick:e=>{l&&c&&(e.stopPropagation(),t(!1)),l&&r?.()},"data-interactive-menu-item":!!l||void 0,children:[u&&M(xt,{id:i,className:tr.leadingIcon,size:"m"}),M("div",{className:tr.content,children:n}),o&&M("div",{className:tr.right,children:o})]})})},rr.ItemWithCheckmark=e=>{const{isChecked:t=!1,...n}=e;return M(rr.Item,{...n,rightSlot:t&&M(xt,{className:tr.checkmarkIcon,id:Ue.id})})};const ir=async e=>(await new Promise((e=>{const t=()=>{if(globalThis.allureReportDataReady)return e(!0);setTimeout(t,30)};t()})),new Promise(((t,n)=>globalThis.allureReportData[e]?t(globalThis.allureReportData[e]):n(new Error(`Data "${e}" not found!`))))),or=async(e,t)=>{const n=await(async(e,t="application/octet-stream")=>{if(globalThis.allureReportData){const n=e.replace(/\?attachment$/,"");return`data:${t};base64,${await ir(n)}`}const n=globalThis.document.head.querySelector("base")?.href??"https://localhost",r=new URL(e,n),i=globalThis.localStorage.getItem("__allure_report_live_reload_hash__");return i&&r.searchParams.set("live_reload_hash",i),r.pathname+r.search+r.hash})(e,t);return globalThis.fetch(n)},ar=async({id:e,ext:t,contentType:n})=>or(`data/attachments/${`${e||"-"}${t||""}`}?attachment`,n),sr=async(e,t,n)=>{const r=await ar({id:e,ext:t,contentType:n});return await r.blob()},cr=e=>{switch(e){case"image/bmp":case"image/gif":case"image/tiff":case"image/jpeg":case"image/jpg":case"image/png":case"image/*":return{type:"image",icon:"file"};case"text/xml":case"application/xml":case"application/json":case"text/json":case"text/yaml":case"application/yaml":case"application/x-yaml":case"text/x-yaml":case"text/css":return{type:"code",icon:"file"};case"text/plain":case"text/*":return{type:"text",icon:"txt"};case"text/html":return{type:"html",icon:"file"};case"text/csv":return{type:"table",icon:"csv"};case"text/tab-separated-values":return{type:"table",icon:"table"};case"image/svg+xml":return{type:"svg",icon:"file"};case"video/mp4":case"video/ogg":case"video/webm":return{type:"video",icon:"file"};case"text/uri-list":return{type:"uri",icon:"list"};case"application/x-tar":case"application/x-gtar":case"application/x-bzip2":case"application/gzip":case"application/zip":return{type:"archive",icon:"file"};default:return{type:null,icon:"file"}}};var lr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ur(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fr,dr={exports:{}};var hr=(fr||(fr=1,function(e){var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},i.util.type(t)){case"Object":if(o=i.util.objId(t),n[o])return n[o];for(var a in r={},n[o]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return o=i.util.objId(t),n[o]?n[o]:(r=[],n[o]=r,t.forEach((function(t,i){r[i]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||i.languages)[e],a={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var c in n)n.hasOwnProperty(c)&&(a[c]=n[c]);n.hasOwnProperty(s)||(a[s]=o[s])}var l=r[e];return r[e]=a,i.languages.DFS(i.languages,(function(t,n){n===l&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,o){o=o||{};var a=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var c=t[s],l=i.util.type(c);"Object"!==l||o[a(c)]?"Array"!==l||o[a(c)]||(o[a(c)]=!0,e(c,n,s,o)):(o[a(c)]=!0,e(c,n,null,o))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var o,a=0;o=r.elements[a++];)i.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=i.util.getLanguage(t),a=i.languages[o];i.util.setLanguage(t,o);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,o);var c={element:t,language:o,grammar:a,code:t.textContent};function l(e){c.highlightedCode=e,i.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,i.hooks.run("after-highlight",c),i.hooks.run("complete",c),r&&r.call(c.element)}if(i.hooks.run("before-sanity-check",c),(s=c.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!c.code)return i.hooks.run("complete",c),void(r&&r.call(c.element));if(i.hooks.run("before-highlight",c),c.grammar)if(n&&e.Worker){var u=new Worker(i.filename);u.onmessage=function(e){l(e.data)},u.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else l(i.highlight(c.code,c.grammar,c.language));else l(i.util.encode(c.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new c;return l(i,i.head,e),s(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function s(e,t,n,r,c,f){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var h=n[d];h=Array.isArray(h)?h:[h];for(var p=0;p<h.length;++p){if(f&&f.cause==d+","+p)return;var g=h[p],b=g.inside,m=!!g.lookbehind,y=!!g.greedy,v=g.alias;if(y&&!g.pattern.global){var _=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,_+"g")}for(var w=g.pattern||g,x=r.next,C=c;x!==t.tail&&!(f&&C>=f.reach);C+=x.value.length,x=x.next){var k=x.value;if(t.length>e.length)return;if(!(k instanceof o)){var M,T=1;if(y){if(!(M=a(w,C,e,m))||M.index>=e.length)break;var S=M.index,A=M.index+M[0].length,O=C;for(O+=x.value.length;S>=O;)O+=(x=x.next).value.length;if(C=O-=x.value.length,x.value instanceof o)continue;for(var j=x;j!==t.tail&&(O<A||"string"==typeof j.value);j=j.next)T++,O+=j.value.length;T--,k=e.slice(C,O),M.index-=C}else if(!(M=a(w,0,k,m)))continue;S=M.index;var E=M[0],F=k.slice(0,S),L=k.slice(S+E.length),P=C+k.length;f&&P>f.reach&&(f.reach=P);var $=x.prev;if(F&&($=l(t,$,F),C+=F.length),u(t,$,T),x=l(t,$,new o(d,b?i.tokenize(E,b):E,v,E)),L&&l(t,x,L),T>1){var N={cause:d+","+p,reach:P};s(e,t,n,x.prev,C,N),f&&N.reach>f.reach&&(f.reach=N.reach)}}}}}}function c(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function u(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}if(e.Prism=i,o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),i.hooks.run("wrap",o);var s="";for(var c in o.attributes)s+=" "+c+'="'+(o.attributes[c]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,a=n.immediateClose;e.postMessage(i.highlight(o,i.languages[r],r)),a&&e.close()}),!1),i):i;var f=i.util.currentScript();function d(){i.manual||i.highlightAll()}if(f&&(i.filename=f.src,f.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var h=document.readyState;"loading"===h||"interactive"===h&&f&&f.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
|
|
2
|
+
/**
|
|
3
|
+
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
4
|
+
*
|
|
5
|
+
* @license MIT <https://opensource.org/licenses/MIT>
|
|
6
|
+
* @author Lea Verou <https://lea.verou.me>
|
|
7
|
+
* @namespace
|
|
8
|
+
* @public
|
|
9
|
+
*/e.exports&&(e.exports=t),void 0!==lr&&(lr.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",r="loading",i="loaded",o="pre[data-src]:not(["+n+'="'+i+'"]):not(['+n+'="'+r+'"])';t.hooks.add("before-highlightall",(function(e){e.selector+=", "+o})),t.hooks.add("before-sanity-check",(function(a){var s=a.element;if(s.matches(o)){a.code="",s.setAttribute(n,r);var c=s.appendChild(document.createElement("CODE"));c.textContent="Loading…";var l=s.getAttribute("data-src"),u=a.language;if("none"===u){var f=(/\.(\w+)$/.exec(l)||[,"none"])[1];u=e[f]||f}t.util.setLanguage(c,u),t.util.setLanguage(s,u);var d=t.plugins.autoloader;d&&d.loadLanguages(u),function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status<400&&r.responseText?t(r.responseText):r.status>=400?n("✖ Error "+r.status+" while fetching file: "+r.statusText):n("✖ Error: File does not exist or is empty"))},r.send(null)}(l,(function(e){s.setAttribute(n,i);var r=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}(s.getAttribute("data-range"));if(r){var o=e.split(/\r\n?|\n/g),a=r[0],l=null==r[1]?o.length:r[1];a<0&&(a+=o.length),a=Math.max(0,Math.min(a-1,o.length)),l<0&&(l+=o.length),l=Math.max(0,Math.min(l,o.length)),e=o.slice(a,l).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}c.textContent=e,t.highlightElement(c)}),(function(e){s.setAttribute(n,"failed"),c.textContent=e}))}})),t.plugins.fileHighlight={highlight:function(e){for(var n,r=(e||document).querySelectorAll(o),i=0;n=r[i++];)t.highlightElement(n)}};var a=!1;t.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}(dr)),dr.exports),pr=ur(hr);const gr=({attachment:e,item:t})=>(o((()=>{pr.highlightAll()}),[e]),M("pre",{className:`language-${t?.link?.ext?.replace(".","")} line-numbers`,children:M("code",{children:e?.text})},t?.link?.id));var br="styles_test-result-attachment-image__sJpWk",mr="styles_test-result-attachment-error__od2Zn",yr="styles_wrong-attachment-sign__j-rkc",vr="styles_test-result-spinner__B3aF3",_r="styles_html-attachment-preview__0-kmL";const wr=({attachment:e})=>{const[t,n]=i(!0);return o((()=>{if(e?.img){const t=new Image;t.onload=()=>n(!0),t.onerror=()=>n(!1),t.src=e.img}}),[e?.img]),M("div",e?.img&&t?{className:br,children:e?.img&&M("img",{src:e.img,alt:e.originalFileName})}:{className:mr,children:"something went wrong"})},xr=({attachment:e})=>e?M("video",{controls:!0,loop:!0,muted:!0,children:M("source",{src:e?.src,type:e?.contentType})}):M(Ct,{}),Cr=({attachment:e})=>M("div",{className:_r,dangerouslySetInnerHTML:{__html:e?.text}}),kr={image:wr,svg:wr,json:gr,code:gr,uri:gr,css:gr,table:gr,html:gr,text:gr,video:xr},Mr={html:Cr},Tr=({item:e,previewable:t})=>{const{link:{contentType:n,id:r,ext:a}}=e,[s,c]=i(null),[l,u]=i(!1),f=cr(n),d=kr[f.type],h=Mr[f.type];return o((()=>{(async()=>{const e=await(async(e,t,n)=>{if(!e&&!t)return null;const r=await ar({id:e,ext:t,contentType:n});switch(cr(n).type){case"svg":case"image":{const t=await r.blob();return{img:URL.createObjectURL(t),id:e}}case"uri":case"code":case"html":case"table":case"text":return{text:await r.text()};case"video":{const t=await r.blob();return{src:URL.createObjectURL(t),id:e,contentType:n}}default:return null}})(r,a,n)||null;u(!0),c(e)})()}),[n,r,a]),l?h&&t?M(h,{attachment:s,item:e}):d?M(d,{attachment:s,item:e}):null:M("div",{className:vr,children:M(Ct,{})})},Sr=({children:e})=>M("div",{className:yr,children:e}),Ar=({code:e,children:t,className:n})=>(o((()=>{pr.highlightAll()}),[]),M("pre",{className:S("language-text line-numbers language-diff",n),children:[e&&M("code",{children:e}),t]}));var Or="styles_modal-overlay__xdM2o",jr="styles_modal-content__2yYdb",Er="styles_modal-wrapper__KacuO",Fr="styles_modal-data-component__3HBgz",Lr="styles_modal-buttons__OBqaM",Pr="styles_modal-data__tEK64",$r="styles_modal-top__R8c3g",Nr="styles_modal-thumb__O5sLe",zr="styles_active__YdnV4",Br="styles_modal-gallery__w0J0I";const Dr=({changeThumb:e,children:t,isActiveThumb:n})=>M("div",{className:S(Nr,{[zr]:n}),onClick:()=>()=>e?.(),children:t}),Rr=({attachments:e=[]})=>{const t=e?.filter((({link:{contentType:e}})=>{const t=cr(e).type;return!["archive",null].includes(t)}));return M("div",{className:Br,children:t?.map((e=>M(Dr,{item:e,children:M(Tr,{item:e})},e?.link?.id)))})},Ur=({data:e,isModalOpen:t,preview:n,component:r,attachments:i,closeModal:a,translations:s,title:c})=>{const{tooltipPreview:l,tooltipDownload:u,openInNewTabButton:f}=s,{link:d}=e||{},h=d?.contentType?.startsWith("image"),p="text/html"===d?.contentType,g=d?.id&&d?.ext&&d?.contentType,b=d?.name||d?.id&&d?.ext&&`${d.id}${d.ext}`||"",m=c||b;o((()=>(pr.highlightAll(),document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""})),[]);const y=async e=>{e.stopPropagation();const{id:t,ext:n,contentType:r}=d||{};t&&n&&r&&await(async(e,t,n)=>{if(!e&&!t)return;const r=`${e}${t}`,i=await sr(e,t,n),o=URL.createObjectURL(i),a=document.createElement("a");a.href=o,a.download=r,a.click(),URL.revokeObjectURL(o)})(t,n,r)};return t?M("div",{className:Or,onClick:a,children:M("div",{className:jr,onClick:e=>e.stopPropagation(),children:[M("div",{className:`${Er}`,children:[M("div",{className:$r,children:[M(Tt,{size:"s",children:m}),M("div",{className:Lr,children:[h&&M(Ot,{style:"outline",onClick:async()=>{const{id:e,ext:t,contentType:n}=d||{};await(async(e,t,n)=>{if(!e&&!t)return;const r=await sr(e,t,n),i=URL.createObjectURL(r);globalThis.open(i,"_blank")})(e,t,n)},icon:wt.lineGeneralLinkExternal,text:f}),p&&M(qn,{tooltipText:l,children:M(jt,{style:"outline",size:"m",iconSize:"s",icon:n?wt.viewOff:wt.view})}),g&&M(qn,{tooltipText:u,children:M(jt,{style:"outline",size:"m",iconSize:"s",icon:wt.lineGeneralDownloadCloud,onClick:e=>y(e)})}),M(jt,{iconSize:"m",style:"ghost",onClick:a,icon:wt.lineGeneralXClose})]})]}),M("div",{className:Pr,children:M("div",{className:Fr,children:r},e?.link?.id)})]}),M(Rr,{attachments:i})]})}):null},Ir=["failed","broken","passed","skipped","unknown"],Hr=new Set(["failed","broken"]),qr=new Set(["passed"]),Wr=new Set([...Hr,...qr]),Vr=e=>{const t=new Set(e);return e=>t.has(e.status)};Vr(qr),Vr(Hr),Vr(Wr);const Yr=[{suffix:"d",accessor:e=>Math.floor(e/864e5)},{suffix:"h",accessor:e=>Math.floor(e/36e5)%24},{suffix:"m",accessor:e=>Math.floor(e/6e4)%60},{suffix:"s",accessor:e=>Math.floor(e/1e3)%60},{suffix:"ms",accessor:e=>Math.round(e)%1e3}];var Zr={tree:"styles_tree__fG6jK","tree-list":"styles_tree-list__3q7eT","tree-header":"styles_tree-header__iENKE","tree-header-arrow":"styles_tree-header-arrow__nIhaX","tree-header-arrow-opened":"styles_tree-header-arrow-opened__tgaMg","tree-header-title":"styles_tree-header-title__YC6-W","tree-count":"styles_tree-count__RjQCr","tree-item":"styles_tree-item__-43NH","item-title":"styles_item-title__ip78x","item-time":"styles_item-time__uZPyx","test-count":"styles_test-count__ynxa4","tree-content":"styles_tree-content__RqVeR",root:"styles_root__gLSTv","tree-item-icon":"styles_tree-item-icon__pSBl5","status-passed":"styles_status-passed__kTMq4","status-failed":"styles_status-failed__2uYs3","status-broken":"styles_status-broken__34I8R","status-skipped":"styles_status-skipped__MEGGW","status-unknown":"styles_status-unknown__p2KHg","tree-header-bar":"styles_tree-header-bar__47cvp","tree-header-bar-item":"styles_tree-header-bar-item__PQQKL",passed:"styles_passed__SeJia",failed:"styles_failed__-3jyb",broken:"styles_broken__g7-KJ",skipped:"styles_skipped__RfV4j",unknown:"styles_unknown__hkDQ1","tree-empty-results":"styles_tree-empty-results__4EWH4","tree-empty-results-title":"styles_tree-empty-results-title__hGsAb","tree-empty-results-clear-button":"styles_tree-empty-results-clear-button__9nCUy",order:"styles_order__-yTyr","tree-item-marked":"styles_tree-item-marked__TW7os"};const{solidAlertCircle:Gr,solidCheckCircle:Xr,solidHelpCircle:Qr,solidMinusCircle:Jr,solidXCircle:Kr}=wt,ei={failed:Kr,broken:Gr,passed:Xr,skipped:Jr,unknown:Qr},ti=({status:e="unknown",className:t,classNameIcon:n})=>{const r=S(Zr[`status-${e}`],n);return M("div",{"data-testid":`tree-leaf-status-${e}`,className:S(Zr["tree-item-icon"],t),children:M(xt,{className:r,id:ei[e]})})},ni=({name:e,groupOrder:t,status:n,duration:r,id:i,marked:o,navigateTo:a,...s})=>{const c=(e=>{if(void 0===e)return"unknown";if(e<.5)return"0s";const t=[];for(const{accessor:n,suffix:r}of Yr){const i=n(e);if((0!==t.length||i)&&(t.push(i+r),t.length>1))break}return t.join(" ")})(r);return M("div",{...s,className:S(Zr["tree-item"],o?Zr["tree-item-marked"]:""),onClick:()=>a(i),id:i,children:[M(ti,{status:n}),M(Mt,{"data-testid":"tree-leaf-order",size:"s",className:Zr.order,children:t}),M(kt,{"data-testid":"tree-leaf-title",className:Zr["item-title"],children:e}),M(kt,{"data-testid":"tree-leaf-duration",type:"ui",size:"m",className:Zr["item-time"],children:c})]})};var ri={"arrow-button":"styles_arrow-button__PtmoB","arrow-button-s":"styles_arrow-button-s__LG1S5","arrow-button-m":"styles_arrow-button-m__i7jQC","icon-size-m":"styles_icon-size-m__cHrQH","arrow-button-icon":"styles_arrow-button-icon__X5gUo","arrow-button-icon--opened":"styles_arrow-button-icon--opened__9AOMd"};const ii=({isOpened:e,buttonSize:t="m",iconSize:n="xs",className:r,icon:i=wt.lineArrowsChevronDown,...o})=>M("button",{type:"button",...o,className:S(ri["arrow-button"],ri[`arrow-button-${t}`]),children:M(xt,{id:i,size:n,className:S({[ri["arrow-button-icon--opened"]]:e},ri["arrow-button-icon"],ri[`icon-size-${n}`],r)})}),oi=({categoryTitle:e,isOpened:t,toggleTree:n,statistic:r,statsStore:i,treeFiltersStore:o,...a})=>{const{status:s}=o;return M(Wn,{source:i,renderData:i=>{const o=Math.floor(94*((e,t)=>{const n=Math.log(10);return(Math.log(e+10)-n)/(Math.log(t+10)-n)})(r?.total||0,i.total)+46),c=r?Ir.map((e=>({status:e,value:r[e]}))).filter((({status:e,value:t})=>void 0!==t&&("total"===s||s===e&&t>0))).map((({status:e,value:t})=>M("div",{className:S(Zr["tree-header-bar-item"],Zr[e]),style:{flexGrow:t},children:t},e))):null;return M("div",{"data-testid":"tree-header",...a,className:Zr["tree-header"],onClick:n,children:[M(ii,{"data-testid":"tree-arrow",isOpened:t}),M(kt,{"data-testid":"tree-header-title",size:"m",bold:!0,className:Zr["tree-header-title"],children:e}),c&&M("div",{className:Zr["tree-header-bar"],style:{width:`${o}px`},children:c})]})}})},ai=({tree:e,statusFilter:t,root:n,name:r,statistic:o,collapsedTrees:a,toggleTree:s,routeId:c,statsStore:l,navigateTo:u,treeFiltersStore:f})=>{const d=a.has(e.nodeId),h=void 0===o||!!o?.failed||!!o?.broken,[p,g]=i((()=>d?!h:h));if(!e?.trees?.length&&!e?.leaves?.length)return null;const b=p&&M("div",{"data-testid":"tree-content",className:S({[Zr["tree-content"]]:!0,[Zr.root]:n}),children:[e?.trees?.map?.((e=>M(ai,{name:e.name,tree:e,statistic:e.statistic,statusFilter:t,collapsedTrees:a,toggleTree:s,routeId:c,navigateTo:u,statsStore:l,treeFiltersStore:f},e.nodeId))),e?.leaves?.map?.((e=>M(ni,{"data-testid":"tree-leaf",id:e.nodeId,name:e.name,status:e.status,groupOrder:e.groupOrder,duration:e.duration,marked:e.nodeId===c,navigateTo:u},e.nodeId)))]});return M("div",{className:Zr.tree,children:[r&&M(oi,{treeFiltersStore:f.value,statsStore:l,categoryTitle:r,isOpened:p,toggleTree:()=>{g(!p),s(e.nodeId)},statistic:o}),b]})};var si={counter:"styles_counter__chRZ-","status-passed":"styles_status-passed__fOOfy","status-failed":"styles_status-failed__CIBqD","status-broken":"styles_status-broken__caix7","status-skipped":"styles_status-skipped__FrjS4","status-unknown":"styles_status-unknown__wxCbv","size-s":"styles_size-s__MzJcz","size-m":"styles_size-m__zaoMz","size-l":"styles_size-l__foUrC"};const ci=e=>{const{count:t,size:n="s",truncateCount:r=!1,status:i}=e,o=r&&t>99?"99+":t;return M(kt,{tag:"small",size:"l"===n?"m":"s",type:"ui",bold:!0,className:S(si.counter,si[`size-${n}`],i&&si[`status-${i}`]),children:o})};var li="styles_toggle__aBRpI";const ui=e=>{const{value:t,label:n,onChange:r,focusable:i=!0,...o}=e;return M("input",{...o,tabIndex:i?0:-1,className:li,role:"switch",type:"checkbox",checked:t,"aria-label":n,onToggle:e=>{const t=!e.target.checked;r(t)}})};var fi="styles_link__BC-2O";const di=e=>{const{children:t,onClick:n,href:r}=e;return M(void 0===r?"button":"a",{href:r,onClick:n,className:fi,children:t})};var hi="styles_legend__hv86p",pi="styles_chart__IzuK6";const gi=e=>{switch(e){case"passed":return"var(--bg-support-castor)";case"failed":return"var(--bg-support-capella)";case"broken":return"var(--bg-support-atlas)";case"unknown":default:return"var(--bg-support-skat)";case"skipped":return"var(--bg-support-rau)"}},bi=e=>{const{slices:t,percentage:n}=e;return M("article",{"aria-label":"Success rate",role:"presentation",className:pi,children:[M("svg",{"aria-hidden":!0,viewBox:"0 0 100 100",children:M("g",{transform:"translate(50, 50)",children:t.map((e=>M("path",{d:e.d,fill:gi(e.status)},e.status)))})}),!!n&&M(Tt,{className:hi,size:"s",tag:"b",children:[n,"%"]})]})};var mi="styles_label__PPstE";const yi=({children:e})=>M("div",{className:mi,children:M(kt,{size:"s",bold:!0,type:"ui",children:e})});var vi,_i={exports:{}},wi={exports:{}},xi={};var Ci,ki,Mi,Ti,Si,Ai,Oi,ji,Ei,Fi,Li,Pi,$i,Ni,zi,Bi={};
|
|
10
|
+
/** @license React v16.13.1
|
|
11
|
+
* react-is.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/function Di(){return ki||(ki=1,"production"===process.env.NODE_ENV?wi.exports=function(){if(vi)return xi;vi=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:switch(e=e.type){case c:case l:case r:case o:case i:case f:return e;default:switch(e=e&&e.$$typeof){case s:case u:case p:case h:case a:return e;default:return d}}case n:return d}}}function _(e){return v(e)===l}return xi.AsyncMode=c,xi.ConcurrentMode=l,xi.ContextConsumer=s,xi.ContextProvider=a,xi.Element=t,xi.ForwardRef=u,xi.Fragment=r,xi.Lazy=p,xi.Memo=h,xi.Portal=n,xi.Profiler=o,xi.StrictMode=i,xi.Suspense=f,xi.isAsyncMode=function(e){return _(e)||v(e)===c},xi.isConcurrentMode=_,xi.isContextConsumer=function(e){return v(e)===s},xi.isContextProvider=function(e){return v(e)===a},xi.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},xi.isForwardRef=function(e){return v(e)===u},xi.isFragment=function(e){return v(e)===r},xi.isLazy=function(e){return v(e)===p},xi.isMemo=function(e){return v(e)===h},xi.isPortal=function(e){return v(e)===n},xi.isProfiler=function(e){return v(e)===o},xi.isStrictMode=function(e){return v(e)===i},xi.isSuspense=function(e){return v(e)===f},xi.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===l||e===o||e===i||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===b||e.$$typeof===m||e.$$typeof===y||e.$$typeof===g)},xi.typeOf=v,xi}():wi.exports=(Ci||(Ci=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,p=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var g=e.type;switch(g){case c:case l:case r:case o:case i:case f:return g;default:var b=g&&g.$$typeof;switch(b){case s:case u:case p:case h:case a:return b;default:return d}}case n:return d}}}var _=c,w=l,x=s,C=a,k=t,M=u,T=r,S=p,A=h,O=n,j=o,E=i,F=f,L=!1;function P(e){return v(e)===l}Bi.AsyncMode=_,Bi.ConcurrentMode=w,Bi.ContextConsumer=x,Bi.ContextProvider=C,Bi.Element=k,Bi.ForwardRef=M,Bi.Fragment=T,Bi.Lazy=S,Bi.Memo=A,Bi.Portal=O,Bi.Profiler=j,Bi.StrictMode=E,Bi.Suspense=F,Bi.isAsyncMode=function(e){return L||(L=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),P(e)||v(e)===c},Bi.isConcurrentMode=P,Bi.isContextConsumer=function(e){return v(e)===s},Bi.isContextProvider=function(e){return v(e)===a},Bi.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Bi.isForwardRef=function(e){return v(e)===u},Bi.isFragment=function(e){return v(e)===r},Bi.isLazy=function(e){return v(e)===p},Bi.isMemo=function(e){return v(e)===h},Bi.isPortal=function(e){return v(e)===n},Bi.isProfiler=function(e){return v(e)===o},Bi.isStrictMode=function(e){return v(e)===i},Bi.isSuspense=function(e){return v(e)===f},Bi.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===l||e===o||e===i||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===b||e.$$typeof===m||e.$$typeof===y||e.$$typeof===g)},Bi.typeOf=v}()),Bi)),wi.exports}
|
|
18
|
+
/*
|
|
19
|
+
object-assign
|
|
20
|
+
(c) Sindre Sorhus
|
|
21
|
+
@license MIT
|
|
22
|
+
*/function Ri(){if(Ti)return Mi;Ti=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Mi=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(r,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),c=1;c<arguments.length;c++){for(var l in o=Object(arguments[c]))t.call(o,l)&&(s[l]=o[l]);if(e){a=e(o);for(var u=0;u<a.length;u++)n.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s},Mi}function Ui(){if(Ai)return Si;Ai=1;return Si="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Ii(){return ji?Oi:(ji=1,Oi=Function.call.bind(Object.prototype.hasOwnProperty))}function Hi(){if(Fi)return Ei;Fi=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Ui(),n={},r=Ii();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function i(i,o,a,s,c){if("production"!==process.env.NODE_ENV)for(var l in i)if(r(i,l)){var u;try{if("function"!=typeof i[l]){var f=Error((s||"React class")+": "+a+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}u=i[l](o,l,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var d=c?c():"";e("Failed "+a+" type: "+u.message+(null!=d?d:""))}}}return i.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Ei=i}function qi(){if(Pi)return Li;Pi=1;var e=Di(),t=Ri(),n=Ui(),r=Ii(),i=Hi(),o=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Li=function(s,c){var l="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",f={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:p(a),arrayOf:function(e){return p((function(t,r,i,o,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new h("Invalid "+o+" `"+a+"` of type `"+y(s)+"` supplied to `"+i+"`, expected an array.");for(var c=0;c<s.length;c++){var l=e(s,c,i,o,a+"["+c+"]",n);if(l instanceof Error)return l}return null}))},element:p((function(e,t,n,r,i){var o=e[t];return s(o)?null:new h("Invalid "+r+" `"+i+"` of type `"+y(o)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:p((function(t,n,r,i,o){var a=t[n];return e.isValidElementType(a)?null:new h("Invalid "+i+" `"+o+"` of type `"+y(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return p((function(t,n,r,i,o){if(!(t[n]instanceof e)){var a=e.name||u;return new h("Invalid "+i+" `"+o+"` of type `"+(((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `")+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:p((function(e,t,n,r,i){return m(e[t])?null:new h("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return p((function(t,i,o,a,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var c=t[i],l=y(c);if("object"!==l)return new h("Invalid "+a+" `"+s+"` of type `"+l+"` supplied to `"+o+"`, expected an object.");for(var u in c)if(r(c,u)){var f=e(c,u,o,a,s+"."+u,n);if(f instanceof Error)return f}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a;return p((function(t,n,r,i,o){for(var a=t[n],s=0;s<e.length;s++)if(d(a,e[s]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===v(t)?String(t):t}));return new h("Invalid "+i+" `"+o+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+c+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var i=e[t];if("function"!=typeof i)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+_(i)+" at index "+t+"."),a}return p((function(t,i,o,a,s){for(var c=[],l=0;l<e.length;l++){var u=(0,e[l])(t,i,o,a,s,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&c.push(u.data.expectedType)}return new h("Invalid "+a+" `"+s+"` supplied to `"+o+"`"+(c.length>0?", expected one of type ["+c.join(", ")+"]":"")+".")}))},shape:function(e){return p((function(t,r,i,o,a){var s=t[r],c=y(s);if("object"!==c)return new h("Invalid "+o+" `"+a+"` of type `"+c+"` supplied to `"+i+"`, expected `object`.");for(var l in e){var u=e[l];if("function"!=typeof u)return b(i,o,a,l,v(u));var f=u(s,l,i,o,a+"."+l,n);if(f)return f}return null}))},exact:function(e){return p((function(i,o,a,s,c){var l=i[o],u=y(l);if("object"!==u)return new h("Invalid "+s+" `"+c+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var f=t({},i[o],e);for(var d in f){var p=e[d];if(r(e,d)&&"function"!=typeof p)return b(a,s,c,d,v(p));if(!p)return new h("Invalid "+s+" `"+c+"` key `"+d+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(i[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=p(l,d,a,s,c+"."+d,n);if(g)return g}return null}))}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function p(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function i(i,a,s,l,f,d,p){if(l=l||u,d=d||s,p!==n){if(c){var g=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 g.name="Invariant Violation",g}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var b=l+":"+s;!t[b]&&r<3&&(o("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[b]=!0,r++)}}return null==a[s]?i?null===a[s]?new h("The "+f+" `"+d+"` is marked as required in `"+l+"`, but its value is `null`."):new h("The "+f+" `"+d+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(a,s,l,f,d)}var a=i.bind(null,!1);return a.isRequired=i.bind(null,!0),a}function g(e){return p((function(t,n,r,i,o,a){var s=t[n];return y(s)!==e?new h("Invalid "+i+" `"+o+"` of type `"+v(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function b(e,t,n,r,i){return new h((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function m(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(m);if(null===e||s(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!m(n.value))return!1}else for(;!(n=r.next()).done;){var i=n.value;if(i&&!m(i[1]))return!1}return!0;default:return!1}}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function _(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,f.checkPropTypes=i,f.resetWarningCache=i.resetWarningCache,f.PropTypes=f,f},Li}function Wi(){if(Ni)return $i;Ni=1;var e=Ui();function t(){}function n(){}return n.resetWarningCache=t,$i=function(){function r(t,n,r,i,o,a){if(a!==e){var s=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 s.name="Invariant Violation",s}}function i(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}}function Vi(){if(zi)return _i.exports;if(zi=1,"production"!==process.env.NODE_ENV){var e=Di();_i.exports=qi()(e.isElement,true)}else _i.exports=Wi()();return _i.exports}var Yi=ur(Vi()),Zi=uo(),Gi=e=>ao(e,Zi),Xi=uo();Gi.write=e=>ao(e,Xi);var Qi=uo();Gi.onStart=e=>ao(e,Qi);var Ji=uo();Gi.onFrame=e=>ao(e,Ji);var Ki=uo();Gi.onFinish=e=>ao(e,Ki);var eo=[];Gi.setTimeout=(e,t)=>{const n=Gi.now()+t,r=()=>{const e=eo.findIndex((e=>e.cancel==r));~e&&eo.splice(e,1),io-=~e?1:0},i={time:n,handler:e,cancel:r};return eo.splice(to(n),0,i),io+=1,so(),i};var to=e=>~(~eo.findIndex((t=>t.time>e))||~eo.length);Gi.cancel=e=>{Qi.delete(e),Ji.delete(e),Ki.delete(e),Zi.delete(e),Xi.delete(e)},Gi.sync=e=>{oo=!0,Gi.batchedUpdates(e),oo=!1},Gi.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,Gi.onStart(n)}return r.handler=e,r.cancel=()=>{Qi.delete(n),t=null},r};var no="undefined"!=typeof window?window.requestAnimationFrame:()=>{};Gi.use=e=>no=e,Gi.now="undefined"!=typeof performance?()=>performance.now():Date.now,Gi.batchedUpdates=e=>e(),Gi.catch=console.error,Gi.frameLoop="always",Gi.advance=()=>{"demand"!==Gi.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):lo()};var ro=-1,io=0,oo=!1;function ao(e,t){oo?(t.delete(e),e(0)):(t.add(e),so())}function so(){ro<0&&(ro=0,"demand"!==Gi.frameLoop&&no(co))}function co(){~ro&&(no(co),Gi.batchedUpdates(lo))}function lo(){const e=ro;ro=Gi.now();const t=to(ro);t&&(fo(eo.splice(0,t),(e=>e.handler())),io-=t),io?(Qi.flush(),Zi.flush(e?Math.min(64,ro-e):16.667),Ji.flush(),Xi.flush(),Ki.flush()):ro=-1}function uo(){let e=new Set,t=e;return{add(n){io+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(io-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,io-=t.size,fo(t,(t=>t(n)&&e.add(t))),io+=e.size,t=e)}}}function fo(e,t){e.forEach((e=>{try{t(e)}catch(e){Gi.catch(e)}}))}var ho=Object.defineProperty,po={};function go(){}((e,t)=>{for(var n in t)ho(e,n,{get:t[n],enumerable:!0})})(po,{assign:()=>Oo,colors:()=>To,createStringInterpolator:()=>xo,skipAnimation:()=>So,to:()=>Co,willAdvance:()=>Ao});var bo={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function mo(e,t){if(bo.arr(e)){if(!bo.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var yo=(e,t)=>e.forEach(t);function vo(e,t,n){if(bo.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var _o=e=>bo.und(e)?[]:bo.arr(e)?e:[e];function wo(e,t){if(e.size){const n=Array.from(e);e.clear(),yo(n,t)}}var xo,Co,ko=(e,...t)=>wo(e,(e=>e(...t))),Mo=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),To=null,So=!1,Ao=go,Oo=e=>{e.to&&(Co=e.to),e.now&&(Gi.now=e.now),void 0!==e.colors&&(To=e.colors),null!=e.skipAnimation&&(So=e.skipAnimation),e.createStringInterpolator&&(xo=e.createStringInterpolator),e.requestAnimationFrame&&Gi.use(e.requestAnimationFrame),e.batchedUpdates&&(Gi.batchedUpdates=e.batchedUpdates),e.willAdvance&&(Ao=e.willAdvance),e.frameLoop&&(Gi.frameLoop=e.frameLoop)},jo=new Set,Eo=[],Fo=[],Lo=0,Po={get idle(){return!jo.size&&!Eo.length},start(e){Lo>e.priority?(jo.add(e),Gi.onStart($o)):(No(e),Gi(Bo))},advance:Bo,sort(e){if(Lo)Gi.onFrame((()=>Po.sort(e)));else{const t=Eo.indexOf(e);~t&&(Eo.splice(t,1),zo(e))}},clear(){Eo=[],jo.clear()}};function $o(){jo.forEach(No),jo.clear(),Gi(Bo)}function No(e){Eo.includes(e)||zo(e)}function zo(e){Eo.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(Eo,(t=>t.priority>e.priority)),0,e)}function Bo(e){const t=Fo;for(let n=0;n<Eo.length;n++){const r=Eo[n];Lo=r.priority,r.idle||(Ao(r),r.advance(e),r.idle||t.push(r))}return Lo=0,(Fo=Eo).length=0,(Eo=t).length>0}var Do="[-+]?\\d*\\.?\\d+",Ro=Do+"%";function Uo(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Io=new RegExp("rgb"+Uo(Do,Do,Do)),Ho=new RegExp("rgba"+Uo(Do,Do,Do,Do)),qo=new RegExp("hsl"+Uo(Do,Ro,Ro)),Wo=new RegExp("hsla"+Uo(Do,Ro,Ro,Do)),Vo=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Yo=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Zo=/^#([0-9a-fA-F]{6})$/,Go=/^#([0-9a-fA-F]{8})$/;function Xo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Qo(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=Xo(i,r,e+1/3),a=Xo(i,r,e),s=Xo(i,r,e-1/3);return Math.round(255*o)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function Jo(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Ko(e){return(parseFloat(e)%360+360)%360/360}function ea(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ta(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function na(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Zo.exec(e))?parseInt(t[1]+"ff",16)>>>0:To&&void 0!==To[e]?To[e]:(t=Io.exec(e))?(Jo(t[1])<<24|Jo(t[2])<<16|Jo(t[3])<<8|255)>>>0:(t=Ho.exec(e))?(Jo(t[1])<<24|Jo(t[2])<<16|Jo(t[3])<<8|ea(t[4]))>>>0:(t=Vo.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Go.exec(e))?parseInt(t[1],16)>>>0:(t=Yo.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=qo.exec(e))?(255|Qo(Ko(t[1]),ta(t[2]),ta(t[3])))>>>0:(t=Wo.exec(e))?(Qo(Ko(t[1]),ta(t[2]),ta(t[3]))|ea(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var ra=(e,t,n)=>{if(bo.fun(e))return e;if(bo.arr(e))return ra({range:e,output:t,extrapolate:n});if(bo.str(e.output[0]))return xo(e);const r=e,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,i,o,a,s,c){let l=c?c(e):e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=o(l),r===-1/0?l=-l:i===1/0?l+=r:l=l*(i-r)+r;return l}(e,o[t],o[t+1],i[t],i[t+1],c,a,s,r.map)}};var ia=1.70158,oa=1.525*ia,aa=ia+1,sa=2*Math.PI/3,ca=2*Math.PI/4.5,la=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},ua={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>aa*e*e*e-ia*e*e,easeOutBack:e=>1+aa*Math.pow(e-1,3)+ia*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-oa)/2:(Math.pow(2*e-2,2)*((oa+1)*(2*e-2)+oa)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*sa),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*sa)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*ca)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*ca)/2+1,easeInBounce:e=>1-la(1-e),easeOutBounce:la,easeInOutBounce:e=>e<.5?(1-la(1-2*e))/2:(1+la(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return((e,t,n)=>Math.min(Math.max(n,e),t))(0,1,("end"===t?Math.floor(r):Math.ceil(r))/e)}},fa=Symbol.for("FluidValue.get"),da=Symbol.for("FluidValue.observers"),ha=e=>Boolean(e&&e[fa]),pa=e=>e&&e[fa]?e[fa]():e,ga=e=>e[da]||null;function ba(e,t){const n=e[da];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var ma=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");ya(this,e)}},ya=(e,t)=>xa(e,fa,t);function va(e,t){if(e[fa]){let n=e[da];n||xa(e,da,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function _a(e,t){const n=e[da];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[da]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var wa,xa=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Ca=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ka=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ma=new RegExp(`(${Ca.source})(%|[a-z]+)`,"i"),Ta=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Sa=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Aa=e=>{const[t,n]=Oa(e);if(!t||Mo())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Sa.test(n)?Aa(n):n||e},Oa=e=>{const t=Sa.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},ja=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,Ea=e=>{wa||(wa=To?new RegExp(`(${Object.keys(To).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>pa(e).replace(Sa,Aa).replace(ka,na).replace(wa,na))),n=t.map((e=>e.match(Ca).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))),i=r.map((t=>ra({...e,output:t})));return e=>{const n=!Ma.test(t[0])&&t.find((e=>Ma.test(e)))?.replace(Ca,"");let r=0;return t[0].replace(Ca,(()=>`${i[r++](e)}${n||""}`)).replace(Ta,ja)}},Fa="react-spring: ",La=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${Fa}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},Pa=La(console.warn);var $a=La(console.warn);function Na(e){return bo.str(e)&&("#"==e[0]||/\d/.test(e)||!Mo()&&Sa.test(e)||e in(To||{}))}var za=Mo()?l:u;function Ba(){const e=f()[1],t=(()=>{const e=d(!1);return za((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}var Da=e=>l(e,Ra),Ra=[];function Ua(e){const t=d();return l((()=>{t.current=e})),t.current}var Ia=Symbol.for("Animated:node"),Ha=e=>e&&e[Ia],qa=(e,t)=>{return n=e,r=Ia,i=t,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},Wa=e=>e&&e[Ia]&&e[Ia].getPayload(),Va=class{constructor(){qa(this,this)}getPayload(){return this.payload||[]}},Ya=class extends Va{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,bo.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Ya(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return bo.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,bo.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Za=class extends Ya{constructor(e){super(0),this._string=null,this._toString=ra({output:[e,e]})}static create(e){return new Za(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(bo.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=ra({output:[this.getValue(),e]})),this._value=0,super.reset()}},Ga={dependencies:null},Xa=class extends Va{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return vo(this.source,((n,r)=>{var i;(i=n)&&i[Ia]===i?t[r]=n.getValue(e):ha(n)?t[r]=pa(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&yo(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return vo(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Ga.dependencies&&ha(e)&&Ga.dependencies.add(e);const t=Wa(e);t&&yo(t,(e=>this.add(e)))}},Qa=class extends Xa{constructor(e){super(e)}static create(e){return new Qa(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(Ja)),!0)}};function Ja(e){return(Na(e)?Za:Ya).create(e)}function Ka(e){const t=Ha(e);return t?t.constructor:bo.arr(e)?Qa:Na(e)?Za:Ya}var es=(e,t)=>{const n=!bo.fun(e)||e.prototype&&e.prototype.isReactComponent;return h(((r,i)=>{const o=d(null),a=n&&p((e=>{o.current=function(e,t){e&&(bo.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[s,u]=function(e,t){const n=new Set;Ga.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new Xa(e),Ga.dependencies=null,[e,n]}(r,t),f=Ba(),h=()=>{const e=o.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&f()},g=new ts(h,u),b=d();za((()=>(b.current=g,yo(u,(e=>va(e,g))),()=>{b.current&&(yo(b.current.deps,(e=>_a(e,b.current))),Gi.cancel(b.current.update))}))),l(h,[]),Da((()=>()=>{const e=b.current;yo(e.deps,(t=>_a(t,e)))}));const m=t.getComponentProps(s.getValue());return c.createElement(e,{...m,ref:a})}))},ts=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&Gi.write(this.update)}};var ns=Symbol.for("AnimatedComponent"),rs=e=>bo.str(e)?e:e&&bo.str(e.displayName)?e.displayName:bo.fun(e)&&e.name||null;function is(e,...t){return bo.fun(e)?e(...t):e}var os=(e,t)=>!0===e||!!(t&&e&&(bo.fun(e)?e(t):_o(e).includes(t))),as=(e,t)=>bo.obj(e)?t&&e[t]:e,ss=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,cs=e=>e,ls=(e,t=cs)=>{let n=us;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const n=t(e[i],i);bo.und(n)||(r[i]=n)}return r},us=["config","onProps","onStart","onChange","onPause","onResume","onRest"],fs={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function ds(e){const t=function(e){const t={};let n=0;if(vo(e,((e,r)=>{fs[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return vo(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function hs(e){return e=pa(e),bo.arr(e)?e.map(hs):Na(e)?po.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function ps(e){for(const t in e)return!0;return!1}function gs(e){return bo.fun(e)||bo.arr(e)&&bo.obj(e[0])}function bs(e,t){e.ref?.delete(e),t?.delete(e)}function ms(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var ys={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},vs={...ys.default,mass:1,damping:1,easing:ua.linear,clamp:!1},_s=class{constructor(){this.velocity=0,Object.assign(this,vs)}};function ws(e,t){if(bo.und(t.decay)){const n=!bo.und(t.tension)||!bo.und(t.friction);!n&&bo.und(t.frequency)&&bo.und(t.damping)&&bo.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var xs=[],Cs=class{constructor(){this.changed=!1,this.values=xs,this.toValues=null,this.fromValues=xs,this.config=new _s,this.immediate=!1}};function ks(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise(((a,s)=>{let c,l,u=os(n.cancel??r?.cancel,t);if(u)h();else{bo.und(n.pause)||(i.paused=os(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||os(e,t)),c=is(n.delay||0,t),e?(i.resumeQueue.add(d),o.pause()):(o.resume(),d())}function f(){i.resumeQueue.add(d),i.timeouts.delete(l),l.cancel(),c=l.time-Gi.now()}function d(){c>0&&!po.skipAnimation?(i.delayed=!0,l=Gi.setTimeout(h,c),i.pauseQueue.add(f),i.timeouts.add(l)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(f),i.timeouts.delete(l),e<=(i.cancelId||0)&&(u=!0);try{o.start({...n,callId:e,cancel:u},a)}catch(e){s(e)}}}))}var Ms=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?As(e.get()):t.every((e=>e.noop))?Ts(e.get()):Ss(e.get(),t.every((e=>e.finished))),Ts=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Ss=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),As=e=>({value:e,cancelled:!0,finished:!1});function Os(e,t,n,r){const{callId:i,parentId:o,onRest:a}=t,{asyncTo:s,promise:c}=n;return o||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const l=ls(t,((e,t)=>"onRest"===t?void 0:e));let u,f;const d=new Promise(((e,t)=>(u=e,f=t))),h=e=>{const t=i<=(n.cancelId||0)&&As(r)||i!==n.asyncId&&Ss(r,!1);if(t)throw e.result=t,f(e),e},p=(e,t)=>{const o=new Es,a=new Fs;return(async()=>{if(po.skipAnimation)throw js(n),a.result=Ss(r,!1),f(a),a;h(o);const s=bo.obj(e)?{...e}:{...t,to:e};s.parentId=i,vo(l,((e,t)=>{bo.und(s[t])&&(s[t]=e)}));const c=await r.start(s);return h(o),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),c})()};let g;if(po.skipAnimation)return js(n),Ss(r,!1);try{let t;t=bo.arr(e)?(async e=>{for(const t of e)await p(t)})(e):Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([t.then(u),d]),g=Ss(r.get(),!0,!1)}catch(e){if(e instanceof Es)g=e.result;else{if(!(e instanceof Fs))throw e;g=e.result}}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?c:void 0)}return bo.fun(a)&&Gi.batchedUpdates((()=>{a(g,r,r.item)})),g})():c}function js(e,t){wo(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Es=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Fs=class extends Error{constructor(){super("SkipAnimationSignal")}},Ls=e=>e instanceof $s,Ps=1,$s=class extends ma{constructor(){super(...arguments),this.id=Ps++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Ha(this);return e&&e.getValue()}to(...e){return po.to(this,e)}interpolate(...e){return Pa(`${Fa}The "interpolate" function is deprecated in v9 (use "to" instead)`),po.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){ba(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||Po.sort(this),ba(this,{type:"priority",parent:this,priority:e})}},Ns=Symbol.for("SpringPhase"),zs=e=>(1&e[Ns])>0,Bs=e=>(2&e[Ns])>0,Ds=e=>(4&e[Ns])>0,Rs=(e,t)=>t?e[Ns]|=3:e[Ns]&=-3,Us=(e,t)=>t?e[Ns]|=4:e[Ns]&=-5,Is=class extends $s{constructor(e,t){if(super(),this.animation=new Cs,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!bo.und(e)||!bo.und(t)){const n=bo.obj(e)?{...e}:{...t,from:e};bo.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Bs(this)||this._state.asyncTo)||Ds(this)}get goal(){return pa(this.animation.to)}get velocity(){const e=Ha(this);return e instanceof Ya?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return zs(this)}get isAnimating(){return Bs(this)}get isPaused(){return Ds(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:o}=r,a=Wa(r.to);!a&&ha(r.to)&&(i=_o(pa(r.to))),r.values.forEach(((s,c)=>{if(s.done)return;const l=s.constructor==Za?1:a?a[c].lastPosition:i[c];let u=r.immediate,f=l;if(!u){if(f=s.lastPosition,o.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[c],i=null!=s.v0?s.v0:s.v0=bo.arr(o.velocity)?o.velocity[c]:o.velocity;let a;const d=o.precision||(n==l?.005:Math.min(1,.001*Math.abs(l-n)));if(bo.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);f=n+i/(1-e)*(1-r),u=Math.abs(s.lastPosition-f)<=d,a=i*r}else{a=null==s.lastVelocity?i:s.lastVelocity;const t=o.restVelocity||d/10,r=o.clamp?0:o.bounce,c=!bo.und(r),h=n==l?s.v0>0:n<l;let p,g=!1;const b=1,m=Math.ceil(e/b);for(let e=0;e<m&&(p=Math.abs(a)>t,p||(u=Math.abs(l-f)<=d,!u));++e){c&&(g=f==l||f>l==h,g&&(a=-a*r,f=l));a+=(1e-6*-o.tension*(f-l)+.001*-o.friction*a)/o.mass*b,f+=a*b}}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,s.durationProgress>0&&(s.elapsedTime=o.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(o.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),f=n+o.easing(r)*(l-n),a=(f-s.lastPosition)/e,u=1==r}s.lastVelocity=a,Number.isNaN(f)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[c].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(f,o.round)&&(n=!0)}));const s=Ha(this),c=s.getValue();if(t){const e=pa(r.to);c===e&&!n||o.decay?n&&o.decay&&this._onChange(c):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(c)}set(e){return Gi.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Bs(this)){const{to:e,config:t}=this.animation;Gi.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return bo.und(e)?(n=this.queue||[],this.queue=[]):n=[bo.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>Ms(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),js(this._state,e&&this._lastCallId),Gi.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=bo.obj(n)?n[t]:n,(null==n||gs(n))&&(n=void 0),r=bo.obj(r)?r[t]:r,null==r&&(r=void 0);const i={to:n,from:r};return zs(this)||(e.reverse&&([n,r]=[r,n]),r=pa(r),bo.und(r)?Ha(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,ls(e,((e,t)=>/^on/.test(t)?as(e,n):e))),Gs(this,e,"onProps"),Xs(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const o=this._state;return ks(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Ds(this)||(Us(this,!0),ko(o.pauseQueue),Xs(this,"onPause",Ss(this,Hs(this,this.animation.to)),this))},resume:()=>{Ds(this)&&(Us(this,!1),Bs(this)&&this._resume(),ko(o.resumeQueue),Xs(this,"onResume",Ss(this,Hs(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=qs(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(As(this));const r=!bo.und(e.to),i=!bo.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(As(this));this._lastToId=t.callId}const{key:o,defaultProps:a,animation:s}=this,{to:c,from:l}=s;let{to:u=c,from:f=l}=e;!i||r||t.default&&!bo.und(u)||(u=f),t.reverse&&([u,f]=[f,u]);const d=!mo(f,l);d&&(s.from=f),f=pa(f);const h=!mo(u,c);h&&this._focus(u);const p=gs(t.to),{config:g}=s,{decay:b,velocity:m}=g;(r||i)&&(g.velocity=0),t.config&&!p&&function(e,t,n){n&&(ws(n={...n},t),t={...n,...t}),ws(e,t),Object.assign(e,t);for(const t in vs)null==e[t]&&(e[t]=vs[t]);let{frequency:r,damping:i}=e;const{mass:o}=e;bo.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*i*o/r)}(g,is(t.config,o),t.config!==a.config?is(a.config,o):void 0);let y=Ha(this);if(!y||bo.und(u))return n(Ss(this,!0));const v=bo.und(t.reset)?i&&!t.default:!bo.und(f)&&os(t.reset,o),_=v?f:this.get(),w=hs(u),x=bo.num(w)||bo.arr(w)||Na(w),C=!p&&(!x||os(a.immediate||t.immediate,o));if(h){const e=Ka(u);if(e!==y.constructor){if(!C)throw Error(`Cannot animate between ${y.constructor.name} and ${e.name}, as the "to" prop suggests`);y=this._set(w)}}const k=y.constructor;let M=ha(u),T=!1;if(!M){const e=v||!zs(this)&&d;(h||e)&&(T=mo(hs(_),w),M=!T),(mo(s.immediate,C)||C)&&mo(g.decay,b)&&mo(g.velocity,m)||(M=!0)}if(T&&Bs(this)&&(s.changed&&!v?M=!0:M||this._stop(c)),!p&&((M||ha(c))&&(s.values=y.getPayload(),s.toValues=ha(u)?null:k==Za?[1]:_o(w)),s.immediate!=C&&(s.immediate=C,C||v||this._set(c)),M)){const{onRest:e}=s;yo(Zs,(e=>Gs(this,t,e)));const r=Ss(this,Hs(this,c));ko(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&Gi.batchedUpdates((()=>{s.changed=!v,e?.(r,this),v?is(a.onRest,r):s.onStart?.(r,this)}))}v&&this._set(_),p?n(Os(t.to,t,this._state,this)):M?this._start():Bs(this)&&!h?this._pendingCalls.add(n):n(Ts(_))}_focus(e){const t=this.animation;e!==t.to&&(ga(this)&&this._detach(),t.to=e,ga(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;ha(t)&&(va(t,this),Ls(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;ha(e)&&_a(e,this)}_set(e,t=!0){const n=pa(e);if(!bo.und(n)){const e=Ha(this);if(!e||!mo(n,e.getValue())){const r=Ka(n);e&&e.constructor==r?e.setValue(n):qa(this,r.create(n)),e&&Gi.batchedUpdates((()=>{this._onChange(n,t)}))}}return Ha(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Xs(this,"onStart",Ss(this,Hs(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),is(this.animation.onChange,e,this)),is(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Ha(this).reset(pa(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),Bs(this)||(Rs(this,!0),Ds(this)||this._resume())}_resume(){po.skipAnimation?this.finish():Po.start(this)}_stop(e,t){if(Bs(this)){Rs(this,!1);const n=this.animation;yo(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),ba(this,{type:"idle",parent:this});const r=t?As(this.get()):Ss(this.get(),Hs(this,e??n.to));ko(this._pendingCalls,r),n.changed&&(n.changed=!1,Xs(this,"onRest",r,this))}}};function Hs(e,t){const n=hs(t);return mo(hs(e.get()),n)}function qs(e,t=e.loop,n=e.to){const r=is(t);if(r){const i=!0!==r&&ds(r),o=(i||e).reverse,a=!i||i.reset;return Ws({...e,loop:t,default:!1,pause:void 0,to:!o||gs(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function Ws(e){const{to:t,from:n}=e=ds(e),r=new Set;return bo.obj(t)&&Ys(t,r),bo.obj(n)&&Ys(n,r),e.keys=r.size?Array.from(r):null,e}function Vs(e){const t=Ws(e);return bo.und(t.default)&&(t.default=ls(t)),t}function Ys(e,t){vo(e,((e,n)=>null!=e&&t.add(n)))}var Zs=["onStart","onRest","onChange","onPause","onResume"];function Gs(e,t,n){e.animation[n]=t[n]!==ss(t,n)?as(t[n],e.key):void 0}function Xs(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var Qs=["onStart","onChange","onRest"],Js=1,Ks=class{constructor(e,t){this.id=Js++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];bo.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Ws(e)),this}start(e){let{queue:t}=this;return e?t=_o(e).map(Ws):this.queue=[],this._flush?this._flush(this,t):(ac(this,t),ec(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;yo(_o(t),(t=>n[t].stop(!!e)))}else js(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(bo.und(e))this.start({pause:!0});else{const t=this.springs;yo(_o(e),(e=>t[e].pause()))}return this}resume(e){if(bo.und(e))this.start({pause:!1});else{const t=this.springs;yo(_o(e),(e=>t[e].resume()))}return this}each(e){vo(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,wo(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const o=!r&&this._started,a=i||o&&n.size?this.get():null;i&&t.size&&wo(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),o&&(this._started=!1,wo(n,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}Gi.onFrame(this._onFrame)}};function ec(e,t){return Promise.all(t.map((t=>tc(e,t)))).then((t=>Ms(e,t)))}async function tc(e,t,n){const{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:c}=t,l=bo.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===o&&(t.from=null);const u=bo.arr(i)||bo.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,l&&(l.onRest=void 0)):yo(Qs,(n=>{const r=t[n];if(bo.fun(r)){const i=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},l&&(l[n]=t[n])}}));const f=e._state;t.pause===!f.paused?(f.paused=t.pause,ko(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),h=!0===t.cancel||!0===ss(t,"cancel");(u||h&&f.asyncId)&&d.push(ks(++e._lastAsyncId,{props:t,state:f,actions:{pause:go,resume:go,start(t,n){h?(js(f,e._lastAsyncId),n(As(e))):(t.onRest=s,n(Os(u,t,f,e)))}}})),f.paused&&await new Promise((e=>{f.resumeQueue.add(e)}));const p=Ms(e,await Promise.all(d));if(a&&p.finished&&(!n||!p.noop)){const n=qs(t,a,i);if(n)return ac(e,[n]),tc(e,n,!0)}return c&&Gi.batchedUpdates((()=>c(p,e,e.item))),p}function nc(e,t){const n={...e.springs};return t&&yo(_o(t),(e=>{bo.und(e.keys)&&(e=Ws(e)),bo.obj(e.to)||(e={...e,to:void 0}),oc(n,e,(e=>ic(e)))})),rc(e,n),n}function rc(e,t){vo(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,va(t,e))}))}function ic(e,t){const n=new Is;return n.key=e,t&&va(n,t),n}function oc(e,t,n){t.keys&&yo(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function ac(e,t){yo(t,(t=>{oc(e.springs,t,(t=>ic(t,e)))}))}var sc=({children:e,...t})=>{const n=g(cc),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=function(e,t){const[n]=f((()=>({inputs:t,result:e()}))),r=d(),i=r.current;let o=i;if(o){const n=Boolean(o.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,o.inputs));n||(o={inputs:t,result:e()})}else o=n;return l((()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)}),[o]),o.result}((()=>({pause:r,immediate:i})),[r,i]);const{Provider:o}=cc;return c.createElement(o,{value:t},e)},cc=function(e,t){return Object.assign(e,c.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}(sc,{});sc.Provider=cc.Provider,sc.Consumer=cc.Consumer;var lc=()=>{const e=[],t=function(t){$a(`${Fa}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return yo(e,((e,i)=>{if(bo.und(t))r.push(e.start());else{const o=n(t,e,i);o&&r.push(e.start(o))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return yo(e,(e=>e.pause(...arguments))),this},t.resume=function(){return yo(e,(e=>e.resume(...arguments))),this},t.set=function(t){yo(e,((e,n)=>{const r=bo.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return yo(e,((e,r)=>{if(bo.und(t))n.push(e.start());else{const i=this._getProps(t,e,r);i&&n.push(e.start(i))}})),n},t.stop=function(){return yo(e,(e=>e.stop(...arguments))),this},t.update=function(t){return yo(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return bo.fun(e)?e(n,t):e};return t._getProps=n,t};function uc(e,t){const n=bo.fun(e),[[r],i]=function(e,t,n){const r=bo.fun(t)&&t;r&&!n&&(n=[]);const i=b((()=>r||3==arguments.length?lc():void 0),[]),o=d(0),a=Ba(),s=b((()=>({ctrls:[],queue:[],flush(e,t){const n=nc(e,t);return o.current>0&&!s.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?ec(e,t):new Promise((r=>{rc(e,n),s.queue.push((()=>{r(ec(e,t))})),a()}))}})),[]),c=d([...s.ctrls]),l=[],u=Ua(e)||0;function f(e,n){for(let i=e;i<n;i++){const e=c.current[i]||(c.current[i]=new Ks(null,s.flush)),n=r?r(i,e):t[i];n&&(l[i]=Vs(n))}}b((()=>{yo(c.current.slice(e,u),(e=>{bs(e,i),e.stop(!0)})),c.current.length=e,f(u,e)}),[e]),b((()=>{f(0,Math.min(u,e))}),n);const h=c.current.map(((e,t)=>nc(e,l[t]))),p=g(sc),m=Ua(p),y=p!==m&&ps(p);za((()=>{o.current++,s.ctrls=c.current;const{queue:e}=s;e.length&&(s.queue=[],yo(e,(e=>e()))),yo(c.current,((e,t)=>{i?.add(e),y&&e.start({default:p});const n=l[t];n&&(ms(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),Da((()=>()=>{yo(s.ctrls,(e=>e.stop(!0)))}));const v=h.map((e=>({...e})));return i?[v,i]:v}(1,n?e:[e],n?[]:t);return n||2==arguments.length?[r,i]:r}function fc(e,t,n){const r=bo.fun(t)&&t,{reset:i,sort:o,trail:a=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:u,ref:f,config:h}=r?r():t,p=b((()=>r||3==arguments.length?lc():void 0),[]),m=_o(e),y=[],v=d(null),_=i?null:v.current;za((()=>{v.current=y})),Da((()=>(yo(y,(e=>{p?.add(e.ctrl),e.ctrl.ref=p})),()=>{yo(v.current,(e=>{e.expired&&clearTimeout(e.expirationId),bs(e.ctrl,p),e.ctrl.stop(!0)}))})));const w=function(e,{key:t,keys:n=t},r){if(null===n){const t=new Set;return e.map((e=>{const n=r&&r.find((n=>n.item===e&&"leave"!==n.phase&&!t.has(n)));return n?(t.add(n),n.key):dc++}))}return bo.und(n)?e:bo.fun(n)?e.map(n):_o(n)}(m,r?r():t,_),x=i&&v.current||[];za((()=>yo(x,(({ctrl:e,item:t,key:n})=>{bs(e,p),is(u,t,n)}))));const C=[];if(_&&yo(_,((e,t)=>{e.expired?(clearTimeout(e.expirationId),x.push(e)):~(t=C[t]=w.indexOf(e.key))&&(y[t]=e)})),yo(m,((e,t)=>{y[t]||(y[t]={key:w[t],item:e,phase:"mount",ctrl:new Ks},y[t].ctrl.item=e)})),C.length){let e=-1;const{leave:n}=r?r():t;yo(C,((t,r)=>{const i=_[r];~t?(e=y.indexOf(i),y[e]={...i,item:m[t]}):n&&y.splice(++e,0,i)}))}bo.fun(o)&&y.sort(((e,t)=>o(e.item,t.item)));let k=-a;const M=Ba(),T=ls(t),S=new Map,A=d(new Map),O=d(!1);yo(y,((e,n)=>{const i=e.key,o=e.phase,c=r?r():t;let u,d;const p=is(c.delay||0,i);if("mount"==o)u=c.enter,d="enter";else{const e=w.indexOf(i)<0;if("leave"!=o)if(e)u=c.leave,d="leave";else{if(!(u=c.update))return;d="update"}else{if(e)return;u=c.enter,d="enter"}}if(u=is(u,e.item,n),u=bo.obj(u)?ds(u):{to:u},!u.config){const t=h||T.config;u.config=is(t,e.item,n,d)}k+=a;const g={...T,delay:p+k,ref:f,immediate:c.immediate,reset:!1,...u};if("enter"==d&&bo.und(g.from)){const i=r?r():t,o=bo.und(i.initial)||_?i.from:i.initial;g.from=is(o,e.item,n)}const{onResolve:b}=g;g.onResolve=e=>{is(b,e);const t=v.current,n=t.find((e=>e.key===i));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){const t=is(s,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(M,r)))}}e&&t.some((e=>e.expired))&&(A.current.delete(n),l&&(O.current=!0),M())}};const m=nc(e.ctrl,g);"leave"===d&&l?A.current.set(e,{phase:d,springs:m,payload:g}):S.set(e,{phase:d,springs:m,payload:g})}));const j=g(sc),E=Ua(j),F=j!==E&&ps(j);za((()=>{F&&yo(y,(e=>{e.ctrl.start({default:j})}))}),[j]),yo(S,((e,t)=>{if(A.current.size){const e=y.findIndex((e=>e.key===t.key));y.splice(e,1)}})),za((()=>{yo(A.current.size?A.current:S,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,p?.add(r),F&&"enter"==e&&r.start({default:j}),t&&(ms(r,t.ref),!r.ref&&!p||O.current?(r.start(t),O.current&&(O.current=!1)):r.update(t))}))}),i?void 0:n);const L=e=>c.createElement(c.Fragment,null,y.map(((t,n)=>{const{springs:r}=S.get(t)||t.ctrl,i=e({...r},t.item,t,n);return i&&i.type?c.createElement(i.type,{...i.props,key:bo.str(t.key)||bo.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i})));return p?[L,p]:L}var dc=1;var hc=class extends $s{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=ra(...t);const n=this._get(),r=Ka(n);qa(this,r.create(n))}advance(e){const t=this._get();mo(t,this.get())||(Ha(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&gc(this._active)&&bc(this)}_get(){const e=bo.arr(this.source)?this.source.map(pa):_o(pa(this.source));return this.calc(...e)}_start(){this.idle&&!gc(this._active)&&(this.idle=!1,yo(Wa(this),(e=>{e.done=!1})),po.skipAnimation?(Gi.batchedUpdates((()=>this.advance())),bc(this)):Po.start(this))}_attach(){let e=1;yo(_o(this.source),(t=>{ha(t)&&va(t,this),Ls(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){yo(_o(this.source),(e=>{ha(e)&&_a(e,this)})),this._active.clear(),bc(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=_o(this.source).reduce(((e,t)=>Math.max(e,(Ls(t)?t.priority:0)+1)),0))}};function pc(e){return!1!==e.idle}function gc(e){return!e.size||Array.from(e).every(pc)}function bc(e){e.idle||(e.idle=!0,yo(Wa(e),(e=>{e.done=!0})),ba(e,{type:"idle",parent:e}))}po.assign({createStringInterpolator:Ea,to:(e,t)=>new hc(e,t)});var mc=/^--/;function yc(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||mc.test(e)||_c.hasOwnProperty(e)&&_c[e]?(""+t).trim():t+"px"}var vc={};var _c={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},wc=["Webkit","Ms","Moz","O"];_c=Object.keys(_c).reduce(((e,t)=>(wc.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),_c);var xc=/^(matrix|translate|scale|rotate|skew)/,Cc=/^(translate)/,kc=/^(rotate|skew)/,Mc=(e,t)=>bo.num(e)&&0!==e?e+t:e,Tc=(e,t)=>bo.arr(e)?e.every((e=>Tc(e,t))):bo.num(e)?e===t:parseFloat(e)===t,Sc=class extends Xa{constructor({x:e,y:t,z:n,...r}){const i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push((e=>[`translate3d(${e.map((e=>Mc(e,"px"))).join(",")})`,Tc(e,0)]))),vo(r,((e,t)=>{if("transform"===t)i.push([e||""]),o.push((e=>[e,""===e]));else if(xc.test(t)){if(delete r[t],bo.und(e))return;const n=Cc.test(t)?"px":kc.test(t)?"deg":"";i.push(_o(e)),o.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${Mc(i,n)})`,Tc(i,0)]:e=>[`${t}(${e.map((e=>Mc(e,n))).join(",")})`,Tc(e,t.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new Ac(i,o)),super(r)}},Ac=class extends ma{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return yo(this.inputs,((n,r)=>{const i=pa(n[0]),[o,a]=this.transforms[r](bo.arr(i)?i:n.map(pa));e+=" "+o,t=t&&a})),t?"none":e}observerAdded(e){1==e&&yo(this.inputs,(e=>yo(e,(e=>ha(e)&&va(e,this)))))}observerRemoved(e){0==e&&yo(this.inputs,(e=>yo(e,(e=>ha(e)&&_a(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),ba(this,e)}};po.assign({batchedUpdates:C,createStringInterpolator:Ea,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var Oc=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new Xa(e),getComponentProps:r=e=>e}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=e=>{const t=rs(e)||"Anonymous";return(e=bo.str(e)?o[e]||(o[e]=es(e,i)):e[ns]||(e[ns]=es(e,i))).displayName=`Animated(${t})`,e};return vo(e,((t,n)=>{bo.arr(e)&&(n=rs(t)),o[n]=o(t)})),{animated:o}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:a,scrollLeft:s,viewBox:c,...l}=t,u=Object.values(l),f=Object.keys(l).map((t=>n||e.hasAttribute(t)?t:vc[t]||(vc[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==o&&(e.textContent=o);for(const t in i)if(i.hasOwnProperty(t)){const n=yc(t,i[t]);mc.test(t)?e.style.setProperty(t,n):e.style[t]=n}f.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s),void 0!==c&&e.setAttribute("viewBox",c)},createAnimatedStyle:e=>new Sc(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),jc=Oc.animated;function Ec(){return Ec=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ec.apply(this,arguments)}var Fc={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},Lc=function(e,t){return"translate("+e+"px, "+t+"px)"},Pc=m((function(e){var t,n=e.position,r=e.anchor,i=e.children,o=rT(),a=HM(),s=a.animate,c=a.config,l=JM(),u=l[0],f=l[1],h=d(!1),p=void 0,g=!1,b=f.width>0&&f.height>0,m=Math.round(n[0]),y=Math.round(n[1]);b&&("top"===r?(m-=f.width/2,y-=f.height+14):"right"===r?(m+=14,y-=f.height/2):"bottom"===r?(m-=f.width/2,y+=14):"left"===r?(m-=f.width+14,y-=f.height/2):"center"===r&&(m-=f.width/2,y-=f.height/2),p={transform:Lc(m,y)},h.current||(g=!0),h.current=[m,y]);var v=uc({to:p,config:c,immediate:!s||g}),_=Ec({},Fc,o.tooltip.wrapper,{transform:null!=(t=v.transform)?t:Lc(m,y),opacity:v.transform?1:0});return M(jc.div,{ref:u,style:_,children:i})}));Pc.displayName="TooltipWrapper";var $c=m((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return M("span",{style:Ec({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),Nc=m((function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,a=void 0!==o&&o,s=e.color,c=e.renderContent,l=rT(),u=KM(i);if("function"==typeof c)t=c();else{var f=r;void 0!==u&&void 0!==f&&(f=u(f)),t=M("div",{style:l.tooltip.basic,children:[a&&M($c,{color:s,style:l.tooltip.chip}),void 0!==f?M("span",{children:[n,": ",M("strong",{children:""+f})]}):n]})}return M("div",{style:l.tooltip.container,children:t})})),zc={width:"100%",borderCollapse:"collapse"},Bc=m((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=rT();return i.length?(t="function"==typeof o?o():M("div",{children:[n&&n,M("table",{style:Ec({},zc,a.tooltip.table),children:M("tbody",{children:i.map((function(e,t){return M("tr",{children:e.map((function(e,t){return M("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),M("div",{style:a.tooltip.container,children:t})):null}));Bc.displayName="TableTooltip";var Dc=m((function(e){var t=e.x0,n=e.x1,r=e.y0,i=e.y1,o=rT(),a=HM(),s=a.animate,c=a.config,l=b((function(){return Ec({},o.crosshair.line,{pointerEvents:"none"})}),[o.crosshair.line]),u=uc({x1:t,x2:n,y1:r,y2:i,config:c,immediate:!s});return M(jc.line,Ec({},u,{fill:"none",style:l}))}));Dc.displayName="CrosshairLine";var Rc=m((function(e){var t,r,i=e.width,o=e.height,a=e.type,s=e.x,c=e.y;return"cross"===a?(t={x0:s,x1:s,y0:0,y1:o},r={x0:0,x1:i,y0:c,y1:c}):"top-left"===a?(t={x0:s,x1:s,y0:0,y1:c},r={x0:0,x1:s,y0:c,y1:c}):"top"===a?t={x0:s,x1:s,y0:0,y1:c}:"top-right"===a?(t={x0:s,x1:s,y0:0,y1:c},r={x0:s,x1:i,y0:c,y1:c}):"right"===a?r={x0:s,x1:i,y0:c,y1:c}:"bottom-right"===a?(t={x0:s,x1:s,y0:c,y1:o},r={x0:s,x1:i,y0:c,y1:c}):"bottom"===a?t={x0:s,x1:s,y0:c,y1:o}:"bottom-left"===a?(t={x0:s,x1:s,y0:c,y1:o},r={x0:0,x1:s,y0:c,y1:c}):"left"===a?r={x0:0,x1:s,y0:c,y1:c}:"x"===a?t={x0:s,x1:s,y0:0,y1:o}:"y"===a&&(r={x0:0,x1:i,y0:c,y1:c}),M(n,{children:[t&&M(Dc,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),r&&M(Dc,{x0:r.x0,x1:r.x1,y0:r.y0,y1:r.y1})]})}));Rc.displayName="Crosshair";var Uc,Ic,Hc,qc,Wc,Vc,Yc,Zc,Gc,Xc,Qc,Jc,Kc,el,tl,nl,rl,il,ol,al,sl,cl,ll,ul,fl,dl,hl,pl,gl,bl,ml,yl,vl,_l,wl,xl,Cl,kl,Ml,Tl,Sl,Al,Ol,jl,El,Fl,Ll,Pl,$l,Nl,zl,Bl,Dl,Rl,Ul,Il,Hl,ql,Wl,Vl,Yl,Zl,Gl,Xl,Ql,Jl,Kl,eu,tu,nu,ru,iu,ou,au,su,cu,lu,uu,fu,du,hu,pu,gu,bu,mu,yu,vu,_u,wu,xu,Cu,ku,Mu,Tu,Su,Au,Ou,ju,Eu=y({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),Fu={isVisible:!1,position:[null,null],content:null,anchor:null},Lu=y(Fu),Pu=function(){var e=g(Eu);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},$u=function(){var e=function(){var e=g(Lu);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?M(Pc,{position:e.position,anchor:e.anchor,children:e.content}):null},Nu=function(e){var t=e.container,n=e.children,r=function(e){var t=f(Fu),n=t[0],r=t[1],i=p((function(e,t,n){var i=t[0],o=t[1];void 0===n&&(n="top"),r({isVisible:!0,position:[i,o],anchor:n,content:e})}),[r]),o=p((function(t,n,i){void 0===i&&(i="top");var o=e.current.getBoundingClientRect(),a=e.current.offsetWidth,s=a===o.width?1:a/o.width,c="touches"in n?n.touches[0]:n,l=c.clientX,u=c.clientY,f=(l-o.left)*s,d=(u-o.top)*s;"left"!==i&&"right"!==i||(i=f<o.width/2?"right":"left"),r({isVisible:!0,position:[f,d],anchor:i,content:t})}),[e,r]),a=p((function(){r(Fu)}),[r]);return{actions:b((function(){return{showTooltipAt:i,showTooltipFromEvent:o,hideTooltip:a}}),[i,o,a]),state:n}}(t),i=r.actions,o=r.state;return M(Eu.Provider,{value:i,children:M(Lu.Provider,{value:o,children:n})})};function zu(){if(qc)return Hc;return qc=1,Hc=function(e,t){return e===t||e!=e&&t!=t}}function Bu(){if(Vc)return Wc;Vc=1;var e=zu();return Wc=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1},Wc}function Du(){if(nl)return tl;nl=1;var e=Ic?Uc:(Ic=1,Uc=function(){this.__data__=[],this.size=0}),t=function(){if(Zc)return Yc;Zc=1;var e=Bu(),t=Array.prototype.splice;return Yc=function(n){var r=this.__data__,i=e(r,n);return!(i<0||(i==r.length-1?r.pop():t.call(r,i,1),--this.size,0))}}(),n=function(){if(Xc)return Gc;Xc=1;var e=Bu();return Gc=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}}(),r=function(){if(Jc)return Qc;Jc=1;var e=Bu();return Qc=function(t){return e(this.__data__,t)>-1}}(),i=function(){if(el)return Kc;el=1;var e=Bu();return Kc=function(t,n){var r=this.__data__,i=e(r,t);return i<0?(++this.size,r.push([t,n])):r[i][1]=n,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,tl=o}function Ru(){if(dl)return fl;dl=1;var e="object"==typeof lr&&lr&&lr.Object===Object&&lr;return fl=e}function Uu(){if(pl)return hl;pl=1;var e=Ru(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return hl=n}function Iu(){if(bl)return gl;bl=1;var e=Uu().Symbol;return gl=e}function Hu(){if(xl)return wl;xl=1;var e=Iu(),t=function(){if(yl)return ml;yl=1;var e=Iu(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return ml=function(e){var t=n.call(e,i),o=e[i];try{e[i]=void 0;var a=!0}catch(e){}var s=r.call(e);return a&&(t?e[i]=o:delete e[i]),s}}(),n=function(){if(_l)return vl;_l=1;var e=Object.prototype.toString;return vl=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return wl=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function qu(){if(kl)return Cl;return kl=1,Cl=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}function Wu(){if(Tl)return Ml;Tl=1;var e=Hu(),t=qu();return Ml=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function Vu(){if(jl)return Ol;jl=1;var e,t=function(){if(Al)return Sl;Al=1;var e=Uu()["__core-js_shared__"];return Sl=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return Ol=function(e){return!!n&&n in e}}function Yu(){if(Fl)return El;Fl=1;var e=Function.prototype.toString;return El=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function Zu(){if(Bl)return zl;Bl=1;var e=function(){if(Pl)return Ll;Pl=1;var e=Wu(),t=Vu(),n=qu(),r=Yu(),i=/^\[object .+?Constructor\]$/,o=Function.prototype,a=Object.prototype,s=o.toString,c=a.hasOwnProperty,l=RegExp("^"+s.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Ll=function(o){return!(!n(o)||t(o))&&(e(o)?l:i).test(r(o))}}(),t=(Nl||(Nl=1,$l=function(e,t){return null==e?void 0:e[t]}),$l);return zl=function(n,r){var i=t(n,r);return e(i)?i:void 0},zl}function Gu(){if(Rl)return Dl;Rl=1;var e=Zu()(Uu(),"Map");return Dl=e}function Xu(){if(Il)return Ul;Il=1;var e=Zu()(Object,"create");return Ul=e}function Qu(){if(eu)return Kl;eu=1;var e=function(){if(ql)return Hl;ql=1;var e=Xu();return Hl=function(){this.__data__=e?e(null):{},this.size=0}}(),t=Vl?Wl:(Vl=1,Wl=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(Zl)return Yl;Zl=1;var e=Xu(),t=Object.prototype.hasOwnProperty;return Yl=function(n){var r=this.__data__;if(e){var i=r[n];return"__lodash_hash_undefined__"===i?void 0:i}return t.call(r,n)?r[n]:void 0}}(),r=function(){if(Xl)return Gl;Xl=1;var e=Xu(),t=Object.prototype.hasOwnProperty;return Gl=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(Jl)return Ql;Jl=1;var e=Xu();return Ql=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,Kl=o}function Ju(){if(au)return ou;au=1;var e=iu?ru:(iu=1,ru=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return ou=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},ou}function Ku(){if(bu)return gu;bu=1;var e=function(){if(nu)return tu;nu=1;var e=Qu(),t=Du(),n=Gu();return tu=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(cu)return su;cu=1;var e=Ju();return su=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(uu)return lu;uu=1;var e=Ju();return lu=function(t){return e(this,t).get(t)}}(),r=function(){if(du)return fu;du=1;var e=Ju();return fu=function(t){return e(this,t).has(t)}}(),i=function(){if(pu)return hu;pu=1;var e=Ju();return hu=function(t,n){var r=e(this,t),i=r.size;return r.set(t,n),this.size+=r.size==i?0:1,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,gu=o}function ef(){if(_u)return vu;_u=1;var e=Du(),t=function(){if(il)return rl;il=1;var e=Du();return rl=function(){this.__data__=new e,this.size=0}}(),n=al?ol:(al=1,ol=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=cl?sl:(cl=1,sl=function(e){return this.__data__.get(e)}),i=ul?ll:(ul=1,ll=function(e){return this.__data__.has(e)}),o=function(){if(yu)return mu;yu=1;var e=Du(),t=Gu(),n=Ku();return mu=function(r,i){var o=this.__data__;if(o instanceof e){var a=o.__data__;if(!t||a.length<199)return a.push([r,i]),this.size=++o.size,this;o=this.__data__=new n(a)}return o.set(r,i),this.size=o.size,this}}();function a(t){var n=this.__data__=new e(t);this.size=n.size}return a.prototype.clear=t,a.prototype.delete=n,a.prototype.get=r,a.prototype.has=i,a.prototype.set=o,vu=a}function tf(){if(xu)return wu;xu=1;var e=Zu(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return wu=t}function nf(){if(ku)return Cu;ku=1;var e=tf();return Cu=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},Cu}function rf(){if(Tu)return Mu;Tu=1;var e=nf(),t=zu();return Mu=function(n,r,i){(void 0!==i&&!t(n[r],i)||void 0===i&&!(r in n))&&e(n,r,i)},Mu}function of(){if(ju)return Ou;ju=1;var e=(Au||(Au=1,Su=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}),Su),t=e();return Ou=t}var af,sf,cf,lf,uf,ff,df,hf,pf,gf,bf,mf,yf,vf,_f,wf,xf,Cf,kf,Mf,Tf,Sf,Af,Of,jf,Ef,Ff,Lf,Pf,$f,Nf,zf,Bf,Df={exports:{}};function Rf(){if(cf)return sf;cf=1;var e=Uu().Uint8Array;return sf=e}function Uf(){if(df)return ff;df=1;var e=function(){if(uf)return lf;uf=1;var e=Rf();return lf=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}}();return ff=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}}function If(){if(yf)return mf;return yf=1,mf=function(e,t){return function(n){return e(t(n))}}}function Hf(){if(_f)return vf;_f=1;var e=If()(Object.getPrototypeOf,Object);return vf=e}function qf(){if(xf)return wf;xf=1;var e=Object.prototype;return wf=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}function Wf(){if(kf)return Cf;kf=1;var e=function(){if(bf)return gf;bf=1;var e=qu(),t=Object.create,n=function(){function n(){}return function(r){if(!e(r))return{};if(t)return t(r);n.prototype=r;var i=new n;return n.prototype=void 0,i}}();return gf=n}(),t=Hf(),n=qf();return Cf=function(r){return"function"!=typeof r.constructor||n(r)?{}:e(t(r))},Cf}function Vf(){if(Tf)return Mf;return Tf=1,Mf=function(e){return null!=e&&"object"==typeof e}}function Yf(){if(jf)return Of;jf=1;var e=function(){if(Af)return Sf;Af=1;var e=Hu(),t=Vf();return Sf=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=Vf(),n=Object.prototype,r=n.hasOwnProperty,i=n.propertyIsEnumerable,o=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!i.call(e,"callee")};return Of=o}function Zf(){if(Ff)return Ef;Ff=1;var e=Array.isArray;return Ef=e}function Gf(){if(Pf)return Lf;Pf=1;return Lf=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}function Xf(){if(Nf)return $f;Nf=1;var e=Wu(),t=Gf();return $f=function(n){return null!=n&&t(n.length)&&!e(n)}}function Qf(){if(Bf)return zf;Bf=1;var e=Xf(),t=Vf();return zf=function(n){return t(n)&&e(n)}}var Jf,Kf,ed,td,nd,rd,id,od,ad,sd={exports:{}};function cd(){return ed||(ed=1,function(e,t){var n=Uu(),r=Kf?Jf:(Kf=1,Jf=function(){return!1}),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,s=(a?a.isBuffer:void 0)||r;e.exports=s}(sd,sd.exports)),sd.exports}function ld(){if(nd)return td;nd=1;var e=Hu(),t=Hf(),n=Vf(),r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object);return td=function(r){if(!n(r)||"[object Object]"!=e(r))return!1;var i=t(r);if(null===i)return!0;var c=a.call(i,"constructor")&&i.constructor;return"function"==typeof c&&c instanceof c&&o.call(c)==s}}function ud(){if(ad)return od;return ad=1,od=function(e){return function(t){return e(t)}}}var fd,dd,hd,pd,gd,bd,md,yd,vd,_d,wd,xd,Cd,kd,Md,Td,Sd,Ad,Od,jd,Ed,Fd,Ld,Pd,$d,Nd,zd,Bd,Dd,Rd,Ud,Id,Hd,qd,Wd,Vd,Yd,Zd,Gd,Xd,Qd,Jd,Kd,eh,th,nh,rh,ih,oh,ah={exports:{}};function sh(){return fd||(fd=1,function(e,t){var n=Ru(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(ah,ah.exports)),ah.exports}function ch(){if(hd)return dd;hd=1;var e=function(){if(id)return rd;id=1;var e=Hu(),t=Gf(),n=Vf(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,rd=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=ud(),n=sh(),r=n&&n.isTypedArray,i=r?t(r):e;return dd=i}function lh(){if(gd)return pd;return gd=1,pd=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},pd}function uh(){if(md)return bd;md=1;var e=nf(),t=zu(),n=Object.prototype.hasOwnProperty;return bd=function(r,i,o){var a=r[i];n.call(r,i)&&t(a,o)&&(void 0!==o||i in r)||e(r,i,o)},bd}function fh(){if(Cd)return xd;Cd=1;var e=/^(?:0|[1-9]\d*)$/;return xd=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}}function dh(){if(Md)return kd;Md=1;var e=(wd||(wd=1,_d=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),_d),t=Yf(),n=Zf(),r=cd(),i=fh(),o=ch(),a=Object.prototype.hasOwnProperty;return kd=function(s,c){var l=n(s),u=!l&&t(s),f=!l&&!u&&r(s),d=!l&&!u&&!f&&o(s),h=l||u||f||d,p=h?e(s.length,String):[],g=p.length;for(var b in s)!c&&!a.call(s,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||d&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||i(b,g))||p.push(b);return p}}function hh(){if(Od)return Ad;Od=1;var e=qu(),t=qf(),n=(Sd||(Sd=1,Td=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}),Td),r=Object.prototype.hasOwnProperty;return Ad=function(i){if(!e(i))return n(i);var o=t(i),a=[];for(var s in i)("constructor"!=s||!o&&r.call(i,s))&&a.push(s);return a},Ad}function ph(){if(Ed)return jd;Ed=1;var e=dh(),t=hh(),n=Xf();return jd=function(r){return n(r)?e(r,!0):t(r)},jd}function gh(){if(Ld)return Fd;Ld=1;var e=function(){if(vd)return yd;vd=1;var e=uh(),t=nf();return yd=function(n,r,i,o){var a=!i;i||(i={});for(var s=-1,c=r.length;++s<c;){var l=r[s],u=o?o(i[l],n[l],l,i,n):void 0;void 0===u&&(u=n[l]),a?t(i,l,u):e(i,l,u)}return i},yd}(),t=ph();return Fd=function(n){return e(n,t(n))}}function bh(){if($d)return Pd;$d=1;var e=rf(),t=(af||(af=1,function(e,t){var n=Uu(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r?n.Buffer:void 0,a=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}}(Df,Df.exports)),Df.exports),n=Uf(),r=(pf||(pf=1,hf=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}),hf),i=Wf(),o=Yf(),a=Zf(),s=Qf(),c=cd(),l=Wu(),u=qu(),f=ld(),d=ch(),h=lh(),p=gh();return Pd=function(g,b,m,y,v,_,w){var x=h(g,m),C=h(b,m),k=w.get(C);if(k)e(g,m,k);else{var M=_?_(x,C,m+"",g,b,w):void 0,T=void 0===M;if(T){var S=a(C),A=!S&&c(C),O=!S&&!A&&d(C);M=C,S||A||O?a(x)?M=x:s(x)?M=r(x):A?(T=!1,M=t(C,!0)):O?(T=!1,M=n(C,!0)):M=[]:f(C)||o(C)?(M=x,o(x)?M=p(x):u(x)&&!l(x)||(M=i(C))):T=!1}T&&(w.set(C,M),v(M,C,y,_,w),w.delete(C)),e(g,m,M)}},Pd}function mh(){if(Dd)return Bd;return Dd=1,Bd=function(e){return e}}function yh(){if(Hd)return Id;Hd=1;var e=Ud?Rd:(Ud=1,Rd=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}),t=Math.max;return Id=function(n,r,i){return r=t(void 0===r?n.length-1:r,0),function(){for(var o=arguments,a=-1,s=t(o.length-r,0),c=Array(s);++a<s;)c[a]=o[r+a];a=-1;for(var l=Array(r+1);++a<r;)l[a]=o[a];return l[r]=i(c),e(n,this,l)}},Id}function vh(){if(Yd)return Vd;Yd=1;var e=Wd?qd:(Wd=1,qd=function(e){return function(){return e}}),t=tf(),n=mh();return Vd=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}function _h(){if(Qd)return Xd;Qd=1;var e=vh(),t=function(){if(Gd)return Zd;Gd=1;var e=Date.now;return Zd=function(t){var n=0,r=0;return function(){var i=e(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}},Zd}(),n=t(e);return Xd=n}function wh(){if(Kd)return Jd;Kd=1;var e=mh(),t=yh(),n=_h();return Jd=function(r,i){return n(t(r,i,e),r+"")},Jd}function xh(){if(th)return eh;th=1;var e=zu(),t=Xf(),n=fh(),r=qu();return eh=function(i,o,a){if(!r(a))return!1;var s=typeof o;return!!("number"==s?t(a)&&n(o,a.length):"string"==s&&o in a)&&e(a[o],i)},eh}var Ch,kh,Mh,Th,Sh,Ah,Oh,jh,Eh,Fh,Lh,Ph,$h,Nh,zh,Bh,Dh,Rh,Uh,Ih,Hh,qh,Wh,Vh,Yh=function(){if(oh)return ih;oh=1;var e=function(){if(zd)return Nd;zd=1;var e=ef(),t=rf(),n=of(),r=bh(),i=qu(),o=ph(),a=lh();return Nd=function s(c,l,u,f,d){c!==l&&n(l,(function(n,o){if(d||(d=new e),i(n))r(c,l,o,u,s,f,d);else{var h=f?f(a(c,o),n,o+"",c,l,d):void 0;void 0===h&&(h=n),t(c,o,h)}}),o)},Nd}(),t=function(){if(rh)return nh;rh=1;var e=wh(),t=xh();return nh=function(n){return e((function(e,r){var i=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(a=n.length>3&&"function"==typeof a?(o--,a):void 0,s&&t(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++i<o;){var c=r[i];c&&n(e,c,i,a)}return e}))},nh}(),n=t((function(t,n,r){e(t,n,r)}));return ih=n}(),Zh=ur(Yh);function Gh(){if(kh)return Ch;kh=1;var e=Hu(),t=Vf();return Ch=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function Xh(){if(Th)return Mh;Th=1;var e=Zf(),t=Gh(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return Mh=function(i,o){if(e(i))return!1;var a=typeof i;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=i&&!t(i))||(r.test(i)||!n.test(i)||null!=o&&i in Object(o))},Mh}function Qh(){if(jh)return Oh;jh=1;var e=function(){if(Ah)return Sh;Ah=1;var e=Ku();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var i=function(){var e=arguments,t=r?r.apply(this,e):e[0],o=i.cache;if(o.has(t))return o.get(t);var a=n.apply(this,e);return i.cache=o.set(t,a)||o,a};return i.cache=new(t.Cache||e),i}return t.Cache=e,Sh=t}();return Oh=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}function Jh(){if(Ph)return Lh;return Ph=1,Lh=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},Lh}function Kh(){if(Bh)return zh;Bh=1;var e=function(){if(Nh)return $h;Nh=1;var e=Iu(),t=Jh(),n=Zf(),r=Gh(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return $h=function e(i){if("string"==typeof i)return i;if(n(i))return t(i,e)+"";if(r(i))return o?o.call(i):"";var a=i+"";return"0"==a&&1/i==-1/0?"-0":a},$h}();return zh=function(t){return null==t?"":e(t)}}function ep(){if(Rh)return Dh;Rh=1;var e=Zf(),t=Xh(),n=function(){if(Fh)return Eh;Fh=1;var e=Qh(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e((function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,(function(e,t,i,o){r.push(i?o.replace(n,"$1"):t||e)})),r}));return Eh=r}(),r=Kh();return Dh=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))},Dh}function tp(){if(Ih)return Uh;Ih=1;var e=Gh();return Uh=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function np(){if(qh)return Hh;qh=1;var e=ep(),t=tp();return Hh=function(n,r){for(var i=0,o=(r=e(r,n)).length;null!=n&&i<o;)n=n[t(r[i++])];return i&&i==o?n:void 0},Hh}function rp(){if(Vh)return Wh;Vh=1;var e=np();return Wh=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i},Wh}var ip,op,ap,sp,cp=ur(rp());function lp(){if(op)return ip;op=1;var e=uh(),t=ep(),n=fh(),r=qu(),i=tp();return ip=function(o,a,s,c){if(!r(o))return o;for(var l=-1,u=(a=t(a,o)).length,f=u-1,d=o;null!=d&&++l<u;){var h=i(a[l]),p=s;if("__proto__"===h||"constructor"===h||"prototype"===h)return o;if(l!=f){var g=d[h];void 0===(p=c?c(g,h,d):void 0)&&(p=r(g)?g:n(a[l+1])?[]:{})}e(d,h,p),d=d[h]}return o},ip}var up=function(){if(sp)return ap;sp=1;var e=lp();return ap=function(t,n,r){return null==t?t:e(t,n,r)},ap}(),fp=ur(up);function dp(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function hp(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function pp(){}var gp=.7,bp=1/gp,mp="\\s*([+-]?\\d+)\\s*",yp="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",vp="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",_p=/^#([0-9a-f]{3,8})$/,wp=new RegExp(`^rgb\\(${mp},${mp},${mp}\\)$`),xp=new RegExp(`^rgb\\(${vp},${vp},${vp}\\)$`),Cp=new RegExp(`^rgba\\(${mp},${mp},${mp},${yp}\\)$`),kp=new RegExp(`^rgba\\(${vp},${vp},${vp},${yp}\\)$`),Mp=new RegExp(`^hsl\\(${yp},${vp},${vp}\\)$`),Tp=new RegExp(`^hsla\\(${yp},${vp},${vp},${yp}\\)$`),Sp={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ap(){return this.rgb().formatHex()}function Op(){return this.rgb().formatRgb()}function jp(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=_p.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Ep(t):3===n?new $p(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Fp(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Fp(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=wp.exec(e))?new $p(t[1],t[2],t[3],1):(t=xp.exec(e))?new $p(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Cp.exec(e))?Fp(t[1],t[2],t[3],t[4]):(t=kp.exec(e))?Fp(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Mp.exec(e))?Up(t[1],t[2]/100,t[3]/100,1):(t=Tp.exec(e))?Up(t[1],t[2]/100,t[3]/100,t[4]):Sp.hasOwnProperty(e)?Ep(Sp[e]):"transparent"===e?new $p(NaN,NaN,NaN,0):null}function Ep(e){return new $p(e>>16&255,e>>8&255,255&e,1)}function Fp(e,t,n,r){return r<=0&&(e=t=n=NaN),new $p(e,t,n,r)}function Lp(e){return e instanceof pp||(e=jp(e)),e?new $p((e=e.rgb()).r,e.g,e.b,e.opacity):new $p}function Pp(e,t,n,r){return 1===arguments.length?Lp(e):new $p(e,t,n,null==r?1:r)}function $p(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Np(){return`#${Rp(this.r)}${Rp(this.g)}${Rp(this.b)}`}function zp(){const e=Bp(this.opacity);return`${1===e?"rgb(":"rgba("}${Dp(this.r)}, ${Dp(this.g)}, ${Dp(this.b)}${1===e?")":`, ${e})`}`}function Bp(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Dp(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Rp(e){return((e=Dp(e))<16?"0":"")+e.toString(16)}function Up(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Hp(e,t,n,r)}function Ip(e){if(e instanceof Hp)return new Hp(e.h,e.s,e.l,e.opacity);if(e instanceof pp||(e=jp(e)),!e)return new Hp;if(e instanceof Hp)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=t===o?(n-r)/s+6*(n<r):n===o?(r-t)/s+2:(t-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new Hp(a,s,c,e.opacity)}function Hp(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function qp(e){return(e=(e||0)%360)<0?e+360:e}function Wp(e){return Math.max(0,Math.min(1,e||0))}function Vp(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}dp(pp,jp,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ap,formatHex:Ap,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ip(this).formatHsl()},formatRgb:Op,toString:Op}),dp($p,Pp,hp(pp,{brighter(e){return e=null==e?bp:Math.pow(bp,e),new $p(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?gp:Math.pow(gp,e),new $p(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new $p(Dp(this.r),Dp(this.g),Dp(this.b),Bp(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Np,formatHex:Np,formatHex8:function(){return`#${Rp(this.r)}${Rp(this.g)}${Rp(this.b)}${Rp(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:zp,toString:zp})),dp(Hp,(function(e,t,n,r){return 1===arguments.length?Ip(e):new Hp(e,t,n,null==r?1:r)}),hp(pp,{brighter(e){return e=null==e?bp:Math.pow(bp,e),new Hp(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?gp:Math.pow(gp,e),new Hp(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new $p(Vp(e>=240?e-240:e+120,i,r),Vp(e,i,r),Vp(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Hp(qp(this.h),Wp(this.s),Wp(this.l),Bp(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Bp(this.opacity);return`${1===e?"hsl(":"hsla("}${qp(this.h)}, ${100*Wp(this.s)}%, ${100*Wp(this.l)}%${1===e?")":`, ${e})`}`}}));const Yp=Math.PI/180,Zp=180/Math.PI;var Gp=-.14861,Xp=1.78277,Qp=-.29227,Jp=-.90649,Kp=1.97294,eg=Kp*Jp,tg=Kp*Xp,ng=Xp*Qp-Jp*Gp;function rg(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof ig)return new ig(e.h,e.s,e.l,e.opacity);e instanceof $p||(e=Lp(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(ng*r+eg*t-tg*n)/(ng+eg-tg),o=r-i,a=(Kp*(n-i)-Qp*o)/Jp,s=Math.sqrt(a*a+o*o)/(Kp*i*(1-i)),c=s?Math.atan2(a,o)*Zp-120:NaN;return new ig(c<0?c+360:c,s,i,e.opacity)}(e):new ig(e,t,n,null==r?1:r)}function ig(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}dp(ig,rg,hp(pp,{brighter(e){return e=null==e?bp:Math.pow(bp,e),new ig(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?gp:Math.pow(gp,e),new ig(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*Yp,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new $p(255*(t+n*(Gp*r+Xp*i)),255*(t+n*(Qp*r+Jp*i)),255*(t+n*(Kp*r)),this.opacity)}}));var og=e=>()=>e;function ag(e,t){return function(n){return e+n*t}}function sg(e){return 1==(e=+e)?cg:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):og(isNaN(t)?n:t)}}function cg(e,t){var n=t-e;return n?ag(e,n):og(isNaN(e)?t:e)}var lg=function e(t){var n=sg(t);function r(e,t){var r=n((e=Pp(e)).r,(t=Pp(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=cg(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);var ug,fg=(ug=function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],a=r>0?e[r-1]:2*i-o,s=r<t-1?e[r+2]:2*o-i;return function(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}((n-r/t)*t,a,i,o,s)}},function(e){var t,n,r=e.length,i=new Array(r),o=new Array(r),a=new Array(r);for(t=0;t<r;++t)n=Pp(e[t]),i[t]=n.r||0,o[t]=n.g||0,a[t]=n.b||0;return i=ug(i),o=ug(o),a=ug(a),n.opacity=1,function(e){return n.r=i(e),n.g=o(e),n.b=a(e),n+""}});function dg(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function hg(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=_g(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<i;++n)a[n]=o[n](e);return a}}function pg(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function gg(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function bg(e,t){var n,r={},i={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=_g(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var mg=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,yg=new RegExp(mg.source,"g");function vg(e,t){var n,r,i,o=mg.lastIndex=yg.lastIndex=0,a=-1,s=[],c=[];for(e+="",t+="";(n=mg.exec(e))&&(r=yg.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:gg(n,r)})),o=yg.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?function(e){return function(t){return e(t)+""}}(c[0].x):function(e){return function(){return e}}(t):(t=c.length,function(e){for(var n,r=0;r<t;++r)s[(n=c[r]).i]=n.x(e);return s.join("")})}function _g(e,t){var n,r=typeof t;return null==t||"boolean"===r?og(t):("number"===r?gg:"string"===r?(n=jp(t))?(t=n,lg):vg:t instanceof jp?lg:t instanceof Date?pg:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?dg:Array.isArray(t)?hg:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?bg:gg)(e,t)}function wg(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function xg(e){return function t(n){function r(t,r){var i=e((t=rg(t)).h,(r=rg(r)).h),o=cg(t.s,r.s),a=cg(t.l,r.l),s=cg(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}xg((function(e,t){var n=t-e;return n?ag(e,n>180||n<-180?n-360*Math.round(n/360):n):og(isNaN(e)?t:e)}));var Cg,kg,Mg=xg(cg);var Tg,Sg,Ag=ur(function(){if(kg)return Cg;kg=1;var e=Hu(),t=Zf(),n=Vf();return Cg=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}());var Og=(Sg||(Sg=1,Tg=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}),Tg),jg=ur(Og);function Eg(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Fg(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Lg(e){let t,n,r;function i(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=Eg,n=(t,n)=>Eg(e(t),n),r=(t,n)=>e(t)-n):(t=e===Eg||e===Fg?e:Pg,n=e,r=e),{left:i,center:function(e,t,n=0,o=e.length){const a=i(e,t,n,o-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<=0?i=t+1:o=t}while(i<o)}return i}}}function Pg(){return 0}Zf();const $g=Lg(Eg).right;Lg((function(e){return null===e?NaN:+e})).center;class Ng extends Map{constructor(e,t=Bg){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(zg(this,e))}has(e){return super.has(zg(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const r=t(n);e.has(r)&&(n=e.get(r),e.delete(r));return n}(this,e))}}function zg({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function Bg(e){return null!==e&&"object"==typeof e?e.valueOf():e}const Dg=Math.sqrt(50),Rg=Math.sqrt(10),Ug=Math.sqrt(2);function Ig(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=Dg?10:o>=Rg?5:o>=Ug?2:1;let s,c,l;return i<0?(l=Math.pow(10,-i)/a,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=Math.pow(10,i)*a,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?Ig(e,t,2*n):[s,c,l]}function Hg(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[i,o,a]=r?Ig(t,e,n):Ig(e,t,n);if(!(o>=i))return[];const s=o-i+1,c=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)c[e]=(o-e)/-a;else for(let e=0;e<s;++e)c[e]=(o-e)*a;else if(a<0)for(let e=0;e<s;++e)c[e]=(i+e)/-a;else for(let e=0;e<s;++e)c[e]=(i+e)*a;return c}function qg(e,t,n){return Ig(e=+e,t=+t,n=+n)[2]}function Wg(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?qg(t,e,n):qg(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function Vg(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}const Yg=Symbol("implicit");function Zg(){var e=new Ng,t=[],n=[],r=Yg;function i(i){let o=e.get(i);if(void 0===o){if(r!==Yg)return r;e.set(i,o=t.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Ng;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return Zg(t,n).unknown(r)},Vg.apply(i,arguments),i}function Gg(){var e,t,n=Zg().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,c=0,l=0,u=.5;function f(){var n=r().length,f=a<o,d=f?a:o,h=f?o:a;e=(h-d)/Math.max(1,n-c+2*l),s&&(e=Math.floor(e)),d+=(h-d-e*(n-c))*u,t=e*(1-c),s&&(d=Math.round(d),t=Math.round(t));var p=function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}(n).map((function(t){return d+e*t}));return i(f?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),f()):r()},n.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,f()):[o,a]},n.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,s=!0,f()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(s=!!e,f()):s},n.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),f()):c},n.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),f()):c},n.paddingOuter=function(e){return arguments.length?(l=+e,f()):l},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),f()):u},n.copy=function(){return Gg(r(),[o,a]).round(s).paddingInner(c).paddingOuter(l).align(u)},Vg.apply(f(),arguments)}function Xg(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Xg(t())},e}function Qg(){return Xg(Gg.apply(null,arguments).paddingInner(1))}function Jg(e){return+e}var Kg=[0,1];function eb(e){return e}function tb(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function nb(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=tb(i,r),o=n(a,o)):(r=tb(r,i),o=n(o,a)),function(e){return o(r(e))}}function rb(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)i[a]=tb(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=$g(e,t,1,r)-1;return o[n](i[n](t))}}function ib(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function ob(){var e,t,n,r,i,o,a=Kg,s=Kg,c=_g,l=eb;function u(){var e=Math.min(a.length,s.length);return l!==eb&&(l=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?rb:nb,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?n:(i||(i=r(a.map(e),s,c)))(e(l(t)))}return f.invert=function(n){return l(t((o||(o=r(s,a.map(e),gg)))(n)))},f.domain=function(e){return arguments.length?(a=Array.from(e,Jg),u()):a.slice()},f.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},f.rangeRound=function(e){return s=Array.from(e),c=wg,u()},f.clamp=function(e){return arguments.length?(l=!!e||eb,u()):l!==eb},f.interpolate=function(e){return arguments.length?(c=e,u()):c},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,u()}}function ab(){return ob()(eb,eb)}function sb(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function cb(e){return(e=sb(Math.abs(e)))?e[1]:NaN}var lb,ub=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fb(e){if(!(t=ub.exec(e)))throw new Error("invalid format: "+e);var t;return new db({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function db(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function hb(e,t){var n=sb(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}fb.prototype=db.prototype,db.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var pb={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>hb(100*e,t),r:hb,s:function(e,t){var n=sb(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(lb=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+sb(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function gb(e){return e}var bb,mb,yb,vb=Array.prototype.map,_b=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function wb(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?gb:(t=vb.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(e.substring(i-=s,i+s)),!((c+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?gb:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(vb.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=fb(e)).fill,n=e.align,f=e.sign,d=e.symbol,h=e.zero,p=e.width,g=e.comma,b=e.precision,m=e.trim,y=e.type;"n"===y?(g=!0,y="g"):pb[y]||(void 0===b&&(b=12),m=!0,y="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var v="$"===d?i:"#"===d&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",_="$"===d?o:/[%p]/.test(y)?c:"",w=pb[y],x=/[defgprs%]/.test(y);function C(e){var i,o,c,d=v,C=_;if("c"===y)C=w(e)+C,e="";else{var k=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),b),m&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),k&&0==+e&&"+"!==f&&(k=!1),d=(k?"("===f?f:l:"-"===f||"("===f?"":f)+d,C=("s"===y?_b[8+lb/3]:"")+C+(k&&"("===f?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(c=e.charCodeAt(i))||c>57){C=(46===c?a+e.slice(i+1):e.slice(i))+C,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var M=d.length+e.length+C.length,T=M<p?new Array(p-M+1).join(t):"";switch(g&&h&&(e=r(T+e,T.length?p-C.length:1/0),T=""),n){case"<":e=d+e+C+T;break;case"=":e=d+T+e+C;break;case"^":e=T.slice(0,M=T.length>>1)+d+e+C+T.slice(M);break;default:e=T+d+e+C}return s(e)}return b=void 0===b?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),C.toString=function(){return e+""},C}return{format:f,formatPrefix:function(e,t){var n=f(((e=fb(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(cb(t)/3))),i=Math.pow(10,-r),o=_b[8+r/3];return function(e){return n(i*e)+o}}}}function xb(e,t,n,r){var i,o=Wg(e,t,n);switch((r=fb(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(cb(t)/3)))-cb(Math.abs(e)))}(o,a))||(r.precision=i),yb(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,cb(t)-cb(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(e){return Math.max(0,-cb(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return mb(r)}function Cb(e){var t=e.domain;return e.ticks=function(e){var n=t();return Hg(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return xb(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),a=0,s=o.length-1,c=o[a],l=o[s],u=10;for(l<c&&(i=c,c=l,l=i,i=a,a=s,s=i);u-- >0;){if((i=qg(c,l,n))===r)return o[a]=c,o[s]=l,t(o);if(i>0)c=Math.floor(c/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,l=Math.floor(l*i)/i}r=i}return e},e}function kb(){var e=ab();return e.copy=function(){return ib(e,kb())},Vg.apply(e,arguments),Cb(e)}function Mb(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],a=e[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),e[r]=t.floor(o),e[i]=t.ceil(a),e}function Tb(e){return Math.log(e)}function Sb(e){return Math.exp(e)}function Ab(e){return-Math.log(-e)}function Ob(e){return-Math.exp(-e)}function jb(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Eb(e){return(t,n)=>-e(-t,n)}function Fb(e){const t=e(Tb,Sb),n=t.domain;let r,i,o=10;function a(){return r=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(o),i=function(e){return 10===e?jb:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=Eb(r),i=Eb(i),e(Ab,Ob)):e(Tb,Sb),t}return t.base=function(e){return arguments.length?(o=+e,a()):o},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=e=>{const t=n();let a=t[0],s=t[t.length-1];const c=s<a;c&&([a,s]=[s,a]);let l,u,f=r(a),d=r(s);const h=null==e?10:+e;let p=[];if(!(o%1)&&d-f<h){if(f=Math.floor(f),d=Math.ceil(d),a>0){for(;f<=d;++f)for(l=1;l<o;++l)if(u=f<0?l/i(-f):l*i(f),!(u<a)){if(u>s)break;p.push(u)}}else for(;f<=d;++f)for(l=o-1;l>=1;--l)if(u=f>0?l/i(-f):l*i(f),!(u<a)){if(u>s)break;p.push(u)}2*p.length<h&&(p=Hg(a,s,h))}else p=Hg(f,d,Math.min(d-f,h)).map(i);return c?p.reverse():p},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===o?"s":","),"function"!=typeof n&&(o%1||null!=(n=fb(n)).precision||(n.trim=!0),n=mb(n)),e===1/0)return n;const a=Math.max(1,o*e/t.ticks().length);return e=>{let t=e/i(Math.round(r(e)));return t*o<o-.5&&(t*=o),t<=a?n(e):""}},t.nice=()=>n(Mb(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}function Lb(){const e=Fb(ob()).domain([1,10]);return e.copy=()=>ib(e,Lb()).base(e.base()),Vg.apply(e,arguments),e}function Pb(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function $b(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function Nb(){var e=function(e){var t=1,n=e(Pb(t),$b(t));return n.constant=function(n){return arguments.length?e(Pb(t=+n),$b(t)):t},Cb(n)}(ob());return e.copy=function(){return ib(e,Nb()).constant(e.constant())},Vg.apply(e,arguments)}bb=wb({thousands:",",grouping:[3],currency:["$",""]}),mb=bb.format,yb=bb.formatPrefix;const zb=new Date,Bb=new Date;function Db(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{const t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),i.range=(n,r,o)=>{const a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;let s;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=n=>Db((t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),((e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})),n&&(i.count=(t,r)=>(zb.setTime(+t),Bb.setTime(+r),e(zb),e(Bb),Math.floor(n(zb,Bb))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?t=>r(t)%e==0:t=>i.count(0,t)%e==0):i:null)),i}const Rb=Db((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));Rb.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?Db((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):Rb:null),Rb.range;const Ub=1e3,Ib=6e4,Hb=36e5,qb=864e5,Wb=6048e5,Vb=2592e6,Yb=31536e6,Zb=Db((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*Ub)}),((e,t)=>(t-e)/Ub),(e=>e.getUTCSeconds()));Zb.range;const Gb=Db((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ub)}),((e,t)=>{e.setTime(+e+t*Ib)}),((e,t)=>(t-e)/Ib),(e=>e.getMinutes()));Gb.range;const Xb=Db((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*Ib)}),((e,t)=>(t-e)/Ib),(e=>e.getUTCMinutes()));Xb.range;const Qb=Db((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ub-e.getMinutes()*Ib)}),((e,t)=>{e.setTime(+e+t*Hb)}),((e,t)=>(t-e)/Hb),(e=>e.getHours()));Qb.range;const Jb=Db((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*Hb)}),((e,t)=>(t-e)/Hb),(e=>e.getUTCHours()));Jb.range;const Kb=Db((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Ib)/qb),(e=>e.getDate()-1));Kb.range;const em=Db((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/qb),(e=>e.getUTCDate()-1));em.range;const tm=Db((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/qb),(e=>Math.floor(e/qb)));function nm(e){return Db((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Ib)/Wb))}tm.range;const rm=nm(0),im=nm(1),om=nm(2),am=nm(3),sm=nm(4),cm=nm(5),lm=nm(6);function um(e){return Db((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/Wb))}rm.range,im.range,om.range,am.range,sm.range,cm.range,lm.range;const fm=um(0),dm=um(1),hm=um(2),pm=um(3),gm=um(4),bm=um(5),mm=um(6);fm.range,dm.range,hm.range,pm.range,gm.range,bm.range,mm.range;const ym=Db((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()));ym.range;const vm=Db((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()));vm.range;const _m=Db((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()));_m.every=e=>isFinite(e=Math.floor(e))&&e>0?Db((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null,_m.range;const wm=Db((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function xm(e,t,n,r,i,o){const a=[[Zb,1,Ub],[Zb,5,5e3],[Zb,15,15e3],[Zb,30,3e4],[o,1,Ib],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Hb],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,qb],[r,2,1728e5],[n,1,Wb],[t,1,Vb],[t,3,7776e6],[e,1,Yb]];function s(t,n,r){const i=Math.abs(n-t)/r,o=Lg((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(Wg(t/Yb,n/Yb,r));if(0===o)return Rb.every(Math.max(Wg(t,n,r),1));const[s,c]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(c)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:s(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},s]}wm.every=e=>isFinite(e=Math.floor(e))&&e>0?Db((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null,wm.range;const[Cm,km]=xm(wm,vm,fm,tm,Jb,Xb),[Mm,Tm]=xm(_m,ym,rm,Kb,Qb,Gb);function Sm(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Am(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Om(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var jm,Em,Fm,Lm={"-":"",_:" ",0:"0"},Pm=/^\s*\d+/,$m=/^%/,Nm=/[\\^$*+?|[\]().{}]/g;function zm(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function Bm(e){return e.replace(Nm,"\\$&")}function Dm(e){return new RegExp("^(?:"+e.map(Bm).join("|")+")","i")}function Rm(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Um(e,t,n){var r=Pm.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Im(e,t,n){var r=Pm.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Hm(e,t,n){var r=Pm.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function qm(e,t,n){var r=Pm.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Wm(e,t,n){var r=Pm.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Vm(e,t,n){var r=Pm.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Ym(e,t,n){var r=Pm.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Zm(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Gm(e,t,n){var r=Pm.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Xm(e,t,n){var r=Pm.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Qm(e,t,n){var r=Pm.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Jm(e,t,n){var r=Pm.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Km(e,t,n){var r=Pm.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function ey(e,t,n){var r=Pm.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function ty(e,t,n){var r=Pm.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function ny(e,t,n){var r=Pm.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function ry(e,t,n){var r=Pm.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function iy(e,t,n){var r=$m.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function oy(e,t,n){var r=Pm.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function ay(e,t,n){var r=Pm.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function sy(e,t){return zm(e.getDate(),t,2)}function cy(e,t){return zm(e.getHours(),t,2)}function ly(e,t){return zm(e.getHours()%12||12,t,2)}function uy(e,t){return zm(1+Kb.count(_m(e),e),t,3)}function fy(e,t){return zm(e.getMilliseconds(),t,3)}function dy(e,t){return fy(e,t)+"000"}function hy(e,t){return zm(e.getMonth()+1,t,2)}function py(e,t){return zm(e.getMinutes(),t,2)}function gy(e,t){return zm(e.getSeconds(),t,2)}function by(e){var t=e.getDay();return 0===t?7:t}function my(e,t){return zm(rm.count(_m(e)-1,e),t,2)}function yy(e){var t=e.getDay();return t>=4||0===t?sm(e):sm.ceil(e)}function vy(e,t){return e=yy(e),zm(sm.count(_m(e),e)+(4===_m(e).getDay()),t,2)}function _y(e){return e.getDay()}function wy(e,t){return zm(im.count(_m(e)-1,e),t,2)}function xy(e,t){return zm(e.getFullYear()%100,t,2)}function Cy(e,t){return zm((e=yy(e)).getFullYear()%100,t,2)}function ky(e,t){return zm(e.getFullYear()%1e4,t,4)}function My(e,t){var n=e.getDay();return zm((e=n>=4||0===n?sm(e):sm.ceil(e)).getFullYear()%1e4,t,4)}function Ty(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+zm(t/60|0,"0",2)+zm(t%60,"0",2)}function Sy(e,t){return zm(e.getUTCDate(),t,2)}function Ay(e,t){return zm(e.getUTCHours(),t,2)}function Oy(e,t){return zm(e.getUTCHours()%12||12,t,2)}function jy(e,t){return zm(1+em.count(wm(e),e),t,3)}function Ey(e,t){return zm(e.getUTCMilliseconds(),t,3)}function Fy(e,t){return Ey(e,t)+"000"}function Ly(e,t){return zm(e.getUTCMonth()+1,t,2)}function Py(e,t){return zm(e.getUTCMinutes(),t,2)}function $y(e,t){return zm(e.getUTCSeconds(),t,2)}function Ny(e){var t=e.getUTCDay();return 0===t?7:t}function zy(e,t){return zm(fm.count(wm(e)-1,e),t,2)}function By(e){var t=e.getUTCDay();return t>=4||0===t?gm(e):gm.ceil(e)}function Dy(e,t){return e=By(e),zm(gm.count(wm(e),e)+(4===wm(e).getUTCDay()),t,2)}function Ry(e){return e.getUTCDay()}function Uy(e,t){return zm(dm.count(wm(e)-1,e),t,2)}function Iy(e,t){return zm(e.getUTCFullYear()%100,t,2)}function Hy(e,t){return zm((e=By(e)).getUTCFullYear()%100,t,2)}function qy(e,t){return zm(e.getUTCFullYear()%1e4,t,4)}function Wy(e,t){var n=e.getUTCDay();return zm((e=n>=4||0===n?gm(e):gm.ceil(e)).getUTCFullYear()%1e4,t,4)}function Vy(){return"+0000"}function Yy(){return"%"}function Zy(e){return+e}function Gy(e){return Math.floor(+e/1e3)}function Xy(e){return new Date(e)}function Qy(e){return e instanceof Date?+e:+new Date(+e)}function Jy(e,t,n,r,i,o,a,s,c,l){var u=ab(),f=u.invert,d=u.domain,h=l(".%L"),p=l(":%S"),g=l("%I:%M"),b=l("%I %p"),m=l("%a %d"),y=l("%b %d"),v=l("%B"),_=l("%Y");function w(e){return(c(e)<e?h:s(e)<e?p:a(e)<e?g:o(e)<e?b:r(e)<e?i(e)<e?m:y:n(e)<e?v:_)(e)}return u.invert=function(e){return new Date(f(e))},u.domain=function(e){return arguments.length?d(Array.from(e,Qy)):d().map(Xy)},u.ticks=function(t){var n=d();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:l(t)},u.nice=function(e){var n=d();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?d(Mb(n,e)):u},u.copy=function(){return ib(u,Jy(e,t,n,r,i,o,a,s,c,l))},u}function Ky(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}!function(e){jm=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,c=e.shortMonths,l=Dm(i),u=Rm(i),f=Dm(o),d=Rm(o),h=Dm(a),p=Rm(a),g=Dm(s),b=Rm(s),m=Dm(c),y=Rm(c),v={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:sy,e:sy,f:dy,g:Cy,G:My,H:cy,I:ly,j:uy,L:fy,m:hy,M:py,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Zy,s:Gy,S:gy,u:by,U:my,V:vy,w:_y,W:wy,x:null,X:null,y:xy,Y:ky,Z:Ty,"%":Yy},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Sy,e:Sy,f:Fy,g:Hy,G:Wy,H:Ay,I:Oy,j:jy,L:Ey,m:Ly,M:Py,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Zy,s:Gy,S:$y,u:Ny,U:zy,V:Dy,w:Ry,W:Uy,x:null,X:null,y:Iy,Y:qy,Z:Vy,"%":Yy},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:Qm,e:Qm,f:ry,g:Ym,G:Vm,H:Km,I:Km,j:Jm,L:ny,m:Xm,M:ey,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:Gm,Q:oy,s:ay,S:ty,u:Im,U:Hm,V:qm,w:Um,W:Wm,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:Ym,Y:Vm,Z:Zm,"%":iy};function x(e,t){return function(n){var r,i,o,a=[],s=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===e.charCodeAt(s)&&(a.push(e.slice(c,s)),null!=(i=Lm[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(e.slice(c,s)),a.join("")}}function C(e,t){return function(n){var r,i,o=Om(1900,void 0,1);if(k(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Am(Om(o.y,0,1))).getUTCDay(),r=i>4||0===i?dm.ceil(r):dm(r),r=em.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Sm(Om(o.y,0,1))).getDay(),r=i>4||0===i?im.ceil(r):im(r),r=Kb.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Am(Om(o.y,0,1)).getUTCDay():Sm(Om(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Am(o)):Sm(o)}}function k(e,t,n,r){for(var i,o,a=0,s=t.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in Lm?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return v.x=x(n,v),v.X=x(r,v),v.c=x(t,v),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",v);return t.toString=function(){return e},t},parse:function(e){var t=C(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+="",!0);return t.toString=function(){return e},t}}}(e),Em=jm.format,jm.parse,Fm=jm.utcFormat,jm.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],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"]});var ev=Ky("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),tv=Ky("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),nv=Ky("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),rv=Ky("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),iv=Ky("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),ov=Ky("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),av=Ky("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),sv=Ky("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),cv=Ky("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),lv=Ky("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),uv=e=>fg(e[e.length-1]),fv=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Ky),dv=uv(fv),hv=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Ky),pv=uv(hv),gv=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Ky),bv=uv(gv),mv=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Ky),yv=uv(mv),vv=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Ky),_v=uv(vv),wv=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Ky),xv=uv(wv),Cv=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Ky),kv=uv(Cv),Mv=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Ky),Tv=uv(Mv),Sv=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Ky),Av=uv(Sv),Ov=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Ky),jv=uv(Ov),Ev=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Ky),Fv=uv(Ev),Lv=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Ky),Pv=uv(Lv),$v=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Ky),Nv=uv($v),zv=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Ky),Bv=uv(zv),Dv=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Ky),Rv=uv(Dv),Uv=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Ky),Iv=uv(Uv),Hv=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Ky),qv=uv(Hv),Wv=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Ky),Vv=uv(Wv),Yv=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Ky),Zv=uv(Yv),Gv=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Ky),Xv=uv(Gv),Qv=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Ky),Jv=uv(Qv),Kv=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Ky),e_=uv(Kv),t_=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Ky),n_=uv(t_),r_=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Ky),i_=uv(r_),o_=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Ky),a_=uv(o_),s_=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Ky),c_=uv(s_),l_=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Ky),u_=uv(l_);var f_=Mg(rg(300,.5,0),rg(-240,.5,1)),d_=Mg(rg(-100,.75,.35),rg(80,1.5,.8)),h_=Mg(rg(260,.75,.35),rg(80,1.5,.8)),p_=rg();var g_=Pp(),b_=Math.PI/3,m_=2*Math.PI/3;function y_(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var v_,__,w_,x_,C_,k_,M_,T_,S_,A_,O_,j_,E_,F_,L_,P_,$_,N_,z_,B_,D_,R_,U_,I_,H_=y_(Ky("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),q_=y_(Ky("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),W_=y_(Ky("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),V_=y_(Ky("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),Y_=ur(Wu());function Z_(){if(k_)return C_;k_=1;var e=Ku(),t=__?v_:(__=1,v_=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=x_?w_:(x_=1,w_=function(e){return this.__data__.has(e)});function r(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e;++n<r;)this.add(t[n])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,C_=r}function G_(){if(F_)return E_;F_=1;var e=(T_||(T_=1,M_=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}),M_),t=A_?S_:(A_=1,S_=function(e){return e!=e}),n=(j_||(j_=1,O_=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}),O_);return E_=function(r,i,o){return i==i?n(r,i,o):e(r,t,o)},E_}function X_(){if(P_)return L_;P_=1;var e=G_();return L_=function(t,n){return!!(null==t?0:t.length)&&e(t,n,0)>-1},L_}function Q_(){if(N_)return $_;return N_=1,$_=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1},$_}function J_(){if(B_)return z_;return B_=1,z_=function(e,t){return e.has(t)}}var K_=function(){if(I_)return U_;I_=1;var e=function(){if(R_)return D_;R_=1;var e=Z_(),t=X_(),n=Q_(),r=Jh(),i=ud(),o=J_();return D_=function(a,s,c,l){var u=-1,f=t,d=!0,h=a.length,p=[],g=s.length;if(!h)return p;c&&(s=r(s,i(c))),l?(f=n,d=!1):s.length>=200&&(f=o,d=!1,s=new e(s));e:for(;++u<h;){var b=a[u],m=null==c?b:c(b);if(b=l||0!==b?b:0,d&&m==m){for(var y=g;y--;)if(s[y]===m)continue e;p.push(b)}else f(s,m,l)||p.push(b)}return p},D_}(),t=wh(),n=Qf(),r=t((function(t,r){return n(t)?e(t,r):[]}));return U_=r}(),ew=ur(K_);function tw(e){return function(){return e}}const nw=Math.PI,rw=2*nw,iw=1e-6,ow=rw-iw;function aw(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let sw=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?aw:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return aw;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,o){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,s=n-e,c=r-t,l=o-e,u=a-t,f=l*l+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(f>iw)if(Math.abs(u*s-c*l)>iw&&i){let d=n-o,h=r-a,p=s*s+c*c,g=d*d+h*h,b=Math.sqrt(p),m=Math.sqrt(f),y=i*Math.tan((nw-Math.acos((p+f-g)/(2*b*m)))/2),v=y/m,_=y/b;Math.abs(v-1)>iw&&this._append`L${e+v*l},${t+v*u}`,this._append`A${i},${i},0,0,${+(u*d>l*h)},${this._x1=e+_*s},${this._y1=t+_*c}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}arc(e,t,n,r,i,o){if(e=+e,t=+t,o=!!o,(n=+n)<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),c=e+a,l=t+s,u=1^o,f=o?r-i:i-r;null===this._x1?this._append`M${c},${l}`:(Math.abs(this._x1-c)>iw||Math.abs(this._y1-l)>iw)&&this._append`L${c},${l}`,n&&(f<0&&(f=f%rw+rw),f>ow?this._append`A${n},${n},0,1,${u},${e-a},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:f>iw&&this._append`A${n},${n},0,${+(f>=nw)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function cw(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new sw(t)}function lw(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function uw(e){this._context=e}function fw(e){return new uw(e)}function dw(e){return e[0]}function hw(e){return e[1]}function pw(e,t){var n=tw(!0),r=null,i=fw,o=null,a=cw(s);function s(s){var c,l,u,f=(s=lw(s)).length,d=!1;for(null==r&&(o=i(u=a())),c=0;c<=f;++c)!(c<f&&n(l=s[c],c,s))===d&&((d=!d)?o.lineStart():o.lineEnd()),d&&o.point(+e(l,c,s),+t(l,c,s));if(u)return o=null,u+""||null}return e="function"==typeof e?e:void 0===e?dw:tw(e),t="function"==typeof t?t:void 0===t?hw:tw(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:tw(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:tw(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:tw(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),s):i},s.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),s):r},s}function gw(){}function bw(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function mw(e){this._context=e}function yw(e){this._context=e}function vw(e){this._context=e}function _w(e,t){this._basis=new mw(e),this._beta=t}uw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},mw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:bw(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:bw(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},yw.prototype={areaStart:gw,areaEnd:gw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:bw(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},vw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:bw(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},_w.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],o=t[0],a=e[n]-i,s=t[n]-o,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*e[c]+(1-this._beta)*(i+r*a),this._beta*t[c]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var ww=function e(t){function n(e){return 1===t?new mw(e):new _w(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function xw(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Cw(e,t){this._context=e,this._k=(1-t)/6}Cw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:xw(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:xw(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var kw=function e(t){function n(e){return new Cw(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Mw(e,t){this._context=e,this._k=(1-t)/6}Mw.prototype={areaStart:gw,areaEnd:gw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:xw(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Tw=function e(t){function n(e){return new Mw(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Sw(e,t){this._context=e,this._k=(1-t)/6}Sw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:xw(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Aw=function e(t){function n(e){return new Sw(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Ow(e,t,n){var r=e._x1,i=e._y1,o=e._x2,a=e._y2;if(e._l01_a>1e-12){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>1e-12){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);o=(o*l+e._x1*e._l23_2a-t*e._l12_2a)/u,a=(a*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,o,a,e._x2,e._y2)}function jw(e,t){this._context=e,this._alpha=t}jw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Ow(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ew=function e(t){function n(e){return t?new jw(e,t):new Cw(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Fw(e,t){this._context=e,this._alpha=t}Fw.prototype={areaStart:gw,areaEnd:gw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Ow(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Lw=function e(t){function n(e){return t?new Fw(e,t):new Mw(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Pw(e,t){this._context=e,this._alpha=t}Pw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ow(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var $w=function e(t){function n(e){return t?new Pw(e,t):new Sw(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Nw(e){this._context=e}function zw(e){return e<0?-1:1}function Bw(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(zw(o)+zw(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Dw(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Rw(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function Uw(e){this._context=e}function Iw(e){this._context=new Hw(e)}function Hw(e){this._context=e}function qw(e){this._context=e}function Ww(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,a[t]-=n*a[t-1];for(i[r-1]=a[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function Vw(e,t){this._context=e,this._t=t}function Yw(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}Nw.prototype={areaStart:gw,areaEnd:gw,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},Uw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Rw(this,this._t0,Dw(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Rw(this,Dw(this,n=Bw(this,e,t)),n);break;default:Rw(this,this._t0,n=Bw(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Iw.prototype=Object.create(Uw.prototype)).point=function(e,t){Uw.prototype.point.call(this,t,e)},Hw.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}},qw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Ww(e),i=Ww(t),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},Vw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var Zw,Gw=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Xw(e){if(!(t=Gw.exec(e)))throw new Error("invalid format: "+e);var t;return new Qw({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Qw(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Jw(e,t){var n=Yw(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Xw.prototype=Qw.prototype,Qw.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Kw={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Jw(100*e,t)},r:Jw,s:function(e,t){var n=Yw(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(Zw=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Yw(e,Math.max(0,t+o-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function ex(e){return e}var tx,nx,rx=Array.prototype.map,ix=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ox(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?ex:(t=rx.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(e.substring(i-=s,i+s)),!((c+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?ex:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(rx.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"-":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=Xw(e)).fill,n=e.align,f=e.sign,d=e.symbol,h=e.zero,p=e.width,g=e.comma,b=e.precision,m=e.trim,y=e.type;"n"===y?(g=!0,y="g"):Kw[y]||(void 0===b&&(b=12),m=!0,y="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var v="$"===d?i:"#"===d&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",_="$"===d?o:/[%p]/.test(y)?c:"",w=Kw[y],x=/[defgprs%]/.test(y);function C(e){var i,o,c,d=v,C=_;if("c"===y)C=w(e)+C,e="";else{var k=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),b),m&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),k&&0==+e&&"+"!==f&&(k=!1),d=(k?"("===f?f:l:"-"===f||"("===f?"":f)+d,C=("s"===y?ix[8+Zw/3]:"")+C+(k&&"("===f?")":""),x)for(i=-1,o=e.length;++i<o;)if(48>(c=e.charCodeAt(i))||c>57){C=(46===c?a+e.slice(i+1):e.slice(i))+C,e=e.slice(0,i);break}}g&&!h&&(e=r(e,1/0));var M=d.length+e.length+C.length,T=M<p?new Array(p-M+1).join(t):"";switch(g&&h&&(e=r(T+e,T.length?p-C.length:1/0),T=""),n){case"<":e=d+e+C+T;break;case"=":e=d+T+e+C;break;case"^":e=T.slice(0,M=T.length>>1)+d+e+C+T.slice(M);break;default:e=T+d+e+C}return s(e)}return b=void 0===b?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),C.toString=function(){return e+""},C}return{format:f,formatPrefix:function(e,t){var n=f(((e=Xw(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=Yw(Math.abs(e)))?e[1]:NaN}(t)/3))),i=Math.pow(10,-r),o=ix[8+r/3];return function(e){return n(i*e)+o}}}}!function(e){tx=ox(e),nx=tx.format,tx.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var ax=new Date,sx=new Date;function cx(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var a,s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;do{s.push(a=new Date(+n)),t(n,o),e(n)}while(a<n&&n<r);return s},i.filter=function(n){return cx((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return ax.setTime(+t),sx.setTime(+r),e(ax),e(sx),Math.floor(n(ax,sx))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}const lx=6e4,ux=864e5,fx=6048e5;var dx=cx((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*lx)/ux),(e=>e.getDate()-1));function hx(e){return cx((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*lx)/fx}))}dx.range;var px=hx(0),gx=hx(1),bx=hx(2),mx=hx(3),yx=hx(4),vx=hx(5),_x=hx(6);px.range,gx.range,bx.range,mx.range,yx.range,vx.range,_x.range;var wx=cx((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));wx.every=function(e){return isFinite(e=Math.floor(e))&&e>0?cx((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null},wx.range;var xx=cx((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/ux}),(function(e){return e.getUTCDate()-1}));function Cx(e){return cx((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/fx}))}xx.range;var kx=Cx(0),Mx=Cx(1),Tx=Cx(2),Sx=Cx(3),Ax=Cx(4),Ox=Cx(5),jx=Cx(6);kx.range,Mx.range,Tx.range,Sx.range,Ax.range,Ox.range,jx.range;var Ex=cx((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));function Fx(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Lx(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Px(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}Ex.every=function(e){return isFinite(e=Math.floor(e))&&e>0?cx((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null},Ex.range;var $x,Nx,zx,Bx,Dx={"-":"",_:" ",0:"0"},Rx=/^\s*\d+/,Ux=/^%/,Ix=/[\\^$*+?|[\]().{}]/g;function Hx(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function qx(e){return e.replace(Ix,"\\$&")}function Wx(e){return new RegExp("^(?:"+e.map(qx).join("|")+")","i")}function Vx(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Yx(e,t,n){var r=Rx.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Zx(e,t,n){var r=Rx.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Gx(e,t,n){var r=Rx.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Xx(e,t,n){var r=Rx.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Qx(e,t,n){var r=Rx.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Jx(e,t,n){var r=Rx.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Kx(e,t,n){var r=Rx.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function eC(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function tC(e,t,n){var r=Rx.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function nC(e,t,n){var r=Rx.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function rC(e,t,n){var r=Rx.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function iC(e,t,n){var r=Rx.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function oC(e,t,n){var r=Rx.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function aC(e,t,n){var r=Rx.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function sC(e,t,n){var r=Rx.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function cC(e,t,n){var r=Rx.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function lC(e,t,n){var r=Rx.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function uC(e,t,n){var r=Ux.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function fC(e,t,n){var r=Rx.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function dC(e,t,n){var r=Rx.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function hC(e,t){return Hx(e.getDate(),t,2)}function pC(e,t){return Hx(e.getHours(),t,2)}function gC(e,t){return Hx(e.getHours()%12||12,t,2)}function bC(e,t){return Hx(1+dx.count(wx(e),e),t,3)}function mC(e,t){return Hx(e.getMilliseconds(),t,3)}function yC(e,t){return mC(e,t)+"000"}function vC(e,t){return Hx(e.getMonth()+1,t,2)}function _C(e,t){return Hx(e.getMinutes(),t,2)}function wC(e,t){return Hx(e.getSeconds(),t,2)}function xC(e){var t=e.getDay();return 0===t?7:t}function CC(e,t){return Hx(px.count(wx(e)-1,e),t,2)}function kC(e){var t=e.getDay();return t>=4||0===t?yx(e):yx.ceil(e)}function MC(e,t){return e=kC(e),Hx(yx.count(wx(e),e)+(4===wx(e).getDay()),t,2)}function TC(e){return e.getDay()}function SC(e,t){return Hx(gx.count(wx(e)-1,e),t,2)}function AC(e,t){return Hx(e.getFullYear()%100,t,2)}function OC(e,t){return Hx((e=kC(e)).getFullYear()%100,t,2)}function jC(e,t){return Hx(e.getFullYear()%1e4,t,4)}function EC(e,t){var n=e.getDay();return Hx((e=n>=4||0===n?yx(e):yx.ceil(e)).getFullYear()%1e4,t,4)}function FC(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Hx(t/60|0,"0",2)+Hx(t%60,"0",2)}function LC(e,t){return Hx(e.getUTCDate(),t,2)}function PC(e,t){return Hx(e.getUTCHours(),t,2)}function $C(e,t){return Hx(e.getUTCHours()%12||12,t,2)}function NC(e,t){return Hx(1+xx.count(Ex(e),e),t,3)}function zC(e,t){return Hx(e.getUTCMilliseconds(),t,3)}function BC(e,t){return zC(e,t)+"000"}function DC(e,t){return Hx(e.getUTCMonth()+1,t,2)}function RC(e,t){return Hx(e.getUTCMinutes(),t,2)}function UC(e,t){return Hx(e.getUTCSeconds(),t,2)}function IC(e){var t=e.getUTCDay();return 0===t?7:t}function HC(e,t){return Hx(kx.count(Ex(e)-1,e),t,2)}function qC(e){var t=e.getUTCDay();return t>=4||0===t?Ax(e):Ax.ceil(e)}function WC(e,t){return e=qC(e),Hx(Ax.count(Ex(e),e)+(4===Ex(e).getUTCDay()),t,2)}function VC(e){return e.getUTCDay()}function YC(e,t){return Hx(Mx.count(Ex(e)-1,e),t,2)}function ZC(e,t){return Hx(e.getUTCFullYear()%100,t,2)}function GC(e,t){return Hx((e=qC(e)).getUTCFullYear()%100,t,2)}function XC(e,t){return Hx(e.getUTCFullYear()%1e4,t,4)}function QC(e,t){var n=e.getUTCDay();return Hx((e=n>=4||0===n?Ax(e):Ax.ceil(e)).getUTCFullYear()%1e4,t,4)}function JC(){return"+0000"}function KC(){return"%"}function ek(e){return+e}function tk(e){return Math.floor(+e/1e3)}!function(e){$x=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,c=e.shortMonths,l=Wx(i),u=Vx(i),f=Wx(o),d=Vx(o),h=Wx(a),p=Vx(a),g=Wx(s),b=Vx(s),m=Wx(c),y=Vx(c),v={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:hC,e:hC,f:yC,g:OC,G:EC,H:pC,I:gC,j:bC,L:mC,m:vC,M:_C,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:ek,s:tk,S:wC,u:xC,U:CC,V:MC,w:TC,W:SC,x:null,X:null,y:AC,Y:jC,Z:FC,"%":KC},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:LC,e:LC,f:BC,g:GC,G:QC,H:PC,I:$C,j:NC,L:zC,m:DC,M:RC,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:ek,s:tk,S:UC,u:IC,U:HC,V:WC,w:VC,W:YC,x:null,X:null,y:ZC,Y:XC,Z:JC,"%":KC},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=d.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:rC,e:rC,f:lC,g:Kx,G:Jx,H:oC,I:oC,j:iC,L:cC,m:nC,M:aC,p:function(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:tC,Q:fC,s:dC,S:sC,u:Zx,U:Gx,V:Xx,w:Yx,W:Qx,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:Kx,Y:Jx,Z:eC,"%":uC};function x(e,t){return function(n){var r,i,o,a=[],s=-1,c=0,l=e.length;for(n instanceof Date||(n=new Date(+n));++s<l;)37===e.charCodeAt(s)&&(a.push(e.slice(c,s)),null!=(i=Dx[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(e.slice(c,s)),a.join("")}}function C(e,t){return function(n){var r,i,o=Px(1900,void 0,1);if(k(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Lx(Px(o.y,0,1))).getUTCDay(),r=i>4||0===i?Mx.ceil(r):Mx(r),r=xx.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Fx(Px(o.y,0,1))).getDay(),r=i>4||0===i?gx.ceil(r):gx(r),r=dx.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Lx(Px(o.y,0,1)).getUTCDay():Fx(Px(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Lx(o)):Fx(o)}}function k(e,t,n,r){for(var i,o,a=0,s=t.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in Dx?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return v.x=x(n,v),v.X=x(r,v),v.c=x(t,v),_.x=x(n,_),_.X=x(r,_),_.c=x(t,_),{format:function(e){var t=x(e+="",v);return t.toString=function(){return e},t},parse:function(e){var t=C(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+="",!0);return t.toString=function(){return e},t}}}(e),Nx=$x.format,zx=$x.parse,$x.utcFormat,Bx=$x.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],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"]});var nk,rk,ik,ok,ak,sk,ck,lk,uk,fk,dk,hk,pk,gk,bk,mk,yk,vk,_k,wk,xk,Ck,kk=ur(ld());function Mk(){if(lk)return ck;lk=1;var e=(ok||(ok=1,ik=function(e,t){return null!=e&&t in Object(e)}),ik),t=function(){if(sk)return ak;sk=1;var e=ep(),t=Yf(),n=Zf(),r=fh(),i=Gf(),o=tp();return ak=function(a,s,c){for(var l=-1,u=(s=e(s,a)).length,f=!1;++l<u;){var d=o(s[l]);if(!(f=null!=a&&c(a,d)))break;a=a[d]}return f||++l!=u?f:!!(u=null==a?0:a.length)&&i(u)&&r(d,u)&&(n(a)||t(a))},ak}();return ck=function(n,r){return null!=n&&t(n,r,e)},ck}function Tk(){if(fk)return uk;fk=1;var e=function(){if(rk)return nk;rk=1;var e=np(),t=lp(),n=ep();return nk=function(r,i,o){for(var a=-1,s=i.length,c={};++a<s;){var l=i[a],u=e(r,l);o(u,l)&&t(c,n(l,r),u)}return c},nk}(),t=Mk();return uk=function(n,r){return e(n,r,(function(e,r){return t(n,r)}))},uk}function Sk(){if(hk)return dk;return hk=1,dk=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},dk}function Ak(){if(mk)return bk;mk=1;var e=Sk(),t=function(){if(gk)return pk;gk=1;var e=Iu(),t=Yf(),n=Zf(),r=e?e.isConcatSpreadable:void 0;return pk=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return bk=function n(r,i,o,a,s){var c=-1,l=r.length;for(o||(o=t),s||(s=[]);++c<l;){var u=r[c];i>0&&o(u)?i>1?n(u,i-1,o,a,s):e(s,u):a||(s[s.length]=u)}return s},bk}function Ok(){if(wk)return _k;wk=1;var e=function(){if(vk)return yk;vk=1;var e=Ak();return yk=function(t){return null!=t&&t.length?e(t,1):[]},yk}(),t=yh(),n=_h();return _k=function(r){return n(t(r,void 0,e),r+"")}}var jk,Ek,Fk,Lk,Pk,$k,Nk,zk,Bk,Dk,Rk,Uk,Ik,Hk,qk,Wk,Vk,Yk,Zk,Gk,Xk,Qk,Jk,Kk,eM,tM,nM,rM,iM,oM,aM,sM,cM,lM,uM,fM,dM,hM,pM,gM,bM,mM,yM,vM,_M=function(){if(Ck)return xk;Ck=1;var e=Tk(),t=Ok()((function(t,n){return null==t?{}:e(t,n)}));return xk=t}(),wM=ur(_M);function xM(){if(Lk)return Fk;Lk=1;var e=Z_(),t=(Ek||(Ek=1,jk=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}),jk),n=J_();return Fk=function(r,i,o,a,s,c){var l=1&o,u=r.length,f=i.length;if(u!=f&&!(l&&f>u))return!1;var d=c.get(r),h=c.get(i);if(d&&h)return d==i&&h==r;var p=-1,g=!0,b=2&o?new e:void 0;for(c.set(r,i),c.set(i,r);++p<u;){var m=r[p],y=i[p];if(a)var v=l?a(y,m,p,i,r,c):a(m,y,p,r,i,c);if(void 0!==v){if(v)continue;g=!1;break}if(b){if(!t(i,(function(e,t){if(!n(b,t)&&(m===e||s(m,e,o,a,c)))return b.push(t)}))){g=!1;break}}else if(m!==y&&!s(m,y,o,a,c)){g=!1;break}}return c.delete(r),c.delete(i),g},Fk}function CM(){if(zk)return Nk;return zk=1,Nk=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}}function kM(){if(Dk)return Bk;Dk=1;var e=Iu(),t=Rf(),n=zu(),r=xM(),i=($k||($k=1,Pk=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),Pk),o=CM(),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;return Bk=function(e,a,c,l,u,f,d){switch(c){case"[object DataView]":if(e.byteLength!=a.byteLength||e.byteOffset!=a.byteOffset)return!1;e=e.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=a.byteLength||!f(new t(e),new t(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+a);case"[object Error]":return e.name==a.name&&e.message==a.message;case"[object RegExp]":case"[object String]":return e==a+"";case"[object Map]":var h=i;case"[object Set]":var p=1&l;if(h||(h=o),e.size!=a.size&&!p)return!1;var g=d.get(e);if(g)return g==a;l|=2,d.set(e,a);var b=r(h(e),h(a),l,u,f,d);return d.delete(e),b;case"[object Symbol]":if(s)return s.call(e)==s.call(a)}return!1},Bk}function MM(){if(Yk)return Vk;Yk=1;var e=(Hk||(Hk=1,Ik=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}),Ik),t=Wk?qk:(Wk=1,qk=function(){return[]}),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,i=r?function(t){return null==t?[]:(t=Object(t),e(r(t),(function(e){return n.call(t,e)})))}:t;return Vk=i}function TM(){if(Qk)return Xk;Qk=1;var e=qf(),t=function(){if(Gk)return Zk;Gk=1;var e=If()(Object.keys,Object);return Zk=e}(),n=Object.prototype.hasOwnProperty;return Xk=function(r){if(!e(r))return t(r);var i=[];for(var o in Object(r))n.call(r,o)&&"constructor"!=o&&i.push(o);return i},Xk}function SM(){if(Kk)return Jk;Kk=1;var e=dh(),t=TM(),n=Xf();return Jk=function(r){return n(r)?e(r):t(r)},Jk}function AM(){if(tM)return eM;tM=1;var e=function(){if(Uk)return Rk;Uk=1;var e=Sk(),t=Zf();return Rk=function(n,r,i){var o=r(n);return t(n)?o:e(o,i(n))},Rk}(),t=MM(),n=SM();return eM=function(r){return e(r,n,t)},eM}function OM(){if(lM)return cM;lM=1;var e=Zu()(Uu(),"Set");return cM=e}function jM(){if(hM)return dM;hM=1;var e=function(){if(oM)return iM;oM=1;var e=Zu()(Uu(),"DataView");return iM=e}(),t=Gu(),n=function(){if(sM)return aM;sM=1;var e=Zu()(Uu(),"Promise");return aM=e}(),r=OM(),i=function(){if(fM)return uM;fM=1;var e=Zu()(Uu(),"WeakMap");return uM=e}(),o=Hu(),a=Yu(),s="[object Map]",c="[object Promise]",l="[object Set]",u="[object WeakMap]",f="[object DataView]",d=a(e),h=a(t),p=a(n),g=a(r),b=a(i),m=o;return(e&&m(new e(new ArrayBuffer(1)))!=f||t&&m(new t)!=s||n&&m(n.resolve())!=c||r&&m(new r)!=l||i&&m(new i)!=u)&&(m=function(e){var t=o(e),n="[object Object]"==t?e.constructor:void 0,r=n?a(n):"";if(r)switch(r){case d:return f;case h:return s;case p:return c;case g:return l;case b:return u}return t}),dM=m}function EM(){if(gM)return pM;gM=1;var e=ef(),t=xM(),n=kM(),r=function(){if(rM)return nM;rM=1;var e=AM(),t=Object.prototype.hasOwnProperty;return nM=function(n,r,i,o,a,s){var c=1&i,l=e(n),u=l.length;if(u!=e(r).length&&!c)return!1;for(var f=u;f--;){var d=l[f];if(!(c?d in r:t.call(r,d)))return!1}var h=s.get(n),p=s.get(r);if(h&&p)return h==r&&p==n;var g=!0;s.set(n,r),s.set(r,n);for(var b=c;++f<u;){var m=n[d=l[f]],y=r[d];if(o)var v=c?o(y,m,d,r,n,s):o(m,y,d,n,r,s);if(!(void 0===v?m===y||a(m,y,i,o,s):v)){g=!1;break}b||(b="constructor"==d)}if(g&&!b){var _=n.constructor,w=r.constructor;_==w||!("constructor"in n)||!("constructor"in r)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(n),s.delete(r),g},nM}(),i=jM(),o=Zf(),a=cd(),s=ch(),c="[object Arguments]",l="[object Array]",u="[object Object]",f=Object.prototype.hasOwnProperty;return pM=function(d,h,p,g,b,m){var y=o(d),v=o(h),_=y?l:i(d),w=v?l:i(h),x=(_=_==c?u:_)==u,C=(w=w==c?u:w)==u,k=_==w;if(k&&a(d)){if(!a(h))return!1;y=!0,x=!1}if(k&&!x)return m||(m=new e),y||s(d)?t(d,h,p,g,b,m):n(d,h,_,p,g,b,m);if(!(1&p)){var M=x&&f.call(d,"__wrapped__"),T=C&&f.call(h,"__wrapped__");if(M||T){var S=M?d.value():d,A=T?h.value():h;return m||(m=new e),b(S,A,p,g,m)}}return!!k&&(m||(m=new e),r(d,h,p,g,b,m))},pM}function FM(){if(mM)return bM;mM=1;var e=EM(),t=Vf();return bM=function n(r,i,o,a,s){return r===i||(null==r||null==i||!t(r)&&!t(i)?r!=r&&i!=i:e(r,i,o,a,n,s))},bM}var LM=ur(function(){if(vM)return yM;vM=1;var e=FM();return yM=function(t,n){return e(t,n)}}()),PM={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"transparent",outlineOpacity:1},axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}};function $M(){return $M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$M.apply(this,arguments)}function NM(e,t){return NM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},NM(e,t)}function zM(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var BM=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],DM=function(e,t){var n=Zh({},e,t);return BM.forEach((function(e){fp(n,e,function(e,t){return $M({},t,e)}(cp(n,e),n.text))})),n},RM=y(),UM=function(e){var t=e.children,n=e.animate,r=void 0===n||n,i=e.config,o=void 0===i?"default":i,a=b((function(){var e=Ag(o)?ys[o]:o;return{animate:r,config:e}}),[r,o]);return M(RM.Provider,{value:a,children:t})},IM={animate:Yi.bool,motionConfig:Yi.oneOfType([Yi.oneOf(Object.keys(ys)),Yi.shape({mass:Yi.number,tension:Yi.number,friction:Yi.number,clamp:Yi.bool,precision:Yi.number,velocity:Yi.number,duration:Yi.number,easing:Yi.func})])};UM.propTypes={children:Yi.node.isRequired,animate:IM.animate,config:IM.motionConfig};var HM=function(){return g(RM)},qM=function(e){var t=HM(),n=t.animate,r=t.config,i=function(e){var t=d();return l((function(){t.current=e}),[e]),t.current}(e),o=b((function(){return vg(i,e)}),[i,e]);return((e,...t)=>new hc(e,t))(uc({from:{value:0},to:{value:1},reset:!0,config:r,immediate:!n}).value,o)},WM={nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:jg(fv),PRGn:jg(hv),PiYG:jg(gv),PuOr:jg(mv),RdBu:jg(vv),RdGy:jg(wv),RdYlBu:jg(Cv),RdYlGn:jg(Mv),spectral:jg(Sv),blues:jg(Kv),greens:jg(t_),greys:jg(r_),oranges:jg(l_),purples:jg(o_),reds:jg(s_),BuGn:jg(Ov),BuPu:jg(Ev),GnBu:jg(Lv),OrRd:jg($v),PuBuGn:jg(zv),PuBu:jg(Dv),PuRd:jg(Uv),RdPu:jg(Hv),YlGnBu:jg(Wv),YlGn:jg(Yv),YlOrBr:jg(Gv),YlOrRd:jg(Qv)},VM=Object.keys(WM);jg(fv),jg(hv),jg(gv),jg(mv),jg(vv),jg(wv),jg(Cv),jg(Mv),jg(Sv),jg(Kv),jg(t_),jg(r_),jg(l_),jg(o_),jg(s_),jg(Ov),jg(Ev),jg(Lv),jg($v),jg(zv),jg(Dv),jg(Uv),jg(Hv),jg(Wv),jg(Yv),jg(Gv),jg(Qv),Yi.oneOfType([Yi.oneOf(VM),Yi.func,Yi.arrayOf(Yi.string)]);var YM={basis:function(e){return new mw(e)},basisClosed:function(e){return new yw(e)},basisOpen:function(e){return new vw(e)},bundle:ww,cardinal:kw,cardinalClosed:Tw,cardinalOpen:Aw,catmullRom:Ew,catmullRomClosed:Lw,catmullRomOpen:$w,linear:fw,linearClosed:function(e){return new Nw(e)},monotoneX:function(e){return new Uw(e)},monotoneY:function(e){return new Iw(e)},natural:function(e){return new qw(e)},step:function(e){return new Vw(e,.5)},stepAfter:function(e){return new Vw(e,1)},stepBefore:function(e){return new Vw(e,0)}},ZM=Object.keys(YM);ZM.filter((function(e){return e.endsWith("Closed")})),ew(ZM,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),ew(ZM,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed");var GM=function(e){if(!YM[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return YM[e]};Yi.shape({top:Yi.number,right:Yi.number,bottom:Yi.number,left:Yi.number}).isRequired;Yi.oneOf(["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]),Zg(cv);var XM={top:0,right:0,bottom:0,left:0},QM=function(e,t,n){return void 0===n&&(n={}),b((function(){var r=$M({},XM,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}}),[e,t,n.top,n.right,n.bottom,n.left])},JM=function(){var e=d(null),t=f({left:0,top:0,width:0,height:0}),n=t[0],r=t[1],i=f((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return r(t.contentRect)}))}))[0];return l((function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}}),[]),[e,n]},KM=function(e){return b((function(){return function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?Nx(e.slice("5")):nx(e):function(e){return""+e}}(e)}),[e])},eT=y(),tT={},nT=function(e){var t=e.theme,n=void 0===t?tT:t,r=e.children,i=function(e){return b((function(){return DM(PM,e)}),[e])}(n);return M(eT.Provider,{value:i,children:r})};nT.propTypes={children:Yi.node.isRequired,theme:Yi.object};var rT=function(){return g(eT)},iT=["outlineWidth","outlineColor","outlineOpacity"],oT=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,zM(e,iT)},aT=function(e){var t=e.children,n=e.condition,r=e.wrapper;return n?w(r,{},t):t};aT.propTypes={children:Yi.node.isRequired,condition:Yi.bool.isRequired,wrapper:Yi.element.isRequired};var sT={position:"relative"},cT=function(e){var t=e.children,n=e.theme,r=e.renderWrapper,i=void 0===r||r,o=e.isInteractive,a=void 0===o||o,s=e.animate,c=e.motionConfig,l=d(null);return M(nT,{theme:n,children:M(UM,{animate:s,config:c,children:M(Nu,{container:l,children:M(aT,{condition:i,wrapper:M("div",{style:sT,ref:l}),children:[t,a&&M($u,{})]})})})})};cT.propTypes={children:Yi.element.isRequired,isInteractive:Yi.bool,renderWrapper:Yi.bool,theme:Yi.object,animate:Yi.bool,motionConfig:Yi.oneOfType([Yi.string,IM.motionConfig])},Yi.func.isRequired,Yi.bool,Yi.bool,Yi.object.isRequired,Yi.bool.isRequired,Yi.oneOfType([Yi.string,IM.motionConfig]);var lT=function(e){var t=e.children,n=JM(),r=n[0],i=n[1];return M("div",{ref:r,style:{width:"100%",height:"100%"},children:i.width>0&&i.height>0&&t({width:i.width,height:i.height})})};lT.propTypes={children:Yi.func.isRequired};var uT=["id","colors"],fT=function(e){var t=e.id,n=e.colors;return M("linearGradient",$M({id:t,x1:0,x2:0,y1:0,y2:1},zM(e,uT),{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return M("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))};fT.propTypes={id:Yi.string.isRequired,colors:Yi.arrayOf(Yi.shape({offset:Yi.number.isRequired,color:Yi.string.isRequired,opacity:Yi.number})).isRequired,gradientTransform:Yi.string};var dT={linearGradient:fT},hT="#000000",pT="#ffffff",gT=4,bT=4,mT=!1,yT=m((function(e){var t=e.id,n=e.background,r=void 0===n?pT:n,i=e.color,o=void 0===i?hT:i,a=e.size,s=void 0===a?gT:a,c=e.padding,l=void 0===c?bT:c,u=e.stagger,f=void 0===u?mT:u,d=s+l,h=s/2,p=l/2;return!0===f&&(d=2*s+2*l),M("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[M("rect",{width:d,height:d,fill:r}),M("circle",{cx:p+h,cy:p+h,r:h,fill:o}),f&&M("circle",{cx:1.5*l+s+h,cy:1.5*l+s+h,r:h,fill:o})]})}));yT.displayName="PatternDots",yT.propTypes={id:Yi.string.isRequired,color:Yi.string.isRequired,background:Yi.string.isRequired,size:Yi.number.isRequired,padding:Yi.number.isRequired,stagger:Yi.bool.isRequired};var vT=function(e){return e*Math.PI/180},_T={svg:{align:{left:"start",center:"middle",right:"end",start:"start",middle:"middle",end:"end"},baseline:{top:"text-before-edge",center:"central",bottom:"alphabetic"}},canvas:{align:{left:"left",center:"center",right:"right",start:"left",middle:"center",end:"right"},baseline:{top:"top",center:"middle",bottom:"bottom"}}},wT=5,xT=0,CT="#000000",kT="#ffffff",MT=2,TT=m((function(e){var t=e.id,n=e.spacing,r=void 0===n?wT:n,i=e.rotation,o=void 0===i?xT:i,a=e.background,s=void 0===a?CT:a,c=e.color,l=void 0===c?kT:c,u=e.lineWidth,f=void 0===u?MT:u,d=Math.round(o)%360,h=Math.abs(r);d>180?d-=360:d>90?d-=180:d<-180?d+=360:d<-90&&(d+=180);var p,g=h,b=h;return 0===d?p="\n M 0 0 L "+g+" 0\n M 0 "+b+" L "+g+" "+b+"\n ":90===d?p="\n M 0 0 L 0 "+b+"\n M "+g+" 0 L "+g+" "+b+"\n ":(g=Math.abs(h/Math.sin(vT(d))),b=h/Math.sin(vT(90-d)),p=d>0?"\n M 0 "+-b+" L "+2*g+" "+b+"\n M "+-g+" "+-b+" L "+g+" "+b+"\n M "+-g+" 0 L "+g+" "+2*b+"\n ":"\n M "+-g+" "+b+" L "+g+" "+-b+"\n M "+-g+" "+2*b+" L "+2*g+" "+-b+"\n M 0 "+2*b+" L "+2*g+" 0\n "),M("pattern",{id:t,width:g,height:b,patternUnits:"userSpaceOnUse",children:[M("rect",{width:g,height:b,fill:s,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),M("path",{d:p,strokeWidth:f,stroke:l,strokeLinecap:"square"})]})}));TT.displayName="PatternLines",TT.propTypes={id:Yi.string.isRequired,spacing:Yi.number.isRequired,rotation:Yi.number.isRequired,background:Yi.string.isRequired,color:Yi.string.isRequired,lineWidth:Yi.number.isRequired};var ST="#000000",AT="#ffffff",OT=4,jT=4,ET=!1,FT=m((function(e){var t=e.id,n=e.color,r=void 0===n?ST:n,i=e.background,o=void 0===i?AT:i,a=e.size,s=void 0===a?OT:a,c=e.padding,l=void 0===c?jT:c,u=e.stagger,f=void 0===u?ET:u,d=s+l,h=l/2;return!0===f&&(d=2*s+2*l),M("pattern",{id:t,width:d,height:d,patternUnits:"userSpaceOnUse",children:[M("rect",{width:d,height:d,fill:o}),M("rect",{x:h,y:h,width:s,height:s,fill:r}),f&&M("rect",{x:1.5*l+s,y:1.5*l+s,width:s,height:s,fill:r})]})}));FT.displayName="PatternSquares",FT.propTypes={id:Yi.string.isRequired,color:Yi.string.isRequired,background:Yi.string.isRequired,size:Yi.number.isRequired,padding:Yi.number.isRequired,stagger:Yi.bool.isRequired};var LT={patternDots:yT,patternLines:TT,patternSquares:FT},PT=["type"],$T=$M({},dT,LT),NT=function(e){var t=e.defs;return!t||t.length<1?null:M("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=zM(e,PT);return $T[t]?v($T[t],$M({key:n.id},n)):null}))})};NT.propTypes={defs:Yi.arrayOf(Yi.shape({type:Yi.oneOf(Object.keys($T)).isRequired,id:Yi.string.isRequired}))};var zT=m(NT),BT=function(e){var t=e.width,n=e.height,r=e.margin,i=e.defs,o=e.children,a=e.role,s=e.ariaLabel,c=e.ariaLabelledBy,l=e.ariaDescribedBy,u=e.isFocusable,f=rT();return M("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,role:a,"aria-label":s,"aria-labelledby":c,"aria-describedby":l,focusable:u,tabIndex:u?0:void 0,children:[M(zT,{defs:i}),M("rect",{width:t,height:n,fill:f.background}),M("g",{transform:"translate("+r.left+","+r.top+")",children:o})]})};BT.propTypes={width:Yi.number.isRequired,height:Yi.number.isRequired,margin:Yi.shape({top:Yi.number.isRequired,left:Yi.number.isRequired}).isRequired,defs:Yi.array,children:Yi.oneOfType([Yi.arrayOf(Yi.node),Yi.node]).isRequired,role:Yi.string,isFocusable:Yi.bool,ariaLabel:Yi.string,ariaLabelledBy:Yi.string,ariaDescribedBy:Yi.string};var DT=function(e){var t=e.size,n=e.color,r=e.borderWidth;return M("circle",{r:t/2,fill:n,stroke:e.borderColor,strokeWidth:r,style:{pointerEvents:"none"}})};DT.propTypes={size:Yi.number.isRequired,color:Yi.string.isRequired,borderWidth:Yi.number.isRequired,borderColor:Yi.string.isRequired};var RT=m(DT),UT=function(e){var t=e.x,n=e.y,r=e.symbol,i=void 0===r?RT:r,o=e.size,a=e.datum,s=e.color,c=e.borderWidth,l=e.borderColor,u=e.label,f=e.labelTextAnchor,d=void 0===f?"middle":f,h=e.labelYOffset,p=void 0===h?-12:h,g=rT(),b=HM(),m=b.animate,y=uc({transform:"translate("+t+", "+n+")",config:b.config,immediate:!m});return M(jc.g,{transform:y.transform,style:{pointerEvents:"none"},children:[v(i,{size:o,color:s,datum:a,borderWidth:c,borderColor:l}),u&&M("text",{textAnchor:d,y:p,style:oT(g.dots.text),children:u})]})};UT.propTypes={x:Yi.number.isRequired,y:Yi.number.isRequired,datum:Yi.object.isRequired,size:Yi.number.isRequired,color:Yi.string.isRequired,borderWidth:Yi.number.isRequired,borderColor:Yi.string.isRequired,symbol:Yi.oneOfType([Yi.func,Yi.object]),label:Yi.oneOfType([Yi.string,Yi.number]),labelTextAnchor:Yi.oneOf(["start","middle","end"]),labelYOffset:Yi.number};var IT=m(UT),HT=function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,a=e.lineStyle,s=e.textStyle,c=e.legend,l=e.legendNode,u=e.legendPosition,f=void 0===u?"top-right":u,d=e.legendOffsetX,h=void 0===d?14:d,p=e.legendOffsetY,g=void 0===p?14:p,b=e.legendOrientation,m=void 0===b?"horizontal":b,y=rT(),v=0,_=0,w=0,x=0;if("y"===r?(w=i(o),_=t):(v=i(o),x=n),c&&!l){var C=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,a=e.orientation,s=0,c=0,l="vertical"===a?-90:0,u="start";if("x"===e.axis)switch(r){case"top-left":s=-i,c=o,u="end";break;case"top":c=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=i,c=o,u="horizontal"===a?"start":"end";break;case"right":s=i,c=n/2,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=i,c=n-o,u="start";break;case"bottom":c=n+o,u="horizontal"===a?"middle":"end";break;case"bottom-left":c=n-o,s=-i,u="horizontal"===a?"end":"start";break;case"left":s=-i,c=n/2,u="horizontal"===a?"end":"middle"}else switch(r){case"top-left":s=i,c=-o,u="start";break;case"top":s=t/2,c=-o,u="horizontal"===a?"middle":"start";break;case"top-right":s=t-i,c=-o,u="horizontal"===a?"end":"start";break;case"right":s=t+i,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=t-i,c=o,u="end";break;case"bottom":s=t/2,c=o,u="horizontal"===a?"middle":"end";break;case"bottom-left":s=i,c=o,u="horizontal"===a?"start":"end";break;case"left":s=-i,u="horizontal"===a?"end":"middle"}return{x:s,y:c,rotation:l,textAnchor:u}}({axis:r,width:t,height:n,position:f,offsetX:h,offsetY:g,orientation:m});l=M("text",{transform:"translate("+C.x+", "+C.y+") rotate("+C.rotation+")",textAnchor:C.textAnchor,dominantBaseline:"central",style:s,children:c})}return M("g",{transform:"translate("+v+", "+w+")",children:[M("line",{x1:0,x2:_,y1:0,y2:x,stroke:y.markers.lineColor,strokeWidth:y.markers.lineStrokeWidth,style:a}),l]})};HT.propTypes={width:Yi.number.isRequired,height:Yi.number.isRequired,axis:Yi.oneOf(["x","y"]).isRequired,scale:Yi.func.isRequired,value:Yi.oneOfType([Yi.number,Yi.string,Yi.instanceOf(Date)]).isRequired,lineStyle:Yi.object,textStyle:Yi.object,legend:Yi.string,legendPosition:Yi.oneOf(["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]),legendOffsetX:Yi.number.isRequired,legendOffsetY:Yi.number.isRequired,legendOrientation:Yi.oneOf(["horizontal","vertical"]).isRequired};var qT=m(HT),WT=function(e){var t=e.markers,n=e.width,r=e.height,i=e.xScale,o=e.yScale;return t&&0!==t.length?t.map((function(e,t){return M(qT,$M({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)})):null};WT.propTypes={width:Yi.number.isRequired,height:Yi.number.isRequired,xScale:Yi.func.isRequired,yScale:Yi.func.isRequired,markers:Yi.arrayOf(Yi.shape({axis:Yi.oneOf(["x","y"]).isRequired,value:Yi.oneOfType([Yi.number,Yi.string,Yi.instanceOf(Date)]).isRequired,lineStyle:Yi.object,textStyle:Yi.object}))};var VT=m(WT),YT=["theme","renderWrapper","animate","motionConfig"],ZT=function(e){return function(t){var n,r;function i(){return t.apply(this,arguments)||this}return r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,NM(n,r),i.prototype.render=function(){var t=this.props,n=t.theme,r=t.renderWrapper,i=t.animate,o=t.motionConfig,a=zM(t,YT);return M(cT,{theme:n,renderWrapper:r,isInteractive:a.isInteractive,animate:i,motionConfig:o,children:M(e,$M({},a))})},i}(_)},GT=function(e,t){var n,r="touches"in t?t.touches[0]:t,i=r.clientX,o=r.clientY,a=e.getBoundingClientRect(),s=(n=void 0!==e.getBBox?e.getBBox():{width:e.offsetWidth||0,height:e.offsetHeight||0}).width===a.width?1:n.width/a.width;return[(i-a.left)*s,(o-a.top)*s]},XT=Object.keys(dT),QT=Object.keys(LT),JT=function(e,t,n,r){var i={},o=i.dataKey,a=i.colorKey,s=void 0===a?"color":a,c=i.targetKey,l=void 0===c?"fill":c,u=[],f={};return e.length&&t.length&&(u=[].concat(e),t.forEach((function(t){for(var r=function(){var r=n[i],a=r.id;if(function(e,t,n){if("*"===e)return!0;if(Y_(e))return e(t);if(kk(e)){var r=n?cp(t,n):t;return LM(wM(r,Object.keys(e)),e)}return!1}(r.match,t,o)){var c=e.find((function(e){return e.id===a}));if(c)if(QT.includes(c.type))if("inherit"===c.background||"inherit"===c.color){var d=cp(t,s),h=c.background,p=c.color,g=a;"inherit"===c.background&&(g=g+".bg."+d,h=d),"inherit"===c.color&&(g=g+".fg."+d,p=d),fp(t,l,"url(#"+g+")"),f[g]||(u.push($M({},c,{id:g,background:h,color:p})),f[g]=1)}else fp(t,l,"url(#"+a+")");else if(XT.includes(c.type))if(c.colors.map((function(e){return e.color})).includes("inherit")){var b=cp(t,s),m=a,y=$M({},c,{colors:c.colors.map((function(e,t){return"inherit"!==e.color?e:(m=m+"."+t+"."+b,$M({},e,{color:"inherit"===e.color?b:e.color}))}))});y.id=m,fp(t,l,"url(#"+m+")"),f[m]||(u.push(y),f[m]=1)}else fp(t,l,"url(#"+a+")");return"break"}},i=0;i<n.length&&"break"!==r();i++);}))),u};function KT(){return KT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KT.apply(this,arguments)}function eS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var tS={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:ev,accent:tv,dark2:nv,paired:rv,pastel1:iv,pastel2:ov,set1:av,set2:sv,set3:cv,tableau10:lv},nS=Object.keys(tS),rS={brown_blueGreen:fv,purpleRed_green:hv,pink_yellowGreen:gv,purple_orange:mv,red_blue:vv,red_grey:wv,red_yellow_blue:Cv,red_yellow_green:Mv,spectral:Sv},iS=Object.keys(rS),oS={brown_blueGreen:dv,purpleRed_green:pv,pink_yellowGreen:bv,purple_orange:yv,red_blue:_v,red_grey:xv,red_yellow_blue:kv,red_yellow_green:Tv,spectral:Av},aS={blues:Kv,greens:t_,greys:r_,oranges:l_,purples:o_,reds:s_,blue_green:Ov,blue_purple:Ev,green_blue:Lv,orange_red:$v,purple_blue_green:zv,purple_blue:Dv,purple_red:Uv,red_purple:Hv,yellow_green_blue:Wv,yellow_green:Yv,yellow_orange_brown:Gv,yellow_orange_red:Qv},sS=Object.keys(aS),cS={blues:e_,greens:n_,greys:i_,oranges:u_,purples:a_,reds:c_,turbo:function(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+")"},viridis:H_,inferno:W_,magma:q_,plasma:V_,cividis:function(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+")"},warm:d_,cool:h_,cubehelixDefault:f_,blue_green:jv,blue_purple:Fv,green_blue:Pv,orange_red:Nv,purple_blue_green:Bv,purple_blue:Rv,purple_red:Iv,red_purple:qv,yellow_green_blue:Vv,yellow_green:Zv,yellow_orange_brown:Xv,yellow_orange_red:Jv},lS=KT({},tS,rS,aS),uS={rainbow:function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return p_.h=360*e-100,p_.s=1.5-1.5*t,p_.l=.8-.9*t,p_+""},sinebow:function(e){var t;return e=(.5-e)*Math.PI,g_.r=255*(t=Math.sin(e))*t,g_.g=255*(t=Math.sin(e+b_))*t,g_.b=255*(t=Math.sin(e+m_))*t,g_+""}};KT({},oS,cS,uS);var fS=function(e,t){if("function"==typeof e)return e;if(kk(e)){if(function(e){return void 0!==e.theme}(e)){if(void 0===t)throw new Error("Unable to use color from theme as no theme was provided");var n=cp(t,e.theme);if(void 0===n)throw new Error("Color from theme is undefined at path: '"+e.theme+"'");return function(){return n}}if(function(e){return void 0!==e.from}(e)){var r=function(t){return cp(t,e.from)};if(Array.isArray(e.modifiers)){for(var i,o=[],a=function(){var e=i.value,t=e[0],n=e[1];if("brighter"===t)o.push((function(e){return e.brighter(n)}));else if("darker"===t)o.push((function(e){return e.darker(n)}));else{if("opacity"!==t)throw new Error("Invalid color modifier: '"+t+"', must be one of: 'brighter', 'darker', 'opacity'");o.push((function(e){return e.opacity=n,e}))}},s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return eS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eS(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.modifiers);!(i=s()).done;)a();return 0===o.length?r:function(e){return o.reduce((function(e,t){return t(e)}),Pp(r(e))).toString()}}return r}throw new Error("Invalid color spec, you should either specify 'theme' or 'from' when using a config object")}return function(){return e}},dS=function(e,t){return b((function(){return fS(e,t)}),[e,t])};Yi.oneOfType([Yi.string,Yi.func,Yi.shape({theme:Yi.string.isRequired}),Yi.shape({from:Yi.string.isRequired,modifiers:Yi.arrayOf(Yi.array)})]);var hS,pS,gS,bS,mS,yS,vS,_S,wS=function(e,t){if("function"==typeof e)return e;var n=function(e){return cp(e,t)};if(Array.isArray(e)){var r=Zg(e),i=function(e){return r(n(e))};return i.scale=r,i}if(kk(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return cp(t,e.datum)};if(function(e){return void 0!==e.scheme}(e)){if(function(e){return nS.includes(e)}(e.scheme)){var o=Zg(lS[e.scheme]),a=function(e){return o(n(e))};return a.scale=o,a}if(function(e){return iS.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>11))throw new Error("Invalid size '"+e.size+"' for diverging color scheme '"+e.scheme+"', must be between 3~11");var s=Zg(lS[e.scheme][e.size||11]),c=function(e){return s(n(e))};return c.scale=s,c}if(function(e){return sS.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var l=Zg(lS[e.scheme][e.size||9]),u=function(e){return l(n(e))};return u.scale=l,u}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}};function xS(){if(bS)return gS;bS=1;var e=OM(),t=pS?hS:(pS=1,hS=function(){}),n=CM(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return gS=r}function CS(){if(yS)return mS;yS=1;var e=Z_(),t=X_(),n=Q_(),r=J_(),i=xS(),o=CM();return mS=function(a,s,c){var l=-1,u=t,f=a.length,d=!0,h=[],p=h;if(c)d=!1,u=n;else if(f>=200){var g=s?null:i(a);if(g)return o(g);d=!1,u=r,p=new e}else p=s?[]:h;e:for(;++l<f;){var b=a[l],m=s?s(b):b;if(b=c||0!==b?b:0,d&&m==m){for(var y=p.length;y--;)if(p[y]===m)continue e;s&&p.push(m),h.push(b)}else u(p,m,c)||(p!==h&&p.push(m),h.push(b))}return h},mS}var kS,MS,TS,SS,AS,OS,jS,ES,FS,LS,PS,$S,NS,zS,BS,DS,RS,US,IS,HS,qS,WS,VS=function(){if(_S)return vS;_S=1;var e=CS();return vS=function(t){return t&&t.length?e(t):[]},vS}(),YS=ur(VS);function ZS(){if(SS)return TS;SS=1;var e=qu();return TS=function(t){return t==t&&!e(t)}}function GS(){if(ES)return jS;return ES=1,jS=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}},jS}function XS(){if(LS)return FS;LS=1;var e=function(){if(MS)return kS;MS=1;var e=ef(),t=FM();return kS=function(n,r,i,o){var a=i.length,s=a,c=!o;if(null==n)return!s;for(n=Object(n);a--;){var l=i[a];if(c&&l[2]?l[1]!==n[l[0]]:!(l[0]in n))return!1}for(;++a<s;){var u=(l=i[a])[0],f=n[u],d=l[1];if(c&&l[2]){if(void 0===f&&!(u in n))return!1}else{var h=new e;if(o)var p=o(f,d,u,n,r,h);if(!(void 0===p?t(d,f,3,o,h):p))return!1}}return!0},kS}(),t=function(){if(OS)return AS;OS=1;var e=ZS(),t=SM();return AS=function(n){for(var r=t(n),i=r.length;i--;){var o=r[i],a=n[o];r[i]=[o,a,e(a)]}return r},AS}(),n=GS();return FS=function(r){var i=t(r);return 1==i.length&&i[0][2]?n(i[0][0],i[0][1]):function(t){return t===r||e(t,r,i)}},FS}function QS(){if(US)return RS;US=1;var e=(zS||(zS=1,NS=function(e){return function(t){return null==t?void 0:t[e]}}),NS),t=function(){if(DS)return BS;DS=1;var e=np();return BS=function(t){return function(n){return e(n,t)}},BS}(),n=Xh(),r=tp();return RS=function(i){return n(i)?e(r(i)):t(i)}}function JS(){if(HS)return IS;HS=1;var e=XS(),t=function(){if($S)return PS;$S=1;var e=FM(),t=rp(),n=Mk(),r=Xh(),i=ZS(),o=GS(),a=tp();return PS=function(s,c){return r(s)&&i(c)?o(a(s),c):function(r){var i=t(r,s);return void 0===i&&i===c?n(r,s):e(c,i,3)}},PS}(),n=mh(),r=Zf(),i=QS();return IS=function(o){return"function"==typeof o?o:null==o?n:"object"==typeof o?r(o)?t(o[0],o[1]):e(o):i(o)}}var KS,eA,tA,nA,rA,iA,oA,aA,sA,cA,lA,uA,fA,dA,hA,pA,gA,bA,mA=function(){if(WS)return qS;WS=1;var e=JS(),t=CS();return qS=function(n,r){return n&&n.length?t(n,e(r,2)):[]},qS}(),yA=ur(mA);function vA(){if(iA)return rA;iA=1;var e=function(){if(eA)return KS;eA=1;var e=of(),t=SM();return KS=function(n,r){return n&&e(n,r,t)},KS}(),t=function(){if(nA)return tA;nA=1;var e=Xf();return tA=function(t,n){return function(r,i){if(null==r)return r;if(!e(r))return t(r,i);for(var o=r.length,a=n?o:-1,s=Object(r);(n?a--:++a<o)&&!1!==i(s[a],a,s););return r}}}()(e);return rA=t}function _A(){if(dA)return fA;dA=1;var e=function(){if(uA)return lA;uA=1;var e=Gh();return lA=function(t,n){if(t!==n){var r=void 0!==t,i=null===t,o=t==t,a=e(t),s=void 0!==n,c=null===n,l=n==n,u=e(n);if(!c&&!u&&!a&&t>n||a&&s&&l&&!c&&!u||i&&s&&l||!r&&l||!o)return 1;if(!i&&!a&&!u&&t<n||u&&r&&o&&!i&&!a||c&&r&&o||!s&&o||!l)return-1}return 0}}();return fA=function(t,n,r){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,c=r.length;++i<s;){var l=e(o[i],a[i]);if(l)return i>=c?l:l*("desc"==r[i]?-1:1)}return t.index-n.index},fA}function wA(){if(pA)return hA;pA=1;var e=Jh(),t=np(),n=JS(),r=function(){if(aA)return oA;aA=1;var e=vA(),t=Xf();return oA=function(n,r){var i=-1,o=t(n)?Array(n.length):[];return e(n,(function(e,t,n){o[++i]=r(e,t,n)})),o}}(),i=(cA||(cA=1,sA=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),sA),o=ud(),a=_A(),s=mh(),c=Zf();return hA=function(l,u,f){u=u.length?e(u,(function(e){return c(e)?function(n){return t(n,1===e.length?e[0]:e)}:e})):[s];var d=-1;u=e(u,o(n));var h=r(l,(function(t,n,r){return{criteria:e(u,(function(e){return e(t)})),index:++d,value:t}}));return i(h,(function(e,t){return a(e,t,f)}))},hA}var xA,CA,kA,MA,TA=ur(function(){if(bA)return gA;bA=1;var e=Ak(),t=wA(),n=wh(),r=xh(),i=n((function(n,i){if(null==n)return[];var o=i.length;return o>1&&r(n,i[0],i[1])?i=[]:o>2&&r(i[0],i[1],i[2])&&(i=[i[0]]),t(n,e(i,1),[])}));return gA=i}());var SA=ur(function(){if(MA)return kA;MA=1;var e=function(){if(CA)return xA;CA=1;var e=Hu(),t=Vf();return xA=function(n){return t(n)&&"[object Date]"==e(n)}}(),t=ud(),n=sh(),r=n&&n.isDate,i=r?t(r):e;return kA=i}()),AA=new Date,OA=new Date;function jA(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,o){var a,s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;do{s.push(a=new Date(+n)),t(n,o),e(n)}while(a<n&&n<r);return s},i.filter=function(n){return jA((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return AA.setTime(+t),OA.setTime(+r),e(AA),e(OA),Math.floor(n(AA,OA))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var EA=jA((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));EA.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?jA((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):EA:null},EA.range;var FA=1e3,LA=6e4,PA=36e5,$A=6048e5,NA=jA((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*FA)}),(function(e,t){return(t-e)/FA}),(function(e){return e.getUTCSeconds()}));NA.range;var zA=jA((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*FA)}),(function(e,t){e.setTime(+e+t*LA)}),(function(e,t){return(t-e)/LA}),(function(e){return e.getMinutes()}));zA.range;var BA=jA((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*FA-e.getMinutes()*LA)}),(function(e,t){e.setTime(+e+t*PA)}),(function(e,t){return(t-e)/PA}),(function(e){return e.getHours()}));function DA(e){return jA((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*LA)/$A}))}BA.range;var RA=DA(0),UA=DA(1),IA=DA(2),HA=DA(3),qA=DA(4),WA=DA(5),VA=DA(6);RA.range,UA.range,IA.range,HA.range,qA.range,WA.range,VA.range;var YA=jA((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}));YA.range;var ZA=jA((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));ZA.every=function(e){return isFinite(e=Math.floor(e))&&e>0?jA((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null},ZA.range;var GA=jA((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*LA)}),(function(e,t){return(t-e)/LA}),(function(e){return e.getUTCMinutes()}));GA.range;var XA=jA((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*PA)}),(function(e,t){return(t-e)/PA}),(function(e){return e.getUTCHours()}));function QA(e){return jA((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/$A}))}XA.range;var JA=QA(0),KA=QA(1),eO=QA(2),tO=QA(3),nO=QA(4),rO=QA(5),iO=QA(6);JA.range,KA.range,eO.range,tO.range,nO.range,rO.range,iO.range;var oO=jA((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}));oO.range;var aO=jA((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));function sO(){return sO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sO.apply(this,arguments)}aO.every=function(e){return isFinite(e=Math.floor(e))&&e>0?jA((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null},aO.range;var cO=[function(e){return e.setMilliseconds(0)},function(e){return e.setSeconds(0)},function(e){return e.setMinutes(0)},function(e){return e.setHours(0)},function(e){return e.setDate(1)},function(e){return e.setMonth(0)}],lO={millisecond:[],second:cO.slice(0,1),minute:cO.slice(0,2),hour:cO.slice(0,3),day:cO.slice(0,4),month:cO.slice(0,5),year:cO.slice(0,6)},uO=function(e){var t=e.format,n=void 0===t?"native":t,r=e.precision,i=void 0===r?"millisecond":r,o=e.useUTC,a=void 0===o||o,s=function(e){return function(t){return lO[e].forEach((function(e){e(t)})),t}}(i);return function(e){if(void 0===e)return e;if("native"===n||e instanceof Date)return s(e);var t=a?Bx(n):zx(n);return s(t(e))}},fO=function(e,t,n,r){var i,o,a,s,c=e.min,l=void 0===c?0:c,u=e.max,f=void 0===u?"auto":u,d=e.stacked,h=void 0!==d&&d,p=e.reverse,g=void 0!==p&&p,b=e.clamp,m=void 0!==b&&b,y=e.nice,v=void 0!==y&&y;i="auto"===l?!0===h?null!=(o=t.minStacked)?o:0:t.min:l,a="auto"===f?!0===h?null!=(s=t.maxStacked)?s:0:t.max:f;var _=kb().rangeRound("x"===r?[0,n]:[n,0]).domain(g?[a,i]:[i,a]).clamp(m);return!0===v?_.nice():"number"==typeof v&&_.nice(v),dO(_,h)},dO=function(e,t){void 0===t&&(t=!1);var n=e;return n.type="linear",n.stacked=t,n},hO=function(e){var t=e;return t.type="band",t},pO=function(e,t,n){var r,i,o=e.format,a=void 0===o?"native":o,s=e.precision,c=void 0===s?"millisecond":s,l=e.min,u=void 0===l?"auto":l,f=e.max,d=void 0===f?"auto":f,h=e.useUTC,p=void 0===h||h,g=e.nice,b=void 0!==g&&g,m=uO({format:a,precision:c,useUTC:p});r="auto"===u?m(t.min):"native"!==a?m(u):u,i="auto"===d?m(t.max):"native"!==a?m(d):d;var y=p?function(){return Vg.apply(Jy(Cm,km,wm,vm,fm,em,Jb,Xb,Zb,Fm).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}():function(){return Vg.apply(Jy(Mm,Tm,_m,ym,rm,Kb,Qb,Gb,Zb,Em).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}();y.range([0,n]),r&&i&&y.domain([r,i]),!0===b?y.nice():"object"!=typeof b&&"number"!=typeof b||y.nice(b);var v=y;return v.type="time",v.useUTC=p,v},gO=function(e,t,n,r){var i,o=e.base,a=void 0===o?10:o,s=e.min,c=void 0===s?"auto":s,l=e.max,u=void 0===l?"auto":l;if(t.all.some((function(e){return 0===e})))throw new Error("a log scale domain must not include or cross zero");var f,d,h=!1;if(t.all.filter((function(e){return null!=e})).forEach((function(e){h||(void 0===i?i=Math.sign(e):Math.sign(e)!==i&&(h=!0))})),h)throw new Error("a log scale domain must be strictly-positive or strictly-negative");f="auto"===c?t.min:c,d="auto"===u?t.max:u;var p=Lb().domain([f,d]).rangeRound("x"===r?[0,n]:[n,0]).base(a).nice();return p.type="log",p},bO=function(e,t){return e===t},mO=function(e,t){return e.getTime()===t.getTime()};function yO(e,t,n,r){switch(e.type){case"linear":return fO(e,t,n,r);case"point":return function(e,t,n){var r=Qg().range([0,n]).domain(t.all);return r.type="point",r}(0,t,n);case"band":return function(e,t,n,r){var i=e.round,o=void 0===i||i,a=Gg().range("x"===r?[0,n]:[n,0]).domain(t.all).round(o);return hO(a)}(e,t,n,r);case"time":return pO(e,t,n);case"log":return gO(e,t,n,r);case"symlog":return function(e,t,n,r){var i,o,a=e.constant,s=void 0===a?1:a,c=e.min,l=void 0===c?"auto":c,u=e.max,f=void 0===u?"auto":u,d=e.reverse,h=void 0!==d&&d;i="auto"===l?t.min:l,o="auto"===f?t.max:f;var p=Nb().constant(s).rangeRound("x"===r?[0,n]:[n,0]).nice();!0===h?p.domain([o,i]):p.domain([i,o]);var g=p;return g.type="symlog",g}(e,t,n,r);default:throw new Error("invalid scale spec")}}var vO=function(e,t,n){var r;if("stacked"in n&&n.stacked){var i=e.data["x"===t?"xStacked":"yStacked"];return null==i?null:n(i)}return null!=(r=n(e.data[t]))?r:null},_O=function(e,t,n){return{x:wO(e,"x",t),y:wO(e,"y",n)}},wO=function(e,t,n,r){var i={},o=i.getValue,a=void 0===o?function(e){return e.data[t]}:o,s=i.setValue,c=void 0===s?function(e,n){e.data[t]=n}:s;if("linear"===n.type)e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&c(e,parseFloat(String(t)))}))}));else if("time"===n.type&&"native"!==n.format){var l=uO(n);e.forEach((function(e){e.data.forEach((function(e){var t=a(e);t&&c(e,l(t))}))}))}var u=[];switch(e.forEach((function(e){e.data.forEach((function(e){u.push(a(e))}))})),n.type){case"linear":var f=TA(YS(u).filter((function(e){return null!==e})),(function(e){return e}));return{all:f,min:Math.min.apply(Math,f),max:Math.max.apply(Math,f)};case"time":var d=yA(u,(function(e){return e.getTime()})).slice(0).sort((function(e,t){return t.getTime()-e.getTime()})).reverse();return{all:d,min:d[0],max:jg(d)};default:var h=YS(u);return{all:h,min:h[0],max:jg(h)}}},xO=function(e,t,n){var r=function(e){return"x"===e?"y":"x"}(e),i=[];t[r].all.forEach((function(t){var o=SA(t)?mO:bO,a=[];n.forEach((function(n){var s=n.data.find((function(e){return o(e.data[r],t)})),c=null,l=null;if(void 0!==s){if(null!==(c=s.data[e])){var u=jg(a);void 0===u?l=c:null!==u&&(l=u+c)}s.data["x"===e?"xStacked":"yStacked"]=l}a.push(l),null!==l&&i.push(l)}))})),t[e].minStacked=Math.min.apply(Math,i),t[e].maxStacked=Math.max.apply(Math,i)},CO=function(e,t){return xO("x",e,t)},kO=function(e,t){return xO("y",e,t)},MO=function(e){var t=e.bandwidth();if(0===t)return e;var n=t/2;return e.round()&&(n=Math.round(n)),function(t){var r;return(null!=(r=e(t))?r:0)+n}},TO={millisecond:[EA,EA],second:[NA,NA],minute:[zA,GA],hour:[BA,XA],day:[jA((function(e){return e.setHours(0,0,0,0)}),(function(e,t){return e.setDate(e.getDate()+t)}),(function(e,t){return(t.getTime()-e.getTime())/864e5}),(function(e){return Math.floor(e.getTime()/864e5)})),jA((function(e){return e.setUTCHours(0,0,0,0)}),(function(e,t){return e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t.getTime()-e.getTime())/864e5}),(function(e){return Math.floor(e.getTime()/864e5)}))],week:[RA,JA],sunday:[RA,JA],monday:[UA,KA],tuesday:[IA,eO],wednesday:[HA,tO],thursday:[qA,nO],friday:[WA,rO],saturday:[VA,iO],month:[YA,oO],year:[ZA,aO]},SO=Object.keys(TO),AO=new RegExp("^every\\s*(\\d+)?\\s*("+SO.join("|")+")s?$","i"),OO=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(AO);if(n){var r=n[1],i=n[2],o=TO[i][e.useUTC?1:0];if("day"===i){var a,s,c=e.domain(),l=c[0],u=c[1],f=new Date(u);return f.setDate(f.getDate()+1),null!=(a=null==(s=o.every(Number(null!=r?r:1)))?void 0:s.range(l,f))?a:[]}if(void 0===r)return e.ticks(o);var d=o.every(Number(r));if(d)return e.ticks(d)}throw new Error("Invalid tickValues: "+t)}if("ticks"in e){if(void 0===t)return e.ticks();if("number"==typeof(h=t)&&isFinite(h)&&Math.floor(h)===h)return e.ticks(t)}var h;return e.domain()};function jO(){return jO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jO.apply(this,arguments)}var EO=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,a=e.tickSize,s=e.tickPadding,c=e.tickRotation,l=e.truncateTickAt,u=e.engine,f=void 0===u?"svg":u,d=OO(r,o),h=_T[f],p="bandwidth"in r?MO(r):r,g={lineX:0,lineY:0},b={textX:0,textY:0},m="object"==typeof document&&"rtl"===document.dir,y=h.align.center,v=h.baseline.center;return"x"===n?(t=function(e){var t;return{x:null!=(t=p(e))?t:0,y:0}},g.lineY=a*("after"===i?1:-1),b.textY=(a+s)*("after"===i?1:-1),v="after"===i?h.baseline.top:h.baseline.bottom,0===c?y=h.align.center:"after"===i&&c<0||"before"===i&&c>0?(y=h.align[m?"left":"right"],v=h.baseline.center):("after"===i&&c>0||"before"===i&&c<0)&&(y=h.align[m?"right":"left"],v=h.baseline.center)):(t=function(e){var t;return{x:0,y:null!=(t=p(e))?t:0}},g.lineX=a*("after"===i?1:-1),b.textX=(a+s)*("after"===i?1:-1),y="after"===i?h.align.left:h.align.right),{ticks:d.map((function(e){var n="string"==typeof e?function(e){var t=String(e).length;return l&&l>0&&t>l?""+String(e).slice(0,l).concat("..."):""+e}(e):e;return jO({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),g,b)})),textAlign:y,textBaseline:v}},FO=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=Nx(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return nx(e)},LO=function(e){var t,n=e.width,r=e.height,i=e.scale,o=e.axis,a=e.values,s=(t=a,(Array.isArray(t)?a:void 0)||OO(i,a)),c="bandwidth"in i?MO(i):i,l="x"===o?s.map((function(e){var t,n;return{key:e instanceof Date?""+e.valueOf():""+e,x1:null!=(t=c(e))?t:0,x2:null!=(n=c(e))?n:0,y1:0,y2:r}})):s.map((function(e){var t,r;return{key:e instanceof Date?""+e.valueOf():""+e,x1:0,x2:n,y1:null!=(t=c(e))?t:0,y2:null!=(r=c(e))?r:0}}));return l},PO=m((function(e){var t,n=e.value,r=e.format,i=e.lineX,o=e.lineY,a=e.onClick,s=e.textBaseline,c=e.textAnchor,l=e.animatedProps,u=rT(),f=u.axis.ticks.line,d=u.axis.ticks.text,h=null!=(t=null==r?void 0:r(n))?t:n,p=b((function(){var e={opacity:l.opacity};return a?{style:jO({},e,{cursor:"pointer"}),onClick:function(e){return a(e,h)}}:{style:e}}),[l.opacity,a,h]);return M(jc.g,jO({transform:l.transform},p,{children:[M("line",{x1:0,x2:i,y1:0,y2:o,style:f}),d.outlineWidth>0&&M(jc.text,{dominantBaseline:s,textAnchor:c,transform:l.textTransform,style:d,strokeWidth:2*d.outlineWidth,stroke:d.outlineColor,strokeLinejoin:"round",children:""+h}),M(jc.text,{dominantBaseline:s,textAnchor:c,transform:l.textTransform,style:oT(d),children:""+h})]}))})),$O=m((function(e){var t=e.axis,r=e.scale,i=e.x,o=void 0===i?0:i,a=e.y,s=void 0===a?0:a,l=e.length,u=e.ticksPosition,f=e.tickValues,d=e.tickSize,h=void 0===d?5:d,g=e.tickPadding,m=void 0===g?5:g,y=e.tickRotation,v=void 0===y?0:y,_=e.format,w=e.renderTick,x=void 0===w?PO:w,C=e.truncateTickAt,k=e.legend,T=e.legendPosition,S=void 0===T?"end":T,A=e.legendOffset,O=void 0===A?0:A,j=e.onClick,E=e.ariaHidden,F=rT(),L=F.axis.legend.text,P=b((function(){return FO(_,r)}),[_,r]),$=EO({axis:t,scale:r,ticksPosition:u,tickValues:f,tickSize:h,tickPadding:m,tickRotation:v,truncateTickAt:C}),N=$.ticks,z=$.textAlign,B=$.textBaseline,D=null;if(void 0!==k){var R,U=0,I=0,H=0;"y"===t?(H=-90,U=O,"start"===S?(R="start",I=l):"middle"===S?(R="middle",I=l/2):"end"===S&&(R="end")):(I=O,"start"===S?R="start":"middle"===S?(R="middle",U=l/2):"end"===S&&(R="end",U=l)),D=M(n,{children:[L.outlineWidth>0&&M("text",{transform:"translate("+U+", "+I+") rotate("+H+")",textAnchor:R,style:jO({dominantBaseline:"central"},L),strokeWidth:2*L.outlineWidth,stroke:L.outlineColor,strokeLinejoin:"round",children:k}),M("text",{transform:"translate("+U+", "+I+") rotate("+H+")",textAnchor:R,style:jO({dominantBaseline:"central"},L),children:k})]})}var q=HM(),W=q.animate,V=q.config,Y=uc({transform:"translate("+o+","+s+")",lineX2:"x"===t?l:0,lineY2:"x"===t?0:l,config:V,immediate:!W}),Z=p((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+v+")"}}),[v]),G=p((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+v+")"}}),[v]),X=fc(N,{keys:function(e){return e.key},initial:Z,from:G,enter:Z,update:Z,leave:{opacity:0},config:V,immediate:!W});return M(jc.g,{transform:Y.transform,"aria-hidden":E,children:[X((function(e,t,n,r){return c.createElement(x,jO({tickIndex:r,format:P,rotate:v,textBaseline:B,textAnchor:z,truncateTickAt:C,animatedProps:e},t,j?{onClick:j}:{}))})),M(jc.line,{style:F.axis.domain.line,x1:0,x2:Y.lineX2,y1:0,y2:Y.lineY2}),D]})})),NO=["top","right","bottom","left"],zO=m((function(e){var t=e.xScale,r=e.yScale,i=e.width,o=e.height,a={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return M(n,{children:NO.map((function(e){var n=a[e];if(!n)return null;var s="top"===e||"bottom"===e;return M($O,jO({},n,{axis:s?"x":"y",x:"right"===e?i:0,y:"bottom"===e?o:0,scale:s?t:r,length:s?i:o,ticksPosition:"top"===e||"left"===e?"before":"after",truncateTickAt:n.truncateTickAt}),e)}))})})),BO=m((function(e){var t=e.animatedProps,n=rT();return M(jc.line,jO({},t,n.grid.line))})),DO=m((function(e){var t=e.lines,n=HM(),r=n.animate,i=fc(t,{keys:function(e){return e.key},initial:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},from:function(e){return{opacity:0,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},enter:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},update:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},leave:{opacity:0},config:n.config,immediate:!r});return M("g",{children:i((function(e,t){return v(BO,jO({},t,{key:t.key,animatedProps:e}))}))})})),RO=m((function(e){var t=e.width,r=e.height,i=e.xScale,o=e.yScale,a=e.xValues,s=e.yValues,c=b((function(){return!!i&&LO({width:t,height:r,scale:i,axis:"x",values:a})}),[i,a,t,r]),l=b((function(){return!!o&&LO({width:t,height:r,scale:o,axis:"y",values:s})}),[r,t,o,s]);return M(n,{children:[c&&M(DO,{lines:c}),l&&M(DO,{lines:l})]})})),UO=function(e,t){var n=t.xScale,r=t.yScale,i=t.width,o=t.height,a=t.top,s=t.right,c=t.bottom,l=t.left,u=t.theme,f={top:a,right:s,bottom:c,left:l};NO.forEach((function(t){var a=f[t];if(!a)return null;var s="top"===t||"bottom"===t,c="top"===t||"left"===t?"before":"after",l=s?n:r,d=FO(a.format,l);!function(e,t){var n,r=t.axis,i=t.scale,o=t.x,a=void 0===o?0:o,s=t.y,c=void 0===s?0:s,l=t.length,u=t.ticksPosition,f=t.tickValues,d=t.tickSize,h=void 0===d?5:d,p=t.tickPadding,g=void 0===p?5:p,b=t.tickRotation,m=void 0===b?0:b,y=t.format,v=t.legend,_=t.legendPosition,w=void 0===_?"end":_,x=t.legendOffset,C=void 0===x?0:x,k=t.theme,M=EO({axis:r,scale:i,ticksPosition:u,tickValues:f,tickSize:h,tickPadding:g,tickRotation:m,engine:"canvas"}),T=M.ticks,S=M.textAlign,A=M.textBaseline;e.save(),e.translate(a,c),e.textAlign=S,e.textBaseline=A;var O=k.axis.ticks.text;e.font=(O.fontWeight?O.fontWeight+" ":"")+O.fontSize+"px "+O.fontFamily,(null!=(n=k.axis.domain.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(k.axis.domain.line.strokeWidth),e.lineCap="square",k.axis.domain.line.stroke&&(e.strokeStyle=k.axis.domain.line.stroke),e.beginPath(),e.moveTo(0,0),e.lineTo("x"===r?l:0,"x"===r?0:l),e.stroke());var j="function"==typeof y?y:function(e){return""+e};if(T.forEach((function(t){var n;(null!=(n=k.axis.ticks.line.strokeWidth)?n:0)>0&&(e.lineWidth=Number(k.axis.ticks.line.strokeWidth),e.lineCap="square",k.axis.ticks.line.stroke&&(e.strokeStyle=k.axis.ticks.line.stroke),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(t.x+t.lineX,t.y+t.lineY),e.stroke());var r=j(t.value);e.save(),e.translate(t.x+t.textX,t.y+t.textY),e.rotate(vT(m)),O.outlineWidth>0&&(e.strokeStyle=O.outlineColor,e.lineWidth=2*O.outlineWidth,e.lineJoin="round",e.strokeText(""+r,0,0)),k.axis.ticks.text.fill&&(e.fillStyle=O.fill),e.fillText(""+r,0,0),e.restore()})),void 0!==v){var E=0,F=0,L=0,P="center";"y"===r?(L=-90,E=C,"start"===w?(P="start",F=l):"middle"===w?(P="center",F=l/2):"end"===w&&(P="end")):(F=C,"start"===w?P="start":"middle"===w?(P="center",E=l/2):"end"===w&&(P="end",E=l)),e.translate(E,F),e.rotate(vT(L)),e.font=(k.axis.legend.text.fontWeight?k.axis.legend.text.fontWeight+" ":"")+k.axis.legend.text.fontSize+"px "+k.axis.legend.text.fontFamily,k.axis.legend.text.fill&&(e.fillStyle=k.axis.legend.text.fill),e.textAlign=P,e.textBaseline="middle",e.fillText(v,0,0)}e.restore()}(e,jO({},a,{axis:s?"x":"y",x:"right"===t?i:0,y:"bottom"===t?o:0,scale:l,format:d,length:s?i:o,ticksPosition:c,theme:u}))}))},IO=function(e,t){var n=t.width,r=t.height,i=t.scale,o=t.axis,a=t.values;LO({width:n,height:r,scale:i,axis:o,values:a}).forEach((function(t){e.beginPath(),e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.stroke()}))};function HO(){return HO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HO.apply(this,arguments)}var qO,WO,VO={top:0,right:0,bottom:0,left:0},YO=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,o=e.itemCount,a=e.itemWidth,s=e.itemHeight;if("number"!=typeof i&&("object"!=typeof(t=i)||Array.isArray(t)||null===t))throw new Error("Invalid property padding, must be one of: number, object");var c="number"==typeof i?{top:i,right:i,bottom:i,left:i}:HO({},VO,i),l=c.left+c.right,u=c.top+c.bottom,f=a+l,d=s+u,h=(o-1)*r;return"row"===n?f=a*o+h+l:"column"===n&&(d=s*o+h+u),{width:f,height:d,padding:c}},ZO=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,a=e.width,s=e.height,c=n,l=r;switch(t){case"top":c+=(i-a)/2;break;case"top-right":c+=i-a;break;case"right":c+=i-a,l+=(o-s)/2;break;case"bottom-right":c+=i-a,l+=o-s;break;case"bottom":c+=(i-a)/2,l+=o-s;break;case"bottom-left":l+=o-s;break;case"left":l+=(o-s)/2;break;case"center":c+=(i-a)/2,l+=(o-s)/2}return{x:c,y:l}},GO=function(e){var t,n,r,i,o,a,s=e.direction,c=e.justify,l=e.symbolSize,u=e.symbolSpacing,f=e.width,d=e.height;switch(s){case"left-to-right":t=0,n=(d-l)/2,i=d/2,a="central",c?(r=f,o="end"):(r=l+u,o="start");break;case"right-to-left":t=f-l,n=(d-l)/2,i=d/2,a="central",c?(r=0,o="start"):(r=f-l-u,o="end");break;case"top-to-bottom":t=(f-l)/2,n=0,r=f/2,o="middle",c?(i=d,a="alphabetic"):(i=l+u,a="text-before-edge");break;case"bottom-to-top":t=(f-l)/2,n=d-l,r=f/2,o="middle",c?(i=0,a="text-before-edge"):(i=d-l-u,a="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:a}},XO={circle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,c=void 0===s?0:s,l=e.borderColor;return M("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:a,strokeWidth:c,stroke:void 0===l?"transparent":l,style:{pointerEvents:"none"}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,c=void 0===s?0:s,l=e.borderColor;return M("g",{transform:"translate("+t+","+n+")",children:M("path",{d:"\n M"+r/2+" 0\n L"+.8*r+" "+r/2+"\n L"+r/2+" "+r+"\n L"+.2*r+" "+r/2+"\n L"+r/2+" 0\n ",fill:i,opacity:a,strokeWidth:c,stroke:void 0===l?"transparent":l,style:{pointerEvents:"none"}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,c=void 0===s?0:s,l=e.borderColor;return M("rect",{x:t,y:n,fill:i,opacity:a,strokeWidth:c,stroke:void 0===l?"transparent":l,width:r,height:r,style:{pointerEvents:"none"}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,s=e.borderWidth,c=void 0===s?0:s,l=e.borderColor;return M("g",{transform:"translate("+t+","+n+")",children:M("path",{d:"\n M"+r/2+" 0\n L"+r+" "+r+"\n L0 "+r+"\n L"+r/2+" 0\n ",fill:i,opacity:a,strokeWidth:c,stroke:void 0===l?"transparent":l,style:{pointerEvents:"none"}})})}},QO=function(e){var t,n,r,i,o,a,s,l,u,d,h,g=e.x,b=e.y,m=e.width,y=e.height,v=e.data,_=e.direction,w=void 0===_?"left-to-right":_,x=e.justify,C=void 0!==x&&x,k=e.textColor,T=e.background,S=void 0===T?"transparent":T,A=e.opacity,O=void 0===A?1:A,j=e.symbolShape,E=void 0===j?"square":j,F=e.symbolSize,L=void 0===F?16:F,P=e.symbolSpacing,$=void 0===P?8:P,N=e.symbolBorderWidth,z=void 0===N?0:N,B=e.symbolBorderColor,D=void 0===B?"transparent":B,R=e.onClick,U=e.onMouseEnter,I=e.onMouseLeave,H=e.toggleSerie,q=e.effects,W=f({}),V=W[0],Y=W[1],Z=rT(),G=p((function(e){if(q){var t=q.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return HO({},e,t.style)}),{});Y(t)}null==U||U(v,e)}),[U,v,q]),X=p((function(e){if(q){var t=q.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return HO({},e,t.style)}),{});Y(t)}null==I||I(v,e)}),[I,v,q]),Q=GO({direction:w,justify:C,symbolSize:null!=(t=V.symbolSize)?t:L,symbolSpacing:$,width:m,height:y}),J=Q.symbolX,K=Q.symbolY,ee=Q.labelX,te=Q.labelY,ne=Q.labelAnchor,re=Q.labelAlignment,ie=[R,U,I,H].some((function(e){return void 0!==e})),oe="function"==typeof E?E:XO[E];return M("g",{transform:"translate("+g+","+b+")",style:{opacity:null!=(n=V.itemOpacity)?n:O},children:[M("rect",{width:m,height:y,fill:null!=(r=V.itemBackground)?r:S,style:{cursor:ie?"pointer":"auto"},onClick:function(e){null==R||R(v,e),null==H||H(v.id)},onMouseEnter:G,onMouseLeave:X}),c.createElement(oe,HO({id:v.id,x:J,y:K,size:null!=(i=V.symbolSize)?i:L,fill:null!=(o=null!=(a=v.fill)?a:v.color)?o:"black",borderWidth:null!=(s=V.symbolBorderWidth)?s:z,borderColor:null!=(l=V.symbolBorderColor)?l:D},v.hidden?Z.legends.hidden.symbol:void 0)),M("text",{textAnchor:ne,style:HO({},oT(Z.legends.text),{fill:null!=(u=null!=(d=null!=(h=V.itemTextColor)?h:k)?d:Z.legends.text.fill)?u:"black",dominantBaseline:re,pointerEvents:"none",userSelect:"none"},v.hidden?Z.legends.hidden.text:void 0),x:ee,y:te,children:v.label})]})},JO=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,o=e.padding,a=void 0===o?0:o,s=e.justify,c=e.effects,l=e.itemWidth,u=e.itemHeight,f=e.itemDirection,d=void 0===f?"left-to-right":f,h=e.itemsSpacing,p=void 0===h?0:h,g=e.itemTextColor,b=e.itemBackground,m=void 0===b?"transparent":b,y=e.itemOpacity,v=void 0===y?1:y,_=e.symbolShape,w=e.symbolSize,x=e.symbolSpacing,C=e.symbolBorderWidth,k=e.symbolBorderColor,T=e.onClick,S=e.onMouseEnter,A=e.onMouseLeave,O=e.toggleSerie,j=YO({itemCount:t.length,itemWidth:l,itemHeight:u,itemsSpacing:p,direction:i,padding:a}).padding,E="row"===i?l+p:0,F="column"===i?u+p:0;return M("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return M(QO,{data:e,x:t*E+j.left,y:t*F+j.top,width:l,height:u,direction:d,justify:s,effects:c,textColor:g,background:m,opacity:v,symbolShape:_,symbolSize:w,symbolSpacing:x,symbolBorderWidth:C,symbolBorderColor:k,onClick:T,onMouseEnter:S,onMouseLeave:A,toggleSerie:O},t)}))})},KO=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,o=void 0===i?0:i,a=e.translateY,s=void 0===a?0:a,c=e.anchor,l=e.direction,u=e.padding,f=void 0===u?0:u,d=e.justify,h=e.itemsSpacing,p=void 0===h?0:h,g=e.itemWidth,b=e.itemHeight,m=e.itemDirection,y=e.itemTextColor,v=e.itemBackground,_=e.itemOpacity,w=e.symbolShape,x=e.symbolSize,C=e.symbolSpacing,k=e.symbolBorderWidth,T=e.symbolBorderColor,S=e.onClick,A=e.onMouseEnter,O=e.onMouseLeave,j=e.toggleSerie,E=e.effects,F=YO({itemCount:t.length,itemsSpacing:p,itemWidth:g,itemHeight:b,direction:l,padding:f}),L=F.width,P=F.height,$=ZO({anchor:c,translateX:o,translateY:s,containerWidth:n,containerHeight:r,width:L,height:P}),N=$.x,z=$.y;return M(JO,{data:t,x:N,y:z,direction:l,padding:f,justify:d,effects:E,itemsSpacing:p,itemWidth:g,itemHeight:b,itemDirection:m,itemTextColor:y,itemBackground:v,itemOpacity:_,symbolShape:w,symbolSize:x,symbolSpacing:C,symbolBorderWidth:k,symbolBorderColor:T,onClick:S,onMouseEnter:A,onMouseLeave:O,toggleSerie:"boolean"==typeof j?void 0:j})},ej={start:"left",middle:"center",end:"right"},tj=function(e,t){var n=t.data,r=t.containerWidth,i=t.containerHeight,o=t.translateX,a=void 0===o?0:o,s=t.translateY,c=void 0===s?0:s,l=t.anchor,u=t.direction,f=t.padding,d=void 0===f?0:f,h=t.justify,p=void 0!==h&&h,g=t.itemsSpacing,b=void 0===g?0:g,m=t.itemWidth,y=t.itemHeight,v=t.itemDirection,_=void 0===v?"left-to-right":v,w=t.itemTextColor,x=t.symbolSize,C=void 0===x?16:x,k=t.symbolSpacing,M=void 0===k?8:k,T=t.theme,S=YO({itemCount:n.length,itemWidth:m,itemHeight:y,itemsSpacing:b,direction:u,padding:d}),A=S.width,O=S.height,j=S.padding,E=ZO({anchor:l,translateX:a,translateY:c,containerWidth:r,containerHeight:i,width:A,height:O}),F=E.x,L=E.y,P="row"===u?m+b:0,$="column"===u?y+b:0;e.save(),e.translate(F,L),e.font=T.legends.text.fontSize+"px "+(T.legends.text.fontFamily||"sans-serif"),n.forEach((function(t,n){var r,i,o=n*P+j.left,a=n*$+j.top,s=GO({direction:_,justify:p,symbolSize:C,symbolSpacing:M,width:m,height:y}),c=s.symbolX,l=s.symbolY,u=s.labelX,f=s.labelY,d=s.labelAnchor,h=s.labelAlignment;e.fillStyle=null!=(r=t.color)?r:"black",e.fillRect(o+c,a+l,C,C),e.textAlign=ej[d],"central"===h&&(e.textBaseline="middle"),e.fillStyle=null!=(i=null!=w?w:T.legends.text.fill)?i:"black",e.fillText(String(t.label),o+u,a+f)})),e.restore()};var nj=function(){if(WO)return qO;WO=1;var e=Kh(),t=0;return qO=function(n){var r=++t;return e(n)+r},qO}(),rj=ur(nj);const ij=134217729;function oj(e,t,n,r,i){let o,a,s,c,l=t[0],u=r[0],f=0,d=0;u>l==u>-l?(o=l,l=t[++f]):(o=u,u=r[++d]);let h=0;if(f<e&&d<n)for(u>l==u>-l?(a=l+o,s=o-(a-l),l=t[++f]):(a=u+o,s=o-(a-u),u=r[++d]),o=a,0!==s&&(i[h++]=s);f<e&&d<n;)u>l==u>-l?(a=o+l,c=a-o,s=o-(a-c)+(l-c),l=t[++f]):(a=o+u,c=a-o,s=o-(a-c)+(u-c),u=r[++d]),o=a,0!==s&&(i[h++]=s);for(;f<e;)a=o+l,c=a-o,s=o-(a-c)+(l-c),l=t[++f],o=a,0!==s&&(i[h++]=s);for(;d<n;)a=o+u,c=a-o,s=o-(a-c)+(u-c),u=r[++d],o=a,0!==s&&(i[h++]=s);return 0===o&&0!==h||(i[h++]=o),h}function aj(e){return new Float64Array(e)}const sj=aj(4),cj=aj(8),lj=aj(12),uj=aj(16),fj=aj(4);function dj(e,t,n,r,i,o){const a=(t-o)*(n-i),s=(e-i)*(r-o),c=a-s,l=Math.abs(a+s);return Math.abs(c)>=33306690738754716e-32*l?c:-function(e,t,n,r,i,o,a){let s,c,l,u,f,d,h,p,g,b,m,y,v,_,w,x,C,k;const M=e-i,T=n-i,S=t-o,A=r-o;_=M*A,d=ij*M,h=d-(d-M),p=M-h,d=ij*A,g=d-(d-A),b=A-g,w=p*b-(_-h*g-p*g-h*b),x=S*T,d=ij*S,h=d-(d-S),p=S-h,d=ij*T,g=d-(d-T),b=T-g,C=p*b-(x-h*g-p*g-h*b),m=w-C,f=w-m,sj[0]=w-(m+f)+(f-C),y=_+m,f=y-_,v=_-(y-f)+(m-f),m=v-x,f=v-m,sj[1]=v-(m+f)+(f-x),k=y+m,f=k-y,sj[2]=y-(k-f)+(m-f),sj[3]=k;let O=function(e,t){let n=t[0];for(let r=1;r<e;r++)n+=t[r];return n}(4,sj),j=22204460492503146e-32*a;if(O>=j||-O>=j)return O;if(f=e-M,s=e-(M+f)+(f-i),f=n-T,l=n-(T+f)+(f-i),f=t-S,c=t-(S+f)+(f-o),f=r-A,u=r-(A+f)+(f-o),0===s&&0===c&&0===l&&0===u)return O;if(j=11093356479670487e-47*a+33306690738754706e-32*Math.abs(O),O+=M*u+A*s-(S*l+T*c),O>=j||-O>=j)return O;_=s*A,d=ij*s,h=d-(d-s),p=s-h,d=ij*A,g=d-(d-A),b=A-g,w=p*b-(_-h*g-p*g-h*b),x=c*T,d=ij*c,h=d-(d-c),p=c-h,d=ij*T,g=d-(d-T),b=T-g,C=p*b-(x-h*g-p*g-h*b),m=w-C,f=w-m,fj[0]=w-(m+f)+(f-C),y=_+m,f=y-_,v=_-(y-f)+(m-f),m=v-x,f=v-m,fj[1]=v-(m+f)+(f-x),k=y+m,f=k-y,fj[2]=y-(k-f)+(m-f),fj[3]=k;const E=oj(4,sj,4,fj,cj);_=M*u,d=ij*M,h=d-(d-M),p=M-h,d=ij*u,g=d-(d-u),b=u-g,w=p*b-(_-h*g-p*g-h*b),x=S*l,d=ij*S,h=d-(d-S),p=S-h,d=ij*l,g=d-(d-l),b=l-g,C=p*b-(x-h*g-p*g-h*b),m=w-C,f=w-m,fj[0]=w-(m+f)+(f-C),y=_+m,f=y-_,v=_-(y-f)+(m-f),m=v-x,f=v-m,fj[1]=v-(m+f)+(f-x),k=y+m,f=k-y,fj[2]=y-(k-f)+(m-f),fj[3]=k;const F=oj(E,cj,4,fj,lj);_=s*u,d=ij*s,h=d-(d-s),p=s-h,d=ij*u,g=d-(d-u),b=u-g,w=p*b-(_-h*g-p*g-h*b),x=c*l,d=ij*c,h=d-(d-c),p=c-h,d=ij*l,g=d-(d-l),b=l-g,C=p*b-(x-h*g-p*g-h*b),m=w-C,f=w-m,fj[0]=w-(m+f)+(f-C),y=_+m,f=y-_,v=_-(y-f)+(m-f),m=v-x,f=v-m,fj[1]=v-(m+f)+(f-x),k=y+m,f=k-y,fj[2]=y-(k-f)+(m-f),fj[3]=k;const L=oj(F,lj,4,fj,uj);return uj[L-1]}(e,t,n,r,i,o,l)}const hj=Math.pow(2,-52),pj=new Uint32Array(512);class gj{static from(e,t=wj,n=xj){const r=e.length,i=new Float64Array(2*r);for(let o=0;o<r;o++){const r=e[o];i[2*o]=t(r),i[2*o+1]=n(r)}return new gj(i)}constructor(e){const t=e.length>>1;if(t>0&&"number"!=typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:i}=this,o=e.length>>1;let a=1/0,s=1/0,c=-1/0,l=-1/0;for(let t=0;t<o;t++){const n=e[2*t],r=e[2*t+1];n<a&&(a=n),r<s&&(s=r),n>c&&(c=n),r>l&&(l=r),this._ids[t]=t}const u=(a+c)/2,f=(s+l)/2;let d,h,p;for(let t=0,n=1/0;t<o;t++){const r=bj(u,f,e[2*t],e[2*t+1]);r<n&&(d=t,n=r)}const g=e[2*d],b=e[2*d+1];for(let t=0,n=1/0;t<o;t++){if(t===d)continue;const r=bj(g,b,e[2*t],e[2*t+1]);r<n&&r>0&&(h=t,n=r)}let m=e[2*h],y=e[2*h+1],v=1/0;for(let t=0;t<o;t++){if(t===d||t===h)continue;const n=yj(g,b,m,y,e[2*t],e[2*t+1]);n<v&&(p=t,v=n)}let _=e[2*p],w=e[2*p+1];if(v===1/0){for(let t=0;t<o;t++)this._dists[t]=e[2*t]-e[0]||e[2*t+1]-e[1];vj(this._ids,this._dists,0,o-1);const t=new Uint32Array(o);let n=0;for(let e=0,r=-1/0;e<o;e++){const i=this._ids[e],o=this._dists[i];o>r&&(t[n++]=i,r=o)}return this.hull=t.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(dj(g,b,m,y,_,w)<0){const e=h,t=m,n=y;h=p,m=_,y=w,p=e,_=t,w=n}const x=function(e,t,n,r,i,o){const a=n-e,s=r-t,c=i-e,l=o-t,u=a*a+s*s,f=c*c+l*l,d=.5/(a*l-s*c),h=e+(l*u-s*f)*d,p=t+(a*f-c*u)*d;return{x:h,y:p}}(g,b,m,y,_,w);this._cx=x.x,this._cy=x.y;for(let t=0;t<o;t++)this._dists[t]=bj(e[2*t],e[2*t+1],x.x,x.y);vj(this._ids,this._dists,0,o-1),this._hullStart=d;let C=3;n[d]=t[p]=h,n[h]=t[d]=p,n[p]=t[h]=d,r[d]=0,r[h]=1,r[p]=2,i.fill(-1),i[this._hashKey(g,b)]=d,i[this._hashKey(m,y)]=h,i[this._hashKey(_,w)]=p,this.trianglesLen=0,this._addTriangle(d,h,p,-1,-1,-1);for(let o,a,s=0;s<this._ids.length;s++){const c=this._ids[s],l=e[2*c],u=e[2*c+1];if(s>0&&Math.abs(l-o)<=hj&&Math.abs(u-a)<=hj)continue;if(o=l,a=u,c===d||c===h||c===p)continue;let f=0;for(let e=0,t=this._hashKey(l,u);e<this._hashSize&&(f=i[(t+e)%this._hashSize],-1===f||f===n[f]);e++);f=t[f];let g,b=f;for(;g=n[b],dj(l,u,e[2*b],e[2*b+1],e[2*g],e[2*g+1])>=0;)if(b=g,b===f){b=-1;break}if(-1===b)continue;let m=this._addTriangle(b,c,n[b],-1,-1,r[b]);r[c]=this._legalize(m+2),r[b]=m,C++;let y=n[b];for(;g=n[y],dj(l,u,e[2*y],e[2*y+1],e[2*g],e[2*g+1])<0;)m=this._addTriangle(y,c,g,r[c],-1,r[y]),r[c]=this._legalize(m+2),n[y]=y,C--,y=g;if(b===f)for(;g=t[b],dj(l,u,e[2*g],e[2*g+1],e[2*b],e[2*b+1])<0;)m=this._addTriangle(g,c,b,-1,r[b],r[g]),this._legalize(m+2),r[g]=m,n[b]=b,C--,b=g;this._hullStart=t[c]=b,n[b]=t[y]=c,n[c]=y,i[this._hashKey(l,u)]=c,i[this._hashKey(e[2*b],e[2*b+1])]=b}this.hull=new Uint32Array(C);for(let e=0,t=this._hullStart;e<C;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let i=0,o=0;for(;;){const a=n[e],s=e-e%3;if(o=s+(e+2)%3,-1===a){if(0===i)break;e=pj[--i];continue}const c=a-a%3,l=s+(e+1)%3,u=c+(a+2)%3,f=t[o],d=t[e],h=t[l],p=t[u];if(mj(r[2*f],r[2*f+1],r[2*d],r[2*d+1],r[2*h],r[2*h+1],r[2*p],r[2*p+1])){t[e]=p,t[a]=f;const r=n[u];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===u){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(a,n[o]),this._link(o,u);const s=c+(a+1)%3;i<pj.length&&(pj[i++]=s)}else{if(0===i)break;e=pj[--i]}}return o}_link(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)}_addTriangle(e,t,n,r,i,o){const a=this.trianglesLen;return this._triangles[a]=e,this._triangles[a+1]=t,this._triangles[a+2]=n,this._link(a,r),this._link(a+1,i),this._link(a+2,o),this.trianglesLen+=3,a}}function bj(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}function mj(e,t,n,r,i,o,a,s){const c=e-a,l=t-s,u=n-a,f=r-s,d=i-a,h=o-s,p=u*u+f*f,g=d*d+h*h;return c*(f*g-p*h)-l*(u*g-p*d)+(c*c+l*l)*(u*h-f*d)<0}function yj(e,t,n,r,i,o){const a=n-e,s=r-t,c=i-e,l=o-t,u=a*a+s*s,f=c*c+l*l,d=.5/(a*l-s*c),h=(l*u-s*f)*d,p=(a*f-c*u)*d;return h*h+p*p}function vj(e,t,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const r=e[i],o=t[r];let a=i-1;for(;a>=n&&t[e[a]]>o;)e[a+1]=e[a--];e[a+1]=r}else{let i=n+1,o=r;_j(e,n+r>>1,i),t[e[n]]>t[e[r]]&&_j(e,n,r),t[e[i]]>t[e[r]]&&_j(e,i,r),t[e[n]]>t[e[i]]&&_j(e,n,i);const a=e[i],s=t[a];for(;;){do{i++}while(t[e[i]]<s);do{o--}while(t[e[o]]>s);if(o<i)break;_j(e,i,o)}e[n+1]=e[o],e[o]=a,r-i+1>=o-n?(vj(e,t,i,r),vj(e,t,n,o-1)):(vj(e,t,n,o-1),vj(e,t,i,r))}}function _j(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function wj(e){return e[0]}function xj(e){return e[1]}const Cj=1e-6;class kj{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,n){const r=(e=+e)+(n=+n),i=t=+t;if(n<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>Cj||Math.abs(this._y1-i)>Cj)&&(this._+="L"+r+","+i),n&&(this._+=`A${n},${n},0,1,1,${e-n},${t}A${n},${n},0,1,1,${this._x1=r},${this._y1=i}`)}rect(e,t,n,r){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class Mj{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class Tj{constructor(e,[t,n,r,i]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(i=+i)>=(n=+n)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=i,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this;let i,o;const a=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let r,s,c=0,l=0,u=n.length;c<u;c+=3,l+=2){const u=2*n[c],f=2*n[c+1],d=2*n[c+2],h=e[u],p=e[u+1],g=e[f],b=e[f+1],m=e[d],y=e[d+1],v=g-h,_=b-p,w=m-h,x=y-p,C=2*(v*x-_*w);if(Math.abs(C)<1e-9){if(void 0===i){i=o=0;for(const n of t)i+=e[2*n],o+=e[2*n+1];i/=t.length,o/=t.length}const n=1e9*Math.sign((i-h)*x-(o-p)*w);r=(h+m)/2-n*x,s=(p+y)/2+n*w}else{const e=1/C,t=v*v+_*_,n=w*w+x*x;r=h+(x*t-_*n)*e,s=p+(v*n-w*t)*e}a[l]=r,a[l+1]=s}let s,c,l,u=t[t.length-1],f=4*u,d=e[2*u],h=e[2*u+1];r.fill(0);for(let n=0;n<t.length;++n)u=t[n],s=f,c=d,l=h,f=4*u,d=e[2*u],h=e[2*u+1],r[s+2]=r[f]=l-h,r[s+3]=r[f+1]=d-c}render(e){const t=null==e?e=new kj:void 0,{delaunay:{halfedges:n,inedges:r,hull:i},circumcenters:o,vectors:a}=this;if(i.length<=1)return null;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const i=2*Math.floor(t/3),a=2*Math.floor(r/3),s=o[i],c=o[i+1],l=o[a],u=o[a+1];this._renderSegment(s,c,l,u,e)}let s,c=i[i.length-1];for(let t=0;t<i.length;++t){s=c,c=i[t];const n=2*Math.floor(r[c]/3),l=o[n],u=o[n+1],f=4*s,d=this._project(l,u,a[f+2],a[f+3]);d&&this._renderSegment(l,u,d[0],d[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new kj:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),t&&t.value()}renderCell(e,t){const n=null==t?t=new kj:void 0,r=this._clip(e);if(null===r||!r.length)return;t.moveTo(r[0],r[1]);let i=r.length;for(;r[0]===r[i-2]&&r[1]===r[i-1]&&i>1;)i-=2;for(let e=2;e<i;e+=2)r[e]===r[e-2]&&r[e+1]===r[e-1]||t.lineTo(r[e],r[e+1]);return t.closePath(),n&&n.value()}*cellPolygons(){const{delaunay:{points:e}}=this;for(let t=0,n=e.length/2;t<n;++t){const e=this.cellPolygon(t);e&&(e.index=t,yield e)}}cellPolygon(e){const t=new Mj;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,i){let o;const a=this._regioncode(e,t),s=this._regioncode(n,r);0===a&&0===s?(i.moveTo(e,t),i.lineTo(n,r)):(o=this._clipSegment(e,t,n,r,a,s))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}contains(e,t,n){return(t=+t)==t&&(n=+n)==n&&this.delaunay._step(e,t,n)===e}*neighbors(e){const t=this._clip(e);if(t)for(const n of this.delaunay.neighbors(e)){const e=this._clip(n);if(e)e:for(let r=0,i=t.length;r<i;r+=2)for(let o=0,a=e.length;o<a;o+=2)if(t[r]===e[o]&&t[r+1]===e[o+1]&&t[(r+2)%i]===e[(o+a-2)%a]&&t[(r+3)%i]===e[(o+a-1)%a]){yield n;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:n,halfedges:r,triangles:i}}=this,o=n[e];if(-1===o)return null;const a=[];let s=o;do{const n=Math.floor(s/3);if(a.push(t[2*n],t[2*n+1]),s=s%3==2?s-2:s+1,i[s]!==e)break;s=r[s]}while(s!==o&&-1!==s);return a}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:n}=this,r=4*e;return this._simplify(n[r]||n[r+1]?this._clipInfinite(e,t,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(e,t))}_clipFinite(e,t){const n=t.length;let r,i,o,a,s=null,c=t[n-2],l=t[n-1],u=this._regioncode(c,l),f=0;for(let d=0;d<n;d+=2)if(r=c,i=l,c=t[d],l=t[d+1],o=u,u=this._regioncode(c,l),0===o&&0===u)a=f,f=0,s?s.push(c,l):s=[c,l];else{let t,n,d,h,p;if(0===o){if(null===(t=this._clipSegment(r,i,c,l,o,u)))continue;[n,d,h,p]=t}else{if(null===(t=this._clipSegment(c,l,r,i,u,o)))continue;[h,p,n,d]=t,a=f,f=this._edgecode(n,d),a&&f&&this._edge(e,a,f,s,s.length),s?s.push(n,d):s=[n,d]}a=f,f=this._edgecode(h,p),a&&f&&this._edge(e,a,f,s,s.length),s?s.push(h,p):s=[h,p]}if(s)a=f,f=this._edgecode(s[0],s[1]),a&&f&&this._edge(e,a,f,s,s.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return s}_clipSegment(e,t,n,r,i,o){const a=i<o;for(a&&([e,t,n,r,i,o]=[n,r,e,t,o,i]);;){if(0===i&&0===o)return a?[n,r,e,t]:[e,t,n,r];if(i&o)return null;let s,c,l=i||o;8&l?(s=e+(n-e)*(this.ymax-t)/(r-t),c=this.ymax):4&l?(s=e+(n-e)*(this.ymin-t)/(r-t),c=this.ymin):2&l?(c=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(c=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),i?(e=s,t=c,i=this._regioncode(e,t)):(n=s,r=c,o=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,i,o){let a,s=Array.from(t);if((a=this._project(s[0],s[1],n,r))&&s.unshift(a[0],a[1]),(a=this._project(s[s.length-2],s[s.length-1],i,o))&&s.push(a[0],a[1]),s=this._clipFinite(e,s))for(let t,n=0,r=s.length,i=this._edgecode(s[r-2],s[r-1]);n<r;n+=2)t=i,i=this._edgecode(s[n],s[n+1]),t&&i&&(n=this._edge(e,t,i,s,n),r=s.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}_edge(e,t,n,r,i){for(;t!==n;){let n,o;switch(t){case 5:t=4;continue;case 4:t=6,n=this.xmax,o=this.ymin;break;case 6:t=2;continue;case 2:t=10,n=this.xmax,o=this.ymax;break;case 10:t=8;continue;case 8:t=9,n=this.xmin,o=this.ymax;break;case 9:t=1;continue;case 1:t=5,n=this.xmin,o=this.ymin}r[i]===n&&r[i+1]===o||!this.contains(e,n,o)||(r.splice(i,0,n,o),i+=2)}return i}_project(e,t,n,r){let i,o,a,s=1/0;if(r<0){if(t<=this.ymin)return null;(i=(this.ymin-t)/r)<s&&(a=this.ymin,o=e+(s=i)*n)}else if(r>0){if(t>=this.ymax)return null;(i=(this.ymax-t)/r)<s&&(a=this.ymax,o=e+(s=i)*n)}if(n>0){if(e>=this.xmax)return null;(i=(this.xmax-e)/n)<s&&(o=this.xmax,a=t+(s=i)*r)}else if(n<0){if(e<=this.xmin)return null;(i=(this.xmin-e)/n)<s&&(o=this.xmin,a=t+(s=i)*r)}return[o,a]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}_simplify(e){if(e&&e.length>4){for(let t=0;t<e.length;t+=2){const n=(t+2)%e.length,r=(t+4)%e.length;(e[t]===e[n]&&e[n]===e[r]||e[t+1]===e[n+1]&&e[n+1]===e[r+1])&&(e.splice(n,2),t-=2)}e.length||(e=null)}return e}}const Sj=2*Math.PI,Aj=Math.pow;function Oj(e){return e[0]}function jj(e){return e[1]}function Ej(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class Fj{static from(e,t=Oj,n=jj,r){return new Fj("length"in e?function(e,t,n,r){const i=e.length,o=new Float64Array(2*i);for(let a=0;a<i;++a){const i=e[a];o[2*a]=t.call(r,i,a,e),o[2*a+1]=n.call(r,i,a,e)}return o}(e,t,n,r):Float64Array.from(function*(e,t,n,r){let i=0;for(const o of e)yield t.call(r,o,i,e),yield n.call(r,o,i,e),++i}(e,t,n,r)))}constructor(e){this._delaunator=new gj(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,t=this.points;if(e.hull&&e.hull.length>2&&function(e){const{triangles:t,coords:n}=e;for(let e=0;e<t.length;e+=3){const r=2*t[e],i=2*t[e+1],o=2*t[e+2];if((n[o]-n[r])*(n[i+1]-n[r+1])-(n[i]-n[r])*(n[o+1]-n[r+1])>1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},((e,t)=>t)).sort(((e,n)=>t[2*e]-t[2*n]||t[2*e+1]-t[2*n+1]));const e=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[t[2*e],t[2*e+1],t[2*n],t[2*n+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let e=0,n=t.length/2;e<n;++e){const n=Ej(t[2*e],t[2*e+1],i);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new gj(t)}else delete this.collinear;const n=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,i=this.triangles=this._delaunator.triangles,o=this.inedges.fill(-1),a=this._hullIndex.fill(-1);for(let e=0,t=n.length;e<t;++e){const t=i[e%3==2?e-2:e+1];-1!==n[e]&&-1!==o[t]||(o[t]=e)}for(let e=0,t=r.length;e<t;++e)a[r[e]]=e;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],o[r[0]]=1,2===r.length&&(o[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(e){return new Tj(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:i,triangles:o,collinear:a}=this;if(a){const t=a.indexOf(e);return t>0&&(yield a[t-1]),void(t<a.length-1&&(yield a[t+1]))}const s=t[e];if(-1===s)return;let c=s,l=-1;do{if(yield l=o[c],c=c%3==2?c-2:c+1,o[c]!==e)return;if(c=i[c],-1===c){const t=n[(r[e]+1)%n.length];return void(t!==l&&(yield t))}}while(c!==s)}find(e,t,n=0){if((e=+e)!=e||(t=+t)!=t)return-1;const r=n;let i;for(;(i=this._step(n,e,t))>=0&&i!==n&&i!==r;)n=i;return i}_step(e,t,n){const{inedges:r,hull:i,_hullIndex:o,halfedges:a,triangles:s,points:c}=this;if(-1===r[e]||!c.length)return(e+1)%(c.length>>1);let l=e,u=Aj(t-c[2*e],2)+Aj(n-c[2*e+1],2);const f=r[e];let d=f;do{let r=s[d];const f=Aj(t-c[2*r],2)+Aj(n-c[2*r+1],2);if(f<u&&(u=f,l=r),d=d%3==2?d-2:d+1,s[d]!==e)break;if(d=a[d],-1===d){if(d=i[(o[e]+1)%i.length],d!==r&&Aj(t-c[2*d],2)+Aj(n-c[2*d+1],2)<u)return d;break}}while(d!==f);return l}render(e){const t=null==e?e=new kj:void 0,{points:n,halfedges:r,triangles:i}=this;for(let t=0,o=r.length;t<o;++t){const o=r[t];if(o<t)continue;const a=2*i[t],s=2*i[o];e.moveTo(n[a],n[a+1]),e.lineTo(n[s],n[s+1])}return this.renderHull(e),t&&t.value()}renderPoints(e,t){void 0!==t||e&&"function"==typeof e.moveTo||(t=e,e=null),t=null==t?2:+t;const n=null==e?e=new kj:void 0,{points:r}=this;for(let n=0,i=r.length;n<i;n+=2){const i=r[n],o=r[n+1];e.moveTo(i+t,o),e.arc(i,o,t,0,Sj)}return n&&n.value()}renderHull(e){const t=null==e?e=new kj:void 0,{hull:n,points:r}=this,i=2*n[0],o=n.length;e.moveTo(r[i],r[i+1]);for(let t=1;t<o;++t){const i=2*n[t];e.lineTo(r[i],r[i+1])}return e.closePath(),t&&t.value()}hullPolygon(){const e=new Mj;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new kj:void 0,{points:r,triangles:i}=this,o=2*i[e*=3],a=2*i[e+1],s=2*i[e+2];return t.moveTo(r[o],r[o+1]),t.lineTo(r[a],r[a+1]),t.lineTo(r[s],r[s+1]),t.closePath(),n&&n.value()}*trianglePolygons(){const{triangles:e}=this;for(let t=0,n=e.length/3;t<n;++t)yield this.trianglePolygon(t)}trianglePolygon(e){const t=new Mj;return this.renderTriangle(e,t),t.value()}}var Lj=function(e){return[e.x,e.y]},Pj=XM,$j="cursor",Nj=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?Lj:n,i=e.margin,o=void 0===i?Pj:i;return t.map((function(e){var t=r(e),n=t[0],i=t[1];return[n+o.left,i+o.top]}))},zj=function(e){var t=e.points,n=e.getNodePosition,r=void 0===n?Lj:n,i=e.width,o=e.height,a=e.margin,s=void 0===a?Pj:a,c=e.debug;return b((function(){return function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=void 0===i?Pj:i,a=e.debug,s=Fj.from(t),c=a?s.voronoi([0,0,o.left+n+o.right,o.top+r+o.bottom]):void 0;return{points:t,delaunay:s,voronoi:c}}({points:Nj({points:t,margin:s,getNodePosition:r}),width:i,height:o,margin:s,debug:c})}),[t,i,o,s,c])},Bj=function(e){var t=e.elementRef,n=e.nodes,r=e.getNodePosition,i=void 0===r?Lj:r,o=e.delaunay,a=e.setCurrent,s=e.margin,c=void 0===s?Pj:s,u=e.detectionRadius,h=void 0===u?1/0:u,g=e.isInteractive,m=void 0===g||g,y=e.onMouseEnter,v=e.onMouseMove,_=e.onMouseLeave,w=e.onClick,x=e.onTouchStart,C=e.onTouchMove,k=e.onTouchEnd,M=e.enableTouchCrosshair,T=void 0!==M&&M,S=e.tooltip,A=e.tooltipPosition,O=void 0===A?$j:A,j=e.tooltipAnchor,E=void 0===j?"top":j,F=f(null),L=F[0],P=F[1],$=d(null);l((function(){$.current=L}),[$,L]);var N=p((function(e){if(!t.current)return null;var r=GT(t.current,e),a=r[0],s=r[1],l=o.find(a,s),u=void 0!==l?n[l]:null;if(u&&h!==1/0){var f=i(u),d=f[0],p=f[1];(function(e,t,n,r){var i=n-e,o=r-t;return i*=i,o*=o,Math.sqrt(i+o)})(a,s,d+c.left,p+c.top)>h&&(l=null,u=null)}return null===l||null===u?null:[l,u]}),[t,o,n,i,c,h]),z=Pu(),B=z.showTooltipAt,D=z.showTooltipFromEvent,R=z.hideTooltip,U=b((function(){if(S)return"cursor"===O?function(e,t){D(S(e),t,E)}:function(e){var t=i(e),n=t[0],r=t[1];B(S(e),[n+c.left,r+c.top],E)}}),[B,D,S,O,E,i,c]),I=p((function(e){var t=N(e);if(P(t),null==a||a(t?t[1]:null),t){var n=t[1];null==U||U(n,e),null==y||y(t[1],e)}}),[N,P,a,U,y]),H=p((function(e){var t=N(e);if(P(t),t){var n=t[0],r=t[1];if(null==a||a(r),null==U||U(r,e),$.current){var i=$.current,o=i[0],s=i[1];n!==o?null==_||_(s,e):null==v||v(r,e)}else null==y||y(r,e)}else null==a||a(null),null==R||R(),$.current&&(null==_||_($.current[1],e))}),[N,P,$,y,v,_,U,R]),q=p((function(e){P(null),null==a||a(null),R(),_&&$.current&&_($.current[1],e)}),[P,a,$,R,_]),W=p((function(e){var t=N(e);P(t),t&&(null==w||w(t[1],e))}),[N,P,w]),V=p((function(e){var t=N(e);T&&(P(t),null==a||a(t?t[1]:null)),t&&(null==x||x(t[1],e))}),[N,P,a,T,x]),Y=p((function(e){var t=N(e);T&&(P(t),null==a||a(t?t[1]:null)),t&&(null==C||C(t[1],e))}),[N,P,a,T,C]),Z=p((function(e){T&&(P(null),null==a||a(null)),k&&$.current&&k($.current[1],e)}),[T,P,a,k,$]);return{current:L,handleMouseEnter:m?I:void 0,handleMouseMove:m?H:void 0,handleMouseLeave:m?q:void 0,handleClick:m?W:void 0,handleTouchStart:m?V:void 0,handleTouchMove:m?Y:void 0,handleTouchEnd:m?Z:void 0}},Dj=function(e){var t=e.nodes,r=e.width,i=e.height,o=e.margin,a=void 0===o?Pj:o,s=e.getNodePosition,c=e.setCurrent,l=e.onMouseEnter,u=e.onMouseMove,f=e.onMouseLeave,h=e.onClick,p=e.onTouchStart,g=e.onTouchMove,m=e.onTouchEnd,y=e.enableTouchCrosshair,v=void 0!==y&&y,_=e.detectionRadius,w=void 0===_?1/0:_,x=e.tooltip,C=e.tooltipPosition,k=void 0===C?$j:C,T=e.tooltipAnchor,S=void 0===T?"top":T,A=e.debug,O=d(null),j=zj({points:t,getNodePosition:s,width:r,height:i,margin:a,debug:A}),E=j.delaunay,F=j.voronoi,L=Bj({elementRef:O,nodes:t,delaunay:E,margin:a,detectionRadius:w,setCurrent:c,onMouseEnter:l,onMouseMove:u,onMouseLeave:f,onClick:h,onTouchStart:p,onTouchMove:g,onTouchEnd:m,enableTouchCrosshair:v,tooltip:x,tooltipPosition:k,tooltipAnchor:S}),P=L.current,$=L.handleMouseEnter,N=L.handleMouseMove,z=L.handleMouseLeave,B=L.handleClick,D=L.handleTouchStart,R=L.handleTouchMove,U=L.handleTouchEnd,I=b((function(){if(A&&F)return F.render()}),[A,F]);return M("g",{ref:O,transform:"translate("+-a.left+","+-a.top+")",children:[A&&F&&M(n,{children:[M("path",{d:I,stroke:"red",strokeWidth:1,opacity:.75}),w<1/0&&M("path",{stroke:"red",strokeWidth:.35,fill:"none",d:E.renderPoints(void 0,w)}),P&&M("path",{fill:"pink",opacity:.35,d:F.renderCell(P[0])})]}),M("rect",{"data-ref":"mesh-interceptor",width:a.left+r+a.right,height:a.top+i+a.bottom,fill:"red",opacity:0,style:{cursor:"auto"},onMouseEnter:$,onMouseMove:N,onMouseLeave:z,onTouchStart:D,onTouchMove:R,onTouchEnd:U,onClick:B})]})};function Rj(){return Rj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rj.apply(this,arguments)}var Uj=m((function(e){var t=e.point;return M(Nc,{id:M("span",{children:["x: ",M("strong",{children:t.data.xFormatted}),", y:"," ",M("strong",{children:t.data.yFormatted})]}),enableChip:!0,color:t.serieColor})})),Ij=m((function(e){var t=e.slice,n=e.axis,r=rT(),i="x"===n?"y":"x";return M(Bc,{rows:t.points.map((function(e){return[M($c,{color:e.serieColor,style:r.tooltip.chip},"chip"),e.serieId,M("span",{style:r.tooltip.tableCellValue,children:e.data[i+"Formatted"]},"value")]}))})})),Hj={curve:"linear",xScale:{type:"point"},yScale:{type:"linear",min:0,max:"auto"},layers:["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"],axisBottom:{},axisLeft:{},enableGridX:!0,enableGridY:!0,enablePoints:!0,pointSize:6,pointColor:{from:"color"},pointBorderWidth:0,pointBorderColor:{theme:"background"},enablePointLabel:!1,pointLabel:"yFormatted",colors:{scheme:"nivo"},enableArea:!1,areaBaselineValue:0,areaOpacity:.2,areaBlendMode:"normal",lineWidth:2,legends:[],isInteractive:!0,tooltip:Uj,enableSlices:!1,debugSlices:!1,sliceTooltip:Ij,debugMesh:!1,enableCrosshair:!0,crosshairType:"bottom-left"},qj=Rj({},Hj,{enablePointLabel:!1,useMesh:!1,enableTouchCrosshair:!1,animate:!0,motionConfig:"gentle",defs:[],fill:[],role:"img",initialHiddenIds:[]});Rj({},Hj,{pixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1});var Wj=function(e){var t=e.curve;return b((function(){return pw().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y((function(e){return e.y})).curve(GM(t))}),[t])},Vj=function(e){var t=e.curve,n=e.yScale,r=e.areaBaselineValue;return b((function(){return function(e,t,n){var r=null,i=tw(!0),o=null,a=fw,s=null,c=cw(l);function l(l){var u,f,d,h,p,g=(l=lw(l)).length,b=!1,m=new Array(g),y=new Array(g);for(null==o&&(s=a(p=c())),u=0;u<=g;++u){if(!(u<g&&i(h=l[u],u,l))===b)if(b=!b)f=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),d=u-1;d>=f;--d)s.point(m[d],y[d]);s.lineEnd(),s.areaEnd()}b&&(m[u]=+e(h,u,l),y[u]=+t(h,u,l),s.point(r?+r(h,u,l):m[u],n?+n(h,u,l):y[u]))}if(p)return s=null,p+""||null}function u(){return pw().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?dw:tw(+e),t="function"==typeof t?t:tw(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?hw:tw(+n),l.x=function(t){return arguments.length?(e="function"==typeof t?t:tw(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e="function"==typeof t?t:tw(+t),l):e},l.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:tw(+e),l):r},l.y=function(e){return arguments.length?(t="function"==typeof e?e:tw(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t="function"==typeof e?e:tw(+e),l):t},l.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:tw(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i="function"==typeof e?e:tw(!!e),l):i},l.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),l):a},l.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),l):o},l}().defined((function(e){return null!==e.x&&null!==e.y})).x((function(e){return e.x})).y1((function(e){return e.y})).curve(GM(t)).y0(n(r))}),[t,n,r])},Yj=function(e){var t=e.data,n=e.xScale,r=void 0===n?qj.xScale:n,i=e.xFormat,o=e.yScale,a=void 0===o?qj.yScale:o,s=e.yFormat,c=e.width,l=e.height,u=e.colors,d=void 0===u?qj.colors:u,h=e.curve,g=void 0===h?qj.curve:h,m=e.areaBaselineValue,y=void 0===m?qj.areaBaselineValue:m,v=e.pointColor,_=void 0===v?qj.pointColor:v,w=e.pointBorderColor,x=void 0===w?qj.pointBorderColor:w,C=e.enableSlices,k=void 0===C?qj.enableSlicesTooltip:C,M=e.initialHiddenIds,T=void 0===M?qj.initialHiddenIds:M,S=f(rj("line"))[0],A=KM(i),O=KM(s),j=function(e,t){return b((function(){return wS(e,t)}),[e,t])}(d,"id"),E=rT(),F=dS(_,E),L=dS(x,E),P=f(null!=T?T:[]),$=P[0],N=P[1],z=b((function(){return function(e,t,n,r,i){var o=e.map((function(e){return function(e){return sO({},e,{data:e.data.map((function(e){return{data:sO({},e)}}))})}(e)})),a=_O(o,t,n);"stacked"in t&&!0===t.stacked&&CO(a,o),"stacked"in n&&!0===n.stacked&&kO(a,o);var s=yO(t,a.x,r,"x"),c=yO(n,a.y,i,"y"),l=o.map((function(e){return sO({},e,{data:e.data.map((function(e){return sO({},e,{position:{x:vO(e,"x",s),y:vO(e,"y",c)}})}))})}));return sO({},a,{series:l,xScale:s,yScale:c})}(t.filter((function(e){return-1===$.indexOf(e.id)})),r,a,c,l)}),[t,$,r,a,c,l]),B=z.xScale,D=z.yScale,R=z.series,U=b((function(){var e=t.map((function(e){return{id:e.id,label:e.id,color:j(e)}})),n=e.map((function(e){return Rj({},R.find((function(t){return t.id===e.id})),{color:e.color})})).filter((function(e){return Boolean(e.id)}));return{legendData:e.map((function(e){return Rj({},e,{hidden:!n.find((function(t){return t.id===e.id}))})})).reverse(),series:n}}),[t,R,j]),I=U.legendData,H=U.series,q=p((function(e){N((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),W=function(e){var t=e.series,n=e.getPointColor,r=e.getPointBorderColor,i=e.formatX,o=e.formatY;return b((function(){return t.reduce((function(e,t){return[].concat(e,t.data.filter((function(e){return null!==e.position.x&&null!==e.position.y})).map((function(a,s){var c={id:t.id+"."+s,index:e.length+s,serieId:t.id,serieColor:t.color,x:a.position.x,y:a.position.y};return c.color=n(t),c.borderColor=r(c),c.data=Rj({},a.data,{xFormatted:i(a.data.x),yFormatted:o(a.data.y)}),c})))}),[])}),[t,n,r,i,o])}({series:H,getPointColor:F,getPointBorderColor:L,formatX:A,formatY:O}),V=function(e){var t=e.componentId,n=e.enableSlices,r=e.points,i=e.width,o=e.height;return b((function(){if(!1===n)return[];if("x"===n){var e=new Map;return r.forEach((function(t){null!==t.data.x&&null!==t.data.y&&(e.has(t.x)?e.get(t.x).push(t):e.set(t.x,[t]))})),Array.from(e.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,n,r){var a,s,c=e[0],l=e[1],u=r[n-1],f=r[n+1];return a=u?c-(c-u[0])/2:c,s=f?c-a+(f[0]-c)/2:i-a,{id:"slice:"+t+":"+c,x0:a,x:c,y0:0,y:0,width:s,height:o,points:l.reverse()}}))}if("y"===n){var a=new Map;return r.forEach((function(e){null!==e.data.x&&null!==e.data.y&&(a.has(e.y)?a.get(e.y).push(e):a.set(e.y,[e]))})),Array.from(a.entries()).sort((function(e,t){return e[0]-t[0]})).map((function(e,t,n){var r,a,s=e[0],c=e[1],l=n[t-1],u=n[t+1];return r=l?s-(s-l[0])/2:s,a=u?s-r+(u[0]-s)/2:o-r,{id:s,x0:0,x:0,y0:r,y:s,width:i,height:a,points:c.reverse()}}))}}),[t,n,o,r,i])}({componentId:S,enableSlices:k,points:W,width:c,height:l});return{legendData:I,toggleSerie:q,lineGenerator:Wj({curve:g}),areaGenerator:Vj({curve:g,yScale:D,areaBaselineValue:y}),getColor:j,series:H,xScale:B,yScale:D,slices:V,points:W}},Zj=function(e){var t=e.areaBlendMode,n=e.areaOpacity,r=e.color,i=e.fill,o=e.path,a=HM(),s=a.animate,c=a.config,l=qM(o),u=uc({color:r,config:c,immediate:!s});return M(jc.path,{d:l,fill:i||u.color,fillOpacity:n,strokeWidth:0,style:{mixBlendMode:t}})},Gj=m((function(e){var t=e.areaGenerator,n=e.areaOpacity,r=e.areaBlendMode;return M("g",{children:e.lines.slice(0).reverse().map((function(e){return M(Zj,Rj({path:t(e.data.map((function(e){return e.position})))},Rj({areaOpacity:n,areaBlendMode:r},e)),e.id)}))})})),Xj=m((function(e){var t=e.lineGenerator,n=e.points,r=e.color,i=e.thickness,o=b((function(){return t(n)}),[t,n]),a=qM(o);return M(jc.path,{d:a,fill:"none",strokeWidth:i,stroke:r})})),Qj=m((function(e){var t=e.lines,n=e.lineGenerator,r=e.lineWidth;return t.slice(0).reverse().map((function(e){var t=e.id,i=e.data,o=e.color;return M(Xj,{id:t,points:i.map((function(e){return e.position})),lineGenerator:n,color:o,thickness:r},t)}))})),Jj=m((function(e){var t=e.slice,n=e.slices,r=e.axis,i=e.debug,o=e.tooltip,a=e.isCurrent,s=e.setCurrent,c=e.onMouseEnter,l=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,d=e.onTouchStart,h=e.onTouchMove,g=e.onTouchEnd,b=Pu(),m=b.showTooltipFromEvent,y=b.hideTooltip,_=p((function(e){m(v(o,{slice:t,axis:r}),e,"right"),s(t),c&&c(t,e)}),[m,o,t,r,s,c]),w=p((function(e){m(v(o,{slice:t,axis:r}),e,"right"),l&&l(t,e)}),[m,o,t,r,l]),x=p((function(e){y(),s(null),u&&u(t,e)}),[y,s,u,t]),C=p((function(e){f&&f(t,e)}),[t,f]),k=p((function(e){m(v(o,{slice:t,axis:r}),e,"right"),s(t),d&&d(t,e)}),[r,d,s,m,t,o]),T=p((function(e){var i=e.touches[0],a=document.elementFromPoint(i.clientX,i.clientY),c=null==a?void 0:a.getAttribute("data-ref");if(c){var l=n.find((function(e){return e.id===c}));l&&(m(v(o,{slice:l,axis:r}),e,"right"),s(l))}h&&h(t,e)}),[r,h,s,m,t,n,o]),S=p((function(e){y(),s(null),g&&g(t,e)}),[y,s,g,t]);return M("rect",{x:t.x0,y:t.y0,width:t.width,height:t.height,stroke:"red",strokeWidth:i?1:0,strokeOpacity:.75,fill:"red",fillOpacity:a&&i?.35:0,onMouseEnter:_,onMouseMove:w,onMouseLeave:x,onClick:C,onTouchStart:k,onTouchMove:T,onTouchEnd:S,"data-ref":t.id})})),Kj=m((function(e){var t=e.slices,n=e.axis,r=e.debug,i=e.height,o=e.tooltip,a=e.current,s=e.setCurrent,c=e.onMouseEnter,l=e.onMouseMove,u=e.onMouseLeave,f=e.onClick,d=e.onTouchStart,h=e.onTouchMove,p=e.onTouchEnd;return t.map((function(e){return M(Jj,{slice:e,slices:t,axis:n,debug:r,height:i,tooltip:o,setCurrent:s,isCurrent:null!==a&&a.id===e.id,onMouseEnter:c,onMouseMove:l,onMouseLeave:u,onClick:f,onTouchStart:d,onTouchMove:h,onTouchEnd:p},e.id)}))})),eE=m((function(e){var t=e.points,n=e.symbol,r=e.size,i=e.borderWidth,o=e.enableLabel,a=e.label,s=e.labelYOffset,c=rT(),l=function(e){var t=Y_(e)?e:function(t){return cp(t,e)};return t}(a),u=t.slice(0).reverse().map((function(e){return{id:e.id,x:e.x,y:e.y,datum:e.data,fill:e.color,stroke:e.borderColor,label:o?l(e):null}}));return M("g",{children:u.map((function(e){return M(IT,{x:e.x,y:e.y,datum:e.datum,symbol:n,size:r,color:e.fill,borderWidth:i,borderColor:e.stroke,label:e.label,labelYOffset:s,theme:c},e.id)}))})})),tE=m((function(e){var t=e.points,n=e.width,r=e.height,i=e.margin,o=e.setCurrent,a=e.onMouseEnter,s=e.onMouseMove,c=e.onMouseLeave,l=e.onClick,u=e.onTouchStart,f=e.onTouchMove,d=e.onTouchEnd,h=e.tooltip,g=e.debug,b=e.enableTouchCrosshair,m=Pu(),y=m.showTooltipAt,_=m.hideTooltip,w=p((function(e,t){y(v(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),a&&a(e,t)}),[y,h,a,i]),x=p((function(e,t){y(v(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),s&&s(e,t)}),[y,h,i.left,i.top,s]),C=p((function(e,t){_(),c&&c(e,t)}),[_,c]),k=p((function(e,t){l&&l(e,t)}),[l]),T=p((function(e,t){y(v(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),u&&u(e,t)}),[i.left,i.top,u,y,h]),S=p((function(e,t){y(v(h,{point:e}),[e.x+i.left,e.y+i.top],"top"),f&&f(e,t)}),[i.left,i.top,f,y,h]),A=p((function(e,t){_(),d&&d(e,t)}),[d,_]);return M(Dj,{nodes:t,width:n,height:r,setCurrent:o,onMouseEnter:w,onMouseMove:x,onMouseLeave:C,onClick:k,onTouchStart:T,onTouchMove:S,onTouchEnd:A,enableTouchCrosshair:b,debug:g})})),nE=ZT((function(e){var t=e.data,n=e.xScale,r=void 0===n?{type:"point"}:n,i=e.xFormat,o=e.yScale,a=void 0===o?{type:"linear",min:0,max:"auto"}:o,s=e.yFormat,c=e.layers,l=void 0===c?["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"]:c,u=e.curve,d=void 0===u?"linear":u,h=e.areaBaselineValue,p=void 0===h?0:h,g=e.colors,b=void 0===g?{scheme:"nivo"}:g,m=e.margin,y=e.width,v=e.height,_=e.axisTop,w=e.axisRight,C=e.axisBottom,k=void 0===C?{}:C,T=e.axisLeft,S=void 0===T?{}:T,A=e.enableGridX,O=void 0===A||A,j=e.enableGridY,E=void 0===j||j,F=e.gridXValues,L=e.gridYValues,P=e.lineWidth,$=void 0===P?2:P,N=e.enableArea,z=void 0!==N&&N,B=e.areaOpacity,D=void 0===B?.2:B,R=e.areaBlendMode,U=void 0===R?"normal":R,I=e.enablePoints,H=void 0===I||I,q=e.pointSymbol,W=e.pointSize,V=void 0===W?6:W,Y=e.pointColor,Z=void 0===Y?{from:"color"}:Y,G=e.pointBorderWidth,X=void 0===G?0:G,Q=e.pointBorderColor,J=void 0===Q?{theme:"background"}:Q,K=e.enablePointLabel,ee=void 0!==K&&K,te=e.pointLabel,ne=void 0===te?"data.yFormatted":te,re=e.pointLabelYOffset,ie=e.defs,oe=void 0===ie?[]:ie,ae=e.fill,se=void 0===ae?[]:ae,ce=e.markers,le=e.legends,ue=void 0===le?[]:le,fe=e.isInteractive,de=void 0===fe||fe,he=e.useMesh,pe=void 0!==he&&he,ge=e.debugMesh,be=void 0!==ge&&ge,me=e.onMouseEnter,ye=e.onMouseMove,ve=e.onMouseLeave,_e=e.onClick,we=e.onTouchStart,xe=e.onTouchMove,Ce=e.onTouchEnd,ke=e.tooltip,Me=void 0===ke?Uj:ke,Te=e.enableSlices,Se=void 0!==Te&&Te,Ae=e.debugSlices,Oe=void 0!==Ae&&Ae,je=e.sliceTooltip,Ee=void 0===je?Ij:je,Fe=e.enableCrosshair,Le=void 0===Fe||Fe,Pe=e.crosshairType,$e=void 0===Pe?"bottom-left":Pe,Ne=e.enableTouchCrosshair,ze=void 0!==Ne&&Ne,Be=e.role,De=void 0===Be?"img":Be,Re=e.initialHiddenIds,Ue=void 0===Re?[]:Re,Ie=QM(y,v,m),He=Ie.margin,qe=Ie.innerWidth,We=Ie.innerHeight,Ve=Ie.outerWidth,Ye=Ie.outerHeight,Ze=Yj({data:t,xScale:r,xFormat:i,yScale:a,yFormat:s,width:qe,height:We,colors:b,curve:d,areaBaselineValue:p,pointColor:Z,pointBorderColor:J,enableSlices:Se,initialHiddenIds:Ue}),Ge=Ze.legendData,Xe=Ze.toggleSerie,Qe=Ze.lineGenerator,Je=Ze.areaGenerator,Ke=Ze.series,et=Ze.xScale,tt=Ze.yScale,nt=Ze.slices,rt=Ze.points,it=rT(),ot=dS(Z,it),at=dS(J,it),st=f(null),ct=st[0],lt=st[1],ut=f(null),ft=ut[0],dt=ut[1],ht={grid:M(RO,{theme:it,width:qe,height:We,xScale:O?et:null,yScale:E?tt:null,xValues:F,yValues:L},"grid"),markers:M(VT,{markers:ce,width:qe,height:We,xScale:et,yScale:tt,theme:it},"markers"),axes:M(zO,{xScale:et,yScale:tt,width:qe,height:We,theme:it,top:_,right:w,bottom:k,left:S},"axes"),areas:null,lines:M(Qj,{lines:Ke,lineGenerator:Qe,lineWidth:$},"lines"),slices:null,points:null,crosshair:null,mesh:null,legends:ue.map((function(e,t){return M(KO,Rj({},e,{containerWidth:qe,containerHeight:We,data:e.data||Ge,theme:it,toggleSerie:e.toggleSerie?Xe:void 0}),"legend."+t)}))},pt=JT(oe,Ke,se);return z&&(ht.areas=M(Gj,{areaGenerator:Je,areaOpacity:D,areaBlendMode:U,lines:Ke},"areas")),de&&!1!==Se&&(ht.slices=M(Kj,{slices:nt,axis:Se,debug:Oe,height:We,tooltip:Ee,current:ft,setCurrent:dt,onMouseEnter:me,onMouseMove:ye,onMouseLeave:ve,onClick:_e,onTouchStart:we,onTouchMove:xe,onTouchEnd:Ce},"slices")),H&&(ht.points=M(eE,{points:rt,symbol:q,size:V,color:ot,borderWidth:X,borderColor:at,enableLabel:ee,label:ne,labelYOffset:re},"points")),de&&Le&&(null!==ct&&(ht.crosshair=M(Rc,{width:qe,height:We,x:ct.x,y:ct.y,type:$e},"crosshair")),null!==ft&&(ht.crosshair=M(Rc,{width:qe,height:We,x:ft.x,y:ft.y,type:Se},"crosshair"))),de&&pe&&!1===Se&&(ht.mesh=M(tE,{points:rt,width:qe,height:We,margin:He,current:ct,setCurrent:lt,onMouseEnter:me,onMouseMove:ye,onMouseLeave:ve,onClick:_e,onTouchStart:we,onTouchMove:xe,onTouchEnd:Ce,tooltip:Me,enableTouchCrosshair:ze,debug:be},"mesh")),M(BT,{defs:pt,width:Ve,height:Ye,margin:He,role:De,children:l.map((function(t,n){return"function"==typeof t?M(x,{children:t(Rj({},e,{innerWidth:qe,innerHeight:We,series:Ke,slices:nt,points:rt,xScale:et,yScale:tt,lineGenerator:Qe,areaGenerator:Je,currentPoint:ct,setCurrentPoint:lt,currentSlice:ft,setCurrentSlice:dt}))},n):ht[t]}))})})),rE=function(e){return M(lT,{children:function(t){var n=t.width,r=t.height;return M(nE,Rj({width:n,height:r},e))}})},iE=ZT((function(e){var t=d(null),n=e.width,r=e.height,i=e.margin,o=e.pixelRatio,a=void 0===o?"undefined"!=typeof window&&window.devicePixelRatio||1:o,s=e.data,c=e.xScale,u=void 0===c?{type:"point"}:c,h=e.xFormat,g=e.yScale,b=void 0===g?{type:"linear",min:0,max:"auto"}:g,m=e.yFormat,y=e.curve,_=void 0===y?"linear":y,w=e.layers,x=void 0===w?["grid","markers","axes","areas","crosshair","lines","points","slices","mesh","legends"]:w,C=e.colors,k=void 0===C?{scheme:"nivo"}:C,T=e.lineWidth,S=void 0===T?2:T,A=e.enableArea,O=void 0!==A&&A,j=e.areaBaselineValue,E=void 0===j?0:j,F=e.areaOpacity,L=void 0===F?.2:F,P=e.enablePoints,$=void 0===P||P,N=e.pointSize,z=void 0===N?6:N,B=e.pointColor,D=void 0===B?{from:"color"}:B,R=e.pointBorderWidth,U=void 0===R?0:R,I=e.pointBorderColor,H=void 0===I?{theme:"background"}:I,q=e.enableGridX,W=void 0===q||q,V=e.gridXValues,Y=e.enableGridY,Z=void 0===Y||Y,G=e.gridYValues,X=e.axisTop,Q=e.axisRight,J=e.axisBottom,K=void 0===J?{}:J,ee=e.axisLeft,te=void 0===ee?{}:ee,ne=e.legends,re=void 0===ne?[]:ne,ie=e.isInteractive,oe=void 0===ie||ie,ae=e.debugMesh,se=void 0!==ae&&ae,ce=e.onMouseLeave,le=e.onClick,ue=e.tooltip,fe=void 0===ue?Uj:ue,de=e.canvasRef,he=QM(n,r,i),pe=he.margin,ge=he.innerWidth,be=he.innerHeight,me=he.outerWidth,ye=he.outerHeight,ve=rT(),_e=f(null),we=_e[0],xe=_e[1],Ce=Yj({data:s,xScale:u,xFormat:h,yScale:b,yFormat:m,width:ge,height:be,colors:k,curve:_,areaBaselineValue:E,pointColor:D,pointBorderColor:H}),ke=Ce.lineGenerator,Me=Ce.areaGenerator,Te=Ce.series,Se=Ce.xScale,Ae=Ce.yScale,Oe=Ce.points,je=zj({points:Oe,width:ge,height:be,debug:se}),Ee=je.delaunay,Fe=je.voronoi;l((function(){de&&(de.current=t.current),t.current.width=me*a,t.current.height=ye*a;var e=t.current.getContext("2d");e.scale(a,a),e.fillStyle=ve.background,e.fillRect(0,0,me,ye),e.translate(pe.left,pe.top),x.forEach((function(t){if("function"==typeof t&&t({ctx:e,innerWidth:ge,innerHeight:be,series:Te,points:Oe,xScale:Se,yScale:Ae,lineWidth:S,lineGenerator:ke,areaGenerator:Me,currentPoint:we,setCurrentPoint:xe}),"grid"===t&&ve.grid.line.strokeWidth>0&&(e.lineWidth=ve.grid.line.strokeWidth,e.strokeStyle=ve.grid.line.stroke,W&&IO(e,{width:ge,height:be,scale:Se,axis:"x",values:V}),Z&&IO(e,{width:ge,height:be,scale:Ae,axis:"y",values:G})),"axes"===t&&UO(e,{xScale:Se,yScale:Ae,width:ge,height:be,top:X,right:Q,bottom:K,left:te,theme:ve}),"areas"===t&&!0===O){e.save(),e.globalAlpha=L,Me.context(e);for(var n=Te.length-1;n>=0;n--)e.fillStyle=Te[n].color,e.beginPath(),Me(Te[n].data.map((function(e){return e.position}))),e.fill();e.restore()}if("lines"===t&&(ke.context(e),Te.forEach((function(t){e.strokeStyle=t.color,e.lineWidth=S,e.beginPath(),ke(t.data.map((function(e){return e.position}))),e.stroke()}))),"points"===t&&!0===$&&z>0&&Oe.forEach((function(t){e.fillStyle=t.color,e.beginPath(),e.arc(t.x,t.y,z/2,0,2*Math.PI),e.fill(),U>0&&(e.strokeStyle=t.borderColor,e.lineWidth=U,e.stroke())})),"mesh"===t&&!0===se&&(function(e,t){e.save(),e.globalAlpha=.75,e.beginPath(),t.render(e),e.strokeStyle="red",e.lineWidth=1,e.stroke(),e.restore()}(e,Fe),we&&function(e,t,n){e.save(),e.globalAlpha=.35,e.beginPath(),t.renderCell(n,e),e.fillStyle="pink",e.fill(),e.restore()}(e,Fe,we.index)),"legends"===t){var r=Te.map((function(e){return{id:e.id,label:e.id,color:e.color}})).reverse();re.forEach((function(t){tj(e,Rj({},t,{data:t.data||r,containerWidth:ge,containerHeight:be,theme:ve}))}))}}))}),[t,me,ye,x,ve,ke,Te,Se,Ae,W,V,Z,G,X,Q,K,te,re,Oe,$,z,we]);var Le=p((function(e){var n=GT(t.current,e),r=n[0],i=n[1];if(!function(e,t,n,r,i,o){return e<=i&&i<=e+n&&t<=o&&o<=t+r}(pe.left,pe.top,ge,be,r,i))return null;var o=Ee.find(r-pe.left,i-pe.top);return Oe[o]}),[t,pe,ge,be,Ee]),Pe=Pu(),$e=Pe.showTooltipFromEvent,Ne=Pe.hideTooltip,ze=p((function(e){var t=Le(e);xe(t),t?$e(v(fe,{point:t}),e):Ne()}),[Le,xe,$e,Ne,fe]),Be=p((function(e){Ne(),xe(null),we&&ce&&ce(we,e)}),[Ne,xe,ce]),De=p((function(e){if(le){var t=Le(e);t&&le(t,e)}}),[Le,le]);return M("canvas",{ref:t,width:me*a,height:ye*a,style:{width:me,height:ye,cursor:oe?"auto":"normal"},onMouseEnter:oe?ze:void 0,onMouseMove:oe?ze:void 0,onMouseLeave:oe?Be:void 0,onClick:oe?De:void 0})})),oE=h((function(e,t){return M(iE,Rj({},e,{canvasRef:t}))}));h((function(e,t){return M(lT,{children:function(n){var r=n.width,i=n.height;return M(oE,Rj({width:r,height:i},e,{ref:t}))}})}));const aE={anchor:"right",direction:"column",justify:!1,translateX:100,translateY:0,itemsSpacing:0,itemDirection:"left-to-right",itemWidth:80,itemHeight:20,itemOpacity:.75,symbolSize:12,symbolShape:"circle",symbolBorderColor:"rgba(0, 0, 0, .5)",effects:[{on:"hover",style:{itemBackground:"rgba(0, 0, 0, .03)",itemOpacity:1}}]},sE={tickSize:5,tickPadding:5,tickRotation:45},cE={tickSize:5,tickPadding:5,tickRotation:0},lE={margin:{top:50,right:110,bottom:50,left:60},xScale:{type:"point"},yScale:{type:"linear",min:"auto",max:"auto",stacked:!1,reverse:!1},axisTop:null,axisRight:null,axisBottom:sE,axisLeft:cE,useMesh:!0,enableArea:!0},uE=({data:e,width:t=600,height:n=400,rootArialLabel:r,...i})=>M("div",{role:"img","aria-label":r,tabIndex:0,style:{width:t,height:n},children:M(rE,{data:e,...lE,...i})});export{Tr as Attachment,gr as AttachmentCode,Sr as AttachmentEmpty,wr as AttachmentImage,xr as AttachmentVideo,Ot as Button,Mt as Code,Ar as CodeViewer,ci as Counter,Et as DropdownButton,Tt as Heading,Cr as HtmlPreview,jt as IconButton,yi as Label,di as Link,Wn as Loadable,rr as Menu,Ur as Modal,Yn as PageLoader,er as SearchBox,Ct as Spinner,bi as SuccessRatePieChart,xt as SvgIcon,kt as Text,ui as Toggle,qn as TooltipWrapper,ai as Tree,oi as TreeHeader,ni as TreeItem,ti as TreeItemIcon,uE as TrendChart,wt as allureIcons,sE as defaultAxisBottomConfig,cE as defaultAxisLeftConfig,lE as defaultTrendChartConfig,aE as defaultTrendChartLegendConfig};
|
|
23
|
+
//# sourceMappingURL=index.js.map
|