{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/tslib/tslib.es6.js","webpack:///./node_modules/@glitz/react/mjs/index.js","webpack:///./Avensia.Common/Features/Shared/Style/general.ts","webpack:///./Avensia.Common/Features/Shared/Style/animation.ts","webpack:///./Avensia.Common/Features/Shared/Style/unit.ts","webpack:///./Avensia.Common/Features/Shared/Style/media.ts","webpack:///./Avensia.Common/Features/Shared/Style/z-index.ts","webpack:///./Avensia.Common/Features/Shared/Style/visuals.ts","webpack:///./Avensia.Common/Features/Shared/Style/colorSystem.ts","webpack:///./Avensia.Common/Features/Shared/Style/typography.ts","webpack:///./Avensia.Common/Features/Shared/Style/index.ts","webpack:///./node_modules/@polarnopyret/scope/AppShell/index.ts","webpack:///./node_modules/@polarnopyret/scope/AppShell/reducer.ts","webpack:///./node_modules/@polarnopyret/scope/breakpoints.ts","webpack:///./node_modules/@polarnopyret/scope/CurrentBreakpoint/action-creators.ts","webpack:///./node_modules/@polarnopyret/scope/CurrentBreakpoint/reducer.ts","webpack:///./node_modules/@polarnopyret/scope/shallow-equals.ts","webpack:///./node_modules/@polarnopyret/scope/CurrentPage/index.tsx","webpack:///./node_modules/@polarnopyret/scope/CurrentPage/reducer.ts","webpack:///./node_modules/@polarnopyret/scope/DynamicData/DynamicData.tsx","webpack:///./node_modules/@polarnopyret/scope/Link.tsx","webpack:///./node_modules/@polarnopyret/scope/LinksContainer.ts","webpack:///./node_modules/@polarnopyret/scope/on-load.ts","webpack:///./node_modules/@polarnopyret/scope/language-codes.ts","webpack:///./node_modules/@polarnopyret/scope/Spinner/reducer.ts","webpack:///./node_modules/@polarnopyret/scope/Theming/reducer.ts","webpack:///./node_modules/@polarnopyret/scope/index.ts","webpack:///./node_modules/@polarnopyret/scope/keyboard.ts","webpack:///./Avensia.Common/Features/Shared/Icons/icon.tsx","webpack:///./Avensia.Common/Features/Shared/SharedComponents/atoms/Typography.tsx","webpack:///./Avensia.Common/Features/Shared/connect.tsx","webpack:///./Avensia.Common/Features/Shared/TextButtons/index.tsx","webpack:///./node_modules/@polarnopyret/scope/Url.ts","webpack:///./Avensia.Common/Features/Shared/Link.tsx","webpack:///./Avensia.Common/Features/Search/action-creators.tsx","webpack:///./Avensia.Common/Features/Shared/known-urls.tsx","webpack:///./Avensia.Common/Features/Cart/action-creators.tsx","webpack:///./node_modules/@polarnopyret/scope/device-type.ts","webpack:///./Avensia.Common/Features/Shared/component-names.tsx","webpack:///./Avensia.Common/Features/Shared/component-registry.tsx","webpack:///./Avensia.Common/Features/Shared/Viewport.tsx","webpack:///./node_modules/@polarnopyret/scope/resolve-component.ts","webpack:///./Avensia.Common/Features/Shared/AspectRatio.tsx","webpack:///./Avensia.Common/Features/Shared/SharedComponents/atoms/Modal.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/QuestionCircle.tsx","webpack:///./Avensia.Common/Features/SiteLayout/MainMenu/index.tsx","webpack:///./Avensia.Common/Features/SiteLayout/AccountBox/action-creators.tsx","webpack:///./node_modules/@polarnopyret/scope/CurrentPage/action-creators.ts","webpack:///./Avensia.Common/Features/Shared/Fields/Text.tsx","webpack:///./node_modules/@polarnopyret/scope/DynamicData/open-promise.ts","webpack:///./node_modules/@polarnopyret/scope/DynamicData/index.ts","webpack:///./node_modules/@polarnopyret/scope-episerver/epi-property-value.ts","webpack:///./node_modules/@polarnopyret/scope-episerver/index.ts","webpack:///./Avensia.Common/Features/Shared/Image/Ratio.tsx","webpack:///./node_modules/@polarnopyret/scope/CurrentPage/cache.ts","webpack:///./Avensia.Common/Features/Shared/Icons/Arrow.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Header/MenuBar/index.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Header/DesktopHeader/SubMenu.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Header/DesktopHeader/index.tsx","webpack:///./node_modules/@polarnopyret/scope/Root.tsx","webpack:///./Avensia.Common/Features/Shared/grid.ts","webpack:///./Avensia.Common/Features/Shared/Button/index.tsx","webpack:///./Avensia.Common/Features/Shared/uiReducer.tsx","webpack:///./Avensia.Common/Features/TrackingInformation/index.tsx","webpack:///./Avensia.Common/Features/Category/current-page-is-categorypage.tsx","webpack:///./Avensia.Common/Features/SiteLayout/MainMenu/action-creators.tsx","webpack:///./Avensia.Common/Features/Checkout/Pages/Checkout/current-page-is-checkout.tsx","webpack:///./Avensia.Common/Features/Shared/Generic/A.tsx","webpack:///./Avensia.Common/Features/Shared/timeout.ts","webpack:///./Avensia.Common/Features/Shared/Button/Feedback.tsx","webpack:///./node_modules/@polarnopyret/scope/server.ts","webpack:///./node_modules/@polarnopyret/scope/AppShell/utils.ts","webpack:///./node_modules/@polarnopyret/scope/history.ts","webpack:///./node_modules/@polarnopyret/scope/Spinner/action-creators.ts","webpack:///./node_modules/@glitz/core/mjs/index.js","webpack:///./Avensia.Common/Features/Shared/utils.ts","webpack:///./node_modules/@polarnopyret/scope/events.ts","webpack:///./Avensia.Common/Features/Shared/Image/index.tsx","webpack:///./Avensia.Common/Features/Shared/number-format.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Spinner.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Close.tsx","webpack:///./node_modules/@polarnopyret/scope/use-scope-state.ts","webpack:///./Avensia.Common/Features/Shared/PageLayout/index.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Favorite.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Check.tsx","webpack:///./Avensia.Common/Features/Checkout/action-creators.tsx","webpack:///./node_modules/css-in-js-utils/lib/isPrefixedValue.js","webpack:///./Avensia.Common/Features/Pricing/Price/index.tsx","webpack:///./node_modules/@polarnopyret/scope/Translate.tsx","webpack:///./node_modules/@polarnopyret/scope-episerver/EpiProperty.tsx","webpack:///./node_modules/@polarnopyret/scope-episerver/editor-attributes-for.ts","webpack:///./Avensia.Common/Features/Shared/Logotype/index.tsx","webpack:///./node_modules/@polarnopyret/scope/service-worker/cache.ts","webpack:///./node_modules/@polarnopyret/scope/local-storage.ts","webpack:///./node_modules/@polarnopyret/scope/Theming/index.tsx","webpack:///./Avensia.Common/Features/Product/current-page-is-variation.tsx","webpack:///./Avensia.Common/Features/Shared/StyledComponents.tsx","webpack:///./Avensia.Common/Features/Shared/ErrorBoundary.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Plus.tsx","webpack:///./Avensia.Common/Features/Shared/Partials/PropertyTypes/Table/pop-context.tsx","webpack:///./Avensia.Common/Features/Shared/Partials/PropertyTypes/Html.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/index.tsx","webpack:///./Avensia.Common/Features/Shared/Fields/Form.tsx","webpack:///./node_modules/@polarnopyret/scope/idb-keyval.ts","webpack:///./node_modules/@polarnopyret/scope/local-db.ts","webpack:///./Avensia.Common/Features/SiteLayout/Header/ActionButtons.tsx","webpack:///./Avensia.Common/Features/Search/current-page-is-search.tsx","webpack:///./node_modules/ssr-window/ssr-window.esm.js","webpack:///./node_modules/dom7/dom7.esm.js","webpack:///./node_modules/swiper/shared/dom.js","webpack:///./node_modules/swiper/shared/utils.js","webpack:///./node_modules/swiper/shared/get-support.js","webpack:///./node_modules/swiper/shared/get-device.js","webpack:///./node_modules/swiper/shared/get-browser.js","webpack:///./node_modules/swiper/core/transition/transitionEmit.js","webpack:///./node_modules/swiper/core/events/onTouchStart.js","webpack:///./node_modules/swiper/core/events/onTouchMove.js","webpack:///./node_modules/swiper/core/events/onTouchEnd.js","webpack:///./node_modules/swiper/core/events/onResize.js","webpack:///./node_modules/swiper/core/events/onClick.js","webpack:///./node_modules/swiper/core/events/onScroll.js","webpack:///./node_modules/swiper/core/events/index.js","webpack:///./node_modules/swiper/core/breakpoints/setBreakpoint.js","webpack:///./node_modules/swiper/core/check-overflow/index.js","webpack:///./node_modules/swiper/core/defaults.js","webpack:///./node_modules/swiper/core/moduleExtendParams.js","webpack:///./node_modules/swiper/core/core.js","webpack:///./node_modules/swiper/core/events-emitter.js","webpack:///./node_modules/swiper/core/update/index.js","webpack:///./node_modules/swiper/core/update/updateSize.js","webpack:///./node_modules/swiper/core/update/updateSlides.js","webpack:///./node_modules/swiper/core/update/updateAutoHeight.js","webpack:///./node_modules/swiper/core/update/updateSlidesOffset.js","webpack:///./node_modules/swiper/core/update/updateSlidesProgress.js","webpack:///./node_modules/swiper/core/update/updateProgress.js","webpack:///./node_modules/swiper/core/update/updateSlidesClasses.js","webpack:///./node_modules/swiper/core/update/updateActiveIndex.js","webpack:///./node_modules/swiper/core/update/updateClickedSlide.js","webpack:///./node_modules/swiper/core/translate/index.js","webpack:///./node_modules/swiper/core/translate/getTranslate.js","webpack:///./node_modules/swiper/core/translate/setTranslate.js","webpack:///./node_modules/swiper/core/translate/minTranslate.js","webpack:///./node_modules/swiper/core/translate/maxTranslate.js","webpack:///./node_modules/swiper/core/translate/translateTo.js","webpack:///./node_modules/swiper/core/transition/index.js","webpack:///./node_modules/swiper/core/transition/setTransition.js","webpack:///./node_modules/swiper/core/transition/transitionStart.js","webpack:///./node_modules/swiper/core/transition/transitionEnd.js","webpack:///./node_modules/swiper/core/slide/index.js","webpack:///./node_modules/swiper/core/slide/slideTo.js","webpack:///./node_modules/swiper/core/slide/slideToLoop.js","webpack:///./node_modules/swiper/core/slide/slideNext.js","webpack:///./node_modules/swiper/core/slide/slidePrev.js","webpack:///./node_modules/swiper/core/slide/slideReset.js","webpack:///./node_modules/swiper/core/slide/slideToClosest.js","webpack:///./node_modules/swiper/core/slide/slideToClickedSlide.js","webpack:///./node_modules/swiper/core/loop/index.js","webpack:///./node_modules/swiper/core/loop/loopCreate.js","webpack:///./node_modules/swiper/core/loop/loopFix.js","webpack:///./node_modules/swiper/core/loop/loopDestroy.js","webpack:///./node_modules/swiper/core/grab-cursor/index.js","webpack:///./node_modules/swiper/core/grab-cursor/setGrabCursor.js","webpack:///./node_modules/swiper/core/grab-cursor/unsetGrabCursor.js","webpack:///./node_modules/swiper/core/breakpoints/index.js","webpack:///./node_modules/swiper/core/breakpoints/getBreakpoint.js","webpack:///./node_modules/swiper/core/classes/index.js","webpack:///./node_modules/swiper/core/classes/addClasses.js","webpack:///./node_modules/swiper/core/classes/removeClasses.js","webpack:///./node_modules/swiper/core/images/index.js","webpack:///./node_modules/swiper/core/images/loadImage.js","webpack:///./node_modules/swiper/core/images/preloadImages.js","webpack:///./node_modules/swiper/core/modules/resize/resize.js","webpack:///./node_modules/swiper/core/modules/observer/observer.js","webpack:///./node_modules/swiper/modules/parallax/parallax.js","webpack:///./node_modules/swiper/modules/free-mode/free-mode.js","webpack:///./node_modules/swiper/shared/effect-init.js","webpack:///./node_modules/swiper/shared/effect-target.js","webpack:///./node_modules/swiper/shared/create-shadow.js","webpack:///./node_modules/swiper/modules/effect-coverflow/effect-coverflow.js","webpack:///./Avensia.Common/Features/Shared/SwiperList/index.tsx","webpack:///./node_modules/@polarnopyret/scope/load-script.ts","webpack:///./Avensia.Common/Features/Shared/Icons/Search.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Header/action-creators.tsx","webpack:///./Avensia.Common/Features/Shared/image-sizes.ts","webpack:///./Avensia.Common/Features/Shared/Icons/Checkbox.tsx","webpack:///./Avensia.Common/Features/Shared/Fields/Toggle.tsx","webpack:///./node_modules/@polarnopyret/scope/service-worker/registration.ts","webpack:///./node_modules/@polarnopyret/scope/CurrentPage/is-initial-render.ts","webpack:///./node_modules/@polarnopyret/scope/AppShell/action-creators.ts","webpack:///./node_modules/@polarnopyret/scope/Theming/action-creators.ts","webpack:///./node_modules/@polarnopyret/scope/user-log.ts","webpack:///./Avensia.Common/Features/Checkout/Pages/OrderConfirmation/current-page-is-order-confirmation.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Error.tsx","webpack:///./node_modules/@polarnopyret/scope/session-storage.tsx","webpack:///./node_modules/@polarnopyret/scope/cross-window-events.ts","webpack:///./Avensia.Common/Features/Shared/SwiperList/SwiperNav.tsx","webpack:///./Avensia.Common/Features/WishList/wishlistReducer.tsx","webpack:///./Avensia.Common/Features/Product/ProductCard/index.tsx","webpack:///./Avensia.Common/Features/WishList/current-page-is-wishlist.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Line.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Header/MobileHeader/index.tsx","webpack:///./node_modules/@polarnopyret/scope/rendering/browser.tsx","webpack:///./node_modules/@polarnopyret/scope-episerver/PropertyTypes/ContentArea.tsx","webpack:///./node_modules/@polarnopyret/scope-episerver/PropertyTypes/Html.tsx","webpack:///./Avensia.Common/Features/Shared/Overlay/index.tsx","webpack:///./Avensia.Common/Features/SiteLayout/AccountBox/LoginModal.tsx","webpack:///./Avensia.Common/Features/SiteLayout/AccountBox/ForgotPasswordForm.tsx","webpack:///./Avensia.Common/Features/SiteLayout/AccountBox/LoginForm.tsx","webpack:///./Avensia.Common/Features/SiteLayout/AccountBox/RegisterForm.tsx","webpack:///./Avensia.Common/Features/SiteLayout/AccountBox/ResetPasswordForm.tsx","webpack:///./Avensia.Common/Features/Shared/Generic/Ul.tsx","webpack:///./node_modules/@polarnopyret/scope/sliding-key-value-cache.ts","webpack:///./node_modules/@polarnopyret/scope/rendering/ErrorBoundary.tsx","webpack:///./Avensia.Common/Features/Shared/appearance.tsx","webpack:///./Avensia.Common/Features/Shared/State.ts","webpack:///./Avensia.Common/Features/SiteLayout/Header/USP.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/QuickSearchForm.tsx","webpack:///./Avensia.Common/Features/Search/search-history.tsx","webpack:///./Avensia.Common/Features/GiftCards/current-page-is-giftcardpage.tsx","webpack:///./Avensia.Common/Features/SiteLayout/StoreBanner/index.tsx","webpack:///./Avensia.Common/Features/Product/ProductCard/shared.tsx","webpack:///./Avensia.Common/Features/Account/Register/current-page-is-register.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/AT.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/BE.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/BG.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/CY.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/CZ.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/DE.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/DK.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/EE.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/ES.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/FI.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/FR.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/GB.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/GR.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/HR.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/HU.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/IE.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/IT.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/LT.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/LU.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/LV.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/MT.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/NL.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/NO.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/PL.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/PT.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/RO.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/SE.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/SI.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/SK.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/US.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/index.tsx","webpack:///./Avensia.Common/Features/Shared/Dropdown/parts/shared.tsx","webpack:///./Avensia.Common/Features/Shared/Dropdown/parts/index.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Header/Indicator/index.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Header/CartIndicatorButton.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Error_24x24.svg","webpack:///./Avensia.Common/Features/Product/SwipeableList/index.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/ArrowCircle.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Chevron.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Circle.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Radio.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Cart.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Location.tsx","webpack:///./node_modules/@polarnopyret/scope/inline-scripts.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/Heart_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/Heart_20x20.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/Heart_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/MapPin_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Logotype/POP_logo_alt2.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/CircleUnfilled_8x8.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/CircleFilled_8x8.svg","webpack:///./Avensia.Common/Features/Shared/Image/noimage.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Menu.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Logout.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/ArrowSwirl.tsx","webpack:///./Avensia.Common/Features/Cms/current-page-is-cmspage.tsx","webpack:///./Avensia.Common/Features/SiteLayout/MainMenu/MobileMainMenu.tsx","webpack:///./Avensia.Common/Features/SiteLayout/MainMenu/DesktopSecondaryMenu.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/QuickSearchResultProductCard.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/QuickSearchResultArticleCard.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/shared.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/SnippetList.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/SuggestionList.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/RecentSearches.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/RecentProducts.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/CategoryList.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/MobileSearchResults.tsx","webpack:///./Avensia.Common/Features/Search/QuickSearch/QuickSearchResults.tsx","webpack:///./Avensia.Common/Features/Cart/AddToCartModal.tsx","webpack:///./Avensia.Common/Features/Cart/CartList/index.tsx","webpack:///./Avensia.Common/Features/Cart/CartModal.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Header/index.tsx","webpack:///./Avensia.Common/Features/Start/current-page-is-startpage.tsx","webpack:///./Avensia.Common/Features/Checkout/Pages/Checkout/reducer.tsx","webpack:///./Avensia.Common/Features/Cart/reducer.tsx","webpack:///./Avensia.Common/Features/Cart/miniCartReducer.tsx","webpack:///./Avensia.Common/Features/SiteLayout/MainMenu/reducer.tsx","webpack:///./Avensia.Common/Features/Search/reducer.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Footer/reducer.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Header/reducer.tsx","webpack:///./Avensia.Common/Features/Account/reducer.tsx","webpack:///./Avensia.Common/Features/Shared/reducers.tsx","webpack:///./Avensia.Common/Features/Search/page-reducer.tsx","webpack:///./Avensia.Common/Features/Product/reducer.ts","webpack:///./Avensia.Common/Features/Shared/FeedbackMessage.tsx","webpack:///./Avensia.Common/Features/Product/Sizes.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Minus.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Loader/index.tsx","webpack:///./node_modules/@polarnopyret/scope-episerver/PropertyTypes/LinkItemCollection.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/User.tsx","webpack:///./Avensia.Common/Features/WishList/action-creators.tsx","webpack:///./Avensia.Common/Features/Shared/Dropdown/DropdownBody.tsx","webpack:///./Avensia.Common/Features/Shared/Dropdown/DropdownShell.tsx","webpack:///./Avensia.Common/Features/Shared/Helper/cookieHelper.tsx","webpack:///./Avensia.Common/Features/Shared/Quantity/index.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/Trash.tsx","webpack:///./Avensia.Common/Features/Product/ProductCartItem/SpecialOffer.tsx","webpack:///./Avensia.Common/Features/Product/ProductCartItem/index.tsx","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Magnifier_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Magnifier_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/Bag_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/BagFull_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Menu_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ArrowRight_12x12.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ArrowRight_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ArrowRight_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/MapPin_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/QuestionMark_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/QuestionMark_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/User_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/UserFull_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Logout_12x12.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/Close_12x12.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/Close_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/Close_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Plus_12x12.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Plus_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Plus_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/at.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/be.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/bg.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/cy.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/cz.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/de.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/dk.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/ee.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/es.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/fi.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/fr.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/gb.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/gr.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/hr.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/hu.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/ie.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/it.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/lt.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/lu.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/lv.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/mt.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/nl.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/no.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/pl.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/pt.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/ro.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/se.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/si.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/sk.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Flags/us.svg","webpack:///./Avensia.Common/Features/Shared/Logotype/POP-Logo.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Line_24x2.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ArrowCircleUp_32x32.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ArrowCircleUp_40x40.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ArrowCircleUp_48x48.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/CircleUnfilled_12x12.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/CircleFilled_12x12.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ArrowSwirlUp_16x32.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ArrowSwirlUp_24x40.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ArrowSwirlUp_32x64.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ArrowSwirlUp_40x80.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/Check_8x8.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/Check_12x12.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/Check_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ChevronRight_12x12.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ChevronRight_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/Glyphs/ChevronRight_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Minus_12x12.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Minus_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Minus_24x24.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Trash_12x12.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Trash_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Checkbox_14x14.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/CheckboxChecked_14x14.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/Radio_16x16.svg","webpack:///./Avensia.Common/Features/Shared/Icons/glyphs/RadioChecked_16x16.svg","webpack:///./node_modules/css-in-js-utils/lib/hyphenateProperty.js","webpack:///./Avensia.Common/Features/SiteLayout/Footer/PaymentWidget.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Footer/index.tsx","webpack:///./Avensia.Common/styles/globals.scss?1e9d","webpack:///./node_modules/hyphenate-style-name/index.js","webpack:///./Avensia.Common/Features/SiteLayout/Header/SimpleHeader.tsx","webpack:///./Avensia.Common/Features/SiteLayout/AccountBox/index.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Tray/index.tsx","webpack:///./Avensia.Common/Features/SiteLayout/NetworkError/index.tsx","webpack:///./Avensia.Common/Features/Markets/current-page-is-marketpage.tsx","webpack:///./Avensia.Common/Features/SiteLayout/index.tsx","webpack:///./Avensia.Common/Features/Account/Login/current-page-is-login.tsx","webpack:///./Avensia.Common/Features/ResetPassword/current-page-is-reset-password.tsx","webpack:///./Avensia.Common/Features/Stores/current-page-is-storelandingpage.tsx","webpack:///./Avensia.Common/Features/PickUpInStore/current-page-is-storeselectionpage.tsx","webpack:///./Avensia.Common/Features/SiteLayout/Container.tsx","webpack:///./node_modules/@glitz/length-transformer/mjs/index.js","webpack:///./node_modules/@glitz/devtool-transformer/mjs/index.js","webpack:///./node_modules/inline-style-prefixer/es/utils/capitalizeString.js","webpack:///./node_modules/inline-style-prefixer/es/utils/prefixProperty.js","webpack:///./node_modules/inline-style-prefixer/es/utils/prefixValue.js","webpack:///./node_modules/inline-style-prefixer/es/utils/addNewValuesOnly.js","webpack:///./node_modules/inline-style-prefixer/es/utils/isObject.js","webpack:///./node_modules/inline-style-prefixer/es/data.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/cursor.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/crossFade.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/filter.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/flex.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/flexboxOld.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/gradient.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/grid.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/imageSet.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/logical.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/sizing.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/transition.js","webpack:///./node_modules/inline-style-prefixer/es/index.js","webpack:///./node_modules/inline-style-prefixer/es/createPrefixer.js","webpack:///./node_modules/@glitz/prefixer-transformer/mjs/index.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/backgroundClip.js","webpack:///./node_modules/inline-style-prefixer/es/plugins/position.js","webpack:///./node_modules/@glitz/transformers/mjs/index.js","webpack:///./Avensia.Common/Features/Shared/glitz-options.ts","webpack:///./node_modules/@microsoft/applicationinsights-shims/dist-esm/applicationinsights-shims.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/EnvUtils.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/CoreUtils.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK.Enums/LoggingEnums.js","webpack:///./node_modules/@microsoft/dynamicproto-js/lib/dist/esm/dynamicproto-js.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/DiagnosticLogger.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/PerfManager.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/TelemetryPluginChain.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/ProcessTelemetryContext.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/BaseTelemetryPlugin.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/TelemetryHelpers.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/ChannelController.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Enums.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/BaseCore.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK.Enums/EventsDiscardedReason.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/NotificationManager.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/AppInsightsCore.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/RequestResponseHeaders.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Telemetry/Common/DataSanitizer.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Util.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Constants.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/ConnectionStringParser.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/Base.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/Data.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Telemetry/Common/Envelope.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/Envelope.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/Domain.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/EventData.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Telemetry/Event.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/StackFrame.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/ExceptionData.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/ExceptionDetails.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Telemetry/Exception.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/DataPointType.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/MetricData.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/DataPoint.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/SeverityLevel.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Telemetry/Common/DataPoint.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Telemetry/Metric.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/PageViewData.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Telemetry/PageView.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Telemetry/RemoteDependencyData.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/RemoteDependencyData.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Telemetry/Trace.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/MessageData.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Telemetry/PageViewPerformance.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/PageViewPerfData.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Telemetry/Common/Data.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/IConfig.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/Contracts/Generated/ContextTagKeys.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/TelemetryItemCreator.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/Interfaces/PartAExtensions.js","webpack:///./node_modules/@microsoft/applicationinsights-common/dist-esm/applicationinsights-common.js","webpack:///./node_modules/@microsoft/applicationinsights-analytics-js/dist-esm/JavaScriptSDK/Telemetry/PageViewManager.js","webpack:///./node_modules/@microsoft/applicationinsights-analytics-js/dist-esm/JavaScriptSDK/Telemetry/PageVisitTimeManager.js","webpack:///./node_modules/@microsoft/applicationinsights-analytics-js/dist-esm/JavaScriptSDK/Telemetry/PageViewPerformanceManager.js","webpack:///./node_modules/@microsoft/applicationinsights-analytics-js/dist-esm/JavaScriptSDK/ApplicationInsights.js","webpack:///./node_modules/@microsoft/applicationinsights-channel-js/dist-esm/SendBuffer.js","webpack:///./node_modules/@microsoft/applicationinsights-channel-js/dist-esm/EnvelopeCreator.js","webpack:///./node_modules/@microsoft/applicationinsights-channel-js/dist-esm/Serializer.js","webpack:///./node_modules/@microsoft/applicationinsights-channel-js/dist-esm/Offline.js","webpack:///./node_modules/@microsoft/applicationinsights-channel-js/dist-esm/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js","webpack:///./node_modules/@microsoft/applicationinsights-channel-js/dist-esm/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js","webpack:///./node_modules/@microsoft/applicationinsights-channel-js/dist-esm/TelemetryProcessors/Sample.js","webpack:///./node_modules/@microsoft/applicationinsights-channel-js/dist-esm/Sender.js","webpack:///./node_modules/@microsoft/applicationinsights-properties-js/dist-esm/Context/Session.js","webpack:///./node_modules/@microsoft/applicationinsights-properties-js/dist-esm/Context/Application.js","webpack:///./node_modules/@microsoft/applicationinsights-properties-js/dist-esm/Context/Device.js","webpack:///./node_modules/@microsoft/applicationinsights-properties-js/dist-esm/Context/Internal.js","webpack:///./node_modules/@microsoft/applicationinsights-properties-js/dist-esm/Context/User.js","webpack:///./node_modules/@microsoft/applicationinsights-properties-js/dist-esm/Context/Location.js","webpack:///./node_modules/@microsoft/applicationinsights-properties-js/dist-esm/Context/TelemetryTrace.js","webpack:///./node_modules/@microsoft/applicationinsights-properties-js/dist-esm/TelemetryContext.js","webpack:///./node_modules/@microsoft/applicationinsights-properties-js/dist-esm/PropertiesPlugin.js","webpack:///./node_modules/@microsoft/applicationinsights-core-js/dist-esm/JavaScriptSDK/InstrumentHooks.js","webpack:///./node_modules/@microsoft/applicationinsights-dependencies-js/dist-esm/ajaxRecord.js","webpack:///./node_modules/@microsoft/applicationinsights-dependencies-js/dist-esm/TraceParent.js","webpack:///./node_modules/@microsoft/applicationinsights-dependencies-js/dist-esm/ajax.js","webpack:///./node_modules/@microsoft/applicationinsights-web/dist-esm/Initialization.js","webpack:///./Avensia.Common/Features/browser-entry.tsx","webpack:///./Avensia.Common/Features/Shared/create-store.tsx","webpack:///./Avensia.Common/Features/Cart/add-to-cart-from-url.tsx","webpack:///./Avensia.Common/Features/AppShell/current-page-is-appshell.tsx"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","13","exports","module","l","e","promises","self","scopeLoadedChunks","indexOf","document","installedCssChunks","Promise","resolve","installedChunkData","promise","reject","onScriptComplete","script","createElement","charset","timeout","nc","setAttribute","src","p","jsonpScriptSrc","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","jsonpArray","window","oldJsonpFunction","slice","extendStatics","b","setPrototypeOf","__proto__","Array","__extends","__","this","constructor","__assign","assign","arguments","__rest","getOwnPropertySymbols","propertyIsEnumerable","__awaiter","thisArg","_arguments","P","generator","step","next","rejected","done","then","__generator","body","f","y","g","_","label","sent","trys","ops","verb","iterator","v","op","TypeError","pop","__values","__read","ar","__spread","concat","GlitzContext","ThemeContext","Export","props","Provider","glitz","children","Type","isType","createElementType","tag","_a","Element","createPredefined","style","factory","predefinedElements","applyClassName","component","ElementLike","useGlitz","inputStyles","theme","lastGlitzRef","lastThemeRef","lastFinalStylesRef","lastClassNamesRef","finalStyles","styleToArray","current","a","shallowEquals","injectStyle","il","k","jl","__spreadArrays","defaults","styles","_i","map","statics","isStyledComponent","ref","dynamics","css","restProps","compose","isElementType","isElementLikeType","className","additionals","decorator","preStyle","fn","arg1","arg2","isStyle","arg","styled","predefinedElements_1","toUpperCase","assignPredefined","BorderStyle","transition","duration","timingFunction","delay","willChange","properties","isArray","join","animation","iterationCount","direction","fillMode","playState","Unit","pixelsToUnit","unit","Px","Rem","breakpoint","ZIndex","mediaMinLarge","Large","minWidth","mediaUpToLarge","maxWidth","mediaMaxQuery","visuallyHidden","width","height","margin","x","padding","border","xy","clipPath","clip","overflow","colors","monochrome","white","black","extraLightGrey","lightGrey","mediumGrey","darkGrey","a11ygrey","darkestGrey","brandColors","darkBlue","blue","lightBlue","pink","burgundy","green","red","yellow","yellowAlternative","orange","negativeColors","negative","negativeLight","linkColors","default","functionColors","sale","onlineOnly","new","blackfriday","discount","christmas","specialOffer","rgbaFilters","white50","black50","hex2rgba","hex","alpha","truncate","whiteSpace","textOverflow","refreshCachedData","store","dispatch","url","options","skipReloadOnVersionMismatch","includeAppShellData","replaceStateOnRedirect","Breakpoint","state","action","appShellData","switchBreakpoint","newBreakpoint","cookie","breakpointCookieName","breakpointSettings","breakpointKeys","keys","widthFromBreakpoint","currentBreakpoint","getBreakpoint","mediaQueries","matchMedia","matches","setupResizeListener","willSwitch","triggerSwitch","requestAnimationFrame","addListener","guessedBreakpoint","ignoreFunctions","Component","currentPage","componentName","currentTheme","scrollPosition","UNSAFE_componentWillReceiveProps","nextProps","shouldRemount","remountProps","remountNextProps","pathname","componentShouldRemount","shouldComponentUpdate","newProps","shouldUpdate","componentDidUpdate","scrollTop","documentElement","render","isInitial","isLoading","isAppShell","cache","isPartial","loadFailure","unhandledError","isServerSideRendered","IS_SERVER_SIDE_RENDERED","pageToCache","fastCacheOnly","isCurrentPage","pageCacheAction","cachedItem","getScrollPosition","pageUpdateAction","currentPageUpdates","pageUpdateRequestIds","requestId","requestIds","forEach","filter","id","pageLoadSuccessAction","merge","shouldCache","page","newPage","pageUpdateSuccessAction","reload","retry","previousState","ids","unbindDataWacher","resolveComponents","componentsResolved","setState","resolveFailed","resolveData","componentDidMount","shouldResolve","syncData","forceUpdate","nextData","componentWillUnmount","loadedData","onError","fallbackData","fallback","onLinkClick","link","linkProps","deferLoadPromise","IS_IN_EDIT_MODE","test","href","button","metaKey","ctrlKey","shiftKey","altKey","isNormalClick","preventDefault","linkIdentifier","skipPartialCache","replaceState","hash","onClick","isDefaultPrevented","currentTarget","onPageLoaded","onPageLoadFailed","setUrlFromProps","to","innerRef","exposedHref","node","unbindClicks","nativeEvent","child","parent","parentElement","isChildOf","only","callbacks","LanguageCodes","isVisible","isCommunicatingWithServer","progress","spinnerActivationAction","active","spinnerProgressAction","themeName","iconStyled","display","verticalAlign","Glyph","currentColorFill","Span","fill","flagFactory","iconStyledScaledToFit","alignItems","lineHeight","fontSize","factoryScaledToFit","emptyFill","provideOwnFill","fillWithCurrentColor","DesktopSize","MobileSize","ResponsiveSize","ResponsiveLineHeight","desktopSizes","Scale96","minHeight","fontWeight","Scale64","Scale56","upperCaseFontWeight","Scale48","Scale40","Scale32","Static40","Static32","Static24","Static20","Static16","Static14","Static12","Static10","Inherit","mobileSizes","Scale28","Static18","responsiveSizes","D96_M48","desktop","mobile","D100_M100","D96_M40","D64_M40","D64_M32","D56_M40","D56_M32","D110_M110","D56_M24","D48_M32","DS40_MS40","D40_M32","D40_M28","D40_M18","D110_M130","D32_M32","D32_M24","desktopLowerCase","D32_M20","D32_M16","D24_M24","D24_M20","D24_M16","D20_M20","D20_M16","D16_M16","D130_M130","D14_M14","D14_M14_L130","D14_M12","D120_M120","D12_M12","D10_M10","responsiveLineHeights","D130_M120","connected","Heading","shouldAlwaysClaimHeight","upperCase","semanticTag","letterSpacing","HeaderTag","H2","responsiveSize","isMobile","fs","responsiveLineHeight","lh","fontStyle","textTransform","marginTop","marginBottom","TextInternal","ElementTag","keepMargin","color","getResposiveFontSize","H1","H3","H4","HeadingLabel","InlineLabel","Paragraph","TextInline","Text","TextBlock","TextBlockSmall","TextBlockTiny","TextLabel","ArticleTag","ButtonTheme","ColorSchema","ButtonHeight","buttonHeights","Huge","Big","Default","Small","Video","Filter","Sale","GetColorSchemeCssClasses","disabled","primarySchema","None","secondarySchema","BlackToWhite","Black","TransparentWhite","Transparent","White","TransparentBlack","WhiteToBlack","WhiteBorderToBlack","WhiteToTransparent","RedBorder","Red","Green","LightGrey","DarkBlue","TransparentDisabled","Orange","Empty","cssClassName","baseStyle","position","borderRadius","transitionDuration","transitionTimingFunction","transitionDelay","transitionProperty","boxSizing","BaseSpan","span","BaseButton","getCompiledStyle","iconBefore","iconAfter","autoHeight","selected","fullWidth","linkButtonCss","cursorDisabled","itemHeight","itemPadding","validatedDisplay","currentCss","textAlign","left","right","justifyContent","cursor","LinkButton","text","disableClickEventsOnSelected","rel","disableClick","classNames","baseClass","isDocument","linkTarget","linkRel","commonStyle","title","SolidButton","asButton","strikeThrough","onTouchStart","onTouchEnd","textDecoration","NonInteractiveSolidButton","opacity","backgroundColor","base","location","hiddenParams","URLSearchParams","_url","URL","URLX","entries","entry","append","host","hostname","origin","password","port","protocol","search","username","searchParams","toString","hasHiddenParams","params","hiddenUrl","relativeUrl","includeHash","isInternalUrl","query","currentUrl","equalsUrl","urlA","urlB","compareHash","compareHiddenParams","equalsParams","paramsA","paramsB","keysA","Set","keysB","size","valuesA","getAll","valuesB","includes","pathCombine","first","rest","path","substr","isDocumentLink","containsDocumentType","ext","SHOW_QUICKSEARCH","HIDE_QUICKSEARCH","UPDATE_QUICKSEARCH_TEXT","UPDATE_QUICKSEARCH_COMPLETIONS","UPDATE_EMPTYSEARCH","UPDATE_SELECTED_QUICKSEARCH_COMPLETION","SEARCH_QUERY_NAME","SEARCH_PAGE_LOAD_QUERY_NAME","MIN_SEARCH_LENGTH","DELAY_SEARCH_IN_MS","lastRequestId","hideQuickSearch","setFirstSuggestionAsSearchText","showQuickSearch","updateSelectedCompletion","index","loadQuickSearch","searchText","Math","random","set","String","json","quicksearchLists","loadEmptySearch","executeSearch","emptySearchLists","sitePages","setKnownUrls","pages","content","searchPageUrl","searchPage","resetPasswordPage","checkoutPageUrl","checkoutPage","myAccountPage","startPage","pageNotFoundBlocks","registerPage","giftCardUrl","giftCardPage","wishListUrl","wishlist","loginUrl","loginPage","CART_LOAD","CART_LOAD_SUCCESS","MINI_CART_LOAD_SUCCESS","CART_LOAD_FAILURE","CART_OPTIMISTIC_UPDATE","CART_CHANGES_ACCEPTED","CART_CLEAR_RECOMMENDATIONS","rejectInvalidQuantity","code","addToCart","quantity","ticket","currentCategory","colorProductCode","isCheckoutPage","showModal","isValidQuantity","sendCartRequest","cart","existingItem","items","find","actualQuantity","formatLineItemId","lineItemId","newQuantity","previousQuantity","updateCartItemQuantity","lineId","removeCartItem","currentCartUpdate","getCartUrl","loadFull","market","toLowerCase","updateCart","getState","catch","pendingTickets","diffOrCreator","diff","sendNextRequest","cartState","currentPendingChanges","pendingChanges","headers","totalDiff","tickets","cartViewModel","trackingResult","added","removed","changes","miniCart","updateResult","maxQuantity","getMinicart","fetch","item","isBrowser","isServiceWorker","navigator","caches","delete","has","match","open","iOSVersion","isIOS","versionString","userAgent","parseFloat","replace","isIE","supportAsyncStorage","indexedDB","Avensia_Common_Features_Account_Login_LoginPageViewModel","Avensia_Common_Features_Account_Register_RegisterPageViewModel","Avensia_Common_Features_AppShell_AppShellViewModel","Avensia_Common_Features_Article_ArticlePageViewModel","Avensia_Common_Features_Category_CategoryTreeViewModel","Avensia_Common_Features_Category_CategoryViewModel","Avensia_Common_Features_Checkout_Pages_Checkout_CheckoutPageViewModel","Avensia_Common_Features_Checkout_Pages_OrderConfirmation_OrderConfirmationPageViewModel","Avensia_Common_Features_Cms_CmsPageViewModel","Avensia_Common_Features_CustomerService_CustomerServiceItemViewModel","Avensia_Common_Features_CustomerService_CustomerServiceViewModel","Avensia_Common_Features_Error_Pages_PageNotFoundViewModel","Avensia_Common_Features_GiftCards_GiftCardPageViewModel","Avensia_Common_Features_MagazineStart_MagazineStartPageViewModel","Avensia_Common_Features_Markets_MarketsPageViewModel","Avensia_Common_Features_MyPages_MyPagesInformationPageViewModel","Avensia_Common_Features_MyPages_MyPagesProfilePageViewModel","Avensia_Common_Features_PickUpInStore_ArrivingOrders_ArrivingOrdersPageViewModel","Avensia_Common_Features_PickUpInStore_DeliveredOrders_DeliveredOrdersPageViewModel","Avensia_Common_Features_PickUpInStore_StoreSelectionPageViewModel","Avensia_Common_Features_Product_VariationViewModel","Avensia_Common_Features_ResetPassword_ResetPasswordPageViewModel","Avensia_Common_Features_Search_SearchPageViewModel","Avensia_Common_Features_Shared_Blocks_AccordionBlock_AccordionBlockViewModel","Avensia_Common_Features_Shared_Blocks_BlockSlider_BlockSliderBlockViewModel","Avensia_Common_Features_Shared_Blocks_CountryLink_CountryLinkBlockViewModel","Avensia_Common_Features_Shared_Blocks_CTABlock_CTABlockViewModel","Avensia_Common_Features_Shared_Blocks_Editorial_EditorialBlock","Avensia_Common_Features_Shared_Blocks_Hero_HeroBlockViewModel","Avensia_Common_Features_Shared_Blocks_Html_CssAndScriptBlock","Avensia_Common_Features_Shared_Blocks_Image_ImageBlockViewModel","Avensia_Common_Features_Shared_Blocks_Imbox_ImboxBlockViewModel","Avensia_Common_Features_Shared_Blocks_InformationBlock_InformationBlockViewModel","Avensia_Common_Features_Shared_Blocks_Magazine_MagazineArticleBlockViewModel","Avensia_Common_Features_Shared_Blocks_Magazine_MagazineBlockViewModel","Avensia_Common_Features_Shared_Blocks_Product_ProductBlockViewModel","Avensia_Common_Features_Shared_Blocks_Product_ProductGroupBlockViewModel","Avensia_Common_Features_Shared_Blocks_Product_ProductGroupItemBlockViewModel","Avensia_Common_Features_Shared_Blocks_Product_ProductListBlockViewModel","Avensia_Common_Features_Shared_Blocks_ProductFeature_ProductFeatureBlockViewModel","Avensia_Common_Features_Shared_Blocks_ProductFeature_ProductFeatureListBlockViewModel","Avensia_Common_Features_Shared_Blocks_RowLayout_RowLayoutBlockViewModel","Avensia_Common_Features_Shared_Blocks_SaleBlock_SaleBlockViewModel","Avensia_Common_Features_Shared_Blocks_ShopTheLook_ShopTheLookBlockViewModel","Avensia_Common_Features_Shared_Blocks_ShopTheLook_ShopTheLookGroupBlockViewModel","Avensia_Common_Features_Shared_Blocks_ShopTheLook_ShopTheLookItemBlockViewModel","Avensia_Common_Features_Shared_Blocks_TextBlock_SliderTextBlockViewModel","Avensia_Common_Features_Shared_Blocks_TextBlock_TextBlockViewModel","Avensia_Common_Features_Shared_Blocks_Video_VideoProductsBlockViewModel","Avensia_Common_Features_Shared_Partials_PreviewViewModel","EPiServer_Core_XhtmlString","Avensia_Common_Features_SiteLayout_Footer_SiteFooter","Avensia_Common_Features_SiteLayout_Footer_OptionLinks_MultipleOptionLinksBlockViewModel","Avensia_Common_Features_SiteLayout_Footer_OptionLinks_SingleOptionLinksBlockViewModel","Avensia_Common_Features_SizeGuide_SizeGuideBlock","Avensia_Common_Features_Start_StartPageViewModel","Avensia_Common_Features_Stores_DeviatingOpeningHourBlock","Avensia_Common_Features_Stores_StoreLandingPageViewModel","Avensia_Common_Features_WishList_WishListPageViewModel","EPiServer_Core_ContentArea","EPiServer_SpecializedProperties_LinkItemCollection","componentRegistry","isCompact","Children","themeContextCreatorRegistry","loadedComponents","loadedThemeContexts","setComponentRegistry","registry","setThemeContextCreatorRegistry","resolveComponent","componentLoader","componentHasLoaded","additionalChunkLoadError","resolveThemeContext","getContextCreator","contextCreator","themeContextHasLoaded","resolveThemeContextSyncIfLoadedOrThrow","context","allComponentsAreResolved","findAllComponentNames","hasComponentLoaded","resolveComponentAndChildComponents","componentNames","components","isRoot","cacheItem","$cache","resolveSyncIfLoadedOrThrow","isBundleLoadError","Ratio","calculateTopPadding","ratio","OneToOneFill","OneToOne","ThreeToTwo","FourToThree","FiveToFour","EightToThree","SixteenToNine","NineToSixteen","FourteenToNinePortrait","Fill","FourtyToThirteen","ThreeToFour","TwoToThree","TwelveToTwentyThree","TwentyToThirteen","paddingTop","elementRef","Div","float","ModalWrap","BaseDiv","div","TopContentWrap","flexDirection","TopContentWrapBorder","borderBottom","TopContentInnerWrap","gap","HeadingBase","HeadingText","HeadingWrap","CloseWrap","Close16","marginLeft","Close24","ParagraphText","top","bottom","Plus","transform","ModalTopContent","textAboveHeading","heading","textAboveLine","bottomLine","closeText","closeModal","closeIconSize","bottomPadding","topMargin","mobileShrinkToggle","shrunkOnMobile","CloseIcon","getCloseIcon","TopWrap","paddingBottom","ScrollableWrap","scrollbarWidth","msOverflowStyle","mask","image","repeat","overflowY","overflowX","overscrollBehaviorY","ModalScrollableContent","resetOnContentChange","blockShrink","scrollableRef","scrollElementRef","scrollTo","ModalTabWrap","scrollSnapType","ModalTab","ModalTabLabel","ModalTabs","tabs","activeTab","switchToTab","tab","headerHeight","UI","setModalIsOpen","isOpen","modalIsShown","hideModal","paneContent","backgroundContent","paneBackgroundColor","widthInColumns","paneWidthInColumns","transitionTime","isOnLeft","paneContentShown","paneFitContent","shrinkableOnMobile","backgroundDisabled","zIndex","childZIndex","setMobileModalShrunk","bottomMargin","MOBILE_MARGIN_BOTTOM","DESKTOP_MARGIN","gridAdjustment","modalHeight","translationX","lastTouchStartY","setLastTouchStartY","hasMovedDuringTouch","setHasMovedDuringTouch","baseRef","setModalShrunk","isShrunk","modalOpen","removeBodyScrollingWhenModalOpen","imBoxWrapId","querySelector","getElementById","nr","split","innerHTML","removeChild","doubleSize","enabled","onClose","idx","curr","contains","marginRight","element","touches","clientY","onTouchMove","changedTouches","Boolean","closest","QuestionCircle24x24","boldUcase","MenuLinkText","ModalScrollableContentSecondTierDesktop","Modal","Divider","hr","ItemLabel","ItemHeading","TabWrap","TabText","TabTextSelected","AdditionalLinksWrap","LinkBase","HoverLink","paddingRight","HoverLinkActive","HoverLinkImage","img","HoverLinkImageActive","ExtraLinkBase","HoverExtraLink","HoverExtraLinkIcon","ExtraLink","CategoryModalContent","selectedTabIndex","selectedTopItem","setSelectedTabIndex","activeMenuItem","setSelectedMenuItem","selectedTab","selectedTabChildren","indexName","Link","Image","onClickOrRedirect","icon","alt","showAllText","extraLinks","SecondaryHeadingWrap","SecondaryHeading","SecondaryHeadingIcon","SecondaryShowAllLink","SecondaryShowAllLinkIcon","SecondaryShowAllText","SecondaryLinkBase","SecondaryExtraLinksWrap","SecondaryExtraLink","SecondaryItemLink","CategoryItemsModalContent","selectedItem","modalContent","MenuLinkItemOnClick","openAccountBox","actionType","status","stack","DesktopTieredModal","connect","mainMenu","toggleMainMenu","setMainMenuCategory","scene","selectedCategory","secondTier","primaryModalContent","secondaryModelContent","LeftTieredModalDesktop","FirstTierChildren","SecondTierChildren","iconCodes","ActionIconFromIconCode","iconCode","Logout","User","Location","assertUnreachable","ShownBelowFirstTier","secondTierColor","secondTierWide","AccountBoxScene","ACCOUNT_BOX_OPEN","ACCOUNT_BOX_CLOSE","ACTION_REQUIRES_LOGIN","redirectToAfterLogin","Login","closeAccountBox","openLoginBoxIfLoginRequired","returnUrl","showLogin","isLoggedIn","currentUser","PAGE_LOAD","PAGE_LOAD_CACHED","PAGE_LOAD_SUCCESS","PAGE_LOAD_FAILURE","PAGE_LOAD_DONE","PAGE_LOAD_ABORTED","PAGE_UNHANDLED_ERROR","PAGE_UPDATE","PAGE_UPDATE_SUCCESS","PAGE_UPDATE_FAILURE","lastPageLoadPromise","pageUpdate","pageUpdateSuccess","pageUpdateFailure","loadPage","args","stateChangeEvent","shouldUseResponse","urlBeforeLoad","userIsGoingToNewPage","resolveDynamicData","loadPromise","loadHasCompleted","load","urlWithHiddenQuery","hiddenHref","serverRedirected","serverRedirectedToUrl","initialProgressAction","loadResources","resolveComponentsAndTheme","isFull","isCacheAvailable","allowRenderCache","willRenderCache","actions","currentPromise","hideSpinner","willLoadPage","pageLoadWasDispatched","createPageLoad","pageLoadDone","createPageCache","rg4js","isLastCurrentPage","actualUrl","redirectUrl","decodeURIComponent","serverVersion","CURRENT_VERSION","clearCache","externalTargetUrl","shouldUse","loadActions","jsonWithAppShellData","pageHasAppShellData","updateAppShellData","pageLoadDoneAction","customData","loadUrl","userLog","tags","urlHasNotChangedSinceLoad","stillWaitingForPage","revert","pageLoadFailAction","isShowingFullCachedPage","isShowingPartialCachedPage","contentType","response","results","Appearance","focusColor","blurColor","errorColor","ErrorMessage","Label","userSelect","invalid","LabelContainer","ErrorContainer","inputStyle","boxShadow","paddingLeft","BareInput","Input","Wrapper","FieldWrap","flexGrow","Field","focused","borderStyle","borderColor","GreyThinSolid","borderWidth","BlackThinSolid","inputFocusColor","radius","borderTopColor","borderBottomColor","borderLeftColor","borderRightColor","readOnly","hasChild","textArea","IconButton","isFilled","normalizeValue","onMouseEnter","hovered","onMouseLeave","onFocus","onBlur","isInvalid","onChange","el","valid","filled","lastNewValueCaughtInField","edited","componentWillReceiveProps","nextvalue","validity","focus","blur","placeholder","errorText","hideErrorMessage","hideLabel","forceShowErrorMessage","onIconClick","hideRequiredIndicator","realValue","hasIcon","labelShown","styleProp","required","appearance","Bare","ReadonlyWrapperElement","ReadonlyWrapper","InputTextArea","textarea","resize","InputMessage","Area","inputMessage","createOpenPromise","res","rej","resolvedValue","isResolvedOrRejected","$cacheKey","dataWatchers","languageInit","requestedPropertiesBeforeLanguageInit","setLanguage","language","callDataWatchers","getCacheKey","timer","toResolve","requestsInFlight","nukeCache","cacheKey","getFastCache","resolveDataSync","fastCacheItem","getFastCacheItem","preloaded","refreshIfCached","wasInFastCache","networkResolveRequest","resolveOverNetwork","getCacheItem","cached","JSON","stringify","payload","resolveMode","resolvesToSend","sortedResolves","values","sort","lastType","generateDynamicDataQueryString","sentCacheKey","sentResolve","addToCache","autoResolveDynamicData","dynamicData","returnPromiseAll","updateData","keyPrefix","cacheContext","onDataUpdate","callback","setCacheItem","dw","$c","genericStyle","ImageRatioDefault","maxHeight","ImageRatioCustomWide","objectFit","ImageRatioCustom","PictureDefault","PictureCustomWide","PictureCustom","ImageResource","wrapperClassName","wrapperStyle","RatioPicture","PictureResource","findIn","cacheUrlMatcher","isCacheItem","meta","dynamicDataFastCache","clearCacheItem","partialCacheOrNull","deep","nukeItemCache","Right12x12","Down12x12","Left12x12","Right16x16","Left16x16","Right24x24","Left24x24","Base","MenuButton","Button","transformOrigin","SelectedMenuButton","List","Ul","MenuBar","row","primaryMenuItems","menuItem","ButtonComponent","onButtonClick","foreGroundColor","tagName","header","secondaryMenuItems","selectedSecondaryMenuItem","setSelectedSecondaryMenuItem","onClickSecondary","TopMenuWrap","background","TopMenuLinkWrap","TopMenuLink","SubMenu","links","subMenuLinks","toggleTopLinks","Icon","Close","ANIMATION_DURATION","HEIGHT","COMPACT_HEIGHT","TOP_ROW_HEIGHT","BOTTOM_ROW_HEIGHT","HR_HEIGHT","ConditionalTop","ConditionalTopInner","TopRow","gridTemplateColumns","pointerEvents","LogoWrap","BottomRow","VisualBackground","HomeLink","TopLogo","Wrap","Line","DesktopHeader","isCollapsed","isScrolled","transparentAtTop","isHovered","showTopLinks","quickSearchIsOpen","isProductPage","isGiftCardPage","isOrderConfirmationPage","isStoreMode","treatAsCollapsed","baseBackground","fgColors","fgCondition","foregroundColor","inputPlaceHolderFocusColor","showScrollUpHeader","StoreBanner","placeholderColor","ActionButtons","withText","inverseFGColor","listeners","on","events","eventName","handleWindowSubscription","listener","newPosition","scrollingElement","triggerEvent","rootProps","onKeyDown","startTime","Date","now","startTop","distance","userHasInteracted","onUserInteraction","onScroll","stopPropagation","scrollFrame","currentTime","time","start","change","easeInOutQuad","addEventListener","finally","removeEventListener","offsetTop","offsetParent","hasSubscribers","throttling","throttleEvent","windowEvents","scroll","touchmove","touchstart","touchend","boundWindowEvents","GridSize","createGridClasses","additionalClasses","createCenterGridClass","stop","createOffsetGridClassLarge","nrCols","createOffsetGridClassTiny","fillGridBins","totalColumns","numberOfBins","startOffset","ButtonLink","ButtonNotLink","inheritTextAlign","appear","font","family","variant","weight","Full","isLink","ShowCartModal","SHOW_CART_MODAL","HideCartModal","HIDE_CART_MODAL","SetDisplayedQuickShopProducts","displayedQuickShopProducts","SET_DISPLAYED_SHOP_THE_LOOK_PRODUCTS","SetSelectedStore","selectedStore","SET_SELECTED_STORE","SetHeaderHeight","SET_HEADER_HEIGHT","SetModalIsOpen","SET_MODAL_IS_OPEN","addedToCartModal","displayCartModal","SET_ADDED_TO_CART_MODAL","CLEAR_ADDED_TO_CART_MODAL","modalIsOpen","addToDataLayer","cb","Cookiebot","hasResponse","dataLayer","dataLayerLastAction","initTagManager","productsToImpressions","products","listName","from","impressions","displayName","formatTrackingId","itemNumber","price","sellingPrice","brand","category","categoryName","list","productItemNumber","variationCode","variationCodeParts","addToCartThrottler","eventInfo","ecommerce","add","product","cartEventLocation","timeoutId","cartActionsQueue","trackingInformationProductsInQueue","remove","excecuteCartThrottlerQueue","intermediate","addProduct","removeProduct","abs","mergeCartAddActions","mergedAction","removeFromCart","insightsPageView","appInsights","trackPageView","pageLoad","isDynamicPageLoad","purchaseAction","variationAction","searchParam","q","pathSufix","pageData","trackingUser","userData","registrationDate","checkout","actionField","emailAddress","customer","email","emailHashed","trackingInformationTransaction","ordersTracked","orderAlreadyTracked","transactionId","isFirstReceiptView","orderConfirmationAction","orderId","orderAmount","transactionTotalRevenue","orderTaxAmount","transactionTotalTax","currency","transactionCurrency","shippingAmount","transactionTotalShipping","purchase","revenue","coupon","transactionCouponCode","trackingInformationProducts","ts_checkout","tsCheckoutOrderNr","tsCheckoutBuyerEmail","tsCheckoutOrderAmount","Number","toFixed","tsCheckoutOrderCurrency","tsCheckoutOrderPaymentType","paymentMethodName","apprl","apprlOrderId","apprlOrderCurrency","apprlOrderTotal","apprlOrderSku","apprlOrderQuantity","apprlOrderPrice","variationEventAction","trackingProduct","detail","numProducts","productList","max","pageName","currencyCode","saveEmailToLocalStorage","productClickInList","click","genericImpressions","TOGGLE_MAINMENU","SET_MAINMENU_CATEGORY","SET_SECONDARY_MENUITEM","menuTopPosition","toggleAction","A","useDefaultLinkColor","ms","Status","Behavior","behavior","KeepEnabled","connectWithFeedback","feedback","minimumPending","maximumFulfilled","maximumRejected","defaultFeedbackStatus","statusText","Consumer","FeedbackSlave","feedBackSize","successText","failedText","pendingText","isDefault","isPending","Pending","isFulFilled","Fulfilled","isRejected","Rejected","CheckIcon","Check","RejectedIcon","Spinner","buttonStatus","asyncOperationQueue","asyncOperation","queue","isLastOperation","mounted","setStatus","statusState","resetState","maximumDisplayed","Infinity","minimumPendingTimer","SingleSuccess","visible","LINK_IDENTIFIER_HEADER","REQUEST_ACTION_HEADER","INCLUDE_APP_SHELL_DATA_HEADER","RESOLVE_DYNAMIC_DATA_HEADER","VERSION_HEADER_NAME","MARKET_HEADER","ADD_TO_CART_ACTION","CLICK_ACTION","settingsVersionStorage","onAuthRequired","getJson","includeDefaultHeaders","post","postJson","method","credentials","getItem","storedVersion","removeItem","headerVersion","setItem","serverHasDifferentSettingsVersion","ok","majorVersionDiffers","serverHasDifferentMajorVersion","serverHasDifferentVersion","isContinuousDeployEnvironment","version1","version2","version1Array","version2Array","storage","appShellDataUrl","nukeAppShell","clear","saveAppShellData","nukeAppShellData","appShellComponentName","getAppShellData","scopeLinkAttribute","scopeLinksContainerAttribute","hashScrollOffset","convertLegacyUrlToString","encodeURIComponent","historyAPISupported","ua","history","currentState","stateId","stateIndex","getStateIndex","ignoreNextPopStateEvent","pushState","saveScrollPosition","skipPopEvent","back","backHistory","dispatchEvent","onHistory","eventList","goHistory","go","scrollToHash","animate","anchorElement","offset","scrollToHashAfterInitialRender","removeAttribute","images","getElementsByTagName","complete","currentOnload","isExternalLink","clickedLink","eventState","eventStateIndex","getSavedScrollPosition","scrollMemory","afterEvent","maybePromise","ceil","SPINNER_SHOW","SPINNER_HIDE","SPINNER_ACTIVATION","SPINNER_PROGRESS","showSpinner","changeProgress","parseDeclarationBlock","declarations","block","value_1","parseDeclaration","hyphenateProperty","hyphenateRegex","propertyCache","reverse","reversed","formatRule","identifier","formatClassRule","pseudo","formatKeyframesRule","blockList","formatFontFaceRule","Injector","plainIndex","pseudoIndex","keyframesIndex","fontFaceIndex","incrementClassHash","incrementKeyframesHash","incrementFontFaceHash","injectNewClassRule","injectNewKeyframesRule","injectNewFontFaceRule","injectClassName","injectKeyframes","declarationList","injectFontFace","original","injector","transformer","atomic","media","_f","_g","_h","getIndex","animations","names","families_1","fontFace","extensions","extension","longhandValue","alias","inject","blocks","rule","declaration","cachedValues","indexes","injectSheetRule","sheet","cssRules","insertRule","createStyleElement","dataset","insertStyleElement","insertBefore","createHashCounter","prefix","count","msb","power","increment","virtualCount","pow","CLASS_RULE_REGEX","KEYFRAMES_REGEX","FONT_FACE_REGEX","InjectorClient","_super","styleElement","textContent","exec","isCSSStyleSheet","GlitzClient","_this","plain","classHasher","keyframesHasher","fontFaceHasher","mediaOrderOption","mediaOrder","mediaSheets","initialMediaSheet","mediaIndex","orderedMediaKeys","preRenderStyles","querySelectorAll","preRenderStyles_1","InjectorServer","getStyle","GlitzServer","getStyleMarkup","markup","medias_1","feature","selector","reduce","acc","fns","reduceRight","prevFn","nextFn","getCurrentBaseUrl","FormatString","str","val","formatStringByKeys","originalString","interpolands","alteredString","interpoland","colorFromTag","fallbackColor","colorFromStatus","selectDeviceImageFromProperty","imageSmallScreen","smallScreen","normal","selectDeviceImage","globalEventName","globalStateName","exposeScopeState","subscribe","eventHandlers","dispatchScopeEvent","handler","console","logError","ImageTransition","ImageTransitionHidden","BasicPicture","picture","BasicImage","PictureImage","preset","imageRef","imageUrl","srcSet","loading","checkIfCachedByBrowser","isCached","assumeCachedByBrowser","srcUrl","findBrowserCachedResource","cachedIsNotForCurrentPreset","loadResource","cachedResource","breakPoint","prevProps","originalSrc","currentLoad","naturalWidth","currentSrc","browserCachedResources","naturalHeight","rememberBrowserCachedResource","quality","pendingPreview","currencyIntagerFormatters","currencyMixedFormatters","formatPrice","locale","removeLiteralsAndCurrency","Intl","NumberFormat","formatToParts","part","isMixed","floor","formatters","fractionDigits","minimumFractionDigits","maximumFractionDigits","format","formatNumber","number","Svg","viewBox","Circle","cx","cy","stroke","strokeWidth","strokeMiterlimit","strokeDasharray","strokeDashoffset","strokeLinecap","Spinner8x8","Spinner12x12","Spinner16x16","Spinner24x24","Close12x12","Close16x16","Close24x24","setupScopeStateHooks","createScopeStateHook","currentValue","setCurrentValue","previousValue","unsubscribe","spinner","LAYOUT_BREAKPOINT","Gap","Basic","GridWrap","Footer","Section","Article","Form","Main","Favourite16x16","Favourite20x20","Favourite24x24","FavouriteFull16x16","FavouriteFull20x20","FavouriteFull24x24","Check8x8","Check12x12","Check16x16","VoucherType","COMPLETE_PURCHASE","COMPLETE_PURCHASE_WITHOUT_PAYMENT_GATEWAY_SUCCESS","COMPLETE_PURCHASE_FAILURE","CHECKOUT_OPTIMISTIC_UPDATE","CHECKOUT_CHANGES_ACCEPTED","setAddresses","shippingAddress","billingAddress","useSeparateShippingAddress","handleCheckoutDiff","updateCartData","updateAddressesAndSetCheckoutState","separateShippingAddress","onKlarnaShippingOptionChange","updateShippingOptionAndSetCheckoutState","shippingMethod","selectedOptionId","taxAmount","tax_amount","taxRate","tax_rate","setShippingMethod","updateCheckoutStateAndSend","addCartItem","addVoucher","BonusCheck","addedBonusChecks","addedSecondHandChecks","removeVoucher","removedBonusChecks","removedSecondHandChecks","addGiftCardCode","cardNumber","giftCards","removeGiftCardCode","removedGiftCards","addDiscountCode","addedDiscountCodes","removeDiscountCode","removedDiscountCodes","setApplyMembership","applyMembership","dispatchCartAndCheckoutUpdate","emitModified","dispatchCheckoutUpdate","sendPendingCheckoutRequests","flushCheckoutRequests","currentCheckoutUpdate","cartDiff","endpoint","failedAttempts","isNaN","diffIds","success","regex","PrevPrice","culture","countryCode","listPrice","comparePrice","currentPriceLow","currentPriceHigh","originalPriceLow","originalPriceHigh","comparePriceLow","comparePriceHigh","microData","vertical","spaceBetween","noStyle","subtraction","fontSizePrevPrice","displayPriceLabels","rowBreakMainPrice","explicitCulture","explicitCurrency","hasDiscount","hasCompare","baseProps","priceRender","priceRenderDiscount","priceRenderCompare","Finnish","German","itemProp","itemType","itemScope","PureComponent","phrases","translate","setPhrases","phrase","formatObject","formatArray","ph","trim","languagePhrases","supportsComponentPropName","supportsComponentProp","innerProps","mergedClassName","outerClassName","innerClassName","editorAttributes","propertyName","attrs","_name","restInnerProps","for","IS_IN_TEST_MODE","html","childNodes","parse","substring","htmlDecode","configurable","PropertyComponent","propertyComponentProps","AltLogo","ScaledLogo","hasServiceWorker","explicitUrlsToClear","cacheKeys","cacheNames","cacheName","raceWithTimeout","deleteFromCache","Request","cacheDeletes","every","deletes","cacheAccessor","resolveWithForTimeout","resolvedOrRejected","warn","b2","fauxStorage","setLocalStorageItem","localStorage","getLocalStorageItem","defaultValue","coalesceName","previousTheme","ScrollableFade","ModalBase","order","Center","TextContainer","InformationText","hasError","errorAppearedOn","reRendered","onRetryClick","componentDidCatch","info","reloadCurrentPage","standalone","Plus12x12","Plus16x16","Plus24x24","Cross48Uri","Plus48Uri","TR","tr","borderTopLeftRadius","borderBottomLeftRadius","borderTopRightRadius","borderBottomRightRadius","TD","td","TH","th","Table","table","borderCollapse","tableLayout","componentProps","keepImageSizes","Editor","H5","H6","Q","spacing","cleanTableProps","cleanChildren","TableWrap","tableStyle","QUICKSEARCH_BORDERS","QUICKSEARCH_HEIGHT","MobileMagnifierIcon","invisible","textColor","isIncomplete","onSubmitCallback","onKeyPress","keyCode","which","charCode","onSubmit","IDBIsClosingError","dbName","storeName","dbp","_open","openreq","onsuccess","onupgradeneeded","createObjectStore","_withIDBStore","db","transaction","oncomplete","onabort","objectStore","storeToUse","req","put","createDummyStory","race","init","emptyIfTimeout","emptyIfErrorBecauseIDBIsClosing","del","clearAndSetVersion","initPromises","debug","IconText","AlwaysIconText","ButtonWrap","ButtonInner","ButtonInnerWithText","CartIndicator","linkItem","cartType","ActionButton","alwaysText","showText","forceText","BtnWrap","buttonProps","cartLinkItem","functionLinks","wishListItem","filteredFunctionLinks","relocateForSmallDevice","subMenuLinkCount","twoLetterCountryCode","storeMode","quickSearch","componentIsSearch","isObject","obj","extend","ssrDocument","activeElement","nodeName","createEvent","createElementNS","importNode","getDocument","doc","ssrWindow","CustomEvent","getComputedStyle","getPropertyValue","screen","getWindow","win","Dom7","super","proto","makeReactive","arrayFlat","arr","arrayFilter","$","toCreate","tempParent","qsa","nodeType","uniqueArray","arrayUnique","noTrigger","shortcut","trigger","Methods","addClass","classes","classList","removeClass","hasClass","toggleClass","toggle","attr","getAttribute","attrName","removeAttr","eventType","targetSelector","capture","handleLiveEvent","eventData","dom7EventData","unshift","is","parents","handleEvent","dom7LiveListeners","proxyListener","dom7Listeners","off","handlers","dom7proxy","evt","bubbles","cancelable","dataIndex","transitionEnd","dom","fireCallBack","outerWidth","includeMargins","offsetWidth","outerHeight","offsetHeight","box","getBoundingClientRect","clientTop","clientLeft","scrollY","scrollLeft","scrollX","prop","each","compareWith","webkitMatchesSelector","msMatchesSelector","previousSibling","eq","returnIndex","els","newChild","tempDiv","firstChild","prepend","nextElementSibling","nextAll","nextEls","prev","previousElementSibling","prevAll","prevEls","parentNode","foundElements","found","methodName","writable","nextTick","getTranslate","axis","matrix","curTransform","transformMatrix","curStyle","currentStyle","WebKitCSSMatrix","webkitTransform","MozTransform","OTransform","MsTransform","msTransform","m41","m42","noExtend","nextSource","HTMLElement","keysArray","nextIndex","len","nextKey","desc","getOwnPropertyDescriptor","__swiper__","setCSSProperty","varName","varValue","setProperty","animateCSSModeScroll","swiper","targetPosition","side","startPosition","speed","wrapperEl","cancelAnimationFrame","cssModeFrameID","dir","isOutOfBound","getTime","min","easeProgress","cos","PI","currentPosition","deviceCached","getSupport","smoothScroll","touch","DocumentTouch","passiveListener","supportsPassive","opts","gestures","calcSupport","getDevice","overrides","support","platform","device","ios","android","screenWidth","screenHeight","ipad","ipod","iphone","windows","macos","os","calcDevice","getBrowser","isSafari","isWebView","calcBrowser","transitionEmit","runCallbacks","activeIndex","previousIndex","emit","touchEventsData","animating","preventInteractionOnTransition","cssMode","loop","loopFix","originalEvent","$targetEl","touchEventsTarget","isTouchEvent","isTouched","isMoved","swipingClassHasValue","noSwipingClass","eventPath","composedPath","shadowRoot","noSwipingSelector","isTargetShadow","noSwiping","__closestFrom","assignedSlot","getRootNode","closestElement","allowClick","swipeHandler","currentX","targetTouches","pageX","currentY","pageY","startX","startY","edgeSwipeDetection","iOSEdgeSwipeDetection","edgeSwipeThreshold","iOSEdgeSwipeThreshold","innerWidth","allowTouchCallbacks","isScrolling","startMoving","touchStartTime","updateSize","swipeDirection","threshold","allowThresholdMove","focusableElements","shouldPreventDefault","allowTouchMove","touchStartPreventDefault","touchStartForcePreventDefault","isContentEditable","freeMode","rtlTranslate","rtl","targetTouch","preventedByNestedSwiper","touchReleaseOnEdges","isVertical","maxTranslate","minTranslate","diffX","diffY","sqrt","touchAngle","isHorizontal","atan2","touchMoveStopPropagation","nested","startTranslate","setTransition","$wrapperEl","allowMomentumBounce","grabCursor","allowSlideNext","allowSlidePrev","setGrabCursor","touchRatio","currentTranslate","disableParentSwiper","resistanceRatio","resistance","followFinger","watchSlidesProgress","updateActiveIndex","updateSlidesClasses","updateProgress","setTranslate","slidesGrid","touchEndTime","timeDiff","pathTree","updateClickedSlide","lastClickTime","destroyed","currentPos","stopIndex","groupSize","slidesSizesGrid","slidesPerGroupSkip","slidesPerGroup","rewindFirstIndex","rewindLastIndex","rewind","isBeginning","virtual","slides","isEnd","longSwipesMs","longSwipes","slideTo","longSwipesRatio","shortSwipes","navigation","nextEl","prevEl","onResize","breakpoints","setBreakpoint","snapGrid","updateSlides","slidesPerView","centeredSlides","autoplay","running","paused","run","watchOverflow","checkOverflow","preventClicks","preventClicksPropagation","stopImmediatePropagation","newProgress","previousTranslate","translatesDiff","dummyEventAttached","dummyEventListener","touchEvents","domMethod","swiperMethod","passiveListeners","passive","move","end","cancel","updateOnWindowResize","isGridEnabled","grid","rows","initialSlide","resizeObserver","createElements","setWrapperSize","virtualTranslate","effect","breakpointsBase","slidesPerGroupAuto","centeredSlidesBounds","slidesOffsetBefore","slidesOffsetAfter","normalizeSlideIndex","centerInsufficientSlides","roundLengths","simulateTouch","uniqueNavElements","slideToClickedSlide","preloadImages","updateOnImagesReady","loopAdditionalSlides","loopedSlides","loopedSlidesLimit","loopFillGroupWithBlank","loopPreventsSlide","maxBackfaceHiddenSlides","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","_emitClasses","moduleExtendParams","allModulesParams","moduleParamName","moduleParams","auto","prototypes","eventsEmitter","priority","eventsListeners","onceHandler","__emitterProxy","eventsAnyListeners","eventHandler","update","$el","clientWidth","clientHeight","parseInt","getDirectionLabel","getDirectionPropertyValue","swiperSize","wrongRTL","isVirtual","previousSlidesLength","slidesLength","offsetBefore","offsetAfter","previousSnapGridLength","previousSlidesGridLength","slidePosition","prevSlideSize","virtualSize","gridEnabled","slideSize","initSlides","shouldResetSlideSize","slide","updateSlide","slideStyles","currentTransform","currentWebKitTransform","swiperSlideSize","updateWrapperSize","newSlidesGrid","slidesGridItem","slideIndex","allSlidesSize","slideSizeValue","maxSnap","snap","allSlidesOffset","snapIndex","addToSnapGrid","addToSlidesGrid","updateSlidesOffset","backFaceHiddenClass","hasClassBackfaceClassAdded","updateAutoHeight","activeSlides","newHeight","getSlideByIndex","visibleSlides","swiperSlideOffset","offsetLeft","updateSlidesProgress","offsetCenter","visibleSlidesIndexes","slideOffset","slideProgress","originalSlideProgress","slideBefore","slideAfter","originalProgress","multiplier","wasBeginning","wasEnd","realIndex","activeSlide","nextSlide","prevSlide","emitSlidesClasses","newActiveIndex","previousRealIndex","previousSnapIndex","skip","initialized","slideFound","clickedSlide","clickedIndex","byController","translateTo","translateBounds","internal","newTranslate","isH","onTranslateToWrapperTransitionEnd","transitionStart","initial","indexAsNumber","isFinite","normalizedTranslate","normalizedGrid","normalizedGridNext","_immediateVirtual","_swiperImmediateVirtual","onSlideToWrapperTransitionEnd","slideToLoop","newIndex","slideNext","perGroup","slidesPerViewDynamic","_clientLeft","slidePrev","normalize","normalizedSnapGrid","prevSnap","prevSnapIndex","prevIndex","lastIndex","slideReset","slideToClosest","currentSnap","slideToIndex","loopCreate","$selector","blankSlidesNum","blankNode","prependSlides","appendSlides","cloneNode","loopDestroy","moving","isLocked","unsetGrabCursor","attachEvents","detachEvents","breakpointParams","originalParams","wasMultiRow","isMultiRow","wasEnabled","emitContainerClasses","wasModuleEnabled","isModuleEnabled","disable","enable","directionChanged","needsReLoop","changeDirection","isEnabled","containerEl","currentHeight","innerHeight","points","point","minRatio","wasLocked","lastSlideIndex","lastSlideRightEdge","addClasses","suffixes","resultClasses","prepareClasses","removeClasses","loadImage","imageEl","srcset","sizes","checkForComplete","onReady","imagesLoaded","imagesToLoad","extendedDefaults","swipers","newParams","browser","__modules__","mod","extendParams","once","swiperParams","passedParams","onAny","velocity","touchEventsTouch","touchEventsDesktop","clickTimeout","velocities","cls","slideEl","updates","getSlideClasses","view","exact","spv","breakLoop","translateValue","translated","newDirection","needUpdate","currentDirection","getWrapperSelector","getWrapper","wrapper","mount","deleteInstance","cleanStyles","deleteProps","newDefaults","installModule","prototypeGroup","protoMethod","use","observer","animationFrame","resizeHandler","orientationChangeHandler","ResizeObserver","newWidth","contentBoxSize","contentRect","inlineSize","blockSize","observe","unobserve","observers","attach","MutationObserver","WebkitMutationObserver","mutations","observerUpdate","attributes","childList","characterData","observeParents","observeSlideChildren","containerParents","disconnect","Parallax","parallax","setTransform","rtlFactor","scale","currentOpacity","currentScale","_swiper","parallaxEl","$parallaxEl","parallaxDuration","momentum","momentumRatio","momentumBounce","momentumBounceRatio","momentumVelocityRatio","sticky","minimumVelocity","lastMoveEvent","velocityEvent","momentumDuration","momentumDistance","afterBouncePosition","doBounce","bounceAmount","needsLoopFix","moveDistance","currentSlideSize","effectInit","overwriteParams","perspective","recreateShadows","getEffectParams","requireUpdateOnVirtual","overwriteParamsResult","_s","slideShadows","effectTarget","effectParams","$slideEl","transformEl","createShadow","shadowClass","$shadowContainer","$shadowEl","EffectCoverflow","coverflowEffect","rotate","stretch","depth","modifier","swiperWidth","swiperHeight","center","centerOffset","offsetMultiplier","rotateY","rotateX","translateZ","translateY","translateX","slideTransform","round","$shadowBeforeEl","$shadowAfterEl","SlideEffect","FlexWrap","PagingContainer","CircleFilled","CircleUnfilled","SwiperLeftAlt2Wrap","Swirl","showNav","centerNav","alternativeNav","gridIndent","navIndentLeft","additionalMargin","pagination","pagingItemCount","paginationContainerCss","pagingIconColor","overflowHidden","showSwirl","navColor","slideEffect","centerSlides","coverFlowParams","swiperReference","sliderRef","swiperContainerRef","prevDisabled","setPrevDisabled","nextDisabled","setNextDisabled","currentIndex","setSlideIndex","validateSlideIndex","swipeLeftMargin","swipeRightMargin","cssModeState","slideChange","validateSwiper","reachBeginning","reachEnd","CoverFlow","onInit","activeIndexChange","onIndexChange","onSlideChange","changeSlide","isNext","listHeading","dangerouslySetInnerHTML","__html","previousDisabled","sideMargin","CircleIcon","scripts","scriptElements","unloadScript","Search16x16","Search24x24","HIDE_HEADER","COMPACT_HEADER","SCROLLUP_HEADER","showScrollDownHeader","ResizePreset","Preset","queryStringPreset","QuickSearchItem","bp","QuickSearchItemTiny","QuickSearchItemLarge","ListItem","ListItemTiny","ListItemLarge","FullWidth","FullWidthTiny","FullWidthMedium","FullWidthLarge","HalfWidth","HalfWidthTiny","HalfWidthMedium","HalfWidthLarge","EditorTiny","EditorMedium","EditorLarge","MagazineTopItem","MagazineTopItemTiny","MagazineTopItemLarge","MagazineListItem","MagazineListItemTiny","MagazineListItemLarge","CmsListItem","CmsListItemTiny","CmsListItemLarge","MagazineListItemThumb","SquareListItem","SquareListItemTiny","SquareListItemLarge","Item","ItemTiny","ItemMedium","ItemLarge","ItemZoom","ItemZoomTiny","ItemZoomLarge","ItemThumb","ItemThumbLarge","resizeTypes","second","presets","getPresets","getImagePreset","appendImagePreset","Unchecked14x14","Checked14x14","input","CheckMark","CheckBox","EmptyCheckBox","RelativeSpinner","RelativeReject","FadeContainer","IconContainer","feedbackToggle","checked","iconWidth","iconHeight","checkBoxNoneReversed","Checked","Unchecked","Checkbox","serviceWorker","clearCacheAndUnregisterServiceWorker","getRegistrations","registrations","unregister","registrationPromise","registerServiceWorker","killServiceWorker","register","SERVICE_WORKER_URL","scope","registration","controller","newWorker","installing","initialRenderDone","UPDATE_APP_SHELL_DATA","isCurrentBrowserTab","updateAppShellDataAction","initUpdateAppShellDataOnSchedule","automaticReloadInSeconds","updateOnNextVisible","setInterval","hidden","SET_THEME_NAME","setTheme","dispatchAction","addUserLog","log","date","userLogToString","totalSeconds","valueOf","minutes","seconds","zeroPad","Error8x8","Error12x12","Error16x16","setSesstionStorage","sessionStorage","getSessionStorage","generatedEvents","setStoreForCrossWindowEvents","visibilityState","newValue","onCrossWindow","eventsArray","emitCrossWindow","SwipeLeft","SwipeLeftAlt2","SwipeRight","SwipeRightAlt2","AddItem","ADD_ITEM","RemoveItem","REMOVE_ITEM","imageRatio","ProductLink","BoldUpperCaseSpan","TagWrap","Tag","ProductCardInner","ProductMarkingsWrap","ProductMarking","FavoriteWrap","FavoriteInner","ProductLinkWrap","ProductLinkWrapInner","ProductLinkTextWrap","ProductOnelineText","ProductSize","QuickAddToCartWrap","QuickAddToCartInner","SizeLabel","SecondaryImage","flexWrap","CardOverlay","CardOverlayLabel","ProductCard","shopAtStore","shopAtStoreLabel","loggedIn","toggleWishlistItem","isFavorited","setDisplayedQuickShopProducts","hideCartModal","quickAddToCart","onTracking","listIndex","isWishListPage","setFavourite","quickAddStep","setQuickAddStep","multipleImages","imageUrls","Favorite","enabledImageHover","displayCardOverlay","comingSoon","outOfStock","cardOverLayLabel","enabledQuickAdd","productTags","hoverProduct","flag","markings","marking","statusCode","toggleWishlist","preSelectedSizeCode","selectedSizeCode","setSelectedSize","sizeName","sizeCode","oneLineText","sizeRange","Price","Line24x2","BaseNoBg","MenuLeft","MeunMid","Home","Logo","MenuIconWrap","MenuBtnLine","MobileHeader","hideUSPs","mainMenuOpen","fg","bg","browserRender","container","pageIsInEditMode","wrappingAttrs","passThroughProps","contentAreaItems","itemAttrs","$idForOnPageEditing","ContentAreaItem","decorators","registerDecorator","allowedEvents","htmlEventToReactEventName","htmlEvent","isElement","isComponent","renderHtmlTag","relevantDecorators","allowedEvent","attrWithFn","Function","anyEl","loaded","eval","domElement","firstRun","getUrl","childItem","model","currentOpenOverlay","coverIsPresent","close","getStyles","willEnter","willLeave","didLeave","keyDown","interpolatedStyles","Overlay","defaultProps","ModalView","ModalScrollableContentContainer","EmailSentContainer","setEmail","FeedbackButton","emailSent","setEmailSent","errorMessage","setErrorMessage","formContent","labels","passwordResetIntro","forgotPasswordIntro","backToLogin","toLogin","postForgotPassword","invalidEmail","missingEmail","resetPassword","passwordResetHeading","forgotPasswordHeading","ModalScrollableContentWrap","ErrorText","InputEmail","InputPassword","ForgotPasswordText","textDecorationLine","columnGap","HtmlWrap","setPassword","rememberMe","setRememberMe","redirectOnLogin","postLogin","invalidPassword","missingPassword","toForgotPassword","forgotPassword","login","becomeMember","toRegister","Html","memberUspModalBody","InputSsn","InputFirstName","InputLastName","InputMobile","BackToLoginTextWrap","BackToLoginText","personNumber","setPersonNumber","firstName","setFirstName","lastName","setLastName","mobileNumber","setMobileNumber","termsAccepted","setTermsAccepted","cellPhone","socialSecurityNumber","updateAction","isValid","postRegister","enabledSocialSecurityNumber","socialSecurityNr","pattern","socialSecurity","invalidSocialSecurityNr","missingSocialSecurityNr","invalidFirstName","missingFirstName","invalidLastName","missingLastName","phoneNumberRequired","cellphone","phoneNumber","invalidCellPhone","missingCellPhone","acceptTermsText","acceptTermsDescription","ModalScrollableContentContainerDesktop","InputElem","IntroText","token","isTokenValid","newPassword","setNewPassword","showPassword","setShowPassword","createPasswordIntro","postUpdatePassword","minLength","enterNewPassword","changePassword","ModalScrollable","createPasswordHeading","SpinnerWrap","ContentWrap","ExtendedInvisiblePart","LoginWithFeedback","startModalView","preloadedLoginView","preloadedRegisterView","resetPasswordView","isWide","modalView","setModalView","loginViewContent","setLoginViewContent","registerViewContent","setRegisterViewContent","modalRef","getLoginViewContent","getRegisterViewContent","handleOutsideClick","LoginRegister","ForgotPassword","Register","ResetPassword","resetPasswordViewContent","resetPasswordEmail","resetPasswordToken","renderModalContent","bare","column","listStyle","maxCacheSize","maxFastCacheSize","shouldOverwriteCache","shouldCacheInFastCache","getKey","allowFastCacheRemoval","flushTimer","fastCache","fastCacheKeys","allCacheKeys","findInFastCache","partial","placeFirstInFastCache","cachedKey","pendingNewKeys","saveCacheKeysList","keysToRemove","addToFastCache","oldestKeyInFastCache","getAllCacheKeys","existing","onCacheSet","findIndex","nukeServiceWorkerCaches","ErrorBoundaryInner","UIInitialState","WishlistInitialState","UspWrap","UspLinkWrap","UspLink","UspLinkText","Usp","usps","uspRef","currentUsp","setCurrentUspIndex","interval","clearInterval","openInNewWindow","MobileWrap","MobileSeparator","MobileInput","MobileSearchIcon","DesktopInput","DesktopWrap","DesktopSearchIcon","QuickSearchInputForm","currentPageIsSearch","placeHolder","quickSearchPlaceHolder","dependencies","inputRef","searchValue","setSearchValue","onInputFocus","searchUrl","preview","loadResults","useSuggestion","suggestion","newUrl","autoComplete","gotoSearch","searchHistory","deserialize","serialize","LinkWrap","CurrentStoreLink","currentStore","activeStoreName","storeSelectionPageUri","storeSelectionPage","ProductCardWrapper","OptionLi","li","HeadText","flexShrink","flexBasis","Indicator","CartLinkBase","CartLink","CartButton","isCart","cartCount","wishlistCount","CartLinkType","showCartModal","Cart","iconTextColor","React","Error24x24","SwiperWrap","numberOfProductsVisible","cellSpacing","Up32x32","Down32x32","Right32x32","Left32x32","Up40x40","Up48x48","Right48x48","Left48x48","RightUri","LeftUri","Up12x12","CircleFilled8x8","CircleFilled12x12","CircleUnfilled8x8","CircleUnfilled12x12","Unchecked16x16","Checked16x16","Cart24x24","CartFull24x24","Location24x24","LocationScaled","inlineScriptsList","elem","existsInDom","addScript","inlineScript","removeScript","elementExists","Heart16x16","Heart20x20","Heart24x24","MapPin24x24","POPLogoAlt2","Noimage","Menu24x24","Logout12x12","Up16x32","Up24x40","Down24x40","Right24x40","Up32x64","Down32x64","Up40x80","Down40x80","ModalScrollableContentFirstTierMobile","SecondaryMenuLabel","SecondaryMenuHeading","SecondaryMenuLink","SecondaryMenuRightIcon","SecondaryMenuShowAllText","SecondaryMenuSwiperWrap","SecondaryMenuItemLink","backgroundSize","backgroundPosition","SecondaryMenuItemLinkText","GoBackWrap","GoBackText","GoBack","bgColor","PrimaryLink","PrimaryLinkText","PrimaryLinkGroup","PrimaryLinkWrap","PrimaryBaseLink","PrimarySecondaryLink","PrimarySubmenuLink","PrimaryRelocatedLinksWrap","borderTop","PrimaryBottomLink","PrimaryBottomLinkText","MobileTieredModal","secondaryMenu","setSecondaryMenu","thirdTier","primaryMenuModal","onCategoryClick","onSecondaryLinkClick","functionMenuLinks","wishListLink","filteredSubMenuLinks","CartIndicatorButton","PrimaryMenuModalContent","secondaryMenuModal","thirdMenuModal","secondTierChildren","thirdTierChildren","SwiperList","backgroundImage","MenuLink","HoverMenuLink","ShowAllLinkText","SecondaryRightmost","currentHoveredItem","setCurrentHoveredItem","lastHoveredItem","setLastHoveredItem","interMenuCategory","setInterMenuCategory","motionStyle","Menu","interpolatedStyle","onTransitionEnd","ProductCardBody","ProductCardImageWrap","ProductCardDataWrap","ProductCardDataTop","ProductCardNameWrap","ProductCardName","ProductCardOnelineWrap","ProductCardOnelineDesktop","ProductCardOnelineMobile","ProductCardDataBottom","ProductCardTag","testDataId","Viewport","draggable","ArticleCardLink","ArticleCardData","ArticleCardDataText","ArticleCardDataDescription","description","SearchSoftHeading","h2","EmptyResult","InstantSearchLink","SnippetResultText","SnippetsWrapper","MobileSnippetResult","contentResultSnippets","InlineGrey","InlineBlack","Items","suggestions","recentSearches","recentSearch","RecentProductsHeading","RecentProductLink","flex","basis","grow","shrink","RecentProductDisplayName","recentProduct","categories","MobileEmptyResults","ModalScrollableContentMobileResultsContainer","MobileResultsButtonWrap","MobileResultsButton","showResults","activeSearch","resultsAreEmpty","initialSearch","noResultsFor","array","recentProducts","EmptyResultsText","SearchIconSmall","Search","ResultsWrap","ResultsContainer","ModalScrollableContentResultsContainer","ResultsButtonWrap","ResultsButton","gotSnippetReults","initialSearchContent","TopContent","MessageContent","ItemWrap","ItemImageWrap","ItemContentWRap","ItemPrice","ClearAddedToCartModal","retainedCartModal","setRetainedCartModal","cartItem","addedToCart","CartItem","sizeLabel","displayedInCart","sizeAndAge","placedPrice","ProductCartItem","extId","incompleteOffer","CartTopWrap","mobileMarginBottom","CartTop","CartTopText","CartTopClose","CartTopLine","ScrollArea","EmptyCartWrap","EmptyCartHeader","EmptyCartIntro","EmptyCartButton","CartTotalsWrap","CartTotalsText","CartTotalsPrice","CartShippingWrap","CartShippingText","CartShippingPrice","CartSumInfo","CartSumInformationLine","CartModalContent","itemsInCart","qtyInCart","emptyCart","yourCart","emptyCartHeading","emptyCartIntro","emptyCartButton","recommendationsHeadingEmptyCart","recommendations","CartList","recommendationsHeading","sum","totalListPrice","totalPlacedPrice","shipment","shippingTotal","cartSumInformation","ci","proceedToCheckout","BLACK_TOP_MOBILE_HEIGHT","BLACK_TOP_DESKTOP_HEIGHT","Header","Placeholder","oldScrollPos","hideUsps","calculateHeaderHeight","transparentTop","isStartPage","isCmsPage","unsubscribeResize","unsubscribeScroll","scrollListener","setHeaderHeight","prevState","getHeaderHeight","didScrollDown","didScrollUp","scrollPosIsBelowHeader","onMobileScroll","onDesktopScroll","marginIfNotScrolled","isScrolledOrModalOpen","applyPendingChanges","pendingChange","_imbox","total","newState","updatedItem","subTotal","totalPrice","subTotalWithOrderLevelDiscount","orderLevelDiscount","isDigital","totalSavings","paymentFailed","validationItems","itemIndex","hasMoreProductHits","didYouMean","selectedCompletionIndex","originalSearchTerm","getCompletionAtIndex","getQuerySuggestion","completionsAction","currentQuery","firstNonEmptyList","firstAutocomplete","currentWords","autocompleteWords","startsWith","footer","loginMenuVisible","openAction","currentPageState","pagingAction","canonicalUrl","pagingReducer","oldSearch","newSearch","checkoutState","showLoadingSpinner","prevCode","newCode","newVariationFamily","variations","variation","miniCartReducer","uiReducer","wishlistReducer","wishList","updateCanonicalUrl","NeutralMessage","TagName","SizeTagsWrap","StyledDropdownShell","SizeTagsContainer","MARKETS_USING_AGE_AS_SIZE","SelectableSizes","setDisplayName","isAgeAsSizePrimary","getSizeDisplayName","sizeAge","primarySize","secondarySize","isDisabled","inStock","stockAvailability","centralStockAvailability","displayNameStyle","closeOnClickInContent","noTopMargin","noOpenBorderBottom","useModal","withPortal","ulStyle","liStyle","textStyle","hideCount","onChangeOption","newSize","AvailableSizes","availableSizes","isAvailable","Minus12x12","visibilityTimer","nextState","User24x24","updatedParentCode","OptionUl","SelectionWrapper","OptionText","option","secondaryText","markSelected","ButtonStyled","ToggleIconWrap","DropdownContent","Dropdown","DropdownModal","dialog","inset","ModalClose","DropdownPortal","DropdownShell","createRef","triggerRef","dropdownPos","onOpenClick","onClickInContent","enableBodyClose","unbindRootClick","noBorder","noOpenStyle","noHoverStyle","noTransition","containContentInContainer","growContentToContainer","DropdownBox","getDropdownBox","TRANSITION_DURATION","allowOverflow","dropDownProps","setCookie","exdays","setTime","expires","toUTCString","getCookie","cookieName","ca","charAt","int","QuantityButton","Feedback","QuantityButtonLeft","QuantityButtonRight","QuantityField","StyledText","isFocused","proxyValue","parsedValue","verify","Minus","Trash12x12","StyledDiv","StyledParagraph","SpecialOffer","offerName","offerLinkText","offerUrl","Media","ContentBase","ContentMobile","ContentDesktop","SizeData","CartItemLink","GiftCardEditingContainer","Message","MobileQuantityField","RemoveIconWrap","RemoveIcon","TagsAndPrice","Tags","DesktopTagsText","DesktopEditAndQuantity","DesktopEditAndQuantityInner","alignSelf","GiftCardEditLink","ItemDataContent","ItemDataDeskTopWrap","ItemButtonsDesktopWrap","BackupStoreNote","totalComparePrice","giftCardInformation","giftCard","ItemData","deliveryType","phoneOrEmail","backupStore","isSentFromBackupStore","backupInventoryLineItemMessage","updateUrl","edit","isThreeForTwo","linkText","Magnifier16x16","Magnifier24x24","Bag24x24","BagFull24x24","ArrowRight12x12","ArrowRight16x16","ArrowRight24x24","MapPin16x16","QuestionMark16x16","QuestionMark24x24","UserFull24x24","At","Be","Bg","Cy","Cz","De","Dk","Ee","Es","Fi","Fr","Gb","Gr","Hr","Hu","Ie","It","Lt","Lu","Lv","Mt","Nl","No","Pl","Pt","Ro","Se","Si","Sk","Us","POPLogo","ArrowCircleUp32x32","ArrowCircleUp40x40","ArrowCircleUp48x48","ArrowSwirlUp16x32","ArrowSwirlUp24x40","ArrowSwirlUp32x64","ArrowSwirlUp40x80","ChevronRight12x12","ChevronRight16x16","ChevronRight24x24","Minus16x16","Minus24x24","Trash16x16","Checkbox14x14","CheckboxChecked14x14","Radio16x16","RadioChecked16x16","_hyphenateStyleName2","_hyphenateStyleName","ImageHolder","isScript","paymentWidgetLink","isJS","ButtonListWrap","ButtonList","targetNewWindow","DrawerWrap","DrawerWrapNoTop","DrawerWrapTop","DrawerHeading","DrawerContent","DrawerIcon","Drawer","uppercaseTitle","hideTopDivider","isOpened","setIsOpened","FooterLinksWrap","FooterLinkMobile","FooterLinkDesktop","FooterLinks","linkItems","FooterWrap","FooterLogoWrap","FooterIcon","FooterMemberWrap","FooterMemberText","FooterHelpLinksTitle","FooterContentWrap","FooterContentWrapInner","FooterContentText","BottomLinkWrap","BottomLink","BottomSectionDivider","BottomSection","gridGap","CopyRightText","memberHeading","memberButtonText","helpLinks","contentHeading","contentText","PaymentWidget","copyRight","getFullYear","bottomLinks","uppercasePattern","msPattern","toHyphenLower","hName","CompactLogo","ContinueShopping","LeftIcon","returnToShopLink","returnToShopLinkLabel","pageHeading","LoginModal","actionbarQueue","actionbar","snackbars","updaters","updater","onUpdate","setActionbar","pushRemoveActionbar","removeActionbar","updateSnackbar","removeSnackbar","snackbarKey","contextTypes","tray","childContext","getChildContext","childContextTypes","isActionbar","heights","snackbarRef","unsubscribeUpdate","trayState","motionStyleToCssProperties","actionbars","ActionbarItem","SnackbarList","SnackbarOuter","SnackbarInner","Tray","togglePageEnd","pageYOffset","componentWillMount","dismissed","retriedWhileOffline","isOnline","ignoredOfflineWarning","onRetry","onDismiss","showOfflineMessage","onLine","canonicalResource","canonical","newTitle","parts","formatHost","elements","metaElement","alternateLinks","alternateElement","hreflang","renderMeta","callbackScript","addCookieConsentCallback","isMarketPage","isLoginPage","isRegisterPage","isResetPasswordPage","isStoreLandingPage","isStoreSelectionPage","hideHeaderAndFooterAndMenu","hideFooter","ErrorBoundary","SimpleHeader","backToShoppingLink","Loader","lengthSafeProperties","backgroundPositionX","backgroundPositionY","borderBlockEnd","borderBlockEndWidth","borderBlockStart","borderBlockStartWidth","borderBottomWidth","borderInlineEnd","borderInlineEndWidth","borderInlineStart","borderInlineStartWidth","borderLeft","borderLeftWidth","borderRight","borderRightWidth","borderSpacing","borderTopWidth","columnRule","columnRuleWidth","columnWidth","gridAutoColumns","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateRows","lineHeightStep","marginBlockEnd","marginBlockStart","marginInlineEnd","marginInlineStart","maskPosition","maskSize","maxBlockSize","maxInlineSize","minBlockSize","minInlineSize","offsetBlockEnd","offsetBlockStart","offsetDistance","offsetInlineEnd","offsetInlineStart","offsetPosition","outline","outlineOffset","outlineWidth","paddingBlockEnd","paddingBlockStart","paddingInlineEnd","paddingInlineStart","perspectiveOrigin","scrollSnapCoordinate","scrollSnapDestination","shapeMargin","textIndent","textShadow","wordSpacing","timeSafeProperties","animationDelay","animationDuration","uppercaseRegex","createNumberToLengthTransformer","defaultLengthUnit","defaultUnit","convert","transformed","capitalizeString","prefixProperty","prefixProperties","newStyle","requiredPrefixes","capitalizedProperty","styleProperty","prefixValue","plugins","metaData","processedValue","addIfNew","addNewValuesOnly","wms","prefixMap","grab","grabbing","alternativeValues","wrap","alternativeProps","_slicedToArray","_arr","_n","_d","_e","sliceIterator","isSimplePositionValue","alignmentValues","displayValues","propertyConverters","msGridRowAlign","gridColumn","msGridColumn","_value$split$map","_value$split$map2","gridColumnStart","gridColumnEnd","msGridColumnSpan","gridRow","msGridRow","_value$split$map3","_value$split$map4","gridRowStart","gridRowEnd","msGridRowSpan","msGridColumns","msGridRows","justifySelf","msGridColumnAlign","borderBlockStartColor","borderBlockStartStyle","borderBlockEndColor","borderBlockEndStyle","borderInlineStartColor","borderInlineStartStyle","borderInlineEndColor","borderInlineEndStyle","WebkitTransition","WebkitTransitionProperty","MozTransition","MozTransitionProperty","prefixMapping","Webkit","Moz","_ref","WebkitBoxOrient","WebkitBoxDirection","grad","propertyConverter","alternativePropList","propertyPrefixMap","outputValue","multipleValues","singleValue","dashCaseProperty","prefixes","pLen","webkitOutput","mozOutput","combinedValue","_processedValue","devToolOptions","numberToLengthOptions","glitzCoreOptions","getGlobal","globalThis","global","objCreateFn","func","tmpFunc","__extendStaticsFn","root","assignFn","extendsFn","globalObj","getGlobalInst","gbl","hasWindow","hasDocument","getNavigator","getHistory","getLocation","getPerformance","hasJSON","getJSON","_isTrident","_mwcSeeded","_mwcW","_mwcZ","_mwcSeed","seedValue","_autoSeedMwc","_isTypeof","theType","_isUndefined","_isNullOrUndefined","_hasOwnProperty","_isObject","_isFunction","_attachEvent","eventNameWithoutOn","handlerRef","useCapture","_detachEvent","objForEachKey","callbackfn","LoggingSeverity","CoreUtils","isDate","isError","isString","isNumber","isBoolean","disableCookies","_canUseCookies","newGuid","GuidRegex","randomValue","toISOString","pad","num","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","arrForEach","arrIndexOf","searchElement","fromIndex","lp","arrMap","arrReduce","initialValue","strTrim","objKeys","hasDontEnumBug","dontEnums","dontEnumsLength","objDefineAccessors","getProp","setProp","defineProp","descriptor","addEventHandler","w","EventHelper","Attach","dateNow","dt","perfNow","perf","newId","maxLength","random32","chars","maxValue","signed","getRandomValues","Uint32Array","mwcRandom32","mwcRandomSeed","generateW3CId","tmp","hexValues","oct","clockSequenceHi","isTypeof","isUndefined","isNullOrUndefined","isFunction","objCreate","AttachEvent","Detach","DetachEvent","_InternalMessageId","_objGetPrototypeOf","_dynamicNames","_isObjectOrArrayPrototype","_isObjectArrayOrFunctionPrototype","_getObjProto","newProto","_isDynamicCandidate","funcName","skipOwn","_throwTypeError","_hasVisited","_getInstFunc","currentDynProtoProxy","instFunc","instFuncTable","canAddInst","objProto","visited","protoFunc","_getProtoFunc","_getObjName","unknownValue","dynamicProto","theClass","delegateFunc","classProto","thisTarget","thisProto","_checkPrototype","perfOptions","useBaseInst","instFuncs","_getInstanceFuncs","_instFuncProxy","funcHost","theFunc","baseFuncs","baseProto","_getBaseFuncs","setInstanceFunc","baseInstFuncs","_createDynamicPrototype","dynProtoProxy","_populatePrototype","setInstFuncs","_sanitizeDiagnosticText","_InternalLogMessage","msgId","msg","isUserAct","messageId","strProps","diagnosticText","dataType","DiagnosticLogger","config","_messageCount","_messageLogged","_self","_getConfigValue","defValue","consoleLoggingLevel","telemetryLoggingLevel","maxInternalMessageLimit","enableDebugExceptions","throwInternal","severity","messageKey","WARNING","warnToConsole","logInternalMessage","theConsole","logFunc","resetInternalMessageCount","logMessage","throttleLimitMessage","throttleMessage","PerfEvent","payloadDetails","isAsync","theDetails_1","accessorDefined","isChildEvt","getCtx","ParentContextKey","ChildrenContextKey","setCtx","childTime","childEvts","childEvt","exTime","PerfManager","manager","ctx","fire","perfEvent","doPerf","mgrSource","getSource","details","perfMgr","perfEvt","currentActive","ex","plugin","defItemCtx","_nextProxy","_hasProcessTelemetry","processTelemetry","_hasSetNext","setNextPlugin","_hasRun","getPlugin","getNext","setNext","nextPlugin","env","itemCtx","core","hasRun","diagLog","CRITICAL","_createProxyChain","proxies","lastProxy","thePlugin","newProxy","ProcessTelemetryContext","startAt","proxy","_copyProxyChain","srcPlugins","_copyPluginChain","logger","getCfg","getExtCfg","theConfig","extConfig","extensionConfig","getConfig","field","theValue","hasNext","processNext","createNew","BaseTelemetryPlugin","_isinitialized","_rootCtx","_nextPlugin","_getTelCtx","isInitialized","setInitialized","currentCtx","rootCtx","_baseTelInit","pluginChain","getProcessTelContext","initialize","initializePlugins","processContext","initPlugins","lastPlugin","sortPlugins","extA","extB","bHasProcess","StorageType","FieldType","DistributedTracingModes","_objDefineAccessors","ChannelController","_channelQueue","_arrForEach","_addChannelQueue","queueItem","_checkQueuePriority","_base","queues","getChannelControls","isCookieUseDisabled","channels","extensionQueue_1","_createChannelQueues","_staticInit","BaseCore","_eventQueue","_channelController","_notificationManager","_perfManager","_isInitialized","_extensions","notificationManager","instrumentationKey","NotificationManager","allExtensions","coreExtensions","channelExtensions","extPriorities","extPriority","getTransmissionControls","releaseQueue","track","telemetryItem","iKey","ver","thePlugins","getNotifyMgr","addNotificationListener","removeNotificationListener","eventsSent","eventsDiscarded","reason","eventsSendRequest","sendReason","getPerfMgr","enablePerfMgr","setPerfMgr","eventCnt","EventsDiscardedReason","perfEvtsSendAll","AppInsightsCore","_notifyInvalidEvent","_validateTelemetryItem","pollInternalLogs","diagnosticLogInterval","baseType","baseData","RequestHeaders","requestContextHeader","requestContextTargetKey","requestContextAppIdFormat","requestIdHeader","traceParentHeader","sdkContextHeader","sdkContextHeaderAppIdRequest","requestContextHeaderLowerCase","DataSanitizer","sanitizeKeyAndAddUniqueness","origLength","sanitizeKey","uniqueField","MAX_NAME_LENGTH","padNumber","nameTrunc","sanitizeString","valueTrunc","MAX_STRING_LENGTH","sanitizeUrl","sanitizeInput","MAX_URL_LENGTH","sanitizeMessage","messageTrunc","MAX_MESSAGE_LENGTH","sanitizeException","exception","exceptionTrunc","MAX_EXCEPTION_LENGTH","sanitizeProperties","tempProps_1","MAX_PROPERTY_LENGTH","sanitizeMeasurements","measurements","tempMeasurements_1","measure","sanitizeId","MAX_ID_LENGTH","_msgId","inputTrunc","_uaDisallowsSameSiteNone","Util","createDomEvent","Event","initEvent","disableStorage","_canUseLocalStorage","_canUseSessionStorage","_getLocalStorageObject","canUseLocalStorage","_getVerifiedStorageObject","LocalStorage","storageType","fail","uid","isInternalApplicationInsightsEndpoint","endpointUrl","_internalEndpoints","getStorage","getExceptionName","dump","setStorage","removeStorage","_getSessionStorageObject","canUseSessionStorage","SessionStorage","getSessionStorageKeys","setSessionStorage","removeSessionStorage","canUseCookies","disallowsSameSiteNone","domain","domainAttrib","secureAttrib","location_1","stringToBoolOrDefault","cookies","deleteCookie","getIEVersion","userAgentStr","myNav","tridentVer","msToTimeSpan","totalms","sec","hour","days","isCrossOriginError","lineNumber","columnNumber","objectTypeDump","propertyValueDump","IsBeaconApiSupported","sendBeacon","getExtension","extIx","NotSpecified","toISOStringForIE8","UrlHelper","parseUrl","anchorIdx","_htmlAnchorIdx","anchorCache","_htmlAnchorElement","tempAnchor","parseHost","getAbsoluteUrl","getPathName","getCompleteUrl","absoluteUrl","inclPort","fullHost","parseFullHost","CorrelationIdHelper","canIncludeCorrelationHeader","requestUrl","currentHost","disableCorrelationHeaders","correlationHeaderExcludePatterns","requestHost","enableCorsCorrelation","matchExists_1","includedDomains","correlationHeaderDomains","RegExp","excludedDomains","correlationHeaderExcludedDomains","getCorrelationContext","responseHeader","correlationId","getCorrelationContextValue","correlationIdPrefix","keyValues","keyValue","AjaxHelper","ParseDependencyPath","commandName","parsedUrl","pathName","DateTimeUtils","Now","timing","navigationStart","GetDuration","DisabledPropertyName","SampleRate","ProcessLegacy","HttpMethod","DEFAULT_BREEZE_ENDPOINT","ConnectionStringParser","connectionString","kvPairs","_FIELDS_SEPARATOR","fields","kv","kvParts","_FIELD_KEY_VALUE_SEPARATOR","endpointsuffix","locationPrefix","ingestionendpoint","Data","Envelope","aiDataContract","Required","sampleRate","Hidden","Domain","EventData","envelopeType","StackFrame","ExceptionData","exceptions","ExceptionDetails","hasFullStack","parsedStack","DataPointType","Exception","severityLevel","problemGroup","isManual","CreateFromInterface","toInterface","CreateSimpleException","typeName","assembly","fileName","line","_ExceptionDetails","outerId","_getErrorType","parseStack","frame","frames_1","level","totalSizeInBytes","parsedFrame","sizeInBytes","acceptedLeft","acceptedRight","howMany","_StackFrame","sourceFrame","baseSize","MetricData","metrics","SeverityLevel","DataPoint","kind","stdDev","Measurement","Metric","dataPoint","PageViewData","PageView","durationMs","RemoteDependencyData","resultCode","requestAPI","correlationContext","dependencyKind","dependencySource","dependencyTypeName","dependencyFields","Trace","MessageData","PageViewPerformance","unused","cs4BaseData","perfTotal","networkConnect","sentRequest","receivedResponse","domProcessing","PageViewPerfData","ConfigurationManager","configValue","ContextTagKeys","applicationVersion","applicationBuild","applicationTypeId","applicationId","applicationLayer","deviceId","deviceIp","deviceLanguage","deviceLocale","deviceModel","deviceFriendlyName","deviceNetwork","deviceNetworkName","deviceOEMName","deviceOS","deviceOSVersion","deviceRoleInstance","deviceRoleName","deviceScreenResolution","deviceType","deviceMachineName","deviceVMName","deviceBrowser","deviceBrowserVersion","locationIp","locationCountry","locationProvince","locationCity","operationId","operationName","operationParentId","operationRootId","operationSyntheticSource","operationCorrelationVector","sessionId","sessionIsFirst","sessionIsNew","userAccountAcquisitionDate","userAccountId","userId","userStoreRegion","userAuthUserId","userAnonymousUserAcquisitionDate","userAuthenticatedUserAcquisitionDate","cloudName","cloudRole","cloudRoleVer","cloudRoleInstance","cloudEnvironment","cloudLocation","cloudDeploymentUnit","internalNodeName","internalSdkVersion","internalAgentVersion","internalSnippet","internalSdkSrc","TelemetryItemCreator","envelopeName","customProperties","systemProperties","Extensions","UserExt","DeviceExt","TraceExt","WebExt","AppExt","OSExt","SessionExt","SDKExt","CtxTagKeys","PropertiesPluginIdentifier","BreezeChannelIdentifier","AnalyticsPluginIdentifier","PageViewManager","overridePageViewDuration","pageViewPerformanceManager","_logger","intervalHandle","itemQueue","pageViewPerformanceSent","_flushChannels","flush","pageView","uri","isPerformanceTimingSupported","sendPageViewInternal","customDuration","pageViewSent","getPerformanceTiming","shouldCollectDuration","processed","isPerformanceTimingDataReady","pageViewPerformance","populatePageViewPerformanceEvent","sendPageViewPerformanceInternal","allItems","doFlush","PageVisitTimeManager","pageVisitTimeTrackingHandler","prevPageVisitDataKeyName","trackPreviousPageVisit","currentPageName","currentPageUrl","prevPageVisitTimeData","restartPageVisitTimer","pageUrl","pageVisitTime","prevPageVisitData","stopPageVisitTimer","startPageVisitTimer","currPageVisitData","currPageVisitDataStr","pageVisitEndTime","pageVisitDataJsonStr","pageVisitStartTime","PageViewPerformanceManager","MAX_DURATION_ALLOWED","navigationTiming","getPerformanceNavigationTiming","network","connectEnd","requestStart","responseStart","responseEnd","loadEventEnd","isPerformanceNavigationTimingSupported","getEntriesByType","domainLookupStart","domLoading","durations","_navigator","botAgentNames","isGoogleBot","_dispatchEvent","evnt","ApplicationInsights","autoRoutePVDelay","_trackAjaxAttempts","_prevUri","getDefaultConfig","sessionRenewalMs","sessionExpirationMs","disableExceptionTracking","autoTrackPageVisitTime","enableUnhandledPromiseRejectionTracking","samplingPercentage","isStorageUseDisabled","isBrowserLinkTrackingEnabled","enableAutoRouteTracking","namePrefix","doNotSendItem","telemetryInitializersCount","_telemetryInitializers","telemetryInitializer","trackEvent","startTrackEvent","_eventTracking","stopTrackEvent","trackTrace","trace","trackMetric","metric","inPv","_pageViewManager","_pageVisitTimeManager","refUri","referrer","trackPageViewPerformance","_pageViewPerformanceManager","startTrackPage","_pageTracking","stopTrackPage","measurement","loc","sendExceptionInternal","exceptionPartB","trackException","_onerror","properties_1","_sendCORSException","errorString","addTelemetryInitializer","_globalconfig","configGetters","accountId","cookieDomain","sdkExtension","appId","trackPageVisitTime","_addDefaultTelemetryInitializers","pageViewItem","_window","_history","_location","instance","autoExceptionInstrumented","originalOnError_1","handled","autoUnhandledPromiseInstrumented","originalOnUnhandledRejection_1","_self_1","_properties","ret","telemetryTrace","traceID","_currUri","PageName","PageUrl","average","sampleCount","browserLinkPaths_1","_addTelemetryInitializer","envelope","remoteData","Version","Timing","_events","ArraySendBuffer","_buffer","enqueue","getItems","batchPayloads","emitLineDelimitedJson","markAsSent","clearSent","SessionStorageSendBuffer","_bufferFullMessageSent","bufferItems","_getBuffer","BUFFER_KEY","notDeliveredItems","SENT_BUFFER_KEY","_removePayloadsFromBuffer","payloads","buffer","remaining","prefixedKey","bufferJson","_setBuffer","MAX_BUFFER_SIZE","sentElements","_setValueIf","EnvelopeCreator","extractPropsAndMeasurements","createEnvelope","iKeyNoDashes","extractPartAExtensions","envTags","itmExt","itmTags","extUser","user","authId","localId","extApp","app","sesId","extDevice","deviceClass","ip","web","browserLang","browserVer","envData","envBaseData","envProps","screenRes","userConsent","extOs","extTrace","parentID","tgs","tg","Init","DependencyEnvelopeCreator","Create","customMeasurements","bd","remoteDepData","responseCode","EventEnvelopeCreator","ExceptionEnvelopeCreator","exData","MetricEnvelopeCreator","baseMetricData","PageViewEnvelopeCreator","currentContextId","pageType","pageViewData","PageViewPerformanceEnvelopeCreator","TraceEnvelopeCreator","Serializer","_serializeObject","source","output","_serializeStringMap","_serializeArray","contract","isRequired","isHidden","isPresent","sources","expectedType","Offline","OfflineListener","_document","isListening","_onlineStatus","_setOnline","_setOffline","ononline","onoffline","isOffline","HashCodeScoreGenerator","getHashCodeScore","getHashCode","INT_MAX_VALUE","MIN_INPUT_LENGTH","charCodeAt","SamplingScoreGenerator","hashCodeGeneragor","getSamplingScore","Sample","samplingRate","samplingScoreGenerator","isSampledIn","xhr","responseText","Sender","_consecutiveErrors","_retryAt","_timeoutHandle","_serializer","_XMLHttpRequestSupported","_notImplemented","_beaconSender","_senderConfig","batch","plainTextBatch","Blob","_onSuccess","_xhrSender","XMLHttpRequest","endPointUrl","setRequestHeader","onreadystatechange","_xhrReadyStateChange","_onError","_formatErrorMessageXhr","send","_parseResponse","itemsReceived","itemsAccepted","errors","_resendPayload","linearFactor","payload_1","delayInSeconds","backOffSlot","backOffDelay","retryAfterTimeSpan","_setRetryTime","_setupTimer","retryInterval","timerValue","maxBatchInterval","triggerSend","_isRetriable","_xdrSender","xdr","XDomainRequest","_xdrOnLoad","_formatErrorMessageXdr","hostingProtocol","lastIndexOf","pause","resume","onunloadFlush","onunloadDisableBeacon","isBeaconApiDisabled","teardown","_sender","defaultConfig","_getDefaultAppInsightsChannelConfig","_getEmptyAppInsightsChannelConfig","enableSessionStorageBuffer","_sample","disableInstrumentaionKeyValidation","_validateInstrumentationKey","disableTelemetry","aiEnvelope_1","constructEnvelope","doNotSendItem_1","callBack","bufferPayload","maxBatchSizeInBytes","countOfItemsInPayload","readyState","_appId","isRetryDisabled","_onPartialSuccess","async","forcedSender","sendRequest","_getNotifyMgr","_notifySendRequest","ieVer","failed","errors_1","extracted","orig","Session","_SessionManager","acquisitionSpan","renewalSpan","_storageNamePrefix","cookieNameConst","automaticSession","initializeAutomaticSession","acquisitionExpired","acquisitionDate","renewalExpired","renewalDate","renew","cookieUpdatedTimestamp","cookieUpdateInterval","backup","initializeAutomaticSessionWithData","sessionData","acq","renewal","idLength","guid","acquisitionExpiry","renewalExpiry","cookieExpiry","UTCString","Application","Device","Internal","sdkVersion","isNewUser","userCookieName","cookieSeparator","acqStr","accountAcquisitionDate","newCookie","name_1","authCookie","authUserCookieName","authCookieString","decodeURI","authenticatedId","setAuthenticatedUserContext","authenticatedUserId","storeInCookie","validateUserInput","encodeURI","clearAuthenticatedUserContext","parentId","TelemetryContext","application","sessionManager","session","applySessionContext","sessionContext","applyOperatingSystemContxt","applyApplicationContext","build","applyDeviceContext","applyInternalContext","agentVersion","snippetVer","sdkSrc","applyLocationContext","applyOperationContext","applyWebContext","applyUserContext","cleanUp","PropertiesPlugin","_extensionConfig","_breezeChannel","_processTelemetryInternal","cbNames","_arrLoop","_doCallbacks","hooks","callDetails","cbArgs","hookCtx","hook","cbks","inst","orgEx","hookErrorCb","_getOwner","checkPrototype","owner","InstrumentFunc","aiHook_1","newFunc","aiHook","h","funcThis","orgArgs","funcArgs","_replaceArg","_createArgs","theArgs","rslt","theHook","rm","_objKeys","_calcPerfDuration","resourceEntry","_setPerfDuration","_setPerfValue","XHRMonitoringState","openDone","setRequestHeaderDone","sendDone","abortDone","stateChangeAttached","ajaxRecord","spanID","perfMark","completed","requestHeadersSize","requestHeaders","responseReceivingDuration","callbackDuration","ajaxTotalDuration","aborted","requestSize","requestSentTime","responseStartedTime","responseFinishedTime","callbackFinishedTime","endTime","xhrMonitoringState","clientFailure","CreateTrackItem","ajaxType","enableRequestHeaderTracking","getResponse","dependency","ajaxData","perfTiming","propsSet","_isString","strRedirect","strRedirectStart","strRedirectEnd","strDomainLookup","strConnect","strRequest","strResponse","serverTiming","server_1","normalizeJsName","perfAttempts","_populatePerfData","headerMap","responseHeaders","responseType","Traceparent","traceId","spanId","traceFlag","DEFAULT_TRACE_FLAG","version","DEFAULT_VERSION","isValidTraceId","isValidSpanId","_markCount","_getFailedAjaxDiagnosticsMessage","_throwInternalCritical","ajaxMonitorInstance","_throwInternalWarning","_createErrorCallbackFunc","internalMessage","ajaxDiagnosticsMessage","_indexOf","_internalSdkSrc","AjaxMonitor","_context","_isUsingW3CHeaders","_isUsingAIHeaders","_markPrefix","_fetchInitialized","_xhrInitialized","_currentWindowHost","_config","getEmptyConfig","_enableRequestHeaderTracking","_enableAjaxPerfTracking","_maxAjaxCallsPerView","_enableResponseHeaderTracking","_hooks","_disabledUrls","_hookProto","InstrumentProto","_isDisabledRequest","theUrl","idx2","_isMonitoredXhrInstance","excludeAjaxDataValidation","ajaxValidation","_getResponseText","_getAjaxCorrelationContext","responseHeadersString","getAllResponseHeaders","getResponseHeader","_createMarkId","performance_1","mark","markId","getEntriesByName","_findPerfResourceEntry","initiatorType","trackCallback","reportError","performance","maxAttempts","maxAjaxPerfLookupAttempts","retryDelay","ajaxPerfLookupDelay","attempt","locateResourceTiming","getEntries","entryType","clearMarks","_getFailedFetchDiagnosticsMessage","_reportFetchMetrics","_reportFetchError","failedProps","errorProps","_getFetchCorrelationContext","fetchDiagnosticsMessage","ctx_1","distributedTracingMode","enableAjaxPerfTracking","maxAjaxCallsPerView","enableResponseHeaderTracking","AI","AI_AND_W3C","W3C","disableAjaxTracking","abort","theOpen","_supportsAjaxMonitoring","_reportXhrError","ajaxResponse","responseHeaderMap_2","_onAjaxComplete","exceptionText","_attachToOnReadyStateChange","_openHandler","hkErr","includeCorrelationHeaders","_global","isPolyfill","polyfill","disableFetchTracking","fetchData","Headers","_createFetchRecord","newInit","rsp","responseHeaderMap_1","_instrumentFetch","propExt","trackDependencyData","currentWindowHost","traceparent","enableAjaxErrorStatusText","emptyConfig","Initialization","snippet","_snippetVersion","sv","cs","ingest","instrumentationkey","getSKUDefaults","inPvp","channel","loadAppInsights","legacyMode","appInsightsChannel","_updateSnippetProperties","emptyQueue","addHousekeepingBeforeUnload","updateSnippetDefinitions","length_1","appInsightsInstance","performHousekeeping","_sessionManager","disableFlushOnBeforeUnload","nav","disableFlushOnUnload","cdns","scrpt","currentScript","saveTimer","firstLoadIsAppShell","initialRender","initialLog","IS_RENDERED_FROM_CACHE","initialState","devToolsExtension","createStoreWithMiddleware","reducers","__REDUX_DEVTOOLS_EXTENSION__","cookieConsent","UserCustomData","initAppInsights","applicationInsights","queryValue","scopeReady","APP_SHELL_DATA","CURRENT_PAGE","currentCart","newCart","persistCartAndWishListChanges"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,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UC,eAAeC,KAAKgB,EAAG0B,KAAIiC,EAAEjC,GAAK1B,EAAE0B,IAE9E,OAAOiC,IAEKpE,MAAM2F,KAAMI,YAuBhC,IAII0C,EAKJ,SAASC,EAAO7F,GACZ,MATc,aASQA,EAE1B,SAAS8F,EAAkBC,GACvB,IAAIC,EACJ,OAAOA,EAAK,IACM,SAAIJ,EAAKK,QACvBD,EAAG1E,MAAQyE,EACXC,EAKR,SAASE,EAAiBH,GACtB,OAAO,SAAUI,GAAS,OAAOC,EAAQN,EAAkBC,GAAM,CAACI,MAlBtE,SAAWP,GACPA,EAAKA,EAAc,QAAI,GAAK,UAC5BA,EAAKA,EAAkB,YAAI,GAAK,cAFpC,CAGGA,IAASA,EAAO,KAyBnB,IAAIS,EAAqB,CACrB,IACA,OACA,UACA,OACA,UACA,QACA,QACA,IACA,OACA,MACA,MACA,MACA,aACA,OACA,KACA,SACA,SACA,UACA,OACA,OACA,MACA,WACA,OACA,WACA,KACA,MACA,UACA,MACA,SACA,MACA,KACA,KACA,KACA,QACA,WACA,aACA,SACA,SACA,OACA,KACA,KACA,KACA,KACA,KACA,KACA,OACA,SACA,SACA,KACA,OACA,IACA,SACA,MACA,QACA,MACA,MACA,SACA,QACA,SACA,KACA,OACA,OACA,MACA,OACA,OACA,WACA,OACA,QACA,MACA,WACA,SACA,KACA,WACA,SACA,SACA,IACA,QACA,UACA,MACA,WACA,IACA,KACA,KACA,OACA,IACA,OACA,SACA,UACA,SACA,QACA,SACA,OACA,SACA,QACA,MACA,UACA,MACA,QACA,QACA,KACA,WACA,QACA,KACA,QACA,OACA,QACA,KACA,QACA,IACA,KACA,MACA,QACA,MACA,UACA,UACA,SACA,WACA,OACA,OACA,UACA,UACA,gBACA,sBACA,cACA,mBACA,oBACA,oBACA,iBACA,eACA,UACA,UACA,UACA,UACA,UACA,iBACA,UACA,UACA,cACA,eACA,WACA,eACA,qBACA,cACA,SACA,eACA,SACA,gBACA,IACA,QACA,OACA,iBACA,SACA,OACA,WACA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QykK,GAAc3wK,OAAOyxK,eAAgBzxK,OAAO0xK,aAAcpuK,GAUpEtD,OAAO6wK,0BAqErB,SAAuC3kK,GACrC,IAAIylK,EAAczlK,EAAM2d,WAAWlB,KACnCzc,EAAM4jD,WAAU,WACd,IASiCnnC,EAT3BipJ,EAAU1lK,EAAM2d,WAAWlB,KAC7BgpJ,IAAgBC,IAQajpJ,EAPHipJ,EAQhCn0K,aAAagzK,IACbA,GAAYtyK,YAAW,WACrB,cAAkBwD,MAAK,SAAA/H,GACrB,IAAMgT,EAAehT,EAErBgT,EAAa+b,KAAOA,EACpB,aAAiB/b,QAElB,KAfC+kK,EAAcC,MA1ERC,CAA8B3lK,GAC9B,aAAkBA,GAAOvK,MAAK,WAC5B,IAAMmP,EAAQ5E,EAAM2d,WAAqB3b,YACrCwiK,KACF,aAAY5/J,GAAM,EAAO5E,EAAM2d,YAC/B,aAAiB/Y,GACjB4/J,IAAsB,UAK9B,SAAA50K,GACM,YAAkBA,IAAM,KAC1B,cAAuC6F,MAAK,WAC1C3B,OAAOwhB,SAASvQ,eAO1B,eAEmBjR,OAAOzC,QACtB,OAtFAyC,OAAOmjC,OACTnjC,OAAOmjC,MAAM,OAAQ,CACnB/lC,MAAO,IAAIC,MACT,4BAA8B2C,OAAOwhB,SAAS7O,KAAO,+CAEvD0xB,KAAM,CAAC,aAGkB,MAAzBrkC,OAAOwhB,SAAS7O,MAGlBxU,YAAW,WACT6B,OAAOwhB,SAAS7O,KAAO,MACtB","file":"assets/browser.bundle.1bc1fa238521b603a161.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t13: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"assets/\" + ({}[chunkId]||chunkId) + \".chunk.\" + {\"0\":\"2b6d22f14e86be432785\",\"1\":\"a573b9f50b2f6aae3a7f\",\"2\":\"17b673bd843f95fa45ac\",\"3\":\"1c9768c3f945dfa34f19\",\"4\":\"bcff2483856d97cc170f\",\"5\":\"f35d61eaf219d67a90ba\",\"7\":\"5da1ccc81ff8bd81d858\",\"8\":\"5220ce34cb1bce6c6833\",\"9\":\"abf7385d23d8ab024d83\",\"10\":\"3cee0a54c9281ddc8c14\",\"11\":\"c581336d088c15062695\",\"12\":\"7efab4da74c37128ca35\",\"14\":\"4c8a9caef9a590e49560\",\"15\":\"bce3088eca7b32c819bb\",\"16\":\"58d221bd7ce012b289bb\",\"17\":\"84d847a329799c04cb0e\",\"18\":\"aa8ea2b117b7f741b9ef\",\"19\":\"02b82820bb78d513031e\",\"20\":\"c452925be548ebd036e5\",\"21\":\"8dbc442af736ca343a76\",\"22\":\"2a0a627b6bc72ae59448\",\"23\":\"f3935b04d0b2307eae72\",\"24\":\"bc046115b54f3d1a67c7\",\"25\":\"a66e3ace24dd31d94bac\",\"26\":\"d1ece6461c654b787385\",\"27\":\"b400c5de4c3a3bbc6682\",\"28\":\"072b67fb502e6e182963\",\"29\":\"665b1f233e5e2e7d2c76\",\"30\":\"ffcbf6e545a643e42b0b\",\"31\":\"936912bf871ed1e5c0c2\",\"32\":\"d7709f0ea4fba892f809\",\"33\":\"7a251d19f92ebfbb4a76\",\"34\":\"87e17359a84564411c9d\",\"35\":\"f2f699d2595003f2ff08\",\"36\":\"beae258547ebfe21cd5a\",\"37\":\"20f63360eaad233f16ff\",\"38\":\"f46e8376f09b2feabcfd\",\"39\":\"d540f9185ba55733288f\",\"40\":\"444d0cac01d7f658ab5f\",\"41\":\"2467d81fa09a21bee3a9\",\"42\":\"28bc6e8cc60182f5c8bb\",\"43\":\"5c7d6d54a57e05c94ddc\",\"44\":\"2952a75c51376af675ed\",\"45\":\"816af18af88cf531a95b\",\"46\":\"15e8242dc74da428ae2c\",\"47\":\"fa62c6a3f2aa50750773\",\"48\":\"b7a0936b7d550bdaf43c\",\"49\":\"af2e681c8c7e46e75de2\",\"50\":\"058b239c0d8d13ccc526\",\"51\":\"e18696ecb02619a16c47\",\"52\":\"2cd95eef7b8f8f45a81c\",\"53\":\"adaa30a645c7ec4f940e\",\"54\":\"4b4155e3eb813a752954\",\"55\":\"621c884fda4e3af29d18\",\"56\":\"a94a3c74140379453f5c\",\"57\":\"aac5ca259071227ab6cd\",\"58\":\"b98553d6e4af2e957390\",\"59\":\"6287c01d8afa351e2bbb\",\"60\":\"edfdee6216117c8a596b\",\"61\":\"68b77d5482646eb1b630\",\"62\":\"5de352fb496c21e8328a\",\"63\":\"a128efbc8a3d17658cfe\",\"64\":\"6f1fdb0276b0fabec8ac\",\"65\":\"02f1baef42421b02222a\",\"66\":\"e896031841dca851a642\",\"67\":\"f671612160ec60a21c1c\",\"68\":\"a04789f88343d20a26f5\",\"69\":\"eebe0ce679d2b8839a7f\",\"70\":\"d17287c6ea00874f9ea4\",\"71\":\"7ffde588db20f4e23811\",\"72\":\"cfb0083d0e0582e218ba\",\"73\":\"d6b0aad6dadb0bf929c7\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n \t\tif (!self.scopeLoadedChunks) {\n \t\t self.scopeLoadedChunks = [];\n \t\t}\n \t\tif (self.scopeLoadedChunks.indexOf(chunkId) === -1) {\n \t\t self.scopeLoadedChunks.push(chunkId);\n \t\t}\n \t\tif (typeof document === 'undefined' && typeof installedCssChunks !== 'undefined') {\n \t\t // This is needed for server rendering, since webpack will otherwise try to load the css file\n \t\t // and we can't load css on the server\n \t\t // Adding it to scopeLoadedChunks above means we'll correctly preload it\n \t\t installedCssChunks[chunkId] = Promise.resolve();\n \t\t}\n \t\t \n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([247,6]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { createContext, createElement, useContext, useRef, useCallback, forwardRef } from 'react';\nimport { isValidElementType } from 'react-is';\n\nvar GlitzContext = createContext(undefined);\r\nvar ThemeContext = createContext(undefined);\n\nvar Export = function GlitzProvider(props) {\r\n return createElement(GlitzContext.Provider, { value: props.glitz }, props.children);\r\n};\n\nvar Export$1 = function ThemeProvider(props) {\r\n return createElement(ThemeContext.Provider, { value: props.theme }, props.children);\r\n};\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nfunction __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\n\nvar SECRET_COMPOSE = '$$GLITZ1';\r\nvar SECRET_TYPE = '$$GLITZ2';\r\nvar SECRET_DECORATOR = '$$GLITZ3';\n\nvar Type;\r\n(function (Type) {\r\n Type[Type[\"Element\"] = 0] = \"Element\";\r\n Type[Type[\"ElementLike\"] = 1] = \"ElementLike\";\r\n})(Type || (Type = {}));\r\nfunction isType(type) {\r\n return SECRET_TYPE in type;\r\n}\r\nfunction createElementType(tag) {\r\n var _a;\r\n return _a = {},\r\n _a[SECRET_TYPE] = Type.Element,\r\n _a.value = tag,\r\n _a;\r\n}\r\nfunction isElementType(type) {\r\n return isType(type) && type[SECRET_TYPE] === Type.Element;\r\n}\r\nfunction createPredefined(tag) {\r\n return function (style) { return factory(createElementType(tag), [style]); };\r\n}\r\nfunction assignPredefined(target) {\r\n for (var _i = 0, predefinedElements_1 = predefinedElements; _i < predefinedElements_1.length; _i++) {\r\n var tag = predefinedElements_1[_i];\r\n target[tag[0].toUpperCase() + tag.slice(1)] = factory(createElementType(tag), []);\r\n target[tag] = createPredefined(tag);\r\n }\r\n return target;\r\n}\r\nvar predefinedElements = [\r\n 'a',\r\n 'abbr',\r\n 'address',\r\n 'area',\r\n 'article',\r\n 'aside',\r\n 'audio',\r\n 'b',\r\n 'base',\r\n 'bdi',\r\n 'bdo',\r\n 'big',\r\n 'blockquote',\r\n 'body',\r\n 'br',\r\n 'button',\r\n 'canvas',\r\n 'caption',\r\n 'cite',\r\n 'code',\r\n 'col',\r\n 'colgroup',\r\n 'data',\r\n 'datalist',\r\n 'dd',\r\n 'del',\r\n 'details',\r\n 'dfn',\r\n 'dialog',\r\n 'div',\r\n 'dl',\r\n 'dt',\r\n 'em',\r\n 'embed',\r\n 'fieldset',\r\n 'figcaption',\r\n 'figure',\r\n 'footer',\r\n 'form',\r\n 'h1',\r\n 'h2',\r\n 'h3',\r\n 'h4',\r\n 'h5',\r\n 'h6',\r\n 'head',\r\n 'header',\r\n 'hgroup',\r\n 'hr',\r\n 'html',\r\n 'i',\r\n 'iframe',\r\n 'img',\r\n 'input',\r\n 'ins',\r\n 'kbd',\r\n 'keygen',\r\n 'label',\r\n 'legend',\r\n 'li',\r\n 'link',\r\n 'main',\r\n 'map',\r\n 'mark',\r\n 'menu',\r\n 'menuitem',\r\n 'meta',\r\n 'meter',\r\n 'nav',\r\n 'noscript',\r\n 'object',\r\n 'ol',\r\n 'optgroup',\r\n 'option',\r\n 'output',\r\n 'p',\r\n 'param',\r\n 'picture',\r\n 'pre',\r\n 'progress',\r\n 'q',\r\n 'rp',\r\n 'rt',\r\n 'ruby',\r\n 's',\r\n 'samp',\r\n 'script',\r\n 'section',\r\n 'select',\r\n 'small',\r\n 'source',\r\n 'span',\r\n 'strong',\r\n 'style',\r\n 'sub',\r\n 'summary',\r\n 'sup',\r\n 'table',\r\n 'tbody',\r\n 'td',\r\n 'textarea',\r\n 'tfoot',\r\n 'th',\r\n 'thead',\r\n 'time',\r\n 'title',\r\n 'tr',\r\n 'track',\r\n 'u',\r\n 'ul',\r\n 'var',\r\n 'video',\r\n 'wbr',\r\n 'webview',\r\n 'animate',\r\n 'circle',\r\n 'clipPath',\r\n 'defs',\r\n 'desc',\r\n 'ellipse',\r\n 'feBlend',\r\n 'feColorMatrix',\r\n 'feComponentTransfer',\r\n 'feComposite',\r\n 'feConvolveMatrix',\r\n 'feDiffuseLighting',\r\n 'feDisplacementMap',\r\n 'feDistantLight',\r\n 'feDropShadow',\r\n 'feFlood',\r\n 'feFuncA',\r\n 'feFuncB',\r\n 'feFuncG',\r\n 'feFuncR',\r\n 'feGaussianBlur',\r\n 'feImage',\r\n 'feMerge',\r\n 'feMergeNode',\r\n 'feMorphology',\r\n 'feOffset',\r\n 'fePointLight',\r\n 'feSpecularLighting',\r\n 'feSpotLight',\r\n 'feTile',\r\n 'feTurbulence',\r\n 'filter',\r\n 'foreignObject',\r\n 'g',\r\n 'image',\r\n 'line',\r\n 'linearGradient',\r\n 'marker',\r\n 'mask',\r\n 'metadata',\r\n 'path',\r\n 'pattern',\r\n 'polygon',\r\n 'polyline',\r\n 'radialGradient',\r\n 'rect',\r\n 'stop',\r\n 'svg',\r\n 'switch',\r\n 'symbol',\r\n 'text',\r\n 'textPath',\r\n 'tspan',\r\n 'use',\r\n 'view',\r\n];\n\nfunction applyClassName(component) {\r\n var _a;\r\n return _a = {},\r\n _a[SECRET_TYPE] = Type.ElementLike,\r\n _a.value = component,\r\n _a;\r\n}\r\nfunction isElementLikeType(type) {\r\n return isType(type) && type[SECRET_TYPE] === Type.ElementLike;\r\n}\n\nfunction useGlitz(inputStyles) {\r\n var glitz = useContext(GlitzContext);\r\n if (!glitz) {\r\n throw new Error(\"The `` doesn't seem to be used correctly because the core instance couldn't be found\");\r\n }\r\n var theme = useContext(ThemeContext);\r\n var hasWarnedCacheInvalidationsRef = useRef(false);\r\n var totalCacheInvalidationsRef = useRef(0);\r\n var lastGlitzRef = useRef(glitz);\r\n var lastThemeRef = useRef(theme);\r\n var lastFinalStylesRef = useRef([]);\r\n var lastClassNamesRef = useRef(null);\r\n var finalStyles = styleToArray(inputStyles);\r\n var apply = useCallback(function () {\r\n if (!finalStyles) {\r\n return;\r\n }\r\n if (lastGlitzRef.current === glitz &&\r\n lastThemeRef.current === theme &&\r\n shallowEquals(lastFinalStylesRef.current, finalStyles) &&\r\n typeof lastClassNamesRef.current === 'string') {\r\n return lastClassNamesRef.current;\r\n }\r\n if (process.env.NODE_ENV !== 'production') {\r\n if (typeof requestAnimationFrame === 'function' && !hasWarnedCacheInvalidationsRef.current) {\r\n totalCacheInvalidationsRef.current++;\r\n var currentCacheInvalidations_1 = totalCacheInvalidationsRef.current;\r\n // Jump two frames to reset counter if there hasn't been any more renders with cache invalidation\r\n requestAnimationFrame(function () {\r\n requestAnimationFrame(function () {\r\n if (totalCacheInvalidationsRef.current === currentCacheInvalidations_1) {\r\n if (currentCacheInvalidations_1 > 3) {\r\n console.warn(\"Multiple re-renders of a styled component with invalidated cache was detected. Either make sure it doesn't re-render or make sure the cache is intact. More info: https://git.io/fxYyd\");\r\n hasWarnedCacheInvalidationsRef.current = true;\r\n }\r\n totalCacheInvalidationsRef.current = 0;\r\n }\r\n });\r\n });\r\n }\r\n }\r\n lastGlitzRef.current = glitz;\r\n lastThemeRef.current = theme;\r\n lastFinalStylesRef.current = finalStyles;\r\n return (lastClassNamesRef.current = glitz.injectStyle(finalStyles, theme));\r\n }, __spreadArrays(finalStyles, [glitz, theme]));\r\n var compose = useCallback(function (defaults) { return styleToArray(defaults, finalStyles); }, finalStyles);\r\n return [apply, compose];\r\n}\r\nfunction styleToArray() {\r\n var _a;\r\n var styles = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n styles[_i] = arguments[_i];\r\n }\r\n return (_a = []).concat.apply(_a, styles.map(function (style) { return (typeof style === 'function' ? style() : style || []); }));\r\n}\r\nfunction shallowEquals(a, b) {\r\n if (a.length !== b.length) {\r\n return false;\r\n }\r\n for (var i in a) {\r\n if (a[i] !== b[i]) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\n\nfunction create(type, statics) {\r\n return isStyledComponent(type) ? type[SECRET_COMPOSE](statics) : factory(type, statics);\r\n}\r\nfunction factory(type, statics) {\r\n var _a;\r\n var Styled = Object.assign(forwardRef(function (props, ref) {\r\n var dynamics = props.css, restProps = __rest(props, [\"css\"]);\r\n var _a = useGlitz(styleToArray(statics, dynamics)), apply = _a[0], compose = _a[1];\r\n if (isElementType(type) || isElementLikeType(type)) {\r\n return createElement(type.value, __assign(__assign({}, restProps), { className: combineClassNames(props.className, apply()), ref: ref }));\r\n }\r\n if (isStyledComponent(type)) {\r\n return createElement(type, __assign(__assign({}, restProps), { css: compose(), ref: ref }));\r\n }\r\n return createElement(type, __assign(__assign({}, restProps), { compose: compose, ref: ref }));\r\n }), (_a = {},\r\n _a[SECRET_COMPOSE] = function (additionals) {\r\n return factory(type, additionals ? statics.concat(additionals) : statics);\r\n },\r\n _a));\r\n if (process.env.NODE_ENV !== 'production') {\r\n var inner = isElementType(type) || isElementLikeType(type) ? type.value : type;\r\n Styled.displayName = \"Styled(\" + (typeof inner === 'string' ? inner : inner.displayName || inner.name || 'Unknown') + \")\";\r\n }\r\n return Styled;\r\n}\r\nfunction combineClassNames(a, b) {\r\n return a && b ? a + \" \" + b : a ? a : b;\r\n}\r\nfunction isStyledComponent(type) {\r\n return SECRET_COMPOSE in type;\r\n}\n\nfunction decorator(preStyle) {\r\n var fn = (function (arg1, arg2) {\r\n if (arg1) {\r\n if (isStyle(arg1)) {\r\n return decorator(preStyle.concat(arg1));\r\n }\r\n if (isDecorator(arg1)) {\r\n return decorator(preStyle.concat(arg1()));\r\n }\r\n return create(arg1, arg2 ? preStyle.concat(arg2) : preStyle);\r\n }\r\n return preStyle;\r\n });\r\n fn[SECRET_DECORATOR] = true;\r\n return fn;\r\n}\r\nfunction isDecorator(value) {\r\n return SECRET_DECORATOR in value;\r\n}\n\nfunction custom(arg1, arg2) {\r\n return isStyle(arg1) ? decorator([arg1]) : create(arg1, arg2 ? [arg2] : []);\r\n}\r\nvar styledCustom = custom;\r\nfunction isStyle(arg) {\r\n return typeof arg === 'object' && !isType(arg) && !isStyledComponent(arg) && !isValidElementType(arg);\r\n}\n\nfunction useStyle(styles) {\r\n var apply = useGlitz(styles)[0];\r\n return apply();\r\n}\n\nvar styled = assignPredefined(styledCustom);\n\nexport { Export as GlitzProvider, Export$1 as ThemeProvider, applyClassName, isElementLikeType, styled, useStyle };\n","export enum BorderStyle {\r\n GreyThinSolid,\r\n BlackThickSolid,\r\n BlackThinSolid,\r\n None,\r\n}\r\n","import { Style } from '@glitz/type';\r\n\r\nconst DEFAULT_DURATION = '200ms';\r\nconst DEFAULT_TIMING_FUNCTION = 'ease-out';\r\n\r\ntype TransitionPropType = Style['transition'] & { willChange?: boolean };\r\n\r\nexport function transition(props: TransitionPropType): Style {\r\n const { property, duration = DEFAULT_DURATION, timingFunction = DEFAULT_TIMING_FUNCTION, delay, willChange } = props;\r\n const properties = Array.isArray(property) ? property.join(', ') : property;\r\n return {\r\n transition: {\r\n property: properties,\r\n duration,\r\n timingFunction,\r\n delay,\r\n },\r\n ...(willChange && {\r\n willChange: properties,\r\n }),\r\n };\r\n}\r\n\r\ntype AnimationPropType = Style['animation'];\r\n\r\nexport function animation(props: AnimationPropType): Style {\r\n const {\r\n name,\r\n duration = DEFAULT_DURATION,\r\n timingFunction = DEFAULT_TIMING_FUNCTION,\r\n delay,\r\n iterationCount,\r\n direction,\r\n fillMode,\r\n playState,\r\n } = props;\r\n return {\r\n animation: {\r\n name,\r\n duration,\r\n timingFunction,\r\n delay,\r\n iterationCount,\r\n direction,\r\n fillMode,\r\n playState,\r\n },\r\n };\r\n}\r\n","export enum Unit {\r\n Px,\r\n Em,\r\n Rem,\r\n}\r\n\r\nexport function pixelsToUnit(value: number, unit: Unit = Unit.Px) {\r\n return unit === Unit.Px ? `${value}px` : `${value / 16}${unit === Unit.Rem ? 'rem' : 'em'}`;\r\n}\r\n","import { query } from '@glitz/core';\r\nimport { Breakpoint, widthFromBreakpoint } from '@polarnopyret/scope';\r\nimport { pixelsToUnit } from './unit';\r\n\r\nfunction mediaQuery(breakpoint: Breakpoint) {\r\n return query({\r\n minWidth: pixelsToUnit(widthFromBreakpoint(breakpoint)),\r\n });\r\n}\r\n\r\nfunction mediaMaxQuery(breakpoint: Breakpoint) {\r\n return query({\r\n maxWidth: pixelsToUnit(widthFromBreakpoint(breakpoint)),\r\n });\r\n}\r\n\r\n// export function breakpointValue(breakpoint: Breakpoint) {\r\n// return pixelsToUnit(widthFromBreakpoint[breakpoint], Unit.Px);\r\n// }\r\n\r\n/** Media query for minimum window width for larger tablets in landscape mode, smaller laptops and desktops */\r\nexport const mediaMinLarge = mediaQuery(Breakpoint.Large);\r\nexport const mediaUpToLarge = mediaMaxQuery(Breakpoint.Large);\r\n\r\n// export const mediaMinQueries = {\r\n// [Breakpoint.Large]: mediaMinLarge,\r\n// };\r\n","// Have properties order and prefered `z-index` order accordingly\r\n// and make sure it always starts with 1\r\nexport enum ZIndex {\r\n Content = 1,\r\n Dropdown,\r\n UserMenu,\r\n LoginRegister,\r\n Menu,\r\n Header,\r\n StoreBanner,\r\n Tray,\r\n Overlay,\r\n Spinner,\r\n ImageViewer,\r\n}\r\n","import { Style } from '@glitz/type';\r\nexport function visuallyHidden(): Style {\r\n return {\r\n width: '1px',\r\n height: '1px',\r\n margin: { x: '-1px', y: '-1px' },\r\n padding: { x: 0, y: 0 },\r\n border: { xy: { width: 0 } },\r\n clipPath: 'inset(100%)',\r\n clip: 'rect(0 0 0 0)',\r\n overflow: 'hidden',\r\n };\r\n}\r\n","export const colors = {\r\n monochrome: {\r\n white: '#ffffffff',\r\n black: '#000000ff',\r\n extraLightGrey: '#f3f3f2',\r\n lightGrey: '#dbdbdb',\r\n mediumGrey: '#b2b1b1',\r\n darkGrey: '#878787',\r\n a11ygrey: '#676767',\r\n darkestGrey: '#3c3c3c',\r\n },\r\n brandColors: {\r\n darkBlue: '#171b42',\r\n blue: '#79c6dd',\r\n lightBlue: '#96acbe',\r\n pink: '#b71d65',\r\n burgundy: '#9c1051',\r\n green: '#7daa88',\r\n red: '#ff1e39',\r\n yellow: '#f2c94c',\r\n yellowAlternative: '#f9e4a5',\r\n orange: '#ec6907',\r\n },\r\n negativeColors: {\r\n negative: '#FF1E39',\r\n negativeLight: '#B71D65',\r\n },\r\n linkColors: {\r\n default: '#6b92a8',\r\n },\r\n functionColors: {\r\n sale: '#ec6608',\r\n onlineOnly: '#96acbe',\r\n new: '#DC9CA4',\r\n blackfriday: '#000000ff',\r\n discount: '#96acbe',\r\n christmas: '#ff1e39',\r\n specialOffer: '#E0E6EA',\r\n },\r\n rgbaFilters: {\r\n blue: 'rgba(23,27,66,0.5)',\r\n white50: 'rgba(255,255,255, 0.5)',\r\n black50: 'rgba(0, 0, 0, 0.5)',\r\n },\r\n};\r\n\r\nexport const hex2rgba = (hex: string, alpha = 1) => {\r\n const [r, g, b] = hex.match(/\\w\\w/g).map((x) => parseInt(x, 16));\r\n return `rgba(${r},${g},${b},${alpha})`;\r\n};\r\n","import { Style } from '@glitz/type';\r\n\r\nexport function truncate(props: { overflow?: string } = {}): Style {\r\n const { overflow = 'ellipsis' } = props;\r\n return {\r\n overflow: 'hidden',\r\n whiteSpace: 'nowrap',\r\n textOverflow: overflow,\r\n };\r\n}\r\n","// Tools\r\nexport * from './animation';\r\nexport * from './general';\r\nexport * from './media';\r\nexport * from './merge';\r\nexport * from './unit';\r\nexport * from './visuals';\r\nexport * from './z-index';\r\n\r\n// Settings\r\n//export * from './colors/pop-colors';\r\nexport * from './colorSystem';\r\nexport * from './typography';\r\n","import { Store } from '../State';\r\nimport { loadPage } from '../CurrentPage/action-creators';\r\nimport { currentUrl } from '../Url';\r\nimport { initialRenderDone } from '../CurrentPage/is-initial-render';\r\n\r\nexport * from './action-creators';\r\nexport * from './utils';\r\n\r\nexport type AppShellData = Scope.AppShellDataBase & T;\r\n\r\nexport function refreshCachedData(store: Store) {\r\n console.info('Reloading current page since rendered from service worker...');\r\n return store.dispatch(\r\n loadPage({\r\n url: currentUrl(),\r\n options: { skipReloadOnVersionMismatch: true, includeAppShellData: true },\r\n replaceStateOnRedirect: true,\r\n }),\r\n ).then(() => {\r\n initialRenderDone();\r\n });\r\n}\r\n","import { AppShellData } from './index';\r\nimport { Action } from 'redux';\r\nimport { saveAppShellData } from './utils';\r\nimport { UPDATE_APP_SHELL_DATA, UpdateAppShellDataAction } from './action-creators';\r\n\r\nexport default (state: TAppShell, action: Action): TAppShell => {\r\n switch (action.type) {\r\n case UPDATE_APP_SHELL_DATA: {\r\n const appShellData = (action as UpdateAppShellDataAction).appShellData;\r\n // Not really nice to have side effects in a reducer but the action can be dispatched from multiple places\r\n saveAppShellData(appShellData);\r\n return appShellData;\r\n }\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { switchBreakpoint } from './CurrentBreakpoint/action-creators';\r\nimport { Store } from './State';\r\n\r\n// If changing these constants, change the Breakpoint enum in Avensia.Scope/Device/Breakpoints.cs the same way\r\nexport enum Breakpoint {\r\n Init = 0,\r\n Large = 1\r\n}\r\n\r\nconst breakpointSettings = BREAKPOINT_SETTINGS;\r\nconst breakpointKeys = Object.keys(breakpointSettings) as Array;\r\n\r\n// If the breakpoint is MICRO (which is set to 320) the width is at minimum 320\r\n// so you get the width for the next breakpoint (TINY) because the screen could be up til\r\n// TINY\r\nexport function widthFromBreakpoint(breakpoint: number): number {\r\n if (breakpoint === 0) {\r\n return 0;\r\n }\r\n\r\n const name = breakpointKeys[breakpoint - 1];\r\n\r\n if (name) {\r\n return breakpointSettings[name];\r\n }\r\n\r\n if (process.env.NODE_ENV !== 'production') {\r\n throw new Error('Invalid breakpoint: ' + breakpoint);\r\n } else {\r\n return breakpointSettings[breakpointKeys[breakpointKeys.length - 1]];\r\n }\r\n}\r\n\r\nexport function breakpointFromWidth(width: number) {\r\n for (let i = breakpointKeys.length; i > 0; i--) {\r\n if (breakpointSettings[breakpointKeys[i - 1]] <= width) {\r\n return i;\r\n }\r\n }\r\n return 0;\r\n}\r\n\r\nexport function currentBreakpoint() {\r\n if (!__BROWSER__) {\r\n throw new Error('You cannot run `currentBreakpoint()` from the server');\r\n }\r\n\r\n return getBreakpoint();\r\n}\r\n\r\nconst mediaQueries = __BROWSER__\r\n ? // We skip init here because we assume that it is if no media query matches\r\n breakpointKeys.map(breakpoint => window.matchMedia(`(min-width: ${breakpointSettings[breakpoint]}px)`))\r\n : [];\r\n\r\nfunction getBreakpoint() {\r\n for (let i = mediaQueries.length; i > 0; i--) {\r\n if (mediaQueries[i - 1].matches) {\r\n return i;\r\n }\r\n }\r\n return 0;\r\n}\r\n\r\nexport function setupResizeListener(store: Store) {\r\n let willSwitch = false;\r\n const triggerSwitch = () => {\r\n if (!willSwitch) {\r\n willSwitch = true;\r\n requestAnimationFrame(() => {\r\n store.dispatch(switchBreakpoint(getBreakpoint()));\r\n willSwitch = false;\r\n });\r\n }\r\n };\r\n\r\n for (const mediaQuery of mediaQueries) {\r\n mediaQuery.addListener(triggerSwitch);\r\n }\r\n}\r\n","export const SWITCH_BREAKPOINT = 'SWITCH_BREAKPOINT';\r\nimport { Action } from 'redux';\r\n\r\nexport type SwitchBreakpointAction = Action & {\r\n newBreakpoint: number;\r\n};\r\n\r\nconst breakpointCookieName = 'pop.breakpoint';\r\n\r\nexport function switchBreakpoint(newBreakpoint: number) {\r\n if(newBreakpoint > 1) {\r\n newBreakpoint = 1;\r\n }\r\n document.cookie = breakpointCookieName + '=' + newBreakpoint + ';path=/;max-age=' + 60 * 60 * 24 * 365;\r\n\r\n return {\r\n type: SWITCH_BREAKPOINT,\r\n newBreakpoint,\r\n } as SwitchBreakpointAction;\r\n}\r\n","import { SwitchBreakpointAction, SWITCH_BREAKPOINT } from './action-creators';\r\nimport { Action } from 'redux';\r\n\r\nexport default function(state: number | null = null, action: Action, appShellData: Scope.AppShellDataBase): number {\r\n if (state === null) {\r\n state = appShellData.guessedBreakpoint;\r\n }\r\n switch (action.type) {\r\n case SWITCH_BREAKPOINT:\r\n return (action as SwitchBreakpointAction).newBreakpoint;\r\n default:\r\n return state;\r\n }\r\n}\r\n","export default function shallowEquals(a: object, b: object, ignoreFunctions: boolean = false) {\r\n for (const p in a) {\r\n if (!(p in b)) {\r\n return false;\r\n }\r\n }\r\n for (const p in b) {\r\n if (ignoreFunctions && typeof (a as any)[p] === 'function' && typeof (b as any)[p] === 'function') {\r\n continue;\r\n }\r\n if (!(p in a) || (a as any)[p] !== (b as any)[p]) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { State, Page } from '../State';\r\nimport URLX from '../Url';\r\nimport shallowEquals from '../shallow-equals';\r\nimport { resolveSyncIfLoadedOrThrow } from '../resolve-component';\r\n\r\ntype RequiredProps = {};\r\n\r\ntype ConnectedProps = {\r\n currentTheme: string;\r\n currentPage: Page;\r\n};\r\n\r\ntype Props = RequiredProps & ConnectedProps;\r\n\r\n/**\r\n * Note that this should not be a class method. It should be a static method on the class.\r\n * Also note that it's not possible to not remount when the user is going from one page type\r\n * to another. That is, it's not possible to use this feature to not unmount the category page\r\n * component when going to the product page component.\r\n *\r\n * Use this if you want to disable remounting or if you want a different remount strategy than\r\n * when the url path changes.\r\n */\r\nexport type MountController = {\r\n componentShouldRemount: (props: Page, nextProps: Page) => boolean;\r\n};\r\n\r\nfunction isMountController(component: any): component is MountController {\r\n const controller: MountController = component;\r\n return !!controller.componentShouldRemount;\r\n}\r\n\r\n// This class exists as a memoized version of its props. Since props passed to Layout\r\n// can change without the current page changes, we want to avoid re-rendering the\r\n// current page when it hasn't changed.\r\nclass CurrentPage extends React.Component {\r\n Component: React.ComponentType;\r\n scrollPosition?: number;\r\n constructor(props: Props) {\r\n super(props);\r\n this.Component = resolveSyncIfLoadedOrThrow(props.currentPage.componentName, props.currentTheme);\r\n this.scrollPosition = props.currentPage.scrollPosition;\r\n }\r\n UNSAFE_componentWillReceiveProps(nextProps: Props) {\r\n if (\r\n this.props.currentPage.componentName !== nextProps.currentPage.componentName ||\r\n this.props.currentTheme !== nextProps.currentTheme\r\n ) {\r\n this.Component = resolveSyncIfLoadedOrThrow(nextProps.currentPage.componentName, nextProps.currentTheme);\r\n } else {\r\n // We default to always remount if the path of the url changes. So going from /category/product-a to\r\n // /category/product-b will remount, but going from /category/product-a?i=1 to /category/product-a?i=2\r\n // will not remount.\r\n const NextComponent = resolveSyncIfLoadedOrThrow(nextProps.currentPage.componentName, nextProps.currentTheme);\r\n let shouldRemount = (remountProps: Page, remountNextProps: Page) =>\r\n remountProps.url !== remountNextProps.url &&\r\n new URLX(remountProps.url).pathname !== new URLX(remountNextProps.url).pathname;\r\n if (isMountController(NextComponent)) {\r\n shouldRemount = NextComponent.componentShouldRemount;\r\n }\r\n if (shouldRemount(this.props.currentPage, nextProps.currentPage)) {\r\n this.Component = (props: any) => ;\r\n }\r\n }\r\n\r\n if (this.props.currentPage !== nextProps.currentPage) {\r\n this.scrollPosition = nextProps.currentPage.scrollPosition;\r\n } else {\r\n this.scrollPosition = undefined;\r\n }\r\n }\r\n shouldComponentUpdate(newProps: Props) {\r\n const shouldUpdate = !shallowEquals(this.props, newProps);\r\n if (!shouldUpdate) {\r\n console.info('Ignoring update to CurrentPage');\r\n }\r\n return shouldUpdate;\r\n }\r\n componentDidUpdate() {\r\n if (this.scrollPosition !== undefined) {\r\n document.body.scrollTop = this.scrollPosition;\r\n\r\n if (document.documentElement) {\r\n document.documentElement.scrollTop = this.scrollPosition;\r\n }\r\n }\r\n }\r\n render() {\r\n return ;\r\n }\r\n}\r\n\r\nexport default connect(\r\n (state: State): ConnectedProps => ({\r\n currentTheme: state.currentTheme,\r\n currentPage: state.currentPage,\r\n }),\r\n)(CurrentPage);\r\n","import {\r\n PageUnhandledErrorAction,\r\n PageLoadAction,\r\n PageLoadCachedAction,\r\n PageLoadSuccessAction,\r\n PageUpdateAction,\r\n PageUpdateSuccessAction,\r\n PageUpdateFailureAction,\r\n PageLoadFailureAction,\r\n PAGE_UNHANDLED_ERROR,\r\n PAGE_LOAD,\r\n PAGE_LOAD_CACHED,\r\n PAGE_LOAD_SUCCESS,\r\n PAGE_LOAD_DONE,\r\n PAGE_LOAD_ABORTED,\r\n PAGE_UPDATE,\r\n PAGE_UPDATE_SUCCESS,\r\n PAGE_UPDATE_FAILURE,\r\n PAGE_LOAD_FAILURE,\r\n} from './action-creators';\r\nimport URLX, { relativeUrl } from '../Url';\r\nimport { Page } from '../State';\r\nimport { Action } from 'redux';\r\nimport * as cache from './cache';\r\nimport { appShellComponentName } from '../AppShell/utils';\r\n\r\nexport default function(state: Page, action: Action, appShellData: Scope.AppShellDataBase): Page {\r\n // `isLoading` is not set when we get the state from the dehydration\r\n // so we use that to determine if this is the initial state\r\n const isInitial = state.isLoading === undefined;\r\n\r\n // `appShellComponentName` is only set in Service Worker context and `null` otherwise\r\n const isAppShell = state.componentName === appShellComponentName;\r\n\r\n if (isInitial && !isAppShell) {\r\n // Set the cache here as we won't get PAGE_LOAD_SUCCESS after a hard page load\r\n cache.setCacheItem(state as any);\r\n }\r\n\r\n if (isInitial) {\r\n state = Object.assign({}, state, {\r\n isLoading: false,\r\n isPartial: false,\r\n loadFailure: null,\r\n unhandledError: null,\r\n scrollPosition: undefined,\r\n url: state.url,\r\n isServerSideRendered: window.IS_SERVER_SIDE_RENDERED,\r\n });\r\n }\r\n\r\n let pageToCache: any = null;\r\n let fastCacheOnly = false;\r\n\r\n switch (action.type) {\r\n case PAGE_LOAD: {\r\n const pageLoadAction = action as PageLoadAction;\r\n\r\n // The page load action can be dispatched without being the current page. The page load\r\n // action is dispatched after we look for the page in the cache and the cache can take some\r\n // time to respond. If the user clicks on another link during the time that we're looking\r\n // in the cache the page load action is not considered to be for the current page.\r\n if (pageLoadAction.isCurrentPage) {\r\n state = {\r\n ...state,\r\n ...{\r\n scrollPosition: undefined,\r\n isLoading: true,\r\n loadFailure: null,\r\n unhandledError: state.unhandledError,\r\n isServerSideRendered: false,\r\n },\r\n };\r\n } else {\r\n console.debug('Ignoring page load response because another request is in-flight.');\r\n }\r\n break;\r\n }\r\n case PAGE_LOAD_CACHED: {\r\n const pageCacheAction = action as PageLoadCachedAction;\r\n const { cachedItem } = pageCacheAction;\r\n\r\n if (cachedItem) {\r\n // The page load action can be dispatched without being the current page. The page load\r\n // action is dispatched after we look for the page in the cache and the cache can take some\r\n // time to respond. If the user clicks on another link during the time that we're looking\r\n // in the cache the page load action is not considered to be for the current page.\r\n if (pageCacheAction.isCurrentPage) {\r\n state = Object.assign({}, cachedItem, {\r\n componentName: cachedItem.componentName,\r\n url: relativeUrl(pageCacheAction.url),\r\n isPartial: pageCacheAction.isPartial,\r\n isLoading: true,\r\n loadFailure: null,\r\n unhandledError: state.unhandledError,\r\n scrollPosition: getScrollPosition(state, pageCacheAction),\r\n } as Page);\r\n } else {\r\n console.debug('Ignoring cached page load because another request is in-flight.');\r\n }\r\n } else {\r\n console.debug('Ignoring cached page load because cache was missing.');\r\n }\r\n break;\r\n }\r\n case PAGE_UPDATE: {\r\n const pageUpdateAction = action as PageUpdateAction;\r\n const currentPageUpdates = state.pageUpdateRequestIds || [];\r\n if (\r\n !state.isLoading ||\r\n (pageUpdateAction.requestId && currentPageUpdates.indexOf(pageUpdateAction.requestId) === -1)\r\n ) {\r\n let pageUpdateRequestIds: string[] = [];\r\n if (pageUpdateAction.requestId) {\r\n pageUpdateRequestIds = [...currentPageUpdates, pageUpdateAction.requestId];\r\n }\r\n\r\n state = Object.assign({}, state, {\r\n isLoading: true,\r\n pageUpdateRequestIds,\r\n } as Page);\r\n }\r\n break;\r\n }\r\n case PAGE_UPDATE_FAILURE: {\r\n let pageUpdateRequestIds = state.pageUpdateRequestIds || [];\r\n const pageUpdateFailureAction = action as PageUpdateFailureAction;\r\n const failureRequestIds = requestIds(pageUpdateFailureAction.requestIds);\r\n if (failureRequestIds.length) {\r\n failureRequestIds.forEach(requestId => {\r\n if (pageUpdateRequestIds.indexOf(requestId) === -1) {\r\n throw new Error(\r\n 'Recieved PAGE_UPDATE_FAILURE action for request ' +\r\n requestId +\r\n ' which has not previously been passed to a PAGE_UPDATE action',\r\n );\r\n }\r\n });\r\n pageUpdateRequestIds = pageUpdateRequestIds.filter(id => failureRequestIds.indexOf(id) === -1);\r\n const isLoading = pageUpdateRequestIds.length > 0;\r\n state = Object.assign({}, state, {\r\n isLoading,\r\n pageUpdateRequestIds,\r\n } as Page);\r\n } else if (state.isLoading && pageUpdateRequestIds.length === 0) {\r\n state = Object.assign({}, state, {\r\n isLoading: false,\r\n } as Page);\r\n }\r\n break;\r\n }\r\n case PAGE_UNHANDLED_ERROR: {\r\n state = Object.assign({}, state, {\r\n unhandledError: (action as PageUnhandledErrorAction).error,\r\n } as Page);\r\n break;\r\n }\r\n case PAGE_LOAD_SUCCESS: {\r\n const pageLoadSuccessAction = action as PageLoadSuccessAction;\r\n const options = pageLoadSuccessAction.options;\r\n\r\n const merge = options && typeof options.merge === 'function' && options.merge;\r\n let shouldCache = true;\r\n const page = pageLoadSuccessAction.page;\r\n\r\n let newPage: any;\r\n // We don't want to merge if it's not the current page because the merger\r\n // will try to merge the previous page with the new one, and that can be\r\n // a completely different page type\r\n if (merge) {\r\n if (pageLoadSuccessAction.isCurrentPage) {\r\n newPage = merge(state, page);\r\n } else {\r\n // If the page is supposed to be merged but can't because it's not the\r\n // current page we can't cache it\r\n shouldCache = false;\r\n newPage = {};\r\n }\r\n } else {\r\n newPage = page;\r\n }\r\n const url = pageLoadSuccessAction.url;\r\n\r\n // `newPage.url` is what the server thinks is the url, but that can contain\r\n // the hidden query strings. Instead we overwrite that with what we requested\r\n // which is what we use as cache key.\r\n newPage.url = relativeUrl(url);\r\n\r\n if (shouldCache) {\r\n pageToCache = newPage;\r\n }\r\n\r\n // We don't want to cache merged pages because that eats up the cache with duplicated\r\n // content\r\n if (merge) {\r\n fastCacheOnly = true;\r\n console.debug('Only caching', newPage.url, 'in fast cache because it has been merged');\r\n }\r\n\r\n // We might get a load success action for a page that is no longer\r\n // the current page. Like if the user requested a page but got tired of waiting\r\n // for it and went to another page instead.\r\n if (pageLoadSuccessAction.isCurrentPage) {\r\n state = Object.assign({}, newPage, {\r\n isPartial: false,\r\n loadFailure: null,\r\n unhandledError: state.unhandledError,\r\n scrollPosition: getScrollPosition(state, pageLoadSuccessAction),\r\n isLoading: state.isLoading,\r\n isServerSideRendered: false,\r\n } as Page);\r\n } else {\r\n if (shouldCache) {\r\n console.debug(\r\n 'Ignoring page load response because another request is in-flight. The full response has been cached.',\r\n );\r\n } else {\r\n console.debug(\r\n 'Ignoring page load response because another request is in-flight. The full response has not been cached.',\r\n );\r\n }\r\n }\r\n break;\r\n }\r\n case PAGE_UPDATE_SUCCESS: {\r\n const pageUpdateSuccessAction = action as PageUpdateSuccessAction;\r\n const successRequestIds = requestIds(pageUpdateSuccessAction.requestIds);\r\n let pageUpdateRequestIds = state.pageUpdateRequestIds || [];\r\n if (successRequestIds.length) {\r\n successRequestIds.forEach(requestId => {\r\n if (pageUpdateRequestIds.indexOf(requestId) === -1) {\r\n throw new Error(\r\n 'Recieved PAGE_UPDATE_SUCCESS action for request ' +\r\n requestId +\r\n ' which has not previously been passed to a PAGE_UPDATE action',\r\n );\r\n }\r\n });\r\n pageUpdateRequestIds = pageUpdateRequestIds.filter(id => successRequestIds.indexOf(id) === -1);\r\n }\r\n pageToCache = pageUpdateSuccessAction.page;\r\n state = Object.assign({}, state, pageUpdateSuccessAction.page, {\r\n scrollPosition: undefined,\r\n pageUpdateRequestIds,\r\n isLoading: pageUpdateRequestIds.length > 0,\r\n } as Page);\r\n break;\r\n }\r\n case PAGE_LOAD_FAILURE: {\r\n state = Object.assign({}, state, {\r\n loadFailure: (action as PageLoadFailureAction).loadFailure,\r\n reload: (action as PageLoadFailureAction).retry,\r\n unhandledError: state.unhandledError,\r\n } as Page);\r\n break;\r\n }\r\n case PAGE_LOAD_ABORTED:\r\n case PAGE_LOAD_DONE: {\r\n if (state.isLoading) {\r\n state = Object.assign({}, state, { isLoading: false } as Page);\r\n }\r\n break;\r\n }\r\n default:\r\n break;\r\n }\r\n\r\n if (pageToCache) {\r\n cache.setCacheItem(pageToCache, fastCacheOnly);\r\n }\r\n return state;\r\n}\r\n\r\nfunction getScrollPosition(previousState: Page, action: PageLoadCachedAction | PageLoadSuccessAction) {\r\n if (new URLX(previousState.url).pathname !== action.url.pathname) {\r\n // We only want to change scroll position if the path has changed, not if\r\n // only the query string has changed\r\n return action.scrollPosition;\r\n }\r\n return undefined;\r\n}\r\n\r\nfunction requestIds(ids: string | string[] | null) {\r\n if (!ids) {\r\n return [];\r\n }\r\n return Array.isArray(ids) ? ids : [ids];\r\n}\r\n","import * as React from 'react';\r\nimport { State } from '../State';\r\nimport { connect } from 'react-redux';\r\nimport { resolveDataSync, resolveData, onDataUpdate } from '../DynamicData';\r\nimport { allComponentsAreResolved, resolveComponentAndChildComponents } from '../resolve-component';\r\n\r\ntype PropType = {\r\n data: Scope.DynamicData;\r\n children: (data: T) => JSX.Element | JSX.Element[];\r\n /**\r\n * This lets you render something like a loading spinner during the time we resolve\r\n * the data. If you can you should render placeholders instead of spinners so\r\n * the experience is that the real data fades in once it's available.\r\n */\r\n fallback?: JSX.Element | JSX.Element[];\r\n /**\r\n * If you don't want to specify a different rendering as a fallback when the data is not\r\n * yet resolved you can pass this to render. If you specify both this and the `fallback`\r\n * prop this gets precedence.\r\n */\r\n fallbackData?: T;\r\n /**\r\n * This lets you defer resolving if you have a component that is rendered but visually hidden.\r\n * If you always pass `false` here the data will never be resolved. If you initially pass `false`\r\n * and then pass `true` once it's visible we'll resolve the data when it becomes visible.\r\n */\r\n shouldResolve?: boolean;\r\n onError?: (retry: () => Promise) => JSX.Element | JSX.Element[];\r\n currentTheme?: string;\r\n};\r\n\r\ntype StateType = {\r\n resolveFailed: boolean;\r\n componentsResolved: boolean;\r\n};\r\n\r\nclass DynamicData extends React.Component, StateType> {\r\n unbindDataWacher: Function | null = null;\r\n constructor(props: PropType) {\r\n super(props);\r\n\r\n const data = resolveDataSync(props.data);\r\n let componentsResolved = false;\r\n if (data !== null) {\r\n componentsResolved = allComponentsAreResolved(data, props.currentTheme);\r\n }\r\n\r\n this.state = {\r\n resolveFailed: false,\r\n componentsResolved,\r\n };\r\n }\r\n resolveComponents = (data: any, currentTheme: string | undefined) => {\r\n if (!allComponentsAreResolved(data)) {\r\n if (this.state.componentsResolved !== false) {\r\n this.setState({ componentsResolved: false });\r\n }\r\n return resolveComponentAndChildComponents(data, currentTheme).then(\r\n () => {\r\n this.setState({ componentsResolved: true });\r\n },\r\n () => {\r\n this.setState({ resolveFailed: true, componentsResolved: false });\r\n },\r\n );\r\n } else if (this.state.componentsResolved !== true) {\r\n this.setState({ componentsResolved: true });\r\n }\r\n };\r\n resolveData = (data: Scope.DynamicData) => {\r\n return resolveData(data).then(\r\n d => {\r\n if (this.state.resolveFailed) {\r\n this.setState({ resolveFailed: false });\r\n }\r\n return this.resolveComponents(d, this.props.currentTheme);\r\n },\r\n e => {\r\n this.setState({ resolveFailed: true });\r\n },\r\n );\r\n };\r\n componentDidMount() {\r\n if (this.props.shouldResolve !== false) {\r\n const syncData = resolveDataSync(this.props.data);\r\n if (syncData === null) {\r\n this.resolveData(this.props.data);\r\n } else {\r\n this.resolveComponents(syncData, this.props.currentTheme);\r\n }\r\n }\r\n this.unbindDataWacher = onDataUpdate(this.props.data, () => this.forceUpdate());\r\n }\r\n UNSAFE_componentWillReceiveProps(nextProps: PropType) {\r\n if (this.props.data !== nextProps.data) {\r\n if (this.unbindDataWacher) {\r\n this.unbindDataWacher();\r\n }\r\n this.unbindDataWacher = onDataUpdate(nextProps.data, () => this.forceUpdate());\r\n }\r\n\r\n if (nextProps.shouldResolve !== false) {\r\n const nextData = resolveDataSync(nextProps.data);\r\n if (nextData === null) {\r\n this.resolveData(nextProps.data);\r\n } else {\r\n this.resolveComponents(nextData, nextProps.currentTheme);\r\n }\r\n }\r\n }\r\n componentWillUnmount() {\r\n if (this.unbindDataWacher) {\r\n this.unbindDataWacher();\r\n }\r\n }\r\n render() {\r\n const loadedData = resolveDataSync(this.props.data);\r\n if (loadedData && this.state.componentsResolved) {\r\n return this.props.children(loadedData);\r\n }\r\n if (this.state.resolveFailed) {\r\n if (this.props.onError) {\r\n return this.props.onError(() => this.resolveData(this.props.data));\r\n } else {\r\n return null;\r\n }\r\n }\r\n if (this.props.fallbackData) {\r\n return this.props.children(this.props.fallbackData);\r\n }\r\n return this.props.fallback || null;\r\n }\r\n}\r\n\r\nexport default (connect((state: State) => ({\r\n currentTheme: state.currentTheme,\r\n}))(DynamicData) as any) as typeof DynamicData;\r\n","import * as React from 'react';\r\nimport URLX, { currentUrl, equalsUrl, isInternalUrl, relativeUrl } from './Url';\r\nimport { scopeLinkAttribute, pushState, replaceState, scrollToHash, isExternalLink } from './history';\r\n\r\nexport type LinkProps = Pick<\r\n React.AnchorHTMLAttributes,\r\n Exclude, 'href'>\r\n> & {\r\n to: URLX | string | { url: string };\r\n linkIdentifier?: string;\r\n replaceState?: boolean;\r\n skipPartialCache?: boolean;\r\n onPageLoaded?: (pageData: any) => void;\r\n onPageLoadFailed?: (error: any) => void;\r\n includeAppShellData?: boolean;\r\n innerRef?: React.Ref;\r\n};\r\n\r\nexport async function onLinkClick(\r\n link: HTMLAnchorElement,\r\n e: React.MouseEvent | MouseEvent,\r\n linkProps?: LinkProps,\r\n deferLoadPromise?: Promise | null,\r\n) {\r\n if (window.IS_IN_EDIT_MODE || !/^http[s]?:/.test(link.href) || !isNormalClick(e) || isExternalLink(link)) {\r\n return Promise.resolve();\r\n }\r\n\r\n e.preventDefault();\r\n\r\n const options = {\r\n linkIdentifier: linkProps && linkProps.linkIdentifier,\r\n skipPartialCache: linkProps && linkProps.skipPartialCache,\r\n deferLoadPromise,\r\n includeAppShellData: linkProps && linkProps.includeAppShellData,\r\n };\r\n\r\n const promise =\r\n equalsUrl(currentUrl(), new URLX(link.href), true) || (linkProps && linkProps.replaceState)\r\n ? await replaceState(link.href, options)\r\n : await pushState(link.href, options);\r\n\r\n if (link.hash) {\r\n scrollToHash(link.hash);\r\n }\r\n\r\n return promise;\r\n}\r\n\r\nfunction isNormalClick(e: React.MouseEvent | MouseEvent) {\r\n return !(e.button > 1 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey);\r\n}\r\n\r\nexport default class Link extends React.Component {\r\n url: URLX | null = null;\r\n setUrlFromProps(props: LinkProps) {\r\n if (!props.to) {\r\n this.url = null;\r\n } else if (typeof props.to === 'string') {\r\n this.url = new URLX(props.to);\r\n } else if ('url' in props.to) {\r\n this.url = new URLX(props.to.url);\r\n } else {\r\n this.url = props.to;\r\n }\r\n }\r\n\r\n constructor(props: LinkProps) {\r\n super(props);\r\n this.setUrlFromProps(props);\r\n }\r\n UNSAFE_componentWillReceiveProps(nextProps: LinkProps) {\r\n if (this.props.to !== nextProps.to) {\r\n this.setUrlFromProps(nextProps);\r\n }\r\n }\r\n onClick = (e: React.MouseEvent) => {\r\n let deferLoadPromise: Promise | null = null;\r\n if (this.props.onClick) {\r\n // TODO: Because Link inherits prop types from we can't redefine\r\n // onClick's type until this:\r\n // https://github.com/Microsoft/TypeScript/issues/10727\r\n // has landed in TS\r\n deferLoadPromise = (this.props.onClick(e) as any) as Promise;\r\n if (typeof deferLoadPromise !== 'object' || !deferLoadPromise.then) {\r\n deferLoadPromise = null;\r\n }\r\n }\r\n if (!e.isDefaultPrevented()) {\r\n onLinkClick(e.currentTarget, e, this.props, deferLoadPromise).then(\r\n result => {\r\n if (this.props.onPageLoaded) {\r\n this.props.onPageLoaded(result);\r\n }\r\n },\r\n result => {\r\n if (this.props.onPageLoadFailed) {\r\n this.props.onPageLoadFailed(result);\r\n }\r\n },\r\n );\r\n }\r\n };\r\n render() {\r\n const {\r\n to,\r\n linkIdentifier,\r\n // tslint:disable-next-line no-shadowed-variable\r\n replaceState,\r\n onPageLoaded,\r\n onPageLoadFailed,\r\n skipPartialCache,\r\n includeAppShellData,\r\n innerRef,\r\n ...props\r\n } = this.props;\r\n\r\n if (this.url && !isInternalUrl(this.url)) {\r\n return (\r\n \r\n {this.props.children}\r\n \r\n );\r\n } else {\r\n (props as any)[scopeLinkAttribute] = 'true';\r\n\r\n const exposedHref = this.url ? relativeUrl(this.url) : undefined;\r\n\r\n return (\r\n \r\n {this.props.children}\r\n \r\n );\r\n }\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport * as ReactDOM from 'react-dom';\r\nimport { onLinkClick } from './Link';\r\nimport { on } from './Root';\r\nimport { scopeLinksContainerAttribute, clickedLink } from './history';\r\n\r\nexport default class LinksContainer extends React.Component {\r\n unbindClicks?: () => void;\r\n componentDidMount() {\r\n const node = ReactDOM.findDOMNode(this) as Element;\r\n node.setAttribute(scopeLinksContainerAttribute, 'true');\r\n\r\n this.unbindClicks = on('click', e => {\r\n const event = (e as any) as React.MouseEvent;\r\n const link = clickedLink(event.nativeEvent);\r\n if (link && !event.isDefaultPrevented() && isChildOf(link, node)) {\r\n onLinkClick(link, event as React.MouseEvent);\r\n }\r\n });\r\n }\r\n componentWillUnmount() {\r\n if (this.unbindClicks) {\r\n this.unbindClicks();\r\n }\r\n }\r\n render() {\r\n return React.Children.only(this.props.children);\r\n }\r\n}\r\n\r\nfunction isChildOf(child: Element, parent: Element) {\r\n let current: Element | null = child;\r\n while (current) {\r\n if (current === parent) {\r\n return true;\r\n }\r\n current = current.parentElement;\r\n }\r\n return false;\r\n}\r\n","import { isBrowser } from './device-type';\r\n\r\nconst callbacks: Array<() => void> = [];\r\nlet hasLoaded = false;\r\n\r\nexport default function(callback: () => void) {\r\n callbacks.push(callback);\r\n if (hasLoaded) {\r\n callback();\r\n }\r\n}\r\n\r\nif (isBrowser()) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n // If we're in development (hot) mode we have to wait an arbitrary amount\r\n // until the styles have loaded\r\n // Or maybe until this is resolved: https://github.com/webpack/style-loader/issues/83\r\n setTimeout(() => {\r\n callbacks.forEach(c => c());\r\n hasLoaded = true;\r\n }, 1000);\r\n } else {\r\n (requestAnimationFrame || setTimeout)(() => {\r\n callbacks.forEach(c => c());\r\n hasLoaded = true;\r\n });\r\n }\r\n}\r\n","export const enum LanguageCodes {\r\n English = 'en-us',\r\n Danish = 'da-DK',\r\n Swedish = 'sv-SE',\r\n Finnish = 'fi-FI',\r\n Dutch = 'nl-NL',\r\n Norwegian = 'nb-NO',\r\n French = 'fr-FR',\r\n German = 'de-DE',\r\n Spanish = 'es-ES',\r\n}","import { SPINNER_SHOW, SPINNER_HIDE, SPINNER_ACTIVATION, SPINNER_PROGRESS, SpinnerActivationAction, SpinnerProgressAction } from './action-creators';\r\nimport { PAGE_UPDATE_SUCCESS, PAGE_LOAD_ABORTED, PAGE_LOAD_DONE, PAGE_LOAD_FAILURE } from '../CurrentPage/action-creators';\r\nimport { Spinner } from '../State';\r\nimport { Action } from 'redux';\r\n\r\nexport default function(state: Spinner | null = null, action: Action): Spinner {\r\n if (state === null) {\r\n state = {\r\n isVisible: false,\r\n isCommunicatingWithServer: false,\r\n progress: 1,\r\n };\r\n }\r\n switch (action.type) {\r\n case SPINNER_SHOW:\r\n return {\r\n ...state,\r\n isVisible: true,\r\n };\r\n case SPINNER_HIDE:\r\n return {\r\n ...state,\r\n isVisible: false,\r\n };\r\n case SPINNER_ACTIVATION: {\r\n const spinnerActivationAction = action as SpinnerActivationAction;\r\n return {\r\n ...state,\r\n isCommunicatingWithServer: spinnerActivationAction.active,\r\n };\r\n }\r\n case SPINNER_PROGRESS: {\r\n const spinnerProgressAction = action as SpinnerProgressAction;\r\n return {\r\n ...state,\r\n progress: spinnerProgressAction.progress,\r\n };\r\n }\r\n case PAGE_UPDATE_SUCCESS:\r\n case PAGE_LOAD_ABORTED:\r\n case PAGE_LOAD_DONE:\r\n case PAGE_LOAD_FAILURE:\r\n return {\r\n isVisible: false,\r\n isCommunicatingWithServer: false,\r\n progress: 1,\r\n };\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { Action } from 'redux';\r\nimport { Page } from '../State';\r\nimport { coalesceName } from './index';\r\nimport { SET_THEME_NAME, SetThemeNameAction } from './action-creators';\r\nimport {\r\n PAGE_LOAD_CACHED,\r\n PAGE_LOAD_SUCCESS,\r\n PageLoadCachedAction,\r\n PageLoadSuccessAction,\r\n} from '../CurrentPage/action-creators';\r\n\r\nexport default (state: string, appShellData: Scope.AppShellDataBase, action: Action) => {\r\n state = coalesceName(state, appShellData.currentTheme);\r\n switch (action.type) {\r\n case SET_THEME_NAME: {\r\n return coalesceName((action as SetThemeNameAction).themeName, state);\r\n }\r\n case PAGE_LOAD_CACHED: {\r\n const pageLoadAction = action as PageLoadCachedAction;\r\n const cachedItem = pageLoadAction.cachedItem;\r\n if (cachedItem && typeof cachedItem.currentTheme === 'string') {\r\n return coalesceName(cachedItem.currentTheme, state);\r\n }\r\n return state;\r\n }\r\n case PAGE_LOAD_SUCCESS: {\r\n const pageLoadSuccessAction = action as PageLoadSuccessAction;\r\n const page = pageLoadSuccessAction.page as Page;\r\n if (page && typeof page.currentTheme === 'string') {\r\n return coalesceName(page.currentTheme, state);\r\n }\r\n return state;\r\n }\r\n default: {\r\n return state;\r\n }\r\n }\r\n};\r\n","/// \r\n/// \r\n\r\nexport * from './AppShell';\r\nexport { default as appShellReducer } from './AppShell/reducer';\r\nexport * from './breakpoints';\r\nexport * from './cross-window-events';\r\nexport { switchBreakpoint } from './CurrentBreakpoint/action-creators';\r\nexport { default as breakpointReducer } from './CurrentBreakpoint/reducer';\r\nexport * from './CurrentPage';\r\nexport { default as CurrentPage } from './CurrentPage';\r\nexport * from './CurrentPage/action-creators';\r\nexport { default as currentPageReducer } from './CurrentPage/reducer';\r\nexport { getCacheItem, setCacheItem, nukeCache, isCacheItem, clearCacheItem } from './CurrentPage/cache';\r\nexport { renderMeta } from './CurrentPage/meta';\r\nexport * from './device-type';\r\nexport { default as DynamicData } from './DynamicData/DynamicData';\r\nexport * from './DynamicData';\r\nexport * from './events';\r\nexport * from './geolocation';\r\nexport * from './history';\r\nexport * from './keyboard';\r\nexport * from './Link';\r\nexport { default as Link } from './Link';\r\nexport { default as LinksContainer } from './LinksContainer';\r\nexport * from './load-script';\r\nexport { default as loadScript } from './load-script';\r\nexport { default as localDb } from './local-db';\r\nexport * from './local-storage';\r\nexport { default as onLoad } from './on-load';\r\nexport { default as browserRender, enableSeparateAssetsHost } from './rendering/browser';\r\nexport { default as serverRender } from './rendering/server';\r\nexport * from './resolve-component';\r\nexport * from './Root';\r\nexport { default as Root } from './Root';\r\nexport * from './server';\r\nexport * from './service-worker/registration';\r\nexport * from './service-worker/cache';\r\nexport * from './session-storage';\r\nexport { default as shallowEquals } from './shallow-equals';\r\nexport { hideSpinner, showSpinner, isCommunicatingWithServer } from './Spinner/action-creators';\r\nexport { default as spinnerReducer } from './Spinner/reducer';\r\nexport { LoadFailure, UnhandledError, Page, PageWithAppShellData, Spinner, State, Dispatch, Store } from './State';\r\nexport * from './Theming';\r\nexport { setTheme } from './Theming/action-creators';\r\nexport { default as themeReducer } from './Theming/reducer';\r\nexport { format, formatObject, setPhrases, translate } from './Translate';\r\nexport { default as Translate } from './Translate';\r\nexport * from './Url';\r\nexport { default as URLX } from './Url';\r\nexport * from './user-log';\r\nexport * from './preferences-storage';\r\nexport * from './CurrentPage/is-initial-render';\r\nexport * from './clear-content-caches';\r\nexport {\r\n useCurrentBreakpoint,\r\n useAppShellData,\r\n useCurrentPage,\r\n useCurrentTheme,\r\n useSpinner,\r\n setupScopeStateHooks,\r\n} from './use-scope-state';\r\nexport { LanguageCodes } from './language-codes';\r\n","export const ENTER_KEY = 13;\r\nexport const DOWN_KEY = 40;\r\nexport const UP_KEY = 38;\r\nexport const ESC_KEY = 27;\r\nexport const TAB_KEY = 9;\r\n","import React from 'react';\r\nimport { styled, StyledProps } from '@glitz/react';\r\n\r\nconst iconStyled = styled({\r\n display: 'inline-flex',\r\n verticalAlign: 'text-top',\r\n});\r\n\r\nexport default function factory(Glyph: typeof SVGComponent, width: number, height: number, currentColorFill?: boolean) {\r\n return iconStyled(({ compose, ...restProps }: StyledProps & React.HTMLAttributes) => (\r\n \r\n \r\n \r\n ));\r\n}\r\n\r\nexport function flagFactory(Glyph: typeof SVGComponent) {\r\n return factory(Glyph, 20, 20);\r\n //return factoryScaledToFit(Glyph);\r\n}\r\n\r\nconst iconStyledScaledToFit = styled({\r\n display: 'inline-flex',\r\n alignItems: 'center',\r\n width: '1em', // Needs to be 1em otherwise scale to fit will not work. em is a realtive measurement and will align to wrapped size\r\n height: 'auto', // See above\r\n lineHeight: '1em',\r\n /* verticalAlign: 'text-top', */\r\n fontSize: '1em',\r\n});\r\n\r\nexport function factoryScaledToFit(Glyph: typeof SVGComponent, emptyFill?: boolean, provideOwnFill?: boolean, fillWithCurrentColor?: boolean) {\r\n return iconStyledScaledToFit(({ compose, ...restProps }: StyledProps & React.HTMLAttributes) => (\r\n \r\n \r\n \r\n ));\r\n}","import { styled, StyledProps, StyledComponent } from '@glitz/react';\r\nimport React from 'react';\r\nimport connect from 'Shared/connect';\r\nimport { isCompact } from 'Shared/Viewport';\r\nimport { WithRefProp } from '@glitz/react/types/styled/create';\r\n\r\nconst fontWeightBold = 500;\r\nconst fontWeightStandard = 450;\r\n\r\nexport enum DesktopSize {\r\n Scale96,\r\n Scale64,\r\n Scale56,\r\n Scale48,\r\n Scale40,\r\n Scale32,\r\n Static40,\r\n Static32,\r\n Static24,\r\n Static20,\r\n Static16,\r\n Static14,\r\n Static12,\r\n Static10,\r\n Inherit\r\n}\r\n\r\nexport enum MobileSize {\r\n Scale48,\r\n Scale40,\r\n Scale32,\r\n Scale28,\r\n Static40,\r\n Static32,\r\n Static24,\r\n Static20,\r\n Static18,\r\n Static16,\r\n Static14,\r\n Static12,\r\n Static10,\r\n Inherit\r\n}\r\n\r\ntype SizeAndHeight = {\r\n [key: number]: { fontSize: string; minHeight: string; fontWeight: number; upperCaseFontWeight?: number };\r\n};\r\n\r\nconst desktopSizes = (): SizeAndHeight => ({\r\n [DesktopSize.Scale96]: { fontSize: '7.028vw', minHeight: '7.731vw', fontWeight: fontWeightBold },\r\n [DesktopSize.Scale64]: { fontSize: '4.685vw', minHeight: '5.154vw', fontWeight: fontWeightBold },\r\n [DesktopSize.Scale56]: {\r\n fontSize: '4.099vw',\r\n minHeight: '4.509vw',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [DesktopSize.Scale48]: { fontSize: '3.514vw', minHeight: '3.865vw', fontWeight: fontWeightBold },\r\n [DesktopSize.Scale40]: { fontSize: '2.928vw', minHeight: '3.221vw', fontWeight: fontWeightBold },\r\n [DesktopSize.Scale32]: { fontSize: '2.342vw', minHeight: '2.576vw', fontWeight: fontWeightBold },\r\n [DesktopSize.Static40]: {\r\n fontSize: '40px',\r\n minHeight: '44px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [DesktopSize.Static32]: { fontSize: '32px', minHeight: '35.2px', fontWeight: fontWeightStandard },\r\n [DesktopSize.Static24]: {\r\n fontSize: '24px',\r\n minHeight: '26.4px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [DesktopSize.Static20]: {\r\n fontSize: '20px',\r\n minHeight: '22px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [DesktopSize.Static16]: {\r\n fontSize: '16px',\r\n minHeight: '17.6px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [DesktopSize.Static14]: {\r\n fontSize: '14px',\r\n minHeight: '15.4px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [DesktopSize.Static12]: {\r\n fontSize: '12px',\r\n minHeight: '13.2px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [DesktopSize.Static10]: { fontSize: '10px', minHeight: '11px', fontWeight: fontWeightStandard },\r\n [DesktopSize.Inherit]: { fontSize: 'inherit', minHeight: 'inherit', fontWeight: 0 },\r\n});\r\n\r\nconst mobileSizes = (): SizeAndHeight => ({\r\n [MobileSize.Scale48]: { fontSize: '13.333vw', minHeight: '14.666vw', fontWeight: fontWeightBold },\r\n [MobileSize.Scale40]: { fontSize: '11.11vw', minHeight: '12.221vw', fontWeight: fontWeightBold },\r\n [MobileSize.Scale32]: { fontSize: '8.888vw', minHeight: '9.777vw', fontWeight: fontWeightBold },\r\n [MobileSize.Scale28]: { fontSize: '6.555vw', minHeight: '7.211vw', fontWeight: fontWeightBold },\r\n [MobileSize.Static40]: {\r\n fontSize: '40px',\r\n minHeight: '44px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [MobileSize.Static32]: { fontSize: '32px', minHeight: '35.2px', fontWeight: fontWeightStandard },\r\n [MobileSize.Static24]: {\r\n fontSize: '24px',\r\n minHeight: '26.4px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [MobileSize.Static20]: {\r\n fontSize: '20px',\r\n minHeight: '22px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [MobileSize.Static18]: { fontSize: '18px', minHeight: '19.8px', fontWeight: fontWeightStandard },\r\n [MobileSize.Static16]: {\r\n fontSize: '16px',\r\n minHeight: '17.6px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [MobileSize.Static14]: {\r\n fontSize: '14px',\r\n minHeight: '15.4px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [MobileSize.Static12]: {\r\n fontSize: '12px',\r\n minHeight: '13.2px',\r\n fontWeight: fontWeightStandard,\r\n upperCaseFontWeight: fontWeightBold,\r\n },\r\n [MobileSize.Static10]: { fontSize: '10px', minHeight: '11px', fontWeight: fontWeightStandard },\r\n [MobileSize.Inherit]: { fontSize: 'inherit', minHeight: 'inherit', fontWeight: 0 },\r\n});\r\n\r\nexport enum ResponsiveSize {\r\n D96_M48,\r\n D96_M40,\r\n D64_M40,\r\n D64_M32,\r\n D56_M40,\r\n D56_M32,\r\n D56_M24,\r\n D48_M32,\r\n DS40_MS40,\r\n D40_M32,\r\n D40_M28,\r\n D40_M18,\r\n D32_M32,\r\n D32_M24,\r\n D32_M20,\r\n D32_M16,\r\n D24_M24,\r\n D24_M20,\r\n D24_M16,\r\n D20_M20,\r\n D20_M16,\r\n D16_M16,\r\n D14_M14,\r\n D14_M14_L130,\r\n D14_M12,\r\n D12_M12,\r\n D10_M10,\r\n Inherit\r\n}\r\n\r\nexport enum ResponsiveLineHeight {\r\n D200_M200,\r\n D130_M130,\r\n D130_M120,\r\n D120_M120,\r\n D110_M110,\r\n D100_M100,\r\n D110_M130,\r\n}\r\n\r\ntype ResponsiveSizes = {\r\n [key: number]: {\r\n desktop: DesktopSize;\r\n mobile: MobileSize;\r\n lineHeight: ResponsiveLineHeight;\r\n desktopLowerCase?: DesktopSize;\r\n };\r\n};\r\ntype ResponsiveLineHeights = { [key: number]: { desktop: number; mobile: number } };\r\n\r\nconst responsiveSizes = (): ResponsiveSizes => ({\r\n [ResponsiveSize.D96_M48]: {\r\n desktop: DesktopSize.Scale96,\r\n mobile: MobileSize.Scale48,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D96_M40]: {\r\n desktop: DesktopSize.Scale96,\r\n mobile: MobileSize.Scale40,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D64_M40]: {\r\n desktop: DesktopSize.Scale64,\r\n mobile: MobileSize.Scale40,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D64_M32]: {\r\n desktop: DesktopSize.Scale64,\r\n mobile: MobileSize.Scale32,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D56_M40]: {\r\n desktop: DesktopSize.Scale56,\r\n mobile: MobileSize.Scale40,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D56_M32]: {\r\n desktop: DesktopSize.Scale56,\r\n mobile: MobileSize.Scale32,\r\n lineHeight: ResponsiveLineHeight.D110_M110,\r\n },\r\n [ResponsiveSize.D56_M24]: {\r\n desktop: DesktopSize.Scale56,\r\n mobile: MobileSize.Static24,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D48_M32]: {\r\n desktop: DesktopSize.Scale48,\r\n mobile: MobileSize.Scale32,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.DS40_MS40]: {\r\n desktop: DesktopSize.Static40,\r\n mobile: MobileSize.Static40,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D40_M32]: {\r\n desktop: DesktopSize.Scale40,\r\n mobile: MobileSize.Scale32,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D40_M28]: {\r\n desktop: DesktopSize.Scale40,\r\n mobile: MobileSize.Scale28,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D40_M18]: {\r\n desktop: DesktopSize.Scale40,\r\n mobile: MobileSize.Static18,\r\n lineHeight: ResponsiveLineHeight.D110_M130,\r\n },\r\n [ResponsiveSize.D32_M32]: {\r\n desktop: DesktopSize.Static32,\r\n mobile: MobileSize.Static32,\r\n lineHeight: ResponsiveLineHeight.D110_M110,\r\n },\r\n [ResponsiveSize.D32_M24]: {\r\n desktop: DesktopSize.Scale32,\r\n mobile: MobileSize.Static24,\r\n lineHeight: ResponsiveLineHeight.D110_M110,\r\n desktopLowerCase: DesktopSize.Static32,\r\n },\r\n [ResponsiveSize.D32_M20]: {\r\n desktop: DesktopSize.Scale32,\r\n mobile: MobileSize.Static20,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D32_M16]: {\r\n desktop: DesktopSize.Static32,\r\n mobile: MobileSize.Static16,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D24_M24]: {\r\n desktop: DesktopSize.Static24,\r\n mobile: MobileSize.Static24,\r\n lineHeight: ResponsiveLineHeight.D110_M110,\r\n },\r\n [ResponsiveSize.D24_M20]: {\r\n desktop: DesktopSize.Static24,\r\n mobile: MobileSize.Static20,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D24_M16]: {\r\n desktop: DesktopSize.Static24,\r\n mobile: MobileSize.Static16,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D20_M20]: {\r\n desktop: DesktopSize.Static20,\r\n mobile: MobileSize.Static20,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D20_M16]: {\r\n desktop: DesktopSize.Static20,\r\n mobile: MobileSize.Static16,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D16_M16]: {\r\n desktop: DesktopSize.Static16,\r\n mobile: MobileSize.Static16,\r\n lineHeight: ResponsiveLineHeight.D130_M130,\r\n },\r\n [ResponsiveSize.D14_M14]: {\r\n desktop: DesktopSize.Static14,\r\n mobile: MobileSize.Static14,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D14_M14_L130]: {\r\n desktop: DesktopSize.Static14,\r\n mobile: MobileSize.Static14,\r\n lineHeight: ResponsiveLineHeight.D130_M130,\r\n },\r\n [ResponsiveSize.D14_M12]: {\r\n desktop: DesktopSize.Static14,\r\n mobile: MobileSize.Static12,\r\n lineHeight: ResponsiveLineHeight.D120_M120,\r\n },\r\n [ResponsiveSize.D12_M12]: {\r\n desktop: DesktopSize.Static12,\r\n mobile: MobileSize.Static12,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.D10_M10]: {\r\n desktop: DesktopSize.Static10,\r\n mobile: MobileSize.Static10,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n [ResponsiveSize.Inherit]: {\r\n desktop: DesktopSize.Inherit,\r\n mobile: MobileSize.Inherit,\r\n lineHeight: ResponsiveLineHeight.D100_M100,\r\n },\r\n});\r\n\r\nconst responsiveLineHeights = (): ResponsiveLineHeights => ({\r\n [ResponsiveLineHeight.D130_M130]: { desktop: 130, mobile: 130 },\r\n [ResponsiveLineHeight.D130_M120]: { desktop: 130, mobile: 120 },\r\n [ResponsiveLineHeight.D120_M120]: { desktop: 120, mobile: 120 },\r\n [ResponsiveLineHeight.D110_M130]: { desktop: 110, mobile: 130 },\r\n [ResponsiveLineHeight.D110_M110]: { desktop: 110, mobile: 110 },\r\n [ResponsiveLineHeight.D100_M100]: { desktop: 100, mobile: 100 },\r\n});\r\n\r\ntype ConnectedProps = {\r\n currentBreakpoint: number;\r\n};\r\n\r\ntype BaseProps = StyledProps & {\r\n upperCase?: boolean;\r\n shouldAlwaysClaimHeight?: boolean;\r\n};\r\n\r\ntype HTagElementProps = BaseProps & {\r\n fontSize?: ResponsiveSize;\r\n lineHeight?: ResponsiveLineHeight;\r\n className?: string;\r\n letterSpacing?: string;\r\n style?: React.CSSProperties;\r\n onClick?: React.MouseEventHandler | undefined;\r\n};\r\n\r\ntype HeadingElementProps = BaseProps & {\r\n fontSize: ResponsiveSize;\r\n lineHeight?: ResponsiveLineHeight;\r\n semanticTag?: StyledComponent, HTMLHeadingElement>>;\r\n className?: string;\r\n letterSpacing?: string;\r\n style?: React.CSSProperties;\r\n};\r\n\r\ntype TextElementProps = React.HTMLAttributes &\r\n StyledProps & {\r\n fontSize?: ResponsiveSize;\r\n shouldAlwaysClaimHeight?: boolean;\r\n upperCase?: boolean;\r\n lineHeight?: ResponsiveLineHeight;\r\n keepMargin?: boolean;\r\n };\r\n\r\nconst connected = connect(\r\n (state) => ({\r\n currentBreakpoint: state.currentBreakpoint,\r\n }),\r\n (dispatch) => ({})\r\n);\r\n\r\nconst Heading = connected(\r\n styled((props: { children: React.ReactNode } & ConnectedProps & HeadingElementProps) => {\r\n const {\r\n fontSize,\r\n shouldAlwaysClaimHeight = false,\r\n upperCase = true,\r\n compose,\r\n children,\r\n semanticTag,\r\n currentBreakpoint,\r\n lineHeight,\r\n className,\r\n letterSpacing,\r\n ...restProps\r\n } = props;\r\n\r\n const HeaderTag = semanticTag || styled.H2;\r\n const responsiveSize = responsiveSizes()[fontSize];\r\n const isMobile = isCompact(currentBreakpoint);\r\n\r\n const fs = isMobile\r\n ? mobileSizes()[responsiveSize.mobile]\r\n : desktopSizes()[\r\n !upperCase && responsiveSize.desktopLowerCase ? responsiveSize.desktopLowerCase : responsiveSize.desktop\r\n ];\r\n const responsiveLineHeight = responsiveLineHeights()[lineHeight ? lineHeight : responsiveSize.lineHeight];\r\n const lh = isMobile ? responsiveLineHeight.mobile : responsiveLineHeight.desktop;\r\n const fontWeight = upperCase && fs.upperCaseFontWeight ? fs.upperCaseFontWeight : fs.fontWeight;\r\n\r\n return (\r\n 0 ? fontWeight : 'inherit',\r\n ...(upperCase && {\r\n textTransform: 'uppercase',\r\n }),\r\n fontSize: fs.fontSize,\r\n lineHeight: `${lh}%`,\r\n marginTop: 0,\r\n marginBottom: 0,\r\n ...(shouldAlwaysClaimHeight && {\r\n minHeight: fs.minHeight,\r\n }),\r\n ...(letterSpacing && {\r\n letterSpacing: letterSpacing,\r\n }),\r\n })}\r\n >\r\n {children}\r\n \r\n );\r\n }),\r\n);\r\n\r\nconst TextInternal = connected(\r\n styled(\r\n (\r\n props: {\r\n children: React.ReactNode;\r\n ElementTag:\r\n | StyledComponent, HTMLSpanElement>>\r\n | StyledComponent, HTMLParagraphElement>>;\r\n display?: string;\r\n } & ConnectedProps &\r\n TextElementProps,\r\n ) => {\r\n const {\r\n compose,\r\n fontSize = ResponsiveSize.D16_M16,\r\n children,\r\n display,\r\n ElementTag,\r\n currentBreakpoint,\r\n shouldAlwaysClaimHeight,\r\n lineHeight,\r\n upperCase = false,\r\n keepMargin = false,\r\n color,\r\n ...restProps\r\n } = props;\r\n\r\n const responsiveSize = responsiveSizes()[fontSize];\r\n const isMobile = isCompact(currentBreakpoint);\r\n const fs = isMobile\r\n ? mobileSizes()[responsiveSize.mobile]\r\n : desktopSizes()[\r\n !upperCase && responsiveSize.desktopLowerCase ? responsiveSize.desktopLowerCase : responsiveSize.desktop\r\n ];\r\n const responsiveLineHeight = responsiveLineHeights()[lineHeight ? lineHeight : responsiveSize.lineHeight];\r\n const lh = isMobile ? responsiveLineHeight.mobile : responsiveLineHeight.desktop;\r\n const fontWeight = upperCase && fs.upperCaseFontWeight ? fs.upperCaseFontWeight : fs.fontWeight;\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n },\r\n ),\r\n);\r\n\r\nexport const getResposiveFontSize = function (fontSize: ResponsiveSize, isMobile: boolean) {\r\n const responsiveSize = responsiveSizes()[fontSize];\r\n const fs = isMobile ? mobileSizes()[responsiveSize.mobile] : desktopSizes()[responsiveSize.desktop];\r\n return fs.fontSize;\r\n};\r\n\r\nexport const H1 = styled((props: { children: React.ReactNode } & HTagElementProps) => {\r\n const { children, fontSize = ResponsiveSize.D96_M40, letterSpacing = '-0.01em', compose, ...restProps } = props;\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nexport const H2 = styled((props: { children: React.ReactNode } & HTagElementProps) => {\r\n const { children, fontSize = ResponsiveSize.D96_M40, compose, ...restProps } = props;\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nexport const H3 = styled((props: { children: React.ReactNode } & HTagElementProps) => {\r\n const { children, fontSize = ResponsiveSize.D32_M24, upperCase = false, compose, ...restProps } = props;\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nexport const H4 = styled((props: { children: React.ReactNode } & HTagElementProps) => {\r\n const { children, fontSize = ResponsiveSize.D96_M40, upperCase = false, compose, ...restProps } = props;\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nexport const HeadingLabel = styled((props: { children?: React.ReactNode } & TextElementProps) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n});\r\n\r\nexport const InlineLabel = styled((props: { children: React.ReactNode } & TextElementProps) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n});\r\n\r\nexport const Paragraph = styled(\r\n (\r\n props: {\r\n children: React.ReactNode;\r\n } & TextElementProps,\r\n ) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n },\r\n);\r\n\r\nexport const TextInline = styled((props: { children: React.ReactNode } & TextElementProps) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n});\r\n\r\nexport const Text = styled((props: { children: React.ReactNode } & TextElementProps) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n});\r\n\r\nexport const TextBlock = styled((props: { children: React.ReactNode } & TextElementProps) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n});\r\n\r\nexport const TextBlockSmall = styled((props: { children: React.ReactNode } & TextElementProps) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n});\r\n\r\nexport const TextBlockTiny = styled((props: { children: React.ReactNode } & TextElementProps) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n});\r\n\r\nexport const TextLabel = styled((props: { children: React.ReactNode } & TextElementProps) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n});\r\n\r\nexport const ArticleTag = styled((props: { children: React.ReactNode } & TextElementProps) => {\r\n return (\r\n \r\n {props.children}\r\n \r\n );\r\n});\r\n","import {\r\n connect,\r\n InferableComponentEnhancer,\r\n InferableComponentEnhancerWithProps,\r\n MapStateToPropsParam,\r\n MergeProps,\r\n Options,\r\n} from 'react-redux';\r\nimport State, { Dispatch } from './State';\r\n\r\ntype MapDispatchToPropsFunction = (\r\n dispatch: Dispatch,\r\n ownProps: TOwnProps,\r\n) => TDispatchProps;\r\n\r\ntype MapDispatchToProps =\r\n | MapDispatchToPropsFunction\r\n | TDispatchProps;\r\n\r\ntype MapDispatchToPropsFactory = (\r\n dispatch: Dispatch,\r\n ownProps: TOwnProps,\r\n) => MapDispatchToProps;\r\n\r\ntype MapDispatchToPropsParam =\r\n | MapDispatchToPropsFactory\r\n | MapDispatchToProps;\r\n\r\ntype DispatchProp = {\r\n dispatch: Dispatch;\r\n};\r\n\r\ninterface Connect {\r\n (): InferableComponentEnhancer;\r\n\r\n (\r\n mapStateToProps: MapStateToPropsParam,\r\n ): InferableComponentEnhancerWithProps;\r\n\r\n (\r\n mapStateToProps: null | undefined,\r\n mapDispatchToProps: MapDispatchToPropsParam,\r\n ): InferableComponentEnhancerWithProps;\r\n\r\n (\r\n mapStateToProps: MapStateToPropsParam,\r\n mapDispatchToProps: MapDispatchToPropsParam,\r\n ): InferableComponentEnhancerWithProps;\r\n\r\n (\r\n mapStateToProps: MapStateToPropsParam,\r\n mapDispatchToProps: null | undefined,\r\n mergeProps: MergeProps,\r\n ): InferableComponentEnhancerWithProps;\r\n\r\n (\r\n mapStateToProps: null | undefined,\r\n mapDispatchToProps: MapDispatchToPropsParam,\r\n mergeProps: MergeProps,\r\n ): InferableComponentEnhancerWithProps;\r\n\r\n (\r\n mapStateToProps: null | undefined,\r\n mapDispatchToProps: null | undefined,\r\n mergeProps: MergeProps,\r\n ): InferableComponentEnhancerWithProps;\r\n\r\n (\r\n mapStateToProps: MapStateToPropsParam,\r\n mapDispatchToProps: MapDispatchToPropsParam,\r\n mergeProps: MergeProps,\r\n ): InferableComponentEnhancerWithProps;\r\n\r\n (\r\n mapStateToProps: MapStateToPropsParam,\r\n mapDispatchToProps: null | undefined,\r\n mergeProps: null | undefined,\r\n options: Options,\r\n ): InferableComponentEnhancerWithProps;\r\n\r\n (\r\n mapStateToProps: null | undefined,\r\n mapDispatchToProps: MapDispatchToPropsParam,\r\n mergeProps: null | undefined,\r\n options: Options<{}, TStateProps, TOwnProps>,\r\n ): InferableComponentEnhancerWithProps;\r\n\r\n (\r\n mapStateToProps: MapStateToPropsParam,\r\n mapDispatchToProps: MapDispatchToPropsParam,\r\n mergeProps: null | undefined,\r\n options: Options,\r\n ): InferableComponentEnhancerWithProps;\r\n\r\n (\r\n mapStateToProps: MapStateToPropsParam,\r\n mapDispatchToProps: MapDispatchToPropsParam,\r\n mergeProps: MergeProps,\r\n options: Options,\r\n ): InferableComponentEnhancerWithProps;\r\n}\r\n\r\nexport default connect as Connect;\r\n","import React from 'react';\r\nimport connect from 'Shared/connect';\r\nimport { styled, StyledProps } from '@glitz/react';\r\nimport { StyledDecorator } from '@glitz/react/types/styled/decorator';\r\nimport { Style, StyleOrStyleArray } from '@glitz/type';\r\nimport { URLX } from '@polarnopyret/scope';\r\nimport { isCompact } from 'Shared/Viewport';\r\nimport Link, { isDocumentLink } from 'Shared/Link';\r\nimport * as style from 'Shared/Style';\r\n\r\nexport enum ButtonTheme {\r\n BlackToWhite,\r\n TransparentWhite,\r\n TransparentBlack,\r\n WhiteToBlack,\r\n WhiteBorderToBlack,\r\n WhiteToTransparent,\r\n RedBorder,\r\n Green,\r\n WhiteToGreen,\r\n LightGrey,\r\n DarkBlue,\r\n Orange,\r\n TransparentDisabled,\r\n None,\r\n Empty,\r\n}\r\n\r\nenum ColorSchema {\r\n Transparent,\r\n Black,\r\n White,\r\n None,\r\n Red,\r\n Green,\r\n WhiteToGreen,\r\n LightGrey,\r\n DarkBlue,\r\n Orange,\r\n Empty,\r\n}\r\n\r\nexport enum ButtonHeight {\r\n Default,\r\n Huge,\r\n Big,\r\n Small,\r\n Video,\r\n Filter,\r\n Sale\r\n}\r\n\r\ntype ButtonHeights = {\r\n [key: number]: {\r\n desktop: number;\r\n mobile: number;\r\n };\r\n};\r\n\r\nconst buttonHeights = (): ButtonHeights => ({\r\n [ButtonHeight.Huge]: {\r\n desktop: 64,\r\n mobile: 64,\r\n },\r\n [ButtonHeight.Big]: {\r\n desktop: 48,\r\n mobile: 48,\r\n },\r\n [ButtonHeight.Default]: {\r\n desktop: 48,\r\n mobile: 40,\r\n },\r\n [ButtonHeight.Small]: {\r\n desktop: 32,\r\n mobile: 32,\r\n },\r\n [ButtonHeight.Video]: {\r\n desktop: 40,\r\n mobile: 40,\r\n },\r\n [ButtonHeight.Filter]: {\r\n desktop: 48,\r\n mobile: 32,\r\n },\r\n [ButtonHeight.Sale]: {\r\n desktop: 60,\r\n mobile: 50,\r\n },\r\n});\r\n\r\ntype ConnectedProps = {\r\n currentBreakpoint: number;\r\n};\r\n\r\ntype SharedProps = {\r\n disabled?: boolean;\r\n selected?: boolean;\r\n disableClickEventsOnSelected?: boolean;\r\n text?: string;\r\n iconBefore?: React.ReactNode;\r\n iconAfter?: React.ReactNode;\r\n upperCase?: boolean;\r\n theme?: ButtonTheme;\r\n display?: string;\r\n fontSize?: number;\r\n height?: ButtonHeight;\r\n noHoverEffect?: boolean;\r\n fullWidth?: boolean;\r\n autoHeight?: boolean;\r\n padding?: { x: number };\r\n css?: StyledDecorator | StyleOrStyleArray\";\r\n }\r\n var medias = options.mediaOrder ? Object.keys(mediaIndex).sort(options.mediaOrder) : Object.keys(mediaIndex);\r\n for (var _i = 0, medias_1 = medias; _i < medias_1.length; _i++) {\r\n var media = medias_1[_i];\r\n markup += \"\";\r\n }\r\n return markup;\r\n };\r\n return _this;\r\n }\r\n return GlitzServer;\r\n}(Base));\n\n// Unfortunately we need this until there's a way to have index signatures for\r\n// other types like: https://github.com/Microsoft/TypeScript/issues/7765.\r\n// This is a work around that works thanks to dynamic properties.\r\nfunction media(list, style) {\r\n var _a;\r\n return _a = {}, _a[\"@media \" + (typeof list === 'string' ? list : query(list))] = style, _a;\r\n}\r\nfunction query(list) {\r\n var result = '';\r\n var feature;\r\n for (feature in list) {\r\n if (result) {\r\n result += ' and ';\r\n }\r\n var value = list[feature];\r\n result += value === true ? \"(\" + hyphenateProperty(feature) + \")\" : \"(\" + hyphenateProperty(feature) + \": \" + value + \")\";\r\n }\r\n return result;\r\n}\n\n// Unfortunately we need this until there's a way to have index signatures for\r\n// other types like: https://github.com/Microsoft/TypeScript/issues/7765.\r\n// This is a work around that works thanks to dynamic properties.\r\nfunction pseudo(selector, style) {\r\n var _a;\r\n // TODO Pseudo validation\r\n return typeof selector === 'string'\r\n ? (_a = {}, _a[selector] = style, _a) : selector.reduce(function (acc, value) {\r\n var _a;\r\n return (__assign(__assign({}, acc), (_a = {}, _a[value] = style, _a)));\r\n }, {});\r\n}\n\nfunction compose() {\r\n var fns = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n fns[_i] = arguments[_i];\r\n }\r\n return fns.reduceRight(function (prevFn, nextFn) { return function (arg) { return nextFn(prevFn(arg)); }; });\r\n}\n\nexport { DEFAULT_HYDRATION_IDENTIFIER, GlitzClient, GlitzServer, compose, media, pseudo, query };\n","import { epiPropertyValue } from '@polarnopyret/scope-episerver';\r\nimport { URLX, currentUrl } from '@polarnopyret/scope';\r\nimport * as style from 'Shared/Style';\r\n\r\nexport type RecursivePartial = {\r\n [P in keyof T]?: T[P] extends (infer U)[]\r\n ? RecursivePartial[]\r\n : T[P] extends object\r\n ? RecursivePartial\r\n : T[P];\r\n};\r\n\r\nexport function getCurrentBaseUrl() {\r\n const url = currentUrl();\r\n return new URLX(`${url.protocol}//${url.host}${url.pathname}`);\r\n}\r\n\r\nexport function equalsBaseUrl(urlA: URLX, urlB: URLX) {\r\n if (\r\n urlA.host === urlB.host &&\r\n urlA.pathname === urlB.pathname \r\n ) {\r\n return true;\r\n }\r\n\r\n return false;\r\n}\r\n\r\nexport function FormatString(str: string, ...val: string[]) {\r\n for (let index = 0; index < val.length; index++) {\r\n str = str.replace(`{${index}}`, val[index]);\r\n }\r\n return str;\r\n}\r\n\r\nexport function formatStringByKeys(originalString: string, interpolands: { [item: string]: string }): string {\r\n return Object.entries(interpolands).reduce((alteredString: string, interpoland: [string, string]) => {\r\n const [key, value] = interpoland;\r\n return alteredString.replace(`{${key}}`, value);\r\n }, originalString);\r\n}\r\n\r\nexport const colorFromTag = (tag: string, fallbackColor?: string) => {\r\n switch (tag?.toLowerCase()) {\r\n case 'blackfriday':\r\n return style.colors.functionColors.blackfriday;\r\n case 'popplus':\r\n return style.colors.brandColors.green;\r\n case 'sale-alt':\r\n case 'sale':\r\n return style.colors.functionColors.sale;\r\n case 'online only':\r\n return style.colors.functionColors.onlineOnly;\r\n case 'discount':\r\n return style.colors.functionColors.discount;\r\n case 'new':\r\n return style.colors.functionColors.new;\r\n case 'christmas':\r\n return style.colors.functionColors.christmas;\r\n default:\r\n return fallbackColor ? fallbackColor : undefined;\r\n }\r\n};\r\n\r\nexport const colorFromStatus = (status: string) => {\r\n switch (status) {\r\n case 'GREEN':\r\n return style.colors.brandColors.green;\r\n case 'RED':\r\n return style.colors.brandColors.red;\r\n case 'YELLOW':\r\n return style.colors.brandColors.yellow;\r\n default:\r\n return undefined;\r\n }\r\n};\r\n\r\nexport const selectDeviceImageFromProperty = (image: Scope.Property, imageSmallScreen: Scope.Property, isMobile: boolean) => {\r\n const smallScreen = epiPropertyValue(imageSmallScreen);\r\n const normal = epiPropertyValue(image);\r\n\r\n return isMobile && smallScreen ? smallScreen : normal;\r\n}\r\n\r\nexport const selectDeviceImage = (image: Scope.UrlViewModel, imageSmallScreen: Scope.UrlViewModel, isMobile: boolean) => {\r\n return isMobile && imageSmallScreen ? imageSmallScreen : image;\r\n}\r\n\r\nexport const waitForElementToLoad = (selector: string) => {\r\n return new Promise(resolve => {\r\n if (document.querySelector(selector)) {\r\n return resolve(document.querySelector(selector));\r\n }\r\n\r\n const observer = new MutationObserver(mutations => {\r\n if (document.querySelector(selector)) {\r\n resolve(document.querySelector(selector));\r\n observer.disconnect();\r\n }\r\n });\r\n\r\n observer.observe(document.body, {\r\n childList: true,\r\n subtree: true\r\n });\r\n });\r\n}","import { Store } from './State';\r\n\r\nexport let globalEventName = 'scopeEvents';\r\nexport let globalStateName = 'scopeState';\r\n\r\nexport function setGlobalEventName(name: string) {\r\n (window as any)[name] = (window as any)[globalEventName];\r\n delete (window as any)[globalEventName];\r\n globalEventName = name;\r\n}\r\n\r\nexport function setGlobalStateName(name: string) {\r\n (window as any)[name] = (window as any)[globalStateName];\r\n delete (window as any)[globalStateName];\r\n globalStateName = name;\r\n}\r\n\r\nexport function exposeScopeState(store: Store) {\r\n (window as any)[globalStateName] = store.getState();\r\n store.subscribe(() => {\r\n (window as any)[globalStateName] = store.getState();\r\n });\r\n}\r\n\r\nexport type ScopeEvent = {\r\n type: string;\r\n};\r\n\r\nexport type ScopeEventHandler = (event: ScopeEvent) => any;\r\n\r\nconst eventHandlers: { [eventName: string]: ScopeEventHandler[] } = {};\r\n\r\nexport function onScopeEvent(eventName: string, handler: ScopeEventHandler) {\r\n if (!eventHandlers[eventName]) {\r\n eventHandlers[eventName] = [];\r\n }\r\n eventHandlers[eventName].push(handler);\r\n return () => {\r\n const index = eventHandlers[eventName].indexOf(handler);\r\n if (index !== -1) {\r\n eventHandlers[eventName].splice(index, 1);\r\n }\r\n };\r\n}\r\n\r\nexport function dispatchScopeEvent(event: ScopeEvent) {\r\n if (eventHandlers[event.type]) {\r\n eventHandlers[event.type].forEach(handler => {\r\n try {\r\n handler(event);\r\n } catch (e) {\r\n logError(e);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction logError(e: Error) {\r\n if (self.console && self.console.error) {\r\n self.console.error(e);\r\n }\r\n}\r\n\r\n(window as any)[globalEventName] = {\r\n on: onScopeEvent,\r\n dispatch: dispatchScopeEvent,\r\n};\r\n","import React from 'react';\r\nimport { styled, StyledProps } from '@glitz/react';\r\nimport { URLX, relativeUrl } from '@polarnopyret/scope';\r\nimport { Preset, getImagePreset } from '../image-sizes';\r\nimport NoImage from './noimage.svg';\r\nimport * as style from '../Style';\r\n\r\nconst ImageTransition = styled.img(style.transition({ property: 'opacity' }));\r\n\r\nconst ImageTransitionHidden = styled(ImageTransition, {\r\n opacity: 0,\r\n})\r\n\r\nconst BasicPicture = styled.picture({\r\n});\r\n\r\nconst BasicImage = styled.img({\r\n height: 'inherit',\r\n width: 'inherit',\r\n borderRadius: 'inherit',\r\n maxWidth: '100%',\r\n maxHeight: '100%',\r\n objectFit: 'inherit'\r\n});\r\n\r\nexport { Preset } from '../image-sizes';\r\n\r\nenum Status {\r\n Pending,\r\n Rejected,\r\n Fulfilled,\r\n}\r\ntype Merge = Pick> & S;\r\n\r\nexport type PropType = StyledProps &\r\n Merge<\r\n React.ImgHTMLAttributes,\r\n {\r\n src?: Scope.UrlViewModel;\r\n preset?: Preset;\r\n pendingPreview?: boolean;\r\n breakPoint?: number;\r\n }\r\n >;\r\n\r\nexport type PicturePropType = StyledProps &\r\n Merge<\r\n React.HTMLAttributes,\r\n {\r\n src?: string;\r\n preset?: Preset;\r\n alt?: string;\r\n imageRef?: React.Ref;\r\n }\r\n >;\r\n\r\ntype StateType = {\r\n status?: Status;\r\n};\r\n\r\nexport const PictureImage = (props: PicturePropType) => {\r\n const { src, preset, title, alt, imageRef, compose, ...restProps } = props;\r\n\r\n if (!src) {\r\n return (\r\n \r\n );\r\n }\r\n\r\n const url = new URLX(src);\r\n\r\n if (preset >= 0) {\r\n url.searchParams.set('preset', getImagePreset(preset));\r\n }\r\n const imageUrl = relativeUrl(url);\r\n\r\n return (\r\n \r\n {imageUrl.includes('preset') && }\r\n \r\n \r\n );\r\n};\r\n\r\nexport default styled(\r\n class Img extends React.Component {\r\n mounted: boolean;\r\n isCached: boolean;\r\n currentLoad: Promise;\r\n src: string | null = null;\r\n constructor(props: PropType) {\r\n super(props);\r\n this.src = this.srcUrl();\r\n this.mounted = false;\r\n this.isCached = !!props.src && !!findBrowserCachedResource(props.src.url);\r\n this.state = {\r\n status: props.src ? (this.isCached ? Status.Fulfilled : Status.Pending) : Status.Rejected,\r\n };\r\n }\r\n componentDidMount() {\r\n this.mounted = true;\r\n\r\n if (this.cachedIsNotForCurrentPreset() && this.src) {\r\n this.loadResource(this.src, this.props.src.url);\r\n }\r\n }\r\n\r\n cachedIsNotForCurrentPreset() {\r\n if (this.state.status === Status.Rejected) {\r\n return false;\r\n }\r\n const cachedResource = findBrowserCachedResource(this.props.src.url);\r\n\r\n if (cachedResource) {\r\n if (this.props.preset) {\r\n let imagePreset = getImagePreset(this.props.preset);\r\n if (imagePreset !== cachedResource.preset) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n componentWillReceiveProps(nextProps: PropType) {\r\n if (\r\n this.props.src !== nextProps.src ||\r\n this.props.preset !== nextProps.preset ||\r\n this.props.breakPoint !== nextProps.breakPoint ||\r\n this.cachedIsNotForCurrentPreset()\r\n ) {\r\n this.src = this.srcUrl(nextProps.src?.url, nextProps.preset);\r\n if (this.src) {\r\n this.loadResource(this.src, nextProps.src.url);\r\n }\r\n }\r\n }\r\n componentDidUpdate(prevProps: PropType) {\r\n if (!this.props.src) {\r\n this.status(Status.Rejected);\r\n } else if (this.props.src !== prevProps.src || this.props.preset !== prevProps.preset) {\r\n if (!this.isCached) {\r\n this.status(Status.Pending);\r\n }\r\n }\r\n }\r\n componentWillUnmount() {\r\n this.mounted = false;\r\n }\r\n async loadResource(src: string, originalSrc: string) {\r\n this.status(Status.Pending);\r\n\r\n const promise = (this.currentLoad = load(src));\r\n try {\r\n const image = await promise;\r\n rememberBrowserCachedResource(image, originalSrc);\r\n if (this.mounted && this.currentLoad === promise) {\r\n this.status(Status.Fulfilled);\r\n }\r\n } catch (e) {\r\n if (this.mounted && this.currentLoad === promise) {\r\n this.status(Status.Rejected);\r\n }\r\n }\r\n }\r\n status(status: Status) {\r\n if (this.state.status !== status) {\r\n this.setState({ status });\r\n }\r\n }\r\n srcUrl(src = this.props.src?.url, preset = this.props.preset, quality?: number): string {\r\n if (src) {\r\n const url = new URLX(src);\r\n\r\n if (typeof preset === 'number') {\r\n url.searchParams.set('preset', getImagePreset(preset));\r\n }\r\n\r\n if (quality) {\r\n url.searchParams.set('quality', String(quality));\r\n }\r\n\r\n return relativeUrl(url);\r\n }\r\n\r\n return null;\r\n }\r\n checkIfCachedByBrowser = (image: HTMLImageElement) => (this.isCached = assumeCachedByBrowser(image));\r\n render() {\r\n if (this.src) {\r\n const { status } = this.state;\r\n\r\n const { compose, pendingPreview, breakPoint, preset, ...restProps } = this.props;\r\n\r\n if (status === Status.Fulfilled) {\r\n return ;\r\n }\r\n\r\n if (this.src) {\r\n const cache = findBrowserCachedResource(this.props.src.url);\r\n\r\n if (cache) {\r\n return ;\r\n }\r\n\r\n if (status === Status.Pending) {\r\n return pendingPreview ? (\r\n \r\n ) : (\r\n \r\n );\r\n }\r\n }\r\n }\r\n\r\n return (\r\n \r\n );\r\n }\r\n },\r\n);\r\n\r\nfunction load(src: string) {\r\n return new Promise((resolve, reject) => {\r\n const image = new Image();\r\n Object.assign(image, {\r\n onload: () => resolve(image),\r\n onerror: () => reject(),\r\n src,\r\n });\r\n\r\n if (image.complete) {\r\n if (image.naturalWidth > 0) {\r\n resolve(image);\r\n } else {\r\n requestAnimationFrame(() => {\r\n // Some browsers is slow to report width so give it one more try before we reject it\r\n if (image.naturalWidth > 0) {\r\n resolve(image);\r\n } else {\r\n reject();\r\n }\r\n });\r\n }\r\n }\r\n });\r\n}\r\n\r\ntype ResourceType = {\r\n width: number;\r\n height: number;\r\n src: string;\r\n preset?: string;\r\n};\r\n\r\nconst browserCachedResources: { [src: string]: ResourceType } = {};\r\n\r\nfunction findBrowserCachedResource(originalSrc: string) {\r\n return browserCachedResources[originalSrc];\r\n}\r\n\r\nfunction rememberBrowserCachedResource(image: HTMLImageElement, originalSrc: string) {\r\n // Firefox has an ugly tendency to report naturalWidth as 0 when a SW is active.\r\n // But if we wait just a little bit, the sizes have been calculated. Broken\r\n // images should be uncommon, so we can afford the setTimeout here\r\n requestAnimationFrame(() => {\r\n if (image && assumeCachedByBrowser(image)) {\r\n const cached = findBrowserCachedResource(originalSrc);\r\n if (!cached || image.naturalWidth > cached.width) {\r\n const url = new URLX(image.currentSrc);\r\n const preset = url.searchParams.get('preset');\r\n browserCachedResources[originalSrc] = {\r\n width: image.naturalWidth,\r\n height: image.naturalHeight,\r\n src: image.currentSrc,\r\n preset: preset,\r\n };\r\n }\r\n }\r\n });\r\n}\r\n\r\nfunction assumeCachedByBrowser(image: HTMLImageElement) {\r\n if (!image) {\r\n return false;\r\n }\r\n const url = new URLX(image.src);\r\n\r\n // Firefox and IE has a bug where svg reports 0 for natural size in some cases\r\n if (/\\.svg/.test(url.pathname)) {\r\n return false;\r\n }\r\n return image.complete && image.naturalWidth > 0;\r\n}\r\n","const currencyIntagerFormatters: { [key: string]: Intl.NumberFormat } = {};\r\nconst currencyMixedFormatters: { [key: string]: Intl.NumberFormat } = {};\r\n\r\nexport function formatPrice(price: number, currency: string, locale: string, removeLiteralsAndCurrency?: boolean) {\r\n // Guard clause - if removeLiteralsAndCurrency is specified, we assume you know what this means.\r\n // It was created to remove the literals and currency from the price - required for finnish prices to have proper padding and delimiters (eg formatting 19.9 to 19,90 - always with 2 decimal places and comma as decimal separator)\r\n if (removeLiteralsAndCurrency) {\r\n return new Intl.NumberFormat('fi-FI', { style: 'currency', currency: 'EUR' }).formatToParts(price)\r\n .filter(part => part.type !== 'currency' && part.type !== 'literal')\r\n .map(part => part.value)\r\n .join('');\r\n }\r\n // Hijacking the Norwegian currency from incorrectly formatting to `kr 100` and\r\n // format to Swedish-like format `100 kr`\r\n if (/NO$/.test(locale) && currency === 'NOK') {\r\n currency = 'SEK';\r\n locale = 'sv-NO';\r\n }\r\n\r\n // This implementation uses `Intl.NumberFormat` which isn't supported for\r\n // browsers like IE10. If this is a problem, either do your own\r\n // implementation or polyfill it with the `intl` package.\r\n const isMixed = Math.floor(price) < price;\r\n const formatters = isMixed ? currencyMixedFormatters : currencyIntagerFormatters;\r\n const key = `${currency}.${locale}`;\r\n const fractionDigits = currency === 'GBP' || currency === 'EUR' ? 2 : 0;\r\n const formatter = (formatters[key] =\r\n formatters[key] ||\r\n new Intl.NumberFormat(locale, {\r\n style: 'currency',\r\n currency,\r\n //currencyDisplay: 'code',\r\n ...(!isMixed && {\r\n minimumFractionDigits: fractionDigits,\r\n maximumFractionDigits: fractionDigits,\r\n }),\r\n }));\r\n\r\n return formatter.format(price);\r\n}\r\n\r\nexport function formatNumber(number: number, locale: string) {\r\n return new Intl.NumberFormat(locale).format(number);\r\n\r\n}\r\n","import React from 'react';\r\nimport { styled } from '@glitz/react';\r\nimport { isIE } from '@polarnopyret/scope';\r\nimport factory from './icon';\r\nimport * as style from '../Style';\r\n\r\nclass Glyph extends React.Component> {\r\n render() {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport const Spinner8x8 = factory(Glyph, 8, 8);\r\nexport const Spinner12x12 = factory(Glyph, 12, 12);\r\nexport const Spinner16x16 = factory(Glyph, 16, 16);\r\nexport const Spinner24x24 = factory(Glyph, 24, 24);\r\n","import factory from './icon';\r\nimport Svg12x12 from './Glyphs/Close_12x12.svg';\r\nimport Svg16x16 from './Glyphs/Close_16x16.svg';\r\nimport Svg24x24 from './Glyphs/Close_24x24.svg';\r\n\r\nexport const Close12x12 = factory(Svg12x12, 12, 12);\r\nexport const Close16x16 = factory(Svg16x16, 16, 16);\r\nexport const Close24x24 = factory(Svg24x24, 24, 24);\r\n","import { useState, useEffect } from 'react';\r\nimport { State, Store } from './State';\r\n\r\nlet store: Store;\r\n\r\n/**\r\n * This is exported mainly for test environment setups etc. Prefer\r\n * using `browserRender` or `serverRender` whenever possible.\r\n */\r\nexport function setupScopeStateHooks(s: Store) {\r\n store = s;\r\n}\r\n\r\nfunction createScopeStateHook(selector: (state: State) => TState) {\r\n return (() => {\r\n const [currentValue, setCurrentValue] = useState(selector(store.getState()));\r\n\r\n useEffect(() => {\r\n let previousValue = selector(store.getState());\r\n const unsubscribe = store.subscribe(() => {\r\n const value = selector(store.getState());\r\n if (value !== previousValue) {\r\n previousValue = value;\r\n setCurrentValue(value);\r\n }\r\n });\r\n return () => unsubscribe();\r\n }, []);\r\n\r\n return currentValue;\r\n }) as TState extends object ? () => TValue : () => TState;\r\n}\r\n\r\nexport const useCurrentBreakpoint = createScopeStateHook(state => state.currentBreakpoint);\r\nexport const useAppShellData = createScopeStateHook(state => state.appShellData);\r\nexport const useCurrentPage = createScopeStateHook(state => state.currentPage);\r\nexport const useCurrentTheme = createScopeStateHook(state => state.currentTheme);\r\nexport const useSpinner = createScopeStateHook(state => state.spinner);\r\n","import React from 'react';\r\nimport { styled, StyledProps, applyClassName, StyledElementProps } from '@glitz/react';\r\nimport appearance, { AppearanceType } from 'Shared/appearance';\r\nimport * as style from 'Shared/Style';\r\n\r\nexport enum Appearance {\r\n Gap\r\n}\r\n\r\n// export enum Layout {\r\n// OneToOne,\r\n// TwoToThree,\r\n// ThreeToTwo,\r\n// OneToThree,\r\n// OneToFive,\r\n// ThreeToOne,\r\n// }\r\n\r\n// type LayoutPropType = {\r\n// fraction: number;\r\n// order: number;\r\n// };\r\n\r\n// Gives a layout based on visual order for wider windows like desktop,\r\n// but sorts columns by ratio descendingly so the greatest ratio will be\r\n// the first child and the less ratio will be the last\r\n//\r\n// E.g. `[3, 5, 2]` will display a layout like:\r\n// ________________________\r\n// |30%___|50%_______|20%_|\r\n//\r\n// But DOM order and visual order för narrower windows will be:\r\n// ________________________\r\n// |50%_______|30%___|20%_|\r\n// function entity(layout: number[]): LayoutPropType[] {\r\n// const total = layout.reduce((a, b) => a + b, 0);\r\n// return layout\r\n// .map((ratio, order) => ({\r\n// order,\r\n// fraction: ratio / total,\r\n// }))\r\n// .sort((a, b) => b.fraction - a.fraction);\r\n// }\r\n\r\n// const entities = {\r\n// [Layout.OneToOne]: entity([1, 1]),\r\n// [Layout.TwoToThree]: entity([2, 3]),\r\n// [Layout.ThreeToTwo]: entity([3, 2]),\r\n// [Layout.OneToThree]: entity([1, 3]),\r\n// [Layout.OneToFive]: entity([1, 5]),\r\n// [Layout.ThreeToOne]: entity([3, 1]),\r\n// };\r\n\r\nconst SPACING = '12px';\r\nconst LARGE_SPACING = '16px';\r\nconst LAYOUT_BREAKPOINT = '@media ' + style.mediaMinLarge;\r\n\r\n// const Child: React.StatelessComponent = ({ fraction, order, children }) => (\r\n// \r\n// {children}\r\n// \r\n// );\r\n\r\ntype PropType = {\r\n appearance?: AppearanceType;\r\n //layout?: Layout;\r\n elementRef?: React.Ref;\r\n};\r\n\r\nexport function factory(tagName: string, defaults: AppearanceType = []) {\r\n type FactoryPropType = PropType & React.HTMLAttributes;\r\n\r\n const Base = styled(\r\n applyClassName(\r\n class Layout extends React.Component {\r\n render() {\r\n const {\r\n // tslint:disable-next-line:no-unused-variable\r\n appearance,\r\n //layout,\r\n elementRef,\r\n children,\r\n ...restProps\r\n } = this.props;\r\n\r\n //let passChildren = children;\r\n // if (typeof this.props.layout === 'number') {\r\n // const entity = entities[layout];\r\n // passChildren = React.Children.map(this.props.children, (child, i) => {\r\n // if (entity[i]) {\r\n // return {child};\r\n // }\r\n // if (__DEV__) {\r\n // console.warn(\r\n // `Child index ${i} was not rendered because it exceeded the number of allowed children of ${entity.length}`,\r\n // );\r\n // }\r\n // });\r\n // }\r\n return React.createElement(tagName, { ...restProps, ref: elementRef }, children);\r\n }\r\n },\r\n ),\r\n );\r\n\r\n return styled(({ compose, ...restProps }: FactoryPropType & StyledProps) => {\r\n const appear = appearance(([] as Appearance[]).concat(defaults, restProps.appearance));\r\n\r\n return (\r\n \r\n );\r\n });\r\n}\r\n\r\nexport const Basic = factory('div');\r\nexport const GridWrap = factory('div', Appearance.Gap);\r\nexport const Footer = factory('footer');\r\nexport const Section = factory('section');\r\nexport const Article = factory('article');\r\nexport const Form = factory('form');\r\nexport const Main = factory('main');\r\n","import factory from './icon';\r\nimport Svg16x16 from './Glyphs/Heart_16x16.svg';\r\nimport Svg20x20 from './Glyphs/Heart_20x20.svg';\r\nimport Svg24x24 from './Glyphs/Heart_24x24.svg';\r\n\r\nexport const Favourite16x16 = factory(Svg16x16, 16, 16);\r\nexport const Favourite20x20 = factory(Svg20x20, 20, 20);\r\nexport const Favourite24x24 = factory(Svg24x24, 24, 24);\r\n\r\nexport const FavouriteFull16x16 = factory(Svg16x16, 16, 16, true);\r\nexport const FavouriteFull20x20 = factory(Svg20x20, 20, 20, true);\r\nexport const FavouriteFull24x24 = factory(Svg24x24, 24, 24, true);\r\n\r\n","import factory from './icon';\r\nimport Svg8x8 from './Glyphs/Check_8x8.svg';\r\nimport Svg12x12 from './Glyphs/Check_12x12.svg';\r\nimport Svg16x16 from './Glyphs/Check_16x16.svg';\r\n\r\nexport const Check8x8 = factory(Svg8x8, 8, 8);\r\nexport const Check12x12 = factory(Svg12x12, 12, 12);\r\nexport const Check16x16 = factory(Svg16x16, 16, 16);\r\n","import {\r\n get,\r\n post,\r\n pushState,\r\n URLX,\r\n pathCombine,\r\n addUserLog,\r\n onCrossWindow,\r\n emitCrossWindow,\r\n pageUpdateSuccess,\r\n pageUpdateFailure,\r\n pageUpdate,\r\n LINK_IDENTIFIER_HEADER,\r\n REQUEST_ACTION_HEADER,\r\n ADD_TO_CART_ACTION,\r\n LoadFailureAction,\r\n} from '@polarnopyret/scope';\r\nimport deepmerge from 'deepmerge';\r\nimport { checkoutPageUrl } from 'Shared/known-urls';\r\nimport {\r\n CART_LOAD,\r\n CART_LOAD_SUCCESS,\r\n CART_LOAD_FAILURE,\r\n CART_OPTIMISTIC_UPDATE,\r\n CART_CHANGES_ACCEPTED,\r\n isValidQuantity,\r\n rejectInvalidQuantity,\r\n CartAction,\r\n CartOptimisticUpdateAction,\r\n CartChangesAcceptedAction,\r\n formatLineItemId,\r\n} from '../Cart/action-creators';\r\nimport currentPageIsCheckout from './Pages/Checkout/current-page-is-checkout';\r\nimport CheckoutPageViewModelType from './Pages/Checkout/CheckoutPageViewModel.type';\r\nimport ShippingMethodViewModelType from 'Checkout/Shipping/ShippingMethodViewModel.type';\r\nimport AddressType from 'Checkout/Pages/Checkout/Address.type';\r\nimport State, { Store, Dispatch, Action, CartDiffType } from 'Shared/State';\r\nimport { CheckoutPageStateType, CheckoutPageDiffType } from './Pages/Checkout/reducer';\r\nimport { batchActions } from 'redux-batched-actions';\r\nimport { CartEventLocation } from '../TrackingInformation/data-layer-actions';\r\nimport {\r\n addToCart as gtmAddToCart,\r\n removeFromCart as gtmRemoveFromCart,\r\n saveEmailToLocalStorage,\r\n} from '../TrackingInformation';\r\nimport { KlarnaCheckoutShippingOptionChangeEventArgs } from './Pages/Checkout/CheckoutPage';\r\nimport CheckoutUpdateResult from './Pages/Checkout/CheckoutUpdateResult.type';\r\n\r\nexport const COMPLETE_PURCHASE = 'COMPLETE_PURCHASE';\r\nexport const COMPLETE_PURCHASE_WITHOUT_PAYMENT_GATEWAY_SUCCESS = 'COMPLETE_PURCHASE_WITHOUT_PAYMENT_GATEWAY_SUCCESS';\r\nexport const COMPLETE_PURCHASE_FAILURE = 'COMPLETE_PURCHASE_FAILURE';\r\n\r\nexport const CHECKOUT_OPTIMISTIC_UPDATE = 'CHECKOUT_OPTIMISTIC_UPDATE';\r\nexport const CHECKOUT_CHANGES_ACCEPTED = 'CHECKOUT_CHANGES_ACCEPTED';\r\n\r\nlet completePurchaseInProgress = false;\r\n\r\nexport type CheckoutOptimisticUpdateAction = Action & {\r\n diff: CheckoutPageDiffType;\r\n};\r\n\r\nexport type CheckoutChangesAcceptedAction = Action & {\r\n changes: CheckoutPageDiffType[];\r\n};\r\n\r\nexport function setAddresses(shippingAddress: AddressType, billingAddress: AddressType, useSeparateShippingAddress: boolean) {\r\n return updateAddressesAndSetCheckoutState({\r\n shippingAddress: shippingAddress,\r\n billingAddress: billingAddress,\r\n separateShippingAddress: useSeparateShippingAddress\r\n } as CheckoutPageDiffType);\r\n}\r\n\r\nexport function onKlarnaShippingOptionChange(args: KlarnaCheckoutShippingOptionChangeEventArgs) {\r\n addUserLog('Setting shipping method to ' + args.id);\r\n return updateShippingOptionAndSetCheckoutState({\r\n shippingMethod: {\r\n selectedOptionId: args.id,\r\n name: args.name,\r\n taxAmount: args.tax_amount,\r\n taxRate: args.tax_rate,\r\n price: args.price\r\n }\r\n } as CheckoutPageDiffType);\r\n}\r\n\r\nexport function setShippingMethod(method: ShippingMethodViewModelType) {\r\n addUserLog('Setting shipping method to ' + method.selectedOptionId);\r\n return updateShippingOptionAndSetCheckoutState({\r\n shippingMethod: method\r\n } as CheckoutPageDiffType);\r\n //return updateCheckoutStateAndSend({ shippingMethod: method } as CheckoutPageDiffType);\r\n}\r\n\r\n// export function setOrderer(orderer: OrdererType) {\r\n// addUserLog('Updating orderer form');\r\n// return updateCheckoutState({ orderer } as CheckoutPageDiffType);\r\n// }\r\n\r\nexport function updateCartItemQuantity(\r\n lineId: number,\r\n code: string,\r\n quantity: number,\r\n location: CartEventLocation,\r\n ticket: string = null,\r\n): any {\r\n if (!isValidQuantity(quantity)) {\r\n return rejectInvalidQuantity(code);\r\n }\r\n let id = 'line' + lineId;\r\n return updateCheckoutStateAndSend(\r\n {\r\n cart: {\r\n items: { [id]: { lineItemId: lineId, newQuantity: quantity, code } },\r\n },\r\n } as CheckoutPageDiffType,\r\n location,\r\n ticket,\r\n );\r\n}\r\n\r\nexport function addCartItem(\r\n code: string,\r\n quantity: number,\r\n ticket: string,\r\n location: CartEventLocation,\r\n currentCategory: string,\r\n colorProductCode: string\r\n) {\r\n if (!isValidQuantity(quantity)) {\r\n return rejectInvalidQuantity(code);\r\n }\r\n let id = 'line-0';\r\n return updateCheckoutStateAndSend(\r\n {\r\n cart: {\r\n items: { [id]: { lineItemId: 0, newQuantity: quantity, code, currentCategory, colorProductCode } },\r\n },\r\n } as CheckoutPageDiffType,\r\n location,\r\n ticket,\r\n );\r\n}\r\n\r\nexport function removeCartItem(lineId: number, code: string, previousQuantity: number, location: CartEventLocation) {\r\n let id = 'line' + lineId;\r\n return updateCheckoutStateAndSend(\r\n { cart: { items: { [id]: { lineItemId: lineId, previousQuantity: previousQuantity, newQuantity: 0, code } } } } as CheckoutPageDiffType,\r\n location,\r\n );\r\n}\r\n\r\nexport enum VoucherType {\r\n BonusCheck,\r\n SecondHandCheck\r\n}\r\n\r\nexport function addVoucher(id: string, type: VoucherType) {\r\n const payload = type == VoucherType.BonusCheck ? { addedBonusChecks: [{ id }] } : { addedSecondHandChecks: [{ id }] }\r\n return updateCheckoutStateAndSend(payload as CheckoutPageDiffType);\r\n}\r\n\r\nexport function removeVoucher(id: string, type: VoucherType) {\r\n const payload = type == VoucherType.BonusCheck ? { removedBonusChecks: [id] } : { removedSecondHandChecks: [id] }\r\n return updateCheckoutStateAndSend(payload as CheckoutPageDiffType);\r\n}\r\n\r\n// export function addBonusCheckCode(id: string) {\r\n// return updateCheckoutStateAndSend({ addedBonusChecks: [{ id }] } as CheckoutPageDiffType);\r\n// }\r\n\r\n// export function removeBonusCheckCode(id: string) {\r\n// return updateCheckoutStateAndSend({ removedBonusChecks: [id] } as CheckoutPageDiffType);\r\n// }\r\n\r\n// export function addSecondHandCheckCode(id: string) {\r\n// return updateCheckoutStateAndSend({ addedSecondHandChecks: [{ id }] } as CheckoutPageDiffType);\r\n// }\r\n\r\n// export function removeSecondHandCheckCode(id: string) {\r\n// return updateCheckoutStateAndSend({ removedSecondHandChecks: [id] } as CheckoutPageDiffType);\r\n// }\r\n\r\nexport function addGiftCardCode(cardNumber: string) {\r\n return updateCheckoutStateAndSend({\r\n giftCards: [{ cardNumber }],\r\n } as CheckoutPageDiffType);\r\n}\r\n\r\nexport function removeGiftCardCode(cardNumber: string) {\r\n return updateCheckoutStateAndSend({ removedGiftCards: [cardNumber] } as CheckoutPageDiffType);\r\n}\r\n\r\nexport function addDiscountCode(code: string) {\r\n return updateCheckoutStateAndSend({ addedDiscountCodes: [code] } as CheckoutPageDiffType);\r\n}\r\n\r\nexport function removeDiscountCode(code: string) {\r\n return updateCheckoutStateAndSend({ removedDiscountCodes: [code] } as CheckoutPageDiffType);\r\n}\r\n\r\nexport function setApplyMembership(value: boolean) {\r\n return updateCheckoutStateAndSend({ applyMembership: value } as CheckoutPageDiffType);\r\n}\r\n\r\nfunction dispatchCartAndCheckoutUpdate(\r\n requestIds: string[],\r\n data: CheckoutPageViewModelType,\r\n getState: () => State,\r\n emitModified = true,\r\n) {\r\n if (emitModified) {\r\n emitCrossWindow('cart-modified');\r\n }\r\n\r\n const cartLoadSuccess = () =>\r\n ({\r\n type: CART_LOAD_SUCCESS,\r\n cart: data.cart,\r\n } as CartAction);\r\n\r\n const checkoutUpdate = () => dispatchCheckoutUpdate(requestIds, data, getState, emitModified);\r\n\r\n return [cartLoadSuccess(), checkoutUpdate()];\r\n}\r\n\r\nexport function sendPendingCheckoutRequests() {\r\n return (dispatch: Dispatch, getState: () => State) => {\r\n return flushCheckoutRequests(dispatch, getState, null);\r\n };\r\n}\r\n\r\nfunction dispatchCheckoutUpdate(\r\n requestIds: string[],\r\n data: CheckoutPageViewModelType,\r\n getState: () => State,\r\n emitModified = true,\r\n) {\r\n if (emitModified) {\r\n emitCrossWindow('checkout-modified');\r\n }\r\n\r\n // We only update the page if the user didn't navigate away from the page\r\n // during the request\r\n if (currentPageIsCheckout(getState().currentPage)) {\r\n return pageUpdateSuccess(requestIds, data);\r\n }\r\n}\r\n\r\nlet currentCheckoutUpdate = Promise.resolve(null);\r\n\r\nonCrossWindow(['checkout-modified', 'cart-modified'], store => {\r\n if (!currentPageIsCheckout(store.getState().currentPage)) {\r\n return;\r\n }\r\n\r\n const requestId = Math.random().toString();\r\n store.dispatch(batchActions([{ type: CART_LOAD } as Action, pageUpdate(requestId)]));\r\n\r\n console.debug('Reloading checkout since it was modified in another window/tab');\r\n // Note that we don't update the cart here. That is handled in the action creators for the cart.\r\n const url = new URLX(checkoutPageUrl());\r\n currentCheckoutUpdate = currentCheckoutUpdate.then(() => {\r\n get(url)\r\n .then(r => r.json())\r\n .then((json: CheckoutPageViewModelType) => {\r\n store.dispatch(dispatchCheckoutUpdate([requestId], json, store.getState, false));\r\n })\r\n .catch(e => {\r\n console.error(e);\r\n store.dispatch({ type: CART_LOAD_FAILURE, error: e, url } as LoadFailureAction);\r\n store.dispatch(pageUpdateFailure(requestId));\r\n });\r\n });\r\n});\r\n\r\nlet pendingTickets: string[] = [];\r\n\r\nfunction handleCheckoutDiff(\r\n dispatch: Dispatch,\r\n getState: () => State,\r\n diff: CheckoutPageDiffType,\r\n location: CartEventLocation = null,\r\n ticket: string = null,\r\n) {\r\n if (ticket) {\r\n pendingTickets.push(ticket);\r\n }\r\n diff.id = Math.random().toString();\r\n\r\n if (diff.cart && diff.cart.items) {\r\n Object.keys(diff.cart.items).forEach(id => {\r\n const state = getState();\r\n const existingItem = state.cart.items.find(i => formatLineItemId(i) === id);\r\n if (existingItem) {\r\n diff.cart.items[id].previousQuantity = existingItem.quantity;\r\n }\r\n });\r\n }\r\n\r\n if (completePurchaseInProgress) {\r\n return Promise.reject(null);\r\n }\r\n\r\n const actions: Action[] = [pageUpdate(diff.id)];\r\n\r\n if (diff.cart) {\r\n const cartDiff: CartDiffType = Object.assign(diff.cart, { id: Math.random().toString() });\r\n diff.cart = cartDiff;\r\n actions.push({ type: CART_LOAD } as Action);\r\n actions.push({\r\n type: CART_OPTIMISTIC_UPDATE,\r\n diff: cartDiff,\r\n } as CartOptimisticUpdateAction);\r\n }\r\n\r\n actions.push({\r\n type: CHECKOUT_OPTIMISTIC_UPDATE,\r\n diff,\r\n } as CheckoutOptimisticUpdateAction);\r\n\r\n dispatch(batchActions(actions));\r\n}\r\n\r\nfunction updateCheckoutStateAndSend(\r\n diff: CheckoutPageDiffType,\r\n location: CartEventLocation = null,\r\n ticket: string = null,\r\n) {\r\n return (dispatch: Dispatch, getState: () => State) => {\r\n handleCheckoutDiff(dispatch, getState, diff, location, ticket);\r\n return flushCheckoutRequests(dispatch, getState, location);\r\n };\r\n}\r\n\r\nfunction updateAddressesAndSetCheckoutState(\r\n diff: CheckoutPageDiffType,\r\n location: CartEventLocation = null,\r\n ticket: string = null,\r\n) {\r\n return (dispatch: Dispatch, getState: () => State) => {\r\n handleCheckoutDiff(dispatch, getState, diff, location, ticket);\r\n return updateCartData(dispatch, getState, 'updateaddresses');\r\n };\r\n}\r\n\r\nfunction updateShippingOptionAndSetCheckoutState(\r\n diff: CheckoutPageDiffType,\r\n location: CartEventLocation = null,\r\n ticket: string = null,\r\n) {\r\n return (dispatch: Dispatch, getState: () => State) => {\r\n handleCheckoutDiff(dispatch, getState, diff, location, ticket);\r\n return updateCartData(dispatch, getState, 'updateshipping');\r\n };\r\n}\r\n\r\nfunction updateCheckoutState(diff: CheckoutPageDiffType, location: CartEventLocation = null, ticket: string = null) {\r\n return (dispatch: Dispatch, getState: () => State) => {\r\n return handleCheckoutDiff(dispatch, getState, diff, location, ticket);\r\n };\r\n}\r\n\r\nfunction updateCartData(dispatch: Dispatch, getState: () => State, endpoint: string) {\r\n const url = new URLX(pathCombine(checkoutPageUrl(), endpoint));\r\n const sendNextRequest = (failedAttempts = 0): Promise => {\r\n if (failedAttempts === null || isNaN(failedAttempts)) {\r\n failedAttempts = 0;\r\n }\r\n\r\n const state = getState().currentPage as CheckoutPageStateType;\r\n const currentPendingChanges = state.pendingChanges || [];\r\n if (!currentPendingChanges.length) {\r\n return Promise.resolve(state.updateResult);\r\n }\r\n\r\n let totalDiff = {};\r\n const diffIds: string[] = [];\r\n currentPendingChanges.forEach(r => {\r\n totalDiff = deepmerge(totalDiff, r);\r\n diffIds.push(r.id);\r\n });\r\n\r\n let headers: { [name: string]: string };\r\n\r\n return post(url, totalDiff, headers)\r\n .then(r => r.json())\r\n .then((json: CheckoutPageViewModelType) => {\r\n if (json) {\r\n dispatch(\r\n batchActions([\r\n {\r\n type: CHECKOUT_CHANGES_ACCEPTED,\r\n changes: currentPendingChanges,\r\n } as CheckoutChangesAcceptedAction,\r\n ...dispatchCartAndCheckoutUpdate(diffIds, json, getState),\r\n ]),\r\n );\r\n\r\n return json.updateResult;\r\n }\r\n\r\n return { success: false, message: '' } as CheckoutUpdateResult;\r\n })\r\n .catch(e => {\r\n console.error(e);\r\n\r\n if (failedAttempts === 3) {\r\n return Promise.reject(e);\r\n }\r\n\r\n return sendNextRequest(failedAttempts + 1);\r\n });\r\n };\r\n\r\n currentCheckoutUpdate = currentCheckoutUpdate.then(sendNextRequest, sendNextRequest);\r\n return currentCheckoutUpdate;\r\n}\r\n\r\nfunction flushCheckoutRequests(dispatch: Dispatch, getState: () => State, location: CartEventLocation = null) {\r\n const url = new URLX(checkoutPageUrl());\r\n\r\n const sendNextRequest = (failedAttempts = 0): Promise => {\r\n if (failedAttempts === null || isNaN(failedAttempts)) {\r\n failedAttempts = 0;\r\n }\r\n\r\n const state = getState().currentPage as CheckoutPageStateType;\r\n const currentPendingChanges = state.pendingChanges || [];\r\n if (!currentPendingChanges.length) {\r\n return Promise.resolve(state.updateResult);\r\n }\r\n\r\n let totalDiff = {};\r\n const diffIds: string[] = [];\r\n currentPendingChanges.forEach(r => {\r\n totalDiff = deepmerge(totalDiff, r);\r\n diffIds.push(r.id);\r\n });\r\n\r\n let headers: { [name: string]: string };\r\n if (pendingTickets.length) {\r\n const tickets = pendingTickets.join(',');\r\n pendingTickets = [];\r\n\r\n headers = {\r\n [LINK_IDENTIFIER_HEADER]: tickets,\r\n [REQUEST_ACTION_HEADER]: ADD_TO_CART_ACTION,\r\n };\r\n }\r\n\r\n return post(url, totalDiff, headers)\r\n .then(r => r.json())\r\n .then((json: CheckoutPageViewModelType) => {\r\n if (json) {\r\n if (json.cart?.trackingResult) {\r\n if (json.cart?.trackingResult.added.length > 0) {\r\n gtmAddToCart(json.cart?.trackingResult.added, location);\r\n }\r\n if (json.cart?.trackingResult.removed.length > 0) {\r\n gtmRemoveFromCart(json.cart?.trackingResult.removed, location);\r\n }\r\n }\r\n\r\n if (json.customer.emailHashed) {\r\n saveEmailToLocalStorage(json.customer.email, json.customer.emailHashed);\r\n }\r\n\r\n dispatch(\r\n batchActions([\r\n {\r\n type: CART_CHANGES_ACCEPTED,\r\n changes: currentPendingChanges.filter(c => c.cart != null).map(c => c.cart),\r\n } as CartChangesAcceptedAction,\r\n {\r\n type: CHECKOUT_CHANGES_ACCEPTED,\r\n changes: currentPendingChanges,\r\n } as CheckoutChangesAcceptedAction,\r\n ...dispatchCartAndCheckoutUpdate(diffIds, json, getState),\r\n ]),\r\n );\r\n\r\n return json.updateResult;\r\n }\r\n\r\n return {\r\n message: '',\r\n success: true\r\n };\r\n\r\n })\r\n .catch(e => {\r\n console.error(e);\r\n\r\n dispatch(\r\n batchActions([{ type: CART_LOAD_FAILURE, error: e, url } as LoadFailureAction, pageUpdateFailure(diffIds)]),\r\n );\r\n\r\n if (failedAttempts === 3) {\r\n return Promise.reject(e);\r\n }\r\n\r\n return sendNextRequest(failedAttempts + 1);\r\n });\r\n };\r\n\r\n currentCheckoutUpdate = currentCheckoutUpdate.then(sendNextRequest, sendNextRequest);\r\n return currentCheckoutUpdate;\r\n}\r\n\r\n// export function completePurchase(modelCreator: () => CompletePurchaseModelType) {\r\n// return (dispatch: Dispatch, getState: () => State) => {\r\n// if (completePurchaseInProgress) {\r\n// addUserLog('Clicked complete purchase while purchase completion was in progress');\r\n// return Promise.reject({ errorMessage: 'Complete purchase already in progress' });\r\n// }\r\n\r\n// addUserLog('Clicked complete purchase');\r\n\r\n// dispatch({\r\n// type: COMPLETE_PURCHASE,\r\n// });\r\n\r\n// completePurchaseInProgress = true;\r\n// const saveCustomer = (model: CompletePurchaseModelType) => {\r\n// savedCustomerInfo.save(model.form.orderer);\r\n// savedCustomerInfo.savePaymentMethodId(model.form.selectedPaymentMethodId);\r\n// };\r\n\r\n// return currentCheckoutUpdate.then(() => {\r\n// const model = modelCreator();\r\n// return post(pathCombine(checkoutPageUrl(), 'completePurchase'), model)\r\n// .then(r => r.json())\r\n// .then((json: CompletePurchaseResponseType) => {\r\n// if (json.newPageData) {\r\n// if (json.newPageData.paymentErrorMessage) {\r\n// addUserLog('Got payment error message: ' + json.newPageData.paymentErrorMessage);\r\n// }\r\n// const completeCheckoutFailure = () =>\r\n// ({\r\n// type: COMPLETE_PURCHASE_FAILURE,\r\n// } as Action);\r\n\r\n// const cartAndCheckout = dispatchCartAndCheckoutUpdate([], json.newPageData, getState);\r\n// const batchedArray = [completeCheckoutFailure, ...cartAndCheckout];\r\n\r\n// dispatch(batchActions(batchedArray as any));\r\n\r\n// completePurchaseInProgress = false;\r\n// return Promise.reject(null);\r\n// } else if (json.paymentRedirectUrl) {\r\n// // We don't set `completePurchaseInProgress` to false here because\r\n// // we don't know how long time it takes for the payment gateway\r\n// // to load and we don't want to allow you to complete the purchase\r\n// // again during that time.\r\n// saveCustomer(model);\r\n// if (json.paymentPostData) {\r\n// postForm(json.paymentRedirectUrl, json.paymentPostData, json.paymentFormEncoding);\r\n// } else {\r\n// window.location.href = json.paymentRedirectUrl;\r\n// return new Promise(() => null) as Promise;\r\n// }\r\n// } else if (json.orderConfirmationRedirectUrl) {\r\n// saveCustomer(model);\r\n// return pushState(json.orderConfirmationRedirectUrl).then(() => {\r\n// dispatch({\r\n// type: COMPLETE_PURCHASE_WITHOUT_PAYMENT_GATEWAY_SUCCESS,\r\n// } as Action);\r\n// completePurchaseInProgress = false;\r\n// });\r\n// } else {\r\n// console.error('completePurchase returned unknown result', json);\r\n// dispatch({\r\n// type: COMPLETE_PURCHASE_FAILURE,\r\n// } as Action);\r\n// completePurchaseInProgress = false;\r\n// return Promise.reject(null);\r\n// }\r\n// })\r\n// .catch(e => {\r\n// dispatch({\r\n// type: COMPLETE_PURCHASE_FAILURE,\r\n// } as Action);\r\n\r\n// completePurchaseInProgress = false;\r\n\r\n// return Promise.reject({ errorMessage: e.message });\r\n// });\r\n// });\r\n// };\r\n// }\r\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = isPrefixedValue;\nvar regex = /-webkit-|-moz-|-ms-/;\n\nfunction isPrefixedValue(value) {\n return typeof value === 'string' && regex.test(value);\n}\nmodule.exports = exports['default'];","import React from 'react';\r\nimport { styled, StyledProps } from '@glitz/react';\r\nimport connect from 'Shared/connect';\r\nimport { formatPrice } from 'Shared/number-format';\r\nimport { LanguageCodes, translate } from '@polarnopyret/scope';\r\nimport * as style from 'Shared/Style';\r\n\r\ntype RequiredPropType = {\r\n sellingPrice: number;\r\n listPrice?: number;\r\n comparePrice?: number;\r\n currentPriceHigh?: number;\r\n currentPriceLow?: number;\r\n originalPriceHigh?: number;\r\n originalPriceLow?: number;\r\n comparePriceHigh?: number;\r\n comparePriceLow?: number;\r\n fontSize: number;\r\n fontSizePrevPrice?: number;\r\n fontWeight?: number;\r\n vertical?: boolean;\r\n spaceBetween?: boolean;\r\n className?: string;\r\n microData?: boolean;\r\n explicitCulture?: string;\r\n explicitCurrency?: string;\r\n noStyle?: boolean;\r\n subtraction?: boolean;\r\n displayPriceLabels?: boolean;\r\n rowBreakMainPrice?: boolean;\r\n};\r\n\r\ntype PropType = RequiredPropType &\r\n StyledProps & {\r\n culture: string;\r\n currency: string;\r\n countryCode: string;\r\n };\r\n\r\nconst PrevPrice = styled.span({\r\n color: style.colors.monochrome.mediumGrey\r\n});\r\n\r\nexport default styled(\r\n connect(state => ({\r\n culture: state.appShellData.culture,\r\n currency: state.appShellData.market.currency,\r\n countryCode: state.appShellData.context.countryCode,\r\n }))(\r\n class extends React.PureComponent {\r\n render() {\r\n const {\r\n compose,\r\n sellingPrice,\r\n listPrice,\r\n comparePrice = 0,\r\n currentPriceLow,\r\n currentPriceHigh,\r\n originalPriceLow,\r\n originalPriceHigh,\r\n comparePriceLow = 0,\r\n comparePriceHigh = 0,\r\n microData,\r\n vertical,\r\n spaceBetween,\r\n noStyle,\r\n subtraction,\r\n fontSize,\r\n fontSizePrevPrice = fontSize,\r\n fontWeight = 500,\r\n displayPriceLabels = false,\r\n rowBreakMainPrice = false,\r\n } = this.props;\r\n\r\n const culture = this.props.explicitCulture || this.props.culture;\r\n const currency = this.props.explicitCurrency || this.props.currency;\r\n let hasDiscount = typeof listPrice === 'number' && sellingPrice < listPrice;\r\n let hasCompare = typeof listPrice === 'number' && comparePrice > 0 && comparePrice !== listPrice;\r\n\r\n const baseProps: React.HTMLAttributes = {};\r\n const priceProps: React.HTMLAttributes = {};\r\n\r\n let priceRender = formatPrice(sellingPrice, currency, culture);\r\n let priceRenderDiscount = formatPrice(listPrice, currency, culture);\r\n let priceRenderCompare = comparePrice > 0 && formatPrice(comparePrice, currency, culture);\r\n\r\n if (typeof currentPriceLow === 'number' && typeof currentPriceHigh === 'number') {\r\n hasDiscount = false;\r\n hasCompare = false;\r\n if (typeof originalPriceLow === 'number' && typeof originalPriceHigh === 'number') {\r\n if (currentPriceLow < originalPriceLow || currentPriceHigh < originalPriceHigh) {\r\n hasDiscount = true;\r\n }\r\n\r\n if (comparePriceLow > 0 && comparePriceLow !== originalPriceLow && comparePriceHigh > 0 && comparePriceHigh !== originalPriceHigh) {\r\n hasCompare = true;\r\n }\r\n }\r\n\r\n priceRender = formatPrice(currentPriceLow, currency, culture, ([LanguageCodes.Finnish, LanguageCodes.German] as String[]).includes(culture)) + \" - \" + formatPrice(currentPriceHigh, currency, culture);\r\n priceRenderDiscount = formatPrice(originalPriceLow, currency, culture, ([LanguageCodes.Finnish, LanguageCodes.German] as String[]).includes(culture)) + \" - \" + formatPrice(originalPriceHigh, currency, culture);\r\n priceRenderCompare = comparePrice > 0 && formatPrice(comparePriceLow, currency, culture, ([LanguageCodes.Finnish, LanguageCodes.German] as String[]).includes(culture)) + \" - \" + formatPrice(comparePriceHigh, currency, culture);\r\n }\r\n\r\n if (microData) {\r\n baseProps.itemProp = 'offers';\r\n baseProps.itemType = 'http://schema.org/Offer';\r\n baseProps.itemScope = true;\r\n }\r\n\r\n return (\r\n \r\n {microData && }\r\n \r\n \r\n {subtraction && '-'}{priceRender}\r\n \r\n {hasCompare && (\r\n \r\n {subtraction && '- '}{displayPriceLabels && (translate('/site/price/abbr/previous') + ' ')}{priceRenderCompare}\r\n \r\n )}\r\n {hasDiscount && (\r\n \r\n {subtraction && '- '}{displayPriceLabels && (translate('/site/price/abbr/original') + ' ')}{priceRenderDiscount}\r\n \r\n )}\r\n \r\n );\r\n }\r\n },\r\n ),\r\n);\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { State } from './State';\r\n\r\nlet phrases: { [key: string]: string } = {};\r\n\r\ntype PlaceholderValue = number | string;\r\n\r\n// This interface can be augmented to allow specific translation keys. \r\nexport interface Translations { }\r\ntype TranslationKeys = keyof Translations | (string & {});\r\n\r\n// Are you here looking for how we know which language keys exists?\r\n// We find that out dynamically using `webpack/utils/translation-finder.js`\r\n// It goes through all code and automatically makes that phrase available in the frontend code.\r\nexport function translate(key: TranslationKeys, args: { [key: string]: PlaceholderValue }): string;\r\nexport function translate(key: TranslationKeys, ...values: PlaceholderValue[]): string;\r\nexport function translate(key: TranslationKeys) {\r\n if (!(key in phrases)) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n console.error('Missing translation for phrase:', key);\r\n return key;\r\n }\r\n return '';\r\n } else {\r\n return format.apply(null, [phrases[key], ...(Array.prototype.slice.call(arguments, 1) as any)]);\r\n }\r\n}\r\n\r\nexport function setPhrases(p: { [name: string]: string }) {\r\n phrases = p;\r\n}\r\n\r\n// Format phrase using curly braces, e.g. `format('foo{0} {1}', 'bar', 'baz')`, or `format('foo{x} {y}', { x: 'bar', y: 'baz' })` => Outputs: foobar baz\r\nexport function format(phrase: string, args: { [key: string]: PlaceholderValue }): string;\r\nexport function format(phrase: string, ...values: PlaceholderValue[]): string;\r\nexport function format(phrase: string) {\r\n if (arguments.length === 1) {\r\n return phrase;\r\n } else if (typeof arguments[1] === 'object' && !!arguments[1]) {\r\n return formatObject(phrase, arguments[1]);\r\n } else {\r\n return formatArray(phrase, Array.prototype.slice.call(arguments, 1));\r\n }\r\n}\r\n\r\nfunction formatArray(phrase: string, values: PlaceholderValue[]) {\r\n if (!phrase) {\r\n return phrase;\r\n }\r\n\r\n const regex = /{(\\d+)}/g;\r\n if (process.env.NODE_ENV !== 'production') {\r\n const placeholders: any[] = phrase.match(regex) || [];\r\n if (placeholders.length !== values.length) {\r\n const error = `The phrase \"${phrase}\" contains ${placeholders.length} placeholders\r\n but ${values.length} placeholders was passed to translate(). The placeholders\r\n passed in was: ${JSON.stringify(values)}`;\r\n throw new Error(error);\r\n }\r\n }\r\n return values.length === 0\r\n ? phrase\r\n : phrase.replace(regex, (match: string, index: number) =>\r\n typeof values[index] !== 'undefined' ? (values[index] as string) : match,\r\n );\r\n}\r\n\r\nexport function formatObject(phrase: string, args: { [key: string]: PlaceholderValue }) {\r\n if (!phrase) {\r\n return phrase;\r\n }\r\n\r\n return phrase.replace(/({[^}]+})/g, ph => {\r\n const key = ph.substr(1, ph.length - 2).trim();\r\n if (key in args) {\r\n const val = args[key];\r\n if (val == null) {\r\n return '';\r\n } else if (typeof val === 'number') {\r\n return val.toString();\r\n } else {\r\n return val;\r\n }\r\n } else {\r\n console.error('Could not find placeholder', key, 'in', args);\r\n return ph;\r\n }\r\n });\r\n}\r\n\r\ntype RequiredProps = {\r\n phrase: string;\r\n values?: PlaceholderValue[] | { [key: string]: PlaceholderValue };\r\n children?: (phrase: string) => React.ReactNode;\r\n};\r\n\r\ntype ConnectedState = {\r\n languagePhrases: { [item: string]: string };\r\n};\r\n\r\ntype Props = RequiredProps & ConnectedState;\r\n\r\nfunction Translate(props: Props) {\r\n const { phrase, children, values, languagePhrases } = props;\r\n if (!(phrase in languagePhrases)) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n throw new Error(`Missing translation for phrase: ${phrase}`);\r\n }\r\n }\r\n let result = languagePhrases[phrase];\r\n if (values) {\r\n result = values instanceof Array ? formatArray(result, values) : formatObject(result, values);\r\n }\r\n if (typeof children === 'function') {\r\n return children(result);\r\n }\r\n return result;\r\n}\r\n\r\nexport default connect(\r\n (state: State): ConnectedState => ({\r\n languagePhrases: state.appShellData.languagePhrases,\r\n }),\r\n)(Translate as React.StatelessComponent);\r\n","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { connect } from 'react-redux';\nimport { State as AppStateType, resolveSyncIfLoadedOrThrow } from '@polarnopyret/scope';\nimport editorAttributesFor, { safetyCheckAttribute, safetyCheckClassName } from './editor-attributes-for';\nimport { format } from '@polarnopyret/scope';\n\nexport type ComponentType = string | React.ComponentType;\n\nexport const supportsComponentPropName = 'supportsComponentProp';\n\ntype SupportsComponent = React.ComponentType;\n\nexport function supportsComponentProp(component: TComponent): TComponent {\n (component as any)[supportsComponentPropName] = true;\n return component;\n}\n\ntype RequiredProps = {\n for: Scope.Property;\n className?: string;\n component?: ComponentType;\n propertyComponentProps?: any;\n args?: { [key: string]: string | number };\n};\n\ntype ConnectedState = {\n currentTheme: string;\n};\n\ntype Props = RequiredProps & ConnectedState;\n\ntype State = {\n property?: Scope.Property;\n};\n\nfunction htmlDecode(value: string) {\n const div = document.createElement('div');\n div.innerHTML = value;\n return div.textContent;\n}\n\nclass EpiProperty extends React.PureComponent {\n constructor(props: Props) {\n super(props);\n this.state = {\n property: props.for,\n };\n }\n componentDidMount() {\n if (!window.IS_IN_TEST_MODE) {\n if (process.env.NODE_ENV !== 'production') {\n const node = ReactDOM.findDOMNode(this) as Element;\n if (node && (!node.hasAttribute(safetyCheckAttribute) || !node.classList.contains(safetyCheckClassName))) {\n console.error('Editor attributes was not rendered on node', node);\n console.error(\n 'When using a custom component to EpiProperty such as\\n
} />\\n' +\n 'you must always spread `innerProps` last on that element.\\n\\n' +\n 'The following is not correct:\\n' +\n '
{innerProps.children}
} />\\n' +\n '
} />\\n\\n' +\n 'Instead, write it like this:\\n' +\n '
} />\\n' +\n '
',\n );\n\n const style =\n 'position:fixed;top:0;left:0;bottom:0;right:0;background-color:red;padding:50px;z-index:99999;font-size:100px;color:white';\n node.innerHTML = '
ERROR! Check console.
';\n throw new Error('Editor attributes was not rendered on node');\n }\n }\n\n if (window.IS_IN_EDIT_MODE) {\n const node = ReactDOM.findDOMNode(this) as Element;\n const component = this;\n\n Object.defineProperty(node, 'innerHTML', {\n get() {\n let html = '';\n // tslint:disable-next-line prefer-for-of\n for (let i = 0; i < node.childNodes.length; i++) {\n const child = node.childNodes[i];\n if (child instanceof Element) {\n html += child.innerHTML;\n }\n }\n return html;\n },\n set(value: string) {\n // Because Epi wants to replace empty content with a space, probably to make it take up some space\n if (value === ' ') {\n return;\n }\n let content: any;\n const jsonPragma = '$property-for-json:';\n if (value && value.indexOf(jsonPragma) === 0) {\n content = JSON.parse(value.substring(jsonPragma.length));\n } else {\n content = htmlDecode(value);\n }\n\n // If content is null, it means that the content was a complex type and that it has now been\n // removed. But we still want to use the same component to render it since otherwise React\n // will throw away the DOM node\n if (content === null) {\n content = {\n componentName: (component.props.for as any).$c.componentName,\n };\n }\n const property = Object.assign({}, component.state.property, { $c: content });\n component.setState({ property });\n },\n configurable: true,\n });\n }\n }\n }\n UNSAFE_componentWillReceiveProps(newProps: Props) {\n this.setState({ property: newProps.for });\n }\n base = (innerProps: any) => {\n const { className: outerClassName, component: Component = 'div' } = this.props;\n const { className: innerClassName, ...restInnerProps } = innerProps;\n const { property } = this.state;\n const name = property && (property as any)._name;\n\n let mergedClassName = '';\n if (outerClassName) {\n mergedClassName += ` ${outerClassName}`;\n }\n if (innerClassName) {\n mergedClassName += ` ${innerClassName}`;\n }\n\n const editorAttributes = editorAttributesFor(name, mergedClassName.slice(1));\n\n return ;\n };\n render() {\n const { property } = this.state;\n let content = property ? (property as any).$c : null;\n\n if (!window.IS_IN_EDIT_MODE && !content) {\n return null;\n }\n\n const name = property && (property as any)._name;\n content = typeof content === 'string' && this.props.args ? format(content, this.props.args) : content;\n\n let PropertyComponent: React.ComponentType | null = null;\n if (content && content.componentName) {\n PropertyComponent = resolveSyncIfLoadedOrThrow(content.componentName, this.props.currentTheme);\n }\n\n if (PropertyComponent) {\n if (typeof content === 'string') {\n content = { content };\n }\n\n if ((PropertyComponent as any)[supportsComponentPropName]) {\n return (\n \n );\n }\n\n return (\n \n \n \n );\n }\n\n return {content || ''};\n }\n}\n\nexport default connect(\n (state: AppStateType): ConnectedState => ({\n currentTheme: state.currentTheme,\n }),\n)(EpiProperty);\n","export const safetyCheckAttribute = 'data-dev-safety';\nexport const safetyCheckClassName = 'dev-safety-class';\n\nexport default (propertyName: string, className = ''): any => {\n let attrs: { [key: string]: string } = {};\n if (process.env.NODE_ENV !== 'production') {\n if (!window.IS_IN_TEST_MODE) {\n className += ' ' + safetyCheckClassName;\n attrs[safetyCheckAttribute] = '1';\n }\n }\n if (window.IS_IN_EDIT_MODE && propertyName) {\n attrs = Object.assign(attrs, {\n className: (className ? className + ' ' : '') + 'epi-editContainer',\n 'data-epi-property-name': propertyName,\n 'data-epi-use-mvc': 'True',\n });\n } else if (className) {\n return (attrs = Object.assign(attrs, { className }));\n }\n return attrs;\n};\n","import React from 'react';\r\nimport { styled, StyledProps, applyClassName, StyledElementProps } from '@glitz/react';\r\nimport PopLogo from 'Shared/Logotype/POP-Logo.svg';\r\nimport PopLogoAlt2 from 'Shared/Logotype/POP_logo_alt2.svg';\r\nimport {factoryScaledToFit} from '../Icons/icon';\r\n\r\nexport default styled(\r\n applyClassName((props: StyledElementProps & StyledProps) => {\r\n return ;\r\n }),\r\n);\r\n\r\nexport const AltLogo = styled(\r\n applyClassName((props: StyledElementProps & StyledProps) => {\r\n return ;\r\n }),\r\n);\r\n\r\nexport const ScaledLogo = factoryScaledToFit(PopLogoAlt2);\r\n","import { isBrowser, isServiceWorker } from '../device-type';\r\n\r\nexport let appShellTemplateUrl = '/appshell/template';\r\nconst requestTimeout = 200;\r\n\r\nexport const hasServiceWorker = isBrowser() && !isServiceWorker() && WITH_SERVICEWORKER && 'serviceWorker' in navigator;\r\n\r\nexport function clearCache(explicitUrlsToClear: string[] = []): Promise {\r\n if (!self.caches) {\r\n return Promise.resolve(true);\r\n }\r\n\r\n // It might seem odd that `clearCache` only clears the app shell template\r\n // but the app shell template is the only entry in the cache that is mutable.\r\n // If any of the other entries change they will get new urls and a new app shell template\r\n // will point to the new resources instead.\r\n // Old entries will eventually get cleaned up by the logic in `onInstall`.\r\n explicitUrlsToClear.push(appShellTemplateUrl);\r\n\r\n return cacheKeys()\r\n .then((cacheNames: string[]) => Promise.all(cacheNames.map(cacheName => openCache(cacheName))))\r\n .then((caches: Array) => {\r\n return Promise.all(\r\n caches.map(cache => Promise.all(explicitUrlsToClear.map(url => deleteFromCache(cache, new Request(url))))),\r\n );\r\n })\r\n .then(cacheDeletes => cacheDeletes.every(deletes => deletes.every(d => d)));\r\n}\r\n\r\n// The reason for having this is because it seems that some browsers hang when trying to respond\r\n// to requests to the `caches` object.\r\n// IndexedDB has been riddled with dead locks for years (see https://github.com/localForage/localForage/pull/826)\r\n// and we already have a timeout race for when we explicitly use IndexedDB. But it seems as if the Service Worker\r\n// cache is affected as well. It might be that some browsers implement the SW caches on top of IndexedDB.\r\nfunction raceWithTimeout(cacheAccessor: () => Promise, resolveWithForTimeout: T): Promise {\r\n return new Promise((resolve, reject) => {\r\n let resolvedOrRejected = false;\r\n const timer = setTimeout(() => {\r\n if (!resolvedOrRejected) {\r\n resolvedOrRejected = true;\r\n if (self && self.console && self.console.warn) {\r\n // tslint:disable:no-string-literal\r\n self['console']['warn'](\r\n \"Call to SW caches timed out, skipping cache and continuing as if the cache didn't exist/was empty\",\r\n );\r\n // tslint:enable:no-string-literal\r\n }\r\n resolve(resolveWithForTimeout);\r\n }\r\n }, requestTimeout);\r\n\r\n cacheAccessor().then(\r\n r => {\r\n if (!resolvedOrRejected) {\r\n resolvedOrRejected = true;\r\n clearTimeout(timer);\r\n resolve(r);\r\n }\r\n },\r\n e => {\r\n if (!resolvedOrRejected) {\r\n resolvedOrRejected = true;\r\n clearTimeout(timer);\r\n reject(e);\r\n }\r\n },\r\n );\r\n });\r\n}\r\n\r\nexport function cacheKeys(): Promise {\r\n return raceWithTimeout(() => caches.keys(), []);\r\n}\r\n\r\nexport function openCache(name: string): Promise {\r\n return raceWithTimeout(() => caches.open(name), undefined);\r\n}\r\n\r\nexport function cacheMatch(cache: Cache | undefined, request: Request): Promise {\r\n if (!cache) {\r\n return Promise.resolve(undefined);\r\n }\r\n return raceWithTimeout(() => cache.match(request), undefined);\r\n}\r\n\r\nexport function nukeCache(): Promise {\r\n return raceWithTimeout(() => cacheKeys().then((keys) => Promise.all(keys.map(key => deleteCache(key))).then((b) => b.every(b2 => b2))), false);\r\n}\r\n\r\nexport function deleteCache(name: string): Promise {\r\n return raceWithTimeout(() => caches.delete(name), false);\r\n}\r\n\r\nexport function deleteFromCache(cache: Cache | undefined, request: Request): Promise {\r\n if (!cache) {\r\n return Promise.resolve(false);\r\n }\r\n return raceWithTimeout(() => cache.delete(request), false);\r\n}\r\n","// This module exists both to handle browsers that doesn't have `localStorage`\r\n// and for private browsing in iOS which throws exceptions when you call `setItem`\r\n\r\nlet fauxStorage: { [key: string]: any } = {};\r\n\r\nexport function setLocalStorageItem(key: string, value: any) {\r\n try {\r\n // Undefined is not JSON, but null is\r\n if (value === undefined) {\r\n value = null;\r\n }\r\n localStorage.setItem(key, JSON.stringify(value));\r\n } catch (e) {\r\n fauxStorage[key] = value;\r\n console.error('localStorage.setItem() failed:', e);\r\n }\r\n}\r\n\r\nexport function getLocalStorageItem(key: string, defaultValue?: T) {\r\n try {\r\n const value = localStorage.getItem(key);\r\n if (value === null || value === undefined || value === 'undefined') {\r\n return defaultValue;\r\n } else {\r\n return JSON.parse(value) as T;\r\n }\r\n } catch (e) {\r\n console.error('localStorage.getItem() failed:', e);\r\n if (!(key in fauxStorage)) {\r\n return defaultValue;\r\n }\r\n return fauxStorage[key] as T;\r\n }\r\n}\r\n\r\nexport function nukeLocalStorage() {\r\n try {\r\n localStorage.clear();\r\n } catch (e) {\r\n console.error('localStorage.clear() failed:', e);\r\n fauxStorage = {};\r\n }\r\n}\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { setTheme } from './action-creators';\r\nimport { resolveThemeContextSyncIfLoadedOrThrow } from '../resolve-component';\r\nimport { State, Dispatch } from '../State';\r\n\r\nexport type ThemeOnChangeCallback = (newTheme: any, newThemeName: string) => any;\r\n\r\nexport type ThemeContext = {\r\n context: any;\r\n name: string;\r\n onChange: (callback: ThemeOnChangeCallback) => any;\r\n set: (themeName: string) => Promise;\r\n};\r\n\r\nexport type WithThemeProps = {\r\n theme: TTheme;\r\n themeName: string;\r\n setTheme: (themeName: string) => Promise;\r\n};\r\n\r\nexport function withTheme(Component: React.ComponentType>) {\r\n return (connect(\r\n (state: State) => ({\r\n currentTheme: state.currentTheme,\r\n }),\r\n (dispatch: Dispatch) => ({\r\n setTheme(themeName: string) {\r\n return dispatch(setTheme(themeName));\r\n },\r\n }),\r\n )((props: { currentTheme: string; setTheme: (themeName: string) => any }) => {\r\n const themeProps: WithThemeProps = {\r\n theme: props.currentTheme ? resolveThemeContextSyncIfLoadedOrThrow(props.currentTheme) : null,\r\n themeName: props.currentTheme,\r\n setTheme: (newThemeName: string) => props.setTheme(newThemeName),\r\n };\r\n const { currentTheme, ...restProps } = props;\r\n return ;\r\n }) as any) as React.StatelessComponent;\r\n}\r\n\r\nexport function coalesceName(themeName: string, previousTheme = '') {\r\n if (themeName === 'default') {\r\n return '';\r\n }\r\n if (typeof themeName === 'string') {\r\n return themeName;\r\n }\r\n return previousTheme === 'default' ? '' : previousTheme;\r\n}\r\n","import { PageType } from 'Shared/State';\r\nimport { componentNames } from 'Shared/component-registry';\r\nimport VariationViewModelType from './VariationViewModel.type';\r\n\r\ntype VariationPageType = VariationViewModelType & PageType;\r\n\r\nexport default (currentPage: PageType): currentPage is VariationPageType => {\r\n return currentPage.componentName === componentNames.Avensia_Common_Features_Product_VariationViewModel;\r\n};\r\n","import * as style from './Style';\r\nimport { styled } from '@glitz/react';\r\nimport { Basic } from './PageLayout';\r\n\r\nconst Base = styled(Basic, {\r\n backgroundColor: style.colors.monochrome.white,\r\n opacity: 1,\r\n position: 'absolute',\r\n left: '50%',\r\n top: 0,\r\n transform: 'translateX(-50%)',\r\n pointerEvents: 'none',\r\n});\r\n\r\nexport const ScrollableFade = styled(Basic, {\r\n overflowY: 'scroll',\r\n padding: { top: 24, x: 16 },\r\n height: '100%',\r\n width: '100%',\r\n scrollbarWidth: 'none',\r\n msOverflowStyle: 'none',\r\n // @ts-ignore\r\n '::-webkit-scrollbar': {\r\n display: 'none',\r\n },\r\n //maskImage: `linear-gradient(to bottom, black calc(100% - 32px), transparent 100%)`,\r\n mask: {\r\n image: 'linear-gradient(rgb(0, 0, 0) 0px, rgb(0, 0, 0) calc(100% - 32px), rgba(0, 0, 0, 0) 100%, rgba(0, 0, 0, 0) 0px)',\r\n size: '100% 100%',\r\n position: '100% 50%',\r\n repeat: 'repeat no-repeat'\r\n },\r\n });\r\n\r\n export const ModalBase = styled(Base, {\r\n pointerEvents: 'initial',\r\n position: 'fixed',\r\n flexDirection: 'column',\r\n alignItems: 'flex-start',\r\n gap: '24px',\r\n width: '330px',\r\n borderRadius: '8px',\r\n order: 0,\r\n flexGrow: 0,\r\n left: 8,\r\n display: 'flex',\r\n ...style.transition({ property: ['transform'], duration: '300ms' }),\r\n });\r\n ","import React from 'react';\r\nimport { styled, StyledProps } from '@glitz/react';\r\nimport { ButtonTheme, SolidButton } from 'Shared/TextButtons';\r\nimport { clearCacheAndUnregisterServiceWorker } from '@polarnopyret/scope';\r\nimport { startPage } from 'Shared/known-urls';\r\nimport { translate } from '@polarnopyret/scope';\r\nimport { H1, Paragraph, ResponsiveSize } from 'Shared/SharedComponents/atoms/Typography';\r\n\r\ntype StateType = {\r\n hasError: boolean;\r\n reRendered: boolean;\r\n errorAppearedOn: string;\r\n};\r\n\r\ntype RequiredPropType = {\r\n reloadCurrentPage?: boolean;\r\n standalone?: boolean;\r\n};\r\n\r\ntype PropType = RequiredPropType & StyledProps;\r\n\r\nconst Center = styled.div({\r\n padding: {\r\n y: '48px',\r\n },\r\n margin: {\r\n x: 'auto',\r\n },\r\n width: '100%',\r\n textAlign: 'center',\r\n maxWidth: '800px',\r\n});\r\n\r\nconst TextContainer = styled.div({\r\n marginBottom: '32px',\r\n});\r\n\r\nconst InformationText = styled(Paragraph, {\r\n marginTop: '32px'\r\n})\r\n\r\nexport default styled(\r\n class ErrorBoundary extends React.Component {\r\n state = {\r\n hasError: false,\r\n errorAppearedOn: '',\r\n reRendered: false,\r\n };\r\n\r\n onRetryClick = () => {\r\n this.setState({ reRendered: true, hasError: false });\r\n };\r\n\r\n componentWillReceiveProps(nextProps: PropType) {\r\n if (this.state.hasError && this.state.errorAppearedOn !== window.location.href) {\r\n this.setState({ hasError: false, reRendered: false });\r\n }\r\n }\r\n\r\n componentDidCatch(error: any, info: any) {\r\n if (this.state.reRendered) {\r\n clearCacheAndUnregisterServiceWorker().then(() => {\r\n if (this.props.reloadCurrentPage) {\r\n window.location.reload();\r\n } else {\r\n window.location.href = startPage() || '/'; // fallback if missing.\r\n }\r\n });\r\n } else {\r\n this.setState({ hasError: true, errorAppearedOn: window.location.href });\r\n }\r\n }\r\n\r\n render() {\r\n if (this.state.hasError) {\r\n if (this.props.standalone) {\r\n return (\r\n
\r\n
\r\n

{translate('/site/errors/Unknown')}

\r\n {translate('/site/errors/UnknownLoadFailureText')}\r\n
\r\n \r\n
\r\n );\r\n }\r\n return (\r\n
\r\n \r\n

{translate('/site/errors/Unknown')}

\r\n {translate('/site/errors/UnknownLoadFailureText')}\r\n
\r\n {translate('/site/errors/Retry')}\r\n
\r\n );\r\n }\r\n return this.props.children;\r\n }\r\n },\r\n);\r\n","import factory from './icon';\r\nimport Svg12x12 from './glyphs/Plus_12x12.svg';\r\nimport Svg16x16 from './glyphs/Plus_16x16.svg';\r\nimport Svg24x24 from './glyphs/Plus_24x24.svg';\r\n\r\nexport const Plus12x12 = factory(Svg12x12, 12, 12);\r\nexport const Plus16x16 = factory(Svg16x16, 16, 16);\r\nexport const Plus24x24 = factory(Svg24x24, 24, 24);\r\n\r\n\r\nexport const Cross48Uri =\r\n 'data:image/svg+xml,' +\r\n encodeURIComponent(`\r\n\r\n`); //Hard coded because lord knows how to get it to render correctly with all the attributes in the SVG tag that appear to get discarded with the renderToStaticMarkup function\r\n\r\nexport const Plus48Uri =\r\n 'data:image/svg+xml,' +\r\n encodeURIComponent(`\r\n\r\n`); //Hard coded because lord knows how to get it to render correctly with all the attributes in the SVG tag that appear to get discarded with the renderToStaticMarkup function\r\n","import { pseudo } from '@glitz/core';\r\nimport { styled } from '@glitz/react';\r\nimport * as style from 'Shared/Style';\r\n\r\nexport const TR = styled.tr({\r\n ...pseudo(':nth-child(even)', {\r\n backgroundColor: style.colors.monochrome.extraLightGrey,\r\n }),\r\n ...pseudo(':nth-child(even) td:first-child', {\r\n borderTopLeftRadius: '16px',\r\n borderBottomLeftRadius: '16px',\r\n backgroundColor: style.colors.monochrome.extraLightGrey,\r\n }),\r\n ...pseudo(':nth-child(even) td:last-child', {\r\n borderTopRightRadius: '16px',\r\n borderBottomRightRadius: '16px',\r\n }),\r\n\r\n ...pseudo(':nth-child(odd) td:first-child', {\r\n borderTopLeftRadius: '16px',\r\n borderBottomLeftRadius: '16px',\r\n backgroundColor: style.colors.monochrome.white,\r\n }),\r\n});\r\n\r\nexport const TD = styled.td({\r\n border: { xy: { style: 'none' } },\r\n padding: {\r\n x: '8px',\r\n y: '4px'\r\n },\r\n fontSize: '14px',\r\n fontWeight: 500,\r\n ...pseudo(':first-child', {\r\n position: 'sticky',\r\n left: 0,\r\n top: 0\r\n }),\r\n});\r\n\r\nexport const TH = styled.th({\r\n border: { xy: { style: 'none' } },\r\n backgroundColor: 'white',\r\n textTransform: 'uppercase',\r\n fontSize: '12px',\r\n fontWeight: 500,\r\n color: style.colors.monochrome.a11ygrey,\r\n padding: {\r\n x: '8px',\r\n y: '4px'\r\n },\r\n ...pseudo(':first-child', {\r\n position: 'sticky',\r\n left: 0,\r\n top: 0\r\n }),\r\n});\r\n\r\nexport const Table = styled.table({\r\n borderCollapse: 'collapse',\r\n textAlign: 'center',\r\n tableLayout: 'fixed',\r\n border: {\r\n xy: {\r\n style: 'none',\r\n }\r\n }\r\n});\r\n","/**\r\n * @ComponentFor EPiServer.Core.XhtmlString\r\n */\r\nimport React from 'react';\r\nimport { styled, StyledProps } from '@glitz/react';\r\nimport { Html, HtmlProps, registerDecorator } from '@polarnopyret/scope-episerver';\r\nimport { PictureImage, Preset } from '../../Image';\r\nimport { TR, TD, TH, Table } from 'Shared/Partials/PropertyTypes/Table/pop-context';\r\nimport A from 'Shared/Generic/A';\r\nimport { LinkButton, ButtonTheme } from 'Shared/TextButtons'\r\nimport * as style from 'Shared/Style';\r\n\r\ntype TableStyle = {\r\n TR: React.ComponentClass | React.StatelessComponent;\r\n TD: React.ComponentClass | React.StatelessComponent;\r\n TH: React.ComponentClass | React.StatelessComponent;\r\n Table: React.ComponentClass | React.StatelessComponent;\r\n};\r\n\r\nregisterDecorator('img', (item, i, props, componentProps) => {\r\n // let size = Preset.Editor;\r\n // if (props['data-size']) {\r\n // size = props['data-size'];\r\n // }\r\n if (componentProps.keepImageSizes !== true) {\r\n if (props.width) {\r\n delete props.width;\r\n }\r\n if (props.height) {\r\n delete props.height;\r\n }\r\n }\r\n const url = props.src?.url;\r\n delete props.src;\r\n return ;\r\n});\r\n\r\n// const decoratorFactory = (Component: React.ReactType, mapProps?: (props: any) => any) => {\r\n// const C = (item: any, i: number, props: any, componentProps: any, children: React.ReactNode | React.ReactNode[]) => {\r\n// return {children};\r\n// };\r\n// return C;\r\n// };\r\n\r\nregisterDecorator(\r\n 'a', (item, i, props, componentProps, children) => {\r\n const isBtn = props.className && props.className.includes('btn')\r\n if (isBtn) {\r\n return (\r\n {children}\r\n );\r\n }\r\n return {children}\r\n }\r\n);\r\n\r\n//const getLastClass = (props: any) => (props.className || '').split(' ').reverse()[0] || ''; // take last class only\r\n\r\nregisterDecorator('h1', (item, i, props, componentProps, children) => {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nregisterDecorator('h2', (item, i, props, componentProps, children) => {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nregisterDecorator('h3', (item, i, props, componentProps, children) => {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nregisterDecorator('h4', (item, i, props, componentProps, children) => {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nregisterDecorator('h5', (item, i, props, componentProps, children) => {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nregisterDecorator('h6', (item, i, props, componentProps, children) => {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nregisterDecorator('p', (item, i, props, componentProps, children) => {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\nregisterDecorator('q', (item, i, props, componentProps, children) => {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n\r\ntype PropType = HtmlProps;\r\n\r\nconst cleanTableProps = (props: any) => {\r\n if (props.style) {\r\n if (props.style.height) {\r\n delete props.style.height;\r\n }\r\n\r\n if (props.style.width && !props.style.width.includes('%')) {\r\n delete props.style.width;\r\n }\r\n }\r\n\r\n if (props.border) {\r\n delete props.border;\r\n }\r\n\r\n if (props.width && !props.width.includes('%')) {\r\n delete props.width;\r\n }\r\n\r\n return props;\r\n}\r\n\r\nconst cleanChildren = (children: React.ReactNode | React.ReactNode[]) => {\r\n const asArray = children as React.ReactNode[];\r\n if (asArray) {\r\n return asArray.filter(x => x.toString() !== '\\n');\r\n }\r\n\r\n return children;\r\n}\r\n\r\nconst TableWrap = styled.div({\r\n overflowX: 'scroll',\r\n ['@media ' + style.mediaUpToLarge]: {\r\n // @ts-ignore\r\n '::-webkit-scrollbar': {\r\n display: 'none',\r\n },\r\n },\r\n\r\n ['@media ' + style.mediaMinLarge]: {\r\n paddingBottom: '5px',\r\n // @ts-ignore\r\n '::-webkit-scrollbar-thumb': {\r\n backgroundColor: style.colors.monochrome.a11ygrey,\r\n borderRadius: '5px',\r\n },\r\n '::-webkit-scrollbar': {\r\n height: '10px',\r\n },\r\n },\r\n\r\n})\r\n\r\nexport default styled(function EditorItems(props: PropType & StyledProps) {\r\n const { compose, ...restProps } = props;\r\n const tableStyle: TableStyle = {\r\n TR,\r\n TD,\r\n TH,\r\n Table,\r\n };\r\n\r\n registerDecorator('tr', (item, i, props, componentProps, children) => {\r\n return {cleanChildren(children)};\r\n });\r\n registerDecorator('th', (item, i, props, componentProps, children) => {\r\n return {cleanChildren(children)};\r\n });\r\n registerDecorator('td', (item, i, props, componentProps, children) => {\r\n return {cleanChildren(children)};\r\n });\r\n registerDecorator('tbody', (item, i, props, componentProps, children) => {\r\n return {cleanChildren(children)};\r\n });\r\n registerDecorator('thead', (item, i, props, componentProps, children) => {\r\n return {cleanChildren(children)};\r\n });\r\n registerDecorator('table', (item, i, props, componentProps, children) => {\r\n return ({cleanChildren(children)});\r\n });\r\n registerDecorator('ul', (item, i, props, componentProps, children) => {\r\n return
    {cleanChildren(children)}
;\r\n });\r\n registerDecorator('ol', (item, i, props, componentProps, children) => {\r\n return
    {cleanChildren(children)}
;\r\n });\r\n return ;\r\n}\r\n // withTheme(({ theme, setTheme, themeName, compose, ...restProps }) => {\r\n\r\n // registerDecorator('tr', (item, i, props, componentProps, children) => {\r\n // return {cleanChildren(children)};\r\n // });\r\n // registerDecorator('th', (item, i, props, componentProps, children) => {\r\n // return {cleanChildren(children)};\r\n // });\r\n // registerDecorator('td', (item, i, props, componentProps, children) => {\r\n // return {cleanChildren(children)};\r\n // });\r\n // registerDecorator('tbody', (item, i, props, componentProps, children) => {\r\n // return {cleanChildren(children)};\r\n // });\r\n // registerDecorator('thead', (item, i, props, componentProps, children) => {\r\n // return {cleanChildren(children)};\r\n // });\r\n // registerDecorator('table', (item, i, props, componentProps, children) => {\r\n // console.log(children);\r\n // return ({cleanChildren(children)});\r\n // });\r\n // registerDecorator('ul', (item, i, props, componentProps, children) => {\r\n // return
    {cleanChildren(children)}
;\r\n // });\r\n // registerDecorator('ol', (item, i, props, componentProps, children) => {\r\n // return
    {cleanChildren(children)}
;\r\n // });\r\n // return ;\r\n // }),\r\n);\r\n","import React from 'react';\r\nimport { styled } from '@glitz/react';\r\nimport Button, { Appearance as ButtonAppearance } from 'Shared/Button';\r\nimport { Search24x24 } from \"Shared/Icons/Search\";\r\nimport * as style from 'Shared/Style';\r\nimport { ANIMATION_DURATION } from 'SiteLayout/Header/DesktopHeader';\r\n\r\nexport const DESKTOP_HEIGHT = 38; // Since this primarily relates to QuickSearch, it's placed here.\r\n\r\nexport const QUICKSEARCH_INNER = 45;\r\nexport const QUICKSEARCH_PADDING = 10;\r\nexport const QUICKSEARCH_BORDERS = 2;\r\nexport const QUICKSEARCH_HEIGHT = QUICKSEARCH_INNER + QUICKSEARCH_BORDERS;\r\n\r\nconst IconButton = styled(Button, {\r\n ...style.transition({ property: ['opacity'], duration: `${ANIMATION_DURATION}ms` }),\r\n});\r\n\r\nexport const MobileMagnifierIcon = ({\r\n onClick,\r\n invisible,\r\n textColor,\r\n}: {\r\n onClick: (e: React.MouseEvent) => void;\r\n invisible?: boolean;\r\n textColor: string;\r\n}) => (\r\n \r\n \r\n \r\n);\r\n","import React, { ReactNode } from 'react';\r\nimport { styled, StyledProps } from '@glitz/react';\r\n\r\ntype FormProps = {\r\n isIncomplete: boolean;\r\n onSubmitCallback: (e: React.FormEvent) => void;\r\n children: ReactNode[];\r\n};\r\n\r\nexport default styled(({ isIncomplete, onSubmitCallback, children, compose }: FormProps & StyledProps) => {\r\n const onFormKeyPress = (e: React.KeyboardEvent) => {\r\n // Prevents form submission when the enter key is pressed in a input field\r\n // Only targets inputs as submit button should submit and textares should be able to add newlines.\r\n if (\r\n isIncomplete &&\r\n (e.target as HTMLElement).tagName.toLowerCase() === 'input' &&\r\n (e.keyCode || e.which || e.charCode || e.key || 0) === 13\r\n ) {\r\n e.preventDefault();\r\n }\r\n };\r\n\r\n const onSubmit = (e: React.FormEvent) => {\r\n e.preventDefault();\r\n\r\n onSubmitCallback(e);\r\n };\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n});\r\n","export const IDBIsClosingError: { err: Error | null } = { err: null };\r\n\r\nexport class Store {\r\n dbp: Promise | null;\r\n dbName: string;\r\n storeName: string;\r\n\r\n constructor(dbName = 'keyval-store', storeName = 'keyval') {\r\n this.dbName = dbName;\r\n this.storeName = storeName;\r\n this.dbp = this._open();\r\n }\r\n\r\n _open() {\r\n return new Promise((resolve, reject) => {\r\n const openreq = indexedDB.open(this.dbName, 1);\r\n openreq.onerror = () => reject(openreq.error);\r\n openreq.onsuccess = () => resolve(openreq.result);\r\n\r\n // First time setup: create an empty object store\r\n openreq.onupgradeneeded = () => {\r\n openreq.result.createObjectStore(this.storeName);\r\n };\r\n });\r\n }\r\n\r\n _withIDBStore(type: IDBTransactionMode, callback: (store: IDBObjectStore) => void): Promise {\r\n if (!this.dbp) {\r\n this.dbp = this._open();\r\n }\r\n return this.dbp.then(\r\n db =>\r\n new Promise(async (resolve, reject) => {\r\n let transaction: IDBTransaction;\r\n try {\r\n transaction = db.transaction(this.storeName, type);\r\n } catch (e) {\r\n // So there seems to be a bug in some IndexedDB implementations where the connection to the\r\n // database can close without us explicitly closing it. That will cause a sync error being\r\n // thrown when calling db.transaction(). So we catch it, and bubble this error to `local-db`\r\n // which will return null to the caller. And on the next use of the database we try to reopen\r\n // the connection.\r\n this.dbp = null;\r\n IDBIsClosingError.err = e;\r\n reject(IDBIsClosingError);\r\n return;\r\n }\r\n transaction.oncomplete = () => resolve();\r\n transaction.onabort = transaction.onerror = () => reject(transaction.error);\r\n callback(transaction.objectStore(this.storeName));\r\n }),\r\n );\r\n }\r\n}\r\n\r\nexport function get(key: IDBValidKey, storeToUse: Store): Promise {\r\n let req: IDBRequest;\r\n return storeToUse\r\n ._withIDBStore('readonly', s => {\r\n req = s.get(key);\r\n })\r\n .then(() => (req.result === undefined ? null : req.result));\r\n}\r\n\r\nexport function set(key: IDBValidKey, value: any, storeToUse: Store): Promise {\r\n return storeToUse._withIDBStore('readwrite', s => {\r\n s.put(value, key);\r\n });\r\n}\r\n\r\nexport function del(key: IDBValidKey, storeToUse: Store): Promise {\r\n return storeToUse._withIDBStore('readwrite', s => {\r\n s.delete(key);\r\n });\r\n}\r\n\r\nexport function clear(storeToUse: Store): Promise {\r\n return storeToUse._withIDBStore('readwrite', s => {\r\n s.clear();\r\n });\r\n}\r\n\r\nexport function keys(storeToUse: Store): Promise> {\r\n const validKeys: Array = [];\r\n\r\n return storeToUse\r\n ._withIDBStore('readonly', s => {\r\n // This would be store.getAllKeys(), but it isn't supported by Edge or Safari.\r\n // And openKeyCursor isn't supported by Safari.\r\n (s.openKeyCursor || s.openCursor).call(s).onsuccess = function() {\r\n if (!this.result) {\r\n return;\r\n }\r\n validKeys.push(this.result.key);\r\n this.result.continue();\r\n };\r\n })\r\n .then(() => validKeys);\r\n}\r\n","import { Store, set, get, del, clear, IDBIsClosingError } from './idb-keyval';\r\n\r\nconst readRequestTimeout = 100;\r\n// We set a longer write timeout because if you await the write promise\r\n// you might depend on the value getting written.\r\nconst writeRequestTimeout = 1000;\r\n// When clearing we give an even higher timeout since you might really\r\n// want to only continue after it's been cleared.\r\nconst clearRequestTimeout = 3000;\r\n\r\nexport default (dbName: string) => {\r\n if (!self.indexedDB) {\r\n return createDummyStory();\r\n }\r\n\r\n let store: Store;\r\n try {\r\n store = new Store(dbName, dbName);\r\n } catch (e) {\r\n logError(e);\r\n return createDummyStory();\r\n }\r\n\r\n return {\r\n getItem(key: string): Promise {\r\n return Promise.race([timeout(readRequestTimeout), init(dbName, store).then(() => get(key, store))]).then(\r\n emptyIfTimeout,\r\n emptyIfErrorBecauseIDBIsClosing,\r\n );\r\n },\r\n setItem(key: string, value: T) {\r\n return Promise.race([\r\n timeout(writeRequestTimeout),\r\n init(dbName, store).then(() => set(key, value, store)),\r\n ]).then(emptyIfTimeout, emptyIfErrorBecauseIDBIsClosing);\r\n },\r\n removeItem(key: string) {\r\n return Promise.race([timeout(writeRequestTimeout), init(dbName, store).then(() => del(key, store))]).then(\r\n emptyIfTimeout,\r\n emptyIfErrorBecauseIDBIsClosing,\r\n );\r\n },\r\n clear() {\r\n return Promise.race([\r\n timeout(clearRequestTimeout),\r\n init(dbName, store).then(() => clearAndSetVersion(store)),\r\n ]).then(emptyIfTimeout, emptyIfErrorBecauseIDBIsClosing);\r\n },\r\n };\r\n};\r\n\r\nfunction logError(...e: any[]) {\r\n if (self.console && self.console.error) {\r\n // tslint:disable:no-string-literal\r\n self.console['error'](e);\r\n // tslint:enable:no-string-literal\r\n }\r\n}\r\n\r\nconst createDummyStory = () => {\r\n return {\r\n getItem(key: string): Promise {\r\n return (Promise.resolve(null) as any) as Promise;\r\n },\r\n setItem(key: string, value: T) {\r\n return Promise.resolve(null);\r\n },\r\n removeItem(key: string) {\r\n return Promise.resolve(null);\r\n },\r\n clear() {\r\n return Promise.resolve(null);\r\n },\r\n };\r\n};\r\n\r\nconst versionKey = 'local-db-version';\r\nasync function clearAndSetVersion(store: Store) {\r\n await clear(store);\r\n await set(versionKey, CURRENT_VERSION, store);\r\n}\r\n\r\nconst initPromises: { [dbName: string]: Promise } = {};\r\nfunction init(dbName: string, store: Store) {\r\n if (!initPromises[dbName]) {\r\n initPromises[dbName] = get(versionKey, store).then(v => {\r\n if (!v) {\r\n return clearAndSetVersion(store);\r\n }\r\n let version = v;\r\n let currentVersion = CURRENT_VERSION;\r\n\r\n if(TREAT_EVERY_RELEASE_AS_MAJOR) {\r\n if (version !== currentVersion) {\r\n return clearAndSetVersion(store);\r\n }\r\n } \r\n else {\r\n const dbVersionParts = v.split('.');\r\n const currentVersionParts = CURRENT_VERSION.split('.');\r\n \r\n if (dbVersionParts[0] !== currentVersionParts[0]) {\r\n return clearAndSetVersion(store);\r\n }\r\n }\r\n });\r\n }\r\n return initPromises[dbName];\r\n}\r\n\r\nfunction emptyIfErrorBecauseIDBIsClosing(err: any) {\r\n if (err === IDBIsClosingError) {\r\n // See comment in _withIDBStore() in idb-keyval.ts\r\n logError('A handled, unexpected IndexedDB error occured: ', err.err);\r\n return Promise.resolve(null);\r\n } else {\r\n return Promise.reject(err);\r\n }\r\n}\r\n\r\nfunction emptyIfTimeout(item: any) {\r\n if (item && item.timeout === true) {\r\n if (console && console.debug) {\r\n console.debug('Timing out local db request because it took more than ' + readRequestTimeout + 'ms');\r\n }\r\n return null;\r\n }\r\n return item;\r\n}\r\n\r\nfunction timeout(timeout: number) {\r\n return new Promise(resolve => {\r\n setTimeout(() => {\r\n resolve({ timeout: true });\r\n }, timeout);\r\n });\r\n}\r\n","import React from 'react';\r\nimport { styled, StyledComponent, StyledProps } from '@glitz/react';\r\nimport connect from 'Shared/connect';\r\nimport AppShellSitePagesType from './../../AppShell/Models/SitePages.type';\r\nimport AppShellMarketType from './../../AppShell/Models/Market.type';\r\nimport AppShellContentType from './../../AppShell/Models/Content.type';\r\nimport Button, { Appearance as ButtonAppearance, PropType as ButtonPropType } from 'Shared/Button';\r\nimport CartIndicatorButton from './CartIndicatorButton';\r\nimport { isCompact } from 'Shared/Viewport';\r\nimport SiteHeaderType from './SiteHeader.type';\r\nimport * as style from 'Shared/Style';\r\nimport { Menu24x24 } from 'Shared/Icons/Menu';\r\nimport { AccountBoxScene, openAccountBox } from 'SiteLayout/AccountBox/action-creators';\r\nimport { ActionIconFromIconCode, iconCodes, MenuLinkItemOnClick } from 'SiteLayout/MainMenu';\r\nimport MenuLinkItem from 'SiteLayout/MainMenu/MenuLinkItem.type';\r\nimport GetFlagIcon from 'Shared/Icons/Flags'\r\n\r\ntype ConnectPropType = {\r\n pages: AppShellSitePagesType;\r\n header: SiteHeaderType;\r\n currentBreakpoint: number;\r\n quickSearchIsOpen: boolean;\r\n twoLetterCountryCode: string;\r\n language: string;\r\n market: AppShellMarketType;\r\n content: AppShellContentType;\r\n storeMode: boolean;\r\n};\r\n\r\ntype PropType = ConnectPropType & {\r\n withText: boolean;\r\n inverseFGColor: boolean;\r\n};\r\n\r\ntype ActionButtonPropType = ButtonPropType & {\r\n text?: string;\r\n Icon?: StyledComponent;\r\n withText?: boolean;\r\n alwaysText?: boolean;\r\n};\r\n\r\nconst Base = styled.div({\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'flex-end',\r\n gap: '16px',\r\n ['@media ' + style.mediaMinLarge]: {\r\n gap: '24px'\r\n },\r\n});\r\n\r\nconst IconText = styled.span({\r\n fontWeight: 450,\r\n marginLeft: '5px',\r\n verticalAlign: 'text-top',\r\n display: 'none',\r\n fontSize: '16px',\r\n ['@media ' + style.mediaMinLarge]: {\r\n display: 'inline-block',\r\n },\r\n});\r\n\r\nconst AlwaysIconText = styled(IconText, {\r\n display: 'inline-block',\r\n fontSize: '14px',\r\n marginTop: '4px',\r\n marginLeft: 0,\r\n fontWeight: 'bold',\r\n});\r\n\r\nconst ButtonWrap = styled.div({\r\n display: 'flex',\r\n fontSize: '14px',\r\n})\r\n\r\nconst ButtonInner = styled(Button, {\r\n display: 'inline-flex',\r\n})\r\n\r\nconst ButtonInnerWithText = styled(ButtonInner, {\r\n flexDirection: 'column',\r\n alignItems: 'center'\r\n})\r\n\r\nconst CartIndicator = (props: { linkItem: MenuLinkItem, type: string, inverseFGColor: boolean, onClick: (e: any) => void; }) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport const ActionButton = styled(function ActionButton(props: ActionButtonPropType & StyledProps) {\r\n const { compose, text, Icon, withText, alwaysText, ...buttonProps } = props;\r\n const showText = !!props.text && props.withText;\r\n const forceText = !!props.text && props.alwaysText;\r\n const BtnWrap = alwaysText ? ButtonInnerWithText : ButtonInner;\r\n return (\r\n \r\n \r\n \r\n {forceText && {text}}\r\n {!forceText && showText && {text}}\r\n \r\n \r\n );\r\n});\r\n\r\nconst ActionButtons = styled(\r\n (\r\n props: PropType &\r\n StyledProps & {\r\n toggleTopLinks: () => void;\r\n openAccountBox: () => void;\r\n },\r\n ) => {\r\n const {\r\n header,\r\n toggleTopLinks,\r\n openAccountBox,\r\n inverseFGColor,\r\n } = props;\r\n\r\n const isMobile = isCompact(props.currentBreakpoint);\r\n const cartLinkItem = header.functionLinks && header.functionLinks.find(x => x.iconCode === 'CART');\r\n const wishListItem = header.functionLinks && header.functionLinks.find(x => x.iconCode === 'WISHLIST');\r\n const filteredFunctionLinks = header.functionLinks && header.functionLinks.filter(f => !['CART', 'WISHLIST'].includes(f.iconCode) && (isMobile ? f.relocateForSmallDevice === false : f.iconCode !== 'NOVALUE'));\r\n const subMenuLinkCount = header.subMenuLinks?.length ?? 0;\r\n\r\n return (\r\n \r\n {filteredFunctionLinks &&\r\n filteredFunctionLinks.map(\r\n (link, index) =>\r\n iconCodes.find(e => e === link.iconCode) && (\r\n {\r\n e.preventDefault();\r\n MenuLinkItemOnClick(link, openAccountBox);\r\n }}\r\n Icon={\r\n (link.iconCode === \"FLAG\" ? GetFlagIcon(props.twoLetterCountryCode) :\r\n ((() => (\r\n \r\n )) as unknown) as StyledComponent)\r\n }\r\n withText={link.iconCode !== \"FLAG\" && !!link.title}\r\n text={link.title}\r\n title={link.title}\r\n />\r\n ),\r\n )\r\n }\r\n\r\n {wishListItem && wishListItem.url && !props.storeMode && (\r\n \r\n )}\r\n\r\n {cartLinkItem && cartLinkItem.url && !props.storeMode && (\r\n \r\n )}\r\n\r\n {!isMobile && subMenuLinkCount > 0 && }\r\n \r\n );\r\n },\r\n);\r\n\r\nexport default connect(\r\n state => ({\r\n pages: state.appShellData.pages,\r\n currentBreakpoint: state.currentBreakpoint,\r\n quickSearchIsOpen: state.quickSearch.isOpen,\r\n header: state.appShellData.header,\r\n twoLetterCountryCode: state.appShellData.context.twoLetterCountryCode,\r\n language: state.appShellData.market.language,\r\n market: state.appShellData.market,\r\n content: state.appShellData.content,\r\n storeMode: state.appShellData.context.isStoreMode,\r\n }),\r\n dispatch => ({\r\n openAccountBox(scene?: AccountBoxScene) {\r\n dispatch(openAccountBox(scene));\r\n },\r\n }),\r\n)(ActionButtons);\r\n","import { PageType } from 'Shared/State';\r\nimport { componentNames } from 'Shared/component-registry';\r\nimport SearchPageViewModelType from './SearchPageViewModel.type';\r\n\r\ntype SearchPageType = PageType & SearchPageViewModelType;\r\n\r\nexport default (currentPage: PageType): currentPage is SearchPageType => {\r\n return componentIsSearch(currentPage.componentName);\r\n};\r\n\r\nexport function componentIsSearch(component: string) {\r\n return component === componentNames.Avensia_Common_Features_Search_SearchPageViewModel;\r\n}\r\n","/**\n * SSR Window 4.0.2\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2021, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: December 13, 2021\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return (obj !== null &&\n typeof obj === 'object' &&\n 'constructor' in obj &&\n obj.constructor === Object);\n}\nfunction extend(target = {}, src = {}) {\n Object.keys(src).forEach((key) => {\n if (typeof target[key] === 'undefined')\n target[key] = src[key];\n else if (isObject(src[key]) &&\n isObject(target[key]) &&\n Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\n\nconst ssrDocument = {\n body: {},\n addEventListener() { },\n removeEventListener() { },\n activeElement: {\n blur() { },\n nodeName: '',\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() { },\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() { },\n getElementsByTagName() {\n return [];\n },\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: '',\n },\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\n\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: '',\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: '',\n },\n history: {\n replaceState() { },\n pushState() { },\n go() { },\n back() { },\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() { },\n removeEventListener() { },\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n },\n };\n },\n Image() { },\n Date() { },\n screen: {},\n setTimeout() { },\n clearTimeout() { },\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n },\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { extend, getDocument, getWindow, ssrDocument, ssrWindow };\n","/**\n * Dom7 4.0.6\n * Minimalistic JavaScript library for DOM manipulation, with a jQuery-compatible API\n * https://framework7.io/docs/dom7.html\n *\n * Copyright 2023, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: February 2, 2023\n */\nimport { getWindow, getDocument } from 'ssr-window';\n\n/* eslint-disable no-proto */\nfunction makeReactive(obj) {\n const proto = obj.__proto__;\n Object.defineProperty(obj, '__proto__', {\n get() {\n return proto;\n },\n\n set(value) {\n proto.__proto__ = value;\n }\n\n });\n}\n\nclass Dom7 extends Array {\n constructor(items) {\n if (typeof items === 'number') {\n super(items);\n } else {\n super(...(items || []));\n makeReactive(this);\n }\n }\n\n}\n\nfunction arrayFlat(arr = []) {\n const res = [];\n arr.forEach(el => {\n if (Array.isArray(el)) {\n res.push(...arrayFlat(el));\n } else {\n res.push(el);\n }\n });\n return res;\n}\nfunction arrayFilter(arr, callback) {\n return Array.prototype.filter.call(arr, callback);\n}\nfunction arrayUnique(arr) {\n const uniqueArray = [];\n\n for (let i = 0; i < arr.length; i += 1) {\n if (uniqueArray.indexOf(arr[i]) === -1) uniqueArray.push(arr[i]);\n }\n\n return uniqueArray;\n}\nfunction toCamelCase(string) {\n return string.toLowerCase().replace(/-(.)/g, (match, group) => group.toUpperCase());\n}\n\n// eslint-disable-next-line\n\nfunction qsa(selector, context) {\n if (typeof selector !== 'string') {\n return [selector];\n }\n\n const a = [];\n const res = context.querySelectorAll(selector);\n\n for (let i = 0; i < res.length; i += 1) {\n a.push(res[i]);\n }\n\n return a;\n}\n\nfunction $(selector, context) {\n const window = getWindow();\n const document = getDocument();\n let arr = [];\n\n if (!context && selector instanceof Dom7) {\n return selector;\n }\n\n if (!selector) {\n return new Dom7(arr);\n }\n\n if (typeof selector === 'string') {\n const html = selector.trim();\n\n if (html.indexOf('<') >= 0 && html.indexOf('>') >= 0) {\n let toCreate = 'div';\n if (html.indexOf(' c.split(' ')));\n this.forEach(el => {\n el.classList.add(...classNames);\n });\n return this;\n}\n\nfunction removeClass(...classes) {\n const classNames = arrayFlat(classes.map(c => c.split(' ')));\n this.forEach(el => {\n el.classList.remove(...classNames);\n });\n return this;\n}\n\nfunction toggleClass(...classes) {\n const classNames = arrayFlat(classes.map(c => c.split(' ')));\n this.forEach(el => {\n classNames.forEach(className => {\n el.classList.toggle(className);\n });\n });\n}\n\nfunction hasClass(...classes) {\n const classNames = arrayFlat(classes.map(c => c.split(' ')));\n return arrayFilter(this, el => {\n return classNames.filter(className => el.classList.contains(className)).length > 0;\n }).length > 0;\n}\n\nfunction attr(attrs, value) {\n if (arguments.length === 1 && typeof attrs === 'string') {\n // Get attr\n if (this[0]) return this[0].getAttribute(attrs);\n return undefined;\n } // Set attrs\n\n\n for (let i = 0; i < this.length; i += 1) {\n if (arguments.length === 2) {\n // String\n this[i].setAttribute(attrs, value);\n } else {\n // Object\n for (const attrName in attrs) {\n this[i][attrName] = attrs[attrName];\n this[i].setAttribute(attrName, attrs[attrName]);\n }\n }\n }\n\n return this;\n}\n\nfunction removeAttr(attr) {\n for (let i = 0; i < this.length; i += 1) {\n this[i].removeAttribute(attr);\n }\n\n return this;\n}\n\nfunction prop(props, value) {\n if (arguments.length === 1 && typeof props === 'string') {\n // Get prop\n if (this[0]) return this[0][props];\n } else {\n // Set props\n for (let i = 0; i < this.length; i += 1) {\n if (arguments.length === 2) {\n // String\n this[i][props] = value;\n } else {\n // Object\n for (const propName in props) {\n this[i][propName] = props[propName];\n }\n }\n }\n\n return this;\n }\n\n return this;\n}\n\nfunction data(key, value) {\n let el;\n\n if (typeof value === 'undefined') {\n el = this[0];\n if (!el) return undefined; // Get value\n\n if (el.dom7ElementDataStorage && key in el.dom7ElementDataStorage) {\n return el.dom7ElementDataStorage[key];\n }\n\n const dataKey = el.getAttribute(`data-${key}`);\n\n if (dataKey) {\n return dataKey;\n }\n\n return undefined;\n } // Set value\n\n\n for (let i = 0; i < this.length; i += 1) {\n el = this[i];\n if (!el.dom7ElementDataStorage) el.dom7ElementDataStorage = {};\n el.dom7ElementDataStorage[key] = value;\n }\n\n return this;\n}\n\nfunction removeData(key) {\n for (let i = 0; i < this.length; i += 1) {\n const el = this[i];\n\n if (el.dom7ElementDataStorage && el.dom7ElementDataStorage[key]) {\n el.dom7ElementDataStorage[key] = null;\n delete el.dom7ElementDataStorage[key];\n }\n }\n}\n\nfunction dataset() {\n const el = this[0];\n if (!el) return undefined;\n const dataset = {}; // eslint-disable-line\n\n if (el.dataset) {\n for (const dataKey in el.dataset) {\n dataset[dataKey] = el.dataset[dataKey];\n }\n } else {\n for (let i = 0; i < el.attributes.length; i += 1) {\n const attr = el.attributes[i];\n\n if (attr.name.indexOf('data-') >= 0) {\n dataset[toCamelCase(attr.name.split('data-')[1])] = attr.value;\n }\n }\n }\n\n for (const key in dataset) {\n if (dataset[key] === 'false') dataset[key] = false;else if (dataset[key] === 'true') dataset[key] = true;else if (parseFloat(dataset[key]) === dataset[key] * 1) dataset[key] *= 1;\n }\n\n return dataset;\n}\n\nfunction val(value) {\n if (typeof value === 'undefined') {\n // get value\n const el = this[0];\n if (!el) return undefined;\n\n if (el.multiple && el.nodeName.toLowerCase() === 'select') {\n const values = [];\n\n for (let i = 0; i < el.selectedOptions.length; i += 1) {\n values.push(el.selectedOptions[i].value);\n }\n\n return values;\n }\n\n return el.value;\n } // set value\n\n\n for (let i = 0; i < this.length; i += 1) {\n const el = this[i];\n\n if (Array.isArray(value) && el.multiple && el.nodeName.toLowerCase() === 'select') {\n for (let j = 0; j < el.options.length; j += 1) {\n el.options[j].selected = value.indexOf(el.options[j].value) >= 0;\n }\n } else {\n el.value = value;\n }\n }\n\n return this;\n}\n\nfunction value(value) {\n return this.val(value);\n}\n\nfunction transform(transform) {\n for (let i = 0; i < this.length; i += 1) {\n this[i].style.transform = transform;\n }\n\n return this;\n}\n\nfunction transition(duration) {\n for (let i = 0; i < this.length; i += 1) {\n this[i].style.transitionDuration = typeof duration !== 'string' ? `${duration}ms` : duration;\n }\n\n return this;\n}\n\nfunction on(...args) {\n let [eventType, targetSelector, listener, capture] = args;\n\n if (typeof args[1] === 'function') {\n [eventType, listener, capture] = args;\n targetSelector = undefined;\n }\n\n if (!capture) capture = false;\n\n function handleLiveEvent(e) {\n const target = e.target;\n if (!target) return;\n const eventData = e.target.dom7EventData || [];\n\n if (eventData.indexOf(e) < 0) {\n eventData.unshift(e);\n }\n\n if ($(target).is(targetSelector)) listener.apply(target, eventData);else {\n const parents = $(target).parents(); // eslint-disable-line\n\n for (let k = 0; k < parents.length; k += 1) {\n if ($(parents[k]).is(targetSelector)) listener.apply(parents[k], eventData);\n }\n }\n }\n\n function handleEvent(e) {\n const eventData = e && e.target ? e.target.dom7EventData || [] : [];\n\n if (eventData.indexOf(e) < 0) {\n eventData.unshift(e);\n }\n\n listener.apply(this, eventData);\n }\n\n const events = eventType.split(' ');\n let j;\n\n for (let i = 0; i < this.length; i += 1) {\n const el = this[i];\n\n if (!targetSelector) {\n for (j = 0; j < events.length; j += 1) {\n const event = events[j];\n if (!el.dom7Listeners) el.dom7Listeners = {};\n if (!el.dom7Listeners[event]) el.dom7Listeners[event] = [];\n el.dom7Listeners[event].push({\n listener,\n proxyListener: handleEvent\n });\n el.addEventListener(event, handleEvent, capture);\n }\n } else {\n // Live events\n for (j = 0; j < events.length; j += 1) {\n const event = events[j];\n if (!el.dom7LiveListeners) el.dom7LiveListeners = {};\n if (!el.dom7LiveListeners[event]) el.dom7LiveListeners[event] = [];\n el.dom7LiveListeners[event].push({\n listener,\n proxyListener: handleLiveEvent\n });\n el.addEventListener(event, handleLiveEvent, capture);\n }\n }\n }\n\n return this;\n}\n\nfunction off(...args) {\n let [eventType, targetSelector, listener, capture] = args;\n\n if (typeof args[1] === 'function') {\n [eventType, listener, capture] = args;\n targetSelector = undefined;\n }\n\n if (!capture) capture = false;\n const events = eventType.split(' ');\n\n for (let i = 0; i < events.length; i += 1) {\n const event = events[i];\n\n for (let j = 0; j < this.length; j += 1) {\n const el = this[j];\n let handlers;\n\n if (!targetSelector && el.dom7Listeners) {\n handlers = el.dom7Listeners[event];\n } else if (targetSelector && el.dom7LiveListeners) {\n handlers = el.dom7LiveListeners[event];\n }\n\n if (handlers && handlers.length) {\n for (let k = handlers.length - 1; k >= 0; k -= 1) {\n const handler = handlers[k];\n\n if (listener && handler.listener === listener) {\n el.removeEventListener(event, handler.proxyListener, capture);\n handlers.splice(k, 1);\n } else if (listener && handler.listener && handler.listener.dom7proxy && handler.listener.dom7proxy === listener) {\n el.removeEventListener(event, handler.proxyListener, capture);\n handlers.splice(k, 1);\n } else if (!listener) {\n el.removeEventListener(event, handler.proxyListener, capture);\n handlers.splice(k, 1);\n }\n }\n }\n }\n }\n\n return this;\n}\n\nfunction once(...args) {\n const dom = this;\n let [eventName, targetSelector, listener, capture] = args;\n\n if (typeof args[1] === 'function') {\n [eventName, listener, capture] = args;\n targetSelector = undefined;\n }\n\n function onceHandler(...eventArgs) {\n listener.apply(this, eventArgs);\n dom.off(eventName, targetSelector, onceHandler, capture);\n\n if (onceHandler.dom7proxy) {\n delete onceHandler.dom7proxy;\n }\n }\n\n onceHandler.dom7proxy = listener;\n return dom.on(eventName, targetSelector, onceHandler, capture);\n}\n\nfunction trigger(...args) {\n const window = getWindow();\n const events = args[0].split(' ');\n const eventData = args[1];\n\n for (let i = 0; i < events.length; i += 1) {\n const event = events[i];\n\n for (let j = 0; j < this.length; j += 1) {\n const el = this[j];\n\n if (window.CustomEvent) {\n const evt = new window.CustomEvent(event, {\n detail: eventData,\n bubbles: true,\n cancelable: true\n });\n el.dom7EventData = args.filter((data, dataIndex) => dataIndex > 0);\n el.dispatchEvent(evt);\n el.dom7EventData = [];\n delete el.dom7EventData;\n }\n }\n }\n\n return this;\n}\n\nfunction transitionStart(callback) {\n const dom = this;\n\n function fireCallBack(e) {\n if (e.target !== this) return;\n callback.call(this, e);\n dom.off('transitionstart', fireCallBack);\n }\n\n if (callback) {\n dom.on('transitionstart', fireCallBack);\n }\n\n return this;\n}\n\nfunction transitionEnd(callback) {\n const dom = this;\n\n function fireCallBack(e) {\n if (e.target !== this) return;\n callback.call(this, e);\n dom.off('transitionend', fireCallBack);\n }\n\n if (callback) {\n dom.on('transitionend', fireCallBack);\n }\n\n return this;\n}\n\nfunction animationEnd(callback) {\n const dom = this;\n\n function fireCallBack(e) {\n if (e.target !== this) return;\n callback.call(this, e);\n dom.off('animationend', fireCallBack);\n }\n\n if (callback) {\n dom.on('animationend', fireCallBack);\n }\n\n return this;\n}\n\nfunction width() {\n const window = getWindow();\n\n if (this[0] === window) {\n return window.innerWidth;\n }\n\n if (this.length > 0) {\n return parseFloat(this.css('width'));\n }\n\n return null;\n}\n\nfunction outerWidth(includeMargins) {\n if (this.length > 0) {\n if (includeMargins) {\n const styles = this.styles();\n return this[0].offsetWidth + parseFloat(styles.getPropertyValue('margin-right')) + parseFloat(styles.getPropertyValue('margin-left'));\n }\n\n return this[0].offsetWidth;\n }\n\n return null;\n}\n\nfunction height() {\n const window = getWindow();\n\n if (this[0] === window) {\n return window.innerHeight;\n }\n\n if (this.length > 0) {\n return parseFloat(this.css('height'));\n }\n\n return null;\n}\n\nfunction outerHeight(includeMargins) {\n if (this.length > 0) {\n if (includeMargins) {\n const styles = this.styles();\n return this[0].offsetHeight + parseFloat(styles.getPropertyValue('margin-top')) + parseFloat(styles.getPropertyValue('margin-bottom'));\n }\n\n return this[0].offsetHeight;\n }\n\n return null;\n}\n\nfunction offset() {\n if (this.length > 0) {\n const window = getWindow();\n const document = getDocument();\n const el = this[0];\n const box = el.getBoundingClientRect();\n const body = document.body;\n const clientTop = el.clientTop || body.clientTop || 0;\n const clientLeft = el.clientLeft || body.clientLeft || 0;\n const scrollTop = el === window ? window.scrollY : el.scrollTop;\n const scrollLeft = el === window ? window.scrollX : el.scrollLeft;\n return {\n top: box.top + scrollTop - clientTop,\n left: box.left + scrollLeft - clientLeft\n };\n }\n\n return null;\n}\n\nfunction hide() {\n for (let i = 0; i < this.length; i += 1) {\n this[i].style.display = 'none';\n }\n\n return this;\n}\n\nfunction show() {\n const window = getWindow();\n\n for (let i = 0; i < this.length; i += 1) {\n const el = this[i];\n\n if (el.style.display === 'none') {\n el.style.display = '';\n }\n\n if (window.getComputedStyle(el, null).getPropertyValue('display') === 'none') {\n // Still not visible\n el.style.display = 'block';\n }\n }\n\n return this;\n}\n\nfunction styles() {\n const window = getWindow();\n if (this[0]) return window.getComputedStyle(this[0], null);\n return {};\n}\n\nfunction css(props, value) {\n const window = getWindow();\n let i;\n\n if (arguments.length === 1) {\n if (typeof props === 'string') {\n // .css('width')\n if (this[0]) return window.getComputedStyle(this[0], null).getPropertyValue(props);\n } else {\n // .css({ width: '100px' })\n for (i = 0; i < this.length; i += 1) {\n for (const prop in props) {\n this[i].style[prop] = props[prop];\n }\n }\n\n return this;\n }\n }\n\n if (arguments.length === 2 && typeof props === 'string') {\n // .css('width', '100px')\n for (i = 0; i < this.length; i += 1) {\n this[i].style[props] = value;\n }\n\n return this;\n }\n\n return this;\n}\n\nfunction each(callback) {\n if (!callback) return this;\n this.forEach((el, index) => {\n callback.apply(el, [el, index]);\n });\n return this;\n}\n\nfunction filter(callback) {\n const result = arrayFilter(this, callback);\n return $(result);\n}\n\nfunction html(html) {\n if (typeof html === 'undefined') {\n return this[0] ? this[0].innerHTML : null;\n }\n\n for (let i = 0; i < this.length; i += 1) {\n this[i].innerHTML = html;\n }\n\n return this;\n}\n\nfunction text(text) {\n if (typeof text === 'undefined') {\n return this[0] ? this[0].textContent.trim() : null;\n }\n\n for (let i = 0; i < this.length; i += 1) {\n this[i].textContent = text;\n }\n\n return this;\n}\n\nfunction is(selector) {\n const window = getWindow();\n const document = getDocument();\n const el = this[0];\n let compareWith;\n let i;\n if (!el || typeof selector === 'undefined') return false;\n\n if (typeof selector === 'string') {\n if (el.matches) return el.matches(selector);\n if (el.webkitMatchesSelector) return el.webkitMatchesSelector(selector);\n if (el.msMatchesSelector) return el.msMatchesSelector(selector);\n compareWith = $(selector);\n\n for (i = 0; i < compareWith.length; i += 1) {\n if (compareWith[i] === el) return true;\n }\n\n return false;\n }\n\n if (selector === document) {\n return el === document;\n }\n\n if (selector === window) {\n return el === window;\n }\n\n if (selector.nodeType || selector instanceof Dom7) {\n compareWith = selector.nodeType ? [selector] : selector;\n\n for (i = 0; i < compareWith.length; i += 1) {\n if (compareWith[i] === el) return true;\n }\n\n return false;\n }\n\n return false;\n}\n\nfunction index() {\n let child = this[0];\n let i;\n\n if (child) {\n i = 0; // eslint-disable-next-line\n\n while ((child = child.previousSibling) !== null) {\n if (child.nodeType === 1) i += 1;\n }\n\n return i;\n }\n\n return undefined;\n}\n\nfunction eq(index) {\n if (typeof index === 'undefined') return this;\n const length = this.length;\n\n if (index > length - 1) {\n return $([]);\n }\n\n if (index < 0) {\n const returnIndex = length + index;\n if (returnIndex < 0) return $([]);\n return $([this[returnIndex]]);\n }\n\n return $([this[index]]);\n}\n\nfunction append(...els) {\n let newChild;\n const document = getDocument();\n\n for (let k = 0; k < els.length; k += 1) {\n newChild = els[k];\n\n for (let i = 0; i < this.length; i += 1) {\n if (typeof newChild === 'string') {\n const tempDiv = document.createElement('div');\n tempDiv.innerHTML = newChild;\n\n while (tempDiv.firstChild) {\n this[i].appendChild(tempDiv.firstChild);\n }\n } else if (newChild instanceof Dom7) {\n for (let j = 0; j < newChild.length; j += 1) {\n this[i].appendChild(newChild[j]);\n }\n } else {\n this[i].appendChild(newChild);\n }\n }\n }\n\n return this;\n}\n\nfunction appendTo(parent) {\n $(parent).append(this);\n return this;\n}\n\nfunction prepend(newChild) {\n const document = getDocument();\n let i;\n let j;\n\n for (i = 0; i < this.length; i += 1) {\n if (typeof newChild === 'string') {\n const tempDiv = document.createElement('div');\n tempDiv.innerHTML = newChild;\n\n for (j = tempDiv.childNodes.length - 1; j >= 0; j -= 1) {\n this[i].insertBefore(tempDiv.childNodes[j], this[i].childNodes[0]);\n }\n } else if (newChild instanceof Dom7) {\n for (j = 0; j < newChild.length; j += 1) {\n this[i].insertBefore(newChild[j], this[i].childNodes[0]);\n }\n } else {\n this[i].insertBefore(newChild, this[i].childNodes[0]);\n }\n }\n\n return this;\n}\n\nfunction prependTo(parent) {\n $(parent).prepend(this);\n return this;\n}\n\nfunction insertBefore(selector) {\n const before = $(selector);\n\n for (let i = 0; i < this.length; i += 1) {\n if (before.length === 1) {\n before[0].parentNode.insertBefore(this[i], before[0]);\n } else if (before.length > 1) {\n for (let j = 0; j < before.length; j += 1) {\n before[j].parentNode.insertBefore(this[i].cloneNode(true), before[j]);\n }\n }\n }\n}\n\nfunction insertAfter(selector) {\n const after = $(selector);\n\n for (let i = 0; i < this.length; i += 1) {\n if (after.length === 1) {\n after[0].parentNode.insertBefore(this[i], after[0].nextSibling);\n } else if (after.length > 1) {\n for (let j = 0; j < after.length; j += 1) {\n after[j].parentNode.insertBefore(this[i].cloneNode(true), after[j].nextSibling);\n }\n }\n }\n}\n\nfunction next(selector) {\n if (this.length > 0) {\n if (selector) {\n if (this[0].nextElementSibling && $(this[0].nextElementSibling).is(selector)) {\n return $([this[0].nextElementSibling]);\n }\n\n return $([]);\n }\n\n if (this[0].nextElementSibling) return $([this[0].nextElementSibling]);\n return $([]);\n }\n\n return $([]);\n}\n\nfunction nextAll(selector) {\n const nextEls = [];\n let el = this[0];\n if (!el) return $([]);\n\n while (el.nextElementSibling) {\n const next = el.nextElementSibling; // eslint-disable-line\n\n if (selector) {\n if ($(next).is(selector)) nextEls.push(next);\n } else nextEls.push(next);\n\n el = next;\n }\n\n return $(nextEls);\n}\n\nfunction prev(selector) {\n if (this.length > 0) {\n const el = this[0];\n\n if (selector) {\n if (el.previousElementSibling && $(el.previousElementSibling).is(selector)) {\n return $([el.previousElementSibling]);\n }\n\n return $([]);\n }\n\n if (el.previousElementSibling) return $([el.previousElementSibling]);\n return $([]);\n }\n\n return $([]);\n}\n\nfunction prevAll(selector) {\n const prevEls = [];\n let el = this[0];\n if (!el) return $([]);\n\n while (el.previousElementSibling) {\n const prev = el.previousElementSibling; // eslint-disable-line\n\n if (selector) {\n if ($(prev).is(selector)) prevEls.push(prev);\n } else prevEls.push(prev);\n\n el = prev;\n }\n\n return $(prevEls);\n}\n\nfunction siblings(selector) {\n return this.nextAll(selector).add(this.prevAll(selector));\n}\n\nfunction parent(selector) {\n const parents = []; // eslint-disable-line\n\n for (let i = 0; i < this.length; i += 1) {\n if (this[i].parentNode !== null) {\n if (selector) {\n if ($(this[i].parentNode).is(selector)) parents.push(this[i].parentNode);\n } else {\n parents.push(this[i].parentNode);\n }\n }\n }\n\n return $(parents);\n}\n\nfunction parents(selector) {\n const parents = []; // eslint-disable-line\n\n for (let i = 0; i < this.length; i += 1) {\n let parent = this[i].parentNode; // eslint-disable-line\n\n while (parent) {\n if (selector) {\n if ($(parent).is(selector)) parents.push(parent);\n } else {\n parents.push(parent);\n }\n\n parent = parent.parentNode;\n }\n }\n\n return $(parents);\n}\n\nfunction closest(selector) {\n let closest = this; // eslint-disable-line\n\n if (typeof selector === 'undefined') {\n return $([]);\n }\n\n if (!closest.is(selector)) {\n closest = closest.parents(selector).eq(0);\n }\n\n return closest;\n}\n\nfunction find(selector) {\n const foundElements = [];\n\n for (let i = 0; i < this.length; i += 1) {\n const found = this[i].querySelectorAll(selector);\n\n for (let j = 0; j < found.length; j += 1) {\n foundElements.push(found[j]);\n }\n }\n\n return $(foundElements);\n}\n\nfunction children(selector) {\n const children = []; // eslint-disable-line\n\n for (let i = 0; i < this.length; i += 1) {\n const childNodes = this[i].children;\n\n for (let j = 0; j < childNodes.length; j += 1) {\n if (!selector || $(childNodes[j]).is(selector)) {\n children.push(childNodes[j]);\n }\n }\n }\n\n return $(children);\n}\n\nfunction remove() {\n for (let i = 0; i < this.length; i += 1) {\n if (this[i].parentNode) this[i].parentNode.removeChild(this[i]);\n }\n\n return this;\n}\n\nfunction detach() {\n return this.remove();\n}\n\nfunction add(...els) {\n const dom = this;\n let i;\n let j;\n\n for (i = 0; i < els.length; i += 1) {\n const toAdd = $(els[i]);\n\n for (j = 0; j < toAdd.length; j += 1) {\n dom.push(toAdd[j]);\n }\n }\n\n return dom;\n}\n\nfunction empty() {\n for (let i = 0; i < this.length; i += 1) {\n const el = this[i];\n\n if (el.nodeType === 1) {\n for (let j = 0; j < el.childNodes.length; j += 1) {\n if (el.childNodes[j].parentNode) {\n el.childNodes[j].parentNode.removeChild(el.childNodes[j]);\n }\n }\n\n el.textContent = '';\n }\n }\n\n return this;\n}\n\n// eslint-disable-next-line\n\nfunction scrollTo(...args) {\n const window = getWindow();\n let [left, top, duration, easing, callback] = args;\n\n if (args.length === 4 && typeof easing === 'function') {\n callback = easing;\n [left, top, duration, callback, easing] = args;\n }\n\n if (typeof easing === 'undefined') easing = 'swing';\n return this.each(function animate() {\n const el = this;\n let currentTop;\n let currentLeft;\n let maxTop;\n let maxLeft;\n let newTop;\n let newLeft;\n let scrollTop; // eslint-disable-line\n\n let scrollLeft; // eslint-disable-line\n\n let animateTop = top > 0 || top === 0;\n let animateLeft = left > 0 || left === 0;\n\n if (typeof easing === 'undefined') {\n easing = 'swing';\n }\n\n if (animateTop) {\n currentTop = el.scrollTop;\n\n if (!duration) {\n el.scrollTop = top;\n }\n }\n\n if (animateLeft) {\n currentLeft = el.scrollLeft;\n\n if (!duration) {\n el.scrollLeft = left;\n }\n }\n\n if (!duration) return;\n\n if (animateTop) {\n maxTop = el.scrollHeight - el.offsetHeight;\n newTop = Math.max(Math.min(top, maxTop), 0);\n }\n\n if (animateLeft) {\n maxLeft = el.scrollWidth - el.offsetWidth;\n newLeft = Math.max(Math.min(left, maxLeft), 0);\n }\n\n let startTime = null;\n if (animateTop && newTop === currentTop) animateTop = false;\n if (animateLeft && newLeft === currentLeft) animateLeft = false;\n\n function render(time = new Date().getTime()) {\n if (startTime === null) {\n startTime = time;\n }\n\n const progress = Math.max(Math.min((time - startTime) / duration, 1), 0);\n const easeProgress = easing === 'linear' ? progress : 0.5 - Math.cos(progress * Math.PI) / 2;\n let done;\n if (animateTop) scrollTop = currentTop + easeProgress * (newTop - currentTop);\n if (animateLeft) scrollLeft = currentLeft + easeProgress * (newLeft - currentLeft);\n\n if (animateTop && newTop > currentTop && scrollTop >= newTop) {\n el.scrollTop = newTop;\n done = true;\n }\n\n if (animateTop && newTop < currentTop && scrollTop <= newTop) {\n el.scrollTop = newTop;\n done = true;\n }\n\n if (animateLeft && newLeft > currentLeft && scrollLeft >= newLeft) {\n el.scrollLeft = newLeft;\n done = true;\n }\n\n if (animateLeft && newLeft < currentLeft && scrollLeft <= newLeft) {\n el.scrollLeft = newLeft;\n done = true;\n }\n\n if (done) {\n if (callback) callback();\n return;\n }\n\n if (animateTop) el.scrollTop = scrollTop;\n if (animateLeft) el.scrollLeft = scrollLeft;\n window.requestAnimationFrame(render);\n }\n\n window.requestAnimationFrame(render);\n });\n} // scrollTop(top, duration, easing, callback) {\n\n\nfunction scrollTop(...args) {\n let [top, duration, easing, callback] = args;\n\n if (args.length === 3 && typeof easing === 'function') {\n [top, duration, callback, easing] = args;\n }\n\n const dom = this;\n\n if (typeof top === 'undefined') {\n if (dom.length > 0) return dom[0].scrollTop;\n return null;\n }\n\n return dom.scrollTo(undefined, top, duration, easing, callback);\n}\n\nfunction scrollLeft(...args) {\n let [left, duration, easing, callback] = args;\n\n if (args.length === 3 && typeof easing === 'function') {\n [left, duration, callback, easing] = args;\n }\n\n const dom = this;\n\n if (typeof left === 'undefined') {\n if (dom.length > 0) return dom[0].scrollLeft;\n return null;\n }\n\n return dom.scrollTo(left, undefined, duration, easing, callback);\n}\n\n// eslint-disable-next-line\n\nfunction animate(initialProps, initialParams) {\n const window = getWindow();\n const els = this;\n const a = {\n props: Object.assign({}, initialProps),\n params: Object.assign({\n duration: 300,\n easing: 'swing' // or 'linear'\n\n /* Callbacks\n begin(elements)\n complete(elements)\n progress(elements, complete, remaining, start, tweenValue)\n */\n\n }, initialParams),\n elements: els,\n animating: false,\n que: [],\n\n easingProgress(easing, progress) {\n if (easing === 'swing') {\n return 0.5 - Math.cos(progress * Math.PI) / 2;\n }\n\n if (typeof easing === 'function') {\n return easing(progress);\n }\n\n return progress;\n },\n\n stop() {\n if (a.frameId) {\n window.cancelAnimationFrame(a.frameId);\n }\n\n a.animating = false;\n a.elements.each(el => {\n const element = el;\n delete element.dom7AnimateInstance;\n });\n a.que = [];\n },\n\n done(complete) {\n a.animating = false;\n a.elements.each(el => {\n const element = el;\n delete element.dom7AnimateInstance;\n });\n if (complete) complete(els);\n\n if (a.que.length > 0) {\n const que = a.que.shift();\n a.animate(que[0], que[1]);\n }\n },\n\n animate(props, params) {\n if (a.animating) {\n a.que.push([props, params]);\n return a;\n }\n\n const elements = []; // Define & Cache Initials & Units\n\n a.elements.each((el, index) => {\n let initialFullValue;\n let initialValue;\n let unit;\n let finalValue;\n let finalFullValue;\n if (!el.dom7AnimateInstance) a.elements[index].dom7AnimateInstance = a;\n elements[index] = {\n container: el\n };\n Object.keys(props).forEach(prop => {\n initialFullValue = window.getComputedStyle(el, null).getPropertyValue(prop).replace(',', '.');\n initialValue = parseFloat(initialFullValue);\n unit = initialFullValue.replace(initialValue, '');\n finalValue = parseFloat(props[prop]);\n finalFullValue = props[prop] + unit;\n elements[index][prop] = {\n initialFullValue,\n initialValue,\n unit,\n finalValue,\n finalFullValue,\n currentValue: initialValue\n };\n });\n });\n let startTime = null;\n let time;\n let elementsDone = 0;\n let propsDone = 0;\n let done;\n let began = false;\n a.animating = true;\n\n function render() {\n time = new Date().getTime();\n let progress;\n let easeProgress; // let el;\n\n if (!began) {\n began = true;\n if (params.begin) params.begin(els);\n }\n\n if (startTime === null) {\n startTime = time;\n }\n\n if (params.progress) {\n // eslint-disable-next-line\n params.progress(els, Math.max(Math.min((time - startTime) / params.duration, 1), 0), startTime + params.duration - time < 0 ? 0 : startTime + params.duration - time, startTime);\n }\n\n elements.forEach(element => {\n const el = element;\n if (done || el.done) return;\n Object.keys(props).forEach(prop => {\n if (done || el.done) return;\n progress = Math.max(Math.min((time - startTime) / params.duration, 1), 0);\n easeProgress = a.easingProgress(params.easing, progress);\n const {\n initialValue,\n finalValue,\n unit\n } = el[prop];\n el[prop].currentValue = initialValue + easeProgress * (finalValue - initialValue);\n const currentValue = el[prop].currentValue;\n\n if (finalValue > initialValue && currentValue >= finalValue || finalValue < initialValue && currentValue <= finalValue) {\n el.container.style[prop] = finalValue + unit;\n propsDone += 1;\n\n if (propsDone === Object.keys(props).length) {\n el.done = true;\n elementsDone += 1;\n }\n\n if (elementsDone === elements.length) {\n done = true;\n }\n }\n\n if (done) {\n a.done(params.complete);\n return;\n }\n\n el.container.style[prop] = currentValue + unit;\n });\n });\n if (done) return; // Then call\n\n a.frameId = window.requestAnimationFrame(render);\n }\n\n a.frameId = window.requestAnimationFrame(render);\n return a;\n }\n\n };\n\n if (a.elements.length === 0) {\n return els;\n }\n\n let animateInstance;\n\n for (let i = 0; i < a.elements.length; i += 1) {\n if (a.elements[i].dom7AnimateInstance) {\n animateInstance = a.elements[i].dom7AnimateInstance;\n } else a.elements[i].dom7AnimateInstance = a;\n }\n\n if (!animateInstance) {\n animateInstance = a;\n }\n\n if (initialProps === 'stop') {\n animateInstance.stop();\n } else {\n animateInstance.animate(a.props, a.params);\n }\n\n return els;\n}\n\nfunction stop() {\n const els = this;\n\n for (let i = 0; i < els.length; i += 1) {\n if (els[i].dom7AnimateInstance) {\n els[i].dom7AnimateInstance.stop();\n }\n }\n}\n\nconst noTrigger = 'resize scroll'.split(' ');\n\nfunction shortcut(name) {\n function eventHandler(...args) {\n if (typeof args[0] === 'undefined') {\n for (let i = 0; i < this.length; i += 1) {\n if (noTrigger.indexOf(name) < 0) {\n if (name in this[i]) this[i][name]();else {\n $(this[i]).trigger(name);\n }\n }\n }\n\n return this;\n }\n\n return this.on(name, ...args);\n }\n\n return eventHandler;\n}\n\nconst click = shortcut('click');\nconst blur = shortcut('blur');\nconst focus = shortcut('focus');\nconst focusin = shortcut('focusin');\nconst focusout = shortcut('focusout');\nconst keyup = shortcut('keyup');\nconst keydown = shortcut('keydown');\nconst keypress = shortcut('keypress');\nconst submit = shortcut('submit');\nconst change = shortcut('change');\nconst mousedown = shortcut('mousedown');\nconst mousemove = shortcut('mousemove');\nconst mouseup = shortcut('mouseup');\nconst mouseenter = shortcut('mouseenter');\nconst mouseleave = shortcut('mouseleave');\nconst mouseout = shortcut('mouseout');\nconst mouseover = shortcut('mouseover');\nconst touchstart = shortcut('touchstart');\nconst touchend = shortcut('touchend');\nconst touchmove = shortcut('touchmove');\nconst resize = shortcut('resize');\nconst scroll = shortcut('scroll');\n\nexport default $;\nexport { $, add, addClass, animate, animationEnd, append, appendTo, attr, blur, change, children, click, closest, css, data, dataset, detach, each, empty, eq, filter, find, focus, focusin, focusout, hasClass, height, hide, html, index, insertAfter, insertBefore, is, keydown, keypress, keyup, mousedown, mouseenter, mouseleave, mousemove, mouseout, mouseover, mouseup, next, nextAll, off, offset, on, once, outerHeight, outerWidth, parent, parents, prepend, prependTo, prev, prevAll, prop, remove, removeAttr, removeClass, removeData, resize, scroll, scrollLeft, scrollTo, scrollTop, show, siblings, stop, styles, submit, text, toggleClass, touchend, touchmove, touchstart, transform, transition, transitionEnd, transitionStart, trigger, val, value, width };\n","import { $, addClass, removeClass, hasClass, toggleClass, attr, removeAttr, transform, transition, on, off, trigger, transitionEnd, outerWidth, outerHeight, styles, offset, css, each, html, text, is, index, eq, append, prepend, next, nextAll, prev, prevAll, parent, parents, closest, find, children, filter, remove } from 'dom7';\nconst Methods = {\n addClass,\n removeClass,\n hasClass,\n toggleClass,\n attr,\n removeAttr,\n transform,\n transition,\n on,\n off,\n trigger,\n transitionEnd,\n outerWidth,\n outerHeight,\n styles,\n offset,\n css,\n each,\n html,\n text,\n is,\n index,\n eq,\n append,\n prepend,\n next,\n nextAll,\n prev,\n prevAll,\n parent,\n parents,\n closest,\n find,\n children,\n filter,\n remove\n};\nObject.keys(Methods).forEach(methodName => {\n Object.defineProperty($.fn, methodName, {\n value: Methods[methodName],\n writable: true\n });\n});\nexport default $;","import { getWindow } from 'ssr-window';\n\nfunction deleteProps(obj) {\n const object = obj;\n Object.keys(object).forEach(key => {\n try {\n object[key] = null;\n } catch (e) {// no getter for object\n }\n\n try {\n delete object[key];\n } catch (e) {// something got wrong\n }\n });\n}\n\nfunction nextTick(callback, delay = 0) {\n return setTimeout(callback, delay);\n}\n\nfunction now() {\n return Date.now();\n}\n\nfunction getComputedStyle(el) {\n const window = getWindow();\n let style;\n\n if (window.getComputedStyle) {\n style = window.getComputedStyle(el, null);\n }\n\n if (!style && el.currentStyle) {\n style = el.currentStyle;\n }\n\n if (!style) {\n style = el.style;\n }\n\n return style;\n}\n\nfunction getTranslate(el, axis = 'x') {\n const window = getWindow();\n let matrix;\n let curTransform;\n let transformMatrix;\n const curStyle = getComputedStyle(el, null);\n\n if (window.WebKitCSSMatrix) {\n curTransform = curStyle.transform || curStyle.webkitTransform;\n\n if (curTransform.split(',').length > 6) {\n curTransform = curTransform.split(', ').map(a => a.replace(',', '.')).join(', ');\n } // Some old versions of Webkit choke when 'none' is passed; pass\n // empty string instead in this case\n\n\n transformMatrix = new window.WebKitCSSMatrix(curTransform === 'none' ? '' : curTransform);\n } else {\n transformMatrix = curStyle.MozTransform || curStyle.OTransform || curStyle.MsTransform || curStyle.msTransform || curStyle.transform || curStyle.getPropertyValue('transform').replace('translate(', 'matrix(1, 0, 0, 1,');\n matrix = transformMatrix.toString().split(',');\n }\n\n if (axis === 'x') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m41; // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[12]); // Normal Browsers\n else curTransform = parseFloat(matrix[4]);\n }\n\n if (axis === 'y') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m42; // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[13]); // Normal Browsers\n else curTransform = parseFloat(matrix[5]);\n }\n\n return curTransform || 0;\n}\n\nfunction isObject(o) {\n return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object';\n}\n\nfunction isNode(node) {\n // eslint-disable-next-line\n if (typeof window !== 'undefined' && typeof window.HTMLElement !== 'undefined') {\n return node instanceof HTMLElement;\n }\n\n return node && (node.nodeType === 1 || node.nodeType === 11);\n}\n\nfunction extend(...args) {\n const to = Object(args[0]);\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n\n for (let i = 1; i < args.length; i += 1) {\n const nextSource = args[i];\n\n if (nextSource !== undefined && nextSource !== null && !isNode(nextSource)) {\n const keysArray = Object.keys(Object(nextSource)).filter(key => noExtend.indexOf(key) < 0);\n\n for (let nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex += 1) {\n const nextKey = keysArray[nextIndex];\n const desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);\n\n if (desc !== undefined && desc.enumerable) {\n if (isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else if (!isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n to[nextKey] = {};\n\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n }\n }\n\n return to;\n}\n\nfunction setCSSProperty(el, varName, varValue) {\n el.style.setProperty(varName, varValue);\n}\n\nfunction animateCSSModeScroll({\n swiper,\n targetPosition,\n side\n}) {\n const window = getWindow();\n const startPosition = -swiper.translate;\n let startTime = null;\n let time;\n const duration = swiper.params.speed;\n swiper.wrapperEl.style.scrollSnapType = 'none';\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n const dir = targetPosition > startPosition ? 'next' : 'prev';\n\n const isOutOfBound = (current, target) => {\n return dir === 'next' && current >= target || dir === 'prev' && current <= target;\n };\n\n const animate = () => {\n time = new Date().getTime();\n\n if (startTime === null) {\n startTime = time;\n }\n\n const progress = Math.max(Math.min((time - startTime) / duration, 1), 0);\n const easeProgress = 0.5 - Math.cos(progress * Math.PI) / 2;\n let currentPosition = startPosition + easeProgress * (targetPosition - startPosition);\n\n if (isOutOfBound(currentPosition, targetPosition)) {\n currentPosition = targetPosition;\n }\n\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n\n if (isOutOfBound(currentPosition, targetPosition)) {\n swiper.wrapperEl.style.overflow = 'hidden';\n swiper.wrapperEl.style.scrollSnapType = '';\n setTimeout(() => {\n swiper.wrapperEl.style.overflow = '';\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n });\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n return;\n }\n\n swiper.cssModeFrameID = window.requestAnimationFrame(animate);\n };\n\n animate();\n}\n\nexport { animateCSSModeScroll, deleteProps, nextTick, now, getTranslate, isObject, extend, getComputedStyle, setCSSProperty };","import { getWindow, getDocument } from 'ssr-window';\nlet support;\n\nfunction calcSupport() {\n const window = getWindow();\n const document = getDocument();\n return {\n smoothScroll: document.documentElement && 'scrollBehavior' in document.documentElement.style,\n touch: !!('ontouchstart' in window || window.DocumentTouch && document instanceof window.DocumentTouch),\n passiveListener: function checkPassiveListener() {\n let supportsPassive = false;\n\n try {\n const opts = Object.defineProperty({}, 'passive', {\n // eslint-disable-next-line\n get() {\n supportsPassive = true;\n }\n\n });\n window.addEventListener('testPassiveListener', null, opts);\n } catch (e) {// No support\n }\n\n return supportsPassive;\n }(),\n gestures: function checkGestures() {\n return 'ongesturestart' in window;\n }()\n };\n}\n\nfunction getSupport() {\n if (!support) {\n support = calcSupport();\n }\n\n return support;\n}\n\nexport { getSupport };","import { getWindow } from 'ssr-window';\nimport { getSupport } from './get-support.js';\nlet deviceCached;\n\nfunction calcDevice({\n userAgent\n} = {}) {\n const support = getSupport();\n const window = getWindow();\n const platform = window.navigator.platform;\n const ua = userAgent || window.navigator.userAgent;\n const device = {\n ios: false,\n android: false\n };\n const screenWidth = window.screen.width;\n const screenHeight = window.screen.height;\n const android = ua.match(/(Android);?[\\s\\/]+([\\d.]+)?/); // eslint-disable-line\n\n let ipad = ua.match(/(iPad).*OS\\s([\\d_]+)/);\n const ipod = ua.match(/(iPod)(.*OS\\s([\\d_]+))?/);\n const iphone = !ipad && ua.match(/(iPhone\\sOS|iOS)\\s([\\d_]+)/);\n const windows = platform === 'Win32';\n let macos = platform === 'MacIntel'; // iPadOs 13 fix\n\n const iPadScreens = ['1024x1366', '1366x1024', '834x1194', '1194x834', '834x1112', '1112x834', '768x1024', '1024x768', '820x1180', '1180x820', '810x1080', '1080x810'];\n\n if (!ipad && macos && support.touch && iPadScreens.indexOf(`${screenWidth}x${screenHeight}`) >= 0) {\n ipad = ua.match(/(Version)\\/([\\d.]+)/);\n if (!ipad) ipad = [0, 1, '13_0_0'];\n macos = false;\n } // Android\n\n\n if (android && !windows) {\n device.os = 'android';\n device.android = true;\n }\n\n if (ipad || iphone || ipod) {\n device.os = 'ios';\n device.ios = true;\n } // Export object\n\n\n return device;\n}\n\nfunction getDevice(overrides = {}) {\n if (!deviceCached) {\n deviceCached = calcDevice(overrides);\n }\n\n return deviceCached;\n}\n\nexport { getDevice };","import { getWindow } from 'ssr-window';\nlet browser;\n\nfunction calcBrowser() {\n const window = getWindow();\n\n function isSafari() {\n const ua = window.navigator.userAgent.toLowerCase();\n return ua.indexOf('safari') >= 0 && ua.indexOf('chrome') < 0 && ua.indexOf('android') < 0;\n }\n\n return {\n isSafari: isSafari(),\n isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent)\n };\n}\n\nfunction getBrowser() {\n if (!browser) {\n browser = calcBrowser();\n }\n\n return browser;\n}\n\nexport { getBrowser };","export default function transitionEmit({\n swiper,\n runCallbacks,\n direction,\n step\n}) {\n const {\n activeIndex,\n previousIndex\n } = swiper;\n let dir = direction;\n\n if (!dir) {\n if (activeIndex > previousIndex) dir = 'next';else if (activeIndex < previousIndex) dir = 'prev';else dir = 'reset';\n }\n\n swiper.emit(`transition${step}`);\n\n if (runCallbacks && activeIndex !== previousIndex) {\n if (dir === 'reset') {\n swiper.emit(`slideResetTransition${step}`);\n return;\n }\n\n swiper.emit(`slideChangeTransition${step}`);\n\n if (dir === 'next') {\n swiper.emit(`slideNextTransition${step}`);\n } else {\n swiper.emit(`slidePrevTransition${step}`);\n }\n }\n}","import { getWindow, getDocument } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nimport { now } from '../../shared/utils.js'; // Modified from https://stackoverflow.com/questions/54520554/custom-element-getrootnode-closest-function-crossing-multiple-parent-shadowd\n\nfunction closestElement(selector, base = this) {\n function __closestFrom(el) {\n if (!el || el === getDocument() || el === getWindow()) return null;\n if (el.assignedSlot) el = el.assignedSlot;\n const found = el.closest(selector);\n\n if (!found && !el.getRootNode) {\n return null;\n }\n\n return found || __closestFrom(el.getRootNode().host);\n }\n\n return __closestFrom(base);\n}\n\nexport default function onTouchStart(event) {\n const swiper = this;\n const document = getDocument();\n const window = getWindow();\n const data = swiper.touchEventsData;\n const {\n params,\n touches,\n enabled\n } = swiper;\n if (!enabled) return;\n\n if (swiper.animating && params.preventInteractionOnTransition) {\n return;\n }\n\n if (!swiper.animating && params.cssMode && params.loop) {\n swiper.loopFix();\n }\n\n let e = event;\n if (e.originalEvent) e = e.originalEvent;\n let $targetEl = $(e.target);\n\n if (params.touchEventsTarget === 'wrapper') {\n if (!$targetEl.closest(swiper.wrapperEl).length) return;\n }\n\n data.isTouchEvent = e.type === 'touchstart';\n if (!data.isTouchEvent && 'which' in e && e.which === 3) return;\n if (!data.isTouchEvent && 'button' in e && e.button > 0) return;\n if (data.isTouched && data.isMoved) return; // change target el for shadow root component\n\n const swipingClassHasValue = !!params.noSwipingClass && params.noSwipingClass !== ''; // eslint-disable-next-line\n\n const eventPath = event.composedPath ? event.composedPath() : event.path;\n\n if (swipingClassHasValue && e.target && e.target.shadowRoot && eventPath) {\n $targetEl = $(eventPath[0]);\n }\n\n const noSwipingSelector = params.noSwipingSelector ? params.noSwipingSelector : `.${params.noSwipingClass}`;\n const isTargetShadow = !!(e.target && e.target.shadowRoot); // use closestElement for shadow root element to get the actual closest for nested shadow root element\n\n if (params.noSwiping && (isTargetShadow ? closestElement(noSwipingSelector, $targetEl[0]) : $targetEl.closest(noSwipingSelector)[0])) {\n swiper.allowClick = true;\n return;\n }\n\n if (params.swipeHandler) {\n if (!$targetEl.closest(params.swipeHandler)[0]) return;\n }\n\n touches.currentX = e.type === 'touchstart' ? e.targetTouches[0].pageX : e.pageX;\n touches.currentY = e.type === 'touchstart' ? e.targetTouches[0].pageY : e.pageY;\n const startX = touches.currentX;\n const startY = touches.currentY; // Do NOT start if iOS edge swipe is detected. Otherwise iOS app cannot swipe-to-go-back anymore\n\n const edgeSwipeDetection = params.edgeSwipeDetection || params.iOSEdgeSwipeDetection;\n const edgeSwipeThreshold = params.edgeSwipeThreshold || params.iOSEdgeSwipeThreshold;\n\n if (edgeSwipeDetection && (startX <= edgeSwipeThreshold || startX >= window.innerWidth - edgeSwipeThreshold)) {\n if (edgeSwipeDetection === 'prevent') {\n event.preventDefault();\n } else {\n return;\n }\n }\n\n Object.assign(data, {\n isTouched: true,\n isMoved: false,\n allowTouchCallbacks: true,\n isScrolling: undefined,\n startMoving: undefined\n });\n touches.startX = startX;\n touches.startY = startY;\n data.touchStartTime = now();\n swiper.allowClick = true;\n swiper.updateSize();\n swiper.swipeDirection = undefined;\n if (params.threshold > 0) data.allowThresholdMove = false;\n\n if (e.type !== 'touchstart') {\n let preventDefault = true;\n\n if ($targetEl.is(data.focusableElements)) {\n preventDefault = false;\n\n if ($targetEl[0].nodeName === 'SELECT') {\n data.isTouched = false;\n }\n }\n\n if (document.activeElement && $(document.activeElement).is(data.focusableElements) && document.activeElement !== $targetEl[0]) {\n document.activeElement.blur();\n }\n\n const shouldPreventDefault = preventDefault && swiper.allowTouchMove && params.touchStartPreventDefault;\n\n if ((params.touchStartForcePreventDefault || shouldPreventDefault) && !$targetEl[0].isContentEditable) {\n e.preventDefault();\n }\n }\n\n if (swiper.params.freeMode && swiper.params.freeMode.enabled && swiper.freeMode && swiper.animating && !params.cssMode) {\n swiper.freeMode.onTouchStart();\n }\n\n swiper.emit('touchStart', e);\n}","import { getDocument } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nimport { now } from '../../shared/utils.js';\nexport default function onTouchMove(event) {\n const document = getDocument();\n const swiper = this;\n const data = swiper.touchEventsData;\n const {\n params,\n touches,\n rtlTranslate: rtl,\n enabled\n } = swiper;\n if (!enabled) return;\n let e = event;\n if (e.originalEvent) e = e.originalEvent;\n\n if (!data.isTouched) {\n if (data.startMoving && data.isScrolling) {\n swiper.emit('touchMoveOpposite', e);\n }\n\n return;\n }\n\n if (data.isTouchEvent && e.type !== 'touchmove') return;\n const targetTouch = e.type === 'touchmove' && e.targetTouches && (e.targetTouches[0] || e.changedTouches[0]);\n const pageX = e.type === 'touchmove' ? targetTouch.pageX : e.pageX;\n const pageY = e.type === 'touchmove' ? targetTouch.pageY : e.pageY;\n\n if (e.preventedByNestedSwiper) {\n touches.startX = pageX;\n touches.startY = pageY;\n return;\n }\n\n if (!swiper.allowTouchMove) {\n if (!$(e.target).is(data.focusableElements)) {\n swiper.allowClick = false;\n }\n\n if (data.isTouched) {\n Object.assign(touches, {\n startX: pageX,\n startY: pageY,\n currentX: pageX,\n currentY: pageY\n });\n data.touchStartTime = now();\n }\n\n return;\n }\n\n if (data.isTouchEvent && params.touchReleaseOnEdges && !params.loop) {\n if (swiper.isVertical()) {\n // Vertical\n if (pageY < touches.startY && swiper.translate <= swiper.maxTranslate() || pageY > touches.startY && swiper.translate >= swiper.minTranslate()) {\n data.isTouched = false;\n data.isMoved = false;\n return;\n }\n } else if (pageX < touches.startX && swiper.translate <= swiper.maxTranslate() || pageX > touches.startX && swiper.translate >= swiper.minTranslate()) {\n return;\n }\n }\n\n if (data.isTouchEvent && document.activeElement) {\n if (e.target === document.activeElement && $(e.target).is(data.focusableElements)) {\n data.isMoved = true;\n swiper.allowClick = false;\n return;\n }\n }\n\n if (data.allowTouchCallbacks) {\n swiper.emit('touchMove', e);\n }\n\n if (e.targetTouches && e.targetTouches.length > 1) return;\n touches.currentX = pageX;\n touches.currentY = pageY;\n const diffX = touches.currentX - touches.startX;\n const diffY = touches.currentY - touches.startY;\n if (swiper.params.threshold && Math.sqrt(diffX ** 2 + diffY ** 2) < swiper.params.threshold) return;\n\n if (typeof data.isScrolling === 'undefined') {\n let touchAngle;\n\n if (swiper.isHorizontal() && touches.currentY === touches.startY || swiper.isVertical() && touches.currentX === touches.startX) {\n data.isScrolling = false;\n } else {\n // eslint-disable-next-line\n if (diffX * diffX + diffY * diffY >= 25) {\n touchAngle = Math.atan2(Math.abs(diffY), Math.abs(diffX)) * 180 / Math.PI;\n data.isScrolling = swiper.isHorizontal() ? touchAngle > params.touchAngle : 90 - touchAngle > params.touchAngle;\n }\n }\n }\n\n if (data.isScrolling) {\n swiper.emit('touchMoveOpposite', e);\n }\n\n if (typeof data.startMoving === 'undefined') {\n if (touches.currentX !== touches.startX || touches.currentY !== touches.startY) {\n data.startMoving = true;\n }\n }\n\n if (data.isScrolling) {\n data.isTouched = false;\n return;\n }\n\n if (!data.startMoving) {\n return;\n }\n\n swiper.allowClick = false;\n\n if (!params.cssMode && e.cancelable) {\n e.preventDefault();\n }\n\n if (params.touchMoveStopPropagation && !params.nested) {\n e.stopPropagation();\n }\n\n if (!data.isMoved) {\n if (params.loop && !params.cssMode) {\n swiper.loopFix();\n }\n\n data.startTranslate = swiper.getTranslate();\n swiper.setTransition(0);\n\n if (swiper.animating) {\n swiper.$wrapperEl.trigger('webkitTransitionEnd transitionend');\n }\n\n data.allowMomentumBounce = false; // Grab Cursor\n\n if (params.grabCursor && (swiper.allowSlideNext === true || swiper.allowSlidePrev === true)) {\n swiper.setGrabCursor(true);\n }\n\n swiper.emit('sliderFirstMove', e);\n }\n\n swiper.emit('sliderMove', e);\n data.isMoved = true;\n let diff = swiper.isHorizontal() ? diffX : diffY;\n touches.diff = diff;\n diff *= params.touchRatio;\n if (rtl) diff = -diff;\n swiper.swipeDirection = diff > 0 ? 'prev' : 'next';\n data.currentTranslate = diff + data.startTranslate;\n let disableParentSwiper = true;\n let resistanceRatio = params.resistanceRatio;\n\n if (params.touchReleaseOnEdges) {\n resistanceRatio = 0;\n }\n\n if (diff > 0 && data.currentTranslate > swiper.minTranslate()) {\n disableParentSwiper = false;\n if (params.resistance) data.currentTranslate = swiper.minTranslate() - 1 + (-swiper.minTranslate() + data.startTranslate + diff) ** resistanceRatio;\n } else if (diff < 0 && data.currentTranslate < swiper.maxTranslate()) {\n disableParentSwiper = false;\n if (params.resistance) data.currentTranslate = swiper.maxTranslate() + 1 - (swiper.maxTranslate() - data.startTranslate - diff) ** resistanceRatio;\n }\n\n if (disableParentSwiper) {\n e.preventedByNestedSwiper = true;\n } // Directions locks\n\n\n if (!swiper.allowSlideNext && swiper.swipeDirection === 'next' && data.currentTranslate < data.startTranslate) {\n data.currentTranslate = data.startTranslate;\n }\n\n if (!swiper.allowSlidePrev && swiper.swipeDirection === 'prev' && data.currentTranslate > data.startTranslate) {\n data.currentTranslate = data.startTranslate;\n }\n\n if (!swiper.allowSlidePrev && !swiper.allowSlideNext) {\n data.currentTranslate = data.startTranslate;\n } // Threshold\n\n\n if (params.threshold > 0) {\n if (Math.abs(diff) > params.threshold || data.allowThresholdMove) {\n if (!data.allowThresholdMove) {\n data.allowThresholdMove = true;\n touches.startX = touches.currentX;\n touches.startY = touches.currentY;\n data.currentTranslate = data.startTranslate;\n touches.diff = swiper.isHorizontal() ? touches.currentX - touches.startX : touches.currentY - touches.startY;\n return;\n }\n } else {\n data.currentTranslate = data.startTranslate;\n return;\n }\n }\n\n if (!params.followFinger || params.cssMode) return; // Update active index in free mode\n\n if (params.freeMode && params.freeMode.enabled && swiper.freeMode || params.watchSlidesProgress) {\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n\n if (swiper.params.freeMode && params.freeMode.enabled && swiper.freeMode) {\n swiper.freeMode.onTouchMove();\n } // Update progress\n\n\n swiper.updateProgress(data.currentTranslate); // Update translate\n\n swiper.setTranslate(data.currentTranslate);\n}","import { now, nextTick } from '../../shared/utils.js';\nexport default function onTouchEnd(event) {\n const swiper = this;\n const data = swiper.touchEventsData;\n const {\n params,\n touches,\n rtlTranslate: rtl,\n slidesGrid,\n enabled\n } = swiper;\n if (!enabled) return;\n let e = event;\n if (e.originalEvent) e = e.originalEvent;\n\n if (data.allowTouchCallbacks) {\n swiper.emit('touchEnd', e);\n }\n\n data.allowTouchCallbacks = false;\n\n if (!data.isTouched) {\n if (data.isMoved && params.grabCursor) {\n swiper.setGrabCursor(false);\n }\n\n data.isMoved = false;\n data.startMoving = false;\n return;\n } // Return Grab Cursor\n\n\n if (params.grabCursor && data.isMoved && data.isTouched && (swiper.allowSlideNext === true || swiper.allowSlidePrev === true)) {\n swiper.setGrabCursor(false);\n } // Time diff\n\n\n const touchEndTime = now();\n const timeDiff = touchEndTime - data.touchStartTime; // Tap, doubleTap, Click\n\n if (swiper.allowClick) {\n const pathTree = e.path || e.composedPath && e.composedPath();\n swiper.updateClickedSlide(pathTree && pathTree[0] || e.target);\n swiper.emit('tap click', e);\n\n if (timeDiff < 300 && touchEndTime - data.lastClickTime < 300) {\n swiper.emit('doubleTap doubleClick', e);\n }\n }\n\n data.lastClickTime = now();\n nextTick(() => {\n if (!swiper.destroyed) swiper.allowClick = true;\n });\n\n if (!data.isTouched || !data.isMoved || !swiper.swipeDirection || touches.diff === 0 || data.currentTranslate === data.startTranslate) {\n data.isTouched = false;\n data.isMoved = false;\n data.startMoving = false;\n return;\n }\n\n data.isTouched = false;\n data.isMoved = false;\n data.startMoving = false;\n let currentPos;\n\n if (params.followFinger) {\n currentPos = rtl ? swiper.translate : -swiper.translate;\n } else {\n currentPos = -data.currentTranslate;\n }\n\n if (params.cssMode) {\n return;\n }\n\n if (swiper.params.freeMode && params.freeMode.enabled) {\n swiper.freeMode.onTouchEnd({\n currentPos\n });\n return;\n } // Find current slide\n\n\n let stopIndex = 0;\n let groupSize = swiper.slidesSizesGrid[0];\n\n for (let i = 0; i < slidesGrid.length; i += i < params.slidesPerGroupSkip ? 1 : params.slidesPerGroup) {\n const increment = i < params.slidesPerGroupSkip - 1 ? 1 : params.slidesPerGroup;\n\n if (typeof slidesGrid[i + increment] !== 'undefined') {\n if (currentPos >= slidesGrid[i] && currentPos < slidesGrid[i + increment]) {\n stopIndex = i;\n groupSize = slidesGrid[i + increment] - slidesGrid[i];\n }\n } else if (currentPos >= slidesGrid[i]) {\n stopIndex = i;\n groupSize = slidesGrid[slidesGrid.length - 1] - slidesGrid[slidesGrid.length - 2];\n }\n }\n\n let rewindFirstIndex = null;\n let rewindLastIndex = null;\n\n if (params.rewind) {\n if (swiper.isBeginning) {\n rewindLastIndex = swiper.params.virtual && swiper.params.virtual.enabled && swiper.virtual ? swiper.virtual.slides.length - 1 : swiper.slides.length - 1;\n } else if (swiper.isEnd) {\n rewindFirstIndex = 0;\n }\n } // Find current slide size\n\n\n const ratio = (currentPos - slidesGrid[stopIndex]) / groupSize;\n const increment = stopIndex < params.slidesPerGroupSkip - 1 ? 1 : params.slidesPerGroup;\n\n if (timeDiff > params.longSwipesMs) {\n // Long touches\n if (!params.longSwipes) {\n swiper.slideTo(swiper.activeIndex);\n return;\n }\n\n if (swiper.swipeDirection === 'next') {\n if (ratio >= params.longSwipesRatio) swiper.slideTo(params.rewind && swiper.isEnd ? rewindFirstIndex : stopIndex + increment);else swiper.slideTo(stopIndex);\n }\n\n if (swiper.swipeDirection === 'prev') {\n if (ratio > 1 - params.longSwipesRatio) {\n swiper.slideTo(stopIndex + increment);\n } else if (rewindLastIndex !== null && ratio < 0 && Math.abs(ratio) > params.longSwipesRatio) {\n swiper.slideTo(rewindLastIndex);\n } else {\n swiper.slideTo(stopIndex);\n }\n }\n } else {\n // Short swipes\n if (!params.shortSwipes) {\n swiper.slideTo(swiper.activeIndex);\n return;\n }\n\n const isNavButtonTarget = swiper.navigation && (e.target === swiper.navigation.nextEl || e.target === swiper.navigation.prevEl);\n\n if (!isNavButtonTarget) {\n if (swiper.swipeDirection === 'next') {\n swiper.slideTo(rewindFirstIndex !== null ? rewindFirstIndex : stopIndex + increment);\n }\n\n if (swiper.swipeDirection === 'prev') {\n swiper.slideTo(rewindLastIndex !== null ? rewindLastIndex : stopIndex);\n }\n } else if (e.target === swiper.navigation.nextEl) {\n swiper.slideTo(stopIndex + increment);\n } else {\n swiper.slideTo(stopIndex);\n }\n }\n}","export default function onResize() {\n const swiper = this;\n const {\n params,\n el\n } = swiper;\n if (el && el.offsetWidth === 0) return; // Breakpoints\n\n if (params.breakpoints) {\n swiper.setBreakpoint();\n } // Save locks\n\n\n const {\n allowSlideNext,\n allowSlidePrev,\n snapGrid\n } = swiper; // Disable locks on resize\n\n swiper.allowSlideNext = true;\n swiper.allowSlidePrev = true;\n swiper.updateSize();\n swiper.updateSlides();\n swiper.updateSlidesClasses();\n\n if ((params.slidesPerView === 'auto' || params.slidesPerView > 1) && swiper.isEnd && !swiper.isBeginning && !swiper.params.centeredSlides) {\n swiper.slideTo(swiper.slides.length - 1, 0, false, true);\n } else {\n swiper.slideTo(swiper.activeIndex, 0, false, true);\n }\n\n if (swiper.autoplay && swiper.autoplay.running && swiper.autoplay.paused) {\n swiper.autoplay.run();\n } // Return locks after resize\n\n\n swiper.allowSlidePrev = allowSlidePrev;\n swiper.allowSlideNext = allowSlideNext;\n\n if (swiper.params.watchOverflow && snapGrid !== swiper.snapGrid) {\n swiper.checkOverflow();\n }\n}","export default function onClick(e) {\n const swiper = this;\n if (!swiper.enabled) return;\n\n if (!swiper.allowClick) {\n if (swiper.params.preventClicks) e.preventDefault();\n\n if (swiper.params.preventClicksPropagation && swiper.animating) {\n e.stopPropagation();\n e.stopImmediatePropagation();\n }\n }\n}","export default function onScroll() {\n const swiper = this;\n const {\n wrapperEl,\n rtlTranslate,\n enabled\n } = swiper;\n if (!enabled) return;\n swiper.previousTranslate = swiper.translate;\n\n if (swiper.isHorizontal()) {\n swiper.translate = -wrapperEl.scrollLeft;\n } else {\n swiper.translate = -wrapperEl.scrollTop;\n } // eslint-disable-next-line\n\n\n if (swiper.translate === 0) swiper.translate = 0;\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n let newProgress;\n const translatesDiff = swiper.maxTranslate() - swiper.minTranslate();\n\n if (translatesDiff === 0) {\n newProgress = 0;\n } else {\n newProgress = (swiper.translate - swiper.minTranslate()) / translatesDiff;\n }\n\n if (newProgress !== swiper.progress) {\n swiper.updateProgress(rtlTranslate ? -swiper.translate : swiper.translate);\n }\n\n swiper.emit('setTranslate', swiper.translate, false);\n}","import { getDocument } from 'ssr-window';\nimport onTouchStart from './onTouchStart.js';\nimport onTouchMove from './onTouchMove.js';\nimport onTouchEnd from './onTouchEnd.js';\nimport onResize from './onResize.js';\nimport onClick from './onClick.js';\nimport onScroll from './onScroll.js';\nlet dummyEventAttached = false;\n\nfunction dummyEventListener() {}\n\nconst events = (swiper, method) => {\n const document = getDocument();\n const {\n params,\n touchEvents,\n el,\n wrapperEl,\n device,\n support\n } = swiper;\n const capture = !!params.nested;\n const domMethod = method === 'on' ? 'addEventListener' : 'removeEventListener';\n const swiperMethod = method; // Touch Events\n\n if (!support.touch) {\n el[domMethod](touchEvents.start, swiper.onTouchStart, false);\n document[domMethod](touchEvents.move, swiper.onTouchMove, capture);\n document[domMethod](touchEvents.end, swiper.onTouchEnd, false);\n } else {\n const passiveListener = touchEvents.start === 'touchstart' && support.passiveListener && params.passiveListeners ? {\n passive: true,\n capture: false\n } : false;\n el[domMethod](touchEvents.start, swiper.onTouchStart, passiveListener);\n el[domMethod](touchEvents.move, swiper.onTouchMove, support.passiveListener ? {\n passive: false,\n capture\n } : capture);\n el[domMethod](touchEvents.end, swiper.onTouchEnd, passiveListener);\n\n if (touchEvents.cancel) {\n el[domMethod](touchEvents.cancel, swiper.onTouchEnd, passiveListener);\n }\n } // Prevent Links Clicks\n\n\n if (params.preventClicks || params.preventClicksPropagation) {\n el[domMethod]('click', swiper.onClick, true);\n }\n\n if (params.cssMode) {\n wrapperEl[domMethod]('scroll', swiper.onScroll);\n } // Resize handler\n\n\n if (params.updateOnWindowResize) {\n swiper[swiperMethod](device.ios || device.android ? 'resize orientationchange observerUpdate' : 'resize observerUpdate', onResize, true);\n } else {\n swiper[swiperMethod]('observerUpdate', onResize, true);\n }\n};\n\nfunction attachEvents() {\n const swiper = this;\n const document = getDocument();\n const {\n params,\n support\n } = swiper;\n swiper.onTouchStart = onTouchStart.bind(swiper);\n swiper.onTouchMove = onTouchMove.bind(swiper);\n swiper.onTouchEnd = onTouchEnd.bind(swiper);\n\n if (params.cssMode) {\n swiper.onScroll = onScroll.bind(swiper);\n }\n\n swiper.onClick = onClick.bind(swiper);\n\n if (support.touch && !dummyEventAttached) {\n document.addEventListener('touchstart', dummyEventListener);\n dummyEventAttached = true;\n }\n\n events(swiper, 'on');\n}\n\nfunction detachEvents() {\n const swiper = this;\n events(swiper, 'off');\n}\n\nexport default {\n attachEvents,\n detachEvents\n};","import { extend } from '../../shared/utils.js';\n\nconst isGridEnabled = (swiper, params) => {\n return swiper.grid && params.grid && params.grid.rows > 1;\n};\n\nexport default function setBreakpoint() {\n const swiper = this;\n const {\n activeIndex,\n initialized,\n loopedSlides = 0,\n params,\n $el\n } = swiper;\n const breakpoints = params.breakpoints;\n if (!breakpoints || breakpoints && Object.keys(breakpoints).length === 0) return; // Get breakpoint for window width and update parameters\n\n const breakpoint = swiper.getBreakpoint(breakpoints, swiper.params.breakpointsBase, swiper.el);\n if (!breakpoint || swiper.currentBreakpoint === breakpoint) return;\n const breakpointOnlyParams = breakpoint in breakpoints ? breakpoints[breakpoint] : undefined;\n const breakpointParams = breakpointOnlyParams || swiper.originalParams;\n const wasMultiRow = isGridEnabled(swiper, params);\n const isMultiRow = isGridEnabled(swiper, breakpointParams);\n const wasEnabled = params.enabled;\n\n if (wasMultiRow && !isMultiRow) {\n $el.removeClass(`${params.containerModifierClass}grid ${params.containerModifierClass}grid-column`);\n swiper.emitContainerClasses();\n } else if (!wasMultiRow && isMultiRow) {\n $el.addClass(`${params.containerModifierClass}grid`);\n\n if (breakpointParams.grid.fill && breakpointParams.grid.fill === 'column' || !breakpointParams.grid.fill && params.grid.fill === 'column') {\n $el.addClass(`${params.containerModifierClass}grid-column`);\n }\n\n swiper.emitContainerClasses();\n } // Toggle navigation, pagination, scrollbar\n\n\n ['navigation', 'pagination', 'scrollbar'].forEach(prop => {\n const wasModuleEnabled = params[prop] && params[prop].enabled;\n const isModuleEnabled = breakpointParams[prop] && breakpointParams[prop].enabled;\n\n if (wasModuleEnabled && !isModuleEnabled) {\n swiper[prop].disable();\n }\n\n if (!wasModuleEnabled && isModuleEnabled) {\n swiper[prop].enable();\n }\n });\n const directionChanged = breakpointParams.direction && breakpointParams.direction !== params.direction;\n const needsReLoop = params.loop && (breakpointParams.slidesPerView !== params.slidesPerView || directionChanged);\n\n if (directionChanged && initialized) {\n swiper.changeDirection();\n }\n\n extend(swiper.params, breakpointParams);\n const isEnabled = swiper.params.enabled;\n Object.assign(swiper, {\n allowTouchMove: swiper.params.allowTouchMove,\n allowSlideNext: swiper.params.allowSlideNext,\n allowSlidePrev: swiper.params.allowSlidePrev\n });\n\n if (wasEnabled && !isEnabled) {\n swiper.disable();\n } else if (!wasEnabled && isEnabled) {\n swiper.enable();\n }\n\n swiper.currentBreakpoint = breakpoint;\n swiper.emit('_beforeBreakpoint', breakpointParams);\n\n if (needsReLoop && initialized) {\n swiper.loopDestroy();\n swiper.loopCreate();\n swiper.updateSlides();\n swiper.slideTo(activeIndex - loopedSlides + swiper.loopedSlides, 0, false);\n }\n\n swiper.emit('breakpoint', breakpointParams);\n}","function checkOverflow() {\n const swiper = this;\n const {\n isLocked: wasLocked,\n params\n } = swiper;\n const {\n slidesOffsetBefore\n } = params;\n\n if (slidesOffsetBefore) {\n const lastSlideIndex = swiper.slides.length - 1;\n const lastSlideRightEdge = swiper.slidesGrid[lastSlideIndex] + swiper.slidesSizesGrid[lastSlideIndex] + slidesOffsetBefore * 2;\n swiper.isLocked = swiper.size > lastSlideRightEdge;\n } else {\n swiper.isLocked = swiper.snapGrid.length === 1;\n }\n\n if (params.allowSlideNext === true) {\n swiper.allowSlideNext = !swiper.isLocked;\n }\n\n if (params.allowSlidePrev === true) {\n swiper.allowSlidePrev = !swiper.isLocked;\n }\n\n if (wasLocked && wasLocked !== swiper.isLocked) {\n swiper.isEnd = false;\n }\n\n if (wasLocked !== swiper.isLocked) {\n swiper.emit(swiper.isLocked ? 'lock' : 'unlock');\n }\n}\n\nexport default {\n checkOverflow\n};","export default {\n init: true,\n direction: 'horizontal',\n touchEventsTarget: 'wrapper',\n initialSlide: 0,\n speed: 300,\n cssMode: false,\n updateOnWindowResize: true,\n resizeObserver: true,\n nested: false,\n createElements: false,\n enabled: true,\n focusableElements: 'input, select, option, textarea, button, video, label',\n // Overrides\n width: null,\n height: null,\n //\n preventInteractionOnTransition: false,\n // ssr\n userAgent: null,\n url: null,\n // To support iOS's swipe-to-go-back gesture (when being used in-app).\n edgeSwipeDetection: false,\n edgeSwipeThreshold: 20,\n // Autoheight\n autoHeight: false,\n // Set wrapper width\n setWrapperSize: false,\n // Virtual Translate\n virtualTranslate: false,\n // Effects\n effect: 'slide',\n // 'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'\n // Breakpoints\n breakpoints: undefined,\n breakpointsBase: 'window',\n // Slides grid\n spaceBetween: 0,\n slidesPerView: 1,\n slidesPerGroup: 1,\n slidesPerGroupSkip: 0,\n slidesPerGroupAuto: false,\n centeredSlides: false,\n centeredSlidesBounds: false,\n slidesOffsetBefore: 0,\n // in px\n slidesOffsetAfter: 0,\n // in px\n normalizeSlideIndex: true,\n centerInsufficientSlides: false,\n // Disable swiper and hide navigation when container not overflow\n watchOverflow: true,\n // Round length\n roundLengths: false,\n // Touches\n touchRatio: 1,\n touchAngle: 45,\n simulateTouch: true,\n shortSwipes: true,\n longSwipes: true,\n longSwipesRatio: 0.5,\n longSwipesMs: 300,\n followFinger: true,\n allowTouchMove: true,\n threshold: 0,\n touchMoveStopPropagation: false,\n touchStartPreventDefault: true,\n touchStartForcePreventDefault: false,\n touchReleaseOnEdges: false,\n // Unique Navigation Elements\n uniqueNavElements: true,\n // Resistance\n resistance: true,\n resistanceRatio: 0.85,\n // Progress\n watchSlidesProgress: false,\n // Cursor\n grabCursor: false,\n // Clicks\n preventClicks: true,\n preventClicksPropagation: true,\n slideToClickedSlide: false,\n // Images\n preloadImages: true,\n updateOnImagesReady: true,\n // loop\n loop: false,\n loopAdditionalSlides: 0,\n loopedSlides: null,\n loopedSlidesLimit: true,\n loopFillGroupWithBlank: false,\n loopPreventsSlide: true,\n // rewind\n rewind: false,\n // Swiping/no swiping\n allowSlidePrev: true,\n allowSlideNext: true,\n swipeHandler: null,\n // '.swipe-handler',\n noSwiping: true,\n noSwipingClass: 'swiper-no-swiping',\n noSwipingSelector: null,\n // Passive Listeners\n passiveListeners: true,\n maxBackfaceHiddenSlides: 10,\n // NS\n containerModifierClass: 'swiper-',\n // NEW\n slideClass: 'swiper-slide',\n slideBlankClass: 'swiper-slide-invisible-blank',\n slideActiveClass: 'swiper-slide-active',\n slideDuplicateActiveClass: 'swiper-slide-duplicate-active',\n slideVisibleClass: 'swiper-slide-visible',\n slideDuplicateClass: 'swiper-slide-duplicate',\n slideNextClass: 'swiper-slide-next',\n slideDuplicateNextClass: 'swiper-slide-duplicate-next',\n slidePrevClass: 'swiper-slide-prev',\n slideDuplicatePrevClass: 'swiper-slide-duplicate-prev',\n wrapperClass: 'swiper-wrapper',\n // Callbacks\n runCallbacksOnInit: true,\n // Internals\n _emitClasses: false\n};","import { extend } from '../shared/utils.js';\nexport default function moduleExtendParams(params, allModulesParams) {\n return function extendParams(obj = {}) {\n const moduleParamName = Object.keys(obj)[0];\n const moduleParams = obj[moduleParamName];\n\n if (typeof moduleParams !== 'object' || moduleParams === null) {\n extend(allModulesParams, obj);\n return;\n }\n\n if (['navigation', 'pagination', 'scrollbar'].indexOf(moduleParamName) >= 0 && params[moduleParamName] === true) {\n params[moduleParamName] = {\n auto: true\n };\n }\n\n if (!(moduleParamName in params && 'enabled' in moduleParams)) {\n extend(allModulesParams, obj);\n return;\n }\n\n if (params[moduleParamName] === true) {\n params[moduleParamName] = {\n enabled: true\n };\n }\n\n if (typeof params[moduleParamName] === 'object' && !('enabled' in params[moduleParamName])) {\n params[moduleParamName].enabled = true;\n }\n\n if (!params[moduleParamName]) params[moduleParamName] = {\n enabled: false\n };\n extend(allModulesParams, obj);\n };\n}","/* eslint no-param-reassign: \"off\" */\nimport { getDocument } from 'ssr-window';\nimport $ from '../shared/dom.js';\nimport { extend, now, deleteProps } from '../shared/utils.js';\nimport { getSupport } from '../shared/get-support.js';\nimport { getDevice } from '../shared/get-device.js';\nimport { getBrowser } from '../shared/get-browser.js';\nimport Resize from './modules/resize/resize.js';\nimport Observer from './modules/observer/observer.js';\nimport eventsEmitter from './events-emitter.js';\nimport update from './update/index.js';\nimport translate from './translate/index.js';\nimport transition from './transition/index.js';\nimport slide from './slide/index.js';\nimport loop from './loop/index.js';\nimport grabCursor from './grab-cursor/index.js';\nimport events from './events/index.js';\nimport breakpoints from './breakpoints/index.js';\nimport classes from './classes/index.js';\nimport images from './images/index.js';\nimport checkOverflow from './check-overflow/index.js';\nimport defaults from './defaults.js';\nimport moduleExtendParams from './moduleExtendParams.js';\nconst prototypes = {\n eventsEmitter,\n update,\n translate,\n transition,\n slide,\n loop,\n grabCursor,\n events,\n breakpoints,\n checkOverflow,\n classes,\n images\n};\nconst extendedDefaults = {};\n\nclass Swiper {\n constructor(...args) {\n let el;\n let params;\n\n if (args.length === 1 && args[0].constructor && Object.prototype.toString.call(args[0]).slice(8, -1) === 'Object') {\n params = args[0];\n } else {\n [el, params] = args;\n }\n\n if (!params) params = {};\n params = extend({}, params);\n if (el && !params.el) params.el = el;\n\n if (params.el && $(params.el).length > 1) {\n const swipers = [];\n $(params.el).each(containerEl => {\n const newParams = extend({}, params, {\n el: containerEl\n });\n swipers.push(new Swiper(newParams));\n }); // eslint-disable-next-line no-constructor-return\n\n return swipers;\n } // Swiper Instance\n\n\n const swiper = this;\n swiper.__swiper__ = true;\n swiper.support = getSupport();\n swiper.device = getDevice({\n userAgent: params.userAgent\n });\n swiper.browser = getBrowser();\n swiper.eventsListeners = {};\n swiper.eventsAnyListeners = [];\n swiper.modules = [...swiper.__modules__];\n\n if (params.modules && Array.isArray(params.modules)) {\n swiper.modules.push(...params.modules);\n }\n\n const allModulesParams = {};\n swiper.modules.forEach(mod => {\n mod({\n swiper,\n extendParams: moduleExtendParams(params, allModulesParams),\n on: swiper.on.bind(swiper),\n once: swiper.once.bind(swiper),\n off: swiper.off.bind(swiper),\n emit: swiper.emit.bind(swiper)\n });\n }); // Extend defaults with modules params\n\n const swiperParams = extend({}, defaults, allModulesParams); // Extend defaults with passed params\n\n swiper.params = extend({}, swiperParams, extendedDefaults, params);\n swiper.originalParams = extend({}, swiper.params);\n swiper.passedParams = extend({}, params); // add event listeners\n\n if (swiper.params && swiper.params.on) {\n Object.keys(swiper.params.on).forEach(eventName => {\n swiper.on(eventName, swiper.params.on[eventName]);\n });\n }\n\n if (swiper.params && swiper.params.onAny) {\n swiper.onAny(swiper.params.onAny);\n } // Save Dom lib\n\n\n swiper.$ = $; // Extend Swiper\n\n Object.assign(swiper, {\n enabled: swiper.params.enabled,\n el,\n // Classes\n classNames: [],\n // Slides\n slides: $(),\n slidesGrid: [],\n snapGrid: [],\n slidesSizesGrid: [],\n\n // isDirection\n isHorizontal() {\n return swiper.params.direction === 'horizontal';\n },\n\n isVertical() {\n return swiper.params.direction === 'vertical';\n },\n\n // Indexes\n activeIndex: 0,\n realIndex: 0,\n //\n isBeginning: true,\n isEnd: false,\n // Props\n translate: 0,\n previousTranslate: 0,\n progress: 0,\n velocity: 0,\n animating: false,\n // Locks\n allowSlideNext: swiper.params.allowSlideNext,\n allowSlidePrev: swiper.params.allowSlidePrev,\n // Touch Events\n touchEvents: function touchEvents() {\n const touch = ['touchstart', 'touchmove', 'touchend', 'touchcancel'];\n const desktop = ['pointerdown', 'pointermove', 'pointerup'];\n swiper.touchEventsTouch = {\n start: touch[0],\n move: touch[1],\n end: touch[2],\n cancel: touch[3]\n };\n swiper.touchEventsDesktop = {\n start: desktop[0],\n move: desktop[1],\n end: desktop[2]\n };\n return swiper.support.touch || !swiper.params.simulateTouch ? swiper.touchEventsTouch : swiper.touchEventsDesktop;\n }(),\n touchEventsData: {\n isTouched: undefined,\n isMoved: undefined,\n allowTouchCallbacks: undefined,\n touchStartTime: undefined,\n isScrolling: undefined,\n currentTranslate: undefined,\n startTranslate: undefined,\n allowThresholdMove: undefined,\n // Form elements to match\n focusableElements: swiper.params.focusableElements,\n // Last click time\n lastClickTime: now(),\n clickTimeout: undefined,\n // Velocities\n velocities: [],\n allowMomentumBounce: undefined,\n isTouchEvent: undefined,\n startMoving: undefined\n },\n // Clicks\n allowClick: true,\n // Touches\n allowTouchMove: swiper.params.allowTouchMove,\n touches: {\n startX: 0,\n startY: 0,\n currentX: 0,\n currentY: 0,\n diff: 0\n },\n // Images\n imagesToLoad: [],\n imagesLoaded: 0\n });\n swiper.emit('_swiper'); // Init\n\n if (swiper.params.init) {\n swiper.init();\n } // Return app instance\n // eslint-disable-next-line no-constructor-return\n\n\n return swiper;\n }\n\n enable() {\n const swiper = this;\n if (swiper.enabled) return;\n swiper.enabled = true;\n\n if (swiper.params.grabCursor) {\n swiper.setGrabCursor();\n }\n\n swiper.emit('enable');\n }\n\n disable() {\n const swiper = this;\n if (!swiper.enabled) return;\n swiper.enabled = false;\n\n if (swiper.params.grabCursor) {\n swiper.unsetGrabCursor();\n }\n\n swiper.emit('disable');\n }\n\n setProgress(progress, speed) {\n const swiper = this;\n progress = Math.min(Math.max(progress, 0), 1);\n const min = swiper.minTranslate();\n const max = swiper.maxTranslate();\n const current = (max - min) * progress + min;\n swiper.translateTo(current, typeof speed === 'undefined' ? 0 : speed);\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n\n emitContainerClasses() {\n const swiper = this;\n if (!swiper.params._emitClasses || !swiper.el) return;\n const cls = swiper.el.className.split(' ').filter(className => {\n return className.indexOf('swiper') === 0 || className.indexOf(swiper.params.containerModifierClass) === 0;\n });\n swiper.emit('_containerClasses', cls.join(' '));\n }\n\n getSlideClasses(slideEl) {\n const swiper = this;\n if (swiper.destroyed) return '';\n return slideEl.className.split(' ').filter(className => {\n return className.indexOf('swiper-slide') === 0 || className.indexOf(swiper.params.slideClass) === 0;\n }).join(' ');\n }\n\n emitSlidesClasses() {\n const swiper = this;\n if (!swiper.params._emitClasses || !swiper.el) return;\n const updates = [];\n swiper.slides.each(slideEl => {\n const classNames = swiper.getSlideClasses(slideEl);\n updates.push({\n slideEl,\n classNames\n });\n swiper.emit('_slideClass', slideEl, classNames);\n });\n swiper.emit('_slideClasses', updates);\n }\n\n slidesPerViewDynamic(view = 'current', exact = false) {\n const swiper = this;\n const {\n params,\n slides,\n slidesGrid,\n slidesSizesGrid,\n size: swiperSize,\n activeIndex\n } = swiper;\n let spv = 1;\n\n if (params.centeredSlides) {\n let slideSize = slides[activeIndex].swiperSlideSize;\n let breakLoop;\n\n for (let i = activeIndex + 1; i < slides.length; i += 1) {\n if (slides[i] && !breakLoop) {\n slideSize += slides[i].swiperSlideSize;\n spv += 1;\n if (slideSize > swiperSize) breakLoop = true;\n }\n }\n\n for (let i = activeIndex - 1; i >= 0; i -= 1) {\n if (slides[i] && !breakLoop) {\n slideSize += slides[i].swiperSlideSize;\n spv += 1;\n if (slideSize > swiperSize) breakLoop = true;\n }\n }\n } else {\n // eslint-disable-next-line\n if (view === 'current') {\n for (let i = activeIndex + 1; i < slides.length; i += 1) {\n const slideInView = exact ? slidesGrid[i] + slidesSizesGrid[i] - slidesGrid[activeIndex] < swiperSize : slidesGrid[i] - slidesGrid[activeIndex] < swiperSize;\n\n if (slideInView) {\n spv += 1;\n }\n }\n } else {\n // previous\n for (let i = activeIndex - 1; i >= 0; i -= 1) {\n const slideInView = slidesGrid[activeIndex] - slidesGrid[i] < swiperSize;\n\n if (slideInView) {\n spv += 1;\n }\n }\n }\n }\n\n return spv;\n }\n\n update() {\n const swiper = this;\n if (!swiper || swiper.destroyed) return;\n const {\n snapGrid,\n params\n } = swiper; // Breakpoints\n\n if (params.breakpoints) {\n swiper.setBreakpoint();\n }\n\n swiper.updateSize();\n swiper.updateSlides();\n swiper.updateProgress();\n swiper.updateSlidesClasses();\n\n function setTranslate() {\n const translateValue = swiper.rtlTranslate ? swiper.translate * -1 : swiper.translate;\n const newTranslate = Math.min(Math.max(translateValue, swiper.maxTranslate()), swiper.minTranslate());\n swiper.setTranslate(newTranslate);\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n\n let translated;\n\n if (swiper.params.freeMode && swiper.params.freeMode.enabled) {\n setTranslate();\n\n if (swiper.params.autoHeight) {\n swiper.updateAutoHeight();\n }\n } else {\n if ((swiper.params.slidesPerView === 'auto' || swiper.params.slidesPerView > 1) && swiper.isEnd && !swiper.params.centeredSlides) {\n translated = swiper.slideTo(swiper.slides.length - 1, 0, false, true);\n } else {\n translated = swiper.slideTo(swiper.activeIndex, 0, false, true);\n }\n\n if (!translated) {\n setTranslate();\n }\n }\n\n if (params.watchOverflow && snapGrid !== swiper.snapGrid) {\n swiper.checkOverflow();\n }\n\n swiper.emit('update');\n }\n\n changeDirection(newDirection, needUpdate = true) {\n const swiper = this;\n const currentDirection = swiper.params.direction;\n\n if (!newDirection) {\n // eslint-disable-next-line\n newDirection = currentDirection === 'horizontal' ? 'vertical' : 'horizontal';\n }\n\n if (newDirection === currentDirection || newDirection !== 'horizontal' && newDirection !== 'vertical') {\n return swiper;\n }\n\n swiper.$el.removeClass(`${swiper.params.containerModifierClass}${currentDirection}`).addClass(`${swiper.params.containerModifierClass}${newDirection}`);\n swiper.emitContainerClasses();\n swiper.params.direction = newDirection;\n swiper.slides.each(slideEl => {\n if (newDirection === 'vertical') {\n slideEl.style.width = '';\n } else {\n slideEl.style.height = '';\n }\n });\n swiper.emit('changeDirection');\n if (needUpdate) swiper.update();\n return swiper;\n }\n\n changeLanguageDirection(direction) {\n const swiper = this;\n if (swiper.rtl && direction === 'rtl' || !swiper.rtl && direction === 'ltr') return;\n swiper.rtl = direction === 'rtl';\n swiper.rtlTranslate = swiper.params.direction === 'horizontal' && swiper.rtl;\n\n if (swiper.rtl) {\n swiper.$el.addClass(`${swiper.params.containerModifierClass}rtl`);\n swiper.el.dir = 'rtl';\n } else {\n swiper.$el.removeClass(`${swiper.params.containerModifierClass}rtl`);\n swiper.el.dir = 'ltr';\n }\n\n swiper.update();\n }\n\n mount(el) {\n const swiper = this;\n if (swiper.mounted) return true; // Find el\n\n const $el = $(el || swiper.params.el);\n el = $el[0];\n\n if (!el) {\n return false;\n }\n\n el.swiper = swiper;\n\n const getWrapperSelector = () => {\n return `.${(swiper.params.wrapperClass || '').trim().split(' ').join('.')}`;\n };\n\n const getWrapper = () => {\n if (el && el.shadowRoot && el.shadowRoot.querySelector) {\n const res = $(el.shadowRoot.querySelector(getWrapperSelector())); // Children needs to return slot items\n\n res.children = options => $el.children(options);\n\n return res;\n }\n\n if (!$el.children) {\n return $($el).children(getWrapperSelector());\n }\n\n return $el.children(getWrapperSelector());\n }; // Find Wrapper\n\n\n let $wrapperEl = getWrapper();\n\n if ($wrapperEl.length === 0 && swiper.params.createElements) {\n const document = getDocument();\n const wrapper = document.createElement('div');\n $wrapperEl = $(wrapper);\n wrapper.className = swiper.params.wrapperClass;\n $el.append(wrapper);\n $el.children(`.${swiper.params.slideClass}`).each(slideEl => {\n $wrapperEl.append(slideEl);\n });\n }\n\n Object.assign(swiper, {\n $el,\n el,\n $wrapperEl,\n wrapperEl: $wrapperEl[0],\n mounted: true,\n // RTL\n rtl: el.dir.toLowerCase() === 'rtl' || $el.css('direction') === 'rtl',\n rtlTranslate: swiper.params.direction === 'horizontal' && (el.dir.toLowerCase() === 'rtl' || $el.css('direction') === 'rtl'),\n wrongRTL: $wrapperEl.css('display') === '-webkit-box'\n });\n return true;\n }\n\n init(el) {\n const swiper = this;\n if (swiper.initialized) return swiper;\n const mounted = swiper.mount(el);\n if (mounted === false) return swiper;\n swiper.emit('beforeInit'); // Set breakpoint\n\n if (swiper.params.breakpoints) {\n swiper.setBreakpoint();\n } // Add Classes\n\n\n swiper.addClasses(); // Create loop\n\n if (swiper.params.loop) {\n swiper.loopCreate();\n } // Update size\n\n\n swiper.updateSize(); // Update slides\n\n swiper.updateSlides();\n\n if (swiper.params.watchOverflow) {\n swiper.checkOverflow();\n } // Set Grab Cursor\n\n\n if (swiper.params.grabCursor && swiper.enabled) {\n swiper.setGrabCursor();\n }\n\n if (swiper.params.preloadImages) {\n swiper.preloadImages();\n } // Slide To Initial Slide\n\n\n if (swiper.params.loop) {\n swiper.slideTo(swiper.params.initialSlide + swiper.loopedSlides, 0, swiper.params.runCallbacksOnInit, false, true);\n } else {\n swiper.slideTo(swiper.params.initialSlide, 0, swiper.params.runCallbacksOnInit, false, true);\n } // Attach events\n\n\n swiper.attachEvents(); // Init Flag\n\n swiper.initialized = true; // Emit\n\n swiper.emit('init');\n swiper.emit('afterInit');\n return swiper;\n }\n\n destroy(deleteInstance = true, cleanStyles = true) {\n const swiper = this;\n const {\n params,\n $el,\n $wrapperEl,\n slides\n } = swiper;\n\n if (typeof swiper.params === 'undefined' || swiper.destroyed) {\n return null;\n }\n\n swiper.emit('beforeDestroy'); // Init Flag\n\n swiper.initialized = false; // Detach events\n\n swiper.detachEvents(); // Destroy loop\n\n if (params.loop) {\n swiper.loopDestroy();\n } // Cleanup styles\n\n\n if (cleanStyles) {\n swiper.removeClasses();\n $el.removeAttr('style');\n $wrapperEl.removeAttr('style');\n\n if (slides && slides.length) {\n slides.removeClass([params.slideVisibleClass, params.slideActiveClass, params.slideNextClass, params.slidePrevClass].join(' ')).removeAttr('style').removeAttr('data-swiper-slide-index');\n }\n }\n\n swiper.emit('destroy'); // Detach emitter events\n\n Object.keys(swiper.eventsListeners).forEach(eventName => {\n swiper.off(eventName);\n });\n\n if (deleteInstance !== false) {\n swiper.$el[0].swiper = null;\n deleteProps(swiper);\n }\n\n swiper.destroyed = true;\n return null;\n }\n\n static extendDefaults(newDefaults) {\n extend(extendedDefaults, newDefaults);\n }\n\n static get extendedDefaults() {\n return extendedDefaults;\n }\n\n static get defaults() {\n return defaults;\n }\n\n static installModule(mod) {\n if (!Swiper.prototype.__modules__) Swiper.prototype.__modules__ = [];\n const modules = Swiper.prototype.__modules__;\n\n if (typeof mod === 'function' && modules.indexOf(mod) < 0) {\n modules.push(mod);\n }\n }\n\n static use(module) {\n if (Array.isArray(module)) {\n module.forEach(m => Swiper.installModule(m));\n return Swiper;\n }\n\n Swiper.installModule(module);\n return Swiper;\n }\n\n}\n\nObject.keys(prototypes).forEach(prototypeGroup => {\n Object.keys(prototypes[prototypeGroup]).forEach(protoMethod => {\n Swiper.prototype[protoMethod] = prototypes[prototypeGroup][protoMethod];\n });\n});\nSwiper.use([Resize, Observer]);\nexport default Swiper;","/* eslint-disable no-underscore-dangle */\nexport default {\n on(events, handler, priority) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (typeof handler !== 'function') return self;\n const method = priority ? 'unshift' : 'push';\n events.split(' ').forEach(event => {\n if (!self.eventsListeners[event]) self.eventsListeners[event] = [];\n self.eventsListeners[event][method](handler);\n });\n return self;\n },\n\n once(events, handler, priority) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (typeof handler !== 'function') return self;\n\n function onceHandler(...args) {\n self.off(events, onceHandler);\n\n if (onceHandler.__emitterProxy) {\n delete onceHandler.__emitterProxy;\n }\n\n handler.apply(self, args);\n }\n\n onceHandler.__emitterProxy = handler;\n return self.on(events, onceHandler, priority);\n },\n\n onAny(handler, priority) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (typeof handler !== 'function') return self;\n const method = priority ? 'unshift' : 'push';\n\n if (self.eventsAnyListeners.indexOf(handler) < 0) {\n self.eventsAnyListeners[method](handler);\n }\n\n return self;\n },\n\n offAny(handler) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (!self.eventsAnyListeners) return self;\n const index = self.eventsAnyListeners.indexOf(handler);\n\n if (index >= 0) {\n self.eventsAnyListeners.splice(index, 1);\n }\n\n return self;\n },\n\n off(events, handler) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (!self.eventsListeners) return self;\n events.split(' ').forEach(event => {\n if (typeof handler === 'undefined') {\n self.eventsListeners[event] = [];\n } else if (self.eventsListeners[event]) {\n self.eventsListeners[event].forEach((eventHandler, index) => {\n if (eventHandler === handler || eventHandler.__emitterProxy && eventHandler.__emitterProxy === handler) {\n self.eventsListeners[event].splice(index, 1);\n }\n });\n }\n });\n return self;\n },\n\n emit(...args) {\n const self = this;\n if (!self.eventsListeners || self.destroyed) return self;\n if (!self.eventsListeners) return self;\n let events;\n let data;\n let context;\n\n if (typeof args[0] === 'string' || Array.isArray(args[0])) {\n events = args[0];\n data = args.slice(1, args.length);\n context = self;\n } else {\n events = args[0].events;\n data = args[0].data;\n context = args[0].context || self;\n }\n\n data.unshift(context);\n const eventsArray = Array.isArray(events) ? events : events.split(' ');\n eventsArray.forEach(event => {\n if (self.eventsAnyListeners && self.eventsAnyListeners.length) {\n self.eventsAnyListeners.forEach(eventHandler => {\n eventHandler.apply(context, [event, ...data]);\n });\n }\n\n if (self.eventsListeners && self.eventsListeners[event]) {\n self.eventsListeners[event].forEach(eventHandler => {\n eventHandler.apply(context, data);\n });\n }\n });\n return self;\n }\n\n};","import updateSize from './updateSize.js';\nimport updateSlides from './updateSlides.js';\nimport updateAutoHeight from './updateAutoHeight.js';\nimport updateSlidesOffset from './updateSlidesOffset.js';\nimport updateSlidesProgress from './updateSlidesProgress.js';\nimport updateProgress from './updateProgress.js';\nimport updateSlidesClasses from './updateSlidesClasses.js';\nimport updateActiveIndex from './updateActiveIndex.js';\nimport updateClickedSlide from './updateClickedSlide.js';\nexport default {\n updateSize,\n updateSlides,\n updateAutoHeight,\n updateSlidesOffset,\n updateSlidesProgress,\n updateProgress,\n updateSlidesClasses,\n updateActiveIndex,\n updateClickedSlide\n};","export default function updateSize() {\n const swiper = this;\n let width;\n let height;\n const $el = swiper.$el;\n\n if (typeof swiper.params.width !== 'undefined' && swiper.params.width !== null) {\n width = swiper.params.width;\n } else {\n width = $el[0].clientWidth;\n }\n\n if (typeof swiper.params.height !== 'undefined' && swiper.params.height !== null) {\n height = swiper.params.height;\n } else {\n height = $el[0].clientHeight;\n }\n\n if (width === 0 && swiper.isHorizontal() || height === 0 && swiper.isVertical()) {\n return;\n } // Subtract paddings\n\n\n width = width - parseInt($el.css('padding-left') || 0, 10) - parseInt($el.css('padding-right') || 0, 10);\n height = height - parseInt($el.css('padding-top') || 0, 10) - parseInt($el.css('padding-bottom') || 0, 10);\n if (Number.isNaN(width)) width = 0;\n if (Number.isNaN(height)) height = 0;\n Object.assign(swiper, {\n width,\n height,\n size: swiper.isHorizontal() ? width : height\n });\n}","import { setCSSProperty } from '../../shared/utils.js';\nexport default function updateSlides() {\n const swiper = this;\n\n function getDirectionLabel(property) {\n if (swiper.isHorizontal()) {\n return property;\n } // prettier-ignore\n\n\n return {\n 'width': 'height',\n 'margin-top': 'margin-left',\n 'margin-bottom ': 'margin-right',\n 'margin-left': 'margin-top',\n 'margin-right': 'margin-bottom',\n 'padding-left': 'padding-top',\n 'padding-right': 'padding-bottom',\n 'marginRight': 'marginBottom'\n }[property];\n }\n\n function getDirectionPropertyValue(node, label) {\n return parseFloat(node.getPropertyValue(getDirectionLabel(label)) || 0);\n }\n\n const params = swiper.params;\n const {\n $wrapperEl,\n size: swiperSize,\n rtlTranslate: rtl,\n wrongRTL\n } = swiper;\n const isVirtual = swiper.virtual && params.virtual.enabled;\n const previousSlidesLength = isVirtual ? swiper.virtual.slides.length : swiper.slides.length;\n const slides = $wrapperEl.children(`.${swiper.params.slideClass}`);\n const slidesLength = isVirtual ? swiper.virtual.slides.length : slides.length;\n let snapGrid = [];\n const slidesGrid = [];\n const slidesSizesGrid = [];\n let offsetBefore = params.slidesOffsetBefore;\n\n if (typeof offsetBefore === 'function') {\n offsetBefore = params.slidesOffsetBefore.call(swiper);\n }\n\n let offsetAfter = params.slidesOffsetAfter;\n\n if (typeof offsetAfter === 'function') {\n offsetAfter = params.slidesOffsetAfter.call(swiper);\n }\n\n const previousSnapGridLength = swiper.snapGrid.length;\n const previousSlidesGridLength = swiper.slidesGrid.length;\n let spaceBetween = params.spaceBetween;\n let slidePosition = -offsetBefore;\n let prevSlideSize = 0;\n let index = 0;\n\n if (typeof swiperSize === 'undefined') {\n return;\n }\n\n if (typeof spaceBetween === 'string' && spaceBetween.indexOf('%') >= 0) {\n spaceBetween = parseFloat(spaceBetween.replace('%', '')) / 100 * swiperSize;\n }\n\n swiper.virtualSize = -spaceBetween; // reset margins\n\n if (rtl) slides.css({\n marginLeft: '',\n marginBottom: '',\n marginTop: ''\n });else slides.css({\n marginRight: '',\n marginBottom: '',\n marginTop: ''\n }); // reset cssMode offsets\n\n if (params.centeredSlides && params.cssMode) {\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-before', '');\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-after', '');\n }\n\n const gridEnabled = params.grid && params.grid.rows > 1 && swiper.grid;\n\n if (gridEnabled) {\n swiper.grid.initSlides(slidesLength);\n } // Calc slides\n\n\n let slideSize;\n const shouldResetSlideSize = params.slidesPerView === 'auto' && params.breakpoints && Object.keys(params.breakpoints).filter(key => {\n return typeof params.breakpoints[key].slidesPerView !== 'undefined';\n }).length > 0;\n\n for (let i = 0; i < slidesLength; i += 1) {\n slideSize = 0;\n const slide = slides.eq(i);\n\n if (gridEnabled) {\n swiper.grid.updateSlide(i, slide, slidesLength, getDirectionLabel);\n }\n\n if (slide.css('display') === 'none') continue; // eslint-disable-line\n\n if (params.slidesPerView === 'auto') {\n if (shouldResetSlideSize) {\n slides[i].style[getDirectionLabel('width')] = ``;\n }\n\n const slideStyles = getComputedStyle(slide[0]);\n const currentTransform = slide[0].style.transform;\n const currentWebKitTransform = slide[0].style.webkitTransform;\n\n if (currentTransform) {\n slide[0].style.transform = 'none';\n }\n\n if (currentWebKitTransform) {\n slide[0].style.webkitTransform = 'none';\n }\n\n if (params.roundLengths) {\n slideSize = swiper.isHorizontal() ? slide.outerWidth(true) : slide.outerHeight(true);\n } else {\n // eslint-disable-next-line\n const width = getDirectionPropertyValue(slideStyles, 'width');\n const paddingLeft = getDirectionPropertyValue(slideStyles, 'padding-left');\n const paddingRight = getDirectionPropertyValue(slideStyles, 'padding-right');\n const marginLeft = getDirectionPropertyValue(slideStyles, 'margin-left');\n const marginRight = getDirectionPropertyValue(slideStyles, 'margin-right');\n const boxSizing = slideStyles.getPropertyValue('box-sizing');\n\n if (boxSizing && boxSizing === 'border-box') {\n slideSize = width + marginLeft + marginRight;\n } else {\n const {\n clientWidth,\n offsetWidth\n } = slide[0];\n slideSize = width + paddingLeft + paddingRight + marginLeft + marginRight + (offsetWidth - clientWidth);\n }\n }\n\n if (currentTransform) {\n slide[0].style.transform = currentTransform;\n }\n\n if (currentWebKitTransform) {\n slide[0].style.webkitTransform = currentWebKitTransform;\n }\n\n if (params.roundLengths) slideSize = Math.floor(slideSize);\n } else {\n slideSize = (swiperSize - (params.slidesPerView - 1) * spaceBetween) / params.slidesPerView;\n if (params.roundLengths) slideSize = Math.floor(slideSize);\n\n if (slides[i]) {\n slides[i].style[getDirectionLabel('width')] = `${slideSize}px`;\n }\n }\n\n if (slides[i]) {\n slides[i].swiperSlideSize = slideSize;\n }\n\n slidesSizesGrid.push(slideSize);\n\n if (params.centeredSlides) {\n slidePosition = slidePosition + slideSize / 2 + prevSlideSize / 2 + spaceBetween;\n if (prevSlideSize === 0 && i !== 0) slidePosition = slidePosition - swiperSize / 2 - spaceBetween;\n if (i === 0) slidePosition = slidePosition - swiperSize / 2 - spaceBetween;\n if (Math.abs(slidePosition) < 1 / 1000) slidePosition = 0;\n if (params.roundLengths) slidePosition = Math.floor(slidePosition);\n if (index % params.slidesPerGroup === 0) snapGrid.push(slidePosition);\n slidesGrid.push(slidePosition);\n } else {\n if (params.roundLengths) slidePosition = Math.floor(slidePosition);\n if ((index - Math.min(swiper.params.slidesPerGroupSkip, index)) % swiper.params.slidesPerGroup === 0) snapGrid.push(slidePosition);\n slidesGrid.push(slidePosition);\n slidePosition = slidePosition + slideSize + spaceBetween;\n }\n\n swiper.virtualSize += slideSize + spaceBetween;\n prevSlideSize = slideSize;\n index += 1;\n }\n\n swiper.virtualSize = Math.max(swiper.virtualSize, swiperSize) + offsetAfter;\n\n if (rtl && wrongRTL && (params.effect === 'slide' || params.effect === 'coverflow')) {\n $wrapperEl.css({\n width: `${swiper.virtualSize + params.spaceBetween}px`\n });\n }\n\n if (params.setWrapperSize) {\n $wrapperEl.css({\n [getDirectionLabel('width')]: `${swiper.virtualSize + params.spaceBetween}px`\n });\n }\n\n if (gridEnabled) {\n swiper.grid.updateWrapperSize(slideSize, snapGrid, getDirectionLabel);\n } // Remove last grid elements depending on width\n\n\n if (!params.centeredSlides) {\n const newSlidesGrid = [];\n\n for (let i = 0; i < snapGrid.length; i += 1) {\n let slidesGridItem = snapGrid[i];\n if (params.roundLengths) slidesGridItem = Math.floor(slidesGridItem);\n\n if (snapGrid[i] <= swiper.virtualSize - swiperSize) {\n newSlidesGrid.push(slidesGridItem);\n }\n }\n\n snapGrid = newSlidesGrid;\n\n if (Math.floor(swiper.virtualSize - swiperSize) - Math.floor(snapGrid[snapGrid.length - 1]) > 1) {\n snapGrid.push(swiper.virtualSize - swiperSize);\n }\n }\n\n if (snapGrid.length === 0) snapGrid = [0];\n\n if (params.spaceBetween !== 0) {\n const key = swiper.isHorizontal() && rtl ? 'marginLeft' : getDirectionLabel('marginRight');\n slides.filter((_, slideIndex) => {\n if (!params.cssMode) return true;\n\n if (slideIndex === slides.length - 1) {\n return false;\n }\n\n return true;\n }).css({\n [key]: `${spaceBetween}px`\n });\n }\n\n if (params.centeredSlides && params.centeredSlidesBounds) {\n let allSlidesSize = 0;\n slidesSizesGrid.forEach(slideSizeValue => {\n allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);\n });\n allSlidesSize -= params.spaceBetween;\n const maxSnap = allSlidesSize - swiperSize;\n snapGrid = snapGrid.map(snap => {\n if (snap < 0) return -offsetBefore;\n if (snap > maxSnap) return maxSnap + offsetAfter;\n return snap;\n });\n }\n\n if (params.centerInsufficientSlides) {\n let allSlidesSize = 0;\n slidesSizesGrid.forEach(slideSizeValue => {\n allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);\n });\n allSlidesSize -= params.spaceBetween;\n\n if (allSlidesSize < swiperSize) {\n const allSlidesOffset = (swiperSize - allSlidesSize) / 2;\n snapGrid.forEach((snap, snapIndex) => {\n snapGrid[snapIndex] = snap - allSlidesOffset;\n });\n slidesGrid.forEach((snap, snapIndex) => {\n slidesGrid[snapIndex] = snap + allSlidesOffset;\n });\n }\n }\n\n Object.assign(swiper, {\n slides,\n snapGrid,\n slidesGrid,\n slidesSizesGrid\n });\n\n if (params.centeredSlides && params.cssMode && !params.centeredSlidesBounds) {\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-before', `${-snapGrid[0]}px`);\n setCSSProperty(swiper.wrapperEl, '--swiper-centered-offset-after', `${swiper.size / 2 - slidesSizesGrid[slidesSizesGrid.length - 1] / 2}px`);\n const addToSnapGrid = -swiper.snapGrid[0];\n const addToSlidesGrid = -swiper.slidesGrid[0];\n swiper.snapGrid = swiper.snapGrid.map(v => v + addToSnapGrid);\n swiper.slidesGrid = swiper.slidesGrid.map(v => v + addToSlidesGrid);\n }\n\n if (slidesLength !== previousSlidesLength) {\n swiper.emit('slidesLengthChange');\n }\n\n if (snapGrid.length !== previousSnapGridLength) {\n if (swiper.params.watchOverflow) swiper.checkOverflow();\n swiper.emit('snapGridLengthChange');\n }\n\n if (slidesGrid.length !== previousSlidesGridLength) {\n swiper.emit('slidesGridLengthChange');\n }\n\n if (params.watchSlidesProgress) {\n swiper.updateSlidesOffset();\n }\n\n if (!isVirtual && !params.cssMode && (params.effect === 'slide' || params.effect === 'fade')) {\n const backFaceHiddenClass = `${params.containerModifierClass}backface-hidden`;\n const hasClassBackfaceClassAdded = swiper.$el.hasClass(backFaceHiddenClass);\n\n if (slidesLength <= params.maxBackfaceHiddenSlides) {\n if (!hasClassBackfaceClassAdded) swiper.$el.addClass(backFaceHiddenClass);\n } else if (hasClassBackfaceClassAdded) {\n swiper.$el.removeClass(backFaceHiddenClass);\n }\n }\n}","import $ from '../../shared/dom.js';\nexport default function updateAutoHeight(speed) {\n const swiper = this;\n const activeSlides = [];\n const isVirtual = swiper.virtual && swiper.params.virtual.enabled;\n let newHeight = 0;\n let i;\n\n if (typeof speed === 'number') {\n swiper.setTransition(speed);\n } else if (speed === true) {\n swiper.setTransition(swiper.params.speed);\n }\n\n const getSlideByIndex = index => {\n if (isVirtual) {\n return swiper.slides.filter(el => parseInt(el.getAttribute('data-swiper-slide-index'), 10) === index)[0];\n }\n\n return swiper.slides.eq(index)[0];\n }; // Find slides currently in view\n\n\n if (swiper.params.slidesPerView !== 'auto' && swiper.params.slidesPerView > 1) {\n if (swiper.params.centeredSlides) {\n (swiper.visibleSlides || $([])).each(slide => {\n activeSlides.push(slide);\n });\n } else {\n for (i = 0; i < Math.ceil(swiper.params.slidesPerView); i += 1) {\n const index = swiper.activeIndex + i;\n if (index > swiper.slides.length && !isVirtual) break;\n activeSlides.push(getSlideByIndex(index));\n }\n }\n } else {\n activeSlides.push(getSlideByIndex(swiper.activeIndex));\n } // Find new height from highest slide in view\n\n\n for (i = 0; i < activeSlides.length; i += 1) {\n if (typeof activeSlides[i] !== 'undefined') {\n const height = activeSlides[i].offsetHeight;\n newHeight = height > newHeight ? height : newHeight;\n }\n } // Update Height\n\n\n if (newHeight || newHeight === 0) swiper.$wrapperEl.css('height', `${newHeight}px`);\n}","export default function updateSlidesOffset() {\n const swiper = this;\n const slides = swiper.slides;\n\n for (let i = 0; i < slides.length; i += 1) {\n slides[i].swiperSlideOffset = swiper.isHorizontal() ? slides[i].offsetLeft : slides[i].offsetTop;\n }\n}","import $ from '../../shared/dom.js';\nexport default function updateSlidesProgress(translate = this && this.translate || 0) {\n const swiper = this;\n const params = swiper.params;\n const {\n slides,\n rtlTranslate: rtl,\n snapGrid\n } = swiper;\n if (slides.length === 0) return;\n if (typeof slides[0].swiperSlideOffset === 'undefined') swiper.updateSlidesOffset();\n let offsetCenter = -translate;\n if (rtl) offsetCenter = translate; // Visible Slides\n\n slides.removeClass(params.slideVisibleClass);\n swiper.visibleSlidesIndexes = [];\n swiper.visibleSlides = [];\n\n for (let i = 0; i < slides.length; i += 1) {\n const slide = slides[i];\n let slideOffset = slide.swiperSlideOffset;\n\n if (params.cssMode && params.centeredSlides) {\n slideOffset -= slides[0].swiperSlideOffset;\n }\n\n const slideProgress = (offsetCenter + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);\n const originalSlideProgress = (offsetCenter - snapGrid[0] + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);\n const slideBefore = -(offsetCenter - slideOffset);\n const slideAfter = slideBefore + swiper.slidesSizesGrid[i];\n const isVisible = slideBefore >= 0 && slideBefore < swiper.size - 1 || slideAfter > 1 && slideAfter <= swiper.size || slideBefore <= 0 && slideAfter >= swiper.size;\n\n if (isVisible) {\n swiper.visibleSlides.push(slide);\n swiper.visibleSlidesIndexes.push(i);\n slides.eq(i).addClass(params.slideVisibleClass);\n }\n\n slide.progress = rtl ? -slideProgress : slideProgress;\n slide.originalProgress = rtl ? -originalSlideProgress : originalSlideProgress;\n }\n\n swiper.visibleSlides = $(swiper.visibleSlides);\n}","export default function updateProgress(translate) {\n const swiper = this;\n\n if (typeof translate === 'undefined') {\n const multiplier = swiper.rtlTranslate ? -1 : 1; // eslint-disable-next-line\n\n translate = swiper && swiper.translate && swiper.translate * multiplier || 0;\n }\n\n const params = swiper.params;\n const translatesDiff = swiper.maxTranslate() - swiper.minTranslate();\n let {\n progress,\n isBeginning,\n isEnd\n } = swiper;\n const wasBeginning = isBeginning;\n const wasEnd = isEnd;\n\n if (translatesDiff === 0) {\n progress = 0;\n isBeginning = true;\n isEnd = true;\n } else {\n progress = (translate - swiper.minTranslate()) / translatesDiff;\n isBeginning = progress <= 0;\n isEnd = progress >= 1;\n }\n\n Object.assign(swiper, {\n progress,\n isBeginning,\n isEnd\n });\n if (params.watchSlidesProgress || params.centeredSlides && params.autoHeight) swiper.updateSlidesProgress(translate);\n\n if (isBeginning && !wasBeginning) {\n swiper.emit('reachBeginning toEdge');\n }\n\n if (isEnd && !wasEnd) {\n swiper.emit('reachEnd toEdge');\n }\n\n if (wasBeginning && !isBeginning || wasEnd && !isEnd) {\n swiper.emit('fromEdge');\n }\n\n swiper.emit('progress', progress);\n}","export default function updateSlidesClasses() {\n const swiper = this;\n const {\n slides,\n params,\n $wrapperEl,\n activeIndex,\n realIndex\n } = swiper;\n const isVirtual = swiper.virtual && params.virtual.enabled;\n slides.removeClass(`${params.slideActiveClass} ${params.slideNextClass} ${params.slidePrevClass} ${params.slideDuplicateActiveClass} ${params.slideDuplicateNextClass} ${params.slideDuplicatePrevClass}`);\n let activeSlide;\n\n if (isVirtual) {\n activeSlide = swiper.$wrapperEl.find(`.${params.slideClass}[data-swiper-slide-index=\"${activeIndex}\"]`);\n } else {\n activeSlide = slides.eq(activeIndex);\n } // Active classes\n\n\n activeSlide.addClass(params.slideActiveClass);\n\n if (params.loop) {\n // Duplicate to all looped slides\n if (activeSlide.hasClass(params.slideDuplicateClass)) {\n $wrapperEl.children(`.${params.slideClass}:not(.${params.slideDuplicateClass})[data-swiper-slide-index=\"${realIndex}\"]`).addClass(params.slideDuplicateActiveClass);\n } else {\n $wrapperEl.children(`.${params.slideClass}.${params.slideDuplicateClass}[data-swiper-slide-index=\"${realIndex}\"]`).addClass(params.slideDuplicateActiveClass);\n }\n } // Next Slide\n\n\n let nextSlide = activeSlide.nextAll(`.${params.slideClass}`).eq(0).addClass(params.slideNextClass);\n\n if (params.loop && nextSlide.length === 0) {\n nextSlide = slides.eq(0);\n nextSlide.addClass(params.slideNextClass);\n } // Prev Slide\n\n\n let prevSlide = activeSlide.prevAll(`.${params.slideClass}`).eq(0).addClass(params.slidePrevClass);\n\n if (params.loop && prevSlide.length === 0) {\n prevSlide = slides.eq(-1);\n prevSlide.addClass(params.slidePrevClass);\n }\n\n if (params.loop) {\n // Duplicate to all looped slides\n if (nextSlide.hasClass(params.slideDuplicateClass)) {\n $wrapperEl.children(`.${params.slideClass}:not(.${params.slideDuplicateClass})[data-swiper-slide-index=\"${nextSlide.attr('data-swiper-slide-index')}\"]`).addClass(params.slideDuplicateNextClass);\n } else {\n $wrapperEl.children(`.${params.slideClass}.${params.slideDuplicateClass}[data-swiper-slide-index=\"${nextSlide.attr('data-swiper-slide-index')}\"]`).addClass(params.slideDuplicateNextClass);\n }\n\n if (prevSlide.hasClass(params.slideDuplicateClass)) {\n $wrapperEl.children(`.${params.slideClass}:not(.${params.slideDuplicateClass})[data-swiper-slide-index=\"${prevSlide.attr('data-swiper-slide-index')}\"]`).addClass(params.slideDuplicatePrevClass);\n } else {\n $wrapperEl.children(`.${params.slideClass}.${params.slideDuplicateClass}[data-swiper-slide-index=\"${prevSlide.attr('data-swiper-slide-index')}\"]`).addClass(params.slideDuplicatePrevClass);\n }\n }\n\n swiper.emitSlidesClasses();\n}","export default function updateActiveIndex(newActiveIndex) {\n const swiper = this;\n const translate = swiper.rtlTranslate ? swiper.translate : -swiper.translate;\n const {\n slidesGrid,\n snapGrid,\n params,\n activeIndex: previousIndex,\n realIndex: previousRealIndex,\n snapIndex: previousSnapIndex\n } = swiper;\n let activeIndex = newActiveIndex;\n let snapIndex;\n\n if (typeof activeIndex === 'undefined') {\n for (let i = 0; i < slidesGrid.length; i += 1) {\n if (typeof slidesGrid[i + 1] !== 'undefined') {\n if (translate >= slidesGrid[i] && translate < slidesGrid[i + 1] - (slidesGrid[i + 1] - slidesGrid[i]) / 2) {\n activeIndex = i;\n } else if (translate >= slidesGrid[i] && translate < slidesGrid[i + 1]) {\n activeIndex = i + 1;\n }\n } else if (translate >= slidesGrid[i]) {\n activeIndex = i;\n }\n } // Normalize slideIndex\n\n\n if (params.normalizeSlideIndex) {\n if (activeIndex < 0 || typeof activeIndex === 'undefined') activeIndex = 0;\n }\n }\n\n if (snapGrid.indexOf(translate) >= 0) {\n snapIndex = snapGrid.indexOf(translate);\n } else {\n const skip = Math.min(params.slidesPerGroupSkip, activeIndex);\n snapIndex = skip + Math.floor((activeIndex - skip) / params.slidesPerGroup);\n }\n\n if (snapIndex >= snapGrid.length) snapIndex = snapGrid.length - 1;\n\n if (activeIndex === previousIndex) {\n if (snapIndex !== previousSnapIndex) {\n swiper.snapIndex = snapIndex;\n swiper.emit('snapIndexChange');\n }\n\n return;\n } // Get real index\n\n\n const realIndex = parseInt(swiper.slides.eq(activeIndex).attr('data-swiper-slide-index') || activeIndex, 10);\n Object.assign(swiper, {\n snapIndex,\n realIndex,\n previousIndex,\n activeIndex\n });\n swiper.emit('activeIndexChange');\n swiper.emit('snapIndexChange');\n\n if (previousRealIndex !== realIndex) {\n swiper.emit('realIndexChange');\n }\n\n if (swiper.initialized || swiper.params.runCallbacksOnInit) {\n swiper.emit('slideChange');\n }\n}","import $ from '../../shared/dom.js';\nexport default function updateClickedSlide(e) {\n const swiper = this;\n const params = swiper.params;\n const slide = $(e).closest(`.${params.slideClass}`)[0];\n let slideFound = false;\n let slideIndex;\n\n if (slide) {\n for (let i = 0; i < swiper.slides.length; i += 1) {\n if (swiper.slides[i] === slide) {\n slideFound = true;\n slideIndex = i;\n break;\n }\n }\n }\n\n if (slide && slideFound) {\n swiper.clickedSlide = slide;\n\n if (swiper.virtual && swiper.params.virtual.enabled) {\n swiper.clickedIndex = parseInt($(slide).attr('data-swiper-slide-index'), 10);\n } else {\n swiper.clickedIndex = slideIndex;\n }\n } else {\n swiper.clickedSlide = undefined;\n swiper.clickedIndex = undefined;\n return;\n }\n\n if (params.slideToClickedSlide && swiper.clickedIndex !== undefined && swiper.clickedIndex !== swiper.activeIndex) {\n swiper.slideToClickedSlide();\n }\n}","import getTranslate from './getTranslate.js';\nimport setTranslate from './setTranslate.js';\nimport minTranslate from './minTranslate.js';\nimport maxTranslate from './maxTranslate.js';\nimport translateTo from './translateTo.js';\nexport default {\n getTranslate,\n setTranslate,\n minTranslate,\n maxTranslate,\n translateTo\n};","import { getTranslate } from '../../shared/utils.js';\nexport default function getSwiperTranslate(axis = this.isHorizontal() ? 'x' : 'y') {\n const swiper = this;\n const {\n params,\n rtlTranslate: rtl,\n translate,\n $wrapperEl\n } = swiper;\n\n if (params.virtualTranslate) {\n return rtl ? -translate : translate;\n }\n\n if (params.cssMode) {\n return translate;\n }\n\n let currentTranslate = getTranslate($wrapperEl[0], axis);\n if (rtl) currentTranslate = -currentTranslate;\n return currentTranslate || 0;\n}","export default function setTranslate(translate, byController) {\n const swiper = this;\n const {\n rtlTranslate: rtl,\n params,\n $wrapperEl,\n wrapperEl,\n progress\n } = swiper;\n let x = 0;\n let y = 0;\n const z = 0;\n\n if (swiper.isHorizontal()) {\n x = rtl ? -translate : translate;\n } else {\n y = translate;\n }\n\n if (params.roundLengths) {\n x = Math.floor(x);\n y = Math.floor(y);\n }\n\n if (params.cssMode) {\n wrapperEl[swiper.isHorizontal() ? 'scrollLeft' : 'scrollTop'] = swiper.isHorizontal() ? -x : -y;\n } else if (!params.virtualTranslate) {\n $wrapperEl.transform(`translate3d(${x}px, ${y}px, ${z}px)`);\n }\n\n swiper.previousTranslate = swiper.translate;\n swiper.translate = swiper.isHorizontal() ? x : y; // Check if we need to update progress\n\n let newProgress;\n const translatesDiff = swiper.maxTranslate() - swiper.minTranslate();\n\n if (translatesDiff === 0) {\n newProgress = 0;\n } else {\n newProgress = (translate - swiper.minTranslate()) / translatesDiff;\n }\n\n if (newProgress !== progress) {\n swiper.updateProgress(translate);\n }\n\n swiper.emit('setTranslate', swiper.translate, byController);\n}","export default function minTranslate() {\n return -this.snapGrid[0];\n}","export default function maxTranslate() {\n return -this.snapGrid[this.snapGrid.length - 1];\n}","import { animateCSSModeScroll } from '../../shared/utils.js';\nexport default function translateTo(translate = 0, speed = this.params.speed, runCallbacks = true, translateBounds = true, internal) {\n const swiper = this;\n const {\n params,\n wrapperEl\n } = swiper;\n\n if (swiper.animating && params.preventInteractionOnTransition) {\n return false;\n }\n\n const minTranslate = swiper.minTranslate();\n const maxTranslate = swiper.maxTranslate();\n let newTranslate;\n if (translateBounds && translate > minTranslate) newTranslate = minTranslate;else if (translateBounds && translate < maxTranslate) newTranslate = maxTranslate;else newTranslate = translate; // Update progress\n\n swiper.updateProgress(newTranslate);\n\n if (params.cssMode) {\n const isH = swiper.isHorizontal();\n\n if (speed === 0) {\n wrapperEl[isH ? 'scrollLeft' : 'scrollTop'] = -newTranslate;\n } else {\n if (!swiper.support.smoothScroll) {\n animateCSSModeScroll({\n swiper,\n targetPosition: -newTranslate,\n side: isH ? 'left' : 'top'\n });\n return true;\n }\n\n wrapperEl.scrollTo({\n [isH ? 'left' : 'top']: -newTranslate,\n behavior: 'smooth'\n });\n }\n\n return true;\n }\n\n if (speed === 0) {\n swiper.setTransition(0);\n swiper.setTranslate(newTranslate);\n\n if (runCallbacks) {\n swiper.emit('beforeTransitionStart', speed, internal);\n swiper.emit('transitionEnd');\n }\n } else {\n swiper.setTransition(speed);\n swiper.setTranslate(newTranslate);\n\n if (runCallbacks) {\n swiper.emit('beforeTransitionStart', speed, internal);\n swiper.emit('transitionStart');\n }\n\n if (!swiper.animating) {\n swiper.animating = true;\n\n if (!swiper.onTranslateToWrapperTransitionEnd) {\n swiper.onTranslateToWrapperTransitionEnd = function transitionEnd(e) {\n if (!swiper || swiper.destroyed) return;\n if (e.target !== this) return;\n swiper.$wrapperEl[0].removeEventListener('transitionend', swiper.onTranslateToWrapperTransitionEnd);\n swiper.$wrapperEl[0].removeEventListener('webkitTransitionEnd', swiper.onTranslateToWrapperTransitionEnd);\n swiper.onTranslateToWrapperTransitionEnd = null;\n delete swiper.onTranslateToWrapperTransitionEnd;\n\n if (runCallbacks) {\n swiper.emit('transitionEnd');\n }\n };\n }\n\n swiper.$wrapperEl[0].addEventListener('transitionend', swiper.onTranslateToWrapperTransitionEnd);\n swiper.$wrapperEl[0].addEventListener('webkitTransitionEnd', swiper.onTranslateToWrapperTransitionEnd);\n }\n }\n\n return true;\n}","import setTransition from './setTransition.js';\nimport transitionStart from './transitionStart.js';\nimport transitionEnd from './transitionEnd.js';\nexport default {\n setTransition,\n transitionStart,\n transitionEnd\n};","export default function setTransition(duration, byController) {\n const swiper = this;\n\n if (!swiper.params.cssMode) {\n swiper.$wrapperEl.transition(duration);\n }\n\n swiper.emit('setTransition', duration, byController);\n}","import transitionEmit from './transitionEmit.js';\nexport default function transitionStart(runCallbacks = true, direction) {\n const swiper = this;\n const {\n params\n } = swiper;\n if (params.cssMode) return;\n\n if (params.autoHeight) {\n swiper.updateAutoHeight();\n }\n\n transitionEmit({\n swiper,\n runCallbacks,\n direction,\n step: 'Start'\n });\n}","import transitionEmit from './transitionEmit.js';\nexport default function transitionEnd(runCallbacks = true, direction) {\n const swiper = this;\n const {\n params\n } = swiper;\n swiper.animating = false;\n if (params.cssMode) return;\n swiper.setTransition(0);\n transitionEmit({\n swiper,\n runCallbacks,\n direction,\n step: 'End'\n });\n}","import slideTo from './slideTo.js';\nimport slideToLoop from './slideToLoop.js';\nimport slideNext from './slideNext.js';\nimport slidePrev from './slidePrev.js';\nimport slideReset from './slideReset.js';\nimport slideToClosest from './slideToClosest.js';\nimport slideToClickedSlide from './slideToClickedSlide.js';\nexport default {\n slideTo,\n slideToLoop,\n slideNext,\n slidePrev,\n slideReset,\n slideToClosest,\n slideToClickedSlide\n};","import { animateCSSModeScroll } from '../../shared/utils.js';\nexport default function slideTo(index = 0, speed = this.params.speed, runCallbacks = true, internal, initial) {\n if (typeof index !== 'number' && typeof index !== 'string') {\n throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof index}] given.`);\n }\n\n if (typeof index === 'string') {\n /**\n * The `index` argument converted from `string` to `number`.\n * @type {number}\n */\n const indexAsNumber = parseInt(index, 10);\n /**\n * Determines whether the `index` argument is a valid `number`\n * after being converted from the `string` type.\n * @type {boolean}\n */\n\n const isValidNumber = isFinite(indexAsNumber);\n\n if (!isValidNumber) {\n throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${index}] given.`);\n } // Knowing that the converted `index` is a valid number,\n // we can update the original argument's value.\n\n\n index = indexAsNumber;\n }\n\n const swiper = this;\n let slideIndex = index;\n if (slideIndex < 0) slideIndex = 0;\n const {\n params,\n snapGrid,\n slidesGrid,\n previousIndex,\n activeIndex,\n rtlTranslate: rtl,\n wrapperEl,\n enabled\n } = swiper;\n\n if (swiper.animating && params.preventInteractionOnTransition || !enabled && !internal && !initial) {\n return false;\n }\n\n const skip = Math.min(swiper.params.slidesPerGroupSkip, slideIndex);\n let snapIndex = skip + Math.floor((slideIndex - skip) / swiper.params.slidesPerGroup);\n if (snapIndex >= snapGrid.length) snapIndex = snapGrid.length - 1;\n const translate = -snapGrid[snapIndex]; // Normalize slideIndex\n\n if (params.normalizeSlideIndex) {\n for (let i = 0; i < slidesGrid.length; i += 1) {\n const normalizedTranslate = -Math.floor(translate * 100);\n const normalizedGrid = Math.floor(slidesGrid[i] * 100);\n const normalizedGridNext = Math.floor(slidesGrid[i + 1] * 100);\n\n if (typeof slidesGrid[i + 1] !== 'undefined') {\n if (normalizedTranslate >= normalizedGrid && normalizedTranslate < normalizedGridNext - (normalizedGridNext - normalizedGrid) / 2) {\n slideIndex = i;\n } else if (normalizedTranslate >= normalizedGrid && normalizedTranslate < normalizedGridNext) {\n slideIndex = i + 1;\n }\n } else if (normalizedTranslate >= normalizedGrid) {\n slideIndex = i;\n }\n }\n } // Directions locks\n\n\n if (swiper.initialized && slideIndex !== activeIndex) {\n if (!swiper.allowSlideNext && translate < swiper.translate && translate < swiper.minTranslate()) {\n return false;\n }\n\n if (!swiper.allowSlidePrev && translate > swiper.translate && translate > swiper.maxTranslate()) {\n if ((activeIndex || 0) !== slideIndex) return false;\n }\n }\n\n if (slideIndex !== (previousIndex || 0) && runCallbacks) {\n swiper.emit('beforeSlideChangeStart');\n } // Update progress\n\n\n swiper.updateProgress(translate);\n let direction;\n if (slideIndex > activeIndex) direction = 'next';else if (slideIndex < activeIndex) direction = 'prev';else direction = 'reset'; // Update Index\n\n if (rtl && -translate === swiper.translate || !rtl && translate === swiper.translate) {\n swiper.updateActiveIndex(slideIndex); // Update Height\n\n if (params.autoHeight) {\n swiper.updateAutoHeight();\n }\n\n swiper.updateSlidesClasses();\n\n if (params.effect !== 'slide') {\n swiper.setTranslate(translate);\n }\n\n if (direction !== 'reset') {\n swiper.transitionStart(runCallbacks, direction);\n swiper.transitionEnd(runCallbacks, direction);\n }\n\n return false;\n }\n\n if (params.cssMode) {\n const isH = swiper.isHorizontal();\n const t = rtl ? translate : -translate;\n\n if (speed === 0) {\n const isVirtual = swiper.virtual && swiper.params.virtual.enabled;\n\n if (isVirtual) {\n swiper.wrapperEl.style.scrollSnapType = 'none';\n swiper._immediateVirtual = true;\n }\n\n wrapperEl[isH ? 'scrollLeft' : 'scrollTop'] = t;\n\n if (isVirtual) {\n requestAnimationFrame(() => {\n swiper.wrapperEl.style.scrollSnapType = '';\n swiper._swiperImmediateVirtual = false;\n });\n }\n } else {\n if (!swiper.support.smoothScroll) {\n animateCSSModeScroll({\n swiper,\n targetPosition: t,\n side: isH ? 'left' : 'top'\n });\n return true;\n }\n\n wrapperEl.scrollTo({\n [isH ? 'left' : 'top']: t,\n behavior: 'smooth'\n });\n }\n\n return true;\n }\n\n swiper.setTransition(speed);\n swiper.setTranslate(translate);\n swiper.updateActiveIndex(slideIndex);\n swiper.updateSlidesClasses();\n swiper.emit('beforeTransitionStart', speed, internal);\n swiper.transitionStart(runCallbacks, direction);\n\n if (speed === 0) {\n swiper.transitionEnd(runCallbacks, direction);\n } else if (!swiper.animating) {\n swiper.animating = true;\n\n if (!swiper.onSlideToWrapperTransitionEnd) {\n swiper.onSlideToWrapperTransitionEnd = function transitionEnd(e) {\n if (!swiper || swiper.destroyed) return;\n if (e.target !== this) return;\n swiper.$wrapperEl[0].removeEventListener('transitionend', swiper.onSlideToWrapperTransitionEnd);\n swiper.$wrapperEl[0].removeEventListener('webkitTransitionEnd', swiper.onSlideToWrapperTransitionEnd);\n swiper.onSlideToWrapperTransitionEnd = null;\n delete swiper.onSlideToWrapperTransitionEnd;\n swiper.transitionEnd(runCallbacks, direction);\n };\n }\n\n swiper.$wrapperEl[0].addEventListener('transitionend', swiper.onSlideToWrapperTransitionEnd);\n swiper.$wrapperEl[0].addEventListener('webkitTransitionEnd', swiper.onSlideToWrapperTransitionEnd);\n }\n\n return true;\n}","export default function slideToLoop(index = 0, speed = this.params.speed, runCallbacks = true, internal) {\n if (typeof index === 'string') {\n /**\n * The `index` argument converted from `string` to `number`.\n * @type {number}\n */\n const indexAsNumber = parseInt(index, 10);\n /**\n * Determines whether the `index` argument is a valid `number`\n * after being converted from the `string` type.\n * @type {boolean}\n */\n\n const isValidNumber = isFinite(indexAsNumber);\n\n if (!isValidNumber) {\n throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${index}] given.`);\n } // Knowing that the converted `index` is a valid number,\n // we can update the original argument's value.\n\n\n index = indexAsNumber;\n }\n\n const swiper = this;\n let newIndex = index;\n\n if (swiper.params.loop) {\n newIndex += swiper.loopedSlides;\n }\n\n return swiper.slideTo(newIndex, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slideNext(speed = this.params.speed, runCallbacks = true, internal) {\n const swiper = this;\n const {\n animating,\n enabled,\n params\n } = swiper;\n if (!enabled) return swiper;\n let perGroup = params.slidesPerGroup;\n\n if (params.slidesPerView === 'auto' && params.slidesPerGroup === 1 && params.slidesPerGroupAuto) {\n perGroup = Math.max(swiper.slidesPerViewDynamic('current', true), 1);\n }\n\n const increment = swiper.activeIndex < params.slidesPerGroupSkip ? 1 : perGroup;\n\n if (params.loop) {\n if (animating && params.loopPreventsSlide) return false;\n swiper.loopFix(); // eslint-disable-next-line\n\n swiper._clientLeft = swiper.$wrapperEl[0].clientLeft;\n }\n\n if (params.rewind && swiper.isEnd) {\n return swiper.slideTo(0, speed, runCallbacks, internal);\n }\n\n return swiper.slideTo(swiper.activeIndex + increment, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slidePrev(speed = this.params.speed, runCallbacks = true, internal) {\n const swiper = this;\n const {\n params,\n animating,\n snapGrid,\n slidesGrid,\n rtlTranslate,\n enabled\n } = swiper;\n if (!enabled) return swiper;\n\n if (params.loop) {\n if (animating && params.loopPreventsSlide) return false;\n swiper.loopFix(); // eslint-disable-next-line\n\n swiper._clientLeft = swiper.$wrapperEl[0].clientLeft;\n }\n\n const translate = rtlTranslate ? swiper.translate : -swiper.translate;\n\n function normalize(val) {\n if (val < 0) return -Math.floor(Math.abs(val));\n return Math.floor(val);\n }\n\n const normalizedTranslate = normalize(translate);\n const normalizedSnapGrid = snapGrid.map(val => normalize(val));\n let prevSnap = snapGrid[normalizedSnapGrid.indexOf(normalizedTranslate) - 1];\n\n if (typeof prevSnap === 'undefined' && params.cssMode) {\n let prevSnapIndex;\n snapGrid.forEach((snap, snapIndex) => {\n if (normalizedTranslate >= snap) {\n // prevSnap = snap;\n prevSnapIndex = snapIndex;\n }\n });\n\n if (typeof prevSnapIndex !== 'undefined') {\n prevSnap = snapGrid[prevSnapIndex > 0 ? prevSnapIndex - 1 : prevSnapIndex];\n }\n }\n\n let prevIndex = 0;\n\n if (typeof prevSnap !== 'undefined') {\n prevIndex = slidesGrid.indexOf(prevSnap);\n if (prevIndex < 0) prevIndex = swiper.activeIndex - 1;\n\n if (params.slidesPerView === 'auto' && params.slidesPerGroup === 1 && params.slidesPerGroupAuto) {\n prevIndex = prevIndex - swiper.slidesPerViewDynamic('previous', true) + 1;\n prevIndex = Math.max(prevIndex, 0);\n }\n }\n\n if (params.rewind && swiper.isBeginning) {\n const lastIndex = swiper.params.virtual && swiper.params.virtual.enabled && swiper.virtual ? swiper.virtual.slides.length - 1 : swiper.slides.length - 1;\n return swiper.slideTo(lastIndex, speed, runCallbacks, internal);\n }\n\n return swiper.slideTo(prevIndex, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slideReset(speed = this.params.speed, runCallbacks = true, internal) {\n const swiper = this;\n return swiper.slideTo(swiper.activeIndex, speed, runCallbacks, internal);\n}","/* eslint no-unused-vars: \"off\" */\nexport default function slideToClosest(speed = this.params.speed, runCallbacks = true, internal, threshold = 0.5) {\n const swiper = this;\n let index = swiper.activeIndex;\n const skip = Math.min(swiper.params.slidesPerGroupSkip, index);\n const snapIndex = skip + Math.floor((index - skip) / swiper.params.slidesPerGroup);\n const translate = swiper.rtlTranslate ? swiper.translate : -swiper.translate;\n\n if (translate >= swiper.snapGrid[snapIndex]) {\n // The current translate is on or after the current snap index, so the choice\n // is between the current index and the one after it.\n const currentSnap = swiper.snapGrid[snapIndex];\n const nextSnap = swiper.snapGrid[snapIndex + 1];\n\n if (translate - currentSnap > (nextSnap - currentSnap) * threshold) {\n index += swiper.params.slidesPerGroup;\n }\n } else {\n // The current translate is before the current snap index, so the choice\n // is between the current index and the one before it.\n const prevSnap = swiper.snapGrid[snapIndex - 1];\n const currentSnap = swiper.snapGrid[snapIndex];\n\n if (translate - prevSnap <= (currentSnap - prevSnap) * threshold) {\n index -= swiper.params.slidesPerGroup;\n }\n }\n\n index = Math.max(index, 0);\n index = Math.min(index, swiper.slidesGrid.length - 1);\n return swiper.slideTo(index, speed, runCallbacks, internal);\n}","import $ from '../../shared/dom.js';\nimport { nextTick } from '../../shared/utils.js';\nexport default function slideToClickedSlide() {\n const swiper = this;\n const {\n params,\n $wrapperEl\n } = swiper;\n const slidesPerView = params.slidesPerView === 'auto' ? swiper.slidesPerViewDynamic() : params.slidesPerView;\n let slideToIndex = swiper.clickedIndex;\n let realIndex;\n\n if (params.loop) {\n if (swiper.animating) return;\n realIndex = parseInt($(swiper.clickedSlide).attr('data-swiper-slide-index'), 10);\n\n if (params.centeredSlides) {\n if (slideToIndex < swiper.loopedSlides - slidesPerView / 2 || slideToIndex > swiper.slides.length - swiper.loopedSlides + slidesPerView / 2) {\n swiper.loopFix();\n slideToIndex = $wrapperEl.children(`.${params.slideClass}[data-swiper-slide-index=\"${realIndex}\"]:not(.${params.slideDuplicateClass})`).eq(0).index();\n nextTick(() => {\n swiper.slideTo(slideToIndex);\n });\n } else {\n swiper.slideTo(slideToIndex);\n }\n } else if (slideToIndex > swiper.slides.length - slidesPerView) {\n swiper.loopFix();\n slideToIndex = $wrapperEl.children(`.${params.slideClass}[data-swiper-slide-index=\"${realIndex}\"]:not(.${params.slideDuplicateClass})`).eq(0).index();\n nextTick(() => {\n swiper.slideTo(slideToIndex);\n });\n } else {\n swiper.slideTo(slideToIndex);\n }\n } else {\n swiper.slideTo(slideToIndex);\n }\n}","import loopCreate from './loopCreate.js';\nimport loopFix from './loopFix.js';\nimport loopDestroy from './loopDestroy.js';\nexport default {\n loopCreate,\n loopFix,\n loopDestroy\n};","import { getDocument } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nexport default function loopCreate() {\n const swiper = this;\n const document = getDocument();\n const {\n params,\n $wrapperEl\n } = swiper; // Remove duplicated slides\n\n const $selector = $wrapperEl.children().length > 0 ? $($wrapperEl.children()[0].parentNode) : $wrapperEl;\n $selector.children(`.${params.slideClass}.${params.slideDuplicateClass}`).remove();\n let slides = $selector.children(`.${params.slideClass}`);\n\n if (params.loopFillGroupWithBlank) {\n const blankSlidesNum = params.slidesPerGroup - slides.length % params.slidesPerGroup;\n\n if (blankSlidesNum !== params.slidesPerGroup) {\n for (let i = 0; i < blankSlidesNum; i += 1) {\n const blankNode = $(document.createElement('div')).addClass(`${params.slideClass} ${params.slideBlankClass}`);\n $selector.append(blankNode);\n }\n\n slides = $selector.children(`.${params.slideClass}`);\n }\n }\n\n if (params.slidesPerView === 'auto' && !params.loopedSlides) params.loopedSlides = slides.length;\n swiper.loopedSlides = Math.ceil(parseFloat(params.loopedSlides || params.slidesPerView, 10));\n swiper.loopedSlides += params.loopAdditionalSlides;\n\n if (swiper.loopedSlides > slides.length && swiper.params.loopedSlidesLimit) {\n swiper.loopedSlides = slides.length;\n }\n\n const prependSlides = [];\n const appendSlides = [];\n slides.each((el, index) => {\n const slide = $(el);\n slide.attr('data-swiper-slide-index', index);\n });\n\n for (let i = 0; i < swiper.loopedSlides; i += 1) {\n const index = i - Math.floor(i / slides.length) * slides.length;\n appendSlides.push(slides.eq(index)[0]);\n prependSlides.unshift(slides.eq(slides.length - index - 1)[0]);\n }\n\n for (let i = 0; i < appendSlides.length; i += 1) {\n $selector.append($(appendSlides[i].cloneNode(true)).addClass(params.slideDuplicateClass));\n }\n\n for (let i = prependSlides.length - 1; i >= 0; i -= 1) {\n $selector.prepend($(prependSlides[i].cloneNode(true)).addClass(params.slideDuplicateClass));\n }\n}","export default function loopFix() {\n const swiper = this;\n swiper.emit('beforeLoopFix');\n const {\n activeIndex,\n slides,\n loopedSlides,\n allowSlidePrev,\n allowSlideNext,\n snapGrid,\n rtlTranslate: rtl\n } = swiper;\n let newIndex;\n swiper.allowSlidePrev = true;\n swiper.allowSlideNext = true;\n const snapTranslate = -snapGrid[activeIndex];\n const diff = snapTranslate - swiper.getTranslate(); // Fix For Negative Oversliding\n\n if (activeIndex < loopedSlides) {\n newIndex = slides.length - loopedSlides * 3 + activeIndex;\n newIndex += loopedSlides;\n const slideChanged = swiper.slideTo(newIndex, 0, false, true);\n\n if (slideChanged && diff !== 0) {\n swiper.setTranslate((rtl ? -swiper.translate : swiper.translate) - diff);\n }\n } else if (activeIndex >= slides.length - loopedSlides) {\n // Fix For Positive Oversliding\n newIndex = -slides.length + activeIndex + loopedSlides;\n newIndex += loopedSlides;\n const slideChanged = swiper.slideTo(newIndex, 0, false, true);\n\n if (slideChanged && diff !== 0) {\n swiper.setTranslate((rtl ? -swiper.translate : swiper.translate) - diff);\n }\n }\n\n swiper.allowSlidePrev = allowSlidePrev;\n swiper.allowSlideNext = allowSlideNext;\n swiper.emit('loopFix');\n}","export default function loopDestroy() {\n const swiper = this;\n const {\n $wrapperEl,\n params,\n slides\n } = swiper;\n $wrapperEl.children(`.${params.slideClass}.${params.slideDuplicateClass},.${params.slideClass}.${params.slideBlankClass}`).remove();\n slides.removeAttr('data-swiper-slide-index');\n}","import setGrabCursor from './setGrabCursor.js';\nimport unsetGrabCursor from './unsetGrabCursor.js';\nexport default {\n setGrabCursor,\n unsetGrabCursor\n};","export default function setGrabCursor(moving) {\n const swiper = this;\n if (swiper.support.touch || !swiper.params.simulateTouch || swiper.params.watchOverflow && swiper.isLocked || swiper.params.cssMode) return;\n const el = swiper.params.touchEventsTarget === 'container' ? swiper.el : swiper.wrapperEl;\n el.style.cursor = 'move';\n el.style.cursor = moving ? 'grabbing' : 'grab';\n}","export default function unsetGrabCursor() {\n const swiper = this;\n\n if (swiper.support.touch || swiper.params.watchOverflow && swiper.isLocked || swiper.params.cssMode) {\n return;\n }\n\n swiper[swiper.params.touchEventsTarget === 'container' ? 'el' : 'wrapperEl'].style.cursor = '';\n}","import setBreakpoint from './setBreakpoint.js';\nimport getBreakpoint from './getBreakpoint.js';\nexport default {\n setBreakpoint,\n getBreakpoint\n};","import { getWindow } from 'ssr-window';\nexport default function getBreakpoint(breakpoints, base = 'window', containerEl) {\n if (!breakpoints || base === 'container' && !containerEl) return undefined;\n let breakpoint = false;\n const window = getWindow();\n const currentHeight = base === 'window' ? window.innerHeight : containerEl.clientHeight;\n const points = Object.keys(breakpoints).map(point => {\n if (typeof point === 'string' && point.indexOf('@') === 0) {\n const minRatio = parseFloat(point.substr(1));\n const value = currentHeight * minRatio;\n return {\n value,\n point\n };\n }\n\n return {\n value: point,\n point\n };\n });\n points.sort((a, b) => parseInt(a.value, 10) - parseInt(b.value, 10));\n\n for (let i = 0; i < points.length; i += 1) {\n const {\n point,\n value\n } = points[i];\n\n if (base === 'window') {\n if (window.matchMedia(`(min-width: ${value}px)`).matches) {\n breakpoint = point;\n }\n } else if (value <= containerEl.clientWidth) {\n breakpoint = point;\n }\n }\n\n return breakpoint || 'max';\n}","import addClasses from './addClasses.js';\nimport removeClasses from './removeClasses.js';\nexport default {\n addClasses,\n removeClasses\n};","function prepareClasses(entries, prefix) {\n const resultClasses = [];\n entries.forEach(item => {\n if (typeof item === 'object') {\n Object.keys(item).forEach(classNames => {\n if (item[classNames]) {\n resultClasses.push(prefix + classNames);\n }\n });\n } else if (typeof item === 'string') {\n resultClasses.push(prefix + item);\n }\n });\n return resultClasses;\n}\n\nexport default function addClasses() {\n const swiper = this;\n const {\n classNames,\n params,\n rtl,\n $el,\n device,\n support\n } = swiper; // prettier-ignore\n\n const suffixes = prepareClasses(['initialized', params.direction, {\n 'pointer-events': !support.touch\n }, {\n 'free-mode': swiper.params.freeMode && params.freeMode.enabled\n }, {\n 'autoheight': params.autoHeight\n }, {\n 'rtl': rtl\n }, {\n 'grid': params.grid && params.grid.rows > 1\n }, {\n 'grid-column': params.grid && params.grid.rows > 1 && params.grid.fill === 'column'\n }, {\n 'android': device.android\n }, {\n 'ios': device.ios\n }, {\n 'css-mode': params.cssMode\n }, {\n 'centered': params.cssMode && params.centeredSlides\n }, {\n 'watch-progress': params.watchSlidesProgress\n }], params.containerModifierClass);\n classNames.push(...suffixes);\n $el.addClass([...classNames].join(' '));\n swiper.emitContainerClasses();\n}","export default function removeClasses() {\n const swiper = this;\n const {\n $el,\n classNames\n } = swiper;\n $el.removeClass(classNames.join(' '));\n swiper.emitContainerClasses();\n}","import loadImage from './loadImage.js';\nimport preloadImages from './preloadImages.js';\nexport default {\n loadImage,\n preloadImages\n};","import { getWindow } from 'ssr-window';\nimport $ from '../../shared/dom.js';\nexport default function loadImage(imageEl, src, srcset, sizes, checkForComplete, callback) {\n const window = getWindow();\n let image;\n\n function onReady() {\n if (callback) callback();\n }\n\n const isPicture = $(imageEl).parent('picture')[0];\n\n if (!isPicture && (!imageEl.complete || !checkForComplete)) {\n if (src) {\n image = new window.Image();\n image.onload = onReady;\n image.onerror = onReady;\n\n if (sizes) {\n image.sizes = sizes;\n }\n\n if (srcset) {\n image.srcset = srcset;\n }\n\n if (src) {\n image.src = src;\n }\n } else {\n onReady();\n }\n } else {\n // image already loaded...\n onReady();\n }\n}","export default function preloadImages() {\n const swiper = this;\n swiper.imagesToLoad = swiper.$el.find('img');\n\n function onReady() {\n if (typeof swiper === 'undefined' || swiper === null || !swiper || swiper.destroyed) return;\n if (swiper.imagesLoaded !== undefined) swiper.imagesLoaded += 1;\n\n if (swiper.imagesLoaded === swiper.imagesToLoad.length) {\n if (swiper.params.updateOnImagesReady) swiper.update();\n swiper.emit('imagesReady');\n }\n }\n\n for (let i = 0; i < swiper.imagesToLoad.length; i += 1) {\n const imageEl = swiper.imagesToLoad[i];\n swiper.loadImage(imageEl, imageEl.currentSrc || imageEl.getAttribute('src'), imageEl.srcset || imageEl.getAttribute('srcset'), imageEl.sizes || imageEl.getAttribute('sizes'), true, onReady);\n }\n}","import { getWindow } from 'ssr-window';\nexport default function Resize({\n swiper,\n on,\n emit\n}) {\n const window = getWindow();\n let observer = null;\n let animationFrame = null;\n\n const resizeHandler = () => {\n if (!swiper || swiper.destroyed || !swiper.initialized) return;\n emit('beforeResize');\n emit('resize');\n };\n\n const createObserver = () => {\n if (!swiper || swiper.destroyed || !swiper.initialized) return;\n observer = new ResizeObserver(entries => {\n animationFrame = window.requestAnimationFrame(() => {\n const {\n width,\n height\n } = swiper;\n let newWidth = width;\n let newHeight = height;\n entries.forEach(({\n contentBoxSize,\n contentRect,\n target\n }) => {\n if (target && target !== swiper.el) return;\n newWidth = contentRect ? contentRect.width : (contentBoxSize[0] || contentBoxSize).inlineSize;\n newHeight = contentRect ? contentRect.height : (contentBoxSize[0] || contentBoxSize).blockSize;\n });\n\n if (newWidth !== width || newHeight !== height) {\n resizeHandler();\n }\n });\n });\n observer.observe(swiper.el);\n };\n\n const removeObserver = () => {\n if (animationFrame) {\n window.cancelAnimationFrame(animationFrame);\n }\n\n if (observer && observer.unobserve && swiper.el) {\n observer.unobserve(swiper.el);\n observer = null;\n }\n };\n\n const orientationChangeHandler = () => {\n if (!swiper || swiper.destroyed || !swiper.initialized) return;\n emit('orientationchange');\n };\n\n on('init', () => {\n if (swiper.params.resizeObserver && typeof window.ResizeObserver !== 'undefined') {\n createObserver();\n return;\n }\n\n window.addEventListener('resize', resizeHandler);\n window.addEventListener('orientationchange', orientationChangeHandler);\n });\n on('destroy', () => {\n removeObserver();\n window.removeEventListener('resize', resizeHandler);\n window.removeEventListener('orientationchange', orientationChangeHandler);\n });\n}","import { getWindow } from 'ssr-window';\nexport default function Observer({\n swiper,\n extendParams,\n on,\n emit\n}) {\n const observers = [];\n const window = getWindow();\n\n const attach = (target, options = {}) => {\n const ObserverFunc = window.MutationObserver || window.WebkitMutationObserver;\n const observer = new ObserverFunc(mutations => {\n // The observerUpdate event should only be triggered\n // once despite the number of mutations. Additional\n // triggers are redundant and are very costly\n if (mutations.length === 1) {\n emit('observerUpdate', mutations[0]);\n return;\n }\n\n const observerUpdate = function observerUpdate() {\n emit('observerUpdate', mutations[0]);\n };\n\n if (window.requestAnimationFrame) {\n window.requestAnimationFrame(observerUpdate);\n } else {\n window.setTimeout(observerUpdate, 0);\n }\n });\n observer.observe(target, {\n attributes: typeof options.attributes === 'undefined' ? true : options.attributes,\n childList: typeof options.childList === 'undefined' ? true : options.childList,\n characterData: typeof options.characterData === 'undefined' ? true : options.characterData\n });\n observers.push(observer);\n };\n\n const init = () => {\n if (!swiper.params.observer) return;\n\n if (swiper.params.observeParents) {\n const containerParents = swiper.$el.parents();\n\n for (let i = 0; i < containerParents.length; i += 1) {\n attach(containerParents[i]);\n }\n } // Observe container\n\n\n attach(swiper.$el[0], {\n childList: swiper.params.observeSlideChildren\n }); // Observe wrapper\n\n attach(swiper.$wrapperEl[0], {\n attributes: false\n });\n };\n\n const destroy = () => {\n observers.forEach(observer => {\n observer.disconnect();\n });\n observers.splice(0, observers.length);\n };\n\n extendParams({\n observer: false,\n observeParents: false,\n observeSlideChildren: false\n });\n on('init', init);\n on('destroy', destroy);\n}","import $ from '../../shared/dom.js';\nexport default function Parallax({\n swiper,\n extendParams,\n on\n}) {\n extendParams({\n parallax: {\n enabled: false\n }\n });\n\n const setTransform = (el, progress) => {\n const {\n rtl\n } = swiper;\n const $el = $(el);\n const rtlFactor = rtl ? -1 : 1;\n const p = $el.attr('data-swiper-parallax') || '0';\n let x = $el.attr('data-swiper-parallax-x');\n let y = $el.attr('data-swiper-parallax-y');\n const scale = $el.attr('data-swiper-parallax-scale');\n const opacity = $el.attr('data-swiper-parallax-opacity');\n\n if (x || y) {\n x = x || '0';\n y = y || '0';\n } else if (swiper.isHorizontal()) {\n x = p;\n y = '0';\n } else {\n y = p;\n x = '0';\n }\n\n if (x.indexOf('%') >= 0) {\n x = `${parseInt(x, 10) * progress * rtlFactor}%`;\n } else {\n x = `${x * progress * rtlFactor}px`;\n }\n\n if (y.indexOf('%') >= 0) {\n y = `${parseInt(y, 10) * progress}%`;\n } else {\n y = `${y * progress}px`;\n }\n\n if (typeof opacity !== 'undefined' && opacity !== null) {\n const currentOpacity = opacity - (opacity - 1) * (1 - Math.abs(progress));\n $el[0].style.opacity = currentOpacity;\n }\n\n if (typeof scale === 'undefined' || scale === null) {\n $el.transform(`translate3d(${x}, ${y}, 0px)`);\n } else {\n const currentScale = scale - (scale - 1) * (1 - Math.abs(progress));\n $el.transform(`translate3d(${x}, ${y}, 0px) scale(${currentScale})`);\n }\n };\n\n const setTranslate = () => {\n const {\n $el,\n slides,\n progress,\n snapGrid\n } = swiper;\n $el.children('[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]').each(el => {\n setTransform(el, progress);\n });\n slides.each((slideEl, slideIndex) => {\n let slideProgress = slideEl.progress;\n\n if (swiper.params.slidesPerGroup > 1 && swiper.params.slidesPerView !== 'auto') {\n slideProgress += Math.ceil(slideIndex / 2) - progress * (snapGrid.length - 1);\n }\n\n slideProgress = Math.min(Math.max(slideProgress, -1), 1);\n $(slideEl).find('[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]').each(el => {\n setTransform(el, slideProgress);\n });\n });\n };\n\n const setTransition = (duration = swiper.params.speed) => {\n const {\n $el\n } = swiper;\n $el.find('[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]').each(parallaxEl => {\n const $parallaxEl = $(parallaxEl);\n let parallaxDuration = parseInt($parallaxEl.attr('data-swiper-parallax-duration'), 10) || duration;\n if (duration === 0) parallaxDuration = 0;\n $parallaxEl.transition(parallaxDuration);\n });\n };\n\n on('beforeInit', () => {\n if (!swiper.params.parallax.enabled) return;\n swiper.params.watchSlidesProgress = true;\n swiper.originalParams.watchSlidesProgress = true;\n });\n on('init', () => {\n if (!swiper.params.parallax.enabled) return;\n setTranslate();\n });\n on('setTranslate', () => {\n if (!swiper.params.parallax.enabled) return;\n setTranslate();\n });\n on('setTransition', (_swiper, duration) => {\n if (!swiper.params.parallax.enabled) return;\n setTransition(duration);\n });\n}","import { now } from '../../shared/utils.js';\nexport default function freeMode({\n swiper,\n extendParams,\n emit,\n once\n}) {\n extendParams({\n freeMode: {\n enabled: false,\n momentum: true,\n momentumRatio: 1,\n momentumBounce: true,\n momentumBounceRatio: 1,\n momentumVelocityRatio: 1,\n sticky: false,\n minimumVelocity: 0.02\n }\n });\n\n function onTouchStart() {\n const translate = swiper.getTranslate();\n swiper.setTranslate(translate);\n swiper.setTransition(0);\n swiper.touchEventsData.velocities.length = 0;\n swiper.freeMode.onTouchEnd({\n currentPos: swiper.rtl ? swiper.translate : -swiper.translate\n });\n }\n\n function onTouchMove() {\n const {\n touchEventsData: data,\n touches\n } = swiper; // Velocity\n\n if (data.velocities.length === 0) {\n data.velocities.push({\n position: touches[swiper.isHorizontal() ? 'startX' : 'startY'],\n time: data.touchStartTime\n });\n }\n\n data.velocities.push({\n position: touches[swiper.isHorizontal() ? 'currentX' : 'currentY'],\n time: now()\n });\n }\n\n function onTouchEnd({\n currentPos\n }) {\n const {\n params,\n $wrapperEl,\n rtlTranslate: rtl,\n snapGrid,\n touchEventsData: data\n } = swiper; // Time diff\n\n const touchEndTime = now();\n const timeDiff = touchEndTime - data.touchStartTime;\n\n if (currentPos < -swiper.minTranslate()) {\n swiper.slideTo(swiper.activeIndex);\n return;\n }\n\n if (currentPos > -swiper.maxTranslate()) {\n if (swiper.slides.length < snapGrid.length) {\n swiper.slideTo(snapGrid.length - 1);\n } else {\n swiper.slideTo(swiper.slides.length - 1);\n }\n\n return;\n }\n\n if (params.freeMode.momentum) {\n if (data.velocities.length > 1) {\n const lastMoveEvent = data.velocities.pop();\n const velocityEvent = data.velocities.pop();\n const distance = lastMoveEvent.position - velocityEvent.position;\n const time = lastMoveEvent.time - velocityEvent.time;\n swiper.velocity = distance / time;\n swiper.velocity /= 2;\n\n if (Math.abs(swiper.velocity) < params.freeMode.minimumVelocity) {\n swiper.velocity = 0;\n } // this implies that the user stopped moving a finger then released.\n // There would be no events with distance zero, so the last event is stale.\n\n\n if (time > 150 || now() - lastMoveEvent.time > 300) {\n swiper.velocity = 0;\n }\n } else {\n swiper.velocity = 0;\n }\n\n swiper.velocity *= params.freeMode.momentumVelocityRatio;\n data.velocities.length = 0;\n let momentumDuration = 1000 * params.freeMode.momentumRatio;\n const momentumDistance = swiper.velocity * momentumDuration;\n let newPosition = swiper.translate + momentumDistance;\n if (rtl) newPosition = -newPosition;\n let doBounce = false;\n let afterBouncePosition;\n const bounceAmount = Math.abs(swiper.velocity) * 20 * params.freeMode.momentumBounceRatio;\n let needsLoopFix;\n\n if (newPosition < swiper.maxTranslate()) {\n if (params.freeMode.momentumBounce) {\n if (newPosition + swiper.maxTranslate() < -bounceAmount) {\n newPosition = swiper.maxTranslate() - bounceAmount;\n }\n\n afterBouncePosition = swiper.maxTranslate();\n doBounce = true;\n data.allowMomentumBounce = true;\n } else {\n newPosition = swiper.maxTranslate();\n }\n\n if (params.loop && params.centeredSlides) needsLoopFix = true;\n } else if (newPosition > swiper.minTranslate()) {\n if (params.freeMode.momentumBounce) {\n if (newPosition - swiper.minTranslate() > bounceAmount) {\n newPosition = swiper.minTranslate() + bounceAmount;\n }\n\n afterBouncePosition = swiper.minTranslate();\n doBounce = true;\n data.allowMomentumBounce = true;\n } else {\n newPosition = swiper.minTranslate();\n }\n\n if (params.loop && params.centeredSlides) needsLoopFix = true;\n } else if (params.freeMode.sticky) {\n let nextSlide;\n\n for (let j = 0; j < snapGrid.length; j += 1) {\n if (snapGrid[j] > -newPosition) {\n nextSlide = j;\n break;\n }\n }\n\n if (Math.abs(snapGrid[nextSlide] - newPosition) < Math.abs(snapGrid[nextSlide - 1] - newPosition) || swiper.swipeDirection === 'next') {\n newPosition = snapGrid[nextSlide];\n } else {\n newPosition = snapGrid[nextSlide - 1];\n }\n\n newPosition = -newPosition;\n }\n\n if (needsLoopFix) {\n once('transitionEnd', () => {\n swiper.loopFix();\n });\n } // Fix duration\n\n\n if (swiper.velocity !== 0) {\n if (rtl) {\n momentumDuration = Math.abs((-newPosition - swiper.translate) / swiper.velocity);\n } else {\n momentumDuration = Math.abs((newPosition - swiper.translate) / swiper.velocity);\n }\n\n if (params.freeMode.sticky) {\n // If freeMode.sticky is active and the user ends a swipe with a slow-velocity\n // event, then durations can be 20+ seconds to slide one (or zero!) slides.\n // It's easy to see this when simulating touch with mouse events. To fix this,\n // limit single-slide swipes to the default slide duration. This also has the\n // nice side effect of matching slide speed if the user stopped moving before\n // lifting finger or mouse vs. moving slowly before lifting the finger/mouse.\n // For faster swipes, also apply limits (albeit higher ones).\n const moveDistance = Math.abs((rtl ? -newPosition : newPosition) - swiper.translate);\n const currentSlideSize = swiper.slidesSizesGrid[swiper.activeIndex];\n\n if (moveDistance < currentSlideSize) {\n momentumDuration = params.speed;\n } else if (moveDistance < 2 * currentSlideSize) {\n momentumDuration = params.speed * 1.5;\n } else {\n momentumDuration = params.speed * 2.5;\n }\n }\n } else if (params.freeMode.sticky) {\n swiper.slideToClosest();\n return;\n }\n\n if (params.freeMode.momentumBounce && doBounce) {\n swiper.updateProgress(afterBouncePosition);\n swiper.setTransition(momentumDuration);\n swiper.setTranslate(newPosition);\n swiper.transitionStart(true, swiper.swipeDirection);\n swiper.animating = true;\n $wrapperEl.transitionEnd(() => {\n if (!swiper || swiper.destroyed || !data.allowMomentumBounce) return;\n emit('momentumBounce');\n swiper.setTransition(params.speed);\n setTimeout(() => {\n swiper.setTranslate(afterBouncePosition);\n $wrapperEl.transitionEnd(() => {\n if (!swiper || swiper.destroyed) return;\n swiper.transitionEnd();\n });\n }, 0);\n });\n } else if (swiper.velocity) {\n emit('_freeModeNoMomentumRelease');\n swiper.updateProgress(newPosition);\n swiper.setTransition(momentumDuration);\n swiper.setTranslate(newPosition);\n swiper.transitionStart(true, swiper.swipeDirection);\n\n if (!swiper.animating) {\n swiper.animating = true;\n $wrapperEl.transitionEnd(() => {\n if (!swiper || swiper.destroyed) return;\n swiper.transitionEnd();\n });\n }\n } else {\n swiper.updateProgress(newPosition);\n }\n\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n } else if (params.freeMode.sticky) {\n swiper.slideToClosest();\n return;\n } else if (params.freeMode) {\n emit('_freeModeNoMomentumRelease');\n }\n\n if (!params.freeMode.momentum || timeDiff >= params.longSwipesMs) {\n swiper.updateProgress();\n swiper.updateActiveIndex();\n swiper.updateSlidesClasses();\n }\n }\n\n Object.assign(swiper, {\n freeMode: {\n onTouchStart,\n onTouchMove,\n onTouchEnd\n }\n });\n}","export default function effectInit(params) {\n const {\n effect,\n swiper,\n on,\n setTranslate,\n setTransition,\n overwriteParams,\n perspective,\n recreateShadows,\n getEffectParams\n } = params;\n on('beforeInit', () => {\n if (swiper.params.effect !== effect) return;\n swiper.classNames.push(`${swiper.params.containerModifierClass}${effect}`);\n\n if (perspective && perspective()) {\n swiper.classNames.push(`${swiper.params.containerModifierClass}3d`);\n }\n\n const overwriteParamsResult = overwriteParams ? overwriteParams() : {};\n Object.assign(swiper.params, overwriteParamsResult);\n Object.assign(swiper.originalParams, overwriteParamsResult);\n });\n on('setTranslate', () => {\n if (swiper.params.effect !== effect) return;\n setTranslate();\n });\n on('setTransition', (_s, duration) => {\n if (swiper.params.effect !== effect) return;\n setTransition(duration);\n });\n on('transitionEnd', () => {\n if (swiper.params.effect !== effect) return;\n\n if (recreateShadows) {\n if (!getEffectParams || !getEffectParams().slideShadows) return; // remove shadows\n\n swiper.slides.each(slideEl => {\n const $slideEl = swiper.$(slideEl);\n $slideEl.find('.swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left').remove();\n }); // create new one\n\n recreateShadows();\n }\n });\n let requireUpdateOnVirtual;\n on('virtualUpdate', () => {\n if (swiper.params.effect !== effect) return;\n\n if (!swiper.slides.length) {\n requireUpdateOnVirtual = true;\n }\n\n requestAnimationFrame(() => {\n if (requireUpdateOnVirtual && swiper.slides && swiper.slides.length) {\n setTranslate();\n requireUpdateOnVirtual = false;\n }\n });\n });\n}","export default function effectTarget(effectParams, $slideEl) {\n if (effectParams.transformEl) {\n return $slideEl.find(effectParams.transformEl).css({\n 'backface-visibility': 'hidden',\n '-webkit-backface-visibility': 'hidden'\n });\n }\n\n return $slideEl;\n}","import $ from './dom.js';\nexport default function createShadow(params, $slideEl, side) {\n const shadowClass = `swiper-slide-shadow${side ? `-${side}` : ''}`;\n const $shadowContainer = params.transformEl ? $slideEl.find(params.transformEl) : $slideEl;\n let $shadowEl = $shadowContainer.children(`.${shadowClass}`);\n\n if (!$shadowEl.length) {\n $shadowEl = $(`
`);\n $shadowContainer.append($shadowEl);\n }\n\n return $shadowEl;\n}","import createShadow from '../../shared/create-shadow.js';\nimport effectInit from '../../shared/effect-init.js';\nimport effectTarget from '../../shared/effect-target.js';\nexport default function EffectCoverflow({\n swiper,\n extendParams,\n on\n}) {\n extendParams({\n coverflowEffect: {\n rotate: 50,\n stretch: 0,\n depth: 100,\n scale: 1,\n modifier: 1,\n slideShadows: true,\n transformEl: null\n }\n });\n\n const setTranslate = () => {\n const {\n width: swiperWidth,\n height: swiperHeight,\n slides,\n slidesSizesGrid\n } = swiper;\n const params = swiper.params.coverflowEffect;\n const isHorizontal = swiper.isHorizontal();\n const transform = swiper.translate;\n const center = isHorizontal ? -transform + swiperWidth / 2 : -transform + swiperHeight / 2;\n const rotate = isHorizontal ? params.rotate : -params.rotate;\n const translate = params.depth; // Each slide offset from center\n\n for (let i = 0, length = slides.length; i < length; i += 1) {\n const $slideEl = slides.eq(i);\n const slideSize = slidesSizesGrid[i];\n const slideOffset = $slideEl[0].swiperSlideOffset;\n const centerOffset = (center - slideOffset - slideSize / 2) / slideSize;\n const offsetMultiplier = typeof params.modifier === 'function' ? params.modifier(centerOffset) : centerOffset * params.modifier;\n let rotateY = isHorizontal ? rotate * offsetMultiplier : 0;\n let rotateX = isHorizontal ? 0 : rotate * offsetMultiplier; // var rotateZ = 0\n\n let translateZ = -translate * Math.abs(offsetMultiplier);\n let stretch = params.stretch; // Allow percentage to make a relative stretch for responsive sliders\n\n if (typeof stretch === 'string' && stretch.indexOf('%') !== -1) {\n stretch = parseFloat(params.stretch) / 100 * slideSize;\n }\n\n let translateY = isHorizontal ? 0 : stretch * offsetMultiplier;\n let translateX = isHorizontal ? stretch * offsetMultiplier : 0;\n let scale = 1 - (1 - params.scale) * Math.abs(offsetMultiplier); // Fix for ultra small values\n\n if (Math.abs(translateX) < 0.001) translateX = 0;\n if (Math.abs(translateY) < 0.001) translateY = 0;\n if (Math.abs(translateZ) < 0.001) translateZ = 0;\n if (Math.abs(rotateY) < 0.001) rotateY = 0;\n if (Math.abs(rotateX) < 0.001) rotateX = 0;\n if (Math.abs(scale) < 0.001) scale = 0;\n const slideTransform = `translate3d(${translateX}px,${translateY}px,${translateZ}px) rotateX(${rotateX}deg) rotateY(${rotateY}deg) scale(${scale})`;\n const $targetEl = effectTarget(params, $slideEl);\n $targetEl.transform(slideTransform);\n $slideEl[0].style.zIndex = -Math.abs(Math.round(offsetMultiplier)) + 1;\n\n if (params.slideShadows) {\n // Set shadows\n let $shadowBeforeEl = isHorizontal ? $slideEl.find('.swiper-slide-shadow-left') : $slideEl.find('.swiper-slide-shadow-top');\n let $shadowAfterEl = isHorizontal ? $slideEl.find('.swiper-slide-shadow-right') : $slideEl.find('.swiper-slide-shadow-bottom');\n\n if ($shadowBeforeEl.length === 0) {\n $shadowBeforeEl = createShadow(params, $slideEl, isHorizontal ? 'left' : 'top');\n }\n\n if ($shadowAfterEl.length === 0) {\n $shadowAfterEl = createShadow(params, $slideEl, isHorizontal ? 'right' : 'bottom');\n }\n\n if ($shadowBeforeEl.length) $shadowBeforeEl[0].style.opacity = offsetMultiplier > 0 ? offsetMultiplier : 0;\n if ($shadowAfterEl.length) $shadowAfterEl[0].style.opacity = -offsetMultiplier > 0 ? -offsetMultiplier : 0;\n }\n }\n };\n\n const setTransition = duration => {\n const {\n transformEl\n } = swiper.params.coverflowEffect;\n const $transitionElements = transformEl ? swiper.slides.find(transformEl) : swiper.slides;\n $transitionElements.transition(duration).find('.swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left').transition(duration);\n };\n\n effectInit({\n effect: 'coverflow',\n swiper,\n on,\n setTranslate,\n setTransition,\n perspective: () => true,\n overwriteParams: () => ({\n watchSlidesProgress: true\n })\n });\n}","import React, { ReactNode, useEffect, useRef, useState } from 'react';\r\nimport { styled } from '@glitz/react';\r\nimport { Style, StyleOrStyleArray } from '@glitz/type';\r\nimport * as style from 'Shared/Style';\r\nimport { SwipeLeft, SwipeLeftAlt2, SwipeRight, SwipeRightAlt2 } from './SwiperNav';\r\nimport Swiper, { FreeMode, Parallax, EffectCoverflow } from 'swiper';\r\nimport { HeadingLabel, ResponsiveSize } from 'Shared/SharedComponents/atoms/Typography';\r\nimport { CircleUnfilled8x8, CircleFilled8x8 } from 'Shared/Icons/Circle';\r\nimport { Right24x40 as RightSwirl } from 'Shared/Icons/ArrowSwirl';\r\nimport { iOSVersion, isIOS } from '@polarnopyret/scope';\r\n\r\nexport enum SlideEffect {\r\n Slide = 'slide',\r\n CoverFlow = 'coverflow',\r\n}\r\n\r\ntype PropType = {\r\n isCompact: boolean;\r\n slidesPerView: number | \"auto\";\r\n spaceBetween: number;\r\n children?: ReactNode | undefined;\r\n listHeading?: string;\r\n showNav?: boolean;\r\n centerNav?: boolean;\r\n showSwirl?: boolean;\r\n navColor?: string;\r\n alternativeNav?: boolean;\r\n gridIndent?: boolean;\r\n navIndentLeft?: boolean;\r\n additionalMargin?: string;\r\n pagination?: boolean;\r\n pagingItemCount?: number;\r\n initialSlide?: number;\r\n slidesPerGroup?: number;\r\n slidesPerGroupSkip?: number;\r\n paginationContainerCss?: StyleOrStyleArray