@graphysdk/react 2.0.0-beta.1788530029487 → 2.0.0-beta.1788534616557
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editable.browser.mjs +908 -897
- package/dist/index.browser.mjs +539 -528
- package/package.json +3 -3
package/dist/index.browser.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(`.graph-error-panel_panel__1xytby70{color:#e14b49;background:#fdf2f2;border:1px solid #f3c2c2;border-radius:8px;padding:16px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:1.3rem}.graph-error-panel_title__1xytby71{font-weight:600}.graph-error-panel_list__1xytby72{flex-direction:column;gap:8px;margin:8px 0 0;padding:0;list-style:none;display:flex}.graph-error-panel_item__1xytby73{flex-direction:column;display:flex}.graph-error-panel_code__1xytby74{opacity:.9;font-family:ui-monospace,monospace;font-size:1.1rem;font-weight:600}.graph-error-panel_message__1xytby75{white-space:pre-wrap;margin:2px 0 0;font-family:ui-monospace,monospace;font-size:1.2rem}.graph-error-panel_suggestion__1xytby76{opacity:.85;margin:2px 0 0;font-style:italic}.layer_svg__xqhqis0{overflow:visible}.primary-point_root__1i9etqq0{filter:drop-shadow(0 2px 2px #0e0e3414)drop-shadow(0 0 2px #0f0f181f)}.cartesian-bar\\.hover_border__9720w50{filter:drop-shadow(0 4px 4px #0e0e3414)drop-shadow(0 0 4px #0f0f181f)}.cartesian-rule_group__1d0mbae0{pointer-events:none;-webkit-user-select:none;user-select:none}.swatch_root__1uv26hu0{flex-shrink:0;display:block;overflow:visible}.overlay-portal_overlayBox__1gn3yz50{pointer-events:none;position:fixed;top:0;left:0}.dev-tools-panel_header__58flce0{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.dev-tools-panel_title__58flce1{letter-spacing:.2px;font-size:13px;font-weight:700}.dev-tools-panel_table__58flce2{border-collapse:collapse;width:100%}.dev-tools-panel_th__58flce3{width:140px;padding:4px 6px;font-weight:500}.dev-tools-panel_thNum__58flce4{text-align:right;padding:4px 6px;font-weight:500}.dev-tools-panel_td__58flce5{padding:4px 6px}.dev-tools-panel_historyRow__58flce6{grid-template-columns:auto 1fr auto;align-items:center;gap:6px;padding:2px 0;display:grid}.dev-tools-panel_historyLabel__58flce7{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dev-tools-panel_tdNumDim__58flce8{text-align:right;color:#7a8088;padding:4px 6px}.dev-tools-panel_historyStats__58flce9{color:#7a8088}.dev-tools-panel_panel__58flcea{color:#e6e8eb;background:#0f1115;border:1px solid #1f2329;border-radius:8px;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;box-shadow:0 4px 12px #0003}.dev-tools-panel_controls__58flceb{border-bottom:1px solid #1f2329;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;padding:6px 0;display:flex}.dev-tools-panel_tr__58flcec{border-top:1px solid #1f2329}.dev-tools-panel_history__58flced{border-top:1px solid #1f2329;margin-top:10px;padding-top:8px}.dev-tools-panel_subtitle__58flcee{color:#9aa0a6;margin-top:2px}.dev-tools-panel_toggleButton__58flcef{color:#9aa0a6;cursor:pointer;background:0 0;border:1px solid #2a2f36;border-radius:4px;padding:2px 6px;font-family:inherit;font-size:11px}.dev-tools-panel_controlHint__58flceg{color:#9aa0a6;font-size:10px}.dev-tools-panel_theadRow__58flceh{color:#9aa0a6;text-align:left}.dev-tools-panel_historyHeader__58flcei{color:#9aa0a6;margin-bottom:4px}.dev-tools-panel_cacheToggleBase__58flcej{cursor:pointer;-webkit-user-select:none;user-select:none;color:#0f1115;border:1px solid #1f2329;border-radius:4px;align-items:center;gap:6px;padding:4px 10px;font-family:inherit;font-size:11px;font-weight:600;display:inline-flex}.dev-tools-panel_cacheToggle_enabled__58flcek{background:#4ddb86}.dev-tools-panel_cacheToggle_disabled__58flcel{background:#ff8c8c}.dev-tools-panel_tdNumBase__58flcem{text-align:right;padding:4px 6px;font-weight:600}.dev-tools-panel_tdNum_ran__58flcen{color:#ff8c8c}.dev-tools-panel_tdNum_dim__58flceo{color:#7a8088;font-weight:400}.dev-tools-panel_dotBase__58flcep{vertical-align:middle;border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.dev-tools-panel_dot_ran__58flceq{background:#ff8c8c}.dev-tools-panel_dot_cached__58flcer{background:#4ddb86}.dev-tools-panel_dot_untouched__58flces{background:#3f444a}.theme-provider_root__74ffgy0{color:var(--graphy-text-primary);font-size:calc(10px * var(--graphy-text-scale));position:relative;overflow:hidden}.theme-provider_portalRoot__74ffgy1{color:var(--graphy-text-primary);font-size:calc(10px * var(--graphy-text-scale));display:contents}.theme-provider_inner__74ffgy2{background-color:var(--graphy-graph-background);position:absolute;top:0;bottom:0;left:0;right:0}.theme-provider_editorFocusScope__74ffgy3{outline:none}.theme-provider_editorTransparencyBackdrop__74ffgy4{background-image:linear-gradient(45deg, color-mix(in srgb, var(--graphy-text-primary) 5%, transparent) 25%, transparent 25%, transparent 75%, color-mix(in srgb, var(--graphy-text-primary) 5%, transparent) 75%, color-mix(in srgb, var(--graphy-text-primary) 5%, transparent)), linear-gradient(45deg, color-mix(in srgb, var(--graphy-text-primary) 5%, transparent) 25%, transparent 25%, transparent 75%, color-mix(in srgb, var(--graphy-text-primary) 5%, transparent) 75%, color-mix(in srgb, var(--graphy-text-primary) 5%, transparent));background-position:0 0,1em 1em;background-size:2em 2em}.themes_lightTheme__1eul5320{--graphy-transparent:transparent;--graphy-white:#fff;--graphy-black:#000;--graphy-grey-100:#fff;--graphy-grey-95:#fcfcfc;--graphy-grey-90:#fafafa;--graphy-grey-85:#f5f5f5;--graphy-grey-80:#f0f0f0;--graphy-grey-75:#e8e8e8;--graphy-grey-70:#e5e5e5;--graphy-grey-60:#ccc;--graphy-grey-50:#c4c4c4;--graphy-grey-0:#1d2129;--graphy-red-60:#e14b49;--graphy-red-50:#f93939;--graphy-amber-70:#ffba8c;--graphy-amber-50:#ffc849;--graphy-amber-40:#feae47;--graphy-amber-30:#e7a816;--graphy-green-60:#06b299;--graphy-green-50:#42cd69;--graphy-blue-80:#2e62ff;--graphy-blue-60:#3d70ff;--graphy-purple-50:#7b56ea;--graphy-purple-30:#e093fe;--graphy-grey-gradient-80:linear-gradient(to top, #f0f0f1, #f9f9ff);--graphy-text-primary:var(--graphy-black);--graphy-text-secondary:color-mix(in srgb, transparent, var(--graphy-text-primary) 60%);--graphy-text-disabled:color-mix(in srgb, transparent, var(--graphy-text-primary) 50%);--graphy-icon-primary:currentColor;--graphy-icon-secondary:color-mix(in srgb, transparent, var(--graphy-text-primary) 60%);--graphy-icon-sticker-background:var(--graphy-grey-100);--graphy-brand:var(--graphy-purple-50);--graphy-success:var(--graphy-green-50);--graphy-warning:var(--graphy-amber-50);--graphy-alert:var(--graphy-red-50);--graphy-border-100:var(--graphy-grey-0);--graphy-border-50:color-mix(in srgb, transparent, var(--graphy-grey-0) 50%);--graphy-border-10:color-mix(in srgb, transparent, var(--graphy-grey-0) 10%);--graphy-sunken-background:var(--graphy-grey-90);--graphy-default-background:var(--graphy-grey-100);--graphy-raised-background:var(--graphy-grey-85);--graphy-overlay-background:var(--graphy-grey-100);--graphy-overlay-border-gradient:var(--graphy-border-10);--graphy-elevation-xs:0 0 2px #0f0f181f, 0 2px 2px #0e0e3414;--graphy-elevation-sm:0 0 4px #0f0f181f, 0 4px 4px #0e0e3414;--graphy-elevation-md:0 0 8px #0f0f181f, 0 8px 8px #0e0e3414;--graphy-elevation-lg:0 0 16px #0f0f181f, 0 16px 16px #0e0e3414;--graphy-radii-xs:4px;--graphy-radii-sm:6px;--graphy-radii-md:8px;--graphy-radii-lg:12px;--graphy-space-xxs:2px;--graphy-space-xs:4px;--graphy-space-sm:6px;--graphy-space-md:8px;--graphy-space-lg:12px;--graphy-space-xl:16px;--graphy-z-index-toolbar:10;--graphy-z-index-toolbar-tooltip:20;--graphy-z-index-toolbar-popover:30;--graphy-z-index-editor-popover:950;--graphy-graph-background:var(--graphy-grey-100);--graphy-grid-line-color:var(--graphy-border-10);--graphy-axis-tick-color:var(--graphy-border-10);--graphy-origin-line-color:var(--graphy-grey-0);--graphy-legend-background:var(--graphy-default-background);--graphy-legend-border-color:var(--graphy-border-10);--graphy-legend-focus-outline-color:var(--graphy-border-50);--graphy-legend-text-color:var(--graphy-text-primary);--graphy-toolbar-background-color:var(--graphy-overlay-background);--graphy-toolbar-button-background-color:transparent;--graphy-toolbar-button-background-color-hovered:var(--graphy-grey-80);--graphy-toolbar-button-background-color-selected:var(--graphy-grey-60);--graphy-toolbar-separator-color:var(--graphy-grey-60);--graphy-tooltip-background:var(--graphy-white);--graphy-tooltip-border-color:var(--graphy-border-10);--graphy-tooltip-value-text-color:var(--graphy-text-primary);--graphy-hover-guide-line-color:color-mix(in srgb, transparent, var(--graphy-black) 20%);--graphy-hover-guide-fill-color:color-mix(in srgb, transparent, var(--graphy-black) 4%);--graphy-heatmap-empty-tile-background:var(--graphy-grey-80);--graphy-annotation-frame-border-color:var(--graphy-blue-60);--graphy-edit-menu-trigger-icon-color:#3d414c;--graphy-canvas-default:#000;--graphy-canvas-blue:#3b82f6;--graphy-canvas-cyan:#06b6d4;--graphy-canvas-green:#10b981;--graphy-canvas-yellow:#e5b400;--graphy-canvas-orange:#f97316;--graphy-canvas-red:#ef4444;--graphy-canvas-pink:#e845bf;--graphy-canvas-purple:#8b5cf6;--graphy-canvas-gray:#78716c;--graphy-canvas-inverse:#fff;--graphy-grid-line-width:1px;--graphy-tooltip-border-radius:6px;--graphy-tooltip-padding-block:8px;--graphy-tooltip-padding-inline:10px;--graphy-tooltip-row-gap:4px;--graphy-tooltip-shadow:0 4px 12px #0000002e;--graphy-editor-control-height:32px;--graphy-legend-swatch-gap:8px;--graphy-legend-pill-padding-inline:8px;--graphy-legend-pill-padding-block:2px;--graphy-legend-pill-border-width:1px;--graphy-headline-row-gap:2px;--graphy-text-scale:1;--graphy-font-family-default:"Inter", -apple-system, BlinkMacSystemFont, "Open Sans", "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", "NotoSansArabic", "NotoSansJP", "NotoSansSC", "NotoSansKR", "NotoSerifKR", sans-serif, "Apple Color Emoji", "NotoColorEmoji";--graphy-font-family-heading:"Inter", -apple-system, BlinkMacSystemFont, "Open Sans", "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", "NotoSansArabic", "NotoSansJP", "NotoSansSC", "NotoSansKR", "NotoSerifKR", sans-serif, "Apple Color Emoji", "NotoColorEmoji";--graphy-font-weight-regular:400;--graphy-font-weight-medium:500;--graphy-font-weight-semibold:600;--graphy-font-weight-bold:700;--graphy-font-weight-extra-bold:800;--graphy-font-size-xxs:1em;--graphy-font-size-xs:1.1em;--graphy-font-size-sm:1.2em;--graphy-font-size-md:1.4em;--graphy-font-size-lg:1.6em;--graphy-font-size-xl:2em;--graphy-font-line-height-xxs:1;--graphy-font-line-height-xs:1;--graphy-font-line-height-sm:1.3;--graphy-font-line-height-md:1.43;--graphy-font-line-height-lg:1;--graphy-font-line-height-xl:1;--graphy-font-size-editor-body:1.5em;--graphy-font-size-heading-sm:1.8em;--graphy-font-size-heading-md:2.2em;--graphy-font-size-heading-lg:2.8em;--graphy-font-line-height-editor-body:1.47;--graphy-font-line-height-heading-sm:1.25;--graphy-font-line-height-heading-md:1.41;--graphy-font-line-height-heading-lg:1.29;--graphy-font-legend-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-series-label:var(--graphy-font-weight-semibold) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-uitooltip:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-uitooltip-secondary:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-pie-label:var(--graphy-font-weight-medium) var(--graphy-font-size-xs)/var(--graphy-font-line-height-xs) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-pie-chart-total:var(--graphy-font-weight-bold) var(--graphy-font-size-heading-lg)/var(--graphy-font-line-height-heading-lg) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-button:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-input:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-input-label:var(--graphy-font-weight-medium) var(--graphy-font-size-xxs)/var(--graphy-font-line-height-xxs) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-select-label:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-select-description:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-color-select-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-menu-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-menu-group-title:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-menu-item-label:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-menu-item-label-secondary:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-error-boundary-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-heading-sm)/var(--graphy-font-line-height-heading-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-error-boundary-message:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-table-cell:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-table-header-cell:var(--graphy-font-weight-semibold) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-source-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-source-link:var(--graphy-font-weight-regular) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-text-editor-h1:var(--graphy-font-weight-bold) var(--graphy-font-size-heading-lg)/var(--graphy-font-line-height-heading-lg) var(--typography-chart-heading-font-family,var(--graphy-font-family-heading));--graphy-font-text-editor-h2:var(--graphy-font-weight-bold) var(--graphy-font-size-heading-md)/var(--graphy-font-line-height-heading-md) var(--typography-chart-heading-font-family,var(--graphy-font-family-heading));--graphy-font-text-editor-h3:var(--graphy-font-weight-semibold) var(--graphy-font-size-heading-sm)/var(--graphy-font-line-height-heading-sm) var(--typography-chart-heading-font-family,var(--graphy-font-family-heading));--graphy-font-text-editor-h6:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-text-editor-body:var(--graphy-font-weight-medium) var(--graphy-font-size-editor-body)/var(--graphy-font-line-height-editor-body) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-text-editor-link:var(--graphy-font-weight-regular) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-highlight-mode-title:var(--graphy-font-weight-bold) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-highlight-mode-subtitle:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-editor-control-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-editor-control-value:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-editor-section-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-editor-caption:var(--graphy-font-weight-medium) var(--graphy-font-size-xxs)/var(--graphy-font-line-height-xxs) var(--typography-chart-font-family,var(--graphy-font-family-default))}.themes_darkTheme__1eul5321{--graphy-transparent:transparent;--graphy-white:#fff;--graphy-black:#000;--graphy-grey-100:#000;--graphy-grey-95:#0d0d0d;--graphy-grey-90:#1a1a1a;--graphy-grey-85:#1f1f1f;--graphy-grey-80:#2a2a2a;--graphy-grey-75:#2e2e2e;--graphy-grey-70:#353535;--graphy-grey-60:#494949;--graphy-grey-50:#6f6f6f;--graphy-grey-0:#fff;--graphy-red-60:#cb3333;--graphy-red-50:#f93939;--graphy-amber-70:#f48135;--graphy-amber-50:#feae47;--graphy-amber-40:#ffc849;--graphy-amber-30:#ffd061;--graphy-green-60:#0ac600;--graphy-green-50:#42cd69;--graphy-blue-80:#2e62ff;--graphy-blue-60:#3d70ff;--graphy-purple-50:#7b56ea;--graphy-purple-30:#e093fe;--graphy-grey-gradient-80:linear-gradient(to top, #222429, #31353f);--graphy-text-primary:var(--graphy-grey-0);--graphy-text-secondary:color-mix(in srgb, transparent, var(--graphy-text-primary) 80%);--graphy-text-disabled:color-mix(in srgb, transparent, var(--graphy-text-primary) 50%);--graphy-icon-primary:currentColor;--graphy-icon-secondary:color-mix(in srgb, transparent, var(--graphy-text-primary) 60%);--graphy-icon-sticker-background:var(--graphy-grey-70);--graphy-border-100:var(--graphy-grey-0);--graphy-border-50:color-mix(in srgb, transparent, var(--graphy-grey-0) 50%);--graphy-border-10:color-mix(in srgb, transparent, var(--graphy-grey-0) 10%);--graphy-brand:var(--graphy-purple-50);--graphy-success:var(--graphy-green-50);--graphy-warning:var(--graphy-amber-50);--graphy-alert:var(--graphy-red-50);--graphy-sunken-background:var(--graphy-grey-100);--graphy-default-background:var(--graphy-grey-90);--graphy-raised-background:var(--graphy-grey-80);--graphy-overlay-background:var(--graphy-grey-90);--graphy-overlay-border-gradient:var(--graphy-grey-gradient-80);--graphy-elevation-xs:0 0 2px #0f0f181f, 0 2px 2px #0e0e3414;--graphy-elevation-sm:0 0 4px #0f0f181f, 0 4px 4px #0e0e3414;--graphy-elevation-md:0 0 8px #0f0f181f, 0 8px 8px #0e0e3414;--graphy-elevation-lg:0 0 16px #0f0f181f, 0 16px 16px #0e0e3414;--graphy-radii-xs:4px;--graphy-radii-sm:6px;--graphy-radii-md:8px;--graphy-radii-lg:12px;--graphy-space-xxs:2px;--graphy-space-xs:4px;--graphy-space-sm:6px;--graphy-space-md:8px;--graphy-space-lg:12px;--graphy-space-xl:16px;--graphy-z-index-toolbar:10;--graphy-z-index-toolbar-tooltip:20;--graphy-z-index-toolbar-popover:30;--graphy-z-index-editor-popover:950;--graphy-graph-background:var(--graphy-grey-90);--graphy-grid-line-color:var(--graphy-border-10);--graphy-axis-tick-color:var(--graphy-border-10);--graphy-origin-line-color:var(--graphy-grey-0);--graphy-legend-background:var(--graphy-default-background);--graphy-legend-border-color:var(--graphy-border-10);--graphy-legend-focus-outline-color:var(--graphy-border-50);--graphy-legend-text-color:var(--graphy-text-primary);--graphy-toolbar-background-color:var(--graphy-overlay-background);--graphy-toolbar-button-background-color:transparent;--graphy-toolbar-button-background-color-hovered:var(--graphy-grey-80);--graphy-toolbar-button-background-color-selected:var(--graphy-grey-60);--graphy-toolbar-separator-color:var(--graphy-grey-60);--graphy-tooltip-background:var(--graphy-grey-70);--graphy-tooltip-border-color:var(--graphy-grey-60);--graphy-tooltip-value-text-color:var(--graphy-text-primary);--graphy-hover-guide-line-color:color-mix(in srgb, transparent, var(--graphy-white) 20%);--graphy-hover-guide-fill-color:color-mix(in srgb, transparent, var(--graphy-white) 6%);--graphy-heatmap-empty-tile-background:var(--graphy-grey-80);--graphy-annotation-frame-border-color:var(--graphy-blue-60);--graphy-edit-menu-trigger-icon-color:var(--graphy-white);--graphy-canvas-default:#fff;--graphy-canvas-blue:#60a5fa;--graphy-canvas-cyan:#22d3ee;--graphy-canvas-green:#34d399;--graphy-canvas-yellow:#ffc800;--graphy-canvas-orange:#fb923c;--graphy-canvas-red:#f87171;--graphy-canvas-pink:#f979d9;--graphy-canvas-purple:#a78bfa;--graphy-canvas-gray:#a8a29e;--graphy-canvas-inverse:#000;--graphy-grid-line-width:1px;--graphy-tooltip-border-radius:6px;--graphy-tooltip-padding-block:8px;--graphy-tooltip-padding-inline:10px;--graphy-tooltip-row-gap:4px;--graphy-tooltip-shadow:0 4px 12px #0000002e;--graphy-editor-control-height:32px;--graphy-legend-swatch-gap:8px;--graphy-legend-pill-padding-inline:8px;--graphy-legend-pill-padding-block:2px;--graphy-legend-pill-border-width:1px;--graphy-headline-row-gap:2px;--graphy-text-scale:1;--graphy-font-family-default:"Inter", -apple-system, BlinkMacSystemFont, "Open Sans", "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", "NotoSansArabic", "NotoSansJP", "NotoSansSC", "NotoSansKR", "NotoSerifKR", sans-serif, "Apple Color Emoji", "NotoColorEmoji";--graphy-font-family-heading:"Inter", -apple-system, BlinkMacSystemFont, "Open Sans", "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", "NotoSansArabic", "NotoSansJP", "NotoSansSC", "NotoSansKR", "NotoSerifKR", sans-serif, "Apple Color Emoji", "NotoColorEmoji";--graphy-font-weight-regular:400;--graphy-font-weight-medium:500;--graphy-font-weight-semibold:600;--graphy-font-weight-bold:700;--graphy-font-weight-extra-bold:800;--graphy-font-size-xxs:1em;--graphy-font-size-xs:1.1em;--graphy-font-size-sm:1.2em;--graphy-font-size-md:1.4em;--graphy-font-size-lg:1.6em;--graphy-font-size-xl:2em;--graphy-font-line-height-xxs:1;--graphy-font-line-height-xs:1;--graphy-font-line-height-sm:1.3;--graphy-font-line-height-md:1.43;--graphy-font-line-height-lg:1;--graphy-font-line-height-xl:1;--graphy-font-size-editor-body:1.5em;--graphy-font-size-heading-sm:1.8em;--graphy-font-size-heading-md:2.2em;--graphy-font-size-heading-lg:2.8em;--graphy-font-line-height-editor-body:1.47;--graphy-font-line-height-heading-sm:1.25;--graphy-font-line-height-heading-md:1.41;--graphy-font-line-height-heading-lg:1.29;--graphy-font-legend-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-series-label:var(--graphy-font-weight-semibold) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-uitooltip:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-uitooltip-secondary:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-pie-label:var(--graphy-font-weight-medium) var(--graphy-font-size-xs)/var(--graphy-font-line-height-xs) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-pie-chart-total:var(--graphy-font-weight-bold) var(--graphy-font-size-heading-lg)/var(--graphy-font-line-height-heading-lg) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-button:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-input:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-input-label:var(--graphy-font-weight-medium) var(--graphy-font-size-xxs)/var(--graphy-font-line-height-xxs) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-select-label:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-select-description:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-color-select-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-menu-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-menu-group-title:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-menu-item-label:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-menu-item-label-secondary:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-error-boundary-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-heading-sm)/var(--graphy-font-line-height-heading-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-error-boundary-message:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-table-cell:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-table-header-cell:var(--graphy-font-weight-semibold) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-source-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-source-link:var(--graphy-font-weight-regular) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-text-editor-h1:var(--graphy-font-weight-bold) var(--graphy-font-size-heading-lg)/var(--graphy-font-line-height-heading-lg) var(--typography-chart-heading-font-family,var(--graphy-font-family-heading));--graphy-font-text-editor-h2:var(--graphy-font-weight-bold) var(--graphy-font-size-heading-md)/var(--graphy-font-line-height-heading-md) var(--typography-chart-heading-font-family,var(--graphy-font-family-heading));--graphy-font-text-editor-h3:var(--graphy-font-weight-semibold) var(--graphy-font-size-heading-sm)/var(--graphy-font-line-height-heading-sm) var(--typography-chart-heading-font-family,var(--graphy-font-family-heading));--graphy-font-text-editor-h6:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-text-editor-body:var(--graphy-font-weight-medium) var(--graphy-font-size-editor-body)/var(--graphy-font-line-height-editor-body) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-text-editor-link:var(--graphy-font-weight-regular) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-highlight-mode-title:var(--graphy-font-weight-bold) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-highlight-mode-subtitle:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-editor-control-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-editor-control-value:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-editor-section-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--typography-chart-font-family,var(--graphy-font-family-default));--graphy-font-editor-caption:var(--graphy-font-weight-medium) var(--graphy-font-size-xxs)/var(--graphy-font-line-height-xxs) var(--typography-chart-font-family,var(--graphy-font-family-default))}.rich-text-renderer_link__yr622d0{color:inherit;text-underline-offset:.15em;text-decoration:underline}.tooltip_root__1aumv50{flex-direction:column;gap:4px;min-width:120px;max-width:280px;display:flex}.tooltip_header__1aumv51{white-space:normal;overflow-wrap:anywhere}.tooltip_rows__1aumv52{flex-direction:column;display:flex}.tooltip_row__1aumv53{padding-block:var(--graphy-tooltip-row-gap);flex-direction:row;align-items:center;gap:8px;display:flex}.tooltip_swatch__1aumv54{flex-shrink:0;display:block;overflow:visible}.tooltip_swatchPlaceholder__1aumv55{width:12px;height:12px}.tooltip_label__1aumv56{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.tooltip_value__1aumv57{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.tooltip_positioner__1aumv58{pointer-events:none;-webkit-user-select:none;user-select:none;z-index:1000;position:fixed;top:0;left:0}.brand-mark_root__mjr3u50{box-sizing:border-box;white-space:nowrap;color:#2a2a28;opacity:.62;background-color:#ffffff8c;border-radius:999px;flex-shrink:0;align-items:center;gap:10px;height:22px;padding-inline-start:9px;padding-inline-end:11px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:11.5px;line-height:1;text-decoration:none;transition:opacity .12s,max-width .25s,padding .25s,gap .25s;display:inline-flex;box-shadow:0 1px 4px #00000017}.brand-mark_root__mjr3u50:hover{opacity:1}.brand-mark_root__mjr3u50:focus-visible{opacity:1}.brand-mark_root__mjr3u50:focus-visible{outline-offset:2px;outline:2px solid #2a2a28}.brand-mark_root__mjr3u50[data-zone=mid]{opacity:.8;background-color:#ffffffbf}.brand-mark_root__mjr3u50[data-zone=dark]{opacity:.85;color:#fff;box-shadow:none;background-color:#ffffff14}.brand-mark_root__mjr3u50[data-zone=dark]:focus-visible{outline:2px solid #fff}.brand-mark_root__mjr3u50[data-visual=mini]{justify-content:center;gap:0;width:22px;padding-inline-start:0;padding-inline-end:0}.brand-mark_root__mjr3u50[data-visual=mini]:hover{gap:10px;width:auto;padding-inline-start:9px;padding-inline-end:11px}.brand-mark_root__mjr3u50[data-visual=mini]:focus-visible{gap:10px;width:auto;padding-inline-start:9px;padding-inline-end:11px}.brand-mark_miniRoot__mjr3u51{flex-direction:row-reverse}.brand-mark_glyphWell__mjr3u52{flex-shrink:0;justify-content:center;align-items:center;width:9px;height:12px;display:inline-flex}.brand-mark_glyph__mjr3u53{object-fit:contain;width:9px;height:12px;display:block}.brand-mark_root__mjr3u50[data-zone=dark] .brand-mark_glyph__mjr3u53{filter:invert()}.brand-mark_label__mjr3u54{align-items:baseline;gap:.3em;max-width:120px;transition:max-width .25s,opacity .25s;display:inline-flex;overflow:hidden}.brand-mark_root__mjr3u50[data-visual=mini] .brand-mark_label__mjr3u54{opacity:0;max-width:0}.brand-mark_root__mjr3u50[data-visual=mini]:hover .brand-mark_label__mjr3u54{opacity:1;max-width:120px}.brand-mark_root__mjr3u50[data-visual=mini]:focus-visible .brand-mark_label__mjr3u54{opacity:1;max-width:120px}.brand-mark_name__mjr3u55{font-weight:550}.brand-mark_footerAnchor__mjr3u56{place-self:end}.brand-mark_headerAnchor__mjr3u57{position:absolute;top:50%;right:0;transform:translateY(-50%)}@media (prefers-reduced-motion:reduce){.brand-mark_root__mjr3u50,.brand-mark_label__mjr3u54{transition:none}}.content_title__15hmocs0{font:var(--graphy-font-text-editor-h3);margin:0}.content_body__15hmocs1{font:var(--graphy-font-text-editor-body);margin:0}p[data-variant=caption]{font:var(--graphy-font-text-editor-h6);margin:0}.footer\\.renderer_root__2nw8o50{position:absolute}.footer\\.renderer_attributionRow__2nw8o51{align-items:end;column-gap:var(--graphy-space-xs);color:var(--graphy-text-secondary);grid-template-columns:minmax(0,1fr) auto;display:grid}.footer\\.renderer_sourceCluster__2nw8o52{min-width:0;font:var(--graphy-font-source-label)}.footer\\.renderer_sourceLink__2nw8o53{font:var(--graphy-font-source-link);overflow-wrap:anywhere;text-decoration:underline}.footer\\.renderer_sourceLink__2nw8o53:hover{color:var(--graphy-text-primary)}.footer\\.renderer_sourceLabel__2nw8o54{font:var(--graphy-font-source-label);margin-right:var(--graphy-space-xs)}.footer\\.renderer_sourceValue__2nw8o55{font:var(--graphy-font-source-label);overflow-wrap:anywhere}.header\\.renderer_root__1y52e9e0{position:absolute}.header\\.renderer_withBrandMark__1y52e9e1{padding-right:110px}.headline\\.renderer_root__weqb70{pointer-events:none;justify-content:start;align-items:start;display:flex;position:absolute}.headline\\.renderer_grandTotal__weqb71{pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute}.headline-item_valueRow__8zulrb0{align-items:baseline;gap:4px;display:flex}.headline-item_trendRow__8zulrb1,.headline-item_groupRow__8zulrb2{align-items:center;gap:4px;display:flex}.headline-item_item__8zulrb3{align-items:start;gap:var(--graphy-headline-row-gap);flex-direction:column;display:flex}.icon_base__q8p7at0{flex-shrink:0}.icon_variant_primary__q8p7at1{color:var(--graphy-icon-primary)}.icon_variant_secondary__q8p7at2{color:var(--graphy-icon-secondary)}.headline-segment_caption__1gz17pz0{white-space:nowrap}.headline-segment_reference__1gz17pz1{color:var(--graphy-text-secondary)}.headline-segment_label__1gz17pz2{white-space:nowrap}.headline-segment_trendArrowDisc__1gz17pz3{border-radius:50%;justify-content:center;align-items:center;width:12px;height:12px;display:flex}.headline-segment_trendArrowDown__1gz17pz4{transform:rotate(180deg)}.direct-labels_root__1a6kdls0{pointer-events:none;height:100%;position:relative}.direct-labels_connectors__1a6kdls1{pointer-events:none;position:absolute;top:0;left:0;overflow:visible}.direct-labels_item__1a6kdls2{white-space:nowrap;position:absolute;transform:translateY(-50%)}.legend\\.renderer_root__12du00r0{pointer-events:none;position:absolute}.legend-overflow_triggerGroup__h68bv30{flex-shrink:0;align-items:center;display:inline-flex;position:relative}.legend-overflow_triggerGroupHorizontal__h68bv31{padding-inline-start:8px}.legend-overflow_triggerGroupVertical__h68bv32{padding-block-start:8px}.legend-overflow_triggerGhost__h68bv33{background-color:var(--graphy-legend-background);border:var(--graphy-legend-pill-border-width) solid var(--graphy-legend-border-color);pointer-events:none;opacity:.6;border-radius:9999px;position:absolute}.legend-overflow_triggerGhostHorizontal__h68bv34{top:0;bottom:0}.legend-overflow_triggerGhostHorizontal__h68bv34:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:8px;right:0}.legend-overflow_triggerGhostHorizontal__h68bv34:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:8px;right:0}.legend-overflow_triggerGhostHorizontal__h68bv34:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:8px}.legend-overflow_triggerGhostHorizontal__h68bv34:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0;right:8px}.legend-overflow_triggerGhostVertical__h68bv35{top:8px;bottom:0;left:0;right:0}.legend-overflow_trigger__h68bv36{align-items:center;gap:var(--graphy-legend-swatch-gap);white-space:nowrap;padding-inline:var(--graphy-legend-pill-padding-inline);padding-block:var(--graphy-legend-pill-padding-block);background-color:var(--graphy-legend-background);border:var(--graphy-legend-pill-border-width) solid var(--graphy-legend-border-color);cursor:pointer;pointer-events:auto;font:var(--graphy-font-legend-label);color:var(--graphy-legend-text-color);-webkit-appearance:none;appearance:none;border-radius:9999px;display:inline-flex;position:relative}.legend-overflow_trigger__h68bv36:focus-visible{outline:1px solid var(--graphy-legend-focus-outline-color)}.legend-overflow_triggerOpen__h68bv37{border-color:var(--graphy-text-primary)}.legend-overflow_triggerLabel__h68bv38{font-variant-numeric:tabular-nums}.legend-overflow_popover__h68bv39{pointer-events:auto;background:var(--graphy-tooltip-background);border:1px solid var(--graphy-tooltip-border-color);border-radius:var(--graphy-tooltip-border-radius);padding-block:var(--graphy-tooltip-padding-block);padding-inline:var(--graphy-tooltip-padding-inline);box-shadow:var(--graphy-tooltip-shadow);z-index:40;max-width:320px;max-height:240px;font:var(--graphy-font-legend-label);color:var(--graphy-legend-text-color);overflow-y:auto}.legend-overflow_popoverList__h68bv3a{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.legend-overflow_popoverItem__h68bv3b{align-items:center;gap:var(--graphy-legend-swatch-gap);white-space:nowrap;display:flex}.pill-content_bubble__1rqnt0m0{opacity:.7;border-radius:50%}.pill-legends_root__1unrqh40{pointer-events:none;flex-wrap:nowrap;align-items:center;block-size:100%;inline-size:100%;display:flex}.pill-legends_horizontalRoot__1unrqh41{flex-direction:row}.pill-legends_verticalRoot__1unrqh42{flex-direction:column}.pill-legends_mainAxisAlign_start__1unrqh43{justify-content:flex-start}.pill-legends_mainAxisAlign_center__1unrqh44{justify-content:center}.pill-legends_mainAxisAlign_end__1unrqh45{justify-content:flex-end}.pill-legends_verticalPlotHug_right__1unrqh46{align-items:flex-start}.pill-legends_verticalPlotHug_left__1unrqh47{align-items:flex-end}.pill-legends_item__1unrqh48{align-items:center;gap:var(--graphy-legend-swatch-gap);white-space:nowrap;flex-shrink:0;display:flex}.difference-arrows_pointer__1lwhbn50{cursor:pointer}.text-annotation_annotation__1plg4b60{pointer-events:auto;font-family:var(--graphy-font-family-default);word-wrap:break-word;white-space:break-spaces;text-align:center;box-sizing:border-box;width:100%}.text-annotation_annotation__1plg4b60 p,.text-annotation_annotation__1plg4b60 h1,.text-annotation_annotation__1plg4b60 h2,.text-annotation_annotation__1plg4b60 h3{margin:0}.text-annotation_editor__1plg4b61 .ProseMirror{outline:none;min-height:1em}.text-annotation_editor__1plg4b61 .ProseMirror .is-empty:before{content:attr(data-placeholder);color:currentColor;opacity:.4;float:left;pointer-events:none;height:0}.callouts_overlay__1rlvxtx0{pointer-events:none}.callouts_miniSwatch__1rlvxtx1{flex-shrink:0;align-items:center;display:flex}.callouts_miniText__1rlvxtx2{font-family:var(--graphy-font-family-default)}.callouts_miniBubbleBase__1rlvxtx3{box-sizing:border-box;white-space:nowrap;-webkit-user-select:none;user-select:none;flex-direction:row;align-items:center;gap:5px;width:100%;height:100%;display:flex}.callouts_miniBubble_hittable__1rlvxtx4{pointer-events:auto}.callouts_miniBubble_inert__1rlvxtx5,.data-labels_overlay__15wb5l30,.data-labels_background__15wb5l31{pointer-events:none}.data-labels_label__15wb5l32{pointer-events:none;font-variant-numeric:tabular-nums}.geom-layers\\.renderer_svg__1rzsuvz2{stroke-linecap:round;overflow:visible}.geom-layers\\.renderer_geomGroup__1rzsuvz3{transition:opacity .15s ease-out,filter .15s ease-out}[data-hover-active=true] .geom-layers\\.renderer_geomGroup__1rzsuvz3{opacity:var(--hoverDimOpacity__1rzsuvz0,.4);filter:var(--hoverDimFilter__1rzsuvz1,none)}.plot\\.renderer_root__1ts0j5d0{position:absolute;top:0;left:0;overflow:visible}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(a)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
3
|
-
import * as
|
|
4
|
-
import qo, { Component as xb, Fragment as Ya, createContext as
|
|
3
|
+
import * as We from "react";
|
|
4
|
+
import qo, { Component as xb, Fragment as Ya, createContext as Je, createElement as XE, forwardRef as qE, memo as hr, useCallback as De, useContext as ye, useEffect as Te, useId as ft, useImperativeHandle as QE, useInsertionEffect as wb, useLayoutEffect as Ab, useMemo as W, useRef as be, useState as Re, useSyncExternalStore as Sb } from "react";
|
|
5
5
|
import { Fragment as ke, jsx as v, jsxs as Y } from "react/jsx-runtime";
|
|
6
6
|
import * as JE from "react-dom";
|
|
7
7
|
import { createPortal as Tb } from "react-dom";
|
|
@@ -167,42 +167,42 @@ function eg(e) {
|
|
|
167
167
|
const t = Object.getPrototypeOf(e);
|
|
168
168
|
return t === Object.prototype || t === null;
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function ze(e) {
|
|
171
171
|
const t = Object.prototype.toString.call(e);
|
|
172
172
|
return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Ke(e, t) {
|
|
175
175
|
return e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
176
176
|
}
|
|
177
177
|
function Xl(e, t) {
|
|
178
|
-
const r =
|
|
179
|
-
return isNaN(t) ?
|
|
178
|
+
const r = ze(e);
|
|
179
|
+
return isNaN(t) ? Ke(e, NaN) : (t && r.setDate(r.getDate() + t), r);
|
|
180
180
|
}
|
|
181
181
|
var x2 = 365.2425, w2 = Math.pow(10, 8) * 24 * 60 * 60 * 1e3, Foe = -w2, Ib = 6048e5, A2 = 864e5, S2 = 6e4, T2 = 36e5, M2 = 1e3, E2 = 3600, _b = E2 * 24, Boe = _b * 7, k2 = _b * x2, C2 = k2 / 12, Voe = C2 * 3, P2 = {};
|
|
182
182
|
function Ka() {
|
|
183
183
|
return P2;
|
|
184
184
|
}
|
|
185
185
|
function gn(e, t) {
|
|
186
|
-
const r = Ka(), n = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, i =
|
|
186
|
+
const r = Ka(), n = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, i = ze(e), o = i.getDay(), a = (o < n ? 7 : 0) + o - n;
|
|
187
187
|
return i.setDate(i.getDate() - a), i.setHours(0, 0, 0, 0), i;
|
|
188
188
|
}
|
|
189
189
|
function oo(e) {
|
|
190
190
|
return gn(e, { weekStartsOn: 1 });
|
|
191
191
|
}
|
|
192
192
|
function R2(e) {
|
|
193
|
-
const t =
|
|
193
|
+
const t = ze(e), r = t.getFullYear(), n = Ke(e, 0);
|
|
194
194
|
n.setFullYear(r + 1, 0, 4), n.setHours(0, 0, 0, 0);
|
|
195
|
-
const i = oo(n), o =
|
|
195
|
+
const i = oo(n), o = Ke(e, 0);
|
|
196
196
|
o.setFullYear(r, 0, 4), o.setHours(0, 0, 0, 0);
|
|
197
197
|
const a = oo(o);
|
|
198
198
|
return t.getTime() >= i.getTime() ? r + 1 : t.getTime() >= a.getTime() ? r : r - 1;
|
|
199
199
|
}
|
|
200
200
|
function tg(e) {
|
|
201
|
-
const t =
|
|
201
|
+
const t = ze(e);
|
|
202
202
|
return t.setHours(0, 0, 0, 0), t;
|
|
203
203
|
}
|
|
204
204
|
function ul(e) {
|
|
205
|
-
const t =
|
|
205
|
+
const t = ze(e), r = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
206
206
|
return r.setUTCFullYear(t.getFullYear()), +e - +r;
|
|
207
207
|
}
|
|
208
208
|
function I2(e, t) {
|
|
@@ -210,19 +210,19 @@ function I2(e, t) {
|
|
|
210
210
|
return Math.round((i - o) / A2);
|
|
211
211
|
}
|
|
212
212
|
function _2(e) {
|
|
213
|
-
const t = R2(e), r =
|
|
213
|
+
const t = R2(e), r = Ke(e, 0);
|
|
214
214
|
return r.setFullYear(t, 0, 4), r.setHours(0, 0, 0, 0), oo(r);
|
|
215
215
|
}
|
|
216
216
|
function L2(e) {
|
|
217
217
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function kt(e) {
|
|
220
220
|
if (!L2(e) && typeof e != "number") return !1;
|
|
221
|
-
const t =
|
|
221
|
+
const t = ze(e);
|
|
222
222
|
return !isNaN(Number(t));
|
|
223
223
|
}
|
|
224
224
|
function Lb(e, t) {
|
|
225
|
-
const r =
|
|
225
|
+
const r = ze(e), n = ze(t), i = rg(r, n), o = Math.abs(I2(r, n));
|
|
226
226
|
r.setDate(r.getDate() - i * o);
|
|
227
227
|
const a = i * (o - +(rg(r, n) === -i));
|
|
228
228
|
return a === 0 ? 0 : a;
|
|
@@ -724,23 +724,23 @@ var Z2 = /^(\d+)(th|st|nd|rd)?/i, ek = /\d+/i, tk = {
|
|
|
724
724
|
}
|
|
725
725
|
};
|
|
726
726
|
function hk(e) {
|
|
727
|
-
const t =
|
|
727
|
+
const t = ze(e), r = +oo(t) - +_2(t);
|
|
728
728
|
return Math.round(r / Ib) + 1;
|
|
729
729
|
}
|
|
730
730
|
function Db(e, t) {
|
|
731
|
-
const r =
|
|
731
|
+
const r = ze(e), n = r.getFullYear(), i = Ka(), o = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, a = Ke(e, 0);
|
|
732
732
|
a.setFullYear(n + 1, 0, o), a.setHours(0, 0, 0, 0);
|
|
733
|
-
const s = gn(a, t), l =
|
|
733
|
+
const s = gn(a, t), l = Ke(e, 0);
|
|
734
734
|
l.setFullYear(n, 0, o), l.setHours(0, 0, 0, 0);
|
|
735
735
|
const c = gn(l, t);
|
|
736
736
|
return r.getTime() >= s.getTime() ? n + 1 : r.getTime() >= c.getTime() ? n : n - 1;
|
|
737
737
|
}
|
|
738
738
|
function mk(e, t) {
|
|
739
|
-
const r = Ka(), n = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, i = Db(e, t), o =
|
|
739
|
+
const r = Ka(), n = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, i = Db(e, t), o = Ke(e, 0);
|
|
740
740
|
return o.setFullYear(i, 0, n), o.setHours(0, 0, 0, 0), gn(o, t);
|
|
741
741
|
}
|
|
742
742
|
function gk(e, t) {
|
|
743
|
-
const r =
|
|
743
|
+
const r = ze(e), n = +gn(r, t) - +mk(r, t);
|
|
744
744
|
return Math.round(n / Ib) + 1;
|
|
745
745
|
}
|
|
746
746
|
var ng = (e, t) => {
|
|
@@ -811,15 +811,15 @@ function Sk() {
|
|
|
811
811
|
return Object.assign({}, Ka());
|
|
812
812
|
}
|
|
813
813
|
function Tk(e) {
|
|
814
|
-
let t =
|
|
814
|
+
let t = ze(e).getDay();
|
|
815
815
|
return t === 0 && (t = 7), t;
|
|
816
816
|
}
|
|
817
817
|
function Mk(e, t) {
|
|
818
|
-
const r =
|
|
818
|
+
const r = ze(e), n = ze(t);
|
|
819
819
|
return +r < +n;
|
|
820
820
|
}
|
|
821
821
|
function Ek(e, t) {
|
|
822
|
-
const r = t instanceof Date ?
|
|
822
|
+
const r = t instanceof Date ? Ke(t, 0) : new t(0);
|
|
823
823
|
return r.setFullYear(e.getFullYear(), e.getMonth(), e.getDate()), r.setHours(e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()), r;
|
|
824
824
|
}
|
|
825
825
|
function Aa(e) {
|
|
@@ -874,7 +874,7 @@ var Pk = 10, Ob = class {
|
|
|
874
874
|
super(...e), G(this, "priority", Pk), G(this, "subPriority", -1);
|
|
875
875
|
}
|
|
876
876
|
set(e, t) {
|
|
877
|
-
return t.timestampIsSet ? e :
|
|
877
|
+
return t.timestampIsSet ? e : Ke(e, Ek(e, Date));
|
|
878
878
|
}
|
|
879
879
|
}, Ae = class {
|
|
880
880
|
run(e, t, r, n) {
|
|
@@ -911,7 +911,7 @@ var Pk = 10, Ob = class {
|
|
|
911
911
|
set(e, t, r) {
|
|
912
912
|
return t.era = r, e.setFullYear(r, 0, 1), e.setHours(0, 0, 0, 0), e;
|
|
913
913
|
}
|
|
914
|
-
},
|
|
914
|
+
}, Xe = {
|
|
915
915
|
month: /^(1[0-2]|0?\d)/,
|
|
916
916
|
date: /^(3[0-1]|[0-2]?\d)/,
|
|
917
917
|
dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
|
|
@@ -938,13 +938,13 @@ var Pk = 10, Ob = class {
|
|
|
938
938
|
extended: /^([+-])(\d{2}):(\d{2})|Z/,
|
|
939
939
|
extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
|
|
940
940
|
};
|
|
941
|
-
function
|
|
941
|
+
function qe(e, t) {
|
|
942
942
|
return e && {
|
|
943
943
|
value: t(e.value),
|
|
944
944
|
rest: e.rest
|
|
945
945
|
};
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function je(e, t) {
|
|
948
948
|
const r = t.match(e);
|
|
949
949
|
return r ? {
|
|
950
950
|
value: parseInt(r[0], 10),
|
|
@@ -965,34 +965,34 @@ function Sr(e, t) {
|
|
|
965
965
|
};
|
|
966
966
|
}
|
|
967
967
|
function Fb(e) {
|
|
968
|
-
return
|
|
968
|
+
return je(Xe.anyDigitsSigned, e);
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function Ye(e, t) {
|
|
971
971
|
switch (e) {
|
|
972
972
|
case 1:
|
|
973
|
-
return
|
|
973
|
+
return je(Xe.singleDigit, t);
|
|
974
974
|
case 2:
|
|
975
|
-
return
|
|
975
|
+
return je(Xe.twoDigits, t);
|
|
976
976
|
case 3:
|
|
977
|
-
return
|
|
977
|
+
return je(Xe.threeDigits, t);
|
|
978
978
|
case 4:
|
|
979
|
-
return
|
|
979
|
+
return je(Xe.fourDigits, t);
|
|
980
980
|
default:
|
|
981
|
-
return
|
|
981
|
+
return je(new RegExp("^\\d{1," + e + "}"), t);
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
984
|
function dl(e, t) {
|
|
985
985
|
switch (e) {
|
|
986
986
|
case 1:
|
|
987
|
-
return
|
|
987
|
+
return je(Xe.singleDigitSigned, t);
|
|
988
988
|
case 2:
|
|
989
|
-
return
|
|
989
|
+
return je(Xe.twoDigitsSigned, t);
|
|
990
990
|
case 3:
|
|
991
|
-
return
|
|
991
|
+
return je(Xe.threeDigitsSigned, t);
|
|
992
992
|
case 4:
|
|
993
|
-
return
|
|
993
|
+
return je(Xe.fourDigitsSigned, t);
|
|
994
994
|
default:
|
|
995
|
-
return
|
|
995
|
+
return je(new RegExp("^-?\\d{1," + e + "}"), t);
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
998
|
function Ef(e) {
|
|
@@ -1044,11 +1044,11 @@ var Lk = class extends Ae {
|
|
|
1044
1044
|
});
|
|
1045
1045
|
switch (t) {
|
|
1046
1046
|
case "y":
|
|
1047
|
-
return
|
|
1047
|
+
return qe(Ye(4, e), n);
|
|
1048
1048
|
case "yo":
|
|
1049
|
-
return
|
|
1049
|
+
return qe(r.ordinalNumber(e, { unit: "year" }), n);
|
|
1050
1050
|
default:
|
|
1051
|
-
return
|
|
1051
|
+
return qe(Ye(t.length, e), n);
|
|
1052
1052
|
}
|
|
1053
1053
|
}
|
|
1054
1054
|
validate(e, t) {
|
|
@@ -1088,11 +1088,11 @@ var Lk = class extends Ae {
|
|
|
1088
1088
|
});
|
|
1089
1089
|
switch (t) {
|
|
1090
1090
|
case "Y":
|
|
1091
|
-
return
|
|
1091
|
+
return qe(Ye(4, e), n);
|
|
1092
1092
|
case "Yo":
|
|
1093
|
-
return
|
|
1093
|
+
return qe(r.ordinalNumber(e, { unit: "year" }), n);
|
|
1094
1094
|
default:
|
|
1095
|
-
return
|
|
1095
|
+
return qe(Ye(t.length, e), n);
|
|
1096
1096
|
}
|
|
1097
1097
|
}
|
|
1098
1098
|
validate(e, t) {
|
|
@@ -1131,7 +1131,7 @@ var Lk = class extends Ae {
|
|
|
1131
1131
|
return dl(t === "R" ? 4 : t.length, e);
|
|
1132
1132
|
}
|
|
1133
1133
|
set(e, t, r) {
|
|
1134
|
-
const n =
|
|
1134
|
+
const n = Ke(e, 0);
|
|
1135
1135
|
return n.setFullYear(r, 0, 4), n.setHours(0, 0, 0, 0), oo(n);
|
|
1136
1136
|
}
|
|
1137
1137
|
}, Ok = class extends Ae {
|
|
@@ -1179,7 +1179,7 @@ var Lk = class extends Ae {
|
|
|
1179
1179
|
switch (t) {
|
|
1180
1180
|
case "Q":
|
|
1181
1181
|
case "QQ":
|
|
1182
|
-
return
|
|
1182
|
+
return Ye(t.length, e);
|
|
1183
1183
|
case "Qo":
|
|
1184
1184
|
return r.ordinalNumber(e, { unit: "quarter" });
|
|
1185
1185
|
case "QQQ":
|
|
@@ -1237,7 +1237,7 @@ var Lk = class extends Ae {
|
|
|
1237
1237
|
switch (t) {
|
|
1238
1238
|
case "q":
|
|
1239
1239
|
case "qq":
|
|
1240
|
-
return
|
|
1240
|
+
return Ye(t.length, e);
|
|
1241
1241
|
case "qo":
|
|
1242
1242
|
return r.ordinalNumber(e, { unit: "quarter" });
|
|
1243
1243
|
case "qqq":
|
|
@@ -1294,11 +1294,11 @@ var Lk = class extends Ae {
|
|
|
1294
1294
|
const n = (i) => i - 1;
|
|
1295
1295
|
switch (t) {
|
|
1296
1296
|
case "M":
|
|
1297
|
-
return
|
|
1297
|
+
return qe(je(Xe.month, e), n);
|
|
1298
1298
|
case "MM":
|
|
1299
|
-
return
|
|
1299
|
+
return qe(Ye(2, e), n);
|
|
1300
1300
|
case "Mo":
|
|
1301
|
-
return
|
|
1301
|
+
return qe(r.ordinalNumber(e, { unit: "month" }), n);
|
|
1302
1302
|
case "MMM":
|
|
1303
1303
|
return r.month(e, {
|
|
1304
1304
|
width: "abbreviated",
|
|
@@ -1353,11 +1353,11 @@ var Lk = class extends Ae {
|
|
|
1353
1353
|
const n = (i) => i - 1;
|
|
1354
1354
|
switch (t) {
|
|
1355
1355
|
case "L":
|
|
1356
|
-
return
|
|
1356
|
+
return qe(je(Xe.month, e), n);
|
|
1357
1357
|
case "LL":
|
|
1358
|
-
return
|
|
1358
|
+
return qe(Ye(2, e), n);
|
|
1359
1359
|
case "Lo":
|
|
1360
|
-
return
|
|
1360
|
+
return qe(r.ordinalNumber(e, { unit: "month" }), n);
|
|
1361
1361
|
case "LLL":
|
|
1362
1362
|
return r.month(e, {
|
|
1363
1363
|
width: "abbreviated",
|
|
@@ -1392,7 +1392,7 @@ var Lk = class extends Ae {
|
|
|
1392
1392
|
}
|
|
1393
1393
|
};
|
|
1394
1394
|
function Wk(e, t, r) {
|
|
1395
|
-
const n =
|
|
1395
|
+
const n = ze(e), i = gk(n, r) - t;
|
|
1396
1396
|
return n.setDate(n.getDate() - i * 7), n;
|
|
1397
1397
|
}
|
|
1398
1398
|
var Uk = class extends Ae {
|
|
@@ -1416,11 +1416,11 @@ var Uk = class extends Ae {
|
|
|
1416
1416
|
parse(e, t, r) {
|
|
1417
1417
|
switch (t) {
|
|
1418
1418
|
case "w":
|
|
1419
|
-
return
|
|
1419
|
+
return je(Xe.week, e);
|
|
1420
1420
|
case "wo":
|
|
1421
1421
|
return r.ordinalNumber(e, { unit: "week" });
|
|
1422
1422
|
default:
|
|
1423
|
-
return
|
|
1423
|
+
return Ye(t.length, e);
|
|
1424
1424
|
}
|
|
1425
1425
|
}
|
|
1426
1426
|
validate(e, t) {
|
|
@@ -1431,7 +1431,7 @@ var Uk = class extends Ae {
|
|
|
1431
1431
|
}
|
|
1432
1432
|
};
|
|
1433
1433
|
function Gk(e, t) {
|
|
1434
|
-
const r =
|
|
1434
|
+
const r = ze(e), n = hk(r) - t;
|
|
1435
1435
|
return r.setDate(r.getDate() - n * 7), r;
|
|
1436
1436
|
}
|
|
1437
1437
|
var jk = class extends Ae {
|
|
@@ -1456,11 +1456,11 @@ var jk = class extends Ae {
|
|
|
1456
1456
|
parse(e, t, r) {
|
|
1457
1457
|
switch (t) {
|
|
1458
1458
|
case "I":
|
|
1459
|
-
return
|
|
1459
|
+
return je(Xe.week, e);
|
|
1460
1460
|
case "Io":
|
|
1461
1461
|
return r.ordinalNumber(e, { unit: "week" });
|
|
1462
1462
|
default:
|
|
1463
|
-
return
|
|
1463
|
+
return Ye(t.length, e);
|
|
1464
1464
|
}
|
|
1465
1465
|
}
|
|
1466
1466
|
validate(e, t) {
|
|
@@ -1515,11 +1515,11 @@ var jk = class extends Ae {
|
|
|
1515
1515
|
parse(e, t, r) {
|
|
1516
1516
|
switch (t) {
|
|
1517
1517
|
case "d":
|
|
1518
|
-
return
|
|
1518
|
+
return je(Xe.date, e);
|
|
1519
1519
|
case "do":
|
|
1520
1520
|
return r.ordinalNumber(e, { unit: "date" });
|
|
1521
1521
|
default:
|
|
1522
|
-
return
|
|
1522
|
+
return Ye(t.length, e);
|
|
1523
1523
|
}
|
|
1524
1524
|
}
|
|
1525
1525
|
validate(e, t) {
|
|
@@ -1553,11 +1553,11 @@ var jk = class extends Ae {
|
|
|
1553
1553
|
switch (t) {
|
|
1554
1554
|
case "D":
|
|
1555
1555
|
case "DD":
|
|
1556
|
-
return
|
|
1556
|
+
return je(Xe.dayOfYear, e);
|
|
1557
1557
|
case "Do":
|
|
1558
1558
|
return r.ordinalNumber(e, { unit: "date" });
|
|
1559
1559
|
default:
|
|
1560
|
-
return
|
|
1560
|
+
return Ye(t.length, e);
|
|
1561
1561
|
}
|
|
1562
1562
|
}
|
|
1563
1563
|
validate(e, t) {
|
|
@@ -1568,7 +1568,7 @@ var jk = class extends Ae {
|
|
|
1568
1568
|
}
|
|
1569
1569
|
};
|
|
1570
1570
|
function kf(e, t, r) {
|
|
1571
|
-
const n = Ka(), i = r?.weekStartsOn ?? r?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, o =
|
|
1571
|
+
const n = Ka(), i = r?.weekStartsOn ?? r?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, o = ze(e), a = o.getDay(), s = (t % 7 + 7) % 7, l = 7 - i;
|
|
1572
1572
|
return Xl(o, t < 0 || t > 6 ? t - (a + l) % 7 : (s + l) % 7 - (a + l) % 7);
|
|
1573
1573
|
}
|
|
1574
1574
|
var Xk = class extends Ae {
|
|
@@ -1660,9 +1660,9 @@ var Xk = class extends Ae {
|
|
|
1660
1660
|
switch (t) {
|
|
1661
1661
|
case "e":
|
|
1662
1662
|
case "ee":
|
|
1663
|
-
return
|
|
1663
|
+
return qe(Ye(t.length, e), i);
|
|
1664
1664
|
case "eo":
|
|
1665
|
-
return
|
|
1665
|
+
return qe(r.ordinalNumber(e, { unit: "day" }), i);
|
|
1666
1666
|
case "eee":
|
|
1667
1667
|
return r.day(e, {
|
|
1668
1668
|
width: "abbreviated",
|
|
@@ -1737,9 +1737,9 @@ var Xk = class extends Ae {
|
|
|
1737
1737
|
switch (t) {
|
|
1738
1738
|
case "c":
|
|
1739
1739
|
case "cc":
|
|
1740
|
-
return
|
|
1740
|
+
return qe(Ye(t.length, e), i);
|
|
1741
1741
|
case "co":
|
|
1742
|
-
return
|
|
1742
|
+
return qe(r.ordinalNumber(e, { unit: "day" }), i);
|
|
1743
1743
|
case "ccc":
|
|
1744
1744
|
return r.day(e, {
|
|
1745
1745
|
width: "abbreviated",
|
|
@@ -1788,7 +1788,7 @@ var Xk = class extends Ae {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
};
|
|
1790
1790
|
function Jk(e, t) {
|
|
1791
|
-
const r =
|
|
1791
|
+
const r = ze(e);
|
|
1792
1792
|
return Xl(r, t - Tk(r));
|
|
1793
1793
|
}
|
|
1794
1794
|
var Zk = class extends Ae {
|
|
@@ -1816,11 +1816,11 @@ var Zk = class extends Ae {
|
|
|
1816
1816
|
switch (t) {
|
|
1817
1817
|
case "i":
|
|
1818
1818
|
case "ii":
|
|
1819
|
-
return
|
|
1819
|
+
return Ye(t.length, e);
|
|
1820
1820
|
case "io":
|
|
1821
1821
|
return r.ordinalNumber(e, { unit: "day" });
|
|
1822
1822
|
case "iii":
|
|
1823
|
-
return
|
|
1823
|
+
return qe(r.day(e, {
|
|
1824
1824
|
width: "abbreviated",
|
|
1825
1825
|
context: "formatting"
|
|
1826
1826
|
}) || r.day(e, {
|
|
@@ -1831,12 +1831,12 @@ var Zk = class extends Ae {
|
|
|
1831
1831
|
context: "formatting"
|
|
1832
1832
|
}), n);
|
|
1833
1833
|
case "iiiii":
|
|
1834
|
-
return
|
|
1834
|
+
return qe(r.day(e, {
|
|
1835
1835
|
width: "narrow",
|
|
1836
1836
|
context: "formatting"
|
|
1837
1837
|
}), n);
|
|
1838
1838
|
case "iiiiii":
|
|
1839
|
-
return
|
|
1839
|
+
return qe(r.day(e, {
|
|
1840
1840
|
width: "short",
|
|
1841
1841
|
context: "formatting"
|
|
1842
1842
|
}) || r.day(e, {
|
|
@@ -1844,7 +1844,7 @@ var Zk = class extends Ae {
|
|
|
1844
1844
|
context: "formatting"
|
|
1845
1845
|
}), n);
|
|
1846
1846
|
default:
|
|
1847
|
-
return
|
|
1847
|
+
return qe(r.day(e, {
|
|
1848
1848
|
width: "wide",
|
|
1849
1849
|
context: "formatting"
|
|
1850
1850
|
}) || r.day(e, {
|
|
@@ -2008,11 +2008,11 @@ var Zk = class extends Ae {
|
|
|
2008
2008
|
parse(e, t, r) {
|
|
2009
2009
|
switch (t) {
|
|
2010
2010
|
case "h":
|
|
2011
|
-
return
|
|
2011
|
+
return je(Xe.hour12h, e);
|
|
2012
2012
|
case "ho":
|
|
2013
2013
|
return r.ordinalNumber(e, { unit: "hour" });
|
|
2014
2014
|
default:
|
|
2015
|
-
return
|
|
2015
|
+
return Ye(t.length, e);
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
2018
|
validate(e, t) {
|
|
@@ -2037,11 +2037,11 @@ var Zk = class extends Ae {
|
|
|
2037
2037
|
parse(e, t, r) {
|
|
2038
2038
|
switch (t) {
|
|
2039
2039
|
case "H":
|
|
2040
|
-
return
|
|
2040
|
+
return je(Xe.hour23h, e);
|
|
2041
2041
|
case "Ho":
|
|
2042
2042
|
return r.ordinalNumber(e, { unit: "hour" });
|
|
2043
2043
|
default:
|
|
2044
|
-
return
|
|
2044
|
+
return Ye(t.length, e);
|
|
2045
2045
|
}
|
|
2046
2046
|
}
|
|
2047
2047
|
validate(e, t) {
|
|
@@ -2063,11 +2063,11 @@ var Zk = class extends Ae {
|
|
|
2063
2063
|
parse(e, t, r) {
|
|
2064
2064
|
switch (t) {
|
|
2065
2065
|
case "K":
|
|
2066
|
-
return
|
|
2066
|
+
return je(Xe.hour11h, e);
|
|
2067
2067
|
case "Ko":
|
|
2068
2068
|
return r.ordinalNumber(e, { unit: "hour" });
|
|
2069
2069
|
default:
|
|
2070
|
-
return
|
|
2070
|
+
return Ye(t.length, e);
|
|
2071
2071
|
}
|
|
2072
2072
|
}
|
|
2073
2073
|
validate(e, t) {
|
|
@@ -2091,11 +2091,11 @@ var Zk = class extends Ae {
|
|
|
2091
2091
|
parse(e, t, r) {
|
|
2092
2092
|
switch (t) {
|
|
2093
2093
|
case "k":
|
|
2094
|
-
return
|
|
2094
|
+
return je(Xe.hour24h, e);
|
|
2095
2095
|
case "ko":
|
|
2096
2096
|
return r.ordinalNumber(e, { unit: "hour" });
|
|
2097
2097
|
default:
|
|
2098
|
-
return
|
|
2098
|
+
return Ye(t.length, e);
|
|
2099
2099
|
}
|
|
2100
2100
|
}
|
|
2101
2101
|
validate(e, t) {
|
|
@@ -2112,11 +2112,11 @@ var Zk = class extends Ae {
|
|
|
2112
2112
|
parse(e, t, r) {
|
|
2113
2113
|
switch (t) {
|
|
2114
2114
|
case "m":
|
|
2115
|
-
return
|
|
2115
|
+
return je(Xe.minute, e);
|
|
2116
2116
|
case "mo":
|
|
2117
2117
|
return r.ordinalNumber(e, { unit: "minute" });
|
|
2118
2118
|
default:
|
|
2119
|
-
return
|
|
2119
|
+
return Ye(t.length, e);
|
|
2120
2120
|
}
|
|
2121
2121
|
}
|
|
2122
2122
|
validate(e, t) {
|
|
@@ -2132,11 +2132,11 @@ var Zk = class extends Ae {
|
|
|
2132
2132
|
parse(e, t, r) {
|
|
2133
2133
|
switch (t) {
|
|
2134
2134
|
case "s":
|
|
2135
|
-
return
|
|
2135
|
+
return je(Xe.second, e);
|
|
2136
2136
|
case "so":
|
|
2137
2137
|
return r.ordinalNumber(e, { unit: "second" });
|
|
2138
2138
|
default:
|
|
2139
|
-
return
|
|
2139
|
+
return Ye(t.length, e);
|
|
2140
2140
|
}
|
|
2141
2141
|
}
|
|
2142
2142
|
validate(e, t) {
|
|
@@ -2151,7 +2151,7 @@ var Zk = class extends Ae {
|
|
|
2151
2151
|
}
|
|
2152
2152
|
parse(e, t) {
|
|
2153
2153
|
const r = (n) => Math.trunc(n * Math.pow(10, -t.length + 3));
|
|
2154
|
-
return
|
|
2154
|
+
return qe(Ye(t.length, e), r);
|
|
2155
2155
|
}
|
|
2156
2156
|
set(e, t, r) {
|
|
2157
2157
|
return e.setMilliseconds(r), e;
|
|
@@ -2179,7 +2179,7 @@ var Zk = class extends Ae {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
}
|
|
2181
2181
|
set(e, t, r) {
|
|
2182
|
-
return t.timestampIsSet ? e :
|
|
2182
|
+
return t.timestampIsSet ? e : Ke(e, e.getTime() - ul(e) - r);
|
|
2183
2183
|
}
|
|
2184
2184
|
}, dC = class extends Ae {
|
|
2185
2185
|
constructor(...e) {
|
|
@@ -2204,7 +2204,7 @@ var Zk = class extends Ae {
|
|
|
2204
2204
|
}
|
|
2205
2205
|
}
|
|
2206
2206
|
set(e, t, r) {
|
|
2207
|
-
return t.timestampIsSet ? e :
|
|
2207
|
+
return t.timestampIsSet ? e : Ke(e, e.getTime() - ul(e) - r);
|
|
2208
2208
|
}
|
|
2209
2209
|
}, fC = class extends Ae {
|
|
2210
2210
|
constructor(...e) {
|
|
@@ -2214,7 +2214,7 @@ var Zk = class extends Ae {
|
|
|
2214
2214
|
return Fb(e);
|
|
2215
2215
|
}
|
|
2216
2216
|
set(e, t, r) {
|
|
2217
|
-
return [
|
|
2217
|
+
return [Ke(e, r * 1e3), { timestampIsSet: !0 }];
|
|
2218
2218
|
}
|
|
2219
2219
|
}, hC = class extends Ae {
|
|
2220
2220
|
constructor(...e) {
|
|
@@ -2224,7 +2224,7 @@ var Zk = class extends Ae {
|
|
|
2224
2224
|
return Fb(e);
|
|
2225
2225
|
}
|
|
2226
2226
|
set(e, t, r) {
|
|
2227
|
-
return [
|
|
2227
|
+
return [Ke(e, r), { timestampIsSet: !0 }];
|
|
2228
2228
|
}
|
|
2229
2229
|
}, mC = {
|
|
2230
2230
|
G: new _k(),
|
|
@@ -2261,7 +2261,7 @@ var Zk = class extends Ae {
|
|
|
2261
2261
|
}, gC = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, pC = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, vC = /^'([^]*?)'?$/, yC = /''/g, bC = /\S/, xC = /[a-zA-Z]/;
|
|
2262
2262
|
function ao(e, t, r, n) {
|
|
2263
2263
|
const i = Sk(), o = n?.locale ?? i.locale ?? fk, a = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, s = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? i.weekStartsOn ?? i.locale?.options?.weekStartsOn ?? 0;
|
|
2264
|
-
if (t === "") return e === "" ?
|
|
2264
|
+
if (t === "") return e === "" ? ze(r) : Ke(r, NaN);
|
|
2265
2265
|
const l = {
|
|
2266
2266
|
firstWeekContainsDate: a,
|
|
2267
2267
|
weekStartsOn: s,
|
|
@@ -2288,34 +2288,34 @@ function ao(e, t, r, n) {
|
|
|
2288
2288
|
fullToken: g
|
|
2289
2289
|
});
|
|
2290
2290
|
const S = y.run(e, g, o.match, l);
|
|
2291
|
-
if (!S) return
|
|
2291
|
+
if (!S) return Ke(r, NaN);
|
|
2292
2292
|
c.push(S.setter), e = S.rest;
|
|
2293
2293
|
} else {
|
|
2294
2294
|
if (p.match(xC)) throw new RangeError("Format string contains an unescaped latin alphabet character `" + p + "`");
|
|
2295
2295
|
if (g === "''" ? g = "'" : p === "'" && (g = wC(g)), e.indexOf(g) === 0) e = e.slice(g.length);
|
|
2296
|
-
else return
|
|
2296
|
+
else return Ke(r, NaN);
|
|
2297
2297
|
}
|
|
2298
2298
|
}
|
|
2299
|
-
if (e.length > 0 && bC.test(e)) return
|
|
2299
|
+
if (e.length > 0 && bC.test(e)) return Ke(r, NaN);
|
|
2300
2300
|
const f = c.map((g) => g.priority).sort((g, p) => p - g).filter((g, p, y) => y.indexOf(g) === p).map((g) => c.filter((p) => p.priority === g).sort((p, y) => y.subPriority - p.subPriority)).map((g) => g[0]);
|
|
2301
|
-
let h =
|
|
2302
|
-
if (isNaN(h.getTime())) return
|
|
2301
|
+
let h = ze(r);
|
|
2302
|
+
if (isNaN(h.getTime())) return Ke(r, NaN);
|
|
2303
2303
|
const m = {};
|
|
2304
2304
|
for (const g of f) {
|
|
2305
|
-
if (!g.validate(h, l)) return
|
|
2305
|
+
if (!g.validate(h, l)) return Ke(r, NaN);
|
|
2306
2306
|
const p = g.set(h, m, l);
|
|
2307
2307
|
Array.isArray(p) ? (h = p[0], Object.assign(m, p[1])) : h = p;
|
|
2308
2308
|
}
|
|
2309
|
-
return
|
|
2309
|
+
return Ke(r, h);
|
|
2310
2310
|
}
|
|
2311
2311
|
function wC(e) {
|
|
2312
2312
|
return e.match(vC)[1].replace(yC, "'");
|
|
2313
2313
|
}
|
|
2314
2314
|
function AC(e, t) {
|
|
2315
|
-
const r = +
|
|
2315
|
+
const r = +ze(e), [n, i] = [+ze(t.start), +ze(t.end)].sort((o, a) => o - a);
|
|
2316
2316
|
return r >= n && r <= i;
|
|
2317
2317
|
}
|
|
2318
|
-
var Vt = (e) => e instanceof Date &&
|
|
2318
|
+
var Vt = (e) => e instanceof Date && kt(e), SC = (e) => Vt(e) || e === null, ql = (e) => typeof e == "string", Oe = (e) => typeof e == "number" && !Number.isNaN(e) && Number.isFinite(e), TC = (e) => Oe(e) || e === null, qr = Math.PI * 2, MC = 1e-9, EC = [
|
|
2319
2319
|
0,
|
|
2320
2320
|
Math.PI / 2,
|
|
2321
2321
|
Math.PI,
|
|
@@ -2403,10 +2403,10 @@ function Se(e) {
|
|
|
2403
2403
|
function Ht(e) {
|
|
2404
2404
|
return e[H.xMin];
|
|
2405
2405
|
}
|
|
2406
|
-
function
|
|
2406
|
+
function Ct(e) {
|
|
2407
2407
|
return e[H.xMax];
|
|
2408
2408
|
}
|
|
2409
|
-
function
|
|
2409
|
+
function Tt(e) {
|
|
2410
2410
|
return e[H.yMin];
|
|
2411
2411
|
}
|
|
2412
2412
|
function ot(e) {
|
|
@@ -2424,7 +2424,7 @@ var _C = {
|
|
|
2424
2424
|
yMin: 0,
|
|
2425
2425
|
yMax: 1
|
|
2426
2426
|
}, zb = (e, t) => {
|
|
2427
|
-
const r = Ht(e) ?? Me(e), n =
|
|
2427
|
+
const r = Ht(e) ?? Me(e), n = Ct(e) ?? Me(e), i = Tt(e) ?? Se(e), o = ot(e) ?? Se(e);
|
|
2428
2428
|
return !Oe(r) || !Oe(n) || !Oe(i) || !Oe(o) ? null : t.type !== "polar" ? {
|
|
2429
2429
|
xMin: r,
|
|
2430
2430
|
xMax: n,
|
|
@@ -2510,7 +2510,7 @@ var DC = [
|
|
|
2510
2510
|
"dashed",
|
|
2511
2511
|
"dotted"
|
|
2512
2512
|
], Yb = (e) => $b.includes(e);
|
|
2513
|
-
function
|
|
2513
|
+
function Pt(e) {
|
|
2514
2514
|
return e === "stack" || e === "fill";
|
|
2515
2515
|
}
|
|
2516
2516
|
var ui = (e, t) => {
|
|
@@ -2533,7 +2533,7 @@ var ui = (e, t) => {
|
|
|
2533
2533
|
} : () => null;
|
|
2534
2534
|
}, Jl = (e, t) => ui(e, t.x), Kb = (e, t) => ui(e, t.y), NC = (e, t) => ui(e, t.color), sg = { variable: H.yRaw };
|
|
2535
2535
|
function _f(e, t) {
|
|
2536
|
-
return
|
|
2536
|
+
return Pt(e) ? sg : t.y ?? sg;
|
|
2537
2537
|
}
|
|
2538
2538
|
function qa(e) {
|
|
2539
2539
|
return ui(e.data, _f(e.position, e.mapping));
|
|
@@ -3525,7 +3525,7 @@ var gi = BP(function(e, t, r) {
|
|
|
3525
3525
|
}
|
|
3526
3526
|
], Mx = 1900, Ex = 2199, u_ = 3, d_ = 6, f_ = 5, h_ = 1, m_ = 28, g_ = /\s*[–—]\s*|\s-\s/, p_ = (e) => typeof e == "number" ? Number.isNaN(e) ? !1 : e >= Mx && e <= Ex : typeof e == "string" ? a_.test(e) : !1, kx = (e, t) => {
|
|
3527
3527
|
const r = ka(e);
|
|
3528
|
-
return !t && ti(r) ? x_(r) : typeof r == "string" ? t ?
|
|
3528
|
+
return !t && ti(r) ? x_(r) : typeof r == "string" ? t ? kt(ao(r, t, /* @__PURE__ */ new Date())) : !!Cx(r) || rc(r) && kt(new Date(r)) : kt(r);
|
|
3529
3529
|
}, ka = (e) => {
|
|
3530
3530
|
if (typeof e != "string") return e;
|
|
3531
3531
|
let t = e;
|
|
@@ -3533,12 +3533,12 @@ var gi = BP(function(e, t, r) {
|
|
|
3533
3533
|
return t;
|
|
3534
3534
|
}, Cx = (e, t = px) => {
|
|
3535
3535
|
const r = ka(e);
|
|
3536
|
-
return rc(r) ? { type: "datetime" } : Px(t).find((n) => !xo(n) || n.type === "month" && r.length < u_ ? !1 : n.dateFormat &&
|
|
3536
|
+
return rc(r) ? { type: "datetime" } : Px(t).find((n) => !xo(n) || n.type === "month" && r.length < u_ ? !1 : n.dateFormat && kt(ao(r, n.dateFormat, /* @__PURE__ */ new Date())));
|
|
3537
3537
|
}, rc = (e) => o_.test(e.trim()), v_ = (e) => {
|
|
3538
|
-
if (e instanceof Date) return
|
|
3538
|
+
if (e instanceof Date) return kt(e) ? e : null;
|
|
3539
3539
|
if (typeof e != "string" || !rc(e)) return null;
|
|
3540
3540
|
const t = new Date(e.trim());
|
|
3541
|
-
return
|
|
3541
|
+
return kt(t) ? t : null;
|
|
3542
3542
|
}, y_ = (e, t = px) => {
|
|
3543
3543
|
const [r, n] = e.split(g_);
|
|
3544
3544
|
if (!r || !n) return;
|
|
@@ -3546,7 +3546,7 @@ var gi = BP(function(e, t, r) {
|
|
|
3546
3546
|
return b_(t).find((a) => {
|
|
3547
3547
|
if (!xo(a) || !a.dateFormat) return !1;
|
|
3548
3548
|
const s = ao(i, a.dateFormat, /* @__PURE__ */ new Date()), l = ao(o, a.dateFormat, /* @__PURE__ */ new Date());
|
|
3549
|
-
if (!
|
|
3549
|
+
if (!kt(s) || !kt(l)) return !1;
|
|
3550
3550
|
const c = new wx(), u = c.incrementYearIfNeeded(s), d = c.incrementYearIfNeeded(l), f = Lb(d, u);
|
|
3551
3551
|
return AC(new Date(u.getFullYear(), h_, m_), {
|
|
3552
3552
|
start: u,
|
|
@@ -3586,7 +3586,7 @@ var gi = BP(function(e, t, r) {
|
|
|
3586
3586
|
}, x_ = (e) => {
|
|
3587
3587
|
const t = Number(e);
|
|
3588
3588
|
if (!t_(t)) return !1;
|
|
3589
|
-
const r = new Date(t), n = /* @__PURE__ */ new Date(t * 1e3), i = (o) =>
|
|
3589
|
+
const r = new Date(t), n = /* @__PURE__ */ new Date(t * 1e3), i = (o) => kt(o) && o.getFullYear() >= Mx && o.getFullYear() <= Ex;
|
|
3590
3590
|
return i(r) || i(n);
|
|
3591
3591
|
}, Ix = {
|
|
3592
3592
|
$: "usd",
|
|
@@ -3672,18 +3672,18 @@ var gi = BP(function(e, t, r) {
|
|
|
3672
3672
|
throw new de({ message: `Unhandled value format: ${t.type}` });
|
|
3673
3673
|
}
|
|
3674
3674
|
}, Ox = (e, t, r) => {
|
|
3675
|
-
if (e instanceof Date) return
|
|
3675
|
+
if (e instanceof Date) return kt(e) ? e : null;
|
|
3676
3676
|
const n = ka(String(e).trim());
|
|
3677
3677
|
if (n.length === 0) return null;
|
|
3678
3678
|
const i = /* @__PURE__ */ new Date();
|
|
3679
3679
|
if (t) {
|
|
3680
3680
|
const a = ao(n, t, i);
|
|
3681
|
-
return
|
|
3681
|
+
return kt(a) ? Qc(a) : null;
|
|
3682
3682
|
}
|
|
3683
3683
|
for (const a of Px(r)) {
|
|
3684
3684
|
if (!xo(a) || !a.dateFormat) continue;
|
|
3685
3685
|
const s = ao(n, a.dateFormat, i);
|
|
3686
|
-
if (
|
|
3686
|
+
if (kt(s)) return Qc(s);
|
|
3687
3687
|
}
|
|
3688
3688
|
const o = new Date(n);
|
|
3689
3689
|
return kx(o) ? rc(n) ? o : Qc(o) : null;
|
|
@@ -3858,7 +3858,7 @@ var ic = !0, R_ = (e) => {
|
|
|
3858
3858
|
key(e) {
|
|
3859
3859
|
return this.singletonKey;
|
|
3860
3860
|
}
|
|
3861
|
-
}, Fe = (e) => (Array.isArray(e) ? e : [e]).map((t) => t instanceof Date ? t.toISOString() : String(t ?? "<null>")).join("\0"),
|
|
3861
|
+
}, Fe = (e) => (Array.isArray(e) ? e : [e]).map((t) => t instanceof Date ? t.toISOString() : String(t ?? "<null>")).join("\0"), wt = (e, t) => e === t ? !0 : Vt(e) && Vt(t) ? e.getTime() === t.getTime() : !1, D_ = (e, t) => {
|
|
3862
3862
|
if (!Vf(e)) return e;
|
|
3863
3863
|
const r = t[e.byVariable];
|
|
3864
3864
|
return r === void 0 ? e.fallback : e.cases[Fe(r)] ?? e.fallback;
|
|
@@ -3954,7 +3954,7 @@ function jx(e, t) {
|
|
|
3954
3954
|
}
|
|
3955
3955
|
var V_ = (e) => {
|
|
3956
3956
|
const t = Lf(e), r = qb(e), n = Qb(e);
|
|
3957
|
-
return (i, o) => !
|
|
3957
|
+
return (i, o) => !wt(i[t] ?? null, o.anchorValue) || !(r === null || o.crossValue === void 0 || wt(r(i), o.crossValue)) ? !1 : !n || o.groupValue === void 0 ? !0 : wt(Hr(i), o.groupValue);
|
|
3958
3958
|
}, H_ = (e) => {
|
|
3959
3959
|
const t = q(e.mapping.y), r = qa(e);
|
|
3960
3960
|
return (n, i) => t !== null && i === t ? r(n) : n[i] ?? null;
|
|
@@ -4032,13 +4032,13 @@ function j_(e, t) {
|
|
|
4032
4032
|
const r = oa(t.getValueFormat(e.variable)), n = (i) => Xs(i, r, t.parsingLocale);
|
|
4033
4033
|
if ("eq" in e) {
|
|
4034
4034
|
const i = n(e.eq);
|
|
4035
|
-
return (o) =>
|
|
4035
|
+
return (o) => wt(t.readValue(o, e.variable), i);
|
|
4036
4036
|
}
|
|
4037
4037
|
if ("oneOf" in e) {
|
|
4038
4038
|
const i = e.oneOf.map(n);
|
|
4039
4039
|
return (o) => {
|
|
4040
4040
|
const a = t.readValue(o, e.variable);
|
|
4041
|
-
for (const s of i) if (
|
|
4041
|
+
for (const s of i) if (wt(a, s)) return !0;
|
|
4042
4042
|
return !1;
|
|
4043
4043
|
};
|
|
4044
4044
|
}
|
|
@@ -4951,7 +4951,7 @@ var AL = "value", sa = {
|
|
|
4951
4951
|
case "categorical":
|
|
4952
4952
|
return r.map((n) => typeof n != "string" ? null : n);
|
|
4953
4953
|
case "temporal":
|
|
4954
|
-
return r.map((n) => !(n instanceof Date) || !
|
|
4954
|
+
return r.map((n) => !(n instanceof Date) || !kt(n) ? null : n);
|
|
4955
4955
|
default:
|
|
4956
4956
|
throw new de({ message: `Cannot normalize raw value of unknown type: ${t}` });
|
|
4957
4957
|
}
|
|
@@ -5452,7 +5452,7 @@ function vi(e) {
|
|
|
5452
5452
|
function rw(e, t) {
|
|
5453
5453
|
return e === "y" ? vi(t) : "x";
|
|
5454
5454
|
}
|
|
5455
|
-
function
|
|
5455
|
+
function Qe(e) {
|
|
5456
5456
|
return e === "ySecondary" ? "y" : e;
|
|
5457
5457
|
}
|
|
5458
5458
|
var es = (e, t) => {
|
|
@@ -5490,7 +5490,7 @@ var es = (e, t) => {
|
|
|
5490
5490
|
return n === null ? {} : (e?.columns ?? []).some((i) => i.key === n) ? {} : r;
|
|
5491
5491
|
};
|
|
5492
5492
|
function ri(e, t) {
|
|
5493
|
-
const r =
|
|
5493
|
+
const r = Qe(t);
|
|
5494
5494
|
for (const n of nw(t, e)) {
|
|
5495
5495
|
const i = q(n.mapping[r]);
|
|
5496
5496
|
if (U(i)) return i;
|
|
@@ -6549,7 +6549,7 @@ function bN(e) {
|
|
|
6549
6549
|
return n;
|
|
6550
6550
|
}
|
|
6551
6551
|
function xN(e, t) {
|
|
6552
|
-
const r =
|
|
6552
|
+
const r = Qe(e);
|
|
6553
6553
|
return t.some((n) => U(n.mapping[r]));
|
|
6554
6554
|
}
|
|
6555
6555
|
function wN(e, t, r) {
|
|
@@ -6562,7 +6562,7 @@ function wN(e, t, r) {
|
|
|
6562
6562
|
});
|
|
6563
6563
|
}
|
|
6564
6564
|
function AN(e, t) {
|
|
6565
|
-
const r =
|
|
6565
|
+
const r = Qe(e);
|
|
6566
6566
|
return t.filter((n) => U(n.mapping[r])).length > 1;
|
|
6567
6567
|
}
|
|
6568
6568
|
function SN(e) {
|
|
@@ -6585,7 +6585,7 @@ function TN(e, t, r) {
|
|
|
6585
6585
|
e[t] = r;
|
|
6586
6586
|
}
|
|
6587
6587
|
function MN({ group: e, variableLabels: t, layers: r, colorGroupsByValue: n }) {
|
|
6588
|
-
const i = e[0], o = e.map((l) =>
|
|
6588
|
+
const i = e[0], o = e.map((l) => Qe(l.scaleAestheticKey)), a = hw({
|
|
6589
6589
|
scale: i.scale,
|
|
6590
6590
|
aesthetics: o,
|
|
6591
6591
|
layers: r
|
|
@@ -6650,7 +6650,7 @@ function IN(e, t, r, n, i) {
|
|
|
6650
6650
|
let o = !1, a = !1, s = !1;
|
|
6651
6651
|
for (const c of n) {
|
|
6652
6652
|
const { sidePlacement: u } = e.get(c.geom).legend;
|
|
6653
|
-
u === "whenCrowded" && (o = !0), u === "whenStackedVertical" && (a = !0,
|
|
6653
|
+
u === "whenCrowded" && (o = !0), u === "whenStackedVertical" && (a = !0, Pt(c.position) && (s = !0));
|
|
6654
6654
|
}
|
|
6655
6655
|
const l = r >= mN;
|
|
6656
6656
|
return o && a ? "top" : o ? l ? "right" : "top" : s ? LN(i) ? "top" : l ? "right" : "top" : "top";
|
|
@@ -6680,7 +6680,7 @@ function ON(e) {
|
|
|
6680
6680
|
if (!n) return;
|
|
6681
6681
|
const i = Hr(n);
|
|
6682
6682
|
if (!U(i)) return;
|
|
6683
|
-
const o =
|
|
6683
|
+
const o = Tt(n), a = ot(n) ?? Se(n);
|
|
6684
6684
|
if (!U(a)) return;
|
|
6685
6685
|
const s = U(o) ? (o + a) / 2 : a;
|
|
6686
6686
|
t.set(String(i), s);
|
|
@@ -7369,20 +7369,20 @@ var JN = /* @__PURE__ */ new Set(["label", "group"]), ZN = class {
|
|
|
7369
7369
|
"cartesian",
|
|
7370
7370
|
"polar",
|
|
7371
7371
|
"flip"
|
|
7372
|
-
], this.spatialKind = "rects", this.resolveDataLabelDefaults = (t) =>
|
|
7372
|
+
], this.spatialKind = "rects", this.resolveDataLabelDefaults = (t) => Pt(t) ? { justify: "center" } : {}, this.resolveBandFraction = (t, r) => rp(t, r.type), this.resolveAnchorPosition = (t, { coordSystem: r, position: n, purpose: i, align: o }) => {
|
|
7373
7373
|
if (o !== void 0) {
|
|
7374
7374
|
const d = zb(t, r);
|
|
7375
7375
|
return d === null ? null : Xa(d, o);
|
|
7376
7376
|
}
|
|
7377
7377
|
if (r.type === "polar") return aO(t);
|
|
7378
|
-
const a =
|
|
7378
|
+
const a = Pt(n), s = {
|
|
7379
7379
|
isSolo: !a || Aw(t) === "solo",
|
|
7380
7380
|
isNegative: a && sO(t),
|
|
7381
7381
|
purpose: i
|
|
7382
7382
|
};
|
|
7383
7383
|
if (r.mainAxis === "x") {
|
|
7384
|
-
const d = Ht(t), f =
|
|
7385
|
-
lowerBound:
|
|
7384
|
+
const d = Ht(t), f = Ct(t), h = np({
|
|
7385
|
+
lowerBound: Tt(t),
|
|
7386
7386
|
upperBound: ot(t) ?? Se(t),
|
|
7387
7387
|
options: s
|
|
7388
7388
|
});
|
|
@@ -7391,9 +7391,9 @@ var JN = /* @__PURE__ */ new Set(["label", "group"]), ZN = class {
|
|
|
7391
7391
|
y: h
|
|
7392
7392
|
};
|
|
7393
7393
|
}
|
|
7394
|
-
const l =
|
|
7394
|
+
const l = Tt(t), c = ot(t), u = np({
|
|
7395
7395
|
lowerBound: Ht(t),
|
|
7396
|
-
upperBound:
|
|
7396
|
+
upperBound: Ct(t) ?? Me(t),
|
|
7397
7397
|
options: s
|
|
7398
7398
|
});
|
|
7399
7399
|
return l === null || c === null || u === null ? null : {
|
|
@@ -7436,7 +7436,7 @@ var JN = /* @__PURE__ */ new Set(["label", "group"]), ZN = class {
|
|
|
7436
7436
|
}), n;
|
|
7437
7437
|
}
|
|
7438
7438
|
}, rp = ({ width: e }, t) => e !== void 0 ? e : t === "polar" ? 1 : tO, aO = (e) => {
|
|
7439
|
-
const t = Ht(e), r =
|
|
7439
|
+
const t = Ht(e), r = Ct(e), n = Tt(e), i = ot(e);
|
|
7440
7440
|
return t === null || r === null || n === null || i === null ? null : Gn((t + r) / 2, (n + i) / 2);
|
|
7441
7441
|
}, sO = (e) => {
|
|
7442
7442
|
const t = jb(e);
|
|
@@ -7657,7 +7657,7 @@ var JN = /* @__PURE__ */ new Set(["label", "group"]), ZN = class {
|
|
|
7657
7657
|
hideGridX: !0,
|
|
7658
7658
|
hideGridY: !0
|
|
7659
7659
|
} }, this.legend = { suppressWhenSingleItem: !1 }, this.dataLabels = { cartesian: { showDataLabels: !0 } }, this.dataLabelCoordTypes = ["cartesian"], this.highlightStrategy = "observation-rerender", this.spatialKind = "cells", this.identityKey = "x-y", this.tooltip = [{ aes: "color" }], this.resolveValueSource = dO, this.resolveAnchorPosition = (t) => {
|
|
7660
|
-
const r = Ht(t), n =
|
|
7660
|
+
const r = Ht(t), n = Ct(t), i = Tt(t), o = ot(t);
|
|
7661
7661
|
return r === null || n === null || i === null || o === null ? null : {
|
|
7662
7662
|
x: (r + n) / 2,
|
|
7663
7663
|
y: (i + o) / 2
|
|
@@ -7900,11 +7900,11 @@ var JN = /* @__PURE__ */ new Set(["label", "group"]), ZN = class {
|
|
|
7900
7900
|
function C(k) {
|
|
7901
7901
|
for (var w = n(s(k, T, I, !0), 4), D = w[0], z = w[1], K = w[2], Z = w[3], re = D.length, oe = Math.max(2, ~~(N * re)), Q = new Float64Array(re), ae = new Float64Array(re), ie = new Float64Array(re).fill(1), le = -1; ++le <= y; ) {
|
|
7902
7902
|
for (var V = [0, oe - 1], $ = 0; $ < re; ++$) {
|
|
7903
|
-
for (var X = D[$], F = V[0], ce = V[1], te = X - D[F] > D[ce] - X ? F : ce, me = 0, pe = 0, _e = 0,
|
|
7904
|
-
var
|
|
7905
|
-
me += Ut, pe += Jt, _e += we * Ut,
|
|
7903
|
+
for (var X = D[$], F = V[0], ce = V[1], te = X - D[F] > D[ce] - X ? F : ce, me = 0, pe = 0, _e = 0, ct = 0, Le = 0, Qt = 1 / Math.abs(D[te] - X || 1), yt = F; yt <= ce; ++yt) {
|
|
7904
|
+
var bt = D[yt], we = z[yt], Ut = E(Math.abs(X - bt) * Qt) * ie[yt], Jt = bt * Ut;
|
|
7905
|
+
me += Ut, pe += Jt, _e += we * Ut, ct += we * Jt, Le += bt * Jt;
|
|
7906
7906
|
}
|
|
7907
|
-
var $m = n(h(pe / me, _e / me,
|
|
7907
|
+
var $m = n(h(pe / me, _e / me, ct / me, Le / me), 2);
|
|
7908
7908
|
Q[$] = $m[0] + $m[1] * X, ae[$] = Math.abs(z[$] - Q[$]), P(D, $ + 1, V);
|
|
7909
7909
|
}
|
|
7910
7910
|
if (le === y) break;
|
|
@@ -7978,10 +7978,10 @@ var JN = /* @__PURE__ */ new Set(["label", "group"]), ZN = class {
|
|
|
7978
7978
|
l(k, T, I, function(Ut, Jt) {
|
|
7979
7979
|
te++, ce += (Jt - ce) / te, N || (Ut < me && (me = Ut), Ut > pe && (pe = Ut));
|
|
7980
7980
|
});
|
|
7981
|
-
var _e = ae - oe * oe,
|
|
7982
|
-
return Jt = Jt - K, Le * Jt * Jt + Qt * Jt +
|
|
7983
|
-
}, we = f(me, pe,
|
|
7984
|
-
return we.a = Le, we.b = Qt - 2 * Le * K, we.c =
|
|
7981
|
+
var _e = ae - oe * oe, ct = oe * _e - Q * Q, Le = (le * oe - ie * Q) / ct, Qt = (ie * _e - le * Q) / ct, yt = -Le * oe, bt = function(Jt) {
|
|
7982
|
+
return Jt = Jt - K, Le * Jt * Jt + Qt * Jt + yt + Z;
|
|
7983
|
+
}, we = f(me, pe, bt);
|
|
7984
|
+
return we.a = Le, we.b = Qt - 2 * Le * K, we.c = yt - Qt * K + Le * K * K + Z, we.predict = bt, we.rSquared = c(k, T, I, ce, bt), we;
|
|
7985
7985
|
}
|
|
7986
7986
|
return C.domain = function(k) {
|
|
7987
7987
|
return arguments.length ? (N = k, C) : N;
|
|
@@ -8011,17 +8011,17 @@ var JN = /* @__PURE__ */ new Set(["label", "group"]), ZN = class {
|
|
|
8011
8011
|
], delete z.a, delete z.b, delete z.c, z;
|
|
8012
8012
|
}
|
|
8013
8013
|
var K = n(s(w, T, I), 4), Z = K[0], re = K[1], oe = K[2], Q = K[3], ae = Z.length, ie = [], le = [], V = N + 1, $ = 0, X = 0, F = C ? +C[0] : 1 / 0, ce = C ? +C[1] : -1 / 0;
|
|
8014
|
-
l(w, T, I, function(
|
|
8015
|
-
++X, $ += (we - $) / X, C || (
|
|
8014
|
+
l(w, T, I, function(bt, we) {
|
|
8015
|
+
++X, $ += (we - $) / X, C || (bt < F && (F = bt), bt > ce && (ce = bt));
|
|
8016
8016
|
});
|
|
8017
|
-
var te, me, pe, _e,
|
|
8017
|
+
var te, me, pe, _e, ct;
|
|
8018
8018
|
for (te = 0; te < V; ++te) {
|
|
8019
8019
|
for (pe = 0, _e = 0; pe < ae; ++pe) _e += Math.pow(Z[pe], te) * re[pe];
|
|
8020
|
-
for (ie.push(_e),
|
|
8020
|
+
for (ie.push(_e), ct = new Float64Array(V), me = 0; me < V; ++me) {
|
|
8021
8021
|
for (pe = 0, _e = 0; pe < ae; ++pe) _e += Math.pow(Z[pe], te + me);
|
|
8022
|
-
|
|
8022
|
+
ct[me] = _e;
|
|
8023
8023
|
}
|
|
8024
|
-
le.push(
|
|
8024
|
+
le.push(ct);
|
|
8025
8025
|
}
|
|
8026
8026
|
le.push(ie);
|
|
8027
8027
|
var Le = R(le), Qt = function(we) {
|
|
@@ -8029,8 +8029,8 @@ var JN = /* @__PURE__ */ new Set(["label", "group"]), ZN = class {
|
|
|
8029
8029
|
var Ut = Q + Le[0] + Le[1] * we + Le[2] * we * we;
|
|
8030
8030
|
for (te = 3; te < V; ++te) Ut += Le[te] * Math.pow(we, te);
|
|
8031
8031
|
return Ut;
|
|
8032
|
-
},
|
|
8033
|
-
return
|
|
8032
|
+
}, yt = f(F, ce, Qt);
|
|
8033
|
+
return yt.coefficients = L(V, Le, -oe, Q), yt.predict = Qt, yt.rSquared = c(w, T, I, $, Qt), yt;
|
|
8034
8034
|
}
|
|
8035
8035
|
return k.domain = function(w) {
|
|
8036
8036
|
return arguments.length ? (C = w, k) : C;
|
|
@@ -8756,35 +8756,35 @@ function cp() {
|
|
|
8756
8756
|
}
|
|
8757
8757
|
function _a(e) {
|
|
8758
8758
|
var t, r;
|
|
8759
|
-
return e = (e + "").trim().toLowerCase(), (t = UO.exec(e)) ? (r = t[1].length, t = parseInt(t[1], 16), r === 6 ? up(t) : r === 3 ? new
|
|
8759
|
+
return e = (e + "").trim().toLowerCase(), (t = UO.exec(e)) ? (r = t[1].length, t = parseInt(t[1], 16), r === 6 ? up(t) : r === 3 ? new pt(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : r === 8 ? Ss(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : r === 4 ? Ss(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = GO.exec(e)) ? new pt(t[1], t[2], t[3], 1) : (t = jO.exec(e)) ? new pt(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = zO.exec(e)) ? Ss(t[1], t[2], t[3], t[4]) : (t = $O.exec(e)) ? Ss(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = YO.exec(e)) ? hp(t[1], t[2] / 100, t[3] / 100, 1) : (t = KO.exec(e)) ? hp(t[1], t[2] / 100, t[3] / 100, t[4]) : sp.hasOwnProperty(e) ? up(sp[e]) : e === "transparent" ? new pt(NaN, NaN, NaN, 0) : null;
|
|
8760
8760
|
}
|
|
8761
8761
|
function up(e) {
|
|
8762
|
-
return new
|
|
8762
|
+
return new pt(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
|
|
8763
8763
|
}
|
|
8764
8764
|
function Ss(e, t, r, n) {
|
|
8765
|
-
return n <= 0 && (e = t = r = NaN), new
|
|
8765
|
+
return n <= 0 && (e = t = r = NaN), new pt(e, t, r, n);
|
|
8766
8766
|
}
|
|
8767
8767
|
function Rw(e) {
|
|
8768
|
-
return e instanceof xi || (e = _a(e)), e ? (e = e.rgb(), new
|
|
8768
|
+
return e instanceof xi || (e = _a(e)), e ? (e = e.rgb(), new pt(e.r, e.g, e.b, e.opacity)) : new pt();
|
|
8769
8769
|
}
|
|
8770
8770
|
function wl(e, t, r, n) {
|
|
8771
|
-
return arguments.length === 1 ? Rw(e) : new
|
|
8771
|
+
return arguments.length === 1 ? Rw(e) : new pt(e, t, r, n ?? 1);
|
|
8772
8772
|
}
|
|
8773
|
-
function
|
|
8773
|
+
function pt(e, t, r, n) {
|
|
8774
8774
|
this.r = +e, this.g = +t, this.b = +r, this.opacity = +n;
|
|
8775
8775
|
}
|
|
8776
|
-
ts(
|
|
8776
|
+
ts(pt, wl, mc(xi, {
|
|
8777
8777
|
brighter(e) {
|
|
8778
|
-
return e = e == null ? xl : Math.pow(xl, e), new
|
|
8778
|
+
return e = e == null ? xl : Math.pow(xl, e), new pt(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
8779
8779
|
},
|
|
8780
8780
|
darker(e) {
|
|
8781
|
-
return e = e == null ? Ra : Math.pow(Ra, e), new
|
|
8781
|
+
return e = e == null ? Ra : Math.pow(Ra, e), new pt(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
8782
8782
|
},
|
|
8783
8783
|
rgb() {
|
|
8784
8784
|
return this;
|
|
8785
8785
|
},
|
|
8786
8786
|
clamp() {
|
|
8787
|
-
return new
|
|
8787
|
+
return new pt(Qn(this.r), Qn(this.g), Qn(this.b), Al(this.opacity));
|
|
8788
8788
|
},
|
|
8789
8789
|
displayable() {
|
|
8790
8790
|
return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
@@ -8840,7 +8840,7 @@ ts(ir, bd, mc(xi, {
|
|
|
8840
8840
|
},
|
|
8841
8841
|
rgb() {
|
|
8842
8842
|
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, r = this.l, n = r + (r < 0.5 ? r : 1 - r) * t, i = 2 * r - n;
|
|
8843
|
-
return new
|
|
8843
|
+
return new pt(au(e >= 240 ? e - 240 : e + 120, i, n), au(e, i, n), au(e < 120 ? e + 240 : e - 120, i, n), this.opacity);
|
|
8844
8844
|
},
|
|
8845
8845
|
clamp() {
|
|
8846
8846
|
return new ir(mp(this.h), Ts(this.s), Ts(this.l), Al(this.opacity));
|
|
@@ -8866,7 +8866,7 @@ var JO = Math.PI / 180, ZO = 180 / Math.PI, Sl = 18, _w = 0.96422, Lw = 1, Dw =
|
|
|
8866
8866
|
function Fw(e) {
|
|
8867
8867
|
if (e instanceof Rr) return new Rr(e.l, e.a, e.b, e.opacity);
|
|
8868
8868
|
if (e instanceof Kr) return Bw(e);
|
|
8869
|
-
e instanceof
|
|
8869
|
+
e instanceof pt || (e = Rw(e));
|
|
8870
8870
|
var t = uu(e.r), r = uu(e.g), n = uu(e.b), i = su((0.2225045 * t + 0.7168786 * r + 0.0606169 * n) / Lw), o, a;
|
|
8871
8871
|
return t === r && r === n ? o = a = i : (o = su((0.4360747 * t + 0.3850649 * r + 0.1430804 * n) / _w), a = su((0.0139322 * t + 0.0971045 * r + 0.7141733 * n) / Dw)), new Rr(116 * i - 16, 500 * (o - i), 200 * (i - a), e.opacity);
|
|
8872
8872
|
}
|
|
@@ -8885,7 +8885,7 @@ ts(Rr, xd, mc(xi, {
|
|
|
8885
8885
|
},
|
|
8886
8886
|
rgb() {
|
|
8887
8887
|
var e = (this.l + 16) / 116, t = isNaN(this.a) ? e : e + this.a / 500, r = isNaN(this.b) ? e : e - this.b / 200;
|
|
8888
|
-
return t = _w * lu(t), e = Lw * lu(e), r = Dw * lu(r), new
|
|
8888
|
+
return t = _w * lu(t), e = Lw * lu(e), r = Dw * lu(r), new pt(cu(3.1338561 * t - 1.6168667 * e - 0.4906146 * r), cu(-0.9787684 * t + 1.9161415 * e + 0.033454 * r), cu(0.0719453 * t - 0.2289914 * e + 1.4052427 * r), this.opacity);
|
|
8889
8889
|
}
|
|
8890
8890
|
}));
|
|
8891
8891
|
function su(e) {
|
|
@@ -8962,18 +8962,18 @@ function Ww(e, t) {
|
|
|
8962
8962
|
return r ? Hw(e, r > 180 || r < -180 ? r - 360 * Math.round(r / 360) : r) : gc(isNaN(e) ? t : e);
|
|
8963
8963
|
}
|
|
8964
8964
|
function o5(e) {
|
|
8965
|
-
return (e = +e) == 1 ?
|
|
8965
|
+
return (e = +e) == 1 ? Et : function(t, r) {
|
|
8966
8966
|
return r - t ? i5(t, r, e) : gc(isNaN(t) ? r : t);
|
|
8967
8967
|
};
|
|
8968
8968
|
}
|
|
8969
|
-
function
|
|
8969
|
+
function Et(e, t) {
|
|
8970
8970
|
var r = t - e;
|
|
8971
8971
|
return r ? Hw(e, r) : gc(isNaN(e) ? t : e);
|
|
8972
8972
|
}
|
|
8973
8973
|
var Ad = (function e(t) {
|
|
8974
8974
|
var r = o5(t);
|
|
8975
8975
|
function n(i, o) {
|
|
8976
|
-
var a = r((i = wl(i)).r, (o = wl(o)).r), s = r(i.g, o.g), l = r(i.b, o.b), c =
|
|
8976
|
+
var a = r((i = wl(i)).r, (o = wl(o)).r), s = r(i.g, o.g), l = r(i.b, o.b), c = Et(i.opacity, o.opacity);
|
|
8977
8977
|
return function(u) {
|
|
8978
8978
|
return i.r = a(u), i.g = s(u), i.b = l(u), i.opacity = c(u), i + "";
|
|
8979
8979
|
};
|
|
@@ -9065,28 +9065,28 @@ function g5(e, t) {
|
|
|
9065
9065
|
}
|
|
9066
9066
|
function Gw(e) {
|
|
9067
9067
|
return function(t, r) {
|
|
9068
|
-
var n = e((t = bd(t)).h, (r = bd(r)).h), i =
|
|
9068
|
+
var n = e((t = bd(t)).h, (r = bd(r)).h), i = Et(t.s, r.s), o = Et(t.l, r.l), a = Et(t.opacity, r.opacity);
|
|
9069
9069
|
return function(s) {
|
|
9070
9070
|
return t.h = n(s), t.s = i(s), t.l = o(s), t.opacity = a(s), t + "";
|
|
9071
9071
|
};
|
|
9072
9072
|
};
|
|
9073
9073
|
}
|
|
9074
|
-
var p5 = Gw(Ww), xae = Gw(
|
|
9074
|
+
var p5 = Gw(Ww), xae = Gw(Et);
|
|
9075
9075
|
function v5(e, t) {
|
|
9076
|
-
var r =
|
|
9076
|
+
var r = Et((e = xd(e)).l, (t = xd(t)).l), n = Et(e.a, t.a), i = Et(e.b, t.b), o = Et(e.opacity, t.opacity);
|
|
9077
9077
|
return function(a) {
|
|
9078
9078
|
return e.l = r(a), e.a = n(a), e.b = i(a), e.opacity = o(a), e + "";
|
|
9079
9079
|
};
|
|
9080
9080
|
}
|
|
9081
9081
|
function jw(e) {
|
|
9082
9082
|
return function(t, r) {
|
|
9083
|
-
var n = e((t = wd(t)).h, (r = wd(r)).h), i =
|
|
9083
|
+
var n = e((t = wd(t)).h, (r = wd(r)).h), i = Et(t.c, r.c), o = Et(t.l, r.l), a = Et(t.opacity, r.opacity);
|
|
9084
9084
|
return function(s) {
|
|
9085
9085
|
return t.h = n(s), t.c = i(s), t.l = o(s), t.opacity = a(s), t + "";
|
|
9086
9086
|
};
|
|
9087
9087
|
};
|
|
9088
9088
|
}
|
|
9089
|
-
var y5 = jw(Ww), wae = jw(
|
|
9089
|
+
var y5 = jw(Ww), wae = jw(Et);
|
|
9090
9090
|
function gp(e, t) {
|
|
9091
9091
|
t === void 0 && (t = e, e = pc);
|
|
9092
9092
|
for (var r = 0, n = t.length - 1, i = t[0], o = new Array(n < 0 ? 0 : n); r < n; ) o[r] = e(i, i = t[++r]);
|
|
@@ -9639,8 +9639,8 @@ function $5(e) {
|
|
|
9639
9639
|
S.x = A(r, S), S.X = A(n, S), S.c = A(t, S), E.x = A(r, E), E.X = A(n, E), E.c = A(t, E);
|
|
9640
9640
|
function A(V, $) {
|
|
9641
9641
|
return function(X) {
|
|
9642
|
-
var F = [], ce = -1, te = 0, me = V.length, pe, _e,
|
|
9643
|
-
for (X instanceof Date || (X = /* @__PURE__ */ new Date(+X)); ++ce < me; ) V.charCodeAt(ce) === 37 && (F.push(V.slice(te, ce)), (_e = Ep[pe = V.charAt(++ce)]) != null ? pe = V.charAt(++ce) : _e = pe === "e" ? " " : "0", (
|
|
9642
|
+
var F = [], ce = -1, te = 0, me = V.length, pe, _e, ct;
|
|
9643
|
+
for (X instanceof Date || (X = /* @__PURE__ */ new Date(+X)); ++ce < me; ) V.charCodeAt(ce) === 37 && (F.push(V.slice(te, ce)), (_e = Ep[pe = V.charAt(++ce)]) != null ? pe = V.charAt(++ce) : _e = pe === "e" ? " " : "0", (ct = $[pe]) && (pe = ct(X, _e)), F.push(pe), te = ce + 1);
|
|
9644
9644
|
return F.push(V.slice(te, ce)), F.join("");
|
|
9645
9645
|
};
|
|
9646
9646
|
}
|
|
@@ -10390,7 +10390,7 @@ var vB = class extends pi {
|
|
|
10390
10390
|
validateScaleTypeCompatibility(e) {
|
|
10391
10391
|
const t = [];
|
|
10392
10392
|
for (const r of e.scales) {
|
|
10393
|
-
const { compatibleDataTypes: n } = this.registry.get(r.scaleType), i =
|
|
10393
|
+
const { compatibleDataTypes: n } = this.registry.get(r.scaleType), i = Qe(r.scaledAesthetic), o = e.layers.find((l) => U(l.mapping[i]));
|
|
10394
10394
|
if (!o) continue;
|
|
10395
10395
|
const a = q(o.mapping[i]);
|
|
10396
10396
|
if (!U(a) || !o.data.hasVariable(a)) continue;
|
|
@@ -10457,11 +10457,11 @@ var vB = class extends pi {
|
|
|
10457
10457
|
n.set(r, o ? o.concat(i) : i);
|
|
10458
10458
|
}
|
|
10459
10459
|
};
|
|
10460
|
-
function
|
|
10460
|
+
function Rt(e) {
|
|
10461
10461
|
for (var t = e.length / 6 | 0, r = new Array(t), n = 0; n < t; ) r[n] = "#" + e.slice(n * 6, ++n * 6);
|
|
10462
10462
|
return r;
|
|
10463
10463
|
}
|
|
10464
|
-
var Wr = (e) => a5(e[e.length - 1]), bB = new Array(3).concat("d8b365f5f5f55ab4ac", "a6611adfc27d80cdc1018571", "a6611adfc27df5f5f580cdc1018571", "8c510ad8b365f6e8c3c7eae55ab4ac01665e", "8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e", "8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e", "8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e", "5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30", "5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(
|
|
10464
|
+
var Wr = (e) => a5(e[e.length - 1]), bB = new Array(3).concat("d8b365f5f5f55ab4ac", "a6611adfc27d80cdc1018571", "a6611adfc27df5f5f580cdc1018571", "8c510ad8b365f6e8c3c7eae55ab4ac01665e", "8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e", "8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e", "8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e", "5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30", "5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Rt), xB = Wr(bB), wB = new Array(3).concat("998ec3f7f7f7f1a340", "5e3c99b2abd2fdb863e66101", "5e3c99b2abd2f7f7f7fdb863e66101", "542788998ec3d8daebfee0b6f1a340b35806", "542788998ec3d8daebf7f7f7fee0b6f1a340b35806", "5427888073acb2abd2d8daebfee0b6fdb863e08214b35806", "5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806", "2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08", "2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Rt), AB = Wr(wB), SB = new Array(3).concat("ef8a62f7f7f767a9cf", "ca0020f4a58292c5de0571b0", "ca0020f4a582f7f7f792c5de0571b0", "b2182bef8a62fddbc7d1e5f067a9cf2166ac", "b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac", "b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac", "b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac", "67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061", "67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Rt), TB = Wr(SB), MB = new Array(3).concat("fc8d59ffffbf99d594", "d7191cfdae61abdda42b83ba", "d7191cfdae61ffffbfabdda42b83ba", "d53e4ffc8d59fee08be6f59899d5943288bd", "d53e4ffc8d59fee08bffffbfe6f59899d5943288bd", "d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd", "d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd", "9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2", "9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Rt), EB = Wr(MB), kB = new Array(3).concat("deebf79ecae13182bd", "eff3ffbdd7e76baed62171b5", "eff3ffbdd7e76baed63182bd08519c", "eff3ffc6dbef9ecae16baed63182bd08519c", "eff3ffc6dbef9ecae16baed64292c62171b5084594", "f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594", "f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Rt), CB = Wr(kB), PB = new Array(3).concat("e5f5e0a1d99b31a354", "edf8e9bae4b374c476238b45", "edf8e9bae4b374c47631a354006d2c", "edf8e9c7e9c0a1d99b74c47631a354006d2c", "edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32", "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32", "f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Rt), RB = Wr(PB), IB = new Array(3).concat("f0f0f0bdbdbd636363", "f7f7f7cccccc969696525252", "f7f7f7cccccc969696636363252525", "f7f7f7d9d9d9bdbdbd969696636363252525", "f7f7f7d9d9d9bdbdbd969696737373525252252525", "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525", "fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Rt), _B = Wr(IB), LB = new Array(3).concat("efedf5bcbddc756bb1", "f2f0f7cbc9e29e9ac86a51a3", "f2f0f7cbc9e29e9ac8756bb154278f", "f2f0f7dadaebbcbddc9e9ac8756bb154278f", "f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486", "fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486", "fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Rt), DB = Wr(LB), NB = new Array(3).concat("fee0d2fc9272de2d26", "fee5d9fcae91fb6a4acb181d", "fee5d9fcae91fb6a4ade2d26a50f15", "fee5d9fcbba1fc9272fb6a4ade2d26a50f15", "fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d", "fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d", "fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Rt), OB = Wr(NB), FB = new Array(3).concat("fee6cefdae6be6550d", "feeddefdbe85fd8d3cd94701", "feeddefdbe85fd8d3ce6550da63603", "feeddefdd0a2fdae6bfd8d3ce6550da63603", "feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04", "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04", "fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Rt), BB = Wr(FB);
|
|
10465
10465
|
function VB(e) {
|
|
10466
10466
|
return e = Math.max(0, Math.min(1, e)), "rgb(" + Math.max(0, Math.min(255, Math.round(-4.54 - e * (35.34 - e * (2381.73 - e * (6402.7 - e * (7024.72 - e * 2710.57))))))) + ", " + Math.max(0, Math.min(255, Math.round(32.49 + e * (170.73 + e * (52.82 - e * (131.46 - e * (176.58 - e * 67.37))))))) + ", " + Math.max(0, Math.min(255, Math.round(81.24 + e * (442.36 - e * (2482.43 - e * (6167.24 - e * (6614.94 - e * 2475.67))))))) + ")";
|
|
10467
10467
|
}
|
|
@@ -10474,7 +10474,7 @@ function bc(e) {
|
|
|
10474
10474
|
return e[Math.max(0, Math.min(t - 1, Math.floor(r * t)))];
|
|
10475
10475
|
};
|
|
10476
10476
|
}
|
|
10477
|
-
var WB = bc(
|
|
10477
|
+
var WB = bc(Rt("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")), UB = bc(Rt("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")), GB = bc(Rt("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")), jB = bc(Rt("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")), zB = [
|
|
10478
10478
|
"RdBu",
|
|
10479
10479
|
"BrBG",
|
|
10480
10480
|
"PuOr",
|
|
@@ -10841,7 +10841,7 @@ var rs = class {
|
|
|
10841
10841
|
createPositionScale(e, t) {
|
|
10842
10842
|
return {
|
|
10843
10843
|
kind: "position",
|
|
10844
|
-
aesthetic:
|
|
10844
|
+
aesthetic: Qe(e.scaledAesthetic),
|
|
10845
10845
|
spec: e,
|
|
10846
10846
|
...t
|
|
10847
10847
|
};
|
|
@@ -10849,7 +10849,7 @@ var rs = class {
|
|
|
10849
10849
|
createVisualScale(e, t) {
|
|
10850
10850
|
return {
|
|
10851
10851
|
kind: "visual",
|
|
10852
|
-
aesthetic:
|
|
10852
|
+
aesthetic: Qe(e.scaledAesthetic),
|
|
10853
10853
|
spec: e,
|
|
10854
10854
|
...t
|
|
10855
10855
|
};
|
|
@@ -10876,7 +10876,7 @@ var rs = class {
|
|
|
10876
10876
|
code: "INCOMPATIBLE_SCALE_DOMAIN",
|
|
10877
10877
|
message: `Log scale on '${r.scaledAesthetic}' needs a strictly positive or negative domain, but the domain is [${e[0]}, ${e[1]}] — rendering a linear scale instead.`,
|
|
10878
10878
|
context: {
|
|
10879
|
-
aesthetic:
|
|
10879
|
+
aesthetic: Qe(r.scaledAesthetic),
|
|
10880
10880
|
scaleType: r.scaleType,
|
|
10881
10881
|
actual: e
|
|
10882
10882
|
},
|
|
@@ -11056,7 +11056,7 @@ var l3 = class extends rs {
|
|
|
11056
11056
|
if (e.scaleType !== "identity") throw new de({ message: "IdentityScale.compile received non-identity spec" });
|
|
11057
11057
|
return {
|
|
11058
11058
|
kind: "identity",
|
|
11059
|
-
aesthetic:
|
|
11059
|
+
aesthetic: Qe(e.scaledAesthetic),
|
|
11060
11060
|
spec: e,
|
|
11061
11061
|
map: (t) => t,
|
|
11062
11062
|
domain: [],
|
|
@@ -11692,7 +11692,7 @@ var q3 = (e, t, r, n) => n.label !== void 0 ? n.label : Gx({
|
|
|
11692
11692
|
});
|
|
11693
11693
|
return;
|
|
11694
11694
|
}
|
|
11695
|
-
i.showDataLabels && i.position === "outside" && o &&
|
|
11695
|
+
i.showDataLabels && i.position === "outside" && o && Pt(n) && e.addWarning({
|
|
11696
11696
|
code: "DATA_LABEL_PLACEMENT_COERCED",
|
|
11697
11697
|
message: "Stacked bar segments only place data labels inside; position 'outside' will render as 'inside'.",
|
|
11698
11698
|
context: {
|
|
@@ -11723,7 +11723,7 @@ var q3 = (e, t, r, n) => n.label !== void 0 ? n.label : Gx({
|
|
|
11723
11723
|
...e,
|
|
11724
11724
|
justify: l
|
|
11725
11725
|
};
|
|
11726
|
-
}, eV = (e, t, r) => r === "polar" ? "Panel-edge anchors do not apply under polar coords" : e.type === "bar" &&
|
|
11726
|
+
}, eV = (e, t, r) => r === "polar" ? "Panel-edge anchors do not apply under polar coords" : e.type === "bar" && Pt(t) ? "Stacked bar segments would all pin their labels to the same panel edge" : null, tV = (e, t, r, n, i) => {
|
|
11727
11727
|
const o = {
|
|
11728
11728
|
...t,
|
|
11729
11729
|
...r.mapping
|
|
@@ -11733,7 +11733,7 @@ var q3 = (e, t, r, n) => n.label !== void 0 ? n.label : Gx({
|
|
|
11733
11733
|
labelSource: a
|
|
11734
11734
|
};
|
|
11735
11735
|
};
|
|
11736
|
-
function
|
|
11736
|
+
function gt(e, t = {}) {
|
|
11737
11737
|
const r = t;
|
|
11738
11738
|
return {
|
|
11739
11739
|
type: "scale",
|
|
@@ -11925,7 +11925,7 @@ function sV(e, t) {
|
|
|
11925
11925
|
code: "UNSUPPORTED_SCALE_TYPE",
|
|
11926
11926
|
message: `A geom drawn on '${t.scaledAesthetic}' needs it to be a band scale, but the spec declares a '${t.scaleType}' one; the band wins.`,
|
|
11927
11927
|
context: {
|
|
11928
|
-
aesthetic:
|
|
11928
|
+
aesthetic: Qe(t.scaledAesthetic),
|
|
11929
11929
|
scaleType: t.scaleType
|
|
11930
11930
|
},
|
|
11931
11931
|
suggestion: `Declare '${t.scaledAesthetic}' as a discrete scale, or omit it and let the geom's band be inferred.`
|
|
@@ -11935,19 +11935,19 @@ function lV(e, t) {
|
|
|
11935
11935
|
return e === t?.discreteCrossAxis ? !0 : la.reverse;
|
|
11936
11936
|
}
|
|
11937
11937
|
function cV({ data: e, layers: t, mapping: r, demands: n }, i) {
|
|
11938
|
-
const o =
|
|
11938
|
+
const o = Qe(i.scaledAesthetic), a = i.scaledAesthetic === "ySecondary" ? dV(t, r) : r[o];
|
|
11939
11939
|
if (i.scaledAesthetic === n.discreteAxis || i.scaledAesthetic === n.discreteCrossAxis) return jt(i.scaledAesthetic, i.options);
|
|
11940
11940
|
const s = n.zeroAxes[i.scaledAesthetic];
|
|
11941
11941
|
if (s !== void 0) {
|
|
11942
11942
|
const d = i.options;
|
|
11943
|
-
return
|
|
11943
|
+
return gt(i.scaledAesthetic, {
|
|
11944
11944
|
...d,
|
|
11945
11945
|
zero: !0,
|
|
11946
11946
|
...!s.nice && { nice: !1 }
|
|
11947
11947
|
});
|
|
11948
11948
|
}
|
|
11949
11949
|
const l = q(a);
|
|
11950
|
-
if (!U(l) || !e.hasVariable(l)) return
|
|
11950
|
+
if (!U(l) || !e.hasVariable(l)) return gt(i.scaledAesthetic, i.options);
|
|
11951
11951
|
const c = e.getType(l), u = c1[i.scaledAesthetic];
|
|
11952
11952
|
switch (rV[c][u]) {
|
|
11953
11953
|
case "discrete":
|
|
@@ -11957,7 +11957,7 @@ function cV({ data: e, layers: t, mapping: r, demands: n }, i) {
|
|
|
11957
11957
|
case "datetime":
|
|
11958
11958
|
return Qs(i.scaledAesthetic, i.options);
|
|
11959
11959
|
case "continuous":
|
|
11960
|
-
return
|
|
11960
|
+
return gt(i.scaledAesthetic, i.options);
|
|
11961
11961
|
default:
|
|
11962
11962
|
return Zo(i.scaledAesthetic);
|
|
11963
11963
|
}
|
|
@@ -11968,7 +11968,7 @@ function uV(e, t) {
|
|
|
11968
11968
|
code: "CONFLICTING_COLOR_RAMP",
|
|
11969
11969
|
message: `The color scale sets both a 'scheme' ('${r}') and an explicit 'range'; the range wins and the scheme is ignored.`,
|
|
11970
11970
|
context: {
|
|
11971
|
-
aesthetic:
|
|
11971
|
+
aesthetic: Qe(t.scaledAesthetic),
|
|
11972
11972
|
scaleType: t.scaleType
|
|
11973
11973
|
},
|
|
11974
11974
|
suggestion: "Set either a scheme or a range, not both."
|
|
@@ -11976,7 +11976,7 @@ function uV(e, t) {
|
|
|
11976
11976
|
code: "DIVERGING_SCHEME_WITHOUT_MIDPOINT",
|
|
11977
11977
|
message: `The color scale uses a diverging scheme ('${r}') without 'domainMid', so its neutral colour lands at the data midpoint rather than a meaningful centre.`,
|
|
11978
11978
|
context: {
|
|
11979
|
-
aesthetic:
|
|
11979
|
+
aesthetic: Qe(t.scaledAesthetic),
|
|
11980
11980
|
scaleType: t.scaleType,
|
|
11981
11981
|
actual: r
|
|
11982
11982
|
},
|
|
@@ -13945,7 +13945,7 @@ var kl = Object.freeze({
|
|
|
13945
13945
|
if (r === null || !e.data.hasVariable(H.yMin) || !e.data.hasVariable(H.yMax)) return;
|
|
13946
13946
|
const n = (s) => t === "y" ? s.xMax : s.yMax, i = (s) => t === "y" ? s.xMin : s.yMin, o = /* @__PURE__ */ new Map();
|
|
13947
13947
|
for (const s of e.data) {
|
|
13948
|
-
const l = s[r], c =
|
|
13948
|
+
const l = s[r], c = Tt(s), u = ot(s), d = Ht(s), f = Ct(s), h = jb(s);
|
|
13949
13949
|
if (!U(l) || !U(c) || !U(u) || !U(d) || !U(f) || !U(h)) continue;
|
|
13950
13950
|
const m = h >= 0;
|
|
13951
13951
|
if (Math.abs(h) === 0) continue;
|
|
@@ -14283,61 +14283,61 @@ var y4 = class {
|
|
|
14283
14283
|
})
|
|
14284
14284
|
}, w4 = {
|
|
14285
14285
|
x: Object.assign((e) => ca("x", e), {
|
|
14286
|
-
continuous: (e) =>
|
|
14286
|
+
continuous: (e) => gt("x", e),
|
|
14287
14287
|
discrete: (e) => jt("x", e),
|
|
14288
14288
|
datetime: (e) => Qs("x", e),
|
|
14289
|
-
log: (e) =>
|
|
14289
|
+
log: (e) => gt("x", {
|
|
14290
14290
|
...e,
|
|
14291
14291
|
transform: "log"
|
|
14292
14292
|
}),
|
|
14293
|
-
sqrt: (e) =>
|
|
14293
|
+
sqrt: (e) => gt("x", {
|
|
14294
14294
|
...e,
|
|
14295
14295
|
transform: "sqrt"
|
|
14296
14296
|
})
|
|
14297
14297
|
}),
|
|
14298
14298
|
y: Object.assign((e) => ca("y", e), {
|
|
14299
|
-
continuous: (e) =>
|
|
14299
|
+
continuous: (e) => gt("y", e),
|
|
14300
14300
|
discrete: (e) => jt("y", e),
|
|
14301
14301
|
datetime: (e) => Qs("y", e),
|
|
14302
|
-
log: (e) =>
|
|
14302
|
+
log: (e) => gt("y", {
|
|
14303
14303
|
...e,
|
|
14304
14304
|
transform: "log"
|
|
14305
14305
|
}),
|
|
14306
|
-
sqrt: (e) =>
|
|
14306
|
+
sqrt: (e) => gt("y", {
|
|
14307
14307
|
...e,
|
|
14308
14308
|
transform: "sqrt"
|
|
14309
14309
|
})
|
|
14310
14310
|
}),
|
|
14311
14311
|
ySecondary: Object.assign((e) => ca("ySecondary", e), {
|
|
14312
|
-
continuous: (e) =>
|
|
14312
|
+
continuous: (e) => gt("ySecondary", e),
|
|
14313
14313
|
discrete: (e) => jt("ySecondary", e),
|
|
14314
14314
|
datetime: (e) => Qs("ySecondary", e),
|
|
14315
|
-
log: (e) =>
|
|
14315
|
+
log: (e) => gt("ySecondary", {
|
|
14316
14316
|
...e,
|
|
14317
14317
|
transform: "log"
|
|
14318
14318
|
}),
|
|
14319
|
-
sqrt: (e) =>
|
|
14319
|
+
sqrt: (e) => gt("ySecondary", {
|
|
14320
14320
|
...e,
|
|
14321
14321
|
transform: "sqrt"
|
|
14322
14322
|
})
|
|
14323
14323
|
}),
|
|
14324
14324
|
color: {
|
|
14325
|
-
continuous: (e) =>
|
|
14325
|
+
continuous: (e) => gt("color", e),
|
|
14326
14326
|
discrete: (e) => jt("color", e),
|
|
14327
14327
|
palette: (e) => uh("color", e)
|
|
14328
14328
|
},
|
|
14329
14329
|
size: {
|
|
14330
|
-
continuous: (e) =>
|
|
14330
|
+
continuous: (e) => gt("size", e),
|
|
14331
14331
|
discrete: (e) => jt("size", e),
|
|
14332
14332
|
identity: (e) => Zo("size", e)
|
|
14333
14333
|
},
|
|
14334
14334
|
alpha: {
|
|
14335
|
-
continuous: (e) =>
|
|
14335
|
+
continuous: (e) => gt("alpha", e),
|
|
14336
14336
|
discrete: (e) => jt("alpha", e),
|
|
14337
14337
|
identity: (e) => Zo("alpha", e)
|
|
14338
14338
|
},
|
|
14339
14339
|
strokeWidth: {
|
|
14340
|
-
continuous: (e) =>
|
|
14340
|
+
continuous: (e) => gt("strokeWidth", e),
|
|
14341
14341
|
discrete: (e) => jt("strokeWidth", e),
|
|
14342
14342
|
identity: (e) => Zo("strokeWidth", e)
|
|
14343
14343
|
},
|
|
@@ -14625,7 +14625,7 @@ var W4 = {
|
|
|
14625
14625
|
}
|
|
14626
14626
|
return e.slice(0, o) + gu;
|
|
14627
14627
|
};
|
|
14628
|
-
var
|
|
14628
|
+
var Mt = { timeZone: "UTC" }, vt = (e) => (t) => {
|
|
14629
14629
|
if (!Vt(t)) return "–";
|
|
14630
14630
|
try {
|
|
14631
14631
|
return e(t);
|
|
@@ -15464,55 +15464,55 @@ var Tt = { timeZone: "UTC" }, pt = (e) => (t) => {
|
|
|
15464
15464
|
}, $4 = (e) => {
|
|
15465
15465
|
const t = Math.abs(e);
|
|
15466
15466
|
return t >= aa.b ? "b" : t >= aa.m ? "m" : t >= aa.k ? "k" : "none";
|
|
15467
|
-
}, Y4 = ({ locale: e, intlOptions: t }) =>
|
|
15467
|
+
}, Y4 = ({ locale: e, intlOptions: t }) => vt((r) => Intl.DateTimeFormat(e, {
|
|
15468
15468
|
dateStyle: "medium",
|
|
15469
|
-
...
|
|
15469
|
+
...Mt,
|
|
15470
15470
|
...t
|
|
15471
|
-
}).format(r)), K4 = ({ locale: e, intlOptions: t }) =>
|
|
15471
|
+
}).format(r)), K4 = ({ locale: e, intlOptions: t }) => vt((r) => {
|
|
15472
15472
|
const n = Intl.DateTimeFormat(e, {
|
|
15473
15473
|
dateStyle: "medium",
|
|
15474
15474
|
timeStyle: "medium",
|
|
15475
|
-
...
|
|
15475
|
+
...Mt,
|
|
15476
15476
|
...t
|
|
15477
15477
|
}).formatToParts(r);
|
|
15478
15478
|
return X4(n.map(q4));
|
|
15479
|
-
}), D1 = ({ locale: e, intlOptions: t }) =>
|
|
15479
|
+
}), D1 = ({ locale: e, intlOptions: t }) => vt((r) => Intl.DateTimeFormat(e, {
|
|
15480
15480
|
day: "numeric",
|
|
15481
15481
|
month: "long",
|
|
15482
|
-
...
|
|
15482
|
+
...Mt,
|
|
15483
15483
|
...t
|
|
15484
|
-
}).format(r)), N1 = ({ locale: e, intlOptions: t }) =>
|
|
15484
|
+
}).format(r)), N1 = ({ locale: e, intlOptions: t }) => vt((r) => Intl.DateTimeFormat(e, {
|
|
15485
15485
|
month: "long",
|
|
15486
|
-
...
|
|
15486
|
+
...Mt,
|
|
15487
15487
|
...t
|
|
15488
|
-
}).format(r)), Sh = ({ locale: e, intlOptions: t }) =>
|
|
15488
|
+
}).format(r)), Sh = ({ locale: e, intlOptions: t }) => vt((r) => Intl.DateTimeFormat(e, {
|
|
15489
15489
|
month: "short",
|
|
15490
15490
|
year: "numeric",
|
|
15491
|
-
...
|
|
15491
|
+
...Mt,
|
|
15492
15492
|
...t
|
|
15493
|
-
}).format(r)), Th = (e) =>
|
|
15493
|
+
}).format(r)), Th = (e) => vt((t) => `Q${Math.floor(t.getUTCMonth() / 3) + 1} ${t.getUTCFullYear()}`), O1 = ({ locale: e, intlOptions: t }) => vt((r) => {
|
|
15494
15494
|
const n = Xl(r, 6);
|
|
15495
15495
|
return Intl.DateTimeFormat(e, {
|
|
15496
15496
|
day: "numeric",
|
|
15497
15497
|
month: "long",
|
|
15498
|
-
...
|
|
15498
|
+
...Mt,
|
|
15499
15499
|
...t,
|
|
15500
15500
|
year: void 0
|
|
15501
15501
|
}).formatRange(r, n);
|
|
15502
|
-
}), F1 = ({ locale: e, intlOptions: t }) =>
|
|
15502
|
+
}), F1 = ({ locale: e, intlOptions: t }) => vt((r) => {
|
|
15503
15503
|
const n = Xl(r, 6);
|
|
15504
15504
|
return Intl.DateTimeFormat(e, {
|
|
15505
15505
|
dateStyle: "medium",
|
|
15506
|
-
...
|
|
15506
|
+
...Mt,
|
|
15507
15507
|
...t
|
|
15508
15508
|
}).formatRange(r, n);
|
|
15509
|
-
}), Mh = ({ locale: e, intlOptions: t }) =>
|
|
15509
|
+
}), Mh = ({ locale: e, intlOptions: t }) => vt((r) => Intl.DateTimeFormat(e, {
|
|
15510
15510
|
year: "numeric",
|
|
15511
|
-
...
|
|
15511
|
+
...Mt,
|
|
15512
15512
|
...t
|
|
15513
|
-
}).format(r)), B1 = ({ locale: e, intlOptions: t }) =>
|
|
15513
|
+
}).format(r)), B1 = ({ locale: e, intlOptions: t }) => vt((r) => Intl.DateTimeFormat(e, {
|
|
15514
15514
|
timeStyle: "short",
|
|
15515
|
-
...
|
|
15515
|
+
...Mt,
|
|
15516
15516
|
...t
|
|
15517
15517
|
}).format(r)), X4 = (e) => e.map((t) => t.value).join(""), q4 = (e) => e.type !== "literal" || e.value !== ", " ? e : {
|
|
15518
15518
|
type: "literal",
|
|
@@ -15557,23 +15557,23 @@ var Tt = { timeZone: "UTC" }, pt = (e) => (t) => {
|
|
|
15557
15557
|
} : {
|
|
15558
15558
|
minimumFractionDigits: 0,
|
|
15559
15559
|
maximumFractionDigits: 1
|
|
15560
|
-
}, t6 = ({ locale: e, intlOptions: t }) =>
|
|
15560
|
+
}, t6 = ({ locale: e, intlOptions: t }) => vt((r) => Intl.DateTimeFormat(e, {
|
|
15561
15561
|
day: "numeric",
|
|
15562
15562
|
month: "short",
|
|
15563
|
-
...
|
|
15563
|
+
...Mt,
|
|
15564
15564
|
...t
|
|
15565
|
-
}).format(r)), r6 = ({ locale: e, intlOptions: t }) =>
|
|
15565
|
+
}).format(r)), r6 = ({ locale: e, intlOptions: t }) => vt((r) => Intl.DateTimeFormat(e, {
|
|
15566
15566
|
month: "short",
|
|
15567
|
-
...
|
|
15567
|
+
...Mt,
|
|
15568
15568
|
...t
|
|
15569
|
-
}).format(r)), n6 = ({ locale: e, intlOptions: t }) =>
|
|
15569
|
+
}).format(r)), n6 = ({ locale: e, intlOptions: t }) => vt((r) => Intl.DateTimeFormat(e, {
|
|
15570
15570
|
day: "numeric",
|
|
15571
15571
|
month: "short",
|
|
15572
|
-
...
|
|
15572
|
+
...Mt,
|
|
15573
15573
|
...t
|
|
15574
|
-
}).format(r)), i6 = ({ locale: e, intlOptions: t }) =>
|
|
15574
|
+
}).format(r)), i6 = ({ locale: e, intlOptions: t }) => vt((r) => Intl.DateTimeFormat(e, {
|
|
15575
15575
|
timeStyle: "short",
|
|
15576
|
-
...
|
|
15576
|
+
...Mt,
|
|
15577
15577
|
...t
|
|
15578
15578
|
}).format(r)), Ch = (e) => {
|
|
15579
15579
|
const { valueFormat: t } = e;
|
|
@@ -15770,7 +15770,7 @@ var Tt = { timeZone: "UTC" }, pt = (e) => (t) => {
|
|
|
15770
15770
|
if (o === null || a === null || !uo(o, a)) continue;
|
|
15771
15771
|
const s = e.formatLabel(i);
|
|
15772
15772
|
if (s === "") continue;
|
|
15773
|
-
const { width: l, height: c } = e.measureDataLabel("observation", "outside", s), { box: u, frame: d } = y6(a,
|
|
15773
|
+
const { width: l, height: c } = e.measureDataLabel("observation", "outside", s), { box: u, frame: d } = y6(a, Tt(i), o, e.panelRect.width, e.panelRect.height), f = is({
|
|
15774
15774
|
box: u,
|
|
15775
15775
|
panel: ns(e.panelRect),
|
|
15776
15776
|
frame: d,
|
|
@@ -15794,7 +15794,7 @@ var Tt = { timeZone: "UTC" }, pt = (e) => (t) => {
|
|
|
15794
15794
|
return t;
|
|
15795
15795
|
}, x6 = {
|
|
15796
15796
|
place: b6,
|
|
15797
|
-
getPercentageValueStrategy: (e) => e.position === "fill" ? "fill" :
|
|
15797
|
+
getPercentageValueStrategy: (e) => e.position === "fill" ? "fill" : Pt(e.position) ? "stack" : "none"
|
|
15798
15798
|
}, w6 = (e) => {
|
|
15799
15799
|
const { position: t, justify: r, align: n } = e.dataLabels;
|
|
15800
15800
|
return t === "auto" ? {
|
|
@@ -16032,7 +16032,7 @@ var S6 = {
|
|
|
16032
16032
|
}
|
|
16033
16033
|
};
|
|
16034
16034
|
}, _s = 6, C6 = 0.5, P6 = (e) => {
|
|
16035
|
-
const t = [], r =
|
|
16035
|
+
const t = [], r = Pt(e.layer.position), n = e.coordSystem.mainAxis === "y";
|
|
16036
16036
|
if (e.layer.dataLabels.showDataLabels) {
|
|
16037
16037
|
const { entries: i, shouldRotate: o } = I6({
|
|
16038
16038
|
layer: e.layer,
|
|
@@ -16084,7 +16084,7 @@ var S6 = {
|
|
|
16084
16084
|
return t;
|
|
16085
16085
|
}, R6 = {
|
|
16086
16086
|
place: P6,
|
|
16087
|
-
getPercentageValueStrategy: (e) => e.position === "fill" ? "fill" :
|
|
16087
|
+
getPercentageValueStrategy: (e) => e.position === "fill" ? "fill" : Pt(e.position) ? "stack" : "absoluteGrandTotal"
|
|
16088
16088
|
}, I6 = ({ layer: e, mainAxis: t, panelRect: r, measureDataLabel: n, formatLabel: i, isFlipped: o }) => {
|
|
16089
16089
|
const a = [];
|
|
16090
16090
|
let s = !1;
|
|
@@ -16132,7 +16132,7 @@ var S6 = {
|
|
|
16132
16132
|
height: i - n
|
|
16133
16133
|
};
|
|
16134
16134
|
}, G1 = (e, t) => {
|
|
16135
|
-
const r = Ht(t), n =
|
|
16135
|
+
const r = Ht(t), n = Ct(t), i = Tt(t), o = ot(t) ?? Se(t);
|
|
16136
16136
|
return r === null || n === null || i === null || o === null ? null : U1(e, r, n, i, o);
|
|
16137
16137
|
}, _6 = (e, t) => {
|
|
16138
16138
|
const { xMin: r, xMax: n, yMin: i, yMax: o } = t.anchor;
|
|
@@ -16418,7 +16418,7 @@ var S6 = {
|
|
|
16418
16418
|
align: n
|
|
16419
16419
|
};
|
|
16420
16420
|
}, K6 = (e) => {
|
|
16421
|
-
const t = Ht(e), r =
|
|
16421
|
+
const t = Ht(e), r = Ct(e), n = Tt(e), i = ot(e);
|
|
16422
16422
|
if (t === null || r === null || n === null || i === null) return null;
|
|
16423
16423
|
const o = Math.min(t, r), a = Math.abs(r - t), s = Math.max(n, i), l = Math.abs(i - n);
|
|
16424
16424
|
return {
|
|
@@ -16739,7 +16739,7 @@ var i8 = (e, t) => {
|
|
|
16739
16739
|
return s === void 0 ? null : s.total;
|
|
16740
16740
|
};
|
|
16741
16741
|
}, l8 = (e, t) => {
|
|
16742
|
-
const r = t ? Ht :
|
|
16742
|
+
const r = t ? Ht : Tt, n = t ? Ct : ot, i = qa(e);
|
|
16743
16743
|
return (o) => {
|
|
16744
16744
|
const a = r(o), s = n(o);
|
|
16745
16745
|
if (!Oe(a) || !Oe(s)) return null;
|
|
@@ -17737,7 +17737,7 @@ var Rd = [
|
|
|
17737
17737
|
horizontal: 0,
|
|
17738
17738
|
vertical: 0
|
|
17739
17739
|
};
|
|
17740
|
-
const r =
|
|
17740
|
+
const r = Qe(t.scaleAestheticKey);
|
|
17741
17741
|
let n = 0, i = 0;
|
|
17742
17742
|
for (const o of t.ticks) {
|
|
17743
17743
|
const a = this.measurer.measureTickLabel(o.formattedLabel, r);
|
|
@@ -17765,7 +17765,7 @@ var Rd = [
|
|
|
17765
17765
|
};
|
|
17766
17766
|
}
|
|
17767
17767
|
finalizeAxis(e, t, r) {
|
|
17768
|
-
const n = e.position === "top" || e.position === "bottom" ? r.width : r.height, i =
|
|
17768
|
+
const n = e.position === "top" || e.position === "bottom" ? r.width : r.height, i = Qe(e.scaleAestheticKey), o = (u) => this.measurer.measureTickLabel(u, i), a = h6({
|
|
17769
17769
|
axis: e,
|
|
17770
17770
|
availableSpacePx: n,
|
|
17771
17771
|
measureLabel: o,
|
|
@@ -18342,7 +18342,7 @@ function Tv(e, t, r) {
|
|
|
18342
18342
|
inView: t.inView
|
|
18343
18343
|
};
|
|
18344
18344
|
}
|
|
18345
|
-
var YH = (e, t, r) => e.anchor.layerId !== t.anchor.layerId || !
|
|
18345
|
+
var YH = (e, t, r) => e.anchor.layerId !== t.anchor.layerId || !wt(e.anchor.groupValue ?? null, t.anchor.groupValue ?? null) || r.start === void 0 || r.start !== r.end ? null : r.start, KH = 100, XH = ({ items: e, containerHeight: t, labelHeight: r }) => {
|
|
18346
18346
|
const n = e.map((l) => {
|
|
18347
18347
|
const c = (1 - l.normalizedY) * t;
|
|
18348
18348
|
return {
|
|
@@ -18401,7 +18401,7 @@ var YH = (e, t, r) => e.anchor.layerId !== t.anchor.layerId || !xt(e.anchor.grou
|
|
|
18401
18401
|
if (e.kind === "cursor") return !0;
|
|
18402
18402
|
const r = t;
|
|
18403
18403
|
return e.point.x === r.point.x && e.point.y === r.point.y && e.placement === r.placement && e.annotationId === r.annotationId;
|
|
18404
|
-
}, r7 = (e, t) => e === t ? !0 : e === null || t === null ? !1 : e.center.x === t.center.x && e.center.y === t.center.y && e.radius === t.radius && n7(e.target, t.target), n7 = (e, t) => e.kind === t.kind && e.cursor.x === t.cursor.x && e.cursor.y === t.cursor.y, i7 = (e, t) => e.layerId === t.layerId &&
|
|
18404
|
+
}, r7 = (e, t) => e === t ? !0 : e === null || t === null ? !1 : e.center.x === t.center.x && e.center.y === t.center.y && e.radius === t.radius && n7(e.target, t.target), n7 = (e, t) => e.kind === t.kind && e.cursor.x === t.cursor.x && e.cursor.y === t.cursor.y, i7 = (e, t) => e.layerId === t.layerId && wt(e.anchorValue, t.anchorValue) && wt(e.groupValue ?? null, t.groupValue ?? null) && wt(e.crossValue ?? null, t.crossValue ?? null), o7 = (e, t) => {
|
|
18405
18405
|
const r = e.find((i) => i.id === t.anchor.layerId);
|
|
18406
18406
|
if (r === void 0) return null;
|
|
18407
18407
|
const n = r.data.getAt(t.observationIndex);
|
|
@@ -18565,7 +18565,7 @@ function Ne(e) {
|
|
|
18565
18565
|
return e;
|
|
18566
18566
|
};
|
|
18567
18567
|
}
|
|
18568
|
-
var Ev = Math.abs,
|
|
18568
|
+
var Ev = Math.abs, ht = Math.atan2, Ln = Math.cos, w7 = Math.max, wu = Math.min, pr = Math.sin, Wi = Math.sqrt;
|
|
18569
18569
|
var Fa = Math.PI, Pl = Fa / 2, A7 = 2 * Fa;
|
|
18570
18570
|
function S7(e) {
|
|
18571
18571
|
return e > 1 ? 0 : e < -1 ? Fa : Math.acos(e);
|
|
@@ -18698,7 +18698,7 @@ function L7() {
|
|
|
18698
18698
|
R = wu(L, (f - X) / ($ - 1)), B = wu(L, (h - X) / ($ + 1));
|
|
18699
18699
|
} else R = B = 0;
|
|
18700
18700
|
}
|
|
18701
|
-
O > 1e-12 ? B > 1e-12 ? (T = Os(re, oe, k, w, h, B, y), I = Os(K, Z, D, z, h, B, y), s.moveTo(T.cx + T.x01, T.cy + T.y01), B < L ? s.arc(T.cx, T.cy, B,
|
|
18701
|
+
O > 1e-12 ? B > 1e-12 ? (T = Os(re, oe, k, w, h, B, y), I = Os(K, Z, D, z, h, B, y), s.moveTo(T.cx + T.x01, T.cy + T.y01), B < L ? s.arc(T.cx, T.cy, B, ht(T.y01, T.x01), ht(I.y01, I.x01), !y) : (s.arc(T.cx, T.cy, B, ht(T.y01, T.x01), ht(T.y11, T.x11), !y), s.arc(0, 0, h, ht(T.cy + T.y11, T.cx + T.x11), ht(I.cy + I.y11, I.cx + I.x11), !y), s.arc(I.cx, I.cy, B, ht(I.y11, I.x11), ht(I.y01, I.x01), !y))) : (s.moveTo(k, w), s.arc(0, 0, h, x, S, !y)) : s.moveTo(k, w), !(f > 1e-12) || !(A > 1e-12) ? s.lineTo(D, z) : R > 1e-12 ? (T = Os(D, z, K, Z, f, -R, y), I = Os(k, w, re, oe, f, -R, y), s.lineTo(T.cx + T.x01, T.cy + T.y01), R < L ? s.arc(T.cx, T.cy, R, ht(T.y01, T.x01), ht(I.y01, I.x01), !y) : (s.arc(T.cx, T.cy, R, ht(T.y01, T.x01), ht(T.y11, T.x11), !y), s.arc(0, 0, f, ht(T.cy + T.y11, T.cx + T.x11), ht(I.cy + I.y11, I.cx + I.x11), y), s.arc(I.cx, I.cy, R, ht(I.y11, I.x11), ht(I.y01, I.x01), !y))) : s.arc(0, 0, f, P, E, y);
|
|
18702
18702
|
}
|
|
18703
18703
|
if (s.closePath(), u) return s = null, u + "" || null;
|
|
18704
18704
|
}
|
|
@@ -18959,10 +18959,10 @@ var N7 = (function e(t) {
|
|
|
18959
18959
|
}, dA = (e, t) => {
|
|
18960
18960
|
const r = Uh(t.interpolate), n = cA().curve(r), i = Hh().curve(r);
|
|
18961
18961
|
if (e.mainAxis === "y") {
|
|
18962
|
-
const o = (l) => sr(Se(l) ?? 0), a = (l) => Ht(l) ?? 0, s = (l) =>
|
|
18962
|
+
const o = (l) => sr(Se(l) ?? 0), a = (l) => Ht(l) ?? 0, s = (l) => Ct(l) ?? Me(l) ?? 0;
|
|
18963
18963
|
n.y(o).x0(a).x1(s), i.y(o).x(s);
|
|
18964
18964
|
} else {
|
|
18965
|
-
const o = (l) => Me(l) ?? 0, a = (l) => sr(
|
|
18965
|
+
const o = (l) => Me(l) ?? 0, a = (l) => sr(Tt(l) ?? 0), s = (l) => sr(ot(l) ?? Se(l) ?? 0);
|
|
18966
18966
|
n.x(o).y0(a).y1(s), i.x(o).y(s);
|
|
18967
18967
|
}
|
|
18968
18968
|
if (t.missingValues === "gap") {
|
|
@@ -18994,7 +18994,7 @@ var N7 = (function e(t) {
|
|
|
18994
18994
|
separatorWidth: e,
|
|
18995
18995
|
insetOffset: e / 2
|
|
18996
18996
|
}), ko = (e, t) => {
|
|
18997
|
-
const r = Ht(t), n =
|
|
18997
|
+
const r = Ht(t), n = Ct(t), i = Tt(t), o = ot(t) ?? Se(t);
|
|
18998
18998
|
if (r === null || n === null || i === null || o === null) return null;
|
|
18999
18999
|
if (e === "x") {
|
|
19000
19000
|
let l = 1 - o, c = o - i;
|
|
@@ -19124,11 +19124,11 @@ function $7(e) {
|
|
|
19124
19124
|
switch (e.kind) {
|
|
19125
19125
|
case "buckets": {
|
|
19126
19126
|
const t = e.match.index;
|
|
19127
|
-
return
|
|
19127
|
+
return Pt(t.position) ? Y7(t.layerId, e.match.bucket, e.match.hit.pointIndex) : [];
|
|
19128
19128
|
}
|
|
19129
19129
|
case "banded": {
|
|
19130
19130
|
const { index: t, column: r, hit: n } = e.match;
|
|
19131
|
-
return
|
|
19131
|
+
return Pt(t.position) ? K7(t.layerId, r, n.pointIndex) : X7(t.bands, t.layerId, r, n.pointIndex);
|
|
19132
19132
|
}
|
|
19133
19133
|
case "points":
|
|
19134
19134
|
case "enclosure":
|
|
@@ -19172,7 +19172,7 @@ function q7(e, t) {
|
|
|
19172
19172
|
i || J7(r, o, e.match.hit);
|
|
19173
19173
|
continue;
|
|
19174
19174
|
}
|
|
19175
|
-
e.kind === "buckets" && (
|
|
19175
|
+
e.kind === "buckets" && (Pt(o.position) || o.kind === "buckets" && Q7(r, o.layerId, e.match.bucket, e.match.hit.pointIndex));
|
|
19176
19176
|
}
|
|
19177
19177
|
return r;
|
|
19178
19178
|
}
|
|
@@ -19342,7 +19342,7 @@ function r9(e, t) {
|
|
|
19342
19342
|
if (r.size() === 0) return [];
|
|
19343
19343
|
const n = r.hasVariable(H.x), i = r.hasVariable(H.y);
|
|
19344
19344
|
if (!n || !i) return [];
|
|
19345
|
-
const o = r.getValues(H.x, { type: "numeric" }), a = r.getValues(H.y, { type: "numeric" }), s = t === "y", l = s ? H.xMin : H.yMin, c = s ? H.xMax : H.yMax, u =
|
|
19345
|
+
const o = r.getValues(H.x, { type: "numeric" }), a = r.getValues(H.y, { type: "numeric" }), s = t === "y", l = s ? H.xMin : H.yMin, c = s ? H.xMax : H.yMax, u = Pt(e.position), d = u ? r.getValues(l, { type: "numeric" }) : null, f = u ? r.getValues(c, { type: "numeric" }) : null, h = r.hasVariable(Ce.group) ? r.getValues(Ce.group, { type: "categorical" }) : null, m = [];
|
|
19346
19346
|
let g = 0;
|
|
19347
19347
|
for (const p of r) {
|
|
19348
19348
|
const y = o[g], x = a[g];
|
|
@@ -19438,7 +19438,7 @@ function Od(e) {
|
|
|
19438
19438
|
projection: "cartesian"
|
|
19439
19439
|
};
|
|
19440
19440
|
}
|
|
19441
|
-
var Ee = 11102230246251565e-32,
|
|
19441
|
+
var Ee = 11102230246251565e-32, mt = 134217729, i9 = 3.000000000000001 * Ee;
|
|
19442
19442
|
function Au(e, t, r, n, i) {
|
|
19443
19443
|
let o, a, s, l, c = t[0], u = n[0], d = 0, f = 0;
|
|
19444
19444
|
u > c == u > -c ? (o = c, c = t[++d]) : (o = u, u = n[++f]);
|
|
@@ -19460,19 +19460,19 @@ function o9(e, t) {
|
|
|
19460
19460
|
function j(e) {
|
|
19461
19461
|
return new Float64Array(e);
|
|
19462
19462
|
}
|
|
19463
|
-
var a9 = (3 + 16 * Ee) * Ee, s9 = (2 + 12 * Ee) * Ee, l9 = (9 + 64 * Ee) * Ee * Ee, Ii = j(4), Pv = j(8), Rv = j(12), Iv = j(16),
|
|
19463
|
+
var a9 = (3 + 16 * Ee) * Ee, s9 = (2 + 12 * Ee) * Ee, l9 = (9 + 64 * Ee) * Ee * Ee, Ii = j(4), Pv = j(8), Rv = j(12), Iv = j(16), xt = j(4);
|
|
19464
19464
|
function c9(e, t, r, n, i, o, a) {
|
|
19465
19465
|
let s, l, c, u, d, f, h, m, g, p, y, x, S, E, P, A, O, b;
|
|
19466
19466
|
const M = e - i, L = r - i, R = t - o, B = n - o;
|
|
19467
|
-
E = M * B, f =
|
|
19467
|
+
E = M * B, f = mt * M, h = f - (f - M), m = M - h, f = mt * B, g = f - (f - B), p = B - g, P = m * p - (E - h * g - m * g - h * p), A = R * L, f = mt * R, h = f - (f - R), m = R - h, f = mt * L, g = f - (f - L), p = L - g, O = m * p - (A - h * g - m * g - h * p), y = P - O, d = P - y, Ii[0] = P - (y + d) + (d - O), x = E + y, d = x - E, S = E - (x - d) + (y - d), y = S - A, d = S - y, Ii[1] = S - (y + d) + (d - A), b = x + y, d = b - x, Ii[2] = x - (b - d) + (y - d), Ii[3] = b;
|
|
19468
19468
|
let T = o9(4, Ii), I = s9 * a;
|
|
19469
19469
|
if (T >= I || -T >= I || (d = e - M, s = e - (M + d) + (d - i), d = r - L, c = r - (L + d) + (d - i), d = t - R, l = t - (R + d) + (d - o), d = n - B, u = n - (B + d) + (d - o), s === 0 && l === 0 && c === 0 && u === 0) || (I = l9 * a + i9 * Math.abs(T), T += M * u + B * s - (R * c + L * l), T >= I || -T >= I)) return T;
|
|
19470
|
-
E = s * B, f =
|
|
19471
|
-
const N = Au(4, Ii, 4,
|
|
19472
|
-
E = M * u, f =
|
|
19473
|
-
const C = Au(N, Pv, 4,
|
|
19474
|
-
E = s * u, f =
|
|
19475
|
-
const k = Au(C, Rv, 4,
|
|
19470
|
+
E = s * B, f = mt * s, h = f - (f - s), m = s - h, f = mt * B, g = f - (f - B), p = B - g, P = m * p - (E - h * g - m * g - h * p), A = l * L, f = mt * l, h = f - (f - l), m = l - h, f = mt * L, g = f - (f - L), p = L - g, O = m * p - (A - h * g - m * g - h * p), y = P - O, d = P - y, xt[0] = P - (y + d) + (d - O), x = E + y, d = x - E, S = E - (x - d) + (y - d), y = S - A, d = S - y, xt[1] = S - (y + d) + (d - A), b = x + y, d = b - x, xt[2] = x - (b - d) + (y - d), xt[3] = b;
|
|
19471
|
+
const N = Au(4, Ii, 4, xt, Pv);
|
|
19472
|
+
E = M * u, f = mt * M, h = f - (f - M), m = M - h, f = mt * u, g = f - (f - u), p = u - g, P = m * p - (E - h * g - m * g - h * p), A = R * c, f = mt * R, h = f - (f - R), m = R - h, f = mt * c, g = f - (f - c), p = c - g, O = m * p - (A - h * g - m * g - h * p), y = P - O, d = P - y, xt[0] = P - (y + d) + (d - O), x = E + y, d = x - E, S = E - (x - d) + (y - d), y = S - A, d = S - y, xt[1] = S - (y + d) + (d - A), b = x + y, d = b - x, xt[2] = x - (b - d) + (y - d), xt[3] = b;
|
|
19473
|
+
const C = Au(N, Pv, 4, xt, Rv);
|
|
19474
|
+
E = s * u, f = mt * s, h = f - (f - s), m = s - h, f = mt * u, g = f - (f - u), p = u - g, P = m * p - (E - h * g - m * g - h * p), A = l * c, f = mt * l, h = f - (f - l), m = l - h, f = mt * c, g = f - (f - c), p = c - g, O = m * p - (A - h * g - m * g - h * p), y = P - O, d = P - y, xt[0] = P - (y + d) + (d - O), x = E + y, d = x - E, S = E - (x - d) + (y - d), y = S - A, d = S - y, xt[1] = S - (y + d) + (d - A), b = x + y, d = b - x, xt[2] = x - (b - d) + (y - d), xt[3] = b;
|
|
19475
|
+
const k = Au(C, Rv, 4, xt, Iv);
|
|
19476
19476
|
return Iv[k - 1];
|
|
19477
19477
|
}
|
|
19478
19478
|
function Fs(e, t, r, n, i, o) {
|
|
@@ -20281,7 +20281,7 @@ function R9(e, t, r) {
|
|
|
20281
20281
|
if (e.columns.length === 0) return null;
|
|
20282
20282
|
const n = wA(e, Ca(e.mainAxis, t)), i = n?.rects ?? [];
|
|
20283
20283
|
if (!n || !li(i)) return null;
|
|
20284
|
-
const o =
|
|
20284
|
+
const o = Pt(e.position) ? I9(i, t, e.mainAxis) : _9(i, t, r);
|
|
20285
20285
|
return {
|
|
20286
20286
|
hit: {
|
|
20287
20287
|
anchored: !0,
|
|
@@ -20698,7 +20698,7 @@ function tW(e, t, r) {
|
|
|
20698
20698
|
function rW(e, t) {
|
|
20699
20699
|
if (e.bandAxis === null) return null;
|
|
20700
20700
|
if (e.bandAxis === "x") {
|
|
20701
|
-
const i = Ht(t.observation), o =
|
|
20701
|
+
const i = Ht(t.observation), o = Ct(t.observation);
|
|
20702
20702
|
return i === null || o === null ? null : {
|
|
20703
20703
|
startAngle: i,
|
|
20704
20704
|
endAngle: o,
|
|
@@ -20706,7 +20706,7 @@ function rW(e, t) {
|
|
|
20706
20706
|
outerRadius: 1
|
|
20707
20707
|
};
|
|
20708
20708
|
}
|
|
20709
|
-
const r =
|
|
20709
|
+
const r = Tt(t.observation), n = ot(t.observation);
|
|
20710
20710
|
return r === null || n === null ? null : {
|
|
20711
20711
|
startAngle: e.startAngle,
|
|
20712
20712
|
endAngle: e.startAngle + Z9,
|
|
@@ -20715,11 +20715,11 @@ function rW(e, t) {
|
|
|
20715
20715
|
};
|
|
20716
20716
|
}
|
|
20717
20717
|
function nW(e) {
|
|
20718
|
-
const t = Ht(e.observation), r =
|
|
20718
|
+
const t = Ht(e.observation), r = Ct(e.observation);
|
|
20719
20719
|
return t === null || r === null ? null : r - t;
|
|
20720
20720
|
}
|
|
20721
20721
|
function iW(e) {
|
|
20722
|
-
const t =
|
|
20722
|
+
const t = Tt(e.observation), r = ot(e.observation);
|
|
20723
20723
|
return t === null || r === null ? null : r - t;
|
|
20724
20724
|
}
|
|
20725
20725
|
var Tc = 0.5, oW = 0.3, aW = 0.4, sW = 10, lW = ({ layer: e, coordSystem: t, scales: r, options: n }) => e.data.size() === 0 ? null : e.spatialKind === "rects" ? t.type === "cartesian" ? uW(e, t, r, n) : dW(e, t, n) : e.spatialKind === "buckets" && t.type === "cartesian" ? mW(e, t, n) : e.spatialKind === "cells" ? hW(e, n) : e.spatialKind === "points" ? fW(e, n) : null, cW = (e) => {
|
|
@@ -21013,14 +21013,14 @@ var Tc = 0.5, oW = 0.3, aW = 0.4, sW = 10, lW = ({ layer: e, coordSystem: t, sca
|
|
|
21013
21013
|
if (typeof e != "string") return !1;
|
|
21014
21014
|
const t = e.replace(/^[\x00-\x20]+/, "");
|
|
21015
21015
|
return t.length === 0 ? !1 : PW.test(t);
|
|
21016
|
-
}, RW = ({ locale: e, intlOptions: t }) =>
|
|
21016
|
+
}, RW = ({ locale: e, intlOptions: t }) => vt((r) => Intl.DateTimeFormat(e, {
|
|
21017
21017
|
day: "numeric",
|
|
21018
21018
|
month: "long",
|
|
21019
21019
|
year: "numeric",
|
|
21020
21020
|
weekday: "long",
|
|
21021
|
-
...
|
|
21021
|
+
...Mt,
|
|
21022
21022
|
...t
|
|
21023
|
-
}).format(r)), IW = ({ locale: e, intlOptions: t }) =>
|
|
21023
|
+
}).format(r)), IW = ({ locale: e, intlOptions: t }) => vt((r) => {
|
|
21024
21024
|
const n = r.getUTCSeconds() !== 0;
|
|
21025
21025
|
return Intl.DateTimeFormat(e, {
|
|
21026
21026
|
day: "2-digit",
|
|
@@ -21030,7 +21030,7 @@ var Tc = 0.5, oW = 0.3, aW = 0.4, sW = 10, lW = ({ layer: e, coordSystem: t, sca
|
|
|
21030
21030
|
hour: "2-digit",
|
|
21031
21031
|
minute: "2-digit",
|
|
21032
21032
|
second: n ? "2-digit" : void 0,
|
|
21033
|
-
...
|
|
21033
|
+
...Mt,
|
|
21034
21034
|
...t
|
|
21035
21035
|
}).format(r);
|
|
21036
21036
|
}), Il = (e) => {
|
|
@@ -21357,7 +21357,7 @@ function Mle(e) {
|
|
|
21357
21357
|
var Xh = (e, t) => "and" in e ? "and" in t && Hv(e.and, t.and) : "or" in e ? "or" in t && Hv(e.or, t.or) : "not" in e ? "not" in t && Xh(e.not, t.not) : qW(t) && e.variable === t.variable && QW(e, t), qW = (e) => "variable" in e, Hv = (e, t) => e.length === t.length && e.every((r, n) => {
|
|
21358
21358
|
const i = t[n];
|
|
21359
21359
|
return i !== void 0 && Xh(r, i);
|
|
21360
|
-
}), QW = (e, t) => "eq" in e ? "eq" in t &&
|
|
21360
|
+
}), QW = (e, t) => "eq" in e ? "eq" in t && wt(e.eq, t.eq) : "oneOf" in e ? "oneOf" in t && Wv(e.oneOf, t.oneOf) : "lt" in e ? "lt" in t && wt(e.lt, t.lt) : "lte" in e ? "lte" in t && wt(e.lte, t.lte) : "gt" in e ? "gt" in t && wt(e.gt, t.gt) : "gte" in e ? "gte" in t && wt(e.gte, t.gte) : "range" in t && Wv(e.range, t.range), Wv = (e, t) => e.length === t.length && e.every((r, n) => wt(r, t[n] ?? null));
|
|
21361
21361
|
function JW(e) {
|
|
21362
21362
|
return {
|
|
21363
21363
|
mapping: e.mapping,
|
|
@@ -21968,7 +21968,7 @@ var CU = class extends xb {
|
|
|
21968
21968
|
return t && t.length > 0 ? /* @__PURE__ */ v($v, { errors: t }) : r;
|
|
21969
21969
|
}
|
|
21970
21970
|
};
|
|
21971
|
-
var qh =
|
|
21971
|
+
var qh = Je(null), lt = () => {
|
|
21972
21972
|
const e = ye(qh);
|
|
21973
21973
|
if (!e) throw new Error("useGraph* hooks must be used inside a <GraphProvider>");
|
|
21974
21974
|
return e;
|
|
@@ -21993,15 +21993,15 @@ function ai(e, t = PU) {
|
|
|
21993
21993
|
return qo.useDebugValue(r), r;
|
|
21994
21994
|
}
|
|
21995
21995
|
var fe = (e) => {
|
|
21996
|
-
const { store: t } =
|
|
21996
|
+
const { store: t } = lt();
|
|
21997
21997
|
return ai(t, (r) => e(r.compiled));
|
|
21998
21998
|
};
|
|
21999
|
-
function
|
|
22000
|
-
const { colorScheme: t } =
|
|
21999
|
+
function He(e) {
|
|
22000
|
+
const { colorScheme: t } = lt();
|
|
22001
22001
|
return W(() => on({ colorScheme: t }).geomReaders(e), [e, t]);
|
|
22002
22002
|
}
|
|
22003
22003
|
var VA = (e) => {
|
|
22004
|
-
const { colorScheme: t } =
|
|
22004
|
+
const { colorScheme: t } = lt(), r = fe((n) => n.layers);
|
|
22005
22005
|
return W(() => {
|
|
22006
22006
|
const n = r.find((i) => i.id === e);
|
|
22007
22007
|
return n === void 0 ? null : on({ colorScheme: t }).geomReaders(n);
|
|
@@ -22011,7 +22011,7 @@ var VA = (e) => {
|
|
|
22011
22011
|
t
|
|
22012
22012
|
]);
|
|
22013
22013
|
}, HA = () => {
|
|
22014
|
-
const { colorScheme: e } =
|
|
22014
|
+
const { colorScheme: e } = lt(), t = fe((r) => r.layers);
|
|
22015
22015
|
return W(() => {
|
|
22016
22016
|
const r = on({ colorScheme: e });
|
|
22017
22017
|
return (n) => {
|
|
@@ -22060,12 +22060,12 @@ var VA = (e) => {
|
|
|
22060
22060
|
strokeWidth: IU,
|
|
22061
22061
|
"data-testid": "companion-point"
|
|
22062
22062
|
});
|
|
22063
|
-
}, gr = "layer_svg__xqhqis0", UA =
|
|
22063
|
+
}, gr = "layer_svg__xqhqis0", UA = Je({});
|
|
22064
22064
|
function Ba(e) {
|
|
22065
22065
|
const t = be(null);
|
|
22066
22066
|
return t.current === null && (t.current = e()), t.current;
|
|
22067
22067
|
}
|
|
22068
|
-
var GA = typeof window < "u", jA = GA ? Ab : Te, Jh = /* @__PURE__ */
|
|
22068
|
+
var GA = typeof window < "u", jA = GA ? Ab : Te, Jh = /* @__PURE__ */ Je(null);
|
|
22069
22069
|
function Zh(e, t) {
|
|
22070
22070
|
e.indexOf(t) === -1 && e.push(t);
|
|
22071
22071
|
}
|
|
@@ -22221,12 +22221,12 @@ function lS(e, t) {
|
|
|
22221
22221
|
steps: a
|
|
22222
22222
|
};
|
|
22223
22223
|
}
|
|
22224
|
-
var { schedule: Ie, cancel: en, state:
|
|
22224
|
+
var { schedule: Ie, cancel: en, state: ut, steps: Tu } = /* @__PURE__ */ lS(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Yt, !0), el;
|
|
22225
22225
|
function GU() {
|
|
22226
22226
|
el = void 0;
|
|
22227
22227
|
}
|
|
22228
|
-
var
|
|
22229
|
-
now: () => (el === void 0 &&
|
|
22228
|
+
var At = {
|
|
22229
|
+
now: () => (el === void 0 && At.set(ut.isProcessing || Zr.useManualTiming ? ut.timestamp : performance.now()), el),
|
|
22230
22230
|
set: (e) => {
|
|
22231
22231
|
el = e, queueMicrotask(GU);
|
|
22232
22232
|
}
|
|
@@ -22439,7 +22439,7 @@ var hG = (e) => {
|
|
|
22439
22439
|
return {
|
|
22440
22440
|
start: (r = !0) => Ie.update(t, r),
|
|
22441
22441
|
stop: () => en(t),
|
|
22442
|
-
now: () =>
|
|
22442
|
+
now: () => ut.isProcessing ? ut.timestamp : At.now()
|
|
22443
22443
|
};
|
|
22444
22444
|
}, yS = (e, t, r = 10) => {
|
|
22445
22445
|
let n = "";
|
|
@@ -22471,7 +22471,7 @@ function wS(e, t, r) {
|
|
|
22471
22471
|
const n = Math.max(t - mG, 0);
|
|
22472
22472
|
return XA(r - e(n), t - n);
|
|
22473
22473
|
}
|
|
22474
|
-
var
|
|
22474
|
+
var Ge = {
|
|
22475
22475
|
stiffness: 100,
|
|
22476
22476
|
damping: 10,
|
|
22477
22477
|
mass: 1,
|
|
@@ -22492,11 +22492,11 @@ var Ue = {
|
|
|
22492
22492
|
minDamping: 0.05,
|
|
22493
22493
|
maxDamping: 1
|
|
22494
22494
|
}, ry = 1e-3;
|
|
22495
|
-
function gG({ duration: e =
|
|
22495
|
+
function gG({ duration: e = Ge.duration, bounce: t = Ge.bounce, velocity: r = Ge.velocity, mass: n = Ge.mass }) {
|
|
22496
22496
|
let i, o;
|
|
22497
|
-
Ec(e <= Ft(
|
|
22497
|
+
Ec(e <= Ft(Ge.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
|
|
22498
22498
|
let a = 1 - t;
|
|
22499
|
-
a = Or(
|
|
22499
|
+
a = Or(Ge.minDamping, Ge.maxDamping, a), e = Or(Ge.minDuration, Ge.maxDuration, $t(e)), a < 1 ? (i = (c) => {
|
|
22500
22500
|
const u = c * a, d = u * e, f = u - r, h = Gd(c, a), m = Math.exp(-d);
|
|
22501
22501
|
return ry - f / h * m;
|
|
22502
22502
|
}, o = (c) => {
|
|
@@ -22505,8 +22505,8 @@ function gG({ duration: e = Ue.duration, bounce: t = Ue.bounce, velocity: r = Ue
|
|
|
22505
22505
|
}) : (i = (c) => -1e-3 + Math.exp(-c * e) * ((c - r) * e + 1), o = (c) => Math.exp(-c * e) * ((r - c) * (e * e)));
|
|
22506
22506
|
const s = 5 / e, l = vG(i, o, s);
|
|
22507
22507
|
if (e = Ft(e), isNaN(l)) return {
|
|
22508
|
-
stiffness:
|
|
22509
|
-
damping:
|
|
22508
|
+
stiffness: Ge.stiffness,
|
|
22509
|
+
damping: Ge.damping,
|
|
22510
22510
|
duration: e
|
|
22511
22511
|
};
|
|
22512
22512
|
{
|
|
@@ -22537,10 +22537,10 @@ function ny(e, t) {
|
|
|
22537
22537
|
}
|
|
22538
22538
|
function xG(e) {
|
|
22539
22539
|
let t = {
|
|
22540
|
-
velocity:
|
|
22541
|
-
stiffness:
|
|
22542
|
-
damping:
|
|
22543
|
-
mass:
|
|
22540
|
+
velocity: Ge.velocity,
|
|
22541
|
+
stiffness: Ge.stiffness,
|
|
22542
|
+
damping: Ge.damping,
|
|
22543
|
+
mass: Ge.mass,
|
|
22544
22544
|
isResolvedFromDuration: !1,
|
|
22545
22545
|
...e
|
|
22546
22546
|
};
|
|
@@ -22548,7 +22548,7 @@ function xG(e) {
|
|
|
22548
22548
|
const r = e.visualDuration, n = 2 * Math.PI / (r * 1.2), i = n * n, o = 2 * Or(0.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
|
|
22549
22549
|
t = {
|
|
22550
22550
|
...t,
|
|
22551
|
-
mass:
|
|
22551
|
+
mass: Ge.mass,
|
|
22552
22552
|
stiffness: i,
|
|
22553
22553
|
damping: o
|
|
22554
22554
|
};
|
|
@@ -22557,12 +22557,12 @@ function xG(e) {
|
|
|
22557
22557
|
t = {
|
|
22558
22558
|
...t,
|
|
22559
22559
|
...r,
|
|
22560
|
-
mass:
|
|
22560
|
+
mass: Ge.mass
|
|
22561
22561
|
}, t.isResolvedFromDuration = !0;
|
|
22562
22562
|
}
|
|
22563
22563
|
return t;
|
|
22564
22564
|
}
|
|
22565
|
-
function Wa(e =
|
|
22565
|
+
function Wa(e = Ge.visualDuration, t = Ge.bounce) {
|
|
22566
22566
|
const r = typeof e != "object" ? {
|
|
22567
22567
|
visualDuration: e,
|
|
22568
22568
|
keyframes: [0, 1],
|
|
@@ -22576,7 +22576,7 @@ function Wa(e = Ue.visualDuration, t = Ue.bounce) {
|
|
|
22576
22576
|
...r,
|
|
22577
22577
|
velocity: -$t(r.velocity || 0)
|
|
22578
22578
|
}), m = f || 0, g = c / (2 * Math.sqrt(l * u)), p = a - o, y = $t(Math.sqrt(l / u)), x = Math.abs(p) < 5;
|
|
22579
|
-
n || (n = x ?
|
|
22579
|
+
n || (n = x ? Ge.restSpeed.granular : Ge.restSpeed.default), i || (i = x ? Ge.restDelta.granular : Ge.restDelta.default);
|
|
22580
22580
|
let S;
|
|
22581
22581
|
if (g < 1) {
|
|
22582
22582
|
const P = Gd(y, g);
|
|
@@ -22738,7 +22738,7 @@ var cm = class {
|
|
|
22738
22738
|
constructor(e) {
|
|
22739
22739
|
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => {
|
|
22740
22740
|
const { motionValue: t } = this.options;
|
|
22741
|
-
t && t.updatedAt !==
|
|
22741
|
+
t && t.updatedAt !== At.now() && this.tick(At.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
|
|
22742
22742
|
}, Jn.mainThread++, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
|
|
22743
22743
|
}
|
|
22744
22744
|
initAnimation() {
|
|
@@ -22807,7 +22807,7 @@ var cm = class {
|
|
|
22807
22807
|
return this.playbackSpeed;
|
|
22808
22808
|
}
|
|
22809
22809
|
set speed(e) {
|
|
22810
|
-
this.updateTime(
|
|
22810
|
+
this.updateTime(At.now());
|
|
22811
22811
|
const t = this.playbackSpeed !== e;
|
|
22812
22812
|
this.playbackSpeed = e, t && (this.time = $t(this.currentTime));
|
|
22813
22813
|
}
|
|
@@ -22819,7 +22819,7 @@ var cm = class {
|
|
|
22819
22819
|
this.state === "finished" ? (this.updateFinished(), this.startTime = r) : this.holdTime !== null ? this.startTime = r - this.holdTime : this.startTime || (this.startTime = t ?? r), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
|
|
22820
22820
|
}
|
|
22821
22821
|
pause() {
|
|
22822
|
-
this.state = "paused", this.updateTime(
|
|
22822
|
+
this.state = "paused", this.updateTime(At.now()), this.holdTime = this.currentTime;
|
|
22823
22823
|
}
|
|
22824
22824
|
complete() {
|
|
22825
22825
|
this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
|
|
@@ -23181,7 +23181,7 @@ var Cu = 10, jG = class extends IS {
|
|
|
23181
23181
|
const a = new um({
|
|
23182
23182
|
...o,
|
|
23183
23183
|
autoplay: !1
|
|
23184
|
-
}), s = Math.max(Cu,
|
|
23184
|
+
}), s = Math.max(Cu, At.now() - this.startTime), l = Or(0, Cu, s - Cu);
|
|
23185
23185
|
t.setWithVelocity(a.sample(Math.max(0, s - l)).value, a.sample(s).value, l), a.stop();
|
|
23186
23186
|
}
|
|
23187
23187
|
}, cy = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (lr.test(e) || e === "0") && !e.startsWith("url("));
|
|
@@ -23216,7 +23216,7 @@ var qG = 40, QG = class extends cm {
|
|
|
23216
23216
|
constructor({ autoplay: e = !0, delay: t = 0, type: r = "keyframes", repeat: n = 0, repeatDelay: i = 0, repeatType: o = "loop", keyframes: a, name: s, motionValue: l, element: c, ...u }) {
|
|
23217
23217
|
super(), this.stop = () => {
|
|
23218
23218
|
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
|
|
23219
|
-
}, this.createdAt =
|
|
23219
|
+
}, this.createdAt = At.now();
|
|
23220
23220
|
const d = {
|
|
23221
23221
|
autoplay: e,
|
|
23222
23222
|
delay: t,
|
|
@@ -23234,7 +23234,7 @@ var qG = 40, QG = class extends cm {
|
|
|
23234
23234
|
onKeyframesResolved(e, t, r, n) {
|
|
23235
23235
|
this.keyframeResolver = void 0;
|
|
23236
23236
|
const { name: i, type: o, velocity: a, delay: s, isHandoff: l, onUpdate: c } = r;
|
|
23237
|
-
this.resolvedAt =
|
|
23237
|
+
this.resolvedAt = At.now(), $G(e, i, o, a) || ((Zr.instantAnimations || !s) && c?.(lm(e, r, t)), e[0] = e[e.length - 1], Jd(r), r.repeat = 0);
|
|
23238
23238
|
const u = {
|
|
23239
23239
|
startTime: n ? this.resolvedAt ? this.resolvedAt - this.createdAt > qG ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
|
|
23240
23240
|
finalKeyframe: t,
|
|
@@ -23504,13 +23504,13 @@ var OS = /* @__PURE__ */ new Set([
|
|
|
23504
23504
|
]), fy = 30, dj = (e) => !isNaN(parseFloat(e)), fa = { current: void 0 }, fj = class {
|
|
23505
23505
|
constructor(e, t = {}) {
|
|
23506
23506
|
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (r) => {
|
|
23507
|
-
const n =
|
|
23507
|
+
const n = At.now();
|
|
23508
23508
|
if (this.updatedAt !== n && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(r), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents))
|
|
23509
23509
|
for (const i of this.dependents) i.dirty();
|
|
23510
23510
|
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
|
|
23511
23511
|
}
|
|
23512
23512
|
setCurrent(e) {
|
|
23513
|
-
this.current = e, this.updatedAt =
|
|
23513
|
+
this.current = e, this.updatedAt = At.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = dj(this.current));
|
|
23514
23514
|
}
|
|
23515
23515
|
setPrevFrameValue(e = this.current) {
|
|
23516
23516
|
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
|
|
@@ -23558,7 +23558,7 @@ var OS = /* @__PURE__ */ new Set([
|
|
|
23558
23558
|
return this.prev;
|
|
23559
23559
|
}
|
|
23560
23560
|
getVelocity() {
|
|
23561
|
-
const e =
|
|
23561
|
+
const e = At.now();
|
|
23562
23562
|
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > fy) return 0;
|
|
23563
23563
|
const t = Math.min(this.updatedAt - this.prevUpdatedAt, fy);
|
|
23564
23564
|
return XA(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
|
|
@@ -24206,7 +24206,7 @@ var JS = class {
|
|
|
24206
24206
|
this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = dm, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
|
|
24207
24207
|
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
|
|
24208
24208
|
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
|
|
24209
|
-
const f =
|
|
24209
|
+
const f = At.now();
|
|
24210
24210
|
this.renderScheduledAt < f && (this.renderScheduledAt = f, Ie.render(this.render, !1, !0));
|
|
24211
24211
|
};
|
|
24212
24212
|
const { latestValues: l, renderState: c } = a;
|
|
@@ -24888,26 +24888,26 @@ function Ry(e, t) {
|
|
|
24888
24888
|
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
|
|
24889
24889
|
}
|
|
24890
24890
|
var Mz = 0.9999, Ez = 1.0001, kz = -0.01, Cz = 0.01;
|
|
24891
|
-
function
|
|
24891
|
+
function St(e) {
|
|
24892
24892
|
return e.max - e.min;
|
|
24893
24893
|
}
|
|
24894
24894
|
function Pz(e, t, r) {
|
|
24895
24895
|
return Math.abs(e - t) <= r;
|
|
24896
24896
|
}
|
|
24897
24897
|
function Iy(e, t, r, n = 0.5) {
|
|
24898
|
-
e.origin = n, e.originPoint = Ve(t.min, t.max, e.origin), e.scale =
|
|
24898
|
+
e.origin = n, e.originPoint = Ve(t.min, t.max, e.origin), e.scale = St(r) / St(t), e.translate = Ve(r.min, r.max, e.origin) - e.originPoint, (e.scale >= Mz && e.scale <= Ez || isNaN(e.scale)) && (e.scale = 1), (e.translate >= kz && e.translate <= Cz || isNaN(e.translate)) && (e.translate = 0);
|
|
24899
24899
|
}
|
|
24900
24900
|
function ha(e, t, r, n) {
|
|
24901
24901
|
Iy(e.x, t.x, r.x, n ? n.originX : void 0), Iy(e.y, t.y, r.y, n ? n.originY : void 0);
|
|
24902
24902
|
}
|
|
24903
24903
|
function _y(e, t, r) {
|
|
24904
|
-
e.min = r.min + t.min, e.max = e.min +
|
|
24904
|
+
e.min = r.min + t.min, e.max = e.min + St(t);
|
|
24905
24905
|
}
|
|
24906
24906
|
function Rz(e, t, r) {
|
|
24907
24907
|
_y(e.x, t.x, r.x), _y(e.y, t.y, r.y);
|
|
24908
24908
|
}
|
|
24909
24909
|
function Ly(e, t, r) {
|
|
24910
|
-
e.min = t.min - r.min, e.max = e.min +
|
|
24910
|
+
e.min = t.min - r.min, e.max = e.min + St(t);
|
|
24911
24911
|
}
|
|
24912
24912
|
function Ol(e, t, r) {
|
|
24913
24913
|
Ly(e.x, t.x, r.x), Ly(e.y, t.y, r.y);
|
|
@@ -24954,7 +24954,7 @@ function gT(e, t) {
|
|
|
24954
24954
|
return Vy(e.x, t.x) && Vy(e.y, t.y);
|
|
24955
24955
|
}
|
|
24956
24956
|
function Hy(e) {
|
|
24957
|
-
return
|
|
24957
|
+
return St(e.x) / St(e.y);
|
|
24958
24958
|
}
|
|
24959
24959
|
function Wy(e, t) {
|
|
24960
24960
|
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
|
|
@@ -25016,7 +25016,7 @@ var Hz = (e, t) => e.depth - t.depth, Wz = class {
|
|
|
25016
25016
|
}
|
|
25017
25017
|
};
|
|
25018
25018
|
function Uz(e, t) {
|
|
25019
|
-
const r =
|
|
25019
|
+
const r = At.now(), n = ({ timestamp: i }) => {
|
|
25020
25020
|
const o = i - r;
|
|
25021
25021
|
o >= t && (en(n), e(o - t));
|
|
25022
25022
|
};
|
|
@@ -25221,8 +25221,8 @@ function xT({ attachResizeListener: e, defaultParent: t, measureScroll: r, check
|
|
|
25221
25221
|
return;
|
|
25222
25222
|
}
|
|
25223
25223
|
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Qz), this.nodes.forEach($z), this.nodes.forEach(Yz)) : this.nodes.forEach($y), this.clearAllSnapshots();
|
|
25224
|
-
const a =
|
|
25225
|
-
|
|
25224
|
+
const a = At.now();
|
|
25225
|
+
ut.delta = Or(0, 1e3 / 60, a - ut.timestamp), ut.timestamp = a, ut.isProcessing = !0, Tu.update.process(ut), Tu.preRender.process(ut), Tu.render.process(ut), ut.isProcessing = !1;
|
|
25226
25226
|
}
|
|
25227
25227
|
didUpdate() {
|
|
25228
25228
|
this.updateScheduled || (this.updateScheduled = !0, xm.read(this.scheduleUpdate));
|
|
@@ -25239,7 +25239,7 @@ function xT({ attachResizeListener: e, defaultParent: t, measureScroll: r, check
|
|
|
25239
25239
|
});
|
|
25240
25240
|
}
|
|
25241
25241
|
updateSnapshot() {
|
|
25242
|
-
this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !
|
|
25242
|
+
this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !St(this.snapshot.measuredBox.x) && !St(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
|
|
25243
25243
|
}
|
|
25244
25244
|
updateLayout() {
|
|
25245
25245
|
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
|
|
@@ -25335,7 +25335,7 @@ function xT({ attachResizeListener: e, defaultParent: t, measureScroll: r, check
|
|
|
25335
25335
|
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
|
|
25336
25336
|
}
|
|
25337
25337
|
forceRelativeParentToResolveTarget() {
|
|
25338
|
-
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !==
|
|
25338
|
+
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== ut.timestamp && this.relativeParent.resolveTargetDelta(!0);
|
|
25339
25339
|
}
|
|
25340
25340
|
resolveTargetDelta(a = !1) {
|
|
25341
25341
|
const s = this.getLead();
|
|
@@ -25344,7 +25344,7 @@ function xT({ attachResizeListener: e, defaultParent: t, measureScroll: r, check
|
|
|
25344
25344
|
if (!(a || l && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;
|
|
25345
25345
|
const { layout: c, layoutId: u } = this.options;
|
|
25346
25346
|
if (!this.layout || !(c || u)) return;
|
|
25347
|
-
this.resolvedRelativeTargetAt =
|
|
25347
|
+
this.resolvedRelativeTargetAt = ut.timestamp;
|
|
25348
25348
|
const d = this.getClosestProjectingParent();
|
|
25349
25349
|
d && this.linkedParentVersion !== d.layoutVersion && !d.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (d && d.layout ? this.createRelativeTarget(d, this.layout.layoutBox, d.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Ze(), this.targetWithTransforms = Ze()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Rz(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : er(this.target, this.layout.layoutBox), rT(this.target, this.targetDelta)) : er(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, d && !!d.resumingFrom == !!this.resumingFrom && !d.options.layoutScroll && d.target && this.animationProgress !== 1 ? this.createRelativeTarget(d, this.target, d.target) : this.relativeParent = this.relativeTarget = void 0), Tr.value && Wn.calculatedTargetDeltas++);
|
|
25350
25350
|
}
|
|
@@ -25364,7 +25364,7 @@ function xT({ attachResizeListener: e, defaultParent: t, measureScroll: r, check
|
|
|
25364
25364
|
calcProjection() {
|
|
25365
25365
|
const a = this.getLead(), s = !!this.resumingFrom || this !== a;
|
|
25366
25366
|
let l = !0;
|
|
25367
|
-
if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (l = !1), s && (this.isSharedProjectionDirty || this.isTransformDirty) && (l = !1), this.resolvedRelativeTargetAt ===
|
|
25367
|
+
if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (l = !1), s && (this.isSharedProjectionDirty || this.isTransformDirty) && (l = !1), this.resolvedRelativeTargetAt === ut.timestamp && (l = !1), l) return;
|
|
25368
25368
|
const { layout: c, layoutId: u } = this.options;
|
|
25369
25369
|
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(c || u)) return;
|
|
25370
25370
|
er(this.layoutCorrected, this.layout.layoutBox);
|
|
@@ -25436,9 +25436,9 @@ function xT({ attachResizeListener: e, defaultParent: t, measureScroll: r, check
|
|
|
25436
25436
|
if (!(!s || !l || !c)) {
|
|
25437
25437
|
if (this !== a && this.layout && c && wT(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
|
|
25438
25438
|
l = this.target || Ze();
|
|
25439
|
-
const d =
|
|
25439
|
+
const d = St(this.layout.layoutBox.x);
|
|
25440
25440
|
l.x.min = a.target.x.min, l.x.max = l.x.min + d;
|
|
25441
|
-
const f =
|
|
25441
|
+
const f = St(this.layout.layoutBox.y);
|
|
25442
25442
|
l.y.min = a.target.y.min, l.y.max = l.y.min + f;
|
|
25443
25443
|
}
|
|
25444
25444
|
er(s, l), Ki(s, u), ha(this.projectionDeltaWithTransform, this.layoutCorrected, s, u);
|
|
@@ -25540,10 +25540,10 @@ function Yz(e) {
|
|
|
25540
25540
|
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
|
|
25541
25541
|
const { layoutBox: r, measuredBox: n } = e.layout, { animationType: i } = e.options, o = t.source !== e.layout.source;
|
|
25542
25542
|
i === "size" ? vr((u) => {
|
|
25543
|
-
const d = o ? t.measuredBox[u] : t.layoutBox[u], f =
|
|
25543
|
+
const d = o ? t.measuredBox[u] : t.layoutBox[u], f = St(d);
|
|
25544
25544
|
d.min = r[u].min, d.max = d.min + f;
|
|
25545
25545
|
}) : wT(i, t.layoutBox, r) && vr((u) => {
|
|
25546
|
-
const d = o ? t.measuredBox[u] : t.layoutBox[u], f =
|
|
25546
|
+
const d = o ? t.measuredBox[u] : t.layoutBox[u], f = St(r[u]);
|
|
25547
25547
|
d.max = d.min + f, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[u].max = e.relativeTarget[u].min + f);
|
|
25548
25548
|
});
|
|
25549
25549
|
const a = $i();
|
|
@@ -25668,7 +25668,7 @@ var s$ = xT({
|
|
|
25668
25668
|
e.style.transform = t !== void 0 ? t : "none";
|
|
25669
25669
|
},
|
|
25670
25670
|
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
|
|
25671
|
-
}), km =
|
|
25671
|
+
}), km = Je({
|
|
25672
25672
|
transformPagePoint: (e) => e,
|
|
25673
25673
|
isStatic: !1,
|
|
25674
25674
|
reducedMotion: "never"
|
|
@@ -25676,7 +25676,7 @@ var s$ = xT({
|
|
|
25676
25676
|
function l$(e = !0) {
|
|
25677
25677
|
const t = ye(Jh);
|
|
25678
25678
|
if (t === null) return [!0, null];
|
|
25679
|
-
const { isPresent: r, onExitComplete: n, register: i } = t, o =
|
|
25679
|
+
const { isPresent: r, onExitComplete: n, register: i } = t, o = ft();
|
|
25680
25680
|
Te(() => {
|
|
25681
25681
|
if (e) return i(o);
|
|
25682
25682
|
}, [e]);
|
|
@@ -25687,7 +25687,7 @@ function l$(e = !0) {
|
|
|
25687
25687
|
]);
|
|
25688
25688
|
return !r && n ? [!1, a] : [!0];
|
|
25689
25689
|
}
|
|
25690
|
-
var ST =
|
|
25690
|
+
var ST = Je({ strict: !1 }), Zy = {
|
|
25691
25691
|
animation: [
|
|
25692
25692
|
"animate",
|
|
25693
25693
|
"variants",
|
|
@@ -25813,7 +25813,7 @@ function p$(e, t, r) {
|
|
|
25813
25813
|
i === "values" && typeof e.values == "object" || (MT(i) || r === !0 && Fl(i) || !t && !Fl(i) || e.draggable && i.startsWith("onDrag")) && (n[i] = e[i]);
|
|
25814
25814
|
return n;
|
|
25815
25815
|
}
|
|
25816
|
-
var Rc = /* @__PURE__ */
|
|
25816
|
+
var Rc = /* @__PURE__ */ Je({});
|
|
25817
25817
|
function v$(e, t) {
|
|
25818
25818
|
if (Pc(e)) {
|
|
25819
25819
|
const { initial: r, animate: n } = e;
|
|
@@ -25980,7 +25980,7 @@ function R$(e, t, r) {
|
|
|
25980
25980
|
else a && (a.current = o);
|
|
25981
25981
|
}, [t]);
|
|
25982
25982
|
}
|
|
25983
|
-
var PT =
|
|
25983
|
+
var PT = Je({});
|
|
25984
25984
|
function Oi(e) {
|
|
25985
25985
|
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
|
|
25986
25986
|
}
|
|
@@ -26149,7 +26149,7 @@ var n0 = /* @__PURE__ */ new Set(["auto", "scroll"]), _T = class {
|
|
|
26149
26149
|
y: 0
|
|
26150
26150
|
}) >= this.distanceThreshold;
|
|
26151
26151
|
if (!f && !h) return;
|
|
26152
|
-
const { point: m } = d, { timestamp: g } =
|
|
26152
|
+
const { point: m } = d, { timestamp: g } = ut;
|
|
26153
26153
|
this.history.push({
|
|
26154
26154
|
...m,
|
|
26155
26155
|
timestamp: g
|
|
@@ -26166,7 +26166,7 @@ var n0 = /* @__PURE__ */ new Set(["auto", "scroll"]), _T = class {
|
|
|
26166
26166
|
this.startEvent && h && h(d, p), m && m(d, p);
|
|
26167
26167
|
}, !wm(e)) return;
|
|
26168
26168
|
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = r, this.distanceThreshold = o, this.contextWindow = n || window;
|
|
26169
|
-
const s = Nu(fs(e), this.transformPagePoint), { point: l } = s, { timestamp: c } =
|
|
26169
|
+
const s = Nu(fs(e), this.transformPagePoint), { point: l } = s, { timestamp: c } = ut;
|
|
26170
26170
|
this.history = [{
|
|
26171
26171
|
...l,
|
|
26172
26172
|
timestamp: c
|
|
@@ -26293,7 +26293,7 @@ function K$(e, t) {
|
|
|
26293
26293
|
}
|
|
26294
26294
|
function X$(e, t) {
|
|
26295
26295
|
let r = 0.5;
|
|
26296
|
-
const n =
|
|
26296
|
+
const n = St(e), i = St(t);
|
|
26297
26297
|
return i > n ? r = yo(t.min, t.max - n, e.min) : n > i && (r = yo(e.min, e.max - i, t.min)), Or(0, 1, r);
|
|
26298
26298
|
}
|
|
26299
26299
|
function q$(e, t) {
|
|
@@ -26338,7 +26338,7 @@ var J$ = /* @__PURE__ */ new WeakMap(), Z$ = class {
|
|
|
26338
26338
|
const { projection: x } = this.visualElement;
|
|
26339
26339
|
if (x && x.layout) {
|
|
26340
26340
|
const S = x.layout.layoutBox[p];
|
|
26341
|
-
S && (y =
|
|
26341
|
+
S && (y = St(S) * (parseFloat(y) / 100));
|
|
26342
26342
|
}
|
|
26343
26343
|
}
|
|
26344
26344
|
this.originPoint[p] = y;
|
|
@@ -27454,7 +27454,7 @@ var df = (e, t) => {
|
|
|
27454
27454
|
return 0;
|
|
27455
27455
|
}
|
|
27456
27456
|
}, x0 = 1.1, w0 = 1.5, HT = ({ intro: e, children: t }) => {
|
|
27457
|
-
const r =
|
|
27457
|
+
const r = ft();
|
|
27458
27458
|
return /* @__PURE__ */ Y(ke, { children: [/* @__PURE__ */ v("clipPath", {
|
|
27459
27459
|
id: r,
|
|
27460
27460
|
children: /* @__PURE__ */ v(it.rect, {
|
|
@@ -27478,7 +27478,7 @@ var df = (e, t) => {
|
|
|
27478
27478
|
initial: { height: 0 },
|
|
27479
27479
|
animate: { height: x0 }
|
|
27480
27480
|
}, sK = hr(function({ layer: t, coordSystem: r, shouldAnimateTransitions: n, intro: i }) {
|
|
27481
|
-
const o = i?.type === "wipe" ? i : null, { lineGenerator: a, areaGenerator: s } = W(() => dA(r, t.params), [t.params, r]), l =
|
|
27481
|
+
const o = i?.type === "wipe" ? i : null, { lineGenerator: a, areaGenerator: s } = W(() => dA(r, t.params), [t.params, r]), l = He(t), c = W(() => {
|
|
27482
27482
|
const u = Wt(t.data, t.mapping, t.id), d = [];
|
|
27483
27483
|
return t.data.groupBy(Ce.group).forEach((f) => {
|
|
27484
27484
|
const h = fA([...f], t.params.missingValues), m = s(h), g = a(h);
|
|
@@ -27565,7 +27565,7 @@ var df = (e, t) => {
|
|
|
27565
27565
|
const t = Ih(e);
|
|
27566
27566
|
return U(t) ? t / hK : fK;
|
|
27567
27567
|
}, gK = ({ layer: e, coordSystem: t, primary: r, companions: n }) => {
|
|
27568
|
-
const i =
|
|
27568
|
+
const i = He(e), o = Hr(r.observation), a = W(() => fA([...e.data.filter(Ce.group, "eq", o)], e.params.missingValues), [
|
|
27569
27569
|
e.data,
|
|
27570
27570
|
e.params.missingValues,
|
|
27571
27571
|
o
|
|
@@ -27642,7 +27642,7 @@ var df = (e, t) => {
|
|
|
27642
27642
|
y: o
|
|
27643
27643
|
};
|
|
27644
27644
|
}
|
|
27645
|
-
const r = Se(e), n =
|
|
27645
|
+
const r = Se(e), n = Ct(e) ?? Me(e);
|
|
27646
27646
|
return r === null || n === null ? null : {
|
|
27647
27647
|
x: n,
|
|
27648
27648
|
y: r
|
|
@@ -27686,7 +27686,7 @@ var df = (e, t) => {
|
|
|
27686
27686
|
width: e.width,
|
|
27687
27687
|
height: 0
|
|
27688
27688
|
}, vK = hr(function({ layer: t, coordSystem: r, shouldAnimateTransitions: n, intro: i }) {
|
|
27689
|
-
const o =
|
|
27689
|
+
const o = ft(), a = He(t), s = Ic(i?.type === "grow" && (i.growAxis === "x" || i.growAxis === "y") ? i : null, n);
|
|
27690
27690
|
return /* @__PURE__ */ v(ke, { children: W(() => {
|
|
27691
27691
|
const l = Wt(t.data, t.mapping, t.id), c = /* @__PURE__ */ new Map();
|
|
27692
27692
|
for (const u of t.data) {
|
|
@@ -27971,7 +27971,7 @@ var AK = "cartesian-bar.hover_border__9720w50", UT = (e, t, r) => {
|
|
|
27971
27971
|
"Z"
|
|
27972
27972
|
].join("");
|
|
27973
27973
|
}, SK = ({ observation: e, mainAxis: t, styleReaders: r, column: n, panelRect: i }) => {
|
|
27974
|
-
const o =
|
|
27974
|
+
const o = ft(), a = ft(), s = ko(t, e);
|
|
27975
27975
|
if (!s) return null;
|
|
27976
27976
|
const l = Hl(s, i), c = Hl(n.bounds, i), { borderColor: u, borderWidth: d, borderRadius: f, borderAlpha: h } = n.style, m = Gh({
|
|
27977
27977
|
borderRadius: f,
|
|
@@ -28014,7 +28014,7 @@ var AK = "cartesian-bar.hover_border__9720w50", UT = (e, t, r) => {
|
|
|
28014
28014
|
]
|
|
28015
28015
|
});
|
|
28016
28016
|
}, TK = ({ layer: e, sourceLayer: t, coordSystem: r, panelRect: n }) => {
|
|
28017
|
-
const i =
|
|
28017
|
+
const i = He(t), o = W(() => UT(t, r.mainAxis, i), [
|
|
28018
28018
|
t,
|
|
28019
28019
|
r.mainAxis,
|
|
28020
28020
|
i
|
|
@@ -28031,7 +28031,7 @@ var AK = "cartesian-bar.hover_border__9720w50", UT = (e, t, r) => {
|
|
|
28031
28031
|
}
|
|
28032
28032
|
return s;
|
|
28033
28033
|
}, Wu = 3, MK = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
|
|
28034
|
-
const i =
|
|
28034
|
+
const i = He(e), o = ft(), a = ft(), s = ft(), l = W(() => UT(e, t.mainAxis, i), [
|
|
28035
28035
|
e,
|
|
28036
28036
|
t.mainAxis,
|
|
28037
28037
|
i
|
|
@@ -28120,7 +28120,7 @@ var AK = "cartesian-bar.hover_border__9720w50", UT = (e, t, r) => {
|
|
|
28120
28120
|
}),
|
|
28121
28121
|
renderHoverCompanions: () => null
|
|
28122
28122
|
}, kK = hr(function({ layer: t, shouldAnimateTransitions: r, intro: n }) {
|
|
28123
|
-
const i = n?.type === "wipe" ? n : null, o = W(() => gA(t.params), [t.params]), a = W(() => F7(t.params), [t.params]), s =
|
|
28123
|
+
const i = n?.type === "wipe" ? n : null, o = W(() => gA(t.params), [t.params]), a = W(() => F7(t.params), [t.params]), s = He(t), l = W(() => {
|
|
28124
28124
|
const c = Wt(t.data, t.mapping, t.id), u = [];
|
|
28125
28125
|
return t.data.groupBy(Ce.group).forEach((d) => {
|
|
28126
28126
|
const f = pA([...d], t.params.missingValues), h = o(f);
|
|
@@ -28193,7 +28193,7 @@ var AK = "cartesian-bar.hover_border__9720w50", UT = (e, t, r) => {
|
|
|
28193
28193
|
strokeDasharray: a,
|
|
28194
28194
|
vectorEffect: "non-scaling-stroke"
|
|
28195
28195
|
}), PK = ({ fillPath: e, fillAlpha: t, linePath: r, color: n, strokeWidth: i, opacity: o, strokeDasharray: a, shouldAnimateTransitions: s }) => {
|
|
28196
|
-
const l = `line_fill_gradient_${
|
|
28196
|
+
const l = `line_fill_gradient_${ft()}`;
|
|
28197
28197
|
return /* @__PURE__ */ Y(ke, { children: [/* @__PURE__ */ v("defs", { children: /* @__PURE__ */ Y("linearGradient", {
|
|
28198
28198
|
id: l,
|
|
28199
28199
|
gradientTransform: "rotate(90 0.5 0.5)",
|
|
@@ -28236,7 +28236,7 @@ var AK = "cartesian-bar.hover_border__9720w50", UT = (e, t, r) => {
|
|
|
28236
28236
|
vectorEffect: "non-scaling-stroke"
|
|
28237
28237
|
});
|
|
28238
28238
|
}, IK = ({ layer: e, primary: t, companions: r }) => {
|
|
28239
|
-
const n =
|
|
28239
|
+
const n = He(e), i = Hr(t.observation), o = W(() => pA([...e.data.filter(Ce.group, "eq", i)], e.params.missingValues), [
|
|
28240
28240
|
e.data,
|
|
28241
28241
|
e.params.missingValues,
|
|
28242
28242
|
i
|
|
@@ -28325,7 +28325,7 @@ var AK = "cartesian-bar.hover_border__9720w50", UT = (e, t, r) => {
|
|
|
28325
28325
|
strokeWidth: m
|
|
28326
28326
|
});
|
|
28327
28327
|
}, LK = hr(function({ layer: t, shouldAnimateTransitions: r, intro: n }) {
|
|
28328
|
-
const i =
|
|
28328
|
+
const i = He(t), o = Ic(n?.type === "grow" && n.growAxis === "size" ? n : null, r);
|
|
28329
28329
|
return W(() => {
|
|
28330
28330
|
const a = o.activeIntro ? Wt(t.data, t.mapping, t.id) : null, s = [];
|
|
28331
28331
|
let l = 0;
|
|
@@ -28683,7 +28683,7 @@ var _ = {
|
|
|
28683
28683
|
}, KK = (e) => {
|
|
28684
28684
|
const t = e.trim();
|
|
28685
28685
|
return XT.test(t) ? Number.parseFloat(t) : null;
|
|
28686
|
-
},
|
|
28686
|
+
}, dt = (e, t) => `color-mix(in srgb, transparent, ${e} ${t * 100}%)`, XK = (e, t) => `hsl(from ${e} h s calc(l * ${1 - t}))`, Cle = (e, t) => `hsl(from ${e} h s calc(l * ${1 + t}))`, Di = (e) => `${e}px`, qT = {
|
|
28687
28687
|
gridLineWidth: "1px",
|
|
28688
28688
|
tooltipBorderRadius: "6px",
|
|
28689
28689
|
tooltipPaddingBlock: "8px",
|
|
@@ -28756,18 +28756,18 @@ var _ = {
|
|
|
28756
28756
|
greyGradient80: "linear-gradient(to top, #F0F0F1, #F9F9FF)"
|
|
28757
28757
|
}, JK = {
|
|
28758
28758
|
textPrimary: _.black,
|
|
28759
|
-
textSecondary:
|
|
28760
|
-
textDisabled:
|
|
28759
|
+
textSecondary: dt(_.textPrimary, 0.6),
|
|
28760
|
+
textDisabled: dt(_.textPrimary, 0.5),
|
|
28761
28761
|
iconPrimary: "currentColor",
|
|
28762
|
-
iconSecondary:
|
|
28762
|
+
iconSecondary: dt(_.textPrimary, 0.6),
|
|
28763
28763
|
iconStickerBackground: _.grey100,
|
|
28764
28764
|
brand: _.purple50,
|
|
28765
28765
|
success: _.green50,
|
|
28766
28766
|
warning: _.amber50,
|
|
28767
28767
|
alert: _.red50,
|
|
28768
28768
|
border100: _.grey0,
|
|
28769
|
-
border50:
|
|
28770
|
-
border10:
|
|
28769
|
+
border50: dt(_.grey0, 0.5),
|
|
28770
|
+
border10: dt(_.grey0, 0.1),
|
|
28771
28771
|
sunkenBackground: _.grey90,
|
|
28772
28772
|
defaultBackground: _.grey100,
|
|
28773
28773
|
raisedBackground: _.grey85,
|
|
@@ -28790,8 +28790,8 @@ var _ = {
|
|
|
28790
28790
|
tooltipBackground: _.white,
|
|
28791
28791
|
tooltipBorderColor: _.border10,
|
|
28792
28792
|
tooltipValueTextColor: _.textPrimary,
|
|
28793
|
-
hoverGuideLineColor:
|
|
28794
|
-
hoverGuideFillColor:
|
|
28793
|
+
hoverGuideLineColor: dt(_.black, 0.2),
|
|
28794
|
+
hoverGuideFillColor: dt(_.black, 0.04),
|
|
28795
28795
|
heatmapEmptyTileBackground: _.grey80,
|
|
28796
28796
|
annotationFrameBorderColor: _.blue60,
|
|
28797
28797
|
editMenuTriggerIconColor: "#3d414c"
|
|
@@ -28883,14 +28883,14 @@ var _ = {
|
|
|
28883
28883
|
greyGradient80: "linear-gradient(to top, #222429, #31353f)"
|
|
28884
28884
|
}, oX = {
|
|
28885
28885
|
textPrimary: _.grey0,
|
|
28886
|
-
textSecondary:
|
|
28887
|
-
textDisabled:
|
|
28886
|
+
textSecondary: dt(_.textPrimary, 0.8),
|
|
28887
|
+
textDisabled: dt(_.textPrimary, 0.5),
|
|
28888
28888
|
iconPrimary: "currentColor",
|
|
28889
|
-
iconSecondary:
|
|
28889
|
+
iconSecondary: dt(_.textPrimary, 0.6),
|
|
28890
28890
|
iconStickerBackground: _.grey70,
|
|
28891
28891
|
border100: _.grey0,
|
|
28892
|
-
border50:
|
|
28893
|
-
border10:
|
|
28892
|
+
border50: dt(_.grey0, 0.5),
|
|
28893
|
+
border10: dt(_.grey0, 0.1),
|
|
28894
28894
|
brand: _.purple50,
|
|
28895
28895
|
success: _.green50,
|
|
28896
28896
|
warning: _.amber50,
|
|
@@ -28917,8 +28917,8 @@ var _ = {
|
|
|
28917
28917
|
tooltipBackground: _.grey70,
|
|
28918
28918
|
tooltipBorderColor: _.grey60,
|
|
28919
28919
|
tooltipValueTextColor: _.textPrimary,
|
|
28920
|
-
hoverGuideLineColor:
|
|
28921
|
-
hoverGuideFillColor:
|
|
28920
|
+
hoverGuideLineColor: dt(_.white, 0.2),
|
|
28921
|
+
hoverGuideFillColor: dt(_.white, 0.06),
|
|
28922
28922
|
heatmapEmptyTileBackground: _.grey80,
|
|
28923
28923
|
annotationFrameBorderColor: _.blue60,
|
|
28924
28924
|
editMenuTriggerIconColor: _.white
|
|
@@ -28981,14 +28981,14 @@ function Ko(e, t) {
|
|
|
28981
28981
|
const n = Number.parseFloat(r);
|
|
28982
28982
|
return Number.isFinite(n) ? n : t;
|
|
28983
28983
|
}
|
|
28984
|
-
var lM =
|
|
28984
|
+
var lM = Je(cX), uX = ({ metrics: e, children: t }) => /* @__PURE__ */ v(lM.Provider, {
|
|
28985
28985
|
value: e,
|
|
28986
28986
|
children: t
|
|
28987
|
-
}), Lo = () => ye(lM),
|
|
28988
|
-
const { colorScheme: e } =
|
|
28987
|
+
}), Lo = () => ye(lM), $e = () => {
|
|
28988
|
+
const { colorScheme: e } = lt(), t = fe((r) => r.chrome);
|
|
28989
28989
|
return W(() => on({ colorScheme: e }).chromeReaders(t), [t, e]);
|
|
28990
28990
|
}, dX = (e) => {
|
|
28991
|
-
const t =
|
|
28991
|
+
const t = $e(), r = fe((n) => n.config.appearance.textScale);
|
|
28992
28992
|
return W(() => B8(t, e, r), [
|
|
28993
28993
|
t,
|
|
28994
28994
|
e,
|
|
@@ -29042,7 +29042,7 @@ var lM = Qe(cX), uX = ({ metrics: e, children: t }) => /* @__PURE__ */ v(lM.Prov
|
|
|
29042
29042
|
}, gX = (e) => {
|
|
29043
29043
|
const t = pX();
|
|
29044
29044
|
return t ? (t.style.font = e, t.getBoundingClientRect().width) : null;
|
|
29045
|
-
}, pX = () => typeof document > "u" ? null : (Ur || (Ur = document.createElement("span"), Ur.style.position = "absolute", Ur.style.visibility = "hidden", Ur.style.whiteSpace = "nowrap", Ur.style.left = "-9999px", Ur.textContent = cM, document.body.appendChild(Ur)), Ur), dM =
|
|
29045
|
+
}, pX = () => typeof document > "u" ? null : (Ur || (Ur = document.createElement("span"), Ur.style.position = "absolute", Ur.style.visibility = "hidden", Ur.style.whiteSpace = "nowrap", Ur.style.left = "-9999px", Ur.textContent = cM, document.body.appendChild(Ur)), Ur), dM = Je(null), vX = ({ children: e, measurer: t }) => {
|
|
29046
29046
|
const [r, n] = Re(null);
|
|
29047
29047
|
Te(() => {
|
|
29048
29048
|
if (t !== void 0) return;
|
|
@@ -29069,7 +29069,7 @@ var lM = Qe(cX), uX = ({ metrics: e, children: t }) => /* @__PURE__ */ v(lM.Prov
|
|
|
29069
29069
|
} catch {
|
|
29070
29070
|
return new zv(new wU());
|
|
29071
29071
|
}
|
|
29072
|
-
}, fM =
|
|
29072
|
+
}, fM = Je(null), bX = fM.Provider, xX = null, an = () => ye(fM) ?? (xX ??= AM()), wX = "cartesian-rule_group__1d0mbae0", AX = (e, t) => e.mapping.y !== void 0 != (t.mainAxis === "y"), SX = (e, t) => {
|
|
29073
29073
|
const r = ne(e ? 1 - t : t);
|
|
29074
29074
|
return e ? {
|
|
29075
29075
|
x1: "0%",
|
|
@@ -29089,7 +29089,7 @@ var lM = Qe(cX), uX = ({ metrics: e, children: t }) => /* @__PURE__ */ v(lM.Prov
|
|
|
29089
29089
|
strokeLinecap: "round",
|
|
29090
29090
|
...e === "dashed" ? { strokeMiterlimit: 16 } : {}
|
|
29091
29091
|
};
|
|
29092
|
-
}, MX = (e, t) => Us(e) && Us(t) ? `${e}: ${t}` : Us(e) ? e : Us(t) ? t : null, Us = (e) => e != null && e.trim() !== "", hM = Object.freeze({}), Dm =
|
|
29092
|
+
}, MX = (e, t) => Us(e) && Us(t) ? `${e}: ${t}` : Us(e) ? e : Us(t) ? t : null, Us = (e) => e != null && e.trim() !== "", hM = Object.freeze({}), Dm = Je(hM), EX = ({ slots: e, children: t }) => /* @__PURE__ */ v(Dm.Provider, {
|
|
29093
29093
|
value: e ?? hM,
|
|
29094
29094
|
children: t
|
|
29095
29095
|
});
|
|
@@ -29366,7 +29366,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
29366
29366
|
h,
|
|
29367
29367
|
p,
|
|
29368
29368
|
o
|
|
29369
|
-
]), x =
|
|
29369
|
+
]), x = He(t), S = t.data.getFirst();
|
|
29370
29370
|
if (!S) return null;
|
|
29371
29371
|
const E = x.get("color", S), P = Rb(E), A = AX(t, r), O = A ? Se(S) : Me(S);
|
|
29372
29372
|
return O === null ? null : /* @__PURE__ */ Y("g", {
|
|
@@ -29405,7 +29405,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
29405
29405
|
renderHover: () => null,
|
|
29406
29406
|
renderHoverCompanions: () => null
|
|
29407
29407
|
}, $X = hr(function({ layer: t, shouldAnimateTransitions: r, intro: n }) {
|
|
29408
|
-
const i = n?.type === "fade" ? n : null, o =
|
|
29408
|
+
const i = n?.type === "fade" ? n : null, o = He(t), a = W(() => {
|
|
29409
29409
|
const s = W7(t.data, t.mapping, t.id), l = [];
|
|
29410
29410
|
for (const c of t.data) {
|
|
29411
29411
|
const u = Dh(c);
|
|
@@ -29454,7 +29454,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
29454
29454
|
opacity: t.opacity,
|
|
29455
29455
|
rx: 8
|
|
29456
29456
|
}), Xo = 2, KX = ({ layer: e, primary: t, panelRect: r }) => {
|
|
29457
|
-
const n =
|
|
29457
|
+
const n = He(e), i = Dh(t.observation);
|
|
29458
29458
|
if (!i || !os(t.observation)) return null;
|
|
29459
29459
|
const o = n.get("color", t.observation), a = n.get("alpha", t.observation), s = n.get("borderColor", t.observation, "hovered") ?? "#ffffff", l = i.x * r.width, c = i.y * r.height, u = i.width * r.width, d = i.height * r.height;
|
|
29460
29460
|
return /* @__PURE__ */ Y("g", {
|
|
@@ -29512,7 +29512,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
29512
29512
|
const n = r.map((i) => `L ${i.x} ${i.y}`).join(" ");
|
|
29513
29513
|
return `M ${t.x} ${t.y} ${n} Z`;
|
|
29514
29514
|
}, qX = hr(function({ layer: t }) {
|
|
29515
|
-
const r =
|
|
29515
|
+
const r = He(t), n = W(() => {
|
|
29516
29516
|
const i = Wt(t.data, t.mapping, t.id), o = [];
|
|
29517
29517
|
return t.data.groupBy(Ce.group).forEach((a) => {
|
|
29518
29518
|
const s = [...a], l = mM(s);
|
|
@@ -29573,7 +29573,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
29573
29573
|
outlinePath: i
|
|
29574
29574
|
};
|
|
29575
29575
|
}, QX = ({ layer: e, primary: t, companions: r }) => {
|
|
29576
|
-
const n =
|
|
29576
|
+
const n = He(e), i = Hr(t.observation), o = W(() => mM([...e.data.filter(Ce.group, "eq", i)]), [e.data, i]);
|
|
29577
29577
|
if (!o) return null;
|
|
29578
29578
|
const a = n.get("color", t.observation), s = n.get("alpha", t.observation), l = n.get("strokeAlpha", t.observation), c = n.get("strokeWidth", t.observation);
|
|
29579
29579
|
return /* @__PURE__ */ Y(ke, { children: [
|
|
@@ -29637,7 +29637,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
29637
29637
|
strokeWidth: t,
|
|
29638
29638
|
vectorEffect: "non-scaling-stroke"
|
|
29639
29639
|
}), ZX = hr(function({ layer: t, coordSystem: r, shouldAnimateTransitions: n, intro: i }) {
|
|
29640
|
-
const o =
|
|
29640
|
+
const o = ft(), a = Ic(i?.type === "grow" && (i.growAxis === "angle" || i.growAxis === "radius") ? i : null, n), s = r.bandAxis !== "x", l = He(t), c = W(() => {
|
|
29641
29641
|
const u = Wt(t.data, t.mapping, t.id), d = /* @__PURE__ */ new Map();
|
|
29642
29642
|
for (const f of t.data) {
|
|
29643
29643
|
const h = u(f), { startAngle: m, endAngle: g } = as(f), { innerRadius: p, outerRadius: y } = Mo(f);
|
|
@@ -29855,7 +29855,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
29855
29855
|
radialSpan: i === null ? 0 : i.outerRadius - i.innerRadius
|
|
29856
29856
|
};
|
|
29857
29857
|
}, yM = ({ observation: e, bandAxis: t, styleReaders: r, group: n }) => {
|
|
29858
|
-
const i =
|
|
29858
|
+
const i = ft(), o = ft(), { startAngle: a, endAngle: s } = as(e), { innerRadius: l, outerRadius: c } = Mo(e);
|
|
29859
29859
|
if (a === null || s === null || l === null || c === null) return null;
|
|
29860
29860
|
const u = {
|
|
29861
29861
|
startAngle: a,
|
|
@@ -29917,7 +29917,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
29917
29917
|
]
|
|
29918
29918
|
});
|
|
29919
29919
|
}, nq = ({ layer: e, sourceLayer: t, coordSystem: r }) => {
|
|
29920
|
-
const n =
|
|
29920
|
+
const n = He(t), i = W(() => pM(t, r.bandAxis, n), [
|
|
29921
29921
|
t,
|
|
29922
29922
|
r.bandAxis,
|
|
29923
29923
|
n
|
|
@@ -29978,7 +29978,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
29978
29978
|
startSpoke: !e.startSpoke,
|
|
29979
29979
|
endSpoke: !e.endSpoke
|
|
29980
29980
|
}), aq = ({ layer: e, coordSystem: t, primary: r }) => {
|
|
29981
|
-
const n =
|
|
29981
|
+
const n = He(e), i = vM(W(() => pM(e, t.bandAxis, n), [
|
|
29982
29982
|
e,
|
|
29983
29983
|
t.bandAxis,
|
|
29984
29984
|
n
|
|
@@ -30021,7 +30021,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
30021
30021
|
}),
|
|
30022
30022
|
renderHoverCompanions: () => null
|
|
30023
30023
|
}, lq = hr(function({ layer: t }) {
|
|
30024
|
-
const r =
|
|
30024
|
+
const r = He(t), n = W(() => {
|
|
30025
30025
|
const i = Wt(t.data, t.mapping, t.id), o = [];
|
|
30026
30026
|
return t.data.groupBy(Ce.group).forEach((a) => {
|
|
30027
30027
|
const s = [...a], l = xM(s);
|
|
@@ -30070,7 +30070,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
30070
30070
|
}
|
|
30071
30071
|
return t.length === 0 ? null : (t.sort((r, n) => r.angle - n.angle), hf(t.map((r) => r.point)));
|
|
30072
30072
|
}, cq = ({ layer: e, primary: t, companions: r }) => {
|
|
30073
|
-
const n =
|
|
30073
|
+
const n = He(e), i = Hr(t.observation), o = W(() => xM([...e.data.filter(Ce.group, "eq", i)]), [e.data, i]);
|
|
30074
30074
|
if (!o) return null;
|
|
30075
30075
|
const a = n.get("color", t.observation), s = n.get("alpha", t.observation), l = n.get("strokeWidth", t.observation), c = Eo(n.get("lineType", t.observation));
|
|
30076
30076
|
return /* @__PURE__ */ Y(ke, { children: [
|
|
@@ -30125,7 +30125,7 @@ var PX = "swatch_root__1uv26hu0", RX = 2, IX = 12, _X = 12, C0 = 1, P0 = 2, LX =
|
|
|
30125
30125
|
};
|
|
30126
30126
|
}
|
|
30127
30127
|
}, dq = hr(function({ layer: t, shouldAnimateTransitions: r, intro: n }) {
|
|
30128
|
-
const i =
|
|
30128
|
+
const i = He(t), o = Ic(n?.type === "grow" && n.growAxis === "size" ? n : null, r);
|
|
30129
30129
|
return W(() => {
|
|
30130
30130
|
const a = o.activeIntro ? Wt(t.data, t.mapping, t.id) : null, s = [];
|
|
30131
30131
|
let l = 0;
|
|
@@ -30546,7 +30546,7 @@ var Iq = (e) => ls((t) => ({
|
|
|
30546
30546
|
notify: () => e.forEach((t) => t())
|
|
30547
30547
|
};
|
|
30548
30548
|
}, Dq = {}, TM = ({ data: e, input: t, plugins: r = [], formattingLocale: n, handleRef: i, onChange: o, onError: a, onWarnings: s, customPalettes: l, colorScheme: c = "light", themeOverrides: u = Dq, children: d }) => {
|
|
30549
|
-
const [f] = Re(() => AM(r.filter(SM))), h =
|
|
30549
|
+
const [f] = Re(() => AM(r.filter(SM))), h = ft(), [m] = Re(() => gH(r)), [g] = Re(() => pq()), { store: p, dispatch: y, seal: x, history: S, subscribe: E, getCompiled: P, compileBus: A, compileErrors: O } = _q({
|
|
30550
30550
|
input: t,
|
|
30551
30551
|
data: e,
|
|
30552
30552
|
customPalettes: l,
|
|
@@ -30661,7 +30661,7 @@ var Nq = () => {
|
|
|
30661
30661
|
}
|
|
30662
30662
|
i.update(r);
|
|
30663
30663
|
}, [i, r]), i;
|
|
30664
|
-
}, MM =
|
|
30664
|
+
}, MM = Je(null), Bq = ({ children: e }) => {
|
|
30665
30665
|
const { layers: t, coordSystem: r } = fe(Xt((s) => ({
|
|
30666
30666
|
layers: s.layers,
|
|
30667
30667
|
coordSystem: s.coordSystem
|
|
@@ -30866,7 +30866,7 @@ var uQ = "dev-tools-panel_theadRow__58flceh", dQ = "dev-tools-panel_historyHeade
|
|
|
30866
30866
|
cached: "dev-tools-panel_dot_cached__58flcer dev-tools-panel_dotBase__58flcep",
|
|
30867
30867
|
untouched: "dev-tools-panel_dot_untouched__58flces dev-tools-panel_dotBase__58flcep"
|
|
30868
30868
|
}, _le = ({ width: e = 380, style: t, className: r } = {}) => {
|
|
30869
|
-
const { compileBus: n } =
|
|
30869
|
+
const { compileBus: n } = lt(), [i] = Re(() => xq()), [o, a] = Re(!1), [s, l] = Re(I_);
|
|
30870
30870
|
Te(() => {
|
|
30871
30871
|
const { recordCompile: m } = i.getState(), g = n.getLastTrigger(), p = n.getLastCompile();
|
|
30872
30872
|
return g && p && m(g, p), n.subscribe(m);
|
|
@@ -31409,37 +31409,37 @@ function _Q(e) {
|
|
|
31409
31409
|
}
|
|
31410
31410
|
return t;
|
|
31411
31411
|
}
|
|
31412
|
-
var
|
|
31412
|
+
var Ue = /* @__PURE__ */ (function(e) {
|
|
31413
31413
|
return e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag", e;
|
|
31414
31414
|
})({}), Gl = /* @__PURE__ */ (function(e) {
|
|
31415
31415
|
return e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime", e;
|
|
31416
31416
|
})({});
|
|
31417
31417
|
function H0(e) {
|
|
31418
|
-
return e.type ===
|
|
31418
|
+
return e.type === Ue.literal;
|
|
31419
31419
|
}
|
|
31420
31420
|
function LQ(e) {
|
|
31421
|
-
return e.type ===
|
|
31421
|
+
return e.type === Ue.argument;
|
|
31422
31422
|
}
|
|
31423
31423
|
function OM(e) {
|
|
31424
|
-
return e.type ===
|
|
31424
|
+
return e.type === Ue.number;
|
|
31425
31425
|
}
|
|
31426
31426
|
function FM(e) {
|
|
31427
|
-
return e.type ===
|
|
31427
|
+
return e.type === Ue.date;
|
|
31428
31428
|
}
|
|
31429
31429
|
function BM(e) {
|
|
31430
|
-
return e.type ===
|
|
31430
|
+
return e.type === Ue.time;
|
|
31431
31431
|
}
|
|
31432
31432
|
function VM(e) {
|
|
31433
|
-
return e.type ===
|
|
31433
|
+
return e.type === Ue.select;
|
|
31434
31434
|
}
|
|
31435
31435
|
function HM(e) {
|
|
31436
|
-
return e.type ===
|
|
31436
|
+
return e.type === Ue.plural;
|
|
31437
31437
|
}
|
|
31438
31438
|
function DQ(e) {
|
|
31439
|
-
return e.type ===
|
|
31439
|
+
return e.type === Ue.pound;
|
|
31440
31440
|
}
|
|
31441
31441
|
function WM(e) {
|
|
31442
|
-
return e.type ===
|
|
31442
|
+
return e.type === Ue.tag;
|
|
31443
31443
|
}
|
|
31444
31444
|
function UM(e) {
|
|
31445
31445
|
return !!(e && typeof e == "object" && e.type === Gl.number);
|
|
@@ -32693,7 +32693,7 @@ var zQ = class {
|
|
|
32693
32693
|
if (i === 35 && (t === "plural" || t === "selectordinal")) {
|
|
32694
32694
|
const o = this.clonePosition();
|
|
32695
32695
|
this.bump(), n.push({
|
|
32696
|
-
type:
|
|
32696
|
+
type: Ue.pound,
|
|
32697
32697
|
location: ge(o, this.clonePosition())
|
|
32698
32698
|
});
|
|
32699
32699
|
} else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
@@ -32721,7 +32721,7 @@ var zQ = class {
|
|
|
32721
32721
|
const n = this.parseTagName();
|
|
32722
32722
|
if (this.bumpSpace(), this.bumpIf("/>")) return {
|
|
32723
32723
|
val: {
|
|
32724
|
-
type:
|
|
32724
|
+
type: Ue.literal,
|
|
32725
32725
|
value: `<${n}/>`,
|
|
32726
32726
|
location: ge(r, this.clonePosition())
|
|
32727
32727
|
},
|
|
@@ -32736,7 +32736,7 @@ var zQ = class {
|
|
|
32736
32736
|
const s = this.clonePosition();
|
|
32737
32737
|
return n !== this.parseTagName() ? this.error(ve.UNMATCHED_CLOSING_TAG, ge(s, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
32738
32738
|
val: {
|
|
32739
|
-
type:
|
|
32739
|
+
type: Ue.tag,
|
|
32740
32740
|
value: n,
|
|
32741
32741
|
children: o,
|
|
32742
32742
|
location: ge(r, this.clonePosition())
|
|
@@ -32775,7 +32775,7 @@ var zQ = class {
|
|
|
32775
32775
|
const i = ge(r, this.clonePosition());
|
|
32776
32776
|
return {
|
|
32777
32777
|
val: {
|
|
32778
|
-
type:
|
|
32778
|
+
type: Ue.literal,
|
|
32779
32779
|
value: n,
|
|
32780
32780
|
location: i
|
|
32781
32781
|
},
|
|
@@ -32833,7 +32833,7 @@ var zQ = class {
|
|
|
32833
32833
|
case 125:
|
|
32834
32834
|
return this.bump(), {
|
|
32835
32835
|
val: {
|
|
32836
|
-
type:
|
|
32836
|
+
type: Ue.argument,
|
|
32837
32837
|
value: n,
|
|
32838
32838
|
location: ge(r, this.clonePosition())
|
|
32839
32839
|
},
|
|
@@ -32882,7 +32882,7 @@ var zQ = class {
|
|
|
32882
32882
|
const d = this.parseNumberSkeletonFromString(u, s.styleLocation);
|
|
32883
32883
|
return d.err ? d : {
|
|
32884
32884
|
val: {
|
|
32885
|
-
type:
|
|
32885
|
+
type: Ue.number,
|
|
32886
32886
|
value: r,
|
|
32887
32887
|
location: c,
|
|
32888
32888
|
style: d.val
|
|
@@ -32901,7 +32901,7 @@ var zQ = class {
|
|
|
32901
32901
|
};
|
|
32902
32902
|
return {
|
|
32903
32903
|
val: {
|
|
32904
|
-
type: o === "date" ?
|
|
32904
|
+
type: o === "date" ? Ue.date : Ue.time,
|
|
32905
32905
|
value: r,
|
|
32906
32906
|
location: c,
|
|
32907
32907
|
style: f
|
|
@@ -32912,7 +32912,7 @@ var zQ = class {
|
|
|
32912
32912
|
}
|
|
32913
32913
|
return {
|
|
32914
32914
|
val: {
|
|
32915
|
-
type: o === "number" ?
|
|
32915
|
+
type: o === "number" ? Ue.number : o === "date" ? Ue.date : Ue.time,
|
|
32916
32916
|
value: r,
|
|
32917
32917
|
location: c,
|
|
32918
32918
|
style: s?.style ?? null
|
|
@@ -32941,7 +32941,7 @@ var zQ = class {
|
|
|
32941
32941
|
const f = ge(n, this.clonePosition());
|
|
32942
32942
|
return o === "select" ? {
|
|
32943
32943
|
val: {
|
|
32944
|
-
type:
|
|
32944
|
+
type: Ue.select,
|
|
32945
32945
|
value: r,
|
|
32946
32946
|
options: W0(u.val),
|
|
32947
32947
|
location: f
|
|
@@ -32949,7 +32949,7 @@ var zQ = class {
|
|
|
32949
32949
|
err: null
|
|
32950
32950
|
} : {
|
|
32951
32951
|
val: {
|
|
32952
|
-
type:
|
|
32952
|
+
type: Ue.plural,
|
|
32953
32953
|
value: r,
|
|
32954
32954
|
options: W0(u.val),
|
|
32955
32955
|
offset: c,
|
|
@@ -33576,7 +33576,7 @@ var vf = ({ locale: e, formats: t, messages: r, defaultLocale: n, defaultFormats
|
|
|
33576
33576
|
const { id: h, defaultMessage: m } = u;
|
|
33577
33577
|
oJ(!!h, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
|
|
33578
33578
|
const g = String(h), p = r && Object.prototype.hasOwnProperty.call(r, g) && r[g];
|
|
33579
|
-
if (Array.isArray(p) && p.length === 1 && p[0].type ===
|
|
33579
|
+
if (Array.isArray(p) && p.length === 1 && p[0].type === Ue.literal) return p[0].value;
|
|
33580
33580
|
if (d = {
|
|
33581
33581
|
...l,
|
|
33582
33582
|
...d
|
|
@@ -33843,8 +33843,8 @@ function _J(e) {
|
|
|
33843
33843
|
}
|
|
33844
33844
|
var qM = {
|
|
33845
33845
|
...$M,
|
|
33846
|
-
textComponent:
|
|
33847
|
-
}, QM = (e) =>
|
|
33846
|
+
textComponent: We.Fragment
|
|
33847
|
+
}, QM = (e) => We.Children.toArray(e).map((t, r) => We.isValidElement(t) ? /* @__PURE__ */ v(We.Fragment, { children: t }, r) : t);
|
|
33848
33848
|
function LJ(e) {
|
|
33849
33849
|
return function(t) {
|
|
33850
33850
|
return e(QM(t));
|
|
@@ -33987,7 +33987,7 @@ var NJ = /* @__PURE__ */ Br(((e) => {
|
|
|
33987
33987
|
return p;
|
|
33988
33988
|
}
|
|
33989
33989
|
t.exports = g;
|
|
33990
|
-
})), K0 = /* @__PURE__ */ Cb(FJ(), 1), Lle = K0.default ?? K0, BJ = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ =
|
|
33990
|
+
})), K0 = /* @__PURE__ */ Cb(FJ(), 1), Lle = K0.default ?? K0, BJ = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = We.createContext(null)) : We.createContext(null), { Consumer: Dle, Provider: VJ } = BJ, HJ = VJ;
|
|
33991
33991
|
function JM(e) {
|
|
33992
33992
|
return e && Object.keys(e).reduce((t, r) => {
|
|
33993
33993
|
const n = e[r];
|
|
@@ -34035,7 +34035,7 @@ function Yu(e) {
|
|
|
34035
34035
|
defaultRichTextElements: e.defaultRichTextElements
|
|
34036
34036
|
};
|
|
34037
34037
|
}
|
|
34038
|
-
var Fm = class extends
|
|
34038
|
+
var Fm = class extends We.PureComponent {
|
|
34039
34039
|
constructor(...e) {
|
|
34040
34040
|
super(...e), G(this, "cache", YM()), G(this, "state", {
|
|
34041
34041
|
cache: this.cache,
|
|
@@ -34250,7 +34250,7 @@ var WJ = {
|
|
|
34250
34250
|
if (!e) return t;
|
|
34251
34251
|
const r = e.trim().replace("_", "-").toLowerCase();
|
|
34252
34252
|
return Object.keys(Bm).find((n) => n.toLowerCase() === r) ?? t;
|
|
34253
|
-
}, ZM =
|
|
34253
|
+
}, ZM = Je(null), JJ = [Bm], eE = () => eZ().translator, ZJ = ({ locale: e, children: t, i18nOverrides: r, dictionaries: n = JJ }) => {
|
|
34254
34254
|
const i = QJ(e), o = W(() => ({
|
|
34255
34255
|
translator: KJ({
|
|
34256
34256
|
locale: i,
|
|
@@ -35037,27 +35037,27 @@ function ob(e, t) {
|
|
|
35037
35037
|
return Math.round(t * r) / r;
|
|
35038
35038
|
}
|
|
35039
35039
|
function qu(e) {
|
|
35040
|
-
const t =
|
|
35040
|
+
const t = We.useRef(e);
|
|
35041
35041
|
return ll(() => {
|
|
35042
35042
|
t.current = e;
|
|
35043
35043
|
}), t;
|
|
35044
35044
|
}
|
|
35045
35045
|
function hE(e) {
|
|
35046
35046
|
e === void 0 && (e = {});
|
|
35047
|
-
const { placement: t = "bottom", strategy: r = "absolute", middleware: n = [], platform: i, elements: { reference: o, floating: a } = {}, transform: s = !0, whileElementsMounted: l, open: c } = e, [u, d] =
|
|
35047
|
+
const { placement: t = "bottom", strategy: r = "absolute", middleware: n = [], platform: i, elements: { reference: o, floating: a } = {}, transform: s = !0, whileElementsMounted: l, open: c } = e, [u, d] = We.useState({
|
|
35048
35048
|
x: 0,
|
|
35049
35049
|
y: 0,
|
|
35050
35050
|
strategy: r,
|
|
35051
35051
|
placement: t,
|
|
35052
35052
|
middlewareData: {},
|
|
35053
35053
|
isPositioned: !1
|
|
35054
|
-
}), [f, h] =
|
|
35054
|
+
}), [f, h] = We.useState(n);
|
|
35055
35055
|
Yl(f, n) || h(n);
|
|
35056
|
-
const [m, g] =
|
|
35056
|
+
const [m, g] = We.useState(null), [p, y] = We.useState(null), x = We.useCallback((w) => {
|
|
35057
35057
|
w !== A.current && (A.current = w, g(w));
|
|
35058
|
-
}, []), S =
|
|
35058
|
+
}, []), S = We.useCallback((w) => {
|
|
35059
35059
|
w !== O.current && (O.current = w, y(w));
|
|
35060
|
-
}, []), E = o || m, P = a || p, A =
|
|
35060
|
+
}, []), E = o || m, P = a || p, A = We.useRef(null), O = We.useRef(null), b = We.useRef(u), M = l != null, L = qu(l), R = qu(i), B = qu(c), T = We.useCallback(() => {
|
|
35061
35061
|
if (!A.current || !O.current) return;
|
|
35062
35062
|
const w = {
|
|
35063
35063
|
placement: t,
|
|
@@ -35086,7 +35086,7 @@ function hE(e) {
|
|
|
35086
35086
|
isPositioned: !1
|
|
35087
35087
|
})));
|
|
35088
35088
|
}, [c]);
|
|
35089
|
-
const I =
|
|
35089
|
+
const I = We.useRef(!1);
|
|
35090
35090
|
ll(() => (I.current = !0, () => {
|
|
35091
35091
|
I.current = !1;
|
|
35092
35092
|
}), []), ll(() => {
|
|
@@ -35101,15 +35101,15 @@ function hE(e) {
|
|
|
35101
35101
|
L,
|
|
35102
35102
|
M
|
|
35103
35103
|
]);
|
|
35104
|
-
const N =
|
|
35104
|
+
const N = We.useMemo(() => ({
|
|
35105
35105
|
reference: A,
|
|
35106
35106
|
floating: O,
|
|
35107
35107
|
setReference: x,
|
|
35108
35108
|
setFloating: S
|
|
35109
|
-
}), [x, S]), C =
|
|
35109
|
+
}), [x, S]), C = We.useMemo(() => ({
|
|
35110
35110
|
reference: E,
|
|
35111
35111
|
floating: P
|
|
35112
|
-
}), [E, P]), k =
|
|
35112
|
+
}), [E, P]), k = We.useMemo(() => {
|
|
35113
35113
|
const w = {
|
|
35114
35114
|
position: r,
|
|
35115
35115
|
left: 0,
|
|
@@ -35133,7 +35133,7 @@ function hE(e) {
|
|
|
35133
35133
|
u.x,
|
|
35134
35134
|
u.y
|
|
35135
35135
|
]);
|
|
35136
|
-
return
|
|
35136
|
+
return We.useMemo(() => ({
|
|
35137
35137
|
...u,
|
|
35138
35138
|
update: T,
|
|
35139
35139
|
refs: N,
|
|
@@ -35172,7 +35172,7 @@ var Af = (e, t) => {
|
|
|
35172
35172
|
if (e !== "none")
|
|
35173
35173
|
return `drop-shadow(${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color})`;
|
|
35174
35174
|
}, WZ = () => {
|
|
35175
|
-
const e =
|
|
35175
|
+
const e = $e(), t = fe((r) => r.config.appearance.textScale);
|
|
35176
35176
|
return W(() => V8(e, t), [e, t]);
|
|
35177
35177
|
}, UZ = /* @__PURE__ */ Eb({
|
|
35178
35178
|
get: () => jZ,
|
|
@@ -35230,7 +35230,7 @@ var zZ = n2((() => {
|
|
|
35230
35230
|
e.assignInlineVars = r;
|
|
35231
35231
|
})), YZ = /* @__PURE__ */ Br(((e, t) => {
|
|
35232
35232
|
t.exports = $Z();
|
|
35233
|
-
})), KZ = "theme-provider_root__74ffgy0", XZ = "theme-provider_portalRoot__74ffgy1", qZ = "theme-provider_inner__74ffgy2", QZ = "theme-provider_editorFocusScope__74ffgy3", JZ = "theme-provider_editorTransparencyBackdrop__74ffgy4", pE = "themes_lightTheme__1eul5320", ZZ = "themes_darkTheme__1eul5321", vE = YZ(), yE =
|
|
35233
|
+
})), KZ = "theme-provider_root__74ffgy0", XZ = "theme-provider_portalRoot__74ffgy1", qZ = "theme-provider_inner__74ffgy2", QZ = "theme-provider_editorFocusScope__74ffgy3", JZ = "theme-provider_editorTransparencyBackdrop__74ffgy4", pE = "themes_lightTheme__1eul5320", ZZ = "themes_darkTheme__1eul5321", vE = YZ(), yE = Je({
|
|
35234
35234
|
colorScheme: "light",
|
|
35235
35235
|
themeClass: pE,
|
|
35236
35236
|
inlineVarsStyle: {},
|
|
@@ -35434,7 +35434,7 @@ var hee = "tooltip_rows__1aumv52", mee = "tooltip_row__1aumv53", gee = "tooltip_
|
|
|
35434
35434
|
numberFormat: x.config.numberFormat,
|
|
35435
35435
|
parsingLocale: x.config.parsingLocale,
|
|
35436
35436
|
comments: x.annotations.comments
|
|
35437
|
-
}))), { formattingLocale: t, colorScheme: r } =
|
|
35437
|
+
}))), { formattingLocale: t, colorScheme: r } = lt(), n = ya((x) => x.hover), i = ya((x) => x.tooltipAnchor), o = ya((x) => x.isPointerSuspended), a = Mr("Tooltip", Tee), s = be(() => {
|
|
35438
35438
|
}), { cursorRef: l, isInside: c } = bee(() => s.current()), u = W(() => _W({
|
|
35439
35439
|
...e,
|
|
35440
35440
|
hover: n,
|
|
@@ -35586,7 +35586,7 @@ var hee = "tooltip_rows__1aumv52", mee = "tooltip_row__1aumv53", gee = "tooltip_
|
|
|
35586
35586
|
plansByLayerId: null,
|
|
35587
35587
|
coordKey: null,
|
|
35588
35588
|
introEndsAtMs: 0
|
|
35589
|
-
}, Um =
|
|
35589
|
+
}, Um = Je(cl), Ree = ({ intro: e, children: t }) => {
|
|
35590
35590
|
const { layers: r, coordSystem: n, scales: i } = fe(Xt((a) => ({
|
|
35591
35591
|
layers: a.layers,
|
|
35592
35592
|
coordSystem: a.coordSystem,
|
|
@@ -35631,14 +35631,14 @@ var hee = "tooltip_rows__1aumv52", mee = "tooltip_row__1aumv53", gee = "tooltip_
|
|
|
35631
35631
|
introEndsAtMs: performance.now() + a * 1e3
|
|
35632
35632
|
};
|
|
35633
35633
|
}, Dee = (e) => Math.max(0, e - performance.now()), wE = (e) => e.type === "cartesian" ? `cartesian-${e.mainAxis}` : e.type, AE = () => {
|
|
35634
|
-
const e =
|
|
35634
|
+
const e = $e(), t = fe((r) => r.config.appearance.textScale);
|
|
35635
35635
|
return W(() => {
|
|
35636
35636
|
const r = {};
|
|
35637
35637
|
for (const n of Za) r[n] = N8(e, n, t);
|
|
35638
35638
|
return r;
|
|
35639
35639
|
}, [e, t]);
|
|
35640
35640
|
}, Gc = () => {
|
|
35641
|
-
const e =
|
|
35641
|
+
const e = $e(), t = fe((r) => r.config.appearance.textScale);
|
|
35642
35642
|
return W(() => {
|
|
35643
35643
|
const r = {};
|
|
35644
35644
|
for (const n of fh) {
|
|
@@ -35649,30 +35649,30 @@ var hee = "tooltip_rows__1aumv52", mee = "tooltip_row__1aumv53", gee = "tooltip_
|
|
|
35649
35649
|
return r;
|
|
35650
35650
|
}, [e, t]);
|
|
35651
35651
|
}, SE = () => {
|
|
35652
|
-
const e =
|
|
35652
|
+
const e = $e(), t = fe((r) => r.config.appearance.textScale);
|
|
35653
35653
|
return W(() => (r) => UW(e, r, t), [e, t]);
|
|
35654
35654
|
}, TE = () => {
|
|
35655
|
-
const e =
|
|
35655
|
+
const e = $e(), t = fe((r) => r.config.appearance.textScale);
|
|
35656
35656
|
return W(() => W8(e, t), [e, t]);
|
|
35657
35657
|
}, Gm = () => {
|
|
35658
|
-
const e =
|
|
35658
|
+
const e = $e(), t = fe((r) => r.config.appearance.textScale);
|
|
35659
35659
|
return W(() => H8(e, t), [e, t]);
|
|
35660
35660
|
}, jm = () => {
|
|
35661
|
-
const e =
|
|
35661
|
+
const e = $e(), t = fe((r) => r.config.appearance.textScale);
|
|
35662
35662
|
return W(() => {
|
|
35663
35663
|
const r = {};
|
|
35664
35664
|
for (const n of Za) r[n] = O8(e, n, t);
|
|
35665
35665
|
return r;
|
|
35666
35666
|
}, [e, t]);
|
|
35667
35667
|
}, ME = () => {
|
|
35668
|
-
const e =
|
|
35668
|
+
const e = $e();
|
|
35669
35669
|
return W(() => {
|
|
35670
35670
|
const t = {};
|
|
35671
35671
|
for (const r of Za) t[r] = YW(e, r);
|
|
35672
35672
|
return t;
|
|
35673
35673
|
}, [e]);
|
|
35674
35674
|
}, Nee = ({ textMeasurer: e, tickLabelStyles: t, tickLineStyles: r, familyDefault: n }) => (i) => {
|
|
35675
|
-
const o = i.position === "top" || i.position === "bottom", a =
|
|
35675
|
+
const o = i.position === "top" || i.position === "bottom", a = Qe(i.scaleAestheticKey), { offset: s, ...l } = t[a], c = i.ticksVisible ? Math.max(s, r[a].length) : s, u = Kt(l, n), d = i.ticks.map((h) => e.measureText(h.formattedLabel, u)), f = i.labelMaxWidthPx ?? Number.POSITIVE_INFINITY;
|
|
35676
35676
|
if (o) {
|
|
35677
35677
|
if (i.labelRotation !== 0) {
|
|
35678
35678
|
const h = d.map((m) => m.width);
|
|
@@ -35681,7 +35681,7 @@ var hee = "tooltip_rows__1aumv52", mee = "tooltip_row__1aumv53", gee = "tooltip_
|
|
|
35681
35681
|
return Math.max(...d.map((h) => h.height)) + c;
|
|
35682
35682
|
}
|
|
35683
35683
|
return lb(d.map((h) => h.width), f) + c;
|
|
35684
|
-
}, lb = (e, t) => Math.min(Math.max(...e), t), Oee = ({ axisLabelStyles: e }) => (t) => bn(e[
|
|
35684
|
+
}, lb = (e, t) => Math.min(Math.max(...e), t), Oee = ({ axisLabelStyles: e }) => (t) => bn(e[Qe(t.scaleAestheticKey)]), EE = ({ textMeasurer: e, dataLabelStyles: t, familyDefault: r }) => (n, i, o) => {
|
|
35685
35685
|
const a = t[n][i], s = e.measureText(o, Kt(a, r));
|
|
35686
35686
|
return {
|
|
35687
35687
|
...s,
|
|
@@ -35762,7 +35762,7 @@ var hee = "tooltip_rows__1aumv52", mee = "tooltip_row__1aumv53", gee = "tooltip_
|
|
|
35762
35762
|
});
|
|
35763
35763
|
return Math.max(...m) + f;
|
|
35764
35764
|
}, Kee = ({ textMeasurer: e, tickLabelStyles: t, familyDefault: r }) => (n, i) => e.measureText(n, Kt(t[i], r)), Xee = Object.freeze({}), qee = ({ textMeasurer: e, textScale: t, metrics: r, overrides: n = Xee }) => {
|
|
35765
|
-
const i = AE(), o = Gc(), a = TE(), s = Gm(), l = jm(), c = ME(), u =
|
|
35765
|
+
const i = AE(), o = Gc(), a = TE(), s = Gm(), l = jm(), c = ME(), u = $e(), d = be(n);
|
|
35766
35766
|
return d.current = n, W(() => {
|
|
35767
35767
|
if (!e) return null;
|
|
35768
35768
|
const f = r.fonts.familyDefault, h = {
|
|
@@ -35873,10 +35873,10 @@ var hee = "tooltip_rows__1aumv52", mee = "tooltip_row__1aumv53", gee = "tooltip_
|
|
|
35873
35873
|
e
|
|
35874
35874
|
]);
|
|
35875
35875
|
}, Jee = (e) => !e.isVisible || e.ticks.length === 0, Zee = (e) => e.items.length === 0, ete = () => {
|
|
35876
|
-
const { formattingLocale: e } =
|
|
35876
|
+
const { formattingLocale: e } = lt(), t = fe((r) => r.config.parsingLocale);
|
|
35877
35877
|
return e ?? t;
|
|
35878
|
-
}, cb = 0.5, PE =
|
|
35879
|
-
}), IE =
|
|
35878
|
+
}, cb = 0.5, PE = Je(/* @__PURE__ */ new Map()), RE = Je(() => {
|
|
35879
|
+
}), IE = Je(/* @__PURE__ */ new Set()), tte = ({ children: e }) => {
|
|
35880
35880
|
const [t, r] = Re(() => /* @__PURE__ */ new Map()), [n] = Re(() => /* @__PURE__ */ new Set()), i = be(/* @__PURE__ */ new Map()), o = De((a, s, l) => {
|
|
35881
35881
|
const c = i.current.get(a) ?? /* @__PURE__ */ new Set();
|
|
35882
35882
|
if (l !== null) {
|
|
@@ -35896,7 +35896,7 @@ var hee = "tooltip_rows__1aumv52", mee = "tooltip_row__1aumv53", gee = "tooltip_
|
|
|
35896
35896
|
})
|
|
35897
35897
|
});
|
|
35898
35898
|
}, rte = () => ye(PE), nte = () => ye(RE), ite = (e) => {
|
|
35899
|
-
const t = nte(), r =
|
|
35899
|
+
const t = nte(), r = ft(), n = be(null);
|
|
35900
35900
|
return Te(() => {
|
|
35901
35901
|
if (typeof ResizeObserver > "u") return;
|
|
35902
35902
|
const i = n.current;
|
|
@@ -35964,11 +35964,11 @@ var hee = "tooltip_rows__1aumv52", mee = "tooltip_row__1aumv53", gee = "tooltip_
|
|
|
35964
35964
|
...r.caret,
|
|
35965
35965
|
editor: t
|
|
35966
35966
|
} })
|
|
35967
|
-
})), wte =
|
|
35967
|
+
})), wte = Je(null), Ate = xte();
|
|
35968
35968
|
function mn(e) {
|
|
35969
35969
|
return ai(ye(wte) ?? Ate, e);
|
|
35970
35970
|
}
|
|
35971
|
-
var LE =
|
|
35971
|
+
var LE = Je(null), Ste = ({ panelRect: e, children: t }) => {
|
|
35972
35972
|
const r = Mte(e);
|
|
35973
35973
|
return /* @__PURE__ */ v(LE.Provider, {
|
|
35974
35974
|
value: r,
|
|
@@ -35982,7 +35982,7 @@ var LE = Qe(null), Ste = ({ panelRect: e, children: t }) => {
|
|
|
35982
35982
|
start: r(e.start),
|
|
35983
35983
|
end: r(e.end)
|
|
35984
35984
|
}) ?? t.color, Mte = (e) => {
|
|
35985
|
-
const { formattingLocale: t } =
|
|
35985
|
+
const { formattingLocale: t } = lt(), r = Ai(), { fonts: n } = Lo(), i = mn((p) => ba(p, "difference-arrow-endpoint-drag")), o = HA(), a = SE(), { differenceArrows: s, mainAxis: l, parsingLocale: c } = fe(Xt((p) => ({
|
|
35986
35986
|
differenceArrows: p.annotations.differenceArrows,
|
|
35987
35987
|
mainAxis: p.coordSystem.type === "cartesian" ? p.coordSystem.mainAxis : "x",
|
|
35988
35988
|
parsingLocale: p.config.parsingLocale
|
|
@@ -36099,7 +36099,7 @@ var Lte = "brand-mark_glyphWell__mjr3u52", Dte = "brand-mark_glyph__mjr3u53", Nt
|
|
|
36099
36099
|
};
|
|
36100
36100
|
return 0.2126 * n(e) + 0.7152 * n(t) + 0.0722 * n(r);
|
|
36101
36101
|
}, Ute = (e, t, r = "full") => !e || t.width < 120 || t.height < 80 ? "hidden" : t.width < 200 || r === "mini" ? "mini" : "full", DE = ({ visual: e, placement: t }) => {
|
|
36102
|
-
const { background: r } = NA(
|
|
36102
|
+
const { background: r } = NA($e()), n = Vte(r);
|
|
36103
36103
|
return /* @__PURE__ */ Y("a", {
|
|
36104
36104
|
className: cr(_te, e === "mini" && "brand-mark_miniRoot__mjr3u51", t === "footer" ? Fte : Bte),
|
|
36105
36105
|
href: Rte,
|
|
@@ -36119,7 +36119,7 @@ var Lte = "brand-mark_glyphWell__mjr3u52", Dte = "brand-mark_glyph__mjr3u53", Nt
|
|
|
36119
36119
|
})]
|
|
36120
36120
|
})]
|
|
36121
36121
|
});
|
|
36122
|
-
}, Gte =
|
|
36122
|
+
}, Gte = Je({
|
|
36123
36123
|
Title: null,
|
|
36124
36124
|
Caption: null,
|
|
36125
36125
|
TextAnnotation: null
|
|
@@ -36204,14 +36204,14 @@ var rre = 22, nre = ({ ref: e, headerRect: t, mode: r = "readonly", title: n, is
|
|
|
36204
36204
|
className: "content_body__15hmocs1",
|
|
36205
36205
|
children: n
|
|
36206
36206
|
}) : /* @__PURE__ */ v($a, { content: n }))] }), ore = (e) => {
|
|
36207
|
-
const t =
|
|
36207
|
+
const t = $e(), r = fe((n) => n.config.appearance.textScale);
|
|
36208
36208
|
return W(() => Js(t, r, e), [
|
|
36209
36209
|
t,
|
|
36210
36210
|
r,
|
|
36211
36211
|
e
|
|
36212
36212
|
]);
|
|
36213
36213
|
}, NE = () => {
|
|
36214
|
-
const e =
|
|
36214
|
+
const e = $e();
|
|
36215
36215
|
return W(() => OA(e), [e]);
|
|
36216
36216
|
}, are = "headline.renderer_root__weqb70", sre = "headline.renderer_grandTotal__weqb71", lre = /* @__PURE__ */ Eb({
|
|
36217
36217
|
groupRow: () => dre,
|
|
@@ -36229,7 +36229,7 @@ var rre = 22, nre = ({ ref: e, headerRect: t, mode: r = "readonly", title: n, is
|
|
|
36229
36229
|
primary: "icon_variant_primary__q8p7at1 icon_base__q8p7at0",
|
|
36230
36230
|
secondary: "icon_variant_secondary__q8p7at2 icon_base__q8p7at0"
|
|
36231
36231
|
}, FE = ({ children: e, title: t, variant: r = "primary", size: n = "sm", ...i }) => {
|
|
36232
|
-
const o =
|
|
36232
|
+
const o = ft(), a = fre[n];
|
|
36233
36233
|
return /* @__PURE__ */ Y("svg", {
|
|
36234
36234
|
className: hre[r],
|
|
36235
36235
|
"aria-labelledby": t ? o : void 0,
|
|
@@ -36278,7 +36278,7 @@ var xre = ({ segment: e, itemStyle: t }) => {
|
|
|
36278
36278
|
className: cr(bre, e.direction === "down" && "headline-segment_trendArrowDown__1gz17pz4"),
|
|
36279
36279
|
style: {
|
|
36280
36280
|
color: o,
|
|
36281
|
-
backgroundColor: e.direction === "flat" ?
|
|
36281
|
+
backgroundColor: e.direction === "flat" ? dt(_.textPrimary, 0.1) : dt(o, 0.2)
|
|
36282
36282
|
},
|
|
36283
36283
|
children: e.direction === "flat" ? /* @__PURE__ */ v(gre, {
|
|
36284
36284
|
size: "xs",
|
|
@@ -36456,7 +36456,7 @@ var Cre = "direct-labels_item__1a6kdls2", Pre = 8, Rre = 16, Ire = 2, _re = ({ l
|
|
|
36456
36456
|
...tn(e),
|
|
36457
36457
|
lineHeight: e.lineHeight
|
|
36458
36458
|
}), Ore = "legend.renderer_root__12du00r0", Fre = () => {
|
|
36459
|
-
const e =
|
|
36459
|
+
const e = $e();
|
|
36460
36460
|
return W(() => KW(e), [e]);
|
|
36461
36461
|
}, Bre = "legend-overflow_triggerGroup__h68bv30", Vre = "legend-overflow_triggerGroupHorizontal__h68bv31", Hre = "legend-overflow_triggerGroupVertical__h68bv32", Wre = "legend-overflow_triggerGhost__h68bv33", Ure = "legend-overflow_triggerGhostHorizontal__h68bv34", Gre = "legend-overflow_triggerGhostVertical__h68bv35", jre = "legend-overflow_trigger__h68bv36", zre = "legend-overflow_triggerOpen__h68bv37", $re = "legend-overflow_triggerLabel__h68bv38";
|
|
36462
36462
|
var Yre = "pill-content_bubble__1rqnt0m0", Kre = "#9ca3af", Ju = "\0", Xre = (e, t) => {
|
|
@@ -36993,7 +36993,7 @@ var Yre = "pill-content_bubble__1rqnt0m0", Kre = "#9ca3af", Ju = "\0", Xre = (e,
|
|
|
36993
36993
|
};
|
|
36994
36994
|
}, [e, r]);
|
|
36995
36995
|
}, Nne = () => {
|
|
36996
|
-
const e =
|
|
36996
|
+
const e = $e();
|
|
36997
36997
|
return W(() => (t) => WW(e, t), [e]);
|
|
36998
36998
|
}, zc = () => mn((e) => ba(e, "move-drag")?.annotationId ?? ba(e, "shape-resize-drag")?.annotationId ?? ba(e, "arrow-endpoint-drag")?.annotationId ?? null), bs = (e) => {
|
|
36999
36999
|
const t = fe((a) => a.annotations), r = rte(), n = ote(), i = De((a) => hb(n, "cycle", a, `Annotation reference cycle detected; dropping annotation(s): ${a.join(", ")}`), [n]), o = De((a) => hb(n, "missing-ref", a, `Annotation reference target(s) no longer exist (dropped during compilation); dropping annotations referencing: ${a.join(", ")}`), [n]);
|
|
@@ -37029,7 +37029,7 @@ var Yre = "pill-content_bubble__1rqnt0m0", Kre = "#9ca3af", Ju = "\0", Xre = (e,
|
|
|
37029
37029
|
inverse: "#1D2129"
|
|
37030
37030
|
}
|
|
37031
37031
|
}, Vne = ({ computed: e, style: t, isAddressable: r }) => {
|
|
37032
|
-
const n =
|
|
37032
|
+
const n = ft(), { colorScheme: i } = Wm(), o = e.dashArray ? {
|
|
37033
37033
|
strokeDasharray: e.dashArray,
|
|
37034
37034
|
strokeDashoffset: e.dashOffset
|
|
37035
37035
|
} : {}, a = t.shadow === "none" ? null : t.shadow, s = t.borderWidth > 0, l = Bne[i], c = t.borderColor ?? Une(t.color, l.primary, l.inverse), u = a === null ? null : Wne(e, t.borderWidth, a.blur);
|
|
@@ -37140,7 +37140,7 @@ var Yre = "pill-content_bubble__1rqnt0m0", Kre = "#9ca3af", Ju = "\0", Xre = (e,
|
|
|
37140
37140
|
}, a.id))
|
|
37141
37141
|
});
|
|
37142
37142
|
}, jne = () => {
|
|
37143
|
-
const { selectionStore: e } =
|
|
37143
|
+
const { selectionStore: e } = lt();
|
|
37144
37144
|
return ai(e, (t) => t.selection);
|
|
37145
37145
|
}, zne = ({ linePath: e, arrowheadPath: t, stroke: r, strokeWidth: n, isAddressable: i }) => {
|
|
37146
37146
|
const o = {
|
|
@@ -37230,14 +37230,14 @@ var Yre = "pill-content_bubble__1rqnt0m0", Kre = "#9ca3af", Ju = "\0", Xre = (e,
|
|
|
37230
37230
|
})
|
|
37231
37231
|
});
|
|
37232
37232
|
}, qne = (e) => `color-mix(in srgb, ${e} ${Kne}, ${_.textPrimary})`, Qne = () => {
|
|
37233
|
-
const e =
|
|
37233
|
+
const e = $e();
|
|
37234
37234
|
return W(() => (t) => jW(e, t), [e]);
|
|
37235
37235
|
}, Jne = {
|
|
37236
37236
|
fill: "none",
|
|
37237
37237
|
contain: "xMidYMid meet",
|
|
37238
37238
|
cover: "xMidYMid slice"
|
|
37239
37239
|
}, Zne = ({ image: e, panel: t, style: r }) => {
|
|
37240
|
-
const n =
|
|
37240
|
+
const n = ft(), { src: i, region: o, fit: a } = e, s = Oh(o, t), l = r.borderRadius > 0;
|
|
37241
37241
|
return /* @__PURE__ */ Y("g", { children: [l && /* @__PURE__ */ v("clipPath", {
|
|
37242
37242
|
id: n,
|
|
37243
37243
|
children: /* @__PURE__ */ v("rect", {
|
|
@@ -37273,7 +37273,7 @@ var Yre = "pill-content_bubble__1rqnt0m0", Kre = "#9ca3af", Ju = "\0", Xre = (e,
|
|
|
37273
37273
|
}, a.id))
|
|
37274
37274
|
});
|
|
37275
37275
|
}, eie = () => {
|
|
37276
|
-
const e =
|
|
37276
|
+
const e = $e();
|
|
37277
37277
|
return W(() => (t) => LA(e, t), [e]);
|
|
37278
37278
|
}, tie = ({ shape: e, style: t, panel: r }) => {
|
|
37279
37279
|
const n = Oh(e.region, r);
|
|
@@ -37309,7 +37309,7 @@ var Yre = "pill-content_bubble__1rqnt0m0", Kre = "#9ca3af", Ju = "\0", Xre = (e,
|
|
|
37309
37309
|
}, a.id))
|
|
37310
37310
|
});
|
|
37311
37311
|
}, rie = () => {
|
|
37312
|
-
const e =
|
|
37312
|
+
const e = $e(), t = fe((r) => r.config.appearance.textScale);
|
|
37313
37313
|
return W(() => (r) => GW(e, r, t), [e, t]);
|
|
37314
37314
|
}, nie = "text-annotation_annotation__1plg4b60", iie = 0.1, oie = ({ annotation: e, panel: t, style: r, blockRef: n, children: i }) => {
|
|
37315
37315
|
const o = xn(e.at, t);
|
|
@@ -37344,7 +37344,7 @@ var Yre = "pill-content_bubble__1rqnt0m0", Kre = "#9ca3af", Ju = "\0", Xre = (e,
|
|
|
37344
37344
|
...lie(e)
|
|
37345
37345
|
}), lie = (e) => {
|
|
37346
37346
|
if (e.background === "transparent") return {};
|
|
37347
|
-
const t = e.alpha < 1 ?
|
|
37347
|
+
const t = e.alpha < 1 ? dt(e.background, e.alpha) : e.background;
|
|
37348
37348
|
if (e.borderWidth <= 0) return { backgroundColor: t };
|
|
37349
37349
|
const r = e.borderColor ?? XK(e.background, iie);
|
|
37350
37350
|
return {
|
|
@@ -37392,7 +37392,7 @@ var Yre = "pill-content_bubble__1rqnt0m0", Kre = "#9ca3af", Ju = "\0", Xre = (e,
|
|
|
37392
37392
|
})
|
|
37393
37393
|
});
|
|
37394
37394
|
}, jE = () => {
|
|
37395
|
-
const e =
|
|
37395
|
+
const e = $e(), t = fe((r) => r.config.appearance.textScale);
|
|
37396
37396
|
return W(() => (r, n) => zW(e, r, n, t), [e, t]);
|
|
37397
37397
|
}, hie = "callouts_overlay__1rlvxtx0";
|
|
37398
37398
|
var mie = "callouts_miniText__1rlvxtx2", pb = {
|
|
@@ -37413,7 +37413,7 @@ var mie = "callouts_miniText__1rlvxtx2", pb = {
|
|
|
37413
37413
|
});
|
|
37414
37414
|
};
|
|
37415
37415
|
function pie(e) {
|
|
37416
|
-
const t = Ai(), { formattingLocale: r } =
|
|
37416
|
+
const t = Ai(), { formattingLocale: r } = lt(), n = jE(), i = fe(Xt((l) => ({
|
|
37417
37417
|
pinnedNumbers: l.annotations.pinnedNumbers,
|
|
37418
37418
|
comments: l.annotations.comments,
|
|
37419
37419
|
coordSystem: l.coordSystem,
|
|
@@ -37757,7 +37757,7 @@ var Pie = "data-labels_label__15wb5l32", $E = ({ x: e, y: t, width: r, height: n
|
|
|
37757
37757
|
transform: `rotate(${r}, 0, ${n})`
|
|
37758
37758
|
};
|
|
37759
37759
|
}, Fie = ({ formattedAxis: e, rect: t }) => {
|
|
37760
|
-
const r = e.position === "bottom" || e.position === "top", n =
|
|
37760
|
+
const r = e.position === "bottom" || e.position === "top", n = Qe(e.scaleAestheticKey), i = jm()[n], o = ME()[n];
|
|
37761
37761
|
return /* @__PURE__ */ Y("svg", {
|
|
37762
37762
|
x: t.x,
|
|
37763
37763
|
y: t.y,
|
|
@@ -37817,7 +37817,7 @@ var Pie = "data-labels_label__15wb5l32", $E = ({ x: e, y: t, width: r, height: n
|
|
|
37817
37817
|
return /* @__PURE__ */ v(ke, { children: e.map((n) => {
|
|
37818
37818
|
const i = t[n.position];
|
|
37819
37819
|
if (!i || !n.isVisible) return null;
|
|
37820
|
-
const o = Hie(n.position, i), a = r[
|
|
37820
|
+
const o = Hie(n.position, i), a = r[Qe(n.scaleAestheticKey)];
|
|
37821
37821
|
return /* @__PURE__ */ Y("g", {
|
|
37822
37822
|
transform: `translate(${i.x}, ${i.y})`,
|
|
37823
37823
|
children: [!1, /* @__PURE__ */ v("text", {
|
|
@@ -37850,7 +37850,7 @@ var Pie = "data-labels_label__15wb5l32", $E = ({ x: e, y: t, width: r, height: n
|
|
|
37850
37850
|
strokeDashoffset: "0",
|
|
37851
37851
|
strokeLinecap: "round"
|
|
37852
37852
|
}, Gie = ({ axes: e, panelBorderSizes: t, panelFrameRect: r, panelRect: n }) => {
|
|
37853
|
-
const i =
|
|
37853
|
+
const i = $e(), o = n.x - r.x, a = n.y - r.y;
|
|
37854
37854
|
return /* @__PURE__ */ v("svg", {
|
|
37855
37855
|
"data-testid": "grid",
|
|
37856
37856
|
x: r.x,
|
|
@@ -37860,7 +37860,7 @@ var Pie = "data-labels_label__15wb5l32", $E = ({ x: e, y: t, width: r, height: n
|
|
|
37860
37860
|
style: { overflow: "visible" },
|
|
37861
37861
|
children: e.map((s) => {
|
|
37862
37862
|
if (s.geometry !== "linear" || !s.gridVisible) return null;
|
|
37863
|
-
const l = s.position === "bottom" || s.position === "top", c = Bd(i,
|
|
37863
|
+
const l = s.position === "bottom" || s.position === "top", c = Bd(i, Qe(s.scaleAestheticKey)), u = Mc(c.lineType);
|
|
37864
37864
|
return /* @__PURE__ */ v("g", { children: s.ticks.map((d, f) => {
|
|
37865
37865
|
const h = jie(l, d.position);
|
|
37866
37866
|
if (h !== null && t[h] > 0) return null;
|
|
@@ -37894,7 +37894,7 @@ var Pie = "data-labels_label__15wb5l32", $E = ({ x: e, y: t, width: r, height: n
|
|
|
37894
37894
|
})
|
|
37895
37895
|
});
|
|
37896
37896
|
}, jie = (e, t) => t <= 0 ? e ? "left" : "bottom" : t >= 1 ? e ? "right" : "top" : null, zie = ({ sizes: e, panelFrameRect: t }) => {
|
|
37897
|
-
const r = fe((a) => a.coordSystem.type === "polar"), n =
|
|
37897
|
+
const r = fe((a) => a.coordSystem.type === "polar"), n = $e(), i = W(() => DA(n), [n]);
|
|
37898
37898
|
if (r) return null;
|
|
37899
37899
|
const o = AW(i, {
|
|
37900
37900
|
x: e.left / 2,
|
|
@@ -37950,7 +37950,7 @@ var KE = (e, t) => {
|
|
|
37950
37950
|
}, Yie = 3, Kie = 16, Xie = ({ formattedAxes: e, panelRect: t }) => {
|
|
37951
37951
|
const r = jm(), n = KE(t, e);
|
|
37952
37952
|
if (!n) return null;
|
|
37953
|
-
const { circle: i, circularAxis: o, radialAxis: a, startAngle: s, angleFor: l, radiusNormFor: c } = n, u = qie(a, c, i.radius), d = (f) => r[
|
|
37953
|
+
const { circle: i, circularAxis: o, radialAxis: a, startAngle: s, angleFor: l, radiusNormFor: c } = n, u = qie(a, c, i.radius), d = (f) => r[Qe(f.scaleAestheticKey)];
|
|
37954
37954
|
return /* @__PURE__ */ Y("svg", {
|
|
37955
37955
|
x: t.x,
|
|
37956
37956
|
y: t.y,
|
|
@@ -38006,7 +38006,7 @@ var KE = (e, t) => {
|
|
|
38006
38006
|
const t = Math.sin(e);
|
|
38007
38007
|
return Math.abs(t) < 0.01 ? "middle" : t > 0 ? "start" : "end";
|
|
38008
38008
|
}, Jie = ({ formattedAxes: e, panelRect: t }) => {
|
|
38009
|
-
const r =
|
|
38009
|
+
const r = $e(), n = KE(t, e);
|
|
38010
38010
|
if (!n) return null;
|
|
38011
38011
|
const { circle: i, circularAxis: o, radialAxis: a, innerRadius: s, angleFor: l, radiusNormFor: c } = n, u = Bd(r, "y"), d = Bd(r, "x");
|
|
38012
38012
|
return /* @__PURE__ */ Y("svg", {
|
|
@@ -38051,20 +38051,22 @@ var KE = (e, t) => {
|
|
|
38051
38051
|
]
|
|
38052
38052
|
});
|
|
38053
38053
|
}, Zie = ({ layer: e, coordSystem: t, shouldAnimateTransitions: r, isDimmed: n, dimStyle: i, formattingLocale: o }) => {
|
|
38054
|
-
const a = an(), s = _ee(e.id), l = a(e.geom, t.type);
|
|
38055
|
-
if (
|
|
38056
|
-
const
|
|
38057
|
-
return
|
|
38054
|
+
const a = an(), s = _ee(e.id), { colorScheme: l } = lt(), c = He(e), u = a(e.geom, t.type);
|
|
38055
|
+
if (u === null) return null;
|
|
38056
|
+
const d = Dc(u.render);
|
|
38057
|
+
return d.overlay ? null : /* @__PURE__ */ v("g", {
|
|
38058
38058
|
style: n ? {
|
|
38059
38059
|
opacity: i.opacity,
|
|
38060
38060
|
...i.saturation === void 0 ? {} : { filter: `saturate(${i.saturation})` }
|
|
38061
38061
|
} : void 0,
|
|
38062
|
-
children:
|
|
38062
|
+
children: d.fn({
|
|
38063
38063
|
layer: e,
|
|
38064
38064
|
coordSystem: t,
|
|
38065
38065
|
shouldAnimateTransitions: r,
|
|
38066
38066
|
formattingLocale: o,
|
|
38067
|
-
intro: s
|
|
38067
|
+
intro: s,
|
|
38068
|
+
colorScheme: l,
|
|
38069
|
+
styleReaders: c
|
|
38068
38070
|
})
|
|
38069
38071
|
});
|
|
38070
38072
|
};
|
|
@@ -38086,7 +38088,7 @@ function eoe({ renderer: e, layer: t, coordSystem: r, candidates: n }) {
|
|
|
38086
38088
|
return i;
|
|
38087
38089
|
}
|
|
38088
38090
|
var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates: n, coordSystem: i, shouldAnimateTransitions: o, panelRect: a, formattingLocale: s }) => {
|
|
38089
|
-
const l = fe((
|
|
38091
|
+
const l = fe((x) => x.config.numberFormat), c = W(() => eoe({
|
|
38090
38092
|
renderer: e,
|
|
38091
38093
|
layer: t,
|
|
38092
38094
|
coordSystem: i,
|
|
@@ -38096,7 +38098,7 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38096
38098
|
t,
|
|
38097
38099
|
i,
|
|
38098
38100
|
n
|
|
38099
|
-
]), u =
|
|
38101
|
+
]), { colorScheme: u } = lt(), d = He(t), f = W(() => qa(t), [t]), h = W(() => Nh({
|
|
38100
38102
|
layer: t,
|
|
38101
38103
|
numberFormat: l,
|
|
38102
38104
|
locale: s
|
|
@@ -38104,32 +38106,34 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38104
38106
|
l,
|
|
38105
38107
|
t,
|
|
38106
38108
|
s
|
|
38107
|
-
]), { fonts:
|
|
38109
|
+
]), { fonts: m } = Lo(), g = Gc();
|
|
38108
38110
|
if (e === null || r === null && c.length === 0) return null;
|
|
38109
|
-
const
|
|
38110
|
-
let
|
|
38111
|
-
if (r && !
|
|
38112
|
-
const
|
|
38111
|
+
const p = Dc(e.render);
|
|
38112
|
+
let y = null;
|
|
38113
|
+
if (r && !p.overlay) {
|
|
38114
|
+
const x = {
|
|
38113
38115
|
layer: r,
|
|
38114
38116
|
sourceLayer: t,
|
|
38115
38117
|
coordSystem: i,
|
|
38116
38118
|
shouldAnimateTransitions: o,
|
|
38117
38119
|
formattingLocale: s,
|
|
38118
|
-
panelRect: a
|
|
38120
|
+
panelRect: a,
|
|
38121
|
+
colorScheme: u,
|
|
38122
|
+
styleReaders: d
|
|
38119
38123
|
};
|
|
38120
|
-
|
|
38124
|
+
y = e.renderHighlight ? e.renderHighlight(x) : p.fn(x);
|
|
38121
38125
|
}
|
|
38122
|
-
return /* @__PURE__ */ Y(zE, { children: [
|
|
38123
|
-
observation:
|
|
38124
|
-
anchor:
|
|
38126
|
+
return /* @__PURE__ */ Y(zE, { children: [y, c.map(({ observation: x, observationIndex: S, anchor: E }) => /* @__PURE__ */ v(noe, {
|
|
38127
|
+
observation: x,
|
|
38128
|
+
anchor: E,
|
|
38125
38129
|
panelRect: a,
|
|
38126
|
-
fill:
|
|
38127
|
-
dotRadius: (
|
|
38128
|
-
readSegmentY:
|
|
38129
|
-
formatYValue:
|
|
38130
|
-
labelStyle:
|
|
38131
|
-
familyDefault:
|
|
38132
|
-
}, ioe(
|
|
38130
|
+
fill: d.get("color", x),
|
|
38131
|
+
dotRadius: (d.get("size", x) ?? 8) / 2,
|
|
38132
|
+
readSegmentY: f,
|
|
38133
|
+
formatYValue: h,
|
|
38134
|
+
labelStyle: g.observation.outside,
|
|
38135
|
+
familyDefault: m.familyDefault
|
|
38136
|
+
}, ioe(x, S)))] });
|
|
38133
38137
|
}, noe = ({ observation: e, anchor: t, panelRect: r, fill: n, dotRadius: i, readSegmentY: o, formatYValue: a, labelStyle: s, familyDefault: l }) => {
|
|
38134
38138
|
const c = Ai(), u = t.x, d = sr(t.y), f = o(e), h = U(f) ? a(f, e) : null, m = W(() => {
|
|
38135
38139
|
if (h === null) return null;
|
|
@@ -38165,29 +38169,33 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38165
38169
|
const r = e[Ce.group];
|
|
38166
38170
|
return `${String(r ?? "")}\0${t}`;
|
|
38167
38171
|
}, ooe = ({ layer: e, coordSystem: t, panelRect: r }) => {
|
|
38168
|
-
const { primary: n, group: i, related: o } = ya(Xt((
|
|
38169
|
-
primary:
|
|
38170
|
-
group:
|
|
38171
|
-
related:
|
|
38172
|
-
}))), a = an();
|
|
38172
|
+
const { primary: n, group: i, related: o } = ya(Xt((d) => ({
|
|
38173
|
+
primary: d.hover.primary,
|
|
38174
|
+
group: d.hover.group,
|
|
38175
|
+
related: d.hover.related
|
|
38176
|
+
}))), a = an(), { colorScheme: s } = lt(), l = He(e);
|
|
38173
38177
|
if (n === null) return null;
|
|
38174
|
-
const
|
|
38175
|
-
if (
|
|
38176
|
-
const
|
|
38177
|
-
return n.layerId === e.id ?
|
|
38178
|
+
const c = a(e.geom, t.type);
|
|
38179
|
+
if (c === null || Nc(c)) return null;
|
|
38180
|
+
const u = o.get(e.id) ?? [];
|
|
38181
|
+
return n.layerId === e.id ? c.renderHover({
|
|
38178
38182
|
layer: e,
|
|
38179
38183
|
coordSystem: t,
|
|
38180
38184
|
primary: n,
|
|
38181
38185
|
group: i,
|
|
38182
|
-
related:
|
|
38183
|
-
panelRect: r
|
|
38184
|
-
|
|
38186
|
+
related: u,
|
|
38187
|
+
panelRect: r,
|
|
38188
|
+
colorScheme: s,
|
|
38189
|
+
styleReaders: l
|
|
38190
|
+
}) : u.length === 0 ? null : c.renderHoverCompanions({
|
|
38185
38191
|
layer: e,
|
|
38186
38192
|
primary: n,
|
|
38187
|
-
related:
|
|
38193
|
+
related: u,
|
|
38194
|
+
colorScheme: s,
|
|
38195
|
+
styleReaders: l
|
|
38188
38196
|
});
|
|
38189
38197
|
}, aoe = (e) => {
|
|
38190
|
-
const t =
|
|
38198
|
+
const t = He(e);
|
|
38191
38199
|
return W(() => {
|
|
38192
38200
|
const [r] = e.data;
|
|
38193
38201
|
return r === void 0 ? {
|
|
@@ -38234,15 +38242,17 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38234
38242
|
o,
|
|
38235
38243
|
e,
|
|
38236
38244
|
t
|
|
38237
|
-
]), s = e.highlight, l = aoe(e), c = {
|
|
38245
|
+
]), s = e.highlight, l = aoe(e), { colorScheme: c } = lt(), u = {
|
|
38238
38246
|
layer: e,
|
|
38239
38247
|
coordSystem: t,
|
|
38240
38248
|
shouldAnimateTransitions: r,
|
|
38241
|
-
formattingLocale: i
|
|
38242
|
-
|
|
38249
|
+
formattingLocale: i,
|
|
38250
|
+
colorScheme: c,
|
|
38251
|
+
styleReaders: He(e)
|
|
38252
|
+
}, d = a ? Dc(a.render) : null, f = e.spatialKind === "render-hit-test", h = hoe(e);
|
|
38243
38253
|
return /* @__PURE__ */ Y("g", {
|
|
38244
|
-
className:
|
|
38245
|
-
style:
|
|
38254
|
+
className: h,
|
|
38255
|
+
style: h === void 0 ? void 0 : moe(l),
|
|
38246
38256
|
children: [
|
|
38247
38257
|
/* @__PURE__ */ v(Zie, {
|
|
38248
38258
|
layer: e,
|
|
@@ -38252,13 +38262,13 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38252
38262
|
dimStyle: l,
|
|
38253
38263
|
formattingLocale: i
|
|
38254
38264
|
}),
|
|
38255
|
-
|
|
38265
|
+
f && !d?.overlay && a?.hitTest && /* @__PURE__ */ v(Hq, {
|
|
38256
38266
|
hitTest: a.hitTest,
|
|
38257
|
-
input:
|
|
38267
|
+
input: u
|
|
38258
38268
|
}),
|
|
38259
|
-
|
|
38260
|
-
render:
|
|
38261
|
-
input:
|
|
38269
|
+
f && d?.overlay && /* @__PURE__ */ v(Xq, {
|
|
38270
|
+
render: d.fn,
|
|
38271
|
+
input: u
|
|
38262
38272
|
}),
|
|
38263
38273
|
s !== null && /* @__PURE__ */ v(roe, {
|
|
38264
38274
|
renderer: a,
|
|
@@ -38521,7 +38531,7 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38521
38531
|
content: we.config.content,
|
|
38522
38532
|
overflowStrategy: we.config.panel.overflow,
|
|
38523
38533
|
layoutConfig: we.config.layout
|
|
38524
|
-
}))), S = wY(), { intro: E, transitions: P } = W(() => pQ(r, S ?? !1), [r, S]), { headerRef: A, footerRef: O, measurements: b } = Aoe(), { formattingLocale: M, colorScheme: L, themeOverrides: R } =
|
|
38534
|
+
}))), S = wY(), { intro: E, transitions: P } = W(() => pQ(r, S ?? !1), [r, S]), { headerRef: A, footerRef: O, measurements: b } = Aoe(), { formattingLocale: M, colorScheme: L, themeOverrides: R } = lt(), B = i === "editable", [T, I] = Re(null), N = W(() => sM(L, R), [L, R]), C = Mr("Header", nre), k = Mr("Footer", qte), w = Mr("Legend", mne), D = Mr("Headline", Mre), z = Mr("EditorSurface", Toe), K = W(() => m7({
|
|
38525
38535
|
legends: s,
|
|
38526
38536
|
numberFormat: c,
|
|
38527
38537
|
parsingLocale: u,
|
|
@@ -38545,7 +38555,7 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38545
38555
|
u,
|
|
38546
38556
|
M,
|
|
38547
38557
|
o
|
|
38548
|
-
]), re = Ai(), oe =
|
|
38558
|
+
]), re = Ai(), oe = $e(), Q = W(() => NA(oe), [oe]), ae = W(() => DA(oe), [oe]), ie = NE(), le = Q.borderColor === void 0 ? 0 : Q.borderWidth, V = W(() => ({
|
|
38549
38559
|
width: Math.max(0, e - 2 * le),
|
|
38550
38560
|
height: Math.max(0, t - 2 * le)
|
|
38551
38561
|
}), [
|
|
@@ -38588,7 +38598,7 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38588
38598
|
overflowStrategy: y,
|
|
38589
38599
|
layout: x,
|
|
38590
38600
|
panelBorder: pe
|
|
38591
|
-
}),
|
|
38601
|
+
}), ct = W(() => !_e || !ce || !me ? null : sH({
|
|
38592
38602
|
headline: ce,
|
|
38593
38603
|
layout: _e.layout,
|
|
38594
38604
|
containerSize: V,
|
|
@@ -38602,7 +38612,7 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38602
38612
|
ie.gap
|
|
38603
38613
|
]);
|
|
38604
38614
|
if (!_e) return null;
|
|
38605
|
-
const { layout: Le, formattedAxes: Qt, plotBottomY:
|
|
38615
|
+
const { layout: Le, formattedAxes: Qt, plotBottomY: yt } = _e, bt = Le.footer.height > 0;
|
|
38606
38616
|
return /* @__PURE__ */ v(eee, {
|
|
38607
38617
|
colorScheme: L,
|
|
38608
38618
|
themeOverrides: R,
|
|
@@ -38643,8 +38653,8 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38643
38653
|
axisLabelRects: Le.axisLabels,
|
|
38644
38654
|
shouldAnimateTransitions: P,
|
|
38645
38655
|
formattingLocale: M ?? u,
|
|
38646
|
-
plotBottomY:
|
|
38647
|
-
isFooterChromeReserved:
|
|
38656
|
+
plotBottomY: yt,
|
|
38657
|
+
isFooterChromeReserved: bt,
|
|
38648
38658
|
isEditable: B
|
|
38649
38659
|
}),
|
|
38650
38660
|
/* @__PURE__ */ v(k, {
|
|
@@ -38662,11 +38672,11 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38662
38672
|
rects: Le.legends,
|
|
38663
38673
|
textScale: d.textScale
|
|
38664
38674
|
}),
|
|
38665
|
-
Z &&
|
|
38675
|
+
Z && ct && /* @__PURE__ */ v(D, {
|
|
38666
38676
|
headline: Z,
|
|
38667
|
-
rect:
|
|
38668
|
-
resolvedSize:
|
|
38669
|
-
visibleItemCount:
|
|
38677
|
+
rect: ct.rect,
|
|
38678
|
+
resolvedSize: ct.resolvedSize,
|
|
38679
|
+
visibleItemCount: ct.visibleItemCount,
|
|
38670
38680
|
isInDonutHole: ce !== void 0 && wc(ce)
|
|
38671
38681
|
}),
|
|
38672
38682
|
B && T !== null && /* @__PURE__ */ v(z, {
|
|
@@ -38693,10 +38703,10 @@ var toe = 4, roe = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
38693
38703
|
subscribeSelection: t.selectionStore.subscribe
|
|
38694
38704
|
} : null), [e, t]);
|
|
38695
38705
|
}, Fle = (e) => Sb(e.subscribe, e.getCompiled, e.getCompiled), Ble = () => {
|
|
38696
|
-
const { commands: e } =
|
|
38706
|
+
const { commands: e } = lt();
|
|
38697
38707
|
return e;
|
|
38698
38708
|
}, Vle = () => {
|
|
38699
|
-
const { history: e } =
|
|
38709
|
+
const { history: e } = lt(), { stack: t, undo: r, redo: n } = e, i = De((s) => t.subscribe(s), [t]), o = De(() => t.getSnapshot(), [t]), a = Sb(i, o, o);
|
|
38700
38710
|
return W(() => ({
|
|
38701
38711
|
...a,
|
|
38702
38712
|
undo: r,
|
|
@@ -38796,11 +38806,11 @@ export {
|
|
|
38796
38806
|
Ih as getSize,
|
|
38797
38807
|
nv as getStrokeWidth,
|
|
38798
38808
|
Me as getX,
|
|
38799
|
-
|
|
38809
|
+
Ct as getXMax,
|
|
38800
38810
|
Ht as getXMin,
|
|
38801
38811
|
Se as getY,
|
|
38802
38812
|
ot as getYMax,
|
|
38803
|
-
|
|
38813
|
+
Tt as getYMin,
|
|
38804
38814
|
jb as getYRaw,
|
|
38805
38815
|
Tle as highlight,
|
|
38806
38816
|
pE as lightTheme,
|
|
@@ -38829,6 +38839,7 @@ export {
|
|
|
38829
38839
|
jne as useGraphSelection,
|
|
38830
38840
|
Fle as useHandleCompiled,
|
|
38831
38841
|
ya as useHoverState,
|
|
38842
|
+
He as useStyleReaders,
|
|
38832
38843
|
Ai as useTextMeasurer,
|
|
38833
38844
|
_ as vars
|
|
38834
38845
|
};
|