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1nD,IACjEqnD,GAAczxC,Q,IAIlB7V,GAAKiB,OACL,MAAMguC,GAAiBD,KACvBC,GAAehuC,M","sources":["webpack://tress-frontend/./src/i18n/index.ts","webpack://tress-frontend/./src/axios/createAxiosInstance.ts","webpack://tress-frontend/./src/axios/index.ts","webpack://tress-frontend/./src/axios/umbracoForms.ts","webpack://tress-frontend/./src/services/Emitter.ts","webpack://tress-frontend/./src/store/useCart.ts","webpack://tress-frontend/./src/services/Api.ts","webpack://tress-frontend/./src/models/umbraco-forms/FormState.ts","webpack://tress-frontend/./src/components/umbraco-forms/structure/UmbracoForm.vue?3bd8","webpack://tress-frontend/./src/components/umbraco-forms/structure/UmbracoForm.vue?4071","webpack://tress-frontend/./src/components/umbraco-forms/structure/UmbracoFormPage.vue?91ac","webpack://tress-frontend/./src/components/umbraco-forms/structure/UmbracoFormPage.vue","webpack://tress-frontend/./src/models/umbraco-forms/InputState.ts","webpack://tress-frontend/./src/models/umbraco-forms/InputErrorState.ts","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormInput.vue?29f6","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormInput.vue","webpack://tress-frontend/./src/code/UmbracoFormExtensions.ts","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormShortAnswer.vue?6b43","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormShortAnswer.vue","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormLongAnswer.vue?5555","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormLongAnswer.vue","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormDate.vue?7d63","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormDate.vue","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormCheckbox.vue?3413","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormCheckbox.vue","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormFileUpload.vue?f496","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormFileUpload.vue","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormPassword.vue?4410","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormPassword.vue","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormMultipleChoice.vue?0d03","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormMultipleChoice.vue","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormDataConsent.vue?ed5b","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormDataConsent.vue","webpack://tress-frontend/./src/components/icons/IconChevronDown.vue","webpack://tress-frontend/./src/components/icons/IconChevronDown.vue?7874","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormDropdown.vue?6151","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormDropdown.vue","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormSingleChoice.vue?5832","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormSingleChoice.vue?06e4","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormTitleAndDescription.vue?b48b","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormTitleAndDescription.vue?a986","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormHidden.vue?3575","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormHidden.vue","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormRecaptcha2.vue?06a7","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormRecaptcha2.vue","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormRecaptcha3.vue?d764","webpack://tress-frontend/./src/components/umbraco-forms/inputs/UmbracoFormRecaptcha3.vue","webpack://tress-frontend/./src/components/umbraco-forms/structure/UmbracoFormField.vue?158c","webpack://tress-frontend/./src/components/umbraco-forms/structure/UmbracoFormField.vue?3d6b","webpack://tress-frontend/./src/components/umbraco-forms/structure/UmbracoFormFieldset.vue?ea39","webpack://tress-frontend/./src/components/umbraco-forms/structure/UmbracoFormFieldset.vue?2417","webpack://tress-frontend/./src/components/umbraco-forms/structure/UmbracoFormFieldsetColumn.vue?8612","webpack://tress-frontend/./src/components/umbraco-forms/structure/UmbracoFormFieldsetColumn.vue","webpack://tress-frontend/./src/code/Uuid.ts","webpack://tress-frontend/./src/components/TressRadioInput.vue?ce2f","webpack://tress-frontend/./src/components/TressRadioInput.vue?a2ba","webpack://tress-frontend/./src/components/TressAlert.vue?80e1","webpack://tress-frontend/./src/components/TressAlert.vue?efbb","webpack://tress-frontend/./src/components/TressCheckboxInput.vue?1088","webpack://tress-frontend/./src/components/TressCheckboxInput.vue?b658","webpack://tress-frontend/./src/components/TressTextAreaInput.vue?488b","webpack://tress-frontend/./src/components/TressTextAreaInput.vue?0a24","webpack://tress-frontend/./src/components/icons/IconInfo.vue","webpack://tress-frontend/./src/components/icons/IconInfo.vue?f2e4","webpack://tress-frontend/./src/enums/CustomerType.ts","webpack://tress-frontend/./src/store/useCheckout.ts","webpack://tress-frontend/./src/components/TressOrderSummary.vue?cf9e","webpack://tress-frontend/./src/components/TressOrderSummary.vue?80e8","webpack://tress-frontend/./src/components/TressTextInput.vue?5c91","webpack://tress-frontend/./src/components/TressTextInput.vue?6e3c","webpack://tress-frontend/./src/components/TressCheckoutAddressViewer.vue?f020","webpack://tress-frontend/./src/components/TressCheckoutAddressViewer.vue?4cbf","webpack://tress-frontend/./src/components/icons/IconPlus.vue","webpack://tress-frontend/./src/components/icons/IconPlus.vue?9125","webpack://tress-frontend/./src/components/TressCheckoutManualAddressOption.vue?1e2f","webpack://tress-frontend/./src/components/TressCheckoutManualAddressOption.vue?a60a","webpack://tress-frontend/./src/components/TressCheckoutAddressOption.vue?4436","webpack://tress-frontend/./src/components/TressCheckoutAddressOption.vue?9d36","webpack://tress-frontend/./src/components/TressCheckoutAddressViewerDouble.vue?1c43","webpack://tress-frontend/./src/components/TressCheckoutAddressViewerDouble.vue?d7f3","webpack://tress-frontend/./src/components/TressDropdown.vue?7b93","webpack://tress-frontend/./src/components/TressDropdown.vue?f6fd","webpack://tress-frontend/./src/components/TressCheckoutCustomerDataForm.vue?f5d3","webpack://tress-frontend/./src/components/TressCheckoutCustomerDataForm.vue?5ce6","webpack://tress-frontend/./src/components/TressCheckoutServicePoint.vue?3e60","webpack://tress-frontend/./src/components/TressCheckoutServicePoint.vue?a819","webpack://tress-frontend/./src/code/TressExceptions.ts","webpack://tress-frontend/./src/services/Spinner.ts","webpack://tress-frontend/./src/components/TressCheckoutDeliveryForm.vue?78af","webpack://tress-frontend/./src/components/TressCheckoutDeliveryForm.vue?a91a","webpack://tress-frontend/./src/pages/TressTheCheckout.vue?7df9","webpack://tress-frontend/./src/pages/TressTheCheckout.vue?70ae","webpack://tress-frontend/./src/components/icons/IconSearch.vue","webpack://tress-frontend/./src/components/icons/IconSearch.vue?4b78","webpack://tress-frontend/./src/components/header/TressSearchInput.vue?9748","webpack://tress-frontend/./src/components/header/TressSearchInput.vue?c2ab","webpack://tress-frontend/./src/components/images/ImageDefaultProductTile.vue","webpack://tress-frontend/./src/components/images/ImageDefaultProductTile.vue?9078","webpack://tress-frontend/./src/components/icons/IconCart.vue","webpack://tress-frontend/./src/components/icons/IconCart.vue?a9e7","webpack://tress-frontend/./src/components/icons/IconChevronRight.vue","webpack://tress-frontend/./src/components/icons/IconChevronRight.vue?9f38","webpack://tress-frontend/./src/components/icons/IconDownload.vue","webpack://tress-frontend/./src/components/icons/IconDownload.vue?c836","webpack://tress-frontend/./src/components/icons/IconFavorite.vue?d4f5","webpack://tress-frontend/./src/components/icons/IconFavorite.vue?b726","webpack://tress-frontend/./src/components/TressButton.vue","webpack://tress-frontend/./src/components/TressButton.vue?813c","webpack://tress-frontend/./src/components/TressIconButton.vue?c501","webpack://tress-frontend/./src/components/TressIconButton.vue","webpack://tress-frontend/./src/components/TressLink.vue?9d8b","webpack://tress-frontend/./src/components/TressLink.vue","webpack://tress-frontend/./src/components/TressProductTileTag.vue","webpack://tress-frontend/./src/components/TressProductTileTag.vue?b8ed","webpack://tress-frontend/./src/components/TressResponsivePicture.vue?54ce","webpack://tress-frontend/./src/components/TressResponsivePicture.vue?ebc3","webpack://tress-frontend/./src/enums/Site.ts","webpack://tress-frontend/./src/enums/PriceType.ts","webpack://tress-frontend/./src/enums/StockStatus.ts","webpack://tress-frontend/./src/models/ProductList.ts","webpack://tress-frontend/./src/store/useCustomer.ts","webpack://tress-frontend/./src/components/TressLoginModal.vue?1c31","webpack://tress-frontend/./src/components/TressLoginModal.vue?d2c0","webpack://tress-frontend/./src/store/useUmbracoForm.ts","webpack://tress-frontend/./src/components/TressProductTile.vue?e058","webpack://tress-frontend/./src/components/TressProductTile.vue?85a7","webpack://tress-frontend/./src/enums/TileType.ts","webpack://tress-frontend/./src/components/TressProductContentTile.vue?9a9a","webpack://tress-frontend/./src/components/TressProductContentTile.vue?bd74","webpack://tress-frontend/./src/components/TressProductListings.vue?c1be","webpack://tress-frontend/./src/components/TressProductListings.vue?d270","webpack://tress-frontend/./src/components/TressGrid.vue","webpack://tress-frontend/./src/components/TressGrid.vue?fe78","webpack://tress-frontend/./src/components/TressRow.vue","webpack://tress-frontend/./src/components/TressRow.vue?53f2","webpack://tress-frontend/./src/components/TressColumn.vue","webpack://tress-frontend/./src/components/TressColumn.vue?97e3","webpack://tress-frontend/./src/components/icons/IconArrowLeft.vue","webpack://tress-frontend/./src/components/icons/IconArrowLeft.vue?da44","webpack://tress-frontend/./src/components/icons/IconArrowRight.vue","webpack://tress-frontend/./src/components/icons/IconArrowRight.vue?da52","webpack://tress-frontend/./src/components/TressImageCarousel.vue?638f","webpack://tress-frontend/./src/components/TressImageCarousel.vue?574b","webpack://tress-frontend/./src/components/TressCarouselControls.vue?045b","webpack://tress-frontend/./src/components/TressCarouselControls.vue?e50a","webpack://tress-frontend/./src/code/useBreakpoints.ts","webpack://tress-frontend/./src/components/TressCaseListing.vue?e308","webpack://tress-frontend/./src/components/TressCaseListing.vue","webpack://tress-frontend/./src/components/TressLightbox.vue?cca7","webpack://tress-frontend/./src/components/TressLightbox.vue","webpack://tress-frontend/./src/components/TressDivider2.vue","webpack://tress-frontend/./src/components/TressDivider2.vue?602a","webpack://tress-frontend/./src/components/TressSwitchButton.vue?a2d2","webpack://tress-frontend/./src/components/TressSwitchButton.vue","webpack://tress-frontend/./src/components/icons/IconClose.vue","webpack://tress-frontend/./src/components/icons/IconClose.vue?30c4","webpack://tress-frontend/./src/components/TressCloseButton.vue?da57","webpack://tress-frontend/./src/components/TressCloseButton.vue?c120","webpack://tress-frontend/./src/components/TressContentTile.vue?e527","webpack://tress-frontend/./src/components/TressContentTile.vue","webpack://tress-frontend/./src/components/TressSearchPopup.vue?f45a","webpack://tress-frontend/./src/components/TressSearchPopup.vue?9220","webpack://tress-frontend/./src/components/FunctionWrappers/TressSearchWrapper.vue?59a5","webpack://tress-frontend/./src/components/FunctionWrappers/TressSearchWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/BigBannerBlockWrapper.vue?14b2","webpack://tress-frontend/./src/components/FunctionWrappers/BigBannerBlockWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/HeaderWrapper.vue?6525","webpack://tress-frontend/./src/components/FunctionWrappers/HeaderWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/FooterWrapper.vue?2c62","webpack://tress-frontend/./src/components/FunctionWrappers/FooterWrapper.vue","webpack://tress-frontend/./src/models/Search.ts","webpack://tress-frontend/./src/code/GoogleEventTracking.ts","webpack://tress-frontend/./src/store/useFilterState.ts","webpack://tress-frontend/./src/services/FilterService.ts","webpack://tress-frontend/./src/components/FunctionWrappers/CategoryWrapper.vue?76dd","webpack://tress-frontend/./src/components/FunctionWrappers/CategoryWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/ProductWrapper.vue?0d5e","webpack://tress-frontend/./src/components/FunctionWrappers/ProductWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/TabsBlockWrapper.vue?22ef","webpack://tress-frontend/./src/components/FunctionWrappers/TabsBlockWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/ProductListWrapper.vue?565f","webpack://tress-frontend/./src/components/FunctionWrappers/ProductListWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/CasePageWrapper.vue?616f","webpack://tress-frontend/./src/components/FunctionWrappers/CasePageWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/InspirationBlockWrapper.vue?9b0c","webpack://tress-frontend/./src/components/FunctionWrappers/InspirationBlockWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/ProductTileWrapper.vue?f1bc","webpack://tress-frontend/./src/components/FunctionWrappers/ProductTileWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/TressSearchPageWrapper.vue?df89","webpack://tress-frontend/./src/components/FunctionWrappers/TressSearchPageWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/AllCategoriesBlockWrapper.vue?cbfd","webpack://tress-frontend/./src/components/FunctionWrappers/AllCategoriesBlockWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/LinkBoxWrapper.vue?9c5b","webpack://tress-frontend/./src/components/FunctionWrappers/LinkBoxWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/ContactSalesPersonBlockWrapper.vue?3b9d","webpack://tress-frontend/./src/components/FunctionWrappers/ContactSalesPersonBlockWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/FilterBlockWrapper.vue?cdde","webpack://tress-frontend/./src/components/FunctionWrappers/FilterBlockWrapper.vue","webpack://tress-frontend/./src/models/Salesman.ts","webpack://tress-frontend/./src/store/useChosenSalesman.ts","webpack://tress-frontend/./src/components/FunctionWrappers/SalesmanWrapper.vue?d8d4","webpack://tress-frontend/./src/components/FunctionWrappers/SalesmanWrapper.vue","webpack://tress-frontend/./src/components/FunctionWrappers/TressLightboxWrapper.vue?378a","webpack://tress-frontend/./src/components/FunctionWrappers/TressLightboxWrapper.vue","webpack://tress-frontend/./src/components/TressSiteSeparator.vue?c4ed","webpack://tress-frontend/./src/components/TressSiteSeparator.vue","webpack://tress-frontend/./src/components/TressSalesmanInfo.vue?7017","webpack://tress-frontend/./src/components/TressSalesmanInfo.vue","webpack://tress-frontend/./src/components/icons/IconCloseModal.vue","webpack://tress-frontend/./src/components/icons/IconCloseModal.vue?a420","webpack://tress-frontend/./src/components/TressModal.vue?ae6d","webpack://tress-frontend/./src/components/TressModal.vue?49a6","webpack://tress-frontend/./src/components/FunctionWrappers/CaseOverviewWrapper.vue?fda9","webpack://tress-frontend/./src/components/FunctionWrappers/CaseOverviewWrapper.vue","webpack://tress-frontend/./src/components/icons/IconHome.vue","webpack://tress-frontend/./src/components/icons/IconHome.vue?9257","webpack://tress-frontend/./src/components/icons/IconLinkedIn.vue","webpack://tress-frontend/./src/components/icons/IconLinkedIn.vue?f4ba","webpack://tress-frontend/./src/components/icons/IconHamburgerMenu.vue","webpack://tress-frontend/./src/components/icons/IconHamburgerMenu.vue?3b78","webpack://tress-frontend/./src/components/icons/IconUser.vue","webpack://tress-frontend/./src/components/icons/IconUser.vue?12f1","webpack://tress-frontend/./src/components/icons/IconSliders.vue","webpack://tress-frontend/./src/components/icons/IconSliders.vue?9e83","webpack://tress-frontend/./src/components/icons/IconCurvedArrowRight.vue?43a0","webpack://tress-frontend/./src/components/icons/IconCurvedArrowRight.vue","webpack://tress-frontend/./src/components/icons/IconCurvedArrowRight2.vue","webpack://tress-frontend/./src/components/icons/IconCurvedArrowRight2.vue?1d4d","webpack://tress-frontend/./src/components/icons/IconCurvedArrowDown.vue","webpack://tress-frontend/./src/components/icons/IconCurvedArrowDown.vue?524a","webpack://tress-frontend/./src/components/icons/IconMultiColor.vue","webpack://tress-frontend/./src/components/icons/IconMultiColor.vue?00a2","webpack://tress-frontend/./src/components/icons/IconTransparent.vue","webpack://tress-frontend/./src/components/icons/IconTransparent.vue?3b4b","webpack://tress-frontend/./src/components/icons/IconContact.vue","webpack://tress-frontend/./src/components/icons/IconContact.vue?c4f8","webpack://tress-frontend/./src/components/icons/IconRal.vue","webpack://tress-frontend/./src/components/icons/IconRal.vue?7b36","webpack://tress-frontend/./src/components/icons/IconMail.vue","webpack://tress-frontend/./src/components/icons/IconMail.vue?cc48","webpack://tress-frontend/./src/components/icons/IconMap.vue","webpack://tress-frontend/./src/components/icons/IconMap.vue?dcf7","webpack://tress-frontend/./src/components/icons/IconCaseLarge.vue","webpack://tress-frontend/./src/components/icons/IconCaseLarge.vue?12b3","webpack://tress-frontend/./src/components/icons/IconCasePageCity.vue","webpack://tress-frontend/./src/components/icons/IconCasePageCity.vue?dae9","webpack://tress-frontend/./src/components/icons/IconCasePageProductCategories.vue","webpack://tress-frontend/./src/components/icons/IconCasePageProductCategories.vue?9a6c","webpack://tress-frontend/./src/components/icons/IconCasePageBuildYear.vue","webpack://tress-frontend/./src/components/icons/IconCasePageBuildYear.vue?ba93","webpack://tress-frontend/./src/components/icons/IconCasePageActivities.vue","webpack://tress-frontend/./src/components/icons/IconCasePageActivities.vue?64e7","webpack://tress-frontend/./src/components/icons/IconCheckmark.vue","webpack://tress-frontend/./src/components/icons/IconCheckmark.vue?92f5","webpack://tress-frontend/./src/components/icons/IconWood.vue","webpack://tress-frontend/./src/components/icons/IconWood.vue?ffb3","webpack://tress-frontend/./src/components/icons/IconTrashBin.vue","webpack://tress-frontend/./src/components/icons/IconTrashBin.vue?d9bf","webpack://tress-frontend/./src/components/icons/IconRemove.vue","webpack://tress-frontend/./src/components/icons/IconRemove.vue?37db","webpack://tress-frontend/./src/components/icons/IconAdd.vue","webpack://tress-frontend/./src/components/icons/IconAdd.vue?1a03","webpack://tress-frontend/./src/components/TressScroll.vue?2c83","webpack://tress-frontend/./src/components/TressScroll.vue?cb51","webpack://tress-frontend/./src/components/TressSpecialAccessoriesModal.vue?f23f","webpack://tress-frontend/./src/components/TressSpecialAccessoriesModal.vue?54ef","webpack://tress-frontend/./src/components/TressSpecialAccessoriesModalView.vue?4bd9","webpack://tress-frontend/./src/components/TressSpecialAccessoriesModalView.vue?dd4e","webpack://tress-frontend/./src/components/TressVideoPlayer.vue?b30d","webpack://tress-frontend/./src/components/TressVideoPlayer.vue?2768","webpack://tress-frontend/./src/components/TressVideoPlayer.vue?d91e","webpack://tress-frontend/./src/components/TressVideoPlayer2.vue?8b20","webpack://tress-frontend/./src/components/TressVideoPlayer2.vue","webpack://tress-frontend/./src/components/TressPreviewPlayer.vue?9db0","webpack://tress-frontend/./src/components/TressPreviewPlayer.vue","webpack://tress-frontend/./src/components/TressGoogleMap.vue?1b59","webpack://tress-frontend/./src/components/TressGoogleMap.vue?869c","webpack://tress-frontend/./src/components/TressCartAmountSelector.vue?4ddc","webpack://tress-frontend/./src/components/TressCartAmountSelector.vue","webpack://tress-frontend/./src/code/PriceExtensions.ts","webpack://tress-frontend/./src/components/TressCartQuantityOption.vue?e46b","webpack://tress-frontend/./src/components/TressCartQuantityOption.vue","webpack://tress-frontend/./src/components/TressCartQuantitySelector.vue?8258","webpack://tress-frontend/./src/components/TressCartQuantitySelector.vue?7a8e","webpack://tress-frontend/./src/components/TressCartPopUp.vue?32a2","webpack://tress-frontend/./src/components/TressCartPopUp.vue?bf96","webpack://tress-frontend/./src/components/TressBuyButton.vue?3843","webpack://tress-frontend/./src/components/TressBuyButton.vue","webpack://tress-frontend/./src/components/TressBuyButtonIcon.vue?3dea","webpack://tress-frontend/./src/components/TressBuyButtonIcon.vue","webpack://tress-frontend/./src/components/icons/IconSuccess.vue","webpack://tress-frontend/./src/components/icons/IconSuccess.vue?b51c","webpack://tress-frontend/./src/components/TressFormSuccess.vue?d75f","webpack://tress-frontend/./src/components/TressFormSuccess.vue?d372","webpack://tress-frontend/./src/services/TressException.ts","webpack://tress-frontend/./src/components/account/TressAccountResetPasswordForm.vue?3d40","webpack://tress-frontend/./src/components/account/TressAccountResetPasswordForm.vue?dc7c","webpack://tress-frontend/./src/models/AccountRegister.ts","webpack://tress-frontend/./src/code/Validator.ts","webpack://tress-frontend/./src/components/account/TressAccountRegisterPrivateForm.vue?b9b3","webpack://tress-frontend/./src/components/account/TressAccountRegisterPrivateForm.vue?794a","webpack://tress-frontend/./src/components/account/TressAccountRegisterBusinessForm.vue?42e1","webpack://tress-frontend/./src/components/account/TressAccountRegisterBusinessForm.vue?fac3","webpack://tress-frontend/./src/components/account/TressAccountForgottenPasswordForm.vue?dd6f","webpack://tress-frontend/./src/components/account/TressAccountForgottenPasswordForm.vue?8e6a","webpack://tress-frontend/./src/pages/TressTheSignIn.vue?6281","webpack://tress-frontend/./src/pages/TressTheSignIn.vue?0aa4","webpack://tress-frontend/./src/components/TressNavigationPill.vue?099f","webpack://tress-frontend/./src/components/TressNavigationPill.vue?d12b","webpack://tress-frontend/./src/components/TressNavigationPills.vue?fb8d","webpack://tress-frontend/./src/components/TressNavigationPills.vue?ebcf","webpack://tress-frontend/./src/pages/TressTheMyPagesChangePassword.vue?5a53","webpack://tress-frontend/./src/pages/TressTheMyPagesChangePassword.vue?74e5","webpack://tress-frontend/./src/pages/TressTheMyPagesProfile.vue?14bf","webpack://tress-frontend/./src/pages/TressTheMyPagesProfile.vue?821d","webpack://tress-frontend/./src/pages/TressTheMyPagesFavorites.vue?d834","webpack://tress-frontend/./src/pages/TressTheMyPagesFavorites.vue?4a0e","webpack://tress-frontend/./src/components/TressAccordionNoIcon.vue?4a29","webpack://tress-frontend/./src/components/TressAccordionNoIcon.vue?fb82","webpack://tress-frontend/./src/pages/TressTheMyPagesOrderHistory.vue?0bd1","webpack://tress-frontend/./src/pages/TressTheMyPagesOrderHistory.vue?6bce","webpack://tress-frontend/./src/components/FunctionWrappers/ContentOverviewPageWrapper.vue?19b2","webpack://tress-frontend/./src/components/FunctionWrappers/ContentOverviewPageWrapper.vue","webpack://tress-frontend/./src/components/TressProductRecommendations.vue?f909","webpack://tress-frontend/./src/components/TressProductRecommendations.vue","webpack://tress-frontend/./src/main.ts"],"sourcesContent":["import { createI18n, LocaleMessages, VueMessageType } from \"vue-i18n\";\nimport type { I18n, Locale, I18nOptions, Composer } from \"vue-i18n\";\nimport { DateTimeFormats, NumberFormats } from \"@intlify/core-base\";\nimport { setLocale } from \"@vee-validate/i18n\";\n\nconst loadedLanguages: string[] = [];\n\nfunction setLanguage(\n i18n: I18n<\n LocaleMessages | undefined,\n DateTimeFormats | undefined,\n NumberFormats | undefined,\n boolean\n >,\n locale: Locale\n): void {\n if (i18n.mode === \"legacy\") {\n i18n.global.locale = locale;\n } else {\n (i18n.global as Composer).locale.value = locale;\n }\n}\n\nexport function setupI18n(\n options: I18nOptions\n): I18n | undefined, DateTimeFormats | undefined, NumberFormats | undefined, boolean> {\n return createI18n(options);\n}\n\nexport function loadLanguageAsync(\n i18n: I18n<\n LocaleMessages | undefined,\n DateTimeFormats | undefined,\n NumberFormats | undefined,\n boolean\n >,\n locale: Locale,\n translate: Record\n): void {\n if (loadedLanguages.includes(locale)) {\n if (i18n.global.locale !== locale) {\n setLanguage(i18n, locale);\n setLocale(locale);\n }\n return;\n }\n\n i18n.global.setLocaleMessage(locale, translate);\n setLanguage(i18n, locale);\n setLocale(locale);\n loadedLanguages.push(locale);\n}\n","import axios, { AxiosError, AxiosRequestConfig, AxiosRequestHeaders, AxiosResponse } from \"axios\";\nimport { Problem } from \"@/models/Error\";\n\nconst culture = (document.getElementById(\"app\") as HTMLElement).getAttribute(\"data-culture\") as string;\n\nconst setDefaultHeaders = (headers: AxiosRequestHeaders) => {\n headers[\"X-Requested-With\"] = \"XMLHttpRequest\";\n headers[\"Accept-Language\"] = culture;\n};\n\nconst createAxiosInstance = (baseURL: string) => {\n const instance = axios.create({\n baseURL: baseURL,\n });\n\n const handleError = (error: AxiosError) => {\n if (error.response) {\n return Promise.reject(error.response.data);\n } else if (error.request) {\n const details: Problem = {\n detail: error.message,\n status: error.request.status,\n title: error.name,\n };\n return Promise.reject(details);\n }\n const details: Problem = {\n detail: error.message,\n status: 500,\n title: error.name,\n };\n return Promise.reject(details);\n };\n\n instance.interceptors.request.use((config: AxiosRequestConfig) => {\n setDefaultHeaders(config.headers as AxiosRequestHeaders);\n return config;\n }, handleError);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n instance.interceptors.response.use((response: AxiosResponse) => {\n return response.data;\n }, handleError);\n\n return instance;\n};\n\nexport default createAxiosInstance;\n","import createAxiosInstance from \"./createAxiosInstance\";\n\nexport default createAxiosInstance(\"/umbraco/api/\");\n","import createAxiosInstance from \"./createAxiosInstance\";\n\nexport default createAxiosInstance(\"/umbraco/forms/api/v1.0/\");\n","import mitt from \"mitt\";\n\nexport const emitter = mitt();","import { defineStore } from \"pinia\";\nimport { Cart, CartRow, CartSummary } from \"@/models/Cart\";\nimport { BasketApi } from \"@/services/Api\";\n\nconst getBasketFromDom = (): Cart | null => {\n const basketElement = document.querySelector(\"[data-basket]\");\n if (basketElement) {\n const basketDataAttribute = basketElement.getAttribute(\"data-basket\");\n if (basketDataAttribute) {\n return JSON.parse(basketDataAttribute) as Cart;\n }\n }\n return null;\n};\n\nexport const useCart = defineStore(\"cart\", {\n state: (): Cart => {\n const rows: CartRow[] = [];\n const summary: CartSummary = {\n fees: {\n amount: \"\",\n amountIncVat: \"\",\n vat: \"\",\n },\n freight: {\n amount: \"\",\n amountIncVat: \"\",\n vat: \"\",\n },\n items: {\n amount: \"\",\n amountIncVat: \"\",\n vat: \"\",\n },\n total: {\n amount: \"\",\n amountIncVat: \"\",\n vat: \"\",\n amountIncVatWithoutFreight: \"\",\n amountWithoutFreight: \"\",\n },\n totalDiscounts: {\n amount: \"\",\n amountIncVat: \"\",\n vat: \"\",\n },\n };\n const cart: Cart = {\n id: \"\",\n discountCode: \"\",\n rows: rows,\n summary: summary,\n hasRemovedItems: false,\n hasSpecialFreight: false,\n hasSelectedDeliveryMethod: false,\n loading: false,\n reachedMinimumBuyableAmount: false,\n minimumBuyableAmountMessage: \"\",\n isCartModalOpen: false\n };\n return cart;\n },\n getters: {\n itemQuantity: (state) => {\n return state.rows.reduce((sum, item) => sum + item.quantity, 0);\n },\n },\n actions: {\n async load(): Promise {\n let basket = getBasketFromDom();\n if (!basket) {\n basket = await BasketApi.getBasket();\n }\n this.$patch({ ...basket });\n },\n async set(basket: Cart): Promise {\n this.$patch({ ...basket });\n },\n async setDiscountCode(discountCode: string): Promise {\n this.setLoadingState(true);\n const basket = await BasketApi.setDiscountCode(discountCode);\n this.$patch({ ...basket });\n this.setLoadingState(false);\n },\n async addToCart(partNo: string, quantity: number, incrementExisting: boolean): Promise {\n this.setLoadingState(true);\n const basket = await BasketApi.addToBasket(partNo, quantity, incrementExisting);\n this.$patch({ ...basket });\n this.setLoadingState(false);\n },\n async removeFromCart(partNo: string): Promise {\n this.setLoadingState(true);\n const basket = await BasketApi.removeFromBasket(partNo);\n this.$patch({ ...basket });\n this.setLoadingState(false);\n },\n async removeRangeFromCart(partNo: string[]): Promise {\n this.setLoadingState(true);\n const basket = await BasketApi.removeRangeFromBasket(partNo);\n this.$patch({ ...basket });\n this.setLoadingState(false);\n },\n async updateQuantityFromCart(partNo: string, quantity: number): Promise {\n this.setLoadingState(true);\n const basket = await BasketApi.updateBasket(partNo, quantity);\n this.$patch({ ...basket });\n this.setLoadingState(false);\n },\n setLoadingState(state: boolean): void {\n this.$patch({ loading: state });\n },\n },\n});\n","import axios from \"@/axios\";\nimport umbracoFormsAxios from \"@/axios/umbracoForms\";\nimport { IContentOverviewApiGetByFilterResult } from \"@/models/IContentOverviewApiGetByFilterResult\";\nimport { ProductTile } from \"@/models/ProductList\";\nimport { Cart } from \"@/models/Cart\";\nimport { Login, ChangePassword } from \"@/models/Member\";\nimport { Problem } from \"@/models/Error\";\nimport {\n Checkout,\n FreightModel,\n PlaceOrderCommand,\n SetDeliveryCommand,\n UpdateCustomerCommand,\n} from \"@/models/Checkout\";\nimport { SearchCasesResponse, SearchRequest, SearchResponse, Sorting } from \"@/models/Search\";\nimport {\n CustomerNumberValidatorResult,\n EmailValidatorResult,\n RegisterAccountBusiness,\n RegisterAccountPrivate,\n} from \"@/models/AccountRegister\";\nimport { emitter } from \"@/services/Emitter\";\nimport { IServicePoint } from \"@/models/IServicePoint\";\nimport { ISalesman } from \"@/models/ISalesman\";\nimport { IAntiForgeryToken } from \"@/models/umbraco-forms/IAntiForgeryToken\";\nimport { IUmbracoForm } from \"@/models/umbraco-forms/IUmbracoForm\";\nimport { IOrderHistoryHeader, OrderHistoryType } from \"@/models/IOrderHistoryHeader\";\nimport { IOrderHistoryLine } from \"@/models/IOrderHistoryLine\";\nimport { QuickSearchViewModel } from \"@/models/QuickSearchViewModel\";\nimport { useCart } from \"@/store/useCart\";\n\nconst addToDataLayer = (data) => {\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push({ ecommerce: null });\n window.dataLayer.push(data);\n};\n\nconst login = async (username: string, password: string): Promise => {\n try {\n return await axios.post(\"account/signin\", { username, password });\n } catch (e) {\n return Promise.reject(e);\n }\n};\n\nconst changePassword = async (\n email: string,\n currentPassword: string,\n password: string,\n confirmPassword: string\n): Promise => {\n try {\n return await axios.post(\"account/changepassword\", {\n email,\n currentPassword,\n newPassword: password,\n newPassword2: confirmPassword,\n });\n } catch (e) {\n return Promise.reject(e);\n }\n};\n\nexport const ProductApi = {\n productRecommendations: async (productId: string): Promise => {\n return await axios.get(\"product/RecommendedProducts\", { params: { productId } });\n },\n\n categorySearch: async (request: SearchRequest): Promise => {\n return await axios.post(\"search/category\", request);\n },\n\n downloadFiles: async (partNo: string): Promise> => {\n return await axios.get(\"product/downloadfiles\", { params: { partNo } });\n },\n\n getSpecialAccessories: async (partNo: string): Promise => {\n try {\n return await axios.get(\"product/specialAccessories\", {\n params: { partNo },\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n};\n\nexport const CaseApi = {\n searchCases: async (request): Promise => {\n return await axios.post(\"search/searchcase\", request);\n },\n};\n\nexport const BasketApi = {\n getBasket: async (): Promise => {\n const cartStore = useCart(); \n try {\n return await axios.get(\"basket/get\", {\n validateStatus(status) {\n if (status === 500) {\n cartStore.isCartModalOpen = true;\n }\n return status >= 200 && status < 300;\n },\n })\n\n } catch (e) {\n return Promise.reject(e);\n }\n },\n addToBasket: async (partNo: string, quantity: number, incrementExisting: boolean): Promise => {\n const cartStore = useCart();\n try {\n emitter.emit(\"special accessories open\", partNo);\n const cart: Cart = await axios.post(\"basket/addorupdate\", {\n partNo,\n quantity,\n incrementExisting,\n }, {\n validateStatus(status) {\n if (status === 500) {\n cartStore.isCartModalOpen = true;\n }\n\n return status >= 200 && status < 300;\n },\n });\n\n return cart;\n } catch (e) {\n return Promise.reject(e);\n }\n },\n updateBasket: async (partNo: string, quantity: number): Promise => {\n try {\n return await axios.put(\"basket/update\", { partNo, quantity });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n removeFromBasket: async (partNo: string): Promise => {\n try {\n return await axios.delete(\"basket/remove\", { params: { partNo } });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n removeRangeFromBasket: async (partNo: string[]): Promise => {\n try {\n return await axios.delete(\"basket/removerange\", { params: { partNo } });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n createFromOrder: async (basketId: string): Promise => {\n try {\n return await axios.post(\"basket/createfromorder\", null, {\n params: { basketId },\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n setDiscountCode: async (discountCode: string): Promise => {\n try {\n return await axios.post(\"basket/discountCode\", { discountCode });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n};\nexport const DataLayerApi = {\n createAddToCartEvent: async (partNo: string, quantity: number, itemListName: string) => {\n try {\n const event = await axios.post(\"dataLayer/createAddToCartEvent\", {\n partNo,\n quantity,\n itemListName,\n });\n addToDataLayer(event);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n createRemoveFromCartEvent: async (partNo: string, quantity: number) => {\n try {\n const event = await axios.put(\"dataLayer/createRemoveFromCartEvent\", {\n partNo,\n quantity,\n });\n addToDataLayer(event);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n getUserInfoEvent: async () => {\n try {\n const event = await axios.get(\"dataLayer/getUserInfoEvent\");\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push(event);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n getUserLoginEvent: async () => {\n try {\n const event = await axios.get(\"dataLayer/getUserLoginEvent\");\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push(event);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n createItemViewEvent: async (partNo: string, quantity: string) => {\n try {\n const event = await axios.post(\"dataLayer/createItemViewEvent\", {\n partNo,\n quantity,\n });\n addToDataLayer(event);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n createViewCartEvent: async () => {\n try {\n const event = await axios.post(\"dataLayer/createViewCartEvent\");\n if (event) {\n addToDataLayer(event);\n }\n } catch (e) {\n return Promise.reject(e);\n }\n },\n createBeginCheckoutEvent: async () => {\n try {\n const event = await axios.post(\"dataLayer/createBeginCheckoutEvent\");\n if (event) {\n addToDataLayer(event);\n }\n } catch (e) {\n return Promise.reject(e);\n }\n },\n updateAddShippingInfoEvent: async () => {\n try {\n const event = await axios.put(\"dataLayer/updateAddShippingInfoEvent\");\n if (event) {\n addToDataLayer(event);\n }\n } catch (e) {\n return Promise.reject(e);\n }\n },\n updateAddPaymentInfoEvent: async (paymentMethodId: string) => {\n try {\n const event = await axios.put(\"dataLayer/updateAddPaymentInfoEvent\", JSON.stringify(paymentMethodId), {\n headers: {\n \"Content-Type\": \"application/json\",\n },\n });\n if (event) {\n addToDataLayer(event);\n }\n } catch (e) {\n return Promise.reject(e);\n }\n },\n createSelectItemEvent: async (partNo: string, itemListName: string) => {\n try {\n const event = await axios.post(\"dataLayer/createSelectItemEvent\", {\n partNo,\n itemListName,\n headers: {\n \"Content-Type\": \"application/json\",\n },\n });\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push(event);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n createViewItemListEvent: async (itemListName: string, partNos: string[]) => {\n try {\n const event = await axios.post(\"dataLayer/createViewItemListEvent\", {\n itemListName,\n partNos,\n });\n addToDataLayer(event);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n};\n\nexport const CheckoutApi = {\n getCheckout: async (): Promise => {\n try {\n return await axios.get(\"checkout/get\");\n } catch (e) {\n return Promise.reject(e);\n }\n },\n getShippingOptions: async (): Promise => {\n try {\n return await axios.get(\"checkout/getshippingoptions\");\n } catch (e) {\n return Promise.reject(e);\n }\n },\n setPayment: async (paymentMethodId: string): Promise => {\n try {\n return await axios.put(\"checkout/setpayment\", null, {\n params: {\n paymentMethodId,\n },\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n setDelivery: async (command: SetDeliveryCommand): Promise => {\n try {\n return await axios.put(\"checkout/setdelivery\", command);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n placeOrder: async (command: PlaceOrderCommand): Promise => {\n try {\n return await axios.post(\"checkout/placeorder\", command);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n updateCustomer: async (command: UpdateCustomerCommand): Promise => {\n try {\n return await axios.post(\"checkout/updatecustomer\", command);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n getPostNordServicePoints: async (zipCode: string): Promise> => {\n try {\n return await axios.get(\"checkout/getpostnordservicepoints\", {\n params: { zipCode },\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n getDhlServicePoints: async (zipCode: string): Promise> => {\n try {\n return await axios.get(\"checkout/getdhlservicepoints\", {\n params: { zipCode },\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n};\n\nexport const MemberApi = {\n login: async (emailAddress: string, password: string): Promise => {\n try {\n const member = await login(emailAddress, password);\n member.success = true;\n return member;\n } catch (e) {\n return Promise.reject(e);\n }\n },\n logout: async (): Promise => {\n try {\n await axios.get(\"account/signout\");\n return true;\n } catch (e) {\n return Promise.reject(e);\n }\n },\n\n registerAccountPrivate: async (account: RegisterAccountPrivate): Promise => {\n try {\n return await axios.post(\"account/register/private\", account);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n\n registerAccountBusiness: async (account: RegisterAccountBusiness): Promise => {\n try {\n return await axios.post(\"account/register/business\", account);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n\n migrateAccount: async (email: string, name: string, type: string): Promise => {\n try {\n return await axios.post(\"account/migrate\", { email, name, type });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n\n changePassword: async (\n email: string,\n currentPassword: string,\n password: string,\n confirmPassword: string\n ): Promise => {\n try {\n const message = await changePassword(email, currentPassword, password, confirmPassword);\n const change: ChangePassword = {\n success: true,\n message: message,\n };\n return change;\n } catch (e) {\n const error = e as Problem;\n throw error;\n }\n },\n\n validateEmail: async (email: string): Promise => {\n try {\n return await axios.post(\"account/validateemail\", { email });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n\n validateCustomerNumber: async (code: string): Promise => {\n try {\n return await axios.get(\"account/findcustomerbycode\", { params: { code } });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n forgottenPassword: async (email: string): Promise => {\n try {\n return await axios.post(\"account/forgotpassword\", { email });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n resetPassword: async (token: string, email: string, newPassword: string, newPassword2: string): Promise => {\n try {\n return await axios.post(\"account/resetpassword\", {\n email,\n token,\n newPassword,\n newPassword2,\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n getOrderHistory: async (): Promise => {\n try {\n return await axios.get(\"orderhistory/list\");\n } catch (e) {\n return Promise.reject(e);\n }\n },\n getOrderHistoryLines: async (id: string, type: OrderHistoryType): Promise => {\n try {\n return await axios.get(\"orderhistory/getlines\", { params: { id, type } });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n};\n\nexport const SalesmanApi = {\n setPostalCookieAndGetSalesman: async (postalCode?: string): Promise => {\n try {\n return await axios.get(\"salesman/getandset\", {\n params: {\n postalCode: postalCode,\n },\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n};\nexport const SearchApi = {\n search: async (query: string, count: number): Promise => {\n try {\n return await axios.post(\"search/quicksearch\", {\n term: query,\n count: count,\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n products: async (\n query: string,\n pageNo: number,\n sorting: Sorting,\n requestFullResult: boolean,\n showOnlyAgreementProducts: boolean\n ) => {\n try {\n return await axios.post(\"search/products\", {\n term: query,\n pageNo: pageNo,\n sorting: sorting,\n requestFullResult: requestFullResult,\n showOnlyAgreementProducts: showOnlyAgreementProducts,\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n};\n\nexport const ContentOverviewApi = {\n getByFilter: async (\n id: number,\n subject: number,\n type: number,\n page: number\n ): Promise => {\n try {\n return await axios.get(\"contentoverview/getbyfilter\", {\n params: { id: id, subject: subject, type: type, page: page },\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n};\n\nexport const UmbracoFormsApi = {\n get: async (id: string): Promise => {\n try {\n return await umbracoFormsAxios.get(`definitions/${id}`);\n } catch (e) {\n return Promise.reject(e);\n }\n },\n post: async (id: string, values: unknown, antiForgeryToken: IAntiForgeryToken): Promise => {\n try {\n const headers = {};\n headers[antiForgeryToken.headerName] = antiForgeryToken.token;\n return await umbracoFormsAxios.post(\n `entries/${id}`,\n {\n values: values,\n },\n {\n headers: headers,\n }\n );\n } catch (e) {\n return Promise.reject(e);\n }\n },\n};\nexport const UrlApi = {\n get: async (id: string): Promise => {\n try {\n return await axios.get(\"url/get\", {\n params: { id: id },\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n};\n\nexport const FavoritesApi = {\n post: async (partNo: string, value: boolean) => {\n try {\n return await axios.post(\"favorites/post\", {\n partNo: partNo,\n value: value,\n });\n } catch (e) {\n return Promise.reject(e);\n }\n },\n hasFavorites: async (): Promise => {\n try {\n return await axios.get(\"favorites/hasfavorites\");\n } catch (e) {\n return Promise.reject(e);\n }\n },\n};\n","export enum FormState {\n Loading,\n Submitting,\n Normal,\n Complete,\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, withModifiers as _withModifiers } from \"vue\"\n\nconst _hoisted_1 = [\"onSubmit\", \"id\"]\nconst _hoisted_2 = { class: \"umbraco-form__button-container\" }\nconst _hoisted_3 = [\"disabled\"]\nconst _hoisted_4 = {\n key: 1,\n class: \"umbraco-form__success\"\n}\nconst _hoisted_5 = { class: \"umbraco-form__success__message\" }\n\nimport { PropType, provide, ref } from \"vue\";\nimport { IUmbracoForm } from \"@/models/umbraco-forms/IUmbracoForm\";\nimport { UmbracoFormsApi, UrlApi } from \"@/services/Api\";\nimport { FormState } from \"@/models/umbraco-forms/FormState\";\nimport { IAntiForgeryToken } from \"@/models/umbraco-forms/IAntiForgeryToken\";\nimport { IUmbracoFormUserPreValues } from \"@/models/umbraco-forms/IUmbracoFormUserPreValues\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoForm',\n props: {\n definition: {\n type: Object as PropType,\n required: true,\n },\n preValues: {\n type: Object as PropType,\n required: false,\n },\n antiForgeryToken: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst state = ref(FormState.Loading);\nconst onSubmit = async (ev) => {\n try {\n state.value = FormState.Submitting;\n const formData = new FormData(ev.target);\n const formProps = Object.fromEntries(formData);\n await UmbracoFormsApi.post(props.definition?.id, formProps, props.antiForgeryToken);\n state.value = FormState.Complete;\n if (props.definition?.gotoPageOnSubmit) {\n const url = await UrlApi.get(props.definition?.gotoPageOnSubmit);\n window.location.href = url;\n }\n } catch (e) {\n console.log(e);\n } finally {\n if (state.value != FormState.Complete) {\n state.value = FormState.Normal;\n }\n }\n};\nprovide(\"prevalues\", props.preValues);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_icon_checkmark_green = _resolveComponent(\"icon-checkmark-green\")!\n\n return (_openBlock(), _createElementBlock(\"form\", {\n onSubmit: _withModifiers(onSubmit, [\"prevent\"]),\n id: __props.definition.id,\n class: \"umbraco-form umbraco-forms-form\"\n }, [\n (state.value != _unref(FormState).Complete)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _renderSlot(_ctx.$slots, \"default\", { definition: __props.definition }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"button\", {\n type: \"submit\",\n class: \"umbraco-form__submit-button btn btn-primary button button--default\",\n disabled: state.value == _unref(FormState).Submitting\n }, _toDisplayString(__props.definition.submitLabel), 9, _hoisted_3)\n ])\n ], 64))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(_component_icon_checkmark_green),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(__props.definition.messageOnSubmit), 1)\n ]))\n ], 40, _hoisted_1))\n}\n}\n\n})","import script from \"./UmbracoForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoForm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./UmbracoForm.vue?vue&type=style&index=0&id=4aaf6650&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"umbraco-form-page umbraco-forms-page\" }\n\nimport { PropType } from \"vue\";\nimport { IUmbracoFormPage } from \"@/models/umbraco-forms/IUmbracoFormPage\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormPage',\n props: {\n page: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\", { page: __props.page })\n ]))\n}\n}\n\n})","import script from \"./UmbracoFormPage.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormPage.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export enum InputState {\n None = 0,\n Pristine = 1 << 0,\n Untouched = 1 << 1,\n Invalid = 1 << 2,\n Empty = 1 << 3,\n Blurred = 1 << 4,\n}\n","export enum InputErrorState {\n None,\n Required = 1 << 0,\n Pattern = 1 << 1,\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"type\", \"placeholder\", \"name\", \"id\", \"required\", \"pattern\", \"value\", \"disabled\"]\n\nimport { computed, onMounted, PropType, ref } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport { InputState } from \"@/models/umbraco-forms/InputState\";\nimport { InputErrorState } from \"@/models/umbraco-forms/InputErrorState\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormInput',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n type: {\n type: String,\n required: true,\n },\n id: {\n type: String,\n required: true,\n },\n value: {\n type: String,\n required: true,\n },\n},\n emits: {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n stateChanged: (state: InputState) => true,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n invalid: (errorState: InputErrorState) => true,\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\nconst state = ref(\n InputState.Pristine | InputState.Invalid | InputState.Untouched | InputState.Empty | InputState.Blurred\n);\n\nif (props.value || props.field?.settings.defaultValue) {\n state.value &= ~InputState.Empty;\n}\nconst onFocus = () => {\n state.value &= ~(InputState.Untouched | InputState.Blurred);\n emit(\"stateChanged\", state.value);\n};\nconst onBlur = (ev: Event) => {\n state.value |= InputState.Blurred;\n emit(\"stateChanged\", state.value);\n checkValidity((ev.target as HTMLObjectElement).validity);\n};\nconst onInput = (ev: Event) => {\n state.value &= ~InputState.Pristine;\n if ((ev.target as HTMLInputElement).value) {\n state.value &= ~InputState.Empty;\n } else {\n state.value |= InputState.Empty;\n }\n emit(\"stateChanged\", state.value);\n};\nconst onInvalid = (ev: Event) => {\n ev.preventDefault();\n checkValidity((ev.target as HTMLObjectElement).validity);\n};\nconst checkValidity = (validity: ValidityState) => {\n let errorState = InputErrorState.None;\n if (validity.valueMissing) {\n errorState |= InputErrorState.Required;\n }\n if (validity.patternMismatch) {\n errorState |= InputErrorState.Pattern;\n }\n emit(\"invalid\", errorState);\n};\n\nconst defaultValue = computed(() => {\n if (props.field?.settings.defaultValue && props.field.settings.defaultValue.startsWith(\"@\")) {\n return null;\n }\n return props.field?.settings.defaultValue;\n});\nonMounted(() => {\n emit(\"stateChanged\", state.value);\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"input\", {\n type: __props.field.settings.fieldType || __props.type,\n placeholder: __props.field.placeholder || undefined,\n name: __props.field.alias,\n id: __props.id || __props.field.id,\n required: __props.field.required,\n pattern: __props.field.pattern || undefined,\n onFocus: onFocus,\n onInput: onInput,\n onBlur: onBlur,\n onInvalid: onInvalid,\n value: __props.value || defaultValue.value,\n disabled: __props.field.settings.showLabel == 'False'\n }, null, 40, _hoisted_1))\n}\n}\n\n})","import script from \"./UmbracoFormInput.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormInput.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { IUmbracoFormUserPreValues } from \"@/models/umbraco-forms/IUmbracoFormUserPreValues\";\n\nexport const UmbracoFormParseMagicString = (preValues: IUmbracoFormUserPreValues, key: string) => {\n if (key && key.startsWith(\"@\")) {\n const normalizedKey = key.substring(1).toLowerCase();\n const objectKey = Object.keys(preValues).find((x) => x.toLowerCase() == normalizedKey);\n if (objectKey) {\n return preValues[objectKey];\n }\n return null;\n }\n return key;\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"text-input__container\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"text-input__error-message\"\n}\nconst _hoisted_4 = {\n key: 1,\n class: \"text-input__error-message\"\n}\n\nimport { inject, PropType, ref } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport UmbracoFormInput from \"@/components/umbraco-forms/inputs/UmbracoFormInput.vue\";\nimport { InputState } from \"@/models/umbraco-forms/InputState\";\nimport { InputErrorState } from \"@/models/umbraco-forms/InputErrorState\";\nimport { IUmbracoFormUserPreValues } from \"@/models/umbraco-forms/IUmbracoFormUserPreValues\";\nimport { UmbracoFormParseMagicString } from \"@/code/UmbracoFormExtensions\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormShortAnswer',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst inputState = ref(InputState.None);\nconst errorState = ref(InputErrorState.None);\nconst onStateChanged = (state: InputState) => {\n inputState.value = state;\n};\nconst onInvalid = (state: InputErrorState) => {\n errorState.value = state;\n};\nconst value = ref();\nconst prevalues = inject(\"prevalues\");\nif (prevalues) {\n value.value = UmbracoFormParseMagicString(prevalues, props.field?.settings.defaultValue);\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"text-input\", {\n 'text-input--active': !(inputState.value & _unref(InputState).Blurred) || !(inputState.value & _unref(InputState).Empty),\n 'text-input--disabled': __props.field.settings.showLabel == 'False',\n }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n for: __props.field.id\n }, _toDisplayString(__props.field.caption), 9, _hoisted_2),\n _createVNode(UmbracoFormInput, {\n field: __props.field,\n type: \"text\",\n onStateChanged: onStateChanged,\n onInvalid: onInvalid,\n value: value.value\n }, null, 8, [\"field\", \"value\"])\n ]),\n (errorState.value & _unref(InputErrorState).Required)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _toDisplayString(__props.field.requiredErrorMessage), 1))\n : _createCommentVNode(\"\", true),\n (errorState.value & _unref(InputErrorState).Pattern)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _toDisplayString(__props.field.patternInvalidErrorMessage), 1))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","import script from \"./UmbracoFormShortAnswer.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormShortAnswer.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = [\"name\", \"id\", \"placeholder\", \"required\"]\nconst _hoisted_2 = {\n key: 0,\n class: \"text-input__error-message\"\n}\nconst _hoisted_3 = {\n key: 1,\n class: \"text-input__error-message\"\n}\n\nimport { PropType, ref } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport { InputState } from \"@/models/umbraco-forms/InputState\";\nimport { InputErrorState } from \"@/models/umbraco-forms/InputErrorState\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormLongAnswer',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst state = ref(\n InputState.Pristine | InputState.Invalid | InputState.Untouched | InputState.Empty | InputState.Blurred\n);\nconst errorState = ref(InputErrorState.None);\nif (props.field?.settings.defaultValue) {\n state.value &= ~InputState.Empty;\n}\nconst onFocus = () => {\n state.value &= ~(InputState.Untouched | InputState.Blurred);\n};\nconst onBlur = (ev) => {\n state.value |= InputState.Blurred;\n checkValidity(ev.target.validity);\n};\nconst onInput = (ev) => {\n state.value &= ~InputState.Pristine;\n if (ev.target.value) {\n state.value &= ~InputState.Empty;\n } else {\n state.value |= InputState.Empty;\n }\n};\nconst onInvalid = (ev) => {\n ev.preventDefault();\n checkValidity(ev.target.validity);\n};\nconst checkValidity = (validity) => {\n errorState.value = InputErrorState.None;\n if (validity.valueMissing) {\n errorState.value |= InputErrorState.Required;\n }\n if (validity.patternMismatch) {\n errorState.value |= InputErrorState.Pattern;\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"form-group\", { 'text-input--active': !(state.value & _unref(InputState).Blurred) || !(state.value & _unref(InputState).Empty) }])\n }, [\n _createElementVNode(\"textarea\", {\n class: \"form-control\",\n name: __props.field.alias,\n id: __props.field.id,\n rows: \"3\",\n cols: \"20\",\n placeholder: __props.field.settings.placeholder || __props.field.caption,\n required: __props.field.required,\n onBlur: onBlur,\n onFocus: onFocus,\n onInvalid: onInvalid,\n onInput: onInput\n }, null, 40, _hoisted_1),\n (errorState.value & _unref(InputErrorState).Required)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _toDisplayString(__props.field.requiredErrorMessage), 1))\n : _createCommentVNode(\"\", true),\n (errorState.value & _unref(InputErrorState).Pattern)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _toDisplayString(__props.field.patternInvalidErrorMessage), 1))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","import script from \"./UmbracoFormLongAnswer.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormLongAnswer.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { PropType } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport UmbracoFormInput from \"@/components/umbraco-forms/inputs/UmbracoFormInput.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormDate',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(UmbracoFormInput, {\n field: __props.field,\n type: \"date\"\n }, null, 8, [\"field\"]))\n}\n}\n\n})","import script from \"./UmbracoFormDate.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormDate.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-group\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = { class: \"form-control-checkbox\" }\nconst _hoisted_4 = [\"name\"]\nconst _hoisted_5 = { class: \"help-block\" }\n\nimport { PropType } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport UmbracoFormInput from \"@/components/umbraco-forms/inputs/UmbracoFormInput.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormCheckbox',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n for: __props.field.id,\n class: \"umbraco-forms-label\"\n }, _toDisplayString(__props.field.caption), 9, _hoisted_2),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(UmbracoFormInput, {\n type: \"checkbox\",\n field: __props.field,\n value: true,\n id: __props.field.id\n }, null, 8, [\"field\", \"id\"]),\n _createElementVNode(\"input\", {\n type: \"hidden\",\n name: __props.field.alias,\n value: \"false\"\n }, null, 8, _hoisted_4)\n ]),\n _createElementVNode(\"p\", _hoisted_5, _toDisplayString(__props.field.helpText), 1)\n ]))\n}\n}\n\n})","import script from \"./UmbracoFormCheckbox.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormCheckbox.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { PropType } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport UmbracoFormInput from \"@/components/umbraco-forms/inputs/UmbracoFormInput.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormFileUpload',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(UmbracoFormInput, {\n field: __props.field,\n type: \"file\"\n }, null, 8, [\"field\"]))\n}\n}\n\n})","import script from \"./UmbracoFormFileUpload.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormFileUpload.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"text-input__container\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = {\n key: 0,\n class: \"text-input__error-message\"\n}\nconst _hoisted_4 = {\n key: 1,\n class: \"text-input__error-message\"\n}\n\nimport { PropType, ref } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport UmbracoFormInput from \"@/components/umbraco-forms/inputs/UmbracoFormInput.vue\";\nimport { InputState } from \"@/models/umbraco-forms/InputState\";\nimport { InputErrorState } from \"@/models/umbraco-forms/InputErrorState\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormPassword',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\nconst inputState = ref(InputState.None);\nconst errorState = ref(InputErrorState.None);\nconst onStateChanged = (state: InputState) => {\n inputState.value = state;\n};\nconst onInvalid = (state: InputErrorState) => {\n errorState.value = state;\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"text-input\", { 'text-input--active': !(inputState.value & _unref(InputState).Blurred) || !(inputState.value & _unref(InputState).Empty) }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n for: __props.field.id\n }, _toDisplayString(__props.field.caption), 9, _hoisted_2),\n _createVNode(UmbracoFormInput, {\n field: __props.field,\n type: \"password\",\n onStateChanged: onStateChanged,\n onInvalid: onInvalid\n }, null, 8, [\"field\"])\n ]),\n (errorState.value & _unref(InputErrorState).Required)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _toDisplayString(__props.field.requiredErrorMessage), 1))\n : _createCommentVNode(\"\", true),\n (errorState.value & _unref(InputErrorState).Pattern)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _toDisplayString(__props.field.patternInvalidErrorMessage), 1))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","import script from \"./UmbracoFormPassword.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormPassword.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = [\"for\"]\nconst _hoisted_2 = { class: \"form-control-checkbox\" }\n\nimport { PropType } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport UmbracoFormInput from \"@/components/umbraco-forms/inputs/UmbracoFormInput.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormMultipleChoice',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.field.preValues, (preValue) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: preValue.value,\n class: \"form-group\"\n }, [\n _createElementVNode(\"label\", {\n for: `${__props.field.id}-${preValue.value}`,\n class: \"umbraco-forms-label\"\n }, _toDisplayString(preValue.caption), 9, _hoisted_1),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(UmbracoFormInput, {\n type: \"checkbox\",\n field: __props.field,\n value: preValue.value,\n id: `${__props.field.id}-${preValue.value}`\n }, null, 8, [\"field\", \"value\", \"id\"])\n ])\n ]))\n }), 128))\n}\n}\n\n})","import script from \"./UmbracoFormMultipleChoice.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormMultipleChoice.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-group\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = { class: \"form-control-checkbox\" }\nconst _hoisted_4 = [\"name\"]\nconst _hoisted_5 = { class: \"help-block\" }\n\nimport { PropType } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport UmbracoFormInput from \"@/components/umbraco-forms/inputs/UmbracoFormInput.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormDataConsent',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n for: __props.field.id,\n class: \"umbraco-forms-label\"\n }, _toDisplayString(__props.field.caption), 9, _hoisted_2),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(UmbracoFormInput, {\n type: \"checkbox\",\n field: __props.field,\n value: \"true\",\n id: __props.field.id\n }, null, 8, [\"field\", \"id\"]),\n _createElementVNode(\"input\", {\n type: \"hidden\",\n name: __props.field.alias,\n value: \"false\"\n }, null, 8, _hoisted_4)\n ]),\n _createElementVNode(\"p\", _hoisted_5, _toDisplayString(__props.field.helpText), 1)\n ]))\n}\n}\n\n})","import script from \"./UmbracoFormDataConsent.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormDataConsent.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IconChevronDown.vue?vue&type=template&id=06ee8e45\"\nconst script = {}\n\nimport \"./IconChevronDown.vue?vue&type=style&index=0&id=06ee8e45&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"form-group\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = { class: \"form-control-select\" }\nconst _hoisted_4 = [\"name\", \"id\"]\nconst _hoisted_5 = [\"value\"]\n\nimport { PropType } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport IconChevronDown from \"@/components/icons/IconChevronDown.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormDropdown',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", {\n for: __props.field.id,\n class: \"umbraco-forms-label\"\n }, _toDisplayString(__props.field.caption), 9, _hoisted_2),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"select\", {\n class: \"form-control\",\n name: __props.field.alias,\n id: __props.field.id\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.field.preValues, (option) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n value: option.value,\n key: option.caption\n }, _toDisplayString(option.caption), 9, _hoisted_5))\n }), 128))\n ], 8, _hoisted_4),\n _createVNode(IconChevronDown)\n ])\n ]))\n}\n}\n\n})","import script from \"./UmbracoFormDropdown.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormDropdown.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-57201224\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"umbraco-forms-label\" }\nconst _hoisted_2 = { class: \"form-control radiobuttonlist\" }\nconst _hoisted_3 = [\"for\"]\n\nimport { PropType } from \"vue\";\nimport UmbracoFormInput from \"@/components/umbraco-forms/inputs/UmbracoFormInput.vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormSingleChoice',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, _toDisplayString(__props.field.caption), 1),\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.field.preValues, (preValue) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"form-control-radiobutton radio-button\",\n key: preValue.value\n }, [\n _createElementVNode(\"label\", {\n for: `${__props.field.id}-${preValue.value}`,\n class: \"radio-button__container\"\n }, [\n _createVNode(UmbracoFormInput, {\n type: \"radio\",\n field: __props.field,\n value: preValue.value,\n id: `${__props.field.id}-${preValue.value}`\n }, null, 8, [\"field\", \"value\", \"id\"]),\n _createTextVNode(\" \" + _toDisplayString(preValue.caption), 1)\n ], 8, _hoisted_3)\n ]))\n }), 128))\n ])\n ], 64))\n}\n}\n\n})","import script from \"./UmbracoFormSingleChoice.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormSingleChoice.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./UmbracoFormSingleChoice.vue?vue&type=style&index=0&id=57201224&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-57201224\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-d9ad9a2e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"form-control umbraco-form__title\" }\nconst _hoisted_2 = [\"innerHTML\"]\nconst _hoisted_3 = [\"innerHTML\"]\nconst _hoisted_4 = [\"innerHTML\"]\n\nimport { computed, PropType } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormTitleAndDescription',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst captionHtml = computed(() => {\n return `<${props.field?.settings.captionTag}>${props.field?.settings.caption}`;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!__props.field.settings.captionTag)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n innerHTML: __props.field.settings.caption\n }, null, 8, _hoisted_2))\n : (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n innerHTML: captionHtml.value\n }, null, 8, _hoisted_3)),\n _createElementVNode(\"div\", {\n innerHTML: __props.field.settings.bodyText\n }, null, 8, _hoisted_4)\n ]))\n}\n}\n\n})","import script from \"./UmbracoFormTitleAndDescription.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormTitleAndDescription.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./UmbracoFormTitleAndDescription.vue?vue&type=style&index=0&id=d9ad9a2e&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-d9ad9a2e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { inject, PropType, ref } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport UmbracoFormInput from \"@/components/umbraco-forms/inputs/UmbracoFormInput.vue\";\nimport { IUmbracoFormUserPreValues } from \"@/models/umbraco-forms/IUmbracoFormUserPreValues\";\nimport { UmbracoFormParseMagicString } from \"@/code/UmbracoFormExtensions\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormHidden',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst value = ref();\nconst prevalues = inject(\"prevalues\");\nif (prevalues) {\n value.value = UmbracoFormParseMagicString(prevalues, props.field?.settings.defaultValue);\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(UmbracoFormInput, {\n field: __props.field,\n type: \"hidden\",\n value: value.value\n }, null, 8, [\"field\", \"value\"]))\n}\n}\n\n})","import script from \"./UmbracoFormHidden.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormHidden.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n class: \"g-recaptcha\",\n \"data-sitekey\": \"6LdWqTwqAAAAANM-eyjzX-pMXPu1MF_BVqLK_v3C\"\n}\n\nimport { onMounted } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormRecaptcha2',\n props: {\n field: {\n type: Object,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nconst loadScript = async (src: string) => {\n try {\n await new Promise((resolve, reject) => {\n const script = document.createElement(\"script\");\n script.src = src;\n script.async = true;\n script.defer = true;\n script.onload = resolve;\n script.onerror = reject;\n document.head.appendChild(script);\n });\n } catch (err) {\n console.error(\"Failed to load reCAPTCHA script:\", err);\n }\n};\n\nonMounted(async () => {\n try {\n await loadScript(\"https://www.google.com/recaptcha/api.js\");\n } catch (err) {\n console.error(\"Failed to load reCAPTCHA script:\", err);\n }\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n}\n}\n\n})","import script from \"./UmbracoFormRecaptcha2.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormRecaptcha2.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { inject, PropType, ref } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport { IUmbracoFormUserPreValues } from \"@/models/umbraco-forms/IUmbracoFormUserPreValues\";\nimport { UmbracoFormParseMagicString } from \"@/code/UmbracoFormExtensions\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormRecaptcha3',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst value = ref();\nconst prevalues = inject(\"prevalues\");\nif (prevalues) {\n value.value = UmbracoFormParseMagicString(prevalues, props.field?.settings.defaultValue);\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"p\", null, \"Recaptcha V3 (UmbracoFormRecaptcha3.vue)\"))\n}\n}\n\n})","import script from \"./UmbracoFormRecaptcha3.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormRecaptcha3.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-21f297a6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"umbraco-form-field\" }\n\nimport { PropType } from \"vue\";\nimport { IUmbracoFormField } from \"@/models/umbraco-forms/IUmbracoFormField\";\nimport UmbracoFormShortAnswer from \"@/components/umbraco-forms/inputs/UmbracoFormShortAnswer.vue\";\nimport UmbracoFormLongAnswer from \"@/components/umbraco-forms/inputs/UmbracoFormLongAnswer.vue\";\nimport UmbracoFormDate from \"@/components/umbraco-forms/inputs/UmbracoFormDate.vue\";\nimport UmbracoFormCheckbox from \"@/components/umbraco-forms/inputs/UmbracoFormCheckbox.vue\";\nimport UmbracoFormFileUpload from \"@/components/umbraco-forms/inputs/UmbracoFormFileUpload.vue\";\nimport UmbracoFormPassword from \"@/components/umbraco-forms/inputs/UmbracoFormPassword.vue\";\nimport UmbracoFormMultipleChoice from \"@/components/umbraco-forms/inputs/UmbracoFormMultipleChoice.vue\";\nimport UmbracoFormDataConsent from \"@/components/umbraco-forms/inputs/UmbracoFormDataConsent.vue\";\nimport UmbracoFormDropdown from \"@/components/umbraco-forms/inputs/UmbracoFormDropdown.vue\";\nimport UmbracoFormSingleChoice from \"@/components/umbraco-forms/inputs/UmbracoFormSingleChoice.vue\";\nimport UmbracoFormTitleAndDescription from \"@/components/umbraco-forms/inputs/UmbracoFormTitleAndDescription.vue\";\nimport UmbracoFormHidden from \"@/components/umbraco-forms/inputs/UmbracoFormHidden.vue\";\nimport UmbracoFormRecaptcha2 from \"@/components/umbraco-forms/inputs/UmbracoFormRecaptcha2.vue\";\nimport UmbracoFormRecaptcha3 from \"@/components/umbraco-forms/inputs/UmbracoFormRecaptcha3.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormField',\n props: {\n field: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (__props.field.type.name == 'Short answer')\n ? (_openBlock(), _createBlock(UmbracoFormShortAnswer, {\n key: 0,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'Long answer')\n ? (_openBlock(), _createBlock(UmbracoFormLongAnswer, {\n key: 1,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'Date')\n ? (_openBlock(), _createBlock(UmbracoFormDate, {\n key: 2,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'Checkbox')\n ? (_openBlock(), _createBlock(UmbracoFormCheckbox, {\n key: 3,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'File upload')\n ? (_openBlock(), _createBlock(UmbracoFormFileUpload, {\n key: 4,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'Password')\n ? (_openBlock(), _createBlock(UmbracoFormPassword, {\n key: 5,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'Multiple choice')\n ? (_openBlock(), _createBlock(UmbracoFormMultipleChoice, {\n key: 6,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'Data Consent')\n ? (_openBlock(), _createBlock(UmbracoFormDataConsent, {\n key: 7,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'Dropdown')\n ? (_openBlock(), _createBlock(UmbracoFormDropdown, {\n key: 8,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'Single choice')\n ? (_openBlock(), _createBlock(UmbracoFormSingleChoice, {\n key: 9,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'Title and description')\n ? (_openBlock(), _createBlock(UmbracoFormTitleAndDescription, {\n key: 10,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'Hidden')\n ? (_openBlock(), _createBlock(UmbracoFormHidden, {\n key: 11,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'Recaptcha2')\n ? (_openBlock(), _createBlock(UmbracoFormRecaptcha2, {\n key: 12,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : (__props.field.type.name == 'reCAPTCHA v3 with score')\n ? (_openBlock(), _createBlock(UmbracoFormRecaptcha3, {\n key: 13,\n field: __props.field\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\", { field: __props.field })\n ]),\n _: 3\n }, 8, [\"field\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./UmbracoFormField.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormField.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./UmbracoFormField.vue?vue&type=style&index=0&id=21f297a6&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-21f297a6\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-37ef3530\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"umbraco-form-fieldset umbraco-forms-fieldset\" }\n\nimport { PropType } from \"vue\";\nimport { IUmbracoFormFieldset } from \"@/models/umbraco-forms/IUmbracoFormFieldset\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormFieldset',\n props: {\n fieldset: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"fieldset\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\", { fieldset: __props.fieldset })\n ]))\n}\n}\n\n})","import script from \"./UmbracoFormFieldset.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormFieldset.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./UmbracoFormFieldset.vue?vue&type=style&index=0&id=37ef3530&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-37ef3530\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"umbraco-form-fieldset-column umbraco-forms-container\" }\n\nimport { PropType } from \"vue\";\nimport { IUmbracoFormColumn } from \"@/models/umbraco-forms/IUmbracoFormColumn\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'UmbracoFormFieldsetColumn',\n props: {\n column: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\", { column: __props.column })\n ]))\n}\n}\n\n})","import script from \"./UmbracoFormFieldsetColumn.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UmbracoFormFieldsetColumn.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","export class Uuid {\n static newUuid(): string {\n return Array(15)\n .fill(0)\n .map(() => Math.floor(Math.random() * 16).toString(16))\n .join(\"\");\n }\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { PropType, ref } from \"vue\";\nimport { Uuid } from \"@/code/Uuid\";\nimport { DataLayerApi } from \"@/services/Api\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressRadioInput',\n props: {\n type: {\n type: String,\n default: \"text\",\n },\n name: String,\n value: String,\n placeholder: String,\n modelValue: String,\n disabled: Boolean,\n label: {\n type: String,\n required: false,\n },\n rules: {\n type: Object as PropType,\n required: false,\n },\n id: {\n type: String,\n required: true,\n },\n},\n emits: [\"update:modelValue\", \"blur\", \"focus\"],\n setup(__props, { emit }) {\n\n\n\nconst randomlyGeneratedId = ref(Uuid.newUuid());\n\nconst onInput = (event: Event) => {\n if ((event.target as HTMLInputElement).name === \"paymentMethod\") {\n const paymentMethodValue = (event.target as HTMLInputElement).value;\n DataLayerApi.updateAddPaymentInfoEvent(paymentMethodValue);\n }\n emit(\"update:modelValue\", (event.target as HTMLInputElement).value);\n};\nconst onFocus = (event: Event) => {\n emit(\"focus\", (event.target as HTMLInputElement).value);\n};\nconst onBlur = (event: Event) => {\n emit(\"blur\", (event.target as HTMLInputElement).value);\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_field = _resolveComponent(\"v-field\")!\n\n return (_openBlock(), _createBlock(_component_v_field, {\n id: __props.id || randomlyGeneratedId.value,\n name: __props.name,\n type: \"radio\",\n validateOnBlur: true,\n validateOnChange: false,\n validateOnInput: false,\n validateOnModelUpdate: false,\n onBlur: onBlur,\n value: __props.value,\n onFocus: onFocus,\n onInput: onInput,\n label: __props.label,\n rules: __props.rules,\n disabled: __props.disabled,\n class: \"radio-input\"\n }, null, 8, [\"id\", \"name\", \"value\", \"label\", \"rules\", \"disabled\"]))\n}\n}\n\n})","import script from \"./TressRadioInput.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressRadioInput.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressRadioInput.vue?vue&type=style&index=0&id=71802e35&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressAlert',\n props: {\n success: {\n type: Boolean,\n required: false,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"alert\", { 'alert--success': __props.success }])\n }, [\n _renderSlot(_ctx.$slots, \"default\")\n ], 2))\n}\n}\n\n})","import script from \"./TressAlert.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressAlert.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressAlert.vue?vue&type=style&index=0&id=c25d35ba&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-c25d35ba\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"checkbox-input-container\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"checkbox-input-mark\" }, null, -1)\n\nimport { PropType, ref, watch } from \"vue\";\nimport { Uuid } from \"@/code/Uuid\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCheckboxInput',\n props: {\n name: String,\n value: String,\n placeholder: String,\n disabled: Boolean,\n label: {\n type: String,\n required: false,\n },\n rules: {\n type: Object as PropType,\n required: false,\n },\n id: {\n type: String,\n required: false,\n default: Uuid.newUuid(),\n },\n modelValue: {\n type: Boolean,\n required: false,\n default: false,\n },\n},\n emits: [\"update:modelValue\", \"blur\", \"focus\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\nconst model = ref(props.modelValue);\n\nconst id = ref(props.id);\nconst onInput = (event: Event) => {\n const targetEl = event.target as HTMLInputElement;\n emit(\"update:modelValue\", targetEl.checked);\n};\nconst onFocus = (event: Event) => {\n emit(\"focus\", (event.target as HTMLInputElement).value);\n};\nconst onBlur = (event: Event) => {\n const value = (event.target as HTMLInputElement).value;\n emit(\"blur\", value);\n};\nwatch(model, (currVal) => {\n emit(\"update:modelValue\", !!currVal);\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_field = _resolveComponent(\"v-field\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_v_field, {\n id: id.value,\n modelValue: model.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((model).value = $event)),\n disabled: __props.disabled,\n label: __props.label,\n name: __props.name,\n rules: __props.rules,\n validateOnBlur: true,\n validateOnChange: false,\n validateOnInput: false,\n validateOnModelUpdate: false,\n class: \"checkbox-input\",\n type: \"checkbox\",\n \"unchecked-label\": \"\",\n value: \"on\",\n onBlur: onBlur,\n onChange: onInput,\n onFocus: onFocus\n }, null, 8, [\"id\", \"modelValue\", \"disabled\", \"label\", \"name\", \"rules\"]),\n _hoisted_2\n ]))\n}\n}\n\n})","import script from \"./TressCheckboxInput.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressCheckboxInput.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressCheckboxInput.vue?vue&type=style&index=0&id=5c30a8cd&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"textarea-input\" }\n\nimport { PropType, ref } from \"vue\";\nimport { Uuid } from \"@/code/Uuid\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressTextAreaInput',\n props: {\n type: {\n type: String,\n default: \"text\",\n },\n name: String,\n value: String,\n placeholder: String,\n modelValue: String,\n disabled: Boolean,\n label: {\n type: String,\n required: true,\n },\n rules: {\n type: Object as PropType,\n required: false,\n },\n id: {\n type: String,\n required: false,\n default: Uuid.newUuid(),\n },\n maxlength: {\n type: Number,\n required: false,\n },\n},\n emits: [\"update:modelValue\", \"blur\", \"focus\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\nconst active = ref(!!props.modelValue);\n\nconst id = ref(props.id);\nconst onInput = (event: Event) => {\n const targetEl = event.target as HTMLInputElement;\n emit(\"update:modelValue\", targetEl.value);\n};\nconst onFocus = (event: Event) => {\n active.value = true;\n emit(\"focus\", (event.target as HTMLInputElement).value);\n};\nconst onBlur = (event: Event) => {\n const value = (event.target as HTMLInputElement).value;\n if (!value) {\n active.value = false;\n }\n emit(\"blur\", value);\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_field = _resolveComponent(\"v-field\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_v_field, {\n id: id.value,\n disabled: __props.disabled,\n label: __props.label,\n name: __props.name,\n rules: __props.rules,\n validateOnBlur: true,\n validateOnChange: false,\n validateOnInput: false,\n validateOnModelUpdate: false,\n as: \"textarea\",\n onBlur: onBlur,\n onFocus: onFocus,\n onInput: onInput,\n maxLength: __props.maxlength\n }, null, 8, [\"id\", \"disabled\", \"label\", \"name\", \"rules\", \"maxLength\"])\n ]))\n}\n}\n\n})","import script from \"./TressTextAreaInput.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressTextAreaInput.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressTextAreaInput.vue?vue&type=style&index=0&id=336ac6a9&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconInfo.vue?vue&type=template&id=181254d9&scoped=true\"\nconst script = {}\n\nimport \"./IconInfo.vue?vue&type=style&index=0&id=181254d9&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-181254d9\"]])\n\nexport default __exports__","export enum CustomerType {\n Private = \"private\",\n Business = \"business\",\n}\n","import { ITressTheCheckoutViewModel } from \"@/models/ITressTheCheckoutViewModel\";\nimport { defineStore } from \"pinia\";\n\nexport const useCheckout = defineStore(\"checkout\", {\n state: (): ITressTheCheckoutViewModel => {\n return {\n comment: \"\",\n deliveryMethodId: \"\",\n paymentMethodId: \"\",\n shippingPostalCode: \"\",\n servicePointId: \"\",\n customerType: \"\",\n };\n },\n actions: {\n async set(checkout: ITressTheCheckoutViewModel): Promise {\n this.$patch({ ...checkout });\n },\n async setDeliveryMethodId(deliveryMethodId: string): Promise {\n this.$patch({ deliveryMethodId });\n },\n async clearDeliveryMethod(): Promise {\n this.$patch({ deliveryMethodId: \"\", servicePointId: \"\" });\n },\n async setShippingPostalCode(shippingPostalCode: string): Promise {\n this.$patch({ shippingPostalCode });\n },\n async setServicePointId(servicePointId: string): Promise {\n this.$patch({ servicePointId });\n },\n async setCustomerType(customerType: string): Promise {\n this.$patch({ customerType });\n },\n async reset(): Promise {\n this.$reset();\n },\n },\n persist: {\n enabled: true,\n strategies: [\n {\n storage: sessionStorage,\n },\n ],\n },\n});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createVNode as _createVNode, vModelText as _vModelText, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-723862e9\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"order-summary\" }\nconst _hoisted_2 = { class: \"order-summary__header-container\" }\nconst _hoisted_3 = { class: \"order-summary__header\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { class: \"order-summary__products\" }\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = { class: \"order-summary__product__info-container\" }\nconst _hoisted_8 = { class: \"order-summary__product__header\" }\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_10 = { class: \"order-summary__product__artno\" }\nconst _hoisted_11 = { class: \"order-summary__product__buy-container\" }\nconst _hoisted_12 = { class: \"order-summary__product__quantity\" }\nconst _hoisted_13 = {\n key: 0,\n class: \"order-summary__product__price--with-discount-code\"\n}\nconst _hoisted_14 = { class: \"order-summary__product__price--without-discount-code\" }\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_16 = { class: \"order-summary__price-header\" }\nconst _hoisted_17 = { class: \"order-summary__discount-code-container\" }\nconst _hoisted_18 = { class: \"order-summary__discount-code\" }\nconst _hoisted_19 = { class: \"text-input\" }\nconst _hoisted_20 = [\"placeholder\"]\nconst _hoisted_21 = {\n key: 0,\n class: \"order-summary__discount-validation order-summary__discount-validation--success\"\n}\nconst _hoisted_22 = {\n key: 1,\n class: \"order-summary__discount-validation order-summary__discount-validation--error\"\n}\nconst _hoisted_23 = {\n key: 2,\n class: \"button button--default order-summary__discount-submit\",\n type: \"submit\"\n}\nconst _hoisted_24 = { class: \"order-summary__total-container\" }\nconst _hoisted_25 = { class: \"order-summary__total-container-term\" }\nconst _hoisted_26 = { class: \"order-summary__total-container-definition\" }\nconst _hoisted_27 = { class: \"order-summary__total-container-term order-summary__total-container-term--discount\" }\nconst _hoisted_28 = { class: \"order-summary__total-container-definition order-summary__total-container-definition--discount\" }\nconst _hoisted_29 = {\n key: 0,\n class: \"order-summary__total-container-term\"\n}\nconst _hoisted_30 = {\n key: 1,\n class: \"order-summary__total-container-definition\"\n}\nconst _hoisted_31 = { class: \"order-summary__total-container-term order-summary__total-container-term--small\" }\nconst _hoisted_32 = { class: \"order-summary__total-container-definition order-summary__total-container-definition--small\" }\nconst _hoisted_33 = {\n key: 3,\n class: \"order-summary__freight-info-container\"\n}\nconst _hoisted_34 = {\n key: 2,\n class: \"order-summary__freight-info-container\"\n}\nconst _hoisted_35 = { class: \"order-summary__total-container\" }\nconst _hoisted_36 = { class: \"order-summary__total-container-term order-summary__total-container-term--big order-summary__total-container-term--total\" }\nconst _hoisted_37 = { class: \"order-summary__total-container-definition order-summary__total-container-definition--big\" }\nconst _hoisted_38 = {\n key: 0,\n class: \"order-summary__total-container-term order-summary__total-container-term--small\"\n}\nconst _hoisted_39 = {\n key: 1,\n class: \"order-summary__total-container-definition order-summary__total-container-definition--small\"\n}\n\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { computed, inject, onMounted, ref, watch } from \"vue\";\nimport TressAlert from \"@/components/TressAlert.vue\";\nimport IconInfo from \"@/components/icons/IconInfo.vue\";\nimport { CustomerType } from \"@/enums/CustomerType\";\nimport { useI18n } from \"vue-i18n\";\nimport { AmountAndVat, CartRow } from \"@/models/Cart\";\nimport { useCart } from \"@/store/useCart\";\nimport { Emitter } from \"mitt\";\nimport { useCheckout } from \"@/store/useCheckout\";\n\nenum DiscountCodeStatus {\n Unknown,\n Valid,\n Invalid,\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressOrderSummary',\n props: {\n alwaysShowFreightFee: {\n type: Boolean,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\nconst $t = useI18n().t;\n\n\n\nconst checkout = useCheckout();\nconst customerType = window.customerType;\nconst discountCodeRef = ref(undefined);\nconst basket = useCart();\nconst discountCodeStatus = ref(DiscountCodeStatus.Unknown);\nconst showDiscountCode = ref(false);\nconst discountCodeButtonEnabled = ref(false);\n\nconst getRowPrice = (item: CartRow) => (customerType === CustomerType.Private ? item.priceIncVat : item.price);\n\nconst getProductPreviousPrice = (item) =>\n customerType === CustomerType.Private ? item.originalPriceIncVat : item.originalPrice;\n\nconst getSummaryPrice = (item: AmountAndVat) =>\n customerType === CustomerType.Private ? item.amountIncVat : item.amount;\n\nconst getFreightPrice = () => {\n if (deliveryMethodSelected.value) {\n return customerType === CustomerType.Private ? basket.summary.freight.amountIncVat : basket.summary.freight.amount;\n } else if (showCheapestFreightFee.value) {\n return `${$t(dictionary.common.from)} ${customerType === CustomerType.Private ? basket.summary.freight.amountIncVat : basket.summary.freight.amount\n }`;\n } else if (showDefaultFreightFee.value) {\n return `${$t(dictionary.common.from)} ${customerType === CustomerType.Private ? basket.summary.freight.amountIncVat : basket.summary.freight.amount\n }*`;\n } else {\n return $t(dictionary.checkout.calculatingFreightFee);\n }\n};\n\nconst vatText = () =>\n customerType === CustomerType.Private ? $t(dictionary.common.includeVat) : $t(dictionary.common.excludeVat);\n\nasync function resetDiscountCode() {\n basket.discountCode = \"\";\n discountCodeButtonEnabled.value = true;\n await submitDiscountCode();\n}\n\nconst deliveryMethodSelected = computed(() => {\n return checkout.deliveryMethodId;\n});\n\nconst showFreightFee = computed(() => {\n return props.alwaysShowFreightFee || !basket.hasSpecialFreight;\n});\n\nconst showDefaultFreightFee = computed(() => {\n return !basket.hasSelectedDeliveryMethod && !checkout.shippingPostalCode;\n});\n\nconst showCheapestFreightFee = computed(() => {\n return !basket.hasSelectedDeliveryMethod && checkout.shippingPostalCode;\n});\n\nconst onDiscountCodeFocus = () => {\n discountCodeButtonEnabled.value = true;\n discountCodeStatus.value = DiscountCodeStatus.Unknown;\n};\n\nonMounted(() => {\n if (basket.discountCode) {\n showDiscountCode.value = true;\n discountCodeStatus.value = DiscountCodeStatus.Valid;\n }\n});\n\nconst submitDiscountCode = async () => {\n document.documentElement.focus();\n discountCodeStatus.value = DiscountCodeStatus.Unknown;\n const discountCode = basket.discountCode.toUpperCase();\n await basket.setDiscountCode(discountCode);\n if (discountCode !== \"\") {\n // If a non-empty code was submitted we determine its status dependent on whether or not it\n // equals the code on the basket (non-empty code means a successful valid code).\n discountCodeStatus.value =\n discountCode === basket.discountCode ? DiscountCodeStatus.Valid : DiscountCodeStatus.Invalid;\n\n if (discountCodeStatus.value === DiscountCodeStatus.Valid) {\n discountCodeButtonEnabled.value = false;\n }\n }\n if (discountCodeStatus.value === DiscountCodeStatus.Invalid) {\n // To show the invalid code in the input field we reset the discount code on the basket\n basket.discountCode = discountCode;\n }\n};\n\nwatch(showDiscountCode, (value: boolean) => {\n if (value) {\n setTimeout(() => {\n if (discountCodeRef.value && !basket.discountCode) {\n discountCodeRef.value.focus();\n }\n }, 0);\n }\n});\n\nconst emitter = inject>(\"eventbus\")!;\nconst onCartOpenClick = () => {\n emitter.emit(\"openCart\");\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_icon_chevron_down = _resolveComponent(\"icon-chevron-down\")!\n const _component_icon_close = _resolveComponent(\"icon-close\")!\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(_unref($t)(_unref(dictionary).common.myOrder)), 1),\n _createElementVNode(\"button\", {\n class: \"order-summary__edit\",\n onClick: onCartOpenClick\n }, _toDisplayString(_unref($t)(_unref(dictionary).common.editContent)), 1)\n ]),\n (_unref(basket).hasRemovedItems)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _toDisplayString(_unref($t)(_unref(dictionary).checkout.itemsHasBeenRemoved)), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"ul\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(basket).rows, (row) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: row.item.partNo,\n class: \"order-summary__product\"\n }, [\n (row.item.imageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: row.item.imageUrl,\n class: \"order-summary__product__image\"\n }, null, 8, _hoisted_6))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"p\", _hoisted_8, [\n _createTextVNode(_toDisplayString(row.item.name) + \" \", 1),\n _hoisted_9,\n _createElementVNode(\"span\", _hoisted_10, _toDisplayString(row.item.partNo), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"p\", _hoisted_12, _toDisplayString(_unref($t)(_unref(dictionary).common.quantity)) + \": \" + _toDisplayString(row.quantity), 1),\n _createElementVNode(\"p\", {\n class: _normalizeClass([{ 'order-summary__product__price--discount': row.item.originalPrice }, \"order-summary__product__price\"])\n }, [\n (row.item.originalPrice && _unref(basket).discountCode)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_13, _toDisplayString(getProductPreviousPrice(row)), 1))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"span\", _hoisted_14, _toDisplayString(getProductPreviousPrice(row)), 1),\n _hoisted_15,\n _createTextVNode(\" \" + _toDisplayString(getRowPrice(row)), 1)\n ], 64))\n ], 2)\n ])\n ])\n ]))\n }), 128))\n ]),\n _createElementVNode(\"p\", _hoisted_16, _toDisplayString(_unref($t)(_unref(dictionary).common.priceOverview)), 1),\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"label\", _hoisted_18, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((showDiscountCode).value = $event)),\n class: \"order-summary__discount-code-checkbox\",\n type: \"checkbox\"\n }, null, 512), [\n [_vModelCheckbox, showDiscountCode.value]\n ]),\n _createElementVNode(\"span\", null, _toDisplayString(_unref($t)(_unref(dictionary).checkout.addDiscountCode)), 1),\n _createVNode(_component_icon_chevron_down, {\n class: _normalizeClass({ 'icon-chevron-down--open': showDiscountCode.value })\n }, null, 8, [\"class\"])\n ]),\n (showDiscountCode.value)\n ? (_openBlock(), _createBlock(_component_v_form, {\n key: 0,\n onSubmit: submitDiscountCode\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([{\n 'text-input__container--error': discountCodeStatus.value === DiscountCodeStatus.Invalid,\n 'text-input__container--success': discountCodeStatus.value === DiscountCodeStatus.Valid,\n }, \"text-input__container\"])\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n ref_key: \"discountCodeRef\",\n ref: discountCodeRef,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(basket).discountCode) = $event)),\n placeholder: _unref($t)(_unref(dictionary).checkout.addDiscountCodeLabel),\n onFocus: onDiscountCodeFocus,\n class: \"order-summary__discount-code-input\"\n }, null, 40, _hoisted_20), [\n [\n _vModelText,\n _unref(basket).discountCode,\n void 0,\n { trim: true }\n ]\n ]),\n (discountCodeStatus.value !== DiscountCodeStatus.Unknown)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"order-summary__discount-reset\",\n type: \"button\",\n onClick: resetDiscountCode\n }, [\n _createVNode(_component_icon_close)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]),\n (discountCodeStatus.value === DiscountCodeStatus.Valid)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, _toDisplayString(_unref($t)(_unref(dictionary).checkout.validDiscountCode)), 1))\n : _createCommentVNode(\"\", true),\n (discountCodeStatus.value === DiscountCodeStatus.Invalid)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, _toDisplayString(_unref($t)(_unref(dictionary).checkout.invalidDiscountCode)), 1))\n : _createCommentVNode(\"\", true),\n (discountCodeButtonEnabled.value)\n ? (_openBlock(), _createElementBlock(\"button\", _hoisted_23, _toDisplayString(_unref($t)(_unref(dictionary).checkout.addDiscountCodeSubmit)), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"dl\", _hoisted_24, [\n _createElementVNode(\"dt\", _hoisted_25, _toDisplayString(_unref($t)(_unref(dictionary).common.subtotal)), 1),\n _createElementVNode(\"dd\", _hoisted_26, _toDisplayString(getSummaryPrice(_unref(basket).summary.originalTotal)), 1),\n (_unref(basket).summary.totalDiscounts?.amount)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"dt\", _hoisted_27, _toDisplayString(_unref($t)(_unref(dictionary).common.totalDiscount)), 1),\n _createElementVNode(\"dd\", _hoisted_28, \" - \" + _toDisplayString(getSummaryPrice(_unref(basket).summary.totalDiscounts)), 1)\n ], 64))\n : _createCommentVNode(\"\", true),\n (showFreightFee.value)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n (_unref(checkout).shippingPostalCode)\n ? (_openBlock(), _createElementBlock(\"dt\", _hoisted_29, _toDisplayString(_unref($t)(_unref(dictionary).common.freight)), 1))\n : _createCommentVNode(\"\", true),\n (_unref(checkout).shippingPostalCode)\n ? (_openBlock(), _createElementBlock(\"dd\", _hoisted_30, _toDisplayString(getFreightPrice()), 1))\n : _createCommentVNode(\"\", true),\n (_unref(customerType) == _unref(CustomerType).Private)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 2 }, [\n _createElementVNode(\"dt\", _hoisted_31, \" - \" + _toDisplayString(_unref($t)(_unref(dictionary).common.ofWhichVat)), 1),\n _createElementVNode(\"dd\", _hoisted_32, _toDisplayString(_unref(basket).summary.total.vat), 1)\n ], 64))\n : _createCommentVNode(\"\", true),\n (showDefaultFreightFee.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_33, [\n _createVNode(TressAlert, { success: \"\" }, {\n default: _withCtx(() => [\n _createVNode(IconInfo),\n _createTextVNode(\" \" + _toDisplayString(_unref($t)(_unref(dictionary).checkout.freightPriceCanChangeDependingOnDeliveryAddress)), 1)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_34, [\n _createVNode(TressAlert, { success: \"\" }, {\n default: _withCtx(() => [\n _createVNode(IconInfo),\n _createTextVNode(\" \" + _toDisplayString(_unref($t)(_unref(dictionary).checkout.basketHasSpecialFreight)), 1)\n ]),\n _: 1\n })\n ]))\n ]),\n _createElementVNode(\"dl\", _hoisted_35, [\n _createElementVNode(\"dt\", _hoisted_36, [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).common.totalPrice)) + \" \", 1),\n _createElementVNode(\"span\", null, \"(\" + _toDisplayString(vatText()) + \")\", 1)\n ]),\n _createElementVNode(\"dd\", _hoisted_37, _toDisplayString(getSummaryPrice(_unref(basket).summary.total)), 1),\n (_unref(customerType) === _unref(CustomerType).Business)\n ? (_openBlock(), _createElementBlock(\"dt\", _hoisted_38, _toDisplayString(_unref($t)(_unref(dictionary).common.vat)), 1))\n : _createCommentVNode(\"\", true),\n (_unref(customerType) === _unref(CustomerType).Business)\n ? (_openBlock(), _createElementBlock(\"dd\", _hoisted_39, _toDisplayString(_unref(basket).summary.total.vat), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","import script from \"./TressOrderSummary.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressOrderSummary.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressOrderSummary.vue?vue&type=style&index=0&id=723862e9&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-723862e9\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"text-input__container\" }\nconst _hoisted_2 = [\"for\"]\n\nimport { PropType, ref, watch } from \"vue\";\nimport { Uuid } from \"@/code/Uuid\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressTextInput',\n props: {\n type: {\n type: String,\n default: \"text\",\n },\n name: String,\n placeholder: String,\n modelValue: String,\n disabled: Boolean,\n label: {\n type: String,\n required: true,\n },\n rules: {\n type: Object as PropType,\n required: false,\n },\n maxlength: {\n type: Number,\n required: false,\n },\n},\n emits: [\"update:modelValue\", \"blur\", \"focus\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\nconst active = ref(!!props.modelValue);\n\nconst id = ref(Uuid.newUuid());\nconst onInput = (event: Event) => {\n emit(\"update:modelValue\", (event.target as HTMLInputElement).value);\n};\nconst onFocus = (event: Event) => {\n active.value = true;\n emit(\"focus\", (event.target as HTMLInputElement).value);\n};\nconst onBlur = (event: Event) => {\n const value = (event.target as HTMLInputElement).value;\n if (!value) {\n active.value = false;\n }\n emit(\"blur\", value);\n};\nwatch(\n () => props.modelValue,\n (currVal) => {\n if (currVal) {\n active.value = true;\n } else {\n active.value = false;\n }\n }\n);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_field = _resolveComponent(\"v-field\")!\n const _component_v_message = _resolveComponent(\"v-message\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([{ 'text-input--active': active.value }, \"text-input\"])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"label\", { for: id.value }, [\n _renderSlot(_ctx.$slots, \"label\")\n ], 8, _hoisted_2),\n _createVNode(_component_v_field, {\n id: id.value,\n name: __props.name,\n type: __props.type,\n validateOnBlur: true,\n validateOnChange: false,\n validateOnInput: false,\n validateOnModelUpdate: false,\n onBlur: onBlur,\n onFocus: onFocus,\n onInput: onInput,\n label: __props.label,\n rules: __props.rules,\n disabled: __props.disabled,\n value: __props.modelValue,\n maxLength: __props.maxlength\n }, null, 8, [\"id\", \"name\", \"type\", \"label\", \"rules\", \"disabled\", \"value\", \"maxLength\"])\n ]),\n _createVNode(_component_v_message, {\n name: __props.name,\n class: \"text-input__error-message\"\n }, null, 8, [\"name\"])\n ], 2))\n}\n}\n\n})","import script from \"./TressTextInput.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressTextInput.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressTextInput.vue?vue&type=style&index=0&id=45132d13&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8fa91efa\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"checkout-address-viewer\"\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"checkout-address-viewer__text\"\n}\nconst _hoisted_3 = {\n key: 1,\n class: \"checkout-address-viewer__text\"\n}\nconst _hoisted_4 = {\n key: 2,\n class: \"checkout-address-viewer__text\"\n}\nconst _hoisted_5 = {\n key: 3,\n class: \"checkout-address-viewer__text\"\n}\nconst _hoisted_6 = {\n key: 4,\n class: \"checkout-address-viewer__text\"\n}\nconst _hoisted_7 = {\n key: 5,\n class: \"checkout-address-viewer__text\"\n}\nconst _hoisted_8 = {\n key: 6,\n class: \"checkout-address-viewer__text\"\n}\nconst _hoisted_9 = {\n key: 7,\n class: \"checkout-address-viewer__text\"\n}\nconst _hoisted_10 = {\n key: 8,\n class: \"checkout-address-viewer__text\"\n}\nconst _hoisted_11 = {\n key: 9,\n class: \"checkout-address-viewer__text\"\n}\n\nimport { PropType } from \"vue\";\nimport { ICustomerAddress } from \"@/models/ICustomerAddress\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCheckoutAddressViewer',\n props: {\n address: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (__props.address)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (__props.address.fullName)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_2, _toDisplayString(__props.address.fullName), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.attention)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, _toDisplayString(__props.address.attention), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.organizationNumber)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_4, _toDisplayString(__props.address.organizationNumber), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.ean)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_5, _toDisplayString(__props.address.ean), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.address)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_6, _toDisplayString(__props.address.address), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.address2)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_7, _toDisplayString(__props.address.address2), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.zipcode && __props.address.city)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_8, _toDisplayString(__props.address.zipcode) + \", \" + _toDisplayString(__props.address.city), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.email)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_9, _toDisplayString(__props.address.email), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.phoneNumber)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_10, _toDisplayString(__props.address.phoneNumber), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.reference)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_11, _toDisplayString(__props.address.reference), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./TressCheckoutAddressViewer.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressCheckoutAddressViewer.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressCheckoutAddressViewer.vue?vue&type=style&index=0&id=8fa91efa&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-8fa91efa\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IconPlus.vue?vue&type=template&id=7539fdba&scoped=true\"\nconst script = {}\n\nimport \"./IconPlus.vue?vue&type=style&index=0&id=7539fdba&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7539fdba\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"manual-address-option__text\" }\n\nimport dictionary from \"@/i18n/dictionary.json\";\nimport IconPlus from \"@/components/icons/IconPlus.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCheckoutManualAddressOption',\n emits: {\n click: () => {\n return true;\n },\n},\n setup(__props, { emit }) {\n\n\nconst onClick = () => {\n emit(\"click\");\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: \"manual-address-option\",\n type: \"button\",\n onClick: onClick\n }, [\n _createVNode(IconPlus, { class: \"manual-address-option__icon\" }),\n _createElementVNode(\"p\", _hoisted_1, _toDisplayString(_ctx.$t(_unref(dictionary).form.otherBillingAddress)), 1)\n ]))\n}\n}\n\n})","import script from \"./TressCheckoutManualAddressOption.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressCheckoutManualAddressOption.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressCheckoutManualAddressOption.vue?vue&type=style&index=0&id=a150cd42&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"address-option__text\"\n}\nconst _hoisted_2 = {\n key: 1,\n class: \"address-option__text\"\n}\nconst _hoisted_3 = {\n key: 2,\n class: \"address-option__text\"\n}\n\nimport { PropType } from \"vue\";\nimport { ICustomerAddress } from \"@/models/ICustomerAddress\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCheckoutAddressOption',\n props: {\n address: {\n type: Object as PropType,\n required: true,\n },\n},\n emits: {\n click: (address: ICustomerAddress) => {\n return !!address;\n },\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\nconst onClick = () => {\n emit(\"click\", props.address);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: _normalizeClass([\"address-option\", { 'address-option--selected': __props.address.selected }]),\n type: \"button\",\n onClick: onClick\n }, [\n (__props.address.fullName)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_1, _toDisplayString(__props.address.fullName), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.address)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_2, _toDisplayString(__props.address.address), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.zipcode && __props.address.city)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, _toDisplayString(__props.address.zipcode) + \" \" + _toDisplayString(__props.address.city), 1))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","import script from \"./TressCheckoutAddressOption.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressCheckoutAddressOption.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressCheckoutAddressOption.vue?vue&type=style&index=0&id=298f8c8f&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4f3fe9b4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"checkout-address-viewer-double\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"checkout-address-viewer-double__container\"\n}\nconst _hoisted_3 = { class: \"checkout-address-viewer-double__header\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_5 = {\n key: 1,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_6 = {\n key: 2,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_7 = {\n key: 3,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_8 = {\n key: 4,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_9 = {\n key: 5,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_10 = {\n key: 6,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_11 = {\n key: 7,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_12 = {\n key: 8,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_13 = {\n key: 9,\n class: \"checkout-address-viewer__text\"\n}\nconst _hoisted_14 = {\n key: 1,\n class: \"checkout-address-viewer-double__container\"\n}\nconst _hoisted_15 = { class: \"checkout-address-viewer-double__header\" }\nconst _hoisted_16 = {\n key: 0,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_17 = {\n key: 1,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_18 = {\n key: 2,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_19 = {\n key: 3,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_20 = {\n key: 4,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_21 = {\n key: 5,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_22 = {\n key: 6,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_23 = {\n key: 7,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_24 = {\n key: 8,\n class: \"checkout-address-viewer-double__text\"\n}\nconst _hoisted_25 = {\n key: 9,\n class: \"checkout-address-viewer__text\"\n}\n\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { PropType } from \"vue\";\nimport { ICustomerAddress } from \"@/models/ICustomerAddress\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCheckoutAddressViewerDouble',\n props: {\n address: {\n type: Object as PropType,\n required: true,\n },\n address2: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (__props.address)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"p\", _hoisted_3, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.invoiceAddress)), 1),\n (__props.address.fullName)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_4, _toDisplayString(__props.address.fullName), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.attention)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_5, _toDisplayString(__props.address.attention), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.organizationNumber)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_6, _toDisplayString(__props.address.organizationNumber), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.ean)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_7, _toDisplayString(__props.address.ean), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.address)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_8, _toDisplayString(__props.address.address), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.address2)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_9, _toDisplayString(__props.address.address2), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.zipcode && __props.address.city)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_10, _toDisplayString(__props.address.zipcode) + \", \" + _toDisplayString(__props.address.city), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.email)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_11, _toDisplayString(__props.address.email), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.phoneNumber)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_12, _toDisplayString(__props.address.phoneNumber), 1))\n : _createCommentVNode(\"\", true),\n (__props.address.reference)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_13, _toDisplayString(__props.address.reference), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (__props.address2)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createElementVNode(\"p\", _hoisted_15, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.deliveryAddress)), 1),\n (__props.address2.fullName)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_16, _toDisplayString(__props.address2.fullName), 1))\n : _createCommentVNode(\"\", true),\n (__props.address2.attention)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_17, _toDisplayString(__props.address2.attention), 1))\n : _createCommentVNode(\"\", true),\n (__props.address2.organizationNumber)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_18, _toDisplayString(__props.address2.organizationNumber), 1))\n : _createCommentVNode(\"\", true),\n (__props.address2.ean)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_19, _toDisplayString(__props.address2.ean), 1))\n : _createCommentVNode(\"\", true),\n (__props.address2.address)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_20, _toDisplayString(__props.address2.address), 1))\n : _createCommentVNode(\"\", true),\n (__props.address2.address2)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_21, _toDisplayString(__props.address2.address2), 1))\n : _createCommentVNode(\"\", true),\n (__props.address2.zipcode && __props.address2.city)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_22, _toDisplayString(__props.address2.zipcode) + \", \" + _toDisplayString(__props.address2.city), 1))\n : _createCommentVNode(\"\", true),\n (__props.address2.email)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_23, _toDisplayString(__props.address2.email), 1))\n : _createCommentVNode(\"\", true),\n (__props.address2.phoneNumber)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_24, _toDisplayString(__props.address2.phoneNumber), 1))\n : _createCommentVNode(\"\", true),\n (__props.address2.reference)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_25, _toDisplayString(__props.address2.reference), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./TressCheckoutAddressViewerDouble.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressCheckoutAddressViewerDouble.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressCheckoutAddressViewerDouble.vue?vue&type=style&index=0&id=4f3fe9b4&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4f3fe9b4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createVNode as _createVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0b2e546a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"dropdown__option\"\n}\nconst _hoisted_2 = [\"checked\", \"value\", \"onChange\"]\n\nimport { PropType, ref } from \"vue\";\nimport IconChevronDown from \"@/components/icons/IconChevronDown.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressDropdown',\n props: {\n items: Object as PropType<{ key: string; value: string }[]>,\n selected: String,\n},\n emits: [\"update:selected\"],\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\n\nconst value = ref(props.items?.find((x) => x.key == props.selected));\n\nconst onChange = (event: Event, item: any) => {\n closeDropdown();\n value.value = item;\n emit(\"update:selected\", (event.target as HTMLOptionElement).value);\n};\n\nconst isOpen = ref(false);\nconst openDropdown = () => {\n isOpen.value = true;\n};\nconst closeDropdown = () => {\n isOpen.value = false;\n};\nconst toggleDropdown = () => {\n if (isOpen.value) {\n closeDropdown();\n } else {\n openDropdown();\n }\n};\nconst onDropdownClick = () => {\n toggleDropdown();\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([{ 'dropdown--active': isOpen.value }, \"dropdown\"])\n }, [\n _createElementVNode(\"button\", {\n class: \"dropdown__select\",\n onClick: onDropdownClick,\n type: \"button\"\n }, [\n _createTextVNode(_toDisplayString(value.value.value) + \" \", 1),\n _createVNode(IconChevronDown, { class: \"dropdown__icon\" })\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(props.items, (item) => {\n return (_openBlock(), _createElementBlock(_Fragment, {\n key: item.key\n }, [\n (value.value.key != item.key)\n ? (_openBlock(), _createElementBlock(\"label\", _hoisted_1, [\n _createElementVNode(\"input\", {\n checked: value.value == item.key,\n value: item.key,\n name: \"dropdown\",\n type: \"radio\",\n onChange: ($event: any) => (onChange($event, item))\n }, null, 40, _hoisted_2),\n _createTextVNode(\" \" + _toDisplayString(item.value), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ], 2))\n}\n}\n\n})","import script from \"./TressDropdown.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressDropdown.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressDropdown.vue?vue&type=style&index=0&id=0b2e546a&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0b2e546a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, vShow as _vShow, normalizeStyle as _normalizeStyle, resolveComponent as _resolveComponent, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-29f21736\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"checkout-page__form-inner-container checkout-page__inner-container\" }\nconst _hoisted_2 = { class: \"checkout-page__form-header-container\" }\nconst _hoisted_3 = { class: \"checkout-page__form-header\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"checkout-page__select-addresses\"\n}\nconst _hoisted_5 = { class: \"checkout-page__input-group\" }\nconst _hoisted_6 = { class: \"checkout-page__discount-code\" }\nconst _hoisted_7 = { class: \"checkbox-input-container\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"checkbox-input-mark\" }, null, -1))\nconst _hoisted_9 = { class: \"checkout-page__input-group\" }\nconst _hoisted_10 = {\n key: 4,\n class: \"text-input__error-message text-input__error-message--global\"\n}\nconst _hoisted_11 = { class: \"checkout-page__form-button-container\" }\nconst _hoisted_12 = [\"disabled\"]\n\nimport { ICustomerAddress } from \"@/models/ICustomerAddress\";\nimport { UpdateCustomerCommand } from \"@/models/Checkout\";\nimport { CheckoutApi } from \"@/services/Api\";\nimport { PropType, computed, onMounted, ref } from \"vue\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport TressTextInput from \"@/components/TressTextInput.vue\";\nimport TressCheckoutAddressViewer from \"@/components/TressCheckoutAddressViewer.vue\";\nimport TressCheckoutManualAddressOption from \"@/components/TressCheckoutManualAddressOption.vue\";\nimport TressCheckoutAddressOption from \"@/components/TressCheckoutAddressOption.vue\";\nimport { CustomerType } from \"@/enums/CustomerType\";\nimport TressCheckoutAddressViewerDouble from \"@/components/TressCheckoutAddressViewerDouble.vue\";\nimport Swal from \"sweetalert2\";\nimport { useI18n } from \"vue-i18n\";\nimport { ICheckoutAddresses } from \"@/models/ICheckoutAddresses\";\nimport { useCheckout } from \"@/store/useCheckout\";\nimport TressDropdown from \"@/components/TressDropdown.vue\";\nimport { RegisterAccountType } from \"@/models/AccountRegister\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCheckoutCustomerDataForm',\n props: {\n addresses: {\n type: Object as PropType,\n required: true,\n },\n openAccordionId: {\n type: String,\n required: true,\n },\n openAccordionHeight: {\n type: [String, Number],\n required: true,\n },\n isLoggedIn: {\n type: Boolean,\n required: false,\n default: false,\n },\n},\n emits: {\n submit: () => {\n return true;\n },\n edit: () => {\n return true;\n },\n preSubmit: () => {\n return true;\n },\n submitFail: () => {\n return true;\n },\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\nconst checkout = useCheckout();\nconst vuewindow = window;\nif (checkout.customerType != window.customerType) {\n checkout.reset();\n checkout.setCustomerType(window.customerType);\n}\nconst t = useI18n().t;\n\n\nconst isSending = ref(false);\nconst currentAddress = ref();\nconst shippingAddress = ref();\nconst addresses = ref(props.addresses);\nconst hasAnotherAddress = ref(false);\nconst model = ref({});\nconst zipCodeRules = ref(/^[0-9]{4,5}$/);\nconst customerType = ref(window.customerType);\nconst manualAddressOptionAvailable = computed(() => {\n return props.isLoggedIn && props.addresses.standardAddress;\n});\n\nconst lang = (document.querySelector(\"html\") as HTMLHtmlElement).getAttribute(\"lang\") as string;\n\nconst userSelectorItems: { key: RegisterAccountType; value: string }[] = [\n { key: \"private\", value: t(dictionary.common.private) },\n { key: \"business\", value: t(dictionary.common.business) },\n];\nconst selectedForm = ref(CustomerType.Private == window.customerType ? CustomerType.Private : CustomerType.Business);\nconst culture = (document.querySelector(\"div[data-culture]\") as HTMLHtmlElement).getAttribute(\"data-culture\") as string;\nconst onCustomerDataFormSubmit = async (values) => {\n try {\n emit(\"preSubmit\");\n isSending.value = true;\n if (showCustomerDataForm.value) {\n currentAddress.value = {\n zipcode: values.zipcode,\n selected: true,\n phoneNumber: values.phoneNumber,\n fullName: values.fullName,\n address: values.address,\n address2: values.address2,\n city: values.city,\n ean: values.ean,\n attention: values.attention,\n email: values.email,\n organizationNumber: values.organizationNumber,\n reference: values.reference,\n };\n }\n if (values.shippingFullName) {\n shippingAddress.value = {\n zipcode: values.shippingZipCode,\n selected: true,\n phoneNumber: values.shippingPhoneNumber,\n fullName: values.shippingFullName,\n address: values.shippingAddress,\n address2: values.shippingAddress2,\n city: values.shippingCity,\n ean: values.shippingEan,\n attention: values.shippingAttention,\n email: values.shippingEmail,\n organizationNumber: values.shippingOrganizationNumber,\n reference: values.shippingReference,\n };\n } else {\n shippingAddress.value = undefined;\n }\n const cmd: UpdateCustomerCommand = {\n payingAddress: currentAddress.value!,\n shippingAddress: shippingAddress.value,\n };\n await CheckoutApi.updateCustomer(cmd);\n await checkout.setShippingPostalCode(currentPostalCode.value);\n emit(\"submit\");\n } catch (e: any) {\n emit(\"submitFail\");\n await Swal.fire({\n icon: \"error\",\n text: t(dictionary.checkout.updateCustomerError),\n allowEnterKey: false,\n allowEscapeKey: false,\n allowOutsideClick: true,\n showCloseButton: true,\n customClass: {\n confirmButton: \"btn btn-success button button--default\",\n },\n buttonsStyling: false,\n });\n } finally {\n isSending.value = false;\n }\n};\nconst _setZipCodeRules = () => {\n if (lang == \"sv\") {\n zipCodeRules.value = /^[0-9]{5}$/;\n }\n};\nconst _resetSelectedAddresses = () => {\n if (addresses.value.standardAddress) {\n addresses.value.standardAddress.selected = false;\n }\n if (addresses.value.alternateAddress) {\n addresses.value.alternateAddress.selected = false;\n }\n if (addresses.value.manualAddress) {\n addresses.value.manualAddress.selected = false;\n }\n};\nconst _setInitialSelectedAddress = () => {\n let newModel = {};\n if (\n !addresses.value.standardAddress?.selected &&\n !addresses.value.alternateAddress?.selected &&\n !addresses.value.manualAddress?.selected\n ) {\n if (addresses.value.standardAddress) {\n addresses.value.standardAddress.selected = true;\n currentAddress.value = addresses.value.standardAddress;\n } else if (addresses.value.alternateAddress) {\n addresses.value.alternateAddress.selected = true;\n currentAddress.value = addresses.value.alternateAddress;\n } else if (addresses.value.manualAddress) {\n showCustomerDataForm.value = true;\n addresses.value.manualAddress.selected = true;\n currentAddress.value = addresses.value.manualAddress;\n }\n }\n if (addresses.value.standardAddress?.selected) {\n currentAddress.value = addresses.value.standardAddress;\n } else if (addresses.value.alternateAddress?.selected) {\n currentAddress.value = addresses.value.alternateAddress;\n } else if (addresses.value.manualAddress?.selected) {\n showCustomerDataForm.value = true;\n currentAddress.value = addresses.value.manualAddress;\n newModel = { ...addresses.value.manualAddress };\n }\n\n if (addresses.value.shippingAddress) {\n newModel = {\n ...newModel,\n shippingFullName: addresses.value.shippingAddress.fullName,\n shippingAttention: addresses.value.shippingAddress.attention,\n shippingOrganizationNumber: addresses.value.shippingAddress.organizationNumber,\n shippingEan: addresses.value.shippingAddress.ean,\n shippingAddress: addresses.value.shippingAddress.address,\n shippingAddress2: addresses.value.shippingAddress.address2,\n shippingZipcode: addresses.value.shippingAddress.zipcode,\n shippingCity: addresses.value.shippingAddress.city,\n shippingEmail: addresses.value.shippingAddress.email,\n shippingPhoneNumber: addresses.value.shippingAddress.phoneNumber,\n shippingReference: addresses.value.shippingAddress.reference,\n };\n setTimeout(() => {\n hasAnotherAddress.value = true;\n }, 300);\n }\n model.value = { ...newModel };\n};\n\nconst _setInitialPostalCode = async () => {\n if (currentPostalCode.value) {\n await checkout.setShippingPostalCode(currentPostalCode.value);\n }\n};\n\nonMounted(() => {\n _setInitialSelectedAddress();\n _setZipCodeRules();\n _setInitialPostalCode();\n});\n\nconst showCustomerDataForm = ref(false);\nconst onAddressOptionClick = (address: ICustomerAddress) => {\n _resetSelectedAddresses();\n address.selected = true;\n currentAddress.value = address;\n showCustomerDataForm.value = false;\n};\nconst onManualAddressOptionClick = () => {\n _resetSelectedAddresses();\n showCustomerDataForm.value = true;\n};\n\nconst currentPostalCode = computed(() => {\n return model.value.shippingZipcode ?? currentAddress.value?.zipcode ?? \"\";\n});\n\nconst onChangeStep = () => {\n emit(\"edit\");\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (_openBlock(), _createBlock(_component_v_form, {\n class: \"checkout-page__form\",\n onSubmit: onCustomerDataFormSubmit\n }, {\n default: _withCtx(({ errors }) => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h2\", _hoisted_3, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.step1)), 1),\n (__props.openAccordionId !== 'step1')\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"checkout-page__form-button-change\",\n onClick: onChangeStep,\n type: \"button\"\n }, _toDisplayString(_ctx.$t(_unref(dictionary).common.change)), 1))\n : _createCommentVNode(\"\", true)\n ]),\n (__props.openAccordionId != 'step1' && !shippingAddress.value)\n ? (_openBlock(), _createBlock(TressCheckoutAddressViewer, {\n key: 0,\n address: currentAddress.value\n }, null, 8, [\"address\"]))\n : _createCommentVNode(\"\", true),\n (__props.openAccordionId != 'step1' && shippingAddress.value)\n ? (_openBlock(), _createBlock(TressCheckoutAddressViewerDouble, {\n key: 1,\n address2: shippingAddress.value,\n address: currentAddress.value\n }, null, 8, [\"address2\", \"address\"]))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createElementVNode(\"div\", {\n style: _normalizeStyle({ height: __props.openAccordionId == 'step1' ? __props.openAccordionHeight : 0 }),\n class: \"checkout-page__form-inner-inner-container\"\n }, [\n _createVNode(TressDropdown, {\n items: userSelectorItems,\n selected: selectedForm.value,\n class: \"sign-in__form-type-dropdown\",\n \"onUpdate:selected\": _cache[0] || (_cache[0] = \n (e) =>\n (_unref(vuewindow).location.href = `/umbraco/surface/customer/Switch?type=${e}&culture=${_unref(culture)}&redirectUrl=${encodeURIComponent(\n _unref(vuewindow).location.pathname\n )}`)\n )\n }, null, 8, [\"selected\"]),\n (addresses.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n (addresses.value.standardAddress)\n ? (_openBlock(), _createBlock(TressCheckoutAddressOption, {\n key: 0,\n address: addresses.value.standardAddress,\n onClick: onAddressOptionClick\n }, null, 8, [\"address\"]))\n : _createCommentVNode(\"\", true),\n (addresses.value.alternateAddress)\n ? (_openBlock(), _createBlock(TressCheckoutAddressOption, {\n key: 1,\n address: addresses.value.alternateAddress,\n onClick: onAddressOptionClick\n }, null, 8, [\"address\"]))\n : _createCommentVNode(\"\", true),\n (manualAddressOptionAvailable.value)\n ? (_openBlock(), _createBlock(TressCheckoutManualAddressOption, {\n key: 2,\n onClick: onManualAddressOptionClick\n }))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (!showCustomerDataForm.value)\n ? (_openBlock(), _createBlock(TressCheckoutAddressViewer, {\n key: 1,\n address: currentAddress.value\n }, null, 8, [\"address\"]))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 2 }, [\n _createVNode(TressTextInput, {\n modelValue: model.value.fullName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((model.value.fullName) = $event)),\n label: \n customerType.value == _unref(CustomerType).Business\n ? _ctx.$t(_unref(dictionary).form.companyName.label)\n : _ctx.$t(_unref(dictionary).form.fullName.label)\n ,\n class: \"checkout-page__input\",\n name: \"fullName\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(customerType.value == _unref(CustomerType).Business\n ? _ctx.$t(_unref(dictionary).form.companyName.label)\n : _ctx.$t(_unref(dictionary).form.fullName.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n (customerType.value == _unref(CustomerType).Business)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 0,\n modelValue: model.value.attention,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((model.value.attention) = $event)),\n label: _ctx.$t(_unref(dictionary).form.attention.label),\n class: \"checkout-page__input\",\n name: \"attention\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.attention.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (customerType.value == _unref(CustomerType).Business)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 1,\n modelValue: model.value.organizationNumber,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((model.value.organizationNumber) = $event)),\n label: _ctx.$t(_unref(dictionary).form.orgNo.label),\n class: \"checkout-page__input\",\n name: \"organizationNumber\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.orgNo.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (customerType.value == _unref(CustomerType).Business && _unref(lang) == 'da')\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 2,\n modelValue: model.value.ean,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((model.value.ean) = $event)),\n label: _ctx.$t(_unref(dictionary).form.ean.label),\n class: \"checkout-page__input\",\n name: \"ean\",\n maxlength: 13\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.ean.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(TressTextInput, {\n modelValue: model.value.address,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((model.value.address) = $event)),\n label: _ctx.$t(_unref(dictionary).form.address.label),\n class: \"checkout-page__input\",\n name: \"address\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.address.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n _createVNode(TressTextInput, {\n modelValue: model.value.address2,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((model.value.address2) = $event)),\n label: _ctx.$t(_unref(dictionary).form.address2.label),\n class: \"checkout-page__input\",\n name: \"address2\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.address2.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(TressTextInput, {\n modelValue: model.value.zipcode,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((model.value.zipcode) = $event)),\n label: _ctx.$t(_unref(dictionary).form.zipCode.label),\n rules: { required: true, regex: zipCodeRules.value },\n class: \"checkout-page__input checkout-page__input--two\",\n name: \"zipcode\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.zipCode.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\", \"rules\"]),\n _createVNode(TressTextInput, {\n modelValue: model.value.city,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((model.value.city) = $event)),\n label: _ctx.$t(_unref(dictionary).form.city.label),\n class: \"checkout-page__input checkout-page__input--two\",\n name: \"city\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.city.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"])\n ]),\n _createVNode(TressTextInput, {\n modelValue: model.value.email,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((model.value.email) = $event)),\n label: _ctx.$t(_unref(dictionary).form.email.label),\n class: \"checkout-page__input\",\n name: \"email\",\n rules: \"required|email\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.email.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n _createVNode(TressTextInput, {\n modelValue: model.value.phoneNumber,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((model.value.phoneNumber) = $event)),\n label: _ctx.$t(_unref(dictionary).form.phoneNumber.label),\n class: \"checkout-page__input\",\n name: \"phoneNumber\",\n rules: { required: true, regex: /^\\d*$/ }\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.phoneNumber.placeholder)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n (customerType.value == _unref(CustomerType).Business)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 3,\n modelValue: model.value.reference,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((model.value.reference) = $event)),\n label: _ctx.$t(_unref(dictionary).form.referenceNumber.label),\n class: \"checkout-page__input\",\n name: \"reference\",\n maxlength: 50\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.referenceNumber.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true)\n ], 64)),\n _createElementVNode(\"label\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((hasAnotherAddress).value = $event)),\n class: \"checkbox-input\",\n type: \"checkbox\"\n }, null, 512), [\n [_vModelCheckbox, hasAnotherAddress.value]\n ]),\n _hoisted_8\n ]),\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(_unref(dictionary).checkout.deliverToAnotherAddress)), 1)\n ]),\n (hasAnotherAddress.value)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 3 }, [\n _createVNode(TressTextInput, {\n modelValue: model.value.shippingFullName,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((model.value.shippingFullName) = $event)),\n label: \n customerType.value == _unref(CustomerType).Business\n ? _ctx.$t(_unref(dictionary).form.companyName.label)\n : _ctx.$t(_unref(dictionary).form.fullName.label)\n ,\n class: \"checkout-page__input\",\n name: \"shippingFullName\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(customerType.value == _unref(CustomerType).Business\n ? _ctx.$t(_unref(dictionary).form.companyName.label)\n : _ctx.$t(_unref(dictionary).form.fullName.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n _createVNode(TressTextInput, {\n modelValue: model.value.shippingAttention,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((model.value.shippingAttention) = $event)),\n label: _ctx.$t(_unref(dictionary).form.attention.label),\n class: \"checkout-page__input\",\n name: \"shippingAttention\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.attention.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n _createVNode(TressTextInput, {\n modelValue: model.value.shippingAddress,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((model.value.shippingAddress) = $event)),\n label: _ctx.$t(_unref(dictionary).form.address.label),\n class: \"checkout-page__input\",\n name: \"shippingAddress\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.address.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n _createVNode(TressTextInput, {\n modelValue: model.value.shippingAddress2,\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => ((model.value.shippingAddress2) = $event)),\n label: _ctx.$t(_unref(dictionary).form.address2.label),\n class: \"checkout-page__input\",\n name: \"shippingAddress2\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.address2.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(TressTextInput, {\n modelValue: model.value.shippingZipcode,\n \"onUpdate:modelValue\": _cache[17] || (_cache[17] = ($event: any) => ((model.value.shippingZipcode) = $event)),\n label: _ctx.$t(_unref(dictionary).form.zipCode.label),\n rules: { required: true, regex: zipCodeRules.value },\n class: \"checkout-page__input checkout-page__input--two\",\n name: \"shippingZipCode\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.zipCode.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\", \"rules\"]),\n _createVNode(TressTextInput, {\n modelValue: model.value.shippingCity,\n \"onUpdate:modelValue\": _cache[18] || (_cache[18] = ($event: any) => ((model.value.shippingCity) = $event)),\n label: _ctx.$t(_unref(dictionary).form.city.label),\n class: \"checkout-page__input checkout-page__input--two\",\n name: \"shippingCity\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.city.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"])\n ]),\n _createVNode(TressTextInput, {\n modelValue: model.value.shippingPhoneNumber,\n \"onUpdate:modelValue\": _cache[19] || (_cache[19] = ($event: any) => ((model.value.shippingPhoneNumber) = $event)),\n label: _ctx.$t(_unref(dictionary).form.phoneNumber.label),\n class: \"checkout-page__input\",\n name: \"shippingPhoneNumber\",\n rules: { required: true, regex: /^\\d*$/ }\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.phoneNumber.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"])\n ], 64))\n : _createCommentVNode(\"\", true),\n (Object.keys(errors).length > 0)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_10, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.customerDataFormGlobalError)), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"button\", {\n type: \"submit\",\n class: \"checkout-page__form-button\",\n disabled: isSending.value\n }, _toDisplayString(_ctx.$t(_unref(dictionary).common.continue)), 9, _hoisted_12)\n ])\n ], 4), [\n [_vShow, __props.openAccordionId == 'step1']\n ])\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./TressCheckoutCustomerDataForm.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressCheckoutCustomerDataForm.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressCheckoutCustomerDataForm.vue?vue&type=style&index=0&id=29f21736&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-29f21736\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { vModelRadio as _vModelRadio, createElementVNode as _createElementVNode, withDirectives as _withDirectives, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7820b39f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"for\"]\nconst _hoisted_2 = { class: \"checkout-service-point__top-container\" }\nconst _hoisted_3 = [\"id\", \"value\"]\nconst _hoisted_4 = { class: \"checkout-service-point__header\" }\nconst _hoisted_5 = { class: \"checkout-service-point__text\" }\nconst _hoisted_6 = { class: \"checkout-service-point__text\" }\n\nimport { computed, PropType, ref, watch } from \"vue\";\nimport { Uuid } from \"@/code/Uuid\";\nimport { IServicePoint } from \"@/models/IServicePoint\";\nimport { IServicePointOpeningHour } from \"@/models/IServicePointOpeningHour\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCheckoutServicePoint',\n props: {\n servicePoint: {\n type: Object as PropType,\n required: true,\n },\n model: {\n type: Object as PropType,\n required: true,\n },\n},\n emits: {\n change: (servicePoint: IServicePoint) => true,\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\nconst id = ref(Uuid.newUuid());\n\nconst model = ref(props.model);\nwatch(\n () => props.model,\n (currVal) => {\n model.value = currVal;\n }\n);\nconst address = computed(() => {\n const street = props.servicePoint?.visitingAddress?.streetName + (props.servicePoint?.visitingAddress?.streetNumber ? ` ${props.servicePoint?.visitingAddress?.streetNumber}` : '');\n\n return `${street}, ${props.servicePoint?.visitingAddress?.postalCode} ${props.servicePoint?.visitingAddress?.city}`;\n});\nconst openingHourAsString = (openingHour: IServicePointOpeningHour) => {\n let sb = openingHour.fromDay;\n if (openingHour.toDay) {\n sb += `-${openingHour.toDay}`;\n }\n sb += ` ${openingHour.from}`;\n if (openingHour.to) {\n sb += `-${openingHour.to}`;\n }\n return sb;\n};\n\nconst onChange = (ev) => {\n emit(\"change\", props.servicePoint);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"label\", {\n for: id.value,\n class: _normalizeClass([\"checkout-service-point\", { 'checkout-service-point--active': model.value == __props.servicePoint }])\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _withDirectives(_createElementVNode(\"input\", {\n id: id.value,\n value: __props.servicePoint,\n class: \"radio-input checkout-service-point__input\",\n name: \"service-point\",\n type: \"radio\",\n onChange: onChange,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((model).value = $event))\n }, null, 40, _hoisted_3), [\n [_vModelRadio, model.value]\n ]),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(__props.servicePoint.name), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(address.value), 1),\n _createElementVNode(\"ul\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.servicePoint.openingHours, (openingHour) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: openingHour.from\n }, _toDisplayString(openingHourAsString(openingHour)), 1))\n }), 128))\n ])\n ], 10, _hoisted_1))\n}\n}\n\n})","import script from \"./TressCheckoutServicePoint.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressCheckoutServicePoint.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressCheckoutServicePoint.vue?vue&type=style&index=0&id=7820b39f&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7820b39f\"]])\n\nexport default __exports__","export enum TressExceptions {\n ChangeReset_InvalidMailAddress,\n ChangeReset_InvalidPassword,\n ChangeReset_PasswordsMustMatch,\n ChangeReset_UserNotLoggedIn,\n FindByCustomerNumber_MissingCustomerNumber,\n InvalidMailAddress,\n PasswordForgot_InvalidMailAddress,\n PasswordReset_InvalidMailAddress,\n PasswordReset_InvalidPassword,\n PasswordReset_MissingToken,\n Register_AlreadyLoggedIn,\n Register_EmailAlreadyExists,\n Register_InvalidMailAddress,\n Register_InvalidPassword,\n Register_MissingCustomerAddress,\n Register_MissingCustomerCity,\n Register_MissingCustomerEmail,\n Register_MissingCustomerForCustomerNumber,\n Register_MissingCustomerName,\n Register_MissingCustomerPhoneNumber,\n Register_MissingCustomerZip,\n Register_MissingName,\n Register_MissingPhoneNumber,\n Register_PasswordsMustMatch,\n ResetPassword_ResetPasswordFailed,\n SignIn_Error,\n SignIn_MissingPassword,\n SignIn_MissingUsername,\n Unknown_Error,\n Checkout_GetShippingOptions,\n Checkout_NoShippingOptions,\n ChangePassword_InvalidCurrentPassword,\n}\n","import { Spinner, SpinnerOptions } from \"spin.js\";\nimport { ref } from \"vue\";\n\nexport const useAsyncSpinner = async (\n callback: () => Promise,\n opts?: SpinnerOptions | undefined,\n delay?: number | 2000\n): Promise => {\n let spinner = new Spinner(opts);\n\n const timeout = setTimeout(() => {\n const el = document.querySelector(\".spinner-container\");\n if (el) {\n el.style.zIndex = \"1\";\n spinner = spinner.spin(el);\n }\n }, delay);\n try {\n await callback();\n } finally {\n if (timeout) {\n clearTimeout(timeout);\n }\n spinner = spinner.stop();\n const el = document.querySelector(\".spinner-container\");\n if (el) {\n el.style.zIndex = \"-1\";\n }\n }\n};\n\nexport const useSpinner = () => {\n const spinner = ref(new Spinner());\n const spin = () => {\n const el = document.querySelector(\".spinner-container\");\n if (el) {\n el.style.zIndex = \"1\";\n spinner.value.spin(el);\n }\n };\n const stop = () => {\n spinner.value.stop();\n const el = document.querySelector(\".spinner-container\");\n if (el) {\n el.style.zIndex = \"-1\";\n }\n };\n return { spin, stop };\n};\n\nexport const useSyncSpinner = (callback: () => void, opts?: SpinnerOptions | undefined): void => {\n let spinner = new Spinner(opts);\n const timeout = setTimeout(() => {\n spinner = spinner.spin(document.querySelector(\"#app\") as HTMLElement);\n }, 2000);\n try {\n callback();\n } catch (e) {\n console.error(e);\n } finally {\n if (timeout) {\n clearTimeout(timeout);\n }\n spinner.stop();\n }\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createVNode as _createVNode, createBlock as _createBlock, createTextVNode as _createTextVNode, vShow as _vShow, normalizeStyle as _normalizeStyle, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2f701d5d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"checkout-page__form-inner-container checkout-page__inner-container checkout-delivery-form\" }\nconst _hoisted_2 = { class: \"checkout-page__form-header-container\" }\nconst _hoisted_3 = { class: \"checkout-page__form-header\" }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { class: \"checkout-page__form-overview-delivery\" }\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = { class: \"checkout-page__form-overview-delivery-name\" }\nconst _hoisted_8 = {\n key: 1,\n class: \"checkout-page__form-overview-delivery-price\"\n}\nconst _hoisted_9 = {\n key: 2,\n class: \"checkout-page__form-overview-delivery-price\"\n}\nconst _hoisted_10 = [\"for\"]\nconst _hoisted_11 = { class: \"checkout-page__delivery-method-info-container\" }\nconst _hoisted_12 = { class: \"checkout-page__delivery-method-info\" }\nconst _hoisted_13 = [\"src\"]\nconst _hoisted_14 = [\"for\"]\nconst _hoisted_15 = {\n key: 0,\n class: \"checkout-page__delivery-method-price\"\n}\nconst _hoisted_16 = {\n key: 1,\n class: \"checkout-page__delivery-method-price\"\n}\nconst _hoisted_17 = {\n key: 0,\n class: \"checkout-page__delivery__service-points\"\n}\nconst _hoisted_18 = { class: \"checkout-page__delivery__service-points__header\" }\nconst _hoisted_19 = {\n key: 1,\n class: \"checkout-delivery-form__button-container\"\n}\nconst _hoisted_20 = {\n key: 0,\n class: \"checkout-page__form-button-container checkout-page__form-button-container--delivery\"\n}\nconst _hoisted_21 = [\"disabled\"]\n\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { computed, onMounted, ref, watch } from \"vue\";\nimport { Checkout, ShippingOption } from \"@/models/Checkout\";\nimport TressRadioInput from \"@/components/TressRadioInput.vue\";\nimport { CheckoutApi, DataLayerApi } from \"@/services/Api\";\nimport TressCheckoutServicePoint from \"@/components/TressCheckoutServicePoint.vue\";\nimport { IServicePoint } from \"@/models/IServicePoint\";\nimport Swal from \"sweetalert2\";\nimport { useI18n } from \"vue-i18n\";\nimport { useCheckout } from \"@/store/useCheckout\";\nimport { TressExceptions } from \"@/code/TressExceptions\";\nimport { useCart } from \"@/store/useCart\";\nimport { useAsyncSpinner } from \"@/services/Spinner\";\n\nconst servicePointAgentCodePostNord = \"POSTNORD_COLLECT\";\nconst servicePointAgentCodeDhl = \"DHL_SERVICEPOINT\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCheckoutDeliveryForm',\n props: {\n openAccordionId: {\n type: String,\n required: true,\n },\n openAccordionHeight: {\n type: [String, Number],\n required: true,\n },\n isFormTouched: {\n type: Boolean,\n required: true,\n },\n showAsB2b: {\n type: Boolean,\n required: true,\n },\n},\n emits: {\n edit: () => true,\n submit: (checkout: Checkout) => true,\n},\n setup(__props, { emit }) {\n\n\n\nconst checkout = useCheckout();\nconst cart = useCart();\n\nlet deliveryMethods = ref([]);\n\nconst { t } = useI18n();\n\n\n\nconst selectedDeliveryMethodId = ref(checkout.deliveryMethodId);\nconst selectedServicePointId = ref(checkout.servicePointId);\n\nconst isFormDirty = computed(() => !!selectedDeliveryMethodId.value);\n\nconst selectedDeliveryMethod = computed(() => {\n return deliveryMethods.value.find((x) => x.id === selectedDeliveryMethodId.value);\n});\n\nconst deliveryMethodIsValid = computed(() => {\n if (selectedDeliveryMethod.value) {\n if (selectedDeliveryMethod.value.id === servicePointAgentCodePostNord || selectedDeliveryMethod.value.id === servicePointAgentCodeDhl) {\n return chosenServicePoint.value;\n }\n return true;\n }\n return false;\n});\n\nconst chosenServicePoint = computed(() => {\n const foundServicePoint = servicePoints.value?.find((x) => x.id === selectedServicePointId.value);\n return foundServicePoint || (servicePoints.value && servicePoints.value[0]);\n});\n\nconst response = ref(checkout);\n\nconst onEdit = () => {\n emit(\"edit\");\n};\n\nconst loadDeliveryMethods = async () => {\n try {\n await useAsyncSpinner(\n async () => {\n const deliveryOptionsRes = await CheckoutApi.getShippingOptions();\n deliveryMethods.value = deliveryOptionsRes.shippingOptions;\n\n if (!checkout.deliveryMethodId) {\n const deliveryPrices = deliveryMethods.value.map((a) => a.price);\n const cheapest = Math.min(...deliveryPrices);\n const cheapestDeliveryMethod = deliveryMethods.value.find((d) => d.price === cheapest);\n\n const response = await CheckoutApi.setDelivery({\n freightAmount: cheapestDeliveryMethod!.price,\n freightAmountIncVat: cheapestDeliveryMethod!.priceIncVat,\n });\n\n cart.set(response.basket);\n }\n },\n {},\n 1\n );\n } catch (e: any) {\n const error = Number(TressExceptions[e]);\n let message = \"\";\n switch (error) {\n case TressExceptions.Checkout_NoShippingOptions:\n message = t(dictionary.checkout.noShippingOptionsError);\n break;\n case TressExceptions.Checkout_GetShippingOptions:\n message = t(dictionary.checkout.getShippingOptionsError);\n break;\n }\n await Swal.fire({\n icon: \"error\",\n text: message,\n allowEnterKey: false,\n allowEscapeKey: false,\n allowOutsideClick: true,\n showCloseButton: true,\n customClass: {\n confirmButton: \"btn btn-success button button--default\",\n },\n buttonsStyling: false,\n });\n }\n};\n\nonMounted(() => {\n if (checkout.deliveryMethodId) {\n onDeliveryChange();\n }\n});\nconst onSubmit = async () => {\n try {\n emit(\"submit\", response.value!);\n } catch {\n await Swal.fire({\n icon: \"error\",\n text: t(dictionary.checkout.setDeliveryError),\n allowEnterKey: false,\n allowEscapeKey: false,\n allowOutsideClick: true,\n showCloseButton: true,\n customClass: {\n confirmButton: \"btn btn-success button button--default\",\n },\n buttonsStyling: false,\n });\n }\n};\nconst servicePoints = ref>();\nconst onDeliveryChange = async () => {\n if (selectedDeliveryMethodId.value === servicePointAgentCodePostNord || selectedDeliveryMethodId.value === servicePointAgentCodeDhl) {\n try {\n servicePoints.value = undefined;\n //const postNordRes = await CheckoutApi.getPostNordServicePoints(checkout.shippingPostalCode);\n //const DhlRes = await CheckoutApi.getDhlServicePoints(checkout.shippingPostalCode);\n //const res = [...postNordRes, ...DhlRes];\n if (selectedDeliveryMethodId.value === servicePointAgentCodePostNord) {\n servicePoints.value = await CheckoutApi.getPostNordServicePoints(checkout.shippingPostalCode);\n }\n if (selectedDeliveryMethodId.value === servicePointAgentCodeDhl) {\n servicePoints.value = await CheckoutApi.getDhlServicePoints(checkout.shippingPostalCode);\n }\n } catch (e: any) {\n await Swal.fire({\n icon: \"error\",\n text: t(dictionary.checkout.getServicePointsError),\n allowEnterKey: false,\n allowEscapeKey: false,\n allowOutsideClick: true,\n showCloseButton: true,\n customClass: {\n confirmButton: \"btn btn-success button button--default\",\n },\n buttonsStyling: false,\n });\n }\n } else {\n servicePoints.value = undefined;\n }\n if (selectedDeliveryMethod.value) {\n try {\n const resp = await CheckoutApi.setDelivery({\n shippingAgentCode: selectedDeliveryMethod.value!.id,\n freightAmount: selectedDeliveryMethod.value!.price,\n freightAmountIncVat: selectedDeliveryMethod.value!.priceIncVat,\n servicePoint: chosenServicePoint.value!,\n });\n await checkout.setDeliveryMethodId(selectedDeliveryMethod.value!.id);\n response.value = resp;\n cart.set(resp.basket);\n DataLayerApi.updateAddShippingInfoEvent();\n } catch (e) {\n await Swal.fire({\n icon: \"error\",\n text: t(dictionary.checkout.getServicePointsError),\n allowEnterKey: false,\n allowEscapeKey: false,\n allowOutsideClick: true,\n showCloseButton: true,\n customClass: {\n confirmButton: \"btn btn-success button button--default\",\n },\n buttonsStyling: false,\n });\n }\n }\n};\n\nconst onServicePointChange = async (servicePoint: IServicePoint) => {\n selectedServicePointId.value = servicePoint.id;\n try {\n const resp = await CheckoutApi.setDelivery({\n shippingAgentCode: selectedDeliveryMethod.value!.id,\n freightAmount: selectedDeliveryMethod.value!.price,\n freightAmountIncVat: selectedDeliveryMethod.value!.priceIncVat,\n servicePoint: chosenServicePoint.value!,\n });\n await checkout.setDeliveryMethodId(selectedDeliveryMethod.value!.id);\n await checkout.setServicePointId(chosenServicePoint.value!.id);\n response.value = resp;\n cart.set(resp.basket);\n } catch (e) {\n await Swal.fire({\n icon: \"error\",\n text: t(dictionary.checkout.getServicePointsError),\n allowEnterKey: false,\n allowEscapeKey: false,\n allowOutsideClick: true,\n showCloseButton: true,\n customClass: {\n confirmButton: \"btn btn-success button button--default\",\n },\n buttonsStyling: false,\n });\n }\n};\n\nonMounted(async () => {\n if (checkout.shippingPostalCode) {\n // Load delivery methods if the user has entered a postal code.\n await loadDeliveryMethods();\n }\n});\n\nwatch(\n () => checkout.shippingPostalCode,\n async () => {\n // Load updated delivery methods if the user has changed their postal code.\n checkout.clearDeliveryMethod();\n servicePoints.value = undefined;\n deliveryMethods.value = [];\n await loadDeliveryMethods();\n }\n);\n\nwatch(\n () => cart.loading,\n async (newValue) => {\n if (newValue == false && checkout.shippingPostalCode) {\n // Load updated delivery methods if the user has made changes to basket\n checkout.clearDeliveryMethod();\n servicePoints.value = undefined;\n deliveryMethods.value = [];\n await loadDeliveryMethods();\n }\n }\n);\n\nwatch(\n () => checkout.deliveryMethodId,\n async (newValue) => {\n if (newValue === \"\") {\n // Selected delivery method has been resetted.\n deliveryMethods.value = [];\n selectedDeliveryMethodId.value = \"\";\n await loadDeliveryMethods();\n }\n }\n);\n\nconst hasManyServicePoints = computed(() => {\n if (servicePoints.value) {\n return servicePoints.value.length > 3;\n }\n return false;\n});\nconst initialServicePoints = computed(() => {\n return servicePoints.value?.slice(0, 4);\n});\nconst restServicePoints = computed(() => {\n return servicePoints.value?.slice(4);\n});\nconst showAllServicePoints = ref(false);\nconst toggleShowAllServicePoints = () => {\n showAllServicePoints.value = !showAllServicePoints.value;\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h2\", _hoisted_3, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.step2)), 1),\n (__props.openAccordionId != 'step2' && __props.isFormTouched)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"checkout-page__form-button-change\",\n onClick: onEdit\n }, _toDisplayString(_ctx.$t(_unref(dictionary).common.change)), 1))\n : _createCommentVNode(\"\", true)\n ]),\n (__props.openAccordionId !== 'step2' && selectedDeliveryMethod.value && isFormDirty.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (selectedDeliveryMethod.value.imageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: selectedDeliveryMethod.value.imageUrl,\n class: \"checkout-page__form-overview-delivery-logo\"\n }, null, 8, _hoisted_6))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(selectedDeliveryMethod.value.name), 1),\n (__props.showAsB2b)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(selectedDeliveryMethod.value.priceFormatted), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_9, _toDisplayString(selectedDeliveryMethod.value.priceIncVatFormatted), 1))\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createElementVNode(\"div\", {\n style: _normalizeStyle({ height: __props.openAccordionId == 'step2' ? __props.openAccordionHeight : 0 }),\n class: \"checkout-page__delivery-methods\"\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(deliveryMethods), (deliveryMethod) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: deliveryMethod.id,\n class: \"checkout-page__delivery-method\"\n }, [\n _createElementVNode(\"label\", {\n class: \"checkout-page__delivery-method-row\",\n for: deliveryMethod.id\n }, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(TressRadioInput, {\n id: deliveryMethod.id,\n modelValue: selectedDeliveryMethodId.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((selectedDeliveryMethodId).value = $event)),\n value: deliveryMethod.id,\n name: \"deliverymethod\",\n onChange: onDeliveryChange\n }, null, 8, [\"id\", \"modelValue\", \"value\"]),\n (deliveryMethod.imageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: deliveryMethod.imageUrl,\n class: \"checkout-page__delivery-method-logo\"\n }, null, 8, _hoisted_13))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"label\", {\n class: \"checkout-page__delivery-method-name\",\n for: deliveryMethod.id\n }, _toDisplayString(deliveryMethod.name), 9, _hoisted_14)\n ]),\n (__props.showAsB2b)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_15, _toDisplayString(deliveryMethod.priceFormatted), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_16, _toDisplayString(deliveryMethod.priceIncVatFormatted), 1))\n ]),\n (selectedDeliveryMethodId.value == deliveryMethod.id && servicePoints.value && (deliveryMethod.id === servicePointAgentCodePostNord || deliveryMethod.id === servicePointAgentCodeDhl))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _createElementVNode(\"p\", _hoisted_18, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.selectServicePoint)), 1),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(initialServicePoints.value, (servicePoint) => {\n return (_openBlock(), _createBlock(TressCheckoutServicePoint, {\n key: servicePoint.id,\n model: chosenServicePoint.value,\n \"service-point\": servicePoint,\n onChange: onServicePointChange\n }, null, 8, [\"model\", \"service-point\"]))\n }), 128)),\n (hasManyServicePoints.value && showAllServicePoints.value)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(restServicePoints.value, (servicePoint) => {\n return (_openBlock(), _createBlock(TressCheckoutServicePoint, {\n key: servicePoint.id,\n model: chosenServicePoint.value,\n \"service-point\": servicePoint,\n onChange: onServicePointChange\n }, null, 8, [\"model\", \"service-point\"]))\n }), 128))\n : _createCommentVNode(\"\", true),\n (hasManyServicePoints.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_19, [\n _createElementVNode(\"button\", {\n onClick: toggleShowAllServicePoints,\n type: \"button\",\n class: \"checkout-page__delivery__service-points__button\"\n }, [\n (showAllServicePoints.value)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).checkout.showLessServicePoints)), 1)\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).checkout.showAllServicePoints)), 1)\n ], 64))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 8, _hoisted_10)\n ]))\n }), 128)),\n (_unref(deliveryMethods).length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"button\", {\n class: \"checkout-page__form-button\",\n type: \"button\",\n onClick: onSubmit,\n disabled: !deliveryMethodIsValid.value\n }, _toDisplayString(_ctx.$t(_unref(dictionary).common.continue)), 9, _hoisted_21)\n ]))\n : _createCommentVNode(\"\", true)\n ], 4), [\n [_vShow, __props.openAccordionId === 'step2']\n ])\n ]))\n}\n}\n\n})","import script from \"./TressCheckoutDeliveryForm.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressCheckoutDeliveryForm.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressCheckoutDeliveryForm.vue?vue&type=style&index=0&id=2f701d5d&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2f701d5d\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, vShow as _vShow, withDirectives as _withDirectives, resolveComponent as _resolveComponent } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"checkout-page__form-container\"\n}\nconst _hoisted_2 = { class: \"checkout-page__inner-container checkout-page__inner-container--header\" }\nconst _hoisted_3 = { class: \"checkout-page__header\" }\nconst _hoisted_4 = [\"href\"]\nconst _hoisted_5 = { class: \"checkout-page__form-inner-container checkout-page__inner-container checkout-payment-form\" }\nconst _hoisted_6 = { class: \"checkout-page__form-header\" }\nconst _hoisted_7 = { class: \"checkout-page__payment-methods\" }\nconst _hoisted_8 = [\"for\"]\nconst _hoisted_9 = { class: \"checkout-page__payment-method-info-container\" }\nconst _hoisted_10 = { class: \"checkout-page__payment-methods-item__header\" }\nconst _hoisted_11 = { key: 0 }\nconst _hoisted_12 = { key: 1 }\nconst _hoisted_13 = { key: 2 }\nconst _hoisted_14 = [\"src\"]\nconst _hoisted_15 = { class: \"checkout-alternatives-form\" }\nconst _hoisted_16 = { class: \"checkout-page__alternatives\" }\nconst _hoisted_17 = { class: \"checkout-page__alternative\" }\nconst _hoisted_18 = { for: \"hasComment\" }\nconst _hoisted_19 = { class: \"checkout-page__alternative-header\" }\nconst _hoisted_20 = { class: \"checkout-page__alternative-description\" }\nconst _hoisted_21 = { class: \"checkout-page__alternative-comment\" }\nconst _hoisted_22 = { class: \"checkout-page__alternative checkout-page__alternative--tos\" }\nconst _hoisted_23 = { class: \"checkout-page__alternative-description\" }\nconst _hoisted_24 = [\"href\"]\nconst _hoisted_25 = { class: \"checkout-page__form-button-container checkout-page__form-button-container--delivery\" }\nconst _hoisted_26 = [\"disabled\"]\nconst _hoisted_27 = { key: 2 }\nconst _hoisted_28 = { class: \"checkout-page__minimum-amount-alert__title\" }\n\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { computed, onMounted, PropType, ref, watch } from \"vue\";\nimport TressRadioInput from \"@/components/TressRadioInput.vue\";\nimport TressAlert from \"@/components/TressAlert.vue\";\nimport TressCheckboxInput from \"@/components/TressCheckboxInput.vue\";\nimport TressTextAreaInput from \"@/components/TressTextAreaInput.vue\";\nimport TressOrderSummary from \"@/components/TressOrderSummary.vue\";\nimport { CheckoutApi } from \"@/services/Api\";\nimport { IPaymentMethodItem, PlaceOrderCommand } from \"@/models/Checkout\";\nimport { ICheckoutAddresses } from \"@/models/ICheckoutAddresses\";\nimport TressCheckoutCustomerDataForm from \"@/components/TressCheckoutCustomerDataForm.vue\";\nimport TressCheckoutDeliveryForm from \"@/components/TressCheckoutDeliveryForm.vue\";\nimport { Checkout, IPaymentMethod, ShippingOption } from \"@/models/Checkout\";\nimport { useCart } from \"@/store/useCart\";\nimport { useCheckout } from \"@/store/useCheckout\";\nimport Swal from \"sweetalert2\";\nimport { useI18n } from \"vue-i18n\";\nimport { useSpinner } from \"@/services/Spinner\";\nimport { DataLayerApi } from \"@/services/Api\";\n\nconst invoicePaymentMethodId = \"129\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressTheCheckout',\n props: {\n isLoggedIn: {\n type: Boolean,\n required: false,\n default: false,\n },\n addresses: {\n type: Object as PropType,\n required: true,\n },\n alwaysShowFreightFee: {\n type: Boolean,\n },\n showAsB2b: {\n type: Boolean,\n required: true,\n },\n loginPageUrl: {\n type: String,\n required: true,\n },\n hasSelectedDeliveryMethod: {\n type: Boolean,\n required: true,\n },\n paymentMethods: {\n type: Array as PropType>,\n required: true,\n },\n policyPage: {\n type: String,\n },\n\n},\n setup(__props) {\n\nconst props = __props;\n\nconst model = useCheckout();\nconst checkoutPageRef = ref(undefined);\nconst spinner = ref();\n\nDataLayerApi.createBeginCheckoutEvent();\n\nonMounted(async () => {\n spinner.value = useSpinner();\n\n if (!props.hasSelectedDeliveryMethod) {\n model.clearDeliveryMethod();\n }\n});\n\n\n\nconst hasAcceptedTos = ref(false);\nconst basket = useCart();\nconst deliveryMethods = ref>([]);\nconst hasComment = ref(!!model.comment);\nconst { t } = useI18n();\nconst isStep2Touched = ref(false);\nconst isStep3Touched = ref(false);\nconst openAccordionId = ref(\"step1\");\nconst openAccordionHeight = ref(\"auto\");\nconst openAccordion = (id: string) => {\n const filterEl = document.getElementById(id);\n openAccordionId.value = id;\n if (openAccordionHeight.value == 0) {\n if (filterEl) {\n openAccordionHeight.value = `${filterEl.scrollHeight}px`;\n setTimeout(() => {\n openAccordionHeight.value = \"auto\";\n }, 300);\n }\n } else {\n if (filterEl) {\n openAccordionHeight.value = `${filterEl.scrollHeight}px`;\n setTimeout(() => {\n openAccordionHeight.value = \"0\";\n }, 10);\n }\n }\n};\nconst onChangeStep = (id: string) => {\n openAccordion(id);\n};\nconst zipCode = ref();\nconst isLoading = ref(false);\nconst onPreSubmit = () => {\n isLoading.value = true;\n spinner.value.spin();\n};\nconst onSubmitFail = () => {\n isLoading.value = false;\n spinner.value.stop();\n};\n\nconst onStep1Click = async () => {\n isLoading.value = false;\n spinner.value.stop();\n openAccordion(\"step2\");\n isStep2Touched.value = true;\n};\n\nconst onStep2Click = async (checkout: Checkout) => {\n await basket.set(checkout.basket);\n openAccordion(\"step3\");\n isStep3Touched.value = true;\n};\nconst sendForm = async () => {\n try {\n const command: PlaceOrderCommand = {\n comment: model.comment,\n paymentMethodId: model.paymentMethodId,\n };\n const redirect = await CheckoutApi.placeOrder(command);\n window.location.href = redirect;\n } catch (e: unknown) {\n console.error(e);\n await Swal.fire({\n icon: \"error\",\n text: t(dictionary.checkout.executePaymentFailed),\n allowEnterKey: false,\n allowEscapeKey: false,\n allowOutsideClick: true,\n showCloseButton: true,\n customClass: {\n confirmButton: \"btn btn-success button button--default\",\n },\n buttonsStyling: false,\n });\n }\n};\nconst onCustomerDataFormSubmit = async () => {\n await onStep1Click();\n};\nconst formIsValid = computed(() => {\n return !!model.paymentMethodId && !!model.deliveryMethodId && hasAcceptedTos.value;\n});\n\nconst getPaymentItemNames = (paymentItems: Array) => {\n if (paymentItems) {\n return paymentItems.map((x) => x.name).join(\", \");\n }\n return null;\n};\n\nwatch(\n () => model.deliveryMethodId,\n (currentValue: string) => {\n if (!currentValue) {\n openAccordion(\"step2\");\n }\n }\n);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (_openBlock(), _createElementBlock(\"section\", {\n ref_key: \"checkoutPageRef\",\n ref: checkoutPageRef,\n class: \"checkout-page\"\n }, [\n (_unref(basket).id && _unref(basket).reachedMinimumBuyableAmount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h1\", _hoisted_3, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.headline)), 1)\n ]),\n (!__props.isLoggedIn)\n ? (_openBlock(), _createBlock(TressAlert, {\n key: 0,\n class: \"checkout-page__login-alert\",\n success: \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.alreadyHaveAnAccount)) + \" \", 1),\n _createElementVNode(\"a\", { href: __props.loginPageUrl }, _toDisplayString(_ctx.$t(_unref(dictionary).form.loginHere)), 9, _hoisted_4)\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(TressCheckoutCustomerDataForm, {\n addresses: __props.addresses,\n \"is-logged-in\": __props.isLoggedIn,\n \"open-accordion-height\": openAccordionHeight.value,\n \"open-accordion-id\": openAccordionId.value,\n onEdit: _cache[0] || (_cache[0] = ($event: any) => (onChangeStep('step1'))),\n onSubmit: onCustomerDataFormSubmit,\n onPreSubmit: onPreSubmit,\n onSubmitFail: onSubmitFail\n }, null, 8, [\"addresses\", \"is-logged-in\", \"open-accordion-height\", \"open-accordion-id\"]),\n _createVNode(_component_v_form, {\n \"initial-values\": {\n comment: _unref(model).comment,\n hasComment: hasComment.value ? 'on' : '',\n deliverymethod: _unref(model).deliveryMethodId,\n paymentMethod: _unref(model).paymentMethodId,\n }\n }, {\n default: _withCtx(() => [\n _createVNode(TressCheckoutDeliveryForm, {\n \"delivery-methods\": deliveryMethods.value,\n \"is-form-touched\": isStep2Touched.value,\n \"open-accordion-height\": openAccordionHeight.value,\n \"open-accordion-id\": openAccordionId.value,\n onEdit: _cache[1] || (_cache[1] = ($event: any) => (onChangeStep('step2'))),\n onSubmit: onStep2Click,\n \"zip-code\": zipCode.value,\n \"show-as-b2b\": __props.showAsB2b\n }, null, 8, [\"delivery-methods\", \"is-form-touched\", \"open-accordion-height\", \"open-accordion-id\", \"zip-code\", \"show-as-b2b\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"h2\", _hoisted_6, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.step3)), 1),\n _withDirectives(_createElementVNode(\"div\", _hoisted_7, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.paymentMethods, (paymentMethodModel, idx) => {\n return (_openBlock(), _createElementBlock(\"label\", {\n key: idx,\n for: paymentMethodModel.id,\n class: \"checkout-page__payment-methods-item\"\n }, [\n _createVNode(TressRadioInput, {\n id: paymentMethodModel.id,\n modelValue: _unref(model).paymentMethodId,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(model).paymentMethodId) = $event)),\n value: paymentMethodModel.id,\n class: \"checkout-page__payment-method-input\",\n name: \"paymentMethod\",\n rules: \"required\"\n }, null, 8, [\"id\", \"modelValue\", \"value\"]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"p\", _hoisted_10, [\n (paymentMethodModel.id == '14' && __props.showAsB2b)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.cardb2b)), 1))\n : (paymentMethodModel.id == '14')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_12, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.card)), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_13, _toDisplayString(getPaymentItemNames(paymentMethodModel.items)), 1))\n ]),\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(paymentMethodModel.items, (paymentMethod) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: paymentMethod.id,\n class: \"checkout-page__payment-method\"\n }, [\n (paymentMethod.imageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: paymentMethod.imageUrl,\n class: \"checkout-page__payment-method-logo\"\n }, null, 8, _hoisted_14))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ])\n ])\n ], 8, _hoisted_8))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", null, [\n _createVNode(TressCheckboxInput, {\n id: \"hasComment\",\n modelValue: hasComment.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((hasComment).value = $event)),\n name: \"hasComment\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"label\", _hoisted_18, [\n _createElementVNode(\"span\", _hoisted_19, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.iHaveACommentForMyOrder)), 1),\n _createElementVNode(\"span\", _hoisted_20, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.iHaveACommentDisclaimer)), 1)\n ])\n ]),\n _withDirectives(_createElementVNode(\"div\", _hoisted_21, [\n _createVNode(TressTextAreaInput, {\n modelValue: _unref(model).comment,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(model).comment) = $event)),\n label: \"comment\",\n name: \"comment\",\n maxlength: 100\n }, null, 8, [\"modelValue\"])\n ], 512), [\n [_vShow, hasComment.value]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", null, [\n _createVNode(TressCheckboxInput, {\n id: \"hasAcceptedTos\",\n modelValue: hasAcceptedTos.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((hasAcceptedTos).value = $event)),\n name: \"hasAcceptedTos\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"span\", _hoisted_23, [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.hasAcceptedPrivacyPolicy)) + \" \", 1),\n _createElementVNode(\"a\", {\n href: __props.policyPage,\n target: \"_blank\"\n }, _toDisplayString(_ctx.$t(_unref(dictionary).form.here)), 9, _hoisted_24)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"button\", {\n disabled: !formIsValid.value,\n class: \"checkout-page__form-button\",\n type: \"button\",\n onClick: sendForm\n }, [\n (_unref(model).paymentMethodId === invoicePaymentMethodId)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).checkout.finishOrder)), 1)\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).checkout.goToPayment)), 1)\n ], 64))\n ], 8, _hoisted_26)\n ])\n ], 512), [\n [_vShow, openAccordionId.value == 'step3']\n ])\n ])\n ]),\n _: 1\n }, 8, [\"initial-values\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(basket).id)\n ? (_openBlock(), _createBlock(TressOrderSummary, {\n key: 1,\n \"always-show-freight-fee\": __props.alwaysShowFreightFee,\n class: \"checkout-page__order-summary-container\"\n }, null, 8, [\"always-show-freight-fee\"]))\n : _createCommentVNode(\"\", true),\n (!_unref(basket).id)\n ? (_openBlock(), _createElementBlock(\"h2\", _hoisted_27, _toDisplayString(_ctx.$t(_unref(dictionary).checkout.emptyBasket)), 1))\n : _createCommentVNode(\"\", true),\n (!_unref(basket).reachedMinimumBuyableAmount)\n ? (_openBlock(), _createBlock(TressAlert, {\n key: 3,\n class: \"checkout-page__minimum-amount-alert\",\n success: \"\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, [\n _createElementVNode(\"span\", _hoisted_28, _toDisplayString(__props.showAsB2b ? _ctx.$t(_unref(dictionary).checkout.minimumAmountTitleB2B) : _ctx.$t(_unref(dictionary).checkout.minimumAmountTitleB2C)), 1),\n _createTextVNode(\" \" + _toDisplayString(_unref(basket).minimumBuyableAmountMessage), 1)\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ], 512))\n}\n}\n\n})","import script from \"./TressTheCheckout.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressTheCheckout.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressTheCheckout.vue?vue&type=style&index=0&id=52528ea0&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconSearch.vue?vue&type=template&id=f002ebd0\"\nconst script = {}\n\nimport \"./IconSearch.vue?vue&type=style&index=0&id=f002ebd0&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, vModelText as _vModelText, withModifiers as _withModifiers, withKeys as _withKeys, createElementVNode as _createElementVNode, withDirectives as _withDirectives, createVNode as _createVNode, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"search-input\" }\nconst _hoisted_2 = [\"onSubmit\"]\nconst _hoisted_3 = [\"placeholder\", \"onKeydown\"]\nconst _hoisted_4 = { class: \"search-input__button\" }\n\nimport { ref, watch } from \"vue\";\nimport IconSearch from \"@/components/icons/IconSearch.vue\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { useI18n } from \"vue-i18n\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressSearchInput',\n props: {\n onSubmit: {\n type: Function,\n required: true,\n },\n isPopupOpen: {\n type: Boolean,\n required: true,\n },\n onCloseClick: {\n type: Function,\n required: true,\n },\n modelValue: {\n type: String,\n required: true,\n },\n},\n emits: {\n \"update:modelValue\": (query: string | undefined) => {\n if (query) {\n return true;\n }\n return false;\n },\n search: (query: string | undefined) => {\n if (query) {\n return true;\n }\n return false;\n },\n focus: () => true,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n enter: (term: string) => true,\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\nconst $t = useI18n().t;\n\n\nconst queryInputPlaceholder = $t(dictionary.search.placeholder[window.tressSite.toLowerCase()]);\nconst internalModel = ref(props.modelValue);\nwatch(internalModel, (currVal: string | undefined) => {\n emit(\"update:modelValue\", currVal);\n props.onSubmit(currVal);\n});\nwatch(props, (currVal) => {\n internalModel.value = currVal.modelValue;\n});\nconst onFocus = () => {\n emit(\"focus\");\n};\nconst onSubmit = (ev: Event) => {\n const formData = new FormData(ev.target as HTMLFormElement);\n const query = formData.get(\"query\");\n props.onSubmit(query);\n};\nconst onCloseClick2 = () => {\n props.onCloseClick();\n};\nconst onEnter = (ev: KeyboardEvent) => {\n emit(\"enter\", (ev.target as HTMLInputElement).value);\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_icon_close = _resolveComponent(\"icon-close\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"form\", {\n class: \"search-input__form\",\n onSubmit: _withModifiers(onSubmit, [\"prevent\"])\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((internalModel).value = $event)),\n placeholder: _unref(queryInputPlaceholder),\n autocapitalize: \"off\",\n autocomplete: \"off\",\n autocorrect: \"off\",\n role: \"combobox\",\n spellcheck: \"false\",\n class: \"search-input__input\",\n name: \"query\",\n onFocus: onFocus,\n onKeydown: _withKeys(_withModifiers(onEnter, [\"prevent\"]), [\"enter\"])\n }, null, 40, _hoisted_3), [\n [_vModelText, internalModel.value]\n ]),\n _createElementVNode(\"button\", _hoisted_4, [\n _createVNode(IconSearch, { class: \"search-input__icon\" })\n ])\n ], 40, _hoisted_2),\n (__props.isPopupOpen)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: _normalizeClass([{ 'search-input__close-button--open': __props.isPopupOpen }, \"search-input__close-button\"]),\n onClick: onCloseClick2\n }, [\n _createVNode(_component_icon_close, { class: \"search-input__close-icon\" })\n ], 2))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./TressSearchInput.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressSearchInput.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressSearchInput.vue?vue&type=style&index=0&id=f64b9578&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n","import { render } from \"./ImageDefaultProductTile.vue?vue&type=template&id=ca908f7e\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IconCart.vue?vue&type=template&id=6ca7a920\"\nconst script = {}\n\nimport \"./IconCart.vue?vue&type=style&index=0&id=6ca7a920&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconChevronRight.vue?vue&type=template&id=72033216\"\nconst script = {}\n\nimport \"./IconChevronRight.vue?vue&type=style&index=0&id=72033216&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconDownload.vue?vue&type=template&id=09e68120\"\nconst script = {}\n\nimport \"./IconDownload.vue?vue&type=style&index=0&id=09e68120&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M11 20.0001L1.78477 10.6124C0.628311 9.43426 0 7.87582 0 6.21534C0 4.55485 0.637417 2.99641 1.78477 1.8183C4.17053 -0.602846 8.04056 -0.602846 10.4172 1.8183L19.6324 11.2061L11 20.0001V20.0001ZM6.10099 1.85541C5.00828 1.85541 3.90646 2.28213 3.06871 3.13556C2.25828 3.96116 1.81209 5.05578 1.81209 6.22461C1.81209 7.39344 2.25828 8.48806 3.06871 9.31367L10.9909 17.3842L17.0464 11.2153L9.13328 3.12628C8.29553 2.27285 7.20281 1.84613 6.10099 1.84613V1.85541Z\",\n class: \"icon-favorite__border\"\n}, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M13.3842 2.69944C15.0597 1.4564 17.4181 1.58627 18.9297 3.12616C19.7401 3.95176 20.1863 5.04638 20.1863 6.21521C20.1863 7.15213 19.8858 8.0334 19.3486 8.77551L20.6598 10.1113C21.534 9.00742 22.0075 7.65306 22.0075 6.21521C22.0075 4.55473 21.3701 2.99629 20.2228 1.81818C18.0009 -0.445269 14.4769 -0.593692 12.082 1.37291L13.3933 2.70872L13.3842 2.69944Z\",\n class: \"icon-favorite__border\"\n}, null, -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M11 20.0001L1.78477 10.6124C0.628311 9.43426 0 7.87582 0 6.21534C0 4.55485 0.637417 2.99641 1.78477 1.8183C4.17053 -0.602846 8.04056 -0.602846 10.4172 1.8183L19.6324 11.2061L11 20.0001V20.0001Z\",\n class: \"icon-favorite__filled\"\n}, null, -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M12.0742 1.37291C14.4691 -0.593692 17.9931 -0.445269 20.2149 1.81818C21.3714 2.99629 21.9997 4.55473 21.9997 6.21521C21.9997 7.65306 21.5262 9.00742 20.652 10.1113L12.0742 1.37291Z\",\n class: \"icon-favorite__filled\"\n}, null, -1)\nconst _hoisted_5 = [\n _hoisted_1,\n _hoisted_2,\n _hoisted_3,\n _hoisted_4\n]\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'IconFavorite',\n props: {\n isFilled: {\n type: Boolean,\n required: false,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 22 20\",\n fill: \"none\",\n class: _normalizeClass([\"icon-favorite\", { 'icon-favorite--filled': __props.isFilled }])\n }, _hoisted_5, 2))\n}\n}\n\n})","import script from \"./IconFavorite.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./IconFavorite.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./IconFavorite.vue?vue&type=style&index=0&id=20b45ab8&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./TressButton.vue?vue&type=template&id=205f3c12\"\nconst script = {}\n\nimport \"./TressButton.vue?vue&type=style&index=0&id=205f3c12&lang=scss\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport TressButton from \"@/components/TressButton.vue\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressIconButton',\n setup(__props) {\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(TressButton, { class: \"icon-button\" }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }))\n}\n}\n\n})","import script from \"./TressIconButton.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressIconButton.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = [\"href\", \"target\", \"data-partno\"]\n\nimport { PropType } from \"vue\";\nimport { ILink } from \"@/models/ILink\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressLink',\n props: {\n link: {\n type: Object as PropType,\n required: false,\n },\n className: {\n type: String,\n required: false,\n },\n sku: {\n type: String,\n required: false,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (__props.link && __props.sku)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n href: __props.link.url,\n target: __props.link.target,\n class: _normalizeClass(__props.className),\n \"data-partno\": __props.sku\n }, [\n _renderSlot(_ctx.$slots, \"default\")\n ], 10, _hoisted_1))\n : _renderSlot(_ctx.$slots, \"default\", { key: 1 })\n}\n}\n\n})","import script from \"./TressLink.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressLink.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./TressProductTileTag.vue?vue&type=template&id=f7d0745e\"\nconst script = {}\n\nimport \"./TressProductTileTag.vue?vue&type=style&index=0&id=f7d0745e&lang=scss\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = [\"srcset\"]\nconst _hoisted_2 = [\"srcset\"]\nconst _hoisted_3 = [\"srcset\"]\nconst _hoisted_4 = [\"alt\", \"src\"]\nconst _hoisted_5 = [\"src\", \"alt\"]\n\nimport { PropType } from \"vue\";\nimport { IResponsiveImagesModel } from \"@/models/IResponsiveImagesModel\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressResponsivePicture',\n props: {\n pictures: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (__props.pictures)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"responsive-picture\", { 'responsive-picture--hover': __props.pictures.hover?.url }])\n }, [\n _createElementVNode(\"picture\", null, [\n (__props.pictures.desktop)\n ? (_openBlock(), _createElementBlock(\"source\", {\n key: 0,\n srcset: __props.pictures.desktop.url,\n media: \"(min-width: 992px)\"\n }, null, 8, _hoisted_1))\n : _createCommentVNode(\"\", true),\n (__props.pictures.tablet)\n ? (_openBlock(), _createElementBlock(\"source\", {\n key: 1,\n srcset: __props.pictures.tablet.url,\n media: \"(min-width: 576px)\"\n }, null, 8, _hoisted_2))\n : _createCommentVNode(\"\", true),\n (__props.pictures.mobile)\n ? (_openBlock(), _createElementBlock(\"source\", {\n key: 2,\n srcset: __props.pictures.mobile.url\n }, null, 8, _hoisted_3))\n : _createCommentVNode(\"\", true),\n (__props.pictures.desktop)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 3,\n alt: __props.pictures.desktop.alt,\n src: __props.pictures.desktop.url,\n class: \"responsive-picture__image\"\n }, null, 8, _hoisted_4))\n : _createCommentVNode(\"\", true)\n ]),\n (__props.pictures.hover?.url)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: __props.pictures.hover.url,\n alt: __props.pictures.hover.alt,\n class: \"responsive-picture__image--hover\"\n }, null, 8, _hoisted_5))\n : _createCommentVNode(\"\", true)\n ], 2))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./TressResponsivePicture.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressResponsivePicture.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressResponsivePicture.vue?vue&type=style&index=0&id=499af9b9&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","export enum Site {\n Green = \"Green\",\n Blue = \"Blue\",\n}\n","export enum PriceType {\n Normal,\n Agreement,\n Campaign,\n}\n","export enum StockStatus {\n InStock,\n OutOfStock,\n OnDisplayToOrder,\n}\n","import { StockStatus } from \"@/enums/StockStatus\";\nimport { PriceType } from \"@/enums/PriceType\";\nimport { IIndexTile } from \"@/models/IIndexTile\";\n\nexport interface ProductList {\n pageNumber: number;\n numberOfPages: number;\n productCount: number;\n pageSize: number;\n products: ProductTile[];\n}\n\nexport interface ProductImage {\n url: string;\n alt: string;\n width: number;\n height: number;\n}\n\nexport interface ProductTile extends IIndexTile {\n name: string;\n price: string;\n priceIncVat: string;\n originalPrice: string;\n originalPriceIncVat: string;\n hasQuantityBreaks: boolean;\n hasVariants: boolean;\n callForPrice: boolean;\n hasFiles: boolean;\n url: string;\n imageUrl: ProductImage;\n sku: string;\n numberOfVariants: number;\n hasDwgs: boolean;\n hasDwg2dFiles: boolean;\n hasDwg3dFiles: boolean;\n dwgDownloadUrl: string;\n stock?: number;\n selector: VariantSelector;\n campaign: ProductCampaign;\n hoverImageUrl: ProductImage;\n stockStatus: StockStatus;\n new: boolean;\n priceType: PriceType;\n requestForFileFormId: string;\n requestForPriceFormId: string;\n discountPercent: number;\n isFavorited: boolean;\n isExternal: boolean;\n fastDelivery: boolean;\n}\n\nexport enum VariantSelector {\n Color = \"Color\",\n Size = \"Size\",\n Hardness = \"Hardness\",\n Variant = \"Variant\",\n}\n\nexport enum VariantSelectorAsNumber {\n Color,\n Size,\n Hardness,\n Variant,\n}\n\nexport enum CampaignType {\n Standard = \"Standard\",\n Agreement = \"Agreement\",\n}\n\nexport interface ProductPromotion {\n header: string;\n appliedAmount?: number;\n appliedAmountIncVat?: number;\n}\n\nexport interface ProductQuantityBreak {\n qtyBreak: number;\n value: number;\n valueIncVat: number;\n isBuyable: boolean;\n}\n\nexport interface ProductCampaign {\n name: string;\n type: CampaignType;\n}\n\nexport interface ProductFilter {\n type: string;\n name: string;\n items: ProductFilterItem[];\n}\n\nexport interface ProductFilterItem {\n id: string;\n name: string;\n value: string;\n type: string;\n count: number;\n selected?: boolean;\n items: ProductFilterItem[];\n}\n\nexport interface ProductFilterMap {\n type: string;\n name: string;\n options: ProductFilterMapItem[];\n}\n\nexport interface ProductFilterMapItem {\n id: string;\n type: string;\n name: string;\n}\n","import { defineStore } from \"pinia\";\nimport { CustomerPrice } from \"@/models/Customer\";\n\nexport const useCustomer = defineStore(\"customer\", {\n state: (): CustomerPrice => {\n return { \n pricesAsB2b: true\n };\n },\n actions: {\n changePriceView(pricesAsB2b: boolean): void {\n this.$patch({ pricesAsB2b });\n }\n }\n});","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"login-modal\" }\nconst _hoisted_2 = { class: \"login-modal__header\" }\nconst _hoisted_3 = { class: \"login-modal__description\" }\nconst _hoisted_4 = { class: \"login-modal__button-container\" }\nconst _hoisted_5 = [\"href\"]\nconst _hoisted_6 = { class: \"login-modal__register-account-container\" }\nconst _hoisted_7 = [\"href\"]\n\nimport dictionary from \"@/i18n/dictionary.json\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressLoginModal',\n props: {\n loginUrl: {\n type: String,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.$t(_unref(dictionary).account.modalHeader)), 1),\n _createElementVNode(\"p\", _hoisted_3, _toDisplayString(_ctx.$t(_unref(dictionary).account.modalDescription)), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"a\", {\n href: __props.loginUrl,\n class: \"login-modal__button\"\n }, _toDisplayString(_ctx.$t(_unref(dictionary).account.login)), 9, _hoisted_5)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"a\", {\n href: __props.loginUrl,\n class: \"login-modal__register-account\"\n }, _toDisplayString(_ctx.$t(_unref(dictionary).account.registerAccount)), 9, _hoisted_7)\n ])\n ]))\n}\n}\n\n})","import script from \"./TressLoginModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressLoginModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressLoginModal.vue?vue&type=style&index=0&id=1caf9b90&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineStore } from \"pinia\";\nimport { IUmbracoForm } from \"@/models/umbraco-forms/IUmbracoForm\";\nimport { UmbracoFormsApi } from \"@/services/Api\";\n\nlet workingQueue: Array = [];\nexport const useUmbracoForm = defineStore(\"umbraco-forms\", {\n state: () => {\n return {\n state: {},\n };\n },\n actions: {\n async get(id: string): Promise {\n if (!workingQueue.some((x) => x == id)) {\n workingQueue.push(id);\n try {\n let definition = this.$state[id];\n if (definition) {\n return definition;\n }\n definition = await UmbracoFormsApi.get(id);\n this.state[id] = { ...definition };\n return definition;\n } catch {\n return undefined;\n } finally {\n workingQueue = workingQueue.filter((x) => x != id);\n }\n }\n },\n },\n});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, Fragment as _Fragment, createBlock as _createBlock, resolveComponent as _resolveComponent, renderList as _renderList } from \"vue\"\n\nconst _hoisted_1 = { class: \"product-tile__top\" }\nconst _hoisted_2 = { class: \"row g-0 product-tile__tags\" }\nconst _hoisted_3 = { class: \"col col-auto\" }\nconst _hoisted_4 = { class: \"container container-fluid g-0\" }\nconst _hoisted_5 = { class: \"row g-2\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"col col-auto align-self-center\"\n}\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = {\n key: 1,\n class: \"col col-auto align-self-center\"\n}\nconst _hoisted_9 = [\"src\", \"alt\"]\nconst _hoisted_10 = {\n key: 0,\n class: \"col col-auto\"\n}\nconst _hoisted_11 = {\n key: 2,\n class: \"col col-auto\"\n}\nconst _hoisted_12 = {\n key: 0,\n class: \"col col-auto\"\n}\nconst _hoisted_13 = { class: \"row g-0 product-tile__bottom\" }\nconst _hoisted_14 = { class: \"col col-12 product-tile__bottom__info\" }\nconst _hoisted_15 = { class: \"product-tile__art-no\" }\nconst _hoisted_16 = { class: \"product-tile__header\" }\nconst _hoisted_17 = { class: \"product-tile__variants\" }\nconst _hoisted_18 = { key: 0 }\nconst _hoisted_19 = { key: 1 }\nconst _hoisted_20 = { key: 2 }\nconst _hoisted_21 = { key: 3 }\nconst _hoisted_22 = { class: \"col col-12\" }\nconst _hoisted_23 = { class: \"product-tile__price-container\" }\nconst _hoisted_24 = { class: \"col col-auto\" }\nconst _hoisted_25 = { key: 0 }\nconst _hoisted_26 = {\n key: 1,\n class: \"product-tile__price__from\"\n}\nconst _hoisted_27 = { key: 0 }\nconst _hoisted_28 = {\n key: 1,\n class: \"product-tile__price__from\"\n}\nconst _hoisted_29 = {\n key: 2,\n class: \"product-tile__vat\"\n}\nconst _hoisted_30 = {\n key: 3,\n class: \"product-tile__vat\"\n}\nconst _hoisted_31 = { key: 1 }\nconst _hoisted_32 = { class: \"col product-tile__buttons\" }\nconst _hoisted_33 = {\n key: 0,\n class: \"col col-auto d-none d-md-block\"\n}\nconst _hoisted_34 = [\"href\"]\nconst _hoisted_35 = /*#__PURE__*/_createElementVNode(\"span\", null, \"DWG\", -1)\nconst _hoisted_36 = {\n key: 1,\n class: \"col col-auto d-none d-md-block\"\n}\nconst _hoisted_37 = /*#__PURE__*/_createElementVNode(\"span\", null, \"DWG\", -1)\nconst _hoisted_38 = { class: \"col col-auto\" }\nconst _hoisted_39 = { class: \"umbraco-form-modal__header\" }\nconst _hoisted_40 = { class: \"umbraco-form-modal\" }\nconst _hoisted_41 = { class: \"umbraco-form-modal__header\" }\nconst _hoisted_42 = { class: \"umbraco-form-modal\" }\nconst _hoisted_43 = /*#__PURE__*/_createElementVNode(\"p\", null, null, -1)\n\nimport ImageDefaultProductTile from \"@/components/images/ImageDefaultProductTile.vue\";\nimport IconCart from \"@/components/icons/IconCart.vue\";\nimport IconChevronRight from \"@/components/icons/IconChevronRight.vue\";\nimport IconDownload from \"@/components/icons/IconDownload.vue\";\nimport IconFavorite from \"@/components/icons/IconFavorite.vue\";\nimport TressButton from \"@/components/TressButton.vue\";\nimport TressIconButton from \"@/components/TressIconButton.vue\";\nimport TressLink from \"@/components/TressLink.vue\";\nimport TressProductTileTag from \"@/components/TressProductTileTag.vue\";\nimport TressResponsivePicture from \"@/components/TressResponsivePicture.vue\";\nimport { Site } from \"@/enums/Site\";\nimport { PriceType } from \"@/enums/PriceType\";\nimport { StockStatus } from \"@/enums/StockStatus\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { ProductTile, VariantSelector } from \"@/models/ProductList\";\nimport { useCustomer } from \"@/store/useCustomer\";\nimport { computed, inject, nextTick, PropType, ref } from \"vue\";\nimport { useAsyncSpinner } from \"@/services/Spinner\";\nimport TressLoginModal from \"@/components/TressLoginModal.vue\";\nimport { useCart } from \"@/store/useCart\";\nimport { FavoritesApi } from \"@/services/Api\";\nimport { IAntiForgeryToken } from \"@/models/umbraco-forms/IAntiForgeryToken\";\nimport { IUmbracoFormUserPreValues } from \"@/models/umbraco-forms/IUmbracoFormUserPreValues\";\nimport { useUmbracoForm } from \"@/store/useUmbracoForm\";\nimport { Emitter } from \"mitt\";\nimport { ILink } from \"@/models/ILink\";\n\nconst productLinkClassName = \"product-tile__link\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressProductTile',\n props: {\n content: {\n type: Object as PropType,\n required: true,\n },\n showAsB2b: {\n type: Boolean,\n required: true,\n },\n small: {\n type: Boolean,\n required: true,\n },\n antiForgeryToken: {\n type: Object as PropType,\n required: false,\n },\n preValues: {\n type: Object as PropType,\n required: false,\n },\n index: {\n type: Number,\n required: true,\n },\n blueSiteLogotype: {\n type: String,\n required: false,\n },\n fastDeliveryLogotype: {\n type: String,\n required: false,\n },\n fastDeliveryAltText: {\n type: String,\n required: false,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\nconst cartStore = useCart();\n// eslint-disable-next-line @typescript-eslint/no-non-null-assertion\nconst emitter = inject>(\"eventbus\")!;\nconst site = inject(\"tressSite\");\nconst customer = useCustomer();\nconst tileElement = ref();\n\n\nconst isFavorited = ref(props.content.isFavorited);\nconst preValues = ref(props.preValues);\nif (preValues.value) {\n preValues.value = { ...preValues.value, sku: props.content?.sku };\n}\n\nconst hasStock = computed(() => {\n return props.content.stockStatus != StockStatus.OutOfStock;\n});\nconst price = computed(() => {\n if (props.showAsB2b) {\n return props.content.price;\n }\n return props.content.priceIncVat;\n});\nconst oldPrice = computed(() => {\n if (props.showAsB2b) {\n return props.content.originalPrice;\n }\n return props.content.originalPriceIncVat;\n});\nconst onFavoriteClick = async () => {\n if (window.isLoggedIn) {\n isFavorited.value = !isFavorited.value;\n FavoritesApi.post(props.content?.sku, isFavorited.value).then(() => {\n nextTick(() => {\n if (isFavorited.value) {\n emitter.emit(\"favoriteAdded\");\n } else {\n emitter.emit(\"favoriteRemoved\");\n }\n });\n });\n } else {\n openLoginForm();\n }\n};\nconst onCartClick = async (partNo: string, quantity: number) => {\n await useAsyncSpinner(async () => {\n await cartStore.addToCart(partNo, quantity, true);\n if (typeof window !== \"undefined\" && window.BiTracking) {\n const row = cartStore.rows.find((r) => r.item.partNo === partNo);\n window.BiTracking.addToBasket(partNo, row?.quantity, \"\", cartStore.id, \"\");\n }\n });\n};\nconst isBuyable = computed(() => {\n if (site == Site.Blue) {\n return true;\n }\n return true;\n});\nconst link = computed((): ILink | null => {\n if (site == Site.Blue || isBuyable.value) {\n return { url: props.content.url };\n }\n return null;\n});\n\nconst isRequestForFileOpen = ref(false);\nconst openRequestForFile = () => {\n isRequestForFileOpen.value = true;\n};\nconst closeRequestForFile = () => {\n isRequestForFileOpen.value = false;\n};\n\nconst isRequestForPriceOpen = ref(false);\nconst openRequestForPrice = () => {\n isRequestForPriceOpen.value = true;\n};\nconst closeRequestForPrice = () => {\n isRequestForPriceOpen.value = false;\n};\nconst umbracoForms = useUmbracoForm();\nconst isLoginFormOpen = ref(false);\nconst closeLoginForm = () => {\n isLoginFormOpen.value = false;\n};\nconst openLoginForm = () => {\n isLoginFormOpen.value = true;\n};\nconst loginUrl = ref(window.loginUrl);\nconst loginUrlWithParameters = computed(() => {\n return `${loginUrl.value}?returnurl=${window.location.pathname}`;\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_icon_mail = _resolveComponent(\"icon-mail\")!\n const _component_icon_checkmark = _resolveComponent(\"icon-checkmark\")!\n const _component_tress_buy_button_icon = _resolveComponent(\"tress-buy-button-icon\")!\n const _component_umbraco_form_field = _resolveComponent(\"umbraco-form-field\")!\n const _component_umbraco_form_fieldset_column = _resolveComponent(\"umbraco-form-fieldset-column\")!\n const _component_umbraco_form_fieldset = _resolveComponent(\"umbraco-form-fieldset\")!\n const _component_umbraco_form_page = _resolveComponent(\"umbraco-form-page\")!\n const _component_umbraco_form = _resolveComponent(\"umbraco-form\")!\n const _component_tress_modal = _resolveComponent(\"tress-modal\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([{\n 'product-tile--zoom': _unref(site) == _unref(Site).Green,\n 'product-tile--not-in-stock': !hasStock.value && !__props.showAsB2b,\n 'product-tile--green': _unref(site) == _unref(Site).Green,\n }, \"row g-0 product-tile\"])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (__props.content.isExternal)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(TressLink, {\n link: link.value,\n class: _normalizeClass([productLinkClassName, \"product-tile__external-logo product-tile__external-logo--dynamic\"]),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"img\", { src: __props.blueSiteLogotype }, null, 8, _hoisted_7)\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"])\n ]))\n : _createCommentVNode(\"\", true),\n (__props.content.fastDelivery)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(TressLink, {\n link: link.value,\n class: _normalizeClass([productLinkClassName, \"product-tile__fast-delivery-logo\"]),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"img\", {\n src: __props.fastDeliveryLogotype,\n alt: __props.fastDeliveryAltText\n }, null, 8, _hoisted_9)\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"])\n ]))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 2 }, [\n (__props.content.new)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createVNode(TressLink, {\n link: link.value,\n class: _normalizeClass(productLinkClassName),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n _createVNode(TressProductTileTag, {\n class: _normalizeClass([\"product-tile-tag--alternative product-tile-tag--new d-none d-lg-block\", { 'd-lg-none': __props.small }])\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).common.new)), 1)\n ]),\n _: 1\n }, 8, [\"class\"])\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"])\n ]))\n : _createCommentVNode(\"\", true),\n (__props.content.priceType == _unref(PriceType).Campaign && __props.content.discountPercent)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([\"col col-auto\", {\n 'd-none d-lg-block': __props.small,\n }])\n }, [\n _createVNode(TressLink, {\n link: link.value,\n class: _normalizeClass(productLinkClassName),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n _createVNode(TressProductTileTag, { class: \"product-tile-tag--alternative\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.content.discountPercent) + \" % \", 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"])\n ], 2))\n : _createCommentVNode(\"\", true),\n (__props.content.priceType == _unref(PriceType).Agreement)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createVNode(TressLink, {\n link: link.value,\n class: _normalizeClass(productLinkClassName),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n _createVNode(TressProductTileTag, { class: \"product-tile-tag--agreement-price\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).common.agreementPrice)), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"])\n ]))\n : _createCommentVNode(\"\", true),\n (__props.content.hasQuantityBreaks)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 3,\n class: _normalizeClass([\"col col-auto\", {\n 'd-none d-lg-block':\n (__props.content.priceType == _unref(PriceType).Campaign && __props.content.discountPercent) ||\n __props.content.priceType == _unref(PriceType).Agreement,\n 'd-lg-none':\n __props.small &&\n ((__props.content.priceType == _unref(PriceType).Campaign && __props.content.discountPercent) ||\n __props.content.priceType == _unref(PriceType).Agreement),\n }])\n }, [\n _createVNode(TressLink, {\n link: link.value,\n class: _normalizeClass(productLinkClassName),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n _createVNode(TressProductTileTag, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).common.massDiscount)), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"])\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 64))\n ])\n ])\n ]),\n (!__props.content.isExternal)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createVNode(TressIconButton, {\n class: _normalizeClass([{ 'product-tile__favorite-button--active': isFavorited.value }, \"product-tile__favorite-button\"]),\n onClick: onFavoriteClick\n }, {\n default: _withCtx(() => [\n _createVNode(IconFavorite, { \"is-filled\": isFavorited.value }, null, 8, [\"is-filled\"])\n ]),\n _: 1\n }, 8, [\"class\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(TressLink, {\n link: link.value,\n class: _normalizeClass(productLinkClassName),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n (__props.content.imageUrl?.url)\n ? (_openBlock(), _createBlock(TressResponsivePicture, {\n key: 0,\n pictures: { desktop: { url: __props.content.imageUrl.url }, hover: { url: __props.content.hoverImageUrl?.url } },\n class: _normalizeClass([\"product-tile__image\", {\n 'product-tile__image--blue': _unref(site) == _unref(Site).Blue,\n }])\n }, null, 8, [\"pictures\", \"class\"]))\n : (_openBlock(), _createBlock(ImageDefaultProductTile, { key: 1 }))\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(TressLink, {\n link: link.value,\n class: _normalizeClass(productLinkClassName),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_15, _toDisplayString(__props.content.sku), 1)\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"]),\n _createVNode(TressLink, {\n link: link.value,\n class: _normalizeClass(productLinkClassName),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"h2\", _hoisted_16, _toDisplayString(__props.content.name), 1)\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"]),\n (__props.content.hasVariants)\n ? (_openBlock(), _createBlock(TressLink, {\n key: 0,\n link: link.value,\n class: _normalizeClass(productLinkClassName),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_17, [\n _createTextVNode(\" + \" + _toDisplayString(__props.content.numberOfVariants) + \" \", 1),\n (__props.content.selector == _unref(VariantSelector).Size)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_18, _toDisplayString(_ctx.$t(_unref(dictionary).producttile.sizes)), 1))\n : (__props.content.selector == _unref(VariantSelector).Color)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_19, _toDisplayString(_ctx.$t(_unref(dictionary).producttile.colors)), 1))\n : (__props.content.selector == _unref(VariantSelector).Hardness)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_20, _toDisplayString(_ctx.$t(_unref(dictionary).producttile.hardnesses)), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_21, _toDisplayString(_ctx.$t(_unref(dictionary).producttile.variants)), 1))\n ])\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"div\", _hoisted_24, [\n (!__props.content.callForPrice)\n ? (_openBlock(), _createBlock(TressLink, {\n key: 0,\n link: link.value,\n class: _normalizeClass(productLinkClassName),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n (_unref(customer).pricesAsB2b)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 0,\n class: _normalizeClass([\"product-tile__price\", {\n 'product-tile__price--campaign': __props.content.originalPrice,\n 'product-tile__price--blue': _unref(site) == _unref(Site).Blue,\n }])\n }, [\n (__props.content.originalPrice)\n ? (_openBlock(), _createElementBlock(\"s\", _hoisted_25, _toDisplayString(oldPrice.value), 1))\n : _createCommentVNode(\"\", true),\n (__props.content.hasVariants)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_26, _toDisplayString(_ctx.$t(_unref(dictionary).common.from)) + \" \", 1))\n : _createCommentVNode(\"\", true),\n _createTextVNode(\" \" + _toDisplayString(price.value), 1)\n ], 2))\n : (_openBlock(), _createElementBlock(\"p\", {\n key: 1,\n class: _normalizeClass([\"product-tile__price\", {\n 'product-tile__price--campaign': __props.content.originalPriceIncVat,\n 'product-tile__price--blue': _unref(site) == _unref(Site).Blue,\n }])\n }, [\n (__props.content.originalPriceIncVat)\n ? (_openBlock(), _createElementBlock(\"s\", _hoisted_27, _toDisplayString(oldPrice.value), 1))\n : _createCommentVNode(\"\", true),\n (__props.content.hasVariants)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_28, _toDisplayString(_ctx.$t(_unref(dictionary).common.from)) + \" \", 1))\n : _createCommentVNode(\"\", true),\n _createTextVNode(\" \" + _toDisplayString(price.value), 1)\n ], 2)),\n (__props.showAsB2b)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_29, _toDisplayString(_ctx.$t(_unref(dictionary).common.excludeVat)), 1))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_30, _toDisplayString(_ctx.$t(_unref(dictionary).common.includeVat)), 1))\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"]))\n : _createCommentVNode(\"\", true),\n (__props.content.callForPrice)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_31, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.$t(_unref(dictionary).product.callforprice)), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_32, [\n (_unref(site) == _unref(Site).Blue && __props.content.hasDwgs)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_33, [\n _createElementVNode(\"a\", {\n href: __props.content.dwgDownloadUrl,\n target: \"_blank\"\n }, [\n _createVNode(TressButton, { class: \"product-tile__download-button\" }, {\n default: _withCtx(() => [\n _hoisted_35,\n _createVNode(IconDownload)\n ]),\n _: 1\n })\n ], 8, _hoisted_34)\n ]))\n : (_unref(site) == _unref(Site).Blue && !__props.content.hasDwgs)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_36, [\n _createVNode(TressButton, { class: \"product-tile__download-button\" }, {\n default: _withCtx(() => [\n _hoisted_37,\n _createVNode(_component_icon_mail)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n ref_key: \"tileElement\",\n ref: tileElement\n }, [\n _createElementVNode(\"div\", _hoisted_38, [\n (__props.content.isExternal)\n ? (_openBlock(), _createBlock(TressLink, {\n key: 0,\n link: link.value,\n class: _normalizeClass(productLinkClassName),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n _createVNode(TressIconButton, {\n class: \"button--button-icon product-tile__buy-button product-tile__button-cart product-tile__button-cart--arrow product-tile__button-cart--external\",\n disabled: !hasStock.value && !__props.showAsB2b\n }, {\n default: _withCtx(() => [\n _createVNode(IconChevronRight, { class: \"product-tile__buy-button__icon\" })\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"]))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n (__props.content.callForPrice)\n ? (_openBlock(), _createBlock(TressIconButton, {\n key: 0,\n class: \"button--button-icon product-tile__buy-button product-tile__button-cart\",\n onClick: openRequestForPrice\n }, {\n default: _withCtx(() => [\n _createVNode(_component_icon_mail, { class: \"product-tile__buy-button__icon\" })\n ]),\n _: 1\n }))\n : (__props.content.hasVariants)\n ? (_openBlock(), _createBlock(TressLink, {\n key: 1,\n link: link.value,\n class: _normalizeClass(productLinkClassName),\n sku: __props.content.sku\n }, {\n default: _withCtx(() => [\n _createVNode(TressIconButton, {\n class: \"button--button-icon product-tile__buy-button product-tile__button-cart product-tile__button-cart--arrow\",\n disabled: !hasStock.value && !__props.showAsB2b\n }, {\n default: _withCtx(() => [\n _createVNode(IconChevronRight, { class: \"product-tile__buy-button__icon\" })\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 1\n }, 8, [\"link\", \"sku\"]))\n : (_openBlock(), _createBlock(_component_tress_buy_button_icon, {\n key: 2,\n \"data-sku\": __props.content.sku,\n class: \"button--button-icon product-tile__buy-button product-tile__button-cart\",\n disabled: !hasStock.value && !__props.showAsB2b,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (onCartClick(__props.content.sku, 1)))\n }, {\n on: _withCtx(() => [\n _createVNode(_component_icon_checkmark, { class: \"product-tile__buy-button__icon--checkmark\" })\n ]),\n off: _withCtx(() => [\n _createVNode(IconCart, { class: \"product-tile__buy-button__icon\" })\n ]),\n _: 1\n }, 8, [\"data-sku\", \"disabled\"]))\n ], 64))\n ])\n ], 512)\n ])\n ])\n ])\n ])\n ], 2),\n (__props.content.requestForPriceFormId)\n ? (_openBlock(), _createBlock(_component_tress_modal, {\n key: 0,\n \"is-open\": isRequestForPriceOpen.value,\n onClose: closeRequestForPrice,\n onOpen: openRequestForPrice,\n class: \"tress-modal-container--no-style\"\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_39, _toDisplayString(_ctx.$t(_unref(dictionary).product.requestPriceFor)) + \" \" + _toDisplayString(__props.content.name), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_40, [\n (_unref(umbracoForms).state[props.content?.requestForPriceFormId])\n ? (_openBlock(), _createBlock(_component_umbraco_form, {\n key: 0,\n definition: _unref(umbracoForms).state[props.content?.requestForPriceFormId],\n \"anti-forgery-token\": __props.antiForgeryToken,\n \"pre-values\": preValues.value\n }, {\n default: _withCtx(({ definition }) => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(definition.pages, (page) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_page, {\n page: page,\n key: page.caption\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(page.fieldsets, (fieldset) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_fieldset, {\n fieldset: fieldset,\n key: fieldset.id\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(fieldset.columns, (column) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_fieldset_column, {\n column: column,\n key: column.caption\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(column.fields, (field) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_field, {\n field: field,\n key: field.caption\n }, null, 8, [\"field\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"column\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"fieldset\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"page\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"definition\", \"anti-forgery-token\", \"pre-values\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"is-open\"]))\n : _createCommentVNode(\"\", true),\n (__props.content.requestForFileFormId)\n ? (_openBlock(), _createBlock(_component_tress_modal, {\n key: 1,\n \"is-open\": isRequestForFileOpen.value,\n onClose: closeRequestForFile,\n onOpen: openRequestForFile,\n class: \"tress-modal-container--no-style\"\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_41, _toDisplayString(_ctx.$t(_unref(dictionary).product.requestFileFor)) + \" \" + _toDisplayString(__props.content.name), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_42, [\n (_unref(umbracoForms).state[props.content?.requestForFileFormId])\n ? (_openBlock(), _createBlock(_component_umbraco_form, {\n key: 0,\n definition: _unref(umbracoForms).state[props.content?.requestForFileFormId],\n \"anti-forgery-token\": __props.antiForgeryToken,\n \"pre-values\": preValues.value\n }, {\n default: _withCtx(({ definition }) => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(definition.pages, (page) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_page, {\n page: page,\n key: page.caption\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(page.fieldsets, (fieldset) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_fieldset, {\n fieldset: fieldset,\n key: fieldset.id\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(fieldset.columns, (column) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_fieldset_column, {\n column: column,\n key: column.caption\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(column.fields, (field) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_field, {\n field: field,\n key: field.caption\n }, null, 8, [\"field\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"column\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"fieldset\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"page\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"definition\", \"anti-forgery-token\", \"pre-values\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"is-open\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_tress_modal, {\n \"is-open\": isLoginFormOpen.value,\n \"on@close\": closeLoginForm,\n \"on@open\": openLoginForm,\n class: \"tress-modal-container--no-padding\"\n }, {\n header: _withCtx(() => [\n _hoisted_43\n ]),\n default: _withCtx(() => [\n _createVNode(TressLoginModal, { \"login-url\": loginUrlWithParameters.value }, null, 8, [\"login-url\"])\n ]),\n _: 1\n }, 8, [\"is-open\"])\n ], 64))\n}\n}\n\n})","import script from \"./TressProductTile.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressProductTile.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressProductTile.vue?vue&type=style&index=0&id=699beb48&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","export enum TileType {\n None,\n ProductTile,\n ProductContentTile,\n CategoryTile,\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"href\"]\nconst _hoisted_2 = { class: \"listing-block__controls\" }\nconst _hoisted_3 = { class: \"listing-block__title\" }\nconst _hoisted_4 = { class: \"listing-block__button\" }\n\nimport { PropType } from \"vue\";\nimport { IProductContentTile } from \"@/models/IProductContentTile\";\nimport TressResponsivePicture from \"@/components/TressResponsivePicture.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressProductContentTile',\n props: {\n tile: {\n type: Object as PropType,\n required: true,\n },\n index: {\n type: Number,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_icon_arrow_right = _resolveComponent(\"icon-arrow-right\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([{\n 'col-12 col-md-8 col-xl-6 col-xxl-2-5': __props.tile.showAsDouble,\n 'col-6 col-md-4 col-xl-3 col-xxl-2-4': !__props.tile.showAsDouble,\n 'product-listings__container--no-border': (__props.index + 1) % 2 == 0,\n 'product-listings__container--no-border-md': (__props.index + 1) % 3 == 0,\n 'product-listings__container--no-border-xl': (__props.index + 1) % 4 == 0,\n 'product-listings__container--no-border-xxl': (__props.index + 1) % 5 == 0,\n }, \"col product-listings__container\"])\n }, [\n _createElementVNode(\"a\", {\n href: __props.tile.url,\n class: \"listing-block\"\n }, [\n _createVNode(TressResponsivePicture, {\n class: \"listing-block__image\",\n pictures: __props.tile.image\n }, null, 8, [\"pictures\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"p\", _hoisted_3, _toDisplayString(__props.tile.title), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_icon_arrow_right)\n ])\n ])\n ], 8, _hoisted_1)\n ], 2))\n}\n}\n\n})","import script from \"./TressProductContentTile.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressProductContentTile.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressProductContentTile.vue?vue&type=style&index=0&id=6dd1149f&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, unref as _unref, createVNode as _createVNode, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, createBlock as _createBlock } from \"vue\"\n\nimport TressProductTile from \"@/components/TressProductTile.vue\";\nimport { PropType } from \"vue\";\nimport { ProductTile } from \"@/models/ProductList\";\nimport { TileType } from \"@/enums/TileType\";\nimport { IProductContentTile } from \"@/models/IProductContentTile\";\nimport TressProductContentTile from \"@/components/TressProductContentTile.vue\";\nimport { IIndexTile } from \"@/models/IIndexTile\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressProductListings',\n props: {\n content: {\n type: Object as PropType>,\n required: true,\n },\n showAsB2b: {\n type: Boolean,\n required: true,\n },\n parent: {\n type: String,\n required: true,\n },\n blueSiteLogotype: {\n type: String,\n required: false,\n },\n fastDeliveryLogotype: {\n type: String,\n required: false,\n },\n fastDeliveryAltText: {\n type: String,\n required: false,\n },\n},\n setup(__props) {\n\n\n\nconst getOffset = (tiles: Array, idx: number) => {\n if (!tiles) {\n return 0;\n }\n const offset = tiles.slice(0, idx).reduce((acc, curVal) => {\n return acc + (curVal.showAsDouble ? 1 : 0);\n }, 0);\n return offset;\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.content, (tile, idx) => {\n return (_openBlock(), _createElementBlock(_Fragment, {\n key: tile.id\n }, [\n (tile.tileType == _unref(TileType).ProductTile)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"col col-6 col-md-4 col-xl-3 col-xxl-2-4 product-listings__container\", {\n 'product-listings__container--no-border': (idx + 1 + getOffset(__props.content, idx)) % 2 == 0,\n 'product-listings__container--no-border-md': (idx + 1 + getOffset(__props.content, idx)) % 3 == 0,\n 'product-listings__container--no-border-xl': (idx + 1 + getOffset(__props.content, idx)) % 4 == 0,\n 'product-listings__container--no-border-xxl': (idx + 1 + getOffset(__props.content, idx)) % 5 == 0,\n 'product-tile--external': (tile as ProductTile).isExternal,\n }])\n }, [\n _createVNode(TressProductTile, {\n \"blue-site-logotype\": __props.blueSiteLogotype,\n \"fast-delivery-logotype\": __props.fastDeliveryLogotype,\n \"fast-delivery-alt-text\": __props.fastDeliveryAltText,\n content: tile as ProductTile,\n index: idx,\n \"show-as-b2b\": __props.showAsB2b,\n small: false\n }, null, 8, [\"blue-site-logotype\", \"fast-delivery-logotype\", \"fast-delivery-alt-text\", \"content\", \"index\", \"show-as-b2b\"])\n ], 2))\n : (tile.tileType == _unref(TileType).ProductContentTile)\n ? (_openBlock(), _createBlock(TressProductContentTile, {\n key: 1,\n tile: tile as IProductContentTile,\n index: idx\n }, null, 8, [\"tile\", \"index\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n}\n}\n\n})","import script from \"./TressProductListings.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressProductListings.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressProductListings.vue?vue&type=style&index=0&id=b69d4900&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import { render } from \"./TressGrid.vue?vue&type=template&id=3f7c5141\"\nconst script = {}\n\nimport \"./TressGrid.vue?vue&type=style&index=0&id=3f7c5141&lang=scss\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./TressRow.vue?vue&type=template&id=3ba64ecd\"\nconst script = {}\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./TressColumn.vue?vue&type=template&id=a5965a26\"\nconst script = {}\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconArrowLeft.vue?vue&type=template&id=4cb949f0\"\nconst script = {}\n\nimport \"./IconArrowLeft.vue?vue&type=style&index=0&id=4cb949f0&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IconArrowRight.vue?vue&type=template&id=a8b62d62\"\nconst script = {}\n\nimport \"./IconArrowRight.vue?vue&type=style&index=0&id=a8b62d62&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, createElementVNode as _createElementVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, normalizeClass as _normalizeClass, vModelText as _vModelText, normalizeStyle as _normalizeStyle, withDirectives as _withDirectives, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"image-carousel\" }\nconst _hoisted_2 = { class: \"carousel__item\" }\nconst _hoisted_3 = [\"max\"]\nconst _hoisted_4 = { class: \"image-carousel__slider-label\" }\n\nimport \"vue3-carousel/dist/carousel.css\";\nimport { Carousel, Slide } from \"vue3-carousel\";\nimport { PropType, ref } from \"vue\";\nimport TressGrid from \"@/components/TressGrid.vue\";\nimport TressRow from \"@/components/TressRow.vue\";\nimport TressColumn from \"@/components/TressColumn.vue\";\nimport IconArrowLeft from \"@/components/icons/IconArrowLeft.vue\";\nimport IconArrowRight from \"@/components/icons/IconArrowRight.vue\";\nimport { Image } from \"@/models/Image\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressImageCarousel',\n props: {\n list: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\nconst carouselEl = ref();\nconst currentSlide = ref(0);\nconst onPreviousClick = () => {\n carouselEl.value.prev();\n};\nconst onNextClick = () => {\n carouselEl.value.next();\n};\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_unref(Carousel), {\n ref_key: \"carouselEl\",\n ref: carouselEl,\n modelValue: currentSlide.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((currentSlide).value = $event)),\n mouseDrag: __props.list.length > 1\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.list, (slide, idx) => {\n return (_openBlock(), _createBlock(_unref(Slide), {\n key: slide.id\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\", {\n item: slide,\n idx: idx\n })\n ])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 3\n }, 8, [\"modelValue\", \"mouseDrag\"]),\n (__props.list.length > 1)\n ? (_openBlock(), _createBlock(TressGrid, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(TressRow, { class: \"justify-content-center align-items-center image-carousel__navigation-container\" }, {\n default: _withCtx(() => [\n _createVNode(TressColumn, { class: \"col-auto\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"button\", {\n onClick: onPreviousClick,\n class: \"image-carousel__previous-button\"\n }, [\n _createVNode(IconArrowLeft, {\n class: _normalizeClass([\"image-carousel__arrow\", { 'image-carousel__arrow--disabled': currentSlide.value == 0 }])\n }, null, 8, [\"class\"])\n ])\n ]),\n _: 1\n }),\n _createVNode(TressColumn, {\n class: \"justify-content-center\",\n style: {\"position\":\"relative\"}\n }, {\n default: _withCtx(() => [\n _withDirectives(_createElementVNode(\"input\", {\n class: \"image-carousel__slider\",\n type: \"range\",\n min: \"0\",\n max: __props.list.length - 1,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((currentSlide).value = $event)),\n step: \"1\",\n style: _normalizeStyle({ '--thumb-width': 100 / __props.list.length + '%' })\n }, null, 12, _hoisted_3), [\n [_vModelText, currentSlide.value]\n ]),\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(+currentSlide.value + 1) + \"/\" + _toDisplayString(__props.list.length), 1)\n ]),\n _: 1\n }),\n _createVNode(TressColumn, { class: \"col-auto\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"button\", {\n onClick: onNextClick,\n class: \"image-carousel__next-button\"\n }, [\n _createVNode(IconArrowRight, {\n class: _normalizeClass([\"image-carousel__arrow\", { 'image-carousel__arrow--disabled': currentSlide.value == __props.list.length - 1 }])\n }, null, 8, [\"class\"])\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./TressImageCarousel.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressImageCarousel.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressImageCarousel.vue?vue&type=style&index=0&id=202fe3b8&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-69d02895\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"carousel-controls\" }\nconst _hoisted_2 = [\"disabled\"]\nconst _hoisted_3 = [\"disabled\"]\n\nimport { onMounted, ref, watch } from \"vue\";\nimport { useResizeObserver, useScroll } from \"@vueuse/core\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCarouselControls',\n props: {\n carouselId: {\n type: String,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nlet carouselEl = ref();\nconst scrollTrack = ref();\nconst scrollThumb = ref();\nonMounted(() => {\n carouselEl.value = document.getElementById(props.carouselId) as HTMLElement;\n});\nconst { x } = useScroll(carouselEl);\nwatch(x, (currVal) => {\n calcBar(currVal);\n});\n\nconst calcBar = (currVal: number) => {\n if (carouselEl.value && scrollThumb.value && scrollTrack.value) {\n const trackWidth = scrollTrack.value.clientWidth;\n const thumbWidth = scrollThumb.value.clientWidth;\n const scrollWidth = carouselEl.value.scrollWidth;\n const clientWidth = carouselEl.value.clientWidth;\n const percentage = currVal / (scrollWidth - clientWidth);\n const val = (trackWidth - thumbWidth) * (currVal / (scrollWidth - clientWidth));\n scrollThumb.value.style.left = `${val}px`;\n hasPrev.value = percentage !== 0;\n hasNext.value = percentage !== 1;\n }\n};\nuseResizeObserver(document.querySelector(\"body\"), () => {\n onResize();\n});\nconst onResize = () => {\n const el = carouselEl.value as HTMLElement;\n showControls.value = el && el.scrollWidth > el.clientWidth;\n calcBar(x.value);\n};\nconst showControls = ref(false);\nconst onPreviousClick = () => {\n const outsideEl = getPrev();\n if (outsideEl) {\n outsideEl.scrollIntoView({ behavior: \"smooth\", block: \"nearest\", inline: \"start\" });\n }\n};\nconst onNextClick = () => {\n const outsideEl = getNext();\n if (outsideEl) {\n outsideEl.scrollIntoView({ behavior: \"smooth\", block: \"nearest\", inline: \"end\" });\n }\n};\nconst getPrev = () => {\n if (carouselEl.value) {\n const distanceFromLeft = carouselEl.value.getBoundingClientRect().x;\n const children = [...carouselEl.value.children].reverse();\n const outsideEl = children.find((x) => {\n const clientRect = x.getBoundingClientRect();\n if (Math.ceil(clientRect.x - distanceFromLeft) < 0) {\n return x;\n }\n });\n return outsideEl;\n }\n return null;\n};\nconst getNext = () => {\n if (carouselEl.value) {\n const distanceFromLeft = carouselEl.value.getBoundingClientRect().x;\n const viewportWidth = carouselEl.value.clientWidth;\n const children = [...carouselEl.value.children];\n const outsideEl = children.find((x) => {\n const clientRect = x.getBoundingClientRect();\n if (clientRect.x + clientRect.width - distanceFromLeft > viewportWidth + 1) {\n return x;\n }\n });\n return outsideEl;\n }\n return null;\n};\nconst hasPrev = ref(false);\nconst hasNext = ref(false);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_icon_arrow_left = _resolveComponent(\"icon-arrow-left\")!\n const _component_icon_arrow_right = _resolveComponent(\"icon-arrow-right\")!\n\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"button\", {\n onClick: onPreviousClick,\n class: \"carousel-controls__prev-button\",\n disabled: !hasPrev.value,\n \"aria-label\": \"previous\"\n }, [\n _createVNode(_component_icon_arrow_left, { class: \"carousel-controls__arrow\" })\n ], 8, _hoisted_2),\n _createElementVNode(\"div\", {\n class: \"carousel-controls__scroll__bar\",\n ref_key: \"scrollTrack\",\n ref: scrollTrack\n }, [\n _createElementVNode(\"div\", {\n class: \"carousel-controls__scroll__thumb\",\n ref_key: \"scrollThumb\",\n ref: scrollThumb\n }, null, 512)\n ], 512),\n _createElementVNode(\"button\", {\n onClick: onNextClick,\n class: \"carousel-controls__next-button\",\n disabled: !hasNext.value,\n \"aria-label\": \"next\"\n }, [\n _createVNode(_component_icon_arrow_right, { class: \"carousel-controls__arrow\" })\n ], 8, _hoisted_3)\n ], 512)), [\n [_vShow, showControls.value]\n ])\n}\n}\n\n})","import script from \"./TressCarouselControls.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressCarouselControls.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressCarouselControls.vue?vue&type=style&index=0&id=69d02895&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-69d02895\"]])\n\nexport default __exports__","import { useMediaQuery } from \"@vueuse/core\";\n\nexport function useBreakpoints() {\n const isSm = useMediaQuery(\"(min-width:576px)\");\n const isMd = useMediaQuery(\"(min-width:768px)\");\n const isLg = useMediaQuery(\"(min-width:992px)\");\n const isXl = useMediaQuery(\"(min-width:1200px)\");\n const isXxl = useMediaQuery(\"(min-width:1400px)\");\n return { isSm, isMd, isLg, isXl, isXxl };\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = [\"href\"]\nconst _hoisted_2 = { class: \"case-listing-large__item__description\" }\n\nimport { onMounted, PropType, ref, watch } from \"vue\";\nimport { useBreakpoints } from \"@/code/useBreakpoints\";\nimport TressResponsivePicture from \"@/components/TressResponsivePicture.vue\";\nimport { IMasonryTile } from \"@/models/IMasonryTile\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCaseListing',\n props: {\n tiles: {\n type: Array as PropType>,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst { isLg } = useBreakpoints();\nconst columns = ref(3);\nconst masonryTiles = ref>>();\nconst calculateLayout = () => {\n masonryTiles.value = [];\n if (columns.value && props.tiles) {\n for (let i = 0; i < columns.value; i++) {\n const ls: Array = [];\n for (let j = 0, k = 0; j < props.tiles.length; j++) {\n if (j % columns.value == i) {\n const tile = props.tiles[j];\n tile.isOdd = (k + i) % 2 === 0;\n ls.push({ ...tile });\n k++;\n }\n }\n masonryTiles.value.push(ls);\n }\n }\n};\nwatch(columns, () => {\n calculateLayout();\n});\nwatch(props, () => {\n calculateLayout();\n});\nwatch(isLg, (val) => {\n if (val) {\n columns.value = 3;\n } else {\n columns.value = 2;\n }\n});\nonMounted(() => {\n calculateLayout();\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(masonryTiles.value, (column) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: column,\n class: \"case-listing-large__container\"\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(column, (tile) => {\n return (_openBlock(), _createElementBlock(\"a\", {\n key: tile.id,\n class: _normalizeClass([{ 'case-listing-large__item--odd': tile.isOdd, 'case-listing-large__item--even': !tile.isOdd }, \"case-listing-large__item\"]),\n href: tile.url\n }, [\n (tile.squareImage && tile.landscapeImage)\n ? (_openBlock(), _createBlock(TressResponsivePicture, {\n key: 0,\n class: \"case-listing-large__item__picture\",\n pictures: tile.isOdd ? tile.squareImage : tile.landscapeImage\n }, null, 8, [\"pictures\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h2\", null, _toDisplayString(tile.text), 1)\n ])\n ], 10, _hoisted_1))\n }), 128))\n ]))\n }), 128))\n}\n}\n\n})","import script from \"./TressCaseListing.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressCaseListing.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { PropType } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressLightbox',\n props: {\n imgs: {\n type: Array as PropType>,\n required: true,\n },\n isOpen: {\n type: Boolean,\n required: true,\n },\n index: {\n type: Number,\n required: false,\n },\n},\n emits: {\n hide: () => true,\n},\n setup(__props, { emit }) {\n\n\n\n\n\nconst onHide = () => {\n emit(\"hide\");\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_vue_easy_lightbox = _resolveComponent(\"vue-easy-lightbox\")!\n\n return (_openBlock(), _createBlock(_component_vue_easy_lightbox, {\n visible: __props.isOpen,\n imgs: __props.imgs,\n onHide: onHide,\n index: __props.index\n }, null, 8, [\"visible\", \"imgs\", \"index\"]))\n}\n}\n\n})","import script from \"./TressLightbox.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressLightbox.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import { render } from \"./TressDivider2.vue?vue&type=template&id=054e5c35&scoped=true\"\nconst script = {}\n\nimport \"./TressDivider2.vue?vue&type=style&index=0&id=054e5c35&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-054e5c35\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createCommentVNode as _createCommentVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { ref, watch } from \"vue\";\nimport TressIconButton from \"@/components/TressIconButton.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressSwitchButton',\n props: {\n state: {\n type: Boolean,\n required: false,\n default: false,\n },\n},\n emits: {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n click: (state: boolean) => {\n return true;\n },\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\nconst internalState = ref(props.state);\nconst onClick = () => {\n internalState.value = !internalState.value;\n emit(\"click\", internalState.value);\n};\nwatch(\n () => props.state,\n (currVal) => {\n internalState.value = currVal;\n }\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(TressIconButton, { onClick: onClick }, {\n default: _withCtx(() => [\n (!internalState.value)\n ? _renderSlot(_ctx.$slots, \"off\", { key: 0 })\n : _renderSlot(_ctx.$slots, \"on\", { key: 1 })\n ]),\n _: 3\n }))\n}\n}\n\n})","import script from \"./TressSwitchButton.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressSwitchButton.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconClose.vue?vue&type=template&id=f1fe9df2\"\nconst script = {}\n\nimport \"./IconClose.vue?vue&type=style&index=0&id=f1fe9df2&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport TressButton from \"@/components/TressButton.vue\";\nimport IconClose from \"@/components/icons/IconClose.vue\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCloseButton',\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(TressButton, { class: \"button--icon button--filled close-button\" }, {\n default: _withCtx(() => [\n _createVNode(IconClose, { class: \"close-button__icon\" })\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./TressCloseButton.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressCloseButton.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressCloseButton.vue?vue&type=style&index=0&id=764230e2&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"col content-overview-page__tiles-listings__column col-12 col-md-3\" }\nconst _hoisted_2 = [\"href\"]\nconst _hoisted_3 = {\n class: \"row g-0\",\n style: {\"height\":\"100%\"}\n}\nconst _hoisted_4 = { class: \"col column align-self-end\" }\nconst _hoisted_5 = { class: \"container-fluid tile-upper-lower\" }\nconst _hoisted_6 = { class: \"row g-0\" }\nconst _hoisted_7 = { class: \"col-12 tile-upper-lower__upper\" }\nconst _hoisted_8 = { class: \"col col-12 tile-upper-lower__lower\" }\nconst _hoisted_9 = [\"innerHTML\"]\nconst _hoisted_10 = { class: \"container-fluid image-and-content-tile__button-container\" }\nconst _hoisted_11 = { class: \"row g-0 justify-content-end\" }\nconst _hoisted_12 = { class: \"col col-auto\" }\nconst _hoisted_13 = { class: \"image-and-content-tile__button\" }\nconst _hoisted_14 = {\n class: \"button button--icon button--round button--filled\",\n type: \"button\"\n}\n\nimport TressResponsivePicture from \"@/components/TressResponsivePicture.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressContentTile',\n props: {\n tile: {\n type: Object,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_icon_arrow_right = _resolveComponent(\"icon-arrow-right\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"a\", {\n href: __props.tile.url\n }, [\n _createElementVNode(\"div\", {\n class: \"container-fluid g-0 tile image-and-content-tile category-listing-blue category-listing-blue--no-bg-color\",\n style: _normalizeStyle([{\"height\":\"100%\"}, { backgroundColor: '#' + __props.tile.backgroundColor }])\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(TressResponsivePicture, {\n pictures: __props.tile.image,\n class: \"image-and-content-tile__image\"\n }, null, 8, [\"pictures\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", {\n class: \"image-and-content-tile__header\",\n style: _normalizeStyle({ color: '#' + __props.tile.textColor }),\n innerHTML: __props.tile.header\n }, null, 12, _hoisted_9),\n _createElementVNode(\"p\", {\n class: \"image-and-content-tile__content\",\n style: _normalizeStyle({ color: '#' + __props.tile.textColor })\n }, _toDisplayString(__props.tile.description), 5),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"button\", _hoisted_14, [\n _createVNode(_component_icon_arrow_right)\n ])\n ])\n ])\n ])\n ])\n ])\n ])\n ])\n ])\n ])\n ], 4)\n ], 8, _hoisted_2)\n ]))\n}\n}\n\n})","import script from \"./TressContentTile.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressContentTile.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, createBlock as _createBlock, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"t-search-popup__other-container\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"t-search-popup__categories-container\"\n}\nconst _hoisted_3 = { class: \"t-search-popup__categories-container__inner\" }\nconst _hoisted_4 = { class: \"t-search-popup__categories-header\" }\nconst _hoisted_5 = { class: \"t-search-popup__categories\" }\nconst _hoisted_6 = [\"href\"]\nconst _hoisted_7 = { key: 1 }\nconst _hoisted_8 = {\n key: 1,\n class: \"t-search-popup__content-container\"\n}\nconst _hoisted_9 = { class: \"t-search-popup__content-container__inner\" }\nconst _hoisted_10 = { class: \"t-search-popup__contents-header\" }\nconst _hoisted_11 = { class: \"t-search-popup__contents\" }\nconst _hoisted_12 = [\"href\"]\nconst _hoisted_13 = { key: 1 }\nconst _hoisted_14 = {\n key: 0,\n class: \"t-search-popup__products-container\"\n}\nconst _hoisted_15 = { class: \"t-search-popup__products-container__inner\" }\nconst _hoisted_16 = { class: \"t-search-popup__products-header\" }\nconst _hoisted_17 = { class: \"t-search-popup__products\" }\nconst _hoisted_18 = [\"href\"]\nconst _hoisted_19 = [\"src\"]\nconst _hoisted_20 = { class: \"t-search-popup__product__name\" }\nconst _hoisted_21 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_22 = { class: \"t-search-popup__product__variants\" }\nconst _hoisted_23 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_24 = { class: \"t-search-popup__product__artno\" }\nconst _hoisted_25 = {\n key: 1,\n class: \"t-search-popup__product__price t-search-popup__product__price--mobile\"\n}\nconst _hoisted_26 = { key: 0 }\nconst _hoisted_27 = [\"src\"]\nconst _hoisted_28 = {\n key: 4,\n class: \"t-search-popup__product__price\"\n}\nconst _hoisted_29 = {\n key: 0,\n class: \"t-search-popup__product__price\"\n}\nconst _hoisted_30 = {\n key: 1,\n class: \"t-search-popup__product__price t-search-popup__product__price--discount\"\n}\nconst _hoisted_31 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_32 = [\"href\"]\nconst _hoisted_33 = { key: 1 }\nconst _hoisted_34 = {\n key: 0,\n class: \"t-search-popup__button-container\"\n}\nconst _hoisted_35 = [\"href\"]\n\nimport TressProductTileTag from \"@/components/TressProductTileTag.vue\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { StockStatus } from \"@/enums/StockStatus\";\nimport { VariantSelectorAsNumber } from \"@/models/ProductList\";\nimport { useI18n } from \"vue-i18n\";\nimport { CustomerType } from \"@/enums/CustomerType\";\nimport { PropType, onMounted, ref, watch } from \"vue\";\nimport { useBreakpoints } from \"@/code/useBreakpoints\";\nimport { QuickSearchViewModel } from \"@/models/QuickSearchViewModel\";\nimport { QuickSearchProductViewModel } from \"@/models/QuickSearchProductViewModel\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressSearchPopup',\n props: {\n searchResults: {\n type: Object as PropType,\n required: true,\n },\n isPopupOpen: {\n type: Boolean,\n required: true,\n },\n searchPageUrl: {\n type: String,\n required: true,\n },\n searchTerm: {\n type: String,\n required: true,\n },\n blueSiteLogotype: {\n type: String,\n required: false,\n },\n},\n emits: {\n close: () => true,\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\nconst $t = useI18n().t;\n\n\nconst el = ref();\nconst { isLg } = useBreakpoints();\nconst searchPageUrl = ref(props.searchPageUrl);\nconst showAsB2b = window.customerType !== CustomerType.Private;\nlet closeEventController: AbortController | null;\n\nconst getVariantSelectorPrefix = (product: QuickSearchProductViewModel) => {\n if (product.variantSelector == VariantSelectorAsNumber.Variant) {\n return $t(dictionary.producttile.variants);\n } else if (product.variantSelector == VariantSelectorAsNumber.Color) {\n return $t(dictionary.producttile.colors);\n } else if (product.variantSelector == VariantSelectorAsNumber.Size) {\n return $t(dictionary.producttile.variants);\n } else if (product.variantSelector == VariantSelectorAsNumber.Hardness) {\n return $t(dictionary.producttile.hardnesses);\n }\n};\n\nconst tryClose = (ev: MouseEvent) => {\n if (!(ev.target as HTMLElement).closest(\".t-search-popup, .search-input\")) {\n removeCloseEventListener();\n emit(\"close\");\n }\n};\n\nconst addCloseEventListener = () => {\n const controller = new AbortController();\n document.addEventListener(\"click\", tryClose, { signal: controller.signal });\n};\n\nconst removeCloseEventListener = () => {\n closeEventController?.abort();\n};\n\nconst setOverflow = (hidden: boolean) => {\n document.documentElement.style.overflow = hidden ? \"hidden\" : \"auto\";\n};\n\nwatch(\n () => props.searchTerm,\n (currVal: string) => {\n searchPageUrl.value = `${props.searchPageUrl}?term=${currVal}`;\n }\n);\n\nwatch(\n () => props.isPopupOpen,\n (currVal) => {\n if (currVal) {\n addCloseEventListener();\n setOverflow(!isLg.value);\n } else {\n removeCloseEventListener();\n setOverflow(false);\n }\n _calcBottom();\n }\n);\n\nwatch(isLg, (currVal) => {\n setOverflow(props.isPopupOpen ? !currVal : false);\n _calcBottom();\n});\n\nconst _calcBottom = () => {\n if (el.value) {\n if (el.value.clientHeight + 138 > window.innerHeight) {\n el.value.style.bottom = \"0\";\n } else {\n el.value.style.bottom = \"auto\";\n }\n }\n};\n\nonMounted(() => {\n _calcBottom();\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tress_product_tile_default_image = _resolveComponent(\"tress-product-tile-default-image\")!\n const _component_icon_chevron_right = _resolveComponent(\"icon-chevron-right\")!\n\n return (__props.searchResults)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n ref_key: \"el\",\n ref: el,\n class: \"t-search-popup\"\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n (__props.searchResults.categories && __props.searchResults.categories.items)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_unref($t)(_unref(dictionary).common.categories)), 1),\n _createElementVNode(\"ul\", _hoisted_5, [\n (__props.searchResults.categories.items.length > 0)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(__props.searchResults.categories.items, (category) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: category.name,\n class: \"t-search-popup__category\"\n }, [\n _createElementVNode(\"a\", {\n href: category.url\n }, _toDisplayString(category.name), 9, _hoisted_6)\n ]))\n }), 128))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_7, _toDisplayString(_unref($t)(_unref(dictionary).search.noProductsFound)), 1))\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (__props.searchResults.pages && __props.searchResults.pages.items)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"p\", _hoisted_10, _toDisplayString(_unref($t)(_unref(dictionary).common.inspiration)), 1),\n _createElementVNode(\"ul\", _hoisted_11, [\n (__props.searchResults.pages.items.length > 0)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(__props.searchResults.pages.items, (page) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: page.name,\n class: \"t-search-popup__content\"\n }, [\n _createElementVNode(\"a\", {\n href: page.url\n }, _toDisplayString(page.name), 9, _hoisted_12)\n ]))\n }), 128))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_13, _toDisplayString(_unref($t)(_unref(dictionary).search.noProductsFound)), 1))\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (__props.searchResults.pages && __props.searchResults.pages.items)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"p\", _hoisted_16, _toDisplayString(_unref($t)(_unref(dictionary).common.products)), 1),\n _createElementVNode(\"ul\", _hoisted_17, [\n (__props.searchResults.products.items.length > 0)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(__props.searchResults.products.items, (product) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: product.partNo\n }, [\n _createElementVNode(\"a\", {\n class: _normalizeClass([{\n 't-search-popup__product--not-in-stock': !showAsB2b && product.stockStatus === _unref(StockStatus).OutOfStock,\n }, \"t-search-popup__product\"]),\n href: product.url\n }, [\n (product.imageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: product.imageUrl,\n class: \"t-search-popup__product__image\"\n }, null, 8, _hoisted_19))\n : (_openBlock(), _createBlock(_component_tress_product_tile_default_image, {\n key: 1,\n class: \"t-search-popup__product__image\"\n })),\n _createElementVNode(\"p\", _hoisted_20, [\n _createTextVNode(_toDisplayString(product.name) + \" \", 1),\n _hoisted_21,\n (product.numberOfVariants > 1)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"span\", _hoisted_22, \"+\" + _toDisplayString(product.numberOfVariants) + \" \" + _toDisplayString(getVariantSelectorPrefix(product)), 1),\n _hoisted_23\n ], 64))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", _hoisted_24, _toDisplayString(product.partNo), 1),\n (product.callForPrice)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_25, _toDisplayString(_unref($t)(_unref(dictionary).product.callforprice)), 1))\n : (_openBlock(), _createElementBlock(\"span\", {\n key: 2,\n class: _normalizeClass([{ 't-search-popup__product__price--discount-mobile': product.originalPrice }, \"t-search-popup__product__price t-search-popup__product__price--mobile\"])\n }, [\n _createTextVNode(_toDisplayString(product.price) + \" \", 1),\n (product.originalPrice)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_26, _toDisplayString(product.originalPrice), 1))\n : _createCommentVNode(\"\", true)\n ], 2))\n ]),\n (product.isExternal)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 2,\n src: __props.blueSiteLogotype,\n class: \"t-search-popup__product__logotype\"\n }, null, 8, _hoisted_27))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 3 }, [\n (product.new && (!product.agreementPrice || !product.discountPercent || !product.quantityBreaks))\n ? (_openBlock(), _createBlock(TressProductTileTag, {\n key: 0,\n class: \"t-search-popup__product__tag product-tile-tag--alternative product-tile-tag--new\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).common.new)), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (product.discountPercent && !product.agreementPrice)\n ? (_openBlock(), _createBlock(TressProductTileTag, {\n key: 1,\n class: \"t-search-popup__product__tag product-tile-tag--alternative\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(product.discountPercent), 1)\n ]),\n _: 2\n }, 1024))\n : _createCommentVNode(\"\", true),\n (product.agreementPrice)\n ? (_openBlock(), _createBlock(TressProductTileTag, {\n key: 2,\n class: \"t-search-popup__product__tag product-tile-tag--agreement-price\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).common.agreementPrice)), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (product.quantityBreaks && (!product.agreementPrice || !product.discountPercent))\n ? (_openBlock(), _createBlock(TressProductTileTag, {\n key: 3,\n class: \"t-search-popup__product__tag\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).common.massDiscount)), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ], 64)),\n (product.callForPrice)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_28, _toDisplayString(_unref($t)(_unref(dictionary).product.callforprice)), 1))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 5 }, [\n (!product.originalPrice)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_29, _toDisplayString(product.price), 1))\n : _createCommentVNode(\"\", true),\n (product.originalPrice)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_30, [\n _createTextVNode(_toDisplayString(product.originalPrice) + \" \", 1),\n _hoisted_31,\n _createElementVNode(\"span\", null, _toDisplayString(product.price), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 64)),\n _createElementVNode(\"a\", {\n href: product.url,\n class: _normalizeClass([\"t-search-popup__product__link\", { 't-search-popup__product__link--blue': product.isExternal }])\n }, [\n _createVNode(_component_icon_chevron_right)\n ], 10, _hoisted_32)\n ], 10, _hoisted_18)\n ]))\n }), 128))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_33, _toDisplayString(_unref($t)(_unref(dictionary).search.noProductsFound)), 1))\n ]),\n (__props.searchResults.products.items.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_34, [\n _createElementVNode(\"a\", {\n class: \"t-search-popup__button\",\n href: searchPageUrl.value\n }, _toDisplayString(_unref($t)(_unref(dictionary).search.seeAllProducts)) + \" (\" + _toDisplayString(__props.searchResults.products.count) + \")\", 9, _hoisted_35)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 512))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./TressSearchPopup.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressSearchPopup.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressSearchPopup.vue?vue&type=style&index=0&id=07dff916&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot } from \"vue\"\n\nimport { ref, watch, onMounted } from \"vue\";\nimport { useDebounceFn } from \"@vueuse/core\";\nimport { useBreakpoints } from \"@/code/useBreakpoints\";\nimport { SearchApi } from \"@/services/Api\";\nimport { QuickSearchViewModel } from \"@/models/QuickSearchViewModel\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressSearchWrapper',\n props: {\n scrolledTimeOut: {\n type: Boolean,\n },\n searchPageUrl: {\n type: String,\n required: true,\n },\n initialSearchQuery: {\n type: String,\n required: true,\n },\n},\n emits: {\n close: () => true,\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\nconst { isMd, isLg } = useBreakpoints();\nconst isPopupOpen = ref();\nconst isSearchFieldOpen = ref();\n\n\n\n\n\nconst openPopup = () => {\n scrolledTimeoutInternal.value = true;\n setTimeout(() => {\n scrolledTimeoutInternal.value = false;\n }, 1000);\n isPopupOpen.value = true;\n isSearchFieldOpen.value = true;\n};\n\nconst closePopup = () => {\n isPopupOpen.value = false;\n};\n\nconst closeSearchField = () => {\n isSearchFieldOpen.value = false;\n};\n\nconst onFocus = () => {\n if (searchResults.value) {\n openPopup();\n }\n};\n\nconst searchResults = ref();\nconst scrolledTimeoutInternal = ref(false);\nconst searchModel = ref(props.initialSearchQuery);\n\nconst search = async (query: string) => {\n if (query) {\n const res = await SearchApi.search(query, 6);\n searchResults.value = res;\n setTimeout(() => {\n openPopup();\n }, 100);\n } else {\n closePopup();\n }\n};\n\nconst onSearchClick = async (query) => {\n await search(query);\n};\n\nconst onCloseClick = () => {\n closePopup();\n closeSearchField();\n emit(\"close\");\n};\n\nconst onColdCloseClick = () => {\n searchModel.value = \"\";\n searchResults.value = undefined;\n closePopup();\n closeSearchField();\n emit(\"close\");\n};\n\nonMounted(() => {\n window.addEventListener(\"scroll\", () => {\n if (isLg.value) {\n if (!props.scrolledTimeOut && !scrolledTimeoutInternal.value) {\n onCloseClick();\n }\n }\n });\n});\n\nconst onInput = (val: string) => {\n searchModel.value = val;\n};\n\nwatch(isPopupOpen, (currVal) => {\n if (!isMd.value) {\n const bodyEl = document.querySelector(\"html\") as HTMLHtmlElement;\n if (currVal) {\n bodyEl.style.overflow = \"hidden\";\n } else {\n bodyEl.style.overflow = \"visible\";\n }\n }\n});\n\nconst rand = Math.random();\nconst onSearchClickDebounced = useDebounceFn(onSearchClick, rand * 200 + 300);\n\nconst onEnter = (term: string) => {\n if (searchResults.value && searchResults.value?.products && searchResults.value?.products.count === 1) {\n window.location.href = searchResults.value?.products.items[0].url;\n } else {\n window.location.href = `${props.searchPageUrl}?term=${term}`;\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n onEnter: onEnter,\n isPopupOpen: isPopupOpen.value,\n isSearchFieldOpen: isSearchFieldOpen.value,\n onSearchClick: _unref(onSearchClickDebounced),\n onCloseClick: onCloseClick,\n onColdCloseClick: onColdCloseClick,\n searchResults: searchResults.value,\n onFocus: onFocus,\n searchModel: searchModel.value,\n onInput: onInput\n })\n}\n}\n\n})","import script from \"./TressSearchWrapper.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressSearchWrapper.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BigBannerBlockWrapper',\n setup(__props) {\n\nconst isPlaying = ref(false);\n\nconst onPlay = () => {\n isPlaying.value = true;\n};\n\nconst onPause = () => {\n isPlaying.value = false;\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n isPlaying: isPlaying.value,\n onPlay: onPlay,\n onPause: onPause\n })\n}\n}\n\n})","import script from \"./BigBannerBlockWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BigBannerBlockWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot } from \"vue\"\n\nimport { onMounted, onUnmounted, ref, computed, inject, nextTick, watch } from \"vue\";\nimport { useResizeObserver } from \"@vueuse/core\";\nimport { useCart } from \"@/store/useCart\";\nimport { Emitter } from \"mitt\";\nimport { DataLayerApi, FavoritesApi } from \"@/services/Api\";\nimport { useBreakpoints } from \"@/code/useBreakpoints\";\nimport Cookies from \"js-cookie\";\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'HeaderWrapper',\n setup(__props) {\n\nconst { isLg } = useBreakpoints();\nconst cartStore = useCart();\nconst cartItems = computed(() => {\n const sum = cartStore.rows.reduce((total, item) => total + item.quantity, 0);\n return sum;\n});\nconst hiddenFooter = computed(() => {\n return !!showCategory.value || showAbout.value;\n});\nconst headerElement = ref(document.getElementById(\"header\") as HTMLElement);\nconst isScrolled = ref(false);\nconst isHamburgerMegaMenuOpen = ref(false);\nconst scrolledTimeOut = ref();\nconst hasLoaded = ref(false);\nconst emitter = inject>(\"eventbus\")!;\nconst hasFavorites = ref(false);\nconst bodyEl = document.body as HTMLBodyElement;\n\nuseResizeObserver(bodyEl, () => {\n setBottomOnMegaMenu();\n});\n\nconst onHamburgerMenuClick = () => {\n showMegaMenu.value = undefined;\n showCategory.value = undefined;\n isHamburgerMegaMenuOpen.value = !isHamburgerMegaMenuOpen.value;\n if (isHamburgerMegaMenuOpen.value) {\n bodyEl.classList.toggle(\"menu-opened\");\n } else {\n bodyEl.classList.toggle(\"menu-opened\");\n }\n setBottomOnHamburgerMenu();\n setBottomOnHamburgerMobileMenu();\n};\n\nconst onHamburgerMenuClose = () => {\n isHamburgerMegaMenuOpen.value = false;\n bodyEl.style.overflow = \"\";\n bodyEl.classList.remove(\"menu-opened\");\n setBottomOnHamburgerMenu();\n};\n\nfunction closeCartModal() {\n Cookies.remove('basket-da-dk');\n Cookies.remove('basket-nb-no');\n Cookies.remove('basket-sv-se');\n cartStore.isCartModalOpen = false;\n}\n\nconst setBottomOnHamburgerMobileMenu = async () => {\n const hamburgerMobileContent = document.querySelector(\".hamburger-mobile__content\") as HTMLElement;\n if (!hamburgerMobileContent) {\n return;\n }\n const hamburgerMobileFooter = document.querySelector(\".hamburger-mobile__footer\") as HTMLElement;\n if (!hamburgerMobileFooter) {\n return;\n }\n await nextTick();\n hamburgerMobileContent.style.paddingBottom = `${hamburgerMobileFooter.offsetHeight}px`;\n};\n\nconst isSearchFieldOpen = ref(false);\n\nconst openSearchField = () => {\n isSearchFieldOpen.value = true;\n};\n\nconst closeSearchField = () => {\n isSearchFieldOpen.value = false;\n};\n\nconst onSearchFieldOpenClick = () => {\n openSearchField();\n scrolledTimeOut.value = true;\n setTimeout(() => {\n scrolledTimeOut.value = false;\n }, 1000);\n};\n\nconst onSearchFieldClose = () => {\n closeSearchField();\n};\n\nconst isCartPopUpOpen = ref(false);\n\nconst openCartPopUp = () => {\n isCartPopUpOpen.value = true;\n DataLayerApi.createViewCartEvent();\n};\n\nconst onCartPopUpCloseClick = () => {\n isCartPopUpOpen.value = false;\n};\n\nconst showCategory = ref();\nconst showAbout = ref(false);\n\nconst onCategoryClick = (id: string) => {\n showCategory.value = id;\n};\n\nconst onBackClick = () => {\n showCategory.value = undefined;\n};\n\nconst onBackAboutClick = () => {\n showAbout.value = false;\n};\n\nconst onAboutClick = () => {\n showAbout.value = true;\n};\n\nconst onCartPopUpOpenClick = () => {\n openCartPopUp();\n};\n\nconst canShowMegaMenu = ref(false);\nconst showMegaMenu = ref();\nlet showMegaMenuDelay = 0;\n\nconst onShowMegaMenuMouseEnter = (id: string) => {\n if (canShowMegaMenu.value && isLg.value) {\n clearTimeout(showMegaMenuDelay);\n showMegaMenuDelay = setTimeout(() => {\n isHamburgerMegaMenuOpen.value = false;\n showMegaMenu.value = id;\n if (showMegaMenu.value) {\n bodyEl.classList.add(\"menu-opened\");\n } else {\n bodyEl.style.overflow = \"\";\n bodyEl.classList.remove(\"menu-opened\");\n }\n setBottomOnMegaMenu();\n }, 300);\n }\n};\n\nconst onShowMegaMenuMouseLeave = () => {\n if (isLg.value) {\n clearTimeout(showMegaMenuDelay);\n showMegaMenuDelay = setTimeout(() => {\n isHamburgerMegaMenuOpen.value = false;\n showMegaMenu.value = undefined;\n showCategory.value = undefined;\n if (showMegaMenu.value) {\n bodyEl.classList.add(\"menu-opened\");\n } else {\n bodyEl.style.overflow = \"\";\n bodyEl.classList.remove(\"menu-opened\");\n }\n }, 300);\n }\n};\n\nconst setBottomOnMegaMenu = () => {\n if (showMegaMenu.value) {\n let container = document.getElementById(showMegaMenu.value);\n let container1 = document.getElementById(showMegaMenu.value + \"1\");\n if (isScrolled.value) {\n container = document.getElementById(showMegaMenu.value + \"2\");\n container1 = document.getElementById(showMegaMenu.value + \"3\");\n }\n if (container && container1) {\n if (container?.clientHeight >= container1?.scrollHeight) {\n container.style.bottom = \"initial\";\n } else {\n container.style.bottom = \"0\";\n }\n }\n }\n};\n\nconst setBottomOnHamburgerMenu = () => {\n if (isHamburgerMegaMenuOpen.value) {\n let container = document.getElementById(\"hamburger-about\");\n let container1 = document.getElementById(\"hamburger-about1\");\n if (container && container1) {\n if (container?.clientHeight >= container1?.scrollHeight) {\n container.style.bottom = \"initial\";\n } else {\n container.style.bottom = \"0\";\n }\n }\n }\n};\n\nconst showAccordion = ref();\nconst maxAccordionHeight = ref(0);\n\nconst getAccordionContentHeight = (sourceElement: HTMLElement | null): number => {\n const accordionContent = sourceElement?.closest(\".accordion\")?.querySelector(\".accordion__content\");\n return accordionContent?.scrollHeight ?? 0;\n};\n\nconst onOpenAccordion = (ev: Event, id: string) => {\n if (showAccordion.value == id) {\n showAccordion.value = undefined;\n } else {\n showAccordion.value = id;\n }\n if (showAccordion.value != undefined) {\n maxAccordionHeight.value = getAccordionContentHeight(ev.target as HTMLElement);\n } else {\n maxAccordionHeight.value = 0;\n }\n};\n\nconst loadFavorites = async () => {\n const hasFavoritesFromApi = await FavoritesApi.hasFavorites();\n hasFavorites.value = hasFavoritesFromApi;\n};\n\nonMounted(() => {\n hasLoaded.value = true;\n headerElement.value = document.getElementById(\"header\") as HTMLElement;\n document.addEventListener(\"click\", onOutsideClick);\n\n window.onscroll = () => {\n scrollCalc();\n setTimeout(scrollCalc, 500);\n };\n\n const scrollCalc = () => {\n if (window.scrollY > headerElement.value.offsetHeight) {\n if (!isScrolled.value) {\n isScrolled.value = true;\n }\n } else {\n if (isScrolled.value) {\n isScrolled.value = false;\n }\n }\n };\n\n setTimeout(() => {\n canShowMegaMenu.value = true;\n }, 500);\n\n setTimeout(() => {\n DataLayerApi.getUserInfoEvent();\n }, 500);\n\n emitter.on(\"openCart\", () => {\n openCartPopUp();\n });\n\n emitter.on(\"favoriteAdded\", () => {\n hasFavorites.value = true;\n });\n\n emitter.on(\"favoriteRemoved\", async () => {\n const hasFavoritesFromApi = await FavoritesApi.hasFavorites();\n hasFavorites.value = hasFavoritesFromApi;\n });\n\n loadFavorites();\n});\n\nonUnmounted(() => {\n document.removeEventListener(\"click\", onOutsideClick);\n});\n\nconst onOutsideClick = (ev: MouseEvent) => {\n if (\n !(ev.target as HTMLElement).closest(\".categories__category\") &&\n !(ev.target as HTMLElement).closest(\".mega-menu-container\")\n ) {\n showMegaMenu.value = undefined;\n bodyEl.style.overflow = \"\";\n }\n};\n\nwatch(isScrolled, (value) => {\n headerElement.value.classList.toggle(\"header--sticky\", value);\n});\n\nconst tryCloseHamburgerMegaMenu = (ev: Event) => {\n const element = ev.target as HTMLElement;\n if (\n !element.closest(\"#hamburger-about\") &&\n !element.closest(\".icon-hamburger-menu, .hamburger-button\") &&\n !element.closest(\".hamburger-mobile\") &&\n isLg.value\n ) {\n onHamburgerMenuClose();\n }\n};\n\nwatch(isHamburgerMegaMenuOpen, (value) => {\n if (value) {\n document.addEventListener(\"click\", tryCloseHamburgerMegaMenu);\n } else {\n document.removeEventListener(\"click\", tryCloseHamburgerMegaMenu);\n }\n});\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n isScrolled: isScrolled.value,\n onHamburgerMenuClick: onHamburgerMenuClick,\n isHamburgerMegaMenuOpen: isHamburgerMegaMenuOpen.value,\n showCategory: showCategory.value,\n onBackClick: onBackClick,\n showAccordion: showAccordion.value,\n onOpenAccordion: onOpenAccordion,\n maxAccordionHeight: maxAccordionHeight.value,\n showAbout: showAbout.value,\n onAboutClick: onAboutClick,\n onBackAboutClick: onBackAboutClick,\n showMegaMenu: showMegaMenu.value,\n hasLoaded: hasLoaded.value,\n onShowMegaMenuMouseEnter: onShowMegaMenuMouseEnter,\n onShowMegaMenuMouseLeave: onShowMegaMenuMouseLeave,\n onCategoryClick: onCategoryClick,\n cartItems: cartItems.value,\n onSearchFieldOpenClick: onSearchFieldOpenClick,\n isSearchFieldOpen: isSearchFieldOpen.value,\n isSearchFieldOpen2: isSearchFieldOpen.value,\n onSearchFieldClose: onSearchFieldClose,\n scrolledTimeOut: scrolledTimeOut.value,\n onCartPopUpOpenClick: onCartPopUpOpenClick,\n isCartPopUpOpen: isCartPopUpOpen.value,\n onCartPopUpCloseClick: onCartPopUpCloseClick,\n hasFavorites: hasFavorites.value,\n isLg: _unref(isLg),\n hiddenFooter: hiddenFooter.value,\n isCartModalOpen: _unref(cartStore).isCartModalOpen,\n closeCartModal: closeCartModal\n })\n}\n}\n\n})","import script from \"./HeaderWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./HeaderWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FooterWrapper',\n setup(__props) {\n\nconst showAccordion = ref();\nconst maxAccordionHeight = ref(0);\n\nconst getAccordionContentHeight = (sourceElement: HTMLElement | null): number => {\n const accordionContent = sourceElement?.closest(\".accordion\")?.querySelector(\".accordion__content\");\n return accordionContent?.scrollHeight ?? 0;\n};\n\nconst onOpenAccordion = (ev: Event, id: string) => {\n if (showAccordion.value == id) {\n showAccordion.value = undefined;\n } else {\n showAccordion.value = id;\n }\n\n if (showAccordion.value != undefined) {\n maxAccordionHeight.value = getAccordionContentHeight(ev.target as HTMLElement);\n } else {\n maxAccordionHeight.value = 0;\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n showAccordion: showAccordion.value,\n maxAccordionHeight: maxAccordionHeight.value,\n onOpenAccordion: onOpenAccordion\n })\n}\n}\n\n})","import script from \"./FooterWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FooterWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { IMasonryTile } from \"./IMasonryTile\";\nimport { ProductTile } from \"./ProductList\";\n\nexport interface SearchRequest {\n term: string | null;\n categories: Array | null;\n selectedFacets: Record> | null;\n pageNo: number;\n sorting: Sorting;\n requestFullResult: boolean;\n showOnlyAgreementProducts: boolean;\n contentId: string;\n}\n\nexport interface SearchResponse {\n totalPages: number;\n tiles: Array;\n facets: Array;\n facetNames: Record;\n remainingProducts: number;\n totalHits: number;\n}\n\nexport interface SearchCasesResponse {\n totalPages: number;\n casePages: Array;\n facets: Array;\n facetNames: Record;\n remainingProducts: number;\n totalHits: number;\n}\n\nexport interface FacetGroup {\n key: string;\n available: Array;\n}\n\nexport interface Facet {\n value: string | boolean | number;\n hits: number;\n selected: boolean;\n}\n\nexport enum Sorting {\n RelevanceDesc = \"RelevanceDesc\",\n RelevanceAsc = \"RelevanceAsc\",\n PopularityDesc = \"PopularityDesc\",\n PopularityAsc = \"PopularityAsc\",\n ListPriceDesc = \"ListPriceDesc\",\n ListPriceAsc = \"ListPriceAsc\",\n}\n","import { DataLayerApi } from \"@/services/Api\";\n\nlet searchProducts: string[] = [];\nlet categoryProducts: string[] = [];\n\ndocument.addEventListener(\"click\", function (e: Event) {\n const target = e.target as HTMLElement;\n let link: HTMLElement | null = null;\n if (target && target.tagName === \"A\" && target.classList.contains(\"product-tile__link\")) {\n link = target;\n } else if (target.closest(\".product-tile__link\")) {\n link = target.closest(\".product-tile__link\");\n }\n\n if (link == null) {\n return;\n }\n\n const partno = link.dataset.partno;\n\n if (target.closest(\".product__recomendations\")) {\n if (partno) {\n DataLayerApi.createSelectItemEvent(partno, \"recommendations\");\n }\n } else if (target.closest(\".category\")) {\n if (partno) {\n DataLayerApi.createSelectItemEvent(partno, \"category-page\");\n }\n } else if (target.closest(\".search-page\")) {\n if (partno) {\n DataLayerApi.createSelectItemEvent(partno, \"search-page\");\n }\n } else if (target.closest(\".product__relations\")) {\n if (partno) {\n DataLayerApi.createSelectItemEvent(partno, \"accessories\");\n }\n } else if (target.closest(\".product-scroll\")) {\n if (partno) {\n DataLayerApi.createSelectItemEvent(partno, \"product-scroll\");\n }\n }\n});\n\ndocument.addEventListener(\"click\", function (e: Event) {\n const target = e.target as HTMLElement;\n let link: HTMLElement | null = null;\n if (\n (target && target.classList.contains(\"product-tile__buy-button\")) ||\n target.classList.contains(\"product-tile__buy-button__icon\")\n ) {\n link = target;\n } else if (target.closest(\".product-tile__buy-button\")) {\n link = target.closest(\".product-tile__buy-button\");\n }\n\n if (link == null) {\n return;\n }\n e.preventDefault();\n\n const partno = link.dataset.sku;\n if (target.closest(\".special-accessories\")) {\n if (partno) {\n DataLayerApi.createAddToCartEvent(partno, 1, \"special-accessories\");\n }\n } else if (target.closest(\".product__recomendations\")) {\n if (partno) {\n DataLayerApi.createAddToCartEvent(partno, 1, \"recommendations\");\n }\n } else if (target.closest(\".category\")) {\n if (partno) {\n DataLayerApi.createAddToCartEvent(partno, 1, \"category-page\");\n }\n } else if (target.closest(\".search-page\")) {\n if (partno) {\n DataLayerApi.createAddToCartEvent(partno, 1, \"search-page\");\n }\n } else if (target.closest(\".product_relations\")) {\n if (partno) {\n DataLayerApi.createAddToCartEvent(partno, 1, \"accessories\");\n }\n } else if (target.closest(\".product-scroll\")) {\n if (partno) {\n DataLayerApi.createAddToCartEvent(partno, 1, \"product-scroll\");\n }\n }\n});\n\nexport function getUniquePartNumbers(productRecomendations: ParentNode): string[] {\n const productTiles = productRecomendations.querySelectorAll(\".product-tile__top\");\n const uniquePartNos = new Set();\n\n productTiles.forEach((productTile: Element) => {\n const dataPartNo = productTile.querySelector(\"a[data-partno]\")?.getAttribute(\"data-partno\");\n if (dataPartNo) {\n uniquePartNos.add(dataPartNo);\n }\n });\n\n return Array.from(uniquePartNos);\n}\n\nconst productRecomendations = document.querySelectorAll(\".product__recomendations\");\nif (productRecomendations) {\n productRecomendations.forEach((productList: Element) => {\n const partNumbers = getUniquePartNumbers(productList);\n DataLayerApi.createViewItemListEvent(\"recommendations\", partNumbers);\n });\n}\n\nconst productCategory = document.querySelectorAll(\".category\");\nif (productCategory) {\n productCategory.forEach((productList: Element) => {\n const partNumbers = getUniquePartNumbers(productList);\n DataLayerApi.createViewItemListEvent(\"category\", partNumbers);\n categoryProducts = partNumbers;\n });\n}\n\nconst productSearch = document.querySelectorAll(\".search-page\");\nif (productSearch) {\n productSearch.forEach((productList: Element) => {\n const partNumbers = getUniquePartNumbers(productList);\n if (partNumbers != searchProducts) {\n DataLayerApi.createViewItemListEvent(\"search-page\", partNumbers);\n searchProducts = partNumbers;\n }\n });\n}\n\nconst productAccessories = document.querySelectorAll(\".product__relations\");\nif (productAccessories) {\n productAccessories.forEach((productList: Element) => {\n const partNumbers = getUniquePartNumbers(productList);\n DataLayerApi.createViewItemListEvent(\"accessories\", partNumbers);\n });\n}\n\nconst productScroll = document.querySelectorAll(\"product-scroll\");\nif (productScroll) {\n productScroll.forEach((productList: Element) => {\n const partNumbers = getUniquePartNumbers(productList);\n DataLayerApi.createViewItemListEvent(\"product-scroll\", partNumbers);\n });\n}\n\nexport function getProductListLink(target: Element): string {\n if (target) {\n if (target.closest(\".product__recomendations\")) {\n return \"recommendations\";\n } else if (target.closest(\".category\")) {\n return \"category\";\n } else if (target.closest(\".search-page\")) {\n return \"search-page\";\n } else if (target.closest(\".product__relations\")) {\n return \"accessories\";\n } else if (target.closest(\".product-scroll\")) {\n return \"product-scroll\";\n } else if (target.closest(\".cart-popup\")) {\n return \"cart-popup\";\n } else {\n return \"\";\n }\n }\n return \"\";\n}\nexport function getSearchProducts(): string[] {\n return searchProducts;\n}\n\nexport function getCategoryProducts(): string[] {\n return categoryProducts;\n}\n","import { defineStore } from \"pinia\";\nimport { useStorage } from \"@vueuse/core\";\n\nexport type FilterValue = string | number | boolean;\nexport type FilterValueList = Array;\nexport type FilterList = Record;\n\nexport type FilterState = {\n [key: string]: FilterList;\n};\n\nexport const useFilterState = defineStore(\"filter-state\", {\n state: () => {\n return {\n state: useStorage(\"filter-state\", {} as FilterState, sessionStorage),\n };\n },\n actions: {\n update(category: string, model: FilterList): void {\n this.state[category] = { ...model };\n },\n },\n});\n\n","import { useFilterState, FilterList, FilterValue, FilterValueList } from \"@/store/useFilterState\";\n\nexport class FilterService {\n private readonly _filterStateStore = useFilterState();\n\n constructor(\n private readonly _categoryCode: string,\n private readonly _availableFilters: Record\n ) {}\n\n /**\n * Returns the user's selected filters from state.\n * If no filters are found and an empty FilterList is returned.\n * The filters are filtered(!) against the available filters\n * defined on the current category in the backend so only existing filters are returned.\n */\n public loadSelectedFilters(): FilterList {\n // Retrieve the filters stored in the state for the current category code.\n const storedFilters = this._filterStateStore.state[this._categoryCode] || {};\n // The list of available filters read from props.\n const validFilters = {} as FilterList;\n let invalidFiltersFound = false;\n\n // Iterate over each filter in the stored filters.\n for (const key in storedFilters) {\n // Check if the stored filter category exists in the list of available filters.\n if (this._availableFilters[key]) {\n const storedValues = storedFilters[key];\n // Filter out the values that are not available for the current filter category.\n const validValues = storedValues.filter((storedValue: FilterValue) => {\n return this._availableFilters[key].includes(storedValue);\n });\n\n if (validValues.length !== storedValues.length) {\n invalidFiltersFound = true;\n }\n\n if (validValues.length > 0) {\n validFilters[key] = validValues;\n }\n } else {\n // Invalid filter key.\n invalidFiltersFound = true;\n }\n }\n\n // If any invalid values were found, update the state with the valid filters.\n if (invalidFiltersFound) {\n this.updateFilters(validFilters);\n }\n\n return validFilters;\n }\n\n public updateFilters(filters: FilterList): void {\n this._filterStateStore.update(this._categoryCode, filters);\n }\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot } from \"vue\"\n\nimport { useBreakpoints } from \"@/code/useBreakpoints\";\nimport { PropType, onMounted, reactive, ref, watch } from \"vue\";\nimport queryString from \"query-string\";\nimport { SearchRequest, SearchResponse, Sorting } from \"@/models/Search\";\nimport { useAsyncSpinner } from \"@/services/Spinner\";\nimport { DataLayerApi, ProductApi } from \"@/services/Api\";\nimport { ProductTile } from \"@/models/ProductList\";\nimport { useDebounceFn, useResizeObserver } from \"@vueuse/core\";\nimport { useCart } from \"@/store/useCart\";\nimport { FilterValueList } from \"@/store/useFilterState\";\nimport { useUmbracoForm } from \"@/store/useUmbracoForm\";\nimport { getCategoryProducts } from \"@/code/GoogleEventTracking\";\nimport { FilterService } from \"@/services/FilterService\";\n\ntype UrlSearchParams = {\n page: number | undefined;\n sorting: Sorting | undefined;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CategoryWrapper',\n props: {\n code: {\n type: String,\n required: true,\n },\n remainingProducts: {\n type: Number,\n required: true,\n },\n totalHits: {\n type: Number,\n required: true,\n },\n initialFacet: {\n type: String,\n required: false,\n default: \"\",\n },\n showOnlyAgreementProducts: {\n type: Boolean,\n required: true,\n },\n requestForFileFormId: {\n type: String,\n required: true,\n },\n requestForPriceFormId: {\n type: String,\n required: true,\n },\n contentId: {\n type: String,\n required: true,\n },\n availableFilters: {\n type: Object as PropType>,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\n\nconst filterService = new FilterService(props.code, props.availableFilters);\n\nconst cartStore = useCart();\nconst umbracoForms = useUmbracoForm();\n\nconst SortingDefault = Sorting.RelevanceDesc;\nconst initialProducts = getCategoryProducts();\n\nconst updateUrlHistory = (request: SearchRequest): void => {\n urlSearchParams.page = request.pageNo > 1 ? request.pageNo : undefined;\n urlSearchParams.sorting = request.sorting !== SortingDefault ? request.sorting : undefined;\n const urlQueryString = queryString.stringify(urlSearchParams);\n let url = new URL(location.href).pathname;\n if (urlQueryString) {\n url += \"?\" + urlQueryString;\n }\n window.history.pushState(structuredClone(request), \"\", url);\n};\n\nconst { isMd } = useBreakpoints();\nconst window2 = ref(window);\nconst onMoveToTopClick = () => {\n window.scrollTo({ top: 0, behavior: \"smooth\" });\n};\n\nconst loading = ref();\nconst products = ref>([]);\nconst response = ref();\nconst remainingProducts = ref(props.remainingProducts);\nconst totalHits = ref(props.totalHits);\nconst showOnlyAgreementProducts = ref(props.showOnlyAgreementProducts);\n\nconst showMore = async (): Promise => {\n await changePage();\n};\n\nconst onCartClick = async (partNo: string, quantity: number): Promise => {\n await useAsyncSpinner(async () => {\n await cartStore.addToCart(partNo, quantity, true);\n if (typeof window !== \"undefined\" && window.BiTracking) {\n const row = cartStore.rows.find((r) => r.item.partNo === partNo);\n window.BiTracking.addToBasket(partNo, row?.quantity, \"\", cartStore.id, \"\");\n }\n });\n};\n\nconst favorited = ref>([]);\nconst isFavorited = (id: string) => {\n return favorited.value.find((x) => x == id);\n};\nconst onFavoriteClick = (id: string) => {\n const val = favorited.value.find((x) => x == id);\n if (val) {\n favorited.value = favorited.value.filter((x) => x != id);\n } else {\n favorited.value.push(id);\n }\n};\n\nconst filters = ref(filterService.loadSelectedFilters());\n\nconst isFilterOpen = ref(0);\nconst onOpenFilterClick = () => {\n const filterEl = document.getElementById(\"filters__middle-container\");\n\n if (isFilterOpen.value == 0) {\n if (filterEl) {\n isFilterOpen.value = `${filterEl.scrollHeight}px`;\n setTimeout(() => {\n isFilterOpen.value = \"auto\";\n }, 300);\n }\n } else {\n if (filterEl) {\n isFilterOpen.value = `${filterEl.scrollHeight}px`;\n setTimeout(() => {\n isFilterOpen.value = \"0\";\n }, 10);\n }\n }\n};\n\nconst recalculateFilter = () => {\n const filterEl = document.getElementById(\"filters__middle-container\");\n if (filterEl) {\n isFilterOpen.value = filterEl.scrollHeight;\n }\n};\n\nconst onToggleFilterClick = (categoryId: string, id: string) => {\n let category = getFilterCategory(categoryId);\n const val = category.find((x) => x == id);\n if (val) {\n category = category.filter((x) => x != id);\n } else {\n category.push(id.toString());\n filters.value[categoryId] = category;\n }\n filters.value[categoryId] = category;\n currentPage.value = 0;\n hideInitialProducts.value = true;\n products.value = [];\n debouncedChangePage(true);\n filterService.updateFilters(filters.value);\n};\n\nconst onRemoveFilterClick = (categoryId: string, id: string) => {\n let category = getFilterCategory(categoryId);\n category = category.filter((x) => x != id);\n filters.value[categoryId] = category;\n currentPage.value = 0;\n products.value = [];\n debouncedChangePage(true);\n filterService.updateFilters(filters.value);\n};\nconst onRemoveAllFiltersClick = () => {\n filters.value = {};\n currentPage.value = 0;\n products.value = [];\n debouncedChangePage(true);\n filterService.updateFilters(filters.value);\n};\n\nconst getFilterCategory = (categoryId: string): FilterValueList => {\n let category = filters.value[categoryId] as FilterValueList;\n if (!category) {\n category = [];\n filters.value[categoryId] = category;\n }\n return category;\n};\n\nconst isFilterCategoryOpen = ref>([]);\nconst onToggleShowAllFilterCategory = (id: string) => {\n const val = isFilterCategoryOpen.value.find((x) => x == id);\n if (val) {\n isFilterCategoryOpen.value = isFilterCategoryOpen.value.filter((x) => x != id);\n } else {\n isFilterCategoryOpen.value.push(id);\n }\n setTimeout(recalculateFilter, 1);\n};\n\nconst categoryReadMoreHeight = ref(0);\n\nconst onToggleCategoryReadMore = () => {\n const readMoreId = isMd.value ? \"category-read-more\" : \"category-read-more2\";\n let contentEl = document.getElementById(readMoreId);\n if (contentEl) {\n if (categoryReadMoreHeight.value === 0) {\n categoryReadMoreHeight.value = contentEl.scrollHeight;\n } else {\n categoryReadMoreHeight.value = 0;\n }\n }\n};\nwatch(isMd, () => {\n if (categoryReadMoreHeight.value != 0) {\n onToggleCategoryReadMore();\n }\n});\n\nconst hideInitialProducts = ref(false);\n\nconst onSortChange = (event) => {\n sorting.value = event.target.value;\n currentPage.value = 0;\n changePage();\n};\n\nconst categoryCodes = Array(props.code);\nconst requestFullResult = ref(false);\n\nconst changePage = async (goForward = true): Promise => {\n loading.value = true;\n currentPage.value++;\n const request: SearchRequest = {\n categories: categoryCodes,\n selectedFacets: filters.value ?? null,\n term: null,\n pageNo: currentPage.value,\n sorting: sorting.value,\n requestFullResult: requestFullResult.value,\n showOnlyAgreementProducts: showOnlyAgreementProducts.value,\n contentId: props.contentId,\n };\n\n goForward && updateUrlHistory(request);\n\n await useAsyncSpinner(async () => {\n response.value = await ProductApi.categorySearch(request);\n\n if (requestFullResult.value || currentPage.value == 1) {\n hideInitialProducts.value = true;\n products.value = response.value.tiles;\n DataLayerApi.createViewItemListEvent(\"category\", Array.from(new Set(products.value.map((x) => x.sku))));\n } else {\n products.value?.push(...response.value.tiles);\n if (hideInitialProducts.value) {\n DataLayerApi.createViewItemListEvent(\n \"category\",\n products.value.map((x) => x.sku)\n );\n } else {\n DataLayerApi.createViewItemListEvent(\"category\", products.value.map((x) => x.sku).concat(initialProducts));\n }\n }\n updateFilters(response.value?.facets);\n remainingProducts.value = response.value?.remainingProducts;\n totalHits.value = response.value?.totalHits;\n loading.value = false;\n requestFullResult.value = false;\n });\n};\n\nconst reloadPage = async (pageNo: number): Promise => {\n loading.value = true;\n const request: SearchRequest = {\n contentId: props.contentId,\n categories: categoryCodes,\n selectedFacets: filters.value ?? null,\n term: null,\n pageNo: pageNo,\n sorting: sorting.value,\n requestFullResult: true,\n showOnlyAgreementProducts: showOnlyAgreementProducts.value,\n };\n\n await useAsyncSpinner(async () => {\n response.value = await ProductApi.categorySearch(request);\n hideInitialProducts.value = true;\n products.value = response.value.tiles;\n updateFilters(response.value?.facets);\n remainingProducts.value = response.value?.remainingProducts;\n totalHits.value = response.value?.totalHits;\n loading.value = false;\n });\n};\n\nconst debouncedChangePage = useDebounceFn(changePage, 500);\n\nconst updateFilters = (facets: Array) => {\n const groups = document.querySelectorAll(\".filter-group\");\n for (const group of groups) {\n let facetGroup = facets?.find((x) => x.key == group.id);\n if (!facetGroup) {\n facetGroup = facets?.find((x) => `${x.key}-2` == group.id);\n }\n const filters = [...group.querySelectorAll(\".filter\")];\n for (const filter of filters) {\n const filterId = filter.id.replace(`${group.id}-`, \"\").replace(\"2-\", \"\");\n const facetValue = facetGroup?.available.find((x) => x.value == filterId);\n if (facetValue) {\n if (filters.filter((x) => !x.classList.contains(\"d-none\")).length < 8 || facetGroup.key == \"Filter:Color\") {\n filter.classList.remove(\"d-none\");\n }\n if (facetGroup.key != \"Filter:Color\") {\n const filterValueEl = filter;\n if (filterValueEl) {\n filterValueEl.textContent = `${facetValue.value} (${facetValue.hits})`;\n }\n }\n } else {\n filter.classList.add(\"d-none\");\n }\n }\n const showAllButtonEl = group.querySelector(\".filters__show-all-button\");\n if (showAllButtonEl) {\n const hiddenFilters = filters.filter((x) => x.classList.contains(\"d-none\"));\n if (filters.length - hiddenFilters.length < 8) {\n showAllButtonEl.classList.add(\"d-none\");\n } else {\n showAllButtonEl.classList.remove(\"d-none\");\n }\n }\n }\n};\nconst isFiltersMenuOpen = ref(false);\nconst openFiltersMenu = () => {\n isFiltersMenuOpen.value = true;\n openFilterAccordion(props.initialFacet);\n};\nconst openFiltersMenu2 = () => {\n isFiltersMenuOpen.value = true;\n};\nconst closeFiltersMenu = () => {\n isFiltersMenuOpen.value = false;\n isSortOpen.value = false;\n};\nconst onFiltersMenuCloseClick = () => {\n closeFiltersMenu();\n};\nconst onFiltersModalClick = (ev) => {\n if (ev.target.classList.contains(\"filters-modal-main\")) {\n closeFiltersMenu();\n }\n};\nconst onFiltersMenuOpenClick = () => {\n openFiltersMenu();\n};\nconst onFiltersMenuOpenClick2 = (id: string) => {\n openFiltersMenu2();\n openFilterAccordion(id);\n};\nconst toggleDisplayMode = () => {\n showOnlyAgreementProducts.value = !showOnlyAgreementProducts.value;\n currentPage.value = 0;\n changePage(true);\n};\n\nconst filtersModalAccordionId = ref();\nconst filtersModalAccordionHeight = ref(0);\n\nconst openFilterAccordion = (id: string) => {\n filtersModalAccordionId.value = id;\n const contentEl = document\n .getElementById(filtersModalAccordionId.value)\n ?.querySelector(\".filters-modal__accordion__content\");\n if (contentEl) {\n filtersModalAccordionHeight.value = contentEl.scrollHeight;\n }\n};\n\nconst onToggleFilterAccordion = (id: string) => {\n if (id == filtersModalAccordionId.value) {\n filtersModalAccordionId.value = undefined;\n filtersModalAccordionHeight.value = 0;\n } else {\n filtersModalAccordionId.value = id;\n const contentEl = document.getElementById(id)?.querySelector(\".filters-modal__accordion__content\");\n if (contentEl) {\n filtersModalAccordionHeight.value = contentEl.scrollHeight;\n }\n }\n};\n\nuseResizeObserver(document.body, () => {\n if (filtersModalAccordionId.value) {\n const contentEl = document\n .getElementById(filtersModalAccordionId.value)\n ?.querySelector(\".filters-modal__accordion__content\");\n if (contentEl) {\n filtersModalAccordionHeight.value = contentEl.scrollHeight;\n }\n }\n});\nconst isSortOpen = ref(false);\nconst isSortOpen2 = ref(false);\nconst openSort = () => {\n isSortOpen.value = true;\n};\nconst closeSort = () => {\n isSortOpen.value = false;\n};\nconst openSort2 = () => {\n isSortOpen2.value = true;\n};\nconst closeSort2 = () => {\n isSortOpen2.value = false;\n};\nconst onOpenSortClick = () => {\n openSort();\n};\nconst onCloseSortClick = () => {\n closeSort();\n};\nconst onToggleSortClick = () => {\n if (isSortOpen2.value) {\n closeSort2();\n } else {\n openSort2();\n }\n};\nconst onSortChangeDesktop = ($ev) => {\n closeSort2();\n onSortChange($ev);\n};\nconst _hasFiltersValue = () => {\n return (\n Object.keys(filters.value)\n .map((x) => filters.value[x].length > 0)\n .indexOf(true) > -1\n );\n};\n\nconst createUrlSearchParams = (url: string): UrlSearchParams => {\n const query = queryString.parse(url);\n return {\n page: query.page ? parseInt(query.page.toString(), 10) : undefined,\n sorting: query.sorting as Sorting,\n };\n};\n\nlet urlSearchParams = reactive(createUrlSearchParams(location.search));\nconst currentPage = ref(urlSearchParams.page ?? 1);\nconst sorting = ref(urlSearchParams.sorting ?? SortingDefault);\n\nconst loadUmbracoForms = () => {\n if (props.requestForFileFormId) {\n umbracoForms.get(props.requestForFileFormId);\n }\n\n if (props.requestForPriceFormId) {\n umbracoForms.get(props.requestForPriceFormId);\n }\n};\n\nonMounted(async () => {\n if (filters.value && Object.keys(filters.value).length > 0 && _hasFiltersValue()) {\n hideInitialProducts.value = true;\n await reloadPage(currentPage.value);\n }\n\n toggleElementDisplayOnMounted();\n loadUmbracoForms();\n});\n\nwindow.addEventListener(\"popstate\", async (event: PopStateEvent) => {\n const request = event.state as SearchRequest;\n if (request) {\n const isForwardPagination =\n urlSearchParams.page != null &&\n request.pageNo - urlSearchParams.page === 1 &&\n request.sorting === urlSearchParams.sorting;\n request.requestFullResult = !isForwardPagination;\n currentPage.value = request.pageNo ?? 1;\n sorting.value = request.sorting;\n await useAsyncSpinner(async () => {\n response.value = await ProductApi.categorySearch(request);\n if (isForwardPagination) {\n products.value.push(...response.value.tiles);\n } else {\n hideInitialProducts.value = true;\n products.value = response.value.tiles;\n }\n updateFilters(response.value.facets);\n remainingProducts.value = response.value.remainingProducts;\n totalHits.value = response.value.totalHits;\n loading.value = false;\n urlSearchParams = createUrlSearchParams(location.href);\n });\n } else {\n // Initial page\n hideInitialProducts.value = false;\n products.value.length = 0;\n remainingProducts.value = props.remainingProducts;\n currentPage.value = 1;\n }\n});\n\nfunction toggleElementDisplayOnMounted(): void {\n const selectors = [\n \".product-listings-container\",\n \".category__footer-buttons\",\n \".filters__top-container\",\n \".filter-tags\",\n \".filters__mobile-menu\",\n \".loading\",\n ];\n\n selectors.forEach((selector) => {\n const element = document.querySelector(selector) as HTMLElement;\n if (element) {\n if (selector === \".loading\") {\n element.classList.add(\"d-none\");\n } else {\n element.classList.remove(\"d-none\", \"invisible\");\n }\n }\n });\n}\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n isMd: _unref(isMd),\n window2: window2.value,\n onMoveToTopClick: onMoveToTopClick,\n showMore: showMore,\n products: products.value,\n remainingProducts: remainingProducts.value,\n onCartClick: onCartClick,\n onFavoriteClick: onFavoriteClick,\n isFavorited: isFavorited,\n isFilterOpen: isFilterOpen.value,\n onOpenFilterClick: onOpenFilterClick,\n onToggleFilterClick: onToggleFilterClick,\n onRemoveFilterClick: onRemoveFilterClick,\n filters: filters.value,\n onRemoveAllFiltersClick: onRemoveAllFiltersClick,\n isFilterCategoryOpen: isFilterCategoryOpen.value,\n onToggleShowAllFilterCategory: onToggleShowAllFilterCategory,\n categoryReadMoreHeight: categoryReadMoreHeight.value,\n onToggleCategoryReadMore: onToggleCategoryReadMore,\n sorting: sorting.value,\n hideInitialProducts: hideInitialProducts.value,\n onSortChange: onSortChange,\n totalHits: totalHits.value,\n filtersModalAccordionId: filtersModalAccordionId.value,\n filtersModalAccordionHeight: filtersModalAccordionHeight.value,\n onToggleFilterAccordion: onToggleFilterAccordion,\n onFiltersMenuCloseClick: onFiltersMenuCloseClick,\n onFiltersMenuOpenClick: onFiltersMenuOpenClick,\n isFiltersMenuOpen: isFiltersMenuOpen.value,\n isSortOpen: isSortOpen.value,\n onOpenSortClick: onOpenSortClick,\n onCloseSortClick: onCloseSortClick,\n onToggleSortClick: onToggleSortClick,\n onSortChangeDesktop: onSortChangeDesktop,\n onFiltersMenuOpenClick2: onFiltersMenuOpenClick2,\n isSortOpen2: isSortOpen2.value,\n onFiltersModalClick: onFiltersModalClick,\n showOnlyAgreementProducts: showOnlyAgreementProducts.value,\n onToggleDisplayMode: toggleDisplayMode,\n availableFilters: __props.availableFilters\n })\n}\n}\n\n})","import script from \"./CategoryWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CategoryWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot } from \"vue\"\n\nimport { useBreakpoints } from \"@/code/useBreakpoints\";\nimport { inject, nextTick, onMounted, PropType, ref } from \"vue\";\nimport { useCart } from \"@/store/useCart\";\nimport { FavoritesApi, UmbracoFormsApi } from \"@/services/Api\";\nimport { IQuantityBreak } from \"@/models/IQuantityBreak\";\nimport { DataLayerApi } from \"@/services/Api\";\nimport { Emitter } from \"mitt\";\nimport { IUmbracoForm } from \"@/models/umbraco-forms/IUmbracoForm\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ProductWrapper',\n props: {\n images: {\n type: Array as PropType>,\n required: true,\n },\n price: {\n type: String,\n required: true,\n },\n oldPrice: {\n type: String,\n required: true,\n },\n quantityBreaks: {\n type: Array as PropType>,\n },\n isB2b: {\n type: Boolean,\n required: true,\n },\n showDiscountedPrice: {\n type: Boolean,\n required: true,\n },\n requestForPriceFormId: {\n type: String,\n required: true,\n },\n requestForFileFormId: {\n type: String,\n required: true,\n },\n isFavorited: {\n type: Boolean,\n },\n sku: {\n type: String,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\nconst cartStore = useCart();\n\n\nconst { isMd } = useBreakpoints();\n\nconst images = ref(props.images);\nconst showAccordion = ref();\nconst maxAccordionHeight = ref(0);\nconst emitter = inject>(\"eventbus\")!;\n\nconst onCartClick = async (partNo: string): Promise => {\n await cartStore.addToCart(partNo, quantity.value, true);\n DataLayerApi.createAddToCartEvent(partNo, quantity.value, \"product-page\");\n if (typeof window !== \"undefined\" && window.BiTracking) {\n const row = cartStore.rows.find((r) => r.item.partNo === partNo);\n window.BiTracking.addToBasket(partNo, row?.quantity, \"\", cartStore.id, \"\");\n }\n};\n\nconst isFavorited = ref(props.isFavorited);\nconst onFavoriteClick = async (id: string) => {\n if (window.isLoggedIn) {\n isFavorited.value = !isFavorited.value;\n FavoritesApi.post(id, isFavorited.value).then(() => {\n nextTick(() => {\n if (isFavorited.value) {\n emitter.emit(\"favoriteAdded\");\n } else {\n emitter.emit(\"favoriteRemoved\");\n }\n });\n });\n } else {\n openLoginForm();\n }\n};\n\nconst getAccordionContentHeight = (sourceElement: HTMLElement | null): number => {\n const accordionContent = sourceElement?.closest(\".accordion\")?.querySelector(\".accordion__content\");\n return accordionContent?.scrollHeight ?? 0;\n};\n\nconst onOpenAccordion = (ev: Event, id: string, scrollTo = true) => {\n const target = ev.target as HTMLElement;\n\n if (!target) {\n return;\n }\n\n if (showAccordion.value == id) {\n showAccordion.value = undefined;\n } else {\n showAccordion.value = id;\n }\n\n if (showAccordion.value != undefined) {\n maxAccordionHeight.value = getAccordionContentHeight(target);\n if (scrollTo) {\n setTimeout(() => {\n const boundBox = target.getBoundingClientRect();\n const headerOffset = 85;\n const offsetPosition = boundBox.top + window.scrollY - headerOffset;\n window.scroll({ top: offsetPosition, behavior: \"smooth\" });\n }, 250);\n }\n } else {\n maxAccordionHeight.value = 0;\n }\n};\n\nconst onOpenAccordionById = (elementId: string, id: string) => {\n if (showAccordion.value == id) {\n return;\n } else {\n showAccordion.value = id;\n }\n\n if (showAccordion.value != undefined) {\n maxAccordionHeight.value = getAccordionContentHeight(document.getElementById(elementId));\n } else {\n maxAccordionHeight.value = 0;\n }\n};\nconst onReadMoreProductInformation = () => {\n onOpenAccordionById(\"product-information\", \"productInformation\");\n setTimeout(() => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const el = document.getElementById(\"product-information\")!;\n const elRect = el.getBoundingClientRect();\n window.scrollTo(0, window.scrollY + elRect.top - 72);\n }, 300);\n};\nconst showDeliveryAccordion = ref();\nconst maxDeliveryAccordionHeight = ref(0);\nconst showDeliveryAccordion2 = ref();\nconst maxDeliveryAccordionHeight2 = ref(0);\nconst onOpenDeliveryAccordion = (ev: Event, id: string) => {\n if (showDeliveryAccordion.value == id && showDeliveryAccordion2.value == id) {\n showDeliveryAccordion.value = undefined;\n showDeliveryAccordion2.value = undefined;\n } else {\n showDeliveryAccordion.value = id;\n showDeliveryAccordion2.value = id;\n }\n\n let height = 0;\n\n if (showDeliveryAccordion.value != undefined && showDeliveryAccordion2.value != undefined) {\n height = getAccordionContentHeight(ev.target as HTMLElement);\n }\n\n maxDeliveryAccordionHeight.value = height;\n maxDeliveryAccordionHeight2.value = height;\n};\n\nconst isImageCarouselExpanded = ref(false);\nif (props.images) {\n isImageCarouselExpanded.value = props.images.length < 4;\n}\nconst onExpandImageCarousel = () => {\n isImageCarouselExpanded.value = !isImageCarouselExpanded.value;\n};\n\nconst isVariantPickerExpanded = ref(false);\nconst onVariantPickerExpandClick = () => {\n isVariantPickerExpanded.value = !isVariantPickerExpanded.value;\n};\n\nconst showDiscountedPrice = ref(props.showDiscountedPrice);\nconst price = ref(props.price);\nconst oldPrice = ref(props.oldPrice);\nconst quantity = ref(1);\n\nconst onQuantityChange = (ev: Event) => {\n quantity.value = parseInt((ev.target as HTMLInputElement).value, 10);\n if (props.quantityBreaks) {\n const quantityBreaks = props.quantityBreaks.filter((x) => x.qtyBreak <= quantity.value);\n let quantityBreak: IQuantityBreak | null = null;\n if (quantityBreaks && quantityBreaks.length > 0) {\n quantityBreak = quantityBreaks.reduce((prevVal, currVal) => {\n if (prevVal && prevVal.qtyBreak > currVal.qtyBreak) {\n return prevVal;\n } else {\n return currVal;\n }\n });\n }\n if (quantityBreak) {\n const newVal = props.isB2b ? quantityBreak.valueFormatted : quantityBreak.valueIncVatFormatted;\n showDiscountedPrice.value = true;\n price.value = newVal;\n } else {\n price.value = props.price;\n showDiscountedPrice.value = props.oldPrice ? props.oldPrice != props.price : false;\n }\n }\n};\n\nconst onQuantityBatchOption = (val: number, priceVal: string) => {\n quantity.value = val;\n price.value = priceVal;\n showDiscountedPrice.value = true;\n};\n\nconst onQuantityBatchOptionChange = (val: string) => {\n price.value = val;\n};\n\nconst isRequestForPriceOpen = ref(false);\n\nconst openRequestForPrice = () => {\n isRequestForPriceOpen.value = true;\n};\n\nconst closeRequestForPrice = () => {\n isRequestForPriceOpen.value = false;\n};\n\nconst requestForPriceFormDefinition = ref();\n\nconst isRequestForFileOpen = ref(false);\nconst openRequestForFile = () => {\n isRequestForFileOpen.value = true;\n};\nconst closeRequestForFile = () => {\n isRequestForFileOpen.value = false;\n};\n\nconst requestForFileFormDefinition = ref();\n\nconst isLoginFormOpen = ref(false);\n\nconst closeLoginForm = () => {\n isLoginFormOpen.value = false;\n};\n\nconst openLoginForm = () => {\n isLoginFormOpen.value = true;\n};\n\nconst loadRequestForFileForm = async () => {\n try {\n if (props.requestForFileFormId) {\n requestForFileFormDefinition.value = await UmbracoFormsApi.get(props.requestForFileFormId);\n }\n } catch (e) {\n console.log(e);\n }\n};\n\nconst loadRequestForPriceForm = async () => {\n try {\n if (props.requestForPriceFormId) {\n requestForPriceFormDefinition.value = await UmbracoFormsApi.get(props.requestForPriceFormId);\n }\n } catch (e) {\n console.log(e);\n }\n};\n\nconst createTrackingEvent = () => {\n window.setTimeout(async () => {\n await DataLayerApi.createItemViewEvent(props.sku, \"1\");\n }, 500);\n};\n\nconst activateVideo = () => {\n const videoEl = document.getElementById(\"video\");\n if (videoEl) {\n videoEl.click();\n }\n};\n\nonMounted(async () => {\n activateVideo();\n loadRequestForFileForm();\n loadRequestForPriceForm();\n createTrackingEvent();\n});\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n oldPrice: oldPrice.value,\n showDiscountedPrice: showDiscountedPrice.value,\n isMd: _unref(isMd),\n showAccordion: showAccordion.value,\n maxAccordionHeight: maxAccordionHeight.value,\n onOpenAccordion: onOpenAccordion,\n showDeliveryAccordion: showDeliveryAccordion.value,\n maxDeliveryAccordionHeight: maxDeliveryAccordionHeight.value,\n showDeliveryAccordion2: showDeliveryAccordion2.value,\n maxDeliveryAccordionHeight2: maxDeliveryAccordionHeight2.value,\n onOpenDeliveryAccordion: onOpenDeliveryAccordion,\n images: images.value,\n isImageCarouselExpanded: isImageCarouselExpanded.value,\n onExpandImageCarousel: onExpandImageCarousel,\n isVariantPickerExpanded: isVariantPickerExpanded.value,\n onVariantPickerExpandClick: onVariantPickerExpandClick,\n quantity: quantity.value,\n onQuantityChange: onQuantityChange,\n onQuantityBatchOption: onQuantityBatchOption,\n price: price.value,\n onQuantityBatchOptionChange: onQuantityBatchOptionChange,\n onOpenAccordionById: onOpenAccordionById,\n onReadMoreProductInformation: onReadMoreProductInformation,\n onFavoriteClick: onFavoriteClick,\n isFavorited: isFavorited.value,\n onCartClick: onCartClick,\n isRequestForPriceOpen: isRequestForPriceOpen.value,\n openRequestForPrice: openRequestForPrice,\n closeRequestForPrice: closeRequestForPrice,\n requestForPriceFormDefinition: requestForPriceFormDefinition.value,\n isRequestForFileOpen: isRequestForFileOpen.value,\n openRequestForFile: openRequestForFile,\n closeRequestForFile: closeRequestForFile,\n requestForFileFormDefinition: requestForFileFormDefinition.value,\n isLoginFormOpen: isLoginFormOpen.value,\n closeLoginForm: closeLoginForm,\n openLoginForm: openLoginForm\n })\n}\n}\n\n})","import script from \"./ProductWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ProductWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TabsBlockWrapper',\n setup(__props) {\n\nconst tabContentHeight = ref(0);\nconst openTabId = ref(0);\nconst openTab = (idx: number) => {\n openTabId.value = idx;\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n openTabId: openTabId.value,\n openTab: openTab,\n tabContentHeight: tabContentHeight.value\n })\n}\n}\n\n})","import script from \"./TabsBlockWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TabsBlockWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { ref } from \"vue\";\nimport { useAsyncSpinner } from \"@/services/Spinner\";\nimport { useCart } from \"@/store/useCart\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ProductListWrapper',\n setup(__props) {\n\nconst favorited = ref>([]);\nconst isFavorited = (id: string) => {\n return favorited.value.find((x) => x == id);\n};\nconst onFavoriteClick = (id: string) => {\n const val = favorited.value.find((x) => x == id);\n if (val) {\n favorited.value = favorited.value.filter((x) => x != id);\n } else {\n favorited.value.push(id);\n }\n};\n\nconst cartStore = useCart();\n\nconst onCartClick = async (partNo: string, quantity: number): Promise => {\n await useAsyncSpinner(async () => {\n await cartStore.addToCart(partNo, quantity, true);\n if (typeof window !== \"undefined\" && window.BiTracking) {\n const row = cartStore.rows.find((r) => r.item.partNo === partNo);\n window.BiTracking.addToBasket(partNo, row?.quantity, \"\", cartStore.id, \"\");\n }\n });\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n isFavorited: isFavorited,\n onFavoriteClick: onFavoriteClick,\n favorited: favorited.value,\n onCartClick: onCartClick,\n hideInitialProducts: false\n })\n}\n}\n\n})","import script from \"./ProductListWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ProductListWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CasePageWrapper',\n setup(__props) {\n\nconst favorited = ref>([]);\nconst isFavorited = (id: string) => {\n return favorited.value.find((x) => x == id);\n};\nconst onFavoriteClick = (id: string) => {\n const val = favorited.value.find((x) => x == id);\n if (val) {\n favorited.value = favorited.value.filter((x) => x != id);\n } else {\n favorited.value.push(id);\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n isFavorited: isFavorited,\n onFavoriteClick: onFavoriteClick,\n favorited: favorited.value\n })\n}\n}\n\n})","import script from \"./CasePageWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CasePageWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { onMounted, ref, watch } from \"vue\";\nimport { useBreakpoints } from \"@/code/useBreakpoints\";\nimport { useResizeObserver } from \"@vueuse/core\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'InspirationBlockWrapper',\n props: {\n numberOfTiles: {\n type: Number,\n required: true,\n },\n containerId: {\n type: String,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst { isLg } = useBreakpoints();\nconst showAllButton = ref(false);\nconst isShowingAll = ref(false);\nwatch(isLg, (currValue) => {\n _toggleShowAllButton(currValue);\n});\nconst showAll = () => {\n isShowingAll.value = true;\n};\nconst showLess = () => {\n isShowingAll.value = false;\n};\nconst toggleShowAll = () => {\n if (isShowingAll.value) {\n showLess();\n } else {\n showAll();\n }\n};\nuseResizeObserver(document.querySelector(\"body\"), () => {\n _calcHeight();\n});\nonMounted(() => {\n _toggleShowAllButton(isLg.value);\n _calcHeight();\n});\nconst _toggleShowAllButton = (currValue) => {\n if (currValue) {\n showAllButton.value = props.numberOfTiles > 10;\n } else {\n showAllButton.value = props.numberOfTiles > 8;\n }\n};\nconst _calcHeight = () => {\n const masonryContainerEl: HTMLElement | null = document.querySelector(`#${props.containerId}`);\n if (masonryContainerEl) {\n const showingEl = [...masonryContainerEl.children].find((x) => getComputedStyle(x).display != \"none\");\n if (showingEl) {\n const numberOfTilesToShow = isLg.value ? 2 : 4;\n const elements = [...showingEl.children].slice(0, numberOfTilesToShow);\n const height = elements.reduce((acc, currVal) => acc + currVal.clientHeight, 0);\n masonryContainerEl.style.maxHeight = `${height + 20 * numberOfTilesToShow - 18}px`;\n }\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n isShowingAll: isShowingAll.value,\n showAllButton: showAllButton.value,\n toggleShowAll: toggleShowAll\n })\n}\n}\n\n})","import script from \"./InspirationBlockWrapper.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./InspirationBlockWrapper.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot } from \"vue\"\n\nimport { inject, nextTick, onMounted, ref } from \"vue\";\nimport { useUmbracoForm } from \"@/store/useUmbracoForm\";\nimport { FavoritesApi } from \"@/services/Api\";\nimport { Emitter } from \"mitt\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ProductTileWrapper',\n props: {\n requestForFileFormId: {\n type: String,\n required: true,\n },\n requestForPriceFormId: {\n type: String,\n required: true,\n },\n isFavorited: {\n type: Boolean,\n required: false,\n default: false,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\nconst emitter = inject>(\"eventbus\")!;\nconst umbracoForms = useUmbracoForm();\n\n\nconst isRequestForFileOpen = ref(false);\nconst openRequestForFile = () => {\n isRequestForFileOpen.value = true;\n};\nconst closeRequestForFile = () => {\n isRequestForFileOpen.value = false;\n};\n\nconst isRequestForPriceOpen = ref(false);\nconst openRequestForPrice = () => {\n isRequestForPriceOpen.value = true;\n};\nconst closeRequestForPrice = () => {\n isRequestForPriceOpen.value = false;\n};\n\nconst isFavorited = ref(props.isFavorited);\n\nconst onFavoriteClick = (id: string) => {\n if (window.isLoggedIn) {\n isFavorited.value = !isFavorited.value;\n FavoritesApi.post(id, isFavorited.value).then(() => {\n nextTick(() => {\n if (isFavorited.value) {\n emitter.emit(\"favoriteAdded\");\n } else {\n emitter.emit(\"favoriteRemoved\");\n }\n });\n });\n } else {\n openLoginForm();\n }\n};\n\nconst isLoginFormOpen = ref(false);\n\nconst closeLoginForm = () => {\n isLoginFormOpen.value = false;\n};\n\nconst openLoginForm = () => {\n isLoginFormOpen.value = true;\n};\n\nconst loadUmbracoForms = () => {\n if (props.requestForFileFormId) {\n umbracoForms.get(props.requestForFileFormId);\n }\n\n if (props.requestForPriceFormId) {\n umbracoForms.get(props.requestForPriceFormId);\n }\n};\n\nonMounted(async () => {\n loadUmbracoForms();\n});\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n isRequestForFileOpen: isRequestForFileOpen.value,\n openRequestForFile: openRequestForFile,\n closeRequestForFile: closeRequestForFile,\n requestForFileFormDefinition: _unref(umbracoForms).state[__props.requestForFileFormId],\n isRequestForPriceOpen: isRequestForPriceOpen.value,\n openRequestForPrice: openRequestForPrice,\n closeRequestForPrice: closeRequestForPrice,\n requestForPriceFormDefinition: _unref(umbracoForms).state[__props.requestForPriceFormId],\n onFavoriteClick: onFavoriteClick,\n isFavorited: isFavorited.value,\n isLoginFormOpen: isLoginFormOpen.value,\n openLoginForm: openLoginForm,\n closeLoginForm: closeLoginForm\n })\n}\n}\n\n})","import script from \"./ProductTileWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ProductTileWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { PropType, ref, watch } from \"vue\";\nimport { useAsyncSpinner } from \"@/services/Spinner\";\nimport { useCart } from \"@/store/useCart\";\nimport { IPagination } from \"@/models/IPagination\";\nimport { DataLayerApi, SearchApi } from \"@/services/Api\";\nimport { Sorting } from \"@/models/Search\";\nimport { getSearchProducts } from \"@/code/GoogleEventTracking\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressSearchPageWrapper',\n props: {\n pagination: {\n type: Object as PropType,\n required: true,\n },\n term: {\n type: String,\n required: true,\n },\n showOnlyAgreementProducts: {\n type: Boolean,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\nconst cartStore = useCart();\n\n\n\nconst pagination = ref(props.pagination);\nconst hideInitialProducts = ref(false);\nconst products = ref([]);\nconst favorited = ref>([]);\nconst isSortOpen = ref(false);\nconst url = new URL(window.location.href);\nconst sorting = ref((url.searchParams.get(\"sorting\") as Sorting) || Sorting.RelevanceDesc);\nconst showOnlyAgreementProducts = ref(props.showOnlyAgreementProducts);\n\nconst toggleDisplayMode = () => {\n showOnlyAgreementProducts.value = !showOnlyAgreementProducts.value;\n reloadProducts();\n};\n\nconst _setUrlParamAndPushState = (key: string, value: string) => {\n const url = new URL(window.location.href);\n url.searchParams.set(key, value);\n window.history.pushState(null, \"\", url);\n};\n\nconst onSortChange = (ev) => {\n sorting.value = ev.target.value;\n _setUrlParamAndPushState(\"sorting\", sorting.value.toString());\n reloadProducts();\n};\n\nconst isFavorited = (id: string) => {\n return favorited.value.find((x) => x == id);\n};\n\nconst onFavoriteClick = (id: string) => {\n const val = favorited.value.find((x) => x == id);\n if (val) {\n favorited.value = favorited.value.filter((x) => x != id);\n } else {\n favorited.value.push(id);\n }\n};\n\nconst onCartClick = async (partNo: string, quantity: number): Promise => {\n await useAsyncSpinner(async () => {\n await cartStore.addToCart(partNo, quantity, true);\n if (typeof window !== \"undefined\" && window.BiTracking) {\n const row = cartStore.rows.find((r) => r.item.partNo === partNo);\n window.BiTracking.addToBasket(partNo, row?.quantity, \"\", cartStore.id, \"\");\n }\n });\n};\n\nconst onMoveToTopClick = () => {\n window.scrollTo({ top: 0, behavior: \"smooth\" });\n};\n\nconst openSort = () => {\n isSortOpen.value = true;\n};\n\nconst closeSort = () => {\n isSortOpen.value = false;\n};\n\nconst onToggleSortClick = () => {\n if (isSortOpen.value) {\n closeSort();\n } else {\n openSort();\n }\n};\n\nconst nextPage = async () => {\n pagination.value.currentPage++;\n _setUrlParamAndPushState(\"pageNo\", pagination.value.currentPage.toString());\n const res = await SearchApi.products(\n props.term,\n pagination.value.currentPage,\n sorting.value,\n false,\n showOnlyAgreementProducts.value\n );\n pagination.value = res.pagination;\n products.value = [...products.value, ...res.products];\n};\n\nconst reloadProducts = async () => {\n _setUrlParamAndPushState(\"pageNo\", pagination.value.currentPage.toString());\n const res = await SearchApi.products(\n props.term,\n pagination.value.currentPage,\n sorting.value,\n true,\n showOnlyAgreementProducts.value\n );\n hideInitialProducts.value = true;\n pagination.value = res.pagination;\n products.value = res.products;\n};\n\nconst initialProducts = getSearchProducts();\n\nwatch(products, (currVal) => {\n const currValSkus = currVal.map((x) => x.sku);\n const combinedProducts = initialProducts.concat(currValSkus);\n DataLayerApi.createViewItemListEvent(\"search-page\", combinedProducts);\n});\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n hideInitialProducts: hideInitialProducts.value,\n onCartClick: onCartClick,\n isFavorited: isFavorited,\n onFavoriteClick: onFavoriteClick,\n onMoveToTopClick: onMoveToTopClick,\n pagination: pagination.value,\n nextPage: nextPage,\n products: products.value,\n isSortOpen: isSortOpen.value,\n onToggleSortClick: onToggleSortClick,\n sorting: sorting.value,\n onSortChange: onSortChange,\n totalHits: pagination.value.totalHits,\n showOnlyAgreementProducts: showOnlyAgreementProducts.value,\n onToggleDisplayMode: toggleDisplayMode\n })\n}\n}\n\n})","import script from \"./TressSearchPageWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressSearchPageWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { nextTick, PropType, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AllCategoriesBlockWrapper',\n props: {\n contentId: {\n type: Array as PropType>,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\n\nconst showExpand = ref(true);\nconst isCategoryOpen = ref(0);\nconst expandedCategories = ref>([]);\n\nconst openCategory = (id: number) => {\n isCategoryOpen.value = id;\n nextTick(() => {\n const contentId = props.contentId[id];\n const contentEl = document.getElementById(contentId);\n if (contentEl && contentEl.scrollHeight > 450) {\n showExpand.value = true;\n } else {\n showExpand.value = false;\n }\n });\n};\n\nconst onCategoryClick = (id: number) => {\n openCategory(id);\n};\n\nconst expandCategory = (id: number) => {\n expandedCategories.value.push(id);\n};\n\nconst collapseCategory = (id: number) => {\n expandedCategories.value = expandedCategories.value.filter((x) => x != id);\n};\n\nconst onToggleExpandCategoryClick = (id: number) => {\n if (expandedCategories.value.includes(id)) {\n collapseCategory(id);\n } else {\n expandCategory(id);\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n isCategoryOpen: isCategoryOpen.value,\n onCategoryClick: onCategoryClick,\n expandedCategories: expandedCategories.value,\n onToggleExpandCategoryClick: onToggleExpandCategoryClick,\n showExpand: showExpand.value\n })\n}\n}\n\n})","import script from \"./AllCategoriesBlockWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AllCategoriesBlockWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { SalesmanApi } from \"@/services/Api\";\nimport { PropType, ref } from \"vue\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LinkBoxWrapper',\n props: {\n salesman: {\n type: Object as PropType,\n required: true,\n },\n postalCode: {\n type: String,\n required: false,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst salesmanInput = ref(props.postalCode);\nconst salesman = ref(JSON.parse(props.salesman));\nconst error = ref();\nconst salesmanButtonDisabled = ref(false);\nconst getSalesman = async (postalCode: string) => {\n try {\n salesmanInput.value = postalCode;\n salesmanButtonDisabled.value = true;\n error.value = undefined;\n salesman.value = await SalesmanApi.setPostalCookieAndGetSalesman(postalCode);\n } catch (e: any) {\n error.value = e;\n } finally {\n salesmanButtonDisabled.value = false;\n }\n};\nconst onGetSalesmanSubmit = async (values) => {\n await getSalesman(values.postalCode);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n onGetSalesmanSubmit: onGetSalesmanSubmit,\n salemanButtonDisabled: salesmanButtonDisabled.value,\n error: error.value,\n salesman: salesman.value,\n salesmanInput: salesmanInput.value\n })\n}\n}\n\n})","import script from \"./LinkBoxWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LinkBoxWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { SalesmanApi } from \"@/services/Api\";\nimport { PropType, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ContactSalesPersonBlockWrapper',\n props: {\n salesman: {\n type: Object as PropType,\n required: true,\n },\n postalCode: {\n type: String,\n required: false,\n },\n salesmanElementId: {\n type: String,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst salesmanInput = ref(props.postalCode);\nconst salesman = ref(JSON.parse(props.salesman));\nconst error = ref();\nconst salesmanButtonDisabled = ref(false);\nconst getSalesman = async (postalCode: string) => {\n try {\n salesmanInput.value = postalCode;\n salesmanButtonDisabled.value = true;\n error.value = undefined;\n salesman.value = await SalesmanApi.setPostalCookieAndGetSalesman(postalCode);\n } catch (e: any) {\n error.value = e;\n } finally {\n salesmanButtonDisabled.value = false;\n }\n};\nconst onGetSalesmanSubmit = async (values) => {\n await getSalesman(values.postalCode);\n const salesmanBlock = document.getElementById(props.salesmanElementId);\n if (salesmanBlock) {\n const rect = salesmanBlock.getBoundingClientRect();\n const y = rect.y + window.scrollY - 99;\n window.scroll({\n top: y,\n behavior: \"smooth\",\n });\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n onGetSalesmanSubmit: onGetSalesmanSubmit,\n salemanButtonDisabled: salesmanButtonDisabled.value,\n error: error.value,\n salesman: salesman.value,\n salesmanInput: salesmanInput.value\n })\n}\n}\n\n})","import script from \"./ContactSalesPersonBlockWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ContactSalesPersonBlockWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { ref } from \"vue\";\nimport { CaseApi } from \"@/services/Api\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FilterBlockWrapper',\n props: {\n totalHits: {\n type: Number,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst resetFilters = () => {\n activeFilters.value = {};\n updateCases();\n};\nconst isOpen = ref(false);\nconst hideInitial = ref(false);\nconst open = () => {\n isOpen.value = true;\n};\nconst close = () => {\n isOpen.value = false;\n};\nconst toggleOpen = () => {\n if (isOpen.value) {\n close();\n } else {\n open();\n }\n};\nconst onFilterClick = () => {\n toggleOpen();\n};\nconst activeFilters = ref({});\nconst setActiveFilter = (filterGroupKey: string, id: string) => {\n const group = getFilterCategory(filterGroupKey);\n if (group) {\n const val = activeFilters.value[filterGroupKey].find((x) => x == id);\n if (!val) {\n activeFilters.value[filterGroupKey].push(id);\n }\n }\n};\nconst setUnactiveFilter = (filterGroupKey: string, id: string) => {\n const group = getFilterCategory(filterGroupKey);\n if (group) {\n const val = activeFilters.value[filterGroupKey].find((x) => x == id);\n if (val) {\n activeFilters.value[filterGroupKey] = activeFilters.value[filterGroupKey].filter((x) => x != id);\n }\n }\n};\nconst toggleFilter = (filterGroupKey: string, id: string) => {\n const group = getFilterCategory(filterGroupKey);\n if (group) {\n const val = activeFilters.value[filterGroupKey].find((x) => x == id);\n if (val) {\n setUnactiveFilter(filterGroupKey, id);\n } else {\n setActiveFilter(filterGroupKey, id);\n }\n }\n};\nconst onToggleFilterClick = (filterGroupKey: string, id: string) => {\n toggleFilter(filterGroupKey, id);\n updateCases();\n};\nconst getFilterCategory = (categoryId: string) => {\n let category = activeFilters.value[categoryId];\n if (!category) {\n category = [];\n activeFilters.value[categoryId] = category;\n }\n return category;\n};\nconst result = ref();\nconst totalHits = ref(props.totalHits);\nconst updateCases = async () => {\n const response = await CaseApi.searchCases({ ...activeFilters.value });\n updateFilters(response?.facets);\n result.value = response.casePages;\n totalHits.value = response.totalHits;\n hideInitial.value = true;\n};\n\nconst updateFilters = (facets: Array) => {\n const groups = document.querySelectorAll(\".filter-group\");\n for (const group of groups) {\n let facetGroup = facets?.find((x) => x.key == group.id);\n if (!facetGroup) {\n facetGroup = facets?.find((x) => `${x.key}-2` == group.id);\n }\n const filters = [...group.querySelectorAll(\".filter-option\")];\n for (const filter of filters) {\n const filterId = filter.id.replace(`${group.id}-`, \"\").replace(\"2-\", \"\");\n const facetValue = facetGroup?.available.find((x) => x.value == filterId);\n if (facetValue) {\n filter.classList.remove(\"d-none\");\n const filterValueEl = filter.querySelector(\".filterValue\");\n if (filterValueEl) {\n filterValueEl.textContent = `${facetValue.value} (${facetValue.hits})`;\n }\n } else {\n filter.classList.add(\"d-none\");\n }\n }\n }\n};\n\nconst filtersModalAccordionId = ref();\nconst onToggleFilterAccordion = (id: string) => {\n if (filtersModalAccordionId.value == id) {\n filtersModalAccordionId.value = undefined;\n } else {\n filtersModalAccordionId.value = id;\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n activeFilters: activeFilters.value,\n isOpen: isOpen.value,\n onFilterClick: onFilterClick,\n onToggleFilterClick: onToggleFilterClick,\n result: result.value,\n hideInitial: hideInitial.value,\n filtersModalAccordionId: filtersModalAccordionId.value,\n onToggleFilterAccordion: onToggleFilterAccordion,\n closeFilters: close,\n resetFilters: resetFilters,\n totalHits: totalHits.value\n })\n}\n}\n\n})","import script from \"./FilterBlockWrapper.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./FilterBlockWrapper.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { ISalesman } from \"@/models/ISalesman\";\nimport { ILink } from \"@/models/ILink\";\n\nexport class Salesman implements ISalesman {\n fullName?: string;\n title?: string;\n moreInfoText?: string;\n image1Url?: string;\n image2Url?: string;\n phoneNumber?: string;\n email?: string;\n linkedInUrl?: string;\n role?: string;\n linkToPageOnGreen?: ILink;\n linkToPageOnBlue?: ILink;\n quote?: string;\n zipCodes?: Array;\n districtCode?: string;\n isDefault?: boolean;\n}\n","import { defineStore } from \"pinia\";\nimport Cookies from \"js-cookie\";\nimport { SalesmanApi } from \"@/services/Api\";\nimport { ISalesman } from \"@/models/ISalesman\";\nimport { Salesman } from \"@/models/Salesman\";\n\nexport const useChosenSalesman = defineStore(\"chosen-salesman\", {\n state: (): ISalesman => {\n return new Salesman();\n },\n actions: {\n async load(): Promise {\n const postalCode = Cookies.get(\"postal-code\");\n //We need to send a request even if postalCode is null because the user might have a district code\n const res = await SalesmanApi.setPostalCookieAndGetSalesman(postalCode);\n this.$patch({ ...res });\n },\n async update(postalCode: string): Promise {\n if (postalCode) {\n const res = await SalesmanApi.setPostalCookieAndGetSalesman(postalCode);\n this.$patch({ ...res });\n }\n },\n },\n});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot } from \"vue\"\n\nimport { useChosenSalesman } from \"@/store/useChosenSalesman\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SalesmanWrapper',\n setup(__props) {\n\nconst chosenSalesman = useChosenSalesman();\nconst onSearch = (ev) => {\n const formData = new FormData(ev.target);\n const formProps = Object.fromEntries(formData);\n const val = formProps[\"zipcode\"] as string;\n chosenSalesman.update(val);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n salesman: _unref(chosenSalesman),\n onSearch: onSearch\n })\n}\n}\n\n})","import script from \"./SalesmanWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SalesmanWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressLightboxWrapper',\n setup(__props) {\n\nconst isLightboxOpen = ref(false);\nconst index = ref(0);\nconst onImageClick = (idx: number | undefined) => {\n isLightboxOpen.value = true;\n if (idx) {\n index.value = idx;\n }\n};\nconst onLightboxHide = () => {\n isLightboxOpen.value = false;\n index.value = 0;\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n onImageClick: onImageClick,\n isLightboxOpen: isLightboxOpen.value,\n onLightboxHide: onLightboxHide,\n index: index.value\n })\n}\n}\n\n})","import script from \"./TressLightboxWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressLightboxWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot, createCommentVNode as _createCommentVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport {inject} from \"vue\";\nimport {Site} from \"@/enums/Site\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressSiteSeparator',\n setup(__props) {\n\nconst site = inject(\"tressSite\");\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(site) == _unref(Site).Green)\n ? _renderSlot(_ctx.$slots, \"green\", { key: 0 })\n : _createCommentVNode(\"\", true),\n (_unref(site) == _unref(Site).Blue)\n ? _renderSlot(_ctx.$slots, \"blue\", { key: 1 })\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./TressSiteSeparator.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressSiteSeparator.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"salesman-small__salesman\"\n}\nconst _hoisted_2 = { class: \"salesman-small__salesman__image\" }\nconst _hoisted_3 = [\"src\"]\nconst _hoisted_4 = { class: \"salesman-small__salesman__info\" }\nconst _hoisted_5 = { class: \"salesman-small__salesman__header\" }\nconst _hoisted_6 = { class: \"salesman-small__salesman__title\" }\nconst _hoisted_7 = { class: \"salesman-small__salesman__phone-number\" }\nconst _hoisted_8 = [\"href\"]\nconst _hoisted_9 = { class: \"salesman-small__salesman__buttons\" }\nconst _hoisted_10 = [\"href\"]\nconst _hoisted_11 = [\"href\"]\nconst _hoisted_12 = [\"href\"]\nconst _hoisted_13 = [\"href\"]\n\nimport { PropType } from \"vue\";\nimport { ISalesman } from \"@/models/ISalesman\";\nimport TressSiteSeparator from \"@/components/TressSiteSeparator.vue\";\nimport dictionary from \"@/i18n/dictionary.json\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressSalesmanInfo',\n props: {\n salesman: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n const _component_icon_mail = _resolveComponent(\"icon-mail\")!\n const _component_icon_linked_in = _resolveComponent(\"icon-linked-in\")!\n const _component_icon_user = _resolveComponent(\"icon-user\")!\n\n return (__props.salesman && __props.salesman.fullName)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", {\n src: __props.salesman.image1Url\n }, null, 8, _hoisted_3)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"p\", _hoisted_5, _toDisplayString(__props.salesman.fullName), 1),\n _createElementVNode(\"p\", _hoisted_6, _toDisplayString(__props.salesman.title), 1),\n _createElementVNode(\"p\", _hoisted_7, [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).common.tel)) + \": \", 1),\n _createElementVNode(\"a\", {\n class: \"salesman-small__salesman__phone-number__number\",\n href: `tel:${__props.salesman.phoneNumber}`\n }, _toDisplayString(__props.salesman.phoneNumber), 9, _hoisted_8)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n (__props.salesman.email)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n class: \"salesman-small__salesman__button\",\n href: `mailto:${__props.salesman.email}`\n }, [\n _createVNode(_component_icon_mail)\n ], 8, _hoisted_10))\n : _createCommentVNode(\"\", true),\n (__props.salesman.linkedInUrl)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 1,\n class: \"salesman-small__salesman__button\",\n href: __props.salesman.linkedInUrl\n }, [\n _createVNode(_component_icon_linked_in)\n ], 8, _hoisted_11))\n : _createCommentVNode(\"\", true),\n _createVNode(TressSiteSeparator, null, {\n green: _withCtx(() => [\n (__props.salesman.linkToPageOnGreen)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n class: \"salesman-small__salesman__button\",\n href: __props.salesman.linkToPageOnGreen.url\n }, [\n _createVNode(_component_icon_user)\n ], 8, _hoisted_12))\n : _createCommentVNode(\"\", true)\n ]),\n blue: _withCtx(() => [\n (__props.salesman.linkToPageOnBlue)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n class: \"salesman-small__salesman__button\",\n href: __props.salesman.linkToPageOnBlue.url\n }, [\n _createVNode(_component_icon_user)\n ], 8, _hoisted_13))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./TressSalesmanInfo.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressSalesmanInfo.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n","import { render } from \"./IconCloseModal.vue?vue&type=template&id=2ab3bf20\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createVNode as _createVNode, createElementVNode as _createElementVNode, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-93a1db30\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"tress-modal__header\" }\n\nimport { ref, watch } from \"vue\";\nimport IconCloseModal from \"@/components/icons/IconCloseModal.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressModal',\n props: {\n isOpen: {\n type: Boolean,\n required: false,\n },\n},\n emits: {\n open: () => true,\n close: () => true,\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\nconst isOpen = ref(props.isOpen);\nconst open = () => {\n isOpen.value = true;\n emit(\"open\");\n};\nconst close = () => {\n isOpen.value = false;\n emit(\"close\");\n};\nwatch(\n () => props.isOpen,\n (currVal: boolean) => {\n isOpen.value = currVal;\n }\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (isOpen.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"tress-modal-container\",\n onClick: close\n }, [\n _createElementVNode(\"div\", {\n class: \"tress-modal\",\n onClick: _cache[0] || (_cache[0] = _withModifiers(() => {}, [\"stop\"]))\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"header\"),\n _createElementVNode(\"button\", {\n class: \"swal2-close\",\n type: \"button\",\n onClick: close\n }, [\n _createVNode(IconCloseModal)\n ])\n ]),\n _renderSlot(_ctx.$slots, \"default\", {\n isOpen: isOpen.value,\n open: open,\n close: close\n })\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./TressModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressModal.vue?vue&type=style&index=0&id=93a1db30&lang=scss\"\nimport \"./TressModal.vue?vue&type=style&index=1&id=93a1db30&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-93a1db30\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CaseOverviewWrapper',\n setup(__props) {\n\nconst showMaps = ref(false);\nconst onMapsClick = () => {\n showMaps.value = true;\n};\nconst onGridClick = () => {\n showMaps.value = false;\n};\nconst onMoveToTopClick = () => {\n window.scrollTo({ top: 0, behavior: \"smooth\" });\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n showMaps: showMaps.value,\n onMapsClick: onMapsClick,\n onGridClick: onGridClick,\n onMoveToTopClick: onMoveToTopClick\n })\n}\n}\n\n})","import script from \"./CaseOverviewWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CaseOverviewWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n","import { render } from \"./IconHome.vue?vue&type=template&id=30ab9838\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconLinkedIn.vue?vue&type=template&id=371b575a\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IconHamburgerMenu.vue?vue&type=template&id=207093a9\"\nconst script = {}\n\nimport \"./IconHamburgerMenu.vue?vue&type=style&index=0&id=207093a9&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IconUser.vue?vue&type=template&id=498b6350\"\nconst script = {}\n\nimport \"./IconUser.vue?vue&type=style&index=0&id=498b6350&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconSliders.vue?vue&type=template&id=04f18fa3&scoped=true\"\nconst script = {}\n\nimport \"./IconSliders.vue?vue&type=style&index=0&id=04f18fa3&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-04f18fa3\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n width: \"98\",\n height: \"94\",\n viewBox: \"0 0 98 94\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n class: \"icon-curved-arrow-right\"\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'IconCurvedArrowRight',\n props: {\n styleInternal: {\n type: String,\n required: false,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [\n _createElementVNode(\"path\", {\n d: \"M97.2071 85.2929C97.5976 85.6834 97.5976 86.3166 97.2071 86.7071L90.8431 93.0711C90.4526 93.4616 89.8195 93.4616 89.4289 93.0711C89.0384 92.6805 89.0384 92.0474 89.4289 91.6569L95.0858 86L89.4289 80.3431C89.0384 79.9526 89.0384 79.3195 89.4289 78.9289C89.8195 78.5384 90.4526 78.5384 90.8431 78.9289L97.2071 85.2929ZM96.5 87C63.4976 87 39.4337 81.8947 23.6361 68.3457C7.79843 54.7622 0.5 32.9017 0.5 1.19249e-08L2.5 -1.19249e-08C2.5 32.6626 9.75112 53.8021 24.9382 66.8276C40.1654 79.8874 63.6016 85 96.5 85L96.5 87Z\",\n fill: \"white\",\n style: _normalizeStyle(__props.styleInternal)\n }, null, 4)\n ]))\n}\n}\n\n})","import script from \"./IconCurvedArrowRight.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./IconCurvedArrowRight.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n","import { render } from \"./IconCurvedArrowRight2.vue?vue&type=template&id=dddbeaa6\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IconCurvedArrowDown.vue?vue&type=template&id=ae211a00&scoped=true\"\nconst script = {}\n\nimport \"./IconCurvedArrowDown.vue?vue&type=style&index=0&id=ae211a00&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ae211a00\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconMultiColor.vue?vue&type=template&id=ed85d94c&scoped=true\"\nconst script = {}\n\nimport \"./IconMultiColor.vue?vue&type=style&index=0&id=ed85d94c&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-ed85d94c\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconTransparent.vue?vue&type=template&id=6d3c71a1&scoped=true\"\nconst script = {}\n\nimport \"./IconTransparent.vue?vue&type=style&index=0&id=6d3c71a1&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6d3c71a1\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconContact.vue?vue&type=template&id=e1d587e0\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconRal.vue?vue&type=template&id=dd662c34&scoped=true\"\nconst script = {}\n\nimport \"./IconRal.vue?vue&type=style&index=0&id=dd662c34&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-dd662c34\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IconMail.vue?vue&type=template&id=fe44b18a\"\nconst script = {}\n\nimport \"./IconMail.vue?vue&type=style&index=0&id=fe44b18a&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconMap.vue?vue&type=template&id=5b8d4cb0\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconCaseLarge.vue?vue&type=template&id=25a29ec4\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IconCasePageCity.vue?vue&type=template&id=40204fab&scoped=true\"\nconst script = {}\n\nimport \"./IconCasePageCity.vue?vue&type=style&index=0&id=40204fab&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-40204fab\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IconCasePageProductCategories.vue?vue&type=template&id=b1f0407a&scoped=true\"\nconst script = {}\n\nimport \"./IconCasePageProductCategories.vue?vue&type=style&index=0&id=b1f0407a&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b1f0407a\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./IconCasePageBuildYear.vue?vue&type=template&id=504daca2&scoped=true\"\nconst script = {}\n\nimport \"./IconCasePageBuildYear.vue?vue&type=style&index=0&id=504daca2&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-504daca2\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconCasePageActivities.vue?vue&type=template&id=98576552&scoped=true\"\nconst script = {}\n\nimport \"./IconCasePageActivities.vue?vue&type=style&index=0&id=98576552&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-98576552\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconCheckmark.vue?vue&type=template&id=69823726&scoped=true\"\nconst script = {}\n\nimport \"./IconCheckmark.vue?vue&type=style&index=0&id=69823726&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-69823726\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./IconWood.vue?vue&type=template&id=280d1bf8\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IconTrashBin.vue?vue&type=template&id=0286d3a5\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IconRemove.vue?vue&type=template&id=5d3b5801\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n","import { render } from \"./IconAdd.vue?vue&type=template&id=332212e3\"\nconst script = {}\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nimport { onMounted, ref, watch } from \"vue\";\nimport { useResizeObserver, useScroll } from \"@vueuse/core\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressScroll',\n props: {\n top: {\n type: Boolean,\n required: false,\n default: false,\n },\n},\n setup(__props) {\n\nconst el = ref();\nconst scrollTrack = ref();\nconst scrollThumb = ref();\nconst showScrollBar = ref(false);\n\n\n\nuseResizeObserver(document.body, () => {\n const scrollElement: HTMLElement = el.value?.children[0] as HTMLElement;\n const scrollWidth = scrollElement.scrollWidth;\n let clientWidth = scrollElement.clientWidth;\n if (scrollWidth > clientWidth + 12) {\n showScrollBar.value = true;\n scrollElement.style.overflowX = \"auto\";\n } else {\n showScrollBar.value = false;\n scrollElement.style.overflowX = \"hidden\";\n }\n});\n\nonMounted(() => {\n const scrollElement: HTMLElement = el.value?.children[0] as HTMLElement;\n const { x } = useScroll(scrollElement);\n watch(x, (currVal) => {\n if (scrollThumb.value && scrollTrack.value) {\n const trackWidth = scrollTrack.value.clientWidth;\n const thumbWidth = scrollThumb.value.clientWidth;\n const scrollWidth = scrollElement.scrollWidth;\n const clientWidth = scrollElement.clientWidth;\n const val = (trackWidth - thumbWidth) * (currVal / (scrollWidth - clientWidth));\n scrollThumb.value.style.left = `${val}px`;\n }\n });\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"scroll\", { 'scroll--show-bar': showScrollBar.value }]),\n ref_key: \"el\",\n ref: el\n }, [\n _renderSlot(_ctx.$slots, \"default\"),\n (showScrollBar.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\"scroll__bar\", { 'scroll__bar--top': __props.top }]),\n ref_key: \"scrollTrack\",\n ref: scrollTrack\n }, [\n _createElementVNode(\"div\", {\n class: \"scroll__thumb\",\n ref_key: \"scrollThumb\",\n ref: scrollThumb\n }, null, 512)\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","import script from \"./TressScroll.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressScroll.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressScroll.vue?vue&type=style&index=0&id=5b3a2f97&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, unref as _unref, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"tress-modal\" }\nconst _hoisted_2 = {\n id: \"specialAccessories\",\n class: \"accessories-popup\"\n}\nconst _hoisted_3 = { class: \"swal2-actions\" }\nconst _hoisted_4 = [\"href\"]\n\nimport { inject, nextTick, ref, watch } from \"vue\";\nimport { Emitter, EventType } from \"mitt\";\nimport { ProductApi } from \"@/services/Api\";\nimport { ProductTile } from \"@/models/ProductList\";\nimport dictionary from \"@/i18n/dictionary.json\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressSpecialAccessoriesModal',\n props: {\n checkOutPageUrl: {\n type: String,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nconst active = ref(false);\nconst specialAccessories = ref>([]);\nconst emitter = inject>>(\"eventbus\");\n\nconst toggleActive = (ev: MouseEvent | undefined, value: boolean) => {\n if (ev == undefined) {\n active.value = value;\n return;\n }\n const element = ev.target as HTMLElement;\n if (element.classList.contains(\"tress-modal-container\")) {\n active.value = value;\n }\n};\n\nif (emitter) {\n emitter.on(\"special accessories open\", (partNo) => {\n ProductApi.getSpecialAccessories(partNo).then((specialAccessoriesResult) => {\n nextTick(() => {\n specialAccessories.value = specialAccessoriesResult ?? [];\n toggleActive(undefined, specialAccessories.value.length > 0);\n });\n });\n });\n}\n\nwatch(active, () => {\n document.documentElement.style.overflow = active.value ? \"hidden\" : \"unset\";\n document.documentElement.style.height = active.value ? \"100%\" : \"unset\";\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tress_special_accessories_modal_view = _resolveComponent(\"tress-special-accessories-modal-view\")!\n\n return (active.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"tress-modal-container\",\n onClick: _cache[2] || (_cache[2] = (ev) => toggleActive(ev, false))\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"button\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (toggleActive(undefined, false))),\n type: \"button\",\n class: \"swal2-close\"\n }, \"×\"),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_tress_special_accessories_modal_view, { \"special-accessories\": specialAccessories.value }, null, 8, [\"special-accessories\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"button\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (active.value = false)),\n type: \"button\",\n class: \"btn btn-success button button--button-outlined\",\n style: {\"display\":\"inline-block\"}\n }, _toDisplayString(_ctx.$t(_unref(dictionary).common.continueShopping)), 1),\n _createElementVNode(\"a\", {\n href: __props.checkOutPageUrl,\n class: \"btn btn-danger button button--default\"\n }, _toDisplayString(_ctx.$t(_unref(dictionary).common.toCheckout)), 9, _hoisted_4)\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./TressSpecialAccessoriesModal.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressSpecialAccessoriesModal.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressSpecialAccessoriesModal.vue?vue&type=style&index=0&id=a889b2ce&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createCommentVNode as _createCommentVNode, createStaticVNode as _createStaticVNode } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createStaticVNode(\"
\", 1)\nconst _hoisted_2 = {\n class: \"swal2-title\",\n id: \"swal2-title\",\n style: {\"display\":\"block\"}\n}\nconst _hoisted_3 = {\n class: \"swal2-html-container\",\n id: \"swal2-html-container\",\n style: {\"display\":\"block\"}\n}\nconst _hoisted_4 = { class: \"swal2-html-container__heading\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"row gx-8 gx-lg-0 product__accessories\"\n}\nconst _hoisted_6 = {\n class: \"row g-5 g-md-4 product-listings product-scroll__container special-accessories\",\n id: \"special-accessories-product-list\"\n}\n\nimport { PropType } from \"vue\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { ProductTile } from \"@/models/ProductList\";\nimport TressProductTile from \"@/components/TressProductTile.vue\";\nimport { CustomerType } from \"@/enums/CustomerType\";\nimport { DataLayerApi } from \"@/services/Api\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressSpecialAccessoriesModalView',\n props: {\n specialAccessories: {\n type: Object as PropType>,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\n\nDataLayerApi.createViewItemListEvent(\n \"special-accessories\",\n props.specialAccessories.map((x) => x.sku)\n);\nconst showAsB2b = window.customerType == CustomerType.Business;\n\nreturn (_ctx: any,_cache: any) => {\n const _component_tress_scroll = _resolveComponent(\"tress-scroll\")!\n const _component_tress_carousel_controls = _resolveComponent(\"tress-carousel-controls\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createElementVNode(\"h2\", _hoisted_2, _toDisplayString(_ctx.$t(_unref(dictionary).modal.specialAccessories.title)), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"h3\", _hoisted_4, _toDisplayString(_ctx.$t(_unref(dictionary).modal.specialAccessories.text)), 1),\n (__props.specialAccessories)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode(_component_tress_scroll, { class: \"product-scroll\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.specialAccessories, (tile) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"col col-6 col-md-3 col-xl-3 product-listings__container\",\n key: tile.sku\n }, [\n _createVNode(TressProductTile, {\n content: tile,\n \"show-as-b2b\": showAsB2b,\n small: \"\"\n }, null, 8, [\"content\"])\n ]))\n }), 128))\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_tress_carousel_controls, {\n \"carousel-id\": \"special-accessories-product-list\",\n class: \"product-scroll__controls\"\n })\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","import script from \"./TressSpecialAccessoriesModalView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressSpecialAccessoriesModalView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressSpecialAccessoriesModalView.vue?vue&type=style&index=0&id=2beed04e&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode, resolveComponent as _resolveComponent } from \"vue\"\n\nconst _hoisted_1 = { class: \"vimeo-iframe__container\" }\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"vimeo-iframe__icon-container\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"vimeo-iframe__icon\" }, [\n /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"60\",\n height: \"65\",\n viewBox: \"0 0 60 65\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M56.6434 28.0552C60.1789 30.0308 60.1789 34.9698 56.6434 36.9454L8.91389 63.6163C5.37838 65.5919 0.958984 63.1224 0.958984 59.1712L0.958987 5.82943C0.958987 1.87819 5.37838 -0.591331 8.9139 1.38429L56.6434 28.0552Z\",\n fill: \"white\"\n })\n ])\n ])\n], -1)\nconst _hoisted_4 = {\n class: \"vimeo-iframe__player\",\n ref: \"playerRef\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_icon_close = _resolveComponent(\"icon-close\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_Transition, { name: \"fade\" }, {\n default: _withCtx(() => [\n (!$setup.isPlaying)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"vimeo-iframe__thumbnail-container\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => ($setup.play && $setup.play(...args)))\n }, [\n ($props.videoThumbnailUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n alt: \"\",\n class: \"vimeo-iframe__thumbnail\",\n src: $props.videoThumbnailUrl\n }, null, 8, _hoisted_2))\n : _createCommentVNode(\"\", true),\n _hoisted_3\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_4, null, 512),\n ($setup.isPlaying)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n onClick: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => ($setup.pause && $setup.pause(...args))),\n class: \"vimeo-iframe__close\"\n }, [\n _createVNode(_component_icon_close)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\nimport { ref, onMounted } from \"vue\";\nimport Player from \"@vimeo/player\";\n\nexport default {\n name: \"VideoPlayer\",\n props: {\n videoThumbnailUrl: {\n type: String,\n required: false,\n },\n vimeoId: {\n type: Number,\n required: true,\n },\n },\n setup(props) {\n let player: Player | undefined;\n const playerRef = ref(null);\n const isPlaying = ref(false);\n onMounted(() => {\n if (props.vimeoId && playerRef?.value) {\n const options = {\n id: props.vimeoId,\n loop: false,\n controls: true,\n muted: true,\n autoplay: false,\n };\n\n player = new Player(playerRef.value, options);\n }\n });\n\n const play = () => {\n player?.play().then(() => {\n isPlaying.value = true;\n });\n };\n\n const pause = () => {\n player?.pause();\n isPlaying.value = false;\n };\n\n return {\n player,\n isPlaying,\n playerRef,\n play,\n pause,\n };\n },\n};\n","import { render } from \"./TressVideoPlayer.vue?vue&type=template&id=1336462a&ts=true\"\nimport script from \"./TressVideoPlayer.vue?vue&type=script&lang=ts\"\nexport * from \"./TressVideoPlayer.vue?vue&type=script&lang=ts\"\n\nimport \"./TressVideoPlayer.vue?vue&type=style&index=0&id=1336462a&lang=scss\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"video-player2\" }\nconst _hoisted_2 = {\n class: \"video-player2__video\",\n controls: \"\",\n autoplay: \"\"\n}\nconst _hoisted_3 = [\"src\"]\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressVideoPlayer2',\n props: {\n videoThumbnailUrl: {\n type: String,\n required: false,\n },\n vimeoId: {\n type: String,\n required: true,\n },\n},\n emits: {\n close: () => true,\n},\n setup(__props, { emit: emits }) {\n\n\n\n\n\nconst onClose = () => {\n emits(\"close\");\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_icon_close = _resolveComponent(\"icon-close\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"video\", _hoisted_2, [\n _createElementVNode(\"source\", {\n src: __props.vimeoId,\n type: \"video/mp4\"\n }, null, 8, _hoisted_3),\n _createTextVNode(\" Your browser does not support the video tag. \")\n ]),\n _createElementVNode(\"span\", {\n onClick: onClose,\n class: \"vimeo-iframe__close\"\n }, [\n _createVNode(_component_icon_close)\n ])\n ]))\n}\n}\n\n})","import script from \"./TressVideoPlayer2.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressVideoPlayer2.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, Transition as _Transition, withCtx as _withCtx, createVNode as _createVNode, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"vimeo-iframe__thumbnail-container\"\n}\nconst _hoisted_2 = [\"src\"]\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"vimeo-iframe__icon-container\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"vimeo-iframe__icon\" }, [\n /*#__PURE__*/_createElementVNode(\"svg\", {\n width: \"60\",\n height: \"65\",\n viewBox: \"0 0 60 65\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, [\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M56.6434 28.0552C60.1789 30.0308 60.1789 34.9698 56.6434 36.9454L8.91389 63.6163C5.37838 65.5919 0.958984 63.1224 0.958984 59.1712L0.958987 5.82943C0.958987 1.87819 5.37838 -0.591331 8.9139 1.38429L56.6434 28.0552Z\",\n fill: \"white\"\n })\n ])\n ])\n], -1)\nconst _hoisted_4 = [\"autoplay\", \"loop\", \"muted\", \"playsinline\"]\nconst _hoisted_5 = [\"src\"]\n\nimport { onMounted, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressPreviewPlayer',\n props: {\n videoThumbnailUrl: {\n type: String,\n required: false,\n },\n vimeoId: {\n type: String,\n required: true,\n },\n loop: {\n type: Boolean,\n required: false,\n default: false,\n },\n muted: {\n type: Boolean,\n required: false,\n default: false,\n },\n autoplay: {\n type: Boolean,\n required: false,\n default: false,\n },\n playsinline: {\n type: Boolean,\n required: false,\n default: false,\n },\n},\n emits: {\n play: () => true,\n},\n setup(__props, { emit: emits }) {\n\nconst props = __props;\n\n\n\nconst playerRef = ref();\nconst loop = ref(props.loop);\nconst muted = ref(props.muted);\nconst autoplay = ref(props.autoplay);\nconst playsinline = ref(props.playsinline);\n\n\n\nconst onClick = () => {\n emits(\"play\");\n};\n\nonMounted(() => {\n if (!playerRef.value) {\n return;\n }\n\n const video = playerRef.value;\n const originalMutedState = video.muted;\n\n if (video.autoplay && video.paused) {\n if (!video.muted) {\n video.muted = true;\n }\n\n const promise = video.play();\n\n promise.catch(() => {\n // Autoplay not allowed!\n // Mute video and try to play again\n video.play();\n });\n\n video.muted = originalMutedState;\n }\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"video-player2\",\n onClick: onClick\n }, [\n _createVNode(_Transition, { name: \"fade\" }, {\n default: _withCtx(() => [\n (!autoplay.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (__props.videoThumbnailUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n alt: \"\",\n class: \"vimeo-iframe__thumbnail\",\n src: __props.videoThumbnailUrl\n }, null, 8, _hoisted_2))\n : _createCommentVNode(\"\", true),\n _hoisted_3\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createElementVNode(\"video\", {\n class: \"video-player2__video\",\n autoplay: autoplay.value,\n loop: loop.value,\n muted: muted.value,\n playsinline: playsinline.value,\n ref_key: \"playerRef\",\n ref: playerRef,\n onClick: onClick\n }, [\n _createElementVNode(\"source\", {\n src: __props.vimeoId.toString(),\n type: \"video/mp4\"\n }, null, 8, _hoisted_5),\n _createTextVNode(\" Your browser does not support the video tag. \")\n ], 8, _hoisted_4)\n ]))\n}\n}\n\n})","import script from \"./TressPreviewPlayer.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressPreviewPlayer.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"google-map__info-window\" }\nconst _hoisted_2 = { class: \"google-map__info-window__image-container\" }\nconst _hoisted_3 = { class: \"google-map__info-window__info\" }\nconst _hoisted_4 = [\"innerHTML\"]\nconst _hoisted_5 = [\"href\"]\n\nimport { GoogleMap, Marker, MarkerCluster, InfoWindow } from \"vue3-google-map\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport TressResponsivePicture from \"@/components/TressResponsivePicture.vue\";\nimport { PropType, computed } from \"vue\";\nimport { IResponsiveImagesModel } from \"@/models/IResponsiveImagesModel\";\n\ntype MarkerModel = {\n name: string;\n coordinate: {\n lat: number;\n lng: number;\n };\n squareImage: IResponsiveImagesModel;\n url: string;\n};\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressGoogleMap',\n props: {\n center: {\n type: Object,\n required: true,\n },\n markers: {\n type: Object as PropType,\n required: true,\n },\n zoom: {\n type: Number,\n required: true,\n },\n apiKey: {\n type: String,\n required: false,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\n\nconst markersWithCoordinates = computed(() =>\n props.markers.filter((x) => x.coordinate != null && !isNaN(x.coordinate.lat) && !isNaN(x.coordinate.lng))\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_unref(GoogleMap), {\n \"api-key\": __props.apiKey,\n center: __props.center,\n \"disable-default-ui\": true,\n draggable: true,\n zoom: __props.zoom,\n \"zoom-control\": true,\n class: \"google-map\",\n style: {\"width\":\"100%\",\"height\":\"100%\",\"position\":\"relative\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(MarkerCluster), null, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(markersWithCoordinates.value, (marker) => {\n return (_openBlock(), _createBlock(_unref(Marker), {\n key: marker.name,\n options: { position: marker.coordinate }\n }, {\n default: _withCtx(() => [\n _createVNode(_unref(InfoWindow), null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(TressResponsivePicture, {\n pictures: marker.squareImage,\n class: \"google-map__info-window__img\"\n }, null, 8, [\"pictures\"])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", {\n class: \"google-map__info-window__info__header\",\n innerHTML: marker.name\n }, null, 8, _hoisted_4),\n _createElementVNode(\"a\", {\n href: marker.url,\n class: \"button button--default-denary move-to-top google-map__info-window__link\",\n type: \"button\"\n }, _toDisplayString(_ctx.$t(_unref(dictionary).caseOverview.readMore)), 9, _hoisted_5)\n ])\n ])\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"options\"]))\n }), 128))\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"api-key\", \"center\", \"zoom\"]))\n}\n}\n\n})","import script from \"./TressGoogleMap.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressGoogleMap.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressGoogleMap.vue?vue&type=style&index=0&id=f6abac44&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"cart-popup__main__item__amount-selector\" }\nconst _hoisted_2 = { class: \"cart-popup__main__item__amount-selector__remove\" }\nconst _hoisted_3 = [\"disabled\"]\nconst _hoisted_4 = [\"value\"]\nconst _hoisted_5 = { class: \"cart-popup__main__item__amount-selector__add\" }\n\nimport { ref, watch } from \"vue\";\nimport { DataLayerApi } from \"@/services/Api\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCartAmountSelector',\n props: {\n modelValue: {\n type: Number,\n required: true,\n },\n partno: {\n type: String,\n required: true,\n },\n},\n emits: {\n \"update:modelValue\": (value: number) => {\n return true;\n },\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\nconst onMinusClick = () => {\n DataLayerApi.createRemoveFromCartEvent(props.partno, 1);\n if (props.modelValue - 1 == 1) {\n isMinusButtonDisabled.value = true;\n }\n emit(\"update:modelValue\", props.modelValue - 1);\n};\nconst onPlusClick = () => {\n DataLayerApi.createAddToCartEvent(props.partno, 1, \"cart\");\n isMinusButtonDisabled.value = false;\n emit(\"update:modelValue\", props.modelValue + 1);\n};\nconst isMinusButtonDisabled = ref(props.modelValue == 1);\nwatch(\n () => props.modelValue,\n (currVal: number) => {\n isMinusButtonDisabled.value = currVal == 1;\n }\n);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_icon_remove = _resolveComponent(\"icon-remove\")!\n const _component_icon_add = _resolveComponent(\"icon-add\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"button\", {\n class: \"btn btn-minus\",\n disabled: isMinusButtonDisabled.value,\n onClick: onMinusClick\n }, [\n _createVNode(_component_icon_remove)\n ], 8, _hoisted_3)\n ]),\n _createElementVNode(\"input\", {\n class: \"form-control cart-popup__main__item__amount-selector__quantity\",\n disabled: \"\",\n min: \"0\",\n name: \"quantity\",\n value: __props.modelValue,\n type: \"number\"\n }, null, 8, _hoisted_4),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"button\", {\n class: \"btn btn-plus\",\n onClick: onPlusClick\n }, [\n _createVNode(_component_icon_add)\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./TressCartAmountSelector.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressCartAmountSelector.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { CustomerType } from \"@/enums/CustomerType\";\n\nexport class PriceExtensions {\n static getPriceFormattedByCustomerType = (privatePrice: string, businessPrice: string): string => {\n if (window.customerType == CustomerType.Private) {\n return privatePrice;\n }\n return businessPrice;\n };\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, unref as _unref, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"for\"]\nconst _hoisted_2 = { class: \"col batch-discount-option__container\" }\nconst _hoisted_3 = [\"id\", \"checked\"]\nconst _hoisted_4 = { class: \"batch-discount-option__label\" }\nconst _hoisted_5 = { class: \"batch-discount-option__sub-label\" }\n\nimport { PropType, ref } from \"vue\";\nimport { IQuantityBreak } from \"@/models/IQuantityBreak\";\nimport { Uuid } from \"@/code/Uuid\";\nimport { PriceExtensions } from \"@/code/PriceExtensions\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCartQuantityOption',\n props: {\n quantityBreak: {\n type: Object as PropType,\n required: true,\n },\n isChecked: {\n type: Boolean,\n required: true,\n },\n unitOfMeasurement: {\n type: String,\n required: true,\n },\n},\n emits: {\n click: (quantityBreak: IQuantityBreak) => true,\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\nconst inputId = ref(Uuid.newUuid());\nconst onClick = () => {\n emit(\"click\", props.quantityBreak);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"label\", {\n class: _normalizeClass([\"row align-items-center g-0 batch-discount-option\", { 'batch-discount-option--checked': __props.isChecked }]),\n for: inputId.value\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"input\", {\n id: inputId.value,\n class: \"batch-discount-option__input\",\n type: \"radio\",\n value: \"\",\n onChange: onClick,\n checked: __props.isChecked\n }, null, 40, _hoisted_3),\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(__props.quantityBreak.qtyBreak) + \" \" + _toDisplayString(__props.unitOfMeasurement), 1),\n _createElementVNode(\"p\", _hoisted_5, _toDisplayString(_unref(PriceExtensions).getPriceFormattedByCustomerType(\n __props.quantityBreak.valueIncVatFormatted,\n __props.quantityBreak.valueFormatted\n )) + \" pr. \" + _toDisplayString(__props.unitOfMeasurement), 1)\n ])\n ], 10, _hoisted_1))\n}\n}\n\n})","import script from \"./TressCartQuantityOption.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressCartQuantityOption.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-031179c6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"cart-mass-discount\" }\nconst _hoisted_2 = { class: \"cart-mass-discount__heading\" }\nconst _hoisted_3 = { class: \"cart-mass-discount__items\" }\n\nimport dictionary from \"@/i18n/dictionary.json\";\nimport TressCartQuantityOption from \"@/components/TressCartQuantityOption.vue\";\nimport { onMounted, PropType, ref, watch } from \"vue\";\nimport { IQuantityBreak } from \"@/models/IQuantityBreak\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCartQuantitySelector',\n props: {\n quantityBreaks: {\n type: Array as PropType>,\n required: true,\n },\n quantity: {\n type: Number,\n required: true,\n },\n unitOfMeasurement: {\n type: String,\n required: true,\n },\n},\n emits: {\n click: (quantityBreak: IQuantityBreak) => true,\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\n\n\nconst quantityBreaks = ref(props.quantityBreaks);\nconst onOptionClick = (quantityBreak: IQuantityBreak) => {\n quantityBreak.isChecked = true;\n quantityBreaks.value\n .filter((x) => x.value != quantityBreak.value)\n .map((x) => {\n x.isChecked = false;\n return x;\n });\n emit(\"click\", quantityBreak);\n};\nwatch(\n () => props.quantity,\n (currVal: number) => {\n _calcQuantityBreakChecked(currVal);\n }\n);\nconst _calcQuantityBreakChecked = (currVal) => {\n const qtyBreak = quantityBreaks.value\n .filter((x) => x.qtyBreak <= currVal)\n .map((x) => {\n return { item: x, score: Math.abs(x.qtyBreak - currVal) };\n })\n .sort((x, y) => x.score - y.score)[0];\n if (qtyBreak) {\n qtyBreak.item.isChecked = true;\n quantityBreaks.value\n .filter((x) => x.qtyBreak != qtyBreak.item.qtyBreak)\n .map((x) => {\n x.isChecked = false;\n return x;\n });\n } else {\n quantityBreaks.value.map((x) => {\n x.isChecked = false;\n return x;\n });\n }\n};\nonMounted(() => {\n _calcQuantityBreakChecked(props.quantity);\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.$t(_unref(dictionary).common.massDiscount)), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(quantityBreaks.value, (quantityBreak) => {\n return (_openBlock(), _createBlock(TressCartQuantityOption, {\n key: quantityBreak.qtyBreak,\n \"is-checked\": quantityBreak.isChecked,\n \"quantity-break\": quantityBreak,\n onClick: onOptionClick,\n unitOfMeasurement: __props.unitOfMeasurement\n }, null, 8, [\"is-checked\", \"quantity-break\", \"unitOfMeasurement\"]))\n }), 128))\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./TressCartQuantitySelector.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressCartQuantitySelector.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressCartQuantitySelector.vue?vue&type=style&index=0&id=031179c6&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-031179c6\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"cart-popup__content\" }\nconst _hoisted_2 = { class: \"cart-popup__header\" }\nconst _hoisted_3 = { class: \"cart-popup__header__heading\" }\nconst _hoisted_4 = { class: \"cart-popup__header__sub-heading\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"cart-popup__header__warning-info\"\n}\nconst _hoisted_6 = { class: \"cart-popup__main\" }\nconst _hoisted_7 = { class: \"cart-popup__main__items-list\" }\nconst _hoisted_8 = [\"href\"]\nconst _hoisted_9 = [\"alt\", \"src\"]\nconst _hoisted_10 = { class: \"cart-popup__main__item__info\" }\nconst _hoisted_11 = { class: \"cart-popup__main__item__info-left\" }\nconst _hoisted_12 = [\"href\"]\nconst _hoisted_13 = { class: \"cart-popup__main__item__art-nr\" }\nconst _hoisted_14 = {\n key: 0,\n class: \"cart-popup__main__item__amount-price\"\n}\nconst _hoisted_15 = {\n key: 1,\n class: \"cart-popup__main__item__amount-price\"\n}\nconst _hoisted_16 = { class: \"cart-popup__main__item__info-right\" }\nconst _hoisted_17 = [\"onClick\"]\nconst _hoisted_18 = { class: \"cart-popup__main__item__price-container\" }\nconst _hoisted_19 = {\n key: 0,\n class: \"cart-popup__main__item__price cart-popup__main__item__price--old\"\n}\nconst _hoisted_20 = {\n key: 1,\n class: \"cart-popup__main__item__price cart-popup__main__item__price--old\"\n}\nconst _hoisted_21 = { class: \"cart-popup__main__price-container\" }\nconst _hoisted_22 = { class: \"cart-popup__footer\" }\nconst _hoisted_23 = { class: \"cart-popup__footer__button-container\" }\nconst _hoisted_24 = [\"href\"]\nconst _hoisted_25 = {\n key: 0,\n class: \"cart-popup__footer__logos-container\"\n}\nconst _hoisted_26 = [\"alt\", \"src\"]\n\nimport { onMounted, reactive, watch } from \"vue\";\nimport { useCart } from \"@/store/useCart\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport TressCartAmountSelector from \"@/components/TressCartAmountSelector.vue\";\nimport { IIconLink } from \"@/models/IIconLink\";\nimport TressCartQuantitySelector from \"@/components/TressCartQuantitySelector.vue\";\nimport { IQuantityBreak } from \"@/models/IQuantityBreak\";\nimport { CartRow } from \"@/models/Cart\";\nimport { useDebounceFn } from \"@vueuse/core\";\nimport { PriceExtensions } from \"@/code/PriceExtensions\";\nimport { useCheckout } from \"@/store/useCheckout\";\nimport { DataLayerApi } from \"@/services/Api\";\nimport { CustomerType } from \"@/enums/CustomerType\";\nimport { useI18n } from \"vue-i18n\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressCartPopUp',\n props: {\n isCartPopUpOpen: {\n type: Boolean,\n required: true,\n },\n checkOutPageUrl: {\n type: String,\n required: true,\n },\n},\n emits: {\n close: () => {\n return true;\n },\n},\n setup(__props, { emit }) {\n\nconst props = __props;\n\nconst paymentMethods = reactive>([] as Array);\nconst cartStore = useCart();\nconst checkout = useCheckout();\nlet closeEventController: AbortController | null;\n\n\n\n\n\nconst loadPaymentMethodLogos = () => {\n const paymentMethodLogos = document.querySelector(\"#footer-payment-methods\")?.querySelectorAll(\"img\");\n if (paymentMethodLogos) {\n paymentMethodLogos.forEach((img: HTMLImageElement) => {\n paymentMethods.push({\n iconUrl: img.src,\n } as IIconLink);\n });\n }\n};\n\nconst $t = useI18n().t;\nconst customerType = window.customerType;\nconst vatText = () =>\n customerType === CustomerType.Private ? $t(dictionary.common.includeVat) : $t(dictionary.common.excludeVat);\n\nconst updateItemQuantity = async (partNo: string, quantity: number) => {\n if (typeof window !== \"undefined\" && window.BiTracking) {\n window.BiTracking.addToBasket(partNo, quantity, \"\", cartStore.id, \"\");\n }\n Promise.all([cartStore.updateQuantityFromCart(partNo, quantity), checkout.clearDeliveryMethod()]);\n};\n\nconst removeItem = async (partNo: string, quantity: number) => {\n if (typeof window !== \"undefined\" && window.BiTracking) {\n window.BiTracking.removeFromBasket(partNo);\n }\n DataLayerApi.createRemoveFromCartEvent(partNo, quantity);\n Promise.all([cartStore.removeFromCart(partNo), checkout.clearDeliveryMethod()]);\n};\n\nconst onCloseClick = () => {\n emit(\"close\");\n};\n\nconst onAmountClick = (partNo: string, quantity: number) => {\n debouncedUpdateItemQuantity(partNo, quantity);\n};\n\nconst onQuantityBreakClick = (quantityBreak: IQuantityBreak, row: CartRow) => {\n DataLayerApi.createAddToCartEvent(row.item.partNo, quantityBreak.qtyBreak - row.quantity, \"cart-popup\");\n debouncedUpdateItemQuantity(row.item.partNo, quantityBreak.qtyBreak);\n};\n\nconst debouncedUpdateItemQuantity = useDebounceFn((partNo: string, quantity: number) => {\n updateItemQuantity(partNo, quantity);\n}, 700);\n\nconst tryClose = (ev: MouseEvent) => {\n if (!(ev.target as HTMLElement).closest(\".cart-popup, .header__cart, .order-summary__edit\")) {\n removeCloseEventListener();\n emit(\"close\");\n }\n};\n\nconst addCloseEventListener = () => {\n closeEventController = new AbortController();\n document.addEventListener(\"click\", tryClose, { signal: closeEventController.signal });\n};\n\nconst removeCloseEventListener = () => {\n closeEventController?.abort();\n};\n\nwatch(\n () => props.isCartPopUpOpen,\n (value) => {\n if (value) {\n addCloseEventListener();\n } else {\n removeCloseEventListener();\n }\n }\n);\n\nonMounted(() => {\n loadPaymentMethodLogos();\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_icon_close = _resolveComponent(\"icon-close\")!\n const _component_icon_info = _resolveComponent(\"icon-info\")!\n const _component_icon_trash_bin = _resolveComponent(\"icon-trash-bin\")!\n\n return (_openBlock(), _createElementBlock(\"dialog\", {\n class: _normalizeClass([{ 'cart-popup--show': __props.isCartPopUpOpen }, \"cart-popup\"])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", null, _toDisplayString(_unref($t)(_unref(dictionary).cart.cart)), 1),\n _createElementVNode(\"button\", {\n class: \"cart-popup__header__close-button\",\n onClick: onCloseClick\n }, [\n _createVNode(_component_icon_close)\n ])\n ]),\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_unref($t)(_unref(dictionary).cart.amount)) + \": \" + _toDisplayString(_unref(cartStore).itemQuantity), 1),\n (_unref(cartStore).hasRemovedItems)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode(_component_icon_info),\n _createElementVNode(\"p\", null, _toDisplayString(_unref($t)(_unref(dictionary).cart.warningMessageNotInStock)), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"ul\", _hoisted_7, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(cartStore).rows, (row) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: row.item.partNo,\n class: \"cart-popup__main__item\"\n }, [\n _createElementVNode(\"a\", {\n href: row.item.url,\n class: \"cart-popup__main__item__img\"\n }, [\n _createElementVNode(\"img\", {\n alt: row.item.name,\n src: row.item.imageUrl\n }, null, 8, _hoisted_9)\n ], 8, _hoisted_8),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"a\", {\n href: row.item.url,\n class: \"cart-popup__main__item__name\"\n }, [\n _createElementVNode(\"h3\", null, _toDisplayString(row.item.name), 1)\n ], 8, _hoisted_12),\n _createElementVNode(\"p\", _hoisted_13, _toDisplayString(row.item.partNo), 1),\n (_unref(cartStore).discountCode)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_14, _toDisplayString(_unref(PriceExtensions).getPriceFormattedByCustomerType(row.item.originalPriceIncVat, row.item.originalPrice)) + \"/\" + _toDisplayString(row.item.unitOfMeasurement), 1))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_15, _toDisplayString(_unref(PriceExtensions).getPriceFormattedByCustomerType(row.item.priceIncVat, row.item.price)) + \"/\" + _toDisplayString(row.item.unitOfMeasurement), 1)),\n _createVNode(TressCartAmountSelector, {\n modelValue: row.quantity,\n \"onUpdate:modelValue\": [($event: any) => ((row.quantity) = $event), ($event: any) => (onAmountClick(row.item.partNo, row.quantity))],\n partno: row.item.partNo\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"partno\"])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"button\", {\n class: \"cart-popup__main__item__remove\",\n onClick: ($event: any) => (removeItem(row.item.partNo, row.quantity))\n }, [\n _createVNode(_component_icon_trash_bin)\n ], 8, _hoisted_17),\n _createElementVNode(\"div\", _hoisted_18, [\n (_unref(cartStore).discountCode)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_19, _toDisplayString(_unref(PriceExtensions).getPriceFormattedByCustomerType(row.originalPriceIncVat, row.originalPrice)), 1))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_20, _toDisplayString(_unref(PriceExtensions).getPriceFormattedByCustomerType(row.priceIncVat, row.price)), 1))\n ])\n ])\n ]),\n (row.quantityBreaks.length > 0)\n ? (_openBlock(), _createBlock(TressCartQuantitySelector, {\n key: 0,\n quantity: row.quantity,\n \"quantity-breaks\": row.quantityBreaks,\n unitOfMeasurement: row.item.unitOfMeasurement,\n onClick: (quantityBreak) => onQuantityBreakClick(quantityBreak, row)\n }, null, 8, [\"quantity\", \"quantity-breaks\", \"unitOfMeasurement\", \"onClick\"]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"strong\", null, _toDisplayString(_unref($t)(_unref(dictionary).cart.total)), 1),\n _createElementVNode(\"p\", null, _toDisplayString(vatText()), 1)\n ]),\n _createElementVNode(\"p\", null, _toDisplayString(_unref(PriceExtensions).getPriceFormattedByCustomerType(\n _unref(cartStore).summary.originalTotal.amountIncVat,\n _unref(cartStore).summary.originalTotal.amount\n )), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"a\", {\n href: __props.checkOutPageUrl,\n class: \"button button--default\"\n }, _toDisplayString(_unref($t)(_unref(dictionary).cart.goToCheckout)), 9, _hoisted_24)\n ]),\n (paymentMethods.length)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_25, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(paymentMethods, (logo) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: logo.iconUrl\n }, [\n _createElementVNode(\"img\", {\n alt: logo.title,\n src: logo.iconUrl\n }, null, 8, _hoisted_26)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 2))\n}\n}\n\n})","import script from \"./TressCartPopUp.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressCartPopUp.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressCartPopUp.vue?vue&type=style&index=0&id=67cc81b8&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createCommentVNode as _createCommentVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { ref } from \"vue\";\nimport TressButton from \"@/components/TressButton.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressBuyButton',\n emits: {\n click: (state: boolean) => {\n return true;\n },\n},\n setup(__props, { emit }) {\n\n\nconst internalState = ref(false);\nconst onClick = () => {\n internalState.value = true;\n setTimeout(() => {\n internalState.value = false;\n }, 3000);\n emit(\"click\", internalState.value);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(TressButton, { onClick: onClick }, {\n default: _withCtx(() => [\n (!internalState.value)\n ? _renderSlot(_ctx.$slots, \"off\", { key: 0 })\n : _renderSlot(_ctx.$slots, \"on\", { key: 1 })\n ]),\n _: 3\n }))\n}\n}\n\n})","import script from \"./TressBuyButton.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressBuyButton.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createCommentVNode as _createCommentVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { ref } from \"vue\";\nimport TressIconButton from \"@/components/TressIconButton.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressBuyButtonIcon',\n emits: {\n click: (state: boolean) => {\n return true;\n },\n},\n setup(__props, { emit }) {\n\n\nconst internalState = ref(false);\nconst onClick = () => {\n internalState.value = true;\n setTimeout(() => {\n internalState.value = false;\n }, 3000);\n emit(\"click\", internalState.value);\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(TressIconButton, { onClick: onClick }, {\n default: _withCtx(() => [\n (!internalState.value)\n ? _renderSlot(_ctx.$slots, \"off\", { key: 0 })\n : _renderSlot(_ctx.$slots, \"on\", { key: 1 })\n ]),\n _: 3\n }))\n}\n}\n\n})","import script from \"./TressBuyButtonIcon.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressBuyButtonIcon.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import { render } from \"./IconSuccess.vue?vue&type=template&id=dcecfa28&scoped=true\"\nconst script = {}\n\nimport \"./IconSuccess.vue?vue&type=style&index=0&id=dcecfa28&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-dcecfa28\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, renderSlot as _renderSlot, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4931e566\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"success\" }\nconst _hoisted_2 = { class: \"success__header\" }\nconst _hoisted_3 = { class: \"success__description\" }\n\nimport IconSuccess from \"@/components/icons/IconSuccess.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressFormSuccess',\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(IconSuccess, { class: \"success__icon\" }),\n _createElementVNode(\"p\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"header\")\n ]),\n _createElementVNode(\"p\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"description\")\n ])\n ]))\n}\n}\n\n})","import script from \"./TressFormSuccess.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressFormSuccess.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressFormSuccess.vue?vue&type=style&index=0&id=4931e566&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4931e566\"]])\n\nexport default __exports__","import { TressExceptions } from \"@/code/TressExceptions\";\n\nexport default (maybeTressException: unknown): TressExceptions | undefined => {\n if (typeof maybeTressException === \"number\") {\n return maybeTressException;\n } else if (typeof maybeTressException === \"string\") {\n return Number(TressExceptions[maybeTressException]);\n }\n return undefined;\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, resolveComponent as _resolveComponent, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"reset-password\" }\nconst _hoisted_2 = { class: \"reset-password__container reset-password__container--small\" }\nconst _hoisted_3 = { class: \"reset-password__header\" }\nconst _hoisted_4 = { class: \"reset-password__description\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"text-input__error-message text-input__error-message--global\"\n}\nconst _hoisted_6 = [\"disabled\"]\n\nimport TressTextInput from \"@/components/TressTextInput.vue\";\nimport dictionary from \"./../../i18n/dictionary.json\";\nimport TressFormSuccess from \"@/components/TressFormSuccess.vue\";\nimport { ref } from \"vue\";\nimport { MemberApi } from \"@/services/Api\";\nimport { TressExceptions } from \"@/code/TressExceptions\";\nimport { useI18n } from \"vue-i18n\";\nimport TressException from \"@/services/TressException\";\n\ninterface FormDataValues {\n username: string;\n password: string;\n password2: string;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressAccountResetPasswordForm',\n props: {\n header: {\n type: String,\n required: true,\n },\n description: {\n type: String,\n required: true,\n },\n successHeader: {\n type: String,\n required: true,\n },\n successDescription: {\n type: String,\n required: true,\n },\n},\n setup(__props) {\n\nconst $t = useI18n().t;\n\n\nconst isSending = ref(false);\nconst hasSuccess = ref(false);\nconst form = ref();\nconst queryParams = new URLSearchParams(window.location.search);\nconst email = ref(queryParams.get(\"email\") ?? undefined);\nconst token = queryParams.get(\"token\");\n\nconst onSubmit = async (values: FormDataValues) => {\n try {\n isSending.value = true;\n\n if (!email.value) {\n throw TressExceptions.ChangeReset_InvalidMailAddress;\n }\n\n if (!token) {\n throw TressExceptions.Unknown_Error;\n }\n\n await MemberApi.resetPassword(token, email.value, values.password, values.password2);\n hasSuccess.value = true;\n } catch (error: unknown) {\n hasSuccess.value = false;\n switch (TressException(error)) {\n case TressExceptions.ChangeReset_InvalidMailAddress:\n form.value.setFieldError(\"email\", $t(dictionary.form.error.invalidMailAddress));\n break;\n case TressExceptions.ChangeReset_InvalidPassword:\n form.value.setFieldError(\"password\", $t(dictionary.form.error.invalidPassword));\n break;\n case TressExceptions.ChangeReset_PasswordsMustMatch:\n form.value.setFieldError(\"password2\", $t(dictionary.form.error.passwordMustMatch));\n break;\n case TressExceptions.ResetPassword_ResetPasswordFailed:\n form.value.setFieldError(\"\", $t(dictionary.form.error.resetPasswordFailed));\n break;\n case TressExceptions.Unknown_Error:\n default:\n form.value.setFieldError(\"\", $t(dictionary.form.error.unknownError));\n break;\n }\n } finally {\n isSending.value = false;\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_field = _resolveComponent(\"v-field\")!\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!hasSuccess.value)\n ? (_openBlock(), _createBlock(_component_v_form, {\n key: 0,\n onSubmit: onSubmit,\n class: \"reset-password__container\",\n ref_key: \"form\",\n ref: form\n }, {\n default: _withCtx(({ errors }) => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"p\", _hoisted_3, _toDisplayString(__props.header), 1),\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(__props.description), 1)\n ]),\n _createVNode(TressTextInput, {\n label: _unref($t)(_unref(dictionary).form.email.label),\n name: \"email\",\n modelValue: email.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((email).value = $event)),\n rules: \"required\",\n disabled: true,\n class: \"reset-password__email-input\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.email.label)), 1)\n ]),\n _: 1\n }, 8, [\"label\", \"modelValue\"]),\n _createVNode(TressTextInput, {\n label: _unref($t)(_unref(dictionary).form.password.label),\n name: \"password\",\n type: \"password\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.password.label)), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(TressTextInput, {\n label: _unref($t)(_unref(dictionary).form.password2.label),\n name: \"password2\",\n type: \"password\",\n rules: \"required|confirmed:@password\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.password2.label)), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _withDirectives(_createVNode(_component_v_field, { name: \"\" }, null, 512), [\n [_vShow, false]\n ]),\n (errors[''])\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_5, _toDisplayString(errors[\"\"]), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"button\", {\n class: \"button reset-password__submit-button\",\n disabled: isSending.value\n }, _toDisplayString(_unref($t)(_unref(dictionary).account.changePassword)), 9, _hoisted_6)\n ]),\n _: 1\n }, 512))\n : (_openBlock(), _createBlock(TressFormSuccess, { key: 1 }, {\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.successHeader), 1)\n ]),\n description: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.successDescription), 1)\n ]),\n _: 1\n }))\n ]))\n}\n}\n\n})","import script from \"./TressAccountResetPasswordForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressAccountResetPasswordForm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressAccountResetPasswordForm.vue?vue&type=style&index=0&id=791059d2&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","export enum EmailValidatorResult {\n InvalidEmailFormat,\n UserDoesNotExist,\n UmbracoUserExists,\n MigrationUserExists,\n}\n\nexport type CustomerNumberValidatorResult = {\n success: boolean;\n name: string;\n};\n\nexport type RegisterAccountType = \"private\" | \"business\";\n\nexport type RegisterAccountPrivate = {\n type: \"private\";\n name: string;\n email: string;\n phoneNumber: string;\n password: string;\n password2: string;\n customerAddress: string;\n customerAddress2: string;\n customerPostalCode: string;\n customerCity: string;\n};\n\nexport type RegisterAccountBusiness = {\n type: \"business\";\n name: string;\n email: string;\n phoneNumber: string;\n password: string;\n password2: string;\n customerNumber: string;\n customerName: string;\n customerAddress: string;\n customerAddress2: string;\n customerPostalCode: string;\n customerCity: string;\n customerPhoneNumber: string;\n customerEmail: string;\n customerCVR: string;\n customerEAN: string;\n};\n","import { MemberApi } from \"@/services/Api\";\nimport { EmailValidatorResult } from \"@/models/AccountRegister\";\n\nexport class Validator {\n static emailValidate = async (email: string): Promise => {\n try {\n if (Validator.isValidEmailAddress(email)) {\n const result = await MemberApi.validateEmail(email);\n return result;\n } else {\n return EmailValidatorResult.InvalidEmailFormat;\n }\n } catch (e) {\n return EmailValidatorResult.InvalidEmailFormat;\n }\n };\n\n static zipCodeRules = () => {\n const lang = (document.querySelector(\"html\") as HTMLHtmlElement).getAttribute(\"lang\") as string;\n let zipCodeRules = /^[0-9]{4,5}$/;\n if (lang == \"sv\") {\n zipCodeRules = /^[0-9]{5}$/;\n }\n return zipCodeRules;\n };\n\n static isValidEmailAddress(email: string): boolean {\n // Taken from HTML spec: https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address\n const emailRegExp =\n /^[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;\n return emailRegExp.test(email);\n }\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, vShow as _vShow, withDirectives as _withDirectives, createElementBlock as _createElementBlock, Teleport as _Teleport } from \"vue\"\n\nconst _hoisted_1 = { href: \"#login\" }\nconst _hoisted_2 = {\n key: 9,\n class: \"text-input__error-message text-input__error-message--global\"\n}\nconst _hoisted_3 = [\"disabled\"]\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { key: 1 }\nconst _hoisted_8 = { href: \"\" }\n\nimport { computed, ref, watch } from \"vue\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { EmailValidatorResult, RegisterAccountPrivate } from \"@/models/AccountRegister\";\nimport TressTextInput from \"@/components/TressTextInput.vue\";\nimport { MemberApi } from \"@/services/Api\";\nimport TressFormSuccess from \"@/components/TressFormSuccess.vue\";\nimport { Validator } from \"@/code/Validator\";\nimport { useI18n } from \"vue-i18n\";\nimport TressAlert from \"@/components/TressAlert.vue\";\nimport { TressExceptions } from \"@/code/TressExceptions\";\nimport TressException from \"@/services/TressException\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressAccountRegisterPrivateForm',\n emits: [\"success\"],\n setup(__props, { emit: emits }) {\n\nconst $t = useI18n().t;\n\n\nconst hasSuccess = ref(false);\nconst isSending = ref(false);\nconst userAlreadyExists = ref(false);\nconst migrationUserExists = ref(false);\nconst form = ref();\nconst queryParams = new URLSearchParams(window.location.search);\nconst returnUrl = ref(queryParams.get(\"returnUrl\"));\n\nconst onSubmit = async (values) => {\n try {\n isSending.value = true;\n\n if (migrationUserExists.value) {\n hasSuccess.value = await MemberApi.migrateAccount(register.value.email, register.value.name, \"private\");\n emits(\"success\");\n } else {\n values.type = \"private\";\n hasSuccess.value = await MemberApi.registerAccountPrivate(values);\n emits(\"success\");\n setTimeout(() => {\n if (returnUrl.value) {\n window.location.href = returnUrl.value;\n }\n }, 30000);\n }\n } catch (error: unknown) {\n switch (TressException(error)) {\n case TressExceptions.Register_AlreadyLoggedIn:\n form.value.setFieldError(\"\", $t(dictionary.form.error.alreadyLoggedIn));\n break;\n case TressExceptions.Register_EmailAlreadyExists:\n form.value.setFieldError(\"email\", $t(dictionary.form.error.emailAlreadyExists));\n break;\n case TressExceptions.Register_InvalidMailAddress:\n form.value.setFieldError(\"email\", $t(dictionary.form.error.invalidMailAddress));\n break;\n case TressExceptions.Register_InvalidPassword:\n form.value.setFieldError(\"password\", $t(dictionary.form.error.invalidPassword));\n break;\n case TressExceptions.Register_MissingName:\n form.value.setFieldError(\"name\", $t(dictionary.form.error.missingName));\n break;\n case TressExceptions.Register_MissingPhoneNumber:\n form.value.setFieldError(\"phoneNumber\", $t(dictionary.form.error.missingPhoneNumber));\n break;\n case TressExceptions.Register_PasswordsMustMatch:\n form.value.setFieldError(\"password2\", $t(dictionary.form.error.passwordMustMatch));\n break;\n case TressExceptions.Register_MissingCustomerAddress:\n form.value.setFieldError(\"customerAddress\", $t(dictionary.form.error.missingCustomerAddress));\n break;\n case TressExceptions.Register_MissingCustomerZip:\n form.value.setFieldError(\"customerPostalCode\", $t(dictionary.form.error.missingCustomerZip));\n break;\n case TressExceptions.Register_MissingCustomerCity:\n form.value.setFieldError(\"customerCity\", $t(dictionary.form.error.missingCustomerCity));\n break;\n case TressExceptions.Unknown_Error:\n default:\n form.value.setFieldError(\"\", $t(dictionary.form.error.unknownError));\n break;\n }\n } finally {\n isSending.value = false;\n }\n};\nconst register = ref({} as RegisterAccountPrivate);\nwatch(\n () => register.value.email,\n async (currVal) => {\n const validationResult = await Validator.emailValidate(currVal);\n if (Number(EmailValidatorResult[validationResult]) == EmailValidatorResult.UmbracoUserExists) {\n userAlreadyExists.value = true;\n } else if (Number(EmailValidatorResult[validationResult]) == EmailValidatorResult.MigrationUserExists) {\n migrationUserExists.value = true;\n }\n }\n);\nconst newRegistration = computed(() => {\n return !migrationUserExists.value;\n});\nconst submitButtonText = computed(() => {\n if (migrationUserExists.value) {\n return $t(dictionary.account.migrateAccount);\n } else {\n return $t(dictionary.account.createAccount);\n }\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_field = _resolveComponent(\"v-field\")!\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (!hasSuccess.value)\n ? (_openBlock(), _createBlock(_component_v_form, {\n key: 0,\n ref_key: \"form\",\n ref: form,\n class: \"register-private-form\",\n onSubmit: onSubmit\n }, {\n default: _withCtx(({ errors }) => [\n _createVNode(TressTextInput, {\n modelValue: register.value.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((register.value.name) = $event)),\n label: _unref($t)(_unref(dictionary).form.name.label),\n name: \"name\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.name.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n _createVNode(TressTextInput, {\n modelValue: register.value.email,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((register.value.email) = $event)),\n label: _unref($t)(_unref(dictionary).form.email.label),\n name: \"email\",\n rules: \"required|email\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.email.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n (userAlreadyExists.value)\n ? (_openBlock(), _createBlock(TressAlert, {\n key: 0,\n success: true\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.alreadyHaveAnAccount)) + \" \", 1),\n _createElementVNode(\"a\", _hoisted_1, _toDisplayString(_unref($t)(_unref(dictionary).form.loginHere)), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (migrationUserExists.value)\n ? (_openBlock(), _createBlock(TressAlert, {\n key: 1,\n success: true\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.migrationUserExists)), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 2,\n modelValue: register.value.customerAddress,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((register.value.customerAddress) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerAddress.label),\n name: \"customerAddress\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerAddress.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 3,\n modelValue: register.value.customerAddress2,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((register.value.customerAddress2) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerAddress2.label),\n name: \"customerAddress2\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerAddress2.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 4,\n modelValue: register.value.customerPostalCode,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((register.value.customerPostalCode) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerZip.label),\n class: \"register-business-form__input register-business-form__input--half\",\n name: \"customerPostalCode\",\n rules: { required: true, regex: _unref(Validator).zipCodeRules() }\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerZip.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\", \"rules\"]))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 5,\n modelValue: register.value.customerCity,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((register.value.customerCity) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerCity.label),\n class: \"register-business-form__input register-business-form__input--half\",\n name: \"customerCity\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerCity.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 6,\n modelValue: register.value.phoneNumber,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((register.value.phoneNumber) = $event)),\n label: _unref($t)(_unref(dictionary).form.phoneNumber.label),\n name: \"phoneNumber\",\n rules: { required: true, regex: /^\\d*$/ }\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.phoneNumber.placeholder)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 7,\n modelValue: register.value.password,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((register.value.password) = $event)),\n label: _unref($t)(_unref(dictionary).form.password.label),\n name: \"password\",\n rules: \"required\",\n type: \"password\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.password.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 8,\n modelValue: register.value.password2,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((register.value.password2) = $event)),\n label: _unref($t)(_unref(dictionary).form.password2.label),\n name: \"password2\",\n rules: { required: true, confirmed: { target: '@password' } },\n type: \"password\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.password2.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createVNode(_component_v_field, { name: \"\" }, null, 512), [\n [_vShow, false]\n ]),\n (errors[''])\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_2, _toDisplayString(errors[\"\"]), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"button\", {\n disabled: isSending.value,\n class: \"button register-private-form__submit-button\"\n }, _toDisplayString(submitButtonText.value), 9, _hoisted_3)\n ]),\n _: 1\n }, 512))\n : (_openBlock(), _createBlock(_Teleport, {\n key: 1,\n to: \"#success-container\"\n }, [\n _createVNode(TressFormSuccess, null, {\n header: _withCtx(() => [\n (migrationUserExists.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, _toDisplayString(_unref($t)(_unref(dictionary).account.migrateAccountSuccessHeader)), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(_unref($t)(_unref(dictionary).account.registerAccountSuccessHeader)), 1))\n ]),\n description: _withCtx(() => [\n (migrationUserExists.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(_unref($t)(_unref(dictionary).account.migrateAccountSuccessDescription)), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_7, [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).account.registerAccountSuccessDescription)) + \" \", 1),\n _createElementVNode(\"a\", _hoisted_8, _toDisplayString(_unref($t)(_unref(dictionary).common.clickHere)), 1)\n ]))\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./TressAccountRegisterPrivateForm.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressAccountRegisterPrivateForm.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressAccountRegisterPrivateForm.vue?vue&type=style&index=0&id=12b16518&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, vShow as _vShow, withDirectives as _withDirectives, Teleport as _Teleport, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a6cabf0c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { href: \"#login\" }\nconst _hoisted_2 = {\n key: 5,\n class: \"register-business-form__header\"\n}\nconst _hoisted_3 = {\n key: 17,\n class: \"text-input__error-message text-input__error-message--global\"\n}\nconst _hoisted_4 = [\"disabled\"]\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = { href: \"\" }\n\nimport { computed, PropType, ref, watch } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { CustomerNumberValidatorResult, EmailValidatorResult, RegisterAccountBusiness } from \"@/models/AccountRegister\";\nimport TressTextInput from \"@/components/TressTextInput.vue\";\nimport { MemberApi } from \"@/services/Api\";\nimport { Validator } from \"@/code/Validator\";\nimport { defineRule } from \"vee-validate\";\nimport TressException from \"@/services/TressException\";\nimport { TressExceptions } from \"@/code/TressExceptions\";\nimport TressAlert from \"@/components/TressAlert.vue\";\nimport TressFormSuccess from \"@/components/TressFormSuccess.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressAccountRegisterBusinessForm',\n props: {\n modelValue: {\n type: Object as PropType,\n default: () => ({}),\n },\n},\n emits: [\"update:modelValue\", \"onCreate\", \"onValidateEmail\", \"onValidateCustomerNumber\", \"success\"],\n setup(__props, { emit }) {\n\nconst $t = useI18n().t;\n\n\nconst lang = (document.documentElement as HTMLHtmlElement).lang;\nconst form = ref();\nconst isSending = ref(false);\nconst hideCustomerInputs = ref(false);\nconst hasSuccess = ref(false);\nconst userAlreadyExists = ref(false);\nconst migrationUserExists = ref(false);\nconst customerNumberResult = ref();\nconst queryParams = new URLSearchParams(window.location.search);\nconst returnUrl = ref(queryParams.get(\"returnUrl\"));\n\n\nconst register = ref({} as RegisterAccountBusiness);\n\nconst validateCustomerNumber = async (customerNumber: string) => {\n try {\n const result = await MemberApi.validateCustomerNumber(customerNumber);\n if (result.success) {\n hideCustomerInputs.value = true;\n customerNumberResult.value = result;\n } else {\n hideCustomerInputs.value = false;\n customerNumberResult.value = undefined;\n }\n } catch {\n hideCustomerInputs.value = false;\n customerNumberResult.value = undefined;\n }\n return true;\n};\ndefineRule(\"validateCustomerNumber\", validateCustomerNumber);\nconst onSubmit = async (values) => {\n try {\n isSending.value = true;\n\n if (migrationUserExists.value) {\n hasSuccess.value = await MemberApi.migrateAccount(register.value.email, register.value.name, \"business\");\n emit(\"success\");\n } else {\n values.type = \"business\";\n hasSuccess.value = await MemberApi.registerAccountPrivate(values);\n emit(\"success\");\n setTimeout(() => {\n if (returnUrl.value) {\n window.location.href = returnUrl.value;\n }\n }, 30000);\n }\n } catch (e: unknown) {\n switch (TressException(e)) {\n case TressExceptions.Register_AlreadyLoggedIn:\n form.value.setFieldError(\"\", $t(dictionary.form.error.alreadyLoggedIn));\n break;\n case TressExceptions.Register_EmailAlreadyExists:\n form.value.setFieldError(\"email\", $t(dictionary.form.error.emailAlreadyExists));\n break;\n case TressExceptions.Register_InvalidMailAddress:\n form.value.setFieldError(\"email\", $t(dictionary.form.error.invalidMailAddress));\n break;\n case TressExceptions.Register_InvalidPassword:\n form.value.setFieldError(\"password\", $t(dictionary.form.error.invalidPassword));\n break;\n case TressExceptions.Register_MissingCustomerAddress:\n form.value.setFieldError(\"customerAddress\", $t(dictionary.form.error.missingCustomerAddress));\n break;\n case TressExceptions.Register_MissingCustomerCity:\n form.value.setFieldError(\"customerCity\", $t(dictionary.form.error.missingCustomerCity));\n break;\n case TressExceptions.Register_MissingCustomerEmail:\n form.value.setFieldError(\"customerEmail\", $t(dictionary.form.error.missingCustomerEmail));\n break;\n case TressExceptions.Register_MissingCustomerName:\n form.value.setFieldError(\"customerName\", $t(dictionary.form.error.missingCustomerName));\n break;\n case TressExceptions.Register_MissingCustomerForCustomerNumber:\n form.value.setFieldError(\"customerNumber\", $t(dictionary.form.error.missingCustomerNumber));\n break;\n case TressExceptions.Register_MissingCustomerPhoneNumber:\n form.value.setFieldError(\"customerPhoneNumber\", $t(dictionary.form.error.missingCustomerPhoneNumber));\n break;\n case TressExceptions.Register_MissingCustomerZip:\n form.value.setFieldError(\"customerPostalCode\", $t(dictionary.form.error.missingCustomerZip));\n break;\n case TressExceptions.Register_MissingName:\n form.value.setFieldError(\"name\", $t(dictionary.form.error.missingName));\n break;\n case TressExceptions.Register_MissingPhoneNumber:\n form.value.setFieldError(\"phoneNumber\", $t(dictionary.form.error.missingPhoneNumber));\n break;\n case TressExceptions.Register_PasswordsMustMatch:\n form.value.setFieldError(\"password2\", $t(dictionary.form.error.passwordMustMatch));\n break;\n case TressExceptions.Unknown_Error:\n form.value.setFieldError(\"\", $t(dictionary.form.error.unknownError));\n break;\n }\n } finally {\n isSending.value = false;\n }\n};\nwatch(\n () => register.value.email,\n async (currVal) => {\n const validationResult = await Validator.emailValidate(currVal);\n if (Number(EmailValidatorResult[validationResult]) == EmailValidatorResult.UmbracoUserExists) {\n userAlreadyExists.value = true;\n } else if (Number(EmailValidatorResult[validationResult]) == EmailValidatorResult.MigrationUserExists) {\n migrationUserExists.value = true;\n }\n }\n);\nconst newRegistration = computed(() => {\n return !migrationUserExists.value;\n});\nconst submitButtonText = computed(() => {\n if (migrationUserExists.value) {\n return $t(dictionary.account.migrateAccount);\n } else {\n return $t(dictionary.account.createAccount);\n }\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_field = _resolveComponent(\"v-field\")!\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (!hasSuccess.value)\n ? (_openBlock(), _createBlock(_component_v_form, {\n key: 0,\n ref_key: \"form\",\n ref: form,\n class: \"register-business-form\",\n onSubmit: onSubmit\n }, {\n default: _withCtx(({ errors }) => [\n _createVNode(TressTextInput, {\n modelValue: register.value.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((register.value.name) = $event)),\n label: _unref($t)(_unref(dictionary).form.name.label),\n name: \"name\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.name.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n _createVNode(TressTextInput, {\n modelValue: register.value.email,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((register.value.email) = $event)),\n label: _unref($t)(_unref(dictionary).form.email.label),\n name: \"email\",\n rules: \"required|email\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.email.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n (userAlreadyExists.value)\n ? (_openBlock(), _createBlock(TressAlert, {\n key: 0,\n success: true\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.alreadyHaveAnAccount)) + \" \", 1),\n _createElementVNode(\"a\", _hoisted_1, _toDisplayString(_unref($t)(_unref(dictionary).form.loginHere)), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (migrationUserExists.value)\n ? (_openBlock(), _createBlock(TressAlert, {\n key: 1,\n success: true\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.migrationUserExists)), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 2,\n modelValue: register.value.phoneNumber,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((register.value.phoneNumber) = $event)),\n label: _unref($t)(_unref(dictionary).form.phoneNumber.label),\n name: \"phoneNumber\",\n rules: { required: true, regex: /^\\d*$/ }\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.phoneNumber.placeholder)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 3,\n modelValue: register.value.password,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((register.value.password) = $event)),\n label: _unref($t)(_unref(dictionary).form.password.label),\n name: \"password\",\n rules: \"required\",\n type: \"password\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.password.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 4,\n modelValue: register.value.password2,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((register.value.password2) = $event)),\n label: _unref($t)(_unref(dictionary).form.password2.label),\n name: \"password2\",\n rules: \"required|confirmed:@password\",\n type: \"password\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.password2.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createElementBlock(\"h2\", _hoisted_2, _toDisplayString(_unref($t)(_unref(dictionary).account.companyDetails)), 1))\n : _createCommentVNode(\"\", true),\n (newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 6,\n modelValue: register.value.customerNumber,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((register.value.customerNumber) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerNumber.label),\n name: \"customerNumber\",\n rules: \"validateCustomerNumber\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerNumber.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (hideCustomerInputs.value)\n ? (_openBlock(), _createBlock(TressAlert, {\n key: 7,\n success: true\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerNumberExists, { name: customerNumberResult.value?.name })), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (!hideCustomerInputs.value && newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 8,\n modelValue: register.value.customerName,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((register.value.customerName) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerName.label),\n name: \"customerName\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerName.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (!hideCustomerInputs.value && newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 9,\n modelValue: register.value.customerEmail,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((register.value.customerEmail) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerEmail.label),\n name: \"customerEmail\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerEmail.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (!hideCustomerInputs.value && newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 10,\n modelValue: register.value.customerPhoneNumber,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((register.value.customerPhoneNumber) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerPhoneNumber.label),\n name: \"customerPhoneNumber\",\n rules: { required: true, regex: /^\\d*$/ }\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerPhoneNumber.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (!hideCustomerInputs.value && newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 11,\n modelValue: register.value.customerAddress,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((register.value.customerAddress) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerAddress.label),\n name: \"customerAddress\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerAddress.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (!hideCustomerInputs.value && newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 12,\n modelValue: register.value.customerAddress2,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((register.value.customerAddress2) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerAddress2.label),\n name: \"customerAddress2\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerAddress2.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (!hideCustomerInputs.value && newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 13,\n modelValue: register.value.customerPostalCode,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((register.value.customerPostalCode) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerZip.label),\n class: \"register-business-form__input register-business-form__input--half\",\n name: \"customerPostalCode\",\n rules: { required: true, regex: _unref(Validator).zipCodeRules() }\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerZip.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\", \"rules\"]))\n : _createCommentVNode(\"\", true),\n (!hideCustomerInputs.value && newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 14,\n modelValue: register.value.customerCity,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((register.value.customerCity) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerCity.label),\n class: \"register-business-form__input register-business-form__input--half\",\n name: \"customerCity\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerCity.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (!hideCustomerInputs.value && newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 15,\n modelValue: register.value.customerCVR,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((register.value.customerCVR) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerCVR.label),\n name: \"customerCVR\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerCVR.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n (_unref(lang) == 'da' && !hideCustomerInputs.value && newRegistration.value)\n ? (_openBlock(), _createBlock(TressTextInput, {\n key: 16,\n modelValue: register.value.customerEAN,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((register.value.customerEAN) = $event)),\n label: _unref($t)(_unref(dictionary).form.customerEAN.label),\n name: \"customerEAN\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.customerEAN.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createVNode(_component_v_field, { name: \"\" }, null, 512), [\n [_vShow, false]\n ]),\n (errors[''])\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, _toDisplayString(errors[\"\"]), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"button\", {\n disabled: isSending.value,\n class: \"button register-business-form__submit-button\"\n }, _toDisplayString(submitButtonText.value), 9, _hoisted_4)\n ]),\n _: 1\n }, 512))\n : (_openBlock(), _createBlock(_Teleport, {\n key: 1,\n to: \"#success-container\"\n }, [\n _createVNode(TressFormSuccess, null, {\n header: _withCtx(() => [\n (migrationUserExists.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(_unref($t)(_unref(dictionary).account.migrateAccountSuccessHeader)), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(_unref($t)(_unref(dictionary).account.registerAccountSuccessHeader)), 1))\n ]),\n description: _withCtx(() => [\n (migrationUserExists.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, _toDisplayString(_unref($t)(_unref(dictionary).account.migrateAccountSuccessDescription)), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_8, [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).account.registerAccountSuccessDescription)) + \" \", 1),\n _createElementVNode(\"a\", _hoisted_9, _toDisplayString(_unref($t)(_unref(dictionary).common.clickHere)), 1)\n ]))\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./TressAccountRegisterBusinessForm.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressAccountRegisterBusinessForm.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressAccountRegisterBusinessForm.vue?vue&type=style&index=0&id=a6cabf0c&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-a6cabf0c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, resolveComponent as _resolveComponent, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-9a338b9c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"forgotten-password\" }\nconst _hoisted_2 = { class: \"forgotten-password__container forgotten-password__container--small\" }\nconst _hoisted_3 = { class: \"forgotten-password__header\" }\nconst _hoisted_4 = { class: \"forgotten-password__description\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"text-input__error-message text-input__error-message--global\"\n}\nconst _hoisted_6 = [\"disabled\"]\n\nimport TressTextInput from \"@/components/TressTextInput.vue\";\nimport dictionary from \"./../../i18n/dictionary.json\";\nimport { ref } from \"vue\";\nimport { MemberApi } from \"@/services/Api\";\nimport TressFormSuccess from \"@/components/TressFormSuccess.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressAccountForgottenPasswordForm',\n emits: [\"backClick\"],\n setup(__props, { emit }) {\n\nconst isSending = ref(false);\nconst hasSuccess = ref(false);\n\n\nconst onBackClick = () => {\n emit(\"backClick\");\n};\n\nconst onSubmit = async ({ email }: { email: string }) => {\n try {\n isSending.value = true;\n await MemberApi.forgottenPassword(email);\n hasSuccess.value = true;\n } catch (e) {\n hasSuccess.value = true;\n } finally {\n isSending.value = false;\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_field = _resolveComponent(\"v-field\")!\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!hasSuccess.value)\n ? (_openBlock(), _createBlock(_component_v_form, {\n key: 0,\n class: \"forgotten-password__container\",\n onSubmit: onSubmit\n }, {\n default: _withCtx(({ errors }) => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"p\", _hoisted_3, _toDisplayString(_ctx.$t(_unref(dictionary).account.forgottenPasswordHeader)), 1),\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(_ctx.$t(_unref(dictionary).account.forgottenPasswordDescription)), 1)\n ]),\n _createVNode(TressTextInput, {\n label: _ctx.$t(_unref(dictionary).form.email.label),\n name: \"email\",\n rules: \"required|email\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).form.email.label)), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _withDirectives(_createVNode(_component_v_field, { name: \"\" }, null, 512), [\n [_vShow, false]\n ]),\n (errors[''])\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_5, _toDisplayString(errors[\"\"]), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"button\", {\n class: \"button forgotten-password__submit-button\",\n disabled: isSending.value\n }, _toDisplayString(_ctx.$t(_unref(dictionary).account.sendRecoveryLink)), 9, _hoisted_6)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (!hasSuccess.value)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 1,\n class: \"button forgotten-password__button\",\n onClick: onBackClick\n }, _toDisplayString(_ctx.$t(_unref(dictionary).account.backToLogin)), 1))\n : (_openBlock(), _createBlock(TressFormSuccess, { key: 2 }, {\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).account.forgottenPasswordSuccessHeader)), 1)\n ]),\n description: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(_unref(dictionary).account.forgottenPasswordSuccessDescription)), 1)\n ]),\n _: 1\n }))\n ]))\n}\n}\n\n})","import script from \"./TressAccountForgottenPasswordForm.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressAccountForgottenPasswordForm.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressAccountForgottenPasswordForm.vue?vue&type=style&index=0&id=9a338b9c&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-9a338b9c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, resolveComponent as _resolveComponent, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-aa6400b2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"sign-in\"\n}\nconst _hoisted_2 = { class: \"sign-in__header\" }\nconst _hoisted_3 = { class: \"sign-in__inputs\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"text-input__error-message text-input__error-message--global\"\n}\nconst _hoisted_5 = { class: \"sign-in__buttons\" }\nconst _hoisted_6 = [\"disabled\"]\nconst _hoisted_7 = { class: \"sign-in__container\" }\nconst _hoisted_8 = {\n key: 1,\n class: \"sign-in__register\"\n}\nconst _hoisted_9 = {\n key: 0,\n class: \"sign-in__header\"\n}\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"success-container\",\n class: \"sign-in__success-container\"\n}, null, -1))\n\nimport { ref } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { MemberApi } from \"@/services/Api\";\nimport { RegisterAccountType } from \"@/models/AccountRegister\";\nimport TressTextInput from \"@/components/TressTextInput.vue\";\nimport TressDropdown from \"@/components/TressDropdown.vue\";\nimport TressAccountRegisterPrivate from \"@/components/account/TressAccountRegisterPrivateForm.vue\";\nimport TressAccountRegisterBusiness from \"@/components/account/TressAccountRegisterBusinessForm.vue\";\nimport { TressExceptions } from \"@/code/TressExceptions\";\nimport TressAccountForgottenPasswordForm from \"@/components/account/TressAccountForgottenPasswordForm.vue\";\nimport { CustomerType } from \"@/enums/CustomerType\";\nimport { useAsyncSpinner } from \"@/services/Spinner\";\nimport { DataLayerApi } from \"@/services/Api\";\nimport TressException from \"@/services/TressException\";\n\ninterface FormDataValues {\n password: string;\n username: string;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressTheSignIn',\n props: {\n returnUrl: {\n type: String,\n required: false,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\nconst $t = useI18n().t;\n\n\n\nconst username = ref();\nconst password = ref();\nconst items: { key: RegisterAccountType; value: string }[] = [\n { key: \"private\", value: $t(dictionary.common.private) },\n { key: \"business\", value: $t(dictionary.common.business) },\n];\n\nconst showForgottenPassword = ref(false);\nconst showForgottenPasswordView = () => {\n showForgottenPassword.value = true;\n};\nconst showSignInView = () => {\n showForgottenPassword.value = false;\n};\nconst form = ref();\nconst isSending = ref(false);\nconst registerAccountType = ref(\n CustomerType.Private === window.customerType ? CustomerType.Private : CustomerType.Business\n);\nconst showRegisterAccount = ref(false);\nconst selectedForm = ref(CustomerType.Private == window.customerType ? CustomerType.Private : CustomerType.Business);\nconst onSignIn = async (values: FormDataValues) => {\n try {\n isSending.value = true;\n await useAsyncSpinner(async () => {\n const result = await MemberApi.login(values.username, values.password);\n if (result.success) {\n DataLayerApi.getUserLoginEvent();\n window.location.href = props.returnUrl ?? window.location.href;\n }\n });\n } catch (error: unknown) {\n switch (TressException(error)) {\n case TressExceptions.SignIn_Error:\n form.value.setFieldError(\"\", $t(dictionary.form.error.signInError));\n break;\n case TressExceptions.SignIn_MissingUsername:\n form.value.setFieldError(\"username\", $t(dictionary.form.error.missingUsername));\n break;\n case TressExceptions.SignIn_MissingPassword:\n form.value.setFieldError(\"password\", $t(dictionary.form.error.missingPassword));\n break;\n case TressExceptions.Unknown_Error:\n default:\n form.value.setFieldError(\"\", $t(dictionary.form.error.unknownError));\n break;\n }\n } finally {\n isSending.value = false;\n }\n};\n\nconst formSuccess = ref(false);\n\nconst onFormSuccess = () => {\n formSuccess.value = true;\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_field = _resolveComponent(\"v-field\")!\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (!showForgottenPassword.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_v_form, {\n id: \"login\",\n ref_key: \"form\",\n ref: form,\n class: \"sign-in__container sign-in__container--login\",\n onSubmit: onSignIn\n }, {\n default: _withCtx(({ errors }) => [\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_unref($t)(_unref(dictionary).account.loginToContinue)), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(TressTextInput, {\n modelValue: username.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((username).value = $event)),\n label: _unref($t)(_unref(dictionary).form.username.label),\n class: \"sign-in__login-input\",\n name: \"username\",\n rules: \"required|email\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.username.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\"]),\n _createVNode(TressTextInput, {\n modelValue: password.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((password).value = $event)),\n label: _unref($t)(_unref(dictionary).form.password.label),\n placeholder: _unref($t)(_unref(dictionary).form.password.placeholder),\n class: \"sign-in__login-input\",\n name: \"password\",\n rules: \"required\",\n type: \"password\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.password.label)), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"label\", \"placeholder\"])\n ]),\n _withDirectives(_createVNode(_component_v_field, { name: \"\" }, null, 512), [\n [_vShow, false]\n ]),\n (errors[''])\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_4, _toDisplayString(errors[\"\"]), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"button\", {\n disabled: isSending.value,\n class: \"button product__buy-button sign-in__login-button\"\n }, _toDisplayString(_unref($t)(_unref(dictionary).account.login)), 9, _hoisted_6),\n _createElementVNode(\"button\", {\n class: \"button product__buy-button sign-in__forgot-password-button\",\n type: \"button\",\n onClick: showForgottenPasswordView\n }, _toDisplayString(_unref($t)(_unref(dictionary).account.forgottenPassword)), 1)\n ])\n ]),\n _: 1\n }, 512),\n _withDirectives(_createElementVNode(\"div\", _hoisted_7, [\n (!showRegisterAccount.value)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"button sign-in__register-button\",\n onClick: _cache[2] || (_cache[2] = () => (showRegisterAccount.value = !showRegisterAccount.value))\n }, _toDisplayString(_unref($t)(_unref(dictionary).account.registerAccount)), 1))\n : _createCommentVNode(\"\", true),\n (showRegisterAccount.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n (!formSuccess.value)\n ? (_openBlock(), _createElementBlock(\"h2\", _hoisted_9, _toDisplayString(_unref($t)(_unref(dictionary).account.registerAccountHeader)), 1))\n : _createCommentVNode(\"\", true),\n (!formSuccess.value)\n ? (_openBlock(), _createBlock(TressDropdown, {\n key: 1,\n items: items,\n selected: selectedForm.value,\n class: \"sign-in__form-type-dropdown\",\n \"onUpdate:selected\": _cache[3] || (_cache[3] = (e) => (registerAccountType.value = e))\n }, null, 8, [\"selected\"]))\n : _createCommentVNode(\"\", true),\n (registerAccountType.value === 'private')\n ? (_openBlock(), _createBlock(TressAccountRegisterPrivate, {\n key: 2,\n onSuccess: onFormSuccess\n }))\n : _createCommentVNode(\"\", true),\n (registerAccountType.value === 'business')\n ? (_openBlock(), _createBlock(TressAccountRegisterBusiness, {\n key: 3,\n onSuccess: onFormSuccess\n }))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 512), [\n [_vShow, !formSuccess.value]\n ]),\n _hoisted_10\n ]))\n : (_openBlock(), _createBlock(TressAccountForgottenPasswordForm, {\n key: 1,\n onBackClick: showSignInView\n }))\n}\n}\n\n})","import script from \"./TressTheSignIn.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressTheSignIn.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressTheSignIn.vue?vue&type=style&index=0&id=aa6400b2&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-aa6400b2\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f6f7b104\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"href\"]\n\nimport { PropType } from \"vue\";\nimport { ILiveLink } from \"@/models/ILiveLink\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressNavigationPill',\n props: {\n link: {\n type: Object as PropType,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"a\", {\n href: __props.link.url,\n class: _normalizeClass([\"navigation-pill\", { 'navigation-pill--active': __props.link.isActive }])\n }, _toDisplayString(__props.link.title), 11, _hoisted_1))\n}\n}\n\n})","import script from \"./TressNavigationPill.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressNavigationPill.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressNavigationPill.vue?vue&type=style&index=0&id=f6f7b104&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f6f7b104\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5d7bf320\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"navigation-pills\" }\n\nimport TressNavigationPill from \"@/components/TressNavigationPill.vue\";\nimport { PropType } from \"vue\";\nimport { ILiveLink } from \"@/models/ILiveLink\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressNavigationPills',\n props: {\n links: {\n type: Array as PropType>,\n required: true,\n },\n},\n setup(__props) {\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.links, (link) => {\n return (_openBlock(), _createBlock(TressNavigationPill, {\n link: link,\n key: link.url\n }, null, 8, [\"link\"]))\n }), 128))\n ]))\n}\n}\n\n})","import script from \"./TressNavigationPills.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressNavigationPills.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressNavigationPills.vue?vue&type=style&index=0&id=5d7bf320&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5d7bf320\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, resolveComponent as _resolveComponent, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-44a5a37d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"my-pages-change-password\" }\nconst _hoisted_2 = { class: \"my-pages-change-password__container my-pages-change-password__container--small\" }\nconst _hoisted_3 = { class: \"my-pages-change-password__header\" }\nconst _hoisted_4 = { class: \"my-pages-change-password__description\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"text-input__error-message text-input__error-message--global\"\n}\nconst _hoisted_6 = [\"disabled\"]\n\nimport TressNavigationPills from \"@/components/TressNavigationPills.vue\";\nimport TressTextInput from \"@/components/TressTextInput.vue\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport TressFormSuccess from \"@/components/TressFormSuccess.vue\";\nimport { PropType, ref } from \"vue\";\nimport { MemberApi } from \"@/services/Api\";\nimport { TressExceptions } from \"@/code/TressExceptions\";\nimport { useI18n } from \"vue-i18n\";\nimport { ILiveLink } from \"@/models/ILiveLink\";\nimport TressException from \"@/services/TressException\";\n\ninterface FormDataValues {\n currentPassword: string;\n password: string;\n password2: string;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressTheMyPagesChangePassword',\n props: {\n links: {\n type: Array as PropType>,\n required: true,\n },\n header: {\n type: String,\n required: true,\n },\n description: {\n type: String,\n required: true,\n },\n successHeader: {\n type: String,\n required: true,\n },\n successDescription: {\n type: String,\n required: true,\n },\n email: {\n type: String,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\nconst $t = useI18n().t;\n\nconst isSending = ref(false);\nconst hasSuccess = ref(false);\nconst form = ref();\n\nconst onSubmit = async (values: FormDataValues) => {\n try {\n isSending.value = true;\n await MemberApi.changePassword(props.email, values.currentPassword, values.password, values.password2);\n hasSuccess.value = true;\n } catch (error: unknown) {\n switch (TressException(error)) {\n case TressExceptions.ChangeReset_InvalidMailAddress:\n form.value.setFieldError(\"email\", $t(dictionary.form.error.invalidMailAddress));\n break;\n case TressExceptions.ChangeReset_InvalidPassword:\n form.value.setFieldError(\"password\", $t(dictionary.form.error.invalidPassword));\n break;\n case TressExceptions.ChangeReset_PasswordsMustMatch:\n form.value.setFieldError(\"password2\", $t(dictionary.form.error.passwordMustMatch));\n break;\n case TressExceptions.ResetPassword_ResetPasswordFailed:\n form.value.setFieldError(\"\", $t(dictionary.form.error.resetPasswordFailed));\n break;\n case TressExceptions.ChangePassword_InvalidCurrentPassword:\n form.value.setFieldError(\"currentPassword\", $t(dictionary.form.error.invalidCurrentPassword));\n break;\n case TressExceptions.Unknown_Error:\n default:\n form.value.setFieldError(\"\", $t(dictionary.form.error.unknownError));\n break;\n }\n } finally {\n isSending.value = false;\n }\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_v_field = _resolveComponent(\"v-field\")!\n const _component_v_form = _resolveComponent(\"v-form\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(TressNavigationPills, { links: __props.links }, null, 8, [\"links\"]),\n (!hasSuccess.value)\n ? (_openBlock(), _createBlock(_component_v_form, {\n key: 0,\n onSubmit: onSubmit,\n class: \"my-pages-change-password__container\",\n ref_key: \"form\",\n ref: form\n }, {\n default: _withCtx(({ errors }) => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"p\", _hoisted_3, _toDisplayString(__props.header), 1),\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(__props.description), 1)\n ]),\n _createVNode(TressTextInput, {\n label: _unref($t)(_unref(dictionary).form.currentPassword.label),\n name: \"currentPassword\",\n type: \"password\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.currentPassword.label)), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(TressTextInput, {\n label: _unref($t)(_unref(dictionary).form.password.label),\n name: \"password\",\n type: \"password\",\n rules: \"required\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.password.label)), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(TressTextInput, {\n label: _unref($t)(_unref(dictionary).form.password2.label),\n name: \"password2\",\n type: \"password\",\n rules: \"required|confirmed:@password\"\n }, {\n label: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref($t)(_unref(dictionary).form.password2.label)), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _withDirectives(_createVNode(_component_v_field, { name: \"\" }, null, 512), [\n [_vShow, false]\n ]),\n (errors[''])\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_5, _toDisplayString(errors[\"\"]), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"button\", {\n class: \"button my-pages-change-password__submit-button\",\n disabled: isSending.value\n }, _toDisplayString(_unref($t)(_unref(dictionary).account.changePassword)), 9, _hoisted_6)\n ]),\n _: 1\n }, 512))\n : (_openBlock(), _createBlock(TressFormSuccess, { key: 1 }, {\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.successHeader), 1)\n ]),\n description: _withCtx(() => [\n _createTextVNode(_toDisplayString(__props.successDescription), 1)\n ]),\n _: 1\n }))\n ]))\n}\n}\n\n})","import script from \"./TressTheMyPagesChangePassword.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressTheMyPagesChangePassword.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./TressTheMyPagesChangePassword.vue?vue&type=style&index=0&id=44a5a37d&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-44a5a37d\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, withCtx as _withCtx, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6a3724e8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"my-pages-profile\" }\nconst _hoisted_2 = { class: \"my-pages-profile__header\" }\nconst _hoisted_3 = { class: \"my-pages-profile__information-section\" }\nconst _hoisted_4 = { class: \"my-pages-profile__information-container\" }\nconst _hoisted_5 = { class: \"my-pages-profile__form-header\" }\nconst _hoisted_6 = { class: \"my-pages-profile__label\" }\nconst _hoisted_7 = { class: \"my-pages-profile__value\" }\nconst _hoisted_8 = { class: \"my-pages-profile__label\" }\nconst _hoisted_9 = { class: \"my-pages-profile__value\" }\nconst _hoisted_10 = { class: \"my-pages-profile__label\" }\nconst _hoisted_11 = { class: \"my-pages-profile__value\" }\nconst _hoisted_12 = { class: \"my-pages-profile__label\" }\nconst _hoisted_13 = { class: \"my-pages-profile__value\" }\nconst _hoisted_14 = { class: \"my-pages-profile__fieldset\" }\nconst _hoisted_15 = { class: \"my-pages-profile__form-group my-pages-profile__form-group--triple\" }\nconst _hoisted_16 = { class: \"my-pages-profile__label\" }\nconst _hoisted_17 = { class: \"my-pages-profile__value\" }\nconst _hoisted_18 = { class: \"my-pages-profile__form-group my-pages-profile__form-group--triple\" }\nconst _hoisted_19 = { class: \"my-pages-profile__label\" }\nconst _hoisted_20 = { class: \"my-pages-profile__value\" }\nconst _hoisted_21 = { class: \"my-pages-profile__form-group my-pages-profile__form-group--triple\" }\nconst _hoisted_22 = { class: \"my-pages-profile__label\" }\nconst _hoisted_23 = { class: \"my-pages-profile__value\" }\nconst _hoisted_24 = { class: \"my-pages-profile__label\" }\nconst _hoisted_25 = { class: \"my-pages-profile__value\" }\nconst _hoisted_26 = { class: \"my-pages-profile__label\" }\nconst _hoisted_27 = { class: \"my-pages-profile__value\" }\nconst _hoisted_28 = { class: \"my-pages-profile__form-information\" }\nconst _hoisted_29 = { class: \"my-pages-profile__form-information\" }\nconst _hoisted_30 = { class: \"umbraco-form-modal__header\" }\nconst _hoisted_31 = { class: \"umbraco-form-modal\" }\n\nimport TressNavigationPills from \"@/components/TressNavigationPills.vue\";\nimport { onMounted, PropType, ref } from \"vue\";\nimport { ILiveLink } from \"@/models/ILiveLink\";\nimport { IMyPagesProfileForm } from \"@/models/IMyPagesProfileForm\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { UmbracoFormsApi } from \"@/services/Api\";\nimport { IAntiForgeryToken } from \"@/models/umbraco-forms/IAntiForgeryToken\";\nimport { IUmbracoFormUserPreValues } from \"@/models/umbraco-forms/IUmbracoFormUserPreValues\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressTheMyPagesProfile',\n props: {\n links: {\n type: Array as PropType>,\n required: true,\n },\n formModel: {\n type: Object as PropType,\n required: true,\n },\n requestChangeProfileFormId: {\n type: String,\n required: true,\n },\n antiForgeryToken: {\n type: Object as PropType,\n required: true,\n },\n preValues: {\n type: Object as PropType,\n required: false,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst isModalOpen = ref(false);\nconst onChangeMyDataClick = () => {\n isModalOpen.value = true;\n};\nconst onModalClose = () => {\n isModalOpen.value = false;\n};\nconst onModalOpen = () => {\n isModalOpen.value = true;\n};\nconst requestChangeProfileFormDefinition = ref();\nonMounted(async () => {\n requestChangeProfileFormDefinition.value = await UmbracoFormsApi.get(props.requestChangeProfileFormId);\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_umbraco_form_field = _resolveComponent(\"umbraco-form-field\")!\n const _component_umbraco_form_fieldset_column = _resolveComponent(\"umbraco-form-fieldset-column\")!\n const _component_umbraco_form_fieldset = _resolveComponent(\"umbraco-form-fieldset\")!\n const _component_umbraco_form_page = _resolveComponent(\"umbraco-form-page\")!\n const _component_umbraco_form = _resolveComponent(\"umbraco-form\")!\n const _component_tress_modal = _resolveComponent(\"tress-modal\")!\n\n return (_openBlock(), _createElementBlock(\"section\", _hoisted_1, [\n _createElementVNode(\"h1\", _hoisted_2, _toDisplayString(_ctx.$t(_unref(dictionary).profile.myInformation)), 1),\n _createVNode(TressNavigationPills, { links: __props.links }, null, 8, [\"links\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"p\", _hoisted_5, _toDisplayString(_ctx.$t(_unref(dictionary).profile.customerData)), 1),\n _createElementVNode(\"dl\", null, [\n _createElementVNode(\"dt\", _hoisted_6, _toDisplayString(_ctx.$t(_unref(dictionary).form.customerNumber.label)), 1),\n _createElementVNode(\"dd\", _hoisted_7, _toDisplayString(__props.formModel.customerNumber), 1)\n ]),\n _createElementVNode(\"dl\", null, [\n _createElementVNode(\"dt\", _hoisted_8, _toDisplayString(_ctx.$t(_unref(dictionary).form.companyName.label)), 1),\n _createElementVNode(\"dd\", _hoisted_9, _toDisplayString(__props.formModel.companyName), 1)\n ]),\n _createElementVNode(\"dl\", null, [\n _createElementVNode(\"dt\", _hoisted_10, _toDisplayString(_ctx.$t(_unref(dictionary).form.fullName.label)), 1),\n _createElementVNode(\"dd\", _hoisted_11, _toDisplayString(__props.formModel.fullName), 1)\n ]),\n _createElementVNode(\"dl\", null, [\n _createElementVNode(\"dt\", _hoisted_12, _toDisplayString(_ctx.$t(_unref(dictionary).form.address.label)), 1),\n _createElementVNode(\"dd\", _hoisted_13, _toDisplayString(__props.formModel.streetAddress), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"dl\", _hoisted_15, [\n _createElementVNode(\"dt\", _hoisted_16, _toDisplayString(_ctx.$t(_unref(dictionary).form.zipCode.label)), 1),\n _createElementVNode(\"dd\", _hoisted_17, _toDisplayString(__props.formModel.zipCode), 1)\n ]),\n _createElementVNode(\"dl\", _hoisted_18, [\n _createElementVNode(\"dt\", _hoisted_19, _toDisplayString(_ctx.$t(_unref(dictionary).form.city.label)), 1),\n _createElementVNode(\"dd\", _hoisted_20, _toDisplayString(__props.formModel.city), 1)\n ]),\n _createElementVNode(\"dl\", _hoisted_21, [\n _createElementVNode(\"dt\", _hoisted_22, _toDisplayString(_ctx.$t(_unref(dictionary).form.country.label)), 1),\n _createElementVNode(\"dd\", _hoisted_23, _toDisplayString(__props.formModel.country), 1)\n ])\n ]),\n _createElementVNode(\"dl\", null, [\n _createElementVNode(\"dt\", _hoisted_24, _toDisplayString(_ctx.$t(_unref(dictionary).form.phoneNumber.label)), 1),\n _createElementVNode(\"dd\", _hoisted_25, _toDisplayString(__props.formModel.phoneNumber), 1)\n ]),\n _createElementVNode(\"dl\", null, [\n _createElementVNode(\"dt\", _hoisted_26, _toDisplayString(_ctx.$t(_unref(dictionary).form.email.label)), 1),\n _createElementVNode(\"dd\", _hoisted_27, _toDisplayString(__props.formModel.email), 1)\n ]),\n _createElementVNode(\"p\", _hoisted_28, _toDisplayString(_ctx.$t(_unref(dictionary).profile.doYouWantToChangeYourData)), 1),\n _createElementVNode(\"p\", _hoisted_29, _toDisplayString(_ctx.$t(_unref(dictionary).profile.sendARequest)), 1),\n _createElementVNode(\"button\", {\n class: \"button my-pages-profile__submit-button\",\n onClick: onChangeMyDataClick\n }, _toDisplayString(_ctx.$t(_unref(dictionary).profile.changeMyData)), 1)\n ])\n ]),\n _createVNode(_component_tress_modal, {\n \"is-open\": isModalOpen.value,\n class: \"tress-modal-container--no-style\",\n onOpen: onModalOpen,\n onClose: onModalClose\n }, {\n header: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_30, _toDisplayString(_ctx.$t(_unref(dictionary).profile.requestForChangeProfile)), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_31, [\n (requestChangeProfileFormDefinition.value)\n ? (_openBlock(), _createBlock(_component_umbraco_form, {\n key: 0,\n definition: requestChangeProfileFormDefinition.value,\n \"anti-forgery-token\": __props.antiForgeryToken,\n \"pre-values\": __props.preValues\n }, {\n default: _withCtx(({ definition }) => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(definition.pages, (page) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_page, {\n page: page,\n key: page.caption\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(page.fieldsets, (fieldset) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_fieldset, {\n fieldset: fieldset,\n key: fieldset.id\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(fieldset.columns, (column) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_fieldset_column, {\n column: column,\n key: column.caption\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(column.fields, (field) => {\n return (_openBlock(), _createBlock(_component_umbraco_form_field, {\n field: field,\n key: field.caption\n }, null, 8, [\"field\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"column\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"fieldset\"]))\n }), 128))\n ]),\n _: 2\n }, 1032, [\"page\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"definition\", \"anti-forgery-token\", \"pre-values\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }, 8, [\"is-open\"])\n ]))\n}\n}\n\n})","import script from \"./TressTheMyPagesProfile.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressTheMyPagesProfile.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressTheMyPagesProfile.vue?vue&type=style&index=0&id=6a3724e8&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6a3724e8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-40fd382e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"my-pages-favorites\" }\nconst _hoisted_2 = { class: \"my-pages-favorites__header-container\" }\nconst _hoisted_3 = { class: \"my-pages-favorites__header\" }\nconst _hoisted_4 = { class: \"my-pages-favorites__description\" }\nconst _hoisted_5 = { class: \"my-pages-favorites__main-container\" }\nconst _hoisted_6 = { class: \"row g-5 g-md-4 product-listings\" }\n\nimport TressNavigationPills from \"@/components/TressNavigationPills.vue\";\nimport TressProductListings from \"@/components/TressProductListings.vue\";\nimport { PropType } from \"vue\";\nimport { ILiveLink } from \"@/models/ILiveLink\";\nimport { IIndexTile } from \"@/models/IIndexTile\";\nimport { CustomerType } from \"@/enums/CustomerType\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressTheMyPagesFavorites',\n props: {\n links: {\n type: Array as PropType>,\n required: true,\n },\n products: {\n type: Array as PropType>,\n required: true,\n },\n header: {\n type: String,\n required: true,\n },\n description: {\n type: String,\n required: true,\n },\n},\n setup(__props) {\n\n\nconst showAsB2b = window.customerType === CustomerType.Business;\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h1\", _hoisted_3, _toDisplayString(__props.header), 1),\n _createElementVNode(\"p\", _hoisted_4, _toDisplayString(__props.description), 1),\n _createVNode(TressNavigationPills, { links: __props.links }, null, 8, [\"links\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(TressProductListings, {\n content: __props.products,\n \"show-as-b2b\": showAsB2b,\n class: \"my-pages-favorites__product-listings\"\n }, null, 8, [\"content\"])\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./TressTheMyPagesFavorites.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressTheMyPagesFavorites.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressTheMyPagesFavorites.vue?vue&type=style&index=0&id=40fd382e&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-40fd382e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid g-0 accordion\" }\nconst _hoisted_2 = { class: \"row g-0\" }\nconst _hoisted_3 = { class: \"col col-12\" }\nconst _hoisted_4 = { class: \"container-fluid g-0\" }\nconst _hoisted_5 = { class: \"row g-0\" }\n\nimport { getCurrentInstance, inject, onMounted, onUnmounted, ref } from \"vue\";\nimport { Emitter } from \"mitt\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressAccordionNoIcon',\n props: {\n accordionClass: {\n type: String,\n required: false,\n },\n groupId: {\n type: String,\n required: false,\n },\n isOpen: {\n type: Boolean,\n required: false,\n default: false,\n },\n preHeaderClickOnOpenFunction: {\n type: Function,\n required: false,\n },\n},\n emits: {\n open: () => true,\n close: () => true,\n},\n setup(__props, { emit: emits }) {\n\nconst props = __props;\n\nconst emitter = inject>(\"eventbus\")!;\n\n\nconst currentInstance = getCurrentInstance()!;\nconst isOpenInternal = ref(props.isOpen);\nconst maxHeight = ref(0);\nconst contentEl = ref();\n\nconst onHeaderClick = async (ev) => {\n if (ev.target.tagName == \"A\") {\n return;\n }\n\n if (!isOpenInternal.value && props.preHeaderClickOnOpenFunction) {\n await props.preHeaderClickOnOpenFunction();\n }\n\n isOpenInternal.value = !isOpenInternal.value;\n if (isOpenInternal.value) {\n if (props.groupId) {\n emitter.emit(`accordions:${props.groupId}:close`, currentInstance.uid);\n }\n maxHeight.value = contentEl.value!.scrollHeight;\n setTimeout(() => {\n maxHeight.value = contentEl.value!.scrollHeight;\n }, 200);\n emits(\"open\");\n } else {\n maxHeight.value = 0;\n emits(\"close\");\n }\n};\nconst onOpenHeaderClick = () => {\n isOpenInternal.value = true;\n if (isOpenInternal.value) {\n if (props.groupId) {\n emitter.emit(`accordions:${props.groupId}:close`, currentInstance.uid);\n }\n maxHeight.value = contentEl.value!.scrollHeight;\n setTimeout(() => {\n maxHeight.value = contentEl.value!.scrollHeight;\n }, 200);\n emits(\"open\");\n } else {\n maxHeight.value = 0;\n emits(\"close\");\n }\n};\n\nif (props.groupId) {\n const close = (id) => {\n if (currentInstance.uid != id) {\n isOpenInternal.value = false;\n maxHeight.value = 0;\n }\n };\n emitter.on(`accordions:${props.groupId}:close`, close);\n onUnmounted(() => {\n emitter.off(`accordions:${props.groupId}:close`, close);\n });\n}\nonMounted(() => {\n if (isOpenInternal.value) {\n onOpenHeaderClick();\n }\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", {\n class: \"row g-0 align-items-center accordion__header\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (onHeaderClick($event)))\n }, [\n _renderSlot(_ctx.$slots, \"header\", {\n accordionClass: __props.accordionClass,\n isOpenInternal: isOpenInternal.value\n })\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", {\n ref_key: \"contentEl\",\n ref: contentEl,\n style: _normalizeStyle({ height: maxHeight.value + 'px' }),\n class: \"col col-12 accordion__content\"\n }, [\n _renderSlot(_ctx.$slots, \"content\")\n ], 4)\n ])\n ]))\n}\n}\n\n})","import script from \"./TressAccordionNoIcon.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressAccordionNoIcon.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressAccordionNoIcon.vue?vue&type=style&index=0&id=1031fe2c&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = { class: \"my-pages-order-history\" }\nconst _hoisted_2 = { class: \"my-pages-order-history__header-container\" }\nconst _hoisted_3 = { class: \"my-pages-order-history__header\" }\nconst _hoisted_4 = { class: \"my-pages-order-history__main-container\" }\nconst _hoisted_5 = { class: \"my-pages-order-history__order-container\" }\nconst _hoisted_6 = { class: \"my-pages-order-history__order-head my-pages-order-history__order-head--mobile\" }\nconst _hoisted_7 = { class: \"my-pages-order-history__order-column\" }\nconst _hoisted_8 = { class: \"my-pages-order-history__order-column\" }\nconst _hoisted_9 = { class: \"my-pages-order-history__order-column\" }\nconst _hoisted_10 = { class: \"my-pages-order-history__order-head my-pages-order-history__order-head--desktop\" }\nconst _hoisted_11 = { class: \"my-pages-order-history__order-column\" }\nconst _hoisted_12 = { class: \"my-pages-order-history__order-column\" }\nconst _hoisted_13 = { class: \"my-pages-order-history__order-column\" }\nconst _hoisted_14 = { class: \"my-pages-order-history__mobile-table-row\" }\nconst _hoisted_15 = { class: \"my-pages-order-history__mobile-table-key\" }\nconst _hoisted_16 = { class: \"my-pages-order-history__mobile-table-value\" }\nconst _hoisted_17 = { class: \"my-pages-order-history__mobile-table-row\" }\nconst _hoisted_18 = { class: \"my-pages-order-history__mobile-table-key\" }\nconst _hoisted_19 = { class: \"my-pages-order-history__mobile-table-value\" }\nconst _hoisted_20 = { class: \"my-pages-order-history__mobile-table-row\" }\nconst _hoisted_21 = { class: \"my-pages-order-history__mobile-table-key\" }\nconst _hoisted_22 = { class: \"my-pages-order-history__mobile-table-value\" }\nconst _hoisted_23 = { class: \"my-pages-order-history__mobile-table-row\" }\nconst _hoisted_24 = { class: \"my-pages-order-history__mobile-table-key\" }\nconst _hoisted_25 = { class: \"my-pages-order-history__mobile-table-value\" }\nconst _hoisted_26 = { class: \"my-pages-order-history__mobile-table-row\" }\nconst _hoisted_27 = { class: \"my-pages-order-history__mobile-table-key\" }\nconst _hoisted_28 = { class: \"my-pages-order-history__mobile-table-value\" }\nconst _hoisted_29 = { class: \"my-pages-order-history__mobile-table-row\" }\nconst _hoisted_30 = { class: \"my-pages-order-history__mobile-table-key\" }\nconst _hoisted_31 = { class: \"my-pages-order-history__mobile-table-value\" }\nconst _hoisted_32 = { class: \"my-pages-order-history__mobile-table-row\" }\nconst _hoisted_33 = { class: \"my-pages-order-history__mobile-table-key\" }\nconst _hoisted_34 = { class: \"my-pages-order-history__mobile-table-value\" }\nconst _hoisted_35 = { class: \"my-pages-order-history__mobile-table-button\" }\nconst _hoisted_36 = [\"href\"]\nconst _hoisted_37 = { class: \"my-pages-order-history__table\" }\nconst _hoisted_38 = { class: \"my-pages-order-history__table-head\" }\nconst _hoisted_39 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--orderno\" }\nconst _hoisted_40 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--description\" }\nconst _hoisted_41 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--status\" }\nconst _hoisted_42 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--quantity\" }\nconst _hoisted_43 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--unit-of-measurement\" }\nconst _hoisted_44 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--sale-price\" }\nconst _hoisted_45 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--total-price\" }\nconst _hoisted_46 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--button\" }, null, -1)\nconst _hoisted_47 = { class: \"my-pages-order-history__table-body\" }\nconst _hoisted_48 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--orderno\" }\nconst _hoisted_49 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--description\" }\nconst _hoisted_50 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--status\" }\nconst _hoisted_51 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--quantity\" }\nconst _hoisted_52 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--unit-of-measurement\" }\nconst _hoisted_53 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--sale-price\" }\nconst _hoisted_54 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--total-price\" }\nconst _hoisted_55 = { class: \"my-pages-order-history__table-column my-pages-order-history__table-column--button\" }\nconst _hoisted_56 = [\"href\"]\nconst _hoisted_57 = { key: 1 }\n\nimport TressNavigationPills from \"@/components/TressNavigationPills.vue\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { onMounted, PropType, ref } from \"vue\";\nimport { ILiveLink } from \"@/models/ILiveLink\";\nimport TressAccordionNoIcon from \"@/components/TressAccordionNoIcon.vue\";\nimport IconChevronDown from \"@/components/icons/IconChevronDown.vue\";\nimport { useAsyncSpinner } from \"@/services/Spinner\";\nimport { MemberApi } from \"@/services/Api\";\nimport { IOrderHistoryHeader, OrderHistoryType } from \"@/models/IOrderHistoryHeader\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressTheMyPagesOrderHistory',\n props: {\n links: {\n type: Array as PropType>,\n required: true,\n },\n},\n setup(__props) {\n\nconst loading = ref(true);\n\n\nconst orderHistoryHeaders = ref();\nonMounted(async () => {\n await useAsyncSpinner(async () => {\n orderHistoryHeaders.value = await MemberApi.getOrderHistory();\n loading.value = false;\n });\n});\nconst getOrderHistoryLines = async (order: IOrderHistoryHeader, id: string, type: OrderHistoryType) => {\n await useAsyncSpinner(async () => {\n order.items = await MemberApi.getOrderHistoryLines(id, type);\n });\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h1\", _hoisted_3, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.header)), 1),\n _createVNode(TressNavigationPills, { links: __props.links }, null, 8, [\"links\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (orderHistoryHeaders.value)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(orderHistoryHeaders.value, (order) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: order.id,\n class: _normalizeClass([{ 'my-pages-order-history__order-row--active': false }, \"my-pages-order-history__order-row\"])\n }, [\n _createVNode(TressAccordionNoIcon, {\n \"pre-header-click-on-open-function\": async () => await getOrderHistoryLines(order, order.id, order.type)\n }, {\n header: _withCtx(({ accordionClass, isOpenInternal }) => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_7, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.orderno)) + \": \" + _toDisplayString(order.orderNumber), 1),\n _createElementVNode(\"div\", _hoisted_8, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.date)) + \": \" + _toDisplayString(order.orderDate), 1),\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.orderStatus)) + \": \" + _toDisplayString(order.orderStatus), 1)\n ]),\n _createVNode(IconChevronDown, {\n class: _normalizeClass(['accordion__icon', accordionClass, { 'accordion__icon--open': isOpenInternal }])\n }, null, 8, [\"class\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.orderno)) + \": \" + _toDisplayString(order.orderNumber), 1),\n _createElementVNode(\"div\", _hoisted_12, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.date)) + \": \" + _toDisplayString(order.orderDate), 1),\n _createElementVNode(\"div\", _hoisted_13, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.status)) + \": \" + _toDisplayString(order.orderStatus), 1),\n _createVNode(IconChevronDown, {\n class: _normalizeClass(['accordion__icon', accordionClass, { 'accordion__icon--open': isOpenInternal }])\n }, null, 8, [\"class\"])\n ])\n ]),\n content: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(order.items, (row) => {\n return (_openBlock(), _createElementBlock(\"dl\", {\n key: row.partNo,\n class: \"my-pages-order-history__mobile-table\"\n }, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"dt\", _hoisted_15, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.partNo)), 1),\n _createElementVNode(\"dd\", _hoisted_16, _toDisplayString(row.partNo), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"dt\", _hoisted_18, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.name)), 1),\n _createElementVNode(\"dd\", _hoisted_19, _toDisplayString(row.name), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"dt\", _hoisted_21, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.status)), 1),\n _createElementVNode(\"dd\", _hoisted_22, _toDisplayString(row.status), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"dt\", _hoisted_24, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.quantity)), 1),\n _createElementVNode(\"dd\", _hoisted_25, _toDisplayString(row.quantity), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"dt\", _hoisted_27, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.unitOfMeasurement)), 1),\n _createElementVNode(\"dd\", _hoisted_28, _toDisplayString(row.uom), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_29, [\n _createElementVNode(\"dt\", _hoisted_30, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.price)), 1),\n _createElementVNode(\"dd\", _hoisted_31, _toDisplayString(row.price), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_32, [\n _createElementVNode(\"dt\", _hoisted_33, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.total)), 1),\n _createElementVNode(\"dd\", _hoisted_34, _toDisplayString(row.total), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_35, [\n (row.url)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n href: row.url,\n class: \"my-pages-order-history__button\"\n }, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.reorder)), 9, _hoisted_36))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_37, [\n _createElementVNode(\"div\", _hoisted_38, [\n _createElementVNode(\"div\", _hoisted_39, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.partNo)), 1),\n _createElementVNode(\"div\", _hoisted_40, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.name)), 1),\n _createElementVNode(\"div\", _hoisted_41, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.status)), 1),\n _createElementVNode(\"div\", _hoisted_42, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.quantity)), 1),\n _createElementVNode(\"div\", _hoisted_43, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.unitOfMeasurement)), 1),\n _createElementVNode(\"div\", _hoisted_44, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.price)), 1),\n _createElementVNode(\"div\", _hoisted_45, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.total)), 1),\n _hoisted_46\n ]),\n _createElementVNode(\"div\", _hoisted_47, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(order.items, (row) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: row.partNo,\n class: \"my-pages-order-history__table-row\"\n }, [\n _createElementVNode(\"div\", _hoisted_48, _toDisplayString(row.partNo), 1),\n _createElementVNode(\"div\", _hoisted_49, _toDisplayString(row.name), 1),\n _createElementVNode(\"div\", _hoisted_50, _toDisplayString(row.status), 1),\n _createElementVNode(\"div\", _hoisted_51, _toDisplayString(row.quantity), 1),\n _createElementVNode(\"div\", _hoisted_52, _toDisplayString(row.uom), 1),\n _createElementVNode(\"div\", _hoisted_53, _toDisplayString(row.price), 1),\n _createElementVNode(\"div\", _hoisted_54, _toDisplayString(row.total), 1),\n _createElementVNode(\"div\", _hoisted_55, [\n (row.url)\n ? (_openBlock(), _createElementBlock(\"a\", {\n key: 0,\n href: row.url,\n class: \"my-pages-order-history__button\"\n }, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.reorder)), 9, _hoisted_56))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n }), 128))\n ])\n ])\n ]),\n _: 2\n }, 1032, [\"pre-header-click-on-open-function\"])\n ]))\n }), 128))\n : _createCommentVNode(\"\", true),\n (orderHistoryHeaders.value?.length == 0 && !loading.value)\n ? (_openBlock(), _createElementBlock(\"h2\", _hoisted_57, _toDisplayString(_ctx.$t(_unref(dictionary).orderHistory.noOrdersFound)), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./TressTheMyPagesOrderHistory.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./TressTheMyPagesOrderHistory.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./TressTheMyPagesOrderHistory.vue?vue&type=style&index=0&id=164ad90e&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot } from \"vue\"\n\nimport { PropType, ref } from \"vue\";\nimport { ContentOverviewApi } from \"@/services/Api\";\nimport { IPagination } from \"@/models/IPagination\";\nimport { IContentOverviewFilter } from \"@/models/IContentOverviewFilter\";\nimport { IContentOverviewTile } from \"@/models/IContentOverviewTile\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ContentOverviewPageWrapper',\n props: {\n id: {\n type: Number,\n required: true,\n },\n subject: {\n type: Number,\n required: true,\n },\n type: {\n type: Number,\n required: true,\n },\n pagination: {\n type: Object as PropType,\n required: true,\n },\n typeFiltersToShow: {\n type: Array as PropType>,\n required: true,\n },\n mainHeader: {\n type: String,\n required: true,\n },\n subHeader: {\n type: String,\n required: true,\n },\n description: {\n type: String,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\nconst hideInitial = ref(false);\nconst activeFilterSubjectId = ref(props.subject);\nconst activeFilterTypeId = ref(props.type);\nconst currentPage = ref(1);\nconst pagination = ref(props.pagination);\nconst contents = ref([]);\nconst showFilterLevel = ref(props.subject == 0 ? 0 : 1);\nconst mainHeader = ref(props.mainHeader);\nconst subHeader = ref(props.subHeader);\nconst description = ref(props.description);\nconst typeFiltersToShow = ref>(props.typeFiltersToShow);\nconst hasLoaded = ref(false);\n\nconst onSubjectFilterClick = async (id: number) => {\n activeFilterSubjectId.value = id;\n await getContentClean();\n hideInitial.value = true;\n showFilterLevel.value = 1;\n setUrl();\n};\n\nconst resetFilters = async () => {\n activeFilterSubjectId.value = 0;\n activeFilterTypeId.value = 0;\n await getContentClean();\n hideInitial.value = true;\n showFilterLevel.value = 0;\n setUrl();\n};\n\nconst onTypeFilterClick = async (id: number) => {\n activeFilterTypeId.value = id;\n await getContentClean();\n hideInitial.value = true;\n setUrl();\n};\n\nconst getContent = async () => {\n const contentRes = await ContentOverviewApi.getByFilter(\n props.id,\n activeFilterSubjectId.value,\n activeFilterTypeId.value,\n currentPage.value\n );\n contents.value = [...contents.value, ...contentRes?.tiles.sort(_sortContent).reverse()];\n pagination.value = contentRes.pagination;\n};\n\nconst getContentClean = async () => {\n const contentRes = await ContentOverviewApi.getByFilter(\n props.id,\n activeFilterSubjectId.value,\n activeFilterTypeId.value,\n 1\n );\n contents.value = [];\n currentPage.value = 1;\n contents.value = [...contents.value, ...contentRes?.tiles.sort(_sortContent).reverse()];\n pagination.value = contentRes.pagination;\n typeFiltersToShow.value = contentRes.typeFilters;\n mainHeader.value = contentRes.headline;\n description.value = contentRes.description;\n};\n\nconst setUrl = () => {\n const url = new URL(window.location.href);\n url.searchParams.set(\"subject\", activeFilterSubjectId.value.toString());\n url.searchParams.set(\"type\", activeFilterTypeId.value.toString());\n window.history.pushState({}, \"\", url.toString());\n};\n\nconst onPaginationClick = async () => {\n currentPage.value++;\n await getContent();\n};\n\nconst onMoveToTopClick = () => {\n window.scrollTo({ top: 0, behavior: \"smooth\" });\n};\n\nconst _sortContent = (x: IContentOverviewTile, y: IContentOverviewTile) => {\n const date1 = new Date(x.date);\n const date2 = new Date(y.date);\n\n return date1.getTime() - date2.getTime();\n};\n\nconst onMounted = () => {\n hasLoaded.value = true;\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _renderSlot(_ctx.$slots, \"default\", {\n activeFilterSubjectId: activeFilterSubjectId.value,\n activeFilterTypeId: activeFilterTypeId.value,\n contents: contents.value,\n currentPage: currentPage.value,\n hideInitial: hideInitial.value,\n onSubjectFilterClick: onSubjectFilterClick,\n onMoveToTopClick: onMoveToTopClick,\n onPaginationClick: onPaginationClick,\n onTypeFilterClick: onTypeFilterClick,\n showFilterLevel: showFilterLevel.value,\n typeFiltersToShow: typeFiltersToShow.value,\n pagination: pagination.value,\n mainHeader: mainHeader.value,\n subHeader: subHeader.value,\n description: description.value,\n hasLoaded: hasLoaded.value,\n resetFilters: resetFilters\n })\n}\n}\n\n})","import script from \"./ContentOverviewPageWrapper.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ContentOverviewPageWrapper.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"row gx-8 gx-lg-0 product__recomendations\" }\nconst _hoisted_2 = { class: \"col col-12 category__title-heading\" }\nconst _hoisted_3 = [\"textContent\"]\nconst _hoisted_4 = { class: \"row g-5 g-md-4 product-listings\" }\n\nimport { onMounted, ref } from \"vue\";\nimport dictionary from \"@/i18n/dictionary.json\";\nimport { ProductApi } from \"@/services/Api\";\nimport TressProductTile from \"@/components/TressProductTile.vue\";\nimport { ProductTile } from \"@/models/ProductList\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'TressProductRecommendations',\n props: {\n productId: {\n type: String,\n required: true,\n },\n showAsB2b: {\n type: Boolean,\n required: true,\n },\n site: {\n type: String,\n required: true,\n },\n},\n setup(__props) {\n\nconst props = __props;\n\n\n\nconst products = ref(Array());\n\nonMounted(async () => {\n try {\n products.value = await ProductApi.productRecommendations(props.productId);\n } catch (error: unknown) {\n console.error(error);\n }\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h2\", {\n textContent: _toDisplayString(_ctx.$t(_unref(dictionary).producttile.heading.recommendations))\n }, null, 8, _hoisted_3)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(products.value, (product, idx) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: product.id,\n class: \"col col-6 col-md-4 col-xl-3 col-xxl-2-4 product-listings__container\"\n }, [\n _createVNode(TressProductTile, {\n content: product,\n index: idx,\n \"show-as-b2b\": __props.showAsB2b,\n site: __props.site\n }, null, 8, [\"content\", \"index\", \"show-as-b2b\", \"site\"])\n ]))\n }), 128))\n ])\n ]))\n}\n}\n\n})","import script from \"./TressProductRecommendations.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./TressProductRecommendations.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createApp } from \"vue\";\nimport { SubscriptionCallbackMutation, createPinia } from \"pinia\";\nimport piniaPersist from \"pinia-plugin-persist\";\nimport VueEasyLightbox from \"vue-easy-lightbox\";\nimport { setupI18n, loadLanguageAsync } from \"@/i18n\";\nimport { Field, Form, ErrorMessage, configure, defineRule } from \"vee-validate\";\nimport { localize } from \"@vee-validate/i18n\";\nimport { confirmed, email, regex, required } from \"@vee-validate/rules\";\nimport sv from \"@vee-validate/i18n/dist/locale/sv.json\";\nimport da from \"@vee-validate/i18n/dist/locale/da.json\";\nimport no from \"@vee-validate/i18n/dist/locale/nb_NO.json\";\nimport UmbracoForm from \"@/components/umbraco-forms/structure/UmbracoForm.vue\";\nimport UmbracoFormPage from \"@/components/umbraco-forms/structure/UmbracoFormPage.vue\";\nimport UmbracoFormField from \"@/components/umbraco-forms/structure/UmbracoFormField.vue\";\nimport UmbracoFormFieldset from \"@/components/umbraco-forms/structure/UmbracoFormFieldset.vue\";\nimport UmbracoFormFieldsetColumn from \"@/components/umbraco-forms/structure/UmbracoFormFieldsetColumn.vue\";\nimport TressTheCheckout from \"@/pages/TressTheCheckout.vue\";\nimport TressSearchInput from \"@/components/header/TressSearchInput.vue\";\nimport TressProductListings from \"@/components/TressProductListings.vue\";\nimport TressImageCarousel from \"@/components/TressImageCarousel.vue\";\nimport TressCarouselControls from \"@/components/TressCarouselControls.vue\";\nimport TressButton from \"@/components/TressButton.vue\";\nimport TressCaseListing from \"@/components/TressCaseListing.vue\";\nimport TressLightbox from \"@/components/TressLightbox.vue\";\nimport TressDivider2 from \"@/components/TressDivider2.vue\";\nimport TressIconButton from \"@/components/TressIconButton.vue\";\nimport TressSwitchButton from \"@/components/TressSwitchButton.vue\";\nimport TressCloseButton from \"@/components/TressCloseButton.vue\";\nimport TressContentTile from \"@/components/TressContentTile.vue\";\nimport TressSearchPopup from \"@/components/TressSearchPopup.vue\";\nimport TressSearchWrapper from \"@/components/FunctionWrappers/TressSearchWrapper.vue\";\nimport BigBannerWrapper from \"@/components/FunctionWrappers/BigBannerBlockWrapper.vue\";\nimport HeaderWrapper from \"@/components/FunctionWrappers/HeaderWrapper.vue\";\nimport FooterWrapper from \"@/components/FunctionWrappers/FooterWrapper.vue\";\nimport CategoryWrapper from \"@/components/FunctionWrappers/CategoryWrapper.vue\";\nimport ProductWrapper from \"@/components/FunctionWrappers/ProductWrapper.vue\";\nimport TabsBlockWrapper from \"@/components/FunctionWrappers/TabsBlockWrapper.vue\";\nimport ProductListWrapper from \"@/components/FunctionWrappers/ProductListWrapper.vue\";\nimport CasePageWrapper from \"@/components/FunctionWrappers/CasePageWrapper.vue\";\nimport InspirationBlockWrapper from \"@/components/FunctionWrappers/InspirationBlockWrapper.vue\";\nimport ProductTileWrapper from \"@/components/FunctionWrappers/ProductTileWrapper.vue\";\nimport SearchPageWrapper from \"@/components/FunctionWrappers/TressSearchPageWrapper.vue\";\nimport AllCategoriesBlockWrapper from \"@/components/FunctionWrappers/AllCategoriesBlockWrapper.vue\";\nimport LinkBoxBlockWrapper from \"@/components/FunctionWrappers/LinkBoxWrapper.vue\";\nimport ContactSalesPersonWrapper from \"@/components/FunctionWrappers/ContactSalesPersonBlockWrapper.vue\";\nimport FilterBlockWrapper from \"@/components/FunctionWrappers/FilterBlockWrapper.vue\";\nimport SalesWrapper from \"@/components/FunctionWrappers/SalesmanWrapper.vue\";\nimport TressLightboxWrapper from \"@/components/FunctionWrappers/TressLightboxWrapper.vue\";\nimport SalesInfo from \"@/components/TressSalesmanInfo.vue\";\nimport TressModal from \"@/components/TressModal.vue\";\nimport TressCaseOverview from \"@/components/FunctionWrappers/CaseOverviewWrapper.vue\";\nimport IconArrowLeft from \"@/components/icons/IconArrowLeft.vue\";\nimport IconArrowRight from \"@/components/icons/IconArrowRight.vue\";\nimport IconCart from \"@/components/icons/IconCart.vue\";\nimport IconHome from \"@/components/icons/IconHome.vue\";\nimport IconChevronDown from \"@/components/icons/IconChevronDown.vue\";\nimport IconChevronRight from \"@/components/icons/IconChevronRight.vue\";\nimport IconClose from \"@/components/icons/IconClose.vue\";\nimport IconLinkedIn from \"@/components/icons/IconLinkedIn.vue\";\nimport IconDownload from \"@/components/icons/IconDownload.vue\";\nimport IconFavorite from \"@/components/icons/IconFavorite.vue\";\nimport IconHamburgerMenu from \"@/components/icons/IconHamburgerMenu.vue\";\nimport IconSearch from \"@/components/icons/IconSearch.vue\";\nimport IconUser from \"@/components/icons/IconUser.vue\";\nimport IconSliders from \"@/components/icons/IconSliders.vue\";\nimport IconCurvedArrowRight from \"@/components/icons/IconCurvedArrowRight.vue\";\nimport IconCurvedArrowRight2 from \"@/components/icons/IconCurvedArrowRight2.vue\";\nimport IconCurvedArrowDown from \"@/components/icons/IconCurvedArrowDown.vue\";\nimport IconMulticolor from \"@/components/icons/IconMultiColor.vue\";\nimport IconTransparent from \"@/components/icons/IconTransparent.vue\";\nimport IconContact from \"@/components/icons/IconContact.vue\";\nimport IconRal from \"@/components/icons/IconRal.vue\";\nimport IconMail from \"@/components/icons/IconMail.vue\";\nimport IconMap from \"@/components/icons/IconMap.vue\";\nimport IconCaseLarge from \"@/components/icons/IconCaseLarge.vue\";\nimport IconCasePageCity from \"@/components/icons/IconCasePageCity.vue\";\nimport IconCasePageProductCategories from \"@/components/icons/IconCasePageProductCategories.vue\";\nimport IconCasePageBuildYear from \"@/components/icons/IconCasePageBuildYear.vue\";\nimport IconCasePageActivities from \"@/components/icons/IconCasePageActivities.vue\";\nimport IconCheckmark from \"@/components/icons/IconCheckmark.vue\";\nimport IconWood from \"@/components/icons/IconWood.vue\";\nimport IconTrashBin from \"@/components/icons/IconTrashBin.vue\";\nimport IconRemove from \"@/components/icons/IconRemove.vue\";\nimport IconAdd from \"@/components/icons/IconAdd.vue\";\nimport ImageDefaultProductTile from \"@/components/images/ImageDefaultProductTile.vue\";\nimport TressScroll from \"@/components/TressScroll.vue\";\nimport TressSpecialAccessoriesModal from \"@/components/TressSpecialAccessoriesModal.vue\";\nimport TressSpecialAccessoriesModalView from \"@/components/TressSpecialAccessoriesModalView.vue\";\nimport TressVideoPlayer from \"@/components/TressVideoPlayer.vue\";\nimport TressVideoPlayer2 from \"@/components/TressVideoPlayer2.vue\";\nimport TressPreviewPlayer from \"@/components/TressPreviewPlayer.vue\";\nimport TressGoogleMap from \"@/components/TressGoogleMap.vue\";\nimport TressCartPopUp from \"@/components/TressCartPopUp.vue\";\nimport TressBuyButton from \"@/components/TressBuyButton.vue\";\nimport TressBuyButtonIcon from \"@/components/TressBuyButtonIcon.vue\";\nimport TressProductTile from \"@/components/TressProductTile.vue\";\nimport TressLoginModal from \"@/components/TressLoginModal.vue\";\nimport \"spin.js/spin.css\";\nimport \"sweetalert2/dist/sweetalert2.css\";\nimport TressAccountResetPasswordForm from \"@/components/account/TressAccountResetPasswordForm.vue\";\nimport TressTheSignIn from \"@/pages/TressTheSignIn.vue\";\nimport TressTheMyPagesChangePassword from \"@/pages/TressTheMyPagesChangePassword.vue\";\nimport TressTheMyPagesProfile from \"@/pages/TressTheMyPagesProfile.vue\";\nimport TressTheMyPagesFavorites from \"@/pages/TressTheMyPagesFavorites.vue\";\nimport TressTheMyPagesOrderHistory from \"@/pages/TressTheMyPagesOrderHistory.vue\";\nimport { emitter } from \"@/services/Emitter\";\nimport ContentOverviewPageWrapper from \"@/components/FunctionWrappers/ContentOverviewPageWrapper.vue\";\nimport { useCart } from \"./store/useCart\";\nimport { useChosenSalesman } from \"@/store/useChosenSalesman\";\nimport { useCheckout } from \"@/store/useCheckout\";\nimport TressProductRecommendations from \"@/components/TressProductRecommendations.vue\";\nimport { MutationType } from \"pinia\";\nimport { Cart } from \"./models/Cart\";\nimport { MessageSet } from \"./i18n/MessageSet\";\n\nconst lang = (document.querySelector(\"html\") as HTMLHtmlElement).getAttribute(\"lang\") as string;\n\ndefineRule(\"confirmed\", confirmed);\ndefineRule(\"email\", email);\ndefineRule(\"regex\", regex);\ndefineRule(\"required\", required);\n\nconst i18n = setupI18n({\n globalInjection: true,\n legacy: false,\n locale: lang,\n fallbackLocale: \"en\",\n});\n\nconst store = createPinia();\nstore.use(piniaPersist);\n\nconst veeValidateDa: MessageSet = { ...da };\nveeValidateDa.messages.confirmed = \"{field} skal matche\";\nconst veeValidateSv: MessageSet = { ...sv };\nveeValidateSv.messages.confirmed = \"Fältet {field} matchar inte\";\nconst veeValidateNo: MessageSet = { ...no };\n// https://vee-validate.logaretm.com/v4/guide/i18n#overview\n\nconfigure({\n generateMessage: localize({ sv: veeValidateSv, nb: veeValidateNo, da: veeValidateDa }),\n});\n\nloadLanguageAsync(i18n, lang, window.translations);\n\nconst app = createApp({})\n .use(VueEasyLightbox)\n .use(i18n)\n .use(store)\n .provide(\"eventbus\", emitter)\n .provide(\"tressSite\", window.tressSite)\n .component(\"icon-arrow-left\", IconArrowLeft)\n .component(\"icon-arrow-right\", IconArrowRight)\n .component(\"icon-cart\", IconCart)\n .component(\"icon-case-large\", IconCaseLarge)\n .component(\"icon-case-page-activities\", IconCasePageActivities)\n .component(\"icon-case-page-build-year\", IconCasePageBuildYear)\n .component(\"icon-case-page-city\", IconCasePageCity)\n .component(\"icon-case-page-product-categories\", IconCasePageProductCategories)\n .component(\"icon-checkmark\", IconCheckmark)\n .component(\"icon-chevron-down\", IconChevronDown)\n .component(\"icon-chevron-right\", IconChevronRight)\n .component(\"icon-close\", IconClose)\n .component(\"icon-contact\", IconContact)\n .component(\"icon-curved-arrow-down\", IconCurvedArrowDown)\n .component(\"icon-curved-arrow-right\", IconCurvedArrowRight)\n .component(\"icon-curved-arrow-right2\", IconCurvedArrowRight2)\n .component(\"icon-download\", IconDownload)\n .component(\"icon-favorite\", IconFavorite)\n .component(\"icon-hamburger-menu\", IconHamburgerMenu)\n .component(\"icon-home\", IconHome)\n .component(\"icon-linked-in\", IconLinkedIn)\n .component(\"icon-mail\", IconMail)\n .component(\"icon-map\", IconMap)\n .component(\"icon-multicolor\", IconMulticolor)\n .component(\"icon-ral\", IconRal)\n .component(\"icon-search\", IconSearch)\n .component(\"icon-sliders\", IconSliders)\n .component(\"icon-transparent\", IconTransparent)\n .component(\"icon-user\", IconUser)\n .component(\"icon-wood\", IconWood)\n .component(\"icon-trash-bin\", IconTrashBin)\n .component(\"icon-remove\", IconRemove)\n .component(\"icon-add\", IconAdd)\n .component(\"tress-all-categories-block-wrapper\", AllCategoriesBlockWrapper)\n .component(\"tress-big-banner-block-wrapper\", BigBannerWrapper)\n .component(\"tress-button\", TressButton)\n .component(\"tress-buy-button-icon\", TressBuyButtonIcon)\n .component(\"tress-buy-button\", TressBuyButton)\n .component(\"tress-carousel-controls\", TressCarouselControls)\n .component(\"tress-cart-pop-up\", TressCartPopUp)\n .component(\"tress-case-listing\", TressCaseListing)\n .component(\"tress-case-overview\", TressCaseOverview)\n .component(\"tress-case-page-wrapper\", CasePageWrapper)\n .component(\"tress-category-wrapper\", CategoryWrapper)\n .component(\"tress-close-button\", TressCloseButton)\n .component(\"tress-contact-sales-person-block-wrapper\", ContactSalesPersonWrapper)\n .component(\"tress-content-overview-page-wrapper\", ContentOverviewPageWrapper)\n .component(\"tress-content-tile\", TressContentTile)\n .component(\"tress-divider2\", TressDivider2)\n .component(\"tress-filter-block\", FilterBlockWrapper)\n .component(\"tress-footer-wrapper\", FooterWrapper)\n .component(\"tress-google-map\", TressGoogleMap)\n .component(\"tress-header-wrapper\", HeaderWrapper)\n .component(\"tress-icon-button\", TressIconButton)\n .component(\"tress-image-carousel\", TressImageCarousel)\n .component(\"tress-inspiration-block-wrapper\", InspirationBlockWrapper)\n .component(\"tress-lightbox-wrapper\", TressLightboxWrapper)\n .component(\"tress-lightbox\", TressLightbox)\n .component(\"tress-link-box-block-wrapper\", LinkBoxBlockWrapper)\n .component(\"tress-login-modal\", TressLoginModal)\n .component(\"tress-modal\", TressModal)\n .component(\"tress-preview-player\", TressPreviewPlayer)\n .component(\"tress-product-list-wrapper\", ProductListWrapper)\n .component(\"tress-product-listings\", TressProductListings)\n .component(\"tress-product-recommendations\", TressProductRecommendations)\n .component(\"tress-product-tile-default-image\", ImageDefaultProductTile)\n .component(\"tress-product-tile-wrapper\", ProductTileWrapper)\n .component(\"tress-product-tile\", TressProductTile)\n .component(\"tress-product-wrapper\", ProductWrapper)\n .component(\"tress-reset-password-form\", TressAccountResetPasswordForm)\n .component(\"tress-salesman-info\", SalesInfo)\n .component(\"tress-salesman-wrapper\", SalesWrapper)\n .component(\"tress-scroll\", TressScroll)\n .component(\"tress-search-input\", TressSearchInput)\n .component(\"tress-search-page-wrapper\", SearchPageWrapper)\n .component(\"tress-search-popup\", TressSearchPopup)\n .component(\"tress-search-wrapper\", TressSearchWrapper)\n .component(\"tress-special-accessories-modal\", TressSpecialAccessoriesModal)\n .component(\"tress-special-accessories-modal-view\", TressSpecialAccessoriesModalView)\n .component(\"tress-switch-button\", TressSwitchButton)\n .component(\"tress-tabs-block-wrapper\", TabsBlockWrapper)\n .component(\"tress-the-checkout\", TressTheCheckout)\n .component(\"tress-the-my-pages-change-password\", TressTheMyPagesChangePassword)\n .component(\"tress-the-my-pages-favorites\", TressTheMyPagesFavorites)\n .component(\"tress-the-my-pages-order-history\", TressTheMyPagesOrderHistory)\n .component(\"tress-the-my-pages-profile\", TressTheMyPagesProfile)\n .component(\"tress-the-signin\", TressTheSignIn)\n .component(\"tress-video-player\", TressVideoPlayer)\n .component(\"tress-video-player2\", TressVideoPlayer2)\n .component(\"umbraco-form-field\", UmbracoFormField)\n .component(\"umbraco-form-fieldset-column\", UmbracoFormFieldsetColumn)\n .component(\"umbraco-form-fieldset\", UmbracoFormFieldset)\n .component(\"umbraco-form-page\", UmbracoFormPage)\n .component(\"umbraco-form\", UmbracoForm)\n .component(\"v-field\", Field)\n .component(\"v-form\", Form)\n .component(\"v-message\", ErrorMessage);\n\napp.mount(\"#app\");\n\nconst cart = useCart();\nconst checkoutStore = useCheckout();\ncart.$subscribe((mutation: SubscriptionCallbackMutation) => {\n if (mutation.type === MutationType.patchObject && mutation.payload.id === null) {\n checkoutStore.$reset();\n }\n});\n\ncart.load();\nconst chosenSalesman = useChosenSalesman();\nchosenSalesman.load();\n"],"names":["loadedLanguages","setLanguage","i18n","locale","mode","global","value","setupI18n","options","createI18n","loadLanguageAsync","translate","includes","setLocale","setLocaleMessage","push","culture","document","getElementById","getAttribute","setDefaultHeaders","headers","createAxiosInstance","baseURL","instance","axios","handleError","error","response","Promise","reject","data","request","details","detail","message","status","title","name","interceptors","use","config","emitter","mitt","getBasketFromDom","basketElement","querySelector","basketDataAttribute","JSON","parse","useCart","defineStore","state","rows","summary","fees","amount","amountIncVat","vat","freight","items","total","amountIncVatWithoutFreight","amountWithoutFreight","totalDiscounts","cart","id","discountCode","hasRemovedItems","hasSpecialFreight","hasSelectedDeliveryMethod","loading","reachedMinimumBuyableAmount","minimumBuyableAmountMessage","isCartModalOpen","getters","itemQuantity","reduce","sum","item","quantity","actions","load","basket","BasketApi","getBasket","this","$patch","set","setDiscountCode","setLoadingState","addToCart","partNo","incrementExisting","addToBasket","removeFromCart","removeFromBasket","removeRangeFromCart","removeRangeFromBasket","updateQuantityFromCart","updateBasket","addToDataLayer","window","dataLayer","ecommerce","login","async","username","password","post","e","changePassword","email","currentPassword","confirmPassword","newPassword","newPassword2","ProductApi","productRecommendations","get","params","productId","categorySearch","downloadFiles","getSpecialAccessories","CaseApi","searchCases","cartStore","validateStatus","emit","put","delete","createFromOrder","basketId","DataLayerApi","createAddToCartEvent","itemListName","event","createRemoveFromCartEvent","getUserInfoEvent","getUserLoginEvent","createItemViewEvent","createViewCartEvent","createBeginCheckoutEvent","updateAddShippingInfoEvent","updateAddPaymentInfoEvent","stringify","paymentMethodId","createSelectItemEvent","createViewItemListEvent","partNos","CheckoutApi","getCheckout","getShippingOptions","setPayment","setDelivery","command","placeOrder","updateCustomer","getPostNordServicePoints","zipCode","getDhlServicePoints","MemberApi","emailAddress","member","success","logout","registerAccountPrivate","account","registerAccountBusiness","migrateAccount","type","change","validateEmail","validateCustomerNumber","code","forgottenPassword","resetPassword","token","getOrderHistory","getOrderHistoryLines","SalesmanApi","setPostalCookieAndGetSalesman","postalCode","SearchApi","search","query","count","term","products","pageNo","sorting","requestFullResult","showOnlyAgreementProducts","ContentOverviewApi","getByFilter","subject","page","UmbracoFormsApi","umbracoFormsAxios","values","antiForgeryToken","headerName","UrlApi","FavoritesApi","hasFavorites","FormState","_hoisted_1","_hoisted_2","class","_hoisted_3","_hoisted_4","key","_hoisted_5","_defineComponent","__name","props","definition","Object","required","preValues","setup","__props","ref","Loading","onSubmit","Submitting","formData","FormData","ev","target","formProps","fromEntries","Complete","gotoPageOnSubmit","url","location","href","console","log","Normal","provide","_ctx","_cache","_component_icon_checkmark_green","_resolveComponent","_openBlock","_createElementBlock","_withModifiers","_unref","_Fragment","_renderSlot","$slots","_createElementVNode","disabled","_toDisplayString","submitLabel","_createVNode","messageOnSubmit","__exports__","InputState","InputErrorState","field","String","emits","stateChanged","invalid","errorState","Pristine","Invalid","Untouched","Empty","Blurred","settings","defaultValue","onFocus","onBlur","checkValidity","validity","onInput","onInvalid","preventDefault","None","valueMissing","Required","patternMismatch","Pattern","computed","startsWith","onMounted","fieldType","placeholder","undefined","alias","pattern","showLabel","UmbracoFormParseMagicString","normalizedKey","substring","toLowerCase","objectKey","keys","find","x","inputState","onStateChanged","prevalues","inject","_normalizeClass","for","caption","UmbracoFormInput","requiredErrorMessage","_createCommentVNode","patternInvalidErrorMessage","cols","_createBlock","helpText","_renderList","preValue","width","height","viewBox","fill","xmlns","d","script","render","option","IconChevronDown","_createTextVNode","captionHtml","captionTag","innerHTML","bodyText","loadScript","resolve","createElement","src","defer","onload","onerror","head","appendChild","err","UmbracoFormShortAnswer","default","_withCtx","_","UmbracoFormLongAnswer","UmbracoFormDate","UmbracoFormCheckbox","UmbracoFormFileUpload","UmbracoFormPassword","UmbracoFormMultipleChoice","UmbracoFormDataConsent","UmbracoFormDropdown","UmbracoFormSingleChoice","UmbracoFormTitleAndDescription","UmbracoFormHidden","UmbracoFormRecaptcha2","UmbracoFormRecaptcha3","fieldset","column","Uuid","newUuid","Array","map","Math","floor","random","toString","join","modelValue","Boolean","label","rules","randomlyGeneratedId","paymentMethodValue","_component_v_field","validateOnBlur","validateOnChange","validateOnInput","validateOnModelUpdate","model","targetEl","checked","watch","currVal","$event","onChange","maxlength","Number","active","as","maxLength","cx","cy","r","stroke","CustomerType","useCheckout","comment","deliveryMethodId","shippingPostalCode","servicePointId","customerType","checkout","setDeliveryMethodId","clearDeliveryMethod","setShippingPostalCode","setServicePointId","setCustomerType","reset","$reset","persist","enabled","strategies","storage","sessionStorage","_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","DiscountCodeStatus","alwaysShowFreightFee","$t","useI18n","t","discountCodeRef","discountCodeStatus","Unknown","showDiscountCode","discountCodeButtonEnabled","getRowPrice","Private","priceIncVat","price","getProductPreviousPrice","originalPriceIncVat","originalPrice","getSummaryPrice","getFreightPrice","deliveryMethodSelected","showCheapestFreightFee","dictionary","showDefaultFreightFee","vatText","resetDiscountCode","submitDiscountCode","showFreightFee","onDiscountCodeFocus","Valid","documentElement","focus","toUpperCase","setTimeout","onCartOpenClick","_component_icon_chevron_down","_component_icon_close","_component_v_form","common","myOrder","onClick","editContent","itemsHasBeenRemoved","row","imageUrl","priceOverview","_withDirectives","_vModelCheckbox","addDiscountCode","ref_key","addDiscountCodeLabel","_vModelText","trim","validDiscountCode","invalidDiscountCode","addDiscountCodeSubmit","subtotal","originalTotal","totalDiscount","ofWhichVat","TressAlert","IconInfo","freightPriceCanChangeDependingOnDeliveryAddress","basketHasSpecialFreight","totalPrice","Business","_component_v_message","address","fullName","attention","organizationNumber","ean","address2","zipcode","city","phoneNumber","reference","y","rx","transform","click","IconPlus","form","otherBillingAddress","selected","invoiceAddress","deliveryAddress","closeDropdown","isOpen","openDropdown","toggleDropdown","onDropdownClick","addresses","openAccordionId","openAccordionHeight","isLoggedIn","submit","edit","preSubmit","submitFail","vuewindow","isSending","currentAddress","shippingAddress","hasAnotherAddress","zipCodeRules","manualAddressOptionAvailable","standardAddress","lang","userSelectorItems","selectedForm","onCustomerDataFormSubmit","showCustomerDataForm","shippingFullName","shippingZipCode","shippingPhoneNumber","shippingAddress2","shippingCity","shippingEan","shippingAttention","shippingEmail","shippingOrganizationNumber","shippingReference","cmd","payingAddress","currentPostalCode","Swal","icon","text","allowEnterKey","allowEscapeKey","allowOutsideClick","showCloseButton","customClass","confirmButton","buttonsStyling","_setZipCodeRules","_resetSelectedAddresses","alternateAddress","manualAddress","_setInitialSelectedAddress","newModel","shippingZipcode","_setInitialPostalCode","onAddressOptionClick","onManualAddressOptionClick","onChangeStep","errors","step1","TressCheckoutAddressViewer","TressCheckoutAddressViewerDouble","style","_normalizeStyle","TressDropdown","encodeURIComponent","pathname","TressCheckoutAddressOption","TressCheckoutManualAddressOption","TressTextInput","companyName","orgNo","regex","referenceNumber","deliverToAnotherAddress","length","customerDataFormGlobalError","continue","_vShow","servicePoint","street","visitingAddress","streetName","streetNumber","openingHourAsString","openingHour","sb","fromDay","toDay","from","to","_vModelRadio","openingHours","TressExceptions","useAsyncSpinner","callback","opts","delay","spinner","Spinner","timeout","el","zIndex","spin","clearTimeout","stop","useSpinner","servicePointAgentCodePostNord","servicePointAgentCodeDhl","isFormTouched","showAsB2b","deliveryMethods","selectedDeliveryMethodId","selectedServicePointId","isFormDirty","selectedDeliveryMethod","deliveryMethodIsValid","chosenServicePoint","foundServicePoint","servicePoints","onEdit","loadDeliveryMethods","deliveryOptionsRes","shippingOptions","deliveryPrices","a","cheapest","min","cheapestDeliveryMethod","freightAmount","freightAmountIncVat","Checkout_NoShippingOptions","Checkout_GetShippingOptions","onDeliveryChange","resp","shippingAgentCode","onServicePointChange","newValue","hasManyServicePoints","initialServicePoints","slice","restServicePoints","showAllServicePoints","toggleShowAllServicePoints","step2","priceFormatted","priceIncVatFormatted","deliveryMethod","TressRadioInput","selectServicePoint","TressCheckoutServicePoint","showLessServicePoints","invoicePaymentMethodId","loginPageUrl","paymentMethods","policyPage","checkoutPageRef","hasAcceptedTos","hasComment","isStep2Touched","isStep3Touched","openAccordion","filterEl","scrollHeight","isLoading","onPreSubmit","onSubmitFail","onStep1Click","onStep2Click","sendForm","redirect","formIsValid","getPaymentItemNames","paymentItems","currentValue","headline","alreadyHaveAnAccount","loginHere","TressCheckoutCustomerDataForm","deliverymethod","paymentMethod","TressCheckoutDeliveryForm","step3","paymentMethodModel","idx","cardb2b","card","TressCheckboxInput","iHaveACommentForMyOrder","iHaveACommentDisclaimer","TressTextAreaInput","hasAcceptedPrivacyPolicy","here","finishOrder","goToPayment","TressOrderSummary","emptyBasket","minimumAmountTitleB2B","minimumAmountTitleB2C","x1","y1","x2","y2","Function","isPopupOpen","onCloseClick","enter","queryInputPlaceholder","tressSite","internalModel","onCloseClick2","onEnter","autocapitalize","autocomplete","autocorrect","role","spellcheck","onKeydown","_withKeys","IconSearch","alt","isFilled","TressButton","link","className","sku","pictures","hover","desktop","srcset","media","tablet","mobile","Site","PriceType","StockStatus","VariantSelector","VariantSelectorAsNumber","CampaignType","useCustomer","pricesAsB2b","changePriceView","loginUrl","modalHeader","modalDescription","registerAccount","workingQueue","useUmbracoForm","some","$state","filter","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","productLinkClassName","content","small","index","blueSiteLogotype","fastDeliveryLogotype","fastDeliveryAltText","site","customer","tileElement","isFavorited","hasStock","stockStatus","OutOfStock","oldPrice","onFavoriteClick","then","nextTick","openLoginForm","onCartClick","BiTracking","isBuyable","Blue","isRequestForFileOpen","openRequestForFile","closeRequestForFile","isRequestForPriceOpen","openRequestForPrice","closeRequestForPrice","umbracoForms","isLoginFormOpen","closeLoginForm","loginUrlWithParameters","_component_icon_mail","_component_icon_checkmark","_component_tress_buy_button_icon","_component_umbraco_form_field","_component_umbraco_form_fieldset_column","_component_umbraco_form_fieldset","_component_umbraco_form_page","_component_umbraco_form","_component_tress_modal","Green","isExternal","TressLink","fastDelivery","new","TressProductTileTag","priceType","Campaign","discountPercent","Agreement","agreementPrice","hasQuantityBreaks","massDiscount","TressIconButton","IconFavorite","TressResponsivePicture","hoverImageUrl","ImageDefaultProductTile","hasVariants","numberOfVariants","selector","Size","producttile","sizes","Color","colors","Hardness","hardnesses","variants","callForPrice","excludeVat","includeVat","product","callforprice","hasDwgs","dwgDownloadUrl","IconDownload","IconChevronRight","on","off","IconCart","requestForPriceFormId","onClose","onOpen","header","requestPriceFor","pages","fieldsets","columns","fields","requestForFileFormId","requestFileFor","TressLoginModal","TileType","tile","_component_icon_arrow_right","showAsDouble","image","parent","getOffset","tiles","offset","acc","curVal","tileType","ProductTile","TressProductTile","ProductContentTile","TressProductContentTile","list","carouselEl","currentSlide","onPreviousClick","prev","onNextClick","next","Carousel","mouseDrag","slide","Slide","TressGrid","TressRow","TressColumn","IconArrowLeft","max","step","IconArrowRight","carouselId","scrollTrack","scrollThumb","useScroll","calcBar","trackWidth","clientWidth","thumbWidth","scrollWidth","percentage","val","left","hasPrev","hasNext","useResizeObserver","onResize","showControls","outsideEl","getPrev","scrollIntoView","behavior","block","inline","getNext","distanceFromLeft","getBoundingClientRect","children","reverse","clientRect","ceil","viewportWidth","_component_icon_arrow_left","useBreakpoints","isSm","useMediaQuery","isMd","isLg","isXl","isXxl","masonryTiles","calculateLayout","i","ls","j","k","isOdd","squareImage","landscapeImage","imgs","hide","onHide","_component_vue_easy_lightbox","visible","internalState","IconClose","backgroundColor","color","textColor","description","searchResults","searchPageUrl","searchTerm","close","closeEventController","getVariantSelectorPrefix","variantSelector","Variant","tryClose","closest","removeCloseEventListener","addCloseEventListener","controller","AbortController","addEventListener","signal","abort","setOverflow","hidden","overflow","_calcBottom","clientHeight","innerHeight","bottom","_component_tress_product_tile_default_image","_component_icon_chevron_right","categories","category","noProductsFound","inspiration","quantityBreaks","seeAllProducts","scrolledTimeOut","initialSearchQuery","isSearchFieldOpen","openPopup","scrolledTimeoutInternal","closePopup","closeSearchField","searchModel","res","onSearchClick","onColdCloseClick","bodyEl","rand","onSearchClickDebounced","useDebounceFn","isPlaying","onPlay","onPause","cartItems","hiddenFooter","showCategory","showAbout","headerElement","isScrolled","isHamburgerMegaMenuOpen","hasLoaded","body","setBottomOnMegaMenu","onHamburgerMenuClick","showMegaMenu","classList","toggle","setBottomOnHamburgerMenu","setBottomOnHamburgerMobileMenu","onHamburgerMenuClose","remove","closeCartModal","Cookies","hamburgerMobileContent","hamburgerMobileFooter","paddingBottom","offsetHeight","openSearchField","onSearchFieldOpenClick","onSearchFieldClose","isCartPopUpOpen","openCartPopUp","onCartPopUpCloseClick","onCategoryClick","onBackClick","onBackAboutClick","onAboutClick","onCartPopUpOpenClick","canShowMegaMenu","showMegaMenuDelay","onShowMegaMenuMouseEnter","add","onShowMegaMenuMouseLeave","container","container1","showAccordion","maxAccordionHeight","getAccordionContentHeight","sourceElement","accordionContent","onOpenAccordion","loadFavorites","hasFavoritesFromApi","onOutsideClick","onscroll","scrollCalc","scrollY","onUnmounted","removeEventListener","tryCloseHamburgerMegaMenu","element","isSearchFieldOpen2","Sorting","searchProducts","categoryProducts","getUniquePartNumbers","productRecomendations","productTiles","querySelectorAll","uniquePartNos","Set","forEach","productTile","dataPartNo","tagName","contains","partno","dataset","productList","partNumbers","productCategory","productSearch","productAccessories","productScroll","getSearchProducts","getCategoryProducts","useFilterState","useStorage","update","FilterService","constructor","_categoryCode","_availableFilters","_defineProperty","loadSelectedFilters","storedFilters","_filterStateStore","validFilters","invalidFiltersFound","storedValues","validValues","storedValue","updateFilters","filters","remainingProducts","totalHits","initialFacet","contentId","availableFilters","filterService","SortingDefault","RelevanceDesc","initialProducts","updateUrlHistory","urlSearchParams","urlQueryString","queryString","URL","history","pushState","structuredClone","window2","onMoveToTopClick","scrollTo","top","showMore","changePage","favorited","isFilterOpen","onOpenFilterClick","recalculateFilter","onToggleFilterClick","categoryId","getFilterCategory","currentPage","hideInitialProducts","debouncedChangePage","onRemoveFilterClick","onRemoveAllFiltersClick","isFilterCategoryOpen","onToggleShowAllFilterCategory","categoryReadMoreHeight","onToggleCategoryReadMore","readMoreId","contentEl","onSortChange","categoryCodes","goForward","selectedFacets","concat","facets","reloadPage","groups","group","facetGroup","filterId","replace","facetValue","available","filterValueEl","textContent","hits","showAllButtonEl","hiddenFilters","isFiltersMenuOpen","openFiltersMenu","openFilterAccordion","openFiltersMenu2","closeFiltersMenu","isSortOpen","onFiltersMenuCloseClick","onFiltersModalClick","onFiltersMenuOpenClick","onFiltersMenuOpenClick2","toggleDisplayMode","filtersModalAccordionId","filtersModalAccordionHeight","onToggleFilterAccordion","isSortOpen2","openSort","closeSort","openSort2","closeSort2","onOpenSortClick","onCloseSortClick","onToggleSortClick","onSortChangeDesktop","$ev","_hasFiltersValue","indexOf","createUrlSearchParams","parseInt","reactive","loadUmbracoForms","toggleElementDisplayOnMounted","selectors","isForwardPagination","onToggleDisplayMode","images","isB2b","showDiscountedPrice","boundBox","headerOffset","offsetPosition","scroll","onOpenAccordionById","elementId","onReadMoreProductInformation","elRect","showDeliveryAccordion","maxDeliveryAccordionHeight","showDeliveryAccordion2","maxDeliveryAccordionHeight2","onOpenDeliveryAccordion","isImageCarouselExpanded","onExpandImageCarousel","isVariantPickerExpanded","onVariantPickerExpandClick","onQuantityChange","qtyBreak","quantityBreak","prevVal","newVal","valueFormatted","valueIncVatFormatted","onQuantityBatchOption","priceVal","onQuantityBatchOptionChange","requestForPriceFormDefinition","requestForFileFormDefinition","loadRequestForFileForm","loadRequestForPriceForm","createTrackingEvent","activateVideo","videoEl","tabContentHeight","openTabId","openTab","numberOfTiles","containerId","showAllButton","isShowingAll","currValue","_toggleShowAllButton","showAll","showLess","toggleShowAll","_calcHeight","masonryContainerEl","showingEl","getComputedStyle","display","numberOfTilesToShow","elements","maxHeight","pagination","searchParams","reloadProducts","_setUrlParamAndPushState","nextPage","currValSkus","combinedProducts","showExpand","isCategoryOpen","expandedCategories","openCategory","expandCategory","collapseCategory","onToggleExpandCategoryClick","salesman","salesmanInput","salesmanButtonDisabled","getSalesman","onGetSalesmanSubmit","salemanButtonDisabled","salesmanElementId","salesmanBlock","rect","resetFilters","activeFilters","updateCases","hideInitial","open","toggleOpen","onFilterClick","setActiveFilter","filterGroupKey","setUnactiveFilter","toggleFilter","result","casePages","closeFilters","Salesman","useChosenSalesman","chosenSalesman","onSearch","isLightboxOpen","onImageClick","onLightboxHide","_component_icon_linked_in","_component_icon_user","image1Url","tel","linkedInUrl","TressSiteSeparator","green","linkToPageOnGreen","blue","linkToPageOnBlue","IconCloseModal","showMaps","onMapsClick","onGridClick","styleInternal","version","preserveAspectRatio","_imports_0","showScrollBar","scrollElement","overflowX","checkOutPageUrl","specialAccessories","toggleActive","specialAccessoriesResult","_component_tress_special_accessories_modal_view","continueShopping","toCheckout","_createStaticVNode","_component_tress_scroll","_component_tress_carousel_controls","modal","$props","$setup","$data","$options","_Transition","args","play","videoThumbnailUrl","pause","vimeoId","player","playerRef","loop","controls","muted","autoplay","Player","playsinline","video","originalMutedState","paused","promise","catch","center","markers","zoom","apiKey","markersWithCoordinates","coordinate","isNaN","lat","lng","GoogleMap","draggable","MarkerCluster","marker","Marker","position","InfoWindow","caseOverview","readMore","onMinusClick","isMinusButtonDisabled","onPlusClick","_component_icon_remove","_component_icon_add","PriceExtensions","privatePrice","businessPrice","isChecked","unitOfMeasurement","inputId","getPriceFormattedByCustomerType","onOptionClick","_calcQuantityBreakChecked","score","abs","sort","TressCartQuantityOption","loadPaymentMethodLogos","paymentMethodLogos","img","iconUrl","updateItemQuantity","all","removeItem","onAmountClick","debouncedUpdateItemQuantity","onQuantityBreakClick","_component_icon_info","_component_icon_trash_bin","warningMessageNotInStock","TressCartAmountSelector","TressCartQuantitySelector","goToCheckout","logo","IconSuccess","maybeTressException","successHeader","successDescription","hasSuccess","queryParams","URLSearchParams","ChangeReset_InvalidMailAddress","Unknown_Error","password2","TressException","setFieldError","ChangeReset_InvalidPassword","ChangeReset_PasswordsMustMatch","ResetPassword_ResetPasswordFailed","TressFormSuccess","EmailValidatorResult","Validator","isValidEmailAddress","emailRegExp","test","InvalidEmailFormat","userAlreadyExists","migrationUserExists","returnUrl","register","Register_AlreadyLoggedIn","Register_EmailAlreadyExists","Register_InvalidMailAddress","Register_InvalidPassword","Register_MissingName","Register_MissingPhoneNumber","Register_PasswordsMustMatch","Register_MissingCustomerAddress","Register_MissingCustomerZip","Register_MissingCustomerCity","validationResult","emailValidate","UmbracoUserExists","MigrationUserExists","newRegistration","submitButtonText","_Teleport","migrateAccountSuccessHeader","registerAccountSuccessHeader","migrateAccountSuccessDescription","registerAccountSuccessDescription","clickHere","customerAddress","customerAddress2","customerPostalCode","customerZip","customerCity","confirmed","hideCustomerInputs","customerNumberResult","customerNumber","defineRule","Register_MissingCustomerEmail","Register_MissingCustomerName","Register_MissingCustomerForCustomerNumber","Register_MissingCustomerPhoneNumber","companyDetails","customerNumberExists","customerName","customerEmail","customerPhoneNumber","customerCVR","customerEAN","forgottenPasswordHeader","forgottenPasswordDescription","sendRecoveryLink","forgottenPasswordSuccessHeader","forgottenPasswordSuccessDescription","backToLogin","showForgottenPassword","showForgottenPasswordView","showSignInView","registerAccountType","showRegisterAccount","onSignIn","SignIn_Error","SignIn_MissingUsername","SignIn_MissingPassword","formSuccess","onFormSuccess","TressAccountForgottenPasswordForm","loginToContinue","registerAccountHeader","TressAccountRegisterPrivate","onSuccess","TressAccountRegisterBusiness","isActive","links","TressNavigationPill","ChangePassword_InvalidCurrentPassword","TressNavigationPills","formModel","requestChangeProfileFormId","isModalOpen","onChangeMyDataClick","onModalClose","onModalOpen","requestChangeProfileFormDefinition","profile","myInformation","customerData","streetAddress","country","doYouWantToChangeYourData","sendARequest","changeMyData","requestForChangeProfile","TressProductListings","accordionClass","groupId","preHeaderClickOnOpenFunction","currentInstance","getCurrentInstance","isOpenInternal","onHeaderClick","uid","onOpenHeaderClick","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","orderHistoryHeaders","order","orderHistory","TressAccordionNoIcon","orderno","orderNumber","date","orderDate","orderStatus","uom","reorder","noOrdersFound","typeFiltersToShow","mainHeader","subHeader","activeFilterSubjectId","activeFilterTypeId","contents","showFilterLevel","onSubjectFilterClick","getContentClean","setUrl","onTypeFilterClick","getContent","contentRes","_sortContent","typeFilters","onPaginationClick","date1","Date","date2","getTime","heading","recommendations","globalInjection","legacy","fallbackLocale","store","createPinia","piniaPersist","veeValidateDa","da","messages","veeValidateSv","sv","veeValidateNo","no","configure","generateMessage","localize","nb","translations","app","createApp","VueEasyLightbox","component","IconCaseLarge","IconCasePageActivities","IconCasePageBuildYear","IconCasePageCity","IconCasePageProductCategories","IconCheckmark","IconContact","IconCurvedArrowDown","IconCurvedArrowRight","IconCurvedArrowRight2","IconHamburgerMenu","IconHome","IconLinkedIn","IconMail","IconMap","IconMulticolor","IconRal","IconSliders","IconTransparent","IconUser","IconWood","IconTrashBin","IconRemove","IconAdd","AllCategoriesBlockWrapper","BigBannerWrapper","TressBuyButtonIcon","TressBuyButton","TressCarouselControls","TressCartPopUp","TressCaseListing","TressCaseOverview","CasePageWrapper","CategoryWrapper","TressCloseButton","ContactSalesPersonWrapper","ContentOverviewPageWrapper","TressContentTile","TressDivider2","FilterBlockWrapper","FooterWrapper","TressGoogleMap","HeaderWrapper","TressImageCarousel","InspirationBlockWrapper","TressLightboxWrapper","TressLightbox","LinkBoxBlockWrapper","TressModal","TressPreviewPlayer","ProductListWrapper","TressProductRecommendations","ProductTileWrapper","ProductWrapper","TressAccountResetPasswordForm","SalesInfo","SalesWrapper","TressScroll","TressSearchInput","SearchPageWrapper","TressSearchPopup","TressSearchWrapper","TressSpecialAccessoriesModal","TressSpecialAccessoriesModalView","TressSwitchButton","TabsBlockWrapper","TressTheCheckout","TressTheMyPagesChangePassword","TressTheMyPagesFavorites","TressTheMyPagesOrderHistory","TressTheMyPagesProfile","TressTheSignIn","TressVideoPlayer","TressVideoPlayer2","UmbracoFormField","UmbracoFormFieldsetColumn","UmbracoFormFieldset","UmbracoFormPage","UmbracoForm","Field","Form","ErrorMessage","mount","checkoutStore","$subscribe","mutation","MutationType","patchObject","payload"],"sourceRoot":""}