@turquoisehealth/pit-viper 2.53.0 → 2.53.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.
Files changed (75) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats-vue_base.html +4949 -0
  3. package/pv-components/dist/stats-vue_charts.html +4949 -0
  4. package/pv-components/dist/stats-vue_tables.html +4949 -0
  5. package/pv-components/dist/stats-web.html +4949 -0
  6. package/pv-components/dist/types/base/PvAccordion/PvAccordion.vue.d.ts +22 -0
  7. package/pv-components/dist/types/base/PvAccordion/types.d.ts +5 -0
  8. package/pv-components/dist/types/base/PvBanner/PvBanner.vue.d.ts +22 -0
  9. package/pv-components/dist/types/base/PvBanner/types.d.ts +11 -0
  10. package/pv-components/dist/types/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +6 -0
  11. package/pv-components/dist/types/base/PvBreadcrumbs/types.d.ts +4 -0
  12. package/pv-components/dist/types/base/PvButton/PvButton.vue.d.ts +24 -0
  13. package/pv-components/dist/types/base/PvButton/types.d.ts +3 -0
  14. package/pv-components/dist/types/base/PvCard/PvCard.example.vue.d.ts +2 -0
  15. package/pv-components/dist/types/base/PvCard/PvCard.vue.d.ts +15 -0
  16. package/pv-components/dist/types/base/PvCompanyLogo/PvCompanyLogo.example.vue.d.ts +2 -0
  17. package/pv-components/dist/types/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +15 -0
  18. package/pv-components/dist/types/base/PvCompanyTag/PvCompanyTag.example.vue.d.ts +2 -0
  19. package/pv-components/dist/types/base/PvCompanyTag/PvCompanyTag.vue.d.ts +26 -0
  20. package/pv-components/dist/types/base/PvCounterBadge/PvCounterBadge.vue.d.ts +15 -0
  21. package/pv-components/dist/types/base/PvCounterBadge/types.d.ts +3 -0
  22. package/pv-components/dist/types/base/PvDatePicker/PvDatePicker.example.vue.d.ts +2 -0
  23. package/pv-components/dist/types/base/PvDatePicker/PvDatePicker.vue.d.ts +114 -0
  24. package/pv-components/dist/types/base/PvDateTime/PvDateTime.example.vue.d.ts +2 -0
  25. package/pv-components/dist/types/base/PvDateTime/PvDateTime.vue.d.ts +13 -0
  26. package/pv-components/dist/types/base/PvDateTime/useDateTime.d.ts +9 -0
  27. package/pv-components/dist/types/base/PvDrawer/PvDrawer.example.vue.d.ts +2 -0
  28. package/pv-components/dist/types/base/PvDrawer/PvDrawer.vue.d.ts +31 -0
  29. package/pv-components/dist/types/base/PvDropdown/PvDropdown.example.vue.d.ts +2 -0
  30. package/pv-components/dist/types/base/PvDropdown/PvDropdown.vue.d.ts +42 -0
  31. package/pv-components/dist/types/base/PvDropdown/useDropdownMenuPosition.d.ts +59 -0
  32. package/pv-components/dist/types/base/PvIcon/PvIcon.example.vue.d.ts +2 -0
  33. package/pv-components/dist/types/base/PvIcon/PvIcon.vue.d.ts +10 -0
  34. package/pv-components/dist/types/base/PvModal/PvModal.vue.d.ts +26 -0
  35. package/pv-components/dist/types/base/PvMultiSelect/PvMultiSelect.example.vue.d.ts +2 -0
  36. package/pv-components/dist/types/base/PvMultiSelect/PvMultiSelect.vue.d.ts +12 -0
  37. package/pv-components/dist/types/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +54 -0
  38. package/pv-components/dist/types/base/PvMultiSelectButton/PvMultiSelectButtonTrigger.vue.d.ts +28 -0
  39. package/pv-components/dist/types/base/PvMultiSelectButton/PvSelectMenu.vue.d.ts +30 -0
  40. package/pv-components/dist/types/base/PvMultiSelectButton/PvSelectMenuControlPanel.vue.d.ts +8 -0
  41. package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuCheckboxItem.vue.d.ts +11 -0
  42. package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuItem.vue.d.ts +12 -0
  43. package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuRadioItem.vue.d.ts +11 -0
  44. package/pv-components/dist/types/base/PvMultiSelectButton/mocks.d.ts +13 -0
  45. package/pv-components/dist/types/base/PvMultiSelectButton/types.d.ts +17 -0
  46. package/pv-components/dist/types/base/PvPill/PvPill.vue.d.ts +30 -0
  47. package/pv-components/dist/types/base/PvPill/types.d.ts +3 -0
  48. package/pv-components/dist/types/base/PvPopover/PvPopover.vue.d.ts +29 -0
  49. package/pv-components/dist/types/base/PvReleaseBadge/PvReleaseBadge.example.vue.d.ts +2 -0
  50. package/pv-components/dist/types/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +5 -0
  51. package/pv-components/dist/types/base/PvSearchInput/PvSearchInput.vue.d.ts +18 -0
  52. package/pv-components/dist/types/base/PvSegmentedControl/PvSegmentedControl.example.vue.d.ts +2 -0
  53. package/pv-components/dist/types/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +19 -0
  54. package/pv-components/dist/types/base/PvSelect/PvSelect.example.vue.d.ts +2 -0
  55. package/pv-components/dist/types/base/PvSelect/PvSelect.vue.d.ts +22 -0
  56. package/pv-components/dist/types/base/PvSuggestionTag/PvSuggestionTag.example.vue.d.ts +2 -0
  57. package/pv-components/dist/types/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +28 -0
  58. package/pv-components/dist/types/base/PvTabList/PvTabList.vue.d.ts +11 -0
  59. package/pv-components/dist/types/base/PvTabs/PvTabs.example.vue.d.ts +2 -0
  60. package/pv-components/dist/types/base/PvTabs/PvTabs.vue.d.ts +17 -0
  61. package/pv-components/dist/types/base/PvTabs/types.d.ts +7 -0
  62. package/pv-components/dist/types/base/PvTag/PvTag.example.vue.d.ts +2 -0
  63. package/pv-components/dist/types/base/PvTag/PvTag.vue.d.ts +40 -0
  64. package/pv-components/dist/types/base/PvTag/types.d.ts +3 -0
  65. package/pv-components/dist/types/base/PvToggle/PvToggle.vue.d.ts +35 -0
  66. package/pv-components/dist/types/base/PvTooltip/PvTooltip.vue.d.ts +24 -0
  67. package/pv-components/dist/types/base/PvTooltip/types.d.ts +2 -0
  68. package/pv-components/dist/types/base/baseProps.d.ts +7 -0
  69. package/pv-components/dist/types/base/index.d.ts +29 -0
  70. package/pv-components/dist/vue/charts/pv-components-charts.js +2 -2
  71. package/pv-components/dist/vue/charts/pv-components-charts.mjs +3 -3
  72. package/pv-components/dist/vue/charts/pv-components-charts.umd.js +2 -2
  73. package/pv-components/dist/vue/tables/pv-components-tables.js +2 -2
  74. package/pv-components/dist/vue/tables/pv-components-tables.mjs +3 -3
  75. package/pv-components/dist/vue/tables/pv-components-tables.umd.js +2 -2
