@graphysdk/react 1.9.0-beta.1790588493845 → 1.9.0-beta.1790595344171
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 +15309 -15237
- package/dist/index.browser.mjs +396 -396
- 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}.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{box-sizing:border-box;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_inner__74ffgy2[data-graph-mode=point-and-edit]{-webkit-user-select:none;user-select:none}.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-gray-100:#fff;--graphy-gray-95:#fcfcfc;--graphy-gray-90:#fafafa;--graphy-gray-85:#f5f5f5;--graphy-gray-80:#f0f0f0;--graphy-gray-75:#e8e8e8;--graphy-gray-70:#e5e5e5;--graphy-gray-60:#ccc;--graphy-gray-50:#c4c4c4;--graphy-gray-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-gray-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-gray-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-gray-0);--graphy-border-50:color-mix(in srgb, transparent, var(--graphy-gray-0) 50%);--graphy-border-10:color-mix(in srgb, transparent, var(--graphy-gray-0) 10%);--graphy-sunken-background:var(--graphy-gray-90);--graphy-default-background:var(--graphy-gray-100);--graphy-raised-background:var(--graphy-gray-85);--graphy-overlay-background:var(--graphy-gray-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-gray-100);--graphy-legend-focus-outline-color:var(--graphy-border-50);--graphy-toolbar-background-color:var(--graphy-overlay-background);--graphy-toolbar-button-background-color:transparent;--graphy-toolbar-button-background-color-hovered:var(--graphy-gray-80);--graphy-toolbar-button-background-color-selected:var(--graphy-gray-60);--graphy-toolbar-separator-color:var(--graphy-gray-60);--graphy-annotation-outline-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-tooltip-row-gap:4px;--graphy-editor-control-height:32px;--graphy-legend-swatch-gap:8px;--graphy-headline-row-gap:2px;--graphy-text-scale:1;--graphy-font-family:"Stack Sans Text", "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:"Stack Sans Text", "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-uitooltip:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-uitooltip-secondary:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-button:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-input:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-input-label:var(--graphy-font-weight-medium) var(--graphy-font-size-xxs)/var(--graphy-font-line-height-xxs) var(--graphy-font-family);--graphy-font-select-label:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-select-description:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-color-select-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-menu-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-menu-group-title:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-menu-item-label:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-menu-item-label-secondary:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-error-boundary-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-heading-sm)/var(--graphy-font-line-height-heading-sm) var(--graphy-font-family);--graphy-font-error-boundary-message:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-table-cell:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-table-header-cell:var(--graphy-font-weight-semibold) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-source-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-source-link:var(--graphy-font-weight-regular) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-text-editor-h1:var(--graphy-font-weight-bold) var(--graphy-font-size-heading-lg)/var(--graphy-font-line-height-heading-lg) 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(--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(--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(--graphy-font-family);--graphy-font-text-editor-body:var(--graphy-font-weight-medium) var(--graphy-font-size-editor-body)/var(--graphy-font-line-height-editor-body) var(--graphy-font-family);--graphy-font-text-editor-link:var(--graphy-font-weight-regular) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-highlight-mode-title:var(--graphy-font-weight-bold) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-highlight-mode-subtitle:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-editor-control-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-editor-control-value:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-editor-section-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-editor-caption:var(--graphy-font-weight-medium) var(--graphy-font-size-xxs)/var(--graphy-font-line-height-xxs) var(--graphy-font-family)}.themes_darkTheme__1eul5321{--graphy-transparent:transparent;--graphy-white:#fff;--graphy-black:#000;--graphy-gray-100:#000;--graphy-gray-95:#0d0d0d;--graphy-gray-90:#1a1a1a;--graphy-gray-85:#1f1f1f;--graphy-gray-80:#2a2a2a;--graphy-gray-75:#2e2e2e;--graphy-gray-70:#353535;--graphy-gray-60:#494949;--graphy-gray-50:#6f6f6f;--graphy-gray-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-gray-gradient-80:linear-gradient(to top, #222429, #31353f);--graphy-text-primary:var(--graphy-gray-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-gray-70);--graphy-border-100:var(--graphy-gray-0);--graphy-border-50:color-mix(in srgb, transparent, var(--graphy-gray-0) 50%);--graphy-border-10:color-mix(in srgb, transparent, var(--graphy-gray-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-gray-100);--graphy-default-background:var(--graphy-gray-90);--graphy-raised-background:var(--graphy-gray-80);--graphy-overlay-background:var(--graphy-gray-90);--graphy-overlay-border-gradient:var(--graphy-gray-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-gray-90);--graphy-legend-focus-outline-color:var(--graphy-border-50);--graphy-toolbar-background-color:var(--graphy-overlay-background);--graphy-toolbar-button-background-color:transparent;--graphy-toolbar-button-background-color-hovered:var(--graphy-gray-80);--graphy-toolbar-button-background-color-selected:var(--graphy-gray-60);--graphy-toolbar-separator-color:var(--graphy-gray-60);--graphy-annotation-outline-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-tooltip-row-gap:4px;--graphy-editor-control-height:32px;--graphy-legend-swatch-gap:8px;--graphy-headline-row-gap:2px;--graphy-text-scale:1;--graphy-font-family:"Stack Sans Text", "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:"Stack Sans Text", "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-uitooltip:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-uitooltip-secondary:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-button:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-input:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-input-label:var(--graphy-font-weight-medium) var(--graphy-font-size-xxs)/var(--graphy-font-line-height-xxs) var(--graphy-font-family);--graphy-font-select-label:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-select-description:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-color-select-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-menu-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-menu-group-title:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-menu-item-label:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-menu-item-label-secondary:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-error-boundary-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-heading-sm)/var(--graphy-font-line-height-heading-sm) var(--graphy-font-family);--graphy-font-error-boundary-message:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-table-cell:var(--graphy-font-weight-medium) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-table-header-cell:var(--graphy-font-weight-semibold) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-source-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-source-link:var(--graphy-font-weight-regular) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-text-editor-h1:var(--graphy-font-weight-bold) var(--graphy-font-size-heading-lg)/var(--graphy-font-line-height-heading-lg) 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(--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(--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(--graphy-font-family);--graphy-font-text-editor-body:var(--graphy-font-weight-medium) var(--graphy-font-size-editor-body)/var(--graphy-font-line-height-editor-body) var(--graphy-font-family);--graphy-font-text-editor-link:var(--graphy-font-weight-regular) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-highlight-mode-title:var(--graphy-font-weight-bold) var(--graphy-font-size-md)/var(--graphy-font-line-height-md) var(--graphy-font-family);--graphy-font-highlight-mode-subtitle:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-editor-control-label:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-editor-control-value:var(--graphy-font-weight-medium) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-editor-section-title:var(--graphy-font-weight-semibold) var(--graphy-font-size-sm)/var(--graphy-font-line-height-sm) var(--graphy-font-family);--graphy-font-editor-caption:var(--graphy-font-weight-medium) var(--graphy-font-size-xxs)/var(--graphy-font-line-height-xxs) var(--graphy-font-family)}.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_heading__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_text__15hmocs0{margin:0}.content_text__15hmocs0 :-webkit-any(h1,h2,h3,p){font:inherit;color:inherit;margin:0}.content_text__15hmocs0 :is(h1,h2,h3,p){font:inherit;color:inherit;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}.footer\\.renderer_sourceLink__2nw8o53{overflow-wrap:anywhere;text-decoration:underline}.footer\\.renderer_sourceLink__2nw8o53:hover{color:var(--graphy-text-primary)}.footer\\.renderer_sourceLabel__2nw8o54{margin-right:var(--graphy-space-xs)}.footer\\.renderer_sourceValue__2nw8o55{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_value__8zulrb0{align-items:baseline;display:flex}.headline-item_trend__8zulrb1,.headline-item_group__8zulrb2{align-items:center;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,.headline-segment_label__1gz17pz1{white-space:nowrap}.headline-segment_trendArrowDisc__1gz17pz2{border-radius:50%;justify-content:center;align-items:center;width:12px;height:12px;display:flex}.headline-segment_trendArrowDown__1gz17pz3{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%)}.direct-labels_hitTestableItem__1a6kdls3{pointer-events:auto;cursor:pointer;margin-left:-3px;padding:3px}.legend\\.renderer_root__12du00r0{pointer-events:none;position:absolute}.legend-overflow_triggerGroup__h68bv30{pointer-events:auto;flex-shrink:0;align-items:center;display:inline-flex;position:relative}.legend-overflow_triggerGroupHorizontal_1__h68bv31{padding-inline-start:4px}.legend-overflow_triggerGroupHorizontal_2__h68bv32{padding-inline-start:8px}.legend-overflow_triggerGroupVertical_1__h68bv33{padding-block-start:4px}.legend-overflow_triggerGroupVertical_2__h68bv34{padding-block-start:8px}.legend-overflow_triggerGhost__h68bv35{pointer-events:none;position:absolute}.legend-overflow_triggerGhostHorizontal_1__h68bv36{top:0;bottom:0}.legend-overflow_triggerGhostHorizontal_1__h68bv36: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:4px;right:0}.legend-overflow_triggerGhostHorizontal_1__h68bv36: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:4px;right:0}.legend-overflow_triggerGhostHorizontal_1__h68bv36:-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:4px}.legend-overflow_triggerGhostHorizontal_1__h68bv36: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:4px}.legend-overflow_triggerGhostHorizontal_2__h68bv37{top:0;bottom:0}.legend-overflow_triggerGhostHorizontal_2__h68bv37: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_2__h68bv37: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_2__h68bv37:-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_2__h68bv37: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_1__h68bv38{top:4px;bottom:0;left:0;right:0}.legend-overflow_triggerGhostVertical_2__h68bv39{top:8px;bottom:0;left:0;right:0}.legend-overflow_trigger__h68bv3a{white-space:nowrap;cursor:pointer;pointer-events:auto;-webkit-appearance:none;appearance:none;background:0 0;border:none;align-items:center;padding:0;display:inline-flex;position:relative}.legend-overflow_trigger__h68bv3a:focus-visible{outline:1px solid var(--graphy-legend-focus-outline-color)}.legend-overflow_triggerLabel__h68bv3b{font-variant-numeric:tabular-nums}.legend-overflow_popover__h68bv3c{pointer-events:auto;z-index:40;max-width:320px;max-height:240px;overflow-y:auto}.legend-overflow_popoverList__h68bv3d{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.legend-overflow_popoverItem__h68bv3e{align-items:center;gap:var(--graphy-legend-swatch-gap);white-space:nowrap;display:flex}.legend-overflow_hitTestablePopoverItem__h68bv3f{cursor:pointer}.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}.pill-legends_hitTestableItem__1unrqh49{pointer-events:auto;cursor:pointer}.difference-arrows_pointer__1lwhbn50{cursor:pointer}.text-annotation_annotation__1plg4b60{pointer-events:auto;font-family:var(--graphy-font-family);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)}.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,1);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
3
|
import * as We from "react";
|
|
4
|
-
import
|
|
4
|
+
import Ro, { Component as Yw, Fragment as eo, createContext as Ye, createElement as S_, forwardRef as T_, memo as Cr, useCallback as Ce, useContext as he, useEffect as ye, useId as pt, useImperativeHandle as M_, useInsertionEffect as Kw, useLayoutEffect as Xw, useMemo as G, useRef as de, useState as Ee, useSyncExternalStore as qw } from "react";
|
|
5
5
|
import { Fragment as me, jsx as v, jsxs as U } from "react/jsx-runtime";
|
|
6
6
|
import * as E_ from "react-dom";
|
|
7
7
|
import { createPortal as Qw } from "react-dom";
|
|
@@ -42,9 +42,9 @@ var D_ = class extends Error {
|
|
|
42
42
|
constructor(e) {
|
|
43
43
|
super(`Failed to parse color: "${e}"`);
|
|
44
44
|
}
|
|
45
|
-
},
|
|
45
|
+
}, Lo = D_;
|
|
46
46
|
function Si(e) {
|
|
47
|
-
if (typeof e != "string") throw new
|
|
47
|
+
if (typeof e != "string") throw new Lo(e);
|
|
48
48
|
if (e.trim().toLowerCase() === "transparent") return [
|
|
49
49
|
0,
|
|
50
50
|
0,
|
|
@@ -71,11 +71,11 @@ function Si(e) {
|
|
|
71
71
|
const a = G_.exec(t);
|
|
72
72
|
if (a) {
|
|
73
73
|
const [o, s, l, c] = Array.from(a).slice(1).map(parseFloat);
|
|
74
|
-
if (va(0, 100, s) !== s) throw new
|
|
75
|
-
if (va(0, 100, l) !== l) throw new
|
|
74
|
+
if (va(0, 100, s) !== s) throw new Lo(e);
|
|
75
|
+
if (va(0, 100, l) !== l) throw new Lo(e);
|
|
76
76
|
return [...U_(o, s, l), Number.isNaN(c) ? 1 : c];
|
|
77
77
|
}
|
|
78
|
-
throw new
|
|
78
|
+
throw new Lo(e);
|
|
79
79
|
}
|
|
80
80
|
function O_(e) {
|
|
81
81
|
let t = 5381, r = e.length;
|
|
@@ -90,7 +90,7 @@ var Eg = (e) => parseInt(e.replace(/_/g, ""), 36), N_ = "1q29ehhb 1n09sgk7 1kl1e
|
|
|
90
90
|
}, {});
|
|
91
91
|
function B_(e) {
|
|
92
92
|
const t = e.toLowerCase().trim(), r = N_[O_(t)];
|
|
93
|
-
if (!r) throw new
|
|
93
|
+
if (!r) throw new Lo(e);
|
|
94
94
|
return `#${r}`;
|
|
95
95
|
}
|
|
96
96
|
var rs = (e, t) => Array.from(Array(t)).map(() => e).join(""), F_ = new RegExp(`^#${rs("([a-f0-9])", 3)}([a-f0-9])?$`, "i"), V_ = new RegExp(`^#${rs("([a-f0-9]{2})", 3)}([a-f0-9]{2})?$`, "i"), H_ = new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${rs(",\\s*(\\d+)\\s*", 2)}(?:,\\s*([\\d.]+))?\\s*\\)$`, "i"), G_ = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i, W_ = /^[a-z]+$/i, kg = (e) => Math.round(e * 255), U_ = (e, t, r) => {
|
|
@@ -181,15 +181,15 @@ function Vn(e, t) {
|
|
|
181
181
|
const r = Ps(), n = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, i = ze(e), a = i.getDay(), o = (a < n ? 7 : 0) + a - n;
|
|
182
182
|
return i.setDate(i.getDate() - o), i.setHours(0, 0, 0, 0), i;
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Na(e) {
|
|
185
185
|
return Vn(e, { weekStartsOn: 1 });
|
|
186
186
|
}
|
|
187
187
|
function aC(e) {
|
|
188
188
|
const t = ze(e), r = t.getFullYear(), n = Qe(e, 0);
|
|
189
189
|
n.setFullYear(r + 1, 0, 4), n.setHours(0, 0, 0, 0);
|
|
190
|
-
const i =
|
|
190
|
+
const i = Na(n), a = Qe(e, 0);
|
|
191
191
|
a.setFullYear(r, 0, 4), a.setHours(0, 0, 0, 0);
|
|
192
|
-
const o =
|
|
192
|
+
const o = Na(a);
|
|
193
193
|
return t.getTime() >= i.getTime() ? r + 1 : t.getTime() >= o.getTime() ? r : r - 1;
|
|
194
194
|
}
|
|
195
195
|
function Cg(e) {
|
|
@@ -206,7 +206,7 @@ function oC(e, t) {
|
|
|
206
206
|
}
|
|
207
207
|
function sC(e) {
|
|
208
208
|
const t = aC(e), r = Qe(e, 0);
|
|
209
|
-
return r.setFullYear(t, 0, 4), r.setHours(0, 0, 0, 0),
|
|
209
|
+
return r.setFullYear(t, 0, 4), r.setHours(0, 0, 0, 0), Na(r);
|
|
210
210
|
}
|
|
211
211
|
function lC(e) {
|
|
212
212
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
@@ -335,7 +335,7 @@ var dC = {
|
|
|
335
335
|
nextWeek: "eeee 'at' p",
|
|
336
336
|
other: "P"
|
|
337
337
|
}, gC = (e, t, r, n) => pC[e];
|
|
338
|
-
function
|
|
338
|
+
function wo(e) {
|
|
339
339
|
return (t, r) => {
|
|
340
340
|
const n = r?.context ? String(r.context) : "standalone";
|
|
341
341
|
let i;
|
|
@@ -528,31 +528,31 @@ var vC = {
|
|
|
528
528
|
return r + "th";
|
|
529
529
|
}, TC = {
|
|
530
530
|
ordinalNumber: SC,
|
|
531
|
-
era:
|
|
531
|
+
era: wo({
|
|
532
532
|
values: vC,
|
|
533
533
|
defaultWidth: "wide"
|
|
534
534
|
}),
|
|
535
|
-
quarter:
|
|
535
|
+
quarter: wo({
|
|
536
536
|
values: yC,
|
|
537
537
|
defaultWidth: "wide",
|
|
538
538
|
argumentCallback: (e) => e - 1
|
|
539
539
|
}),
|
|
540
|
-
month:
|
|
540
|
+
month: wo({
|
|
541
541
|
values: bC,
|
|
542
542
|
defaultWidth: "wide"
|
|
543
543
|
}),
|
|
544
|
-
day:
|
|
544
|
+
day: wo({
|
|
545
545
|
values: xC,
|
|
546
546
|
defaultWidth: "wide"
|
|
547
547
|
}),
|
|
548
|
-
dayPeriod:
|
|
548
|
+
dayPeriod: wo({
|
|
549
549
|
values: wC,
|
|
550
550
|
defaultWidth: "wide",
|
|
551
551
|
formattingValues: AC,
|
|
552
552
|
defaultFormattingWidth: "wide"
|
|
553
553
|
})
|
|
554
554
|
};
|
|
555
|
-
function
|
|
555
|
+
function Ao(e) {
|
|
556
556
|
return (t, r = {}) => {
|
|
557
557
|
const n = r.width, i = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
|
|
558
558
|
if (!a) return null;
|
|
@@ -675,32 +675,32 @@ var PC = /^(\d+)(th|st|nd|rd)?/i, _C = /\d+/i, CC = {
|
|
|
675
675
|
parsePattern: _C,
|
|
676
676
|
valueCallback: (e) => parseInt(e, 10)
|
|
677
677
|
}),
|
|
678
|
-
era:
|
|
678
|
+
era: Ao({
|
|
679
679
|
matchPatterns: CC,
|
|
680
680
|
defaultMatchWidth: "wide",
|
|
681
681
|
parsePatterns: IC,
|
|
682
682
|
defaultParseWidth: "any"
|
|
683
683
|
}),
|
|
684
|
-
quarter:
|
|
684
|
+
quarter: Ao({
|
|
685
685
|
matchPatterns: RC,
|
|
686
686
|
defaultMatchWidth: "wide",
|
|
687
687
|
parsePatterns: LC,
|
|
688
688
|
defaultParseWidth: "any",
|
|
689
689
|
valueCallback: (e) => e + 1
|
|
690
690
|
}),
|
|
691
|
-
month:
|
|
691
|
+
month: Ao({
|
|
692
692
|
matchPatterns: DC,
|
|
693
693
|
defaultMatchWidth: "wide",
|
|
694
694
|
parsePatterns: OC,
|
|
695
695
|
defaultParseWidth: "any"
|
|
696
696
|
}),
|
|
697
|
-
day:
|
|
697
|
+
day: Ao({
|
|
698
698
|
matchPatterns: NC,
|
|
699
699
|
defaultMatchWidth: "wide",
|
|
700
700
|
parsePatterns: BC,
|
|
701
701
|
defaultParseWidth: "any"
|
|
702
702
|
}),
|
|
703
|
-
dayPeriod:
|
|
703
|
+
dayPeriod: Ao({
|
|
704
704
|
matchPatterns: FC,
|
|
705
705
|
defaultMatchWidth: "any",
|
|
706
706
|
parsePatterns: VC,
|
|
@@ -719,7 +719,7 @@ var PC = /^(\d+)(th|st|nd|rd)?/i, _C = /\d+/i, CC = {
|
|
|
719
719
|
}
|
|
720
720
|
};
|
|
721
721
|
function WC(e) {
|
|
722
|
-
const t = ze(e), r = +
|
|
722
|
+
const t = ze(e), r = +Na(t) - +sC(t);
|
|
723
723
|
return Math.round(r / a1) + 1;
|
|
724
724
|
}
|
|
725
725
|
function l1(e, t) {
|
|
@@ -1127,7 +1127,7 @@ var lI = class extends Te {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
set(e, t, r) {
|
|
1129
1129
|
const n = Qe(e, 0);
|
|
1130
|
-
return n.setFullYear(r, 0, 4), n.setHours(0, 0, 0, 0),
|
|
1130
|
+
return n.setFullYear(r, 0, 4), n.setHours(0, 0, 0, 0), Na(n);
|
|
1131
1131
|
}
|
|
1132
1132
|
}, dI = class extends Te {
|
|
1133
1133
|
constructor(...e) {
|
|
@@ -1462,7 +1462,7 @@ var bI = class extends Te {
|
|
|
1462
1462
|
return t >= 1 && t <= 53;
|
|
1463
1463
|
}
|
|
1464
1464
|
set(e, t, r) {
|
|
1465
|
-
return
|
|
1465
|
+
return Na(yI(e, r));
|
|
1466
1466
|
}
|
|
1467
1467
|
}, xI = [
|
|
1468
1468
|
31,
|
|
@@ -2254,7 +2254,7 @@ var PI = class extends Te {
|
|
|
2254
2254
|
t: new GI(),
|
|
2255
2255
|
T: new WI()
|
|
2256
2256
|
}, jI = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, $I = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, zI = /^'([^]*?)'?$/, YI = /''/g, KI = /\S/, XI = /[a-zA-Z]/;
|
|
2257
|
-
function
|
|
2257
|
+
function Ba(e, t, r, n) {
|
|
2258
2258
|
const i = JC(), a = n?.locale ?? i.locale ?? GC, o = 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;
|
|
2259
2259
|
if (t === "") return e === "" ? ze(r) : Qe(r, NaN);
|
|
2260
2260
|
const l = {
|
|
@@ -2315,15 +2315,15 @@ var It = (e) => e instanceof Date && Ht(e), JI = (e) => It(e) || e === null, Uc
|
|
|
2315
2315
|
Math.PI / 2,
|
|
2316
2316
|
Math.PI,
|
|
2317
2317
|
zr * 3 / 4
|
|
2318
|
-
], Ci = (e, t) => Math.abs(t - e) >= zr - eR,
|
|
2318
|
+
], Ci = (e, t) => Math.abs(t - e) >= zr - eR, Fa = (e) => (e % zr + zr) % zr, nc = (e, t, r) => {
|
|
2319
2319
|
if (Ci(t, r)) return !0;
|
|
2320
|
-
const n =
|
|
2321
|
-
return
|
|
2322
|
-
},
|
|
2323
|
-
const r = Math.abs(
|
|
2320
|
+
const n = Fa(r - t);
|
|
2321
|
+
return Fa(e - t) <= n;
|
|
2322
|
+
}, Va = (e, t) => {
|
|
2323
|
+
const r = Math.abs(Fa(e) - Fa(t));
|
|
2324
2324
|
return Math.min(r, zr - r);
|
|
2325
2325
|
}, Og = (e, t) => {
|
|
2326
|
-
const r =
|
|
2326
|
+
const r = Fa(t - e);
|
|
2327
2327
|
return r > Math.PI ? r - zr : r;
|
|
2328
2328
|
}, m1 = (e, t, r) => e * zr + t + r, Yr = (e, t) => ({
|
|
2329
2329
|
x: t * Math.sin(e),
|
|
@@ -2348,7 +2348,7 @@ var It = (e) => e instanceof Date && Ht(e), JI = (e) => It(e) || e === null, Uc
|
|
|
2348
2348
|
yMax: Math.max(...s.map((l) => l.y))
|
|
2349
2349
|
};
|
|
2350
2350
|
}, $f = (e, t) => ({
|
|
2351
|
-
angle:
|
|
2351
|
+
angle: Fa(Math.atan2(e, t)),
|
|
2352
2352
|
radius: Math.hypot(e, t)
|
|
2353
2353
|
}), zf = (e, t) => {
|
|
2354
2354
|
const r = e.x - 0.5, n = e.y - 0.5;
|
|
@@ -2380,7 +2380,7 @@ var It = (e) => e instanceof Date && Ht(e), JI = (e) => It(e) || e === null, Uc
|
|
|
2380
2380
|
alpha: Le("alpha"),
|
|
2381
2381
|
strokeWidth: Le("strokeWidth"),
|
|
2382
2382
|
lineType: Le("lineType")
|
|
2383
|
-
},
|
|
2383
|
+
}, Do = {
|
|
2384
2384
|
y: Le("ruleY"),
|
|
2385
2385
|
x: Le("ruleX")
|
|
2386
2386
|
}, Bde = {
|
|
@@ -2390,7 +2390,7 @@ var It = (e) => e instanceof Date && Ht(e), JI = (e) => It(e) || e === null, Uc
|
|
|
2390
2390
|
...V,
|
|
2391
2391
|
...jc,
|
|
2392
2392
|
...Gi,
|
|
2393
|
-
...
|
|
2393
|
+
...Do
|
|
2394
2394
|
}, nR = new Set(Object.values(Hn)), v1 = (e) => Le(`scaled_${e}`), Yf = (e) => e.startsWith(g1), iR = (e) => nR.has(e);
|
|
2395
2395
|
function ge(e) {
|
|
2396
2396
|
return e[V.x];
|
|
@@ -2583,22 +2583,22 @@ function Is(e) {
|
|
|
2583
2583
|
var qf = (e) => {
|
|
2584
2584
|
const t = q(e.mapping.x);
|
|
2585
2585
|
return t !== null && t !== Ii.x ? t : we.group;
|
|
2586
|
-
}, w1 = (e) => fR(e) ? q(e.mapping.y) : null, A1 = (e) => w1(e) === null ? null : Is(e), S1 = (e) => e.spatialKind !== "cells", fR = (e) => e.spatialKind === "points" || e.spatialKind === "cells", uh = (e, t) => e.yScaleType === t.yScaleType && dh(e.valueFormat) === dh(t.valueFormat), Vg = (e) => `${e.yScaleType} y axis, ${dh(e.valueFormat)}`, dh = (e) => e.type === "currency" ? `${e.type}:${e.iso}` : e.type, T1 = typeof global == "object" && global && global.Object === Object && global, mR = typeof self == "object" && self && self.Object === Object && self, an = T1 || mR || Function("return this")(),
|
|
2586
|
+
}, w1 = (e) => fR(e) ? q(e.mapping.y) : null, A1 = (e) => w1(e) === null ? null : Is(e), S1 = (e) => e.spatialKind !== "cells", fR = (e) => e.spatialKind === "points" || e.spatialKind === "cells", uh = (e, t) => e.yScaleType === t.yScaleType && dh(e.valueFormat) === dh(t.valueFormat), Vg = (e) => `${e.yScaleType} y axis, ${dh(e.valueFormat)}`, dh = (e) => e.type === "currency" ? `${e.type}:${e.iso}` : e.type, T1 = typeof global == "object" && global && global.Object === Object && global, mR = typeof self == "object" && self && self.Object === Object && self, an = T1 || mR || Function("return this")(), Ha = an.Symbol, M1 = Object.prototype, pR = M1.hasOwnProperty, gR = M1.toString, So = Ha ? Ha.toStringTag : void 0;
|
|
2587
2587
|
function vR(e) {
|
|
2588
|
-
var t = pR.call(e,
|
|
2588
|
+
var t = pR.call(e, So), r = e[So];
|
|
2589
2589
|
try {
|
|
2590
|
-
e[
|
|
2590
|
+
e[So] = void 0;
|
|
2591
2591
|
var n = !0;
|
|
2592
2592
|
} catch {
|
|
2593
2593
|
}
|
|
2594
2594
|
var i = gR.call(e);
|
|
2595
|
-
return n && (t ? e[
|
|
2595
|
+
return n && (t ? e[So] = r : delete e[So]), i;
|
|
2596
2596
|
}
|
|
2597
2597
|
var yR = Object.prototype.toString;
|
|
2598
2598
|
function bR(e) {
|
|
2599
2599
|
return yR.call(e);
|
|
2600
2600
|
}
|
|
2601
|
-
var xR = "[object Null]", wR = "[object Undefined]", Hg =
|
|
2601
|
+
var xR = "[object Null]", wR = "[object Undefined]", Hg = Ha ? Ha.toStringTag : void 0;
|
|
2602
2602
|
function Ui(e) {
|
|
2603
2603
|
return e == null ? e === void 0 ? wR : xR : Hg && Hg in Object(e) ? vR(e) : bR(e);
|
|
2604
2604
|
}
|
|
@@ -2609,7 +2609,7 @@ var AR = "[object Symbol]";
|
|
|
2609
2609
|
function SR(e) {
|
|
2610
2610
|
return typeof e == "symbol" || Gn(e) && Ui(e) == AR;
|
|
2611
2611
|
}
|
|
2612
|
-
var
|
|
2612
|
+
var Ga = Array.isArray, TR = /\s/;
|
|
2613
2613
|
function MR(e) {
|
|
2614
2614
|
for (var t = e.length; t-- && TR.test(e.charAt(t)); ) ;
|
|
2615
2615
|
return t;
|
|
@@ -2838,15 +2838,15 @@ function YL(e) {
|
|
|
2838
2838
|
return e(t);
|
|
2839
2839
|
};
|
|
2840
2840
|
}
|
|
2841
|
-
var I1 = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
2841
|
+
var I1 = typeof exports == "object" && exports && !exports.nodeType && exports, Ho = I1 && typeof module == "object" && module && !module.nodeType && module, nd = Ho && Ho.exports === I1 && T1.process, Xg = (function() {
|
|
2842
2842
|
try {
|
|
2843
|
-
var e =
|
|
2843
|
+
var e = Ho && Ho.require && Ho.require("util").types;
|
|
2844
2844
|
return e || nd && nd.binding && nd.binding("util");
|
|
2845
2845
|
} catch {
|
|
2846
2846
|
}
|
|
2847
2847
|
})(), qg = Xg && Xg.isTypedArray, em = qg ? YL(qg) : zL, KL = Object.prototype.hasOwnProperty;
|
|
2848
2848
|
function R1(e, t) {
|
|
2849
|
-
var r =
|
|
2849
|
+
var r = Ga(e), n = !r && fh(e), i = !r && !n && ac(e), a = !r && !n && !i && em(e), o = r || n || i || a, s = o ? vL(e.length, String) : [], l = s.length;
|
|
2850
2850
|
for (var c in e) (t || KL.call(e, c)) && !(o && (c == "length" || i && (c == "offset" || c == "parent") || a && (c == "buffer" || c == "byteLength" || c == "byteOffset") || k1(c, l))) && s.push(c);
|
|
2851
2851
|
return s;
|
|
2852
2852
|
}
|
|
@@ -3070,7 +3070,7 @@ var HD = Object.prototype.propertyIsEnumerable, ev = Object.getOwnPropertySymbol
|
|
|
3070
3070
|
} : VD;
|
|
3071
3071
|
function WD(e, t, r) {
|
|
3072
3072
|
var n = t(e);
|
|
3073
|
-
return
|
|
3073
|
+
return Ga(e) ? n : SD(n, r(e));
|
|
3074
3074
|
}
|
|
3075
3075
|
function tv(e) {
|
|
3076
3076
|
return WD(e, JL, GD);
|
|
@@ -3165,7 +3165,7 @@ function oO(e) {
|
|
|
3165
3165
|
r[++t] = n;
|
|
3166
3166
|
}), r;
|
|
3167
3167
|
}
|
|
3168
|
-
var sO = 1, lO = 2, cO = "[object Boolean]", uO = "[object Date]", dO = "[object Error]", hO = "[object Map]", fO = "[object Number]", mO = "[object RegExp]", pO = "[object Set]", gO = "[object String]", vO = "[object Symbol]", yO = "[object ArrayBuffer]", bO = "[object DataView]", lv =
|
|
3168
|
+
var sO = 1, lO = 2, cO = "[object Boolean]", uO = "[object Date]", dO = "[object Error]", hO = "[object Map]", fO = "[object Number]", mO = "[object RegExp]", pO = "[object Set]", gO = "[object String]", vO = "[object Symbol]", yO = "[object ArrayBuffer]", bO = "[object DataView]", lv = Ha ? Ha.prototype : void 0, id = lv ? lv.valueOf : void 0;
|
|
3169
3169
|
function xO(e, t, r, n, i, a, o) {
|
|
3170
3170
|
switch (r) {
|
|
3171
3171
|
case bO:
|
|
@@ -3227,7 +3227,7 @@ function SO(e, t, r, n, i, a) {
|
|
|
3227
3227
|
}
|
|
3228
3228
|
var TO = 1, cv = "[object Arguments]", uv = "[object Array]", hl = "[object Object]", dv = Object.prototype.hasOwnProperty;
|
|
3229
3229
|
function MO(e, t, r, n, i, a) {
|
|
3230
|
-
var o =
|
|
3230
|
+
var o = Ga(e), s = Ga(t), l = o ? uv : sv(e), c = s ? uv : sv(t);
|
|
3231
3231
|
l = l == cv ? hl : l, c = c == cv ? hl : c;
|
|
3232
3232
|
var u = l == hl, d = c == hl, h = l == c;
|
|
3233
3233
|
if (h && ac(e)) {
|
|
@@ -3279,8 +3279,8 @@ function CO(e, t, r, n, i, a, o) {
|
|
|
3279
3279
|
}
|
|
3280
3280
|
var u = a ? a(s, l, r + "", e, t, o) : void 0, d = u === void 0;
|
|
3281
3281
|
if (d) {
|
|
3282
|
-
var h =
|
|
3283
|
-
u = l, h || f || m ?
|
|
3282
|
+
var h = Ga(l), f = !h && ac(l), m = !h && !f && em(l);
|
|
3283
|
+
u = l, h || f || m ? Ga(s) ? u = s : PO(s) ? u = JR(s) : f ? (d = !1, u = BD(l, !0)) : m ? (d = !1, u = qD(l, !0)) : u = [] : _D(l) || fh(l) ? (u = s, fh(s) ? u = _O(s) : (!An(s) || Qf(s)) && (u = QD(l))) : d = !1;
|
|
3284
3284
|
}
|
|
3285
3285
|
d && (o.set(l, u), i(u, l, n, a, o), o.delete(l)), vh(e, r, u);
|
|
3286
3286
|
}
|
|
@@ -3316,13 +3316,13 @@ var Yi = pL(function(e, t, r) {
|
|
|
3316
3316
|
code: e.code ?? "INTERNAL_INVARIANT"
|
|
3317
3317
|
}), this.kind = "internal";
|
|
3318
3318
|
}
|
|
3319
|
-
}, rm = (e) => e.type === "lookup", LO = (e) => e.type === "text",
|
|
3319
|
+
}, rm = (e) => e.type === "lookup", LO = (e) => e.type === "text", to = (e) => e.type === "date" || e.type === "datetime" || e.type === "year" || e.type === "month_year" || e.type === "month" || e.type === "day_month" || e.type === "weekly_date_range" || e.type === "weekly_date_range_with_year" || e.type === "quarter" || e.type === "time", W1 = (e) => e.type === "decimal" || e.type === "integer" || e.type === "percentage" || e.type === "duration" || e.type === "currency", U1 = (e) => e.type === "currency", j1 = (e) => e.type === "month" || e.type === "day_month" || e.type === "weekly_date_range", $1 = (e) => {
|
|
3320
3320
|
if (rm(e)) return $1(e.fallback);
|
|
3321
|
-
if (
|
|
3321
|
+
if (to(e)) return "temporal";
|
|
3322
3322
|
if (W1(e)) return "numeric";
|
|
3323
3323
|
if (LO(e)) return "categorical";
|
|
3324
3324
|
throw new ue({ message: `No data type found for value format: ${e.type}` });
|
|
3325
|
-
},
|
|
3325
|
+
}, Go = (e) => rm(e) ? e.fallback : e, z1 = class {
|
|
3326
3326
|
constructor() {
|
|
3327
3327
|
this.currentYear = (/* @__PURE__ */ new Date()).getUTCFullYear(), this.previousDate = null, this.previousYear = null;
|
|
3328
3328
|
}
|
|
@@ -3331,7 +3331,7 @@ var Yi = pL(function(e, t, r) {
|
|
|
3331
3331
|
const t = new Date(e.getTime());
|
|
3332
3332
|
return t.setUTCFullYear(this.previousYear), this.previousDate = t, t;
|
|
3333
3333
|
}
|
|
3334
|
-
},
|
|
3334
|
+
}, Wo = {
|
|
3335
3335
|
k: 1e3,
|
|
3336
3336
|
m: 1e6,
|
|
3337
3337
|
b: 1e9,
|
|
@@ -3567,7 +3567,7 @@ var Yi = pL(function(e, t, r) {
|
|
|
3567
3567
|
}
|
|
3568
3568
|
], q1 = 1800, Q1 = 2199, GO = 3, WO = 6, UO = 5, jO = 1, $O = 28, zO = /\s*[–—]\s*|\s-\s/, YO = (e) => typeof e == "number" ? Number.isInteger(e) && e >= q1 && e <= Q1 : typeof e == "string" ? BO.test(e) : !1, J1 = (e, t) => {
|
|
3569
3569
|
const r = os(e);
|
|
3570
|
-
return !t && Li(r) ? QO(r) : typeof r == "string" ? t ? Ht(
|
|
3570
|
+
return !t && Li(r) ? QO(r) : typeof r == "string" ? t ? Ht(Ba(r, t, /* @__PURE__ */ new Date())) : !!Z1(r) || Xc(r) && Ht(new Date(r)) : Ht(r);
|
|
3571
3571
|
}, os = (e) => {
|
|
3572
3572
|
if (typeof e != "string") return e;
|
|
3573
3573
|
let t = e;
|
|
@@ -3575,7 +3575,7 @@ var Yi = pL(function(e, t, r) {
|
|
|
3575
3575
|
return t;
|
|
3576
3576
|
}, Z1 = (e, t = Kc) => {
|
|
3577
3577
|
const r = os(e);
|
|
3578
|
-
return Xc(r) ? { type: "datetime" } : eA(t).find((n) => !
|
|
3578
|
+
return Xc(r) ? { type: "datetime" } : eA(t).find((n) => !to(n) || n.type === "month" && r.length < GO ? !1 : n.dateFormat && Ht(Ba(r, n.dateFormat, /* @__PURE__ */ new Date())));
|
|
3579
3579
|
}, Xc = (e) => NO.test(e.trim()), KO = (e) => {
|
|
3580
3580
|
if (e instanceof Date) return Ht(e) ? e : null;
|
|
3581
3581
|
if (typeof e != "string" || !Xc(e)) return null;
|
|
@@ -3586,8 +3586,8 @@ var Yi = pL(function(e, t, r) {
|
|
|
3586
3586
|
if (!r || !n) return;
|
|
3587
3587
|
const i = os(r).trim(), a = os(n).trim();
|
|
3588
3588
|
return qO(t).find((o) => {
|
|
3589
|
-
if (!
|
|
3590
|
-
const s =
|
|
3589
|
+
if (!to(o) || !o.dateFormat) return !1;
|
|
3590
|
+
const s = Ba(i, o.dateFormat, /* @__PURE__ */ new Date()), l = Ba(a, o.dateFormat, /* @__PURE__ */ new Date());
|
|
3591
3591
|
if (!Ht(s) || !Ht(l)) return !1;
|
|
3592
3592
|
const c = new z1(), u = c.incrementYearIfNeeded(s), d = c.incrementYearIfNeeded(l), h = s1(d, u);
|
|
3593
3593
|
return QI(new Date(u.getFullYear(), jO, $O), {
|
|
@@ -3682,9 +3682,9 @@ var Yi = pL(function(e, t, r) {
|
|
|
3682
3682
|
return Li(r) ? r.split(",").join("") : "";
|
|
3683
3683
|
}, aA = (e) => Object.keys(rA).sort((t, r) => r.length - t.length).find((t) => e.includes(t)), oA = (e) => {
|
|
3684
3684
|
const t = Object.entries(e);
|
|
3685
|
-
return !t.length || !t.some(([, r]) => !
|
|
3686
|
-
},
|
|
3687
|
-
if (
|
|
3685
|
+
return !t.length || !t.some(([, r]) => !Wa(r));
|
|
3686
|
+
}, Wa = (e) => typeof e == "string" && e.trim() === "" || e === void 0 || e === null || e === "-", ZO = /\s*[–—]\s*|\s-\s/, sA = (e, t, r) => {
|
|
3687
|
+
if (Wa(e)) return null;
|
|
3688
3688
|
switch (t.type) {
|
|
3689
3689
|
case "decimal":
|
|
3690
3690
|
case "integer":
|
|
@@ -3719,12 +3719,12 @@ var Yi = pL(function(e, t, r) {
|
|
|
3719
3719
|
if (n.length === 0) return null;
|
|
3720
3720
|
const i = /* @__PURE__ */ new Date();
|
|
3721
3721
|
if (t) {
|
|
3722
|
-
const o =
|
|
3722
|
+
const o = Ba(n, t, i);
|
|
3723
3723
|
return Ht(o) ? ad(o) : null;
|
|
3724
3724
|
}
|
|
3725
3725
|
for (const o of eA(r)) {
|
|
3726
|
-
if (!
|
|
3727
|
-
const s =
|
|
3726
|
+
if (!to(o) || !o.dateFormat) continue;
|
|
3727
|
+
const s = Ba(n, o.dateFormat, i);
|
|
3728
3728
|
if (Ht(s)) return ad(s);
|
|
3729
3729
|
}
|
|
3730
3730
|
const a = new Date(n);
|
|
@@ -3736,7 +3736,7 @@ var Yi = pL(function(e, t, r) {
|
|
|
3736
3736
|
if (!Li(t)) return null;
|
|
3737
3737
|
let r = 1;
|
|
3738
3738
|
for (const n of nm) if (new RegExp(`${n}$`, "i").test(t)) {
|
|
3739
|
-
r =
|
|
3739
|
+
r = Wo[n], t = t.slice(0, -1);
|
|
3740
3740
|
break;
|
|
3741
3741
|
}
|
|
3742
3742
|
return Number(t.split(",").join("")) * r;
|
|
@@ -3758,14 +3758,14 @@ var Yi = pL(function(e, t, r) {
|
|
|
3758
3758
|
}, nN = (e) => String(e).trim(), ad = (e) => new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds())), Ti = (e, t, r) => {
|
|
3759
3759
|
if (t.type === "text" && typeof e == "string") return e;
|
|
3760
3760
|
const n = sA(e, t, r);
|
|
3761
|
-
return n !== null || !
|
|
3761
|
+
return n !== null || !to(t) ? n : KO(e);
|
|
3762
3762
|
}, iN = (e, t) => {
|
|
3763
|
-
const r =
|
|
3763
|
+
const r = Go(e.data.getValueFormat(qf(e))), n = w1(e);
|
|
3764
3764
|
return (i) => ({
|
|
3765
3765
|
...i,
|
|
3766
3766
|
anchorValue: Ti(i.anchorValue, r, t),
|
|
3767
|
-
...i.groupValue !== void 0 && { groupValue: Ti(i.groupValue,
|
|
3768
|
-
...i.crossValue !== void 0 && n !== null && { crossValue: Ti(i.crossValue,
|
|
3767
|
+
...i.groupValue !== void 0 && { groupValue: Ti(i.groupValue, Go(e.data.getValueFormat(we.group)), t) },
|
|
3768
|
+
...i.crossValue !== void 0 && n !== null && { crossValue: Ti(i.crossValue, Go(e.data.getValueFormat(n)), t) }
|
|
3769
3769
|
});
|
|
3770
3770
|
};
|
|
3771
3771
|
function bh(e) {
|
|
@@ -3940,7 +3940,7 @@ function Zt(e, t) {
|
|
|
3940
3940
|
function Sn(e, t) {
|
|
3941
3941
|
return e === "x" ? t.y : t.x;
|
|
3942
3942
|
}
|
|
3943
|
-
function
|
|
3943
|
+
function Ua(e, t) {
|
|
3944
3944
|
return {
|
|
3945
3945
|
main: Zt(e, t),
|
|
3946
3946
|
cross: Sn(e, t)
|
|
@@ -3973,7 +3973,7 @@ var er = (e) => e[we.group], dN = (e) => {
|
|
|
3973
3973
|
...s !== null && { groupValue: s }
|
|
3974
3974
|
};
|
|
3975
3975
|
};
|
|
3976
|
-
},
|
|
3976
|
+
}, ja = (e, t) => e >= 0 && e <= 1 && t >= 0 && t <= 1, hN = { type: "decimal" };
|
|
3977
3977
|
function gA(e) {
|
|
3978
3978
|
return e.length > 0 && e.every((t) => t.data.size() === 0);
|
|
3979
3979
|
}
|
|
@@ -4082,7 +4082,7 @@ function bN(e, t, r) {
|
|
|
4082
4082
|
}
|
|
4083
4083
|
function xN(e, t) {
|
|
4084
4084
|
if (!t.hasVariable(e.variable)) return fn;
|
|
4085
|
-
const r = t.createValueReader(e.variable), n =
|
|
4085
|
+
const r = t.createValueReader(e.variable), n = Go(t.getValueFormat(e.variable)), i = (a) => Ti(a, n, t.parsingLocale);
|
|
4086
4086
|
if ("eq" in e) {
|
|
4087
4087
|
const a = i(e.eq);
|
|
4088
4088
|
return (o) => Kr(r(o), a);
|
|
@@ -4272,7 +4272,7 @@ var AN = (e, t, r, n, i, a, o) => {
|
|
|
4272
4272
|
const l = yv(t.x, "x", r, a), c = yv(t.y, "y", r, a);
|
|
4273
4273
|
if (l === null || c === null) return null;
|
|
4274
4274
|
const u = o.map(l), d = s.map(c);
|
|
4275
|
-
if (!
|
|
4275
|
+
if (!ja(u, d)) return null;
|
|
4276
4276
|
const h = vv(u, o, CN(e)), f = vv(d, s), m = gv(n.mainAxis, {
|
|
4277
4277
|
main: h.min,
|
|
4278
4278
|
cross: f.min
|
|
@@ -4358,7 +4358,7 @@ var AN = (e, t, r, n, i, a, o) => {
|
|
|
4358
4358
|
for (const i of r) {
|
|
4359
4359
|
const a = q(i.mapping[t]);
|
|
4360
4360
|
if (!(a === null || a === Ii.x))
|
|
4361
|
-
return Ti(e,
|
|
4361
|
+
return Ti(e, Go(i.data.getValueFormat(a)), n);
|
|
4362
4362
|
}
|
|
4363
4363
|
return e;
|
|
4364
4364
|
}, RN = class extends Xn {
|
|
@@ -4816,7 +4816,7 @@ var QN = (e) => e == null || typeof e == "number" && Number.isNaN(e), JN = (e) =
|
|
|
4816
4816
|
return new In(this.names, new Map(this.columns), this.rowCount);
|
|
4817
4817
|
}
|
|
4818
4818
|
};
|
|
4819
|
-
var ZN = "value",
|
|
4819
|
+
var ZN = "value", Uo = {
|
|
4820
4820
|
numeric: { type: "decimal" },
|
|
4821
4821
|
categorical: { type: "text" },
|
|
4822
4822
|
temporal: { type: "datetime" }
|
|
@@ -4977,7 +4977,7 @@ var ZN = "value", Wo = {
|
|
|
4977
4977
|
variableName: a
|
|
4978
4978
|
})]]))), n = {};
|
|
4979
4979
|
for (const [i, { variableName: a, aggregation: o }] of Object.entries(t)) {
|
|
4980
|
-
const s = this.variableMetadata[a], l = s?.type ?? "numeric", c = s?.valueFormat ??
|
|
4980
|
+
const s = this.variableMetadata[a], l = s?.type ?? "numeric", c = s?.valueFormat ?? Uo[l];
|
|
4981
4981
|
n[i] = {
|
|
4982
4982
|
type: MA(o, l),
|
|
4983
4983
|
valueFormat: kA(o, c)
|
|
@@ -5042,14 +5042,14 @@ var ZN = "value", Wo = {
|
|
|
5042
5042
|
resolveAddedVariableFormat(t, r, n) {
|
|
5043
5043
|
if (n !== void 0) return n;
|
|
5044
5044
|
const i = this.variableMetadata[t];
|
|
5045
|
-
return i ? i.valueFormat :
|
|
5045
|
+
return i ? i.valueFormat : Uo[r];
|
|
5046
5046
|
}
|
|
5047
5047
|
parseVariableMap(t) {
|
|
5048
5048
|
const r = {}, n = {};
|
|
5049
5049
|
for (const [i, { type: a, values: o, valueFormat: s }] of Object.entries(t))
|
|
5050
5050
|
r[i] = o, n[i] = {
|
|
5051
5051
|
type: a,
|
|
5052
|
-
valueFormat: s ??
|
|
5052
|
+
valueFormat: s ?? Uo[a]
|
|
5053
5053
|
};
|
|
5054
5054
|
return {
|
|
5055
5055
|
table: wh.from(r),
|
|
@@ -5098,7 +5098,7 @@ var ZN = "value", Wo = {
|
|
|
5098
5098
|
const a = this.variableMetadata[i], o = a?.type ?? "categorical";
|
|
5099
5099
|
return [i, {
|
|
5100
5100
|
type: o,
|
|
5101
|
-
valueFormat: a?.valueFormat ??
|
|
5101
|
+
valueFormat: a?.valueFormat ?? Uo[o]
|
|
5102
5102
|
}];
|
|
5103
5103
|
}));
|
|
5104
5104
|
for (const [i, { variableName: a, aggregation: o }] of Object.entries(e)) {
|
|
@@ -5107,7 +5107,7 @@ var ZN = "value", Wo = {
|
|
|
5107
5107
|
type: c,
|
|
5108
5108
|
variableName: a
|
|
5109
5109
|
}));
|
|
5110
|
-
const u = l?.valueFormat ??
|
|
5110
|
+
const u = l?.valueFormat ?? Uo[c];
|
|
5111
5111
|
n[i] = {
|
|
5112
5112
|
type: MA(o, c),
|
|
5113
5113
|
valueFormat: kA(o, u)
|
|
@@ -5225,7 +5225,7 @@ var nB = class extends Xn {
|
|
|
5225
5225
|
transform(e) {
|
|
5226
5226
|
return this.transformStage.compile(e);
|
|
5227
5227
|
}
|
|
5228
|
-
},
|
|
5228
|
+
}, ro = class {
|
|
5229
5229
|
constructor(e) {
|
|
5230
5230
|
this.label = e, this.items = /* @__PURE__ */ new Map();
|
|
5231
5231
|
}
|
|
@@ -5473,7 +5473,7 @@ function MB(e) {
|
|
|
5473
5473
|
data: t
|
|
5474
5474
|
};
|
|
5475
5475
|
}
|
|
5476
|
-
var EB = class extends
|
|
5476
|
+
var EB = class extends ro {
|
|
5477
5477
|
constructor() {
|
|
5478
5478
|
super("coord"), this.register("cartesian", new sB()), this.register("flip", new lB()), this.register("polar", new pB());
|
|
5479
5479
|
}
|
|
@@ -5495,8 +5495,8 @@ var EB = class extends to {
|
|
|
5495
5495
|
for (const [o, s] of e.columns.entries()) {
|
|
5496
5496
|
if (s._metadata?.isHidden) continue;
|
|
5497
5497
|
const l = n.get(s.key);
|
|
5498
|
-
if (
|
|
5499
|
-
const c = s.valueFormat ?? (
|
|
5498
|
+
if (Wa(l) && a) continue;
|
|
5499
|
+
const c = s.valueFormat ?? (Wa(l) ? _B : o === i ? PB : kB(l, t)), u = $1(c);
|
|
5500
5500
|
r[s.key] = LB(s.key, e.rows, c, u, t);
|
|
5501
5501
|
}
|
|
5502
5502
|
return new Mi(r);
|
|
@@ -5512,7 +5512,7 @@ var EB = class extends to {
|
|
|
5512
5512
|
const t = OB(e.rows, 5);
|
|
5513
5513
|
return e.columns.findIndex((r) => {
|
|
5514
5514
|
if (r.valueFormat) return !1;
|
|
5515
|
-
const n = t.map((i) => i[r.key]).filter((i) => !
|
|
5515
|
+
const n = t.map((i) => i[r.key]).filter((i) => !Wa(i));
|
|
5516
5516
|
return n.length >= 2 && n.every(YO);
|
|
5517
5517
|
});
|
|
5518
5518
|
}, LB = (e, t, r, n, i) => ({
|
|
@@ -5524,7 +5524,7 @@ var EB = class extends to {
|
|
|
5524
5524
|
for (const n of e.rows) {
|
|
5525
5525
|
for (const i of r) {
|
|
5526
5526
|
const a = n[i];
|
|
5527
|
-
|
|
5527
|
+
Wa(a) || (t.set(i, a), r.delete(i));
|
|
5528
5528
|
}
|
|
5529
5529
|
if (r.size === 0) break;
|
|
5530
5530
|
}
|
|
@@ -5661,7 +5661,7 @@ var ld = (e) => {
|
|
|
5661
5661
|
case "continuous":
|
|
5662
5662
|
return W1(e);
|
|
5663
5663
|
case "datetime":
|
|
5664
|
-
return
|
|
5664
|
+
return to(e);
|
|
5665
5665
|
case "discrete":
|
|
5666
5666
|
case "palette":
|
|
5667
5667
|
case "identity":
|
|
@@ -5754,7 +5754,7 @@ function Xi(e) {
|
|
|
5754
5754
|
return (r - t - (r.getTimezoneOffset() - t.getTimezoneOffset()) * sr) / lm;
|
|
5755
5755
|
});
|
|
5756
5756
|
}
|
|
5757
|
-
var cm = Xi(0), uc = Xi(1), KB = Xi(2), XB = Xi(3),
|
|
5757
|
+
var cm = Xi(0), uc = Xi(1), KB = Xi(2), XB = Xi(3), $a = Xi(4), qB = Xi(5), QB = Xi(6), jde = cm.range, $de = uc.range, zde = KB.range, Yde = XB.range, Kde = $a.range, Xde = qB.range, qde = QB.range, DA = ht(function(e) {
|
|
5758
5758
|
e.setDate(1), e.setHours(0, 0, 0, 0);
|
|
5759
5759
|
}, function(e, t) {
|
|
5760
5760
|
e.setMonth(e.getMonth() + t);
|
|
@@ -5794,7 +5794,7 @@ var Jde = Un.range, um = ht(function(e) {
|
|
|
5794
5794
|
return (t - e) / gn;
|
|
5795
5795
|
}, function(e) {
|
|
5796
5796
|
return e.getUTCHours();
|
|
5797
|
-
}), ehe = iu.range,
|
|
5797
|
+
}), ehe = iu.range, no = ht(function(e) {
|
|
5798
5798
|
e.setUTCHours(0, 0, 0, 0);
|
|
5799
5799
|
}, function(e, t) {
|
|
5800
5800
|
e.setUTCDate(e.getUTCDate() + t);
|
|
@@ -5802,7 +5802,7 @@ var Jde = Un.range, um = ht(function(e) {
|
|
|
5802
5802
|
return (t - e) / Ni;
|
|
5803
5803
|
}, function(e) {
|
|
5804
5804
|
return e.getUTCDate() - 1;
|
|
5805
|
-
}), the =
|
|
5805
|
+
}), the = no.range;
|
|
5806
5806
|
function qi(e) {
|
|
5807
5807
|
return ht(function(t) {
|
|
5808
5808
|
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
|
|
@@ -5812,7 +5812,7 @@ function qi(e) {
|
|
|
5812
5812
|
return (r - t) / lm;
|
|
5813
5813
|
});
|
|
5814
5814
|
}
|
|
5815
|
-
var au = qi(0), ss = qi(1), JB = qi(2), ZB = qi(3),
|
|
5815
|
+
var au = qi(0), ss = qi(1), JB = qi(2), ZB = qi(3), za = qi(4), e5 = qi(5), t5 = qi(6), rhe = au.range, nhe = ss.range, ihe = JB.range, ahe = ZB.range, ohe = za.range, she = e5.range, lhe = t5.range, ou = ht(function(e) {
|
|
5816
5816
|
e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
|
|
5817
5817
|
}, function(e, t) {
|
|
5818
5818
|
e.setUTCMonth(e.getUTCMonth() + t);
|
|
@@ -6045,7 +6045,7 @@ function FA(e, t, r, n, i, a) {
|
|
|
6045
6045
|
}
|
|
6046
6046
|
return [s, l];
|
|
6047
6047
|
}
|
|
6048
|
-
var [c5, u5] = FA(tn, ou, au,
|
|
6048
|
+
var [c5, u5] = FA(tn, ou, au, no, iu, um), [fhe, mhe] = FA(Un, DA, cm, nu, LA, RA), d5 = [
|
|
6049
6049
|
{
|
|
6050
6050
|
unit: "year",
|
|
6051
6051
|
step: 1e3
|
|
@@ -6172,7 +6172,7 @@ var [c5, u5] = FA(tn, ou, au, ro, iu, um), [fhe, mhe] = FA(Un, DA, cm, nu, LA, R
|
|
|
6172
6172
|
case "hour":
|
|
6173
6173
|
return iu;
|
|
6174
6174
|
case "day":
|
|
6175
|
-
return
|
|
6175
|
+
return no;
|
|
6176
6176
|
case "week":
|
|
6177
6177
|
return ss;
|
|
6178
6178
|
case "month":
|
|
@@ -6322,19 +6322,19 @@ var P5 = (e, t, r) => {
|
|
|
6322
6322
|
const i = /* @__PURE__ */ new Set(), a = [];
|
|
6323
6323
|
for (let o = 1; o <= b5; o++) {
|
|
6324
6324
|
const s = e.generateTicks({ count: o }), l = Ne(s);
|
|
6325
|
-
i.has(l) || (i.add(l), a.push({ ticks: s.map((c) =>
|
|
6325
|
+
i.has(l) || (i.add(l), a.push({ ticks: s.map((c) => Ya(e, c)) }));
|
|
6326
6326
|
}
|
|
6327
6327
|
return a;
|
|
6328
6328
|
}
|
|
6329
|
-
return e.spec.scaleType === "datetime" ? _5(e, t) : [{ ticks: e.generateTicks().map((i) =>
|
|
6329
|
+
return e.spec.scaleType === "datetime" ? _5(e, t) : [{ ticks: e.generateTicks().map((i) => Ya(e, i)) }];
|
|
6330
6330
|
}, _5 = (e, t) => {
|
|
6331
6331
|
const [r, n] = e.domain;
|
|
6332
|
-
if (!It(r) || !It(n)) return [{ ticks: e.generateTicks().map((s) =>
|
|
6332
|
+
if (!It(r) || !It(n)) return [{ ticks: e.generateTicks().map((s) => Ya(e, s)) }];
|
|
6333
6333
|
const i = /* @__PURE__ */ new Set(), a = [], o = (s, l) => {
|
|
6334
6334
|
if (s.length === 0) return;
|
|
6335
6335
|
const c = Ne(s);
|
|
6336
6336
|
i.has(c) || (i.add(c), a.push({
|
|
6337
|
-
ticks: s.map((u) =>
|
|
6337
|
+
ticks: s.map((u) => Ya(e, u)),
|
|
6338
6338
|
valueFormat: l
|
|
6339
6339
|
}));
|
|
6340
6340
|
};
|
|
@@ -6347,8 +6347,8 @@ var P5 = (e, t, r) => {
|
|
|
6347
6347
|
return o(e.generateTicks({ atInputs: !0 })), a.sort((s, l) => s.ticks.length - l.ticks.length), a;
|
|
6348
6348
|
}, C5 = (e) => {
|
|
6349
6349
|
const { domain: t } = e, r = t[0], n = t.at(-1);
|
|
6350
|
-
return !W(r) || !W(n) || Ne([r]) === Ne([n]) ? null : { ticks: [
|
|
6351
|
-
},
|
|
6350
|
+
return !W(r) || !W(n) || Ne([r]) === Ne([n]) ? null : { ticks: [Ya(e, r), Ya(e, n)] };
|
|
6351
|
+
}, Ya = (e, t) => ({
|
|
6352
6352
|
value: t,
|
|
6353
6353
|
position: e.map(t)
|
|
6354
6354
|
});
|
|
@@ -8902,7 +8902,7 @@ var p3 = (e) => e.observation?.aesthetics ?? Pe.geom.aesthetics, cS = (e) => e.o
|
|
|
8902
8902
|
const { offset: r } = e.layer.dataLabels, n = A3(e.layer);
|
|
8903
8903
|
for (const i of e.layer.data) {
|
|
8904
8904
|
const a = ge(i), o = it(i) ?? fe(i);
|
|
8905
|
-
if (a === null || o === null || !
|
|
8905
|
+
if (a === null || o === null || !ja(a, o)) continue;
|
|
8906
8906
|
const s = e.formatLabel(i);
|
|
8907
8907
|
if (s === "") continue;
|
|
8908
8908
|
const { width: l, height: c } = e.measureDataLabel("observation", "outside", s), { box: u, orientation: d } = w3(o, Lt(i), a, e.panelRect.width, e.panelRect.height), h = Os({
|
|
@@ -9645,7 +9645,7 @@ var W3 = " · ", pd = 2, U3 = (e) => {
|
|
|
9645
9645
|
const { offset: r } = e.layer.dataLabels, n = J3(e.layer);
|
|
9646
9646
|
for (const i of e.layer.data) {
|
|
9647
9647
|
const a = ge(i), o = fe(i);
|
|
9648
|
-
if (a === null || o === null || !
|
|
9648
|
+
if (a === null || o === null || !ja(a, o)) continue;
|
|
9649
9649
|
const s = e.formatLabel(i);
|
|
9650
9650
|
if (s === "") continue;
|
|
9651
9651
|
const { width: l, height: c } = e.measureDataLabel("observation", "outside", s), u = Os({
|
|
@@ -9773,7 +9773,7 @@ var W3 = " · ", pd = 2, U3 = (e) => {
|
|
|
9773
9773
|
const { offset: r } = e.layer.dataLabels, n = tV(e.layer), i = n.justify === "panel-start" || n.justify === "panel-end", a = e.styleReaders;
|
|
9774
9774
|
for (const o of e.layer.data) {
|
|
9775
9775
|
const s = ge(o), l = fe(o);
|
|
9776
|
-
if (s === null || l === null || !
|
|
9776
|
+
if (s === null || l === null || !ja(s, l)) continue;
|
|
9777
9777
|
const c = e.formatLabel(o);
|
|
9778
9778
|
if (c === "") continue;
|
|
9779
9779
|
const { width: u, height: d } = e.measureDataLabel("observation", "outside", c), h = a.get("size", o) / 2, f = Os({
|
|
@@ -9941,25 +9941,25 @@ var W3 = " · ", pd = 2, U3 = (e) => {
|
|
|
9941
9941
|
compile({ data: e, mapping: t }) {
|
|
9942
9942
|
const r = ey(t.y, e);
|
|
9943
9943
|
if (r !== null) return {
|
|
9944
|
-
data: new Mi({ [
|
|
9944
|
+
data: new Mi({ [Do.y]: {
|
|
9945
9945
|
type: "numeric",
|
|
9946
9946
|
values: [r.value],
|
|
9947
9947
|
valueFormat: r.sourceFormat
|
|
9948
9948
|
} }),
|
|
9949
9949
|
mapping: {
|
|
9950
|
-
y:
|
|
9950
|
+
y: Do.y,
|
|
9951
9951
|
x: void 0
|
|
9952
9952
|
}
|
|
9953
9953
|
};
|
|
9954
9954
|
const n = ey(t.x, e);
|
|
9955
9955
|
return n !== null ? {
|
|
9956
|
-
data: new Mi({ [
|
|
9956
|
+
data: new Mi({ [Do.x]: {
|
|
9957
9957
|
type: "numeric",
|
|
9958
9958
|
values: [n.value],
|
|
9959
9959
|
valueFormat: n.sourceFormat
|
|
9960
9960
|
} }),
|
|
9961
9961
|
mapping: {
|
|
9962
|
-
x:
|
|
9962
|
+
x: Do.x,
|
|
9963
9963
|
y: void 0
|
|
9964
9964
|
}
|
|
9965
9965
|
} : {
|
|
@@ -10138,19 +10138,19 @@ var aV = (e) => {
|
|
|
10138
10138
|
new S3(),
|
|
10139
10139
|
new nV(),
|
|
10140
10140
|
new cV()
|
|
10141
|
-
], Ns = class extends
|
|
10141
|
+
], Ns = class extends ro {
|
|
10142
10142
|
constructor() {
|
|
10143
10143
|
super("geom");
|
|
10144
10144
|
for (const e of yS) this.register(e.type, e);
|
|
10145
10145
|
}
|
|
10146
|
-
},
|
|
10146
|
+
}, io = class {
|
|
10147
10147
|
compute(e) {
|
|
10148
10148
|
return e.data.size() === 0 ? {
|
|
10149
10149
|
data: e.data,
|
|
10150
10150
|
mapping: {}
|
|
10151
10151
|
} : this.computeStat(e);
|
|
10152
10152
|
}
|
|
10153
|
-
}, uV = class extends
|
|
10153
|
+
}, uV = class extends io {
|
|
10154
10154
|
constructor(...e) {
|
|
10155
10155
|
super(...e), this.type = "count", this.computedVariables = /* @__PURE__ */ new Set(["y"]);
|
|
10156
10156
|
}
|
|
@@ -10177,7 +10177,7 @@ var aV = (e) => {
|
|
|
10177
10177
|
mapping: { y: Hn.count }
|
|
10178
10178
|
};
|
|
10179
10179
|
}
|
|
10180
|
-
}, dV = class extends
|
|
10180
|
+
}, dV = class extends io {
|
|
10181
10181
|
constructor(...e) {
|
|
10182
10182
|
super(...e), this.type = "identity", this.computedVariables = /* @__PURE__ */ new Set();
|
|
10183
10183
|
}
|
|
@@ -10187,7 +10187,7 @@ var aV = (e) => {
|
|
|
10187
10187
|
mapping: {}
|
|
10188
10188
|
};
|
|
10189
10189
|
}
|
|
10190
|
-
}, hV = class extends
|
|
10190
|
+
}, hV = class extends io {
|
|
10191
10191
|
constructor(...e) {
|
|
10192
10192
|
super(...e), this.type = "mean", this.computedVariables = /* @__PURE__ */ new Set(["y"]);
|
|
10193
10193
|
}
|
|
@@ -10567,7 +10567,7 @@ var aV = (e) => {
|
|
|
10567
10567
|
}
|
|
10568
10568
|
r.regressionExp = m, r.regressionLinear = p, r.regressionLoess = w, r.regressionLog = D, r.regressionPoly = S, r.regressionPow = B, r.regressionQuad = b, Object.defineProperty(r, "__esModule", { value: !0 });
|
|
10569
10569
|
}));
|
|
10570
|
-
})), ci = fV(), mV = 2, bS = 1440 * 60 * 1e3, pV = class extends
|
|
10570
|
+
})), ci = fV(), mV = 2, bS = 1440 * 60 * 1e3, pV = class extends io {
|
|
10571
10571
|
constructor(...e) {
|
|
10572
10572
|
super(...e), this.type = "smooth", this.computedVariables = /* @__PURE__ */ new Set();
|
|
10573
10573
|
}
|
|
@@ -10779,7 +10779,7 @@ var aV = (e) => {
|
|
|
10779
10779
|
const r = {};
|
|
10780
10780
|
for (const n of t) r[n] = e.getValues(n)[0] ?? null;
|
|
10781
10781
|
return r;
|
|
10782
|
-
}, TV = class extends
|
|
10782
|
+
}, TV = class extends io {
|
|
10783
10783
|
constructor(...e) {
|
|
10784
10784
|
super(...e), this.type = "sum", this.computedVariables = /* @__PURE__ */ new Set(["y"]);
|
|
10785
10785
|
}
|
|
@@ -10819,7 +10819,7 @@ var aV = (e) => {
|
|
|
10819
10819
|
new pV(),
|
|
10820
10820
|
new hV(),
|
|
10821
10821
|
new TV()
|
|
10822
|
-
], EV = class extends
|
|
10822
|
+
], EV = class extends ro {
|
|
10823
10823
|
constructor() {
|
|
10824
10824
|
super("stat");
|
|
10825
10825
|
for (const e of MV) this.register(e.type, e);
|
|
@@ -10899,7 +10899,7 @@ var aV = (e) => {
|
|
|
10899
10899
|
new CV(),
|
|
10900
10900
|
new IV(),
|
|
10901
10901
|
new RV()
|
|
10902
|
-
], AS = class extends
|
|
10902
|
+
], AS = class extends ro {
|
|
10903
10903
|
constructor() {
|
|
10904
10904
|
super("transform");
|
|
10905
10905
|
for (const e of LV) this.register(e.transformType, e);
|
|
@@ -10986,7 +10986,7 @@ function gd(e, t, r) {
|
|
|
10986
10986
|
});
|
|
10987
10987
|
return i;
|
|
10988
10988
|
}
|
|
10989
|
-
var TS = (e) => e instanceof on, MS = (e) => e instanceof
|
|
10989
|
+
var TS = (e) => e instanceof on, MS = (e) => e instanceof io, ES = (e) => "transformType" in e && typeof e.apply == "function", BV = class {
|
|
10990
10990
|
constructor(e) {
|
|
10991
10991
|
this.registry = e;
|
|
10992
10992
|
}
|
|
@@ -10994,7 +10994,7 @@ var TS = (e) => e instanceof on, MS = (e) => e instanceof no, ES = (e) => "trans
|
|
|
10994
10994
|
return this.registry.get(e).adjust(t);
|
|
10995
10995
|
}
|
|
10996
10996
|
};
|
|
10997
|
-
function
|
|
10997
|
+
function ao(e, t) {
|
|
10998
10998
|
switch (arguments.length) {
|
|
10999
10999
|
case 0:
|
|
11000
11000
|
break;
|
|
@@ -11030,7 +11030,7 @@ function fu() {
|
|
|
11030
11030
|
return arguments.length ? (n = a, i) : n;
|
|
11031
11031
|
}, i.copy = function() {
|
|
11032
11032
|
return fu(t, r).unknown(n);
|
|
11033
|
-
},
|
|
11033
|
+
}, ao.apply(i, arguments), i;
|
|
11034
11034
|
}
|
|
11035
11035
|
function Tm() {
|
|
11036
11036
|
var e = fu().unknown(void 0), t = e.domain, r = e.range, n = 0, i = 1, a, o, s = !1, l = 0, c = 0, u = 0.5;
|
|
@@ -11065,7 +11065,7 @@ function Tm() {
|
|
|
11065
11065
|
return arguments.length ? (u = Math.max(0, Math.min(1, h)), d()) : u;
|
|
11066
11066
|
}, e.copy = function() {
|
|
11067
11067
|
return Tm(t(), [n, i]).round(s).paddingInner(l).paddingOuter(c).align(u);
|
|
11068
|
-
},
|
|
11068
|
+
}, ao.apply(d(), arguments);
|
|
11069
11069
|
}
|
|
11070
11070
|
function Bs(e, t, r) {
|
|
11071
11071
|
e.prototype = t.prototype = r, r.constructor = e;
|
|
@@ -11673,7 +11673,7 @@ function gc(e, t) {
|
|
|
11673
11673
|
var r, n = e.slice(0, r);
|
|
11674
11674
|
return [n.length > 1 ? n[0] + n.slice(2) : n, +e.slice(r + 1)];
|
|
11675
11675
|
}
|
|
11676
|
-
function
|
|
11676
|
+
function Ka(e) {
|
|
11677
11677
|
return e = gc(Math.abs(e)), e ? e[1] : NaN;
|
|
11678
11678
|
}
|
|
11679
11679
|
function w6(e, t) {
|
|
@@ -11824,7 +11824,7 @@ function E6(e) {
|
|
|
11824
11824
|
}, R;
|
|
11825
11825
|
}
|
|
11826
11826
|
function u(d, h) {
|
|
11827
|
-
var f = c((d = fs(d), d.type = "f", d)), m = Math.max(-8, Math.min(8, Math.floor(
|
|
11827
|
+
var f = c((d = fs(d), d.type = "f", d)), m = Math.max(-8, Math.min(8, Math.floor(Ka(h) / 3))) * 3, p = Math.pow(10, -m), g = yy[8 + m / 3];
|
|
11828
11828
|
return function(y) {
|
|
11829
11829
|
return f(p * y) + g;
|
|
11830
11830
|
};
|
|
@@ -11844,13 +11844,13 @@ function k6(e) {
|
|
|
11844
11844
|
return yl = E6(e), km = yl.format, jS = yl.formatPrefix, yl;
|
|
11845
11845
|
}
|
|
11846
11846
|
function P6(e) {
|
|
11847
|
-
return Math.max(0, -
|
|
11847
|
+
return Math.max(0, -Ka(Math.abs(e)));
|
|
11848
11848
|
}
|
|
11849
11849
|
function _6(e, t) {
|
|
11850
|
-
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(
|
|
11850
|
+
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(Ka(t) / 3))) * 3 - Ka(Math.abs(e)));
|
|
11851
11851
|
}
|
|
11852
11852
|
function C6(e, t) {
|
|
11853
|
-
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0,
|
|
11853
|
+
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, Ka(t) - Ka(e)) + 1;
|
|
11854
11854
|
}
|
|
11855
11855
|
function I6(e, t, r, n) {
|
|
11856
11856
|
var i = Eh(e, t, r), a;
|
|
@@ -11900,7 +11900,7 @@ function Gl() {
|
|
|
11900
11900
|
var e = WS();
|
|
11901
11901
|
return e.copy = function() {
|
|
11902
11902
|
return vu(e, Gl());
|
|
11903
|
-
},
|
|
11903
|
+
}, ao.apply(e, arguments), $S(e);
|
|
11904
11904
|
}
|
|
11905
11905
|
function zS(e, t) {
|
|
11906
11906
|
e = e.slice();
|
|
@@ -11978,7 +11978,7 @@ function B6(e) {
|
|
|
11978
11978
|
}
|
|
11979
11979
|
function YS() {
|
|
11980
11980
|
const e = B6(Mm()).domain([1, 10]);
|
|
11981
|
-
return e.copy = () => vu(e, YS()).base(e.base()),
|
|
11981
|
+
return e.copy = () => vu(e, YS()).base(e.base()), ao.apply(e, arguments), e;
|
|
11982
11982
|
}
|
|
11983
11983
|
function Ay(e) {
|
|
11984
11984
|
return function(t) {
|
|
@@ -12004,7 +12004,7 @@ function KS() {
|
|
|
12004
12004
|
var e = H6(Mm());
|
|
12005
12005
|
return e.copy = function() {
|
|
12006
12006
|
return vu(e, KS()).exponent(e.exponent());
|
|
12007
|
-
},
|
|
12007
|
+
}, ao.apply(e, arguments), e;
|
|
12008
12008
|
}
|
|
12009
12009
|
function G6() {
|
|
12010
12010
|
return KS.apply(null, arguments).exponent(0.5);
|
|
@@ -12023,7 +12023,7 @@ function Td(e) {
|
|
|
12023
12023
|
}
|
|
12024
12024
|
return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));
|
|
12025
12025
|
}
|
|
12026
|
-
function
|
|
12026
|
+
function To(e, t, r) {
|
|
12027
12027
|
return {
|
|
12028
12028
|
y: e,
|
|
12029
12029
|
m: t,
|
|
@@ -12035,7 +12035,7 @@ function So(e, t, r) {
|
|
|
12035
12035
|
};
|
|
12036
12036
|
}
|
|
12037
12037
|
function W6(e) {
|
|
12038
|
-
var t = e.dateTime, r = e.date, n = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, l = e.shortMonths, c =
|
|
12038
|
+
var t = e.dateTime, r = e.date, n = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, l = e.shortMonths, c = Mo(i), u = Eo(i), d = Mo(a), h = Eo(a), f = Mo(o), m = Eo(o), p = Mo(s), g = Eo(s), y = Mo(l), x = Eo(l), w = {
|
|
12039
12039
|
a: E,
|
|
12040
12040
|
A: k,
|
|
12041
12041
|
b: P,
|
|
@@ -12145,14 +12145,14 @@ function W6(e) {
|
|
|
12145
12145
|
}
|
|
12146
12146
|
function D(H, Y) {
|
|
12147
12147
|
return function(X) {
|
|
12148
|
-
var F =
|
|
12148
|
+
var F = To(1900, void 0, 1), le = b(F, H, X += "", 0), J, be;
|
|
12149
12149
|
if (le != X.length) return null;
|
|
12150
12150
|
if ("Q" in F) return new Date(F.Q);
|
|
12151
12151
|
if ("s" in F) return new Date(F.s * 1e3 + ("L" in F ? F.L : 0));
|
|
12152
12152
|
if (Y && !("Z" in F) && (F.Z = 0), "p" in F && (F.H = F.H % 12 + F.p * 12), F.m === void 0 && (F.m = "q" in F ? F.q : 0), "V" in F) {
|
|
12153
12153
|
if (F.V < 1 || F.V > 53) return null;
|
|
12154
|
-
"w" in F || (F.w = 1), "Z" in F ? (J = Td(
|
|
12155
|
-
} else ("W" in F || "U" in F) && ("w" in F || (F.w = "u" in F ? F.u % 7 : "W" in F ? 1 : 0), be = "Z" in F ? Td(
|
|
12154
|
+
"w" in F || (F.w = 1), "Z" in F ? (J = Td(To(F.y, 0, 1)), be = J.getUTCDay(), J = be > 4 || be === 0 ? ss.ceil(J) : ss(J), J = no.offset(J, (F.V - 1) * 7), F.y = J.getUTCFullYear(), F.m = J.getUTCMonth(), F.d = J.getUTCDate() + (F.w + 6) % 7) : (J = Sd(To(F.y, 0, 1)), be = J.getDay(), J = be > 4 || be === 0 ? uc.ceil(J) : uc(J), J = nu.offset(J, (F.V - 1) * 7), F.y = J.getFullYear(), F.m = J.getMonth(), F.d = J.getDate() + (F.w + 6) % 7);
|
|
12155
|
+
} else ("W" in F || "U" in F) && ("w" in F || (F.w = "u" in F ? F.u % 7 : "W" in F ? 1 : 0), be = "Z" in F ? Td(To(F.y, 0, 1)).getUTCDay() : Sd(To(F.y, 0, 1)).getDay(), F.m = 0, F.d = "W" in F ? (F.w + 6) % 7 + F.W * 7 - (be + 5) % 7 : F.w + F.U * 7 - (be + 6) % 7);
|
|
12156
12156
|
return "Z" in F ? (F.H += F.Z / 100 | 0, F.M += F.Z % 100, Td(F)) : Sd(F);
|
|
12157
12157
|
};
|
|
12158
12158
|
}
|
|
@@ -12269,10 +12269,10 @@ function Ae(e, t, r) {
|
|
|
12269
12269
|
function $6(e) {
|
|
12270
12270
|
return e.replace(j6, "\\$&");
|
|
12271
12271
|
}
|
|
12272
|
-
function
|
|
12272
|
+
function Mo(e) {
|
|
12273
12273
|
return new RegExp("^(?:" + e.map($6).join("|") + ")", "i");
|
|
12274
12274
|
}
|
|
12275
|
-
function
|
|
12275
|
+
function Eo(e) {
|
|
12276
12276
|
return new Map(e.map((t, r) => [t.toLowerCase(), r]));
|
|
12277
12277
|
}
|
|
12278
12278
|
function z6(e, t, r) {
|
|
@@ -12391,10 +12391,10 @@ function g4(e, t) {
|
|
|
12391
12391
|
}
|
|
12392
12392
|
function qS(e) {
|
|
12393
12393
|
var t = e.getDay();
|
|
12394
|
-
return t >= 4 || t === 0 ?
|
|
12394
|
+
return t >= 4 || t === 0 ? $a(e) : $a.ceil(e);
|
|
12395
12395
|
}
|
|
12396
12396
|
function v4(e, t) {
|
|
12397
|
-
return e = qS(e), Ae(
|
|
12397
|
+
return e = qS(e), Ae($a.count(Un(e), e) + (Un(e).getDay() === 4), t, 2);
|
|
12398
12398
|
}
|
|
12399
12399
|
function y4(e) {
|
|
12400
12400
|
return e.getDay();
|
|
@@ -12413,7 +12413,7 @@ function A4(e, t) {
|
|
|
12413
12413
|
}
|
|
12414
12414
|
function S4(e, t) {
|
|
12415
12415
|
var r = e.getDay();
|
|
12416
|
-
return e = r >= 4 || r === 0 ?
|
|
12416
|
+
return e = r >= 4 || r === 0 ? $a(e) : $a.ceil(e), Ae(e.getFullYear() % 1e4, t, 4);
|
|
12417
12417
|
}
|
|
12418
12418
|
function T4(e) {
|
|
12419
12419
|
var t = e.getTimezoneOffset();
|
|
@@ -12429,7 +12429,7 @@ function E4(e, t) {
|
|
|
12429
12429
|
return Ae(e.getUTCHours() % 12 || 12, t, 2);
|
|
12430
12430
|
}
|
|
12431
12431
|
function k4(e, t) {
|
|
12432
|
-
return Ae(1 +
|
|
12432
|
+
return Ae(1 + no.count(tn(e), e), t, 3);
|
|
12433
12433
|
}
|
|
12434
12434
|
function QS(e, t) {
|
|
12435
12435
|
return Ae(e.getUTCMilliseconds(), t, 3);
|
|
@@ -12455,10 +12455,10 @@ function L4(e, t) {
|
|
|
12455
12455
|
}
|
|
12456
12456
|
function JS(e) {
|
|
12457
12457
|
var t = e.getUTCDay();
|
|
12458
|
-
return t >= 4 || t === 0 ?
|
|
12458
|
+
return t >= 4 || t === 0 ? za(e) : za.ceil(e);
|
|
12459
12459
|
}
|
|
12460
12460
|
function D4(e, t) {
|
|
12461
|
-
return e = JS(e), Ae(
|
|
12461
|
+
return e = JS(e), Ae(za.count(tn(e), e) + (tn(e).getUTCDay() === 4), t, 2);
|
|
12462
12462
|
}
|
|
12463
12463
|
function O4(e) {
|
|
12464
12464
|
return e.getUTCDay();
|
|
@@ -12477,7 +12477,7 @@ function V4(e, t) {
|
|
|
12477
12477
|
}
|
|
12478
12478
|
function H4(e, t) {
|
|
12479
12479
|
var r = e.getUTCDay();
|
|
12480
|
-
return e = r >= 4 || r === 0 ?
|
|
12480
|
+
return e = r >= 4 || r === 0 ? za(e) : za.ceil(e), Ae(e.getUTCFullYear() % 1e4, t, 4);
|
|
12481
12481
|
}
|
|
12482
12482
|
function G4() {
|
|
12483
12483
|
return "+0000";
|
|
@@ -12575,7 +12575,7 @@ function eT(e, t, r, n, i, a, o, s, l, c) {
|
|
|
12575
12575
|
}, u;
|
|
12576
12576
|
}
|
|
12577
12577
|
function K4() {
|
|
12578
|
-
return
|
|
12578
|
+
return ao.apply(eT(c5, u5, tn, ou, au, no, iu, um, ya, ZS).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
|
|
12579
12579
|
}
|
|
12580
12580
|
var yu = class {
|
|
12581
12581
|
}, X4 = class extends yu {
|
|
@@ -12739,7 +12739,7 @@ var yu = class {
|
|
|
12739
12739
|
mapping: {}
|
|
12740
12740
|
};
|
|
12741
12741
|
}
|
|
12742
|
-
}, t8 = class extends
|
|
12742
|
+
}, t8 = class extends ro {
|
|
12743
12743
|
constructor() {
|
|
12744
12744
|
super("position"), this.register("identity", new Z4()), this.register("stack", new e8()), this.register("fill", new J4()), this.register("dodge", new X4());
|
|
12745
12745
|
}
|
|
@@ -13315,7 +13315,7 @@ var oT = [
|
|
|
13315
13315
|
domainMax: null,
|
|
13316
13316
|
nice: !1,
|
|
13317
13317
|
reverse: !1
|
|
13318
|
-
},
|
|
13318
|
+
}, jo = {
|
|
13319
13319
|
range: null,
|
|
13320
13320
|
domain: null,
|
|
13321
13321
|
padding: 0.1,
|
|
@@ -13582,7 +13582,7 @@ var sH = class extends Fs {
|
|
|
13582
13582
|
return r ? this.buildPositionScale(n, e) : this.buildVisualScale(n, e);
|
|
13583
13583
|
}
|
|
13584
13584
|
buildPositionScale(e, t) {
|
|
13585
|
-
const r = e.map(String), n = t.padding ??
|
|
13585
|
+
const r = e.map(String), n = t.padding ?? jo.padding, i = t.reverse ? [1, 0] : [0, 1], a = Tm().domain(r).range(i).paddingInner(n).paddingOuter(n / 2), o = a.bandwidth() / 2;
|
|
13586
13586
|
return this.createPositionScale(t, {
|
|
13587
13587
|
map: (s) => (a(String(s)) ?? NaN) + o,
|
|
13588
13588
|
domain: e,
|
|
@@ -13724,7 +13724,7 @@ var gH = class extends Fs {
|
|
|
13724
13724
|
generateTicks: () => n
|
|
13725
13725
|
});
|
|
13726
13726
|
}
|
|
13727
|
-
}, vH = class extends
|
|
13727
|
+
}, vH = class extends ro {
|
|
13728
13728
|
constructor(e) {
|
|
13729
13729
|
super("scale"), this.register("continuous", new nH(e)), this.register("discrete", new cH()), this.register("datetime", new sH()), this.register("identity", new uH()), this.register("palette", new gH());
|
|
13730
13730
|
}
|
|
@@ -13771,14 +13771,14 @@ function ar(e, t = {}) {
|
|
|
13771
13771
|
reverse: t.reverse
|
|
13772
13772
|
};
|
|
13773
13773
|
}
|
|
13774
|
-
function
|
|
13774
|
+
function Oo(e, t = {}) {
|
|
13775
13775
|
return {
|
|
13776
13776
|
type: "scale",
|
|
13777
13777
|
scaledAesthetic: e,
|
|
13778
13778
|
scaleType: "identity"
|
|
13779
13779
|
};
|
|
13780
13780
|
}
|
|
13781
|
-
function
|
|
13781
|
+
function $o(e, t) {
|
|
13782
13782
|
return {
|
|
13783
13783
|
type: "scale",
|
|
13784
13784
|
scaledAesthetic: e,
|
|
@@ -13907,9 +13907,9 @@ function xH(e, t) {
|
|
|
13907
13907
|
type: e.type,
|
|
13908
13908
|
scaledAesthetic: e.scaledAesthetic,
|
|
13909
13909
|
scaleType: e.scaleType,
|
|
13910
|
-
range: e.range ??
|
|
13911
|
-
domain: e.domain ??
|
|
13912
|
-
padding: e.padding ?? r ??
|
|
13910
|
+
range: e.range ?? jo.range,
|
|
13911
|
+
domain: e.domain ?? jo.domain,
|
|
13912
|
+
padding: e.padding ?? r ?? jo.padding,
|
|
13913
13913
|
reverse: e.reverse ?? AH(e.scaledAesthetic, t)
|
|
13914
13914
|
};
|
|
13915
13915
|
}
|
|
@@ -13929,7 +13929,7 @@ function wH(e, t) {
|
|
|
13929
13929
|
}), ar(t.scaledAesthetic, { ..."reverse" in t && t.reverse !== void 0 && { reverse: t.reverse } }));
|
|
13930
13930
|
}
|
|
13931
13931
|
function AH(e, t) {
|
|
13932
|
-
return e === t?.discreteCrossAxis ? !0 :
|
|
13932
|
+
return e === t?.discreteCrossAxis ? !0 : jo.reverse;
|
|
13933
13933
|
}
|
|
13934
13934
|
function SH({ data: e, layers: t, mapping: r, demands: n }, i) {
|
|
13935
13935
|
const a = MH(t, r, i.scaledAesthetic);
|
|
@@ -13955,7 +13955,7 @@ function SH({ data: e, layers: t, mapping: r, demands: n }, i) {
|
|
|
13955
13955
|
case "continuous":
|
|
13956
13956
|
return yt(i.scaledAesthetic, i.options);
|
|
13957
13957
|
default:
|
|
13958
|
-
return
|
|
13958
|
+
return Oo(i.scaledAesthetic);
|
|
13959
13959
|
}
|
|
13960
13960
|
}
|
|
13961
13961
|
function TH(e, t) {
|
|
@@ -13991,10 +13991,10 @@ function EH(e, t) {
|
|
|
13991
13991
|
return e === "ySecondary" ? t.filter((r) => r.yScaleType === "secondary") : e === "y" ? t.filter((r) => r.yScaleType === "primary") : t;
|
|
13992
13992
|
}
|
|
13993
13993
|
function kH(e, t) {
|
|
13994
|
-
return !t.some((r) => r.yScaleType === "secondary") || e.some((r) => r.scaledAesthetic === "ySecondary") ? e : [...e,
|
|
13994
|
+
return !t.some((r) => r.yScaleType === "secondary") || e.some((r) => r.scaledAesthetic === "ySecondary") ? e : [...e, $o("ySecondary")];
|
|
13995
13995
|
}
|
|
13996
13996
|
function PH(e, t) {
|
|
13997
|
-
return e.some((r) => r.scaledAesthetic === "color") ? e : [...e, t.inferredColor ?
|
|
13997
|
+
return e.some((r) => r.scaledAesthetic === "color") ? e : [...e, t.inferredColor ? $o("color") : Pm("color")];
|
|
13998
13998
|
}
|
|
13999
13999
|
var uT = class extends Xn {
|
|
14000
14000
|
constructor(e) {
|
|
@@ -15167,7 +15167,7 @@ var P7 = class extends Ki {
|
|
|
15167
15167
|
if (a !== void 0) return a;
|
|
15168
15168
|
const o = n();
|
|
15169
15169
|
return i.set(t, o), o;
|
|
15170
|
-
}, bT = (e, t) => yT(R7, e, t, () => uS(e, t)),
|
|
15170
|
+
}, bT = (e, t) => yT(R7, e, t, () => uS(e, t)), Xa = (e, t) => {
|
|
15171
15171
|
const { kind: r, part: n } = e;
|
|
15172
15172
|
if (r === void 0) return ls({
|
|
15173
15173
|
target: "geom",
|
|
@@ -15178,13 +15178,13 @@ var P7 = class extends Ki {
|
|
|
15178
15178
|
const a = bT(r, i);
|
|
15179
15179
|
return n === void 0 ? a : G7(a.children, n);
|
|
15180
15180
|
}, W7 = (e, t) => {
|
|
15181
|
-
const r =
|
|
15181
|
+
const r = Xa(e, () => t);
|
|
15182
15182
|
return r === void 0 || Om(r);
|
|
15183
15183
|
}, xT = (e, t) => [e, t].filter((r) => r !== void 0).join(" "), U7 = (e, t) => {
|
|
15184
|
-
const r =
|
|
15184
|
+
const r = Xa({ kind: e }, () => t), n = {};
|
|
15185
15185
|
for (const i of Object.values(r?.children ?? {})) i.select.part !== void 0 && (n[i.select.part] = i.vocabulary);
|
|
15186
15186
|
return n;
|
|
15187
|
-
}, j7 = (e, t) =>
|
|
15187
|
+
}, j7 = (e, t) => Xa({ kind: e }, () => t)?.aesthetics ?? Pe.geom.aesthetics, Vh = (e, t) => Xa(e, () => t)?.vocabulary ?? Pe.geom.vocabulary, $7 = (e, t) => {
|
|
15188
15188
|
const r = {};
|
|
15189
15189
|
for (const n of Object.keys(e)) {
|
|
15190
15190
|
const i = e[n];
|
|
@@ -15318,12 +15318,12 @@ var P7 = class extends Ki {
|
|
|
15318
15318
|
}, AT = (e) => KA.includes(e), Z7 = (e, t, r) => e === void 0 ? `Set 'kind' to the geom declaring '${t}' — a part is addressed on the kind that has it.` : r.length === 0 ? `Remove 'part' — ${e} has none.` : `Set 'part' to one of ${r.map((n) => `'${n}'`).join(", ")}, or omit it.`, ST = (e, t, r) => {
|
|
15319
15319
|
const { kind: n, part: i } = e.select;
|
|
15320
15320
|
if (i === void 0) return;
|
|
15321
|
-
const a = e.id === void 0 ? {} : { styleEntryId: e.id }, o =
|
|
15321
|
+
const a = e.id === void 0 ? {} : { styleEntryId: e.id }, o = Xa({
|
|
15322
15322
|
kind: n,
|
|
15323
15323
|
part: i
|
|
15324
15324
|
}, r);
|
|
15325
15325
|
if (o === void 0) {
|
|
15326
|
-
const s =
|
|
15326
|
+
const s = Xa({ kind: n }, r), l = s === void 0 ? [] : Fh(s, "part");
|
|
15327
15327
|
return {
|
|
15328
15328
|
code: "INVALID_STYLE_RULE",
|
|
15329
15329
|
message: `Style ${t} addresses unknown part '${i}'.`,
|
|
@@ -15851,7 +15851,7 @@ function p9(e) {
|
|
|
15851
15851
|
};
|
|
15852
15852
|
}
|
|
15853
15853
|
var g9 = {
|
|
15854
|
-
x: Object.assign((e) =>
|
|
15854
|
+
x: Object.assign((e) => $o("x", e), {
|
|
15855
15855
|
continuous: (e) => yt("x", e),
|
|
15856
15856
|
discrete: (e) => ar("x", e),
|
|
15857
15857
|
datetime: (e) => Wl("x", e),
|
|
@@ -15864,7 +15864,7 @@ var g9 = {
|
|
|
15864
15864
|
transform: "sqrt"
|
|
15865
15865
|
})
|
|
15866
15866
|
}),
|
|
15867
|
-
y: Object.assign((e) =>
|
|
15867
|
+
y: Object.assign((e) => $o("y", e), {
|
|
15868
15868
|
continuous: (e) => yt("y", e),
|
|
15869
15869
|
discrete: (e) => ar("y", e),
|
|
15870
15870
|
datetime: (e) => Wl("y", e),
|
|
@@ -15877,7 +15877,7 @@ var g9 = {
|
|
|
15877
15877
|
transform: "sqrt"
|
|
15878
15878
|
})
|
|
15879
15879
|
}),
|
|
15880
|
-
ySecondary: Object.assign((e) =>
|
|
15880
|
+
ySecondary: Object.assign((e) => $o("ySecondary", e), {
|
|
15881
15881
|
continuous: (e) => yt("ySecondary", e),
|
|
15882
15882
|
discrete: (e) => ar("ySecondary", e),
|
|
15883
15883
|
datetime: (e) => Wl("ySecondary", e),
|
|
@@ -15898,21 +15898,21 @@ var g9 = {
|
|
|
15898
15898
|
size: {
|
|
15899
15899
|
continuous: (e) => yt("size", e),
|
|
15900
15900
|
discrete: (e) => ar("size", e),
|
|
15901
|
-
identity: (e) =>
|
|
15901
|
+
identity: (e) => Oo("size", e)
|
|
15902
15902
|
},
|
|
15903
15903
|
alpha: {
|
|
15904
15904
|
continuous: (e) => yt("alpha", e),
|
|
15905
15905
|
discrete: (e) => ar("alpha", e),
|
|
15906
|
-
identity: (e) =>
|
|
15906
|
+
identity: (e) => Oo("alpha", e)
|
|
15907
15907
|
},
|
|
15908
15908
|
strokeWidth: {
|
|
15909
15909
|
continuous: (e) => yt("strokeWidth", e),
|
|
15910
15910
|
discrete: (e) => ar("strokeWidth", e),
|
|
15911
|
-
identity: (e) =>
|
|
15911
|
+
identity: (e) => Oo("strokeWidth", e)
|
|
15912
15912
|
},
|
|
15913
15913
|
lineType: {
|
|
15914
15914
|
discrete: (e) => ar("lineType", e),
|
|
15915
|
-
identity: (e) =>
|
|
15915
|
+
identity: (e) => Oo("lineType", e)
|
|
15916
15916
|
}
|
|
15917
15917
|
};
|
|
15918
15918
|
function v9(...e) {
|
|
@@ -17005,7 +17005,7 @@ var Ot = { timeZone: "UTC" }, wt = (e) => (t) => {
|
|
|
17005
17005
|
}
|
|
17006
17006
|
default:
|
|
17007
17007
|
return {
|
|
17008
|
-
base: e /
|
|
17008
|
+
base: e / Wo[t],
|
|
17009
17009
|
suffix: t
|
|
17010
17010
|
};
|
|
17011
17011
|
}
|
|
@@ -17021,7 +17021,7 @@ var Ot = { timeZone: "UTC" }, wt = (e) => (t) => {
|
|
|
17021
17021
|
};
|
|
17022
17022
|
}, V9 = (e) => {
|
|
17023
17023
|
const t = Math.abs(e);
|
|
17024
|
-
return t >=
|
|
17024
|
+
return t >= Wo.b ? "b" : t >= Wo.m ? "m" : t >= Wo.k ? "k" : "none";
|
|
17025
17025
|
}, H9 = 1440 * 60 * 1e3, G9 = ({ locale: e, intlOptions: t }) => {
|
|
17026
17026
|
const r = Nt(e, {
|
|
17027
17027
|
dateStyle: "medium",
|
|
@@ -17843,7 +17843,7 @@ var kd = {
|
|
|
17843
17843
|
};
|
|
17844
17844
|
function* KG({ annotations: e, mainAxis: t, panelRect: r, locale: n, resolveStyle: i, measureLabel: a }) {
|
|
17845
17845
|
for (const o of e.differenceArrows) {
|
|
17846
|
-
if (!
|
|
17846
|
+
if (!ja(o.start.x, o.start.y) || !ja(o.end.x, o.end.y)) continue;
|
|
17847
17847
|
const s = i(o.id), l = $T({
|
|
17848
17848
|
arrow: o,
|
|
17849
17849
|
style: s,
|
|
@@ -17956,15 +17956,15 @@ var XG = (e) => {
|
|
|
17956
17956
|
const i = Math.min(t + r, e.length);
|
|
17957
17957
|
for (let a = t; a < i; a++) n += e[a] ?? 0;
|
|
17958
17958
|
return n;
|
|
17959
|
-
},
|
|
17959
|
+
}, qa = {
|
|
17960
17960
|
top: 0,
|
|
17961
17961
|
right: 0,
|
|
17962
17962
|
bottom: 0,
|
|
17963
17963
|
left: 0
|
|
17964
17964
|
}, JT = {
|
|
17965
|
-
outer:
|
|
17966
|
-
inner:
|
|
17967
|
-
}, eW = (e, t, r, n =
|
|
17965
|
+
outer: qa,
|
|
17966
|
+
inner: qa
|
|
17967
|
+
}, eW = (e, t, r, n = qa, i = JT, a = mm, o) => {
|
|
17968
17968
|
const s = {
|
|
17969
17969
|
top: i.inner.top + n.top,
|
|
17970
17970
|
right: i.inner.right + n.right,
|
|
@@ -18213,7 +18213,7 @@ var XG = (e) => {
|
|
|
18213
18213
|
};
|
|
18214
18214
|
var aW = class {
|
|
18215
18215
|
constructor(e) {
|
|
18216
|
-
this.outer = { ...
|
|
18216
|
+
this.outer = { ...qa }, this.inner = { ...qa }, this.currentPanelRect = e;
|
|
18217
18217
|
}
|
|
18218
18218
|
resolve() {
|
|
18219
18219
|
return {
|
|
@@ -18340,7 +18340,7 @@ var Uh = [
|
|
|
18340
18340
|
containerSize: e.containerSize,
|
|
18341
18341
|
externalMeasurements: e.externalMeasurements,
|
|
18342
18342
|
panelOverflow: JT,
|
|
18343
|
-
panelBorder: e.panelBorder ??
|
|
18343
|
+
panelBorder: e.panelBorder ?? qa,
|
|
18344
18344
|
headline: e.headline,
|
|
18345
18345
|
locale: e.formattingLocale ?? e.parsingLocale,
|
|
18346
18346
|
padding: e.padding ?? mm,
|
|
@@ -18825,21 +18825,21 @@ var Z = (e) => `${Number.parseFloat((e * 100).toFixed(4))}%`, $n = (e, t) => {
|
|
|
18825
18825
|
if (!EW(t)) return t;
|
|
18826
18826
|
const o = new AW(t, r, n), s = {
|
|
18827
18827
|
...t,
|
|
18828
|
-
shapes:
|
|
18828
|
+
shapes: ko(t.shapes, (u) => u.region.defer !== void 0, (u) => {
|
|
18829
18829
|
const d = o.resolveRegion(u.region);
|
|
18830
18830
|
return d === null ? null : {
|
|
18831
18831
|
...u,
|
|
18832
18832
|
region: d
|
|
18833
18833
|
};
|
|
18834
18834
|
}),
|
|
18835
|
-
images:
|
|
18835
|
+
images: ko(t.images, (u) => u.region.defer !== void 0, (u) => {
|
|
18836
18836
|
const d = o.resolveRegion(u.region);
|
|
18837
18837
|
return d === null ? null : {
|
|
18838
18838
|
...u,
|
|
18839
18839
|
region: d
|
|
18840
18840
|
};
|
|
18841
18841
|
}),
|
|
18842
|
-
arrows:
|
|
18842
|
+
arrows: ko(t.arrows, (u) => u.start.defer !== void 0 || u.end.defer !== void 0, (u) => {
|
|
18843
18843
|
const d = o.resolvePoint(u.start), h = o.resolvePoint(u.end);
|
|
18844
18844
|
return d === null || h === null ? null : {
|
|
18845
18845
|
...u,
|
|
@@ -18847,14 +18847,14 @@ var Z = (e) => `${Number.parseFloat((e * 100).toFixed(4))}%`, $n = (e, t) => {
|
|
|
18847
18847
|
end: h
|
|
18848
18848
|
};
|
|
18849
18849
|
}),
|
|
18850
|
-
textAnnotations:
|
|
18850
|
+
textAnnotations: ko(t.textAnnotations, (u) => u.at.defer !== void 0, (u) => {
|
|
18851
18851
|
const d = o.resolvePoint(u.at);
|
|
18852
18852
|
return d === null ? null : {
|
|
18853
18853
|
...u,
|
|
18854
18854
|
at: d
|
|
18855
18855
|
};
|
|
18856
18856
|
}),
|
|
18857
|
-
stickers:
|
|
18857
|
+
stickers: ko(t.stickers, (u) => u.at.defer !== void 0, (u) => {
|
|
18858
18858
|
const d = o.resolvePoint(u.at);
|
|
18859
18859
|
return d === null ? null : {
|
|
18860
18860
|
...u,
|
|
@@ -18865,7 +18865,7 @@ var Z = (e) => `${Number.parseFloat((e * 100).toFixed(4))}%`, $n = (e, t) => {
|
|
|
18865
18865
|
l.length > 0 && i?.(l);
|
|
18866
18866
|
const c = o.missingRefIds();
|
|
18867
18867
|
return c.length > 0 && a?.(c), s;
|
|
18868
|
-
},
|
|
18868
|
+
}, ko = (e, t, r) => e.some(t) ? e.flatMap((n) => {
|
|
18869
18869
|
if (!t(n)) return [n];
|
|
18870
18870
|
const i = r(n);
|
|
18871
18871
|
return i === null ? [] : [i];
|
|
@@ -20122,7 +20122,7 @@ function bj(e, t) {
|
|
|
20122
20122
|
return e.points[r] ?? null;
|
|
20123
20123
|
}
|
|
20124
20124
|
function xj(e, t, r, n) {
|
|
20125
|
-
const { mainAxis: i, byMain: a } = e, o =
|
|
20125
|
+
const { mainAxis: i, byMain: a } = e, o = Ua(i, t).main, s = i === "x" ? n.near.main / r : n.near.main, l = gj(a, o - s, T0(i)), c = pj(a, o + s, T0(i));
|
|
20126
20126
|
let u = null;
|
|
20127
20127
|
for (let d = l; d < c; d += 1) {
|
|
20128
20128
|
const h = a[d];
|
|
@@ -20133,10 +20133,10 @@ function xj(e, t, r, n) {
|
|
|
20133
20133
|
return u;
|
|
20134
20134
|
}
|
|
20135
20135
|
function T0(e) {
|
|
20136
|
-
return (t) =>
|
|
20136
|
+
return (t) => Ua(e, t).main;
|
|
20137
20137
|
}
|
|
20138
20138
|
function MM(e, t, r, n) {
|
|
20139
|
-
const { main: i, cross: a } =
|
|
20139
|
+
const { main: i, cross: a } = Ua(e.mainAxis, r), { main: o, cross: s } = Ua(e.mainAxis, t);
|
|
20140
20140
|
return {
|
|
20141
20141
|
...cp(e.mainAxis, o - i, s - a, n),
|
|
20142
20142
|
hit: {
|
|
@@ -20776,7 +20776,7 @@ function ba(e, t, r, n) {
|
|
|
20776
20776
|
else {
|
|
20777
20777
|
const i = r + n >> 1;
|
|
20778
20778
|
let a = r + 1, o = n;
|
|
20779
|
-
|
|
20779
|
+
Po(e, i, a), t[e[r]] > t[e[n]] && Po(e, r, n), t[e[a]] > t[e[n]] && Po(e, a, n), t[e[r]] > t[e[a]] && Po(e, r, a);
|
|
20780
20780
|
const s = e[a], l = t[s];
|
|
20781
20781
|
for (; ; ) {
|
|
20782
20782
|
do
|
|
@@ -20786,12 +20786,12 @@ function ba(e, t, r, n) {
|
|
|
20786
20786
|
o--;
|
|
20787
20787
|
while (t[e[o]] > l);
|
|
20788
20788
|
if (o < a) break;
|
|
20789
|
-
|
|
20789
|
+
Po(e, a, o);
|
|
20790
20790
|
}
|
|
20791
20791
|
e[r + 1] = e[o], e[o] = s, n - a + 1 >= o - r ? (ba(e, t, a, n), ba(e, t, r, o - 1)) : (ba(e, t, r, o - 1), ba(e, t, a, n));
|
|
20792
20792
|
}
|
|
20793
20793
|
}
|
|
20794
|
-
function
|
|
20794
|
+
function Po(e, t, r) {
|
|
20795
20795
|
const n = e[t];
|
|
20796
20796
|
e[t] = e[r], e[r] = n;
|
|
20797
20797
|
}
|
|
@@ -21438,7 +21438,7 @@ function v$(e, t, r, n) {
|
|
|
21438
21438
|
mainDistance: Number.POSITIVE_INFINITY,
|
|
21439
21439
|
crossDistance: Number.POSITIVE_INFINITY
|
|
21440
21440
|
};
|
|
21441
|
-
const { main: a, cross: o } =
|
|
21441
|
+
const { main: a, cross: o } = Ua(e.mainAxis, r), s = Mr(a, i.mainMin, i.mainMax), l = Mr(o, i.crossMin, i.crossMax);
|
|
21442
21442
|
return cp(e.mainAxis, s, l, n);
|
|
21443
21443
|
}
|
|
21444
21444
|
function y$(e, t, r) {
|
|
@@ -21461,7 +21461,7 @@ function w$(e, t, r) {
|
|
|
21461
21461
|
return Math.hypot(e.x - (t.x + s * n), e.y - (t.y + s * i));
|
|
21462
21462
|
}
|
|
21463
21463
|
function A$(e, t, r) {
|
|
21464
|
-
const { main: n, cross: i } =
|
|
21464
|
+
const { main: n, cross: i } = Ua(e.mainAxis, t), a = EM(e, n);
|
|
21465
21465
|
if (a === null) return null;
|
|
21466
21466
|
const o = a.entries.map((m) => ({
|
|
21467
21467
|
entry: m,
|
|
@@ -21579,7 +21579,7 @@ function C$(e, { angle: t, radius: r }) {
|
|
|
21579
21579
|
return Math.hypot(n * r, i);
|
|
21580
21580
|
}
|
|
21581
21581
|
function Ac(e, t, r) {
|
|
21582
|
-
return nc(e, t, r) ? 0 : Math.min(
|
|
21582
|
+
return nc(e, t, r) ? 0 : Math.min(Va(e, t), Va(e, r));
|
|
21583
21583
|
}
|
|
21584
21584
|
function I$(e, t, { angle: r, radius: n }) {
|
|
21585
21585
|
const i = e.bandByColumn.get(t);
|
|
@@ -21595,7 +21595,7 @@ function I$(e, t, { angle: r, radius: n }) {
|
|
|
21595
21595
|
};
|
|
21596
21596
|
}
|
|
21597
21597
|
function R$(e, t) {
|
|
21598
|
-
return wn(e) ? Er(e, (r) =>
|
|
21598
|
+
return wn(e) ? Er(e, (r) => Va(t, r.mainMid)) : null;
|
|
21599
21599
|
}
|
|
21600
21600
|
function L$(e, t) {
|
|
21601
21601
|
return Er(e, (r) => Mr(t, r.yMin, r.yMax), { shortCircuitOnZero: !0 });
|
|
@@ -21624,7 +21624,7 @@ function O$(e, t, r) {
|
|
|
21624
21624
|
vertexDistance: d,
|
|
21625
21625
|
insideFill: l !== void 0,
|
|
21626
21626
|
strokeDistance: l === void 0 ? h : 0,
|
|
21627
|
-
mainDistance:
|
|
21627
|
+
mainDistance: Va(o.main, i) * a,
|
|
21628
21628
|
crossDistance: HM(o, c.y, a)
|
|
21629
21629
|
};
|
|
21630
21630
|
}
|
|
@@ -21632,7 +21632,7 @@ function D0(e) {
|
|
|
21632
21632
|
return Yr(e.x, e.y);
|
|
21633
21633
|
}
|
|
21634
21634
|
function N$(e, t) {
|
|
21635
|
-
return wn(e) ? Er(e, (r) =>
|
|
21635
|
+
return wn(e) ? Er(e, (r) => Va(r.main, t)) : null;
|
|
21636
21636
|
}
|
|
21637
21637
|
function B$(e, t, r, n) {
|
|
21638
21638
|
const i = F$(e, t, r);
|
|
@@ -21712,7 +21712,7 @@ function H$(e, t, r, n) {
|
|
|
21712
21712
|
function F0(e, t, r) {
|
|
21713
21713
|
const { angle: n, radius: i } = $f(r.x, r.y);
|
|
21714
21714
|
return {
|
|
21715
|
-
mainDistance:
|
|
21715
|
+
mainDistance: Va(t.x, n) * i,
|
|
21716
21716
|
crossDistance: Math.abs(i - t.y),
|
|
21717
21717
|
hit: {
|
|
21718
21718
|
anchored: !0,
|
|
@@ -23035,7 +23035,7 @@ var hY = (e) => {
|
|
|
23035
23035
|
} : {
|
|
23036
23036
|
x: e.x + (t.x ?? 0),
|
|
23037
23037
|
y: e.y + (t.y ?? 0)
|
|
23038
|
-
},
|
|
23038
|
+
}, Ca = (e, t) => e === t ? !0 : e === null || t === null ? !1 : tb(e) === tb(t), tb = (e) => {
|
|
23039
23039
|
switch (e.kind) {
|
|
23040
23040
|
case "annotation":
|
|
23041
23041
|
case "highlight":
|
|
@@ -23195,7 +23195,7 @@ var hY = (e) => {
|
|
|
23195
23195
|
console.error("CommandStack listener error:", r);
|
|
23196
23196
|
}
|
|
23197
23197
|
}
|
|
23198
|
-
}, yY = Object.freeze([]), bY = (e, t) => e.type === t.type &&
|
|
23198
|
+
}, yY = Object.freeze([]), bY = (e, t) => e.type === t.type && Ca(e.target, t.target), rb = (e) => e.length === 0 ? yY : e.map((t) => t.command.metadata), xY = class {
|
|
23199
23199
|
constructor(e) {
|
|
23200
23200
|
this.history = e, this.frame = null;
|
|
23201
23201
|
}
|
|
@@ -23371,7 +23371,7 @@ var yi = {
|
|
|
23371
23371
|
}, AY = (e) => {
|
|
23372
23372
|
const t = e.style ?? "normal", r = e.weight ?? 500, n = e.family.includes(",") ? e.family : `'${e.family}'`;
|
|
23373
23373
|
return `${t} ${r} ${e.size}px ${n}`;
|
|
23374
|
-
}, ZM = (e) => typeof e != "string" ? e ?? 500 : yi[e],
|
|
23374
|
+
}, ZM = (e) => typeof e != "string" ? e ?? 500 : yi[e], oo = (e, t) => {
|
|
23375
23375
|
switch (t) {
|
|
23376
23376
|
case "uppercase":
|
|
23377
23377
|
return e.toUpperCase();
|
|
@@ -23502,7 +23502,7 @@ var yi = {
|
|
|
23502
23502
|
};
|
|
23503
23503
|
var MY = 1.05, EY = 0.84, kY = 0.21, PY = class {
|
|
23504
23504
|
measureText(e, t) {
|
|
23505
|
-
const r =
|
|
23505
|
+
const r = oo(e, t.textTransform);
|
|
23506
23506
|
let n = eE(r, t.letterSpacing);
|
|
23507
23507
|
for (const o of r) n += (TY[o] ?? 0.55) * t.size;
|
|
23508
23508
|
ZM(t.weight) >= yi.semiBold && (n *= MY);
|
|
@@ -23593,10 +23593,10 @@ var ob = (e) => {
|
|
|
23593
23593
|
subscribe: (c) => (r.add(c), () => r.delete(c))
|
|
23594
23594
|
}, l = t = e(n, i, s);
|
|
23595
23595
|
return s;
|
|
23596
|
-
},
|
|
23596
|
+
}, so = ((e) => e ? ob(e) : ob), FY = (e) => e;
|
|
23597
23597
|
function Tn(e, t = FY) {
|
|
23598
|
-
const r =
|
|
23599
|
-
return
|
|
23598
|
+
const r = Ro.useSyncExternalStore(e.subscribe, Ro.useCallback(() => t(e.getState()), [e, t]), Ro.useCallback(() => t(e.getInitialState()), [e, t]));
|
|
23599
|
+
return Ro.useDebugValue(r), r;
|
|
23600
23600
|
}
|
|
23601
23601
|
var gp = Ye(null), St = () => {
|
|
23602
23602
|
const e = he(gp);
|
|
@@ -23645,7 +23645,7 @@ var gp = Ye(null), St = () => {
|
|
|
23645
23645
|
centerX: 0,
|
|
23646
23646
|
centerY: 0,
|
|
23647
23647
|
radius: 1
|
|
23648
|
-
},
|
|
23648
|
+
}, lo = (e) => {
|
|
23649
23649
|
const t = Math.min(e.width, e.height);
|
|
23650
23650
|
return {
|
|
23651
23651
|
centerX: (e.width - t) / 2 + t / 2,
|
|
@@ -23653,7 +23653,7 @@ var gp = Ye(null), St = () => {
|
|
|
23653
23653
|
radius: t / 2
|
|
23654
23654
|
};
|
|
23655
23655
|
}, Ys = (e) => {
|
|
23656
|
-
const { radius: t } =
|
|
23656
|
+
const { radius: t } = lo(e), r = t > 0 ? 1 / t : 1;
|
|
23657
23657
|
return {
|
|
23658
23658
|
x: r,
|
|
23659
23659
|
y: r
|
|
@@ -23682,7 +23682,7 @@ var aE = typeof window < "u", oE = aE ? Xw : ye, vp = /* @__PURE__ */ Ye(null);
|
|
|
23682
23682
|
function yp(e, t) {
|
|
23683
23683
|
e.indexOf(t) === -1 && e.push(t);
|
|
23684
23684
|
}
|
|
23685
|
-
function
|
|
23685
|
+
function Qa(e, t) {
|
|
23686
23686
|
const r = e.indexOf(t);
|
|
23687
23687
|
r > -1 && e.splice(r, 1);
|
|
23688
23688
|
}
|
|
@@ -23698,7 +23698,7 @@ function uE(e) {
|
|
|
23698
23698
|
let t;
|
|
23699
23699
|
return () => (t === void 0 && (t = e()), t);
|
|
23700
23700
|
}
|
|
23701
|
-
var ur = /* @__NO_SIDE_EFFECTS__ */ (e) => e, WY = (e, t) => (r) => t(e(r)), Ks = (...e) => e.reduce(WY),
|
|
23701
|
+
var ur = /* @__NO_SIDE_EFFECTS__ */ (e) => e, WY = (e, t) => (r) => t(e(r)), Ks = (...e) => e.reduce(WY), Ja = /* @__NO_SIDE_EFFECTS__ */ (e, t, r) => {
|
|
23702
23702
|
const n = t - e;
|
|
23703
23703
|
return n === 0 ? 1 : (r - e) / n;
|
|
23704
23704
|
}, bp = class {
|
|
@@ -23706,7 +23706,7 @@ var ur = /* @__NO_SIDE_EFFECTS__ */ (e) => e, WY = (e, t) => (r) => t(e(r)), Ks
|
|
|
23706
23706
|
this.subscriptions = [];
|
|
23707
23707
|
}
|
|
23708
23708
|
add(e) {
|
|
23709
|
-
return yp(this.subscriptions, e), () =>
|
|
23709
|
+
return yp(this.subscriptions, e), () => Qa(this.subscriptions, e);
|
|
23710
23710
|
}
|
|
23711
23711
|
notify(e, t, r) {
|
|
23712
23712
|
const n = this.subscriptions.length;
|
|
@@ -23851,15 +23851,15 @@ var _t = {
|
|
|
23851
23851
|
function cb(e) {
|
|
23852
23852
|
return typeof e != "string" ? !1 : e.split("/*")[0].includes("var(--");
|
|
23853
23853
|
}
|
|
23854
|
-
var
|
|
23854
|
+
var co = {
|
|
23855
23855
|
test: (e) => typeof e == "number",
|
|
23856
23856
|
parse: parseFloat,
|
|
23857
23857
|
transform: (e) => e
|
|
23858
23858
|
}, xs = {
|
|
23859
|
-
...
|
|
23859
|
+
...co,
|
|
23860
23860
|
transform: (e) => rn(0, 1, e)
|
|
23861
23861
|
}, Rl = {
|
|
23862
|
-
...
|
|
23862
|
+
...co,
|
|
23863
23863
|
default: 1
|
|
23864
23864
|
}, zo = (e) => Math.round(e * 1e5) / 1e5, Sp = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
|
|
23865
23865
|
function tK(e) {
|
|
@@ -23875,7 +23875,7 @@ var rK = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(
|
|
|
23875
23875
|
alpha: s !== void 0 ? parseFloat(s) : 1
|
|
23876
23876
|
};
|
|
23877
23877
|
}, nK = (e) => rn(0, 255, e), Nd = {
|
|
23878
|
-
...
|
|
23878
|
+
...co,
|
|
23879
23879
|
transform: (e) => Math.round(nK(e))
|
|
23880
23880
|
}, wi = {
|
|
23881
23881
|
test: /* @__PURE__ */ Tp("rgb", "red"),
|
|
@@ -24282,7 +24282,7 @@ function FE(e, t, { clamp: r = !0, ease: n, mixer: i } = {}) {
|
|
|
24282
24282
|
let d = 0;
|
|
24283
24283
|
if (l > 1)
|
|
24284
24284
|
for (; d < e.length - 2 && !(u < e[d + 1]); d++) ;
|
|
24285
|
-
const h =
|
|
24285
|
+
const h = Ja(e[d], e[d + 1], u);
|
|
24286
24286
|
return s[d](h);
|
|
24287
24287
|
};
|
|
24288
24288
|
return r ? (u) => c(rn(e[0], e[a - 1], u)) : c;
|
|
@@ -24290,7 +24290,7 @@ function FE(e, t, { clamp: r = !0, ease: n, mixer: i } = {}) {
|
|
|
24290
24290
|
function VE(e, t) {
|
|
24291
24291
|
const r = e[e.length - 1];
|
|
24292
24292
|
for (let n = 1; n <= t; n++) {
|
|
24293
|
-
const i =
|
|
24293
|
+
const i = Ja(0, t, n);
|
|
24294
24294
|
e.push(Ve(r, 1, i));
|
|
24295
24295
|
}
|
|
24296
24296
|
}
|
|
@@ -24517,7 +24517,7 @@ var VK = (e, t) => {
|
|
|
24517
24517
|
function HK(e) {
|
|
24518
24518
|
return parseFloat(e.trim());
|
|
24519
24519
|
}
|
|
24520
|
-
var
|
|
24520
|
+
var uo = [
|
|
24521
24521
|
"transformPerspective",
|
|
24522
24522
|
"x",
|
|
24523
24523
|
"y",
|
|
@@ -24535,11 +24535,11 @@ var co = [
|
|
|
24535
24535
|
"skew",
|
|
24536
24536
|
"skewX",
|
|
24537
24537
|
"skewY"
|
|
24538
|
-
],
|
|
24538
|
+
], ho = new Set(uo), bb = (e) => e === co || e === Q, GK = /* @__PURE__ */ new Set([
|
|
24539
24539
|
"x",
|
|
24540
24540
|
"y",
|
|
24541
24541
|
"z"
|
|
24542
|
-
]), WK =
|
|
24542
|
+
]), WK = uo.filter((e) => !GK.has(e));
|
|
24543
24543
|
function UK(e) {
|
|
24544
24544
|
const t = [];
|
|
24545
24545
|
return WK.forEach((r) => {
|
|
@@ -24639,31 +24639,31 @@ var KK = /* @__PURE__ */ jE(() => window.ScrollTimeline !== void 0, "scrollTimel
|
|
|
24639
24639
|
return !1;
|
|
24640
24640
|
}
|
|
24641
24641
|
return !0;
|
|
24642
|
-
}, "linearEasing"),
|
|
24642
|
+
}, "linearEasing"), No = ([e, t, r, n]) => `cubic-bezier(${e}, ${t}, ${r}, ${n})`, xb = {
|
|
24643
24643
|
linear: "linear",
|
|
24644
24644
|
ease: "ease",
|
|
24645
24645
|
easeIn: "ease-in",
|
|
24646
24646
|
easeOut: "ease-out",
|
|
24647
24647
|
easeInOut: "ease-in-out",
|
|
24648
|
-
circIn: /* @__PURE__ */
|
|
24648
|
+
circIn: /* @__PURE__ */ No([
|
|
24649
24649
|
0,
|
|
24650
24650
|
0.65,
|
|
24651
24651
|
0.55,
|
|
24652
24652
|
1
|
|
24653
24653
|
]),
|
|
24654
|
-
circOut: /* @__PURE__ */
|
|
24654
|
+
circOut: /* @__PURE__ */ No([
|
|
24655
24655
|
0.55,
|
|
24656
24656
|
0,
|
|
24657
24657
|
1,
|
|
24658
24658
|
0.45
|
|
24659
24659
|
]),
|
|
24660
|
-
backIn: /* @__PURE__ */
|
|
24660
|
+
backIn: /* @__PURE__ */ No([
|
|
24661
24661
|
0.31,
|
|
24662
24662
|
0.01,
|
|
24663
24663
|
0.66,
|
|
24664
24664
|
-0.59
|
|
24665
24665
|
]),
|
|
24666
|
-
backOut: /* @__PURE__ */
|
|
24666
|
+
backOut: /* @__PURE__ */ No([
|
|
24667
24667
|
0.33,
|
|
24668
24668
|
1.53,
|
|
24669
24669
|
0.69,
|
|
@@ -24671,7 +24671,7 @@ var KK = /* @__PURE__ */ jE(() => window.ScrollTimeline !== void 0, "scrollTimel
|
|
|
24671
24671
|
])
|
|
24672
24672
|
};
|
|
24673
24673
|
function zE(e, t) {
|
|
24674
|
-
if (e) return typeof e == "function" ? $E() ? DE(e, t) : "ease-out" : SE(e) ?
|
|
24674
|
+
if (e) return typeof e == "function" ? $E() ? DE(e, t) : "ease-out" : SE(e) ? No(e) : Array.isArray(e) ? e.map((r) => zE(r, t) || xb.easeOut) : xb[e];
|
|
24675
24675
|
}
|
|
24676
24676
|
function XK(e, t, r, { delay: n = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: l } = {}, c = void 0) {
|
|
24677
24677
|
const u = { [t]: r };
|
|
@@ -25030,7 +25030,7 @@ var hX = {
|
|
|
25030
25030
|
1
|
|
25031
25031
|
],
|
|
25032
25032
|
duration: 0.3
|
|
25033
|
-
}, gX = (e, { keyframes: t }) => t.length > 2 ? mX :
|
|
25033
|
+
}, gX = (e, { keyframes: t }) => t.length > 2 ? mX : ho.has(e) ? e.startsWith("scale") ? fX(t[1]) : hX : pX, vX = (e) => e !== null;
|
|
25034
25034
|
function yX(e, { repeat: t, repeatType: r = "loop" }, n) {
|
|
25035
25035
|
const i = e.filter(vX), a = t && r !== "loop" && t % 2 === 1 ? 0 : i.length - 1;
|
|
25036
25036
|
return !a || n === void 0 ? i[a] : n;
|
|
@@ -25102,7 +25102,7 @@ function Dp(e, t, r, n) {
|
|
|
25102
25102
|
}
|
|
25103
25103
|
return t;
|
|
25104
25104
|
}
|
|
25105
|
-
function
|
|
25105
|
+
function Ia(e, t, r) {
|
|
25106
25106
|
const n = e.getProps();
|
|
25107
25107
|
return Dp(n, t, r !== void 0 ? r : n.custom, e);
|
|
25108
25108
|
}
|
|
@@ -25113,7 +25113,7 @@ var JE = /* @__PURE__ */ new Set([
|
|
|
25113
25113
|
"left",
|
|
25114
25114
|
"right",
|
|
25115
25115
|
"bottom",
|
|
25116
|
-
...
|
|
25116
|
+
...uo
|
|
25117
25117
|
]), Tb = 30, xX = (e) => !isNaN(parseFloat(e)), Ko = { current: void 0 }, wX = class {
|
|
25118
25118
|
constructor(e, t = {}) {
|
|
25119
25119
|
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (r) => {
|
|
@@ -25207,7 +25207,7 @@ function SX(e) {
|
|
|
25207
25207
|
return hf(e) ? e[e.length - 1] || 0 : e;
|
|
25208
25208
|
}
|
|
25209
25209
|
function TX(e, t) {
|
|
25210
|
-
let { transitionEnd: r = {}, transition: n = {}, ...i } =
|
|
25210
|
+
let { transitionEnd: r = {}, transition: n = {}, ...i } = Ia(e, t) || {};
|
|
25211
25211
|
i = {
|
|
25212
25212
|
...i,
|
|
25213
25213
|
...r
|
|
@@ -25275,7 +25275,7 @@ function Np(e, t, { delay: r = 0, transitionOverride: n, type: i } = {}) {
|
|
|
25275
25275
|
return u;
|
|
25276
25276
|
}
|
|
25277
25277
|
function mf(e, t, r = {}) {
|
|
25278
|
-
const n =
|
|
25278
|
+
const n = Ia(e, t, r.type === "exit" ? e.presenceContext?.custom : void 0);
|
|
25279
25279
|
let { transition: i = e.getDefaultTransition() || {} } = n || {};
|
|
25280
25280
|
r.transitionOverride && (i = r.transitionOverride);
|
|
25281
25281
|
const a = n ? () => Promise.all(Np(e, n, r)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (l = 0) => {
|
|
@@ -25304,7 +25304,7 @@ function _X(e, t, r = {}) {
|
|
|
25304
25304
|
n = Promise.all(i);
|
|
25305
25305
|
} else if (typeof t == "string") n = mf(e, t, r);
|
|
25306
25306
|
else {
|
|
25307
|
-
const i = typeof t == "function" ?
|
|
25307
|
+
const i = typeof t == "function" ? Ia(e, t, r.custom) : t;
|
|
25308
25308
|
n = Promise.all(Np(e, i, r));
|
|
25309
25309
|
}
|
|
25310
25310
|
return n.then(() => {
|
|
@@ -25315,7 +25315,7 @@ var CX = {
|
|
|
25315
25315
|
test: (e) => e === "auto",
|
|
25316
25316
|
parse: (e) => e
|
|
25317
25317
|
}, tk = (e) => (t) => t.test(e), rk = [
|
|
25318
|
-
|
|
25318
|
+
co,
|
|
25319
25319
|
Q,
|
|
25320
25320
|
Jr,
|
|
25321
25321
|
Ln,
|
|
@@ -25357,7 +25357,7 @@ var DX = /\b([a-z-]*)\(.*?\)/gu, pf = {
|
|
|
25357
25357
|
} : r));
|
|
25358
25358
|
}
|
|
25359
25359
|
}, Eb = {
|
|
25360
|
-
...
|
|
25360
|
+
...co,
|
|
25361
25361
|
transform: Math.round
|
|
25362
25362
|
}, OX = {
|
|
25363
25363
|
rotate: Ln,
|
|
@@ -25865,7 +25865,7 @@ var mk = class {
|
|
|
25865
25865
|
});
|
|
25866
25866
|
return;
|
|
25867
25867
|
}
|
|
25868
|
-
const r =
|
|
25868
|
+
const r = ho.has(e);
|
|
25869
25869
|
r && this.onBindTransform && this.onBindTransform();
|
|
25870
25870
|
const n = t.on("change", (a) => {
|
|
25871
25871
|
this.latestValues[e] = a, this.props.onUpdate && De.preRender(this.notifyUpdate), r && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
|
|
@@ -26104,11 +26104,11 @@ var gq = {
|
|
|
26104
26104
|
y: "translateY",
|
|
26105
26105
|
z: "translateZ",
|
|
26106
26106
|
transformPerspective: "perspective"
|
|
26107
|
-
}, vq =
|
|
26107
|
+
}, vq = uo.length;
|
|
26108
26108
|
function yq(e, t, r) {
|
|
26109
26109
|
let n = "", i = !0;
|
|
26110
26110
|
for (let a = 0; a < vq; a++) {
|
|
26111
|
-
const o =
|
|
26111
|
+
const o = uo[a], s = e[o];
|
|
26112
26112
|
if (s === void 0) continue;
|
|
26113
26113
|
let l = !0;
|
|
26114
26114
|
if (typeof s == "number") l = s === (o.startsWith("scale") ? 1 : 0);
|
|
@@ -26133,7 +26133,7 @@ function jp(e, t, r) {
|
|
|
26133
26133
|
let o = !1, s = !1;
|
|
26134
26134
|
for (const l in t) {
|
|
26135
26135
|
const c = t[l];
|
|
26136
|
-
if (
|
|
26136
|
+
if (ho.has(l)) {
|
|
26137
26137
|
o = !0;
|
|
26138
26138
|
continue;
|
|
26139
26139
|
} else if (EE(l)) {
|
|
@@ -26159,7 +26159,7 @@ function xk(e, { style: t, vars: r }, n, i) {
|
|
|
26159
26159
|
function Vb(e, t) {
|
|
26160
26160
|
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
|
|
26161
26161
|
}
|
|
26162
|
-
var
|
|
26162
|
+
var _o = { correct: (e, t) => {
|
|
26163
26163
|
if (!t.target) return e;
|
|
26164
26164
|
if (typeof e == "string") if (Q.test(e)) e = parseFloat(e);
|
|
26165
26165
|
else return e;
|
|
@@ -26173,7 +26173,7 @@ var Po = { correct: (e, t) => {
|
|
|
26173
26173
|
return typeof i[2 + o] == "number" && (i[2 + o] /= c), typeof i[3 + o] == "number" && (i[3 + o] /= c), a(i);
|
|
26174
26174
|
} }, bf = {
|
|
26175
26175
|
borderRadius: {
|
|
26176
|
-
...
|
|
26176
|
+
..._o,
|
|
26177
26177
|
applyTo: [
|
|
26178
26178
|
"borderTopLeftRadius",
|
|
26179
26179
|
"borderTopRightRadius",
|
|
@@ -26181,14 +26181,14 @@ var Po = { correct: (e, t) => {
|
|
|
26181
26181
|
"borderBottomRightRadius"
|
|
26182
26182
|
]
|
|
26183
26183
|
},
|
|
26184
|
-
borderTopLeftRadius:
|
|
26185
|
-
borderTopRightRadius:
|
|
26186
|
-
borderBottomLeftRadius:
|
|
26187
|
-
borderBottomRightRadius:
|
|
26184
|
+
borderTopLeftRadius: _o,
|
|
26185
|
+
borderTopRightRadius: _o,
|
|
26186
|
+
borderBottomLeftRadius: _o,
|
|
26187
|
+
borderBottomRightRadius: _o,
|
|
26188
26188
|
boxShadow: bq
|
|
26189
26189
|
};
|
|
26190
26190
|
function wk(e, { layout: t, layoutId: r }) {
|
|
26191
|
-
return
|
|
26191
|
+
return ho.has(e) || e.startsWith("origin") || (t || r !== void 0) && (!!bf[e] || e === "opacity");
|
|
26192
26192
|
}
|
|
26193
26193
|
function $p(e, t, r) {
|
|
26194
26194
|
const n = e.style, i = t?.style, a = {};
|
|
@@ -26204,7 +26204,7 @@ var Ak = class extends pk {
|
|
|
26204
26204
|
super(...arguments), this.type = "html", this.renderInstance = xk;
|
|
26205
26205
|
}
|
|
26206
26206
|
readValueFromInstance(e, t) {
|
|
26207
|
-
if (
|
|
26207
|
+
if (ho.has(t)) return this.projection?.isProjecting ? of(t) : VK(e, t);
|
|
26208
26208
|
{
|
|
26209
26209
|
const r = xq(e), n = (EE(t) ? r.getPropertyValue(t) : r[t]) || 0;
|
|
26210
26210
|
return typeof n == "string" ? n.trim() : n;
|
|
@@ -26311,7 +26311,7 @@ function kq(e, t, r, n) {
|
|
|
26311
26311
|
function Ek(e, t, r) {
|
|
26312
26312
|
const n = $p(e, t, r);
|
|
26313
26313
|
for (const i in e) if (ut(e[i]) || ut(t[i])) {
|
|
26314
|
-
const a =
|
|
26314
|
+
const a = uo.indexOf(i) !== -1 ? "attr" + i.charAt(0).toUpperCase() + i.substring(1) : i;
|
|
26315
26315
|
n[a] = e[i];
|
|
26316
26316
|
}
|
|
26317
26317
|
return n;
|
|
@@ -26324,7 +26324,7 @@ var kk = class extends pk {
|
|
|
26324
26324
|
return e[t];
|
|
26325
26325
|
}
|
|
26326
26326
|
readValueFromInstance(e, t) {
|
|
26327
|
-
if (
|
|
26327
|
+
if (ho.has(t)) {
|
|
26328
26328
|
const r = nk(t);
|
|
26329
26329
|
return r && r.default || 0;
|
|
26330
26330
|
}
|
|
@@ -26370,7 +26370,7 @@ function Iq(e) {
|
|
|
26370
26370
|
function Rq(e) {
|
|
26371
26371
|
let t = Iq(e), r = Hb(), n = !0;
|
|
26372
26372
|
const i = (l) => (c, u) => {
|
|
26373
|
-
const d =
|
|
26373
|
+
const d = Ia(e, u, l === "exit" ? e.presenceContext?.custom : void 0);
|
|
26374
26374
|
if (d) {
|
|
26375
26375
|
const { transition: h, transitionEnd: f, ...m } = d;
|
|
26376
26376
|
c = {
|
|
@@ -26426,7 +26426,7 @@ function Rq(e) {
|
|
|
26426
26426
|
b && (!N || S) && d.push(...R.map((C) => {
|
|
26427
26427
|
const E = { type: y };
|
|
26428
26428
|
if (typeof C == "string" && n && !N && e.manuallyAnimateOnMount && e.parent) {
|
|
26429
|
-
const { parent: k } = e, P =
|
|
26429
|
+
const { parent: k } = e, P = Ia(k, C);
|
|
26430
26430
|
if (k.enteringChildren && P) {
|
|
26431
26431
|
const { delayChildren: j } = P.transition || {};
|
|
26432
26432
|
E.delay = XE(k.enteringChildren, e, j);
|
|
@@ -26441,7 +26441,7 @@ function Rq(e) {
|
|
|
26441
26441
|
if (h.size) {
|
|
26442
26442
|
const g = {};
|
|
26443
26443
|
if (typeof c.initial != "boolean") {
|
|
26444
|
-
const y =
|
|
26444
|
+
const y = Ia(e, Array.isArray(c.initial) ? c.initial[0] : c.initial);
|
|
26445
26445
|
y && y.transition && (g.transition = y.transition);
|
|
26446
26446
|
}
|
|
26447
26447
|
h.forEach((y) => {
|
|
@@ -26605,7 +26605,7 @@ function rx(e, t) {
|
|
|
26605
26605
|
}
|
|
26606
26606
|
var Yq = /* @__PURE__ */ Lk(0, 0.5, yE), Kq = /* @__PURE__ */ Lk(0.5, 0.95, ur);
|
|
26607
26607
|
function Lk(e, t, r) {
|
|
26608
|
-
return (n) => n < e ? 0 : n > t ? 1 : r(
|
|
26608
|
+
return (n) => n < e ? 0 : n > t ? 1 : r(Ja(e, t, n));
|
|
26609
26609
|
}
|
|
26610
26610
|
function Dk(e, t, r) {
|
|
26611
26611
|
const n = ut(e) ? e : Yn(e);
|
|
@@ -26622,7 +26622,7 @@ var Xq = (e, t) => e.depth - t.depth, qq = class {
|
|
|
26622
26622
|
yp(this.children, e), this.isDirty = !0;
|
|
26623
26623
|
}
|
|
26624
26624
|
remove(e) {
|
|
26625
|
-
|
|
26625
|
+
Qa(this.children, e), this.isDirty = !0;
|
|
26626
26626
|
}
|
|
26627
26627
|
forEach(e) {
|
|
26628
26628
|
this.isDirty && this.children.sort(Xq), this.isDirty = !1, this.children.forEach(e);
|
|
@@ -26648,12 +26648,12 @@ var Jq = class {
|
|
|
26648
26648
|
const r = this.members[t];
|
|
26649
26649
|
if (r === e || r === this.lead || r === this.prevLead) continue;
|
|
26650
26650
|
const n = r.instance;
|
|
26651
|
-
n && n.isConnected === !1 && r.isPresent !== !1 && !r.snapshot &&
|
|
26651
|
+
n && n.isConnected === !1 && r.isPresent !== !1 && !r.snapshot && Qa(this.members, r);
|
|
26652
26652
|
}
|
|
26653
26653
|
e.scheduleRender();
|
|
26654
26654
|
}
|
|
26655
26655
|
remove(e) {
|
|
26656
|
-
if (
|
|
26656
|
+
if (Qa(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
|
|
26657
26657
|
const t = this.members[this.members.length - 1];
|
|
26658
26658
|
t && this.promote(t);
|
|
26659
26659
|
}
|
|
@@ -27522,7 +27522,7 @@ function Kp(e) {
|
|
|
27522
27522
|
return typeof e != "string" || e.includes("-") ? !1 : !!(RQ.indexOf(e) > -1 || /[A-Z]/u.test(e));
|
|
27523
27523
|
}
|
|
27524
27524
|
function LQ(e, t, r, { latestValues: n }, i, a = !1, o) {
|
|
27525
|
-
const s = (o ?? Kp(e) ? IQ : CQ)(t, n, i, e), l = MQ(t, typeof e == "string", a), c = e !==
|
|
27525
|
+
const s = (o ?? Kp(e) ? IQ : CQ)(t, n, i, e), l = MQ(t, typeof e == "string", a), c = e !== eo ? {
|
|
27526
27526
|
...l,
|
|
27527
27527
|
...s,
|
|
27528
27528
|
ref: r
|
|
@@ -27693,7 +27693,7 @@ function $Q(e, t) {
|
|
|
27693
27693
|
const r = /* @__PURE__ */ new Map(), n = (a, o) => $d(a, o, e, t), i = (a, o) => n(a, o);
|
|
27694
27694
|
return new Proxy(i, { get: (a, o) => o === "create" ? n : (r.has(o) || r.set(o, $d(o, void 0, e, t)), r.get(o)) });
|
|
27695
27695
|
}
|
|
27696
|
-
var zQ = (e, t) => t.isSVG ?? Kp(e) ? new kk(t) : new Ak(t, { allowProjection: e !==
|
|
27696
|
+
var zQ = (e, t) => t.isSVG ?? Kp(e) ? new kk(t) : new Ak(t, { allowProjection: e !== eo }), YQ = class extends Qn {
|
|
27697
27697
|
constructor(e) {
|
|
27698
27698
|
super(e), e.animationState || (e.animationState = Rq(e));
|
|
27699
27699
|
}
|
|
@@ -27907,7 +27907,7 @@ function nJ(e, t) {
|
|
|
27907
27907
|
function iJ(e, t) {
|
|
27908
27908
|
let r = 0.5;
|
|
27909
27909
|
const n = Ct(e), i = Ct(t);
|
|
27910
|
-
return i > n ? r =
|
|
27910
|
+
return i > n ? r = Ja(t.min, t.max - n, e.min) : n > i && (r = Ja(e.min, e.max - i, t.min)), rn(0, 1, r);
|
|
27911
27911
|
}
|
|
27912
27912
|
function aJ(e, t) {
|
|
27913
27913
|
const r = {};
|
|
@@ -28422,7 +28422,7 @@ function PJ(e) {
|
|
|
28422
28422
|
const t = Qk(Ko.current, e);
|
|
28423
28423
|
return Ko.current = void 0, t;
|
|
28424
28424
|
}
|
|
28425
|
-
function
|
|
28425
|
+
function Bo(e, t, r, n) {
|
|
28426
28426
|
if (typeof e == "function") return PJ(e);
|
|
28427
28427
|
if (r !== void 0 && !Array.isArray(r) && typeof t != "function") return _J(e, t, r, n);
|
|
28428
28428
|
const i = typeof t == "function" ? t : oq(t, r, n), a = Array.isArray(e) ? Tx(e, i) : Tx([e], ([s]) => i(s)), o = Array.isArray(e) ? void 0 : e.accelerate;
|
|
@@ -28445,7 +28445,7 @@ function Tx(e, t) {
|
|
|
28445
28445
|
}
|
|
28446
28446
|
function _J(e, t, r, n) {
|
|
28447
28447
|
const i = bs(() => Object.keys(r)), a = bs(() => ({}));
|
|
28448
|
-
for (const o of i) a[o] =
|
|
28448
|
+
for (const o of i) a[o] = Bo(e, t, r[o], n);
|
|
28449
28449
|
return a;
|
|
28450
28450
|
}
|
|
28451
28451
|
function CJ() {
|
|
@@ -28468,7 +28468,7 @@ function Mx(e, t, r, n) {
|
|
|
28468
28468
|
function RJ(e, t, r) {
|
|
28469
28469
|
for (let n = 0; n < e.length; n++) {
|
|
28470
28470
|
const i = e[n];
|
|
28471
|
-
i.at > t && i.at < r && (
|
|
28471
|
+
i.at > t && i.at < r && (Qa(e, i), n--);
|
|
28472
28472
|
}
|
|
28473
28473
|
}
|
|
28474
28474
|
function LJ(e, t, r, n, i, a) {
|
|
@@ -28558,7 +28558,7 @@ function FJ(e, { defaultTransition: t = {}, ...r } = {}, n, i) {
|
|
|
28558
28558
|
const y = [], x = [], w = [];
|
|
28559
28559
|
for (let D = 0; D < g.length; D++) {
|
|
28560
28560
|
const { at: b, value: S, easing: R } = g[D];
|
|
28561
|
-
y.push(S), x.push(
|
|
28561
|
+
y.push(S), x.push(Ja(0, h, b)), w.push(R || "easeOut");
|
|
28562
28562
|
}
|
|
28563
28563
|
x[0] !== 0 && (x.unshift(0), y.unshift(y[0]), w.unshift(NJ)), x[x.length - 1] !== 1 && (x.push(1), y.push(null)), o.has(m) || o.set(m, {
|
|
28564
28564
|
keyframes: {},
|
|
@@ -28683,7 +28683,7 @@ function KJ(e = {}) {
|
|
|
28683
28683
|
}
|
|
28684
28684
|
const c = new lX(s);
|
|
28685
28685
|
return l && c.finished.then(l), t && (t.animations.push(c), c.finished.then(() => {
|
|
28686
|
-
|
|
28686
|
+
Qa(t.animations, c);
|
|
28687
28687
|
})), c;
|
|
28688
28688
|
}
|
|
28689
28689
|
return n;
|
|
@@ -28883,7 +28883,7 @@ var Px = 10 ** 2, Pt = (e) => Math.round(e * Px) / Px, QJ = (e, t, r) => {
|
|
|
28883
28883
|
}
|
|
28884
28884
|
const n = ge(e), i = it(e) ?? fe(e);
|
|
28885
28885
|
return n === null || i === null ? null : Ic(Fi(n, i), r);
|
|
28886
|
-
},
|
|
28886
|
+
}, fo = (e) => e === "none" ? "none" : `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color}`, tZ = (e) => e === "none" ? "none" : `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color}`, mo = (e) => {
|
|
28887
28887
|
if (e !== "none")
|
|
28888
28888
|
return `drop-shadow(${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color})`;
|
|
28889
28889
|
}, r2 = (e) => {
|
|
@@ -28892,7 +28892,7 @@ var Px = 10 ** 2, Pt = (e) => Math.round(e * Px) / Px, QJ = (e, t, r) => {
|
|
|
28892
28892
|
...e.contrast === void 0 ? [] : [`contrast(${e.contrast})`],
|
|
28893
28893
|
...e.saturation === void 0 ? [] : [`saturate(${e.saturation})`],
|
|
28894
28894
|
...e.blur === void 0 ? [] : [`blur(${e.blur}px)`],
|
|
28895
|
-
...e.shadow === void 0 ? [] : [
|
|
28895
|
+
...e.shadow === void 0 ? [] : [mo(e.shadow) ?? ""]
|
|
28896
28896
|
].filter((r) => r !== "");
|
|
28897
28897
|
return t.length === 0 ? void 0 : t.join(" ");
|
|
28898
28898
|
}, Tt = (e) => {
|
|
@@ -29044,7 +29044,7 @@ function cZ(e, t, r) {
|
|
|
29044
29044
|
var n = [[e.x, e.y]];
|
|
29045
29045
|
return t.x1 != null && n.push([t.x1, t.y1]), t.x2 != null && n.push([t.x2, t.y2]), n.push([t.x, t.y]), lZ(n, r).map(sZ);
|
|
29046
29046
|
}
|
|
29047
|
-
var uZ = /[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g,
|
|
29047
|
+
var uZ = /[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g, Ra = {
|
|
29048
29048
|
M: ["x", "y"],
|
|
29049
29049
|
L: ["x", "y"],
|
|
29050
29050
|
H: ["x"],
|
|
@@ -29081,15 +29081,15 @@ var uZ = /[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g, Ia = {
|
|
|
29081
29081
|
],
|
|
29082
29082
|
Z: []
|
|
29083
29083
|
};
|
|
29084
|
-
Object.keys(
|
|
29085
|
-
|
|
29084
|
+
Object.keys(Ra).forEach(function(e) {
|
|
29085
|
+
Ra[e.toLowerCase()] = Ra[e];
|
|
29086
29086
|
});
|
|
29087
29087
|
function Sf(e, t) {
|
|
29088
29088
|
for (var r = Array(e), n = 0; n < e; n++) r[n] = t;
|
|
29089
29089
|
return r;
|
|
29090
29090
|
}
|
|
29091
29091
|
function dZ(e) {
|
|
29092
|
-
return "".concat(e.type).concat(
|
|
29092
|
+
return "".concat(e.type).concat(Ra[e.type].map(function(t) {
|
|
29093
29093
|
return e[t];
|
|
29094
29094
|
}).join(","));
|
|
29095
29095
|
}
|
|
@@ -29145,7 +29145,7 @@ function Ix(e, t, r) {
|
|
|
29145
29145
|
}
|
|
29146
29146
|
function Rx(e) {
|
|
29147
29147
|
for (var t = (e || "").match(uZ) || [], r = [], n, i, a = 0; a < t.length; ++a)
|
|
29148
|
-
if (n =
|
|
29148
|
+
if (n = Ra[t[a]], n) {
|
|
29149
29149
|
i = { type: t[a] };
|
|
29150
29150
|
for (var o = 0; o < n.length; ++o) i[n[o]] = +t[a + o + 1];
|
|
29151
29151
|
a += n.length, r.push(i);
|
|
@@ -29171,7 +29171,7 @@ function mZ(e, t, r) {
|
|
|
29171
29171
|
if (d === 1 && s) return t ?? [];
|
|
29172
29172
|
if (d === 0) return n;
|
|
29173
29173
|
for (var h = 0; h < c.length; ++h) {
|
|
29174
|
-
var f = n[h], m = i[h], p = c[h], g = n2(
|
|
29174
|
+
var f = n[h], m = i[h], p = c[h], g = n2(Ra[p.type]), y;
|
|
29175
29175
|
try {
|
|
29176
29176
|
for (g.s(); !(y = g.n()).done; ) {
|
|
29177
29177
|
var x = y.value;
|
|
@@ -29387,7 +29387,7 @@ var Tf = (e, t, r) => {
|
|
|
29387
29387
|
lineCap: l,
|
|
29388
29388
|
lineJoin: c,
|
|
29389
29389
|
shouldAnimateTransitions: u
|
|
29390
|
-
}), o2 = 1, MZ = 0.4, EZ = 0.2, kZ = 1, PZ = 0.5, _Z = 2.25,
|
|
29390
|
+
}), o2 = 1, MZ = 0.4, EZ = 0.2, kZ = 1, PZ = 0.5, _Z = 2.25, po = ({ hit: e, project: t = Fi, ...r }) => {
|
|
29391
29391
|
const n = nE(e.layerId);
|
|
29392
29392
|
if (!e.anchored) return null;
|
|
29393
29393
|
const i = Be(n?.get("fill", e.observation) ?? "#B84737"), a = Am(e.observation) ?? 1, o = n?.get("stroke", e.observation, "hovered") ?? "#ffffff", s = n?.get("symbol", e.observation) ?? "circle", l = t(e.x, e.y), c = Z(l.x), u = Z(l.y), d = CZ(e.observation, n), { ringRadius: h, ringWidth: f } = IZ(d, ej(s, d * 2)), m = n ? Tt(At(n, e.observation, "hovered")) : void 0;
|
|
@@ -29470,7 +29470,7 @@ var Tf = (e, t, r) => {
|
|
|
29470
29470
|
})]
|
|
29471
29471
|
}),
|
|
29472
29472
|
n.map((x) => /* @__PURE__ */ v(Jn, { hit: x }, `companion-${x.layerId}-${x.pointIndex}`)),
|
|
29473
|
-
/* @__PURE__ */ v(
|
|
29473
|
+
/* @__PURE__ */ v(po, {
|
|
29474
29474
|
hit: r,
|
|
29475
29475
|
"data-testid": "hovered-area-point"
|
|
29476
29476
|
})
|
|
@@ -30170,10 +30170,10 @@ var OZ = {
|
|
|
30170
30170
|
e.height,
|
|
30171
30171
|
l
|
|
30172
30172
|
]), {
|
|
30173
|
-
x:
|
|
30174
|
-
y:
|
|
30175
|
-
width:
|
|
30176
|
-
height:
|
|
30173
|
+
x: Bo(i, Z),
|
|
30174
|
+
y: Bo(a, Z),
|
|
30175
|
+
width: Bo(o, Z),
|
|
30176
|
+
height: Bo(s, Z)
|
|
30177
30177
|
};
|
|
30178
30178
|
};
|
|
30179
30179
|
function nee(e) {
|
|
@@ -30482,7 +30482,7 @@ var Qd = 3, iee = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
|
|
|
30482
30482
|
})
|
|
30483
30483
|
}),
|
|
30484
30484
|
r.map((m) => /* @__PURE__ */ v(Jn, { hit: m }, `companion-${m.layerId}-${m.pointIndex}`)),
|
|
30485
|
-
/* @__PURE__ */ v(
|
|
30485
|
+
/* @__PURE__ */ v(po, {
|
|
30486
30486
|
hit: t,
|
|
30487
30487
|
"data-testid": "hovered-line-point"
|
|
30488
30488
|
})
|
|
@@ -30567,7 +30567,7 @@ var Qd = 3, iee = ({ layer: e, coordSystem: t, primary: r, panelRect: n }) => {
|
|
|
30567
30567
|
a
|
|
30568
30568
|
]);
|
|
30569
30569
|
}), Vx = ({ primary: e, companions: t }) => {
|
|
30570
|
-
const r = /* @__PURE__ */ U(me, { children: [t.map((n) => /* @__PURE__ */ v(Jn, { hit: n }, `companion-${n.layerId}-${n.pointIndex}`)), e ? /* @__PURE__ */ v(
|
|
30570
|
+
const r = /* @__PURE__ */ U(me, { children: [t.map((n) => /* @__PURE__ */ v(Jn, { hit: n }, `companion-${n.layerId}-${n.pointIndex}`)), e ? /* @__PURE__ */ v(po, { hit: e }) : null] });
|
|
30571
30571
|
return e ? /* @__PURE__ */ v("g", {
|
|
30572
30572
|
"data-testid": "hovered-point",
|
|
30573
30573
|
children: r
|
|
@@ -30615,7 +30615,7 @@ function vee(e, t) {
|
|
|
30615
30615
|
return Object.is(e, t) ? !0 : typeof e != "object" || e === null || typeof t != "object" || t === null || Object.getPrototypeOf(e) !== Object.getPrototypeOf(t) ? !1 : Hx(e) && Hx(t) ? Gx(e) && Gx(t) ? Wx(e, t) : gee(e, t) : Wx({ entries: () => Object.entries(e) }, { entries: () => Object.entries(t) });
|
|
30616
30616
|
}
|
|
30617
30617
|
function mr(e) {
|
|
30618
|
-
const t =
|
|
30618
|
+
const t = Ro.useRef(void 0);
|
|
30619
30619
|
return (r) => {
|
|
30620
30620
|
const n = e(r);
|
|
30621
30621
|
return vee(t.current, n) ? t.current : t.current = n;
|
|
@@ -30767,7 +30767,7 @@ var O = {
|
|
|
30767
30767
|
fontEditorSectionTitle: "var(--graphy-font-editor-section-title)",
|
|
30768
30768
|
fontEditorCaption: "var(--graphy-font-editor-caption)"
|
|
30769
30769
|
}, Fu = `"Stack Sans Text", 'Inter', -apple-system, BlinkMacSystemFont, 'Open Sans', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu',
|
|
30770
|
-
'Cantarell', 'Helvetica Neue', 'NotoSansArabic', 'NotoSansJP', 'NotoSansSC', 'NotoSansKR', 'NotoSerifKR', sans-serif, 'Apple Color Emoji', 'NotoColorEmoji'`, yee = Fu,
|
|
30770
|
+
'Cantarell', 'Helvetica Neue', 'NotoSansArabic', 'NotoSansJP', 'NotoSansSC', 'NotoSansKR', 'NotoSerifKR', sans-serif, 'Apple Color Emoji', 'NotoColorEmoji'`, yee = Fu, Co = {
|
|
30771
30771
|
regular: yi.regular,
|
|
30772
30772
|
medium: yi.medium,
|
|
30773
30773
|
semibold: yi.semiBold,
|
|
@@ -30799,11 +30799,11 @@ var O = {
|
|
|
30799
30799
|
textScale: "1",
|
|
30800
30800
|
fontFamily: Fu,
|
|
30801
30801
|
fontFamilyHeading: yee,
|
|
30802
|
-
fontWeightRegular:
|
|
30803
|
-
fontWeightMedium:
|
|
30804
|
-
fontWeightSemibold:
|
|
30805
|
-
fontWeightBold:
|
|
30806
|
-
fontWeightExtraBold:
|
|
30802
|
+
fontWeightRegular: Co.regular.toString(),
|
|
30803
|
+
fontWeightMedium: Co.medium.toString(),
|
|
30804
|
+
fontWeightSemibold: Co.semibold.toString(),
|
|
30805
|
+
fontWeightBold: Co.bold.toString(),
|
|
30806
|
+
fontWeightExtraBold: Co.extraBold.toString(),
|
|
30807
30807
|
fontSizeXxs: Vr(Fr.xxs),
|
|
30808
30808
|
fontSizeXs: Vr(Fr.xs),
|
|
30809
30809
|
fontSizeSm: Vr(Fr.sm),
|
|
@@ -30863,7 +30863,7 @@ var wee = (e, t) => ({ familyDefault: Jd(t) ?? Jd(e.fontFamily) ?? Jd(Fu) ?? ""
|
|
|
30863
30863
|
editorControlHeight: Zd(32),
|
|
30864
30864
|
legendSwatchGap: Zd(8),
|
|
30865
30865
|
headlineRowGap: Zd(2)
|
|
30866
|
-
},
|
|
30866
|
+
}, Fo = {
|
|
30867
30867
|
panelOverlay: 5,
|
|
30868
30868
|
textToolbar: 10,
|
|
30869
30869
|
textToolbarTooltip: 20,
|
|
@@ -30883,10 +30883,10 @@ var wee = (e, t) => ({ familyDefault: Jd(t) ?? Jd(e.fontFamily) ?? Jd(Fu) ?? ""
|
|
|
30883
30883
|
radiiMd: "8px",
|
|
30884
30884
|
radiiLg: "12px"
|
|
30885
30885
|
}, S2 = {
|
|
30886
|
-
zIndexToolbar: `${
|
|
30887
|
-
zIndexToolbarTooltip: `${
|
|
30888
|
-
zIndexToolbarPopover: `${
|
|
30889
|
-
zIndexEditorPopover: `${
|
|
30886
|
+
zIndexToolbar: `${Fo.textToolbar}`,
|
|
30887
|
+
zIndexToolbarTooltip: `${Fo.textToolbarTooltip}`,
|
|
30888
|
+
zIndexToolbarPopover: `${Fo.textToolbarPopover}`,
|
|
30889
|
+
zIndexEditorPopover: `${Fo.editorOverlayPopover}`
|
|
30890
30890
|
}, See = 8, fa = (e) => `${See * e}px`, T2 = {
|
|
30891
30891
|
spaceXxs: fa(0.25),
|
|
30892
30892
|
spaceXs: fa(0.5),
|
|
@@ -31111,7 +31111,7 @@ var E2 = Ye(Dee), Oee = ({ metrics: e, children: t }) => /* @__PURE__ */ v(E2.Pr
|
|
|
31111
31111
|
return typeof document < "u" && "fonts" in document && await document.fonts.ready, new P2();
|
|
31112
31112
|
}
|
|
31113
31113
|
measureText(t, r) {
|
|
31114
|
-
const n =
|
|
31114
|
+
const n = oo(t, r.textTransform), i = AY(r);
|
|
31115
31115
|
this.setFont(i);
|
|
31116
31116
|
const { width: a, fontBoundingBoxAscent: o, fontBoundingBoxDescent: s } = this.ctx.measureText(n);
|
|
31117
31117
|
let l = a + eE(n, r.letterSpacing);
|
|
@@ -31395,7 +31395,7 @@ var vte = I_((() => {
|
|
|
31395
31395
|
e.assignInlineVars = r;
|
|
31396
31396
|
})), bte = /* @__PURE__ */ nn(((e, t) => {
|
|
31397
31397
|
t.exports = yte();
|
|
31398
|
-
})),
|
|
31398
|
+
})), go = (e, t = O.fontFamily) => ({
|
|
31399
31399
|
fontFamily: e.fontFamily ?? t,
|
|
31400
31400
|
fontSize: e.fontSize,
|
|
31401
31401
|
fontWeight: e.fontWeight,
|
|
@@ -31407,20 +31407,20 @@ var vte = I_((() => {
|
|
|
31407
31407
|
strokeWidth: e.textOutlineWidth * 2,
|
|
31408
31408
|
paintOrder: "stroke"
|
|
31409
31409
|
} : {}, L2 = (e) => e.textShadow === void 0 ? {} : { textShadow: tZ(e.textShadow) }, Gu = (e) => {
|
|
31410
|
-
const t = e.textShadow === void 0 ? void 0 :
|
|
31410
|
+
const t = e.textShadow === void 0 ? void 0 : mo(e.textShadow);
|
|
31411
31411
|
return t === void 0 ? {} : { filter: t };
|
|
31412
31412
|
}, D2 = (e) => O2(e) ? {
|
|
31413
31413
|
WebkitTextStroke: `${e.textOutlineWidth * 2}px ${e.textOutlineColor}`,
|
|
31414
31414
|
paintOrder: "stroke"
|
|
31415
31415
|
} : {}, ga = (e) => ({
|
|
31416
|
-
...
|
|
31416
|
+
...go(e),
|
|
31417
31417
|
lineHeight: e.lineHeight,
|
|
31418
31418
|
color: e.textColor,
|
|
31419
31419
|
...e.textTransform === void 0 ? {} : { textTransform: e.textTransform },
|
|
31420
31420
|
...D2(e),
|
|
31421
31421
|
...L2(e)
|
|
31422
31422
|
}), xt = (e) => ({
|
|
31423
|
-
...
|
|
31423
|
+
...go(e),
|
|
31424
31424
|
lineHeight: e.lineHeight,
|
|
31425
31425
|
color: e.textColor,
|
|
31426
31426
|
...e.textTransform === void 0 ? {} : { textTransform: e.textTransform },
|
|
@@ -31521,11 +31521,11 @@ var vte = I_((() => {
|
|
|
31521
31521
|
dominantBaseline: "central",
|
|
31522
31522
|
fill: s,
|
|
31523
31523
|
style: {
|
|
31524
|
-
...
|
|
31524
|
+
...go(t),
|
|
31525
31525
|
...Gu(t)
|
|
31526
31526
|
},
|
|
31527
31527
|
...Hu(t),
|
|
31528
|
-
children:
|
|
31528
|
+
children: oo(e, t.textTransform)
|
|
31529
31529
|
})] });
|
|
31530
31530
|
return i ? /* @__PURE__ */ v(xte, {
|
|
31531
31531
|
labelPosition: n,
|
|
@@ -31770,7 +31770,7 @@ var vte = I_((() => {
|
|
|
31770
31770
|
const r = /* @__PURE__ */ U(me, { children: [t.map((n) => /* @__PURE__ */ v(Jn, {
|
|
31771
31771
|
hit: n,
|
|
31772
31772
|
project: kr
|
|
31773
|
-
}, `companion-${n.layerId}-${n.pointIndex}`)), e ? /* @__PURE__ */ v(
|
|
31773
|
+
}, `companion-${n.layerId}-${n.pointIndex}`)), e ? /* @__PURE__ */ v(po, {
|
|
31774
31774
|
hit: e,
|
|
31775
31775
|
project: kr
|
|
31776
31776
|
}) : null] });
|
|
@@ -31779,7 +31779,7 @@ var vte = I_((() => {
|
|
|
31779
31779
|
children: r
|
|
31780
31780
|
}) : r;
|
|
31781
31781
|
}, N2 = (e) => {
|
|
31782
|
-
const t =
|
|
31782
|
+
const t = lo(e);
|
|
31783
31783
|
return {
|
|
31784
31784
|
origin: {
|
|
31785
31785
|
x: t.centerX,
|
|
@@ -31789,9 +31789,9 @@ var vte = I_((() => {
|
|
|
31789
31789
|
scaleY: t.radius
|
|
31790
31790
|
};
|
|
31791
31791
|
}, Rte = (e) => ({
|
|
31792
|
-
...
|
|
31792
|
+
...lo(e),
|
|
31793
31793
|
digits: 2
|
|
31794
|
-
}), B2 = (e, t, r) => dr(e, t,
|
|
31794
|
+
}), B2 = (e, t, r) => dr(e, t, lo(r)), Ef = (e) => {
|
|
31795
31795
|
const [t, ...r] = e;
|
|
31796
31796
|
if (!t) return "";
|
|
31797
31797
|
const n = r.map((i) => `L ${i.x} ${i.y}`).join(" ");
|
|
@@ -31937,7 +31937,7 @@ var vte = I_((() => {
|
|
|
31937
31937
|
hit: p,
|
|
31938
31938
|
project: kr
|
|
31939
31939
|
}, `companion-${p.layerId}-${p.pointIndex}`)),
|
|
31940
|
-
/* @__PURE__ */ v(
|
|
31940
|
+
/* @__PURE__ */ v(po, {
|
|
31941
31941
|
hit: t,
|
|
31942
31942
|
project: kr,
|
|
31943
31943
|
"data-testid": "hovered-area-point"
|
|
@@ -32087,7 +32087,7 @@ var vte = I_((() => {
|
|
|
32087
32087
|
...A
|
|
32088
32088
|
}, M);
|
|
32089
32089
|
}), S = ag(p);
|
|
32090
|
-
if (!T && S <= 0) return /* @__PURE__ */ v(
|
|
32090
|
+
if (!T && S <= 0) return /* @__PURE__ */ v(eo, { children: b }, p.key);
|
|
32091
32091
|
const R = `${o}${g}`;
|
|
32092
32092
|
if (s.isAnimated) return /* @__PURE__ */ v("g", {
|
|
32093
32093
|
clipPath: `url(#${R})`,
|
|
@@ -32479,7 +32479,7 @@ var vte = I_((() => {
|
|
|
32479
32479
|
hit: f,
|
|
32480
32480
|
project: kr
|
|
32481
32481
|
}, `companion-${f.layerId}-${f.pointIndex}`)),
|
|
32482
|
-
/* @__PURE__ */ v(
|
|
32482
|
+
/* @__PURE__ */ v(po, {
|
|
32483
32483
|
hit: t,
|
|
32484
32484
|
project: kr,
|
|
32485
32485
|
"data-testid": "hovered-line-point"
|
|
@@ -32608,19 +32608,19 @@ var K2 = (e) => typeof e == "object" && "geom" in e && "render" in e, X2 = (e) =
|
|
|
32608
32608
|
}, tre = (e, t) => {
|
|
32609
32609
|
const r = e.filter((n) => rre(n, t));
|
|
32610
32610
|
return r.length === e.length ? e : r;
|
|
32611
|
-
}, rre = (e, t) => e.kind === "annotation" ? fT(t.annotations, e.id) !== null : e.kind === "observations" || e.kind === "layer" && e.layerId !== void 0 ? kh(t.layers, e.layerId) !== void 0 : !0, Qx = [], nre = () =>
|
|
32611
|
+
}, rre = (e, t) => e.kind === "annotation" ? fT(t.annotations, e.id) !== null : e.kind === "observations" || e.kind === "layer" && e.layerId !== void 0 ? kh(t.layers, e.layerId) !== void 0 : !0, Qx = [], nre = () => so((e) => ({
|
|
32612
32612
|
selection: Qx,
|
|
32613
32613
|
setSelection: (t) => e((r) => ire(r.selection, t) ? r : { selection: t }),
|
|
32614
32614
|
clearSelection: () => e((t) => t.selection.length === 0 ? t : { selection: Qx })
|
|
32615
32615
|
})), ire = (e, t) => e === t ? !0 : e.length !== t.length ? !1 : e.every((r, n) => {
|
|
32616
32616
|
const i = t[n];
|
|
32617
|
-
return i !== void 0 &&
|
|
32617
|
+
return i !== void 0 && Ca(r, i);
|
|
32618
32618
|
}), are = [
|
|
32619
32619
|
"top",
|
|
32620
32620
|
"right",
|
|
32621
32621
|
"bottom",
|
|
32622
32622
|
"left"
|
|
32623
|
-
], ore = () =>
|
|
32623
|
+
], ore = () => so((e) => ({
|
|
32624
32624
|
boundary: null,
|
|
32625
32625
|
setBoundary: (t) => e((r) => sre(r.boundary, t) ? r : { boundary: t })
|
|
32626
32626
|
})), kf = (e, t) => e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height, Pf = (e, t) => are.every((r) => e[r].from === t[r].from && e[r].to === t[r].to), sre = (e, t) => e === t ? !0 : e === null || t === null ? !1 : kf(e.frame, t.frame) && kf(e.client, t.client) && Pf(e.frameSpans, t.frameSpans) && Pf(e.clientSpans, t.clientSpans), lre = 5, cre = (e) => ({
|
|
@@ -32630,7 +32630,7 @@ var K2 = (e) => typeof e == "object" && "geom" in e && "render" in e, X2 = (e) =
|
|
|
32630
32630
|
getLastTrigger: () => null,
|
|
32631
32631
|
getLastCompile: () => null,
|
|
32632
32632
|
getCacheStats: () => e.getCacheStats()
|
|
32633
|
-
}), ure = () =>
|
|
32633
|
+
}), ure = () => so((e) => ({
|
|
32634
32634
|
lastCompile: null,
|
|
32635
32635
|
history: [],
|
|
32636
32636
|
nextId: 1,
|
|
@@ -32836,14 +32836,14 @@ function wre(e) {
|
|
|
32836
32836
|
}
|
|
32837
32837
|
return r;
|
|
32838
32838
|
}
|
|
32839
|
-
var Are = (e) =>
|
|
32839
|
+
var Are = (e) => so((t) => ({
|
|
32840
32840
|
scene: e,
|
|
32841
32841
|
setScene: (r) => t((n) => n.scene === r ? n : { scene: r })
|
|
32842
|
-
})),
|
|
32842
|
+
})), La = (e) => {
|
|
32843
32843
|
const t = de(e);
|
|
32844
32844
|
return t.current = e, t;
|
|
32845
32845
|
}, Sre = ({ spec: e, data: t, customPalettes: r, colorScheme: n, plugins: i, resolveRenderer: a, anchorResolver: o, onSpecChange: s, onError: l, onWarnings: c }) => {
|
|
32846
|
-
const u =
|
|
32846
|
+
const u = La(s), d = La(l), h = La(c), [{ session: f, compileBus: m }] = Ee(() => {
|
|
32847
32847
|
const P = d9({ plugins: i });
|
|
32848
32848
|
return {
|
|
32849
32849
|
session: new wY(P),
|
|
@@ -33059,7 +33059,7 @@ function Ome(e) {
|
|
|
33059
33059
|
}
|
|
33060
33060
|
var Mre = () => {
|
|
33061
33061
|
const e = /* @__PURE__ */ new Map();
|
|
33062
|
-
return
|
|
33062
|
+
return so((t) => ({
|
|
33063
33063
|
hover: zt,
|
|
33064
33064
|
tooltipAnchor: null,
|
|
33065
33065
|
pointerRegions: [],
|
|
@@ -33138,12 +33138,12 @@ var Cre = ({ hitTest: e, input: t }) => {
|
|
|
33138
33138
|
const [r] = Ee(J2);
|
|
33139
33139
|
return /* @__PURE__ */ v(Lre, {
|
|
33140
33140
|
rect: e,
|
|
33141
|
-
zIndex:
|
|
33141
|
+
zIndex: Fo.panelOverlay,
|
|
33142
33142
|
container: r,
|
|
33143
33143
|
children: t
|
|
33144
33144
|
});
|
|
33145
33145
|
}, Ore = (e, t) => {
|
|
33146
|
-
const r =
|
|
33146
|
+
const r = La(e), n = La(t), i = de(null), a = de(null), o = G(() => {
|
|
33147
33147
|
const s = () => {
|
|
33148
33148
|
a.current !== null && (clearTimeout(a.current), a.current = null), i.current = null;
|
|
33149
33149
|
}, l = () => {
|
|
@@ -33326,7 +33326,7 @@ function qt() {
|
|
|
33326
33326
|
for (var e, t, r = 0, n = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = eP(e)) && (n && (n += " "), n += t);
|
|
33327
33327
|
return n;
|
|
33328
33328
|
}
|
|
33329
|
-
var Gre = "dev-tools-panel_header__58flce0", Wre = "dev-tools-panel_title__58flce1", Ure = "dev-tools-panel_table__58flce2", jre = "dev-tools-panel_th__58flce3",
|
|
33329
|
+
var Gre = "dev-tools-panel_header__58flce0", Wre = "dev-tools-panel_title__58flce1", Ure = "dev-tools-panel_table__58flce2", jre = "dev-tools-panel_th__58flce3", Io = "dev-tools-panel_thNum__58flce4", $re = "dev-tools-panel_td__58flce5", zre = "dev-tools-panel_historyRow__58flce6", Yre = "dev-tools-panel_historyLabel__58flce7", Ol = "dev-tools-panel_tdNumDim__58flce8", Kre = "dev-tools-panel_historyStats__58flce9", Xre = "dev-tools-panel_panel__58flcea";
|
|
33330
33330
|
var qre = "dev-tools-panel_tr__58flcec", Qre = "dev-tools-panel_history__58flced", Jre = "dev-tools-panel_subtitle__58flcee", Zre = "dev-tools-panel_toggleButton__58flcef";
|
|
33331
33331
|
var ene = "dev-tools-panel_theadRow__58flceh", tne = "dev-tools-panel_historyHeader__58flcei", Jx = {
|
|
33332
33332
|
enabled: "dev-tools-panel_cacheToggle_enabled__58flcek dev-tools-panel_cacheToggleBase__58flcej",
|
|
@@ -33402,23 +33402,23 @@ var ene = "dev-tools-panel_theadRow__58flceh", tne = "dev-tools-panel_historyHea
|
|
|
33402
33402
|
children: "stage"
|
|
33403
33403
|
}),
|
|
33404
33404
|
/* @__PURE__ */ v("th", {
|
|
33405
|
-
className:
|
|
33405
|
+
className: Io,
|
|
33406
33406
|
children: "time"
|
|
33407
33407
|
}),
|
|
33408
33408
|
/* @__PURE__ */ v("th", {
|
|
33409
|
-
className:
|
|
33409
|
+
className: Io,
|
|
33410
33410
|
children: "Δ miss"
|
|
33411
33411
|
}),
|
|
33412
33412
|
/* @__PURE__ */ v("th", {
|
|
33413
|
-
className:
|
|
33413
|
+
className: Io,
|
|
33414
33414
|
children: "Δ hit"
|
|
33415
33415
|
}),
|
|
33416
33416
|
/* @__PURE__ */ v("th", {
|
|
33417
|
-
className:
|
|
33417
|
+
className: Io,
|
|
33418
33418
|
children: "total miss"
|
|
33419
33419
|
}),
|
|
33420
33420
|
/* @__PURE__ */ v("th", {
|
|
33421
|
-
className:
|
|
33421
|
+
className: Io,
|
|
33422
33422
|
children: "total hit"
|
|
33423
33423
|
})
|
|
33424
33424
|
]
|
|
@@ -35887,7 +35887,7 @@ function Kne(e = {
|
|
|
35887
35887
|
})
|
|
35888
35888
|
};
|
|
35889
35889
|
}
|
|
35890
|
-
var
|
|
35890
|
+
var vo = class hn {
|
|
35891
35891
|
constructor(t, r = hn.defaultLocale, n, i) {
|
|
35892
35892
|
if ($(this, "ast", void 0), $(this, "locales", void 0), $(this, "resolvedLocale", void 0), $(this, "formatters", void 0), $(this, "formats", void 0), $(this, "message", void 0), $(this, "formatterCache", {
|
|
35893
35893
|
number: {},
|
|
@@ -35913,14 +35913,14 @@ var go = class hn {
|
|
|
35913
35913
|
return hn.memoizedDefaultLocale || (hn.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), hn.memoizedDefaultLocale;
|
|
35914
35914
|
}
|
|
35915
35915
|
};
|
|
35916
|
-
$(
|
|
35917
|
-
$(
|
|
35916
|
+
$(vo, "memoizedDefaultLocale", null);
|
|
35917
|
+
$(vo, "resolveLocale", (e) => {
|
|
35918
35918
|
if (typeof Intl.Locale > "u") return;
|
|
35919
35919
|
const t = Intl.NumberFormat.supportedLocalesOf(e);
|
|
35920
35920
|
return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof e == "string" ? e : e[0]);
|
|
35921
35921
|
});
|
|
35922
|
-
$(
|
|
35923
|
-
$(
|
|
35922
|
+
$(vo, "__parse", Wne);
|
|
35923
|
+
$(vo, "formats", {
|
|
35924
35924
|
number: {
|
|
35925
35925
|
integer: { maximumFractionDigits: 0 },
|
|
35926
35926
|
currency: { style: "currency" },
|
|
@@ -36017,7 +36017,7 @@ Description: ${r?.description}
|
|
|
36017
36017
|
function Jne(e, t, r = Error) {
|
|
36018
36018
|
if (!e) throw new r(t);
|
|
36019
36019
|
}
|
|
36020
|
-
function
|
|
36020
|
+
function yo(e, t, r = {}) {
|
|
36021
36021
|
return t.reduce((n, i) => (i in e ? n[i] = e[i] : i in r && (n[i] = r[i]), n), {});
|
|
36022
36022
|
}
|
|
36023
36023
|
var Zne = (e) => {
|
|
@@ -36069,7 +36069,7 @@ function tie(e = yP()) {
|
|
|
36069
36069
|
return {
|
|
36070
36070
|
getDateTimeFormat: i,
|
|
36071
36071
|
getNumberFormat: a,
|
|
36072
|
-
getMessageFormat: Nr((s, l, c, u) => new
|
|
36072
|
+
getMessageFormat: Nr((s, l, c, u) => new vo(s, l, c, {
|
|
36073
36073
|
formatters: {
|
|
36074
36074
|
getNumberFormat: a,
|
|
36075
36075
|
getDateTimeFormat: i,
|
|
@@ -36118,7 +36118,7 @@ function cw(e, t) {
|
|
|
36118
36118
|
}
|
|
36119
36119
|
function uw(e, t) {
|
|
36120
36120
|
if (!t) return e;
|
|
36121
|
-
const r =
|
|
36121
|
+
const r = vo.formats;
|
|
36122
36122
|
return {
|
|
36123
36123
|
...r,
|
|
36124
36124
|
...e,
|
|
@@ -36182,7 +36182,7 @@ function nl({ locale: e, formats: t, onError: r, timeZone: n }, i, a, o = {}) {
|
|
|
36182
36182
|
...n && { timeZone: n },
|
|
36183
36183
|
...s && cg(t, i, s, r)
|
|
36184
36184
|
};
|
|
36185
|
-
let c =
|
|
36185
|
+
let c = yo(o, rie, l);
|
|
36186
36186
|
return i === "time" && !c.hour && !c.minute && !c.second && !c.timeStyle && !c.dateStyle && (c = {
|
|
36187
36187
|
...c,
|
|
36188
36188
|
hour: "numeric",
|
|
@@ -36244,7 +36244,7 @@ function cie({ locale: e, onError: t }, r, n, i) {
|
|
|
36244
36244
|
Intl.DisplayNames || t(new ri(`Intl.DisplayNames is not available in this environment.
|
|
36245
36245
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
36246
36246
|
`, ti.MISSING_INTL_API));
|
|
36247
|
-
const a =
|
|
36247
|
+
const a = yo(i, lie);
|
|
36248
36248
|
try {
|
|
36249
36249
|
return r(e, a).of(n);
|
|
36250
36250
|
} catch (o) {
|
|
@@ -36266,7 +36266,7 @@ function bP({ locale: e, onError: t }, r, n, i = {}) {
|
|
|
36266
36266
|
Intl.ListFormat || t(new ri(`Intl.ListFormat is not available in this environment.
|
|
36267
36267
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
36268
36268
|
`, ti.MISSING_INTL_API));
|
|
36269
|
-
const a =
|
|
36269
|
+
const a = yo(i, uie);
|
|
36270
36270
|
try {
|
|
36271
36271
|
const o = {}, s = Array.from(n).map((l, c) => {
|
|
36272
36272
|
if (typeof l == "object" && l !== null) {
|
|
@@ -36289,7 +36289,7 @@ function mie({ locale: e, onError: t }, r, n, i = {}) {
|
|
|
36289
36289
|
Intl.PluralRules || t(new ri(`Intl.PluralRules is not available in this environment.
|
|
36290
36290
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
36291
36291
|
`, ti.MISSING_INTL_API));
|
|
36292
|
-
const a =
|
|
36292
|
+
const a = yo(i, fie);
|
|
36293
36293
|
try {
|
|
36294
36294
|
return r(e, a).select(n);
|
|
36295
36295
|
} catch (o) {
|
|
@@ -36300,7 +36300,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
36300
36300
|
var pie = ["numeric", "style"];
|
|
36301
36301
|
function gie({ locale: e, formats: t, onError: r }, n, i = {}) {
|
|
36302
36302
|
const { format: a } = i, o = !!a && cg(t, "relative", a, r) || {};
|
|
36303
|
-
return n(e,
|
|
36303
|
+
return n(e, yo(i, pie, o));
|
|
36304
36304
|
}
|
|
36305
36305
|
function vie(e, t, r, n, i = {}) {
|
|
36306
36306
|
n || (n = "second"), Intl.RelativeTimeFormat || e.onError(new ri(`Intl.RelativeTimeFormat is not available in this environment.
|
|
@@ -36339,7 +36339,7 @@ var yie = [
|
|
|
36339
36339
|
];
|
|
36340
36340
|
function xP({ locale: e, formats: t, onError: r }, n, i = {}) {
|
|
36341
36341
|
const { format: a } = i, o = a && cg(t, "number", a, r) || {};
|
|
36342
|
-
return n(e,
|
|
36342
|
+
return n(e, yo(i, yie, o));
|
|
36343
36343
|
}
|
|
36344
36344
|
function bie(e, t, r, n = {}) {
|
|
36345
36345
|
try {
|
|
@@ -36833,7 +36833,7 @@ var Die = {
|
|
|
36833
36833
|
const e = he(TP);
|
|
36834
36834
|
if (!e) throw new Error("useI18n must be used within IntlProvider");
|
|
36835
36835
|
return e;
|
|
36836
|
-
}, Lf = Math.min,
|
|
36836
|
+
}, Lf = Math.min, Da = Math.max, Bc = Math.round, Zr = (e) => ({
|
|
36837
36837
|
x: e,
|
|
36838
36838
|
y: e
|
|
36839
36839
|
}), Kie = {
|
|
@@ -36843,7 +36843,7 @@ var Die = {
|
|
|
36843
36843
|
top: "bottom"
|
|
36844
36844
|
};
|
|
36845
36845
|
function pw(e, t, r) {
|
|
36846
|
-
return
|
|
36846
|
+
return Da(e, Lf(t, r));
|
|
36847
36847
|
}
|
|
36848
36848
|
function ju(e, t) {
|
|
36849
36849
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -37193,7 +37193,7 @@ var cae = function(e) {
|
|
|
37193
37193
|
function zu() {
|
|
37194
37194
|
return typeof window < "u";
|
|
37195
37195
|
}
|
|
37196
|
-
function
|
|
37196
|
+
function bo(e) {
|
|
37197
37197
|
return _P(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
37198
37198
|
}
|
|
37199
37199
|
function Qt(e) {
|
|
@@ -37221,7 +37221,7 @@ function il(e) {
|
|
|
37221
37221
|
return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && i !== "inline" && i !== "contents";
|
|
37222
37222
|
}
|
|
37223
37223
|
function dae(e) {
|
|
37224
|
-
return /^(table|td|th)$/.test(
|
|
37224
|
+
return /^(table|td|th)$/.test(bo(e));
|
|
37225
37225
|
}
|
|
37226
37226
|
function Yu(e) {
|
|
37227
37227
|
try {
|
|
@@ -37241,7 +37241,7 @@ function hg(e) {
|
|
|
37241
37241
|
}
|
|
37242
37242
|
function mae(e) {
|
|
37243
37243
|
let t = Kn(e);
|
|
37244
|
-
for (; Cn(t) && !
|
|
37244
|
+
for (; Cn(t) && !Za(t); ) {
|
|
37245
37245
|
if (hg(t)) return t;
|
|
37246
37246
|
if (Yu(t)) return null;
|
|
37247
37247
|
t = Kn(t);
|
|
@@ -37251,8 +37251,8 @@ function mae(e) {
|
|
|
37251
37251
|
function fg() {
|
|
37252
37252
|
return nh == null && (nh = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), nh;
|
|
37253
37253
|
}
|
|
37254
|
-
function
|
|
37255
|
-
return /^(html|body|#document)$/.test(
|
|
37254
|
+
function Za(e) {
|
|
37255
|
+
return /^(html|body|#document)$/.test(bo(e));
|
|
37256
37256
|
}
|
|
37257
37257
|
function _r(e) {
|
|
37258
37258
|
return Qt(e).getComputedStyle(e);
|
|
@@ -37267,13 +37267,13 @@ function Ku(e) {
|
|
|
37267
37267
|
};
|
|
37268
37268
|
}
|
|
37269
37269
|
function Kn(e) {
|
|
37270
|
-
if (
|
|
37270
|
+
if (bo(e) === "html") return e;
|
|
37271
37271
|
const t = e.assignedSlot || e.parentNode || bw(e) && e.host || _n(e);
|
|
37272
37272
|
return bw(t) ? t.host : t;
|
|
37273
37273
|
}
|
|
37274
37274
|
function CP(e) {
|
|
37275
37275
|
const t = Kn(e);
|
|
37276
|
-
return
|
|
37276
|
+
return Za(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Cn(t) && il(t) ? t : CP(t);
|
|
37277
37277
|
}
|
|
37278
37278
|
function Of(e, t, r) {
|
|
37279
37279
|
var n;
|
|
@@ -37300,7 +37300,7 @@ function IP(e) {
|
|
|
37300
37300
|
function RP(e) {
|
|
37301
37301
|
return Pr(e) ? e : e.contextElement;
|
|
37302
37302
|
}
|
|
37303
|
-
function
|
|
37303
|
+
function Oa(e) {
|
|
37304
37304
|
const t = RP(e);
|
|
37305
37305
|
if (!Cn(t)) return Zr(1);
|
|
37306
37306
|
const r = t.getBoundingClientRect(), { width: n, height: i, $: a } = IP(t);
|
|
@@ -37325,14 +37325,14 @@ function Es(e, t, r, n) {
|
|
|
37325
37325
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
37326
37326
|
const i = e.getBoundingClientRect(), a = RP(e);
|
|
37327
37327
|
let o = Zr(1);
|
|
37328
|
-
t && (n ? Pr(n) && (o =
|
|
37328
|
+
t && (n ? Pr(n) && (o = Oa(n)) : o = Oa(e));
|
|
37329
37329
|
const s = gae(a, r, n) ? LP(a) : Zr(0);
|
|
37330
37330
|
let l = (i.left + s.x) / o.x, c = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
37331
37331
|
if (a) {
|
|
37332
37332
|
const h = Qt(a), f = n && Pr(n) ? Qt(n) : n;
|
|
37333
37333
|
let m = h, p = Nf(m);
|
|
37334
37334
|
for (; p && n && f !== m; ) {
|
|
37335
|
-
const g =
|
|
37335
|
+
const g = Oa(p), y = p.getBoundingClientRect(), x = _r(p), w = y.left + (p.clientLeft + parseFloat(x.paddingLeft)) * g.x, T = y.top + (p.clientTop + parseFloat(x.paddingTop)) * g.y;
|
|
37336
37336
|
l *= g.x, c *= g.y, u *= g.x, d *= g.y, l += w, c += T, m = Qt(p), p = Nf(m);
|
|
37337
37337
|
}
|
|
37338
37338
|
}
|
|
@@ -37363,9 +37363,9 @@ function vae(e) {
|
|
|
37363
37363
|
scrollTop: 0
|
|
37364
37364
|
}, c = Zr(1);
|
|
37365
37365
|
const u = Zr(0), d = Cn(n);
|
|
37366
|
-
if ((d || !d && !a) && ((
|
|
37366
|
+
if ((d || !d && !a) && ((bo(n) !== "body" || il(o)) && (l = Ku(n)), d)) {
|
|
37367
37367
|
const f = Es(n);
|
|
37368
|
-
c =
|
|
37368
|
+
c = Oa(n), u.x = f.x + n.clientLeft, u.y = f.y + n.clientTop;
|
|
37369
37369
|
}
|
|
37370
37370
|
const h = o && !d && !a ? DP(o, l) : Zr(0);
|
|
37371
37371
|
return {
|
|
@@ -37379,10 +37379,10 @@ function yae(e) {
|
|
|
37379
37379
|
return Array.from(e.getClientRects());
|
|
37380
37380
|
}
|
|
37381
37381
|
function bae(e) {
|
|
37382
|
-
const t = _n(e), r = Ku(e), n = e.ownerDocument.body, i =
|
|
37382
|
+
const t = _n(e), r = Ku(e), n = e.ownerDocument.body, i = Da(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), a = Da(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
|
37383
37383
|
let o = -r.scrollLeft + Xu(e);
|
|
37384
37384
|
const s = -r.scrollTop;
|
|
37385
|
-
return _r(n).direction === "rtl" && (o +=
|
|
37385
|
+
return _r(n).direction === "rtl" && (o += Da(t.clientWidth, n.clientWidth) - i), {
|
|
37386
37386
|
width: i,
|
|
37387
37387
|
height: a,
|
|
37388
37388
|
x: o,
|
|
@@ -37411,7 +37411,7 @@ function xae(e, t) {
|
|
|
37411
37411
|
};
|
|
37412
37412
|
}
|
|
37413
37413
|
function wae(e, t) {
|
|
37414
|
-
const r = Es(e, !0, t === "fixed"), n = r.top + e.clientTop, i = r.left + e.clientLeft, a = Cn(e) ?
|
|
37414
|
+
const r = Es(e, !0, t === "fixed"), n = r.top + e.clientTop, i = r.left + e.clientLeft, a = Cn(e) ? Oa(e) : Zr(1);
|
|
37415
37415
|
return {
|
|
37416
37416
|
width: e.clientWidth * a.x,
|
|
37417
37417
|
height: e.clientHeight * a.y,
|
|
@@ -37437,15 +37437,15 @@ function ww(e, t, r) {
|
|
|
37437
37437
|
}
|
|
37438
37438
|
function OP(e, t) {
|
|
37439
37439
|
const r = Kn(e);
|
|
37440
|
-
return r === t || !Pr(r) ||
|
|
37440
|
+
return r === t || !Pr(r) || Za(r) ? !1 : _r(r).position === "fixed" || OP(r, t);
|
|
37441
37441
|
}
|
|
37442
37442
|
function Aae(e, t) {
|
|
37443
37443
|
const r = t.get(e);
|
|
37444
37444
|
if (r) return r;
|
|
37445
|
-
let n = Of(e, [], !1).filter((s) => Pr(s) &&
|
|
37445
|
+
let n = Of(e, [], !1).filter((s) => Pr(s) && bo(s) !== "body"), i = null;
|
|
37446
37446
|
const a = _r(e).position === "fixed";
|
|
37447
37447
|
let o = a ? Kn(e) : e;
|
|
37448
|
-
for (; Pr(o) && !
|
|
37448
|
+
for (; Pr(o) && !Za(o); ) {
|
|
37449
37449
|
const s = _r(o), l = hg(o);
|
|
37450
37450
|
!l && s.position === "fixed" && (i = null), (a ? !l && !i : !l && s.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || il(o) && !l && OP(e, o)) ? n = n.filter((c) => c !== o) : i = s, o = Kn(o);
|
|
37451
37451
|
}
|
|
@@ -37457,7 +37457,7 @@ function Sae(e) {
|
|
|
37457
37457
|
let s = o.top, l = o.right, c = o.bottom, u = o.left;
|
|
37458
37458
|
for (let d = 1; d < a.length; d++) {
|
|
37459
37459
|
const h = ww(t, a[d], i);
|
|
37460
|
-
s =
|
|
37460
|
+
s = Da(h.top, s), l = Lf(h.right, l), c = Lf(h.bottom, c), u = Da(h.left, u);
|
|
37461
37461
|
}
|
|
37462
37462
|
return {
|
|
37463
37463
|
width: l - u,
|
|
@@ -37484,7 +37484,7 @@ function Mae(e, t, r) {
|
|
|
37484
37484
|
l.x = Xu(i);
|
|
37485
37485
|
}
|
|
37486
37486
|
if (n || !n && !a)
|
|
37487
|
-
if ((
|
|
37487
|
+
if ((bo(t) !== "body" || il(i)) && (s = Ku(t)), n) {
|
|
37488
37488
|
const d = Es(t, !0, a, t);
|
|
37489
37489
|
l.x = d.x + t.clientLeft, l.y = d.y + t.clientTop;
|
|
37490
37490
|
} else i && c();
|
|
@@ -37511,7 +37511,7 @@ function NP(e, t) {
|
|
|
37511
37511
|
if (Yu(e)) return r;
|
|
37512
37512
|
if (!Cn(e)) {
|
|
37513
37513
|
let i = Kn(e);
|
|
37514
|
-
for (; i && !
|
|
37514
|
+
for (; i && !Za(i); ) {
|
|
37515
37515
|
if (Pr(i) && !ih(i)) return i;
|
|
37516
37516
|
i = Kn(i);
|
|
37517
37517
|
}
|
|
@@ -37519,7 +37519,7 @@ function NP(e, t) {
|
|
|
37519
37519
|
}
|
|
37520
37520
|
let n = Aw(e, t);
|
|
37521
37521
|
for (; n && dae(n) && ih(n); ) n = Aw(n, t);
|
|
37522
|
-
return n &&
|
|
37522
|
+
return n && Za(n) && ih(n) && !hg(n) ? r : n || mae(e) || r;
|
|
37523
37523
|
}
|
|
37524
37524
|
var Eae = async function(e) {
|
|
37525
37525
|
const t = this.getOffsetParent || NP, r = this.getDimensions, n = await r(e.floating);
|
|
@@ -37544,7 +37544,7 @@ var Pae = {
|
|
|
37544
37544
|
getElementRects: Eae,
|
|
37545
37545
|
getClientRects: yae,
|
|
37546
37546
|
getDimensions: Tae,
|
|
37547
|
-
getScale:
|
|
37547
|
+
getScale: Oa,
|
|
37548
37548
|
isElement: Pr,
|
|
37549
37549
|
isRTL: kae
|
|
37550
37550
|
}, _ae = cae, Cae = uae, Iae = oae, Rae = (e, t, r) => {
|
|
@@ -37861,7 +37861,7 @@ var Bf = (e, t) => {
|
|
|
37861
37861
|
const r = e.content ? UP(e.content) : null;
|
|
37862
37862
|
switch (e.type) {
|
|
37863
37863
|
case "doc":
|
|
37864
|
-
return /* @__PURE__ */ v(
|
|
37864
|
+
return /* @__PURE__ */ v(eo, { children: r }, t);
|
|
37865
37865
|
case "heading": {
|
|
37866
37866
|
const n = Jae(e.attrs?.level);
|
|
37867
37867
|
return Zae(n, t, r, _w(e.attrs));
|
|
@@ -37964,7 +37964,7 @@ function Zo(e) {
|
|
|
37964
37964
|
}
|
|
37965
37965
|
var eoe = "tooltip_root__1aumv50";
|
|
37966
37966
|
var toe = "tooltip_rows__1aumv52", roe = "tooltip_row__1aumv53", noe = "tooltip_swatchPlaceholder__1aumv55", ioe = "tooltip_label__1aumv56", aoe = "tooltip_value__1aumv57", ooe = "tooltip_positioner__1aumv58", soe = (e) => {
|
|
37967
|
-
const { overlayRef: t } = ea(), r = de(null), [n, i] = Ee(!1), a =
|
|
37967
|
+
const { overlayRef: t } = ea(), r = de(null), [n, i] = Ee(!1), a = La(e);
|
|
37968
37968
|
return ye(() => {
|
|
37969
37969
|
const o = t.current;
|
|
37970
37970
|
if (!o) return;
|
|
@@ -38083,7 +38083,7 @@ var toe = "tooltip_rows__1aumv52", roe = "tooltip_row__1aumv53", noe = "tooltip_
|
|
|
38083
38083
|
...Qu(e.fill, t),
|
|
38084
38084
|
borderRadius: al(e.cornerRadius),
|
|
38085
38085
|
paddingBlock: e.paddingBlock,
|
|
38086
|
-
boxShadow:
|
|
38086
|
+
boxShadow: fo(e.shadow),
|
|
38087
38087
|
...e.alpha === void 0 ? {} : { opacity: e.alpha },
|
|
38088
38088
|
...e.strokeWidth > 0 ? { border: `${e.strokeWidth}px solid ${e.stroke}` } : {}
|
|
38089
38089
|
}), moe = (e) => ({
|
|
@@ -38495,10 +38495,10 @@ var toe = "tooltip_rows__1aumv52", roe = "tooltip_row__1aumv53", noe = "tooltip_
|
|
|
38495
38495
|
}, mi = (e, t) => e.kind === t, tse = (e, t) => {
|
|
38496
38496
|
if (e === t) return !0;
|
|
38497
38497
|
if (e === null || t === null) return !1;
|
|
38498
|
-
if (e.kind === "annotation" && t.kind === "annotation") return
|
|
38498
|
+
if (e.kind === "annotation" && t.kind === "annotation") return Ca(e.target, t.target);
|
|
38499
38499
|
if (e.kind === "legend" && t.kind === "legend") return e.part.legendIndex === t.part.legendIndex && e.part.itemIndex === t.part.itemIndex;
|
|
38500
|
-
if (e.kind === "axis" && t.kind === "axis") return
|
|
38501
|
-
if (e.kind === "grid" && t.kind === "grid") return
|
|
38500
|
+
if (e.kind === "axis" && t.kind === "axis") return Ca(e.target, t.target) && e.part?.tickIndex === t.part?.tickIndex;
|
|
38501
|
+
if (e.kind === "grid" && t.kind === "grid") return Ca(e.target, t.target);
|
|
38502
38502
|
if (e.kind === "observations" && t.kind === "observations") {
|
|
38503
38503
|
const r = e.observations, n = t.observations;
|
|
38504
38504
|
return r.layerId === n.layerId && r.observationIndex === n.observationIndex && r.target.scope === n.target.scope && r.isOnObservation === n.isOnObservation;
|
|
@@ -38510,7 +38510,7 @@ var toe = "tooltip_rows__1aumv52", roe = "tooltip_row__1aumv53", noe = "tooltip_
|
|
|
38510
38510
|
}, rse = (e) => {
|
|
38511
38511
|
const t = e.editTargetUnderPointer;
|
|
38512
38512
|
return t !== null && t.kind !== "menu-trigger";
|
|
38513
|
-
}, nse = () =>
|
|
38513
|
+
}, nse = () => so((e) => ({
|
|
38514
38514
|
menuTrigger: null,
|
|
38515
38515
|
editTargetUnderPointer: null,
|
|
38516
38516
|
standingInteraction: null,
|
|
@@ -38529,7 +38529,7 @@ var toe = "tooltip_rows__1aumv52", roe = "tooltip_row__1aumv53", noe = "tooltip_
|
|
|
38529
38529
|
...r.caret,
|
|
38530
38530
|
editor: t
|
|
38531
38531
|
} })
|
|
38532
|
-
})), ise = (e, t) => e === t ? !0 : e === null || t === null ? !1 : e.target
|
|
38532
|
+
})), ise = (e, t) => e === t ? !0 : e === null || t === null ? !1 : Ca(e.target, t.target) && e.frameScale === t.frameScale && kf(e.frame, t.frame) && Pf(e.frameSpans, t.frameSpans), ase = Ye(null), ose = nse();
|
|
38533
38533
|
function Fn(e) {
|
|
38534
38534
|
return Tn(he(ase) ?? ose, e);
|
|
38535
38535
|
}
|
|
@@ -38988,20 +38988,20 @@ var tle = ({ segment: e, itemStyle: t }) => {
|
|
|
38988
38988
|
}, lle = "data-legend-index", cle = "data-legend-item-index", s_ = ({ legendIndex: e, itemIndex: t }) => ({
|
|
38989
38989
|
[lle]: String(e),
|
|
38990
38990
|
[cle]: String(t)
|
|
38991
|
-
}),
|
|
38992
|
-
[
|
|
38991
|
+
}), xo = "data-edit-kind", ule = "data-edit-id", l_ = "data-edit-axis", dle = "data-edit-tick-index", c_ = "data-legend-overflow-control", Ume = `[${c_}]`, hle = "observations", jme = `[${xo}]`, ol = (e) => ({
|
|
38992
|
+
[xo]: e.kind,
|
|
38993
38993
|
[ule]: e.id
|
|
38994
38994
|
}), wg = (e, t) => ({
|
|
38995
|
-
[
|
|
38995
|
+
[xo]: "axis",
|
|
38996
38996
|
[l_]: e,
|
|
38997
38997
|
...t === void 0 ? {} : { [dle]: String(t) }
|
|
38998
38998
|
}), Ag = (e) => ({
|
|
38999
|
-
[
|
|
38999
|
+
[xo]: "legend",
|
|
39000
39000
|
...s_(e)
|
|
39001
39001
|
}), u_ = (e) => ({
|
|
39002
|
-
[
|
|
39002
|
+
[xo]: "grid",
|
|
39003
39003
|
[l_]: e
|
|
39004
|
-
}), fle = () => ({ [
|
|
39004
|
+
}), fle = () => ({ [xo]: hle }), d_ = Ye(xn.readonly);
|
|
39005
39005
|
function sl() {
|
|
39006
39006
|
return he(d_);
|
|
39007
39007
|
}
|
|
@@ -39079,7 +39079,7 @@ var vle = 8, yle = 16, ble = 2, xle = ({ indexedLegends: e, containerRect: t })
|
|
|
39079
39079
|
}, Sle = "legend.renderer_root__12du00r0", h_ = (e, t) => ({
|
|
39080
39080
|
...e.fill === void 0 ? {} : Qu(e.fill, t),
|
|
39081
39081
|
...e.cornerRadius === void 0 ? {} : { borderRadius: al(e.cornerRadius) },
|
|
39082
|
-
...e.shadow === void 0 ? {} : { boxShadow:
|
|
39082
|
+
...e.shadow === void 0 ? {} : { boxShadow: fo(e.shadow) },
|
|
39083
39083
|
...p_(e.strokeWidth, e.stroke)
|
|
39084
39084
|
}), f_ = (e, t) => ({
|
|
39085
39085
|
...xt(e),
|
|
@@ -39092,7 +39092,7 @@ var vle = 8, yle = 16, ble = 2, xle = ({ indexedLegends: e, containerRect: t })
|
|
|
39092
39092
|
borderRadius: al(e.cornerRadius),
|
|
39093
39093
|
paddingInline: e.paddingInline,
|
|
39094
39094
|
paddingBlock: e.paddingBlock,
|
|
39095
|
-
boxShadow:
|
|
39095
|
+
boxShadow: fo(e.shadow),
|
|
39096
39096
|
...e.alpha === void 0 ? {} : { opacity: e.alpha },
|
|
39097
39097
|
...p_(e.strokeWidth, e.stroke),
|
|
39098
39098
|
...xt(t)
|
|
@@ -39401,7 +39401,7 @@ var zle = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
|
|
|
39401
39401
|
}) });
|
|
39402
39402
|
}), Zle = (e, t, r) => {
|
|
39403
39403
|
if (e.type === "cartesian") return tz(e, t);
|
|
39404
|
-
const n =
|
|
39404
|
+
const n = lo(r), i = dr(t.x, e.innerRadius, n), a = dr(t.x, 1, n);
|
|
39405
39405
|
return {
|
|
39406
39406
|
x1: i.x,
|
|
39407
39407
|
y1: i.y,
|
|
@@ -39824,7 +39824,7 @@ var zle = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
|
|
|
39824
39824
|
]
|
|
39825
39825
|
});
|
|
39826
39826
|
}, Cce = ({ x: e, y: t, text: r, box: n, label: i, arrowColor: a, isAddressable: o }) => {
|
|
39827
|
-
const { fonts: s } = Zi(), l = qu(i.cornerRadius), c = i.shadow === void 0 ? void 0 :
|
|
39827
|
+
const { fonts: s } = Zi(), l = qu(i.cornerRadius), c = i.shadow === void 0 ? void 0 : mo(i.shadow), u = {
|
|
39828
39828
|
fill: Be(i.fill),
|
|
39829
39829
|
stroke: i.stroke ?? a,
|
|
39830
39830
|
strokeWidth: i.strokeWidth,
|
|
@@ -39850,11 +39850,11 @@ var zle = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
|
|
|
39850
39850
|
textAnchor: "middle",
|
|
39851
39851
|
fill: i.textColor,
|
|
39852
39852
|
style: {
|
|
39853
|
-
...
|
|
39853
|
+
...go(i, s.familyDefault),
|
|
39854
39854
|
...Gu(i)
|
|
39855
39855
|
},
|
|
39856
39856
|
...Hu(i),
|
|
39857
|
-
children:
|
|
39857
|
+
children: oo(r, i.textTransform)
|
|
39858
39858
|
})]
|
|
39859
39859
|
});
|
|
39860
39860
|
}, Ice = "difference-arrows_pointer__1lwhbn50", Rce = "75%", Lce = ({ panelRect: e, isEditable: t }) => {
|
|
@@ -39894,7 +39894,7 @@ var zle = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
|
|
|
39894
39894
|
contain: "xMidYMid meet",
|
|
39895
39895
|
cover: "xMidYMid slice"
|
|
39896
39896
|
}, Nce = ({ image: e, panel: t, style: r }) => {
|
|
39897
|
-
const n = pt(), { src: i, region: a, fit: o } = e, s = qm(a, t), l = Lae(r.cornerRadius), c = qu(r.cornerRadius), u = r.shadow === void 0 ? void 0 :
|
|
39897
|
+
const n = pt(), { src: i, region: a, fit: o } = e, s = qm(a, t), l = Lae(r.cornerRadius), c = qu(r.cornerRadius), u = r.shadow === void 0 ? void 0 : mo(r.shadow);
|
|
39898
39898
|
return /* @__PURE__ */ U("g", {
|
|
39899
39899
|
opacity: r.alpha,
|
|
39900
39900
|
style: u === void 0 ? void 0 : { filter: u },
|
|
@@ -39989,7 +39989,7 @@ var zle = ({ edge: e, indexedLegends: t, containerWidth: r, containerHeight: n }
|
|
|
39989
39989
|
const t = Kf(e);
|
|
39990
39990
|
return `translate(${-t.x * 100}%, ${-(1 - t.y) * 100}%)`;
|
|
39991
39991
|
}, Wce = (e) => {
|
|
39992
|
-
const { backgroundColor: t, borderShadow: r } = Uce(e), n = [r, e.shadow === void 0 || e.shadow === "none" ? void 0 :
|
|
39992
|
+
const { backgroundColor: t, borderShadow: r } = Uce(e), n = [r, e.shadow === void 0 || e.shadow === "none" ? void 0 : fo(e.shadow)].filter((i) => i !== void 0);
|
|
39993
39993
|
return {
|
|
39994
39994
|
...xt(e),
|
|
39995
39995
|
padding: `${e.paddingBlock}px ${e.paddingInline}px`,
|
|
@@ -40052,7 +40052,7 @@ var Xce = "callouts_miniText__1rlvxtx2", Hw = {
|
|
|
40052
40052
|
hittable: "callouts_miniBubble_hittable__1rlvxtx4 callouts_miniBubbleBase__1rlvxtx3",
|
|
40053
40053
|
inert: "callouts_miniBubble_inert__1rlvxtx5 callouts_miniBubbleBase__1rlvxtx3"
|
|
40054
40054
|
}, qce = ({ cx: e, cy: t, color: r, style: n }) => {
|
|
40055
|
-
const i =
|
|
40055
|
+
const i = mo(n.shadow);
|
|
40056
40056
|
return /* @__PURE__ */ v("circle", {
|
|
40057
40057
|
cx: e,
|
|
40058
40058
|
cy: t,
|
|
@@ -40182,7 +40182,7 @@ var Jce = (e, t, r, n) => t !== "comment" ? r : Bm(r, 140, (i) => e.measureText(
|
|
|
40182
40182
|
...Qu(e.fill, t),
|
|
40183
40183
|
borderRadius: al(e.cornerRadius),
|
|
40184
40184
|
padding: `${e.paddingBlock}px ${e.paddingInline}px`,
|
|
40185
|
-
boxShadow:
|
|
40185
|
+
boxShadow: fo(e.shadow),
|
|
40186
40186
|
...e.alpha === void 0 ? {} : { opacity: e.alpha },
|
|
40187
40187
|
...e.strokeWidth > 0 ? { border: `${e.strokeWidth}px solid ${e.stroke}` } : {}
|
|
40188
40188
|
}), nue = (e) => ({
|
|
@@ -40269,7 +40269,7 @@ var Jce = (e, t, r, n) => t !== "comment" ? r : Bm(r, 140, (i) => e.measureText(
|
|
|
40269
40269
|
y: t - n / 2,
|
|
40270
40270
|
width: r,
|
|
40271
40271
|
height: n
|
|
40272
|
-
}, y = qu(h.cornerRadius), x = h.shadow === void 0 ? void 0 :
|
|
40272
|
+
}, y = qu(h.cornerRadius), x = h.shadow === void 0 ? void 0 : mo(h.shadow), w = {
|
|
40273
40273
|
className: hue,
|
|
40274
40274
|
fill: h.fill === void 0 ? void 0 : Be(h.fill),
|
|
40275
40275
|
style: x === void 0 ? void 0 : { filter: x },
|
|
@@ -40292,7 +40292,7 @@ var Jce = (e, t, r, n) => t !== "comment" ? r : Bm(r, 140, (i) => e.measureText(
|
|
|
40292
40292
|
})), /* @__PURE__ */ v("text", {
|
|
40293
40293
|
className: fue,
|
|
40294
40294
|
style: {
|
|
40295
|
-
...
|
|
40295
|
+
...go(h),
|
|
40296
40296
|
...Gu(h),
|
|
40297
40297
|
fill: mue(h, p)
|
|
40298
40298
|
},
|
|
@@ -40301,7 +40301,7 @@ var Jce = (e, t, r, n) => t !== "comment" ? r : Bm(r, 140, (i) => e.measureText(
|
|
|
40301
40301
|
y: t,
|
|
40302
40302
|
textAnchor: "middle",
|
|
40303
40303
|
dominantBaseline: "central",
|
|
40304
|
-
children:
|
|
40304
|
+
children: oo(i, h.textTransform)
|
|
40305
40305
|
})]
|
|
40306
40306
|
});
|
|
40307
40307
|
}, mue = (e, t) => e.isTextColorAuthored || t === void 0 ? e.textColor : Wf(t), pue = (e, t, r) => {
|
|
@@ -40470,7 +40470,7 @@ var Jce = (e, t, r, n) => t !== "comment" ? r : Bm(r, 140, (i) => e.measureText(
|
|
|
40470
40470
|
top: e,
|
|
40471
40471
|
bottom: e
|
|
40472
40472
|
} : t.transform !== void 0 ? Sue(e, t) : Tue(e, r, n), Sue = (e, { y: t, textAnchor: r }) => {
|
|
40473
|
-
const n =
|
|
40473
|
+
const n = Vo(e, Math.abs(t));
|
|
40474
40474
|
return r === "end" ? {
|
|
40475
40475
|
left: e,
|
|
40476
40476
|
right: n,
|
|
@@ -40489,7 +40489,7 @@ var Jce = (e, t, r, n) => t !== "comment" ? r : Bm(r, 140, (i) => e.measureText(
|
|
|
40489
40489
|
return {
|
|
40490
40490
|
left: a,
|
|
40491
40491
|
right: a,
|
|
40492
|
-
top:
|
|
40492
|
+
top: Vo(e, i.y),
|
|
40493
40493
|
bottom: e
|
|
40494
40494
|
};
|
|
40495
40495
|
case "top":
|
|
@@ -40497,24 +40497,24 @@ var Jce = (e, t, r, n) => t !== "comment" ? r : Bm(r, 140, (i) => e.measureText(
|
|
|
40497
40497
|
left: a,
|
|
40498
40498
|
right: a,
|
|
40499
40499
|
top: e,
|
|
40500
|
-
bottom:
|
|
40500
|
+
bottom: Vo(e, n.height - i.y - i.height)
|
|
40501
40501
|
};
|
|
40502
40502
|
case "left":
|
|
40503
40503
|
return {
|
|
40504
40504
|
left: e,
|
|
40505
|
-
right:
|
|
40505
|
+
right: Vo(e, n.width - i.x - i.width),
|
|
40506
40506
|
top: o,
|
|
40507
40507
|
bottom: o
|
|
40508
40508
|
};
|
|
40509
40509
|
case "right":
|
|
40510
40510
|
return {
|
|
40511
|
-
left:
|
|
40511
|
+
left: Vo(e, i.x),
|
|
40512
40512
|
right: e,
|
|
40513
40513
|
top: o,
|
|
40514
40514
|
bottom: o
|
|
40515
40515
|
};
|
|
40516
40516
|
}
|
|
40517
|
-
},
|
|
40517
|
+
}, Vo = (e, t) => Math.max(0, Math.min(e, t)), Ww = (e, t, r) => Math.min(e, Math.max(0, (t - r) / 2)), Mue = ({ x: e, textAnchor: t }, r) => {
|
|
40518
40518
|
switch (t) {
|
|
40519
40519
|
case "start":
|
|
40520
40520
|
return e;
|
|
@@ -40544,12 +40544,12 @@ var Jce = (e, t, r, n) => t !== "comment" ? r : Bm(r, 140, (i) => e.measureText(
|
|
|
40544
40544
|
}), /* @__PURE__ */ v("text", {
|
|
40545
40545
|
...e,
|
|
40546
40546
|
style: {
|
|
40547
|
-
...
|
|
40547
|
+
...go(r),
|
|
40548
40548
|
...Gu(r)
|
|
40549
40549
|
},
|
|
40550
40550
|
...Hu(r),
|
|
40551
40551
|
fill: r.textColor,
|
|
40552
|
-
children:
|
|
40552
|
+
children: oo(t, r.textTransform)
|
|
40553
40553
|
})] }), Pue = ({ placement: e, text: t, style: r, bounds: n }) => {
|
|
40554
40554
|
const i = Zn(), { fonts: a } = Zi();
|
|
40555
40555
|
return /* @__PURE__ */ v("rect", {
|
|
@@ -40755,7 +40755,7 @@ var Jce = (e, t, r, n) => t !== "comment" ? r : Bm(r, 140, (i) => e.measureText(
|
|
|
40755
40755
|
pointerEvents: "stroke",
|
|
40756
40756
|
"data-testid": "grid-line-hit-area"
|
|
40757
40757
|
})]
|
|
40758
|
-
}, p) : /* @__PURE__ */ v(
|
|
40758
|
+
}, p) : /* @__PURE__ */ v(eo, { children: w }, p);
|
|
40759
40759
|
}) }, u.scaleAestheticKey);
|
|
40760
40760
|
})
|
|
40761
40761
|
});
|
|
@@ -40803,7 +40803,7 @@ var A_ = (e, t) => {
|
|
|
40803
40803
|
if (r.type !== "polar") return null;
|
|
40804
40804
|
const n = t.find((l) => l.geometry === "circular");
|
|
40805
40805
|
if (!n) return null;
|
|
40806
|
-
const { innerRadius: i, startAngle: a, spokeRotation: o } = r, s =
|
|
40806
|
+
const { innerRadius: i, startAngle: a, spokeRotation: o } = r, s = lo(e);
|
|
40807
40807
|
return s.radius <= 0 ? null : {
|
|
40808
40808
|
circle: s,
|
|
40809
40809
|
circularAxis: n,
|
|
@@ -41125,7 +41125,7 @@ var Yue = 4, Kue = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
41125
41125
|
className: tde,
|
|
41126
41126
|
"data-testid": "geom-layers",
|
|
41127
41127
|
...fle(),
|
|
41128
|
-
children: n.map((a) => /* @__PURE__ */ U(
|
|
41128
|
+
children: n.map((a) => /* @__PURE__ */ U(eo, { children: [/* @__PURE__ */ v(ode, {
|
|
41129
41129
|
layer: a,
|
|
41130
41130
|
coordSystem: i,
|
|
41131
41131
|
shouldAnimateTransitions: e,
|
|
@@ -41394,7 +41394,7 @@ var Yue = 4, Kue = ({ renderer: e, layer: t, matchedLayer: r, overlayCandidates:
|
|
|
41394
41394
|
borderStyle: "solid",
|
|
41395
41395
|
borderColor: c
|
|
41396
41396
|
},
|
|
41397
|
-
...h === void 0 ? {} : { boxShadow:
|
|
41397
|
+
...h === void 0 ? {} : { boxShadow: fo(h) }
|
|
41398
41398
|
}), [
|
|
41399
41399
|
n,
|
|
41400
41400
|
d,
|