@luzmo/analytics-components-kit 1.0.9-beta.6 → 1.0.9-beta.7
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/LICENSE +18 -18
- package/README.md +1 -1
- package/angular/README.md +40 -0
- package/angular/components/ai-chat-empty-state.ts +105 -0
- package/angular/components/ai-chat.ts +447 -0
- package/angular/components/ai-interaction-textarea.ts +290 -0
- package/angular/components/data-field-level.ts +130 -0
- package/angular/components/data-field-panel.ts +256 -0
- package/angular/components/data-field.ts +130 -0
- package/angular/components/data-fields-select.ts +226 -0
- package/angular/components/dataset-icon.ts +83 -0
- package/angular/components/dataset-selector-list.ts +147 -0
- package/angular/components/dataset-selector-row.ts +205 -0
- package/angular/components/display-settings-binning.ts +92 -0
- package/angular/components/display-settings-datetime.ts +100 -0
- package/angular/components/display-settings-grand-totals.ts +92 -0
- package/angular/components/display-settings-numeric.ts +113 -0
- package/angular/components/display-settings-period-over-period.ts +121 -0
- package/angular/components/display-settings.ts +227 -0
- package/angular/components/filter-expression-picker.ts +168 -0
- package/angular/components/filter-item.ts +207 -0
- package/angular/components/filter-parameter-picker.ts +155 -0
- package/angular/components/filter-value-picker-datetime.ts +125 -0
- package/angular/components/filter-value-picker-hierarchy.ts +146 -0
- package/angular/components/filter-value-picker-numeric.ts +146 -0
- package/angular/components/filter-value-picker.ts +160 -0
- package/angular/components/filters.ts +241 -0
- package/angular/components/formula-editor.ts +229 -0
- package/angular/components/formula-field.ts +198 -0
- package/angular/components/formula.ts +170 -0
- package/angular/components/interactive-viz-item.ts +186 -0
- package/angular/components/item-grid-item-actions-menu.ts +113 -0
- package/angular/components/item-grid.ts +242 -0
- package/angular/components/item-option-action-button-group.ts +105 -0
- package/angular/components/item-option-color-palette-picker.ts +126 -0
- package/angular/components/item-option-color-picker.ts +134 -0
- package/angular/components/item-option-color-range.ts +168 -0
- package/angular/components/item-option-guidelines.ts +84 -0
- package/angular/components/item-option-multi-language-field.ts +133 -0
- package/angular/components/item-option-number-field.ts +161 -0
- package/angular/components/item-option-panel.ts +149 -0
- package/angular/components/item-option-picker.ts +120 -0
- package/angular/components/item-option-position-picker.ts +98 -0
- package/angular/components/item-option-positions-number-field.ts +140 -0
- package/angular/components/item-option-radio-button-group.ts +119 -0
- package/angular/components/item-option-slider.ts +126 -0
- package/angular/components/item-option-switch.ts +98 -0
- package/angular/components/item-option-text-field.ts +112 -0
- package/angular/components/item-option.ts +163 -0
- package/angular/components/item-slot-drop-panel.ts +236 -0
- package/angular/components/item-slot-drop.ts +231 -0
- package/angular/components/item-slot-picker-panel.ts +299 -0
- package/angular/components/item-slot-picker.ts +241 -0
- package/angular/components/slot-menu-list.ts +121 -0
- package/angular/components/slot-menu.ts +304 -0
- package/angular/components/viz-item-menu.ts +118 -0
- package/angular/esm/components/ai-chat-empty-state.d.ts +41 -0
- package/angular/esm/components/ai-chat-empty-state.js +107 -0
- package/angular/esm/components/ai-chat.d.ts +149 -0
- package/angular/esm/components/ai-chat.js +463 -0
- package/angular/esm/components/ai-interaction-textarea.d.ts +108 -0
- package/angular/esm/components/ai-interaction-textarea.js +313 -0
- package/angular/esm/components/data-field-level.d.ts +50 -0
- package/angular/esm/components/data-field-level.js +129 -0
- package/angular/esm/components/data-field-panel.d.ts +86 -0
- package/angular/esm/components/data-field-panel.js +268 -0
- package/angular/esm/components/data-field.d.ts +50 -0
- package/angular/esm/components/data-field.js +129 -0
- package/angular/esm/components/data-fields-select.d.ts +87 -0
- package/angular/esm/components/data-fields-select.js +243 -0
- package/angular/esm/components/dataset-icon.d.ts +34 -0
- package/angular/esm/components/dataset-icon.js +86 -0
- package/angular/esm/components/dataset-selector-list.d.ts +56 -0
- package/angular/esm/components/dataset-selector-list.js +155 -0
- package/angular/esm/components/dataset-selector-row.d.ts +72 -0
- package/angular/esm/components/dataset-selector-row.js +205 -0
- package/angular/esm/components/display-settings-binning.d.ts +37 -0
- package/angular/esm/components/display-settings-binning.js +91 -0
- package/angular/esm/components/display-settings-datetime.d.ts +40 -0
- package/angular/esm/components/display-settings-datetime.js +99 -0
- package/angular/esm/components/display-settings-grand-totals.d.ts +37 -0
- package/angular/esm/components/display-settings-grand-totals.js +91 -0
- package/angular/esm/components/display-settings-numeric.d.ts +45 -0
- package/angular/esm/components/display-settings-numeric.js +115 -0
- package/angular/esm/components/display-settings-period-over-period.d.ts +50 -0
- package/angular/esm/components/display-settings-period-over-period.js +123 -0
- package/angular/esm/components/display-settings.d.ts +83 -0
- package/angular/esm/components/display-settings.js +231 -0
- package/angular/esm/components/filter-expression-picker.d.ts +64 -0
- package/angular/esm/components/filter-expression-picker.js +179 -0
- package/angular/esm/components/filter-item.d.ts +74 -0
- package/angular/esm/components/filter-item.js +222 -0
- package/angular/esm/components/filter-parameter-picker.d.ts +56 -0
- package/angular/esm/components/filter-parameter-picker.js +151 -0
- package/angular/esm/components/filter-value-picker-datetime.d.ts +47 -0
- package/angular/esm/components/filter-value-picker-datetime.js +131 -0
- package/angular/esm/components/filter-value-picker-hierarchy.d.ts +53 -0
- package/angular/esm/components/filter-value-picker-hierarchy.js +155 -0
- package/angular/esm/components/filter-value-picker-numeric.d.ts +53 -0
- package/angular/esm/components/filter-value-picker-numeric.js +155 -0
- package/angular/esm/components/filter-value-picker.d.ts +57 -0
- package/angular/esm/components/filter-value-picker.js +171 -0
- package/angular/esm/components/filters.d.ts +85 -0
- package/angular/esm/components/filters.js +251 -0
- package/angular/esm/components/formula-editor.d.ts +78 -0
- package/angular/esm/components/formula-editor.js +236 -0
- package/angular/esm/components/formula-field.d.ts +70 -0
- package/angular/esm/components/formula-field.js +209 -0
- package/angular/esm/components/formula.d.ts +60 -0
- package/angular/esm/components/formula.js +177 -0
- package/angular/esm/components/interactive-viz-item.d.ts +63 -0
- package/angular/esm/components/interactive-viz-item.js +188 -0
- package/angular/esm/components/item-grid-item-actions-menu.d.ts +45 -0
- package/angular/esm/components/item-grid-item-actions-menu.js +115 -0
- package/angular/esm/components/item-grid.d.ts +80 -0
- package/angular/esm/components/item-grid.js +245 -0
- package/angular/esm/components/item-option-action-button-group.d.ts +41 -0
- package/angular/esm/components/item-option-action-button-group.js +107 -0
- package/angular/esm/components/item-option-color-palette-picker.d.ts +48 -0
- package/angular/esm/components/item-option-color-palette-picker.js +131 -0
- package/angular/esm/components/item-option-color-picker.d.ts +51 -0
- package/angular/esm/components/item-option-color-picker.js +139 -0
- package/angular/esm/components/item-option-color-range.d.ts +66 -0
- package/angular/esm/components/item-option-color-range.js +179 -0
- package/angular/esm/components/item-option-guidelines.d.ts +34 -0
- package/angular/esm/components/item-option-guidelines.js +83 -0
- package/angular/esm/components/item-option-multi-language-field.d.ts +50 -0
- package/angular/esm/components/item-option-multi-language-field.js +139 -0
- package/angular/esm/components/item-option-number-field.d.ts +58 -0
- package/angular/esm/components/item-option-number-field.js +171 -0
- package/angular/esm/components/item-option-panel.d.ts +54 -0
- package/angular/esm/components/item-option-panel.js +155 -0
- package/angular/esm/components/item-option-picker.d.ts +46 -0
- package/angular/esm/components/item-option-picker.js +123 -0
- package/angular/esm/components/item-option-position-picker.d.ts +39 -0
- package/angular/esm/components/item-option-position-picker.js +99 -0
- package/angular/esm/components/item-option-positions-number-field.d.ts +54 -0
- package/angular/esm/components/item-option-positions-number-field.js +147 -0
- package/angular/esm/components/item-option-radio-button-group.d.ts +45 -0
- package/angular/esm/components/item-option-radio-button-group.js +123 -0
- package/angular/esm/components/item-option-slider.d.ts +46 -0
- package/angular/esm/components/item-option-slider.js +131 -0
- package/angular/esm/components/item-option-switch.d.ts +40 -0
- package/angular/esm/components/item-option-switch.js +99 -0
- package/angular/esm/components/item-option-text-field.d.ts +44 -0
- package/angular/esm/components/item-option-text-field.js +115 -0
- package/angular/esm/components/item-option.d.ts +58 -0
- package/angular/esm/components/item-option.js +171 -0
- package/angular/esm/components/item-slot-drop-panel.d.ts +82 -0
- package/angular/esm/components/item-slot-drop-panel.js +249 -0
- package/angular/esm/components/item-slot-drop.d.ts +77 -0
- package/angular/esm/components/item-slot-drop.js +227 -0
- package/angular/esm/components/item-slot-picker-panel.d.ts +97 -0
- package/angular/esm/components/item-slot-picker-panel.js +309 -0
- package/angular/esm/components/item-slot-picker.d.ts +86 -0
- package/angular/esm/components/item-slot-picker.js +259 -0
- package/angular/esm/components/slot-menu-list.d.ts +46 -0
- package/angular/esm/components/slot-menu-list.js +123 -0
- package/angular/esm/components/slot-menu.d.ts +104 -0
- package/angular/esm/components/slot-menu.js +300 -0
- package/angular/esm/components/viz-item-menu.d.ts +42 -0
- package/angular/esm/components/viz-item-menu.js +111 -0
- package/angular/esm/index.d.ts +109 -0
- package/angular/esm/index.js +217 -0
- package/angular/index.ts +223 -0
- package/angular/package.json +40 -0
- package/angular/tsconfig.json +36 -0
- package/angular/type-fallbacks.d.ts +0 -0
- package/angular/utils/ai-prompt/attachments.d.ts +10 -0
- package/angular/utils/ai-prompt/dictation.d.ts +50 -0
- package/angular/utils/ai-prompt/image-upload.d.ts +12 -0
- package/angular/utils/ai-prompt/index.d.ts +6 -0
- package/angular/utils/ai-prompt/tests/attachments.test.d.ts +1 -0
- package/angular/utils/ai-prompt/tests/dictation.test.d.ts +1 -0
- package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +1 -0
- package/angular/utils/base/base.d.ts +16 -0
- package/angular/utils/base/focus-visible.d.ts +29 -0
- package/angular/utils/base/focusable.d.ts +58 -0
- package/angular/utils/base/index.d.ts +5 -0
- package/angular/utils/base/localized-mixin.d.ts +22 -0
- package/angular/utils/base/sized-mixin.d.ts +17 -0
- package/angular/utils/color/color-palettes.d.ts +17 -0
- package/angular/utils/color/extrapolate-color.d.ts +1 -0
- package/angular/utils/create-lazy-loader.d.ts +5 -0
- package/angular/utils/data/load-data-fields-for-datasets.d.ts +22 -0
- package/angular/utils/data-broker/index.d.ts +263 -0
- package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +12 -0
- package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +1 -0
- package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +1 -0
- package/angular/utils/drag/draggable.d.ts +13 -0
- package/angular/utils/drag/pragmatic-element-adapter.d.ts +2 -0
- package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +1 -0
- package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +1 -0
- package/angular/utils/filters/expressions.d.ts +15 -0
- package/angular/utils/filters/filter-text.d.ts +64 -0
- package/angular/utils/filters/index.d.ts +2 -0
- package/angular/utils/filters/presentation.d.ts +4 -0
- package/angular/utils/filters/tests/filter-text.test.d.ts +1 -0
- package/angular/utils/formatter/calculate-duration.d.ts +2 -0
- package/angular/utils/formatter/decompose-numeric-format.d.ts +11 -0
- package/angular/utils/formatter/default-local-formats.d.ts +20 -0
- package/angular/utils/formatter/formats/cs.d.ts +20 -0
- package/angular/utils/formatter/formats/da.d.ts +20 -0
- package/angular/utils/formatter/formats/de.d.ts +21 -0
- package/angular/utils/formatter/formats/en-GB.d.ts +21 -0
- package/angular/utils/formatter/formats/en-US.d.ts +1 -0
- package/angular/utils/formatter/formats/en.d.ts +1 -0
- package/angular/utils/formatter/formats/es.d.ts +54 -0
- package/angular/utils/formatter/formats/fi.d.ts +20 -0
- package/angular/utils/formatter/formats/fr.d.ts +54 -0
- package/angular/utils/formatter/formats/he.d.ts +20 -0
- package/angular/utils/formatter/formats/hu.d.ts +20 -0
- package/angular/utils/formatter/formats/it.d.ts +54 -0
- package/angular/utils/formatter/formats/ja.d.ts +20 -0
- package/angular/utils/formatter/formats/ko.d.ts +20 -0
- package/angular/utils/formatter/formats/mk.d.ts +20 -0
- package/angular/utils/formatter/formats/nl.d.ts +21 -0
- package/angular/utils/formatter/formats/no.d.ts +21 -0
- package/angular/utils/formatter/formats/pl.d.ts +20 -0
- package/angular/utils/formatter/formats/pt.d.ts +20 -0
- package/angular/utils/formatter/formats/ru.d.ts +20 -0
- package/angular/utils/formatter/formats/sv.d.ts +20 -0
- package/angular/utils/formatter/formats/tr.d.ts +21 -0
- package/angular/utils/formatter/formats/zh-CN.d.ts +20 -0
- package/angular/utils/formatter/formats/zh-TW.d.ts +20 -0
- package/angular/utils/formatter/formatter.d.ts +9 -0
- package/angular/utils/formatter/get-dataset-name.d.ts +2 -0
- package/angular/utils/formatter/get-localized-name.d.ts +4 -0
- package/angular/utils/formatter/localize.d.ts +3 -0
- package/angular/utils/formatter/localized-template.d.ts +4 -0
- package/angular/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
- package/angular/utils/formatter/tests/calculate-duration.test.d.ts +1 -0
- package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +1 -0
- package/angular/utils/formatter/tests/default-local-formats.test.d.ts +1 -0
- package/angular/utils/formatter/tests/formatter.test.d.ts +1 -0
- package/angular/utils/formatter/tests/get-localized-name.test.d.ts +1 -0
- package/angular/utils/formatter/tests/localize.test.d.ts +1 -0
- package/angular/utils/formatter/tests/localized-template.test.d.ts +1 -0
- package/angular/utils/formula/base/formula-base.d.ts +117 -0
- package/angular/utils/formula/base/formula-input-base.d.ts +62 -0
- package/angular/utils/formula/codemirror/actions.d.ts +47 -0
- package/angular/utils/formula/codemirror/drop-cursor.d.ts +15 -0
- package/angular/utils/formula/codemirror/icon-element.d.ts +7 -0
- package/angular/utils/formula/codemirror/parser.d.ts +16 -0
- package/angular/utils/formula/codemirror/tests/actions.test.d.ts +1 -0
- package/angular/utils/formula/codemirror/theme.d.ts +20 -0
- package/angular/utils/formula/codemirror/widget.d.ts +18 -0
- package/angular/utils/formula/config/aggregations.d.ts +9 -0
- package/angular/utils/formula/config/build-datasets.d.ts +10 -0
- package/angular/utils/formula/config/expression-helpers.d.ts +42 -0
- package/angular/utils/formula/config/functions.d.ts +3 -0
- package/angular/utils/formula/config/groupings.d.ts +9 -0
- package/angular/utils/formula/config/regex.d.ts +39 -0
- package/angular/utils/formula/config/resolve-column-presentation.d.ts +19 -0
- package/angular/utils/formula/config/tests/build-datasets.test.d.ts +1 -0
- package/angular/utils/formula/config/validate-expression.d.ts +19 -0
- package/angular/utils/formula/load-formula-codemirror.d.ts +4 -0
- package/angular/utils/formula/render-explanation-tooltip.d.ts +7 -0
- package/angular/utils/formula/store/formula-display-store.d.ts +93 -0
- package/angular/utils/formula/store/formula-editor-context.d.ts +8 -0
- package/angular/utils/formula/store/formula-editor-store.d.ts +46 -0
- package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +1 -0
- package/angular/utils/formula/tests/validate-expression.test.d.ts +1 -0
- package/angular/utils/get-css-variable.d.ts +1 -0
- package/angular/utils/index.d.ts +10 -0
- package/angular/utils/localize/set-locale.d.ts +7 -0
- package/angular/utils/map-tile-providers/index.d.ts +93 -0
- package/angular/utils/set-nested-value.d.ts +6 -0
- package/angular/utils/slot-content/ad-hoc-slot-content.d.ts +7 -0
- package/angular/utils/slot-content/render-calculation-label.d.ts +7 -0
- package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +1 -0
- package/angular/utils/slot-state/slot-context.d.ts +4 -0
- package/angular/utils/slot-state/slot-store.d.ts +43 -0
- package/angular/utils/slot-state/tests/slot-store.test.d.ts +1 -0
- package/angular/utils/store/base-store.d.ts +158 -0
- package/angular/utils/store/dashboard-store.d.ts +49 -0
- package/angular/utils/store/index.d.ts +135 -0
- package/angular/utils/store/item-store.d.ts +33 -0
- package/angular/utils/store/store-registry.d.ts +170 -0
- package/angular/utils/store/tests/dashboard-store.test.d.ts +1 -0
- package/angular/utils/store/tests/item-store.test.d.ts +1 -0
- package/angular/utils/store/tests/store-registry.test.d.ts +1 -0
- package/angular/utils/store/types.d.ts +270 -0
- package/angular/utils/switch-item/index.d.ts +34 -0
- package/angular/utils/switch-item/slot-role-classification.d.ts +31 -0
- package/angular/utils/switch-item/stories/switch-item.stories.d.ts +17 -0
- package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +1 -0
- package/angular/utils/switch-item/tests/switch-item.test.d.ts +1 -0
- package/angular/utils/tests/create-lazy-loader.test.d.ts +1 -0
- package/angular/utils/tests/set-nested-value.test.d.ts +1 -0
- package/angular/utils/themes/bliss.d.ts +2 -0
- package/angular/utils/themes/classic-dark.d.ts +2 -0
- package/angular/utils/themes/classic.d.ts +2 -0
- package/angular/utils/themes/default-dark.d.ts +2 -0
- package/angular/utils/themes/default.d.ts +2 -0
- package/angular/utils/themes/index.d.ts +4 -0
- package/angular/utils/themes/orion.d.ts +2 -0
- package/angular/utils/themes/pinky.d.ts +2 -0
- package/angular/utils/themes/radiant.d.ts +2 -0
- package/angular/utils/themes/royale.d.ts +2 -0
- package/angular/utils/themes/seasonal.d.ts +2 -0
- package/angular/utils/themes/urban.d.ts +2 -0
- package/angular/utils/themes/vivid.d.ts +2 -0
- package/angular/utils/time/formats.const.d.ts +4 -0
- package/angular/utils/time/period-over-period-condition.const.d.ts +8 -0
- package/angular/utils/time/periods.const.d.ts +15 -0
- package/angular/utils/timezone/datetime-timezone.d.ts +25 -0
- package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +1 -0
- package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +9 -0
- package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +30 -0
- package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +1 -0
- package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +1 -0
- package/angular/utils/types/tests/type-check.test.d.ts +1 -0
- package/angular/utils/types/type-check.d.ts +28 -0
- package/components/ad-hoc-slot-content-BwcFfXCV.cjs +18 -18
- package/components/ad-hoc-slot-content-hSlT62VS.js +18 -18
- package/components/ai-chat/index.cjs +19 -19
- package/components/ai-chat/index.js +20 -20
- package/components/{ai-chat-DEVIxsRP.cjs → ai-chat-DA6ago8N.cjs} +42 -40
- package/components/{ai-chat-CVxHPPvM.js → ai-chat-kH4xkt7a.js} +764 -742
- package/components/ai-interaction-textarea/index.cjs +19 -19
- package/components/ai-interaction-textarea/index.js +19 -19
- package/components/{ai-interaction-textarea-i9SabsmQ.js → ai-interaction-textarea-Bths0__L.js} +144 -136
- package/components/{ai-interaction-textarea-D_Lw29_i.cjs → ai-interaction-textarea-D1nK3sjL.cjs} +34 -32
- package/components/area-chart-options.config-Bf5kti7Z.cjs +18 -18
- package/components/area-chart-options.config-DJnPr93H.js +18 -18
- package/components/area-chart-options.de-_tPBzxvf.cjs +18 -18
- package/components/area-chart-options.de-pUCTG-s0.js +18 -18
- package/components/area-chart-options.en-AuSHs27k.cjs +18 -18
- package/components/area-chart-options.en-YNsUeMwN.js +18 -18
- package/components/area-chart-options.es-2styw_Fz.js +18 -18
- package/components/area-chart-options.es-BzRHGbo6.cjs +18 -18
- package/components/area-chart-options.fr--WzQVf2z.js +18 -18
- package/components/area-chart-options.fr-DYxUQE3x.cjs +18 -18
- package/components/area-chart-options.nl-BTEIqBtE.js +18 -18
- package/components/area-chart-options.nl-M0xQQ_la.cjs +18 -18
- package/components/area-chart-positioning.config-B8xSL1XU.cjs +18 -18
- package/components/area-chart-positioning.config-C0_dxknc.js +18 -18
- package/components/area-chart-slots.config-BOhwdLnr.cjs +18 -18
- package/components/area-chart-slots.config-ClE-gYVY.js +18 -18
- package/components/axis-options.config-BCP0Z8VI.js +18 -18
- package/components/axis-options.config-s-Js3ug-.cjs +18 -18
- package/components/axis-options.i18n-BOGRmWjp.js +18 -18
- package/components/axis-options.i18n-Cw-DmewV.cjs +18 -18
- package/components/bar-chart-options.config-CI17HU2I.cjs +18 -18
- package/components/bar-chart-options.config-D1x5WPbL.js +18 -18
- package/components/bar-chart-options.de-3qSh2TNr.js +18 -18
- package/components/bar-chart-options.de-545XMRGl.cjs +18 -18
- package/components/bar-chart-options.en-DAee9yHp.cjs +18 -18
- package/components/bar-chart-options.en-DrhQe9rV.js +18 -18
- package/components/bar-chart-options.es-BZ1yNzUQ.js +18 -18
- package/components/bar-chart-options.es-CfoAEZ-0.cjs +18 -18
- package/components/bar-chart-options.fr-5i13R8bs.js +18 -18
- package/components/bar-chart-options.fr-C2Ic0Dq0.cjs +18 -18
- package/components/bar-chart-options.nl-Bb6XiSDH.cjs +18 -18
- package/components/bar-chart-options.nl-DLj-qucU.js +18 -18
- package/components/bar-chart-positioning.config-B4fazkYv.js +18 -18
- package/components/bar-chart-positioning.config-B6A5m0ZR.cjs +18 -18
- package/components/bar-chart-slots.config-DMWjAd5a.cjs +18 -18
- package/components/bar-chart-slots.config-rMFwFprg.js +18 -18
- package/components/base-BRTs2KqJ.js +18 -18
- package/components/base-BWU343D_.cjs +18 -18
- package/components/base-store-BhGpnbqi.js +18 -18
- package/components/base-store-D5cDq6d4.cjs +18 -18
- package/components/bliss-CK3rEnFv.js +18 -18
- package/components/bliss-Cggxb-YF.cjs +18 -18
- package/components/box-plot-options.config-CooBIc6N.js +18 -18
- package/components/box-plot-options.config-Cp6H9fyb.cjs +18 -18
- package/components/box-plot-options.de-BkgscmvG.js +18 -18
- package/components/box-plot-options.de-alI5_N9d.cjs +18 -18
- package/components/box-plot-options.en-5kGlvxx8.js +18 -18
- package/components/box-plot-options.en-DUlXF9r9.cjs +18 -18
- package/components/box-plot-options.es-CIm06Gpk.cjs +18 -18
- package/components/box-plot-options.es-v_B9Xb9H.js +18 -18
- package/components/box-plot-options.fr-C5j-Dzj6.cjs +18 -18
- package/components/box-plot-options.fr-CRSOCgU5.js +18 -18
- package/components/box-plot-options.nl-DtnBbRo5.cjs +18 -18
- package/components/box-plot-options.nl-ZQjVZPau.js +18 -18
- package/components/box-plot-positioning.config-BI9F_JjL.js +18 -18
- package/components/box-plot-positioning.config-DVXXjP8U.cjs +18 -18
- package/components/box-plot-slots.config-5B_pTjPJ.cjs +18 -18
- package/components/box-plot-slots.config-DS2UIfRF.js +18 -18
- package/components/bubble-chart-options.config-B6aLA_1d.js +18 -18
- package/components/bubble-chart-options.config-e_0LM1Uw.cjs +18 -18
- package/components/bubble-chart-options.de-D-ylbLIk.cjs +18 -18
- package/components/bubble-chart-options.de-Q2nhAQfu.js +18 -18
- package/components/bubble-chart-options.en-DedkSXEc.js +18 -18
- package/components/bubble-chart-options.en-YjokcFur.cjs +18 -18
- package/components/bubble-chart-options.es-B7bZFlIa.js +18 -18
- package/components/bubble-chart-options.es-BiM9exvv.cjs +18 -18
- package/components/bubble-chart-options.fr-CB4rhJRR.cjs +18 -18
- package/components/bubble-chart-options.fr-Cz9T05xx.js +18 -18
- package/components/bubble-chart-options.nl-BeiE-TWG.js +18 -18
- package/components/bubble-chart-options.nl-tG0U8b3q.cjs +18 -18
- package/components/bubble-chart-positioning.config-C0tGI4fC.cjs +18 -18
- package/components/bubble-chart-positioning.config-DXhama4z.js +18 -18
- package/components/bubble-chart-slots.config-2qy2RqaU.js +18 -18
- package/components/bubble-chart-slots.config-VHKuntJk.cjs +18 -18
- package/components/bullet-chart-options.config-CBmbmhzI.js +18 -18
- package/components/bullet-chart-options.config-Drv0yQ4x.cjs +18 -18
- package/components/bullet-chart-options.de-DHqxFlm7.js +18 -18
- package/components/bullet-chart-options.de-DQhoZIdV.cjs +18 -18
- package/components/bullet-chart-options.en-6vj0tO4B.js +18 -18
- package/components/bullet-chart-options.en-CTpxw73t.cjs +18 -18
- package/components/bullet-chart-options.es-Cc4GzyJG.cjs +18 -18
- package/components/bullet-chart-options.es-DeDFLO8Z.js +18 -18
- package/components/bullet-chart-options.fr-750sl4sT.js +18 -18
- package/components/bullet-chart-options.fr-D2Z5WBfJ.cjs +18 -18
- package/components/bullet-chart-options.nl-B7tw2hO6.cjs +18 -18
- package/components/bullet-chart-options.nl-CS-xSSVr.js +18 -18
- package/components/bullet-chart-positioning.config-Czlw32Ii.js +18 -18
- package/components/bullet-chart-positioning.config-Dmb_yizO.cjs +18 -18
- package/components/bullet-chart-slots.config-BaMmwIH0.js +18 -18
- package/components/bullet-chart-slots.config-CZfTgKZ4.cjs +18 -18
- package/components/calculate-data-field-icon-DenGmW74.cjs +18 -18
- package/components/calculate-data-field-icon-DrSg1PuD.js +18 -18
- package/components/choropleth-map-options.config-DWWydGJ3.js +18 -18
- package/components/choropleth-map-options.config-VG10yjwC.cjs +18 -18
- package/components/choropleth-map-options.de-DXLufNgZ.js +18 -18
- package/components/choropleth-map-options.de-GB7-eHSP.cjs +18 -18
- package/components/choropleth-map-options.en-CT3LM0TX.cjs +18 -18
- package/components/choropleth-map-options.en-DGENug11.js +18 -18
- package/components/choropleth-map-options.es-D13n2Wh1.cjs +18 -18
- package/components/choropleth-map-options.es-Dn2Cv5D-.js +18 -18
- package/components/choropleth-map-options.fr-CK0tUEO3.js +18 -18
- package/components/choropleth-map-options.fr-CqIpVZuN.cjs +18 -18
- package/components/choropleth-map-options.nl-CwA4TtvT.js +18 -18
- package/components/choropleth-map-options.nl-YqFPhBJJ.cjs +18 -18
- package/components/choropleth-map-positioning.config-BWJmEGy6.js +18 -18
- package/components/choropleth-map-positioning.config-JIj9p6-n.cjs +18 -18
- package/components/choropleth-map-slots.config-CZKWF1qV.cjs +18 -18
- package/components/choropleth-map-slots.config-DqOi1kCn.js +18 -18
- package/components/circle-pack-chart-options.config-BmX0w3cH.cjs +18 -18
- package/components/circle-pack-chart-options.config-D2RCikyA.js +18 -18
- package/components/circle-pack-chart-options.de-BrrPqSBf.js +18 -18
- package/components/circle-pack-chart-options.de-Dlg-Dtyq.cjs +18 -18
- package/components/circle-pack-chart-options.en-ARMcjtyu.cjs +18 -18
- package/components/circle-pack-chart-options.en-BdoNRanZ.js +18 -18
- package/components/circle-pack-chart-options.es-CHFiuQ-k.cjs +18 -18
- package/components/circle-pack-chart-options.es-DLQWaD31.js +18 -18
- package/components/circle-pack-chart-options.fr-B66YY6lg.js +18 -18
- package/components/circle-pack-chart-options.fr-CxDnnCxR.cjs +18 -18
- package/components/circle-pack-chart-options.nl-Dp-iaTw6.cjs +18 -18
- package/components/circle-pack-chart-options.nl-kOeRMk4n.js +18 -18
- package/components/circle-pack-chart-positioning.config-D3Ogj0P9.cjs +18 -18
- package/components/circle-pack-chart-positioning.config-PhYH_yh8.js +18 -18
- package/components/circle-pack-chart-slots.config-B7_1p86m.js +18 -18
- package/components/circle-pack-chart-slots.config-GL7T5_o4.cjs +18 -18
- package/components/circular-gauge-options.config-CSIUw2VN.cjs +18 -18
- package/components/circular-gauge-options.config-syWQJHKT.js +18 -18
- package/components/circular-gauge-options.de-CXNpTJ5Q.cjs +18 -18
- package/components/circular-gauge-options.de-D1DVq08k.js +18 -18
- package/components/circular-gauge-options.en-Cbvt0Mn4.cjs +18 -18
- package/components/circular-gauge-options.en-CsH_VhDL.js +18 -18
- package/components/circular-gauge-options.es-BkiRMNis.js +18 -18
- package/components/circular-gauge-options.es-CHmDAZjB.cjs +18 -18
- package/components/circular-gauge-options.fr-C4mL6X8Z.cjs +18 -18
- package/components/circular-gauge-options.fr-CxySNula.js +18 -18
- package/components/circular-gauge-options.nl-B27G1yLw.cjs +18 -18
- package/components/circular-gauge-options.nl-CcQpr_DM.js +18 -18
- package/components/circular-gauge-positioning.config-COSdEO1U.js +18 -18
- package/components/circular-gauge-positioning.config-DxfZmoEP.cjs +18 -18
- package/components/circular-gauge-slots.config-BxjCP1ao.js +18 -18
- package/components/circular-gauge-slots.config-DUHabt3G.cjs +18 -18
- package/components/classic-BLOsKyb3.js +18 -18
- package/components/classic-dark-B-bGXFgE.cjs +18 -18
- package/components/classic-dark-Bw01Wzq_.js +18 -18
- package/components/classic-fniwVVvX.cjs +18 -18
- package/components/color-BWnYpOu7.js +18 -18
- package/components/color-Bl8h58rV.cjs +18 -18
- package/components/color-palettes-BFpQSXfW.cjs +18 -18
- package/components/color-palettes-D4z1ONyx.js +18 -18
- package/components/color-range-utils-C3HJJUS1.cjs +18 -18
- package/components/color-range-utils-CiqduHJS.js +18 -18
- package/components/column-chart-options.config-B2LIl9lL.js +18 -18
- package/components/column-chart-options.config-xmSH4NKF.cjs +18 -18
- package/components/column-chart-options.de-BX13JkAO.cjs +18 -18
- package/components/column-chart-options.de-CIYtauiG.js +18 -18
- package/components/column-chart-options.en-BkAsfXYV.js +18 -18
- package/components/column-chart-options.en-DAee9yHp.cjs +18 -18
- package/components/column-chart-options.es-CClMQLE-.cjs +18 -18
- package/components/column-chart-options.es-jWM7TxS7.js +18 -18
- package/components/column-chart-options.fr-BB6301nS.js +18 -18
- package/components/column-chart-options.fr-C2Ic0Dq0.cjs +18 -18
- package/components/column-chart-options.nl-Bb6XiSDH.cjs +18 -18
- package/components/column-chart-options.nl-HUMDgKdl.js +18 -18
- package/components/column-chart-positioning.config-6OVsL5vU.cjs +18 -18
- package/components/column-chart-positioning.config-BRYZk4cF.js +18 -18
- package/components/column-chart-slots.config-CM5aytbj.cjs +18 -18
- package/components/column-chart-slots.config-D6MBTcj4.js +18 -18
- package/components/combination-chart-options.config-0ATFph8S.js +18 -18
- package/components/combination-chart-options.config-IEamJGCp.cjs +18 -18
- package/components/combination-chart-options.de-BiGjuWUS.cjs +18 -18
- package/components/combination-chart-options.de-DVJ9sfLC.js +18 -18
- package/components/combination-chart-options.en-B5piXq82.js +18 -18
- package/components/combination-chart-options.en-e4XMalU0.cjs +18 -18
- package/components/combination-chart-options.es-BmuyyP32.js +18 -18
- package/components/combination-chart-options.es-OXb8nozF.cjs +18 -18
- package/components/combination-chart-options.fr-CIrnpWEu.js +18 -18
- package/components/combination-chart-options.fr-CYzANyZs.cjs +18 -18
- package/components/combination-chart-options.nl-BDJ7t0BY.js +18 -18
- package/components/combination-chart-options.nl-DyAUjvqC.cjs +18 -18
- package/components/combination-chart-positioning.config-4qgeM8BL.cjs +18 -18
- package/components/combination-chart-positioning.config-CTj23r8f.js +18 -18
- package/components/combination-chart-slots.config-BwUOXFCR.cjs +18 -18
- package/components/combination-chart-slots.config-dYT9lz8M.js +18 -18
- package/components/conditional-number-options.config-Bv2xONtI.js +18 -18
- package/components/conditional-number-options.config-ZVtstIjn.cjs +18 -18
- package/components/conditional-number-options.de-2xle1pGz.js +18 -18
- package/components/conditional-number-options.de-B4pb0dOt.cjs +18 -18
- package/components/conditional-number-options.en-JLoF4JZy.js +18 -18
- package/components/conditional-number-options.en-RlShluZP.cjs +18 -18
- package/components/conditional-number-options.es-C_g0UqIh.js +18 -18
- package/components/conditional-number-options.es-D6Thuvvq.cjs +18 -18
- package/components/conditional-number-options.fr-C5cASVba.js +18 -18
- package/components/conditional-number-options.fr-CoObS5Et.cjs +18 -18
- package/components/conditional-number-options.nl-BWXoNc8Z.cjs +18 -18
- package/components/conditional-number-options.nl-DiV3DzXR.js +18 -18
- package/components/conditional-number-positioning.config-BUdWeVNm.js +18 -18
- package/components/conditional-number-positioning.config-Dg67t4VA.cjs +18 -18
- package/components/conditional-number-slots.config-B7maHIaG.cjs +18 -18
- package/components/conditional-number-slots.config-DtYkqtN8.js +18 -18
- package/components/convert-datasets-to-data-fields-B13rl1an.cjs +18 -18
- package/components/convert-datasets-to-data-fields-PmQzeVLG.js +18 -18
- package/components/create-lazy-loader-BO_oTDF5.js +18 -18
- package/components/create-lazy-loader-DYPgQh0L.cjs +18 -18
- package/components/cs-a-HHJy3d.cjs +18 -18
- package/components/cs-wc4Fl7IN.js +18 -18
- package/components/da-BuDewcQL.cjs +18 -18
- package/components/da-Byf4w3lJ.js +18 -18
- package/components/data-broker-B0uUO5er.js +18 -18
- package/components/data-broker-CyMYR6w1.cjs +18 -18
- package/components/data-field/index.cjs +18 -18
- package/components/data-field/index.js +18 -18
- package/components/data-field-CwC5VH16.js +18 -18
- package/components/data-field-DHpgI_wv.cjs +18 -18
- package/components/data-field-level/index.cjs +18 -18
- package/components/data-field-level/index.js +18 -18
- package/components/data-field-level-8-eOBdl6.cjs +18 -18
- package/components/data-field-level-Ben_W9pd.js +18 -18
- package/components/data-field-panel/index.cjs +18 -18
- package/components/data-field-panel/index.js +18 -18
- package/components/data-field-panel-CiuTVMXF.cjs +18 -18
- package/components/data-field-panel-DppKRagT.js +18 -18
- package/components/data-fields-select/index.cjs +18 -18
- package/components/data-fields-select/index.js +18 -18
- package/components/data-fields-select-DjDeBEj-.cjs +18 -18
- package/components/data-fields-select-HwMkrPAn.js +18 -18
- package/components/dataset-icon/index.cjs +18 -18
- package/components/dataset-icon/index.js +18 -18
- package/components/dataset-icon-BEq1MNml.js +18 -18
- package/components/dataset-icon-tec1Xulw.cjs +18 -18
- package/components/dataset-selector-list/index.cjs +18 -18
- package/components/dataset-selector-list/index.js +18 -18
- package/components/dataset-selector-list-BL2uKzCy.cjs +18 -18
- package/components/dataset-selector-list-BWavenTF.js +18 -18
- package/components/dataset-selector-row/index.cjs +19 -19
- package/components/dataset-selector-row/index.js +19 -19
- package/components/dataset-selector-row-CRh_a2TO.cjs +104 -0
- package/components/{dataset-selector-row-C_O6h4Ir.js → dataset-selector-row-CiqZrv0T.js} +113 -97
- package/components/date-comparison-filter-options.config-4yHPEJSU.cjs +18 -18
- package/components/date-comparison-filter-options.config-DgLx-m3L.js +18 -18
- package/components/date-comparison-filter-options.de-BSRz6o0Y.js +18 -18
- package/components/date-comparison-filter-options.de-DJ43Wuh1.cjs +18 -18
- package/components/date-comparison-filter-options.en-BeWcjUc3.cjs +18 -18
- package/components/date-comparison-filter-options.en-DLbsNe_t.js +18 -18
- package/components/date-comparison-filter-options.es-ChO2qlIh.js +18 -18
- package/components/date-comparison-filter-options.es-mBbFqdyP.cjs +18 -18
- package/components/date-comparison-filter-options.fr-CJYSimcC.cjs +18 -18
- package/components/date-comparison-filter-options.fr-D9HKPj4L.js +18 -18
- package/components/date-comparison-filter-options.nl-BOMQo1X3.js +18 -18
- package/components/date-comparison-filter-options.nl-DMCiGzTv.cjs +18 -18
- package/components/date-comparison-filter-positioning.config-DZI9jN5L.cjs +18 -18
- package/components/date-comparison-filter-positioning.config-DokVHoP8.js +18 -18
- package/components/date-comparison-filter-slots.config-BKZ13uzB.js +18 -18
- package/components/date-comparison-filter-slots.config-oABOLs3D.cjs +18 -18
- package/components/date-filter-options.config-Cbiy0QKd.js +18 -18
- package/components/date-filter-options.config-saR_u4w-.cjs +18 -18
- package/components/date-filter-options.de-DVRUmqQh.js +18 -18
- package/components/date-filter-options.de-Do8uE7X4.cjs +18 -18
- package/components/date-filter-options.en-DGay_JgN.cjs +18 -18
- package/components/date-filter-options.en-Df-q6Eqf.js +18 -18
- package/components/date-filter-options.es-dwt_ouf1.cjs +18 -18
- package/components/date-filter-options.es-eclXOdtw.js +18 -18
- package/components/date-filter-options.fr-B6CHuun3.js +18 -18
- package/components/date-filter-options.fr-D-OlAJSs.cjs +18 -18
- package/components/date-filter-options.nl-0pj5_uvF.cjs +18 -18
- package/components/date-filter-options.nl-qgltgj2Q.js +18 -18
- package/components/date-filter-positioning.config-CtEFg3RO.cjs +18 -18
- package/components/date-filter-positioning.config-D8wFL4L9.js +18 -18
- package/components/date-filter-slots.config-Cuzz0RjE.cjs +18 -18
- package/components/date-filter-slots.config-SzWky1y7.js +18 -18
- package/components/de-BLMiWrvE.cjs +18 -18
- package/components/de-BhKtDR6p.js +18 -18
- package/components/de-DXFLsh4N.cjs +18 -18
- package/components/de-OHJ9YCFU.js +18 -18
- package/components/decompose-numeric-format-DGJua3rU.cjs +18 -18
- package/components/decompose-numeric-format-DS0j2wa1.js +18 -18
- package/components/decorate-DCJt-2rt.cjs +18 -18
- package/components/decorate-DyMgX_Uh.js +18 -18
- package/components/default-B35Bj34G.js +18 -18
- package/components/default-B5D3aZAS.cjs +18 -18
- package/components/default-acceptable-data-field-types-DFOFWWnT.js +18 -18
- package/components/default-acceptable-data-field-types-fPsz64ka.cjs +18 -18
- package/components/default-dark-BOvJQVaq.cjs +18 -18
- package/components/default-dark-CRMTsWZ1.js +18 -18
- package/components/display-settings/index.cjs +18 -18
- package/components/display-settings/index.js +18 -18
- package/components/display-settings-Dmvi7XT-.cjs +18 -18
- package/components/display-settings-V5AltVPN.js +18 -18
- package/components/display-settings-binning/index.cjs +18 -18
- package/components/display-settings-binning/index.js +18 -18
- package/components/display-settings-binning-BNofVnZE.js +18 -18
- package/components/display-settings-binning-C1Fvc8tj.cjs +18 -18
- package/components/display-settings-datetime/index.cjs +18 -18
- package/components/display-settings-datetime/index.js +18 -18
- package/components/display-settings-datetime-CUR1w0k5.js +18 -18
- package/components/display-settings-datetime-OiFwicTh.cjs +18 -18
- package/components/display-settings-grand-totals/index.cjs +18 -18
- package/components/display-settings-grand-totals/index.js +18 -18
- package/components/display-settings-grand-totals-Bi1OcC7p.cjs +18 -18
- package/components/display-settings-grand-totals-CgzHbK1K.js +18 -18
- package/components/display-settings-numeric/index.cjs +18 -18
- package/components/display-settings-numeric/index.js +18 -18
- package/components/display-settings-numeric-BQ_vQrnj.cjs +18 -18
- package/components/display-settings-numeric-CUWkiQtR.js +18 -18
- package/components/display-settings-period-over-period/index.cjs +18 -18
- package/components/display-settings-period-over-period/index.js +18 -18
- package/components/display-settings-period-over-period-Br08rz7r.cjs +18 -18
- package/components/display-settings-period-over-period-C7cfSyIL.js +18 -18
- package/components/donut-chart-options.config-C8wpZzyJ.js +18 -18
- package/components/donut-chart-options.config-LbmJpNlm.cjs +18 -18
- package/components/donut-chart-options.de-MwhxVUQU.cjs +18 -18
- package/components/donut-chart-options.de-yLZjyrqC.js +18 -18
- package/components/donut-chart-options.en-CtvZekZO.js +18 -18
- package/components/donut-chart-options.en-Z9kCIcjz.cjs +18 -18
- package/components/donut-chart-options.es-C89OYrl4.js +18 -18
- package/components/donut-chart-options.es-Ch83fRxI.cjs +18 -18
- package/components/donut-chart-options.fr-B7JWWsro.cjs +18 -18
- package/components/donut-chart-options.fr-Cy4UUjdS.js +18 -18
- package/components/donut-chart-options.nl-BT6vFbJ5.js +18 -18
- package/components/donut-chart-options.nl-Brxyw7wD.cjs +18 -18
- package/components/donut-chart-positioning.config-B4JdERSl.cjs +18 -18
- package/components/donut-chart-positioning.config-CWGYZUec.js +18 -18
- package/components/donut-chart-slots.config-Bi08z-XB.cjs +18 -18
- package/components/donut-chart-slots.config-fGqtoKZi.js +18 -18
- package/components/dropdown-filter-options.config-BRzYD0KE.cjs +18 -18
- package/components/dropdown-filter-options.config-DkiapYtc.js +18 -18
- package/components/dropdown-filter-options.de-BdvWDGQ4.cjs +18 -18
- package/components/dropdown-filter-options.de-CGwxbXwe.js +18 -18
- package/components/dropdown-filter-options.en-D4YCo5Bj.js +18 -18
- package/components/dropdown-filter-options.en-DEHrGxy0.cjs +18 -18
- package/components/dropdown-filter-options.es-BvFyqxrr.js +18 -18
- package/components/dropdown-filter-options.es-C6qkLl6c.cjs +18 -18
- package/components/dropdown-filter-options.fr-9KlpP9JQ.js +18 -18
- package/components/dropdown-filter-options.fr-DZxfuy7q.cjs +18 -18
- package/components/dropdown-filter-options.nl-4HUfHHPT.js +18 -18
- package/components/dropdown-filter-options.nl-dmpP9bir.cjs +18 -18
- package/components/dropdown-filter-positioning.config-Ck97Moc_.cjs +18 -18
- package/components/dropdown-filter-positioning.config-D1tdnuCP.js +18 -18
- package/components/dropdown-filter-slots.config-CR-Ko6q_.cjs +18 -18
- package/components/dropdown-filter-slots.config-DPcT6v-9.js +18 -18
- package/components/en-CcLhGxIh.js +18 -18
- package/components/en-GB-DzkdeUQh.js +18 -18
- package/components/en-GB-uxY5qmIM.cjs +18 -18
- package/components/en-US-CcLhGxIh.js +18 -18
- package/components/en-US-q_Ruzags.cjs +18 -18
- package/components/en-q_Ruzags.cjs +18 -18
- package/components/es-D8MxHOsN.cjs +18 -18
- package/components/es-DK-49nGv.cjs +18 -18
- package/components/es-DUENN-m1.js +18 -18
- package/components/es-DuN6cMja.js +18 -18
- package/components/evolution-number-options.config-Ca9ABNVM.js +18 -18
- package/components/evolution-number-options.config-CoGBgLLw.cjs +18 -18
- package/components/evolution-number-options.de-BrdcqfjF.js +18 -18
- package/components/evolution-number-options.de-CjNBpzAw.cjs +18 -18
- package/components/evolution-number-options.en-B9BpR4nq.cjs +18 -18
- package/components/evolution-number-options.en-Sd6L4_T9.js +18 -18
- package/components/evolution-number-options.es-CxbiY9G6.cjs +18 -18
- package/components/evolution-number-options.es-RgSav5iQ.js +18 -18
- package/components/evolution-number-options.fr-BD73JeDU.js +18 -18
- package/components/evolution-number-options.fr-Cae20bgZ.cjs +18 -18
- package/components/evolution-number-options.nl-BJ-5M5kB.cjs +18 -18
- package/components/evolution-number-options.nl-WHBQ04_S.js +18 -18
- package/components/evolution-number-positioning.config-CqQeAPbN.cjs +18 -18
- package/components/evolution-number-positioning.config-DZ7SVvue.js +18 -18
- package/components/evolution-number-slots.config-CKawNqUS.js +18 -18
- package/components/evolution-number-slots.config-CikuQYgm.cjs +18 -18
- package/components/fi-CzBe3q93.cjs +18 -18
- package/components/fi-vuFNiOkH.js +18 -18
- package/components/filter-expression-picker/index.cjs +18 -18
- package/components/filter-expression-picker/index.js +18 -18
- package/components/filter-expression-picker-3xcrAACt.js +18 -18
- package/components/filter-expression-picker-BrtXMSBv.cjs +18 -18
- package/components/filter-item/index.cjs +18 -18
- package/components/filter-item/index.js +18 -18
- package/components/filter-item-CH5sjhJy.js +18 -18
- package/components/filter-item-C_h4rbuL.cjs +18 -18
- package/components/filter-parameter-picker/index.cjs +18 -18
- package/components/filter-parameter-picker/index.js +18 -18
- package/components/filter-parameter-picker-CB3uIoZ2.js +18 -18
- package/components/filter-parameter-picker-DJKHZxlT.cjs +18 -18
- package/components/filter-value-picker/index.cjs +18 -18
- package/components/filter-value-picker/index.js +18 -18
- package/components/filter-value-picker-CW9vKpn1.cjs +18 -18
- package/components/filter-value-picker-DeO855hf.js +18 -18
- package/components/filter-value-picker-datetime/index.cjs +18 -18
- package/components/filter-value-picker-datetime/index.js +18 -18
- package/components/filter-value-picker-datetime-B0lLveRY.js +18 -18
- package/components/filter-value-picker-datetime-DapMI9Jr.cjs +18 -18
- package/components/filter-value-picker-hierarchy/index.cjs +18 -18
- package/components/filter-value-picker-hierarchy/index.js +18 -18
- package/components/filter-value-picker-hierarchy-B2xSmjFz.js +18 -18
- package/components/filter-value-picker-hierarchy-C9mJ8PH7.cjs +18 -18
- package/components/filter-value-picker-numeric/index.cjs +18 -18
- package/components/filter-value-picker-numeric/index.js +18 -18
- package/components/filter-value-picker-numeric-CayroCHe.js +18 -18
- package/components/filter-value-picker-numeric-DE5h7dZN.cjs +18 -18
- package/components/filters/index.cjs +18 -18
- package/components/filters/index.js +18 -18
- package/components/filters-CGqIDlPK.cjs +18 -18
- package/components/filters-D5oua2IU.js +18 -18
- package/components/formatter-BeXmurVe.cjs +18 -18
- package/components/formatter-Cq5dFCyU.js +18 -18
- package/components/formula/index.cjs +18 -18
- package/components/formula/index.js +18 -18
- package/components/formula-8YhND5Y7.cjs +18 -18
- package/components/formula-B4lrmE5g.js +18 -18
- package/components/formula-codemirror-CBvQJGHq.cjs +18 -18
- package/components/formula-codemirror-CVlF_Qyh.js +18 -18
- package/components/formula-display-store-BJvPYYsO.cjs +18 -18
- package/components/formula-display-store-D9MWhreP.js +18 -18
- package/components/formula-editor/index.cjs +18 -18
- package/components/formula-editor/index.js +18 -18
- package/components/formula-editor-BGT-QcuH.js +18 -18
- package/components/formula-editor-De9Zj-9c.cjs +18 -18
- package/components/formula-field/index.cjs +18 -18
- package/components/formula-field/index.js +18 -18
- package/components/formula-field--gNwmTRk.cjs +18 -18
- package/components/formula-field-CQcnyXOD.js +18 -18
- package/components/formula-input-base-BdKh5O_E.js +18 -18
- package/components/formula-input-base-CZih19kC.cjs +18 -18
- package/components/fr-BlAUad9k.cjs +18 -18
- package/components/fr-CePmGBUH.js +18 -18
- package/components/fr-CwOLJGv2.js +18 -18
- package/components/fr-uE3fb3kc.cjs +18 -18
- package/components/funnel-chart-options.config-CygQsQVD.js +18 -18
- package/components/funnel-chart-options.config-DgpM8mWb.cjs +18 -18
- package/components/funnel-chart-options.de-CW29wkd4.cjs +18 -18
- package/components/funnel-chart-options.de-DIoKO3fr.js +18 -18
- package/components/funnel-chart-options.en-CGVFwHzU.cjs +18 -18
- package/components/funnel-chart-options.en-Doj4mREG.js +18 -18
- package/components/funnel-chart-options.es-Bcot5MS3.cjs +18 -18
- package/components/funnel-chart-options.es-D-GP_b6C.js +18 -18
- package/components/funnel-chart-options.fr-7ZROacsE.cjs +18 -18
- package/components/funnel-chart-options.fr-BoQkeuls.js +18 -18
- package/components/funnel-chart-options.nl-C0VZ6Ure.cjs +18 -18
- package/components/funnel-chart-options.nl-CRq-RjxK.js +18 -18
- package/components/funnel-chart-positioning.config-B6I8z0_N.js +18 -18
- package/components/funnel-chart-positioning.config-BhK0EStG.cjs +18 -18
- package/components/funnel-chart-slots.config-B8zC6Q6_.cjs +18 -18
- package/components/funnel-chart-slots.config-CfnSH4Ay.js +18 -18
- package/components/get-css-variable-CBXsAxR6.cjs +18 -18
- package/components/get-css-variable-DYnldi15.js +18 -18
- package/components/get-dataset-name-DLjeChNS.js +18 -18
- package/components/get-dataset-name-mGNEfkAv.cjs +18 -18
- package/components/groupings-C1WNuUBe.js +18 -18
- package/components/groupings-CvXvU4Fr.cjs +18 -18
- package/components/guidelines-options.config-D-ZuReR_.cjs +18 -18
- package/components/guidelines-options.config-DyedEeX2.js +18 -18
- package/components/he-CdtHCved.cjs +18 -18
- package/components/he-Cs_3gvpL.js +18 -18
- package/components/heat-map-options.config-DtDh9Gpy.cjs +18 -18
- package/components/heat-map-options.config-X96sw-BV.js +18 -18
- package/components/heat-map-options.de-CdqO8c7P.js +18 -18
- package/components/heat-map-options.de-Zq-m7g1c.cjs +18 -18
- package/components/heat-map-options.en-BAnXacHE.js +18 -18
- package/components/heat-map-options.en-CbP14v8z.cjs +18 -18
- package/components/heat-map-options.es-8rTCVZlw.js +18 -18
- package/components/heat-map-options.es-CUkrnKed.cjs +18 -18
- package/components/heat-map-options.fr-DXcosm8B.cjs +18 -18
- package/components/heat-map-options.fr-DbGhKWbq.js +18 -18
- package/components/heat-map-options.nl-B8LsAqqA.cjs +18 -18
- package/components/heat-map-options.nl-nw2vqBOn.js +18 -18
- package/components/heat-map-positioning.config-B9Njs88T.cjs +18 -18
- package/components/heat-map-positioning.config-DAAt2hIR.js +18 -18
- package/components/heat-map-slots.config-D2ypExJQ.js +18 -18
- package/components/heat-map-slots.config-Wp_oS8JQ.cjs +18 -18
- package/components/heat-table-options.config-CugBuoUA.cjs +18 -18
- package/components/heat-table-options.config-D6dA9J97.js +18 -18
- package/components/heat-table-options.de-D16uyY3b.cjs +18 -18
- package/components/heat-table-options.de-PCwpTsHu.js +18 -18
- package/components/heat-table-options.en-DCNhZ0Qw.js +18 -18
- package/components/heat-table-options.en-Dhd_yZdX.cjs +18 -18
- package/components/heat-table-options.es-DPqviw02.cjs +18 -18
- package/components/heat-table-options.es-Dhtu0ztS.js +18 -18
- package/components/heat-table-options.fr-BVwdrQWA.cjs +18 -18
- package/components/heat-table-options.fr-dtKsuwpe.js +18 -18
- package/components/heat-table-options.nl-BAiKDY6k.cjs +18 -18
- package/components/heat-table-options.nl-Bc0JFpfk.js +18 -18
- package/components/heat-table-positioning.config-Cn7Ouv5g.cjs +18 -18
- package/components/heat-table-positioning.config-D6ChanEH.js +18 -18
- package/components/heat-table-slots.config-B1iOn6ay.js +18 -18
- package/components/heat-table-slots.config-BN7rtHZG.cjs +18 -18
- package/components/helpers-B2IWxa9q.cjs +18 -18
- package/components/helpers-irnB2xbq.js +18 -18
- package/components/hexbin-map-options.config-BGmgxnMh.cjs +18 -18
- package/components/hexbin-map-options.config-FK9DrXGD.js +18 -18
- package/components/hexbin-map-options.de-Ch56ViJL.cjs +18 -18
- package/components/hexbin-map-options.de-IOtNvdRA.js +18 -18
- package/components/hexbin-map-options.en-BHNWW3n5.cjs +18 -18
- package/components/hexbin-map-options.en-DKEF0zQn.js +18 -18
- package/components/hexbin-map-options.es-CinY6Q9x.cjs +18 -18
- package/components/hexbin-map-options.es-FkXMepZ7.js +18 -18
- package/components/hexbin-map-options.fr-3EQtw1--.cjs +18 -18
- package/components/hexbin-map-options.fr-DT7-Cefu.js +18 -18
- package/components/hexbin-map-options.nl-2P7aufJe.cjs +18 -18
- package/components/hexbin-map-options.nl-BwgDBrw4.js +18 -18
- package/components/hexbin-map-positioning.config-BqfRSZbU.cjs +18 -18
- package/components/hexbin-map-positioning.config-CNId41q1.js +18 -18
- package/components/hexbin-map-slots.config-CC1xZINm.js +18 -18
- package/components/hexbin-map-slots.config-mx5zUTrA.cjs +18 -18
- package/components/hu-BXedq4ZF.js +18 -18
- package/components/hu-D0kNP1hN.cjs +18 -18
- package/components/icon-element-DpN-9yaN.cjs +18 -18
- package/components/icon-element-_jY440X2.js +18 -18
- package/components/image-options.config-DZ5q1D63.cjs +18 -18
- package/components/image-options.config-DxF0RSUF.js +18 -18
- package/components/image-options.de-Bh8QqYb_.js +18 -18
- package/components/image-options.de-Bm7MsFjT.cjs +18 -18
- package/components/image-options.en-Bt3w6SPu.cjs +18 -18
- package/components/image-options.en-D2iUVarz.js +18 -18
- package/components/image-options.es-CKpabSfB.js +18 -18
- package/components/image-options.es-ecJMtP0F.cjs +18 -18
- package/components/image-options.fr-D5P3FQRB.cjs +18 -18
- package/components/image-options.fr-vfaeguWy.js +18 -18
- package/components/image-options.nl-B16JINhD.js +18 -18
- package/components/image-options.nl-B7M__YOZ.cjs +18 -18
- package/components/image-slots.config-BPJRdlMR.cjs +18 -18
- package/components/image-slots.config-Ba8NXeCH.js +18 -18
- package/components/index.cjs +19 -19
- package/components/index.js +21 -21
- package/components/info-tooltip-options.config-B9T0cwSM.cjs +18 -18
- package/components/info-tooltip-options.config-BmSMkirf.js +18 -18
- package/components/info-tooltip-options.i18n-B3u0H74j.cjs +18 -18
- package/components/info-tooltip-options.i18n-CDx47Py-.js +18 -18
- package/components/interactive-viz-item/index.cjs +18 -18
- package/components/interactive-viz-item/index.js +18 -18
- package/components/interactive-viz-item-CzIT8K3I.js +18 -18
- package/components/interactive-viz-item-DUyE1QEJ.cjs +18 -18
- package/components/interactivity-options.config-BjEGNaIz.js +18 -18
- package/components/interactivity-options.config-Bzk2L-qh.cjs +18 -18
- package/components/interactivity-options.i18n-BsYv4Rh9.cjs +18 -18
- package/components/interactivity-options.i18n-UhOnnlBC.js +18 -18
- package/components/it-BZF7oRfg.cjs +18 -18
- package/components/it-BoudiwDn.js +18 -18
- package/components/item-context-configs.cjs +18 -18
- package/components/item-context-configs.js +18 -18
- package/components/item-grid/index.cjs +18 -18
- package/components/item-grid/index.js +18 -18
- package/components/item-grid-BaW6EZ2a.js +18 -18
- package/components/item-grid-BcgBGxIq.cjs +18 -18
- package/components/item-list.cjs +18 -18
- package/components/item-list.js +18 -18
- package/components/item-option/index.cjs +18 -18
- package/components/item-option/index.js +18 -18
- package/components/item-option-8PQMxg8v.cjs +18 -18
- package/components/item-option-action-button-group/index.cjs +18 -18
- package/components/item-option-action-button-group/index.js +18 -18
- package/components/item-option-action-button-group-BcZTtikv.js +18 -18
- package/components/item-option-action-button-group-zZp49Gbz.cjs +18 -18
- package/components/item-option-base-DJ9FLqmu.js +18 -18
- package/components/item-option-base-K2pn6CrX.cjs +18 -18
- package/components/item-option-color-palette-picker/index.cjs +18 -18
- package/components/item-option-color-palette-picker/index.js +18 -18
- package/components/item-option-color-palette-picker-B9JlHGA8.cjs +18 -18
- package/components/item-option-color-palette-picker-DJX3MxcT.js +18 -18
- package/components/item-option-color-picker/index.cjs +18 -18
- package/components/item-option-color-picker/index.js +18 -18
- package/components/item-option-color-picker-Dgz-VK03.js +18 -18
- package/components/item-option-color-picker-ayYko5QB.cjs +18 -18
- package/components/item-option-color-range/index.cjs +18 -18
- package/components/item-option-color-range/index.js +18 -18
- package/components/item-option-color-range-Cc8thG33.cjs +18 -18
- package/components/item-option-color-range-DibSfro5.js +18 -18
- package/components/item-option-em2Lp2zJ.js +18 -18
- package/components/item-option-guidelines/index.cjs +18 -18
- package/components/item-option-guidelines/index.js +18 -18
- package/components/item-option-guidelines-DXUcdAel.js +18 -18
- package/components/item-option-guidelines-h5-NrAYD.cjs +18 -18
- package/components/item-option-multi-language-field/index.cjs +18 -18
- package/components/item-option-multi-language-field/index.js +18 -18
- package/components/item-option-multi-language-field-BlnTZCFJ.cjs +18 -18
- package/components/item-option-multi-language-field-Bqo9OeK4.js +18 -18
- package/components/item-option-number-field/index.cjs +18 -18
- package/components/item-option-number-field/index.js +18 -18
- package/components/item-option-number-field-BZHhCuuj.js +18 -18
- package/components/item-option-number-field-D9vv1Q-O.cjs +18 -18
- package/components/item-option-panel/index.cjs +18 -18
- package/components/item-option-panel/index.js +18 -18
- package/components/item-option-panel-Bo3sC4u5.cjs +18 -18
- package/components/item-option-panel-DvgDiRPH.js +18 -18
- package/components/item-option-picker/index.cjs +18 -18
- package/components/item-option-picker/index.js +18 -18
- package/components/item-option-picker-D5xhm36O.cjs +18 -18
- package/components/item-option-picker-cy0KK-ev.js +18 -18
- package/components/item-option-position-picker/index.cjs +18 -18
- package/components/item-option-position-picker/index.js +18 -18
- package/components/item-option-position-picker-BJ35DWBL.cjs +18 -18
- package/components/item-option-position-picker-BbYP1Jnh.js +18 -18
- package/components/item-option-positions-number-field/index.cjs +18 -18
- package/components/item-option-positions-number-field/index.js +18 -18
- package/components/item-option-positions-number-field-DO4z_aKu.js +18 -18
- package/components/item-option-positions-number-field-DzYQoSpk.cjs +18 -18
- package/components/item-option-radio-button-group/index.cjs +18 -18
- package/components/item-option-radio-button-group/index.js +18 -18
- package/components/item-option-radio-button-group-CF1gttvP.cjs +18 -18
- package/components/item-option-radio-button-group-DX7wCv8J.js +18 -18
- package/components/item-option-slider/index.cjs +18 -18
- package/components/item-option-slider/index.js +18 -18
- package/components/item-option-slider-DeGmGyZE.cjs +18 -18
- package/components/item-option-slider-z1CwX5mE.js +18 -18
- package/components/item-option-switch/index.cjs +18 -18
- package/components/item-option-switch/index.js +18 -18
- package/components/item-option-switch-D3jq7jIt.cjs +18 -18
- package/components/item-option-switch-D41KguKr.js +18 -18
- package/components/item-option-text-field/index.cjs +18 -18
- package/components/item-option-text-field/index.js +18 -18
- package/components/item-option-text-field-CnFcApMz.js +18 -18
- package/components/item-option-text-field-cXy2sx5N.cjs +18 -18
- package/components/item-options-configs.cjs +18 -18
- package/components/item-options-configs.js +18 -18
- package/components/item-slot-drop/index.cjs +18 -18
- package/components/item-slot-drop/index.js +18 -18
- package/components/item-slot-drop-CtEMLkmt.cjs +18 -18
- package/components/item-slot-drop-YAKpKb2-.js +18 -18
- package/components/item-slot-drop-panel/index.cjs +18 -18
- package/components/item-slot-drop-panel/index.js +18 -18
- package/components/item-slot-drop-panel-JZtBKPJu.js +18 -18
- package/components/item-slot-drop-panel-aom0ugTz.cjs +18 -18
- package/components/item-slot-picker/index.cjs +18 -18
- package/components/item-slot-picker/index.js +18 -18
- package/components/item-slot-picker-D-FvHowO.js +18 -18
- package/components/item-slot-picker-D8h7QXGD.cjs +18 -18
- package/components/item-slot-picker-panel/index.cjs +18 -18
- package/components/item-slot-picker-panel/index.js +18 -18
- package/components/item-slot-picker-panel-C98lpd4g.cjs +18 -18
- package/components/item-slot-picker-panel-g4JDw1M_.js +18 -18
- package/components/item-slots-configs.cjs +18 -18
- package/components/item-slots-configs.js +18 -18
- package/components/ja-DOkmGGSd.js +18 -18
- package/components/ja-aOzAwMPW.cjs +18 -18
- package/components/ko-B50TWXco.cjs +18 -18
- package/components/ko-BrzKwqTe.js +18 -18
- package/components/line-chart-options.config-C3_RnROS.js +18 -18
- package/components/line-chart-options.config-RTYFJQSE.cjs +18 -18
- package/components/line-chart-options.de-CKbHARjX.cjs +18 -18
- package/components/line-chart-options.de-CtxTZ-Nx.js +18 -18
- package/components/line-chart-options.en-BgXtU92P.js +18 -18
- package/components/line-chart-options.en-DmtT3Hbw.cjs +18 -18
- package/components/line-chart-options.es--u7QlrhG.js +18 -18
- package/components/line-chart-options.es-BwyQviz-.cjs +18 -18
- package/components/line-chart-options.fr-BUwOFGR7.cjs +18 -18
- package/components/line-chart-options.fr-BaPc1M70.js +18 -18
- package/components/line-chart-options.nl-BkPXShNF.cjs +18 -18
- package/components/line-chart-options.nl-C86fSn7a.js +18 -18
- package/components/line-chart-positioning.config-BZUWqKWz.cjs +18 -18
- package/components/line-chart-positioning.config-C3VzNcws.js +18 -18
- package/components/line-chart-slots.config-CA-I6B6o.js +18 -18
- package/components/line-chart-slots.config-vv66fcoE.cjs +18 -18
- package/components/load-data-fields-for-datasets-B3XcFFfg.js +18 -18
- package/components/load-data-fields-for-datasets-rL24A68g.cjs +18 -18
- package/components/localize-BT7REYBY.js +18 -18
- package/components/localize-D3i4Epy_.cjs +18 -18
- package/components/localized-mixin-DaLXe5J9.js +18 -18
- package/components/localized-mixin-DiUJOd06.cjs +18 -18
- package/components/map-tile-providers-DzSBmFkY.cjs +18 -18
- package/components/map-tile-providers-RN2cWRln.js +18 -18
- package/components/marker-map-options.config-OMdgbAc4.js +18 -18
- package/components/marker-map-options.config-SkhbtEh0.cjs +18 -18
- package/components/marker-map-options.de-BSu8VCAw.cjs +18 -18
- package/components/marker-map-options.de-DVb2ab5i.js +18 -18
- package/components/marker-map-options.en-BNwkDxQB.js +18 -18
- package/components/marker-map-options.en-CKMe-zNW.cjs +18 -18
- package/components/marker-map-options.es-CY2DRGKv.js +18 -18
- package/components/marker-map-options.es-D6x5XPW7.cjs +18 -18
- package/components/marker-map-options.fr-D31wgwxG.js +18 -18
- package/components/marker-map-options.fr-xZ7ixq37.cjs +18 -18
- package/components/marker-map-options.nl-Bvo1Sgwp.cjs +18 -18
- package/components/marker-map-options.nl-DyZo_CFt.js +18 -18
- package/components/marker-map-positioning.config-BlvgG6yX.js +18 -18
- package/components/marker-map-positioning.config-CGF74mJI.cjs +18 -18
- package/components/marker-map-slots.config-CcGNgr1_.js +18 -18
- package/components/marker-map-slots.config-DigZk7lN.cjs +18 -18
- package/components/mk-CehJi277.cjs +18 -18
- package/components/mk-Deht4BwZ.js +18 -18
- package/components/nl-BaZM3WoR.js +18 -18
- package/components/nl-BoEhzeIh.cjs +18 -18
- package/components/nl-C1BTOQ5N.js +18 -18
- package/components/nl-wyer9j4m.cjs +18 -18
- package/components/no-C9FQ33Mp.js +18 -18
- package/components/no-PqE_GjX_.cjs +18 -18
- package/components/ohlc-chart-options.config-CWRI5bXI.js +18 -18
- package/components/ohlc-chart-options.config-Pqd5MFIv.cjs +18 -18
- package/components/ohlc-chart-options.de-DtanuVcU.cjs +18 -18
- package/components/ohlc-chart-options.de-LnJmQjiR.js +18 -18
- package/components/ohlc-chart-options.en-B7TU8CK4.js +18 -18
- package/components/ohlc-chart-options.en-CStPyUia.cjs +18 -18
- package/components/ohlc-chart-options.es-B7m8-_pA.js +18 -18
- package/components/ohlc-chart-options.es-CfTI32Rg.cjs +18 -18
- package/components/ohlc-chart-options.fr-C53gRLh5.cjs +18 -18
- package/components/ohlc-chart-options.fr-u_Bi9raw.js +18 -18
- package/components/ohlc-chart-options.nl-BrpwjNGt.js +18 -18
- package/components/ohlc-chart-options.nl-Dh9iPIWB.cjs +18 -18
- package/components/ohlc-chart-positioning.config-B__cD7Wo.cjs +18 -18
- package/components/ohlc-chart-positioning.config-BdbEgiry.js +18 -18
- package/components/ohlc-chart-slots.config-D3fzoQJH.cjs +18 -18
- package/components/ohlc-chart-slots.config-Pv0xst-Y.js +18 -18
- package/components/orion-CXeT8EeB.js +18 -18
- package/components/orion-DkQrXOy_.cjs +18 -18
- package/components/parallel-coordinates-plot-options.config-2BbzNgJ9.cjs +18 -18
- package/components/parallel-coordinates-plot-options.config-DbuNgevO.js +18 -18
- package/components/parallel-coordinates-plot-options.de-BwbOcCnH.js +18 -18
- package/components/parallel-coordinates-plot-options.de-CDtIM_Z2.cjs +18 -18
- package/components/parallel-coordinates-plot-options.en-BlzPfF-b.js +18 -18
- package/components/parallel-coordinates-plot-options.en-Bu7cMLrv.cjs +18 -18
- package/components/parallel-coordinates-plot-options.es-BPgUHedg.cjs +18 -18
- package/components/parallel-coordinates-plot-options.es-CPAqJPEY.js +18 -18
- package/components/parallel-coordinates-plot-options.fr-BUxk85Ud.cjs +18 -18
- package/components/parallel-coordinates-plot-options.fr-DRTOCvqg.js +18 -18
- package/components/parallel-coordinates-plot-options.nl-CHuWgaYV.cjs +18 -18
- package/components/parallel-coordinates-plot-options.nl-DqXxaV_Z.js +18 -18
- package/components/parallel-coordinates-plot-positioning.config-BqdmUJLk.cjs +18 -18
- package/components/parallel-coordinates-plot-positioning.config-DNu5qhNR.js +18 -18
- package/components/parallel-coordinates-plot-slots.config-GvYC-RXK.js +18 -18
- package/components/parallel-coordinates-plot-slots.config-s_tLqGA-.cjs +18 -18
- package/components/period-over-period-condition.const-BZ7j5Z5t.js +18 -18
- package/components/period-over-period-condition.const-C1NZ9Bkp.cjs +18 -18
- package/components/periods.const-Db0nXrwr.cjs +18 -18
- package/components/periods.const-NCTkxnvG.js +18 -18
- package/components/pinky-CtuaRwwY.js +18 -18
- package/components/pinky-TtncdghA.cjs +18 -18
- package/components/pivot-table-options.config-CTz4bcGJ.js +18 -18
- package/components/pivot-table-options.config-D6Hdgnof.cjs +18 -18
- package/components/pivot-table-options.de-CZjCOf23.js +18 -18
- package/components/pivot-table-options.de-D4WdihDf.cjs +18 -18
- package/components/pivot-table-options.en-Ch0mKBst.cjs +18 -18
- package/components/pivot-table-options.en-Z6QZwj0n.js +18 -18
- package/components/pivot-table-options.es-DKNkDOBt.cjs +18 -18
- package/components/pivot-table-options.es-DW1enov2.js +18 -18
- package/components/pivot-table-options.fr-BAKlur9_.cjs +18 -18
- package/components/pivot-table-options.fr-Cl4jkSR4.js +18 -18
- package/components/pivot-table-options.nl-2mSHbpcz.cjs +18 -18
- package/components/pivot-table-options.nl-CaWEP9qN.js +18 -18
- package/components/pivot-table-positioning.config-CUfnXIHj.js +18 -18
- package/components/pivot-table-positioning.config-DDpgWCZ7.cjs +18 -18
- package/components/pivot-table-slots.config-BAW0U3nh.js +18 -18
- package/components/pivot-table-slots.config-KlYXL90k.cjs +18 -18
- package/components/pl-4xvkt0Pl.js +18 -18
- package/components/pl-Cu6_UJbA.cjs +18 -18
- package/components/pragmatic-element-adapter-D0LRKx5U.js +18 -18
- package/components/pragmatic-element-adapter-DdyH32ix.cjs +18 -18
- package/components/pt-BUpCBhz9.js +18 -18
- package/components/pt-fymmI5Y3.cjs +18 -18
- package/components/pyramid-chart-options.config-C7btzuZj.js +18 -18
- package/components/pyramid-chart-options.config-ClLsv7PT.cjs +18 -18
- package/components/pyramid-chart-options.de-BYqibA2g.cjs +18 -18
- package/components/pyramid-chart-options.de-C7n_k-tE.js +18 -18
- package/components/pyramid-chart-options.en-Cu93qdAo.js +18 -18
- package/components/pyramid-chart-options.en-HiLgjfbn.cjs +18 -18
- package/components/pyramid-chart-options.es-BQ8qCZ32.cjs +18 -18
- package/components/pyramid-chart-options.es-DCRAv4r_.js +18 -18
- package/components/pyramid-chart-options.fr-BA7xAAsG.cjs +18 -18
- package/components/pyramid-chart-options.fr-CLXgcrPz.js +18 -18
- package/components/pyramid-chart-options.nl-BYiPyjuQ.cjs +18 -18
- package/components/pyramid-chart-options.nl-CylUmHpw.js +18 -18
- package/components/pyramid-chart-positioning.config-B2TxqefZ.cjs +18 -18
- package/components/pyramid-chart-positioning.config-CZBcrHEG.js +18 -18
- package/components/pyramid-chart-slots.config-CreUpxI2.cjs +18 -18
- package/components/pyramid-chart-slots.config-CsMMyhV3.js +18 -18
- package/components/radar-chart-options.config-B5WP2MPc.cjs +18 -18
- package/components/radar-chart-options.config-CtA6MpUp.js +18 -18
- package/components/radar-chart-options.de-BZPerBca.js +18 -18
- package/components/radar-chart-options.de-D9sVJ3e-.cjs +18 -18
- package/components/radar-chart-options.en-Brb_kgjH.cjs +18 -18
- package/components/radar-chart-options.en-tDJgJQVC.js +18 -18
- package/components/radar-chart-options.es-BmpV458O.cjs +18 -18
- package/components/radar-chart-options.es-Dz4wRR-P.js +18 -18
- package/components/radar-chart-options.fr-B-gaDJX4.cjs +18 -18
- package/components/radar-chart-options.fr-D5KXeury.js +18 -18
- package/components/radar-chart-options.nl-D3_CmNB3.js +18 -18
- package/components/radar-chart-options.nl-DH_wKvgI.cjs +18 -18
- package/components/radar-chart-positioning.config-ddvHAHJF.cjs +18 -18
- package/components/radar-chart-positioning.config-j1WOeFnM.js +18 -18
- package/components/radar-chart-slots.config-8Kf_WAFi.js +18 -18
- package/components/radar-chart-slots.config-B3oIp-8w.cjs +18 -18
- package/components/radiant-Brxg53Bd.cjs +18 -18
- package/components/radiant-CFMCU8Ue.js +18 -18
- package/components/regular-table-options.config-BRmS77t-.js +18 -18
- package/components/regular-table-options.config-nBBnO4ru.cjs +18 -18
- package/components/regular-table-options.de-C1P8Cfb_.cjs +18 -18
- package/components/regular-table-options.de-g9j453gb.js +18 -18
- package/components/regular-table-options.en-BrufALdp.js +18 -18
- package/components/regular-table-options.en-C2gYTBRo.cjs +18 -18
- package/components/regular-table-options.es-CTDJJHWO.js +18 -18
- package/components/regular-table-options.es-okSFyOya.cjs +18 -18
- package/components/regular-table-options.fr-CcAJM6IR.cjs +18 -18
- package/components/regular-table-options.fr-CwmYI6Kh.js +18 -18
- package/components/regular-table-options.nl-Dco7Br5G.js +18 -18
- package/components/regular-table-options.nl-YAFLo-aU.cjs +18 -18
- package/components/regular-table-positioning.config-CXabhyJu.cjs +18 -18
- package/components/regular-table-positioning.config-DegSA7rc.js +18 -18
- package/components/regular-table-slots.config-UwzWj6gg.cjs +18 -18
- package/components/regular-table-slots.config-r-N9A-qA.js +18 -18
- package/components/resolve-column-presentation-BaEP1mvs.js +18 -18
- package/components/resolve-column-presentation-DUETRVCH.cjs +18 -18
- package/components/rolldown-runtime-mLOUI7ql.cjs +18 -18
- package/components/route-map-options.config-C65J81_7.js +18 -18
- package/components/route-map-options.config-DS9cCAQK.cjs +18 -18
- package/components/route-map-options.de-B6WL0heF.cjs +18 -18
- package/components/route-map-options.de-C8gPppGo.js +18 -18
- package/components/route-map-options.en-BCuStpST.cjs +18 -18
- package/components/route-map-options.en-Bqo2qPTY.js +18 -18
- package/components/route-map-options.es-Bk1nyazp.js +18 -18
- package/components/route-map-options.es-DRPguAOv.cjs +18 -18
- package/components/route-map-options.fr-CIOd_axV.cjs +18 -18
- package/components/route-map-options.fr-vq0ht9wS.js +18 -18
- package/components/route-map-options.nl-BQoR8rHj.cjs +18 -18
- package/components/route-map-options.nl-CBhNlitV.js +18 -18
- package/components/route-map-positioning.config-ChBYybF1.js +18 -18
- package/components/route-map-positioning.config-xBhhxtYu.cjs +18 -18
- package/components/route-map-slots.config-DMII2UuP.js +18 -18
- package/components/route-map-slots.config-DfYT65BF.cjs +18 -18
- package/components/royale-BiMs0EtI.cjs +18 -18
- package/components/royale-Cy1oOAE2.js +18 -18
- package/components/ru-CkNBR3ab.js +18 -18
- package/components/ru-RyEkpfw0.cjs +18 -18
- package/components/sankey-diagram-options.config-DZDqv5aI.cjs +18 -18
- package/components/sankey-diagram-options.config-nQDCRhKs.js +18 -18
- package/components/sankey-diagram-options.de-CDt5-4Rb.js +18 -18
- package/components/sankey-diagram-options.de-UZnVsw9I.cjs +18 -18
- package/components/sankey-diagram-options.en-65nfEWo_.js +18 -18
- package/components/sankey-diagram-options.en-BfINAD0e.cjs +18 -18
- package/components/sankey-diagram-options.es-JD4SHY3x.js +18 -18
- package/components/sankey-diagram-options.es-quSoEKtB.cjs +18 -18
- package/components/sankey-diagram-options.fr-B7wQDggY.js +18 -18
- package/components/sankey-diagram-options.fr-DeoKurMp.cjs +18 -18
- package/components/sankey-diagram-options.nl-2B5ScaJK.cjs +18 -18
- package/components/sankey-diagram-options.nl-CHqVVjut.js +18 -18
- package/components/sankey-diagram-positioning.config-CudMit_S.js +18 -18
- package/components/sankey-diagram-positioning.config-tZu-dDV-.cjs +18 -18
- package/components/sankey-diagram-slots.config-D-_u4w36.cjs +18 -18
- package/components/sankey-diagram-slots.config-DmWIGut0.js +18 -18
- package/components/scatter-plot-options.config-BplrME7w.js +18 -18
- package/components/scatter-plot-options.config-DJW85uFv.cjs +18 -18
- package/components/scatter-plot-options.de-3CPVK7Hi.cjs +18 -18
- package/components/scatter-plot-options.de-CNLrv6j3.js +18 -18
- package/components/scatter-plot-options.en-DigMzpQy.js +18 -18
- package/components/scatter-plot-options.en-Dzvigy8-.cjs +18 -18
- package/components/scatter-plot-options.es-C-IH7GVH.cjs +18 -18
- package/components/scatter-plot-options.es-CQm_VVqJ.js +18 -18
- package/components/scatter-plot-options.fr-Cdp6kPQi.cjs +18 -18
- package/components/scatter-plot-options.fr-s0M39VT4.js +18 -18
- package/components/scatter-plot-options.nl-CqpPIO03.js +18 -18
- package/components/scatter-plot-options.nl-DeINlMqc.cjs +18 -18
- package/components/scatter-plot-positioning.config-BoJEGmgK.js +18 -18
- package/components/scatter-plot-positioning.config-DQOtIhJi.cjs +18 -18
- package/components/scatter-plot-slots.config-B7wQVEEj.js +18 -18
- package/components/scatter-plot-slots.config-CrG6wQtV.cjs +18 -18
- package/components/search-filter-options.config-B-dGVPhS.cjs +18 -18
- package/components/search-filter-options.config-yAz6IIto.js +18 -18
- package/components/search-filter-options.de-BxVThclj.js +18 -18
- package/components/search-filter-options.de-XhjxPeKG.cjs +18 -18
- package/components/search-filter-options.en-Bp3Pgxmd.cjs +18 -18
- package/components/search-filter-options.en-CVxOFFq-.js +18 -18
- package/components/search-filter-options.es-CXfwE4S3.cjs +18 -18
- package/components/search-filter-options.es-YKtCfXeL.js +18 -18
- package/components/search-filter-options.fr-GGa8ofab.js +18 -18
- package/components/search-filter-options.fr-bif0VBh1.cjs +18 -18
- package/components/search-filter-options.nl-DZhs-o0B.cjs +18 -18
- package/components/search-filter-options.nl-ysVe1z-i.js +18 -18
- package/components/search-filter-positioning.config-BvwxJS-1.cjs +18 -18
- package/components/search-filter-positioning.config-DOSL-FX_.js +18 -18
- package/components/search-filter-slots.config-D8-V0BT5.js +18 -18
- package/components/search-filter-slots.config-DP06ulJA.cjs +18 -18
- package/components/seasonal-DTf_okZ2.cjs +18 -18
- package/components/seasonal-DZkRSBgY.js +18 -18
- package/components/set-locale-Xh_1AFbC.cjs +18 -18
- package/components/set-locale-ydAPif-7.js +18 -18
- package/components/set-nested-value-B-4IelRl.cjs +18 -18
- package/components/set-nested-value-V1TdquO3.js +18 -18
- package/components/slicer-filter-options.config-BtGkT2hI.js +18 -18
- package/components/slicer-filter-options.config-Cyjd_SRY.cjs +18 -18
- package/components/slicer-filter-options.de-7mpgtwLj.cjs +18 -18
- package/components/slicer-filter-options.de-Ck5STkcT.js +18 -18
- package/components/slicer-filter-options.en-CiYiPtJB.cjs +18 -18
- package/components/slicer-filter-options.en-RaYV5qQy.js +18 -18
- package/components/slicer-filter-options.es-B8VkLkMj.cjs +18 -18
- package/components/slicer-filter-options.es-C1LS6cqV.js +18 -18
- package/components/slicer-filter-options.fr-CYOej3j3.js +18 -18
- package/components/slicer-filter-options.fr-DV9DiqqL.cjs +18 -18
- package/components/slicer-filter-options.nl-B9CyFXTX.js +18 -18
- package/components/slicer-filter-options.nl-DVeUTVn7.cjs +18 -18
- package/components/slicer-filter-positioning.config-CY4jw7_A.js +18 -18
- package/components/slicer-filter-positioning.config-CZY2fvwt.cjs +18 -18
- package/components/slicer-filter-slots.config-CHKpdJvF.cjs +18 -18
- package/components/slicer-filter-slots.config-DR0Wg_Zr.js +18 -18
- package/components/slider-filter-options.config-BeIw6IrQ.cjs +18 -18
- package/components/slider-filter-options.config-D_yZ_nFz.js +18 -18
- package/components/slider-filter-options.de-CK9B4Rir.cjs +18 -18
- package/components/slider-filter-options.de-CUPN4B_3.js +18 -18
- package/components/slider-filter-options.en-CqnlQHF8.js +18 -18
- package/components/slider-filter-options.en-ZDfr4vqY.cjs +18 -18
- package/components/slider-filter-options.es-CN-cg2rH.js +18 -18
- package/components/slider-filter-options.es-CeAMKv7C.cjs +18 -18
- package/components/slider-filter-options.fr-BxgSJRs4.js +18 -18
- package/components/slider-filter-options.fr-D44hi-fD.cjs +18 -18
- package/components/slider-filter-options.nl-Cd41AI1Z.js +18 -18
- package/components/slider-filter-options.nl-p1nxsQFL.cjs +18 -18
- package/components/slider-filter-positioning.config-DSoEN2ip.js +18 -18
- package/components/slider-filter-positioning.config-a7tK-5va.cjs +18 -18
- package/components/slider-filter-slots.config-9R298H0t.cjs +18 -18
- package/components/slider-filter-slots.config-BUHw-32u.js +18 -18
- package/components/slot-labels.config-3nXLBRdr.js +18 -18
- package/components/slot-labels.config-DKnxOncr.cjs +18 -18
- package/components/slot-menu/index.cjs +18 -18
- package/components/slot-menu/index.js +18 -18
- package/components/slot-menu-Bl6PrLIN.cjs +18 -18
- package/components/slot-menu-hIK2_qR3.js +18 -18
- package/components/slot-menu-list/index.cjs +18 -18
- package/components/slot-menu-list/index.js +18 -18
- package/components/slot-menu-list-BgwZS32Q.js +18 -18
- package/components/slot-menu-list-BhgD2zt4.cjs +18 -18
- package/components/slot-role-classification-2wChhpcq.cjs +18 -18
- package/components/slot-role-classification-B8bkGhQ_.js +18 -18
- package/components/slots-config-Cd4xAG4H.cjs +18 -18
- package/components/slots-config-GlSNH7Gr.js +18 -18
- package/components/spacer-options.config-BsbiQt-1.cjs +18 -18
- package/components/spacer-options.config-C27xkF_H.js +18 -18
- package/components/speedometer-chart-options.config-BL7evgzP.js +18 -18
- package/components/speedometer-chart-options.config-CEIZfeYG.cjs +18 -18
- package/components/speedometer-chart-options.de-9J5HFt8T.js +18 -18
- package/components/speedometer-chart-options.de-Duicdnfl.cjs +18 -18
- package/components/speedometer-chart-options.en-DSQsXJfa.js +18 -18
- package/components/speedometer-chart-options.en-t4qxY0EQ.cjs +18 -18
- package/components/speedometer-chart-options.es-0JgXONad.cjs +18 -18
- package/components/speedometer-chart-options.es-BGphL673.js +18 -18
- package/components/speedometer-chart-options.fr-CAsCn9Vw.cjs +18 -18
- package/components/speedometer-chart-options.fr-Cj4C4th7.js +18 -18
- package/components/speedometer-chart-options.nl-BKNd6tYT.js +18 -18
- package/components/speedometer-chart-options.nl-COjZR7lk.cjs +18 -18
- package/components/speedometer-chart-positioning.config-D3CWnYTb.cjs +18 -18
- package/components/speedometer-chart-positioning.config-cBMverSU.js +18 -18
- package/components/speedometer-chart-slots.config-2Y_x52Gy.js +18 -18
- package/components/speedometer-chart-slots.config-S_hQm2MV.cjs +18 -18
- package/components/spike-map-options.config-BRwdTyrp.cjs +18 -18
- package/components/spike-map-options.config-DjoTrAsC.js +18 -18
- package/components/spike-map-options.de-Cdd3EEF2.cjs +18 -18
- package/components/spike-map-options.de-J48HW0-l.js +18 -18
- package/components/spike-map-options.en-B55b8Jn_.cjs +18 -18
- package/components/spike-map-options.en-Cic1NUan.js +18 -18
- package/components/spike-map-options.es-DOmj973W.cjs +18 -18
- package/components/spike-map-options.es-DbCa45oc.js +18 -18
- package/components/spike-map-options.fr-DHr9Aw6b.cjs +18 -18
- package/components/spike-map-options.fr-LqDsPbpZ.js +18 -18
- package/components/spike-map-options.nl-BYSBD11T.cjs +18 -18
- package/components/spike-map-options.nl-CRaM6WoB.js +18 -18
- package/components/spike-map-positioning.config-i7ntIkN5.cjs +18 -18
- package/components/spike-map-positioning.config-vuoKutnj.js +18 -18
- package/components/spike-map-slots.config-DJWMFPIR.js +18 -18
- package/components/spike-map-slots.config-cKfaD6dQ.cjs +18 -18
- package/components/strip-plot-options.config-DpRoR04b.cjs +18 -18
- package/components/strip-plot-options.config-tDmVlu9U.js +18 -18
- package/components/strip-plot-options.de-BhNKiBKE.cjs +18 -18
- package/components/strip-plot-options.de-vzJck0Vn.js +18 -18
- package/components/strip-plot-options.en-Bdv_ZOrd.js +18 -18
- package/components/strip-plot-options.en-Cxfv-AD6.cjs +18 -18
- package/components/strip-plot-options.es-B4qu-PBV.cjs +18 -18
- package/components/strip-plot-options.es-B91vttJc.js +18 -18
- package/components/strip-plot-options.fr-BJCQe-Bn.cjs +18 -18
- package/components/strip-plot-options.fr-DJQiJ_Zf.js +18 -18
- package/components/strip-plot-options.nl-BtIGpq6K.cjs +18 -18
- package/components/strip-plot-options.nl-Dx7PVRrW.js +18 -18
- package/components/strip-plot-positioning.config-C2H-io7l.cjs +18 -18
- package/components/strip-plot-positioning.config-_-ElbWoV.js +18 -18
- package/components/strip-plot-slots.config-DNYlrK_c.cjs +18 -18
- package/components/strip-plot-slots.config-suFyIf5-.js +18 -18
- package/components/sunburst-chart-options.config-Bjue_lQN.js +18 -18
- package/components/sunburst-chart-options.config-DszAtggj.cjs +18 -18
- package/components/sunburst-chart-options.de-Cv5jxNjX.js +18 -18
- package/components/sunburst-chart-options.de-DV_80qR9.cjs +18 -18
- package/components/sunburst-chart-options.en-Zfns8M0i.cjs +18 -18
- package/components/sunburst-chart-options.en-wsOVOyb6.js +18 -18
- package/components/sunburst-chart-options.es-BSKiBxl_.cjs +18 -18
- package/components/sunburst-chart-options.es-Qhu6VcVi.js +18 -18
- package/components/sunburst-chart-options.fr-DOcWgNOZ.cjs +18 -18
- package/components/sunburst-chart-options.fr-GdCEoo8O.js +18 -18
- package/components/sunburst-chart-options.nl-D2JXoYTB.cjs +18 -18
- package/components/sunburst-chart-options.nl-oTUKol5z.js +18 -18
- package/components/sunburst-chart-positioning.config-MB8z_ZfG.cjs +18 -18
- package/components/sunburst-chart-positioning.config-yzTnv1BQ.js +18 -18
- package/components/sunburst-chart-slots.config-BqVT-h0Z.js +18 -18
- package/components/sunburst-chart-slots.config-DkUUt5RF.cjs +18 -18
- package/components/sv-CtRGTNGV.cjs +18 -18
- package/components/sv-D2kQHkgH.js +18 -18
- package/components/symbol-map-options.config-Ce0Kv7N7.cjs +18 -18
- package/components/symbol-map-options.config-Dyeya5Z2.js +18 -18
- package/components/symbol-map-options.de-BiDrG9dj.cjs +18 -18
- package/components/symbol-map-options.de-CAapWyZM.js +18 -18
- package/components/symbol-map-options.en-CaXeV5i_.js +18 -18
- package/components/symbol-map-options.en-DLHLVF14.cjs +18 -18
- package/components/symbol-map-options.es-Bv7kYGH2.cjs +18 -18
- package/components/symbol-map-options.es-Ccu0xWZb.js +18 -18
- package/components/symbol-map-options.fr-B7F1XlQX.js +18 -18
- package/components/symbol-map-options.fr-BCMc9cTL.cjs +18 -18
- package/components/symbol-map-options.nl-BiSD07Wp.cjs +18 -18
- package/components/symbol-map-options.nl-DkV83AGA.js +18 -18
- package/components/symbol-map-positioning.config-BPkEp4Pj.js +18 -18
- package/components/symbol-map-positioning.config-L11e_Z3x.cjs +18 -18
- package/components/symbol-map-slots.config-DwNf547A.cjs +18 -18
- package/components/symbol-map-slots.config-Rhpher5o.js +18 -18
- package/components/text-options.config-BwBCG2yo.cjs +18 -18
- package/components/text-options.config-CXhvzzPF.js +18 -18
- package/components/text-options.de-Rtef15Lz.js +18 -18
- package/components/text-options.de-hh7o6URS.cjs +18 -18
- package/components/text-options.en-Dq7UNCRY.cjs +18 -18
- package/components/text-options.en-YdJ2bVwv.js +18 -18
- package/components/text-options.es-BSxIMxFF.cjs +18 -18
- package/components/text-options.es-Chd8-zuc.js +18 -18
- package/components/text-options.fr-CBUn8HSn.cjs +18 -18
- package/components/text-options.fr-CWeBOXaW.js +18 -18
- package/components/text-options.nl-CUiG2YHs.cjs +18 -18
- package/components/text-options.nl-CyY1z7nM.js +18 -18
- package/components/text-slots.config-CPghLc8b.cjs +18 -18
- package/components/text-slots.config-Dzj4-x2G.js +18 -18
- package/components/themes-CQZd578_.js +18 -18
- package/components/themes-kvrISOTz.cjs +18 -18
- package/components/tokens-BWMfo_w4.cjs +18 -18
- package/components/tokens-Ov1pCR4Y.js +18 -18
- package/components/tr-B66hMkRl.js +18 -18
- package/components/tr-xcDpAdjw.cjs +18 -18
- package/components/treemap-chart-options.config-BzOCEWog.js +18 -18
- package/components/treemap-chart-options.config-Cpj6vD6I.cjs +18 -18
- package/components/treemap-chart-options.de-BWg_01-W.cjs +18 -18
- package/components/treemap-chart-options.de-ByDBntoA.js +18 -18
- package/components/treemap-chart-options.en-0-5g1Vjs.js +18 -18
- package/components/treemap-chart-options.en-D18VTnD9.cjs +18 -18
- package/components/treemap-chart-options.es-BzkqvqXv.cjs +18 -18
- package/components/treemap-chart-options.es-CDkb_3c3.js +18 -18
- package/components/treemap-chart-options.fr-g6917FeS.cjs +18 -18
- package/components/treemap-chart-options.fr-rj0fjvUO.js +18 -18
- package/components/treemap-chart-options.nl-BTh-UB95.cjs +18 -18
- package/components/treemap-chart-options.nl-CQjDtoqG.js +18 -18
- package/components/treemap-chart-positioning.config-40_GcY2u.cjs +18 -18
- package/components/treemap-chart-positioning.config-CitiBQB2.js +18 -18
- package/components/treemap-chart-slots.config-CS3ot6ZJ.cjs +18 -18
- package/components/treemap-chart-slots.config-DRcafVU-.js +18 -18
- package/components/type-check-BehV9ZL1.cjs +18 -18
- package/components/type-check-CGREdneG.js +18 -18
- package/components/types-DNRGKFSD.js +18 -18
- package/components/types-pVa6ut_v.cjs +18 -18
- package/components/types.cjs +18 -18
- package/components/types.js +18 -18
- package/components/urban-8R0DqHZs.js +18 -18
- package/components/urban-CQa3SGnB.cjs +18 -18
- package/components/utils/base.cjs +18 -18
- package/components/utils/base.js +18 -18
- package/components/utils/store.cjs +18 -18
- package/components/utils/store.js +18 -18
- package/components/utils-SzKvwZ9-.cjs +18 -18
- package/components/utils-_8LPCz9-.js +18 -18
- package/components/utils.cjs +18 -18
- package/components/utils.js +18 -18
- package/components/v4-DIjJgmR0.js +18 -18
- package/components/v4-Dyp-SQ1c.cjs +18 -18
- package/components/venn-diagram-options.config-BMlduwIp.js +18 -18
- package/components/venn-diagram-options.config-BamlR1qo.cjs +18 -18
- package/components/venn-diagram-positioning.config-A28suR_R.js +18 -18
- package/components/venn-diagram-positioning.config-C7bkb2Qv.cjs +18 -18
- package/components/venn-diagram-slots.config-CMDndPVi.js +18 -18
- package/components/venn-diagram-slots.config-DYTmU8v2.cjs +18 -18
- package/components/video-options.config-BhBpkaLJ.cjs +18 -18
- package/components/video-options.config-DdfSTJEJ.js +18 -18
- package/components/video-options.de-BCRCouhI.cjs +18 -18
- package/components/video-options.de-CqDvojKb.js +18 -18
- package/components/video-options.en-CQ-1XqqN.cjs +18 -18
- package/components/video-options.en-DWsFJndr.js +18 -18
- package/components/video-options.es-C986CdLZ.js +18 -18
- package/components/video-options.es-HbR-p7Ll.cjs +18 -18
- package/components/video-options.fr-2LYvhyUV.cjs +18 -18
- package/components/video-options.fr-CF8lEOzZ.js +18 -18
- package/components/video-options.nl-CRGUzFaP.cjs +18 -18
- package/components/video-options.nl-DnHgROBb.js +18 -18
- package/components/video-slots.config-DMut7o7r.cjs +18 -18
- package/components/video-slots.config-Utnn0DBW.js +18 -18
- package/components/vivid-K5FZ8F8v.cjs +18 -18
- package/components/vivid-YDTQ3C2-.js +18 -18
- package/components/viz-item-menu/index.cjs +18 -18
- package/components/viz-item-menu/index.js +18 -18
- package/components/viz-item-menu-DsIJZRgm.js +18 -18
- package/components/viz-item-menu-DtHlgOqt.cjs +18 -18
- package/components/wordcloud-chart-options.config-BQ4Z-vPT.cjs +18 -18
- package/components/wordcloud-chart-options.config-y9Z5I_ZN.js +18 -18
- package/components/wordcloud-chart-options.de-0T6RwBxn.js +18 -18
- package/components/wordcloud-chart-options.de-Bi2Qjaam.cjs +18 -18
- package/components/wordcloud-chart-options.en-6YsE8vZq.cjs +18 -18
- package/components/wordcloud-chart-options.en-xMN7HxWU.js +18 -18
- package/components/wordcloud-chart-options.es-BQib5Adk.cjs +18 -18
- package/components/wordcloud-chart-options.es-DPccPG_x.js +18 -18
- package/components/wordcloud-chart-options.fr-4orpVaAN.cjs +18 -18
- package/components/wordcloud-chart-options.fr-D6DKbL9I.js +18 -18
- package/components/wordcloud-chart-options.nl-BAdq6R0h.cjs +18 -18
- package/components/wordcloud-chart-options.nl-CBKMvA4E.js +18 -18
- package/components/wordcloud-chart-positioning.config-BQFzFNko.cjs +18 -18
- package/components/wordcloud-chart-positioning.config-Dk13J1zq.js +18 -18
- package/components/wordcloud-chart-slots.config-CvabtgbP.js +18 -18
- package/components/wordcloud-chart-slots.config-V29v2Fhr.cjs +18 -18
- package/components/zh-CN-CnxgkEiH.cjs +18 -18
- package/components/zh-CN-EbmFbkUF.js +18 -18
- package/components/zh-TW-CnxgkEiH.cjs +18 -18
- package/components/zh-TW-zX5KG7hP.js +18 -18
- package/custom-elements.json +55 -3
- package/package.json +2 -2
- package/react/components/ai-chat.component.ts +1 -1
- package/react/esm/components/ai-chat.component.d.ts +1 -1
- package/react/esm/components/ai-chat.component.js +1 -1
- package/react/package.json +2 -2
- package/standalone/chunks/{base-CR5wZnQk.js → base-DBoiLw2X.js} +1 -1
- package/standalone/chunks/{display-settings-binning-D3wYG0p7.js → display-settings-binning-BdL-A59O.js} +1 -1
- package/standalone/chunks/{display-settings-datetime-D37ERF0v.js → display-settings-datetime-DEOgG9Fn.js} +1 -1
- package/standalone/chunks/{display-settings-grand-totals-CKm9PkBj.js → display-settings-grand-totals-uYYRykWG.js} +1 -1
- package/standalone/chunks/{display-settings-numeric-f9Mdphm-.js → display-settings-numeric-BSCNC8eE.js} +1 -1
- package/standalone/chunks/{display-settings-period-over-period-Cl-vLKk3.js → display-settings-period-over-period-Cq6dAc0d.js} +1 -1
- package/standalone/chunks/{embed-B3y_k1ri.js → embed-BVDnEJte.js} +1 -1
- package/standalone/chunks/{filters-CIOtenxx.js → filters-DvUCMgUM.js} +1 -1
- package/standalone/chunks/{formula-codemirror-BXh_3Te_.js → formula-codemirror-BMr35_Qe.js} +1 -1
- package/standalone/chunks/{item-option-action-button-group-DdbUGL3Q.js → item-option-action-button-group-ChkHzrj7.js} +1 -1
- package/standalone/chunks/{item-option-base-CJwisW9b.js → item-option-base-USb5kln8.js} +1 -1
- package/standalone/chunks/{item-option-color-palette-picker-CIM_beO6.js → item-option-color-palette-picker-DZPKR8Dr.js} +1 -1
- package/standalone/chunks/{item-option-color-picker-CFeaAV1o.js → item-option-color-picker-CGHlkA30.js} +1 -1
- package/standalone/chunks/{item-option-color-range-DlZPq0gW.js → item-option-color-range-CpALVHsD.js} +1 -1
- package/standalone/chunks/{item-option-guidelines-DTTp08iA.js → item-option-guidelines-HHzEU0r2.js} +1 -1
- package/standalone/chunks/{item-option-multi-language-field-DPrary5L.js → item-option-multi-language-field-COcs0I2s.js} +1 -1
- package/standalone/chunks/{item-option-number-field-DqTWCfQm.js → item-option-number-field-B_eRAtHf.js} +1 -1
- package/standalone/chunks/{item-option-panel-PNWjgMMu.js → item-option-panel-Dvp20wQQ.js} +2 -2
- package/standalone/chunks/{item-option-picker-dpSAYz4b.js → item-option-picker-BUFJQkyo.js} +1 -1
- package/standalone/chunks/{item-option-position-picker-CHSKJ29N.js → item-option-position-picker-DMQgZ50L.js} +1 -1
- package/standalone/chunks/{item-option-positions-number-field-DaUTQCTD.js → item-option-positions-number-field-CezoJKkM.js} +1 -1
- package/standalone/chunks/{item-option-radio-button-group-cy5Lc7Yg.js → item-option-radio-button-group-Dc1NIqVl.js} +1 -1
- package/standalone/chunks/{item-option-slider-CA-mF5rp.js → item-option-slider-DXrcOBkc.js} +1 -1
- package/standalone/chunks/{item-option-switch-Dp2L-Owv.js → item-option-switch-DYJCL_ZU.js} +1 -1
- package/standalone/chunks/{item-option-text-field-dmwmrTKe.js → item-option-text-field-DAzMUN29.js} +1 -1
- package/standalone/chunks/{item-slot-picker-panel-DRqvLkhG.js → item-slot-picker-panel-DiRjYi-2.js} +2 -2
- package/standalone/chunks/{load-data-fields-for-datasets-D74yX8C2.js → load-data-fields-for-datasets-D6Mm3A1F.js} +1 -1
- package/standalone/chunks/{load-formula-codemirror-D1TsWHH6.js → load-formula-codemirror-DY6C-Kxf.js} +1 -1
- package/standalone/chunks/{localized-mixin-j1gjzMSn.js → localized-mixin-BJ8UiX2u.js} +1 -1
- package/standalone/chunks/{luzmo-icon-markup-BENMHpB_.js → luzmo-icon-markup-Cw93OB80.js} +1 -1
- package/standalone/chunks/{task-BRrSUTFr.js → task-pfWn4DHD.js} +1 -1
- package/standalone/interactive-viz-item.js +19 -19
- package/standalone/item-grid.js +19 -19
- package/standalone/manifest.json +33 -33
- package/components/ai-chat/ai-chat-events.d.ts +0 -139
- package/components/ai-chat/ai-chat-request.d.ts +0 -25
- package/components/ai-chat/ai-chat.d.ts +0 -347
- package/components/ai-chat/ai-prompt-types.d.ts +0 -133
- package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +0 -46
- package/components/ai-chat/empty-state/index.d.ts +0 -8
- package/components/ai-chat/empty-state/types.d.ts +0 -14
- package/components/ai-chat/helpers/agent-config.d.ts +0 -12
- package/components/ai-chat/helpers/elicitation-template.d.ts +0 -18
- package/components/ai-chat/index.d.ts +0 -24
- package/components/ai-chat/session/ai-chat-session-controller.d.ts +0 -60
- package/components/ai-chat/session/ai-chat-session-types.d.ts +0 -119
- package/components/ai-chat/session/ai-chat-session.d.ts +0 -119
- package/components/ai-chat/session/index.d.ts +0 -2
- package/components/ai-chat/stream/chunk-extractors.d.ts +0 -29
- package/components/ai-chat/stream/index.d.ts +0 -53
- package/components/ai-chat/stream/progress.d.ts +0 -3
- package/components/ai-chat/stream/registry.d.ts +0 -6
- package/components/ai-chat/stream/stream-processor.d.ts +0 -2
- package/components/ai-chat/stream/transport.d.ts +0 -26
- package/components/ai-chat/stream/types.d.ts +0 -59
- package/components/ai-chat/types.d.ts +0 -24
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +0 -232
- package/components/ai-interaction-textarea/index.d.ts +0 -10
- package/components/ai-interaction-textarea/types.d.ts +0 -12
- package/components/data-field/data-field.d.ts +0 -31
- package/components/data-field/index.d.ts +0 -9
- package/components/data-field/types.d.ts +0 -4
- package/components/data-field-level/data-field-level.d.ts +0 -40
- package/components/data-field-level/helpers/generate-preview.d.ts +0 -9
- package/components/data-field-level/index.d.ts +0 -8
- package/components/data-field-panel/data-field-panel.d.ts +0 -231
- package/components/data-field-panel/index.d.ts +0 -9
- package/components/data-field-panel/types.d.ts +0 -27
- package/components/data-fields-select/data-fields-select.d.ts +0 -137
- package/components/data-fields-select/index.d.ts +0 -9
- package/components/data-fields-select/types.d.ts +0 -4
- package/components/dataset-icon/dataset-icon.d.ts +0 -45
- package/components/dataset-icon/index.d.ts +0 -8
- package/components/dataset-icon/types.d.ts +0 -11
- package/components/dataset-selector-list/dataset-selector-list.d.ts +0 -106
- package/components/dataset-selector-list/index.d.ts +0 -8
- package/components/dataset-selector-row/dataset-selector-row.d.ts +0 -135
- package/components/dataset-selector-row/index.d.ts +0 -9
- package/components/dataset-selector-row-BP4Txybx.cjs +0 -102
- package/components/display-settings/display-settings.d.ts +0 -117
- package/components/display-settings/index.d.ts +0 -8
- package/components/display-settings/types.d.ts +0 -9
- package/components/display-settings-binning/display-settings-binning.d.ts +0 -32
- package/components/display-settings-binning/index.d.ts +0 -8
- package/components/display-settings-datetime/display-settings-datetime.d.ts +0 -86
- package/components/display-settings-datetime/index.d.ts +0 -8
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +0 -29
- package/components/display-settings-grand-totals/index.d.ts +0 -8
- package/components/display-settings-numeric/display-settings-numeric.d.ts +0 -82
- package/components/display-settings-numeric/helpers/constants.d.ts +0 -19
- package/components/display-settings-numeric/index.d.ts +0 -8
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +0 -76
- package/components/display-settings-period-over-period/helpers/constants.d.ts +0 -44
- package/components/display-settings-period-over-period/index.d.ts +0 -8
- package/components/filter-expression-picker/filter-expression-picker.d.ts +0 -77
- package/components/filter-expression-picker/index.d.ts +0 -7
- package/components/filter-item/filter-item.d.ts +0 -142
- package/components/filter-item/index.d.ts +0 -8
- package/components/filter-parameter-picker/filter-parameter-picker.d.ts +0 -91
- package/components/filter-parameter-picker/filter-parameter-picker.helpers.d.ts +0 -8
- package/components/filter-parameter-picker/index.d.ts +0 -9
- package/components/filter-parameter-picker/types.d.ts +0 -4
- package/components/filter-value-picker/filter-value-picker.d.ts +0 -72
- package/components/filter-value-picker/index.d.ts +0 -7
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +0 -51
- package/components/filter-value-picker-datetime/index.d.ts +0 -7
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +0 -105
- package/components/filter-value-picker-hierarchy/index.d.ts +0 -7
- package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +0 -89
- package/components/filter-value-picker-numeric/index.d.ts +0 -7
- package/components/filters/filters.d.ts +0 -182
- package/components/filters/index.d.ts +0 -12
- package/components/filters/transformations/clean-filters.d.ts +0 -37
- package/components/filters/transformations/filter-format.d.ts +0 -54
- package/components/filters/transformations/transform-filters.d.ts +0 -52
- package/components/filters/types.d.ts +0 -65
- package/components/formula/formula.d.ts +0 -66
- package/components/formula/index.d.ts +0 -7
- package/components/formula-codemirror/formula-codemirror.d.ts +0 -79
- package/components/formula-codemirror/index.d.ts +0 -7
- package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +0 -125
- package/components/formula-codemirror/pills/formula-aggregation/index.d.ts +0 -7
- package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +0 -28
- package/components/formula-codemirror/pills/formula-empty-argument-pill/index.d.ts +0 -7
- package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +0 -38
- package/components/formula-draggable-field/formula-draggable-field.d.ts +0 -53
- package/components/formula-draggable-field/index.d.ts +0 -8
- package/components/formula-draggable-field/types.d.ts +0 -24
- package/components/formula-editor/formula-aggregations-list.d.ts +0 -21
- package/components/formula-editor/formula-datasets-list.d.ts +0 -37
- package/components/formula-editor/formula-description.d.ts +0 -17
- package/components/formula-editor/formula-editor.d.ts +0 -85
- package/components/formula-editor/formula-functions-list.d.ts +0 -28
- package/components/formula-editor/index.d.ts +0 -12
- package/components/formula-field/formula-field.d.ts +0 -20
- package/components/formula-field/index.d.ts +0 -7
- package/components/interactive-viz-item/helpers/chart-helpers.d.ts +0 -7
- package/components/interactive-viz-item/index.d.ts +0 -10
- package/components/interactive-viz-item/interactive-viz-item.d.ts +0 -97
- package/components/interactive-viz-item/load-config-panel.d.ts +0 -2
- package/components/interactive-viz-item/types.d.ts +0 -117
- package/components/item-grid/actions.d.ts +0 -3
- package/components/item-grid/helpers/grid-effects.d.ts +0 -1
- package/components/item-grid/helpers/grid-events.d.ts +0 -56
- package/components/item-grid/helpers/grid-interactions.d.ts +0 -88
- package/components/item-grid/helpers/grid-item-management.d.ts +0 -30
- package/components/item-grid/helpers/grid-item-popover.d.ts +0 -21
- package/components/item-grid/helpers/grid-items.d.ts +0 -9
- package/components/item-grid/helpers/grid-keyboard-updates.d.ts +0 -18
- package/components/item-grid/helpers/grid-keydown-event.d.ts +0 -18
- package/components/item-grid/helpers/grid-popover-cleanup.d.ts +0 -4
- package/components/item-grid/helpers/grid-rendering.d.ts +0 -69
- package/components/item-grid/helpers/grid-stack-lifecycle.d.ts +0 -26
- package/components/item-grid/helpers/grid-theme.d.ts +0 -16
- package/components/item-grid/helpers/grid-update-cycle.d.ts +0 -22
- package/components/item-grid/index.d.ts +0 -12
- package/components/item-grid/item-grid-item-actions-menu.d.ts +0 -35
- package/components/item-grid/item-grid.d.ts +0 -251
- package/components/item-grid/types.d.ts +0 -57
- package/components/item-menu/item-list/item-list.d.ts +0 -37
- package/components/item-option/helpers/control-markup.d.ts +0 -14
- package/components/item-option/helpers/control-templates/action-button-group-template.d.ts +0 -2
- package/components/item-option/helpers/control-templates/color-palette-picker-template.d.ts +0 -2
- package/components/item-option/helpers/control-templates/color-picker-template.d.ts +0 -2
- package/components/item-option/helpers/control-templates/color-range-template.d.ts +0 -2
- package/components/item-option/helpers/control-templates/guidelines-template.d.ts +0 -3
- package/components/item-option/helpers/control-templates/multi-language-field-template.d.ts +0 -8
- package/components/item-option/helpers/control-templates/number-field-template.d.ts +0 -2
- package/components/item-option/helpers/control-templates/picker-template.d.ts +0 -2
- package/components/item-option/helpers/control-templates/position-picker-template.d.ts +0 -2
- package/components/item-option/helpers/control-templates/positions-number-field-template.d.ts +0 -2
- package/components/item-option/helpers/control-templates/radio-button-group.d.ts +0 -2
- package/components/item-option/helpers/control-templates/slider-template.d.ts +0 -2
- package/components/item-option/helpers/control-templates/switch-template.d.ts +0 -2
- package/components/item-option/helpers/control-templates/text-field-template.d.ts +0 -7
- package/components/item-option/helpers/enum-values.d.ts +0 -7
- package/components/item-option/helpers/generate-callback.d.ts +0 -1
- package/components/item-option/helpers/get-control-by-key.d.ts +0 -1
- package/components/item-option/helpers/get-default-value.d.ts +0 -1
- package/components/item-option/helpers/get-enum-values.d.ts +0 -1
- package/components/item-option/helpers/get-extra-label-values.d.ts +0 -7
- package/components/item-option/helpers/get-value-by-key.d.ts +0 -1
- package/components/item-option/index.d.ts +0 -8
- package/components/item-option/item-option.d.ts +0 -59
- package/components/item-option/types.d.ts +0 -8
- package/components/item-option-action-button-group/index.d.ts +0 -8
- package/components/item-option-action-button-group/item-option-action-button-group.d.ts +0 -36
- package/components/item-option-base/item-option-base.d.ts +0 -23
- package/components/item-option-color-palette-picker/index.d.ts +0 -8
- package/components/item-option-color-palette-picker/item-option-color-palette-picker.d.ts +0 -46
- package/components/item-option-color-picker/index.d.ts +0 -8
- package/components/item-option-color-picker/item-option-color-picker.d.ts +0 -33
- package/components/item-option-color-range/index.d.ts +0 -8
- package/components/item-option-color-range/item-option-color-range.d.ts +0 -99
- package/components/item-option-guidelines/helpers/guidelines-value.d.ts +0 -12
- package/components/item-option-guidelines/index.d.ts +0 -10
- package/components/item-option-guidelines/item-option-guidelines.d.ts +0 -74
- package/components/item-option-guidelines/types.d.ts +0 -25
- package/components/item-option-multi-language-field/index.d.ts +0 -8
- package/components/item-option-multi-language-field/item-option-multi-language-field.d.ts +0 -30
- package/components/item-option-number-field/index.d.ts +0 -8
- package/components/item-option-number-field/item-option-number-field.d.ts +0 -38
- package/components/item-option-panel/index.d.ts +0 -8
- package/components/item-option-panel/item-option-panel.d.ts +0 -77
- package/components/item-option-picker/index.d.ts +0 -8
- package/components/item-option-picker/item-option-picker.d.ts +0 -29
- package/components/item-option-position-picker/index.d.ts +0 -8
- package/components/item-option-position-picker/item-option-position-picker.d.ts +0 -22
- package/components/item-option-positions-number-field/index.d.ts +0 -8
- package/components/item-option-positions-number-field/item-option-positions-number-field.d.ts +0 -44
- package/components/item-option-radio-button-group/index.d.ts +0 -8
- package/components/item-option-radio-button-group/item-option-radio-button-group.d.ts +0 -29
- package/components/item-option-slider/index.d.ts +0 -8
- package/components/item-option-slider/item-option-slider.d.ts +0 -33
- package/components/item-option-switch/index.d.ts +0 -8
- package/components/item-option-switch/item-option-switch.d.ts +0 -19
- package/components/item-option-text-field/index.d.ts +0 -8
- package/components/item-option-text-field/item-option-text-field.d.ts +0 -25
- package/components/item-slot-drop/index.d.ts +0 -11
- package/components/item-slot-drop/item-slot-drop.d.ts +0 -113
- package/components/item-slot-drop/types.d.ts +0 -5
- package/components/item-slot-drop-panel/index.d.ts +0 -8
- package/components/item-slot-drop-panel/item-slot-drop-panel.d.ts +0 -180
- package/components/item-slot-picker/index.d.ts +0 -8
- package/components/item-slot-picker/item-slot-picker.d.ts +0 -149
- package/components/item-slot-picker-panel/index.d.ts +0 -9
- package/components/item-slot-picker-panel/item-slot-picker-panel.d.ts +0 -230
- package/components/slot-menu/index.d.ts +0 -10
- package/components/slot-menu/slot-menu.d.ts +0 -148
- package/components/slot-menu/types.d.ts +0 -24
- package/components/slot-menu-list/index.d.ts +0 -8
- package/components/slot-menu-list/slot-menu-list.d.ts +0 -47
- package/components/viz-item-menu/index.d.ts +0 -8
- package/components/viz-item-menu/types.d.ts +0 -9
- package/components/viz-item-menu/viz-item-menu.d.ts +0 -85
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
-
*
|
|
3
|
-
* Copyright © 2026 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.
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 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
19
|
* */
|
|
20
20
|
import "./tokens-Ov1pCR4Y.js";
|
|
21
|
-
import { c as e, d as t, s as n, u as r } from "./ai-interaction-textarea-
|
|
22
|
-
import { i } from "./base-BRTs2KqJ.js";
|
|
23
|
-
import { t as
|
|
24
|
-
import { msg as
|
|
25
|
-
import { luzmoEllipsisVertical as
|
|
21
|
+
import { c as e, d as t, s as n, u as r } from "./ai-interaction-textarea-Bths0__L.js";
|
|
22
|
+
import { i, n as a } from "./base-BRTs2KqJ.js";
|
|
23
|
+
import { t as o } from "./decorate-DyMgX_Uh.js";
|
|
24
|
+
import { msg as s } from "@lit/localize/lit-localize";
|
|
25
|
+
import { luzmoEllipsisVertical as c, luzmoIcon as l, luzmoSpin as u } from "@luzmo/icons";
|
|
26
26
|
import "@luzmo/lucero/button";
|
|
27
27
|
import "@luzmo/lucero/chat-message";
|
|
28
28
|
import "@luzmo/lucero/icon";
|
|
29
29
|
import "@luzmo/lucero/overlay";
|
|
30
30
|
import "@luzmo/lucero/popover";
|
|
31
31
|
import "@luzmo/lucero/progress-steps";
|
|
32
|
-
import { html as
|
|
33
|
-
import { property as
|
|
34
|
-
import { unsafeHTML as
|
|
32
|
+
import { html as d, nothing as f, unsafeCSS as p } from "lit";
|
|
33
|
+
import { property as m, state as ee } from "lit/decorators.js";
|
|
34
|
+
import { unsafeHTML as te } from "lit/directives/unsafe-html.js";
|
|
35
35
|
import "@luzmo/lucero/action-button";
|
|
36
36
|
import "@luzmo/lucero/question-box";
|
|
37
|
-
import { guard as
|
|
38
|
-
import { keyed as
|
|
37
|
+
import { guard as ne } from "lit/directives/guard.js";
|
|
38
|
+
import { keyed as re } from "lit/directives/keyed.js";
|
|
39
39
|
//#region node_modules/dompurify/dist/purify.es.mjs
|
|
40
|
-
function
|
|
40
|
+
function ie(e, t) {
|
|
41
41
|
this.v = e, this.k = t;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function h(e, t) {
|
|
44
44
|
(t == null || t > e.length) && (t = e.length);
|
|
45
45
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
46
46
|
return r;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function ae(e) {
|
|
49
49
|
if (Array.isArray(e)) return e;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function oe(e, t) {
|
|
52
52
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
53
53
|
if (n != null) {
|
|
54
54
|
var r, i, a, o, s = [], c = !0, l = !1;
|
|
@@ -69,24 +69,24 @@ function ae(e, t) {
|
|
|
69
69
|
return s;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function se() {
|
|
73
73
|
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
74
74
|
}
|
|
75
|
-
function se(e, t) {
|
|
76
|
-
return ie(e) || ae(e, t) || ce(e, t) || oe();
|
|
77
|
-
}
|
|
78
75
|
function ce(e, t) {
|
|
76
|
+
return ae(e) || oe(e, t) || g(e, t) || se();
|
|
77
|
+
}
|
|
78
|
+
function g(e, t) {
|
|
79
79
|
if (e) {
|
|
80
|
-
if (typeof e == "string") return
|
|
80
|
+
if (typeof e == "string") return h(e, t);
|
|
81
81
|
var n = {}.toString.call(e).slice(8, -1);
|
|
82
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
82
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? h(e, t) : void 0;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function _(e) {
|
|
86
86
|
var t, n;
|
|
87
87
|
function r(t, n) {
|
|
88
88
|
try {
|
|
89
|
-
var a = e[t](n), o = a.value, s = o instanceof
|
|
89
|
+
var a = e[t](n), o = a.value, s = o instanceof ie;
|
|
90
90
|
Promise.resolve(s ? o.v : o).then(function(n) {
|
|
91
91
|
if (s) {
|
|
92
92
|
var c = t === "return" && o.k ? t : "next";
|
|
@@ -120,113 +120,113 @@ function g(e) {
|
|
|
120
120
|
});
|
|
121
121
|
}, typeof e.return != "function" && (this.return = void 0);
|
|
122
122
|
}
|
|
123
|
-
|
|
123
|
+
_.prototype[typeof Symbol == "function" && Symbol.asyncIterator || "@@asyncIterator"] = function() {
|
|
124
124
|
return this;
|
|
125
|
-
},
|
|
125
|
+
}, _.prototype.next = function(e) {
|
|
126
126
|
return this._invoke("next", e);
|
|
127
|
-
},
|
|
127
|
+
}, _.prototype.throw = function(e) {
|
|
128
128
|
return this._invoke("throw", e);
|
|
129
|
-
},
|
|
129
|
+
}, _.prototype.return = function(e) {
|
|
130
130
|
return this._invoke("return", e);
|
|
131
131
|
};
|
|
132
|
-
var le = Object.entries,
|
|
132
|
+
var le = Object.entries, ue = Object.setPrototypeOf, de = Object.isFrozen, fe = Object.getPrototypeOf, pe = Object.getOwnPropertyDescriptor, v = Object.freeze, y = Object.seal, me = Object.create, he = typeof Reflect < "u" && Reflect, ge = he.apply, _e = he.construct;
|
|
133
133
|
v ||= function(e) {
|
|
134
134
|
return e;
|
|
135
135
|
}, y ||= function(e) {
|
|
136
136
|
return e;
|
|
137
|
-
},
|
|
137
|
+
}, ge ||= function(e, t) {
|
|
138
138
|
var n = [...arguments].slice(2);
|
|
139
139
|
return e.apply(t, n);
|
|
140
|
-
},
|
|
140
|
+
}, _e ||= function(e) {
|
|
141
141
|
return new e(...[...arguments].slice(1));
|
|
142
142
|
};
|
|
143
|
-
var
|
|
143
|
+
var ve = S(Array.prototype.forEach);
|
|
144
144
|
Array.prototype.indexOf;
|
|
145
|
-
var
|
|
145
|
+
var ye = S(Array.prototype.lastIndexOf), be = S(Array.prototype.pop), xe = S(Array.prototype.push);
|
|
146
146
|
Array.prototype.slice;
|
|
147
|
-
var
|
|
148
|
-
function
|
|
147
|
+
var Se = S(Array.prototype.splice), Ce = Array.isArray, we = S(String.prototype.toLowerCase), Te = S(String.prototype.toString), Ee = S(String.prototype.match), De = S(String.prototype.replace), Oe = S(String.prototype.indexOf), ke = S(String.prototype.trim), Ae = S(Number.prototype.toString), je = S(Boolean.prototype.toString), Me = typeof BigInt > "u" ? null : S(BigInt.prototype.toString), Ne = typeof Symbol > "u" ? null : S(Symbol.prototype.toString), b = S(Object.prototype.hasOwnProperty), Pe = S(Object.prototype.toString), x = S(RegExp.prototype.test), Fe = C(TypeError);
|
|
148
|
+
function S(e) {
|
|
149
149
|
return function(t) {
|
|
150
150
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
151
151
|
var n = [...arguments].slice(1);
|
|
152
|
-
return
|
|
152
|
+
return ge(e, t, n);
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function C(e) {
|
|
156
156
|
return function() {
|
|
157
|
-
return
|
|
157
|
+
return _e(e, [...arguments]);
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
160
|
function w(e, t) {
|
|
161
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
162
|
-
if (
|
|
161
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : we;
|
|
162
|
+
if (ue && ue(e, null), !Ce(t)) return e;
|
|
163
163
|
let r = t.length;
|
|
164
164
|
for (; r--;) {
|
|
165
165
|
let i = t[r];
|
|
166
166
|
if (typeof i == "string") {
|
|
167
167
|
let e = n(i);
|
|
168
|
-
e !== i && (
|
|
168
|
+
e !== i && (de(t) || (t[r] = e), i = e);
|
|
169
169
|
}
|
|
170
170
|
e[i] = !0;
|
|
171
171
|
}
|
|
172
172
|
return e;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Ie(e) {
|
|
175
175
|
for (let t = 0; t < e.length; t++) b(e, t) || (e[t] = null);
|
|
176
176
|
return e;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
let t =
|
|
178
|
+
function T(e) {
|
|
179
|
+
let t = me(null);
|
|
180
180
|
for (let r of le(e)) {
|
|
181
|
-
var n =
|
|
181
|
+
var n = ce(r, 2);
|
|
182
182
|
let i = n[0], a = n[1];
|
|
183
|
-
b(e, i) && (
|
|
183
|
+
b(e, i) && (Ce(a) ? t[i] = Ie(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = T(a) : t[i] = a);
|
|
184
184
|
}
|
|
185
185
|
return t;
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Le(e) {
|
|
188
188
|
switch (typeof e) {
|
|
189
189
|
case "string": return e;
|
|
190
|
-
case "number": return
|
|
191
|
-
case "boolean": return
|
|
192
|
-
case "bigint": return
|
|
193
|
-
case "symbol": return
|
|
194
|
-
case "undefined": return
|
|
190
|
+
case "number": return Ae(e);
|
|
191
|
+
case "boolean": return je(e);
|
|
192
|
+
case "bigint": return Me ? Me(e) : "0";
|
|
193
|
+
case "symbol": return Ne ? Ne(e) : "Symbol()";
|
|
194
|
+
case "undefined": return Pe(e);
|
|
195
195
|
case "function":
|
|
196
196
|
case "object": {
|
|
197
|
-
if (e === null) return
|
|
198
|
-
let t = e, n =
|
|
197
|
+
if (e === null) return Pe(e);
|
|
198
|
+
let t = e, n = E(t, "toString");
|
|
199
199
|
if (typeof n == "function") {
|
|
200
200
|
let e = n(t);
|
|
201
|
-
return typeof e == "string" ? e :
|
|
201
|
+
return typeof e == "string" ? e : Pe(e);
|
|
202
202
|
}
|
|
203
|
-
return
|
|
203
|
+
return Pe(e);
|
|
204
204
|
}
|
|
205
|
-
default: return
|
|
205
|
+
default: return Pe(e);
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function E(e, t) {
|
|
209
209
|
for (; e !== null;) {
|
|
210
|
-
let n =
|
|
210
|
+
let n = pe(e, t);
|
|
211
211
|
if (n) {
|
|
212
|
-
if (n.get) return
|
|
213
|
-
if (typeof n.value == "function") return
|
|
212
|
+
if (n.get) return S(n.get);
|
|
213
|
+
if (typeof n.value == "function") return S(n.value);
|
|
214
214
|
}
|
|
215
|
-
e =
|
|
215
|
+
e = fe(e);
|
|
216
216
|
}
|
|
217
217
|
function n() {
|
|
218
218
|
return null;
|
|
219
219
|
}
|
|
220
220
|
return n;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Re(e) {
|
|
223
223
|
try {
|
|
224
224
|
return x(e, ""), !0;
|
|
225
225
|
} catch {
|
|
226
226
|
return !1;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
var
|
|
229
|
+
var ze = v(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), Be = v(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), Ve = v([
|
|
230
230
|
"feBlend",
|
|
231
231
|
"feColorMatrix",
|
|
232
232
|
"feComponentTransfer",
|
|
@@ -252,7 +252,7 @@ var Le = v(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
252
252
|
"feSpotLight",
|
|
253
253
|
"feTile",
|
|
254
254
|
"feTurbulence"
|
|
255
|
-
]),
|
|
255
|
+
]), He = v([
|
|
256
256
|
"animate",
|
|
257
257
|
"color-profile",
|
|
258
258
|
"cursor",
|
|
@@ -275,7 +275,7 @@ var Le = v(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
275
275
|
"solidcolor",
|
|
276
276
|
"unknown",
|
|
277
277
|
"use"
|
|
278
|
-
]),
|
|
278
|
+
]), Ue = v(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), We = v([
|
|
279
279
|
"maction",
|
|
280
280
|
"maligngroup",
|
|
281
281
|
"malignmark",
|
|
@@ -291,13 +291,13 @@ var Le = v(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
291
291
|
"annotation-xml",
|
|
292
292
|
"mprescripts",
|
|
293
293
|
"none"
|
|
294
|
-
]),
|
|
294
|
+
]), Ge = v(["#text"]), Ke = v(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), qe = v(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), Je = v(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), Ye = v([
|
|
295
295
|
"xlink:href",
|
|
296
296
|
"xml:id",
|
|
297
297
|
"xlink:title",
|
|
298
298
|
"xml:space",
|
|
299
299
|
"xmlns:xlink"
|
|
300
|
-
]),
|
|
300
|
+
]), Xe = y(/{{[\w\W]*|^[\w\W]*}}/g), Ze = y(/<%[\w\W]*|^[\w\W]*%>/g), Qe = y(/\${[\w\W]*/g), $e = y(/^data-[\-\w.\u00B7-\uFFFF]+$/), et = y(/^aria-[\-\w]+$/), tt = y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), nt = y(/^(?:\w+script|data):/i), rt = y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), it = y(/^html$/i), at = y(/^[a-z][.\w]*(-[.\w]+)+$/i), ot = y(/<[/\w!]/g), st = y(/<[/\w]/g), ct = y(/<\/no(script|embed|frames)/i), lt = y(/\/>/i), D = {
|
|
301
301
|
element: 1,
|
|
302
302
|
attribute: 2,
|
|
303
303
|
text: 3,
|
|
@@ -310,7 +310,7 @@ var Le = v(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
310
310
|
documentType: 10,
|
|
311
311
|
documentFragment: 11,
|
|
312
312
|
notation: 12
|
|
313
|
-
},
|
|
313
|
+
}, ut = [
|
|
314
314
|
"style",
|
|
315
315
|
"script",
|
|
316
316
|
"xmp",
|
|
@@ -319,14 +319,14 @@ var Le = v(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
319
319
|
"noframes",
|
|
320
320
|
"plaintext",
|
|
321
321
|
"noscript"
|
|
322
|
-
],
|
|
322
|
+
], dt = v(w({}, ut)), ft = function() {
|
|
323
323
|
let e = {};
|
|
324
|
-
return
|
|
324
|
+
return ve(ut, (t) => {
|
|
325
325
|
e[t] = y(RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
|
|
326
326
|
}), v(e);
|
|
327
|
-
}(),
|
|
327
|
+
}(), pt = function() {
|
|
328
328
|
return typeof window > "u" ? null : window;
|
|
329
|
-
},
|
|
329
|
+
}, mt = function(e, t) {
|
|
330
330
|
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
331
331
|
let n = null, r = "data-tt-policy-suffix";
|
|
332
332
|
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
@@ -343,7 +343,7 @@ var Le = v(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
343
343
|
} catch {
|
|
344
344
|
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
345
345
|
}
|
|
346
|
-
},
|
|
346
|
+
}, ht = function() {
|
|
347
347
|
return {
|
|
348
348
|
afterSanitizeAttributes: [],
|
|
349
349
|
afterSanitizeElements: [],
|
|
@@ -355,21 +355,21 @@ var Le = v(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
355
355
|
uponSanitizeElement: [],
|
|
356
356
|
uponSanitizeShadowNode: []
|
|
357
357
|
};
|
|
358
|
-
},
|
|
359
|
-
return b(e, t) &&
|
|
360
|
-
},
|
|
358
|
+
}, gt = function(e, t, n, r) {
|
|
359
|
+
return b(e, t) && Ce(e[t]) ? w(r.base ? T(r.base) : {}, e[t], r.transform) : n;
|
|
360
|
+
}, _t = function(e, t, n) {
|
|
361
361
|
let r = b(e, t) ? e[t] : void 0;
|
|
362
|
-
return r && typeof r == "object" ?
|
|
362
|
+
return r && typeof r == "object" ? T(r) : n();
|
|
363
363
|
};
|
|
364
|
-
function
|
|
365
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
366
|
-
if (t.version = "3.4.16", t.removed = [], !e || !e.document || e.document.nodeType !==
|
|
364
|
+
function vt() {
|
|
365
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : pt(), t = (e) => vt(e);
|
|
366
|
+
if (t.version = "3.4.16", t.removed = [], !e || !e.document || e.document.nodeType !== D.document || !e.Element) return t.isSupported = !1, t;
|
|
367
367
|
let n = e.document, r = n, i = r.currentScript;
|
|
368
368
|
e.DocumentFragment;
|
|
369
369
|
let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
|
|
370
370
|
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
371
|
-
let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f =
|
|
372
|
-
return
|
|
371
|
+
let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f = E(d, "cloneNode"), p = E(d, "remove"), m = E(d, "removeAttributeNode"), ee = E(d, "nextSibling"), te = E(d, "childNodes"), ne = E(d, "parentNode"), re = E(d, "shadowRoot"), ie = E(d, "attributes"), h = o && o.prototype ? E(o.prototype, "nodeType") : null, ae = o && o.prototype ? E(o.prototype, "nodeName") : null, oe = o && o.prototype ? E(o.prototype, "ownerDocument") : null, se = function(e) {
|
|
372
|
+
return h ? h(e) : e.nodeType;
|
|
373
373
|
}, ce = function(e) {
|
|
374
374
|
return ae ? ae(e) : e.nodeName;
|
|
375
375
|
};
|
|
@@ -377,38 +377,38 @@ function gt() {
|
|
|
377
377
|
let e = n.createElement("template");
|
|
378
378
|
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
379
379
|
}
|
|
380
|
-
let g, _ = "", ue, de = !1, fe = 0,
|
|
381
|
-
if (fe > 0) throw
|
|
380
|
+
let g, _ = "", ue, de = !1, fe = 0, pe = function() {
|
|
381
|
+
if (fe > 0) throw Fe("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
|
|
382
382
|
}, he = function(e) {
|
|
383
|
-
|
|
383
|
+
pe(), fe++;
|
|
384
384
|
try {
|
|
385
385
|
return g.createHTML(e);
|
|
386
386
|
} finally {
|
|
387
387
|
fe--;
|
|
388
388
|
}
|
|
389
389
|
}, ge = function(e) {
|
|
390
|
-
|
|
390
|
+
pe(), fe++;
|
|
391
391
|
try {
|
|
392
392
|
return g.createScriptURL(e);
|
|
393
393
|
} finally {
|
|
394
394
|
fe--;
|
|
395
395
|
}
|
|
396
|
-
},
|
|
397
|
-
return de ||= (ue =
|
|
398
|
-
}, Ae = n, je = Ae.implementation, Me = Ae.createNodeIterator, Ne = Ae.createDocumentFragment,
|
|
399
|
-
t.isSupported = typeof le == "function" && typeof
|
|
400
|
-
let
|
|
401
|
-
...Le,
|
|
402
|
-
...Re,
|
|
396
|
+
}, _e = function() {
|
|
397
|
+
return de ||= (ue = mt(u, i), !0), ue;
|
|
398
|
+
}, Ae = n, je = Ae.implementation, Me = Ae.createNodeIterator, Ne = Ae.createDocumentFragment, Pe = Ae.getElementsByTagName, S = r.importNode, C = ht();
|
|
399
|
+
t.isSupported = typeof le == "function" && typeof ne == "function" && je && je.createHTMLDocument !== void 0;
|
|
400
|
+
let Ie = Xe, ut = Ze, yt = Qe, bt = $e, xt = et, St = nt, O = rt, Ct = at, k = tt, A = null, j = w({}, [
|
|
403
401
|
...ze,
|
|
402
|
+
...Be,
|
|
404
403
|
...Ve,
|
|
405
|
-
...Ue
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
...Ge,
|
|
404
|
+
...Ue,
|
|
405
|
+
...Ge
|
|
406
|
+
]), M = null, wt = w({}, [
|
|
409
407
|
...Ke,
|
|
410
|
-
...qe
|
|
411
|
-
|
|
408
|
+
...qe,
|
|
409
|
+
...Je,
|
|
410
|
+
...Ye
|
|
411
|
+
]), N = Object.seal(me(null, {
|
|
412
412
|
tagNameCheck: {
|
|
413
413
|
writable: !0,
|
|
414
414
|
configurable: !1,
|
|
@@ -427,7 +427,7 @@ function gt() {
|
|
|
427
427
|
enumerable: !0,
|
|
428
428
|
value: !1
|
|
429
429
|
}
|
|
430
|
-
})),
|
|
430
|
+
})), P = null, Tt = null, F = Object.seal(me(null, {
|
|
431
431
|
tagCheck: {
|
|
432
432
|
writable: !0,
|
|
433
433
|
configurable: !1,
|
|
@@ -440,14 +440,14 @@ function gt() {
|
|
|
440
440
|
enumerable: !0,
|
|
441
441
|
value: null
|
|
442
442
|
}
|
|
443
|
-
})),
|
|
443
|
+
})), Et = !0, Dt = !0, Ot = !1, kt = !0, I = !1, L = !0, At = !1, jt = !1, Mt = null, Nt = null, Pt = !1, Ft = !1, It = !1, Lt = !1, Rt = !0, zt = !1, Bt = "user-content-", Vt = !0, Ht = !1, Ut = {}, R = null, Wt = w({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Gt = null, Kt = w({}, [
|
|
444
444
|
"audio",
|
|
445
445
|
"video",
|
|
446
446
|
"img",
|
|
447
447
|
"source",
|
|
448
448
|
"image",
|
|
449
449
|
"track"
|
|
450
|
-
]),
|
|
450
|
+
]), qt = null, Jt = w({}, [
|
|
451
451
|
"alt",
|
|
452
452
|
"class",
|
|
453
453
|
"for",
|
|
@@ -462,42 +462,42 @@ function gt() {
|
|
|
462
462
|
"value",
|
|
463
463
|
"style",
|
|
464
464
|
"xmlns"
|
|
465
|
-
]),
|
|
466
|
-
Jt,
|
|
465
|
+
]), Yt = "http://www.w3.org/1998/Math/MathML", Xt = "http://www.w3.org/2000/svg", z = "http://www.w3.org/1999/xhtml", Zt = z, Qt = !1, $t = null, en = w({}, [
|
|
467
466
|
Yt,
|
|
468
|
-
|
|
469
|
-
|
|
467
|
+
Xt,
|
|
468
|
+
z
|
|
469
|
+
], Te), tn = v([
|
|
470
470
|
"mi",
|
|
471
471
|
"mo",
|
|
472
472
|
"mn",
|
|
473
473
|
"ms",
|
|
474
474
|
"mtext"
|
|
475
|
-
]),
|
|
475
|
+
]), nn = w({}, tn), rn = v(["annotation-xml"]), an = w({}, rn), on = w({}, [
|
|
476
476
|
"title",
|
|
477
477
|
"style",
|
|
478
478
|
"font",
|
|
479
479
|
"a",
|
|
480
480
|
"script"
|
|
481
|
-
]),
|
|
481
|
+
]), sn = null, cn = ["application/xhtml+xml", "text/html"], B = null, V = null, ln = n.createElement("form"), un = function(e) {
|
|
482
482
|
return e instanceof RegExp || e instanceof Function;
|
|
483
483
|
}, dn = function() {
|
|
484
484
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
485
|
-
if (
|
|
486
|
-
(!e || typeof e != "object") && (e = {}), e =
|
|
487
|
-
transform:
|
|
488
|
-
base:
|
|
489
|
-
}),
|
|
490
|
-
transform:
|
|
491
|
-
base:
|
|
492
|
-
}),
|
|
493
|
-
let t =
|
|
494
|
-
if (
|
|
485
|
+
if (V && V === e) return;
|
|
486
|
+
(!e || typeof e != "object") && (e = {}), e = T(e), sn = cn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, B = sn === "application/xhtml+xml" ? Te : we, A = gt(e, "ALLOWED_TAGS", j, { transform: B }), M = gt(e, "ALLOWED_ATTR", wt, { transform: B }), $t = gt(e, "ALLOWED_NAMESPACES", en, { transform: Te }), qt = gt(e, "ADD_URI_SAFE_ATTR", Jt, {
|
|
487
|
+
transform: B,
|
|
488
|
+
base: Jt
|
|
489
|
+
}), Gt = gt(e, "ADD_DATA_URI_TAGS", Kt, {
|
|
490
|
+
transform: B,
|
|
491
|
+
base: Kt
|
|
492
|
+
}), R = gt(e, "FORBID_CONTENTS", Wt, { transform: B }), P = gt(e, "FORBID_TAGS", T({}), { transform: B }), Tt = gt(e, "FORBID_ATTR", T({}), { transform: B }), Ut = b(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? T(e.USE_PROFILES) : e.USE_PROFILES : !1, Et = e.ALLOW_ARIA_ATTR !== !1, Dt = e.ALLOW_DATA_ATTR !== !1, Ot = e.ALLOW_UNKNOWN_PROTOCOLS || !1, kt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, I = e.SAFE_FOR_TEMPLATES || !1, L = e.SAFE_FOR_XML !== !1, At = e.WHOLE_DOCUMENT || !1, Ft = e.RETURN_DOM || !1, It = e.RETURN_DOM_FRAGMENT || !1, Lt = e.RETURN_TRUSTED_TYPE || !1, Pt = e.FORCE_BODY || !1, Rt = e.SANITIZE_DOM !== !1, zt = e.SANITIZE_NAMED_PROPS || !1, Vt = e.KEEP_CONTENT !== !1, Ht = e.IN_PLACE || !1, k = Re(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : tt, Zt = typeof e.NAMESPACE == "string" ? e.NAMESPACE : z, nn = _t(e, "MATHML_TEXT_INTEGRATION_POINTS", () => w({}, tn)), an = _t(e, "HTML_INTEGRATION_POINTS", () => w({}, rn));
|
|
493
|
+
let t = _t(e, "CUSTOM_ELEMENT_HANDLING", () => me(null));
|
|
494
|
+
if (N = me(null), b(t, "tagNameCheck") && un(t.tagNameCheck) && (N.tagNameCheck = t.tagNameCheck), b(t, "attributeNameCheck") && un(t.attributeNameCheck) && (N.attributeNameCheck = t.attributeNameCheck), b(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (N.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), y(N), I && (Dt = !1), It && (Ft = !0), Ut && (A = w({}, Ge), M = me(null), Ut.html === !0 && (w(A, ze), w(M, Ke)), Ut.svg === !0 && (w(A, Be), w(M, qe), w(M, Ye)), Ut.svgFilters === !0 && (w(A, Ve), w(M, qe), w(M, Ye)), Ut.mathMl === !0 && (w(A, Ue), w(M, Je), w(M, Ye))), F.tagCheck = null, F.attributeCheck = null, b(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? F.tagCheck = e.ADD_TAGS : Ce(e.ADD_TAGS) && (A === j && (A = T(A)), w(A, e.ADD_TAGS, B))), b(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? F.attributeCheck = e.ADD_ATTR : Ce(e.ADD_ATTR) && (M === wt && (M = T(M)), w(M, e.ADD_ATTR, B))), b(e, "ADD_FORBID_CONTENTS") && Ce(e.ADD_FORBID_CONTENTS) && (R === Wt && (R = T(R)), w(R, e.ADD_FORBID_CONTENTS, B)), Vt && (A["#text"] = !0), At && w(A, [
|
|
495
495
|
"html",
|
|
496
496
|
"head",
|
|
497
497
|
"body"
|
|
498
|
-
]), A.table && (w(A, ["tbody"]), delete
|
|
499
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw
|
|
500
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw
|
|
498
|
+
]), A.table && (w(A, ["tbody"]), delete P.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
499
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Fe("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
500
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Fe("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
501
501
|
let t = g;
|
|
502
502
|
g = e.TRUSTED_TYPES_POLICY;
|
|
503
503
|
try {
|
|
@@ -505,32 +505,32 @@ function gt() {
|
|
|
505
505
|
} catch (e) {
|
|
506
506
|
throw g = t, e;
|
|
507
507
|
}
|
|
508
|
-
} else e.TRUSTED_TYPES_POLICY === null ? (g = void 0, _ = "") : (g === void 0 && (g =
|
|
509
|
-
v && v(e),
|
|
508
|
+
} else e.TRUSTED_TYPES_POLICY === null ? (g = void 0, _ = "") : (g === void 0 && (g = _e()), g && typeof _ == "string" && (_ = he("")));
|
|
509
|
+
v && v(e), V = e;
|
|
510
510
|
}, fn = w({}, [
|
|
511
|
-
...
|
|
512
|
-
...
|
|
513
|
-
...
|
|
514
|
-
]), pn = w({}, [...
|
|
515
|
-
return t.namespaceURI ===
|
|
511
|
+
...Be,
|
|
512
|
+
...Ve,
|
|
513
|
+
...He
|
|
514
|
+
]), pn = w({}, [...Ue, ...We]), mn = function(e, t, n) {
|
|
515
|
+
return t.namespaceURI === z ? e === "svg" : t.namespaceURI === Yt ? e === "svg" && (n === "annotation-xml" || nn[n]) : !!fn[e];
|
|
516
516
|
}, hn = function(e, t, n) {
|
|
517
|
-
return t.namespaceURI ===
|
|
517
|
+
return t.namespaceURI === z ? e === "math" : t.namespaceURI === Xt ? e === "math" && an[n] : !!pn[e];
|
|
518
518
|
}, gn = function(e, t, n) {
|
|
519
|
-
return t.namespaceURI ===
|
|
519
|
+
return t.namespaceURI === Xt && !an[n] || t.namespaceURI === Yt && !nn[n] ? !1 : !pn[e] && (on[e] || !fn[e]);
|
|
520
520
|
}, _n = function(e) {
|
|
521
|
-
let t =
|
|
521
|
+
let t = ne(e);
|
|
522
522
|
(!t || !t.tagName) && (t = {
|
|
523
|
-
namespaceURI:
|
|
523
|
+
namespaceURI: Zt,
|
|
524
524
|
tagName: "template"
|
|
525
525
|
});
|
|
526
|
-
let n =
|
|
527
|
-
return
|
|
526
|
+
let n = we(e.tagName), r = we(t.tagName);
|
|
527
|
+
return $t[e.namespaceURI] ? e.namespaceURI === Xt ? mn(n, t, r) : e.namespaceURI === Yt ? hn(n, t, r) : e.namespaceURI === z ? gn(n, t, r) : !!(sn === "application/xhtml+xml" && $t[e.namespaceURI]) : !1;
|
|
528
528
|
}, H = function(e) {
|
|
529
|
-
|
|
529
|
+
xe(t.removed, { element: e });
|
|
530
530
|
try {
|
|
531
|
-
|
|
531
|
+
ne(e).removeChild(e);
|
|
532
532
|
} catch {
|
|
533
|
-
if (p(e), !
|
|
533
|
+
if (p(e), !ne(e)) throw Fe("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
|
|
534
534
|
}
|
|
535
535
|
}, vn = function(e, t, n) {
|
|
536
536
|
try {
|
|
@@ -541,19 +541,19 @@ function gt() {
|
|
|
541
541
|
} catch {}
|
|
542
542
|
}
|
|
543
543
|
}, yn = function(e) {
|
|
544
|
-
|
|
545
|
-
let t =
|
|
544
|
+
bn(e);
|
|
545
|
+
let t = te(e);
|
|
546
546
|
if (t) {
|
|
547
547
|
let e = [];
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
}),
|
|
548
|
+
ve(t, (t) => {
|
|
549
|
+
xe(e, t);
|
|
550
|
+
}), ve(e, (e) => {
|
|
551
551
|
try {
|
|
552
552
|
p(e);
|
|
553
553
|
} catch {}
|
|
554
554
|
});
|
|
555
555
|
}
|
|
556
|
-
let n =
|
|
556
|
+
let n = ie(e);
|
|
557
557
|
if (n) for (let t = n.length - 1; t >= 0; --t) {
|
|
558
558
|
let r = n[t], i = r && r.name;
|
|
559
559
|
typeof i == "string" && vn(e, r, i);
|
|
@@ -564,7 +564,7 @@ function gt() {
|
|
|
564
564
|
} catch {
|
|
565
565
|
r = null;
|
|
566
566
|
}
|
|
567
|
-
|
|
567
|
+
xe(t.removed, {
|
|
568
568
|
attribute: r || null,
|
|
569
569
|
from: n
|
|
570
570
|
});
|
|
@@ -575,112 +575,112 @@ function gt() {
|
|
|
575
575
|
n.removeAttribute(e);
|
|
576
576
|
} catch {}
|
|
577
577
|
}
|
|
578
|
-
if (e === "is") if (
|
|
578
|
+
if (e === "is") if (Ft || It) try {
|
|
579
579
|
H(n);
|
|
580
580
|
} catch {}
|
|
581
581
|
else try {
|
|
582
582
|
n.setAttribute(e, "");
|
|
583
583
|
} catch {}
|
|
584
|
-
},
|
|
585
|
-
let t =
|
|
584
|
+
}, W = function(e) {
|
|
585
|
+
let t = ie(e);
|
|
586
586
|
if (t) for (let n = t.length - 1; n >= 0; --n) {
|
|
587
587
|
let r = t[n], i = r && r.name;
|
|
588
|
-
typeof i != "string" ||
|
|
588
|
+
typeof i != "string" || M[B(i)] || vn(e, r, i);
|
|
589
589
|
}
|
|
590
|
-
},
|
|
590
|
+
}, bn = function(e) {
|
|
591
591
|
let t = [e];
|
|
592
592
|
for (; t.length > 0;) {
|
|
593
593
|
let e = t.pop();
|
|
594
|
-
se(e) ===
|
|
595
|
-
let n =
|
|
594
|
+
se(e) === D.element && W(e);
|
|
595
|
+
let n = te(e);
|
|
596
596
|
if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
|
|
597
597
|
}
|
|
598
|
-
},
|
|
599
|
-
return
|
|
600
|
-
},
|
|
601
|
-
if (!
|
|
598
|
+
}, xn = function(e, t) {
|
|
599
|
+
return L ? e === "patchsrc" || e === "for" && t !== "label" && t !== "output" : !1;
|
|
600
|
+
}, G = function(e) {
|
|
601
|
+
if (!L) return;
|
|
602
602
|
let t = [e];
|
|
603
603
|
for (; t.length > 0;) {
|
|
604
604
|
let e = t.pop(), n = se(e);
|
|
605
|
-
if (n ===
|
|
605
|
+
if (n === D.processingInstruction || n === D.comment && x(st, e.data)) {
|
|
606
606
|
try {
|
|
607
607
|
p(e);
|
|
608
608
|
} catch {}
|
|
609
609
|
continue;
|
|
610
610
|
}
|
|
611
|
-
if (n ===
|
|
612
|
-
let t = e, n =
|
|
611
|
+
if (n === D.element) {
|
|
612
|
+
let t = e, n = B(ce(e));
|
|
613
613
|
try {
|
|
614
|
-
t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") &&
|
|
614
|
+
t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && xn("for", n) && t.removeAttribute("for");
|
|
615
615
|
} catch {}
|
|
616
616
|
}
|
|
617
|
-
let r =
|
|
617
|
+
let r = te(e);
|
|
618
618
|
if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
|
|
619
619
|
}
|
|
620
|
-
},
|
|
620
|
+
}, Sn = function(e) {
|
|
621
621
|
let t = null, r = null;
|
|
622
|
-
if (
|
|
622
|
+
if (Pt) e = "<remove></remove>" + e;
|
|
623
623
|
else {
|
|
624
|
-
let t =
|
|
624
|
+
let t = Ee(e, /^[\r\n\t ]+/);
|
|
625
625
|
r = t && t[0];
|
|
626
626
|
}
|
|
627
|
-
|
|
627
|
+
sn === "application/xhtml+xml" && Zt === z && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
628
628
|
let i = g ? he(e) : e;
|
|
629
|
-
if (
|
|
630
|
-
t = new l().parseFromString(i,
|
|
629
|
+
if (Zt === z) try {
|
|
630
|
+
t = new l().parseFromString(i, sn);
|
|
631
631
|
} catch {}
|
|
632
632
|
if (!t || !t.documentElement) {
|
|
633
|
-
t = je.createDocument(
|
|
633
|
+
t = je.createDocument(Zt, "template", null);
|
|
634
634
|
try {
|
|
635
|
-
t.documentElement.innerHTML =
|
|
635
|
+
t.documentElement.innerHTML = Qt ? _ : i;
|
|
636
636
|
} catch {}
|
|
637
637
|
}
|
|
638
638
|
let a = t.body || t.documentElement;
|
|
639
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null),
|
|
640
|
-
},
|
|
639
|
+
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Zt === z ? Pe.call(t, At ? "html" : "body")[0] : At ? t.documentElement : a;
|
|
640
|
+
}, Cn = function(e) {
|
|
641
641
|
let t = oe ? oe(e) : e.ownerDocument;
|
|
642
642
|
return Me.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
|
|
643
|
+
}, wn = function(e) {
|
|
644
|
+
return e = De(e, Ie, " "), e = De(e, ut, " "), e = De(e, yt, " "), e;
|
|
643
645
|
}, Tn = function(e) {
|
|
644
|
-
return e = Ee(e, ct, " "), e = Ee(e, _t, " "), e = Ee(e, vt, " "), e;
|
|
645
|
-
}, En = function(e) {
|
|
646
646
|
e.normalize();
|
|
647
647
|
let t = oe ? oe(e) : e.ownerDocument, n = Me.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
|
|
648
|
-
for (; r;) r.data =
|
|
648
|
+
for (; r;) r.data = wn(r.data), r = n.nextNode();
|
|
649
649
|
let i = e.querySelectorAll?.call(e, "template");
|
|
650
|
-
i &&
|
|
651
|
-
K(e.content) &&
|
|
650
|
+
i && ve(i, (e) => {
|
|
651
|
+
K(e.content) && Tn(e.content);
|
|
652
652
|
});
|
|
653
|
-
},
|
|
653
|
+
}, En = function(e) {
|
|
654
654
|
let t = ae ? ae(e) : null;
|
|
655
|
-
return typeof t != "string" ||
|
|
655
|
+
return typeof t != "string" || B(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== ie(e) || typeof e.removeAttribute != "function" || typeof e.removeAttributeNode != "function" || typeof e.getAttributeNode != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== h(e) || e.childNodes !== te(e);
|
|
656
656
|
}, K = function(e) {
|
|
657
|
-
if (!
|
|
657
|
+
if (!h || typeof e != "object" || !e) return !1;
|
|
658
658
|
try {
|
|
659
|
-
return
|
|
659
|
+
return h(e) === D.documentFragment;
|
|
660
660
|
} catch {
|
|
661
661
|
return !1;
|
|
662
662
|
}
|
|
663
663
|
}, q = function(e) {
|
|
664
|
-
if (!
|
|
664
|
+
if (!h || typeof e != "object" || !e) return !1;
|
|
665
665
|
try {
|
|
666
|
-
return typeof
|
|
666
|
+
return typeof h(e) == "number";
|
|
667
667
|
} catch {
|
|
668
668
|
return !1;
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
671
|
function J(e, n, r) {
|
|
672
|
-
e.length !== 0 &&
|
|
673
|
-
e.call(t, n, r,
|
|
672
|
+
e.length !== 0 && ve(e, (e) => {
|
|
673
|
+
e.call(t, n, r, V);
|
|
674
674
|
});
|
|
675
675
|
}
|
|
676
|
-
let
|
|
677
|
-
return !!(
|
|
678
|
-
},
|
|
676
|
+
let Dn = function(e, t) {
|
|
677
|
+
return !!(L && e.hasChildNodes() && !q(e.firstElementChild) && x(ot, e.textContent) && x(ot, e.innerHTML) || L && e.namespaceURI === z && dt[t] && (q(e.firstElementChild) || typeof e.textContent == "string" && x(ft[t], e.textContent)) || e.nodeType === D.processingInstruction || L && e.nodeType === D.comment && x(st, e.data));
|
|
678
|
+
}, Y = function(e, t) {
|
|
679
679
|
return e instanceof RegExp ? x(e, t) : e instanceof Function && !!e(t, ...[...arguments].slice(2));
|
|
680
|
-
},
|
|
681
|
-
if (!
|
|
682
|
-
if (Vt && !
|
|
683
|
-
let t =
|
|
680
|
+
}, On = function(e, t, n) {
|
|
681
|
+
if (!P[t] && Mn(t) && Y(N.tagNameCheck, t)) return !1;
|
|
682
|
+
if (Vt && !R[t]) {
|
|
683
|
+
let t = ne(e), r = te(e);
|
|
684
684
|
if (r && t) {
|
|
685
685
|
let i = r.length;
|
|
686
686
|
for (let a = i - 1; a >= 0; --a) {
|
|
@@ -690,33 +690,33 @@ function gt() {
|
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
return H(e), !0;
|
|
693
|
-
},
|
|
694
|
-
return e.length === 0 ? t : t === n || t === r ?
|
|
695
|
-
},
|
|
696
|
-
return e === t ||
|
|
693
|
+
}, X = function(e, t, n, r) {
|
|
694
|
+
return e.length === 0 ? t : t === n || t === r ? T(t) : t;
|
|
695
|
+
}, Z = function(e, t) {
|
|
696
|
+
return e === t || ne(e) !== null ? !1 : (Ht && bn(e), !0);
|
|
697
697
|
}, kn = function(e, n) {
|
|
698
|
-
if (J(
|
|
699
|
-
if (
|
|
700
|
-
let r =
|
|
701
|
-
if (A =
|
|
698
|
+
if (J(C.beforeSanitizeElements, e, null), Z(e, n)) return !0;
|
|
699
|
+
if (En(e)) return H(e), !0;
|
|
700
|
+
let r = B(ce(e));
|
|
701
|
+
if (A = X(C.uponSanitizeElement, A, j, Mt), J(C.uponSanitizeElement, e, {
|
|
702
702
|
tagName: r,
|
|
703
703
|
allowedTags: A
|
|
704
|
-
}),
|
|
705
|
-
if (
|
|
706
|
-
if (
|
|
707
|
-
let t =
|
|
708
|
-
return t === !1 && (J(
|
|
704
|
+
}), Z(e, n)) return !0;
|
|
705
|
+
if (Dn(e, r)) return H(e), !0;
|
|
706
|
+
if (P[r] || !(F.tagCheck instanceof Function && F.tagCheck(r)) && !A[r]) {
|
|
707
|
+
let t = On(e, r, n);
|
|
708
|
+
return t === !1 && (J(C.afterSanitizeElements, e, null), Z(e, n)) ? !0 : t;
|
|
709
709
|
}
|
|
710
|
-
if (se(e) ===
|
|
711
|
-
if (
|
|
712
|
-
let n =
|
|
713
|
-
e.textContent !== n && (
|
|
710
|
+
if (se(e) === D.element && !_n(e) || (r === "noscript" || r === "noembed" || r === "noframes") && x(ct, e.innerHTML)) return H(e), !0;
|
|
711
|
+
if (I && e.nodeType === D.text) {
|
|
712
|
+
let n = wn(e.textContent);
|
|
713
|
+
e.textContent !== n && (xe(t.removed, { element: e.cloneNode() }), e.textContent = n);
|
|
714
714
|
}
|
|
715
|
-
return J(
|
|
715
|
+
return J(C.afterSanitizeElements, e, null), Z(e, n);
|
|
716
716
|
}, An = function(e, t, r) {
|
|
717
|
-
if (
|
|
718
|
-
let i =
|
|
719
|
-
return
|
|
717
|
+
if (Tt[t] || xn(t, e) || Rt && (t === "id" || t === "name") && (r in n || r in ln)) return !1;
|
|
718
|
+
let i = M[t] || F.attributeCheck instanceof Function && F.attributeCheck(t, e);
|
|
719
|
+
return Dt && x(bt, t) || Et && x(xt, t) ? !0 : i ? qt[t] || x(k, De(r, O, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Oe(r, "data:") === 0 && Gt[e] || Ot && !x(St, De(r, O, "")) ? !0 : !r : Mn(e) && Y(N.tagNameCheck, e) && Y(N.attributeNameCheck, t, e) || t === "is" && N.allowCustomizedBuiltInElements && Y(N.tagNameCheck, r);
|
|
720
720
|
}, jn = w({}, [
|
|
721
721
|
"annotation-xml",
|
|
722
722
|
"color-profile",
|
|
@@ -727,7 +727,7 @@ function gt() {
|
|
|
727
727
|
"font-face-uri",
|
|
728
728
|
"missing-glyph"
|
|
729
729
|
]), Mn = function(e) {
|
|
730
|
-
return !jn[
|
|
730
|
+
return !jn[we(e)] && x(Ct, e);
|
|
731
731
|
}, Nn = function(e, t, n, r) {
|
|
732
732
|
if (g && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
|
|
733
733
|
case "TrustedHTML": return he(r);
|
|
@@ -736,29 +736,29 @@ function gt() {
|
|
|
736
736
|
return r;
|
|
737
737
|
}, Pn = function(e, t, n, r) {
|
|
738
738
|
try {
|
|
739
|
-
return n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r),
|
|
739
|
+
return n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r), En(e) ? (H(e), !1) : !0;
|
|
740
740
|
} catch {
|
|
741
741
|
return U(t, e), !1;
|
|
742
742
|
}
|
|
743
743
|
}, Fn = function(e, n) {
|
|
744
|
-
if (J(
|
|
744
|
+
if (J(C.beforeSanitizeAttributes, e, null), Z(e, n)) return;
|
|
745
745
|
let r = e.attributes;
|
|
746
|
-
if (!r ||
|
|
747
|
-
|
|
746
|
+
if (!r || En(e)) return;
|
|
747
|
+
M = X(C.uponSanitizeAttribute, M, wt, Nt);
|
|
748
748
|
let i = {
|
|
749
749
|
attrName: "",
|
|
750
750
|
attrValue: "",
|
|
751
751
|
keepAttr: !0,
|
|
752
|
-
allowedAttributes:
|
|
752
|
+
allowedAttributes: M,
|
|
753
753
|
forceKeepAttr: void 0
|
|
754
|
-
}, a = r.length, o =
|
|
754
|
+
}, a = r.length, o = B(e.nodeName);
|
|
755
755
|
for (; a--;) {
|
|
756
|
-
let n = r[a], s = n.name, c = n.namespaceURI, l = n.value, u =
|
|
757
|
-
if (i.attrName = u, i.attrValue = f, i.keepAttr = !0, i.forceKeepAttr = void 0, J(
|
|
756
|
+
let n = r[a], s = n.name, c = n.namespaceURI, l = n.value, u = B(s), d = l, f = s === "value" ? d : ke(d), p = !1;
|
|
757
|
+
if (i.attrName = u, i.attrValue = f, i.keepAttr = !0, i.forceKeepAttr = void 0, J(C.uponSanitizeAttribute, e, i), f = i.attrValue, zt && (u === "id" || u === "name") && Oe(f, Bt) !== 0 && (U(s, e, n), f = Bt + f, p = !0), L && x(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, f)) {
|
|
758
758
|
U(s, e, n);
|
|
759
759
|
continue;
|
|
760
760
|
}
|
|
761
|
-
if (u === "attributename" &&
|
|
761
|
+
if (u === "attributename" && Ee(f, "href")) {
|
|
762
762
|
U(s, e, n);
|
|
763
763
|
continue;
|
|
764
764
|
}
|
|
@@ -767,25 +767,25 @@ function gt() {
|
|
|
767
767
|
U(s, e, n);
|
|
768
768
|
continue;
|
|
769
769
|
}
|
|
770
|
-
if (!
|
|
770
|
+
if (!kt && x(lt, f)) {
|
|
771
771
|
U(s, e, n);
|
|
772
772
|
continue;
|
|
773
773
|
}
|
|
774
|
-
if (
|
|
774
|
+
if (I && (f = wn(f)), !An(o, u, f)) {
|
|
775
775
|
U(s, e, n);
|
|
776
776
|
continue;
|
|
777
777
|
}
|
|
778
|
-
f = Nn(o, u, c, f), f !== d && Pn(e, s, c, f) && p &&
|
|
778
|
+
f = Nn(o, u, c, f), f !== d && Pn(e, s, c, f) && p && be(t.removed);
|
|
779
779
|
}
|
|
780
780
|
}
|
|
781
|
-
J(
|
|
781
|
+
J(C.afterSanitizeAttributes, e, null), Z(e, n);
|
|
782
782
|
}, In = function(e) {
|
|
783
|
-
let t = null, n =
|
|
784
|
-
for (J(
|
|
785
|
-
let e =
|
|
783
|
+
let t = null, n = Cn(e);
|
|
784
|
+
for (J(C.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (J(C.uponSanitizeShadowNode, t, null), kn(t, e), Fn(t, e), K(t.content) && In(t.content), se(t) === D.element) {
|
|
785
|
+
let e = re(t);
|
|
786
786
|
K(e) && (Ln(e), In(e));
|
|
787
787
|
}
|
|
788
|
-
J(
|
|
788
|
+
J(C.afterSanitizeShadowDOM, e, null);
|
|
789
789
|
}, Ln = function(e) {
|
|
790
790
|
let t = [{
|
|
791
791
|
node: e,
|
|
@@ -797,14 +797,14 @@ function gt() {
|
|
|
797
797
|
In(e.shadow);
|
|
798
798
|
continue;
|
|
799
799
|
}
|
|
800
|
-
let n = e.node, r = se(n) ===
|
|
800
|
+
let n = e.node, r = se(n) === D.element, i = te(n);
|
|
801
801
|
if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
|
|
802
802
|
node: i[e],
|
|
803
803
|
shadow: null
|
|
804
804
|
});
|
|
805
805
|
if (r) {
|
|
806
806
|
let e = ae ? ae(n) : null;
|
|
807
|
-
if (typeof e == "string" &&
|
|
807
|
+
if (typeof e == "string" && B(e) === "template") {
|
|
808
808
|
let e = n.content;
|
|
809
809
|
K(e) && t.push({
|
|
810
810
|
node: e,
|
|
@@ -813,7 +813,7 @@ function gt() {
|
|
|
813
813
|
}
|
|
814
814
|
}
|
|
815
815
|
if (r) {
|
|
816
|
-
let e =
|
|
816
|
+
let e = re(n);
|
|
817
817
|
K(e) && t.push({
|
|
818
818
|
node: null,
|
|
819
819
|
shadow: e
|
|
@@ -826,81 +826,81 @@ function gt() {
|
|
|
826
826
|
};
|
|
827
827
|
return t.sanitize = function(e) {
|
|
828
828
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
|
|
829
|
-
if (
|
|
829
|
+
if (Qt = !e, Qt && (e = "<!-->"), typeof e != "string" && !q(e) && (e = Le(e), typeof e != "string")) throw Fe("dirty is not a string, aborting");
|
|
830
830
|
if (!t.isSupported) return e;
|
|
831
|
-
|
|
831
|
+
jt ? (A = Mt, M = Nt) : dn(n), (C.uponSanitizeElement.length > 0 || C.uponSanitizeAttribute.length > 0) && (A = T(A)), C.uponSanitizeAttribute.length > 0 && (M = T(M)), t.removed = [];
|
|
832
832
|
let c = Ht && typeof e != "string" && q(e);
|
|
833
833
|
if (c) {
|
|
834
|
-
|
|
834
|
+
G(e);
|
|
835
835
|
let t = ce(e);
|
|
836
836
|
if (typeof t == "string") {
|
|
837
|
-
let n =
|
|
838
|
-
if (!A[n] ||
|
|
837
|
+
let n = B(t);
|
|
838
|
+
if (!A[n] || P[n]) throw yn(e), Fe("root node is forbidden and cannot be sanitized in-place");
|
|
839
839
|
}
|
|
840
|
-
if (
|
|
840
|
+
if (En(e)) throw yn(e), Fe("root node is clobbered and cannot be sanitized in-place");
|
|
841
841
|
try {
|
|
842
842
|
Ln(e);
|
|
843
843
|
} catch (t) {
|
|
844
844
|
throw yn(e), t;
|
|
845
845
|
}
|
|
846
|
-
} else if (q(e)) i =
|
|
846
|
+
} else if (q(e)) i = Sn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === D.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Ln(i);
|
|
847
847
|
else {
|
|
848
|
-
if (!
|
|
849
|
-
if (i =
|
|
848
|
+
if (!Ft && !I && !At && e.indexOf("<") === -1) return g && Lt ? he(e) : e;
|
|
849
|
+
if (i = Sn(e), !i) return Ft ? null : Lt ? _ : "";
|
|
850
850
|
}
|
|
851
|
-
i &&
|
|
851
|
+
i && Pt && H(i.firstChild);
|
|
852
852
|
let l = c ? e : i;
|
|
853
853
|
try {
|
|
854
|
-
let e =
|
|
854
|
+
let e = Cn(l);
|
|
855
855
|
for (; o = e.nextNode();) kn(o, l), Fn(o, l), K(o.content) && In(o.content);
|
|
856
856
|
} catch (n) {
|
|
857
|
-
throw c && (yn(e),
|
|
858
|
-
e.element &&
|
|
857
|
+
throw c && (yn(e), ve(t.removed, (e) => {
|
|
858
|
+
e.element && bn(e.element);
|
|
859
859
|
})), n;
|
|
860
860
|
}
|
|
861
861
|
if (c) {
|
|
862
862
|
let n = !1;
|
|
863
|
-
if (
|
|
864
|
-
t.element && (t.element === e && (n = !0),
|
|
865
|
-
}), n) throw
|
|
866
|
-
return
|
|
863
|
+
if (ve(t.removed, (t) => {
|
|
864
|
+
t.element && (t.element === e && (n = !0), bn(t.element));
|
|
865
|
+
}), n) throw Fe("a node selected for removal could not be safely returned; refusing to sanitize in place");
|
|
866
|
+
return I && Tn(e), e;
|
|
867
867
|
}
|
|
868
|
-
if (
|
|
869
|
-
if (
|
|
868
|
+
if (Ft) {
|
|
869
|
+
if (I && Tn(i), It) for (s = Ne.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
|
|
870
870
|
else s = i;
|
|
871
|
-
return (
|
|
871
|
+
return (M.shadowroot || M.shadowrootmode) && (s = S.call(r, s, !0)), s;
|
|
872
872
|
}
|
|
873
|
-
let u =
|
|
874
|
-
return
|
|
873
|
+
let u = At ? i.outerHTML : i.innerHTML;
|
|
874
|
+
return At && A["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && x(it, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), I && (u = wn(u)), g && Lt ? he(u) : u;
|
|
875
875
|
}, t.setConfig = function() {
|
|
876
876
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
877
|
-
dn(e),
|
|
877
|
+
dn(e), jt = !0, Mt = A, Nt = M;
|
|
878
878
|
}, t.clearConfig = function() {
|
|
879
|
-
|
|
879
|
+
V = null, jt = !1, Mt = null, Nt = null, g = ue, _ = "";
|
|
880
880
|
}, t.isValidAttribute = function(e, t, n) {
|
|
881
|
-
|
|
882
|
-
let r =
|
|
881
|
+
V || dn({});
|
|
882
|
+
let r = B(e), i = B(t);
|
|
883
883
|
return An(r, i, n);
|
|
884
884
|
}, t.addHook = function(e, t) {
|
|
885
|
-
typeof t == "function" && b(
|
|
885
|
+
typeof t == "function" && b(C, e) && xe(C[e], t);
|
|
886
886
|
}, t.removeHook = function(e, t) {
|
|
887
|
-
if (b(
|
|
887
|
+
if (b(C, e)) {
|
|
888
888
|
if (t !== void 0) {
|
|
889
|
-
let n =
|
|
890
|
-
return n === -1 ? void 0 :
|
|
889
|
+
let n = ye(C[e], t);
|
|
890
|
+
return n === -1 ? void 0 : Se(C[e], n, 1)[0];
|
|
891
891
|
}
|
|
892
|
-
return
|
|
892
|
+
return be(C[e]);
|
|
893
893
|
}
|
|
894
894
|
}, t.removeHooks = function(e) {
|
|
895
|
-
b(
|
|
895
|
+
b(C, e) && (C[e] = []);
|
|
896
896
|
}, t.removeAllHooks = function() {
|
|
897
|
-
|
|
897
|
+
C = ht();
|
|
898
898
|
}, t;
|
|
899
899
|
}
|
|
900
|
-
var
|
|
900
|
+
var yt = vt();
|
|
901
901
|
//#endregion
|
|
902
902
|
//#region node_modules/marked/lib/marked.esm.js
|
|
903
|
-
function
|
|
903
|
+
function bt() {
|
|
904
904
|
return {
|
|
905
905
|
async: !1,
|
|
906
906
|
breaks: !1,
|
|
@@ -914,12 +914,12 @@ function vt() {
|
|
|
914
914
|
walkTokens: null
|
|
915
915
|
};
|
|
916
916
|
}
|
|
917
|
-
var
|
|
918
|
-
function bt(e) {
|
|
919
|
-
yt = e;
|
|
920
|
-
}
|
|
921
|
-
var xt = { exec: () => null };
|
|
917
|
+
var xt = bt();
|
|
922
918
|
function St(e) {
|
|
919
|
+
xt = e;
|
|
920
|
+
}
|
|
921
|
+
var O = { exec: () => null };
|
|
922
|
+
function Ct(e) {
|
|
923
923
|
let t = [];
|
|
924
924
|
return (n) => {
|
|
925
925
|
let r = Math.max(0, Math.min(3, n - 1)), i = t[r];
|
|
@@ -930,19 +930,19 @@ function k(e, t = "") {
|
|
|
930
930
|
let n = typeof e == "string" ? e : e.source, r = {
|
|
931
931
|
replace: (e, t) => {
|
|
932
932
|
let i = typeof t == "string" ? t : t.source;
|
|
933
|
-
return i = i.replace(
|
|
933
|
+
return i = i.replace(j.caret, "$1"), n = n.replace(e, i), r;
|
|
934
934
|
},
|
|
935
935
|
getRegex: () => new RegExp(n, t)
|
|
936
936
|
};
|
|
937
937
|
return r;
|
|
938
938
|
}
|
|
939
|
-
var
|
|
939
|
+
var A = ((e = "") => {
|
|
940
940
|
try {
|
|
941
941
|
return !!RegExp("(?<=1)(?<!1)" + e);
|
|
942
942
|
} catch {
|
|
943
943
|
return !1;
|
|
944
944
|
}
|
|
945
|
-
})(),
|
|
945
|
+
})(), j = {
|
|
946
946
|
codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
|
|
947
947
|
outputLinkReplace: /\\([\[\]])/g,
|
|
948
948
|
indentCodeCompensation: /^(\s+)(?:```)/,
|
|
@@ -993,121 +993,121 @@ var Ct = ((e = "") => {
|
|
|
993
993
|
notSpaceStart: /^\S*/,
|
|
994
994
|
endingNewline: /\n$/,
|
|
995
995
|
listItemRegex: (e) => RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),
|
|
996
|
-
nextBulletRegex:
|
|
997
|
-
hrRegex:
|
|
998
|
-
fencesBeginRegex:
|
|
999
|
-
headingBeginRegex:
|
|
1000
|
-
htmlBeginRegex:
|
|
1001
|
-
blockquoteBeginRegex:
|
|
1002
|
-
},
|
|
996
|
+
nextBulletRegex: Ct((e) => RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),
|
|
997
|
+
hrRegex: Ct((e) => RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),
|
|
998
|
+
fencesBeginRegex: Ct((e) => RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),
|
|
999
|
+
headingBeginRegex: Ct((e) => RegExp(`^ {0,${e}}#`)),
|
|
1000
|
+
htmlBeginRegex: Ct((e) => RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`, "i")),
|
|
1001
|
+
blockquoteBeginRegex: Ct((e) => RegExp(`^ {0,${e}}>`))
|
|
1002
|
+
}, M = /^(?:[ \t]*(?:\n|$))+/, wt = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, N = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, P = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Tt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = / {0,3}(?:[*+-]|\d{1,9}[.)])/, Et = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Dt = k(Et).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Ot = k(Et).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), kt = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, I = /^[^\n]+/, L = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, At = k(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", L).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), jt = k(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), Mt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Nt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Pt = k("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Nt).replace("tag", Mt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Ft = k(kt).replace("hr", P).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Mt).getRegex(), It = {
|
|
1003
1003
|
blockquote: k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Ft).getRegex(),
|
|
1004
|
-
code:
|
|
1005
|
-
def:
|
|
1006
|
-
fences:
|
|
1007
|
-
heading:
|
|
1008
|
-
hr:
|
|
1004
|
+
code: wt,
|
|
1005
|
+
def: At,
|
|
1006
|
+
fences: N,
|
|
1007
|
+
heading: Tt,
|
|
1008
|
+
hr: P,
|
|
1009
1009
|
html: Pt,
|
|
1010
|
-
lheading:
|
|
1011
|
-
list:
|
|
1012
|
-
newline:
|
|
1010
|
+
lheading: Dt,
|
|
1011
|
+
list: jt,
|
|
1012
|
+
newline: M,
|
|
1013
1013
|
paragraph: Ft,
|
|
1014
|
-
table:
|
|
1015
|
-
text:
|
|
1016
|
-
},
|
|
1017
|
-
...
|
|
1018
|
-
lheading:
|
|
1019
|
-
table:
|
|
1020
|
-
paragraph: k(
|
|
1021
|
-
},
|
|
1022
|
-
...
|
|
1014
|
+
table: O,
|
|
1015
|
+
text: I
|
|
1016
|
+
}, Lt = k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", P).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Mt).getRegex(), Rt = {
|
|
1017
|
+
...It,
|
|
1018
|
+
lheading: Ot,
|
|
1019
|
+
table: Lt,
|
|
1020
|
+
paragraph: k(kt).replace("hr", P).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Lt).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Mt).getRegex()
|
|
1021
|
+
}, zt = {
|
|
1022
|
+
...It,
|
|
1023
1023
|
html: k("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", Nt).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
1024
1024
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
|
1025
1025
|
heading: /^(#{1,6})(.*)(?:\n+|$)/,
|
|
1026
|
-
fences:
|
|
1026
|
+
fences: O,
|
|
1027
1027
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
1028
|
-
paragraph: k(
|
|
1029
|
-
},
|
|
1030
|
-
_backpedal:
|
|
1031
|
-
anyPunctuation:
|
|
1032
|
-
autolink:
|
|
1033
|
-
blockSkip:
|
|
1034
|
-
br:
|
|
1035
|
-
code:
|
|
1036
|
-
del:
|
|
1037
|
-
delLDelim:
|
|
1038
|
-
delRDelim:
|
|
1039
|
-
emStrongLDelim:
|
|
1040
|
-
emStrongRDelimAst:
|
|
1041
|
-
emStrongRDelimUnd:
|
|
1042
|
-
escape:
|
|
1043
|
-
link:
|
|
1044
|
-
nolink:
|
|
1045
|
-
punctuation:
|
|
1046
|
-
reflink:
|
|
1047
|
-
reflinkSearch:
|
|
1048
|
-
tag:
|
|
1049
|
-
text:
|
|
1050
|
-
url:
|
|
1051
|
-
},
|
|
1052
|
-
...
|
|
1028
|
+
paragraph: k(kt).replace("hr", P).replace("heading", " *#{1,6} *[^\n]").replace("lheading", Dt).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
1029
|
+
}, Bt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Vt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ht = /^( {2,}|\\)\n(?!\s*$)/, Ut = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, R = /[\p{P}\p{S}]/u, Wt = /[\s\p{P}\p{S}]/u, Gt = /[^\s\p{P}\p{S}]/u, Kt = k(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Wt).getRegex(), qt = /(?!~)[\p{P}\p{S}]/u, Jt = /(?!~)[\s\p{P}\p{S}]/u, Yt = /(?:[^\s\p{P}\p{S}]|~)/u, Xt = k(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", A ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), z = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, Zt = k(z, "u").replace(/punct/g, R).getRegex(), Qt = k(z, "u").replace(/punct/g, qt).getRegex(), $t = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", en = k($t, "gu").replace(/notPunctSpace/g, Gt).replace(/punctSpace/g, Wt).replace(/punct/g, R).getRegex(), tn = k($t, "gu").replace(/notPunctSpace/g, Yt).replace(/punctSpace/g, Jt).replace(/punct/g, qt).getRegex(), nn = k("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Gt).replace(/punctSpace/g, Wt).replace(/punct/g, R).getRegex(), rn = k(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, R).getRegex(), an = k("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Gt).replace(/punctSpace/g, Wt).replace(/punct/g, R).getRegex(), on = k(/\\(punct)/, "gu").replace(/punct/g, R).getRegex(), sn = k(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), cn = k(Nt).replace("(?:-->|$)", "-->").getRegex(), B = k("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", cn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), V = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, ln = k(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", V).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), un = k(/^!?\[(label)\]\[(ref)\]/).replace("label", V).replace("ref", L).getRegex(), dn = k(/^!?\[(ref)\](?:\[\])?/).replace("ref", L).getRegex(), fn = k("reflink|nolink(?!\\()", "g").replace("reflink", un).replace("nolink", dn).getRegex(), pn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, mn = {
|
|
1030
|
+
_backpedal: O,
|
|
1031
|
+
anyPunctuation: on,
|
|
1032
|
+
autolink: sn,
|
|
1033
|
+
blockSkip: Xt,
|
|
1034
|
+
br: Ht,
|
|
1035
|
+
code: Vt,
|
|
1036
|
+
del: O,
|
|
1037
|
+
delLDelim: O,
|
|
1038
|
+
delRDelim: O,
|
|
1039
|
+
emStrongLDelim: Zt,
|
|
1040
|
+
emStrongRDelimAst: en,
|
|
1041
|
+
emStrongRDelimUnd: nn,
|
|
1042
|
+
escape: Bt,
|
|
1043
|
+
link: ln,
|
|
1044
|
+
nolink: dn,
|
|
1045
|
+
punctuation: Kt,
|
|
1046
|
+
reflink: un,
|
|
1047
|
+
reflinkSearch: fn,
|
|
1048
|
+
tag: B,
|
|
1049
|
+
text: Ut,
|
|
1050
|
+
url: O
|
|
1051
|
+
}, hn = {
|
|
1052
|
+
...mn,
|
|
1053
1053
|
link: k(/^!?\[(label)\]\((.*?)\)/).replace("label", V).getRegex(),
|
|
1054
1054
|
reflink: k(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", V).getRegex()
|
|
1055
|
-
},
|
|
1056
|
-
...
|
|
1057
|
-
emStrongRDelimAst:
|
|
1058
|
-
emStrongLDelim:
|
|
1059
|
-
delLDelim:
|
|
1060
|
-
delRDelim:
|
|
1061
|
-
url: k(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",
|
|
1055
|
+
}, gn = {
|
|
1056
|
+
...mn,
|
|
1057
|
+
emStrongRDelimAst: tn,
|
|
1058
|
+
emStrongLDelim: Qt,
|
|
1059
|
+
delLDelim: rn,
|
|
1060
|
+
delRDelim: an,
|
|
1061
|
+
url: k(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", pn).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
|
|
1062
1062
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
|
1063
1063
|
del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
|
|
1064
|
-
text: k(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",
|
|
1065
|
-
}, gn = {
|
|
1066
|
-
...hn,
|
|
1067
|
-
br: k(Vt).replace("{2,}", "*").getRegex(),
|
|
1068
|
-
text: k(hn.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
1064
|
+
text: k(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", pn).getRegex()
|
|
1069
1065
|
}, _n = {
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1066
|
+
...gn,
|
|
1067
|
+
br: k(Ht).replace("{2,}", "*").getRegex(),
|
|
1068
|
+
text: k(gn.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
1073
1069
|
}, H = {
|
|
1074
|
-
normal:
|
|
1075
|
-
gfm:
|
|
1076
|
-
|
|
1077
|
-
pedantic: mn
|
|
1070
|
+
normal: It,
|
|
1071
|
+
gfm: Rt,
|
|
1072
|
+
pedantic: zt
|
|
1078
1073
|
}, vn = {
|
|
1074
|
+
normal: mn,
|
|
1075
|
+
gfm: gn,
|
|
1076
|
+
breaks: _n,
|
|
1077
|
+
pedantic: hn
|
|
1078
|
+
}, yn = {
|
|
1079
1079
|
"&": "&",
|
|
1080
1080
|
"<": "<",
|
|
1081
1081
|
">": ">",
|
|
1082
1082
|
"\"": """,
|
|
1083
1083
|
"'": "'"
|
|
1084
|
-
},
|
|
1085
|
-
function
|
|
1084
|
+
}, U = (e) => yn[e];
|
|
1085
|
+
function W(e, t) {
|
|
1086
1086
|
if (t) {
|
|
1087
|
-
if (
|
|
1088
|
-
} else if (
|
|
1087
|
+
if (j.escapeTest.test(e)) return e.replace(j.escapeReplace, U);
|
|
1088
|
+
} else if (j.escapeTestNoEncode.test(e)) return e.replace(j.escapeReplaceNoEncode, U);
|
|
1089
1089
|
return e;
|
|
1090
1090
|
}
|
|
1091
1091
|
function bn(e) {
|
|
1092
1092
|
try {
|
|
1093
|
-
e = encodeURI(e).replace(
|
|
1093
|
+
e = encodeURI(e).replace(j.percentDecode, "%");
|
|
1094
1094
|
} catch {
|
|
1095
1095
|
return null;
|
|
1096
1096
|
}
|
|
1097
1097
|
return e;
|
|
1098
1098
|
}
|
|
1099
1099
|
function xn(e, t) {
|
|
1100
|
-
let n = e.replace(
|
|
1100
|
+
let n = e.replace(j.findPipe, (e, t, n) => {
|
|
1101
1101
|
let r = !1, i = t;
|
|
1102
1102
|
for (; --i >= 0 && n[i] === "\\";) r = !r;
|
|
1103
1103
|
return r ? "|" : " |";
|
|
1104
|
-
}).split(
|
|
1104
|
+
}).split(j.splitPipe), r = 0;
|
|
1105
1105
|
if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) if (n.length > t) n.splice(t);
|
|
1106
1106
|
else for (; n.length < t;) n.push("");
|
|
1107
|
-
for (; r < n.length; r++) n[r] = n[r].trim().replace(
|
|
1107
|
+
for (; r < n.length; r++) n[r] = n[r].trim().replace(j.slashPipe, "|");
|
|
1108
1108
|
return n;
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function G(e, t, n) {
|
|
1111
1111
|
let r = e.length;
|
|
1112
1112
|
if (r === 0) return "";
|
|
1113
1113
|
let i = 0;
|
|
@@ -1121,7 +1121,7 @@ function W(e, t, n) {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
function Sn(e) {
|
|
1123
1123
|
let t = e.split("\n"), n = t.length - 1;
|
|
1124
|
-
for (; n >= 0 &&
|
|
1124
|
+
for (; n >= 0 && j.blankLine.test(t[n]);) n--;
|
|
1125
1125
|
return t.length - n <= 2 ? e : t.slice(0, n + 1).join("\n");
|
|
1126
1126
|
}
|
|
1127
1127
|
function Cn(e, t) {
|
|
@@ -1164,12 +1164,12 @@ function En(e, t, n) {
|
|
|
1164
1164
|
return r.length >= i.length ? e.slice(i.length) : e;
|
|
1165
1165
|
}).join("\n");
|
|
1166
1166
|
}
|
|
1167
|
-
var
|
|
1167
|
+
var K = class {
|
|
1168
1168
|
options;
|
|
1169
1169
|
rules;
|
|
1170
1170
|
lexer;
|
|
1171
1171
|
constructor(e) {
|
|
1172
|
-
this.options = e ||
|
|
1172
|
+
this.options = e || xt;
|
|
1173
1173
|
}
|
|
1174
1174
|
space(e) {
|
|
1175
1175
|
let t = this.rules.block.newline.exec(e);
|
|
@@ -1207,12 +1207,12 @@ var G = class {
|
|
|
1207
1207
|
if (t) {
|
|
1208
1208
|
let e = t[2].trim();
|
|
1209
1209
|
if (this.rules.other.endingHash.test(e)) {
|
|
1210
|
-
let t =
|
|
1210
|
+
let t = G(e, "#");
|
|
1211
1211
|
(this.options.pedantic || !t || this.rules.other.endingSpaceChar.test(t)) && (e = t.trim());
|
|
1212
1212
|
}
|
|
1213
1213
|
return {
|
|
1214
1214
|
type: "heading",
|
|
1215
|
-
raw:
|
|
1215
|
+
raw: G(t[0], "\n"),
|
|
1216
1216
|
depth: t[1].length,
|
|
1217
1217
|
text: e,
|
|
1218
1218
|
tokens: this.lexer.inline(e)
|
|
@@ -1223,13 +1223,13 @@ var G = class {
|
|
|
1223
1223
|
let t = this.rules.block.hr.exec(e);
|
|
1224
1224
|
if (t) return {
|
|
1225
1225
|
type: "hr",
|
|
1226
|
-
raw:
|
|
1226
|
+
raw: G(t[0], "\n")
|
|
1227
1227
|
};
|
|
1228
1228
|
}
|
|
1229
1229
|
blockquote(e) {
|
|
1230
1230
|
let t = this.rules.block.blockquote.exec(e);
|
|
1231
1231
|
if (t) {
|
|
1232
|
-
let e =
|
|
1232
|
+
let e = G(t[0], "\n").split("\n"), n = "", r = "", i = [];
|
|
1233
1233
|
for (; e.length > 0;) {
|
|
1234
1234
|
let t = !1, a = [], o;
|
|
1235
1235
|
for (o = 0; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
|
|
@@ -1362,7 +1362,7 @@ ${c}` : c;
|
|
|
1362
1362
|
return {
|
|
1363
1363
|
type: "def",
|
|
1364
1364
|
tag: e,
|
|
1365
|
-
raw:
|
|
1365
|
+
raw: G(t[0], "\n"),
|
|
1366
1366
|
href: n,
|
|
1367
1367
|
title: r
|
|
1368
1368
|
};
|
|
@@ -1373,7 +1373,7 @@ ${c}` : c;
|
|
|
1373
1373
|
if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
|
|
1374
1374
|
let n = xn(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
|
|
1375
1375
|
type: "table",
|
|
1376
|
-
raw:
|
|
1376
|
+
raw: G(t[0], "\n"),
|
|
1377
1377
|
header: [],
|
|
1378
1378
|
align: [],
|
|
1379
1379
|
rows: []
|
|
@@ -1401,7 +1401,7 @@ ${c}` : c;
|
|
|
1401
1401
|
let e = t[1].trim();
|
|
1402
1402
|
return {
|
|
1403
1403
|
type: "heading",
|
|
1404
|
-
raw:
|
|
1404
|
+
raw: G(t[0], "\n"),
|
|
1405
1405
|
depth: t[2].charAt(0) === "=" ? 1 : 2,
|
|
1406
1406
|
text: e,
|
|
1407
1407
|
tokens: this.lexer.inline(e)
|
|
@@ -1454,7 +1454,7 @@ ${c}` : c;
|
|
|
1454
1454
|
let e = t[2].trim();
|
|
1455
1455
|
if (!this.options.pedantic && this.rules.other.startAngleBracket.test(e)) {
|
|
1456
1456
|
if (!this.rules.other.endAngleBracket.test(e)) return;
|
|
1457
|
-
let t =
|
|
1457
|
+
let t = G(e.slice(0, -1), "\\");
|
|
1458
1458
|
if ((e.length - t.length) % 2 == 0) return;
|
|
1459
1459
|
} else {
|
|
1460
1460
|
let e = Cn(t[2], "()");
|
|
@@ -1619,29 +1619,29 @@ ${c}` : c;
|
|
|
1619
1619
|
};
|
|
1620
1620
|
}
|
|
1621
1621
|
}
|
|
1622
|
-
},
|
|
1622
|
+
}, q = class e {
|
|
1623
1623
|
tokens;
|
|
1624
1624
|
options;
|
|
1625
1625
|
state;
|
|
1626
1626
|
inlineQueue;
|
|
1627
1627
|
tokenizer;
|
|
1628
1628
|
constructor(e) {
|
|
1629
|
-
this.tokens = [], this.tokens.links = Object.create(null), this.options = e ||
|
|
1629
|
+
this.tokens = [], this.tokens.links = Object.create(null), this.options = e || xt, this.options.tokenizer = this.options.tokenizer || new K(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
|
1630
1630
|
inLink: !1,
|
|
1631
1631
|
inRawBlock: !1,
|
|
1632
1632
|
top: !0
|
|
1633
1633
|
};
|
|
1634
1634
|
let t = {
|
|
1635
|
-
other:
|
|
1636
|
-
block:
|
|
1637
|
-
inline:
|
|
1635
|
+
other: j,
|
|
1636
|
+
block: H.normal,
|
|
1637
|
+
inline: vn.normal
|
|
1638
1638
|
};
|
|
1639
|
-
this.options.pedantic ? (t.block =
|
|
1639
|
+
this.options.pedantic ? (t.block = H.pedantic, t.inline = vn.pedantic) : this.options.gfm && (t.block = H.gfm, this.options.breaks ? t.inline = vn.breaks : t.inline = vn.gfm), this.tokenizer.rules = t;
|
|
1640
1640
|
}
|
|
1641
1641
|
static get rules() {
|
|
1642
1642
|
return {
|
|
1643
|
-
block:
|
|
1644
|
-
inline:
|
|
1643
|
+
block: H,
|
|
1644
|
+
inline: vn
|
|
1645
1645
|
};
|
|
1646
1646
|
}
|
|
1647
1647
|
static lex(t, n) {
|
|
@@ -1651,7 +1651,7 @@ ${c}` : c;
|
|
|
1651
1651
|
return new e(n).inlineTokens(t);
|
|
1652
1652
|
}
|
|
1653
1653
|
lex(e) {
|
|
1654
|
-
e = e.replace(
|
|
1654
|
+
e = e.replace(j.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
|
|
1655
1655
|
for (let e = 0; e < this.inlineQueue.length; e++) {
|
|
1656
1656
|
let t = this.inlineQueue[e];
|
|
1657
1657
|
this.inlineTokens(t.src, t.tokens);
|
|
@@ -1659,7 +1659,7 @@ ${c}` : c;
|
|
|
1659
1659
|
return this.inlineQueue = [], this.tokens;
|
|
1660
1660
|
}
|
|
1661
1661
|
blockTokens(e, t = [], n = !1) {
|
|
1662
|
-
this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(
|
|
1662
|
+
this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(j.tabCharGlobal, " ").replace(j.spaceLine, ""));
|
|
1663
1663
|
let r = Infinity;
|
|
1664
1664
|
for (; e;) {
|
|
1665
1665
|
if (e.length < r) r = e.length;
|
|
@@ -1841,18 +1841,18 @@ ${c}` : c;
|
|
|
1841
1841
|
if (this.options.silent) console.error(t);
|
|
1842
1842
|
else throw Error(t);
|
|
1843
1843
|
}
|
|
1844
|
-
},
|
|
1844
|
+
}, J = class {
|
|
1845
1845
|
options;
|
|
1846
1846
|
parser;
|
|
1847
1847
|
constructor(e) {
|
|
1848
|
-
this.options = e ||
|
|
1848
|
+
this.options = e || xt;
|
|
1849
1849
|
}
|
|
1850
1850
|
space(e) {
|
|
1851
1851
|
return "";
|
|
1852
1852
|
}
|
|
1853
1853
|
code({ text: e, lang: t, escaped: n }) {
|
|
1854
|
-
let r = (t || "").match(
|
|
1855
|
-
return r ? "<pre><code class=\"language-" +
|
|
1854
|
+
let r = (t || "").match(j.notSpaceStart)?.[0], i = e.replace(j.endingNewline, "") + "\n";
|
|
1855
|
+
return r ? "<pre><code class=\"language-" + W(r) + "\">" + (n ? i : W(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : W(i, !0)) + "</code></pre>\n";
|
|
1856
1856
|
}
|
|
1857
1857
|
blockquote({ tokens: e }) {
|
|
1858
1858
|
return `<blockquote>
|
|
@@ -1922,7 +1922,7 @@ ${e}</tr>
|
|
|
1922
1922
|
return `<em>${this.parser.parseInline(e)}</em>`;
|
|
1923
1923
|
}
|
|
1924
1924
|
codespan({ text: e }) {
|
|
1925
|
-
return `<code>${
|
|
1925
|
+
return `<code>${W(e, !0)}</code>`;
|
|
1926
1926
|
}
|
|
1927
1927
|
br(e) {
|
|
1928
1928
|
return "<br>";
|
|
@@ -1935,20 +1935,20 @@ ${e}</tr>
|
|
|
1935
1935
|
if (i === null) return r;
|
|
1936
1936
|
e = i;
|
|
1937
1937
|
let a = "<a href=\"" + e + "\"";
|
|
1938
|
-
return t && (a += " title=\"" +
|
|
1938
|
+
return t && (a += " title=\"" + W(t) + "\""), a += ">" + r + "</a>", a;
|
|
1939
1939
|
}
|
|
1940
1940
|
image({ href: e, title: t, text: n, tokens: r }) {
|
|
1941
1941
|
r && (n = this.parser.parseInline(r, this.parser.textRenderer));
|
|
1942
1942
|
let i = bn(e);
|
|
1943
|
-
if (i === null) return
|
|
1943
|
+
if (i === null) return W(n);
|
|
1944
1944
|
e = i;
|
|
1945
|
-
let a = `<img src="${e}" alt="${
|
|
1946
|
-
return t && (a += ` title="${
|
|
1945
|
+
let a = `<img src="${e}" alt="${W(n)}"`;
|
|
1946
|
+
return t && (a += ` title="${W(t)}"`), a += ">", a;
|
|
1947
1947
|
}
|
|
1948
1948
|
text(e) {
|
|
1949
|
-
return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text :
|
|
1949
|
+
return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : W(e.text);
|
|
1950
1950
|
}
|
|
1951
|
-
},
|
|
1951
|
+
}, Dn = class {
|
|
1952
1952
|
strong({ text: e }) {
|
|
1953
1953
|
return e;
|
|
1954
1954
|
}
|
|
@@ -1984,7 +1984,7 @@ ${e}</tr>
|
|
|
1984
1984
|
renderer;
|
|
1985
1985
|
textRenderer;
|
|
1986
1986
|
constructor(e) {
|
|
1987
|
-
this.options = e ||
|
|
1987
|
+
this.options = e || xt, this.options.renderer = this.options.renderer || new J(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Dn();
|
|
1988
1988
|
}
|
|
1989
1989
|
static parse(t, n) {
|
|
1990
1990
|
return new e(n).parse(t);
|
|
@@ -2130,11 +2130,11 @@ ${e}</tr>
|
|
|
2130
2130
|
}
|
|
2131
2131
|
return n;
|
|
2132
2132
|
}
|
|
2133
|
-
},
|
|
2133
|
+
}, On = class {
|
|
2134
2134
|
options;
|
|
2135
2135
|
block;
|
|
2136
2136
|
constructor(e) {
|
|
2137
|
-
this.options = e ||
|
|
2137
|
+
this.options = e || xt;
|
|
2138
2138
|
}
|
|
2139
2139
|
static passThroughHooks = /* @__PURE__ */ new Set([
|
|
2140
2140
|
"preprocess",
|
|
@@ -2160,22 +2160,22 @@ ${e}</tr>
|
|
|
2160
2160
|
return e;
|
|
2161
2161
|
}
|
|
2162
2162
|
provideLexer(e = this.block) {
|
|
2163
|
-
return e ?
|
|
2163
|
+
return e ? q.lex : q.lexInline;
|
|
2164
2164
|
}
|
|
2165
2165
|
provideParser(e = this.block) {
|
|
2166
2166
|
return e ? Y.parse : Y.parseInline;
|
|
2167
2167
|
}
|
|
2168
|
-
},
|
|
2169
|
-
defaults =
|
|
2168
|
+
}, X = new class {
|
|
2169
|
+
defaults = bt();
|
|
2170
2170
|
options = this.setOptions;
|
|
2171
2171
|
parse = this.parseMarkdown(!0);
|
|
2172
2172
|
parseInline = this.parseMarkdown(!1);
|
|
2173
2173
|
Parser = Y;
|
|
2174
|
-
Renderer =
|
|
2175
|
-
TextRenderer =
|
|
2176
|
-
Lexer =
|
|
2177
|
-
Tokenizer =
|
|
2178
|
-
Hooks =
|
|
2174
|
+
Renderer = J;
|
|
2175
|
+
TextRenderer = Dn;
|
|
2176
|
+
Lexer = q;
|
|
2177
|
+
Tokenizer = K;
|
|
2178
|
+
Hooks = On;
|
|
2179
2179
|
constructor(...e) {
|
|
2180
2180
|
this.use(...e);
|
|
2181
2181
|
}
|
|
@@ -2226,7 +2226,7 @@ ${e}</tr>
|
|
|
2226
2226
|
}
|
|
2227
2227
|
"childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
|
|
2228
2228
|
}), n.extensions = t), e.renderer) {
|
|
2229
|
-
let t = this.defaults.renderer || new
|
|
2229
|
+
let t = this.defaults.renderer || new J(this.defaults);
|
|
2230
2230
|
for (let n in e.renderer) {
|
|
2231
2231
|
if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
|
|
2232
2232
|
if (["options", "parser"].includes(n)) continue;
|
|
@@ -2239,7 +2239,7 @@ ${e}</tr>
|
|
|
2239
2239
|
n.renderer = t;
|
|
2240
2240
|
}
|
|
2241
2241
|
if (e.tokenizer) {
|
|
2242
|
-
let t = this.defaults.tokenizer || new
|
|
2242
|
+
let t = this.defaults.tokenizer || new K(this.defaults);
|
|
2243
2243
|
for (let n in e.tokenizer) {
|
|
2244
2244
|
if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
|
|
2245
2245
|
if ([
|
|
@@ -2256,13 +2256,13 @@ ${e}</tr>
|
|
|
2256
2256
|
n.tokenizer = t;
|
|
2257
2257
|
}
|
|
2258
2258
|
if (e.hooks) {
|
|
2259
|
-
let t = this.defaults.hooks || new
|
|
2259
|
+
let t = this.defaults.hooks || new On();
|
|
2260
2260
|
for (let n in e.hooks) {
|
|
2261
2261
|
if (!(n in t)) throw Error(`hook '${n}' does not exist`);
|
|
2262
2262
|
if (["options", "block"].includes(n)) continue;
|
|
2263
2263
|
let r = n, i = e.hooks[r], a = t[r];
|
|
2264
|
-
|
|
2265
|
-
if (this.defaults.async &&
|
|
2264
|
+
On.passThroughHooks.has(n) ? t[r] = (e) => {
|
|
2265
|
+
if (this.defaults.async && On.passThroughHooksRespectAsync.has(n)) return (async () => {
|
|
2266
2266
|
let n = await i.call(t, e);
|
|
2267
2267
|
return a.call(t, n);
|
|
2268
2268
|
})();
|
|
@@ -2299,7 +2299,7 @@ ${e}</tr>
|
|
|
2299
2299
|
}, this;
|
|
2300
2300
|
}
|
|
2301
2301
|
lexer(e, t) {
|
|
2302
|
-
return
|
|
2302
|
+
return q.lex(e, t ?? this.defaults);
|
|
2303
2303
|
}
|
|
2304
2304
|
parser(e, t) {
|
|
2305
2305
|
return Y.parse(e, t ?? this.defaults);
|
|
@@ -2314,14 +2314,14 @@ ${e}</tr>
|
|
|
2314
2314
|
if (typeof t > "u" || t === null) return a(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
|
|
2315
2315
|
if (typeof t != "string") return a(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
|
|
2316
2316
|
if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
|
|
2317
|
-
let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer(e) : e ?
|
|
2317
|
+
let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer(e) : e ? q.lex : q.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
|
|
2318
2318
|
i.walkTokens && await Promise.all(this.walkTokens(a, i.walkTokens));
|
|
2319
2319
|
let o = await (i.hooks ? await i.hooks.provideParser(e) : e ? Y.parse : Y.parseInline)(a, i);
|
|
2320
2320
|
return i.hooks ? await i.hooks.postprocess(o) : o;
|
|
2321
2321
|
})().catch(a);
|
|
2322
2322
|
try {
|
|
2323
2323
|
i.hooks && (t = i.hooks.preprocess(t));
|
|
2324
|
-
let n = (i.hooks ? i.hooks.provideLexer(e) : e ?
|
|
2324
|
+
let n = (i.hooks ? i.hooks.provideLexer(e) : e ? q.lex : q.lexInline)(t, i);
|
|
2325
2325
|
i.hooks && (n = i.hooks.processAllTokens(n)), i.walkTokens && this.walkTokens(n, i.walkTokens);
|
|
2326
2326
|
let r = (i.hooks ? i.hooks.provideParser(e) : e ? Y.parse : Y.parseInline)(n, i);
|
|
2327
2327
|
return i.hooks && (r = i.hooks.postprocess(r)), r;
|
|
@@ -2333,7 +2333,7 @@ ${e}</tr>
|
|
|
2333
2333
|
onError(e, t) {
|
|
2334
2334
|
return (n) => {
|
|
2335
2335
|
if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
|
|
2336
|
-
let e = "<p>An error occurred:</p><pre>" +
|
|
2336
|
+
let e = "<p>An error occurred:</p><pre>" + W(n.message + "", !0) + "</pre>";
|
|
2337
2337
|
return t ? Promise.resolve(e) : e;
|
|
2338
2338
|
}
|
|
2339
2339
|
if (t) return Promise.reject(n);
|
|
@@ -2342,23 +2342,23 @@ ${e}</tr>
|
|
|
2342
2342
|
}
|
|
2343
2343
|
}();
|
|
2344
2344
|
function Z(e, t) {
|
|
2345
|
-
return
|
|
2345
|
+
return X.parse(e, t);
|
|
2346
2346
|
}
|
|
2347
2347
|
Z.options = Z.setOptions = function(e) {
|
|
2348
|
-
return
|
|
2349
|
-
}, Z.getDefaults =
|
|
2350
|
-
return
|
|
2348
|
+
return X.setOptions(e), Z.defaults = X.defaults, St(Z.defaults), Z;
|
|
2349
|
+
}, Z.getDefaults = bt, Z.defaults = xt, Z.use = function(...e) {
|
|
2350
|
+
return X.use(...e), Z.defaults = X.defaults, St(Z.defaults), Z;
|
|
2351
2351
|
}, Z.walkTokens = function(e, t) {
|
|
2352
|
-
return
|
|
2353
|
-
}, Z.parseInline =
|
|
2352
|
+
return X.walkTokens(e, t);
|
|
2353
|
+
}, Z.parseInline = X.parseInline, Z.Parser = Y, Z.parser = Y.parse, Z.Renderer = J, Z.TextRenderer = Dn, Z.Lexer = q, Z.lexer = q.lex, Z.Tokenizer = K, Z.Hooks = On, Z.parse = Z, Z.options, Z.setOptions, Z.use, Z.walkTokens, Z.parseInline, Y.parse, q.lex;
|
|
2354
2354
|
//#endregion
|
|
2355
2355
|
//#region src/components/ai-chat/ai-chat.module.scss?inline
|
|
2356
|
-
var On = ":host{box-sizing:border-box;flex-direction:column;width:100%;height:100%;display:flex}:host .chat-container{background:var(--luzmo-ai-chat-background,var(--ai-chat-background));border-radius:var(--luzmo-ai-chat-border-radius,var(--ai-chat-border-radius));width:100%;height:100%;min-height:0;padding:var(--luzmo-ai-chat-padding,var(--ai-chat-padding));gap:var(--luzmo-ai-chat-gap,var(--ai-chat-gap));border:var(--luzmo-ai-chat-border,var(--ai-chat-border));box-shadow:var(--luzmo-ai-chat-box-shadow,var(--ai-chat-box-shadow));box-sizing:border-box;flex-direction:column;flex:1;display:flex;overflow:hidden}:host .chat-messages-container{gap:var(--luzmo-ai-chat-gap,var(--ai-chat-gap));flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}:host .chat-messages-container luzmo-ai-chat-empty-state{flex:1;min-height:0}:host .chat-messages-container::-webkit-scrollbar{width:var(--luzmo-ai-chat-scrollbar-width,var(--ai-chat-scrollbar-width))}:host .chat-messages-container::-webkit-scrollbar-track{background:var(--luzmo-ai-chat-scrollbar-track-background,var(--ai-chat-scrollbar-track-background));border-radius:var(--luzmo-ai-chat-scrollbar-track-border-radius,var(--ai-chat-scrollbar-track-border-radius))}:host .chat-messages-container::-webkit-scrollbar-thumb{background:var(--luzmo-ai-chat-scrollbar-thumb-background,var(--ai-chat-scrollbar-thumb-background));border-radius:var(--luzmo-ai-chat-scrollbar-thumb-border-radius,var(--ai-chat-scrollbar-thumb-border-radius))}:host .chat-messages-container::-webkit-scrollbar-thumb:hover{background:var(--luzmo-ai-chat-scrollbar-thumb-hover-background,var(--ai-chat-scrollbar-thumb-hover-background))}:host .chat-messages-container{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-ai-chat-scrollbar-thumb-background,var(--ai-chat-scrollbar-thumb-background)) var(--luzmo-ai-chat-scrollbar-track-background,var(--ai-chat-scrollbar-track-background))}:host luzmo-chat-message{--luzmo-primary:rgba(var(--luzmo-primary-rgb), .08);--chat-message-primary-text-color:var(--luzmo-font-color);--chat-message-primary-border-color:transparent}:host luzmo-chat-message.error{color:var(--luzmo-ai-chat-error-message-color,var(--ai-chat-error-message-color))}:host luzmo-chat-message.cancelled{color:var(--luzmo-ai-chat-cancelled-message-color,var(--ai-chat-cancelled-message-color));font-style:italic}:host .user-message-content{gap:var(--luzmo-spacing-3,8px);flex-direction:column;display:flex}:host .user-message-attachments{gap:var(--luzmo-spacing-2,4px);flex-wrap:wrap;display:flex}:host .user-message-attachment{width:var(--luzmo-ai-chat-user-message-attachment-size,var(--ai-chat-user-message-attachment-size));height:var(--luzmo-ai-chat-user-message-attachment-size,var(--ai-chat-user-message-attachment-size));object-fit:cover;object-position:center;border-radius:var(--luzmo-border-radius-s,4px);pointer-events:none;display:block}:host .user-message-text{white-space:pre-wrap;overflow-wrap:anywhere}:host .markdown-content{line-height:var(--luzmo-ai-chat-markdown-line-height,var(--ai-chat-markdown-line-height))}:host .markdown-content>:first-child{margin-top:0}:host .markdown-content>:last-child{margin-bottom:0}:host .markdown-content p,:host .markdown-content ul,:host .markdown-content ol,:host .markdown-content blockquote,:host .markdown-content pre,:host .markdown-content table{margin:0 0 var(--luzmo-ai-chat-markdown-spacing,var(--ai-chat-markdown-spacing))}:host .markdown-content h1,:host .markdown-content h2,:host .markdown-content h3,:host .markdown-content h4,:host .markdown-content h5,:host .markdown-content h6{margin:var(--luzmo-ai-chat-markdown-heading-spacing,var(--ai-chat-markdown-heading-spacing)) 0 var(--luzmo-ai-chat-markdown-spacing,var(--ai-chat-markdown-spacing));font-weight:var(--luzmo-ai-chat-markdown-heading-font-weight,var(--ai-chat-markdown-heading-font-weight))}:host .markdown-content ul,:host .markdown-content ol{padding-inline-start:var(--luzmo-ai-chat-markdown-list-indent,var(--ai-chat-markdown-list-indent))}:host .markdown-content a{color:var(--luzmo-ai-chat-markdown-link-color,var(--ai-chat-markdown-link-color))}:host .markdown-content code{font-family:var(--luzmo-ai-chat-markdown-code-font-family,var(--ai-chat-markdown-code-font-family));font-size:var(--luzmo-ai-chat-markdown-code-font-size,var(--ai-chat-markdown-code-font-size));background:var(--luzmo-ai-chat-markdown-code-background,var(--ai-chat-markdown-code-background));border-radius:var(--luzmo-ai-chat-markdown-code-border-radius,var(--ai-chat-markdown-code-border-radius));padding:.1em .3em}:host .markdown-content pre{background:var(--luzmo-ai-chat-markdown-code-background,var(--ai-chat-markdown-code-background));border-radius:var(--luzmo-ai-chat-markdown-code-border-radius,var(--ai-chat-markdown-code-border-radius));padding:.75em 1em;overflow-x:auto}:host .markdown-content pre code{background:0 0;padding:0}:host .markdown-content blockquote{border-inline-start:.1875rem solid var(--luzmo-ai-chat-markdown-border-color,var(--ai-chat-markdown-border-color));padding-inline-start:.75rem}:host .markdown-content hr{border:0;border-top:.0625rem solid var(--luzmo-ai-chat-markdown-border-color,var(--ai-chat-markdown-border-color));margin:var(--luzmo-ai-chat-markdown-heading-spacing,var(--ai-chat-markdown-heading-spacing)) 0}:host .markdown-content table{border-collapse:collapse;width:100%}:host .markdown-content th,:host .markdown-content td{border:.0625rem solid var(--luzmo-ai-chat-markdown-border-color,var(--ai-chat-markdown-border-color));text-align:start;padding:.375rem .625rem}:host .markdown-content th{background:var(--luzmo-ai-chat-markdown-table-header-background,var(--ai-chat-markdown-table-header-background));font-weight:600}:host .assistant-message-wrapper{gap:var(--luzmo-ai-chat-assistant-message-actions-margin-top,var(--ai-chat-assistant-message-actions-margin-top));font-family:var(--luzmo-ai-chat-assistant-message-font-family,var(--ai-chat-assistant-message-font-family));font-size:var(--luzmo-ai-chat-assistant-message-font-size,var(--ai-chat-assistant-message-font-size));line-height:var(--luzmo-ai-chat-assistant-message-line-height,var(--ai-chat-assistant-message-line-height));--chat-message-font-family:var(--luzmo-ai-chat-assistant-message-font-family,var(--ai-chat-assistant-message-font-family));--luzmo-chat-message-font-family:var(--luzmo-ai-chat-assistant-message-font-family,var(--ai-chat-assistant-message-font-family));--chat-message-font-size:var(--luzmo-ai-chat-assistant-message-font-size,var(--ai-chat-assistant-message-font-size));--luzmo-chat-message-font-size:var(--luzmo-ai-chat-assistant-message-font-size,var(--ai-chat-assistant-message-font-size));--chat-message-line-height:var(--luzmo-ai-chat-assistant-message-line-height,var(--ai-chat-assistant-message-line-height));--luzmo-chat-message-line-height:var(--luzmo-ai-chat-assistant-message-line-height,var(--ai-chat-assistant-message-line-height));flex-direction:column;display:flex}:host .assistant-message-body{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}:host .assistant-message-actions{align-items:center;gap:var(--luzmo-ai-chat-assistant-message-actions-gap,var(--ai-chat-assistant-message-actions-gap));flex-wrap:wrap;display:none}:host .assistant-message-actions.assistant-message-actions--has-content{display:flex}:host .assistant-message-actions.assistant-message-actions--confirming{flex-direction:column;align-items:flex-start}:host .assistant-message-actions .assistant-message-action-confirm-message{font-style:var(--luzmo-ai-chat-assistant-message-actions-font-style,var(--ai-chat-assistant-message-actions-font-style));color:var(--luzmo-ai-chat-assistant-message-actions-color,var(--ai-chat-assistant-message-actions-color));white-space:pre-line}:host .assistant-message-actions .assistant-message-action-confirm-controls{align-items:center;gap:var(--luzmo-ai-chat-assistant-message-actions-gap,var(--ai-chat-assistant-message-actions-gap));flex-wrap:wrap;display:flex}:host .assistant-message-actions luzmo-button.assistant-message-action,:host .assistant-message-actions slot::slotted(luzmo-button),:host .assistant-message-actions slot::slotted(button),:host .assistant-message-actions slot::slotted(a),:host .assistant-message-actions slot::slotted(input),:host .assistant-message-actions slot::slotted(select),:host .assistant-message-actions slot::slotted(textarea){font-style:normal}:host .assistant-message-actions slot::slotted(:not(luzmo-button):not(button):not(a):not(input):not(select):not(textarea)){font-style:var(--luzmo-ai-chat-assistant-message-actions-font-style,var(--ai-chat-assistant-message-actions-font-style));color:var(--luzmo-ai-chat-assistant-message-actions-color,var(--ai-chat-assistant-message-actions-color))}:host .assistant-context-menu-trigger{width:var(--luzmo-ai-chat-context-menu-trigger-size,var(--ai-chat-context-menu-trigger-size));height:var(--luzmo-ai-chat-context-menu-trigger-size,var(--ai-chat-context-menu-trigger-size));border:.0625rem solid var(--luzmo-ai-chat-context-menu-trigger-border-color,var(--ai-chat-context-menu-trigger-border-color));border-radius:var(--luzmo-ai-chat-context-menu-trigger-border-radius,var(--ai-chat-context-menu-trigger-border-radius));background:var(--luzmo-ai-chat-context-menu-trigger-background,var(--ai-chat-context-menu-trigger-background));color:var(--luzmo-ai-chat-context-menu-trigger-color,var(--ai-chat-context-menu-trigger-color));cursor:pointer;justify-content:center;align-items:center;padding:0;font-size:.875rem;line-height:1;transition:all .15s;display:inline-flex}:host .assistant-context-menu-trigger:hover{background:var(--luzmo-ai-chat-context-menu-trigger-hover-background,var(--ai-chat-context-menu-trigger-hover-background));border-color:var(--luzmo-ai-chat-context-menu-trigger-hover-border-color,var(--ai-chat-context-menu-trigger-hover-border-color));color:var(--luzmo-ai-chat-context-menu-trigger-hover-color,var(--ai-chat-context-menu-trigger-hover-color))}:host .assistant-context-menu-trigger:disabled{cursor:not-allowed;opacity:.6}:host .assistant-context-menu-trigger:disabled:hover{background:var(--luzmo-ai-chat-context-menu-trigger-background,var(--ai-chat-context-menu-trigger-background));border-color:var(--luzmo-ai-chat-context-menu-trigger-border-color,var(--ai-chat-context-menu-trigger-border-color));color:var(--luzmo-ai-chat-context-menu-trigger-color,var(--ai-chat-context-menu-trigger-color))}:host .assistant-context-menu-item{width:100%;color:var(--luzmo-font-color);text-align:start;cursor:pointer;font-family:var(--luzmo-ai-chat-context-menu-item-font-family,var(--ai-chat-context-menu-item-font-family));background:0 0;border:0;padding:.5rem .75rem}:host .assistant-context-menu-item:hover{background:var(--luzmo-ai-chat-context-menu-item-hover-background,var(--ai-chat-context-menu-item-hover-background))}:host .assistant-context-menu-item:disabled{opacity:.4;cursor:not-allowed}:host .assistant-context-menu-item:disabled:hover{background:0 0}:host luzmo-ai-interaction-textarea{flex-grow:0;flex-shrink:0}:host luzmo-progress-steps{padding:0 .25rem}:host .loading-message{color:var(--luzmo-font-color);align-items:center;gap:.5rem;display:flex}:host .loading-message svg{color:var(--luzmo-ai-chat-loading-message-color,var(--ai-chat-loading-message-color));font-size:var(--luzmo-ai-chat-loading-message-icon-font-size,var(--ai-chat-loading-message-icon-font-size,1rem));justify-content:center;align-items:center;display:flex}:host .loading-message svg.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){:host .assistant-context-menu-trigger{transition:none}:host .loading-message svg.spin{animation:none}}:host{--ai-chat-background:var(--luzmo-background-color);--ai-chat-border-radius:0;--ai-chat-padding:0;--ai-chat-gap:1rem;--ai-chat-border:none;--ai-chat-box-shadow:none;--ai-chat-loading-message-color:var(--luzmo-primary);--ai-chat-loading-message-icon-font-size:1rem;--ai-chat-error-message-color:var(--luzmo-danger,#dc3545);--ai-chat-cancelled-message-color:var(--luzmo-font-color-dimmed,var(--luzmo-font-color-extra-dimmed));--ai-chat-scrollbar-width:var(--luzmo-scrollbar-size);--ai-chat-scrollbar-track-background:var(--luzmo-scrollbar-track-background);--ai-chat-scrollbar-track-border-radius:var(--luzmo-scrollbar-track-border-radius);--ai-chat-scrollbar-thumb-background:var(--luzmo-scrollbar-thumb-background);--ai-chat-scrollbar-thumb-border-radius:var(--luzmo-scrollbar-thumb-border-radius);--ai-chat-scrollbar-thumb-hover-background:var(--luzmo-scrollbar-thumb-hover-background);--ai-chat-context-menu-trigger-size:1.5rem;--ai-chat-context-menu-trigger-border-color:var(--luzmo-border-color);--ai-chat-context-menu-trigger-border-radius:.375rem;--ai-chat-context-menu-trigger-background:var(--luzmo-background-color,transparent);--ai-chat-context-menu-trigger-color:var(--luzmo-font-color,#5a5a5a);--ai-chat-context-menu-trigger-hover-background:var(--luzmo-background-color-hover,#4434ff14);--ai-chat-context-menu-trigger-hover-border-color:var(--luzmo-border-color-hover,var(--luzmo-border-color));--ai-chat-context-menu-trigger-hover-color:var(--luzmo-font-color,#5a5a5a);--ai-chat-context-menu-item-hover-background:var(--luzmo-background-color-hover,#4434ff14);--ai-chat-context-menu-item-font-family:var(--luzmo-font-family);--ai-chat-markdown-line-height:1.5;--ai-chat-markdown-spacing:var(--luzmo-spacing-3);--ai-chat-markdown-heading-spacing:var(--luzmo-spacing-4);--ai-chat-markdown-heading-font-weight:var(--luzmo-font-weight-bold);--ai-chat-markdown-list-indent:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-3));--ai-chat-markdown-link-color:var(--luzmo-primary);--ai-chat-markdown-code-font-family:var(--luzmo-font-family-mono,ui-monospace, monospace);--ai-chat-markdown-code-font-size:.875em;--ai-chat-markdown-code-background:var(--luzmo-background-color-highlight);--ai-chat-markdown-code-border-radius:var(--luzmo-border-radius-s);--ai-chat-markdown-border-color:var(--luzmo-border-color);--ai-chat-markdown-table-header-background:var(--luzmo-background-color-highlight);--ai-chat-assistant-message-actions-gap:var(--luzmo-spacing-2);--ai-chat-assistant-message-actions-margin-top:var(--luzmo-spacing-3);--ai-chat-assistant-message-actions-color:var(--luzmo-font-color-extra-dimmed);--ai-chat-assistant-message-actions-font-style:italic;--ai-chat-assistant-message-font-family:var(--luzmo-font-family);--ai-chat-assistant-message-font-size:var(--luzmo-font-size-s,12px);--ai-chat-assistant-message-line-height:var(--ai-chat-markdown-line-height);--ai-chat-user-message-attachment-size:64px}";
|
|
2356
|
+
var kn = ":host{box-sizing:border-box;flex-direction:column;width:100%;height:100%;display:flex}:host .chat-container{background:var(--luzmo-ai-chat-background,var(--ai-chat-background));border-radius:var(--luzmo-ai-chat-border-radius,var(--ai-chat-border-radius));width:100%;height:100%;min-height:0;padding:var(--luzmo-ai-chat-padding,var(--ai-chat-padding));gap:var(--luzmo-ai-chat-gap,var(--ai-chat-gap));border:var(--luzmo-ai-chat-border,var(--ai-chat-border));box-shadow:var(--luzmo-ai-chat-box-shadow,var(--ai-chat-box-shadow));box-sizing:border-box;flex-direction:column;flex:1;display:flex;overflow:hidden}:host .chat-messages-container{gap:var(--luzmo-ai-chat-gap,var(--ai-chat-gap));flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}:host .chat-messages-container luzmo-ai-chat-empty-state{flex:1;min-height:0}:host .chat-messages-container::-webkit-scrollbar{width:var(--luzmo-ai-chat-scrollbar-width,var(--ai-chat-scrollbar-width))}:host .chat-messages-container::-webkit-scrollbar-track{background:var(--luzmo-ai-chat-scrollbar-track-background,var(--ai-chat-scrollbar-track-background));border-radius:var(--luzmo-ai-chat-scrollbar-track-border-radius,var(--ai-chat-scrollbar-track-border-radius))}:host .chat-messages-container::-webkit-scrollbar-thumb{background:var(--luzmo-ai-chat-scrollbar-thumb-background,var(--ai-chat-scrollbar-thumb-background));border-radius:var(--luzmo-ai-chat-scrollbar-thumb-border-radius,var(--ai-chat-scrollbar-thumb-border-radius))}:host .chat-messages-container::-webkit-scrollbar-thumb:hover{background:var(--luzmo-ai-chat-scrollbar-thumb-hover-background,var(--ai-chat-scrollbar-thumb-hover-background))}:host .chat-messages-container{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-ai-chat-scrollbar-thumb-background,var(--ai-chat-scrollbar-thumb-background)) var(--luzmo-ai-chat-scrollbar-track-background,var(--ai-chat-scrollbar-track-background))}:host luzmo-chat-message{--luzmo-primary:rgba(var(--luzmo-primary-rgb), .08);--chat-message-primary-text-color:var(--luzmo-font-color);--chat-message-primary-border-color:transparent}:host luzmo-chat-message.error{color:var(--luzmo-ai-chat-error-message-color,var(--ai-chat-error-message-color))}:host luzmo-chat-message.cancelled{color:var(--luzmo-ai-chat-cancelled-message-color,var(--ai-chat-cancelled-message-color));font-style:italic}:host .user-message-content{gap:var(--luzmo-spacing-3,8px);flex-direction:column;display:flex}:host .user-message-attachments{gap:var(--luzmo-spacing-2,4px);flex-wrap:wrap;display:flex}:host .user-message-attachment{width:var(--luzmo-ai-chat-user-message-attachment-size,var(--ai-chat-user-message-attachment-size));height:var(--luzmo-ai-chat-user-message-attachment-size,var(--ai-chat-user-message-attachment-size));object-fit:cover;object-position:center;border-radius:var(--luzmo-border-radius-s,4px);pointer-events:none;display:block}:host .user-message-text{white-space:pre-wrap;overflow-wrap:anywhere}:host .markdown-content{line-height:var(--luzmo-ai-chat-markdown-line-height,var(--ai-chat-markdown-line-height))}:host .markdown-content>:first-child{margin-top:0}:host .markdown-content>:last-child{margin-bottom:0}:host .markdown-content p,:host .markdown-content ul,:host .markdown-content ol,:host .markdown-content blockquote,:host .markdown-content pre,:host .markdown-content table{margin:0 0 var(--luzmo-ai-chat-markdown-spacing,var(--ai-chat-markdown-spacing))}:host .markdown-content h1,:host .markdown-content h2,:host .markdown-content h3,:host .markdown-content h4,:host .markdown-content h5,:host .markdown-content h6{margin:var(--luzmo-ai-chat-markdown-heading-spacing,var(--ai-chat-markdown-heading-spacing)) 0 var(--luzmo-ai-chat-markdown-spacing,var(--ai-chat-markdown-spacing));font-weight:var(--luzmo-ai-chat-markdown-heading-font-weight,var(--ai-chat-markdown-heading-font-weight))}:host .markdown-content ul,:host .markdown-content ol{padding-inline-start:var(--luzmo-ai-chat-markdown-list-indent,var(--ai-chat-markdown-list-indent))}:host .markdown-content a{color:var(--luzmo-ai-chat-markdown-link-color,var(--ai-chat-markdown-link-color))}:host .markdown-content code{font-family:var(--luzmo-ai-chat-markdown-code-font-family,var(--ai-chat-markdown-code-font-family));font-size:var(--luzmo-ai-chat-markdown-code-font-size,var(--ai-chat-markdown-code-font-size));background:var(--luzmo-ai-chat-markdown-code-background,var(--ai-chat-markdown-code-background));border-radius:var(--luzmo-ai-chat-markdown-code-border-radius,var(--ai-chat-markdown-code-border-radius));padding:.1em .3em}:host .markdown-content pre{background:var(--luzmo-ai-chat-markdown-code-background,var(--ai-chat-markdown-code-background));border-radius:var(--luzmo-ai-chat-markdown-code-border-radius,var(--ai-chat-markdown-code-border-radius));padding:.75em 1em;overflow-x:auto}:host .markdown-content pre code{background:0 0;padding:0}:host .markdown-content blockquote{border-inline-start:.1875rem solid var(--luzmo-ai-chat-markdown-border-color,var(--ai-chat-markdown-border-color));padding-inline-start:.75rem}:host .markdown-content hr{border:0;border-top:.0625rem solid var(--luzmo-ai-chat-markdown-border-color,var(--ai-chat-markdown-border-color));margin:var(--luzmo-ai-chat-markdown-heading-spacing,var(--ai-chat-markdown-heading-spacing)) 0}:host .markdown-content table{border-collapse:collapse;width:100%}:host .markdown-content th,:host .markdown-content td{border:.0625rem solid var(--luzmo-ai-chat-markdown-border-color,var(--ai-chat-markdown-border-color));text-align:start;padding:.375rem .625rem}:host .markdown-content th{background:var(--luzmo-ai-chat-markdown-table-header-background,var(--ai-chat-markdown-table-header-background));font-weight:600}:host .assistant-message-wrapper{gap:var(--luzmo-ai-chat-assistant-message-actions-margin-top,var(--ai-chat-assistant-message-actions-margin-top));font-family:var(--luzmo-ai-chat-assistant-message-font-family,var(--ai-chat-assistant-message-font-family));font-size:var(--luzmo-ai-chat-assistant-message-font-size,var(--ai-chat-assistant-message-font-size));line-height:var(--luzmo-ai-chat-assistant-message-line-height,var(--ai-chat-assistant-message-line-height));flex-direction:column;display:flex}:host luzmo-chat-message[position=left]{--luzmo-chat-message-font-family:var(--luzmo-ai-chat-assistant-message-font-family,var(--ai-chat-assistant-message-font-family));--luzmo-chat-message-font-size:var(--luzmo-ai-chat-assistant-message-font-size,var(--ai-chat-assistant-message-font-size));--luzmo-chat-message-line-height:var(--luzmo-ai-chat-assistant-message-line-height,var(--ai-chat-assistant-message-line-height))}:host .assistant-message-body{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}:host .assistant-message-actions{align-items:center;gap:var(--luzmo-ai-chat-assistant-message-actions-gap,var(--ai-chat-assistant-message-actions-gap));flex-wrap:wrap;display:none}:host .assistant-message-actions.assistant-message-actions--has-content{display:flex}:host .assistant-message-actions.assistant-message-actions--confirming{flex-direction:column;align-items:flex-start}:host .assistant-message-actions .assistant-message-action-confirm-message{font-style:var(--luzmo-ai-chat-assistant-message-actions-font-style,var(--ai-chat-assistant-message-actions-font-style));color:var(--luzmo-ai-chat-assistant-message-actions-color,var(--ai-chat-assistant-message-actions-color));white-space:pre-line}:host .assistant-message-actions .assistant-message-action-confirm-controls{align-items:center;gap:var(--luzmo-ai-chat-assistant-message-actions-gap,var(--ai-chat-assistant-message-actions-gap));flex-wrap:wrap;display:flex}:host .assistant-message-actions luzmo-button.assistant-message-action,:host .assistant-message-actions slot::slotted(luzmo-button),:host .assistant-message-actions slot::slotted(button),:host .assistant-message-actions slot::slotted(a),:host .assistant-message-actions slot::slotted(input),:host .assistant-message-actions slot::slotted(select),:host .assistant-message-actions slot::slotted(textarea){font-style:normal}:host .assistant-message-actions slot::slotted(:not(luzmo-button):not(button):not(a):not(input):not(select):not(textarea)){font-style:var(--luzmo-ai-chat-assistant-message-actions-font-style,var(--ai-chat-assistant-message-actions-font-style));color:var(--luzmo-ai-chat-assistant-message-actions-color,var(--ai-chat-assistant-message-actions-color))}:host .assistant-context-menu-trigger{width:var(--luzmo-ai-chat-context-menu-trigger-size,var(--ai-chat-context-menu-trigger-size));height:var(--luzmo-ai-chat-context-menu-trigger-size,var(--ai-chat-context-menu-trigger-size));border:.0625rem solid var(--luzmo-ai-chat-context-menu-trigger-border-color,var(--ai-chat-context-menu-trigger-border-color));border-radius:var(--luzmo-ai-chat-context-menu-trigger-border-radius,var(--ai-chat-context-menu-trigger-border-radius));background:var(--luzmo-ai-chat-context-menu-trigger-background,var(--ai-chat-context-menu-trigger-background));color:var(--luzmo-ai-chat-context-menu-trigger-color,var(--ai-chat-context-menu-trigger-color));cursor:pointer;font-size:var(--ai-chat-context-menu-trigger-icon-size);justify-content:center;align-items:center;padding:0;line-height:1;transition:all .15s;display:inline-flex}:host .assistant-context-menu-trigger:hover{background:var(--luzmo-ai-chat-context-menu-trigger-hover-background,var(--ai-chat-context-menu-trigger-hover-background));border-color:var(--luzmo-ai-chat-context-menu-trigger-hover-border-color,var(--ai-chat-context-menu-trigger-hover-border-color));color:var(--luzmo-ai-chat-context-menu-trigger-hover-color,var(--ai-chat-context-menu-trigger-hover-color))}:host .assistant-context-menu-trigger:disabled{cursor:not-allowed;opacity:.6}:host .assistant-context-menu-trigger:disabled:hover{background:var(--luzmo-ai-chat-context-menu-trigger-background,var(--ai-chat-context-menu-trigger-background));border-color:var(--luzmo-ai-chat-context-menu-trigger-border-color,var(--ai-chat-context-menu-trigger-border-color));color:var(--luzmo-ai-chat-context-menu-trigger-color,var(--ai-chat-context-menu-trigger-color))}:host .assistant-context-menu-item{width:100%;color:var(--luzmo-font-color);text-align:start;cursor:pointer;font-family:var(--luzmo-ai-chat-context-menu-item-font-family,var(--ai-chat-context-menu-item-font-family));background:0 0;border:0;padding:.5rem .75rem}:host .assistant-context-menu-item:hover{background:var(--luzmo-ai-chat-context-menu-item-hover-background,var(--ai-chat-context-menu-item-hover-background))}:host .assistant-context-menu-item:disabled{opacity:.4;cursor:not-allowed}:host .assistant-context-menu-item:disabled:hover{background:0 0}:host luzmo-ai-interaction-textarea{flex-grow:0;flex-shrink:0}:host .loading-message{color:var(--luzmo-font-color);align-items:center;gap:.5rem;display:flex}:host .loading-message svg{color:var(--luzmo-ai-chat-loading-message-color,var(--ai-chat-loading-message-color));font-size:var(--luzmo-ai-chat-loading-message-icon-font-size,var(--ai-chat-loading-message-icon-font-size));justify-content:center;align-items:center;display:flex}:host .loading-message svg.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){:host .assistant-context-menu-trigger{transition:none}:host .loading-message svg.spin{animation:none}}:host{--ai-chat-background:var(--luzmo-background-color);--ai-chat-border-radius:0;--ai-chat-padding:0;--ai-chat-gap:var(--luzmo-spacing-5);--ai-chat-border:none;--ai-chat-box-shadow:none;--ai-chat-loading-message-color:var(--luzmo-primary);--ai-chat-loading-message-icon-font-size:var(--luzmo-icon-size-m);--ai-chat-error-message-color:var(--luzmo-danger,#dc3545);--ai-chat-cancelled-message-color:var(--luzmo-font-color-dimmed,var(--luzmo-font-color-extra-dimmed));--ai-chat-scrollbar-width:var(--luzmo-scrollbar-size);--ai-chat-scrollbar-track-background:var(--luzmo-scrollbar-track-background);--ai-chat-scrollbar-track-border-radius:var(--luzmo-scrollbar-track-border-radius);--ai-chat-scrollbar-thumb-background:var(--luzmo-scrollbar-thumb-background);--ai-chat-scrollbar-thumb-border-radius:var(--luzmo-scrollbar-thumb-border-radius);--ai-chat-scrollbar-thumb-hover-background:var(--luzmo-scrollbar-thumb-hover-background);--ai-chat-context-menu-trigger-size:var(--luzmo-component-height-xs);--ai-chat-context-menu-trigger-icon-size:var(--luzmo-icon-size-s);--ai-chat-context-menu-trigger-border-color:var(--luzmo-border-color);--ai-chat-context-menu-trigger-border-radius:.375rem;--ai-chat-context-menu-trigger-background:var(--luzmo-background-color,transparent);--ai-chat-context-menu-trigger-color:var(--luzmo-font-color,#5a5a5a);--ai-chat-context-menu-trigger-hover-background:var(--luzmo-background-color-hover,#4434ff14);--ai-chat-context-menu-trigger-hover-border-color:var(--luzmo-border-color-hover,var(--luzmo-border-color));--ai-chat-context-menu-trigger-hover-color:var(--luzmo-font-color,#5a5a5a);--ai-chat-context-menu-item-hover-background:var(--luzmo-background-color-hover,#4434ff14);--ai-chat-context-menu-item-font-family:var(--luzmo-font-family);--ai-chat-markdown-line-height:1.5;--ai-chat-markdown-spacing:var(--luzmo-spacing-3);--ai-chat-markdown-heading-spacing:var(--luzmo-spacing-4);--ai-chat-markdown-heading-font-weight:var(--luzmo-font-weight-bold);--ai-chat-markdown-list-indent:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-3));--ai-chat-markdown-link-color:var(--luzmo-primary);--ai-chat-markdown-code-font-family:var(--luzmo-font-family-mono,ui-monospace, monospace);--ai-chat-markdown-code-font-size:.875em;--ai-chat-markdown-code-background:var(--luzmo-background-color-highlight);--ai-chat-markdown-code-border-radius:var(--luzmo-border-radius-s);--ai-chat-markdown-border-color:var(--luzmo-border-color);--ai-chat-markdown-table-header-background:var(--luzmo-background-color-highlight);--ai-chat-assistant-message-actions-gap:var(--luzmo-spacing-2);--ai-chat-assistant-message-actions-margin-top:var(--luzmo-spacing-3);--ai-chat-assistant-message-actions-color:var(--luzmo-font-color-extra-dimmed);--ai-chat-assistant-message-actions-font-style:italic;--ai-chat-assistant-message-font-family:var(--luzmo-font-family);--ai-chat-assistant-message-font-size:var(--luzmo-font-size-m);--ai-chat-assistant-message-line-height:var(--ai-chat-markdown-line-height);--ai-chat-user-message-attachment-size:64px}:host([size=s]){--ai-chat-gap:var(--luzmo-spacing-4);--ai-chat-loading-message-icon-font-size:var(--luzmo-icon-size-s);--ai-chat-context-menu-trigger-icon-size:var(--luzmo-icon-size-xs);--ai-chat-assistant-message-font-size:var(--luzmo-font-size-s)}:host([size=l]){--ai-chat-gap:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-2));--ai-chat-loading-message-icon-font-size:var(--luzmo-icon-size-l);--ai-chat-context-menu-trigger-size:var(--luzmo-component-height-s);--ai-chat-context-menu-trigger-icon-size:var(--luzmo-icon-size-m);--ai-chat-assistant-message-font-size:var(--luzmo-font-size-l)}:host([size=xl]){--ai-chat-gap:calc(var(--luzmo-spacing-5) + var(--luzmo-spacing-3));--ai-chat-loading-message-icon-font-size:var(--luzmo-icon-size-xl);--ai-chat-context-menu-trigger-size:var(--luzmo-component-height);--ai-chat-context-menu-trigger-icon-size:var(--luzmo-icon-size-l);--ai-chat-assistant-message-font-size:var(--luzmo-font-size-xl)}";
|
|
2357
2357
|
//#endregion
|
|
2358
2358
|
//#region src/components/ai-chat/helpers/agent-config.ts
|
|
2359
|
-
function
|
|
2359
|
+
function An(e, t) {
|
|
2360
2360
|
if (e.agentConfig) {
|
|
2361
|
-
let n = e.agentConfig, r = t ??
|
|
2361
|
+
let n = e.agentConfig, r = t ?? An({
|
|
2362
2362
|
...e,
|
|
2363
2363
|
agentConfig: void 0
|
|
2364
2364
|
});
|
|
@@ -2394,7 +2394,7 @@ function kn(e, t) {
|
|
|
2394
2394
|
case "analyst": return { type: "analyst" };
|
|
2395
2395
|
}
|
|
2396
2396
|
}
|
|
2397
|
-
function
|
|
2397
|
+
function jn(e) {
|
|
2398
2398
|
return {
|
|
2399
2399
|
chart: null,
|
|
2400
2400
|
dashboard: null,
|
|
@@ -2406,12 +2406,17 @@ function An(e) {
|
|
|
2406
2406
|
}
|
|
2407
2407
|
//#endregion
|
|
2408
2408
|
//#region src/components/ai-chat/empty-state/ai-chat-empty-state.module.scss?inline
|
|
2409
|
-
var
|
|
2409
|
+
var Mn = ":host{box-sizing:border-box;width:100%;min-height:0;padding-block:var(--luzmo-ai-chat-empty-state-padding-block,var(--ai-chat-empty-state-padding-block));padding-inline:var(--luzmo-ai-chat-empty-state-padding-inline,var(--ai-chat-empty-state-padding-inline));flex:1;justify-content:center;align-items:center;display:flex}.empty-state{justify-content:center;align-items:center;gap:var(--luzmo-ai-chat-empty-state-header-actions-gap,var(--ai-chat-empty-state-header-actions-gap));width:100%;max-width:var(--luzmo-ai-chat-empty-state-max-width,var(--ai-chat-empty-state-max-width));text-align:center;flex-direction:column;display:flex}.header{flex-direction:column;align-items:center;width:100%;display:flex}.actions{align-items:center;gap:var(--luzmo-ai-chat-empty-state-actions-gap,var(--ai-chat-empty-state-actions-gap));flex-direction:column;width:100%;display:flex}.title{font-family:var(--luzmo-font-family);font-size:var(--luzmo-ai-chat-empty-state-title-font-size,var(--ai-chat-empty-state-title-font-size));font-weight:var(--luzmo-ai-chat-empty-state-title-font-weight,var(--ai-chat-empty-state-title-font-weight));line-height:var(--luzmo-ai-chat-empty-state-title-line-height,var(--ai-chat-empty-state-title-line-height));color:var(--luzmo-ai-chat-empty-state-title-color,var(--ai-chat-empty-state-title-color));text-wrap:balance;margin:0}.subtitle{font-family:var(--luzmo-font-family);font-size:var(--luzmo-ai-chat-empty-state-subtitle-font-size,var(--ai-chat-empty-state-subtitle-font-size));font-weight:var(--luzmo-ai-chat-empty-state-subtitle-font-weight,var(--ai-chat-empty-state-subtitle-font-weight));line-height:var(--luzmo-ai-chat-empty-state-subtitle-line-height,var(--ai-chat-empty-state-subtitle-line-height));color:var(--luzmo-ai-chat-empty-state-subtitle-color,var(--ai-chat-empty-state-subtitle-color));margin:0}.suggestions{justify-content:center;align-items:center;gap:var(--luzmo-ai-chat-empty-state-suggestions-gap,var(--ai-chat-empty-state-suggestions-gap));flex-wrap:wrap;width:100%;display:flex}luzmo-action-button{max-width:100%}:host{--ai-chat-empty-state-header-actions-gap:1.5rem;--ai-chat-empty-state-actions-gap:var(--luzmo-spacing-4);--ai-chat-empty-state-suggestions-gap:var(--luzmo-spacing-3);--ai-chat-empty-state-max-width:22.5rem;--ai-chat-empty-state-padding-block:2rem;--ai-chat-empty-state-padding-inline:var(--luzmo-spacing-5);--ai-chat-empty-state-title-font-size:var(--luzmo-font-size-l);--ai-chat-empty-state-title-font-weight:var(--luzmo-font-weight);--ai-chat-empty-state-title-line-height:1.4;--ai-chat-empty-state-title-color:var(--luzmo-font-color-hard);--ai-chat-empty-state-subtitle-font-size:var(--luzmo-font-size-s);--ai-chat-empty-state-subtitle-font-weight:var(--luzmo-font-weight);--ai-chat-empty-state-subtitle-line-height:var(--luzmo-line-height);--ai-chat-empty-state-subtitle-color:var(--luzmo-font-color-dimmed,var(--luzmo-font-color-extra-dimmed))}:host([size=s]){--ai-chat-empty-state-title-font-size:var(--luzmo-font-size-m)}:host([size=l]){--ai-chat-empty-state-title-font-size:var(--luzmo-font-size-xl);--ai-chat-empty-state-subtitle-font-size:var(--luzmo-font-size-m)}:host([size=xl]){--ai-chat-empty-state-title-font-size:var(--luzmo-font-size-xxl);--ai-chat-empty-state-subtitle-font-size:var(--luzmo-font-size-l)}", Nn = class extends a(i, { validSizes: [
|
|
2410
|
+
"s",
|
|
2411
|
+
"m",
|
|
2412
|
+
"l",
|
|
2413
|
+
"xl"
|
|
2414
|
+
] }) {
|
|
2410
2415
|
constructor(...e) {
|
|
2411
|
-
super(...e), this.title =
|
|
2416
|
+
super(...e), this.title = s("What can I help you with?", { desc: "Title for the AI chat empty state" }), this.subtitle = "", this.suggestions = [], this.disabled = !1;
|
|
2412
2417
|
}
|
|
2413
2418
|
static {
|
|
2414
|
-
this.styles =
|
|
2419
|
+
this.styles = p(Mn);
|
|
2415
2420
|
}
|
|
2416
2421
|
static {
|
|
2417
2422
|
this.tagName = "luzmo-ai-chat-empty-state";
|
|
@@ -2431,24 +2436,24 @@ var jn = ":host{box-sizing:border-box;width:100%;min-height:0;padding-block:var(
|
|
|
2431
2436
|
}
|
|
2432
2437
|
render() {
|
|
2433
2438
|
let e = this.suggestions.length > 0;
|
|
2434
|
-
return
|
|
2439
|
+
return d`
|
|
2435
2440
|
<section class="empty-state" aria-labelledby="ai-chat-empty-state-title">
|
|
2436
2441
|
<header class="header">
|
|
2437
2442
|
<h2 id="ai-chat-empty-state-title" class="title">${this.title}</h2>
|
|
2438
2443
|
</header>
|
|
2439
2444
|
|
|
2440
|
-
${e ?
|
|
2445
|
+
${e ? d`
|
|
2441
2446
|
<div class="actions">
|
|
2442
|
-
${this.subtitle ?
|
|
2447
|
+
${this.subtitle ? d`<p class="subtitle">${this.subtitle}</p>` : f}
|
|
2443
2448
|
<div
|
|
2444
2449
|
class="suggestions"
|
|
2445
2450
|
role="group"
|
|
2446
|
-
aria-label=${
|
|
2451
|
+
aria-label=${s("Prompt suggestions", { desc: "Accessible label for the AI chat empty state suggestion list" })}
|
|
2447
2452
|
>
|
|
2448
|
-
${this.suggestions.map((e) =>
|
|
2453
|
+
${this.suggestions.map((e) => d`
|
|
2449
2454
|
<luzmo-action-button
|
|
2450
2455
|
variant="accent"
|
|
2451
|
-
size
|
|
2456
|
+
.size=${this.size}
|
|
2452
2457
|
?disabled=${this.disabled}
|
|
2453
2458
|
@click=${() => this._handleSuggestionActivate(e)}
|
|
2454
2459
|
>
|
|
@@ -2457,69 +2462,69 @@ var jn = ":host{box-sizing:border-box;width:100%;min-height:0;padding-block:var(
|
|
|
2457
2462
|
`)}
|
|
2458
2463
|
</div>
|
|
2459
2464
|
</div>
|
|
2460
|
-
` :
|
|
2465
|
+
` : f}
|
|
2461
2466
|
</section>
|
|
2462
2467
|
`;
|
|
2463
2468
|
}
|
|
2464
2469
|
};
|
|
2465
2470
|
//#endregion
|
|
2466
2471
|
//#region src/components/ai-chat/empty-state/index.ts
|
|
2467
|
-
|
|
2472
|
+
o([m({ type: String })], Nn.prototype, "title", void 0), o([m({ type: String })], Nn.prototype, "subtitle", void 0), o([m({ type: Array })], Nn.prototype, "suggestions", void 0), o([m({
|
|
2468
2473
|
type: Boolean,
|
|
2469
2474
|
reflect: !0
|
|
2470
|
-
})],
|
|
2475
|
+
})], Nn.prototype, "disabled", void 0), customElements.get("luzmo-ai-chat-empty-state") || customElements.define("luzmo-ai-chat-empty-state", Nn);
|
|
2471
2476
|
//#endregion
|
|
2472
2477
|
//#region src/components/ai-chat/helpers/elicitation-template.ts
|
|
2473
|
-
var
|
|
2474
|
-
function
|
|
2475
|
-
let t = e.content?.[
|
|
2478
|
+
var Pn = "answer", Fn = (e) => e.stopPropagation();
|
|
2479
|
+
function In(e) {
|
|
2480
|
+
let t = e.content?.[Pn];
|
|
2476
2481
|
return typeof t == "string" ? t : void 0;
|
|
2477
2482
|
}
|
|
2478
|
-
async function
|
|
2483
|
+
async function Ln(e) {
|
|
2479
2484
|
e.stopPropagation();
|
|
2480
2485
|
let t = e.currentTarget;
|
|
2481
2486
|
await t.updateComplete, t.submit();
|
|
2482
2487
|
}
|
|
2483
|
-
function
|
|
2484
|
-
let
|
|
2485
|
-
if (!
|
|
2486
|
-
let
|
|
2487
|
-
id:
|
|
2488
|
+
function Rn({ message: e, state: t, size: n, onSubmit: r }) {
|
|
2489
|
+
let i = e.elicitation;
|
|
2490
|
+
if (!i) return f;
|
|
2491
|
+
let a = [{
|
|
2492
|
+
id: Pn,
|
|
2488
2493
|
type: "single",
|
|
2489
|
-
title:
|
|
2494
|
+
title: i.question,
|
|
2490
2495
|
required: !0,
|
|
2491
|
-
options:
|
|
2496
|
+
options: i.options.map((e) => ({
|
|
2492
2497
|
value: e,
|
|
2493
2498
|
label: e
|
|
2494
2499
|
}))
|
|
2495
2500
|
}];
|
|
2496
|
-
return
|
|
2501
|
+
return re(`${e.id}:${t}`, d`
|
|
2497
2502
|
<luzmo-question-box
|
|
2498
|
-
size
|
|
2499
|
-
.questions=${
|
|
2500
|
-
.value=${
|
|
2503
|
+
.size=${n}
|
|
2504
|
+
.questions=${a}
|
|
2505
|
+
.value=${ne([i.answer], () => i.answer ? { [Pn]: i.answer } : {})}
|
|
2501
2506
|
.labels=${{
|
|
2502
|
-
submit:
|
|
2503
|
-
answerTitle:
|
|
2504
|
-
change:
|
|
2507
|
+
submit: s("Submit", { desc: "Button that sends the chosen answer to an AI agent question" }),
|
|
2508
|
+
answerTitle: s("Answer", { desc: "Heading above the answer chosen for an AI agent question" }),
|
|
2509
|
+
change: s("Change", { desc: "Button that goes back to pick another answer for an AI agent question" })
|
|
2505
2510
|
}}
|
|
2506
2511
|
?readonly=${t === "answered"}
|
|
2507
2512
|
?disabled=${t === "closed"}
|
|
2508
2513
|
hide-close
|
|
2509
2514
|
hide-skip
|
|
2510
|
-
@luzmo-submit=${
|
|
2511
|
-
@input=${
|
|
2512
|
-
@change=${
|
|
2513
|
-
@luzmo-cancel=${
|
|
2515
|
+
@luzmo-submit=${r}
|
|
2516
|
+
@input=${Fn}
|
|
2517
|
+
@change=${Ln}
|
|
2518
|
+
@luzmo-cancel=${Fn}
|
|
2514
2519
|
></luzmo-question-box>
|
|
2515
2520
|
`);
|
|
2516
2521
|
}
|
|
2517
2522
|
//#endregion
|
|
2518
2523
|
//#region src/components/ai-chat/ai-chat-request.ts
|
|
2519
|
-
function
|
|
2524
|
+
function zn(e, t) {
|
|
2520
2525
|
return `${e.replace(/\/+$/, "")}/${t.replace(/^\/+|\/+$/g, "")}/aiprompt`;
|
|
2521
2526
|
}
|
|
2522
|
-
function
|
|
2527
|
+
function Bn(e) {
|
|
2523
2528
|
return e.type === "placeholder" ? null : {
|
|
2524
2529
|
...e,
|
|
2525
2530
|
version: e.version || "",
|
|
@@ -2528,7 +2533,7 @@ function zn(e) {
|
|
|
2528
2533
|
aichartId: e.aichartId || ""
|
|
2529
2534
|
};
|
|
2530
2535
|
}
|
|
2531
|
-
function
|
|
2536
|
+
function Vn(e, t, n = []) {
|
|
2532
2537
|
return [
|
|
2533
2538
|
{
|
|
2534
2539
|
type: "text",
|
|
@@ -2544,7 +2549,7 @@ function Bn(e, t, n = []) {
|
|
|
2544
2549
|
}))
|
|
2545
2550
|
];
|
|
2546
2551
|
}
|
|
2547
|
-
function
|
|
2552
|
+
function Hn(e) {
|
|
2548
2553
|
return {
|
|
2549
2554
|
stream: e.stream ?? !0,
|
|
2550
2555
|
response_mode: "mixed",
|
|
@@ -2552,55 +2557,55 @@ function Vn(e) {
|
|
|
2552
2557
|
...e.localeId ? { locale_id: e.localeId } : {}
|
|
2553
2558
|
};
|
|
2554
2559
|
}
|
|
2555
|
-
function
|
|
2560
|
+
function Un(e, t, n) {
|
|
2556
2561
|
return {
|
|
2557
2562
|
agent: e,
|
|
2558
2563
|
task: t,
|
|
2559
|
-
...
|
|
2564
|
+
...Hn(n)
|
|
2560
2565
|
};
|
|
2561
2566
|
}
|
|
2562
|
-
function
|
|
2563
|
-
let t =
|
|
2567
|
+
function Wn(e) {
|
|
2568
|
+
let t = Vn(e.prompt, e.datasetIds, e.attachmentUrls), n = e.chart ? Bn(e.chart) : null;
|
|
2564
2569
|
return n && t.push({
|
|
2565
2570
|
type: "item",
|
|
2566
2571
|
value: n
|
|
2567
2572
|
}), {
|
|
2568
|
-
...
|
|
2573
|
+
...Un("item", e.task ?? "generate", e),
|
|
2569
2574
|
input: t
|
|
2570
2575
|
};
|
|
2571
2576
|
}
|
|
2572
|
-
function
|
|
2573
|
-
let t =
|
|
2577
|
+
function Gn(e) {
|
|
2578
|
+
let t = Vn(e.prompt, e.datasetIds, e.attachmentUrls);
|
|
2574
2579
|
return e.dashboard && t.push({
|
|
2575
2580
|
type: "dashboard",
|
|
2576
2581
|
value: e.dashboard,
|
|
2577
2582
|
...e.currentScreenMode ? { current_screen_mode: e.currentScreenMode } : {}
|
|
2578
2583
|
}), {
|
|
2579
|
-
...
|
|
2584
|
+
...Un("dashboard", "generate", e),
|
|
2580
2585
|
timezone_id: e.timezoneId ?? "UTC",
|
|
2581
2586
|
input: t
|
|
2582
2587
|
};
|
|
2583
2588
|
}
|
|
2584
|
-
function
|
|
2589
|
+
function Kn(e) {
|
|
2585
2590
|
return {
|
|
2586
|
-
...
|
|
2587
|
-
input:
|
|
2591
|
+
...Un("analyst", "generate", e),
|
|
2592
|
+
input: Vn(e.prompt, e.datasetIds, e.attachmentUrls)
|
|
2588
2593
|
};
|
|
2589
2594
|
}
|
|
2590
|
-
function
|
|
2591
|
-
let t =
|
|
2595
|
+
function qn(e) {
|
|
2596
|
+
let t = Vn(e.prompt, [], e.attachmentUrls);
|
|
2592
2597
|
return e.customItem && t.push({
|
|
2593
2598
|
type: "custom-item",
|
|
2594
2599
|
value: e.customItem
|
|
2595
2600
|
}), {
|
|
2596
|
-
...
|
|
2601
|
+
...Un("custom-item", "generate", e),
|
|
2597
2602
|
text_format: "markdown",
|
|
2598
2603
|
...e.internal ? { internal: !0 } : {},
|
|
2599
2604
|
input: t
|
|
2600
2605
|
};
|
|
2601
2606
|
}
|
|
2602
|
-
function
|
|
2603
|
-
let n =
|
|
2607
|
+
function Jn(e, t) {
|
|
2608
|
+
let n = Vn(t.prompt, t.datasetIds, t.attachmentUrls), r = t.chart ? Bn(t.chart) : null;
|
|
2604
2609
|
return r && n.push({
|
|
2605
2610
|
type: "item",
|
|
2606
2611
|
value: r
|
|
@@ -2610,30 +2615,30 @@ function qn(e, t) {
|
|
|
2610
2615
|
...t.currentScreenMode ? { current_screen_mode: t.currentScreenMode } : {}
|
|
2611
2616
|
}), {
|
|
2612
2617
|
agent_id: e,
|
|
2613
|
-
...
|
|
2618
|
+
...Hn(t),
|
|
2614
2619
|
input: n
|
|
2615
2620
|
};
|
|
2616
2621
|
}
|
|
2617
|
-
function
|
|
2618
|
-
if (t.agentId) return
|
|
2622
|
+
function Yn(e, t) {
|
|
2623
|
+
if (t.agentId) return Jn(t.agentId, t);
|
|
2619
2624
|
switch (e) {
|
|
2620
|
-
case "dashboard": return
|
|
2621
|
-
case "analyst": return
|
|
2622
|
-
case "custom-item": return
|
|
2623
|
-
default: return
|
|
2625
|
+
case "dashboard": return Gn(t);
|
|
2626
|
+
case "analyst": return Kn(t);
|
|
2627
|
+
case "custom-item": return qn(t);
|
|
2628
|
+
default: return Wn(t);
|
|
2624
2629
|
}
|
|
2625
2630
|
}
|
|
2626
|
-
function
|
|
2631
|
+
function Xn(e, n) {
|
|
2627
2632
|
let { authKey: r, authToken: i, apiVersion: a = "0.1.0" } = n;
|
|
2628
2633
|
return n.attachmentUrls?.length && t(n.attachmentUrls), {
|
|
2629
2634
|
key: r,
|
|
2630
2635
|
token: i,
|
|
2631
2636
|
action: "create",
|
|
2632
2637
|
version: a,
|
|
2633
|
-
properties:
|
|
2638
|
+
properties: Yn(e, n)
|
|
2634
2639
|
};
|
|
2635
2640
|
}
|
|
2636
|
-
function
|
|
2641
|
+
function Zn(e, t, n, r = "0.1.0", i = null) {
|
|
2637
2642
|
return {
|
|
2638
2643
|
key: t,
|
|
2639
2644
|
token: n,
|
|
@@ -2648,7 +2653,7 @@ function Xn(e, t, n, r = "0.1.0", i = null) {
|
|
|
2648
2653
|
}
|
|
2649
2654
|
//#endregion
|
|
2650
2655
|
//#region src/components/ai-chat/stream/transport.ts
|
|
2651
|
-
async function
|
|
2656
|
+
async function Qn(e) {
|
|
2652
2657
|
let t = await fetch(e.url, {
|
|
2653
2658
|
method: "POST",
|
|
2654
2659
|
headers: { "Content-Type": "application/json" },
|
|
@@ -2666,21 +2671,21 @@ async function Zn(e) {
|
|
|
2666
2671
|
conversationId: t.headers.get("x-conversation-id")
|
|
2667
2672
|
};
|
|
2668
2673
|
}
|
|
2669
|
-
function
|
|
2674
|
+
function $n(e) {
|
|
2670
2675
|
let t = e.trim();
|
|
2671
2676
|
if (!t || t.startsWith(":") || t.startsWith("event:") || t.startsWith("id:")) return null;
|
|
2672
2677
|
let n = t;
|
|
2673
2678
|
return n.startsWith("data:") && (n = n.slice(5).trimStart()), !n || n === "[DONE]" ? null : JSON.parse(n);
|
|
2674
2679
|
}
|
|
2675
|
-
function
|
|
2680
|
+
function er(e, t) {
|
|
2676
2681
|
try {
|
|
2677
|
-
let n =
|
|
2682
|
+
let n = $n(e);
|
|
2678
2683
|
n && t(n);
|
|
2679
2684
|
} catch {
|
|
2680
2685
|
console.error("Failed to parse stream line");
|
|
2681
2686
|
}
|
|
2682
2687
|
}
|
|
2683
|
-
async function
|
|
2688
|
+
async function tr(e, t) {
|
|
2684
2689
|
let n = e.getReader(), r = new TextDecoder(), i = "";
|
|
2685
2690
|
try {
|
|
2686
2691
|
for (;;) {
|
|
@@ -2689,18 +2694,18 @@ async function er(e, t) {
|
|
|
2689
2694
|
i += r.decode(a, { stream: !0 });
|
|
2690
2695
|
let o = i.split(/\r?\n/);
|
|
2691
2696
|
i = o.pop() ?? "";
|
|
2692
|
-
for (let e of o)
|
|
2697
|
+
for (let e of o) er(e, t);
|
|
2693
2698
|
}
|
|
2694
2699
|
i += r.decode();
|
|
2695
2700
|
let e = i.trim();
|
|
2696
|
-
e &&
|
|
2701
|
+
e && er(e, t);
|
|
2697
2702
|
} finally {
|
|
2698
2703
|
n.releaseLock();
|
|
2699
2704
|
}
|
|
2700
2705
|
}
|
|
2701
2706
|
//#endregion
|
|
2702
2707
|
//#region src/components/ai-chat/stream/progress.ts
|
|
2703
|
-
function
|
|
2708
|
+
function nr() {
|
|
2704
2709
|
return {
|
|
2705
2710
|
id: "root",
|
|
2706
2711
|
step: "root",
|
|
@@ -2709,17 +2714,17 @@ function tr() {
|
|
|
2709
2714
|
id: "client-init",
|
|
2710
2715
|
step: "iqInit",
|
|
2711
2716
|
status: "inProgress",
|
|
2712
|
-
description:
|
|
2717
|
+
description: s("Thinking", { desc: "Label shown in the AI chat progress tree while the assistant starts processing a prompt" })
|
|
2713
2718
|
}]
|
|
2714
2719
|
};
|
|
2715
2720
|
}
|
|
2716
|
-
function
|
|
2721
|
+
function rr(e) {
|
|
2717
2722
|
let t = e.progress;
|
|
2718
2723
|
return typeof t != "object" || !t ? !1 : "id" in t && "step" in t && "status" in t;
|
|
2719
2724
|
}
|
|
2720
2725
|
//#endregion
|
|
2721
2726
|
//#region src/components/ai-chat/stream/chunk-extractors.ts
|
|
2722
|
-
function
|
|
2727
|
+
function ir(e) {
|
|
2723
2728
|
if (!e || typeof e != "object") return "";
|
|
2724
2729
|
let t = e.assistant_message;
|
|
2725
2730
|
if (!t || typeof t != "object") return "";
|
|
@@ -2729,73 +2734,73 @@ function rr(e) {
|
|
|
2729
2734
|
let n = t.content;
|
|
2730
2735
|
return typeof n == "string" ? n : n && typeof n == "object" && typeof n.text == "string" ? n.text : "";
|
|
2731
2736
|
}
|
|
2732
|
-
function ir(e) {
|
|
2733
|
-
return e.type === "text_delta" && typeof e.delta == "string" ? e.delta : typeof e.text_delta == "string" ? e.text_delta : typeof e.chunk == "string" ? e.chunk : typeof e.message == "string" ? e.message : typeof e.summary == "string" ? e.summary : "";
|
|
2734
|
-
}
|
|
2735
2737
|
function ar(e) {
|
|
2736
|
-
return
|
|
2738
|
+
return e.type === "text_delta" && typeof e.delta == "string" ? e.delta : typeof e.text_delta == "string" ? e.text_delta : typeof e.chunk == "string" ? e.chunk : typeof e.message == "string" ? e.message : typeof e.summary == "string" ? e.summary : "";
|
|
2737
2739
|
}
|
|
2738
2740
|
function or(e) {
|
|
2741
|
+
return ir(e.result);
|
|
2742
|
+
}
|
|
2743
|
+
function sr(e) {
|
|
2739
2744
|
return !!e.done || e.type === "finish" || e.type === "done" || "question" in e;
|
|
2740
2745
|
}
|
|
2741
|
-
function
|
|
2746
|
+
function cr(e, t) {
|
|
2742
2747
|
let n = typeof e.conversation_id == "string" && e.conversation_id || typeof e.conversationId == "string" && e.conversationId;
|
|
2743
2748
|
n && t.callbacks.onConversationIdChange(n);
|
|
2744
2749
|
}
|
|
2745
|
-
function
|
|
2750
|
+
function lr(e) {
|
|
2746
2751
|
for (let t of e) if (t && typeof t == "object" && t.type === "item") {
|
|
2747
2752
|
let e = t.value;
|
|
2748
2753
|
if (e && typeof e == "object") return e;
|
|
2749
2754
|
}
|
|
2750
2755
|
return null;
|
|
2751
2756
|
}
|
|
2752
|
-
function
|
|
2757
|
+
function ur(e) {
|
|
2753
2758
|
let t = e.chart ?? e.generatedChart;
|
|
2754
2759
|
if (t && typeof t == "object") return t;
|
|
2755
2760
|
let n = e.aiMessageAssets ?? e.ai_message_assets;
|
|
2756
2761
|
if (Array.isArray(n)) {
|
|
2757
|
-
let e =
|
|
2762
|
+
let e = lr(n);
|
|
2758
2763
|
if (e) return e;
|
|
2759
2764
|
}
|
|
2760
2765
|
let r = e.result;
|
|
2761
2766
|
if (r && typeof r == "object") {
|
|
2762
2767
|
let e = r.assistant_message, t = e?.aiMessageAssets ?? e?.ai_message_assets;
|
|
2763
|
-
if (Array.isArray(t)) return
|
|
2768
|
+
if (Array.isArray(t)) return lr(t);
|
|
2764
2769
|
}
|
|
2765
2770
|
return null;
|
|
2766
2771
|
}
|
|
2767
|
-
function
|
|
2772
|
+
function dr(e) {
|
|
2768
2773
|
for (let t of e) if (t && typeof t == "object" && t.type === "dashboard") {
|
|
2769
2774
|
let e = t.value;
|
|
2770
2775
|
if (e && typeof e == "object" && Array.isArray(e.views)) return e;
|
|
2771
2776
|
}
|
|
2772
2777
|
return null;
|
|
2773
2778
|
}
|
|
2774
|
-
function
|
|
2779
|
+
function fr(e) {
|
|
2775
2780
|
for (let t of e) if (t && typeof t == "object" && t.type === "dashboard") {
|
|
2776
2781
|
let e = t.name;
|
|
2777
2782
|
if (e && typeof e == "object") return e;
|
|
2778
2783
|
}
|
|
2779
2784
|
}
|
|
2780
|
-
function
|
|
2785
|
+
function pr(...e) {
|
|
2781
2786
|
return e.find(Array.isArray);
|
|
2782
2787
|
}
|
|
2783
|
-
function
|
|
2788
|
+
function mr(e) {
|
|
2784
2789
|
if (e.views && Array.isArray(e.views)) return e;
|
|
2785
2790
|
let t = e.aiMessageAssets ?? e.ai_message_assets;
|
|
2786
|
-
if (Array.isArray(t)) return
|
|
2791
|
+
if (Array.isArray(t)) return dr(t);
|
|
2787
2792
|
let n = e.result;
|
|
2788
2793
|
if (n && typeof n == "object") {
|
|
2789
2794
|
let e = n.assistant_message, t = e?.aiMessageAssets ?? e?.ai_message_assets;
|
|
2790
|
-
if (Array.isArray(t)) return
|
|
2795
|
+
if (Array.isArray(t)) return dr(t);
|
|
2791
2796
|
}
|
|
2792
2797
|
return null;
|
|
2793
2798
|
}
|
|
2794
|
-
function mr(e) {
|
|
2795
|
-
let t = e.aiMessageAssets ?? e.ai_message_assets, n = e.result?.assistant_message, r = fr(t, n?.aiMessageAssets ?? n?.ai_message_assets);
|
|
2796
|
-
return r ? dr(r) : void 0;
|
|
2797
|
-
}
|
|
2798
2799
|
function hr(e) {
|
|
2800
|
+
let t = e.aiMessageAssets ?? e.ai_message_assets, n = e.result?.assistant_message, r = pr(t, n?.aiMessageAssets ?? n?.ai_message_assets);
|
|
2801
|
+
return r ? fr(r) : void 0;
|
|
2802
|
+
}
|
|
2803
|
+
function gr(e) {
|
|
2799
2804
|
let t = e.result?.assistant_message;
|
|
2800
2805
|
for (let n of [e.aiMessageAssets ?? e.ai_message_assets, t?.aiMessageAssets ?? t?.ai_message_assets]) if (Array.isArray(n)) {
|
|
2801
2806
|
for (let e of n) if (e && typeof e == "object" && e.type === "custom-item" && e.value && typeof e.value == "object" && !Array.isArray(e.value)) return e.value;
|
|
@@ -2804,7 +2809,7 @@ function hr(e) {
|
|
|
2804
2809
|
}
|
|
2805
2810
|
//#endregion
|
|
2806
2811
|
//#region src/components/ai-chat/stream/stream-processor.ts
|
|
2807
|
-
var
|
|
2812
|
+
var _r = /* @__PURE__ */ new Set([
|
|
2808
2813
|
"conversation-id",
|
|
2809
2814
|
"conversation_id",
|
|
2810
2815
|
"keepalive",
|
|
@@ -2812,7 +2817,7 @@ var gr = /* @__PURE__ */ new Set([
|
|
|
2812
2817
|
"finish",
|
|
2813
2818
|
"done"
|
|
2814
2819
|
]);
|
|
2815
|
-
function
|
|
2820
|
+
function vr(e, t, n) {
|
|
2816
2821
|
return {
|
|
2817
2822
|
agent: n.agent,
|
|
2818
2823
|
conversationId: t.callbacks.getConversationId(),
|
|
@@ -2822,67 +2827,67 @@ function _r(e, t, n) {
|
|
|
2822
2827
|
}
|
|
2823
2828
|
function Q(e, t, n, r, i) {
|
|
2824
2829
|
let a = {
|
|
2825
|
-
...
|
|
2830
|
+
...vr(n, e, t),
|
|
2826
2831
|
recognized: !0,
|
|
2827
2832
|
type: r,
|
|
2828
2833
|
data: i
|
|
2829
2834
|
};
|
|
2830
2835
|
e.callbacks.onStep(a);
|
|
2831
2836
|
}
|
|
2832
|
-
function
|
|
2837
|
+
function yr(e, t, n, r, i) {
|
|
2833
2838
|
let a = {
|
|
2834
|
-
...
|
|
2839
|
+
...vr(n, e, t),
|
|
2835
2840
|
recognized: !1,
|
|
2836
2841
|
type: r,
|
|
2837
2842
|
data: i
|
|
2838
2843
|
};
|
|
2839
2844
|
e.callbacks.onStep(a);
|
|
2840
2845
|
}
|
|
2841
|
-
function
|
|
2846
|
+
function br(e) {
|
|
2842
2847
|
e.state.progressCollapsed || (e.state.progressCollapsed = !0, e.callbacks.onProgressCollapsed(!0));
|
|
2843
2848
|
}
|
|
2844
|
-
function
|
|
2845
|
-
|
|
2849
|
+
function xr(e, t) {
|
|
2850
|
+
br(e), e.aiMessage.message = (e.aiMessage.message || "") + t, e.callbacks.onMessageUpdate(e.aiMessage);
|
|
2846
2851
|
}
|
|
2847
|
-
function
|
|
2852
|
+
function Sr(e) {
|
|
2848
2853
|
if (!e) return null;
|
|
2849
2854
|
let t = e.descriptionMetadata?.decision;
|
|
2850
2855
|
if (t === "create" || t === "edit" || t === "question") return t;
|
|
2851
2856
|
for (let t of e.children ?? []) {
|
|
2852
|
-
let e =
|
|
2857
|
+
let e = Sr(t);
|
|
2853
2858
|
if (e) return e;
|
|
2854
2859
|
}
|
|
2855
2860
|
return null;
|
|
2856
2861
|
}
|
|
2857
|
-
function
|
|
2858
|
-
if (!
|
|
2862
|
+
function Cr(e, t, n) {
|
|
2863
|
+
if (!rr(e)) return !1;
|
|
2859
2864
|
let r = e.progress;
|
|
2860
2865
|
if (t.callbacks.onProgress(r), Q(t, n, e, "progress", r), t.state.decision === null) {
|
|
2861
|
-
let i =
|
|
2866
|
+
let i = Sr(r);
|
|
2862
2867
|
i && (t.state.decision = i, Q(t, n, e, "decision", { decision: i }));
|
|
2863
2868
|
}
|
|
2864
2869
|
return !0;
|
|
2865
2870
|
}
|
|
2866
|
-
function
|
|
2871
|
+
function wr(e) {
|
|
2867
2872
|
return !!e.error || e.type === "error" || typeof e.error_text == "string";
|
|
2868
2873
|
}
|
|
2869
|
-
function
|
|
2870
|
-
return typeof e.error_text == "string" && e.error_text ? e.error_text : typeof e.error == "string" && e.error ? e.error :
|
|
2874
|
+
function Tr(e) {
|
|
2875
|
+
return typeof e.error_text == "string" && e.error_text ? e.error_text : typeof e.error == "string" && e.error ? e.error : s("Something went wrong. Please try again.", { desc: "Generic error message shown in ai chat when the API request fails" });
|
|
2871
2876
|
}
|
|
2872
|
-
function
|
|
2873
|
-
if (!
|
|
2874
|
-
let r =
|
|
2875
|
-
return t.aiMessage.message = r, t.aiMessage.isError = !0, delete t.aiMessage.elicitation, t.callbacks.onMessageUpdate(t.aiMessage),
|
|
2877
|
+
function Er(e, t, n) {
|
|
2878
|
+
if (!wr(e)) return !1;
|
|
2879
|
+
let r = Tr(e);
|
|
2880
|
+
return t.aiMessage.message = r, t.aiMessage.isError = !0, delete t.aiMessage.elicitation, t.callbacks.onMessageUpdate(t.aiMessage), Xr(e, t, n, e.error ?? r), !0;
|
|
2876
2881
|
}
|
|
2877
|
-
function
|
|
2882
|
+
function Dr(e) {
|
|
2878
2883
|
return typeof e.question == "string" && e.question ? e.question : typeof e.text == "string" && e.text ? e.text : "";
|
|
2879
2884
|
}
|
|
2880
|
-
function
|
|
2885
|
+
function Or(e, t, n) {
|
|
2881
2886
|
if (e.type !== "interrupt") return !1;
|
|
2882
|
-
let r =
|
|
2883
|
-
return r && (t.state.interruptQuestion = r,
|
|
2887
|
+
let r = Dr(e);
|
|
2888
|
+
return r && (t.state.interruptQuestion = r, xr(t, r), Q(t, n, e, "interrupt", { question: r })), Xr(e, t, n), !0;
|
|
2884
2889
|
}
|
|
2885
|
-
function
|
|
2890
|
+
function kr(e) {
|
|
2886
2891
|
let t = e.elicitation;
|
|
2887
2892
|
if (!t || typeof t != "object") return null;
|
|
2888
2893
|
let { question: n, options: r } = t, i = typeof n == "string" ? n.trim() : "", a = Array.isArray(r) ? [...new Set(r.filter((e) => typeof e == "string").map((e) => e.trim()))].filter(Boolean) : [];
|
|
@@ -2891,66 +2896,66 @@ function Or(e) {
|
|
|
2891
2896
|
options: a
|
|
2892
2897
|
} : null;
|
|
2893
2898
|
}
|
|
2894
|
-
function
|
|
2899
|
+
function Ar(e, t, n) {
|
|
2895
2900
|
if (e.type !== "elicitation") return !1;
|
|
2896
|
-
let r =
|
|
2897
|
-
return r ? (
|
|
2901
|
+
let r = kr(e);
|
|
2902
|
+
return r ? (br(t), t.aiMessage.elicitation = r, t.callbacks.onMessageUpdate(t.aiMessage), Q(t, n, e, "elicitation", {
|
|
2898
2903
|
question: r.question,
|
|
2899
2904
|
options: r.options
|
|
2900
|
-
}), !0) : (
|
|
2905
|
+
}), !0) : (yr(t, n, e, "elicitation", e), !0);
|
|
2901
2906
|
}
|
|
2902
|
-
function
|
|
2907
|
+
function jr(e) {
|
|
2903
2908
|
return typeof e.asset_id == "string" ? e.asset_id : typeof e.asset_type == "string" ? e.asset_type : "default";
|
|
2904
2909
|
}
|
|
2905
|
-
function
|
|
2910
|
+
function Mr(e) {
|
|
2906
2911
|
return typeof e.asset_type == "string" ? e.asset_type : "";
|
|
2907
2912
|
}
|
|
2908
|
-
function
|
|
2913
|
+
function Nr(e) {
|
|
2909
2914
|
return {
|
|
2910
|
-
assetType:
|
|
2915
|
+
assetType: Mr(e),
|
|
2911
2916
|
snapshot: {}
|
|
2912
2917
|
};
|
|
2913
2918
|
}
|
|
2914
|
-
function
|
|
2919
|
+
function Pr(e, t) {
|
|
2915
2920
|
return {
|
|
2916
2921
|
...e,
|
|
2917
2922
|
...t
|
|
2918
2923
|
};
|
|
2919
2924
|
}
|
|
2920
|
-
function
|
|
2925
|
+
function Fr(e) {
|
|
2921
2926
|
let t = e.asset_delta ?? e.delta;
|
|
2922
2927
|
return t && typeof t == "object" ? t : null;
|
|
2923
2928
|
}
|
|
2924
|
-
function Fr(e, t) {
|
|
2925
|
-
t.state.assets[Ar(e)] = Mr(e);
|
|
2926
|
-
}
|
|
2927
2929
|
function Ir(e, t) {
|
|
2928
|
-
|
|
2929
|
-
i && (r.snapshot = Nr(r.snapshot, i)), t.state.assets[n] = r;
|
|
2930
|
+
t.state.assets[jr(e)] = Nr(e);
|
|
2930
2931
|
}
|
|
2931
2932
|
function Lr(e, t) {
|
|
2932
|
-
let n = e
|
|
2933
|
-
|
|
2933
|
+
let n = jr(e), r = t.state.assets[n] ?? Nr(e), i = Fr(e);
|
|
2934
|
+
i && (r.snapshot = Pr(r.snapshot, i)), t.state.assets[n] = r;
|
|
2934
2935
|
}
|
|
2935
|
-
function Rr(e, t
|
|
2936
|
-
let
|
|
2937
|
-
|
|
2936
|
+
function Rr(e, t) {
|
|
2937
|
+
let n = e.asset ?? e.value ?? e.asset_delta ?? e.delta;
|
|
2938
|
+
return n && typeof n == "object" ? Pr(t?.snapshot ?? {}, n) : t?.snapshot ?? {};
|
|
2938
2939
|
}
|
|
2939
2940
|
function zr(e, t, n) {
|
|
2941
|
+
let r = jr(e), i = t.state.assets[r], a = i?.assetType || Mr(e), o = Rr(e, i);
|
|
2942
|
+
delete t.state.assets[r], Ur(a, o, e, t, n);
|
|
2943
|
+
}
|
|
2944
|
+
function Br(e, t, n) {
|
|
2940
2945
|
switch (e.type) {
|
|
2941
|
-
case "asset_start": return
|
|
2942
|
-
case "asset_delta": return
|
|
2943
|
-
case "asset_end": return
|
|
2946
|
+
case "asset_start": return Ir(e, t), !0;
|
|
2947
|
+
case "asset_delta": return Lr(e, t), !0;
|
|
2948
|
+
case "asset_end": return zr(e, t, n), !0;
|
|
2944
2949
|
default: return !1;
|
|
2945
2950
|
}
|
|
2946
2951
|
}
|
|
2947
|
-
function
|
|
2952
|
+
function Vr(e, t, n, r) {
|
|
2948
2953
|
n.state.chartSnapshot = e, n.aiMessage.hasChart = !0, typeof t.messageId == "string" && (n.aiMessage.apiMessageId = t.messageId), n.callbacks.onMessageUpdate(n.aiMessage), Q(n, r, t, "chart", e);
|
|
2949
2954
|
}
|
|
2950
|
-
function
|
|
2955
|
+
function Hr(e, t, n, r) {
|
|
2951
2956
|
n.state.customItemSnapshot = e, Q(n, r, t, "custom-item", e);
|
|
2952
2957
|
}
|
|
2953
|
-
function
|
|
2958
|
+
function Ur(e, t, n, r, i) {
|
|
2954
2959
|
switch (e) {
|
|
2955
2960
|
case "dashboard-title": {
|
|
2956
2961
|
let e = t.name;
|
|
@@ -2969,12 +2974,12 @@ function Hr(e, t, n, r, i) {
|
|
|
2969
2974
|
case "dashboard":
|
|
2970
2975
|
r.state.dashboardSnapshot = t;
|
|
2971
2976
|
return;
|
|
2972
|
-
default:
|
|
2977
|
+
default: Wr(e, t, n, r, i);
|
|
2973
2978
|
}
|
|
2974
2979
|
}
|
|
2975
|
-
function
|
|
2980
|
+
function Wr(e, t, n, r, i) {
|
|
2976
2981
|
if (i.chartAssetType && e === i.chartAssetType) {
|
|
2977
|
-
|
|
2982
|
+
Vr(t, n, r, i);
|
|
2978
2983
|
return;
|
|
2979
2984
|
}
|
|
2980
2985
|
if (i.dashboardAssetType && e === i.dashboardAssetType) {
|
|
@@ -2982,64 +2987,64 @@ function Ur(e, t, n, r, i) {
|
|
|
2982
2987
|
return;
|
|
2983
2988
|
}
|
|
2984
2989
|
if (i.customItemAssetType && e === i.customItemAssetType) {
|
|
2985
|
-
|
|
2990
|
+
Hr(t, n, r, i);
|
|
2986
2991
|
return;
|
|
2987
2992
|
}
|
|
2988
|
-
|
|
2993
|
+
yr(r, i, n, e || "asset", t);
|
|
2989
2994
|
}
|
|
2990
|
-
function
|
|
2995
|
+
function Gr(e, t, n) {
|
|
2991
2996
|
let r = !1;
|
|
2992
2997
|
if (n.dashboardAssetType) {
|
|
2993
|
-
let n =
|
|
2998
|
+
let n = mr(e);
|
|
2994
2999
|
if (n) {
|
|
2995
3000
|
t.state.dashboardSnapshot = n;
|
|
2996
|
-
let i =
|
|
3001
|
+
let i = hr(e);
|
|
2997
3002
|
i && (t.state.dashboardName = i), r = !0;
|
|
2998
3003
|
}
|
|
2999
3004
|
}
|
|
3000
3005
|
if (n.chartAssetType && !t.state.chartSnapshot) {
|
|
3001
|
-
let i =
|
|
3002
|
-
i && (
|
|
3006
|
+
let i = ur(e);
|
|
3007
|
+
i && (Vr(i, e, t, n), r = !0);
|
|
3003
3008
|
}
|
|
3004
3009
|
if (n.customItemAssetType && !t.state.customItemSnapshot) {
|
|
3005
|
-
let i =
|
|
3006
|
-
i && (
|
|
3010
|
+
let i = gr(e);
|
|
3011
|
+
i && (Hr(i, e, t, n), r = !0);
|
|
3007
3012
|
}
|
|
3008
3013
|
return r;
|
|
3009
3014
|
}
|
|
3010
|
-
function
|
|
3015
|
+
function Kr(e, t, n) {
|
|
3011
3016
|
return {
|
|
3012
3017
|
...e,
|
|
3013
3018
|
generatedChart: t,
|
|
3014
3019
|
conversationId: n.callbacks.getConversationId()
|
|
3015
3020
|
};
|
|
3016
3021
|
}
|
|
3017
|
-
function
|
|
3022
|
+
function qr(e, t, n) {
|
|
3018
3023
|
for (let r of Object.keys(t.state.assets)) {
|
|
3019
3024
|
let i = t.state.assets[r];
|
|
3020
|
-
delete t.state.assets[r], !(n.chartAssetType && i.assetType === n.chartAssetType && t.state.chartSnapshot || n.dashboardAssetType && i.assetType === n.dashboardAssetType && t.state.dashboardSnapshot || n.customItemAssetType && i.assetType === n.customItemAssetType && t.state.customItemSnapshot) &&
|
|
3025
|
+
delete t.state.assets[r], !(n.chartAssetType && i.assetType === n.chartAssetType && t.state.chartSnapshot || n.dashboardAssetType && i.assetType === n.dashboardAssetType && t.state.dashboardSnapshot || n.customItemAssetType && i.assetType === n.customItemAssetType && t.state.customItemSnapshot) && Ur(i.assetType, i.snapshot, e, t, n);
|
|
3021
3026
|
}
|
|
3022
3027
|
}
|
|
3023
|
-
function
|
|
3024
|
-
let n =
|
|
3028
|
+
function Jr(e, t) {
|
|
3029
|
+
let n = or(e);
|
|
3025
3030
|
!n || t.aiMessage.message === n || (t.aiMessage.message = n, t.callbacks.onMessageUpdate(t.aiMessage));
|
|
3026
3031
|
}
|
|
3027
|
-
function
|
|
3028
|
-
let r = t.state.dashboardSnapshot ?? (n.dashboardAssetType ?
|
|
3032
|
+
function Yr(e, t, n) {
|
|
3033
|
+
let r = t.state.dashboardSnapshot ?? (n.dashboardAssetType ? mr(e) : null), i = t.state.chartSnapshot ?? (n.chartAssetType ? ur(e) : null);
|
|
3029
3034
|
return {
|
|
3030
3035
|
agent: n.agent,
|
|
3031
3036
|
conversationId: t.callbacks.getConversationId(),
|
|
3032
3037
|
message: t.aiMessage,
|
|
3033
3038
|
...r ? { dashboard: r } : {},
|
|
3034
|
-
...i ? { chart:
|
|
3039
|
+
...i ? { chart: Kr(e, i, t) } : {},
|
|
3035
3040
|
...t.state.customItemSnapshot ? { customItem: t.state.customItemSnapshot } : {},
|
|
3036
3041
|
...t.state.dashboardName ? { name: t.state.dashboardName } : {},
|
|
3037
3042
|
raw: e
|
|
3038
3043
|
};
|
|
3039
3044
|
}
|
|
3040
|
-
function
|
|
3045
|
+
function Xr(e, t, n, r) {
|
|
3041
3046
|
if (!t.state.completed) {
|
|
3042
|
-
if (t.state.completed = !0,
|
|
3047
|
+
if (t.state.completed = !0, qr(e, t, n), br(t), r !== void 0) {
|
|
3043
3048
|
t.callbacks.onComplete({
|
|
3044
3049
|
agent: n.agent,
|
|
3045
3050
|
conversationId: t.callbacks.getConversationId(),
|
|
@@ -3049,32 +3054,32 @@ function Yr(e, t, n, r) {
|
|
|
3049
3054
|
});
|
|
3050
3055
|
return;
|
|
3051
3056
|
}
|
|
3052
|
-
|
|
3057
|
+
Jr(e, t), t.callbacks.onComplete(Yr(e, t, n));
|
|
3053
3058
|
}
|
|
3054
3059
|
}
|
|
3055
|
-
function
|
|
3060
|
+
function Zr(e) {
|
|
3056
3061
|
return typeof e.type == "string" && e.type ? e.type : typeof e.asset_type == "string" && e.asset_type ? e.asset_type : "";
|
|
3057
3062
|
}
|
|
3058
|
-
function
|
|
3059
|
-
let r =
|
|
3060
|
-
return r ? (t.state.accumulatedText += r,
|
|
3063
|
+
function Qr(e, t, n) {
|
|
3064
|
+
let r = ar(e);
|
|
3065
|
+
return r ? (t.state.accumulatedText += r, xr(t, r), Q(t, n, e, "text", {
|
|
3061
3066
|
delta: r,
|
|
3062
3067
|
text: t.state.accumulatedText
|
|
3063
3068
|
}), !0) : !1;
|
|
3064
3069
|
}
|
|
3065
|
-
function
|
|
3070
|
+
function $r(e, t, n, r, i) {
|
|
3066
3071
|
if (r || i) return;
|
|
3067
|
-
let a =
|
|
3068
|
-
a && !
|
|
3072
|
+
let a = Zr(e);
|
|
3073
|
+
a && !_r.has(a) && yr(t, n, e, a, e);
|
|
3069
3074
|
}
|
|
3070
|
-
function
|
|
3071
|
-
if (
|
|
3072
|
-
let r =
|
|
3073
|
-
|
|
3075
|
+
function ei(e, t, n) {
|
|
3076
|
+
if (cr(e, t), Cr(e, t, n) || Er(e, t, n) || Or(e, t, n) || Ar(e, t, n) || Br(e, t, n)) return;
|
|
3077
|
+
let r = Qr(e, t, n), i = Gr(e, t, n), a = r || i, o = sr(e);
|
|
3078
|
+
$r(e, t, n, a, o), o && Xr(e, t, n);
|
|
3074
3079
|
}
|
|
3075
3080
|
//#endregion
|
|
3076
3081
|
//#region src/components/ai-chat/stream/registry.ts
|
|
3077
|
-
function
|
|
3082
|
+
function ti(e) {
|
|
3078
3083
|
switch (e) {
|
|
3079
3084
|
case "dashboard": return {
|
|
3080
3085
|
agent: e,
|
|
@@ -3091,11 +3096,11 @@ function ei(e) {
|
|
|
3091
3096
|
default: return { agent: e };
|
|
3092
3097
|
}
|
|
3093
3098
|
}
|
|
3094
|
-
function
|
|
3095
|
-
let t =
|
|
3096
|
-
return (e, n) =>
|
|
3099
|
+
function ni(e) {
|
|
3100
|
+
let t = ti(e);
|
|
3101
|
+
return (e, n) => ei(e, n, t);
|
|
3097
3102
|
}
|
|
3098
|
-
function
|
|
3103
|
+
function ri() {
|
|
3099
3104
|
return {
|
|
3100
3105
|
progressCollapsed: !1,
|
|
3101
3106
|
accumulatedText: "",
|
|
@@ -3111,10 +3116,10 @@ function ni() {
|
|
|
3111
3116
|
}
|
|
3112
3117
|
//#endregion
|
|
3113
3118
|
//#region src/components/ai-chat/session/ai-chat-session.ts
|
|
3114
|
-
function
|
|
3119
|
+
function ii() {
|
|
3115
3120
|
return `msg-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
|
|
3116
3121
|
}
|
|
3117
|
-
var
|
|
3122
|
+
var ai = class {
|
|
3118
3123
|
constructor(e, t = {}) {
|
|
3119
3124
|
this._uiBridgeCallbacks = {}, this._subscribers = /* @__PURE__ */ new Set(), this._state = {
|
|
3120
3125
|
messages: [],
|
|
@@ -3129,7 +3134,7 @@ var ii = class {
|
|
|
3129
3134
|
apiVersion: "0.1.0",
|
|
3130
3135
|
stream: !0,
|
|
3131
3136
|
...e
|
|
3132
|
-
}, e.agentConfig && (this._config.agentConfig =
|
|
3137
|
+
}, e.agentConfig && (this._config.agentConfig = An(e)), this._hostCallbacks = t, this._state = {
|
|
3133
3138
|
...this._state,
|
|
3134
3139
|
messages: e.messages ? [...e.messages] : [],
|
|
3135
3140
|
selectedDatasets: e.selectedDatasets ? [...e.selectedDatasets] : [],
|
|
@@ -3146,7 +3151,7 @@ var ii = class {
|
|
|
3146
3151
|
return this._state.isGenerating;
|
|
3147
3152
|
}
|
|
3148
3153
|
get agentConfig() {
|
|
3149
|
-
return
|
|
3154
|
+
return An(this._config);
|
|
3150
3155
|
}
|
|
3151
3156
|
subscribe(e) {
|
|
3152
3157
|
return this._subscribers.add(e), e(this._state), () => {
|
|
@@ -3161,7 +3166,7 @@ var ii = class {
|
|
|
3161
3166
|
this._config = {
|
|
3162
3167
|
...this._config,
|
|
3163
3168
|
...e
|
|
3164
|
-
}, e.agentConfig && (this._config.agentConfig =
|
|
3169
|
+
}, e.agentConfig && (this._config.agentConfig = An(this._config, t));
|
|
3165
3170
|
let r = {};
|
|
3166
3171
|
if ("conversationId" in e) {
|
|
3167
3172
|
let t = e.conversationId ?? null;
|
|
@@ -3195,10 +3200,10 @@ var ii = class {
|
|
|
3195
3200
|
return !this._config.requireDataset || this._state.selectedDatasets.length > 0 || !!e;
|
|
3196
3201
|
}
|
|
3197
3202
|
getAiPromptUrl() {
|
|
3198
|
-
return
|
|
3203
|
+
return zn(this._config.apiUrl ?? "https://api.luzmo.com", this._config.apiVersion ?? "0.1.0");
|
|
3199
3204
|
}
|
|
3200
3205
|
buildRequestBody(e, t, n = [], r = this._config.agentId, i = {}) {
|
|
3201
|
-
return
|
|
3206
|
+
return Xn(this.agentConfig.type, {
|
|
3202
3207
|
prompt: e,
|
|
3203
3208
|
datasetIds: t,
|
|
3204
3209
|
authKey: this._config.authKey,
|
|
@@ -3212,7 +3217,7 @@ var ii = class {
|
|
|
3212
3217
|
localeId: this._config.localeId,
|
|
3213
3218
|
timezoneId: this._config.timezoneId,
|
|
3214
3219
|
task: this._config.task,
|
|
3215
|
-
...this._config.agentConfig ?
|
|
3220
|
+
...this._config.agentConfig ? jn(this.agentConfig) : {},
|
|
3216
3221
|
modelPreference: this._config.modelPreference,
|
|
3217
3222
|
apiVersion: this._config.apiVersion,
|
|
3218
3223
|
stream: this._config.stream,
|
|
@@ -3278,13 +3283,13 @@ var ii = class {
|
|
|
3278
3283
|
}
|
|
3279
3284
|
if (n.signal.aborted || this._abortController !== n) return !1;
|
|
3280
3285
|
let i = {
|
|
3281
|
-
id: e.aiMessageId ??
|
|
3286
|
+
id: e.aiMessageId ?? ii(),
|
|
3282
3287
|
type: "ai",
|
|
3283
3288
|
message: ""
|
|
3284
3289
|
}, a = [...this._state.messages];
|
|
3285
3290
|
if (!e.skipUserMessage) {
|
|
3286
3291
|
let t = {
|
|
3287
|
-
id:
|
|
3292
|
+
id: ii(),
|
|
3288
3293
|
type: "user",
|
|
3289
3294
|
message: e.prompt,
|
|
3290
3295
|
...r.length ? { attachmentUrls: r } : {}
|
|
@@ -3294,7 +3299,7 @@ var ii = class {
|
|
|
3294
3299
|
a = [...a, i], this._inflightMessage = i, this._receivedProgress = !1, this._patchState({
|
|
3295
3300
|
messages: a,
|
|
3296
3301
|
isGenerating: !0,
|
|
3297
|
-
progress:
|
|
3302
|
+
progress: nr(),
|
|
3298
3303
|
progressCollapsed: !1,
|
|
3299
3304
|
inflightMessage: i
|
|
3300
3305
|
});
|
|
@@ -3317,18 +3322,18 @@ var ii = class {
|
|
|
3317
3322
|
}
|
|
3318
3323
|
return !0;
|
|
3319
3324
|
}
|
|
3320
|
-
let c = this.buildRequestBody(e.prompt, t, r, e.agentId, { internal: e.internal }), l = this.agentConfig.type, u =
|
|
3325
|
+
let c = this.buildRequestBody(e.prompt, t, r, e.agentId, { internal: e.internal }), l = this.agentConfig.type, u = ni(l), d = {
|
|
3321
3326
|
aiMessage: i,
|
|
3322
3327
|
callbacks: this._createStreamCallbacks(),
|
|
3323
|
-
state:
|
|
3324
|
-
}, f = this._config.fetchStreaming ??
|
|
3328
|
+
state: ri()
|
|
3329
|
+
}, f = this._config.fetchStreaming ?? Qn, p = !1;
|
|
3325
3330
|
try {
|
|
3326
3331
|
let { body: e, conversationId: t } = await f({
|
|
3327
3332
|
url: this.getAiPromptUrl(),
|
|
3328
3333
|
body: c,
|
|
3329
3334
|
signal: n.signal
|
|
3330
3335
|
});
|
|
3331
|
-
t && this._setConversationId(t), await
|
|
3336
|
+
t && this._setConversationId(t), await tr(e, (e) => u(e, d)), p = !0;
|
|
3332
3337
|
} catch (e) {
|
|
3333
3338
|
e.name !== "AbortError" && (this._handleSubmitError(e, i, l), p = !0);
|
|
3334
3339
|
} finally {
|
|
@@ -3363,7 +3368,7 @@ var ii = class {
|
|
|
3363
3368
|
async restore(e) {
|
|
3364
3369
|
let t = this.agentConfig.type;
|
|
3365
3370
|
if (t !== "item") return {};
|
|
3366
|
-
let n =
|
|
3371
|
+
let n = Zn(e.restoreToMessageId, this._config.authKey, this._config.authToken, this._config.apiVersion, this._state.conversationId);
|
|
3367
3372
|
if (this._patchState({
|
|
3368
3373
|
isGenerating: !0,
|
|
3369
3374
|
progress: null,
|
|
@@ -3393,7 +3398,7 @@ var ii = class {
|
|
|
3393
3398
|
let e = await r.json().catch(() => null);
|
|
3394
3399
|
throw Error(e?.message || `API request failed with status ${r.status}`);
|
|
3395
3400
|
}
|
|
3396
|
-
let i = await r.json().catch(() => null), a = i?.generatedChart ?? (i ?
|
|
3401
|
+
let i = await r.json().catch(() => null), a = i?.generatedChart ?? (i ? ur(i) : null), o = {
|
|
3397
3402
|
...typeof i?.message == "string" ? { message: i.message } : {},
|
|
3398
3403
|
...a ? { chart: {
|
|
3399
3404
|
...i,
|
|
@@ -3405,7 +3410,7 @@ var ii = class {
|
|
|
3405
3410
|
message: o.message
|
|
3406
3411
|
}), this._patchState({ messages: [...s] }), o.chart || o.message) {
|
|
3407
3412
|
let n = s[e.messageIndex], r = n?.type === "ai" ? n : {
|
|
3408
|
-
id:
|
|
3413
|
+
id: ii(),
|
|
3409
3414
|
type: "ai",
|
|
3410
3415
|
message: o.message ?? ""
|
|
3411
3416
|
};
|
|
@@ -3423,7 +3428,7 @@ var ii = class {
|
|
|
3423
3428
|
}
|
|
3424
3429
|
}
|
|
3425
3430
|
buildRestoreRequest(e) {
|
|
3426
|
-
return
|
|
3431
|
+
return Zn(e, this._config.authKey, this._config.authToken, this._config.apiVersion, this._state.conversationId);
|
|
3427
3432
|
}
|
|
3428
3433
|
abort(e = {}) {
|
|
3429
3434
|
this._abortController?.abort(), this._abortController = null, e.notify && this._inflightMessage ? this._markInflightCancelled(e.cancelledMessage) : this._discardInflightMessage(), this._patchState({
|
|
@@ -3482,14 +3487,14 @@ var ii = class {
|
|
|
3482
3487
|
this._inflightMessage && this._patchState({ messages: this._state.messages.filter((e) => e.id !== this._inflightMessage.id) });
|
|
3483
3488
|
}
|
|
3484
3489
|
_markInflightCancelled(e) {
|
|
3485
|
-
this._inflightMessage && (this._inflightMessage.message = e ??
|
|
3490
|
+
this._inflightMessage && (this._inflightMessage.message = e ?? s("Response cancelled.", { desc: "Placeholder shown in ai chat where the assistant reply would appear when the user stops an in-flight response" }), this._inflightMessage.isCancelled = !0, this._inflightMessage.hasChart = !1, delete this._inflightMessage.progress, delete this._inflightMessage.elicitation, this._upsertMessage(this._inflightMessage), this._inflightMessage = null, this._receivedProgress = !1, this._patchState({ inflightMessage: null }));
|
|
3486
3491
|
}
|
|
3487
3492
|
_discardInflightMessage() {
|
|
3488
3493
|
let e = !!(this._inflightMessage || this._state.inflightMessage);
|
|
3489
3494
|
this._removeInflightFromMessages(), this._inflightMessage = null, this._receivedProgress = !1, e && this._patchState({ inflightMessage: null });
|
|
3490
3495
|
}
|
|
3491
3496
|
_handleSubmitError(e, t, n) {
|
|
3492
|
-
t.message =
|
|
3497
|
+
t.message = s("Something went wrong. Please try again.", { desc: "Generic error message shown in ai chat when the API request fails" }), t.isError = !0, delete t.progress, delete t.elicitation, this._inflightMessage = t, this._upsertMessage(t), this._patchState({
|
|
3493
3498
|
inflightMessage: { ...t },
|
|
3494
3499
|
progress: null,
|
|
3495
3500
|
progressCollapsed: !1
|
|
@@ -3529,12 +3534,12 @@ var ii = class {
|
|
|
3529
3534
|
});
|
|
3530
3535
|
}
|
|
3531
3536
|
};
|
|
3532
|
-
function
|
|
3533
|
-
return new
|
|
3537
|
+
function oi(e, t) {
|
|
3538
|
+
return new ai(e, t);
|
|
3534
3539
|
}
|
|
3535
3540
|
//#endregion
|
|
3536
3541
|
//#region src/components/ai-chat/session/ai-chat-session-controller.ts
|
|
3537
|
-
var
|
|
3542
|
+
var si = class {
|
|
3538
3543
|
constructor(e) {
|
|
3539
3544
|
this.options = e, this._session = null, this._ownsSession = !1, this._customItemFromProps = !1, this._seededFromProps = !1, this._unsubscribe = null;
|
|
3540
3545
|
}
|
|
@@ -3603,7 +3608,7 @@ var oi = class {
|
|
|
3603
3608
|
_createSessionIfMissing() {
|
|
3604
3609
|
if (this._session) return;
|
|
3605
3610
|
let e = this.options.getSeed();
|
|
3606
|
-
this._session =
|
|
3611
|
+
this._session = oi({
|
|
3607
3612
|
...this.options.getConfig(),
|
|
3608
3613
|
messages: e.messages.length > 0 ? [...e.messages] : void 0,
|
|
3609
3614
|
selectedDatasets: e.selectedDatasets.length > 0 ? [...e.selectedDatasets] : void 0
|
|
@@ -3625,9 +3630,14 @@ var oi = class {
|
|
|
3625
3630
|
_unwire() {
|
|
3626
3631
|
this._unsubscribe?.(), this._unsubscribe = null;
|
|
3627
3632
|
}
|
|
3628
|
-
}, $ = class t extends i {
|
|
3633
|
+
}, $ = class t extends a(i, { validSizes: [
|
|
3634
|
+
"s",
|
|
3635
|
+
"m",
|
|
3636
|
+
"l",
|
|
3637
|
+
"xl"
|
|
3638
|
+
] }) {
|
|
3629
3639
|
constructor(...e) {
|
|
3630
|
-
super(...e), this.messages = [], this.selectedDatasets = [], this.placeholder = "Describe your change", this.disabled = !1, this.stoppable = !1, this.showAssistantContextMenu = !1, this.authKey = "", this.authToken = "", this.apiUrl = "https://api.luzmo.com", this.appServer = "https://app.luzmo.com", this.includePublicDatasets = !1, this.hideDatasetButton = !1, this.hideDatasetIcons = !1, this.disableDatasetModification = !1, this.hideSelectedDatasets = !1, this.hideAgents = !1, this.disableColumnMentions = !1, this.requireDataset = !1, this.allowImages = !1, this.allowVoiceInput = !1, this.acceptedFileTypes = [], this.agent = "item", this.task = "generate", this.modelPreference = "performance", this.chatSession = null, this.conversationId = null, this.chart = null, this.dashboard = null, this.customItem = null, this.timezoneId = "UTC", this.apiVersion = "0.1.0", this.stream = !0, this.loadingMessage = null, this.cancelledMessage = null, this.initialPrompt = null, this.emptyStateTitle = "", this.emptyStateSubtitle = "", this.emptyStateSuggestions = [], this._textareaValue = "", this._assistantMessageActionsSlotHasContent = !1, this._pendingAssistantMessageAction = null, this._shouldFocusAssistantMessageActionConfirm = !1, this._lastProcessedInitialPrompt = null, this._session = new
|
|
3640
|
+
super(...e), this.messages = [], this.selectedDatasets = [], this.placeholder = "Describe your change", this.disabled = !1, this.stoppable = !1, this.showAssistantContextMenu = !1, this.authKey = "", this.authToken = "", this.apiUrl = "https://api.luzmo.com", this.appServer = "https://app.luzmo.com", this.includePublicDatasets = !1, this.hideDatasetButton = !1, this.hideDatasetIcons = !1, this.disableDatasetModification = !1, this.hideSelectedDatasets = !1, this.hideAgents = !1, this.disableColumnMentions = !1, this.requireDataset = !1, this.allowImages = !1, this.allowVoiceInput = !1, this.acceptedFileTypes = [], this.agent = "item", this.task = "generate", this.modelPreference = "performance", this.chatSession = null, this.conversationId = null, this.chart = null, this.dashboard = null, this.customItem = null, this.timezoneId = "UTC", this.apiVersion = "0.1.0", this.stream = !0, this.loadingMessage = null, this.cancelledMessage = null, this.initialPrompt = null, this.emptyStateTitle = "", this.emptyStateSubtitle = "", this.emptyStateSuggestions = [], this._textareaValue = "", this._assistantMessageActionsSlotHasContent = !1, this._pendingAssistantMessageAction = null, this._shouldFocusAssistantMessageActionConfirm = !1, this._lastProcessedInitialPrompt = null, this._session = new si({
|
|
3631
3641
|
getConfig: () => this._buildSessionConfig(),
|
|
3632
3642
|
getSeed: () => ({
|
|
3633
3643
|
messages: this.messages,
|
|
@@ -3646,7 +3656,7 @@ var oi = class {
|
|
|
3646
3656
|
};
|
|
3647
3657
|
}
|
|
3648
3658
|
static {
|
|
3649
|
-
this.styles =
|
|
3659
|
+
this.styles = p(kn);
|
|
3650
3660
|
}
|
|
3651
3661
|
static {
|
|
3652
3662
|
this.tagName = "luzmo-ai-chat";
|
|
@@ -3712,6 +3722,14 @@ var oi = class {
|
|
|
3712
3722
|
get _pickedAgentId() {
|
|
3713
3723
|
if (!this.hideAgents) return this.shadowRoot?.querySelector("luzmo-ai-interaction-textarea")?.selectedAgent?.id;
|
|
3714
3724
|
}
|
|
3725
|
+
get _oneSizeSmaller() {
|
|
3726
|
+
return {
|
|
3727
|
+
s: "xs",
|
|
3728
|
+
m: "s",
|
|
3729
|
+
l: "m",
|
|
3730
|
+
xl: "l"
|
|
3731
|
+
}[this.size] ?? "s";
|
|
3732
|
+
}
|
|
3715
3733
|
get _resolvedAcceptedFileTypes() {
|
|
3716
3734
|
return this.acceptedFileTypes.length > 0 ? this.acceptedFileTypes : this.allowImages ? [...e] : [];
|
|
3717
3735
|
}
|
|
@@ -3739,7 +3757,7 @@ var oi = class {
|
|
|
3739
3757
|
}
|
|
3740
3758
|
_getAgentConfig() {
|
|
3741
3759
|
let e = this._session.current?.agentConfig;
|
|
3742
|
-
return this.agentConfig === void 0 && this.chatSession && e ? e :
|
|
3760
|
+
return this.agentConfig === void 0 && this.chatSession && e ? e : An(this._buildSessionConfig(), e);
|
|
3743
3761
|
}
|
|
3744
3762
|
_emitConversationIdChanged(e) {
|
|
3745
3763
|
this.conversationId = e, this.dispatchEvent(new CustomEvent("luzmo-conversation-id-changed", {
|
|
@@ -3851,7 +3869,7 @@ var oi = class {
|
|
|
3851
3869
|
}
|
|
3852
3870
|
_renderMarkdown(e) {
|
|
3853
3871
|
let t = String(Z.parse(e, { async: !1 }));
|
|
3854
|
-
return
|
|
3872
|
+
return yt.sanitize(t, {
|
|
3855
3873
|
ALLOWED_TAGS: /* @__PURE__ */ "p.br.strong.em.b.i.u.s.code.pre.blockquote.hr.ul.ol.li.h1.h2.h3.h4.h5.h6.table.thead.tbody.tr.th.td.a".split("."),
|
|
3856
3874
|
ALLOWED_ATTR: [
|
|
3857
3875
|
"href",
|
|
@@ -3883,13 +3901,13 @@ var oi = class {
|
|
|
3883
3901
|
}
|
|
3884
3902
|
_renderProgress() {
|
|
3885
3903
|
let { progress: e, progressCollapsed: t } = this._getRenderState();
|
|
3886
|
-
return e?.children?.length ?
|
|
3904
|
+
return e?.children?.length ? d`
|
|
3887
3905
|
<luzmo-progress-steps
|
|
3888
3906
|
.progress=${e}
|
|
3889
3907
|
?collapsed=${t}
|
|
3890
|
-
size
|
|
3908
|
+
.size=${this.size}
|
|
3891
3909
|
></luzmo-progress-steps>
|
|
3892
|
-
` :
|
|
3910
|
+
` : f;
|
|
3893
3911
|
}
|
|
3894
3912
|
_isLastAiMessageWithProgress(e, t) {
|
|
3895
3913
|
for (let n = t.length - 1; n >= 0; n--) if (t[n].type === "ai" && t[n].progress?.children?.length) return t[n].id === e.id;
|
|
@@ -3918,7 +3936,7 @@ var oi = class {
|
|
|
3918
3936
|
(!n || !r?.confirm) && (this._pendingAssistantMessageAction = null, this._shouldFocusAssistantMessageActionConfirm = !1);
|
|
3919
3937
|
}
|
|
3920
3938
|
_getDefaultAssistantMessageActionConfirmMessage() {
|
|
3921
|
-
return
|
|
3939
|
+
return s("Are you sure?", { desc: "Default assistant message action confirmation prompt" });
|
|
3922
3940
|
}
|
|
3923
3941
|
_isAssistantMessageActionConfirming(e) {
|
|
3924
3942
|
let t = this._pendingAssistantMessageAction, n = e.id;
|
|
@@ -3963,40 +3981,41 @@ var oi = class {
|
|
|
3963
3981
|
!this._shouldFocusAssistantMessageActionConfirm || !this._pendingAssistantMessageAction || (this._shouldFocusAssistantMessageActionConfirm = !1, (this.shadowRoot?.querySelector("luzmo-button.assistant-message-action-confirm-cancel"))?.focus?.());
|
|
3964
3982
|
}
|
|
3965
3983
|
_renderBuiltInAssistantMessageAction(e, t) {
|
|
3966
|
-
|
|
3984
|
+
let n = this.disabled || t.disabled || !e.id;
|
|
3985
|
+
return d`
|
|
3967
3986
|
<luzmo-button
|
|
3968
3987
|
class="assistant-message-action"
|
|
3969
|
-
size
|
|
3988
|
+
.size=${this._oneSizeSmaller}
|
|
3970
3989
|
variant="neutral"
|
|
3971
3990
|
treatment="outline"
|
|
3972
|
-
?disabled=${
|
|
3991
|
+
?disabled=${n}
|
|
3973
3992
|
@click=${() => this._handleAssistantMessageActionClick(e, t)}
|
|
3974
3993
|
>
|
|
3975
|
-
${t.icon ?
|
|
3994
|
+
${t.icon ? d`<luzmo-icon slot="icon" .icon=${t.icon} .size=${this._oneSizeSmaller}></luzmo-icon>` : f}
|
|
3976
3995
|
${t.label}
|
|
3977
3996
|
</luzmo-button>
|
|
3978
3997
|
`;
|
|
3979
3998
|
}
|
|
3980
3999
|
_renderAssistantMessageActionConfirm(e) {
|
|
3981
4000
|
let t = this._getPendingAssistantMessageAction(e);
|
|
3982
|
-
if (!t) return
|
|
4001
|
+
if (!t) return f;
|
|
3983
4002
|
let n = t.confirmMessage ?? this._getDefaultAssistantMessageActionConfirmMessage(), r = this.disabled || t.disabled || !e.id;
|
|
3984
|
-
return
|
|
4003
|
+
return d`
|
|
3985
4004
|
<span class="assistant-message-action-confirm-message" role="status" aria-live="polite">${n}</span>
|
|
3986
4005
|
<div class="assistant-message-action-confirm-controls">
|
|
3987
4006
|
<luzmo-button
|
|
3988
4007
|
class="assistant-message-action-confirm-cancel"
|
|
3989
|
-
size
|
|
4008
|
+
.size=${this._oneSizeSmaller}
|
|
3990
4009
|
variant="neutral"
|
|
3991
4010
|
treatment="outline"
|
|
3992
4011
|
?disabled=${this.disabled}
|
|
3993
4012
|
@click=${this._cancelAssistantMessageActionConfirm}
|
|
3994
4013
|
>
|
|
3995
|
-
${
|
|
4014
|
+
${s("Cancel", { desc: "Cancel assistant message action confirmation" })}
|
|
3996
4015
|
</luzmo-button>
|
|
3997
4016
|
<luzmo-button
|
|
3998
4017
|
class="assistant-message-action-confirm-confirm"
|
|
3999
|
-
size
|
|
4018
|
+
.size=${this._oneSizeSmaller}
|
|
4000
4019
|
variant=${t.confirmVariant ?? "negative"}
|
|
4001
4020
|
?disabled=${r}
|
|
4002
4021
|
@click=${() => this._confirmAssistantMessageAction(e, t)}
|
|
@@ -4008,37 +4027,37 @@ var oi = class {
|
|
|
4008
4027
|
}
|
|
4009
4028
|
_renderAssistantMessageActions(e, n) {
|
|
4010
4029
|
let r = e.actions ?? [], i = r.length > 0, a = this._isLatestAssistantMessage(e, n), o = this._isAssistantMessageActionConfirming(e);
|
|
4011
|
-
return !i && !a ?
|
|
4030
|
+
return !i && !a ? f : d`
|
|
4012
4031
|
<div
|
|
4013
4032
|
class="assistant-message-actions ${this._assistantMessageActionsFooterHasContent(e, a) ? "assistant-message-actions--has-content" : ""} ${o ? "assistant-message-actions--confirming" : ""}"
|
|
4014
|
-
@keydown=${o ? this._handleAssistantMessageActionConfirmKeydown :
|
|
4033
|
+
@keydown=${o ? this._handleAssistantMessageActionConfirmKeydown : f}
|
|
4015
4034
|
>
|
|
4016
|
-
${o ? this._renderAssistantMessageActionConfirm(e) :
|
|
4035
|
+
${o ? this._renderAssistantMessageActionConfirm(e) : d`
|
|
4017
4036
|
${r.map((t) => this._renderBuiltInAssistantMessageAction(e, t))}
|
|
4018
|
-
${a ?
|
|
4037
|
+
${a ? d`
|
|
4019
4038
|
<slot
|
|
4020
4039
|
name=${t.assistantMessageActionsSlot}
|
|
4021
4040
|
@slotchange=${this._handleAssistantMessageActionsSlotChange}
|
|
4022
4041
|
></slot>
|
|
4023
|
-
` :
|
|
4042
|
+
` : f}
|
|
4024
4043
|
`}
|
|
4025
4044
|
</div>
|
|
4026
4045
|
`;
|
|
4027
4046
|
}
|
|
4028
4047
|
_renderRestoreMenu(e, t, n, r = !1) {
|
|
4029
|
-
if (!(this._getAgentConfig().type === "item" && this.showAssistantContextMenu && e.hasChart && e.apiMessageId && !e.isError && e.id !== n)) return
|
|
4048
|
+
if (!(this._getAgentConfig().type === "item" && this.showAssistantContextMenu && e.hasChart && e.apiMessageId && !e.isError && e.id !== n)) return f;
|
|
4030
4049
|
let i = `context-menu-trigger-${e.apiMessageId}`;
|
|
4031
|
-
return
|
|
4050
|
+
return d`
|
|
4032
4051
|
<div class="assistant-context-menu">
|
|
4033
4052
|
<button
|
|
4034
4053
|
id=${i}
|
|
4035
4054
|
class="assistant-context-menu-trigger"
|
|
4036
4055
|
type="button"
|
|
4037
|
-
aria-label=${
|
|
4056
|
+
aria-label=${s("Open restore menu", { desc: "Accessible label for the ai chat restore menu trigger" })}
|
|
4038
4057
|
aria-haspopup="menu"
|
|
4039
4058
|
?disabled=${r}
|
|
4040
4059
|
>
|
|
4041
|
-
${c
|
|
4060
|
+
${l(c)}
|
|
4042
4061
|
</button>
|
|
4043
4062
|
<luzmo-overlay
|
|
4044
4063
|
trigger="${i}@click"
|
|
@@ -4051,7 +4070,7 @@ var oi = class {
|
|
|
4051
4070
|
?disabled=${r}
|
|
4052
4071
|
@click=${() => this._handleRestoreState(e, t)}
|
|
4053
4072
|
>
|
|
4054
|
-
${
|
|
4073
|
+
${s("Restore state", { desc: "Context menu action that restores the chart to this message state" })}
|
|
4055
4074
|
</button>
|
|
4056
4075
|
</luzmo-popover>
|
|
4057
4076
|
</luzmo-overlay>
|
|
@@ -4059,67 +4078,68 @@ var oi = class {
|
|
|
4059
4078
|
`;
|
|
4060
4079
|
}
|
|
4061
4080
|
_renderMessages() {
|
|
4062
|
-
let { messages: e, inflightMessage: t, isGenerating: n } = this._getRenderState(), r = t !== null, i = e.filter((e) => !t || e.id !== t.id), a = [...i].reverse().find((e) => e.type === "ai"),
|
|
4081
|
+
let { messages: e, inflightMessage: t, isGenerating: n } = this._getRenderState(), r = t !== null, i = e.filter((e) => !t || e.id !== t.id), a = [...i].reverse().find((e) => e.type === "ai"), o = a?.id;
|
|
4063
4082
|
return i.map((t) => {
|
|
4064
|
-
let c = !!t.progress?.children?.length, l = c && this._isLastAiMessageWithProgress(t, i),
|
|
4083
|
+
let c = !!t.progress?.children?.length, l = c && this._isLastAiMessageWithProgress(t, i), u = c && (r || n || !l), p = c ? d`
|
|
4065
4084
|
<luzmo-progress-steps
|
|
4066
4085
|
.progress=${t.progress}
|
|
4067
|
-
?condensed=${
|
|
4086
|
+
?condensed=${u}
|
|
4068
4087
|
collapsed
|
|
4069
4088
|
no-animate
|
|
4070
|
-
size
|
|
4089
|
+
.size=${this.size}
|
|
4071
4090
|
></luzmo-progress-steps>
|
|
4072
|
-
` :
|
|
4091
|
+
` : f;
|
|
4073
4092
|
if (t.type === "user") {
|
|
4074
4093
|
let e = t.attachmentUrls ?? [];
|
|
4075
|
-
return
|
|
4094
|
+
return d`
|
|
4076
4095
|
<luzmo-chat-message
|
|
4077
4096
|
avatar-placement="bottom"
|
|
4078
4097
|
position="right"
|
|
4079
4098
|
variant="primary"
|
|
4080
|
-
size
|
|
4099
|
+
.size=${this.size}
|
|
4081
4100
|
>
|
|
4082
4101
|
<div class="user-message-content">
|
|
4083
|
-
${e.length > 0 ?
|
|
4102
|
+
${e.length > 0 ? d`
|
|
4084
4103
|
<div class="user-message-attachments">
|
|
4085
|
-
${e.map((e) =>
|
|
4104
|
+
${e.map((e) => d`
|
|
4086
4105
|
<img
|
|
4087
4106
|
class="user-message-attachment"
|
|
4088
4107
|
src=${e}
|
|
4089
|
-
alt=${
|
|
4108
|
+
alt=${s("Attached image", { desc: "Accessible label for an image attached to a user chat message" })}
|
|
4090
4109
|
width="64"
|
|
4091
4110
|
height="64"
|
|
4092
4111
|
/>
|
|
4093
4112
|
`)}
|
|
4094
4113
|
</div>
|
|
4095
|
-
` :
|
|
4114
|
+
` : f}
|
|
4096
4115
|
<div class="user-message-text">${t.message}</div>
|
|
4097
4116
|
</div>
|
|
4098
4117
|
</luzmo-chat-message>
|
|
4099
4118
|
`;
|
|
4100
4119
|
}
|
|
4101
|
-
let m = e.indexOf(t),
|
|
4102
|
-
return
|
|
4120
|
+
let m = e.indexOf(t), ee = t.isError ? "error" : t.isCancelled ? "cancelled" : "", ne = !!t.elicitation && (!t.message.trim() || t.message.trim() === t.elicitation?.question), re = t.isCancelled ? t.message : ne ? f : d`<div class="markdown-content">${te(this._renderMarkdown(t.message))}</div>`;
|
|
4121
|
+
return d`
|
|
4103
4122
|
${p}
|
|
4104
4123
|
<div class="assistant-message-wrapper">
|
|
4105
4124
|
<div class="assistant-message-body">
|
|
4106
4125
|
<luzmo-chat-message
|
|
4107
|
-
class=${
|
|
4108
|
-
role=${t.isError ? "alert" :
|
|
4126
|
+
class=${ee}
|
|
4127
|
+
role=${t.isError ? "alert" : f}
|
|
4109
4128
|
avatar-placement="bottom"
|
|
4110
4129
|
position="left"
|
|
4111
4130
|
quiet
|
|
4112
|
-
size
|
|
4131
|
+
.size=${this.size}
|
|
4113
4132
|
>
|
|
4114
|
-
${
|
|
4115
|
-
${
|
|
4133
|
+
${re}
|
|
4134
|
+
${Rn({
|
|
4116
4135
|
message: t,
|
|
4136
|
+
size: this.size,
|
|
4117
4137
|
state: t.elicitation?.answer ? "answered" : t.id && t === i.at(-1) && !n && !this.disabled ? "open" : "closed",
|
|
4118
4138
|
onSubmit: (e) => this._handleElicitationSubmit(t, e)
|
|
4119
4139
|
})}
|
|
4120
4140
|
</luzmo-chat-message>
|
|
4121
4141
|
|
|
4122
|
-
${this._renderRestoreMenu(t, m,
|
|
4142
|
+
${this._renderRestoreMenu(t, m, o, r)}
|
|
4123
4143
|
</div>
|
|
4124
4144
|
|
|
4125
4145
|
${this._renderAssistantMessageActions(t, a)}
|
|
@@ -4129,7 +4149,7 @@ var oi = class {
|
|
|
4129
4149
|
}
|
|
4130
4150
|
async _handleElicitationSubmit(e, t) {
|
|
4131
4151
|
t.stopPropagation();
|
|
4132
|
-
let n = t.currentTarget, r = n.parentElement, i =
|
|
4152
|
+
let n = t.currentTarget, r = n.parentElement, i = In(t.detail), a = !1;
|
|
4133
4153
|
if (e.id && i) try {
|
|
4134
4154
|
let t = this._session.requireSession().answerElicitation(e.id, i, { agentId: this._pickedAgentId });
|
|
4135
4155
|
await this.updateComplete;
|
|
@@ -4142,43 +4162,44 @@ var oi = class {
|
|
|
4142
4162
|
}
|
|
4143
4163
|
_renderStreamingResponse() {
|
|
4144
4164
|
let { inflightMessage: e } = this._getRenderState();
|
|
4145
|
-
return e?.message ?
|
|
4165
|
+
return e?.message ? d`
|
|
4146
4166
|
<luzmo-chat-message
|
|
4147
4167
|
avatar-placement="bottom"
|
|
4148
4168
|
position="left"
|
|
4149
4169
|
quiet
|
|
4150
|
-
size
|
|
4170
|
+
.size=${this.size}
|
|
4151
4171
|
>
|
|
4152
|
-
<div class="markdown-content">${
|
|
4172
|
+
<div class="markdown-content">${te(this._renderMarkdown(e.message))}</div>
|
|
4153
4173
|
</luzmo-chat-message>
|
|
4154
|
-
` :
|
|
4174
|
+
` : f;
|
|
4155
4175
|
}
|
|
4156
4176
|
_renderLoadingMessage() {
|
|
4157
4177
|
let { isGenerating: e, progress: t, inflightMessage: n } = this._getRenderState();
|
|
4158
|
-
if (!e || t?.children?.length || n?.message) return
|
|
4159
|
-
let r = this._getAgentConfig(), i =
|
|
4160
|
-
return
|
|
4178
|
+
if (!e || t?.children?.length || n?.message) return f;
|
|
4179
|
+
let r = this._getAgentConfig(), i = jn(r), a = r.type === "dashboard" ? !i.dashboard : i.chart?.type === "placeholder", o = r.type === "dashboard" ? a ? s("Creating dashboard...", { desc: "Label for ai chat creating dashboard message" }) : s("Updating dashboard...", { desc: "Label for ai chat updating dashboard message" }) : a ? s("Creating item...", { desc: "Label for ai chat creating item message" }) : s("Updating item...", { desc: "Label for ai chat updating item message" });
|
|
4180
|
+
return d`
|
|
4161
4181
|
<luzmo-chat-message
|
|
4162
4182
|
avatar-placement="bottom"
|
|
4163
4183
|
position="left"
|
|
4164
4184
|
quiet
|
|
4165
|
-
size
|
|
4185
|
+
.size=${this.size}
|
|
4166
4186
|
>
|
|
4167
4187
|
<div class="loading-message" role="status" aria-live="polite">
|
|
4168
|
-
<span class="icon-lg">${
|
|
4169
|
-
<span class="loading-message-text">${this.loadingMessage ||
|
|
4188
|
+
<span class="icon-lg">${l(u, { className: "spin" })}</span>
|
|
4189
|
+
<span class="loading-message-text">${this.loadingMessage || o}</span>
|
|
4170
4190
|
</div>
|
|
4171
4191
|
</luzmo-chat-message>
|
|
4172
4192
|
`;
|
|
4173
4193
|
}
|
|
4174
4194
|
_renderEmptyState() {
|
|
4175
|
-
if (this._getRenderState().messages.length > 0) return
|
|
4176
|
-
let e =
|
|
4177
|
-
return
|
|
4195
|
+
if (this._getRenderState().messages.length > 0) return f;
|
|
4196
|
+
let e = s("What can I help you with?", { desc: "Title for the AI chat empty state" }), t = this.emptyStateSuggestions.length > 0;
|
|
4197
|
+
return d`
|
|
4178
4198
|
<luzmo-ai-chat-empty-state
|
|
4179
4199
|
.title=${this.emptyStateTitle || e}
|
|
4180
4200
|
.subtitle=${t ? this.emptyStateSubtitle : ""}
|
|
4181
4201
|
.suggestions=${this.emptyStateSuggestions}
|
|
4202
|
+
.size=${this.size}
|
|
4182
4203
|
?disabled=${this.disabled || this._getRenderState().isGenerating}
|
|
4183
4204
|
@luzmo-suggestion-selected=${this._handleEmptyStateSuggestionSelected}
|
|
4184
4205
|
></luzmo-ai-chat-empty-state>
|
|
@@ -4186,8 +4207,8 @@ var oi = class {
|
|
|
4186
4207
|
}
|
|
4187
4208
|
render() {
|
|
4188
4209
|
let { selectedDatasets: e, isGenerating: t } = this._getRenderState();
|
|
4189
|
-
return
|
|
4190
|
-
<div class="chat-container" role="region" aria-label=${
|
|
4210
|
+
return d`
|
|
4211
|
+
<div class="chat-container" role="region" aria-label=${s("AI Chat", { desc: "Accessible label for AI chat region" })}>
|
|
4191
4212
|
<div class="chat-messages-container" role="log" aria-live="polite">
|
|
4192
4213
|
${this._renderEmptyState()}
|
|
4193
4214
|
${this._renderMessages()}
|
|
@@ -4198,7 +4219,8 @@ var oi = class {
|
|
|
4198
4219
|
|
|
4199
4220
|
<luzmo-ai-interaction-textarea
|
|
4200
4221
|
role="group"
|
|
4201
|
-
aria-label=${
|
|
4222
|
+
aria-label=${s("AI prompt input", { desc: "Accessible label for the ai chat prompt input area" })}
|
|
4223
|
+
.size=${this.size}
|
|
4202
4224
|
.value=${this._textareaValue}
|
|
4203
4225
|
.selectedDatasets=${e}
|
|
4204
4226
|
.placeholder=${this.placeholder}
|
|
@@ -4232,120 +4254,120 @@ var oi = class {
|
|
|
4232
4254
|
`;
|
|
4233
4255
|
}
|
|
4234
4256
|
};
|
|
4235
|
-
|
|
4257
|
+
o([m({ type: Array })], $.prototype, "messages", void 0), o([m({
|
|
4236
4258
|
type: Array,
|
|
4237
4259
|
attribute: "selected-datasets"
|
|
4238
|
-
})], $.prototype, "selectedDatasets", void 0),
|
|
4260
|
+
})], $.prototype, "selectedDatasets", void 0), o([m({ type: String })], $.prototype, "placeholder", void 0), o([m({
|
|
4239
4261
|
type: Boolean,
|
|
4240
4262
|
reflect: !0
|
|
4241
|
-
})], $.prototype, "disabled", void 0),
|
|
4263
|
+
})], $.prototype, "disabled", void 0), o([m({
|
|
4242
4264
|
type: Boolean,
|
|
4243
4265
|
reflect: !0
|
|
4244
|
-
})], $.prototype, "stoppable", void 0),
|
|
4266
|
+
})], $.prototype, "stoppable", void 0), o([m({
|
|
4245
4267
|
type: Boolean,
|
|
4246
4268
|
attribute: "show-assistant-context-menu"
|
|
4247
|
-
})], $.prototype, "showAssistantContextMenu", void 0),
|
|
4269
|
+
})], $.prototype, "showAssistantContextMenu", void 0), o([m({
|
|
4248
4270
|
type: String,
|
|
4249
4271
|
attribute: "auth-key"
|
|
4250
|
-
})], $.prototype, "authKey", void 0),
|
|
4272
|
+
})], $.prototype, "authKey", void 0), o([m({
|
|
4251
4273
|
type: String,
|
|
4252
4274
|
attribute: "auth-token"
|
|
4253
|
-
})], $.prototype, "authToken", void 0),
|
|
4275
|
+
})], $.prototype, "authToken", void 0), o([m({
|
|
4254
4276
|
type: String,
|
|
4255
4277
|
attribute: "api-url"
|
|
4256
|
-
})], $.prototype, "apiUrl", void 0),
|
|
4278
|
+
})], $.prototype, "apiUrl", void 0), o([m({
|
|
4257
4279
|
type: String,
|
|
4258
4280
|
attribute: "app-server"
|
|
4259
|
-
})], $.prototype, "appServer", void 0),
|
|
4281
|
+
})], $.prototype, "appServer", void 0), o([m({
|
|
4260
4282
|
type: Boolean,
|
|
4261
4283
|
reflect: !0,
|
|
4262
4284
|
attribute: "include-public-datasets"
|
|
4263
|
-
})], $.prototype, "includePublicDatasets", void 0),
|
|
4285
|
+
})], $.prototype, "includePublicDatasets", void 0), o([m({
|
|
4264
4286
|
type: Boolean,
|
|
4265
4287
|
attribute: "flag-opendata"
|
|
4266
|
-
})], $.prototype, "flagOpendata", null),
|
|
4288
|
+
})], $.prototype, "flagOpendata", null), o([m({
|
|
4267
4289
|
type: Boolean,
|
|
4268
4290
|
attribute: "hide-dataset-button"
|
|
4269
|
-
})], $.prototype, "hideDatasetButton", void 0),
|
|
4291
|
+
})], $.prototype, "hideDatasetButton", void 0), o([m({
|
|
4270
4292
|
type: Boolean,
|
|
4271
4293
|
attribute: "hide-dataset-icons"
|
|
4272
|
-
})], $.prototype, "hideDatasetIcons", void 0),
|
|
4294
|
+
})], $.prototype, "hideDatasetIcons", void 0), o([m({
|
|
4273
4295
|
type: Boolean,
|
|
4274
4296
|
attribute: "disable-dataset-modification"
|
|
4275
|
-
})], $.prototype, "disableDatasetModification", void 0),
|
|
4297
|
+
})], $.prototype, "disableDatasetModification", void 0), o([m({
|
|
4276
4298
|
type: Boolean,
|
|
4277
4299
|
attribute: "hide-selected-datasets"
|
|
4278
|
-
})], $.prototype, "hideSelectedDatasets", void 0),
|
|
4300
|
+
})], $.prototype, "hideSelectedDatasets", void 0), o([m({
|
|
4279
4301
|
type: Boolean,
|
|
4280
4302
|
reflect: !0,
|
|
4281
4303
|
attribute: "hide-agents"
|
|
4282
|
-
})], $.prototype, "hideAgents", void 0),
|
|
4304
|
+
})], $.prototype, "hideAgents", void 0), o([m({
|
|
4283
4305
|
type: Boolean,
|
|
4284
4306
|
attribute: "disable-column-mentions"
|
|
4285
|
-
})], $.prototype, "disableColumnMentions", void 0),
|
|
4307
|
+
})], $.prototype, "disableColumnMentions", void 0), o([m({
|
|
4286
4308
|
type: Boolean,
|
|
4287
4309
|
attribute: "require-dataset"
|
|
4288
|
-
})], $.prototype, "requireDataset", void 0),
|
|
4310
|
+
})], $.prototype, "requireDataset", void 0), o([m({
|
|
4289
4311
|
type: Boolean,
|
|
4290
4312
|
reflect: !0,
|
|
4291
4313
|
attribute: "allow-images"
|
|
4292
|
-
})], $.prototype, "allowImages", void 0),
|
|
4314
|
+
})], $.prototype, "allowImages", void 0), o([m({
|
|
4293
4315
|
type: Boolean,
|
|
4294
4316
|
reflect: !0,
|
|
4295
4317
|
attribute: "allow-voice-input"
|
|
4296
|
-
})], $.prototype, "allowVoiceInput", void 0),
|
|
4318
|
+
})], $.prototype, "allowVoiceInput", void 0), o([m({
|
|
4297
4319
|
type: Array,
|
|
4298
4320
|
attribute: "accepted-file-types"
|
|
4299
|
-
})], $.prototype, "acceptedFileTypes", void 0),
|
|
4321
|
+
})], $.prototype, "acceptedFileTypes", void 0), o([m({ attribute: !1 })], $.prototype, "uploadAttachments", void 0), o([m({ type: String })], $.prototype, "agent", void 0), o([m({ attribute: !1 })], $.prototype, "agentConfig", void 0), o([m({
|
|
4300
4322
|
type: String,
|
|
4301
4323
|
attribute: "agent-id"
|
|
4302
|
-
})], $.prototype, "agentId", void 0),
|
|
4324
|
+
})], $.prototype, "agentId", void 0), o([m({ type: String })], $.prototype, "task", void 0), o([m({
|
|
4303
4325
|
type: String,
|
|
4304
4326
|
attribute: "model-preference"
|
|
4305
|
-
})], $.prototype, "modelPreference", void 0),
|
|
4327
|
+
})], $.prototype, "modelPreference", void 0), o([m({ attribute: !1 })], $.prototype, "chatSession", void 0), o([m({
|
|
4306
4328
|
type: String,
|
|
4307
4329
|
attribute: "conversation-id"
|
|
4308
|
-
})], $.prototype, "conversationId", void 0),
|
|
4330
|
+
})], $.prototype, "conversationId", void 0), o([m({
|
|
4309
4331
|
type: Object,
|
|
4310
4332
|
attribute: "chart"
|
|
4311
|
-
})], $.prototype, "chart", void 0),
|
|
4333
|
+
})], $.prototype, "chart", void 0), o([m({ type: Object })], $.prototype, "dashboard", void 0), o([m({ attribute: !1 })], $.prototype, "customItem", void 0), o([m({
|
|
4312
4334
|
type: String,
|
|
4313
4335
|
attribute: "current-screen-mode"
|
|
4314
|
-
})], $.prototype, "currentScreenMode", void 0),
|
|
4336
|
+
})], $.prototype, "currentScreenMode", void 0), o([m({
|
|
4315
4337
|
type: String,
|
|
4316
4338
|
attribute: "locale-id"
|
|
4317
|
-
})], $.prototype, "localeId", void 0),
|
|
4339
|
+
})], $.prototype, "localeId", void 0), o([m({
|
|
4318
4340
|
type: String,
|
|
4319
4341
|
attribute: "timezone-id"
|
|
4320
|
-
})], $.prototype, "timezoneId", void 0),
|
|
4342
|
+
})], $.prototype, "timezoneId", void 0), o([m({
|
|
4321
4343
|
type: String,
|
|
4322
4344
|
attribute: "api-version"
|
|
4323
|
-
})], $.prototype, "apiVersion", void 0),
|
|
4345
|
+
})], $.prototype, "apiVersion", void 0), o([m({ converter: { fromAttribute: (e) => e !== "false" && e !== null } })], $.prototype, "stream", void 0), o([m({
|
|
4324
4346
|
type: String,
|
|
4325
4347
|
attribute: "loading-message"
|
|
4326
|
-
})], $.prototype, "loadingMessage", void 0),
|
|
4348
|
+
})], $.prototype, "loadingMessage", void 0), o([m({
|
|
4327
4349
|
type: String,
|
|
4328
4350
|
attribute: "cancelled-message"
|
|
4329
|
-
})], $.prototype, "cancelledMessage", void 0),
|
|
4351
|
+
})], $.prototype, "cancelledMessage", void 0), o([m({
|
|
4330
4352
|
type: String,
|
|
4331
4353
|
attribute: "initial-prompt"
|
|
4332
|
-
})], $.prototype, "initialPrompt", void 0),
|
|
4354
|
+
})], $.prototype, "initialPrompt", void 0), o([m({
|
|
4333
4355
|
type: String,
|
|
4334
4356
|
attribute: "empty-state-title"
|
|
4335
|
-
})], $.prototype, "emptyStateTitle", void 0),
|
|
4357
|
+
})], $.prototype, "emptyStateTitle", void 0), o([m({
|
|
4336
4358
|
type: String,
|
|
4337
4359
|
attribute: "empty-state-subtitle"
|
|
4338
|
-
})], $.prototype, "emptyStateSubtitle", void 0),
|
|
4360
|
+
})], $.prototype, "emptyStateSubtitle", void 0), o([m({
|
|
4339
4361
|
type: Array,
|
|
4340
4362
|
attribute: !1
|
|
4341
|
-
})], $.prototype, "emptyStateSuggestions", void 0),
|
|
4363
|
+
})], $.prototype, "emptyStateSuggestions", void 0), o([ee()], $.prototype, "_textareaValue", void 0), o([ee()], $.prototype, "_assistantMessageActionsSlotHasContent", void 0), o([ee()], $.prototype, "_pendingAssistantMessageAction", void 0);
|
|
4342
4364
|
//#endregion
|
|
4343
4365
|
//#region src/components/ai-chat/ai-chat-events.ts
|
|
4344
|
-
function
|
|
4366
|
+
function ci(e) {
|
|
4345
4367
|
return e.recognized === !0;
|
|
4346
4368
|
}
|
|
4347
4369
|
//#endregion
|
|
4348
4370
|
//#region src/components/ai-chat/index.ts
|
|
4349
4371
|
customElements.get("luzmo-ai-chat") || customElements.define("luzmo-ai-chat", $);
|
|
4350
4372
|
//#endregion
|
|
4351
|
-
export {
|
|
4373
|
+
export { Wn as C, Nn as D, zn as E, Gn as S, Bn as T, Zn as _, oi as a, Kn as b, ti as c, mr as d, nr as f, tr as g, $n as h, ai as i, ei as l, Qn as m, $ as n, ri as o, rr as p, si as r, ni as s, ci as t, ur as u, Yn as v, Jn as w, qn as x, Xn as y };
|