@turquoisehealth/pit-viper 2.55.0 → 2.55.1
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/package.json +1 -1
- package/pv-components/dist/vue/base/pv-components-base.js +1 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +3 -6
- package/pv-components/dist/vue/base/pv-components-base.umd.js +1 -1
- package/pv-components/dist/vue/charts/pv-components-charts.js +2 -2
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +18 -17
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +2 -2
- package/pv-components/dist/vue/tables/pv-components-tables.js +13 -13
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +167 -166
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +13 -13
- package/pv-components/dist/web/pv-components.iife.js +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".pv-chart-loading[data-v-2f5dcc04]{position:absolute;text-align:center;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;opacity:1;background-color:#fff;z-index:10}.pv-chart-loading-icon[data-v-2f5dcc04]{color:#16696d;animation:pulse-2f5dcc04 1.5s infinite ease-in-out}@keyframes pulse-2f5dcc04{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-button-loading[data-v-942d55a7]{width:16px;height:16px;border:2px solid #ccc;border-top-color:#fff;border-radius:50%;animation:spin-942d55a7 1s linear infinite}@keyframes spin-942d55a7{to{transform:rotate(360deg)}}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.focus-button{opacity:0;transition:opacity .2s ease}.option-label:hover .focus-button{opacity:1}.suggested-label[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".pv-chart-loading[data-v-2f5dcc04]{position:absolute;text-align:center;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;opacity:1;background-color:#fff;z-index:10}.pv-chart-loading-icon[data-v-2f5dcc04]{color:#16696d;animation:pulse-2f5dcc04 1.5s infinite ease-in-out}@keyframes pulse-2f5dcc04{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-button-loading[data-v-942d55a7]{width:16px;height:16px;border:2px solid #ccc;border-top-color:#fff;border-radius:50%;animation:spin-942d55a7 1s linear infinite}@keyframes spin-942d55a7{to{transform:rotate(360deg)}}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.focus-button{opacity:0;transition:opacity .2s ease}.option-label:hover .focus-button{opacity:1}.suggested-label[data-v-58806f9e]:hover{color:#16696d}.ag-custom-header-cell[data-v-054d9038]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-054d9038]{opacity:1}.pv-table-row-number[data-v-ae67b797]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-table-overlay{position:absolute;margin-top:20px;z-index:2;background:#fff;width:100%;top:50%;left:50%;height:95%;transform:translate(-50%,-50%);pointer-events:none}.ag-header-cell-resize{border:none!important}.ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.ag-group-value{width:100%}.ag-menu-option:hover{background-color:#f7f8f8}.ag-menu-option:active{background-color:#e8f2f4}.ag-menu-option-text{font-family:Inter,sans-serif}.pv-chart-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.ag-charts-tooltip{background-color:#fffffff2}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("vue");var CB=Object.defineProperty,bW=Object.getOwnPropertyDescriptor,On=(e,t)=>{for(var i in t)CB(e,i,{get:t[i],enumerable:!0})},I=(e,t,i,o)=>{for(var s=o>1?void 0:o?bW(t,i):t,n=e.length-1,r;n>=0;n--)(r=e[n])&&(s=(o?r(t,i,s):r(s))||s);return o&&s&&CB(t,i,s),s},fe={};On(fe,{error:()=>xB,errorOnce:()=>wW,log:()=>CW,logGroup:()=>DW,reset:()=>MW,table:()=>SW,warn:()=>SB,warnOnce:()=>xW});var $f=new Set;function CW(...e){console.log(...e)}function SB(e,...t){console.warn(`AG Charts - ${e}`,...t)}function xB(e,...t){typeof e=="object"?console.error("AG Charts error",e,...t):console.error(`AG Charts - ${e}`,...t)}function SW(...e){console.table(...e)}function xW(e,...t){const i=`Logger.warn: ${e}`;$f.has(i)||(SB(e,...t),$f.add(i))}function wW(e,...t){const i=`Logger.error: ${e}`;$f.has(i)||(xB(e,...t),$f.add(i))}function MW(){$f.clear()}function DW(e,t){console.groupCollapsed(e);try{return t()}finally{console.groupEnd()}}var ou=class{static[Symbol.iterator](){return this.registeredModules.values()}static register(t){const i=this.registeredModules.get(t.name);if(i&&(i.enterprise||!t.enterprise))throw new Error(`AG Charts - Module '${t.name}' already registered`);this.registeredModules.set(t.name,t)}static registerMany(t){for(const i of t)this.register(i)}static reset(){this.registeredModules.clear()}static detectChartDefinition(t){return this.detectDefinition("chart",t)}static detectSeriesDefinition(t){return this.detectDefinition("series",t)}static detectDefinition(t,i){for(const o of this.registeredModules.values())if(o.type===t&&o.detect(i))return o;throw new Error(`AG Charts - Unknown ${t} type; Check options are correctly structured and series types are specified`)}};ou.registeredModules=new Map;var ok=class{constructor(){this.events=new Map}on(e,t){return this.events.has(e)||this.events.set(e,new Set),this.events.get(e)?.add(t),()=>this.off(e,t)}off(e,t){const i=this.events.get(e);i&&(i.delete(t),i.size===0&&this.events.delete(e))}emit(e,t){this.events.get(e)?.forEach(i=>i(t))}clear(e){e?this.events.delete(e):this.events.clear()}};function fC(e){return typeof e>"u"?[]:Array.isArray(e)?e:[e]}function kW(e){return Array.from(new Set(e))}function sk(e,t){return e.reduce((i,o)=>{const s=t(o);return i[s]??(i[s]=[]),i[s].push(o),i},{})}function ta(e,t){if(e==null||t==null||e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(Array.isArray(e[i])&&Array.isArray(t[i])){if(!ta(e[i],t[i]))return!1}else if(e[i]!==t[i])return!1;return!0}function YL(e,t,i=0){if(e.length===0)return[];const o=[];for(let s=0;s<t;s++)o.push(e.at((s+i)%e.length));return o}function IW(e,t){const i=new Map;return t.forEach((o,s)=>{i.set(o,s)}),e.sort((o,s)=>{const n=i.get(o)??1/0,r=i.get(s)??1/0;return n-r})}function wB(e,t,i){if(e>t)return;let o;for(;t>=e;){const s=Math.floor((t+e)/2);i(s)?(o=s,e=s+1):t=s-1}return o}function MB(e,t,i){if(e>t)return;let o;for(;t>=e;){const s=Math.floor((t+e)/2);i(s)?(o=s,t=s-1):e=s+1}return o}function AW(e,t,i){if(e>t)return;let o;for(;t>=e;){const s=Math.floor((t+e)/2),n=i(s);n==null?e=s+1:(o=n,t=s-1)}return o}function RW(e,t){const i=Math.max(e.length,t.length),o=new Set,s=new Set;for(let n=0;n<i;n++){const r=e[n],a=t[n];r!==a&&(s.has(a)?s.delete(a):a&&o.add(a),o.has(r)?o.delete(r):r&&s.add(r))}return{changed:o.size>0||s.size>0,added:o,removed:s}}function XL(e,t,i){const{leading:o=!0,trailing:s=!0}=i??{};let n,r,a=!1;function l(){s&&r?(n=setTimeout(l,t),e(...r)):a=!1,r=null}function c(...d){a?r=d:(a=!0,n=setTimeout(l,t),o?e(...d):r=d)}return Object.assign(c,{cancel(){clearTimeout(n),a=!1,r=null}})}function*Zd(...e){for(const t of e)yield*t}function TW(e){return e!=null&&typeof e=="object"&&Symbol.iterator in e?e:[e]}function Ag(e){for(const t of e)return t;throw new Error("AG Charts - no first() value found")}function LW(e,t="and",i=String,o=1/0){if(e.length===1)return i(e[0]);e=e.map(i);const s=e.pop();if(e.length>=o){const n=e.length-(o-1);return`${e.slice(0,o-1).join(", ")}, and ${n} more ${t} ${s}`}return`${e.join(", ")} ${t} ${s}`}function yf(e,t=1/0){switch(typeof e){case"undefined":return"undefined";case"number":if(isNaN(e))return"NaN";if(e===1/0)return"Infinity";if(e===-1/0)return"-Infinity";default:return e=JSON.stringify(e),e.length>t?`${e.slice(0,t)}... (+${e.length-t} characters)`:e}}function EW(e){let t=1;for(let i=0;i<e.length;i++)e.charCodeAt(i)===10&&t++;return t}function Ob(e){return e!=null}function Rt(e){return Array.isArray(e)}function DB(e){return typeof e=="boolean"}function Dp(e){return e instanceof Date}function Hm(e){return Dp(e)&&!isNaN(Number(e))}function PW(e){return e instanceof RegExp}function Iu(e){return typeof e=="function"}function Ji(e){return typeof e=="object"&&e!==null&&!Rt(e)}function Po(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Ms(e){return typeof e=="string"}function Dn(e){return typeof e=="number"}function nt(e){return Number.isFinite(e)}function NW(e){return typeof window<"u"&&e instanceof HTMLElement}function OW(e,t){return Object.values(e).includes(t)}function FW(e){return typeof e=="symbol"}var Wm=Symbol("description"),BW=Symbol("required");function R0(e,t,i=""){if(!Ji(e))return{valid:null,errors:[{path:i,value:e,message:ZL(i,e,"an object")}]};const o=new Set(Object.keys(e)),s=[],n={};function r(a){return Rt(t)?`${i}[${a}]`:i?`${i}.${a}`:a}for(const[a,l]of Object.entries(t)){o.delete(a);const c=e[a];if(!(!l[BW]&&typeof c>"u"))if(Iu(l))l(c,e)?n[a]=c:s.push({key:a,path:i,value:c,message:ZL(r(a),c,l)});else{const d=R0(c,l,r(a));n[a]=d.valid,s.push(...d.errors)}}for(const a of o)s.push({key:a,path:i,unknown:!0,message:`Unknown option \`${r(a)}\`, ignoring.`});return{valid:n,errors:s}}function ZL(e,t,i){const o=Ms(i)?i:i[Wm],s=o?`; expecting ${o}`:"";return`${e?`Option \`${e}\``:"Value"} cannot be set to \`${yf(t)}\`${s}, ignoring.`}function No(e,t){return Object.assign((i,o)=>e(i,o),{[Wm]:t})}var ov=(...e)=>No((t,i)=>e.every(o=>o(t,i)),e.map(t=>t[Wm]).filter(Boolean).join(" and ")),qd=(...e)=>No((t,i)=>e.some(o=>o(t,i)),e.map(t=>t[Wm]).filter(Boolean).join(" or "));No(Rt,"an array");No(DB,"a boolean");No(Iu,"a function");var Qa=No(nt,"a number"),lw=No(Ji,"an object"),_s=No(Ms,"a string"),sv=No(e=>Dp(e)||(nt(e)||Ms(e))&&Hm(new Date(e)),"a date"),GW=(e,t=!0)=>No(i=>nt(i)&&(i>e||t&&i===e),`a number greater than ${t?"or equal to ":""}${e}`),zW=(e,t)=>No(i=>nt(i)&&i>=e&&i<=t,`a number between ${e} and ${t} inclusive`);GW(0);var nv=zW(0,1),qL=e=>nt(e)||Hm(e),QL=e=>No((t,i)=>!qL(t)||!qL(i[e])||t<i[e],`to be less than ${e}`);function _W(...e){Ji(e[0])&&(e=Object.values(e[0]));const t=LW(e,"or",i=>`'${i}'`,6);return No(i=>e.includes(i),`a keyword such as ${t}`)}var A1=(e,t)=>No((i,o)=>Rt(i)&&i.every(s=>e(s,o)),`${e[Wm]} array`),kB={};On(kB,{NODE_UPDATE_STATE_TO_PHASE_MAPPING:()=>dr,fromToMotion:()=>Ut,staticFromToMotion:()=>xl});var aa={};typeof window<"u"?aa.window=window:typeof global<"u"&&(aa.window=global.window);typeof document<"u"?aa.document=document:typeof global<"u"&&(aa.document=global.document);function ul(e){return e?aa.document?.[e]:aa.document}function At(e){return e?aa.window?.[e]:aa.window}function IB(e){aa.document=e}function AB(e){aa.window=e}function Xe(e,t,i){const o=ul().createElement(e);if(typeof t=="object"&&(i=t,t=void 0),t)for(const s of t.split(" "))o.classList.add(s);return i&&Object.assign(o.style,i),o}function Rn(e){return ul().createElementNS("http://www.w3.org/2000/svg",e)}function RB(e,t){const i=ul("body"),o=Xe("a",{display:"none"});o.href=e,o.download=t,i.appendChild(o),o.click(),setTimeout(()=>i.removeChild(o))}var R1=new Map;function VW(){R1.clear()}function Fn(e){const t=e.constructor,i=Object.hasOwn(t,"className")?t.className:t.name;if(!i)throw new Error(`The ${t} is missing the 'className' property.`);const o=(R1.get(i)??0)+1;return R1.set(i,o),`${i}-${o}`}function HW(){return crypto.randomUUID?.()??WW()}function WW(){const e=new Uint8Array(16);crypto.getRandomValues(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t="";for(let i=0;i<e.length;i++)(i===4||i===6||i===8||i===10)&&(t+="-"),t+=e[i].toString(16).padStart(2,"0");return t}var T0={containsPoint:jW,isEmpty:$W,normalize:UW};function jW(e,t,i){return t>=e.x&&t<=e.x+e.width&&i>=e.y&&i<=e.y+e.height}function $W(e){return e==null||e.height===0||e.width===0||isNaN(e.height)||isNaN(e.width)}function UW(e){let{x:t,y:i,width:o,height:s}=e;return(o==null||o>0)&&(s==null||s>0)?e:(t!=null&&o!=null&&o<0&&(o=-o,t=t-o),i!=null&&s!=null&&s<0&&(s=-s,i=i-s),{x:t,y:i,width:o,height:s})}var L0=Symbol("interpolate"),mC=e=>e[L0]!=null;function E0(e,t,i,o=1/0){const s={nearest:void 0,distanceSquared:o};for(const n of i){const r=n.distanceSquared(e,t);if(r===0)return{nearest:n,distanceSquared:0};r<s.distanceSquared&&(s.nearest=n,s.distanceSquared=r)}return s}function KW(e,t,i,o=1/0){const{x:s=e,y:n=t}=i.transformPoint?.(e,t)??{},r={nearest:void 0,distanceSquared:o};for(const a of i.children){const{nearest:l,distanceSquared:c}=a.nearestSquared(s,n,r.distanceSquared);if(c===0)return{nearest:l,distanceSquared:c};c<r.distanceSquared&&(r.nearest=l,r.distanceSquared=c)}return r}function Ve(e,t,i){return Math.min(i,Math.max(e,t))}function T1(e,t){const[i,o]=eo(t);return Ve(i,e,o)}function eo(e){if(e.length===0)return[];const t=[1/0,-1/0];for(const i of e)i<t[0]&&(t[0]=i),i>t[1]&&(t[1]=i);return t}function dp(e){const[t,i]=eo(e);return i-t}function TB(e,t,i=1e-10){return e>=t[0]-i&&e<=t[1]+i}function sr(e,t,i=1e-10){return e===t||Math.abs(e-t)<i}function P0(e){return Math.sign(e)===-1||Object.is(e,-0)}function LB(e){return e%1===0}function YW(e,t=2){const i=10**t;return Math.round(e*i)/i}function nk(e,t){return Math.floor(e%t+(e<0?t:0))}function N0(e){if(Math.floor(e)===e)return 0;let t=String(e),i=0;if(e<1e-6||e>=1e21){let s;[t,s]=t.split("e"),s!=null&&(i=Number(s))}const o=t.split(".")[1]?.length??0;return Math.max(o-i,0)}var Uf=class Rh{constructor(t,i,o,s){this.x=t,this.y=i,this.width=o,this.height=s}static fromDOMRect({x:t,y:i,width:o,height:s}){return new Rh(t,i,o,s)}static merge(t){let i=1/0,o=1/0,s=-1/0,n=-1/0;for(const r of t)r.x<i&&(i=r.x),r.y<o&&(o=r.y),r.x+r.width>s&&(s=r.x+r.width),r.y+r.height>n&&(n=r.y+r.height);return new Rh(i,o,s-i,n-o)}static nearestBox(t,i,o){return E0(t,i,o)}toDOMRect(){return{x:this.x,y:this.y,width:this.width,height:this.height,top:this.y,left:this.x,right:this.x+this.width,bottom:this.y+this.height,toJSON(){return{}}}}clone(){const{x:t,y:i,width:o,height:s}=this;return new Rh(t,i,o,s)}equals(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height}containsPoint(t,i){return T0.containsPoint(this,t,i)}intersection(t){if(!this.collidesBBox(t))return;const i=Ve(t.x,this.x,t.x+t.width),o=Ve(t.y,this.y,t.y+t.height),s=Ve(t.x,this.x+this.width,t.x+t.width),n=Ve(t.y,this.y+this.height,t.y+t.height);return new Rh(i,o,s-i,n-o)}collidesBBox(t){return this.x<t.x+t.width&&this.x+this.width>t.x&&this.y<t.y+t.height&&this.y+this.height>t.y}computeCenter(){return{x:this.x+this.width/2,y:this.y+this.height/2}}isFinite(){return Number.isFinite(this.x)&&Number.isFinite(this.y)&&Number.isFinite(this.width)&&Number.isFinite(this.height)}distanceSquared(t,i){if(this.containsPoint(t,i))return 0;const o=t-Ve(this.x,t,this.x+this.width),s=i-Ve(this.y,i,this.y+this.height);return o*o+s*s}shrink(t,i){if(typeof t=="number")this.applyMargin(t,i);else for(const[o,s]of Object.entries(t))this.applyMargin(s,o);return this.width<0&&(this.width=0),this.height<0&&(this.height=0),this}grow(t,i){if(typeof t=="number")this.applyMargin(-t,i);else for(const[o,s]of Object.entries(t))this.applyMargin(-s,o);return this}applyMargin(t,i){switch(i){case"top":this.y+=t;case"bottom":this.height-=t;break;case"left":this.x+=t;case"right":this.width-=t;break;case"vertical":this.y+=t,this.height-=t*2;break;case"horizontal":this.x+=t,this.width-=t*2;break;case void 0:this.x+=t,this.y+=t,this.width-=t*2,this.height-=t*2;break}}translate(t,i){return this.x+=t,this.y+=i,this}[L0](t,i){return new Rh(this.x*(1-i)+t.x*i,this.y*(1-i)+t.y*i,this.width*(1-i)+t.width*i,this.height*(1-i)+t.height*i)}};Uf.zero=Object.freeze(new Uf(0,0,0,0));Uf.NaN=Object.freeze(new Uf(NaN,NaN,NaN,NaN));var ke=Uf;function xe(e){return function(t,i){const o=`__${i}`;t[i]||XW(t,i,o,e)}}function XW(e,t,i,o){const{type:s="normal",changeCb:n,convertor:r,checkDirtyOnAssignment:a=!1}=o??{},l={changeCb:n,checkDirtyOnAssignment:a,convertor:r};let c;switch(s){case"normal":c=JW(i,l);break;case"transform":c=ej(i);break;case"path":c=tj(i);break}c=QW(qW(ZW(c,l),l),l),Object.defineProperty(e,t,{set:c,get:function(){return this[i]},enumerable:!0,configurable:!0})}function ZW(e,t){const{convertor:i}=t;return i?function(o){e.call(this,i(o))}:e}var O0=Symbol("no-change");function qW(e,t){const{changeCb:i}=t;return i?function(o){const s=e.call(this,o);return s!==O0&&i.call(this,this),s}:e}function QW(e,t){const{checkDirtyOnAssignment:i}=t;return i?function(o){const s=e.call(this,o);return o?._dirty===!0&&this.markDirty(),s}:e}function JW(e,t){const{changeCb:i}=t;return function(o){const s=this[e];return o!==s?(this[e]=o,this.markDirty(),i?.(this),o):O0}}function ej(e){return function(t){const i=this[e];return t!==i?(this[e]=t,this.markDirtyTransform(),t):O0}}function tj(e){return function(t){const i=this[e];return t!==i?(this[e]=t,this._dirtyPath||(this._dirtyPath=!0,this.markDirty()),t):O0}}var EB=(e=>(e[e.All=0]="All",e[e.None=1]="None",e))(EB||{}),F0=class PB{constructor(t){this.serialNumber=PB._nextSerialNumber++,this.childNodeCounts={groups:0,nonGroups:0,thisComplexity:0,complexity:0},this.id=Fn(this),this.pointerEvents=0,this._dirty=!0,this.dirtyZIndex=!1,this.isContainerNode=!1,this.visible=!0,this.zIndex=0,this.name=t?.name,this.tag=t?.tag??NaN,this.zIndex=t?.zIndex??0}static toSVG(t,i,o){const s=t?.toSVG();if(s==null||!s.elements.length&&!s.defs?.length)return;const n=Rn("svg");if(n.setAttribute("width",String(i)),n.setAttribute("height",String(o)),n.setAttribute("viewBox",`0 0 ${i} ${o}`),s.defs?.length){const r=Rn("defs");r.append(...s.defs),n.append(r)}return n.append(...s.elements),n.outerHTML}static*extractBBoxes(t,i){for(const o of t)if(!i||o.visible&&!o.transitionOut){const s=o.getBBox();s&&(yield s)}}get datum(){return this._datum??this.parentNode?.datum}set datum(t){this._datum!==t&&(this._previousDatum=this._datum,this._datum=t)}get previousDatum(){return this._previousDatum}get layerManager(){return this._layerManager}get dirty(){return this._dirty}preRender(t,i=1){this.childNodeCounts.groups=0,this.childNodeCounts.nonGroups=1,this.childNodeCounts.complexity=i,this.childNodeCounts.thisComplexity=i;for(const o of this.children()){const s=o.preRender(t);this.childNodeCounts.groups+=s.groups,this.childNodeCounts.nonGroups+=s.nonGroups,this.childNodeCounts.complexity+=s.complexity}return this.childNodeCounts}render(t){const{stats:i}=t;if(this._dirty=!1,t.debugNodeSearch){const o=this.name??this.id;t.debugNodeSearch.some(s=>typeof s=="string"?s===o:s.test(o))&&(t.debugNodes[this.name??this.id]=this)}i&&(i.nodesRendered++,i.opsPerformed+=this.childNodeCounts.thisComplexity)}_setLayerManager(t){this._layerManager=t,this._debug=t?.debug;for(const i of this.children())i._setLayerManager(t)}sortChildren(t){if(this.dirtyZIndex=!1,!this.childNodes)return;const i=[...this.childNodes].sort(t);this.childNodes.clear();for(const o of i)this.childNodes.add(o)}*traverseUp(t){let i=this;for(t&&(yield i);i=i.parentNode;)yield i}*children(){if(this.childNodes)for(const t of this.childNodes)yield t}*descendants(){for(const t of this.children())yield t,yield*t.descendants()}isLeaf(){return!this.childNodes?.size}isRoot(){return!this.parentNode}append(t){this.childNodes??(this.childNodes=new Set);for(const i of TW(t))i.parentNode?.removeChild(i),this.childNodes.add(i),i.parentNode=this,i._setLayerManager(this.layerManager);this.invalidateCachedBBox(),this.dirtyZIndex=!0,this.markDirty()}appendChild(t){return this.append(t),t}removeChild(t){return this.childNodes?.delete(t)?(delete t.parentNode,t._setLayerManager(),this.invalidateCachedBBox(),this.dirtyZIndex=!0,this.markDirty(),!0):!1}remove(){return this.parentNode?.removeChild(this)??!1}clear(){for(const t of this.children())delete t.parentNode,t._setLayerManager();this.childNodes?.clear(),this.invalidateCachedBBox()}destroy(){this.parentNode?.removeChild(this)}setProperties(t,i){if(i)for(const o of i)this[o]=t[o];else Object.assign(this,t);return this}containsPoint(t,i){return!1}pickNode(t,i,o=!1){if(!this.visible||this.pointerEvents===1||!this.containsPoint(t,i))return;const s=[...this.children()];if(s.length>1e3)for(let n=s.length-1;n>=0;n--){const r=s[n],l=r.containsPoint(t,i)?r.pickNode(t,i):void 0;if(l)return l}else if(s.length)for(let n=s.length-1;n>=0;n--){const r=s[n].pickNode(t,i);if(r)return r}else if(!this.isContainerNode)return this}invalidateCachedBBox(){this.cachedBBox!=null&&(this.cachedBBox=void 0,this.parentNode?.invalidateCachedBBox())}getBBox(){return this.cachedBBox==null&&(this.cachedBBox=Object.freeze(this.computeBBox())),this.cachedBBox}computeBBox(){}markDirty(){const{_dirty:t}=this;this.cachedBBox==null&&t||(this.invalidateCachedBBox(),this._dirty=!0,this.parentNode&&this.parentNode.markDirty())}markClean(){if(this._dirty){this._dirty=!1;for(const t of this.children())t.markClean()}}onZIndexChange(){const{parentNode:t}=this;t&&(t.dirtyZIndex=!0)}toSVG(){}};F0._nextSerialNumber=0;I([xe()],F0.prototype,"visible",2);I([xe({changeCb:e=>e.onZIndexChange()})],F0.prototype,"zIndex",2);var Gc=F0,rv=(e,t,i)=>e*(1-i)+t*i,cw=e=>{const t=e<0?-1:1,i=Math.abs(e);return i<=.04045?e/12.92:t*((i+.055)/1.055)**2.4},dw=e=>{const t=e<0?-1:1,i=Math.abs(e);return i>.0031308?t*(1.055*i**(1/2.4)-.055):12.92*e},NB=class Dt{constructor(t,i,o,s=1){this.r=Ve(0,t||0,1),this.g=Ve(0,i||0,1),this.b=Ve(0,o||0,1),this.a=Ve(0,s||0,1)}static validColorString(t){return t.indexOf("#")>=0?!!Dt.parseHex(t):t.indexOf("rgb")>=0?!!Dt.stringToRgba(t):Dt.nameToHex.has(t.toLowerCase())}static fromString(t){if(t.indexOf("#")>=0)return Dt.fromHexString(t);const i=Dt.nameToHex.get(t.toLowerCase());if(i)return Dt.fromHexString(i);if(t.indexOf("rgb")>=0)return Dt.fromRgbaString(t);throw new Error(`Invalid color string: '${t}'`)}static parseHex(t){t=t.replace(/ /g,"").slice(1);let i;switch(t.length){case 6:case 8:i=[];for(let o=0;o<t.length;o+=2)i.push(parseInt(`${t[o]}${t[o+1]}`,16));break;case 3:case 4:i=t.split("").map(o=>parseInt(o,16)).map(o=>o+o*16);break}if(i?.length>=3&&i.every(o=>o>=0))return i.length===3&&i.push(255),i}static fromHexString(t){const i=Dt.parseHex(t);if(i){const[o,s,n,r]=i;return new Dt(o/255,s/255,n/255,r/255)}throw new Error(`Malformed hexadecimal color string: '${t}'`)}static stringToRgba(t){let i=-1,o=-1;for(let a=0;a<t.length;a++){const l=t[a];if(i===-1&&l==="(")i=a;else if(l===")"){o=a;break}}if(i===-1||o===-1)return;const n=t.substring(i+1,o).split(","),r=[];for(let a=0;a<n.length;a++){const l=n[a];let c=parseFloat(l);if(!Number.isFinite(c))return;l.indexOf("%")>=0?(c=Ve(0,c,100),c/=100):a===3?c=Ve(0,c,1):(c=Ve(0,c,255),c/=255),r.push(c)}return r}static fromRgbaString(t){const i=Dt.stringToRgba(t);if(i){if(i.length===3)return new Dt(i[0],i[1],i[2]);if(i.length===4)return new Dt(i[0],i[1],i[2],i[3])}throw new Error(`Malformed rgb/rgba color string: '${t}'`)}static fromArray(t){if(t.length===4)return new Dt(t[0],t[1],t[2],t[3]);if(t.length===3)return new Dt(t[0],t[1],t[2]);throw new Error("The given array should contain 3 or 4 color components (numbers).")}static fromHSB(t,i,o,s=1){const n=Dt.HSBtoRGB(t,i,o);return new Dt(n[0],n[1],n[2],s)}static fromHSL(t,i,o,s=1){const n=Dt.HSLtoRGB(t,i,o);return new Dt(n[0],n[1],n[2],s)}static fromOKLCH(t,i,o,s=1){const n=Dt.OKLCHtoRGB(t,i,o);return new Dt(n[0],n[1],n[2],s)}static padHex(t){return t.length===1?"0"+t:t}toHexString(){let t="#"+Dt.padHex(Math.round(this.r*255).toString(16))+Dt.padHex(Math.round(this.g*255).toString(16))+Dt.padHex(Math.round(this.b*255).toString(16));return this.a<1&&(t+=Dt.padHex(Math.round(this.a*255).toString(16))),t}toRgbaString(t=3){const i=[Math.round(this.r*255),Math.round(this.g*255),Math.round(this.b*255)],o=Math.pow(10,t);return this.a!==1?(i.push(Math.round(this.a*o)/o),`rgba(${i.join(", ")})`):`rgb(${i.join(", ")})`}toString(){return this.a===1?this.toHexString():this.toRgbaString()}toHSB(){return Dt.RGBtoHSB(this.r,this.g,this.b)}static RGBtoOKLCH(t,i,o){const s=cw(t),n=cw(i),r=cw(o),a=Math.cbrt(.4122214708*s+.5363325363*n+.0514459929*r),l=Math.cbrt(.2119034982*s+.6806995451*n+.1073969566*r),c=Math.cbrt(.0883024619*s+.2817188376*n+.6299787005*r),d=.2104542553*a+.793617785*l-.0040720468*c,u=1.9779984951*a-2.428592205*l+.4505937099*c,h=.0259040371*a+.7827717662*l-.808675766*c,p=Math.atan2(h,u)*180/Math.PI,g=d,f=Math.hypot(u,h),v=p>=0?p:p+360;return[g,f,v]}static OKLCHtoRGB(t,i,o){const s=t,n=i*Math.cos(o*Math.PI/180),r=i*Math.sin(o*Math.PI/180),a=(s+.3963377774*n+.2158037573*r)**3,l=(s-.1055613458*n-.0638541728*r)**3,c=(s-.0894841775*n-1.291485548*r)**3,d=4.0767416621*a-3.3077115913*l+.2309699292*c,u=-1.2684380046*a+2.6097574011*l-.3413193965*c,h=-.0041960863*a-.7034186147*l+1.707614701*c,p=dw(d),g=dw(u),f=dw(h);return[p,g,f]}static RGBtoHSL(t,i,o){const s=Math.min(t,i,o),n=Math.max(t,i,o),r=(n+s)/2;let a,l;if(n===s)a=0,l=0;else{const c=n-s;l=r>.5?c/(2-n-s):c/(n+s),n===t?a=(i-o)/c+(i<o?6:0):n===i?a=(o-t)/c+2:a=(t-i)/c+4,a*=360/6}return[a,l,r]}static HSLtoRGB(t,i,o){if(t=(t%360+360)%360,i===0)return[o,o,o];const s=o<.5?o*(1+i):o+i-o*i,n=2*o-s;function r(d){return d<0&&(d+=1),d>1&&(d-=1),d<1/6?n+(s-n)*6*d:d<1/2?s:d<2/3?n+(s-n)*(2/3-d)*6:n}const a=r(t/360+1/3),l=r(t/360),c=r(t/360-1/3);return[a,l,c]}static RGBtoHSB(t,i,o){const s=Math.min(t,i,o),n=Math.max(t,i,o),r=n===0?0:(n-s)/n;let a=0;if(s!==n){const l=n-s,c=(n-t)/l,d=(n-i)/l,u=(n-o)/l;t===n?a=u-d:i===n?a=2+c-u:a=4+d-c,a/=6,a<0&&(a=a+1)}return[a*360,r,n]}static HSBtoRGB(t,i,o){t=(t%360+360)%360/360;let s=0,n=0,r=0;if(i===0)s=n=r=o;else{const a=(t-Math.floor(t))*6,l=a-Math.floor(a),c=o*(1-i),d=o*(1-i*l),u=o*(1-i*(1-l));switch(a>>0){case 0:s=o,n=u,r=c;break;case 1:s=d,n=o,r=c;break;case 2:s=c,n=o,r=u;break;case 3:s=c,n=d,r=o;break;case 4:s=u,n=c,r=o;break;case 5:s=o,n=c,r=d;break}}return[s,n,r]}static mix(t,i,o){return new Dt(rv(t.r,i.r,o),rv(t.g,i.g,o),rv(t.b,i.b,o),rv(t.a,i.a,o))}};NB.nameToHex=new Map([["aliceblue","#F0F8FF"],["antiquewhite","#FAEBD7"],["aqua","#00FFFF"],["aquamarine","#7FFFD4"],["azure","#F0FFFF"],["beige","#F5F5DC"],["bisque","#FFE4C4"],["black","#000000"],["blanchedalmond","#FFEBCD"],["blue","#0000FF"],["blueviolet","#8A2BE2"],["brown","#A52A2A"],["burlywood","#DEB887"],["cadetblue","#5F9EA0"],["chartreuse","#7FFF00"],["chocolate","#D2691E"],["coral","#FF7F50"],["cornflowerblue","#6495ED"],["cornsilk","#FFF8DC"],["crimson","#DC143C"],["cyan","#00FFFF"],["darkblue","#00008B"],["darkcyan","#008B8B"],["darkgoldenrod","#B8860B"],["darkgray","#A9A9A9"],["darkgreen","#006400"],["darkgrey","#A9A9A9"],["darkkhaki","#BDB76B"],["darkmagenta","#8B008B"],["darkolivegreen","#556B2F"],["darkorange","#FF8C00"],["darkorchid","#9932CC"],["darkred","#8B0000"],["darksalmon","#E9967A"],["darkseagreen","#8FBC8F"],["darkslateblue","#483D8B"],["darkslategray","#2F4F4F"],["darkslategrey","#2F4F4F"],["darkturquoise","#00CED1"],["darkviolet","#9400D3"],["deeppink","#FF1493"],["deepskyblue","#00BFFF"],["dimgray","#696969"],["dimgrey","#696969"],["dodgerblue","#1E90FF"],["firebrick","#B22222"],["floralwhite","#FFFAF0"],["forestgreen","#228B22"],["fuchsia","#FF00FF"],["gainsboro","#DCDCDC"],["ghostwhite","#F8F8FF"],["gold","#FFD700"],["goldenrod","#DAA520"],["gray","#808080"],["green","#008000"],["greenyellow","#ADFF2F"],["grey","#808080"],["honeydew","#F0FFF0"],["hotpink","#FF69B4"],["indianred","#CD5C5C"],["indigo","#4B0082"],["ivory","#FFFFF0"],["khaki","#F0E68C"],["lavender","#E6E6FA"],["lavenderblush","#FFF0F5"],["lawngreen","#7CFC00"],["lemonchiffon","#FFFACD"],["lightblue","#ADD8E6"],["lightcoral","#F08080"],["lightcyan","#E0FFFF"],["lightgoldenrodyellow","#FAFAD2"],["lightgray","#D3D3D3"],["lightgreen","#90EE90"],["lightgrey","#D3D3D3"],["lightpink","#FFB6C1"],["lightsalmon","#FFA07A"],["lightseagreen","#20B2AA"],["lightskyblue","#87CEFA"],["lightslategray","#778899"],["lightslategrey","#778899"],["lightsteelblue","#B0C4DE"],["lightyellow","#FFFFE0"],["lime","#00FF00"],["limegreen","#32CD32"],["linen","#FAF0E6"],["magenta","#FF00FF"],["maroon","#800000"],["mediumaquamarine","#66CDAA"],["mediumblue","#0000CD"],["mediumorchid","#BA55D3"],["mediumpurple","#9370DB"],["mediumseagreen","#3CB371"],["mediumslateblue","#7B68EE"],["mediumspringgreen","#00FA9A"],["mediumturquoise","#48D1CC"],["mediumvioletred","#C71585"],["midnightblue","#191970"],["mintcream","#F5FFFA"],["mistyrose","#FFE4E1"],["moccasin","#FFE4B5"],["navajowhite","#FFDEAD"],["navy","#000080"],["oldlace","#FDF5E6"],["olive","#808000"],["olivedrab","#6B8E23"],["orange","#FFA500"],["orangered","#FF4500"],["orchid","#DA70D6"],["palegoldenrod","#EEE8AA"],["palegreen","#98FB98"],["paleturquoise","#AFEEEE"],["palevioletred","#DB7093"],["papayawhip","#FFEFD5"],["peachpuff","#FFDAB9"],["peru","#CD853F"],["pink","#FFC0CB"],["plum","#DDA0DD"],["powderblue","#B0E0E6"],["purple","#800080"],["rebeccapurple","#663399"],["red","#FF0000"],["rosybrown","#BC8F8F"],["royalblue","#4169E1"],["saddlebrown","#8B4513"],["salmon","#FA8072"],["sandybrown","#F4A460"],["seagreen","#2E8B57"],["seashell","#FFF5EE"],["sienna","#A0522D"],["silver","#C0C0C0"],["skyblue","#87CEEB"],["slateblue","#6A5ACD"],["slategray","#708090"],["slategrey","#708090"],["snow","#FFFAFA"],["springgreen","#00FF7F"],["steelblue","#4682B4"],["tan","#D2B48C"],["teal","#008080"],["thistle","#D8BFD8"],["tomato","#FF6347"],["transparent","#00000000"],["turquoise","#40E0D0"],["violet","#EE82EE"],["wheat","#F5DEB3"],["white","#FFFFFF"],["whitesmoke","#F5F5F5"],["yellow","#FFFF00"],["yellowgreen","#9ACD32"]]);var jt=NB;function ij(e,t){return i=>Number(e)*(1-i)+Number(t)*i}function OB(e,t){if(typeof e=="string")try{e=jt.fromString(e)}catch{e=jt.fromArray([0,0,0])}if(typeof t=="string")try{t=jt.fromString(t)}catch{t=jt.fromArray([0,0,0])}return i=>jt.mix(e,t,i).toRgbaString()}var yC=Symbol("BREAK"),$h="__decorator_config";function FB(e,t){Object.getOwnPropertyDescriptor(e,$h)==null&&Object.defineProperty(e,$h,{value:{}});const i=e[$h],o=t.toString();if(typeof i[o]<"u")return i[o];const s=new WeakMap;i[o]={setters:[],getters:[],observers:[],valuesMap:s};const n=Object.getOwnPropertyDescriptor(e,t),r=n?.set,a=n?.get;return Object.defineProperty(e,t,{set:function(d){const{setters:u,observers:h}=i[o];let p;u.some(g=>g.length>2)&&(p=a?a.call(this):s.get(this));for(const g of u)if(d=g(this,t,d,p),d===yC)return;r?r.call(this,d):s.set(this,d);for(const g of h)g(this,d,p)},get:function(){let d=a?a.call(this):s.get(this);for(const u of i[o].getters)if(d=u(this,t,d),d===yC)return;return d},enumerable:!0,configurable:!1}),i[o]}function hl(e,t,i){return(o,s)=>{const n=FB(o,s);n.setters.push(e),t&&n.getters.unshift(t),i&&Object.assign(n,i)}}function BB(e){return(t,i)=>{FB(t,i).observers.push(e)}}function B0(e){return typeof e<"u"&&$h in e}function su(e){const t=new Set;for(;B0(e);)t.add(e?.[$h]),e=Object.getPrototypeOf(e);return Array.from(t).flatMap(i=>Object.keys(i))}function GB(e){return su(e).reduce((t,i)=>(t[i]=e[i]??null,t),{})}function oj(e,t){const i=t.toString();for(;B0(e);){const o=e[$h];if(Object.hasOwn(o,i))return o[i];e=Object.getPrototypeOf(e)}}function mu(e,t){return Array.isArray(e)?!Array.isArray(t)||e.length!==t.length?!1:e.every((i,o)=>mu(i,t[o])):Po(e)?Po(t)?rk(e,t,mu):!1:e===t}function rk(e,t,i){for(const o of Object.keys(t))if(!(o in e))return!1;for(const o of Object.keys(e))if(!(o in t)||!i(e[o],t[o]))return!1;return!0}function Ke(...e){const t={};for(const i of e){if(!Ji(i))continue;const o=B0(i)?su(i):Object.keys(i);for(const s of o)Po(t[s])&&Po(i[s])?t[s]=Ke(t[s],i[s]):t[s]??(t[s]=i[s])}return t}function vC(e,...t){return t&&Rt(e)?e.map(i=>Ke(i,...t)):e}function sj(e,t){return Object.entries(e).reduce((i,[o,s])=>(i[o]=t(s,o,e),i),{})}function L1(e,t){const i={...e};for(const o of t)delete i[o];return i}function ak(e,t){return(Rt(t)?t:t.split(".")).reduce((o,s)=>o[s],e)}var lk=new Set(["__proto__","constructor","prototype"]);function ck(e,t,i){const o=Rt(t)?t.slice():t.split("."),s=o.pop();if(o.some(r=>lk.has(r)))return;const n=o.reduce((r,a)=>r[a],e);return n[s]=i,n[s]}function E1(e,t,i){if(i===void 0)return t;for(const o of e){const s=i[o];s!==void 0&&(t[o]=s)}return t}function vf(e){return Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const i=e[t];i!==null&&(typeof i=="object"||typeof i=="function")&&!Object.isFrozen(i)&&vf(i)}),e}var P1={};On(P1,{easeIn:()=>nj,easeInOut:()=>rj,easeInOutQuad:()=>cj,easeInQuad:()=>aj,easeOut:()=>Kf,easeOutQuad:()=>lj,inverseEaseOut:()=>_B,linear:()=>zB});var zB=e=>e,nj=e=>1-Math.cos(e*Math.PI/2),Kf=e=>Math.sin(e*Math.PI/2),rj=e=>-(Math.cos(e*Math.PI)-1)/2,aj=e=>e*e,lj=e=>1-(1-e)**2,cj=e=>e<.5?2*e*e:1-(-2*e+2)**2/2,_B=e=>2*Math.asin(e)/Math.PI,bC=.2,Th=["initial","remove","update","add","trailing","end","none"],Yf={initial:{animationDuration:1,animationDelay:0},add:{animationDuration:.25,animationDelay:.75},remove:{animationDuration:.25,animationDelay:0},update:{animationDuration:.5,animationDelay:.25},trailing:{animationDuration:bC,animationDelay:1,skipIfNoEarlierAnimations:!0},end:{animationDelay:1+bC,animationDuration:0,skipIfNoEarlierAnimations:!0},none:{animationDuration:0,animationDelay:0}},VB=(e=>(e.Loop="loop",e.Reverse="reverse",e))(VB||{});function dj(e){return e.every(t=>t instanceof Gc)}function G0(e){return dj(e)?{nodes:e,selections:[]}:{nodes:[],selections:e}}function N1(e,t){return e===t?!0:Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((i,o)=>N1(i,t[o])):mC(e)&&mC(t)?e.equals(t):Po(e)&&Po(t)?rk(e,t,N1):!1}var HB=class{constructor(t){this.isComplete=!1,this.elapsed=0,this.iteration=0,this.isPlaying=!1,this.isReverse=!1,this.id=t.id,this.groupId=t.groupId,this.autoplay=t.autoplay??!0,this.ease=t.ease??zB,this.phase=t.phase;const i=t.duration??Yf[this.phase].animationDuration;this.duration=i*t.defaultDuration,this.delay=(t.delay??0)*t.defaultDuration,this.onComplete=t.onComplete,this.onPlay=t.onPlay,this.onStop=t.onStop,this.onUpdate=t.onUpdate,this.interpolate=this.createInterpolator(t.from,t.to),this.from=t.from,t.skip===!0&&(this.onUpdate?.(t.to,!1,this),this.onStop?.(this),this.onComplete?.(this),this.isComplete=!0),t.collapsable!==!1&&(this.duration=this.checkCollapse(t,this.duration))}checkCollapse(t,i){return N1(t.from,t.to)?0:i}play(t=!1){this.isPlaying||this.isComplete||(this.isPlaying=!0,this.onPlay?.(this),this.autoplay&&(this.autoplay=!1,t&&this.onUpdate?.(this.from,!0,this)))}stop(){this.isPlaying=!1,this.isComplete||(this.isComplete=!0,this.onStop?.(this))}update(t){if(this.isComplete)return t;!this.isPlaying&&this.autoplay&&this.play(!0);const i=this.elapsed;if(this.elapsed+=t,this.delay>this.elapsed)return 0;const o=this.interpolate(this.isReverse?1-this.delta:this.delta);this.onUpdate?.(o,!1,this);const s=this.delay+this.duration;return this.elapsed>=s?(this.stop(),this.isComplete=!0,this.onComplete?.(this),t-(s-i)):0}get delta(){return this.ease(Ve(0,(this.elapsed-this.delay)/this.duration,1))}createInterpolator(t,i){if(typeof i!="object"||mC(i))return this.interpolateValue(t,i);const o=[];for(const s of Object.keys(i)){const n=this.interpolateValue(t[s],i[s]);n!=null&&o.push([s,n])}return s=>{const n={};for(const[r,a]of o)n[r]=a(s);return n}}interpolateValue(t,i){if(!(t==null||i==null)){if(mC(t))return o=>t[L0](i,o);try{switch(typeof t){case"number":return ij(t,i);case"string":return OB(t,i);case"boolean":if(t===i)return()=>t;break}}catch{}throw new Error(`Unable to interpolate values: ${t}, ${i}`)}}},dr={added:"add",updated:"update",removed:"remove",unknown:"initial","no-op":"none"};function Ut(e,t,i,o,s,n,r){const{fromFn:a,toFn:l,applyFn:c=(g,f)=>g.setProperties(f)}=s,{nodes:d,selections:u}=G0(o),h=(g,f)=>{let v,y=0,C=0;for(const S of f){const x=g[y]===S,D={last:C>=f.length-1,lastLive:y>=g.length-1,prev:f[C-1],prevFromProps:v,prevLive:g[y-1],next:f[C+1],nextLive:g[y+(x?1:0)]},A=`${e}_${t}_${S.id}`;i.stopByAnimationId(A);let k="unknown";x?n&&r&&(k=uj(S,S.datum,n,r)):k="removed",S.transitionOut=k==="removed";const{phase:w,start:M,finish:R,delay:L,duration:P,...N}=a(S,S.datum,k,D),{phase:O,start:F,finish:z,delay:_,duration:V,...G}=l(S,S.datum,k,D),H=R==null;i.animate({id:A,groupId:e,phase:w??O??"update",duration:P??V,delay:L??_,from:N,to:G,ease:Kf,collapsable:H,onPlay:()=>{const B={...M,...F,...N};c(S,B,"start")},onUpdate(B){c(S,B,"update")},onStop:()=>{const B={...M,...F,...N,...G,...R,...z};c(S,B,"end")}}),x&&y++,C++,v=N}};let p=0;for(const g of u){const f=g.nodes(),v=f.filter(y=>!g.isGarbage(y));h(v,f),i.animate({id:`${e}_${t}_selection_${p}`,groupId:e,phase:"end",from:0,to:1,ease:Kf,onStop(){g.cleanup()}}),p++}h(d,d)}function xl(e,t,i,o,s,n,r){const{nodes:a,selections:l}=G0(o),{start:c,finish:d,phase:u}=r;i.animate({id:`${e}_${t}`,groupId:e,phase:u??"update",from:s,to:n,ease:Kf,onPlay:()=>{if(c){for(const h of a)h.setProperties(c);for(const h of l)for(const p of h.nodes())p.setProperties(c)}},onUpdate(h){for(const p of a)p.setProperties(h);for(const p of l)for(const g of p.nodes())g.setProperties(h)},onStop:()=>{for(const h of a)h.setProperties({...n,...d});for(const h of l){for(const p of h.nodes())p.setProperties({...n,...d});h.cleanup()}}})}function uj(e,t,i,o){const s=i(e,t);return o.added.has(s)?"added":o.removed.has(s)?"removed":"updated"}var z0=class{ticks(e,t,i){}niceDomain(e,t=this.domain){return t}tickFormatter(e){}datumFormatter(e){}get bandwidth(){}get step(){}get inset(){}},WB=class jB extends z0{constructor(t=[],i=[]){super(),this.domain=t,this.range=i,this.defaultClamp=!1}static is(t){return t instanceof jB}normalizeDomains(...t){let i,o=1/0,s,n=-1/0;for(const r of t)for(const a of r){const l=a.valueOf();l<o&&(o=l,i=a),l>n&&(n=l,s=a)}return i!=null&&s!=null?{domain:[i,s],animatable:!0}:{domain:[],animatable:!1}}transform(t){return t}transformInvert(t){return t}calcBandwidth(t=1){const{domain:i}=this,o=this.getPixelRange();if(i.length===0)return o;const s=Math.abs(i[1].valueOf()-i[0].valueOf())/t+1,n=Math.floor(o),r=Math.min(s,n);return o/Math.max(1,r)}convert(t,i=this.defaultClamp){const{domain:o}=this;if(!o||o.length<2)return NaN;const s=Number(this.transform(o[0])),n=Number(this.transform(o[1])),r=Number(this.transform(t)),{range:a}=this,[l,c]=a;if(i){const[d,u]=eo([s,n]);if(r<d)return l;if(r>u)return c}return s===n?(l+c)/2:r===s?l:r===n?c:l+(r-s)/(n-s)*(c-l)}invert(t,i){const o=this.domain.map(d=>this.transform(d)),[s,n]=o,{range:r}=this,[a,l]=r;let c;return a===l?c=this.toDomain((Number(s)+Number(n))/2):c=this.toDomain(Number(s)+(t-a)/(l-a)*(Number(n)-Number(s))),this.transformInvert(c)}getPixelRange(){const[t,i]=this.range;return Math.abs(i-t)}};WB.defaultTickCount=5;var ut=WB,hj={};On(hj,{TimeInterval:()=>up,day:()=>CC,friday:()=>Ij,hour:()=>Bh,millisecond:()=>$B,minute:()=>Fh,monday:()=>wj,month:()=>Yd,saturday:()=>Aj,second:()=>Oh,sunday:()=>bf,thursday:()=>kj,tuesday:()=>Mj,utcDay:()=>Vj,utcHour:()=>Gj,utcMinute:()=>Oj,utcMonth:()=>jj,utcYear:()=>Kj,wednesday:()=>Dj,year:()=>_0});var up=class{constructor(e,t,i){this._encode=e,this._decode=t,this._rangeCallback=i}floor(e){const t=new Date(e),i=this._encode(t);return this._decode(i)}ceil(e){const t=new Date(Number(e)-1),i=this._encode(t);return this._decode(i+1)}range(e,t,{extend:i=!1,visibleRange:o=[0,1]}={}){let s=!1;e.getTime()>t.getTime()&&([e,t]=[t,e],s=!0);const n=this._rangeCallback?.(e,t),r=this._encode(i?this.floor(e):this.ceil(e)),a=this._encode(i?this.ceil(t):this.floor(t));if(a<r)return[];const l=a-r;let c,d;s?(c=Math.ceil(r+(1-o[1])*l),d=Math.floor(r+(1-o[0])*l)):(c=Math.floor(r+o[0]*l),d=Math.ceil(r+o[1]*l));const u=[];for(let h=c;h<=d;h+=1){const p=this._decode(h);u.push(p)}return n?.(),u}},Qs=class extends up{getOffset(e,t){return Math.floor(this._encode(new Date(e)))%t}every(e,t){let i=0,o;const s=e;e=Math.max(1,Math.round(e)),s!==e&&fe.warnOnce(`interval step of [${s}] rounded to [${e}].`);const{snapTo:n="start"}=t??{};if(typeof n=="string"){const l=i;o=(c,d)=>{const u=n==="start"?c:d;return i=this.getOffset(u,e),()=>i=l}}else typeof n=="number"?i=this.getOffset(new Date(n),e):n instanceof Date&&(i=this.getOffset(n,e));const r=l=>Math.floor((this._encode(l)-i)/e),a=l=>this._decode(l*e+i);return new up(r,a,o)}};function pj(e){return e.getTime()}function gj(e){return new Date(e)}var $B=new Qs(pj,gj),bc=1e3,go=bc*60,ts=go*60,Tn=ts*24,el=Tn*7,Rg=Tn*30,hp=Tn*365,UB=new Date().getTimezoneOffset()*go;function fj(e){return Math.floor((e.getTime()-UB)/bc)}function mj(e){return new Date(UB+e*bc)}var Oh=new Qs(fj,mj),KB=new Date().getTimezoneOffset()*go;function yj(e){return Math.floor((e.getTime()-KB)/go)}function vj(e){return new Date(KB+e*go)}var Fh=new Qs(yj,vj),YB=new Date().getTimezoneOffset()*go;function bj(e){return Math.floor((e.getTime()-YB)/ts)}function Cj(e){return new Date(YB+e*ts)}var Bh=new Qs(bj,Cj);function Sj(e){const t=e.getTimezoneOffset()*go;return Math.floor((e.getTime()-t)/Tn)}function xj(e){const t=new Date(1970,0,1);return t.setDate(t.getDate()+e),t}var CC=new Qs(Sj,xj);function Au(e){const i=(7+e-4)%7;function o(n){const r=n.getTimezoneOffset()*go;return Math.floor((n.getTime()-r)/el-i/7)}function s(n){const r=new Date(1970,0,1);return r.setDate(r.getDate()+n*7+i),r}return new Qs(o,s)}var bf=Au(0),wj=Au(1),Mj=Au(2),Dj=Au(3),kj=Au(4),Ij=Au(5),Aj=Au(6);function Rj(e){return e.getFullYear()*12+e.getMonth()}function Tj(e){const t=Math.floor(e/12),i=e-t*12;return new Date(t,i,1)}var Yd=new Qs(Rj,Tj);function Lj(e){return e.getFullYear()}function Ej(e){const t=new Date;return t.setFullYear(e),t.setMonth(0,1),t.setHours(0,0,0,0),t}var _0=new Qs(Lj,Ej);function Pj(e){return Math.floor(e.getTime()/go)}function Nj(e){return new Date(e*go)}var Oj=new Qs(Pj,Nj);function Fj(e){return Math.floor(e.getTime()/ts)}function Bj(e){return new Date(e*ts)}var Gj=new Qs(Fj,Bj);function zj(e){return Math.floor(e.getTime()/Tn)}function _j(e){const t=new Date(0);return t.setUTCDate(t.getUTCDate()+e),t.setUTCHours(0,0,0,0),t}var Vj=new Qs(zj,_j);function Hj(e){return e.getUTCFullYear()*12+e.getUTCMonth()}function Wj(e){const t=Math.floor(e/12),i=e-t*12;return new Date(Date.UTC(t,i,1))}var jj=new Qs(Hj,Wj);function $j(e){return e.getUTCFullYear()}function Uj(e){const t=new Date;return t.setUTCFullYear(e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),t}var Kj=new Qs($j,Uj),av={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"]};function dk(e,t=new Date(e.getFullYear(),0,1)){const i=e.getTimezoneOffset()-t.getTimezoneOffset(),o=e.getTime()-t.getTime()+i*6e4,s=36e5*24;return Math.floor(o/s)}function JL(e,t){const o=new Date(e.getFullYear(),0,1).getDay(),s=(t-o+7)%7,n=new Date(e.getFullYear(),0,s+1);return n<=e?Math.floor(dk(e,n)/7)+1:0}var Yj=0,XB=1,eE=4;function ZB(e,t=e.getFullYear()){const o=new Date(t,0,1).getDay(),s=(eE-o+7)%7,n=new Date(t,0,s-(eE-XB)+1);return n<=e?Math.floor(dk(e,n)/7)+1:ZB(e,t-1)}function Xj(e){const t=e.getTimezoneOffset(),i=Math.abs(t);return`${t>0?"-":"+"}${co(Math.floor(i/60),2,"0")}${co(Math.floor(i%60),2,"0")}`}var Zj={a:e=>av.shortDays[e.getDay()],A:e=>av.days[e.getDay()],b:e=>av.shortMonths[e.getMonth()],B:e=>av.months[e.getMonth()],c:"%x, %X",d:(e,t)=>co(e.getDate(),2,t??"0"),e:"%_d",f:(e,t)=>co(e.getMilliseconds()*1e3,6,t??"0"),H:(e,t)=>co(e.getHours(),2,t??"0"),I:(e,t)=>{const i=e.getHours()%12;return i===0?"12":co(i,2,t??"0")},j:(e,t)=>co(dk(e)+1,3,t??"0"),m:(e,t)=>co(e.getMonth()+1,2,t??"0"),M:(e,t)=>co(e.getMinutes(),2,t??"0"),L:(e,t)=>co(e.getMilliseconds(),3,t??"0"),p:e=>e.getHours()<12?"AM":"PM",Q:e=>String(e.getTime()),s:e=>String(Math.floor(e.getTime()/1e3)),S:(e,t)=>co(e.getSeconds(),2,t??"0"),u:e=>{let t=e.getDay();return t<1&&(t+=7),String(t%7)},U:(e,t)=>co(JL(e,Yj),2,t??"0"),V:(e,t)=>co(ZB(e),2,t??"0"),w:(e,t)=>co(e.getDay(),2,t??"0"),W:(e,t)=>co(JL(e,XB),2,t??"0"),x:"%-m/%-d/%Y",X:"%-I:%M:%S %p",y:(e,t)=>co(e.getFullYear()%100,2,t??"0"),Y:(e,t)=>co(e.getFullYear(),4,t??"0"),Z:e=>Xj(e),"%":()=>"%"},qj={_:" ",0:"0","-":""};function co(e,t,i){const o=String(Math.floor(e));return o.length>=t?o:`${i.repeat(t-o.length)}${o}`}function jm(e){const t=[];for(;e.length>0;){let i=e.indexOf("%");if(i!==0){const a=i>0?e.substring(0,i):e;t.push(a)}if(i<0)break;const o=e[i+1],s=qj[o];s!=null&&i++;const n=e[i+1],r=Zj[n];if(typeof r=="function")t.push([r,s]);else if(typeof r=="string"){const a=jm(r);t.push([a,s])}else t.push(`${s??""}${n}`);e=e.substring(i+2)}return i=>{const o=typeof i=="number"?new Date(i):i;return t.map(s=>typeof s=="string"?s:s[0](o,s[1])).join("")}}function Io(e){return e instanceof Date?e.getTime():e}function uk(e,t,i){const o=qB(e,t,i),s=jm(o);return n=>s(n)}function qB(e,t,i=0){let o=1/0;for(let d=1;d<e.length;d++)o=Math.min(o,Math.abs(e[d].valueOf()-e[d-1].valueOf()));const[s,n]=t.length===0?[0,0]:eo([t[0].valueOf(),t[t.length-1].valueOf()]),r=new Date(s).getFullYear(),l=new Date(n).getFullYear()-r>0,c=isFinite(o)?Qj(o,e):Jj(e[0]);return t$(Math.max(c-i,0),l,e)}function Qj(e,t){return e<bc?0:e<go?1:e<ts?2:e<Tn?3:e<el?4:e<Tn*28||e<Tn*31&&e$(t)?5:e<hp?6:7}function Jj(e){return Oh.floor(e)<e?0:Fh.floor(e)<e?1:Bh.floor(e)<e?2:CC.floor(e)<e?3:Yd.floor(e)<e?bf.floor(e)<e?4:5:_0.floor(e)<e?6:7}function e$(e){let t=new Date(e[0]).getMonth();for(let i=1;i<e.length;i++){const o=new Date(e[i]).getMonth();if(t===o)return!0;t=o}return!1}function t$(e,t,i){const o=Io(i[0]),s=Io(i.at(-1)),n=Math.abs(s-o),r=t||e===7,a=n===0,c=[["hour",6*ts,14*Tn,3,"%I %p"],["hour",go,6*ts,3,"%I:%M"],["second",1e3,6*ts,1,":%S"],["ms",0,6*ts,0,".%L"],["am/pm",go,6*ts,3,"%p"]," ",["day",Tn,el,4,"%a"],["month",a?0:el,52*el,5,"%b %d"],["month",5*el,10*hp,6,"%B"]," ",["year",r?0:hp,1/0,7,"%Y"]].filter(h=>{if(typeof h=="string")return!0;const[p,g,f,v]=h;return v>=e&&g<=n&&n<f}).reduce((h,p)=>(typeof p=="string"?h.result.push(p):h.used.has(p[0])||(h.result.push(p),h.used.add(p[0])),h),{result:[],used:new Set}).result,d=c.findIndex(h=>typeof h!="string"),u=c.findLastIndex(h=>typeof h!="string");return c.slice(d,u+1).map(h=>typeof h=="string"?h:h[4]).join("").replaceAll(/\s+/g," ").trim()}var kp=(e,t)=>{const i=Symbol(String(t));e[i]=void 0,Object.defineProperty(e,t,{get(){return this[i]},set(o){this[i]!==o&&(this[i]=o,this.invalid=!0)},enumerable:!0,configurable:!1})};function QB(e,t,i){if(i==null||i[0]===0&&i[1]===1)return e;const o=Ve(0,Math.floor(i[0]*e.length),e.length),s=Ve(0,Math.ceil(i[1]*e.length),e.length),n=t?e.length-s:o,r=t?e.length-o:s;return e.slice(n,r)}var V0=class JB extends z0{constructor(){super(...arguments),this.invalid=!0,this.range=[0,1],this.round=!1,this.interval=void 0,this._bandwidth=1,this._step=1,this._inset=1,this._rawBandwidth=1,this._paddingInner=0,this._paddingOuter=0}static is(t){return t instanceof JB}get bandwidth(){return this.refresh(),this._bandwidth}get step(){return this.refresh(),this._step}get inset(){return this.refresh(),this._inset}get rawBandwidth(){return this.refresh(),this._rawBandwidth}set padding(t){t=Ve(0,t,1),this._paddingInner=t,this._paddingOuter=t}get padding(){return this._paddingInner}set paddingInner(t){this.invalid=!0,this._paddingInner=Ve(0,t,1)}get paddingInner(){return this._paddingInner}set paddingOuter(t){this.invalid=!0,this._paddingOuter=Ve(0,t,1)}get paddingOuter(){return this._paddingOuter}refresh(){this.invalid&&(this.invalid=!1,this.update(),this.invalid&&fe.warnOnce("Expected update to not invalidate scale"))}ticks(t,i=this.domain,o){return QB(i,!1,o)}convert(t,i){this.refresh();const o=this.getIndex(t);return o==null||o<0||o>=this.domain.length?NaN:this.ordinalRange(o)}invertNearestIndex(t){this.refresh();const{domain:i}=this;if(i.length===0)return-1;let o=0,s=i.length-1,n=1/0,r=0;for(;o<=s;){const a=(s+o)/2|0,l=this.ordinalRange(a),c=Math.abs(l-t);if(c===0)return a;c<n&&(n=c,r=a),l<t?o=a+1:s=a-1}return r}update(){const t=this.domain.length;if(t===0)return;const[i,o]=this.range;let{_paddingInner:s}=this;const{_paddingOuter:n,round:r}=this,a=o-i;let l;t===1?(s=0,l=a*(1-n*2)):l=a/Math.max(1,t-s+n*2);const c=r?Math.floor(l):l;let d=i+(a-c*(t-s))/2,u=c*(1-s);r&&(d=Math.round(d),u=Math.round(u)),this._step=c,this._inset=d,this._bandwidth=u,this._rawBandwidth=l*(1-s)}ordinalRange(t){const{_inset:i,_step:o,range:s}=this,n=Math.min(s[0],s[1]),r=Math.max(s[0],s[1]);return Ve(n,i+o*t,r)}};I([kp],V0.prototype,"range",2);I([kp],V0.prototype,"round",2);I([kp],V0.prototype,"interval",2);var $m=V0,Um=class extends $m{constructor(){super(...arguments),this.type="band",this.index=void 0,this._domain=[]}set domain(t){this._domain!==t&&(this.invalid=!0,this._domain=t,this.index=void 0)}get domain(){return this._domain}normalizeDomains(...t){let i;const o=new Set;let s=!0;for(const n of t)o.has(n)||(o.add(n),i==null?i=tE(n):(s&&(s=i$(n,i)),i=tE([...i,...n])));return i??(i=[]),{domain:i,animatable:s}}toDomain(t){}invert(t,i=!1){this.refresh();const o=i?this.bandwidth/2:0,s=this.invertNearestIndex(Math.max(0,t-o));return i||t===this.ordinalRange(s)?this.domain[s]:void 0}getIndex(t){let{index:i}=this;if(i==null){const{domain:o}=this;i=new Map;for(let s=0;s<o.length;s++)i.set(Io(o[s]),s);this.index=i}return i.get(Io(t))}};function tE(e){let t;const i=new Set;for(const o of e){const s=Io(o),n=i.size;i.add(s),i.size!==n?t?.push(o):t??(t=e.slice(0,i.size))}return t??e}function i$(e,t){let i=-1;for(const o of e){const s=t.indexOf(o);if(s===-1)i=1/0;else{if(s<=i)return!1;i=s}}return!0}var _e=class{set(t){const{className:i=this.constructor.name}=this.constructor;if(typeof t!="object")return fe.warn(`unable to set ${i} - expecting a properties object`),this;const o=new Set(Object.keys(t));for(const s of su(this))if(o.has(s)){const n=t[s],r=this;if(la(r[s]))if(r[s]instanceof Km){const a=r[s].reset(n);a!=null?r[s]=a:fe.warn(`unable to set [${s}] - expecting a properties array`)}else r[s].set(n);else r[s]=n;o.delete(s)}for(const s of o)fe.warn(`unable to set [${s}] in ${i} - property is unknown`);return this}isValid(t){return su(this).every(i=>{const{optional:o}=oj(this,i),s=o===!0||typeof this[i]<"u";return s||fe.warnOnce(`${t??""}[${i}] is required.`),s})}toJson(){return su(this).reduce((t,i)=>{const o=this[i];return t[i]=la(o)?o.toJson():o,t},{})}},Km=class e3 extends Array{constructor(t,...i){super(i.length);const s=(n=>!!n?.prototype?.constructor?.name)(t)?n=>new t().set(n):t;Object.defineProperty(this,"itemFactory",{value:s,enumerable:!1,configurable:!1}),this.set(i)}set(t){if(Rt(t)){this.length=t.length;for(let i=0;i<t.length;i++)this[i]=this.itemFactory(t[i])}return this}reset(t){if(Array.isArray(t))return new e3(this.itemFactory,...t)}toJson(){return this.map(t=>t?.toJson?.()??t)}};function la(e){return e instanceof _e||e instanceof Km}function T(e,t={}){const{optional:i=!1,property:o}=t;return hl((s,n,r)=>{const a={...t,target:s,property:n};if(i&&typeof r>"u"||e(r,a))return la(s[n])&&!la(r)?(s[n].set(r),s[n]):r;const l=o??String(n).replace(/^_*/,""),c=s.constructor.className??s.constructor.name.replace(/Properties$/,""),d=yf(r,50);return fe.warn(`Property [${l}] of [${c}] cannot be set to [${d}]${e.message?`; expecting ${qm(e,a)}`:""}, ignoring.`),yC},void 0,{optional:i})}var ga=(...e)=>{const t=[];return mt((i,o)=>(t.length=0,e.every(s=>{const n=s(i,o);return n||t.push(qm(s,o)),n})),()=>t.filter(Boolean).join(" AND "))},Wc=(...e)=>mt((t,i)=>e.some(o=>o(t,i)),t=>e.map(h$(t)).filter(Boolean).join(" OR ")),Se=yk(mt((e,t)=>la(e)||Ji(e)&&la(t.target[t.property]),"a properties object")),t3=yk(mt(e=>Ji(e),"an object")),Re=mt(DB,"a boolean"),ss=mt(Iu,"a function"),ge=mt(Ms,"a string"),tt=g$(mt(nt,"a number")),i3=mt(e=>Dn(e)&&!isNaN(e),"a real number"),H0=mt(e=>Dn(e)&&isNaN(e),"NaN"),ve=tt.restrict({min:0}),ht=tt.restrict({min:0,max:1}),Ip=Wc(tt,H0),Ym=p$(mt(Rt,"an array")),wl=(e,t)=>mt((i,o)=>Rt(i)&&i.every(s=>e(s,o)),i=>{const o=qm(Ym,i)??"";return typeof t=="function"?`${o} of ${t(i)}`:t?`${o} of ${t}`:o}),SC=e=>nt(e)||Hm(e),Xm=e=>mt((t,i)=>!SC(t)||!SC(i.target[e])||t<i.target[e],`to be less than ${e}`),Zm=e=>mt((t,i)=>!SC(t)||!SC(i.target[e])||t>i.target[e],`to be greater than ${e}`),hk=mt(Hm,"Date object"),pk=Wc(hk,ve),o3="A color string can be in one of the following formats to be valid: #rgb, #rrggbb, rgb(r, g, b), rgba(r, g, b, a) or a CSS color name such as 'white', 'orange', 'cyan', etc",ct=mt(e=>Ms(e)&&jt.validColorString(e),`color String. ${o3}`),s3=yk(mt(e=>Ji(e)&&e.type==="gradient","a color gradient object")),Js=mt(wl(ct),`color strings. ${o3}`),o$=wl(Re,"boolean values"),W0=wl(tt,"numbers"),n3=wl(ge,"strings"),s$=mt(wl(hk),"Date objects"),gk=mt(wl(Se),"objects"),n$=Mt(["butt","round","square"],"a line cap"),r$=Mt(["round","bevel","miter"],"a line join"),a$=Mt(["solid","dashed","dotted"],"a line style"),fa=mt(wl(ve),"numbers specifying the length in pixels of alternating dashes and gaps, for example, [6, 3] means dashes with a length of 6 pixels with gaps between of 3 pixels."),fk=Mt(["top","right","bottom","left"],"a position"),Ml=Mt(["normal","italic","oblique"],"a font style"),Dl=Wc(Mt(["normal","bold","bolder","lighter"],"a font weight"),tt.restrict({min:1,max:1e3})),j0=Mt(["never","always","hyphenate","on-space"],"a text wrap strategy"),r3=Mt(["left","center","right"],"a text align"),l$=Mt(["top","middle","bottom"],"a vertical align"),c$=Mt(["ellipsis","hide"],"an overflow strategy"),a3=Mt(["horizontal","vertical"],"a direction"),d$=Mt(["inside","outside"],"a placement"),$0=Wc(Mt(["exact","nearest"],"interaction range"),tt),mk=Mt(["top","bottom","left","right"]);function Mt(e,t="a"){return mt((i,o)=>{const s=e.find(n=>{const r=typeof n=="string"?n:n.value;return i===r});if(s==null)return!1;if(typeof s!="string"&&(s.deprecated===!0||s.deprecatedTo!=null)){const n=[`Property [%s] with value '${s.value}' is deprecated.`];s.deprecatedTo&&n.push(`Use ${s.deprecatedTo} instead.`),fe.warnOnce(n.join(" "),o.property)}return!0},`${t} keyword such as ${u$(e)}`)}var l3=Wc(ga(tt.restrict({min:1}),Xm("maxSpacing")),H0),c3=Wc(ga(tt.restrict({min:1}),Zm("minSpacing")),H0);function mt(e,t){return e.message=t,e}function u$(e){const t=e.filter(o=>typeof o=="string"||o.undocumented!==!0).map(o=>`'${typeof o=="string"?o:o.value}'`);if(t.length===1)return t[0];const i=t.pop();return`${t.join(", ")} or ${i}`}function qm(e,t){return Iu(e.message)?e.message(t):e.message}function h$(e){return t=>qm(t,e)}function p$(e){return Object.assign(e,{restrict({length:t,minLength:i}={}){let o="an array";return Dn(i)&&i>0?o="a non-empty array":Dn(t)&&(o=`an array of length ${t}`),mt(s=>Rt(s)&&(Dn(t)?s.length===t:!0)&&(Dn(i)?s.length>=i:!0),o)}})}function g$(e){return Object.assign(e,{restrict({min:t,max:i}={}){const o=["a number"],s=Dn(t),n=Dn(i);return s&&n?o.push(`between ${t} and ${i} inclusive`):s?o.push(`greater than or equal to ${t}`):n&&o.push(`less than or equal to ${i}`),mt(r=>nt(r)&&(s?r>=t:!0)&&(n?r<=i:!0),o.join(" "))}})}function yk(e){return Object.assign(e,{restrict(t){return mt(i=>i instanceof t,i=>qm(e,i)??`an instance of ${t.name}`)}})}var d3={};On(d3,{resetMotion:()=>qi});function qi(e,t){const{nodes:i,selections:o}=G0(e);for(const s of o){for(const n of s.nodes()){const r=t(n,n.datum);n.setProperties(r)}s.cleanup()}for(const s of i){const n=t(s,s.datum);s.setProperties(n)}}var f$=2e3,iE=Date.now(),m$=()=>{const e=Date.now()-iE;if(e>f$){const t=(Math.floor(e/100)/10).toFixed(1);fe.log(`**** ${t}s since last log message ****`)}iE=Date.now()},xt={create(...e){return Object.assign((...i)=>{xt.check(...e)&&(typeof i[0]=="function"&&(i=fC(i[0]())),m$(),fe.log(...i))},{check:()=>xt.check(...e),group:(i,o)=>xt.check(...e)?fe.logGroup(i,o):o()})},check(...e){return e.length===0&&e.push(!0),fC(At("agChartsDebug")).some(i=>e.includes(i))}};function u3({context:e,pixelRatio:t,width:i,height:o}){e.save(),e.resetTransform(),e.clearRect(0,0,Math.ceil(i*t),Math.ceil(o*t)),e.restore()}function h3(e){if(xt.check("canvas")){const t=e.save.bind(e),i=e.restore.bind(e);let o=0;Object.assign(e,{save(){t(),o++},restore(){if(o===0)throw new Error("AG Charts - Unable to restore() past depth 0");i(),o--},verifyDepthZero(){if(o!==0)throw new Error(`AG Charts - Save/restore depth is non-zero: ${o}`)}})}}function oE(e,t,i){return[Math.round(e*i),Math.round(t*i)]}var p3=class{constructor(e){const{width:t,height:i,pixelRatio:o,willReadFrequently:s=!1}=e;this.width=t,this.height=i,this.pixelRatio=o;const[n,r]=oE(t,i,o);this.canvas=new OffscreenCanvas(n,r),this.context=this.canvas.getContext("2d",{willReadFrequently:s}),this.context.setTransform(o,0,0,o,0,0),h3(this.context)}drawImage(e,t=0,i=0){return e.drawImage(this.canvas,t,i)}transferToImageBitmap(){return this.canvas.transferToImageBitmap()}resize(e,t,i){if(!(e>0&&t>0))return;const{canvas:o,context:s}=this;if(e!==this.width||t!==this.height||i!==this.pixelRatio){const[n,r]=oE(e,t,i);o.width=n,o.height=r}s.setTransform(i,0,0,i,0,0),this.width=e,this.height=t,this.pixelRatio=i}clear(){u3(this)}destroy(){this.canvas.width=0,this.canvas.height=0,this.context.clearRect(0,0,0,0),this.canvas=null,this.context=null,Object.freeze(this)}},sE=e=>{const t=jt.fromString(e),[i,o,s]=jt.RGBtoOKLCH(t.r,t.g,t.b);return{l:i,c:o,h:s,a:t.a}},uw=1e-6,nE=e=>e.c<uw||e.l<uw||e.l>1-uw,y$=(e,t,i)=>{i=Ve(0,i,1);let o;if(nE(e))o=t.h;else if(nE(t))o=e.h;else{const a=e.h;let l=t.h;const c=t.h-e.h;c>180?l-=360:c<-180&&(l+=360),o=a*(1-i)+l*i}const s=e.c*(1-i)+t.c*i,n=e.l*(1-i)+t.l*i,r=e.a*(1-i)+t.a*i;return jt.fromOKLCH(n,s,o,r)},jc=class extends z0{constructor(){super(...arguments),this.type="color",this.invalid=!0,this.domain=[0,1],this.range=["red","blue"],this.parsedRange=this.range.map(sE)}update(){const{domain:t,range:i}=this;t.length<2&&(fe.warnOnce("`colorDomain` should have at least 2 values."),t.length===0?t.push(0,1):t.length===1&&t.push(t[0]+1));for(let o=1;o<t.length;o++){const s=t[o-1],n=t[o];if(s>=n){fe.warnOnce("`colorDomain` values should be supplied in ascending order."),t.sort((r,a)=>r-a);break}}if(i.length<t.length)for(let o=i.length;o<t.length;o++)i.push(i.length>0?i[0]:"black");this.parsedRange=this.range.map(sE)}normalizeDomains(...t){return{domain:t.flat(),animatable:!0}}toDomain(){}convert(t){this.refresh();const{domain:i,range:o,parsedRange:s}=this,n=i[0],r=i.at(-1),a=o[0],l=o[o.length-1];if(t<=n)return a;if(t>=r)return l;let c,d;if(i.length===2){const p=(t-n)/(r-n),g=1/(o.length-1);c=o.length<=2?0:Math.min(Math.floor(p*(o.length-1)),o.length-2),d=(p-c*g)/g}else{for(c=0;c<i.length-2&&!(t<i[c+1]);c++);const p=i[c],g=i[c+1];d=(t-p)/(g-p)}const u=s[c],h=s[c+1];return y$(u,h,d).toRgbaString()}invert(){}refresh(){this.invalid&&(this.invalid=!1,this.update(),this.invalid&&fe.warnOnce("Expected update to not invalidate scale"))}};I([kp],jc.prototype,"domain",2);I([kp],jc.prototype,"range",2);var U0=class{constructor(e,t=[],i){this.colorSpace=e,this.stops=t,this.bbox=i,this._cache=void 0}createGradient(e,t){const i=this.bbox??t;if(this._cache!=null&&this._cache.ctx===e&&this._cache.bbox.equals(i))return this._cache.gradient;const{stops:o,colorSpace:s}=this;if(o.length===0)return;if(o.length===1)return o[0].color;let n=this.createCanvasGradient(e,i);if(n==null)return;const r=s==="oklch",a=.05;let l=o[0];n.addColorStop(l.offset,l.color);for(let c=1;c<o.length;c+=1){const d=o[c];if(r){const u=new jc;u.domain=[l.offset,d.offset],u.range=[l.color,d.color];for(let h=l.offset+a;h<d.offset;h+=a)n.addColorStop(h,u.convert(h))}n.addColorStop(d.offset,d.color),l=d}return"createPattern"in n&&(n=n.createPattern()),this._cache={ctx:e,bbox:i,gradient:n},n}},kn=Math.PI*2,Tg=Math.PI/2;function kt(e){return e%=kn,e+=kn,e%=kn,e}function v$(e){return e%=kn,e+=kn,e!==kn&&(e%=kn),e}function Xf(e){return e%=kn,e<-Math.PI?e+=kn:e>=Math.PI&&(e-=kn),e}function Cc(e,t,i){const o=kt(e),s=kt(t),n=kt(i);return s<n?s<=o&&o<=n:s>n?s<=o||o<=n:!0}function Ei(e){return e/180*Math.PI}function b$(e){return e/Math.PI*180}function K0(e,t){return e=kt(e),t=kt(t),t-e+(e>t?kn:0)}function g3(e){const t=kt(e);return t<=Tg?t/Tg:t<=Math.PI?(Math.PI-t)/Tg:t<=1.5*Math.PI?(t-Math.PI)/Tg:(kn-t)/Tg}var O1=class extends U0{constructor(t,i,o=0,s){super(t,i,s),this.angle=o}createCanvasGradient(t,i){const{angle:s}=this,n=kt(Ei(s+90)),r=Math.cos(n),a=Math.sin(n),l=i.width,c=i.height,d=i.x+l*.5,u=i.y+c*.5,h=Math.sqrt(c*c+l*l)/2,p=Math.atan2(c,l);let g;n<Math.PI/2?g=n:n<Math.PI?g=Math.PI-n:n<1.5*Math.PI?g=n-Math.PI:g=2*Math.PI-n;const f=h*Math.abs(Math.cos(g-p));return t.createLinearGradient(d+r*f,u+a*f,d-r*f,u-a*f)}},vk=class extends _e{constructor(){super(...arguments),this.color="black"}};I([T(tt,{optional:!0})],vk.prototype,"stop",2);I([T(ct,{optional:!0})],vk.prototype,"color",2);function C$(e){let t;for(const{stop:i}of e)if(i!=null){if(t!=null&&i<t)return!1;t=i}return!0}function f3(e){return e.flatMap((t,i)=>{const{offset:o}=t,s=e.at(i+1)?.color;return s!=null?[t,{offset:o,color:s}]:[t]})}function S$(e,t){const i=t==="discrete"?1:0,o=e.map((s,n,{length:r})=>({offset:(n+i)/(r-1+i),color:s}));return t==="discrete"?f3(o):o}function m3(e,t,i,o="continuous"){if(e.length===0)return S$(t,o);if(!C$(e))return fe.warnOnce("[fills] must have the stops defined in ascending order"),[];const s=Math.min(...i),n=Math.max(...i),r=o==="discrete",a=new Float64Array(e.length);let l=0,c=-1;for(let p=0;p<e.length;p+=1){const g=e[p];if(p>=c){c=e.length-1;for(let v=p+1;v<e.length;v+=1)if(e[v].stop!=null){c=v;break}}let{stop:f}=g;if(f==null){const v=e[l].stop,y=e[c].stop,C=v??s,S=y??n,x=r&&v==null?1:0;f=C+(S-C)*(p-l+x)/(c-l+x)}else l=p;a[p]=Math.max(0,Math.min(1,(f-s)/(n-s)))}let d=e.find(p=>p.color!=null)?.color,u;const h=e.map(({color:p},g)=>{const f=a[g];return p!=null?d=p:d!=null?p=d:(u==null&&(u=new jc,u.domain=[0,1],u.range=t),p=u.convert(f)),{offset:f,color:p}});return o==="discrete"?f3(h):h}function y3(e){return e!==null&&Ji(e)&&e.type=="gradient"}function Va(e,t,i){const o=Math.round(t*e)/e;return i==null?o:i===0?0:i<1?Math.ceil(i*e)/e:Math.round((i+t)*e)/e-o}function rE(e,t){return Math.floor(t*e)/e}var x$=/^linear-gradient\((-?[\d.]+)deg,(.*?)\)$/i,ns=class ir extends Gc{constructor(){super(...arguments),this.fillOpacity=1,this.strokeOpacity=1,this.fill=ir.defaultStyles.fill,this.stroke=ir.defaultStyles.stroke,this.strokeWidth=ir.defaultStyles.strokeWidth,this.lineDash=ir.defaultStyles.lineDash,this.lineDashOffset=ir.defaultStyles.lineDashOffset,this.lineCap=ir.defaultStyles.lineCap,this.lineJoin=ir.defaultStyles.lineJoin,this.miterLimit=void 0,this.opacity=ir.defaultStyles.opacity,this.fillShadow=ir.defaultStyles.fillShadow,this.gradientFillOptions={domain:[0,1],defaultColorRange:ir.defaultStyles.defaultColorRange}}restoreOwnStyles(){const{defaultStyles:t}=this.constructor;Object.assign(this,t)}getGradient(t){let i;if(t instanceof U0)return t;if(typeof t=="string"&&t?.startsWith("linear-gradient")&&(i=x$.exec(t))){const o=parseFloat(i[1]),s=[],n=i[2],r=/(#[0-9a-f]+)|(rgba?\(.+?\))|([a-z]+)/gi;let a;for(;a=r.exec(n);)s.push(a[0]);return new O1("rgb",s.map((l,c)=>({color:l,offset:c/(s.length-1)})),o)}else if(y3(t))return this.createLinearGradient(t)}createLinearGradient(t){const{colorStops:i=[],direction:o}=t,s=o==="horizontal",{domain:n,defaultColorRange:r=[]}=this.gradientFillOptions,a=m3(i,r,n);return new O1("oklch",a,s?0:90)}onFillChange(){this.fillGradient=this.getGradient(this.fill)}onStrokeChange(){this.strokeGradient=this.getGradient(this.stroke)}align(t,i){return Va(this.layerManager?.canvas?.pixelRatio??1,t,i)}fillStroke(t,i){this.renderFill(t,i),this.renderStroke(t,i)}renderFill(t,i){if(this.fill){const{globalAlpha:o}=t;this.applyFill(t),this.applyFillAlpha(t),this.applyShadow(t),this.executeFill(t,i),t.globalAlpha=o}t.shadowColor="rgba(0, 0, 0, 0)"}executeFill(t,i){i?t.fill(i):t.fill()}applyFill(t){const i=this.gradientFillOptions.bbox??this.getBBox();t.fillStyle=this.fillGradient?.createGradient(t,i)??(typeof this.fill=="string"?this.fill:void 0)??"black"}applyStroke(t){t.strokeStyle=this.strokeGradient?.createGradient(t,this.getBBox())??(typeof this.stroke=="string"?this.stroke:void 0)??"black"}applyFillAlpha(t){t.globalAlpha*=this.opacity*this.fillOpacity}applyShadow(t){const i=this.layerManager?.canvas.pixelRatio??1,o=this.fillShadow;o?.enabled&&(t.shadowColor=o.color,t.shadowOffsetX=o.xOffset*i,t.shadowOffsetY=o.yOffset*i,t.shadowBlur=o.blur*i)}renderStroke(t,i){if(this.stroke&&this.strokeWidth){const{globalAlpha:o}=t;this.applyStroke(t),t.globalAlpha*=this.opacity*this.strokeOpacity,t.lineWidth=this.strokeWidth,this.lineDash&&t.setLineDash(this.lineDash),this.lineDashOffset&&(t.lineDashOffset=this.lineDashOffset),this.lineCap&&(t.lineCap=this.lineCap),this.lineJoin&&(t.lineJoin=this.lineJoin),this.miterLimit!=null&&(t.miterLimit=this.miterLimit),this.executeStroke(t,i),t.globalAlpha=o}}executeStroke(t,i){i?t.stroke(i):t.stroke()}containsPoint(t,i){return this.isPointInPath(t,i)}applySvgFillAttributes(t){const{fill:i,fillOpacity:o}=this;t.setAttribute("fill",typeof i=="string"?i:"none"),t.setAttribute("fill-opacity",String(o))}applySvgStrokeAttributes(t){const{stroke:i,strokeOpacity:o,strokeWidth:s,lineDash:n,lineDashOffset:r}=this;if(i!=null&&(t.setAttribute("stroke",typeof i=="string"?i:"none"),t.setAttribute("stroke-opacity",String(o)),t.setAttribute("stroke-width",String(s))),n?.some(a=>a!==0)===!0){const a=n.length%2===1?[...n,...n]:n;t.setAttribute("stroke-dasharray",a.join(" ")),t.setAttribute("stroke-dashoffset",String(r))}}};ns.defaultStyles={fill:"black",stroke:void 0,strokeWidth:0,lineDash:void 0,lineDashOffset:0,lineCap:void 0,lineJoin:void 0,opacity:1,fillShadow:void 0,defaultColorRange:["#5090dc","#ef5452"]};I([xe()],ns.prototype,"fillOpacity",2);I([xe()],ns.prototype,"strokeOpacity",2);I([xe({changeCb:e=>e.onFillChange()})],ns.prototype,"fill",2);I([xe({changeCb:e=>e.onStrokeChange()})],ns.prototype,"stroke",2);I([xe()],ns.prototype,"strokeWidth",2);I([xe()],ns.prototype,"lineDash",2);I([xe()],ns.prototype,"lineDashOffset",2);I([xe()],ns.prototype,"lineCap",2);I([xe()],ns.prototype,"lineJoin",2);I([xe()],ns.prototype,"miterLimit",2);I([xe({convertor:e=>Ve(0,e,1)})],ns.prototype,"opacity",2);I([xe({checkDirtyOnAssignment:!0})],ns.prototype,"fillShadow",2);I([xe({changeCb:e=>e.onFillChange()})],ns.prototype,"gradientFillOptions",2);var Pn=ns,v3=[1,0,0,1,0,0],vr=class Fb{get e(){return[...this.elements]}constructor(t=v3){this.elements=[...t]}setElements(t){const i=this.elements;return i[0]=t[0],i[1]=t[1],i[2]=t[2],i[3]=t[3],i[4]=t[4],i[5]=t[5],this}get identity(){const t=this.elements;return sr(t[0],1)&&sr(t[1],0)&&sr(t[2],0)&&sr(t[3],1)&&sr(t[4],0)&&sr(t[5],0)}AxB(t,i,o){const s=t[0]*i[0]+t[2]*i[1],n=t[1]*i[0]+t[3]*i[1],r=t[0]*i[2]+t[2]*i[3],a=t[1]*i[2]+t[3]*i[3],l=t[0]*i[4]+t[2]*i[5]+t[4],c=t[1]*i[4]+t[3]*i[5]+t[5];o=o??t,o[0]=s,o[1]=n,o[2]=r,o[3]=a,o[4]=l,o[5]=c}multiplySelf(t){return this.AxB(this.elements,t.elements),this}multiply(t){const i=new Array(6);return t instanceof Fb?this.AxB(this.elements,t.elements,i):this.AxB(this.elements,[t.a,t.b,t.c,t.d,t.e,t.f],i),new Fb(i)}preMultiplySelf(t){return this.AxB(t.elements,this.elements,this.elements),this}inverse(){const t=this.elements;let i=t[0],o=t[1],s=t[2],n=t[3];const r=t[4],a=t[5],l=1/(i*n-o*s);return i*=l,o*=l,s*=l,n*=l,new Fb([n,-o,-s,i,s*a-n*r,o*r-i*a])}invertSelf(){const t=this.elements;let i=t[0],o=t[1],s=t[2],n=t[3];const r=t[4],a=t[5],l=1/(i*n-o*s);return i*=l,o*=l,s*=l,n*=l,t[0]=n,t[1]=-o,t[2]=-s,t[3]=i,t[4]=s*a-n*r,t[5]=o*r-i*a,this}transformPoint(t,i){const o=this.elements;return{x:t*o[0]+i*o[2]+o[4],y:t*o[1]+i*o[3]+o[5]}}transformBBox(t,i){const o=this.elements,s=o[0],n=o[1],r=o[2],a=o[3],l=t.width*.5,c=t.height*.5,d=t.x+l,u=t.y+c,h=Math.abs(l*s)+Math.abs(c*r),p=Math.abs(l*n)+Math.abs(c*a);return i??(i=new ke(0,0,0,0)),i.x=d*s+u*r+o[4]-h,i.y=d*n+u*a+o[5]-p,i.width=h+h,i.height=p+p,i}toContext(t){if(this.identity)return;const i=this.elements;t.transform(i[0],i[1],i[2],i[3],i[4],i[5])}static updateTransformMatrix(t,i,o,s,n,r,a){const l=i,c=o;let d,u;l===1&&c===1?(d=0,u=0):(d=a?.scalingCenterX??0,u=a?.scalingCenterY??0);const h=s,p=Math.cos(h),g=Math.sin(h);let f,v;h===0?(f=0,v=0):(f=a?.rotationCenterX??0,v=a?.rotationCenterY??0);const y=n,C=r,S=d*(1-l)-f,x=u*(1-c)-v;return t.setElements([p*l,g*l,-g*c,p*c,p*S-g*x+f+y,g*S+p*x+v+C]),t}};function Zl(e){return C3(e.constructor)}var b3=Symbol("isMatrixTransform");function C3(e){return e[b3]===!0}function bk(e){var t,i;const o=e;if(C3(e))return e;const s=Symbol("matrix_combined_transform");class n extends o{constructor(){super(...arguments),this[i]=new vr,this._dirtyTransform=!0}markDirtyTransform(){this._dirtyTransform=!0,super.markDirty()}updateMatrix(a){}computeTransformMatrix(){this._dirtyTransform&&(this[s].setElements(v3),this.updateMatrix(this[s]),this._dirtyTransform=!1)}toParent(a){return this.computeTransformMatrix(),this[s].identity?a.clone():this[s].transformBBox(a)}toParentPoint(a,l){return this.computeTransformMatrix(),this[s].identity?{x:a,y:l}:this[s].transformPoint(a,l)}fromParent(a){return this.computeTransformMatrix(),this[s].identity?a.clone():this[s].inverse().transformBBox(a)}fromParentPoint(a,l){return this.computeTransformMatrix(),this[s].identity?{x:a,y:l}:this[s].inverse().transformPoint(a,l)}computeBBox(){const a=super.computeBBox();return a&&this.toParent(a)}computeBBoxWithoutTransforms(){return super.computeBBox()}pickNode(a,l,c=!1){return c||({x:a,y:l}=this.fromParentPoint(a,l)),super.pickNode(a,l)}render(a){this.computeTransformMatrix();const{ctx:l}=a,c=this[s];let d=!1;c.identity||(l.save(),d=!0,c.toContext(l)),super.render(a),d&&l.restore()}toSVG(){this.computeTransformMatrix();const a=super.toSVG(),l=this[s];if(l.identity||a==null)return a;const c=Rn("g");c.append(...a.elements);const[d,u,h,p,g,f]=l.e;return c.setAttribute("transform",`matrix(${d} ${u} ${h} ${p} ${g} ${f})`),{elements:[c],defs:a.defs}}}return t=b3,i=s,n[t]=!0,n}function Ap(e){var t;const i=e,o=Symbol("matrix_rotation");class s extends bk(i){constructor(){super(...arguments),this[t]=new vr,this.rotationCenterX=null,this.rotationCenterY=null,this.rotation=0}updateMatrix(r){super.updateMatrix(r);const{rotation:a,rotationCenterX:l,rotationCenterY:c}=this;a!==0&&(vr.updateTransformMatrix(this[o],1,1,a,0,0,{rotationCenterX:l,rotationCenterY:c}),r.multiplySelf(this[o]))}}return t=o,I([xe({type:"transform"})],s.prototype,"rotationCenterX",2),I([xe({type:"transform"})],s.prototype,"rotationCenterY",2),I([xe({type:"transform"})],s.prototype,"rotation",2),s}function Ck(e){var t;const i=e,o=Symbol("matrix_scale");class s extends bk(i){constructor(){super(...arguments),this[t]=new vr,this.scalingX=1,this.scalingY=1,this.scalingCenterX=null,this.scalingCenterY=null}updateMatrix(r){super.updateMatrix(r);const{scalingX:a,scalingY:l,scalingCenterX:c,scalingCenterY:d}=this;a===1&&l===1||(vr.updateTransformMatrix(this[o],a,l,0,0,0,{scalingCenterX:c,scalingCenterY:d}),r.multiplySelf(this[o]))}}return t=o,I([xe({type:"transform"})],s.prototype,"scalingX",2),I([xe({type:"transform"})],s.prototype,"scalingY",2),I([xe({type:"transform"})],s.prototype,"scalingCenterX",2),I([xe({type:"transform"})],s.prototype,"scalingCenterY",2),s}function Ru(e){var t;const i=e,o=Symbol("matrix_translation");class s extends bk(i){constructor(){super(...arguments),this[t]=new vr,this.translationX=0,this.translationY=0}updateMatrix(r){super.updateMatrix(r);const{translationX:a,translationY:l}=this;a===0&&l===0||(vr.updateTransformMatrix(this[o],1,1,0,a,l),r.multiplySelf(this[o]))}}return t=o,I([xe({type:"transform"})],s.prototype,"translationX",2),I([xe({type:"transform"})],s.prototype,"translationY",2),s}var qt=class{static fromCanvas(t,i){const o=[];for(const s of t.traverseUp())Zl(s)&&o.unshift(s);for(const s of o)i=s.fromParent(i);return Zl(t)&&(i=t.fromParent(i)),i}static toCanvas(t,i){i==null?i=t.getBBox():Zl(t)&&(i=t.toParent(i));for(const o of t.traverseUp())Zl(o)&&(i=o.toParent(i));return i}static fromCanvasPoint(t,i,o){const s=[];for(const n of t.traverseUp())Zl(n)&&s.unshift(n);for(const n of s)({x:i,y:o}=n.fromParentPoint(i,o));return Zl(t)&&({x:i,y:o}=t.fromParentPoint(i,o)),{x:i,y:o}}static toCanvasPoint(t,i,o){Zl(t)&&({x:i,y:o}=t.toParentPoint(i,o));for(const s of t.traverseUp())Zl(s)&&({x:i,y:o}=s.toParentPoint(i,o));return{x:i,y:o}}},hw=(e,t)=>Math.sign(e-t);function S3(e,t){if(typeof e=="number"&&typeof t=="number")return hw(e,t);const i=typeof e=="number"?[e]:e,o=typeof t=="number"?[t]:t,s=Math.min(i.length,o.length);for(let n=0;n<s;n+=1){const r=hw(i[n],o[n]);if(r!==0)return r}return hw(i.length,o.length)}var Lg,Sk=class ef extends Gc{constructor(t){super(t),this.opacity=1,this.renderToOffscreenCanvas=!1,this.optimizeForInfrequentRedraws=!1,this.layer=void 0,this.image=void 0,this._lastWidth=NaN,this._lastHeight=NaN,this._lastDevicePixelRatio=NaN,this.isContainerNode=!0,this.renderToOffscreenCanvas=t?.renderToOffscreenCanvas===!0}static is(t){return t instanceof ef}static computeChildrenBBox(t,i=!0){return ke.merge(Gc.extractBBoxes(t,i))}static compareChildren(t,i){return S3(t.zIndex,i.zIndex)||t.serialNumber-i.serialNumber}containsPoint(t,i){return!0}computeBBox(){return ef.computeChildrenBBox(this.children())}computeSafeClippingBBox(t){const i=this.computeBBox();if(!i.isFinite())return;let o=0;const s=4;for(const h of this.descendants())h instanceof Pn&&(o=Math.max(o,h.strokeWidth));const n=Math.max(1,o/2*s),{x:r,y:a}=qt.toCanvasPoint(this,0,0),l=rE(t,r+i.x-n)-r,c=rE(t,a+i.y-n)-a,d=Math.ceil(i.x+i.width-l+n),u=Math.ceil(i.y+i.height-c+n);return new ke(l,c,d,u)}prepareSharedCanvas(t,i,o){return Lg==null||Lg.pixelRatio!==o?Lg=new p3({width:t,height:i,pixelRatio:o}):Lg.resize(t,i,o),Lg}isDirty(t){const{width:i,height:o,devicePixelRatio:s}=t,{dirty:n,dirtyZIndex:r,layer:a}=this,l=a!=null&&(this._lastWidth!==i||this._lastHeight!==o),c=this._lastDevicePixelRatio!==s;if(this._lastWidth=i,this._lastHeight=o,this._lastDevicePixelRatio=s,n||r||l||c)return!0;for(const d of this.children())if(d.dirty)return!0;return!1}preRender(t){const i=super.preRender(t,0);return i.groups+=1,i.nonGroups-=1,this.renderToOffscreenCanvas&&!this.optimizeForInfrequentRedraws&&i.nonGroups>0&&this.getVisibility()?this.layer??(this.layer=this._layerManager?.addLayer({name:this.name})):this.layer!=null&&(this._layerManager?.removeLayer(this.layer),this.layer=void 0),i}render(t){const{layer:i,renderToOffscreenCanvas:o}=this,s={...t};if(!o){this.renderInContext(s),super.render(s);return}const{ctx:n,stats:r,devicePixelRatio:a}=t;let{image:l}=this;if(this.isDirty(t)){l?.bitmap.close(),l=void 0;const d=i?void 0:this.computeSafeClippingBBox(a),u=(h,...p)=>{const g=h.context;s.ctx=g,h.clear(),g.save(),g.setTransform(...p),g.globalAlpha=1,this.renderInContext(s),g.restore(),g.verifyDepthZero?.()};if(i)u(i,n.getTransform());else if(d){const{x:h,y:p,width:g,height:f}=d,v=this.prepareSharedCanvas(g,f,a);u(v,a,0,0,a,-h*a,-p*a),l={bitmap:v.transferToImageBitmap(),x:h,y:p,width:g,height:f}}else this.dirtyZIndex&&this.sortChildren(ef.compareChildren);this.image=l,r&&r.layersRendered++}else this.skipRender(s),r&&r.layersSkipped++;const{globalAlpha:c}=n;if(n.globalAlpha=c*this.opacity,i)n.save(),n.resetTransform(),i.drawImage(n),n.restore();else if(l){const{bitmap:d,x:u,y:h,width:p,height:g}=l;n.drawImage(d,0,0,p*a,g*a,u,h,p,g)}n.globalAlpha=c,super.render(s)}skipRender(t){const{stats:i}=t;for(const o of this.children())o.markClean(),i&&(i.nodesSkipped+=this.childNodeCounts.groups+this.childNodeCounts.nonGroups,i.opsSkipped+=this.childNodeCounts.complexity)}applyClip(t,i){const{x:o,y:s,width:n,height:r}=i;t.beginPath(),t.rect(o,s,n,r),t.clip()}renderInContext(t){const{ctx:i,stats:o}=t;this.dirtyZIndex&&this.sortChildren(ef.compareChildren),i.save(),i.globalAlpha*=this.opacity,this.clipRect!=null&&(this.applyClip(i,this.clipRect),t.clipBBox=qt.toCanvas(this,this.clipRect));for(const s of this.children()){if(!s.visible){s.markClean(),o&&(o.nodesSkipped+=s.childNodeCounts.nonGroups+s.childNodeCounts.groups,o.opsSkipped+=s.childNodeCounts.complexity);continue}i.save(),s.render(t),i.restore()}i.restore()}setClipRect(t){this.clipRect=t?qt.fromCanvas(this,t):void 0}setClipRectCanvasSpace(t){this.clipRect=t}_setLayerManager(t){this.layer&&(this._layerManager?.removeLayer(this.layer),this.layer=void 0),super._setLayerManager(t)}getVisibility(){for(const t of this.traverseUp(!0))if(!t.visible)return!1;return!0}toSVG(){if(!this.visible)return;const t=[],i=[];for(const o of this.children()){const s=o.toSVG();s!=null&&(i.push(...s.elements),s.defs!=null&&t.push(...s.defs))}return{elements:i,defs:t}}};Sk.className="Group";I([xe({convertor:e=>Ve(0,e,1)})],Sk.prototype,"opacity",2);var Pe=Sk,w$=class extends Ck(Pe){},M$=class extends Ap(Pe){},is=class extends Ru(Pe){},Eg=class extends Ap(Ru(Pe)){};function D$(e=0,t=0){return new OffscreenCanvas(e,t).getContext("2d")}var xk=class{constructor(e=5){this.maxCacheSize=e,this.store=new Map}get(e){if(!this.store.has(e))return;const t=this.store.get(e);return this.store.delete(e),this.store.set(e,t),t}has(e){return this.store.has(e)}set(e,t){if(this.store.set(e,t),this.store.size>this.maxCacheSize){const i=this.store.keys();let o=this.store.size-this.maxCacheSize;for(;o>0;){const s=i.next();s.done||this.store.delete(s.value),o--}}return t}clear(){this.store.clear()}},kl=class{static measureText(t,i){return this.getMeasurer(i).measureText(t)}static measureLines(t,i){return this.getMeasurer(i).measureLines(t)}static getMeasurer(t){const i=typeof t.font=="string"?t.font:zt.toFontString(t.font),o=`${i}-${t.textAlign??"start"}-${t.textBaseline??"alphabetic"}`;return this.instanceMap.get(o)??this.createFontMeasurer(i,t,o)}static createFontMeasurer(t,i,o){const s=D$();s.font=t,s.textAlign=i.textAlign??"start",s.textBaseline=i.textBaseline??"alphabetic";const n=new x3(s,i);return this.instanceMap.set(o,n),n}};kl.instanceMap=new xk(10);var x3=class{constructor(e,t){this.ctx=e,this.measureMap=new xk(100),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline),e.font=typeof t.font=="string"?t.font:zt.toFontString(t.font),this.textMeasurer=new wk(i=>this.cachedCtxMeasureText(i),t.textBaseline??"alphabetic")}textWidth(e,t){return this.textMeasurer.textWidth(e,t)}measureText(e){return this.textMeasurer.measureText(e)}measureLines(e){return this.textMeasurer.measureLines(e)}cachedCtxMeasureText(e){if(!this.measureMap.has(e)){const t=this.ctx.measureText(e);this.measureMap.set(e,{actualBoundingBoxAscent:t.actualBoundingBoxAscent,emHeightAscent:t.emHeightAscent,emHeightDescent:t.emHeightDescent,actualBoundingBoxDescent:t.actualBoundingBoxDescent,actualBoundingBoxLeft:t.actualBoundingBoxLeft,actualBoundingBoxRight:t.actualBoundingBoxRight,alphabeticBaseline:t.alphabeticBaseline,fontBoundingBoxAscent:t.fontBoundingBoxAscent,fontBoundingBoxDescent:t.fontBoundingBoxDescent,hangingBaseline:t.hangingBaseline,ideographicBaseline:t.ideographicBaseline,width:t.width})}return this.measureMap.get(e)}},zt=class{static toFontString({fontSize:t=10,fontStyle:i,fontWeight:o,fontFamily:s,lineHeight:n}){let r="";return i&&(r+=`${i} `),o&&(r+=`${o} `),r+=`${t}px`,n&&(r+=`/${n}px`),r+=` ${s}`,r.trim()}static getLineHeight(t){return Math.ceil(t*this.defaultLineHeight)}static getVerticalModifier(t){switch(t){case"hanging":case"top":return 0;case"middle":return .5;case"alphabetic":case"bottom":case"ideographic":default:return 1}}};zt.EllipsisChar="…";zt.defaultLineHeight=1.15;zt.lineSplitter=/\r?\n/g;var wk=class{constructor(e,t="alphabetic"){this.measureTextFn=e,this.textBaseline=t,this.charMap=new Map}getMetrics(e){const t=this.measureTextFn(e);return t.fontBoundingBoxAscent??(t.fontBoundingBoxAscent=t.emHeightAscent),t.fontBoundingBoxDescent??(t.fontBoundingBoxDescent=t.emHeightDescent),{width:t.width,height:t.actualBoundingBoxAscent+t.actualBoundingBoxDescent,lineHeight:t.fontBoundingBoxAscent+t.fontBoundingBoxDescent,offsetTop:t.actualBoundingBoxAscent,offsetLeft:t.actualBoundingBoxLeft}}getMultilineMetrics(e){let t=0,i=0,o=0,s=0,n=0;const r=zt.getVerticalModifier(this.textBaseline),a=[];let l=0;const c=e.length;for(const d of e){const u=this.measureTextFn(d);u.fontBoundingBoxAscent??(u.fontBoundingBoxAscent=u.emHeightAscent),u.fontBoundingBoxDescent??(u.fontBoundingBoxDescent=u.emHeightDescent),t<u.width&&(t=u.width),s<u.actualBoundingBoxLeft&&(s=u.actualBoundingBoxLeft),l===0?(i+=u.actualBoundingBoxAscent,o+=u.actualBoundingBoxAscent):n+=u.fontBoundingBoxAscent,l===c-1?i+=u.actualBoundingBoxDescent:n+=u.fontBoundingBoxDescent,a.push({text:d,width:u.width,height:u.actualBoundingBoxAscent+u.actualBoundingBoxDescent,lineHeight:u.fontBoundingBoxAscent+u.fontBoundingBoxDescent,offsetTop:u.actualBoundingBoxAscent,offsetLeft:u.actualBoundingBoxLeft}),l++}return i+=n,o+=n*r,{width:t,height:i,offsetTop:o,offsetLeft:s,lineMetrics:a}}textWidth(e,t){if(t){let i=0;for(let o=0;o<e.length;o++)i+=this.textWidth(e.charAt(o));return i}return e.length>1?this.measureTextFn(e).width:this.charMap.get(e)??this.charWidth(e)}measureText(e){return this.getMetrics(e)}measureLines(e){const t=typeof e=="string"?e.split(zt.lineSplitter):e;return this.getMultilineMetrics(t)}charWidth(e){const{width:t}=this.measureTextFn(e);return this.charMap.set(e,t),t}},en=class Bb extends Pn{constructor(){super(...arguments),this.x=0,this.y=0,this.lines=[],this.text=void 0,this.fontSize=10,this.fontFamily="sans-serif",this.textAlign=Bb.defaultStyles.textAlign,this.textBaseline=Bb.defaultStyles.textBaseline}onTextChange(){this.lines=this.text?.split(`
|
|
3
3
|
`).map(t=>t.trim())??[]}static computeBBox(t,i,o,s){const{offsetTop:n,offsetLeft:r,width:a,height:l}=kl.measureLines(t,s);return new ke(i-r,o-n,a,l)}computeBBox(){const{x:t,y:i,lines:o,textBaseline:s,textAlign:n}=this;return Bb.computeBBox(o,t,i,{font:this,textBaseline:s,textAlign:n})}isPointInPath(t,i){const o=this.getBBox();return o?o.containsPoint(t,i):!1}render(t){const{ctx:i,stats:o}=t;if(!this.lines.length||!this.layerManager)return o&&(o.nodesSkipped+=1),super.render(t);const{fill:s,stroke:n,strokeWidth:r}=this,{pixelRatio:a}=this.layerManager.canvas;if(i.font=zt.toFontString(this),i.textAlign=this.textAlign,i.textBaseline=this.textBaseline,s){this.applyFill(i),i.globalAlpha*=this.opacity*this.fillOpacity;const{fillShadow:l}=this;l?.enabled&&(i.shadowColor=l.color,i.shadowOffsetX=l.xOffset*a,i.shadowOffsetY=l.yOffset*a,i.shadowBlur=l.blur*a),this.renderLines((c,d,u)=>i.fillText(c,d,u))}if(n&&r){this.applyStroke(i),i.lineWidth=r,i.globalAlpha*=this.opacity*this.strokeOpacity;const{lineDash:l,lineDashOffset:c,lineCap:d,lineJoin:u}=this;l&&i.setLineDash(l),c&&(i.lineDashOffset=c),d&&(i.lineCap=d),u&&(i.lineJoin=u),this.renderLines((h,p,g)=>i.strokeText(h,p,g))}super.render(t)}renderLines(t){const{lines:i,x:o,y:s}=this,n=this.lineHeight??zt.getLineHeight(this.fontSize);let r=(n-n*i.length)*zt.getVerticalModifier(this.textBaseline);for(const a of i)t(a,o,s+r),r+=n}setFont(t){this.fontFamily=t.fontFamily,this.fontSize=t.fontSize,this.fontStyle=t.fontStyle,this.fontWeight=t.fontWeight}setAlign(t){this.textAlign=t.textAlign,this.textBaseline=t.textBaseline}toSVG(){if(!this.visible||!this.text)return;const t=Rn("text");return this.applySvgFillAttributes(t),t.setAttribute("font-family",this.fontFamily?.split(",")[0]??""),t.setAttribute("font-size",String(this.fontSize)),t.setAttribute("font-style",this.fontStyle??""),t.setAttribute("font-weight",String(this.fontWeight??"")),t.setAttribute("text-anchor",{center:"middle",left:"start",right:"end",start:"start",end:"end"}[this.textAlign??"start"]),t.setAttribute("alignment-baseline",{alphabetic:"alphabetic",top:"top",bottom:"bottom",hanging:"hanging",middle:"middle",ideographic:"ideographic"}[this.textBaseline??"alphabetic"]),t.setAttribute("x",String(this.x)),t.setAttribute("y",String(this.y)),t.textContent=this.text??"",{elements:[t]}}};en.className="Text";en.defaultStyles={...Pn.defaultStyles,textAlign:"start",fontStyle:void 0,fontWeight:void 0,fontSize:10,fontFamily:"sans-serif",textBaseline:"alphabetic"};I([xe()],en.prototype,"x",2);I([xe()],en.prototype,"y",2);I([xe({changeCb:e=>e.onTextChange()})],en.prototype,"text",2);I([xe()],en.prototype,"fontStyle",2);I([xe()],en.prototype,"fontWeight",2);I([xe()],en.prototype,"fontSize",2);I([xe()],en.prototype,"fontFamily",2);I([xe()],en.prototype,"textAlign",2);I([xe()],en.prototype,"textBaseline",2);I([xe()],en.prototype,"lineHeight",2);var Vi=en,w3=class extends Ap(Vi){},pp=class extends Ap(Ru(Vi)){},pw="color: green",gw="color: grey";function k$(){return BB(()=>{})}function F1(e,t){const i=su(t);if(i.length===0)return;const o=GB(e);for(const s of i)s in o&&(t[s]=o[s])}var M3=class{transitionRoot(e,t){this.parent?this.parent.transitionRoot(e,t):this.transition(e,t)}},Mk=class ps extends M3{constructor(t,i,o){super(),this.defaultState=t,this.states=i,this.enterEach=o,this.debug=xt.create(!0,"animation"),this.state=t,this.debug(`%c${this.constructor.name} | init -> ${t}`,pw)}transition(t,i){if(!this.transitionChild(t,i)||this.state===ps.child||this.state===ps.parent)return;const s=this.state,n=this.states[this.state];let r=n[t];const a=`%c${this.constructor.name} | ${this.state} -> ${t} ->`;if(Array.isArray(r))r=r.find(d=>{if(!d.guard)return!0;const u=d.guard(i);return u||this.debug(`${a} (guarded)`,d.target,gw),u});else if(typeof r=="object"&&!(r instanceof ps)&&r.guard&&!r.guard(i)){this.debug(`${a} (guarded)`,r.target,gw);return}if(!r){this.debug(`${a} ${this.state}`,gw);return}const l=this.getDestinationState(r),c=l===this.state?void 0:n.onExit;this.debug(`${a} ${l}`,pw),this.state=l,typeof r=="function"?r(i):typeof r=="object"&&!(r instanceof ps)&&r.action?.(i),c?.(),this.enterEach?.(s,l),l!==s&&l!==ps.child&&l!==ps.parent&&this.states[l].onEnter?.(s,i)}transitionAsync(t,i){setTimeout(()=>{this.transition(t,i)},0)}is(t){return this.state===ps.child&&this.childState?this.childState.is(t):this.state===t}resetHierarchy(){this.debug(`%c${this.constructor.name} | ${this.state} -> [resetHierarchy] -> ${this.defaultState}`,"color: green"),this.state=this.defaultState}transitionChild(t,i){return this.state!==ps.child||!this.childState||(F1(this,this.childState),this.childState.transition(t,i),!this.childState.is(ps.parent))?!0:(this.debug(`%c${this.constructor.name} | ${this.state} -> ${t} -> ${this.defaultState}`,pw),this.state=this.defaultState,this.states[this.state].onEnter?.(),this.childState.resetHierarchy(),!1)}getDestinationState(t){let i=this.state;return typeof t=="string"?i=t:t instanceof ps?(this.childState=t,this.childState.parent=this,i=ps.child):typeof t=="object"&&(t.target instanceof ps?(this.childState=t.target,this.childState.parent=this,i=ps.child):t.target!=null&&(i=t.target)),i}};Mk.child="__child";Mk.parent="__parent";var Qm=Mk,I$=class extends M3{constructor(...t){super(),this.stateMachines=t;for(const i of t)i.parent=this}transition(t,i){for(const o of this.stateMachines)F1(this,o),o.transition(t,i)}transitionAsync(t,i){for(const o of this.stateMachines)F1(this,o),o.transitionAsync(t,i)}};function Et(e,t){const i=Rt(e)?e:e.split(".");if(i.length===1){const[o]=i;return hl((s,n,r)=>s[o]=r,s=>s[o],t)}return hl((o,s,n)=>ck(o,i,n),o=>ak(o,i),t)}function A$(e){return hl((t,i,o)=>t[e]=o)}function io(e,t){return hl((i,o,s)=>i[e][t??o]=s)}function Rs(e){const{newValue:t,oldValue:i,changeValue:o}=e;return hl((s,n,r,a)=>(r!==a&&(a!==void 0&&i?.call(s,a),r!==void 0&&t?.call(s,r),o?.call(s,r,a)),r))}function $c(e){return BB(e)}var Dk=class{static wrapText(t,i){return this.wrapLines(t,i).join(`
|
|
4
4
|
`)}static wrapLines(t,i){const o=this.textWrap(t,i);return i.overflow==="hide"&&o.some(s=>s.endsWith(zt.EllipsisChar))?[]:o}static appendEllipsis(t){return t.replace(/[.,]{1,5}$/,"")+zt.EllipsisChar}static truncateLine(t,i,o,s){const n=i.textWidth(zt.EllipsisChar);let r=0,a=0;for(;a<t.length;a++){const l=i.textWidth(t.charAt(a));if(r+l>o)break;r+=l}if(t.length===a&&(!s||r+n<=o))return s?t+zt.EllipsisChar:t;for(t=t.slice(0,a).trimEnd();t.length&&i.textWidth(t)+n>o;)t=t.slice(0,-1).trimEnd();return t+zt.EllipsisChar}static textWrap(t,i){const o=t.split(zt.lineSplitter),s=kl.getMeasurer(i);if(i.textWrap==="never")return o.map(l=>this.truncateLine(l.trimEnd(),s,i.maxWidth));const n=[],r=i.textWrap==="hyphenate",a=i.textWrap==null||i.textWrap==="on-space";for(const l of o){let c=l.trimEnd();if(c===""){n.push(c);continue}let d=0,u=0,h=0;for(;d<c.length;){const p=c.charAt(d);if(u+=s.textWidth(p),p===" "&&(h=d),u>i.maxWidth){if(d===0)break;const g=s.textWidth(c.slice(0,d+1));if(g<=i.maxWidth){u=g,d++;continue}if(h){const y=this.getWordAt(c,h+1),C=s.textWidth(y);if(C<=i.maxWidth){n.push(c.slice(0,h).trimEnd()),c=c.slice(h).trimStart(),d=0,u=0,h=0;continue}else a&&C>i.maxWidth&&n.push(c.slice(0,h).trimEnd(),this.truncateLine(c.slice(h).trimStart(),s,i.maxWidth,!0))}else a&&n.push(this.truncateLine(c,s,i.maxWidth,!0));if(a){c="";break}const f=r?"-":"";let v=c.slice(0,d).trim();for(;v.length&&s.textWidth(v+f)>i.maxWidth;)v=v.slice(0,-1).trimEnd();if(n.push(v+f),!v.length){c="";break}c=c.slice(v.length).trimStart(),d=-1,u=0,h=0}d++}c&&n.push(c)}return this.avoidOrphans(n,s,i),this.clipLines(n,s,i)}static getWordAt(t,i){const o=t.indexOf(" ",i);return o===-1?t.slice(i):t.slice(i,o)}static clipLines(t,i,o){if(!o.maxHeight)return t;const{height:s,lineMetrics:n}=i.measureLines(t);if(s<=o.maxHeight)return t;for(let r=0,a=0;r<n.length;r++){const{lineHeight:l}=n[r];if(a+=l,a>o.maxHeight){if(o.overflow==="hide")return[];const c=t.slice(0,r||1),d=c.pop();return c.concat(this.truncateLine(d,i,o.maxWidth,!0))}}return t}static avoidOrphans(t,i,o){if(o.avoidOrphans===!1||t.length<2)return;const{length:s}=t,n=t[s-1],r=t[s-2];if(r.length<n.length)return;const a=r.lastIndexOf(" ");if(a===-1||a===r.indexOf(" ")||n.includes(" "))return;const l=r.slice(a+1);i.textWidth(n+l)<=o.maxWidth&&(t[s-2]=r.slice(0,a),t[s-1]=l+" "+n)}},St=class extends _e{constructor(){super(...arguments),this.id=Fn(this),this.node=new w3({zIndex:1}).setProperties({textAlign:"center",pointerEvents:1}),this.enabled=!1,this.textAlign="center",this.fontSize=10,this.fontFamily="sans-serif",this.wrapping="always",this.padding=0,this.layoutStyle="block",this.truncated=!1}registerInteraction(t,i){return t.layoutManager.addListener("layout:complete",()=>this.updateA11yText(t,i))}computeTextWrap(t,i){const{text:o,padding:s,wrapping:n}=this,r=Math.min(this.maxWidth??1/0,t)-s*2,a=this.maxHeight??i-s*2;if(!isFinite(r)&&!isFinite(a)){this.node.text=o;return}const l=Dk.wrapText(o??"",{maxWidth:r,maxHeight:a,font:this,textWrap:n});this.node.text=l,this.truncated=l.includes(zt.EllipsisChar)}updateA11yText(t,i){const{proxyInteractionService:o}=t;if(this.enabled&&this.text){const s=qt.toCanvas(this.node);if(s){const{id:n}=this;this.proxyText??(this.proxyText=o.createProxyElement({type:"text",domManagerId:n,where:i})),this.proxyText.textContent=this.text,this.proxyText.setBounds(s),this.proxyText.addListener("mousemove",r=>this.handleMouseMove(t,r)),this.proxyText.addListener("mouseleave",r=>this.handleMouseLeave(t,r))}}else this.proxyText?.destroy(),this.proxyText=void 0}handleMouseMove(t,i){if(i!=null&&this.enabled&&this.node.visible&&this.truncated){const{x:o,y:s}=qt.toCanvas(this.node),n=i.sourceEvent.offsetX+o,r=i.sourceEvent.offsetY+s,a={type:"pointermove",canvasX:n,canvasY:r};t.tooltipManager.updateTooltip(this.id,{canvasX:n,canvasY:r,lastPointerEvent:a,showArrow:!1},{type:"structured",title:this.text})}}handleMouseLeave(t,i){t.tooltipManager.removeTooltip(this.id)}};St.SMALL_PADDING=10;St.LARGE_PADDING=20;I([T(Re),io("node","visible")],St.prototype,"enabled",2);I([T(ge,{optional:!0}),io("node")],St.prototype,"text",2);I([T(r3,{optional:!0}),io("node")],St.prototype,"textAlign",2);I([T(Ml,{optional:!0}),io("node")],St.prototype,"fontStyle",2);I([T(Dl,{optional:!0}),io("node")],St.prototype,"fontWeight",2);I([T(ve),io("node")],St.prototype,"fontSize",2);I([T(ge),io("node")],St.prototype,"fontFamily",2);I([T(ct,{optional:!0}),io("node","fill")],St.prototype,"color",2);I([T(ve,{optional:!0})],St.prototype,"spacing",2);I([T(ve,{optional:!0})],St.prototype,"maxWidth",2);I([T(ve,{optional:!0})],St.prototype,"maxHeight",2);I([T(j0)],St.prototype,"wrapping",2);I([T(ve)],St.prototype,"padding",2);I([T(ge)],St.prototype,"layoutStyle",2);var kk=(e=>(e.X="x",e.Y="y",e))(kk||{}),Ik=class{constructor(){this.moduleMap=new Map}*modules(){for(const e of this.moduleMap.values())yield e.moduleInstance}addModule(e,t){if(this.moduleMap.has(e.optionsKey))throw new Error(`AG Charts - module already initialised: ${e.optionsKey}`);this.moduleMap.set(e.optionsKey,{module:e,moduleInstance:t(e)})}removeModule(e){const t=Ms(e)?e:e.optionsKey;this.moduleMap.get(t)?.moduleInstance.destroy(),this.moduleMap.delete(t)}getModule(e){return this.moduleMap.get(Ms(e)?e:e.optionsKey)?.moduleInstance}isEnabled(e){return this.moduleMap.has(Ms(e)?e:e.optionsKey)}mapModules(e){return Array.from(this.moduleMap.values(),(t,i)=>e(t.moduleInstance,i))}destroy(){for(const e of this.moduleMap.keys())this.moduleMap.get(e)?.moduleInstance.destroy();this.moduleMap.clear()}};function D3(e,t){return e.valueOf()-t.valueOf()}function R$(e){let t=NaN;const i=[];for(const o of e){const s=o.valueOf();t!==s&&i.push(o),t=s}return i}function B1(e){const t=e.slice().sort(D3);return Ak(t)==null?R$(t):t}function Ak(e){if(e.length===0)return 1;const t=Number(e[e.length-1])>Number(e[0])?1:-1;let i=-1/0*t;for(const o of e){const s=o.valueOf();if(Math.sign(s-i)!==t)return;i=s}return t}function k3(e){let t,i;const o=L$.exec(e);o&&([,t,e,i]=o);const s=T$.exec(e);if(!s)throw new Error(`The number formatter is invalid: ${e}`);const[,n,r,a,l,c,d,u,h,p,g]=s;return{fill:n,align:r,sign:a,symbol:l,zero:c,width:parseInt(d),comma:u,precision:parseInt(h),trim:!!p,type:g,prefix:t,suffix:i}}function I3(e){const t=typeof e=="string"?k3(e):e,{fill:i,align:o,sign:s="-",symbol:n,zero:r,width:a,comma:l,type:c,prefix:d="",suffix:u="",precision:h}=t;let{trim:p}=t;const g=h==null||isNaN(h);let f;if(!c)f=bn.g,p=!0;else if(c in bn&&c in Gh)f=g?Gh[c]:bn[c];else if(c in bn)f=bn[c];else if(c in Gh)f=Gh[c];else throw new Error(`The number formatter type is invalid: ${c}`);let v;return h==null||g?v=c?6:12:v=h,y=>{let C=f(y,v);return p&&(C=N$(C)),l&&(C=O$(C,l)),C=B$(y,C,s),n&&n!=="#"&&(C=`${n}${C}`),n==="#"&&c==="x"&&(C=`0x${C}`),c==="s"&&(C=`${C}${F$(y)}`),(c==="%"||c==="p")&&(C=`${C}%`),a!=null&&!isNaN(a)&&(C=G$(C,a,i??r,o)),C=`${d}${C}${u}`,C}}var T$=/^(?:(.)?([<>=^]))?([+\-( ])?([$€£¥₣₹#])?(0)?(\d+)?(,)?(?:\.(\d+))?(~)?([%a-z])?$/i,L$=/^((?:[^#]|#[^{])*)#{([^}]+)}(.*)$/,Gh={b:e=>lv(e).toString(2),c:e=>String.fromCharCode(e),d:e=>Math.round(Math.abs(e)).toFixed(0),o:e=>lv(e).toString(8),x:e=>lv(e).toString(16),X:e=>Gh.x(e).toUpperCase(),n:e=>Gh.d(e),"%":e=>`${lv(e*100).toFixed(0)}`},bn={e:(e,t)=>Math.abs(e).toExponential(t),E:(e,t)=>bn.e(e,t).toUpperCase(),f:(e,t)=>Math.abs(e).toFixed(t),F:(e,t)=>bn.f(e,t).toUpperCase(),g:(e,t)=>{if(e===0)return"0";const i=Math.abs(e),o=Math.floor(Math.log10(i));return o>=-4&&o<t?i.toFixed(t-1-o):i.toExponential(t-1)},G:(e,t)=>bn.g(e,t).toUpperCase(),n:(e,t)=>bn.g(e,t),p:(e,t)=>bn.r(e*100,t),r:(e,t)=>{if(e===0)return"0";const i=Math.abs(e),s=Math.floor(Math.log10(i))-(t-1);if(s<=0)return i.toFixed(-s);const n=10**s;return(Math.round(i/n)*n).toFixed()},s:(e,t)=>{const i=T3(e);return bn.r(e/10**i,t)},"%":(e,t)=>bn.f(e*100,t)},A3=-24,R3=24,E$={[A3]:"y",[-21]:"z",[-18]:"a",[-15]:"f",[-12]:"p",[-9]:"n",[-6]:"µ",[-3]:"m",0:"",3:"k",6:"M",9:"G",12:"T",15:"P",18:"E",21:"Z",[R3]:"Y"},P$="−";function lv(e){return Math.floor(Math.abs(e))}function N$(e){return e.replace(/\.0+$/,"").replace(/(\.[1-9])0+$/,"$1")}function O$(e,t){let i=e.indexOf(".");i<0&&(i=e.length);const o=e.substring(0,i).split(""),s=e.substring(i);for(let n=o.length-3;n>0;n-=3)o.splice(n,0,t);return`${o.join("")}${s}`}function F$(e){return E$[T3(e)]}function T3(e){return Ve(A3,e?Math.floor(Math.log10(Math.abs(e))/3)*3:0,R3)}function B$(e,t,i=""){if(i==="(")return e>=0?t:`(${t})`;const o=i==="+"?"+":"";return`${e>=0?o:P$}${t}`}function G$(e,t,i=" ",o=">"){let s=e;if(o===">"||!o)s=s.padStart(t,i);else if(o==="<")s=s.padEnd(t,i);else if(o==="^"){const n=Math.max(0,t-s.length),r=Math.ceil(n/2),a=Math.floor(n/2);s=s.padStart(r+s.length,i),s=s.padEnd(a+s.length,i)}return s}var Ht=(e,t,i)=>({duration:t*i,timeInterval:e,step:i}),tf=[Ht(Oh,bc,1),Ht(Oh,bc,5),Ht(Oh,bc,15),Ht(Oh,bc,30),Ht(Fh,go,1),Ht(Fh,go,5),Ht(Fh,go,15),Ht(Fh,go,30),Ht(Bh,ts,1),Ht(Bh,ts,3),Ht(Bh,ts,6),Ht(Bh,ts,12),Ht(CC,Tn,1),Ht(CC,Tn,2),Ht(bf,el,1),Ht(bf,el,2),Ht(bf,el,3),Ht(Yd,Rg,1),Ht(Yd,Rg,2),Ht(Yd,Rg,3),Ht(Yd,Rg,4),Ht(Yd,Rg,6),Ht(_0,hp,1)],L3=[1,2,5,10];function aE(e,t){return Math.abs(Math.round(e)-e)<t}function Rk(e,t,i,o,s,n){if(i<2)return[e,t];const r=Zf(e,t,i,o,s);if(!Number.isFinite(r))return[];if(aE(e/r,1e-12)||(e=Math.ceil(e/r)*r),aE(t/r,1e-12)||(t=Math.floor(t/r)*r),n!=null&&n[0]!==0&&n[1]!==1){const a=t-e,l=e+a*n[0],c=t-a*(1-n[1]);return qf(l-l%r,c+c%r,r)}return qf(e,t,r)}function E3(e,t,i,o,s,n){const r=n??Math.abs(t-e)/Math.max(i,1);let a=0;for(const h of tf){if(r<=h.duration)break;a++}if(a===0){const h=Math.max(Zf(e,t,i,o,s),1);return $B.every(h)}else if(a===tf.length){const h=Zf(e/hp,t/hp,i,o,s);return _0.every(h)}const l=tf[a-1],c=tf[a],{timeInterval:d,step:u}=r-l.duration<c.duration-r?l:c;return d.every(u)}function Zf(e,t,i,o=0,s=1/0){if(e===t)return Ve(1,o,s);if(i<1)return NaN;const n=Math.abs(t-e),r=10**Math.floor(Math.log10(n/i));let a=NaN,l=1/0,c=!1;for(const d of L3){const u=Math.ceil(n/(d*r)),h=u>=o&&u<=s;if(c&&!h)continue;const p=Math.abs(u-i);(l>p||c!==h)&&(c||(c=h),l=p,a=d)}return a*r}function lE(e){for(let t=e.length-1;t>=0;t-=1)if(e[t]!=="0")return t+1;return 0}function cE(e,t){const i=k3(t??",f");(i.precision==null||isNaN(i.precision))&&(!i.type||"eEFgGnprs".includes(i.type)?i.precision=Math.max(...e.map(s=>{if(!Number.isFinite(s))return 0;const[n,r]=s.toExponential((i.type?6:12)-1).split(/[.e]/g);return(n!=="1"&&n!=="-1"?1:0)+lE(r)+1})):"f%".includes(i.type)&&(i.precision=Math.max(...e.map(s=>{if(!Number.isFinite(s)||s===0)return 0;const n=Math.floor(Math.log10(Math.abs(s))),r=i.type?6:12,a=s.toExponential(r-1).split(/[.e]/g)[1],l=lE(a);return Math.max(0,l-n)}))));const o=I3(i);return s=>o(Number(s))}function qf(e,t,i){if(!Number.isFinite(i)||i<=0)return[];const o=10**N0(i),s=Math.min(e,t),n=Math.max(e,t),r=[];for(let a=0;;a+=1){const l=Math.round((s+i*a)*o)/o;if(l>n)break;r.push(l)}return r}function Qf(e,t){return e>=t?(fe.warnOnce("the configured interval results in more than 1 item per pixel, ignoring. Supply a larger interval or omit this configuration"),!0):!1}function z$(e,t){const i=Math.abs(t-e),o=10**Math.floor(Math.log10(i));let s=1/0,n=[e,t];for(const r of L3){const a=r*o,l=Math.floor(e/a)*a,c=Math.ceil(t/a)*a,d=1-i/Math.abs(c-l);s>d&&(s=d,n=[l,c])}return n}function P3(e,t,i,o,s,n){n=Math.max(n,e/(s+1)),isNaN(i)&&(i=n),isNaN(o)&&(o=e),i>o&&(i===n?i=o:o=i);const r=Math.max(1,Math.floor(e/(t*i))),a=Math.min(r,Math.ceil(e/(t*o))),l=Ve(a,Math.floor(s/t),r);return{minTickCount:a,maxTickCount:r,tickCount:l}}var N3=class extends ut{constructor(){super([],[0,1]),this.type="time"}toDomain(e){return new Date(e)}convert(e,t){return e instanceof Date||(e=new Date(e)),super.convert(e,t)}invert(e){return new Date(super.invert(e))}niceDomain(e,t=this.domain){if(t.length<2)return[];const i=4;let[o,s]=t;for(let n=0;n<i;n++){const[r,a]=_$(o,s,e);if(Io(o)===Io(r)&&Io(s)===Io(a))break;o=r,s=a}return[o,s]}ticks(e,t=this.domain,i=[0,1]){const{nice:o,interval:s,tickCount:n=ut.defaultTickCount,minTickCount:r,maxTickCount:a}=e;if(t.length<2)return[];const l=t.map(Io),c=l[0],d=l[l.length-1];if(s!=null){const u=this.getPixelRange();return Tk({start:c,stop:d,interval:s,availableRange:u,visibleRange:i})??dE({start:c,stop:d,tickCount:n,minTickCount:r,maxTickCount:a,visibleRange:i})}else{if(o&&n===2)return t;if(o&&n===1)return t.slice(0,1)}return dE({start:c,stop:d,tickCount:n,minTickCount:r,maxTickCount:a,visibleRange:i})}_tickFormatter({domain:e,ticks:t,specifier:i},o){return i!=null?jm(i):uk(t,e,o)}tickFormatter(e){return this._tickFormatter(e)}datumFormatter(e){return this._tickFormatter(e,1)}};function dE({start:e,stop:t,tickCount:i,minTickCount:o,maxTickCount:s,visibleRange:n}){const r=E3(e,t,i,o,s);return r?r.range(new Date(e),new Date(t),{visibleRange:n}):[]}function Tk({start:e,stop:t,interval:i,availableRange:o,visibleRange:s}){if(!i)return[];if(i instanceof up){const d=i.range(new Date(e),new Date(t),{visibleRange:s});return Qf(d.length,o)?void 0:d}const n=Math.abs(i);if(Qf(Math.abs(t-e)/n,o))return;const r=tf.findLast(d=>n%d.duration===0);if(r)return r.timeInterval.every(n/(r.duration/r.step)).range(new Date(e),new Date(t),{visibleRange:s});let a=new Date(Math.min(e,t));const l=new Date(Math.max(e,t)),c=[];for(;a<=l;)c.push(a),a=new Date(a),a.setMilliseconds(a.getMilliseconds()+n);return c}function _$(e,t,i){const{interval:o}=i,s=Math.min(Io(e),Io(t)),n=Math.max(Io(e),Io(t)),r=e>t;let a;if(o instanceof up)a=o;else{const l=typeof o=="number"?(n-s)/Math.max(o,1):i.tickCount??ut.defaultTickCount;a=E3(s,n,l,i.minTickCount,i.maxTickCount)}if(a){const l=a.range(new Date(s),new Date(n),{extend:!0}),c=r?[...l].reverse():l,d=c[0],u=c.at(-1);return[d,u]}else return[e,t]}var ia=class O3 extends $m{constructor(){super(...arguments),this.type="ordinal-time",this._domain=[],this.isReversed=!1}static is(t){return t instanceof O3}set domain(t){t!==this._domain&&(this.invalid=!0,this._domain=t,this.isReversed=t.length>0&&t[0]>t[t.length-1],this.sortedTimestamps=void 0,this.precomputedSteps=void 0)}get domain(){return this._domain}toDomain(t){return new Date(t)}normalizeDomains(...t){const i=t.filter(s=>s.length>0).map(s=>{let n=Ak(s);return n==null&&(s=B1(s.slice()),n=1),{domain:s,sortOrder:n}});if(i.length===0)return{domain:[],animatable:!1};if(i.length===1)return{domain:i[0].domain,animatable:!0};let o=i.flatMap(s=>s.domain);return o=B1(o),i.every(s=>s.sortOrder===-1)&&o.reverse(),{domain:o,animatable:!0}}ticks({interval:t,maxTickCount:i},o=this.domain,s=[0,1]){if(!o.length)return[];this.refresh();const{isReversed:n}=this;if(t==null)return V$(o,i,n,s);const[r,a]=[o[0].valueOf(),o.at(-1).valueOf()],l=Math.min(r,a),c=Math.max(r,a),[d,u]=this.range,h=Math.abs(u-d),p=Tk({start:l,stop:c,interval:t,availableRange:h,visibleRange:s})??[];let g=-1;return p.filter(f=>{const v=this.findInterval(f.valueOf()),y=v===g;return g=v,!y})}getSortedTimestamps(){let{sortedTimestamps:t}=this;return t==null&&(t=this.domain.map(Io),this.isReversed&&t.reverse(),this.sortedTimestamps=t),t}getPrecomputedSteps(){const{domain:t}=this;let{precomputedSteps:i}=this;const o=t.length<1e4?t.length:Math.ceil(t.length/16);if(i!=null||o<=1)return i;const s=this.getSortedTimestamps();i=new Int32Array(o);const n=s[0],a=s[s.length-1]-n,l=0,c=s.length-1;for(let d=0;d<i.length;d+=1)i[d]=this.findIntervalInRange(n+d/o*a,l,c);this.precomputedSteps=i}findIntervalInRange(t,i,o){const s=this.getSortedTimestamps();for(;i<=o;){const n=(i+o)/2|0;if(s[n]===t)return n;s[n]<t?i=n+1:o=n-1}return i}findInterval(t){const i=this.getPrecomputedSteps();let o,s;if(i==null)o=0,s=this.domain.length-1;else{const n=this.getSortedTimestamps(),r=n[0],a=n[n.length-1],l=Math.min((t-r)/(a-r)*i.length|0,i.length-1|0);o=i[l],s=l<i.length-2?i[l+1]:n.length-1}return this.findIntervalInRange(t,o,s)}tickFormatter({domain:t,ticks:i,specifier:o}){return o!=null?jm(o):uk(i,t)}datumFormatter(t){return this.tickFormatter(t)}invert(t,i=!1){this.refresh();const{domain:o}=this;if(i){const n=this.invertNearestIndex(t-this.bandwidth/2);return n!=null?o[n]:void 0}return AW(0,o.length-1,n=>this.ordinalRange(n)>=t?o[n]:void 0)??o[0]}getIndex(t){const i=this.getSortedTimestamps(),o=Number(t);if(o<i[0])return;let s=this.findInterval(o);return this.isReversed&&(s=this.domain.length-s-1),s}};function V$(e,t,i,o){const s=[],n=Math.ceil(e.length/t),r=Math.floor(n/2),a=Math.floor(o[0]*e.length),l=Math.ceil(o[1]*e.length);for(let c=a;c<l;c+=1){const d=i?e.length-1-c:c;(n<=0||(d+r)%n===0)&&s.push(e[c])}return i&&s.reverse(),s}var hi=class _d{constructor(t,i,o=!0){this.parentNode=t,this.autoCleanup=o,this.garbageBin=new Set,this._nodesMap=new Map,this._nodes=[],this.data=[],this.debug=xt.create(!0,"scene","scene:selections"),this.nodeFactory=Object.prototype.isPrototypeOf.call(Gc,i)?()=>new i:i}static select(t,i,o=!0){return new _d(t,i,o)}static selectAll(t,i){const o=[],s=n=>{i(n)&&o.push(n);for(const r of n.children())s(r)};return s(t),o}static selectByClass(t,...i){return _d.selectAll(t,o=>i.some(s=>o instanceof s))}static selectByTag(t,i){return _d.selectAll(t,o=>o.tag===i)}createNode(t,i,o){const s=this.nodeFactory(t);return s.datum=t,i?.(s),o==null?this._nodes.push(s):this._nodes.splice(o,0,s),this.parentNode.appendChild(s),s}update(t,i,o){if(this.garbageBin.size>0&&this.debug("Selection - update() called with pending garbage",t),o){const s=new Map(t.map((n,r)=>[o(n),[n,r]]));for(const[n,r]of this._nodesMap.entries())if(s.has(r)){const[a]=s.get(r);n.datum=a,this.garbageBin.delete(n),s.delete(r)}else this.garbageBin.add(n);for(const[n,[r,a]]of s.entries())this._nodesMap.set(this.createNode(r,i,a),n)}else{const s=Math.max(t.length,this.data.length);for(let n=0;n<s;n++)n>=t.length?this.garbageBin.add(this._nodes[n]):n>=this._nodes.length?this.createNode(t[n],i):(this._nodes[n].datum=t[n],this.garbageBin.delete(this._nodes[n]))}return this.data=t.slice(),this.autoCleanup&&this.cleanup(),this}cleanup(){return this.garbageBin.size===0?this:(this._nodes=this._nodes.filter(t=>this.garbageBin.has(t)?(this._nodesMap.delete(t),this.garbageBin.delete(t),t.destroy(),!1):!0),this)}clear(){return this.update([]),this}isGarbage(t){return this.garbageBin.has(t)}each(t){for(const i of this._nodes.entries())t(i[1],i[1].datum,i[0]);return this}*[Symbol.iterator](){for(let t=0;t<this._nodes.length;t++){const i=this._nodes[t];yield{node:i,datum:i.datum,index:t}}}select(t){return _d.selectAll(this.parentNode,t)}selectByClass(t){return _d.selectByClass(this.parentNode,t)}selectByTag(t){return _d.selectByTag(this.parentNode,t)}nodes(){return this._nodes}at(t){return this._nodes.at(t)}get length(){return this._nodes.length}};function Cf(e,t,i,o){const s=e-i,n=t-o;return s*s+n*n}function Sf(e,t,i,o,s,n,r){if(i===s&&o===n)return Math.min(r,Cf(e,t,i,o));const a=s-i,l=n-o,c=Math.max(0,Math.min(1,((e-i)*a+(t-o)*l)/(a*a+l*l))),d=i+c*a,u=o+c*l;return Math.min(r,Cf(e,t,d,u))}function H$(e,t,i,o,s,n,r,a,l){a&&([r,n]=[n,r]);const c=Math.atan2(t-o,e-i);if(!Cc(c,n,r)){const u=i+Math.cos(n)*s,h=o+Math.sin(n)*s,p=i+Math.cos(n)*s,g=o+Math.sin(n)*s;return Math.min(l,Cf(e,t,u,h),Cf(e,t,p,g))}const d=s-Math.sqrt(Cf(e,t,i,o));return Math.min(l,d*d)}var tn=class extends Pn{constructor(t={}){super(t),this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.restoreOwnStyles()}set x(t){this.x1=t,this.x2=t}set y(t){this.y1=t,this.y2=t}get midPoint(){return{x:(this.x1+this.x2)/2,y:(this.y1+this.y2)/2}}computeBBox(){return new ke(Math.min(this.x1,this.x2),Math.min(this.y1,this.y2),Math.abs(this.x2-this.x1),Math.abs(this.y2-this.y1))}isPointInPath(t,i){return this.x1===this.x2||this.y1===this.y2?this.getBBox().clone().grow(this.strokeWidth/2).containsPoint(t,i):!1}distanceSquared(t,i){const{x1:o,y1:s,x2:n,y2:r}=this;return Sf(t,i,o,s,n,r,1/0)}render(t){const{ctx:i,devicePixelRatio:o}=t;let{x1:s,y1:n,x2:r,y2:a}=this;if(s===r){const{strokeWidth:l}=this,c=Math.round(s*o)/o+Math.trunc(l*o)%2/(o*2);s=c,r=c}else if(n===a){const{strokeWidth:l}=this,c=Math.round(n*o)/o+Math.trunc(l*o)%2/(o*2);n=c,a=c}i.beginPath(),i.moveTo(s,n),i.lineTo(r,a),this.fillStroke(i),this.fillShadow?.markClean(),super.render(t)}toSVG(){if(!this.visible)return;const t=Rn("line");return t.setAttribute("x1",String(this.x1)),t.setAttribute("y1",String(this.y1)),t.setAttribute("x2",String(this.x2)),t.setAttribute("y2",String(this.y2)),this.applySvgStrokeAttributes(t),{elements:[t]}}};tn.className="Line";tn.defaultStyles={...Pn.defaultStyles,fill:void 0,strokeWidth:1};I([xe()],tn.prototype,"x1",2);I([xe()],tn.prototype,"y1",2);I([xe()],tn.prototype,"x2",2);I([xe()],tn.prototype,"y2",2);var W$=new Intl.NumberFormat("en-US",{maximumFractionDigits:2,useGrouping:!1}),j$=new Intl.NumberFormat("en-US",{style:"percent"});function pl(e,t=2){return typeof e=="number"?B3(e,t):String(e??"")}function F3(e){return j$.format(e)}function B3(e,t){return t===2?W$.format(e):new Intl.NumberFormat("en-US",{maximumFractionDigits:t,useGrouping:!1}).format(e)}var Mr=class extends Pn{constructor(e={}){super(e),this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.startLine=!1,this.endLine=!1,this.isRange=!1,this.restoreOwnStyles()}computeBBox(){return new ke(this.x1,this.y1,this.x2-this.x1,this.y2-this.y1)}isPointInPath(e,t){return!1}render(e){const{ctx:t}=e;let{x1:i,y1:o,x2:s,y2:n}=this;i=this.align(i),o=this.align(o),s=this.align(s),n=this.align(n);const{fill:r,opacity:a,isRange:l}=this;if(!!(l&&r)){const{fillOpacity:f}=this;this.applyFill(t),t.globalAlpha=a*f,t.beginPath(),t.moveTo(i,o),t.lineTo(s,o),t.lineTo(s,n),t.lineTo(i,n),t.closePath(),t.fill()}const{stroke:d,strokeWidth:u,startLine:h,endLine:p}=this;if(!!((h||p)&&d&&u)){const{strokeOpacity:f,lineDash:v,lineDashOffset:y,lineCap:C,lineJoin:S}=this;this.applyStroke(t),t.globalAlpha=a*f,t.lineWidth=u,v&&t.setLineDash(v),y&&(t.lineDashOffset=y),C&&(t.lineCap=C),S&&(t.lineJoin=S),t.beginPath(),h&&(t.moveTo(i,o),t.lineTo(s,o)),p&&(t.moveTo(s,n),t.lineTo(i,n)),t.stroke()}this.fillShadow?.markClean(),super.render(e)}};Mr.className="Range";Mr.defaultStyles={...Pn.defaultStyles,strokeWidth:1};I([xe()],Mr.prototype,"x1",2);I([xe()],Mr.prototype,"y1",2);I([xe()],Mr.prototype,"x2",2);I([xe()],Mr.prototype,"y2",2);I([xe()],Mr.prototype,"startLine",2);I([xe()],Mr.prototype,"endLine",2);I([xe()],Mr.prototype,"isRange",2);var ji=class extends _e{constructor(){super(...arguments),this.enabled=!0,this.fontSize=12,this.fontFamily="Verdana, sans-serif"}getFont(){return zt.toFontString(this)}};I([T(Re)],ji.prototype,"enabled",2);I([T(ct,{optional:!0})],ji.prototype,"color",2);I([T(Ml,{optional:!0})],ji.prototype,"fontStyle",2);I([T(Dl,{optional:!0})],ji.prototype,"fontWeight",2);I([T(ve)],ji.prototype,"fontSize",2);I([T(ge)],ji.prototype,"fontFamily",2);I([T(ss,{optional:!0})],ji.prototype,"formatter",2);function xC(e){const{parallelFlipRotation:t=0,regularFlipRotation:i=0}=e,o=e.rotation?kt(Ei(e.rotation)):0,s=!o&&t>=0&&t<=Math.PI?-1:1,n=!o&&i>=0&&i<=Math.PI?-1:1;let r=0;return e.parallel?r=s*Math.PI/2:n===-1&&(r=Math.PI),{configuredRotation:o,defaultRotation:r,parallelFlipFlag:s,regularFlipFlag:n}}function $$(e,t){return isNaN(e)?t?0:10:e}function U$(e,t,i,o){return e&&!t?i*o===-1?"hanging":"bottom":"middle"}function uE(e,t,i,o,s){const n=t>0&&t<=Math.PI,r=i>0&&i<=Math.PI,a=n||r?-1:1;if(e)if(t||i){if(o*a===-1)return"end"}else return"center";else if(o*s===-1)return"end";return"start"}function K$(e,t,i,o){const s=[];for(const{tickLabel:n,translationY:r}of e){if(!n)continue;const{width:a,height:l}=o.measureLines(n),c=new ke(t,r,a,l),d=new ke(t,r,0,0);i.transformBBox(d,c);const{x:u,y:h}=c;s.push({point:{x:u,y:h},label:{text:n,width:a,height:l}})}return s}function Y$(e){return e!=null&&Object.hasOwn(e,"toString")&&Ms(e.toString())}function X$(e){return e!=null&&Object.hasOwn(e,"valueOf")&&nt(e.valueOf())}function Y0(e){return nt(e)||Hm(e)||X$(e)}function hE(e,t){return e!=null&&(!t||Y0(e))}function G1(e){return Y$(e)&&Object.hasOwn(e,"id")?e.id:e}var Lk=e=>e==="value"?mt((t,i)=>i.target.type==="line",t=>t.target.type==="range"?"crossLine type 'range' to have a 'range' property instead of 'value'":"crossLine property 'type' to be 'line'"):mt((t,i)=>i.target.type==="range",t=>t.target.type==="line"?"crossLine type 'line' to have a 'value' property instead of 'range'":"crossLine property 'type' to be 'range'"),G3=(e,t,i,o,s)=>{const n=e==="line"&&t!==void 0,r=e==="range"&&i!==void 0;if(!n&&!r)return!0;const[a,l]=i??[t,void 0],c=ut.is(o)||ia.is(o),d=hE(a,c)&&!isNaN(o.convert(a)),u=hE(l,c)&&!isNaN(o.convert(l));if(n&&d||r&&d&&u)return s?.()??!0;const h=["Expecting crossLine"];return r?(d||h.push(`range start ${yf(a)}`),u||h.push(`${d?"":"and "}range end ${yf(l)}`)):h.push(`value ${yf(a)}`),h.push("to match the axis scale domain."),fe.warnOnce(h.join(" ")),!1},Z$={top:{xTranslationDirection:0,yTranslationDirection:-1},bottom:{xTranslationDirection:0,yTranslationDirection:1},left:{xTranslationDirection:-1,yTranslationDirection:0},right:{xTranslationDirection:1,yTranslationDirection:0},"top-left":{xTranslationDirection:1,yTranslationDirection:-1},"top-right":{xTranslationDirection:-1,yTranslationDirection:-1},"bottom-left":{xTranslationDirection:1,yTranslationDirection:1},"bottom-right":{xTranslationDirection:-1,yTranslationDirection:1},inside:{xTranslationDirection:0,yTranslationDirection:0},"inside-left":{xTranslationDirection:1,yTranslationDirection:0},"inside-right":{xTranslationDirection:-1,yTranslationDirection:0},"inside-top":{xTranslationDirection:0,yTranslationDirection:1},"inside-bottom":{xTranslationDirection:0,yTranslationDirection:-1},"inside-top-left":{xTranslationDirection:1,yTranslationDirection:1},"inside-bottom-left":{xTranslationDirection:1,yTranslationDirection:-1},"inside-top-right":{xTranslationDirection:-1,yTranslationDirection:1},"inside-bottom-right":{xTranslationDirection:-1,yTranslationDirection:-1}},q$={top:{xTranslationDirection:1,yTranslationDirection:0},bottom:{xTranslationDirection:-1,yTranslationDirection:0},left:{xTranslationDirection:0,yTranslationDirection:-1},right:{xTranslationDirection:0,yTranslationDirection:1},"top-left":{xTranslationDirection:-1,yTranslationDirection:-1},"top-right":{xTranslationDirection:-1,yTranslationDirection:1},"bottom-left":{xTranslationDirection:1,yTranslationDirection:-1},"bottom-right":{xTranslationDirection:1,yTranslationDirection:1},inside:{xTranslationDirection:0,yTranslationDirection:0},"inside-left":{xTranslationDirection:0,yTranslationDirection:1},"inside-right":{xTranslationDirection:0,yTranslationDirection:-1},"inside-top":{xTranslationDirection:-1,yTranslationDirection:0},"inside-bottom":{xTranslationDirection:1,yTranslationDirection:0},"inside-top-left":{xTranslationDirection:-1,yTranslationDirection:1},"inside-bottom-left":{xTranslationDirection:1,yTranslationDirection:1},"inside-top-right":{xTranslationDirection:-1,yTranslationDirection:-1},"inside-bottom-right":{xTranslationDirection:1,yTranslationDirection:-1}};function z1({yDirection:e,padding:t=0,position:i="top",bbox:o}){const s=e?Z$:q$,{xTranslationDirection:n,yTranslationDirection:r}=s[i],a=n*(t+o.width/2),l=r*(t+o.height/2);return{xTranslation:a,yTranslation:l}}function z3({yDirection:e,bbox:t,padding:i=0,position:o="top"}){const s={};return o.startsWith("inside")||(o==="top"&&!e?s.top=i+t.height:o==="bottom"&&!e?s.bottom=i+t.height:o==="left"&&e?s.left=i+t.width:o==="right"&&e&&(s.right=i+t.width)),s}var wC=({direction:e,xEnd:t,yStart:i,yEnd:o})=>e==="y"?{x:t/2,y:i}:{x:t,y:isNaN(o)?i:(i+o)/2},pE=({direction:e,xStart:t,xEnd:i,yStart:o,yEnd:s})=>e==="y"?{x:t,y:isNaN(s)?o:(o+s)/2}:{x:i/2,y:o},gE=({direction:e,xEnd:t,yStart:i,yEnd:o})=>e==="y"?{x:t,y:isNaN(o)?i:(i+o)/2}:{x:t/2,y:isNaN(o)?i:o},fE=({direction:e,xStart:t,xEnd:i,yStart:o,yEnd:s})=>e==="y"?{x:i/2,y:isNaN(s)?o:s}:{x:t,y:isNaN(s)?o:(o+s)/2},Q$=({xEnd:e,yStart:t,yEnd:i})=>({x:e/2,y:isNaN(i)?t:(t+i)/2}),mE=({direction:e,xStart:t,xEnd:i,yStart:o})=>e==="y"?{x:t/2,y:o}:{x:i,y:o},yE=({direction:e,xStart:t,yStart:i,yEnd:o})=>e==="y"?{x:t,y:isNaN(o)?i:o}:{x:t,y:i},vE=({direction:e,xEnd:t,yStart:i,yEnd:o})=>e==="y"?{x:t,y:i}:{x:t,y:isNaN(o)?i:o},bE=({direction:e,xStart:t,xEnd:i,yStart:o,yEnd:s})=>e==="y"?{x:i,y:isNaN(s)?o:s}:{x:t,y:isNaN(s)?o:s},_3={top:{c:wC},bottom:{c:fE},left:{c:pE},right:{c:gE},"top-left":{c:mE},"top-right":{c:vE},"bottom-left":{c:yE},"bottom-right":{c:bE},inside:{c:Q$},"inside-left":{c:pE},"inside-right":{c:gE},"inside-top":{c:wC},"inside-bottom":{c:fE},"inside-top-left":{c:mE},"inside-bottom-left":{c:yE},"inside-top-right":{c:vE},"inside-bottom-right":{c:bE}},J$=Mt(["top","left","right","bottom","top-left","top-right","bottom-left","bottom-right","inside","inside-left","inside-right","inside-top","inside-bottom","inside-top-left","inside-bottom-left","inside-top-right","inside-bottom-right"],"crossLine label position"),Bn=class extends _e{constructor(){super(...arguments),this.fontSize=14,this.fontFamily="Verdana, sans-serif",this.padding=5,this.color="rgba(87, 87, 87, 1)"}};I([T(Re,{optional:!0})],Bn.prototype,"enabled",2);I([T(ge,{optional:!0})],Bn.prototype,"text",2);I([T(Ml,{optional:!0})],Bn.prototype,"fontStyle",2);I([T(Dl,{optional:!0})],Bn.prototype,"fontWeight",2);I([T(ve)],Bn.prototype,"fontSize",2);I([T(ge)],Bn.prototype,"fontFamily",2);I([T(tt)],Bn.prototype,"padding",2);I([T(ct,{optional:!0})],Bn.prototype,"color",2);I([T(J$,{optional:!0})],Bn.prototype,"position",2);I([T(tt,{optional:!0})],Bn.prototype,"rotation",2);I([T(Re,{optional:!0})],Bn.prototype,"parallel",2);var Ts=class extends _e{constructor(){super(),this.id=Fn(this),this.label=new Bn,this.scale=void 0,this.clippedRange=[-1/0,1/0],this.gridLength=0,this.sideFlag=-1,this.parallelFlipRotation=0,this.regularFlipRotation=0,this.direction="x",this.rangeGroup=new Pe({name:this.id}),this.lineGroup=new Pe({name:this.id}),this.labelGroup=new Pe({name:this.id}),this.crossLineRange=new Mr,this.crossLineLabel=new pp,this.labelPoint=void 0,this.data=[],this.startLine=!1,this.endLine=!1,this.isRange=!1,this._isRange=void 0,this.lineGroup.append(this.crossLineRange),this.labelGroup.append(this.crossLineLabel),this.crossLineRange.pointerEvents=1}update(e){const{enabled:t,data:i,type:o,value:s,range:n,scale:r}=this;if(!o||!r||!t||!e||!G3(o,s,n,r)||i.length===0){this.rangeGroup.visible=!1,this.lineGroup.visible=!1,this.labelGroup.visible=!1;return}this.rangeGroup.visible=e,this.lineGroup.visible=e,this.labelGroup.visible=e,this.updateNodes();const{isRange:a}=this;a!==this._isRange&&(a?this.rangeGroup.appendChild(this.crossLineRange):this.lineGroup.appendChild(this.crossLineRange)),this._isRange=a}calculateLayout(e,t){if(!e)return;const{scale:i,gridLength:o,sideFlag:s,direction:n,label:{position:r="top"},clippedRange:a,strokeWidth:l=0}=this;if(this.data=[],!i)return;const c=i.bandwidth??0,d=i.step??0,u=(t?-1:1)*(i instanceof $m?(d-c)/2:0),[h,p]=[0,s*o];let[g,f]=this.getRange();const v=f===void 0&&ia.is(i)?c/2+u:0;let[y,C]=[Number(i.convert(g,!0))-u+v,i.convert(f,!0)+c+u];y=T1(y,a),C=T1(C,a),[g,f]=[Number(i.convert(g))+v,i.convert(f)+c];const S=(g===y||f===C||y!==C)&&Math.abs(C-y)>0;if(S&&y>C&&([y,C]=[C,y],[g,f]=[f,g]),g-u>=y&&(g-=u),f+u<=C&&(f+=u),this.isRange=S,this.startLine=l>0&&g>=y&&g<=y+u,this.endLine=l>0&&f>=C-c-u&&f<=C,!S&&!this.startLine&&!this.endLine||(this.data=[y,C],!this.label.enabled))return;const{c:x=wC}=_3[r]??{},{x:D,y:A}=x({direction:n,xStart:h,xEnd:p,yStart:y,yEnd:C});this.labelPoint={x:D,y:A}}updateNodes(){this.updateRangeNode(),this.label.enabled&&(this.updateLabel(),this.positionLabel())}updateRangeNode(){const{crossLineRange:e,sideFlag:t,gridLength:i,data:o,startLine:s,endLine:n,isRange:r,fill:a,fillOpacity:l,stroke:c,strokeWidth:d,lineDash:u}=this;e.x1=0,e.x2=t*i,e.y1=o[0],e.y2=o[1],e.startLine=s,e.endLine=n,e.isRange=r,e.fill=a,e.fillOpacity=l??1,e.stroke=c,e.strokeWidth=d??1,e.strokeOpacity=this.strokeOpacity??1,e.lineDash=u}updateLabel(){const{crossLineLabel:e,label:t}=this;t.text&&(e.fontStyle=t.fontStyle,e.fontWeight=t.fontWeight,e.fontSize=t.fontSize,e.fontFamily=t.fontFamily,e.fill=t.color,e.text=t.text)}positionLabel(){const{crossLineLabel:e,labelPoint:{x:t=void 0,y:i=void 0}={},label:{parallel:o,rotation:s,position:n="top",padding:r=0},direction:a,parallelFlipRotation:l,regularFlipRotation:c}=this;if(t===void 0||i===void 0)return;const{defaultRotation:d,configuredRotation:u}=xC({rotation:s,parallel:o,regularFlipRotation:c,parallelFlipRotation:l});e.rotation=d+u,e.textBaseline="middle",e.textAlign="center";const h=e.getBBox();if(!h)return;const p=a==="y",{xTranslation:g,yTranslation:f}=z1({yDirection:p,padding:r,position:n,bbox:h});e.translationX=t+g,e.translationY=i+f}getRange(){const{value:e,range:t,scale:i}=this,o=ut.is(i)||ia.is(i),s=t?.[0]??e;let n=t?.[1];return!o&&n===void 0&&(n=s),o&&s===n&&(n=void 0),[s,n]}computeLabelBBox(){const{label:e}=this;if(!e.enabled)return;const t=new pp;t.fontFamily=e.fontFamily,t.fontSize=e.fontSize,t.fontStyle=e.fontStyle,t.fontWeight=e.fontWeight,t.text=e.text;const{labelPoint:{x:i=void 0,y:o=void 0}={},label:{parallel:s,rotation:n,position:r="top",padding:a=0},direction:l,parallelFlipRotation:c,regularFlipRotation:d}=this;if(i===void 0||o===void 0)return;const{configuredRotation:u}=xC({rotation:n,parallel:s,regularFlipRotation:d,parallelFlipRotation:c});t.rotation=u,t.textBaseline="middle",t.textAlign="center";const h=t.getBBox();if(!h)return;const p=l==="y",{xTranslation:g,yTranslation:f}=z1({yDirection:p,padding:a,position:r,bbox:h});return t.x=i+g,t.y=o+f,t.getBBox()}calculatePadding(e){const{isRange:t,startLine:i,endLine:o,direction:s,label:{padding:n=0,position:r="top"}}=this;if(!t&&!i&&!o)return;const a=this.computeLabelBBox();if(a?.x==null||a?.y==null)return;const l=z3({yDirection:s==="y",padding:n,position:r,bbox:a});e.left=Math.max(e.left??0,l.left??0),e.right=Math.max(e.right??0,l.right??0),e.top=Math.max(e.top??0,l.top??0),e.bottom=Math.max(e.bottom??0,l.bottom??0)}};Ts.className="CrossLine";I([T(Re,{optional:!0})],Ts.prototype,"enabled",2);I([T(Mt(["range","line"],"a crossLine type"),{optional:!0})],Ts.prototype,"type",2);I([T(ga(Lk("range"),Ym.restrict({length:2})),{optional:!0})],Ts.prototype,"range",2);I([T(Lk("value"),{optional:!0})],Ts.prototype,"value",2);I([T(ct,{optional:!0})],Ts.prototype,"fill",2);I([T(ht,{optional:!0})],Ts.prototype,"fillOpacity",2);I([T(ct,{optional:!0})],Ts.prototype,"stroke",2);I([T(tt,{optional:!0})],Ts.prototype,"strokeWidth",2);I([T(ht,{optional:!0})],Ts.prototype,"strokeOpacity",2);I([T(fa,{optional:!0})],Ts.prototype,"lineDash",2);I([T(Se)],Ts.prototype,"label",2);var V3=(e=>(e[e.CHART_BACKGROUND=0]="CHART_BACKGROUND",e[e.AXIS_GRID=1]="AXIS_GRID",e[e.AXIS=2]="AXIS",e[e.ZOOM_SELECTION=3]="ZOOM_SELECTION",e[e.SERIES_CROSSLINE_RANGE=4]="SERIES_CROSSLINE_RANGE",e[e.SERIES_LAYER=5]="SERIES_LAYER",e[e.AXIS_FOREGROUND=6]="AXIS_FOREGROUND",e[e.SERIES_CROSSHAIR=7]="SERIES_CROSSHAIR",e[e.SERIES_CROSSLINE_LINE=8]="SERIES_CROSSLINE_LINE",e[e.SERIES_ANNOTATION=9]="SERIES_ANNOTATION",e[e.CHART_ANNOTATION=10]="CHART_ANNOTATION",e[e.CHART_ANNOTATION_FOCUSED=11]="CHART_ANNOTATION_FOCUSED",e[e.STATUS_BAR=12]="STATUS_BAR",e[e.SERIES_LABEL=13]="SERIES_LABEL",e[e.LEGEND=14]="LEGEND",e[e.NAVIGATOR=15]="NAVIGATOR",e[e.FOREGROUND=16]="FOREGROUND",e))(V3||{}),eU=["stroke","lineDash"],tU=wl(e=>Ji(e)&&Object.keys(e).every(t=>eU.includes(t)),"objects with gridline style properties such as 'stroke' or 'lineDash'"),X0=class{constructor(){this.enabled=!0,this.width=1,this.style=[{stroke:void 0,lineDash:[]}]}};I([T(Re)],X0.prototype,"enabled",2);I([T(ve)],X0.prototype,"width",2);I([T(tU)],X0.prototype,"style",2);function Uc(e,t=[void 0]){return hl((i,o,s)=>t.includes(s)?Iu(e)?e(s):e:s)}var H3=mt(e=>nt(e)&&e>0||e instanceof up,"a non-zero positive Number value or, for a time axis, a Time Interval such as 'agCharts.time.month'"),Tu=class extends _e{constructor(){super(...arguments),this.minSpacing=NaN,this.maxSpacing=NaN}};I([T(H3,{optional:!0})],Tu.prototype,"step",2);I([T(Ym,{optional:!0})],Tu.prototype,"values",2);I([T(l3),Uc(NaN)],Tu.prototype,"minSpacing",2);I([T(c3),Uc(NaN)],Tu.prototype,"maxSpacing",2);var $i=class extends _e{constructor(){super(...arguments),this.enabled=!0,this.fontSize=12,this.fontFamily="Verdana, sans-serif",this.spacing=5,this.minSpacing=NaN,this.color="#575757",this.avoidCollisions=!0,this.mirrored=!1,this.parallel=!1}getSideFlag(){return this.mirrored?1:-1}};I([T(Re)],$i.prototype,"enabled",2);I([T(Ml,{optional:!0})],$i.prototype,"fontStyle",2);I([T(Dl,{optional:!0})],$i.prototype,"fontWeight",2);I([T(tt.restrict({min:1}))],$i.prototype,"fontSize",2);I([T(ge)],$i.prototype,"fontFamily",2);I([T(ve)],$i.prototype,"spacing",2);I([T(Ip),Uc(NaN)],$i.prototype,"minSpacing",2);I([T(ct,{optional:!0})],$i.prototype,"color",2);I([T(tt,{optional:!0})],$i.prototype,"rotation",2);I([T(Re)],$i.prototype,"avoidCollisions",2);I([T(Re)],$i.prototype,"mirrored",2);I([T(Re)],$i.prototype,"parallel",2);I([T(ss,{optional:!0})],$i.prototype,"itemStyler",2);I([T(ss,{optional:!0})],$i.prototype,"formatter",2);I([T(ge,{optional:!0})],$i.prototype,"format",2);var Z0=class{constructor(){this.enabled=!0,this.width=1,this.stroke=void 0}};I([T(Re)],Z0.prototype,"enabled",2);I([T(ve)],Z0.prototype,"width",2);I([T(ct,{optional:!0})],Z0.prototype,"stroke",2);var Rp=class extends _e{constructor(){super(...arguments),this.enabled=!0,this.width=1,this.size=6}};I([T(Re)],Rp.prototype,"enabled",2);I([T(ve)],Rp.prototype,"width",2);I([T(ve)],Rp.prototype,"size",2);I([T(ct,{optional:!0})],Rp.prototype,"stroke",2);var Dr=class extends _e{constructor(){super(...arguments),this.caption=new St,this.enabled=!1,this.spacing=St.SMALL_PADDING,this.fontSize=10,this.fontFamily="sans-serif",this.wrapping="always"}};I([T(Re)],Dr.prototype,"enabled",2);I([T(ge,{optional:!0})],Dr.prototype,"text",2);I([T(ve,{optional:!0})],Dr.prototype,"spacing",2);I([T(Ml,{optional:!0})],Dr.prototype,"fontStyle",2);I([T(Dl,{optional:!0})],Dr.prototype,"fontWeight",2);I([T(ve)],Dr.prototype,"fontSize",2);I([T(ge)],Dr.prototype,"fontFamily",2);I([T(ct,{optional:!0})],Dr.prototype,"color",2);I([T(j0)],Dr.prototype,"wrapping",2);I([T(ss,{optional:!0})],Dr.prototype,"formatter",2);var W3=(e=>(e[e.TickAndDomain=0]="TickAndDomain",e[e.TicksOnly=1]="TicksOnly",e[e.Off=2]="Off",e))(W3||{});function MC(e){const[t,i]=eo(e.range),o=Math.floor(t),s=Math.ceil(i);return{min:o,max:s,visible:o!==s}}var _1=Math.PI*2,iU=_1/2;function oU(e,t){return Math.abs(t-e)<iU?t:e>t?t+_1:t-_1}function j3(e){const t=(r,a)=>{const[l=e.min,c=e.max]=eo(a??[]);return r<l||r>c};return{tick:{fromFn(r,a,l){let c=r.y1+r.translationY,d=r.opacity;return(l==="added"||t(r.datum.translationY,r.datum.range))&&(c=a.translationY,d=0),{y:0,translationY:c,opacity:d,phase:dr[l]}},toFn(r,a,l){const c=a.translationY;let d=1;return l==="removed"&&(d=0),{y:0,translationY:c,opacity:d,finish:{y:c,translationY:0}}},applyFn(r,a){r.setProperties(a),r.visible=!t(r.y)}},line:{fromFn(r,a){return{...r.previousDatum??a,phase:dr.updated}},toFn(r,a){return{...a}}},label:{fromFn(r,a,l){const c=r.previousDatum??a,d=c.x,u=c.y,h=c.rotationCenterX;let p=Math.round(r.translationY),g=c.rotation,f=r.opacity;return l==="removed"||t(c.y,c.range)?g=a.rotation:(l==="added"||t(r.datum.y,r.datum.range))&&(p=Math.round(c.translationY),f=0,g=a.rotation),{x:d,y:u,rotationCenterX:h,translationY:p,rotation:g,opacity:f,phase:dr[l]}},toFn(r,a,l){const c=a.x,d=a.y,u=a.rotationCenterX,h=Math.round(a.translationY);let p=0,g=1;return l==="added"?p=a.rotation:l==="removed"?(g=0,p=a.rotation):p=oU(r.previousDatum?.rotation??a.rotation,a.rotation),{x:c,y:d,rotationCenterX:u,translationY:h,rotation:p,opacity:g,finish:{rotation:a.rotation}}}},group:{fromFn(r,a){const{rotation:l,translationX:c,translationY:d}=r;return{rotation:l,translationX:c,translationY:d,phase:dr.updated}},toFn(r,a){const{rotation:l,translationX:c,translationY:d}=a;return{rotation:l,translationX:c,translationY:d}}}}}function $3(){return(e,t)=>({rotation:t.rotation,rotationCenterX:t.rotationCenterX,rotationCenterY:t.rotationCenterY,translationX:t.translationX,translationY:t.translationY})}function Ek(e){const{visible:t,min:i,max:o}=e;return(s,n)=>{const r=n.translationY,a=t&&r>=i&&r<=o;return{y:r,translationY:0,opacity:1,visible:a}}}function Pk(){return(e,t)=>({x:t.x,y:t.y,translationY:t.translationY,rotation:t.rotation,rotationCenterX:t.rotationCenterX})}function U3(){return(e,t)=>({...t})}var DC=class extends Ru(tn){},K3=(e=>(e[e.TickLines=0]="TickLines",e[e.AxisLine=1]="AxisLine",e[e.TickLabels=2]="TickLabels",e))(K3||{}),Il=class Y3{constructor(t,i){this.moduleCtx=t,this.scale=i,this.id=Fn(this),this.nice=!0,this.reverse=!1,this.keys=[],this.interval=new Tu,this.dataDomain={domain:[],clipped:!1},this.layoutConstraints={stacked:!0,align:"start",width:100,unit:"percent"},this.boundSeries=[],this.includeInvisibleDomains=!1,this.interactionEnabled=!0,this.axisGroup=new Eg({name:`${this.id}-axis`}),this.tickLineGroup=this.axisGroup.appendChild(new Pe({name:`${this.id}-Axis-tick-lines`,zIndex:0})),this.tickLabelGroup=this.axisGroup.appendChild(new Pe({name:`${this.id}-Axis-tick-labels`,zIndex:2})),this.labelGroup=new Pe({name:`${this.id}-Labels`,zIndex:9}),this.gridGroup=new Eg({name:`${this.id}-Axis-grid`,zIndex:1}),this.gridLineGroup=this.gridGroup.appendChild(new Pe({name:`${this.id}-gridLines`})),this.crossLineRangeGroup=new Eg({name:`${this.id}-CrossLines-Range`,zIndex:4}),this.crossLineLineGroup=new Eg({name:`${this.id}-CrossLines-Line`,zIndex:8}),this.crossLineLabelGroup=new Eg({name:`${this.id}-CrossLines-Label`,zIndex:13}),this.tickLineGroupSelection=hi.select(this.tickLineGroup,DC,!1),this.tickLabelGroupSelection=hi.select(this.tickLabelGroup,pp,!1),this.gridLineGroupSelection=hi.select(this.gridLineGroup,DC,!1),this._crossLines=[],this.line=new Z0,this.tick=new Rp,this.gridLine=new X0,this.label=this.createLabel(),this.defaultTickMinSpacing=Y3.defaultTickMinSpacing,this.translation={x:0,y:0},this.rotation=0,this.layout={label:{fractionDigits:0,spacing:this.label.spacing,format:this.label.format}},this.axisContext=void 0,this.labelFormatter=void 0,this.datumFormatter=void 0,this.scaleFormatterParams=void 0,this.destroyFns=[],this.range=[0,1],this.visibleRange=[0,1],this.title=new Dr,this.gridLength=0,this.gridPadding=0,this.seriesAreaPadding=0,this.animatable=!0,this._scaleNiceDomainInputDomain=void 0,this._scaleNiceDomainRangeExtent=NaN,this.moduleMap=new Ik,this.range=this.scale.range.slice(),this.crossLines.forEach(o=>this.initCrossLine(o))}get type(){return this.constructor.type??""}get labelNodes(){return this.tickLabelGroupSelection.nodes()}set crossLines(t){const{CrossLineConstructor:i}=this.constructor;this._crossLines.forEach(o=>this.detachCrossLine(o)),this._crossLines=t.map(o=>{const s=new i;return s.set(o),s}),this._crossLines.forEach(o=>{this.attachCrossLine(o),this.initCrossLine(o)})}get crossLines(){return this._crossLines}resetAnimation(t){}attachCrossLine(t){this.crossLineRangeGroup.appendChild(t.rangeGroup),this.crossLineLineGroup.appendChild(t.lineGroup),this.crossLineLabelGroup.appendChild(t.labelGroup)}detachCrossLine(t){this.crossLineRangeGroup.removeChild(t.rangeGroup),this.crossLineLineGroup.removeChild(t.lineGroup),this.crossLineLabelGroup.removeChild(t.labelGroup)}destroy(){this.moduleMap.destroy(),this.destroyFns.forEach(t=>t())}updateScale(){const{range:t,visibleRange:i,scale:o}=this,s=(t[1]-t[0])/(i[1]-i[0]),n=s*i[0],r=t[0]-n;o.range=[r,r+s],this.crossLines.forEach(a=>{a.clippedRange=[t[0],t[1]]})}setCrossLinesVisible(t){this.crossLineRangeGroup.visible=t,this.crossLineLineGroup.visible=t,this.crossLineLabelGroup.visible=t}attachAxis(t){t.gridNode.appendChild(this.gridGroup),t.axisNode.appendChild(this.axisGroup),t.labelNode.appendChild(this.labelGroup),t.crossLineRangeNode.appendChild(this.crossLineRangeGroup),t.crossLineLineNode.appendChild(this.crossLineLineGroup),t.crossLineLabelNode.appendChild(this.crossLineLabelGroup)}detachAxis(t){t.gridNode.removeChild(this.gridGroup),t.axisNode.removeChild(this.axisGroup),t.labelNode.removeChild(this.labelGroup),t.crossLineRangeNode.removeChild(this.crossLineRangeGroup),t.crossLineLineNode.removeChild(this.crossLineLineGroup),t.crossLineLabelNode.removeChild(this.crossLineLabelGroup)}attachLabel(t){this.labelGroup.append(t)}inRange(t,i=0){const[o,s]=eo(this.range);return t>=o-i&&t<=s+i}defaultDatumFormatter(t,i){return pl(t,i+1)}defaultLabelFormatter(t,i){return pl(t,i)}onGridLengthChange(t,i){i^t&&this.onGridVisibilityChange(),this.crossLines.forEach(o=>this.initCrossLine(o))}onGridVisibilityChange(){this.gridLineGroupSelection.clear()}createLabel(){return new $i}update(){this.updatePosition(),this.updateSelections(),this.tickLineGroup.visible=this.tick.enabled,this.gridLineGroup.visible=this.gridLine.enabled,this.tickLabelGroup.visible=this.label.enabled,this.updateLabels(),this.updateGridLines(),this.updateTickLines(),this.updateCrossLines()}getAxisLineCoordinates(){const[t,i]=eo(this.range);return{x:0,y1:t,y2:i}}getLabelStyles(t,i){const{label:o}=this,s={color:o.color,spacing:o.spacing,fontFamily:o.fontFamily,fontSize:o.fontSize,fontStyle:o.fontStyle,fontWeight:o.fontWeight};let n;o.itemStyler&&(n=this.moduleCtx.callbackCache.call(o.itemStyler,{...t,...s}));const{color:r,fontFamily:a,fontSize:l,fontStyle:c,fontWeight:d,spacing:u}=Ke(n,i,s);return{fill:r,fontFamily:a,fontSize:l,fontStyle:c,fontWeight:d,spacing:u}}getTickSize(){return this.tick.enabled?this.tick.size:0}setTitleProps(t,i){const{title:o}=this;if(!o.enabled){t.enabled=!1,t.node.visible=!1;return}t.enabled=!0,t.color=o.color,t.fontFamily=o.fontFamily,t.fontSize=o.fontSize,t.fontStyle=o.fontStyle,t.fontWeight=o.fontWeight,t.wrapping=o.wrapping;const s=t.node,n=(o.spacing??0)+i.spacing,r=this.label.getSideFlag(),a=kt(this.rotation),l=r===-1&&a>Math.PI&&a<Math.PI*2?-1:1,c=l*r*Math.PI/2,d=l===1?"bottom":"top",{range:u}=this,h=Math.floor(l*r*(u[0]+u[1])/2),p=Math.floor(r===-1?l*-n:-n),{callbackCache:g}=this.moduleCtx,{formatter:f=y=>y.defaultValue}=o,v=g.call(f,this.getTitleFormatterParams());t.text=v,s.setProperties({visible:!0,text:v,textBaseline:d,x:h,y:p,rotation:c})}processData(){const{includeInvisibleDomains:t,boundSeries:i,direction:o}=this,n=(t?i:i.filter(r=>r.isEnabled())).map(r=>r.getDomain(o));this.setDomains(...n)}setDomains(...t){let i,o;t.length>0?{domain:i,animatable:o}=this.scale.normalizeDomains(...t):(i=[],o=!0),this.dataDomain=this.normaliseDataDomain(i),this.reverse&&this.dataDomain.domain.reverse(),this.animatable=o}calculateLayout(t){const{scale:i,label:o,visibleRange:s,nice:n}=this;this.updateScale();const r=dp(this.range),a=this.dataDomain.domain;let l;s[0]===0&&s[1]===1?l=void 0:n?this._scaleNiceDomainInputDomain===a&&this._scaleNiceDomainRangeExtent===r?l=this.scale.domain:l=this.calculateTickLayout(a,0,[0,1]).niceDomain:l=a;let c;n?l==null?c=0:c=1:c=2;const{niceDomain:d,primaryTickCount:u,ticks:h,tickDomain:p,fractionDigits:g,bbox:f}=this.calculateTickLayout(l??a,c,s,t);this.scale.domain=d,this._scaleNiceDomainInputDomain=n?a:void 0,this._scaleNiceDomainRangeExtent=n?r:NaN;const v=o.format;this.labelFormatter=i.tickFormatter({domain:p,specifier:v,ticks:h,fractionDigits:g})??(A=>this.defaultLabelFormatter(A,g)),this.datumFormatter=i.datumFormatter({domain:p,specifier:v,ticks:h,fractionDigits:g})??(A=>this.defaultDatumFormatter(A,g)),this.scaleFormatterParams={domain:p,ticks:h,fractionDigits:g},this.layout.label={fractionDigits:g,spacing:this.label.spacing,format:this.label.format};const y=o.getSideFlag(),C=this.isAnySeriesActive(),{rotation:S,parallelFlipRotation:x,regularFlipRotation:D}=this.calculateRotations();return this.crossLines.forEach(A=>{var k;A.sideFlag=-y,A.direction=S===-Math.PI/2?"x":"y",A instanceof Ts&&((k=A.label).parallel??(k.parallel=o.parallel)),A.parallelFlipRotation=x,A.regularFlipRotation=D,A.calculateLayout?.(C,this.reverse)}),{primaryTickCount:u,bbox:f}}getTransformBox(t){const i=new vr,{rotation:o,translationX:s,translationY:n}=this.getAxisTransform();return vr.updateTransformMatrix(i,1,1,o,s,n),i.transformBBox(t)}calculateRotations(){const t=Ei(this.rotation),i=kt(t),o=kt(t-Math.PI/2);return{rotation:t,parallelFlipRotation:i,regularFlipRotation:o}}updateCrossLines(){const t=this.isAnySeriesActive();this.crossLines.forEach(i=>{i.update(t)})}updateTickLines(){const{tick:t,label:i}=this,o=i.getSideFlag();this.tickLineGroupSelection.each((s,n)=>{s.strokeWidth=n.tickWidth??t.width,s.stroke=n.tickStroke??t.stroke,s.x1=o*(n.tickSize??this.getTickSize()),s.x2=0})}getAxisTransform(){return{rotation:Ei(this.rotation),translationX:Math.floor(this.translation.x),translationY:Math.floor(this.translation.y)}}updatePosition(){const{crossLineRangeGroup:t,crossLineLineGroup:i,crossLineLabelGroup:o,gridGroup:s,translation:n}=this,{rotation:r}=this.calculateRotations(),a=Math.floor(n.x),l=Math.floor(n.y);t.setProperties({rotation:r,translationX:a,translationY:l}),i.setProperties({rotation:r,translationX:a,translationY:l}),o.setProperties({rotation:r,translationX:a,translationY:l}),s.setProperties({rotation:r,translationX:a,translationY:l})}updateGridLines(){const t=this.label.getSideFlag(),{gridLine:{style:i,width:o},gridPadding:s,gridLength:n}=this;n===0||i.length===0||this.gridLineGroupSelection.each((r,a,l)=>{const{stroke:c,lineDash:d}=i[l%i.length];r.setProperties({x1:s,x2:-t*n+s,stroke:c,strokeWidth:o,lineDash:d})})}formatTick(t,i,o,s){const{labelFormatter:n,label:{formatter:r},moduleCtx:{callbackCache:a}}=this;let l;return r?l=a.call(r,{value:t,index:i,fractionDigits:o}):s?l=s(t):n&&(l=n(t)),String(l??t)}formatDatum(t){const{label:{formatter:i},moduleCtx:{callbackCache:o},datumFormatter:s=this.labelFormatter}=this;let n;return i?n=o.call(i,{value:t,index:NaN}):s?n=o.call(s,t):Rt(t)&&(n=t.filter(Boolean).join(" - ")),String(n??t)}getScaleValueFormatter(t){const{scaleFormatterParams:i}=this;let o;try{t!=null&&i!=null&&(o=this.scale.tickFormatter({...i,specifier:t}))}catch{fe.warnOnce(`the format string ${t} is invalid, ignoring.`)}return o??(o=s=>this.formatDatum(s)),o}getBBox(){return this.axisGroup.getBBox()}initCrossLine(t){t.scale=this.scale,t.gridLength=this.gridLength}isAnySeriesActive(){return this.boundSeries.some(t=>this.includeInvisibleDomains||t.isEnabled())}clipTickLines(t,i,o,s){this.tickLineGroup.setClipRect(new ke(t,i,o,s))}clipGrid(t,i,o,s){this.gridGroup.setClipRect(new ke(t,i,o,s))}getTitleFormatterParams(){const{direction:t}=this,i=[];for(const o of this.boundSeries){const s=o.getKeys(t),n=o.getNames(t);for(let r=0;r<s.length;r++)i.push({key:s[r],name:n[r]})}return{direction:t,boundSeries:i,defaultValue:this.title?.text}}normaliseDataDomain(t){return{domain:[...t],clipped:!1}}getLayoutState(){return{id:this.id,rect:this.getBBox(),gridPadding:this.gridPadding,seriesAreaPadding:this.seriesAreaPadding,tickSize:this.getTickSize(),direction:this.direction,domain:this.dataDomain.domain,scale:this.scale,...this.layout}}getModuleMap(){return this.moduleMap}createModuleContext(){return this.axisContext??(this.axisContext=this.createAxisContext()),{...this.moduleCtx,parent:this.axisContext}}createAxisContext(){const{scale:t}=this;return{axisId:this.id,scale:this.scale,direction:this.direction,continuous:ut.is(t)||ia.is(t),getCanvasBounds:()=>qt.toCanvas(this.axisGroup),seriesKeyProperties:()=>this.boundSeries.reduce((i,o)=>(o.getKeyProperties(this.direction).forEach(n=>i.add(n)),i),new Set),seriesIds:()=>this.boundSeries.map(i=>i.id),scaleValueFormatter:i=>this.getScaleValueFormatter(i),scaleInvert:i=>t.invert(i,!0),scaleInvertNearest:i=>t.invert(i,!0),attachLabel:i=>this.attachLabel(i),inRange:(i,o)=>this.inRange(i,o)}}isReversed(){return this.reverse}};Il.defaultTickMinSpacing=50;Il.CrossLineConstructor=Ts;I([T(Re)],Il.prototype,"nice",2);I([T(Re)],Il.prototype,"reverse",2);I([T(n3)],Il.prototype,"keys",2);I([T(Se)],Il.prototype,"interval",2);I([T(Se)],Il.prototype,"title",2);I([$c((e,t,i)=>e.onGridLengthChange(t,i))],Il.prototype,"gridLength",2);var Nk=Il;function sU(e,t,i,o,s,n){if(e.size===0)return!1;let r=e.x,a=e.y;t!=null&&(r-=(t.x-.5)*e.size,a-=(t.y-.5)*e.size);let l=r;r<i?l=i:r>i+s&&(l=i+s);let c=a;a<o?c=o:a>o+n&&(c=o+n);const d=r-l,u=a-c;return Math.sqrt(d*d+u*u)<=e.size*.5}function X3(e,t,i,o,s){const n=e.x+e.width>t&&e.x<t+o,r=e.y+e.height>i&&e.y<i+s;return n&&r}function nU(e,t,i,o,s){return t+o<e.x+e.width&&t>e.x&&i>e.y&&i+s<e.y+e.height}function rU(e){return e!=null&&typeof e.point=="object"&&typeof e.label=="object"}var aU={top:{x:0,y:-1},bottom:{x:0,y:1},left:{x:-1,y:0},right:{x:1,y:0},"top-left":{x:-1,y:-1},"top-right":{x:1,y:-1},"bottom-left":{x:-1,y:1},"bottom-right":{x:1,y:1}};function lU(e,t,i=5){const o=new Map,s=[],n=new Map([...e.entries()].map(([a,l])=>[a,l.toSorted((c,d)=>d.point.size-c.point.size)])),r=[...n.values()].flat();for(const[a,l]of n.entries()){const c=[];if(l[0]?.label){for(let d=0,u=l.length;d<u;d++){const h=l[d],{point:p,label:g,anchor:f}=h,{text:v,width:y,height:C}=g,S=p.size*.5;let x=0,D=0;if(S>0&&h.placement!=null){const P=aU[h.placement];x=(y*.5+S+i)*P.x,D=(C*.5+S+i)*P.y}const A=p.x-y*.5+x-((f?.x??.5)-.5)*p.size,k=p.y-C*.5+D-((f?.y??.5)-.5)*p.size;if(!(!t||nU(t,A,k,y,C))||r.some(P=>sU(P.point,P.anchor,A,k,y,C))||s.some(P=>X3(P,A,k,y,C)))continue;const L={index:d,text:v,x:A,y:k,width:y,height:C,datum:h};c.push(L),s.push(L)}o.set(a,c)}}return o}function cU(e,t=0){const i=[];for(let o=0;o<e.length;o++){const s=e[o],{point:{x:n,y:r},label:{text:a}}=s;let{width:l,height:c}=s.label;if(l+=t,c+=t,i.some(d=>X3(d,n,r,l,c)))return!0;i.push({index:o,text:a,x:n,y:r,width:l,height:c,datum:s})}return!1}function dU(e,t,i){let[o,s]=eo(e);o=uU(Math.floor(o),s,t);const n=pU(o,s,t),r=t-1;s=o+r*n;const a=i?[s,o]:[o,s],l=hU(o,n,t);return{domain:a,ticks:l}}function uU(e,t,i){const o=Math.abs(t-e)/(i-1),s=Math.floor(Math.log10(o)),n=Math.pow(10,s);return Math.floor(e/n)*n}function hU(e,t,i){const o=Math.floor(Math.log10(t)),s=t>0&&t<1?Math.abs(o):0,n=Math.pow(10,s),r=[];for(let a=0;a<i;a++){const l=e+t*a;r[a]=Math.round(l*n)/n}return r}function pU(e,t,i){const o=i-1,s=(t-e)/o;return gU(s)}function gU(e){const t=Math.floor(Math.log10(e)),i=Math.pow(10,t),o=e/i*10;return o>0&&o<=1?i/10:o>1&&o<=2?2*i/10:o>1&&o<=5?5*i/10:o>5&&o<=10?10*i/10:o>10&&o<=20?20*i/10:o>20&&o<=40?40*i/10:o>40&&o<=50?50*i/10:o>50&&o<=100?100*i/10:o}function Ok(){const e=new Map;return t=>{const i=e.get(t);return i?(e.set(t,i+1),`${t}_${i}`):(e.set(t,1),t)}}var Z3=class{constructor(t){this.axis=t}estimateTickCount(t,i,o){return P3(dp(this.axis.range),dp(t),i,o,ut.defaultTickCount,this.axis.defaultTickMinSpacing)}filterTicks(t,i){const{minSpacing:o,maxSpacing:s}=this.axis.interval,r=!isNaN(o)||!isNaN(s)?Math.ceil(t.length/i):2,a=t.length%r?-1:0;return t.filter((l,c)=>(c+a)%r===0)}generateTicks({domain:t,primaryTickCount:i,visibleRange:o,niceMode:s,parallelFlipRotation:n,regularFlipRotation:r,labelX:a,sideFlag:l}){const{scale:c,label:d,interval:{minSpacing:u,maxSpacing:h}}=this.axis,{parallel:p,rotation:g,fontFamily:f,fontSize:v,fontStyle:y,fontWeight:C}=d,S=i!==void 0,{defaultRotation:x,configuredRotation:D,parallelFlipFlag:A,regularFlipFlag:k}=xC({rotation:g,parallel:p,regularFlipRotation:r,parallelFlipRotation:n}),w=D+x,M=new vr,{maxTickCount:R}=this.estimateTickCount(o,u,h),P=!(ut.is(c)||ia.is(c))||isNaN(R)?10:R;let N=uE(p,D,0,l,k);const O=U$(p,D,l,A),F=zt.toFontString({fontFamily:f,fontSize:v,fontStyle:y,fontWeight:C}),z=kl.getMeasurer({font:F}),_={fontFamily:f,fontSize:v,fontStyle:y,fontWeight:C,textBaseline:O,textAlign:N},V=d.enabled&&d.avoidCollisions,G=({ticks:q},te)=>{if(!V)return!1;const se=D!==0||te!==0,Z=w+te,ie=$$(d.minSpacing,se);vr.updateTransformMatrix(M,1,1,Z,0,0);const X=K$(q,a,M,z);return cU(X,ie)};let H={tickDomain:[],ticks:[],rawTicks:[],fractionDigits:0,niceDomain:void 0},B=0,W=0,j=!0,U=!1;for(;!U&&j&&B<=P;){W=0;for(const q of this.getTickStrategies({domain:t,niceMode:s,secondaryAxis:S,index:B}))({tickData:H,index:B,autoRotation:W,terminate:U}=q({index:B,tickData:H,textProps:_,terminate:U,primaryTickCount:i,visibleRange:o,get labelOverlap(){return G(H,W)}}));j=G(H,W)}N=uE(p,D,W,l,k);const ee=x+D+W;return!S&&H.rawTicks.length>0&&(i=H.rawTicks.length),{tickData:H,primaryTickCount:i,combinedRotation:ee,textBaseline:O,textAlign:N}}getTickStrategies({domain:t,niceMode:i,index:o,secondaryAxis:s}){const{scale:n,label:r,interval:a}=this.axis,{minSpacing:l}=a,c=ut.is(n)||ia.is(n),d=r.enabled&&r.avoidCollisions,u=!c&&o!==0&&d,h=r.autoRotate===!0&&r.rotation===void 0,p=[];let g;a.values?g=3:s?g=1:u?g=2:g=0;const f=({index:v,tickData:y,primaryTickCount:C,visibleRange:S,terminate:x})=>this.createTickData(t,i,S,C,g,v,y,x);if(p.push(f),!c&&!isNaN(l)){const v=({index:y,tickData:C,primaryTickCount:S,visibleRange:x,terminate:D})=>this.createTickData(t,i,x,S,2,y,C,D);p.push(v)}if(d&&h){const v=({index:y,tickData:C,labelOverlap:S,terminate:x})=>({index:y,tickData:C,autoRotation:S?kt(Ei(r.autoRotateAngle??0)):0,terminate:x});p.push(v)}return p}createTickData(t,i,o,s,n,r,a,l){const{scale:c,interval:d}=this.axis,{step:u,values:h,minSpacing:p,maxSpacing:g}=d,{maxTickCount:f,minTickCount:v,tickCount:y}=this.estimateTickCount(o,p,g),C=ut.is(c)||ia.is(c),S=!C||isNaN(f)?10:f,x=A=>C?Math.max(y-A,v):f,D=u==null&&h==null&&x(r)>v&&(C||n===2);for(;r<=S;){const A=a.rawTicks;if(a=this.getTicks({domain:t,niceMode:i,visibleRange:o,tickGenerationType:n,previousTicks:A,minTickCount:v,maxTickCount:f,primaryTickCount:s,tickCount:x(r)}),r++,!D||!ta(a.rawTicks,A))break}return l||(l=u!=null||h!=null),{tickData:a,index:r,autoRotation:0,terminate:l}}getTicks({domain:t,niceMode:i,visibleRange:o,tickGenerationType:s,previousTicks:n,tickCount:r,minTickCount:a,maxTickCount:l,primaryTickCount:c}){const{axis:d}=this,{label:u,range:h,scale:p,interval:g}=d,f=Ok(),v={nice:i===0,interval:g.step,tickCount:r,minTickCount:a,maxTickCount:l},y={...v,nice:i===0||i===1};let C=i===0?p.niceDomain(v,t):t,S=C,x;switch(s){case 3:if(S=g.values,x=g.values,ut.is(p)){const[L,P]=eo(C.map(Number));x=x.filter(N=>Number(N)>=L&&Number(N)<=P).sort((N,O)=>Number(N)-Number(O))}break;case 1:if(ut.is(p)){const L=dU(t.map(Number),c??0,d.reverse);x=L.ticks,C=L.domain.map(P=>p.toDomain(P))}else x=p.ticks(y,C,o)??[];break;case 2:x=this.filterTicks(n,r);break;default:x=p.ticks(y,C,o)??[]}const D=x.reduce((L,P)=>Math.max(L,typeof P=="number"?N0(P):0),0),A={domain:S,ticks:x,fractionDigits:D,specifier:u.format},k=p.tickFormatter(A),w=p.domain;p.domain=C;const M=(p.bandwidth??0)/2,R=[];for(let L=0;L<x.length;L++){const P=x[L],N=p.convert(P)+M;if(h.length>0&&!d.inRange(N,.001))continue;const O=u.enabled?d.formatTick(P,L,D,k):"";R.push({tick:P,tickId:f(O),tickLabel:O,translationY:Math.floor(N)})}return p.domain=w,{tickDomain:S,rawTicks:x,fractionDigits:D,ticks:R,niceDomain:C}}},Fk=class extends $i{constructor(){super(...arguments),this.autoRotateAngle=335}};I([T(Re,{optional:!0})],Fk.prototype,"autoRotate",2);I([T(tt)],Fk.prototype,"autoRotateAngle",2);var Bk=class q3 extends Nk{constructor(t,i){super(t,i),this.lineNode=this.axisGroup.appendChild(new DC({name:`${this.id}-Axis-line`,zIndex:1})),this.tempText=new pp,this.tempCaption=new St,this.tickGenerator=new Z3(this),this.generatedTicks=void 0,this.animationManager=t.animationManager,this.animationState=new Qm("empty",{empty:{update:{target:"ready",action:()=>this.resetSelectionNodes()},reset:"empty"},ready:{update:s=>this.animateReadyUpdate(s),resize:()=>this.resetSelectionNodes(),reset:"empty"}}),this.axisGroup.appendChild(this.title.caption.node);let o;this.destroyFns.push(t.layoutManager.addListener("layout:complete",s=>{const n=[s.chart.width,s.chart.height];o!=null&&!ta(n,o)&&this.animationState.transition("resize"),o=n}),this.title.caption.registerInteraction(this.moduleCtx,"afterend"))}static is(t){return t instanceof q3}resetAnimation(t){t==="initial"&&this.animationState.transition("reset")}get direction(){return this.position==="top"||this.position==="bottom"?"x":"y"}createAxisContext(){return{...super.createAxisContext(),position:this.position}}createLabel(){return new Fk}updateDirection(){switch(this.position){case"top":this.rotation=-90,this.label.mirrored=!0,this.label.parallel=!0;break;case"right":this.rotation=0,this.label.mirrored=!0,this.label.parallel=!1;break;case"bottom":this.rotation=-90,this.label.mirrored=!1,this.label.parallel=!0;break;case"left":this.rotation=0,this.label.mirrored=!1,this.label.parallel=!1;break}this.axisContext&&(this.axisContext.position=this.position,this.axisContext.direction=this.direction)}calculateLayout(t){return this.updateDirection(),super.calculateLayout(t)}calculateTickLayout(t,i,o,s){const n=this.label.getSideFlag(),{parallelFlipRotation:r,regularFlipRotation:a}=this.calculateRotations(),l=n*(this.getTickSize()+this.label.spacing+this.seriesAreaPadding),c=this.tickGenerator.generateTicks({domain:t,niceMode:i,visibleRange:o,primaryTickCount:s,parallelFlipRotation:r,regularFlipRotation:a,labelX:l,sideFlag:n}),{tickData:d,primaryTickCount:u=s}=c,{ticks:h,tickDomain:p,rawTicks:g,fractionDigits:f,niceDomain:v=t}=d,y=h.map(S=>this.getTickLabelProps(S,c)),C=this.tickBBox(h,y);return this.generatedTicks={ticks:h,labels:y},{ticks:g,tickDomain:p,niceDomain:v,primaryTickCount:u,fractionDigits:f,bbox:C}}update(){this.updateDirection();const t=Array.from(this.tickLabelGroupSelection.nodes(),n=>n.datum.tickId);if(super.update(),this.animatable||this.moduleCtx.animationManager.skipCurrentBatch(),this.generatedTicks){const{ticks:n}=this.generatedTicks;if(this.animationManager.isSkipped())this.resetSelectionNodes();else{const r=n.map(l=>l.tickId),a=RW(t,r);this.animationState.transition("update",a)}}const{enabled:i,stroke:o,width:s}=this.line;this.lineNode.setProperties({stroke:o,strokeWidth:i?s:0}),this.updateTitle(!this.generatedTicks?.ticks.length)}updatePosition(){super.updatePosition(),this.axisGroup.datum=this.getAxisTransform()}tickBBox(t,i){const o=this.label.getSideFlag(),s=[],{x:n,y1:r,y2:a}=this.getAxisLineCoordinates(),l=new ke(n+Math.min(o*this.seriesAreaPadding,0),r,this.seriesAreaPadding,a-r);if(s.push(l),this.tick.enabled)for(const u of t){const{x1:h,x2:p,y:g}=this.getTickLineCoordinates(u),f=new ke(h,g,p-h,0);s.push(f)}const{tempText:c}=this;if(this.label.enabled)for(const u of i){if(!u.visible)continue;c.setProperties({...u,translationY:Math.round(u.translationY)});const h=c.getBBox();h&&s.push(h)}if(this.title?.enabled){const u=ke.merge(s).width;this.setTitleProps(this.tempCaption,{spacing:u});const h=this.tempCaption.node.getBBox();h&&s.push(h)}const d=ke.merge(s);return this.getTransformBox(d)}getTickLabelProps(t,i){const{combinedRotation:o,textBaseline:s,textAlign:n}=i,{range:r}=this.scale,a=t.tickLabel,c=this.label.getSideFlag()*(this.getTickSize()+this.label.spacing+this.seriesAreaPadding),d=a!==""&&a!=null;return{...this.getLabelStyles({value:t.tickLabel}),tickId:t.tickId,rotation:o,rotationCenterX:c,translationY:t.translationY,text:a,textAlign:n,textBaseline:s,visible:d,x:c,y:0,range:r}}getTickLineCoordinates(t){const o=this.label.getSideFlag()*this.getTickSize(),s=Math.min(0,o),n=s+Math.abs(o),r=t.translationY;return{x1:s,x2:n,y:r}}updateSelections(){if(!this.generatedTicks)return;const t=this.getAxisLineCoordinates(),{ticks:i,labels:o}=this.generatedTicks,s=n=>n.tickId;this.lineNode.datum=t,this.gridLineGroupSelection.update(this.gridLength?i:[],void 0,s),this.tickLineGroupSelection.update(i,void 0,s),this.tickLabelGroupSelection.update(o,void 0,s)}updateTitle(t,i){const{title:o,tickLineGroup:s,tickLabelGroup:n,lineNode:r}=this;o.enabled&&!t&&i==null&&(i=Pe.computeChildrenBBox([s,n,r]).width+(n.visible?0:this.seriesAreaPadding)),i??(i=0),this.setTitleProps(o.caption,{spacing:i})}updateLabels(){this.label.enabled&&this.tickLabelGroupSelection.each((t,i)=>{t.fill=i.fill,t.fontFamily=i.fontFamily,t.fontSize=i.fontSize,t.fontStyle=i.fontStyle,t.fontWeight=i.fontWeight,t.text=i.text,t.textBaseline=i.textBaseline,t.textAlign=i.textAlign??"center"})}animateReadyUpdate(t){const{animationManager:i}=this.moduleCtx,o=MC(this),s=j3(o);Ut(this.id,"axis-group",i,[this.axisGroup],s.group),Ut(this.id,"line",i,[this.lineNode],s.line),Ut(this.id,"line-paths",i,[this.gridLineGroupSelection,this.tickLineGroupSelection],s.tick,(n,r)=>r.tickId,t),Ut(this.id,"tick-labels",i,[this.tickLabelGroupSelection],s.label,(n,r)=>r.tickId,t)}resetSelectionNodes(){const t=MC(this);qi([this.axisGroup],$3()),qi([this.gridLineGroupSelection,this.tickLineGroupSelection],Ek(t)),qi([this.tickLabelGroupSelection],Pk()),qi([this.lineNode],U3())}};I([T(ve,{optional:!0})],Bk.prototype,"thickness",2);I([T(fk)],Bk.prototype,"position",2);var Jm=Bk,Tp=class Q3 extends Jm{constructor(t,i=new Um){super(t,i),this.groupPaddingInner=.1,this.includeInvisibleDomains=!0}static is(t){return t instanceof Q3}normaliseDataDomain(t){return{domain:t,clipped:!1}}updateScale(){super.updateScale();let{paddingInner:t,paddingOuter:i}=this;if(!nt(t)||!nt(i)){const o=this.reduceBandScalePadding();t??(t=o.inner),i??(i=o.outer)}this.scale.paddingInner=t??0,this.scale.paddingOuter=i??0}reduceBandScalePadding(){return this.boundSeries.reduce((t,i)=>{const o=i.getBandScalePadding?.();return o&&(t.inner>o.inner&&(t.inner=o.inner),t.outer<o.outer&&(t.outer=o.outer)),t},{inner:1/0,outer:-1/0})}};Tp.className="CategoryAxis";Tp.type="category";I([T(ht)],Tp.prototype,"groupPaddingInner",2);I([T(ht,{optional:!0})],Tp.prototype,"paddingInner",2);I([T(ht,{optional:!0})],Tp.prototype,"paddingOuter",2);var Lp=Tp,q0=class{constructor(){this.destroyFns=[]}destroy(){for(const t of this.destroyFns)t()}},fU=class{constructor(){this.modules=[],this.dependencies=new Map,this.modulesByOptionKey=new Map}register(...e){for(const t of e){this.registerDependencies(t);const i=this.modules.find(o=>t.type===o.type&&("optionsKey"in t&&"optionsKey"in o?t.optionsKey===o.optionsKey:!0)&&t.identifier===o.identifier);if(i){if(t.packageType==="enterprise"&&i.packageType==="community"){const o=this.modules.indexOf(i);this.modules.splice(o,1,t),"optionsKey"in t&&this.modulesByOptionKey.set(t.optionsKey,t)}}else this.modules.push(t),"optionsKey"in t&&this.modulesByOptionKey.set(t.optionsKey,t)}}hasEnterpriseModules(){return this.modules.some(e=>e.packageType==="enterprise")}*byType(...e){const t=new Set,i=this.modules.filter(n=>e.includes(n.type)),o=n=>{const r=this.dependencies.get(n);return r?.flatMap(o).concat(r)??[]},s=[];for(const n of i){const r="optionsKey"in n?n.optionsKey:n.contextKey;if(!t.has(r)){for(const a of o(r)){if(t.has(a))continue;const l=this.modulesByOptionKey.get(a);if(!l){s.push(a);continue}e.includes(l.type)&&(yield l,t.add(a))}yield n,t.add(r)}}if(s.length>0)throw new Error(`Could not resolve module dependencies: ${s}`)}registerDependencies(e){if(e.dependencies==null||e.dependencies.length===0)return;const t="optionsKey"in e?e.optionsKey:e.contextKey;this.dependencies.set(t,e.dependencies)}},oa=new fU,CE=class{constructor(){this.queue=[]}await(e=50){return new Promise(t=>{const i=()=>{clearTimeout(s),t(!0)},s=setTimeout(()=>{const n=this.queue.indexOf(i);n<0||(this.queue.splice(n,1),t(!1))},e);this.queue.push(i)})}notify(){this.queue.splice(0).forEach(e=>e())}};function mU(){return new Promise(e=>{setTimeout(e,0)})}function kC(e,t){e&&(t=T0.normalize(t),t.width==null?e.style.removeProperty("width"):e.style.width=`${t.width}px`,t.height==null?e.style.removeProperty("height"):e.style.height=`${t.height}px`,t.x==null?e.style.removeProperty("left"):e.style.left=`${t.x}px`,t.y==null?e.style.removeProperty("top"):e.style.top=`${t.y}px`)}function J3(e){const t=parseFloat(e.style.width)||e.offsetWidth,i=parseFloat(e.style.height)||e.offsetHeight,o=parseFloat(e.style.left)||e.offsetLeft,s=parseFloat(e.style.top)||e.offsetTop;return{x:o,y:s,width:t,height:i}}function yU(e){if(e.focus({preventScroll:!0}),e.lastChild?.textContent==null)return;const t=ul().createRange();t.setStart(e.lastChild,e.lastChild.textContent.length),t.setEnd(e.lastChild,e.lastChild.textContent.length);const i=At().getSelection();i?.removeAllRanges(),i?.addRange(t)}var vU=0;function bU(e){return`${e??"ag-charts-element"}-${vU++}`}function e5(){const e=At("navigator");if("scheduling"in e){const t=e.scheduling;if("isInputPending"in t)return t.isInputPending({includeContinuous:!0})}return!1}function Q0(e){return`ag-charts-icon ag-charts-icon-${e}`}var V1="class-instance";function gl(e,t,i){if(Rt(t)){if(!Rt(e)||e.length!==t.length||t.some((o,s)=>gl(e[s],o)!=null))return t}else if(Po(t)){if(!Po(e))return t;const o={},s=new Set([...Object.keys(e),...Object.keys(t)]);for(const n of s)if(!(e[n]===t[n]||i?.includes(n)))if(typeof e[n]==typeof t[n]){const r=gl(e[n],t[n]);r!==null&&(o[n]=r)}else o[n]=t[n];return Object.keys(o).length?o:null}else if(e!==t)return t;return null}function t5(e,t){for(const i of Object.keys(e))if(e[i]!==t?.[i])return!1;return!0}function Ti(e,t){return Rt(e)?e.map(i=>Ti(i,t)):Po(e)?CU(e,t):e instanceof Map?new Map(Ti(Array.from(e))):Gk(e)}function CU(e,t){const i={};for(const o of Object.keys(e))i[o]=t?.has(o)?Gk(e[o]):Ti(e[o],t);return i}function Gk(e){return Rt(e)?e.slice(0):Po(e)?{...e}:Dp(e)?new Date(e):PW(e)?new RegExp(e.source,e.flags):e}function tl(e,t,i,o,s,n){if(Rt(e)){n=t(e,o,s,n);let r=0;for(const a of e)n=tl(a,t,i,o?.[r],s,n),r++}else if(Po(e)){n=t(e,o,s,n);for(const r of Object.keys(e)){if(i?.has(r))continue;const a=e[r];n=tl(a,t,i,o?.[r],s,n)}}return n}function xf(e,t,i={}){const{path:o,matcherPath:s=o?.replace(/(\[[0-9+]+])/i,"[]"),skip:n=[]}=i;if(e==null)throw new Error(`AG Charts - target is uninitialised: ${o??"<root>"}`);if(t==null)return e;if(la(e))return e.set(t);const r=e,a=fw(e);for(const l of Object.keys(t)){if(lk.has(l))continue;const c=`${s?s+".":""}${l}`;if(n.includes(c))continue;const d=t[l],u=`${o?o+".":""}${l}`,h=r.constructor,p=r[l];try{const g=fw(p),f=fw(d);if(a===V1&&!(l in e)){if(d===void 0)continue;fe.warn(`unable to set [${u}] in ${h?.name} - property is unknown`);continue}if(g!=null&&f!=null&&f!==g&&(g!==V1||f!=="object")){fe.warn(`unable to set [${u}] in ${h?.name} - can't apply type of [${f}], allowed types are: [${g}]`);continue}if(la(p))r[l].set(d);else if(f==="object"){if(p==null){fe.warn(`unable to set [${u}] in ${h?.name} - property is unknown`);continue}xf(p,d,{...i,path:u,matcherPath:c})}else r[l]=d}catch(g){fe.warn(`unable to set [${u}] in [${h?.name}]; nested error is: ${g.message}`)}}return e}function fw(e){return e==null?null:NW(e)||Dp(e)?"primitive":Rt(e)?"array":Ji(e)?Po(e)?"object":V1:Iu(e)?"function":"primitive"}function i5(e,t,i){return H1(e,t,e,i)}function H1(e,t,i,o,s=[],n={}){if(Rt(e)){SE(e,t,i,s,n);let r=0;for(const a of e)H1(a,t,i,o,[...s,`${r}`],n),r++}else if(Po(e)){SE(e,t,i,s,n);for(const r of Object.keys(e)){if(o?.has(r))continue;const a=e[r];H1(a,t,i,o,[...s,r],n)}}return n}function SE(e,t,i,o,s){if(Rt(e))for(let n=0;n<e.length;n++)e[n]=xE(e[n],t,i,[...o,`${n}`],s);else for(const[n,r]of Object.entries(e))e[n]=xE(r,t,i,[...o,n],s)}function xE(e,t,i,o,s){const{operation:n,values:r}=zk(e);return n?(s[o.join(".")]=e,s5(n,r,t,i,o,new Set)):e}var o5=(e=>(e.Ref="$ref",e.Path="$path",e.If="$if",e.Eq="$eq",e.Not="$not",e.Or="$or",e.And="$and",e.Mul="$mul",e.Round="$round",e.Rem="$rem",e.Mix="$mix",e.ForegroundBackgroundMix="$foregroundBackgroundMix",e.ForegroundBackgroundAccentMix="$foregroundBackgroundAccentMix",e))(o5||{}),SU=new Set(Object.values(o5));function zk(e){if(!Po(e))return{};const[t,...i]=Object.keys(e);return i.length!==0||!SU.has(t)?{}:{operation:t,values:e[t]}}function s5(e,t,i,o,s,n){return Rt(t)&&(t=t.map(r=>{const{operation:a,values:l}=zk(r);return a?s5(a,l,i,o,s,n):r})),n5[e](t,i,o,s,n)}function cv(e){return Dn(e)&&e>=0&&e<=1}var n5={$ref:(e,t,i,o,s)=>{if(Ms(e)&&e in t){const{operation:n,values:r}=zk(t[e]);if(n!=="$ref")return t[e];if(s?.has(r)){fe.warnOnce(`\`$ref\` json operation failed on [${String(e)}] at [${o.join(".")}], circular reference detected with [${[...s].join(", ")}].`);return}return s?.add(r),n5.$ref(r,t,i,o,s)}fe.warnOnce(`\`$ref\` json operation failed on [${String(e)}] at [${o.join(".")}], expecting one of [${Object.keys(t).join(", ")}].`)},$path:(e,t,i,o)=>{if(!Ms(e)){fe.warnOnce(`\`$path\` json operation failed on [${String(e)}] at [${o.join(".")}], expecting a string.`);return}const s=e.split("/"),n=[...o];for(const a of s)a===".."?(n.pop(),n.pop()):a==="."?n.pop():n.push(a);let r=i;for(const a of n){if(!(a in r)){fe.warnOnce(`\`$path\` json operation failed on [${String(e)}] at [${o.join(".")}], could not find path in object.`);return}r=r[a]}return r},$if:([e,t,i])=>e?t:i,$eq:([e,t])=>e===t,$not:([e,t])=>e!==t,$or:([e,t])=>e||t,$and:([e,t])=>e&&t,$mul:([e,t],i,o,s)=>{if(typeof e=="number"&&typeof t=="number")return e*t;fe.warnOnce(`\`$mul\` json operation failed on [${String(e)}] and [${String(t)}] at [${s.join(".")}], expecting two numbers.`)},$round:([e],t,i,o)=>{if(typeof e=="number")return Math.round(e);fe.warnOnce(`\`$round\` json operation failed on [${String(e)}] at [${o.join(".")}], expecting a number.`)},$rem:([e],t)=>{if(typeof e=="number")return Math.round(e*t.fontSize)},$mix:([e,t,i],o,s,n)=>{if(typeof e=="string"&&typeof t=="string"&&cv(i))try{return jt.mix(jt.fromString(e),jt.fromString(t),i).toString()}catch{}fe.warnOnce(`\`$mix\` json operation failed on [${String(e)}, ${String(t)}, ${String(i)}] at [${n.join(".")}], expecting two colors and a number between 0 and 1.`)},$foregroundBackgroundMix:([e],t,i,o)=>{if(cv(e))return jt.mix(jt.fromString(t.foregroundColor),jt.fromString(t.backgroundColor),e).toString();fe.warnOnce(`\`$foregroundBackgroundMix\` json operation failed on [${String(e)}}}] at [${o.join(".")}], expecting a number between 0 and 1.`)},$foregroundBackgroundAccentMix:([e,t],i,o,s)=>{if(cv(e)&&cv(t))return jt.mix(jt.mix(jt.fromString(i.foregroundColor),jt.fromString(i.backgroundColor),e),jt.fromString(i.accentColor),t).toString();fe.warnOnce(`\`$foregroundBackgroundAccentMix\` json operation failed on [${String(e)}, ${String(t)}}] at [${s.join(".")}], expecting two numbers between 0 and 1.`)}},xU=class{constructor(){this.available=!0,this.acquireQueue=[]}acquire(e){return new Promise(t=>{this.acquireQueue.push([e,t]),this.available&&this.dispatchNext().catch(i=>fe.errorOnce(i))})}async acquireImmediately(e){return this.available?(await this.acquire(e),!0):!1}async waitForClearAcquireQueue(){return this.acquire(()=>Promise.resolve(void 0))}async dispatchNext(){this.available=!1;let[e,t]=this.acquireQueue.shift()??[];for(;e;){try{await e(),t?.()}catch(i){fe.error("mutex callback error",i),t?.()}[e,t]=this.acquireQueue.shift()??[]}this.available=!0}},r5=class{constructor(){this.eventListeners=new Map}addEventListener(e,t){if(typeof t!="function")throw new Error("AG Charts - listener must be a Function");const i=this.eventListeners.get(e);i?i.add(t):this.eventListeners.set(e,new Set([t]))}removeEventListener(e,t){this.eventListeners.get(e)?.delete(t),this.eventListeners.size===0&&this.eventListeners.delete(e)}hasEventListener(e){return this.eventListeners.has(e)}clearEventListeners(){this.eventListeners.clear()}fireEvent(e){this.eventListeners.get(e.type)?.forEach(t=>t(e))}},Kc=class extends _e{constructor(t=0,i=t,o=t,s=i){super(),this.top=t,this.right=i,this.bottom=o,this.left=s}};I([T(ve)],Kc.prototype,"top",2);I([T(ve)],Kc.prototype,"right",2);I([T(ve)],Kc.prototype,"bottom",2);I([T(ve)],Kc.prototype,"left",2);function wU(e){return a5((t,i)=>At().requestAnimationFrame(t),e)}function MU(e){return a5((t,i=0)=>{i===0?queueMicrotask(t):setTimeout(t,i)},e)}function a5(e,t){let i=0,o=!1,s,n;const r=()=>o,a=()=>{o=!1,n?.(),n=void 0,s=void 0,i>0&&e(l)},l=()=>{const c=i;i=0,o=!0;const d=t({count:c});if(!d){a();return}d.then(a,a)};return{schedule(c){i===0&&!r()&&e(l,c),i++},async await(){if(r())for(s==null&&(s=new Promise(c=>{n=c}));r();)await s}}}function yd(e){return e==="true"}function DU(e){return Number(e)}function Yn(e){return e}var kU={role:Yn,"aria-checked":yd,"aria-controls":Yn,"aria-describedby":Yn,"aria-disabled":yd,"aria-expanded":yd,"aria-haspopup":yd,"aria-hidden":yd,"aria-label":Yn,"aria-labelledby":Yn,"aria-live":Yn,"aria-orientation":Yn,"aria-selected":yd,"data-preventdefault":yd,class:Yn,id:Yn,tabindex:DU,title:Yn,placeholder:Yn};function vt(e,t,i){i==null||i===""||i===""?e?.removeAttribute(t):e?.setAttribute(t,i.toString())}function yu(e,t){if(t!=null)for(const[i,o]of Object.entries(t))i!=="class"&&vt(e,i,o)}function J0(e,t,i){if(!(e instanceof HTMLElement))return;const o=e.getAttribute(t);return o===null?i:kU[t]?.(o)??void 0}function ur(e,t,i){e!=null&&(i==null?e.style.removeProperty(t):e.style.setProperty(t,i.toString()))}function IU(e,t){for(const[i,o]of Object.entries(t))ur(e,i,o)}var _k=["blur","change","contextmenu","focus","keydown","keyup","click","dblclick","mouseenter","mousemove","mouseleave","wheel","touchstart","touchmove","touchend","touchcancel"];function ch(e,t,i){const{offsetX:o,offsetY:s,clientX:n,clientY:r}=t,{currentX:a,currentY:l}=il.calcCurrentXY(i,t);return{type:e,offsetX:o,offsetY:s,clientX:n,clientY:r,currentX:a,currentY:l,sourceEvent:t}}function dv(e,t,i){return{type:e,sourceEvent:t}}var AU={blur:e=>({type:"blur",sourceEvent:e}),change:e=>({type:"change",sourceEvent:e}),contextmenu:(e,t)=>ch("contextmenu",e,t),focus:e=>({type:"focus",sourceEvent:e}),keydown:e=>({type:"keydown",sourceEvent:e}),keyup:e=>({type:"keyup",sourceEvent:e}),click:(e,t)=>ch("click",e,t),dblclick:(e,t)=>ch("dblclick",e,t),mouseenter:(e,t)=>ch("mouseenter",e,t),mousemove:(e,t)=>ch("mousemove",e,t),mouseleave:(e,t)=>ch("mouseleave",e,t),wheel:e=>{const{offsetX:t,offsetY:i,clientX:o,clientY:s}=e,n=e.deltaMode===0?.01:1,r=e.deltaX*n,a=e.deltaY*n;return{type:"wheel",offsetX:t,offsetY:i,clientX:o,clientY:s,deltaX:r,deltaY:a,sourceEvent:e}},touchstart:(e,t)=>dv("touchstart",e),touchmove:(e,t)=>dv("touchmove",e),touchend:(e,t)=>dv("touchend",e),touchcancel:(e,t)=>dv("touchcancel",e)},il=class{static alloc(e,t,i){return AU[e](t,i)}static isHTMLEvent(e){return _k.includes(e)}static calcCurrentXY(e,t){const i=e.getBoundingClientRect();return{currentX:t.clientX-i.x,currentY:t.clientY-i.y}}},RU=class{constructor(){this.widgetListeners={},this.sourceListeners={}}initSourceHandler(e,t){this.sourceListeners??(this.sourceListeners={}),this.sourceListeners[e]=t}lazyGetWidgetListeners(e,t){var i;if(!(e in(this.sourceListeners??{}))){const o=n=>{const r=il.alloc(e,n,t.getElement());for(const a of this.widgetListeners?.[e]??[])a(r,t)},s={};e.startsWith("touch")&&(s.passive=!1),this.initSourceHandler(e,o),t.getElement().addEventListener(e,o,s)}return this.widgetListeners??(this.widgetListeners={}),(i=this.widgetListeners)[e]??(i[e]=[]),this.widgetListeners[e]}add(e,t,i){this.lazyGetWidgetListeners(e,t).push(i)}remove(e,t,i){const o=this.lazyGetWidgetListeners(e,t),s=o.indexOf(i);s>-1&&o.splice(s,1)}destroy(e){for(const[t,i]of Object.entries(this.sourceListeners??{})){const o=t;e.getElement().removeEventListener(o,i)}this.widgetListeners=void 0,this.sourceListeners=void 0}},TU=class{constructor(e,t,i,o){this.glob=e,this.self=t,this.window=At(),this.mousegeneral=l=>{l.stopPropagation(),l.stopImmediatePropagation()},this.mousemove=l=>{l.stopPropagation(),l.stopImmediatePropagation(),this.glob.globalMouseDragCallbacks?.mousemove(l)},this.mouseup=l=>{l.button===0&&(l.stopPropagation(),l.stopImmediatePropagation(),this.glob.globalMouseDragCallbacks?.mouseup(l),this.destroy())};const{window:s,mousegeneral:n,mousemove:r,mouseup:a}=this;s.addEventListener("mousedown",n,{capture:!0}),s.addEventListener("mouseenter",n,{capture:!0}),s.addEventListener("mouseleave",n,{capture:!0}),s.addEventListener("mouseout",n,{capture:!0}),s.addEventListener("mouseover",n,{capture:!0}),s.addEventListener("mousemove",r,{capture:!0}),s.addEventListener("mouseup",a,{capture:!0}),t.mouseDragger=this,e.globalMouseDragCallbacks=i,e.globalMouseDragCallbacks.mousedown(o)}destroy(){const{window:e,mousegeneral:t,mousemove:i,mouseup:o}=this;e.removeEventListener("mousedown",t,{capture:!0}),e.removeEventListener("mouseenter",t,{capture:!0}),e.removeEventListener("mouseleave",t,{capture:!0}),e.removeEventListener("mouseout",t,{capture:!0}),e.removeEventListener("mouseover",t,{capture:!0}),e.removeEventListener("mousemove",i,{capture:!0}),e.removeEventListener("mouseup",o,{capture:!0}),this.glob.globalMouseDragCallbacks=void 0,this.self.mouseDragger=void 0}};function LU(e,t,i,o){if(e.globalMouseDragCallbacks==null)return new TU(e,t,i,o)}var EU=500,PU=100;function NU(e,t){const i=e.clientX-t.clientX,o=e.clientY-t.clientY;return i*i+o*o}var W1=!1,OU=class{constructor(e,t,i,o,s){this.glob=e,this.self=t,this.initialTouch=o,this.target=s,this.longTapInterrupted=!1,this.longtap=()=>{const{target:a,initialTouch:l}=this;if(!this.longTapInterrupted){a.dispatchEvent(new TouchEvent("touchcancel",{touches:[l],bubbles:!0})),W1=!0;const c=g=>{g.preventDefault()},d=g=>{W1=!1,g.preventDefault(),a.removeEventListener("touchmove",c),a.removeEventListener("touchend",d),a.removeEventListener("touchcancel",d)};a.addEventListener("touchmove",c,{passive:!1}),a.addEventListener("touchend",d,{passive:!1}),a.addEventListener("touchcancel",d,{passive:!1});const{clientX:u,clientY:h}=l,p=new PointerEvent("contextmenu",{bubbles:!0,cancelable:!0,view:At(),clientX:u,clientY:h,pointerType:"touch"});a.dispatchEvent(p)}},this.touchmove=a=>{const{glob:l,self:c,initialTouch:d}=this,u=this.findInitialFinger(a.targetTouches);u!=null&&(this.longTapInterrupted=this.longTapInterrupted||NU(d,u)>PU,c.dragTouchEnabled&&u!=null&&l.globalTouchDragCallbacks?.touchmove(a,u))},this.touchend=a=>{this.longTapInterrupted=!0;const l=this.findInitialFinger(a.changedTouches,a.touches);l!=null&&this.glob.globalTouchDragCallbacks?.touchend(a,l),this.destroy()},this.longtapTimer=setTimeout(this.longtap,EU);const{touchmove:n,touchend:r}=this;s.addEventListener("touchmove",n,{passive:!1}),s.addEventListener("touchstart",r,{passive:!1}),s.addEventListener("touchend",r,{passive:!1}),s.addEventListener("touchcancel",r,{passive:!1}),t.touchDragger=this,e.globalTouchDragCallbacks=i}destroy(){const{longtapTimer:e,touchmove:t,touchend:i}=this;clearTimeout(e),this.target.removeEventListener("touchstart",i),this.target.removeEventListener("touchmove",t),this.target.removeEventListener("touchend",i),this.target.removeEventListener("touchcancel",i),this.glob.globalTouchDragCallbacks=void 0,this.self.touchDragger=void 0}findInitialFinger(...e){const t=e.map(i=>Array.from(i)).flat();return Array.from(t).find(i=>i.identifier===this.initialTouch.identifier)}};function FU(e,t,i,o,s){if(!(e.globalTouchDragCallbacks!=null||W1))return new OU(e,t,i,o,s)}function mw(e,t,i,o){const{currentX:s,currentY:n}=il.calcCurrentXY(e.getElement(),o),r=o.pageX-i.pageX,a=o.pageY-i.pageY;return{type:t,device:"mouse",offsetX:i.offsetX+r,offsetY:i.offsetY+a,clientX:o.clientX,clientY:o.clientY,currentX:s,currentY:n,originDeltaX:r,originDeltaY:a,sourceEvent:o}}function BU(e,{pageX:t,pageY:i}){const{x:o,y:s}=e.getElement().getBoundingClientRect();return{offsetX:t-o,offsetY:i-s}}function yw(e,t,i,o,s){const{currentX:n,currentY:r}=il.calcCurrentXY(e.getElement(),s),a=s.pageX-i.pageX,l=s.pageY-i.pageY;return{type:t,device:"touch",offsetX:i.offsetX+a,offsetY:i.offsetY+l,clientX:s.clientX,clientY:s.clientY,currentX:n,currentY:r,originDeltaX:a,originDeltaY:l,sourceEvent:o}}var wE={},ME=class{constructor(e){this.dispatchCallback=e,this.dragTouchEnabled=!0}destroy(){this.dragTriggerRemover?.(),this.dragTriggerRemover=void 0,this.dragStartListeners=void 0,this.dragMoveListeners=void 0,this.dragEndListeners=void 0,this.mouseDragger?.destroy(),this.touchDragger?.destroy()}add(e,t,i){switch(e){case"drag-start":{this.dragStartListeners??(this.dragStartListeners=[]),this.dragStartListeners.push(i),this.registerDragTrigger(t);break}case"drag-move":{this.dragMoveListeners??(this.dragMoveListeners=[]),this.dragMoveListeners.push(i),this.registerDragTrigger(t);break}case"drag-end":{this.dragEndListeners??(this.dragEndListeners=[]),this.dragEndListeners.push(i),this.registerDragTrigger(t);break}}}remove(e,t,i){switch(e){case"drag-start":return this.removeHandler(this.dragStartListeners,i);case"drag-move":return this.removeHandler(this.dragMoveListeners,i);case"drag-end":return this.removeHandler(this.dragEndListeners,i)}}removeHandler(e,t){const i=e?.indexOf(t);i!==void 0&&e?.splice(i,1)}registerDragTrigger(e){if(this.dragTriggerRemover==null){const t=o=>this.triggerMouseDrag(e,o),i=o=>this.triggerTouchDrag(e,o);e.getElement().addEventListener("mousedown",t),e.getElement().addEventListener("touchstart",i,{passive:!1}),this.dragTriggerRemover=()=>{e.getElement().removeEventListener("mousedown",t),e.getElement().removeEventListener("touchstart",i)}}}triggerMouseDrag(e,t){t.button===0&&this.startMouseDrag(e,t)}startMouseDrag(e,t){const i={pageX:NaN,pageY:NaN,offsetX:NaN,offsetY:NaN};E1(["pageX","pageY","offsetX","offsetY"],i,t);const o={mousedown:s=>{const n=mw(e,"drag-start",i,s);this.dispatch("drag-start",e,n)},mousemove:s=>{const n=mw(e,"drag-move",i,s);this.dispatch("drag-move",e,n)},mouseup:s=>{const n=mw(e,"drag-end",i,s);this.dispatch("drag-end",e,n),this.endDrag(e,n)}};this.mouseDragger=LU(wE,this,o,t)}endDrag(e,{sourceEvent:t,clientX:i,clientY:o}){const s=e.getElement(),n=s.getBoundingClientRect();T0.containsPoint(n,i,o)||(s.dispatchEvent(new MouseEvent("mouseleave",t)),t.target?.dispatchEvent(new MouseEvent("mouseenter",t)))}triggerTouchDrag(e,t){const i=t.targetTouches.item(0);t.targetTouches.length===1&&i!=null&&this.startOneFingerTouch(e,t,i)}startOneFingerTouch(e,t,i){const o={pageX:NaN,pageY:NaN,...BU(e,i)};E1(["pageX","pageY"],o,i);const s={touchmove:(a,l)=>{const c=yw(e,"drag-move",o,a,l);this.dispatch("drag-move",e,c)},touchend:(a,l)=>{const c=yw(e,"drag-end",o,a,l);this.dispatch("drag-end",e,c)}},n=e.getElement();this.touchDragger=FU(wE,this,s,i,n);const r=yw(e,"drag-start",o,t,i);this.dispatch("drag-start",e,r)}dispatch(e,t,i){switch(e){case"drag-start":this.dragStartListeners?.forEach(o=>o(i,t));break;case"drag-move":this.dragMoveListeners?.forEach(o=>o(i,t));break;case"drag-end":this.dragEndListeners?.forEach(o=>o(i,t));break}this.dispatchCallback(e,i)}},GU=class{constructor(e){this.elem=e}setBounds(e){kC(this.elemContainer??this.elem,e)}getBounds(){return J3(this.elemContainer??this.elem)}static setElementContainer(e,t){const i=e.getBounds();kC(t,i),IU(e.elem,{width:"100%",height:"100%"}),e.elem.remove(),e.elemContainer=t,e.elemContainer.replaceChildren(e.elem)}},ma=class extends GU{constructor(e){super(e),this.elem=e,this.index=NaN,this.children=[]}getElement(){return this.elem}getBoundingClientRect(){return this.elem.getBoundingClientRect()}get clientWidth(){return this.elem.clientWidth}get clientHeight(){return this.elem.clientHeight}destroy(){this.parent?.removeChild(this),this.children.forEach(e=>{e.parent=void 0,e.destroy()}),this.children.length=0,this.destructor(),this.elem.remove(),this.elemContainer?.remove(),this.internalListener?.destroy(),this.htmlListener?.destroy(this)}setHidden(e){ur(this.elem,"display",e?"none":void 0)}isHidden(){return At()?.getComputedStyle?.(this.elem).display==="none"}setCursor(e){ur(this.elem,"cursor",e)}setTextContent(e){this.elem.textContent=e??null}setAriaDescribedBy(e){vt(this.elem,"aria-describedby",e)}setAriaHidden(e){vt(this.elem,"aria-hidden",e)}setAriaLabel(e){vt(this.elem,"aria-label",e)}setInnerHTML(e){this.elem.innerHTML=e}isDisabled(){return J0(this.elem,"aria-disabled",!1)}parseFloat(e){return e===""?0:parseFloat(e)}cssLeft(){return this.parseFloat(this.elem.style.left)}cssTop(){return this.parseFloat(this.elem.style.top)}cssWidth(){return this.parseFloat(this.elem.style.width)}cssHeight(){return this.parseFloat(this.elem.style.height)}focus(){this.elem.focus()}setPreventsDefault(e){vt(this.elem,"data-preventdefault",e)}setTabIndex(e){vt(this.elem,"tabindex",e)}addChild(e){this.addChildToDOM(e,this.getBefore(e)),this.children.push(e),e.index=this.children.length-1,e.parent=this,this.onChildAdded(e)}removeChild(e){const t=this.children.findIndex(i=>i===e);this.children.splice(t,1),this.removeChildFromDOM(e),this.onChildRemoved(e)}moveChild(e,t){e.domIndex!==t&&(e.domIndex=t,this.removeChildFromDOM(e),this.addChildToDOM(e,this.getBefore(e)))}addClass(...e){this.elem.classList.add(...e)}removeClass(...e){this.elem.classList.remove(...e)}toggleClass(e,t){this.elem.classList.toggle(e,t)}appendOrInsert(e,t){t?t.getElement().insertAdjacentElement("beforebegin",e):this.elem.appendChild(e)}addChildToDOM(e,t){this.appendOrInsert(e.getElement(),t)}removeChildFromDOM(e){this.elem.removeChild(e.getElement())}onChildAdded(e){}onChildRemoved(e){}getBefore({domIndex:e}){if(e!==void 0)return this.children.filter(t=>t.domIndex!==void 0&&t.domIndex>e).reduce((t,i)=>!t||i.domIndex<t.domIndex?i:t,void 0)}addListener(e,t){return il.isHTMLEvent(e)?(this.htmlListener??(this.htmlListener=new RU),this.htmlListener.add(e,this,t)):(this.internalListener??(this.internalListener=new ME(this.onDispatch.bind(this))),this.internalListener.add(e,this,t)),()=>this.removeListener(e,t)}removeListener(e,t){il.isHTMLEvent(e)?this.htmlListener?.remove(e,this,t):this.htmlListener!=null&&this.internalListener?.remove(e,this,t)}setDragTouchEnabled(e){this.internalListener??(this.internalListener=new ME(this.onDispatch.bind(this))),this.internalListener.dragTouchEnabled=e}onDispatch(e,t){if(!t.sourceEvent.bubbles)return;let{parent:i}=this;for(;i!=null;){const{internalListener:o}=i;if(o!=null){const s={...t,...il.calcCurrentXY(i.getElement(),t)};o.dispatch(e,i,s)}i=i.parent}}static addWindowEvent(e,t){const i=o=>{o.persisted||t()};return At().addEventListener("pagehide",i),()=>At().removeEventListener("pagehide",i)}},Vk=(e=>(e[e.Caption=0]="Caption",e[e.Legend=1]="Legend",e[e.ToolbarLeft=2]="ToolbarLeft",e[e.ToolbarBottom=3]="ToolbarBottom",e[e.Navigator=4]="Navigator",e[e.Overlay=5]="Overlay",e))(Vk||{}),l5=class{constructor(){this.events=new ok,this.elements=new Map}addListener(e,t){return this.events.on(e,t)}registerElement(e,t){return this.elements.has(e)?this.elements.get(e).add(t):this.elements.set(e,new Set([t])),()=>this.elements.get(e)?.delete(t)}createContext(e,t){const i=new zU(e,t);for(const o of Object.values(Vk))typeof o=="number"&&this.elements.get(o)?.forEach(s=>s(i));return i}emitLayoutComplete(e,t){const i="layout:complete",{width:o,height:s}=e;this.events.emit(i,{type:i,axes:t.axes??[],chart:{width:o,height:s},clipSeries:t.clipSeries??!1,series:t.series})}},zU=class{constructor(e,t){this.width=e,this.height=t,this.layoutBox=new ke(0,0,e,t)}},eS=class{constructor(){this.title=new St,this.subtitle=new St,this.footnote=new St}positionCaptions(e){const{title:t,subtitle:i,footnote:o}=this,s=e.layoutBox.height/10;if(t.enabled){const{spacing:n=i.enabled?St.SMALL_PADDING:St.LARGE_PADDING}=t;this.positionCaption("top",t,e.layoutBox,s),this.shrinkLayoutByCaption("top",t,e.layoutBox,n)}i.enabled&&(this.positionCaption("top",i,e.layoutBox,s),this.shrinkLayoutByCaption("top",i,e.layoutBox,i.spacing)),o.enabled&&(this.positionCaption("bottom",o,e.layoutBox,s),this.shrinkLayoutByCaption("bottom",o,e.layoutBox,o.spacing))}positionAbsoluteCaptions(e){const{title:t,subtitle:i,footnote:o}=this,{rect:s}=e.series;for(const n of[t,i,o])if(n.layoutStyle==="overlay"){if(n.textAlign==="left")n.node.x=s.x+n.padding;else if(n.textAlign==="right"){const r=n.node.getBBox();n.node.x=s.x+s.width-r.width-n.padding}}}computeX(e,t){return e==="left"?t.x:e==="right"?t.x+t.width:t.x+t.width/2}positionCaption(e,t,i,o){const s=Math.max(zt.getLineHeight(t.fontSize),o);t.node.x=this.computeX(t.textAlign,i)+t.padding,t.node.y=i.y+(e==="top"?0:i.height)+t.padding,t.node.textBaseline=e,t.computeTextWrap(i.width,s)}shrinkLayoutByCaption(e,t,i,o=0){if(t.layoutStyle==="block"){const s=t.node.getBBox();i.shrink(Math.ceil(e==="top"?s.y-i.y+s.height+o:i.y+i.height-s.y+o),e)}}};I([T(Se)],eS.prototype,"title",2);I([T(Se)],eS.prototype,"subtitle",2);I([T(Se)],eS.prototype,"footnote",2);var _U=["candlestick","hollow-candlestick","ohlc","line","step-line","hlc","high-low"],VU=class{constructor(e){this.chartService=e,this.mementoOriginatorKey="chartType"}createMemento(){let e=this.chartService.publicApi?.getOptions()?.chartType;return e==null&&(e="candlestick"),e}guardMemento(e){return e==null||_U.includes(e)}restoreMemento(e,t,i){if(i==null)return;const o={chartType:i};this.chartService.publicApi?.updateDelta(o).catch(s=>fe.error("error restoring state",s))}},c5=class{constructor(){this.destroyFns=[]}destroy(){this.destroyFns.forEach(e=>e()),this.destroyFns.length=0}setFns(e){this.destroy(),this.destroyFns=e}push(...e){this.destroyFns.push(...e)}},IC="11.1.0",DE=Symbol("previous-memento-not-found"),HU=class{constructor(e){this.history=[],this.historyIndex=-1,this.originators=new Map,this.clearState=new Map,this.maxHistoryLength=100,this.debug=xt.create(!0,"history"),this.destroyFns=new c5,this.destroyFns.setFns([e.addListener("series-undo",this.undo.bind(this)),e.addListener("series-redo",this.redo.bind(this))])}destroy(){this.destroyFns.destroy()}addMementoOriginator(e){this.originators.set(e.mementoOriginatorKey,e),this.clearState.set(e.mementoOriginatorKey,e.createMemento()),this.debugEvent("History add originator:",e.mementoOriginatorKey)}clear(){this.debug("History clear:",Object.keys(this.originators)),this.history=[],this.historyIndex=-1;for(const[e,t]of this.originators.entries())this.clearState.set(e,t.createMemento())}record(e,...t){this.historyIndex<this.history.length-1&&(this.history=this.history.slice(0,this.historyIndex+1)),this.history.length>this.maxHistoryLength&&(this.history=this.history.slice(-this.maxHistoryLength));const i=new Map;for(const o of t){if(!this.originators.has(o.mementoOriginatorKey))throw new Error(`Originator [${o.mementoOriginatorKey}] has not been added to the HistoryManager.`);i.set(o.mementoOriginatorKey,o.createMemento())}this.history.push({label:e,mementos:i}),this.historyIndex=this.history.length-1,this.debugEvent(`History record: [${e}]`)}undo(){const e=this.history[this.historyIndex];if(e){for(const t of e.mementos.keys()){const i=this.findPreviousMemento(t);if(i===DE)throw new Error(`Could not find previous memento for [${t}].`);this.restoreMemento(t,i)}this.historyIndex-=1,this.debugEvent(`History undo: [${e.label}]`)}}redo(){const e=this.history[this.historyIndex+1];if(e){for(const[t,i]of e.mementos.entries())this.restoreMemento(t,i);this.historyIndex+=1,this.debugEvent(`History redo: [${e.label}]`)}}findPreviousMemento(e){for(let t=this.historyIndex-1;t>=0;t--)if(this.history[t].mementos.has(e))return this.history[t].mementos.get(e);return this.clearState.has(e)?this.clearState.get(e):DE}restoreMemento(e,t){this.originators.get(e)?.restoreMemento(IC,IC,t)}debugEvent(...e){this.debug(...e,this.history.map((t,i)=>i===this.historyIndex?`** ${t.label} **`:t.label))}},d5=class j1{constructor(t){this.version=t.split("-")[0]}save(...t){const i={version:this.version};for(const o of Object.values(t))i[o.mementoOriginatorKey]=this.encode(o,o.createMemento());return i}restore(t,...i){if(typeof t!="object"){fe.warnOnce(`Could not restore data of type [${typeof t}], expecting an object, ignoring.`);return}if(t==null){fe.warnOnce("Could not restore data of type [null], expecting an object, ignoring.");return}if(!("version"in t)||typeof t.version!="string"){fe.warnOnce("Could not restore data, missing [version] string in object, ignoring.");return}for(const o of i){const s=this.decode(o,t[o.mementoOriginatorKey]),n=[];if(!o.guardMemento(s,n)){const r=n.length>0?`
|
|
@@ -238,7 +238,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
238
238
|
overflow: hidden;
|
|
239
239
|
padding-right: `.concat(i("scrollbar.width"),`;
|
|
240
240
|
}
|
|
241
|
-
`)},fPe={},mPe={},rW={name:"base",css:gPe,style:ePe,classes:fPe,inlineStyles:mPe,load:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(n){return n},s=o(Eb(q4||(q4=Pb(["",""])),t));return ii(s)?rPe(Wf(s),k1({name:this.name},i)):{}},loadCSS:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,t)},loadStyle:function(){var t=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.load(this.style,i,function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Hs.transformCSS(i.name||t.name,"".concat(s).concat(Eb(Q4||(Q4=Pb(["",""])),o)))})},getCommonTheme:function(t){return Hs.getCommon(this.name,t)},getComponentTheme:function(t){return Hs.getComponent(this.name,t)},getDirectiveTheme:function(t){return Hs.getDirective(this.name,t)},getPresetTheme:function(t,i,o){return Hs.getCustomPreset(this.name,t,i,o)},getLayerOrderThemeCSS:function(){return Hs.getLayerOrderCSS(this.name)},getStyleSheet:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var o=Tc(this.css,{dt:fu})||"",s=Wf(Eb(J4||(J4=Pb(["","",""])),o,t)),n=Object.entries(i).reduce(function(r,a){var l=tB(a,2),c=l[0],d=l[1];return r.push("".concat(c,'="').concat(d,'"'))&&r},[]).join(" ");return ii(s)?'<style type="text/css" data-primevue-style-id="'.concat(this.name,'" ').concat(n,">").concat(s,"</style>"):""}return""},getCommonThemeStyleSheet:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Hs.getCommonStyleSheet(this.name,t,i)},getThemeStyleSheet:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[Hs.getStyleSheet(this.name,t,i)];if(this.style){var s=this.name==="base"?"global-style":"".concat(this.name,"-style"),n=Eb(eB||(eB=Pb(["",""])),Tc(this.style,{dt:fu})),r=Wf(Hs.transformCSS(s,n)),a=Object.entries(i).reduce(function(l,c){var d=tB(c,2),u=d[0],h=d[1];return l.push("".concat(u,'="').concat(h,'"'))&&l},[]).join(" ");ii(r)&&o.push('<style type="text/css" data-primevue-style-id="'.concat(s,'" ').concat(a,">").concat(r,"</style>"))}return o.join("")},extend:function(t){return k1(k1({},this),{},{css:void 0,style:void 0},t)}};rW.extend({name:"common"});var dC={exports:{}},yPe=dC.exports,sB;function vPe(){return sB||(sB=1,function(e,t){(function(i,o){e.exports=o()})(yPe,function(){var i=1e3,o=6e4,s=36e5,n="millisecond",r="second",a="minute",l="hour",c="day",d="week",u="month",h="quarter",p="year",g="date",f="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(O){var F=["th","st","nd","rd"],z=O%100;return"["+O+(F[(z-20)%10]||F[z]||F[0])+"]"}},S=function(O,F,z){var _=String(O);return!_||_.length>=F?O:""+Array(F+1-_.length).join(z)+O},x={s:S,z:function(O){var F=-O.utcOffset(),z=Math.abs(F),_=Math.floor(z/60),V=z%60;return(F<=0?"+":"-")+S(_,2,"0")+":"+S(V,2,"0")},m:function O(F,z){if(F.date()<z.date())return-O(z,F);var _=12*(z.year()-F.year())+(z.month()-F.month()),V=F.clone().add(_,u),G=z-V<0,H=F.clone().add(_+(G?-1:1),u);return+(-(_+(z-V)/(G?V-H:H-V))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:u,y:p,w:d,d:c,D:g,h:l,m:a,s:r,ms:n,Q:h}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},D="en",A={};A[D]=C;var k="$isDayjsObject",w=function(O){return O instanceof P||!(!O||!O[k])},M=function O(F,z,_){var V;if(!F)return D;if(typeof F=="string"){var G=F.toLowerCase();A[G]&&(V=G),z&&(A[G]=z,V=G);var H=F.split("-");if(!V&&H.length>1)return O(H[0])}else{var B=F.name;A[B]=F,V=B}return!_&&V&&(D=V),V||!_&&D},R=function(O,F){if(w(O))return O.clone();var z=typeof F=="object"?F:{};return z.date=O,z.args=arguments,new P(z)},L=x;L.l=M,L.i=w,L.w=function(O,F){return R(O,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var P=function(){function O(z){this.$L=M(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[k]=!0}var F=O.prototype;return F.parse=function(z){this.$d=function(_){var V=_.date,G=_.utc;if(V===null)return new Date(NaN);if(L.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var H=V.match(v);if(H){var B=H[2]-1||0,W=(H[7]||"0").substring(0,3);return G?new Date(Date.UTC(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,W)):new Date(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,W)}}return new Date(V)}(z),this.init()},F.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},F.$utils=function(){return L},F.isValid=function(){return this.$d.toString()!==f},F.isSame=function(z,_){var V=R(z);return this.startOf(_)<=V&&V<=this.endOf(_)},F.isAfter=function(z,_){return R(z)<this.startOf(_)},F.isBefore=function(z,_){return this.endOf(_)<R(z)},F.$g=function(z,_,V){return L.u(z)?this[_]:this.set(V,z)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(z,_){var V=this,G=!!L.u(_)||_,H=L.p(z),B=function(Z,ie){var X=L.w(V.$u?Date.UTC(V.$y,ie,Z):new Date(V.$y,ie,Z),V);return G?X:X.endOf(c)},W=function(Z,ie){return L.w(V.toDate()[Z].apply(V.toDate("s"),(G?[0,0,0,0]:[23,59,59,999]).slice(ie)),V)},j=this.$W,U=this.$M,ee=this.$D,q="set"+(this.$u?"UTC":"");switch(H){case p:return G?B(1,0):B(31,11);case u:return G?B(1,U):B(0,U+1);case d:var te=this.$locale().weekStart||0,se=(j<te?j+7:j)-te;return B(G?ee-se:ee+(6-se),U);case c:case g:return W(q+"Hours",0);case l:return W(q+"Minutes",1);case a:return W(q+"Seconds",2);case r:return W(q+"Milliseconds",3);default:return this.clone()}},F.endOf=function(z){return this.startOf(z,!1)},F.$set=function(z,_){var V,G=L.p(z),H="set"+(this.$u?"UTC":""),B=(V={},V[c]=H+"Date",V[g]=H+"Date",V[u]=H+"Month",V[p]=H+"FullYear",V[l]=H+"Hours",V[a]=H+"Minutes",V[r]=H+"Seconds",V[n]=H+"Milliseconds",V)[G],W=G===c?this.$D+(_-this.$W):_;if(G===u||G===p){var j=this.clone().set(g,1);j.$d[B](W),j.init(),this.$d=j.set(g,Math.min(this.$D,j.daysInMonth())).$d}else B&&this.$d[B](W);return this.init(),this},F.set=function(z,_){return this.clone().$set(z,_)},F.get=function(z){return this[L.p(z)]()},F.add=function(z,_){var V,G=this;z=Number(z);var H=L.p(_),B=function(U){var ee=R(G);return L.w(ee.date(ee.date()+Math.round(U*z)),G)};if(H===u)return this.set(u,this.$M+z);if(H===p)return this.set(p,this.$y+z);if(H===c)return B(1);if(H===d)return B(7);var W=(V={},V[a]=o,V[l]=s,V[r]=i,V)[H]||1,j=this.$d.getTime()+z*W;return L.w(j,this)},F.subtract=function(z,_){return this.add(-1*z,_)},F.format=function(z){var _=this,V=this.$locale();if(!this.isValid())return V.invalidDate||f;var G=z||"YYYY-MM-DDTHH:mm:ssZ",H=L.z(this),B=this.$H,W=this.$m,j=this.$M,U=V.weekdays,ee=V.months,q=V.meridiem,te=function(ie,X,ne,re){return ie&&(ie[X]||ie(_,G))||ne[X].slice(0,re)},se=function(ie){return L.s(B%12||12,ie,"0")},Z=q||function(ie,X,ne){var re=ie<12?"AM":"PM";return ne?re.toLowerCase():re};return G.replace(y,function(ie,X){return X||function(ne){switch(ne){case"YY":return String(_.$y).slice(-2);case"YYYY":return L.s(_.$y,4,"0");case"M":return j+1;case"MM":return L.s(j+1,2,"0");case"MMM":return te(V.monthsShort,j,ee,3);case"MMMM":return te(ee,j);case"D":return _.$D;case"DD":return L.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return te(V.weekdaysMin,_.$W,U,2);case"ddd":return te(V.weekdaysShort,_.$W,U,3);case"dddd":return U[_.$W];case"H":return String(B);case"HH":return L.s(B,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return Z(B,W,!0);case"A":return Z(B,W,!1);case"m":return String(W);case"mm":return L.s(W,2,"0");case"s":return String(_.$s);case"ss":return L.s(_.$s,2,"0");case"SSS":return L.s(_.$ms,3,"0");case"Z":return H}return null}(ie)||H.replace(":","")})},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(z,_,V){var G,H=this,B=L.p(_),W=R(z),j=(W.utcOffset()-this.utcOffset())*o,U=this-W,ee=function(){return L.m(H,W)};switch(B){case p:G=ee()/12;break;case u:G=ee();break;case h:G=ee()/3;break;case d:G=(U-j)/6048e5;break;case c:G=(U-j)/864e5;break;case l:G=U/s;break;case a:G=U/o;break;case r:G=U/i;break;default:G=U}return V?G:L.a(G)},F.daysInMonth=function(){return this.endOf(u).$D},F.$locale=function(){return A[this.$L]},F.locale=function(z,_){if(!z)return this.$L;var V=this.clone(),G=M(z,_,!0);return G&&(V.$L=G),V},F.clone=function(){return L.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},O}(),N=P.prototype;return R.prototype=N,[["$ms",n],["$s",r],["$m",a],["$H",l],["$W",c],["$M",u],["$y",p],["$D",g]].forEach(function(O){N[O[1]]=function(F){return this.$g(F,O[0],O[1])}}),R.extend=function(O,F){return O.$i||(O(F,P,R),O.$i=!0),R},R.locale=M,R.isDayjs=w,R.unix=function(O){return R(1e3*O)},R.en=A[D],R.Ls=A,R.p={},R})}(dC)),dC.exports}var bPe=vPe();const zL=ev(bPe);var uC={exports:{}},CPe=uC.exports,nB;function SPe(){return nB||(nB=1,function(e,t){(function(i,o){e.exports=o()})(CPe,function(){var i="minute",o=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(n,r,a){var l=r.prototype;a.utc=function(f){var v={date:f,utc:!0,args:arguments};return new r(v)},l.utc=function(f){var v=a(this.toDate(),{locale:this.$L,utc:!0});return f?v.add(this.utcOffset(),i):v},l.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(f){f.utc&&(this.$u=!0),this.$utils().u(f.$offset)||(this.$offset=f.$offset),c.call(this,f)};var d=l.init;l.init=function(){if(this.$u){var f=this.$d;this.$y=f.getUTCFullYear(),this.$M=f.getUTCMonth(),this.$D=f.getUTCDate(),this.$W=f.getUTCDay(),this.$H=f.getUTCHours(),this.$m=f.getUTCMinutes(),this.$s=f.getUTCSeconds(),this.$ms=f.getUTCMilliseconds()}else d.call(this)};var u=l.utcOffset;l.utcOffset=function(f,v){var y=this.$utils().u;if(y(f))return this.$u?0:y(this.$offset)?u.call(this):this.$offset;if(typeof f=="string"&&(f=function(D){D===void 0&&(D="");var A=D.match(o);if(!A)return null;var k=(""+A[0]).match(s)||["-",0,0],w=k[0],M=60*+k[1]+ +k[2];return M===0?0:w==="+"?M:-M}(f),f===null))return this;var C=Math.abs(f)<=16?60*f:f,S=this;if(v)return S.$offset=C,S.$u=f===0,S;if(f!==0){var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(S=this.local().add(C+x,i)).$offset=C,S.$x.$localOffset=x}else S=this.utc();return S};var h=l.format;l.format=function(f){var v=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,v)},l.valueOf=function(){var f=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*f},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var p=l.toDate;l.toDate=function(f){return f==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var g=l.diff;l.diff=function(f,v,y){if(f&&this.$u===f.$u)return g.call(this,f,v,y);var C=this.local(),S=a(f).local();return g.call(C,S,v,y)}}})}(uC)),uC.exports}var xPe=SPe();const wPe=ev(xPe);var hC={exports:{}},MPe=hC.exports,rB;function DPe(){return rB||(rB=1,function(e,t){(function(i,o){e.exports=o()})(MPe,function(){var i={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(s,n,r){var a,l=function(h,p,g){g===void 0&&(g={});var f=new Date(h),v=function(y,C){C===void 0&&(C={});var S=C.timeZoneName||"short",x=y+"|"+S,D=o[x];return D||(D=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:S}),o[x]=D),D}(p,g);return v.formatToParts(f)},c=function(h,p){for(var g=l(h,p),f=[],v=0;v<g.length;v+=1){var y=g[v],C=y.type,S=y.value,x=i[C];x>=0&&(f[x]=parseInt(S,10))}var D=f[3],A=D===24?0:D,k=f[0]+"-"+f[1]+"-"+f[2]+" "+A+":"+f[4]+":"+f[5]+":000",w=+h;return(r.utc(k).valueOf()-(w-=w%1e3))/6e4},d=n.prototype;d.tz=function(h,p){h===void 0&&(h=a);var g,f=this.utcOffset(),v=this.toDate(),y=v.toLocaleString("en-US",{timeZone:h}),C=Math.round((v-new Date(y))/1e3/60),S=15*-Math.round(v.getTimezoneOffset()/15)-C;if(!Number(S))g=this.utcOffset(0,p);else if(g=r(y,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(S,!0),p){var x=g.utcOffset();g=g.add(f-x,"minute")}return g.$x.$timezone=h,g},d.offsetName=function(h){var p=this.$x.$timezone||r.tz.guess(),g=l(this.valueOf(),p,{timeZoneName:h}).find(function(f){return f.type.toLowerCase()==="timezonename"});return g&&g.value};var u=d.startOf;d.startOf=function(h,p){if(!this.$x||!this.$x.$timezone)return u.call(this,h,p);var g=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(g,h,p).tz(this.$x.$timezone,!0)},r.tz=function(h,p,g){var f=g&&p,v=g||p||a,y=c(+r(),v);if(typeof h!="string")return r(h).tz(v);var C=function(A,k,w){var M=A-60*k*1e3,R=c(M,w);if(k===R)return[M,k];var L=c(M-=60*(R-k)*1e3,w);return R===L?[M,R]:[A-60*Math.min(R,L)*1e3,Math.max(R,L)]}(r.utc(h,f).valueOf(),y,v),S=C[0],x=C[1],D=r(S).utcOffset(x);return D.$x.$timezone=v,D},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(h){a=h}}})}(hC)),hC.exports}var kPe=DPe();const IPe=ev(kPe);var pC={exports:{}},APe=pC.exports,aB;function RPe(){return aB||(aB=1,function(e,t){(function(i,o){e.exports=o()})(APe,function(){return function(i,o){var s=o.prototype,n=s.format;s.format=function(r){var a=this,l=this.$locale();if(!this.isValid())return n.bind(this)(r);var c=this.$utils(),d=(r||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(u){switch(u){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return l.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return l.ordinal(a.week(),"W");case"w":case"ww":return c.s(a.week(),u==="w"?1:2,"0");case"W":case"WW":return c.s(a.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return c.s(String(a.$H===0?24:a.$H),u==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return u}});return n.bind(this)(d)}}})}(pC)),pC.exports}var TPe=RPe();const LPe=ev(TPe);zL.extend(LPe);zL.extend(wPe);zL.extend(IPe);const EPe=["data-position","aria-labelledby","data-style","data-static"],PPe=["id"],NPe={key:1},k0=m.defineComponent({__name:"PvTooltip",props:{variant:{default:"white"},tooltipPosition:{default:"top-right"},ariaLabelledBy:{default:"ariaLabelledById"},size:{default:"md"},interactive:{type:Boolean,default:!0}},setup(e){return(t,i)=>t.$slots["tooltip-content"]?(m.openBlock(),m.createElementBlock("div",{key:0,"data-testid":"pv-tooltip",class:m.normalizeClass(["pv-tooltip",{"pv-tooltip-small":t.size==="sm"}]),"data-position":t.tooltipPosition,"aria-labelledby":t.ariaLabelledBy,"data-style":t.variant==="white"?"white":"dark","data-static":t.interactive===!1?!0:void 0},[m.renderSlot(t.$slots,"label"),m.createElementVNode("div",{role:"tooltip",id:t.ariaLabelledBy,"data-testid":"pv-tooltip-content"},[m.renderSlot(t.$slots,"tooltip-content")],8,PPe)],10,EPe)):(m.openBlock(),m.createElementBlock("div",NPe,[m.renderSlot(t.$slots,"label")]))}}),OPe={"data-testid":"pv-select-menu-control-panel",class:"pv-flex pv-space-between",style:{"padding-top":"12px"}},FPe=m.defineComponent({__name:"PvMenuControlPanel",props:{disabled:{type:Boolean}},emits:["handle-select-all","handle-clear-all"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("div",OPe,[m.createVNode(es,{variant:"ghost","data-testid":"pv-select-menu-item-select-all",onClick:i[0]||(i[0]=o=>t.$emit("handle-select-all")),label:"Select All",disabled:t.disabled},null,8,["disabled"]),m.createVNode(es,{label:"Clear All",variant:"ghost","data-testid":"pv-select-menu-item-clear-all",onClick:i[1]||(i[1]=o=>t.$emit("handle-clear-all")),disabled:t.disabled},null,8,["disabled"])]))}}),aW=m.defineComponent({__name:"PvMenu",props:{teleportLocation:{},open:{type:Boolean},popoverPositionStyle:{},cssCustomListProperties:{},useTeleport:{type:Boolean,default:!1}},setup(e,{expose:t}){const i=m.ref(null);return t({popoverRef:i}),(o,s)=>(m.openBlock(),m.createBlock(m.Teleport,{to:o.teleportLocation,disabled:!o.useTeleport},[m.createVNode(K7,{ref_key:"popoverRef",ref:i,class:m.normalizeClass({"pv-hide":!o.open}),"css-custom-list-properties":o.cssCustomListProperties,"css-custom-properties":{width:"auto",maxWidth:"260px",...o.popoverPositionStyle},isList:!0},{default:m.withCtx(()=>[m.renderSlot(o.$slots,"default")]),_:3},8,["class","css-custom-list-properties","css-custom-properties"])],8,["to","disabled"]))}}),BPe=["disabled"],GPe={key:0,"data-testid":"pv-select-prefix-label",class:"pv-border-right",style:{color:"#89989b","padding-right":"4px"}},zPe={key:4},lW=m.defineComponent({__name:"PvSelectButtonTrigger",props:{variant:{default:"secondary"},size:{default:"lg"},disabled:{type:Boolean},counterPosition:{},counterValue:{},prefixLabel:{},label:{},icon:{},companyLogo:{},showClear:{type:Boolean},showDropdown:{type:Boolean,default:!0},open:{type:Boolean},isLoading:{type:Boolean}},emits:["handle-toggle-dropdown","handle-clear"],setup(e,{expose:t}){const i={xl:"large",lg:void 0},o=m.ref(null);return t({triggerRef:o}),(s,n)=>(m.openBlock(),m.createElementBlock("button",{ref_key:"triggerRef",ref:o,"data-testid":"pv-multi-select-button-trigger",class:m.normalizeClass(["pv-flex","pv-space-between",{[`pv-button-${s.variant}`]:!0,[`pv-button-${i[s.size]}`]:!!s.size}]),style:{"--flex-gap":"0.25rem"},disabled:s.disabled||s.isLoading,onClick:n[1]||(n[1]=r=>s.$emit("handle-toggle-dropdown"))},[s.prefixLabel?(m.openBlock(),m.createElementBlock("p",GPe,m.toDisplayString(s.prefixLabel),1)):m.createCommentVNode("",!0),s.counterPosition==="left"?(m.openBlock(),m.createBlock(w0,{key:1,"data-testid":"pv-multi-select-left-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):m.createCommentVNode("",!0),s.icon?(m.openBlock(),m.createBlock(Wi,{key:2,"data-testid":"pv-multi-select-button-icon",name:s.icon},null,8,["name"])):m.createCommentVNode("",!0),s.companyLogo?(m.openBlock(),m.createBlock(Z7,{key:3,name:s.companyLogo,size:"sm"},null,8,["name"])):m.createCommentVNode("",!0),s.isLoading||s.label?(m.openBlock(),m.createElementBlock("span",zPe,m.toDisplayString(s.isLoading?"Loading...":s.label),1)):m.createCommentVNode("",!0),s.counterPosition==="right"?(m.openBlock(),m.createBlock(w0,{key:5,"data-testid":"pv-multi-select-right-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):m.createCommentVNode("",!0),s.showDropdown?(m.openBlock(),m.createBlock(Wi,{key:6,name:s.open?"chevron-up":"chevron-down"},null,8,["name"])):m.createCommentVNode("",!0),s.showClear?(m.openBlock(),m.createBlock(k0,{key:7,size:"sm",variant:"dark","tooltip-position":"top-left"},{label:m.withCtx(()=>[m.createVNode(Wi,{name:"close",onClick:n[0]||(n[0]=m.withModifiers(r=>s.$emit("handle-clear"),["stop"]))})]),"tooltip-content":m.withCtx(()=>n[2]||(n[2]=[m.createTextVNode(" Clear Selections ")])),_:1})):m.createCommentVNode("",!0)],10,BPe))}}),_Pe={},VPe={class:"pv-text-subdued pv-text-center pv-text-body-md"};function HPe(e,t){return m.openBlock(),m.createElementBlock("div",VPe,"No Results Found")}const cW=Ea(_Pe,[["render",HPe]]),WPe=["src"],jPe=m.defineComponent({__name:"PvAvatar",props:{size:{default:"lg"},image:{},initials:{}},setup(e){const t={sm:"pv-avatar-16",md:"pv-avatar-20",lg:"pv-avatar-xs",xl:"pv-avatar-sm","2x":"pv-avatar-md"};return(i,o)=>(m.openBlock(),m.createElementBlock("div",{class:m.normalizeClass(t[i.size]),"data-testid":"pv-avatar"},[i.initials?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createTextVNode(m.toDisplayString(i.initials),1)],64)):i.image?(m.openBlock(),m.createElementBlock("img",{key:1,src:i.image},null,8,WPe)):m.createCommentVNode("",!0)],2))}}),$Pe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},UPe=["title"],KPe=["title"],YPe={key:3,class:"pv-text-subdued pv-text-body-md"},Lc=m.defineComponent({__name:"PvMenuItem",props:{id:{},text:{},subText:{},secondaryText:{},icon:{},companyName:{},avatar:{},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("a",{class:m.normalizeClass(["pv-flex",t.classList]),"data-testid":"pv-menu-item",style:{cursor:"pointer"},role:"button",onClick:i[0]||(i[0]=o=>t.$emit("handle-selected"))},[t.renderer?(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t.renderer),m.normalizeProps(m.mergeProps({key:0},t.$props)),null,16)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[t.avatar?(m.openBlock(),m.createBlock(jPe,{key:0,initials:t.avatar.initials,image:t.avatar.image,size:"lg"},null,8,["initials","image"])):m.createCommentVNode("",!0),t.icon?(m.openBlock(),m.createBlock(Wi,{key:1,name:t.icon},null,8,["name"])):m.createCommentVNode("",!0),t.companyName?(m.openBlock(),m.createBlock(Z7,{key:2,name:t.companyName,size:"sm"},null,8,["name"])):m.createCommentVNode("",!0),m.createElementVNode("div",$Pe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,UPe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,KPe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",YPe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)],64))],2))}}),XPe=["checked","disabled"],ZPe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},qPe=["title"],QPe=["title"],JPe={key:0,class:"pv-text-subdued pv-text-body-md"},eNe=m.defineComponent({__name:"PvMenuCheckboxItem",props:{id:{},text:{},subText:{},secondaryText:{},value:{type:Boolean},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("label",{class:m.normalizeClass(["pv-label pv-label-hover pv-flex",t.classList]),"data-testid":"pv-menu-checkbox-item",style:{cursor:"pointer"}},[m.createElementVNode("input",{type:"checkbox",name:"checkbox",checked:t.value,class:"pv-checkbox",onChange:i[0]||(i[0]=o=>t.$emit("handle-selected")),disabled:t.disabled},null,40,XPe),t.renderer?(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t.renderer),m.normalizeProps(m.mergeProps({key:0},t.$props)),null,16)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[m.createElementVNode("div",ZPe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,qPe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,QPe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",JPe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)],64))],2))}}),lB=m.defineComponent({__name:"PvMultiSelectMenuItem",props:{optionsVariant:{default:"checkbox"},selected:{type:Boolean},option:{}},emits:["handle-select-item"],setup(e){const t={simple:Lc,icon:Lc,company:Lc,checkbox:eNe,avatar:Lc};return(i,o)=>(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t[i.optionsVariant]),{id:i.option.id,value:i.selected,"secondary-text":i.option.secondaryText,icon:i.optionsVariant==="icon"?i.option.icon:void 0,avatar:i.optionsVariant==="avatar"?i.option.avatar:void 0,companyName:i.optionsVariant==="company"?i.option.companyName?i.option.companyName:i.option.text:void 0,text:i.option.text,subText:i.option.subText,disabled:i.option.disabled,renderer:i.option.renderer,rendererProps:i.option.rendererProps,classList:i.option.classList,onHandleSelected:o[0]||(o[0]=()=>i.$emit("handle-select-item",i.option))},null,40,["id","value","secondary-text","icon","avatar","companyName","text","subText","disabled","renderer","rendererProps","classList"]))}}),tNe=m.defineComponent({__name:"PvSpinner",props:{variant:{default:"primary"},size:{default:"lg"}},setup(e){const t={xs:"0.75rem",sm:"1rem",md:"1.25rem",lg:"1.5rem",xl:"2rem"},i={primary:"pv-spinner",dark:"pv-spinner-dark",white:"pv-spinner-light"};return(o,s)=>(m.openBlock(),m.createElementBlock("div",{"data-testid":"pv-spinner",class:m.normalizeClass(i[o.variant]),style:m.normalizeStyle({"--size":t[o.size]})},null,6))}}),dW=({alignment:e,useTeleport:t=!0,popoverCssProperties:i}={})=>{const o=m.ref(null),s=m.ref(null),n=m.ref(null),r=m.ref(null),a=m.computed(()=>!o.value||!s.value?0:e==="right"||e==="top right"?o.value.left+o.value.width-s.value.width:o.value.left),l=m.computed(()=>!o.value||!s.value?0:e==="top"||e==="top right"?o.value.top-s.value.height:o.value.top+window.scrollY+o.value.height),c=m.computed(()=>{if(!t)return i;const u={position:"absolute",left:`${a.value}px`,top:`${l.value}px`,zIndex:10};console.log("Popover position styles:",u),console.log("Popover CSS properties:",i);const h={...i,...u};return console.log("Combined styles:",h),h});return{triggerRef:n,popoverRef:r,triggerRect:o,popoverRect:s,popoverPositionStyle:c,updateRects:()=>{n.value&&(o.value=n.value.getBoundingClientRect()),r.value?.popoverRoot&&(s.value=r.value.popoverRoot.getBoundingClientRect())}}},iNe={class:"pv-relative",style:{width:"fit-content"}},oNe={key:1,class:"pv-text-body-sm",style:{color:"#89989b"}},sNe={role:"list"},nNe=["data-active"],rNe={key:2,class:"pv-border-top",style:{margin:"8px 0"}},aNe={key:1,role:"list"},lNe=["data-active"],cNe={key:2,class:"pv-flex pv-inset-block-8",style:{"justify-content":"center"}},dNe={class:"pv-sticky pv-surface pv-border-top",style:{"--flex-justify":"space-between","--bottom":"0","padding-top":"0.75rem","padding-bottom":"0.5rem"}},uNe=m.defineComponent({__name:"PvMultiSelectButton",props:m.mergeModels({groupings:{},defaultOpen:{type:Boolean},disabled:{type:Boolean},teleportLocation:{default:"body"},isLoading:{type:Boolean},variant:{default:"secondary"},size:{default:"lg"},alignment:{},popoverCssProperties:{},prefixLabel:{},label:{default:"Select"},icon:{},counterPosition:{default:"left"},companyLogo:{},showClear:{type:Boolean,default:!0},showDropdown:{type:Boolean,default:!0},showMenuAction:{type:Boolean,default:!0},showSearchInput:{type:Boolean,default:!0},overlayTrigger:{type:Boolean},optionsVariant:{default:"checkbox"},options:{default:()=>[]},useTeleport:{type:Boolean,default:!0}},{modelValue:{required:!1,default:()=>[]},modelModifiers:{},searchInput:{required:!1,default:""},searchInputModifiers:{}}),emits:m.mergeModels(["dropdown-open","dropdown-closed"],["update:modelValue","update:searchInput"]),setup(e,{emit:t}){const i=e,o=t,s={top:i.overlayTrigger?"0":"unset",...i.popoverCssProperties},{popoverPositionStyle:n,updateRects:r,triggerRef:a,popoverRef:l}=dW({alignment:i.alignment,popoverCssProperties:s,useTeleport:i.useTeleport}),c=m.useTemplateRef("select-menu-ref"),d=m.useTemplateRef("select-button-trigger-ref"),u=m.useTemplateRef("searchInputRef"),[h,p]=R7(i.defaultOpen),g=m.useModel(e,"modelValue"),f=m.useModel(e,"searchInput"),v=()=>{f.value="",h.value=!1};m.watch(h,w=>{w?m.nextTick(()=>{i.overlayTrigger&&i.showSearchInput&&u.value?.input?.focus(),r(),o("dropdown-open")}):o("dropdown-closed")}),m.onMounted(()=>{c.value?.popoverRef&&(l.value=c.value?.popoverRef),d.value?.triggerRef&&(a.value=d.value?.triggerRef)});const y=m.computed(()=>f.value===""?i.options:i.options.filter(w=>w.text.toLocaleLowerCase().includes(f.value.toLocaleLowerCase()))),C=w=>{const M=g.value,R=M.findIndex(P=>P.id===w.id);let L;R>-1?L=[...M.slice(0,R),...M.slice(R+1)]:L=[...M,{...w}],g.value=L},S=()=>{g.value=y.value.map(w=>({id:w.id,text:w.text}))},x=()=>{g.value=[]},D=m.computed(()=>{if(!i.groupings)return;const w=new Map;i.groupings.forEach(M=>{w.set(M,[])}),w.set("other",[]);for(const M of i.options){const R=M.groupingLabel,L=R&&w.has(R)?R:"other";w.get(L).push(M)}for(const[M,R]of w)R.length===0&&w.delete(M);return Array.from(w.entries())}),A=m.computed(()=>i.groupings&&f.value===""),k=w=>g.value.some(M=>M.id===w.id)?!0:null;return PL("Escape",()=>{h.value&&v()}),(w,M)=>m.withDirectives((m.openBlock(),m.createElementBlock("div",iNe,[m.createVNode(lW,{ref:"select-button-trigger-ref",variant:w.variant,size:w.size,disabled:w.disabled,counterPosition:w.counterPosition,prefixLabel:w.prefixLabel,label:w.label,icon:w.icon,companyLogo:w.companyLogo,showClear:w.showClear&&g.value.length>0,showDropdown:w.showDropdown&&g.value.length===0,open:m.unref(h),"counter-value":g.value.length,onHandleClear:x,onHandleToggleDropdown:M[0]||(M[0]=R=>m.unref(p)())},null,8,["variant","size","disabled","counterPosition","prefixLabel","label","icon","companyLogo","showClear","showDropdown","open","counter-value"]),m.createVNode(aW,{ref:"select-menu-ref",open:m.unref(h),teleportLocation:w.teleportLocation,"use-teleport":w.useTeleport,"css-custom-list-properties":w.showMenuAction?{"padding-bottom":0}:{},popoverPositionStyle:m.unref(n)},{default:m.withCtx(()=>[w.showSearchInput?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createVNode(q7,{ref:"searchInputRef","model-value":f.value,"onUpdate:modelValue":M[1]||(M[1]=R=>f.value=R),class:"pv-sticky pv-surface pv-stack-12",style:{"padding-top":"4px"}},null,8,["model-value"]),M[2]||(M[2]=m.createElementVNode("div",{class:"pv-border-top pv-stack-12"},null,-1))],64)):m.createCommentVNode("",!0),y.value.length>0?(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[A.value?(m.openBlock(!0),m.createElementBlock(m.Fragment,{key:0},m.renderList(D.value,([R,L],P)=>(m.openBlock(),m.createElementBlock("div",{key:R},[w.$slots[R]?m.renderSlot(w.$slots,R,{key:0}):R!=="other"?(m.openBlock(),m.createElementBlock("span",oNe,m.toDisplayString(R),1)):m.createCommentVNode("",!0),m.createElementVNode("ul",sNe,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(L,N=>m.withDirectives((m.openBlock(),m.createElementBlock("li",{key:N.id,"data-active":k(N),class:"pv-stack-4"},[m.createVNode(lB,{"data-testid":`pv-multiselect-${R}-item`,"options-variant":w.optionsVariant,selected:g.value.some(O=>O.id===N.id),option:N,onHandleSelectItem:C},null,8,["data-testid","options-variant","selected","option"])],8,nNe)),[[m.vShow,k(N)||!w.isLoading]])),128))]),D.value&&P!==D.value.length-1?(m.openBlock(),m.createElementBlock("div",rNe)):m.createCommentVNode("",!0)]))),128)):(m.openBlock(),m.createElementBlock("ul",aNe,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(y.value,R=>(m.openBlock(),m.createElementBlock("li",{key:R.id,"data-active":g.value.some(L=>L.id===R.id)?!0:null,class:"pv-stack-4"},[m.createVNode(lB,{"options-variant":w.optionsVariant,selected:g.value.some(L=>L.id===R.id),option:R,onHandleSelectItem:C},null,8,["options-variant","selected","option"])],8,lNe))),128))]))],64)):m.createCommentVNode("",!0),w.isLoading?(m.openBlock(),m.createElementBlock("div",cNe,[m.createVNode(tNe,{variant:"dark"})])):y.value.length===0?(m.openBlock(),m.createElementBlock(m.Fragment,{key:3},[w.$slots["no-results"]?m.renderSlot(w.$slots,"no-results",m.normalizeProps(m.mergeProps({key:0},w.$props))):(m.openBlock(),m.createBlock(cW,{key:1}))],64)):m.createCommentVNode("",!0),m.createElementVNode("div",dNe,[w.$slots.footer?m.renderSlot(w.$slots,"footer",m.normalizeProps(m.mergeProps({key:0},w.$props))):m.createCommentVNode("",!0),w.showMenuAction?(m.openBlock(),m.createBlock(FPe,{key:1,disabled:w.isLoading,onHandleClearAll:x,onHandleSelectAll:S},null,8,["disabled"])):m.createCommentVNode("",!0)])]),_:3},8,["open","teleportLocation","use-teleport","css-custom-list-properties","popoverPositionStyle"])])),[[m.unref(GL),[v,{ignore:[".pv-popover"]}]]])}}),hNe={"data-testid":"pv-menu-radio-item",class:"pv-label pv-label-hover pv-flex",style:{cursor:"pointer"}},pNe=["checked"],gNe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},fNe=["title"],mNe=["title"],yNe={key:0,class:"pv-text-subdued pv-text-body-md"},vNe=m.defineComponent({__name:"PvMenuRadioItem",props:{text:{},subText:{},secondaryText:{},value:{type:Boolean}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("label",hNe,[m.createElementVNode("input",{type:"radio",name:"radio",checked:t.value,class:"pv-radio",onChange:i[0]||(i[0]=o=>t.$emit("handle-selected"))},null,40,pNe),m.createElementVNode("div",gNe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,fNe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,mNe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",yNe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)]))}}),bNe={class:"pv-relative",style:{width:"fit-content"}},CNe=["data-active"],tk=m.defineComponent({__name:"PvSelectButton",props:m.mergeModels({defaultOpen:{type:Boolean},disabled:{type:Boolean},teleportLocation:{default:"body"},isLoading:{type:Boolean},variant:{default:"secondary"},size:{default:"lg"},alignment:{},popoverCssProperties:{},prefixLabel:{},label:{default:"Select an option"},showMenuAction:{type:Boolean},showSearchInput:{type:Boolean,default:!0},optionsVariant:{default:"simple"},options:{},useTeleport:{type:Boolean,default:!0},allowDeselect:{type:Boolean,default:!0}},{modelValue:{required:!1},modelModifiers:{},searchInput:{required:!1,default:""},searchInputModifiers:{}}),emits:m.mergeModels(["dropdown-open","dropdown-closed"],["update:modelValue","update:searchInput"]),setup(e,{emit:t}){const i=e,o=t,s={simple:Lc,icon:Lc,company:Lc,radio:vNe,avatar:Lc},{popoverPositionStyle:n,updateRects:r,triggerRef:a,popoverRef:l}=dW({alignment:i.alignment,popoverCssProperties:i.popoverCssProperties,useTeleport:i.useTeleport}),c=m.useTemplateRef("select-menu-ref"),d=m.useTemplateRef("select-button-trigger-ref"),[u,h]=R7(i.defaultOpen),p=m.useModel(e,"modelValue"),g=m.useModel(e,"searchInput");m.watch(u,A=>{A?m.nextTick(()=>{r(),o("dropdown-open")}):o("dropdown-closed")}),m.onMounted(()=>{c.value?.popoverRef&&(l.value=c.value?.popoverRef),d.value?.triggerRef&&(a.value=d.value?.triggerRef)});const f=m.computed(()=>p.value&&p.value.text?p.value.text:i.label),v=m.computed(()=>{if(p.value&&p.value.icon)return p.value.icon}),y=m.computed(()=>{if(p.value&&p.value.companyName)return p.value.companyName}),C=m.computed(()=>g.value===""?i.options:i.options.filter(A=>A.text.toLocaleLowerCase().includes(g.value.toLocaleLowerCase()))),S=A=>{if(i.optionsVariant==="radio"||!i.allowDeselect){p.value=A,D();return}p.value?.id===A.id?p.value=void 0:p.value=A,D()},x=()=>{p.value=void 0},D=()=>{u.value=!1,g.value=""};return PL("Escape",()=>{u.value&&D()}),(A,k)=>m.withDirectives((m.openBlock(),m.createElementBlock("div",bNe,[m.createVNode(lW,{class:"pv-full-width",ref:"select-button-trigger-ref",variant:A.variant,size:A.size,disabled:A.disabled,counterPosition:void 0,prefixLabel:A.prefixLabel,label:f.value,icon:v.value,companyLogo:y.value,showClear:!1,showDropdown:!0,open:m.unref(u),"counter-value":0,isLoading:A.isLoading,onHandleClear:x,onHandleToggleDropdown:k[0]||(k[0]=w=>m.unref(h)())},null,8,["variant","size","disabled","prefixLabel","label","icon","companyLogo","open","isLoading"]),m.createVNode(aW,{ref:"select-menu-ref",open:m.unref(u),teleportLocation:A.teleportLocation,"use-teleport":A.useTeleport,popoverPositionStyle:{...m.unref(n),...A.popoverCssProperties}},{default:m.withCtx(()=>[A.showSearchInput?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createVNode(q7,{"model-value":g.value,"onUpdate:modelValue":k[1]||(k[1]=w=>g.value=w),class:"pv-stack-12"},null,8,["model-value"]),k[2]||(k[2]=m.createElementVNode("div",{class:"pv-border-top pv-stack-12"},null,-1))],64)):m.createCommentVNode("",!0),C.value.length>0?(m.openBlock(!0),m.createElementBlock(m.Fragment,{key:1},m.renderList(C.value,w=>(m.openBlock(),m.createElementBlock("li",{key:w.id,"data-active":p.value?.id===w.id?!0:null},[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(s[A.optionsVariant]),{id:w.id,value:p.value?.id===w.id,"secondary-text":w.secondaryText,icon:A.optionsVariant==="icon"?w.icon:void 0,avatar:A.optionsVariant==="avatar"?w.avatar:void 0,companyName:A.optionsVariant==="company"?w.companyName?w.companyName:w.text:void 0,text:w.text,subText:w.subText,renderer:w.renderer,"renderer-props":w.rendererProps,classList:w.classList,onHandleSelected:()=>S(w)},null,40,["id","value","secondary-text","icon","avatar","companyName","text","subText","renderer","renderer-props","classList","onHandleSelected"]))],8,CNe))),128)):(m.openBlock(),m.createBlock(cW,{key:2}))]),_:1},8,["open","teleportLocation","use-teleport","popoverPositionStyle"])])),[[m.unref(GL),[D,{ignore:[".pv-popover"]}]]])}}),SNe=["for"],xNe=["disabled","type","placeholder","id","data-invalid"];Math.random().toString();rW.extend({name:"common"});var wNe={transitionDuration:"{transition.duration}"},MNe={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},DNe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},kNe={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},INe={root:wNe,panel:MNe,header:DNe,content:kNe},ANe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},RNe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},TNe={padding:"{list.padding}",gap:"{list.gap}"},LNe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},ENe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},PNe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},NNe={borderRadius:"{border.radius.sm}"},ONe={padding:"{list.option.padding}"},FNe={light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},BNe={root:ANe,overlay:RNe,list:TNe,option:LNe,optionGroup:ENe,dropdown:PNe,chip:NNe,emptyMessage:ONe,colorScheme:FNe},GNe={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},zNe={size:"1rem"},_Ne={borderColor:"{content.background}",offset:"-0.75rem"},VNe={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},HNe={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},WNe={root:GNe,icon:zNe,group:_Ne,lg:VNe,xl:HNe},jNe={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},$Ne={size:"0.5rem"},UNe={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},KNe={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},YNe={fontSize:"1rem",minWidth:"2rem",height:"2rem"},XNe={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},ZNe={root:jNe,dot:$Ne,sm:UNe,lg:KNe,xl:YNe,colorScheme:XNe},qNe={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},QNe={transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},JNe={primitive:qNe,semantic:QNe},eOe={borderRadius:"{content.border.radius}"},tOe={root:eOe},iOe={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},oOe={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},sOe={color:"{navigation.item.icon.color}"},nOe={root:iOe,item:oOe,separator:sOe},rOe={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},aOe={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},lOe={root:rOe,colorScheme:aOe},cOe={background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},dOe={padding:"1.25rem",gap:"0.5rem"},uOe={gap:"0.5rem"},hOe={fontSize:"1.25rem",fontWeight:"500"},pOe={color:"{text.muted.color}"},gOe={root:cOe,body:dOe,caption:uOe,title:hOe,subtitle:pOe},fOe={transitionDuration:"{transition.duration}"},mOe={gap:"0.25rem"},yOe={padding:"1rem",gap:"0.5rem"},vOe={width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},bOe={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},COe={root:fOe,content:mOe,indicatorList:yOe,indicator:vOe,colorScheme:bOe},SOe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},xOe={width:"2.5rem",color:"{form.field.icon.color}"},wOe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},MOe={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},DOe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},kOe={color:"{form.field.icon.color}"},IOe={root:SOe,dropdown:xOe,overlay:wOe,list:MOe,option:DOe,clearIcon:kOe},AOe={borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},ROe={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},TOe={root:AOe,icon:ROe},LOe={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},EOe={width:"2rem",height:"2rem"},POe={size:"1rem"},NOe={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},OOe={light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}},FOe={root:LOe,image:EOe,icon:POe,removeIcon:NOe,colorScheme:OOe},BOe={transitionDuration:"{transition.duration}"},GOe={width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},zOe={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},_Oe={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},VOe={root:BOe,preview:GOe,panel:zOe,colorScheme:_Oe},HOe={size:"2rem",color:"{overlay.modal.color}"},WOe={gap:"1rem"},jOe={icon:HOe,content:WOe},$Oe={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},UOe={padding:"{overlay.popover.padding}",gap:"1rem"},KOe={size:"1.5rem",color:"{overlay.popover.color}"},YOe={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},XOe={root:$Oe,content:UOe,icon:KOe,footer:YOe},ZOe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},qOe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},QOe={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},JOe={mobileIndent:"1rem"},eFe={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},tFe={borderColor:"{content.border.color}"},iFe={root:ZOe,list:qOe,item:QOe,submenu:JOe,submenuIcon:eFe,separator:tFe},oFe={transitionDuration:"{transition.duration}"},sFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},nFe={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},rFe={fontWeight:"600"},aFe={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},lFe={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},cFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},dFe={fontWeight:"600"},uFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},hFe={color:"{primary.color}"},pFe={width:"0.5rem"},gFe={width:"1px",color:"{primary.color}"},fFe={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},mFe={size:"2rem"},yFe={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},vFe={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},bFe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},CFe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},SFe={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},xFe={root:oFe,header:sFe,headerCell:nFe,columnTitle:rFe,row:aFe,bodyCell:lFe,footerCell:cFe,columnFooter:dFe,footer:uFe,dropPoint:hFe,columnResizer:pFe,resizeIndicator:gFe,sortIcon:fFe,loadingIcon:mFe,rowToggleButton:yFe,filter:vFe,paginatorTop:bFe,paginatorBottom:CFe,colorScheme:SFe},wFe={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},MFe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},DFe={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},kFe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},IFe={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},AFe={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},RFe={root:wFe,header:MFe,content:DFe,footer:kFe,paginatorTop:IFe,paginatorBottom:AFe},TFe={transitionDuration:"{transition.duration}"},LFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},EFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},PFe={gap:"0.5rem",fontWeight:"500"},NFe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},OFe={color:"{form.field.icon.color}"},FFe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},BFe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},GFe={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},zFe={margin:"0.5rem 0 0 0"},_Fe={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},VFe={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},HFe={margin:"0.5rem 0 0 0"},WFe={padding:"0.375rem",borderRadius:"{content.border.radius}"},jFe={margin:"0.5rem 0 0 0"},$Fe={padding:"0.375rem",borderRadius:"{content.border.radius}"},UFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},KFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},YFe={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},XFe={root:TFe,panel:LFe,header:EFe,title:PFe,dropdown:NFe,inputIcon:OFe,selectMonth:FFe,selectYear:BFe,group:GFe,dayView:zFe,weekDay:_Fe,date:VFe,monthView:HFe,month:WFe,yearView:jFe,year:$Fe,buttonbar:UFe,timePicker:KFe,colorScheme:YFe},ZFe={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},qFe={padding:"{overlay.modal.padding}",gap:"0.5rem"},QFe={fontSize:"1.25rem",fontWeight:"600"},JFe={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},e4e={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},t4e={root:ZFe,header:qFe,title:QFe,content:JFe,footer:e4e},i4e={borderColor:"{content.border.color}"},o4e={background:"{content.background}",color:"{text.color}"},s4e={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},n4e={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},r4e={root:i4e,content:o4e,horizontal:s4e,vertical:n4e},a4e={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},l4e={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},c4e={root:a4e,item:l4e},d4e={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},u4e={padding:"{overlay.modal.padding}"},h4e={fontSize:"1.5rem",fontWeight:"600"},p4e={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},g4e={padding:"{overlay.modal.padding}"},f4e={root:d4e,header:u4e,title:h4e,content:p4e,footer:g4e},m4e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},y4e={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},v4e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},b4e={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},C4e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},S4e={toolbar:m4e,toolbarItem:y4e,overlay:v4e,overlayOption:b4e,content:C4e},x4e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},w4e={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},M4e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},D4e={padding:"0"},k4e={root:x4e,legend:w4e,toggleIcon:M4e,content:D4e},I4e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},A4e={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},R4e={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},T4e={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},L4e={gap:"0.5rem"},E4e={height:"0.25rem"},P4e={gap:"0.5rem"},N4e={root:I4e,header:A4e,content:R4e,file:T4e,fileList:L4e,progressbar:E4e,basic:P4e},O4e={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},F4e={active:{top:"-1.25rem"}},B4e={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},G4e={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},z4e={root:O4e,over:F4e,in:B4e,on:G4e},_4e={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},V4e={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},H4e={size:"1.5rem"},W4e={background:"{content.background}",padding:"1rem 0.25rem"},j4e={size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},$4e={size:"1rem"},U4e={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},K4e={gap:"0.5rem",padding:"1rem"},Y4e={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},X4e={background:"rgba(0, 0, 0, 0.5)"},Z4e={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},q4e={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Q4e={size:"1.5rem"},J4e={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}},eBe={root:_4e,navButton:V4e,navIcon:H4e,thumbnailsContent:W4e,thumbnailNavButton:j4e,thumbnailNavButtonIcon:$4e,caption:U4e,indicatorList:K4e,indicatorButton:Y4e,insetIndicatorList:X4e,insetIndicatorButton:Z4e,closeButton:q4e,closeButtonIcon:Q4e,colorScheme:J4e},tBe={color:"{form.field.icon.color}"},iBe={icon:tBe},oBe={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},sBe={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},nBe={root:oBe,input:sBe},rBe={transitionDuration:"{transition.duration}"},aBe={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},lBe={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},cBe={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},dBe={root:rBe,preview:aBe,toolbar:lBe,action:cBe},uBe={size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},hBe={handle:uBe},pBe={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},gBe={fontWeight:"500"},fBe={size:"1rem"},mBe={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}},yBe={root:pBe,text:gBe,icon:fBe,colorScheme:mBe},vBe={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},bBe={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},CBe={root:vBe,display:bBe},SBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},xBe={borderRadius:"{border.radius.sm}"},wBe={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},MBe={root:SBe,chip:xBe,colorScheme:wBe},DBe={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"},kBe={addon:DBe},IBe={transitionDuration:"{transition.duration}"},ABe={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},RBe={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},TBe={root:IBe,button:ABe,colorScheme:RBe},LBe={gap:"0.5rem"},EBe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},PBe={root:LBe,input:EBe},NBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},OBe={root:NBe},FBe={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},BBe={background:"{primary.color}"},GBe={background:"{content.border.color}"},zBe={color:"{text.muted.color}"},_Be={root:FBe,value:BBe,range:GBe,text:zBe},VBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},HBe={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},WBe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},jBe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},$Be={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},UBe={padding:"{list.option.padding}"},KBe={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},YBe={root:VBe,list:HBe,option:WBe,optionGroup:jBe,checkmark:$Be,emptyMessage:UBe,colorScheme:KBe},XBe={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},ZBe={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},qBe={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},QBe={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},JBe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},e3e={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},t3e={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},i3e={borderColor:"{content.border.color}"},o3e={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},s3e={root:XBe,baseItem:ZBe,item:qBe,overlay:QBe,submenu:JBe,submenuLabel:e3e,submenuIcon:t3e,separator:i3e,mobileButton:o3e},n3e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},r3e={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},a3e={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},l3e={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},c3e={borderColor:"{content.border.color}"},d3e={root:n3e,list:r3e,item:a3e,submenuLabel:l3e,separator:c3e},u3e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},h3e={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},p3e={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},g3e={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},f3e={borderColor:"{content.border.color}"},m3e={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},y3e={root:u3e,baseItem:h3e,item:p3e,submenu:g3e,separator:f3e,mobileButton:m3e},v3e={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},b3e={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},C3e={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},S3e={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},x3e={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},w3e={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},M3e={root:{borderWidth:"1px"}},D3e={content:{padding:"0"}},k3e={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}},I3e={root:v3e,content:b3e,text:C3e,icon:S3e,closeButton:x3e,closeIcon:w3e,outlined:M3e,simple:D3e,colorScheme:k3e},A3e={borderRadius:"{content.border.radius}",gap:"1rem"},R3e={background:"{content.border.color}",size:"0.5rem"},T3e={gap:"0.5rem"},L3e={size:"0.5rem"},E3e={size:"1rem"},P3e={verticalGap:"0.5rem",horizontalGap:"1rem"},N3e={root:A3e,meters:R3e,label:T3e,labelMarker:L3e,labelIcon:E3e,labelList:P3e},O3e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},F3e={width:"2.5rem",color:"{form.field.icon.color}"},B3e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},G3e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},z3e={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},_3e={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},V3e={color:"{form.field.icon.color}"},H3e={borderRadius:"{border.radius.sm}"},W3e={padding:"{list.option.padding}"},j3e={root:O3e,dropdown:F3e,overlay:B3e,list:G3e,option:z3e,optionGroup:_3e,chip:H3e,clearIcon:V3e,emptyMessage:W3e},$3e={gap:"1.125rem"},U3e={gap:"0.5rem"},K3e={root:$3e,controls:U3e},Y3e={gutter:"0.75rem",transitionDuration:"{transition.duration}"},X3e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},Z3e={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},q3e={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},Q3e={root:Y3e,node:X3e,nodeToggleButton:Z3e,connector:q3e},J3e={outline:{width:"2px",color:"{content.background}"}},e5e={root:J3e},t5e={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},i5e={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},o5e={color:"{text.muted.color}"},s5e={maxWidth:"2.5rem"},n5e={root:t5e,navButton:i5e,currentPageReport:o5e,jumpToPageInput:s5e},r5e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},a5e={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},l5e={padding:"0.375rem 1.125rem"},c5e={fontWeight:"600"},d5e={padding:"0 1.125rem 1.125rem 1.125rem"},u5e={padding:"0 1.125rem 1.125rem 1.125rem"},h5e={root:r5e,header:a5e,toggleableHeader:l5e,title:c5e,content:d5e,footer:u5e},p5e={gap:"0.5rem",transitionDuration:"{transition.duration}"},g5e={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},f5e={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},m5e={indent:"1rem"},y5e={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},v5e={root:p5e,panel:g5e,item:f5e,submenu:m5e,submenuIcon:y5e},b5e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},C5e={color:"{form.field.icon.color}"},S5e={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},x5e={gap:"0.5rem"},w5e={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},M5e={meter:b5e,icon:C5e,overlay:S5e,content:x5e,colorScheme:w5e},D5e={gap:"1.125rem"},k5e={gap:"0.5rem"},I5e={root:D5e,controls:k5e},A5e={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},R5e={padding:"{overlay.popover.padding}"},T5e={root:A5e,content:R5e},L5e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},E5e={background:"{primary.color}"},P5e={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},N5e={root:L5e,value:E5e,label:P5e},O5e={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}},F5e={colorScheme:O5e},B5e={width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},G5e={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},z5e={root:B5e,icon:G5e},_5e={gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},V5e={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},H5e={root:_5e,icon:V5e},W5e={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},j5e={colorScheme:W5e},$5e={transitionDuration:"{transition.duration}"},U5e={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},K5e={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},Y5e={root:$5e,bar:U5e,colorScheme:K5e},X5e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Z5e={width:"2.5rem",color:"{form.field.icon.color}"},q5e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},Q5e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},J5e={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},eGe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},tGe={color:"{form.field.icon.color}"},iGe={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},oGe={padding:"{list.option.padding}"},sGe={root:X5e,dropdown:Z5e,overlay:q5e,list:Q5e,option:J5e,optionGroup:eGe,clearIcon:tGe,checkmark:iGe,emptyMessage:oGe},nGe={borderRadius:"{form.field.border.radius}"},rGe={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},aGe={root:nGe,colorScheme:rGe},lGe={borderRadius:"{content.border.radius}"},cGe={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}},dGe={root:lGe,colorScheme:cGe},uGe={transitionDuration:"{transition.duration}"},hGe={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},pGe={background:"{primary.color}"},gGe={width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},fGe={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},mGe={root:uGe,track:hGe,range:pGe,handle:gGe,colorScheme:fGe},yGe={gap:"0.5rem",transitionDuration:"{transition.duration}"},vGe={root:yGe},bGe={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},CGe={root:bGe},SGe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},xGe={background:"{content.border.color}"},wGe={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},MGe={root:SGe,gutter:xGe,handle:wGe},DGe={transitionDuration:"{transition.duration}"},kGe={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},IGe={padding:"0.5rem",gap:"1rem"},AGe={padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},RGe={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},TGe={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},LGe={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},EGe={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},PGe={root:DGe,separator:kGe,step:IGe,stepHeader:AGe,stepTitle:RGe,stepNumber:TGe,steppanels:LGe,steppanel:EGe},NGe={transitionDuration:"{transition.duration}"},OGe={background:"{content.border.color}"},FGe={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},BGe={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},GGe={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},zGe={root:NGe,separator:OGe,itemLink:FGe,itemLabel:BGe,itemNumber:GGe},_Ge={transitionDuration:"{transition.duration}"},VGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},HGe={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},WGe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},jGe={height:"1px",bottom:"-1px",background:"{primary.color}"},$Ge={root:_Ge,tablist:VGe,item:HGe,itemIcon:WGe,activeBar:jGe},UGe={transitionDuration:"{transition.duration}"},KGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},YGe={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},XGe={background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},ZGe={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},qGe={height:"1px",bottom:"-1px",background:"{primary.color}"},QGe={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},JGe={root:UGe,tablist:KGe,tab:YGe,tabpanel:XGe,navButton:ZGe,activeBar:qGe,colorScheme:QGe},eze={transitionDuration:"{transition.duration}"},tze={background:"{content.background}",borderColor:"{content.border.color}"},ize={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},oze={background:"{content.background}",color:"{content.color}"},sze={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},nze={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},rze={root:eze,tabList:tze,tab:ize,tabPanel:oze,navButton:sze,colorScheme:nze},aze={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},lze={size:"0.75rem"},cze={light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},dze={root:aze,icon:lze,colorScheme:cze},uze={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},hze={gap:"0.25rem"},pze={margin:"2px 0"},gze={root:uze,prompt:hze,commandResponse:pze},fze={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},mze={root:fze},yze={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},vze={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},bze={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},Cze={mobileIndent:"1rem"},Sze={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},xze={borderColor:"{content.border.color}"},wze={root:yze,list:vze,item:bze,submenu:Cze,submenuIcon:Sze,separator:xze},Mze={minHeight:"5rem"},Dze={eventContent:{padding:"1rem 0"}},kze={eventContent:{padding:"0 1rem"}},Ize={size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},Aze={color:"{content.border.color}",size:"2px"},Rze={event:Mze,horizontal:Dze,vertical:kze,eventMarker:Ize,eventConnector:Aze},Tze={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},Lze={size:"1.125rem"},Eze={padding:"{overlay.popover.padding}",gap:"0.5rem"},Pze={gap:"0.5rem"},Nze={fontWeight:"500",fontSize:"1rem"},Oze={fontWeight:"500",fontSize:"0.875rem"},Fze={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},Bze={size:"1rem"},Gze={light:{root:{blur:"1.5px"},info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{root:{blur:"10px"},info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}},zze={root:Tze,icon:Lze,content:Eze,text:Pze,summary:Nze,detail:Oze,closeButton:Fze,closeIcon:Bze,colorScheme:Gze},_ze={padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},Vze={disabledColor:"{form.field.disabled.color}"},Hze={padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},Wze={light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}},jze={root:_ze,icon:Vze,content:Hze,colorScheme:Wze},$ze={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},Uze={borderRadius:"50%",size:"1rem"},Kze={light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}},Yze={root:$ze,handle:Uze,colorScheme:Kze},Xze={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},Zze={root:Xze},qze={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},Qze={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},Jze={root:qze,colorScheme:Qze},e_e={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},t_e={padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},i_e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},o_e={borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},s_e={size:"2rem"},n_e={margin:"0 0 0.5rem 0"},r_e={root:e_e,node:t_e,nodeIcon:i_e,nodeToggleButton:o_e,loadingIcon:s_e,filter:n_e},a_e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},l_e={width:"2.5rem",color:"{form.field.icon.color}"},c_e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},d_e={padding:"{list.padding}"},u_e={padding:"{list.option.padding}"},h_e={borderRadius:"{border.radius.sm}"},p_e={color:"{form.field.icon.color}"},g_e={root:a_e,dropdown:l_e,overlay:c_e,tree:d_e,emptyMessage:u_e,chip:h_e,clearIcon:p_e},f_e={transitionDuration:"{transition.duration}"},m_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},y_e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},v_e={fontWeight:"600"},b_e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},C_e={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},S_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},x_e={fontWeight:"600"},w_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},M_e={width:"0.5rem"},D_e={width:"1px",color:"{primary.color}"},k_e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},I_e={size:"2rem"},A_e={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},R_e={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},T_e={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},L_e={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},E_e={root:f_e,header:m_e,headerCell:y_e,columnTitle:v_e,row:b_e,bodyCell:C_e,footerCell:S_e,columnFooter:x_e,footer:w_e,columnResizer:M_e,resizeIndicator:D_e,sortIcon:k_e,loadingIcon:I_e,nodeToggleButton:A_e,paginatorTop:R_e,paginatorBottom:T_e,colorScheme:L_e},P_e={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},N_e={loader:P_e},O_e=Object.defineProperty,F_e=Object.defineProperties,B_e=Object.getOwnPropertyDescriptors,cB=Object.getOwnPropertySymbols,G_e=Object.prototype.hasOwnProperty,z_e=Object.prototype.propertyIsEnumerable,dB=(e,t,i)=>t in e?O_e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,uB;uB=((e,t)=>{for(var i in t||(t={}))G_e.call(t,i)&&dB(e,i,t[i]);if(cB)for(var i of cB(t))z_e.call(t,i)&&dB(e,i,t[i]);return e})({},JNe),F_e(uB,B_e({components:{accordion:INe,autocomplete:BNe,avatar:WNe,badge:ZNe,blockui:tOe,breadcrumb:nOe,button:lOe,card:gOe,carousel:COe,cascadeselect:IOe,checkbox:TOe,chip:FOe,colorpicker:VOe,confirmdialog:jOe,confirmpopup:XOe,contextmenu:iFe,datatable:xFe,dataview:RFe,datepicker:XFe,dialog:t4e,divider:r4e,dock:c4e,drawer:f4e,editor:S4e,fieldset:k4e,fileupload:N4e,floatlabel:z4e,galleria:eBe,iconfield:iBe,iftalabel:nBe,image:dBe,imagecompare:hBe,inlinemessage:yBe,inplace:CBe,inputchips:MBe,inputgroup:kBe,inputnumber:TBe,inputotp:PBe,inputtext:OBe,knob:_Be,listbox:YBe,megamenu:s3e,menu:d3e,menubar:y3e,message:I3e,metergroup:N3e,multiselect:j3e,orderlist:K3e,organizationchart:Q3e,overlaybadge:e5e,paginator:n5e,panel:h5e,panelmenu:v5e,password:M5e,picklist:I5e,popover:T5e,progressbar:N5e,progressspinner:F5e,radiobutton:z5e,rating:H5e,ripple:j5e,scrollpanel:Y5e,select:sGe,selectbutton:aGe,skeleton:dGe,slider:mGe,speeddial:vGe,splitbutton:CGe,splitter:MGe,stepper:PGe,steps:zGe,tabmenu:$Ge,tabs:JGe,tabview:rze,tag:dze,terminal:gze,textarea:mze,tieredmenu:wze,timeline:Rze,toast:zze,togglebutton:jze,toggleswitch:Yze,toolbar:Zze,tooltip:Jze,tree:r_e,treeselect:g_e,treetable:E_e,virtualscroller:N_e}}));const uW=Symbol("focusDataKey"),ow=()=>{const{focuses:e,focusType:t}=m.inject(uW,{focuses:m.ref([]),focusType:m.ref(null)}),i=r=>r?e.value.includes(r):!1,o=r=>{e.value=e.value.filter(a=>a!==r),e.value.length===0&&(t.value=null)};return{focuses:e,focusType:t,clearAllFocuses:()=>{e.value=[],t.value=null},handleFocusUpdate:(r,a)=>{if(a){if(t.value&&r!==t.value){e.value=[a],t.value=r;return}e.value.includes(a)?o(a):(e.value=[a],t.value=r)}},isFocused:i,removeFocus:o}},__e={class:"pv-flex",style:{"--flex-wrap":"nowrap"}},V_e=["id"],H_e={key:1,style:{"padding-left":"16px"}},W_e=["checked","disabled","onChange"],j_e={class:"pv-text-body-md"},$_e={key:2},U_e={key:0,class:"pv-text-subdued pv-text-body-xxs"},K_e=m.defineComponent({__name:"GroupBySelector",props:{rowGroupLimit:{},enableFocusView:{type:Boolean}},setup(e){const t=m.inject("gridApi"),i=m.inject("availableRowGroupColumns"),o=m.inject("rowGroupColumnFields"),s=e;m.watch(o,()=>{},{deep:!0});const n=v=>o.value.includes(v||""),{clearAllFocuses:r,focusType:a}=ow(),l=(v,y)=>{y?t.value.addRowGroupColumns([v]):t.value.removeRowGroupColumns([v]),s.enableFocusView&&a.value&&a.value!==o.value[0]&&r()},c=m.computed(()=>({"pv-hide":i.value.length===0})),d=m.computed(()=>s.rowGroupLimit?o.value.length>=s.rowGroupLimit:!1),u=m.computed(()=>o.value.map(v=>i.value.find(y=>y.field===v)).filter(v=>v!==void 0)),h=m.computed(()=>i.value.filter(v=>!o.value.includes(v.field))),p=m.computed(()=>{const v={label:"",value:"divider"},y=u.value.map(S=>({label:S.headerName,value:S.field})),C=h.value.map(S=>({label:S.headerName,value:S.field}));return[...y,v,...C]}),g=v=>`group-by-list-item-${v}`,f=v=>{const y=v.findIndex(x=>x==="divider"),S=v.slice(0,y).slice(0,s.rowGroupLimit).map(x=>x.replace("group-by-list-item-",""));t.value.setRowGroupColumns(S)};return(v,y)=>(m.openBlock(),m.createBlock(s2e,{isList:!0,isSortable:!0,popoverCssProperties:{width:"auto"},alignment:"right",class:m.normalizeClass(c.value),onListOrderUpdated:f},{trigger:m.withCtx(()=>[m.createElementVNode("div",__e,[y[0]||(y[0]=m.createElementVNode("p",{class:"pv-truncate pv-text-body-md"},"Compare",-1)),m.unref(o).length>0?(m.openBlock(),m.createBlock(m.unref(w0),{key:0,value:m.unref(o).length,variant:"tertiary"},null,8,["value"])):m.createCommentVNode("",!0)])]),default:m.withCtx(()=>[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(p.value,(C,S)=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:C.value},[C.value!=="divider"?(m.openBlock(),m.createElementBlock("li",{key:0,id:g(C.value)},[m.createElementVNode("label",{class:m.normalizeClass(["pv-flex",{"pv-border-bottom":S+1===m.unref(o).length}])},[n(C.value)?(m.openBlock(),m.createBlock(Wi,{key:0,name:"reorder",class:"pv-text-subdued"})):(m.openBlock(),m.createElementBlock("span",H_e)),m.createElementVNode("input",{type:"checkbox",class:"pv-checkbox",checked:n(C.value),disabled:!n(C.value)&&d.value,onChange:x=>l(C.value,x.target.checked)},null,40,W_e),m.createElementVNode("span",j_e,m.toDisplayString(C.label),1),n(C.value)?(m.openBlock(),m.createElementBlock("sup",$_e,m.toDisplayString(S+1),1)):m.createCommentVNode("",!0)],2)],8,V_e)):m.createCommentVNode("",!0)],64))),128)),d.value?(m.openBlock(),m.createElementBlock("p",U_e," Supports "+m.toDisplayString(v.rowGroupLimit)+" compare levels ",1)):m.createCommentVNode("",!0)]),_:1},8,["class"]))}}),Y_e={},X_e={class:"ag-custom-loading-cell pv-shimmer"};function Z_e(e,t){return m.openBlock(),m.createElementBlock("div",X_e)}const q_e=Ea(Y_e,[["render",Z_e]]),Q_e={key:0,class:"pv-table-group-cell"},J_e={class:"pv-text-body-xxs pv-text-subdued"},e8e={key:0},t8e={class:"pv-flex pv-space-between",style:{"line-height":"20px"}},i8e={class:"pv-text-title-md"},o8e={key:0,class:"pv-table-row-number"},s8e=m.defineComponent({__name:"GroupedCellRenderer",props:{params:{}},setup(e){const t=e,i=m.inject("rowGroupColumnFields"),o=m.inject("groupColumnCellValueColumn"),s=m.inject("expandedRows"),n=m.computed(()=>!t.params.displayBaseAggregationsOnly||a.value.level===i.value.length-1),r=m.computed(()=>t.params.rowNode.group),a=A7(t.params,"rowNode"),l=(p,g)=>p?p({value:g,data:a.value.data,node:a.value,api:t.params.api}):g,c=m.computed(()=>{if(!o.value)return"";const p=o.value.getColId()||"",g=o.value.getColDef().valueFormatter,f=a.value;return p&&f&&f.data&&p in f.data?l(g,f.data[p]):""}),d=m.computed(()=>a.value.data&&a.value.data.groupedRecordCount?a.value.data.groupedRecordCount||0:a.value.allChildrenCount||0),u=m.computed(()=>{const p=a.value.rowIndex,g=a.value.parent?.rowIndex;return p!=null&&g!=null?p-g:null}),h=p=>{const g=p.node.expanded,f=p.node.rowIndex;f!=null&&(s.value[f]=g)};return m.onMounted(()=>{const p=a.value,g=p.rowIndex,f=p.expanded;g!=null&&(s.value[g]=f),a.value.addEventListener("expandedChanged",h)}),m.onBeforeUnmount(()=>{const p=a.value;a.value.removeEventListener("expandedChanged",h);const g=p.rowIndex;g!=null&&(s.value[g]=!1)}),(p,g)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[r.value?(m.openBlock(),m.createElementBlock("div",Q_e,[m.createElementVNode("p",J_e,[m.createTextVNode(m.toDisplayString(m.unref(a).rowGroupColumn?.getColDef().headerName)+" ",1),p.params.displayCount&&n.value&&d.value>0?(m.openBlock(),m.createElementBlock("span",e8e," ("+m.toDisplayString(d.value.toLocaleString())+") ",1)):m.createCommentVNode("",!0)]),m.createElementVNode("div",t8e,[m.createElementVNode("p",i8e,m.toDisplayString(p.params.formattedValue||p.params.rowNode.key),1)])])):m.createCommentVNode("",!0),m.createElementVNode("div",null,[m.createElementVNode("p",null,[p.params.displayRowNumber&&u.value?(m.openBlock(),m.createElementBlock("span",o8e,m.toDisplayString(u.value),1)):m.createCommentVNode("",!0),m.createTextVNode(" "+m.toDisplayString(c.value),1)])])],64))}});function hB(e){const t=e.filter(o=>o!=null&&!isNaN(o)).sort((o,s)=>o-s),i=t.length;return i===0?null:t[Math.floor(i/2)]}var ws=(e=>(e.String="string",e.Number="number",e.Boolean="boolean",e.Date="date",e.Currency="currency",e.Formula="formula",e.Select="select",e.Percent="percent",e.Entity="entity",e.Id="id",e.Integer="integer",e.User="user",e.Link="link",e.Location="location",e.Status="status",e.Tag="tag",e.File="file",e.None="none",e))(ws||{});const n8e=e=>{switch(e){case"string":return"fonts";case"number":return"hash";case"boolean":return"list";case"date":return"calendar";case"currency":return"currency-dollar";case"formula":return"formula";case"select":return"list";case"percent":return"percent";case"entity":return"building";case"id":return"id-2";case"link":return"link";case"location":return"location";case"integer":return"hash";case"user":return"user";case"status":return"circle-chevron-down";case"tag":return"circle-chevron-down";case"file":return"file";case"none":return null;default:return null}},r8e=(e,t)=>{if(!e)return e;switch(t){case"percent":return e.replace(/^%+/,"").trim();default:return e}},a8e=e=>{if(!e)return!1;const t=e.context;if(t&&t.dataType){const i=t.dataType;return["number","integer","currency","percent"].includes(i)}return!1},l8e=(e,t)=>{if(!e)return!1;const i=e.context;return i&&i.dataType?i.dataType===t:!1},c8e=e=>{const t=["","K","M","B","T"],i=Math.abs(e);if(i<1e3)return{newValue:e.toString(),newSuffix:""};const o=Math.floor(Math.log10(i)/3),s=t[o]||`e${o*3}`;return{newValue:(e/Math.pow(10,o*3)).toFixed(0),newSuffix:s}},d8e={style:{"line-height":"20px"}},u8e={class:"pv-text-subdued pv-text-body-xxs pv-relative"},h8e=m.defineComponent({__name:"GroupAggCellRenderer",props:{params:{}},setup(e){const t=e,i=m.inject("expandedRows"),o=m.computed(()=>{const d=t.params.column?.getColDef()?.context;return d&&d.aggFuncDisplayName?d.aggFuncDisplayName:(t.params.column?.getAggFunc()||"agg").toLowerCase()}),s=()=>{const c=t.params.api;if(c){const d=!r.value;c.setRowNodeExpanded(t.params.node,d),n.value&&(i.value[n.value]=d)}},n=m.computed(()=>t.params.node?.rowIndex),r=m.computed(()=>{let c=!1;return n.value!=null&&(c=n.value in i.value?i.value[n.value]:!1),c}),a=m.computed(()=>r.value?"chevron-down":"chevron-right"),l=m.computed(()=>{const d=t.params.column?.getColDef()?.context,u=t.params.valueFormatted||t.params.value;return d&&d.dataType&&[ws.Currency,ws.Percent,ws.Number,ws.Integer].includes(d.dataType)?u.toLocaleString():u});return m.onMounted(()=>{t.params.node.expanded&&n.value&&(i.value[n.value]=!0)}),(c,d)=>(m.openBlock(),m.createElementBlock("div",{class:"pv-flex",ondblclick:s},[m.createElementVNode("div",d8e,[m.createElementVNode("p",null,m.toDisplayString(l.value),1),m.createElementVNode("p",u8e,m.toDisplayString(o.value),1)]),m.createVNode(es,{size:"xl",variant:"ghost","left-icon":a.value,onClick:s},null,8,["left-icon"])]))}}),gC=m.ref({}),hW=m.ref(null),p8e=m.ref(0),g8e=m.ref(0),ik=m.ref({}),_L=m.ref(void 0),VL=m.ref({}),sw=m.ref({}),HL=m.ref({}),pW=m.ref({}),f8e=()=>{const e={};return Object.entries(sw.value).forEach(([t,i])=>{const o=i.filter(s=>!!s);o.length>0&&(e[t]={filterType:"set",values:o})}),e},m8e=async(e,t,i,o)=>{const s=pW.value[t.field]||void 0,n=sw.value[t.field]||[];let r=o;hW.value!=null&&(r=f8e());const a={api:e,colDef:t,column:i,filterModel:r,query:s,selectedValues:n};ik.value[t.field]=!0;const l=n.map(u=>{const h=WL(t.field,u);return{value:h?.value||u,label:h?.label||u,isPreference:h?.isPreference||!1,isSelectable:h?.isSelectable||!0,metadata:h?.metadata||{}}}),c=await _L.value?.(a);l.forEach(u=>{c?.some(h=>h?.value===u?.value)||c?.push(u)}),t.field&&c&&(VL.value[t.field]=c);const d=c?.filter(u=>u!=null).map(u=>u.value)||[];return ik.value[t.field]=!1,d.filter((u,h)=>d.indexOf(u)===h)},WL=(e,t)=>{const i=[...VL.value[e]||[],...HL.value[e]||[]];return i?i.find(o=>o?.value===t):null},y8e=()=>_L.value!=null,v8e=(e,t)=>{sw.value[e]=t;const i=[];if(gC.value&&gC.value[e]?.values){const s=gC.value[e].values||[];i.push(...s)}i.push(...t);const o=[];return t.forEach(s=>{const n=WL(e,s);n&&o.push(n)}),HL.value[e]=o,i.filter((s,n)=>i.indexOf(s)===n)},b8e=e=>sw.value[e]||[],C8e=(e,t)=>{pW.value[e]=t},nw=()=>({filterModel:gC,filterModelUpdated:p8e,filterModelCleared:g8e,filterValuesLoadingStatus:ik,filterValueMap:VL,filterValueSelectedMetadataMap:HL,filterStoreHandler:_L,fetchFilterValues:m8e,filterValueContext:WL,getFilterSelectedValues:b8e,isServerSideFilter:y8e,stagedFilterModel:hW,setFilterSelectedValues:v8e,setFilterValueSearchText:C8e}),S8e={class:"pv-flex pv-full-width pv-space-between"},x8e={key:0},w8e={key:1},M8e=m.defineComponent({__name:"FocusItemRenderer",props:{id:{},text:{},subText:{},secondaryText:{},icon:{},companyName:{},avatar:{},groupingLabel:{},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["focus-update"],setup(e){const t=e,{isFocused:i}=ow(),o=s=>{t.rendererProps?.onFocusUpdate&&t.rendererProps.onFocusUpdate(s)};return(s,n)=>(m.openBlock(),m.createElementBlock("div",S8e,[m.createElementVNode("span",null,m.toDisplayString(s.text),1),m.createVNode(k0,{variant:"dark",tooltipPosition:"top-right",size:"sm"},{label:m.withCtx(()=>[m.createVNode(es,{class:m.normalizeClass(["pv-space-between",m.unref(i)(s.id)?"":"focus-button"]),variant:"ghost","left-icon":"focus",onClick:n[0]||(n[0]=r=>o(s.id))},null,8,["class"])]),"tooltip-content":m.withCtx(()=>[m.unref(i)(s.id)?(m.openBlock(),m.createElementBlock("span",x8e," Remove Focus ")):(m.openBlock(),m.createElementBlock("span",w8e," Select as Focus "))]),_:1})]))}}),D8e={key:0,role:"list",class:"pv-flex pv-stack-4",style:{"--flex-wrap":"wrap"}},k8e={class:"pv-full-width pv-flex pv-space-between"},I8e={class:"pv-flex"},A8e={class:"pv-text-subdued pv-text-body-xxs"},R8e={key:0,class:"pv-full-width"},T8e={key:0,class:"pv-flex-inline"},L8e={role:"list",class:"pv-flex pv-stack-8",style:{"--flex-wrap":"wrap"}},E8e=4,P8e=m.defineComponent({__name:"SetFilter",props:{enableFocusView:{type:Boolean,default:!1},filterColDef:{},filterStyle:{default:"horizontal"},displayPreferencesIcon:{type:Boolean,default:!1}},emits:["filter-selection-changed","filter-closed","handle-settings-icon"],setup(e,{emit:t}){const i=e,o=t,s=m.inject("gridApi"),n=m.inject("rowGroupColumnFields"),{filterModel:r,stagedFilterModel:a,filterModelCleared:l,filterModelUpdated:c,filterValuesLoadingStatus:d,filterValueContext:u,getFilterSelectedValues:h,isServerSideFilter:p,setFilterValueSearchText:g,setFilterSelectedValues:f}=nw(),{focuses:v,handleFocusUpdate:y,isFocused:C,removeFocus:S}=ow(),x=m.inject("firstDataRendered"),D=m.ref([]),A=m.ref([]),k=m.computed(()=>i.filterColDef.field||""),w=m.computed(()=>i.filterColDef.headerName||""),M=m.ref(!1),R=m.computed(()=>i.filterStyle=="vertical"),L=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterValueFormatter&&typeof Y.filterValueFormatter=="function"?Y.filterValueFormatter:typeof i.filterColDef.valueFormatter=="function"?i.filterColDef.valueFormatter:null}),P=m.ref(""),N=m.ref(0),O=async()=>{F(),await z().then(()=>{M.value=!1})},F=()=>{const Y=[];if(r.value&&r.value[k.value]?.values){const $=r.value[k.value].values||[];Y.push(...$)}D.value=Array.from(new Set([...h(k.value),...Y]))},z=async(Y=!1,$=!1)=>{const Q=await s.value.getColumnFilterInstance(k.value);p()&&($||Y&&d.value[k.value]!==!0&&c.value>N.value)&&(Q.refreshFilterValues(),N.value=c.value),A.value=_(Q.getFilterValues())},_=Y=>Y.sort(($,Q)=>{const ae=D.value.includes($),ye=D.value.includes(Q);return ae&&!ye?-1:!ae&&ye?1:0}),V=Y=>{const $=u(k.value,Y);return L.value?L.value({value:Y,context:$}):Y},G=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSelectMax?Y.filterSelectMax:null}),H=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSelectMin?Y.filterSelectMin===1&&G.value===1:!1}),B=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterOptionsSortDescription?Y.filterOptionsSortDescription:null}),W=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterOptionsSortTooltip?Y.filterOptionsSortTooltip:null}),j=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSearch?Y.filterSearch:!0}),U=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.emptyFilterResultsRenderer)return Y.emptyFilterResultsRenderer}),ee=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.filterOptionsRenderer)return Y.filterOptionsRenderer}),q=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.filterFooterRenderer)return Y.filterFooterRenderer}),te=m.computed(()=>G.value?D.value.length>=G.value:!1),se=m.computed(()=>A.value.filter(Y=>!D.value.includes(Y))),Z=m.computed(()=>A.value.length===1&&A.value[0]===null&&D.value.length===0),ie=Y=>n.value[0]===Y&&i.enableFocusView,X=Y=>Z.value||u(k.value,Y)?.isSelectable===!1?!0:H.value?!1:te.value&&!D.value.includes(Y),ne=m.computed(()=>A.value.filter(($,Q)=>A.value.indexOf($)===Q).filter($=>$!=null&&$!=="").map($=>{let Q=B.value?"suggestions":null;return u(k.value,$)?.isPreference&&(Q="preferences"),{id:$,text:V($),groupingLabel:Q,disabled:X($),renderer:ie(k.value)?M8e:ee.value,rendererProps:{onFocusUpdate:Me},classList:["option-label"]}})),re=m.computed({get:()=>D.value.map(Y=>({id:Y,text:V(Y)})),set:Y=>{D.value=Y.map($=>$.id),me(),v.value.forEach($=>{D.value.includes($)||S($)}),o("filter-selection-changed")}});m.watch(()=>d.value[k.value],()=>{const Y=d.value[k.value];M.value&&!Y?(z(),M.value=!1):Y&&(M.value=!0)},{deep:!0}),m.watch(()=>r.value,()=>{c.value+=1,F()}),m.watch(()=>a.value,()=>{R.value&&(D.value=a.value?.[k.value]?.values||[])}),m.watch(()=>l.value,()=>{D.value=[]}),m.watch(()=>x.value,()=>{F()}),m.watch(()=>D.value,Y=>{f(k.value,Y)}),mEe(()=>P.value,async Y=>{g(k.value,Y),await z(!0,!0)},{debounce:300});const ue=Y=>{Y&&H.value?D.value=[Y]:Y&&!D.value.includes(Y)&&(D.value=[...D.value,Y]),me(),o("filter-selection-changed")},le=Y=>{D.value=D.value.filter($=>$!==Y),me(),o("filter-selection-changed"),C(Y)&&S(Y)},me=()=>{const Y=D.value.length>0?D.value:null;if(R.value){a.value={...a.value,[k.value]:{values:Y}},c.value+=1;return}s.value.setColumnFilterModel(k.value,{values:Y}).then(()=>{s.value.onFilterChanged()})},Me=Y=>{console.log("onFocusUpdate",Y),y(k.value,Y),Y&&!D.value.includes(Y)&&ue(Y)},pe=()=>{o("filter-closed")};return m.onMounted(()=>{O()}),(Y,$)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[m.createElementVNode("div",null,[R.value?(m.openBlock(),m.createElementBlock("ul",D8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(D.value,Q=>(m.openBlock(),m.createElementBlock("li",{key:`${w.value}-${Q}`},[m.createVNode(h2e,{label:V(Q)||"",showClear:!0,onHandleClose:ae=>le(Q)},null,8,["label","onHandleClose"])]))),128))])):m.createCommentVNode("",!0),m.createVNode(m.unref(uNe),{modelValue:re.value,"onUpdate:modelValue":$[1]||($[1]=Q=>re.value=Q),searchInput:P.value,"onUpdate:searchInput":$[2]||($[2]=Q=>P.value=Q),label:R.value?"":w.value,icon:R.value?"add-circle":void 0,variant:R.value?"ghost":"secondary",counterPosition:!R.value&&D.value.length>0?void 0:"none",showClear:!R.value,showSearchInput:j.value,showDropdown:!R.value,overlayTrigger:R.value,options:ne.value,popoverCssProperties:{maxHeight:"400px",maxWidth:R.value?"300px":"400px",overflowX:"auto",width:"auto"},groupings:["preferences","suggestions"],isLoading:M.value,"use-teleport":!1,"teleport-location":R.value?"#filter-vertical-drawer":"body",onDropdownOpen:$[3]||($[3]=Q=>z(!0)),onDropdownClosed:pe},m.createSlots({preferences:m.withCtx(()=>[m.createElementVNode("div",k8e,[$[5]||($[5]=m.createElementVNode("p",{class:"pv-text-subdued pv-text-body-xxs"},"Your Preferences",-1)),m.createVNode(m.unref(k0),{variant:"dark",size:"sm"},{label:m.withCtx(()=>[m.createVNode(es,{size:"md",variant:"ghost",onClick:$[0]||($[0]=Q=>Y.$emit("handle-settings-icon",w.value)),"right-icon":"sliders-horizontal"})]),"tooltip-content":m.withCtx(()=>$[4]||($[4]=[m.createTextVNode(" Open Preferences ")])),_:1})])]),suggestions:m.withCtx(()=>[m.createVNode(m.unref(k0),{variant:"dark",interactive:!1,"tooltip-position":"top-left",size:"sm"},m.createSlots({label:m.withCtx(()=>[m.createElementVNode("div",I8e,[m.createVNode(Wi,{name:"ai",size:12}),m.createElementVNode("p",A8e,m.toDisplayString(B.value),1)])]),_:2},[W.value?{name:"tooltip-content",fn:m.withCtx(()=>[m.createTextVNode(m.toDisplayString(W.value),1)]),key:"0"}:void 0]),1024)]),_:2},[U.value?{name:"no-results",fn:m.withCtx(Q=>[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(U.value),m.normalizeProps(m.guardReactiveProps(Q)),null,16))]),key:"0"}:void 0,q.value?{name:"footer",fn:m.withCtx(Q=>[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(q.value),m.normalizeProps(m.guardReactiveProps(Q)),null,16))]),key:"1"}:void 0]),1032,["modelValue","searchInput","label","icon","variant","counterPosition","showClear","showSearchInput","showDropdown","overlayTrigger","options","popoverCssProperties","isLoading","teleport-location"])]),R.value?(m.openBlock(),m.createElementBlock("div",R8e,[se.value.length>0?(m.openBlock(),m.createElementBlock("div",T8e,[m.createElementVNode("ul",L8e,[$[6]||($[6]=m.createElementVNode("li",null,[m.createElementVNode("p",{class:"pv-text-subdued pv-text-body-md"},"Suggested:")],-1)),(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(se.value.filter(Q=>Q!==""&&Q!=null).slice(0,E8e),Q=>(m.openBlock(),m.createElementBlock("li",{key:`${w.value}-${Q}-suggest`},[m.createVNode(m.unref(L2e),{label:V(Q)||"",onHandleClick:ae=>ue(Q)},null,8,["label","onHandleClick"])]))),128))])])):m.createCommentVNode("",!0)])):m.createCommentVNode("",!0)],64))}}),pB=Ea(P8e,[["__scopeId","data-v-93f7c960"]]),N8e={class:"pv-flex"},O8e={class:"pv-flex"},F8e={id:"filter-vertical-drawer",class:"pv-flex-vertical pv-space-between pv-full-width",style:{height:"100%","overflow-x":"hidden"}},B8e={class:"pv-flex-vertical pv-full-width"},G8e={class:"pv-flex pv-inset-squish pv-full-width pv-space-between"},z8e={class:"pv-text-title-lg"},_8e={class:"pv-full-width pv-inset-inline-24"},V8e={class:"pv-details",open:""},H8e={class:"pv-flex",style:{width:"fit-content"}},W8e={class:"pv-text-title-lg"},j8e={class:"pv-inset-block-8"},$8e={class:"pv-sticky pv-border-top pv-full-width pv-inset-squish pv-flex pv-space-between pv-surface",style:{"--top":"unset",bottom:"0"}},U8e={class:"pv-flex"},K8e={class:"pv-flex",style:{"--flex-justify":"end","--flex-gap":"8px","margin-top":"auto"}},gB=5,Y8e=m.defineComponent({__name:"FilterPanel",props:{enableFocusView:{type:Boolean,default:!1},enableVerticalPanel:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1}},emits:["handle-settings-icon","focus-update"],setup(e){const t=m.inject("gridApi"),i=m.inject("availableFilterColumns"),o=m.inject("currentlyActiveFilter"),{filterModelCleared:s,stagedFilterModel:n,filterModel:r}=nw(),a=m.ref(null),l=m.ref(!1),c=m.computed(()=>{const C=[...i.value].slice(0,gB);return o.value?[...C.slice(0,gB-1),o.value]:C}),d=m.computed(()=>{const C=r.value||{};return Object.keys(C).length}),u=m.ref(!1),h=()=>{u.value=!0},p=()=>{u.value=!1,n.value=t.value.getFilterModel(),a.value?.showModal()},{clearAllFocuses:g}=ow(),f=()=>{n.value=null,t.value.setFilterModel(null),t.value.onFilterChanged(),s.value+=1,g(),l.value=!1},v=()=>{n.value=null,a.value?.close()},y=()=>{t.value.setFilterModel(n.value),t.value.onFilterChanged(),a.value?.close(),s.value+=1};return(C,S)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[m.createElementVNode("div",N8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(c.value,x=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:x.field},[m.unref(t)?(m.openBlock(),m.createBlock(pB,{key:0,"enable-focus-view":C.enableFocusView,"display-preferences-icon":C.displayPreferencesIcon,filterColDef:x,onHandleSettingsIcon:S[0]||(S[0]=D=>C.$emit("handle-settings-icon",D)),onFocusUpdate:S[1]||(S[1]=D=>C.$emit("focus-update",D))},null,8,["enable-focus-view","display-preferences-icon","filterColDef"])):m.createCommentVNode("",!0)],64))),128)),m.createElementVNode("div",O8e,[C.enableVerticalPanel?(m.openBlock(),m.createBlock(m.unref(es),{key:0,label:"All Filters",onClick:p,variant:"ghost","left-icon":"filter"})):m.createCommentVNode("",!0),d.value>0?(m.openBlock(),m.createElementBlock("button",{key:1,class:"pv-button-ghost",onClick:S[2]||(S[2]=x=>l.value=!0)},[m.createVNode(m.unref(Wi),{name:"close"}),S[12]||(S[12]=m.createTextVNode(" Clear All Filters ")),d.value>0?(m.openBlock(),m.createBlock(m.unref(w0),{key:0,value:d.value,variant:"tertiary"},null,8,["value"])):m.createCommentVNode("",!0)])):m.createCommentVNode("",!0)]),C.enableVerticalPanel?(m.openBlock(),m.createElementBlock("dialog",{key:0,ref_key:"filterDrawer",ref:a,class:"pv-drawer pv-surface",onClick:S[9]||(S[9]=m.withModifiers(x=>v(),["self"])),style:{"max-width":"450px"}},[m.createElementVNode("div",F8e,[m.createElementVNode("div",B8e,[m.createElementVNode("div",G8e,[m.createElementVNode("p",z8e," All Filters ("+m.toDisplayString(m.unref(i).length)+") ",1),m.createElementVNode("button",{class:"pv-button-ghost",onClick:S[3]||(S[3]=x=>v())},[m.createVNode(m.unref(Wi),{name:"close"})])]),m.createElementVNode("div",_8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(m.unref(i),(x,D)=>(m.openBlock(),m.createElementBlock("div",{key:x.field,class:m.normalizeClass([{"pv-border-bottom":D<m.unref(i).length-1},"pv-stack-12"])},[m.createElementVNode("details",V8e,[m.createElementVNode("summary",H8e,[m.createElementVNode("span",W8e,m.toDisplayString(x.headerName),1)]),m.createElementVNode("div",j8e,[m.unref(t)?(m.openBlock(),m.createBlock(pB,{key:0,"filter-style":"vertical","enable-focus-view":C.enableFocusView,filterColDef:x,"display-preferences-icon":C.displayPreferencesIcon,onFilterSelectionChanged:h,onHandleSettingsIcon:S[4]||(S[4]=A=>C.$emit("handle-settings-icon",A)),onFocusUpdate:S[5]||(S[5]=A=>C.$emit("focus-update",A))},null,8,["enable-focus-view","filterColDef","display-preferences-icon"])):m.createCommentVNode("",!0)])])],2))),128))])]),m.createElementVNode("div",$8e,[m.createElementVNode("button",{class:"pv-button-ghost",onClick:S[6]||(S[6]=x=>f())}," Clear All "),m.createElementVNode("div",U8e,[m.createVNode(m.unref(es),{variant:"ghost",label:"Cancel",onClick:S[7]||(S[7]=x=>v())}),u.value?(m.openBlock(),m.createBlock(m.unref(es),{key:0,variant:"primary",label:"Apply",onClick:S[8]||(S[8]=x=>y())})):(m.openBlock(),m.createBlock(m.unref(es),{key:1,variant:"primary",label:"No Changes",disabled:""}))])])])],512)):m.createCommentVNode("",!0)]),m.createVNode(m.unref(I2e),{modelValue:l.value,"onUpdate:modelValue":S[11]||(S[11]=x=>l.value=x),header:"Clear All Filters",style:{top:"50%"}},{body:m.withCtx(()=>S[13]||(S[13]=[m.createElementVNode("p",{class:"pv-text-body-lg"},"This action will remove all currently applied filters. Would you like to continue?",-1)])),footer:m.withCtx(()=>[m.createElementVNode("div",K8e,[m.createVNode(m.unref(es),{label:"Cancel",variant:"secondary",size:"lg",onClick:S[10]||(S[10]=x=>l.value=!1)}),m.createVNode(m.unref(es),{label:"Clear All Filters",variant:"primary",size:"lg",onClick:f})])]),_:1},8,["modelValue"])],64))}}),X8e={class:"pv-flex"},Z8e={key:0,class:"pv-flex ag-header-actions"},q8e=m.defineComponent({__name:"HeaderCellRenderer",props:{params:{}},setup(e,{expose:t}){const i=e,o=m.ref(!1),s=m.ref(!1),n=m.ref(null),r=m.ref(null),a=m.ref(null),l=m.ref(!1),c=m.computed(()=>{const S=i.params.column.getColDef();return S.sortable||S.filter||S.enableRowGroup}),d=m.inject("sortState"),u=m.computed(()=>{if(!d.value||d.value.length===0)return"";const S=d.value.find(D=>D.colId===i.params.column.getColId()),x=S?S.sort:"";return x==="asc"?"arrow-up":x==="desc"?"arrow-down":""}),h=m.computed(()=>s.value?{cursor:"pointer"}:{}),p=m.computed(()=>l.value?{opacity:1}:{}),g=()=>{l.value=!1},f=()=>{l.value=!0,a.value&&i.params.showColumnMenu(a.value,g)},v=S=>{o.value=S.enableFilterButton,s.value=S.enableSorting||!1,n.value=S.displayName,r.value=n8e(S.column.getColDef().context?.dataType),n.value=r8e(n.value,S.column.getColDef().context?.dataType)},y=()=>{s.value&&i.params.progressSort(!1)};m.onBeforeMount(()=>{v(i.params)});function C(S){return v(S),!0}return t({refresh:C}),(S,x)=>(m.openBlock(),m.createElementBlock("div",{class:"ag-custom-header-cell pv-flex pv-full-width pv-space-between",style:m.normalizeStyle(h.value),onClick:y},[m.createElementVNode("div",X8e,[r.value?(m.openBlock(),m.createBlock(Wi,{key:0,name:r.value,class:"pv-text-subdued"},null,8,["name"])):m.createCommentVNode("",!0),m.createElementVNode("p",null,m.toDisplayString(n.value),1),s.value&&u.value!==""?(m.openBlock(),m.createBlock(Wi,{key:1,name:u.value},null,8,["name"])):m.createCommentVNode("",!0)]),c.value?(m.openBlock(),m.createElementBlock("div",Z8e,[m.createElementVNode("div",{ref_key:"menuButton",ref:a,class:"ag-header-cell-menu-button",style:m.normalizeStyle(p.value)},[m.createVNode(es,{size:"xl",variant:"ghost","left-icon":"menu",onClick:m.withModifiers(f,["stop","prevent"])})],4)])):m.createCommentVNode("",!0)],4))}}),fB=Ea(q8e,[["__scopeId","data-v-054d9038"]]),Q8e=kL.withParams({headerHeight:"30px",headerBackgroundColor:"#F7F8F8",headerCellHoverBackgroundColor:"#F7F8F8",headerColumnResizeHandleHeight:"50%",headerColumnResizeHandleWidth:"3px",headerColumnBorder:"none",headerFontWeight:"bold",headerFontSize:"12px",fontFamily:"Inter, sans-serif",fontSize:12,headerRowBorder:!0,rowHoverColor:"#F7F8F8",rangeSelectionBorderColor:"#36C5BA",rangeSelectionBorderStyle:"solid",wrapperBorder:"none",wrapperBorderRadius:"0px",menuBackgroundColor:"white",accentColor:"#36C5BA"}),J8e=kL.withParams({headerHeight:"30px",headerBackgroundColor:"white",headerCellHoverBackgroundColor:"#F7F8F8",headerColumnResizeHandleHeight:"50%",headerColumnResizeHandleWidth:"3px",headerColumnBorder:"none",headerFontWeight:"bold",headerFontSize:"12px",fontFamily:"Inter, sans-serif",fontSize:12,headerRowBorder:!0,rowHoverColor:"#F7F8F8",rangeSelectionBorderColor:"#36C5BA",rangeSelectionBorderStyle:"solid",wrapperBorder:"none",wrapperBorderRadius:"0px",menuBackgroundColor:"white",accentColor:"#36C5BA"}),eVe={class:"pv-popover-menu"},tVe={class:"pv-popover",style:{"--height":"auto"}},iVe=["disabled"],oVe=m.defineComponent({__name:"ExportMenu",props:{getCsvData:{type:Function}},setup(e){const t=e,i=m.ref(!1);async function o(){i.value=!0;const s=await t.getCsvData();if(!s){i.value=!1;return}const n=new Blob([s],{type:"text/csv;charset=utf-8;"}),r=document.createElement("a");r.href=URL.createObjectURL(n),r.setAttribute("download","datatable_export.csv"),r.click(),i.value=!1}return(s,n)=>(m.openBlock(),m.createElementBlock("nav",eVe,[n[0]||(n[0]=m.createElementVNode("button",{type:"button",class:"pv-button-icon"},[m.createElementVNode("svg",{"aria-hidden":"true",class:"pv-icon-24"},[m.createElementVNode("title",null,"ellipsis"),m.createElementVNode("use",{"xlink:href":"#ellipsis"})])],-1)),m.createElementVNode("div",tVe,[m.createElementVNode("button",{class:"pv-button pv-text-body-sm pv-inset-square-8",onClick:m.withModifiers(o,["prevent"]),disabled:i.value},[i.value?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createTextVNode("Exporting...")],64)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[m.createTextVNode("Download CSV")],64))],8,iVe)])]))}}),sVe={key:1,class:""},nVe=m.defineComponent({__name:"PaginationPanel",props:{panelSize:{default:"xl"}},setup(e){H6.registerModules([kAe]);const t=m.inject("gridApi"),i=m.inject("currentPage"),o=m.inject("totalPages"),s=e,n=m.computed(()=>{const c=o.value,d=i.value;if(c<=7)return Array.from({length:c},(h,p)=>p+1);const u=[];return d<=4?u.push(1,2,3,4,5,"...",c):d>=c-3?u.push(1,"...",c-4,c-3,c-2,c-1,c):u.push(1,"...",d-1,d,d+1,"...",c),u}),r=()=>{i.value>0&&t?.value.paginationGoToPage(i.value-2)},a=()=>{i.value<o.value&&t?.value.paginationGoToPage(i.value)},l=c=>{c>=1&&c<=o.value&&t?.value.paginationGoToPage(c-1)};return(c,d)=>(m.openBlock(),m.createElementBlock("div",{class:m.normalizeClass(["pv-flex",{"pv-hide":m.unref(o)<=1}])},[m.createVNode(es,{variant:"ghost",onClick:r,disabled:m.unref(i)===1,size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-left"},null,8,["disabled","size"]),(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(n.value,u=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:u},[typeof u=="number"?(m.openBlock(),m.createBlock(es,{key:0,variant:u===m.unref(i)?"primary":"ghost",size:s.panelSize==="l"?"md":"lg",onClick:h=>l(u),label:u.toString()},null,8,["variant","size","onClick","label"])):(m.openBlock(),m.createElementBlock("span",sVe,"..."))],64))),128)),m.createVNode(es,{variant:"ghost",onClick:a,disabled:m.unref(i)===m.unref(o),size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-right"},null,8,["disabled","size"])],2))}});function rVe(){}function aVe(e,t=0){if(!Number.isInteger(t))throw new Error("Precision must be an integer.");const i=Math.pow(10,t);return Math.round(e*i)/i}function mB(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function yB(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const lVe="[object RegExp]",cVe="[object String]",dVe="[object Number]",uVe="[object Boolean]",vB="[object Arguments]",hVe="[object Symbol]",pVe="[object Date]",gVe="[object Map]",fVe="[object Set]",mVe="[object Array]",yVe="[object Function]",vVe="[object ArrayBuffer]",I1="[object Object]",bVe="[object Error]",CVe="[object DataView]",SVe="[object Uint8Array]",xVe="[object Uint8ClampedArray]",wVe="[object Uint16Array]",MVe="[object Uint32Array]",DVe="[object BigUint64Array]",kVe="[object Int8Array]",IVe="[object Int16Array]",AVe="[object Int32Array]",RVe="[object BigInt64Array]",TVe="[object Float32Array]",LVe="[object Float64Array]";function bB(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function EVe(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function PVe(e,t,i){return mf(e,t,void 0,void 0,void 0,void 0,i)}function mf(e,t,i,o,s,n,r){const a=r(e,t,i,o,s,n);if(a!==void 0)return a;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return jf(e,t,n,r)}return jf(e,t,n,r)}function jf(e,t,i,o){if(Object.is(e,t))return!0;let s=yB(e),n=yB(t);if(s===vB&&(s=I1),n===vB&&(n=I1),s!==n)return!1;switch(s){case cVe:return e.toString()===t.toString();case dVe:{const l=e.valueOf(),c=t.valueOf();return EVe(l,c)}case uVe:case pVe:case hVe:return Object.is(e.valueOf(),t.valueOf());case lVe:return e.source===t.source&&e.flags===t.flags;case yVe:return e===t}i=i??new Map;const r=i.get(e),a=i.get(t);if(r!=null&&a!=null)return r===t;i.set(e,t),i.set(t,e);try{switch(s){case gVe:{if(e.size!==t.size)return!1;for(const[l,c]of e.entries())if(!t.has(l)||!mf(c,t.get(l),l,e,t,i,o))return!1;return!0}case fVe:{if(e.size!==t.size)return!1;const l=Array.from(e.values()),c=Array.from(t.values());for(let d=0;d<l.length;d++){const u=l[d],h=c.findIndex(p=>mf(u,p,void 0,e,t,i,o));if(h===-1)return!1;c.splice(h,1)}return!0}case mVe:case SVe:case xVe:case wVe:case MVe:case DVe:case kVe:case IVe:case AVe:case RVe:case TVe:case LVe:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!mf(e[l],t[l],l,e,t,i,o))return!1;return!0}case vVe:return e.byteLength!==t.byteLength?!1:jf(new Uint8Array(e),new Uint8Array(t),i,o);case CVe:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:jf(new Uint8Array(e),new Uint8Array(t),i,o);case bVe:return e.name===t.name&&e.message===t.message;case I1:{if(!(jf(e.constructor,t.constructor,i,o)||bB(e)&&bB(t)))return!1;const c=[...Object.keys(e),...mB(e)],d=[...Object.keys(t),...mB(t)];if(c.length!==d.length)return!1;for(let u=0;u<c.length;u++){const h=c[u],p=e[h];if(!Object.hasOwn(t,h))return!1;const g=t[h];if(!mf(p,g,h,e,t,i,o))return!1}return!0}default:return!1}}finally{i.delete(e),i.delete(t)}}function Nb(e,t){return PVe(e,t,rVe)}const NVe={key:0,class:"pv-tag"},OVe=m.defineComponent({__name:"TagCellRenderer",props:{params:{}},setup(e){const t=e,i=m.computed(()=>{const o=t.params.valueFormatted||t.params.value||"";return o.trim()===""?null:o});return(o,s)=>i.value?(m.openBlock(),m.createElementBlock("div",NVe,m.toDisplayString(i.value),1)):m.createCommentVNode("",!0)}}),FVe={key:0,class:"pv-table-row-number"},BVe=m.defineComponent({__name:"RowCountCellRenderer",props:{params:{}},setup(e){const t=e,i=m.computed(()=>(t.params.node?.rowIndex||0)+1),o=m.computed(()=>{const n=t.params.column?.getColDef()?.context,r=t.params.valueFormatted||t.params.value;return n&&n.dataType&&[ws.Currency,ws.Percent,ws.Number,ws.Integer].includes(n.dataType)?r.toLocaleString():r});return(s,n)=>(m.openBlock(),m.createElementBlock("div",null,[m.createElementVNode("p",null,[i.value?(m.openBlock(),m.createElementBlock("span",FVe,m.toDisplayString(i.value),1)):m.createCommentVNode("",!0),m.createTextVNode(" "+m.toDisplayString(o.value),1)])]))}}),GVe=Ea(BVe,[["__scopeId","data-v-ae67b797"]]),zVe={style:{"background-color":"white"},class:"pv-inset-square-8 pv-bordered-md pv-text-md"},_Ve={style:{color:"black"}},VVe=m.defineComponent({__name:"TableTooltip",props:{params:{}},setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("div",zVe,[m.createElementVNode("p",_Ve,m.toDisplayString(t.params.value),1)]))}}),HVe={class:"pv-stack-16"},WVe={class:"pv-flex pv-space-between"},jVe={class:"pv-flex"},$Ve={key:0,class:"pv-table-overlay"},UVe={class:"pv-text-body-xs pv-text-center",style:{"padding-top":"50px"}},KVe=m.defineComponent({__name:"PvDataTable",props:{colDefs:{},rowData:{},serverSideRowHandler:{},filterValuesSetHandler:{},initialGridState:{},initialFilterValueMap:{},theme:{},displayBaseAggregationsOnly:{type:Boolean,default:!1},displayRowNumber:{type:Boolean,default:!1},displayGroupCount:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1},enableColumnVisibilitySelector:{type:Boolean,default:!1},enableFocusView:{type:Boolean,default:!1},enableGroupBySelector:{type:Boolean,default:!1},enableVerticalFilterPanel:{type:Boolean,default:!0},rowGroupLimit:{},groupDefaultExpanded:{default:1},isClientSideGroupOpenByDefault:{},enableCsvExport:{type:Boolean,default:!1},csvRowLimit:{default:2e4},serverSideCsvHandler:{},uniqueRowIdField:{},requireFiltersToShowData:{type:Boolean,default:!1},isLoading:{type:Boolean},containerHeight:{default:500},containerMinHeight:{default:200},debugMode:{type:Boolean,default:!1},pagination:{type:Boolean,default:!1},paginationPageSize:{default:50},rowHeight:{},tooltipShowDelay:{default:1e3},tooltipHideDelay:{},hideTable:{type:Boolean}},emits:["column-moved","column-resized","column-row-group-changed","grid-ready","filter-changed","sort-changed","filter-opened","first-data-rendered","handle-settings-icon","focus-update"],setup(e,{expose:t,emit:i}){const o=[LIe,TIe,nMe,YRe,GIe,jIe,QLe,JLe,cTe,eLe,CAe,cAe,RAe];n7.setLicenseKey("Using_this_{AG_Grid}_Enterprise_key_{AG-065231}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Turquoise_Health}_is_granted_a_{Multiple_Applications}_Developer_License_for_{3}_Front-End_JavaScript_developers___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_{AG_Grid}_Enterprise___This_key_has_been_granted_a_Deployment_License_Add-on_for_{2}_Production_Environments___This_key_works_with_{AG_Grid}_Enterprise_versions_released_before_{16_August_2025}____[v3]_[01]_MTc1NTI5ODgwMDAwMA==c042c2db0e82c322692ccb41e7b58f3e");const n=e;n.debugMode&&o.push(Ske);const r=m.computed(()=>({height:`${n.containerHeight}px`,minHeight:`${n.containerMinHeight}px`})),a=m.computed(()=>n.theme?n.theme:C.value.length>0?J8e:Q8e),l=i,c="serverSideRowHandler"in n&&n.serverSideRowHandler?{getRows:K=>{if(!D.value){K.success({rowData:[]});return}n.serverSideRowHandler?.(K)}}:null,d="filterValuesSetHandler"in n&&n.filterValuesSetHandler?async K=>{let ce={...M.value};!S.value&&n.initialGridState&&(ce=n.initialGridState.filter?.filterModel||{});const Ie=await N(K.api,K.colDef,K.column,ce);K.success([...Ie,""])}:null,u=K=>{const ce=K.node,Ie=K.column?.getColId();return!ce.group||!Ie?!1:V.value.some(Ee=>{if(Ee.field===Ie)return!0})},h=(()=>{const K={suppressHeaderFilterButton:!0,editable:!1,sortable:!0,suppressHeaderMenuButton:!0,suppressColumnsToolPanel:!0,minWidth:200,flex:1,headerComponent:fB,cellDataType:!1,tooltipComponent:VVe,cellRendererSelector:ce=>{if(u(ce))return{component:h8e,params:ce};if(!ce.column?.getColDef().cellRenderer&&n.displayRowNumber&&C.value.length===0){const Ie=ce.api.getAllDisplayedColumns()||[],Ee=ce.column;if(Ie.findIndex(ai=>ai===Ee)===0)return{component:GVe,params:ce}}}};return c&&d&&(K.filterParams={values:d}),K})(),p=m.ref(void 0),g={name:"Column Filter",icon:'<span class="ag-icon ag-icon-filter"></span>',action:function(K){let ce=K.column?.getColId();if(K.column&&q(K.column)&&(ce=G.value?.getColId()||""),!me(ce)){const Ee=K.api.getColumn(ce)?.getColDef();Ee&&(y.value=Ee,m.nextTick(()=>{me(ce)}))}}},f=(K,ce)=>{const Ie={...K};return ce.isArrayField&&!K.valueFormatter?Ie.valueFormatter=Ee=>Bve(Ee,ce.dataType):ce.dataType===ws.Percent&&!K.valueFormatter?Ie.valueFormatter=Ee=>Ove(Ee,ce.valueDecimals||0):ce.dataType===ws.Currency&&!K.valueFormatter?Ie.valueFormatter=Ee=>E9(Ee,ce.valueDecimals||0):ce.dataType===ws.Integer&&!K.valueFormatter?Ie.valueFormatter=Fve:ce.dataType===ws.Tag&&!K.cellRenderer&&(Ie.cellRenderer=OVe),Ie},v=m.computed(()=>!n.colDefs||n.colDefs.length===0?[]:n.colDefs.map(K=>{const ce=K.context;return ce?f(K,ce):K})),y=m.ref(null),C=m.ref([]),S=m.ref(!1),x=m.computed(()=>{if(C.value.length>0){const K=C.value[0],ce=v.value.find(Ee=>Ee.field===K);if((!M.value||!M.value[K])&&ce?.context?.filterRequiredToGroup)return ce.headerName}return null}),D=m.computed(()=>(!M.value||Object.keys(M.value).length===0)&&n.requireFiltersToShowData?!1:x.value===null),A=m.computed(()=>x.value?`Select at least one value for "${x.value}" to view data.`:"Select a filter to view data."),k=m.shallowRef(null),w=m.ref([]),{filterModel:M,filterValuesLoadingStatus:R,filterValueMap:L,filterValueSelectedMetadataMap:P,fetchFilterValues:N,filterStoreHandler:O}=nw();O.value=n.filterValuesSetHandler,L.value=n.initialFilterValueMap||{};const F=m.ref(null),z=m.computed(()=>v.value.filter(K=>K.filter)),_=m.computed(()=>v.value.filter(K=>K.enableRowGroup)),V=m.computed(()=>v.value.filter(K=>K.aggFunc)),G=m.ref(null),H=m.ref({}),B=m.ref(1),W=m.ref(0);m.provide("filterModel",M),m.provide("sortState",w),m.provide("gridApi",k),m.provide("columnDisplayOrder",F),m.provide("currentlyActiveFilter",y),m.provide("availableFilterColumns",z),m.provide("availableRowGroupColumns",_),m.provide("rowGroupColumnFields",C),m.provide("groupColumnCellValueColumn",G),m.provide("expandedRows",H),m.provide("firstDataRendered",S),m.provide("filterValuesLoadingStatus",R),m.provide("displayUnfilteredTableData",D),m.provide("currentPage",B),m.provide("totalPages",W);const j=K=>{if(k.value=K.api,n.initialGridState){const ce=n.initialGridState.filter?.filterModel||null;ce&&k.value.setFilterModel(ce)}if(C.value.length>0){const ce=C.value[0];G.value=K.api.getColumn(ce),K.api.setColumnsVisible([ce],!1)}F.value=K.api.getAllGridColumns(),B.value=K.api.paginationGetCurrentPage()+1,W.value=K.api.paginationGetTotalPages(),l("grid-ready",K)},U=K=>{if(k.value){const ce=K.api.getFilterModel();Nb(M.value,ce)||(M.value=ce,l("filter-changed",K))}},ee=K=>{w.value=K.api?.getState()?.sort?.sortModel||[],l("sort-changed",K)},q=K=>K.getColId()&&K.getColId().includes("ag-Grid-AutoColumn"),te=m.ref(!1),se=async K=>{if(!k.value){console.error("Grid API not available");return}const ce=K||{route:[],purge:!0};k.value.refreshServerSide(ce)},Z=()=>P.value,ie=async()=>{if(te.value=!0,!k.value)return console.error("Grid API not available"),te.value=!1,null;try{const K=n.serverSideCsvHandler,ce=k.value?.getState(),Ie={rowGroupCols:[],valueCols:k.value?.getValueColumns().map(Ze=>({id:Ze.getId(),field:Ze.getColDef().field,aggFunc:typeof Ze.getColDef().aggFunc=="string"?Ze.getColDef().aggFunc:void 0,displayName:Ze.getColDef().headerName||Ze.getColDef().field||""}))||[],filterModel:ce?.filter?.filterModel||{},sortModel:ce?.sort?.sortModel||[],pivotCols:[],pivotMode:!1,groupKeys:[],startRow:0,endRow:n.csvRowLimit};if(K){const Ze={request:Ie,parentNode:{},api:k.value,context:void 0,success:()=>{},fail:()=>{}};return await n.serverSideCsvHandler(Ze),te.value=!1,null}const Ee=n.serverSideRowHandler;return Ee?await new Promise((Ze,ai)=>{const Mi=k.value?.getState(),Oa={request:Ie,parentNode:{},api:k.value,context:void 0,success:Ig=>{const rw=k.value?.getRowGroupColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],jL=k.value?.getAllDisplayedColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],aw=k.value?.getValueColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],mW=Array.from(new Set([...rw,...jL,...aw])),yW=Ig.rowData.map(Bs=>{const $L={};return mW.forEach(UL=>{const KL=Bs[UL];$L[UL]=KL!=null?String(KL):null}),$L}),vW=aEe.unparse(yW);te.value=!1,Ze(vW)},fail:()=>{te.value=!1,ai("CSV export failed.")}};Ee(Oa,!0)}):(console.warn("Client-side export does not return CSV string"),te.value=!1,k.value.exportDataAsCsv(),null)}catch(K){return console.error("CSV export failed",K),te.value=!1,null}},X=K=>{const ce=G.value,Ie=K.api.getRowGroupColumns();C.value=[...Ie].map(ai=>ai.getColId());const Ee=Ie.length>0?Ie[0]:null;Ee?(G.value=Ee,Y.value.headerName=Ee.getColDef().headerName,Y.value.headerComponent=fB,Y.value.context={dataType:G.value?.getColDef().context?.dataType||null},K.api.setColumnsVisible([Ee.getColId()],!1)):(G.value=null,Y.value.headerName="",Y.value.headerComponent=void 0,Y.value.context=null);const Ze=ce?.getColId();(!Ee||Ze!==Ee.getColId())&&K.api.setColumnsVisible([Ze||""],!0),l("column-row-group-changed",K)},ne=K=>{const ce=K.column?.getColId()||"";if(ce===G.value?.getColId()){K.api.setColumnsVisible([ce],!1);return}},re=K=>{K.finished&&(F.value=K.api.getAllGridColumns()),l("column-moved",K)},ue=K=>{K.api&&(B.value=K.api.paginationGetCurrentPage()+1,W.value=K.api.paginationGetTotalPages())},le=K=>"allChildrenRowCount"in K&&K.allChildrenRowCount||0,me=K=>{const ce=document.querySelector(`[data-horizontal-filter-field="${K}"]`);if(ce){const Ie=ce.querySelector("button");if(Ie)return Ie.click(),!0}return!1},Me=m.ref(q_e),pe=m.ref({loadingMessage:"One moment please..."}),Y=m.ref({headerName:"",minWidth:200,suppressMovable:!0,sortable:!1,pinned:"left",headerComponent:void 0,cellRendererParams:{suppressCount:!0,innerRenderer:s8e,innerRendererParams:K=>({displayBaseAggregationsOnly:n.displayBaseAggregationsOnly,displayRowNumber:n.displayRowNumber,displayCount:n.displayGroupCount,formattedValue:K.valueFormatted,rowNode:K.node,api:k.value})}}),$=K=>{if(K.node.group)return{backgroundColor:"#F7F8F8"}},Q={Median:K=>{const ce=K.values;if(K.rowNode.leafGroup){const Ze=hB(ce);return{values:ce,value:Ze}}const Ie=K.values.flatMap(Ze=>Ze.values||[]),Ee=hB(Ie);return{values:Ie,value:Ee}}};m.onBeforeMount(()=>{const K=Array.isArray(n.rowData)&&n.rowData.length>0,ce=typeof n.serverSideRowHandler=="function",Ie=typeof n.filterValuesSetHandler=="function";(K&&ce||K&&Ie)&&console.warn("Only one of `rowData` or `serverSideRowHandler + hasFilterValuesSetHandler` params should be provided to PvDataTable, not both."),p.value=Ee=>{const Ze=["sortAscending","sortDescending","sortUnSort","rowUnGroup","valueAggSubMenu"],ai=Ee.column&&q(Ee.column)?G.value:Ee.column;return ai&&ai.getColDef().filter&&Ze.splice(2,0,g),Ze.filter(Mi=>typeof Mi=="string"?Ee.defaultItems.includes(Mi):!0)}});const ae=K=>{const ce=k.value;if(!ce)return;const Ie=K.filter?.filterModel||null,Ee=K.rowGroup?.groupColIds||null,Ze=K.columnVisibility||null;Ie&&!Nb(Ie,Ie.value)&&ce.setFilterModel(Ie),Ee&&!Nb(Ee,C.value)&&ce.setRowGroupColumns(Ee),Ze&&!Nb(Ze,F.value)&&ce.setColumnsVisible(Ze.hiddenColIds,!1)};m.watch(()=>n.initialGridState,()=>{n.initialGridState&&ae(n.initialGridState)},{deep:!0}),m.onMounted(()=>{n.initialGridState&&(M.value=n.initialGridState.filter?.filterModel||null,C.value=n.initialGridState.rowGroup?.groupColIds||[])});const ye=K=>{S.value=!0,l("first-data-rendered",K)};t({getCsvData:ie,refreshData:se,getFilterValueSelectedMetadataMap:Z});const we=K=>c?K.rowNode.level===C.value.length-2:!1,De=m.computed(()=>{if(!c)return n.groupDefaultExpanded});return(K,ce)=>(m.openBlock(),m.createElementBlock("div",{class:"pv-full-width",style:m.normalizeStyle(r.value)},[m.createElementVNode("div",HVe,[m.createElementVNode("div",WVe,[z.value.length>0?(m.openBlock(),m.createBlock(Y8e,{key:0,"enable-focus-view":K.enableFocusView,"enable-vertical-panel":K.enableVerticalFilterPanel,"display-preferences-icon":K.displayPreferencesIcon,onHandleSettingsIcon:ce[0]||(ce[0]=Ie=>K.$emit("handle-settings-icon",Ie)),onFocusUpdate:ce[1]||(ce[1]=Ie=>K.$emit("focus-update",Ie))},null,8,["enable-focus-view","enable-vertical-panel","display-preferences-icon"])):m.createCommentVNode("",!0),m.createElementVNode("div",jVe,[K.enableGroupBySelector&&K.rowGroupLimit!==0?(m.openBlock(),m.createBlock(K_e,{key:0,rowGroupLimit:K.rowGroupLimit,enableFocusView:K.enableFocusView},null,8,["rowGroupLimit","enableFocusView"])):m.createCommentVNode("",!0),K.enableCsvExport?(m.openBlock(),m.createBlock(oVe,{key:1,getCsvData:ie})):m.createCommentVNode("",!0)])])]),m.createElementVNode("div",{class:m.normalizeClass(["pv-relative pv-stack-8",K.hideTable?"pv-hide":""]),style:{width:"100%",height:"90%","border-bottom":"1px solid #d2d7db"}},[m.createVNode(m.unref(zAe),m.mergeProps({ref:"gridRef",style:{width:"100%",height:"100%"}},m.unref(c)?{serverSideDatasource:m.unref(c)}:{},{onColumnMoved:re,onColumnRowGroupChanged:X,onColumnVisible:ne,onFilterChanged:U,onFilterOpened:ce[2]||(ce[2]=Ie=>l("filter-opened",Ie)),onFirstDataRendered:ye,onGridReady:j,onPaginationChanged:ue,onSortChanged:ee,aggFuncs:Q,autoGroupColumnDef:Y.value,columnDefs:v.value,debug:K.debugMode,defaultColDef:m.unref(h),getChildCount:le,getMainMenuItems:p.value,getRowStyle:$,groupDefaultExpanded:De.value,groupDisplayType:"singleColumn",initialState:K.initialGridState,isGroupOpenByDefault:m.unref(c)?void 0:n.isClientSideGroupOpenByDefault,isServerSideGroupOpenByDefault:we,loading:m.unref(c)?!1:K.isLoading,loadingCellRenderer:Me.value,loadingCellRendererParams:pe.value,maxConcurrentDatasourceRequests:m.unref(c)?10:void 0,modules:o,rowData:K.rowData,rowHeight:K.rowHeight,rowModelType:m.unref(c)?"serverSide":"clientSide",serverSideInitialRowCount:m.unref(c)?1:void 0,showOpenedGroup:!0,suppressAggFuncInHeader:!0,suppressColumnMoveAnimation:!0,suppressDragLeaveHidesColumns:!0,serverSideSortAllLevels:!1,serverSideEnableClientSideSort:!1,theme:a.value,pagination:K.pagination,suppressPaginationPanel:!0,paginationPageSize:K.paginationPageSize,suppressScrollOnNewData:!0,"tooltip-show-delay":K.tooltipShowDelay,"tooltip-hide-delay":K.tooltipHideDelay}),null,16,["autoGroupColumnDef","columnDefs","debug","defaultColDef","getMainMenuItems","groupDefaultExpanded","initialState","isGroupOpenByDefault","loading","loadingCellRenderer","loadingCellRendererParams","maxConcurrentDatasourceRequests","rowData","rowHeight","rowModelType","serverSideInitialRowCount","theme","pagination","paginationPageSize","tooltip-show-delay","tooltip-hide-delay"]),D.value?m.createCommentVNode("",!0):(m.openBlock(),m.createElementBlock("div",$Ve,[m.createElementVNode("p",UVe,m.toDisplayString(A.value),1)]))],2),K.pagination?(m.openBlock(),m.createBlock(nVe,{key:0})):m.createCommentVNode("",!0)],4))}}),YVe={class:"pv-stack-16 pv-chart-options-panel"},XVe={class:"pv-flex"},ZVe=m.defineComponent({__name:"PvChartOptionsPanel",props:{enablePanel:{type:Boolean},chartFilter:{}},setup(e){const t=e,i=m.inject("activeChartType"),o=m.inject("activeSort"),s=m.inject("chartTypes"),n=m.inject("sortTypes"),r=m.inject("rowGroupColumns"),a=m.inject("activeChartFilterOption"),l=m.computed(()=>{const d=[];return t.chartFilter&&t.chartFilter.options?t.chartFilter.options.map(u=>({label:u.label,value:u.value})):d}),c=m.computed(()=>(r.value.length>1?["bar_stacked","line","column_stacked","area"]:["bar","line","column","area"]).includes(i.value?.id));return m.watch(s,d=>{const u=i.value,h=u?.id.endsWith("_stacked"),p=d.find(g=>g.id===u.id);if(p){i.value=p;return}if(h){const g=u?.id.replace("_stacked",""),f=d.find(v=>v.id===g);if(f){i.value=f;return}}i.value=d[0]}),(d,u)=>(m.openBlock(),m.createElementBlock("div",YVe,[m.createElementVNode("div",null,[m.createElementVNode("div",{class:"pv-flex pv-space-between",style:m.normalizeStyle(d.chartFilter?{"--flex-justify":"flex-end"}:{})},[(m.openBlock(),m.createBlock(g2e,{key:0,options:l.value,modelValue:m.unref(a),"onUpdate:modelValue":u[0]||(u[0]=h=>m.isRef(a)?a.value=h:null)},null,8,["options","modelValue"])),m.createElementVNode("div",XVe,[m.createVNode(tk,{class:m.normalizeClass({"pv-hide":!c.value}),label:"Sort By",modelValue:m.unref(o),"onUpdate:modelValue":u[1]||(u[1]=h=>m.isRef(o)?o.value=h:null),options:m.unref(n),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["class","modelValue","options"]),m.createVNode(tk,{label:"Select Chart Type",modelValue:m.unref(i),"onUpdate:modelValue":u[2]||(u[2]=h=>m.isRef(i)?i.value=h:null),options:m.unref(s),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["modelValue","options"])])],4)])]))}}),qVe=[{text:"Column",id:"column",icon:"chart-column"},{text:"Bar",id:"bar",icon:"chart-bar"},{text:"Line",id:"line",icon:"chart-line"},{text:"Area",id:"area",icon:"chart-area"},{text:"Pie",id:"pie",icon:"chart-pie"}],QVe=[{text:"Grouped Column",id:"column",icon:"chart-column"},{text:"Stacked Column",id:"column_stacked",icon:"chart-column"},{text:"Grouped Bar",id:"bar",icon:"chart-bar"},{text:"Stacked Bar",id:"bar_stacked",icon:"chart-bar"}],JVe={style:{height:"100%",width:"100%"}},e9e={class:"pv-relative pv-margin-auto"},t9e={key:0,class:"pv-chart-overlay pv-text-body-xs"},i9e=m.defineComponent({__name:"PvDataTableWithChart",props:{enabledChartTypes:{default:()=>["column","bar","column_stacked","bar_stacked","line","area"]},overrideChartData:{type:Boolean,default:!1},showSeriesLabels:{type:Boolean,default:!0},truncateLabelValues:{type:Boolean,default:!0},initialChartData:{},displayChartLoading:{type:Boolean,default:!0},chartFilter:{},chartType:{default:"column"},yKey:{default:""},focusCategory:{},hideChart:{type:Boolean},hideTable:{type:Boolean},colDefs:{},rowData:{},serverSideRowHandler:{},filterValuesSetHandler:{},initialGridState:{default:()=>({})},initialFilterValueMap:{},theme:{},displayBaseAggregationsOnly:{type:Boolean,default:!1},displayRowNumber:{type:Boolean,default:!0},displayGroupCount:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1},enableColumnVisibilitySelector:{type:Boolean,default:!0},enableFocusView:{type:Boolean,default:!1},enableGroupBySelector:{type:Boolean,default:!0},enableVerticalFilterPanel:{type:Boolean,default:!0},rowGroupLimit:{default:2},groupDefaultExpanded:{},isClientSideGroupOpenByDefault:{},enableCsvExport:{type:Boolean,default:!1},csvRowLimit:{},serverSideCsvHandler:{},uniqueRowIdField:{},requireFiltersToShowData:{type:Boolean,default:!1},isLoading:{type:Boolean},containerHeight:{},containerMinHeight:{},debugMode:{type:Boolean},pagination:{type:Boolean},paginationPageSize:{},rowHeight:{},tooltipShowDelay:{},tooltipHideDelay:{}},emits:["chart-series-changed","column-moved","column-resized","column-row-group-changed","grid-ready","filter-changed","sort-changed","filter-opened","first-data-rendered","handle-settings-icon","focus-update"],setup(e,{expose:t,emit:i}){const o=e,s=i,n=m.ref(null),r=m.ref(null),a=m.ref(null),{setFilterSelectedValues:l}=nw(),c=$=>{n.value=$.api,s("grid-ready",$)},d=$=>{S.value=[...$.api.getRowGroupColumns()],U($.api),te($.api),s("column-row-group-changed",$)},u=async $=>{if(o.chartFilter){const ae=(await $.api.getColumnFilterInstance(o.chartFilter.colId))?.getModel();R.value=ae?.values?.[0]||""}te($.api),s("filter-changed",$)},h=m.ref([]);function p($,Q,ae=!0){return ye=>{ye.data=x.value?.find(Ee=>Ee[$]===ye.value);let we="";const De=f($),K=a8e(De);if(o.truncateLabelValues&&ae&&K&&!isNaN(Number(ye.value))){if(B.value){const Oa=ye.datum?.[A.value],rw=D.value?.find(aw=>aw[A.value]===Oa)?.[`${k.value}_sort_total`]||1/0;if(ye.value/rw<.05)return""}let Ee=0;l8e(De,ws.Percent)&&(Ee=2);const Ze=aVe(ye.value,Ee),{newValue:ai,newSuffix:Mi}=c8e(Ze);ye.value=ai,we=Mi}let Ie=ye.value;return Q&&(Ie=Q(ye)),Ie+we}}const g=($,Q=!1)=>{if(!$)return;const ae=f($);return ae&&typeof ae.valueFormatter=="function"?p($,ae.valueFormatter,Q):p($,null,Q)},f=$=>!$||!n.value?null:n.value?.getColumnDef($),v=m.computed(()=>(S.value.length>1?QVe:qVe).filter(Q=>o.enabledChartTypes?.includes(Q.id))),y=m.ref(void 0),C=m.ref([{text:"Lowest to Highest",id:"asc",icon:"arrow-up-wide-narrow"},{text:"Highest to Lowest",id:"desc",icon:"arrow-down-narrow-wide"}]),S=m.ref([]),x=m.ref([]),D=m.ref([]),A=m.ref("provider_name"),k=m.computed(()=>o.yKey),w=m.ref(null),M=m.ref(void 0),R=m.ref("");m.provide("activeChartFilterOption",R),m.provide("rowGroupColumns",S),m.provide("chartTypes",v),m.provide("sortTypes",C),m.provide("activeChartType",y),m.provide("activeSeries",k),m.provide("activeSort",M);const L={focuses:m.ref([]),focusType:m.ref(null)};m.provide(uW,L),m.watch(()=>o.chartType,$=>{const Q=v.value.find(ae=>ae.id===$);Q?y.value=Q:y.value=v.value[0]}),m.watch(R,$=>{if(o.chartFilter&&n.value){const Q=o.chartFilter.colId;let ae=o.chartFilter.options.find(ye=>ye.value===$)?.filterValues||null;ae&&ae.length===0&&(ae=null),l(Q,ae||[]),n.value.setColumnFilterModel(Q,{values:ae}).then(()=>{n.value?.onFilterChanged()})}});const P=m.computed(()=>{const $=h.value.find(Q=>Q.value===k.value);return $?$.label:""}),N=m.computed(()=>y.value?.id.includes("bar")),O=m.computed(()=>S.value.length>1),F=($,Q)=>`${$}_${Q}`,z=m.computed(()=>{if(h.value.length===0)return[];const $=H.value?"bar":y.value?.id||"";return["bar","line","area"].includes($)?W.value:$==="pie"?j.value:(console.error("Unsupported chart type",$),[])}),_=m.computed(()=>o.showSeriesLabels),V=$=>{let Q=$.datum[$.xKey];const ae=g($.xKey);ae&&typeof ae=="function"&&(Q=ae({value:Q}));const ye=$.yKey;let we=$.datum[ye];const De=g(ye);return De&&typeof De=="function"&&(we=De({value:we})),{heading:Q,data:[{label:P.value,value:we}]}},G=$=>{const Q=o.focusCategory||"";$.datum[A.value]},H=m.computed(()=>y.value?.id.includes("column")||y.value?.id.includes("bar")),B=m.computed(()=>y.value?.id.includes("stacked")),W=m.computed(()=>{const $=B.value,Q=H.value?"bar":y.value?.id;let ae=[];const ye=g(k.value,!0),we=g(w.value?.fieldName,!0);if(O.value)w.value?.fieldValues.forEach(ce=>{const Ie={type:Q,xKey:A.value,yKey:F(k.value,ce),yName:typeof we=="function"?we({value:ce}):ce,stacked:$,label:{enabled:_.value,color:$?"white":"black",fontFamily:"Inter",padding:5,fontSize:11,placement:$?"inside-end":"outside-end",formatter:ye},itemStyler:G};ae.push(Ie)});else{const K={type:Q,xKey:A.value,yKey:k.value,tooltip:{renderer:V},label:{enabled:_.value,color:"black",fontFamily:"Inter",padding:5,fontSize:11,placement:"outside-end",formatter:ye},itemStyler:G};ae.push(K)}let De={};if(Q==="column"||Q==="bar"){const K=De;K.direction=N.value?"horizontal":"vertical",De=K}else if(Q==="line"||Q==="area"){const K=De;K.connectMissingData=!0,De=K}return ae=ae.map(K=>({...K,...De})),ae}),j=m.computed(()=>h.value.length===0?[]:[{type:"pie",legendItemKey:A.value,angleKey:k.value}]),U=$=>{const Q=$.getAllGridColumns().filter(ae=>ae.getAggFunc()!==null&&ae.getAggFunc()!==void 0);A.value=S.value[0]?.getColId()||"",h.value=Q.map(ae=>{const ye=ae.getColId(),we=ae.getColDef();return{label:we.headerName||ye,value:ye,formatter:we.valueFormatter,dataType:we.context?.dataType}})};m.watch(k,$=>{s("chart-series-changed",{api:n.value,seriesField:$})});const ee=()=>{x.value=[],D.value=[],w.value=null},q=($,Q)=>{if(!$||$.length===0){ee();return}if(Q){const ae=A.value,ye=new Set;$.forEach(De=>{const K=De[Q];ye.add(K)});const we=$.reduce((De,K)=>{const ce=K[ae];De[ce]||(De[ce]={});const Ie=K[Q];for(const Ee of h.value){const Ze=Ee.value;let ai=De[`${Ze}_sort_total`]||0;const Mi=K[Ze];ye.add(Ie),Q&&Mi&&(De[ce][F(Ze,Ie)]=Mi,ai=ai+Mi),De[ce][`${Ze}_sort_total`]=ai}return De},{});D.value=Object.keys(we).map(De=>({[ae]:De,...we[De]})),w.value={fieldName:Q,fieldValues:Array.from(ye)}}else D.value=[],w.value=null;x.value=$},te=$=>{if(o.overrideChartData)return;const Q=S.value.length;if(ee(),Q===0||h.value.length===0)return;const ae=[],ye=[];let we=new Set;if($.forEachNodeAfterFilterAndSort(De=>{if(De.group&&De.level===0){if(S.value.length>1){const ce=De.childrenAfterFilter?.filter(Ze=>Ze.level===1&&Ze.aggData)||[],{rowData:Ie,fieldValues:Ee}=Z(De,ce);we=we.union(Ee),ye?.push(Ie)}const K=se(De);ae?.push(K)}}),x.value=ae,S.value.length>1&&ye&&ye.length>0){const De=S.value[1].getColId();D.value=ye,w.value={fieldName:De,fieldValues:Array.from(we)}}else D.value=[],w.value=null},se=$=>{const Q={[$.field]:$.key};for(const ae of h.value)!$.aggData||!$.aggData[ae.value]||(Q[ae.value]=$.aggData[ae.value]?.value??$.aggData[ae.value]);return Q},Z=($,Q)=>{const ae=new Set,ye={[$.field]:$.key};let we=0;for(const De of h.value)Q.forEach(K=>{const ce=K.key;ae.add(ce);const Ie=K.aggData;if(ce&&Ie){const Ee=K.aggData[De.value]?.value??K.aggData[De.value];ye[F(De.value,ce)]=Ee,we=we+Ee}}),ye[`${De.value}_sort_total`]=we;return{rowData:ye,fieldValues:ae}},ie=($,Q,ae)=>!$||$.length===0?$:$.slice().sort((ye,we)=>{const De=ae.includes(ye[Q])?0:1,K=ae.includes(we[Q])?0:1;return De-K}),X=m.computed(()=>{let $=O.value?D.value:x.value,Q=null;if(M.value&&(Q=O.value?`${k.value}_sort_total`:k.value),Q&&$&&M.value){const ae=M.value?.id.includes("desc")?-1:1;$=[...$].sort((ye,we)=>{const De=ye[Q]||0,K=we[Q]||0;return(De-K)*ae})}if(o.enableFocusView&&$&&($=ie($,A.value,L.focuses.value)),$&&$.length===1){const ae="",ye=" ";$=[{[A.value]:ae},$[0],{[A.value]:ye}]}return $}),ne=m.computed(()=>X.value?.length||0),re=m.computed(()=>w.value?.fieldValues?.length||0),ue=m.computed(()=>{const we=.25*Math.exp(-.12*ne.value);return Math.min(Math.max(we,.05),.75)}),le=m.computed(()=>re.value>5?.5:1),me=m.computed(()=>re.value>5?.25:.1),Me=m.computed(()=>S.value.length===0?"No groups selected. Select at least one group to display data.":X.value&&X.value?.length===0?"No data available to chart.":""),pe=m.computed(()=>{const $={};return $.overlays={noData:{text:""}},$.data=X.value,$.axes=[{type:"category",position:N.value?"left":"bottom",label:{formatter:Q=>{let ye=Q.value;const we=g(A.value);return typeof we=="function"&&(ye=we(Q)),typeof ye=="string"&&ye.length>35?ye.substring(0,35)+"...":ye}},paddingInner:ue.value,paddingOuter:le.value,groupPaddingInner:me.value},{type:"number",position:N.value?"bottom":"left",label:{formatter:g(k.value)},title:{enabled:!0,text:P.value}}],$.series=z.value,$}),Y=m.computed(()=>o.displayChartLoading&&o.isLoading&&(!X.value||X.value.length===0));return t({provideChartData:q,getChartImageDataURL:$=>a.value?.getChartImageDataURL($),getCsvData:()=>r.value?.getCsvData(),refreshData:$=>r.value?.refreshData($),getFilterValueSelectedMetadataMap:()=>r.value?.getFilterValueSelectedMetadataMap()}),m.onBeforeMount(()=>{o.chartType&&(y.value=v.value.find($=>$.id===o.chartType))}),($,Q)=>(m.openBlock(),m.createElementBlock("div",JVe,[m.createElementVNode("div",{class:m.normalizeClass($.hideChart?"pv-hide":"")},[m.createVNode(ZVe,{enablePanel:X.value!=null&&X.value.length>0,chartFilter:$.chartFilter},null,8,["enablePanel","chartFilter"]),m.createElementVNode("div",e9e,[m.createVNode($T,{ref_key:"pvChartRef",ref:a,isLoading:Y.value,options:pe.value,enableFocusView:$.enableFocusView},null,8,["isLoading","options","enableFocusView"]),!$.isLoading&&Me.value!==""?(m.openBlock(),m.createElementBlock("p",t9e,m.toDisplayString(Me.value),1)):m.createCommentVNode("",!0)])],2),m.createVNode(KVe,m.mergeProps({ref_key:"pvDataTableRef",ref:r},$.$props,{onColumnRowGroupChanged:d,onGridReady:c,onFilterChanged:u,onSortChanged:Q[0]||(Q[0]=ae=>s("sort-changed",ae)),onFilterOpened:Q[1]||(Q[1]=ae=>s("filter-opened",ae)),onFirstDataRendered:Q[2]||(Q[2]=ae=>s("first-data-rendered",ae)),onColumnMoved:Q[3]||(Q[3]=ae=>s("column-moved",ae)),onColumnResized:Q[4]||(Q[4]=ae=>s("column-resized",ae)),onHandleSettingsIcon:Q[5]||(Q[5]=ae=>s("handle-settings-icon",ae)),onFocusUpdate:Q[6]||(Q[6]=ae=>s("focus-update",ae))}),null,16)]))}}),o9e={type:"Feature",properties:{name:"Hawaii"},geometry:{type:"MultiPolygon",coordinates:[[[[-105.70409839588592,25.25161631830986],[-105.74881952767498,25.17708731830985],[-105.7324578028169,25.056085318309865],[-105.68895681047411,25.045162318309856],[-105.67536932349577,24.993176818309855],[-105.68981478149271,24.810911818309865],[-105.66432618951364,24.761803318309862],[-105.65719536478286,24.60298481830986],[-105.80352494114891,24.229658818309865],[-105.78141417789311,24.13590431830986],[-105.5774075760354,24.035093818309853],[-105.51858474640801,23.957137318309865],[-105.40936139329716,24.036536818309862],[-105.17504886992111,24.287800318309863],[-105.09153381173394,24.308866318309853],[-104.75568134783998,24.492257818309863],[-104.67362977026619,24.472298818309863],[-104.60114321656317,24.483500818309864],[-104.36533065836738,24.577913818309863],[-104.10476925447796,24.730772818309866],[-103.98390683066299,24.831910318309863],[-103.96829885998909,24.87607331830986],[-104.16112558606994,25.03073981830986],[-104.14508660820235,25.11696881830986],[-104.16077636759547,25.189867318309854],[-104.28677083656623,25.17295781830986],[-104.22696065992807,25.364036818309863],[-104.30886391690893,25.487773318309863],[-104.42831881051,25.602725818309867],[-104.7292827123988,25.752170818309864],[-104.80549464909689,25.778293318309863],[-104.86740887482102,25.767746818309853],[-105.02892662902929,25.915097818309864],[-105.179856822999,25.98826031830986],[-105.2436709875459,25.963798318309863],[-105.29910352520284,25.84654781830986],[-105.30628052032404,25.76630231830986],[-105.25460778276909,25.619854318309862],[-105.28450376869205,25.555100818309864],[-105.39882655591924,25.479181318309866],[-105.45434726738569,25.411627318309854],[-105.70409839588592,25.25161631830986]]],[[[-106.12948574382648,26.96188181830986],[-106.07741473079159,26.812798318309866],[-105.95781505204707,26.748550318309867],[-105.89969049073602,26.780132818309863],[-105.85535948600159,26.76707231830986],[-105.88848007156639,26.478152818309866],[-105.81685446816806,26.448578818309862],[-105.54119874286357,26.523715318309865],[-105.42119221780342,26.522222818309864],[-105.19421119770203,26.628034318309858],[-105.1464927521539,26.697305818309857],[-105.1479655567631,26.774255818309854],[-105.22481097438867,26.796748318309856],[-105.38612834141509,26.91890081830986],[-105.43465475582002,26.98769531830986],[-105.56569637466987,27.000613318309856],[-105.81253870992253,26.92823681830987],[-105.87520235947693,27.105188818309866],[-105.95450182345559,27.122627818309862],[-106.07074763534115,27.051331318309856],[-106.12948574382648,26.96188181830986]]],[[[-106.26500385364164,26.420801818309865],[-106.32611361105057,26.379614818309857],[-106.2894856754333,26.338045318309863],[-106.08465366443977,26.37240431830985],[-106.0640210422522,26.45111081830986],[-106.08797909227519,26.488280818309867],[-106.26500385364164,26.420801818309865]]],[[[-106.67206650899425,26.95104881830986],[-106.6873714878177,26.90788931830986],[-106.61477297142841,26.820842818309867],[-106.6383870557139,26.744791318309865],[-106.62453700158454,26.683558318309863],[-106.41552673236328,26.727800818309866],[-106.34284288111968,26.811532318309858],[-106.40247833141177,26.922956818309856],[-106.48364519658372,26.968849318309864],[-106.5901027113996,26.97557381830986],[-106.67206650899425,26.95104881830986]]],[[[-106.8743512794174,27.318584818309862],[-106.95385906910991,27.233378818309863],[-106.87365102641508,27.212443318309862],[-106.60839510156171,27.23390231830986],[-106.329971986028,27.154888318309858],[-106.20841720535509,27.18158081830986],[-106.09137759463795,27.247942318309864],[-106.02160452204271,27.31892081830987],[-106.06224098311128,27.34525931830986],[-106.32955113075946,27.334470268309868],[-106.37476177712728,27.39913481830986],[-106.50153299140214,27.367301818309862],[-106.81478829708749,27.41946431830987],[-106.8196443467553,27.357539818309863],[-106.8743512794174,27.318584818309862]]],[[[-108.08537911421956,27.956647318309855],[-108.15636510038496,27.949121818309855],[-108.1156589928778,27.866723818309865],[-108.13756652906989,27.81233831830986],[-108.09224078139147,27.726047818309866],[-108.10058365361573,27.68738831830986],[-108.05814130288644,27.64163831830986],[-108.04214174918206,27.527788318309856],[-107.84997603965871,27.554785318309857],[-107.71746916811958,27.540688318309865],[-107.62212128030012,27.467488318309854],[-107.53293144170925,27.497938318309867],[-107.45448649656424,27.476938318309855],[-107.3634024933304,27.54485876830986],[-107.42101311573185,27.618688318309857],[-107.38596655759613,27.76977581830987],[-107.44801920449714,27.772940818309863],[-107.53317700821418,27.74138831830986],[-107.56667011614633,27.781058818309862],[-107.52039554540318,27.87585581830987],[-107.62047543510062,28.149994318309865],[-107.76605754930574,28.087760818309864],[-107.92373977521368,27.96104681830986],[-108.08537911421956,27.956647318309855]]],[[[-110.1564241170338,28.67828381830987],[-110.18617122941907,28.60913981830986],[-110.16065456471978,28.547596318309864],[-110.02674980080172,28.481710318309865],[-109.97949443038658,28.419310318309854],[-109.7542536177283,28.383878818309864],[-109.5482735829072,28.507697818309857],[-109.49386328381894,28.64348531830986],[-109.38664612754872,28.765378318309864],[-109.38223762993277,28.855561318309856],[-109.4901978226747,28.92984281830987],[-109.54119835349013,28.910960818309853],[-109.62045020399529,28.925206318309865],[-109.66924404207424,28.886260318309873],[-109.76383456845343,28.916170318309863],[-110.03502542064291,28.790867818309852],[-110.08058661800197,28.727200318309865],[-110.1564241170338,28.67828381830987]]],[[[-110.99232788883813,28.30365581830986],[-110.94569224533905,28.25021531830986],[-110.82337922274428,28.38283331830986],[-110.6924098319239,28.425058318309862],[-110.68559015283807,28.471880818309852],[-110.60424702528303,28.55252831830987],[-110.60703136258246,28.57550831830986],[-110.68912028625044,28.573805818309864],[-110.75104143207164,28.503886318309867],[-110.85081915407153,28.46451731830986],[-110.92144004514194,28.414613818309856],[-110.99232788883813,28.30365581830986]]]]}},s9e={type:"Feature",properties:{name:"Alaska"},geometry:{type:"MultiPolygon",coordinates:[[[[-122.7926886429708,20.148124827090204],[-122.73342925165485,20.131405920916723],[-122.75745021977383,20.17904909838047],[-122.7926886429708,20.148124827090204]]],[[[-122.99250039142089,19.956898993535294],[-122.84420089151422,19.841417459721914],[-122.792609815177,19.86484231387806],[-122.99250039142089,19.956898993535294]]],[[[-123.02313421964743,20.104441675096734],[-123.0144348107421,20.065435473881923],[-122.994171978581,20.0943529264347],[-123.02313421964743,20.104441675096734]]],[[[-123.08206306798922,20.01904215984973],[-123.04374923122015,19.988796096613253],[-123.05367611453369,20.027877316867272],[-123.08206306798922,20.01904215984973]]],[[[-123.1066441957094,20.117686532237585],[-123.1006695175559,20.082761999607442],[-123.08253884015744,20.093212148384506],[-123.1066441957094,20.117686532237585]]],[[[-123.30632565438282,20.012310506219837],[-123.21850731989173,20.032063172020475],[-123.20101969494323,20.114571229685644],[-123.30632565438282,20.012310506219837]]],[[[-124.05573456261743,20.255607538913612],[-124.06620448573335,20.23820251180781],[-123.99047641535293,20.229550472679545],[-124.05573456261743,20.255607538913612]]],[[[-124.1548565212961,20.084984103342343],[-124.10816366370977,20.04207946654677],[-124.07924884087413,20.119501945955527],[-124.1548565212961,20.084984103342343]]],[[[-124.36952551514105,20.263343147888445],[-124.27207237164424,20.194819909308453],[-124.1543011003863,20.251269599445543],[-124.36952551514105,20.263343147888445]]],[[[-112.3998142680436,24.17642325037664],[-112.28211880509906,23.878308324079025],[-112.12118759458087,23.729587212600244],[-111.89635332782444,23.721806399501364],[-111.95483501009141,23.979313440017748],[-112.20075342784224,24.357703769869165],[-112.36118642705281,24.371218694881772],[-112.3998142680436,24.17642325037664]]],[[[-112.55666854674035,24.57720663570464],[-112.48018521665409,24.162092674496744],[-112.40192443002655,24.392405479322985],[-112.15365647813462,24.51406159062138],[-112.32512941577716,24.689323363053543],[-112.55666854674035,24.57720663570464]]],[[[-112.767715788028,25.240640443244324],[-112.62431793238392,24.675906636708184],[-112.49050057693404,24.79263157018713],[-112.52877771211763,25.065874427029787],[-112.767715788028,25.240640443244324]]],[[[-113.10159766297687,25.001284278742233],[-112.58112757954115,24.333530907501512],[-112.74569268283756,25.07665641164485],[-112.99738561343031,25.134211464229484],[-113.10159766297687,25.001284278742233]]],[[[-116.56777067266773,25.372080578021556],[-116.5310867438032,25.390394584514176],[-116.54560895752809,25.4198290794845],[-116.56777067266773,25.372080578021556]]],[[[-116.87873841076447,24.83162771900214],[-116.83191616629642,24.815600858931923],[-116.8391740527843,24.85298490747943],[-116.87873841076447,24.83162771900214]]],[[[-117.09432944180003,23.854137592351588],[-116.88612571458538,23.623532196939735],[-116.55224237749866,23.957544127256632],[-116.5395491515053,24.167174266583483],[-116.63577149336629,24.20555744232377],[-116.6167892923288,24.290340138012848],[-116.45895469929474,24.37766471697998],[-116.63628974580018,24.528772429776815],[-117.09432944180003,23.854137592351588]]],[[[-117.08524242962187,23.419594244629103],[-116.87678087225572,23.51591594833026],[-117.01745308870113,23.518687247543326],[-117.08524242962187,23.419594244629103]]],[[[-117.27259737622586,23.10383247833345],[-117.23566721895497,23.08390471052284],[-117.22598522279736,23.15539289534735],[-117.27259737622586,23.10383247833345]]],[[[-117.49754493618912,23.174251075797056],[-117.48412399643121,23.138666680296176],[-117.47083796073031,23.174172709179633],[-117.49754493618912,23.174251075797056]]],[[[-117.63127872796593,23.37140265132634],[-117.63870928052455,23.350966653395954],[-117.56138218321382,23.374370774600976],[-117.63127872796593,23.37140265132634]]],[[[-118.257551826542,22.475628165371802],[-118.04544648451815,22.498745192648318],[-118.09232796818412,22.63793840524038],[-118.257551826542,22.475628165371802]]],[[[-118.40025488177304,22.632492074519472],[-118.32273689272233,22.561830815176457],[-118.2446036969784,22.692776046083477],[-118.40025488177304,22.632492074519472]]],[[[-118.49429501567477,24.144676712310247],[-118.46805615064653,24.11240574015076],[-118.40871489637317,24.229540183477578],[-118.49429501567477,24.144676712310247]]],[[[-118.52550771892135,22.558832377733975],[-118.50620250443728,22.536113013958833],[-118.50409824091349,22.564695608270146],[-118.52550771892135,22.558832377733975]]],[[[-118.5865877585444,22.56091811369411],[-118.55530026859964,22.548111661646573],[-118.54821373449738,22.579461946714055],[-118.5865877585444,22.56091811369411]]],[[[-118.83051074575508,22.16783075287409],[-118.80922389593616,22.108491705574245],[-118.71653533280954,22.141665316204325],[-118.83051074575508,22.16783075287409]]],[[[-119.44206445249068,21.822727471649866],[-119.29714269336012,21.860856792151097],[-119.25640162320104,21.944478224327707],[-119.44206445249068,21.822727471649866]]],[[[-119.54714498632268,21.86498061884192],[-119.54183705052935,21.800975583207443],[-119.39517828687826,21.90272162517402],[-119.54714498632268,21.86498061884192]]],[[[-119.86848227420734,24.576437704086796],[-119.5814197084066,24.442349510538047],[-119.47292700533336,24.52633699368084],[-119.53574069829403,24.714248964627757],[-119.86848227420734,24.576437704086796]]],[[[-119.9249089967791,21.391666302622973],[-119.55026969386171,21.698751009984207],[-119.72823093613869,21.735618507092127],[-119.9249089967791,21.391666302622973]]],[[[-119.91265352240941,27.09158174406807],[-119.57775350009905,27.005801622480348],[-119.67386957674177,26.9023702357688],[-119.58870257341846,26.69474725777626],[-119.30227476181528,26.654155412857207],[-118.87522972766965,26.793511069634953],[-118.84261234648397,26.703800834601836],[-118.45847166181625,27.00980727304337],[-118.43133160427317,26.92168214724123],[-118.57200422780761,26.84025343678672],[-118.4326967056997,26.556238708325786],[-118.49876995517559,26.41909909126295],[-118.81363028942485,26.38255339338515],[-118.76630654961383,26.31342647339211],[-118.97174983930131,26.078067637662794],[-119.20543551378546,26.105330309212384],[-119.58389640364737,25.244978458804407],[-119.38586590563159,25.118841139713663],[-119.34697813152405,24.93956318742995],[-119.43558803922309,24.831187395359425],[-119.34286719887473,24.846882062216245],[-119.16112501948436,24.563118976553568],[-118.75126945449256,24.746815529028115],[-118.63568997334562,24.50995781256225],[-118.69771930379716,24.426425942170454],[-118.6516706209203,24.100722576638425],[-118.33276306481594,24.3796056444448],[-118.05268848005323,24.13973077967251],[-117.99398351606777,24.145137335923728],[-117.99379334114701,24.355821700328217],[-117.60731404776988,24.42456243977783],[-117.71962569453603,24.188803199507518],[-117.74466653671624,23.851236383546595],[-117.95773160693767,23.408109787544547],[-118.3122159530148,23.095087152961394],[-118.33248678223595,22.901290881069833],[-118.60058847530621,22.86054943441951],[-118.96871749095885,22.34374965856158],[-119.19313814304877,22.286051845327382],[-119.28475168495464,22.121942084016336],[-119.2545392277982,22.023933408202453],[-118.58211889524989,22.483040434641772],[-118.62397898565416,22.561221965685096],[-118.56824231016105,22.736143628901683],[-118.4895650455253,22.630818262557117],[-117.87314878544231,23.05636233087007],[-117.84135823658607,23.28084278952079],[-116.97374985457293,24.269204824799758],[-116.82537865111641,24.641858729039694],[-116.99083758819108,24.762304144478485],[-116.69518144491565,25.116235235472708],[-116.50359415211392,25.610150487497098],[-116.25722008839188,25.830216920264416],[-116.07628878908105,25.748941131268385],[-116.40232249010313,25.56936203665847],[-116.48378299211805,25.052657628234066],[-116.36518650655506,25.051749798902115],[-116.52300825273079,24.88705143498417],[-116.49553973413128,24.800261991685314],[-116.16304275689492,24.999414502308714],[-115.99650887957375,25.255117878566796],[-115.64699882025326,25.26394442424025],[-115.25738948043409,25.632777124981775],[-113.8542584416004,25.665761176511907],[-113.87474505125448,25.570344932873],[-113.79362400881877,25.47499274376388],[-113.11736529856114,25.082053083178657],[-112.59638111495718,25.18153688381942],[-112.36742132919011,24.752466514459297],[-112.14093538656965,24.61513268686305],[-112.10566958624861,24.533779607601293],[-112.23101958586017,24.40743845548205],[-112.00360782579776,24.258896098372972],[-111.81237609518018,23.845092945708515],[-111.58140576804607,23.805519150148292],[-111.47396461959875,24.06930096812232],[-111.55196208063421,24.444293076324332],[-111.9703728919057,24.579472265161815],[-112.50140661330033,25.389838530563154],[-112.95443390431916,25.843309427485547],[-113.34015164074606,25.353495731980036],[-113.73993627957441,25.770728688816646],[-113.76211319830429,25.915877217149234],[-114.17684125941025,25.821157926221666],[-114.4674954007902,30.058603182302807],[-114.92000596533842,30.198494619521185],[-115.2329101248647,30.048472714348666],[-116.11642404047836,30.122319499829015],[-116.55613179488483,29.99422167628973],[-116.68169464565437,30.1632423042783],[-117.00952268786364,30.0587650795822],[-117.15767550869339,30.18892186883472],[-117.31552630373727,30.02034990423595],[-117.36062246319005,30.051390806535952],[-117.2716808257232,30.138483342089845],[-117.50851485587941,30.19098002268101],[-117.70370029098274,29.961162790596294],[-118.51085523685276,29.542565438282924],[-118.74484072507744,29.26143880726765],[-118.88552489652596,28.90838633225396],[-119.4140220780115,28.682999627104564],[-119.55739985027878,28.40546918539004],[-119.07076292198656,28.189576158340657],[-118.98098101194222,28.004103985279876],[-118.46775239459947,27.697365543116497],[-119.00112904819855,27.468300027762268],[-119.04289473110691,27.520114812560596],[-118.97075062501915,27.70499906028542],[-119.12985936208906,27.682577774435853],[-119.91265352240941,27.09158174406807]]],[[[-120.25557893424866,21.06635194893392],[-119.93716549162576,21.412618618081456],[-120.02808637018944,21.455835197045527],[-120.25557893424866,21.06635194893392]]],[[[-120.40001478272552,22.81584883029637],[-120.37074114275748,22.77863218954447],[-120.3196203074649,22.809874671989384],[-120.40001478272552,22.81584883029637]]],[[[-120.45552486827194,21.023698265833357],[-120.34987457401189,21.04267139342526],[-120.34750233241823,21.162492294968555],[-120.45552486827194,21.023698265833357]]],[[[-120.53177137135572,23.055872356615797],[-120.50260334009988,23.02285507770324],[-120.46904320481201,23.054570449073346],[-120.53177137135572,23.055872356615797]]],[[[-120.60027369388712,20.92398965613366],[-120.59255031118278,20.881214291887122],[-120.53609425216723,20.95792729751363],[-120.60027369388712,20.92398965613366]]],[[[-120.71071841857571,20.83431482126511],[-120.69062311156301,20.811209997474116],[-120.68437756051367,20.84300519896518],[-120.71071841857571,20.83431482126511]]],[[[-120.73807825525381,25.951492866015975],[-120.28054924770879,25.775464287051925],[-120.10479060338628,25.92386908651319],[-120.40918321722211,26.071826545487646],[-120.71220585390631,26.057850841335693],[-120.73807825525381,25.951492866015975]]],[[[-121.00322948139103,20.685340060512395],[-120.93302174690507,20.711069573167762],[-120.96684507192828,20.732281955195724],[-121.00322948139103,20.685340060512395]]],[[[-121.06842057392294,24.558128282376558],[-121.06999794635101,24.46426119094211],[-120.89666016429408,24.4240586570819],[-121.06842057392294,24.558128282376558]]],[[[-121.61079858876042,20.438903042940755],[-121.07742940715599,20.577150710815225],[-121.29363684042534,20.545914702843884],[-121.33364920897407,20.653233860276263],[-121.61079858876042,20.438903042940755]]],[[[-121.98274780574764,20.188330922775798],[-121.63822800780474,20.394472650016933],[-121.78210767811049,20.427116744825227],[-121.98274780574764,20.188330922775798]]],[[[-122.14647603684779,20.179431708097002],[-122.01812324794764,20.195841899922],[-122.01777516696689,20.29630573059612],[-122.14647603684779,20.179431708097002]]],[[[-122.26657921071478,20.228721883118705],[-122.20015142291044,20.099963943552723],[-122.16586185174111,20.18891127954657],[-122.26657921071478,20.228721883118705]]],[[[-122.4226846062308,20.03998756811677],[-122.3534895953643,20.051841253197676],[-122.37489286016017,20.0760321040194],[-122.4226846062308,20.03998756811677]]],[[[-122.42053257814649,20.16438847431099],[-122.40116476293849,20.126002905416286],[-122.39852576241867,20.175426473502977],[-122.42053257814649,20.16438847431099]]],[[[-122.48650818616852,19.891343872718856],[-122.4263654792743,19.932766028298474],[-122.44633659142414,19.962707388305827],[-122.48650818616852,19.891343872718856]]]]}},I0="_FeatureMin",A0="_FeatureMax",gW=e=>fW[e]||e,n9e=s9e,r9e=o9e,fW={AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"},a9e={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.477,39.721]]]},properties:{name:I0}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.477,39.721]]]},properties:{name:A0}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.487,39.206],[-79.091,39.472],[-78.707,39.556],[-78.461,39.526],[-78.383,39.622],[-78.082,39.671],[-77.83,39.587],[-77.72,39.321],[-77.46,39.219],[-77.463,39.076],[-77.12,38.934],[-77.039,38.792],[-77.13,38.635],[-76.864,38.269],[-76.591,38.214],[-76.393,38.24],[-76.393,38.389],[-76.518,38.539],[-76.559,38.756],[-76.45,38.941],[-76.425,39.206],[-76.233,39.091],[-76.362,38.939],[-76.336,38.492],[-76.218,38.306],[-75.889,38.241],[-75.899,37.975],[-75.67,37.951],[-75.242,38.027],[-75.049,38.451],[-75.694,38.46],[-75.789,39.722],[-77.469,39.72],[-79.477,39.721]]]},properties:{name:"Maryland"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-96.453,43.5],[-96.522,43.221],[-96.439,43.114],[-96.622,42.779],[-96.446,42.491],[-96.348,42.167],[-96.065,41.793],[-96.118,41.613],[-95.923,41.456],[-95.811,40.887],[-95.889,40.736],[-95.766,40.585],[-94.534,40.571],[-93.136,40.583],[-91.729,40.614],[-91.419,40.378],[-91.34,40.613],[-91.121,40.673],[-90.952,40.954],[-90.957,41.111],[-91.114,41.25],[-91.028,41.424],[-90.701,41.455],[-90.34,41.599],[-90.181,41.812],[-90.161,42.106],[-90.431,42.278],[-90.643,42.508],[-90.701,42.626],[-90.942,42.684],[-91.138,42.904],[-91.175,43.135],[-91.058,43.254],[-91.218,43.501],[-92.449,43.5],[-93.971,43.5],[-94.855,43.501],[-96.453,43.5]]]},properties:{name:"Iowa"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-75.415,39.802],[-75.57,39.839],[-75.789,39.722],[-75.694,38.46],[-75.049,38.451],[-75.089,38.797],[-75.304,38.913],[-75.408,39.265],[-75.528,39.498],[-75.559,39.63],[-75.415,39.802]]]},properties:{name:"Delaware"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-84.806,41.696],[-84.804,40.353],[-84.82,39.105],[-84.462,39.122],[-84.327,39.027],[-84.213,38.806],[-83.852,38.751],[-83.679,38.63],[-83.533,38.702],[-83.287,38.599],[-82.889,38.756],[-82.851,38.604],[-82.594,38.422],[-82.324,38.449],[-82.175,38.608],[-82.209,38.803],[-82.007,39.03],[-81.898,38.93],[-81.678,39.274],[-81.456,39.409],[-81.348,39.346],[-81.129,39.449],[-80.83,39.712],[-80.803,39.919],[-80.607,40.304],[-80.668,40.582],[-80.519,40.639],[-80.519,41.978],[-81.287,41.76],[-81.739,41.489],[-81.995,41.514],[-82.461,41.386],[-82.834,41.588],[-83.067,41.595],[-83.454,41.733],[-84.806,41.696]]]},properties:{name:"Ohio"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-80.519,41.978],[-80.519,40.639],[-80.519,39.721],[-79.477,39.721],[-77.469,39.72],[-75.789,39.722],[-75.57,39.839],[-75.415,39.802],[-74.722,40.154],[-75.187,40.569],[-75.133,40.98],[-74.695,41.357],[-74.982,41.496],[-75.113,41.841],[-75.341,41.993],[-76.462,41.999],[-77.832,41.999],[-79.761,41.999],[-79.762,42.27],[-80.519,41.978]]]},properties:{name:"Pennsylvania"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.053,43.001],[-104.053,42.25],[-104.053,41.001],[-102.052,41.002],[-102.052,40.003],[-101.06,40.002],[-99.813,40.001],[-98.076,40.002],[-96.47,40.001],[-95.308,40],[-95.473,40.236],[-95.654,40.323],[-95.766,40.585],[-95.889,40.736],[-95.811,40.887],[-95.923,41.456],[-96.118,41.613],[-96.065,41.793],[-96.348,42.167],[-96.446,42.491],[-96.611,42.506],[-96.698,42.659],[-97.131,42.772],[-97.238,42.853],[-97.858,42.865],[-97.95,42.77],[-98.435,42.929],[-98.499,42.999],[-100.198,42.998],[-102.082,42.999],[-104.053,43.001]]]},properties:{name:"Nebraska"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-123.237,48.683],[-123.141,48.505],[-122.874,48.418],[-122.743,48.662],[-122.938,48.79],[-123.237,48.683]]],[[[-117.032,48.999],[-118.837,49],[-120.001,48.999],[-121.751,48.997],[-122.758,49.002],[-122.643,48.588],[-122.76,48.143],[-123.004,48.091],[-124.051,48.178],[-124.653,48.391],[-124.722,48.153],[-124.672,47.964],[-124.412,47.691],[-124.319,47.356],[-124.236,47.287],[-124.081,46.735],[-124.081,46.267],[-123.548,46.259],[-123.28,46.145],[-123.116,46.185],[-122.814,45.961],[-122.775,45.68],[-122.263,45.544],[-121.811,45.707],[-121.533,45.727],[-121.085,45.648],[-120.591,45.747],[-120.211,45.726],[-119.966,45.824],[-119.126,45.933],[-118.987,46],[-116.916,45.995],[-117.036,46.41],[-117.042,47.735],[-117.032,48.999]]]]},properties:{name:"Washington"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-88.2,34.996],[-88.098,34.892],[-88.317,33.184],[-88.469,31.933],[-88.395,30.369],[-88.136,30.321],[-88.062,30.645],[-87.797,30.324],[-87.518,30.28],[-87.452,30.344],[-87.4,30.657],[-87.635,30.866],[-87.599,30.997],[-85.894,30.993],[-85.002,31.001],[-85.108,31.186],[-85.042,31.545],[-85.142,31.839],[-85.059,32.136],[-84.892,32.263],[-85.184,32.861],[-85.429,34.125],[-85.605,34.985],[-86.784,34.992],[-88.2,34.996]]]},properties:{name:"Alabama"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-94.618,36.499],[-94.432,35.37],[-94.486,33.638],[-94.354,33.556],[-94.043,33.551],[-94.043,33.019],[-92.223,33.009],[-91.166,33.004],[-91.069,33.233],[-91.216,33.529],[-91.027,33.764],[-91.061,33.878],[-90.895,34.224],[-90.575,34.415],[-90.587,34.616],[-90.474,34.789],[-90.25,34.907],[-90.309,34.996],[-90.091,35.118],[-90.122,35.305],[-89.958,35.542],[-89.957,35.695],[-89.723,35.809],[-89.733,36.001],[-90.369,35.996],[-90.064,36.303],[-90.154,36.495],[-91.127,36.498],[-92.35,36.498],[-93.959,36.499],[-94.618,36.499]]]},properties:{name:"Arkansas"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-109.045,36.999],[-109.046,36.117],[-109.046,34.96],[-109.046,33.875],[-109.047,32.778],[-109.05,31.333],[-108.209,31.333],[-108.208,31.784],[-106.528,31.783],[-106.618,32],[-104.644,32],[-103.064,32.001],[-103.065,32.849],[-103.044,34.079],[-103.043,35.183],[-103.042,36.5],[-103.002,36.5],[-103.002,37],[-104.732,36.993],[-106.006,36.995],[-108.001,37],[-109.045,36.999]]]},properties:{name:"New Mexico"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-103.002,36.5],[-103.042,36.5],[-103.043,35.183],[-103.044,34.079],[-103.065,32.849],[-103.064,32.001],[-104.644,32],[-106.618,32],[-106.528,31.783],[-106.418,31.752],[-106.176,31.456],[-105.954,31.365],[-105.773,31.167],[-105.315,30.817],[-105.001,30.673],[-104.86,30.39],[-104.703,30.212],[-104.672,29.911],[-104.54,29.676],[-104.144,29.383],[-103.789,29.258],[-103.281,28.982],[-102.871,29.242],[-102.809,29.522],[-102.677,29.738],[-102.393,29.766],[-102.301,29.878],[-101.966,29.807],[-101.401,29.738],[-101.255,29.52],[-101.06,29.459],[-100.675,29.1],[-100.5,28.662],[-100.397,28.576],[-100.268,28.25],[-99.932,27.968],[-99.845,27.779],[-99.557,27.614],[-99.43,27.159],[-99.447,27.026],[-99.269,26.843],[-99.111,26.426],[-98.807,26.369],[-98.654,26.236],[-98.443,26.199],[-98.197,26.056],[-97.795,26.055],[-97.423,25.84],[-97.146,25.971],[-97.197,26.306],[-97.323,26.702],[-97.379,27.06],[-97.296,27.427],[-97.141,27.717],[-96.886,28.031],[-96.194,28.502],[-95.382,28.866],[-95.026,29.148],[-94.723,29.331],[-94.595,29.468],[-94.057,29.671],[-93.838,29.691],[-93.929,29.803],[-93.704,30.054],[-93.729,30.545],[-93.531,30.925],[-93.535,31.186],[-93.835,31.586],[-93.803,31.701],[-94.042,31.992],[-94.043,33.019],[-94.043,33.551],[-94.354,33.556],[-94.486,33.638],[-94.842,33.739],[-95.226,33.962],[-95.283,33.878],[-95.557,33.927],[-96.152,33.832],[-96.363,33.694],[-96.593,33.831],[-96.851,33.847],[-96.952,33.945],[-97.206,33.81],[-97.444,33.824],[-97.672,33.991],[-97.866,33.849],[-98.099,34.104],[-98.364,34.157],[-98.737,34.131],[-99.19,34.214],[-99.275,34.387],[-99.696,34.381],[-100,34.561],[-100,35.619],[-100,36.5],[-101.624,36.5],[-103.002,36.5]]]},properties:{name:"Texas"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-120.368,34.076],[-120.122,33.896],[-120.055,34.038],[-120.368,34.076]]],[[[-124.212,41.998],[-124.063,41.44],[-124.164,41.139],[-124.118,40.989],[-124.41,40.438],[-124.363,40.261],[-124.087,40.078],[-123.852,39.832],[-123.766,39.553],[-123.825,39.361],[-123.691,39.021],[-123.711,38.913],[-123.166,38.475],[-123.004,38.297],[-122.94,38.032],[-122.537,37.83],[-122.394,38.143],[-122.263,38.051],[-122.313,37.777],[-122.163,37.668],[-122.517,37.521],[-122.397,37.187],[-122.106,36.956],[-121.906,36.969],[-121.792,36.815],[-121.97,36.583],[-121.888,36.303],[-121.68,36.166],[-121.272,35.667],[-121.003,35.461],[-120.897,35.248],[-120.636,35.124],[-120.61,34.858],[-120.646,34.581],[-120.451,34.447],[-120.141,34.473],[-119.874,34.409],[-119.617,34.421],[-119.27,34.253],[-119.11,34.095],[-118.805,34.001],[-118.52,34.028],[-118.397,33.736],[-118.133,33.753],[-117.646,33.441],[-117.446,33.269],[-117.281,33.012],[-117.282,32.84],[-117.125,32.534],[-115.465,32.667],[-114.72,32.719],[-114.469,32.845],[-114.511,33.023],[-114.671,33.038],[-114.707,33.377],[-114.525,33.552],[-114.535,33.928],[-114.428,34.093],[-114.139,34.26],[-114.335,34.45],[-114.465,34.691],[-114.634,34.873],[-114.633,35.002],[-115.648,35.809],[-116.488,36.459],[-117.681,37.353],[-118.95,38.269],[-120.001,39],[-119.998,39.957],[-120,41.184],[-119.999,41.995],[-121.035,41.993],[-122.501,42.008],[-124.212,41.998]]]]},properties:{name:"California"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-89.133,36.982],[-89.165,36.662],[-89.539,36.498],[-88.05,36.5],[-88.071,36.678],[-87.853,36.633],[-86.508,36.652],[-85.874,36.624],[-84.785,36.603],[-83.675,36.601],[-83.136,36.743],[-82.895,36.882],[-82.726,37.112],[-82.355,37.265],[-81.968,37.538],[-82.296,37.686],[-82.626,38.135],[-82.594,38.422],[-82.851,38.604],[-82.889,38.756],[-83.287,38.599],[-83.533,38.702],[-83.679,38.63],[-83.852,38.751],[-84.213,38.806],[-84.327,39.027],[-84.462,39.122],[-84.82,39.105],[-84.786,38.882],[-85.187,38.688],[-85.449,38.713],[-85.416,38.546],[-85.816,38.283],[-85.922,38.029],[-86.206,38.022],[-86.321,38.147],[-86.722,37.893],[-86.811,37.997],[-87.18,37.841],[-87.419,37.945],[-87.626,37.852],[-87.873,37.921],[-88.028,37.799],[-88.16,37.654],[-88.062,37.488],[-88.466,37.401],[-88.476,37.068],[-88.932,37.228],[-89.168,37.074],[-89.133,36.982]]]},properties:{name:"Kentucky"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-85.605,34.985],[-85.429,34.125],[-85.184,32.861],[-84.892,32.263],[-85.059,32.136],[-85.142,31.839],[-85.042,31.545],[-85.108,31.186],[-85.002,31.001],[-84.865,30.712],[-83.131,30.624],[-82.219,30.564],[-82.18,30.369],[-82.041,30.37],[-82.033,30.751],[-81.943,30.827],[-81.444,30.71],[-81.402,31.125],[-81.305,31.206],[-81.131,31.723],[-80.886,32.035],[-81.113,32.113],[-81.195,32.465],[-81.397,32.606],[-81.502,33.015],[-81.755,33.152],[-81.933,33.344],[-81.926,33.463],[-82.162,33.611],[-82.324,33.82],[-82.557,33.945],[-82.715,34.148],[-82.874,34.472],[-83.048,34.493],[-83.339,34.682],[-83.324,34.79],[-83.109,35.001],[-84.322,34.988],[-85.605,34.985]]]},properties:{name:"Georgia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-92.015,46.706],[-92.292,46.663],[-92.294,46.074],[-92.721,45.884],[-92.87,45.715],[-92.647,45.438],[-92.762,45.285],[-92.751,44.942],[-92.805,44.768],[-92.549,44.578],[-91.964,44.362],[-91.893,44.231],[-91.441,44.002],[-91.244,43.773],[-91.218,43.501],[-91.058,43.254],[-91.175,43.135],[-91.138,42.904],[-90.942,42.684],[-90.701,42.626],[-90.643,42.508],[-88.707,42.494],[-87.8,42.492],[-87.767,42.785],[-87.896,43.016],[-87.889,43.308],[-87.706,43.68],[-87.736,43.874],[-87.447,44.586],[-87.063,45.079],[-87.265,45.081],[-87.581,44.852],[-87.775,44.639],[-87.983,44.72],[-87.813,44.954],[-87.59,45.095],[-87.863,45.353],[-87.781,45.674],[-88.135,45.822],[-88.115,45.922],[-88.527,46.021],[-88.812,46.022],[-89.092,46.139],[-90.12,46.337],[-90.215,46.5],[-90.418,46.566],[-90.755,46.646],[-90.881,46.74],[-90.745,46.894],[-90.924,47.002],[-91.168,46.845],[-91.82,46.69],[-92.015,46.706]]]},properties:{name:"Wisconsin"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-123.548,46.259],[-123.959,46.142],[-123.939,45.709],[-123.975,45.145],[-124.074,44.798],[-124.065,44.633],[-124.15,43.911],[-124.234,43.557],[-124.552,42.841],[-124.413,42.658],[-124.411,42.251],[-124.212,41.998],[-122.501,42.008],[-121.035,41.993],[-119.999,41.995],[-118.776,41.993],[-117.026,42],[-117.024,43.824],[-116.896,44.154],[-117.243,44.391],[-117.062,44.727],[-116.834,44.929],[-116.675,45.314],[-116.464,45.616],[-116.593,45.779],[-116.788,45.84],[-116.916,45.995],[-118.987,46],[-119.126,45.933],[-119.966,45.824],[-120.211,45.726],[-120.591,45.747],[-121.085,45.648],[-121.533,45.727],[-121.811,45.707],[-122.263,45.544],[-122.775,45.68],[-122.814,45.961],[-123.116,46.185],[-123.28,46.145],[-123.548,46.259]]]},properties:{name:"Oregon"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-95.766,40.585],[-95.654,40.323],[-95.473,40.236],[-95.308,40],[-94.86,39.75],[-95.114,39.554],[-94.8,39.206],[-94.607,39.113],[-94.613,38.238],[-94.618,36.999],[-94.618,36.499],[-93.959,36.499],[-92.35,36.498],[-91.127,36.498],[-90.154,36.495],[-90.064,36.303],[-90.369,35.996],[-89.733,36.001],[-89.523,36.345],[-89.539,36.498],[-89.165,36.662],[-89.133,36.982],[-89.359,37.043],[-89.495,37.325],[-89.522,37.696],[-90.219,38.094],[-90.373,38.323],[-90.185,38.612],[-90.113,38.849],[-90.468,38.962],[-90.657,38.92],[-90.73,39.256],[-91.038,39.448],[-91.368,39.729],[-91.512,40.17],[-91.419,40.378],[-91.729,40.614],[-93.136,40.583],[-94.534,40.571],[-95.766,40.585]]]},properties:{name:"Missouri"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-75.67,37.951],[-75.941,37.564],[-76.023,37.289],[-75.817,37.193],[-75.658,37.452],[-75.552,37.748],[-75.242,38.027],[-75.67,37.951]]],[[[-81.968,37.538],[-82.355,37.265],[-82.726,37.112],[-82.895,36.882],[-83.136,36.743],[-83.675,36.601],[-81.678,36.588],[-80.295,36.544],[-78.51,36.541],[-76.917,36.546],[-75.867,36.551],[-75.996,36.922],[-76.268,36.965],[-76.394,37.225],[-76.25,37.422],[-76.329,37.671],[-76.237,37.889],[-76.614,38.149],[-76.962,38.214],[-77.048,38.36],[-77.265,38.333],[-77.323,38.467],[-77.13,38.635],[-77.039,38.792],[-77.12,38.934],[-77.463,39.076],[-77.46,39.219],[-77.72,39.321],[-77.828,39.132],[-78.347,39.466],[-78.414,39.158],[-78.773,38.894],[-78.999,38.84],[-79.298,38.416],[-79.649,38.592],[-79.788,38.273],[-80.292,37.684],[-80.292,37.537],[-80.545,37.475],[-80.919,37.306],[-81.225,37.235],[-81.362,37.338],[-81.561,37.207],[-81.85,37.285],[-81.968,37.538]]]]},properties:{name:"Virginia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-89.733,36.001],[-89.723,35.809],[-89.957,35.695],[-89.958,35.542],[-90.122,35.305],[-90.091,35.118],[-90.309,34.996],[-89.435,34.994],[-88.2,34.996],[-86.784,34.992],[-85.605,34.985],[-84.322,34.988],[-84.283,35.227],[-84.098,35.247],[-84.022,35.407],[-83.772,35.562],[-83.498,35.563],[-83.162,35.763],[-82.978,35.783],[-82.779,35.993],[-82.211,36.159],[-82.029,36.124],[-81.908,36.302],[-81.734,36.413],[-81.678,36.588],[-83.675,36.601],[-84.785,36.603],[-85.874,36.624],[-86.508,36.652],[-87.853,36.633],[-88.071,36.678],[-88.05,36.5],[-89.539,36.498],[-89.523,36.345],[-89.733,36.001]]]},properties:{name:"Tennessee"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-94.043,33.019],[-94.042,31.992],[-93.803,31.701],[-93.835,31.586],[-93.535,31.186],[-93.531,30.925],[-93.729,30.545],[-93.704,30.054],[-93.929,29.803],[-93.838,29.691],[-93.538,29.763],[-93.177,29.77],[-92.684,29.605],[-92.323,29.531],[-92.065,29.586],[-91.822,29.474],[-91.711,29.569],[-91.394,29.497],[-91.279,29.248],[-90.942,29.162],[-90.868,29.056],[-90.224,29.085],[-89.843,29.319],[-89.483,29.215],[-89.361,29.072],[-89.149,29.03],[-89.014,29.167],[-89.2,29.344],[-89.482,29.406],[-89.602,29.61],[-89.404,29.682],[-89.236,29.877],[-89.186,30.064],[-89.445,30.061],[-89.702,29.874],[-89.845,30.018],[-89.525,30.181],[-89.608,30.217],[-89.836,30.727],[-89.728,31.002],[-90.759,31],[-91.56,31.05],[-91.644,31.234],[-91.536,31.338],[-91.36,31.799],[-91.035,32.101],[-90.921,32.342],[-91.053,32.438],[-91.114,32.74],[-91.072,32.938],[-91.166,33.004],[-92.223,33.009],[-94.043,33.019]]]},properties:{name:"Louisiana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.762,42.27],[-79.761,41.999],[-77.832,41.999],[-76.462,41.999],[-75.341,41.993],[-75.113,41.841],[-74.982,41.496],[-74.695,41.357],[-73.894,40.997],[-74.087,40.652],[-74.261,40.502],[-73.013,40.68],[-71.937,41.006],[-72.283,41.068],[-72.585,40.998],[-73.11,40.972],[-73.229,40.905],[-73.657,40.985],[-73.728,41.101],[-73.551,41.295],[-73.487,42.05],[-73.508,42.086],[-73.265,42.746],[-73.242,43.535],[-73.415,43.658],[-73.351,43.77],[-73.437,44.043],[-73.294,44.441],[-73.39,44.62],[-73.343,45.011],[-74.234,44.992],[-74.835,45.015],[-75.256,44.858],[-75.766,44.516],[-75.95,44.349],[-76.287,44.204],[-76.412,43.926],[-76.229,43.804],[-76.236,43.529],[-76.418,43.521],[-76.685,43.353],[-76.952,43.271],[-77.341,43.281],[-77.551,43.236],[-77.76,43.341],[-78.547,43.37],[-79.07,43.262],[-79.074,43.078],[-78.851,42.792],[-79.139,42.564],[-79.762,42.27]]]},properties:{name:"New York"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-83.454,41.733],[-83.442,41.809],[-83.134,42.088],[-83.097,42.29],[-82.924,42.352],[-82.859,42.542],[-82.679,42.522],[-82.51,42.637],[-82.416,43.006],[-82.523,43.225],[-82.634,43.831],[-82.929,44.069],[-83.407,43.92],[-83.683,43.591],[-83.948,43.735],[-83.869,43.961],[-83.584,44.057],[-83.525,44.262],[-83.337,44.333],[-83.266,45.027],[-83.385,45.274],[-84.196,45.621],[-84.462,45.652],[-84.719,45.778],[-84.867,45.752],[-85.12,45.569],[-85.041,45.437],[-85.372,45.271],[-85.381,45.046],[-86.059,44.911],[-86.089,44.741],[-86.248,44.699],[-86.269,44.345],[-86.515,44.058],[-86.431,43.841],[-86.541,43.645],[-86.255,43.083],[-86.208,42.763],[-86.356,42.254],[-86.598,41.918],[-86.825,41.76],[-84.806,41.76],[-84.806,41.696],[-83.454,41.733]]],[[[-89.221,47.908],[-89.158,47.824],[-88.579,48.041],[-88.632,48.148],[-89.221,47.908]]],[[[-90.418,46.566],[-90.215,46.5],[-90.12,46.337],[-89.092,46.139],[-88.812,46.022],[-88.527,46.021],[-88.115,45.922],[-88.135,45.822],[-87.781,45.674],[-87.863,45.353],[-87.59,45.095],[-87.172,45.662],[-86.964,45.673],[-86.773,45.811],[-86.541,45.708],[-86.278,45.942],[-85.914,45.919],[-85.541,46.08],[-85.152,46.051],[-84.793,45.859],[-84.633,45.951],[-84.08,45.971],[-83.526,45.919],[-83.599,46.09],[-83.882,46.042],[-84.115,46.174],[-84.118,46.518],[-84.969,46.476],[-85.028,46.675],[-85.257,46.753],[-85.482,46.68],[-86.138,46.673],[-86.558,46.487],[-86.811,46.45],[-86.977,46.527],[-87.367,46.507],[-87.595,46.783],[-88.144,46.967],[-88.455,46.923],[-88.194,47.209],[-87.943,47.336],[-87.929,47.479],[-88.218,47.449],[-89.415,46.844],[-89.832,46.804],[-90.045,46.668],[-90.418,46.566]]]]},properties:{name:"Michigan"}},r9e,{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-116.916,45.995],[-116.788,45.84],[-116.593,45.779],[-116.464,45.616],[-116.675,45.314],[-116.834,44.929],[-117.062,44.727],[-117.243,44.391],[-116.896,44.154],[-117.024,43.824],[-117.026,42],[-115.87,41.997],[-114.042,41.994],[-112.11,41.998],[-111.047,42.002],[-111.045,43.316],[-111.049,44.474],[-111.324,44.724],[-111.563,44.555],[-112.473,44.48],[-113.007,44.472],[-113.131,44.765],[-113.422,44.843],[-113.452,45.059],[-113.736,45.325],[-113.807,45.602],[-113.972,45.701],[-114.279,45.481],[-114.506,45.559],[-114.402,45.961],[-114.48,46.03],[-114.422,46.387],[-114.321,46.647],[-114.547,46.644],[-114.943,46.868],[-115.327,47.256],[-115.71,47.418],[-115.724,47.697],[-116.049,48],[-116.049,49.001],[-117.032,48.999],[-117.042,47.735],[-117.036,46.41],[-116.916,45.995]]]},properties:{name:"Idaho"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-81.812,24.569],[-81.685,24.559],[-81.243,24.674],[-81.444,24.813],[-81.751,24.654],[-81.812,24.569]]],[[[-85.002,31.001],[-85.894,30.993],[-87.599,30.997],[-87.635,30.866],[-87.4,30.657],[-87.452,30.344],[-87.518,30.28],[-86.633,30.396],[-86.223,30.344],[-86,30.271],[-85.385,29.921],[-85.353,29.66],[-85.045,29.587],[-84.565,29.81],[-84.29,30.057],[-84.063,30.101],[-83.679,29.919],[-83.402,29.523],[-83.17,29.29],[-82.824,29.099],[-82.657,28.545],[-82.764,28.244],[-82.86,28.174],[-82.847,27.854],[-82.705,27.625],[-82.692,27.437],[-82.54,27.254],[-82.265,26.757],[-82.181,26.476],[-81.924,26.437],[-81.845,26.328],[-81.727,25.907],[-81.384,25.777],[-81.147,25.408],[-81.171,25.246],[-81.08,25.119],[-80.812,25.186],[-80.495,25.2],[-80.358,25.153],[-80.301,25.613],[-80.11,25.818],[-80.11,26.087],[-80.039,26.569],[-80.046,26.859],[-80.384,27.74],[-80.548,28.049],[-80.607,28.336],[-80.525,28.459],[-80.584,28.598],[-80.966,29.148],[-81.257,29.785],[-81.396,30.34],[-81.444,30.71],[-81.943,30.827],[-82.033,30.751],[-82.041,30.37],[-82.18,30.369],[-82.219,30.564],[-83.131,30.624],[-84.865,30.712],[-85.002,31.001]]]]},properties:{name:"Florida"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-91.419,40.378],[-91.512,40.17],[-91.368,39.729],[-91.038,39.448],[-90.73,39.256],[-90.657,38.92],[-90.468,38.962],[-90.113,38.849],[-90.185,38.612],[-90.373,38.323],[-90.219,38.094],[-89.522,37.696],[-89.495,37.325],[-89.359,37.043],[-89.133,36.982],[-89.168,37.074],[-88.932,37.228],[-88.476,37.068],[-88.466,37.401],[-88.062,37.488],[-88.16,37.654],[-88.028,37.799],[-88.031,38.031],[-87.499,38.758],[-87.625,39.102],[-87.532,39.348],[-87.526,40.535],[-87.524,41.708],[-87.682,42.076],[-87.835,42.302],[-87.8,42.492],[-88.707,42.494],[-90.643,42.508],[-90.431,42.278],[-90.161,42.106],[-90.181,41.812],[-90.34,41.599],[-90.701,41.455],[-91.028,41.424],[-91.114,41.25],[-90.957,41.111],[-90.952,40.954],[-91.121,40.673],[-91.34,40.613],[-91.419,40.378]]]},properties:{name:"Illinois"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-116.049,49.001],[-116.049,48],[-115.724,47.697],[-115.71,47.418],[-115.327,47.256],[-114.943,46.868],[-114.547,46.644],[-114.321,46.647],[-114.422,46.387],[-114.48,46.03],[-114.402,45.961],[-114.506,45.559],[-114.279,45.481],[-113.972,45.701],[-113.807,45.602],[-113.736,45.325],[-113.452,45.059],[-113.422,44.843],[-113.131,44.765],[-113.007,44.472],[-112.473,44.48],[-111.563,44.555],[-111.324,44.724],[-111.049,44.474],[-111.044,45.001],[-108.621,45],[-106.264,44.994],[-104.058,44.997],[-104.045,45.945],[-104.042,47.803],[-104.049,49],[-106.051,48.999],[-107.441,48.999],[-109.001,48.999],[-111.501,48.997],[-113.693,48.998],[-116.049,49.001]]]},properties:{name:"Montana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-97.229,49.001],[-97.1,48.668],[-97.147,48.169],[-96.854,47.572],[-96.791,46.637],[-96.601,46.32],[-96.564,45.935],[-96.587,45.816],[-96.826,45.654],[-96.711,45.437],[-96.458,45.308],[-96.453,43.5],[-94.855,43.501],[-93.971,43.5],[-92.449,43.5],[-91.218,43.501],[-91.244,43.773],[-91.441,44.002],[-91.893,44.231],[-91.964,44.362],[-92.549,44.578],[-92.805,44.768],[-92.751,44.942],[-92.762,45.285],[-92.647,45.438],[-92.87,45.715],[-92.721,45.884],[-92.294,46.074],[-92.292,46.663],[-92.015,46.706],[-92.062,46.804],[-91.457,47.139],[-90.868,47.557],[-90.537,47.703],[-89.974,47.831],[-89.868,47.99],[-90.136,48.112],[-90.704,48.096],[-90.844,48.244],[-91.25,48.084],[-91.543,48.053],[-91.715,48.199],[-91.981,48.248],[-92.955,48.631],[-93.207,48.642],[-93.468,48.546],[-93.815,48.527],[-93.844,48.629],[-94.447,48.693],[-94.694,48.789],[-94.816,49.321],[-95.153,49.384],[-95.154,48.999],[-97.229,49.001]]]},properties:{name:"Minnesota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-87.524,41.708],[-87.526,40.535],[-87.532,39.348],[-87.625,39.102],[-87.499,38.758],[-88.031,38.031],[-88.028,37.799],[-87.873,37.921],[-87.626,37.852],[-87.419,37.945],[-87.18,37.841],[-86.811,37.997],[-86.722,37.893],[-86.321,38.147],[-86.206,38.022],[-85.922,38.029],[-85.816,38.283],[-85.416,38.546],[-85.449,38.713],[-85.187,38.688],[-84.786,38.882],[-84.82,39.105],[-84.804,40.353],[-84.806,41.696],[-84.806,41.76],[-86.825,41.76],[-87.262,41.62],[-87.524,41.708]]]},properties:{name:"Indiana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.265,42.746],[-73.508,42.086],[-73.487,42.05],[-71.799,42.008],[-71.381,42.019],[-71.329,41.783],[-71.133,41.66],[-71.121,41.497],[-70.91,41.577],[-70.734,41.486],[-70.322,41.631],[-70.662,41.961],[-70.731,42.211],[-70.975,42.356],[-70.655,42.582],[-70.817,42.872],[-71.15,42.815],[-71.294,42.697],[-72.459,42.727],[-73.265,42.746]]]},properties:{name:"Massachusetts"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-102.052,40.003],[-102.046,38.698],[-102.042,36.993],[-100.856,36.999],[-99.129,36.999],[-97.462,36.999],[-95.787,36.999],[-94.618,36.999],[-94.613,38.238],[-94.607,39.113],[-94.8,39.206],[-95.114,39.554],[-94.86,39.75],[-95.308,40],[-96.47,40.001],[-98.076,40.002],[-99.813,40.001],[-101.06,40.002],[-102.052,40.003]]]},properties:{name:"Kansas"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-119.999,41.995],[-120,41.184],[-119.998,39.957],[-120.001,39],[-118.95,38.269],[-117.681,37.353],[-116.488,36.459],[-115.648,35.809],[-114.633,35.002],[-114.573,35.139],[-114.664,35.449],[-114.736,36.104],[-114.372,36.143],[-114.152,36.025],[-114.047,36.194],[-114.051,37],[-114.05,37.881],[-114.049,39.006],[-114.046,40.398],[-114.042,41.994],[-115.87,41.997],[-117.026,42],[-118.776,41.993],[-119.999,41.995]]]},properties:{name:"Nevada"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.343,45.011],[-73.39,44.62],[-73.294,44.441],[-73.437,44.043],[-73.351,43.77],[-73.415,43.658],[-73.242,43.535],[-73.265,42.746],[-72.459,42.727],[-72.54,42.805],[-72.445,43.004],[-72.379,43.574],[-72.183,43.808],[-72.037,44.103],[-72.046,44.292],[-71.819,44.353],[-71.58,44.502],[-71.627,44.747],[-71.501,45.013],[-72.349,45.006],[-73.343,45.011]]]},properties:{name:"Vermont"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.487,42.05],[-73.551,41.295],[-73.728,41.101],[-73.657,40.985],[-73.422,41.048],[-72.936,41.258],[-72.547,41.25],[-71.861,41.32],[-71.798,41.417],[-71.799,42.008],[-73.487,42.05]]]},properties:{name:"Connecticut"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-75.415,39.802],[-75.559,39.63],[-75.528,39.498],[-75.244,39.286],[-74.886,39.144],[-74.647,39.212],[-74.413,39.361],[-74.101,39.756],[-73.971,40.348],[-74.261,40.502],[-74.087,40.652],[-73.894,40.997],[-74.695,41.357],[-75.133,40.98],[-75.187,40.569],[-74.722,40.154],[-75.415,39.802]]]},properties:{name:"New Jersey"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-81.678,36.588],[-81.734,36.413],[-81.908,36.302],[-82.029,36.124],[-82.211,36.159],[-82.779,35.993],[-82.978,35.783],[-83.162,35.763],[-83.498,35.563],[-83.772,35.562],[-84.022,35.407],[-84.098,35.247],[-84.283,35.227],[-84.322,34.988],[-83.109,35.001],[-82.411,35.202],[-81.043,35.149],[-80.782,34.936],[-80.797,34.824],[-79.675,34.805],[-78.541,33.851],[-78.137,33.912],[-77.96,33.853],[-77.829,34.163],[-77.635,34.36],[-77.137,34.633],[-76.727,34.697],[-76.536,34.589],[-76.137,34.988],[-75.913,35.12],[-75.534,35.226],[-75.459,35.597],[-75.718,36.114],[-75.867,36.551],[-76.917,36.546],[-78.51,36.541],[-80.295,36.544],[-81.678,36.588]]]},properties:{name:"North Carolina"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-114.042,41.994],[-114.046,40.398],[-114.049,39.006],[-114.05,37.881],[-114.051,37],[-112.966,37],[-111.278,37],[-110.001,36.998],[-109.045,36.999],[-109.042,38.165],[-109.06,38.275],[-109.051,39.875],[-109.05,41.001],[-111.047,40.998],[-111.047,42.002],[-112.11,41.998],[-114.042,41.994]]]},properties:{name:"Utah"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.049,49],[-104.042,47.803],[-104.045,45.945],[-102.088,45.945],[-100.762,45.944],[-99.49,45.94],[-97.777,45.935],[-96.564,45.935],[-96.601,46.32],[-96.791,46.637],[-96.854,47.572],[-97.147,48.169],[-97.1,48.668],[-97.229,49.001],[-98.869,49],[-99.914,48.999],[-102.217,48.999],[-104.049,49]]]},properties:{name:"North Dakota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-83.109,35.001],[-83.324,34.79],[-83.339,34.682],[-83.048,34.493],[-82.874,34.472],[-82.715,34.148],[-82.557,33.945],[-82.324,33.82],[-82.162,33.611],[-81.926,33.463],[-81.933,33.344],[-81.755,33.152],[-81.502,33.015],[-81.397,32.606],[-81.195,32.465],[-81.113,32.113],[-80.886,32.035],[-80.338,32.479],[-80.001,32.606],[-79.57,32.927],[-79.36,33.007],[-79.215,33.156],[-79.135,33.404],[-78.773,33.769],[-78.541,33.851],[-79.675,34.805],[-80.797,34.824],[-80.782,34.936],[-81.043,35.149],[-82.411,35.202],[-83.109,35.001]]]},properties:{name:"South Carolina"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-91.166,33.004],[-91.072,32.938],[-91.114,32.74],[-91.053,32.438],[-90.921,32.342],[-91.035,32.101],[-91.36,31.799],[-91.536,31.338],[-91.644,31.234],[-91.56,31.05],[-90.759,31],[-89.728,31.002],[-89.836,30.727],[-89.608,30.217],[-89.525,30.181],[-89.345,30.293],[-88.894,30.393],[-88.472,30.32],[-88.395,30.369],[-88.469,31.933],[-88.317,33.184],[-88.098,34.892],[-88.2,34.996],[-89.435,34.994],[-90.309,34.996],[-90.25,34.907],[-90.474,34.789],[-90.587,34.616],[-90.575,34.415],[-90.895,34.224],[-91.061,33.878],[-91.027,33.764],[-91.216,33.529],[-91.069,33.233],[-91.166,33.004]]]},properties:{name:"Mississippi"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-109.05,41.001],[-109.051,39.875],[-109.06,38.275],[-109.042,38.165],[-109.045,36.999],[-108.001,37],[-106.006,36.995],[-104.732,36.993],[-103.002,37],[-102.042,36.993],[-102.046,38.698],[-102.052,40.003],[-102.052,41.002],[-104.053,41.001],[-104.855,40.998],[-106.191,40.998],[-107.367,41.003],[-109.05,41.001]]]},properties:{name:"Colorado"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.058,44.997],[-104.055,44.25],[-104.053,43.001],[-102.082,42.999],[-100.198,42.998],[-98.499,42.999],[-98.435,42.929],[-97.95,42.77],[-97.858,42.865],[-97.238,42.853],[-97.131,42.772],[-96.698,42.659],[-96.611,42.506],[-96.446,42.491],[-96.622,42.779],[-96.439,43.114],[-96.522,43.221],[-96.453,43.5],[-96.458,45.308],[-96.711,45.437],[-96.826,45.654],[-96.587,45.816],[-96.564,45.935],[-97.777,45.935],[-99.49,45.94],[-100.762,45.944],[-102.088,45.945],[-104.045,45.945],[-104.058,44.997]]]},properties:{name:"South Dakota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-103.002,37],[-103.002,36.5],[-101.624,36.5],[-100,36.5],[-100,35.619],[-100,34.561],[-99.696,34.381],[-99.275,34.387],[-99.19,34.214],[-98.737,34.131],[-98.364,34.157],[-98.099,34.104],[-97.866,33.849],[-97.672,33.991],[-97.444,33.824],[-97.206,33.81],[-96.952,33.945],[-96.851,33.847],[-96.593,33.831],[-96.363,33.694],[-96.152,33.832],[-95.557,33.927],[-95.283,33.878],[-95.226,33.962],[-94.842,33.739],[-94.486,33.638],[-94.432,35.37],[-94.618,36.499],[-94.618,36.999],[-95.787,36.999],[-97.462,36.999],[-99.129,36.999],[-100.856,36.999],[-102.042,36.993],[-103.002,37]]]},properties:{name:"Oklahoma"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.058,44.997],[-106.264,44.994],[-108.621,45],[-111.044,45.001],[-111.049,44.474],[-111.045,43.316],[-111.047,42.002],[-111.047,40.998],[-109.05,41.001],[-107.367,41.003],[-106.191,40.998],[-104.855,40.998],[-104.053,41.001],[-104.053,42.25],[-104.053,43.001],[-104.055,44.25],[-104.058,44.997]]]},properties:{name:"Wyoming"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-82.594,38.422],[-82.626,38.135],[-82.296,37.686],[-81.968,37.538],[-81.85,37.285],[-81.561,37.207],[-81.362,37.338],[-81.225,37.235],[-80.919,37.306],[-80.545,37.475],[-80.292,37.537],[-80.292,37.684],[-79.788,38.273],[-79.649,38.592],[-79.298,38.416],[-78.999,38.84],[-78.773,38.894],[-78.414,39.158],[-78.347,39.466],[-77.828,39.132],[-77.72,39.321],[-77.83,39.587],[-78.082,39.671],[-78.383,39.622],[-78.461,39.526],[-78.707,39.556],[-79.091,39.472],[-79.487,39.206],[-79.477,39.721],[-80.519,39.721],[-80.519,40.639],[-80.668,40.582],[-80.607,40.304],[-80.803,39.919],[-80.83,39.712],[-81.129,39.449],[-81.348,39.346],[-81.456,39.409],[-81.678,39.274],[-81.898,38.93],[-82.007,39.03],[-82.209,38.803],[-82.175,38.608],[-82.324,38.449],[-82.594,38.422]]]},properties:{name:"West Virginia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.084,45.305],[-71.037,44.736],[-70.973,43.57],[-70.984,43.376],[-70.704,43.06],[-70.554,43.322],[-70.416,43.361],[-70.168,43.675],[-69.916,43.775],[-69.321,43.857],[-69.077,43.974],[-68.439,44.116],[-68.126,44.387],[-67.855,44.419],[-67.449,44.6],[-67.293,44.599],[-66.95,44.817],[-67.112,45.112],[-67.48,45.268],[-67.417,45.502],[-67.803,45.678],[-67.78,45.938],[-67.79,47.066],[-68.204,47.34],[-68.362,47.356],[-68.901,47.179],[-69.04,47.245],[-69.039,47.422],[-69.22,47.457],[-69.997,46.695],[-70.054,46.429],[-70.291,46.186],[-70.259,45.891],[-70.781,45.431],[-71.084,45.305]]]},properties:{name:"Maine"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.501,45.013],[-71.627,44.747],[-71.58,44.502],[-71.819,44.353],[-72.046,44.292],[-72.037,44.103],[-72.183,43.808],[-72.379,43.574],[-72.445,43.004],[-72.54,42.805],[-72.459,42.727],[-71.294,42.697],[-71.15,42.815],[-70.817,42.872],[-70.704,43.06],[-70.984,43.376],[-70.973,43.57],[-71.037,44.736],[-71.084,45.305],[-71.284,45.302],[-71.501,45.013]]]},properties:{name:"New Hampshire"}},n9e,{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-114.72,32.719],[-114.814,32.494],[-113.751,32.169],[-112.365,31.741],[-111.075,31.332],[-109.05,31.333],[-109.047,32.778],[-109.046,33.875],[-109.046,34.96],[-109.046,36.117],[-109.045,36.999],[-110.001,36.998],[-111.278,37],[-112.966,37],[-114.051,37],[-114.047,36.194],[-114.152,36.025],[-114.372,36.143],[-114.736,36.104],[-114.664,35.449],[-114.573,35.139],[-114.633,35.002],[-114.634,34.873],[-114.465,34.691],[-114.335,34.45],[-114.139,34.26],[-114.428,34.093],[-114.535,33.928],[-114.525,33.552],[-114.707,33.377],[-114.671,33.038],[-114.511,33.023],[-114.469,32.845],[-114.72,32.719]]]},properties:{name:"Arizona"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.861,41.32],[-71.483,41.372],[-71.429,41.454],[-71.121,41.497],[-71.133,41.66],[-71.329,41.783],[-71.381,42.019],[-71.799,42.008],[-71.798,41.417],[-71.861,41.32]]]},properties:{name:"Rhode Island"}}]},l9e={state:a9e},c9e=(e,t,i,o,s)=>{if(e.length===0)return[];if(t!=="state")throw new Error(`Unsupported topology type: ${t}`);if(!e.every(a=>a.hasOwnProperty(t)))throw new Error(`Input data must contain the field: ${t}`);const r=e.map(a=>{const l=gW(a[t]);return{...a,[t]:a[t],name:l}});return r.push({[t]:I0,[i]:o,name:I0}),r.push({[t]:A0,[i]:s,name:A0}),r},d9e=e=>{const t=l9e[e];if(!t)throw new Error(`No topology object found for type: ${e}`);return t},u9e=()=>({getTopologyObject:d9e,buildMapData:c9e}),h9e={style:{width:"30%"}},p9e=["min","max"],g9e={class:"pv-flex pv-space-between pv-text-body-xxs pv-text-subdued"},f9e=m.defineComponent({__name:"MapGradient",props:{min:{default:0},max:{default:100},valueFormatter:{}},setup(e){const t=e,i=o=>t.valueFormatter?t.valueFormatter(o):o.toLocaleString("en-US");return(o,s)=>(m.openBlock(),m.createElementBlock("div",h9e,[m.createElementVNode("div",{min:o.min,max:o.max,"aria-hidden":"true",class:"pv-full-width pv-stack-4",style:{appearance:"none",background:`linear-gradient(
|
|
241
|
+
`)},fPe={},mPe={},rW={name:"base",css:gPe,style:ePe,classes:fPe,inlineStyles:mPe,load:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(n){return n},s=o(Eb(q4||(q4=Pb(["",""])),t));return ii(s)?rPe(Wf(s),k1({name:this.name},i)):{}},loadCSS:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,t)},loadStyle:function(){var t=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.load(this.style,i,function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Hs.transformCSS(i.name||t.name,"".concat(s).concat(Eb(Q4||(Q4=Pb(["",""])),o)))})},getCommonTheme:function(t){return Hs.getCommon(this.name,t)},getComponentTheme:function(t){return Hs.getComponent(this.name,t)},getDirectiveTheme:function(t){return Hs.getDirective(this.name,t)},getPresetTheme:function(t,i,o){return Hs.getCustomPreset(this.name,t,i,o)},getLayerOrderThemeCSS:function(){return Hs.getLayerOrderCSS(this.name)},getStyleSheet:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var o=Tc(this.css,{dt:fu})||"",s=Wf(Eb(J4||(J4=Pb(["","",""])),o,t)),n=Object.entries(i).reduce(function(r,a){var l=tB(a,2),c=l[0],d=l[1];return r.push("".concat(c,'="').concat(d,'"'))&&r},[]).join(" ");return ii(s)?'<style type="text/css" data-primevue-style-id="'.concat(this.name,'" ').concat(n,">").concat(s,"</style>"):""}return""},getCommonThemeStyleSheet:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Hs.getCommonStyleSheet(this.name,t,i)},getThemeStyleSheet:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[Hs.getStyleSheet(this.name,t,i)];if(this.style){var s=this.name==="base"?"global-style":"".concat(this.name,"-style"),n=Eb(eB||(eB=Pb(["",""])),Tc(this.style,{dt:fu})),r=Wf(Hs.transformCSS(s,n)),a=Object.entries(i).reduce(function(l,c){var d=tB(c,2),u=d[0],h=d[1];return l.push("".concat(u,'="').concat(h,'"'))&&l},[]).join(" ");ii(r)&&o.push('<style type="text/css" data-primevue-style-id="'.concat(s,'" ').concat(a,">").concat(r,"</style>"))}return o.join("")},extend:function(t){return k1(k1({},this),{},{css:void 0,style:void 0},t)}};rW.extend({name:"common"});var dC={exports:{}},yPe=dC.exports,sB;function vPe(){return sB||(sB=1,function(e,t){(function(i,o){e.exports=o()})(yPe,function(){var i=1e3,o=6e4,s=36e5,n="millisecond",r="second",a="minute",l="hour",c="day",d="week",u="month",h="quarter",p="year",g="date",f="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(O){var F=["th","st","nd","rd"],z=O%100;return"["+O+(F[(z-20)%10]||F[z]||F[0])+"]"}},S=function(O,F,z){var _=String(O);return!_||_.length>=F?O:""+Array(F+1-_.length).join(z)+O},x={s:S,z:function(O){var F=-O.utcOffset(),z=Math.abs(F),_=Math.floor(z/60),V=z%60;return(F<=0?"+":"-")+S(_,2,"0")+":"+S(V,2,"0")},m:function O(F,z){if(F.date()<z.date())return-O(z,F);var _=12*(z.year()-F.year())+(z.month()-F.month()),V=F.clone().add(_,u),G=z-V<0,H=F.clone().add(_+(G?-1:1),u);return+(-(_+(z-V)/(G?V-H:H-V))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:u,y:p,w:d,d:c,D:g,h:l,m:a,s:r,ms:n,Q:h}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},D="en",A={};A[D]=C;var k="$isDayjsObject",w=function(O){return O instanceof P||!(!O||!O[k])},M=function O(F,z,_){var V;if(!F)return D;if(typeof F=="string"){var G=F.toLowerCase();A[G]&&(V=G),z&&(A[G]=z,V=G);var H=F.split("-");if(!V&&H.length>1)return O(H[0])}else{var B=F.name;A[B]=F,V=B}return!_&&V&&(D=V),V||!_&&D},R=function(O,F){if(w(O))return O.clone();var z=typeof F=="object"?F:{};return z.date=O,z.args=arguments,new P(z)},L=x;L.l=M,L.i=w,L.w=function(O,F){return R(O,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var P=function(){function O(z){this.$L=M(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[k]=!0}var F=O.prototype;return F.parse=function(z){this.$d=function(_){var V=_.date,G=_.utc;if(V===null)return new Date(NaN);if(L.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var H=V.match(v);if(H){var B=H[2]-1||0,W=(H[7]||"0").substring(0,3);return G?new Date(Date.UTC(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,W)):new Date(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,W)}}return new Date(V)}(z),this.init()},F.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},F.$utils=function(){return L},F.isValid=function(){return this.$d.toString()!==f},F.isSame=function(z,_){var V=R(z);return this.startOf(_)<=V&&V<=this.endOf(_)},F.isAfter=function(z,_){return R(z)<this.startOf(_)},F.isBefore=function(z,_){return this.endOf(_)<R(z)},F.$g=function(z,_,V){return L.u(z)?this[_]:this.set(V,z)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(z,_){var V=this,G=!!L.u(_)||_,H=L.p(z),B=function(Z,ie){var X=L.w(V.$u?Date.UTC(V.$y,ie,Z):new Date(V.$y,ie,Z),V);return G?X:X.endOf(c)},W=function(Z,ie){return L.w(V.toDate()[Z].apply(V.toDate("s"),(G?[0,0,0,0]:[23,59,59,999]).slice(ie)),V)},j=this.$W,U=this.$M,ee=this.$D,q="set"+(this.$u?"UTC":"");switch(H){case p:return G?B(1,0):B(31,11);case u:return G?B(1,U):B(0,U+1);case d:var te=this.$locale().weekStart||0,se=(j<te?j+7:j)-te;return B(G?ee-se:ee+(6-se),U);case c:case g:return W(q+"Hours",0);case l:return W(q+"Minutes",1);case a:return W(q+"Seconds",2);case r:return W(q+"Milliseconds",3);default:return this.clone()}},F.endOf=function(z){return this.startOf(z,!1)},F.$set=function(z,_){var V,G=L.p(z),H="set"+(this.$u?"UTC":""),B=(V={},V[c]=H+"Date",V[g]=H+"Date",V[u]=H+"Month",V[p]=H+"FullYear",V[l]=H+"Hours",V[a]=H+"Minutes",V[r]=H+"Seconds",V[n]=H+"Milliseconds",V)[G],W=G===c?this.$D+(_-this.$W):_;if(G===u||G===p){var j=this.clone().set(g,1);j.$d[B](W),j.init(),this.$d=j.set(g,Math.min(this.$D,j.daysInMonth())).$d}else B&&this.$d[B](W);return this.init(),this},F.set=function(z,_){return this.clone().$set(z,_)},F.get=function(z){return this[L.p(z)]()},F.add=function(z,_){var V,G=this;z=Number(z);var H=L.p(_),B=function(U){var ee=R(G);return L.w(ee.date(ee.date()+Math.round(U*z)),G)};if(H===u)return this.set(u,this.$M+z);if(H===p)return this.set(p,this.$y+z);if(H===c)return B(1);if(H===d)return B(7);var W=(V={},V[a]=o,V[l]=s,V[r]=i,V)[H]||1,j=this.$d.getTime()+z*W;return L.w(j,this)},F.subtract=function(z,_){return this.add(-1*z,_)},F.format=function(z){var _=this,V=this.$locale();if(!this.isValid())return V.invalidDate||f;var G=z||"YYYY-MM-DDTHH:mm:ssZ",H=L.z(this),B=this.$H,W=this.$m,j=this.$M,U=V.weekdays,ee=V.months,q=V.meridiem,te=function(ie,X,ne,re){return ie&&(ie[X]||ie(_,G))||ne[X].slice(0,re)},se=function(ie){return L.s(B%12||12,ie,"0")},Z=q||function(ie,X,ne){var re=ie<12?"AM":"PM";return ne?re.toLowerCase():re};return G.replace(y,function(ie,X){return X||function(ne){switch(ne){case"YY":return String(_.$y).slice(-2);case"YYYY":return L.s(_.$y,4,"0");case"M":return j+1;case"MM":return L.s(j+1,2,"0");case"MMM":return te(V.monthsShort,j,ee,3);case"MMMM":return te(ee,j);case"D":return _.$D;case"DD":return L.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return te(V.weekdaysMin,_.$W,U,2);case"ddd":return te(V.weekdaysShort,_.$W,U,3);case"dddd":return U[_.$W];case"H":return String(B);case"HH":return L.s(B,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return Z(B,W,!0);case"A":return Z(B,W,!1);case"m":return String(W);case"mm":return L.s(W,2,"0");case"s":return String(_.$s);case"ss":return L.s(_.$s,2,"0");case"SSS":return L.s(_.$ms,3,"0");case"Z":return H}return null}(ie)||H.replace(":","")})},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(z,_,V){var G,H=this,B=L.p(_),W=R(z),j=(W.utcOffset()-this.utcOffset())*o,U=this-W,ee=function(){return L.m(H,W)};switch(B){case p:G=ee()/12;break;case u:G=ee();break;case h:G=ee()/3;break;case d:G=(U-j)/6048e5;break;case c:G=(U-j)/864e5;break;case l:G=U/s;break;case a:G=U/o;break;case r:G=U/i;break;default:G=U}return V?G:L.a(G)},F.daysInMonth=function(){return this.endOf(u).$D},F.$locale=function(){return A[this.$L]},F.locale=function(z,_){if(!z)return this.$L;var V=this.clone(),G=M(z,_,!0);return G&&(V.$L=G),V},F.clone=function(){return L.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},O}(),N=P.prototype;return R.prototype=N,[["$ms",n],["$s",r],["$m",a],["$H",l],["$W",c],["$M",u],["$y",p],["$D",g]].forEach(function(O){N[O[1]]=function(F){return this.$g(F,O[0],O[1])}}),R.extend=function(O,F){return O.$i||(O(F,P,R),O.$i=!0),R},R.locale=M,R.isDayjs=w,R.unix=function(O){return R(1e3*O)},R.en=A[D],R.Ls=A,R.p={},R})}(dC)),dC.exports}var bPe=vPe();const zL=ev(bPe);var uC={exports:{}},CPe=uC.exports,nB;function SPe(){return nB||(nB=1,function(e,t){(function(i,o){e.exports=o()})(CPe,function(){var i="minute",o=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(n,r,a){var l=r.prototype;a.utc=function(f){var v={date:f,utc:!0,args:arguments};return new r(v)},l.utc=function(f){var v=a(this.toDate(),{locale:this.$L,utc:!0});return f?v.add(this.utcOffset(),i):v},l.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(f){f.utc&&(this.$u=!0),this.$utils().u(f.$offset)||(this.$offset=f.$offset),c.call(this,f)};var d=l.init;l.init=function(){if(this.$u){var f=this.$d;this.$y=f.getUTCFullYear(),this.$M=f.getUTCMonth(),this.$D=f.getUTCDate(),this.$W=f.getUTCDay(),this.$H=f.getUTCHours(),this.$m=f.getUTCMinutes(),this.$s=f.getUTCSeconds(),this.$ms=f.getUTCMilliseconds()}else d.call(this)};var u=l.utcOffset;l.utcOffset=function(f,v){var y=this.$utils().u;if(y(f))return this.$u?0:y(this.$offset)?u.call(this):this.$offset;if(typeof f=="string"&&(f=function(D){D===void 0&&(D="");var A=D.match(o);if(!A)return null;var k=(""+A[0]).match(s)||["-",0,0],w=k[0],M=60*+k[1]+ +k[2];return M===0?0:w==="+"?M:-M}(f),f===null))return this;var C=Math.abs(f)<=16?60*f:f,S=this;if(v)return S.$offset=C,S.$u=f===0,S;if(f!==0){var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(S=this.local().add(C+x,i)).$offset=C,S.$x.$localOffset=x}else S=this.utc();return S};var h=l.format;l.format=function(f){var v=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,v)},l.valueOf=function(){var f=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*f},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var p=l.toDate;l.toDate=function(f){return f==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var g=l.diff;l.diff=function(f,v,y){if(f&&this.$u===f.$u)return g.call(this,f,v,y);var C=this.local(),S=a(f).local();return g.call(C,S,v,y)}}})}(uC)),uC.exports}var xPe=SPe();const wPe=ev(xPe);var hC={exports:{}},MPe=hC.exports,rB;function DPe(){return rB||(rB=1,function(e,t){(function(i,o){e.exports=o()})(MPe,function(){var i={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(s,n,r){var a,l=function(h,p,g){g===void 0&&(g={});var f=new Date(h),v=function(y,C){C===void 0&&(C={});var S=C.timeZoneName||"short",x=y+"|"+S,D=o[x];return D||(D=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:S}),o[x]=D),D}(p,g);return v.formatToParts(f)},c=function(h,p){for(var g=l(h,p),f=[],v=0;v<g.length;v+=1){var y=g[v],C=y.type,S=y.value,x=i[C];x>=0&&(f[x]=parseInt(S,10))}var D=f[3],A=D===24?0:D,k=f[0]+"-"+f[1]+"-"+f[2]+" "+A+":"+f[4]+":"+f[5]+":000",w=+h;return(r.utc(k).valueOf()-(w-=w%1e3))/6e4},d=n.prototype;d.tz=function(h,p){h===void 0&&(h=a);var g,f=this.utcOffset(),v=this.toDate(),y=v.toLocaleString("en-US",{timeZone:h}),C=Math.round((v-new Date(y))/1e3/60),S=15*-Math.round(v.getTimezoneOffset()/15)-C;if(!Number(S))g=this.utcOffset(0,p);else if(g=r(y,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(S,!0),p){var x=g.utcOffset();g=g.add(f-x,"minute")}return g.$x.$timezone=h,g},d.offsetName=function(h){var p=this.$x.$timezone||r.tz.guess(),g=l(this.valueOf(),p,{timeZoneName:h}).find(function(f){return f.type.toLowerCase()==="timezonename"});return g&&g.value};var u=d.startOf;d.startOf=function(h,p){if(!this.$x||!this.$x.$timezone)return u.call(this,h,p);var g=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(g,h,p).tz(this.$x.$timezone,!0)},r.tz=function(h,p,g){var f=g&&p,v=g||p||a,y=c(+r(),v);if(typeof h!="string")return r(h).tz(v);var C=function(A,k,w){var M=A-60*k*1e3,R=c(M,w);if(k===R)return[M,k];var L=c(M-=60*(R-k)*1e3,w);return R===L?[M,R]:[A-60*Math.min(R,L)*1e3,Math.max(R,L)]}(r.utc(h,f).valueOf(),y,v),S=C[0],x=C[1],D=r(S).utcOffset(x);return D.$x.$timezone=v,D},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(h){a=h}}})}(hC)),hC.exports}var kPe=DPe();const IPe=ev(kPe);var pC={exports:{}},APe=pC.exports,aB;function RPe(){return aB||(aB=1,function(e,t){(function(i,o){e.exports=o()})(APe,function(){return function(i,o){var s=o.prototype,n=s.format;s.format=function(r){var a=this,l=this.$locale();if(!this.isValid())return n.bind(this)(r);var c=this.$utils(),d=(r||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(u){switch(u){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return l.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return l.ordinal(a.week(),"W");case"w":case"ww":return c.s(a.week(),u==="w"?1:2,"0");case"W":case"WW":return c.s(a.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return c.s(String(a.$H===0?24:a.$H),u==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return u}});return n.bind(this)(d)}}})}(pC)),pC.exports}var TPe=RPe();const LPe=ev(TPe);zL.extend(LPe);zL.extend(wPe);zL.extend(IPe);const EPe=["data-position","aria-labelledby","data-style","data-static"],PPe=["id"],NPe={key:1},k0=m.defineComponent({__name:"PvTooltip",props:{variant:{default:"white"},tooltipPosition:{default:"top-right"},ariaLabelledBy:{default:"ariaLabelledById"},size:{default:"md"},interactive:{type:Boolean,default:!0}},setup(e){return(t,i)=>t.$slots["tooltip-content"]?(m.openBlock(),m.createElementBlock("div",{key:0,"data-testid":"pv-tooltip",class:m.normalizeClass(["pv-tooltip",{"pv-tooltip-small":t.size==="sm"}]),"data-position":t.tooltipPosition,"aria-labelledby":t.ariaLabelledBy,"data-style":t.variant==="white"?"white":"dark","data-static":t.interactive===!1?!0:void 0},[m.renderSlot(t.$slots,"label"),m.createElementVNode("div",{role:"tooltip",id:t.ariaLabelledBy,"data-testid":"pv-tooltip-content"},[m.renderSlot(t.$slots,"tooltip-content")],8,PPe)],10,EPe)):(m.openBlock(),m.createElementBlock("div",NPe,[m.renderSlot(t.$slots,"label")]))}}),OPe={"data-testid":"pv-select-menu-control-panel",class:"pv-flex pv-space-between"},FPe=m.defineComponent({__name:"PvMenuControlPanel",props:{disabled:{type:Boolean}},emits:["handle-select-all","handle-clear-all"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("div",OPe,[m.createVNode(es,{variant:"ghost","data-testid":"pv-select-menu-item-select-all",onClick:i[0]||(i[0]=o=>t.$emit("handle-select-all")),label:"Select All",disabled:t.disabled},null,8,["disabled"]),m.createVNode(es,{label:"Clear All",variant:"ghost","data-testid":"pv-select-menu-item-clear-all",onClick:i[1]||(i[1]=o=>t.$emit("handle-clear-all")),disabled:t.disabled},null,8,["disabled"])]))}}),aW=m.defineComponent({__name:"PvMenu",props:{teleportLocation:{},open:{type:Boolean},popoverPositionStyle:{},cssCustomListProperties:{},useTeleport:{type:Boolean,default:!1}},setup(e,{expose:t}){const i=m.ref(null);return t({popoverRef:i}),(o,s)=>(m.openBlock(),m.createBlock(m.Teleport,{to:o.teleportLocation,disabled:!o.useTeleport},[m.createVNode(K7,{ref_key:"popoverRef",ref:i,class:m.normalizeClass({"pv-hide":!o.open}),"css-custom-list-properties":o.cssCustomListProperties,"css-custom-properties":{width:"auto",maxWidth:"260px",...o.popoverPositionStyle},isList:!0},{default:m.withCtx(()=>[m.renderSlot(o.$slots,"default")]),_:3},8,["class","css-custom-list-properties","css-custom-properties"])],8,["to","disabled"]))}}),BPe=["disabled"],GPe={key:0,"data-testid":"pv-select-prefix-label",class:"pv-border-right",style:{color:"#89989b","padding-right":"4px"}},zPe={key:4},lW=m.defineComponent({__name:"PvSelectButtonTrigger",props:{variant:{default:"secondary"},size:{default:"lg"},disabled:{type:Boolean},counterPosition:{},counterValue:{},prefixLabel:{},label:{},icon:{},companyLogo:{},showClear:{type:Boolean},showDropdown:{type:Boolean,default:!0},open:{type:Boolean},isLoading:{type:Boolean}},emits:["handle-toggle-dropdown","handle-clear"],setup(e,{expose:t}){const i={xl:"large",lg:void 0},o=m.ref(null);return t({triggerRef:o}),(s,n)=>(m.openBlock(),m.createElementBlock("button",{ref_key:"triggerRef",ref:o,"data-testid":"pv-multi-select-button-trigger",class:m.normalizeClass(["pv-flex","pv-space-between",{[`pv-button-${s.variant}`]:!0,[`pv-button-${i[s.size]}`]:!!s.size}]),style:{"--flex-gap":"0.25rem"},disabled:s.disabled||s.isLoading,onClick:n[1]||(n[1]=r=>s.$emit("handle-toggle-dropdown"))},[s.prefixLabel?(m.openBlock(),m.createElementBlock("p",GPe,m.toDisplayString(s.prefixLabel),1)):m.createCommentVNode("",!0),s.counterPosition==="left"?(m.openBlock(),m.createBlock(w0,{key:1,"data-testid":"pv-multi-select-left-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):m.createCommentVNode("",!0),s.icon?(m.openBlock(),m.createBlock(Wi,{key:2,"data-testid":"pv-multi-select-button-icon",name:s.icon},null,8,["name"])):m.createCommentVNode("",!0),s.companyLogo?(m.openBlock(),m.createBlock(Z7,{key:3,name:s.companyLogo,size:"sm"},null,8,["name"])):m.createCommentVNode("",!0),s.isLoading||s.label?(m.openBlock(),m.createElementBlock("span",zPe,m.toDisplayString(s.isLoading?"Loading...":s.label),1)):m.createCommentVNode("",!0),s.counterPosition==="right"?(m.openBlock(),m.createBlock(w0,{key:5,"data-testid":"pv-multi-select-right-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):m.createCommentVNode("",!0),s.showDropdown?(m.openBlock(),m.createBlock(Wi,{key:6,name:s.open?"chevron-up":"chevron-down"},null,8,["name"])):m.createCommentVNode("",!0),s.showClear?(m.openBlock(),m.createBlock(k0,{key:7,size:"sm",variant:"dark","tooltip-position":"top-left"},{label:m.withCtx(()=>[m.createVNode(Wi,{name:"close",onClick:n[0]||(n[0]=m.withModifiers(r=>s.$emit("handle-clear"),["stop"]))})]),"tooltip-content":m.withCtx(()=>n[2]||(n[2]=[m.createTextVNode(" Clear Selections ")])),_:1})):m.createCommentVNode("",!0)],10,BPe))}}),_Pe={},VPe={class:"pv-text-subdued pv-text-center pv-text-body-md"};function HPe(e,t){return m.openBlock(),m.createElementBlock("div",VPe,"No Results Found")}const cW=Ea(_Pe,[["render",HPe]]),WPe=["src"],jPe=m.defineComponent({__name:"PvAvatar",props:{size:{default:"lg"},image:{},initials:{}},setup(e){const t={sm:"pv-avatar-16",md:"pv-avatar-20",lg:"pv-avatar-xs",xl:"pv-avatar-sm","2x":"pv-avatar-md"};return(i,o)=>(m.openBlock(),m.createElementBlock("div",{class:m.normalizeClass(t[i.size]),"data-testid":"pv-avatar"},[i.initials?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createTextVNode(m.toDisplayString(i.initials),1)],64)):i.image?(m.openBlock(),m.createElementBlock("img",{key:1,src:i.image},null,8,WPe)):m.createCommentVNode("",!0)],2))}}),$Pe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},UPe=["title"],KPe=["title"],YPe={key:3,class:"pv-text-subdued pv-text-body-md"},Lc=m.defineComponent({__name:"PvMenuItem",props:{id:{},text:{},subText:{},secondaryText:{},icon:{},companyName:{},avatar:{},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("a",{class:m.normalizeClass(["pv-flex",t.classList]),"data-testid":"pv-menu-item",style:{cursor:"pointer"},role:"button",onClick:i[0]||(i[0]=o=>t.$emit("handle-selected"))},[t.renderer?(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t.renderer),m.normalizeProps(m.mergeProps({key:0},t.$props)),null,16)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[t.avatar?(m.openBlock(),m.createBlock(jPe,{key:0,initials:t.avatar.initials,image:t.avatar.image,size:"lg"},null,8,["initials","image"])):m.createCommentVNode("",!0),t.icon?(m.openBlock(),m.createBlock(Wi,{key:1,name:t.icon},null,8,["name"])):m.createCommentVNode("",!0),t.companyName?(m.openBlock(),m.createBlock(Z7,{key:2,name:t.companyName,size:"sm"},null,8,["name"])):m.createCommentVNode("",!0),m.createElementVNode("div",$Pe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,UPe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,KPe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",YPe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)],64))],2))}}),XPe=["checked","disabled"],ZPe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},qPe=["title"],QPe=["title"],JPe={key:0,class:"pv-text-subdued pv-text-body-md"},eNe=m.defineComponent({__name:"PvMenuCheckboxItem",props:{id:{},text:{},subText:{},secondaryText:{},value:{type:Boolean},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("label",{class:m.normalizeClass(["pv-label pv-label-hover pv-flex",t.classList]),"data-testid":"pv-menu-checkbox-item",style:{cursor:"pointer"}},[m.createElementVNode("input",{type:"checkbox",name:"checkbox",checked:t.value,class:"pv-checkbox",onChange:i[0]||(i[0]=o=>t.$emit("handle-selected")),disabled:t.disabled},null,40,XPe),t.renderer?(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t.renderer),m.normalizeProps(m.mergeProps({key:0},t.$props)),null,16)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[m.createElementVNode("div",ZPe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,qPe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,QPe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",JPe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)],64))],2))}}),lB=m.defineComponent({__name:"PvMultiSelectMenuItem",props:{optionsVariant:{default:"checkbox"},selected:{type:Boolean},option:{}},emits:["handle-select-item"],setup(e){const t={simple:Lc,icon:Lc,company:Lc,checkbox:eNe,avatar:Lc};return(i,o)=>(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t[i.optionsVariant]),{id:i.option.id,value:i.selected,"secondary-text":i.option.secondaryText,icon:i.optionsVariant==="icon"?i.option.icon:void 0,avatar:i.optionsVariant==="avatar"?i.option.avatar:void 0,companyName:i.optionsVariant==="company"?i.option.companyName?i.option.companyName:i.option.text:void 0,text:i.option.text,subText:i.option.subText,disabled:i.option.disabled,renderer:i.option.renderer,rendererProps:i.option.rendererProps,classList:i.option.classList,onHandleSelected:o[0]||(o[0]=()=>i.$emit("handle-select-item",i.option))},null,40,["id","value","secondary-text","icon","avatar","companyName","text","subText","disabled","renderer","rendererProps","classList"]))}}),tNe=m.defineComponent({__name:"PvSpinner",props:{variant:{default:"primary"},size:{default:"lg"}},setup(e){const t={xs:"0.75rem",sm:"1rem",md:"1.25rem",lg:"1.5rem",xl:"2rem"},i={primary:"pv-spinner",dark:"pv-spinner-dark",white:"pv-spinner-light"};return(o,s)=>(m.openBlock(),m.createElementBlock("div",{"data-testid":"pv-spinner",class:m.normalizeClass(i[o.variant]),style:m.normalizeStyle({"--size":t[o.size]})},null,6))}}),dW=({alignment:e,useTeleport:t=!0,popoverCssProperties:i}={})=>{const o=m.ref(null),s=m.ref(null),n=m.ref(null),r=m.ref(null),a=m.computed(()=>!o.value||!s.value?0:e==="right"||e==="top right"?o.value.left+o.value.width-s.value.width:o.value.left),l=m.computed(()=>!o.value||!s.value?0:e==="top"||e==="top right"?o.value.top-s.value.height:o.value.top+window.scrollY+o.value.height),c=m.computed(()=>{if(!t)return i;const u={position:"absolute",left:`${a.value}px`,top:`${l.value}px`,zIndex:10};return{...i,...u}});return{triggerRef:n,popoverRef:r,triggerRect:o,popoverRect:s,popoverPositionStyle:c,updateRects:()=>{n.value&&(o.value=n.value.getBoundingClientRect()),r.value?.popoverRoot&&(s.value=r.value.popoverRoot.getBoundingClientRect())}}},iNe={class:"pv-relative",style:{width:"fit-content"}},oNe={key:1,class:"pv-text-body-sm",style:{color:"#89989b"}},sNe={role:"list"},nNe=["data-active"],rNe={key:2,class:"pv-border-top",style:{margin:"8px 0"}},aNe={key:1,role:"list"},lNe=["data-active"],cNe={key:2,class:"pv-flex pv-inset-block-8",style:{"justify-content":"center"}},dNe={class:"pv-sticky pv-surface pv-border-top",style:{"--flex-justify":"space-between","--bottom":"0","padding-top":"0.75rem","padding-bottom":"0.5rem"}},uNe=m.defineComponent({__name:"PvMultiSelectButton",props:m.mergeModels({groupings:{},defaultOpen:{type:Boolean},disabled:{type:Boolean},teleportLocation:{default:"body"},isLoading:{type:Boolean},variant:{default:"secondary"},size:{default:"lg"},alignment:{},popoverCssProperties:{},prefixLabel:{},label:{default:"Select"},icon:{},counterPosition:{default:"left"},companyLogo:{},showClear:{type:Boolean,default:!0},showDropdown:{type:Boolean,default:!0},showMenuAction:{type:Boolean,default:!0},showSearchInput:{type:Boolean,default:!0},overlayTrigger:{type:Boolean},optionsVariant:{default:"checkbox"},options:{default:()=>[]},useTeleport:{type:Boolean,default:!1}},{modelValue:{required:!1,default:()=>[]},modelModifiers:{},searchInput:{required:!1,default:""},searchInputModifiers:{}}),emits:m.mergeModels(["dropdown-open","dropdown-closed"],["update:modelValue","update:searchInput"]),setup(e,{emit:t}){const i=e,o=t,s={top:i.overlayTrigger?"0":"unset",...i.popoverCssProperties},{popoverPositionStyle:n,updateRects:r,triggerRef:a,popoverRef:l}=dW({alignment:i.alignment,popoverCssProperties:s,useTeleport:i.useTeleport}),c=m.useTemplateRef("select-menu-ref"),d=m.useTemplateRef("select-button-trigger-ref"),u=m.useTemplateRef("searchInputRef"),[h,p]=R7(i.defaultOpen),g=m.useModel(e,"modelValue"),f=m.useModel(e,"searchInput"),v=()=>{f.value="",h.value=!1};m.watch(h,w=>{w?m.nextTick(()=>{i.overlayTrigger&&i.showSearchInput&&u.value?.input?.focus(),r(),o("dropdown-open")}):o("dropdown-closed")}),m.onMounted(()=>{c.value?.popoverRef&&(l.value=c.value?.popoverRef),d.value?.triggerRef&&(a.value=d.value?.triggerRef)});const y=m.computed(()=>f.value===""?i.options:i.options.filter(w=>w.text.toLocaleLowerCase().includes(f.value.toLocaleLowerCase()))),C=w=>{const M=g.value,R=M.findIndex(P=>P.id===w.id);let L;R>-1?L=[...M.slice(0,R),...M.slice(R+1)]:L=[...M,{...w}],g.value=L},S=()=>{g.value=y.value.map(w=>({id:w.id,text:w.text}))},x=()=>{g.value=[]},D=m.computed(()=>{if(!i.groupings)return;const w=new Map;i.groupings.forEach(M=>{w.set(M,[])}),w.set("other",[]);for(const M of i.options){const R=M.groupingLabel,L=R&&w.has(R)?R:"other";w.get(L).push(M)}for(const[M,R]of w)R.length===0&&w.delete(M);return Array.from(w.entries())}),A=m.computed(()=>i.groupings&&f.value===""),k=w=>g.value.some(M=>M.id===w.id)?!0:null;return PL("Escape",()=>{h.value&&v()}),(w,M)=>m.withDirectives((m.openBlock(),m.createElementBlock("div",iNe,[m.createVNode(lW,{ref:"select-button-trigger-ref",variant:w.variant,size:w.size,disabled:w.disabled,counterPosition:w.counterPosition,prefixLabel:w.prefixLabel,label:w.label,icon:w.icon,companyLogo:w.companyLogo,showClear:w.showClear&&g.value.length>0,showDropdown:w.showDropdown&&g.value.length===0,open:m.unref(h),"counter-value":g.value.length,onHandleClear:x,onHandleToggleDropdown:M[0]||(M[0]=R=>m.unref(p)())},null,8,["variant","size","disabled","counterPosition","prefixLabel","label","icon","companyLogo","showClear","showDropdown","open","counter-value"]),m.createVNode(aW,{ref:"select-menu-ref",open:m.unref(h),teleportLocation:w.teleportLocation,"use-teleport":w.useTeleport,"css-custom-list-properties":w.showMenuAction?{"padding-bottom":0}:{},popoverPositionStyle:m.unref(n)},{default:m.withCtx(()=>[w.showSearchInput?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createVNode(q7,{ref:"searchInputRef","model-value":f.value,"onUpdate:modelValue":M[1]||(M[1]=R=>f.value=R),class:"pv-sticky pv-surface pv-stack-12",style:{"padding-top":"4px"}},null,8,["model-value"]),M[2]||(M[2]=m.createElementVNode("div",{class:"pv-border-top pv-stack-12"},null,-1))],64)):m.createCommentVNode("",!0),y.value.length>0?(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[A.value?(m.openBlock(!0),m.createElementBlock(m.Fragment,{key:0},m.renderList(D.value,([R,L],P)=>(m.openBlock(),m.createElementBlock("div",{key:R},[w.$slots[R]?m.renderSlot(w.$slots,R,{key:0}):R!=="other"?(m.openBlock(),m.createElementBlock("span",oNe,m.toDisplayString(R),1)):m.createCommentVNode("",!0),m.createElementVNode("ul",sNe,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(L,N=>m.withDirectives((m.openBlock(),m.createElementBlock("li",{key:N.id,"data-active":k(N),class:"pv-stack-4"},[m.createVNode(lB,{"data-testid":`pv-multiselect-${R}-item`,"options-variant":w.optionsVariant,selected:g.value.some(O=>O.id===N.id),option:N,onHandleSelectItem:C},null,8,["data-testid","options-variant","selected","option"])],8,nNe)),[[m.vShow,k(N)||!w.isLoading]])),128))]),D.value&&P!==D.value.length-1?(m.openBlock(),m.createElementBlock("div",rNe)):m.createCommentVNode("",!0)]))),128)):(m.openBlock(),m.createElementBlock("ul",aNe,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(y.value,R=>(m.openBlock(),m.createElementBlock("li",{key:R.id,"data-active":g.value.some(L=>L.id===R.id)?!0:null,class:"pv-stack-4"},[m.createVNode(lB,{"options-variant":w.optionsVariant,selected:g.value.some(L=>L.id===R.id),option:R,onHandleSelectItem:C},null,8,["options-variant","selected","option"])],8,lNe))),128))]))],64)):m.createCommentVNode("",!0),w.isLoading?(m.openBlock(),m.createElementBlock("div",cNe,[m.createVNode(tNe,{variant:"dark"})])):y.value.length===0?(m.openBlock(),m.createElementBlock(m.Fragment,{key:3},[w.$slots["no-results"]?m.renderSlot(w.$slots,"no-results",m.normalizeProps(m.mergeProps({key:0},w.$props))):(m.openBlock(),m.createBlock(cW,{key:1}))],64)):m.createCommentVNode("",!0),m.createElementVNode("div",dNe,[w.$slots.footer?m.renderSlot(w.$slots,"footer",m.normalizeProps(m.mergeProps({key:0},w.$props))):m.createCommentVNode("",!0),w.showMenuAction?(m.openBlock(),m.createBlock(FPe,{key:1,disabled:w.isLoading,onHandleClearAll:x,onHandleSelectAll:S},null,8,["disabled"])):m.createCommentVNode("",!0)])]),_:3},8,["open","teleportLocation","use-teleport","css-custom-list-properties","popoverPositionStyle"])])),[[m.unref(GL),[v,{ignore:[".pv-popover"]}]]])}}),hNe={"data-testid":"pv-menu-radio-item",class:"pv-label pv-label-hover pv-flex",style:{cursor:"pointer"}},pNe=["checked"],gNe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},fNe=["title"],mNe=["title"],yNe={key:0,class:"pv-text-subdued pv-text-body-md"},vNe=m.defineComponent({__name:"PvMenuRadioItem",props:{text:{},subText:{},secondaryText:{},value:{type:Boolean}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("label",hNe,[m.createElementVNode("input",{type:"radio",name:"radio",checked:t.value,class:"pv-radio",onChange:i[0]||(i[0]=o=>t.$emit("handle-selected"))},null,40,pNe),m.createElementVNode("div",gNe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,fNe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,mNe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",yNe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)]))}}),bNe={class:"pv-relative",style:{width:"fit-content"}},CNe=["data-active"],tk=m.defineComponent({__name:"PvSelectButton",props:m.mergeModels({defaultOpen:{type:Boolean},disabled:{type:Boolean},teleportLocation:{default:"body"},isLoading:{type:Boolean},variant:{default:"secondary"},size:{default:"lg"},alignment:{},popoverCssProperties:{},prefixLabel:{},label:{default:"Select an option"},showMenuAction:{type:Boolean},showSearchInput:{type:Boolean,default:!0},optionsVariant:{default:"simple"},options:{},useTeleport:{type:Boolean,default:!0},allowDeselect:{type:Boolean,default:!0}},{modelValue:{required:!1},modelModifiers:{},searchInput:{required:!1,default:""},searchInputModifiers:{}}),emits:m.mergeModels(["dropdown-open","dropdown-closed"],["update:modelValue","update:searchInput"]),setup(e,{emit:t}){const i=e,o=t,s={simple:Lc,icon:Lc,company:Lc,radio:vNe,avatar:Lc},{popoverPositionStyle:n,updateRects:r,triggerRef:a,popoverRef:l}=dW({alignment:i.alignment,popoverCssProperties:i.popoverCssProperties,useTeleport:i.useTeleport}),c=m.useTemplateRef("select-menu-ref"),d=m.useTemplateRef("select-button-trigger-ref"),[u,h]=R7(i.defaultOpen),p=m.useModel(e,"modelValue"),g=m.useModel(e,"searchInput");m.watch(u,A=>{A?m.nextTick(()=>{r(),o("dropdown-open")}):o("dropdown-closed")}),m.onMounted(()=>{c.value?.popoverRef&&(l.value=c.value?.popoverRef),d.value?.triggerRef&&(a.value=d.value?.triggerRef)});const f=m.computed(()=>p.value&&p.value.text?p.value.text:i.label),v=m.computed(()=>{if(p.value&&p.value.icon)return p.value.icon}),y=m.computed(()=>{if(p.value&&p.value.companyName)return p.value.companyName}),C=m.computed(()=>g.value===""?i.options:i.options.filter(A=>A.text.toLocaleLowerCase().includes(g.value.toLocaleLowerCase()))),S=A=>{if(i.optionsVariant==="radio"||!i.allowDeselect){p.value=A,D();return}p.value?.id===A.id?p.value=void 0:p.value=A,D()},x=()=>{p.value=void 0},D=()=>{u.value=!1,g.value=""};return PL("Escape",()=>{u.value&&D()}),(A,k)=>m.withDirectives((m.openBlock(),m.createElementBlock("div",bNe,[m.createVNode(lW,{class:"pv-full-width",ref:"select-button-trigger-ref",variant:A.variant,size:A.size,disabled:A.disabled,counterPosition:void 0,prefixLabel:A.prefixLabel,label:f.value,icon:v.value,companyLogo:y.value,showClear:!1,showDropdown:!0,open:m.unref(u),"counter-value":0,isLoading:A.isLoading,onHandleClear:x,onHandleToggleDropdown:k[0]||(k[0]=w=>m.unref(h)())},null,8,["variant","size","disabled","prefixLabel","label","icon","companyLogo","open","isLoading"]),m.createVNode(aW,{ref:"select-menu-ref",open:m.unref(u),teleportLocation:A.teleportLocation,"use-teleport":A.useTeleport,popoverPositionStyle:{...m.unref(n),...A.popoverCssProperties}},{default:m.withCtx(()=>[A.showSearchInput?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createVNode(q7,{"model-value":g.value,"onUpdate:modelValue":k[1]||(k[1]=w=>g.value=w),class:"pv-stack-12"},null,8,["model-value"]),k[2]||(k[2]=m.createElementVNode("div",{class:"pv-border-top pv-stack-12"},null,-1))],64)):m.createCommentVNode("",!0),C.value.length>0?(m.openBlock(!0),m.createElementBlock(m.Fragment,{key:1},m.renderList(C.value,w=>(m.openBlock(),m.createElementBlock("li",{key:w.id,"data-active":p.value?.id===w.id?!0:null},[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(s[A.optionsVariant]),{id:w.id,value:p.value?.id===w.id,"secondary-text":w.secondaryText,icon:A.optionsVariant==="icon"?w.icon:void 0,avatar:A.optionsVariant==="avatar"?w.avatar:void 0,companyName:A.optionsVariant==="company"?w.companyName?w.companyName:w.text:void 0,text:w.text,subText:w.subText,renderer:w.renderer,"renderer-props":w.rendererProps,classList:w.classList,onHandleSelected:()=>S(w)},null,40,["id","value","secondary-text","icon","avatar","companyName","text","subText","renderer","renderer-props","classList","onHandleSelected"]))],8,CNe))),128)):(m.openBlock(),m.createBlock(cW,{key:2}))]),_:1},8,["open","teleportLocation","use-teleport","popoverPositionStyle"])])),[[m.unref(GL),[D,{ignore:[".pv-popover"]}]]])}}),SNe=["for"],xNe=["disabled","type","placeholder","id","data-invalid"];Math.random().toString();rW.extend({name:"common"});var wNe={transitionDuration:"{transition.duration}"},MNe={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},DNe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},kNe={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},INe={root:wNe,panel:MNe,header:DNe,content:kNe},ANe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},RNe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},TNe={padding:"{list.padding}",gap:"{list.gap}"},LNe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},ENe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},PNe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},NNe={borderRadius:"{border.radius.sm}"},ONe={padding:"{list.option.padding}"},FNe={light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},BNe={root:ANe,overlay:RNe,list:TNe,option:LNe,optionGroup:ENe,dropdown:PNe,chip:NNe,emptyMessage:ONe,colorScheme:FNe},GNe={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},zNe={size:"1rem"},_Ne={borderColor:"{content.background}",offset:"-0.75rem"},VNe={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},HNe={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},WNe={root:GNe,icon:zNe,group:_Ne,lg:VNe,xl:HNe},jNe={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},$Ne={size:"0.5rem"},UNe={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},KNe={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},YNe={fontSize:"1rem",minWidth:"2rem",height:"2rem"},XNe={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},ZNe={root:jNe,dot:$Ne,sm:UNe,lg:KNe,xl:YNe,colorScheme:XNe},qNe={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},QNe={transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},JNe={primitive:qNe,semantic:QNe},eOe={borderRadius:"{content.border.radius}"},tOe={root:eOe},iOe={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},oOe={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},sOe={color:"{navigation.item.icon.color}"},nOe={root:iOe,item:oOe,separator:sOe},rOe={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},aOe={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},lOe={root:rOe,colorScheme:aOe},cOe={background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},dOe={padding:"1.25rem",gap:"0.5rem"},uOe={gap:"0.5rem"},hOe={fontSize:"1.25rem",fontWeight:"500"},pOe={color:"{text.muted.color}"},gOe={root:cOe,body:dOe,caption:uOe,title:hOe,subtitle:pOe},fOe={transitionDuration:"{transition.duration}"},mOe={gap:"0.25rem"},yOe={padding:"1rem",gap:"0.5rem"},vOe={width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},bOe={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},COe={root:fOe,content:mOe,indicatorList:yOe,indicator:vOe,colorScheme:bOe},SOe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},xOe={width:"2.5rem",color:"{form.field.icon.color}"},wOe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},MOe={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},DOe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},kOe={color:"{form.field.icon.color}"},IOe={root:SOe,dropdown:xOe,overlay:wOe,list:MOe,option:DOe,clearIcon:kOe},AOe={borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},ROe={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},TOe={root:AOe,icon:ROe},LOe={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},EOe={width:"2rem",height:"2rem"},POe={size:"1rem"},NOe={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},OOe={light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}},FOe={root:LOe,image:EOe,icon:POe,removeIcon:NOe,colorScheme:OOe},BOe={transitionDuration:"{transition.duration}"},GOe={width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},zOe={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},_Oe={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},VOe={root:BOe,preview:GOe,panel:zOe,colorScheme:_Oe},HOe={size:"2rem",color:"{overlay.modal.color}"},WOe={gap:"1rem"},jOe={icon:HOe,content:WOe},$Oe={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},UOe={padding:"{overlay.popover.padding}",gap:"1rem"},KOe={size:"1.5rem",color:"{overlay.popover.color}"},YOe={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},XOe={root:$Oe,content:UOe,icon:KOe,footer:YOe},ZOe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},qOe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},QOe={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},JOe={mobileIndent:"1rem"},eFe={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},tFe={borderColor:"{content.border.color}"},iFe={root:ZOe,list:qOe,item:QOe,submenu:JOe,submenuIcon:eFe,separator:tFe},oFe={transitionDuration:"{transition.duration}"},sFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},nFe={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},rFe={fontWeight:"600"},aFe={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},lFe={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},cFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},dFe={fontWeight:"600"},uFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},hFe={color:"{primary.color}"},pFe={width:"0.5rem"},gFe={width:"1px",color:"{primary.color}"},fFe={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},mFe={size:"2rem"},yFe={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},vFe={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},bFe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},CFe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},SFe={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},xFe={root:oFe,header:sFe,headerCell:nFe,columnTitle:rFe,row:aFe,bodyCell:lFe,footerCell:cFe,columnFooter:dFe,footer:uFe,dropPoint:hFe,columnResizer:pFe,resizeIndicator:gFe,sortIcon:fFe,loadingIcon:mFe,rowToggleButton:yFe,filter:vFe,paginatorTop:bFe,paginatorBottom:CFe,colorScheme:SFe},wFe={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},MFe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},DFe={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},kFe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},IFe={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},AFe={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},RFe={root:wFe,header:MFe,content:DFe,footer:kFe,paginatorTop:IFe,paginatorBottom:AFe},TFe={transitionDuration:"{transition.duration}"},LFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},EFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},PFe={gap:"0.5rem",fontWeight:"500"},NFe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},OFe={color:"{form.field.icon.color}"},FFe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},BFe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},GFe={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},zFe={margin:"0.5rem 0 0 0"},_Fe={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},VFe={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},HFe={margin:"0.5rem 0 0 0"},WFe={padding:"0.375rem",borderRadius:"{content.border.radius}"},jFe={margin:"0.5rem 0 0 0"},$Fe={padding:"0.375rem",borderRadius:"{content.border.radius}"},UFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},KFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},YFe={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},XFe={root:TFe,panel:LFe,header:EFe,title:PFe,dropdown:NFe,inputIcon:OFe,selectMonth:FFe,selectYear:BFe,group:GFe,dayView:zFe,weekDay:_Fe,date:VFe,monthView:HFe,month:WFe,yearView:jFe,year:$Fe,buttonbar:UFe,timePicker:KFe,colorScheme:YFe},ZFe={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},qFe={padding:"{overlay.modal.padding}",gap:"0.5rem"},QFe={fontSize:"1.25rem",fontWeight:"600"},JFe={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},e4e={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},t4e={root:ZFe,header:qFe,title:QFe,content:JFe,footer:e4e},i4e={borderColor:"{content.border.color}"},o4e={background:"{content.background}",color:"{text.color}"},s4e={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},n4e={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},r4e={root:i4e,content:o4e,horizontal:s4e,vertical:n4e},a4e={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},l4e={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},c4e={root:a4e,item:l4e},d4e={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},u4e={padding:"{overlay.modal.padding}"},h4e={fontSize:"1.5rem",fontWeight:"600"},p4e={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},g4e={padding:"{overlay.modal.padding}"},f4e={root:d4e,header:u4e,title:h4e,content:p4e,footer:g4e},m4e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},y4e={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},v4e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},b4e={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},C4e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},S4e={toolbar:m4e,toolbarItem:y4e,overlay:v4e,overlayOption:b4e,content:C4e},x4e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},w4e={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},M4e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},D4e={padding:"0"},k4e={root:x4e,legend:w4e,toggleIcon:M4e,content:D4e},I4e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},A4e={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},R4e={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},T4e={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},L4e={gap:"0.5rem"},E4e={height:"0.25rem"},P4e={gap:"0.5rem"},N4e={root:I4e,header:A4e,content:R4e,file:T4e,fileList:L4e,progressbar:E4e,basic:P4e},O4e={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},F4e={active:{top:"-1.25rem"}},B4e={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},G4e={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},z4e={root:O4e,over:F4e,in:B4e,on:G4e},_4e={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},V4e={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},H4e={size:"1.5rem"},W4e={background:"{content.background}",padding:"1rem 0.25rem"},j4e={size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},$4e={size:"1rem"},U4e={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},K4e={gap:"0.5rem",padding:"1rem"},Y4e={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},X4e={background:"rgba(0, 0, 0, 0.5)"},Z4e={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},q4e={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Q4e={size:"1.5rem"},J4e={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}},eBe={root:_4e,navButton:V4e,navIcon:H4e,thumbnailsContent:W4e,thumbnailNavButton:j4e,thumbnailNavButtonIcon:$4e,caption:U4e,indicatorList:K4e,indicatorButton:Y4e,insetIndicatorList:X4e,insetIndicatorButton:Z4e,closeButton:q4e,closeButtonIcon:Q4e,colorScheme:J4e},tBe={color:"{form.field.icon.color}"},iBe={icon:tBe},oBe={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},sBe={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},nBe={root:oBe,input:sBe},rBe={transitionDuration:"{transition.duration}"},aBe={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},lBe={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},cBe={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},dBe={root:rBe,preview:aBe,toolbar:lBe,action:cBe},uBe={size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},hBe={handle:uBe},pBe={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},gBe={fontWeight:"500"},fBe={size:"1rem"},mBe={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}},yBe={root:pBe,text:gBe,icon:fBe,colorScheme:mBe},vBe={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},bBe={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},CBe={root:vBe,display:bBe},SBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},xBe={borderRadius:"{border.radius.sm}"},wBe={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},MBe={root:SBe,chip:xBe,colorScheme:wBe},DBe={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"},kBe={addon:DBe},IBe={transitionDuration:"{transition.duration}"},ABe={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},RBe={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},TBe={root:IBe,button:ABe,colorScheme:RBe},LBe={gap:"0.5rem"},EBe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},PBe={root:LBe,input:EBe},NBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},OBe={root:NBe},FBe={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},BBe={background:"{primary.color}"},GBe={background:"{content.border.color}"},zBe={color:"{text.muted.color}"},_Be={root:FBe,value:BBe,range:GBe,text:zBe},VBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},HBe={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},WBe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},jBe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},$Be={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},UBe={padding:"{list.option.padding}"},KBe={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},YBe={root:VBe,list:HBe,option:WBe,optionGroup:jBe,checkmark:$Be,emptyMessage:UBe,colorScheme:KBe},XBe={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},ZBe={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},qBe={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},QBe={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},JBe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},e3e={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},t3e={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},i3e={borderColor:"{content.border.color}"},o3e={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},s3e={root:XBe,baseItem:ZBe,item:qBe,overlay:QBe,submenu:JBe,submenuLabel:e3e,submenuIcon:t3e,separator:i3e,mobileButton:o3e},n3e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},r3e={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},a3e={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},l3e={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},c3e={borderColor:"{content.border.color}"},d3e={root:n3e,list:r3e,item:a3e,submenuLabel:l3e,separator:c3e},u3e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},h3e={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},p3e={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},g3e={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},f3e={borderColor:"{content.border.color}"},m3e={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},y3e={root:u3e,baseItem:h3e,item:p3e,submenu:g3e,separator:f3e,mobileButton:m3e},v3e={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},b3e={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},C3e={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},S3e={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},x3e={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},w3e={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},M3e={root:{borderWidth:"1px"}},D3e={content:{padding:"0"}},k3e={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}},I3e={root:v3e,content:b3e,text:C3e,icon:S3e,closeButton:x3e,closeIcon:w3e,outlined:M3e,simple:D3e,colorScheme:k3e},A3e={borderRadius:"{content.border.radius}",gap:"1rem"},R3e={background:"{content.border.color}",size:"0.5rem"},T3e={gap:"0.5rem"},L3e={size:"0.5rem"},E3e={size:"1rem"},P3e={verticalGap:"0.5rem",horizontalGap:"1rem"},N3e={root:A3e,meters:R3e,label:T3e,labelMarker:L3e,labelIcon:E3e,labelList:P3e},O3e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},F3e={width:"2.5rem",color:"{form.field.icon.color}"},B3e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},G3e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},z3e={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},_3e={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},V3e={color:"{form.field.icon.color}"},H3e={borderRadius:"{border.radius.sm}"},W3e={padding:"{list.option.padding}"},j3e={root:O3e,dropdown:F3e,overlay:B3e,list:G3e,option:z3e,optionGroup:_3e,chip:H3e,clearIcon:V3e,emptyMessage:W3e},$3e={gap:"1.125rem"},U3e={gap:"0.5rem"},K3e={root:$3e,controls:U3e},Y3e={gutter:"0.75rem",transitionDuration:"{transition.duration}"},X3e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},Z3e={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},q3e={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},Q3e={root:Y3e,node:X3e,nodeToggleButton:Z3e,connector:q3e},J3e={outline:{width:"2px",color:"{content.background}"}},e5e={root:J3e},t5e={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},i5e={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},o5e={color:"{text.muted.color}"},s5e={maxWidth:"2.5rem"},n5e={root:t5e,navButton:i5e,currentPageReport:o5e,jumpToPageInput:s5e},r5e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},a5e={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},l5e={padding:"0.375rem 1.125rem"},c5e={fontWeight:"600"},d5e={padding:"0 1.125rem 1.125rem 1.125rem"},u5e={padding:"0 1.125rem 1.125rem 1.125rem"},h5e={root:r5e,header:a5e,toggleableHeader:l5e,title:c5e,content:d5e,footer:u5e},p5e={gap:"0.5rem",transitionDuration:"{transition.duration}"},g5e={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},f5e={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},m5e={indent:"1rem"},y5e={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},v5e={root:p5e,panel:g5e,item:f5e,submenu:m5e,submenuIcon:y5e},b5e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},C5e={color:"{form.field.icon.color}"},S5e={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},x5e={gap:"0.5rem"},w5e={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},M5e={meter:b5e,icon:C5e,overlay:S5e,content:x5e,colorScheme:w5e},D5e={gap:"1.125rem"},k5e={gap:"0.5rem"},I5e={root:D5e,controls:k5e},A5e={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},R5e={padding:"{overlay.popover.padding}"},T5e={root:A5e,content:R5e},L5e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},E5e={background:"{primary.color}"},P5e={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},N5e={root:L5e,value:E5e,label:P5e},O5e={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}},F5e={colorScheme:O5e},B5e={width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},G5e={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},z5e={root:B5e,icon:G5e},_5e={gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},V5e={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},H5e={root:_5e,icon:V5e},W5e={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},j5e={colorScheme:W5e},$5e={transitionDuration:"{transition.duration}"},U5e={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},K5e={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},Y5e={root:$5e,bar:U5e,colorScheme:K5e},X5e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Z5e={width:"2.5rem",color:"{form.field.icon.color}"},q5e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},Q5e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},J5e={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},eGe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},tGe={color:"{form.field.icon.color}"},iGe={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},oGe={padding:"{list.option.padding}"},sGe={root:X5e,dropdown:Z5e,overlay:q5e,list:Q5e,option:J5e,optionGroup:eGe,clearIcon:tGe,checkmark:iGe,emptyMessage:oGe},nGe={borderRadius:"{form.field.border.radius}"},rGe={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},aGe={root:nGe,colorScheme:rGe},lGe={borderRadius:"{content.border.radius}"},cGe={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}},dGe={root:lGe,colorScheme:cGe},uGe={transitionDuration:"{transition.duration}"},hGe={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},pGe={background:"{primary.color}"},gGe={width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},fGe={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},mGe={root:uGe,track:hGe,range:pGe,handle:gGe,colorScheme:fGe},yGe={gap:"0.5rem",transitionDuration:"{transition.duration}"},vGe={root:yGe},bGe={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},CGe={root:bGe},SGe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},xGe={background:"{content.border.color}"},wGe={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},MGe={root:SGe,gutter:xGe,handle:wGe},DGe={transitionDuration:"{transition.duration}"},kGe={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},IGe={padding:"0.5rem",gap:"1rem"},AGe={padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},RGe={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},TGe={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},LGe={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},EGe={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},PGe={root:DGe,separator:kGe,step:IGe,stepHeader:AGe,stepTitle:RGe,stepNumber:TGe,steppanels:LGe,steppanel:EGe},NGe={transitionDuration:"{transition.duration}"},OGe={background:"{content.border.color}"},FGe={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},BGe={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},GGe={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},zGe={root:NGe,separator:OGe,itemLink:FGe,itemLabel:BGe,itemNumber:GGe},_Ge={transitionDuration:"{transition.duration}"},VGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},HGe={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},WGe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},jGe={height:"1px",bottom:"-1px",background:"{primary.color}"},$Ge={root:_Ge,tablist:VGe,item:HGe,itemIcon:WGe,activeBar:jGe},UGe={transitionDuration:"{transition.duration}"},KGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},YGe={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},XGe={background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},ZGe={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},qGe={height:"1px",bottom:"-1px",background:"{primary.color}"},QGe={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},JGe={root:UGe,tablist:KGe,tab:YGe,tabpanel:XGe,navButton:ZGe,activeBar:qGe,colorScheme:QGe},eze={transitionDuration:"{transition.duration}"},tze={background:"{content.background}",borderColor:"{content.border.color}"},ize={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},oze={background:"{content.background}",color:"{content.color}"},sze={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},nze={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},rze={root:eze,tabList:tze,tab:ize,tabPanel:oze,navButton:sze,colorScheme:nze},aze={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},lze={size:"0.75rem"},cze={light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},dze={root:aze,icon:lze,colorScheme:cze},uze={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},hze={gap:"0.25rem"},pze={margin:"2px 0"},gze={root:uze,prompt:hze,commandResponse:pze},fze={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},mze={root:fze},yze={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},vze={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},bze={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},Cze={mobileIndent:"1rem"},Sze={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},xze={borderColor:"{content.border.color}"},wze={root:yze,list:vze,item:bze,submenu:Cze,submenuIcon:Sze,separator:xze},Mze={minHeight:"5rem"},Dze={eventContent:{padding:"1rem 0"}},kze={eventContent:{padding:"0 1rem"}},Ize={size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},Aze={color:"{content.border.color}",size:"2px"},Rze={event:Mze,horizontal:Dze,vertical:kze,eventMarker:Ize,eventConnector:Aze},Tze={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},Lze={size:"1.125rem"},Eze={padding:"{overlay.popover.padding}",gap:"0.5rem"},Pze={gap:"0.5rem"},Nze={fontWeight:"500",fontSize:"1rem"},Oze={fontWeight:"500",fontSize:"0.875rem"},Fze={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},Bze={size:"1rem"},Gze={light:{root:{blur:"1.5px"},info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{root:{blur:"10px"},info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}},zze={root:Tze,icon:Lze,content:Eze,text:Pze,summary:Nze,detail:Oze,closeButton:Fze,closeIcon:Bze,colorScheme:Gze},_ze={padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},Vze={disabledColor:"{form.field.disabled.color}"},Hze={padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},Wze={light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}},jze={root:_ze,icon:Vze,content:Hze,colorScheme:Wze},$ze={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},Uze={borderRadius:"50%",size:"1rem"},Kze={light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}},Yze={root:$ze,handle:Uze,colorScheme:Kze},Xze={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},Zze={root:Xze},qze={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},Qze={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},Jze={root:qze,colorScheme:Qze},e_e={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},t_e={padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},i_e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},o_e={borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},s_e={size:"2rem"},n_e={margin:"0 0 0.5rem 0"},r_e={root:e_e,node:t_e,nodeIcon:i_e,nodeToggleButton:o_e,loadingIcon:s_e,filter:n_e},a_e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},l_e={width:"2.5rem",color:"{form.field.icon.color}"},c_e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},d_e={padding:"{list.padding}"},u_e={padding:"{list.option.padding}"},h_e={borderRadius:"{border.radius.sm}"},p_e={color:"{form.field.icon.color}"},g_e={root:a_e,dropdown:l_e,overlay:c_e,tree:d_e,emptyMessage:u_e,chip:h_e,clearIcon:p_e},f_e={transitionDuration:"{transition.duration}"},m_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},y_e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},v_e={fontWeight:"600"},b_e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},C_e={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},S_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},x_e={fontWeight:"600"},w_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},M_e={width:"0.5rem"},D_e={width:"1px",color:"{primary.color}"},k_e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},I_e={size:"2rem"},A_e={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},R_e={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},T_e={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},L_e={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},E_e={root:f_e,header:m_e,headerCell:y_e,columnTitle:v_e,row:b_e,bodyCell:C_e,footerCell:S_e,columnFooter:x_e,footer:w_e,columnResizer:M_e,resizeIndicator:D_e,sortIcon:k_e,loadingIcon:I_e,nodeToggleButton:A_e,paginatorTop:R_e,paginatorBottom:T_e,colorScheme:L_e},P_e={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},N_e={loader:P_e},O_e=Object.defineProperty,F_e=Object.defineProperties,B_e=Object.getOwnPropertyDescriptors,cB=Object.getOwnPropertySymbols,G_e=Object.prototype.hasOwnProperty,z_e=Object.prototype.propertyIsEnumerable,dB=(e,t,i)=>t in e?O_e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,uB;uB=((e,t)=>{for(var i in t||(t={}))G_e.call(t,i)&&dB(e,i,t[i]);if(cB)for(var i of cB(t))z_e.call(t,i)&&dB(e,i,t[i]);return e})({},JNe),F_e(uB,B_e({components:{accordion:INe,autocomplete:BNe,avatar:WNe,badge:ZNe,blockui:tOe,breadcrumb:nOe,button:lOe,card:gOe,carousel:COe,cascadeselect:IOe,checkbox:TOe,chip:FOe,colorpicker:VOe,confirmdialog:jOe,confirmpopup:XOe,contextmenu:iFe,datatable:xFe,dataview:RFe,datepicker:XFe,dialog:t4e,divider:r4e,dock:c4e,drawer:f4e,editor:S4e,fieldset:k4e,fileupload:N4e,floatlabel:z4e,galleria:eBe,iconfield:iBe,iftalabel:nBe,image:dBe,imagecompare:hBe,inlinemessage:yBe,inplace:CBe,inputchips:MBe,inputgroup:kBe,inputnumber:TBe,inputotp:PBe,inputtext:OBe,knob:_Be,listbox:YBe,megamenu:s3e,menu:d3e,menubar:y3e,message:I3e,metergroup:N3e,multiselect:j3e,orderlist:K3e,organizationchart:Q3e,overlaybadge:e5e,paginator:n5e,panel:h5e,panelmenu:v5e,password:M5e,picklist:I5e,popover:T5e,progressbar:N5e,progressspinner:F5e,radiobutton:z5e,rating:H5e,ripple:j5e,scrollpanel:Y5e,select:sGe,selectbutton:aGe,skeleton:dGe,slider:mGe,speeddial:vGe,splitbutton:CGe,splitter:MGe,stepper:PGe,steps:zGe,tabmenu:$Ge,tabs:JGe,tabview:rze,tag:dze,terminal:gze,textarea:mze,tieredmenu:wze,timeline:Rze,toast:zze,togglebutton:jze,toggleswitch:Yze,toolbar:Zze,tooltip:Jze,tree:r_e,treeselect:g_e,treetable:E_e,virtualscroller:N_e}}));const uW=Symbol("focusDataKey"),ow=()=>{const{focuses:e,focusType:t}=m.inject(uW,{focuses:m.ref([]),focusType:m.ref(null)}),i=r=>r?e.value.includes(r):!1,o=r=>{e.value=e.value.filter(a=>a!==r),e.value.length===0&&(t.value=null)};return{focuses:e,focusType:t,clearAllFocuses:()=>{e.value=[],t.value=null},handleFocusUpdate:(r,a)=>{if(a){if(t.value&&r!==t.value){e.value=[a],t.value=r;return}e.value.includes(a)?o(a):(e.value=[a],t.value=r)}},isFocused:i,removeFocus:o}},__e={class:"pv-flex",style:{"--flex-wrap":"nowrap"}},V_e=["id"],H_e={key:1,style:{"padding-left":"16px"}},W_e=["checked","disabled","onChange"],j_e={class:"pv-text-body-md"},$_e={key:2},U_e={key:0,class:"pv-text-subdued pv-text-body-xxs"},K_e=m.defineComponent({__name:"GroupBySelector",props:{rowGroupLimit:{},enableFocusView:{type:Boolean}},setup(e){const t=m.inject("gridApi"),i=m.inject("availableRowGroupColumns"),o=m.inject("rowGroupColumnFields"),s=e;m.watch(o,()=>{},{deep:!0});const n=v=>o.value.includes(v||""),{clearAllFocuses:r,focusType:a}=ow(),l=(v,y)=>{y?t.value.addRowGroupColumns([v]):t.value.removeRowGroupColumns([v]),s.enableFocusView&&a.value&&a.value!==o.value[0]&&r()},c=m.computed(()=>({"pv-hide":i.value.length===0})),d=m.computed(()=>s.rowGroupLimit?o.value.length>=s.rowGroupLimit:!1),u=m.computed(()=>o.value.map(v=>i.value.find(y=>y.field===v)).filter(v=>v!==void 0)),h=m.computed(()=>i.value.filter(v=>!o.value.includes(v.field))),p=m.computed(()=>{const v={label:"",value:"divider"},y=u.value.map(S=>({label:S.headerName,value:S.field})),C=h.value.map(S=>({label:S.headerName,value:S.field}));return[...y,v,...C]}),g=v=>`group-by-list-item-${v}`,f=v=>{const y=v.findIndex(x=>x==="divider"),S=v.slice(0,y).slice(0,s.rowGroupLimit).map(x=>x.replace("group-by-list-item-",""));t.value.setRowGroupColumns(S)};return(v,y)=>(m.openBlock(),m.createBlock(s2e,{isList:!0,isSortable:!0,popoverCssProperties:{width:"auto"},alignment:"right",class:m.normalizeClass(c.value),onListOrderUpdated:f},{trigger:m.withCtx(()=>[m.createElementVNode("div",__e,[y[0]||(y[0]=m.createElementVNode("p",{class:"pv-truncate pv-text-body-md"},"Compare",-1)),m.unref(o).length>0?(m.openBlock(),m.createBlock(m.unref(w0),{key:0,value:m.unref(o).length,variant:"tertiary"},null,8,["value"])):m.createCommentVNode("",!0)])]),default:m.withCtx(()=>[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(p.value,(C,S)=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:C.value},[C.value!=="divider"?(m.openBlock(),m.createElementBlock("li",{key:0,id:g(C.value)},[m.createElementVNode("label",{class:m.normalizeClass(["pv-flex",{"pv-border-bottom":S+1===m.unref(o).length}])},[n(C.value)?(m.openBlock(),m.createBlock(Wi,{key:0,name:"reorder",class:"pv-text-subdued"})):(m.openBlock(),m.createElementBlock("span",H_e)),m.createElementVNode("input",{type:"checkbox",class:"pv-checkbox",checked:n(C.value),disabled:!n(C.value)&&d.value,onChange:x=>l(C.value,x.target.checked)},null,40,W_e),m.createElementVNode("span",j_e,m.toDisplayString(C.label),1),n(C.value)?(m.openBlock(),m.createElementBlock("sup",$_e,m.toDisplayString(S+1),1)):m.createCommentVNode("",!0)],2)],8,V_e)):m.createCommentVNode("",!0)],64))),128)),d.value?(m.openBlock(),m.createElementBlock("p",U_e," Supports "+m.toDisplayString(v.rowGroupLimit)+" compare levels ",1)):m.createCommentVNode("",!0)]),_:1},8,["class"]))}}),Y_e={},X_e={class:"ag-custom-loading-cell pv-shimmer"};function Z_e(e,t){return m.openBlock(),m.createElementBlock("div",X_e)}const q_e=Ea(Y_e,[["render",Z_e]]),Q_e={key:0,class:"pv-table-group-cell"},J_e={class:"pv-text-body-xxs pv-text-subdued"},e8e={key:0},t8e={class:"pv-flex pv-space-between",style:{"line-height":"20px"}},i8e={class:"pv-text-title-md"},o8e={key:0,class:"pv-table-row-number"},s8e=m.defineComponent({__name:"GroupedCellRenderer",props:{params:{}},setup(e){const t=e,i=m.inject("rowGroupColumnFields"),o=m.inject("groupColumnCellValueColumn"),s=m.inject("expandedRows"),n=m.computed(()=>!t.params.displayBaseAggregationsOnly||a.value.level===i.value.length-1),r=m.computed(()=>t.params.rowNode.group),a=A7(t.params,"rowNode"),l=(p,g)=>p?p({value:g,data:a.value.data,node:a.value,api:t.params.api}):g,c=m.computed(()=>{if(!o.value)return"";const p=o.value.getColId()||"",g=o.value.getColDef().valueFormatter,f=a.value;return p&&f&&f.data&&p in f.data?l(g,f.data[p]):""}),d=m.computed(()=>a.value.data&&a.value.data.groupedRecordCount?a.value.data.groupedRecordCount||0:a.value.allChildrenCount||0),u=m.computed(()=>{const p=a.value.rowIndex,g=a.value.parent?.rowIndex;return p!=null&&g!=null?p-g:null}),h=p=>{const g=p.node.expanded,f=p.node.rowIndex;f!=null&&(s.value[f]=g)};return m.onMounted(()=>{const p=a.value,g=p.rowIndex,f=p.expanded;g!=null&&(s.value[g]=f),a.value.addEventListener("expandedChanged",h)}),m.onBeforeUnmount(()=>{const p=a.value;a.value.removeEventListener("expandedChanged",h);const g=p.rowIndex;g!=null&&(s.value[g]=!1)}),(p,g)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[r.value?(m.openBlock(),m.createElementBlock("div",Q_e,[m.createElementVNode("p",J_e,[m.createTextVNode(m.toDisplayString(m.unref(a).rowGroupColumn?.getColDef().headerName)+" ",1),p.params.displayCount&&n.value&&d.value>0?(m.openBlock(),m.createElementBlock("span",e8e," ("+m.toDisplayString(d.value.toLocaleString())+") ",1)):m.createCommentVNode("",!0)]),m.createElementVNode("div",t8e,[m.createElementVNode("p",i8e,m.toDisplayString(p.params.formattedValue||p.params.rowNode.key),1)])])):m.createCommentVNode("",!0),m.createElementVNode("div",null,[m.createElementVNode("p",null,[p.params.displayRowNumber&&u.value?(m.openBlock(),m.createElementBlock("span",o8e,m.toDisplayString(u.value),1)):m.createCommentVNode("",!0),m.createTextVNode(" "+m.toDisplayString(c.value),1)])])],64))}});function hB(e){const t=e.filter(o=>o!=null&&!isNaN(o)).sort((o,s)=>o-s),i=t.length;return i===0?null:t[Math.floor(i/2)]}var ws=(e=>(e.String="string",e.Number="number",e.Boolean="boolean",e.Date="date",e.Currency="currency",e.Formula="formula",e.Select="select",e.Percent="percent",e.Entity="entity",e.Id="id",e.Integer="integer",e.User="user",e.Link="link",e.Location="location",e.Status="status",e.Tag="tag",e.File="file",e.None="none",e))(ws||{});const n8e=e=>{switch(e){case"string":return"fonts";case"number":return"hash";case"boolean":return"list";case"date":return"calendar";case"currency":return"currency-dollar";case"formula":return"formula";case"select":return"list";case"percent":return"percent";case"entity":return"building";case"id":return"id-2";case"link":return"link";case"location":return"location";case"integer":return"hash";case"user":return"user";case"status":return"circle-chevron-down";case"tag":return"circle-chevron-down";case"file":return"file";case"none":return null;default:return null}},r8e=(e,t)=>{if(!e)return e;switch(t){case"percent":return e.replace(/^%+/,"").trim();default:return e}},a8e=e=>{if(!e)return!1;const t=e.context;if(t&&t.dataType){const i=t.dataType;return["number","integer","currency","percent"].includes(i)}return!1},l8e=(e,t)=>{if(!e)return!1;const i=e.context;return i&&i.dataType?i.dataType===t:!1},c8e=e=>{const t=["","K","M","B","T"],i=Math.abs(e);if(i<1e3)return{newValue:e.toString(),newSuffix:""};const o=Math.floor(Math.log10(i)/3),s=t[o]||`e${o*3}`;return{newValue:(e/Math.pow(10,o*3)).toFixed(0),newSuffix:s}},d8e={style:{"line-height":"20px"}},u8e={class:"pv-text-subdued pv-text-body-xxs pv-relative"},h8e=m.defineComponent({__name:"GroupAggCellRenderer",props:{params:{}},setup(e){const t=e,i=m.inject("expandedRows"),o=m.computed(()=>{const d=t.params.column?.getColDef()?.context;return d&&d.aggFuncDisplayName?d.aggFuncDisplayName:(t.params.column?.getAggFunc()||"agg").toLowerCase()}),s=()=>{const c=t.params.api;if(c){const d=!r.value;c.setRowNodeExpanded(t.params.node,d),n.value&&(i.value[n.value]=d)}},n=m.computed(()=>t.params.node?.rowIndex),r=m.computed(()=>{let c=!1;return n.value!=null&&(c=n.value in i.value?i.value[n.value]:!1),c}),a=m.computed(()=>r.value?"chevron-down":"chevron-right"),l=m.computed(()=>{const d=t.params.column?.getColDef()?.context,u=t.params.valueFormatted||t.params.value;return d&&d.dataType&&[ws.Currency,ws.Percent,ws.Number,ws.Integer].includes(d.dataType)?u.toLocaleString():u});return m.onMounted(()=>{t.params.node.expanded&&n.value&&(i.value[n.value]=!0)}),(c,d)=>(m.openBlock(),m.createElementBlock("div",{class:"pv-flex",ondblclick:s},[m.createElementVNode("div",d8e,[m.createElementVNode("p",null,m.toDisplayString(l.value),1),m.createElementVNode("p",u8e,m.toDisplayString(o.value),1)]),m.createVNode(es,{size:"xl",variant:"ghost","left-icon":a.value,onClick:s},null,8,["left-icon"])]))}}),gC=m.ref({}),hW=m.ref(null),p8e=m.ref(0),g8e=m.ref(0),ik=m.ref({}),_L=m.ref(void 0),VL=m.ref({}),sw=m.ref({}),HL=m.ref({}),pW=m.ref({}),f8e=()=>{const e={};return Object.entries(sw.value).forEach(([t,i])=>{const o=i.filter(s=>!!s);o.length>0&&(e[t]={filterType:"set",values:o})}),e},m8e=async(e,t,i,o)=>{const s=pW.value[t.field]||void 0,n=sw.value[t.field]||[];let r=o;hW.value!=null&&(r=f8e());const a={api:e,colDef:t,column:i,filterModel:r,query:s,selectedValues:n};ik.value[t.field]=!0;const l=n.map(u=>{const h=WL(t.field,u);return{value:h?.value||u,label:h?.label||u,isPreference:h?.isPreference||!1,isSelectable:h?.isSelectable||!0,metadata:h?.metadata||{}}}),c=await _L.value?.(a);l.forEach(u=>{c?.some(h=>h?.value===u?.value)||c?.push(u)}),t.field&&c&&(VL.value[t.field]=c);const d=c?.filter(u=>u!=null).map(u=>u.value)||[];return ik.value[t.field]=!1,d.filter((u,h)=>d.indexOf(u)===h)},WL=(e,t)=>{const i=[...VL.value[e]||[],...HL.value[e]||[]];return i?i.find(o=>o?.value===t):null},y8e=()=>_L.value!=null,v8e=(e,t)=>{sw.value[e]=t;const i=[];if(gC.value&&gC.value[e]?.values){const s=gC.value[e].values||[];i.push(...s)}i.push(...t);const o=[];return t.forEach(s=>{const n=WL(e,s);n&&o.push(n)}),HL.value[e]=o,i.filter((s,n)=>i.indexOf(s)===n)},b8e=e=>sw.value[e]||[],C8e=(e,t)=>{pW.value[e]=t},nw=()=>({filterModel:gC,filterModelUpdated:p8e,filterModelCleared:g8e,filterValuesLoadingStatus:ik,filterValueMap:VL,filterValueSelectedMetadataMap:HL,filterStoreHandler:_L,fetchFilterValues:m8e,filterValueContext:WL,getFilterSelectedValues:b8e,isServerSideFilter:y8e,stagedFilterModel:hW,setFilterSelectedValues:v8e,setFilterValueSearchText:C8e}),S8e={class:"pv-flex pv-full-width pv-space-between",style:{"max-height":"16px"}},x8e={key:0},w8e={key:1},M8e=m.defineComponent({__name:"FocusItemRenderer",props:{id:{},text:{},subText:{},secondaryText:{},icon:{},companyName:{},avatar:{},groupingLabel:{},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["focus-update"],setup(e){const t=e,{isFocused:i}=ow(),o=s=>{t.rendererProps?.onFocusUpdate&&t.rendererProps.onFocusUpdate(s)};return(s,n)=>(m.openBlock(),m.createElementBlock("div",S8e,[m.createElementVNode("span",null,m.toDisplayString(s.text),1),m.createVNode(k0,{variant:"dark",tooltipPosition:"top-right",size:"sm"},{label:m.withCtx(()=>[m.createVNode(es,{class:m.normalizeClass(["pv-space-between",m.unref(i)(s.id)?"":"focus-button"]),variant:"ghost","left-icon":"focus",onClick:n[0]||(n[0]=r=>o(s.id))},null,8,["class"])]),"tooltip-content":m.withCtx(()=>[m.unref(i)(s.id)?(m.openBlock(),m.createElementBlock("span",x8e," Remove Focus ")):(m.openBlock(),m.createElementBlock("span",w8e," Select as Focus "))]),_:1})]))}}),D8e={key:0,role:"list",class:"pv-flex pv-stack-4",style:{"--flex-wrap":"wrap"}},k8e={class:"pv-full-width pv-flex pv-space-between"},I8e={class:"pv-flex"},A8e={class:"pv-text-subdued pv-text-body-xxs"},R8e={key:0,class:"pv-full-width"},T8e={key:0,class:"pv-flex-inline"},L8e={role:"list",class:"pv-flex pv-stack-8",style:{"--flex-wrap":"wrap"}},E8e=4,P8e=m.defineComponent({__name:"SetFilter",props:{enableFocusView:{type:Boolean,default:!1},filterColDef:{},filterStyle:{default:"horizontal"},displayPreferencesIcon:{type:Boolean,default:!1}},emits:["filter-selection-changed","filter-closed","handle-settings-icon","focus-update"],setup(e,{emit:t}){const i=e,o=t,s=m.inject("gridApi"),n=m.inject("rowGroupColumnFields"),{filterModel:r,stagedFilterModel:a,filterModelCleared:l,filterModelUpdated:c,filterValuesLoadingStatus:d,filterValueContext:u,getFilterSelectedValues:h,isServerSideFilter:p,setFilterValueSearchText:g,setFilterSelectedValues:f}=nw(),{focuses:v,handleFocusUpdate:y,isFocused:C,removeFocus:S}=ow(),x=m.inject("firstDataRendered"),D=m.ref([]),A=m.ref([]),k=m.computed(()=>i.filterColDef.field||""),w=m.computed(()=>i.filterColDef.headerName||""),M=m.ref(!1),R=m.computed(()=>i.filterStyle=="vertical"),L=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterValueFormatter&&typeof Y.filterValueFormatter=="function"?Y.filterValueFormatter:typeof i.filterColDef.valueFormatter=="function"?i.filterColDef.valueFormatter:null}),P=m.ref(""),N=m.ref(0),O=async()=>{F(),await z().then(()=>{M.value=!1})},F=()=>{const Y=[];if(r.value&&r.value[k.value]?.values){const $=r.value[k.value].values||[];Y.push(...$)}D.value=Array.from(new Set([...h(k.value),...Y]))},z=async(Y=!1,$=!1)=>{const Q=await s.value.getColumnFilterInstance(k.value);p()&&($||Y&&d.value[k.value]!==!0&&c.value>N.value)&&(Q.refreshFilterValues(),N.value=c.value),A.value=_(Q.getFilterValues())},_=Y=>Y.sort(($,Q)=>{const ae=D.value.includes($),ye=D.value.includes(Q);return ae&&!ye?-1:!ae&&ye?1:0}),V=Y=>{const $=u(k.value,Y);return L.value?L.value({value:Y,context:$}):Y},G=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSelectMax?Y.filterSelectMax:null}),H=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSelectMin?Y.filterSelectMin===1&&G.value===1:!1}),B=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterOptionsSortDescription?Y.filterOptionsSortDescription:null}),W=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterOptionsSortTooltip?Y.filterOptionsSortTooltip:null}),j=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSearch?Y.filterSearch:!0}),U=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.emptyFilterResultsRenderer)return Y.emptyFilterResultsRenderer}),ee=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.filterOptionsRenderer)return Y.filterOptionsRenderer}),q=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.filterFooterRenderer)return Y.filterFooterRenderer}),te=m.computed(()=>G.value?D.value.length>=G.value:!1),se=m.computed(()=>A.value.filter(Y=>!D.value.includes(Y))),Z=m.computed(()=>A.value.length===1&&A.value[0]===null&&D.value.length===0),ie=Y=>n.value[0]===Y&&i.enableFocusView,X=Y=>Z.value||u(k.value,Y)?.isSelectable===!1?!0:H.value?!1:te.value&&!D.value.includes(Y),ne=m.computed(()=>A.value.filter(($,Q)=>A.value.indexOf($)===Q).filter($=>$!=null&&$!=="").map($=>{let Q=B.value?"suggestions":null;return u(k.value,$)?.isPreference&&(Q="preferences"),{id:$,text:V($),groupingLabel:Q,disabled:X($),renderer:ie(k.value)?M8e:ee.value,rendererProps:{onFocusUpdate:Me},classList:["option-label"]}})),re=m.computed({get:()=>D.value.map(Y=>({id:Y,text:V(Y)})),set:Y=>{D.value=Y.map($=>$.id),me(),v.value.forEach($=>{D.value.includes($)||S($)}),o("filter-selection-changed")}});m.watch(()=>d.value[k.value],()=>{const Y=d.value[k.value];M.value&&!Y?(z(),M.value=!1):Y&&(M.value=!0)},{deep:!0}),m.watch(()=>r.value,()=>{c.value+=1,F()}),m.watch(()=>a.value,()=>{R.value&&(D.value=a.value?.[k.value]?.values||[])}),m.watch(()=>l.value,()=>{D.value=[]}),m.watch(()=>x.value,()=>{F()}),m.watch(()=>D.value,Y=>{f(k.value,Y)}),mEe(()=>P.value,async Y=>{g(k.value,Y),await z(!0,!0)},{debounce:300});const ue=Y=>{Y&&H.value?D.value=[Y]:Y&&!D.value.includes(Y)&&(D.value=[...D.value,Y]),me(),o("filter-selection-changed")},le=Y=>{D.value=D.value.filter($=>$!==Y),me(),o("filter-selection-changed"),C(Y)&&S(Y)},me=()=>{const Y=D.value.length>0?D.value:null;if(R.value){a.value={...a.value,[k.value]:{values:Y}},c.value+=1;return}s.value.setColumnFilterModel(k.value,{values:Y}).then(()=>{s.value.onFilterChanged()})},Me=Y=>{y(k.value,Y),Y&&!D.value.includes(Y)&&ue(Y),o("focus-update",{focuses:v.value,filterField:k.value||null})},pe=()=>{o("filter-closed")};return m.onMounted(()=>{O()}),(Y,$)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[m.createElementVNode("div",null,[R.value?(m.openBlock(),m.createElementBlock("ul",D8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(D.value,Q=>(m.openBlock(),m.createElementBlock("li",{key:`${w.value}-${Q}`},[m.createVNode(h2e,{label:V(Q)||"",showClear:!0,onHandleClose:ae=>le(Q)},null,8,["label","onHandleClose"])]))),128))])):m.createCommentVNode("",!0),m.createVNode(m.unref(uNe),{modelValue:re.value,"onUpdate:modelValue":$[1]||($[1]=Q=>re.value=Q),searchInput:P.value,"onUpdate:searchInput":$[2]||($[2]=Q=>P.value=Q),label:R.value?"":w.value,icon:R.value?"add-circle":void 0,variant:R.value?"ghost":"secondary",counterPosition:!R.value&&D.value.length>0?void 0:"none",showClear:!R.value,showSearchInput:j.value,showDropdown:!R.value,overlayTrigger:R.value,options:ne.value,popoverCssProperties:{maxHeight:"400px",maxWidth:R.value?"300px":"400px",overflowX:"auto",width:"auto"},groupings:["preferences","suggestions"],isLoading:M.value,onDropdownOpen:$[3]||($[3]=Q=>z(!0)),onDropdownClosed:pe},m.createSlots({preferences:m.withCtx(()=>[m.createElementVNode("div",k8e,[$[5]||($[5]=m.createElementVNode("p",{class:"pv-text-subdued pv-text-body-xxs"},"Your Preferences",-1)),m.createVNode(m.unref(k0),{variant:"dark",size:"sm"},{label:m.withCtx(()=>[m.createVNode(es,{size:"md",variant:"ghost",onClick:$[0]||($[0]=Q=>Y.$emit("handle-settings-icon",w.value)),"right-icon":"sliders-horizontal"})]),"tooltip-content":m.withCtx(()=>$[4]||($[4]=[m.createTextVNode(" Open Preferences ")])),_:1})])]),suggestions:m.withCtx(()=>[m.createVNode(m.unref(k0),{variant:"dark",interactive:!1,"tooltip-position":"top-left",size:"sm"},m.createSlots({label:m.withCtx(()=>[m.createElementVNode("div",I8e,[m.createVNode(Wi,{name:"ai",size:12}),m.createElementVNode("p",A8e,m.toDisplayString(B.value),1)])]),_:2},[W.value?{name:"tooltip-content",fn:m.withCtx(()=>[m.createTextVNode(m.toDisplayString(W.value),1)]),key:"0"}:void 0]),1024)]),_:2},[U.value?{name:"no-results",fn:m.withCtx(Q=>[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(U.value),m.normalizeProps(m.guardReactiveProps(Q)),null,16))]),key:"0"}:void 0,q.value?{name:"footer",fn:m.withCtx(Q=>[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(q.value),m.normalizeProps(m.guardReactiveProps(Q)),null,16))]),key:"1"}:void 0]),1032,["modelValue","searchInput","label","icon","variant","counterPosition","showClear","showSearchInput","showDropdown","overlayTrigger","options","popoverCssProperties","isLoading"])]),R.value?(m.openBlock(),m.createElementBlock("div",R8e,[se.value.length>0?(m.openBlock(),m.createElementBlock("div",T8e,[m.createElementVNode("ul",L8e,[$[6]||($[6]=m.createElementVNode("li",null,[m.createElementVNode("p",{class:"pv-text-subdued pv-text-body-md"},"Suggested:")],-1)),(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(se.value.filter(Q=>Q!==""&&Q!=null).slice(0,E8e),Q=>(m.openBlock(),m.createElementBlock("li",{key:`${w.value}-${Q}-suggest`},[m.createVNode(m.unref(L2e),{label:V(Q)||"",onHandleClick:ae=>ue(Q)},null,8,["label","onHandleClick"])]))),128))])])):m.createCommentVNode("",!0)])):m.createCommentVNode("",!0)],64))}}),pB=Ea(P8e,[["__scopeId","data-v-58806f9e"]]),N8e={class:"pv-flex"},O8e={class:"pv-flex"},F8e={id:"filter-vertical-drawer",class:"pv-flex-vertical pv-space-between pv-full-width",style:{height:"100%","overflow-x":"hidden"}},B8e={class:"pv-flex-vertical pv-full-width"},G8e={class:"pv-flex pv-inset-squish pv-full-width pv-space-between"},z8e={class:"pv-text-title-lg"},_8e={class:"pv-full-width pv-inset-inline-24"},V8e={class:"pv-details",open:""},H8e={class:"pv-flex",style:{width:"fit-content"}},W8e={class:"pv-text-title-lg"},j8e={class:"pv-inset-block-8"},$8e={class:"pv-sticky pv-border-top pv-full-width pv-inset-squish pv-flex pv-space-between pv-surface",style:{"--top":"unset",bottom:"0"}},U8e={class:"pv-flex"},K8e={class:"pv-flex",style:{"--flex-justify":"end","--flex-gap":"8px","margin-top":"auto"}},gB=5,Y8e=m.defineComponent({__name:"FilterPanel",props:{enableFocusView:{type:Boolean,default:!1},enableVerticalPanel:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1}},emits:["handle-settings-icon","focus-update"],setup(e){const t=m.inject("gridApi"),i=m.inject("availableFilterColumns"),o=m.inject("currentlyActiveFilter"),{filterModelCleared:s,stagedFilterModel:n,filterModel:r}=nw(),a=m.ref(null),l=m.ref(!1),c=m.computed(()=>{const C=[...i.value].slice(0,gB);return o.value?[...C.slice(0,gB-1),o.value]:C}),d=m.computed(()=>{const C=r.value||{};return Object.keys(C).length}),u=m.ref(!1),h=()=>{u.value=!0},p=()=>{u.value=!1,n.value=t.value.getFilterModel(),a.value?.showModal()},{clearAllFocuses:g}=ow(),f=()=>{n.value=null,t.value.setFilterModel(null),t.value.onFilterChanged(),s.value+=1,g(),l.value=!1},v=()=>{n.value=null,a.value?.close()},y=()=>{u.value&&(t.value.setFilterModel(n.value),t.value.onFilterChanged(),a.value?.close(),s.value+=1)};return(C,S)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[m.createElementVNode("div",N8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(c.value,x=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:x.field},[m.unref(t)?(m.openBlock(),m.createBlock(pB,{key:0,"enable-focus-view":C.enableFocusView,"display-preferences-icon":C.displayPreferencesIcon,filterColDef:x,onHandleSettingsIcon:S[0]||(S[0]=D=>C.$emit("handle-settings-icon",D)),onFocusUpdate:S[1]||(S[1]=D=>C.$emit("focus-update",D))},null,8,["enable-focus-view","display-preferences-icon","filterColDef"])):m.createCommentVNode("",!0)],64))),128)),m.createElementVNode("div",O8e,[C.enableVerticalPanel?(m.openBlock(),m.createBlock(m.unref(es),{key:0,label:"All Filters",onClick:p,variant:"ghost","left-icon":"filter"})):m.createCommentVNode("",!0),d.value>0?(m.openBlock(),m.createElementBlock("button",{key:1,class:"pv-button-ghost",onClick:S[2]||(S[2]=x=>l.value=!0)},[m.createVNode(m.unref(Wi),{name:"close"}),S[12]||(S[12]=m.createTextVNode(" Clear All Filters ")),d.value>0?(m.openBlock(),m.createBlock(m.unref(w0),{key:0,value:d.value,variant:"tertiary"},null,8,["value"])):m.createCommentVNode("",!0)])):m.createCommentVNode("",!0)]),C.enableVerticalPanel?(m.openBlock(),m.createElementBlock("dialog",{key:0,ref_key:"filterDrawer",ref:a,class:"pv-drawer pv-surface",onClick:S[9]||(S[9]=m.withModifiers(x=>y(),["self"])),style:{"max-width":"450px"}},[m.createElementVNode("div",F8e,[m.createElementVNode("div",B8e,[m.createElementVNode("div",G8e,[m.createElementVNode("p",z8e," All Filters ("+m.toDisplayString(m.unref(i).length)+") ",1),m.createElementVNode("button",{class:"pv-button-ghost",onClick:S[3]||(S[3]=x=>v())},[m.createVNode(m.unref(Wi),{name:"close"})])]),m.createElementVNode("div",_8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(m.unref(i),(x,D)=>(m.openBlock(),m.createElementBlock("div",{key:x.field,class:m.normalizeClass([{"pv-border-bottom":D<m.unref(i).length-1},"pv-stack-12"])},[m.createElementVNode("details",V8e,[m.createElementVNode("summary",H8e,[m.createElementVNode("span",W8e,m.toDisplayString(x.headerName),1)]),m.createElementVNode("div",j8e,[m.unref(t)?(m.openBlock(),m.createBlock(pB,{key:0,"filter-style":"vertical","enable-focus-view":C.enableFocusView,filterColDef:x,"display-preferences-icon":C.displayPreferencesIcon,onFilterSelectionChanged:h,onHandleSettingsIcon:S[4]||(S[4]=A=>C.$emit("handle-settings-icon",A)),onFocusUpdate:S[5]||(S[5]=A=>C.$emit("focus-update",A))},null,8,["enable-focus-view","filterColDef","display-preferences-icon"])):m.createCommentVNode("",!0)])])],2))),128))])]),m.createElementVNode("div",$8e,[m.createElementVNode("button",{class:"pv-button-ghost",onClick:S[6]||(S[6]=x=>f())}," Clear All "),m.createElementVNode("div",U8e,[m.createVNode(m.unref(es),{variant:"ghost",label:"Cancel",onClick:S[7]||(S[7]=x=>v())}),u.value?(m.openBlock(),m.createBlock(m.unref(es),{key:0,variant:"primary",label:"Apply",onClick:S[8]||(S[8]=x=>y())})):(m.openBlock(),m.createBlock(m.unref(es),{key:1,variant:"primary",label:"No Changes",disabled:""}))])])])],512)):m.createCommentVNode("",!0)]),m.createVNode(m.unref(I2e),{modelValue:l.value,"onUpdate:modelValue":S[11]||(S[11]=x=>l.value=x),header:"Clear All Filters",style:{top:"50%"}},{body:m.withCtx(()=>S[13]||(S[13]=[m.createElementVNode("p",{class:"pv-text-body-lg"}," This action will remove all currently applied filters. Would you like to continue? ",-1)])),footer:m.withCtx(()=>[m.createElementVNode("div",K8e,[m.createVNode(m.unref(es),{label:"Cancel",variant:"secondary",size:"lg",onClick:S[10]||(S[10]=x=>l.value=!1)}),m.createVNode(m.unref(es),{label:"Clear All Filters",variant:"primary",size:"lg",onClick:f})])]),_:1},8,["modelValue"])],64))}}),X8e={class:"pv-flex"},Z8e={key:0,class:"pv-flex ag-header-actions"},q8e=m.defineComponent({__name:"HeaderCellRenderer",props:{params:{}},setup(e,{expose:t}){const i=e,o=m.ref(!1),s=m.ref(!1),n=m.ref(null),r=m.ref(null),a=m.ref(null),l=m.ref(!1),c=m.computed(()=>{const S=i.params.column.getColDef();return S.sortable||S.filter||S.enableRowGroup}),d=m.inject("sortState"),u=m.computed(()=>{if(!d.value||d.value.length===0)return"";const S=d.value.find(D=>D.colId===i.params.column.getColId()),x=S?S.sort:"";return x==="asc"?"arrow-up":x==="desc"?"arrow-down":""}),h=m.computed(()=>s.value?{cursor:"pointer"}:{}),p=m.computed(()=>l.value?{opacity:1}:{}),g=()=>{l.value=!1},f=()=>{l.value=!0,a.value&&i.params.showColumnMenu(a.value,g)},v=S=>{o.value=S.enableFilterButton,s.value=S.enableSorting||!1,n.value=S.displayName,r.value=n8e(S.column.getColDef().context?.dataType),n.value=r8e(n.value,S.column.getColDef().context?.dataType)},y=()=>{s.value&&i.params.progressSort(!1)};m.onBeforeMount(()=>{v(i.params)});function C(S){return v(S),!0}return t({refresh:C}),(S,x)=>(m.openBlock(),m.createElementBlock("div",{class:"ag-custom-header-cell pv-flex pv-full-width pv-space-between",style:m.normalizeStyle(h.value),onClick:y},[m.createElementVNode("div",X8e,[r.value?(m.openBlock(),m.createBlock(Wi,{key:0,name:r.value,class:"pv-text-subdued"},null,8,["name"])):m.createCommentVNode("",!0),m.createElementVNode("p",null,m.toDisplayString(n.value),1),s.value&&u.value!==""?(m.openBlock(),m.createBlock(Wi,{key:1,name:u.value},null,8,["name"])):m.createCommentVNode("",!0)]),c.value?(m.openBlock(),m.createElementBlock("div",Z8e,[m.createElementVNode("div",{ref_key:"menuButton",ref:a,class:"ag-header-cell-menu-button",style:m.normalizeStyle(p.value)},[m.createVNode(es,{size:"xl",variant:"ghost","left-icon":"menu",onClick:m.withModifiers(f,["stop","prevent"])})],4)])):m.createCommentVNode("",!0)],4))}}),fB=Ea(q8e,[["__scopeId","data-v-054d9038"]]),Q8e=kL.withParams({headerHeight:"30px",headerBackgroundColor:"#F7F8F8",headerCellHoverBackgroundColor:"#F7F8F8",headerColumnResizeHandleHeight:"50%",headerColumnResizeHandleWidth:"3px",headerColumnBorder:"none",headerFontWeight:"bold",headerFontSize:"12px",fontFamily:"Inter, sans-serif",fontSize:12,headerRowBorder:!0,rowHoverColor:"#F7F8F8",rangeSelectionBorderColor:"#36C5BA",rangeSelectionBorderStyle:"solid",wrapperBorder:"none",wrapperBorderRadius:"0px",menuBackgroundColor:"white",accentColor:"#36C5BA"}),J8e=kL.withParams({headerHeight:"30px",headerBackgroundColor:"white",headerCellHoverBackgroundColor:"#F7F8F8",headerColumnResizeHandleHeight:"50%",headerColumnResizeHandleWidth:"3px",headerColumnBorder:"none",headerFontWeight:"bold",headerFontSize:"12px",fontFamily:"Inter, sans-serif",fontSize:12,headerRowBorder:!0,rowHoverColor:"#F7F8F8",rangeSelectionBorderColor:"#36C5BA",rangeSelectionBorderStyle:"solid",wrapperBorder:"none",wrapperBorderRadius:"0px",menuBackgroundColor:"white",accentColor:"#36C5BA"}),eVe={class:"pv-popover-menu"},tVe={class:"pv-popover",style:{"--height":"auto"}},iVe=["disabled"],oVe=m.defineComponent({__name:"ExportMenu",props:{getCsvData:{type:Function}},setup(e){const t=e,i=m.ref(!1);async function o(){i.value=!0;const s=await t.getCsvData();if(!s){i.value=!1;return}const n=new Blob([s],{type:"text/csv;charset=utf-8;"}),r=document.createElement("a");r.href=URL.createObjectURL(n),r.setAttribute("download","datatable_export.csv"),r.click(),i.value=!1}return(s,n)=>(m.openBlock(),m.createElementBlock("nav",eVe,[n[0]||(n[0]=m.createElementVNode("button",{type:"button",class:"pv-button-icon"},[m.createElementVNode("svg",{"aria-hidden":"true",class:"pv-icon-24"},[m.createElementVNode("title",null,"ellipsis"),m.createElementVNode("use",{"xlink:href":"#ellipsis"})])],-1)),m.createElementVNode("div",tVe,[m.createElementVNode("button",{class:"pv-button pv-text-body-sm pv-inset-square-8",onClick:m.withModifiers(o,["prevent"]),disabled:i.value},[i.value?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createTextVNode("Exporting...")],64)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[m.createTextVNode("Download CSV")],64))],8,iVe)])]))}}),sVe={key:1,class:""},nVe=m.defineComponent({__name:"PaginationPanel",props:{panelSize:{default:"xl"}},setup(e){H6.registerModules([kAe]);const t=m.inject("gridApi"),i=m.inject("currentPage"),o=m.inject("totalPages"),s=e,n=m.computed(()=>{const c=o.value,d=i.value;if(c<=7)return Array.from({length:c},(h,p)=>p+1);const u=[];return d<=4?u.push(1,2,3,4,5,"...",c):d>=c-3?u.push(1,"...",c-4,c-3,c-2,c-1,c):u.push(1,"...",d-1,d,d+1,"...",c),u}),r=()=>{i.value>0&&t?.value.paginationGoToPage(i.value-2)},a=()=>{i.value<o.value&&t?.value.paginationGoToPage(i.value)},l=c=>{c>=1&&c<=o.value&&t?.value.paginationGoToPage(c-1)};return(c,d)=>(m.openBlock(),m.createElementBlock("div",{class:m.normalizeClass(["pv-flex",{"pv-hide":m.unref(o)<=1}])},[m.createVNode(es,{variant:"ghost",onClick:r,disabled:m.unref(i)===1,size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-left"},null,8,["disabled","size"]),(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(n.value,u=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:u},[typeof u=="number"?(m.openBlock(),m.createBlock(es,{key:0,variant:u===m.unref(i)?"primary":"ghost",size:s.panelSize==="l"?"md":"lg",onClick:h=>l(u),label:u.toString()},null,8,["variant","size","onClick","label"])):(m.openBlock(),m.createElementBlock("span",sVe,"..."))],64))),128)),m.createVNode(es,{variant:"ghost",onClick:a,disabled:m.unref(i)===m.unref(o),size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-right"},null,8,["disabled","size"])],2))}});function rVe(){}function aVe(e,t=0){if(!Number.isInteger(t))throw new Error("Precision must be an integer.");const i=Math.pow(10,t);return Math.round(e*i)/i}function mB(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function yB(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const lVe="[object RegExp]",cVe="[object String]",dVe="[object Number]",uVe="[object Boolean]",vB="[object Arguments]",hVe="[object Symbol]",pVe="[object Date]",gVe="[object Map]",fVe="[object Set]",mVe="[object Array]",yVe="[object Function]",vVe="[object ArrayBuffer]",I1="[object Object]",bVe="[object Error]",CVe="[object DataView]",SVe="[object Uint8Array]",xVe="[object Uint8ClampedArray]",wVe="[object Uint16Array]",MVe="[object Uint32Array]",DVe="[object BigUint64Array]",kVe="[object Int8Array]",IVe="[object Int16Array]",AVe="[object Int32Array]",RVe="[object BigInt64Array]",TVe="[object Float32Array]",LVe="[object Float64Array]";function bB(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function EVe(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function PVe(e,t,i){return mf(e,t,void 0,void 0,void 0,void 0,i)}function mf(e,t,i,o,s,n,r){const a=r(e,t,i,o,s,n);if(a!==void 0)return a;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return jf(e,t,n,r)}return jf(e,t,n,r)}function jf(e,t,i,o){if(Object.is(e,t))return!0;let s=yB(e),n=yB(t);if(s===vB&&(s=I1),n===vB&&(n=I1),s!==n)return!1;switch(s){case cVe:return e.toString()===t.toString();case dVe:{const l=e.valueOf(),c=t.valueOf();return EVe(l,c)}case uVe:case pVe:case hVe:return Object.is(e.valueOf(),t.valueOf());case lVe:return e.source===t.source&&e.flags===t.flags;case yVe:return e===t}i=i??new Map;const r=i.get(e),a=i.get(t);if(r!=null&&a!=null)return r===t;i.set(e,t),i.set(t,e);try{switch(s){case gVe:{if(e.size!==t.size)return!1;for(const[l,c]of e.entries())if(!t.has(l)||!mf(c,t.get(l),l,e,t,i,o))return!1;return!0}case fVe:{if(e.size!==t.size)return!1;const l=Array.from(e.values()),c=Array.from(t.values());for(let d=0;d<l.length;d++){const u=l[d],h=c.findIndex(p=>mf(u,p,void 0,e,t,i,o));if(h===-1)return!1;c.splice(h,1)}return!0}case mVe:case SVe:case xVe:case wVe:case MVe:case DVe:case kVe:case IVe:case AVe:case RVe:case TVe:case LVe:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!mf(e[l],t[l],l,e,t,i,o))return!1;return!0}case vVe:return e.byteLength!==t.byteLength?!1:jf(new Uint8Array(e),new Uint8Array(t),i,o);case CVe:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:jf(new Uint8Array(e),new Uint8Array(t),i,o);case bVe:return e.name===t.name&&e.message===t.message;case I1:{if(!(jf(e.constructor,t.constructor,i,o)||bB(e)&&bB(t)))return!1;const c=[...Object.keys(e),...mB(e)],d=[...Object.keys(t),...mB(t)];if(c.length!==d.length)return!1;for(let u=0;u<c.length;u++){const h=c[u],p=e[h];if(!Object.hasOwn(t,h))return!1;const g=t[h];if(!mf(p,g,h,e,t,i,o))return!1}return!0}default:return!1}}finally{i.delete(e),i.delete(t)}}function Nb(e,t){return PVe(e,t,rVe)}const NVe={key:0,class:"pv-tag"},OVe=m.defineComponent({__name:"TagCellRenderer",props:{params:{}},setup(e){const t=e,i=m.computed(()=>{const o=t.params.valueFormatted||t.params.value||"";return o.trim()===""?null:o});return(o,s)=>i.value?(m.openBlock(),m.createElementBlock("div",NVe,m.toDisplayString(i.value),1)):m.createCommentVNode("",!0)}}),FVe={key:0,class:"pv-table-row-number"},BVe=m.defineComponent({__name:"RowCountCellRenderer",props:{params:{}},setup(e){const t=e,i=m.computed(()=>(t.params.node?.rowIndex||0)+1),o=m.computed(()=>{const n=t.params.column?.getColDef()?.context,r=t.params.valueFormatted||t.params.value;return n&&n.dataType&&[ws.Currency,ws.Percent,ws.Number,ws.Integer].includes(n.dataType)?r.toLocaleString():r});return(s,n)=>(m.openBlock(),m.createElementBlock("div",null,[m.createElementVNode("p",null,[i.value?(m.openBlock(),m.createElementBlock("span",FVe,m.toDisplayString(i.value),1)):m.createCommentVNode("",!0),m.createTextVNode(" "+m.toDisplayString(o.value),1)])]))}}),GVe=Ea(BVe,[["__scopeId","data-v-ae67b797"]]),zVe={style:{"background-color":"white"},class:"pv-inset-square-8 pv-bordered-md pv-text-md"},_Ve={style:{color:"black"}},VVe=m.defineComponent({__name:"TableTooltip",props:{params:{}},setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("div",zVe,[m.createElementVNode("p",_Ve,m.toDisplayString(t.params.value),1)]))}}),HVe={class:"pv-stack-16"},WVe={class:"pv-flex pv-space-between"},jVe={class:"pv-flex"},$Ve={key:0,class:"pv-table-overlay"},UVe={class:"pv-text-body-xs pv-text-center",style:{"padding-top":"50px"}},KVe=m.defineComponent({__name:"PvDataTable",props:{colDefs:{},rowData:{},serverSideRowHandler:{},filterValuesSetHandler:{},initialGridState:{},initialFilterValueMap:{},theme:{},displayBaseAggregationsOnly:{type:Boolean,default:!1},displayRowNumber:{type:Boolean,default:!1},displayGroupCount:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1},enableColumnVisibilitySelector:{type:Boolean,default:!1},enableFocusView:{type:Boolean,default:!1},enableGroupBySelector:{type:Boolean,default:!1},enableVerticalFilterPanel:{type:Boolean,default:!0},rowGroupLimit:{},groupDefaultExpanded:{default:1},isClientSideGroupOpenByDefault:{},enableCsvExport:{type:Boolean,default:!1},csvRowLimit:{default:2e4},serverSideCsvHandler:{},uniqueRowIdField:{},requireFiltersToShowData:{type:Boolean,default:!1},isLoading:{type:Boolean},containerHeight:{default:500},containerMinHeight:{default:200},debugMode:{type:Boolean,default:!1},pagination:{type:Boolean,default:!1},paginationPageSize:{default:50},rowHeight:{},tooltipShowDelay:{default:1e3},tooltipHideDelay:{},hideTable:{type:Boolean}},emits:["column-moved","column-resized","column-row-group-changed","grid-ready","filter-changed","sort-changed","filter-opened","first-data-rendered","handle-settings-icon","focus-update"],setup(e,{expose:t,emit:i}){const o=[LIe,TIe,nMe,YRe,GIe,jIe,QLe,JLe,cTe,eLe,CAe,cAe,RAe];n7.setLicenseKey("Using_this_{AG_Grid}_Enterprise_key_{AG-065231}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Turquoise_Health}_is_granted_a_{Multiple_Applications}_Developer_License_for_{3}_Front-End_JavaScript_developers___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_{AG_Grid}_Enterprise___This_key_has_been_granted_a_Deployment_License_Add-on_for_{2}_Production_Environments___This_key_works_with_{AG_Grid}_Enterprise_versions_released_before_{16_August_2025}____[v3]_[01]_MTc1NTI5ODgwMDAwMA==c042c2db0e82c322692ccb41e7b58f3e");const n=e;n.debugMode&&o.push(Ske);const r=m.computed(()=>({height:`${n.containerHeight}px`,minHeight:`${n.containerMinHeight}px`})),a=m.computed(()=>n.theme?n.theme:C.value.length>0?J8e:Q8e),l=i,c="serverSideRowHandler"in n&&n.serverSideRowHandler?{getRows:K=>{if(!D.value){K.success({rowData:[]});return}n.serverSideRowHandler?.(K)}}:null,d="filterValuesSetHandler"in n&&n.filterValuesSetHandler?async K=>{let ce={...M.value};!S.value&&n.initialGridState&&(ce=n.initialGridState.filter?.filterModel||{});const Ie=await N(K.api,K.colDef,K.column,ce);K.success([...Ie,""])}:null,u=K=>{const ce=K.node,Ie=K.column?.getColId();return!ce.group||!Ie?!1:V.value.some(Ee=>{if(Ee.field===Ie)return!0})},h=(()=>{const K={suppressHeaderFilterButton:!0,editable:!1,sortable:!0,suppressHeaderMenuButton:!0,suppressColumnsToolPanel:!0,minWidth:200,flex:1,headerComponent:fB,cellDataType:!1,tooltipComponent:VVe,cellRendererSelector:ce=>{if(u(ce))return{component:h8e,params:ce};if(!ce.column?.getColDef().cellRenderer&&n.displayRowNumber&&C.value.length===0){const Ie=ce.api.getAllDisplayedColumns()||[],Ee=ce.column;if(Ie.findIndex(ai=>ai===Ee)===0)return{component:GVe,params:ce}}}};return c&&d&&(K.filterParams={values:d}),K})(),p=m.ref(void 0),g={name:"Column Filter",icon:'<span class="ag-icon ag-icon-filter"></span>',action:function(K){let ce=K.column?.getColId();if(K.column&&q(K.column)&&(ce=G.value?.getColId()||""),!me(ce)){const Ee=K.api.getColumn(ce)?.getColDef();Ee&&(y.value=Ee,m.nextTick(()=>{me(ce)}))}}},f=(K,ce)=>{const Ie={...K};return ce.isArrayField&&!K.valueFormatter?Ie.valueFormatter=Ee=>Bve(Ee,ce.dataType):ce.dataType===ws.Percent&&!K.valueFormatter?Ie.valueFormatter=Ee=>Ove(Ee,ce.valueDecimals||0):ce.dataType===ws.Currency&&!K.valueFormatter?Ie.valueFormatter=Ee=>E9(Ee,ce.valueDecimals||0):ce.dataType===ws.Integer&&!K.valueFormatter?Ie.valueFormatter=Fve:ce.dataType===ws.Tag&&!K.cellRenderer&&(Ie.cellRenderer=OVe),Ie},v=m.computed(()=>!n.colDefs||n.colDefs.length===0?[]:n.colDefs.map(K=>{const ce=K.context;return ce?f(K,ce):K})),y=m.ref(null),C=m.ref([]),S=m.ref(!1),x=m.computed(()=>{if(C.value.length>0){const K=C.value[0],ce=v.value.find(Ee=>Ee.field===K);if((!M.value||!M.value[K])&&ce?.context?.filterRequiredToGroup)return ce.headerName}return null}),D=m.computed(()=>(!M.value||Object.keys(M.value).length===0)&&n.requireFiltersToShowData?!1:x.value===null),A=m.computed(()=>x.value?`Select at least one value for "${x.value}" to view data.`:"Select a filter to view data."),k=m.shallowRef(null),w=m.ref([]),{filterModel:M,filterValuesLoadingStatus:R,filterValueMap:L,filterValueSelectedMetadataMap:P,fetchFilterValues:N,filterStoreHandler:O}=nw();O.value=n.filterValuesSetHandler,L.value=n.initialFilterValueMap||{};const F=m.ref(null),z=m.computed(()=>v.value.filter(K=>K.filter)),_=m.computed(()=>v.value.filter(K=>K.enableRowGroup)),V=m.computed(()=>v.value.filter(K=>K.aggFunc)),G=m.ref(null),H=m.ref({}),B=m.ref(1),W=m.ref(0);m.provide("filterModel",M),m.provide("sortState",w),m.provide("gridApi",k),m.provide("columnDisplayOrder",F),m.provide("currentlyActiveFilter",y),m.provide("availableFilterColumns",z),m.provide("availableRowGroupColumns",_),m.provide("rowGroupColumnFields",C),m.provide("groupColumnCellValueColumn",G),m.provide("expandedRows",H),m.provide("firstDataRendered",S),m.provide("filterValuesLoadingStatus",R),m.provide("displayUnfilteredTableData",D),m.provide("currentPage",B),m.provide("totalPages",W);const j=K=>{if(k.value=K.api,n.initialGridState){const ce=n.initialGridState.filter?.filterModel||null;ce&&k.value.setFilterModel(ce)}if(C.value.length>0){const ce=C.value[0];G.value=K.api.getColumn(ce),K.api.setColumnsVisible([ce],!1)}F.value=K.api.getAllGridColumns(),B.value=K.api.paginationGetCurrentPage()+1,W.value=K.api.paginationGetTotalPages(),l("grid-ready",K)},U=K=>{if(k.value){const ce=K.api.getFilterModel();Nb(M.value,ce)||(M.value=ce,l("filter-changed",K))}},ee=K=>{w.value=K.api?.getState()?.sort?.sortModel||[],l("sort-changed",K)},q=K=>K.getColId()&&K.getColId().includes("ag-Grid-AutoColumn"),te=m.ref(!1),se=async K=>{if(!k.value){console.error("Grid API not available");return}const ce=K||{route:[],purge:!0};k.value.refreshServerSide(ce)},Z=()=>P.value,ie=async()=>{if(te.value=!0,!k.value)return console.error("Grid API not available"),te.value=!1,null;try{const K=n.serverSideCsvHandler,ce=k.value?.getState(),Ie={rowGroupCols:[],valueCols:k.value?.getValueColumns().map(Ze=>({id:Ze.getId(),field:Ze.getColDef().field,aggFunc:typeof Ze.getColDef().aggFunc=="string"?Ze.getColDef().aggFunc:void 0,displayName:Ze.getColDef().headerName||Ze.getColDef().field||""}))||[],filterModel:ce?.filter?.filterModel||{},sortModel:ce?.sort?.sortModel||[],pivotCols:[],pivotMode:!1,groupKeys:[],startRow:0,endRow:n.csvRowLimit};if(K){const Ze={request:Ie,parentNode:{},api:k.value,context:void 0,success:()=>{},fail:()=>{}};return await n.serverSideCsvHandler(Ze),te.value=!1,null}const Ee=n.serverSideRowHandler;return Ee?await new Promise((Ze,ai)=>{const Mi=k.value?.getState(),Oa={request:Ie,parentNode:{},api:k.value,context:void 0,success:Ig=>{const rw=k.value?.getRowGroupColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],jL=k.value?.getAllDisplayedColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],aw=k.value?.getValueColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],mW=Array.from(new Set([...rw,...jL,...aw])),yW=Ig.rowData.map(Bs=>{const $L={};return mW.forEach(UL=>{const KL=Bs[UL];$L[UL]=KL!=null?String(KL):null}),$L}),vW=aEe.unparse(yW);te.value=!1,Ze(vW)},fail:()=>{te.value=!1,ai("CSV export failed.")}};Ee(Oa,!0)}):(console.warn("Client-side export does not return CSV string"),te.value=!1,k.value.exportDataAsCsv(),null)}catch(K){return console.error("CSV export failed",K),te.value=!1,null}},X=K=>{const ce=G.value,Ie=K.api.getRowGroupColumns();C.value=[...Ie].map(ai=>ai.getColId());const Ee=Ie.length>0?Ie[0]:null;Ee?(G.value=Ee,Y.value.headerName=Ee.getColDef().headerName,Y.value.headerComponent=fB,Y.value.context={dataType:G.value?.getColDef().context?.dataType||null},K.api.setColumnsVisible([Ee.getColId()],!1)):(G.value=null,Y.value.headerName="",Y.value.headerComponent=void 0,Y.value.context=null);const Ze=ce?.getColId();(!Ee||Ze!==Ee.getColId())&&K.api.setColumnsVisible([Ze||""],!0),l("column-row-group-changed",K)},ne=K=>{const ce=K.column?.getColId()||"";if(ce===G.value?.getColId()){K.api.setColumnsVisible([ce],!1);return}},re=K=>{K.finished&&(F.value=K.api.getAllGridColumns()),l("column-moved",K)},ue=K=>{K.api&&(B.value=K.api.paginationGetCurrentPage()+1,W.value=K.api.paginationGetTotalPages())},le=K=>"allChildrenRowCount"in K&&K.allChildrenRowCount||0,me=K=>{const ce=document.querySelector(`[data-horizontal-filter-field="${K}"]`);if(ce){const Ie=ce.querySelector("button");if(Ie)return Ie.click(),!0}return!1},Me=m.ref(q_e),pe=m.ref({loadingMessage:"One moment please..."}),Y=m.ref({headerName:"",minWidth:200,suppressMovable:!0,sortable:!1,pinned:"left",headerComponent:void 0,cellRendererParams:{suppressCount:!0,innerRenderer:s8e,innerRendererParams:K=>({displayBaseAggregationsOnly:n.displayBaseAggregationsOnly,displayRowNumber:n.displayRowNumber,displayCount:n.displayGroupCount,formattedValue:K.valueFormatted,rowNode:K.node,api:k.value})}}),$=K=>{if(K.node.group)return{backgroundColor:"#F7F8F8"}},Q={Median:K=>{const ce=K.values;if(K.rowNode.leafGroup){const Ze=hB(ce);return{values:ce,value:Ze}}const Ie=K.values.flatMap(Ze=>Ze.values||[]),Ee=hB(Ie);return{values:Ie,value:Ee}}};m.onBeforeMount(()=>{const K=Array.isArray(n.rowData)&&n.rowData.length>0,ce=typeof n.serverSideRowHandler=="function",Ie=typeof n.filterValuesSetHandler=="function";(K&&ce||K&&Ie)&&console.warn("Only one of `rowData` or `serverSideRowHandler + hasFilterValuesSetHandler` params should be provided to PvDataTable, not both."),p.value=Ee=>{const Ze=["sortAscending","sortDescending","sortUnSort","rowUnGroup","valueAggSubMenu"],ai=Ee.column&&q(Ee.column)?G.value:Ee.column;return ai&&ai.getColDef().filter&&Ze.splice(2,0,g),Ze.filter(Mi=>typeof Mi=="string"?Ee.defaultItems.includes(Mi):!0)}});const ae=K=>{const ce=k.value;if(!ce)return;const Ie=K.filter?.filterModel||null,Ee=K.rowGroup?.groupColIds||null,Ze=K.columnVisibility||null;Ie&&!Nb(Ie,Ie.value)&&ce.setFilterModel(Ie),Ee&&!Nb(Ee,C.value)&&ce.setRowGroupColumns(Ee),Ze&&!Nb(Ze,F.value)&&ce.setColumnsVisible(Ze.hiddenColIds,!1)};m.watch(()=>n.initialGridState,()=>{n.initialGridState&&ae(n.initialGridState)},{deep:!0}),m.onMounted(()=>{n.initialGridState&&(M.value=n.initialGridState.filter?.filterModel||null,C.value=n.initialGridState.rowGroup?.groupColIds||[])});const ye=K=>{S.value=!0,l("first-data-rendered",K)};t({getCsvData:ie,refreshData:se,getFilterValueSelectedMetadataMap:Z});const we=K=>c?K.rowNode.level===C.value.length-2:!1,De=m.computed(()=>{if(!c)return n.groupDefaultExpanded});return(K,ce)=>(m.openBlock(),m.createElementBlock("div",{class:"pv-full-width",style:m.normalizeStyle(r.value)},[m.createElementVNode("div",HVe,[m.createElementVNode("div",WVe,[z.value.length>0?(m.openBlock(),m.createBlock(Y8e,{key:0,"enable-focus-view":K.enableFocusView,"enable-vertical-panel":K.enableVerticalFilterPanel,"display-preferences-icon":K.displayPreferencesIcon,onHandleSettingsIcon:ce[0]||(ce[0]=Ie=>K.$emit("handle-settings-icon",Ie)),onFocusUpdate:ce[1]||(ce[1]=Ie=>K.$emit("focus-update",Ie))},null,8,["enable-focus-view","enable-vertical-panel","display-preferences-icon"])):m.createCommentVNode("",!0),m.createElementVNode("div",jVe,[K.enableGroupBySelector&&K.rowGroupLimit!==0?(m.openBlock(),m.createBlock(K_e,{key:0,rowGroupLimit:K.rowGroupLimit,enableFocusView:K.enableFocusView},null,8,["rowGroupLimit","enableFocusView"])):m.createCommentVNode("",!0),K.enableCsvExport?(m.openBlock(),m.createBlock(oVe,{key:1,getCsvData:ie})):m.createCommentVNode("",!0)])])]),m.createElementVNode("div",{class:m.normalizeClass(["pv-relative pv-stack-8",K.hideTable?"pv-hide":""]),style:{width:"100%",height:"90%","border-bottom":"1px solid #d2d7db"}},[m.createVNode(m.unref(zAe),m.mergeProps({ref:"gridRef",style:{width:"100%",height:"100%"}},m.unref(c)?{serverSideDatasource:m.unref(c)}:{},{onColumnMoved:re,onColumnRowGroupChanged:X,onColumnVisible:ne,onFilterChanged:U,onFilterOpened:ce[2]||(ce[2]=Ie=>l("filter-opened",Ie)),onFirstDataRendered:ye,onGridReady:j,onPaginationChanged:ue,onSortChanged:ee,aggFuncs:Q,autoGroupColumnDef:Y.value,columnDefs:v.value,debug:K.debugMode,defaultColDef:m.unref(h),getChildCount:le,getMainMenuItems:p.value,getRowStyle:$,groupDefaultExpanded:De.value,groupDisplayType:"singleColumn",initialState:K.initialGridState,isGroupOpenByDefault:m.unref(c)?void 0:n.isClientSideGroupOpenByDefault,isServerSideGroupOpenByDefault:we,loading:m.unref(c)?!1:K.isLoading,loadingCellRenderer:Me.value,loadingCellRendererParams:pe.value,maxConcurrentDatasourceRequests:m.unref(c)?10:void 0,modules:o,rowData:K.rowData,rowHeight:K.rowHeight,rowModelType:m.unref(c)?"serverSide":"clientSide",serverSideInitialRowCount:m.unref(c)?1:void 0,showOpenedGroup:!0,suppressAggFuncInHeader:!0,suppressColumnMoveAnimation:!0,suppressDragLeaveHidesColumns:!0,serverSideSortAllLevels:!1,serverSideEnableClientSideSort:!1,theme:a.value,pagination:K.pagination,suppressPaginationPanel:!0,paginationPageSize:K.paginationPageSize,suppressScrollOnNewData:!0,"tooltip-show-delay":K.tooltipShowDelay,"tooltip-hide-delay":K.tooltipHideDelay}),null,16,["autoGroupColumnDef","columnDefs","debug","defaultColDef","getMainMenuItems","groupDefaultExpanded","initialState","isGroupOpenByDefault","loading","loadingCellRenderer","loadingCellRendererParams","maxConcurrentDatasourceRequests","rowData","rowHeight","rowModelType","serverSideInitialRowCount","theme","pagination","paginationPageSize","tooltip-show-delay","tooltip-hide-delay"]),D.value?m.createCommentVNode("",!0):(m.openBlock(),m.createElementBlock("div",$Ve,[m.createElementVNode("p",UVe,m.toDisplayString(A.value),1)]))],2),K.pagination?(m.openBlock(),m.createBlock(nVe,{key:0})):m.createCommentVNode("",!0)],4))}}),YVe={class:"pv-stack-16 pv-chart-options-panel"},XVe={class:"pv-flex"},ZVe=m.defineComponent({__name:"PvChartOptionsPanel",props:{enablePanel:{type:Boolean},chartFilter:{}},setup(e){const t=e,i=m.inject("activeChartType"),o=m.inject("activeSort"),s=m.inject("chartTypes"),n=m.inject("sortTypes"),r=m.inject("rowGroupColumns"),a=m.inject("activeChartFilterOption"),l=m.computed(()=>{const d=[];return t.chartFilter&&t.chartFilter.options?t.chartFilter.options.map(u=>({label:u.label,value:u.value})):d}),c=m.computed(()=>(r.value.length>1?["bar_stacked","line","column_stacked","area"]:["bar","line","column","area"]).includes(i.value?.id));return m.watch(s,d=>{const u=i.value,h=u?.id.endsWith("_stacked"),p=d.find(g=>g.id===u.id);if(p){i.value=p;return}if(h){const g=u?.id.replace("_stacked",""),f=d.find(v=>v.id===g);if(f){i.value=f;return}}i.value=d[0]}),(d,u)=>(m.openBlock(),m.createElementBlock("div",YVe,[m.createElementVNode("div",null,[m.createElementVNode("div",{class:"pv-flex pv-space-between",style:m.normalizeStyle(d.chartFilter?{"--flex-justify":"flex-end"}:{})},[(m.openBlock(),m.createBlock(g2e,{key:0,options:l.value,modelValue:m.unref(a),"onUpdate:modelValue":u[0]||(u[0]=h=>m.isRef(a)?a.value=h:null)},null,8,["options","modelValue"])),m.createElementVNode("div",XVe,[m.createVNode(tk,{class:m.normalizeClass({"pv-hide":!c.value}),label:"Sort By",modelValue:m.unref(o),"onUpdate:modelValue":u[1]||(u[1]=h=>m.isRef(o)?o.value=h:null),options:m.unref(n),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["class","modelValue","options"]),m.createVNode(tk,{label:"Select Chart Type",modelValue:m.unref(i),"onUpdate:modelValue":u[2]||(u[2]=h=>m.isRef(i)?i.value=h:null),options:m.unref(s),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["modelValue","options"])])],4)])]))}}),qVe=[{text:"Column",id:"column",icon:"chart-column"},{text:"Bar",id:"bar",icon:"chart-bar"},{text:"Line",id:"line",icon:"chart-line"},{text:"Area",id:"area",icon:"chart-area"},{text:"Pie",id:"pie",icon:"chart-pie"}],QVe=[{text:"Grouped Column",id:"column",icon:"chart-column"},{text:"Stacked Column",id:"column_stacked",icon:"chart-column"},{text:"Grouped Bar",id:"bar",icon:"chart-bar"},{text:"Stacked Bar",id:"bar_stacked",icon:"chart-bar"}],JVe={style:{height:"100%",width:"100%"}},e9e={class:"pv-relative pv-margin-auto"},t9e={key:0,class:"pv-chart-overlay pv-text-body-xs"},i9e=m.defineComponent({__name:"PvDataTableWithChart",props:{enabledChartTypes:{default:()=>["column","bar","column_stacked","bar_stacked","line","area"]},overrideChartData:{type:Boolean,default:!1},showSeriesLabels:{type:Boolean,default:!0},truncateLabelValues:{type:Boolean,default:!0},initialChartData:{},displayChartLoading:{type:Boolean,default:!0},chartFilter:{},chartType:{default:"column"},yKey:{default:""},focusCategory:{},hideChart:{type:Boolean},hideTable:{type:Boolean},colDefs:{},rowData:{},serverSideRowHandler:{},filterValuesSetHandler:{},initialGridState:{default:()=>({})},initialFilterValueMap:{},theme:{},displayBaseAggregationsOnly:{type:Boolean,default:!1},displayRowNumber:{type:Boolean,default:!0},displayGroupCount:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1},enableColumnVisibilitySelector:{type:Boolean,default:!0},enableFocusView:{type:Boolean,default:!1},enableGroupBySelector:{type:Boolean,default:!0},enableVerticalFilterPanel:{type:Boolean,default:!0},rowGroupLimit:{default:2},groupDefaultExpanded:{},isClientSideGroupOpenByDefault:{},enableCsvExport:{type:Boolean,default:!1},csvRowLimit:{},serverSideCsvHandler:{},uniqueRowIdField:{},requireFiltersToShowData:{type:Boolean,default:!1},isLoading:{type:Boolean},containerHeight:{},containerMinHeight:{},debugMode:{type:Boolean},pagination:{type:Boolean},paginationPageSize:{},rowHeight:{},tooltipShowDelay:{},tooltipHideDelay:{}},emits:["chart-series-changed","column-moved","column-resized","column-row-group-changed","grid-ready","filter-changed","sort-changed","filter-opened","first-data-rendered","handle-settings-icon","focus-update"],setup(e,{expose:t,emit:i}){const o=e,s=i,n=m.ref(null),r=m.ref(null),a=m.ref(null),{setFilterSelectedValues:l}=nw(),c=$=>{n.value=$.api,s("grid-ready",$)},d=$=>{S.value=[...$.api.getRowGroupColumns()],U($.api),te($.api),s("column-row-group-changed",$)},u=async $=>{if(o.chartFilter){const ae=(await $.api.getColumnFilterInstance(o.chartFilter.colId))?.getModel();R.value=ae?.values?.[0]||""}te($.api),s("filter-changed",$)},h=m.ref([]);function p($,Q,ae=!0){return ye=>{ye.data=x.value?.find(Ee=>Ee[$]===ye.value);let we="";const De=f($),K=a8e(De);if(o.truncateLabelValues&&ae&&K&&!isNaN(Number(ye.value))){if(B.value){const Oa=ye.datum?.[A.value],rw=D.value?.find(aw=>aw[A.value]===Oa)?.[`${k.value}_sort_total`]||1/0;if(ye.value/rw<.05)return""}let Ee=0;l8e(De,ws.Percent)&&(Ee=2);const Ze=aVe(ye.value,Ee),{newValue:ai,newSuffix:Mi}=c8e(Ze);ye.value=ai,we=Mi}let Ie=ye.value;return Q&&(Ie=Q(ye)),Ie+we}}const g=($,Q=!1)=>{if(!$)return;const ae=f($);return ae&&typeof ae.valueFormatter=="function"?p($,ae.valueFormatter,Q):p($,null,Q)},f=$=>!$||!n.value?null:n.value?.getColumnDef($),v=m.computed(()=>(S.value.length>1?QVe:qVe).filter(Q=>o.enabledChartTypes?.includes(Q.id))),y=m.ref(void 0),C=m.ref([{text:"Lowest to Highest",id:"asc",icon:"arrow-up-wide-narrow"},{text:"Highest to Lowest",id:"desc",icon:"arrow-down-narrow-wide"}]),S=m.ref([]),x=m.ref([]),D=m.ref([]),A=m.ref("provider_name"),k=m.computed(()=>o.yKey),w=m.ref(null),M=m.ref(void 0),R=m.ref("");m.provide("activeChartFilterOption",R),m.provide("rowGroupColumns",S),m.provide("chartTypes",v),m.provide("sortTypes",C),m.provide("activeChartType",y),m.provide("activeSeries",k),m.provide("activeSort",M);const L={focuses:m.ref([]),focusType:m.ref(null)};m.provide(uW,L),m.watch(()=>o.chartType,$=>{const Q=v.value.find(ae=>ae.id===$);Q?y.value=Q:y.value=v.value[0]}),m.watch(R,$=>{if(o.chartFilter&&n.value){const Q=o.chartFilter.colId;let ae=o.chartFilter.options.find(ye=>ye.value===$)?.filterValues||null;ae&&ae.length===0&&(ae=null),l(Q,ae||[]),n.value.setColumnFilterModel(Q,{values:ae}).then(()=>{n.value?.onFilterChanged()})}});const P=m.computed(()=>{const $=h.value.find(Q=>Q.value===k.value);return $?$.label:""}),N=m.computed(()=>y.value?.id.includes("bar")),O=m.computed(()=>S.value.length>1),F=($,Q)=>`${$}_${Q}`,z=m.computed(()=>{if(h.value.length===0)return[];const $=H.value?"bar":y.value?.id||"";return["bar","line","area"].includes($)?W.value:$==="pie"?j.value:(console.error("Unsupported chart type",$),[])}),_=m.computed(()=>o.showSeriesLabels),V=$=>{let Q=$.datum[$.xKey];const ae=g($.xKey);ae&&typeof ae=="function"&&(Q=ae({value:Q}));const ye=$.yKey;let we=$.datum[ye];const De=g(ye);return De&&typeof De=="function"&&(we=De({value:we})),{heading:Q,data:[{label:P.value,value:we}]}},G=$=>{const Q=o.focusCategory||"";$.datum[A.value]},H=m.computed(()=>y.value?.id.includes("column")||y.value?.id.includes("bar")),B=m.computed(()=>y.value?.id.includes("stacked")),W=m.computed(()=>{const $=B.value,Q=H.value?"bar":y.value?.id;let ae=[];const ye=g(k.value,!0),we=g(w.value?.fieldName,!0);if(O.value)w.value?.fieldValues.forEach(ce=>{const Ie={type:Q,xKey:A.value,yKey:F(k.value,ce),yName:typeof we=="function"?we({value:ce}):ce,stacked:$,label:{enabled:_.value,color:$?"white":"black",fontFamily:"Inter",padding:5,fontSize:11,placement:$?"inside-end":"outside-end",formatter:ye},itemStyler:G};ae.push(Ie)});else{const K={type:Q,xKey:A.value,yKey:k.value,tooltip:{renderer:V},label:{enabled:_.value,color:"black",fontFamily:"Inter",padding:5,fontSize:11,placement:"outside-end",formatter:ye},itemStyler:G};ae.push(K)}let De={};if(Q==="column"||Q==="bar"){const K=De;K.direction=N.value?"horizontal":"vertical",De=K}else if(Q==="line"||Q==="area"){const K=De;K.connectMissingData=!0,De=K}return ae=ae.map(K=>({...K,...De})),ae}),j=m.computed(()=>h.value.length===0?[]:[{type:"pie",legendItemKey:A.value,angleKey:k.value}]),U=$=>{const Q=$.getAllGridColumns().filter(ae=>ae.getAggFunc()!==null&&ae.getAggFunc()!==void 0);A.value=S.value[0]?.getColId()||"",h.value=Q.map(ae=>{const ye=ae.getColId(),we=ae.getColDef();return{label:we.headerName||ye,value:ye,formatter:we.valueFormatter,dataType:we.context?.dataType}})};m.watch(k,$=>{s("chart-series-changed",{api:n.value,seriesField:$})});const ee=()=>{x.value=[],D.value=[],w.value=null},q=($,Q)=>{if(!$||$.length===0){ee();return}if(Q){const ae=A.value,ye=new Set;$.forEach(De=>{const K=De[Q];ye.add(K)});const we=$.reduce((De,K)=>{const ce=K[ae];De[ce]||(De[ce]={});const Ie=K[Q];for(const Ee of h.value){const Ze=Ee.value;let ai=De[`${Ze}_sort_total`]||0;const Mi=K[Ze];ye.add(Ie),Q&&Mi&&(De[ce][F(Ze,Ie)]=Mi,ai=ai+Mi),De[ce][`${Ze}_sort_total`]=ai}return De},{});D.value=Object.keys(we).map(De=>({[ae]:De,...we[De]})),w.value={fieldName:Q,fieldValues:Array.from(ye)}}else D.value=[],w.value=null;x.value=$},te=$=>{if(o.overrideChartData)return;const Q=S.value.length;if(ee(),Q===0||h.value.length===0)return;const ae=[],ye=[];let we=new Set;if($.forEachNodeAfterFilterAndSort(De=>{if(De.group&&De.level===0){if(S.value.length>1){const ce=De.childrenAfterFilter?.filter(Ze=>Ze.level===1&&Ze.aggData)||[],{rowData:Ie,fieldValues:Ee}=Z(De,ce);we=we.union(Ee),ye?.push(Ie)}const K=se(De);ae?.push(K)}}),x.value=ae,S.value.length>1&&ye&&ye.length>0){const De=S.value[1].getColId();D.value=ye,w.value={fieldName:De,fieldValues:Array.from(we)}}else D.value=[],w.value=null},se=$=>{const Q={[$.field]:$.key};for(const ae of h.value)!$.aggData||!$.aggData[ae.value]||(Q[ae.value]=$.aggData[ae.value]?.value??$.aggData[ae.value]);return Q},Z=($,Q)=>{const ae=new Set,ye={[$.field]:$.key};let we=0;for(const De of h.value)Q.forEach(K=>{const ce=K.key;ae.add(ce);const Ie=K.aggData;if(ce&&Ie){const Ee=K.aggData[De.value]?.value??K.aggData[De.value];ye[F(De.value,ce)]=Ee,we=we+Ee}}),ye[`${De.value}_sort_total`]=we;return{rowData:ye,fieldValues:ae}},ie=($,Q,ae)=>!$||$.length===0?$:$.slice().sort((ye,we)=>{const De=ae.includes(ye[Q])?0:1,K=ae.includes(we[Q])?0:1;return De-K}),X=m.computed(()=>{let $=O.value?D.value:x.value,Q=null;if(M.value&&(Q=O.value?`${k.value}_sort_total`:k.value),Q&&$&&M.value){const ae=M.value?.id.includes("desc")?-1:1;$=[...$].sort((ye,we)=>{const De=ye[Q]||0,K=we[Q]||0;return(De-K)*ae})}if(o.enableFocusView&&$&&($=ie($,A.value,L.focuses.value)),$&&$.length===1){const ae="",ye=" ";$=[{[A.value]:ae},$[0],{[A.value]:ye}]}return $}),ne=m.computed(()=>X.value?.length||0),re=m.computed(()=>w.value?.fieldValues?.length||0),ue=m.computed(()=>{const we=.25*Math.exp(-.12*ne.value);return Math.min(Math.max(we,.05),.75)}),le=m.computed(()=>re.value>5?.5:1),me=m.computed(()=>re.value>5?.25:.1),Me=m.computed(()=>S.value.length===0?"No groups selected. Select at least one group to display data.":X.value&&X.value?.length===0?"No data available to chart.":""),pe=m.computed(()=>{const $={};return $.overlays={noData:{text:""}},$.data=X.value,$.axes=[{type:"category",position:N.value?"left":"bottom",label:{formatter:Q=>{let ye=Q.value;const we=g(A.value);return typeof we=="function"&&(ye=we(Q)),typeof ye=="string"&&ye.length>35?ye.substring(0,35)+"...":ye}},paddingInner:ue.value,paddingOuter:le.value,groupPaddingInner:me.value},{type:"number",position:N.value?"bottom":"left",label:{formatter:g(k.value)},title:{enabled:!0,text:P.value}}],$.series=z.value,$}),Y=m.computed(()=>o.displayChartLoading&&o.isLoading&&(!X.value||X.value.length===0));return t({provideChartData:q,getChartImageDataURL:$=>a.value?.getChartImageDataURL($),getCsvData:()=>r.value?.getCsvData(),refreshData:$=>r.value?.refreshData($),getFilterValueSelectedMetadataMap:()=>r.value?.getFilterValueSelectedMetadataMap()}),m.onBeforeMount(()=>{o.chartType&&(y.value=v.value.find($=>$.id===o.chartType))}),($,Q)=>(m.openBlock(),m.createElementBlock("div",JVe,[m.createElementVNode("div",{class:m.normalizeClass($.hideChart?"pv-hide":"")},[m.createVNode(ZVe,{enablePanel:X.value!=null&&X.value.length>0,chartFilter:$.chartFilter},null,8,["enablePanel","chartFilter"]),m.createElementVNode("div",e9e,[m.createVNode($T,{ref_key:"pvChartRef",ref:a,isLoading:Y.value,options:pe.value,enableFocusView:$.enableFocusView},null,8,["isLoading","options","enableFocusView"]),!$.isLoading&&Me.value!==""?(m.openBlock(),m.createElementBlock("p",t9e,m.toDisplayString(Me.value),1)):m.createCommentVNode("",!0)])],2),m.createVNode(KVe,m.mergeProps({ref_key:"pvDataTableRef",ref:r},$.$props,{onColumnRowGroupChanged:d,onGridReady:c,onFilterChanged:u,onSortChanged:Q[0]||(Q[0]=ae=>s("sort-changed",ae)),onFilterOpened:Q[1]||(Q[1]=ae=>s("filter-opened",ae)),onFirstDataRendered:Q[2]||(Q[2]=ae=>s("first-data-rendered",ae)),onColumnMoved:Q[3]||(Q[3]=ae=>s("column-moved",ae)),onColumnResized:Q[4]||(Q[4]=ae=>s("column-resized",ae)),onHandleSettingsIcon:Q[5]||(Q[5]=ae=>s("handle-settings-icon",ae)),onFocusUpdate:Q[6]||(Q[6]=ae=>s("focus-update",ae))}),null,16)]))}}),o9e={type:"Feature",properties:{name:"Hawaii"},geometry:{type:"MultiPolygon",coordinates:[[[[-105.70409839588592,25.25161631830986],[-105.74881952767498,25.17708731830985],[-105.7324578028169,25.056085318309865],[-105.68895681047411,25.045162318309856],[-105.67536932349577,24.993176818309855],[-105.68981478149271,24.810911818309865],[-105.66432618951364,24.761803318309862],[-105.65719536478286,24.60298481830986],[-105.80352494114891,24.229658818309865],[-105.78141417789311,24.13590431830986],[-105.5774075760354,24.035093818309853],[-105.51858474640801,23.957137318309865],[-105.40936139329716,24.036536818309862],[-105.17504886992111,24.287800318309863],[-105.09153381173394,24.308866318309853],[-104.75568134783998,24.492257818309863],[-104.67362977026619,24.472298818309863],[-104.60114321656317,24.483500818309864],[-104.36533065836738,24.577913818309863],[-104.10476925447796,24.730772818309866],[-103.98390683066299,24.831910318309863],[-103.96829885998909,24.87607331830986],[-104.16112558606994,25.03073981830986],[-104.14508660820235,25.11696881830986],[-104.16077636759547,25.189867318309854],[-104.28677083656623,25.17295781830986],[-104.22696065992807,25.364036818309863],[-104.30886391690893,25.487773318309863],[-104.42831881051,25.602725818309867],[-104.7292827123988,25.752170818309864],[-104.80549464909689,25.778293318309863],[-104.86740887482102,25.767746818309853],[-105.02892662902929,25.915097818309864],[-105.179856822999,25.98826031830986],[-105.2436709875459,25.963798318309863],[-105.29910352520284,25.84654781830986],[-105.30628052032404,25.76630231830986],[-105.25460778276909,25.619854318309862],[-105.28450376869205,25.555100818309864],[-105.39882655591924,25.479181318309866],[-105.45434726738569,25.411627318309854],[-105.70409839588592,25.25161631830986]]],[[[-106.12948574382648,26.96188181830986],[-106.07741473079159,26.812798318309866],[-105.95781505204707,26.748550318309867],[-105.89969049073602,26.780132818309863],[-105.85535948600159,26.76707231830986],[-105.88848007156639,26.478152818309866],[-105.81685446816806,26.448578818309862],[-105.54119874286357,26.523715318309865],[-105.42119221780342,26.522222818309864],[-105.19421119770203,26.628034318309858],[-105.1464927521539,26.697305818309857],[-105.1479655567631,26.774255818309854],[-105.22481097438867,26.796748318309856],[-105.38612834141509,26.91890081830986],[-105.43465475582002,26.98769531830986],[-105.56569637466987,27.000613318309856],[-105.81253870992253,26.92823681830987],[-105.87520235947693,27.105188818309866],[-105.95450182345559,27.122627818309862],[-106.07074763534115,27.051331318309856],[-106.12948574382648,26.96188181830986]]],[[[-106.26500385364164,26.420801818309865],[-106.32611361105057,26.379614818309857],[-106.2894856754333,26.338045318309863],[-106.08465366443977,26.37240431830985],[-106.0640210422522,26.45111081830986],[-106.08797909227519,26.488280818309867],[-106.26500385364164,26.420801818309865]]],[[[-106.67206650899425,26.95104881830986],[-106.6873714878177,26.90788931830986],[-106.61477297142841,26.820842818309867],[-106.6383870557139,26.744791318309865],[-106.62453700158454,26.683558318309863],[-106.41552673236328,26.727800818309866],[-106.34284288111968,26.811532318309858],[-106.40247833141177,26.922956818309856],[-106.48364519658372,26.968849318309864],[-106.5901027113996,26.97557381830986],[-106.67206650899425,26.95104881830986]]],[[[-106.8743512794174,27.318584818309862],[-106.95385906910991,27.233378818309863],[-106.87365102641508,27.212443318309862],[-106.60839510156171,27.23390231830986],[-106.329971986028,27.154888318309858],[-106.20841720535509,27.18158081830986],[-106.09137759463795,27.247942318309864],[-106.02160452204271,27.31892081830987],[-106.06224098311128,27.34525931830986],[-106.32955113075946,27.334470268309868],[-106.37476177712728,27.39913481830986],[-106.50153299140214,27.367301818309862],[-106.81478829708749,27.41946431830987],[-106.8196443467553,27.357539818309863],[-106.8743512794174,27.318584818309862]]],[[[-108.08537911421956,27.956647318309855],[-108.15636510038496,27.949121818309855],[-108.1156589928778,27.866723818309865],[-108.13756652906989,27.81233831830986],[-108.09224078139147,27.726047818309866],[-108.10058365361573,27.68738831830986],[-108.05814130288644,27.64163831830986],[-108.04214174918206,27.527788318309856],[-107.84997603965871,27.554785318309857],[-107.71746916811958,27.540688318309865],[-107.62212128030012,27.467488318309854],[-107.53293144170925,27.497938318309867],[-107.45448649656424,27.476938318309855],[-107.3634024933304,27.54485876830986],[-107.42101311573185,27.618688318309857],[-107.38596655759613,27.76977581830987],[-107.44801920449714,27.772940818309863],[-107.53317700821418,27.74138831830986],[-107.56667011614633,27.781058818309862],[-107.52039554540318,27.87585581830987],[-107.62047543510062,28.149994318309865],[-107.76605754930574,28.087760818309864],[-107.92373977521368,27.96104681830986],[-108.08537911421956,27.956647318309855]]],[[[-110.1564241170338,28.67828381830987],[-110.18617122941907,28.60913981830986],[-110.16065456471978,28.547596318309864],[-110.02674980080172,28.481710318309865],[-109.97949443038658,28.419310318309854],[-109.7542536177283,28.383878818309864],[-109.5482735829072,28.507697818309857],[-109.49386328381894,28.64348531830986],[-109.38664612754872,28.765378318309864],[-109.38223762993277,28.855561318309856],[-109.4901978226747,28.92984281830987],[-109.54119835349013,28.910960818309853],[-109.62045020399529,28.925206318309865],[-109.66924404207424,28.886260318309873],[-109.76383456845343,28.916170318309863],[-110.03502542064291,28.790867818309852],[-110.08058661800197,28.727200318309865],[-110.1564241170338,28.67828381830987]]],[[[-110.99232788883813,28.30365581830986],[-110.94569224533905,28.25021531830986],[-110.82337922274428,28.38283331830986],[-110.6924098319239,28.425058318309862],[-110.68559015283807,28.471880818309852],[-110.60424702528303,28.55252831830987],[-110.60703136258246,28.57550831830986],[-110.68912028625044,28.573805818309864],[-110.75104143207164,28.503886318309867],[-110.85081915407153,28.46451731830986],[-110.92144004514194,28.414613818309856],[-110.99232788883813,28.30365581830986]]]]}},s9e={type:"Feature",properties:{name:"Alaska"},geometry:{type:"MultiPolygon",coordinates:[[[[-122.7926886429708,20.148124827090204],[-122.73342925165485,20.131405920916723],[-122.75745021977383,20.17904909838047],[-122.7926886429708,20.148124827090204]]],[[[-122.99250039142089,19.956898993535294],[-122.84420089151422,19.841417459721914],[-122.792609815177,19.86484231387806],[-122.99250039142089,19.956898993535294]]],[[[-123.02313421964743,20.104441675096734],[-123.0144348107421,20.065435473881923],[-122.994171978581,20.0943529264347],[-123.02313421964743,20.104441675096734]]],[[[-123.08206306798922,20.01904215984973],[-123.04374923122015,19.988796096613253],[-123.05367611453369,20.027877316867272],[-123.08206306798922,20.01904215984973]]],[[[-123.1066441957094,20.117686532237585],[-123.1006695175559,20.082761999607442],[-123.08253884015744,20.093212148384506],[-123.1066441957094,20.117686532237585]]],[[[-123.30632565438282,20.012310506219837],[-123.21850731989173,20.032063172020475],[-123.20101969494323,20.114571229685644],[-123.30632565438282,20.012310506219837]]],[[[-124.05573456261743,20.255607538913612],[-124.06620448573335,20.23820251180781],[-123.99047641535293,20.229550472679545],[-124.05573456261743,20.255607538913612]]],[[[-124.1548565212961,20.084984103342343],[-124.10816366370977,20.04207946654677],[-124.07924884087413,20.119501945955527],[-124.1548565212961,20.084984103342343]]],[[[-124.36952551514105,20.263343147888445],[-124.27207237164424,20.194819909308453],[-124.1543011003863,20.251269599445543],[-124.36952551514105,20.263343147888445]]],[[[-112.3998142680436,24.17642325037664],[-112.28211880509906,23.878308324079025],[-112.12118759458087,23.729587212600244],[-111.89635332782444,23.721806399501364],[-111.95483501009141,23.979313440017748],[-112.20075342784224,24.357703769869165],[-112.36118642705281,24.371218694881772],[-112.3998142680436,24.17642325037664]]],[[[-112.55666854674035,24.57720663570464],[-112.48018521665409,24.162092674496744],[-112.40192443002655,24.392405479322985],[-112.15365647813462,24.51406159062138],[-112.32512941577716,24.689323363053543],[-112.55666854674035,24.57720663570464]]],[[[-112.767715788028,25.240640443244324],[-112.62431793238392,24.675906636708184],[-112.49050057693404,24.79263157018713],[-112.52877771211763,25.065874427029787],[-112.767715788028,25.240640443244324]]],[[[-113.10159766297687,25.001284278742233],[-112.58112757954115,24.333530907501512],[-112.74569268283756,25.07665641164485],[-112.99738561343031,25.134211464229484],[-113.10159766297687,25.001284278742233]]],[[[-116.56777067266773,25.372080578021556],[-116.5310867438032,25.390394584514176],[-116.54560895752809,25.4198290794845],[-116.56777067266773,25.372080578021556]]],[[[-116.87873841076447,24.83162771900214],[-116.83191616629642,24.815600858931923],[-116.8391740527843,24.85298490747943],[-116.87873841076447,24.83162771900214]]],[[[-117.09432944180003,23.854137592351588],[-116.88612571458538,23.623532196939735],[-116.55224237749866,23.957544127256632],[-116.5395491515053,24.167174266583483],[-116.63577149336629,24.20555744232377],[-116.6167892923288,24.290340138012848],[-116.45895469929474,24.37766471697998],[-116.63628974580018,24.528772429776815],[-117.09432944180003,23.854137592351588]]],[[[-117.08524242962187,23.419594244629103],[-116.87678087225572,23.51591594833026],[-117.01745308870113,23.518687247543326],[-117.08524242962187,23.419594244629103]]],[[[-117.27259737622586,23.10383247833345],[-117.23566721895497,23.08390471052284],[-117.22598522279736,23.15539289534735],[-117.27259737622586,23.10383247833345]]],[[[-117.49754493618912,23.174251075797056],[-117.48412399643121,23.138666680296176],[-117.47083796073031,23.174172709179633],[-117.49754493618912,23.174251075797056]]],[[[-117.63127872796593,23.37140265132634],[-117.63870928052455,23.350966653395954],[-117.56138218321382,23.374370774600976],[-117.63127872796593,23.37140265132634]]],[[[-118.257551826542,22.475628165371802],[-118.04544648451815,22.498745192648318],[-118.09232796818412,22.63793840524038],[-118.257551826542,22.475628165371802]]],[[[-118.40025488177304,22.632492074519472],[-118.32273689272233,22.561830815176457],[-118.2446036969784,22.692776046083477],[-118.40025488177304,22.632492074519472]]],[[[-118.49429501567477,24.144676712310247],[-118.46805615064653,24.11240574015076],[-118.40871489637317,24.229540183477578],[-118.49429501567477,24.144676712310247]]],[[[-118.52550771892135,22.558832377733975],[-118.50620250443728,22.536113013958833],[-118.50409824091349,22.564695608270146],[-118.52550771892135,22.558832377733975]]],[[[-118.5865877585444,22.56091811369411],[-118.55530026859964,22.548111661646573],[-118.54821373449738,22.579461946714055],[-118.5865877585444,22.56091811369411]]],[[[-118.83051074575508,22.16783075287409],[-118.80922389593616,22.108491705574245],[-118.71653533280954,22.141665316204325],[-118.83051074575508,22.16783075287409]]],[[[-119.44206445249068,21.822727471649866],[-119.29714269336012,21.860856792151097],[-119.25640162320104,21.944478224327707],[-119.44206445249068,21.822727471649866]]],[[[-119.54714498632268,21.86498061884192],[-119.54183705052935,21.800975583207443],[-119.39517828687826,21.90272162517402],[-119.54714498632268,21.86498061884192]]],[[[-119.86848227420734,24.576437704086796],[-119.5814197084066,24.442349510538047],[-119.47292700533336,24.52633699368084],[-119.53574069829403,24.714248964627757],[-119.86848227420734,24.576437704086796]]],[[[-119.9249089967791,21.391666302622973],[-119.55026969386171,21.698751009984207],[-119.72823093613869,21.735618507092127],[-119.9249089967791,21.391666302622973]]],[[[-119.91265352240941,27.09158174406807],[-119.57775350009905,27.005801622480348],[-119.67386957674177,26.9023702357688],[-119.58870257341846,26.69474725777626],[-119.30227476181528,26.654155412857207],[-118.87522972766965,26.793511069634953],[-118.84261234648397,26.703800834601836],[-118.45847166181625,27.00980727304337],[-118.43133160427317,26.92168214724123],[-118.57200422780761,26.84025343678672],[-118.4326967056997,26.556238708325786],[-118.49876995517559,26.41909909126295],[-118.81363028942485,26.38255339338515],[-118.76630654961383,26.31342647339211],[-118.97174983930131,26.078067637662794],[-119.20543551378546,26.105330309212384],[-119.58389640364737,25.244978458804407],[-119.38586590563159,25.118841139713663],[-119.34697813152405,24.93956318742995],[-119.43558803922309,24.831187395359425],[-119.34286719887473,24.846882062216245],[-119.16112501948436,24.563118976553568],[-118.75126945449256,24.746815529028115],[-118.63568997334562,24.50995781256225],[-118.69771930379716,24.426425942170454],[-118.6516706209203,24.100722576638425],[-118.33276306481594,24.3796056444448],[-118.05268848005323,24.13973077967251],[-117.99398351606777,24.145137335923728],[-117.99379334114701,24.355821700328217],[-117.60731404776988,24.42456243977783],[-117.71962569453603,24.188803199507518],[-117.74466653671624,23.851236383546595],[-117.95773160693767,23.408109787544547],[-118.3122159530148,23.095087152961394],[-118.33248678223595,22.901290881069833],[-118.60058847530621,22.86054943441951],[-118.96871749095885,22.34374965856158],[-119.19313814304877,22.286051845327382],[-119.28475168495464,22.121942084016336],[-119.2545392277982,22.023933408202453],[-118.58211889524989,22.483040434641772],[-118.62397898565416,22.561221965685096],[-118.56824231016105,22.736143628901683],[-118.4895650455253,22.630818262557117],[-117.87314878544231,23.05636233087007],[-117.84135823658607,23.28084278952079],[-116.97374985457293,24.269204824799758],[-116.82537865111641,24.641858729039694],[-116.99083758819108,24.762304144478485],[-116.69518144491565,25.116235235472708],[-116.50359415211392,25.610150487497098],[-116.25722008839188,25.830216920264416],[-116.07628878908105,25.748941131268385],[-116.40232249010313,25.56936203665847],[-116.48378299211805,25.052657628234066],[-116.36518650655506,25.051749798902115],[-116.52300825273079,24.88705143498417],[-116.49553973413128,24.800261991685314],[-116.16304275689492,24.999414502308714],[-115.99650887957375,25.255117878566796],[-115.64699882025326,25.26394442424025],[-115.25738948043409,25.632777124981775],[-113.8542584416004,25.665761176511907],[-113.87474505125448,25.570344932873],[-113.79362400881877,25.47499274376388],[-113.11736529856114,25.082053083178657],[-112.59638111495718,25.18153688381942],[-112.36742132919011,24.752466514459297],[-112.14093538656965,24.61513268686305],[-112.10566958624861,24.533779607601293],[-112.23101958586017,24.40743845548205],[-112.00360782579776,24.258896098372972],[-111.81237609518018,23.845092945708515],[-111.58140576804607,23.805519150148292],[-111.47396461959875,24.06930096812232],[-111.55196208063421,24.444293076324332],[-111.9703728919057,24.579472265161815],[-112.50140661330033,25.389838530563154],[-112.95443390431916,25.843309427485547],[-113.34015164074606,25.353495731980036],[-113.73993627957441,25.770728688816646],[-113.76211319830429,25.915877217149234],[-114.17684125941025,25.821157926221666],[-114.4674954007902,30.058603182302807],[-114.92000596533842,30.198494619521185],[-115.2329101248647,30.048472714348666],[-116.11642404047836,30.122319499829015],[-116.55613179488483,29.99422167628973],[-116.68169464565437,30.1632423042783],[-117.00952268786364,30.0587650795822],[-117.15767550869339,30.18892186883472],[-117.31552630373727,30.02034990423595],[-117.36062246319005,30.051390806535952],[-117.2716808257232,30.138483342089845],[-117.50851485587941,30.19098002268101],[-117.70370029098274,29.961162790596294],[-118.51085523685276,29.542565438282924],[-118.74484072507744,29.26143880726765],[-118.88552489652596,28.90838633225396],[-119.4140220780115,28.682999627104564],[-119.55739985027878,28.40546918539004],[-119.07076292198656,28.189576158340657],[-118.98098101194222,28.004103985279876],[-118.46775239459947,27.697365543116497],[-119.00112904819855,27.468300027762268],[-119.04289473110691,27.520114812560596],[-118.97075062501915,27.70499906028542],[-119.12985936208906,27.682577774435853],[-119.91265352240941,27.09158174406807]]],[[[-120.25557893424866,21.06635194893392],[-119.93716549162576,21.412618618081456],[-120.02808637018944,21.455835197045527],[-120.25557893424866,21.06635194893392]]],[[[-120.40001478272552,22.81584883029637],[-120.37074114275748,22.77863218954447],[-120.3196203074649,22.809874671989384],[-120.40001478272552,22.81584883029637]]],[[[-120.45552486827194,21.023698265833357],[-120.34987457401189,21.04267139342526],[-120.34750233241823,21.162492294968555],[-120.45552486827194,21.023698265833357]]],[[[-120.53177137135572,23.055872356615797],[-120.50260334009988,23.02285507770324],[-120.46904320481201,23.054570449073346],[-120.53177137135572,23.055872356615797]]],[[[-120.60027369388712,20.92398965613366],[-120.59255031118278,20.881214291887122],[-120.53609425216723,20.95792729751363],[-120.60027369388712,20.92398965613366]]],[[[-120.71071841857571,20.83431482126511],[-120.69062311156301,20.811209997474116],[-120.68437756051367,20.84300519896518],[-120.71071841857571,20.83431482126511]]],[[[-120.73807825525381,25.951492866015975],[-120.28054924770879,25.775464287051925],[-120.10479060338628,25.92386908651319],[-120.40918321722211,26.071826545487646],[-120.71220585390631,26.057850841335693],[-120.73807825525381,25.951492866015975]]],[[[-121.00322948139103,20.685340060512395],[-120.93302174690507,20.711069573167762],[-120.96684507192828,20.732281955195724],[-121.00322948139103,20.685340060512395]]],[[[-121.06842057392294,24.558128282376558],[-121.06999794635101,24.46426119094211],[-120.89666016429408,24.4240586570819],[-121.06842057392294,24.558128282376558]]],[[[-121.61079858876042,20.438903042940755],[-121.07742940715599,20.577150710815225],[-121.29363684042534,20.545914702843884],[-121.33364920897407,20.653233860276263],[-121.61079858876042,20.438903042940755]]],[[[-121.98274780574764,20.188330922775798],[-121.63822800780474,20.394472650016933],[-121.78210767811049,20.427116744825227],[-121.98274780574764,20.188330922775798]]],[[[-122.14647603684779,20.179431708097002],[-122.01812324794764,20.195841899922],[-122.01777516696689,20.29630573059612],[-122.14647603684779,20.179431708097002]]],[[[-122.26657921071478,20.228721883118705],[-122.20015142291044,20.099963943552723],[-122.16586185174111,20.18891127954657],[-122.26657921071478,20.228721883118705]]],[[[-122.4226846062308,20.03998756811677],[-122.3534895953643,20.051841253197676],[-122.37489286016017,20.0760321040194],[-122.4226846062308,20.03998756811677]]],[[[-122.42053257814649,20.16438847431099],[-122.40116476293849,20.126002905416286],[-122.39852576241867,20.175426473502977],[-122.42053257814649,20.16438847431099]]],[[[-122.48650818616852,19.891343872718856],[-122.4263654792743,19.932766028298474],[-122.44633659142414,19.962707388305827],[-122.48650818616852,19.891343872718856]]]]}},I0="_FeatureMin",A0="_FeatureMax",gW=e=>fW[e]||e,n9e=s9e,r9e=o9e,fW={AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"},a9e={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.477,39.721]]]},properties:{name:I0}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.477,39.721]]]},properties:{name:A0}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.487,39.206],[-79.091,39.472],[-78.707,39.556],[-78.461,39.526],[-78.383,39.622],[-78.082,39.671],[-77.83,39.587],[-77.72,39.321],[-77.46,39.219],[-77.463,39.076],[-77.12,38.934],[-77.039,38.792],[-77.13,38.635],[-76.864,38.269],[-76.591,38.214],[-76.393,38.24],[-76.393,38.389],[-76.518,38.539],[-76.559,38.756],[-76.45,38.941],[-76.425,39.206],[-76.233,39.091],[-76.362,38.939],[-76.336,38.492],[-76.218,38.306],[-75.889,38.241],[-75.899,37.975],[-75.67,37.951],[-75.242,38.027],[-75.049,38.451],[-75.694,38.46],[-75.789,39.722],[-77.469,39.72],[-79.477,39.721]]]},properties:{name:"Maryland"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-96.453,43.5],[-96.522,43.221],[-96.439,43.114],[-96.622,42.779],[-96.446,42.491],[-96.348,42.167],[-96.065,41.793],[-96.118,41.613],[-95.923,41.456],[-95.811,40.887],[-95.889,40.736],[-95.766,40.585],[-94.534,40.571],[-93.136,40.583],[-91.729,40.614],[-91.419,40.378],[-91.34,40.613],[-91.121,40.673],[-90.952,40.954],[-90.957,41.111],[-91.114,41.25],[-91.028,41.424],[-90.701,41.455],[-90.34,41.599],[-90.181,41.812],[-90.161,42.106],[-90.431,42.278],[-90.643,42.508],[-90.701,42.626],[-90.942,42.684],[-91.138,42.904],[-91.175,43.135],[-91.058,43.254],[-91.218,43.501],[-92.449,43.5],[-93.971,43.5],[-94.855,43.501],[-96.453,43.5]]]},properties:{name:"Iowa"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-75.415,39.802],[-75.57,39.839],[-75.789,39.722],[-75.694,38.46],[-75.049,38.451],[-75.089,38.797],[-75.304,38.913],[-75.408,39.265],[-75.528,39.498],[-75.559,39.63],[-75.415,39.802]]]},properties:{name:"Delaware"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-84.806,41.696],[-84.804,40.353],[-84.82,39.105],[-84.462,39.122],[-84.327,39.027],[-84.213,38.806],[-83.852,38.751],[-83.679,38.63],[-83.533,38.702],[-83.287,38.599],[-82.889,38.756],[-82.851,38.604],[-82.594,38.422],[-82.324,38.449],[-82.175,38.608],[-82.209,38.803],[-82.007,39.03],[-81.898,38.93],[-81.678,39.274],[-81.456,39.409],[-81.348,39.346],[-81.129,39.449],[-80.83,39.712],[-80.803,39.919],[-80.607,40.304],[-80.668,40.582],[-80.519,40.639],[-80.519,41.978],[-81.287,41.76],[-81.739,41.489],[-81.995,41.514],[-82.461,41.386],[-82.834,41.588],[-83.067,41.595],[-83.454,41.733],[-84.806,41.696]]]},properties:{name:"Ohio"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-80.519,41.978],[-80.519,40.639],[-80.519,39.721],[-79.477,39.721],[-77.469,39.72],[-75.789,39.722],[-75.57,39.839],[-75.415,39.802],[-74.722,40.154],[-75.187,40.569],[-75.133,40.98],[-74.695,41.357],[-74.982,41.496],[-75.113,41.841],[-75.341,41.993],[-76.462,41.999],[-77.832,41.999],[-79.761,41.999],[-79.762,42.27],[-80.519,41.978]]]},properties:{name:"Pennsylvania"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.053,43.001],[-104.053,42.25],[-104.053,41.001],[-102.052,41.002],[-102.052,40.003],[-101.06,40.002],[-99.813,40.001],[-98.076,40.002],[-96.47,40.001],[-95.308,40],[-95.473,40.236],[-95.654,40.323],[-95.766,40.585],[-95.889,40.736],[-95.811,40.887],[-95.923,41.456],[-96.118,41.613],[-96.065,41.793],[-96.348,42.167],[-96.446,42.491],[-96.611,42.506],[-96.698,42.659],[-97.131,42.772],[-97.238,42.853],[-97.858,42.865],[-97.95,42.77],[-98.435,42.929],[-98.499,42.999],[-100.198,42.998],[-102.082,42.999],[-104.053,43.001]]]},properties:{name:"Nebraska"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-123.237,48.683],[-123.141,48.505],[-122.874,48.418],[-122.743,48.662],[-122.938,48.79],[-123.237,48.683]]],[[[-117.032,48.999],[-118.837,49],[-120.001,48.999],[-121.751,48.997],[-122.758,49.002],[-122.643,48.588],[-122.76,48.143],[-123.004,48.091],[-124.051,48.178],[-124.653,48.391],[-124.722,48.153],[-124.672,47.964],[-124.412,47.691],[-124.319,47.356],[-124.236,47.287],[-124.081,46.735],[-124.081,46.267],[-123.548,46.259],[-123.28,46.145],[-123.116,46.185],[-122.814,45.961],[-122.775,45.68],[-122.263,45.544],[-121.811,45.707],[-121.533,45.727],[-121.085,45.648],[-120.591,45.747],[-120.211,45.726],[-119.966,45.824],[-119.126,45.933],[-118.987,46],[-116.916,45.995],[-117.036,46.41],[-117.042,47.735],[-117.032,48.999]]]]},properties:{name:"Washington"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-88.2,34.996],[-88.098,34.892],[-88.317,33.184],[-88.469,31.933],[-88.395,30.369],[-88.136,30.321],[-88.062,30.645],[-87.797,30.324],[-87.518,30.28],[-87.452,30.344],[-87.4,30.657],[-87.635,30.866],[-87.599,30.997],[-85.894,30.993],[-85.002,31.001],[-85.108,31.186],[-85.042,31.545],[-85.142,31.839],[-85.059,32.136],[-84.892,32.263],[-85.184,32.861],[-85.429,34.125],[-85.605,34.985],[-86.784,34.992],[-88.2,34.996]]]},properties:{name:"Alabama"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-94.618,36.499],[-94.432,35.37],[-94.486,33.638],[-94.354,33.556],[-94.043,33.551],[-94.043,33.019],[-92.223,33.009],[-91.166,33.004],[-91.069,33.233],[-91.216,33.529],[-91.027,33.764],[-91.061,33.878],[-90.895,34.224],[-90.575,34.415],[-90.587,34.616],[-90.474,34.789],[-90.25,34.907],[-90.309,34.996],[-90.091,35.118],[-90.122,35.305],[-89.958,35.542],[-89.957,35.695],[-89.723,35.809],[-89.733,36.001],[-90.369,35.996],[-90.064,36.303],[-90.154,36.495],[-91.127,36.498],[-92.35,36.498],[-93.959,36.499],[-94.618,36.499]]]},properties:{name:"Arkansas"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-109.045,36.999],[-109.046,36.117],[-109.046,34.96],[-109.046,33.875],[-109.047,32.778],[-109.05,31.333],[-108.209,31.333],[-108.208,31.784],[-106.528,31.783],[-106.618,32],[-104.644,32],[-103.064,32.001],[-103.065,32.849],[-103.044,34.079],[-103.043,35.183],[-103.042,36.5],[-103.002,36.5],[-103.002,37],[-104.732,36.993],[-106.006,36.995],[-108.001,37],[-109.045,36.999]]]},properties:{name:"New Mexico"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-103.002,36.5],[-103.042,36.5],[-103.043,35.183],[-103.044,34.079],[-103.065,32.849],[-103.064,32.001],[-104.644,32],[-106.618,32],[-106.528,31.783],[-106.418,31.752],[-106.176,31.456],[-105.954,31.365],[-105.773,31.167],[-105.315,30.817],[-105.001,30.673],[-104.86,30.39],[-104.703,30.212],[-104.672,29.911],[-104.54,29.676],[-104.144,29.383],[-103.789,29.258],[-103.281,28.982],[-102.871,29.242],[-102.809,29.522],[-102.677,29.738],[-102.393,29.766],[-102.301,29.878],[-101.966,29.807],[-101.401,29.738],[-101.255,29.52],[-101.06,29.459],[-100.675,29.1],[-100.5,28.662],[-100.397,28.576],[-100.268,28.25],[-99.932,27.968],[-99.845,27.779],[-99.557,27.614],[-99.43,27.159],[-99.447,27.026],[-99.269,26.843],[-99.111,26.426],[-98.807,26.369],[-98.654,26.236],[-98.443,26.199],[-98.197,26.056],[-97.795,26.055],[-97.423,25.84],[-97.146,25.971],[-97.197,26.306],[-97.323,26.702],[-97.379,27.06],[-97.296,27.427],[-97.141,27.717],[-96.886,28.031],[-96.194,28.502],[-95.382,28.866],[-95.026,29.148],[-94.723,29.331],[-94.595,29.468],[-94.057,29.671],[-93.838,29.691],[-93.929,29.803],[-93.704,30.054],[-93.729,30.545],[-93.531,30.925],[-93.535,31.186],[-93.835,31.586],[-93.803,31.701],[-94.042,31.992],[-94.043,33.019],[-94.043,33.551],[-94.354,33.556],[-94.486,33.638],[-94.842,33.739],[-95.226,33.962],[-95.283,33.878],[-95.557,33.927],[-96.152,33.832],[-96.363,33.694],[-96.593,33.831],[-96.851,33.847],[-96.952,33.945],[-97.206,33.81],[-97.444,33.824],[-97.672,33.991],[-97.866,33.849],[-98.099,34.104],[-98.364,34.157],[-98.737,34.131],[-99.19,34.214],[-99.275,34.387],[-99.696,34.381],[-100,34.561],[-100,35.619],[-100,36.5],[-101.624,36.5],[-103.002,36.5]]]},properties:{name:"Texas"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-120.368,34.076],[-120.122,33.896],[-120.055,34.038],[-120.368,34.076]]],[[[-124.212,41.998],[-124.063,41.44],[-124.164,41.139],[-124.118,40.989],[-124.41,40.438],[-124.363,40.261],[-124.087,40.078],[-123.852,39.832],[-123.766,39.553],[-123.825,39.361],[-123.691,39.021],[-123.711,38.913],[-123.166,38.475],[-123.004,38.297],[-122.94,38.032],[-122.537,37.83],[-122.394,38.143],[-122.263,38.051],[-122.313,37.777],[-122.163,37.668],[-122.517,37.521],[-122.397,37.187],[-122.106,36.956],[-121.906,36.969],[-121.792,36.815],[-121.97,36.583],[-121.888,36.303],[-121.68,36.166],[-121.272,35.667],[-121.003,35.461],[-120.897,35.248],[-120.636,35.124],[-120.61,34.858],[-120.646,34.581],[-120.451,34.447],[-120.141,34.473],[-119.874,34.409],[-119.617,34.421],[-119.27,34.253],[-119.11,34.095],[-118.805,34.001],[-118.52,34.028],[-118.397,33.736],[-118.133,33.753],[-117.646,33.441],[-117.446,33.269],[-117.281,33.012],[-117.282,32.84],[-117.125,32.534],[-115.465,32.667],[-114.72,32.719],[-114.469,32.845],[-114.511,33.023],[-114.671,33.038],[-114.707,33.377],[-114.525,33.552],[-114.535,33.928],[-114.428,34.093],[-114.139,34.26],[-114.335,34.45],[-114.465,34.691],[-114.634,34.873],[-114.633,35.002],[-115.648,35.809],[-116.488,36.459],[-117.681,37.353],[-118.95,38.269],[-120.001,39],[-119.998,39.957],[-120,41.184],[-119.999,41.995],[-121.035,41.993],[-122.501,42.008],[-124.212,41.998]]]]},properties:{name:"California"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-89.133,36.982],[-89.165,36.662],[-89.539,36.498],[-88.05,36.5],[-88.071,36.678],[-87.853,36.633],[-86.508,36.652],[-85.874,36.624],[-84.785,36.603],[-83.675,36.601],[-83.136,36.743],[-82.895,36.882],[-82.726,37.112],[-82.355,37.265],[-81.968,37.538],[-82.296,37.686],[-82.626,38.135],[-82.594,38.422],[-82.851,38.604],[-82.889,38.756],[-83.287,38.599],[-83.533,38.702],[-83.679,38.63],[-83.852,38.751],[-84.213,38.806],[-84.327,39.027],[-84.462,39.122],[-84.82,39.105],[-84.786,38.882],[-85.187,38.688],[-85.449,38.713],[-85.416,38.546],[-85.816,38.283],[-85.922,38.029],[-86.206,38.022],[-86.321,38.147],[-86.722,37.893],[-86.811,37.997],[-87.18,37.841],[-87.419,37.945],[-87.626,37.852],[-87.873,37.921],[-88.028,37.799],[-88.16,37.654],[-88.062,37.488],[-88.466,37.401],[-88.476,37.068],[-88.932,37.228],[-89.168,37.074],[-89.133,36.982]]]},properties:{name:"Kentucky"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-85.605,34.985],[-85.429,34.125],[-85.184,32.861],[-84.892,32.263],[-85.059,32.136],[-85.142,31.839],[-85.042,31.545],[-85.108,31.186],[-85.002,31.001],[-84.865,30.712],[-83.131,30.624],[-82.219,30.564],[-82.18,30.369],[-82.041,30.37],[-82.033,30.751],[-81.943,30.827],[-81.444,30.71],[-81.402,31.125],[-81.305,31.206],[-81.131,31.723],[-80.886,32.035],[-81.113,32.113],[-81.195,32.465],[-81.397,32.606],[-81.502,33.015],[-81.755,33.152],[-81.933,33.344],[-81.926,33.463],[-82.162,33.611],[-82.324,33.82],[-82.557,33.945],[-82.715,34.148],[-82.874,34.472],[-83.048,34.493],[-83.339,34.682],[-83.324,34.79],[-83.109,35.001],[-84.322,34.988],[-85.605,34.985]]]},properties:{name:"Georgia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-92.015,46.706],[-92.292,46.663],[-92.294,46.074],[-92.721,45.884],[-92.87,45.715],[-92.647,45.438],[-92.762,45.285],[-92.751,44.942],[-92.805,44.768],[-92.549,44.578],[-91.964,44.362],[-91.893,44.231],[-91.441,44.002],[-91.244,43.773],[-91.218,43.501],[-91.058,43.254],[-91.175,43.135],[-91.138,42.904],[-90.942,42.684],[-90.701,42.626],[-90.643,42.508],[-88.707,42.494],[-87.8,42.492],[-87.767,42.785],[-87.896,43.016],[-87.889,43.308],[-87.706,43.68],[-87.736,43.874],[-87.447,44.586],[-87.063,45.079],[-87.265,45.081],[-87.581,44.852],[-87.775,44.639],[-87.983,44.72],[-87.813,44.954],[-87.59,45.095],[-87.863,45.353],[-87.781,45.674],[-88.135,45.822],[-88.115,45.922],[-88.527,46.021],[-88.812,46.022],[-89.092,46.139],[-90.12,46.337],[-90.215,46.5],[-90.418,46.566],[-90.755,46.646],[-90.881,46.74],[-90.745,46.894],[-90.924,47.002],[-91.168,46.845],[-91.82,46.69],[-92.015,46.706]]]},properties:{name:"Wisconsin"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-123.548,46.259],[-123.959,46.142],[-123.939,45.709],[-123.975,45.145],[-124.074,44.798],[-124.065,44.633],[-124.15,43.911],[-124.234,43.557],[-124.552,42.841],[-124.413,42.658],[-124.411,42.251],[-124.212,41.998],[-122.501,42.008],[-121.035,41.993],[-119.999,41.995],[-118.776,41.993],[-117.026,42],[-117.024,43.824],[-116.896,44.154],[-117.243,44.391],[-117.062,44.727],[-116.834,44.929],[-116.675,45.314],[-116.464,45.616],[-116.593,45.779],[-116.788,45.84],[-116.916,45.995],[-118.987,46],[-119.126,45.933],[-119.966,45.824],[-120.211,45.726],[-120.591,45.747],[-121.085,45.648],[-121.533,45.727],[-121.811,45.707],[-122.263,45.544],[-122.775,45.68],[-122.814,45.961],[-123.116,46.185],[-123.28,46.145],[-123.548,46.259]]]},properties:{name:"Oregon"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-95.766,40.585],[-95.654,40.323],[-95.473,40.236],[-95.308,40],[-94.86,39.75],[-95.114,39.554],[-94.8,39.206],[-94.607,39.113],[-94.613,38.238],[-94.618,36.999],[-94.618,36.499],[-93.959,36.499],[-92.35,36.498],[-91.127,36.498],[-90.154,36.495],[-90.064,36.303],[-90.369,35.996],[-89.733,36.001],[-89.523,36.345],[-89.539,36.498],[-89.165,36.662],[-89.133,36.982],[-89.359,37.043],[-89.495,37.325],[-89.522,37.696],[-90.219,38.094],[-90.373,38.323],[-90.185,38.612],[-90.113,38.849],[-90.468,38.962],[-90.657,38.92],[-90.73,39.256],[-91.038,39.448],[-91.368,39.729],[-91.512,40.17],[-91.419,40.378],[-91.729,40.614],[-93.136,40.583],[-94.534,40.571],[-95.766,40.585]]]},properties:{name:"Missouri"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-75.67,37.951],[-75.941,37.564],[-76.023,37.289],[-75.817,37.193],[-75.658,37.452],[-75.552,37.748],[-75.242,38.027],[-75.67,37.951]]],[[[-81.968,37.538],[-82.355,37.265],[-82.726,37.112],[-82.895,36.882],[-83.136,36.743],[-83.675,36.601],[-81.678,36.588],[-80.295,36.544],[-78.51,36.541],[-76.917,36.546],[-75.867,36.551],[-75.996,36.922],[-76.268,36.965],[-76.394,37.225],[-76.25,37.422],[-76.329,37.671],[-76.237,37.889],[-76.614,38.149],[-76.962,38.214],[-77.048,38.36],[-77.265,38.333],[-77.323,38.467],[-77.13,38.635],[-77.039,38.792],[-77.12,38.934],[-77.463,39.076],[-77.46,39.219],[-77.72,39.321],[-77.828,39.132],[-78.347,39.466],[-78.414,39.158],[-78.773,38.894],[-78.999,38.84],[-79.298,38.416],[-79.649,38.592],[-79.788,38.273],[-80.292,37.684],[-80.292,37.537],[-80.545,37.475],[-80.919,37.306],[-81.225,37.235],[-81.362,37.338],[-81.561,37.207],[-81.85,37.285],[-81.968,37.538]]]]},properties:{name:"Virginia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-89.733,36.001],[-89.723,35.809],[-89.957,35.695],[-89.958,35.542],[-90.122,35.305],[-90.091,35.118],[-90.309,34.996],[-89.435,34.994],[-88.2,34.996],[-86.784,34.992],[-85.605,34.985],[-84.322,34.988],[-84.283,35.227],[-84.098,35.247],[-84.022,35.407],[-83.772,35.562],[-83.498,35.563],[-83.162,35.763],[-82.978,35.783],[-82.779,35.993],[-82.211,36.159],[-82.029,36.124],[-81.908,36.302],[-81.734,36.413],[-81.678,36.588],[-83.675,36.601],[-84.785,36.603],[-85.874,36.624],[-86.508,36.652],[-87.853,36.633],[-88.071,36.678],[-88.05,36.5],[-89.539,36.498],[-89.523,36.345],[-89.733,36.001]]]},properties:{name:"Tennessee"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-94.043,33.019],[-94.042,31.992],[-93.803,31.701],[-93.835,31.586],[-93.535,31.186],[-93.531,30.925],[-93.729,30.545],[-93.704,30.054],[-93.929,29.803],[-93.838,29.691],[-93.538,29.763],[-93.177,29.77],[-92.684,29.605],[-92.323,29.531],[-92.065,29.586],[-91.822,29.474],[-91.711,29.569],[-91.394,29.497],[-91.279,29.248],[-90.942,29.162],[-90.868,29.056],[-90.224,29.085],[-89.843,29.319],[-89.483,29.215],[-89.361,29.072],[-89.149,29.03],[-89.014,29.167],[-89.2,29.344],[-89.482,29.406],[-89.602,29.61],[-89.404,29.682],[-89.236,29.877],[-89.186,30.064],[-89.445,30.061],[-89.702,29.874],[-89.845,30.018],[-89.525,30.181],[-89.608,30.217],[-89.836,30.727],[-89.728,31.002],[-90.759,31],[-91.56,31.05],[-91.644,31.234],[-91.536,31.338],[-91.36,31.799],[-91.035,32.101],[-90.921,32.342],[-91.053,32.438],[-91.114,32.74],[-91.072,32.938],[-91.166,33.004],[-92.223,33.009],[-94.043,33.019]]]},properties:{name:"Louisiana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.762,42.27],[-79.761,41.999],[-77.832,41.999],[-76.462,41.999],[-75.341,41.993],[-75.113,41.841],[-74.982,41.496],[-74.695,41.357],[-73.894,40.997],[-74.087,40.652],[-74.261,40.502],[-73.013,40.68],[-71.937,41.006],[-72.283,41.068],[-72.585,40.998],[-73.11,40.972],[-73.229,40.905],[-73.657,40.985],[-73.728,41.101],[-73.551,41.295],[-73.487,42.05],[-73.508,42.086],[-73.265,42.746],[-73.242,43.535],[-73.415,43.658],[-73.351,43.77],[-73.437,44.043],[-73.294,44.441],[-73.39,44.62],[-73.343,45.011],[-74.234,44.992],[-74.835,45.015],[-75.256,44.858],[-75.766,44.516],[-75.95,44.349],[-76.287,44.204],[-76.412,43.926],[-76.229,43.804],[-76.236,43.529],[-76.418,43.521],[-76.685,43.353],[-76.952,43.271],[-77.341,43.281],[-77.551,43.236],[-77.76,43.341],[-78.547,43.37],[-79.07,43.262],[-79.074,43.078],[-78.851,42.792],[-79.139,42.564],[-79.762,42.27]]]},properties:{name:"New York"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-83.454,41.733],[-83.442,41.809],[-83.134,42.088],[-83.097,42.29],[-82.924,42.352],[-82.859,42.542],[-82.679,42.522],[-82.51,42.637],[-82.416,43.006],[-82.523,43.225],[-82.634,43.831],[-82.929,44.069],[-83.407,43.92],[-83.683,43.591],[-83.948,43.735],[-83.869,43.961],[-83.584,44.057],[-83.525,44.262],[-83.337,44.333],[-83.266,45.027],[-83.385,45.274],[-84.196,45.621],[-84.462,45.652],[-84.719,45.778],[-84.867,45.752],[-85.12,45.569],[-85.041,45.437],[-85.372,45.271],[-85.381,45.046],[-86.059,44.911],[-86.089,44.741],[-86.248,44.699],[-86.269,44.345],[-86.515,44.058],[-86.431,43.841],[-86.541,43.645],[-86.255,43.083],[-86.208,42.763],[-86.356,42.254],[-86.598,41.918],[-86.825,41.76],[-84.806,41.76],[-84.806,41.696],[-83.454,41.733]]],[[[-89.221,47.908],[-89.158,47.824],[-88.579,48.041],[-88.632,48.148],[-89.221,47.908]]],[[[-90.418,46.566],[-90.215,46.5],[-90.12,46.337],[-89.092,46.139],[-88.812,46.022],[-88.527,46.021],[-88.115,45.922],[-88.135,45.822],[-87.781,45.674],[-87.863,45.353],[-87.59,45.095],[-87.172,45.662],[-86.964,45.673],[-86.773,45.811],[-86.541,45.708],[-86.278,45.942],[-85.914,45.919],[-85.541,46.08],[-85.152,46.051],[-84.793,45.859],[-84.633,45.951],[-84.08,45.971],[-83.526,45.919],[-83.599,46.09],[-83.882,46.042],[-84.115,46.174],[-84.118,46.518],[-84.969,46.476],[-85.028,46.675],[-85.257,46.753],[-85.482,46.68],[-86.138,46.673],[-86.558,46.487],[-86.811,46.45],[-86.977,46.527],[-87.367,46.507],[-87.595,46.783],[-88.144,46.967],[-88.455,46.923],[-88.194,47.209],[-87.943,47.336],[-87.929,47.479],[-88.218,47.449],[-89.415,46.844],[-89.832,46.804],[-90.045,46.668],[-90.418,46.566]]]]},properties:{name:"Michigan"}},r9e,{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-116.916,45.995],[-116.788,45.84],[-116.593,45.779],[-116.464,45.616],[-116.675,45.314],[-116.834,44.929],[-117.062,44.727],[-117.243,44.391],[-116.896,44.154],[-117.024,43.824],[-117.026,42],[-115.87,41.997],[-114.042,41.994],[-112.11,41.998],[-111.047,42.002],[-111.045,43.316],[-111.049,44.474],[-111.324,44.724],[-111.563,44.555],[-112.473,44.48],[-113.007,44.472],[-113.131,44.765],[-113.422,44.843],[-113.452,45.059],[-113.736,45.325],[-113.807,45.602],[-113.972,45.701],[-114.279,45.481],[-114.506,45.559],[-114.402,45.961],[-114.48,46.03],[-114.422,46.387],[-114.321,46.647],[-114.547,46.644],[-114.943,46.868],[-115.327,47.256],[-115.71,47.418],[-115.724,47.697],[-116.049,48],[-116.049,49.001],[-117.032,48.999],[-117.042,47.735],[-117.036,46.41],[-116.916,45.995]]]},properties:{name:"Idaho"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-81.812,24.569],[-81.685,24.559],[-81.243,24.674],[-81.444,24.813],[-81.751,24.654],[-81.812,24.569]]],[[[-85.002,31.001],[-85.894,30.993],[-87.599,30.997],[-87.635,30.866],[-87.4,30.657],[-87.452,30.344],[-87.518,30.28],[-86.633,30.396],[-86.223,30.344],[-86,30.271],[-85.385,29.921],[-85.353,29.66],[-85.045,29.587],[-84.565,29.81],[-84.29,30.057],[-84.063,30.101],[-83.679,29.919],[-83.402,29.523],[-83.17,29.29],[-82.824,29.099],[-82.657,28.545],[-82.764,28.244],[-82.86,28.174],[-82.847,27.854],[-82.705,27.625],[-82.692,27.437],[-82.54,27.254],[-82.265,26.757],[-82.181,26.476],[-81.924,26.437],[-81.845,26.328],[-81.727,25.907],[-81.384,25.777],[-81.147,25.408],[-81.171,25.246],[-81.08,25.119],[-80.812,25.186],[-80.495,25.2],[-80.358,25.153],[-80.301,25.613],[-80.11,25.818],[-80.11,26.087],[-80.039,26.569],[-80.046,26.859],[-80.384,27.74],[-80.548,28.049],[-80.607,28.336],[-80.525,28.459],[-80.584,28.598],[-80.966,29.148],[-81.257,29.785],[-81.396,30.34],[-81.444,30.71],[-81.943,30.827],[-82.033,30.751],[-82.041,30.37],[-82.18,30.369],[-82.219,30.564],[-83.131,30.624],[-84.865,30.712],[-85.002,31.001]]]]},properties:{name:"Florida"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-91.419,40.378],[-91.512,40.17],[-91.368,39.729],[-91.038,39.448],[-90.73,39.256],[-90.657,38.92],[-90.468,38.962],[-90.113,38.849],[-90.185,38.612],[-90.373,38.323],[-90.219,38.094],[-89.522,37.696],[-89.495,37.325],[-89.359,37.043],[-89.133,36.982],[-89.168,37.074],[-88.932,37.228],[-88.476,37.068],[-88.466,37.401],[-88.062,37.488],[-88.16,37.654],[-88.028,37.799],[-88.031,38.031],[-87.499,38.758],[-87.625,39.102],[-87.532,39.348],[-87.526,40.535],[-87.524,41.708],[-87.682,42.076],[-87.835,42.302],[-87.8,42.492],[-88.707,42.494],[-90.643,42.508],[-90.431,42.278],[-90.161,42.106],[-90.181,41.812],[-90.34,41.599],[-90.701,41.455],[-91.028,41.424],[-91.114,41.25],[-90.957,41.111],[-90.952,40.954],[-91.121,40.673],[-91.34,40.613],[-91.419,40.378]]]},properties:{name:"Illinois"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-116.049,49.001],[-116.049,48],[-115.724,47.697],[-115.71,47.418],[-115.327,47.256],[-114.943,46.868],[-114.547,46.644],[-114.321,46.647],[-114.422,46.387],[-114.48,46.03],[-114.402,45.961],[-114.506,45.559],[-114.279,45.481],[-113.972,45.701],[-113.807,45.602],[-113.736,45.325],[-113.452,45.059],[-113.422,44.843],[-113.131,44.765],[-113.007,44.472],[-112.473,44.48],[-111.563,44.555],[-111.324,44.724],[-111.049,44.474],[-111.044,45.001],[-108.621,45],[-106.264,44.994],[-104.058,44.997],[-104.045,45.945],[-104.042,47.803],[-104.049,49],[-106.051,48.999],[-107.441,48.999],[-109.001,48.999],[-111.501,48.997],[-113.693,48.998],[-116.049,49.001]]]},properties:{name:"Montana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-97.229,49.001],[-97.1,48.668],[-97.147,48.169],[-96.854,47.572],[-96.791,46.637],[-96.601,46.32],[-96.564,45.935],[-96.587,45.816],[-96.826,45.654],[-96.711,45.437],[-96.458,45.308],[-96.453,43.5],[-94.855,43.501],[-93.971,43.5],[-92.449,43.5],[-91.218,43.501],[-91.244,43.773],[-91.441,44.002],[-91.893,44.231],[-91.964,44.362],[-92.549,44.578],[-92.805,44.768],[-92.751,44.942],[-92.762,45.285],[-92.647,45.438],[-92.87,45.715],[-92.721,45.884],[-92.294,46.074],[-92.292,46.663],[-92.015,46.706],[-92.062,46.804],[-91.457,47.139],[-90.868,47.557],[-90.537,47.703],[-89.974,47.831],[-89.868,47.99],[-90.136,48.112],[-90.704,48.096],[-90.844,48.244],[-91.25,48.084],[-91.543,48.053],[-91.715,48.199],[-91.981,48.248],[-92.955,48.631],[-93.207,48.642],[-93.468,48.546],[-93.815,48.527],[-93.844,48.629],[-94.447,48.693],[-94.694,48.789],[-94.816,49.321],[-95.153,49.384],[-95.154,48.999],[-97.229,49.001]]]},properties:{name:"Minnesota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-87.524,41.708],[-87.526,40.535],[-87.532,39.348],[-87.625,39.102],[-87.499,38.758],[-88.031,38.031],[-88.028,37.799],[-87.873,37.921],[-87.626,37.852],[-87.419,37.945],[-87.18,37.841],[-86.811,37.997],[-86.722,37.893],[-86.321,38.147],[-86.206,38.022],[-85.922,38.029],[-85.816,38.283],[-85.416,38.546],[-85.449,38.713],[-85.187,38.688],[-84.786,38.882],[-84.82,39.105],[-84.804,40.353],[-84.806,41.696],[-84.806,41.76],[-86.825,41.76],[-87.262,41.62],[-87.524,41.708]]]},properties:{name:"Indiana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.265,42.746],[-73.508,42.086],[-73.487,42.05],[-71.799,42.008],[-71.381,42.019],[-71.329,41.783],[-71.133,41.66],[-71.121,41.497],[-70.91,41.577],[-70.734,41.486],[-70.322,41.631],[-70.662,41.961],[-70.731,42.211],[-70.975,42.356],[-70.655,42.582],[-70.817,42.872],[-71.15,42.815],[-71.294,42.697],[-72.459,42.727],[-73.265,42.746]]]},properties:{name:"Massachusetts"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-102.052,40.003],[-102.046,38.698],[-102.042,36.993],[-100.856,36.999],[-99.129,36.999],[-97.462,36.999],[-95.787,36.999],[-94.618,36.999],[-94.613,38.238],[-94.607,39.113],[-94.8,39.206],[-95.114,39.554],[-94.86,39.75],[-95.308,40],[-96.47,40.001],[-98.076,40.002],[-99.813,40.001],[-101.06,40.002],[-102.052,40.003]]]},properties:{name:"Kansas"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-119.999,41.995],[-120,41.184],[-119.998,39.957],[-120.001,39],[-118.95,38.269],[-117.681,37.353],[-116.488,36.459],[-115.648,35.809],[-114.633,35.002],[-114.573,35.139],[-114.664,35.449],[-114.736,36.104],[-114.372,36.143],[-114.152,36.025],[-114.047,36.194],[-114.051,37],[-114.05,37.881],[-114.049,39.006],[-114.046,40.398],[-114.042,41.994],[-115.87,41.997],[-117.026,42],[-118.776,41.993],[-119.999,41.995]]]},properties:{name:"Nevada"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.343,45.011],[-73.39,44.62],[-73.294,44.441],[-73.437,44.043],[-73.351,43.77],[-73.415,43.658],[-73.242,43.535],[-73.265,42.746],[-72.459,42.727],[-72.54,42.805],[-72.445,43.004],[-72.379,43.574],[-72.183,43.808],[-72.037,44.103],[-72.046,44.292],[-71.819,44.353],[-71.58,44.502],[-71.627,44.747],[-71.501,45.013],[-72.349,45.006],[-73.343,45.011]]]},properties:{name:"Vermont"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.487,42.05],[-73.551,41.295],[-73.728,41.101],[-73.657,40.985],[-73.422,41.048],[-72.936,41.258],[-72.547,41.25],[-71.861,41.32],[-71.798,41.417],[-71.799,42.008],[-73.487,42.05]]]},properties:{name:"Connecticut"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-75.415,39.802],[-75.559,39.63],[-75.528,39.498],[-75.244,39.286],[-74.886,39.144],[-74.647,39.212],[-74.413,39.361],[-74.101,39.756],[-73.971,40.348],[-74.261,40.502],[-74.087,40.652],[-73.894,40.997],[-74.695,41.357],[-75.133,40.98],[-75.187,40.569],[-74.722,40.154],[-75.415,39.802]]]},properties:{name:"New Jersey"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-81.678,36.588],[-81.734,36.413],[-81.908,36.302],[-82.029,36.124],[-82.211,36.159],[-82.779,35.993],[-82.978,35.783],[-83.162,35.763],[-83.498,35.563],[-83.772,35.562],[-84.022,35.407],[-84.098,35.247],[-84.283,35.227],[-84.322,34.988],[-83.109,35.001],[-82.411,35.202],[-81.043,35.149],[-80.782,34.936],[-80.797,34.824],[-79.675,34.805],[-78.541,33.851],[-78.137,33.912],[-77.96,33.853],[-77.829,34.163],[-77.635,34.36],[-77.137,34.633],[-76.727,34.697],[-76.536,34.589],[-76.137,34.988],[-75.913,35.12],[-75.534,35.226],[-75.459,35.597],[-75.718,36.114],[-75.867,36.551],[-76.917,36.546],[-78.51,36.541],[-80.295,36.544],[-81.678,36.588]]]},properties:{name:"North Carolina"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-114.042,41.994],[-114.046,40.398],[-114.049,39.006],[-114.05,37.881],[-114.051,37],[-112.966,37],[-111.278,37],[-110.001,36.998],[-109.045,36.999],[-109.042,38.165],[-109.06,38.275],[-109.051,39.875],[-109.05,41.001],[-111.047,40.998],[-111.047,42.002],[-112.11,41.998],[-114.042,41.994]]]},properties:{name:"Utah"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.049,49],[-104.042,47.803],[-104.045,45.945],[-102.088,45.945],[-100.762,45.944],[-99.49,45.94],[-97.777,45.935],[-96.564,45.935],[-96.601,46.32],[-96.791,46.637],[-96.854,47.572],[-97.147,48.169],[-97.1,48.668],[-97.229,49.001],[-98.869,49],[-99.914,48.999],[-102.217,48.999],[-104.049,49]]]},properties:{name:"North Dakota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-83.109,35.001],[-83.324,34.79],[-83.339,34.682],[-83.048,34.493],[-82.874,34.472],[-82.715,34.148],[-82.557,33.945],[-82.324,33.82],[-82.162,33.611],[-81.926,33.463],[-81.933,33.344],[-81.755,33.152],[-81.502,33.015],[-81.397,32.606],[-81.195,32.465],[-81.113,32.113],[-80.886,32.035],[-80.338,32.479],[-80.001,32.606],[-79.57,32.927],[-79.36,33.007],[-79.215,33.156],[-79.135,33.404],[-78.773,33.769],[-78.541,33.851],[-79.675,34.805],[-80.797,34.824],[-80.782,34.936],[-81.043,35.149],[-82.411,35.202],[-83.109,35.001]]]},properties:{name:"South Carolina"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-91.166,33.004],[-91.072,32.938],[-91.114,32.74],[-91.053,32.438],[-90.921,32.342],[-91.035,32.101],[-91.36,31.799],[-91.536,31.338],[-91.644,31.234],[-91.56,31.05],[-90.759,31],[-89.728,31.002],[-89.836,30.727],[-89.608,30.217],[-89.525,30.181],[-89.345,30.293],[-88.894,30.393],[-88.472,30.32],[-88.395,30.369],[-88.469,31.933],[-88.317,33.184],[-88.098,34.892],[-88.2,34.996],[-89.435,34.994],[-90.309,34.996],[-90.25,34.907],[-90.474,34.789],[-90.587,34.616],[-90.575,34.415],[-90.895,34.224],[-91.061,33.878],[-91.027,33.764],[-91.216,33.529],[-91.069,33.233],[-91.166,33.004]]]},properties:{name:"Mississippi"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-109.05,41.001],[-109.051,39.875],[-109.06,38.275],[-109.042,38.165],[-109.045,36.999],[-108.001,37],[-106.006,36.995],[-104.732,36.993],[-103.002,37],[-102.042,36.993],[-102.046,38.698],[-102.052,40.003],[-102.052,41.002],[-104.053,41.001],[-104.855,40.998],[-106.191,40.998],[-107.367,41.003],[-109.05,41.001]]]},properties:{name:"Colorado"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.058,44.997],[-104.055,44.25],[-104.053,43.001],[-102.082,42.999],[-100.198,42.998],[-98.499,42.999],[-98.435,42.929],[-97.95,42.77],[-97.858,42.865],[-97.238,42.853],[-97.131,42.772],[-96.698,42.659],[-96.611,42.506],[-96.446,42.491],[-96.622,42.779],[-96.439,43.114],[-96.522,43.221],[-96.453,43.5],[-96.458,45.308],[-96.711,45.437],[-96.826,45.654],[-96.587,45.816],[-96.564,45.935],[-97.777,45.935],[-99.49,45.94],[-100.762,45.944],[-102.088,45.945],[-104.045,45.945],[-104.058,44.997]]]},properties:{name:"South Dakota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-103.002,37],[-103.002,36.5],[-101.624,36.5],[-100,36.5],[-100,35.619],[-100,34.561],[-99.696,34.381],[-99.275,34.387],[-99.19,34.214],[-98.737,34.131],[-98.364,34.157],[-98.099,34.104],[-97.866,33.849],[-97.672,33.991],[-97.444,33.824],[-97.206,33.81],[-96.952,33.945],[-96.851,33.847],[-96.593,33.831],[-96.363,33.694],[-96.152,33.832],[-95.557,33.927],[-95.283,33.878],[-95.226,33.962],[-94.842,33.739],[-94.486,33.638],[-94.432,35.37],[-94.618,36.499],[-94.618,36.999],[-95.787,36.999],[-97.462,36.999],[-99.129,36.999],[-100.856,36.999],[-102.042,36.993],[-103.002,37]]]},properties:{name:"Oklahoma"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.058,44.997],[-106.264,44.994],[-108.621,45],[-111.044,45.001],[-111.049,44.474],[-111.045,43.316],[-111.047,42.002],[-111.047,40.998],[-109.05,41.001],[-107.367,41.003],[-106.191,40.998],[-104.855,40.998],[-104.053,41.001],[-104.053,42.25],[-104.053,43.001],[-104.055,44.25],[-104.058,44.997]]]},properties:{name:"Wyoming"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-82.594,38.422],[-82.626,38.135],[-82.296,37.686],[-81.968,37.538],[-81.85,37.285],[-81.561,37.207],[-81.362,37.338],[-81.225,37.235],[-80.919,37.306],[-80.545,37.475],[-80.292,37.537],[-80.292,37.684],[-79.788,38.273],[-79.649,38.592],[-79.298,38.416],[-78.999,38.84],[-78.773,38.894],[-78.414,39.158],[-78.347,39.466],[-77.828,39.132],[-77.72,39.321],[-77.83,39.587],[-78.082,39.671],[-78.383,39.622],[-78.461,39.526],[-78.707,39.556],[-79.091,39.472],[-79.487,39.206],[-79.477,39.721],[-80.519,39.721],[-80.519,40.639],[-80.668,40.582],[-80.607,40.304],[-80.803,39.919],[-80.83,39.712],[-81.129,39.449],[-81.348,39.346],[-81.456,39.409],[-81.678,39.274],[-81.898,38.93],[-82.007,39.03],[-82.209,38.803],[-82.175,38.608],[-82.324,38.449],[-82.594,38.422]]]},properties:{name:"West Virginia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.084,45.305],[-71.037,44.736],[-70.973,43.57],[-70.984,43.376],[-70.704,43.06],[-70.554,43.322],[-70.416,43.361],[-70.168,43.675],[-69.916,43.775],[-69.321,43.857],[-69.077,43.974],[-68.439,44.116],[-68.126,44.387],[-67.855,44.419],[-67.449,44.6],[-67.293,44.599],[-66.95,44.817],[-67.112,45.112],[-67.48,45.268],[-67.417,45.502],[-67.803,45.678],[-67.78,45.938],[-67.79,47.066],[-68.204,47.34],[-68.362,47.356],[-68.901,47.179],[-69.04,47.245],[-69.039,47.422],[-69.22,47.457],[-69.997,46.695],[-70.054,46.429],[-70.291,46.186],[-70.259,45.891],[-70.781,45.431],[-71.084,45.305]]]},properties:{name:"Maine"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.501,45.013],[-71.627,44.747],[-71.58,44.502],[-71.819,44.353],[-72.046,44.292],[-72.037,44.103],[-72.183,43.808],[-72.379,43.574],[-72.445,43.004],[-72.54,42.805],[-72.459,42.727],[-71.294,42.697],[-71.15,42.815],[-70.817,42.872],[-70.704,43.06],[-70.984,43.376],[-70.973,43.57],[-71.037,44.736],[-71.084,45.305],[-71.284,45.302],[-71.501,45.013]]]},properties:{name:"New Hampshire"}},n9e,{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-114.72,32.719],[-114.814,32.494],[-113.751,32.169],[-112.365,31.741],[-111.075,31.332],[-109.05,31.333],[-109.047,32.778],[-109.046,33.875],[-109.046,34.96],[-109.046,36.117],[-109.045,36.999],[-110.001,36.998],[-111.278,37],[-112.966,37],[-114.051,37],[-114.047,36.194],[-114.152,36.025],[-114.372,36.143],[-114.736,36.104],[-114.664,35.449],[-114.573,35.139],[-114.633,35.002],[-114.634,34.873],[-114.465,34.691],[-114.335,34.45],[-114.139,34.26],[-114.428,34.093],[-114.535,33.928],[-114.525,33.552],[-114.707,33.377],[-114.671,33.038],[-114.511,33.023],[-114.469,32.845],[-114.72,32.719]]]},properties:{name:"Arizona"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.861,41.32],[-71.483,41.372],[-71.429,41.454],[-71.121,41.497],[-71.133,41.66],[-71.329,41.783],[-71.381,42.019],[-71.799,42.008],[-71.798,41.417],[-71.861,41.32]]]},properties:{name:"Rhode Island"}}]},l9e={state:a9e},c9e=(e,t,i,o,s)=>{if(e.length===0)return[];if(t!=="state")throw new Error(`Unsupported topology type: ${t}`);if(!e.every(a=>a.hasOwnProperty(t)))throw new Error(`Input data must contain the field: ${t}`);const r=e.map(a=>{const l=gW(a[t]);return{...a,[t]:a[t],name:l}});return r.push({[t]:I0,[i]:o,name:I0}),r.push({[t]:A0,[i]:s,name:A0}),r},d9e=e=>{const t=l9e[e];if(!t)throw new Error(`No topology object found for type: ${e}`);return t},u9e=()=>({getTopologyObject:d9e,buildMapData:c9e}),h9e={style:{width:"30%"}},p9e=["min","max"],g9e={class:"pv-flex pv-space-between pv-text-body-xxs pv-text-subdued"},f9e=m.defineComponent({__name:"MapGradient",props:{min:{default:0},max:{default:100},valueFormatter:{}},setup(e){const t=e,i=o=>t.valueFormatter?t.valueFormatter(o):o.toLocaleString("en-US");return(o,s)=>(m.openBlock(),m.createElementBlock("div",h9e,[m.createElementVNode("div",{min:o.min,max:o.max,"aria-hidden":"true",class:"pv-full-width pv-stack-4",style:{appearance:"none",background:`linear-gradient(
|
|
242
242
|
90deg,
|
|
243
243
|
rgba(226, 247, 245, 1) 0%,
|
|
244
244
|
rgba(168, 230, 225, 1) 10%,
|