@tet/tet-components 1.4.157-testing → 1.4.158-staging
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/format-program-start-date-zxseYpV_.js +151 -0
- package/dist/cjs/{http-codes-D7ffzpYW.js → http-codes-BPqfZGg_.js} +2 -1
- package/dist/cjs/{index-Dzs7Nkbj.js → index-BEOR8cIU.js} +1 -1
- package/dist/cjs/{index-BL_zVDFC.js → index-DRNSo5RU.js} +21 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{product-comparison-DUzqZuWv.js → product-comparison-1j61pRJX.js} +1 -1
- package/dist/cjs/{service-availability-services-BXL7V5i1.js → service-availability-services-pWb5YaEM.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +8 -8
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers-v2.cjs.entry.js +5 -5
- package/dist/cjs/tet-address-offers-view-v2.cjs.entry.js +5 -5
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_3.cjs.entry.js +6 -6
- package/dist/cjs/tet-address-search_2.cjs.entry.js +7 -7
- package/dist/cjs/tet-assembler_3.cjs.entry.js +4 -4
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +2 -2
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +6 -6
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
- package/dist/cjs/tet-carousel.cjs.entry.js +9 -9
- package/dist/cjs/{tet-checkbox_3.cjs.entry.js → tet-checkbox_2.cjs.entry.js} +1 -453
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +5 -5
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-countdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
- package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
- package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
- package/dist/cjs/tet-grid.cjs.entry.js +2 -2
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +6 -6
- package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-news-card.cjs.entry.js +2 -2
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-paginator.cjs.entry.js +4 -4
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-range-slider.cjs.entry.js +8 -8
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-spinner.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-sticky-offer.cjs.entry.js +2 -2
- package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/tet-tooltip.cjs.entry.js +456 -0
- package/dist/cjs/tet-tv-program-channel-picker_3.cjs.entry.js +1465 -0
- package/dist/cjs/tet-tv-program-item.cjs.entry.js +217 -0
- package/dist/cjs/tet-tv-program-placeholders-CRvdN2bT.js +22 -0
- package/dist/cjs/tet-tv-program.cjs.entry.js +642 -3
- package/dist/cjs/{translations-Uvcq4kv8.js → translations-C5voiGIZ.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +1 -1
- package/dist/collection/components/advanced/address/tet-address-offers-v2/tet-address-offers-v2.js +1 -1
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +3 -3
- package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
- package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
- package/dist/collection/components/advanced/cards/tet-news-card/tet-news-card.js +1 -1
- package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
- package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
- package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +3 -3
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +6 -6
- package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
- package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
- package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
- package/dist/collection/components/basic/misc/tet-countdown/tet-countdown.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
- package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/menu/tet-paginator/tet-paginator.js +1 -1
- package/dist/collection/components/simple/misc/tet-sticky-offer/tet-sticky-offer.js +1 -1
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.css +5 -1
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view-v2/tet-address-offers-view-v2.js +2 -2
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-channel-picker/tet-tv-program-channel-picker.css +21 -8
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-channel-picker/tet-tv-program-channel-picker.js +59 -39
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-date-picker/tet-tv-program-date-picker.css +52 -36
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-date-picker/tet-tv-program-date-picker.js +24 -30
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.css +352 -0
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.js +488 -0
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.mock.js +45 -0
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-schedule/tet-tv-program-schedule.css +567 -0
- package/dist/collection/components/views/tet-tv-program/components/tet-tv-program-schedule/tet-tv-program-schedule.js +1309 -0
- package/dist/collection/components/views/tet-tv-program/test/mock-schedule-layout.js +74 -0
- package/dist/collection/components/views/tet-tv-program/tet-tv-program-placeholders.js +8 -0
- package/dist/collection/components/views/tet-tv-program/tet-tv-program.css +777 -0
- package/dist/collection/components/views/tet-tv-program/tet-tv-program.js +638 -2
- package/dist/collection/components/views/tet-tv-program/tet-tv-program.types.js +1 -0
- package/dist/collection/components/views/tet-tv-program/utils/broadcast-time.js +26 -0
- package/dist/collection/components/views/tet-tv-program/utils/fill-program-gaps.js +44 -0
- package/dist/collection/components/views/tet-tv-program/utils/format-program-start-date.js +13 -0
- package/dist/collection/components/views/tet-tv-program/utils/tooltip-lifecycle.js +132 -0
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/collection/services/api/index.js +1 -0
- package/dist/collection/services/api/services/tv/tv-program-types.js +1 -0
- package/dist/collection/services/api/services/tv/tv-program.js +31 -0
- package/dist/collection/services/utils/date.js +7 -0
- package/dist/collection/services/utils/index.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-p-J7NvGs.js → p-B5ujbvD5.js} +1 -1
- package/dist/components/{p-CgV4zAwQ.js → p-B8pZddqI.js} +1 -1
- package/dist/components/{p-Mpe-2CVQ.js → p-BBNq_Obn.js} +1 -1
- package/dist/components/{p-nKvolHsW.js → p-BCe35fiF.js} +1 -1
- package/dist/components/{p-CPGJg5Si.js → p-BCpsmWJM.js} +1 -1
- package/dist/components/{p-t_FgKIcd.js → p-BKIzl46N.js} +1 -1
- package/dist/components/{p-CMxcvnRv.js → p-BSySZotX.js} +1 -1
- package/dist/components/{p-CSxtbfBJ.js → p-BV6g-luP.js} +1 -1
- package/dist/components/{p-DN2JwXg9.js → p-BcXV5sQw.js} +1 -1
- package/dist/components/{p-DXQ-UeYl.js → p-BdrzH5ar.js} +1 -1
- package/dist/components/{p-CZach5oP.js → p-BnOTR5fm.js} +1 -1
- package/dist/components/{p-BMSAKp34.js → p-BxOwqp0a.js} +1 -1
- package/dist/components/{p-HzogPVbA.js → p-C16rQ6Rb.js} +1 -1
- package/dist/components/{p-BI70OOEF.js → p-C4ul-L9-.js} +1 -1
- package/dist/components/{p-vu71OGLf.js → p-CFyjcGK7.js} +1 -1
- package/dist/components/{p-C32vgbsV.js → p-CHCXv4yB.js} +1 -1
- package/dist/components/{p-BmH_7-IQ.js → p-CLWLTBE0.js} +1 -1
- package/dist/components/{p-B60jnxEn.js → p-CMSs7Ay5.js} +1 -1
- package/dist/components/{p-CvUaogvc.js → p-CNTMOgMT.js} +1 -1
- package/dist/components/{p-Lpb2mgqh.js → p-CPY7aG_q.js} +1 -1
- package/dist/components/p-CT0JjXhe.js +1 -0
- package/dist/components/{p-C-sZ3Bzu.js → p-CVthBaQt.js} +1 -1
- package/dist/components/{p-C4uKGuRj.js → p-C_hP1fqX.js} +1 -1
- package/dist/components/{p-Bw-D7nPx.js → p-CaHY4mtM.js} +1 -1
- package/dist/components/{p-CwZljiBM.js → p-CgWcN6ca.js} +1 -1
- package/dist/components/{p-DKZxpjnL.js → p-CqSiuKpc.js} +1 -1
- package/dist/components/{p-CF15dAPd.js → p-CtcmUD5r.js} +1 -1
- package/dist/components/{p-Bc4oqt_L.js → p-CushMMdv.js} +1 -1
- package/dist/components/{p-C61jDpta.js → p-D5J-pubV.js} +1 -1
- package/dist/components/{p-B5HqUnpw.js → p-D6zXaWBn.js} +1 -1
- package/dist/components/{p-BrPUjt5B.js → p-D8V6RYb0.js} +1 -1
- package/dist/components/{p-Bho4Xl9R.js → p-DAZQBXWo.js} +1 -1
- package/dist/components/{p-DikHJHTd.js → p-DAjLPYxx.js} +1 -1
- package/dist/components/{p-BztqMLE1.js → p-DD5q1beS.js} +1 -1
- package/dist/components/{p-CDUvchOX.js → p-DEasZUte.js} +1 -1
- package/dist/components/{p-C9dDgHzh.js → p-DEjrxfHh.js} +1 -1
- package/dist/components/{p-B1d6HEqd.js → p-DIDgNN8z.js} +1 -1
- package/dist/components/{p-Cdi7KDBd.js → p-DIyhqSTP.js} +1 -1
- package/dist/components/p-DPGMd9pW.js +1 -0
- package/dist/components/{p-CJnk1Plz.js → p-DSO2W8wX.js} +1 -1
- package/dist/components/p-D_ZrduSw.js +8 -0
- package/dist/components/{p-Czx7ardH.js → p-DopPk-Ix.js} +1 -1
- package/dist/components/{p-CYMnJi7q.js → p-DyY_BOZd.js} +1 -1
- package/dist/components/{p-B-1KdQSL.js → p-DzJunF5n.js} +1 -1
- package/dist/components/{p-lEX8wezw.js → p-IyO0AtW2.js} +1 -1
- package/dist/components/{p-o4S5jRzK.js → p-JSqvRN9t.js} +1 -1
- package/dist/components/{p-D8avEs-F.js → p-Jl97CICe.js} +1 -1
- package/dist/components/{p-mVj43aKR.js → p-PMDuFwdO.js} +1 -1
- package/dist/components/p-PuQGb_kZ.js +1 -0
- package/dist/components/{p-DutLsF-O.js → p-RKwM_UoL.js} +1 -1
- package/dist/components/{p-DnPS3TWn.js → p-U1U7KO8M.js} +1 -1
- package/dist/components/p-WTP67GQt.js +1 -0
- package/dist/components/{p-Bsqoxd9G.js → p-WvkszOBK.js} +1 -1
- package/dist/components/{p-BcVrianM.js → p-Zd3FJ-E9.js} +1 -1
- package/dist/components/{p-BD6bBnqr.js → p-h65iKcGh.js} +1 -1
- package/dist/components/{p-Cb2bEUmu.js → p-kj9GRPBV.js} +1 -1
- package/dist/components/{p-44eECwiT.js → p-nu13atxU.js} +1 -1
- package/dist/components/{p-DgT79UG-.js → p-o3DB-jeO.js} +1 -1
- package/dist/components/p-rItngdC7.js +1 -0
- package/dist/components/{p-B9bE6qY-.js → p-raVwRdrn.js} +1 -1
- package/dist/components/{p-sgozlrhg.js → p-tV8a7IEe.js} +1 -1
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-v2.js +1 -1
- package/dist/components/tet-address-offers-view-v2.js +1 -1
- package/dist/components/tet-address-offers-view.js +1 -1
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-assembler.js +1 -1
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +1 -1
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +1 -1
- package/dist/components/tet-banner-nav.js +1 -1
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +1 -1
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +1 -1
- package/dist/components/tet-business-summary-card.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +1 -1
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +1 -1
- package/dist/components/tet-cloud-configurator.js +1 -1
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +1 -1
- package/dist/components/tet-compare-card-v3.js +1 -1
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +1 -1
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-countdown.js +1 -1
- package/dist/components/tet-counter.js +1 -1
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +1 -1
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +1 -1
- package/dist/components/tet-divider.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +1 -1
- package/dist/components/tet-expandable-input.js +1 -1
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +1 -1
- package/dist/components/tet-filter.js +1 -1
- package/dist/components/tet-floating-block.js +1 -1
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-menu-mobile.js +1 -1
- package/dist/components/tet-menu.js +1 -1
- package/dist/components/tet-mini-compare-card.js +1 -1
- package/dist/components/tet-multi-step-dialog.js +1 -1
- package/dist/components/tet-navigation-mobile.js +1 -1
- package/dist/components/tet-news-card-list.js +1 -1
- package/dist/components/tet-news-card.js +1 -1
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-paginator.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio-blocks.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-round-stepper.js +1 -1
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +1 -1
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-sticky-offer.js +1 -1
- package/dist/components/tet-support-search.js +1 -1
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +1 -1
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-text.js +1 -1
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v3.js +1 -1
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-program-channel-picker.js +1 -1
- package/dist/components/tet-tv-program-date-picker.js +1 -1
- package/dist/components/tet-tv-program-item.d.ts +11 -0
- package/dist/components/tet-tv-program-item.js +1 -0
- package/dist/components/tet-tv-program-schedule.d.ts +11 -0
- package/dist/components/tet-tv-program-schedule.js +1 -0
- package/dist/components/tet-tv-program.js +1 -1
- package/dist/esm/format-program-start-date-BTxL4Knq.js +148 -0
- package/dist/esm/{http-codes-CHPW8K5J.js → http-codes-DxBVAMp_.js} +2 -1
- package/dist/esm/{index-gA3_LS77.js → index-BlxQHXlF.js} +21 -13
- package/dist/esm/{index-BzVLx-ae.js → index-Cl1zJLqR.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{product-comparison-09p7FlLY.js → product-comparison-CIa1tZy1.js} +1 -1
- package/dist/esm/{service-availability-services-DHbWTGBw.js → service-availability-services-DR0G7lAz.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +8 -8
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
- package/dist/esm/tet-address-offers-v2.entry.js +5 -5
- package/dist/esm/tet-address-offers-view-v2.entry.js +5 -5
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_3.entry.js +6 -6
- package/dist/esm/tet-address-search_2.entry.js +7 -7
- package/dist/esm/tet-assembler_3.entry.js +4 -4
- package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
- package/dist/esm/tet-autocomplete_2.entry.js +2 -2
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +6 -6
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +2 -2
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +3 -3
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +5 -5
- package/dist/esm/tet-carousel.entry.js +9 -9
- package/dist/esm/{tet-checkbox_3.entry.js → tet-checkbox_2.entry.js} +2 -453
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +5 -5
- package/dist/esm/tet-compare-card-v2.entry.js +3 -3
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.entry.js +5 -5
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-countdown.entry.js +2 -2
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
- package/dist/esm/tet-datepicker.entry.js +5 -5
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- package/dist/esm/tet-feedback-form.entry.js +3 -3
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +2 -2
- package/dist/esm/tet-fonts.entry.js +2 -2
- package/dist/esm/tet-grid.entry.js +2 -2
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-mini-compare-card.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
- package/dist/esm/tet-navigation-mobile.entry.js +6 -6
- package/dist/esm/tet-news-card-list.entry.js +2 -2
- package/dist/esm/tet-news-card.entry.js +2 -2
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-paginator.entry.js +4 -4
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio_2.entry.js +3 -3
- package/dist/esm/tet-range-slider.entry.js +8 -8
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +3 -3
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-spinner.entry.js +4 -4
- package/dist/esm/tet-stepper-input.entry.js +4 -4
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-sticky-offer.entry.js +2 -2
- package/dist/esm/tet-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +5 -5
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/tet-tooltip.entry.js +454 -0
- package/dist/esm/tet-tv-program-channel-picker_3.entry.js +1461 -0
- package/dist/esm/tet-tv-program-item.entry.js +215 -0
- package/dist/esm/tet-tv-program-placeholders-6PnHO3Vt.js +19 -0
- package/dist/esm/tet-tv-program.entry.js +642 -3
- package/dist/esm/{translations-CLCWF8K_.js → translations-CpmeCaXU.js} +1 -1
- package/dist/tet-components/{p-1af6b8cb.entry.js → p-00383c63.entry.js} +1 -1
- package/dist/tet-components/{p-7c1dd176.entry.js → p-01b6e854.entry.js} +1 -1
- package/dist/tet-components/{p-0744b479.entry.js → p-0364bd08.entry.js} +1 -1
- package/dist/tet-components/{p-13550c14.entry.js → p-07719feb.entry.js} +1 -1
- package/dist/tet-components/{p-6a3891bf.entry.js → p-090b1ee9.entry.js} +1 -1
- package/dist/tet-components/{p-6800ae9e.entry.js → p-0bc383b2.entry.js} +1 -1
- package/dist/tet-components/p-13029731.entry.js +1 -0
- package/dist/tet-components/{p-aa0b655b.entry.js → p-144a817d.entry.js} +1 -1
- package/dist/tet-components/{p-ae31acd5.entry.js → p-14fe8c03.entry.js} +1 -1
- package/dist/tet-components/{p-57d07760.entry.js → p-16f75f0c.entry.js} +1 -1
- package/dist/tet-components/{p-0e021d89.entry.js → p-18c6bad0.entry.js} +1 -1
- package/dist/tet-components/p-197d157d.entry.js +1 -0
- package/dist/tet-components/{p-e88e50e6.entry.js → p-222d6593.entry.js} +1 -1
- package/dist/tet-components/{p-bc73adcc.entry.js → p-22ea8015.entry.js} +1 -1
- package/dist/tet-components/{p-484266ca.entry.js → p-23e33f99.entry.js} +1 -1
- package/dist/tet-components/{p-9d612283.entry.js → p-248957cf.entry.js} +1 -1
- package/dist/tet-components/{p-b370c444.entry.js → p-2a5e14d3.entry.js} +1 -1
- package/dist/tet-components/{p-7d62e8e0.entry.js → p-2eee7043.entry.js} +1 -1
- package/dist/tet-components/{p-0d0de163.entry.js → p-2ff74667.entry.js} +1 -1
- package/dist/tet-components/{p-32983951.entry.js → p-35228f86.entry.js} +1 -1
- package/dist/tet-components/{p-db92c865.entry.js → p-359ddd3d.entry.js} +1 -1
- package/dist/tet-components/{p-1ce9b751.entry.js → p-394504cc.entry.js} +1 -1
- package/dist/tet-components/p-3a242ce0.entry.js +1 -0
- package/dist/tet-components/{p-827abc22.entry.js → p-3a99d267.entry.js} +1 -1
- package/dist/tet-components/{p-231dde32.entry.js → p-3f254745.entry.js} +1 -1
- package/dist/tet-components/{p-73a66398.entry.js → p-429d9d2c.entry.js} +1 -1
- package/dist/tet-components/p-45573d70.entry.js +1 -0
- package/dist/tet-components/{p-c5068d10.entry.js → p-4aab89f2.entry.js} +1 -1
- package/dist/tet-components/{p-2884891b.entry.js → p-4b6daee6.entry.js} +1 -1
- package/dist/tet-components/{p-e45dab2b.entry.js → p-52a679f8.entry.js} +1 -1
- package/dist/tet-components/{p-17f8270f.entry.js → p-537e043d.entry.js} +1 -1
- package/dist/tet-components/{p-039121d4.entry.js → p-549fc480.entry.js} +1 -1
- package/dist/tet-components/{p-f73c5481.entry.js → p-645519ea.entry.js} +1 -1
- package/dist/tet-components/{p-0bd6e06e.entry.js → p-6a39e30f.entry.js} +1 -1
- package/dist/tet-components/{p-c321199b.entry.js → p-6d5bb64b.entry.js} +1 -1
- package/dist/tet-components/p-71918ee5.entry.js +1 -0
- package/dist/tet-components/{p-675387bc.entry.js → p-73ba2953.entry.js} +1 -1
- package/dist/tet-components/{p-e7c43c95.entry.js → p-80179dc9.entry.js} +1 -1
- package/dist/tet-components/{p-7672a3cf.entry.js → p-84835070.entry.js} +1 -1
- package/dist/tet-components/{p-0026968d.entry.js → p-85704684.entry.js} +1 -1
- package/dist/tet-components/{p-72c54f04.entry.js → p-8c129c83.entry.js} +1 -1
- package/dist/tet-components/{p-845419ea.entry.js → p-8dd9bde1.entry.js} +1 -1
- package/dist/tet-components/{p-9f8c0d62.entry.js → p-8df51fe3.entry.js} +1 -1
- package/dist/tet-components/{p-16282657.entry.js → p-8f708ddc.entry.js} +1 -1
- package/dist/tet-components/{p-8424ddb6.entry.js → p-94bf94ea.entry.js} +1 -1
- package/dist/tet-components/{p-af7f7020.entry.js → p-984c1332.entry.js} +1 -1
- package/dist/tet-components/{p-ff164570.entry.js → p-994b8b7f.entry.js} +1 -1
- package/dist/tet-components/{p-324d8840.entry.js → p-9d5f14db.entry.js} +1 -1
- package/dist/tet-components/{p-25c80589.entry.js → p-9dd85372.entry.js} +1 -1
- package/dist/tet-components/{p-7d218d65.entry.js → p-9e0845ff.entry.js} +1 -1
- package/dist/tet-components/{p-AT09y63b.js → p-B3oUiyJ_.js} +1 -1
- package/dist/tet-components/p-BTo8T4K7.js +1 -0
- package/dist/tet-components/p-BTxL4Knq.js +1 -0
- package/dist/tet-components/{p-gA3_LS77.js → p-BlxQHXlF.js} +1 -1
- package/dist/tet-components/p-C2_Y9hR8.js +8 -0
- package/dist/tet-components/{p-ChdlTQSF.js → p-Cu_nZUjB.js} +1 -1
- package/dist/tet-components/{p-nYl-0ap-.js → p-Du1r7fBd.js} +1 -1
- package/dist/tet-components/{p-a91c8e30.entry.js → p-a1e75f54.entry.js} +1 -1
- package/dist/tet-components/{p-22db539b.entry.js → p-a672882d.entry.js} +1 -1
- package/dist/tet-components/{p-c778dbd4.entry.js → p-a8c5f562.entry.js} +1 -1
- package/dist/tet-components/{p-0e9201e6.entry.js → p-aa0626f1.entry.js} +1 -1
- package/dist/tet-components/{p-73acf518.entry.js → p-aab954fd.entry.js} +1 -1
- package/dist/tet-components/{p-76be889b.entry.js → p-adabdd88.entry.js} +1 -1
- package/dist/tet-components/{p-a9706390.entry.js → p-af2bed0c.entry.js} +1 -1
- package/dist/tet-components/{p-1ed0c66f.entry.js → p-b1f8889c.entry.js} +1 -1
- package/dist/tet-components/{p-12fe3881.entry.js → p-b36bd5ee.entry.js} +1 -1
- package/dist/tet-components/{p-2be883e9.entry.js → p-b8c728a3.entry.js} +1 -1
- package/dist/tet-components/{p-b389b07a.entry.js → p-b9892cf7.entry.js} +1 -1
- package/dist/tet-components/{p-0e4129ea.entry.js → p-bc53afc8.entry.js} +1 -1
- package/dist/tet-components/{p-8b7bbbbf.entry.js → p-bfc1d731.entry.js} +1 -1
- package/dist/tet-components/{p-318947f9.entry.js → p-c32a7bb6.entry.js} +1 -1
- package/dist/tet-components/{p-7dfd519c.entry.js → p-c577fcf2.entry.js} +1 -1
- package/dist/tet-components/{p-3dd266f3.entry.js → p-c5fa28a5.entry.js} +1 -1
- package/dist/tet-components/{p-4a21fdfb.entry.js → p-c6266e47.entry.js} +1 -1
- package/dist/tet-components/{p-8b2edb99.entry.js → p-c6dcceb2.entry.js} +1 -1
- package/dist/tet-components/{p-19cb8e38.entry.js → p-c7c9c272.entry.js} +1 -1
- package/dist/tet-components/{p-9ab815b3.entry.js → p-cafa6809.entry.js} +1 -1
- package/dist/tet-components/{p-467663a9.entry.js → p-cbb61a78.entry.js} +1 -1
- package/dist/tet-components/{p-e59ec4c3.entry.js → p-d19565db.entry.js} +1 -1
- package/dist/tet-components/{p-0b122cc1.entry.js → p-d5212455.entry.js} +1 -1
- package/dist/tet-components/p-d5b8d06c.entry.js +1 -0
- package/dist/tet-components/{p-f8aa1f9b.entry.js → p-d770c106.entry.js} +1 -1
- package/dist/tet-components/{p-340c3e79.entry.js → p-d875735c.entry.js} +1 -1
- package/dist/tet-components/{p-daa8ca5c.entry.js → p-d94f8fc5.entry.js} +1 -1
- package/dist/tet-components/{p-ebd66166.entry.js → p-ddcaa280.entry.js} +1 -1
- package/dist/tet-components/{p-7b98b883.entry.js → p-ddfa57fd.entry.js} +1 -1
- package/dist/tet-components/{p-e9e288f6.entry.js → p-eb487864.entry.js} +1 -1
- package/dist/tet-components/{p-03b6c7a2.entry.js → p-ef89dc8a.entry.js} +1 -1
- package/dist/tet-components/{p-8329cd9d.entry.js → p-f378220c.entry.js} +1 -1
- package/dist/tet-components/p-f459c748.entry.js +1 -0
- package/dist/tet-components/{p-a2e40f04.entry.js → p-f490d4a6.entry.js} +1 -1
- package/dist/tet-components/{p-ac515335.entry.js → p-f675b69e.entry.js} +1 -1
- package/dist/tet-components/{p-f53d2d9f.entry.js → p-f7a06231.entry.js} +1 -1
- package/dist/tet-components/{p-Th74Kc5K.js → p-qSX0mu28.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/views/tet-tv-program/components/tet-tv-program-channel-picker/tet-tv-program-channel-picker.d.ts +9 -13
- package/dist/types/components/views/tet-tv-program/components/tet-tv-program-date-picker/tet-tv-program-date-picker.d.ts +1 -3
- package/dist/types/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.d.ts +62 -0
- package/dist/types/components/views/tet-tv-program/components/tet-tv-program-item/tet-tv-program-item.mock.d.ts +2 -0
- package/dist/types/components/views/tet-tv-program/components/tet-tv-program-schedule/tet-tv-program-schedule.d.ts +174 -0
- package/dist/types/components/views/tet-tv-program/test/mock-schedule-layout.d.ts +4 -0
- package/dist/types/components/views/tet-tv-program/tet-tv-program-placeholders.d.ts +2 -0
- package/dist/types/components/views/tet-tv-program/tet-tv-program.d.ts +96 -0
- package/dist/types/components/views/tet-tv-program/tet-tv-program.types.d.ts +30 -0
- package/dist/types/components/views/tet-tv-program/utils/broadcast-time.d.ts +14 -0
- package/dist/types/components/views/tet-tv-program/utils/fill-program-gaps.d.ts +3 -0
- package/dist/types/components/views/tet-tv-program/utils/format-program-start-date.d.ts +1 -0
- package/dist/types/components/views/tet-tv-program/utils/tooltip-lifecycle.d.ts +22 -0
- package/dist/types/components.d.ts +339 -6
- package/dist/types/services/api/index.d.ts +2 -0
- package/dist/types/services/api/services/tv/tv-program-types.d.ts +46 -0
- package/dist/types/services/api/services/tv/tv-program.d.ts +7 -0
- package/dist/types/services/utils/date.d.ts +2 -0
- package/dist/types/services/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/tet-tv-program-channel-picker_2.cjs.entry.js +0 -536
- package/dist/components/p-Br4jWI9B.js +0 -8
- package/dist/components/p-DrFW6lxe.js +0 -1
- package/dist/components/p-Q3NUC_eC.js +0 -1
- package/dist/esm/tet-tv-program-channel-picker_2.entry.js +0 -533
- package/dist/tet-components/p-3a573d6e.entry.js +0 -1
- package/dist/tet-components/p-CNGb2lWC.js +0 -8
- package/dist/tet-components/p-aea861c9.entry.js +0 -1
- package/dist/tet-components/p-b21b4329.entry.js +0 -1
- package/dist/tet-components/p-c102d7e8.entry.js +0 -1
- package/dist/tet-components/p-dabdfe62.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t,e,f as r,h as a,F as n,H as i}from"./p-gA3_LS77.js";import{t as l,p as s}from"./p-ChdlTQSF.js";import{e as c,A as u}from"./p-CNGb2lWC.js";import"./p-Bvqcvhjw.js";var d,m,f;!function(o){o.SMALL="small",o.AVERAGE="average",o.LARGE="large",o.INDIVIDUAL="custom"}(d||(d={})),function(o){o.HOURLY="hourly",o.MONTHLY="monthly"}(m||(m={})),function(o){o.V_CPU="vcpu",o.V_RAM="vram",o.STORAGE="storage",o.EXTRA_STORAGE="extra-storage",o.LICENSE="license",o.MS_LICENSE="ms_license",o.BANDWIDTH="bandwidth"}(f||(f={}));const g={v_cpu_standard:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_cpu_performance:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_ram:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0}],storage_bronze:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_silver:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_gold:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_platinum:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_backup:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_object:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],license_windows:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],license_veeam:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_rds:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_dc_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_professional_plus:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],cis_suite_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],project_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sharepoint_server:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],bandwidth_ip:[{name:"components-cloud-configurator-unit-ip",value:1,default:!0}],bandwidth_capacity:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],ddos_protection_bandwidth:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],bandwidth_router:[{name:"components-cloud-configurator-unit-nsx-router",value:1,default:!0},{name:"components-cloud-configurator-unit-not-required",value:0}]},p={storage_bronze:"components-cloud-configurator-unit-of-measure",storage_silver:"components-cloud-configurator-unit-of-measure",storage_gold:"components-cloud-configurator-unit-of-measure",storage_platinum:"components-cloud-configurator-unit-of-measure",storage_backup:"components-cloud-configurator-unit-of-measure",storage_object:"components-cloud-configurator-unit-of-measure",bandwidth_router:"components-cloud-configurator-select-device"},h={[f.V_CPU]:"components-cloud-configurator-summary-group-vcpu",[f.V_RAM]:"components-cloud-configurator-summary-group-vram",[f.STORAGE]:"components-cloud-configurator-summary-group-storage",[f.EXTRA_STORAGE]:"components-cloud-configurator-summary-group-extra-storage",[f.LICENSE]:"components-cloud-configurator-summary-group-license",[f.MS_LICENSE]:"components-cloud-configurator-summary-group-ms-license",[f.BANDWIDTH]:"components-cloud-configurator-summary-group-bandwidth"},_=["v_cpu_standard","v_cpu_performance","v_ram","storage_bronze","storage_silver","storage_gold","storage_platinum","storage_backup","storage_object","license_windows","license_veeam","sql_server_standard_core","win_rds","win_server_standard_core","win_server_dc_core","sql_server_standard","office_standard","office_professional_plus","cis_suite_standard_core","project_standard","sharepoint_server","bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_enabled","ddos_protection_bandwidth"];function y(o){const t={};for(const e of _)t[e]=o[e];return t}function b(o){const t=g[o];if(t)return t.forEach((o=>{o.name=l(o.name)})),t}function w(o){const t=p[o];if(t)return l(t)}function v(o){const t=b(o);if(t)return t.find((o=>o.default))}function x(o,t){return o.toFixed(t===m.MONTHLY?2:8).replace(".",",")}const k=async()=>{let o;try{o=new URL(c.cloudConfigurator).href}catch(o){return console.error(o),Promise.reject("Cloud Configurator endpoint URL generation failed.")}const t=(new u).setUrl(o).setOptions({method:"GET"}).setErrorFallbackValue([]);return await t.execute()},G=class{constructor(e){o(this,e),this.cloudCalculatorSubmit=t(this,"cloudCalculatorSubmit")}get root(){return e(this)}headerObserver;footerObserver=new IntersectionObserver((([o])=>{this.isFloatingSummary=0===o.intersectionRatio}));fields=null;language="lv";containerSelector="";theme="light";selectOnFocus;isLoading=!0;headerRef;footerRef;formValues={};selectedTab=d.SMALL;selectedPeriod=m.MONTHLY;isFloatingSummary=!1;isListExpanded=!1;parentElement;cloudCalculatorSubmit;async componentWillLoad(){this.parentElement=this.containerSelector?document.querySelector(this.containerSelector):this.root.parentElement,this.headerObserver=new IntersectionObserver((([o])=>{0!==o.intersectionRatio&&o.target.classList.toggle("header--is-pinned",o.intersectionRatio<1)}),{rootMargin:`-${this.parentElement.offsetTop+1}px 0px 0px 0px`,root:document,threshold:1}),this.fetchData()}onisLoadingChange(o){o||this.setDefaultValues()}onHeaderRefChange(o){o&&(this.headerRef.style.top=this.parentElement.offsetTop-1+"px",this.headerObserver.observe(this.headerRef))}onFooterRefChange(o){o&&this.footerObserver.observe(this.footerRef)}onSelectedTabChange(){this.setDefaultValues()}async onLanguageChange(o){await s("cloud-calculator",o),r(this)}onTabSelected=o=>{this.selectedTab=o.detail.new};onExpandableListToggle=()=>{this.isListExpanded=!this.isListExpanded};onSummaryPeriodChange=o=>{this.selectedPeriod=o.detail.value};onDdosProtectionEnabledCheck=o=>{const{checked:t}=o.detail;this.formValues.ddos_protection_enabled.value=t?1:0,this.setDefaultValue("bandwidth_capacity"),this.setDefaultValue("ddos_protection_bandwidth"),this.formValues={...this.formValues}};onNumberValueChanged=(o,t)=>{const{min:e}=this.fields[t],r=this.formValues[t];let a=o.value;o.suffix||(o.suffix=v(t)),r?.suffix?.value!==o.suffix.value&&(a=0===o.suffix.value?0:e);const n=this.getPrices(t,a,o.suffix);this.formValues[t]={...r,value:a,suffix:o.suffix,...n},this.formValues={...this.formValues}};onFormSubmit=()=>{const o=y(this.formValues),t=this.formValues.ddos_protection_enabled?.value;t?delete o.bandwidth_capacity:delete o.ddos_protection_bandwidth;const e={formValues:o,totals:this.getTotals()};this.cloudCalculatorSubmit.emit(e)};fetchData=async()=>{const o=await Promise.all([k(),s("cloud-calculator",this.language)]);this.fields=o[0],this.isLoading=!1};setDefaultValues=()=>{for(const o of Object.keys(this.fields))this.setDefaultValue(o);const o=y(this.formValues);this.formValues={...o},this.root.shadowRoot.querySelectorAll("tet-number-input").forEach((o=>o.resetSuffix()))};setDefaultValue=o=>{const t=this.fields[o],e=t.default[this.selectedTab]||t.min,r=v(t.key),a=this.getPrices(t.key,e,r);this.formValues[t.key]={key:t.key,value:e,title:t.name.lv,groupKey:t.group,groupName:l(h[t.group]),...a,suffix:v(t.key)}};getFieldKeysByGroup(o){return Object.values(this.fields).filter((t=>t.group===o)).map((o=>o.key))}getTotals(){const o=!!this.formValues.ddos_protection_enabled?.value,t={hourly:0,monthly:0};for(const e of Object.values(this.formValues))"bandwidth_capacity"===e.key&&o||("ddos_protection_bandwidth"!==e.key||o)&&(t.hourly+=e.hourly,t.monthly+=e.monthly);return t}getPrices(o,t,e){const{priceHourly:r,priceMonthly:a}=this.fields[o];let n=1;return e?.value&&(n=e.value),"bandwidth_ip"===o?{monthly:(t-1)*a*n,hourly:(t-1)*r*n}:{monthly:t*a*n,hourly:t*r*n}}getMinValue(o){const t=this.fields[o],e=this.formValues[o];return t?0===e?.suffix?.value?0:t.min:null}getMaxValue(o){const t=this.fields[o],e=this.formValues[o];return t&&e?e.suffix?t.max/e.suffix.value:t.max:null}getLabel(o){if(["v_ram"].includes(o))return null;const t=this.fields[o];return t?t.name[this.language]:null}getHelperText(o){const t=this.fields[o];return t?t.description[this.language]:null}renderTitle=()=>a(n,null,a("p",{class:"content__subtitle"},l(`components-cloud-configurator-${this.selectedTab}-subtitle`)));renderNumberInput(o,t){return!0===t?.hidden?null:a("div",{class:"form__input"},a("tet-number-input",{min:this.getMinValue(o),max:this.getMaxValue(o),label:this.getLabel(o),"accessibility-label":this.getHelperText(o),"button-accessibility-label":w(o),helperText:this.getHelperText(o),value:this.formValues[o]?.value,disabled:t?.disabled,suffixes:b(o),onInputValueChanged:t=>this.onNumberValueChanged(t.detail,o),selectOnFocus:this.selectOnFocus,theme:this.theme}))}renderExpandableItem(o){const t=this.fields[o];return a("div",{class:"expandable-item"},a("div",{class:"expandable-item__description"},a("div",{class:"expandable-item__title"},t.name[this.language]),a("div",{class:"expandable-item__helper"},t.description[this.language])),a("tet-stepper-input",{min:this.getMinValue(o),max:this.getMaxValue(o),step:1,value:this.formValues[o]?.value,language:this.language,onInputValueChanged:t=>this.onNumberValueChanged({value:t.detail},o),selectOnFocus:this.selectOnFocus,"accessibility-label":t.name[this.language],theme:this.theme}))}renderSummaryTable(){return a("div",{class:"summary-table"},this.renderSummaryRow(f.V_CPU,null,`x ${l("components-cloud-configurator-unit-cores")}`),this.renderSummaryRow(f.V_RAM),this.renderSummaryRow(f.STORAGE),this.renderSummaryRow(f.EXTRA_STORAGE),this.renderSummaryRow(f.LICENSE),this.renderSummaryRow(f.MS_LICENSE,null,l("components-cloud-configurator-unit-pieces")),this.renderSummaryRow(f.BANDWIDTH,["bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_bandwidth"]))}renderSummaryRow(o,t,e){let r,n=h[o];if(r=t||this.getFieldKeysByGroup(o),o===f.BANDWIDTH&&(r=r.filter((o=>"ddos_protection_enabled"!==o)),this.formValues.ddos_protection_enabled?.value?(r=r.filter((o=>"bandwidth_capacity"!==o)),n="components-cloud-configurator-group-bandwidth-ddos"):r=r.filter((o=>"ddos_protection_bandwidth"!==o))),!Object.entries(this.fields).some((o=>r.includes(o[0]))))return null;const i=[a("div",{class:"summary-table__header"},l(n))];let s=!0;for(const o of r){const t=this.formValues[o];if(!this.fields[o]||!t||!t[this.selectedPeriod])continue;s||i.push(a("div",{class:"summary-table__header"}));const r=this.getLabel(o),n=e||t.suffix?.name;i.push(a("div",{class:"summary-table__label"},!!r&&a("span",null,`${r},`),a("span",null,`${t?.value}${n}`)));const c=t[this.selectedPeriod]||0,u=l(this.selectedPeriod===m.MONTHLY?"components-cloud-configurator-price-suffix-montly":"components-cloud-configurator-price-suffix-hourly");i.push(a("div",{class:"summary-table__value"},`${x(c,this.selectedPeriod)} ${u}`)),s=!1}return 1===i.length?null:a("div",{class:"summary-table__row"},i.map((o=>o)))}renderFloatingSummary(){const o=this.getFieldKeysByGroup(f.V_CPU),t=this.getFieldKeysByGroup(f.V_RAM),e=this.getFieldKeysByGroup(f.STORAGE),r=this.getFieldKeysByGroup(f.EXTRA_STORAGE),n=this.getFieldKeysByGroup(f.LICENSE),i=this.getFieldKeysByGroup(f.BANDWIDTH),s=this.getFieldKeysByGroup(f.MS_LICENSE),c=Object.values(this.formValues),u=c.reduce(((r,a)=>(o.includes(a.key)?r.cpu+=a.value:t.includes(a.key)?r.ram+=a.value:e.includes(a.key)&&(r.storage+=a.value*(a.suffix?.value||1)),r)),{cpu:0,ram:0,storage:0});let d=0;c.some((o=>n.includes(o.key)&&o.value))&&(d+=1),c.some((o=>i.includes(o.key)&&o.value))&&(d+=1),c.some((o=>s.includes(o.key)&&o.value))&&(d+=1),c.some((o=>r.includes(o.key)&&o.value))&&(d+=1);const m=this.getTotals();return a("div",{class:"floating-summary__container"},this.isFloatingSummary&&a("div",{class:"floating-summary__count"},a("span",{class:"floating-summary__count--item"},`${u.cpu} ${l("components-cloud-configurator-summary-cpu")},`),a("span",{class:"floating-summary__count--item"},`${u.ram} ${l("components-cloud-configurator-unit-gigabyte")} ${l("components-cloud-configurator-summary-ram")},`),a("span",{class:"floating-summary__count--break"}),a("span",{class:"floating-summary__count--item"},`${u.storage} ${l("components-cloud-configurator-unit-gigabyte")} ${l("components-cloud-configurator-summary-storage")}`),a("span",{class:"floating-summary__count--other"},`+${d}`)),a("div",{class:"floating-summary__sum"},a("span",{class:"floating-summary__sum--label"},`${l("components-cloud-configurator-summary-sum")}:`),a("span",{class:"floating-summary__sum--value"},`${x(m[this.selectedPeriod],this.selectedPeriod)} ${l("components-cloud-configurator-price-unit")}`)))}renderPlaceholder(){return a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:"content"},a("div",{class:"content__title"},a("tet-placeholder",{width:"90%",height:"1.75rem",darkTheme:"dark"===this.theme})),a("div",{class:"content__subtitle"},a("tet-placeholder",{width:"100%",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme}))),a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"})))),a("div",{class:"header",part:"header"},a("div",{class:"inner-wrapper"},a("tet-placeholder",{width:"25.5rem",height:"2.875rem",darkTheme:"dark"===this.theme})))))}render(){return this.isLoading?this.renderPlaceholder():a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:{header:!0,[this.theme]:!!this.theme},part:"header",ref:o=>this.headerRef=o},a("div",{class:"inner-wrapper"},a("tet-tab-header",{class:"header__segment-switch",segmented:!0,position:"center",defaultTab:"small",theme:this.theme,onTabSelected:this.onTabSelected},a("button",{"data-name":d.SMALL},a("p",null,l("components-cloud-configurator-type-small"))),a("button",{"data-name":d.AVERAGE},a("p",null,l("components-cloud-configurator-type-average"))),a("button",{"data-name":d.LARGE},a("p",null,l("components-cloud-configurator-type-large"))),a("button",{"data-name":d.INDIVIDUAL},a("p",null,l("components-cloud-configurator-type-custom")))))),a("div",{class:"content",part:"content"},this.renderTitle(),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-vcpu")),this.renderNumberInput("v_cpu_standard"),this.renderNumberInput("v_cpu_performance")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-vram")),this.renderNumberInput("v_ram"),a("div",{class:"form__input"})),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-storage")),this.renderNumberInput("storage_bronze"),this.renderNumberInput("storage_silver"),this.renderNumberInput("storage_gold"),this.renderNumberInput("storage_platinum")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-extra-storage")),this.renderNumberInput("storage_backup"),this.renderNumberInput("storage_object")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-license")),this.renderNumberInput("license_windows"),this.renderNumberInput("license_veeam")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-ms-license")),a("div",{class:{"expandable-list":!0,expanded:this.isListExpanded}},this.renderExpandableItem("sql_server_standard_core"),this.renderExpandableItem("win_rds"),this.renderExpandableItem("win_server_standard_core"),this.renderExpandableItem("win_server_dc_core"),this.renderExpandableItem("sql_server_standard"),this.renderExpandableItem("office_standard"),this.renderExpandableItem("office_professional_plus"),this.renderExpandableItem("cis_suite_standard_core"),this.renderExpandableItem("project_standard"),this.renderExpandableItem("sharepoint_server"),a("div",{class:"expandable-list__toggle-row"},this.isListExpanded&&a(n,null,a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},l("components-cloud-configurator-ms-license-collapse")," ",a("tet-icon",{name:"tc-chevron-up",theme:this.theme})),a("div",{innerHTML:l("components-cloud-configurator-ms-license-full-list")})),!this.isListExpanded&&a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},l("components-cloud-configurator-ms-license-expand")," ",a("tet-icon",{name:"tc-chevron-down",theme:this.theme}))))),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-bandwidth")),this.renderNumberInput("bandwidth_ip"),this.renderNumberInput("bandwidth_router"),this.renderNumberInput("bandwidth_capacity",{disabled:!0,hidden:Boolean(this.formValues.ddos_protection_enabled?.value)}),this.renderNumberInput("ddos_protection_bandwidth",{hidden:!Boolean(this.formValues.ddos_protection_enabled?.value)}),a("div",{class:"form__input"}),a("div",{class:"form__checkbox"},a("tet-checkbox",{label:this.getLabel("ddos_protection_enabled"),value:this.formValues.ddos_protection_enabled?.value,checked:!!this.formValues.ddos_protection_enabled?.value,onCheck:this.onDdosProtectionEnabledCheck,theme:this.theme}),a("p",{class:"form__checkbox-helper"},this.getHelperText("ddos_protection_enabled"))))),a("div",{class:"summary",part:"summary"},a("h2",{class:"summary__title"},l("components-cloud-configurator-group-summary")),a("div",{class:"summary__toggle",role:"radiogroup"},a("tet-radio",{name:"summary-period",value:m.MONTHLY,checked:this.selectedPeriod===m.MONTHLY,label:l("components-cloud-configurator-summary-period-monthly"),theme:this.theme,onCheck:this.onSummaryPeriodChange}),a("tet-radio",{name:"summary-period",value:m.HOURLY,checked:this.selectedPeriod===m.HOURLY,label:l("components-cloud-configurator-summary-period-hourly"),theme:this.theme,onCheck:this.onSummaryPeriodChange})),this.renderSummaryTable())),a("div",{class:{"floating-summary":!0,"floating-summary--is-pinned":this.isFloatingSummary},part:"floating-summary"},this.renderFloatingSummary()),a("div",{part:"footer",class:"footer",ref:o=>this.footerRef=o},a("tet-button",{class:"footer__button",size:"large",type:"primary",theme:this.theme,onClick:this.onFormSubmit},l("components-cloud-configurator-submit")))))}static get watchers(){return{isLoading:[{onisLoadingChange:0}],headerRef:[{onHeaderRefChange:0}],footerRef:[{onFooterRefChange:0}],selectedTab:[{onSelectedTabChange:0}],language:[{onLanguageChange:0}]}}};G.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--tet-cloud-calculator-border-radius:none;--tet-cloud-calculator-background-primary-color:var(--tc-background-primary);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary);--tet-cloud-calculator-background-floating-summary:var(--tc-layer-inverse-primary);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-inverse-primary);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey);display:block;height:100%;width:100%}.cloud-configurator{position:relative;border-radius:var(--tet-cloud-calculator-border-radius);background-color:var(--tet-cloud-calculator-background-primary-color);display:flex;flex-direction:column;height:100%;width:100%;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator.dark{--tet-cloud-calculator-background-primary-color:var(--tc-background-primary-dark);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary-dark);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary-dark);--tet-cloud-calculator-background-floating-summary:var(--tc-background-tertiary-dark);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary-dark);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary-dark);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-primary-dark);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary-dark);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary-dark);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey-dark)}.cloud-configurator .header{position:-webkit-sticky;position:sticky;top:0;order:-1;z-index:2;margin:1.75rem 0 0;overflow:hidden;padding-bottom:0.25rem}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.5rem 0.75rem;--tabs-headers-segmented-item-margin:0.25rem 0;--tabs-headers-segmended-item-font:500 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{display:flex;justify-content:center;width:100%;padding:0.75rem 0;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .header--is-pinned .inner-wrapper{-moz-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);-webkit-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1)}.cloud-configurator .content{margin:2.5rem 1rem 0}.cloud-configurator .content__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:center;max-width:29.25rem;margin:0 auto 0.5rem}.cloud-configurator .content__subtitle{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);text-align:center;margin:0 auto 3.5rem;max-width:29.25rem}.cloud-configurator .form{display:flex;flex-direction:column;gap:2.5rem;width:100%}.cloud-configurator .form__group{display:flex;flex-wrap:wrap;row-gap:1.5rem;column-gap:2.5rem;padding-bottom:2rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color);justify-content:center}.cloud-configurator .form__group-label{width:100%;min-width:100%;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .form__input{min-width:15.625rem;max-width:21.875rem;flex:1 1 calc(50% - 1.5rem)}.cloud-configurator .form__input>*{width:100%}.cloud-configurator .form__checkbox{margin-top:0.5rem;padding-left:0.25rem;width:100%}.cloud-configurator .form__checkbox tet-checkbox{padding-left:0.25rem;display:flex}.cloud-configurator .form__checkbox-helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);margin-left:2rem;max-width:36.563rem}.cloud-configurator .expandable-list{display:flex;flex-direction:column;width:100%;gap:0.5rem}.cloud-configurator .expandable-list.expanded .expandable-item:nth-child(n+4){display:flex}.cloud-configurator .expandable-list .expandable-item{display:flex;flex-direction:row;width:100%;padding-bottom:0.5rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .expandable-list .expandable-item:nth-child(n+4){display:none}.cloud-configurator .expandable-list .expandable-item__description{display:flex;flex-direction:column;flex:1}.cloud-configurator .expandable-list .expandable-item__label{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list .expandable-item__helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color)}.cloud-configurator .expandable-list__toggle-row{display:flex;justify-content:space-between;flex-direction:column;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;--icon-size:1.25rem}.cloud-configurator .expandable-list__toggle,.cloud-configurator .expandable-list__link{display:flex;align-items:flex-end;gap:0.25rem;padding:0.5rem 0;text-decoration:underline;cursor:pointer;color:var(--tet-cloud-calculator-text-primary-color);border-color:transparent;background:transparent;font-size:inherit}.cloud-configurator .expandable-list__toggle:visited,.cloud-configurator .expandable-list__link:visited{color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list__toggle:hover,.cloud-configurator .expandable-list__link:hover{color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__toggle:hover tet-icon,.cloud-configurator .expandable-list__link:hover tet-icon{--icon-color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__link tet-icon{padding-bottom:0.125rem;--icon-color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .summary{margin:2.5rem 0 0;padding-bottom:1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{display:flex;gap:1.5rem;padding-bottom:1.5rem;justify-content:flex-start;margin:1.5rem 0 1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary-table{display:grid;grid-template-columns:3fr 1fr;width:100%;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .summary-table__row{display:contents}.cloud-configurator .summary-table__row:nth-child(2n)>*{background-color:var(--tet-cloud-calculator-background-secondary-color)}.cloud-configurator .summary-table__row>*{height:100%;padding-bottom:0.125rem}.cloud-configurator .summary-table__row>*.summary-table__header{padding-left:1rem;padding-bottom:0.5rem}.cloud-configurator .summary-table__row>*.summary-table__label{padding-left:1rem}.cloud-configurator .summary-table__row>*.summary-table__value{padding-right:1rem}.cloud-configurator .summary-table__row>*:nth-child(-n+1){padding-top:0.75rem}.cloud-configurator .summary-table__row>*:nth-last-child(-n+2){padding-bottom:0.75rem}.cloud-configurator .summary-table__header{grid-column:span 2;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap}.cloud-configurator .summary-table__header~.summary-table__header{display:none}.cloud-configurator .summary-table__label{grid-column:1;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:left;color:var(--tet-cloud-calculator-text-secondary-color);white-space:nowrap;min-width:10rem;display:flex;justify-content:flex-start;gap:0.5rem;padding-right:0.5rem}.cloud-configurator .summary-table__label>span:first-of-type{text-overflow:ellipsis;overflow:hidden}.cloud-configurator .summary-table__value{grid-column:2;text-align:right;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap;padding-left:0}.cloud-configurator .floating-summary{display:flex;position:-webkit-sticky;position:sticky;z-index:1;bottom:0;background-color:var(--tet-cloud-calculator-background-primary-color);color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .floating-summary--is-pinned{background-color:var(--tet-cloud-calculator-background-floating-summary);color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary__container{padding:0.5rem 1.5rem;display:flex;flex-direction:row;justify-content:space-between;width:100%}.cloud-configurator .floating-summary__count{display:none;align-items:center}.cloud-configurator .floating-summary--is-pinned .floating-summary__count{display:flex;flex-direction:row;column-gap:0.5rem;flex-wrap:wrap;font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--item{color:var(--tet-cloud-calculator-text-blue-grey)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--other{color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--break{flex-basis:100%;height:0}.cloud-configurator .floating-summary__sum{display:flex;flex-direction:row;gap:0.25rem;align-items:flex-end;flex:1 0 auto;font:400 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__sum--label{margin-left:auto}.cloud-configurator .floating-summary__sum--value{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum--value{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{display:flex;flex-direction:row-reverse;margin:0 1rem 2.5rem;padding-top:1rem}.cloud-configurator .footer__button{--button-width:9.375rem}@media all and (min-width: 31.25rem){.cloud-configurator .content{margin:2.5rem 1.5rem 0}.cloud-configurator .content__title{font:500 2.5rem/3rem Gilroy, Gilroy, Arial, sans-serif}.cloud-configurator .expandable-list__toggle-row{flex-direction:row}.cloud-configurator .footer{margin:0 1.5rem 2.5rem}}@media all and (min-width: 48rem){.cloud-configurator .header{margin:1.5rem 0 0}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.375rem 1.5rem;--tabs-headers-segmended-item-font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{padding:1rem 0}.cloud-configurator .content{margin:2.5rem 2rem 0}.cloud-configurator .footer{margin:0 2rem 2.5rem}.cloud-configurator .form__group{padding-bottom:2.5rem}.cloud-configurator .form__group-label{font:500 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{justify-content:flex-end;margin-top:0.5rem}.cloud-configurator .summary__title{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary-table{display:grid;grid-template-columns:2fr 5fr}.cloud-configurator .summary-table__header{grid-column:1}.cloud-configurator .summary-table__row>*.summary-table__header{padding-bottom:unset}.cloud-configurator .summary-table__row>*:nth-child(-n+3){padding-top:0.75rem}.cloud-configurator .summary-table__header~.summary-table__header{display:block}.cloud-configurator .summary-table__label{grid-column:2;text-align:right;justify-content:flex-end}.cloud-configurator .summary-table__value{grid-column:3}.cloud-configurator .floating-summary{height:4rem}.cloud-configurator .floating-summary__container{padding:1rem 2rem}.cloud-configurator .floating-summary__count{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__count--break{display:none}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{align-items:center}.cloud-configurator .floating-summary__sum{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{padding-top:0.5rem}}@media all and (min-width: 64rem){.cloud-configurator .content{margin:2.5rem 2.5rem 0}.cloud-configurator .footer{margin:0 2.5rem 2.5rem}.cloud-configurator .floating-summary__container{padding:1rem 2.5rem}}';export{G as tet_cloud_configurator}
|
|
1
|
+
import{r as o,c as t,e,f as r,h as a,F as n,H as i}from"./p-BlxQHXlF.js";import{t as l,p as s}from"./p-Cu_nZUjB.js";import{e as c,A as u}from"./p-C2_Y9hR8.js";import"./p-Bvqcvhjw.js";var d,m,f;!function(o){o.SMALL="small",o.AVERAGE="average",o.LARGE="large",o.INDIVIDUAL="custom"}(d||(d={})),function(o){o.HOURLY="hourly",o.MONTHLY="monthly"}(m||(m={})),function(o){o.V_CPU="vcpu",o.V_RAM="vram",o.STORAGE="storage",o.EXTRA_STORAGE="extra-storage",o.LICENSE="license",o.MS_LICENSE="ms_license",o.BANDWIDTH="bandwidth"}(f||(f={}));const g={v_cpu_standard:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_cpu_performance:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_ram:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0}],storage_bronze:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_silver:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_gold:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_platinum:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_backup:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_object:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],license_windows:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],license_veeam:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_rds:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_dc_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_professional_plus:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],cis_suite_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],project_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sharepoint_server:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],bandwidth_ip:[{name:"components-cloud-configurator-unit-ip",value:1,default:!0}],bandwidth_capacity:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],ddos_protection_bandwidth:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],bandwidth_router:[{name:"components-cloud-configurator-unit-nsx-router",value:1,default:!0},{name:"components-cloud-configurator-unit-not-required",value:0}]},p={storage_bronze:"components-cloud-configurator-unit-of-measure",storage_silver:"components-cloud-configurator-unit-of-measure",storage_gold:"components-cloud-configurator-unit-of-measure",storage_platinum:"components-cloud-configurator-unit-of-measure",storage_backup:"components-cloud-configurator-unit-of-measure",storage_object:"components-cloud-configurator-unit-of-measure",bandwidth_router:"components-cloud-configurator-select-device"},h={[f.V_CPU]:"components-cloud-configurator-summary-group-vcpu",[f.V_RAM]:"components-cloud-configurator-summary-group-vram",[f.STORAGE]:"components-cloud-configurator-summary-group-storage",[f.EXTRA_STORAGE]:"components-cloud-configurator-summary-group-extra-storage",[f.LICENSE]:"components-cloud-configurator-summary-group-license",[f.MS_LICENSE]:"components-cloud-configurator-summary-group-ms-license",[f.BANDWIDTH]:"components-cloud-configurator-summary-group-bandwidth"},_=["v_cpu_standard","v_cpu_performance","v_ram","storage_bronze","storage_silver","storage_gold","storage_platinum","storage_backup","storage_object","license_windows","license_veeam","sql_server_standard_core","win_rds","win_server_standard_core","win_server_dc_core","sql_server_standard","office_standard","office_professional_plus","cis_suite_standard_core","project_standard","sharepoint_server","bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_enabled","ddos_protection_bandwidth"];function y(o){const t={};for(const e of _)t[e]=o[e];return t}function b(o){const t=g[o];if(t)return t.forEach((o=>{o.name=l(o.name)})),t}function w(o){const t=p[o];if(t)return l(t)}function v(o){const t=b(o);if(t)return t.find((o=>o.default))}function x(o,t){return o.toFixed(t===m.MONTHLY?2:8).replace(".",",")}const k=async()=>{let o;try{o=new URL(c.cloudConfigurator).href}catch(o){return console.error(o),Promise.reject("Cloud Configurator endpoint URL generation failed.")}const t=(new u).setUrl(o).setOptions({method:"GET"}).setErrorFallbackValue([]);return await t.execute()},G=class{constructor(e){o(this,e),this.cloudCalculatorSubmit=t(this,"cloudCalculatorSubmit")}get root(){return e(this)}headerObserver;footerObserver=new IntersectionObserver((([o])=>{this.isFloatingSummary=0===o.intersectionRatio}));fields=null;language="lv";containerSelector="";theme="light";selectOnFocus;isLoading=!0;headerRef;footerRef;formValues={};selectedTab=d.SMALL;selectedPeriod=m.MONTHLY;isFloatingSummary=!1;isListExpanded=!1;parentElement;cloudCalculatorSubmit;async componentWillLoad(){this.parentElement=this.containerSelector?document.querySelector(this.containerSelector):this.root.parentElement,this.headerObserver=new IntersectionObserver((([o])=>{0!==o.intersectionRatio&&o.target.classList.toggle("header--is-pinned",o.intersectionRatio<1)}),{rootMargin:`-${this.parentElement.offsetTop+1}px 0px 0px 0px`,root:document,threshold:1}),this.fetchData()}onisLoadingChange(o){o||this.setDefaultValues()}onHeaderRefChange(o){o&&(this.headerRef.style.top=this.parentElement.offsetTop-1+"px",this.headerObserver.observe(this.headerRef))}onFooterRefChange(o){o&&this.footerObserver.observe(this.footerRef)}onSelectedTabChange(){this.setDefaultValues()}async onLanguageChange(o){await s("cloud-calculator",o),r(this)}onTabSelected=o=>{this.selectedTab=o.detail.new};onExpandableListToggle=()=>{this.isListExpanded=!this.isListExpanded};onSummaryPeriodChange=o=>{this.selectedPeriod=o.detail.value};onDdosProtectionEnabledCheck=o=>{const{checked:t}=o.detail;this.formValues.ddos_protection_enabled.value=t?1:0,this.setDefaultValue("bandwidth_capacity"),this.setDefaultValue("ddos_protection_bandwidth"),this.formValues={...this.formValues}};onNumberValueChanged=(o,t)=>{const{min:e}=this.fields[t],r=this.formValues[t];let a=o.value;o.suffix||(o.suffix=v(t)),r?.suffix?.value!==o.suffix.value&&(a=0===o.suffix.value?0:e);const n=this.getPrices(t,a,o.suffix);this.formValues[t]={...r,value:a,suffix:o.suffix,...n},this.formValues={...this.formValues}};onFormSubmit=()=>{const o=y(this.formValues),t=this.formValues.ddos_protection_enabled?.value;t?delete o.bandwidth_capacity:delete o.ddos_protection_bandwidth;const e={formValues:o,totals:this.getTotals()};this.cloudCalculatorSubmit.emit(e)};fetchData=async()=>{const o=await Promise.all([k(),s("cloud-calculator",this.language)]);this.fields=o[0],this.isLoading=!1};setDefaultValues=()=>{for(const o of Object.keys(this.fields))this.setDefaultValue(o);const o=y(this.formValues);this.formValues={...o},this.root.shadowRoot.querySelectorAll("tet-number-input").forEach((o=>o.resetSuffix()))};setDefaultValue=o=>{const t=this.fields[o],e=t.default[this.selectedTab]||t.min,r=v(t.key),a=this.getPrices(t.key,e,r);this.formValues[t.key]={key:t.key,value:e,title:t.name.lv,groupKey:t.group,groupName:l(h[t.group]),...a,suffix:v(t.key)}};getFieldKeysByGroup(o){return Object.values(this.fields).filter((t=>t.group===o)).map((o=>o.key))}getTotals(){const o=!!this.formValues.ddos_protection_enabled?.value,t={hourly:0,monthly:0};for(const e of Object.values(this.formValues))"bandwidth_capacity"===e.key&&o||("ddos_protection_bandwidth"!==e.key||o)&&(t.hourly+=e.hourly,t.monthly+=e.monthly);return t}getPrices(o,t,e){const{priceHourly:r,priceMonthly:a}=this.fields[o];let n=1;return e?.value&&(n=e.value),"bandwidth_ip"===o?{monthly:(t-1)*a*n,hourly:(t-1)*r*n}:{monthly:t*a*n,hourly:t*r*n}}getMinValue(o){const t=this.fields[o],e=this.formValues[o];return t?0===e?.suffix?.value?0:t.min:null}getMaxValue(o){const t=this.fields[o],e=this.formValues[o];return t&&e?e.suffix?t.max/e.suffix.value:t.max:null}getLabel(o){if(["v_ram"].includes(o))return null;const t=this.fields[o];return t?t.name[this.language]:null}getHelperText(o){const t=this.fields[o];return t?t.description[this.language]:null}renderTitle=()=>a(n,null,a("p",{class:"content__subtitle"},l(`components-cloud-configurator-${this.selectedTab}-subtitle`)));renderNumberInput(o,t){return!0===t?.hidden?null:a("div",{class:"form__input"},a("tet-number-input",{min:this.getMinValue(o),max:this.getMaxValue(o),label:this.getLabel(o),"accessibility-label":this.getHelperText(o),"button-accessibility-label":w(o),helperText:this.getHelperText(o),value:this.formValues[o]?.value,disabled:t?.disabled,suffixes:b(o),onInputValueChanged:t=>this.onNumberValueChanged(t.detail,o),selectOnFocus:this.selectOnFocus,theme:this.theme}))}renderExpandableItem(o){const t=this.fields[o];return a("div",{class:"expandable-item"},a("div",{class:"expandable-item__description"},a("div",{class:"expandable-item__title"},t.name[this.language]),a("div",{class:"expandable-item__helper"},t.description[this.language])),a("tet-stepper-input",{min:this.getMinValue(o),max:this.getMaxValue(o),step:1,value:this.formValues[o]?.value,language:this.language,onInputValueChanged:t=>this.onNumberValueChanged({value:t.detail},o),selectOnFocus:this.selectOnFocus,"accessibility-label":t.name[this.language],theme:this.theme}))}renderSummaryTable(){return a("div",{class:"summary-table"},this.renderSummaryRow(f.V_CPU,null,`x ${l("components-cloud-configurator-unit-cores")}`),this.renderSummaryRow(f.V_RAM),this.renderSummaryRow(f.STORAGE),this.renderSummaryRow(f.EXTRA_STORAGE),this.renderSummaryRow(f.LICENSE),this.renderSummaryRow(f.MS_LICENSE,null,l("components-cloud-configurator-unit-pieces")),this.renderSummaryRow(f.BANDWIDTH,["bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_bandwidth"]))}renderSummaryRow(o,t,e){let r,n=h[o];if(r=t||this.getFieldKeysByGroup(o),o===f.BANDWIDTH&&(r=r.filter((o=>"ddos_protection_enabled"!==o)),this.formValues.ddos_protection_enabled?.value?(r=r.filter((o=>"bandwidth_capacity"!==o)),n="components-cloud-configurator-group-bandwidth-ddos"):r=r.filter((o=>"ddos_protection_bandwidth"!==o))),!Object.entries(this.fields).some((o=>r.includes(o[0]))))return null;const i=[a("div",{class:"summary-table__header"},l(n))];let s=!0;for(const o of r){const t=this.formValues[o];if(!this.fields[o]||!t||!t[this.selectedPeriod])continue;s||i.push(a("div",{class:"summary-table__header"}));const r=this.getLabel(o),n=e||t.suffix?.name;i.push(a("div",{class:"summary-table__label"},!!r&&a("span",null,`${r},`),a("span",null,`${t?.value}${n}`)));const c=t[this.selectedPeriod]||0,u=l(this.selectedPeriod===m.MONTHLY?"components-cloud-configurator-price-suffix-montly":"components-cloud-configurator-price-suffix-hourly");i.push(a("div",{class:"summary-table__value"},`${x(c,this.selectedPeriod)} ${u}`)),s=!1}return 1===i.length?null:a("div",{class:"summary-table__row"},i.map((o=>o)))}renderFloatingSummary(){const o=this.getFieldKeysByGroup(f.V_CPU),t=this.getFieldKeysByGroup(f.V_RAM),e=this.getFieldKeysByGroup(f.STORAGE),r=this.getFieldKeysByGroup(f.EXTRA_STORAGE),n=this.getFieldKeysByGroup(f.LICENSE),i=this.getFieldKeysByGroup(f.BANDWIDTH),s=this.getFieldKeysByGroup(f.MS_LICENSE),c=Object.values(this.formValues),u=c.reduce(((r,a)=>(o.includes(a.key)?r.cpu+=a.value:t.includes(a.key)?r.ram+=a.value:e.includes(a.key)&&(r.storage+=a.value*(a.suffix?.value||1)),r)),{cpu:0,ram:0,storage:0});let d=0;c.some((o=>n.includes(o.key)&&o.value))&&(d+=1),c.some((o=>i.includes(o.key)&&o.value))&&(d+=1),c.some((o=>s.includes(o.key)&&o.value))&&(d+=1),c.some((o=>r.includes(o.key)&&o.value))&&(d+=1);const m=this.getTotals();return a("div",{class:"floating-summary__container"},this.isFloatingSummary&&a("div",{class:"floating-summary__count"},a("span",{class:"floating-summary__count--item"},`${u.cpu} ${l("components-cloud-configurator-summary-cpu")},`),a("span",{class:"floating-summary__count--item"},`${u.ram} ${l("components-cloud-configurator-unit-gigabyte")} ${l("components-cloud-configurator-summary-ram")},`),a("span",{class:"floating-summary__count--break"}),a("span",{class:"floating-summary__count--item"},`${u.storage} ${l("components-cloud-configurator-unit-gigabyte")} ${l("components-cloud-configurator-summary-storage")}`),a("span",{class:"floating-summary__count--other"},`+${d}`)),a("div",{class:"floating-summary__sum"},a("span",{class:"floating-summary__sum--label"},`${l("components-cloud-configurator-summary-sum")}:`),a("span",{class:"floating-summary__sum--value"},`${x(m[this.selectedPeriod],this.selectedPeriod)} ${l("components-cloud-configurator-price-unit")}`)))}renderPlaceholder(){return a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:"content"},a("div",{class:"content__title"},a("tet-placeholder",{width:"90%",height:"1.75rem",darkTheme:"dark"===this.theme})),a("div",{class:"content__subtitle"},a("tet-placeholder",{width:"100%",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme}))),a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"})))),a("div",{class:"header",part:"header"},a("div",{class:"inner-wrapper"},a("tet-placeholder",{width:"25.5rem",height:"2.875rem",darkTheme:"dark"===this.theme})))))}render(){return this.isLoading?this.renderPlaceholder():a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:{header:!0,[this.theme]:!!this.theme},part:"header",ref:o=>this.headerRef=o},a("div",{class:"inner-wrapper"},a("tet-tab-header",{class:"header__segment-switch",segmented:!0,position:"center",defaultTab:"small",theme:this.theme,onTabSelected:this.onTabSelected},a("button",{"data-name":d.SMALL},a("p",null,l("components-cloud-configurator-type-small"))),a("button",{"data-name":d.AVERAGE},a("p",null,l("components-cloud-configurator-type-average"))),a("button",{"data-name":d.LARGE},a("p",null,l("components-cloud-configurator-type-large"))),a("button",{"data-name":d.INDIVIDUAL},a("p",null,l("components-cloud-configurator-type-custom")))))),a("div",{class:"content",part:"content"},this.renderTitle(),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-vcpu")),this.renderNumberInput("v_cpu_standard"),this.renderNumberInput("v_cpu_performance")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-vram")),this.renderNumberInput("v_ram"),a("div",{class:"form__input"})),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-storage")),this.renderNumberInput("storage_bronze"),this.renderNumberInput("storage_silver"),this.renderNumberInput("storage_gold"),this.renderNumberInput("storage_platinum")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-extra-storage")),this.renderNumberInput("storage_backup"),this.renderNumberInput("storage_object")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-license")),this.renderNumberInput("license_windows"),this.renderNumberInput("license_veeam")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-ms-license")),a("div",{class:{"expandable-list":!0,expanded:this.isListExpanded}},this.renderExpandableItem("sql_server_standard_core"),this.renderExpandableItem("win_rds"),this.renderExpandableItem("win_server_standard_core"),this.renderExpandableItem("win_server_dc_core"),this.renderExpandableItem("sql_server_standard"),this.renderExpandableItem("office_standard"),this.renderExpandableItem("office_professional_plus"),this.renderExpandableItem("cis_suite_standard_core"),this.renderExpandableItem("project_standard"),this.renderExpandableItem("sharepoint_server"),a("div",{class:"expandable-list__toggle-row"},this.isListExpanded&&a(n,null,a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},l("components-cloud-configurator-ms-license-collapse")," ",a("tet-icon",{name:"tc-chevron-up",theme:this.theme})),a("div",{innerHTML:l("components-cloud-configurator-ms-license-full-list")})),!this.isListExpanded&&a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},l("components-cloud-configurator-ms-license-expand")," ",a("tet-icon",{name:"tc-chevron-down",theme:this.theme}))))),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},l("components-cloud-configurator-group-bandwidth")),this.renderNumberInput("bandwidth_ip"),this.renderNumberInput("bandwidth_router"),this.renderNumberInput("bandwidth_capacity",{disabled:!0,hidden:Boolean(this.formValues.ddos_protection_enabled?.value)}),this.renderNumberInput("ddos_protection_bandwidth",{hidden:!Boolean(this.formValues.ddos_protection_enabled?.value)}),a("div",{class:"form__input"}),a("div",{class:"form__checkbox"},a("tet-checkbox",{label:this.getLabel("ddos_protection_enabled"),value:this.formValues.ddos_protection_enabled?.value,checked:!!this.formValues.ddos_protection_enabled?.value,onCheck:this.onDdosProtectionEnabledCheck,theme:this.theme}),a("p",{class:"form__checkbox-helper"},this.getHelperText("ddos_protection_enabled"))))),a("div",{class:"summary",part:"summary"},a("h2",{class:"summary__title"},l("components-cloud-configurator-group-summary")),a("div",{class:"summary__toggle",role:"radiogroup"},a("tet-radio",{name:"summary-period",value:m.MONTHLY,checked:this.selectedPeriod===m.MONTHLY,label:l("components-cloud-configurator-summary-period-monthly"),theme:this.theme,onCheck:this.onSummaryPeriodChange}),a("tet-radio",{name:"summary-period",value:m.HOURLY,checked:this.selectedPeriod===m.HOURLY,label:l("components-cloud-configurator-summary-period-hourly"),theme:this.theme,onCheck:this.onSummaryPeriodChange})),this.renderSummaryTable())),a("div",{class:{"floating-summary":!0,"floating-summary--is-pinned":this.isFloatingSummary},part:"floating-summary"},this.renderFloatingSummary()),a("div",{part:"footer",class:"footer",ref:o=>this.footerRef=o},a("tet-button",{class:"footer__button",size:"large",type:"primary",theme:this.theme,onClick:this.onFormSubmit},l("components-cloud-configurator-submit")))))}static get watchers(){return{isLoading:[{onisLoadingChange:0}],headerRef:[{onHeaderRefChange:0}],footerRef:[{onFooterRefChange:0}],selectedTab:[{onSelectedTabChange:0}],language:[{onLanguageChange:0}]}}};G.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--tet-cloud-calculator-border-radius:none;--tet-cloud-calculator-background-primary-color:var(--tc-background-primary);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary);--tet-cloud-calculator-background-floating-summary:var(--tc-layer-inverse-primary);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-inverse-primary);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey);display:block;height:100%;width:100%}.cloud-configurator{position:relative;border-radius:var(--tet-cloud-calculator-border-radius);background-color:var(--tet-cloud-calculator-background-primary-color);display:flex;flex-direction:column;height:100%;width:100%;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator.dark{--tet-cloud-calculator-background-primary-color:var(--tc-background-primary-dark);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary-dark);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary-dark);--tet-cloud-calculator-background-floating-summary:var(--tc-background-tertiary-dark);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary-dark);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary-dark);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-primary-dark);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary-dark);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary-dark);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey-dark)}.cloud-configurator .header{position:-webkit-sticky;position:sticky;top:0;order:-1;z-index:2;margin:1.75rem 0 0;overflow:hidden;padding-bottom:0.25rem}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.5rem 0.75rem;--tabs-headers-segmented-item-margin:0.25rem 0;--tabs-headers-segmended-item-font:500 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{display:flex;justify-content:center;width:100%;padding:0.75rem 0;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .header--is-pinned .inner-wrapper{-moz-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);-webkit-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1)}.cloud-configurator .content{margin:2.5rem 1rem 0}.cloud-configurator .content__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:center;max-width:29.25rem;margin:0 auto 0.5rem}.cloud-configurator .content__subtitle{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);text-align:center;margin:0 auto 3.5rem;max-width:29.25rem}.cloud-configurator .form{display:flex;flex-direction:column;gap:2.5rem;width:100%}.cloud-configurator .form__group{display:flex;flex-wrap:wrap;row-gap:1.5rem;column-gap:2.5rem;padding-bottom:2rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color);justify-content:center}.cloud-configurator .form__group-label{width:100%;min-width:100%;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .form__input{min-width:15.625rem;max-width:21.875rem;flex:1 1 calc(50% - 1.5rem)}.cloud-configurator .form__input>*{width:100%}.cloud-configurator .form__checkbox{margin-top:0.5rem;padding-left:0.25rem;width:100%}.cloud-configurator .form__checkbox tet-checkbox{padding-left:0.25rem;display:flex}.cloud-configurator .form__checkbox-helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);margin-left:2rem;max-width:36.563rem}.cloud-configurator .expandable-list{display:flex;flex-direction:column;width:100%;gap:0.5rem}.cloud-configurator .expandable-list.expanded .expandable-item:nth-child(n+4){display:flex}.cloud-configurator .expandable-list .expandable-item{display:flex;flex-direction:row;width:100%;padding-bottom:0.5rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .expandable-list .expandable-item:nth-child(n+4){display:none}.cloud-configurator .expandable-list .expandable-item__description{display:flex;flex-direction:column;flex:1}.cloud-configurator .expandable-list .expandable-item__label{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list .expandable-item__helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color)}.cloud-configurator .expandable-list__toggle-row{display:flex;justify-content:space-between;flex-direction:column;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;--icon-size:1.25rem}.cloud-configurator .expandable-list__toggle,.cloud-configurator .expandable-list__link{display:flex;align-items:flex-end;gap:0.25rem;padding:0.5rem 0;text-decoration:underline;cursor:pointer;color:var(--tet-cloud-calculator-text-primary-color);border-color:transparent;background:transparent;font-size:inherit}.cloud-configurator .expandable-list__toggle:visited,.cloud-configurator .expandable-list__link:visited{color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list__toggle:hover,.cloud-configurator .expandable-list__link:hover{color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__toggle:hover tet-icon,.cloud-configurator .expandable-list__link:hover tet-icon{--icon-color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__link tet-icon{padding-bottom:0.125rem;--icon-color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .summary{margin:2.5rem 0 0;padding-bottom:1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{display:flex;gap:1.5rem;padding-bottom:1.5rem;justify-content:flex-start;margin:1.5rem 0 1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary-table{display:grid;grid-template-columns:3fr 1fr;width:100%;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .summary-table__row{display:contents}.cloud-configurator .summary-table__row:nth-child(2n)>*{background-color:var(--tet-cloud-calculator-background-secondary-color)}.cloud-configurator .summary-table__row>*{height:100%;padding-bottom:0.125rem}.cloud-configurator .summary-table__row>*.summary-table__header{padding-left:1rem;padding-bottom:0.5rem}.cloud-configurator .summary-table__row>*.summary-table__label{padding-left:1rem}.cloud-configurator .summary-table__row>*.summary-table__value{padding-right:1rem}.cloud-configurator .summary-table__row>*:nth-child(-n+1){padding-top:0.75rem}.cloud-configurator .summary-table__row>*:nth-last-child(-n+2){padding-bottom:0.75rem}.cloud-configurator .summary-table__header{grid-column:span 2;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap}.cloud-configurator .summary-table__header~.summary-table__header{display:none}.cloud-configurator .summary-table__label{grid-column:1;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:left;color:var(--tet-cloud-calculator-text-secondary-color);white-space:nowrap;min-width:10rem;display:flex;justify-content:flex-start;gap:0.5rem;padding-right:0.5rem}.cloud-configurator .summary-table__label>span:first-of-type{text-overflow:ellipsis;overflow:hidden}.cloud-configurator .summary-table__value{grid-column:2;text-align:right;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap;padding-left:0}.cloud-configurator .floating-summary{display:flex;position:-webkit-sticky;position:sticky;z-index:1;bottom:0;background-color:var(--tet-cloud-calculator-background-primary-color);color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .floating-summary--is-pinned{background-color:var(--tet-cloud-calculator-background-floating-summary);color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary__container{padding:0.5rem 1.5rem;display:flex;flex-direction:row;justify-content:space-between;width:100%}.cloud-configurator .floating-summary__count{display:none;align-items:center}.cloud-configurator .floating-summary--is-pinned .floating-summary__count{display:flex;flex-direction:row;column-gap:0.5rem;flex-wrap:wrap;font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--item{color:var(--tet-cloud-calculator-text-blue-grey)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--other{color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--break{flex-basis:100%;height:0}.cloud-configurator .floating-summary__sum{display:flex;flex-direction:row;gap:0.25rem;align-items:flex-end;flex:1 0 auto;font:400 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__sum--label{margin-left:auto}.cloud-configurator .floating-summary__sum--value{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum--value{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{display:flex;flex-direction:row-reverse;margin:0 1rem 2.5rem;padding-top:1rem}.cloud-configurator .footer__button{--button-width:9.375rem}@media all and (min-width: 31.25rem){.cloud-configurator .content{margin:2.5rem 1.5rem 0}.cloud-configurator .content__title{font:500 2.5rem/3rem Gilroy, Gilroy, Arial, sans-serif}.cloud-configurator .expandable-list__toggle-row{flex-direction:row}.cloud-configurator .footer{margin:0 1.5rem 2.5rem}}@media all and (min-width: 48rem){.cloud-configurator .header{margin:1.5rem 0 0}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.375rem 1.5rem;--tabs-headers-segmended-item-font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{padding:1rem 0}.cloud-configurator .content{margin:2.5rem 2rem 0}.cloud-configurator .footer{margin:0 2rem 2.5rem}.cloud-configurator .form__group{padding-bottom:2.5rem}.cloud-configurator .form__group-label{font:500 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{justify-content:flex-end;margin-top:0.5rem}.cloud-configurator .summary__title{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary-table{display:grid;grid-template-columns:2fr 5fr}.cloud-configurator .summary-table__header{grid-column:1}.cloud-configurator .summary-table__row>*.summary-table__header{padding-bottom:unset}.cloud-configurator .summary-table__row>*:nth-child(-n+3){padding-top:0.75rem}.cloud-configurator .summary-table__header~.summary-table__header{display:block}.cloud-configurator .summary-table__label{grid-column:2;text-align:right;justify-content:flex-end}.cloud-configurator .summary-table__value{grid-column:3}.cloud-configurator .floating-summary{height:4rem}.cloud-configurator .floating-summary__container{padding:1rem 2rem}.cloud-configurator .floating-summary__count{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__count--break{display:none}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{align-items:center}.cloud-configurator .floating-summary__sum{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{padding-top:0.5rem}}@media all and (min-width: 64rem){.cloud-configurator .content{margin:2.5rem 2.5rem 0}.cloud-configurator .footer{margin:0 2.5rem 2.5rem}.cloud-configurator .floating-summary__container{padding:1rem 2.5rem}}';export{G as tet_cloud_configurator}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,c as t,f as i,h as a}from"./p-
|
|
1
|
+
import{r as n,c as t,f as i,h as a}from"./p-BlxQHXlF.js";import{p as e,t as o}from"./p-Cu_nZUjB.js";import{r}from"./p-DEnDpXiZ.js";import"./p-C2_Y9hR8.js";import"./p-Bvqcvhjw.js";const s=class{constructor(i){n(this,i),this.slideChange=t(this,"slideChange"),this.pauseStateChange=t(this,"pauseStateChange")}clipIdPrefix=`nav-clip-${globalThis.crypto?.randomUUID?.()??r(10)}`;slides=4;duration=5e3;paused=!1;mobileLayout=!1;theme="light";language="lv";interactive=!0;isPaused=!1;currentSlide=0;firstLoad=!1;autoTimer;slideChange;pauseStateChange;async onLanguageChange(n){e("tet-components",n).then((()=>i(this)))}onPausedStateChange(n){n?this.pause():this.play()}onInteractiveChange(n){n?this.isPaused||this.startAutoAdvance():this.stopAutoAdvance()}async componentWillLoad(){this.isPaused=this.paused,this.firstLoad=!0,await e("tet-components",this.language)}componentDidLoad(){!this.isPaused&&this.interactive&&this.startAutoAdvance()}disconnectedCallback(){this.stopAutoAdvance()}async pause(){this.isPaused=!0,this.stopAutoAdvance(),this.pauseStateChange.emit({paused:!0})}async play(){this.isPaused=!1,this.startAutoAdvance(),this.pauseStateChange.emit({paused:!1})}async goTo(n,t){if(!this.interactive&&"user"===t)return;const i=this.currentSlide;this.currentSlide=Math.max(0,Math.min(n,this.slides-1)),this.slideChange.emit({index:this.currentSlide,previousIndex:i,source:t}),this.isPaused||this.startAutoAdvance()}async next(){this.currentSlide===this.slides-1&&(this.firstLoad=!1);const n=(this.currentSlide+1)%this.slides;await this.goTo(n,"next")}async previous(){const n=0===this.currentSlide?this.slides-1:this.currentSlide-1;await this.goTo(n,"previous")}async getCurrentSlide(){return this.currentSlide}startAutoAdvance(){this.stopAutoAdvance(),this.interactive&&(this.autoTimer=window.setInterval((()=>{this.next()}),this.duration))}stopAutoAdvance(){this.autoTimer&&(clearInterval(this.autoTimer),this.autoTimer=void 0)}handlePauseClick=()=>{this.isPaused?this.play():this.pause()};renderInteractionButton(){return this.interactive?a("button",{type:"button",class:"banner-navigation__pause",onClick:this.handlePauseClick,"aria-label":o(this.isPaused?"components-banner-nav-resume-slideshow":"components-banner-nav-pause-slideshow")},a("tet-icon",{class:"button-icon",name:this.isPaused?"tc-play":"tc-pause"})):null}render(){return 1===this.slides?null:a("div",{class:{"banner-navigation":!0,[`banner-navigation--${this.theme}`]:!0,"banner-navigation--paused":this.isPaused,"banner-navigation--mobile":this.mobileLayout},style:{"--progress-duration":`${this.duration}ms`}},!this.interactive&&a("span",{class:"sr-only",role:"status","aria-live":"polite"},`${o("components-banner-nav-slide")} ${this.currentSlide+1}/${this.slides}`),this.renderInteractionButton(),Array.from({length:this.slides},((n,t)=>a("div",{class:"banner-navigation__button-container"},a("button",{type:"button",disabled:!this.interactive,"aria-hidden":this.interactive?void 0:"true",class:{"banner-navigation__button":!0,"banner-navigation__button--interactive":this.interactive,"banner-navigation__button--active":t===this.currentSlide,"banner-navigation__button--paused":this.isPaused,"banner-navigation__button--done":t<this.currentSlide,"banner-navigation__button--resetting":!this.firstLoad&&0===this.currentSlide,"banner-navigation__button--last":!this.firstLoad&&0===this.currentSlide&&t===this.slides-1,"nav-svg--filled":t<this.currentSlide,"nav-svg--unfilled":t>this.currentSlide},onClick:()=>this.goTo(t,"user"),"aria-label":`${o(this.interactive?"components-banner-nav-go-to-slide":"components-banner-nav-slide")} ${t+1}/${this.slides}`,"aria-current":t===this.currentSlide?"true":void 0},a("div",{class:"svg-wrapper"},a("svg",{class:"nav-svg",width:"23",height:"13",viewBox:"0 0 23 12",fill:"none"},a("defs",null,a("clipPath",{id:`${this.clipIdPrefix}-${t}`},a("rect",{class:"clip-rect",x:"0.5",y:"0.5",height:"11"}))),a("rect",{class:"rect outer-rect",x:"0.5",y:"0.5",width:"22",height:"11",rx:"5.5",stroke:"currentColor",fill:"none"}),a("rect",{class:"rect hover-rect",x:"0.5",y:"0.5",height:"11",width:"22",rx:"5.5",fill:"transparent"}),a("g",{"clip-path":`url(#${this.clipIdPrefix}-${t})`},a("rect",{class:"rect rect-opacity",x:"0.5",y:"0.5",height:"11",width:"22",rx:"5.5",fill:"var(--fill-color)"})))))))))}static get watchers(){return{language:[{onLanguageChange:0}],paused:[{onPausedStateChange:0}],interactive:[{onInteractiveChange:0}]}}};s.style='.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.banner-navigation{display:inline-flex;align-items:flex-end;min-height:1.375rem}.banner-navigation--light{color:var(--tc-icon-primary);--fill-color:var(--tc-icon-primary);--outline-color:var(--tc-blue-40, rgba(25, 98, 212, 1));--hover-color:rgba(12, 12, 14, 0.10);--done-hover-color:var(--tc-grey-80);--pause-icon-color:var( --tc-icon-primary);--active-color:var(--tc-grey-110);--inactive-color:var(--tc-border-inverse-tertiary)}.banner-navigation--dark{color:var(--tc-icon-primary-dark);--fill-color:var(--tc-icon-primary-dark);--outline-color:var(--tc-blue-40-dark, rgba(52, 129, 247, 1));--hover-color:rgba(187, 189, 191, 0.2);--done-hover-color:var(--tc-grey-80-dark);--pause-icon-color:var(--tc-icon-primary-dark);--active-color:var(--tc-grey-110-dark);--inactive-color:var(--tc-border-inverse-tertiary-dark)}.banner-navigation__pause{display:flex;align-items:center;border:none;background:none;padding:0.125rem;margin-right:0.375rem;cursor:pointer}.banner-navigation__pause:focus-visible{outline:var(--outline-color) auto 1px}.banner-navigation__pause .button-icon{--icon-size:1rem;--icon-container-display:flex;--icon-color:var(--pause-icon-color)}.banner-navigation__pause:hover .button-icon{--icon-color:var(--done-hover-color)}.banner-navigation__button-container{margin:0 0 2px 0}.banner-navigation__button{display:flex;align-items:flex-end;justify-content:center;appearance:none;border:none;background:none;cursor:pointer;padding:0.125rem;color:var(--inactive-color)}.banner-navigation__button--interactive:hover .hover-rect{fill:var(--hover-color)}.banner-navigation__button--interactive.banner-navigation__button--done:hover .rect-opacity,.banner-navigation__button--interactive.banner-navigation__button--active:hover .rect-opacity{fill:var(--done-hover-color)}.banner-navigation__button--interactive.banner-navigation__button--done:hover .outer-rect,.banner-navigation__button--interactive.banner-navigation__button--active:hover .outer-rect{color:var(--done-hover-color)}.banner-navigation__button .clip-rect{width:22px}.banner-navigation__button--active,.banner-navigation__button--done{color:var(--active-color)}.banner-navigation__button--active .clip-rect{animation:fill-progress var(--progress-duration, 5000ms) linear forwards}.banner-navigation__button--done .clip-rect{width:22px}.banner-navigation__button--active.banner-navigation__button--paused .clip-rect{animation:none;width:0}.banner-navigation__button:not(.banner-navigation__button--interactive){cursor:default}.banner-navigation__button:not(.banner-navigation__button--interactive).banner-navigation__button--active .clip-rect{animation:none;width:22px}.banner-navigation__button:not(.banner-navigation__button--interactive).banner-navigation__button--active .rect-opacity{opacity:0}@keyframes fill-progress{from{width:0}to{width:22px}}.svg-wrapper{position:relative;display:inline-block;width:12px;height:12px;transition:width 0.2s linear;pointer-events:none}.svg-wrapper .nav-svg{position:absolute;top:50%;left:0;transform:translateY(-50%);transform-origin:left center;height:12px;pointer-events:none}.svg-wrapper .rect{transition:width 0.2s linear, rx 0.2s ease-out}.nav-svg--unfilled .rect-opacity{opacity:0;width:22px;transition:width 0.2s linear, rx 0.2s ease-out, opacity 0.2s ease-in}.nav-svg--unfilled .rect{rx:10;width:11px}.nav-svg--filled .rect-opacity{opacity:1}.nav-svg--filled .rect{width:11px;rx:10}.banner-navigation__button--active .svg-wrapper{width:23px}@media (prefers-reduced-motion: reduce){.banner-navigation__button--active .clip-rect,.rect,.rect-opacity{transition:none;width:22px}}.banner-navigation__button:focus-visible{position:relative;width:fit-content;height:fit-content;outline:none}.banner-navigation__button:focus-visible::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;scale:1.2;transform-origin:center center;outline:2px solid;outline-offset:-0.125rem;outline-color:var(--outline-color);border-radius:11px}.banner-navigation--mobile{min-height:1.625rem}.banner-navigation--mobile .banner-navigation__button{padding:0.3125rem}.banner-navigation--mobile .banner-navigation__pause{padding:0.3125rem;margin-right:0.4375rem;outline-offset:-0.25rem}.banner-navigation--mobile .banner-navigation__button:focus-visible::after{outline-offset:-0.3125rem}';export{s as tet_banner_nav}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,e as r,h as i,H as t}from"./p-
|
|
1
|
+
import{r as e,e as r,h as i,H as t}from"./p-BlxQHXlF.js";const n={L:{headingFont:"1.125rem",headingLine:"1.5rem",footerFont:"0.875rem",centsFont:{1:"1.75rem",2:"1.75rem",3:"1.5rem",4:"1.25rem",5:"1.25rem"},centsLine:{1:"1.75rem",2:"1.75rem",3:"1.5rem",4:"1rem",5:"1rem"},priceTypeFont:{1:"1rem",2:"1rem",3:"0.875rem",4:"0.875rem",5:"0.625rem"},euroFont:{1:"3.5rem",2:"3.5rem",3:"3rem",4:"2.25rem",5:"2.125rem"},euroLine:{1:"3.5rem",2:"3.5rem",3:"3rem",4:"2.25rem",5:"2.125rem"},padding:"1.625rem 0rem",width:"9.375rem",height:"9.375rem",gap:"0.125rem"},M:{headingFont:"0.875rem",headingLine:"1.25rem",footerFont:"0.75rem",centsFont:{1:"1.25rem",2:"1.25rem",3:"1rem",4:"0.75rem",5:"0.75rem"},centsLine:{1:"1.25rem",2:"1.25rem",3:"0.875rem",4:"0.625rem",5:"0.625rem"},priceTypeFont:{1:"0.75rem",2:"0.75rem",3:"0.625rem",4:"0.625rem",5:"0.5rem"},euroFont:{1:"3rem",2:"3rem",3:"2rem",4:"1.625rem",5:"1.5rem"},euroLine:{1:"3rem",2:"3rem",3:"2rem",4:"1.625rem",5:"1.5rem"},padding:"1.125rem 0rem",width:"7rem",height:"7rem",gap:"0.125rem"},S:{headingFont:"0.625rem",headingLine:"1.125rem",footerFont:"0.625rem",centsFont:{1:"1.25rem",2:"1.25rem",3:"0.875rem",4:"0.625rem",5:"0.5rem"},centsLine:{1:"1rem",2:"1rem",3:"0.75rem",4:"0.5rem",5:"0.375rem"},priceTypeFont:{1:"0.5rem",2:"0.5rem",3:"0.375rem",4:"0.375rem",5:"0.375rem"},euroFont:{1:"2rem",2:"2rem",3:"1.5rem",4:"1.125rem",5:"1.125rem"},euroLine:{1:"2rem",2:"2rem",3:"1.5rem",4:"1.125rem",5:"1.125rem"},padding:"0.5rem 0rem",width:"5rem",height:"5rem",gap:"0.0625rem"}},c=class{constructor(r){e(this,r)}get hostElement(){return r(this)}theme="light";background="grey";font;size="L";headingText;priceType;euroPrice;centsPrice;footerText;footerTextType="regular";staticColors=!0;render(){const e={[this.theme]:!0,"static-colors":this.staticColors,"price-view__container":!0,"price-view__white":"white"===this.background,"price-view__black":"black"===this.background,"price-view__grey":"grey"===this.background,"price-view__yellow":"yellow"===this.background},r="monthly"===this.priceType,c={heading:{height:n[this.size].headingFont,fontSize:n[this.size].headingFont,lineHeight:n[this.size].headingFont},euro:{fontSize:n[this.size].euroFont[this.euroPrice.length],lineHeight:n[this.size].euroLine[this.euroPrice.length]},cents:{fontSize:n[this.size].centsFont[this.euroPrice.length],lineHeight:n[this.size].centsLine[this.euroPrice.length]},priceType:{fontSize:n[this.size].priceTypeFont[this.euroPrice.length],lineHeight:n[this.size].priceTypeFont[this.euroPrice.length]},footer:{height:n[this.size].footerFont,fontSize:n[this.size].footerFont,lineHeight:n[this.size].footerFont,textDecoration:"crossed-out"===this.footerTextType?"line-through":"none"},container:{padding:n[this.size].padding,width:n[this.size].width,height:n[this.size].height,display:"flex",alignItems:"center"},price:{gap:n[this.size].gap}},o=this?.centsPrice&&this?.centsPrice.length>0;return i(t,{key:"d781651927621632a969f40b43a6e2593c07e546"},i("div",{key:"fe876587dffe734befd561d25812b4650a586899",class:e,style:c.container},i("div",{key:"b6938dfaf08d9a4aefc31e080e524f5f13d53a61",class:"price-view__body"},this?.headingText&&i("h3",{key:"7bd57e98e9ac27c26b701fb785bf2d4315352cd6",class:"price-view__heading",style:c.heading},this.headingText),i("div",{key:"d4502d8483b3bc71751fbba50b7ebe672c825b00",class:"price-view__price",style:{fontFamily:this.font,gap:c.price.gap}},i("span",{key:"ed6d1e5920ae6810f90a27a9a4a4fc3cf79822d0",class:"price-view__euro",style:c.euro},this.euroPrice,r||o?"":"€"),i("div",{key:"9974637f3a6606c402b1cf29a3f15d52a7a8f57d",class:"price-view__cents-container"},i("span",{key:"4967ed4d852014ed43dd937af7f7dfccbf86dbfa",class:"price-view__cents",style:c.cents},this?.centsPrice),this.priceType&&i("span",{key:"7f8ace91db08cb3b6f3453dd3680059b393b5374",class:"price-view__type",style:c.priceType},r?"€/mēn.":"",!r&&o?"EUR":""))),this?.footerText&&i("p",{key:"97363495a8d857d67e058f51af300198d6641f25",class:"price-view__footer",style:c.footer},this.footerText))))}};c.style=":host{display:block}.price-view__container{box-sizing:border-box;font-family:Inter, sans-serif;width:9.375rem;height:9.375rem;padding:1.625rem 0rem;border-radius:1rem;container-type:inline-size}.price-view__container.dark:not(.static-colors).price-view__white{background-color:var(--tc-layer-inverse-primary, rgb(12, 12, 14));color:var(--tc-text-inverse-primary, rgb(253, 253, 253))}.price-view__container.dark:not(.static-colors).price-view__grey{background-color:var(--tc-grey-10-dark, rgb(24, 25, 27));color:var(--tc-text-inverse-primary, rgb(253, 253, 253))}.price-view__container.dark:not(.static-colors).price-view__black{background-color:var(--tc-layer-primary, rgb(255, 255, 255));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__white{background-color:var(--tc-layer-primary, rgb(255, 255, 255));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__grey{background-color:var(--tc-layer-secondary, rgb(247, 247, 247));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__black{background-color:var(--tc-layer-inverse-primary, rgb(12, 12, 14));color:var(--tc-text-inverse-primary, rgb(253, 253, 253))}.price-view__yellow{background:var(--tc-yellow-40, rgb(255, 208, 38));color:var(--tc-text-primary, rgb(12, 12, 14))}.price-view__body{margin:auto;width:fit-content;height:fit-content;display:flex;flex-direction:column;justify-content:space-between}.price-view__heading{text-align:left;font-family:Inter, sans-serif;font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.75rem;letter-spacing:-0.012rem;margin-block:0}.price-view__price{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:0.25rem;letter-spacing:-0.015rem}.price-view__euro{font-style:normal;font-weight:600;letter-spacing:-0.0175rem;letter-spacing:-0.015rem}.price-view__cents-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;letter-spacing:-0.015rem}.price-view__cents{font-family:Gilroy, sans-serif;font-size:1.75rem;font-style:normal;font-weight:600;letter-spacing:-0.015rem}.price-view__footer{font-family:Inter, sans-serif;font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.025rem;margin-block:0}";export{c as tet_price_view}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,e as o,h as n}from"./p-gA3_LS77.js";import{i}from"./p-Bvqcvhjw.js";const a=class{constructor(o){t(this,o),this.dateChanged=e(this,"dateChanged"),this.rangeDatesChanged=e(this,"rangeDatesChanged")}datepickerContainer;get el(){return o(this)}locale="lv-LV";overlayEffect=!1;rangePickerMode=!1;isOpen=!1;date;datepickerView="month";rangeDates={};internalDate;dateChanged;rangeDatesChanged;handleDateChanged(t){this.date=t.detail}async toggleIsOpen(){this.isOpen=!this.isOpen}handleDatepickerViewChanged(t){this.datepickerView=t.detail}handleInternalDateChanged({detail:t}){this.internalDate=new Date(t)}handleRangeDateSet({detail:{date:t,position:e}}){0===e?(this.rangeDates.startDate=new Date(t),this.rangeDates.endDate=null):this.rangeDates.endDate=new Date(t),this.rangeDates={...this.rangeDates}}handleDatepickerClosed(){this.rangePickerMode||(this.date=new Date(this.internalDate)),this.isOpen=!1}onWindowResize(){this.positionDatepicker()}onWindowScroll(){this.positionDatepicker()}componentWillLoad(){i(this.date)?this.internalDate=new Date:(this.date=new Date(this.date),this.internalDate=new Date(this.date))}componentDidLoad(){this.positionDatepicker()}handleDateChange(t){this.dateChanged.emit(t)}handleRangeDateChange(t){this.rangeDatesChanged.emit(t)}isMobileScreenSize=()=>window.innerWidth<=499;positionDatepicker=()=>{const t=this.el.previousElementSibling.getBoundingClientRect(),e=`${t.width}px`;this.datepickerContainer.style.maxWidth=this.isMobileScreenSize()?e:"22rem",this.datepickerContainer.style.left=`${t.left}px`,this.datepickerContainer.style.top=`${t.bottom+8}px`};handleDatepickerClose=t=>{t.preventDefault(),t.stopPropagation(),t.target===t.currentTarget&&(this.isOpen=!1)};getOverlayClasses=()=>({overlay:!0,closed:!this.isOpen,"overlay-effect":this.overlayEffect});render(){return n("div",{key:"426b6e5d50ebec688bf08df24810d89c0755e29f",class:this.getOverlayClasses(),onClick:this.handleDatepickerClose},n("div",{key:"b35c5faaf8c14afef971c86f2973d6a2aef1691e",class:"container",ref:t=>this.datepickerContainer=t},n("tet-datepicker-header",{key:"5b24853f59687ca134f277e27e18193f4bdd51ec",selectedDate:this.date,internalDate:this.internalDate,locale:this.locale,datepickerView:this.datepickerView}),"month"===this.datepickerView&&n("tet-datepicker-month-view",{key:"1c0de56deff8b06a02f0bfb7cfefced135bef3d9",selectedDate:this.date,internalDate:this.internalDate,rangePickerMode:this.rangePickerMode,rangeDates:this.rangeDates}),"multi-year"===this.datepickerView&&n("tet-datepicker-multi-year-view",{key:"b95c75e06b8a810db29a16e2381100b5ae0d9887",selectedDate:this.date,internalDate:this.internalDate}),"year"===this.datepickerView&&n("tet-datepicker-year-view",{key:"b39ba650fa15748e2e2318e9d83e42e3e5edec4a",selectedDate:this.date,internalDate:this.internalDate})))}static get watchers(){return{date:[{handleDateChange:0}],rangeDates:[{handleRangeDateChange:0}]}}};a.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{display:block;--light-theme-elevation-3:0 0.0625rem 0.125rem rgba(10, 11, 13, 0.05), 0 0.3125rem 0.6875rem rgba(10, 11, 13, 0.12);--text-color-primary-light:#f6f7f8;--interaction-state-gray:rgba(89, 99, 115, 0.08)}.overlay{position:fixed;z-index:100;inset:0}.overlay-effect{background:rgba(10, 11, 13, 0.4)}.overlay.closed{display:none}.overlay .container{max-width:22rem;min-height:20rem;height:auto;width:100%;background:rgb(255, 255, 255);border:0.0625rem solid rgb(192, 197, 206);box-shadow:var(--light-theme-elevation-3);border-radius:0.875rem;padding:0.5rem;position:absolute}';export{a as tet_datepicker}
|
|
1
|
+
import{r as t,c as e,e as o,h as n}from"./p-BlxQHXlF.js";import{i}from"./p-Bvqcvhjw.js";const a=class{constructor(o){t(this,o),this.dateChanged=e(this,"dateChanged"),this.rangeDatesChanged=e(this,"rangeDatesChanged")}datepickerContainer;get el(){return o(this)}locale="lv-LV";overlayEffect=!1;rangePickerMode=!1;isOpen=!1;date;datepickerView="month";rangeDates={};internalDate;dateChanged;rangeDatesChanged;handleDateChanged(t){this.date=t.detail}async toggleIsOpen(){this.isOpen=!this.isOpen}handleDatepickerViewChanged(t){this.datepickerView=t.detail}handleInternalDateChanged({detail:t}){this.internalDate=new Date(t)}handleRangeDateSet({detail:{date:t,position:e}}){0===e?(this.rangeDates.startDate=new Date(t),this.rangeDates.endDate=null):this.rangeDates.endDate=new Date(t),this.rangeDates={...this.rangeDates}}handleDatepickerClosed(){this.rangePickerMode||(this.date=new Date(this.internalDate)),this.isOpen=!1}onWindowResize(){this.positionDatepicker()}onWindowScroll(){this.positionDatepicker()}componentWillLoad(){i(this.date)?this.internalDate=new Date:(this.date=new Date(this.date),this.internalDate=new Date(this.date))}componentDidLoad(){this.positionDatepicker()}handleDateChange(t){this.dateChanged.emit(t)}handleRangeDateChange(t){this.rangeDatesChanged.emit(t)}isMobileScreenSize=()=>window.innerWidth<=499;positionDatepicker=()=>{const t=this.el.previousElementSibling.getBoundingClientRect(),e=`${t.width}px`;this.datepickerContainer.style.maxWidth=this.isMobileScreenSize()?e:"22rem",this.datepickerContainer.style.left=`${t.left}px`,this.datepickerContainer.style.top=`${t.bottom+8}px`};handleDatepickerClose=t=>{t.preventDefault(),t.stopPropagation(),t.target===t.currentTarget&&(this.isOpen=!1)};getOverlayClasses=()=>({overlay:!0,closed:!this.isOpen,"overlay-effect":this.overlayEffect});render(){return n("div",{key:"50ab2ef32e5ad9914feca809aafea2a1159d4801",class:this.getOverlayClasses(),onClick:this.handleDatepickerClose},n("div",{key:"a5dc33bcf0dd9247828ad04752b17d371cc4a429",class:"container",ref:t=>this.datepickerContainer=t},n("tet-datepicker-header",{key:"fcd64f21de565ec1ccdf6756412c357e3e14beb4",selectedDate:this.date,internalDate:this.internalDate,locale:this.locale,datepickerView:this.datepickerView}),"month"===this.datepickerView&&n("tet-datepicker-month-view",{key:"f9fe3a28af603f8edbaea41fba4282b06466751b",selectedDate:this.date,internalDate:this.internalDate,rangePickerMode:this.rangePickerMode,rangeDates:this.rangeDates}),"multi-year"===this.datepickerView&&n("tet-datepicker-multi-year-view",{key:"3afd90766288994f3b0268d33f0c55ed0421b340",selectedDate:this.date,internalDate:this.internalDate}),"year"===this.datepickerView&&n("tet-datepicker-year-view",{key:"778c33dd99822783ddfa1c5097672e8c17318911",selectedDate:this.date,internalDate:this.internalDate})))}static get watchers(){return{date:[{handleDateChange:0}],rangeDates:[{handleRangeDateChange:0}]}}};a.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{display:block;--light-theme-elevation-3:0 0.0625rem 0.125rem rgba(10, 11, 13, 0.05), 0 0.3125rem 0.6875rem rgba(10, 11, 13, 0.12);--text-color-primary-light:#f6f7f8;--interaction-state-gray:rgba(89, 99, 115, 0.08)}.overlay{position:fixed;z-index:100;inset:0}.overlay-effect{background:rgba(10, 11, 13, 0.4)}.overlay.closed{display:none}.overlay .container{max-width:22rem;min-height:20rem;height:auto;width:100%;background:rgb(255, 255, 255);border:0.0625rem solid rgb(192, 197, 206);box-shadow:var(--light-theme-elevation-3);border-radius:0.875rem;padding:0.5rem;position:absolute}';export{a as tet_datepicker}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e,A as o}from"./p-
|
|
1
|
+
import{e,A as o}from"./p-C2_Y9hR8.js";const r=r=>{let t;try{t=new URL(e.productComparison).href}catch(e){return console.error(e),Promise.reject("SAC product comparison endpoint URL generation failed.")}return(new o).setUrl(t+"?products="+r).setOptions({method:"GET"}).setErrorFallbackValue([]).execute()};export{r as p}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as r}from"./p-BlxQHXlF.js";function e(r=new Date){return`${r.getFullYear()}-${String(r.getMonth()+1).padStart(2,"0")}-${String(r.getDate()).padStart(2,"0")}`}const t=(e,t="mobile",a=10)=>{const l=Array.from({length:a},(()=>r("tet-placeholder",{class:"tv-program__item-placeholder",height:"desktop"===t?"var(--channel-row-height)":"5rem",darkTheme:"dark"===e})));return"desktop"===t?r("li",{key:"program-placeholders",class:"tv-program__placeholders","aria-hidden":"true"},l):l.map((e=>r("li",{"aria-hidden":"true"},e)))};export{e as f,t as r}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class t{onHidden;tooltip;version=0;active=!1;openedAt;showing=!1;immediate=!1;originalShowDelay;hideTimeout;hideFrame;constructor(t){this.onHidden=t}request(t=!1){this.active=!0,this.immediate||=t,this.version++,clearTimeout(this.hideTimeout),this.tooltip&&this.open(this.tooltip)}attach(t){t&&t!==this.tooltip&&(this.tooltip=t,this.showing=!1,this.openedAt=void 0,this.active&&this.open(t))}dismiss(t=!1){this.active=!1;const i=++this.version;clearTimeout(this.hideTimeout);const s=this.tooltip;if(!s)return void this.onHidden();const h=void 0===this.openedAt||Date.now()-this.openedAt<this.delay(s,"--tooltip-delay-show"),o=t||h?0:this.delay(s,"--tooltip-delay-hide");o>0?this.hideTimeout=setTimeout((()=>{this.hide(s,i)}),o):this.hide(s,i)}reset(){this.version++,this.active=!1,this.tooltip&&void 0!==this.originalShowDelay&&(this.originalShowDelay?this.tooltip.style.setProperty("--tooltip-delay-show",this.originalShowDelay):this.tooltip.style.removeProperty("--tooltip-delay-show")),this.originalShowDelay=void 0,this.immediate=!1,this.tooltip=void 0,this.openedAt=void 0,this.showing=!1,clearTimeout(this.hideTimeout),void 0!==this.hideFrame&&(cancelAnimationFrame(this.hideFrame),this.hideFrame=void 0)}delay(t,i){const s=globalThis.getComputedStyle(t).getPropertyValue(i).trim(),h=Number.parseFloat(s)*(s.endsWith("ms")?1:1e3);return Number.isFinite(h)?Math.max(0,h):0}async open(t){const i=this.version;if(await(t.componentOnReady?.()),i!==this.version||!this.active||t!==this.tooltip||!t.isConnected)return;const s=!this.showing&&void 0!==this.openedAt&&Date.now()-this.openedAt>=this.delay(t,"--tooltip-delay-show");(this.immediate||s)&&this.skipShowDelay(t),this.showing||(t.style.display="inline-block",t.getBoundingClientRect(),this.openedAt=Date.now(),this.showing=!0,await t.show())}skipShowDelay(t){this.originalShowDelay??=t.style.getPropertyValue("--tooltip-delay-show");const i=t.getAnimations?.()??[];t.style.setProperty("--tooltip-delay-show","0s");for(const t of i){const i=t.effect?.getTiming().delay??0;i>0&&"transitionProperty"in t&&["opacity","visibility"].includes(String(t.transitionProperty))&&(t.currentTime=Math.max("number"==typeof t.currentTime?t.currentTime:0,i))}}async hide(t,i){i===this.version&&t===this.tooltip&&(this.showing=!1,await t.hide(),i===this.version&&(this.hideFrame=requestAnimationFrame((()=>{this.hideFrame=void 0;const s=t.getAnimations?.()??[];Promise.all(s.map((t=>t.finished.catch((()=>{}))))).then((()=>{i!==this.version||this.active||this.onHidden()}))}))))}}const i=new Intl.DateTimeFormat("lv-LV",{weekday:"long",timeZone:"UTC"});function s(t){if(!t||!/^\d{4}-\d{2}-\d{2}$/.test(t))return"";const s=new Date(`${t}T00:00:00Z`);if(Number.isNaN(s.getTime())||s.toISOString().slice(0,10)!==t)return"";const h=i.format(s),[o,e,n]=t.split("-");return`${h.charAt(0).toLocaleUpperCase("lv-LV")}${h.slice(1)}, ${n}.${e}.${o}`}export{t as T,s as f}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const t={environment:"testing"};function n(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var e,o=(t,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[s]])=>{if(31&s||32&s){const s=t[o],i=n(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);i&&Object.defineProperty(t,o,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),e.i.has(o)?t[o]=e.i.get(o):void 0!==s&&(t[o]=s)}}))},s=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},i=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&o(t,n))},l=(t,n)=>n in t,r=(t,n)=>(0,console.error)(t,n),c=new Map,u=new Map,f=new Map,a="slot-fb{display:contents}slot-fb[hidden]{display:none}",d="http://www.w3.org/1999/xlink",h="undefined"!=typeof window?window:{},p=h.HTMLElement||class{},v={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},b=t=>Promise.resolve(t),m=(()=>{try{return!!h.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),y=!!m&&(()=>!!h.document&&Object.getOwnPropertyDescriptor(h.document.adoptedStyleSheets,"length").writable)(),g=!1,w=[],$=[],j=()=>{var t;return(null==(t=h.document)?void 0:t.hidden)?k(N):v.raf(N)},O=(t,n)=>e=>{t.push(e),g||(g=!0,n&&4&v.u?k(N):j())},S=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){r(t)}t.length=0},N=()=>{S(w),S($),(g=w.length>0)&&j()},k=t=>b().then(t),C=O($,!0),E=t=>{const n=new URL(t,v.h);return n.origin!==h.location.origin?n.href:n.pathname};function x(t){const n={mode:"open"};n.delegatesFocus=!!(16&t.u);const o=this.attachShadow(n);void 0===e&&(e=null),e&&(y?o.adoptedStyleSheets.push(e):o.adoptedStyleSheets=[...o.adoptedStyleSheets,e])}var M=t=>{const n=tt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&L(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!R(t,_(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&tt(t,"childNodes").length&&M(t)}},T=t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n};function L(t,n,e){let o,s=0,i=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||_(o)===e)&&(i.push(o),void 0!==e))return i;i=[...i,...L(tt(o,"childNodes"),n,e)]}return i}var R=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)_(s)!==n||!e&&s["s-sr"]||o.push(s);return o},A=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,F=(t,n,e)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode;tt(s,e?"prepend":"appendChild").call(s,o),t["s-ol"]=o,t["s-sh"]=n["s-hn"]},_=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function B(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function P(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=_(t)||"";return{slotNode:L(tt(n,"childNodes"),n.tagName,o)[0],slotName:o}}var D=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const e=this.shadowRoot&&true,o=n.call(this,!!e&&t);if(!e&&t){let t,n,e=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;e<i.length;e++)t=i[e]["s-nr"],n=s.every((t=>!i[e][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),n&&o.appendChild(i[e].cloneNode(!0))}return o}},H=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:n,slotNode:e}=P(t,this);if(e){F(t,e);const o=R(e,n),s=o[o.length-1],i=tt(s,"parentNode"),l=tt(i,"insertBefore")(t,s.nextSibling);return B(e),M(this),l}return this.__appendChild(t)})},U=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&L(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void M(this)):this.__removeChild(t)})},W=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...n){n.forEach((n=>{"string"==typeof n&&(n=this.ownerDocument.createTextNode(n));const e=(n["s-sn"]=_(n))||"",o=L(tt(this,"childNodes"),this.tagName,e)[0];if(o){F(n,o,!0);const t=R(o,e)[0],s=tt(t,"parentNode"),i=tt(s,"insertBefore")(n,tt(t,"nextSibling"));return B(o),i}return 1===n.nodeType&&n.getAttribute("slot")&&(n.hidden=!0),t.__prepend(n)}))})},z=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},V=t=>{if(t.__insertAdjacentHTML)return;const n=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,e){if("afterbegin"!==t&&"beforeend"!==t)return n.call(this,t,e);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=e,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},q=t=>{t.insertAdjacentText=function(t,n){this.insertAdjacentHTML(t,n)}},I=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,n){const{slotName:e,slotNode:o}=P(t,this),s=this.__childNodes?this.childNodes:T(this.childNodes);if(o){let i=!1;if(s.forEach((s=>{if(s!==n&&null!==n);else{if(i=!0,null===n||e!==n["s-sn"])return void this.appendChild(t);if(e===n["s-sn"]){F(t,o);const e=tt(n,"parentNode");tt(e,"insertBefore")(t,n),B(o)}}})),i)return t}const i=null==n?void 0:n.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(t):this.__insertBefore(t,n)})},Y=t=>{if(t.__insertAdjacentElement)return;const n=t.insertAdjacentElement;t.insertAdjacentElement=function(t,e){return"afterbegin"!==t&&"beforeend"!==t?n.call(this,t,e):"afterbegin"===t?(this.prepend(e),e):"beforeend"===t?(this.append(e),e):e}},G=t=>{X("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:T(this.childNodes)).forEach((n=>t+=n.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:T(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},Z=t=>{class n extends Array{item(t){return this[t]}}X("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),X("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),X("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),X("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new n;return t.push(...T(this.__childNodes)),t}})},J=t=>{t&&!t.__parentNode&&(X("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},K=["children","nextElementSibling","previousElementSibling"],Q=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function X(t,n){if(!globalThis.Node||!globalThis.Element)return;let e;K.includes(t)?e=Object.getOwnPropertyDescriptor(Element.prototype,t):Q.includes(t)&&(e=Object.getOwnPropertyDescriptor(Node.prototype,t)),e||(e=Object.getOwnPropertyDescriptor(n,t)),e&&Object.defineProperty(n,"__"+t,e)}function tt(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function nt(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var et,ot,st,it=new WeakMap,lt=t=>"sc-"+t.p,rt=t=>"object"==(t=typeof t)||"function"===t,ct=(t,n,...e)=>{let o=null,s=null,i=null,l=!1,c=!1;const u=[],f=n=>{for(let e=0;e<n.length;e++)if(o=n[e],Array.isArray(o))f(o);else if(null!=o&&"boolean"!=typeof o){if(l="function"!=typeof t&&!rt(o))o+="";else if("function"!=typeof t&&void 0===o.u){r("Invalid vNode child");continue}l&&c?u[u.length-1].v+=o:u.push(l?ut(null,o):o),c=l}};if(f(e),n){n.key&&(s=n.key),n.name&&(i=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,u,at);const a=ut(t,null);return a.m=n,u.length>0&&(a.$=u),a.j=s,a.O=i,a},ut=(t,n)=>({u:0,S:t,v:null!=n?n:null,N:null,$:null,m:null,j:null,O:null}),ft={},at={forEach:(t,n)=>t.map(dt).forEach(n),map:(t,n)=>t.map(dt).map(n).map(ht)},dt=t=>({vattrs:t.m,vchildren:t.$,vkey:t.j,vname:t.O,vtag:t.S,vtext:t.v}),ht=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),ct(t.vtag,n,...t.vchildren||[])}const n=ut(t.vtag,t.vtext);return n.m=t.vattrs,n.$=t.vchildren,n.j=t.vkey,n.O=t.vname,n},pt=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},vt=(t,n)=>null==t||rt(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,bt=t=>{var n;return null==(n=s(t))?void 0:n.$hostElement$},mt=(t,n)=>{const e=bt(t);return{emit:t=>yt(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},yt=(t,n,e)=>{const o=v.ce(n,e);return t.dispatchEvent(o),o},gt=(t,n,e,o,i,r)=>{if(e===o)return;let c=l(t,n),u=n.toLowerCase();if("class"===n){const n=t.classList,s=Ot(e);let i=Ot(o);n.remove(...s.filter((t=>t&&!i.includes(t)))),n.add(...i.filter((t=>t&&!s.includes(t))))}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&qt(o,t);else if(c||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let i;{const n=s(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(i=t[1])}}return i||(i=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const s=rt(o);if((c||s&&null!==o)&&!i)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const s=null==o?"":o;"list"===n?c=!1:null!=e&&t[n]===s||("function"==typeof t.__lookupSetter__(n)?t[n]=s:t.setAttribute(n,s))}}catch(t){}let l=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,l=!0),null==o||!1===o?(!1!==o||""===t.getAttribute(n)||4&r&&!$t(n))&&(l?t.removeAttributeNS(d,n):t.removeAttribute(n)):(!c||4&r||i)&&!s&&1===t.nodeType&&(o=!0===o?"":o,l?t.setAttributeNS(d,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):l(h,u)?u.slice(2):u[2]+n.slice(3),e||o){const s=n.endsWith(St);n=n.replace(Nt,""),e&&v.rel(t,n,e,s),o&&v.ael(t,n,o,s)}},wt=new Set(["draggable","contenteditable","spellcheck"]),$t=t=>wt.has(t)||t.startsWith("aria-"),jt=/\s/,Ot=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(jt):[]),St="Capture",Nt=RegExp(St+"$"),kt=(t,n,e)=>{const o=11===n.N.nodeType&&n.N.host?n.N.host:n.N,s=t&&t.m||{},i=n.m||{};for(const t of Ct(Object.keys(s)))t in i||gt(o,t,s[t],void 0,e,n.u);for(const t of Ct(Object.keys(i)))gt(o,t,s[t],i[t],e,n.u)};function Ct(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Et=!1,xt=!1,Mt=!1,Tt=!1,Lt=[],Rt=[],At=(t,n,e)=>{var o;const s=n.$[e];let i,l,r,c=0;if(Et||(Mt=!0,"slot"===s.S&&(s.u|=s.$?2:1)),null!=s.v)i=s.N=h.document.createTextNode(s.v);else if(1&s.u)i=s.N=h.document.createTextNode(""),kt(null,s,Tt);else{if(Tt||(Tt="svg"===s.S),!h.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=s.N=h.document.createElementNS(Tt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Et&&2&s.u?"slot-fb":s.S),Tt&&"foreignObject"===s.S&&(Tt=!1),kt(null,s,Tt),null!=et&&void 0!==et&&i["s-si"]!==et&&i.classList.add(i["s-si"]=et),s.$){const n="template"===s.S?i.content:i;for(c=0;c<s.$.length;++c)l=At(t,s,c),l&&n.appendChild(l)}"svg"===s.S?Tt=!1:"foreignObject"===i.tagName&&(Tt=!0)}return i["s-hn"]=st,3&s.u&&(i["s-sr"]=!0,i["s-cr"]=ot,i["s-sn"]=s.O||"",i["s-rf"]=null==(o=s.m)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:T(s.childNodes)).forEach((t=>{o===_(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(i),r=t&&t.$&&t.$[e],r&&r.S===s.S&&t.N&&Ft(t.N),Yt(ot,i,n.N,null==t?void 0:t.N)),i},Ft=t=>{v.u|=1;const n=t.closest(st.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(It(n,t,null!=e?e:null),t["s-sh"]=void 0,Mt=!0)}v.u&=-2},_t=(t,n)=>{v.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===st&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==st&&o["s-ol"]&&(It(Ht(o).parentNode,o,Ht(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Mt=!0),n&&_t(o,n)}v.u&=-2},Bt=(t,n,e,o,s,i)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===st&&(r=r.shadowRoot),"template"===e.S&&(r=r.content);s<=i;++s)o[s]&&(l=At(null,e,s),l&&(o[s].N=l,It(r,l,Ht(n))))},Pt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.N;Vt(n),t&&(xt=!0,t["s-ol"]?t["s-ol"].remove():_t(t,!0),t.remove())}}},Dt=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.O===n.O:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),Ht=t=>t&&t["s-ol"]||t,Ut=(t,n,e=!1)=>{const o=n.N=t.N,s=t.$,i=n.$,l=n.S,r=n.v;let c;null==r?(Tt="svg"===l||"foreignObject"!==l&&Tt,"slot"!==l||Et||t.O!==n.O&&(n.N["s-sn"]=n.O||"",Ft(n.N.parentElement)),kt(t,n,Tt),null!==s&&null!==i?((t,n,e,o,s=!1)=>{let i,l,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],h=n[a],p=o.length-1,v=o[0],b=o[p];const m="template"===e.S?t.content:t;for(;r<=a&&c<=p;)if(null==d)d=n[++r];else if(null==h)h=n[--a];else if(null==v)v=o[++c];else if(null==b)b=o[--p];else if(Dt(d,v,s))Ut(d,v,s),d=n[++r],v=o[++c];else if(Dt(h,b,s))Ut(h,b,s),h=n[--a],b=o[--p];else if(Dt(d,b,s))"slot"!==d.S&&"slot"!==b.S||_t(d.N.parentNode,!1),Ut(d,b,s),It(m,d.N,h.N.nextSibling),d=n[++r],b=o[--p];else if(Dt(h,v,s))"slot"!==d.S&&"slot"!==b.S||_t(h.N.parentNode,!1),Ut(h,v,s),It(m,h.N,d.N),h=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===v.j){u=f;break}u>=0?(l=n[u],l.S!==v.S?i=At(n&&n[c],e,c):(Ut(l,v,s),n[u]=void 0,i=l.N),v=o[++c]):(i=At(n&&n[c],e,c),v=o[++c]),i&&It(Ht(d.N).parentNode,i,Ht(d.N))}r>a?Bt(t,null==o[p+1]?null:o[p+1].N,e,o,c,p):c>p&&Pt(n,r,a)})(o,s,n,i,e):null!==i?(null!==t.v&&(o.textContent=""),Bt(o,null,n,i,0,i.length-1)):!e&&null!==s&&Pt(s,0,s.length-1),Tt&&"svg"===l&&(Tt=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(o.data=r)},Wt=[],zt=t=>{let n,e,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const s=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==t["s-hn"]||""!==s&&_(n)===s))if(A(n,s)){let e=Wt.find((t=>t.k===n));xt=!0,n["s-sn"]=n["s-sn"]||s,e?(e.k["s-sh"]=t["s-hn"],e.C=t):(n["s-sh"]=t["s-hn"],Wt.push({C:t,k:n})),n["s-sr"]&&Wt.map((t=>{A(t.k,n["s-sn"])&&(e=Wt.find((t=>t.k===n)),e&&!t.C&&(t.C=e.C))}))}else Wt.some((t=>t.k===n))||Wt.push({k:n})}1===t.nodeType&&zt(t)}},Vt=t=>{t.m&&t.m.ref&&Lt.push((()=>t.m.ref(null))),t.$&&t.$.map(Vt)},qt=(t,n)=>{Rt.push((()=>t(n)))},It=(t,n,e,o)=>{if("string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])Yt(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&J(n),t.insertBefore(n,e);const{slotNode:s}=P(n);return s&&!o&&B(s),n}return(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)};function Yt(t,n,e,o){var s,i;let l;if(t&&"string"==typeof n["s-sn"]&&n["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(l=n["s-si"]||t.parentNode["s-sc"])){const t=n["s-sn"],r=n["s-hn"];if(null==(s=e.classList)||s.add(l+"-s"),o&&(null==(i=o.classList)?void 0:i.contains(l+"-s"))){let n=(o.__childNodes||o.childNodes)[0],e=!1;for(;n;){if(n["s-sn"]!==t&&n["s-hn"]===r&&n["s-sr"]){e=!0;break}n=n.nextSibling}e||o.classList.remove(l+"-s")}}}var Gt=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},Zt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Gt(t,t.T);const e=()=>Jt(t,n);if(!n)return C(e);queueMicrotask((()=>{e()}))},Jt=(t,n)=>{const e=t.$hostElement$,o=t.l;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return n?(t.L&&(t.L=!1,rn(o,"connectedCallback",void 0,e)),t.u|=256,t.R&&(t.R.map((([t,n])=>rn(o,t,n,e))),t.R=void 0),t.A.length&&t.A.forEach((t=>t(e))),s=rn(o,"componentWillLoad",void 0,e)):s=rn(o,"componentWillUpdate",void 0,e),s=Kt(s,(()=>rn(o,"componentWillRender",void 0,e))),Kt(s,(()=>Xt(t,o,n)))},Kt=(t,n)=>Qt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Qt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Xt=async(t,n,e)=>{var o;const s=t.$hostElement$,i=s["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.u,s=((t,n)=>{var e,o,s;const i=lt(n),l=f.get(i);if(!h.document)return i;if(t=11===t.nodeType?t:h.document,l)if("string"==typeof l){let s,r=it.get(t=t.head||t);if(r||it.set(t,r=new Set),!r.has(i)){s=h.document.createElement("style"),s.textContent=l;const c=null!=(e=v.F)?e:nt(h.document);if(null!=c&&s.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(m){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(l),y?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=l+n.textContent:t.prepend(s)}else t.append(s);1&n.u&&t.insertBefore(s,null),4&n.u&&(s.textContent+=a),r&&r.add(i)}}else{let n=it.get(t);if(n||it.set(t,n=new Set),!n.has(i)){const e=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let o;if(l.constructor===e.CSSStyleSheet)o=l;else{o=new e.CSSStyleSheet;for(let t=0;t<l.cssRules.length;t++)o.insertRule(l.cssRules[t].cssText,t)}y?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(i)}}return i})(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);10&o&&(e["s-sc"]=s,e.classList.add(s+"-h"))})(t);nn(t,n,s,e),i&&(i.map((t=>t())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],e=()=>on(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},tn=null,nn=(t,n,e,o)=>{try{tn=n,n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,s,i,l,r;const c=t.$hostElement$,u=t.o,f=t._||ut(null,null),a=(t=>t&&t.S===ft)(n)?n:ct(null,null,n);if(st=c.tagName,u.B&&(a.m=a.m||{},u.B.forEach((([t,n])=>{a.m[n]=c[t]}))),e&&a.m)for(const t of Object.keys(a.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.m[t]=c[t]);if(a.S=null,a.u|=4,t._=a,a.N=f.N=c.shadowRoot||c,et=c["s-sc"],Et=!(!(1&u.u)||128&u.u),ot=c["s-cr"],xt=!1,Ut(f,a,e),v.u|=1,Mt){zt(a.N);for(const t of Wt){const n=t.k;if(!n["s-ol"]&&h.document){const t=h.document.createTextNode("");t["s-nr"]=n,It(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of Wt){const n=t.k,r=t.C;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;e;){let s=null!=(i=e["s-nr"])?i:null;if(s&&s["s-sn"]===n["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(It(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=h.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,It(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(l=n["s-ih"])&&l)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(xt&&M(a.N),v.u&=-2,Wt.length=0,!Et&&!(1&u.u)&&c["s-cr"]){const t=a.N.__childNodes||a.N.childNodes;for(const n of t)if(n["s-hn"]!==st&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=h.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],It(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}ot=void 0,Lt.forEach((t=>t())),Lt.length=0,Rt.forEach((t=>t())),Rt.length=0})(t,n,o)}catch(n){r(n,t.$hostElement$)}return tn=null,null},en=()=>tn,on=t=>{const n=t.$hostElement$,e=t.l,o=t.T;rn(e,"componentDidRender",void 0,n),64&t.u?rn(e,"componentDidUpdate",void 0,n):(t.u|=64,cn(n),rn(e,"componentDidLoad",void 0,n),t.P(n),o||ln()),t.D(n),t.M&&(t.M(),t.M=void 0),512&t.u&&k((()=>Zt(t,!1))),t.u&=-517},sn=t=>{var n;{const e=s(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.u)&&Zt(e,!1),o}},ln=()=>{k((()=>yt(h,"appload",{detail:{namespace:"tet-components"}})))},rn=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){r(t,o)}},cn=t=>t.classList.add("hydrated"),un=(t,n,e,o)=>{const i=s(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${o.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=i.$hostElement$,c=i.i.get(n),u=i.u,f=i.l;if(e=vt(e,o.t[n][0]),!(8&u&&void 0!==c||e===c||Number.isNaN(c)&&Number.isNaN(e))){if(i.i.set(n,e),o.H){const t=o.H[n];t&&t.map((t=>{try{const[[o,s]]=Object.entries(t);(128&u||1&s)&&(f?f[o](e,c,n):i.A.push((()=>{i.l[o](e,c,n)})))}catch(t){r(t,l)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(e,c,n)&&!(16&u))return;16&u||Zt(i,!1)}}},fn=(t,e,o)=>{var i,l;const r=t.prototype;{t.watchers&&!e.H&&(e.H=pt(t.watchers)),t.deserializers&&!e.U&&(e.U=t.deserializers),t.serializers&&!e.W&&(e.W=t.serializers);const c=Object.entries(null!=(i=e.t)?i:{});if(c.map((([t,[i]])=>{if(31&i||2&o&&32&i){const{get:l,set:c}=n(r,t)||{};l&&(e.t[t][0]|=2048),c&&(e.t[t][0]|=4096),(1&o||!l)&&Object.defineProperty(r,t,{get(){{if(!(2048&e.t[t][0]))return((t,n)=>s(this).i.get(n))(0,t);const n=s(this),o=n?n.l:r;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,t,{set(n){const l=s(this);if(l){if(c)return void 0===(32&i?this[t]:l.$hostElement$[t])&&l.i.get(t)&&(n=l.i.get(t)),c.call(this,vt(n,i)),void un(this,t,n=32&i?this[t]:l.$hostElement$[t],e);{if(!(1&o&&4096&e.t[t][0]))return un(this,t,n,e),void(1&o&&!l.l&&l.A.push((()=>{4096&e.t[t][0]&&l.l[t]!==l.i.get(t)&&(l.l[t]=n)})));const s=vt(n,i),r=n=>{const o=l.l[t];!l.i.get(t)&&o&&l.i.set(t,o),l.l[t]=n,un(this,t,l.l[t],e)};l.l?r(s):(l.i.set(t,s),l.A.push((()=>{const n=l.i.get(t);l.l[t]!==n&&r(n)})))}}}})}else 1&o&&64&i&&Object.defineProperty(r,t,{value(...n){var e;const o=s(this);return null==(e=null==o?void 0:o.V)?void 0:e.then((()=>{var e;return null==(e=o.l)?void 0:e[t](...n)}))}})})),1&o){const n=new Map;r.attributeChangedCallback=function(t,o,i){v.jmp((()=>{var l;const u=n.get(t),f=s(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const n=null==f?void 0:f.u;if(f&&n&&!(8&n)&&i!==o){const s=f.l,r=null==(l=e.H)?void 0:l[t];null==r||r.forEach((e=>{const[[l,r]]=Object.entries(e);null!=s[l]&&(128&n||1&r)&&s[l].call(s,i,o,t)}))}return}const a=c.find((([t])=>t===u)),d=a?a[1][0]:0,h=4&d;if(512&d&&8&d&&!rt(this[u])&&(t=>null==t||!1===t?null:!0===t?"":t+"")(this[u])===i)return;const p=h&&null===i&&void 0===this[u];h&&(i=null!==i&&"false"!==i);const v=4096&d?f.i.get(u):this[u],b=Object.getOwnPropertyDescriptor(r,u);p||i==v||b.get&&!b.set||(this[u]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e.H)?l:{}),...c.filter((([t,n])=>31&n[0])).map((([t,o])=>{var s;const i=o[1]||t;return n.set(i,t),512&o[0]&&(null==(s=e.B)||s.push([t,i])),i}))]))}}return t},an=async(t,n,e)=>{var o;let s;try{if(!(32&n.u)){if(n.u|=32,n.u&=-1025,e.q){const i=((t,n)=>{var e;const o=t.p.replace(/-/g,"_"),s=t.q;if(!s)return;const i=c.get(s);if(i)return i[o];const l=null!=(e=u.get(s))?e:0,f=[l>0?"s-retry="+l:"",""].filter(Boolean).join("&");
|
|
1
|
+
const t={environment:"staging"};function n(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var e,o=(t,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[s]])=>{if(31&s||32&s){const s=t[o],i=n(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);i&&Object.defineProperty(t,o,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),e.i.has(o)?t[o]=e.i.get(o):void 0!==s&&(t[o]=s)}}))},s=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},i=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&o(t,n))},l=(t,n)=>n in t,r=(t,n)=>(0,console.error)(t,n),c=new Map,u=new Map,f=new Map,a="slot-fb{display:contents}slot-fb[hidden]{display:none}",d="http://www.w3.org/1999/xlink",h="undefined"!=typeof window?window:{},p=h.HTMLElement||class{},v={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},b=t=>Promise.resolve(t),m=(()=>{try{return!!h.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),y=!!m&&(()=>!!h.document&&Object.getOwnPropertyDescriptor(h.document.adoptedStyleSheets,"length").writable)(),g=!1,w=[],$=[],j=()=>{var t;return(null==(t=h.document)?void 0:t.hidden)?k(N):v.raf(N)},O=(t,n)=>e=>{t.push(e),g||(g=!0,n&&4&v.u?k(N):j())},S=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){r(t)}t.length=0},N=()=>{S(w),S($),(g=w.length>0)&&j()},k=t=>b().then(t),C=O($,!0),E=t=>{const n=new URL(t,v.h);return n.origin!==h.location.origin?n.href:n.pathname};function x(t){const n={mode:"open"};n.delegatesFocus=!!(16&t.u);const o=this.attachShadow(n);void 0===e&&(e=null),e&&(y?o.adoptedStyleSheets.push(e):o.adoptedStyleSheets=[...o.adoptedStyleSheets,e])}var M=t=>{const n=tt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&L(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!R(t,_(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&tt(t,"childNodes").length&&M(t)}},T=t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n};function L(t,n,e){let o,s=0,i=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||_(o)===e)&&(i.push(o),void 0!==e))return i;i=[...i,...L(tt(o,"childNodes"),n,e)]}return i}var R=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)_(s)!==n||!e&&s["s-sr"]||o.push(s);return o},A=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,F=(t,n,e)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const s=n["s-cr"].parentNode;tt(s,e?"prepend":"appendChild").call(s,o),t["s-ol"]=o,t["s-sh"]=n["s-hn"]},_=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function B(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function P(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=_(t)||"";return{slotNode:L(tt(n,"childNodes"),n.tagName,o)[0],slotName:o}}var D=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const e=this.shadowRoot&&true,o=n.call(this,!!e&&t);if(!e&&t){let t,n,e=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;e<i.length;e++)t=i[e]["s-nr"],n=s.every((t=>!i[e][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),n&&o.appendChild(i[e].cloneNode(!0))}return o}},H=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:n,slotNode:e}=P(t,this);if(e){F(t,e);const o=R(e,n),s=o[o.length-1],i=tt(s,"parentNode"),l=tt(i,"insertBefore")(t,s.nextSibling);return B(e),M(this),l}return this.__appendChild(t)})},U=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&L(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void M(this)):this.__removeChild(t)})},W=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...n){n.forEach((n=>{"string"==typeof n&&(n=this.ownerDocument.createTextNode(n));const e=(n["s-sn"]=_(n))||"",o=L(tt(this,"childNodes"),this.tagName,e)[0];if(o){F(n,o,!0);const t=R(o,e)[0],s=tt(t,"parentNode"),i=tt(s,"insertBefore")(n,tt(t,"nextSibling"));return B(o),i}return 1===n.nodeType&&n.getAttribute("slot")&&(n.hidden=!0),t.__prepend(n)}))})},z=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},V=t=>{if(t.__insertAdjacentHTML)return;const n=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,e){if("afterbegin"!==t&&"beforeend"!==t)return n.call(this,t,e);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=e,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},q=t=>{t.insertAdjacentText=function(t,n){this.insertAdjacentHTML(t,n)}},I=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,n){const{slotName:e,slotNode:o}=P(t,this),s=this.__childNodes?this.childNodes:T(this.childNodes);if(o){let i=!1;if(s.forEach((s=>{if(s!==n&&null!==n);else{if(i=!0,null===n||e!==n["s-sn"])return void this.appendChild(t);if(e===n["s-sn"]){F(t,o);const e=tt(n,"parentNode");tt(e,"insertBefore")(t,n),B(o)}}})),i)return t}const i=null==n?void 0:n.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(t):this.__insertBefore(t,n)})},Y=t=>{if(t.__insertAdjacentElement)return;const n=t.insertAdjacentElement;t.insertAdjacentElement=function(t,e){return"afterbegin"!==t&&"beforeend"!==t?n.call(this,t,e):"afterbegin"===t?(this.prepend(e),e):"beforeend"===t?(this.append(e),e):e}},G=t=>{X("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:T(this.childNodes)).forEach((n=>t+=n.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:T(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},Z=t=>{class n extends Array{item(t){return this[t]}}X("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),X("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),X("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),X("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new n;return t.push(...T(this.__childNodes)),t}})},J=t=>{t&&!t.__parentNode&&(X("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},K=["children","nextElementSibling","previousElementSibling"],Q=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function X(t,n){if(!globalThis.Node||!globalThis.Element)return;let e;K.includes(t)?e=Object.getOwnPropertyDescriptor(Element.prototype,t):Q.includes(t)&&(e=Object.getOwnPropertyDescriptor(Node.prototype,t)),e||(e=Object.getOwnPropertyDescriptor(n,t)),e&&Object.defineProperty(n,"__"+t,e)}function tt(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function nt(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var et,ot,st,it=new WeakMap,lt=t=>"sc-"+t.p,rt=t=>"object"==(t=typeof t)||"function"===t,ct=(t,n,...e)=>{let o=null,s=null,i=null,l=!1,c=!1;const u=[],f=n=>{for(let e=0;e<n.length;e++)if(o=n[e],Array.isArray(o))f(o);else if(null!=o&&"boolean"!=typeof o){if(l="function"!=typeof t&&!rt(o))o+="";else if("function"!=typeof t&&void 0===o.u){r("Invalid vNode child");continue}l&&c?u[u.length-1].v+=o:u.push(l?ut(null,o):o),c=l}};if(f(e),n){n.key&&(s=n.key),n.name&&(i=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,u,at);const a=ut(t,null);return a.m=n,u.length>0&&(a.$=u),a.j=s,a.O=i,a},ut=(t,n)=>({u:0,S:t,v:null!=n?n:null,N:null,$:null,m:null,j:null,O:null}),ft={},at={forEach:(t,n)=>t.map(dt).forEach(n),map:(t,n)=>t.map(dt).map(n).map(ht)},dt=t=>({vattrs:t.m,vchildren:t.$,vkey:t.j,vname:t.O,vtag:t.S,vtext:t.v}),ht=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),ct(t.vtag,n,...t.vchildren||[])}const n=ut(t.vtag,t.vtext);return n.m=t.vattrs,n.$=t.vchildren,n.j=t.vkey,n.O=t.vname,n},pt=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},vt=(t,n)=>null==t||rt(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,bt=t=>{var n;return null==(n=s(t))?void 0:n.$hostElement$},mt=(t,n)=>{const e=bt(t);return{emit:t=>yt(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},yt=(t,n,e)=>{const o=v.ce(n,e);return t.dispatchEvent(o),o},gt=(t,n,e,o,i,r)=>{if(e===o)return;let c=l(t,n),u=n.toLowerCase();if("class"===n){const n=t.classList,s=Ot(e);let i=Ot(o);n.remove(...s.filter((t=>t&&!i.includes(t)))),n.add(...i.filter((t=>t&&!s.includes(t))))}else if("style"===n){for(const n in e)o&&null!=o[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)e&&o[n]===e[n]||(n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if("key"===n);else if("ref"===n)o&&qt(o,t);else if(c||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let i;{const n=s(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(i=t[1])}}return i||(i=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===o?"":o))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=o}catch(t){}return}{const s=rt(o);if((c||s&&null!==o)&&!i)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const s=null==o?"":o;"list"===n?c=!1:null!=e&&t[n]===s||("function"==typeof t.__lookupSetter__(n)?t[n]=s:t.setAttribute(n,s))}}catch(t){}let l=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,l=!0),null==o||!1===o?(!1!==o||""===t.getAttribute(n)||4&r&&!$t(n))&&(l?t.removeAttributeNS(d,n):t.removeAttribute(n)):(!c||4&r||i)&&!s&&1===t.nodeType&&(o=!0===o?"":o,l?t.setAttributeNS(d,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):l(h,u)?u.slice(2):u[2]+n.slice(3),e||o){const s=n.endsWith(St);n=n.replace(Nt,""),e&&v.rel(t,n,e,s),o&&v.ael(t,n,o,s)}},wt=new Set(["draggable","contenteditable","spellcheck"]),$t=t=>wt.has(t)||t.startsWith("aria-"),jt=/\s/,Ot=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(jt):[]),St="Capture",Nt=RegExp(St+"$"),kt=(t,n,e)=>{const o=11===n.N.nodeType&&n.N.host?n.N.host:n.N,s=t&&t.m||{},i=n.m||{};for(const t of Ct(Object.keys(s)))t in i||gt(o,t,s[t],void 0,e,n.u);for(const t of Ct(Object.keys(i)))gt(o,t,s[t],i[t],e,n.u)};function Ct(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Et=!1,xt=!1,Mt=!1,Tt=!1,Lt=[],Rt=[],At=(t,n,e)=>{var o;const s=n.$[e];let i,l,r,c=0;if(Et||(Mt=!0,"slot"===s.S&&(s.u|=s.$?2:1)),null!=s.v)i=s.N=h.document.createTextNode(s.v);else if(1&s.u)i=s.N=h.document.createTextNode(""),kt(null,s,Tt);else{if(Tt||(Tt="svg"===s.S),!h.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=s.N=h.document.createElementNS(Tt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Et&&2&s.u?"slot-fb":s.S),Tt&&"foreignObject"===s.S&&(Tt=!1),kt(null,s,Tt),null!=et&&void 0!==et&&i["s-si"]!==et&&i.classList.add(i["s-si"]=et),s.$){const n="template"===s.S?i.content:i;for(c=0;c<s.$.length;++c)l=At(t,s,c),l&&n.appendChild(l)}"svg"===s.S?Tt=!1:"foreignObject"===i.tagName&&(Tt=!0)}return i["s-hn"]=st,3&s.u&&(i["s-sr"]=!0,i["s-cr"]=ot,i["s-sn"]=s.O||"",i["s-rf"]=null==(o=s.m)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:T(s.childNodes)).forEach((t=>{o===_(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(i),r=t&&t.$&&t.$[e],r&&r.S===s.S&&t.N&&Ft(t.N),Yt(ot,i,n.N,null==t?void 0:t.N)),i},Ft=t=>{v.u|=1;const n=t.closest(st.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(It(n,t,null!=e?e:null),t["s-sh"]=void 0,Mt=!0)}v.u&=-2},_t=(t,n)=>{v.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===st&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==st&&o["s-ol"]&&(It(Ht(o).parentNode,o,Ht(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Mt=!0),n&&_t(o,n)}v.u&=-2},Bt=(t,n,e,o,s,i)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===st&&(r=r.shadowRoot),"template"===e.S&&(r=r.content);s<=i;++s)o[s]&&(l=At(null,e,s),l&&(o[s].N=l,It(r,l,Ht(n))))},Pt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.N;Vt(n),t&&(xt=!0,t["s-ol"]?t["s-ol"].remove():_t(t,!0),t.remove())}}},Dt=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.O===n.O:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),Ht=t=>t&&t["s-ol"]||t,Ut=(t,n,e=!1)=>{const o=n.N=t.N,s=t.$,i=n.$,l=n.S,r=n.v;let c;null==r?(Tt="svg"===l||"foreignObject"!==l&&Tt,"slot"!==l||Et||t.O!==n.O&&(n.N["s-sn"]=n.O||"",Ft(n.N.parentElement)),kt(t,n,Tt),null!==s&&null!==i?((t,n,e,o,s=!1)=>{let i,l,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],h=n[a],p=o.length-1,v=o[0],b=o[p];const m="template"===e.S?t.content:t;for(;r<=a&&c<=p;)if(null==d)d=n[++r];else if(null==h)h=n[--a];else if(null==v)v=o[++c];else if(null==b)b=o[--p];else if(Dt(d,v,s))Ut(d,v,s),d=n[++r],v=o[++c];else if(Dt(h,b,s))Ut(h,b,s),h=n[--a],b=o[--p];else if(Dt(d,b,s))"slot"!==d.S&&"slot"!==b.S||_t(d.N.parentNode,!1),Ut(d,b,s),It(m,d.N,h.N.nextSibling),d=n[++r],b=o[--p];else if(Dt(h,v,s))"slot"!==d.S&&"slot"!==b.S||_t(h.N.parentNode,!1),Ut(h,v,s),It(m,h.N,d.N),h=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===v.j){u=f;break}u>=0?(l=n[u],l.S!==v.S?i=At(n&&n[c],e,c):(Ut(l,v,s),n[u]=void 0,i=l.N),v=o[++c]):(i=At(n&&n[c],e,c),v=o[++c]),i&&It(Ht(d.N).parentNode,i,Ht(d.N))}r>a?Bt(t,null==o[p+1]?null:o[p+1].N,e,o,c,p):c>p&&Pt(n,r,a)})(o,s,n,i,e):null!==i?(null!==t.v&&(o.textContent=""),Bt(o,null,n,i,0,i.length-1)):!e&&null!==s&&Pt(s,0,s.length-1),Tt&&"svg"===l&&(Tt=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(o.data=r)},Wt=[],zt=t=>{let n,e,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const s=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==t["s-hn"]||""!==s&&_(n)===s))if(A(n,s)){let e=Wt.find((t=>t.k===n));xt=!0,n["s-sn"]=n["s-sn"]||s,e?(e.k["s-sh"]=t["s-hn"],e.C=t):(n["s-sh"]=t["s-hn"],Wt.push({C:t,k:n})),n["s-sr"]&&Wt.map((t=>{A(t.k,n["s-sn"])&&(e=Wt.find((t=>t.k===n)),e&&!t.C&&(t.C=e.C))}))}else Wt.some((t=>t.k===n))||Wt.push({k:n})}1===t.nodeType&&zt(t)}},Vt=t=>{t.m&&t.m.ref&&Lt.push((()=>t.m.ref(null))),t.$&&t.$.map(Vt)},qt=(t,n)=>{Rt.push((()=>t(n)))},It=(t,n,e,o)=>{if("string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])Yt(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&J(n),t.insertBefore(n,e);const{slotNode:s}=P(n);return s&&!o&&B(s),n}return(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)};function Yt(t,n,e,o){var s,i;let l;if(t&&"string"==typeof n["s-sn"]&&n["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(l=n["s-si"]||t.parentNode["s-sc"])){const t=n["s-sn"],r=n["s-hn"];if(null==(s=e.classList)||s.add(l+"-s"),o&&(null==(i=o.classList)?void 0:i.contains(l+"-s"))){let n=(o.__childNodes||o.childNodes)[0],e=!1;for(;n;){if(n["s-sn"]!==t&&n["s-hn"]===r&&n["s-sr"]){e=!0;break}n=n.nextSibling}e||o.classList.remove(l+"-s")}}}var Gt=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},Zt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Gt(t,t.T);const e=()=>Jt(t,n);if(!n)return C(e);queueMicrotask((()=>{e()}))},Jt=(t,n)=>{const e=t.$hostElement$,o=t.l;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return n?(t.L&&(t.L=!1,rn(o,"connectedCallback",void 0,e)),t.u|=256,t.R&&(t.R.map((([t,n])=>rn(o,t,n,e))),t.R=void 0),t.A.length&&t.A.forEach((t=>t(e))),s=rn(o,"componentWillLoad",void 0,e)):s=rn(o,"componentWillUpdate",void 0,e),s=Kt(s,(()=>rn(o,"componentWillRender",void 0,e))),Kt(s,(()=>Xt(t,o,n)))},Kt=(t,n)=>Qt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Qt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Xt=async(t,n,e)=>{var o;const s=t.$hostElement$,i=s["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.u,s=((t,n)=>{var e,o,s;const i=lt(n),l=f.get(i);if(!h.document)return i;if(t=11===t.nodeType?t:h.document,l)if("string"==typeof l){let s,r=it.get(t=t.head||t);if(r||it.set(t,r=new Set),!r.has(i)){s=h.document.createElement("style"),s.textContent=l;const c=null!=(e=v.F)?e:nt(h.document);if(null!=c&&s.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(m){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(l),y?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=l+n.textContent:t.prepend(s)}else t.append(s);1&n.u&&t.insertBefore(s,null),4&n.u&&(s.textContent+=a),r&&r.add(i)}}else{let n=it.get(t);if(n||it.set(t,n=new Set),!n.has(i)){const e=null!=(s=t.defaultView)?s:t.ownerDocument.defaultView;let o;if(l.constructor===e.CSSStyleSheet)o=l;else{o=new e.CSSStyleSheet;for(let t=0;t<l.cssRules.length;t++)o.insertRule(l.cssRules[t].cssText,t)}y?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(i)}}return i})(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);10&o&&(e["s-sc"]=s,e.classList.add(s+"-h"))})(t);nn(t,n,s,e),i&&(i.map((t=>t())),s["s-rc"]=void 0);{const n=null!=(o=s["s-p"])?o:[],e=()=>on(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},tn=null,nn=(t,n,e,o)=>{try{tn=n,n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,s,i,l,r;const c=t.$hostElement$,u=t.o,f=t._||ut(null,null),a=(t=>t&&t.S===ft)(n)?n:ct(null,null,n);if(st=c.tagName,u.B&&(a.m=a.m||{},u.B.forEach((([t,n])=>{a.m[n]=c[t]}))),e&&a.m)for(const t of Object.keys(a.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.m[t]=c[t]);if(a.S=null,a.u|=4,t._=a,a.N=f.N=c.shadowRoot||c,et=c["s-sc"],Et=!(!(1&u.u)||128&u.u),ot=c["s-cr"],xt=!1,Ut(f,a,e),v.u|=1,Mt){zt(a.N);for(const t of Wt){const n=t.k;if(!n["s-ol"]&&h.document){const t=h.document.createTextNode("");t["s-nr"]=n,It(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of Wt){const n=t.k,r=t.C;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;e;){let s=null!=(i=e["s-nr"])?i:null;if(s&&s["s-sn"]===n["s-sn"]&&t===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(It(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=h.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,It(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(l=n["s-ih"])&&l)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(xt&&M(a.N),v.u&=-2,Wt.length=0,!Et&&!(1&u.u)&&c["s-cr"]){const t=a.N.__childNodes||a.N.childNodes;for(const n of t)if(n["s-hn"]!==st&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=h.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],It(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}ot=void 0,Lt.forEach((t=>t())),Lt.length=0,Rt.forEach((t=>t())),Rt.length=0})(t,n,o)}catch(n){r(n,t.$hostElement$)}return tn=null,null},en=()=>tn,on=t=>{const n=t.$hostElement$,e=t.l,o=t.T;rn(e,"componentDidRender",void 0,n),64&t.u?rn(e,"componentDidUpdate",void 0,n):(t.u|=64,cn(n),rn(e,"componentDidLoad",void 0,n),t.P(n),o||ln()),t.D(n),t.M&&(t.M(),t.M=void 0),512&t.u&&k((()=>Zt(t,!1))),t.u&=-517},sn=t=>{var n;{const e=s(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.u)&&Zt(e,!1),o}},ln=()=>{k((()=>yt(h,"appload",{detail:{namespace:"tet-components"}})))},rn=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){r(t,o)}},cn=t=>t.classList.add("hydrated"),un=(t,n,e,o)=>{const i=s(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${o.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=i.$hostElement$,c=i.i.get(n),u=i.u,f=i.l;if(e=vt(e,o.t[n][0]),!(8&u&&void 0!==c||e===c||Number.isNaN(c)&&Number.isNaN(e))){if(i.i.set(n,e),o.H){const t=o.H[n];t&&t.map((t=>{try{const[[o,s]]=Object.entries(t);(128&u||1&s)&&(f?f[o](e,c,n):i.A.push((()=>{i.l[o](e,c,n)})))}catch(t){r(t,l)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(e,c,n)&&!(16&u))return;16&u||Zt(i,!1)}}},fn=(t,e,o)=>{var i,l;const r=t.prototype;{t.watchers&&!e.H&&(e.H=pt(t.watchers)),t.deserializers&&!e.U&&(e.U=t.deserializers),t.serializers&&!e.W&&(e.W=t.serializers);const c=Object.entries(null!=(i=e.t)?i:{});if(c.map((([t,[i]])=>{if(31&i||2&o&&32&i){const{get:l,set:c}=n(r,t)||{};l&&(e.t[t][0]|=2048),c&&(e.t[t][0]|=4096),(1&o||!l)&&Object.defineProperty(r,t,{get(){{if(!(2048&e.t[t][0]))return((t,n)=>s(this).i.get(n))(0,t);const n=s(this),o=n?n.l:r;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,t,{set(n){const l=s(this);if(l){if(c)return void 0===(32&i?this[t]:l.$hostElement$[t])&&l.i.get(t)&&(n=l.i.get(t)),c.call(this,vt(n,i)),void un(this,t,n=32&i?this[t]:l.$hostElement$[t],e);{if(!(1&o&&4096&e.t[t][0]))return un(this,t,n,e),void(1&o&&!l.l&&l.A.push((()=>{4096&e.t[t][0]&&l.l[t]!==l.i.get(t)&&(l.l[t]=n)})));const s=vt(n,i),r=n=>{const o=l.l[t];!l.i.get(t)&&o&&l.i.set(t,o),l.l[t]=n,un(this,t,l.l[t],e)};l.l?r(s):(l.i.set(t,s),l.A.push((()=>{const n=l.i.get(t);l.l[t]!==n&&r(n)})))}}}})}else 1&o&&64&i&&Object.defineProperty(r,t,{value(...n){var e;const o=s(this);return null==(e=null==o?void 0:o.V)?void 0:e.then((()=>{var e;return null==(e=o.l)?void 0:e[t](...n)}))}})})),1&o){const n=new Map;r.attributeChangedCallback=function(t,o,i){v.jmp((()=>{var l;const u=n.get(t),f=s(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const n=null==f?void 0:f.u;if(f&&n&&!(8&n)&&i!==o){const s=f.l,r=null==(l=e.H)?void 0:l[t];null==r||r.forEach((e=>{const[[l,r]]=Object.entries(e);null!=s[l]&&(128&n||1&r)&&s[l].call(s,i,o,t)}))}return}const a=c.find((([t])=>t===u)),d=a?a[1][0]:0,h=4&d;if(512&d&&8&d&&!rt(this[u])&&(t=>null==t||!1===t?null:!0===t?"":t+"")(this[u])===i)return;const p=h&&null===i&&void 0===this[u];h&&(i=null!==i&&"false"!==i);const v=4096&d?f.i.get(u):this[u],b=Object.getOwnPropertyDescriptor(r,u);p||i==v||b.get&&!b.set||(this[u]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e.H)?l:{}),...c.filter((([t,n])=>31&n[0])).map((([t,o])=>{var s;const i=o[1]||t;return n.set(i,t),512&o[0]&&(null==(s=e.B)||s.push([t,i])),i}))]))}}return t},an=async(t,n,e)=>{var o;let s;try{if(!(32&n.u)){if(n.u|=32,n.u&=-1025,e.q){const i=((t,n)=>{var e;const o=t.p.replace(/-/g,"_"),s=t.q;if(!s)return;const i=c.get(s);if(i)return i[o];const l=null!=(e=u.get(s))?e:0,f=[l>0?"s-retry="+l:"",""].filter(Boolean).join("&");
|
|
2
2
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
3
3
|
return import(`./${s}.entry.js${f?"?"+f:""}`).then((t=>(u.delete(s),c.set(s,t),t[o])),(t=>{u.set(s,l+1),r(t,n.$hostElement$)}))})(e,n);if(i&&"then"in i){const t=()=>{};s=await i,t()}else s=i;if(!s)throw n.u&=-33,n.I=(null!=(o=n.I)?o:0)+1,n.I<3&&(n.u|=1024),Error(`Constructor for "${e.p}#${n.Y}" was not found`);s.isProxied||(e.H=pt(s.watchers),e.W=s.serializers,e.U=s.deserializers,fn(s,e,2),s.isProxied=!0);const l=()=>{};n.u|=8;try{new s(n)}catch(n){r(n,t)}n.u&=-9,n.u|=128,l(),4&e.u?n.L=!0:dn(n.l,t)}else s=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(s&&s.style){let t;"string"==typeof s.style&&(t=s.style);const n=lt(e);if(!f.has(n)){const o=()=>{};((t,n,e)=>{let o=f.get(t);m&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,f.set(t,o)})(n,t,!!(1&e.u)),o()}}}const i=n.T,l=()=>Zt(n,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}catch(e){r(e,t),n.M&&(n.M(),n.M=void 0),!n.P||1024&n.u||n.P(t)}},dn=(t,n)=>{rn(t,"connectedCallback",void 0,n)},hn=(t,n)=>{rn(t,"disconnectedCallback",void 0,n||t)},pn=(t,n={})=>{var e;if(!h.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],i=n.exclude||[],l=h.customElements,r=h.document.head,c=r.querySelector("meta[charset]"),u=h.document.createElement("style"),f=[];let d,p=!0;Object.assign(v,n),v.h=new URL(n.resourcesUrl||"./",h.document.baseURI).href;let b=!1;if(t.map((t=>{t[1].map((n=>{var e,r;const c={u:n[0],p:n[1],t:n[2],G:n[3]};4&c.u&&(b=!0),c.t=n[2],c.G=n[3],c.B=[],c.H=pt(n[4]),c.W=null!=(e=n[5])?e:{},c.U=null!=(r=n[6])?r:{};const u=c.p,a=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,i:new Map,Z:new Map};e.V=new Promise((t=>e.D=t)),e.J=new Promise((t=>e.P=t)),t["s-p"]=[],t["s-rc"]=[],e.A=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,c),1&c.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.p}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else x.call(t,c)}connectedCallback(){const t=s(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,bn(this,t,c.G)),d&&(clearTimeout(d),d=null),p?f.push(this):v.jmp((()=>(t=>{if(!(1&v.u)){const n=s(t);if(!n)return;const e=n.o,o=()=>{};if(1&n.u)bn(t,n,e.G),(null==n?void 0:n.l)?dn(n.l,t):1024&n.u?setTimeout((()=>an(t,n,e)),1e3):(null==n?void 0:n.J)&&n.J.then((()=>dn(n.l,t)));else{n.u|=1,12&e.u&&(t=>{if(!h.document)return;const n=t["s-cr"]=h.document.createComment("");n["s-cn"]=!0,It(t,n,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){Gt(n,n.T=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),an(t,n,e)}o()}})(this))))}disconnectedCallback(){v.jmp((()=>(async t=>{if(!(1&v.u)){const n=s(t);(null==n?void 0:n.K)&&(n.K.map((t=>t())),n.K=void 0),(null==n?void 0:n.l)?hn(n.l,t):(null==n?void 0:n.J)&&n.J.then((()=>hn(n.l,t)))}it.has(t)&&it.delete(t),t.shadowRoot&&it.has(t.shadowRoot)&&it.delete(t.shadowRoot)})(this))),k((()=>{var t;const n=s(this);if(!n)return;const e=f.findIndex((t=>t===this));e>-1&&f.splice(e,1),(null==(t=null==n?void 0:n._)?void 0:t.N)instanceof Node&&!n._.N.isConnected&&delete n._.N}))}componentOnReady(){var t;return null==(t=s(this))?void 0:t.J}};!(1&c.u)&&256&c.u?(t=>{D(t),H(t),z(t),W(t),Y(t),V(t),q(t),I(t),G(t),Z(t),U(t)})(a.prototype):D(a.prototype),c.q=t[0],i.includes(u)||l.get(u)||(o.push(u),l.define(u,fn(a,c,1)))}))})),o.length>0&&(b&&(u.textContent+=a),u.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(e=v.F)?e:nt(h.document);null!=t&&u.setAttribute("nonce",t),r.insertBefore(u,c?c.nextSibling:r.firstChild)}p=!1,f.length?f.map((t=>t.connectedCallback())):v.jmp((()=>d=setTimeout(ln,30)))},vn=(t,n)=>n,bn=(t,n,e)=>{e&&h.document&&e.map((([e,o,s])=>{const i=yn(h.document,t,e),l=mn(n,s),r=gn(e);v.ael(i,o,l,r),(n.K=n.K||[]).push((()=>v.rel(i,o,l,r)))}))},mn=(t,n)=>e=>{var o;try{256&t.u?null==(o=t.l)||o[n](e):(t.R=t.R||[]).push([n,e])}catch(n){r(n,t.$hostElement$)}},yn=(t,n,e)=>4&e?t:8&e?h:16&e?t.body:n,gn=t=>({passive:!!(1&t),capture:!!(2&t)}),wn=t=>v.F=t;export{t as E,vn as F,ft as H,p as a,pn as b,mt as c,E as d,bt as e,sn as f,en as g,ct as h,b as p,i as r,wn as s}
|