@@ -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-89995494]{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-89995494]{color:#16696d;animation:pulse-89995494 1.5s infinite ease-in-out}@keyframes pulse-89995494{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-bdffc608]{background-color:transparent;border:none}.pv-icon-button[data-v-bdffc608]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-bdffc608]{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[data-v-5bb7bd55]{opacity:0;transition:opacity .2s ease}.option-label:hover .focus-button[data-v-5bb7bd55]{opacity:1}.suggested-label[data-v-3e72521a]: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)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".pv-chart-loading[data-v-89995494]{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-89995494]{color:#16696d;animation:pulse-89995494 1.5s infinite ease-in-out}@keyframes pulse-89995494{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-bdffc608]{background-color:transparent;border:none}.pv-icon-button[data-v-bdffc608]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-bdffc608]{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[data-v-5bb7bd55]{opacity:0;transition:opacity .2s ease}.option-label:hover .focus-button[data-v-5bb7bd55]{opacity:1}.suggested-label[data-v-4c62e690]: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 v=require("vue");var fB=Object.defineProperty,gW=Object.getOwnPropertyDescriptor,On=(e,t)=>{for(var i in t)fB(e,i,{get:t[i],enumerable:!0})},I=(e,t,i,o)=>{for(var s=o>1?void 0:o?gW(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&&fB(t,i,s),s},ge={};On(ge,{error:()=>yB,errorOnce:()=>vW,log:()=>fW,logGroup:()=>CW,reset:()=>bW,table:()=>mW,warn:()=>mB,warnOnce:()=>yW});var jf=new Set;function fW(...e){console.log(...e)}function mB(e,...t){console.warn(`AG Charts - ${e}`,...t)}function yB(e,...t){typeof e=="object"?console.error("AG Charts error",e,...t):console.error(`AG Charts - ${e}`,...t)}function mW(...e){console.table(...e)}function yW(e,...t){const i=`Logger.warn: ${e}`;jf.has(i)||(mB(e,...t),jf.add(i))}function vW(e,...t){const i=`Logger.error: ${e}`;jf.has(i)||(yB(e,...t),jf.add(i))}function bW(){jf.clear()}function CW(e,t){console.groupCollapsed(e);try{return t()}finally{console.groupEnd()}}var iu=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`)}};iu.registeredModules=new Map;var tk=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 mC(e){return typeof e>"u"?[]:Array.isArray(e)?e:[e]}function SW(e){return Array.from(new Set(e))}function ik(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 WL(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 xW(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 vB(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 bB(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 wW(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 MW(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 jL(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*Xd(...e){for(const t of e)yield*t}function DW(e){return e!=null&&typeof e=="object"&&Symbol.iterator in e?e:[e]}function Ig(e){for(const t of e)return t;throw new Error("AG Charts - no first() value found")}function kW(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 mf(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 IW(e){let t=1;for(let i=0;i<e.length;i++)e.charCodeAt(i)===10&&t++;return t}function Fb(e){return e!=null}function Rt(e){return Array.isArray(e)}function CB(e){return typeof e=="boolean"}function Mp(e){return e instanceof Date}function Hm(e){return Mp(e)&&!isNaN(Number(e))}function AW(e){return e instanceof RegExp}function ku(e){return typeof e=="function"}function qi(e){return typeof e=="object"&&e!==null&&!Rt(e)}function Eo(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function ws(e){return typeof e=="string"}function Mn(e){return typeof e=="number"}function st(e){return Number.isFinite(e)}function RW(e){return typeof window<"u"&&e instanceof HTMLElement}function TW(e,t){return Object.values(e).includes(t)}function LW(e){return typeof e=="symbol"}var Wm=Symbol("description"),EW=Symbol("required");function A0(e,t,i=""){if(!qi(e))return{valid:null,errors:[{path:i,value:e,message:$L(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[EW]&&typeof c>"u"))if(ku(l))l(c,e)?n[a]=c:s.push({key:a,path:i,value:c,message:$L(r(a),c,l)});else{const d=A0(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 $L(e,t,i){const o=ws(i)?i:i[Wm],s=o?`; expecting ${o}`:"";return`${e?`Option \`${e}\``:"Value"} cannot be set to \`${mf(t)}\`${s}, ignoring.`}function Po(e,t){return Object.assign((i,o)=>e(i,o),{[Wm]:t})}var ov=(...e)=>Po((t,i)=>e.every(o=>o(t,i)),e.map(t=>t[Wm]).filter(Boolean).join(" and ")),Zd=(...e)=>Po((t,i)=>e.some(o=>o(t,i)),e.map(t=>t[Wm]).filter(Boolean).join(" or "));Po(Rt,"an array");Po(CB,"a boolean");Po(ku,"a function");var Qa=Po(st,"a number"),rw=Po(qi,"an object"),zs=Po(ws,"a string"),sv=Po(e=>Mp(e)||(st(e)||ws(e))&&Hm(new Date(e)),"a date"),PW=(e,t=!0)=>Po(i=>st(i)&&(i>e||t&&i===e),`a number greater than ${t?"or equal to ":""}${e}`),NW=(e,t)=>Po(i=>st(i)&&i>=e&&i<=t,`a number between ${e} and ${t} inclusive`);PW(0);var nv=NW(0,1),UL=e=>st(e)||Hm(e),KL=e=>Po((t,i)=>!UL(t)||!UL(i[e])||t<i[e],`to be less than ${e}`);function OW(...e){qi(e[0])&&(e=Object.values(e[0]));const t=kW(e,"or",i=>`'${i}'`,6);return Po(i=>e.includes(i),`a keyword such as ${t}`)}var k1=(e,t)=>Po((i,o)=>Rt(i)&&i.every(s=>e(s,o)),`${e[Wm]} array`),SB={};On(SB,{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 xB(e){aa.document=e}function wB(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 MB(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 I1=new Map;function FW(){I1.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=(I1.get(i)??0)+1;return I1.set(i,o),`${i}-${o}`}function BW(){return crypto.randomUUID?.()??GW()}function GW(){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 R0={containsPoint:zW,isEmpty:_W,normalize:VW};function zW(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 VW(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 T0=Symbol("interpolate"),yC=e=>e[T0]!=null;function L0(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 HW(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 ze(e,t,i){return Math.min(i,Math.max(e,t))}function A1(e,t){const[i,o]=Qi(t);return ze(i,e,o)}function Qi(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 cp(e){const[t,i]=Qi(e);return i-t}function DB(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 E0(e){return Math.sign(e)===-1||Object.is(e,-0)}function kB(e){return e%1===0}function WW(e,t=2){const i=10**t;return Math.round(e*i)/i}function ok(e,t){return Math.floor(e%t+(e<0?t:0))}function P0(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 $f=class Ah{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 Ah(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 Ah(i,o,s-i,n-o)}static nearestBox(t,i,o){return L0(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 Ah(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 R0.containsPoint(this,t,i)}intersection(t){if(!this.collidesBBox(t))return;const i=ze(t.x,this.x,t.x+t.width),o=ze(t.y,this.y,t.y+t.height),s=ze(t.x,this.x+this.width,t.x+t.width),n=ze(t.y,this.y+this.height,t.y+t.height);return new Ah(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-ze(this.x,t,this.x+this.width),s=i-ze(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}[T0](t,i){return new Ah(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)}};$f.zero=Object.freeze(new $f(0,0,0,0));$f.NaN=Object.freeze(new $f(NaN,NaN,NaN,NaN));var we=$f;function xe(e){return function(t,i){const o=`__${i}`;t[i]||jW(t,i,o,e)}}function jW(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=YW(i,l);break;case"transform":c=XW(i);break;case"path":c=ZW(i);break}c=KW(UW($W(c,l),l),l),Object.defineProperty(e,t,{set:c,get:function(){return this[i]},enumerable:!0,configurable:!0})}function $W(e,t){const{convertor:i}=t;return i?function(o){e.call(this,i(o))}:e}var N0=Symbol("no-change");function UW(e,t){const{changeCb:i}=t;return i?function(o){const s=e.call(this,o);return s!==N0&&i.call(this,this),s}:e}function KW(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 YW(e,t){const{changeCb:i}=t;return function(o){const s=this[e];return o!==s?(this[e]=o,this.markDirty(),i?.(this),o):N0}}function XW(e){return function(t){const i=this[e];return t!==i?(this[e]=t,this.markDirtyTransform(),t):N0}}function ZW(e){return function(t){const i=this[e];return t!==i?(this[e]=t,this._dirtyPath||(this._dirtyPath=!0,this.markDirty()),t):N0}}var IB=(e=>(e[e.All=0]="All",e[e.None=1]="None",e))(IB||{}),O0=class AB{constructor(t){this.serialNumber=AB._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 DW(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(){}};O0._nextSerialNumber=0;I([xe()],O0.prototype,"visible",2);I([xe({changeCb:e=>e.onZIndexChange()})],O0.prototype,"zIndex",2);var Bc=O0,rv=(e,t,i)=>e*(1-i)+t*i,aw=e=>{const t=e<0?-1:1,i=Math.abs(e);return i<=.04045?e/12.92:t*((i+.055)/1.055)**2.4},lw=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},RB=class Dt{constructor(t,i,o,s=1){this.r=ze(0,t||0,1),this.g=ze(0,i||0,1),this.b=ze(0,o||0,1),this.a=ze(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=ze(0,c,100),c/=100):a===3?c=ze(0,c,1):(c=ze(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=aw(t),n=aw(i),r=aw(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),y=p>=0?p:p+360;return[g,f,y]}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=lw(d),g=lw(u),f=lw(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))}};RB.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=RB;function qW(e,t){return i=>Number(e)*(1-i)+Number(t)*i}function TB(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 vC=Symbol("BREAK"),jh="__decorator_config";function LB(e,t){Object.getOwnPropertyDescriptor(e,jh)==null&&Object.defineProperty(e,jh,{value:{}});const i=e[jh],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===vC)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===vC)return;return d},enumerable:!0,configurable:!1}),i[o]}function hl(e,t,i){return(o,s)=>{const n=LB(o,s);n.setters.push(e),t&&n.getters.unshift(t),i&&Object.assign(n,i)}}function EB(e){return(t,i)=>{LB(t,i).observers.push(e)}}function F0(e){return typeof e<"u"&&jh in e}function ou(e){const t=new Set;for(;F0(e);)t.add(e?.[jh]),e=Object.getPrototypeOf(e);return Array.from(t).flatMap(i=>Object.keys(i))}function PB(e){return ou(e).reduce((t,i)=>(t[i]=e[i]??null,t),{})}function QW(e,t){const i=t.toString();for(;F0(e);){const o=e[jh];if(Object.hasOwn(o,i))return o[i];e=Object.getPrototypeOf(e)}}function fu(e,t){return Array.isArray(e)?!Array.isArray(t)||e.length!==t.length?!1:e.every((i,o)=>fu(i,t[o])):Eo(e)?Eo(t)?sk(e,t,fu):!1:e===t}function sk(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(!qi(i))continue;const o=F0(i)?ou(i):Object.keys(i);for(const s of o)Eo(t[s])&&Eo(i[s])?t[s]=Ke(t[s],i[s]):t[s]??(t[s]=i[s])}return t}function bC(e,...t){return t&&Rt(e)?e.map(i=>Ke(i,...t)):e}function JW(e,t){return Object.entries(e).reduce((i,[o,s])=>(i[o]=t(s,o,e),i),{})}function R1(e,t){const i={...e};for(const o of t)delete i[o];return i}function nk(e,t){return(Rt(t)?t:t.split(".")).reduce((o,s)=>o[s],e)}var rk=new Set(["__proto__","constructor","prototype"]);function ak(e,t,i){const o=Rt(t)?t.slice():t.split("."),s=o.pop();if(o.some(r=>rk.has(r)))return;const n=o.reduce((r,a)=>r[a],e);return n[s]=i,n[s]}function T1(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 yf(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)&&yf(i)}),e}var L1={};On(L1,{easeIn:()=>ej,easeInOut:()=>tj,easeInOutQuad:()=>sj,easeInQuad:()=>ij,easeOut:()=>Uf,easeOutQuad:()=>oj,inverseEaseOut:()=>OB,linear:()=>NB});var NB=e=>e,ej=e=>1-Math.cos(e*Math.PI/2),Uf=e=>Math.sin(e*Math.PI/2),tj=e=>-(Math.cos(e*Math.PI)-1)/2,ij=e=>e*e,oj=e=>1-(1-e)**2,sj=e=>e<.5?2*e*e:1-(-2*e+2)**2/2,OB=e=>2*Math.asin(e)/Math.PI,CC=.2,Rh=["initial","remove","update","add","trailing","end","none"],Kf={initial:{animationDuration:1,animationDelay:0},add:{animationDuration:.25,animationDelay:.75},remove:{animationDuration:.25,animationDelay:0},update:{animationDuration:.5,animationDelay:.25},trailing:{animationDuration:CC,animationDelay:1,skipIfNoEarlierAnimations:!0},end:{animationDelay:1+CC,animationDuration:0,skipIfNoEarlierAnimations:!0},none:{animationDuration:0,animationDelay:0}},FB=(e=>(e.Loop="loop",e.Reverse="reverse",e))(FB||{});function nj(e){return e.every(t=>t instanceof Bc)}function B0(e){return nj(e)?{nodes:e,selections:[]}:{nodes:[],selections:e}}function E1(e,t){return e===t?!0:Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((i,o)=>E1(i,t[o])):yC(e)&&yC(t)?e.equals(t):Eo(e)&&Eo(t)?sk(e,t,E1):!1}var BB=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??NB,this.phase=t.phase;const i=t.duration??Kf[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 E1(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(ze(0,(this.elapsed-this.delay)/this.duration,1))}createInterpolator(t,i){if(typeof i!="object"||yC(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(yC(t))return o=>t[T0](i,o);try{switch(typeof t){case"number":return qW(t,i);case"string":return TB(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}=B0(o),h=(g,f)=>{let y,m=0,C=0;for(const S of f){const x=g[m]===S,D={last:C>=f.length-1,lastLive:m>=g.length-1,prev:f[C-1],prevFromProps:y,prevLive:g[m-1],next:f[C+1],nextLive:g[m+(x?1:0)]},A=`${e}_${t}_${S.id}`;i.stopByAnimationId(A);let k="unknown";x?n&&r&&(k=rj(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:G,delay:_,duration:V,...z}=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:z,ease:Uf,collapsable:H,onPlay:()=>{const B={...M,...F,...N};c(S,B,"start")},onUpdate(B){c(S,B,"update")},onStop:()=>{const B={...M,...F,...N,...z,...R,...G};c(S,B,"end")}}),x&&m++,C++,y=N}};let p=0;for(const g of u){const f=g.nodes(),y=f.filter(m=>!g.isGarbage(m));h(y,f),i.animate({id:`${e}_${t}_selection_${p}`,groupId:e,phase:"end",from:0,to:1,ease:Uf,onStop(){g.cleanup()}}),p++}h(d,d)}function xl(e,t,i,o,s,n,r){const{nodes:a,selections:l}=B0(o),{start:c,finish:d,phase:u}=r;i.animate({id:`${e}_${t}`,groupId:e,phase:u??"update",from:s,to:n,ease:Uf,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 rj(e,t,i,o){const s=i(e,t);return o.added.has(s)?"added":o.removed.has(s)?"removed":"updated"}var G0=class{ticks(e,t,i){}niceDomain(e,t=this.domain){return t}tickFormatter(e){}datumFormatter(e){}get bandwidth(){}get step(){}get inset(){}},GB=class zB extends G0{constructor(t=[],i=[]){super(),this.domain=t,this.range=i,this.defaultClamp=!1}static is(t){return t instanceof zB}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]=Qi([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)}};GB.defaultTickCount=5;var ut=GB,aj={};On(aj,{TimeInterval:()=>dp,day:()=>SC,friday:()=>xj,hour:()=>Fh,millisecond:()=>_B,minute:()=>Oh,monday:()=>vj,month:()=>Kd,saturday:()=>wj,second:()=>Nh,sunday:()=>vf,thursday:()=>Sj,tuesday:()=>bj,utcDay:()=>Fj,utcHour:()=>Pj,utcMinute:()=>Tj,utcMonth:()=>zj,utcYear:()=>Hj,wednesday:()=>Cj,year:()=>z0});var dp=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 dp{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&&ge.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 dp(r,a,o)}};function lj(e){return e.getTime()}function cj(e){return new Date(e)}var _B=new qs(lj,cj),bc=1e3,po=bc*60,es=po*60,Tn=es*24,el=Tn*7,Ag=Tn*30,up=Tn*365,VB=new Date().getTimezoneOffset()*po;function dj(e){return Math.floor((e.getTime()-VB)/bc)}function uj(e){return new Date(VB+e*bc)}var Nh=new qs(dj,uj),HB=new Date().getTimezoneOffset()*po;function hj(e){return Math.floor((e.getTime()-HB)/po)}function pj(e){return new Date(HB+e*po)}var Oh=new qs(hj,pj),WB=new Date().getTimezoneOffset()*po;function gj(e){return Math.floor((e.getTime()-WB)/es)}function fj(e){return new Date(WB+e*es)}var Fh=new qs(gj,fj);function mj(e){const t=e.getTimezoneOffset()*po;return Math.floor((e.getTime()-t)/Tn)}function yj(e){const t=new Date(1970,0,1);return t.setDate(t.getDate()+e),t}var SC=new qs(mj,yj);function Iu(e){const i=(7+e-4)%7;function o(n){const r=n.getTimezoneOffset()*po;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 vf=Iu(0),vj=Iu(1),bj=Iu(2),Cj=Iu(3),Sj=Iu(4),xj=Iu(5),wj=Iu(6);function Mj(e){return e.getFullYear()*12+e.getMonth()}function Dj(e){const t=Math.floor(e/12),i=e-t*12;return new Date(t,i,1)}var Kd=new qs(Mj,Dj);function kj(e){return e.getFullYear()}function Ij(e){const t=new Date;return t.setFullYear(e),t.setMonth(0,1),t.setHours(0,0,0,0),t}var z0=new qs(kj,Ij);function Aj(e){return Math.floor(e.getTime()/po)}function Rj(e){return new Date(e*po)}var Tj=new qs(Aj,Rj);function Lj(e){return Math.floor(e.getTime()/es)}function Ej(e){return new Date(e*es)}var Pj=new qs(Lj,Ej);function Nj(e){return Math.floor(e.getTime()/Tn)}function Oj(e){const t=new Date(0);return t.setUTCDate(t.getUTCDate()+e),t.setUTCHours(0,0,0,0),t}var Fj=new qs(Nj,Oj);function Bj(e){return e.getUTCFullYear()*12+e.getUTCMonth()}function Gj(e){const t=Math.floor(e/12),i=e-t*12;return new Date(Date.UTC(t,i,1))}var zj=new qs(Bj,Gj);function _j(e){return e.getUTCFullYear()}function Vj(e){const t=new Date;return t.setUTCFullYear(e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),t}var Hj=new qs(_j,Vj),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 lk(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 YL(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(lk(e,n)/7)+1:0}var Wj=0,jB=1,XL=4;function $B(e,t=e.getFullYear()){const o=new Date(t,0,1).getDay(),s=(XL-o+7)%7,n=new Date(t,0,s-(XL-jB)+1);return n<=e?Math.floor(lk(e,n)/7)+1:$B(e,t-1)}function jj(e){const t=e.getTimezoneOffset(),i=Math.abs(t);return`${t>0?"-":"+"}${lo(Math.floor(i/60),2,"0")}${lo(Math.floor(i%60),2,"0")}`}var $j={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)=>lo(e.getDate(),2,t??"0"),e:"%_d",f:(e,t)=>lo(e.getMilliseconds()*1e3,6,t??"0"),H:(e,t)=>lo(e.getHours(),2,t??"0"),I:(e,t)=>{const i=e.getHours()%12;return i===0?"12":lo(i,2,t??"0")},j:(e,t)=>lo(lk(e)+1,3,t??"0"),m:(e,t)=>lo(e.getMonth()+1,2,t??"0"),M:(e,t)=>lo(e.getMinutes(),2,t??"0"),L:(e,t)=>lo(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)=>lo(e.getSeconds(),2,t??"0"),u:e=>{let t=e.getDay();return t<1&&(t+=7),String(t%7)},U:(e,t)=>lo(YL(e,Wj),2,t??"0"),V:(e,t)=>lo($B(e),2,t??"0"),w:(e,t)=>lo(e.getDay(),2,t??"0"),W:(e,t)=>lo(YL(e,jB),2,t??"0"),x:"%-m/%-d/%Y",X:"%-I:%M:%S %p",y:(e,t)=>lo(e.getFullYear()%100,2,t??"0"),Y:(e,t)=>lo(e.getFullYear(),4,t??"0"),Z:e=>jj(e),"%":()=>"%"},Uj={_:" ",0:"0","-":""};function lo(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=Uj[o];s!=null&&i++;const n=e[i+1],r=$j[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 ko(e){return e instanceof Date?e.getTime():e}function ck(e,t,i){const o=UB(e,t,i),s=jm(o);return n=>s(n)}function UB(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]:Qi([t[0].valueOf(),t[t.length-1].valueOf()]),r=new Date(s).getFullYear(),l=new Date(n).getFullYear()-r>0,c=isFinite(o)?Kj(o,e):Yj(e[0]);return Zj(Math.max(c-i,0),l,e)}function Kj(e,t){return e<bc?0:e<po?1:e<es?2:e<Tn?3:e<el?4:e<Tn*28||e<Tn*31&&Xj(t)?5:e<up?6:7}function Yj(e){return Nh.floor(e)<e?0:Oh.floor(e)<e?1:Fh.floor(e)<e?2:SC.floor(e)<e?3:Kd.floor(e)<e?vf.floor(e)<e?4:5:z0.floor(e)<e?6:7}function Xj(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 Zj(e,t,i){const o=ko(i[0]),s=ko(i.at(-1)),n=Math.abs(s-o),r=t||e===7,a=n===0,c=[["hour",6*es,14*Tn,3,"%I %p"],["hour",po,6*es,3,"%I:%M"],["second",1e3,6*es,1,":%S"],["ms",0,6*es,0,".%L"],["am/pm",po,6*es,3,"%p"]," ",["day",Tn,el,4,"%a"],["month",a?0:el,52*el,5,"%b %d"],["month",5*el,10*up,6,"%B"]," ",["year",r?0:up,1/0,7,"%Y"]].filter(h=>{if(typeof h=="string")return!0;const[p,g,f,y]=h;return y>=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 Dp=(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 KB(e,t,i){if(i==null||i[0]===0&&i[1]===1)return e;const o=ze(0,Math.floor(i[0]*e.length),e.length),s=ze(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 _0=class YB extends G0{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 YB}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=ze(0,t,1),this._paddingInner=t,this._paddingOuter=t}get padding(){return this._paddingInner}set paddingInner(t){this.invalid=!0,this._paddingInner=ze(0,t,1)}get paddingInner(){return this._paddingInner}set paddingOuter(t){this.invalid=!0,this._paddingOuter=ze(0,t,1)}get paddingOuter(){return this._paddingOuter}refresh(){this.invalid&&(this.invalid=!1,this.update(),this.invalid&&ge.warnOnce("Expected update to not invalidate scale"))}ticks(t,i=this.domain,o){return KB(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 ze(n,i+o*t,r)}};I([Dp],_0.prototype,"range",2);I([Dp],_0.prototype,"round",2);I([Dp],_0.prototype,"interval",2);var $m=_0,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=ZL(n):(s&&(s=qj(n,i)),i=ZL([...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(ko(o[s]),s);this.index=i}return i.get(ko(t))}};function ZL(e){let t;const i=new Set;for(const o of e){const s=ko(o),n=i.size;i.add(s),i.size!==n?t?.push(o):t??(t=e.slice(0,i.size))}return t??e}function qj(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 Ge=class{set(t){const{className:i=this.constructor.name}=this.constructor;if(typeof t!="object")return ge.warn(`unable to set ${i} - expecting a properties object`),this;const o=new Set(Object.keys(t));for(const s of ou(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:ge.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)ge.warn(`unable to set [${s}] in ${i} - property is unknown`);return this}isValid(t){return ou(this).every(i=>{const{optional:o}=QW(this,i),s=o===!0||typeof this[i]<"u";return s||ge.warnOnce(`${t??""}[${i}] is required.`),s})}toJson(){return ou(this).reduce((t,i)=>{const o=this[i];return t[i]=la(o)?o.toJson():o,t},{})}},Km=class XB 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 XB(this.itemFactory,...t)}toJson(){return this.map(t=>t?.toJson?.()??t)}};function la(e){return e instanceof Ge||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=mf(r,50);return ge.warn(`Property [${l}] of [${c}] cannot be set to [${d}]${e.message?`; expecting ${qm(e,a)}`:""}, ignoring.`),vC},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 "))},Hc=(...e)=>mt((t,i)=>e.some(o=>o(t,i)),t=>e.map(a$(t)).filter(Boolean).join(" OR ")),Se=fk(mt((e,t)=>la(e)||qi(e)&&la(t.target[t.property]),"a properties object")),ZB=fk(mt(e=>qi(e),"an object")),Ae=mt(CB,"a boolean"),os=mt(ku,"a function"),pe=mt(ws,"a string"),et=c$(mt(st,"a number")),qB=mt(e=>Mn(e)&&!isNaN(e),"a real number"),V0=mt(e=>Mn(e)&&isNaN(e),"NaN"),me=et.restrict({min:0}),ht=et.restrict({min:0,max:1}),kp=Hc(et,V0),Ym=l$(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}),xC=e=>st(e)||Hm(e),Xm=e=>mt((t,i)=>!xC(t)||!xC(i.target[e])||t<i.target[e],`to be less than ${e}`),Zm=e=>mt((t,i)=>!xC(t)||!xC(i.target[e])||t>i.target[e],`to be greater than ${e}`),dk=mt(Hm,"Date object"),uk=Hc(dk,me),QB="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=>ws(e)&&jt.validColorString(e),`color String. ${QB}`),JB=fk(mt(e=>qi(e)&&e.type==="gradient","a color gradient object")),Qs=mt(wl(ct),`color strings. ${QB}`),Qj=wl(Ae,"boolean values"),H0=wl(et,"numbers"),e3=wl(pe,"strings"),Jj=mt(wl(dk),"Date objects"),hk=mt(wl(Se),"objects"),e$=Mt(["butt","round","square"],"a line cap"),t$=Mt(["round","bevel","miter"],"a line join"),i$=Mt(["solid","dashed","dotted"],"a line style"),fa=mt(wl(me),"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."),pk=Mt(["top","right","bottom","left"],"a position"),Ml=Mt(["normal","italic","oblique"],"a font style"),Dl=Hc(Mt(["normal","bold","bolder","lighter"],"a font weight"),et.restrict({min:1,max:1e3})),W0=Mt(["never","always","hyphenate","on-space"],"a text wrap strategy"),t3=Mt(["left","center","right"],"a text align"),o$=Mt(["top","middle","bottom"],"a vertical align"),s$=Mt(["ellipsis","hide"],"an overflow strategy"),i3=Mt(["horizontal","vertical"],"a direction"),n$=Mt(["inside","outside"],"a placement"),j0=Hc(Mt(["exact","nearest"],"interaction range"),et),gk=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.`),ge.warnOnce(n.join(" "),o.property)}return!0},`${t} keyword such as ${r$(e)}`)}var o3=Hc(ga(et.restrict({min:1}),Xm("maxSpacing")),V0),s3=Hc(ga(et.restrict({min:1}),Zm("minSpacing")),V0);function mt(e,t){return e.message=t,e}function r$(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 ku(e.message)?e.message(t):e.message}function a$(e){return t=>qm(t,e)}function l$(e){return Object.assign(e,{restrict({length:t,minLength:i}={}){let o="an array";return Mn(i)&&i>0?o="a non-empty array":Mn(t)&&(o=`an array of length ${t}`),mt(s=>Rt(s)&&(Mn(t)?s.length===t:!0)&&(Mn(i)?s.length>=i:!0),o)}})}function c$(e){return Object.assign(e,{restrict({min:t,max:i}={}){const o=["a number"],s=Mn(t),n=Mn(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=>st(r)&&(s?r>=t:!0)&&(n?r<=i:!0),o.join(" "))}})}function fk(e){return Object.assign(e,{restrict(t){return mt(i=>i instanceof t,i=>qm(e,i)??`an instance of ${t.name}`)}})}var n3={};On(n3,{resetMotion:()=>Xi});function Xi(e,t){const{nodes:i,selections:o}=B0(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 d$=2e3,qL=Date.now(),u$=()=>{const e=Date.now()-qL;if(e>d$){const t=(Math.floor(e/100)/10).toFixed(1);ge.log(`**** ${t}s since last log message ****`)}qL=Date.now()},xt={create(...e){return Object.assign((...i)=>{xt.check(...e)&&(typeof i[0]=="function"&&(i=mC(i[0]())),u$(),ge.log(...i))},{check:()=>xt.check(...e),group:(i,o)=>xt.check(...e)?ge.logGroup(i,o):o()})},check(...e){return e.length===0&&e.push(!0),mC(At("agChartsDebug")).some(i=>e.includes(i))}};function r3({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 a3(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 QL(e,t,i){return[Math.round(e*i),Math.round(t*i)]}var l3=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]=QL(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),a3(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]=QL(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(){r3(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)}},JL=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}},cw=1e-6,eE=e=>e.c<cw||e.l<cw||e.l>1-cw,h$=(e,t,i)=>{i=ze(0,i,1);let o;if(eE(e))o=t.h;else if(eE(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)},Wc=class extends G0{constructor(){super(...arguments),this.type="color",this.invalid=!0,this.domain=[0,1],this.range=["red","blue"],this.parsedRange=this.range.map(JL)}update(){const{domain:t,range:i}=this;t.length<2&&(ge.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){ge.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(JL)}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 h$(u,h,d).toRgbaString()}invert(){}refresh(){this.invalid&&(this.invalid=!1,this.update(),this.invalid&&ge.warnOnce("Expected update to not invalidate scale"))}};I([Dp],Wc.prototype,"domain",2);I([Dp],Wc.prototype,"range",2);var $0=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 Wc;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}},Dn=Math.PI*2,Rg=Math.PI/2;function kt(e){return e%=Dn,e+=Dn,e%=Dn,e}function p$(e){return e%=Dn,e+=Dn,e!==Dn&&(e%=Dn),e}function Yf(e){return e%=Dn,e<-Math.PI?e+=Dn:e>=Math.PI&&(e-=Dn),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 Ti(e){return e/180*Math.PI}function g$(e){return e/Math.PI*180}function U0(e,t){return e=kt(e),t=kt(t),t-e+(e>t?Dn:0)}function c3(e){const t=kt(e);return t<=Rg?t/Rg:t<=Math.PI?(Math.PI-t)/Rg:t<=1.5*Math.PI?(t-Math.PI)/Rg:(Dn-t)/Rg}var P1=class extends $0{constructor(t,i,o=0,s){super(t,i,s),this.angle=o}createCanvasGradient(t,i){const{angle:s}=this,n=kt(Ti(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)}},mk=class extends Ge{constructor(){super(...arguments),this.color="black"}};I([T(et,{optional:!0})],mk.prototype,"stop",2);I([T(ct,{optional:!0})],mk.prototype,"color",2);function f$(e){let t;for(const{stop:i}of e)if(i!=null){if(t!=null&&i<t)return!1;t=i}return!0}function d3(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 m$(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"?d3(o):o}function u3(e,t,i,o="continuous"){if(e.length===0)return m$(t,o);if(!f$(e))return ge.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 y=p+1;y<e.length;y+=1)if(e[y].stop!=null){c=y;break}}let{stop:f}=g;if(f==null){const y=e[l].stop,m=e[c].stop,C=y??s,S=m??n,x=r&&y==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 Wc,u.domain=[0,1],u.range=t),p=u.convert(f)),{offset:f,color:p}});return o==="discrete"?d3(h):h}function h3(e){return e!==null&&qi(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 tE(e,t){return Math.floor(t*e)/e}var y$=/^linear-gradient\((-?[\d.]+)deg,(.*?)\)$/i,ss=class ir extends Bc{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 $0)return t;if(typeof t=="string"&&t?.startsWith("linear-gradient")&&(i=y$.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 P1("rgb",s.map((l,c)=>({color:l,offset:c/(s.length-1)})),o)}else if(h3(t))return this.createLinearGradient(t)}createLinearGradient(t){const{colorStops:i=[],direction:o}=t,s=o==="horizontal",{domain:n,defaultColorRange:r=[]}=this.gradientFillOptions,a=u3(i,r,n);return new P1("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))}}};ss.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()],ss.prototype,"fillOpacity",2);I([xe()],ss.prototype,"strokeOpacity",2);I([xe({changeCb:e=>e.onFillChange()})],ss.prototype,"fill",2);I([xe({changeCb:e=>e.onStrokeChange()})],ss.prototype,"stroke",2);I([xe()],ss.prototype,"strokeWidth",2);I([xe()],ss.prototype,"lineDash",2);I([xe()],ss.prototype,"lineDashOffset",2);I([xe()],ss.prototype,"lineCap",2);I([xe()],ss.prototype,"lineJoin",2);I([xe()],ss.prototype,"miterLimit",2);I([xe({convertor:e=>ze(0,e,1)})],ss.prototype,"opacity",2);I([xe({checkDirtyOnAssignment:!0})],ss.prototype,"fillShadow",2);I([xe({changeCb:e=>e.onFillChange()})],ss.prototype,"gradientFillOptions",2);var Pn=ss,p3=[1,0,0,1,0,0],vr=class Bb{get e(){return[...this.elements]}constructor(t=p3){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 Bb?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 Bb(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 Bb([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 we(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,y;h===0?(f=0,y=0):(f=a?.rotationCenterX??0,y=a?.rotationCenterY??0);const m=n,C=r,S=d*(1-l)-f,x=u*(1-c)-y;return t.setElements([p*l,g*l,-g*c,p*c,p*S-g*x+f+m,g*S+p*x+y+C]),t}};function Zl(e){return f3(e.constructor)}var g3=Symbol("isMatrixTransform");function f3(e){return e[g3]===!0}function yk(e){var t,i;const o=e;if(f3(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(p3),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=g3,i=s,n[t]=!0,n}function Ip(e){var t;const i=e,o=Symbol("matrix_rotation");class s extends yk(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 vk(e){var t;const i=e,o=Symbol("matrix_scale");class s extends yk(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 Au(e){var t;const i=e,o=Symbol("matrix_translation");class s extends yk(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}}},dw=(e,t)=>Math.sign(e-t);function m3(e,t){if(typeof e=="number"&&typeof t=="number")return dw(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=dw(i[n],o[n]);if(r!==0)return r}return dw(i.length,o.length)}var Tg,bk=class Jg extends Bc{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 Jg}static computeChildrenBBox(t,i=!0){return we.merge(Bc.extractBBoxes(t,i))}static compareChildren(t,i){return m3(t.zIndex,i.zIndex)||t.serialNumber-i.serialNumber}containsPoint(t,i){return!0}computeBBox(){return Jg.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=tE(t,r+i.x-n)-r,c=tE(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 we(l,c,d,u)}prepareSharedCanvas(t,i,o){return Tg==null||Tg.pixelRatio!==o?Tg=new l3({width:t,height:i,pixelRatio:o}):Tg.resize(t,i,o),Tg}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,y=this.prepareSharedCanvas(g,f,a);u(y,a,0,0,a,-h*a,-p*a),l={bitmap:y.transferToImageBitmap(),x:h,y:p,width:g,height:f}}else this.dirtyZIndex&&this.sortChildren(Jg.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(Jg.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}}};bk.className="Group";I([xe({convertor:e=>ze(0,e,1)})],bk.prototype,"opacity",2);var Le=bk,v$=class extends vk(Le){},b$=class extends Ip(Le){},ts=class extends Au(Le){},Lg=class extends Ip(Au(Le)){};function C$(e=0,t=0){return new OffscreenCanvas(e,t).getContext("2d")}var Ck=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=C$();s.font=t,s.textAlign=i.textAlign??"start",s.textBaseline=i.textBaseline??"alphabetic";const n=new y3(s,i);return this.instanceMap.set(o,n),n}};kl.instanceMap=new Ck(10);var y3=class{constructor(e,t){this.ctx=e,this.measureMap=new Ck(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 Sk(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 Sk=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}},Js=class Gb 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=Gb.defaultStyles.textAlign,this.textBaseline=Gb.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 we(i-r,o-n,a,l)}computeBBox(){const{x:t,y:i,lines:o,textBaseline:s,textAlign:n}=this;return Gb.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]}}};Js.className="Text";Js.defaultStyles={...Pn.defaultStyles,textAlign:"start",fontStyle:void 0,fontWeight:void 0,fontSize:10,fontFamily:"sans-serif",textBaseline:"alphabetic"};I([xe()],Js.prototype,"x",2);I([xe()],Js.prototype,"y",2);I([xe({changeCb:e=>e.onTextChange()})],Js.prototype,"text",2);I([xe()],Js.prototype,"fontStyle",2);I([xe()],Js.prototype,"fontWeight",2);I([xe()],Js.prototype,"fontSize",2);I([xe()],Js.prototype,"fontFamily",2);I([xe()],Js.prototype,"textAlign",2);I([xe()],Js.prototype,"textBaseline",2);I([xe()],Js.prototype,"lineHeight",2);var _i=Js,v3=class extends Ip(_i){},hp=class extends Ip(Au(_i)){},uw="color: green",hw="color: grey";function S$(){return EB(()=>{})}function N1(e,t){const i=ou(t);if(i.length===0)return;const o=PB(e);for(const s of i)s in o&&(t[s]=o[s])}var b3=class{transitionRoot(e,t){this.parent?this.parent.transitionRoot(e,t):this.transition(e,t)}},xk=class hs extends b3{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}`,uw)}transition(t,i){if(!this.transitionChild(t,i)||this.state===hs.child||this.state===hs.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,hw),u});else if(typeof r=="object"&&!(r instanceof hs)&&r.guard&&!r.guard(i)){this.debug(`${a} (guarded)`,r.target,hw);return}if(!r){this.debug(`${a} ${this.state}`,hw);return}const l=this.getDestinationState(r),c=l===this.state?void 0:n.onExit;this.debug(`${a} ${l}`,uw),this.state=l,typeof r=="function"?r(i):typeof r=="object"&&!(r instanceof hs)&&r.action?.(i),c?.(),this.enterEach?.(s,l),l!==s&&l!==hs.child&&l!==hs.parent&&this.states[l].onEnter?.(s,i)}transitionAsync(t,i){setTimeout(()=>{this.transition(t,i)},0)}is(t){return this.state===hs.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!==hs.child||!this.childState||(N1(this,this.childState),this.childState.transition(t,i),!this.childState.is(hs.parent))?!0:(this.debug(`%c${this.constructor.name} | ${this.state} -> ${t} -> ${this.defaultState}`,uw),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 hs?(this.childState=t,this.childState.parent=this,i=hs.child):typeof t=="object"&&(t.target instanceof hs?(this.childState=t.target,this.childState.parent=this,i=hs.child):t.target!=null&&(i=t.target)),i}};xk.child="__child";xk.parent="__parent";var Qm=xk,x$=class extends b3{constructor(...t){super(),this.stateMachines=t;for(const i of t)i.parent=this}transition(t,i){for(const o of this.stateMachines)N1(this,o),o.transition(t,i)}transitionAsync(t,i){for(const o of this.stateMachines)N1(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)=>ak(o,i,n),o=>nk(o,i),t)}function w$(e){return hl((t,i,o)=>t[e]=o)}function eo(e,t){return hl((i,o,s)=>i[e][t??o]=s)}function As(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 jc(e){return EB(e)}var wk=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 m=this.getWordAt(c,h+1),C=s.textWidth(m);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 y=c.slice(0,d).trim();for(;y.length&&s.textWidth(y+f)>i.maxWidth;)y=y.slice(0,-1).trimEnd();if(n.push(y+f),!y.length){c="";break}c=c.slice(y.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 Ge{constructor(){super(...arguments),this.id=Fn(this),this.node=new v3({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=wk.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(Ae),eo("node","visible")],St.prototype,"enabled",2);I([T(pe,{optional:!0}),eo("node")],St.prototype,"text",2);I([T(t3,{optional:!0}),eo("node")],St.prototype,"textAlign",2);I([T(Ml,{optional:!0}),eo("node")],St.prototype,"fontStyle",2);I([T(Dl,{optional:!0}),eo("node")],St.prototype,"fontWeight",2);I([T(me),eo("node")],St.prototype,"fontSize",2);I([T(pe),eo("node")],St.prototype,"fontFamily",2);I([T(ct,{optional:!0}),eo("node","fill")],St.prototype,"color",2);I([T(me,{optional:!0})],St.prototype,"spacing",2);I([T(me,{optional:!0})],St.prototype,"maxWidth",2);I([T(me,{optional:!0})],St.prototype,"maxHeight",2);I([T(W0)],St.prototype,"wrapping",2);I([T(me)],St.prototype,"padding",2);I([T(pe)],St.prototype,"layoutStyle",2);var Mk=(e=>(e.X="x",e.Y="y",e))(Mk||{}),Dk=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=ws(e)?e:e.optionsKey;this.moduleMap.get(t)?.moduleInstance.destroy(),this.moduleMap.delete(t)}getModule(e){return this.moduleMap.get(ws(e)?e:e.optionsKey)?.moduleInstance}isEnabled(e){return this.moduleMap.has(ws(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 C3(e,t){return e.valueOf()-t.valueOf()}function M$(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 O1(e){const t=e.slice().sort(C3);return kk(t)==null?M$(t):t}function kk(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 S3(e){let t,i;const o=k$.exec(e);o&&([,t,e,i]=o);const s=D$.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 x3(e){const t=typeof e=="string"?S3(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=vn.g,p=!0;else if(c in vn&&c in Bh)f=g?Bh[c]:vn[c];else if(c in vn)f=vn[c];else if(c in Bh)f=Bh[c];else throw new Error(`The number formatter type is invalid: ${c}`);let y;return h==null||g?y=c?6:12:y=h,m=>{let C=f(m,y);return p&&(C=R$(C)),l&&(C=T$(C,l)),C=E$(m,C,s),n&&n!=="#"&&(C=`${n}${C}`),n==="#"&&c==="x"&&(C=`0x${C}`),c==="s"&&(C=`${C}${L$(m)}`),(c==="%"||c==="p")&&(C=`${C}%`),a!=null&&!isNaN(a)&&(C=P$(C,a,i??r,o)),C=`${d}${C}${u}`,C}}var D$=/^(?:(.)?([<>=^]))?([+\-( ])?([$€£¥₣₹#])?(0)?(\d+)?(,)?(?:\.(\d+))?(~)?([%a-z])?$/i,k$=/^((?:[^#]|#[^{])*)#{([^}]+)}(.*)$/,Bh={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=>Bh.x(e).toUpperCase(),n:e=>Bh.d(e),"%":e=>`${lv(e*100).toFixed(0)}`},vn={e:(e,t)=>Math.abs(e).toExponential(t),E:(e,t)=>vn.e(e,t).toUpperCase(),f:(e,t)=>Math.abs(e).toFixed(t),F:(e,t)=>vn.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)=>vn.g(e,t).toUpperCase(),n:(e,t)=>vn.g(e,t),p:(e,t)=>vn.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=D3(e);return vn.r(e/10**i,t)},"%":(e,t)=>vn.f(e*100,t)},w3=-24,M3=24,I$={[w3]:"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",[M3]:"Y"},A$="−";function lv(e){return Math.floor(Math.abs(e))}function R$(e){return e.replace(/\.0+$/,"").replace(/(\.[1-9])0+$/,"$1")}function T$(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 L$(e){return I$[D3(e)]}function D3(e){return ze(w3,e?Math.floor(Math.log10(Math.abs(e))/3)*3:0,M3)}function E$(e,t,i=""){if(i==="(")return e>=0?t:`(${t})`;const o=i==="+"?"+":"";return`${e>=0?o:A$}${t}`}function P$(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}),ef=[Ht(Nh,bc,1),Ht(Nh,bc,5),Ht(Nh,bc,15),Ht(Nh,bc,30),Ht(Oh,po,1),Ht(Oh,po,5),Ht(Oh,po,15),Ht(Oh,po,30),Ht(Fh,es,1),Ht(Fh,es,3),Ht(Fh,es,6),Ht(Fh,es,12),Ht(SC,Tn,1),Ht(SC,Tn,2),Ht(vf,el,1),Ht(vf,el,2),Ht(vf,el,3),Ht(Kd,Ag,1),Ht(Kd,Ag,2),Ht(Kd,Ag,3),Ht(Kd,Ag,4),Ht(Kd,Ag,6),Ht(z0,up,1)],k3=[1,2,5,10];function iE(e,t){return Math.abs(Math.round(e)-e)<t}function Ik(e,t,i,o,s,n){if(i<2)return[e,t];const r=Xf(e,t,i,o,s);if(!Number.isFinite(r))return[];if(iE(e/r,1e-12)||(e=Math.ceil(e/r)*r),iE(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 Zf(l-l%r,c+c%r,r)}return Zf(e,t,r)}function I3(e,t,i,o,s,n){const r=n??Math.abs(t-e)/Math.max(i,1);let a=0;for(const h of ef){if(r<=h.duration)break;a++}if(a===0){const h=Math.max(Xf(e,t,i,o,s),1);return _B.every(h)}else if(a===ef.length){const h=Xf(e/up,t/up,i,o,s);return z0.every(h)}const l=ef[a-1],c=ef[a],{timeInterval:d,step:u}=r-l.duration<c.duration-r?l:c;return d.every(u)}function Xf(e,t,i,o=0,s=1/0){if(e===t)return ze(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 k3){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 oE(e){for(let t=e.length-1;t>=0;t-=1)if(e[t]!=="0")return t+1;return 0}function sE(e,t){const i=S3(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)+oE(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=oE(a);return Math.max(0,l-n)}))));const o=x3(i);return s=>o(Number(s))}function Zf(e,t,i){if(!Number.isFinite(i)||i<=0)return[];const o=10**P0(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?(ge.warnOnce("the configured interval results in more than 1 item per pixel, ignoring. Supply a larger interval or omit this configuration"),!0):!1}function N$(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 k3){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 A3(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=ze(a,Math.floor(s/t),r);return{minTickCount:a,maxTickCount:r,tickCount:l}}var R3=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$(o,s,e);if(ko(o)===ko(r)&&ko(s)===ko(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(ko),c=l[0],d=l[l.length-1];if(s!=null){const u=this.getPixelRange();return Ak({start:c,stop:d,interval:s,availableRange:u,visibleRange:i})??nE({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 nE({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):ck(t,e,o)}tickFormatter(e){return this._tickFormatter(e)}datumFormatter(e){return this._tickFormatter(e,1)}};function nE({start:e,stop:t,tickCount:i,minTickCount:o,maxTickCount:s,visibleRange:n}){const r=I3(e,t,i,o,s);return r?r.range(new Date(e),new Date(t),{visibleRange:n}):[]}function Ak({start:e,stop:t,interval:i,availableRange:o,visibleRange:s}){if(!i)return[];if(i instanceof dp){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=ef.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 O$(e,t,i){const{interval:o}=i,s=Math.min(ko(e),ko(t)),n=Math.max(ko(e),ko(t)),r=e>t;let a;if(o instanceof dp)a=o;else{const l=typeof o=="number"?(n-s)/Math.max(o,1):i.tickCount??ut.defaultTickCount;a=I3(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 T3 extends $m{constructor(){super(...arguments),this.type="ordinal-time",this._domain=[],this.isReversed=!1}static is(t){return t instanceof T3}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=kk(s);return n==null&&(s=O1(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=O1(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 F$(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=Ak({start:l,stop:c,interval:t,availableRange:h,visibleRange:s})??[];let g=-1;return p.filter(f=>{const y=this.findInterval(f.valueOf()),m=y===g;return g=y,!m})}getSortedTimestamps(){let{sortedTimestamps:t}=this;return t==null&&(t=this.domain.map(ko),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):ck(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 wW(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 F$(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 ui=class zd{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(Bc,i)?()=>new i:i}static select(t,i,o=!0){return new zd(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 zd.selectAll(t,o=>i.some(s=>o instanceof s))}static selectByTag(t,i){return zd.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 zd.selectAll(this.parentNode,t)}selectByClass(t){return zd.selectByClass(this.parentNode,t)}selectByTag(t){return zd.selectByTag(this.parentNode,t)}nodes(){return this._nodes}at(t){return this._nodes.at(t)}get length(){return this._nodes.length}};function bf(e,t,i,o){const s=e-i,n=t-o;return s*s+n*n}function Cf(e,t,i,o,s,n,r){if(i===s&&o===n)return Math.min(r,bf(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,bf(e,t,d,u))}function B$(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,bf(e,t,u,h),bf(e,t,p,g))}const d=s-Math.sqrt(bf(e,t,i,o));return Math.min(l,d*d)}var en=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 we(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 Cf(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]}}};en.className="Line";en.defaultStyles={...Pn.defaultStyles,fill:void 0,strokeWidth:1};I([xe()],en.prototype,"x1",2);I([xe()],en.prototype,"y1",2);I([xe()],en.prototype,"x2",2);I([xe()],en.prototype,"y2",2);var G$=new Intl.NumberFormat("en-US",{maximumFractionDigits:2,useGrouping:!1}),z$=new Intl.NumberFormat("en-US",{style:"percent"});function pl(e,t=2){return typeof e=="number"?E3(e,t):String(e??"")}function L3(e){return z$.format(e)}function E3(e,t){return t===2?G$.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 we(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:y,lineDashOffset:m,lineCap:C,lineJoin:S}=this;this.applyStroke(t),t.globalAlpha=a*f,t.lineWidth=u,y&&t.setLineDash(y),m&&(t.lineDashOffset=m),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 Hi=class extends Ge{constructor(){super(...arguments),this.enabled=!0,this.fontSize=12,this.fontFamily="Verdana, sans-serif"}getFont(){return zt.toFontString(this)}};I([T(Ae)],Hi.prototype,"enabled",2);I([T(ct,{optional:!0})],Hi.prototype,"color",2);I([T(Ml,{optional:!0})],Hi.prototype,"fontStyle",2);I([T(Dl,{optional:!0})],Hi.prototype,"fontWeight",2);I([T(me)],Hi.prototype,"fontSize",2);I([T(pe)],Hi.prototype,"fontFamily",2);I([T(os,{optional:!0})],Hi.prototype,"formatter",2);function wC(e){const{parallelFlipRotation:t=0,regularFlipRotation:i=0}=e,o=e.rotation?kt(Ti(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 V$(e,t,i,o){return e&&!t?i*o===-1?"hanging":"bottom":"middle"}function rE(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 H$(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 we(t,r,a,l),d=new we(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 W$(e){return e!=null&&Object.hasOwn(e,"toString")&&ws(e.toString())}function j$(e){return e!=null&&Object.hasOwn(e,"valueOf")&&st(e.valueOf())}function K0(e){return st(e)||Hm(e)||j$(e)}function aE(e,t){return e!=null&&(!t||K0(e))}function F1(e){return W$(e)&&Object.hasOwn(e,"id")?e.id:e}var Rk=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'"),P3=(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=aE(a,c)&&!isNaN(o.convert(a)),u=aE(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 ${mf(a)}`),u||h.push(`${d?"":"and "}range end ${mf(l)}`)):h.push(`value ${mf(a)}`),h.push("to match the axis scale domain."),ge.warnOnce(h.join(" ")),!1},$$={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}},U$={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 B1({yDirection:e,padding:t=0,position:i="top",bbox:o}){const s=e?$$:U$,{xTranslationDirection:n,yTranslationDirection:r}=s[i],a=n*(t+o.width/2),l=r*(t+o.height/2);return{xTranslation:a,yTranslation:l}}function N3({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 MC=({direction:e,xEnd:t,yStart:i,yEnd:o})=>e==="y"?{x:t/2,y:i}:{x:t,y:isNaN(o)?i:(i+o)/2},lE=({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},cE=({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},dE=({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},K$=({xEnd:e,yStart:t,yEnd:i})=>({x:e/2,y:isNaN(i)?t:(t+i)/2}),uE=({direction:e,xStart:t,xEnd:i,yStart:o})=>e==="y"?{x:t/2,y:o}:{x:i,y:o},hE=({direction:e,xStart:t,yStart:i,yEnd:o})=>e==="y"?{x:t,y:isNaN(o)?i:o}:{x:t,y:i},pE=({direction:e,xEnd:t,yStart:i,yEnd:o})=>e==="y"?{x:t,y:i}:{x:t,y:isNaN(o)?i:o},gE=({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},O3={top:{c:MC},bottom:{c:dE},left:{c:lE},right:{c:cE},"top-left":{c:uE},"top-right":{c:pE},"bottom-left":{c:hE},"bottom-right":{c:gE},inside:{c:K$},"inside-left":{c:lE},"inside-right":{c:cE},"inside-top":{c:MC},"inside-bottom":{c:dE},"inside-top-left":{c:uE},"inside-bottom-left":{c:hE},"inside-top-right":{c:pE},"inside-bottom-right":{c:gE}},Y$=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 Ge{constructor(){super(...arguments),this.fontSize=14,this.fontFamily="Verdana, sans-serif",this.padding=5,this.color="rgba(87, 87, 87, 1)"}};I([T(Ae,{optional:!0})],Bn.prototype,"enabled",2);I([T(pe,{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(me)],Bn.prototype,"fontSize",2);I([T(pe)],Bn.prototype,"fontFamily",2);I([T(et)],Bn.prototype,"padding",2);I([T(ct,{optional:!0})],Bn.prototype,"color",2);I([T(Y$,{optional:!0})],Bn.prototype,"position",2);I([T(et,{optional:!0})],Bn.prototype,"rotation",2);I([T(Ae,{optional:!0})],Bn.prototype,"parallel",2);var Rs=class extends Ge{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 Le({name:this.id}),this.lineGroup=new Le({name:this.id}),this.labelGroup=new Le({name:this.id}),this.crossLineRange=new Mr,this.crossLineLabel=new hp,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||!P3(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 y=f===void 0&&ia.is(i)?c/2+u:0;let[m,C]=[Number(i.convert(g,!0))-u+y,i.convert(f,!0)+c+u];m=A1(m,a),C=A1(C,a),[g,f]=[Number(i.convert(g))+y,i.convert(f)+c];const S=(g===m||f===C||m!==C)&&Math.abs(C-m)>0;if(S&&m>C&&([m,C]=[C,m],[g,f]=[f,g]),g-u>=m&&(g-=u),f+u<=C&&(f+=u),this.isRange=S,this.startLine=l>0&&g>=m&&g<=m+u,this.endLine=l>0&&f>=C-c-u&&f<=C,!S&&!this.startLine&&!this.endLine||(this.data=[m,C],!this.label.enabled))return;const{c:x=MC}=O3[r]??{},{x:D,y:A}=x({direction:n,xStart:h,xEnd:p,yStart:m,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}=wC({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}=B1({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 hp;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}=wC({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}=B1({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=N3({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)}};Rs.className="CrossLine";I([T(Ae,{optional:!0})],Rs.prototype,"enabled",2);I([T(Mt(["range","line"],"a crossLine type"),{optional:!0})],Rs.prototype,"type",2);I([T(ga(Rk("range"),Ym.restrict({length:2})),{optional:!0})],Rs.prototype,"range",2);I([T(Rk("value"),{optional:!0})],Rs.prototype,"value",2);I([T(ct,{optional:!0})],Rs.prototype,"fill",2);I([T(ht,{optional:!0})],Rs.prototype,"fillOpacity",2);I([T(ct,{optional:!0})],Rs.prototype,"stroke",2);I([T(et,{optional:!0})],Rs.prototype,"strokeWidth",2);I([T(ht,{optional:!0})],Rs.prototype,"strokeOpacity",2);I([T(fa,{optional:!0})],Rs.prototype,"lineDash",2);I([T(Se)],Rs.prototype,"label",2);var F3=(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))(F3||{}),X$=["stroke","lineDash"],Z$=wl(e=>qi(e)&&Object.keys(e).every(t=>X$.includes(t)),"objects with gridline style properties such as 'stroke' or 'lineDash'"),Y0=class{constructor(){this.enabled=!0,this.width=1,this.style=[{stroke:void 0,lineDash:[]}]}};I([T(Ae)],Y0.prototype,"enabled",2);I([T(me)],Y0.prototype,"width",2);I([T(Z$)],Y0.prototype,"style",2);function $c(e,t=[void 0]){return hl((i,o,s)=>t.includes(s)?ku(e)?e(s):e:s)}var B3=mt(e=>st(e)&&e>0||e instanceof dp,"a non-zero positive Number value or, for a time axis, a Time Interval such as 'agCharts.time.month'"),Ru=class extends Ge{constructor(){super(...arguments),this.minSpacing=NaN,this.maxSpacing=NaN}};I([T(B3,{optional:!0})],Ru.prototype,"step",2);I([T(Ym,{optional:!0})],Ru.prototype,"values",2);I([T(o3),$c(NaN)],Ru.prototype,"minSpacing",2);I([T(s3),$c(NaN)],Ru.prototype,"maxSpacing",2);var Wi=class extends Ge{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(Ae)],Wi.prototype,"enabled",2);I([T(Ml,{optional:!0})],Wi.prototype,"fontStyle",2);I([T(Dl,{optional:!0})],Wi.prototype,"fontWeight",2);I([T(et.restrict({min:1}))],Wi.prototype,"fontSize",2);I([T(pe)],Wi.prototype,"fontFamily",2);I([T(me)],Wi.prototype,"spacing",2);I([T(kp),$c(NaN)],Wi.prototype,"minSpacing",2);I([T(ct,{optional:!0})],Wi.prototype,"color",2);I([T(et,{optional:!0})],Wi.prototype,"rotation",2);I([T(Ae)],Wi.prototype,"avoidCollisions",2);I([T(Ae)],Wi.prototype,"mirrored",2);I([T(Ae)],Wi.prototype,"parallel",2);I([T(os,{optional:!0})],Wi.prototype,"itemStyler",2);I([T(os,{optional:!0})],Wi.prototype,"formatter",2);I([T(pe,{optional:!0})],Wi.prototype,"format",2);var X0=class{constructor(){this.enabled=!0,this.width=1,this.stroke=void 0}};I([T(Ae)],X0.prototype,"enabled",2);I([T(me)],X0.prototype,"width",2);I([T(ct,{optional:!0})],X0.prototype,"stroke",2);var Ap=class extends Ge{constructor(){super(...arguments),this.enabled=!0,this.width=1,this.size=6}};I([T(Ae)],Ap.prototype,"enabled",2);I([T(me)],Ap.prototype,"width",2);I([T(me)],Ap.prototype,"size",2);I([T(ct,{optional:!0})],Ap.prototype,"stroke",2);var Dr=class extends Ge{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(Ae)],Dr.prototype,"enabled",2);I([T(pe,{optional:!0})],Dr.prototype,"text",2);I([T(me,{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(me)],Dr.prototype,"fontSize",2);I([T(pe)],Dr.prototype,"fontFamily",2);I([T(ct,{optional:!0})],Dr.prototype,"color",2);I([T(W0)],Dr.prototype,"wrapping",2);I([T(os,{optional:!0})],Dr.prototype,"formatter",2);var G3=(e=>(e[e.TickAndDomain=0]="TickAndDomain",e[e.TicksOnly=1]="TicksOnly",e[e.Off=2]="Off",e))(G3||{});function DC(e){const[t,i]=Qi(e.range),o=Math.floor(t),s=Math.ceil(i);return{min:o,max:s,visible:o!==s}}var G1=Math.PI*2,q$=G1/2;function Q$(e,t){return Math.abs(t-e)<q$?t:e>t?t+G1:t-G1}function z3(e){const t=(r,a)=>{const[l=e.min,c=e.max]=Qi(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=Q$(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 Tk(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 Lk(){return(e,t)=>({x:t.x,y:t.y,translationY:t.translationY,rotation:t.rotation,rotationCenterX:t.rotationCenterX})}function V3(){return(e,t)=>({...t})}var kC=class extends Au(en){},H3=(e=>(e[e.TickLines=0]="TickLines",e[e.AxisLine=1]="AxisLine",e[e.TickLabels=2]="TickLabels",e))(H3||{}),Il=class W3{constructor(t,i){this.moduleCtx=t,this.scale=i,this.id=Fn(this),this.nice=!0,this.reverse=!1,this.keys=[],this.interval=new Ru,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 Lg({name:`${this.id}-axis`}),this.tickLineGroup=this.axisGroup.appendChild(new Le({name:`${this.id}-Axis-tick-lines`,zIndex:0})),this.tickLabelGroup=this.axisGroup.appendChild(new Le({name:`${this.id}-Axis-tick-labels`,zIndex:2})),this.labelGroup=new Le({name:`${this.id}-Labels`,zIndex:9}),this.gridGroup=new Lg({name:`${this.id}-Axis-grid`,zIndex:1}),this.gridLineGroup=this.gridGroup.appendChild(new Le({name:`${this.id}-gridLines`})),this.crossLineRangeGroup=new Lg({name:`${this.id}-CrossLines-Range`,zIndex:4}),this.crossLineLineGroup=new Lg({name:`${this.id}-CrossLines-Line`,zIndex:8}),this.crossLineLabelGroup=new Lg({name:`${this.id}-CrossLines-Label`,zIndex:13}),this.tickLineGroupSelection=ui.select(this.tickLineGroup,kC,!1),this.tickLabelGroupSelection=ui.select(this.tickLabelGroup,hp,!1),this.gridLineGroupSelection=ui.select(this.gridLineGroup,kC,!1),this._crossLines=[],this.line=new X0,this.tick=new Ap,this.gridLine=new Y0,this.label=this.createLabel(),this.defaultTickMinSpacing=W3.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 Dk,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]=Qi(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 Wi}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]=Qi(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=m=>m.defaultValue}=o,y=g.call(f,this.getTitleFormatterParams());t.text=y,s.setProperties({visible:!0,text:y,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=cp(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 y=o.format;this.labelFormatter=i.tickFormatter({domain:p,specifier:y,ticks:h,fractionDigits:g})??(A=>this.defaultLabelFormatter(A,g)),this.datumFormatter=i.datumFormatter({domain:p,specifier:y,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 m=o.getSideFlag(),C=this.isAnySeriesActive(),{rotation:S,parallelFlipRotation:x,regularFlipRotation:D}=this.calculateRotations();return this.crossLines.forEach(A=>{var k;A.sideFlag=-m,A.direction=S===-Math.PI/2?"x":"y",A instanceof Rs&&((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=Ti(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:Ti(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{ge.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 we(t,i,o,s))}clipGrid(t,i,o,s){this.gridGroup.setClipRect(new we(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=Rs;I([T(Ae)],Il.prototype,"nice",2);I([T(Ae)],Il.prototype,"reverse",2);I([T(e3)],Il.prototype,"keys",2);I([T(Se)],Il.prototype,"interval",2);I([T(Se)],Il.prototype,"title",2);I([jc((e,t,i)=>e.onGridLengthChange(t,i))],Il.prototype,"gridLength",2);var Ek=Il;function J$(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 j3(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 eU(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 tU(e){return e!=null&&typeof e.point=="object"&&typeof e.label=="object"}var iU={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 oU(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:y,width:m,height:C}=g,S=p.size*.5;let x=0,D=0;if(S>0&&h.placement!=null){const P=iU[h.placement];x=(m*.5+S+i)*P.x,D=(C*.5+S+i)*P.y}const A=p.x-m*.5+x-((f?.x??.5)-.5)*p.size,k=p.y-C*.5+D-((f?.y??.5)-.5)*p.size;if(!(!t||eU(t,A,k,m,C))||r.some(P=>J$(P.point,P.anchor,A,k,m,C))||s.some(P=>j3(P,A,k,m,C)))continue;const L={index:d,text:y,x:A,y:k,width:m,height:C,datum:h};c.push(L),s.push(L)}o.set(a,c)}}return o}function sU(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=>j3(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 nU(e,t,i){let[o,s]=Qi(e);o=rU(Math.floor(o),s,t);const n=lU(o,s,t),r=t-1;s=o+r*n;const a=i?[s,o]:[o,s],l=aU(o,n,t);return{domain:a,ticks:l}}function rU(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 aU(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 lU(e,t,i){const o=i-1,s=(t-e)/o;return cU(s)}function cU(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 Pk(){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 $3=class{constructor(t){this.axis=t}estimateTickCount(t,i,o){return A3(cp(this.axis.range),cp(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:y,fontStyle:m,fontWeight:C}=d,S=i!==void 0,{defaultRotation:x,configuredRotation:D,parallelFlipFlag:A,regularFlipFlag:k}=wC({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=rE(p,D,0,l,k);const O=V$(p,D,l,A),F=zt.toFontString({fontFamily:f,fontSize:y,fontStyle:m,fontWeight:C}),G=kl.getMeasurer({font:F}),_={fontFamily:f,fontSize:y,fontStyle:m,fontWeight:C,textBaseline:O,textAlign:N},V=d.enabled&&d.avoidCollisions,z=({ticks:X},J)=>{if(!V)return!1;const se=D!==0||J!==0,Y=w+J,ie=_$(d.minSpacing,se);vr.updateTransformMatrix(M,1,1,Y,0,0);const Z=H$(X,a,M,G);return sU(Z,ie)};let H={tickDomain:[],ticks:[],rawTicks:[],fractionDigits:0,niceDomain:void 0},B=0,j=0,$=!0,U=!1;for(;!U&&$&&B<=P;){j=0;for(const X of this.getTickStrategies({domain:t,niceMode:s,secondaryAxis:S,index:B}))({tickData:H,index:B,autoRotation:j,terminate:U}=X({index:B,tickData:H,textProps:_,terminate:U,primaryTickCount:i,visibleRange:o,get labelOverlap(){return z(H,j)}}));$=z(H,j)}N=rE(p,D,j,l,k);const ee=x+D+j;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:y,tickData:m,primaryTickCount:C,visibleRange:S,terminate:x})=>this.createTickData(t,i,S,C,g,y,m,x);if(p.push(f),!c&&!isNaN(l)){const y=({index:m,tickData:C,primaryTickCount:S,visibleRange:x,terminate:D})=>this.createTickData(t,i,x,S,2,m,C,D);p.push(y)}if(d&&h){const y=({index:m,tickData:C,labelOverlap:S,terminate:x})=>({index:m,tickData:C,autoRotation:S?kt(Ti(r.autoRotateAngle??0)):0,terminate:x});p.push(y)}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:y,tickCount:m}=this.estimateTickCount(o,p,g),C=ut.is(c)||ia.is(c),S=!C||isNaN(f)?10:f,x=A=>C?Math.max(m-A,y):f,D=u==null&&h==null&&x(r)>y&&(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:y,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=Pk(),y={nice:i===0,interval:g.step,tickCount:r,minTickCount:a,maxTickCount:l},m={...y,nice:i===0||i===1};let C=i===0?p.niceDomain(y,t):t,S=C,x;switch(s){case 3:if(S=g.values,x=g.values,ut.is(p)){const[L,P]=Qi(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=nU(t.map(Number),c??0,d.reverse);x=L.ticks,C=L.domain.map(P=>p.toDomain(P))}else x=p.ticks(m,C,o)??[];break;case 2:x=this.filterTicks(n,r);break;default:x=p.ticks(m,C,o)??[]}const D=x.reduce((L,P)=>Math.max(L,typeof P=="number"?P0(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}}},Nk=class extends Wi{constructor(){super(...arguments),this.autoRotateAngle=335}};I([T(Ae,{optional:!0})],Nk.prototype,"autoRotate",2);I([T(et)],Nk.prototype,"autoRotateAngle",2);var Ok=class U3 extends Ek{constructor(t,i){super(t,i),this.lineNode=this.axisGroup.appendChild(new kC({name:`${this.id}-Axis-line`,zIndex:1})),this.tempText=new hp,this.tempCaption=new St,this.tickGenerator=new $3(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 U3}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 Nk}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:y=t}=d,m=h.map(S=>this.getTickLabelProps(S,c)),C=this.tickBBox(h,m);return this.generatedTicks={ticks:h,labels:m},{ticks:g,tickDomain:p,niceDomain:y,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=MW(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 we(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 we(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=we.merge(s).width;this.setTitleProps(this.tempCaption,{spacing:u});const h=this.tempCaption.node.getBBox();h&&s.push(h)}const d=we.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=Le.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=DC(this),s=z3(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=DC(this);Xi([this.axisGroup],_3()),Xi([this.gridLineGroupSelection,this.tickLineGroupSelection],Tk(t)),Xi([this.tickLabelGroupSelection],Lk()),Xi([this.lineNode],V3())}};I([T(me,{optional:!0})],Ok.prototype,"thickness",2);I([T(pk)],Ok.prototype,"position",2);var Jm=Ok,Rp=class K3 extends Jm{constructor(t,i=new Um){super(t,i),this.groupPaddingInner=.1,this.includeInvisibleDomains=!0}static is(t){return t instanceof K3}normaliseDataDomain(t){return{domain:t,clipped:!1}}updateScale(){super.updateScale();let{paddingInner:t,paddingOuter:i}=this;if(!st(t)||!st(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})}};Rp.className="CategoryAxis";Rp.type="category";I([T(ht)],Rp.prototype,"groupPaddingInner",2);I([T(ht,{optional:!0})],Rp.prototype,"paddingInner",2);I([T(ht,{optional:!0})],Rp.prototype,"paddingOuter",2);var Tp=Rp,Z0=class{constructor(){this.destroyFns=[]}destroy(){for(const t of this.destroyFns)t()}},dU=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 dU,fE=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 uU(){return new Promise(e=>{setTimeout(e,0)})}function IC(e,t){e&&(t=R0.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 Y3(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 hU(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 pU=0;function gU(e){return`${e??"ag-charts-element"}-${pU++}`}function X3(){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 z1="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(Eo(t)){if(!Eo(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 Z3(e,t){for(const i of Object.keys(e))if(e[i]!==t?.[i])return!1;return!0}function Ai(e,t){return Rt(e)?e.map(i=>Ai(i,t)):Eo(e)?fU(e,t):e instanceof Map?new Map(Ai(Array.from(e))):Fk(e)}function fU(e,t){const i={};for(const o of Object.keys(e))i[o]=t?.has(o)?Fk(e[o]):Ai(e[o],t);return i}function Fk(e){return Rt(e)?e.slice(0):Eo(e)?{...e}:Mp(e)?new Date(e):AW(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(Eo(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 Sf(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=pw(e);for(const l of Object.keys(t)){if(rk.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=pw(p),f=pw(d);if(a===z1&&!(l in e)){if(d===void 0)continue;ge.warn(`unable to set [${u}] in ${h?.name} - property is unknown`);continue}if(g!=null&&f!=null&&f!==g&&(g!==z1||f!=="object")){ge.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){ge.warn(`unable to set [${u}] in ${h?.name} - property is unknown`);continue}Sf(p,d,{...i,path:u,matcherPath:c})}else r[l]=d}catch(g){ge.warn(`unable to set [${u}] in [${h?.name}]; nested error is: ${g.message}`)}}return e}function pw(e){return e==null?null:RW(e)||Mp(e)?"primitive":Rt(e)?"array":qi(e)?Eo(e)?"object":z1:ku(e)?"function":"primitive"}function q3(e,t,i){return _1(e,t,e,i)}function _1(e,t,i,o,s=[],n={}){if(Rt(e)){mE(e,t,i,s,n);let r=0;for(const a of e)_1(a,t,i,o,[...s,`${r}`],n),r++}else if(Eo(e)){mE(e,t,i,s,n);for(const r of Object.keys(e)){if(o?.has(r))continue;const a=e[r];_1(a,t,i,o,[...s,r],n)}}return n}function mE(e,t,i,o,s){if(Rt(e))for(let n=0;n<e.length;n++)e[n]=yE(e[n],t,i,[...o,`${n}`],s);else for(const[n,r]of Object.entries(e))e[n]=yE(r,t,i,[...o,n],s)}function yE(e,t,i,o,s){const{operation:n,values:r}=Bk(e);return n?(s[o.join(".")]=e,J3(n,r,t,i,o,new Set)):e}var Q3=(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))(Q3||{}),mU=new Set(Object.values(Q3));function Bk(e){if(!Eo(e))return{};const[t,...i]=Object.keys(e);return i.length!==0||!mU.has(t)?{}:{operation:t,values:e[t]}}function J3(e,t,i,o,s,n){return Rt(t)&&(t=t.map(r=>{const{operation:a,values:l}=Bk(r);return a?J3(a,l,i,o,s,n):r})),e5[e](t,i,o,s,n)}function cv(e){return Mn(e)&&e>=0&&e<=1}var e5={$ref:(e,t,i,o,s)=>{if(ws(e)&&e in t){const{operation:n,values:r}=Bk(t[e]);if(n!=="$ref")return t[e];if(s?.has(r)){ge.warnOnce(`\`$ref\` json operation failed on [${String(e)}] at [${o.join(".")}], circular reference detected with [${[...s].join(", ")}].`);return}return s?.add(r),e5.$ref(r,t,i,o,s)}ge.warnOnce(`\`$ref\` json operation failed on [${String(e)}] at [${o.join(".")}], expecting one of [${Object.keys(t).join(", ")}].`)},$path:(e,t,i,o)=>{if(!ws(e)){ge.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)){ge.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;ge.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);ge.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{}ge.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();ge.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();ge.warnOnce(`\`$foregroundBackgroundAccentMix\` json operation failed on [${String(e)}, ${String(t)}}] at [${s.join(".")}], expecting two numbers between 0 and 1.`)}},yU=class{constructor(){this.available=!0,this.acquireQueue=[]}acquire(e){return new Promise(t=>{this.acquireQueue.push([e,t]),this.available&&this.dispatchNext().catch(i=>ge.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){ge.error("mutex callback error",i),t?.()}[e,t]=this.acquireQueue.shift()??[]}this.available=!0}},t5=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))}},Uc=class extends Ge{constructor(t=0,i=t,o=t,s=i){super(),this.top=t,this.right=i,this.bottom=o,this.left=s}};I([T(me)],Uc.prototype,"top",2);I([T(me)],Uc.prototype,"right",2);I([T(me)],Uc.prototype,"bottom",2);I([T(me)],Uc.prototype,"left",2);function vU(e){return i5((t,i)=>At().requestAnimationFrame(t),e)}function bU(e){return i5((t,i=0)=>{i===0?queueMicrotask(t):setTimeout(t,i)},e)}function i5(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 md(e){return e==="true"}function CU(e){return Number(e)}function Yn(e){return e}var SU={role:Yn,"aria-checked":md,"aria-controls":Yn,"aria-describedby":Yn,"aria-disabled":md,"aria-expanded":md,"aria-haspopup":md,"aria-hidden":md,"aria-label":Yn,"aria-labelledby":Yn,"aria-live":Yn,"aria-orientation":Yn,"aria-selected":md,"data-preventdefault":md,class:Yn,id:Yn,tabindex:CU,title:Yn,placeholder:Yn};function vt(e,t,i){i==null||i===""||i===""?e?.removeAttribute(t):e?.setAttribute(t,i.toString())}function mu(e,t){if(t!=null)for(const[i,o]of Object.entries(t))i!=="class"&&vt(e,i,o)}function Q0(e,t,i){if(!(e instanceof HTMLElement))return;const o=e.getAttribute(t);return o===null?i:SU[t]?.(o)??void 0}function ur(e,t,i){e!=null&&(i==null?e.style.removeProperty(t):e.style.setProperty(t,i.toString()))}function xU(e,t){for(const[i,o]of Object.entries(t))ur(e,i,o)}var Gk=["blur","change","contextmenu","focus","keydown","keyup","click","dblclick","mouseenter","mousemove","mouseleave","wheel","touchstart","touchmove","touchend","touchcancel"];function lh(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 wU={blur:e=>({type:"blur",sourceEvent:e}),change:e=>({type:"change",sourceEvent:e}),contextmenu:(e,t)=>lh("contextmenu",e,t),focus:e=>({type:"focus",sourceEvent:e}),keydown:e=>({type:"keydown",sourceEvent:e}),keyup:e=>({type:"keyup",sourceEvent:e}),click:(e,t)=>lh("click",e,t),dblclick:(e,t)=>lh("dblclick",e,t),mouseenter:(e,t)=>lh("mouseenter",e,t),mousemove:(e,t)=>lh("mousemove",e,t),mouseleave:(e,t)=>lh("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 wU[e](t,i)}static isHTMLEvent(e){return Gk.includes(e)}static calcCurrentXY(e,t){const i=e.getBoundingClientRect();return{currentX:t.clientX-i.x,currentY:t.clientY-i.y}}},MU=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}},DU=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 kU(e,t,i,o){if(e.globalMouseDragCallbacks==null)return new DU(e,t,i,o)}var IU=500,AU=100;function RU(e,t){const i=e.clientX-t.clientX,o=e.clientY-t.clientY;return i*i+o*o}var V1=!1,TU=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})),V1=!0;const c=g=>{g.preventDefault()},d=g=>{V1=!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||RU(d,u)>AU,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,IU);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 LU(e,t,i,o,s){if(!(e.globalTouchDragCallbacks!=null||V1))return new TU(e,t,i,o,s)}function gw(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 EU(e,{pageX:t,pageY:i}){const{x:o,y:s}=e.getElement().getBoundingClientRect();return{offsetX:t-o,offsetY:i-s}}function fw(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 vE={},bE=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};T1(["pageX","pageY","offsetX","offsetY"],i,t);const o={mousedown:s=>{const n=gw(e,"drag-start",i,s);this.dispatch("drag-start",e,n)},mousemove:s=>{const n=gw(e,"drag-move",i,s);this.dispatch("drag-move",e,n)},mouseup:s=>{const n=gw(e,"drag-end",i,s);this.dispatch("drag-end",e,n),this.endDrag(e,n)}};this.mouseDragger=kU(vE,this,o,t)}endDrag(e,{sourceEvent:t,clientX:i,clientY:o}){const s=e.getElement(),n=s.getBoundingClientRect();R0.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,...EU(e,i)};T1(["pageX","pageY"],o,i);const s={touchmove:(a,l)=>{const c=fw(e,"drag-move",o,a,l);this.dispatch("drag-move",e,c)},touchend:(a,l)=>{const c=fw(e,"drag-end",o,a,l);this.dispatch("drag-end",e,c)}},n=e.getElement();this.touchDragger=LU(vE,this,s,i,n);const r=fw(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)}},PU=class{constructor(e){this.elem=e}setBounds(e){IC(this.elemContainer??this.elem,e)}getBounds(){return Y3(this.elemContainer??this.elem)}static setElementContainer(e,t){const i=e.getBounds();IC(t,i),xU(e.elem,{width:"100%",height:"100%"}),e.elem.remove(),e.elemContainer=t,e.elemContainer.replaceChildren(e.elem)}},ma=class extends PU{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 Q0(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 MU),this.htmlListener.add(e,this,t)):(this.internalListener??(this.internalListener=new bE(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 bE(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)}},zk=(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))(zk||{}),o5=class{constructor(){this.events=new tk,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 NU(e,t);for(const o of Object.values(zk))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})}},NU=class{constructor(e,t){this.width=e,this.height=t,this.layoutBox=new we(0,0,e,t)}},J0=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)],J0.prototype,"title",2);I([T(Se)],J0.prototype,"subtitle",2);I([T(Se)],J0.prototype,"footnote",2);var OU=["candlestick","hollow-candlestick","ohlc","line","step-line","hlc","high-low"],FU=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||OU.includes(e)}restoreMemento(e,t,i){if(i==null)return;const o={chartType:i};this.chartService.publicApi?.updateDelta(o).catch(s=>ge.error("error restoring state",s))}},s5=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)}},AC="11.1.0",CE=Symbol("previous-memento-not-found"),BU=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 s5,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===CE)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):CE}restoreMemento(e,t){this.originators.get(e)?.restoreMemento(AC,AC,t)}debugEvent(...e){this.debug(...e,this.history.map((t,i)=>i===this.historyIndex?`** ${t.label} **`:t.label))}},n5=class H1{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"){ge.warnOnce(`Could not restore data of type [${typeof t}], expecting an object, ignoring.`);return}if(t==null){ge.warnOnce("Could not restore data of type [null], expecting an object, ignoring.");return}if(!("version"in t)||typeof t.version!="string"){ge.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
- `)},oPe={},sPe={},oW={name:"base",css:iPe,style:H2e,classes:oPe,inlineStyles:sPe,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(U4||(U4=Pb(["",""])),t));return ii(s)?Y2e(Hf(s),M1({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 Vs.transformCSS(i.name||t.name,"".concat(s).concat(Eb(K4||(K4=Pb(["",""])),o)))})},getCommonTheme:function(t){return Vs.getCommon(this.name,t)},getComponentTheme:function(t){return Vs.getComponent(this.name,t)},getDirectiveTheme:function(t){return Vs.getDirective(this.name,t)},getPresetTheme:function(t,i,o){return Vs.getCustomPreset(this.name,t,i,o)},getLayerOrderThemeCSS:function(){return Vs.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:gu})||"",s=Hf(Eb(Y4||(Y4=Pb(["","",""])),o,t)),n=Object.entries(i).reduce(function(r,a){var l=Z4(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 Vs.getCommonStyleSheet(this.name,t,i)},getThemeStyleSheet:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[Vs.getStyleSheet(this.name,t,i)];if(this.style){var s=this.name==="base"?"global-style":"".concat(this.name,"-style"),n=Eb(X4||(X4=Pb(["",""])),Tc(this.style,{dt:gu})),r=Hf(Vs.transformCSS(s,n)),a=Object.entries(i).reduce(function(l,c){var d=Z4(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 M1(M1({},this),{},{css:void 0,style:void 0},t)}};oW.extend({name:"common"});var uC={exports:{}},nPe=uC.exports,J4;function rPe(){return J4||(J4=1,function(e,t){(function(i,o){e.exports=o()})(nPe,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",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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"],G=O%100;return"["+O+(F[(G-20)%10]||F[G]||F[0])+"]"}},S=function(O,F,G){var _=String(O);return!_||_.length>=F?O:""+Array(F+1-_.length).join(G)+O},x={s:S,z:function(O){var F=-O.utcOffset(),G=Math.abs(F),_=Math.floor(G/60),V=G%60;return(F<=0?"+":"-")+S(_,2,"0")+":"+S(V,2,"0")},m:function O(F,G){if(F.date()<G.date())return-O(G,F);var _=12*(G.year()-F.year())+(G.month()-F.month()),V=F.clone().add(_,u),z=G-V<0,H=F.clone().add(_+(z?-1:1),u);return+(-(_+(G-V)/(z?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,G,_){var V;if(!F)return D;if(typeof F=="string"){var z=F.toLowerCase();A[z]&&(V=z),G&&(A[z]=G,V=z);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 G=typeof F=="object"?F:{};return G.date=O,G.args=arguments,new P(G)},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(G){this.$L=M(G.locale,null,!0),this.parse(G),this.$x=this.$x||G.x||{},this[k]=!0}var F=O.prototype;return F.parse=function(G){this.$d=function(_){var V=_.date,z=_.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(y);if(H){var B=H[2]-1||0,j=(H[7]||"0").substring(0,3);return z?new Date(Date.UTC(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,j)):new Date(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,j)}}return new Date(V)}(G),this.init()},F.init=function(){var G=this.$d;this.$y=G.getFullYear(),this.$M=G.getMonth(),this.$D=G.getDate(),this.$W=G.getDay(),this.$H=G.getHours(),this.$m=G.getMinutes(),this.$s=G.getSeconds(),this.$ms=G.getMilliseconds()},F.$utils=function(){return L},F.isValid=function(){return this.$d.toString()!==f},F.isSame=function(G,_){var V=R(G);return this.startOf(_)<=V&&V<=this.endOf(_)},F.isAfter=function(G,_){return R(G)<this.startOf(_)},F.isBefore=function(G,_){return this.endOf(_)<R(G)},F.$g=function(G,_,V){return L.u(G)?this[_]:this.set(V,G)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(G,_){var V=this,z=!!L.u(_)||_,H=L.p(G),B=function(Y,ie){var Z=L.w(V.$u?Date.UTC(V.$y,ie,Y):new Date(V.$y,ie,Y),V);return z?Z:Z.endOf(c)},j=function(Y,ie){return L.w(V.toDate()[Y].apply(V.toDate("s"),(z?[0,0,0,0]:[23,59,59,999]).slice(ie)),V)},$=this.$W,U=this.$M,ee=this.$D,X="set"+(this.$u?"UTC":"");switch(H){case p:return z?B(1,0):B(31,11);case u:return z?B(1,U):B(0,U+1);case d:var J=this.$locale().weekStart||0,se=($<J?$+7:$)-J;return B(z?ee-se:ee+(6-se),U);case c:case g:return j(X+"Hours",0);case l:return j(X+"Minutes",1);case a:return j(X+"Seconds",2);case r:return j(X+"Milliseconds",3);default:return this.clone()}},F.endOf=function(G){return this.startOf(G,!1)},F.$set=function(G,_){var V,z=L.p(G),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)[z],j=z===c?this.$D+(_-this.$W):_;if(z===u||z===p){var $=this.clone().set(g,1);$.$d[B](j),$.init(),this.$d=$.set(g,Math.min(this.$D,$.daysInMonth())).$d}else B&&this.$d[B](j);return this.init(),this},F.set=function(G,_){return this.clone().$set(G,_)},F.get=function(G){return this[L.p(G)]()},F.add=function(G,_){var V,z=this;G=Number(G);var H=L.p(_),B=function(U){var ee=R(z);return L.w(ee.date(ee.date()+Math.round(U*G)),z)};if(H===u)return this.set(u,this.$M+G);if(H===p)return this.set(p,this.$y+G);if(H===c)return B(1);if(H===d)return B(7);var j=(V={},V[a]=o,V[l]=s,V[r]=i,V)[H]||1,$=this.$d.getTime()+G*j;return L.w($,this)},F.subtract=function(G,_){return this.add(-1*G,_)},F.format=function(G){var _=this,V=this.$locale();if(!this.isValid())return V.invalidDate||f;var z=G||"YYYY-MM-DDTHH:mm:ssZ",H=L.z(this),B=this.$H,j=this.$m,$=this.$M,U=V.weekdays,ee=V.months,X=V.meridiem,J=function(ie,Z,ne,le){return ie&&(ie[Z]||ie(_,z))||ne[Z].slice(0,le)},se=function(ie){return L.s(B%12||12,ie,"0")},Y=X||function(ie,Z,ne){var le=ie<12?"AM":"PM";return ne?le.toLowerCase():le};return z.replace(m,function(ie,Z){return Z||function(ne){switch(ne){case"YY":return String(_.$y).slice(-2);case"YYYY":return L.s(_.$y,4,"0");case"M":return $+1;case"MM":return L.s($+1,2,"0");case"MMM":return J(V.monthsShort,$,ee,3);case"MMMM":return J(ee,$);case"D":return _.$D;case"DD":return L.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return J(V.weekdaysMin,_.$W,U,2);case"ddd":return J(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 Y(B,j,!0);case"A":return Y(B,j,!1);case"m":return String(j);case"mm":return L.s(j,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(G,_,V){var z,H=this,B=L.p(_),j=R(G),$=(j.utcOffset()-this.utcOffset())*o,U=this-j,ee=function(){return L.m(H,j)};switch(B){case p:z=ee()/12;break;case u:z=ee();break;case h:z=ee()/3;break;case d:z=(U-$)/6048e5;break;case c:z=(U-$)/864e5;break;case l:z=U/s;break;case a:z=U/o;break;case r:z=U/i;break;default:z=U}return V?z:L.a(z)},F.daysInMonth=function(){return this.endOf(u).$D},F.$locale=function(){return A[this.$L]},F.locale=function(G,_){if(!G)return this.$L;var V=this.clone(),z=M(G,_,!0);return z&&(V.$L=z),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})}(uC)),uC.exports}var aPe=rPe();const OL=ev(aPe);var hC={exports:{}},lPe=hC.exports,eB;function cPe(){return eB||(eB=1,function(e,t){(function(i,o){e.exports=o()})(lPe,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 y={date:f,utc:!0,args:arguments};return new r(y)},l.utc=function(f){var y=a(this.toDate(),{locale:this.$L,utc:!0});return f?y.add(this.utcOffset(),i):y},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,y){var m=this.$utils().u;if(m(f))return this.$u?0:m(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(y)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 y=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,y)},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,y,m){if(f&&this.$u===f.$u)return g.call(this,f,y,m);var C=this.local(),S=a(f).local();return g.call(C,S,y,m)}}})}(hC)),hC.exports}var dPe=cPe();const uPe=ev(dPe);var pC={exports:{}},hPe=pC.exports,tB;function pPe(){return tB||(tB=1,function(e,t){(function(i,o){e.exports=o()})(hPe,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),y=function(m,C){C===void 0&&(C={});var S=C.timeZoneName||"short",x=m+"|"+S,D=o[x];return D||(D=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:m,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 y.formatToParts(f)},c=function(h,p){for(var g=l(h,p),f=[],y=0;y<g.length;y+=1){var m=g[y],C=m.type,S=m.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(),y=this.toDate(),m=y.toLocaleString("en-US",{timeZone:h}),C=Math.round((y-new Date(m))/1e3/60),S=15*-Math.round(y.getTimezoneOffset()/15)-C;if(!Number(S))g=this.utcOffset(0,p);else if(g=r(m,{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,y=g||p||a,m=c(+r(),y);if(typeof h!="string")return r(h).tz(y);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(),m,y),S=C[0],x=C[1],D=r(S).utcOffset(x);return D.$x.$timezone=y,D},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(h){a=h}}})}(pC)),pC.exports}var gPe=pPe();const fPe=ev(gPe);var gC={exports:{}},mPe=gC.exports,iB;function yPe(){return iB||(iB=1,function(e,t){(function(i,o){e.exports=o()})(mPe,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)}}})}(gC)),gC.exports}var vPe=yPe();const bPe=ev(vPe);OL.extend(bPe);OL.extend(uPe);OL.extend(fPe);const CPe=["src"],SPe=v.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)=>(v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(t[i.size]),"data-testid":"pv-avatar"},[i.initials?(v.openBlock(),v.createElementBlock(v.Fragment,{key:0},[v.createTextVNode(v.toDisplayString(i.initials),1)],64)):i.image?(v.openBlock(),v.createElementBlock("img",{key:1,src:i.image},null,8,CPe)):v.createCommentVNode("",!0)],2))}}),xPe=["title"],wPe={key:3,class:"pv-text-subdued pv-text-body-md"},Nb=v.defineComponent({__name:"PvMenuItem",props:{text:{},secondaryText:{},icon:{},companyName:{},avatar:{}},emits:["handle-selected"],setup(e){return(t,i)=>(v.openBlock(),v.createElementBlock("a",{class:"pv-flex","data-testid":"pv-menu-item",style:{cursor:"pointer"},role:"button",onClick:i[0]||(i[0]=o=>t.$emit("handle-selected"))},[t.avatar?(v.openBlock(),v.createBlock(SPe,{key:0,initials:t.avatar.initials,image:t.avatar.image,size:"lg"},null,8,["initials","image"])):v.createCommentVNode("",!0),t.icon?(v.openBlock(),v.createBlock(Li,{key:1,name:t.icon},null,8,["name"])):v.createCommentVNode("",!0),t.companyName?(v.openBlock(),v.createBlock(K7,{key:2,name:t.companyName,size:"sm"},null,8,["name"])):v.createCommentVNode("",!0),v.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},v.toDisplayString(t.text),9,xPe),t.secondaryText?(v.openBlock(),v.createElementBlock("span",wPe,v.toDisplayString(t.secondaryText),1)):v.createCommentVNode("",!0)]))}}),MPe=v.defineComponent({__name:"PvMenu",props:{teleportLocation:{},open:{type:Boolean},popoverPositionStyle:{},cssCustomListProperties:{},useTeleport:{type:Boolean,default:!1}},setup(e,{expose:t}){const i=v.ref(null);return t({popoverRef:i}),(o,s)=>(v.openBlock(),v.createBlock(v.Teleport,{to:o.teleportLocation,disabled:!o.useTeleport},[v.createVNode(H7,{ref_key:"popoverRef",ref:i,class:v.normalizeClass({"pv-hide":!o.open}),"css-custom-list-properties":o.cssCustomListProperties,"css-custom-properties":{width:"auto",maxWidth:"260px",...o.popoverPositionStyle},isList:!0},{default:v.withCtx(()=>[v.renderSlot(o.$slots,"default")]),_:3},8,["class","css-custom-list-properties","css-custom-properties"])],8,["to","disabled"]))}}),DPe=["disabled"],kPe={key:0,"data-testid":"pv-select-prefix-label",class:"pv-border-right",style:{color:"#89989b","padding-right":"4px"}},IPe=v.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=v.ref(null);return t({triggerRef:o}),(s,n)=>(v.openBlock(),v.createElementBlock("button",{ref_key:"triggerRef",ref:o,"data-testid":"pv-multi-select-button-trigger",class:v.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?(v.openBlock(),v.createElementBlock("p",kPe,v.toDisplayString(s.prefixLabel),1)):v.createCommentVNode("",!0),s.counterPosition==="left"?(v.openBlock(),v.createBlock(Gm,{key:1,"data-testid":"pv-multi-select-left-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):v.createCommentVNode("",!0),s.icon?(v.openBlock(),v.createBlock(Li,{key:2,"data-testid":"pv-multi-select-button-icon",name:s.icon},null,8,["name"])):v.createCommentVNode("",!0),s.companyLogo?(v.openBlock(),v.createBlock(K7,{key:3,name:s.companyLogo,size:"sm"},null,8,["name"])):v.createCommentVNode("",!0),v.createElementVNode("span",null,v.toDisplayString(s.isLoading?"Loading...":s.label),1),s.counterPosition==="right"?(v.openBlock(),v.createBlock(Gm,{key:4,"data-testid":"pv-multi-select-right-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):v.createCommentVNode("",!0),s.showDropdown?(v.openBlock(),v.createBlock(Li,{key:5,name:s.open?"chevron-up":"chevron-down"},null,8,["name"])):v.createCommentVNode("",!0),s.showClear?(v.openBlock(),v.createBlock(Li,{key:6,name:"close",onClick:n[0]||(n[0]=v.withModifiers(r=>s.$emit("handle-clear"),["stop"]))})):v.createCommentVNode("",!0)],10,DPe))}}),APe=({alignment:e,useTeleport:t=!0,popoverCssProperties:i}={})=>{const o=v.ref(null),s=v.ref(null),n=v.ref(null),r=v.ref(null),a=v.computed(()=>!o.value||!s.value?0:e==="right"||e==="top right"?o.value.left+o.value.width-s.value.width:o.value.left),l=v.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=v.computed(()=>t?{...{position:"absolute",left:`${a.value}px`,top:`${l.value}px`,zIndex:10},...i}:i);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())}}},RPe={"data-testid":"pv-menu-radio-item",class:"pv-label pv-label-hover pv-flex",style:{cursor:"pointer"}},TPe=["checked"],LPe=["title"],EPe={key:0,class:"pv-text-subdued pv-text-body-md"},PPe=v.defineComponent({__name:"PvMenuRadioItem",props:{text:{},secondaryText:{},value:{type:Boolean}},emits:["handle-selected"],setup(e){return(t,i)=>(v.openBlock(),v.createElementBlock("label",RPe,[v.createElementVNode("input",{type:"radio",name:"radio",checked:t.value,class:"pv-radio",onChange:i[0]||(i[0]=o=>t.$emit("handle-selected"))},null,40,TPe),v.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},v.toDisplayString(t.text),9,LPe),t.secondaryText?(v.openBlock(),v.createElementBlock("span",EPe,v.toDisplayString(t.secondaryText),1)):v.createCommentVNode("",!0)]))}}),NPe={class:"pv-relative",style:{width:"fit-content"}},OPe=["data-active"],FPe={key:2,class:"pv-text-subdued pv-text-center"},JD=v.defineComponent({__name:"PvSelectButton",props:v.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:v.mergeModels(["dropdown-open","dropdown-closed"],["update:modelValue","update:searchInput"]),setup(e,{emit:t}){const i=e,o=t,s={simple:Nb,icon:Nb,company:Nb,radio:PPe,avatar:Nb},{popoverPositionStyle:n,updateRects:r,triggerRef:a,popoverRef:l}=APe({alignment:i.alignment,popoverCssProperties:i.popoverCssProperties,useTeleport:i.useTeleport}),c=v.useTemplateRef("select-menu-ref"),d=v.useTemplateRef("select-button-trigger-ref"),[u,h]=uEe(i.defaultOpen),p=v.useModel(e,"modelValue"),g=v.useModel(e,"searchInput");v.watch(u,A=>{A?v.nextTick(()=>{r(),o("dropdown-open")}):o("dropdown-closed")}),v.onMounted(()=>{c.value?.popoverRef&&(l.value=c.value?.popoverRef),d.value?.triggerRef&&(a.value=d.value?.triggerRef)});const f=v.computed(()=>p.value&&p.value.text?p.value.text:i.label),y=v.computed(()=>{if(p.value&&p.value.icon)return p.value.icon}),m=v.computed(()=>{if(p.value&&p.value.companyName)return p.value.companyName}),C=v.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 I7("Escape",()=>{u.value&&D()}),(A,k)=>v.withDirectives((v.openBlock(),v.createElementBlock("div",NPe,[v.createVNode(IPe,{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:y.value,companyLogo:m.value,showClear:!1,showDropdown:!0,open:v.unref(u),"counter-value":0,isLoading:A.isLoading,onHandleClear:x,onHandleToggleDropdown:k[0]||(k[0]=w=>v.unref(h)())},null,8,["variant","size","disabled","prefixLabel","label","icon","companyLogo","open","isLoading"]),v.createVNode(MPe,{ref:"select-menu-ref",open:v.unref(u),teleportLocation:A.teleportLocation,"use-teleport":A.useTeleport,popoverPositionStyle:{...v.unref(n),...A.popoverCssProperties}},{default:v.withCtx(()=>[A.showSearchInput?(v.openBlock(),v.createElementBlock(v.Fragment,{key:0},[v.createVNode(Y7,{"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]=v.createElementVNode("div",{class:"pv-border-top pv-stack-12"},null,-1))],64)):v.createCommentVNode("",!0),C.value.length>0?(v.openBlock(!0),v.createElementBlock(v.Fragment,{key:1},v.renderList(C.value,w=>(v.openBlock(),v.createElementBlock("li",{key:w.id,"data-active":p.value?.id===w.id?!0:null},[(v.openBlock(),v.createBlock(v.resolveDynamicComponent(s[A.optionsVariant]),{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,onHandleSelected:()=>S(w)},null,40,["value","secondary-text","icon","avatar","companyName","text","onHandleSelected"]))],8,OPe))),128)):(v.openBlock(),v.createElementBlock("div",FPe,"No Result Found"))]),_:1},8,["open","teleportLocation","use-teleport","popoverPositionStyle"])])),[[v.unref(j7),[D,{ignore:[".pv-popover"]}]]])}}),BPe=["for"],GPe=["disabled","type","placeholder","id","data-invalid"];Math.random().toString();oW.extend({name:"common"});var zPe={transitionDuration:"{transition.duration}"},_Pe={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},VPe={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"}},HPe={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},WPe={root:zPe,panel:_Pe,header:VPe,content:HPe},jPe={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}"},$Pe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},UPe={padding:"{list.padding}",gap:"{list.gap}"},KPe={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}"},YPe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},XPe={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}"}},ZPe={borderRadius:"{border.radius.sm}"},qPe={padding:"{list.option.padding}"},QPe={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}"}}},JPe={root:jPe,overlay:$Pe,list:UPe,option:KPe,optionGroup:YPe,dropdown:XPe,chip:ZPe,emptyMessage:qPe,colorScheme:QPe},eNe={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},tNe={size:"1rem"},iNe={borderColor:"{content.background}",offset:"-0.75rem"},oNe={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},sNe={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},nNe={root:eNe,icon:tNe,group:iNe,lg:oNe,xl:sNe},rNe={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},aNe={size:"0.5rem"},lNe={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},cNe={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},dNe={fontSize:"1rem",minWidth:"2rem",height:"2rem"},uNe={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}"}}},hNe={root:rNe,dot:aNe,sm:lNe,lg:cNe,xl:dNe,colorScheme:uNe},pNe={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"}},gNe={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}"}}}}},fNe={primitive:pNe,semantic:gNe},mNe={borderRadius:"{content.border.radius}"},yNe={root:mNe},vNe={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},bNe={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}"}},CNe={color:"{navigation.item.icon.color}"},SNe={root:vNe,item:bNe,separator:CNe},xNe={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}"},wNe={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}"}}},MNe={root:xNe,colorScheme:wNe},DNe={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)"},kNe={padding:"1.25rem",gap:"0.5rem"},INe={gap:"0.5rem"},ANe={fontSize:"1.25rem",fontWeight:"500"},RNe={color:"{text.muted.color}"},TNe={root:DNe,body:kNe,caption:INe,title:ANe,subtitle:RNe},LNe={transitionDuration:"{transition.duration}"},ENe={gap:"0.25rem"},PNe={padding:"1rem",gap:"0.5rem"},NNe={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}"}},ONe={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},FNe={root:LNe,content:ENe,indicatorList:PNe,indicator:NNe,colorScheme:ONe},BNe={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}"}},GNe={width:"2.5rem",color:"{form.field.icon.color}"},zNe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},_Ne={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},VNe={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"}},HNe={color:"{form.field.icon.color}"},WNe={root:BNe,dropdown:GNe,overlay:zNe,list:_Ne,option:VNe,clearIcon:HNe},jNe={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"}},$Ne={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"}},UNe={root:jNe,icon:$Ne},KNe={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},YNe={width:"2rem",height:"2rem"},XNe={size:"1rem"},ZNe={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}"}},qNe={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}"}}},QNe={root:KNe,image:YNe,icon:XNe,removeIcon:ZNe,colorScheme:qNe},JNe={transitionDuration:"{transition.duration}"},eOe={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}"}},tOe={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},iOe={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},oOe={root:JNe,preview:eOe,panel:tOe,colorScheme:iOe},sOe={size:"2rem",color:"{overlay.modal.color}"},nOe={gap:"1rem"},rOe={icon:sOe,content:nOe},aOe={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"},lOe={padding:"{overlay.popover.padding}",gap:"1rem"},cOe={size:"1.5rem",color:"{overlay.popover.color}"},dOe={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},uOe={root:aOe,content:lOe,icon:cOe,footer:dOe},hOe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},pOe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},gOe={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}"}},fOe={mobileIndent:"1rem"},mOe={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},yOe={borderColor:"{content.border.color}"},vOe={root:hOe,list:pOe,item:gOe,submenu:fOe,submenuIcon:mOe,separator:yOe},bOe={transitionDuration:"{transition.duration}"},COe={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"}},SOe={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"}},xOe={fontWeight:"600"},wOe={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}"}},MOe={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},DOe={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"}},kOe={fontWeight:"600"},IOe={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"}},AOe={color:"{primary.color}"},ROe={width:"0.5rem"},TOe={width:"1px",color:"{primary.color}"},LOe={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},EOe={size:"2rem"},POe={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}"}},NOe={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}"}},OOe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},FOe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},BOe={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}"}}},GOe={root:bOe,header:COe,headerCell:SOe,columnTitle:xOe,row:wOe,bodyCell:MOe,footerCell:DOe,columnFooter:kOe,footer:IOe,dropPoint:AOe,columnResizer:ROe,resizeIndicator:TOe,sortIcon:LOe,loadingIcon:EOe,rowToggleButton:POe,filter:NOe,paginatorTop:OOe,paginatorBottom:FOe,colorScheme:BOe},zOe={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},_Oe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},VOe={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},HOe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},WOe={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},jOe={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},$Oe={root:zOe,header:_Oe,content:VOe,footer:HOe,paginatorTop:WOe,paginatorBottom:jOe},UOe={transitionDuration:"{transition.duration}"},KOe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},YOe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},XOe={gap:"0.5rem",fontWeight:"500"},ZOe={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}"}},qOe={color:"{form.field.icon.color}"},QOe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},JOe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},eFe={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},tFe={margin:"0.5rem 0 0 0"},iFe={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},oFe={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}"}},sFe={margin:"0.5rem 0 0 0"},nFe={padding:"0.375rem",borderRadius:"{content.border.radius}"},rFe={margin:"0.5rem 0 0 0"},aFe={padding:"0.375rem",borderRadius:"{content.border.radius}"},lFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},cFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},dFe={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}"}}},uFe={root:UOe,panel:KOe,header:YOe,title:XOe,dropdown:ZOe,inputIcon:qOe,selectMonth:QOe,selectYear:JOe,group:eFe,dayView:tFe,weekDay:iFe,date:oFe,monthView:sFe,month:nFe,yearView:rFe,year:aFe,buttonbar:lFe,timePicker:cFe,colorScheme:dFe},hFe={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},pFe={padding:"{overlay.modal.padding}",gap:"0.5rem"},gFe={fontSize:"1.25rem",fontWeight:"600"},fFe={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},mFe={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},yFe={root:hFe,header:pFe,title:gFe,content:fFe,footer:mFe},vFe={borderColor:"{content.border.color}"},bFe={background:"{content.background}",color:"{text.color}"},CFe={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},SFe={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},xFe={root:vFe,content:bFe,horizontal:CFe,vertical:SFe},wFe={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},MFe={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}"}},DFe={root:wFe,item:MFe},kFe={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},IFe={padding:"{overlay.modal.padding}"},AFe={fontSize:"1.5rem",fontWeight:"600"},RFe={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},TFe={padding:"{overlay.modal.padding}"},LFe={root:kFe,header:IFe,title:AFe,content:RFe,footer:TFe},EFe={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},PFe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},NFe={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}"},OFe={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},FFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},BFe={toolbar:EFe,toolbarItem:PFe,overlay:NFe,overlayOption:OFe,content:FFe},GFe={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}"},zFe={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}"}},_Fe={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},VFe={padding:"0"},HFe={root:GFe,legend:zFe,toggleIcon:_Fe,content:VFe},WFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},jFe={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},$Fe={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},UFe={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},KFe={gap:"0.5rem"},YFe={height:"0.25rem"},XFe={gap:"0.5rem"},ZFe={root:WFe,header:jFe,content:$Fe,file:UFe,fileList:KFe,progressbar:YFe,basic:XFe},qFe={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"}},QFe={active:{top:"-1.25rem"}},JFe={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},e4e={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},t4e={root:qFe,over:QFe,in:JFe,on:e4e},i4e={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},o4e={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}"}},s4e={size:"1.5rem"},n4e={background:"{content.background}",padding:"1rem 0.25rem"},r4e={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}"}},a4e={size:"1rem"},l4e={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},c4e={gap:"0.5rem",padding:"1rem"},d4e={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}"}},u4e={background:"rgba(0, 0, 0, 0.5)"},h4e={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},p4e={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}"}},g4e={size:"1.5rem"},f4e={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}"}}},m4e={root:i4e,navButton:o4e,navIcon:s4e,thumbnailsContent:n4e,thumbnailNavButton:r4e,thumbnailNavButtonIcon:a4e,caption:l4e,indicatorList:c4e,indicatorButton:d4e,insetIndicatorList:u4e,insetIndicatorButton:h4e,closeButton:p4e,closeButtonIcon:g4e,colorScheme:f4e},y4e={color:"{form.field.icon.color}"},v4e={icon:y4e},b4e={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"},C4e={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},S4e={root:b4e,input:C4e},x4e={transitionDuration:"{transition.duration}"},w4e={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},M4e={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"},D4e={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}"}},k4e={root:x4e,preview:w4e,toolbar:M4e,action:D4e},I4e={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}"}},A4e={handle:I4e},R4e={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},T4e={fontWeight:"500"},L4e={size:"1rem"},E4e={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%)"}}},P4e={root:R4e,text:T4e,icon:L4e,colorScheme:E4e},N4e={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}"},O4e={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},F4e={root:N4e,display:O4e},B4e={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}"},G4e={borderRadius:"{border.radius.sm}"},z4e={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},_4e={root:B4e,chip:G4e,colorScheme:z4e},V4e={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"},H4e={addon:V4e},W4e={transitionDuration:"{transition.duration}"},j4e={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},$4e={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}"}}},U4e={root:W4e,button:j4e,colorScheme:$4e},K4e={gap:"0.5rem"},Y4e={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},X4e={root:K4e,input:Y4e},Z4e={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}"}},q4e={root:Z4e},Q4e={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},J4e={background:"{primary.color}"},eBe={background:"{content.border.color}"},tBe={color:"{text.muted.color}"},iBe={root:Q4e,value:J4e,range:eBe,text:tBe},oBe={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}"},sBe={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},nBe={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}"},rBe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},aBe={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},lBe={padding:"{list.option.padding}"},cBe={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},dBe={root:oBe,list:sBe,option:nBe,optionGroup:rBe,checkmark:aBe,emptyMessage:lBe,colorScheme:cBe},uBe={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}"},hBe={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},pBe={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}"}},gBe={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},fBe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},mBe={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},yBe={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},vBe={borderColor:"{content.border.color}"},bBe={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}"}},CBe={root:uBe,baseItem:hBe,item:pBe,overlay:gBe,submenu:fBe,submenuLabel:mBe,submenuIcon:yBe,separator:vBe,mobileButton:bBe},SBe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},xBe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},wBe={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}"}},MBe={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},DBe={borderColor:"{content.border.color}"},kBe={root:SBe,list:xBe,item:wBe,submenuLabel:MBe,separator:DBe},IBe={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}"},ABe={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},RBe={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}"}},TBe={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}"}},LBe={borderColor:"{content.border.color}"},EBe={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}"}},PBe={root:IBe,baseItem:ABe,item:RBe,submenu:TBe,separator:LBe,mobileButton:EBe},NBe={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},OBe={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},FBe={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},BBe={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},GBe={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},zBe={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},_Be={root:{borderWidth:"1px"}},VBe={content:{padding:"0"}},HBe={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}"}}}},WBe={root:NBe,content:OBe,text:FBe,icon:BBe,closeButton:GBe,closeIcon:zBe,outlined:_Be,simple:VBe,colorScheme:HBe},jBe={borderRadius:"{content.border.radius}",gap:"1rem"},$Be={background:"{content.border.color}",size:"0.5rem"},UBe={gap:"0.5rem"},KBe={size:"0.5rem"},YBe={size:"1rem"},XBe={verticalGap:"0.5rem",horizontalGap:"1rem"},ZBe={root:jBe,meters:$Be,label:UBe,labelMarker:KBe,labelIcon:YBe,labelList:XBe},qBe={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}"}},QBe={width:"2.5rem",color:"{form.field.icon.color}"},JBe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},e3e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},t3e={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"},i3e={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},o3e={color:"{form.field.icon.color}"},s3e={borderRadius:"{border.radius.sm}"},n3e={padding:"{list.option.padding}"},r3e={root:qBe,dropdown:QBe,overlay:JBe,list:e3e,option:t3e,optionGroup:i3e,chip:s3e,clearIcon:o3e,emptyMessage:n3e},a3e={gap:"1.125rem"},l3e={gap:"0.5rem"},c3e={root:a3e,controls:l3e},d3e={gutter:"0.75rem",transitionDuration:"{transition.duration}"},u3e={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}"},h3e={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}"}},p3e={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},g3e={root:d3e,node:u3e,nodeToggleButton:h3e,connector:p3e},f3e={outline:{width:"2px",color:"{content.background}"}},m3e={root:f3e},y3e={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},v3e={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}"}},b3e={color:"{text.muted.color}"},C3e={maxWidth:"2.5rem"},S3e={root:y3e,navButton:v3e,currentPageReport:b3e,jumpToPageInput:C3e},x3e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},w3e={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},M3e={padding:"0.375rem 1.125rem"},D3e={fontWeight:"600"},k3e={padding:"0 1.125rem 1.125rem 1.125rem"},I3e={padding:"0 1.125rem 1.125rem 1.125rem"},A3e={root:x3e,header:w3e,toggleableHeader:M3e,title:D3e,content:k3e,footer:I3e},R3e={gap:"0.5rem",transitionDuration:"{transition.duration}"},T3e={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}"}},L3e={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}"}},E3e={indent:"1rem"},P3e={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},N3e={root:R3e,panel:T3e,item:L3e,submenu:E3e,submenuIcon:P3e},O3e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},F3e={color:"{form.field.icon.color}"},B3e={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}"},G3e={gap:"0.5rem"},z3e={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},_3e={meter:O3e,icon:F3e,overlay:B3e,content:G3e,colorScheme:z3e},V3e={gap:"1.125rem"},H3e={gap:"0.5rem"},W3e={root:V3e,controls:H3e},j3e={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"},$3e={padding:"{overlay.popover.padding}"},U3e={root:j3e,content:$3e},K3e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},Y3e={background:"{primary.color}"},X3e={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},Z3e={root:K3e,value:Y3e,label:X3e},q3e={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}"}}},Q3e={colorScheme:q3e},J3e={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"}},e5e={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},t5e={root:J3e,icon:e5e},i5e={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}"}},o5e={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},s5e={root:i5e,icon:o5e},n5e={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},r5e={colorScheme:n5e},a5e={transitionDuration:"{transition.duration}"},l5e={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}"}},c5e={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},d5e={root:a5e,bar:l5e,colorScheme:c5e},u5e={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}"}},h5e={width:"2.5rem",color:"{form.field.icon.color}"},p5e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},g5e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},f5e={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}"},m5e={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},y5e={color:"{form.field.icon.color}"},v5e={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},b5e={padding:"{list.option.padding}"},C5e={root:u5e,dropdown:h5e,overlay:p5e,list:g5e,option:f5e,optionGroup:m5e,clearIcon:y5e,checkmark:v5e,emptyMessage:b5e},S5e={borderRadius:"{form.field.border.radius}"},x5e={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},w5e={root:S5e,colorScheme:x5e},M5e={borderRadius:"{content.border.radius}"},D5e={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)"}}},k5e={root:M5e,colorScheme:D5e},I5e={transitionDuration:"{transition.duration}"},A5e={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},R5e={background:"{primary.color}"},T5e={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}"}},L5e={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},E5e={root:I5e,track:A5e,range:R5e,handle:T5e,colorScheme:L5e},P5e={gap:"0.5rem",transitionDuration:"{transition.duration}"},N5e={root:P5e},O5e={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)"},F5e={root:O5e},B5e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},G5e={background:"{content.border.color}"},z5e={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}"}},_5e={root:B5e,gutter:G5e,handle:z5e},V5e={transitionDuration:"{transition.duration}"},H5e={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},W5e={padding:"0.5rem",gap:"1rem"},j5e={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"},$5e={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},U5e={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)"},K5e={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},Y5e={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},X5e={root:V5e,separator:H5e,step:W5e,stepHeader:j5e,stepTitle:$5e,stepNumber:U5e,steppanels:K5e,steppanel:Y5e},Z5e={transitionDuration:"{transition.duration}"},q5e={background:"{content.border.color}"},Q5e={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"},J5e={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},eGe={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)"},tGe={root:Z5e,separator:q5e,itemLink:Q5e,itemLabel:J5e,itemNumber:eGe},iGe={transitionDuration:"{transition.duration}"},oGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},sGe={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}"}},nGe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},rGe={height:"1px",bottom:"-1px",background:"{primary.color}"},aGe={root:iGe,tablist:oGe,item:sGe,itemIcon:nGe,activeBar:rGe},lGe={transitionDuration:"{transition.duration}"},cGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},dGe={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}"}},uGe={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}"}},hGe={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}"}},pGe={height:"1px",bottom:"-1px",background:"{primary.color}"},gGe={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%)"}}},fGe={root:lGe,tablist:cGe,tab:dGe,tabpanel:uGe,navButton:hGe,activeBar:pGe,colorScheme:gGe},mGe={transitionDuration:"{transition.duration}"},yGe={background:"{content.background}",borderColor:"{content.border.color}"},vGe={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},bGe={background:"{content.background}",color:"{content.color}"},CGe={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},SGe={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%)"}}},xGe={root:mGe,tabList:yGe,tab:vGe,tabPanel:bGe,navButton:CGe,colorScheme:SGe},wGe={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},MGe={size:"0.75rem"},DGe={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}"}}},kGe={root:wGe,icon:MGe,colorScheme:DGe},IGe={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}"},AGe={gap:"0.25rem"},RGe={margin:"2px 0"},TGe={root:IGe,prompt:AGe,commandResponse:RGe},LGe={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}"}},EGe={root:LGe},PGe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},NGe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},OGe={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}"}},FGe={mobileIndent:"1rem"},BGe={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},GGe={borderColor:"{content.border.color}"},zGe={root:PGe,list:NGe,item:OGe,submenu:FGe,submenuIcon:BGe,separator:GGe},_Ge={minHeight:"5rem"},VGe={eventContent:{padding:"1rem 0"}},HGe={eventContent:{padding:"0 1rem"}},WGe={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)"}},jGe={color:"{content.border.color}",size:"2px"},$Ge={event:_Ge,horizontal:VGe,vertical:HGe,eventMarker:WGe,eventConnector:jGe},UGe={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},KGe={size:"1.125rem"},YGe={padding:"{overlay.popover.padding}",gap:"0.5rem"},XGe={gap:"0.5rem"},ZGe={fontWeight:"500",fontSize:"1rem"},qGe={fontWeight:"500",fontSize:"0.875rem"},QGe={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},JGe={size:"1rem"},eze={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"}}}}},tze={root:UGe,icon:KGe,content:YGe,text:XGe,summary:ZGe,detail:qGe,closeButton:QGe,closeIcon:JGe,colorScheme:eze},ize={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"}},oze={disabledColor:"{form.field.disabled.color}"},sze={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"}},nze={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}"}}},rze={root:ize,icon:oze,content:sze,colorScheme:nze},aze={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"},lze={borderRadius:"50%",size:"1rem"},cze={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}"}}},dze={root:aze,handle:lze,colorScheme:cze},uze={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},hze={root:uze},pze={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},gze={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},fze={root:pze,colorScheme:gze},mze={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},yze={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"},vze={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},bze={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}"}},Cze={size:"2rem"},Sze={margin:"0 0 0.5rem 0"},xze={root:mze,node:yze,nodeIcon:vze,nodeToggleButton:bze,loadingIcon:Cze,filter:Sze},wze={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={width:"2.5rem",color:"{form.field.icon.color}"},Dze={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},kze={padding:"{list.padding}"},Ize={padding:"{list.option.padding}"},Aze={borderRadius:"{border.radius.sm}"},Rze={color:"{form.field.icon.color}"},Tze={root:wze,dropdown:Mze,overlay:Dze,tree:kze,emptyMessage:Ize,chip:Aze,clearIcon:Rze},Lze={transitionDuration:"{transition.duration}"},Eze={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},Pze={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}"}},Nze={fontWeight:"600"},Oze={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}"}},Fze={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},Bze={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},Gze={fontWeight:"600"},zze={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},_ze={width:"0.5rem"},Vze={width:"1px",color:"{primary.color}"},Hze={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},Wze={size:"2rem"},jze={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}"}},$ze={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},Uze={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},Kze={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},Yze={root:Lze,header:Eze,headerCell:Pze,columnTitle:Nze,row:Oze,bodyCell:Fze,footerCell:Bze,columnFooter:Gze,footer:zze,columnResizer:_ze,resizeIndicator:Vze,sortIcon:Hze,loadingIcon:Wze,nodeToggleButton:jze,paginatorTop:$ze,paginatorBottom:Uze,colorScheme:Kze},Xze={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},Zze={loader:Xze},qze=Object.defineProperty,Qze=Object.defineProperties,Jze=Object.getOwnPropertyDescriptors,oB=Object.getOwnPropertySymbols,e_e=Object.prototype.hasOwnProperty,t_e=Object.prototype.propertyIsEnumerable,sB=(e,t,i)=>t in e?qze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,nB;nB=((e,t)=>{for(var i in t||(t={}))e_e.call(t,i)&&sB(e,i,t[i]);if(oB)for(var i of oB(t))t_e.call(t,i)&&sB(e,i,t[i]);return e})({},fNe),Qze(nB,Jze({components:{accordion:WPe,autocomplete:JPe,avatar:nNe,badge:hNe,blockui:yNe,breadcrumb:SNe,button:MNe,card:TNe,carousel:FNe,cascadeselect:WNe,checkbox:UNe,chip:QNe,colorpicker:oOe,confirmdialog:rOe,confirmpopup:uOe,contextmenu:vOe,datatable:GOe,dataview:$Oe,datepicker:uFe,dialog:yFe,divider:xFe,dock:DFe,drawer:LFe,editor:BFe,fieldset:HFe,fileupload:ZFe,floatlabel:t4e,galleria:m4e,iconfield:v4e,iftalabel:S4e,image:k4e,imagecompare:A4e,inlinemessage:P4e,inplace:F4e,inputchips:_4e,inputgroup:H4e,inputnumber:U4e,inputotp:X4e,inputtext:q4e,knob:iBe,listbox:dBe,megamenu:CBe,menu:kBe,menubar:PBe,message:WBe,metergroup:ZBe,multiselect:r3e,orderlist:c3e,organizationchart:g3e,overlaybadge:m3e,paginator:S3e,panel:A3e,panelmenu:N3e,password:_3e,picklist:W3e,popover:U3e,progressbar:Z3e,progressspinner:Q3e,radiobutton:t5e,rating:s5e,ripple:r5e,scrollpanel:d5e,select:C5e,selectbutton:w5e,skeleton:k5e,slider:E5e,speeddial:N5e,splitbutton:F5e,splitter:_5e,stepper:X5e,steps:tGe,tabmenu:aGe,tabs:fGe,tabview:xGe,tag:kGe,terminal:TGe,textarea:EGe,tieredmenu:zGe,timeline:$Ge,toast:tze,togglebutton:rze,toggleswitch:dze,toolbar:hze,tooltip:fze,tree:xze,treeselect:Tze,treetable:Yze,virtualscroller:Zze}}));const sW=Symbol("focusDataKey"),iw=()=>{const{focuses:e,focusType:t}=v.inject(sW,{focuses:v.ref([]),focusType:v.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}},i_e={class:"pv-flex",style:{"--flex-wrap":"nowrap"}},o_e=["id"],s_e={key:1,style:{"padding-left":"16px"}},n_e=["checked","disabled","onChange"],r_e={class:"pv-text-body-md"},a_e={key:2},l_e={key:0,class:"pv-text-subdued pv-text-body-xxs"},c_e=v.defineComponent({__name:"GroupBySelector",props:{rowGroupLimit:{},enableFocusView:{type:Boolean}},setup(e){const t=v.inject("gridApi"),i=v.inject("availableRowGroupColumns"),o=v.inject("rowGroupColumnFields"),s=e;v.watch(o,()=>{},{deep:!0});const n=y=>o.value.includes(y||""),{clearAllFocuses:r,focusType:a}=iw(),l=(y,m)=>{m?t.value.addRowGroupColumns([y]):t.value.removeRowGroupColumns([y]),s.enableFocusView&&a.value&&a.value!==o.value[0]&&r()},c=v.computed(()=>({"pv-hide":i.value.length===0})),d=v.computed(()=>s.rowGroupLimit?o.value.length>=s.rowGroupLimit:!1),u=v.computed(()=>o.value.map(y=>i.value.find(m=>m.field===y)).filter(y=>y!==void 0)),h=v.computed(()=>i.value.filter(y=>!o.value.includes(y.field))),p=v.computed(()=>{const y={label:"",value:"divider"},m=u.value.map(S=>({label:S.headerName,value:S.field})),C=h.value.map(S=>({label:S.headerName,value:S.field}));return[...m,y,...C]}),g=y=>`group-by-list-item-${y}`,f=y=>{const m=y.findIndex(x=>x==="divider"),S=y.slice(0,m).slice(0,s.rowGroupLimit).map(x=>x.replace("group-by-list-item-",""));t.value.setRowGroupColumns(S)};return(y,m)=>(v.openBlock(),v.createBlock(U7,{isList:!0,isSortable:!0,popoverCssProperties:{width:"auto"},alignment:"right",class:v.normalizeClass(c.value),onListOrderUpdated:f},{trigger:v.withCtx(()=>[v.createElementVNode("div",i_e,[m[0]||(m[0]=v.createElementVNode("p",{class:"pv-truncate pv-text-body-md"},"Compare",-1)),v.unref(o).length>0?(v.openBlock(),v.createBlock(v.unref(Gm),{key:0,value:v.unref(o).length,variant:"tertiary"},null,8,["value"])):v.createCommentVNode("",!0)])]),default:v.withCtx(()=>[(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(p.value,(C,S)=>(v.openBlock(),v.createElementBlock(v.Fragment,{key:C.value},[C.value!=="divider"?(v.openBlock(),v.createElementBlock("li",{key:0,id:g(C.value)},[v.createElementVNode("label",{class:v.normalizeClass(["pv-flex",{"pv-border-bottom":S+1===v.unref(o).length}])},[n(C.value)?(v.openBlock(),v.createBlock(Li,{key:0,name:"reorder",class:"pv-text-subdued"})):(v.openBlock(),v.createElementBlock("span",s_e)),v.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,n_e),v.createElementVNode("span",r_e,v.toDisplayString(C.label),1),n(C.value)?(v.openBlock(),v.createElementBlock("sup",a_e,v.toDisplayString(S+1),1)):v.createCommentVNode("",!0)],2)],8,o_e)):v.createCommentVNode("",!0)],64))),128)),d.value?(v.openBlock(),v.createElementBlock("p",l_e," Supports "+v.toDisplayString(y.rowGroupLimit)+" compare levels ",1)):v.createCommentVNode("",!0)]),_:1},8,["class"]))}}),d_e={},u_e={class:"ag-custom-loading-cell pv-shimmer"};function h_e(e,t){return v.openBlock(),v.createElementBlock("div",u_e)}const p_e=Ea(d_e,[["render",h_e]]),g_e={key:0,class:"pv-table-group-cell"},f_e={class:"pv-text-body-xxs pv-text-subdued"},m_e={key:0},y_e={class:"pv-flex pv-space-between",style:{"line-height":"20px"}},v_e={class:"pv-text-title-md"},b_e={key:0,class:"pv-table-row-number"},C_e=v.defineComponent({__name:"GroupedCellRenderer",props:{params:{}},setup(e){const t=e,i=v.inject("rowGroupColumnFields"),o=v.inject("groupColumnCellValueColumn"),s=v.inject("expandedRows"),n=v.computed(()=>!t.params.displayBaseAggregationsOnly||a.value.level===i.value.length-1),r=v.computed(()=>t.params.rowNode.group),a=w7(t.params,"rowNode"),l=(p,g)=>p?p({value:g,data:a.value.data,node:a.value,api:t.params.api}):g,c=v.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=v.computed(()=>a.value.data&&a.value.data.groupedRecordCount?a.value.data.groupedRecordCount||0:a.value.allChildrenCount||0),u=v.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 v.onMounted(()=>{const p=a.value,g=p.rowIndex,f=p.expanded;g!=null&&(s.value[g]=f),a.value.addEventListener("expandedChanged",h)}),v.onBeforeUnmount(()=>{const p=a.value;a.value.removeEventListener("expandedChanged",h);const g=p.rowIndex;g!=null&&(s.value[g]=!1)}),(p,g)=>(v.openBlock(),v.createElementBlock(v.Fragment,null,[r.value?(v.openBlock(),v.createElementBlock("div",g_e,[v.createElementVNode("p",f_e,[v.createTextVNode(v.toDisplayString(v.unref(a).rowGroupColumn?.getColDef().headerName)+" ",1),p.params.displayCount&&n.value&&d.value>0?(v.openBlock(),v.createElementBlock("span",m_e," ("+v.toDisplayString(d.value.toLocaleString())+") ",1)):v.createCommentVNode("",!0)]),v.createElementVNode("div",y_e,[v.createElementVNode("p",v_e,v.toDisplayString(p.params.formattedValue||p.params.rowNode.key),1)])])):v.createCommentVNode("",!0),v.createElementVNode("div",null,[v.createElementVNode("p",null,[p.params.displayRowNumber&&u.value?(v.openBlock(),v.createElementBlock("span",b_e,v.toDisplayString(u.value),1)):v.createCommentVNode("",!0),v.createTextVNode(" "+v.toDisplayString(c.value),1)])])],64))}});function rB(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 xs=(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))(xs||{});const S_e=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}},x_e=(e,t)=>{if(!e)return e;switch(t){case"percent":return e.replace(/^%+/,"").trim();default:return e}},w_e=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},M_e=(e,t)=>{if(!e)return!1;const i=e.context;return i&&i.dataType?i.dataType===t:!1},D_e=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}},k_e={style:{"line-height":"20px"}},I_e={class:"pv-text-subdued pv-text-body-xxs pv-relative"},A_e=v.defineComponent({__name:"GroupAggCellRenderer",props:{params:{}},setup(e){const t=e,i=v.inject("expandedRows"),o=v.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=v.computed(()=>t.params.node?.rowIndex),r=v.computed(()=>{let c=!1;return n.value!=null&&(c=n.value in i.value?i.value[n.value]:!1),c}),a=v.computed(()=>r.value?"chevron-down":"chevron-right"),l=v.computed(()=>{const d=t.params.column?.getColDef()?.context,u=t.params.valueFormatted||t.params.value;return d&&d.dataType&&[xs.Currency,xs.Percent,xs.Number,xs.Integer].includes(d.dataType)?u.toLocaleString():u});return v.onMounted(()=>{t.params.node.expanded&&n.value&&(i.value[n.value]=!0)}),(c,d)=>(v.openBlock(),v.createElementBlock("div",{class:"pv-flex",ondblclick:s},[v.createElementVNode("div",k_e,[v.createElementVNode("p",null,v.toDisplayString(l.value),1),v.createElementVNode("p",I_e,v.toDisplayString(o.value),1)]),v.createVNode(An,{size:"xl",variant:"ghost","left-icon":a.value,onClick:s},null,8,["left-icon"])]))}}),fC=v.ref({}),nW=v.ref(null),R_e=v.ref(0),T_e=v.ref(0),ek=v.ref({}),FL=v.ref(void 0),BL=v.ref({}),ow=v.ref({}),GL=v.ref({}),rW=v.ref({}),L_e=()=>{const e={};return Object.entries(ow.value).forEach(([t,i])=>{const o=i.filter(s=>!!s);o.length>0&&(e[t]={filterType:"set",values:o})}),e},E_e=async(e,t,i,o)=>{const s=rW.value[t.field]||void 0,n=ow.value[t.field]||[];let r=o;nW.value!=null&&(r=L_e());const a={api:e,colDef:t,column:i,filterModel:r,query:s,selectedValues:n};ek.value[t.field]=!0;const l=n.map(u=>{const h=zL(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 FL.value?.(a);l.forEach(u=>{c?.some(h=>h?.value===u?.value)||c?.push(u)}),t.field&&c&&(BL.value[t.field]=c);const d=c?.filter(u=>u!=null).map(u=>u.value)||[];return ek.value[t.field]=!1,d.filter((u,h)=>d.indexOf(u)===h)},P_e=(e,t)=>e&&e.trim()!==""?t?.toLowerCase().includes(e.toLowerCase())||!1:!0,zL=(e,t)=>{const i=[...BL.value[e]||[],...GL.value[e]||[]];return i?i.find(o=>o?.value===t):null},N_e=()=>FL.value!=null,O_e=(e,t)=>{ow.value[e]=t;const i=[];if(fC.value&&fC.value[e]?.values){const s=fC.value[e].values||[];i.push(...s)}i.push(...t);const o=[];return t.forEach(s=>{const n=zL(e,s);n&&o.push(n)}),GL.value[e]=o,i.filter((s,n)=>i.indexOf(s)===n)},F_e=e=>ow.value[e]||[],B_e=(e,t)=>{rW.value[e]=t},sw=()=>({filterModel:fC,filterModelUpdated:R_e,filterModelCleared:T_e,filterValuesLoadingStatus:ek,filterValueMap:BL,filterValueSelectedMetadataMap:GL,filterStoreHandler:FL,fetchFilterValues:E_e,filterValueContext:zL,filterResultByQuery:P_e,getFilterSelectedValues:F_e,isServerSideFilter:N_e,prevFilterModel:nW,setFilterSelectedValues:O_e,setFilterValueSearchText:B_e}),G_e={class:"pv-flex"},z_e=["type","value","checked","disabled"],__e={key:1,class:"pv-text-body-md",style:{"padding-left":"4px"}},V_e=v.defineComponent({__name:"FilterValueLabel",props:{option:{},enableFocusView:{type:Boolean},filterField:{},filterOptionsRenderer:{},forceCheckSelection:{type:Boolean},formatDisplayValue:{type:Function},handleInputChange:{type:Function},isSingleSelect:{type:Boolean},selectedValues:{},selectionDisabled:{type:Function}},emits:["focus-update"],setup(e){const t=e,{isFocused:i}=iw(),o=v.inject("rowGroupColumnFields"),s=a=>o.value[0]===a&&t.enableFocusView,n=v.computed(()=>s(t.filterField)?"pv-space-between option-label":"pv-flex"),r=v.computed(()=>i(t.option)?"":"focus-button");return(a,l)=>(v.openBlock(),v.createElementBlock("label",{class:v.normalizeClass(n.value)},[v.createElementVNode("div",G_e,[v.createElementVNode("input",{type:a.isSingleSelect?"radio":"checkbox",class:v.normalizeClass(a.isSingleSelect?"pv-radio":"pv-checkbox"),value:a.option,checked:a.selectedValues.includes(a.option)||a.forceCheckSelection,disabled:a.selectionDisabled(a.option),onChange:l[0]||(l[0]=c=>a.handleInputChange(c,a.option))},null,42,z_e),a.filterOptionsRenderer?(v.openBlock(),v.createBlock(v.resolveDynamicComponent(a.filterOptionsRenderer),{key:0,option:a.option,"display-option":a.formatDisplayValue(a.option)},null,8,["option","display-option"])):(v.openBlock(),v.createElementBlock("span",__e,v.toDisplayString(a.formatDisplayValue(a.option)),1))]),s(a.filterField)?(v.openBlock(),v.createBlock(An,{key:0,class:v.normalizeClass(r.value),variant:"ghost","left-icon":"focus",onClick:l[1]||(l[1]=c=>a.$emit("focus-update",a.option))},null,8,["class"])):v.createCommentVNode("",!0)],2))}}),aB=Ea(V_e,[["__scopeId","data-v-5bb7bd55"]]),H_e={class:"pv-stack-8"},W_e={class:"pv-flex",style:{"--flex-wrap":"nowrap"}},j_e={key:1,class:"pv-text-body-md pv-text-subdued",style:{"padding-top":"8px"}},$_e={class:"pv-flex pv-text-subdued pv-space-between",style:{"padding-top":"8px"}},U_e={key:0,class:"pv-flex pv-text-body-xxs pv-text-subdued",style:{"padding-top":"8px",cursor:"default"}},K_e={key:0,class:"pv-tooltip suggested-label","aria-labelledby":"description"},Y_e=["role"],X_e={key:3,class:"pv-text-body-xxs pv-text-subdued"},Z_e={class:"pv-border-top pv-flex",style:{"--flex-justify":"end","padding-top":"8px"}},q_e={key:0,class:"pv-full-width"},Q_e={class:"pv-flex-inline"},J_e={role:"list",class:"pv-flex pv-stack-8",style:{"--flex-wrap":"wrap"}},e8e=4,t8e=v.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=v.inject("gridApi"),{filterModel:n,filterModelCleared:r,filterModelUpdated:a,filterValuesLoadingStatus:l,filterValueContext:c,filterResultByQuery:d,getFilterSelectedValues:u,isServerSideFilter:h,setFilterValueSearchText:p,setFilterSelectedValues:g}=sw(),{handleFocusUpdate:f,isFocused:y,removeFocus:m}=iw(),C=v.inject("firstDataRendered"),S=v.ref([]),x=v.ref([]),D=v.computed(()=>i.filterColDef.field||""),A=v.computed(()=>i.filterColDef.headerName||""),k=v.ref(!1),w=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterValueFormatter&&typeof W.filterValueFormatter=="function"?W.filterValueFormatter:typeof i.filterColDef.valueFormatter=="function"?i.filterColDef.valueFormatter:null}),M=v.ref(""),R=v.ref(0),L=async()=>{P(),await N().then(()=>{k.value=!1})},P=()=>{const W=[];if(n.value&&n.value[D.value]?.values){const K=n.value[D.value].values||[];W.push(...K)}S.value=Array.from(new Set([...u(D.value),...W]))},N=async(W=!1,K=!1)=>{const te=await s.value.getColumnFilterInstance(D.value);h()&&(K||W&&l.value[D.value]!==!0&&a.value>R.value)&&(te.refreshFilterValues(),R.value=a.value),x.value=O(te.getFilterValues())},O=W=>W.sort((K,te)=>{const ae=S.value.includes(K),be=S.value.includes(te);return ae&&!be?-1:!ae&&be?1:0}),F=W=>{const K=c(D.value,W);return w.value?w.value({value:W,context:K}):W},G=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterSelectMax?W.filterSelectMax:null}),_=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterSelectMin?W.filterSelectMin===1&&G.value===1:!1}),V=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterOptionsSortDescription?W.filterOptionsSortDescription:null}),z=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterOptionsSortTooltip?W.filterOptionsSortTooltip:null}),H=v.computed(()=>{const W=i.filterColDef.context;return W.filterSearch===void 0?!0:W.filterSearch}),B=v.computed(()=>{const W=i.filterColDef.context;return W&&W.emptyFilterResultsRenderer?W.emptyFilterResultsRenderer:null}),j=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterOptionsRenderer?W.filterOptionsRenderer:null}),$=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterFooterRenderer?W.filterFooterRenderer:null}),U=v.computed(()=>G.value?S.value.length>=G.value:!1),ee=v.computed(()=>x.value.filter(W=>!S.value.includes(W))),X=v.computed(()=>x.value.length===1&&x.value[0]===null&&S.value.length===0),J=v.computed(()=>x.value.filter(W=>c(D.value,W)?.isPreference)),se=v.computed(()=>M.value===""&&J.value.length>0),Y=W=>X.value||c(D.value,W)?.isSelectable===!1?!0:_.value?!1:U.value&&!S.value.includes(W),ie=v.computed(()=>{const W=M.value;let K=x.value.filter((te,ae)=>x.value.indexOf(te)===ae).filter(te=>te!=null&&te!=="");return se.value&&(K=K.filter(te=>!J.value.includes(te))),K.filter(te=>{const ae=F(te);return d(W,ae)})});v.watch(()=>l.value[D.value],()=>{const W=l.value[D.value];k.value&&!W?(N(),k.value=!1):W&&(k.value=!0)},{deep:!0}),v.watch(()=>n.value,()=>{a.value+=1,P()}),v.watch(()=>r.value,()=>{S.value=[]}),v.watch(()=>C.value,()=>{P()}),v.watch(()=>S.value,W=>{g(D.value,W)}),hEe(()=>M.value,async W=>{p(D.value,W),await N(!0,!0)},{debounce:300});const Z=W=>{W&&_.value?S.value=[W]:W&&!S.value.includes(W)&&(S.value=[...S.value,W]),re(),o("filter-selection-changed")},ne=W=>{S.value=S.value.filter(K=>K!==W),re(),o("filter-selection-changed"),y(W)&&m(W)},le=()=>{S.value=[],re(),o("filter-selection-changed")},de=(W,K)=>{W.target.checked?Z(K):ne(K)},re=()=>{const W=S.value.length>0?S.value:null;s.value.setColumnFilterModel(D.value,{values:W}).then(()=>{i.filterStyle==="horizontal"?s.value.onFilterChanged():a.value+=1})},fe=W=>{f(D.value,W),W&&!S.value.includes(W)&&Z(W)},Me=()=>{M.value="",o("filter-closed")};return v.onMounted(()=>{L()}),(W,K)=>(v.openBlock(),v.createElementBlock(v.Fragment,null,[v.createElementVNode("div",H_e,[(v.openBlock(),v.createBlock(v.resolveDynamicComponent(W.filterStyle==="vertical"?"ul":"div"),{role:"list",class:"pv-flex",style:{"--flex-wrap":"wrap"}},{default:v.withCtx(()=>[W.filterStyle==="vertical"?(v.openBlock(!0),v.createElementBlock(v.Fragment,{key:0},v.renderList(S.value,te=>(v.openBlock(),v.createElementBlock("li",{key:`${A.value}-${te}`},[v.createVNode(a2e,{label:F(te)||"",showClear:!0,onHandleClose:ae=>ne(te)},null,8,["label","onHandleClose"])]))),128)):v.createCommentVNode("",!0)]),_:1})),v.createElementVNode("div",null,[v.createVNode(U7,v.mergeProps({isList:!0,icon:W.filterStyle==="vertical",class:"pv-flex",popoverCssProperties:{width:"auto",maxWidth:W.filterStyle==="vertical"?"300px":"400px",overflowX:"auto"},isLoading:k.value,onDropdownOpen:K[3]||(K[3]=te=>N(!0)),onDropdownClosed:Me},W.filterStyle==="horizontal"?{"data-horizontal-filter-field":D.value}:{}),v.createSlots({default:v.withCtx(()=>[H.value?(v.openBlock(),v.createBlock(Y7,{key:0,modelValue:M.value,"onUpdate:modelValue":K[0]||(K[0]=te=>M.value=te),size:"sm",style:{"min-width":"200px"}},null,8,["modelValue"])):v.createCommentVNode("",!0),ie.value.length===0?(v.openBlock(),v.createElementBlock("li",j_e,[!k.value&&B.value?(v.openBlock(),v.createBlock(v.resolveDynamicComponent(B.value),{key:0,"search-text":M.value},null,8,["search-text"])):(v.openBlock(),v.createElementBlock(v.Fragment,{key:1},[v.createTextVNode(v.toDisplayString(k.value?"Loading...":"No results found"),1)],64))])):(v.openBlock(),v.createElementBlock(v.Fragment,{key:2},[se.value?(v.openBlock(),v.createElementBlock(v.Fragment,{key:0},[v.createElementVNode("li",$_e,[K[4]||(K[4]=v.createElementVNode("span",{class:"pv-text-subdued pv-text-body-xxs"},"Your Preferences",-1)),W.displayPreferencesIcon?(v.openBlock(),v.createBlock(An,{key:0,size:"md",variant:"ghost",onClick:K[1]||(K[1]=te=>W.$emit("handle-settings-icon",A.value)),"right-icon":"sliders-horizontal"})):v.createCommentVNode("",!0)]),(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(J.value,(te,ae)=>(v.openBlock(),v.createElementBlock("li",{key:te,class:v.normalizeClass({"pv-border-bottom":ae===J.value.length-1})},[v.createVNode(aB,{option:te,"enable-focus-view":W.enableFocusView,"filter-field":D.value,"filter-options-renderer":j.value,"force-check-selection":X.value,"format-display-value":F,"handle-input-change":de,"is-single-select":_.value,"selected-values":S.value,"selection-disabled":Y,onFocusUpdate:fe},null,8,["option","enable-focus-view","filter-field","filter-options-renderer","force-check-selection","is-single-select","selected-values"])],2))),128)),V.value?(v.openBlock(),v.createElementBlock("li",U_e,[V.value?(v.openBlock(),v.createElementBlock("span",K_e,[v.createElementVNode("dfn",null,[v.createVNode(Li,{name:"ai",size:12})]),v.createElementVNode("span",{role:z.value?"tooltip":void 0,id:"description","data-position":"center-right",style:{"max-width":"175px"}},[v.createElementVNode("span",null,v.toDisplayString(z.value),1)],8,Y_e)])):v.createCommentVNode("",!0),v.createTextVNode(" "+v.toDisplayString(V.value),1)])):v.createCommentVNode("",!0)],64)):v.createCommentVNode("",!0),(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(ie.value,te=>(v.openBlock(),v.createElementBlock("li",{key:te},[v.createVNode(aB,{option:te,"enable-focus-view":W.enableFocusView,"filter-field":D.value,"filter-options-renderer":j.value,"force-check-selection":X.value,"format-display-value":F,"handle-input-change":de,"is-single-select":_.value,"selected-values":S.value,"selection-disabled":Y,onFocusUpdate:fe},null,8,["option","enable-focus-view","filter-field","filter-options-renderer","force-check-selection","is-single-select","selected-values"])]))),128))],64)),U.value?(v.openBlock(),v.createElementBlock("p",X_e," Max of "+v.toDisplayString(G.value)+" allowed ",1)):v.createCommentVNode("",!0),!k.value&&ie.value.length!=0&&$.value?(v.openBlock(),v.createBlock(v.resolveDynamicComponent($.value),{key:4})):v.createCommentVNode("",!0),v.createElementVNode("div",Z_e,[v.createVNode(An,{variant:"ghost",size:"md",disabled:S.value.length===0,onClick:K[2]||(K[2]=te=>le()),label:"Clear All"},null,8,["disabled"])])]),_:2},[W.filterStyle==="horizontal"?{name:"trigger",fn:v.withCtx(()=>[v.createElementVNode("div",W_e,[S.value.length>0?(v.openBlock(),v.createBlock(v.unref(Gm),{key:0,value:S.value.length,variant:"tertiary"},null,8,["value"])):v.createCommentVNode("",!0),v.createElementVNode("p",{class:v.normalizeClass(["pv-text-body-md pv-truncate",{"pv-shimmer":k.value}])},v.toDisplayString(A.value),3)])]),key:"0"}:{name:"trigger",fn:v.withCtx(()=>[v.createVNode(Li,{class:"pv-text-subdued",name:"add-circle"})]),key:"1"}]),1040,["icon","popoverCssProperties","isLoading"])])]),W.filterStyle=="vertical"?(v.openBlock(),v.createElementBlock("div",q_e,[v.createElementVNode("div",Q_e,[v.createElementVNode("ul",J_e,[K[5]||(K[5]=v.createElementVNode("li",null,[v.createElementVNode("p",{class:"pv-text-subdued pv-text-body-md"},"Suggested:")],-1)),(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(ee.value.filter(te=>te!==""&&te!=null).slice(0,e8e),te=>(v.openBlock(),v.createElementBlock("li",{key:`${A.value}-${te}-suggest`},[v.createVNode(v.unref(b2e),{label:F(te)||"",onHandleClick:ae=>Z(te)},null,8,["label","onHandleClick"])]))),128))])])])):v.createCommentVNode("",!0)],64))}}),lB=Ea(t8e,[["__scopeId","data-v-3e72521a"]]),i8e={class:"pv-flex"},o8e={class:"pv-flex"},s8e={class:"pv-flex-vertical pv-space-between pv-full-width",style:{height:"100%","overflow-x":"hidden"}},n8e={class:"pv-flex-vertical pv-full-width"},r8e={class:"pv-flex pv-inset-squish pv-full-width pv-space-between"},a8e={class:"pv-text-title-lg"},l8e={class:"pv-full-width pv-inset-inline-24"},c8e={class:"pv-details",open:""},d8e={class:"pv-flex pv-stack-8",style:{width:"fit-content"}},u8e={class:"pv-text-title-lg"},h8e={class:"pv-inset-block-8"},p8e={class:"pv-sticky pv-border-top pv-full-width pv-inset-squish pv-flex pv-space-between pv-surface",style:{"--top":"unset",bottom:"0"}},g8e={class:"pv-flex"},cB=5,f8e=v.defineComponent({__name:"FilterPanel",props:{enableFocusView:{type:Boolean,default:!1},enableVerticalPanel:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1}},emits:["handle-settings-icon"],setup(e){const t=v.inject("gridApi"),i=v.inject("availableFilterColumns"),o=v.inject("currentlyActiveFilter"),{filterModelCleared:s,prevFilterModel:n,filterModel:r}=sw(),a=v.ref(null),l=v.computed(()=>{const m=[...i.value].slice(0,cB);return o.value?[...m.slice(0,cB-1),o.value]:m}),c=v.computed(()=>{const m=r.value||{};return Object.keys(m).length}),d=v.ref(!1),u=()=>{d.value=!0},h=()=>{d.value=!1,n.value=t.value.getFilterModel(),a.value?.showModal()},{clearAllFocuses:p}=iw(),g=()=>{n.value=null,t.value.setFilterModel(null),t.value.onFilterChanged(),s.value+=1,p()},f=()=>{n.value&&t.value.setFilterModel(n.value),n.value=null,a.value?.close()},y=()=>{t.value.onFilterChanged(),a.value?.close(),s.value+=1};return(m,C)=>(v.openBlock(),v.createElementBlock("div",i8e,[(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(l.value,S=>(v.openBlock(),v.createElementBlock(v.Fragment,{key:S.field},[v.unref(t)?(v.openBlock(),v.createBlock(lB,{key:0,"enable-focus-view":m.enableFocusView,"display-preferences-icon":m.displayPreferencesIcon,filterColDef:S,onHandleSettingsIcon:C[0]||(C[0]=x=>m.$emit("handle-settings-icon",x))},null,8,["enable-focus-view","display-preferences-icon","filterColDef"])):v.createCommentVNode("",!0)],64))),128)),v.createElementVNode("div",o8e,[m.enableVerticalPanel?(v.openBlock(),v.createBlock(v.unref(An),{key:0,class:"pv-button-ghost pv-stack-8 pv-inset-block",label:"All Filters",onClick:h,variant:"ghost","left-icon":"filter"})):v.createCommentVNode("",!0),c.value>0?(v.openBlock(),v.createElementBlock("button",{key:1,class:"pv-button-ghost pv-stack-8 pv-inset-block",onClick:C[1]||(C[1]=S=>g()),style:{"--inset-size":"6px"}},[v.createVNode(v.unref(Li),{name:"close"}),C[8]||(C[8]=v.createTextVNode(" Clear All Filters ")),c.value>0?(v.openBlock(),v.createBlock(v.unref(Gm),{key:0,value:c.value,variant:"tertiary"},null,8,["value"])):v.createCommentVNode("",!0)])):v.createCommentVNode("",!0)]),m.enableVerticalPanel?(v.openBlock(),v.createElementBlock("dialog",{key:0,ref_key:"filterDrawer",ref:a,id:"filter-vertical-drawer",class:"pv-drawer pv-surface",onClick:C[7]||(C[7]=v.withModifiers(S=>f(),["self"])),style:{"max-width":"450px"}},[v.createElementVNode("div",s8e,[v.createElementVNode("div",n8e,[v.createElementVNode("div",r8e,[v.createElementVNode("p",a8e," All Filters ("+v.toDisplayString(v.unref(i).length)+") ",1),v.createElementVNode("button",{class:"pv-button-ghost",onClick:C[2]||(C[2]=S=>f())},[v.createVNode(v.unref(Li),{name:"close"})])]),v.createElementVNode("div",l8e,[(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(v.unref(i),(S,x)=>(v.openBlock(),v.createElementBlock("div",{key:S.field,class:v.normalizeClass([{"pv-border-bottom":x<v.unref(i).length-1},"pv-stack-12"])},[v.createElementVNode("details",c8e,[v.createElementVNode("summary",d8e,[v.createElementVNode("span",u8e,v.toDisplayString(S.headerName),1)]),v.createElementVNode("div",h8e,[v.unref(t)?(v.openBlock(),v.createBlock(lB,{key:0,"filter-style":"vertical","enable-focus-view":m.enableFocusView,filterColDef:S,"display-preferences-icon":m.displayPreferencesIcon,onFilterSelectionChanged:u,onHandleSettingsIcon:C[3]||(C[3]=D=>m.$emit("handle-settings-icon",D))},null,8,["enable-focus-view","filterColDef","display-preferences-icon"])):v.createCommentVNode("",!0)])])],2))),128))])]),v.createElementVNode("div",p8e,[v.createElementVNode("button",{class:"pv-button-ghost",onClick:C[4]||(C[4]=S=>g())}," Clear All "),v.createElementVNode("div",g8e,[v.createVNode(v.unref(An),{variant:"ghost",label:"Cancel",onClick:C[5]||(C[5]=S=>f())}),d.value?(v.openBlock(),v.createBlock(v.unref(An),{key:0,variant:"primary",label:"Apply",onClick:C[6]||(C[6]=S=>y())})):(v.openBlock(),v.createBlock(v.unref(An),{key:1,variant:"primary",label:"No Changes",disabled:""}))])])])],512)):v.createCommentVNode("",!0)]))}}),m8e={class:"pv-flex"},y8e={key:0,class:"pv-flex ag-header-actions"},v8e=v.defineComponent({__name:"HeaderCellRenderer",props:{params:{}},setup(e,{expose:t}){const i=e,o=v.ref(!1),s=v.ref(!1),n=v.ref(null),r=v.ref(null),a=v.ref(null),l=v.ref(!1),c=v.computed(()=>{const S=i.params.column.getColDef();return S.sortable||S.filter||S.enableRowGroup}),d=v.inject("sortState"),u=v.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=v.computed(()=>s.value?{cursor:"pointer"}:{}),p=v.computed(()=>l.value?{opacity:1}:{}),g=()=>{l.value=!1},f=()=>{l.value=!0,a.value&&i.params.showColumnMenu(a.value,g)},y=S=>{o.value=S.enableFilterButton,s.value=S.enableSorting||!1,n.value=S.displayName,r.value=S_e(S.column.getColDef().context?.dataType),n.value=x_e(n.value,S.column.getColDef().context?.dataType)},m=()=>{s.value&&i.params.progressSort(!1)};v.onBeforeMount(()=>{y(i.params)});function C(S){return y(S),!0}return t({refresh:C}),(S,x)=>(v.openBlock(),v.createElementBlock("div",{class:"ag-custom-header-cell pv-flex pv-full-width pv-space-between",style:v.normalizeStyle(h.value),onClick:m},[v.createElementVNode("div",m8e,[r.value?(v.openBlock(),v.createBlock(Li,{key:0,name:r.value,class:"pv-text-subdued"},null,8,["name"])):v.createCommentVNode("",!0),v.createElementVNode("p",null,v.toDisplayString(n.value),1),s.value&&u.value!==""?(v.openBlock(),v.createBlock(Li,{key:1,name:u.value},null,8,["name"])):v.createCommentVNode("",!0)]),c.value?(v.openBlock(),v.createElementBlock("div",y8e,[v.createElementVNode("div",{ref_key:"menuButton",ref:a,class:"ag-header-cell-menu-button",style:v.normalizeStyle(p.value)},[v.createVNode(An,{size:"xl",variant:"ghost","left-icon":"menu",onClick:v.withModifiers(f,["stop","prevent"])})],4)])):v.createCommentVNode("",!0)],4))}}),dB=Ea(v8e,[["__scopeId","data-v-054d9038"]]),b8e=ML.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"}),C8e=ML.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"}),S8e={class:"pv-popover-menu"},x8e={class:"pv-popover",style:{"--height":"auto"}},w8e=["disabled"],M8e=v.defineComponent({__name:"ExportMenu",props:{getCsvData:{type:Function}},setup(e){const t=e,i=v.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)=>(v.openBlock(),v.createElementBlock("nav",S8e,[n[0]||(n[0]=v.createElementVNode("button",{type:"button",class:"pv-button-icon"},[v.createElementVNode("svg",{"aria-hidden":"true",class:"pv-icon-24"},[v.createElementVNode("title",null,"ellipsis"),v.createElementVNode("use",{"xlink:href":"#ellipsis"})])],-1)),v.createElementVNode("div",x8e,[v.createElementVNode("button",{class:"pv-button pv-text-body-sm pv-inset-square-8",onClick:v.withModifiers(o,["prevent"]),disabled:i.value},[i.value?(v.openBlock(),v.createElementBlock(v.Fragment,{key:0},[v.createTextVNode("Exporting...")],64)):(v.openBlock(),v.createElementBlock(v.Fragment,{key:1},[v.createTextVNode("Download CSV")],64))],8,w8e)])]))}}),D8e={key:1,class:""},k8e=v.defineComponent({__name:"PaginationPanel",props:{panelSize:{default:"xl"}},setup(e){B6.registerModules([SAe]);const t=v.inject("gridApi"),i=v.inject("currentPage"),o=v.inject("totalPages"),s=e,n=v.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)=>(v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(["pv-flex",{"pv-hide":v.unref(o)<=1}])},[v.createVNode(An,{variant:"ghost",onClick:r,disabled:v.unref(i)===1,size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-left"},null,8,["disabled","size"]),(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(n.value,u=>(v.openBlock(),v.createElementBlock(v.Fragment,{key:u},[typeof u=="number"?(v.openBlock(),v.createBlock(An,{key:0,variant:u===v.unref(i)?"primary":"ghost",size:s.panelSize==="l"?"md":"lg",onClick:h=>l(u),label:u.toString()},null,8,["variant","size","onClick","label"])):(v.openBlock(),v.createElementBlock("span",D8e,"..."))],64))),128)),v.createVNode(An,{variant:"ghost",onClick:a,disabled:v.unref(i)===v.unref(o),size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-right"},null,8,["disabled","size"])],2))}});function I8e(){}function A8e(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 uB(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function hB(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const R8e="[object RegExp]",T8e="[object String]",L8e="[object Number]",E8e="[object Boolean]",pB="[object Arguments]",P8e="[object Symbol]",N8e="[object Date]",O8e="[object Map]",F8e="[object Set]",B8e="[object Array]",G8e="[object Function]",z8e="[object ArrayBuffer]",D1="[object Object]",_8e="[object Error]",V8e="[object DataView]",H8e="[object Uint8Array]",W8e="[object Uint8ClampedArray]",j8e="[object Uint16Array]",$8e="[object Uint32Array]",U8e="[object BigUint64Array]",K8e="[object Int8Array]",Y8e="[object Int16Array]",X8e="[object Int32Array]",Z8e="[object BigInt64Array]",q8e="[object Float32Array]",Q8e="[object Float64Array]";function gB(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 J8e(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function eVe(e,t,i){return ff(e,t,void 0,void 0,void 0,void 0,i)}function ff(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 Wf(e,t,n,r)}return Wf(e,t,n,r)}function Wf(e,t,i,o){if(Object.is(e,t))return!0;let s=hB(e),n=hB(t);if(s===pB&&(s=D1),n===pB&&(n=D1),s!==n)return!1;switch(s){case T8e:return e.toString()===t.toString();case L8e:{const l=e.valueOf(),c=t.valueOf();return J8e(l,c)}case E8e:case N8e:case P8e:return Object.is(e.valueOf(),t.valueOf());case R8e:return e.source===t.source&&e.flags===t.flags;case G8e: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 O8e:{if(e.size!==t.size)return!1;for(const[l,c]of e.entries())if(!t.has(l)||!ff(c,t.get(l),l,e,t,i,o))return!1;return!0}case F8e:{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=>ff(u,p,void 0,e,t,i,o));if(h===-1)return!1;c.splice(h,1)}return!0}case B8e:case H8e:case W8e:case j8e:case $8e:case U8e:case K8e:case Y8e:case X8e:case Z8e:case q8e:case Q8e:{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(!ff(e[l],t[l],l,e,t,i,o))return!1;return!0}case z8e:return e.byteLength!==t.byteLength?!1:Wf(new Uint8Array(e),new Uint8Array(t),i,o);case V8e:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Wf(new Uint8Array(e),new Uint8Array(t),i,o);case _8e:return e.name===t.name&&e.message===t.message;case D1:{if(!(Wf(e.constructor,t.constructor,i,o)||gB(e)&&gB(t)))return!1;const c=[...Object.keys(e),...uB(e)],d=[...Object.keys(t),...uB(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(!ff(p,g,h,e,t,i,o))return!1}return!0}default:return!1}}finally{i.delete(e),i.delete(t)}}function Ob(e,t){return eVe(e,t,I8e)}const tVe={key:0,class:"pv-tag"},iVe=v.defineComponent({__name:"TagCellRenderer",props:{params:{}},setup(e){const t=e,i=v.computed(()=>{const o=t.params.valueFormatted||t.params.value||"";return o.trim()===""?null:o});return(o,s)=>i.value?(v.openBlock(),v.createElementBlock("div",tVe,v.toDisplayString(i.value),1)):v.createCommentVNode("",!0)}}),oVe={key:0,class:"pv-table-row-number"},sVe=v.defineComponent({__name:"RowCountCellRenderer",props:{params:{}},setup(e){const t=e,i=v.computed(()=>(t.params.node?.rowIndex||0)+1),o=v.computed(()=>{const n=t.params.column?.getColDef()?.context,r=t.params.valueFormatted||t.params.value;return n&&n.dataType&&[xs.Currency,xs.Percent,xs.Number,xs.Integer].includes(n.dataType)?r.toLocaleString():r});return(s,n)=>(v.openBlock(),v.createElementBlock("div",null,[v.createElementVNode("p",null,[i.value?(v.openBlock(),v.createElementBlock("span",oVe,v.toDisplayString(i.value),1)):v.createCommentVNode("",!0),v.createTextVNode(" "+v.toDisplayString(o.value),1)])]))}}),nVe=Ea(sVe,[["__scopeId","data-v-ae67b797"]]),rVe={style:{"background-color":"white"},class:"pv-inset-square-8 pv-bordered-md pv-text-md"},aVe={style:{color:"black"}},lVe=v.defineComponent({__name:"TableTooltip",props:{params:{}},setup(e){return(t,i)=>(v.openBlock(),v.createElementBlock("div",rVe,[v.createElementVNode("p",aVe,v.toDisplayString(t.params.value),1)]))}}),cVe={class:"pv-stack-8"},dVe={class:"pv-flex pv-space-between"},uVe={class:"pv-flex"},hVe={key:0,class:"pv-table-overlay"},pVe={class:"pv-text-body-xs pv-text-center",style:{"padding-top":"50px"}},gVe=v.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"],setup(e,{expose:t,emit:i}){const o=[kIe,DIe,eMe,WRe,PIe,zIe,KLe,YLe,sTe,XTe,fAe,sAe,MAe];e7.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(mke);const r=v.computed(()=>({height:`${n.containerHeight}px`,minHeight:`${n.containerMinHeight}px`})),a=v.computed(()=>n.theme?n.theme:C.value.length>0?C8e:b8e),l=i,c="serverSideRowHandler"in n&&n.serverSideRowHandler?{getRows:q=>{if(!D.value){q.success({rowData:[]});return}n.serverSideRowHandler?.(q)}}:null,d="filterValuesSetHandler"in n&&n.filterValuesSetHandler?async q=>{let he={...M.value};!S.value&&n.initialGridState&&(he=n.initialGridState.filter?.filterModel||{});const Ie=await N(q.api,q.colDef,q.column,he);q.success([...Ie,""])}:null,u=q=>{const he=q.node,Ie=q.column?.getColId();return!he.group||!Ie?!1:V.value.some(Ve=>{if(Ve.field===Ie)return!0})},h=(()=>{const q={suppressHeaderFilterButton:!0,editable:!1,sortable:!0,suppressHeaderMenuButton:!0,suppressColumnsToolPanel:!0,minWidth:200,flex:1,headerComponent:dB,cellDataType:!1,tooltipComponent:lVe,cellRendererSelector:he=>{if(u(he))return{component:A_e,params:he};if(!he.column?.getColDef().cellRenderer&&n.displayRowNumber&&C.value.length===0){const Ie=he.api.getAllDisplayedColumns()||[],Ve=he.column;if(Ie.findIndex(no=>no===Ve)===0)return{component:nVe,params:he}}}};return c&&d&&(q.filterParams={values:d}),q})(),p=v.ref(void 0),g={name:"Column Filter",icon:'<span class="ag-icon ag-icon-filter"></span>',action:function(q){let he=q.column?.getColId();if(q.column&&X(q.column)&&(he=z.value?.getColId()||""),!fe(he)){const Ve=q.api.getColumn(he)?.getColDef();Ve&&(m.value=Ve,v.nextTick(()=>{fe(he)}))}}},f=(q,he)=>{const Ie={...q};return he.isArrayField&&!q.valueFormatter?Ie.valueFormatter=Ve=>Eve(Ve,he.dataType):he.dataType===xs.Percent&&!q.valueFormatter?Ie.valueFormatter=Ve=>Tve(Ve,he.valueDecimals||0):he.dataType===xs.Currency&&!q.valueFormatter?Ie.valueFormatter=Ve=>I9(Ve,he.valueDecimals||0):he.dataType===xs.Integer&&!q.valueFormatter?Ie.valueFormatter=Lve:he.dataType===xs.Tag&&!q.cellRenderer&&(Ie.cellRenderer=iVe),Ie},y=v.computed(()=>!n.colDefs||n.colDefs.length===0?[]:n.colDefs.map(q=>{const he=q.context;return he?f(q,he):q})),m=v.ref(null),C=v.ref([]),S=v.ref(!1),x=v.computed(()=>{if(C.value.length>0){const q=C.value[0],he=y.value.find(Ve=>Ve.field===q);if((!M.value||!M.value[q])&&he?.context?.filterRequiredToGroup)return he.headerName}return null}),D=v.computed(()=>(!M.value||Object.keys(M.value).length===0)&&n.requireFiltersToShowData?!1:x.value===null),A=v.computed(()=>x.value?`Select at least one value for "${x.value}" to view data.`:"Select a filter to view data."),k=v.shallowRef(null),w=v.ref([]),{filterModel:M,filterValuesLoadingStatus:R,filterValueMap:L,filterValueSelectedMetadataMap:P,fetchFilterValues:N,filterStoreHandler:O}=sw();O.value=n.filterValuesSetHandler,L.value=n.initialFilterValueMap||{};const F=v.ref(null),G=v.computed(()=>y.value.filter(q=>q.filter)),_=v.computed(()=>y.value.filter(q=>q.enableRowGroup)),V=v.computed(()=>y.value.filter(q=>q.aggFunc)),z=v.ref(null),H=v.ref({}),B=v.ref(1),j=v.ref(0);v.provide("filterModel",M),v.provide("sortState",w),v.provide("gridApi",k),v.provide("columnDisplayOrder",F),v.provide("currentlyActiveFilter",m),v.provide("availableFilterColumns",G),v.provide("availableRowGroupColumns",_),v.provide("rowGroupColumnFields",C),v.provide("groupColumnCellValueColumn",z),v.provide("expandedRows",H),v.provide("firstDataRendered",S),v.provide("filterValuesLoadingStatus",R),v.provide("displayUnfilteredTableData",D),v.provide("currentPage",B),v.provide("totalPages",j),v.provide(sW,{focuses:v.ref([]),focusType:v.ref(null)});const $=q=>{if(k.value=q.api,n.initialGridState){const he=n.initialGridState.filter?.filterModel||null;he&&k.value.setFilterModel(he)}if(C.value.length>0){const he=C.value[0];z.value=q.api.getColumn(he),q.api.setColumnsVisible([he],!1)}F.value=q.api.getAllGridColumns(),B.value=q.api.paginationGetCurrentPage()+1,j.value=q.api.paginationGetTotalPages(),l("grid-ready",q)},U=q=>{if(k.value){const he=q.api.getFilterModel();Ob(M.value,he)||(M.value=he,l("filter-changed",q))}},ee=q=>{w.value=q.api?.getState()?.sort?.sortModel||[],l("sort-changed",q)},X=q=>q.getColId()&&q.getColId().includes("ag-Grid-AutoColumn"),J=v.ref(!1),se=async q=>{if(!k.value){console.error("Grid API not available");return}const he=q||{route:[],purge:!0};k.value.refreshServerSide(he)},Y=()=>P.value,ie=async()=>{if(J.value=!0,!k.value)return console.error("Grid API not available"),J.value=!1,null;try{const q=n.serverSideCsvHandler,he=k.value?.getState(),Ie={rowGroupCols:[],valueCols:k.value?.getValueColumns().map(rt=>({id:rt.getId(),field:rt.getColDef().field,aggFunc:typeof rt.getColDef().aggFunc=="string"?rt.getColDef().aggFunc:void 0,displayName:rt.getColDef().headerName||rt.getColDef().field||""}))||[],filterModel:he?.filter?.filterModel||{},sortModel:he?.sort?.sortModel||[],pivotCols:[],pivotMode:!1,groupKeys:[],startRow:0,endRow:n.csvRowLimit};if(q){const rt={request:Ie,parentNode:{},api:k.value,context:void 0,success:()=>{},fail:()=>{}};return await n.serverSideCsvHandler(rt),J.value=!1,null}const Ve=n.serverSideRowHandler;return Ve?await new Promise((rt,no)=>{const Wo=k.value?.getState(),Oa={request:Ie,parentNode:{},api:k.value,context:void 0,success:kg=>{const nw=k.value?.getRowGroupColumns().map(Fs=>Fs.getColDef().field).filter(Fs=>!!Fs)||[],cW=k.value?.getAllDisplayedColumns().map(Fs=>Fs.getColDef().field).filter(Fs=>!!Fs)||[],dW=k.value?.getValueColumns().map(Fs=>Fs.getColDef().field).filter(Fs=>!!Fs)||[],uW=Array.from(new Set([...nw,...cW,...dW])),hW=kg.rowData.map(Fs=>{const _L={};return uW.forEach(VL=>{const HL=Fs[VL];_L[VL]=HL!=null?String(HL):null}),_L}),pW=iEe.unparse(hW);J.value=!1,rt(pW)},fail:()=>{J.value=!1,no("CSV export failed.")}};Ve(Oa,!0)}):(console.warn("Client-side export does not return CSV string"),J.value=!1,k.value.exportDataAsCsv(),null)}catch(q){return console.error("CSV export failed",q),J.value=!1,null}},Z=q=>{const he=z.value,Ie=q.api.getRowGroupColumns();C.value=[...Ie].map(no=>no.getColId());const Ve=Ie.length>0?Ie[0]:null;Ve?(z.value=Ve,K.value.headerName=Ve.getColDef().headerName,K.value.headerComponent=dB,K.value.context={dataType:z.value?.getColDef().context?.dataType||null},q.api.setColumnsVisible([Ve.getColId()],!1)):(z.value=null,K.value.headerName="",K.value.headerComponent=void 0,K.value.context=null);const rt=he?.getColId();(!Ve||rt!==Ve.getColId())&&q.api.setColumnsVisible([rt||""],!0),l("column-row-group-changed",q)},ne=q=>{const he=q.column?.getColId()||"";if(he===z.value?.getColId()){q.api.setColumnsVisible([he],!1);return}},le=q=>{q.finished&&(F.value=q.api.getAllGridColumns()),l("column-moved",q)},de=q=>{q.api&&(B.value=q.api.paginationGetCurrentPage()+1,j.value=q.api.paginationGetTotalPages())},re=q=>"allChildrenRowCount"in q&&q.allChildrenRowCount||0,fe=q=>{const he=document.querySelector(`[data-horizontal-filter-field="${q}"]`);if(he){const Ie=he.querySelector("button");if(Ie)return Ie.click(),!0}return!1},Me=v.ref(p_e),W=v.ref({loadingMessage:"One moment please..."}),K=v.ref({headerName:"",minWidth:200,suppressMovable:!0,sortable:!1,pinned:"left",headerComponent:void 0,cellRendererParams:{suppressCount:!0,innerRenderer:C_e,innerRendererParams:q=>({displayBaseAggregationsOnly:n.displayBaseAggregationsOnly,displayRowNumber:n.displayRowNumber,displayCount:n.displayGroupCount,formattedValue:q.valueFormatted,rowNode:q.node,api:k.value})}}),te=q=>{if(q.node.group)return{backgroundColor:"#F7F8F8"}},ae={Median:q=>{const he=q.values;if(q.rowNode.leafGroup){const rt=rB(he);return{values:he,value:rt}}const Ie=q.values.flatMap(rt=>rt.values||[]),Ve=rB(Ie);return{values:Ie,value:Ve}}};v.onBeforeMount(()=>{const q=Array.isArray(n.rowData)&&n.rowData.length>0,he=typeof n.serverSideRowHandler=="function",Ie=typeof n.filterValuesSetHandler=="function";(q&&he||q&&Ie)&&console.warn("Only one of `rowData` or `serverSideRowHandler + hasFilterValuesSetHandler` params should be provided to PvDataTable, not both."),p.value=Ve=>{const rt=["sortAscending","sortDescending","sortUnSort","rowUnGroup","valueAggSubMenu"],no=Ve.column&&X(Ve.column)?z.value:Ve.column;return no&&no.getColDef().filter&&rt.splice(2,0,g),rt.filter(Wo=>typeof Wo=="string"?Ve.defaultItems.includes(Wo):!0)}});const be=q=>{const he=k.value;if(!he)return;const Ie=q.filter?.filterModel||null,Ve=q.rowGroup?.groupColIds||null,rt=q.columnVisibility||null;Ie&&!Ob(Ie,Ie.value)&&he.setFilterModel(Ie),Ve&&!Ob(Ve,C.value)&&he.setRowGroupColumns(Ve),rt&&!Ob(rt,F.value)&&he.setColumnsVisible(rt.hiddenColIds,!1)};v.watch(()=>n.initialGridState,()=>{n.initialGridState&&be(n.initialGridState)},{deep:!0}),v.onMounted(()=>{n.initialGridState&&(M.value=n.initialGridState.filter?.filterModel||null,C.value=n.initialGridState.rowGroup?.groupColIds||[])});const Ce=q=>{S.value=!0,l("first-data-rendered",q)};t({getCsvData:ie,refreshData:se,getFilterValueSelectedMetadataMap:Y});const ke=q=>c?q.rowNode.level===C.value.length-2:!1,je=v.computed(()=>{if(!c)return n.groupDefaultExpanded});return(q,he)=>(v.openBlock(),v.createElementBlock("div",{class:"pv-full-width",style:v.normalizeStyle(r.value)},[v.createElementVNode("div",cVe,[v.createElementVNode("div",dVe,[G.value.length>0?(v.openBlock(),v.createBlock(f8e,{key:0,"enable-focus-view":q.enableFocusView,"enable-vertical-panel":q.enableVerticalFilterPanel,"display-preferences-icon":q.displayPreferencesIcon,onHandleSettingsIcon:he[0]||(he[0]=Ie=>q.$emit("handle-settings-icon",Ie))},null,8,["enable-focus-view","enable-vertical-panel","display-preferences-icon"])):v.createCommentVNode("",!0),v.createElementVNode("div",uVe,[q.enableGroupBySelector&&q.rowGroupLimit!==0?(v.openBlock(),v.createBlock(c_e,{key:0,rowGroupLimit:q.rowGroupLimit,enableFocusView:q.enableFocusView},null,8,["rowGroupLimit","enableFocusView"])):v.createCommentVNode("",!0),q.enableCsvExport?(v.openBlock(),v.createBlock(M8e,{key:1,getCsvData:ie})):v.createCommentVNode("",!0)])])]),v.createElementVNode("div",{class:v.normalizeClass(["pv-relative pv-stack-8",q.hideTable?"pv-hide":""]),style:{width:"100%",height:"90%","border-bottom":"1px solid #d2d7db"}},[v.createVNode(v.unref(NAe),v.mergeProps({ref:"gridRef",style:{width:"100%",height:"100%"}},v.unref(c)?{serverSideDatasource:v.unref(c)}:{},{onColumnMoved:le,onColumnRowGroupChanged:Z,onColumnVisible:ne,onFilterChanged:U,onFilterOpened:he[1]||(he[1]=Ie=>l("filter-opened",Ie)),onFirstDataRendered:Ce,onGridReady:$,onPaginationChanged:de,onSortChanged:ee,aggFuncs:ae,autoGroupColumnDef:K.value,columnDefs:y.value,debug:q.debugMode,defaultColDef:v.unref(h),getChildCount:re,getMainMenuItems:p.value,getRowStyle:te,groupDefaultExpanded:je.value,groupDisplayType:"singleColumn",initialState:q.initialGridState,isGroupOpenByDefault:v.unref(c)?void 0:n.isClientSideGroupOpenByDefault,isServerSideGroupOpenByDefault:ke,loading:v.unref(c)?!1:q.isLoading,loadingCellRenderer:Me.value,loadingCellRendererParams:W.value,maxConcurrentDatasourceRequests:v.unref(c)?10:void 0,modules:o,rowData:q.rowData,rowHeight:q.rowHeight,rowModelType:v.unref(c)?"serverSide":"clientSide",serverSideInitialRowCount:v.unref(c)?1:void 0,showOpenedGroup:!0,suppressAggFuncInHeader:!0,suppressColumnMoveAnimation:!0,suppressDragLeaveHidesColumns:!0,serverSideSortAllLevels:!1,serverSideEnableClientSideSort:!1,theme:a.value,pagination:q.pagination,suppressPaginationPanel:!0,paginationPageSize:q.paginationPageSize,suppressScrollOnNewData:!0,"tooltip-show-delay":q.tooltipShowDelay,"tooltip-hide-delay":q.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?v.createCommentVNode("",!0):(v.openBlock(),v.createElementBlock("div",hVe,[v.createElementVNode("p",pVe,v.toDisplayString(A.value),1)]))],2),q.pagination?(v.openBlock(),v.createBlock(k8e,{key:0})):v.createCommentVNode("",!0)],4))}}),fVe={class:"pv-stack-16 pv-chart-options-panel"},mVe={class:"pv-flex"},yVe=v.defineComponent({__name:"PvChartOptionsPanel",props:{enablePanel:{type:Boolean},chartFilter:{}},setup(e){const t=e,i=v.inject("activeChartType"),o=v.inject("activeSort"),s=v.inject("chartTypes"),n=v.inject("sortTypes"),r=v.inject("rowGroupColumns"),a=v.inject("activeChartFilterOption"),l=v.computed(()=>{const d=[];return t.chartFilter&&t.chartFilter.options?t.chartFilter.options.map(u=>({label:u.label,value:u.value})):d}),c=v.computed(()=>(r.value.length>1?["bar_stacked","line","column_stacked","area"]:["bar","line","column","area"]).includes(i.value?.id));return v.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(y=>y.id===g);if(f){i.value=f;return}}i.value=d[0]}),(d,u)=>(v.openBlock(),v.createElementBlock("div",fVe,[v.createElementVNode("div",null,[v.createElementVNode("div",{class:"pv-flex pv-space-between",style:v.normalizeStyle(d.chartFilter?{"--flex-justify":"flex-end"}:{})},[(v.openBlock(),v.createBlock(c2e,{key:0,options:l.value,modelValue:v.unref(a),"onUpdate:modelValue":u[0]||(u[0]=h=>v.isRef(a)?a.value=h:null)},null,8,["options","modelValue"])),v.createElementVNode("div",mVe,[v.createVNode(JD,{class:v.normalizeClass({"pv-hide":!c.value}),label:"Sort By",modelValue:v.unref(o),"onUpdate:modelValue":u[1]||(u[1]=h=>v.isRef(o)?o.value=h:null),options:v.unref(n),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["class","modelValue","options"]),v.createVNode(JD,{label:"Select Chart Type",modelValue:v.unref(i),"onUpdate:modelValue":u[2]||(u[2]=h=>v.isRef(i)?i.value=h:null),options:v.unref(s),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["modelValue","options"])])],4)])]))}}),vVe=[{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"}],bVe=[{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"}],CVe={style:{height:"100%",width:"100%"}},SVe={class:"pv-relative pv-margin-auto"},xVe={key:0,class:"pv-chart-overlay pv-text-body-xs"},wVe=v.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"],setup(e,{expose:t,emit:i}){const o=e,s=i,n=v.ref(null),r=v.ref(null),a=v.ref(null),{setFilterSelectedValues:l}=sw(),c=W=>{n.value=W.api,s("grid-ready",W)},d=W=>{S.value=[...W.api.getRowGroupColumns()],$(W.api),X(W.api),s("column-row-group-changed",W)},u=async W=>{if(o.chartFilter){const te=(await W.api.getColumnFilterInstance(o.chartFilter.colId))?.getModel();R.value=te?.values?.[0]||""}X(W.api),s("filter-changed",W)},h=v.ref([]);function p(W,K,te=!0){return ae=>{ae.data=x.value?.find(he=>he[W]===ae.value);let be="";const Ce=f(W),ke=w_e(Ce);if(o.truncateLabelValues&&te&&ke&&!isNaN(Number(ae.value))){if(H.value){const no=ae.datum?.[A.value],Oa=D.value?.find(nw=>nw[A.value]===no)?.[`${k.value}_sort_total`]||1/0;if(ae.value/Oa<.05)return""}let he=0;M_e(Ce,xs.Percent)&&(he=2);const Ie=A8e(ae.value,he),{newValue:Ve,newSuffix:rt}=D_e(Ie);ae.value=Ve,be=rt}let q=ae.value;return K&&(q=K(ae)),q+be}}const g=(W,K=!1)=>{if(!W)return;const te=f(W);return te&&typeof te.valueFormatter=="function"?p(W,te.valueFormatter,K):p(W,null,K)},f=W=>!W||!n.value?null:n.value?.getColumnDef(W),y=v.computed(()=>(S.value.length>1?bVe:vVe).filter(K=>o.enabledChartTypes?.includes(K.id))),m=v.ref(void 0),C=v.ref([{text:"Lowest to Highest",id:"asc",icon:"arrow-up-wide-narrow"},{text:"Highest to Lowest",id:"desc",icon:"arrow-down-narrow-wide"}]),S=v.ref([]),x=v.ref([]),D=v.ref([]),A=v.ref("provider_name"),k=v.computed(()=>o.yKey),w=v.ref(null),M=v.ref(void 0),R=v.ref("");v.provide("activeChartFilterOption",R),v.provide("rowGroupColumns",S),v.provide("chartTypes",y),v.provide("sortTypes",C),v.provide("activeChartType",m),v.provide("activeSeries",k),v.provide("activeSort",M),v.watch(()=>o.chartType,W=>{const K=y.value.find(te=>te.id===W);K?m.value=K:m.value=y.value[0]}),v.watch(R,W=>{if(o.chartFilter&&n.value){const K=o.chartFilter.colId;let te=o.chartFilter.options.find(ae=>ae.value===W)?.filterValues||null;te&&te.length===0&&(te=null),l(K,te||[]),n.value.setColumnFilterModel(K,{values:te}).then(()=>{n.value?.onFilterChanged()})}});const L=v.computed(()=>{const W=h.value.find(K=>K.value===k.value);return W?W.label:""}),P=v.computed(()=>m.value?.id.includes("bar")),N=v.computed(()=>S.value.length>1),O=(W,K)=>`${W}_${K}`,F=v.computed(()=>{if(h.value.length===0)return[];const W=z.value?"bar":m.value?.id||"";return["bar","line","area"].includes(W)?B.value:W==="pie"?j.value:(console.error("Unsupported chart type",W),[])}),G=v.computed(()=>o.showSeriesLabels),_=W=>{let K=W.datum[W.xKey];const te=g(W.xKey);te&&typeof te=="function"&&(K=te({value:K}));const ae=W.yKey;let be=W.datum[ae];const Ce=g(ae);return Ce&&typeof Ce=="function"&&(be=Ce({value:be})),{heading:K,data:[{label:L.value,value:be}]}},V=W=>{const K=o.focusCategory||"";W.datum[A.value]},z=v.computed(()=>m.value?.id.includes("column")||m.value?.id.includes("bar")),H=v.computed(()=>m.value?.id.includes("stacked")),B=v.computed(()=>{const W=H.value,K=z.value?"bar":m.value?.id;let te=[];const ae=g(k.value,!0),be=g(w.value?.fieldName,!0);if(N.value)w.value?.fieldValues.forEach(je=>{const q={type:K,xKey:A.value,yKey:O(k.value,je),yName:typeof be=="function"?be({value:je}):je,stacked:W,label:{enabled:G.value,color:W?"white":"black",fontFamily:"Inter",padding:5,fontSize:11,placement:W?"inside-end":"outside-end",formatter:ae},itemStyler:V};te.push(q)});else{const ke={type:K,xKey:A.value,yKey:k.value,tooltip:{renderer:_},label:{enabled:G.value,color:"black",fontFamily:"Inter",padding:5,fontSize:11,placement:"outside-end",formatter:ae},itemStyler:V};te.push(ke)}let Ce={};if(K==="column"||K==="bar"){const ke=Ce;ke.direction=P.value?"horizontal":"vertical",Ce=ke}else if(K==="line"||K==="area"){const ke=Ce;ke.connectMissingData=!0,Ce=ke}return te=te.map(ke=>({...ke,...Ce})),te}),j=v.computed(()=>h.value.length===0?[]:[{type:"pie",legendItemKey:A.value,angleKey:k.value}]),$=W=>{const K=W.getAllGridColumns().filter(te=>te.getAggFunc()!==null&&te.getAggFunc()!==void 0);A.value=S.value[0]?.getColId()||"",h.value=K.map(te=>{const ae=te.getColId(),be=te.getColDef();return{label:be.headerName||ae,value:ae,formatter:be.valueFormatter,dataType:be.context?.dataType}})};v.watch(k,W=>{s("chart-series-changed",{api:n.value,seriesField:W})});const U=()=>{x.value=[],D.value=[],w.value=null},ee=(W,K)=>{if(!W||W.length===0){U();return}if(K){const te=A.value,ae=new Set;W.forEach(Ce=>{const ke=Ce[K];ae.add(ke)});const be=W.reduce((Ce,ke)=>{const je=ke[te];Ce[je]||(Ce[je]={});const q=ke[K];for(const he of h.value){const Ie=he.value;let Ve=Ce[`${Ie}_sort_total`]||0;const rt=ke[Ie];ae.add(q),K&&rt&&(Ce[je][O(Ie,q)]=rt,Ve=Ve+rt),Ce[je][`${Ie}_sort_total`]=Ve}return Ce},{});D.value=Object.keys(be).map(Ce=>({[te]:Ce,...be[Ce]})),w.value={fieldName:K,fieldValues:Array.from(ae)}}else D.value=[],w.value=null;x.value=W},X=W=>{if(o.overrideChartData)return;const K=S.value.length;if(U(),K===0||h.value.length===0)return;const te=[],ae=[];let be=new Set;if(W.forEachNodeAfterFilterAndSort(Ce=>{if(Ce.group&&Ce.level===0){if(S.value.length>1){const je=Ce.childrenAfterFilter?.filter(Ie=>Ie.level===1&&Ie.aggData)||[],{rowData:q,fieldValues:he}=se(Ce,je);be=be.union(he),ae?.push(q)}const ke=J(Ce);te?.push(ke)}}),x.value=te,S.value.length>1&&ae&&ae.length>0){const Ce=S.value[1].getColId();D.value=ae,w.value={fieldName:Ce,fieldValues:Array.from(be)}}else D.value=[],w.value=null},J=W=>{const K={[W.field]:W.key};for(const te of h.value)!W.aggData||!W.aggData[te.value]||(K[te.value]=W.aggData[te.value]?.value??W.aggData[te.value]);return K},se=(W,K)=>{const te=new Set,ae={[W.field]:W.key};let be=0;for(const Ce of h.value)K.forEach(ke=>{const je=ke.key;te.add(je);const q=ke.aggData;if(je&&q){const he=ke.aggData[Ce.value]?.value??ke.aggData[Ce.value];ae[O(Ce.value,je)]=he,be=be+he}}),ae[`${Ce.value}_sort_total`]=be;return{rowData:ae,fieldValues:te}},Y=v.computed(()=>{let W=N.value?D.value:x.value,K=null;if(M.value&&(K=N.value?`${k.value}_sort_total`:k.value),K&&W&&M.value){const te=M.value?.id.includes("desc")?-1:1;W=[...W].sort((ae,be)=>{const Ce=ae[K]||0,ke=be[K]||0;return(Ce-ke)*te})}if(W&&W.length===1){const te="",ae=" ";W=[{[A.value]:te},W[0],{[A.value]:ae}]}return W}),ie=v.computed(()=>Y.value?.length||0),Z=v.computed(()=>w.value?.fieldValues?.length||0),ne=v.computed(()=>{const be=.25*Math.exp(-.12*ie.value);return Math.min(Math.max(be,.05),.75)}),le=v.computed(()=>Z.value>5?.5:1),de=v.computed(()=>Z.value>5?.25:.1),re=v.computed(()=>S.value.length===0?"No groups selected. Select at least one group to display data.":Y.value&&Y.value?.length===0?"No data available to chart.":""),fe=v.computed(()=>{const W={};return W.overlays={noData:{text:""}},W.data=Y.value,W.axes=[{type:"category",position:P.value?"left":"bottom",label:{formatter:K=>{let ae=K.value;const be=g(A.value);return typeof be=="function"&&(ae=be(K)),typeof ae=="string"&&ae.length>35?ae.substring(0,35)+"...":ae}},paddingInner:ne.value,paddingOuter:le.value,groupPaddingInner:de.value},{type:"number",position:P.value?"bottom":"left",label:{formatter:g(k.value)},title:{enabled:!0,text:L.value}}],W.series=F.value,W}),Me=v.computed(()=>o.displayChartLoading&&o.isLoading&&(!Y.value||Y.value.length===0));return t({provideChartData:ee,getChartImageDataURL:W=>a.value?.getChartImageDataURL(W),getCsvData:()=>r.value?.getCsvData(),refreshData:W=>r.value?.refreshData(W),getFilterValueSelectedMetadataMap:()=>r.value?.getFilterValueSelectedMetadataMap()}),v.onBeforeMount(()=>{o.chartType&&(m.value=y.value.find(W=>W.id===o.chartType))}),(W,K)=>(v.openBlock(),v.createElementBlock("div",CVe,[v.createElementVNode("div",{class:v.normalizeClass(W.hideChart?"pv-hide":"")},[v.createVNode(yVe,{enablePanel:Y.value!=null&&Y.value.length>0,chartFilter:W.chartFilter},null,8,["enablePanel","chartFilter"]),v.createElementVNode("div",SVe,[v.createVNode(WT,{ref_key:"pvChartRef",ref:a,isLoading:Me.value,options:fe.value},null,8,["isLoading","options"]),!W.isLoading&&re.value!==""?(v.openBlock(),v.createElementBlock("p",xVe,v.toDisplayString(re.value),1)):v.createCommentVNode("",!0)])],2),v.createVNode(gVe,v.mergeProps({ref_key:"pvDataTableRef",ref:r},W.$props,{onColumnRowGroupChanged:d,onGridReady:c,onFilterChanged:u,onSortChanged:K[0]||(K[0]=te=>s("sort-changed",te)),onFilterOpened:K[1]||(K[1]=te=>s("filter-opened",te)),onFirstDataRendered:K[2]||(K[2]=te=>s("first-data-rendered",te)),onColumnMoved:K[3]||(K[3]=te=>s("column-moved",te)),onColumnResized:K[4]||(K[4]=te=>s("column-resized",te)),onHandleSettingsIcon:K[5]||(K[5]=te=>s("handle-settings-icon",te))}),null,16)]))}}),MVe={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]]]]}},DVe={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]]]]}},k0="_FeatureMin",I0="_FeatureMax",aW=e=>lW[e]||e,kVe=DVe,IVe=MVe,lW={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"},AVe={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.477,39.721]]]},properties:{name:k0}},{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.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"}},IVe,{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"}},kVe,{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"}}]},RVe={state:AVe},TVe=(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=aW(a[t]);return{...a,[t]:a[t],name:l}});return r.push({[t]:k0,[i]:o,name:k0}),r.push({[t]:I0,[i]:s,name:I0}),r},LVe=e=>{const t=RVe[e];if(!t)throw new Error(`No topology object found for type: ${e}`);return t},EVe=()=>({getTopologyObject:LVe,buildMapData:TVe}),PVe={style:{width:"30%"}},NVe=["min","max"],OVe={class:"pv-flex pv-space-between pv-text-body-xxs pv-text-subdued"},FVe=v.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)=>(v.openBlock(),v.createElementBlock("div",PVe,[v.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
+ `)},oPe={},sPe={},oW={name:"base",css:iPe,style:H2e,classes:oPe,inlineStyles:sPe,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(U4||(U4=Pb(["",""])),t));return ii(s)?Y2e(Hf(s),M1({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 Vs.transformCSS(i.name||t.name,"".concat(s).concat(Eb(K4||(K4=Pb(["",""])),o)))})},getCommonTheme:function(t){return Vs.getCommon(this.name,t)},getComponentTheme:function(t){return Vs.getComponent(this.name,t)},getDirectiveTheme:function(t){return Vs.getDirective(this.name,t)},getPresetTheme:function(t,i,o){return Vs.getCustomPreset(this.name,t,i,o)},getLayerOrderThemeCSS:function(){return Vs.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:gu})||"",s=Hf(Eb(Y4||(Y4=Pb(["","",""])),o,t)),n=Object.entries(i).reduce(function(r,a){var l=Z4(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 Vs.getCommonStyleSheet(this.name,t,i)},getThemeStyleSheet:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[Vs.getStyleSheet(this.name,t,i)];if(this.style){var s=this.name==="base"?"global-style":"".concat(this.name,"-style"),n=Eb(X4||(X4=Pb(["",""])),Tc(this.style,{dt:gu})),r=Hf(Vs.transformCSS(s,n)),a=Object.entries(i).reduce(function(l,c){var d=Z4(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 M1(M1({},this),{},{css:void 0,style:void 0},t)}};oW.extend({name:"common"});var uC={exports:{}},nPe=uC.exports,J4;function rPe(){return J4||(J4=1,function(e,t){(function(i,o){e.exports=o()})(nPe,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",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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"],G=O%100;return"["+O+(F[(G-20)%10]||F[G]||F[0])+"]"}},S=function(O,F,G){var _=String(O);return!_||_.length>=F?O:""+Array(F+1-_.length).join(G)+O},x={s:S,z:function(O){var F=-O.utcOffset(),G=Math.abs(F),_=Math.floor(G/60),V=G%60;return(F<=0?"+":"-")+S(_,2,"0")+":"+S(V,2,"0")},m:function O(F,G){if(F.date()<G.date())return-O(G,F);var _=12*(G.year()-F.year())+(G.month()-F.month()),V=F.clone().add(_,u),z=G-V<0,H=F.clone().add(_+(z?-1:1),u);return+(-(_+(G-V)/(z?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,G,_){var V;if(!F)return D;if(typeof F=="string"){var z=F.toLowerCase();A[z]&&(V=z),G&&(A[z]=G,V=z);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 G=typeof F=="object"?F:{};return G.date=O,G.args=arguments,new P(G)},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(G){this.$L=M(G.locale,null,!0),this.parse(G),this.$x=this.$x||G.x||{},this[k]=!0}var F=O.prototype;return F.parse=function(G){this.$d=function(_){var V=_.date,z=_.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(y);if(H){var B=H[2]-1||0,j=(H[7]||"0").substring(0,3);return z?new Date(Date.UTC(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,j)):new Date(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,j)}}return new Date(V)}(G),this.init()},F.init=function(){var G=this.$d;this.$y=G.getFullYear(),this.$M=G.getMonth(),this.$D=G.getDate(),this.$W=G.getDay(),this.$H=G.getHours(),this.$m=G.getMinutes(),this.$s=G.getSeconds(),this.$ms=G.getMilliseconds()},F.$utils=function(){return L},F.isValid=function(){return this.$d.toString()!==f},F.isSame=function(G,_){var V=R(G);return this.startOf(_)<=V&&V<=this.endOf(_)},F.isAfter=function(G,_){return R(G)<this.startOf(_)},F.isBefore=function(G,_){return this.endOf(_)<R(G)},F.$g=function(G,_,V){return L.u(G)?this[_]:this.set(V,G)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(G,_){var V=this,z=!!L.u(_)||_,H=L.p(G),B=function(Y,ie){var Z=L.w(V.$u?Date.UTC(V.$y,ie,Y):new Date(V.$y,ie,Y),V);return z?Z:Z.endOf(c)},j=function(Y,ie){return L.w(V.toDate()[Y].apply(V.toDate("s"),(z?[0,0,0,0]:[23,59,59,999]).slice(ie)),V)},$=this.$W,U=this.$M,ee=this.$D,X="set"+(this.$u?"UTC":"");switch(H){case p:return z?B(1,0):B(31,11);case u:return z?B(1,U):B(0,U+1);case d:var J=this.$locale().weekStart||0,se=($<J?$+7:$)-J;return B(z?ee-se:ee+(6-se),U);case c:case g:return j(X+"Hours",0);case l:return j(X+"Minutes",1);case a:return j(X+"Seconds",2);case r:return j(X+"Milliseconds",3);default:return this.clone()}},F.endOf=function(G){return this.startOf(G,!1)},F.$set=function(G,_){var V,z=L.p(G),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)[z],j=z===c?this.$D+(_-this.$W):_;if(z===u||z===p){var $=this.clone().set(g,1);$.$d[B](j),$.init(),this.$d=$.set(g,Math.min(this.$D,$.daysInMonth())).$d}else B&&this.$d[B](j);return this.init(),this},F.set=function(G,_){return this.clone().$set(G,_)},F.get=function(G){return this[L.p(G)]()},F.add=function(G,_){var V,z=this;G=Number(G);var H=L.p(_),B=function(U){var ee=R(z);return L.w(ee.date(ee.date()+Math.round(U*G)),z)};if(H===u)return this.set(u,this.$M+G);if(H===p)return this.set(p,this.$y+G);if(H===c)return B(1);if(H===d)return B(7);var j=(V={},V[a]=o,V[l]=s,V[r]=i,V)[H]||1,$=this.$d.getTime()+G*j;return L.w($,this)},F.subtract=function(G,_){return this.add(-1*G,_)},F.format=function(G){var _=this,V=this.$locale();if(!this.isValid())return V.invalidDate||f;var z=G||"YYYY-MM-DDTHH:mm:ssZ",H=L.z(this),B=this.$H,j=this.$m,$=this.$M,U=V.weekdays,ee=V.months,X=V.meridiem,J=function(ie,Z,ne,le){return ie&&(ie[Z]||ie(_,z))||ne[Z].slice(0,le)},se=function(ie){return L.s(B%12||12,ie,"0")},Y=X||function(ie,Z,ne){var le=ie<12?"AM":"PM";return ne?le.toLowerCase():le};return z.replace(m,function(ie,Z){return Z||function(ne){switch(ne){case"YY":return String(_.$y).slice(-2);case"YYYY":return L.s(_.$y,4,"0");case"M":return $+1;case"MM":return L.s($+1,2,"0");case"MMM":return J(V.monthsShort,$,ee,3);case"MMMM":return J(ee,$);case"D":return _.$D;case"DD":return L.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return J(V.weekdaysMin,_.$W,U,2);case"ddd":return J(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 Y(B,j,!0);case"A":return Y(B,j,!1);case"m":return String(j);case"mm":return L.s(j,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(G,_,V){var z,H=this,B=L.p(_),j=R(G),$=(j.utcOffset()-this.utcOffset())*o,U=this-j,ee=function(){return L.m(H,j)};switch(B){case p:z=ee()/12;break;case u:z=ee();break;case h:z=ee()/3;break;case d:z=(U-$)/6048e5;break;case c:z=(U-$)/864e5;break;case l:z=U/s;break;case a:z=U/o;break;case r:z=U/i;break;default:z=U}return V?z:L.a(z)},F.daysInMonth=function(){return this.endOf(u).$D},F.$locale=function(){return A[this.$L]},F.locale=function(G,_){if(!G)return this.$L;var V=this.clone(),z=M(G,_,!0);return z&&(V.$L=z),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})}(uC)),uC.exports}var aPe=rPe();const OL=ev(aPe);var hC={exports:{}},lPe=hC.exports,eB;function cPe(){return eB||(eB=1,function(e,t){(function(i,o){e.exports=o()})(lPe,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 y={date:f,utc:!0,args:arguments};return new r(y)},l.utc=function(f){var y=a(this.toDate(),{locale:this.$L,utc:!0});return f?y.add(this.utcOffset(),i):y},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,y){var m=this.$utils().u;if(m(f))return this.$u?0:m(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(y)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 y=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,y)},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,y,m){if(f&&this.$u===f.$u)return g.call(this,f,y,m);var C=this.local(),S=a(f).local();return g.call(C,S,y,m)}}})}(hC)),hC.exports}var dPe=cPe();const uPe=ev(dPe);var pC={exports:{}},hPe=pC.exports,tB;function pPe(){return tB||(tB=1,function(e,t){(function(i,o){e.exports=o()})(hPe,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),y=function(m,C){C===void 0&&(C={});var S=C.timeZoneName||"short",x=m+"|"+S,D=o[x];return D||(D=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:m,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 y.formatToParts(f)},c=function(h,p){for(var g=l(h,p),f=[],y=0;y<g.length;y+=1){var m=g[y],C=m.type,S=m.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(),y=this.toDate(),m=y.toLocaleString("en-US",{timeZone:h}),C=Math.round((y-new Date(m))/1e3/60),S=15*-Math.round(y.getTimezoneOffset()/15)-C;if(!Number(S))g=this.utcOffset(0,p);else if(g=r(m,{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,y=g||p||a,m=c(+r(),y);if(typeof h!="string")return r(h).tz(y);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(),m,y),S=C[0],x=C[1],D=r(S).utcOffset(x);return D.$x.$timezone=y,D},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(h){a=h}}})}(pC)),pC.exports}var gPe=pPe();const fPe=ev(gPe);var gC={exports:{}},mPe=gC.exports,iB;function yPe(){return iB||(iB=1,function(e,t){(function(i,o){e.exports=o()})(mPe,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)}}})}(gC)),gC.exports}var vPe=yPe();const bPe=ev(vPe);OL.extend(bPe);OL.extend(uPe);OL.extend(fPe);const CPe=["src"],SPe=v.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)=>(v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(t[i.size]),"data-testid":"pv-avatar"},[i.initials?(v.openBlock(),v.createElementBlock(v.Fragment,{key:0},[v.createTextVNode(v.toDisplayString(i.initials),1)],64)):i.image?(v.openBlock(),v.createElementBlock("img",{key:1,src:i.image},null,8,CPe)):v.createCommentVNode("",!0)],2))}}),xPe=["title"],wPe={key:3,class:"pv-text-subdued pv-text-body-md"},Nb=v.defineComponent({__name:"PvMenuItem",props:{text:{},secondaryText:{},icon:{},companyName:{},avatar:{}},emits:["handle-selected"],setup(e){return(t,i)=>(v.openBlock(),v.createElementBlock("a",{class:"pv-flex","data-testid":"pv-menu-item",style:{cursor:"pointer"},role:"button",onClick:i[0]||(i[0]=o=>t.$emit("handle-selected"))},[t.avatar?(v.openBlock(),v.createBlock(SPe,{key:0,initials:t.avatar.initials,image:t.avatar.image,size:"lg"},null,8,["initials","image"])):v.createCommentVNode("",!0),t.icon?(v.openBlock(),v.createBlock(Li,{key:1,name:t.icon},null,8,["name"])):v.createCommentVNode("",!0),t.companyName?(v.openBlock(),v.createBlock(K7,{key:2,name:t.companyName,size:"sm"},null,8,["name"])):v.createCommentVNode("",!0),v.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},v.toDisplayString(t.text),9,xPe),t.secondaryText?(v.openBlock(),v.createElementBlock("span",wPe,v.toDisplayString(t.secondaryText),1)):v.createCommentVNode("",!0)]))}}),MPe=v.defineComponent({__name:"PvMenu",props:{teleportLocation:{},open:{type:Boolean},popoverPositionStyle:{},cssCustomListProperties:{},useTeleport:{type:Boolean,default:!1}},setup(e,{expose:t}){const i=v.ref(null);return t({popoverRef:i}),(o,s)=>(v.openBlock(),v.createBlock(v.Teleport,{to:o.teleportLocation,disabled:!o.useTeleport},[v.createVNode(H7,{ref_key:"popoverRef",ref:i,class:v.normalizeClass({"pv-hide":!o.open}),"css-custom-list-properties":o.cssCustomListProperties,"css-custom-properties":{width:"auto",maxWidth:"260px",...o.popoverPositionStyle},isList:!0},{default:v.withCtx(()=>[v.renderSlot(o.$slots,"default")]),_:3},8,["class","css-custom-list-properties","css-custom-properties"])],8,["to","disabled"]))}}),DPe=["disabled"],kPe={key:0,"data-testid":"pv-select-prefix-label",class:"pv-border-right",style:{color:"#89989b","padding-right":"4px"}},IPe=v.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=v.ref(null);return t({triggerRef:o}),(s,n)=>(v.openBlock(),v.createElementBlock("button",{ref_key:"triggerRef",ref:o,"data-testid":"pv-multi-select-button-trigger",class:v.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?(v.openBlock(),v.createElementBlock("p",kPe,v.toDisplayString(s.prefixLabel),1)):v.createCommentVNode("",!0),s.counterPosition==="left"?(v.openBlock(),v.createBlock(Gm,{key:1,"data-testid":"pv-multi-select-left-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):v.createCommentVNode("",!0),s.icon?(v.openBlock(),v.createBlock(Li,{key:2,"data-testid":"pv-multi-select-button-icon",name:s.icon},null,8,["name"])):v.createCommentVNode("",!0),s.companyLogo?(v.openBlock(),v.createBlock(K7,{key:3,name:s.companyLogo,size:"sm"},null,8,["name"])):v.createCommentVNode("",!0),v.createElementVNode("span",null,v.toDisplayString(s.isLoading?"Loading...":s.label),1),s.counterPosition==="right"?(v.openBlock(),v.createBlock(Gm,{key:4,"data-testid":"pv-multi-select-right-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):v.createCommentVNode("",!0),s.showDropdown?(v.openBlock(),v.createBlock(Li,{key:5,name:s.open?"chevron-up":"chevron-down"},null,8,["name"])):v.createCommentVNode("",!0),s.showClear?(v.openBlock(),v.createBlock(Li,{key:6,name:"close",onClick:n[0]||(n[0]=v.withModifiers(r=>s.$emit("handle-clear"),["stop"]))})):v.createCommentVNode("",!0)],10,DPe))}}),APe=({alignment:e,useTeleport:t=!0,popoverCssProperties:i}={})=>{const o=v.ref(null),s=v.ref(null),n=v.ref(null),r=v.ref(null),a=v.computed(()=>!o.value||!s.value?0:e==="right"||e==="top right"?o.value.left+o.value.width-s.value.width:o.value.left),l=v.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=v.computed(()=>t?{...{position:"absolute",left:`${a.value}px`,top:`${l.value}px`,zIndex:10},...i}:i);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())}}},RPe={"data-testid":"pv-menu-radio-item",class:"pv-label pv-label-hover pv-flex",style:{cursor:"pointer"}},TPe=["checked"],LPe=["title"],EPe={key:0,class:"pv-text-subdued pv-text-body-md"},PPe=v.defineComponent({__name:"PvMenuRadioItem",props:{text:{},secondaryText:{},value:{type:Boolean}},emits:["handle-selected"],setup(e){return(t,i)=>(v.openBlock(),v.createElementBlock("label",RPe,[v.createElementVNode("input",{type:"radio",name:"radio",checked:t.value,class:"pv-radio",onChange:i[0]||(i[0]=o=>t.$emit("handle-selected"))},null,40,TPe),v.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},v.toDisplayString(t.text),9,LPe),t.secondaryText?(v.openBlock(),v.createElementBlock("span",EPe,v.toDisplayString(t.secondaryText),1)):v.createCommentVNode("",!0)]))}}),NPe={class:"pv-relative",style:{width:"fit-content"}},OPe=["data-active"],FPe={key:2,class:"pv-text-subdued pv-text-center"},JD=v.defineComponent({__name:"PvSelectButton",props:v.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:v.mergeModels(["dropdown-open","dropdown-closed"],["update:modelValue","update:searchInput"]),setup(e,{emit:t}){const i=e,o=t,s={simple:Nb,icon:Nb,company:Nb,radio:PPe,avatar:Nb},{popoverPositionStyle:n,updateRects:r,triggerRef:a,popoverRef:l}=APe({alignment:i.alignment,popoverCssProperties:i.popoverCssProperties,useTeleport:i.useTeleport}),c=v.useTemplateRef("select-menu-ref"),d=v.useTemplateRef("select-button-trigger-ref"),[u,h]=uEe(i.defaultOpen),p=v.useModel(e,"modelValue"),g=v.useModel(e,"searchInput");v.watch(u,A=>{A?v.nextTick(()=>{r(),o("dropdown-open")}):o("dropdown-closed")}),v.onMounted(()=>{c.value?.popoverRef&&(l.value=c.value?.popoverRef),d.value?.triggerRef&&(a.value=d.value?.triggerRef)});const f=v.computed(()=>p.value&&p.value.text?p.value.text:i.label),y=v.computed(()=>{if(p.value&&p.value.icon)return p.value.icon}),m=v.computed(()=>{if(p.value&&p.value.companyName)return p.value.companyName}),C=v.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 I7("Escape",()=>{u.value&&D()}),(A,k)=>v.withDirectives((v.openBlock(),v.createElementBlock("div",NPe,[v.createVNode(IPe,{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:y.value,companyLogo:m.value,showClear:!1,showDropdown:!0,open:v.unref(u),"counter-value":0,isLoading:A.isLoading,onHandleClear:x,onHandleToggleDropdown:k[0]||(k[0]=w=>v.unref(h)())},null,8,["variant","size","disabled","prefixLabel","label","icon","companyLogo","open","isLoading"]),v.createVNode(MPe,{ref:"select-menu-ref",open:v.unref(u),teleportLocation:A.teleportLocation,"use-teleport":A.useTeleport,popoverPositionStyle:{...v.unref(n),...A.popoverCssProperties}},{default:v.withCtx(()=>[A.showSearchInput?(v.openBlock(),v.createElementBlock(v.Fragment,{key:0},[v.createVNode(Y7,{"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]=v.createElementVNode("div",{class:"pv-border-top pv-stack-12"},null,-1))],64)):v.createCommentVNode("",!0),C.value.length>0?(v.openBlock(!0),v.createElementBlock(v.Fragment,{key:1},v.renderList(C.value,w=>(v.openBlock(),v.createElementBlock("li",{key:w.id,"data-active":p.value?.id===w.id?!0:null},[(v.openBlock(),v.createBlock(v.resolveDynamicComponent(s[A.optionsVariant]),{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,onHandleSelected:()=>S(w)},null,40,["value","secondary-text","icon","avatar","companyName","text","onHandleSelected"]))],8,OPe))),128)):(v.openBlock(),v.createElementBlock("div",FPe,"No Result Found"))]),_:1},8,["open","teleportLocation","use-teleport","popoverPositionStyle"])])),[[v.unref(j7),[D,{ignore:[".pv-popover"]}]]])}}),BPe=["for"],GPe=["disabled","type","placeholder","id","data-invalid"];Math.random().toString();oW.extend({name:"common"});var zPe={transitionDuration:"{transition.duration}"},_Pe={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},VPe={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"}},HPe={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},WPe={root:zPe,panel:_Pe,header:VPe,content:HPe},jPe={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}"},$Pe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},UPe={padding:"{list.padding}",gap:"{list.gap}"},KPe={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}"},YPe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},XPe={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}"}},ZPe={borderRadius:"{border.radius.sm}"},qPe={padding:"{list.option.padding}"},QPe={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}"}}},JPe={root:jPe,overlay:$Pe,list:UPe,option:KPe,optionGroup:YPe,dropdown:XPe,chip:ZPe,emptyMessage:qPe,colorScheme:QPe},eNe={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},tNe={size:"1rem"},iNe={borderColor:"{content.background}",offset:"-0.75rem"},oNe={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},sNe={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},nNe={root:eNe,icon:tNe,group:iNe,lg:oNe,xl:sNe},rNe={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},aNe={size:"0.5rem"},lNe={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},cNe={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},dNe={fontSize:"1rem",minWidth:"2rem",height:"2rem"},uNe={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}"}}},hNe={root:rNe,dot:aNe,sm:lNe,lg:cNe,xl:dNe,colorScheme:uNe},pNe={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"}},gNe={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}"}}}}},fNe={primitive:pNe,semantic:gNe},mNe={borderRadius:"{content.border.radius}"},yNe={root:mNe},vNe={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},bNe={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}"}},CNe={color:"{navigation.item.icon.color}"},SNe={root:vNe,item:bNe,separator:CNe},xNe={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}"},wNe={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}"}}},MNe={root:xNe,colorScheme:wNe},DNe={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)"},kNe={padding:"1.25rem",gap:"0.5rem"},INe={gap:"0.5rem"},ANe={fontSize:"1.25rem",fontWeight:"500"},RNe={color:"{text.muted.color}"},TNe={root:DNe,body:kNe,caption:INe,title:ANe,subtitle:RNe},LNe={transitionDuration:"{transition.duration}"},ENe={gap:"0.25rem"},PNe={padding:"1rem",gap:"0.5rem"},NNe={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}"}},ONe={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},FNe={root:LNe,content:ENe,indicatorList:PNe,indicator:NNe,colorScheme:ONe},BNe={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}"}},GNe={width:"2.5rem",color:"{form.field.icon.color}"},zNe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},_Ne={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},VNe={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"}},HNe={color:"{form.field.icon.color}"},WNe={root:BNe,dropdown:GNe,overlay:zNe,list:_Ne,option:VNe,clearIcon:HNe},jNe={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"}},$Ne={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"}},UNe={root:jNe,icon:$Ne},KNe={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},YNe={width:"2rem",height:"2rem"},XNe={size:"1rem"},ZNe={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}"}},qNe={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}"}}},QNe={root:KNe,image:YNe,icon:XNe,removeIcon:ZNe,colorScheme:qNe},JNe={transitionDuration:"{transition.duration}"},eOe={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}"}},tOe={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},iOe={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},oOe={root:JNe,preview:eOe,panel:tOe,colorScheme:iOe},sOe={size:"2rem",color:"{overlay.modal.color}"},nOe={gap:"1rem"},rOe={icon:sOe,content:nOe},aOe={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"},lOe={padding:"{overlay.popover.padding}",gap:"1rem"},cOe={size:"1.5rem",color:"{overlay.popover.color}"},dOe={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},uOe={root:aOe,content:lOe,icon:cOe,footer:dOe},hOe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},pOe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},gOe={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}"}},fOe={mobileIndent:"1rem"},mOe={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},yOe={borderColor:"{content.border.color}"},vOe={root:hOe,list:pOe,item:gOe,submenu:fOe,submenuIcon:mOe,separator:yOe},bOe={transitionDuration:"{transition.duration}"},COe={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"}},SOe={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"}},xOe={fontWeight:"600"},wOe={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}"}},MOe={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},DOe={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"}},kOe={fontWeight:"600"},IOe={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"}},AOe={color:"{primary.color}"},ROe={width:"0.5rem"},TOe={width:"1px",color:"{primary.color}"},LOe={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},EOe={size:"2rem"},POe={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}"}},NOe={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}"}},OOe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},FOe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},BOe={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}"}}},GOe={root:bOe,header:COe,headerCell:SOe,columnTitle:xOe,row:wOe,bodyCell:MOe,footerCell:DOe,columnFooter:kOe,footer:IOe,dropPoint:AOe,columnResizer:ROe,resizeIndicator:TOe,sortIcon:LOe,loadingIcon:EOe,rowToggleButton:POe,filter:NOe,paginatorTop:OOe,paginatorBottom:FOe,colorScheme:BOe},zOe={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},_Oe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},VOe={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},HOe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},WOe={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},jOe={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},$Oe={root:zOe,header:_Oe,content:VOe,footer:HOe,paginatorTop:WOe,paginatorBottom:jOe},UOe={transitionDuration:"{transition.duration}"},KOe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},YOe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},XOe={gap:"0.5rem",fontWeight:"500"},ZOe={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}"}},qOe={color:"{form.field.icon.color}"},QOe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},JOe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},eFe={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},tFe={margin:"0.5rem 0 0 0"},iFe={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},oFe={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}"}},sFe={margin:"0.5rem 0 0 0"},nFe={padding:"0.375rem",borderRadius:"{content.border.radius}"},rFe={margin:"0.5rem 0 0 0"},aFe={padding:"0.375rem",borderRadius:"{content.border.radius}"},lFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},cFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},dFe={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}"}}},uFe={root:UOe,panel:KOe,header:YOe,title:XOe,dropdown:ZOe,inputIcon:qOe,selectMonth:QOe,selectYear:JOe,group:eFe,dayView:tFe,weekDay:iFe,date:oFe,monthView:sFe,month:nFe,yearView:rFe,year:aFe,buttonbar:lFe,timePicker:cFe,colorScheme:dFe},hFe={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},pFe={padding:"{overlay.modal.padding}",gap:"0.5rem"},gFe={fontSize:"1.25rem",fontWeight:"600"},fFe={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},mFe={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},yFe={root:hFe,header:pFe,title:gFe,content:fFe,footer:mFe},vFe={borderColor:"{content.border.color}"},bFe={background:"{content.background}",color:"{text.color}"},CFe={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},SFe={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},xFe={root:vFe,content:bFe,horizontal:CFe,vertical:SFe},wFe={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},MFe={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}"}},DFe={root:wFe,item:MFe},kFe={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},IFe={padding:"{overlay.modal.padding}"},AFe={fontSize:"1.5rem",fontWeight:"600"},RFe={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},TFe={padding:"{overlay.modal.padding}"},LFe={root:kFe,header:IFe,title:AFe,content:RFe,footer:TFe},EFe={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},PFe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},NFe={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}"},OFe={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},FFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},BFe={toolbar:EFe,toolbarItem:PFe,overlay:NFe,overlayOption:OFe,content:FFe},GFe={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}"},zFe={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}"}},_Fe={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},VFe={padding:"0"},HFe={root:GFe,legend:zFe,toggleIcon:_Fe,content:VFe},WFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},jFe={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},$Fe={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},UFe={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},KFe={gap:"0.5rem"},YFe={height:"0.25rem"},XFe={gap:"0.5rem"},ZFe={root:WFe,header:jFe,content:$Fe,file:UFe,fileList:KFe,progressbar:YFe,basic:XFe},qFe={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"}},QFe={active:{top:"-1.25rem"}},JFe={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},e4e={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},t4e={root:qFe,over:QFe,in:JFe,on:e4e},i4e={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},o4e={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}"}},s4e={size:"1.5rem"},n4e={background:"{content.background}",padding:"1rem 0.25rem"},r4e={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}"}},a4e={size:"1rem"},l4e={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},c4e={gap:"0.5rem",padding:"1rem"},d4e={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}"}},u4e={background:"rgba(0, 0, 0, 0.5)"},h4e={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},p4e={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}"}},g4e={size:"1.5rem"},f4e={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}"}}},m4e={root:i4e,navButton:o4e,navIcon:s4e,thumbnailsContent:n4e,thumbnailNavButton:r4e,thumbnailNavButtonIcon:a4e,caption:l4e,indicatorList:c4e,indicatorButton:d4e,insetIndicatorList:u4e,insetIndicatorButton:h4e,closeButton:p4e,closeButtonIcon:g4e,colorScheme:f4e},y4e={color:"{form.field.icon.color}"},v4e={icon:y4e},b4e={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"},C4e={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},S4e={root:b4e,input:C4e},x4e={transitionDuration:"{transition.duration}"},w4e={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},M4e={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"},D4e={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}"}},k4e={root:x4e,preview:w4e,toolbar:M4e,action:D4e},I4e={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}"}},A4e={handle:I4e},R4e={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},T4e={fontWeight:"500"},L4e={size:"1rem"},E4e={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%)"}}},P4e={root:R4e,text:T4e,icon:L4e,colorScheme:E4e},N4e={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}"},O4e={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},F4e={root:N4e,display:O4e},B4e={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}"},G4e={borderRadius:"{border.radius.sm}"},z4e={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},_4e={root:B4e,chip:G4e,colorScheme:z4e},V4e={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"},H4e={addon:V4e},W4e={transitionDuration:"{transition.duration}"},j4e={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},$4e={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}"}}},U4e={root:W4e,button:j4e,colorScheme:$4e},K4e={gap:"0.5rem"},Y4e={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},X4e={root:K4e,input:Y4e},Z4e={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}"}},q4e={root:Z4e},Q4e={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},J4e={background:"{primary.color}"},eBe={background:"{content.border.color}"},tBe={color:"{text.muted.color}"},iBe={root:Q4e,value:J4e,range:eBe,text:tBe},oBe={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}"},sBe={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},nBe={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}"},rBe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},aBe={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},lBe={padding:"{list.option.padding}"},cBe={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},dBe={root:oBe,list:sBe,option:nBe,optionGroup:rBe,checkmark:aBe,emptyMessage:lBe,colorScheme:cBe},uBe={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}"},hBe={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},pBe={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}"}},gBe={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},fBe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},mBe={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},yBe={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},vBe={borderColor:"{content.border.color}"},bBe={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}"}},CBe={root:uBe,baseItem:hBe,item:pBe,overlay:gBe,submenu:fBe,submenuLabel:mBe,submenuIcon:yBe,separator:vBe,mobileButton:bBe},SBe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},xBe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},wBe={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}"}},MBe={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},DBe={borderColor:"{content.border.color}"},kBe={root:SBe,list:xBe,item:wBe,submenuLabel:MBe,separator:DBe},IBe={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}"},ABe={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},RBe={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}"}},TBe={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}"}},LBe={borderColor:"{content.border.color}"},EBe={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}"}},PBe={root:IBe,baseItem:ABe,item:RBe,submenu:TBe,separator:LBe,mobileButton:EBe},NBe={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},OBe={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},FBe={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},BBe={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},GBe={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},zBe={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},_Be={root:{borderWidth:"1px"}},VBe={content:{padding:"0"}},HBe={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}"}}}},WBe={root:NBe,content:OBe,text:FBe,icon:BBe,closeButton:GBe,closeIcon:zBe,outlined:_Be,simple:VBe,colorScheme:HBe},jBe={borderRadius:"{content.border.radius}",gap:"1rem"},$Be={background:"{content.border.color}",size:"0.5rem"},UBe={gap:"0.5rem"},KBe={size:"0.5rem"},YBe={size:"1rem"},XBe={verticalGap:"0.5rem",horizontalGap:"1rem"},ZBe={root:jBe,meters:$Be,label:UBe,labelMarker:KBe,labelIcon:YBe,labelList:XBe},qBe={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}"}},QBe={width:"2.5rem",color:"{form.field.icon.color}"},JBe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},e3e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},t3e={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"},i3e={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},o3e={color:"{form.field.icon.color}"},s3e={borderRadius:"{border.radius.sm}"},n3e={padding:"{list.option.padding}"},r3e={root:qBe,dropdown:QBe,overlay:JBe,list:e3e,option:t3e,optionGroup:i3e,chip:s3e,clearIcon:o3e,emptyMessage:n3e},a3e={gap:"1.125rem"},l3e={gap:"0.5rem"},c3e={root:a3e,controls:l3e},d3e={gutter:"0.75rem",transitionDuration:"{transition.duration}"},u3e={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}"},h3e={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}"}},p3e={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},g3e={root:d3e,node:u3e,nodeToggleButton:h3e,connector:p3e},f3e={outline:{width:"2px",color:"{content.background}"}},m3e={root:f3e},y3e={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},v3e={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}"}},b3e={color:"{text.muted.color}"},C3e={maxWidth:"2.5rem"},S3e={root:y3e,navButton:v3e,currentPageReport:b3e,jumpToPageInput:C3e},x3e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},w3e={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},M3e={padding:"0.375rem 1.125rem"},D3e={fontWeight:"600"},k3e={padding:"0 1.125rem 1.125rem 1.125rem"},I3e={padding:"0 1.125rem 1.125rem 1.125rem"},A3e={root:x3e,header:w3e,toggleableHeader:M3e,title:D3e,content:k3e,footer:I3e},R3e={gap:"0.5rem",transitionDuration:"{transition.duration}"},T3e={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}"}},L3e={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}"}},E3e={indent:"1rem"},P3e={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},N3e={root:R3e,panel:T3e,item:L3e,submenu:E3e,submenuIcon:P3e},O3e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},F3e={color:"{form.field.icon.color}"},B3e={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}"},G3e={gap:"0.5rem"},z3e={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},_3e={meter:O3e,icon:F3e,overlay:B3e,content:G3e,colorScheme:z3e},V3e={gap:"1.125rem"},H3e={gap:"0.5rem"},W3e={root:V3e,controls:H3e},j3e={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"},$3e={padding:"{overlay.popover.padding}"},U3e={root:j3e,content:$3e},K3e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},Y3e={background:"{primary.color}"},X3e={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},Z3e={root:K3e,value:Y3e,label:X3e},q3e={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}"}}},Q3e={colorScheme:q3e},J3e={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"}},e5e={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},t5e={root:J3e,icon:e5e},i5e={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}"}},o5e={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},s5e={root:i5e,icon:o5e},n5e={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},r5e={colorScheme:n5e},a5e={transitionDuration:"{transition.duration}"},l5e={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}"}},c5e={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},d5e={root:a5e,bar:l5e,colorScheme:c5e},u5e={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}"}},h5e={width:"2.5rem",color:"{form.field.icon.color}"},p5e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},g5e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},f5e={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}"},m5e={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},y5e={color:"{form.field.icon.color}"},v5e={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},b5e={padding:"{list.option.padding}"},C5e={root:u5e,dropdown:h5e,overlay:p5e,list:g5e,option:f5e,optionGroup:m5e,clearIcon:y5e,checkmark:v5e,emptyMessage:b5e},S5e={borderRadius:"{form.field.border.radius}"},x5e={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},w5e={root:S5e,colorScheme:x5e},M5e={borderRadius:"{content.border.radius}"},D5e={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)"}}},k5e={root:M5e,colorScheme:D5e},I5e={transitionDuration:"{transition.duration}"},A5e={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},R5e={background:"{primary.color}"},T5e={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}"}},L5e={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},E5e={root:I5e,track:A5e,range:R5e,handle:T5e,colorScheme:L5e},P5e={gap:"0.5rem",transitionDuration:"{transition.duration}"},N5e={root:P5e},O5e={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)"},F5e={root:O5e},B5e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},G5e={background:"{content.border.color}"},z5e={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}"}},_5e={root:B5e,gutter:G5e,handle:z5e},V5e={transitionDuration:"{transition.duration}"},H5e={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},W5e={padding:"0.5rem",gap:"1rem"},j5e={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"},$5e={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},U5e={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)"},K5e={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},Y5e={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},X5e={root:V5e,separator:H5e,step:W5e,stepHeader:j5e,stepTitle:$5e,stepNumber:U5e,steppanels:K5e,steppanel:Y5e},Z5e={transitionDuration:"{transition.duration}"},q5e={background:"{content.border.color}"},Q5e={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"},J5e={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},eGe={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)"},tGe={root:Z5e,separator:q5e,itemLink:Q5e,itemLabel:J5e,itemNumber:eGe},iGe={transitionDuration:"{transition.duration}"},oGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},sGe={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}"}},nGe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},rGe={height:"1px",bottom:"-1px",background:"{primary.color}"},aGe={root:iGe,tablist:oGe,item:sGe,itemIcon:nGe,activeBar:rGe},lGe={transitionDuration:"{transition.duration}"},cGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},dGe={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}"}},uGe={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}"}},hGe={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}"}},pGe={height:"1px",bottom:"-1px",background:"{primary.color}"},gGe={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%)"}}},fGe={root:lGe,tablist:cGe,tab:dGe,tabpanel:uGe,navButton:hGe,activeBar:pGe,colorScheme:gGe},mGe={transitionDuration:"{transition.duration}"},yGe={background:"{content.background}",borderColor:"{content.border.color}"},vGe={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},bGe={background:"{content.background}",color:"{content.color}"},CGe={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},SGe={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%)"}}},xGe={root:mGe,tabList:yGe,tab:vGe,tabPanel:bGe,navButton:CGe,colorScheme:SGe},wGe={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},MGe={size:"0.75rem"},DGe={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}"}}},kGe={root:wGe,icon:MGe,colorScheme:DGe},IGe={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}"},AGe={gap:"0.25rem"},RGe={margin:"2px 0"},TGe={root:IGe,prompt:AGe,commandResponse:RGe},LGe={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}"}},EGe={root:LGe},PGe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},NGe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},OGe={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}"}},FGe={mobileIndent:"1rem"},BGe={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},GGe={borderColor:"{content.border.color}"},zGe={root:PGe,list:NGe,item:OGe,submenu:FGe,submenuIcon:BGe,separator:GGe},_Ge={minHeight:"5rem"},VGe={eventContent:{padding:"1rem 0"}},HGe={eventContent:{padding:"0 1rem"}},WGe={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)"}},jGe={color:"{content.border.color}",size:"2px"},$Ge={event:_Ge,horizontal:VGe,vertical:HGe,eventMarker:WGe,eventConnector:jGe},UGe={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},KGe={size:"1.125rem"},YGe={padding:"{overlay.popover.padding}",gap:"0.5rem"},XGe={gap:"0.5rem"},ZGe={fontWeight:"500",fontSize:"1rem"},qGe={fontWeight:"500",fontSize:"0.875rem"},QGe={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},JGe={size:"1rem"},eze={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"}}}}},tze={root:UGe,icon:KGe,content:YGe,text:XGe,summary:ZGe,detail:qGe,closeButton:QGe,closeIcon:JGe,colorScheme:eze},ize={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"}},oze={disabledColor:"{form.field.disabled.color}"},sze={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"}},nze={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}"}}},rze={root:ize,icon:oze,content:sze,colorScheme:nze},aze={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"},lze={borderRadius:"50%",size:"1rem"},cze={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}"}}},dze={root:aze,handle:lze,colorScheme:cze},uze={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},hze={root:uze},pze={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},gze={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},fze={root:pze,colorScheme:gze},mze={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},yze={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"},vze={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},bze={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}"}},Cze={size:"2rem"},Sze={margin:"0 0 0.5rem 0"},xze={root:mze,node:yze,nodeIcon:vze,nodeToggleButton:bze,loadingIcon:Cze,filter:Sze},wze={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={width:"2.5rem",color:"{form.field.icon.color}"},Dze={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},kze={padding:"{list.padding}"},Ize={padding:"{list.option.padding}"},Aze={borderRadius:"{border.radius.sm}"},Rze={color:"{form.field.icon.color}"},Tze={root:wze,dropdown:Mze,overlay:Dze,tree:kze,emptyMessage:Ize,chip:Aze,clearIcon:Rze},Lze={transitionDuration:"{transition.duration}"},Eze={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},Pze={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}"}},Nze={fontWeight:"600"},Oze={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}"}},Fze={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},Bze={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},Gze={fontWeight:"600"},zze={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},_ze={width:"0.5rem"},Vze={width:"1px",color:"{primary.color}"},Hze={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},Wze={size:"2rem"},jze={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}"}},$ze={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},Uze={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},Kze={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},Yze={root:Lze,header:Eze,headerCell:Pze,columnTitle:Nze,row:Oze,bodyCell:Fze,footerCell:Bze,columnFooter:Gze,footer:zze,columnResizer:_ze,resizeIndicator:Vze,sortIcon:Hze,loadingIcon:Wze,nodeToggleButton:jze,paginatorTop:$ze,paginatorBottom:Uze,colorScheme:Kze},Xze={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},Zze={loader:Xze},qze=Object.defineProperty,Qze=Object.defineProperties,Jze=Object.getOwnPropertyDescriptors,oB=Object.getOwnPropertySymbols,e_e=Object.prototype.hasOwnProperty,t_e=Object.prototype.propertyIsEnumerable,sB=(e,t,i)=>t in e?qze(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,nB;nB=((e,t)=>{for(var i in t||(t={}))e_e.call(t,i)&&sB(e,i,t[i]);if(oB)for(var i of oB(t))t_e.call(t,i)&&sB(e,i,t[i]);return e})({},fNe),Qze(nB,Jze({components:{accordion:WPe,autocomplete:JPe,avatar:nNe,badge:hNe,blockui:yNe,breadcrumb:SNe,button:MNe,card:TNe,carousel:FNe,cascadeselect:WNe,checkbox:UNe,chip:QNe,colorpicker:oOe,confirmdialog:rOe,confirmpopup:uOe,contextmenu:vOe,datatable:GOe,dataview:$Oe,datepicker:uFe,dialog:yFe,divider:xFe,dock:DFe,drawer:LFe,editor:BFe,fieldset:HFe,fileupload:ZFe,floatlabel:t4e,galleria:m4e,iconfield:v4e,iftalabel:S4e,image:k4e,imagecompare:A4e,inlinemessage:P4e,inplace:F4e,inputchips:_4e,inputgroup:H4e,inputnumber:U4e,inputotp:X4e,inputtext:q4e,knob:iBe,listbox:dBe,megamenu:CBe,menu:kBe,menubar:PBe,message:WBe,metergroup:ZBe,multiselect:r3e,orderlist:c3e,organizationchart:g3e,overlaybadge:m3e,paginator:S3e,panel:A3e,panelmenu:N3e,password:_3e,picklist:W3e,popover:U3e,progressbar:Z3e,progressspinner:Q3e,radiobutton:t5e,rating:s5e,ripple:r5e,scrollpanel:d5e,select:C5e,selectbutton:w5e,skeleton:k5e,slider:E5e,speeddial:N5e,splitbutton:F5e,splitter:_5e,stepper:X5e,steps:tGe,tabmenu:aGe,tabs:fGe,tabview:xGe,tag:kGe,terminal:TGe,textarea:EGe,tieredmenu:zGe,timeline:$Ge,toast:tze,togglebutton:rze,toggleswitch:dze,toolbar:hze,tooltip:fze,tree:xze,treeselect:Tze,treetable:Yze,virtualscroller:Zze}}));const sW=Symbol("focusDataKey"),iw=()=>{const{focuses:e,focusType:t}=v.inject(sW,{focuses:v.ref([]),focusType:v.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}},i_e={class:"pv-flex",style:{"--flex-wrap":"nowrap"}},o_e=["id"],s_e={key:1,style:{"padding-left":"16px"}},n_e=["checked","disabled","onChange"],r_e={class:"pv-text-body-md"},a_e={key:2},l_e={key:0,class:"pv-text-subdued pv-text-body-xxs"},c_e=v.defineComponent({__name:"GroupBySelector",props:{rowGroupLimit:{},enableFocusView:{type:Boolean}},setup(e){const t=v.inject("gridApi"),i=v.inject("availableRowGroupColumns"),o=v.inject("rowGroupColumnFields"),s=e;v.watch(o,()=>{},{deep:!0});const n=y=>o.value.includes(y||""),{clearAllFocuses:r,focusType:a}=iw(),l=(y,m)=>{m?t.value.addRowGroupColumns([y]):t.value.removeRowGroupColumns([y]),s.enableFocusView&&a.value&&a.value!==o.value[0]&&r()},c=v.computed(()=>({"pv-hide":i.value.length===0})),d=v.computed(()=>s.rowGroupLimit?o.value.length>=s.rowGroupLimit:!1),u=v.computed(()=>o.value.map(y=>i.value.find(m=>m.field===y)).filter(y=>y!==void 0)),h=v.computed(()=>i.value.filter(y=>!o.value.includes(y.field))),p=v.computed(()=>{const y={label:"",value:"divider"},m=u.value.map(S=>({label:S.headerName,value:S.field})),C=h.value.map(S=>({label:S.headerName,value:S.field}));return[...m,y,...C]}),g=y=>`group-by-list-item-${y}`,f=y=>{const m=y.findIndex(x=>x==="divider"),S=y.slice(0,m).slice(0,s.rowGroupLimit).map(x=>x.replace("group-by-list-item-",""));t.value.setRowGroupColumns(S)};return(y,m)=>(v.openBlock(),v.createBlock(U7,{isList:!0,isSortable:!0,popoverCssProperties:{width:"auto"},alignment:"right",class:v.normalizeClass(c.value),onListOrderUpdated:f},{trigger:v.withCtx(()=>[v.createElementVNode("div",i_e,[m[0]||(m[0]=v.createElementVNode("p",{class:"pv-truncate pv-text-body-md"},"Compare",-1)),v.unref(o).length>0?(v.openBlock(),v.createBlock(v.unref(Gm),{key:0,value:v.unref(o).length,variant:"tertiary"},null,8,["value"])):v.createCommentVNode("",!0)])]),default:v.withCtx(()=>[(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(p.value,(C,S)=>(v.openBlock(),v.createElementBlock(v.Fragment,{key:C.value},[C.value!=="divider"?(v.openBlock(),v.createElementBlock("li",{key:0,id:g(C.value)},[v.createElementVNode("label",{class:v.normalizeClass(["pv-flex",{"pv-border-bottom":S+1===v.unref(o).length}])},[n(C.value)?(v.openBlock(),v.createBlock(Li,{key:0,name:"reorder",class:"pv-text-subdued"})):(v.openBlock(),v.createElementBlock("span",s_e)),v.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,n_e),v.createElementVNode("span",r_e,v.toDisplayString(C.label),1),n(C.value)?(v.openBlock(),v.createElementBlock("sup",a_e,v.toDisplayString(S+1),1)):v.createCommentVNode("",!0)],2)],8,o_e)):v.createCommentVNode("",!0)],64))),128)),d.value?(v.openBlock(),v.createElementBlock("p",l_e," Supports "+v.toDisplayString(y.rowGroupLimit)+" compare levels ",1)):v.createCommentVNode("",!0)]),_:1},8,["class"]))}}),d_e={},u_e={class:"ag-custom-loading-cell pv-shimmer"};function h_e(e,t){return v.openBlock(),v.createElementBlock("div",u_e)}const p_e=Ea(d_e,[["render",h_e]]),g_e={key:0,class:"pv-table-group-cell"},f_e={class:"pv-text-body-xxs pv-text-subdued"},m_e={key:0},y_e={class:"pv-flex pv-space-between",style:{"line-height":"20px"}},v_e={class:"pv-text-title-md"},b_e={key:0,class:"pv-table-row-number"},C_e=v.defineComponent({__name:"GroupedCellRenderer",props:{params:{}},setup(e){const t=e,i=v.inject("rowGroupColumnFields"),o=v.inject("groupColumnCellValueColumn"),s=v.inject("expandedRows"),n=v.computed(()=>!t.params.displayBaseAggregationsOnly||a.value.level===i.value.length-1),r=v.computed(()=>t.params.rowNode.group),a=w7(t.params,"rowNode"),l=(p,g)=>p?p({value:g,data:a.value.data,node:a.value,api:t.params.api}):g,c=v.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=v.computed(()=>a.value.data&&a.value.data.groupedRecordCount?a.value.data.groupedRecordCount||0:a.value.allChildrenCount||0),u=v.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 v.onMounted(()=>{const p=a.value,g=p.rowIndex,f=p.expanded;g!=null&&(s.value[g]=f),a.value.addEventListener("expandedChanged",h)}),v.onBeforeUnmount(()=>{const p=a.value;a.value.removeEventListener("expandedChanged",h);const g=p.rowIndex;g!=null&&(s.value[g]=!1)}),(p,g)=>(v.openBlock(),v.createElementBlock(v.Fragment,null,[r.value?(v.openBlock(),v.createElementBlock("div",g_e,[v.createElementVNode("p",f_e,[v.createTextVNode(v.toDisplayString(v.unref(a).rowGroupColumn?.getColDef().headerName)+" ",1),p.params.displayCount&&n.value&&d.value>0?(v.openBlock(),v.createElementBlock("span",m_e," ("+v.toDisplayString(d.value.toLocaleString())+") ",1)):v.createCommentVNode("",!0)]),v.createElementVNode("div",y_e,[v.createElementVNode("p",v_e,v.toDisplayString(p.params.formattedValue||p.params.rowNode.key),1)])])):v.createCommentVNode("",!0),v.createElementVNode("div",null,[v.createElementVNode("p",null,[p.params.displayRowNumber&&u.value?(v.openBlock(),v.createElementBlock("span",b_e,v.toDisplayString(u.value),1)):v.createCommentVNode("",!0),v.createTextVNode(" "+v.toDisplayString(c.value),1)])])],64))}});function rB(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 xs=(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))(xs||{});const S_e=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}},x_e=(e,t)=>{if(!e)return e;switch(t){case"percent":return e.replace(/^%+/,"").trim();default:return e}},w_e=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},M_e=(e,t)=>{if(!e)return!1;const i=e.context;return i&&i.dataType?i.dataType===t:!1},D_e=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}},k_e={style:{"line-height":"20px"}},I_e={class:"pv-text-subdued pv-text-body-xxs pv-relative"},A_e=v.defineComponent({__name:"GroupAggCellRenderer",props:{params:{}},setup(e){const t=e,i=v.inject("expandedRows"),o=v.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=v.computed(()=>t.params.node?.rowIndex),r=v.computed(()=>{let c=!1;return n.value!=null&&(c=n.value in i.value?i.value[n.value]:!1),c}),a=v.computed(()=>r.value?"chevron-down":"chevron-right"),l=v.computed(()=>{const d=t.params.column?.getColDef()?.context,u=t.params.valueFormatted||t.params.value;return d&&d.dataType&&[xs.Currency,xs.Percent,xs.Number,xs.Integer].includes(d.dataType)?u.toLocaleString():u});return v.onMounted(()=>{t.params.node.expanded&&n.value&&(i.value[n.value]=!0)}),(c,d)=>(v.openBlock(),v.createElementBlock("div",{class:"pv-flex",ondblclick:s},[v.createElementVNode("div",k_e,[v.createElementVNode("p",null,v.toDisplayString(l.value),1),v.createElementVNode("p",I_e,v.toDisplayString(o.value),1)]),v.createVNode(An,{size:"xl",variant:"ghost","left-icon":a.value,onClick:s},null,8,["left-icon"])]))}}),fC=v.ref({}),nW=v.ref(null),R_e=v.ref(0),T_e=v.ref(0),ek=v.ref({}),FL=v.ref(void 0),BL=v.ref({}),ow=v.ref({}),GL=v.ref({}),rW=v.ref({}),L_e=()=>{const e={};return Object.entries(ow.value).forEach(([t,i])=>{const o=i.filter(s=>!!s);o.length>0&&(e[t]={filterType:"set",values:o})}),e},E_e=async(e,t,i,o)=>{const s=rW.value[t.field]||void 0,n=ow.value[t.field]||[];let r=o;nW.value!=null&&(r=L_e());const a={api:e,colDef:t,column:i,filterModel:r,query:s,selectedValues:n};ek.value[t.field]=!0;const l=n.map(u=>{const h=zL(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 FL.value?.(a);l.forEach(u=>{c?.some(h=>h?.value===u?.value)||c?.push(u)}),t.field&&c&&(BL.value[t.field]=c);const d=c?.filter(u=>u!=null).map(u=>u.value)||[];return ek.value[t.field]=!1,d.filter((u,h)=>d.indexOf(u)===h)},P_e=(e,t)=>e&&e.trim()!==""?t?.toLowerCase().includes(e.toLowerCase())||!1:!0,zL=(e,t)=>{const i=[...BL.value[e]||[],...GL.value[e]||[]];return i?i.find(o=>o?.value===t):null},N_e=()=>FL.value!=null,O_e=(e,t)=>{ow.value[e]=t;const i=[];if(fC.value&&fC.value[e]?.values){const s=fC.value[e].values||[];i.push(...s)}i.push(...t);const o=[];return t.forEach(s=>{const n=zL(e,s);n&&o.push(n)}),GL.value[e]=o,i.filter((s,n)=>i.indexOf(s)===n)},F_e=e=>ow.value[e]||[],B_e=(e,t)=>{rW.value[e]=t},sw=()=>({filterModel:fC,filterModelUpdated:R_e,filterModelCleared:T_e,filterValuesLoadingStatus:ek,filterValueMap:BL,filterValueSelectedMetadataMap:GL,filterStoreHandler:FL,fetchFilterValues:E_e,filterValueContext:zL,filterResultByQuery:P_e,getFilterSelectedValues:F_e,isServerSideFilter:N_e,prevFilterModel:nW,setFilterSelectedValues:O_e,setFilterValueSearchText:B_e}),G_e={class:"pv-flex"},z_e=["type","value","checked","disabled"],__e={key:1,class:"pv-text-body-md",style:{"padding-left":"4px"}},V_e=v.defineComponent({__name:"FilterValueLabel",props:{option:{},enableFocusView:{type:Boolean},filterField:{},filterOptionsRenderer:{},forceCheckSelection:{type:Boolean},formatDisplayValue:{type:Function},handleInputChange:{type:Function},isSingleSelect:{type:Boolean},selectedValues:{},selectionDisabled:{type:Function}},emits:["focus-update"],setup(e){const t=e,{isFocused:i}=iw(),o=v.inject("rowGroupColumnFields"),s=a=>o.value[0]===a&&t.enableFocusView,n=v.computed(()=>s(t.filterField)?"pv-space-between option-label":"pv-flex"),r=v.computed(()=>i(t.option)?"":"focus-button");return(a,l)=>(v.openBlock(),v.createElementBlock("label",{class:v.normalizeClass(n.value)},[v.createElementVNode("div",G_e,[v.createElementVNode("input",{type:a.isSingleSelect?"radio":"checkbox",class:v.normalizeClass(a.isSingleSelect?"pv-radio":"pv-checkbox"),value:a.option,checked:a.selectedValues.includes(a.option)||a.forceCheckSelection,disabled:a.selectionDisabled(a.option),onChange:l[0]||(l[0]=c=>a.handleInputChange(c,a.option))},null,42,z_e),a.filterOptionsRenderer?(v.openBlock(),v.createBlock(v.resolveDynamicComponent(a.filterOptionsRenderer),{key:0,option:a.option,"display-option":a.formatDisplayValue(a.option)},null,8,["option","display-option"])):(v.openBlock(),v.createElementBlock("span",__e,v.toDisplayString(a.formatDisplayValue(a.option)),1))]),s(a.filterField)?(v.openBlock(),v.createBlock(An,{key:0,class:v.normalizeClass(r.value),variant:"ghost","left-icon":"focus",onClick:l[1]||(l[1]=c=>a.$emit("focus-update",a.option))},null,8,["class"])):v.createCommentVNode("",!0)],2))}}),aB=Ea(V_e,[["__scopeId","data-v-5bb7bd55"]]),H_e={class:"pv-stack-8"},W_e={class:"pv-flex",style:{"--flex-wrap":"nowrap"}},j_e={key:1,class:"pv-text-body-md pv-text-subdued",style:{"padding-top":"8px"}},$_e={class:"pv-flex pv-text-subdued pv-space-between",style:{"padding-top":"8px"}},U_e={key:0,class:"pv-flex pv-text-body-xxs pv-text-subdued",style:{"padding-top":"8px",cursor:"default"}},K_e={key:0,class:"pv-tooltip suggested-label","aria-labelledby":"description"},Y_e=["role"],X_e={key:3,class:"pv-text-body-xxs pv-text-subdued"},Z_e={class:"pv-border-top pv-flex",style:{"--flex-justify":"end","padding-top":"8px"}},q_e={key:0,class:"pv-full-width"},Q_e={class:"pv-flex-inline"},J_e={role:"list",class:"pv-flex pv-stack-8",style:{"--flex-wrap":"wrap"}},e8e=4,t8e=v.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=v.inject("gridApi"),{filterModel:n,filterModelCleared:r,filterModelUpdated:a,filterValuesLoadingStatus:l,filterValueContext:c,filterResultByQuery:d,getFilterSelectedValues:u,isServerSideFilter:h,setFilterValueSearchText:p,setFilterSelectedValues:g}=sw(),{handleFocusUpdate:f,isFocused:y,removeFocus:m}=iw(),C=v.inject("firstDataRendered"),S=v.ref([]),x=v.ref([]),D=v.computed(()=>i.filterColDef.field||""),A=v.computed(()=>i.filterColDef.headerName||""),k=v.ref(!1),w=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterValueFormatter&&typeof W.filterValueFormatter=="function"?W.filterValueFormatter:typeof i.filterColDef.valueFormatter=="function"?i.filterColDef.valueFormatter:null}),M=v.ref(""),R=v.ref(0),L=async()=>{P(),await N().then(()=>{k.value=!1})},P=()=>{const W=[];if(n.value&&n.value[D.value]?.values){const K=n.value[D.value].values||[];W.push(...K)}S.value=Array.from(new Set([...u(D.value),...W]))},N=async(W=!1,K=!1)=>{const te=await s.value.getColumnFilterInstance(D.value);h()&&(K||W&&l.value[D.value]!==!0&&a.value>R.value)&&(te.refreshFilterValues(),R.value=a.value),x.value=O(te.getFilterValues())},O=W=>W.sort((K,te)=>{const ae=S.value.includes(K),be=S.value.includes(te);return ae&&!be?-1:!ae&&be?1:0}),F=W=>{const K=c(D.value,W);return w.value?w.value({value:W,context:K}):W},G=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterSelectMax?W.filterSelectMax:null}),_=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterSelectMin?W.filterSelectMin===1&&G.value===1:!1}),V=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterOptionsSortDescription?W.filterOptionsSortDescription:null}),z=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterOptionsSortTooltip?W.filterOptionsSortTooltip:null}),H=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterSearch?W.filterSearch:!0}),B=v.computed(()=>{const W=i.filterColDef.context;return W&&W.emptyFilterResultsRenderer?W.emptyFilterResultsRenderer:null}),j=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterOptionsRenderer?W.filterOptionsRenderer:null}),$=v.computed(()=>{const W=i.filterColDef.context;return W&&W.filterFooterRenderer?W.filterFooterRenderer:null}),U=v.computed(()=>G.value?S.value.length>=G.value:!1),ee=v.computed(()=>x.value.filter(W=>!S.value.includes(W))),X=v.computed(()=>x.value.length===1&&x.value[0]===null&&S.value.length===0),J=v.computed(()=>x.value.filter(W=>c(D.value,W)?.isPreference)),se=v.computed(()=>M.value===""&&J.value.length>0),Y=W=>X.value||c(D.value,W)?.isSelectable===!1?!0:_.value?!1:U.value&&!S.value.includes(W),ie=v.computed(()=>{const W=M.value;let K=x.value.filter((te,ae)=>x.value.indexOf(te)===ae).filter(te=>te!=null&&te!=="");return se.value&&(K=K.filter(te=>!J.value.includes(te))),K.filter(te=>{const ae=F(te);return d(W,ae)})});v.watch(()=>l.value[D.value],()=>{const W=l.value[D.value];k.value&&!W?(N(),k.value=!1):W&&(k.value=!0)},{deep:!0}),v.watch(()=>n.value,()=>{a.value+=1,P()}),v.watch(()=>r.value,()=>{S.value=[]}),v.watch(()=>C.value,()=>{P()}),v.watch(()=>S.value,W=>{g(D.value,W)}),hEe(()=>M.value,async W=>{p(D.value,W),await N(!0,!0)},{debounce:300});const Z=W=>{W&&_.value?S.value=[W]:W&&!S.value.includes(W)&&(S.value=[...S.value,W]),re(),o("filter-selection-changed")},ne=W=>{S.value=S.value.filter(K=>K!==W),re(),o("filter-selection-changed"),y(W)&&m(W)},le=()=>{S.value=[],re(),o("filter-selection-changed")},de=(W,K)=>{W.target.checked?Z(K):ne(K)},re=()=>{const W=S.value.length>0?S.value:null;s.value.setColumnFilterModel(D.value,{values:W}).then(()=>{i.filterStyle==="horizontal"?s.value.onFilterChanged():a.value+=1})},fe=W=>{f(D.value,W),W&&!S.value.includes(W)&&Z(W)},Me=()=>{M.value="",o("filter-closed")};return v.onMounted(()=>{L()}),(W,K)=>(v.openBlock(),v.createElementBlock(v.Fragment,null,[v.createElementVNode("div",H_e,[(v.openBlock(),v.createBlock(v.resolveDynamicComponent(W.filterStyle==="vertical"?"ul":"div"),{role:"list",class:"pv-flex",style:{"--flex-wrap":"wrap"}},{default:v.withCtx(()=>[W.filterStyle==="vertical"?(v.openBlock(!0),v.createElementBlock(v.Fragment,{key:0},v.renderList(S.value,te=>(v.openBlock(),v.createElementBlock("li",{key:`${A.value}-${te}`},[v.createVNode(a2e,{label:F(te)||"",showClear:!0,onHandleClose:ae=>ne(te)},null,8,["label","onHandleClose"])]))),128)):v.createCommentVNode("",!0)]),_:1})),v.createElementVNode("div",null,[v.createVNode(U7,v.mergeProps({isList:!0,icon:W.filterStyle==="vertical",class:"pv-flex",popoverCssProperties:{width:"auto",maxWidth:W.filterStyle==="vertical"?"300px":"400px",overflowX:"auto"},isLoading:k.value,onDropdownOpen:K[3]||(K[3]=te=>N(!0)),onDropdownClosed:Me},W.filterStyle==="horizontal"?{"data-horizontal-filter-field":D.value}:{}),v.createSlots({default:v.withCtx(()=>[H.value?(v.openBlock(),v.createBlock(Y7,{key:0,modelValue:M.value,"onUpdate:modelValue":K[0]||(K[0]=te=>M.value=te),size:"sm",style:{"min-width":"200px"}},null,8,["modelValue"])):v.createCommentVNode("",!0),ie.value.length===0?(v.openBlock(),v.createElementBlock("li",j_e,[!k.value&&B.value?(v.openBlock(),v.createBlock(v.resolveDynamicComponent(B.value),{key:0,"search-text":M.value},null,8,["search-text"])):(v.openBlock(),v.createElementBlock(v.Fragment,{key:1},[v.createTextVNode(v.toDisplayString(k.value?"Loading...":"No results found"),1)],64))])):(v.openBlock(),v.createElementBlock(v.Fragment,{key:2},[se.value?(v.openBlock(),v.createElementBlock(v.Fragment,{key:0},[v.createElementVNode("li",$_e,[K[4]||(K[4]=v.createElementVNode("span",{class:"pv-text-subdued pv-text-body-xxs"},"Your Preferences",-1)),W.displayPreferencesIcon?(v.openBlock(),v.createBlock(An,{key:0,size:"md",variant:"ghost",onClick:K[1]||(K[1]=te=>W.$emit("handle-settings-icon",A.value)),"right-icon":"sliders-horizontal"})):v.createCommentVNode("",!0)]),(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(J.value,(te,ae)=>(v.openBlock(),v.createElementBlock("li",{key:te,class:v.normalizeClass({"pv-border-bottom":ae===J.value.length-1})},[v.createVNode(aB,{option:te,"enable-focus-view":W.enableFocusView,"filter-field":D.value,"filter-options-renderer":j.value,"force-check-selection":X.value,"format-display-value":F,"handle-input-change":de,"is-single-select":_.value,"selected-values":S.value,"selection-disabled":Y,onFocusUpdate:fe},null,8,["option","enable-focus-view","filter-field","filter-options-renderer","force-check-selection","is-single-select","selected-values"])],2))),128)),V.value?(v.openBlock(),v.createElementBlock("li",U_e,[V.value?(v.openBlock(),v.createElementBlock("span",K_e,[v.createElementVNode("dfn",null,[v.createVNode(Li,{name:"ai",size:12})]),v.createElementVNode("span",{role:z.value?"tooltip":void 0,id:"description","data-position":"center-right",style:{"max-width":"175px"}},[v.createElementVNode("span",null,v.toDisplayString(z.value),1)],8,Y_e)])):v.createCommentVNode("",!0),v.createTextVNode(" "+v.toDisplayString(V.value),1)])):v.createCommentVNode("",!0)],64)):v.createCommentVNode("",!0),(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(ie.value,te=>(v.openBlock(),v.createElementBlock("li",{key:te},[v.createVNode(aB,{option:te,"enable-focus-view":W.enableFocusView,"filter-field":D.value,"filter-options-renderer":j.value,"force-check-selection":X.value,"format-display-value":F,"handle-input-change":de,"is-single-select":_.value,"selected-values":S.value,"selection-disabled":Y,onFocusUpdate:fe},null,8,["option","enable-focus-view","filter-field","filter-options-renderer","force-check-selection","is-single-select","selected-values"])]))),128))],64)),U.value?(v.openBlock(),v.createElementBlock("p",X_e," Max of "+v.toDisplayString(G.value)+" allowed ",1)):v.createCommentVNode("",!0),!k.value&&ie.value.length!=0&&$.value?(v.openBlock(),v.createBlock(v.resolveDynamicComponent($.value),{key:4})):v.createCommentVNode("",!0),v.createElementVNode("div",Z_e,[v.createVNode(An,{variant:"ghost",size:"md",disabled:S.value.length===0,onClick:K[2]||(K[2]=te=>le()),label:"Clear All"},null,8,["disabled"])])]),_:2},[W.filterStyle==="horizontal"?{name:"trigger",fn:v.withCtx(()=>[v.createElementVNode("div",W_e,[S.value.length>0?(v.openBlock(),v.createBlock(v.unref(Gm),{key:0,value:S.value.length,variant:"tertiary"},null,8,["value"])):v.createCommentVNode("",!0),v.createElementVNode("p",{class:v.normalizeClass(["pv-text-body-md pv-truncate",{"pv-shimmer":k.value}])},v.toDisplayString(A.value),3)])]),key:"0"}:{name:"trigger",fn:v.withCtx(()=>[v.createVNode(Li,{class:"pv-text-subdued",name:"add-circle"})]),key:"1"}]),1040,["icon","popoverCssProperties","isLoading"])])]),W.filterStyle=="vertical"?(v.openBlock(),v.createElementBlock("div",q_e,[v.createElementVNode("div",Q_e,[v.createElementVNode("ul",J_e,[K[5]||(K[5]=v.createElementVNode("li",null,[v.createElementVNode("p",{class:"pv-text-subdued pv-text-body-md"},"Suggested:")],-1)),(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(ee.value.filter(te=>te!==""&&te!=null).slice(0,e8e),te=>(v.openBlock(),v.createElementBlock("li",{key:`${A.value}-${te}-suggest`},[v.createVNode(v.unref(b2e),{label:F(te)||"",onHandleClick:ae=>Z(te)},null,8,["label","onHandleClick"])]))),128))])])])):v.createCommentVNode("",!0)],64))}}),lB=Ea(t8e,[["__scopeId","data-v-4c62e690"]]),i8e={class:"pv-flex"},o8e={class:"pv-flex"},s8e={class:"pv-flex-vertical pv-space-between pv-full-width",style:{height:"100%","overflow-x":"hidden"}},n8e={class:"pv-flex-vertical pv-full-width"},r8e={class:"pv-flex pv-inset-squish pv-full-width pv-space-between"},a8e={class:"pv-text-title-lg"},l8e={class:"pv-full-width pv-inset-inline-24"},c8e={class:"pv-details",open:""},d8e={class:"pv-flex pv-stack-8",style:{width:"fit-content"}},u8e={class:"pv-text-title-lg"},h8e={class:"pv-inset-block-8"},p8e={class:"pv-sticky pv-border-top pv-full-width pv-inset-squish pv-flex pv-space-between pv-surface",style:{"--top":"unset",bottom:"0"}},g8e={class:"pv-flex"},cB=5,f8e=v.defineComponent({__name:"FilterPanel",props:{enableFocusView:{type:Boolean,default:!1},enableVerticalPanel:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1}},emits:["handle-settings-icon"],setup(e){const t=v.inject("gridApi"),i=v.inject("availableFilterColumns"),o=v.inject("currentlyActiveFilter"),{filterModelCleared:s,prevFilterModel:n,filterModel:r}=sw(),a=v.ref(null),l=v.computed(()=>{const m=[...i.value].slice(0,cB);return o.value?[...m.slice(0,cB-1),o.value]:m}),c=v.computed(()=>{const m=r.value||{};return Object.keys(m).length}),d=v.ref(!1),u=()=>{d.value=!0},h=()=>{d.value=!1,n.value=t.value.getFilterModel(),a.value?.showModal()},{clearAllFocuses:p}=iw(),g=()=>{n.value=null,t.value.setFilterModel(null),t.value.onFilterChanged(),s.value+=1,p()},f=()=>{n.value&&t.value.setFilterModel(n.value),n.value=null,a.value?.close()},y=()=>{t.value.onFilterChanged(),a.value?.close(),s.value+=1};return(m,C)=>(v.openBlock(),v.createElementBlock("div",i8e,[(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(l.value,S=>(v.openBlock(),v.createElementBlock(v.Fragment,{key:S.field},[v.unref(t)?(v.openBlock(),v.createBlock(lB,{key:0,"enable-focus-view":m.enableFocusView,"display-preferences-icon":m.displayPreferencesIcon,filterColDef:S,onHandleSettingsIcon:C[0]||(C[0]=x=>m.$emit("handle-settings-icon",x))},null,8,["enable-focus-view","display-preferences-icon","filterColDef"])):v.createCommentVNode("",!0)],64))),128)),v.createElementVNode("div",o8e,[m.enableVerticalPanel?(v.openBlock(),v.createBlock(v.unref(An),{key:0,class:"pv-button-ghost pv-stack-8 pv-inset-block",label:"All Filters",onClick:h,variant:"ghost","left-icon":"filter"})):v.createCommentVNode("",!0),c.value>0?(v.openBlock(),v.createElementBlock("button",{key:1,class:"pv-button-ghost pv-stack-8 pv-inset-block",onClick:C[1]||(C[1]=S=>g()),style:{"--inset-size":"6px"}},[v.createVNode(v.unref(Li),{name:"close"}),C[8]||(C[8]=v.createTextVNode(" Clear All Filters ")),c.value>0?(v.openBlock(),v.createBlock(v.unref(Gm),{key:0,value:c.value,variant:"tertiary"},null,8,["value"])):v.createCommentVNode("",!0)])):v.createCommentVNode("",!0)]),m.enableVerticalPanel?(v.openBlock(),v.createElementBlock("dialog",{key:0,ref_key:"filterDrawer",ref:a,id:"filter-vertical-drawer",class:"pv-drawer pv-surface",onClick:C[7]||(C[7]=v.withModifiers(S=>f(),["self"])),style:{"max-width":"450px"}},[v.createElementVNode("div",s8e,[v.createElementVNode("div",n8e,[v.createElementVNode("div",r8e,[v.createElementVNode("p",a8e," All Filters ("+v.toDisplayString(v.unref(i).length)+") ",1),v.createElementVNode("button",{class:"pv-button-ghost",onClick:C[2]||(C[2]=S=>f())},[v.createVNode(v.unref(Li),{name:"close"})])]),v.createElementVNode("div",l8e,[(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(v.unref(i),(S,x)=>(v.openBlock(),v.createElementBlock("div",{key:S.field,class:v.normalizeClass([{"pv-border-bottom":x<v.unref(i).length-1},"pv-stack-12"])},[v.createElementVNode("details",c8e,[v.createElementVNode("summary",d8e,[v.createElementVNode("span",u8e,v.toDisplayString(S.headerName),1)]),v.createElementVNode("div",h8e,[v.unref(t)?(v.openBlock(),v.createBlock(lB,{key:0,"filter-style":"vertical","enable-focus-view":m.enableFocusView,filterColDef:S,"display-preferences-icon":m.displayPreferencesIcon,onFilterSelectionChanged:u,onHandleSettingsIcon:C[3]||(C[3]=D=>m.$emit("handle-settings-icon",D))},null,8,["enable-focus-view","filterColDef","display-preferences-icon"])):v.createCommentVNode("",!0)])])],2))),128))])]),v.createElementVNode("div",p8e,[v.createElementVNode("button",{class:"pv-button-ghost",onClick:C[4]||(C[4]=S=>g())}," Clear All "),v.createElementVNode("div",g8e,[v.createVNode(v.unref(An),{variant:"ghost",label:"Cancel",onClick:C[5]||(C[5]=S=>f())}),d.value?(v.openBlock(),v.createBlock(v.unref(An),{key:0,variant:"primary",label:"Apply",onClick:C[6]||(C[6]=S=>y())})):(v.openBlock(),v.createBlock(v.unref(An),{key:1,variant:"primary",label:"No Changes",disabled:""}))])])])],512)):v.createCommentVNode("",!0)]))}}),m8e={class:"pv-flex"},y8e={key:0,class:"pv-flex ag-header-actions"},v8e=v.defineComponent({__name:"HeaderCellRenderer",props:{params:{}},setup(e,{expose:t}){const i=e,o=v.ref(!1),s=v.ref(!1),n=v.ref(null),r=v.ref(null),a=v.ref(null),l=v.ref(!1),c=v.computed(()=>{const S=i.params.column.getColDef();return S.sortable||S.filter||S.enableRowGroup}),d=v.inject("sortState"),u=v.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=v.computed(()=>s.value?{cursor:"pointer"}:{}),p=v.computed(()=>l.value?{opacity:1}:{}),g=()=>{l.value=!1},f=()=>{l.value=!0,a.value&&i.params.showColumnMenu(a.value,g)},y=S=>{o.value=S.enableFilterButton,s.value=S.enableSorting||!1,n.value=S.displayName,r.value=S_e(S.column.getColDef().context?.dataType),n.value=x_e(n.value,S.column.getColDef().context?.dataType)},m=()=>{s.value&&i.params.progressSort(!1)};v.onBeforeMount(()=>{y(i.params)});function C(S){return y(S),!0}return t({refresh:C}),(S,x)=>(v.openBlock(),v.createElementBlock("div",{class:"ag-custom-header-cell pv-flex pv-full-width pv-space-between",style:v.normalizeStyle(h.value),onClick:m},[v.createElementVNode("div",m8e,[r.value?(v.openBlock(),v.createBlock(Li,{key:0,name:r.value,class:"pv-text-subdued"},null,8,["name"])):v.createCommentVNode("",!0),v.createElementVNode("p",null,v.toDisplayString(n.value),1),s.value&&u.value!==""?(v.openBlock(),v.createBlock(Li,{key:1,name:u.value},null,8,["name"])):v.createCommentVNode("",!0)]),c.value?(v.openBlock(),v.createElementBlock("div",y8e,[v.createElementVNode("div",{ref_key:"menuButton",ref:a,class:"ag-header-cell-menu-button",style:v.normalizeStyle(p.value)},[v.createVNode(An,{size:"xl",variant:"ghost","left-icon":"menu",onClick:v.withModifiers(f,["stop","prevent"])})],4)])):v.createCommentVNode("",!0)],4))}}),dB=Ea(v8e,[["__scopeId","data-v-054d9038"]]),b8e=ML.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"}),C8e=ML.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"}),S8e={class:"pv-popover-menu"},x8e={class:"pv-popover",style:{"--height":"auto"}},w8e=["disabled"],M8e=v.defineComponent({__name:"ExportMenu",props:{getCsvData:{type:Function}},setup(e){const t=e,i=v.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)=>(v.openBlock(),v.createElementBlock("nav",S8e,[n[0]||(n[0]=v.createElementVNode("button",{type:"button",class:"pv-button-icon"},[v.createElementVNode("svg",{"aria-hidden":"true",class:"pv-icon-24"},[v.createElementVNode("title",null,"ellipsis"),v.createElementVNode("use",{"xlink:href":"#ellipsis"})])],-1)),v.createElementVNode("div",x8e,[v.createElementVNode("button",{class:"pv-button pv-text-body-sm pv-inset-square-8",onClick:v.withModifiers(o,["prevent"]),disabled:i.value},[i.value?(v.openBlock(),v.createElementBlock(v.Fragment,{key:0},[v.createTextVNode("Exporting...")],64)):(v.openBlock(),v.createElementBlock(v.Fragment,{key:1},[v.createTextVNode("Download CSV")],64))],8,w8e)])]))}}),D8e={key:1,class:""},k8e=v.defineComponent({__name:"PaginationPanel",props:{panelSize:{default:"xl"}},setup(e){B6.registerModules([SAe]);const t=v.inject("gridApi"),i=v.inject("currentPage"),o=v.inject("totalPages"),s=e,n=v.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)=>(v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(["pv-flex",{"pv-hide":v.unref(o)<=1}])},[v.createVNode(An,{variant:"ghost",onClick:r,disabled:v.unref(i)===1,size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-left"},null,8,["disabled","size"]),(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(n.value,u=>(v.openBlock(),v.createElementBlock(v.Fragment,{key:u},[typeof u=="number"?(v.openBlock(),v.createBlock(An,{key:0,variant:u===v.unref(i)?"primary":"ghost",size:s.panelSize==="l"?"md":"lg",onClick:h=>l(u),label:u.toString()},null,8,["variant","size","onClick","label"])):(v.openBlock(),v.createElementBlock("span",D8e,"..."))],64))),128)),v.createVNode(An,{variant:"ghost",onClick:a,disabled:v.unref(i)===v.unref(o),size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-right"},null,8,["disabled","size"])],2))}});function I8e(){}function A8e(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 uB(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function hB(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const R8e="[object RegExp]",T8e="[object String]",L8e="[object Number]",E8e="[object Boolean]",pB="[object Arguments]",P8e="[object Symbol]",N8e="[object Date]",O8e="[object Map]",F8e="[object Set]",B8e="[object Array]",G8e="[object Function]",z8e="[object ArrayBuffer]",D1="[object Object]",_8e="[object Error]",V8e="[object DataView]",H8e="[object Uint8Array]",W8e="[object Uint8ClampedArray]",j8e="[object Uint16Array]",$8e="[object Uint32Array]",U8e="[object BigUint64Array]",K8e="[object Int8Array]",Y8e="[object Int16Array]",X8e="[object Int32Array]",Z8e="[object BigInt64Array]",q8e="[object Float32Array]",Q8e="[object Float64Array]";function gB(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 J8e(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function eVe(e,t,i){return ff(e,t,void 0,void 0,void 0,void 0,i)}function ff(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 Wf(e,t,n,r)}return Wf(e,t,n,r)}function Wf(e,t,i,o){if(Object.is(e,t))return!0;let s=hB(e),n=hB(t);if(s===pB&&(s=D1),n===pB&&(n=D1),s!==n)return!1;switch(s){case T8e:return e.toString()===t.toString();case L8e:{const l=e.valueOf(),c=t.valueOf();return J8e(l,c)}case E8e:case N8e:case P8e:return Object.is(e.valueOf(),t.valueOf());case R8e:return e.source===t.source&&e.flags===t.flags;case G8e: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 O8e:{if(e.size!==t.size)return!1;for(const[l,c]of e.entries())if(!t.has(l)||!ff(c,t.get(l),l,e,t,i,o))return!1;return!0}case F8e:{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=>ff(u,p,void 0,e,t,i,o));if(h===-1)return!1;c.splice(h,1)}return!0}case B8e:case H8e:case W8e:case j8e:case $8e:case U8e:case K8e:case Y8e:case X8e:case Z8e:case q8e:case Q8e:{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(!ff(e[l],t[l],l,e,t,i,o))return!1;return!0}case z8e:return e.byteLength!==t.byteLength?!1:Wf(new Uint8Array(e),new Uint8Array(t),i,o);case V8e:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Wf(new Uint8Array(e),new Uint8Array(t),i,o);case _8e:return e.name===t.name&&e.message===t.message;case D1:{if(!(Wf(e.constructor,t.constructor,i,o)||gB(e)&&gB(t)))return!1;const c=[...Object.keys(e),...uB(e)],d=[...Object.keys(t),...uB(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(!ff(p,g,h,e,t,i,o))return!1}return!0}default:return!1}}finally{i.delete(e),i.delete(t)}}function Ob(e,t){return eVe(e,t,I8e)}const tVe={key:0,class:"pv-tag"},iVe=v.defineComponent({__name:"TagCellRenderer",props:{params:{}},setup(e){const t=e,i=v.computed(()=>{const o=t.params.valueFormatted||t.params.value||"";return o.trim()===""?null:o});return(o,s)=>i.value?(v.openBlock(),v.createElementBlock("div",tVe,v.toDisplayString(i.value),1)):v.createCommentVNode("",!0)}}),oVe={key:0,class:"pv-table-row-number"},sVe=v.defineComponent({__name:"RowCountCellRenderer",props:{params:{}},setup(e){const t=e,i=v.computed(()=>(t.params.node?.rowIndex||0)+1),o=v.computed(()=>{const n=t.params.column?.getColDef()?.context,r=t.params.valueFormatted||t.params.value;return n&&n.dataType&&[xs.Currency,xs.Percent,xs.Number,xs.Integer].includes(n.dataType)?r.toLocaleString():r});return(s,n)=>(v.openBlock(),v.createElementBlock("div",null,[v.createElementVNode("p",null,[i.value?(v.openBlock(),v.createElementBlock("span",oVe,v.toDisplayString(i.value),1)):v.createCommentVNode("",!0),v.createTextVNode(" "+v.toDisplayString(o.value),1)])]))}}),nVe=Ea(sVe,[["__scopeId","data-v-ae67b797"]]),rVe={style:{"background-color":"white"},class:"pv-inset-square-8 pv-bordered-md pv-text-md"},aVe={style:{color:"black"}},lVe=v.defineComponent({__name:"TableTooltip",props:{params:{}},setup(e){return(t,i)=>(v.openBlock(),v.createElementBlock("div",rVe,[v.createElementVNode("p",aVe,v.toDisplayString(t.params.value),1)]))}}),cVe={class:"pv-stack-8"},dVe={class:"pv-flex pv-space-between"},uVe={class:"pv-flex"},hVe={key:0,class:"pv-table-overlay"},pVe={class:"pv-text-body-xs pv-text-center",style:{"padding-top":"50px"}},gVe=v.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"],setup(e,{expose:t,emit:i}){const o=[kIe,DIe,eMe,WRe,PIe,zIe,KLe,YLe,sTe,XTe,fAe,sAe,MAe];e7.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(mke);const r=v.computed(()=>({height:`${n.containerHeight}px`,minHeight:`${n.containerMinHeight}px`})),a=v.computed(()=>n.theme?n.theme:C.value.length>0?C8e:b8e),l=i,c="serverSideRowHandler"in n&&n.serverSideRowHandler?{getRows:q=>{if(!D.value){q.success({rowData:[]});return}n.serverSideRowHandler?.(q)}}:null,d="filterValuesSetHandler"in n&&n.filterValuesSetHandler?async q=>{let he={...M.value};!S.value&&n.initialGridState&&(he=n.initialGridState.filter?.filterModel||{});const Ie=await N(q.api,q.colDef,q.column,he);q.success([...Ie,""])}:null,u=q=>{const he=q.node,Ie=q.column?.getColId();return!he.group||!Ie?!1:V.value.some(Ve=>{if(Ve.field===Ie)return!0})},h=(()=>{const q={suppressHeaderFilterButton:!0,editable:!1,sortable:!0,suppressHeaderMenuButton:!0,suppressColumnsToolPanel:!0,minWidth:200,flex:1,headerComponent:dB,cellDataType:!1,tooltipComponent:lVe,cellRendererSelector:he=>{if(u(he))return{component:A_e,params:he};if(!he.column?.getColDef().cellRenderer&&n.displayRowNumber&&C.value.length===0){const Ie=he.api.getAllDisplayedColumns()||[],Ve=he.column;if(Ie.findIndex(no=>no===Ve)===0)return{component:nVe,params:he}}}};return c&&d&&(q.filterParams={values:d}),q})(),p=v.ref(void 0),g={name:"Column Filter",icon:'<span class="ag-icon ag-icon-filter"></span>',action:function(q){let he=q.column?.getColId();if(q.column&&X(q.column)&&(he=z.value?.getColId()||""),!fe(he)){const Ve=q.api.getColumn(he)?.getColDef();Ve&&(m.value=Ve,v.nextTick(()=>{fe(he)}))}}},f=(q,he)=>{const Ie={...q};return he.isArrayField&&!q.valueFormatter?Ie.valueFormatter=Ve=>Eve(Ve,he.dataType):he.dataType===xs.Percent&&!q.valueFormatter?Ie.valueFormatter=Ve=>Tve(Ve,he.valueDecimals||0):he.dataType===xs.Currency&&!q.valueFormatter?Ie.valueFormatter=Ve=>I9(Ve,he.valueDecimals||0):he.dataType===xs.Integer&&!q.valueFormatter?Ie.valueFormatter=Lve:he.dataType===xs.Tag&&!q.cellRenderer&&(Ie.cellRenderer=iVe),Ie},y=v.computed(()=>!n.colDefs||n.colDefs.length===0?[]:n.colDefs.map(q=>{const he=q.context;return he?f(q,he):q})),m=v.ref(null),C=v.ref([]),S=v.ref(!1),x=v.computed(()=>{if(C.value.length>0){const q=C.value[0],he=y.value.find(Ve=>Ve.field===q);if((!M.value||!M.value[q])&&he?.context?.filterRequiredToGroup)return he.headerName}return null}),D=v.computed(()=>(!M.value||Object.keys(M.value).length===0)&&n.requireFiltersToShowData?!1:x.value===null),A=v.computed(()=>x.value?`Select at least one value for "${x.value}" to view data.`:"Select a filter to view data."),k=v.shallowRef(null),w=v.ref([]),{filterModel:M,filterValuesLoadingStatus:R,filterValueMap:L,filterValueSelectedMetadataMap:P,fetchFilterValues:N,filterStoreHandler:O}=sw();O.value=n.filterValuesSetHandler,L.value=n.initialFilterValueMap||{};const F=v.ref(null),G=v.computed(()=>y.value.filter(q=>q.filter)),_=v.computed(()=>y.value.filter(q=>q.enableRowGroup)),V=v.computed(()=>y.value.filter(q=>q.aggFunc)),z=v.ref(null),H=v.ref({}),B=v.ref(1),j=v.ref(0);v.provide("filterModel",M),v.provide("sortState",w),v.provide("gridApi",k),v.provide("columnDisplayOrder",F),v.provide("currentlyActiveFilter",m),v.provide("availableFilterColumns",G),v.provide("availableRowGroupColumns",_),v.provide("rowGroupColumnFields",C),v.provide("groupColumnCellValueColumn",z),v.provide("expandedRows",H),v.provide("firstDataRendered",S),v.provide("filterValuesLoadingStatus",R),v.provide("displayUnfilteredTableData",D),v.provide("currentPage",B),v.provide("totalPages",j),v.provide(sW,{focuses:v.ref([]),focusType:v.ref(null)});const $=q=>{if(k.value=q.api,n.initialGridState){const he=n.initialGridState.filter?.filterModel||null;he&&k.value.setFilterModel(he)}if(C.value.length>0){const he=C.value[0];z.value=q.api.getColumn(he),q.api.setColumnsVisible([he],!1)}F.value=q.api.getAllGridColumns(),B.value=q.api.paginationGetCurrentPage()+1,j.value=q.api.paginationGetTotalPages(),l("grid-ready",q)},U=q=>{if(k.value){const he=q.api.getFilterModel();Ob(M.value,he)||(M.value=he,l("filter-changed",q))}},ee=q=>{w.value=q.api?.getState()?.sort?.sortModel||[],l("sort-changed",q)},X=q=>q.getColId()&&q.getColId().includes("ag-Grid-AutoColumn"),J=v.ref(!1),se=async q=>{if(!k.value){console.error("Grid API not available");return}const he=q||{route:[],purge:!0};k.value.refreshServerSide(he)},Y=()=>P.value,ie=async()=>{if(J.value=!0,!k.value)return console.error("Grid API not available"),J.value=!1,null;try{const q=n.serverSideCsvHandler,he=k.value?.getState(),Ie={rowGroupCols:[],valueCols:k.value?.getValueColumns().map(rt=>({id:rt.getId(),field:rt.getColDef().field,aggFunc:typeof rt.getColDef().aggFunc=="string"?rt.getColDef().aggFunc:void 0,displayName:rt.getColDef().headerName||rt.getColDef().field||""}))||[],filterModel:he?.filter?.filterModel||{},sortModel:he?.sort?.sortModel||[],pivotCols:[],pivotMode:!1,groupKeys:[],startRow:0,endRow:n.csvRowLimit};if(q){const rt={request:Ie,parentNode:{},api:k.value,context:void 0,success:()=>{},fail:()=>{}};return await n.serverSideCsvHandler(rt),J.value=!1,null}const Ve=n.serverSideRowHandler;return Ve?await new Promise((rt,no)=>{const Wo=k.value?.getState(),Oa={request:Ie,parentNode:{},api:k.value,context:void 0,success:kg=>{const nw=k.value?.getRowGroupColumns().map(Fs=>Fs.getColDef().field).filter(Fs=>!!Fs)||[],cW=k.value?.getAllDisplayedColumns().map(Fs=>Fs.getColDef().field).filter(Fs=>!!Fs)||[],dW=k.value?.getValueColumns().map(Fs=>Fs.getColDef().field).filter(Fs=>!!Fs)||[],uW=Array.from(new Set([...nw,...cW,...dW])),hW=kg.rowData.map(Fs=>{const _L={};return uW.forEach(VL=>{const HL=Fs[VL];_L[VL]=HL!=null?String(HL):null}),_L}),pW=iEe.unparse(hW);J.value=!1,rt(pW)},fail:()=>{J.value=!1,no("CSV export failed.")}};Ve(Oa,!0)}):(console.warn("Client-side export does not return CSV string"),J.value=!1,k.value.exportDataAsCsv(),null)}catch(q){return console.error("CSV export failed",q),J.value=!1,null}},Z=q=>{const he=z.value,Ie=q.api.getRowGroupColumns();C.value=[...Ie].map(no=>no.getColId());const Ve=Ie.length>0?Ie[0]:null;Ve?(z.value=Ve,K.value.headerName=Ve.getColDef().headerName,K.value.headerComponent=dB,K.value.context={dataType:z.value?.getColDef().context?.dataType||null},q.api.setColumnsVisible([Ve.getColId()],!1)):(z.value=null,K.value.headerName="",K.value.headerComponent=void 0,K.value.context=null);const rt=he?.getColId();(!Ve||rt!==Ve.getColId())&&q.api.setColumnsVisible([rt||""],!0),l("column-row-group-changed",q)},ne=q=>{const he=q.column?.getColId()||"";if(he===z.value?.getColId()){q.api.setColumnsVisible([he],!1);return}},le=q=>{q.finished&&(F.value=q.api.getAllGridColumns()),l("column-moved",q)},de=q=>{q.api&&(B.value=q.api.paginationGetCurrentPage()+1,j.value=q.api.paginationGetTotalPages())},re=q=>"allChildrenRowCount"in q&&q.allChildrenRowCount||0,fe=q=>{const he=document.querySelector(`[data-horizontal-filter-field="${q}"]`);if(he){const Ie=he.querySelector("button");if(Ie)return Ie.click(),!0}return!1},Me=v.ref(p_e),W=v.ref({loadingMessage:"One moment please..."}),K=v.ref({headerName:"",minWidth:200,suppressMovable:!0,sortable:!1,pinned:"left",headerComponent:void 0,cellRendererParams:{suppressCount:!0,innerRenderer:C_e,innerRendererParams:q=>({displayBaseAggregationsOnly:n.displayBaseAggregationsOnly,displayRowNumber:n.displayRowNumber,displayCount:n.displayGroupCount,formattedValue:q.valueFormatted,rowNode:q.node,api:k.value})}}),te=q=>{if(q.node.group)return{backgroundColor:"#F7F8F8"}},ae={Median:q=>{const he=q.values;if(q.rowNode.leafGroup){const rt=rB(he);return{values:he,value:rt}}const Ie=q.values.flatMap(rt=>rt.values||[]),Ve=rB(Ie);return{values:Ie,value:Ve}}};v.onBeforeMount(()=>{const q=Array.isArray(n.rowData)&&n.rowData.length>0,he=typeof n.serverSideRowHandler=="function",Ie=typeof n.filterValuesSetHandler=="function";(q&&he||q&&Ie)&&console.warn("Only one of `rowData` or `serverSideRowHandler + hasFilterValuesSetHandler` params should be provided to PvDataTable, not both."),p.value=Ve=>{const rt=["sortAscending","sortDescending","sortUnSort","rowUnGroup","valueAggSubMenu"],no=Ve.column&&X(Ve.column)?z.value:Ve.column;return no&&no.getColDef().filter&&rt.splice(2,0,g),rt.filter(Wo=>typeof Wo=="string"?Ve.defaultItems.includes(Wo):!0)}});const be=q=>{const he=k.value;if(!he)return;const Ie=q.filter?.filterModel||null,Ve=q.rowGroup?.groupColIds||null,rt=q.columnVisibility||null;Ie&&!Ob(Ie,Ie.value)&&he.setFilterModel(Ie),Ve&&!Ob(Ve,C.value)&&he.setRowGroupColumns(Ve),rt&&!Ob(rt,F.value)&&he.setColumnsVisible(rt.hiddenColIds,!1)};v.watch(()=>n.initialGridState,()=>{n.initialGridState&&be(n.initialGridState)},{deep:!0}),v.onMounted(()=>{n.initialGridState&&(M.value=n.initialGridState.filter?.filterModel||null,C.value=n.initialGridState.rowGroup?.groupColIds||[])});const Ce=q=>{S.value=!0,l("first-data-rendered",q)};t({getCsvData:ie,refreshData:se,getFilterValueSelectedMetadataMap:Y});const ke=q=>c?q.rowNode.level===C.value.length-2:!1,je=v.computed(()=>{if(!c)return n.groupDefaultExpanded});return(q,he)=>(v.openBlock(),v.createElementBlock("div",{class:"pv-full-width",style:v.normalizeStyle(r.value)},[v.createElementVNode("div",cVe,[v.createElementVNode("div",dVe,[G.value.length>0?(v.openBlock(),v.createBlock(f8e,{key:0,"enable-focus-view":q.enableFocusView,"enable-vertical-panel":q.enableVerticalFilterPanel,"display-preferences-icon":q.displayPreferencesIcon,onHandleSettingsIcon:he[0]||(he[0]=Ie=>q.$emit("handle-settings-icon",Ie))},null,8,["enable-focus-view","enable-vertical-panel","display-preferences-icon"])):v.createCommentVNode("",!0),v.createElementVNode("div",uVe,[q.enableGroupBySelector&&q.rowGroupLimit!==0?(v.openBlock(),v.createBlock(c_e,{key:0,rowGroupLimit:q.rowGroupLimit,enableFocusView:q.enableFocusView},null,8,["rowGroupLimit","enableFocusView"])):v.createCommentVNode("",!0),q.enableCsvExport?(v.openBlock(),v.createBlock(M8e,{key:1,getCsvData:ie})):v.createCommentVNode("",!0)])])]),v.createElementVNode("div",{class:v.normalizeClass(["pv-relative pv-stack-8",q.hideTable?"pv-hide":""]),style:{width:"100%",height:"90%","border-bottom":"1px solid #d2d7db"}},[v.createVNode(v.unref(NAe),v.mergeProps({ref:"gridRef",style:{width:"100%",height:"100%"}},v.unref(c)?{serverSideDatasource:v.unref(c)}:{},{onColumnMoved:le,onColumnRowGroupChanged:Z,onColumnVisible:ne,onFilterChanged:U,onFilterOpened:he[1]||(he[1]=Ie=>l("filter-opened",Ie)),onFirstDataRendered:Ce,onGridReady:$,onPaginationChanged:de,onSortChanged:ee,aggFuncs:ae,autoGroupColumnDef:K.value,columnDefs:y.value,debug:q.debugMode,defaultColDef:v.unref(h),getChildCount:re,getMainMenuItems:p.value,getRowStyle:te,groupDefaultExpanded:je.value,groupDisplayType:"singleColumn",initialState:q.initialGridState,isGroupOpenByDefault:v.unref(c)?void 0:n.isClientSideGroupOpenByDefault,isServerSideGroupOpenByDefault:ke,loading:v.unref(c)?!1:q.isLoading,loadingCellRenderer:Me.value,loadingCellRendererParams:W.value,maxConcurrentDatasourceRequests:v.unref(c)?10:void 0,modules:o,rowData:q.rowData,rowHeight:q.rowHeight,rowModelType:v.unref(c)?"serverSide":"clientSide",serverSideInitialRowCount:v.unref(c)?1:void 0,showOpenedGroup:!0,suppressAggFuncInHeader:!0,suppressColumnMoveAnimation:!0,suppressDragLeaveHidesColumns:!0,serverSideSortAllLevels:!1,serverSideEnableClientSideSort:!1,theme:a.value,pagination:q.pagination,suppressPaginationPanel:!0,paginationPageSize:q.paginationPageSize,suppressScrollOnNewData:!0,"tooltip-show-delay":q.tooltipShowDelay,"tooltip-hide-delay":q.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?v.createCommentVNode("",!0):(v.openBlock(),v.createElementBlock("div",hVe,[v.createElementVNode("p",pVe,v.toDisplayString(A.value),1)]))],2),q.pagination?(v.openBlock(),v.createBlock(k8e,{key:0})):v.createCommentVNode("",!0)],4))}}),fVe={class:"pv-stack-16 pv-chart-options-panel"},mVe={class:"pv-flex"},yVe=v.defineComponent({__name:"PvChartOptionsPanel",props:{enablePanel:{type:Boolean},chartFilter:{}},setup(e){const t=e,i=v.inject("activeChartType"),o=v.inject("activeSort"),s=v.inject("chartTypes"),n=v.inject("sortTypes"),r=v.inject("rowGroupColumns"),a=v.inject("activeChartFilterOption"),l=v.computed(()=>{const d=[];return t.chartFilter&&t.chartFilter.options?t.chartFilter.options.map(u=>({label:u.label,value:u.value})):d}),c=v.computed(()=>(r.value.length>1?["bar_stacked","line","column_stacked","area"]:["bar","line","column","area"]).includes(i.value?.id));return v.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(y=>y.id===g);if(f){i.value=f;return}}i.value=d[0]}),(d,u)=>(v.openBlock(),v.createElementBlock("div",fVe,[v.createElementVNode("div",null,[v.createElementVNode("div",{class:"pv-flex pv-space-between",style:v.normalizeStyle(d.chartFilter?{"--flex-justify":"flex-end"}:{})},[(v.openBlock(),v.createBlock(c2e,{key:0,options:l.value,modelValue:v.unref(a),"onUpdate:modelValue":u[0]||(u[0]=h=>v.isRef(a)?a.value=h:null)},null,8,["options","modelValue"])),v.createElementVNode("div",mVe,[v.createVNode(JD,{class:v.normalizeClass({"pv-hide":!c.value}),label:"Sort By",modelValue:v.unref(o),"onUpdate:modelValue":u[1]||(u[1]=h=>v.isRef(o)?o.value=h:null),options:v.unref(n),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["class","modelValue","options"]),v.createVNode(JD,{label:"Select Chart Type",modelValue:v.unref(i),"onUpdate:modelValue":u[2]||(u[2]=h=>v.isRef(i)?i.value=h:null),options:v.unref(s),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["modelValue","options"])])],4)])]))}}),vVe=[{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"}],bVe=[{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"}],CVe={style:{height:"100%",width:"100%"}},SVe={class:"pv-relative pv-margin-auto"},xVe={key:0,class:"pv-chart-overlay pv-text-body-xs"},wVe=v.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"],setup(e,{expose:t,emit:i}){const o=e,s=i,n=v.ref(null),r=v.ref(null),a=v.ref(null),{setFilterSelectedValues:l}=sw(),c=W=>{n.value=W.api,s("grid-ready",W)},d=W=>{S.value=[...W.api.getRowGroupColumns()],$(W.api),X(W.api),s("column-row-group-changed",W)},u=async W=>{if(o.chartFilter){const te=(await W.api.getColumnFilterInstance(o.chartFilter.colId))?.getModel();R.value=te?.values?.[0]||""}X(W.api),s("filter-changed",W)},h=v.ref([]);function p(W,K,te=!0){return ae=>{ae.data=x.value?.find(he=>he[W]===ae.value);let be="";const Ce=f(W),ke=w_e(Ce);if(o.truncateLabelValues&&te&&ke&&!isNaN(Number(ae.value))){if(H.value){const no=ae.datum?.[A.value],Oa=D.value?.find(nw=>nw[A.value]===no)?.[`${k.value}_sort_total`]||1/0;if(ae.value/Oa<.05)return""}let he=0;M_e(Ce,xs.Percent)&&(he=2);const Ie=A8e(ae.value,he),{newValue:Ve,newSuffix:rt}=D_e(Ie);ae.value=Ve,be=rt}let q=ae.value;return K&&(q=K(ae)),q+be}}const g=(W,K=!1)=>{if(!W)return;const te=f(W);return te&&typeof te.valueFormatter=="function"?p(W,te.valueFormatter,K):p(W,null,K)},f=W=>!W||!n.value?null:n.value?.getColumnDef(W),y=v.computed(()=>(S.value.length>1?bVe:vVe).filter(K=>o.enabledChartTypes?.includes(K.id))),m=v.ref(void 0),C=v.ref([{text:"Lowest to Highest",id:"asc",icon:"arrow-up-wide-narrow"},{text:"Highest to Lowest",id:"desc",icon:"arrow-down-narrow-wide"}]),S=v.ref([]),x=v.ref([]),D=v.ref([]),A=v.ref("provider_name"),k=v.computed(()=>o.yKey),w=v.ref(null),M=v.ref(void 0),R=v.ref("");v.provide("activeChartFilterOption",R),v.provide("rowGroupColumns",S),v.provide("chartTypes",y),v.provide("sortTypes",C),v.provide("activeChartType",m),v.provide("activeSeries",k),v.provide("activeSort",M),v.watch(()=>o.chartType,W=>{const K=y.value.find(te=>te.id===W);K?m.value=K:m.value=y.value[0]}),v.watch(R,W=>{if(o.chartFilter&&n.value){const K=o.chartFilter.colId;let te=o.chartFilter.options.find(ae=>ae.value===W)?.filterValues||null;te&&te.length===0&&(te=null),l(K,te||[]),n.value.setColumnFilterModel(K,{values:te}).then(()=>{n.value?.onFilterChanged()})}});const L=v.computed(()=>{const W=h.value.find(K=>K.value===k.value);return W?W.label:""}),P=v.computed(()=>m.value?.id.includes("bar")),N=v.computed(()=>S.value.length>1),O=(W,K)=>`${W}_${K}`,F=v.computed(()=>{if(h.value.length===0)return[];const W=z.value?"bar":m.value?.id||"";return["bar","line","area"].includes(W)?B.value:W==="pie"?j.value:(console.error("Unsupported chart type",W),[])}),G=v.computed(()=>o.showSeriesLabels),_=W=>{let K=W.datum[W.xKey];const te=g(W.xKey);te&&typeof te=="function"&&(K=te({value:K}));const ae=W.yKey;let be=W.datum[ae];const Ce=g(ae);return Ce&&typeof Ce=="function"&&(be=Ce({value:be})),{heading:K,data:[{label:L.value,value:be}]}},V=W=>{const K=o.focusCategory||"";W.datum[A.value]},z=v.computed(()=>m.value?.id.includes("column")||m.value?.id.includes("bar")),H=v.computed(()=>m.value?.id.includes("stacked")),B=v.computed(()=>{const W=H.value,K=z.value?"bar":m.value?.id;let te=[];const ae=g(k.value,!0),be=g(w.value?.fieldName,!0);if(N.value)w.value?.fieldValues.forEach(je=>{const q={type:K,xKey:A.value,yKey:O(k.value,je),yName:typeof be=="function"?be({value:je}):je,stacked:W,label:{enabled:G.value,color:W?"white":"black",fontFamily:"Inter",padding:5,fontSize:11,placement:W?"inside-end":"outside-end",formatter:ae},itemStyler:V};te.push(q)});else{const ke={type:K,xKey:A.value,yKey:k.value,tooltip:{renderer:_},label:{enabled:G.value,color:"black",fontFamily:"Inter",padding:5,fontSize:11,placement:"outside-end",formatter:ae},itemStyler:V};te.push(ke)}let Ce={};if(K==="column"||K==="bar"){const ke=Ce;ke.direction=P.value?"horizontal":"vertical",Ce=ke}else if(K==="line"||K==="area"){const ke=Ce;ke.connectMissingData=!0,Ce=ke}return te=te.map(ke=>({...ke,...Ce})),te}),j=v.computed(()=>h.value.length===0?[]:[{type:"pie",legendItemKey:A.value,angleKey:k.value}]),$=W=>{const K=W.getAllGridColumns().filter(te=>te.getAggFunc()!==null&&te.getAggFunc()!==void 0);A.value=S.value[0]?.getColId()||"",h.value=K.map(te=>{const ae=te.getColId(),be=te.getColDef();return{label:be.headerName||ae,value:ae,formatter:be.valueFormatter,dataType:be.context?.dataType}})};v.watch(k,W=>{s("chart-series-changed",{api:n.value,seriesField:W})});const U=()=>{x.value=[],D.value=[],w.value=null},ee=(W,K)=>{if(!W||W.length===0){U();return}if(K){const te=A.value,ae=new Set;W.forEach(Ce=>{const ke=Ce[K];ae.add(ke)});const be=W.reduce((Ce,ke)=>{const je=ke[te];Ce[je]||(Ce[je]={});const q=ke[K];for(const he of h.value){const Ie=he.value;let Ve=Ce[`${Ie}_sort_total`]||0;const rt=ke[Ie];ae.add(q),K&&rt&&(Ce[je][O(Ie,q)]=rt,Ve=Ve+rt),Ce[je][`${Ie}_sort_total`]=Ve}return Ce},{});D.value=Object.keys(be).map(Ce=>({[te]:Ce,...be[Ce]})),w.value={fieldName:K,fieldValues:Array.from(ae)}}else D.value=[],w.value=null;x.value=W},X=W=>{if(o.overrideChartData)return;const K=S.value.length;if(U(),K===0||h.value.length===0)return;const te=[],ae=[];let be=new Set;if(W.forEachNodeAfterFilterAndSort(Ce=>{if(Ce.group&&Ce.level===0){if(S.value.length>1){const je=Ce.childrenAfterFilter?.filter(Ie=>Ie.level===1&&Ie.aggData)||[],{rowData:q,fieldValues:he}=se(Ce,je);be=be.union(he),ae?.push(q)}const ke=J(Ce);te?.push(ke)}}),x.value=te,S.value.length>1&&ae&&ae.length>0){const Ce=S.value[1].getColId();D.value=ae,w.value={fieldName:Ce,fieldValues:Array.from(be)}}else D.value=[],w.value=null},J=W=>{const K={[W.field]:W.key};for(const te of h.value)!W.aggData||!W.aggData[te.value]||(K[te.value]=W.aggData[te.value]?.value??W.aggData[te.value]);return K},se=(W,K)=>{const te=new Set,ae={[W.field]:W.key};let be=0;for(const Ce of h.value)K.forEach(ke=>{const je=ke.key;te.add(je);const q=ke.aggData;if(je&&q){const he=ke.aggData[Ce.value]?.value??ke.aggData[Ce.value];ae[O(Ce.value,je)]=he,be=be+he}}),ae[`${Ce.value}_sort_total`]=be;return{rowData:ae,fieldValues:te}},Y=v.computed(()=>{let W=N.value?D.value:x.value,K=null;if(M.value&&(K=N.value?`${k.value}_sort_total`:k.value),K&&W&&M.value){const te=M.value?.id.includes("desc")?-1:1;W=[...W].sort((ae,be)=>{const Ce=ae[K]||0,ke=be[K]||0;return(Ce-ke)*te})}if(W&&W.length===1){const te="",ae=" ";W=[{[A.value]:te},W[0],{[A.value]:ae}]}return W}),ie=v.computed(()=>Y.value?.length||0),Z=v.computed(()=>w.value?.fieldValues?.length||0),ne=v.computed(()=>{const be=.25*Math.exp(-.12*ie.value);return Math.min(Math.max(be,.05),.75)}),le=v.computed(()=>Z.value>5?.5:1),de=v.computed(()=>Z.value>5?.25:.1),re=v.computed(()=>S.value.length===0?"No groups selected. Select at least one group to display data.":Y.value&&Y.value?.length===0?"No data available to chart.":""),fe=v.computed(()=>{const W={};return W.overlays={noData:{text:""}},W.data=Y.value,W.axes=[{type:"category",position:P.value?"left":"bottom",label:{formatter:K=>{let ae=K.value;const be=g(A.value);return typeof be=="function"&&(ae=be(K)),typeof ae=="string"&&ae.length>35?ae.substring(0,35)+"...":ae}},paddingInner:ne.value,paddingOuter:le.value,groupPaddingInner:de.value},{type:"number",position:P.value?"bottom":"left",label:{formatter:g(k.value)},title:{enabled:!0,text:L.value}}],W.series=F.value,W}),Me=v.computed(()=>o.displayChartLoading&&o.isLoading&&(!Y.value||Y.value.length===0));return t({provideChartData:ee,getChartImageDataURL:W=>a.value?.getChartImageDataURL(W),getCsvData:()=>r.value?.getCsvData(),refreshData:W=>r.value?.refreshData(W),getFilterValueSelectedMetadataMap:()=>r.value?.getFilterValueSelectedMetadataMap()}),v.onBeforeMount(()=>{o.chartType&&(m.value=y.value.find(W=>W.id===o.chartType))}),(W,K)=>(v.openBlock(),v.createElementBlock("div",CVe,[v.createElementVNode("div",{class:v.normalizeClass(W.hideChart?"pv-hide":"")},[v.createVNode(yVe,{enablePanel:Y.value!=null&&Y.value.length>0,chartFilter:W.chartFilter},null,8,["enablePanel","chartFilter"]),v.createElementVNode("div",SVe,[v.createVNode(WT,{ref_key:"pvChartRef",ref:a,isLoading:Me.value,options:fe.value},null,8,["isLoading","options"]),!W.isLoading&&re.value!==""?(v.openBlock(),v.createElementBlock("p",xVe,v.toDisplayString(re.value),1)):v.createCommentVNode("",!0)])],2),v.createVNode(gVe,v.mergeProps({ref_key:"pvDataTableRef",ref:r},W.$props,{onColumnRowGroupChanged:d,onGridReady:c,onFilterChanged:u,onSortChanged:K[0]||(K[0]=te=>s("sort-changed",te)),onFilterOpened:K[1]||(K[1]=te=>s("filter-opened",te)),onFirstDataRendered:K[2]||(K[2]=te=>s("first-data-rendered",te)),onColumnMoved:K[3]||(K[3]=te=>s("column-moved",te)),onColumnResized:K[4]||(K[4]=te=>s("column-resized",te)),onHandleSettingsIcon:K[5]||(K[5]=te=>s("handle-settings-icon",te))}),null,16)]))}}),MVe={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]]]]}},DVe={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]]]]}},k0="_FeatureMin",I0="_FeatureMax",aW=e=>lW[e]||e,kVe=DVe,IVe=MVe,lW={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"},AVe={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.477,39.721]]]},properties:{name:k0}},{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.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"}},IVe,{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"}},kVe,{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"}}]},RVe={state:AVe},TVe=(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=aW(a[t]);return{...a,[t]:a[t],name:l}});return r.push({[t]:k0,[i]:o,name:k0}),r.push({[t]:I0,[i]:s,name:I0}),r},LVe=e=>{const t=RVe[e];if(!t)throw new Error(`No topology object found for type: ${e}`);return t},EVe=()=>({getTopologyObject:LVe,buildMapData:TVe}),PVe={style:{width:"30%"}},NVe=["min","max"],OVe={class:"pv-flex pv-space-between pv-text-body-xxs pv-text-subdued"},FVe=v.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)=>(v.openBlock(),v.createElementBlock("div",PVe,[v.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%,