@descope/web-components-ui 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +25 -0
- package/dist/cjs/index.cjs.js +18314 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/index.d.ts +72 -0
- package/dist/index.esm.js +20157 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/umd/1172.js +240 -0
- package/dist/umd/1172.js.LICENSE.txt +23 -0
- package/dist/umd/1396.js +37 -0
- package/dist/umd/1396.js.LICENSE.txt +11 -0
- package/dist/umd/1402.js +1 -0
- package/dist/umd/1484.js +148 -0
- package/dist/umd/1484.js.LICENSE.txt +17 -0
- package/dist/umd/189.js +338 -0
- package/dist/umd/189.js.LICENSE.txt +11 -0
- package/dist/umd/201.js +73 -0
- package/dist/umd/201.js.LICENSE.txt +23 -0
- package/dist/umd/2159.js +608 -0
- package/dist/umd/2159.js.LICENSE.txt +23 -0
- package/dist/umd/2540.js +1 -0
- package/dist/umd/2570.js +338 -0
- package/dist/umd/2570.js.LICENSE.txt +11 -0
- package/dist/umd/2666.js +148 -0
- package/dist/umd/2666.js.LICENSE.txt +11 -0
- package/dist/umd/2755.js +1 -0
- package/dist/umd/3110.js +275 -0
- package/dist/umd/3110.js.LICENSE.txt +23 -0
- package/dist/umd/3191.js +506 -0
- package/dist/umd/3191.js.LICENSE.txt +17 -0
- package/dist/umd/3437.js +2 -0
- package/dist/umd/3437.js.LICENSE.txt +15 -0
- package/dist/umd/3638.js +2 -0
- package/dist/umd/3638.js.LICENSE.txt +5 -0
- package/dist/umd/404.js +148 -0
- package/dist/umd/404.js.LICENSE.txt +17 -0
- package/dist/umd/4114.js +124 -0
- package/dist/umd/4114.js.LICENSE.txt +33 -0
- package/dist/umd/4127.js +449 -0
- package/dist/umd/4127.js.LICENSE.txt +17 -0
- package/dist/umd/4187.js +2 -0
- package/dist/umd/4187.js.LICENSE.txt +5 -0
- package/dist/umd/4218.js +129 -0
- package/dist/umd/4218.js.LICENSE.txt +23 -0
- package/dist/umd/4455.js +422 -0
- package/dist/umd/4455.js.LICENSE.txt +11 -0
- package/dist/umd/4480.js +1 -0
- package/dist/umd/4554.js +303 -0
- package/dist/umd/4554.js.LICENSE.txt +11 -0
- package/dist/umd/4574.js +400 -0
- package/dist/umd/4574.js.LICENSE.txt +23 -0
- package/dist/umd/4619.js +1 -0
- package/dist/umd/4902.js +170 -0
- package/dist/umd/4902.js.LICENSE.txt +23 -0
- package/dist/umd/507.js +279 -0
- package/dist/umd/507.js.LICENSE.txt +11 -0
- package/dist/umd/5096.js +109 -0
- package/dist/umd/5096.js.LICENSE.txt +5 -0
- package/dist/umd/5318.js +1 -0
- package/dist/umd/5414.js +2 -0
- package/dist/umd/5414.js.LICENSE.txt +1 -0
- package/dist/umd/5563.js +319 -0
- package/dist/umd/5563.js.LICENSE.txt +55 -0
- package/dist/umd/7097.js +338 -0
- package/dist/umd/7097.js.LICENSE.txt +11 -0
- package/dist/umd/7150.js +2 -0
- package/dist/umd/7150.js.LICENSE.txt +485 -0
- package/dist/umd/731.js +832 -0
- package/dist/umd/731.js.LICENSE.txt +17 -0
- package/dist/umd/742.js +2 -0
- package/dist/umd/742.js.LICENSE.txt +21 -0
- package/dist/umd/7979.js +419 -0
- package/dist/umd/7979.js.LICENSE.txt +11 -0
- package/dist/umd/8823.js +1 -0
- package/dist/umd/9030.js +381 -0
- package/dist/umd/9030.js.LICENSE.txt +17 -0
- package/dist/umd/9243.js +202 -0
- package/dist/umd/9243.js.LICENSE.txt +51 -0
- package/dist/umd/9478.js +338 -0
- package/dist/umd/9478.js.LICENSE.txt +11 -0
- package/dist/umd/DescopeDev.js +1 -0
- package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -0
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +2 -0
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +2 -0
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-internal-index-js.js +1 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -0
- package/dist/umd/descope-alert-index-js.js +1 -0
- package/dist/umd/descope-apps-list-index-js.js +1 -0
- package/dist/umd/descope-avatar.js +1 -0
- package/dist/umd/descope-badge-index-js.js +1 -0
- package/dist/umd/descope-button-index-js.js +338 -0
- package/dist/umd/descope-button-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-code-snippet-index-js.js +1 -0
- package/dist/umd/descope-combo-box-index-js.js +113 -0
- package/dist/umd/descope-combo-box-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-container-index-js.js +1 -0
- package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -0
- package/dist/umd/descope-date-field-index-js.js +1 -0
- package/dist/umd/descope-divider-index-js.js +1 -0
- package/dist/umd/descope-email-field-index-js.js +54 -0
- package/dist/umd/descope-email-field-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-enriched-text-index-js.js +1 -0
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +90 -0
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js.LICENSE.txt +17 -0
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js +105 -0
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js.LICENSE.txt +29 -0
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +2 -0
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js.LICENSE.txt +17 -0
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +90 -0
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.LICENSE.txt +17 -0
- package/dist/umd/descope-grid-index-js.js +1 -0
- package/dist/umd/descope-hybrid-field-index-js.js +19 -0
- package/dist/umd/descope-hybrid-field-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/descope-icon-index-js.js +1 -0
- package/dist/umd/descope-image-index-js.js +1 -0
- package/dist/umd/descope-link-index-js.js +1 -0
- package/dist/umd/descope-list-index-js.js +1 -0
- package/dist/umd/descope-loader-linear-index-js.js +1 -0
- package/dist/umd/descope-loader-radial-index-js.js +1 -0
- package/dist/umd/descope-logo-index-js.js +1 -0
- package/dist/umd/descope-modal-index-js.js +1 -0
- package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -0
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -0
- package/dist/umd/descope-new-password-index-js.js +1 -0
- package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -0
- package/dist/umd/descope-notification-index-js.js +1 -0
- package/dist/umd/descope-notp-image-index-js.js +1 -0
- package/dist/umd/descope-number-field-index-js.js +1 -0
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -0
- package/dist/umd/descope-passcode-index-js.js +1 -0
- package/dist/umd/descope-password-index-js.js +1 -0
- package/dist/umd/descope-policy-validation-index-js.js +1 -0
- package/dist/umd/descope-radio-group-index-js.js +1 -0
- package/dist/umd/descope-recaptcha-index-js.js +1 -0
- package/dist/umd/descope-scopes-list-index-js.js +2 -0
- package/dist/umd/descope-scopes-list-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/descope-security-questions-setup-index-js.js +1 -0
- package/dist/umd/descope-security-questions-verify-index-js.js +37 -0
- package/dist/umd/descope-security-questions-verify-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-text-area-index-js.js +1 -0
- package/dist/umd/descope-text-field-index-js.js +37 -0
- package/dist/umd/descope-text-field-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-text.js +1 -0
- package/dist/umd/descope-third-party-app-logo-index-js.js +1 -0
- package/dist/umd/descope-totp-image-index-js.js +1 -0
- package/dist/umd/descope-upload-file-index-js.js +1 -0
- package/dist/umd/descope-user-attribute-index-js.js +1 -0
- package/dist/umd/descope-user-auth-method-index-js.js +1 -0
- package/dist/umd/index.js +1 -0
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js +1 -0
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +1 -0
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -0
- package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js.js +1 -0
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -0
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -0
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +37 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +148 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js.LICENSE.txt +17 -0
- package/node_modules/common/.eslintrc.json +18 -0
- package/node_modules/common/README.md +7 -0
- package/node_modules/common/package.json +34 -0
- package/node_modules/common/project.json +7 -0
- package/node_modules/common/src/baseClasses/baseClasses/createBaseClass.js +66 -0
- package/node_modules/common/src/baseClasses/baseClasses/createBaseInputClass.js +14 -0
- package/node_modules/common/src/baseClasses/baseClasses/createCssVarImageClass.js +55 -0
- package/node_modules/common/src/baseClasses/index.js +3 -0
- package/node_modules/common/src/componentsHelpers/index.js +95 -0
- package/node_modules/common/src/componentsMixins/helpers/mixinsHelpers.js +10 -0
- package/node_modules/common/src/componentsMixins/index.js +1 -0
- package/node_modules/common/src/componentsMixins/mixins/activableMixin.js +14 -0
- package/node_modules/common/src/componentsMixins/mixins/changeMixin.js +22 -0
- package/node_modules/common/src/componentsMixins/mixins/componentNameValidationMixin.js +23 -0
- package/node_modules/common/src/componentsMixins/mixins/componentsContextMixin.js +12 -0
- package/node_modules/common/src/componentsMixins/mixins/createDynamicDataMixin.js +100 -0
- package/node_modules/common/src/componentsMixins/mixins/createProxy.js +58 -0
- package/node_modules/common/src/componentsMixins/mixins/createStyleMixin/helpers.js +106 -0
- package/node_modules/common/src/componentsMixins/mixins/createStyleMixin/index.js +167 -0
- package/node_modules/common/src/componentsMixins/mixins/draggableMixin.js +62 -0
- package/node_modules/common/src/componentsMixins/mixins/externalInputHelpers.js +93 -0
- package/node_modules/common/src/componentsMixins/mixins/externalInputMixin.js +170 -0
- package/node_modules/common/src/componentsMixins/mixins/hoverableMixin.js +13 -0
- package/node_modules/common/src/componentsMixins/mixins/index.js +14 -0
- package/node_modules/common/src/componentsMixins/mixins/inputEventsDispatchingMixin.js +76 -0
- package/node_modules/common/src/componentsMixins/mixins/inputValidationMixin.js +210 -0
- package/node_modules/common/src/componentsMixins/mixins/lifecycleEventsMixin.js +23 -0
- package/node_modules/common/src/componentsMixins/mixins/normalizeBooleanAttributesMixin.js +57 -0
- package/node_modules/common/src/componentsMixins/mixins/portalMixin.js +112 -0
- package/node_modules/common/src/componentsMixins/mixins/proxyInputMixin.js +242 -0
- package/node_modules/common/src/constants.js +4 -0
- package/node_modules/common/src/icons/errorMessageIconBase64.js +1 -0
- package/node_modules/common/src/sbControls.js +302 -0
- package/node_modules/common/src/themeHelpers/colorsHelpers.js +94 -0
- package/node_modules/common/src/themeHelpers/componentsThemeManager.js +45 -0
- package/node_modules/common/src/themeHelpers/index.js +176 -0
- package/node_modules/common/src/utils/index.js +68 -0
- package/node_modules/descope-avatar/e2e/descope-avatar.spec.ts +54 -0
- package/node_modules/descope-avatar/package.json +34 -0
- package/node_modules/descope-avatar/project.json +7 -0
- package/node_modules/descope-avatar/src/component/AvatarClass.js +109 -0
- package/node_modules/descope-avatar/src/component/index.js +8 -0
- package/node_modules/descope-avatar/src/theme.js +44 -0
- package/node_modules/descope-avatar/stories/avatar.jpeg +0 -0
- package/node_modules/descope-avatar/stories/descope-avatar.stories.js +32 -0
- package/node_modules/descope-text/e2e/descope-text.spec.ts +35 -0
- package/node_modules/descope-text/package.json +31 -0
- package/node_modules/descope-text/project.json +7 -0
- package/node_modules/descope-text/src/component/TextClass.js +63 -0
- package/node_modules/descope-text/src/component/index.js +5 -0
- package/node_modules/descope-text/src/theme.js +91 -0
- package/node_modules/descope-text/stories/descope-text.stories.js +55 -0
- package/package.json +151 -0
- package/src/baseClasses/createBaseClass.js +66 -0
- package/src/baseClasses/createBaseInputClass.js +16 -0
- package/src/baseClasses/createCssVarImageClass.js +53 -0
- package/src/components/boolean-fields/booleanFieldMixin.js +36 -0
- package/src/components/boolean-fields/commonStyles.js +50 -0
- package/src/components/boolean-fields/descope-boolean-field-internal/BooleanFieldInternal.js +77 -0
- package/src/components/boolean-fields/descope-boolean-field-internal/index.js +3 -0
- package/src/components/boolean-fields/descope-checkbox/CheckboxClass.js +133 -0
- package/src/components/boolean-fields/descope-checkbox/index.js +8 -0
- package/src/components/boolean-fields/descope-switch-toggle/SwitchToggleClass.js +154 -0
- package/src/components/boolean-fields/descope-switch-toggle/index.js +8 -0
- package/src/components/button-selection-group-fields/baseButtonSelectionGroup.js +171 -0
- package/src/components/button-selection-group-fields/createBaseButtonSelectionGroupInternalClass.js +101 -0
- package/src/components/button-selection-group-fields/descope-button-multi-selection-group/ButtonMultiSelectionGroupClass.js +67 -0
- package/src/components/button-selection-group-fields/descope-button-multi-selection-group/index.js +7 -0
- package/src/components/button-selection-group-fields/descope-button-multi-selection-group-internal/ButtonMultiSelectionGroupInternalClass.js +108 -0
- package/src/components/button-selection-group-fields/descope-button-multi-selection-group-internal/index.js +8 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group/ButtonSelectionGroupClass.js +67 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group/index.js +7 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group-internal/ButtonSelectionGroupInternalClass.js +77 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group-internal/index.js +8 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group-item/ButtonSelectionGroupItemClass.js +115 -0
- package/src/components/button-selection-group-fields/descope-button-selection-group-item/index.js +6 -0
- package/src/components/descope-alert/AlertClass.js +105 -0
- package/src/components/descope-alert/index.js +6 -0
- package/src/components/descope-apps-list/AppsListClass.js +97 -0
- package/src/components/descope-apps-list/index.js +8 -0
- package/src/components/descope-badge/BadgeClass.js +57 -0
- package/src/components/descope-badge/index.js +5 -0
- package/src/components/descope-button/ButtonClass.js +163 -0
- package/src/components/descope-button/clickableMixin.js +10 -0
- package/src/components/descope-button/index.js +6 -0
- package/src/components/descope-code-snippet/CodeSnippetClass.js +238 -0
- package/src/components/descope-code-snippet/helpers.js +9 -0
- package/src/components/descope-code-snippet/index.js +5 -0
- package/src/components/descope-combo-box/ComboBoxClass.js +543 -0
- package/src/components/descope-combo-box/index.js +6 -0
- package/src/components/descope-container/ContainerClass.js +65 -0
- package/src/components/descope-container/index.js +5 -0
- package/src/components/descope-date-field/DateCounterClass.js +83 -0
- package/src/components/descope-date-field/DateFieldClass.js +702 -0
- package/src/components/descope-date-field/consts.js +55 -0
- package/src/components/descope-date-field/descope-calendar/CalendarClass.js +668 -0
- package/src/components/descope-date-field/descope-calendar/helpers.js +186 -0
- package/src/components/descope-date-field/descope-calendar/index.js +9 -0
- package/src/components/descope-date-field/formats.js +49 -0
- package/src/components/descope-date-field/helpers.js +72 -0
- package/src/components/descope-date-field/icons.js +14 -0
- package/src/components/descope-date-field/index.js +10 -0
- package/src/components/descope-divider/DividerClass.js +105 -0
- package/src/components/descope-divider/index.js +6 -0
- package/src/components/descope-email-field/EmailFieldClass.js +90 -0
- package/src/components/descope-email-field/index.js +6 -0
- package/src/components/descope-enriched-text/EnrichedTextClass.js +204 -0
- package/src/components/descope-enriched-text/consts.js +14 -0
- package/src/components/descope-enriched-text/helpers.js +5 -0
- package/src/components/descope-enriched-text/index.js +5 -0
- package/src/components/descope-grid/GridClass.js +368 -0
- package/src/components/descope-grid/descope-grid-custom-column/GridCustomColumnClass.js +31 -0
- package/src/components/descope-grid/descope-grid-custom-column/index.js +7 -0
- package/src/components/descope-grid/descope-grid-item-details-column/GridItemDetailsColumnClass.js +37 -0
- package/src/components/descope-grid/descope-grid-item-details-column/index.js +8 -0
- package/src/components/descope-grid/descope-grid-selection-column/GridSelectionColumnClass.js +58 -0
- package/src/components/descope-grid/descope-grid-selection-column/index.js +7 -0
- package/src/components/descope-grid/descope-grid-text-column/GridTextColumnClass.js +26 -0
- package/src/components/descope-grid/descope-grid-text-column/index.js +6 -0
- package/src/components/descope-grid/helpers.js +74 -0
- package/src/components/descope-grid/index.js +12 -0
- package/src/components/descope-hybrid-field/HybridFieldClass.js +363 -0
- package/src/components/descope-hybrid-field/helpers.js +5 -0
- package/src/components/descope-hybrid-field/index.js +9 -0
- package/src/components/descope-icon/IconClass.js +82 -0
- package/src/components/descope-icon/helpers.js +51 -0
- package/src/components/descope-icon/index.js +5 -0
- package/src/components/descope-image/ImageClass.js +48 -0
- package/src/components/descope-image/index.js +5 -0
- package/src/components/descope-link/LinkClass.js +71 -0
- package/src/components/descope-link/index.js +6 -0
- package/src/components/descope-list/ListClass.js +154 -0
- package/src/components/descope-list/ListItemClass.js +56 -0
- package/src/components/descope-list/index.js +7 -0
- package/src/components/descope-loader-linear/LoaderLinearClass.js +69 -0
- package/src/components/descope-loader-linear/index.js +5 -0
- package/src/components/descope-loader-radial/LoaderRadialClass.js +50 -0
- package/src/components/descope-loader-radial/index.js +5 -0
- package/src/components/descope-logo/LogoClass.js +10 -0
- package/src/components/descope-logo/index.js +5 -0
- package/src/components/descope-modal/ModalClass.js +112 -0
- package/src/components/descope-modal/index.js +6 -0
- package/src/components/descope-multi-select-combo-box/MultiSelectComboBoxClass.js +676 -0
- package/src/components/descope-multi-select-combo-box/index.js +6 -0
- package/src/components/descope-new-password/NewPasswordClass.js +218 -0
- package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +246 -0
- package/src/components/descope-new-password/descope-new-password-internal/componentName.js +3 -0
- package/src/components/descope-new-password/descope-new-password-internal/index.js +4 -0
- package/src/components/descope-new-password/index.js +9 -0
- package/src/components/descope-notification/NotificationClass.js +107 -0
- package/src/components/descope-notification/descope-notification-card/NotificationCardClass.js +115 -0
- package/src/components/descope-notification/descope-notification-card/index.js +6 -0
- package/src/components/descope-notification/descope-notification-container.js +13 -0
- package/src/components/descope-notification/index.js +8 -0
- package/src/components/descope-notp-image/NotpImageClass.js +10 -0
- package/src/components/descope-notp-image/index.js +5 -0
- package/src/components/descope-number-field/NumberFieldClass.js +54 -0
- package/src/components/descope-number-field/index.js +6 -0
- package/src/components/descope-passcode/PasscodeClass.js +209 -0
- package/src/components/descope-passcode/descope-passcode-internal/PasscodeInternal.js +231 -0
- package/src/components/descope-passcode/descope-passcode-internal/helpers.js +41 -0
- package/src/components/descope-passcode/descope-passcode-internal/index.js +3 -0
- package/src/components/descope-passcode/index.js +8 -0
- package/src/components/descope-password/PasswordClass.js +302 -0
- package/src/components/descope-password/index.js +6 -0
- package/src/components/descope-password/passwordDraggableMixin.js +40 -0
- package/src/components/descope-policy-validation/PolicyValidationClass.js +220 -0
- package/src/components/descope-policy-validation/helpers.js +2 -0
- package/src/components/descope-policy-validation/index.js +5 -0
- package/src/components/descope-radio-group/RadioButtonClass.js +77 -0
- package/src/components/descope-radio-group/RadioGroupClass.js +192 -0
- package/src/components/descope-radio-group/index.js +8 -0
- package/src/components/descope-recaptcha/RecaptchaClass.js +230 -0
- package/src/components/descope-recaptcha/index.js +5 -0
- package/src/components/descope-scopes-list/ScopesListClass.js +131 -0
- package/src/components/descope-scopes-list/index.js +7 -0
- package/src/components/descope-security-questions-setup/SecurityQuestionsSetupClass.js +240 -0
- package/src/components/descope-security-questions-setup/index.js +7 -0
- package/src/components/descope-security-questions-verify/SecurityQuestionsVerifyClass.js +232 -0
- package/src/components/descope-security-questions-verify/index.js +7 -0
- package/src/components/descope-text-area/TextAreaClass.js +102 -0
- package/src/components/descope-text-area/index.js +6 -0
- package/src/components/descope-text-field/TextFieldClass.js +142 -0
- package/src/components/descope-text-field/index.js +9 -0
- package/src/components/descope-text-field/textFieldMappings.js +151 -0
- package/src/components/descope-third-party-app-logo/ThirdPartyAppLogoClass.js +103 -0
- package/src/components/descope-third-party-app-logo/arrows.svg +4 -0
- package/src/components/descope-third-party-app-logo/index.js +7 -0
- package/src/components/descope-totp-image/TotpImageClass.js +10 -0
- package/src/components/descope-totp-image/index.js +5 -0
- package/src/components/descope-upload-file/UploadFileClass.js +236 -0
- package/src/components/descope-upload-file/helpers.js +11 -0
- package/src/components/descope-upload-file/index.js +6 -0
- package/src/components/descope-user-attribute/UserAttributeClass.js +245 -0
- package/src/components/descope-user-attribute/delete.svg +3 -0
- package/src/components/descope-user-attribute/edit.svg +3 -0
- package/src/components/descope-user-attribute/index.js +9 -0
- package/src/components/descope-user-auth-method/UserAuthMethodClass.js +204 -0
- package/src/components/descope-user-auth-method/green-v.svg +3 -0
- package/src/components/descope-user-auth-method/index.js +9 -0
- package/src/components/mapping-fields/descope-mappings-field/MappingsFieldClass.js +188 -0
- package/src/components/mapping-fields/descope-mappings-field/descope-mapping-item/MappingItem.js +167 -0
- package/src/components/mapping-fields/descope-mappings-field/descope-mapping-item/index.js +3 -0
- package/src/components/mapping-fields/descope-mappings-field/descope-mappings-field-internal/MappingsFieldInternal.js +257 -0
- package/src/components/mapping-fields/descope-mappings-field/descope-mappings-field-internal/index.js +3 -0
- package/src/components/mapping-fields/descope-mappings-field/index.js +14 -0
- package/src/components/mapping-fields/descope-saml-group-mappings/SamlGroupMappingsClass.js +116 -0
- package/src/components/mapping-fields/descope-saml-group-mappings/descope-saml-group-mappings-internal/SamlGroupMappingsInternal.js +136 -0
- package/src/components/mapping-fields/descope-saml-group-mappings/descope-saml-group-mappings-internal/index.js +3 -0
- package/src/components/mapping-fields/descope-saml-group-mappings/index.js +10 -0
- package/src/components/phone-fields/CountryCodes.js +1215 -0
- package/src/components/phone-fields/descope-phone-field/PhoneFieldClass.js +313 -0
- package/src/components/phone-fields/descope-phone-field/descope-phone-field-internal/PhoneFieldInternal.js +272 -0
- package/src/components/phone-fields/descope-phone-field/descope-phone-field-internal/index.js +6 -0
- package/src/components/phone-fields/descope-phone-field/helpers.js +52 -0
- package/src/components/phone-fields/descope-phone-field/index.js +9 -0
- package/src/components/phone-fields/descope-phone-input-box-field/PhoneFieldInputBoxClass.js +236 -0
- package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/PhoneFieldInternalInputBox.js +172 -0
- package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/index.js +5 -0
- package/src/components/phone-fields/descope-phone-input-box-field/index.js +9 -0
- package/src/components/phone-fields/helpers.js +5 -0
- package/src/constants.js +4 -0
- package/src/darkTheme.js +52 -0
- package/src/dev/index.js +3 -0
- package/src/helpers/componentHelpers.js +95 -0
- package/src/helpers/index.js +68 -0
- package/src/helpers/mixinsHelpers.js +10 -0
- package/src/helpers/themeHelpers/colorsHelpers.js +94 -0
- package/src/helpers/themeHelpers/index.js +175 -0
- package/src/helpers/themeHelpers/resetHelpers.js +144 -0
- package/src/index.cjs.js +60 -0
- package/src/index.d.ts +72 -0
- package/src/index.js +62 -0
- package/src/index.umd.js +28 -0
- package/src/mixins/activableMixin.js +14 -0
- package/src/mixins/changeMixin.js +22 -0
- package/src/mixins/componentNameValidationMixin.js +23 -0
- package/src/mixins/componentsContextMixin.js +12 -0
- package/src/mixins/createDynamicDataMixin.js +100 -0
- package/src/mixins/createProxy.js +58 -0
- package/src/mixins/createStyleMixin/helpers.js +106 -0
- package/src/mixins/createStyleMixin/index.js +167 -0
- package/src/mixins/draggableMixin.js +62 -0
- package/src/mixins/externalInputHelpers.js +93 -0
- package/src/mixins/externalInputMixin.js +170 -0
- package/src/mixins/hoverableMixin.js +13 -0
- package/src/mixins/index.js +13 -0
- package/src/mixins/inputEventsDispatchingMixin.js +76 -0
- package/src/mixins/inputValidationMixin.js +210 -0
- package/src/mixins/lifecycleEventsMixin.js +23 -0
- package/src/mixins/normalizeBooleanAttributesMixin.js +59 -0
- package/src/mixins/portalMixin.js +111 -0
- package/src/mixins/proxyInputMixin.js +242 -0
- package/src/theme/components/alert.js +88 -0
- package/src/theme/components/appsList.js +36 -0
- package/src/theme/components/badge.js +71 -0
- package/src/theme/components/button.js +133 -0
- package/src/theme/components/buttonSelectionGroup/baseButtonSelectionGroup.js +23 -0
- package/src/theme/components/buttonSelectionGroup/buttonMultiSelectionGroup.js +11 -0
- package/src/theme/components/buttonSelectionGroup/buttonSelectionGroup.js +11 -0
- package/src/theme/components/buttonSelectionGroup/buttonSelectionGroupItem.js +34 -0
- package/src/theme/components/calendar.js +91 -0
- package/src/theme/components/checkbox.js +39 -0
- package/src/theme/components/codeSnippet.js +145 -0
- package/src/theme/components/comboBox.js +93 -0
- package/src/theme/components/container.js +127 -0
- package/src/theme/components/dateField.js +32 -0
- package/src/theme/components/divider.js +49 -0
- package/src/theme/components/emailField.js +50 -0
- package/src/theme/components/enrichedText.js +40 -0
- package/src/theme/components/grid.js +52 -0
- package/src/theme/components/hybridField.js +22 -0
- package/src/theme/components/icon.js +7 -0
- package/src/theme/components/image.js +8 -0
- package/src/theme/components/index.js +124 -0
- package/src/theme/components/inputWrapper.js +130 -0
- package/src/theme/components/link.js +36 -0
- package/src/theme/components/list/list.js +56 -0
- package/src/theme/components/list/listItem.js +41 -0
- package/src/theme/components/loader/index.js +4 -0
- package/src/theme/components/loader/loaderLinear.js +45 -0
- package/src/theme/components/loader/loaderRadial.js +57 -0
- package/src/theme/components/logo.js +10 -0
- package/src/theme/components/mappingsField.js +30 -0
- package/src/theme/components/modal.js +19 -0
- package/src/theme/components/multiSelectComboBox.js +86 -0
- package/src/theme/components/newPassword.js +40 -0
- package/src/theme/components/notificationCard.js +54 -0
- package/src/theme/components/notpImage.js +10 -0
- package/src/theme/components/numberField.js +50 -0
- package/src/theme/components/passcode.js +47 -0
- package/src/theme/components/password.js +55 -0
- package/src/theme/components/phoneField.js +44 -0
- package/src/theme/components/phoneInputBoxField.js +50 -0
- package/src/theme/components/policyValidation.js +29 -0
- package/src/theme/components/radioGroup/radioButton.js +44 -0
- package/src/theme/components/radioGroup/radioGroup.js +42 -0
- package/src/theme/components/samlGroupMappings.js +20 -0
- package/src/theme/components/scopesList.js +15 -0
- package/src/theme/components/securityQuestionsSetup.js +12 -0
- package/src/theme/components/securityQuestionsVerify.js +16 -0
- package/src/theme/components/switchToggle.js +77 -0
- package/src/theme/components/textArea.js +48 -0
- package/src/theme/components/textField.js +63 -0
- package/src/theme/components/thirdPartyAppLogo.js +36 -0
- package/src/theme/components/totpImage.js +10 -0
- package/src/theme/components/uploadFile.js +66 -0
- package/src/theme/components/userAttribute.js +20 -0
- package/src/theme/components/userAuthMethod.js +20 -0
- package/src/theme/globals.js +181 -0
- package/src/theme/index.js +5 -0
package/dist/umd/5318.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[5318],{75318:()=>{!function(e){const t=new WeakMap,a=new WeakMap,i=new WeakMap,r=new WeakMap,n=new WeakMap,o=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,d=new WeakMap,u=new WeakMap,m=new WeakMap,h=new WeakMap,f=new WeakMap,p=new WeakMap,g={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function y(e){const t=r.get(e),{form:a}=t;L(e,a,t),F(e,t.labels)}const b=(e,t=!1)=>{const a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>r.has(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});let i=a.nextNode();const n=!t||e.disabled;for(;i;)i.formDisabledCallback&&n&&k(i,e.disabled),i=a.nextNode()},w={attributes:!0,attributeFilter:["disabled","name"]},v=D()?new MutationObserver((e=>{for(const t of e){const e=t.target;if("disabled"===t.attributeName&&(e.constructor.formAssociated?k(e,e.hasAttribute("disabled")):"fieldset"===e.localName&&b(e)),"name"===t.attributeName&&e.constructor.formAssociated){const t=r.get(e),a=c.get(e);t.setFormValue(a)}}})):{};function E(e){e.forEach((e=>{const{addedNodes:t,removedNodes:a}=e,n=Array.from(t),o=Array.from(a);n.forEach((e=>{var t;if(r.has(e)&&e.constructor.formAssociated&&y(e),d.has(e)){const t=d.get(e);Object.keys(g).filter((e=>null!==t[e])).forEach((a=>{e.setAttribute(g[a],t[a])})),d.delete(e)}if(p.has(e)){const t=p.get(e);e.setAttribute("internals-valid",t.validity.valid.toString()),e.setAttribute("internals-invalid",(!t.validity.valid).toString()),e.setAttribute("aria-invalid",(!t.validity.valid).toString()),p.delete(e)}if("form"===e.localName){const t=l.get(e),a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>!r.has(e)||!e.constructor.formAssociated||t&&t.has(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT});let i=a.nextNode();for(;i;)y(i),i=a.nextNode()}"fieldset"===e.localName&&(null===(t=v.observe)||void 0===t||t.call(v,e,w),b(e,!0))})),o.forEach((e=>{const t=r.get(e);t&&i.get(t)&&T(t),s.has(e)&&s.get(e).disconnect()}))}))}function M(e){e.forEach((e=>{const{removedNodes:t}=e;t.forEach((t=>{const a=h.get(e.target);r.has(t)&&W(t),a.disconnect()}))}))}!D()||new MutationObserver(E);const A={childList:!0,subtree:!0},k=(e,t)=>{e.toggleAttribute("internals-disabled",t),t?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled"),e.formDisabledCallback&&e.formDisabledCallback.apply(e,[t])},T=e=>{i.get(e).forEach((e=>{e.remove()})),i.set(e,[])},x=(e,t)=>{const a=document.createElement("input");return a.type="hidden",a.name=e.getAttribute("name"),e.after(a),i.get(t).push(a),a},F=(e,t)=>{if(t.length){Array.from(t).forEach((t=>t.addEventListener("click",e.click.bind(e))));let a=t[0].id;t[0].id||(a=`${t[0].htmlFor}_Label`,t[0].id=a),e.setAttribute("aria-labelledby",a)}},I=e=>{const t=Array.from(e.elements).filter((e=>!e.tagName.includes("-")&&e.validity)).map((e=>e.validity.valid)),a=l.get(e)||[],i=[...t,...Array.from(a).filter((e=>e.isConnected)).map((e=>r.get(e).validity.valid))].includes(!1);e.toggleAttribute("internals-invalid",i),e.toggleAttribute("internals-valid",!i)},C=e=>{I(N(e.target))},S=e=>{I(N(e.target))},O=e=>{const t=l.get(e.target);t&&t.size&&t.forEach((e=>{e.constructor.formAssociated&&e.formResetCallback&&e.formResetCallback.apply(e)}))},L=(e,t,a)=>{if(t){const i=l.get(t);if(i)i.add(e);else{const a=new Set;a.add(e),l.set(t,a),(e=>{const t=["button[type=submit]","input[type=submit]","button:not([type])"].map((e=>`${e}:not([disabled])`)).map((t=>`${t}:not([form])${e.id?`,${t}[form='${e.id}']`:""}`)).join(",");e.addEventListener("click",(a=>{if(a.target.closest(t)){const t=l.get(e);if(e.noValidate)return;t.size&&Array.from(t).reverse().map((e=>r.get(e).reportValidity())).includes(!1)&&a.preventDefault()}}))})(t),t.addEventListener("reset",O),t.addEventListener("input",C),t.addEventListener("change",S)}o.set(t,{ref:e,internals:a}),e.constructor.formAssociated&&e.formAssociatedCallback&&setTimeout((()=>{e.formAssociatedCallback.apply(e,[t])}),0),I(t)}},N=e=>{let t=e.parentNode;return t&&"FORM"!==t.tagName&&(t=N(t)),t},V=(e,t,a=DOMException)=>{if(!e.constructor.formAssociated)throw new a(t)},R=(e,t,a)=>{const i=l.get(e);return i&&i.size&&i.forEach((e=>{r.get(e)[a]()||(t=!1)})),t},W=e=>{if(e.constructor.formAssociated){const t=r.get(e),{labels:a,form:i}=t;F(e,a),L(e,i,t)}};function D(){return"undefined"!=typeof MutationObserver}class H{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const P=new WeakMap;function _(e,t){e.toggleAttribute(t,!0),e.part&&e.part.add(t)}class j extends Set{static get isPolyfilled(){return!0}constructor(e){if(super(),!e||!e.tagName||-1===e.tagName.indexOf("-"))throw new TypeError("Illegal constructor");P.set(this,e)}add(e){if(!/^--/.test(e)||"string"!=typeof e)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${e} must start with '--'.`);const t=super.add(e),a=P.get(this),i=`state${e}`;return a.isConnected?_(a,i):setTimeout((()=>{_(a,i)})),t}clear(){for(let[e]of this.entries())this.delete(e);super.clear()}delete(e){const t=super.delete(e),a=P.get(this);return a.isConnected?(a.toggleAttribute(`state${e}`,!1),a.part&&a.part.remove(`state${e}`)):setTimeout((()=>{a.toggleAttribute(`state${e}`,!1),a.part&&a.part.remove(`state${e}`)})),t}}function $(e,t,a,i){if("a"===a&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===a?i:"a"===a?i.call(e):i?i.value:t.get(e)}var z;class q{constructor(e){z.set(this,void 0),function(e,t,a){if("function"==typeof t||!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");t.set(e,a)}(this,z,e);for(let t=0;t<e.length;t++){let a=e[t];this[t]=a,a.hasAttribute("name")&&(this[a.getAttribute("name")]=a)}Object.freeze(this)}get length(){return $(this,z,"f").length}[(z=new WeakMap,Symbol.iterator)](){return $(this,z,"f")[Symbol.iterator]()}item(e){return null==this[e]?null:this[e]}namedItem(e){return null==this[e]?null:this[e]}}class U{static get isPolyfilled(){return!0}constructor(e){if(!e||!e.tagName||-1===e.tagName.indexOf("-"))throw new TypeError("Illegal constructor");const n=e.getRootNode(),o=new H;this.states=new j(e),t.set(this,e),a.set(this,o),r.set(e,this),((e,t)=>{for(let a in g){t[a]=null;let i=null;const r=g[a];Object.defineProperty(t,a,{get:()=>i,set(a){i=a,e.isConnected?e.setAttribute(r,a):d.set(e,t)}})}})(e,this),((e,t)=>{var a;i.set(t,[]),null===(a=v.observe)||void 0===a||a.call(v,e,w)})(e,this),Object.seal(this),n instanceof DocumentFragment&&(e=>{var t,a;const i=new MutationObserver(M);(null===(t=null===window||void 0===window?void 0:window.ShadyDOM)||void 0===t?void 0:t.inUse)&&e.mode&&e.host&&(e=e.host),null===(a=i.observe)||void 0===a||a.call(i,e,{childList:!0}),h.set(e,i)})(n)}checkValidity(){const e=t.get(this);if(V(e,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const i=a.get(this);if(!i.valid){const t=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});e.dispatchEvent(t)}return i.valid}get form(){const e=t.get(this);let a;return V(e,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===e.constructor.formAssociated&&(a=N(e)),a}get labels(){const e=t.get(this);V(e,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const a=e.getAttribute("id"),i=e.getRootNode();return i&&a?i.querySelectorAll(`[for="${a}"]`):[]}reportValidity(){const e=t.get(this);if(V(e,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const a=this.checkValidity(),i=m.get(this);if(i&&!e.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!a&&i&&(e.focus(),i.focus()),a}setFormValue(e){const a=t.get(this);V(a,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),T(this),null==e||e instanceof FormData?null!=e&&e instanceof FormData&&Array.from(e).reverse().forEach((([e,t])=>{if("string"==typeof t){const i=x(a,this);i.name=e,i.value=t}})):a.getAttribute("name")&&(x(a,this).value=e),c.set(a,e)}setValidity(e,i,r){const o=t.get(this);if(V(o,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!e)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");m.set(this,r);const s=a.get(this),l={};for(const t in e)l[t]=e[t];var c;0===Object.keys(l).length&&((c=s).badInput=!1,c.customError=!1,c.patternMismatch=!1,c.rangeOverflow=!1,c.rangeUnderflow=!1,c.stepMismatch=!1,c.tooLong=!1,c.tooShort=!1,c.typeMismatch=!1,c.valid=!0,c.valueMissing=!1);const d=Object.assign(Object.assign({},s),l);delete d.valid;const{valid:u}=((e,t,a)=>(e.valid=(e=>{let t=!0;for(let a in e)"valid"!==a&&!1!==e[a]&&(t=!1);return t})(t),Object.keys(t).forEach((a=>e[a]=t[a])),a&&I(a),e))(s,d,this.form);if(!u&&!i)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");n.set(this,u?"":i),o.isConnected?(o.toggleAttribute("internals-invalid",!u),o.toggleAttribute("internals-valid",u),o.setAttribute("aria-invalid",`${!u}`)):p.set(o,this)}get shadowRoot(){const e=t.get(this);return u.get(e)||null}get validationMessage(){const e=t.get(this);return V(e,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),n.get(this)}get validity(){const e=t.get(this);return V(e,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."),a.get(this)}get willValidate(){const e=t.get(this);return V(e,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(e.disabled||e.hasAttribute("disabled")||e.hasAttribute("readonly"))}}let K=!1,B=!1;function G(e){B||(B=!0,window.CustomStateSet=j,e&&(HTMLElement.prototype.attachInternals=function(...t){const a=e.call(this,t);return a.states=new j(this),a}))}function J(e=!0){if(!K){if(K=!0,"undefined"!=typeof window&&(window.ElementInternals=U),"undefined"!=typeof CustomElementRegistry){const t=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(e,a,i){if(a.formAssociated){const e=a.prototype.connectedCallback;a.prototype.connectedCallback=function(){f.has(this)||(f.set(this,!0),this.hasAttribute("disabled")&&k(this,!0)),null!=e&&e.apply(this),W(this)}}t.call(this,e,a,i)}}if("undefined"!=typeof HTMLElement&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(r.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new U(this)}),"undefined"!=typeof Element){function a(...e){const t=i.apply(this,e);if(u.set(this,t),D()){const e=new MutationObserver(E);window.ShadyDOM?e.observe(this,A):e.observe(t,A),s.set(this,e)}return t}const i=Element.prototype.attachShadow;Element.prototype.attachShadow=a}D()&&"undefined"!=typeof document&&new MutationObserver(E).observe(document.documentElement,A),"undefined"!=typeof HTMLFormElement&&function(){const e=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...t){let a=e.apply(this,t);return R(this,a,"checkValidity")};const t=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...e){let a=t.apply(this,e);return R(this,a,"reportValidity")};const{get:a}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...e){const t=a.call(this,...e),i=Array.from(l.get(this)||[]);if(0===i.length)return t;const r=Array.from(t).concat(i).sort(((e,t)=>e.compareDocumentPosition?2&e.compareDocumentPosition(t)?1:-1:0));return new q(r)}})}(),(e||"undefined"!=typeof window&&!window.CustomStateSet)&&G()}}!!customElements.polyfillWrapFlushCallback||(function(){if("undefined"==typeof window||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class e extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const t=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(t,e);const a=new e;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every((e=>e in a.internals))}()?"undefined"==typeof window||window.CustomStateSet||G(HTMLElement.prototype.attachInternals):J(!1)),e.forceCustomStateSetPolyfill=G,e.forceElementInternalsPolyfill=J,Object.defineProperty(e,"__esModule",{value:!0})}({})}}]);
|
package/dist/umd/5414.js
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
/*! For license information please see 5414.js.LICENSE.txt */
|
2
|
+
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[5414],{25414:(e,t,n)=>{n.d(t,{A:()=>ee});const{entries:o,setPrototypeOf:r,isFrozen:i,getPrototypeOf:a,getOwnPropertyDescriptor:l}=Object;let{freeze:c,seal:s,create:u}=Object,{apply:m,construct:p}="undefined"!=typeof Reflect&&Reflect;c||(c=function(e){return e}),s||(s=function(e){return e}),m||(m=function(e,t,n){return e.apply(t,n)}),p||(p=function(e,t){return new e(...t)});const f=R(Array.prototype.forEach),d=R(Array.prototype.pop),h=R(Array.prototype.push),g=R(String.prototype.toLowerCase),T=R(String.prototype.toString),y=R(String.prototype.match),E=R(String.prototype.replace),_=R(String.prototype.indexOf),A=R(String.prototype.trim),S=R(Object.prototype.hasOwnProperty),b=R(RegExp.prototype.test),N=(w=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return p(w,t)});var w;function R(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return m(e,t,o)}}function O(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;r&&r(e,null);let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=n(r);e!==r&&(i(t)||(t[o]=e),r=e)}e[r]=!0}return e}function C(e){for(let t=0;t<e.length;t++)S(e,t)||(e[t]=null);return e}function D(e){const t=u(null);for(const[n,r]of o(e))S(e,n)&&(Array.isArray(r)?t[n]=C(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=D(r):t[n]=r);return t}function L(e,t){for(;null!==e;){const n=l(e,t);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}e=a(e)}return function(){return null}}const v=c(["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","section","select","shadow","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"]),k=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),x=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=c(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=c(["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"]),U=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),z=c(["#text"]),P=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),H=c(["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","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","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","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-rendering","textlength","type","u1","u2","unicode","values","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"]),F=c(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","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"]),B=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),W=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),G=s(/<%[\w\W]*|[\w\W]*%>/gm),Y=s(/\$\{[\w\W]*}/gm),j=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),X=s(/^aria-[\-\w]+$/),q=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=s(/^(?:\w+script|data):/i),K=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=s(/^html$/i),Z=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var J=Object.freeze({__proto__:null,ARIA_ATTR:X,ATTR_WHITESPACE:K,CUSTOM_ELEMENT:Z,DATA_ATTR:j,DOCTYPE_NAME:V,ERB_EXPR:G,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,MUSTACHE_EXPR:W,TMPLIT_EXPR:Y});const Q=function(){return"undefined"==typeof window?null:window};var ee=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q();const n=t=>e(t);if(n.version="3.2.3",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;let{document:r}=t;const i=r,a=i.currentScript,{DocumentFragment:l,HTMLTemplateElement:s,Node:m,Element:p,NodeFilter:w,NamedNodeMap:R=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:C,DOMParser:W,trustedTypes:G}=t,Y=p.prototype,j=L(Y,"cloneNode"),X=L(Y,"remove"),$=L(Y,"nextSibling"),K=L(Y,"childNodes"),Z=L(Y,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ee,te="";const{implementation:ne,createNodeIterator:oe,createDocumentFragment:re,getElementsByTagName:ie}=r,{importNode:ae}=i;let le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof o&&"function"==typeof Z&&ne&&void 0!==ne.createHTMLDocument;const{MUSTACHE_EXPR:ce,ERB_EXPR:se,TMPLIT_EXPR:ue,DATA_ATTR:me,ARIA_ATTR:pe,IS_SCRIPT_OR_DATA:fe,ATTR_WHITESPACE:de,CUSTOM_ELEMENT:he}=J;let{IS_ALLOWED_URI:ge}=J,Te=null;const ye=O({},[...v,...k,...x,...I,...z]);let Ee=null;const _e=O({},[...P,...H,...F,...B]);let Ae=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,be=null,Ne=!0,we=!0,Re=!1,Oe=!0,Ce=!1,De=!0,Le=!1,ve=!1,ke=!1,xe=!1,Me=!1,Ie=!1,Ue=!0,ze=!1,Pe=!0,He=!1,Fe={},Be=null;const We=O({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ge=null;const Ye=O({},["audio","video","img","source","image","track"]);let je=null;const Xe=O({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml";let Ve=Ke,Ze=!1,Je=null;const Qe=O({},[qe,$e,Ke],T);let et=O({},["mi","mo","mn","ms","mtext"]),tt=O({},["annotation-xml"]);const nt=O({},["title","style","font","a","script"]);let ot=null;const rt=["application/xhtml+xml","text/html"];let it=null,at=null;const lt=r.createElement("form"),ct=function(e){return e instanceof RegExp||e instanceof Function},st=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!at||at!==e){if(e&&"object"==typeof e||(e={}),e=D(e),ot=-1===rt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,it="application/xhtml+xml"===ot?T:g,Te=S(e,"ALLOWED_TAGS")?O({},e.ALLOWED_TAGS,it):ye,Ee=S(e,"ALLOWED_ATTR")?O({},e.ALLOWED_ATTR,it):_e,Je=S(e,"ALLOWED_NAMESPACES")?O({},e.ALLOWED_NAMESPACES,T):Qe,je=S(e,"ADD_URI_SAFE_ATTR")?O(D(Xe),e.ADD_URI_SAFE_ATTR,it):Xe,Ge=S(e,"ADD_DATA_URI_TAGS")?O(D(Ye),e.ADD_DATA_URI_TAGS,it):Ye,Be=S(e,"FORBID_CONTENTS")?O({},e.FORBID_CONTENTS,it):We,Se=S(e,"FORBID_TAGS")?O({},e.FORBID_TAGS,it):{},be=S(e,"FORBID_ATTR")?O({},e.FORBID_ATTR,it):{},Fe=!!S(e,"USE_PROFILES")&&e.USE_PROFILES,Ne=!1!==e.ALLOW_ARIA_ATTR,we=!1!==e.ALLOW_DATA_ATTR,Re=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Oe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ce=e.SAFE_FOR_TEMPLATES||!1,De=!1!==e.SAFE_FOR_XML,Le=e.WHOLE_DOCUMENT||!1,xe=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,ke=e.FORCE_BODY||!1,Ue=!1!==e.SANITIZE_DOM,ze=e.SANITIZE_NAMED_PROPS||!1,Pe=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,ge=e.ALLOWED_URI_REGEXP||q,Ve=e.NAMESPACE||Ke,et=e.MATHML_TEXT_INTEGRATION_POINTS||et,tt=e.HTML_INTEGRATION_POINTS||tt,Ae=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ce&&(we=!1),Me&&(xe=!0),Fe&&(Te=O({},z),Ee=[],!0===Fe.html&&(O(Te,v),O(Ee,P)),!0===Fe.svg&&(O(Te,k),O(Ee,H),O(Ee,B)),!0===Fe.svgFilters&&(O(Te,x),O(Ee,H),O(Ee,B)),!0===Fe.mathMl&&(O(Te,I),O(Ee,F),O(Ee,B))),e.ADD_TAGS&&(Te===ye&&(Te=D(Te)),O(Te,e.ADD_TAGS,it)),e.ADD_ATTR&&(Ee===_e&&(Ee=D(Ee)),O(Ee,e.ADD_ATTR,it)),e.ADD_URI_SAFE_ATTR&&O(je,e.ADD_URI_SAFE_ATTR,it),e.FORBID_CONTENTS&&(Be===We&&(Be=D(Be)),O(Be,e.FORBID_CONTENTS,it)),Pe&&(Te["#text"]=!0),Le&&O(Te,["html","head","body"]),Te.table&&(O(Te,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw N('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw N('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ee=e.TRUSTED_TYPES_POLICY,te=ee.createHTML("")}else void 0===ee&&(ee=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(G,a)),null!==ee&&"string"==typeof te&&(te=ee.createHTML(""));c&&c(e),at=e}},ut=O({},[...k,...x,...M]),mt=O({},[...I,...U]),pt=function(e){h(n.removed,{element:e});try{Z(e).removeChild(e)}catch(t){X(e)}},ft=function(e,t){try{h(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){h(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(xe||Me)try{pt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},dt=function(e){let t=null,n=null;if(ke)e="<remove></remove>"+e;else{const t=y(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ot&&Ve===Ke&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ee?ee.createHTML(e):e;if(Ve===Ke)try{t=(new W).parseFromString(o,ot)}catch(e){}if(!t||!t.documentElement){t=ne.createDocument(Ve,"template",null);try{t.documentElement.innerHTML=Ze?te:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Ve===Ke?ie.call(t,Le?"html":"body")[0]:Le?t.documentElement:i},ht=function(e){return oe.call(e.ownerDocument||e,e,w.SHOW_ELEMENT|w.SHOW_COMMENT|w.SHOW_TEXT|w.SHOW_PROCESSING_INSTRUCTION|w.SHOW_CDATA_SECTION,null)},gt=function(e){return e instanceof C&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof R)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Tt=function(e){return"function"==typeof m&&e instanceof m};function yt(e,t,o){f(e,(e=>{e.call(n,t,o,at)}))}const Et=function(e){let t=null;if(yt(le.beforeSanitizeElements,e,null),gt(e))return pt(e),!0;const o=it(e.nodeName);if(yt(le.uponSanitizeElement,e,{tagName:o,allowedTags:Te}),e.hasChildNodes()&&!Tt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return pt(e),!0;if(7===e.nodeType)return pt(e),!0;if(De&&8===e.nodeType&&b(/<[/\w]/g,e.data))return pt(e),!0;if(!Te[o]||Se[o]){if(!Se[o]&&At(o)){if(Ae.tagNameCheck instanceof RegExp&&b(Ae.tagNameCheck,o))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(o))return!1}if(Pe&&!Be[o]){const t=Z(e)||e.parentNode,n=K(e)||e.childNodes;if(n&&t)for(let o=n.length-1;o>=0;--o){const r=j(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,$(e))}}return pt(e),!0}return e instanceof p&&!function(e){let t=Z(e);t&&t.tagName||(t={namespaceURI:Ve,tagName:"template"});const n=g(e.tagName),o=g(t.tagName);return!!Je[e.namespaceURI]&&(e.namespaceURI===$e?t.namespaceURI===Ke?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===o||et[o]):Boolean(ut[n]):e.namespaceURI===qe?t.namespaceURI===Ke?"math"===n:t.namespaceURI===$e?"math"===n&&tt[o]:Boolean(mt[n]):e.namespaceURI===Ke?!(t.namespaceURI===$e&&!tt[o])&&!(t.namespaceURI===qe&&!et[o])&&!mt[n]&&(nt[n]||!ut[n]):!("application/xhtml+xml"!==ot||!Je[e.namespaceURI]))}(e)?(pt(e),!0):"noscript"!==o&&"noembed"!==o&&"noframes"!==o||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ce&&3===e.nodeType&&(t=e.textContent,f([ce,se,ue],(e=>{t=E(t,e," ")})),e.textContent!==t&&(h(n.removed,{element:e.cloneNode()}),e.textContent=t)),yt(le.afterSanitizeElements,e,null),!1):(pt(e),!0)},_t=function(e,t,n){if(Ue&&("id"===t||"name"===t)&&(n in r||n in lt))return!1;if(we&&!be[t]&&b(me,t));else if(Ne&&b(pe,t));else if(!Ee[t]||be[t]){if(!(At(e)&&(Ae.tagNameCheck instanceof RegExp&&b(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&b(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&b(Ae.tagNameCheck,n)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))))return!1}else if(je[t]);else if(b(ge,E(n,de,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==_(n,"data:")||!Ge[e])if(Re&&!b(fe,E(n,de,"")));else if(n)return!1;return!0},At=function(e){return"annotation-xml"!==e&&y(e,he)},St=function(e){yt(le.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||gt(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ee,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=it(a);let u="value"===a?c:A(c);if(o.attrName=s,o.attrValue=u,o.keepAttr=!0,o.forceKeepAttr=void 0,yt(le.uponSanitizeAttribute,e,o),u=o.attrValue,!ze||"id"!==s&&"name"!==s||(ft(a,e),u="user-content-"+u),De&&b(/((--!?|])>)|<\/(style|title)/i,u)){ft(a,e);continue}if(o.forceKeepAttr)continue;if(ft(a,e),!o.keepAttr)continue;if(!Oe&&b(/\/>/i,u)){ft(a,e);continue}Ce&&f([ce,se,ue],(e=>{u=E(u,e," ")}));const m=it(e.nodeName);if(_t(m,s,u)){if(ee&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(m,s)){case"TrustedHTML":u=ee.createHTML(u);break;case"TrustedScriptURL":u=ee.createScriptURL(u)}try{l?e.setAttributeNS(l,a,u):e.setAttribute(a,u),gt(e)?pt(e):d(n.removed)}catch(e){}}}yt(le.afterSanitizeAttributes,e,null)},bt=function e(t){let n=null;const o=ht(t);for(yt(le.beforeSanitizeShadowDOM,t,null);n=o.nextNode();)yt(le.uponSanitizeShadowNode,n,null),Et(n),St(n),n.content instanceof l&&e(n.content);yt(le.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,r=null,a=null,c=null;if(Ze=!e,Ze&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Tt(e)){if("function"!=typeof e.toString)throw N("toString is not a function");if("string"!=typeof(e=e.toString()))throw N("dirty is not a string, aborting")}if(!n.isSupported)return e;if(ve||st(t),n.removed=[],"string"==typeof e&&(He=!1),He){if(e.nodeName){const t=it(e.nodeName);if(!Te[t]||Se[t])throw N("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof m)o=dt("\x3c!----\x3e"),r=o.ownerDocument.importNode(e,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?o=r:o.appendChild(r);else{if(!xe&&!Ce&&!Le&&-1===e.indexOf("<"))return ee&&Ie?ee.createHTML(e):e;if(o=dt(e),!o)return xe?null:Ie?te:""}o&&ke&&pt(o.firstChild);const s=ht(He?e:o);for(;a=s.nextNode();)Et(a),St(a),a.content instanceof l&&bt(a.content);if(He)return e;if(xe){if(Me)for(c=re.call(o.ownerDocument);o.firstChild;)c.appendChild(o.firstChild);else c=o;return(Ee.shadowroot||Ee.shadowrootmode)&&(c=ae.call(i,c,!0)),c}let u=Le?o.outerHTML:o.innerHTML;return Le&&Te["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&b(V,o.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+u),Ce&&f([ce,se,ue],(e=>{u=E(u,e," ")})),ee&&Ie?ee.createHTML(u):u},n.setConfig=function(){st(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ve=!0},n.clearConfig=function(){at=null,ve=!1},n.isValidAttribute=function(e,t,n){at||st({});const o=it(e),r=it(t);return _t(o,r,n)},n.addHook=function(e,t){"function"==typeof t&&h(le[e],t)},n.removeHook=function(e){return d(le[e])},n.removeHooks=function(e){le[e]=[]},n.removeAllHooks=function(){le={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
/*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */
|
package/dist/umd/5563.js
ADDED
@@ -0,0 +1,319 @@
|
|
1
|
+
/*! For license information please see 5563.js.LICENSE.txt */
|
2
|
+
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[5563],{43672:()=>{window.JSCompiler_renameProperty=function(t,e){return t}},22408:(t,e,r)=>{r.d(e,{q:()=>n}),r(43672);const o=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:t=>t});class s{constructor(t,e){a(t,e);const r=e.reduce(((e,r,o)=>e+i(r)+t[o+1]),t[0]);this.value=r.toString()}toString(){return this.value}}function i(t){if(t instanceof s)return t.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${t}`)}const n=function(t,...e){a(t,e);const r=document.createElement("template");let n=e.reduce(((e,r,o)=>e+function(t){if(t instanceof HTMLTemplateElement)return t.innerHTML;if(t instanceof s)return i(t);throw new Error(`non-template value passed to Polymer's html function: ${t}`)}(r)+t[o+1]),t[0]);return o&&(n=o.createHTML(n)),r.innerHTML=n,r},a=(t,e)=>{if(!Array.isArray(t)||!Array.isArray(t.raw)||e.length!==t.length-1)throw new TypeError("Invalid call to the html template tag")}},75035:(t,e,r)=>{r.d(e,{y:()=>i}),r(43672);let o=0;function s(){}s.prototype.__mixinApplications,s.prototype.__mixinSet;const i=function(t){let e=t.__mixinApplications;e||(e=new WeakMap,t.__mixinApplications=e);let r=o++;return function(o){let s=o.__mixinSet;if(s&&s[r])return o;let i=e,n=i.get(o);if(!n){n=t(o),i.set(o,n);let e=Object.create(n.__mixinSet||s||null);e[r]=!0,n.__mixinSet=e}return n}}},80854:(t,e,r)=>{r.d(e,{O2:()=>a,c0:()=>l,rG:()=>c}),r(43672);let o,s,i=/(url\()([^)]*)(\))/g,n=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/;function a(t,e){if(t&&n.test(t))return t;if("//"===t)return t;if(void 0===o){o=!1;try{const t=new URL("b","http://a");t.pathname="c%20d",o="http://a/c%20d"===t.href}catch(t){}}if(e||(e=document.baseURI||window.location.href),o)try{return new URL(t,e).href}catch(e){return t}return s||(s=document.implementation.createHTMLDocument("temp"),s.base=s.createElement("base"),s.head.appendChild(s.base),s.anchor=s.createElement("a"),s.body.appendChild(s.anchor)),s.base.href=e,s.anchor.href=t,s.anchor.href||t}function l(t,e){return t.replace(i,(function(t,r,o,s){return r+"'"+a(o.replace(/["']/g,""),e)+"'"+s}))}function c(t){return t.substring(0,t.lastIndexOf("/")+1)}},48485:(t,e,r)=>{r.d(e,{DH:()=>f,F3:()=>h,IP:()=>d,Kp:()=>u,Xj:()=>_,dV:()=>a,ek:()=>c,fF:()=>y,oO:()=>p,qM:()=>i,s:()=>g,vK:()=>v,wA:()=>n,yu:()=>l}),r(43672);var o=r(80854);const s=!window.ShadyDOM||!window.ShadyDOM.inUse,i=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,s&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const t=new CSSStyleSheet;t.replaceSync("");const e=document.createElement("div");return e.attachShadow({mode:"open"}),e.shadowRoot.adoptedStyleSheets=[t],e.shadowRoot.adoptedStyleSheets[0]===t}catch(t){return!1}})());let n=window.Polymer&&window.Polymer.rootPath||(0,o.rG)(document.baseURI||window.location.href),a=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let l=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,c=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,d=window.Polymer&&window.Polymer.legacyOptimizations||!1,h=window.Polymer&&window.Polymer.legacyWarnings||!1,u=window.Polymer&&window.Polymer.syncInitialRender||!1,p=window.Polymer&&window.Polymer.legacyUndefined||!1,_=window.Polymer&&window.Polymer.orderedComputed||!1,m=!0;const f=function(t){m=t};let y=window.Polymer&&window.Polymer.removeNestedTemplates||!1,g=window.Polymer&&window.Polymer.fastDomIf||!1;window.Polymer&&window.Polymer.suppressTemplateNotifications,window.Polymer&&window.Polymer.legacyNoObservedAttributes;let v=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1},98633:(t,e,r)=>{r.d(e,{Pu:()=>Ft,qy:()=>Dt.q}),r(43672);var o=r(48485),s=r(75035),i=r(80854);let n={},a={};function l(t,e){n[t]=a[t.toLowerCase()]=e}function c(t){return n[t]||a[t.toLowerCase()]}class d extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let r=c(t);return r&&e?r.querySelector(e):r}return null}attributeChangedCallback(t,e,r,o){e!==r&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=(0,i.O2)(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=(0,i.rG)(e)}return this.__assetpath}register(t){if(t=t||this.id){if(o.yu&&void 0!==c(t))throw l(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,l(t,this),(e=this).querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}var e}}d.prototype.modules=n,customElements.define("dom-module",d);const h="shady-unscoped";function u(t){return d.import(t)}function p(t){let e=t.body?t.body:t;const r=(0,i.c0)(e.textContent,t.baseURI),o=document.createElement("style");return o.textContent=r,o}function _(t){const e=t.trim().split(/\s+/),r=[];for(let t=0;t<e.length;t++)r.push(...m(e[t]));return r}function m(t){const e=u(t);if(!e)return console.warn("Could not find style data in module named",t),[];if(void 0===e._styles){const t=[];t.push(...y(e));const r=e.querySelector("template");r&&t.push(...f(r,e.assetpath)),e._styles=t}return e._styles}function f(t,e){if(!t._styles){const r=[],o=t.content.querySelectorAll("style");for(let t=0;t<o.length;t++){let s=o[t],n=s.getAttribute("include");n&&r.push(..._(n).filter((function(t,e,r){return r.indexOf(t)===e}))),e&&(s.textContent=(0,i.c0)(s.textContent,e)),r.push(s)}t._styles=r}return t._styles}function y(t){const e=[],r=t.querySelectorAll("link[rel=import][type~=css]");for(let t=0;t<r.length;t++){let o=r[t];if(o.import){const t=o.import,r=o.hasAttribute(h);if(r&&!t._unscopedStyle){const e=p(t);e.setAttribute(h,""),t._unscopedStyle=e}else t._style||(t._style=p(t));e.push(r?t._unscopedStyle:t._style)}}return e}const g=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?t=>ShadyDOM.patch(t):t=>t;function v(t){return t.indexOf(".")>=0}function b(t){let e=t.indexOf(".");return-1===e?t:t.slice(0,e)}function P(t,e){return 0===e.indexOf(t+".")}function w(t,e,r){return e+r.slice(t.length)}function A(t){if(Array.isArray(t)){let e=[];for(let r=0;r<t.length;r++){let o=t[r].toString().split(".");for(let t=0;t<o.length;t++)e.push(o[t])}return e.join(".")}return t}function C(t){return Array.isArray(t)?A(t).split("."):t.toString().split(".")}function S(t,e,r){let o=t,s=C(e);for(let t=0;t<s.length;t++){if(!o)return;o=o[s[t]]}return r&&(r.path=s.join(".")),o}function E(t,e,r){let o=t,s=C(e),i=s[s.length-1];if(s.length>1){for(let t=0;t<s.length-1;t++)if(o=o[s[t]],!o)return;o[i]=r}else o[e]=r;return s.join(".")}const x={},T=/-[a-z]/g,O=/([A-Z])/g;function $(t){return x[t]||(x[t]=t.indexOf("-")<0?t:t.replace(T,(t=>t[1].toUpperCase())))}function N(t){return x[t]||(x[t]=t.replace(O,"-$1").toLowerCase())}let k=0,I=0,R=[],M=0,H=!1,z=document.createTextNode("");new window.MutationObserver((function(){H=!1;const t=R.length;for(let e=0;e<t;e++){let t=R[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}R.splice(0,t),I+=t})).observe(z,{characterData:!0});const L={run:t=>(H||(H=!0,z.textContent=M++),R.push(t),k++),cancel(t){const e=t-I;if(e>=0){if(!R[e])throw new Error("invalid async handle: "+t);R[e]=null}}},U=(0,s.y)((t=>class extends t{static createProperties(t){const e=this.prototype;for(let r in t)r in e||e._createPropertyAccessor(r)}static attributeNameForProperty(t){return t.toLowerCase()}static typeForProperty(t){}_createPropertyAccessor(t,e){this._addPropertyToAttributeMap(t),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[t]||(this.__dataHasAccessor[t]=!0,this._definePropertyAccessor(t,e))}_addPropertyToAttributeMap(t){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let e=this.__dataAttributes[t];return e||(e=this.constructor.attributeNameForProperty(t),this.__dataAttributes[e]=t),e}_definePropertyAccessor(t,e){Object.defineProperty(this,t,{get(){return this.__data[t]},set:e?function(){}:function(e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let t in this.__dataHasAccessor)this.hasOwnProperty(t)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[t]=this[t],delete this[t])}_initializeInstanceProperties(t){Object.assign(this,t)}_setProperty(t,e){this._setPendingProperty(t,e)&&this._invalidateProperties()}_getProperty(t){return this.__data[t]}_setPendingProperty(t,e,r){let o=this.__data[t],s=this._shouldPropertyChange(t,e,o);return s&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(t in this.__dataOld)&&(this.__dataOld[t]=o),this.__data[t]=e,this.__dataPending[t]=e),s}_isPropertyPending(t){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(t))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,L.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const t=this.__data,e=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(t,e,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(t,e,r)),this.__dataCounter--}_shouldPropertiesChange(t,e,r){return Boolean(e)}_propertiesChanged(t,e,r){}_shouldPropertyChange(t,e,r){return r!==e&&(r==r||e==e)}attributeChangedCallback(t,e,r,o){e!==r&&this._attributeToProperty(t,r),super.attributeChangedCallback&&super.attributeChangedCallback(t,e,r,o)}_attributeToProperty(t,e,r){if(!this.__serializing){const o=this.__dataAttributes,s=o&&o[t]||t;this[s]=this._deserializeValue(e,r||this.constructor.typeForProperty(s))}}_propertyToAttribute(t,e,r){this.__serializing=!0,r=arguments.length<3?this[t]:r,this._valueToNodeAttribute(this,r,e||this.constructor.attributeNameForProperty(t)),this.__serializing=!1}_valueToNodeAttribute(t,e,r){const o=this._serializeValue(e);"class"!==r&&"name"!==r&&"slot"!==r||(t=g(t)),void 0===o?t.removeAttribute(r):t.setAttribute(r,""===o&&window.trustedTypes?window.trustedTypes.emptyScript:o)}_serializeValue(t){return"boolean"==typeof t?t?"":void 0:null!=t?t.toString():void 0}_deserializeValue(t,e){switch(e){case Boolean:return null!==t;case Number:return Number(t);default:return t}}})),D={};let F=HTMLElement.prototype;for(;F;){let t=Object.getOwnPropertyNames(F);for(let e=0;e<t.length;e++)D[t[e]]=!0;F=Object.getPrototypeOf(F)}const j=window.trustedTypes?t=>trustedTypes.isHTML(t)||trustedTypes.isScript(t)||trustedTypes.isScriptURL(t):()=>!1,B=(0,s.y)((t=>{const e=U(t);return class extends e{static createPropertiesForAttributes(){let t=this.observedAttributes;for(let e=0;e<t.length;e++)this.prototype._createPropertyAccessor($(t[e]))}static attributeNameForProperty(t){return N(t)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(t){for(let e in t)this._setProperty(e,t[e])}_ensureAttribute(t,e){this.hasAttribute(t)||this._valueToNodeAttribute(this,e,t)}_serializeValue(t){if("object"==typeof t){if(t instanceof Date)return t.toString();if(t){if(j(t))return t;try{return JSON.stringify(t)}catch(t){return""}}}return super._serializeValue(t)}_deserializeValue(t,e){let r;switch(e){case Object:try{r=JSON.parse(t)}catch(e){r=t}break;case Array:try{r=JSON.parse(t)}catch(e){r=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${t}`)}break;case Date:r=isNaN(t)?String(t):Number(t),r=new Date(r);break;default:r=super._deserializeValue(t,e)}return r}_definePropertyAccessor(t,e){!function(t,e){if(!D[e]){let r=t[e];void 0!==r&&(t.__data?t._setPendingProperty(e,r):(t.__dataProto?t.hasOwnProperty(JSCompiler_renameProperty("__dataProto",t))||(t.__dataProto=Object.create(t.__dataProto)):t.__dataProto={},t.__dataProto[e]=r))}}(this,t),super._definePropertyAccessor(t,e)}_hasAccessor(t){return this.__dataHasAccessor&&this.__dataHasAccessor[t]}_isPropertyPending(t){return Boolean(this.__dataPending&&t in this.__dataPending)}}})),q={"dom-if":!0,"dom-repeat":!0};let V=!1,W=!1;const J=(()=>{const t=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(e,r,o)=>{const s=r.getAttribute(o);t&&o.startsWith("on-")?e.setAttribute(o,t.createScript(s,o)):e.setAttribute(o,s)}})();function Y(t){let e=t.getAttribute("is");if(e&&q[e]){let r=t;for(r.removeAttribute("is"),t=r.ownerDocument.createElement(e),r.parentNode.replaceChild(t,r),t.appendChild(r);r.attributes.length;){const{name:e}=r.attributes[0];J(t,r,e),r.removeAttribute(e)}}return t}function X(t,e){let r=e.parentInfo&&X(t,e.parentInfo);if(!r)return t;for(let t=r.firstChild,o=0;t;t=t.nextSibling)if(e.parentIndex===o++)return t}function G(t,e,r,o){o.id&&(e[o.id]=r)}function K(t,e,r){if(r.events&&r.events.length)for(let o,s=0,i=r.events;s<i.length&&(o=i[s]);s++)t._addMethodEventListenerToNode(e,o.name,o.value,t)}function Z(t,e,r,o){r.templateInfo&&(e._templateInfo=r.templateInfo,e._parentTemplateInfo=o)}const Q=(0,s.y)((t=>class extends t{static _parseTemplate(t,e){if(!t._templateInfo){let r=t._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=Boolean(e),r.stripWhiteSpace=e&&e.stripWhiteSpace||t.hasAttribute&&t.hasAttribute("strip-whitespace"),this._parseTemplateContent(t,r,{parent:null})}return t._templateInfo}static _parseTemplateContent(t,e,r){return this._parseTemplateNode(t.content,e,r)}static _parseTemplateNode(t,e,r){let o=!1,s=t;return"template"!=s.localName||s.hasAttribute("preserve-content")?"slot"===s.localName&&(e.hasInsertionPoint=!0):o=this._parseTemplateNestedTemplate(s,e,r)||o,function(t){(function(){if(!V){V=!0;const t=document.createElement("textarea");t.placeholder="a",W=t.placeholder===t.textContent}return W})()&&"textarea"===t.localName&&t.placeholder&&t.placeholder===t.textContent&&(t.textContent=null)}(s),s.firstChild&&this._parseTemplateChildNodes(s,e,r),s.hasAttributes&&s.hasAttributes()&&(o=this._parseTemplateNodeAttributes(s,e,r)||o),o||r.noted}static _parseTemplateChildNodes(t,e,r){if("script"!==t.localName&&"style"!==t.localName)for(let o,s=t.firstChild,i=0;s;s=o){if("template"==s.localName&&(s=Y(s)),o=s.nextSibling,s.nodeType===Node.TEXT_NODE){let r=o;for(;r&&r.nodeType===Node.TEXT_NODE;)s.textContent+=r.textContent,o=r.nextSibling,t.removeChild(r),r=o;if(e.stripWhiteSpace&&!s.textContent.trim()){t.removeChild(s);continue}}let n={parentIndex:i,parentInfo:r};this._parseTemplateNode(s,e,n)&&(n.infoIndex=e.nodeInfoList.push(n)-1),s.parentNode&&i++}}static _parseTemplateNestedTemplate(t,e,r){let o=t,s=this._parseTemplate(o,e);return(s.content=o.content.ownerDocument.createDocumentFragment()).appendChild(o.content),r.templateInfo=s,!0}static _parseTemplateNodeAttributes(t,e,r){let o=!1,s=Array.from(t.attributes);for(let i,n=s.length-1;i=s[n];n--)o=this._parseTemplateNodeAttribute(t,e,r,i.name,i.value)||o;return o}static _parseTemplateNodeAttribute(t,e,r,o,s){return"on-"===o.slice(0,3)?(t.removeAttribute(o),r.events=r.events||[],r.events.push({name:o.slice(3),value:s}),!0):"id"===o&&(r.id=s,!0)}static _contentForTemplate(t){let e=t._templateInfo;return e&&e.content||t.content}_stampTemplate(t,e){t&&!t.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t);let r=(e=e||this.constructor._parseTemplate(t)).nodeInfoList,o=e.content||t.content,s=document.importNode(o,!0);s.__noInsertionPoint=!e.hasInsertionPoint;let i=s.nodeList=new Array(r.length);s.$={};for(let t,o=0,n=r.length;o<n&&(t=r[o]);o++){let r=i[o]=X(s,t);G(0,s.$,r,t),Z(0,r,t,e),K(this,r,t)}return s}_addMethodEventListenerToNode(t,e,r,o){let s=function(t,e,r){return t=t._methodHost||t,function(e){t[r]?t[r](e,e.detail):console.warn("listener method `"+r+"` not defined")}}(o=o||t,0,r);return this._addEventListenerToNode(t,e,s),s}_addEventListenerToNode(t,e,r){t.addEventListener(e,r)}_removeEventListenerFromNode(t,e,r){t.removeEventListener(e,r)}}));let tt=0;const et=[],rt={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},ot="__computeInfo",st=/[A-Z]/;function it(t,e,r){let o=t[e];if(o){if(!t.hasOwnProperty(e)&&(o=t[e]=Object.create(t[e]),r))for(let t in o){let e=o[t],r=o[t]=Array(e.length);for(let t=0;t<e.length;t++)r[t]=e[t]}}else o=t[e]={};return o}function nt(t,e,r,o,s,i){if(e){let n=!1;const a=tt++;for(let l in r){let c=e[s?b(l):l];if(c)for(let e,d=0,h=c.length;d<h&&(e=c[d]);d++)e.info&&e.info.lastRun===a||s&&!lt(l,e.trigger)||(e.info&&(e.info.lastRun=a),e.fn(t,l,r,o,e.info,s,i),n=!0)}return n}return!1}function at(t,e,r,o,s,i,n,a){let l=!1,c=e[n?b(o):o];if(c)for(let e,d=0,h=c.length;d<h&&(e=c[d]);d++)e.info&&e.info.lastRun===r||n&&!lt(o,e.trigger)||(e.info&&(e.info.lastRun=r),e.fn(t,o,s,i,e.info,n,a),l=!0);return l}function lt(t,e){if(e){let r=e.name;return r==t||!(!e.structured||!function(t,e){return 0===t.indexOf(e+".")}(r,t))||!(!e.wildcard||!P(r,t))}return!0}function ct(t,e,r,o,s){let i="string"==typeof s.method?t[s.method]:s.method,n=s.property;i?i.call(t,t.__data[n],o[n]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function dt(t,e,r){let o=b(e);return o!==e&&(ht(t,N(o)+"-changed",r[e],e),!0)}function ht(t,e,r,o){let s={value:r,queueProperty:!0};o&&(s.path=o),g(t).dispatchEvent(new CustomEvent(e,{detail:s}))}function ut(t,e,r,o,s,i){let n=(i?b(e):e)!=e?e:null,a=n?S(t,n):t.__data[e];n&&void 0===a&&(a=r[e]),ht(t,s.eventName,a,n)}function pt(t,e,r,s,i){let n=t.__data[e];o.dV&&(n=(0,o.dV)(n,i.attrName,"attribute",t)),t._propertyToAttribute(e,i.attrName,n)}const _t=(t,e,r)=>{let o=0,s=e.length-1,i=-1;for(;o<=s;){const n=o+s>>1,a=r.get(e[n].methodInfo)-r.get(t.methodInfo);if(a<0)o=n+1;else{if(!(a>0)){i=n;break}s=n-1}}i<0&&(i=s+1),e.splice(i,0,t)},mt=(t,e,r,o,s)=>{const i=e[s?b(t):t];if(i)for(let e=0;e<i.length;e++){const n=i[e];n.info.lastRun===tt||s&&!lt(t,n.trigger)||(n.info.lastRun=tt,_t(n.info,r,o))}};function ft(t,e,r,o,s){let i=At(t,e,r,0,s);if(i===et)return!1;let n=s.methodInfo;return t.__dataHasAccessor&&t.__dataHasAccessor[n]?t._setPendingProperty(n,i,!0):(t[n]=i,!1)}function yt(t,e,r,o,s,i,n){r.bindings=r.bindings||[];let a={kind:o,target:s,parts:i,literal:n,isCompound:1!==i.length};if(r.bindings.push(a),function(t){return Boolean(t.target)&&"attribute"!=t.kind&&"text"!=t.kind&&!t.isCompound&&"{"===t.parts[0].mode}(a)){let{event:t,negate:e}=a.parts[0];a.listenerEvent=t||N(s)+"-changed",a.listenerNegate=e}let l=e.nodeInfoList.length;for(let r=0;r<a.parts.length;r++){let o=a.parts[r];o.compoundIndex=r,gt(t,e,a,o,l)}}function gt(t,e,r,o,s){if(!o.literal)if("attribute"===r.kind&&"-"===r.target[0])console.warn("Cannot set attribute "+r.target+' because "-" is not a valid attribute starting character');else{let i=o.dependencies,n={index:s,binding:r,part:o,evaluator:t};for(let r=0;r<i.length;r++){let o=i[r];"string"==typeof o&&(o=$t(o),o.wildcard=!0),t._addTemplatePropertyEffect(e,o.rootProperty,{fn:vt,info:n,trigger:o})}}}function vt(t,e,r,s,i,n,a){let l=a[i.index],c=i.binding,d=i.part;if(n&&d.source&&e.length>d.source.length&&"property"==c.kind&&!c.isCompound&&l.__isPropertyEffectsClient&&l.__dataHasAccessor&&l.__dataHasAccessor[c.target]){let o=r[e];e=w(d.source,c.target,e),l._setPendingPropertyOrPath(e,o,!1,!0)&&t._enqueueClient(l)}else{let a=i.evaluator._evaluateBinding(t,d,e,r,s,n);a!==et&&function(t,e,r,s,i){if(i=function(t,e,r,o){if(r.isCompound){let s=t.__dataCompoundStorage[r.target];s[o.compoundIndex]=e,e=s.join("")}return"attribute"!==r.kind&&("textContent"!==r.target&&("value"!==r.target||"input"!==t.localName&&"textarea"!==t.localName)||(e=null==e?"":e)),e}(e,i,r,s),o.dV&&(i=(0,o.dV)(i,r.target,r.kind,e)),"attribute"==r.kind)t._valueToNodeAttribute(e,i,r.target);else{let o=r.target;e.__isPropertyEffectsClient&&e.__dataHasAccessor&&e.__dataHasAccessor[o]?e[rt.READ_ONLY]&&e[rt.READ_ONLY][o]||e._setPendingProperty(o,i)&&t._enqueueClient(e):t._setUnmanagedPropertyToNode(e,o,i)}}(t,l,c,d,a)}}function bt(t,e){if(e.isCompound){let r=t.__dataCompoundStorage||(t.__dataCompoundStorage={}),o=e.parts,s=new Array(o.length);for(let t=0;t<o.length;t++)s[t]=o[t].literal;let i=e.target;r[i]=s,e.literal&&"property"==e.kind&&("className"===i&&(t=g(t)),t[i]=e.literal)}}function Pt(t,e,r){if(r.listenerEvent){let o=r.parts[0];t.addEventListener(r.listenerEvent,(function(t){!function(t,e,r,o,s){let i,n=t.detail,a=n&&n.path;a?(o=w(r,o,a),i=n&&n.value):i=t.currentTarget[r],i=s?!i:i,e[rt.READ_ONLY]&&e[rt.READ_ONLY][o]||!e._setPendingPropertyOrPath(o,i,!0,Boolean(a))||n&&n.queueProperty||e._invalidateProperties()}(t,e,r.target,o.source,o.negate)}))}}function wt(t,e,r,o,s,i){i=e.static||i&&("object"!=typeof i||i[e.methodName]);let n={methodName:e.methodName,args:e.args,methodInfo:s,dynamicFn:i};for(let s,i=0;i<e.args.length&&(s=e.args[i]);i++)s.literal||t._addPropertyEffect(s.rootProperty,r,{fn:o,info:n,trigger:s});return i&&t._addPropertyEffect(e.methodName,r,{fn:o,info:n}),n}function At(t,e,r,o,s){let i=t._methodHost||t,n=i[s.methodName];if(n){let o=t._marshalArgs(s.args,e,r);return o===et?et:n.apply(i,o)}s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const Ct=[],St="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Et="(?:("+St+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",xt=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+St+"\\s*(?:\\(\\s*(?:(?:"+Et+"(?:,\\s*"+Et+")*)?)\\)\\s*)?)(?:]]|}})","g");function Tt(t){let e="";for(let r=0;r<t.length;r++)e+=t[r].literal||"";return e}function Ot(t){let e=t.match(/([^\s]+?)\(([\s\S]*)\)/);if(e){let t={methodName:e[1],static:!0,args:Ct};return e[2].trim()?function(t,e){return e.args=t.map((function(t){let r=$t(t);return r.literal||(e.static=!1),r}),this),e}(e[2].replace(/\\,/g,",").split(","),t):t}return null}function $t(t){let e=t.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),r={name:e,value:"",literal:!1},o=e[0];switch("-"===o&&(o=e[1]),o>="0"&&o<="9"&&(o="#"),o){case"'":case'"':r.value=e.slice(1,-1),r.literal=!0;break;case"#":r.value=Number(e),r.literal=!0}return r.literal||(r.rootProperty=b(e),r.structured=v(e),r.structured&&(r.wildcard=".*"==e.slice(-2),r.wildcard&&(r.name=e.slice(0,-2)))),r}function Nt(t,e,r){let o=S(t,r);return void 0===o&&(o=e[r]),o}function kt(t,e,r,s){const i={indexSplices:s};o.oO&&!t._overrideLegacyUndefined&&(e.splices=i),t.notifyPath(r+".splices",i),t.notifyPath(r+".length",e.length),o.oO&&!t._overrideLegacyUndefined&&(i.indexSplices=[])}function It(t,e,r,o,s,i){kt(t,e,r,[{index:o,addedCount:s,removed:i,object:e,type:"splice"}])}const Rt=(0,s.y)((t=>{const e=Q(B(t));return class extends e{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return rt}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Mt.length){let t=Mt[Mt.length-1];t._enqueueClient(this),this.__dataHost=t}}_initializeProtoProperties(t){this.__data=Object.create(t),this.__dataPending=Object.create(t),this.__dataOld={}}_initializeInstanceProperties(t){let e=this[rt.READ_ONLY];for(let r in t)e&&e[r]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[r]=this.__dataPending[r]=t[r])}_addPropertyEffect(t,e,r){this._createPropertyAccessor(t,e==rt.READ_ONLY);let o=it(this,e,!0)[t];o||(o=this[e][t]=[]),o.push(r)}_removePropertyEffect(t,e,r){let o=it(this,e,!0)[t],s=o.indexOf(r);s>=0&&o.splice(s,1)}_hasPropertyEffect(t,e){let r=this[e];return Boolean(r&&r[t])}_hasReadOnlyEffect(t){return this._hasPropertyEffect(t,rt.READ_ONLY)}_hasNotifyEffect(t){return this._hasPropertyEffect(t,rt.NOTIFY)}_hasReflectEffect(t){return this._hasPropertyEffect(t,rt.REFLECT)}_hasComputedEffect(t){return this._hasPropertyEffect(t,rt.COMPUTE)}_setPendingPropertyOrPath(t,e,r,o){if(o||b(Array.isArray(t)?t[0]:t)!==t){if(!o){let r=S(this,t);if(!(t=E(this,t,e))||!super._shouldPropertyChange(t,e,r))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(t,e,r))return function(t,e,r){let o=t.__dataLinkedPaths;if(o){let s;for(let i in o){let n=o[i];P(i,e)?(s=w(i,n,e),t._setPendingPropertyOrPath(s,r,!0,!0)):P(n,e)&&(s=w(n,i,e),t._setPendingPropertyOrPath(s,r,!0,!0))}}}(this,t,e),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[t])return this._setPendingProperty(t,e,r);this[t]=e}return!1}_setUnmanagedPropertyToNode(t,e,r){r===t[e]&&"object"!=typeof r||("className"===e&&(t=g(t)),t[e]=r)}_setPendingProperty(t,e,r){let o=this.__dataHasPaths&&v(t),s=o?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(t,e,s[t])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),t in this.__dataOld||(this.__dataOld[t]=this.__data[t]),o?this.__dataTemp[t]=e:this.__data[t]=e,this.__dataPending[t]=e,(o||this[rt.NOTIFY]&&this[rt.NOTIFY][t])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[t]=r),!0)}_setProperty(t,e){this._setPendingProperty(t,e,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(t){this.__dataPendingClients=this.__dataPendingClients||[],t!==this&&this.__dataPendingClients.push(t)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let t=this.__dataPendingClients;if(t){this.__dataPendingClients=null;for(let e=0;e<t.length;e++){let r=t[e];r.__dataEnabled?r.__dataPending&&r._flushProperties():r._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(t,e){for(let r in t)!e&&this[rt.READ_ONLY]&&this[rt.READ_ONLY][r]||this._setPendingPropertyOrPath(r,t[r],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(t,e,r){let s,i=this.__dataHasPaths;this.__dataHasPaths=!1,function(t,e,r,s){let i=t[rt.COMPUTE];if(i)if(o.Xj){tt++;const o=function(t){let e=t.constructor.__orderedComputedDeps;if(!e){e=new Map;const r=t[rt.COMPUTE];let o,{counts:s,ready:i,total:n}=function(t){const e=t[ot],r={},o=t[rt.COMPUTE],s=[];let i=0;for(let t in e){const o=e[t];i+=r[t]=o.args.filter((t=>!t.literal)).length+(o.dynamicFn?1:0)}for(let t in o)e[t]||s.push(t);return{counts:r,ready:s,total:i}}(t);for(;o=i.shift();){e.set(o,e.size);const t=r[o];t&&t.forEach((t=>{const e=t.info.methodInfo;--n,0==--s[e]&&i.push(e)}))}if(0!==n){const e=t;console.warn(`Computed graph for ${e.localName} incomplete; circular?`)}t.constructor.__orderedComputedDeps=e}return e}(t),n=[];for(let t in e)mt(t,i,n,o,s);let a;for(;a=n.shift();)ft(t,"",e,0,a)&&mt(a.methodInfo,i,n,o,s);Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),t.__dataPending=null}else{let o=e;for(;nt(t,i,o,r,s);)Object.assign(r,t.__dataOld),Object.assign(e,t.__dataPending),o=t.__dataPending,t.__dataPending=null}}(this,e,r,i),s=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(e,r,i),this._flushClients(),nt(this,this[rt.REFLECT],e,r,i),nt(this,this[rt.OBSERVE],e,r,i),s&&function(t,e,r,o,s){let i,n,a=t[rt.NOTIFY],l=tt++;for(let n in e)e[n]&&(a&&at(t,a,l,n,r,o,s)||s&&dt(t,n,r))&&(i=!0);i&&(n=t.__dataHost)&&n._invalidateProperties&&n._invalidateProperties()}(this,s,e,r,i),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(t,e,r){this[rt.PROPAGATE]&&nt(this,this[rt.PROPAGATE],t,e,r),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,t,e,r)}_runEffectsForTemplate(t,e,r,o){const s=(e,o)=>{nt(this,t.propertyEffects,e,r,o,t.nodeList);for(let s=t.firstChild;s;s=s.nextSibling)this._runEffectsForTemplate(s,e,r,o)};t.runEffects?t.runEffects(s,e,o):s(e,o)}linkPaths(t,e){t=A(t),e=A(e),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[t]=e}unlinkPaths(t){t=A(t),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[t]}notifySplices(t,e){let r={path:""};kt(this,S(this,t,r),r.path,e)}get(t,e){return S(e||this,t)}set(t,e,r){r?E(r,t,e):this[rt.READ_ONLY]&&this[rt.READ_ONLY][t]||this._setPendingPropertyOrPath(t,e,!0)&&this._invalidateProperties()}push(t,...e){let r={path:""},o=S(this,t,r),s=o.length,i=o.push(...e);return e.length&&It(this,o,r.path,s,e.length,[]),i}pop(t){let e={path:""},r=S(this,t,e),o=Boolean(r.length),s=r.pop();return o&&It(this,r,e.path,r.length,0,[s]),s}splice(t,e,r,...o){let s,i={path:""},n=S(this,t,i);return e<0?e=n.length-Math.floor(-e):e&&(e=Math.floor(e)),s=2===arguments.length?n.splice(e):n.splice(e,r,...o),(o.length||s.length)&&It(this,n,i.path,e,o.length,s),s}shift(t){let e={path:""},r=S(this,t,e),o=Boolean(r.length),s=r.shift();return o&&It(this,r,e.path,0,0,[s]),s}unshift(t,...e){let r={path:""},o=S(this,t,r),s=o.unshift(...e);return e.length&&It(this,o,r.path,0,e.length,[]),s}notifyPath(t,e){let r;if(1==arguments.length){let o={path:""};e=S(this,t,o),r=o.path}else r=Array.isArray(t)?A(t):t;this._setPendingPropertyOrPath(r,e,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(t,e){var r;this._addPropertyEffect(t,rt.READ_ONLY),e&&(this["_set"+(r=t,r[0].toUpperCase()+r.substring(1))]=function(e){this._setProperty(t,e)})}_createPropertyObserver(t,e,r){let o={property:t,method:e,dynamicFn:Boolean(r)};this._addPropertyEffect(t,rt.OBSERVE,{fn:ct,info:o,trigger:{name:t}}),r&&this._addPropertyEffect(e,rt.OBSERVE,{fn:ct,info:o,trigger:{name:e}})}_createMethodObserver(t,e){let r=Ot(t);if(!r)throw new Error("Malformed observer expression '"+t+"'");wt(this,r,rt.OBSERVE,At,null,e)}_createNotifyingProperty(t){this._addPropertyEffect(t,rt.NOTIFY,{fn:ut,info:{eventName:N(t)+"-changed",property:t}})}_createReflectedProperty(t){let e=this.constructor.attributeNameForProperty(t);"-"===e[0]?console.warn("Property "+t+" cannot be reflected to attribute "+e+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(t,rt.REFLECT,{fn:pt,info:{attrName:e}})}_createComputedProperty(t,e,r){let o=Ot(e);if(!o)throw new Error("Malformed computed expression '"+e+"'");const s=wt(this,o,rt.COMPUTE,ft,t,r);it(this,ot)[t]=s}_marshalArgs(t,e,r){const s=this.__data,i=[];for(let n=0,a=t.length;n<a;n++){let{name:a,structured:l,wildcard:c,value:d,literal:h}=t[n];if(!h)if(c){const t=P(a,e),o=Nt(s,r,t?e:a);d={path:t?e:a,value:o,base:t?S(s,a):o}}else d=l?Nt(s,r,a):s[a];if(o.oO&&!this._overrideLegacyUndefined&&void 0===d&&t.length>1)return et;i[n]=d}return i}static addPropertyEffect(t,e,r){this.prototype._addPropertyEffect(t,e,r)}static createPropertyObserver(t,e,r){this.prototype._createPropertyObserver(t,e,r)}static createMethodObserver(t,e){this.prototype._createMethodObserver(t,e)}static createNotifyingProperty(t){this.prototype._createNotifyingProperty(t)}static createReadOnlyProperty(t,e){this.prototype._createReadOnlyProperty(t,e)}static createReflectedProperty(t){this.prototype._createReflectedProperty(t)}static createComputedProperty(t,e,r){this.prototype._createComputedProperty(t,e,r)}static bindTemplate(t){return this.prototype._bindTemplate(t)}_bindTemplate(t,e){let r=this.constructor._parseTemplate(t),o=this.__preBoundTemplateInfo==r;if(!o)for(let t in r.propertyEffects)this._createPropertyAccessor(t);if(e)if(r=Object.create(r),r.wasPreBound=o,this.__templateInfo){const e=t._parentTemplateInfo||this.__templateInfo,o=e.lastChild;r.parent=e,e.lastChild=r,r.previousSibling=o,o?o.nextSibling=r:e.firstChild=r}else this.__templateInfo=r;else this.__preBoundTemplateInfo=r;return r}static _addTemplatePropertyEffect(t,e,r){(t.hostProps=t.hostProps||{})[e]=!0;let o=t.propertyEffects=t.propertyEffects||{};(o[e]=o[e]||[]).push(r)}_stampTemplate(t,e){e=e||this._bindTemplate(t,!0),Mt.push(this);let r=super._stampTemplate(t,e);if(Mt.pop(),e.nodeList=r.nodeList,!e.wasPreBound){let t=e.childNodes=[];for(let e=r.firstChild;e;e=e.nextSibling)t.push(e)}return r.templateInfo=e,function(t,e){let{nodeList:r,nodeInfoList:o}=e;if(o.length)for(let e=0;e<o.length;e++){let s=o[e],i=r[e],n=s.bindings;if(n)for(let e=0;e<n.length;e++){let r=n[e];bt(i,r),Pt(i,t,r)}i.__dataHost=t}}(this,e),this.__dataClientsReady&&(this._runEffectsForTemplate(e,this.__data,null,!1),this._flushClients()),r}_removeBoundDom(t){const e=t.templateInfo,{previousSibling:r,nextSibling:o,parent:s}=e;r?r.nextSibling=o:s&&(s.firstChild=o),o?o.previousSibling=r:s&&(s.lastChild=r),e.nextSibling=e.previousSibling=null;let i=e.childNodes;for(let t=0;t<i.length;t++){let e=i[t];g(g(e).parentNode).removeChild(e)}}static _parseTemplateNode(t,r,o){let s=e._parseTemplateNode.call(this,t,r,o);if(t.nodeType===Node.TEXT_NODE){let e=this._parseBindings(t.textContent,r);e&&(t.textContent=Tt(e)||" ",yt(this,r,o,"text","textContent",e),s=!0)}return s}static _parseTemplateNodeAttribute(t,r,o,s,i){let n=this._parseBindings(i,r);if(n){let e=s,i="property";st.test(s)?i="attribute":"$"==s[s.length-1]&&(s=s.slice(0,-1),i="attribute");let a=Tt(n);return a&&"attribute"==i&&("class"==s&&t.hasAttribute("class")&&(a+=" "+t.getAttribute(s)),t.setAttribute(s,a)),"attribute"==i&&"disable-upgrade$"==e&&t.setAttribute(s,""),"input"===t.localName&&"value"===e&&t.setAttribute(e,""),t.removeAttribute(e),"property"===i&&(s=$(s)),yt(this,r,o,i,s,n,a),!0}return e._parseTemplateNodeAttribute.call(this,t,r,o,s,i)}static _parseTemplateNestedTemplate(t,r,s){let i=e._parseTemplateNestedTemplate.call(this,t,r,s);const n=t.parentNode,a=s.templateInfo,l="dom-if"===n.localName,c="dom-repeat"===n.localName;o.fF&&(l||c)&&(n.removeChild(t),(s=s.parentInfo).templateInfo=a,s.noted=!0,i=!1);let d=a.hostProps;if(o.s&&l)d&&(r.hostProps=Object.assign(r.hostProps||{},d),o.fF||(s.parentInfo.noted=!0));else{let t="{";for(let e in d)yt(this,r,s,"property","_host_"+e,[{mode:t,source:e,dependencies:[e],hostProp:!0}])}return i}static _parseBindings(t,e){let r,o=[],s=0;for(;null!==(r=xt.exec(t));){r.index>s&&o.push({literal:t.slice(s,r.index)});let i=r[1][0],n=Boolean(r[2]),a=r[3].trim(),l=!1,c="",d=-1;"{"==i&&(d=a.indexOf("::"))>0&&(c=a.substring(d+2),a=a.substring(0,d),l=!0);let h=Ot(a),u=[];if(h){let{args:t,methodName:r}=h;for(let e=0;e<t.length;e++){let r=t[e];r.literal||u.push(r)}let o=e.dynamicFns;(o&&o[r]||h.static)&&(u.push(r),h.dynamicFn=!0)}else u.push(a);o.push({source:a,mode:i,negate:n,customEvent:l,signature:h,dependencies:u,event:c}),s=xt.lastIndex}if(s&&s<t.length){let e=t.substring(s);e&&o.push({literal:e})}return o.length?o:null}static _evaluateBinding(t,e,r,o,s,i){let n;return n=e.signature?At(t,r,o,0,e.signature):r!=e.source?S(t,e.source):i&&v(r)?S(t,r):t.__data[r],e.negate&&(n=!n),n}}})),Mt=[],Ht=[],zt=(0,s.y)((t=>{const e=U(t);function r(t){const e=Object.getPrototypeOf(t);return e.prototype instanceof s?e:null}function o(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",t))){let e=null;if(t.hasOwnProperty(JSCompiler_renameProperty("properties",t))){const r=t.properties;r&&(e=function(t){const e={};for(let r in t){const o=t[r];e[r]="function"==typeof o?{type:o}:o}return e}(r))}t.__ownProperties=e}return t.__ownProperties}class s extends e{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){t=this.prototype,Ht.push(t);const e=this._properties;this.__observedAttributes=e?Object.keys(e).map((t=>this.prototype._addPropertyToAttributeMap(t))):[]}var t;return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const t=r(this);t&&t.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const t=o(this);t&&this.createProperties(t)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const t=r(this);this.__properties=Object.assign({},t&&t._properties,o(this))}return this.__properties}static typeForProperty(t){const e=this._properties[t];return e&&e.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return s})),Lt=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ut=(0,s.y)((t=>{const e=zt(Rt(t));function r(t,e,r,o){r.computed&&(r.readOnly=!0),r.computed&&(t._hasReadOnlyEffect(e)?console.warn(`Cannot redefine computed property '${e}'.`):t._createComputedProperty(e,r.computed,o)),r.readOnly&&!t._hasReadOnlyEffect(e)?t._createReadOnlyProperty(e,!r.computed):!1===r.readOnly&&t._hasReadOnlyEffect(e)&&console.warn(`Cannot make readOnly property '${e}' non-readOnly.`),r.reflectToAttribute&&!t._hasReflectEffect(e)?t._createReflectedProperty(e):!1===r.reflectToAttribute&&t._hasReflectEffect(e)&&console.warn(`Cannot make reflected property '${e}' non-reflected.`),r.notify&&!t._hasNotifyEffect(e)?t._createNotifyingProperty(e):!1===r.notify&&t._hasNotifyEffect(e)&&console.warn(`Cannot make notify property '${e}' non-notify.`),r.observer&&t._createPropertyObserver(e,r.observer,o[r.observer]),t._addPropertyToAttributeMap(e)}return class extends e{static get polymerElementVersion(){return"3.5.2"}static _finalizeClass(){e._finalizeClass.call(this);const t=((r=this).hasOwnProperty(JSCompiler_renameProperty("__ownObservers",r))||(r.__ownObservers=r.hasOwnProperty(JSCompiler_renameProperty("observers",r))?r.observers:null),r.__ownObservers);var r;t&&this.createObservers(t,this._properties),this._prepareTemplate()}static _prepareTemplate(){let t=this.template;t&&("string"==typeof t?(console.error("template getter must return HTMLTemplateElement"),t=null):o.IP||(t=t.cloneNode(!0))),this.prototype._template=t}static createProperties(t){for(let e in t)r(this.prototype,e,t[e],t)}static createObservers(t,e){const r=this.prototype;for(let o=0;o<t.length;o++)r._createMethodObserver(t[o],e)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let t=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;"function"==typeof t&&(t=t()),this._template=void 0!==t?t:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&function(t){let e=null;if(t&&(!o.yu||o.ek)&&(e=d.import(t,"template"),o.yu&&!e))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${t}`);return e}(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(t){this._template=t}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const t=this.importMeta;if(t)this._importPath=(0,i.rG)(t.url);else{const t=d.import(this.is);this._importPath=t&&t.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=o.wA,this.importPath=this.constructor.importPath;let t=function(t){if(!t.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",t))){t.__propertyDefaults=null;let e=t._properties;for(let r in e){let o=e[r];"value"in o&&(t.__propertyDefaults=t.__propertyDefaults||{},t.__propertyDefaults[r]=o)}}return t.__propertyDefaults}(this.constructor);if(t)for(let e in t){let r=t[e];if(this._canApplyPropertyDefault(e)){let t="function"==typeof r.value?r.value.call(this):r.value;this._hasAccessor(e)?this._setPendingProperty(e,t,!0):this[e]=t}}}_canApplyPropertyDefault(t){return!this.hasOwnProperty(t)}static _processStyleText(t,e){return(0,i.c0)(t,e)}static _finalizeTemplate(t){const e=this.prototype._template;if(e&&!e.__polymerFinalized){e.__polymerFinalized=!0;const r=this.importPath;(function(t,e,r,s){if(!Lt){const o=e.content.querySelectorAll("style"),i=f(e),n=function(t){let e=u(t);return e?y(e):[]}(r),a=e.content.firstElementChild;for(let r=0;r<n.length;r++){let o=n[r];o.textContent=t._processStyleText(o.textContent,s),e.content.insertBefore(o,a)}let l=0;for(let e=0;e<i.length;e++){let r=i[e],n=o[l];n!==r?(r=r.cloneNode(!0),n.parentNode.insertBefore(r,n)):l++,r.textContent=t._processStyleText(r.textContent,s)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,r),o.vK&&Lt&&o.qM){const r=e.content.querySelectorAll("style");if(r){let e="";Array.from(r).forEach((t=>{e+=t.textContent,t.parentNode.removeChild(t)})),t._styleSheet=new CSSStyleSheet,t._styleSheet.replaceSync(e)}}})(this,e,t,r?(0,i.O2)(r):""),this.prototype._bindTemplate(e)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(t){const e=g(this);if(e.attachShadow)return t?(e.shadowRoot||(e.attachShadow({mode:"open",shadyUpgradeFragment:t}),e.shadowRoot.appendChild(t),this.constructor._styleSheet&&(e.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),o.Kp&&window.ShadyDOM&&window.ShadyDOM.flushInitial(e.shadowRoot),e.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(t){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,t)}resolveUrl(t,e){return!e&&this.importPath&&(e=(0,i.O2)(this.importPath)),(0,i.O2)(t,e)}static _parseTemplateContent(t,r,o){return r.dynamicFns=r.dynamicFns||this._properties,e._parseTemplateContent.call(this,t,r,o)}static _addTemplatePropertyEffect(t,r,s){return!o.F3||r in this._properties||s.info.part.signature&&s.info.part.signature.static||s.info.part.hostProp||t.nestedTemplate||console.warn(`Property '${r}' used in template but not declared in 'properties'; attribute will not be observed.`),e._addTemplatePropertyEffect.call(this,t,r,s)}}}));var Dt=r(22408);const Ft=Ut(HTMLElement)},28186:(t,e,r)=>{r.d(e,{EV:()=>a,G$:()=>l,_3:()=>d,g8:()=>c});let o=0,s=0;const i=[];let n=!1;const a={after:t=>({run:e=>window.setTimeout(e,t),cancel(t){window.clearTimeout(t)}}),run:(t,e)=>window.setTimeout(t,e),cancel(t){window.clearTimeout(t)}},l={run:t=>window.requestAnimationFrame(t),cancel(t){window.cancelAnimationFrame(t)}},c={run:t=>window.requestIdleCallback?window.requestIdleCallback(t):window.setTimeout(t,16),cancel(t){window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t)}},d={run(t){n||(n=!0,queueMicrotask((()=>function(){n=!1;const t=i.length;for(let e=0;e<t;e++){const t=i[e];if(t)try{t()}catch(t){setTimeout((()=>{throw t}))}}i.splice(0,t),s+=t}()))),i.push(t);const e=o;return o+=1,e},cancel(t){const e=t-s;if(e>=0){if(!i[e])throw new Error(`invalid async handle: ${t}`);i[e]=null}}}},49419:(t,e,r)=>{r.d(e,{Oy:()=>i,aq:()=>s,bX:()=>a});const o=new Set;class s{static debounce(t,e,r){return t instanceof s?t._cancelAsync():t=new s,t.setConfig(e,r),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run((()=>{this._timer=null,o.delete(this),this._callback()}))}cancel(){this.isActive()&&(this._cancelAsync(),o.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return null!=this._timer}}function i(t){o.add(t)}function n(){const t=Boolean(o.size);return o.forEach((t=>{try{t.flush()}catch(t){setTimeout((()=>{throw t}))}})),t}const a=()=>{let t;do{t=n()}while(t)}},65211:(t,e,r)=>{function o(t){const e=customElements.get(t.is);if(e){const r=e.version;r&&t.version&&r===t.version?console.warn(`The component ${t.is} has been loaded twice`):console.error(`Tried to define ${t.is} version ${t.version} when version ${e.version} is already in use. Something will probably break.`)}else Object.defineProperty(t,"version",{get:()=>"24.3.22"}),customElements.define(t.is,t)}r.d(e,{X:()=>o})},38785:(t,e,r)=>{r.d(e,{v:()=>n});const o=[];function s(t,e,r=t.getAttribute("dir")){e?t.setAttribute("dir",e):null!=r&&t.removeAttribute("dir")}function i(){return document.documentElement.getAttribute("dir")}new MutationObserver((function(){const t=i();o.forEach((e=>{s(e,t)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const n=t=>class extends t{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:t=>t||"",toAttribute:t=>""===t?null:t}}}}get __isRTL(){return"rtl"===this.getAttribute("dir")}connectedCallback(){super.connectedCallback(),this.hasAttribute("dir")&&!this.__restoreSubscription||(this.__subscribe(),s(this,i(),null))}attributeChangedCallback(t,e,r){if(super.attributeChangedCallback(t,e,r),"dir"!==t)return;const n=i(),a=r===n&&-1===o.indexOf(this),l=!r&&e&&-1===o.indexOf(this),c=r!==n&&e===n;a||l?(this.__subscribe(),s(this,n,r)):c&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=o.includes(this),this.__unsubscribe()}_valueToNodeAttribute(t,e,r){("dir"!==r||""!==e||t.hasAttribute("dir"))&&super._valueToNodeAttribute(t,e,r)}_attributeToProperty(t,e,r){"dir"!==t||e?super._attributeToProperty(t,e,r):this.dir=""}__subscribe(){o.includes(this)||o.push(this)}__unsubscribe(){o.includes(this)&&o.splice(o.indexOf(this),1)}}},44497:(t,e,r)=>{r(48202);var o=r(57224),s=r(46131);const i=o.AH`
|
3
|
+
:host {
|
4
|
+
/* Base (background) */
|
5
|
+
--lumo-base-color: #fff;
|
6
|
+
|
7
|
+
/* Tint */
|
8
|
+
--lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
|
9
|
+
--lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
|
10
|
+
--lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
|
11
|
+
--lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
|
12
|
+
--lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
|
13
|
+
--lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
|
14
|
+
--lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
|
15
|
+
--lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
|
16
|
+
--lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
|
17
|
+
--lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
|
18
|
+
--lumo-tint: #fff;
|
19
|
+
|
20
|
+
/* Shade */
|
21
|
+
--lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
|
22
|
+
--lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
|
23
|
+
--lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
|
24
|
+
--lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
|
25
|
+
--lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
|
26
|
+
--lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
|
27
|
+
--lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
|
28
|
+
--lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
|
29
|
+
--lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
|
30
|
+
--lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
|
31
|
+
--lumo-shade: hsl(214, 35%, 15%);
|
32
|
+
|
33
|
+
/* Contrast */
|
34
|
+
--lumo-contrast-5pct: var(--lumo-shade-5pct);
|
35
|
+
--lumo-contrast-10pct: var(--lumo-shade-10pct);
|
36
|
+
--lumo-contrast-20pct: var(--lumo-shade-20pct);
|
37
|
+
--lumo-contrast-30pct: var(--lumo-shade-30pct);
|
38
|
+
--lumo-contrast-40pct: var(--lumo-shade-40pct);
|
39
|
+
--lumo-contrast-50pct: var(--lumo-shade-50pct);
|
40
|
+
--lumo-contrast-60pct: var(--lumo-shade-60pct);
|
41
|
+
--lumo-contrast-70pct: var(--lumo-shade-70pct);
|
42
|
+
--lumo-contrast-80pct: var(--lumo-shade-80pct);
|
43
|
+
--lumo-contrast-90pct: var(--lumo-shade-90pct);
|
44
|
+
--lumo-contrast: var(--lumo-shade);
|
45
|
+
|
46
|
+
/* Text */
|
47
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
48
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
49
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
50
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
51
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
52
|
+
|
53
|
+
/* Primary */
|
54
|
+
--lumo-primary-color: hsl(214, 100%, 48%);
|
55
|
+
--lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
|
56
|
+
--lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
|
57
|
+
--lumo-primary-text-color: hsl(214, 100%, 43%);
|
58
|
+
--lumo-primary-contrast-color: #fff;
|
59
|
+
|
60
|
+
/* Error */
|
61
|
+
--lumo-error-color: hsl(3, 85%, 48%);
|
62
|
+
--lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
|
63
|
+
--lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
|
64
|
+
--lumo-error-text-color: hsl(3, 89%, 42%);
|
65
|
+
--lumo-error-contrast-color: #fff;
|
66
|
+
|
67
|
+
/* Success */
|
68
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
69
|
+
--lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
|
70
|
+
--lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
|
71
|
+
--lumo-success-text-color: hsl(145, 85%, 25%);
|
72
|
+
--lumo-success-contrast-color: #fff;
|
73
|
+
|
74
|
+
/* Warning */
|
75
|
+
--lumo-warning-color: hsl(48, 100%, 50%);
|
76
|
+
--lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
|
77
|
+
--lumo-warning-text-color: hsl(32, 100%, 30%);
|
78
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
79
|
+
}
|
80
|
+
|
81
|
+
/* forced-colors mode adjustments */
|
82
|
+
@media (forced-colors: active) {
|
83
|
+
html {
|
84
|
+
--lumo-disabled-text-color: GrayText;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
`;(0,s.q)("color-props",i);const n=o.AH`
|
88
|
+
[theme~='dark'] {
|
89
|
+
/* Base (background) */
|
90
|
+
--lumo-base-color: hsl(214, 35%, 21%);
|
91
|
+
|
92
|
+
/* Tint */
|
93
|
+
--lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
|
94
|
+
--lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
|
95
|
+
--lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
|
96
|
+
--lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
|
97
|
+
--lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
|
98
|
+
--lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
|
99
|
+
--lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
|
100
|
+
--lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
|
101
|
+
--lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
|
102
|
+
--lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
|
103
|
+
--lumo-tint: hsl(214, 100%, 98%);
|
104
|
+
|
105
|
+
/* Shade */
|
106
|
+
--lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
|
107
|
+
--lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
|
108
|
+
--lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
|
109
|
+
--lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
|
110
|
+
--lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
|
111
|
+
--lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
|
112
|
+
--lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
|
113
|
+
--lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
|
114
|
+
--lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
|
115
|
+
--lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
|
116
|
+
--lumo-shade: hsl(214, 33%, 13%);
|
117
|
+
|
118
|
+
/* Contrast */
|
119
|
+
--lumo-contrast-5pct: var(--lumo-tint-5pct);
|
120
|
+
--lumo-contrast-10pct: var(--lumo-tint-10pct);
|
121
|
+
--lumo-contrast-20pct: var(--lumo-tint-20pct);
|
122
|
+
--lumo-contrast-30pct: var(--lumo-tint-30pct);
|
123
|
+
--lumo-contrast-40pct: var(--lumo-tint-40pct);
|
124
|
+
--lumo-contrast-50pct: var(--lumo-tint-50pct);
|
125
|
+
--lumo-contrast-60pct: var(--lumo-tint-60pct);
|
126
|
+
--lumo-contrast-70pct: var(--lumo-tint-70pct);
|
127
|
+
--lumo-contrast-80pct: var(--lumo-tint-80pct);
|
128
|
+
--lumo-contrast-90pct: var(--lumo-tint-90pct);
|
129
|
+
--lumo-contrast: var(--lumo-tint);
|
130
|
+
|
131
|
+
/* Text */
|
132
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
133
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
134
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
135
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
136
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
137
|
+
|
138
|
+
/* Primary */
|
139
|
+
--lumo-primary-color: hsl(214, 90%, 48%);
|
140
|
+
--lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
|
141
|
+
--lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
|
142
|
+
--lumo-primary-text-color: hsl(214, 90%, 77%);
|
143
|
+
--lumo-primary-contrast-color: #fff;
|
144
|
+
|
145
|
+
/* Error */
|
146
|
+
--lumo-error-color: hsl(3, 79%, 49%);
|
147
|
+
--lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
|
148
|
+
--lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
|
149
|
+
--lumo-error-text-color: hsl(3, 100%, 80%);
|
150
|
+
|
151
|
+
/* Success */
|
152
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
153
|
+
--lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
|
154
|
+
--lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
|
155
|
+
--lumo-success-text-color: hsl(145, 85%, 46%);
|
156
|
+
|
157
|
+
/* Warning */
|
158
|
+
--lumo-warning-color: hsl(43, 100%, 48%);
|
159
|
+
--lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
|
160
|
+
--lumo-warning-text-color: hsl(45, 100%, 60%);
|
161
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
162
|
+
}
|
163
|
+
|
164
|
+
html {
|
165
|
+
color: var(--lumo-body-text-color);
|
166
|
+
background-color: var(--lumo-base-color);
|
167
|
+
color-scheme: light;
|
168
|
+
}
|
169
|
+
|
170
|
+
[theme~='dark'] {
|
171
|
+
color: var(--lumo-body-text-color);
|
172
|
+
background-color: var(--lumo-base-color);
|
173
|
+
color-scheme: dark;
|
174
|
+
}
|
175
|
+
|
176
|
+
h1,
|
177
|
+
h2,
|
178
|
+
h3,
|
179
|
+
h4,
|
180
|
+
h5,
|
181
|
+
h6 {
|
182
|
+
color: var(--lumo-header-text-color);
|
183
|
+
}
|
184
|
+
|
185
|
+
a:where(:any-link) {
|
186
|
+
color: var(--lumo-primary-text-color);
|
187
|
+
}
|
188
|
+
|
189
|
+
a:not(:any-link) {
|
190
|
+
color: var(--lumo-disabled-text-color);
|
191
|
+
}
|
192
|
+
|
193
|
+
blockquote {
|
194
|
+
color: var(--lumo-secondary-text-color);
|
195
|
+
}
|
196
|
+
|
197
|
+
code,
|
198
|
+
pre {
|
199
|
+
background-color: var(--lumo-contrast-10pct);
|
200
|
+
border-radius: var(--lumo-border-radius-m);
|
201
|
+
}
|
202
|
+
`;(0,o.SF)("",n,{moduleId:"lumo-color"})},46131:(t,e,r)=>{r.d(e,{q:()=>o}),r(57224);const o=(t,...e)=>{((t,...e)=>{const r=document.createElement("style");r.id=t,r.textContent=e.map((t=>t.toString())).join("\n").replace(":host","html"),document.head.insertAdjacentElement("afterbegin",r)})(`lumo-${t}`,e)}},19155:(t,e,r)=>{r(48202);var o=r(57224),s=r(46131);const i=o.AH`
|
203
|
+
:host {
|
204
|
+
/* Square */
|
205
|
+
--lumo-space-xs: 0.25rem;
|
206
|
+
--lumo-space-s: 0.5rem;
|
207
|
+
--lumo-space-m: 1rem;
|
208
|
+
--lumo-space-l: 1.5rem;
|
209
|
+
--lumo-space-xl: 2.5rem;
|
210
|
+
|
211
|
+
/* Wide */
|
212
|
+
--lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
|
213
|
+
--lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
|
214
|
+
--lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
|
215
|
+
--lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
|
216
|
+
--lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
|
217
|
+
|
218
|
+
/* Tall */
|
219
|
+
--lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
|
220
|
+
--lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
|
221
|
+
--lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
|
222
|
+
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
223
|
+
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
224
|
+
}
|
225
|
+
`;(0,s.q)("spacing-props",i)},40999:(t,e,r)=>{r(48202);var o=r(57224),s=r(46131);const i=o.AH`
|
226
|
+
:host {
|
227
|
+
/* Border radius */
|
228
|
+
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
229
|
+
--lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
|
230
|
+
--lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
|
231
|
+
|
232
|
+
/* Shadow */
|
233
|
+
--lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
|
234
|
+
--lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
|
235
|
+
--lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
|
236
|
+
--lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
|
237
|
+
--lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
|
238
|
+
|
239
|
+
/* Clickable element cursor */
|
240
|
+
--lumo-clickable-cursor: default;
|
241
|
+
}
|
242
|
+
`;o.AH`
|
243
|
+
html {
|
244
|
+
/* Button */
|
245
|
+
--vaadin-button-background: var(--lumo-contrast-5pct);
|
246
|
+
--vaadin-button-border: none;
|
247
|
+
--vaadin-button-border-radius: var(--lumo-border-radius-m);
|
248
|
+
--vaadin-button-font-size: var(--lumo-font-size-m);
|
249
|
+
--vaadin-button-font-weight: 500;
|
250
|
+
--vaadin-button-height: var(--lumo-size-m);
|
251
|
+
--vaadin-button-margin: var(--lumo-space-xs) 0;
|
252
|
+
--vaadin-button-min-width: calc(var(--vaadin-button-height) * 2);
|
253
|
+
--vaadin-button-padding: 0 calc(var(--vaadin-button-height) / 3 + var(--lumo-border-radius-m) / 2);
|
254
|
+
--vaadin-button-text-color: var(--lumo-primary-text-color);
|
255
|
+
--vaadin-button-primary-background: var(--lumo-primary-color);
|
256
|
+
--vaadin-button-primary-border: none;
|
257
|
+
--vaadin-button-primary-font-weight: 600;
|
258
|
+
--vaadin-button-primary-text-color: var(--lumo-primary-contrast-color);
|
259
|
+
--vaadin-button-tertiary-background: transparent !important;
|
260
|
+
--vaadin-button-tertiary-text-color: var(--lumo-primary-text-color);
|
261
|
+
--vaadin-button-tertiary-font-weight: 500;
|
262
|
+
--vaadin-button-tertiary-padding: 0 calc(var(--vaadin-button-height) / 6);
|
263
|
+
/* Checkbox */
|
264
|
+
--vaadin-checkbox-background: var(--lumo-contrast-20pct);
|
265
|
+
--vaadin-checkbox-background-hover: var(--lumo-contrast-30pct);
|
266
|
+
--vaadin-checkbox-border-radius: var(--lumo-border-radius-s);
|
267
|
+
--vaadin-checkbox-checkmark-char: var(--lumo-icons-checkmark);
|
268
|
+
--vaadin-checkbox-checkmark-char-indeterminate: '';
|
269
|
+
--vaadin-checkbox-checkmark-color: var(--lumo-primary-contrast-color);
|
270
|
+
--vaadin-checkbox-checkmark-size: calc(var(--vaadin-checkbox-size) + 2px);
|
271
|
+
--vaadin-checkbox-label-color: var(--lumo-body-text-color);
|
272
|
+
--vaadin-checkbox-label-font-size: var(--lumo-font-size-m);
|
273
|
+
--vaadin-checkbox-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs) var(--lumo-space-xs);
|
274
|
+
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
275
|
+
/* Radio button */
|
276
|
+
--vaadin-radio-button-background: var(--lumo-contrast-20pct);
|
277
|
+
--vaadin-radio-button-background-hover: var(--lumo-contrast-30pct);
|
278
|
+
--vaadin-radio-button-dot-color: var(--lumo-primary-contrast-color);
|
279
|
+
--vaadin-radio-button-dot-size: 3px;
|
280
|
+
--vaadin-radio-button-label-color: var(--lumo-body-text-color);
|
281
|
+
--vaadin-radio-button-label-font-size: var(--lumo-font-size-m);
|
282
|
+
--vaadin-radio-button-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs)
|
283
|
+
var(--lumo-space-xs);
|
284
|
+
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
285
|
+
--vaadin-selection-color: var(--lumo-primary-color);
|
286
|
+
--vaadin-selection-color-text: var(--lumo-primary-text-color);
|
287
|
+
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
288
|
+
--vaadin-focus-ring-color: var(--lumo-primary-color-50pct);
|
289
|
+
--vaadin-focus-ring-width: 2px;
|
290
|
+
/* Label */
|
291
|
+
--vaadin-input-field-label-color: var(--lumo-secondary-text-color);
|
292
|
+
--vaadin-input-field-focused-label-color: var(--lumo-primary-text-color);
|
293
|
+
--vaadin-input-field-hovered-label-color: var(--lumo-body-text-color);
|
294
|
+
--vaadin-input-field-label-font-size: var(--lumo-font-size-s);
|
295
|
+
--vaadin-input-field-label-font-weight: 500;
|
296
|
+
/* Helper */
|
297
|
+
--vaadin-input-field-helper-color: var(--lumo-secondary-text-color);
|
298
|
+
--vaadin-input-field-helper-font-size: var(--lumo-font-size-xs);
|
299
|
+
--vaadin-input-field-helper-font-weight: 400;
|
300
|
+
--vaadin-input-field-helper-spacing: 0.4em;
|
301
|
+
/* Error message */
|
302
|
+
--vaadin-input-field-error-color: var(--lumo-error-text-color);
|
303
|
+
--vaadin-input-field-error-font-size: var(--lumo-font-size-xs);
|
304
|
+
--vaadin-input-field-error-font-weight: 400;
|
305
|
+
/* Input field */
|
306
|
+
--vaadin-input-field-background: var(--lumo-contrast-10pct);
|
307
|
+
--vaadin-input-field-icon-color: var(--lumo-contrast-60pct);
|
308
|
+
--vaadin-input-field-icon-size: var(--lumo-icon-size-m);
|
309
|
+
--vaadin-input-field-invalid-background: var(--lumo-error-color-10pct);
|
310
|
+
--vaadin-input-field-invalid-hover-highlight: var(--lumo-error-color-50pct);
|
311
|
+
--vaadin-input-field-height: var(--lumo-size-m);
|
312
|
+
--vaadin-input-field-hover-highlight: var(--lumo-contrast-50pct);
|
313
|
+
--vaadin-input-field-placeholder-color: var(--lumo-secondary-text-color);
|
314
|
+
--vaadin-input-field-readonly-border: 1px dashed var(--lumo-contrast-30pct);
|
315
|
+
--vaadin-input-field-value-color: var(--lumo-body-text-color);
|
316
|
+
--vaadin-input-field-value-font-size: var(--lumo-font-size-m);
|
317
|
+
--vaadin-input-field-value-font-weight: 400;
|
318
|
+
}
|
319
|
+
`,(0,s.q)("style-props",i)},48202:(t,e,r)=>{var o=r(65211);class s extends HTMLElement{static get is(){return"vaadin-lumo-styles"}}(0,o.X)(s)},57224:(t,e,r)=>{r.d(e,{AH:()=>o.AH,SF:()=>a,cp:()=>u});var o=r(44720),s=r(82543);const i=[];function n(t){return t&&Object.prototype.hasOwnProperty.call(t,"__themes")}function a(t,e,r={}){var s;t&&(s=t,n(customElements.get(s))&&console.warn(`The custom element definition for "${t}"\n was finalized before a style module was registered.\n Make sure to add component specific style modules before\n importing the corresponding custom element.`)),e=function(t=[]){return[t].flat(1/0).filter((t=>t instanceof o.BO||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(e),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(t,e,r):i.push({themeFor:t,styles:e,include:r.include,moduleId:r.moduleId})}function l(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():i}function c(t=""){let e=0;return t.startsWith("lumo-")||t.startsWith("material-")?e=1:t.startsWith("vaadin-")&&(e=2),e}function d(t){const e=[];return t.include&&[].concat(t.include).forEach((t=>{const r=l().find((e=>e.moduleId===t));r?e.push(...d(r),...r.styles):console.warn(`Included moduleId ${t} not found in style registry`)}),t.styles),e}function h(t){const e=`${t}-default-theme`,r=l().filter((r=>r.moduleId!==e&&function(t,e){return(t||"").split(" ").some((t=>new RegExp(`^${t.split("*").join(".*")}$`,"u").test(e)))}(r.themeFor,t))).map((t=>({...t,styles:[...d(t),...t.styles],includePriority:c(t.moduleId)}))).sort(((t,e)=>e.includePriority-t.includePriority));return r.length>0?r:l().filter((t=>t.moduleId===e))}const u=t=>class extends((0,s._)(t)){static finalize(){if(super.finalize(),this.elementStyles)return;const t=this.prototype._template;t&&!n(this)&&function(t,e){const r=document.createElement("style");r.innerHTML=t.map((t=>t.cssText)).join("\n"),e.content.appendChild(r)}(this.getStylesForThis(),t)}static finalizeStyles(t){const e=this.getStylesForThis();return t?[...super.finalizeStyles(t),...e]:e}static getStylesForThis(){const t=Object.getPrototypeOf(this.prototype),e=(t?t.constructor.__themes:[])||[];this.__themes=[...e,...h(this.is)];const r=this.__themes.flatMap((t=>t.styles));return r.filter(((t,e)=>e===r.lastIndexOf(t)))}}},82543:(t,e,r)=>{r.d(e,{_:()=>o});const o=t=>class extends t{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(t,e,r){super.attributeChangedCallback(t,e,r),"theme"===t&&this._set_theme(r)}}},6452:(t,e,r)=>{r.d(e,{JW:()=>S,XX:()=>B,c0:()=>E,ge:()=>F,qy:()=>C,s6:()=>x});const o=globalThis,s=o.trustedTypes,i=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,n="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+a,c=`<${l}>`,d=document,h=()=>d.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,_=t=>p(t)||"function"==typeof t?.[Symbol.iterator],m="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,g=/>/g,v=RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,P=/"/g,w=/^(?:script|style|textarea|title)$/i,A=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),C=A(1),S=A(2),E=(A(3),Symbol.for("lit-noChange")),x=Symbol.for("lit-nothing"),T=new WeakMap,O=d.createTreeWalker(d,129);function $(t,e){if(!p(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==i?i.createHTML(e):e}const N=(t,e)=>{const r=t.length-1,o=[];let s,i=2===e?"<svg>":3===e?"<math>":"",l=f;for(let e=0;e<r;e++){const r=t[e];let d,h,u=-1,p=0;for(;p<r.length&&(l.lastIndex=p,h=l.exec(r),null!==h);)p=l.lastIndex,l===f?"!--"===h[1]?l=y:void 0!==h[1]?l=g:void 0!==h[2]?(w.test(h[2])&&(s=RegExp("</"+h[2],"g")),l=v):void 0!==h[3]&&(l=v):l===v?">"===h[0]?(l=s??f,u=-1):void 0===h[1]?u=-2:(u=l.lastIndex-h[2].length,d=h[1],l=void 0===h[3]?v:'"'===h[3]?P:b):l===P||l===b?l=v:l===y||l===g?l=f:(l=v,s=void 0);const _=l===v&&t[e+1].startsWith("/>")?" ":"";i+=l===f?r+c:u>=0?(o.push(d),r.slice(0,u)+n+r.slice(u)+a+_):r+a+(-2===u?e:_)}return[$(t,i+(t[r]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),o]};class k{constructor({strings:t,_$litType$:e},r){let o;this.parts=[];let i=0,c=0;const d=t.length-1,u=this.parts,[p,_]=N(t,e);if(this.el=k.createElement(p,r),O.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=O.nextNode())&&u.length<d;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(n)){const e=_[c++],r=o.getAttribute(t).split(a),s=/([.?@])?(.*)/.exec(e);u.push({type:1,index:i,name:s[2],strings:r,ctor:"."===s[1]?z:"?"===s[1]?L:"@"===s[1]?U:H}),o.removeAttribute(t)}else t.startsWith(a)&&(u.push({type:6,index:i}),o.removeAttribute(t));if(w.test(o.tagName)){const t=o.textContent.split(a),e=t.length-1;if(e>0){o.textContent=s?s.emptyScript:"";for(let r=0;r<e;r++)o.append(t[r],h()),O.nextNode(),u.push({type:2,index:++i});o.append(t[e],h())}}}else if(8===o.nodeType)if(o.data===l)u.push({type:2,index:i});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)u.push({type:7,index:i}),t+=a.length-1}i++}}static createElement(t,e){const r=d.createElement("template");return r.innerHTML=t,r}}function I(t,e,r=t,o){if(e===E)return e;let s=void 0!==o?r._$Co?.[o]:r._$Cl;const i=u(e)?void 0:e._$litDirective$;return s?.constructor!==i&&(s?._$AO?.(!1),void 0===i?s=void 0:(s=new i(t),s._$AT(t,r,o)),void 0!==o?(r._$Co??=[])[o]=s:r._$Cl=s),void 0!==s&&(e=I(t,s._$AS(t,e.values),s,o)),e}class R{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,o=(t?.creationScope??d).importNode(e,!0);O.currentNode=o;let s=O.nextNode(),i=0,n=0,a=r[0];for(;void 0!==a;){if(i===a.index){let e;2===a.type?e=new M(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new D(s,this,t)),this._$AV.push(e),a=r[++n]}i!==a?.index&&(s=O.nextNode(),i++)}return O.currentNode=d,o}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class M{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,o){this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=I(this,t,e),u(t)?t===x||null==t||""===t?(this._$AH!==x&&this._$AR(),this._$AH=x):t!==this._$AH&&t!==E&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):_(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==x&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,o="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=k.createElement($(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new R(o,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=T.get(t.strings);return void 0===e&&T.set(t.strings,e=new k(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,o=0;for(const s of t)o===e.length?e.push(r=new M(this.O(h()),this.O(h()),this,this.options)):r=e[o],r._$AI(s),o++;o<e.length&&(this._$AR(r&&r._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class H{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,o,s){this.type=1,this._$AH=x,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=x}_$AI(t,e=this,r,o){const s=this.strings;let i=!1;if(void 0===s)t=I(this,t,e,0),i=!u(t)||t!==this._$AH&&t!==E,i&&(this._$AH=t);else{const o=t;let n,a;for(t=s[0],n=0;n<s.length-1;n++)a=I(this,o[r+n],e,n),a===E&&(a=this._$AH[n]),i||=!u(a)||a!==this._$AH[n],a===x?t=x:t!==x&&(t+=(a??"")+s[n+1]),this._$AH[n]=a}i&&!o&&this.j(t)}j(t){t===x?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class z extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===x?void 0:t}}class L extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==x)}}class U extends H{constructor(t,e,r,o,s){super(t,e,r,o,s),this.type=5}_$AI(t,e=this){if((t=I(this,t,e,0)??x)===E)return;const r=this._$AH,o=t===x&&r!==x||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,s=t!==x&&(r===x||o);o&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class D{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){I(this,t)}}const F={M:n,P:a,A:l,C:1,L:N,R,D:_,V:I,I:M,H,N:L,U,B:z,F:D},j=o.litHtmlPolyfillSupport;j?.(k,M),(o.litHtmlVersions??=[]).push("3.2.1");const B=(t,e,r)=>{const o=r?.renderBefore??e;let s=o._$litPart$;if(void 0===s){const t=r?.renderBefore??null;o._$litPart$=s=new M(e.insertBefore(h(),t),t,void 0,r??{})}return s._$AI(t),s}},44720:(t,e,r)=>{r.d(e,{BO:()=>a,WF:()=>x,AH:()=>l,qy:()=>E.qy,s6:()=>E.s6,XX:()=>E.XX,JW:()=>E.JW});const o=globalThis,s=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),n=new WeakMap;class a{constructor(t,e,r){if(this._$cssResult$=!0,r!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(s&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&n.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[o+1]),t[0]);return new a(r,t,i)},c=(t,e)=>{if(s)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),s=o.litNonce;void 0!==s&&e.setAttribute("nonce",s),e.textContent=r.cssText,t.appendChild(e)}},d=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,i))(e)})(t):t,{is:h,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:_,getOwnPropertySymbols:m,getPrototypeOf:f}=Object,y=globalThis,g=y.trustedTypes,v=g?g.emptyScript:"",b=y.reactiveElementPolyfillSupport,P=(t,e)=>t,w={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},A=(t,e)=>!h(t,e),C={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:A};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;class S extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=C){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),o=this.getPropertyDescriptor(t,r,e);void 0!==o&&u(this.prototype,t,o)}}static getPropertyDescriptor(t,e,r){const{get:o,set:s}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return o?.call(this)},set(e){const i=o?.call(this);s.call(this,e),this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??C}static _$Ei(){if(this.hasOwnProperty(P("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(P("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(P("properties"))){const t=this.properties,e=[..._(t),...m(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return c(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){const r=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,r);if(void 0!==o&&!0===r.reflect){const s=(void 0!==r.converter?.toAttribute?r.converter:w).toAttribute(e,r.type);this._$Em=t,null==s?this.removeAttribute(o):this.setAttribute(o,s),this._$Em=null}}_$AK(t,e){const r=this.constructor,o=r._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=r.getPropertyOptions(o),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=o,this[o]=s.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??A)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[P("elementProperties")]=new Map,S[P("finalized")]=new Map,b?.({ReactiveElement:S}),(y.reactiveElementVersions??=[]).push("2.0.4");var E=r(6452);class x extends S{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,E.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return E.c0}}x._$litElement$=!0,x.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:x});const T=globalThis.litElementPolyfillSupport;T?.({LitElement:x}),(globalThis.litElementVersions??=[]).push("4.1.1")}}]);
|