@luzmo/analytics-components-kit 1.0.1-alpha.84 → 1.0.1-alpha.85
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/angular/components/droppable-slot.component.ts +2 -2
- package/angular/esm/components/droppable-slot.component.d.ts +2 -2
- package/angular/esm/types.d.ts +1 -1
- package/angular/types.ts +2 -2
- package/components/ai-chat-messages-container/index.cjs +1 -1
- package/components/ai-chat-messages-container/index.js +2 -2
- package/components/ai-interaction-textarea/index.cjs +50 -0
- package/components/ai-interaction-textarea/index.d.ts +1 -1
- package/components/ai-interaction-textarea/index.js +152 -0
- package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
- package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
- package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
- package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
- package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
- package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
- package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
- package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
- package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
- package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
- package/components/calculate-data-item-icon-C8CbsMQf.js +139 -0
- package/components/{calculate-data-item-icon-DjW1_RI1.cjs → calculate-data-item-icon-CX4VW9Km.cjs} +1 -1
- package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
- package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
- package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
- package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
- package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
- package/components/color-Czp4Im5q.cjs +20 -0
- package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
- package/components/color-range-utils-DYYR-iwx.cjs +20 -0
- package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
- package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
- package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
- package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
- package/components/dataset-selector-list/index.cjs +11 -11
- package/components/dataset-selector-list/index.js +65 -69
- package/components/dataset-selector-row/dataset-selector-row.d.ts +1 -0
- package/components/dataset-selector-row/index.cjs +79 -0
- package/components/dataset-selector-row/index.d.ts +1 -1
- package/components/dataset-selector-row/index.js +209 -0
- package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
- package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
- package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
- package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-binning/index.cjs +5 -5
- package/components/display-settings-binning/index.js +29 -30
- package/components/display-settings-datetime/index.cjs +29 -29
- package/components/display-settings-datetime/index.js +112 -120
- package/components/display-settings-grand-totals/index.cjs +4 -4
- package/components/display-settings-grand-totals/index.js +23 -24
- package/components/display-settings-numeric/index.cjs +48 -48
- package/components/display-settings-numeric/index.js +194 -211
- package/components/display-settings-period-over-period/index.cjs +16 -16
- package/components/display-settings-period-over-period/index.js +91 -97
- package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
- package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
- package/components/draggable-data-item/index.cjs +8 -8
- package/components/draggable-data-item/index.js +44 -45
- package/components/draggable-data-item-level/index.cjs +11 -11
- package/components/draggable-data-item-level/index.js +89 -92
- package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
- package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
- package/components/droppable-slot/droppable-slot.d.ts +2 -2
- package/components/droppable-slot/index.cjs +20 -20
- package/components/droppable-slot/index.js +167 -181
- package/components/edit-item/index.cjs +9 -9
- package/components/edit-item/index.js +116 -119
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +8 -8
- package/components/edit-option-action-button-group/index.js +52 -53
- package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
- package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
- package/components/edit-option-color-palette-picker/index.cjs +1 -1
- package/components/edit-option-color-palette-picker/index.js +1 -1
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +1 -1
- package/components/edit-option-color-range/index.cjs +19 -19
- package/components/edit-option-color-range/index.js +106 -117
- package/components/edit-option-multi-language-field/index.cjs +3 -3
- package/components/edit-option-multi-language-field/index.js +26 -27
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +1 -1
- package/components/edit-option-picker/index.cjs +5 -5
- package/components/edit-option-picker/index.js +7 -7
- package/components/edit-option-position-picker/index.cjs +4 -4
- package/components/edit-option-position-picker/index.js +21 -25
- package/components/edit-option-positions-number-field/index.cjs +9 -9
- package/components/edit-option-positions-number-field/index.js +76 -81
- package/components/edit-option-radio-button-group/index.cjs +6 -6
- package/components/edit-option-radio-button-group/index.js +21 -22
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +1 -1
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +1 -1
- package/components/edit-option-text-field/index.cjs +2 -2
- package/components/edit-option-text-field/index.js +22 -23
- package/components/en--a5SfjnM.cjs +20 -0
- package/components/en-CtCctD2c.js +1483 -0
- package/components/{en-GB-DG6uS3sM.cjs → en-GB-CXVKFWyH.cjs} +1 -1
- package/components/{en-GB-CEHEs8F2.js → en-GB-CbNfyZMo.js} +1 -1
- package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
- package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
- package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
- package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
- package/components/filter-data-item-picker/index.cjs +7 -7
- package/components/filter-data-item-picker/index.js +85 -86
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +6 -6
- package/components/filter-item/index.js +109 -119
- package/components/filter-value-picker/index.cjs +2 -2
- package/components/filter-value-picker/index.js +34 -36
- package/components/filter-value-picker-datetime/index.cjs +8 -8
- package/components/filter-value-picker-datetime/index.js +56 -71
- package/components/filter-value-picker-hierarchy/index.cjs +12 -12
- package/components/filter-value-picker-hierarchy/index.js +113 -124
- package/components/filter-value-picker-numeric/index.cjs +8 -8
- package/components/filter-value-picker-numeric/index.js +101 -110
- package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
- package/components/focusable-QLh-LlNt.cjs +20 -0
- package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
- package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
- package/components/{get-css-variable-DLiZYZEi.cjs → get-css-variable-CuDaWSjr.cjs} +2 -2
- package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-DEf4GhTH.js} +4 -4
- package/components/grid/index.cjs +46 -46
- package/components/grid/index.js +2612 -1873
- package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
- package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
- package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
- package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
- package/components/helpers-9I0oLoUB.cjs +20 -0
- package/components/helpers-bR8Ibjqh.js +79 -0
- package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
- package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
- package/components/{index-Do7O9azB.js → index-3WsfvkZF.js} +112 -123
- package/components/{index-PMDgRSzR.js → index-BDFBUGBc.js} +94 -104
- package/components/index-BGb_wRRW.js +1766 -0
- package/components/{index-BPNsFiyq.cjs → index-BNAmjOkm.cjs} +4 -4
- package/components/index-BUal0r_D.cjs +121 -0
- package/components/index-D1Y5TRsH.cjs +20 -0
- package/components/index-DvkzMbLt.cjs +249 -0
- package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
- package/components/index.cjs +1 -60
- package/components/index.js +102 -281
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +37 -37
- package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
- package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
- package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
- package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
- package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
- package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
- package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
- package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
- package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
- package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
- package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
- package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
- package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
- package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
- package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
- package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
- package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
- package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
- package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
- package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
- package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
- package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
- package/components/{set-locale-B-Tz2sdI.js → set-locale-nv7fWEtl.js} +1 -8
- package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
- package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
- package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
- package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
- package/components/slot-contents-picker/index.cjs +33 -33
- package/components/slot-contents-picker/index.js +194 -205
- package/components/slot-menu/index.cjs +12 -12
- package/components/slot-menu/index.js +171 -184
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +97 -103
- package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
- package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
- package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
- package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
- package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
- package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
- package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
- package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
- package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
- package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +64 -65
- package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
- package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
- package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
- package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
- package/custom-elements.json +22 -2
- package/index.d.ts +1 -0
- package/package.json +5 -5
- package/types.d.ts +1 -1
- package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
- package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
- package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
- package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
- package/components/calculate-data-item-icon-DZDqb3xu.js +0 -139
- package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
- package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
- package/components/color-B6LaL8qz.cjs +0 -20
- package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
- package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
- package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
- package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
- package/components/en-BKBhKBXY.cjs +0 -20
- package/components/en-BOTjhwEc.js +0 -1488
- package/components/focusable-B3E_hQmm.cjs +0 -20
- package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
- package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
- package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
- package/components/helpers-DXQwEH1P.cjs +0 -20
- package/components/helpers-v1bPALRP.js +0 -91
- package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
- package/components/index-BPN3bG9X.js +0 -1733
- package/components/index-CQ9ck-BO.cjs +0 -249
- package/components/index-CXn67vdn.cjs +0 -121
- package/components/index-cfj52IbK.cjs +0 -20
- package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
- package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
- package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
- package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
- package/components/route-map-options.config-D7NJePTu.cjs +0 -20
- package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
- package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
- package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
- package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
- package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
- package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
|
@@ -22,50 +22,49 @@ var p = Reflect.get;
|
|
|
22
22
|
var d = (i, o, e) => p(z(i), e, o);
|
|
23
23
|
import "@luzmo/lucero/action-button";
|
|
24
24
|
import "@luzmo/lucero/action-group";
|
|
25
|
-
import { html as
|
|
25
|
+
import { html as s } from "lit";
|
|
26
26
|
import { property as u, query as b } from "lit/decorators.js";
|
|
27
|
-
import { L as f } from "../edit-option-base-
|
|
27
|
+
import { L as f } from "../edit-option-base-Bh29-Cak.js";
|
|
28
28
|
(function() {
|
|
29
29
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
30
30
|
const o = document.createElement("style");
|
|
31
31
|
o.setAttribute("data-luzmo-vars", ""), o.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(o);
|
|
32
32
|
}
|
|
33
33
|
})();
|
|
34
|
-
var g = Object.defineProperty,
|
|
35
|
-
for (var
|
|
36
|
-
(n = i[
|
|
37
|
-
return
|
|
34
|
+
var g = Object.defineProperty, r = (i, o, e, m) => {
|
|
35
|
+
for (var t = void 0, c = i.length - 1, n; c >= 0; c--)
|
|
36
|
+
(n = i[c]) && (t = n(o, e, t) || t);
|
|
37
|
+
return t && g(o, e, t), t;
|
|
38
38
|
};
|
|
39
|
-
const
|
|
39
|
+
const a = class a extends f {
|
|
40
40
|
constructor() {
|
|
41
41
|
super(...arguments), this.values = {}, this.disabled = !1;
|
|
42
42
|
}
|
|
43
43
|
generateRadioButtons() {
|
|
44
44
|
const o = Object.entries(this.values).map(
|
|
45
|
-
([e,
|
|
45
|
+
([e, m]) => s`
|
|
46
46
|
<luzmo-action-button value=${e} ?disabled=${this.disabled}>
|
|
47
|
-
${
|
|
47
|
+
${m}
|
|
48
48
|
</luzmo-action-button>
|
|
49
49
|
`
|
|
50
50
|
);
|
|
51
|
-
return
|
|
51
|
+
return s` ${o} `;
|
|
52
52
|
}
|
|
53
53
|
_handleEvent() {
|
|
54
|
-
var o, e, a, r;
|
|
55
54
|
this.dispatchEvent(
|
|
56
55
|
new CustomEvent("option-changed", {
|
|
57
56
|
bubbles: !0,
|
|
58
57
|
composed: !0,
|
|
59
58
|
cancelable: !0,
|
|
60
59
|
detail: {
|
|
61
|
-
value: typeof this.toValue == "function" ? this.toValue(
|
|
60
|
+
value: typeof this.toValue == "function" ? this.toValue(this.actionGroup?.selected?.[0]) : this.actionGroup?.selected?.[0]
|
|
62
61
|
}
|
|
63
62
|
})
|
|
64
63
|
);
|
|
65
64
|
}
|
|
66
65
|
renderController() {
|
|
67
66
|
const o = typeof this.parseValue == "function" ? this.parseValue(this.value) : this.value, e = typeof this.parseValue == "function" ? this.parseValue(this.default) : this.default;
|
|
68
|
-
return
|
|
67
|
+
return s`
|
|
69
68
|
<luzmo-action-group
|
|
70
69
|
compact
|
|
71
70
|
selects="single"
|
|
@@ -80,27 +79,27 @@ const c = class c extends f {
|
|
|
80
79
|
`;
|
|
81
80
|
}
|
|
82
81
|
};
|
|
83
|
-
|
|
84
|
-
let l =
|
|
85
|
-
|
|
82
|
+
a.styles = [d(a, a, "styles")];
|
|
83
|
+
let l = a;
|
|
84
|
+
r([
|
|
86
85
|
u({ type: Array })
|
|
87
86
|
], l.prototype, "values");
|
|
88
|
-
|
|
87
|
+
r([
|
|
89
88
|
u({ type: Boolean, reflect: !0 })
|
|
90
89
|
], l.prototype, "disabled");
|
|
91
|
-
|
|
90
|
+
r([
|
|
92
91
|
u({ type: String })
|
|
93
92
|
], l.prototype, "value");
|
|
94
|
-
|
|
93
|
+
r([
|
|
95
94
|
u({ type: String })
|
|
96
95
|
], l.prototype, "default");
|
|
97
|
-
|
|
96
|
+
r([
|
|
98
97
|
u()
|
|
99
98
|
], l.prototype, "parseValue");
|
|
100
|
-
|
|
99
|
+
r([
|
|
101
100
|
u()
|
|
102
101
|
], l.prototype, "toValue");
|
|
103
|
-
|
|
102
|
+
r([
|
|
104
103
|
b("luzmo-action-group")
|
|
105
104
|
], l.prototype, "actionGroup");
|
|
106
105
|
customElements.get("luzmo-edit-option-radio-button-group") || customElements.define(
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
"use strict";var c=Object.getPrototypeOf;var d=Reflect.get;var n=(p,t,o)=>d(c(p),o,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/slider");const h=require("lit"),r=require("lit/decorators.js"),y=require("../edit-option-base-
|
|
20
|
+
"use strict";var c=Object.getPrototypeOf;var d=Reflect.get;var n=(p,t,o)=>d(c(p),o,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/slider");const h=require("lit"),r=require("lit/decorators.js"),y=require("../edit-option-base-tFr8Qg2B.cjs");var m=Object.defineProperty,s=(p,t,o,f)=>{for(var u=void 0,l=p.length-1,a;l>=0;l--)(a=p[l])&&(u=a(t,o,u)||u);return u&&m(t,o,u),u};const i=class i extends y.LuzmoEditOptionBase{constructor(){super(...arguments),this.value=0,this.default=0,this.min=0,this.max=100,this.step=100,this.debounce=200}_handleEvent(t){this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(t.detail):t.detail}}))}renderController(){const t=typeof this.parseValue=="function"?this.parseValue(this.value):this.value,o=typeof this.parseValue=="function"?this.parseValue(this.default):this.default;return h.html`
|
|
21
21
|
<luzmo-slider
|
|
22
22
|
id="luzmo-edit-option-control"
|
|
23
23
|
.min=${this.min}
|
|
@@ -23,7 +23,7 @@ var s = (m, o, t) => d(n(m), t, o);
|
|
|
23
23
|
import "@luzmo/lucero/slider";
|
|
24
24
|
import { html as z } from "lit";
|
|
25
25
|
import { property as l } from "lit/decorators.js";
|
|
26
|
-
import { L as p } from "../edit-option-base-
|
|
26
|
+
import { L as p } from "../edit-option-base-Bh29-Cak.js";
|
|
27
27
|
(function() {
|
|
28
28
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
29
29
|
const o = document.createElement("style");
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
"use strict";var c=Object.getPrototypeOf;var d=Reflect.get;var p=(e,t,s)=>d(c(e),s,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/switch");const f=require("lit"),i=require("lit/decorators.js"),h=require("../edit-option-base-
|
|
20
|
+
"use strict";var c=Object.getPrototypeOf;var d=Reflect.get;var p=(e,t,s)=>d(c(e),s,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/switch");const f=require("lit"),i=require("lit/decorators.js"),h=require("../edit-option-base-tFr8Qg2B.cjs"),y=":host{--luzmo-switch-control-label-spacing: 0px}";var m=Object.defineProperty,u=(e,t,s,b)=>{for(var o=void 0,a=e.length-1,n;a>=0;a--)(n=e[a])&&(o=n(t,s,o)||o);return o&&m(t,s,o),o};const l=class l extends h.LuzmoEditOptionBase{_handleEvent(t){this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(t.detail):t.detail}}))}renderController(){const t=typeof this.parseValue=="function"?this.parseValue(this.value):this.value,s=typeof this.parseValue=="function"?this.parseValue(this.default):this.default;return f.html`
|
|
21
21
|
<luzmo-switch
|
|
22
22
|
id="luzmo-edit-option-control"
|
|
23
23
|
thumb="overflow"
|
|
@@ -23,7 +23,7 @@ var a = (o, e, r) => z(s(o), r, e);
|
|
|
23
23
|
import "@luzmo/lucero/switch";
|
|
24
24
|
import { unsafeCSS as d, html as f } from "lit";
|
|
25
25
|
import { property as m } from "lit/decorators.js";
|
|
26
|
-
import { L as b } from "../edit-option-base-
|
|
26
|
+
import { L as b } from "../edit-option-base-Bh29-Cak.js";
|
|
27
27
|
(function() {
|
|
28
28
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
29
29
|
const e = document.createElement("style");
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
"use strict";var d=Object.getPrototypeOf;var c=Reflect.get;var p=(
|
|
20
|
+
"use strict";var d=Object.getPrototypeOf;var c=Reflect.get;var p=(s,t,u)=>c(d(s),u,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/text-field");const h=require("lit"),i=require("lit/decorators.js"),v=require("../edit-option-base-tFr8Qg2B.cjs");var y=Object.defineProperty,o=(s,t,u,f)=>{for(var r=void 0,n=s.length-1,a;n>=0;n--)(a=s[n])&&(r=a(t,u,r)||r);return r&&y(t,u,r),r};const l=class l extends v.LuzmoEditOptionBase{constructor(){super(...arguments),this.invalid=!1,this.readonly=!1,this.debounce=200,this._previousValue=""}_handleEvent(){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{const t=this.textFieldElement?.value??"";this._previousValue!==t&&(this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:t}})),this._previousValue=t)},this.debounce??200)}renderController(){return h.html`
|
|
21
21
|
<luzmo-text-field
|
|
22
22
|
.value=${this.value??""}
|
|
23
23
|
.disabled=${this.disabled}
|
|
@@ -28,4 +28,4 @@
|
|
|
28
28
|
@input=${this._handleEvent}
|
|
29
29
|
>
|
|
30
30
|
</luzmo-text-field>
|
|
31
|
-
`}};
|
|
31
|
+
`}};l.styles=[p(l,l,"styles")];let e=l;o([i.property({type:String,reflect:!0})],e.prototype,"value");o([i.property({type:Boolean,reflect:!0})],e.prototype,"invalid");o([i.property({type:Boolean,reflect:!0})],e.prototype,"readonly");o([i.property({type:String,reflect:!0})],e.prototype,"placeholder");o([i.property({type:Number,reflect:!0})],e.prototype,"debounce");o([i.query("luzmo-text-field")],e.prototype,"textFieldElement");customElements.get("luzmo-edit-option-text-field")||customElements.define("luzmo-edit-option-text-field",e);exports.LuzmoEditOptionTextField=e;
|
|
@@ -19,30 +19,29 @@
|
|
|
19
19
|
* */
|
|
20
20
|
var s = Object.getPrototypeOf;
|
|
21
21
|
var d = Reflect.get;
|
|
22
|
-
var a = (
|
|
22
|
+
var a = (t, o, m) => d(s(t), m, o);
|
|
23
23
|
import "@luzmo/lucero/text-field";
|
|
24
24
|
import { html as z } from "lit";
|
|
25
|
-
import { property as
|
|
26
|
-
import { L as b } from "../edit-option-base-
|
|
25
|
+
import { property as i, query as f } from "lit/decorators.js";
|
|
26
|
+
import { L as b } from "../edit-option-base-Bh29-Cak.js";
|
|
27
27
|
(function() {
|
|
28
28
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
29
29
|
const o = document.createElement("style");
|
|
30
30
|
o.setAttribute("data-luzmo-vars", ""), o.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(o);
|
|
31
31
|
}
|
|
32
32
|
})();
|
|
33
|
-
var p = Object.defineProperty,
|
|
34
|
-
for (var
|
|
35
|
-
(n =
|
|
36
|
-
return
|
|
33
|
+
var p = Object.defineProperty, r = (t, o, m, g) => {
|
|
34
|
+
for (var l = void 0, c = t.length - 1, n; c >= 0; c--)
|
|
35
|
+
(n = t[c]) && (l = n(o, m, l) || l);
|
|
36
|
+
return l && p(o, m, l), l;
|
|
37
37
|
};
|
|
38
|
-
const
|
|
38
|
+
const u = class u extends b {
|
|
39
39
|
constructor() {
|
|
40
40
|
super(...arguments), this.invalid = !1, this.readonly = !1, this.debounce = 200, this._previousValue = "";
|
|
41
41
|
}
|
|
42
42
|
_handleEvent() {
|
|
43
43
|
this.debounceTimeout && clearTimeout(this.debounceTimeout), this.debounceTimeout = setTimeout(() => {
|
|
44
|
-
|
|
45
|
-
const o = ((l = this.textFieldElement) == null ? void 0 : l.value) ?? "";
|
|
44
|
+
const o = this.textFieldElement?.value ?? "";
|
|
46
45
|
this._previousValue !== o && (this.dispatchEvent(
|
|
47
46
|
new CustomEvent("option-changed", {
|
|
48
47
|
bubbles: !0,
|
|
@@ -70,24 +69,24 @@ const i = class i extends b {
|
|
|
70
69
|
`;
|
|
71
70
|
}
|
|
72
71
|
};
|
|
73
|
-
|
|
74
|
-
let e =
|
|
75
|
-
|
|
76
|
-
|
|
72
|
+
u.styles = [a(u, u, "styles")];
|
|
73
|
+
let e = u;
|
|
74
|
+
r([
|
|
75
|
+
i({ type: String, reflect: !0 })
|
|
77
76
|
], e.prototype, "value");
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
r([
|
|
78
|
+
i({ type: Boolean, reflect: !0 })
|
|
80
79
|
], e.prototype, "invalid");
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
r([
|
|
81
|
+
i({ type: Boolean, reflect: !0 })
|
|
83
82
|
], e.prototype, "readonly");
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
r([
|
|
84
|
+
i({ type: String, reflect: !0 })
|
|
86
85
|
], e.prototype, "placeholder");
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
r([
|
|
87
|
+
i({ type: Number, reflect: !0 })
|
|
89
88
|
], e.prototype, "debounce");
|
|
90
|
-
|
|
89
|
+
r([
|
|
91
90
|
f("luzmo-text-field")
|
|
92
91
|
], e.prototype, "textFieldElement");
|
|
93
92
|
customElements.get("luzmo-edit-option-text-field") || customElements.define(
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2025 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
"use strict";const L=require("./localize-C4zNlrwK.cjs"),st=require("./decompose-numeric-format-B3rVVHpO.cjs");function mt(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function se(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function ct(e){return e=se(Math.abs(e)),e?e[1]:NaN}function ft(e,t){return function(r,n){for(var l=r.length,o=[],s=0,M=e[0],Y=0;l>0&&M>0&&(Y+M+1>n&&(M=Math.max(1,n-Y)),o.push(r.substring(l-=M,l+M)),!((Y+=M+1)>n));)M=e[s=(s+1)%e.length];return o.reverse().join(t)}}function ht(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var yt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function pe(e){if(!(t=yt.exec(e)))throw new Error("invalid format: "+e);var t;return new Se({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}pe.prototype=Se.prototype;function Se(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Se.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function gt(e){e:for(var t=e.length,r=1,n=-1,l;r<t;++r)switch(e[r]){case".":n=l=r;break;case"0":n===0&&(n=r),l=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(l+1):e}var Ve;function dt(e,t){var r=se(e,t);if(!r)return e+"";var n=r[0],l=r[1],o=l-(Ve=Math.max(-8,Math.min(8,Math.floor(l/3)))*3)+1,s=n.length;return o===s?n:o>s?n+new Array(o-s+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+se(e,Math.max(0,t+o-1))[0]}function be(e,t){var r=se(e,t);if(!r)return e+"";var n=r[0],l=r[1];return l<0?"0."+new Array(-l).join("0")+n:n.length>l+1?n.slice(0,l+1)+"."+n.slice(l+1):n+new Array(l-n.length+2).join("0")}const we={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:mt,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>be(e*100,t),r:be,s:dt,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Fe(e){return e}var ke=Array.prototype.map,xe=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Mt(e){var t=e.grouping===void 0||e.thousands===void 0?Fe:ft(ke.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",l=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?Fe:ht(ke.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",M=e.minus===void 0?"−":e.minus+"",Y=e.nan===void 0?"NaN":e.nan+"";function m(u){u=pe(u);var y=u.fill,f=u.align,g=u.sign,c=u.symbol,U=u.zero,F=u.width,W=u.comma,T=u.precision,C=u.trim,k=u.type;k==="n"?(W=!0,k="g"):we[k]||(T===void 0&&(T=12),C=!0,k="g"),(U||y==="0"&&f==="=")&&(U=!0,y="0",f="=");var O=c==="$"?r:c==="#"&&/[boxX]/.test(k)?"0"+k.toLowerCase():"",ue=c==="$"?n:/[%p]/.test(k)?s:"",R=we[k],ye=/[defgprs%]/.test(k);T=T===void 0?6:/[gprs]/.test(k)?Math.max(1,Math.min(21,T)):Math.max(0,Math.min(20,T));function ie(d){var q=O,x=ue,I,le,Z;if(k==="c")x=R(d)+x,d="";else{d=+d;var j=d<0||1/d<0;if(d=isNaN(d)?Y:R(Math.abs(d),T),C&&(d=gt(d)),j&&+d==0&&g!=="+"&&(j=!1),q=(j?g==="("?g:M:g==="-"||g==="("?"":g)+q,x=(k==="s"?xe[8+Ve/3]:"")+x+(j&&g==="("?")":""),ye){for(I=-1,le=d.length;++I<le;)if(Z=d.charCodeAt(I),48>Z||Z>57){x=(Z===46?l+d.slice(I+1):d.slice(I))+x,d=d.slice(0,I);break}}}W&&!U&&(d=t(d,1/0));var B=q.length+d.length+x.length,H=B<F?new Array(F-B+1).join(y):"";switch(W&&U&&(d=t(H+d,H.length?F-x.length:1/0),H=""),f){case"<":d=q+d+x+H;break;case"=":d=q+H+d+x;break;case"^":d=H.slice(0,B=H.length>>1)+q+d+x+H.slice(B);break;default:d=H+q+d+x;break}return o(d)}return ie.toString=function(){return u+""},ie}function S(u,y){var f=m((u=pe(u),u.type="f",u)),g=Math.max(-8,Math.min(8,Math.floor(ct(y)/3)))*3,c=Math.pow(10,-g),U=xe[8+g/3];return function(F){return f(c*F)+U}}return{format:m,formatPrefix:S}}const ge=new Date,de=new Date;function w(e,t,r,n){function l(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}return l.floor=o=>(e(o=new Date(+o)),o),l.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),l.round=o=>{const s=l(o),M=l.ceil(o);return o-s<M-o?s:M},l.offset=(o,s)=>(t(o=new Date(+o),s==null?1:Math.floor(s)),o),l.range=(o,s,M)=>{const Y=[];if(o=l.ceil(o),M=M==null?1:Math.floor(M),!(o<s)||!(M>0))return Y;let m;do Y.push(m=new Date(+o)),t(o,M),e(o);while(m<o&&o<s);return Y},l.filter=o=>w(s=>{if(s>=s)for(;e(s),!o(s);)s.setTime(s-1)},(s,M)=>{if(s>=s)if(M<0)for(;++M<=0;)for(;t(s,-1),!o(s););else for(;--M>=0;)for(;t(s,1),!o(s););}),r&&(l.count=(o,s)=>(ge.setTime(+o),de.setTime(+s),e(ge),e(de),Math.floor(r(ge,de))),l.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?l.filter(n?s=>n(s)%o===0:s=>l.count(0,s)%o===0):l)),l}const ne=1e3,V=ne*60,ae=V*60,oe=ae*24,Qe=oe*7,Re=w(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*ne)},(e,t)=>(t-e)/ne,e=>e.getUTCSeconds());Re.range;const $e=w(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ne)},(e,t)=>{e.setTime(+e+t*V)},(e,t)=>(t-e)/V,e=>e.getMinutes());$e.range;const Tt=w(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*V)},(e,t)=>(t-e)/V,e=>e.getUTCMinutes());Tt.range;const ze=w(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ne-e.getMinutes()*V)},(e,t)=>{e.setTime(+e+t*ae)},(e,t)=>(t-e)/ae,e=>e.getHours());ze.range;const pt=w(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*ae)},(e,t)=>(t-e)/ae,e=>e.getUTCHours());pt.range;const fe=w(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*V)/oe,e=>e.getDate()-1);fe.range;const De=w(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/oe,e=>e.getUTCDate()-1);De.range;const vt=w(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/oe,e=>Math.floor(e/oe));vt.range;function G(e){return w(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*V)/Qe)}const Ce=G(0),me=G(1),Yt=G(2),St=G(3),X=G(4),Dt=G(5),Ct=G(6);Ce.range;me.range;Yt.range;St.range;X.range;Dt.range;Ct.range;function P(e){return w(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/Qe)}const Ge=P(0),ce=P(1),Ut=P(2),bt=P(3),K=P(4),wt=P(5),Ft=P(6);Ge.range;ce.range;Ut.range;bt.range;K.range;wt.range;Ft.range;const Pe=w(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Pe.range;const kt=w(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());kt.range;const Q=w(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Q.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:w(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});Q.range;const z=w(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());z.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:w(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});z.range;function Me(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Te(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function ee(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function ve(e){var t=e.dateTime,r=e.date,n=e.time,l=e.periods,o=e.days,s=e.shortDays,M=e.months,Y=e.shortMonths,m=te(l),S=re(l),u=te(o),y=re(o),f=te(s),g=re(s),c=te(M),U=re(M),F=te(Y),W=re(Y),T={a:j,A:B,b:H,B:et,c:null,d:He,e:He,f:Xt,g:lr,G:mr,H:jt,I:Bt,j:Jt,L:Ze,m:Kt,M:er,p:tt,q:rt,Q:Ee,s:Ie,S:tr,u:rr,U:nr,V:ar,w:or,W:ur,x:null,X:null,y:ir,Y:sr,Z:cr,"%":qe},C={a:nt,A:at,b:ot,B:ut,c:null,d:Oe,e:Oe,f:gr,g:Ur,G:wr,H:fr,I:hr,j:yr,L:Be,m:dr,M:Mr,p:it,q:lt,Q:Ee,s:Ie,S:Tr,u:pr,U:vr,V:Yr,w:Sr,W:Dr,x:null,X:null,y:Cr,Y:br,Z:Fr,"%":qe},k={a:ie,A:d,b:q,B:x,c:I,d:Ne,e:Ne,f:zt,g:_e,G:We,H:Le,I:Le,j:Vt,L:$t,m:It,M:Qt,p:ye,q:Et,Q:Pt,s:Zt,S:Rt,u:Nt,U:Lt,V:Ht,w:_t,W:Ot,x:le,X:Z,y:_e,Y:We,Z:qt,"%":Gt};T.x=O(r,T),T.X=O(n,T),T.c=O(t,T),C.x=O(r,C),C.X=O(n,C),C.c=O(t,C);function O(i,h){return function(p){var a=[],A=-1,D=0,_=i.length,N,$,Ue;for(p instanceof Date||(p=new Date(+p));++A<_;)i.charCodeAt(A)===37&&(a.push(i.slice(D,A)),($=Ae[N=i.charAt(++A)])!=null?N=i.charAt(++A):$=N==="e"?" ":"0",(Ue=h[N])&&(N=Ue(p,$)),a.push(N),D=A+1);return a.push(i.slice(D,A)),a.join("")}}function ue(i,h){return function(p){var a=ee(1900,void 0,1),A=R(a,i,p+="",0),D,_;if(A!=p.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(a.s*1e3+("L"in a?a.L:0));if(h&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+a.p*12),a.m===void 0&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(D=Te(ee(a.y,0,1)),_=D.getUTCDay(),D=_>4||_===0?ce.ceil(D):ce(D),D=De.offset(D,(a.V-1)*7),a.y=D.getUTCFullYear(),a.m=D.getUTCMonth(),a.d=D.getUTCDate()+(a.w+6)%7):(D=Me(ee(a.y,0,1)),_=D.getDay(),D=_>4||_===0?me.ceil(D):me(D),D=fe.offset(D,(a.V-1)*7),a.y=D.getFullYear(),a.m=D.getMonth(),a.d=D.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),_="Z"in a?Te(ee(a.y,0,1)).getUTCDay():Me(ee(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+a.W*7-(_+5)%7:a.w+a.U*7-(_+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,Te(a)):Me(a)}}function R(i,h,p,a){for(var A=0,D=h.length,_=p.length,N,$;A<D;){if(a>=_)return-1;if(N=h.charCodeAt(A++),N===37){if(N=h.charAt(A++),$=k[N in Ae?h.charAt(A++):N],!$||(a=$(i,p,a))<0)return-1}else if(N!=p.charCodeAt(a++))return-1}return a}function ye(i,h,p){var a=m.exec(h.slice(p));return a?(i.p=S.get(a[0].toLowerCase()),p+a[0].length):-1}function ie(i,h,p){var a=f.exec(h.slice(p));return a?(i.w=g.get(a[0].toLowerCase()),p+a[0].length):-1}function d(i,h,p){var a=u.exec(h.slice(p));return a?(i.w=y.get(a[0].toLowerCase()),p+a[0].length):-1}function q(i,h,p){var a=F.exec(h.slice(p));return a?(i.m=W.get(a[0].toLowerCase()),p+a[0].length):-1}function x(i,h,p){var a=c.exec(h.slice(p));return a?(i.m=U.get(a[0].toLowerCase()),p+a[0].length):-1}function I(i,h,p){return R(i,t,h,p)}function le(i,h,p){return R(i,r,h,p)}function Z(i,h,p){return R(i,n,h,p)}function j(i){return s[i.getDay()]}function B(i){return o[i.getDay()]}function H(i){return Y[i.getMonth()]}function et(i){return M[i.getMonth()]}function tt(i){return l[+(i.getHours()>=12)]}function rt(i){return 1+~~(i.getMonth()/3)}function nt(i){return s[i.getUTCDay()]}function at(i){return o[i.getUTCDay()]}function ot(i){return Y[i.getUTCMonth()]}function ut(i){return M[i.getUTCMonth()]}function it(i){return l[+(i.getUTCHours()>=12)]}function lt(i){return 1+~~(i.getUTCMonth()/3)}return{format:function(i){var h=O(i+="",T);return h.toString=function(){return i},h},parse:function(i){var h=ue(i+="",!1);return h.toString=function(){return i},h},utcFormat:function(i){var h=O(i+="",C);return h.toString=function(){return i},h},utcParse:function(i){var h=ue(i+="",!0);return h.toString=function(){return i},h}}}var Ae={"-":"",_:" ",0:"0"},b=/^\s*\d+/,xt=/^%/,At=/[\\^$*+?|[\]().{}]/g;function v(e,t,r){var n=e<0?"-":"",l=(n?-e:e)+"",o=l.length;return n+(o<r?new Array(r-o+1).join(t)+l:l)}function Wt(e){return e.replace(At,"\\$&")}function te(e){return new RegExp("^(?:"+e.map(Wt).join("|")+")","i")}function re(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function _t(e,t,r){var n=b.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function Nt(e,t,r){var n=b.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function Lt(e,t,r){var n=b.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function Ht(e,t,r){var n=b.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function Ot(e,t,r){var n=b.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function We(e,t,r){var n=b.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function _e(e,t,r){var n=b.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function qt(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function Et(e,t,r){var n=b.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function It(e,t,r){var n=b.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function Ne(e,t,r){var n=b.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function Vt(e,t,r){var n=b.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function Le(e,t,r){var n=b.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function Qt(e,t,r){var n=b.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Rt(e,t,r){var n=b.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function $t(e,t,r){var n=b.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function zt(e,t,r){var n=b.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Gt(e,t,r){var n=xt.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function Pt(e,t,r){var n=b.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function Zt(e,t,r){var n=b.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function He(e,t){return v(e.getDate(),t,2)}function jt(e,t){return v(e.getHours(),t,2)}function Bt(e,t){return v(e.getHours()%12||12,t,2)}function Jt(e,t){return v(1+fe.count(Q(e),e),t,3)}function Ze(e,t){return v(e.getMilliseconds(),t,3)}function Xt(e,t){return Ze(e,t)+"000"}function Kt(e,t){return v(e.getMonth()+1,t,2)}function er(e,t){return v(e.getMinutes(),t,2)}function tr(e,t){return v(e.getSeconds(),t,2)}function rr(e){var t=e.getDay();return t===0?7:t}function nr(e,t){return v(Ce.count(Q(e)-1,e),t,2)}function je(e){var t=e.getDay();return t>=4||t===0?X(e):X.ceil(e)}function ar(e,t){return e=je(e),v(X.count(Q(e),e)+(Q(e).getDay()===4),t,2)}function or(e){return e.getDay()}function ur(e,t){return v(me.count(Q(e)-1,e),t,2)}function ir(e,t){return v(e.getFullYear()%100,t,2)}function lr(e,t){return e=je(e),v(e.getFullYear()%100,t,2)}function sr(e,t){return v(e.getFullYear()%1e4,t,4)}function mr(e,t){var r=e.getDay();return e=r>=4||r===0?X(e):X.ceil(e),v(e.getFullYear()%1e4,t,4)}function cr(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+v(t/60|0,"0",2)+v(t%60,"0",2)}function Oe(e,t){return v(e.getUTCDate(),t,2)}function fr(e,t){return v(e.getUTCHours(),t,2)}function hr(e,t){return v(e.getUTCHours()%12||12,t,2)}function yr(e,t){return v(1+De.count(z(e),e),t,3)}function Be(e,t){return v(e.getUTCMilliseconds(),t,3)}function gr(e,t){return Be(e,t)+"000"}function dr(e,t){return v(e.getUTCMonth()+1,t,2)}function Mr(e,t){return v(e.getUTCMinutes(),t,2)}function Tr(e,t){return v(e.getUTCSeconds(),t,2)}function pr(e){var t=e.getUTCDay();return t===0?7:t}function vr(e,t){return v(Ge.count(z(e)-1,e),t,2)}function Je(e){var t=e.getUTCDay();return t>=4||t===0?K(e):K.ceil(e)}function Yr(e,t){return e=Je(e),v(K.count(z(e),e)+(z(e).getUTCDay()===4),t,2)}function Sr(e){return e.getUTCDay()}function Dr(e,t){return v(ce.count(z(e)-1,e),t,2)}function Cr(e,t){return v(e.getUTCFullYear()%100,t,2)}function Ur(e,t){return e=Je(e),v(e.getUTCFullYear()%100,t,2)}function br(e,t){return v(e.getUTCFullYear()%1e4,t,4)}function wr(e,t){var r=e.getUTCDay();return e=r>=4||r===0?K(e):K.ceil(e),v(e.getUTCFullYear()%1e4,t,4)}function Fr(){return"+0000"}function qe(){return"%"}function Ee(e){return+e}function Ie(e){return Math.floor(+e/1e3)}var J,E;kr({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function kr(e){return J=ve(e),E=J.format,J.parse,J.utcFormat,J.utcParse,J}const Ye=[[1,4,12,52,365,365*24,365*24*60,365*24*60*60,365*24*60*60*1e3],[1/4,1,3,13,91,91*24,91*24*60,91*24*60*60,91*24*60*60*1e3],[1/12,1/3,1,4,30,30*24,30*24*60,30*24*60*60,30*24*60*60*1e3],[1/52,1/13,1/4,1,7,7*24,7*24*60,7*24*60*60,7*24*60*60*1e3],[1/365,1/91,1/30,1/7,1,24,24*60,24*60*60,24*60*60*1e3],[1/(365*24),1/(91*24),1/(30*24),1/(7*24),1/24,1,60,60*60,60*60*1e3],[1/(365*24*60),1/(91*24*60),1/(30*24*60),1/(7*24*60),1/(24*60),1/60,1,60,60*1e3],[1/(365*24*60*60),1/(91*24*60*60),1/(30*24*60*60),1/(7*24*60*60),1/(24*60*60),1/(60*60),1/60,1,1e3],[1/(365*24*60*60*1e3),1/(91*24*60*60*1e3),1/(30*24*60*60*1e3),1/(7*24*60*60*1e3),1/(24*60*60*1e3),1/(60*60*1e3),1/(60*1e3),1/1e3,1]];function xr(e,t,r){if(L.isEmpty(e))return;if(!t||!r||t===r)return e;const n=Ye[t-1][r-1];if(n)return e*n}function Ar(e,t,r,n){if(L.isEmpty(e)||!t.lowestLevel||r.length===0)return"";const l=[];let o=0,s=Math.round(e*Ye[t.lowestLevel-1][8]);const M=9;for(const[,m]of r.entries())if(e){s=s-o;const S=Ye[m-1][M-1],u=Math.floor(s/S);o=u*S,l.push({level:m,value:u})}else l.push({level:m,value:0});let Y="";for(const[m,S]of l.entries())if(t.duration.format==="time"){let u=S.value;[6,7,8].includes(S.level)&&S.value<10?u="0"+S.value.toString():S.level===9&&S.value<10?u="00"+S.value.toString():S.level===9&&S.value<100&&(u="0"+S.value.toString()),Y+=(m===0?"":S.level===9?".":":")+u}else if(t.duration.format==="long"){const u=n.durationLongSuffix;Y+=S.value+" "+u[S.level]+(m===l.length-1?"":" ")}else{const u=n.durationShortSuffix;Y+=S.value+""+u[S.level]+(m===l.length-1?"":" ")}return Y}const he={decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",dateSeparator:"/",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],levels:["All","Year","Quarter","Month","Week","Date","Hour","Minute","Second","Millisecond"],shortLevels:["All","Yr","Qtr","Mth","Wk","Date","Hr","Min","Sec","Msec"],durationLongSuffix:["","years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],durationShortSuffix:["","y","q","mo","w","d","h","m","s","ms"],multi:[".%L",":%S","%I:%M","%I %p","%a %d","W%G","%b %d","%B","%Y"]},Xe="%d-%m-%Y",Ke=[{key:"%a %e %b %Y",lev1:"%Y",lev2:"Q%q-%Y",lev3:"%b %Y",lev4:"Wk %V-%G",lev5:"%a %e %b %Y",monthType:"name",longText:!1,weekday:!0},{key:"%e %b %Y",lev1:"%Y",lev2:"Q%q-%Y",lev3:"%b %Y",lev4:"Wk %V-%G",lev5:"%e %b %Y",monthType:"name",longText:!1,weekday:!1},{key:"%a %e %B %Y",lev1:"%Y",lev2:"Q%q-%Y",lev3:"%B %Y",lev4:"Week %V, %G",lev5:"%a %e %B %Y",monthType:"name",longText:!0,weekday:!0},{key:"%e %B %Y",lev1:"%Y",lev2:"Q%q-%Y",lev3:"%B %Y",lev4:"Week %V, %G",lev5:"%e %B %Y",monthType:"name",longText:!0,weekday:!1},{key:"%d/%m/%Y",lev1:"%Y",lev2:"Q%q/%Y",lev3:"%m/%Y",lev4:"W%V/%G",lev5:"%d/%m/%Y",monthType:"number",mmdd:!1,separator:"/"},{key:"%d-%m-%Y",lev1:"%Y",lev2:"Q%q-%Y",lev3:"%m-%Y",lev4:"W%V-%G",lev5:"%d-%m-%Y",monthType:"number",mmdd:!1,separator:"-"},{key:"%d.%m.%Y",lev1:"%Y",lev2:"Q%q.%Y",lev3:"%m.%Y",lev4:"W%V.%G",lev5:"%d.%m.%Y",monthType:"number",mmdd:!1,separator:"."},{key:"%d~%m~%Y",lev1:"%Y",lev2:"Q%q~%Y",lev3:"%m~%Y",lev4:"W%V~%G",lev5:"%d~%m~%Y",monthType:"number",mmdd:!1,separator:"~"},{key:"%m/%d/%Y",lev1:"%Y",lev2:"Q%q/%Y",lev3:"%m/%Y",lev4:"%G/W%V",lev5:"%m/%d/%Y",monthType:"number",mmdd:!0,separator:"/"},{key:"%m-%d-%Y",lev1:"%Y",lev2:"Q%q-%Y",lev3:"%m-%Y",lev4:"%G-W%V",lev5:"%m-%d-%Y",monthType:"number",mmdd:!0,separator:"-"},{key:"%m.%d.%Y",lev1:"%Y",lev2:"Q%q.%Y",lev3:"%m.%Y",lev4:"%G.W%V",lev5:"%m.%d.%Y",monthType:"number",mmdd:!0,separator:"."},{key:"%m~%d~%Y",lev1:"%Y",lev2:"Q%q~%Y",lev3:"%m~%Y",lev4:"%G~W%V",lev5:"%m~%d~%Y",monthType:"number",mmdd:!0,separator:"~"},{key:"%amd/%Y",lev1:"%Y",lev2:"Q%q/%Y",lev3:"%m/%Y",lev4:"%G/W%V",lev5:"%amd/%Y",monthType:"number",mmdd:null,separator:"/"},{key:"%amd-%Y",lev1:"%Y",lev2:"Q%q-%Y",lev3:"%m-%Y",lev4:"%G-W%V",lev5:"%amd-%Y",monthType:"number",mmdd:null,separator:"-"},{key:"%amd.%Y",lev1:"%Y",lev2:"Q%q.%Y",lev3:"%m.%Y",lev4:"%G.W%V",lev5:"%amd.%Y",monthType:"number",mmdd:null,separator:"."},{key:"%amd~%Y",lev1:"%Y",lev2:"Q%q~%Y",lev3:"%m~%Y",lev4:"%G~W%V",lev5:"%amd~%Y",monthType:"number",mmdd:null,separator:"~"}],Wr=[{key:"%H:%M:%S.%L",lev6:"%H:00",lev7:"%H:%M",lev8:"%H:%M:%S",lev9:"%H:%M:%S.%L",ampm:!1},{key:"%I:%M:%S.%L %p",lev6:"%I:00 %p",lev7:"%I:%M %p",lev8:"%I:%M:%S %p",lev9:"%I:%M:%S.%L %p",ampm:!0}];function _r(e,t){t=t||{};const r=t.localFormats||he;let n,l,o,s=[],M=[],Y="datetime",m;t&&t.multi&&(Y="datetime"),(!e||!e.format)&&(Y="hierarchy"),e&&e.type&&(Y=e.type),e&&e.format?m=e.format:Y==="numeric"?m=",.0f":Y==="datetime"?m=Xe:m="";const S=st.decomposeNumericFormat(m);switch(S.precision&&S.typeFormat&&(Y="numeric"),Y){case"numeric":{if(e.subtype==="duration"&&e.duration&&e.duration.levels&&e.duration.levels.length>1&&!t.hideDuration)n=u=>L.isEmpty(u)?"":Ar(u,e,e.duration.levels,r);else{const u={...r};let y=S.typeFormat,f=!1;switch(y.length===2&&y.startsWith("a")&&(f=!0,y=y.slice(1,2),m=m.replace(/a/,"")),f?(u.decimal=r.decimal,u.thousands=r.thousands):["z","y","w"].includes(y)?(u.decimal=",",u.thousands="."):(u.decimal=".",u.thousands=","),y){case"z":{m=m.replace("z","f");break}case"y":{m=m.replace("y","%");break}case"w":{m=m.replace("w","s");break}}if(e?.subtype==="currency"&&e.currency){const c=" ",U=u.currency.findIndex(C=>C.length>0),F=u.currency[U].startsWith(c),W=u.currency[U].endsWith(c),T=`${F?c:""}${e.currency}${W?c:""}`;u.currency[U]=T}const g=Mt(u);y!=="%"&&e?.subtype==="currency"&&e.currency&&u.currency&&!t?.hideCurrency&&!["count","distinctcount"].includes(e.aggregationFunc)&&!(e.aggregationFunc==="rate"&&e.aggregationWeight?.columnSubType==="currency")&&e.periodOverPeriod?.type!=="percentageChange"&&(m="$"+m),t?.trimZero&&["y","%"].includes(y)&&u.decimal===","?l=c=>g.format(m)(c).replace(/(,\d*?)0+%$/,"$1%").replace(/,%$/,"%"):t?.trimZero&&["y","%"].includes(y)&&u.decimal==="."?l=c=>g.format(m)(c).replace(/(\.\d*?)0+%$/,"$1%").replace(/\.%$/,"%"):t?.trimZero&&["z","f"].includes(y)&&u.decimal===","?l=c=>g.format(m)(c).replace(/(,\d*?)0+$/,"$1").replace(/,$/,""):t?.trimZero&&["z","f"].includes(y)&&u.decimal==="."?l=c=>g.format(m)(c).replace(/(\.\d*?)0+$/,"$1").replace(/\.$/,""):e?.subtype==="currency"&&e.currency&&u.currency&&y==="s"?l=c=>g.format(m)(c).replace(/G/,"B"):l=L.isEmpty(S.precision)?g.format(",.0f"):g.format(m),n=c=>{if(L.isEmpty(c))return"";if(e.subtype==="duration"&&e.duration&&!t.hideDuration){const U=e.duration.levels?e.duration.levels[0]:e.lowestLevel;return U!==e.lowestLevel&&(c=xr(c,e.lowestLevel,U)),l(c)+r?.durationShortSuffix?.[U]}return l(c)}}break}case"datetime":{if(s=r?.smartDateFormats??Ke,M=r?.smartTimeFormats??Wr,L.isEmpty(e.datetimeDisplayMode)){if(t?.level){const u=t.level,y=s.find(W=>m.includes(W.key)),f=M.find(W=>m.includes(W.key)),g=y?y["lev"+Math.min(u,5)]:s[0]["lev"+Math.min(u,5)],c=u>5?f?f["lev"+u]:M[0]["lev"+u]:"";m=u>5?g+", "+c:g;const U=m.includes("%amd")&&t.level>=5,F=y?t.level>=2&&y.separator==="~":!1;U?m=F?m.replaceAll(new RegExp(/%amd[.~\/-]%Y/g),r.date.slice(0,8)):m.replaceAll(new RegExp(/%amd[.~\/-]%Y/g),r.date.slice(0,8).replaceAll(new RegExp(/[.~\/-]/g),y.separator)):m=F?m.replaceAll(new RegExp(/[~]/g),r.dateSeparator):m}if(t?.multi){const u=E(r.multi[0]),y=E(r.multi[1]),f=E(r.multi[2]),g=E(r.multi[3]),c=E(r.multi[4]),U=E(r.multi[6]),F=E(r.multi[7]),W=E(r.multi[8]);o=T=>{let C;return Re(T)<T?C=u:$e(T)<T?C=y:ze(T)<T?C=f:fe(T)<T?C=g:Pe(T)<T?C=Ce(T)<T?c:U:Q(T)<T?C=F:C=W,C(T)}}else o=ve(r).format(m)}else{const u={quarter_number:{min:1,max:4},month_name:{min:1,max:12},month_number:{min:1,max:12},week_number:{min:1,max:53},day_in_month:{min:1,max:31},day_in_year:{min:1,max:366},weekday_name:{min:0,max:7},weekday_number:{min:0,max:7},hour_in_day:{min:0,max:23},minute_in_hour:{min:0,max:59},second_in_minute:{min:0,max:59}},y=(f,g,c)=>g==="letter"?f.shortNames?.length>0&&f.shortNames[c]?.length>0?f.shortNames[c]?.charAt(0):"N/A":g==="short"?f.shortNames?.length>0&&f.shortNames[c]?f.shortNames[c]:"N/A":f.longNames?.length>0&&f.longNames[c]?f.longNames[c]:"N/A";["quarter_number","month_number","week_number","day_in_month","day_in_year","weekday_number","hour_in_day","minute_in_hour","second_in_minute"].includes(e.datetimeDisplayMode)?o=f=>L.isNumeric(f)&&f>=u[e.datetimeDisplayMode].min&&f<=u[e.datetimeDisplayMode].max?f:"N/A":e.datetimeDisplayMode==="month_name"?o=f=>{const g=[...r.shortMonths],c=[...r.months];return L.isNumeric(f)&&f>=u[e.datetimeDisplayMode].min&&f<=u[e.datetimeDisplayMode].max?y({shortNames:g,longNames:c},e.monthNameFormat,f-1):"N/A"}:e.datetimeDisplayMode==="weekday_name"?o=f=>{const g=[...r.shortDays],c=[...r.days];return e.weekStart==="monday"&&(g.push(g.shift()??""),c.push(c.shift()??"")),L.isNumeric(f)&&f>=u[e.datetimeDisplayMode].min&&f<=u[e.datetimeDisplayMode].max?y({shortNames:g,longNames:c},e.weekDayNameFormat,f-1):"N/A"}:o=ve(r).format(m)}n=u=>{if(L.isEmpty(u))return"";const y=o(u);return L.isString(y)?y.trim():y};break}case"hierarchy":{n=u=>L.localize(u,t?t.locale:void 0);break}default:{n=u=>u;break}}return n}const Nr=Object.freeze(Object.defineProperty({__proto__:null,default:he},Symbol.toStringTag,{value:"Module"})),Lr=Object.freeze(Object.defineProperty({__proto__:null,default:he},Symbol.toStringTag,{value:"Module"}));exports.DEFAULT_DATETIME_FORMAT=Xe;exports.DEFAULT_LOCAL_FORMATS=he;exports.SMART_DATE_FORMATS=Ke;exports.en=Lr;exports.enUS=Nr;exports.formatter=_r;
|