@pronto-tools-and-more/files 12.42.0 → 12.43.0
Sign up to get free protection for your applications and to get access to all the features.
- package/files/framework/src/default/storefront/buildInfo.json +4 -4
- package/files/framework/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +1 -1
- package/files/framework/src/default/storefront/index.html +2 -2
- package/files/framework/src/default/storefront/modules/common.js +1 -1201
- package/files/framework/src/default/storefront/modules/main.js +1 -1
- package/files/framework/src/default/storefront/modules/styles.css +1 -1
- package/files/framework-latest/src/default/content/assets/FONTAWESOME_LICENSE.txt +34 -0
- package/files/framework-latest/src/default/content/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/files/framework-latest/src/default/content/assets/fonts/OpenSans-BoldItalic.ttf +0 -0
- package/files/framework-latest/src/default/content/assets/fonts/OpenSans-ExtraBold.ttf +0 -0
- package/files/framework-latest/src/default/content/assets/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
- package/files/framework-latest/src/default/content/assets/fonts/OpenSans-Italic.ttf +0 -0
- package/files/framework-latest/src/default/content/assets/fonts/OpenSans-Light.ttf +0 -0
- package/files/framework-latest/src/default/content/assets/fonts/OpenSans-LightItalic.ttf +0 -0
- package/files/framework-latest/src/default/content/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/files/framework-latest/src/default/content/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/files/framework-latest/src/default/content/assets/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
- package/files/framework-latest/src/default/content/assets/fonts/RobotoSlab-Bold.ttf +0 -0
- package/files/framework-latest/src/default/content/assets/ic_arrow.svg +1 -0
- package/files/framework-latest/src/default/content/assets/ic_audio.svg +19 -0
- package/files/framework-latest/src/default/content/assets/ic_bookmark.svg +10 -0
- package/files/framework-latest/src/default/content/assets/ic_bookmark_active.svg +9 -0
- package/files/framework-latest/src/default/content/assets/ic_close.svg +16 -0
- package/files/framework-latest/src/default/content/assets/ic_download.svg +13 -0
- package/files/framework-latest/src/default/content/assets/ic_download_circle.svg +15 -0
- package/files/framework-latest/src/default/content/assets/ic_download_completed.svg +12 -0
- package/files/framework-latest/src/default/content/assets/ic_download_completed_circle.svg +12 -0
- package/files/framework-latest/src/default/content/assets/ic_downloading.svg +13 -0
- package/files/framework-latest/src/default/content/assets/ic_downloading_circle.svg +15 -0
- package/files/framework-latest/src/default/content/assets/ic_font_size.svg +1 -0
- package/files/framework-latest/src/default/content/assets/ic_left.svg +15 -0
- package/files/framework-latest/src/default/content/assets/ic_left_arrow.svg +11 -0
- package/files/framework-latest/src/default/content/assets/ic_night_mode.svg +20 -0
- package/files/framework-latest/src/default/content/assets/ic_night_mode_active.svg +20 -0
- package/files/framework-latest/src/default/content/assets/ic_overlay_loading.svg +13 -0
- package/files/framework-latest/src/default/content/assets/ic_pause.svg +19 -0
- package/files/framework-latest/src/default/content/assets/ic_play.svg +16 -0
- package/files/framework-latest/src/default/content/assets/ic_player.svg +19 -0
- package/files/framework-latest/src/default/content/assets/ic_player_active.svg +19 -0
- package/files/framework-latest/src/default/content/assets/ic_right.svg +15 -0
- package/files/framework-latest/src/default/content/assets/ic_right_arrow.svg +11 -0
- package/files/framework-latest/src/default/content/assets/ic_seek_back.svg +19 -0
- package/files/framework-latest/src/default/content/assets/ic_seek_forward.svg +19 -0
- package/files/framework-latest/src/default/content/assets/ic_settings.svg +16 -0
- package/files/framework-latest/src/default/content/assets/ic_share_android.svg +11 -0
- package/files/framework-latest/src/default/content/assets/ic_share_ios.svg +13 -0
- package/files/framework-latest/src/default/content/assets/ic_speech.svg +15 -0
- package/files/framework-latest/src/default/content/assets/ic_speech_female.svg +11 -0
- package/files/framework-latest/src/default/content/assets/ic_speech_male.svg +11 -0
- package/files/framework-latest/src/default/content/assets/ic_speech_rate.svg +11 -0
- package/files/framework-latest/src/default/content/assets/ic_toc.svg +22 -0
- package/files/framework-latest/src/default/content/assets/ic_video.svg +21 -0
- package/files/framework-latest/src/default/content/assets/ic_zoom.svg +1 -0
- package/files/framework-latest/src/default/content/assets/img/spinner.gif +0 -0
- package/files/framework-latest/src/default/content/assets/logo.png +0 -0
- package/files/framework-latest/src/default/content/assets/swiper/swiper-bundle.min.css +13 -0
- package/files/framework-latest/src/default/content/assets/swiper/swiper-bundle.min.js +1 -0
- package/files/framework-latest/src/default/content/assets/tail-spin.gif +0 -0
- package/files/framework-latest/src/default/content/assets/tail-spin.svg +32 -0
- package/files/framework-latest/src/default/content/core.css +29 -0
- package/files/framework-latest/src/default/content/core.js +10896 -0
- package/files/framework-latest/src/default/content/functions.css +2 -0
- package/files/framework-latest/src/default/content/functions.js +1 -0
- package/files/framework-latest/src/default/content/publish-press-author.css +407 -0
- package/files/framework-latest/src/default/content/publish-press-author.js +290 -0
- package/files/framework-latest/src/default/content/resources.json +1 -0
- package/files/framework-latest/src/default/content/theme.css +16 -0
- package/files/framework-latest/src/default/content/theme.js +720 -0
- package/files/framework-latest/src/default/content/tts.css +7 -0
- package/files/framework-latest/src/default/content/tts.js +5 -0
- package/files/framework-latest/src/default/content/uag.css +20 -0
- package/files/framework-latest/src/default/content/uag.js +166 -0
- package/files/framework-latest/src/default/info/css/style.css +328 -0
- package/files/framework-latest/src/default/info/font-awesome/HELP-US-OUT.txt +7 -0
- package/files/framework-latest/src/default/info/font-awesome/css/font-awesome.css +2337 -0
- package/files/framework-latest/src/default/info/font-awesome/css/font-awesome.min.css +4 -0
- package/files/framework-latest/src/default/info/font-awesome/fonts/FontAwesome.otf +0 -0
- package/files/framework-latest/src/default/info/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- package/files/framework-latest/src/default/info/font-awesome/fonts/fontawesome-webfont.svg +2671 -0
- package/files/framework-latest/src/default/info/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- package/files/framework-latest/src/default/info/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- package/files/framework-latest/src/default/info/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- package/files/framework-latest/src/default/info/font-awesome/less/animated.less +34 -0
- package/files/framework-latest/src/default/info/font-awesome/less/bordered-pulled.less +25 -0
- package/files/framework-latest/src/default/info/font-awesome/less/core.less +12 -0
- package/files/framework-latest/src/default/info/font-awesome/less/fixed-width.less +6 -0
- package/files/framework-latest/src/default/info/font-awesome/less/font-awesome.less +18 -0
- package/files/framework-latest/src/default/info/font-awesome/less/icons.less +789 -0
- package/files/framework-latest/src/default/info/font-awesome/less/larger.less +13 -0
- package/files/framework-latest/src/default/info/font-awesome/less/list.less +19 -0
- package/files/framework-latest/src/default/info/font-awesome/less/mixins.less +60 -0
- package/files/framework-latest/src/default/info/font-awesome/less/path.less +15 -0
- package/files/framework-latest/src/default/info/font-awesome/less/rotated-flipped.less +20 -0
- package/files/framework-latest/src/default/info/font-awesome/less/screen-reader.less +5 -0
- package/files/framework-latest/src/default/info/font-awesome/less/stacked.less +20 -0
- package/files/framework-latest/src/default/info/font-awesome/less/variables.less +800 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_animated.scss +34 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_bordered-pulled.scss +25 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_core.scss +12 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_fixed-width.scss +6 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_icons.scss +789 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_larger.scss +13 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_list.scss +19 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_mixins.scss +60 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_path.scss +15 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_rotated-flipped.scss +20 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_screen-reader.scss +5 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_stacked.scss +20 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/_variables.scss +800 -0
- package/files/framework-latest/src/default/info/font-awesome/scss/font-awesome.scss +18 -0
- package/files/framework-latest/src/default/info/fonts/Roboto-Bold.ttf +0 -0
- package/files/framework-latest/src/default/info/fonts/Roboto-Italic.ttf +0 -0
- package/files/framework-latest/src/default/info/fonts/Roboto-Light.ttf +0 -0
- package/files/framework-latest/src/default/info/fonts/Roboto-LightItalic.ttf +0 -0
- package/files/framework-latest/src/default/info/fonts/Roboto-Medium.ttf +0 -0
- package/files/framework-latest/src/default/info/fonts/Roboto-MediumItalic.ttf +0 -0
- package/files/framework-latest/src/default/info/fonts/Roboto-Regular.ttf +0 -0
- package/files/framework-latest/src/default/info/img/banner.png +0 -0
- package/files/framework-latest/src/default/info/index.html +94 -0
- package/files/framework-latest/src/default/info/theme.css +181 -0
- package/files/framework-latest/src/default/menuicons/account.png +0 -0
- package/files/framework-latest/src/default/menuicons/account@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/account@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/bookmarks.png +0 -0
- package/files/framework-latest/src/default/menuicons/bookmarks@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/bookmarks@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/calendar.png +0 -0
- package/files/framework-latest/src/default/menuicons/calendar@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/calendar@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/chain.png +0 -0
- package/files/framework-latest/src/default/menuicons/chain@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/chain@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/feedback.png +0 -0
- package/files/framework-latest/src/default/menuicons/feedback@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/feedback@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/forum.png +0 -0
- package/files/framework-latest/src/default/menuicons/forum@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/forum@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/info.png +0 -0
- package/files/framework-latest/src/default/menuicons/kiosk.png +0 -0
- package/files/framework-latest/src/default/menuicons/kiosk@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/kiosk@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/legal.png +0 -0
- package/files/framework-latest/src/default/menuicons/legal@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/legal@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/login.png +0 -0
- package/files/framework-latest/src/default/menuicons/login@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/login@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/logout.png +0 -0
- package/files/framework-latest/src/default/menuicons/logout@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/logout@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/newsfeed.png +0 -0
- package/files/framework-latest/src/default/menuicons/newsfeed@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/newsfeed@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/newsstand.png +0 -0
- package/files/framework-latest/src/default/menuicons/newsstand@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/newsstand@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/purple.png +0 -0
- package/files/framework-latest/src/default/menuicons/purple@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/purple@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/restore.png +0 -0
- package/files/framework-latest/src/default/menuicons/restore@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/restore@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/settings.png +0 -0
- package/files/framework-latest/src/default/menuicons/share.png +0 -0
- package/files/framework-latest/src/default/menuicons/share@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/share@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/shop.png +0 -0
- package/files/framework-latest/src/default/menuicons/shop@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/shop@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/socialmedia.png +0 -0
- package/files/framework-latest/src/default/menuicons/socialmedia@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/socialmedia@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/subscriptions.png +0 -0
- package/files/framework-latest/src/default/menuicons/subscriptions@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/subscriptions@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/voucher.png +0 -0
- package/files/framework-latest/src/default/menuicons/voucher@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/voucher@3x.png +0 -0
- package/files/framework-latest/src/default/menuicons/website.png +0 -0
- package/files/framework-latest/src/default/menuicons/website@2x.png +0 -0
- package/files/framework-latest/src/default/menuicons/website@3x.png +0 -0
- package/files/framework-latest/src/default/onboarding/3rdpartylicenses.txt +574 -0
- package/files/framework-latest/src/default/onboarding/assets/config/message.json +7 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding.json +48 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/1_Welcome.png +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/2_MenuPhone.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/2_MenuTablet.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/3_NewsstandPhone.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/3_NewsstandTablet.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/4_PublicationPhone.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/4_PublicationTablet.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/5_NewsfeedPhone.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/5_NewsfeedTablet.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/6_FeaturesPhone.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/6_FeaturesTablet.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_videos/BLI_Cover-Image-Video_1.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/onboarding_videos/BLI_Cover-Image-Video_4.jpg +0 -0
- package/files/framework-latest/src/default/onboarding/assets/config/style.json +19 -0
- package/files/framework-latest/src/default/onboarding/assets/config/url.json +5 -0
- package/files/framework-latest/src/default/onboarding/assets/font/Ionicons/ionicons.ttf +0 -0
- package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-Bold.ttf +0 -0
- package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-BoldItalic.ttf +0 -0
- package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-ExtraBold.ttf +0 -0
- package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-ExtraBoldItalic.ttf +0 -0
- package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-Italic.ttf +0 -0
- package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-Light.ttf +0 -0
- package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-LightItalic.ttf +0 -0
- package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-Regular.ttf +0 -0
- package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-SemiBold.ttf +0 -0
- package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-SemiBoldItalic.ttf +0 -0
- package/files/framework-latest/src/default/onboarding/assets/font/fonts.css +73 -0
- package/files/framework-latest/src/default/onboarding/favicon.ico +0 -0
- package/files/framework-latest/src/default/onboarding/index.html +15 -0
- package/files/framework-latest/src/default/onboarding/main.js +1 -0
- package/files/framework-latest/src/default/onboarding/polyfills-es5.js +1 -0
- package/files/framework-latest/src/default/onboarding/polyfills.js +1 -0
- package/files/framework-latest/src/default/onboarding/runtime.js +1 -0
- package/files/framework-latest/src/default/onboarding/styles.css +1 -0
- package/files/framework-latest/src/default/onboarding/vendor.js +1 -0
- package/files/framework-latest/src/default/readmode/custom.js +40 -0
- package/files/framework-latest/src/default/readmode/ic_audio.svg +19 -0
- package/files/framework-latest/src/default/readmode/ic_close.svg +16 -0
- package/files/framework-latest/src/default/readmode/ic_font_size.svg +1 -0
- package/files/framework-latest/src/default/readmode/ic_night_mode.svg +20 -0
- package/files/framework-latest/src/default/readmode/ic_pause.svg +19 -0
- package/files/framework-latest/src/default/readmode/ic_play.svg +16 -0
- package/files/framework-latest/src/default/readmode/ic_speech.svg +15 -0
- package/files/framework-latest/src/default/readmode/ic_speech_female.svg +11 -0
- package/files/framework-latest/src/default/readmode/ic_speech_male.svg +11 -0
- package/files/framework-latest/src/default/storefront/3rdpartylicenses.txt +1065 -0
- package/files/framework-latest/src/default/storefront/assets/access.json +10 -0
- package/files/framework-latest/src/default/storefront/assets/banner/banner_not_found.jpg +0 -0
- package/files/framework-latest/src/default/storefront/assets/downloadOptions.json +1 -0
- package/files/framework-latest/src/default/storefront/assets/faq.html +87 -0
- package/files/framework-latest/src/default/storefront/assets/features.json +3 -0
- package/files/framework-latest/src/default/storefront/assets/generic-widget.json +1 -0
- package/files/framework-latest/src/default/storefront/assets/login.html +329 -0
- package/files/framework-latest/src/default/storefront/assets/submit.css +7 -0
- package/files/framework-latest/src/default/storefront/assets/subscription-benefits.json +11 -0
- package/files/framework-latest/src/default/storefront/assets/termsofuse.html +123 -0
- package/files/framework-latest/src/default/storefront/assets/tts_config.json +3 -0
- package/files/framework-latest/src/default/storefront/assets/urls.json +11 -0
- package/files/framework-latest/src/default/storefront/buildInfo.json +7 -0
- package/files/framework-latest/src/default/storefront/deep-link-landing/index.html +1 -0
- package/files/framework-latest/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +842 -0
- package/files/framework-latest/src/default/storefront/deep-link-landing/purple-deep-link-landing.js.LICENSE.txt +13 -0
- package/files/framework-latest/src/default/storefront/index.html +22 -0
- package/files/framework-latest/src/default/storefront/modules/DS_logo.svg +1 -0
- package/files/framework-latest/src/default/storefront/modules/alphaMask.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/btn_backward.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/btn_first.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/btn_forward.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/btn_fullwidth.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/btn_fullwidth_active.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/btn_last.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/btn_pin.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/btn_toc.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/btn_zoom.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/btn_zoom_active.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/common.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/default-node_modules_angular_forms_fesm2022_forms_mjs.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_base-component_base-datacollection_component_ts-4706f8.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_content_content_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-04fe61.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-571069.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_issue_issue_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_service_tts_tts_service_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/ic_backward.svg +16 -0
- package/files/framework-latest/src/default/storefront/modules/ic_close.svg +16 -0
- package/files/framework-latest/src/default/storefront/modules/ic_forward.svg +16 -0
- package/files/framework-latest/src/default/storefront/modules/ic_fullscreen.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_fullscreen@2x.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_fullscreen@3x.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_overlay_loading.svg +13 -0
- package/files/framework-latest/src/default/storefront/modules/ic_pause.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_pause.svg +19 -0
- package/files/framework-latest/src/default/storefront/modules/ic_pause@2x.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_pause@3x.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_play.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_play.svg +16 -0
- package/files/framework-latest/src/default/storefront/modules/ic_play@2x.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_play@3x.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_player.svg +17 -0
- package/files/framework-latest/src/default/storefront/modules/ic_player_active.svg +17 -0
- package/files/framework-latest/src/default/storefront/modules/ic_refresh.svg +16 -0
- package/files/framework-latest/src/default/storefront/modules/ic_seek_back.svg +19 -0
- package/files/framework-latest/src/default/storefront/modules/ic_seek_forward.svg +19 -0
- package/files/framework-latest/src/default/storefront/modules/ic_settings.svg +16 -0
- package/files/framework-latest/src/default/storefront/modules/ic_smallscreen.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_smallscreen@2x.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_smallscreen@3x.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/ic_speech.svg +15 -0
- package/files/framework-latest/src/default/storefront/modules/ic_speech_female.svg +11 -0
- package/files/framework-latest/src/default/storefront/modules/ic_speech_male.svg +11 -0
- package/files/framework-latest/src/default/storefront/modules/icon_close.png +0 -0
- package/files/framework-latest/src/default/storefront/modules/main.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/node_modules_clientjs_dist_client_base_min_js.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/node_modules_mustache_mustache_js.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/node_modules_purple_web-player_dist_webPresenter_js_vendor_js.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/node_modules_purple_web-player_dist_webPresenter_js_webPresenter_min_js.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/polyfills.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-295cec.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-7956f0.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-94b9b6.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_action-executor_action-executor_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_app-menu-xml_app-menu-xml_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_bookmark_bookmark_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-featured-image_content-featured-c9ba26.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_category_category_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_collection_collection_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_component_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_coupon_coupon_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dev-components_user-tag-testing_user-tag-testing_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_download-issues_download-issues_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dropdown_dropdown_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_embeddable-view_embeddable-view_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_iframe_iframe_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_issue-search-result_issue-search-result_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_login_login_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_menu_menu_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_product_product_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication-completion_publication-completion_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication_publication_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_recommendations_recommendations_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_search-field_search-field_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_subscription_subscription_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_swiper_swiper_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ticker_ticker_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toggle_toggle_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toolbar_toolbar_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_web-presenter_presenter_presenter_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_widget_widget_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_config_common_config_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/runtime.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/styles.css +1 -0
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_publication-completion_publication-completion_module_ts"],{2932:(N,T,i)=>{i.d(T,{h:()=>R,q:()=>S});var u=i(177),r=i(4438),p=i(8251),b=i(8890),h=i(9516),E=i(9876),f=i(5102),x=i(3307),c=i(5927),P=i(3647);const L=["image"],d=(_,O,g)=>({imgRef:_,imageResolutionStrategy:O,focalPoint:g});function A(_,O){if(1&_){const g=r.RV6();r.j41(0,"img",2,0),r.nI1(2,"sanitizeUrl"),r.bIt("error",function(){r.eBV(g);const a=r.XpG();return r.Njj(a.onError())}),r.k0s()}if(2&_){const g=r.XpG();r.Y8G("priority",g.lcpPrioritized()||g.inViewPort())("ngSrc",r.i5U(2,6,g.src,"resourceUrl"))("alt",g.alt)("title",g.title)("loaderParams",r.sMw(9,d,g.elementRef.nativeElement,g.imageResolutionStrategy,g.focalPoint)),r.BMQ("aria-label",g.ariaLabel)}}let R=(()=>{var _;class O{get regularSrc(){return this.domHelper.regularSelector(this.src)}get prefixedPostType(){return this.domHelper.prefixedSelector(this.src)}get regularLabel(){return this.domHelper.regularSelector(this.label)}get prefixedLabel(){return this.domHelper.prefixedSelector(this.label)}get regularResolutionStrategy(){return this.domHelper.regularSelector(this.imageResolutionStrategy)}get prefixedResolutionStrategy(){return this.domHelper.prefixedSelector(this.imageResolutionStrategy)}set image(s){s&&this.onLoad(s),this._image=s}get image(){return this._image}get regularAlt(){return this.domHelper.regularSelector(this.alt)}get prefixedAlt(){return this.domHelper.prefixedSelector(this.alt)}get regularTitle(){return this.domHelper.regularSelector(this.title)}get prefixedTitle(){return this.domHelper.prefixedSelector(this.title)}get regularAriaLabel(){return this.domHelper.regularSelector(this.ariaLabel)}get prefixedAriaLabel(){return this.domHelper.prefixedSelector(this.ariaLabel)}get regularFocalPoint(){return this.domHelper.regularSelector(this.focalPoint)}get prefixedFocalPoint(){return this.domHelper.prefixedSelector(this.focalPoint)}get regularHeightStrategy(){return this.domHelper.regularSelector(this.height)}get prefixedHeightStrategy(){return this.domHelper.prefixedSelector(this.height)}constructor(s,a,v,y,F,t,X,k){this.changeDetectorRef=s,this.elementRef=a,this.subscriptions=v,this.platformId=y,this.contextService=F,this.purpleService=t,this.imagePreloaderService=X,this.domHelper=k,this.inViewPort=(0,r.vPA)(!1),this.lcpPrioritized=(0,r.hFB)(!1),this.error=new r.bkB,this.height=S.AUTO,(0,u.UE)(this.platformId)&&this.subscriptions.subscribe((0,b.eh)(this,this.elementRef),z=>this.load())}get empty(){return!this.src}ngOnInit(){var s;(0,u.UE)(this.platformId)&&(this.imagePreloaderService.getAboveFoldImg()===(null===(s=this.src)||void 0===s?void 0:s.split("?")[0])&&this.inViewPort.set(!0));this.initProperties()}initProperties(){var s,a,v,y;this.alt=(null===(s=this.extendedThumbnail)||void 0===s?void 0:s.properties.alt)||(null===(a=this.extendedThumbnail)||void 0===a?void 0:a.properties.caption)||"",this.title=this.alt,this.ariaLabel=null!==(v=this.label)&&void 0!==v?v:this.alt,this.focalPoint=null===(y=this.extendedThumbnail)||void 0===y?void 0:y.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.src&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(s){s.src&&this.loaded&&this.update()}update(){this.updateImageRatio()}onLoad(s){s.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),s.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,s),this.changeDetectorRef.markForCheck()}),s.nativeElement.addEventListener("error",function(){s.nativeElement.style.display="none",s.nativeElement.nextElementSibling&&(s.nativeElement.nextElementSibling.style.display="inline")}),this.purpleService.addImageSrc(this.resizeSrc)}onError(){if(!this.src)return;const s=this.purpleService.getAlternativeSrc(this.resizeSrc);var a;s&&s!==this.resizeSrc?(this.setResizeSrc(s),this.changeDetectorRef.detectChanges()):(null===(a=this.image)||void 0===a||a.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(s=!1,a=this.image){this.imageRatio=this.height===S.AUTO?(0,E.z)(!s,null==a?void 0:a.nativeElement,this.src)+"%":void 0}setResizeSrc(s){const a=this.contextService.toResourceUrl(s);this.resizeSrc=this.src=a}}return(_=O).\u0275fac=function(s){return new(s||_)(r.rXU(r.gRc),r.rXU(r.aKT),r.rXU(p.v),r.rXU(r.Agw),r.rXU(h.V),r.rXU(f.Wj),r.rXU(x.d),r.rXU(c.S))},_.\u0275cmp=r.VBU({type:_,selectors:[["storefront-image"]],viewQuery:function(s,a){if(1&s&&r.GBs(L,5),2&s){let v;r.mGM(v=r.lsd())&&(a.image=v.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:20,hostBindings:function(s,a){2&s&&(r.BMQ("src",a.regularSrc)("data-pxp-src",a.prefixedPostType)("label",a.regularLabel)("data-pxp-label",a.prefixedLabel)("resolution-strategy",a.regularResolutionStrategy)("data-pxp-resolution-strategy",a.prefixedResolutionStrategy)("alt",a.regularAlt)("data-pxp-alt",a.prefixedAlt)("title",a.regularTitle)("data-pxp-title",a.prefixedTitle)("aria-label",a.regularAriaLabel)("data-pxp-aria-label",a.prefixedAriaLabel)("focal-point",a.regularFocalPoint)("data-pxp-focal-point",a.prefixedFocalPoint)("height-strategy",a.regularHeightStrategy)("data-pxp-height-strategy",a.prefixedHeightStrategy),r.xc7("padding-top",a.imageRatio),r.AVh("empty",a.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",lcpPrioritized:[1,"lcpPrioritized"],height:"height"},outputs:{error:"error"},standalone:!1,features:[r.Jv_([p.v,{provide:u.WM,useFactory:(g,s)=>a=>{var v;const y=null==a||null===(v=a.loaderParams)||void 0===v?void 0:v.imgRef;if(y.offsetWidth){var F,t;const X=null==a||null===(F=a.loaderParams)||void 0===F?void 0:F.imageResolutionStrategy,k=(null==a||null===(t=a.loaderParams)||void 0===t?void 0:t.focalPoint)||"",z=s.toResourceUrl((0,E.G)(y,a.src,X,k));return g.resizeSrc=z,z}return""},deps:[_,h.V]}]),r.OA$],decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(s,a){1&s&&r.DNE(0,A,3,13,"img",1),2&s&&r.vxM(a.src&&a.loaded?0:-1)},dependencies:[u.kt,P.R],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),O})();var S=function(_){return _.AUTO="AUTO",_.FIXED="FIXED",_.DEFAULT="DEFAULT",_}(S||{})},1302:(N,T,i)=>{i.d(T,{x:()=>c});var u=i(8251),r=i(2932),p=i(4438),b=i(177),h=i(3647);const E=["class","pxp-image"],f=(P,L,d)=>({imgRef:P,imageResolutionStrategy:L,focalPoint:d});function x(P,L){if(1&P){const d=p.RV6();p.j41(0,"img",2,0),p.nI1(2,"sanitizeUrl"),p.bIt("error",function(){p.eBV(d);const R=p.XpG();return p.Njj(R.onError())}),p.k0s()}if(2&P){const d=p.XpG();p.Y8G("priority",d.lcpPrioritized()||d.inViewPort())("ngSrc",p.i5U(2,6,d.src,"resourceUrl"))("alt",d.alt)("title",d.title)("loaderParams",p.sMw(9,f,d.elementRef.nativeElement,d.imageResolutionStrategy,d.focalPoint)),p.BMQ("aria-label",d.ariaLabel)}}let c=(()=>{var P;class L extends r.h{}return(P=L).\u0275fac=(()=>{let d;return function(R){return(d||(d=p.xGo(P)))(R||P)}})(),P.\u0275cmp=p.VBU({type:P,selectors:[["div",8,"pxp-image"]],hostAttrs:["ngSkipHydration","true"],standalone:!1,features:[p.Jv_([u.v]),p.Vt3],attrs:E,decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(A,R){1&A&&p.DNE(0,x,3,13,"img",1),2&A&&p.vxM(R.src&&R.loaded?0:-1)},dependencies:[b.kt,h.R],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),L})()},4403:(N,T,i)=>{i.d(T,{U:()=>b});var u=i(177),r=i(4871),p=i(4438);let b=(()=>{var h;class E{}return(h=E).\u0275fac=function(x){return new(x||h)},h.\u0275mod=p.$C({type:h}),h.\u0275inj=p.G2t({imports:[u.MD,r.E]}),E})()},4365:(N,T,i)=>{i.d(T,{AN:()=>E,FZ:()=>f,Mw:()=>x,Rp:()=>h,W9:()=>b});var u=i(4404),b=function(c){return c.COVER="cover",c.CARD="card",c.HIGHLIGHT="highlight",c.DETAILS="details",c.GROUP="group",c}(b||{});const h={showErrorDialog:!0};var E=function(c){return c.SINGLE="SINGLE",c.MULTI="MULTI",c}(E||{}),f=function(c){return c.SILENT="SILENT",c}(f||{});const x={template:b.CARD,openContent:{mode:u.DisplayMode.MODAL,titleBar:!0},downloadOptions:null,customButtons:[],customMessages:[],titleMessage:"ISSUE_TITLE",descriptionMessage:"ISSUE_DESCRIPTION",publicationTitleMessage:"ISSUE_PUBLICATION_TITLE"}},944:(N,T,i)=>{i.r(T),i.d(T,{PublicationCompletionModule:()=>Nt,component:()=>Xt});var u=i(177),r=i(3),p=i(6483),b=i(9805),h=i(4403),E=i(6215),f=i(467),x=i(9379),c=i(4404),P=i(4572),L=i(8251),d=i(4004),A=i(4622),R=i(3178),S=i(8091),_=i(7879),O=i(1210),g=i(4365);const s={publicationId:null,fallback:null,titleMessage:"PUBLICATION_COMPLETION_TITLE",promotionTextMessage:"PUBLICATION_COMPLETION_PROMOTION_TEXT",purchaseButtonMessage:"PUBLICATION_COMPLETION_ACTION_PURCHASE",maxDisplayIssues:5,maxUnlockableIssues:1e3};var a=i(8179),v=i(5964),y=i(1739),F=i(950),t=i(4438),X=i(9516),k=i(8004),z=i(7010),Z=i(5102),w=i(1652),q=i(5927),$=i(8909),H=i(2932),Y=i(1302),j=i(7240),W=i(6962),K=i(2868);const V=e=>[e];function tt(e,l){1&e&&t.nrm(0,"div",7),2&e&&t.Y8G("src",l.$implicit.thumbnails.default)}function et(e,l){if(1&e&&t.DNE(0,tt,1,1,"div",9),2&e){const o=t.XpG(4);t.Y8G("ngForOf",o.displayedIssues)}}function ot(e,l){1&e&&t.nrm(0,"storefront-image",8),2&e&&t.Y8G("src",l.$implicit.thumbnails.default)}function nt(e,l){if(1&e&&t.DNE(0,ot,1,1,"storefront-image",10),2&e){const o=t.XpG(4);t.Y8G("ngForOf",o.displayedIssues)}}function it(e,l){if(1&e&&(t.j41(0,"div",6),t.DNE(1,et,1,1,"div",7)(2,nt,1,1,"storefront-image",8),t.k0s()),2&e){const o=t.XpG(3);t.R7$(),t.vxM(o.domHelper.leanDom?1:2)}}function at(e,l){1&e&&t.nrm(0,"div",11)}function rt(e,l){if(1&e&&t.DNE(0,at,1,0,"div",11),2&e){const o=t.XpG(3);t.vxM(o.purchaseLoading?0:-1)}}function lt(e,l){1&e&&t.nrm(0,"storefront-spinner",12)}function st(e,l){if(1&e&&t.DNE(0,lt,1,0,"storefront-spinner",12),2&e){const o=t.XpG(3);t.vxM(o.purchaseLoading?0:-1)}}function ct(e,l){if(1&e){const o=t.RV6();t.qex(0),t.DNE(1,it,3,1,"div",1),t.nrm(2,"h3",2)(3,"p",3),t.j41(4,"button",4),t.bIt("click",function(m){t.eBV(o);const C=t.XpG(2);return t.Njj(C.onClickPurchase(m))}),t.nrm(5,"span",5),t.DNE(6,rt,1,1)(7,st,1,1),t.k0s(),t.bVm()}if(2&e){const o=t.XpG(2);t.R7$(),t.Y8G("ngIf",o.displayedIssues),t.R7$(),t.Y8G("storefrontTranslate",o.config.titleMessage),t.R7$(),t.Y8G("storefrontTranslate",o.config.promotionTextMessage)("storefrontTranslateArgs",o.publicationCompletionArgs),t.R7$(),t.Y8G("disabled",o.purchaseLoading),t.R7$(),t.Y8G("storefrontTranslate",o.config.purchaseButtonMessage)("storefrontTranslateArgs",t.eq3(8,V,o.productPriceInfo.formattedPrice)),t.R7$(),t.vxM(o.domHelper.leanDom?6:7)}}function pt(e,l){}function mt(e,l){if(1&e&&(t.qex(0),t.DNE(1,pt,0,0,"ng-template",13),t.bVm()),2&e){const o=t.XpG(2);t.R7$(),t.Y8G("classNames","publication-completion-fallback")("baseContext",o.baseContext)("baseConfig",o.fallback)}}function ut(e,l){if(1&e&&(t.qex(0),t.nrm(1,"p",14),t.bVm()),2&e){const o=t.XpG(2);t.R7$(),t.Y8G("storefrontTranslateArgs",t.eq3(1,V,o.error.code))}}function gt(e,l){if(1&e&&(t.qex(0),t.DNE(1,ct,8,10,"ng-container",0)(2,mt,2,3,"ng-container",0)(3,ut,2,3,"ng-container",0),t.bVm()),2&e){const o=t.XpG();t.R7$(),t.Y8G("ngIf",!o.fallback&&!o.publicationCompletionLoading&&!o.error),t.R7$(),t.Y8G("ngIf",o.fallback),t.R7$(),t.Y8G("ngIf",o.error)}}function dt(e,l){1&e&&t.nrm(0,"div",15)}function ft(e,l){if(1&e&&t.DNE(0,dt,1,0,"div",15),2&e){const o=t.XpG();t.vxM(!o.config||o.publicationCompletionLoading?0:-1)}}function _t(e,l){1&e&&t.nrm(0,"storefront-spinner",16)}function ht(e,l){if(1&e&&t.DNE(0,_t,1,0,"storefront-spinner",16),2&e){const o=t.XpG();t.vxM(!o.config||o.publicationCompletionLoading?0:-1)}}let Q=(()=>{var e;class l extends O.${constructor(n,m,C,G,U,I,M,D,B,kt){super(C,n,m,M,B),this.elementRef=n,this.contextService=m,this.injector=C,this.store=G,this.eventActionService=U,this.rxStore=I,this.document=M,this.purpleService=D,this.globalService=B,this.domHelper=kt,this.defaultConfig=(0,x.A)({},s),this.error=null,this.unlockableIssues=[],this.displayedIssues=[],this.unlockableIssuesPriceInfos=[],this.publicationCompletionArgs=[],this.publicationCompletionLoading=!0,this.purchaseLoading=!1,this.purchaseConfig=(0,x.A)({},g.Rp)}onConfigChanges(){this.purchaseConfig=(0,x.A)((0,x.A)({},g.Rp),this.config.purchase),this.config.titleMessage=(0,a.v3)(this.config.titleMessage),this.config.promotionTextMessage=(0,a.v3)(this.config.promotionTextMessage),this.config.purchaseButtonMessage=(0,a.v3)(this.config.purchaseButtonMessage),this.initPublicationCompletion()}initPublicationCompletion(){var n=this;return(0,f.A)(function*(){var m;const C={publicationProductFilter:{AND:[{purchased:{value:!1}},{hidden:{value:!1}}]}};(0,_.E7)(window.purple.catalog,{major:1,minor:4},c.IntOperation.GREATER_THAN)&&C.publicationProductFilter.AND.push({type:{value:c.PublicationProductType.BACK_ISSUE_COMPLETION}}),C.maxUnlockableContents=null!==(m=n.config.maxUnlockableContents)&&void 0!==m?m:n.config.maxUnlockableIssues,n.config.productFilter&&(C.publicationProductFilter={AND:[C.publicationProductFilter,n.config.productFilter]}),n.config.unlockableIssuesFilter&&(C.unlockableIssuesFilter=(0,a.n)(n.config.unlockableIssuesFilter),console.error("using deprecated unlockableIssuesFilter on publication-completion component, use unlockableContentsFilter instead")),n.config.unlockableContentsFilter&&(C.unlockableContentsFilter=(0,a.Ph)(n.config.unlockableContentsFilter));try{var G;const U=yield n.purpleService.getPublicationProducts(C);if(U){let I=[];n.config.publicationId?n.product=U.find(M=>!!M.publications[n.config.publicationId]):n.config.publicationFilter?(I=(yield n.purpleService.getPublications({publicationFilter:(0,a.y3)(n.config.publicationFilter)})).nodes.map(D=>D.id),n.product=U.find(D=>!!I.find(B=>D.publications[B]))):n.product=U[0],n.product&&(I=Object.keys(n.product.publications),n.unlockableIssues=I.reduce((M,D)=>[...M,...n.product.publications[D].unlockableIssues],[]))}if(n.product&&(null===(G=n.unlockableIssues)||void 0===G?void 0:G.length)>0){n.unlockableIssues=(0,F.dV)(n.unlockableIssues),n.displayedIssues=n.unlockableIssues.slice(0,n.config.maxDisplayIssues);try{n.store.subscribe(n.calculatePrices(),([I,M])=>{I?(0,y.b)(I)?n.showError(I):(n.productPriceInfo=I,n.unlockableIssuesPriceInfos=M.filter(D=>!!D&&!(0,y.b)(D)),n.unlockableIssuesPrice=n.unlockableIssuesPriceInfos.reduce((D,B)=>B?D+B.price:D,0),n.productPriceInfo.price<n.unlockableIssuesPrice?(n.fallback=null,n.error=null,n.saving=Math.floor((n.unlockableIssuesPrice-n.productPriceInfo.price)/n.unlockableIssuesPrice*100),n.publicationCompletionArgs=n.getPublicationCompletionArgs(),n.publicationCompletionLoading=!1):n.showFallback()):n.showFallback()})}catch(I){console.warn("Could not calculate all publication completion prices: ",I),n.showError(I)}}else n.showFallback()}catch(U){console.warn("Could not load publication completion products: ",U),n.showError(U)}})()}calculatePrices(){const n=this.unlockableIssues.map(C=>C.productId),m=(0,P.z)((0,A.Zt)(this.product.productId)(this.rxStore),(0,A.TX)(n)(this.rxStore)).pipe((0,v.p)(([C,G])=>!G.includes(void 0)));return this.store.dispatch((0,d.$W)({productIds:[...n,this.product.productId]})),m}showFallback(){this.publicationCompletionLoading=!1,this.fallback=this.config.fallback}showError(n){this.publicationCompletionLoading=!1,this.error=n}onClickPurchase(n){var m=this;return(0,f.A)(function*(){n.stopPropagation(),m.purchaseLoading=!0,m.changeDetectorRef.detectChanges(),yield m.eventActionService.processPurchaseAction((0,x.A)((0,x.A)({},m.purchaseConfig),{},{productId:m.product.productId,price:m.productPriceInfo.price,currency:m.productPriceInfo.currency}),m),m.purchaseLoading=!1})()}getPublicationCompletionArgs(){if(this.unlockableIssues.length>0&&this.saving&&this.unlockableIssuesPrice&&this.productPriceInfo){const n=new Intl.NumberFormat((0,R.JK)(),{style:"currency",currency:this.unlockableIssuesPriceInfos[0].currency});return['<span class="issue-count">'.concat(this.unlockableIssues.length,"</span>"),'<span class="saving">'.concat(this.saving,"%</span>"),'<span class="former-price">'.concat(n.format(this.unlockableIssuesPrice),"</span>"),'<span class="current-price">'.concat(this.productPriceInfo.formattedPrice,"</span>")]}return[]}getTrackingParams(){return(0,_.TH)(this.product,this.productPriceInfo)}getErrorDialogArgs(n){return(0,S.F0)((0,S.E2)(n,this.contextService),this.product)}}return(e=l).type="publication-completion",e.\u0275fac=function(n){return new(n||e)(t.rXU(t.aKT),t.rXU(X.V),t.rXU(t.zZn),t.rXU(L.B),t.rXU(k.G),t.rXU(z.il),t.rXU(u.qQ),t.rXU(Z.Wj),t.rXU(w.d),t.rXU(q.S))},e.\u0275cmp=t.VBU({type:e,selectors:[["storefront-publication-completion"]],standalone:!1,features:[t.Jv_([L.B]),t.Vt3],decls:3,vars:2,consts:[[4,"ngIf"],["class","publication-completion-issues stacked top-even-centered",4,"ngIf"],[1,"title",3,"storefrontTranslate"],[1,"promotion-text",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"button-purchase","action-button",3,"click","disabled"],[3,"storefrontTranslate","storefrontTranslateArgs"],[1,"publication-completion-issues","stacked","top-even-centered"],["height","DEFAULT",1,"pxp-image",3,"src"],["height","DEFAULT",3,"src"],["class","pxp-image","height","DEFAULT",3,"src",4,"ngFor","ngForOf"],["height","DEFAULT",3,"src",4,"ngFor","ngForOf"],[1,"pxp-spinner","button-spinner"],[1,"button-spinner"],[3,"pxpDynamicComponent","classNames","baseContext","baseConfig"],["storefrontTranslate","ERROR_PUBLICATION_COMPLETION",1,"publication-completion-error",3,"storefrontTranslateArgs"],[1,"pxp-spinner","publication-completion-loading"],[1,"publication-completion-loading"]],template:function(n,m){1&n&&t.DNE(0,gt,4,3,"ng-container",0)(1,ft,1,1)(2,ht,1,1),2&n&&(t.Y8G("ngIf",m.config),t.R7$(),t.vxM(m.domHelper.leanDom?1:2))},dependencies:[u.Sq,u.bT,$.M,H.h,Y.x,j.t,W.n,K.q],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-publication-completion,.pxp-publication-completion{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center}storefront-publication-completion h3,.pxp-publication-completion h3{margin:var(--gutter);text-align:center}storefront-publication-completion .publication-completion-issues,.pxp-publication-completion .publication-completion-issues{display:flex;width:100%;justify-content:center}storefront-publication-completion .promotion-text,.pxp-publication-completion .promotion-text{text-align:center;margin:var(--gutter)}storefront-publication-completion .promotion-text span,.pxp-publication-completion .promotion-text span{font-weight:700}storefront-publication-completion .promotion-text span.saving,storefront-publication-completion .promotion-text span.former-price,storefront-publication-completion .promotion-text span.current-price,.pxp-publication-completion .promotion-text span.saving,.pxp-publication-completion .promotion-text span.former-price,.pxp-publication-completion .promotion-text span.current-price{color:var(--primaryColor)}storefront-publication-completion button,.pxp-publication-completion button{color:#fff;background-color:var(--primaryColor)}storefront-publication-completion button[disabled],.pxp-publication-completion button[disabled]{opacity:.5}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){storefront-publication-completion button,.pxp-publication-completion button{width:100%}}storefront-publication-completion storefront-spinner.publication-completion-loading,storefront-publication-completion .pxp-spinner.publication-completion-loading,.pxp-publication-completion storefront-spinner.publication-completion-loading,.pxp-publication-completion .pxp-spinner.publication-completion-loading{--spinnerColor: var(--secondaryColor);height:100px;width:100px}\n'],encapsulation:2}),l})();const bt=["class","pxp-publication-completion"],J=e=>[e];function xt(e,l){1&e&&t.nrm(0,"div",7),2&e&&t.Y8G("src",l.$implicit.thumbnails.default)}function Ct(e,l){if(1&e&&t.DNE(0,xt,1,1,"div",9),2&e){const o=t.XpG(4);t.Y8G("ngForOf",o.displayedIssues)}}function vt(e,l){1&e&&t.nrm(0,"storefront-image",8),2&e&&t.Y8G("src",l.$implicit.thumbnails.default)}function Pt(e,l){if(1&e&&t.DNE(0,vt,1,1,"storefront-image",10),2&e){const o=t.XpG(4);t.Y8G("ngForOf",o.displayedIssues)}}function Tt(e,l){if(1&e&&(t.j41(0,"div",6),t.DNE(1,Ct,1,1,"div",7)(2,Pt,1,1,"storefront-image",8),t.k0s()),2&e){const o=t.XpG(3);t.R7$(),t.vxM(o.domHelper.leanDom?1:2)}}function Et(e,l){1&e&&t.nrm(0,"div",11)}function It(e,l){if(1&e&&t.DNE(0,Et,1,0,"div",11),2&e){const o=t.XpG(3);t.vxM(o.purchaseLoading?0:-1)}}function Dt(e,l){1&e&&t.nrm(0,"storefront-spinner",12)}function yt(e,l){if(1&e&&t.DNE(0,Dt,1,0,"storefront-spinner",12),2&e){const o=t.XpG(3);t.vxM(o.purchaseLoading?0:-1)}}function Lt(e,l){if(1&e){const o=t.RV6();t.qex(0),t.DNE(1,Tt,3,1,"div",1),t.nrm(2,"h3",2)(3,"p",3),t.j41(4,"button",4),t.bIt("click",function(m){t.eBV(o);const C=t.XpG(2);return t.Njj(C.onClickPurchase(m))}),t.nrm(5,"span",5),t.DNE(6,It,1,1)(7,yt,1,1),t.k0s(),t.bVm()}if(2&e){const o=t.XpG(2);t.R7$(),t.Y8G("ngIf",o.displayedIssues),t.R7$(),t.Y8G("storefrontTranslate",o.config.titleMessage),t.R7$(),t.Y8G("storefrontTranslate",o.config.promotionTextMessage)("storefrontTranslateArgs",o.publicationCompletionArgs),t.R7$(),t.Y8G("disabled",o.purchaseLoading),t.R7$(),t.Y8G("storefrontTranslate",o.config.purchaseButtonMessage)("storefrontTranslateArgs",t.eq3(8,J,o.productPriceInfo.formattedPrice)),t.R7$(),t.vxM(o.domHelper.leanDom?6:7)}}function Rt(e,l){}function At(e,l){if(1&e&&(t.qex(0),t.DNE(1,Rt,0,0,"ng-template",13),t.bVm()),2&e){const o=t.XpG(2);t.R7$(),t.Y8G("classNames","publication-completion-fallback")("baseContext",o.baseContext)("baseConfig",o.fallback)}}function Ut(e,l){if(1&e&&(t.qex(0),t.nrm(1,"p",14),t.bVm()),2&e){const o=t.XpG(2);t.R7$(),t.Y8G("storefrontTranslateArgs",t.eq3(1,J,o.error.code))}}function Mt(e,l){if(1&e&&(t.qex(0),t.DNE(1,Lt,8,10,"ng-container",0)(2,At,2,3,"ng-container",0)(3,Ut,2,3,"ng-container",0),t.bVm()),2&e){const o=t.XpG();t.R7$(),t.Y8G("ngIf",!o.fallback&&!o.publicationCompletionLoading&&!o.error),t.R7$(),t.Y8G("ngIf",o.fallback),t.R7$(),t.Y8G("ngIf",o.error)}}function St(e,l){1&e&&t.nrm(0,"div",15)}function Ot(e,l){if(1&e&&t.DNE(0,St,1,0,"div",15),2&e){const o=t.XpG();t.vxM(!o.config||o.publicationCompletionLoading?0:-1)}}function Ft(e,l){1&e&&t.nrm(0,"storefront-spinner",16)}function Gt(e,l){if(1&e&&t.DNE(0,Ft,1,0,"storefront-spinner",16),2&e){const o=t.XpG();t.vxM(!o.config||o.publicationCompletionLoading?0:-1)}}let Bt=(()=>{var e;class l extends Q{}return(e=l).\u0275fac=(()=>{let o;return function(m){return(o||(o=t.xGo(e)))(m||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["div",8,"pxp-publication-completion"]],standalone:!1,features:[t.Vt3],attrs:bt,decls:3,vars:2,consts:[[4,"ngIf"],["class","publication-completion-issues stacked top-even-centered",4,"ngIf"],[1,"title",3,"storefrontTranslate"],[1,"promotion-text",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"button-purchase","action-button",3,"click","disabled"],[3,"storefrontTranslate","storefrontTranslateArgs"],[1,"publication-completion-issues","stacked","top-even-centered"],["height","DEFAULT",1,"pxp-image",3,"src"],["height","DEFAULT",3,"src"],["class","pxp-image","height","DEFAULT",3,"src",4,"ngFor","ngForOf"],["height","DEFAULT",3,"src",4,"ngFor","ngForOf"],[1,"pxp-spinner","button-spinner"],[1,"button-spinner"],[3,"pxpDynamicComponent","classNames","baseContext","baseConfig"],["storefrontTranslate","ERROR_PUBLICATION_COMPLETION",1,"publication-completion-error",3,"storefrontTranslateArgs"],[1,"pxp-spinner","publication-completion-loading"],[1,"publication-completion-loading"]],template:function(n,m){1&n&&t.DNE(0,Mt,4,3,"ng-container",0)(1,Ot,1,1)(2,Gt,1,1),2&n&&(t.Y8G("ngIf",m.config),t.R7$(),t.vxM(m.domHelper.leanDom?1:2))},dependencies:[u.Sq,u.bT,$.M,H.h,Y.x,j.t,W.n,K.q],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-publication-completion,.pxp-publication-completion{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center}storefront-publication-completion h3,.pxp-publication-completion h3{margin:var(--gutter);text-align:center}storefront-publication-completion .publication-completion-issues,.pxp-publication-completion .publication-completion-issues{display:flex;width:100%;justify-content:center}storefront-publication-completion .promotion-text,.pxp-publication-completion .promotion-text{text-align:center;margin:var(--gutter)}storefront-publication-completion .promotion-text span,.pxp-publication-completion .promotion-text span{font-weight:700}storefront-publication-completion .promotion-text span.saving,storefront-publication-completion .promotion-text span.former-price,storefront-publication-completion .promotion-text span.current-price,.pxp-publication-completion .promotion-text span.saving,.pxp-publication-completion .promotion-text span.former-price,.pxp-publication-completion .promotion-text span.current-price{color:var(--primaryColor)}storefront-publication-completion button,.pxp-publication-completion button{color:#fff;background-color:var(--primaryColor)}storefront-publication-completion button[disabled],.pxp-publication-completion button[disabled]{opacity:.5}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){storefront-publication-completion button,.pxp-publication-completion button{width:100%}}storefront-publication-completion storefront-spinner.publication-completion-loading,storefront-publication-completion .pxp-spinner.publication-completion-loading,.pxp-publication-completion storefront-spinner.publication-completion-loading,.pxp-publication-completion .pxp-spinner.publication-completion-loading{--spinnerColor: var(--secondaryColor);height:100px;width:100px}\n'],encapsulation:2}),l})(),Nt=(()=>{var e;class l{}return(e=l).\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.$C({type:e}),e.\u0275inj=t.G2t({imports:[u.MD,p.h,h.U,E.O,b.ButtonModule,r.pZ]}),l})();const Xt={component:Q,leanDomComponent:Bt}},3647:(N,T,i)=>{i.d(T,{R:()=>p});var u=i(4438),r=i(345);let p=(()=>{var b;class h{constructor(f){this.sanitizer=f}transform(f,x="url"){switch(x){case"html":return this.sanitizer.bypassSecurityTrustHtml(f);case"style":return this.sanitizer.bypassSecurityTrustStyle(f);case"script":return this.sanitizer.bypassSecurityTrustScript(f);case"url":return this.sanitizer.bypassSecurityTrustUrl(f);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(f);default:throw new Error("Invalid safe type specified: ".concat(x))}}}return(b=h).\u0275fac=function(f){return new(f||b)(u.rXU(r.up,16))},b.\u0275pipe=u.EJ8({name:"sanitizeUrl",type:b,pure:!0,standalone:!1}),h})()},1739:(N,T,i)=>{function u(r){return r&&!!r.code}i.d(T,{b:()=>u})}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_publication_publication_module_ts"],{3942:(Ft,C,s)=>{s.r(C),s.d(C,{PublicationModule:()=>Lt,component:()=>Nt});var l=s(177),Y=s(467),g=s(9379),t=s(4438),S=s(4404),d=s(8251),$=s(4365),k=s(2085),v=function(i){return i.LATEST="latest",i.COVER="cover",i.META="meta",i}(v||{});const E={template:v.COVER,currentIssue:{template:$.W9.COVER},currentContent:{template:k.qc.COVER},titleMessage:"PUBLICATION_TITLE",descriptionMessage:"PUBLICATION_DESCRIPTION",issuesPerYearMessage:"PUBLICATION_ISSUES_PER_YEAR",contentsPerYearMessage:"PUBLICATION_CONTENTS_PER_YEAR"};var M=s(1210),A=s(610),_=s(2932),h=s(3178),j=s(4452),L=s(7374),N=s.n(L),V=s(362),B=s.n(V),G=s(7879),F=s(8004),O=s(9516),U=s(5102),H=s(1652),Z=s(5927),T=s(7808),y=s(8490),P=s(4744),R=s(4354),I=s(1302),D=s(8909);const w=["listContent"],u=i=>[i];function z(i,o){if(1&i){const e=t.RV6();t.j41(0,"div",11,0),t.bIt("click",function(){t.eBV(e);const a=t.sdS(1),p=t.XpG(2).$implicit,c=t.XpG(3);return t.Njj(c.onClickContent(p,a))}),t.k0s()}if(2&i){const e=t.XpG(2).$implicit,n=t.XpG(3);t.Y8G("baseContext",e&&n.contentContexts[e.id])("baseConfig",n.config.currentContent)}}function Q(i,o){if(1&i){const e=t.RV6();t.j41(0,"div",12,1),t.bIt("click",function(){t.eBV(e);const a=t.sdS(1),p=t.XpG(2).$implicit,c=t.XpG(3);return t.Njj(c.onClickContent(p,a))}),t.k0s()}if(2&i){const e=t.XpG(2).$implicit,n=t.XpG(3);t.Y8G("baseContext",e&&n.contentContexts[e.id])("baseConfig",n.config.currentIssue)}}function K(i,o){if(1&i&&t.DNE(0,z,2,2,"div",9)(1,Q,2,2,"div",10),2&i){const e=t.XpG().$implicit,n=t.XpG(3);t.vxM(n.isIssue(e)?1:0)}}function J(i,o){if(1&i){const e=t.RV6();t.j41(0,"storefront-content",14,0),t.bIt("click",function(){t.eBV(e);const a=t.sdS(1),p=t.XpG(2).$implicit,c=t.XpG(3);return t.Njj(c.onClickContent(p,a))}),t.k0s()}if(2&i){const e=t.XpG(2).$implicit,n=t.XpG(3);t.Y8G("baseContext",e&&n.contentContexts[e.id])("baseConfig",n.config.currentContent)}}function W(i,o){if(1&i){const e=t.RV6();t.j41(0,"storefront-issue",14,1),t.bIt("click",function(){t.eBV(e);const a=t.sdS(1),p=t.XpG(2).$implicit,c=t.XpG(3);return t.Njj(c.onClickContent(p,a))}),t.k0s()}if(2&i){const e=t.XpG(2).$implicit,n=t.XpG(3);t.Y8G("baseContext",e&&n.contentContexts[e.id])("baseConfig",n.config.currentIssue)}}function q(i,o){if(1&i&&t.DNE(0,J,2,2,"storefront-content",13)(1,W,2,2,"storefront-issue",13),2&i){const e=t.XpG().$implicit,n=t.XpG(3);t.vxM(n.isIssue(e)?1:0)}}function tt(i,o){if(1&i&&(t.qex(0),t.DNE(1,K,2,1)(2,q,2,1),t.bVm()),2&i){const e=t.XpG(3);t.R7$(),t.vxM(e.domHelper.leanDom?1:2)}}function et(i,o){if(1&i&&(t.qex(0),t.DNE(1,tt,3,1,"ng-container",8),t.bVm()),2&i){const e=t.XpG(2);t.R7$(),t.Y8G("ngForOf",e.contents)}}function it(i,o){if(1&i&&(t.qex(0),t.nrm(1,"h3",5),t.j41(2,"div",6),t.DNE(3,et,2,1,"ng-container",7),t.k0s(),t.bVm()),2&i){const e=t.XpG();t.R7$(),t.Y8G("storefrontTranslate",e.config&&e.config.titleMessage)("storefrontTranslateArgs",t.eq3(3,u,e.publication&&e.publication.name)),t.R7$(2),t.Y8G("ngIf",e.config)}}function nt(i,o){if(1&i&&(t.j41(0,"div"),t.EFF(1),t.k0s()),2&i){const e=o.$implicit;t.ZvI("publication-property ",e.key,""),t.R7$(),t.SpI(" ",e.value," ")}}function ot(i,o){if(1&i&&(t.j41(0,"div",18),t.DNE(1,nt,2,4,"div",19),t.nI1(2,"keyvalue"),t.k0s()),2&i){const e=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,e.publication.properties))}}function at(i,o){if(1&i&&t.nrm(0,"div",20),2&i){const e=t.XpG(2);t.Y8G("storefrontTranslate",e.config&&(e.config.issuesPerYearMessage||e.config.contentsPerYearMessage))("storefrontTranslateArgs",t.eq3(2,u,e.contentsPerYear))}}function st(i,o){if(1&i&&(t.qex(0),t.nrm(1,"h3",5)(2,"div",15),t.DNE(3,ot,3,3,"div",16)(4,at,1,4,"div",17),t.bVm()),2&i){const e=t.XpG();t.R7$(),t.Y8G("storefrontTranslate",e.config&&e.config.titleMessage)("storefrontTranslateArgs",t.eq3(6,u,e.publication&&e.publication.name)),t.R7$(),t.Y8G("storefrontTranslate",e.config&&e.config.descriptionMessage)("storefrontTranslateArgs",t.eq3(8,u,e.publication&&e.publication.description)),t.R7$(),t.Y8G("ngIf",e.publication),t.R7$(),t.Y8G("ngIf",void 0!==e.contentsPerYear)}}function pt(i,o){if(1&i&&t.nrm(0,"div",21),2&i){const e=t.XpG(2);t.Y8G("src",e.publication&&e.publication.thumbnails.default)("height",e.getImageHeight())("imageResolutionStrategy",null==e.config?null:e.config.imageResolutionStrategy)}}function ct(i,o){if(1&i&&t.nrm(0,"storefront-image",22),2&i){const e=t.XpG(2);t.Y8G("src",e.publication&&e.publication.thumbnails.default)("height",e.getImageHeight())("imageResolutionStrategy",null==e.config?null:e.config.imageResolutionStrategy)}}function lt(i,o){if(1&i&&(t.j41(0,"div"),t.EFF(1),t.k0s()),2&i){const e=o.$implicit;t.ZvI("publication-property ",e.key,""),t.R7$(),t.SpI(" ",e.value," ")}}function rt(i,o){if(1&i&&(t.j41(0,"div",18),t.DNE(1,lt,2,4,"div",19),t.nI1(2,"keyvalue"),t.k0s()),2&i){const e=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,e.publication.properties))}}function ut(i,o){if(1&i&&t.nrm(0,"div",20),2&i){const e=t.XpG(2);t.Y8G("storefrontTranslate",e.config&&e.config.contentsPerYearMessage)("storefrontTranslateArgs",t.eq3(2,u,e.contentsPerYear))}}function bt(i,o){if(1&i&&(t.qex(0),t.DNE(1,pt,1,3,"div",21)(2,ct,1,3,"storefront-image",22),t.nrm(3,"h3",5)(4,"div",15),t.DNE(5,rt,3,3,"div",16)(6,ut,1,4,"div",17),t.bVm()),2&i){const e=t.XpG();t.R7$(),t.vxM(e.domHelper.leanDom?1:2),t.R7$(2),t.Y8G("storefrontTranslate",e.config&&e.config.titleMessage)("storefrontTranslateArgs",t.eq3(7,u,e.publication&&e.publication.name)),t.R7$(),t.Y8G("storefrontTranslate",e.config&&e.config.descriptionMessage)("storefrontTranslateArgs",t.eq3(9,u,e.publication&&e.publication.description)),t.R7$(),t.Y8G("ngIf",e.publication),t.R7$(),t.Y8G("ngIf",void 0!==e.contentsPerYear)}}let X=(()=>{var i;class o extends M.${constructor(n,a,p,c,x,m,r,f,Vt,Bt){super(a,n,x,m,f),this.elementRef=n,this.injector=a,this.store=p,this.eventActionService=c,this.contextService=x,this.document=m,this.purpleService=r,this.globalService=f,this.purpleEnv=Vt,this.domHelper=Bt,this.defaultConfig=(0,g.A)({},E),this.contentContexts={}}ngOnInit(){super.ngOnInit(),this.setContents()}ngOnDestroy(){super.ngOnDestroy(),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource)}onConfigChanges(){var n=this;return(0,Y.A)(function*(){n.config.dataSource?(n.dataSource=(0,j.O8)(n.injector,n.config.dataSource,n.elementRef.nativeElement,n.document),n.store.subscribe(n.dataSource.data$,a=>{n.publication=a[0],n.context.publication=n.publication,n.setContents()},h.lQ,h.lQ,"data"),yield n.dataSource.loadData()):(n.publication=n.context.publication,n.setContents()),n.changeDetectorRef.markForCheck()})()}getTrackingParams(){return(0,G.GA)(this.publication)}getId(){return this.publication?this.publication.id:this.baseContext&&this.baseContext.publication&&this.baseContext.publication.id}setContents(){if(this.contentContexts={},this.publication&&(this.publication.issues||this.publication.contents)){var n,a,p;this.contents=null!==(n=null===(a=this.publication.contents)||void 0===a?void 0:a.nodes)&&void 0!==n?n:null===(p=this.publication.issues)||void 0===p?void 0:p.nodes,this.contentContexts=this.contents.reduce((r,f)=>(r[f.id]=this.getContentBaseContext(f),r),{});const m=N()(new Date).subtract(1,"year").toDate();this.contentsPerYear=this.contents.filter(r=>r.publicationDate>m.getTime()).length}else{var c,x;const m=this.config||this.baseConfig,r=(null===(c=m.dataSource)||void 0===c?void 0:c.includeContents)||(null===(x=m.dataSource)||void 0===x?void 0:x.includeIssues);this.contents=Array(r&&("number"==typeof r?r:r.first)||3).fill({})}}getContentBaseContext(n){return(0,g.A)((0,g.A)({},this.baseContext),{},{content:n})}onClickContent(n,a){const p=this.config.tapContent||this.config.tapIssue;p&&(a.getDownloadHandler().then(c=>{this.store.dispatch((0,A.k4)({url:this.document.location.href,key:"".concat(this.getTrackingBaseKey(),"_").concat(a.getTrackingBaseKey(c),"_CLICKED"),params:a.getTrackingParams(c)}))}),this.eventActionService.processEventAction(p,a))}getImageHeight(){return this.config&&this.config.coverHeight||this.getDefaultImageHeight()}getDefaultImageHeight(){return _.q.DEFAULT}isGhost(){return!this.publication}hasContextChanged(n){return!this.config.dataSource&&!B()(n.publication,this.publication)||super.hasContextChanged(n)}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),"currentIssue"]}isIssue(n){return n&&n.contentType===S.CatalogContentType.ISSUE}}return(i=o).type="publication",i.\u0275fac=function(n){return new(n||i)(t.rXU(t.aKT),t.rXU(t.zZn),t.rXU(d.B),t.rXU(F.G),t.rXU(O.V),t.rXU(l.qQ),t.rXU(U.Wj),t.rXU(H.d),t.rXU(G.r6),t.rXU(Z.S))},i.\u0275cmp=t.VBU({type:i,selectors:[["storefront-publication"]],viewQuery:function(n,a){if(1&n&&t.GBs(w,7,t.c1b),2&n){let p;t.mGM(p=t.lsd())&&(a.listContent=p.first)}},standalone:!1,features:[t.Jv_([d.B]),t.Vt3],decls:4,vars:3,consts:[["contentComponent",""],["issueComponent",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"publication-title",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"publication-issues"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"pxp-content",3,"baseContext","baseConfig"],[1,"pxp-issue",3,"baseContext","baseConfig"],[1,"pxp-content",3,"click","baseContext","baseConfig"],[1,"pxp-issue",3,"click","baseContext","baseConfig"],[3,"baseContext","baseConfig"],[3,"click","baseContext","baseConfig"],[1,"publication-description",3,"storefrontTranslate","storefrontTranslateArgs"],["class","publication-properties",4,"ngIf"],["class","publication-issues-per-year",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"publication-properties"],[3,"class",4,"ngFor","ngForOf"],[1,"publication-issues-per-year",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"pxp-image",3,"src","height","imageResolutionStrategy"],[3,"src","height","imageResolutionStrategy"]],template:function(n,a){1&n&&(t.qex(0,2),t.DNE(1,it,4,5,"ng-container",3)(2,st,5,10,"ng-container",3)(3,bt,7,11,"ng-container",4),t.bVm()),2&n&&(t.Y8G("ngSwitch",a.template),t.R7$(),t.Y8G("ngSwitchCase","latest"),t.R7$(),t.Y8G("ngSwitchCase","meta"))},dependencies:[l.Sq,l.bT,l.ux,l.e1,l.fG,T.B,y.x,P.z,R.n,_.h,I.x,D.M,l.lG],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-publication,.pxp-publication{display:flex;flex-direction:column}storefront-publication .publication-description,.pxp-publication .publication-description{width:100%;white-space:pre-wrap}storefront-publication[template=cover],storefront-publication[data-pxp-template=cover],.pxp-publication[template=cover],.pxp-publication[data-pxp-template=cover]{border-radius:100%;overflow:hidden;transform:translateZ(1px)}storefront-publication[template=cover] .publication-title,storefront-publication[template=cover] .publication-description,storefront-publication[template=cover] .publication-properties,storefront-publication[template=cover] .publication-issues-per-year,storefront-publication[data-pxp-template=cover] .publication-title,storefront-publication[data-pxp-template=cover] .publication-description,storefront-publication[data-pxp-template=cover] .publication-properties,storefront-publication[data-pxp-template=cover] .publication-issues-per-year,.pxp-publication[template=cover] .publication-title,.pxp-publication[template=cover] .publication-description,.pxp-publication[template=cover] .publication-properties,.pxp-publication[template=cover] .publication-issues-per-year,.pxp-publication[data-pxp-template=cover] .publication-title,.pxp-publication[data-pxp-template=cover] .publication-description,.pxp-publication[data-pxp-template=cover] .publication-properties,.pxp-publication[data-pxp-template=cover] .publication-issues-per-year{display:none}storefront-publication[template=latest] .publication-title,storefront-publication[data-pxp-template=latest] .publication-title,.pxp-publication[template=latest] .publication-title,.pxp-publication[data-pxp-template=latest] .publication-title{display:block;text-align:center;order:2;opacity:0;transition:opacity .2s ease}storefront-publication[template=latest] .publication-description,storefront-publication[template=latest] .publication-properties,storefront-publication[data-pxp-template=latest] .publication-description,storefront-publication[data-pxp-template=latest] .publication-properties,.pxp-publication[template=latest] .publication-description,.pxp-publication[template=latest] .publication-properties,.pxp-publication[data-pxp-template=latest] .publication-description,.pxp-publication[data-pxp-template=latest] .publication-properties{display:none}storefront-publication[template=latest] .publication-issues,storefront-publication[data-pxp-template=latest] .publication-issues,.pxp-publication[template=latest] .publication-issues,.pxp-publication[data-pxp-template=latest] .publication-issues{display:flex;width:100%}storefront-publication[template=latest] .publication-issues storefront-content .content-image storefront-image,storefront-publication[template=latest] .publication-issues storefront-content .content-image .pxp-image,storefront-publication[template=latest] .publication-issues .pxp-content .content-image storefront-image,storefront-publication[template=latest] .publication-issues .pxp-content .content-image .pxp-image,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-image storefront-image,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-image .pxp-image,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-image storefront-image,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-image .pxp-image,.pxp-publication[template=latest] .publication-issues storefront-content .content-image storefront-image,.pxp-publication[template=latest] .publication-issues storefront-content .content-image .pxp-image,.pxp-publication[template=latest] .publication-issues .pxp-content .content-image storefront-image,.pxp-publication[template=latest] .publication-issues .pxp-content .content-image .pxp-image,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-image storefront-image,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-image .pxp-image,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-image storefront-image,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-image .pxp-image{width:100%;max-width:100%;height:auto}storefront-publication[template=latest] .publication-issues storefront-content .content-description,storefront-publication[template=latest] .publication-issues storefront-content .content-pub-date,storefront-publication[template=latest] .publication-issues storefront-content .content-categories,storefront-publication[template=latest] .publication-issues storefront-content .content-properties,storefront-publication[template=latest] .publication-issues .pxp-content .content-description,storefront-publication[template=latest] .publication-issues .pxp-content .content-pub-date,storefront-publication[template=latest] .publication-issues .pxp-content .content-categories,storefront-publication[template=latest] .publication-issues .pxp-content .content-properties,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-description,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-pub-date,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-categories,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-properties,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-description,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-pub-date,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-categories,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-properties,.pxp-publication[template=latest] .publication-issues storefront-content .content-description,.pxp-publication[template=latest] .publication-issues storefront-content .content-pub-date,.pxp-publication[template=latest] .publication-issues storefront-content .content-categories,.pxp-publication[template=latest] .publication-issues storefront-content .content-properties,.pxp-publication[template=latest] .publication-issues .pxp-content .content-description,.pxp-publication[template=latest] .publication-issues .pxp-content .content-pub-date,.pxp-publication[template=latest] .publication-issues .pxp-content .content-categories,.pxp-publication[template=latest] .publication-issues .pxp-content .content-properties,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-description,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-pub-date,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-categories,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-properties,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-description,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-pub-date,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-categories,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-properties{display:none}storefront-publication[template=latest] .publication-issues storefront-issue .issue-image storefront-image,storefront-publication[template=latest] .publication-issues storefront-issue .issue-image .pxp-image,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-image storefront-image,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-image .pxp-image,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-image storefront-image,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-image .pxp-image,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-image storefront-image,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-image .pxp-image,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-image storefront-image,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-image .pxp-image,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-image storefront-image,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-image .pxp-image,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-image storefront-image,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-image .pxp-image,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-image storefront-image,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-image .pxp-image{width:100%;max-width:100%;height:auto}storefront-publication[template=latest] .publication-issues storefront-issue .issue-description,storefront-publication[template=latest] .publication-issues storefront-issue .issue-pub-date,storefront-publication[template=latest] .publication-issues storefront-issue .issue-categories,storefront-publication[template=latest] .publication-issues storefront-issue .issue-properties,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-description,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-pub-date,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-categories,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-properties,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-description,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-pub-date,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-categories,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-properties,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-description,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-pub-date,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-categories,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-properties,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-description,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-pub-date,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-categories,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-properties,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-description,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-pub-date,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-categories,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-properties,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-description,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-pub-date,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-categories,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-properties,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-description,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-pub-date,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-categories,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-properties{display:none}storefront-publication[template=meta] .publication-title,storefront-publication[template=meta] .publication-description,storefront-publication[template=meta] .publication-properties,storefront-publication[template=meta] .publication-issues-per-year,storefront-publication[data-pxp-template=meta] .publication-title,storefront-publication[data-pxp-template=meta] .publication-description,storefront-publication[data-pxp-template=meta] .publication-properties,storefront-publication[data-pxp-template=meta] .publication-issues-per-year,.pxp-publication[template=meta] .publication-title,.pxp-publication[template=meta] .publication-description,.pxp-publication[template=meta] .publication-properties,.pxp-publication[template=meta] .publication-issues-per-year,.pxp-publication[data-pxp-template=meta] .publication-title,.pxp-publication[data-pxp-template=meta] .publication-description,.pxp-publication[data-pxp-template=meta] .publication-properties,.pxp-publication[data-pxp-template=meta] .publication-issues-per-year{display:none}storefront-publication.ghost .publication-title,.pxp-publication.ghost .publication-title{background-image:linear-gradient(90deg,var(--ghostColor) 0px,rgb(236,236,236) 40px,var(--ghostColor) 80px);background-size:80vw;animation:ghost-lines 2s infinite linear;background-color:var(--ghostColor);color:transparent!important;border-radius:4px;width:40%}storefront-publication.ghost .publication-title:before,.pxp-publication.ghost .publication-title:before{content:" ";display:inline}storefront-publication.ghost storefront-image,storefront-publication.ghost .pxp-image,.pxp-publication.ghost storefront-image,.pxp-publication.ghost .pxp-image{background-color:var(--ghostColor);animation:ghost-opacity 2s infinite linear}\n'],encapsulation:2}),o})();var mt=s(4403),ft=s(6483),xt=s(8399),gt=s(1367);const dt=["class","pxp-publication"],b=i=>[i];function _t(i,o){if(1&i){const e=t.RV6();t.j41(0,"div",11,0),t.bIt("click",function(){t.eBV(e);const a=t.sdS(1),p=t.XpG(2).$implicit,c=t.XpG(3);return t.Njj(c.onClickContent(p,a))}),t.k0s()}if(2&i){const e=t.XpG(2).$implicit,n=t.XpG(3);t.Y8G("baseContext",e&&n.contentContexts[e.id])("baseConfig",n.config.currentContent)}}function Ct(i,o){if(1&i){const e=t.RV6();t.j41(0,"div",12,1),t.bIt("click",function(){t.eBV(e);const a=t.sdS(1),p=t.XpG(2).$implicit,c=t.XpG(3);return t.Njj(c.onClickContent(p,a))}),t.k0s()}if(2&i){const e=t.XpG(2).$implicit,n=t.XpG(3);t.Y8G("baseContext",e&&n.contentContexts[e.id])("baseConfig",n.config.currentIssue)}}function vt(i,o){if(1&i&&t.DNE(0,_t,2,2,"div",9)(1,Ct,2,2,"div",10),2&i){const e=t.XpG().$implicit,n=t.XpG(3);t.vxM(n.isIssue(e)?1:0)}}function ht(i,o){if(1&i){const e=t.RV6();t.j41(0,"storefront-content",14,0),t.bIt("click",function(){t.eBV(e);const a=t.sdS(1),p=t.XpG(2).$implicit,c=t.XpG(3);return t.Njj(c.onClickContent(p,a))}),t.k0s()}if(2&i){const e=t.XpG(2).$implicit,n=t.XpG(3);t.Y8G("baseContext",e&&n.contentContexts[e.id])("baseConfig",n.config.currentContent)}}function Gt(i,o){if(1&i){const e=t.RV6();t.j41(0,"storefront-issue",14,1),t.bIt("click",function(){t.eBV(e);const a=t.sdS(1),p=t.XpG(2).$implicit,c=t.XpG(3);return t.Njj(c.onClickContent(p,a))}),t.k0s()}if(2&i){const e=t.XpG(2).$implicit,n=t.XpG(3);t.Y8G("baseContext",e&&n.contentContexts[e.id])("baseConfig",n.config.currentIssue)}}function Tt(i,o){if(1&i&&t.DNE(0,ht,2,2,"storefront-content",13)(1,Gt,2,2,"storefront-issue",13),2&i){const e=t.XpG().$implicit,n=t.XpG(3);t.vxM(n.isIssue(e)?1:0)}}function yt(i,o){if(1&i&&(t.qex(0),t.DNE(1,vt,2,1)(2,Tt,2,1),t.bVm()),2&i){const e=t.XpG(3);t.R7$(),t.vxM(e.domHelper.leanDom?1:2)}}function Pt(i,o){if(1&i&&(t.qex(0),t.DNE(1,yt,3,1,"ng-container",8),t.bVm()),2&i){const e=t.XpG(2);t.R7$(),t.Y8G("ngForOf",e.contents)}}function Rt(i,o){if(1&i&&(t.qex(0),t.nrm(1,"h3",5),t.j41(2,"div",6),t.DNE(3,Pt,2,1,"ng-container",7),t.k0s(),t.bVm()),2&i){const e=t.XpG();t.R7$(),t.Y8G("storefrontTranslate",e.config&&e.config.titleMessage)("storefrontTranslateArgs",t.eq3(3,b,e.publication&&e.publication.name)),t.R7$(2),t.Y8G("ngIf",e.config)}}function It(i,o){if(1&i&&(t.j41(0,"div"),t.EFF(1),t.k0s()),2&i){const e=o.$implicit;t.ZvI("publication-property ",e.key,""),t.R7$(),t.SpI(" ",e.value," ")}}function Dt(i,o){if(1&i&&(t.j41(0,"div",18),t.DNE(1,It,2,4,"div",19),t.nI1(2,"keyvalue"),t.k0s()),2&i){const e=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,e.publication.properties))}}function Xt(i,o){if(1&i&&t.nrm(0,"div",20),2&i){const e=t.XpG(2);t.Y8G("storefrontTranslate",e.config&&(e.config.issuesPerYearMessage||e.config.contentsPerYearMessage))("storefrontTranslateArgs",t.eq3(2,b,e.contentsPerYear))}}function Yt(i,o){if(1&i&&(t.qex(0),t.nrm(1,"h3",5)(2,"div",15),t.DNE(3,Dt,3,3,"div",16)(4,Xt,1,4,"div",17),t.bVm()),2&i){const e=t.XpG();t.R7$(),t.Y8G("storefrontTranslate",e.config&&e.config.titleMessage)("storefrontTranslateArgs",t.eq3(6,b,e.publication&&e.publication.name)),t.R7$(),t.Y8G("storefrontTranslate",e.config&&e.config.descriptionMessage)("storefrontTranslateArgs",t.eq3(8,b,e.publication&&e.publication.description)),t.R7$(),t.Y8G("ngIf",e.publication),t.R7$(),t.Y8G("ngIf",void 0!==e.contentsPerYear)}}function St(i,o){if(1&i&&t.nrm(0,"div",21),2&i){const e=t.XpG(2);t.Y8G("src",e.publication&&e.publication.thumbnails.default)("height",e.getImageHeight())("imageResolutionStrategy",null==e.config?null:e.config.imageResolutionStrategy)}}function $t(i,o){if(1&i&&t.nrm(0,"storefront-image",22),2&i){const e=t.XpG(2);t.Y8G("src",e.publication&&e.publication.thumbnails.default)("height",e.getImageHeight())("imageResolutionStrategy",null==e.config?null:e.config.imageResolutionStrategy)}}function kt(i,o){if(1&i&&(t.j41(0,"div"),t.EFF(1),t.k0s()),2&i){const e=o.$implicit;t.ZvI("publication-property ",e.key,""),t.R7$(),t.SpI(" ",e.value," ")}}function Et(i,o){if(1&i&&(t.j41(0,"div",18),t.DNE(1,kt,2,4,"div",19),t.nI1(2,"keyvalue"),t.k0s()),2&i){const e=t.XpG(2);t.R7$(),t.Y8G("ngForOf",t.bMT(2,1,e.publication.properties))}}function Mt(i,o){if(1&i&&t.nrm(0,"div",20),2&i){const e=t.XpG(2);t.Y8G("storefrontTranslate",e.config&&e.config.contentsPerYearMessage)("storefrontTranslateArgs",t.eq3(2,b,e.contentsPerYear))}}function At(i,o){if(1&i&&(t.qex(0),t.DNE(1,St,1,3,"div",21)(2,$t,1,3,"storefront-image",22),t.nrm(3,"h3",5)(4,"div",15),t.DNE(5,Et,3,3,"div",16)(6,Mt,1,4,"div",17),t.bVm()),2&i){const e=t.XpG();t.R7$(),t.vxM(e.domHelper.leanDom?1:2),t.R7$(2),t.Y8G("storefrontTranslate",e.config&&e.config.titleMessage)("storefrontTranslateArgs",t.eq3(7,b,e.publication&&e.publication.name)),t.R7$(),t.Y8G("storefrontTranslate",e.config&&e.config.descriptionMessage)("storefrontTranslateArgs",t.eq3(9,b,e.publication&&e.publication.description)),t.R7$(),t.Y8G("ngIf",e.publication),t.R7$(),t.Y8G("ngIf",void 0!==e.contentsPerYear)}}let jt=(()=>{var i;class o extends X{}return(i=o).\u0275fac=(()=>{let e;return function(a){return(e||(e=t.xGo(i)))(a||i)}})(),i.\u0275cmp=t.VBU({type:i,selectors:[["div",8,"pxp-publication"]],standalone:!1,features:[t.Jv_([d.B]),t.Vt3],attrs:dt,decls:4,vars:3,consts:[["contentComponent",""],["issueComponent",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"publication-title",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"publication-issues"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"pxp-content",3,"baseContext","baseConfig"],[1,"pxp-issue",3,"baseContext","baseConfig"],[1,"pxp-content",3,"click","baseContext","baseConfig"],[1,"pxp-issue",3,"click","baseContext","baseConfig"],[3,"baseContext","baseConfig"],[3,"click","baseContext","baseConfig"],[1,"publication-description",3,"storefrontTranslate","storefrontTranslateArgs"],["class","publication-properties",4,"ngIf"],["class","publication-issues-per-year",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"publication-properties"],[3,"class",4,"ngFor","ngForOf"],[1,"publication-issues-per-year",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"pxp-image",3,"src","height","imageResolutionStrategy"],[3,"src","height","imageResolutionStrategy"]],template:function(n,a){1&n&&(t.qex(0,2),t.DNE(1,Rt,4,5,"ng-container",3)(2,Yt,5,10,"ng-container",3)(3,At,7,11,"ng-container",4),t.bVm()),2&n&&(t.Y8G("ngSwitch",a.template),t.R7$(),t.Y8G("ngSwitchCase","latest"),t.R7$(),t.Y8G("ngSwitchCase","meta"))},dependencies:[l.Sq,l.bT,l.ux,l.e1,l.fG,T.B,y.x,P.z,R.n,_.h,I.x,D.M,l.lG],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-publication,.pxp-publication{display:flex;flex-direction:column}storefront-publication .publication-description,.pxp-publication .publication-description{width:100%;white-space:pre-wrap}storefront-publication[template=cover],storefront-publication[data-pxp-template=cover],.pxp-publication[template=cover],.pxp-publication[data-pxp-template=cover]{border-radius:100%;overflow:hidden;transform:translateZ(1px)}storefront-publication[template=cover] .publication-title,storefront-publication[template=cover] .publication-description,storefront-publication[template=cover] .publication-properties,storefront-publication[template=cover] .publication-issues-per-year,storefront-publication[data-pxp-template=cover] .publication-title,storefront-publication[data-pxp-template=cover] .publication-description,storefront-publication[data-pxp-template=cover] .publication-properties,storefront-publication[data-pxp-template=cover] .publication-issues-per-year,.pxp-publication[template=cover] .publication-title,.pxp-publication[template=cover] .publication-description,.pxp-publication[template=cover] .publication-properties,.pxp-publication[template=cover] .publication-issues-per-year,.pxp-publication[data-pxp-template=cover] .publication-title,.pxp-publication[data-pxp-template=cover] .publication-description,.pxp-publication[data-pxp-template=cover] .publication-properties,.pxp-publication[data-pxp-template=cover] .publication-issues-per-year{display:none}storefront-publication[template=latest] .publication-title,storefront-publication[data-pxp-template=latest] .publication-title,.pxp-publication[template=latest] .publication-title,.pxp-publication[data-pxp-template=latest] .publication-title{display:block;text-align:center;order:2;opacity:0;transition:opacity .2s ease}storefront-publication[template=latest] .publication-description,storefront-publication[template=latest] .publication-properties,storefront-publication[data-pxp-template=latest] .publication-description,storefront-publication[data-pxp-template=latest] .publication-properties,.pxp-publication[template=latest] .publication-description,.pxp-publication[template=latest] .publication-properties,.pxp-publication[data-pxp-template=latest] .publication-description,.pxp-publication[data-pxp-template=latest] .publication-properties{display:none}storefront-publication[template=latest] .publication-issues,storefront-publication[data-pxp-template=latest] .publication-issues,.pxp-publication[template=latest] .publication-issues,.pxp-publication[data-pxp-template=latest] .publication-issues{display:flex;width:100%}storefront-publication[template=latest] .publication-issues storefront-content .content-image storefront-image,storefront-publication[template=latest] .publication-issues storefront-content .content-image .pxp-image,storefront-publication[template=latest] .publication-issues .pxp-content .content-image storefront-image,storefront-publication[template=latest] .publication-issues .pxp-content .content-image .pxp-image,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-image storefront-image,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-image .pxp-image,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-image storefront-image,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-image .pxp-image,.pxp-publication[template=latest] .publication-issues storefront-content .content-image storefront-image,.pxp-publication[template=latest] .publication-issues storefront-content .content-image .pxp-image,.pxp-publication[template=latest] .publication-issues .pxp-content .content-image storefront-image,.pxp-publication[template=latest] .publication-issues .pxp-content .content-image .pxp-image,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-image storefront-image,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-image .pxp-image,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-image storefront-image,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-image .pxp-image{width:100%;max-width:100%;height:auto}storefront-publication[template=latest] .publication-issues storefront-content .content-description,storefront-publication[template=latest] .publication-issues storefront-content .content-pub-date,storefront-publication[template=latest] .publication-issues storefront-content .content-categories,storefront-publication[template=latest] .publication-issues storefront-content .content-properties,storefront-publication[template=latest] .publication-issues .pxp-content .content-description,storefront-publication[template=latest] .publication-issues .pxp-content .content-pub-date,storefront-publication[template=latest] .publication-issues .pxp-content .content-categories,storefront-publication[template=latest] .publication-issues .pxp-content .content-properties,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-description,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-pub-date,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-categories,storefront-publication[data-pxp-template=latest] .publication-issues storefront-content .content-properties,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-description,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-pub-date,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-categories,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-properties,.pxp-publication[template=latest] .publication-issues storefront-content .content-description,.pxp-publication[template=latest] .publication-issues storefront-content .content-pub-date,.pxp-publication[template=latest] .publication-issues storefront-content .content-categories,.pxp-publication[template=latest] .publication-issues storefront-content .content-properties,.pxp-publication[template=latest] .publication-issues .pxp-content .content-description,.pxp-publication[template=latest] .publication-issues .pxp-content .content-pub-date,.pxp-publication[template=latest] .publication-issues .pxp-content .content-categories,.pxp-publication[template=latest] .publication-issues .pxp-content .content-properties,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-description,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-pub-date,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-categories,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-content .content-properties,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-description,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-pub-date,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-categories,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-content .content-properties{display:none}storefront-publication[template=latest] .publication-issues storefront-issue .issue-image storefront-image,storefront-publication[template=latest] .publication-issues storefront-issue .issue-image .pxp-image,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-image storefront-image,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-image .pxp-image,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-image storefront-image,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-image .pxp-image,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-image storefront-image,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-image .pxp-image,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-image storefront-image,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-image .pxp-image,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-image storefront-image,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-image .pxp-image,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-image storefront-image,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-image .pxp-image,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-image storefront-image,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-image .pxp-image{width:100%;max-width:100%;height:auto}storefront-publication[template=latest] .publication-issues storefront-issue .issue-description,storefront-publication[template=latest] .publication-issues storefront-issue .issue-pub-date,storefront-publication[template=latest] .publication-issues storefront-issue .issue-categories,storefront-publication[template=latest] .publication-issues storefront-issue .issue-properties,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-description,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-pub-date,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-categories,storefront-publication[template=latest] .publication-issues .pxp-issue .issue-properties,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-description,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-pub-date,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-categories,storefront-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-properties,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-description,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-pub-date,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-categories,storefront-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-properties,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-description,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-pub-date,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-categories,.pxp-publication[template=latest] .publication-issues storefront-issue .issue-properties,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-description,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-pub-date,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-categories,.pxp-publication[template=latest] .publication-issues .pxp-issue .issue-properties,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-description,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-pub-date,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-categories,.pxp-publication[data-pxp-template=latest] .publication-issues storefront-issue .issue-properties,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-description,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-pub-date,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-categories,.pxp-publication[data-pxp-template=latest] .publication-issues .pxp-issue .issue-properties{display:none}storefront-publication[template=meta] .publication-title,storefront-publication[template=meta] .publication-description,storefront-publication[template=meta] .publication-properties,storefront-publication[template=meta] .publication-issues-per-year,storefront-publication[data-pxp-template=meta] .publication-title,storefront-publication[data-pxp-template=meta] .publication-description,storefront-publication[data-pxp-template=meta] .publication-properties,storefront-publication[data-pxp-template=meta] .publication-issues-per-year,.pxp-publication[template=meta] .publication-title,.pxp-publication[template=meta] .publication-description,.pxp-publication[template=meta] .publication-properties,.pxp-publication[template=meta] .publication-issues-per-year,.pxp-publication[data-pxp-template=meta] .publication-title,.pxp-publication[data-pxp-template=meta] .publication-description,.pxp-publication[data-pxp-template=meta] .publication-properties,.pxp-publication[data-pxp-template=meta] .publication-issues-per-year{display:none}storefront-publication.ghost .publication-title,.pxp-publication.ghost .publication-title{background-image:linear-gradient(90deg,var(--ghostColor) 0px,rgb(236,236,236) 40px,var(--ghostColor) 80px);background-size:80vw;animation:ghost-lines 2s infinite linear;background-color:var(--ghostColor);color:transparent!important;border-radius:4px;width:40%}storefront-publication.ghost .publication-title:before,.pxp-publication.ghost .publication-title:before{content:" ";display:inline}storefront-publication.ghost storefront-image,storefront-publication.ghost .pxp-image,.pxp-publication.ghost storefront-image,.pxp-publication.ghost .pxp-image{background-color:var(--ghostColor);animation:ghost-opacity 2s infinite linear}\n'],encapsulation:2}),o})(),Lt=(()=>{var i;class o{}return(i=o).\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=t.G2t({imports:[l.MD,xt.ContentModule,gt.IssueModule,mt.U,ft.h]}),o})();const Nt={component:X,leanDomComponent:jt}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_recommendations_recommendations_module_ts"],{6284:(B,h,s)=>{s.r(h),s.d(h,{RecommendationsModule:()=>$,component:()=>X});var u=s(177),f=s(467),v=s(9379),A=s(1210);const R={limit:5,weights:{source_target:50,recency:10,topicHierarchy:2,retentionTime:5},origin:"https://acm-dev.cloud.sprylabprojects.com/core",resourceBaseUrl:"https://acm-stage.sprylab.com/static/"};var C=s(4404),y=s(8179),T=s(7879),o=s(4438),U=s(9516),D=s(4748),S=s(8004),x=s(1652);let E=(()=>{var n;class i extends A.${constructor(e,t,c,l,m,p,d,a){super(t,e,c,l,a),this.elementRef=e,this.injector=t,this.contextService=c,this.document=l,this.purpleEnv=m,this.ssrService=p,this.eventActionService=d,this.globalService=a,this.defaultConfig=(0,v.A)({},R)}loadResources(){var e=this;return(0,f.A)(function*(){const t="".concat(e.config.resourceBaseUrl,"/acm.js"),c="".concat(e.config.resourceBaseUrl,"/setup/config.js"),l="".concat(e.config.resourceBaseUrl,"/acm.css");let m=document.querySelector('link[href="'.concat(l,'"]'));m||(m=document.createElement("link"),m.setAttribute("rel","stylesheet"),m.setAttribute("href",l),document.head.appendChild(m));const p=[];let d=document.querySelector('script[src="'.concat(t,'"]'));d||(d=document.createElement("script"),d.setAttribute("src",t),document.head.appendChild(d),p.push(new Promise(g=>d.addEventListener("load",g))));let a=document.querySelector('script[src="'.concat(c,'"]'));return a||(a=document.createElement("script"),a.setAttribute("src",c),document.head.appendChild(a),p.push(new Promise(g=>a.addEventListener("load",g)))),Promise.all(p)})()}onConfigChanges(){var e=this;return(0,f.A)(function*(){if((0,u.Vy)(e.platformId))return;yield e.loadResources();const t=e.contextService.getMetadata(),c=t[C.METADATA_KEY.ENTITLEMENT_LOGIN]||t[C.METADATA_KEY.DEVICE_ID];(0,u.UE)(e.platformId)&&e.purpleEnv.isUniversal&&(yield e.ssrService.prebootCompletedPromise),window.acm.recommend({acmConfig:{apiToken:e.config.apiToken}},{reader_id:c,item_id:e.config.item_id,limit:e.config.limit,weights:e.config.weights})})()}getEntryContext(e){return(0,v.A)((0,v.A)({},this.context),{},{acm_article:e})}onArticleClick(e){var t=this;return(0,f.A)(function*(){if(t.config.tapEntry){const c=(0,y.uQ)(t.config.tapEntry,t.getEntryContext(e),t.contextService.$functions,t.globalService.getGlobalData());yield t.eventActionService.processEventAction((0,y.v3)(c),t)}})()}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),"tapEntry"]}}return(n=i).type="recommendations",n.\u0275fac=function(e){return new(e||n)(o.rXU(o.aKT),o.rXU(o.zZn),o.rXU(U.V),o.rXU(u.qQ),o.rXU(T.r6),o.rXU(D.i),o.rXU(S.G),o.rXU(x.d))},n.\u0275cmp=o.VBU({type:n,selectors:[["storefront-recommendations"]],standalone:!1,features:[o.Vt3],decls:1,vars:0,consts:[["id","acm-content-recommendations"]],template:function(e,t){1&e&&o.nrm(0,"div",0)},encapsulation:2}),i})();const L=["class","recommendations"];let M=(()=>{var n;class i extends E{}return(n=i).\u0275fac=(()=>{let r;return function(t){return(r||(r=o.xGo(n)))(t||n)}})(),n.\u0275cmp=o.VBU({type:n,selectors:[["div",8,"recommendations"]],standalone:!1,features:[o.Vt3],attrs:L,decls:1,vars:0,consts:[["id","acm-content-recommendations"]],template:function(e,t){1&e&&o.nrm(0,"div",0)},encapsulation:2}),i})(),$=(()=>{var n;class i{}return(n=i).\u0275fac=function(e){return new(e||n)},n.\u0275mod=o.$C({type:n}),n.\u0275inj=o.G2t({imports:[u.MD]}),i})();const X={component:E,leanDomComponent:M}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_search-field_search-field_module_ts"],{8792:(U,f,c)=>{c.r(f),c.d(f,{SearchFieldModule:()=>A,component:()=>X});var h=c(177),C=c(467),u=c(9379),e=c(4438),d=c(8251),F=c(610),j=c(3178),y=c(1210);const T={param:"phrase"};var p=c(8075),k=c(9745),g=c(3331),B=c(9516),E=c(8004),V=c(1652),D=c(345),m=c(8448);const R=["input"];function x(o,l){if(1&o){const r=e.RV6();e.j41(0,"div",9),e.bIt("click",function(){const n=e.eBV(r).$implicit,i=e.XpG(2);return e.Njj(i.onClickSuggestion(n))})("mousedown",function(n){e.eBV(r);const i=e.XpG(2);return e.Njj(i.onSuggestionMousedown(n))}),e.EFF(1),e.k0s()}if(2&o){const r=l.$implicit;e.R7$(),e.JRh(r)}}function I(o,l){if(1&o&&(e.j41(0,"div",7),e.DNE(1,x,2,1,"div",8),e.k0s()),2&o){const r=e.XpG();e.R7$(),e.Y8G("ngForOf",r.getSuggestions())}}let v=(()=>{var o;class l extends y.${constructor(t,n,i,a,s,b,M,_,S,O){super(n,i,b,_,S),this.router=t,this.injector=n,this.elementRef=i,this.route=a,this.store=s,this.contextService=b,this.eventActionService=M,this.document=_,this.globalService=S,this.sanitizer=O,this.defaultConfig=(0,u.A)({},T),this.searched=!1,this.phrase="",this.suggestions=null}ngOnInit(){super.ngOnInit();let t=!1;this.store.subscribe(this.route.queryParams,n=>{if(!t&&n&&this.config&&this.config.param&&n[this.config.param]){const i=n[this.config.param];let a=this.sanitizer.sanitize(e.WPN.HTML,i)||"";a=this.decodeImportantChars(a),a!==i&&(t=!0,this.router.navigate([],{relativeTo:this.route,queryParams:(0,u.A)((0,u.A)({},n),{},{[this.config.param]:a}),queryParamsHandling:"merge"}).then(()=>{t=!1})),this.input.nativeElement.value=this.phrase=a,this.searched=this.input.nativeElement.value.trim().length>0}})}decodeImportantChars(t){return t.replace(/ä/g,"\xe4").replace(/ö/g,"\xf6").replace(/ü/g,"\xfc").replace(/ß/g,"\xdf").replace(/Ä/g,"\xc4").replace(/Ö/g,"\xd6").replace(/Ü/g,"\xdc").replace(/"/g,'"').replace(/&/g,"&").replace(/“/g,"\u201c").replace(/”/g,"\u201d").replace(/£/g,"\xa3").replace(/§/g,"\xa7").replace(/€/g,"\u20ac")}onConfigChanges(){var t=this;return(0,C.A)(function*(){if(t.config.param&&t.context[t.config.param]&&(t.phrase=t.context[t.config.param],t.input.nativeElement.value=t.phrase,t.searched=t.input.nativeElement.value.trim().length>0),t.config.suggestions)try{t.suggestions=yield(0,j.hI)(t.config.suggestions.url)}catch(n){console.warn("Error fetching search suggestions")}t.changeDetectorRef.markForCheck()})()}onClickReset(t){this.phrase="",this.input.nativeElement.value=this.phrase,this.input.nativeElement.blur(),this.searched=!1,this.config.param&&(0,p.CV)(this.router,{[this.config.param]:null})}onSearch(){if(this.config.param&&this.input.nativeElement.value.trim().length>0){this.phrase=this.input.nativeElement.value,this.searched=!0;const t=(0,u.A)((0,u.A)({},this.config.params),{},{[this.config.param]:this.phrase});this.config.publicationType&&(t.publicationType=this.config.publicationType),this.store.dispatch((0,F.k4)({url:window.location.href,key:"SEARCH_PERFORMED",params:{phrase:this.phrase}})),this.config.path?this.eventActionService.processNavigateAction({type:k.H.NAVIGATE,path:this.config.path,params:t},this):(0,p.CV)(this.router,t)}}focus(t){return t&&t.preventDefault(),this.searched=this.input.nativeElement.value.trim().length>0,this.input.nativeElement.focus(),this.elementRef.nativeElement.classList.add("focus"),!1}focusOrSearch(t){t&&t.preventDefault();const n=this.input.nativeElement.value.trim();n.length>0&&n!==this.phrase?this.onSearch():this.focus()}onInput(t){this.searched=this.input.nativeElement.value.length>0}onBlur(t){setTimeout(()=>{this.input.nativeElement.value=this.phrase,this.searched=this.phrase.length>0;try{this.changeDetectorRef.detectChanges()}catch(n){console.warn("Error in change detection of Blur event",n)}},100),this.elementRef.nativeElement.classList.remove("focus"),this.searched=!1}onFocus(t){this.elementRef.nativeElement.classList.add("focus")}onKeyUp(t){13===(t.keyCode||t.which)?(this.input.nativeElement.blur(),this.onSearch()):8===(t.keyCode||t.which)&&(this.searched=this.input.nativeElement.value.length>0)}getSuggestions(){const t=this.input.nativeElement.value;return this.suggestions&&this.suggestions.filter(n=>0===n.toLowerCase().indexOf(t.toLowerCase()))}onClickSuggestion(t){this.input.nativeElement.value=t,this.phrase=t,this.onInput(),this.focus()}onSuggestionMousedown(t){return t.preventDefault(),!1}getId(){return null}}return(o=l).type="search-field",o.\u0275fac=function(t){return new(t||o)(e.rXU(g.Ix),e.rXU(e.zZn),e.rXU(e.aKT),e.rXU(g.nX),e.rXU(d.B),e.rXU(B.V),e.rXU(E.G),e.rXU(h.qQ),e.rXU(V.d),e.rXU(D.up))},o.\u0275cmp=e.VBU({type:o,selectors:[["storefront-search-field"]],viewQuery:function(t,n){if(1&t&&e.GBs(R,7),2&t){let i;e.mGM(i=e.lsd())&&(n.input=i.first)}},hostVars:2,hostBindings:function(t,n){2&t&&e.AVh("searched",n.searched)},standalone:!1,features:[e.Jv_([d.B]),e.Vt3],decls:9,vars:6,consts:[["input",""],[1,"search-field-container"],["type","search",3,"click","input","focus","blur","keyup","placeholder"],["class","search-field-suggestions",4,"ngIf"],[1,"search-field-buttons"],[1,"icon","icon-search","search-btn",3,"mousedown","touchstart"],[1,"icon","icon-delete","reset-btn",3,"mousedown","touchstart"],[1,"search-field-suggestions"],["class","search-field-suggestion",3,"click","mousedown",4,"ngFor","ngForOf"],[1,"search-field-suggestion",3,"click","mousedown"]],template:function(t,n){if(1&t){const i=e.RV6();e.j41(0,"div",1)(1,"input",2,0),e.nI1(3,"storefrontTranslate"),e.nI1(4,"async"),e.bIt("click",function(s){return e.eBV(i),e.Njj(n.focus(s))})("input",function(s){return e.eBV(i),e.Njj(n.onInput(s))})("focus",function(s){return e.eBV(i),e.Njj(n.onFocus(s))})("blur",function(s){return e.eBV(i),e.Njj(n.onBlur(s))})("keyup",function(s){return e.eBV(i),e.Njj(n.onKeyUp(s))}),e.k0s(),e.DNE(5,I,2,1,"div",3),e.j41(6,"div",4)(7,"button",5),e.bIt("mousedown",function(s){return e.eBV(i),e.Njj(n.focusOrSearch(s))})("touchstart",function(s){return e.eBV(i),e.Njj(n.focusOrSearch(s))}),e.k0s(),e.j41(8,"button",6),e.bIt("mousedown",function(s){return e.eBV(i),e.Njj(n.onClickReset(s))})("touchstart",function(s){return e.eBV(i),e.Njj(n.onClickReset(s))}),e.k0s()()()}2&t&&(e.R7$(),e.Y8G("placeholder",e.bMT(4,4,e.bMT(3,2,"SEARCH_FIELD_PLACEHOLDER"))),e.R7$(4),e.Y8G("ngIf",n.getSuggestions()))},dependencies:[h.Sq,h.bT,h.Jj,m.D],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-search-field,.pxp-search-field{display:block;position:relative;box-sizing:border-box;font-size:var(--searchFieldFontSize)}storefront-search-field *,.pxp-search-field *{font-size:inherit}storefront-search-field .search-field-container,.pxp-search-field .search-field-container{position:relative}storefront-search-field .search-field-container input,.pxp-search-field .search-field-container input{width:100%;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons,.pxp-search-field .search-field-container .search-field-buttons{position:absolute;top:0;right:0;display:flex;align-items:center;height:100%;z-index:1}storefront-search-field .search-field-container .search-field-buttons button,.pxp-search-field .search-field-container .search-field-buttons button{cursor:pointer;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons button.search-btn,.pxp-search-field .search-field-container .search-field-buttons button.search-btn{display:block}storefront-search-field .search-field-container .search-field-buttons button.reset-btn,.pxp-search-field .search-field-container .search-field-buttons button.reset-btn{display:none;font-size:10px}storefront-search-field .search-field-container .search-field-suggestions,.pxp-search-field .search-field-container .search-field-suggestions{display:none;position:absolute;width:100%}storefront-search-field .search-field-container .search-field-suggestions .search-field-suggestion,.pxp-search-field .search-field-container .search-field-suggestions .search-field-suggestion{padding:var(--gutter)}storefront-search-field.searched .search-field-buttons button.search-btn,.pxp-search-field.searched .search-field-buttons button.search-btn{display:none}storefront-search-field.searched .search-field-buttons button.reset-btn,.pxp-search-field.searched .search-field-buttons button.reset-btn{display:block}storefront-search-field.focus .search-field-suggestions,.pxp-search-field.focus .search-field-suggestions{display:block}\n'],encapsulation:2}),l})();var L=c(6483);const N=["class","pxp-search-field"];function w(o,l){if(1&o){const r=e.RV6();e.j41(0,"div",9),e.bIt("click",function(){const n=e.eBV(r).$implicit,i=e.XpG(2);return e.Njj(i.onClickSuggestion(n))})("mousedown",function(n){e.eBV(r);const i=e.XpG(2);return e.Njj(i.onSuggestionMousedown(n))}),e.EFF(1),e.k0s()}if(2&o){const r=l.$implicit;e.R7$(),e.JRh(r)}}function G(o,l){if(1&o&&(e.j41(0,"div",7),e.DNE(1,w,2,1,"div",8),e.k0s()),2&o){const r=e.XpG();e.R7$(),e.Y8G("ngForOf",r.getSuggestions())}}let z=(()=>{var o;class l extends v{}return(o=l).\u0275fac=(()=>{let r;return function(n){return(r||(r=e.xGo(o)))(n||o)}})(),o.\u0275cmp=e.VBU({type:o,selectors:[["div",8,"pxp-search-field"]],standalone:!1,features:[e.Jv_([d.B]),e.Vt3],attrs:N,decls:9,vars:6,consts:[["input",""],[1,"search-field-container"],["type","search",3,"click","input","focus","blur","keyup","placeholder"],["class","search-field-suggestions",4,"ngIf"],[1,"search-field-buttons"],[1,"icon","icon-search","search-btn",3,"mousedown","touchstart"],[1,"icon","icon-delete","reset-btn",3,"mousedown","touchstart"],[1,"search-field-suggestions"],["class","search-field-suggestion",3,"click","mousedown",4,"ngFor","ngForOf"],[1,"search-field-suggestion",3,"click","mousedown"]],template:function(t,n){if(1&t){const i=e.RV6();e.j41(0,"div",1)(1,"input",2,0),e.nI1(3,"storefrontTranslate"),e.nI1(4,"async"),e.bIt("click",function(s){return e.eBV(i),e.Njj(n.focus(s))})("input",function(s){return e.eBV(i),e.Njj(n.onInput(s))})("focus",function(s){return e.eBV(i),e.Njj(n.onFocus(s))})("blur",function(s){return e.eBV(i),e.Njj(n.onBlur(s))})("keyup",function(s){return e.eBV(i),e.Njj(n.onKeyUp(s))}),e.k0s(),e.DNE(5,G,2,1,"div",3),e.j41(6,"div",4)(7,"button",5),e.bIt("mousedown",function(s){return e.eBV(i),e.Njj(n.focusOrSearch(s))})("touchstart",function(s){return e.eBV(i),e.Njj(n.focusOrSearch(s))}),e.k0s(),e.j41(8,"button",6),e.bIt("mousedown",function(s){return e.eBV(i),e.Njj(n.onClickReset(s))})("touchstart",function(s){return e.eBV(i),e.Njj(n.onClickReset(s))}),e.k0s()()()}2&t&&(e.R7$(),e.Y8G("placeholder",e.bMT(4,4,e.bMT(3,2,"SEARCH_FIELD_PLACEHOLDER"))),e.R7$(4),e.Y8G("ngIf",n.getSuggestions()))},dependencies:[h.Sq,h.bT,h.Jj,m.D],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-search-field,.pxp-search-field{display:block;position:relative;box-sizing:border-box;font-size:var(--searchFieldFontSize)}storefront-search-field *,.pxp-search-field *{font-size:inherit}storefront-search-field .search-field-container,.pxp-search-field .search-field-container{position:relative}storefront-search-field .search-field-container input,.pxp-search-field .search-field-container input{width:100%;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons,.pxp-search-field .search-field-container .search-field-buttons{position:absolute;top:0;right:0;display:flex;align-items:center;height:100%;z-index:1}storefront-search-field .search-field-container .search-field-buttons button,.pxp-search-field .search-field-container .search-field-buttons button{cursor:pointer;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons button.search-btn,.pxp-search-field .search-field-container .search-field-buttons button.search-btn{display:block}storefront-search-field .search-field-container .search-field-buttons button.reset-btn,.pxp-search-field .search-field-container .search-field-buttons button.reset-btn{display:none;font-size:10px}storefront-search-field .search-field-container .search-field-suggestions,.pxp-search-field .search-field-container .search-field-suggestions{display:none;position:absolute;width:100%}storefront-search-field .search-field-container .search-field-suggestions .search-field-suggestion,.pxp-search-field .search-field-container .search-field-suggestions .search-field-suggestion{padding:var(--gutter)}storefront-search-field.searched .search-field-buttons button.search-btn,.pxp-search-field.searched .search-field-buttons button.search-btn{display:none}storefront-search-field.searched .search-field-buttons button.reset-btn,.pxp-search-field.searched .search-field-buttons button.reset-btn{display:block}storefront-search-field.focus .search-field-suggestions,.pxp-search-field.focus .search-field-suggestions{display:block}\n'],encapsulation:2}),l})(),A=(()=>{var o;class l{}return(o=l).\u0275fac=function(t){return new(t||o)},o.\u0275mod=e.$C({type:o}),o.\u0275inj=e.G2t({imports:[h.MD,L.h]}),l})();const X={component:v,leanDomComponent:z}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_subscription_subscription_module_ts"],{2932:(V,I,o)=>{o.d(I,{h:()=>v,q:()=>G});var m=o(177),a=o(4438),c=o(8251),h=o(8890),_=o(9516),T=o(9876),g=o(5102),C=o(3307),L=o(5927),x=o(3647);const y=["image"],u=(d,U,l)=>({imgRef:d,imageResolutionStrategy:U,focalPoint:l});function S(d,U){if(1&d){const l=a.RV6();a.j41(0,"img",2,0),a.nI1(2,"sanitizeUrl"),a.bIt("error",function(){a.eBV(l);const r=a.XpG();return a.Njj(r.onError())}),a.k0s()}if(2&d){const l=a.XpG();a.Y8G("priority",l.lcpPrioritized()||l.inViewPort())("ngSrc",a.i5U(2,6,l.src,"resourceUrl"))("alt",l.alt)("title",l.title)("loaderParams",a.sMw(9,u,l.elementRef.nativeElement,l.imageResolutionStrategy,l.focalPoint)),a.BMQ("aria-label",l.ariaLabel)}}let v=(()=>{var d;class U{get regularSrc(){return this.domHelper.regularSelector(this.src)}get prefixedPostType(){return this.domHelper.prefixedSelector(this.src)}get regularLabel(){return this.domHelper.regularSelector(this.label)}get prefixedLabel(){return this.domHelper.prefixedSelector(this.label)}get regularResolutionStrategy(){return this.domHelper.regularSelector(this.imageResolutionStrategy)}get prefixedResolutionStrategy(){return this.domHelper.prefixedSelector(this.imageResolutionStrategy)}set image(t){t&&this.onLoad(t),this._image=t}get image(){return this._image}get regularAlt(){return this.domHelper.regularSelector(this.alt)}get prefixedAlt(){return this.domHelper.prefixedSelector(this.alt)}get regularTitle(){return this.domHelper.regularSelector(this.title)}get prefixedTitle(){return this.domHelper.prefixedSelector(this.title)}get regularAriaLabel(){return this.domHelper.regularSelector(this.ariaLabel)}get prefixedAriaLabel(){return this.domHelper.prefixedSelector(this.ariaLabel)}get regularFocalPoint(){return this.domHelper.regularSelector(this.focalPoint)}get prefixedFocalPoint(){return this.domHelper.prefixedSelector(this.focalPoint)}get regularHeightStrategy(){return this.domHelper.regularSelector(this.height)}get prefixedHeightStrategy(){return this.domHelper.prefixedSelector(this.height)}constructor(t,r,f,P,M,O,B,X){this.changeDetectorRef=t,this.elementRef=r,this.subscriptions=f,this.platformId=P,this.contextService=M,this.purpleService=O,this.imagePreloaderService=B,this.domHelper=X,this.inViewPort=(0,a.vPA)(!1),this.lcpPrioritized=(0,a.hFB)(!1),this.error=new a.bkB,this.height=G.AUTO,(0,m.UE)(this.platformId)&&this.subscriptions.subscribe((0,h.eh)(this,this.elementRef),Y=>this.load())}get empty(){return!this.src}ngOnInit(){var t;(0,m.UE)(this.platformId)&&(this.imagePreloaderService.getAboveFoldImg()===(null===(t=this.src)||void 0===t?void 0:t.split("?")[0])&&this.inViewPort.set(!0));this.initProperties()}initProperties(){var t,r,f,P;this.alt=(null===(t=this.extendedThumbnail)||void 0===t?void 0:t.properties.alt)||(null===(r=this.extendedThumbnail)||void 0===r?void 0:r.properties.caption)||"",this.title=this.alt,this.ariaLabel=null!==(f=this.label)&&void 0!==f?f:this.alt,this.focalPoint=null===(P=this.extendedThumbnail)||void 0===P?void 0:P.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.src&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(t){t.src&&this.loaded&&this.update()}update(){this.updateImageRatio()}onLoad(t){t.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),t.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,t),this.changeDetectorRef.markForCheck()}),t.nativeElement.addEventListener("error",function(){t.nativeElement.style.display="none",t.nativeElement.nextElementSibling&&(t.nativeElement.nextElementSibling.style.display="inline")}),this.purpleService.addImageSrc(this.resizeSrc)}onError(){if(!this.src)return;const t=this.purpleService.getAlternativeSrc(this.resizeSrc);var r;t&&t!==this.resizeSrc?(this.setResizeSrc(t),this.changeDetectorRef.detectChanges()):(null===(r=this.image)||void 0===r||r.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(t=!1,r=this.image){this.imageRatio=this.height===G.AUTO?(0,T.z)(!t,null==r?void 0:r.nativeElement,this.src)+"%":void 0}setResizeSrc(t){const r=this.contextService.toResourceUrl(t);this.resizeSrc=this.src=r}}return(d=U).\u0275fac=function(t){return new(t||d)(a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(c.v),a.rXU(a.Agw),a.rXU(_.V),a.rXU(g.Wj),a.rXU(C.d),a.rXU(L.S))},d.\u0275cmp=a.VBU({type:d,selectors:[["storefront-image"]],viewQuery:function(t,r){if(1&t&&a.GBs(y,5),2&t){let f;a.mGM(f=a.lsd())&&(r.image=f.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:20,hostBindings:function(t,r){2&t&&(a.BMQ("src",r.regularSrc)("data-pxp-src",r.prefixedPostType)("label",r.regularLabel)("data-pxp-label",r.prefixedLabel)("resolution-strategy",r.regularResolutionStrategy)("data-pxp-resolution-strategy",r.prefixedResolutionStrategy)("alt",r.regularAlt)("data-pxp-alt",r.prefixedAlt)("title",r.regularTitle)("data-pxp-title",r.prefixedTitle)("aria-label",r.regularAriaLabel)("data-pxp-aria-label",r.prefixedAriaLabel)("focal-point",r.regularFocalPoint)("data-pxp-focal-point",r.prefixedFocalPoint)("height-strategy",r.regularHeightStrategy)("data-pxp-height-strategy",r.prefixedHeightStrategy),a.xc7("padding-top",r.imageRatio),a.AVh("empty",r.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",lcpPrioritized:[1,"lcpPrioritized"],height:"height"},outputs:{error:"error"},standalone:!1,features:[a.Jv_([c.v,{provide:m.WM,useFactory:(l,t)=>r=>{var f;const P=null==r||null===(f=r.loaderParams)||void 0===f?void 0:f.imgRef;if(P.offsetWidth){var M,O;const B=null==r||null===(M=r.loaderParams)||void 0===M?void 0:M.imageResolutionStrategy,X=(null==r||null===(O=r.loaderParams)||void 0===O?void 0:O.focalPoint)||"",Y=t.toResourceUrl((0,T.G)(P,r.src,B,X));return l.resizeSrc=Y,Y}return""},deps:[d,_.V]}]),a.OA$],decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(t,r){1&t&&a.DNE(0,S,3,13,"img",1),2&t&&a.vxM(r.src&&r.loaded?0:-1)},dependencies:[m.kt,x.R],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),U})();var G=function(d){return d.AUTO="AUTO",d.FIXED="FIXED",d.DEFAULT="DEFAULT",d}(G||{})},1302:(V,I,o)=>{o.d(I,{x:()=>L});var m=o(8251),a=o(2932),c=o(4438),h=o(177),_=o(3647);const T=["class","pxp-image"],g=(x,y,u)=>({imgRef:x,imageResolutionStrategy:y,focalPoint:u});function C(x,y){if(1&x){const u=c.RV6();c.j41(0,"img",2,0),c.nI1(2,"sanitizeUrl"),c.bIt("error",function(){c.eBV(u);const v=c.XpG();return c.Njj(v.onError())}),c.k0s()}if(2&x){const u=c.XpG();c.Y8G("priority",u.lcpPrioritized()||u.inViewPort())("ngSrc",c.i5U(2,6,u.src,"resourceUrl"))("alt",u.alt)("title",u.title)("loaderParams",c.sMw(9,g,u.elementRef.nativeElement,u.imageResolutionStrategy,u.focalPoint)),c.BMQ("aria-label",u.ariaLabel)}}let L=(()=>{var x;class y extends a.h{}return(x=y).\u0275fac=(()=>{let u;return function(v){return(u||(u=c.xGo(x)))(v||x)}})(),x.\u0275cmp=c.VBU({type:x,selectors:[["div",8,"pxp-image"]],hostAttrs:["ngSkipHydration","true"],standalone:!1,features:[c.Jv_([m.v]),c.Vt3],attrs:T,decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(S,v){1&S&&c.DNE(0,C,3,13,"img",1),2&S&&c.vxM(v.src&&v.loaded?0:-1)},dependencies:[h.kt,_.R],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),y})()},4403:(V,I,o)=>{o.d(I,{U:()=>h});var m=o(177),a=o(4871),c=o(4438);let h=(()=>{var _;class T{}return(_=T).\u0275fac=function(C){return new(C||_)},_.\u0275mod=c.$C({type:_}),_.\u0275inj=c.G2t({imports:[m.MD,a.E]}),T})()},189:(V,I,o)=>{o.r(I),o.d(I,{SubscriptionModule:()=>Ei,component:()=>Ri});var m=o(177),a=o(467),c=o(9379),h=o(4404),_=o(8251),T=o(1210),g=function(i){return i.DEFAULT="default",i.ISSUES="issues",i.DETAILS="details",i}(g||{});const C={template:g.DEFAULT,maxDisplayIssues:3,purchase:{showErrorDialog:!0},titleMessage:"SUBSCRIPTION_TITLE",purchaseButtonMessage:"SUBSCRIPTION_ACTION_PURCHASE",purchaseUnavailableButtonMessage:"SUBSCRIPTION_ACTION_PURCHASE_UNAVAILABLE",promotionMessage:"SUBSCRIPTION_ISSUES_PROMOTION",promotionAdditionalMessage:"SUBSCRIPTION_ISSUES_ADDITIONAL_PROMOTION",priceMessage:"SUBSCRIPTION_PRICE",finalPriceMessage:"SUBSCRIPTION_PRICE_FINAL",introductoryPriceMessage:"SUBSCRIPTION_PRICE_INTRODUCTORY",trialPriceMessage:"SUBSCRIPTION_PRICE_TRIAL",discountPriceMessage:"SUBSCRIPTION_PRICE_DISCOUNT",descriptionMessage:"SUBSCRIPTION_DESCRIPTION"};var L=o(3178),x=o(4622),y=o(4004),u=o(4333),S=o(7967),v=o(8179),G=o(7879),d=o(4452),U=o(362),l=o.n(U),t=o(4438),r=o(8004),f=o(9516),P=o(5102),M=o(1652),O=o(5927),B=o(8909),X=o(7240),Y=o(6962),Q=o(2932),J=o(1302),w=o(2868);const z=i=>[i],st=()=>[];function ot(i,s){1&i&&t.nrm(0,"div",8),2&i&&t.Y8G("src",s.$implicit.thumbnails.default)}function rt(i,s){if(1&i&&t.DNE(0,ot,1,1,"div",10),2&i){const n=t.XpG(5);t.Y8G("ngForOf",n.displayedIssues)}}function at(i,s){1&i&&t.nrm(0,"storefront-image",9),2&i&&t.Y8G("src",s.$implicit.thumbnails.default)}function pt(i,s){if(1&i&&t.DNE(0,at,1,1,"storefront-image",11),2&i){const n=t.XpG(5);t.Y8G("ngForOf",n.displayedIssues)}}function ct(i,s){if(1&i&&(t.j41(0,"div",7),t.DNE(1,rt,1,1,"div",8)(2,pt,1,1,"storefront-image",9),t.k0s()),2&i){const n=t.XpG(4);t.R7$(),t.vxM(n.domHelper.leanDom?1:2)}}function ut(i,s){if(1&i&&t.nrm(0,"p",12),2&i){const n=t.XpG(4);t.Y8G("storefrontTranslate",n.issuesPromotionMessage)("storefrontTranslateArgs",n.issuesPromotionArgs)}}function lt(i,s){1&i&&t.nrm(0,"div",13)}function gt(i,s){if(1&i&&t.DNE(0,lt,1,0,"div",13),2&i){const n=t.XpG(4);t.vxM(n.purchaseLoading?0:-1)}}function mt(i,s){1&i&&t.nrm(0,"storefront-spinner",14)}function _t(i,s){if(1&i&&t.DNE(0,mt,1,0,"storefront-spinner",14),2&i){const n=t.XpG(4);t.vxM(n.purchaseLoading?0:-1)}}function dt(i,s){if(1&i&&t.nrm(0,"span",2),2&i){const n=t.XpG(4);t.Y8G("storefrontTranslate",n.config.purchaseButtonMessage)("storefrontTranslateArgs",t.eq3(2,z,n.subscription.price.formattedPrice))}}function ft(i,s){if(1&i&&t.nrm(0,"span",15),2&i){const n=t.XpG(4);t.Y8G("storefrontTranslate",n.config.purchaseUnavailableButtonMessage)}}function bt(i,s){if(1&i){const n=t.RV6();t.qex(0),t.DNE(1,ct,3,1,"div",1),t.nrm(2,"h3",2),t.DNE(3,ut,1,2,"p",3),t.j41(4,"button",4),t.bIt("click",function(){t.eBV(n);const p=t.XpG(3);return t.Njj(p.onClickPurchase())}),t.DNE(5,gt,1,1)(6,_t,1,1)(7,dt,1,4,"span",5)(8,ft,1,1,"span",6),t.k0s(),t.bVm()}if(2&i){const n=t.XpG(3);t.R7$(),t.Y8G("ngIf",n.displayedIssues),t.R7$(),t.Y8G("storefrontTranslate",n.config.titleMessage)("storefrontTranslateArgs",t.eq3(8,z,n.subscription.name)),t.R7$(),t.Y8G("ngIf",n.issuesPromotionMessage),t.R7$(),t.Y8G("disabled",!n.subscription.price||n.purchaseLoading),t.R7$(),t.vxM(n.domHelper.leanDom?5:6),t.R7$(2),t.Y8G("ngIf",n.subscription.price),t.R7$(),t.Y8G("ngIf",!n.subscription.price)}}function xt(i,s){1&i&&t.nrm(0,"div",16)}function ht(i,s){if(1&i&&t.DNE(0,xt,1,0,"div",16),2&i){const n=t.XpG(3);t.vxM(!n.config||n.priceLoading?0:-1)}}function vt(i,s){1&i&&t.nrm(0,"storefront-spinner",17)}function Tt(i,s){if(1&i&&t.DNE(0,vt,1,0,"storefront-spinner",17),2&i){const n=t.XpG(3);t.vxM(!n.config||n.priceLoading?0:-1)}}function Ct(i,s){if(1&i&&(t.qex(0),t.DNE(1,bt,9,10,"ng-container",0)(2,ht,1,1)(3,Tt,1,1),t.bVm()),2&i){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.config&&!n.priceLoading),t.R7$(),t.vxM(n.domHelper.leanDom?2:3)}}function St(i,s){1&i&&t.nrm(0,"div",24)}function Dt(i,s){if(1&i&&(t.qex(0),t.nrm(1,"div",26)(2,"div",27),t.bVm()),2&i){const n=t.XpG(4);t.R7$(),t.Y8G("storefrontTranslate",n.config.trialPriceMessage)("storefrontTranslateArgs",n.trialPriceArgs),t.R7$(),t.Y8G("storefrontTranslate",n.config.finalPriceMessage)("storefrontTranslateArgs",n.finalPriceArgs)}}function It(i,s){if(1&i&&(t.qex(0),t.nrm(1,"div",28)(2,"div",27),t.bVm()),2&i){const n=t.XpG(4);t.R7$(),t.Y8G("storefrontTranslate",n.config.introductoryPriceMessage)("storefrontTranslateArgs",n.introductoryPriceArgs),t.R7$(),t.Y8G("storefrontTranslate",n.config.finalPriceMessage)("storefrontTranslateArgs",n.finalPriceArgs)}}function Pt(i,s){if(1&i&&(t.qex(0),t.nrm(1,"div",29)(2,"div",27),t.bVm()),2&i){const n=t.XpG(4);t.R7$(),t.Y8G("storefrontTranslate",n.config.discountPriceMessage)("storefrontTranslateArgs",n.discountPriceArgs),t.R7$(),t.Y8G("storefrontTranslate",n.config.finalPriceMessage)("storefrontTranslateArgs",n.finalPriceArgs)}}function At(i,s){if(1&i&&(t.qex(0),t.nrm(1,"div",30),t.bVm()),2&i){const n=t.XpG(4);t.R7$(),t.Y8G("storefrontTranslate",n.config.priceMessage)("storefrontTranslateArgs",n.finalPriceArgs)}}function yt(i,s){if(1&i&&(t.j41(0,"div",25),t.DNE(1,Dt,3,4,"ng-container",0)(2,It,3,4,"ng-container",0)(3,Pt,3,4,"ng-container",0)(4,At,2,2,"ng-container",0),t.k0s()),2&i){const n=t.XpG(3);t.R7$(),t.Y8G("ngIf",n.subscription.trial),t.R7$(),t.Y8G("ngIf",!n.subscription.trial&&n.subscription.introductoryPrice),t.R7$(),t.Y8G("ngIf",!n.subscription.trial&&!n.subscription.introductoryPrice&&n.subscription.discount),t.R7$(),t.Y8G("ngIf",!n.subscription.trial&&!n.subscription.introductoryPrice&&!n.subscription.discount)}}function Et(i,s){if(1&i&&t.nrm(0,"div",31),2&i){const n=t.XpG(3);t.Y8G("storefrontTranslate",n.config.descriptionMessage)("storefrontTranslateArgs",t.eq3(2,z,n.subscription.description))}}function Rt(i,s){if(1&i&&t.nrm(0,"div",2),2&i){const n=s.$implicit;t.ZvI("issue-custom-message ",n.class||"",""),t.Y8G("storefrontTranslate",n.message)("storefrontTranslateArgs",n.variables||t.lJ4(5,st))}}function Lt(i,s){1&i&&t.nrm(0,"div",13)}function Gt(i,s){if(1&i&&t.DNE(0,Lt,1,0,"div",13),2&i){const n=t.XpG(3);t.vxM(!n.config||n.priceLoading?0:-1)}}function Ut(i,s){1&i&&t.nrm(0,"storefront-spinner",14)}function Mt(i,s){if(1&i&&t.DNE(0,Ut,1,0,"storefront-spinner",14),2&i){const n=t.XpG(3);t.vxM(!n.config||n.priceLoading?0:-1)}}function Ot(i,s){1&i&&t.nrm(0,"span",15),2&i&&t.Y8G("storefrontTranslate","SUBSCRIPTION_ACTION_PURCHASE_UNAVAILABLE")}function Nt(i,s){if(1&i&&(t.qex(0),t.j41(1,"div",18),t.nrm(2,"h3",19),t.DNE(3,St,1,0,"div",20),t.k0s(),t.DNE(4,yt,5,4,"div",21)(5,Et,1,4,"div",22)(6,Rt,1,6,"div",23)(7,Gt,1,1)(8,Mt,1,1)(9,Ot,1,1,"span",6),t.bVm()),2&i){const n=t.XpG(2);t.R7$(2),t.Y8G("storefrontTranslate",n.config.titleMessage)("storefrontTranslateArgs",t.eq3(8,z,n.subscription.name)),t.R7$(),t.Y8G("ngIf",n.active),t.R7$(),t.Y8G("ngIf",n.subscription.price),t.R7$(),t.Y8G("ngIf","details"===n.template&&!!n.subscription.description),t.R7$(),t.Y8G("ngForOf",n.customMessages),t.R7$(),t.vxM(n.domHelper.leanDom?7:8),t.R7$(2),t.Y8G("ngIf",!n.subscription.price&&!n.priceLoading)}}function Bt(i,s){if(1&i&&(t.qex(0),t.DNE(1,Ct,4,2,"ng-container",0)(2,Nt,10,10,"ng-container",0),t.bVm()),2&i){const n=t.XpG();t.R7$(),t.Y8G("ngIf","issues"===n.template),t.R7$(),t.Y8G("ngIf","details"===n.template||"default"===n.template||!n.template)}}function Xt(i,s){}function Yt(i,s){if(1&i&&(t.qex(0),t.DNE(1,Xt,0,0,"ng-template",32),t.bVm()),2&i){const n=t.XpG();t.R7$(),t.Y8G("classNames","subscription-fallback")("baseContext",n.baseContext)("baseConfig",n.fallback)}}let Z=(()=>{var i;class s extends T.${get active(){return this.subscription&&this.subscription.purchased}get isDisabled(){if(!this.subscription||!this.subscription.price)return!0}get contextKey(){return s.type}constructor(e,p,b,D,$,F,E,H,N,j){super(p,D,$,F,H),this.store=e,this.injector=p,this.eventActionService=b,this.elementRef=D,this.contextService=$,this.document=F,this.purpleService=E,this.globalService=H,this.purpleEnv=N,this.domHelper=j,this.defaultConfig=(0,c.A)({},C),this.priceLoading=!1,this.issuesPromotionArgs=[],this.introductoryPriceArgs=[],this.trialPriceArgs=[],this.finalPriceArgs=[],this.discountPriceArgs=[]}ngOnDestroy(){this.dataSource&&this.contextService.unregisterDataSource(this.dataSource)}onConfigChanges(){var e=this;return(0,a.A)(function*(){var p;e.purchaseConfig=(0,c.A)((0,c.A)({},C.purchase),e.config.purchase),e.purchaseConfig.upgradeMode=(0,v.v3)(e.purchaseConfig.upgradeMode),e.subscription?e.subscription=e.context.subscription:e.config.dataSource?(e.dataSource=(0,d.O8)(e.injector,e.config.dataSource,e.elementRef.nativeElement,e.document),e.store.subscribe(e.dataSource.data$,b=>{e.subscription=b[0],(0===b.length||b.some(D=>null!==D)&&!e.subscription)&&e.showFallback(),e.onLoadSubscription()},L.lQ,L.lQ,"data"),yield e.dataSource.loadData()):e.subscription=e.baseContext.subscription,e.onLoadSubscription(),e.customMessages=null===(p=e.config.customMessages)||void 0===p?void 0:p.filter(b=>(0,v.Ol)(b)).map(b=>(0,v.v3)(b)),e.changeDetectorRef.markForCheck()})()}onLoadSubscription(){var e=this;return(0,a.A)(function*(){e.subscription&&(e.context.subscription=e.subscription,yield e.loadPrice())})()}loadPrice(){var e=this;return(0,a.A)(function*(){if(e.template===g.ISSUES){const p=Object.keys(e.subscription.publications).map(A=>({publication:{id:{value:A}}})),b=e.config.issueFilter?{AND:[e.config.issueFilter,{OR:p}]}:{OR:p},D=(yield e.purpleService.getIssues({issueFilter:b})).nodes[0],$=new Date(D.publicationDate),F=(0,u.vY)(e.subscription.duration,$),E=(yield e.purpleService.getIssues({issueFilter:e.getDateFilter(F,b,D)})).nodes;e.displayedIssues=[...E,D].slice(0,e.config.maxDisplayIssues);let H=E.length+1,N=E.map(A=>A.productId);N.push(D.productId);const j=new Set(N);let W=[...E,D],q=e.config.promotionMessage;if(e.subscription.additionalUnlocks.count>0){const A=(0,u.BH)(e.subscription.additionalUnlocks,$),R=A===F?[...E]:(yield e.purpleService.getIssues({issueFilter:e.getDateFilter(A,b,D)})).nodes;W=[...W,...R],A!==F&&R.forEach(K=>K&&j.add(K.productId)),H+=R.length,q=e.config.promotionAdditionalMessage}N=Array.from(j),e.priceLoading=!0,e.store.select((0,x.TX)(N),A=>{if(!A.includes(void 0)){const R=e.subscription.price,K=W.reduce((it,Li)=>{const nt=A.find(et=>et&&et.productId===Li.productId);return nt?it+nt.price:it},0),tt=new Intl.NumberFormat((0,L.JK)(),{style:"currency",currency:null==R?void 0:R.currency});e.issuesPromotionArgs=['<span class="issue-count">'.concat(H,"</span>"),'<span class="future-issue-count">'.concat(E.length+1,"</span>"),'<span class="former-price">'.concat(tt.format(K),"</span>"),'<span class="current-price">'.concat(tt.format(R.price),"</span>")],e.issuesPromotionMessage=q,e.priceLoading=!1}}),e.store.dispatch((0,y.$W)({productIds:N}))}e.formatPrice()})()}formatPrice(){const e=(0,u.fs)(this.subscription.duration);if(this.finalPriceArgs=[this.subscription.price.formattedPrice,e.count,(0,S.t)(e.unit,e.count)],this.subscription.trial){const p=(0,u.ch)(this.subscription.trial);this.trialPriceArgs=[p.count,(0,S.t)(p.unit,p.count)]}if(this.subscription.introductoryPrice){const p=(0,u.ch)(this.subscription.introductoryPrice.pricePeriod);this.introductoryPriceArgs=[this.subscription.introductoryPrice.priceCycles,p.count,(0,S.t)(p.unit,p.count),this.subscription.introductoryPrice.formattedPrice]}if(this.subscription.discount){const p=(0,u.ch)(this.subscription.discount.pricePeriod);this.discountPriceArgs=[this.subscription.discount.priceCycles,p.count,(0,S.t)(p.unit,p.count),this.subscription.discount.formattedPrice]}}onClick(){this.template!==g.ISSUES&&this.purchase()}onClickPurchase(){this.purchase()}purchase(){var e=this;return(0,a.A)(function*(){var p;e.active||e.purchaseLoading||e.isDisabled||(e.purchaseLoading=!0,e.changeDetectorRef.detectChanges(),yield e.eventActionService.processSubscribeAction((0,c.A)((0,c.A)({},e.purchaseConfig),{},{productId:e.subscription.productId,price:e.subscription.price.price,currency:e.subscription.price.currency,offerId:(null===(p=e.subscription.discount)||void 0===p?void 0:p.offerId)||void 0}),e),e.purchaseLoading=!1,e.changeDetectorRef.detectChanges())})()}getDateFilter(e,p,b){return{AND:[{publicationDate:{value:e,operation:h.DateOperation.GREATER_THAN}},p,{id:{value:b.id,negated:!0}}]}}getTrackingParams(){return(0,G.z5)(this.subscription,this.subscription.price)}isGhost(){return!this.subscription&&!this.fallback}showFallback(){this.fallback=this.config.fallback}getContextKey(){return this.contextKey}hasContextChanged(e){return!l()(e[this.getContextKey()],this.subscription)||super.hasContextChanged(e)}}return(i=s).type="subscription",i.\u0275fac=function(e){return new(e||i)(t.rXU(_.B),t.rXU(t.zZn),t.rXU(r.G),t.rXU(t.aKT),t.rXU(f.V),t.rXU(m.qQ),t.rXU(P.Wj),t.rXU(M.d),t.rXU(G.r6),t.rXU(O.S))},i.\u0275cmp=t.VBU({type:i,selectors:[["storefront-subscription"]],hostVars:3,hostBindings:function(e,p){1&e&&t.bIt("click",function(){return p.onClick()}),2&e&&(t.BMQ("disabled",p.isDisabled),t.AVh("active",p.active))},standalone:!1,features:[t.Jv_([_.B]),t.Vt3],decls:2,vars:2,consts:[[4,"ngIf"],["class","subscription-issues stacked",4,"ngIf"],[3,"storefrontTranslate","storefrontTranslateArgs"],["class","subscription-issues-promotion",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"action-button",3,"click","disabled"],[3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[3,"storefrontTranslate",4,"ngIf"],[1,"subscription-issues","stacked"],["height","DEFAULT",1,"pxp-image",3,"src"],["height","DEFAULT",3,"src"],["class","pxp-image","height","DEFAULT",3,"src",4,"ngFor","ngForOf"],["height","DEFAULT",3,"src",4,"ngFor","ngForOf"],[1,"subscription-issues-promotion",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"pxp-spinner","button-spinner"],[1,"button-spinner"],[3,"storefrontTranslate"],[1,"pxp-spinner","subscription-loading"],[1,"subscription-loading"],[1,"subscription-info"],[1,"subscription-title",3,"storefrontTranslate","storefrontTranslateArgs"],["class","subscription-purchased","storefrontTranslate","SUBSCRIPTION_PURCHASED",4,"ngIf"],["class","subscription-price",4,"ngIf"],["class","subscription-description",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[3,"class","storefrontTranslate","storefrontTranslateArgs",4,"ngFor","ngForOf"],["storefrontTranslate","SUBSCRIPTION_PURCHASED",1,"subscription-purchased"],[1,"subscription-price"],[1,"subscription-price-trial",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"subscription-price-final",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"subscription-price-introductory",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"subscription-price-discount",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"subscription-price-regular",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"subscription-description",3,"storefrontTranslate","storefrontTranslateArgs"],[3,"pxpDynamicComponent","classNames","baseContext","baseConfig"]],template:function(e,p){1&e&&t.DNE(0,Bt,3,2,"ng-container",0)(1,Yt,2,3,"ng-container",0),2&e&&(t.Y8G("ngIf",p.subscription),t.R7$(),t.Y8G("ngIf",!p.subscription&&p.fallback))},dependencies:[m.Sq,m.bT,B.M,X.t,Y.n,Q.h,J.x,w.q],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-subscription,.pxp-subscription{position:relative;display:flex;border-radius:var(--borderRadius);overflow:hidden;border:2px solid var(--primaryColor);background-color:var(--primaryColor);color:#fff;align-items:center;padding:var(--subscriptionPaddingVert) var(--subscriptionPaddingHoriz)}storefront-subscription .subscription-info,.pxp-subscription .subscription-info{position:relative;flex-grow:1;display:flex;align-items:center}storefront-subscription .subscription-info .subscription-purchased,.pxp-subscription .subscription-info .subscription-purchased{background-color:var(--primaryColor);color:#fff;line-height:1;border-radius:var(--subscriptionPurchasedBorderRadius);margin-left:var(--subscriptionPurchasedMarginHoriz)}storefront-subscription .subscription-price,.pxp-subscription .subscription-price{position:relative}storefront-subscription storefront-spinner,storefront-subscription .pxp-spinner,.pxp-subscription storefront-spinner,.pxp-subscription .pxp-spinner{width:20px;margin:0 8px}storefront-subscription.active,.pxp-subscription.active{background-color:#fff;color:#000}storefront-subscription.ghost,.pxp-subscription.ghost{background-image:linear-gradient(90deg,var(--ghostColor) 0px,rgb(236,236,236) 40px,var(--ghostColor) 80px);background-size:80vw;animation:ghost-lines 2s infinite linear;border-color:transparent}storefront-subscription[template=issues],storefront-subscription[data-pxp-template=issues],.pxp-subscription[template=issues],.pxp-subscription[data-pxp-template=issues]{background-color:transparent;border:none;flex-direction:column;color:var(--textColor)}storefront-subscription[template=issues] h3,storefront-subscription[data-pxp-template=issues] h3,.pxp-subscription[template=issues] h3,.pxp-subscription[data-pxp-template=issues] h3{margin:var(--gutter);text-align:center}storefront-subscription[template=issues] .subscription-issues,storefront-subscription[data-pxp-template=issues] .subscription-issues,.pxp-subscription[template=issues] .subscription-issues,.pxp-subscription[data-pxp-template=issues] .subscription-issues{display:flex;justify-content:center;width:100%}storefront-subscription[template=issues] .subscription-issues storefront-image,storefront-subscription[template=issues] .subscription-issues .pxp-image,storefront-subscription[data-pxp-template=issues] .subscription-issues storefront-image,storefront-subscription[data-pxp-template=issues] .subscription-issues .pxp-image,.pxp-subscription[template=issues] .subscription-issues storefront-image,.pxp-subscription[template=issues] .subscription-issues .pxp-image,.pxp-subscription[data-pxp-template=issues] .subscription-issues storefront-image,.pxp-subscription[data-pxp-template=issues] .subscription-issues .pxp-image{margin:calc(var(--gutter) / 2)}storefront-subscription[template=issues] .subscription-issues storefront-image img,storefront-subscription[template=issues] .subscription-issues .pxp-image img,storefront-subscription[data-pxp-template=issues] .subscription-issues storefront-image img,storefront-subscription[data-pxp-template=issues] .subscription-issues .pxp-image img,.pxp-subscription[template=issues] .subscription-issues storefront-image img,.pxp-subscription[template=issues] .subscription-issues .pxp-image img,.pxp-subscription[data-pxp-template=issues] .subscription-issues storefront-image img,.pxp-subscription[data-pxp-template=issues] .subscription-issues .pxp-image img{width:100%}storefront-subscription[template=issues] .subscription-issues-promotion,storefront-subscription[data-pxp-template=issues] .subscription-issues-promotion,.pxp-subscription[template=issues] .subscription-issues-promotion,.pxp-subscription[data-pxp-template=issues] .subscription-issues-promotion{text-align:center;margin:var(--gutter)}storefront-subscription[template=issues] .subscription-issues-promotion span,storefront-subscription[data-pxp-template=issues] .subscription-issues-promotion span,.pxp-subscription[template=issues] .subscription-issues-promotion span,.pxp-subscription[data-pxp-template=issues] .subscription-issues-promotion span{font-weight:700}storefront-subscription[template=issues] .subscription-issues-promotion span.former-price,storefront-subscription[template=issues] .subscription-issues-promotion span.current-price,storefront-subscription[data-pxp-template=issues] .subscription-issues-promotion span.former-price,storefront-subscription[data-pxp-template=issues] .subscription-issues-promotion span.current-price,.pxp-subscription[template=issues] .subscription-issues-promotion span.former-price,.pxp-subscription[template=issues] .subscription-issues-promotion span.current-price,.pxp-subscription[data-pxp-template=issues] .subscription-issues-promotion span.former-price,.pxp-subscription[data-pxp-template=issues] .subscription-issues-promotion span.current-price{color:var(--primaryColor)}storefront-subscription[template=issues] button,storefront-subscription[data-pxp-template=issues] button,.pxp-subscription[template=issues] button,.pxp-subscription[data-pxp-template=issues] button{color:#fff;background-color:var(--primaryColor)}storefront-subscription[template=issues] button[disabled],storefront-subscription[data-pxp-template=issues] button[disabled],.pxp-subscription[template=issues] button[disabled],.pxp-subscription[data-pxp-template=issues] button[disabled]{opacity:.5}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){storefront-subscription[template=issues] button,storefront-subscription[data-pxp-template=issues] button,.pxp-subscription[template=issues] button,.pxp-subscription[data-pxp-template=issues] button{width:100%}}storefront-subscription[template=issues] storefront-spinner.subscription-loading,storefront-subscription[template=issues] .pxp-spinner.subscription-loading,storefront-subscription[data-pxp-template=issues] storefront-spinner.subscription-loading,storefront-subscription[data-pxp-template=issues] .pxp-spinner.subscription-loading,.pxp-subscription[template=issues] storefront-spinner.subscription-loading,.pxp-subscription[template=issues] .pxp-spinner.subscription-loading,.pxp-subscription[data-pxp-template=issues] storefront-spinner.subscription-loading,.pxp-subscription[data-pxp-template=issues] .pxp-spinner.subscription-loading{--spinnerColor: var(--secondaryColor);height:100px;width:100px}\n'],encapsulation:2}),s})();var Ft=o(6483),$t=o(6215),Ht=o(1605),Vt=o(4403),zt=o(3);const kt=["class","subscription"],k=i=>[i],jt=()=>[];function Kt(i,s){1&i&&t.nrm(0,"div",8),2&i&&t.Y8G("src",s.$implicit.thumbnails.default)}function Wt(i,s){if(1&i&&t.DNE(0,Kt,1,1,"div",10),2&i){const n=t.XpG(5);t.Y8G("ngForOf",n.displayedIssues)}}function Qt(i,s){1&i&&t.nrm(0,"storefront-image",9),2&i&&t.Y8G("src",s.$implicit.thumbnails.default)}function Jt(i,s){if(1&i&&t.DNE(0,Qt,1,1,"storefront-image",11),2&i){const n=t.XpG(5);t.Y8G("ngForOf",n.displayedIssues)}}function wt(i,s){if(1&i&&(t.j41(0,"div",7),t.DNE(1,Wt,1,1,"div",8)(2,Jt,1,1,"storefront-image",9),t.k0s()),2&i){const n=t.XpG(4);t.R7$(),t.vxM(n.domHelper.leanDom?1:2)}}function Zt(i,s){if(1&i&&t.nrm(0,"p",12),2&i){const n=t.XpG(4);t.Y8G("storefrontTranslate",n.issuesPromotionMessage)("storefrontTranslateArgs",n.issuesPromotionArgs)}}function qt(i,s){1&i&&t.nrm(0,"div",13)}function ti(i,s){if(1&i&&t.DNE(0,qt,1,0,"div",13),2&i){const n=t.XpG(4);t.vxM(n.purchaseLoading?0:-1)}}function ii(i,s){1&i&&t.nrm(0,"storefront-spinner",14)}function ni(i,s){if(1&i&&t.DNE(0,ii,1,0,"storefront-spinner",14),2&i){const n=t.XpG(4);t.vxM(n.purchaseLoading?0:-1)}}function ei(i,s){if(1&i&&t.nrm(0,"span",2),2&i){const n=t.XpG(4);t.Y8G("storefrontTranslate",n.config.purchaseButtonMessage)("storefrontTranslateArgs",t.eq3(2,k,n.subscription.price.formattedPrice))}}function si(i,s){if(1&i&&t.nrm(0,"span",15),2&i){const n=t.XpG(4);t.Y8G("storefrontTranslate",n.config.purchaseUnavailableButtonMessage)}}function oi(i,s){if(1&i){const n=t.RV6();t.qex(0),t.DNE(1,wt,3,1,"div",1),t.nrm(2,"h3",2),t.DNE(3,Zt,1,2,"p",3),t.j41(4,"button",4),t.bIt("click",function(){t.eBV(n);const p=t.XpG(3);return t.Njj(p.onClickPurchase())}),t.DNE(5,ti,1,1)(6,ni,1,1)(7,ei,1,4,"span",5)(8,si,1,1,"span",6),t.k0s(),t.bVm()}if(2&i){const n=t.XpG(3);t.R7$(),t.Y8G("ngIf",n.displayedIssues),t.R7$(),t.Y8G("storefrontTranslate",n.config.titleMessage)("storefrontTranslateArgs",t.eq3(8,k,n.subscription.name)),t.R7$(),t.Y8G("ngIf",n.issuesPromotionMessage),t.R7$(),t.Y8G("disabled",!n.subscription.price||n.purchaseLoading),t.R7$(),t.vxM(n.domHelper.leanDom?5:6),t.R7$(2),t.Y8G("ngIf",n.subscription.price),t.R7$(),t.Y8G("ngIf",!n.subscription.price)}}function ri(i,s){1&i&&t.nrm(0,"div",16)}function ai(i,s){if(1&i&&t.DNE(0,ri,1,0,"div",16),2&i){const n=t.XpG(3);t.vxM(!n.config||n.priceLoading?0:-1)}}function pi(i,s){1&i&&t.nrm(0,"storefront-spinner",17)}function ci(i,s){if(1&i&&t.DNE(0,pi,1,0,"storefront-spinner",17),2&i){const n=t.XpG(3);t.vxM(!n.config||n.priceLoading?0:-1)}}function ui(i,s){if(1&i&&(t.qex(0),t.DNE(1,oi,9,10,"ng-container",0)(2,ai,1,1)(3,ci,1,1),t.bVm()),2&i){const n=t.XpG(2);t.R7$(),t.Y8G("ngIf",n.config&&!n.priceLoading),t.R7$(),t.vxM(n.domHelper.leanDom?2:3)}}function li(i,s){1&i&&t.nrm(0,"div",24)}function gi(i,s){if(1&i&&(t.qex(0),t.nrm(1,"div",26)(2,"div",27),t.bVm()),2&i){const n=t.XpG(4);t.R7$(),t.Y8G("storefrontTranslate",n.config.trialPriceMessage)("storefrontTranslateArgs",n.trialPriceArgs),t.R7$(),t.Y8G("storefrontTranslate",n.config.finalPriceMessage)("storefrontTranslateArgs",n.finalPriceArgs)}}function mi(i,s){if(1&i&&(t.qex(0),t.nrm(1,"div",28)(2,"div",27),t.bVm()),2&i){const n=t.XpG(4);t.R7$(),t.Y8G("storefrontTranslate",n.config.introductoryPriceMessage)("storefrontTranslateArgs",n.introductoryPriceArgs),t.R7$(),t.Y8G("storefrontTranslate",n.config.finalPriceMessage)("storefrontTranslateArgs",n.finalPriceArgs)}}function _i(i,s){if(1&i&&(t.qex(0),t.nrm(1,"div",29)(2,"div",27),t.bVm()),2&i){const n=t.XpG(4);t.R7$(),t.Y8G("storefrontTranslate",n.config.discountPriceMessage)("storefrontTranslateArgs",n.discountPriceArgs),t.R7$(),t.Y8G("storefrontTranslate",n.config.finalPriceMessage)("storefrontTranslateArgs",n.finalPriceArgs)}}function di(i,s){if(1&i&&(t.qex(0),t.nrm(1,"div",30),t.bVm()),2&i){const n=t.XpG(4);t.R7$(),t.Y8G("storefrontTranslate",n.config.priceMessage)("storefrontTranslateArgs",n.finalPriceArgs)}}function fi(i,s){if(1&i&&(t.j41(0,"div",25),t.DNE(1,gi,3,4,"ng-container",0)(2,mi,3,4,"ng-container",0)(3,_i,3,4,"ng-container",0)(4,di,2,2,"ng-container",0),t.k0s()),2&i){const n=t.XpG(3);t.R7$(),t.Y8G("ngIf",n.subscription.trial),t.R7$(),t.Y8G("ngIf",!n.subscription.trial&&n.subscription.introductoryPrice),t.R7$(),t.Y8G("ngIf",!n.subscription.trial&&!n.subscription.introductoryPrice&&n.subscription.discount),t.R7$(),t.Y8G("ngIf",!n.subscription.trial&&!n.subscription.introductoryPrice&&!n.subscription.discount)}}function bi(i,s){if(1&i&&t.nrm(0,"div",31),2&i){const n=t.XpG(3);t.Y8G("storefrontTranslate",n.config.descriptionMessage)("storefrontTranslateArgs",t.eq3(2,k,n.subscription.description))}}function xi(i,s){if(1&i&&t.nrm(0,"div",2),2&i){const n=s.$implicit;t.ZvI("issue-custom-message ",n.class||"",""),t.Y8G("storefrontTranslate",n.message)("storefrontTranslateArgs",n.variables||t.lJ4(5,jt))}}function hi(i,s){1&i&&t.nrm(0,"div",13)}function vi(i,s){if(1&i&&t.DNE(0,hi,1,0,"div",13),2&i){const n=t.XpG(3);t.vxM(!n.config||n.priceLoading?0:-1)}}function Ti(i,s){1&i&&t.nrm(0,"storefront-spinner",14)}function Ci(i,s){if(1&i&&t.DNE(0,Ti,1,0,"storefront-spinner",14),2&i){const n=t.XpG(3);t.vxM(!n.config||n.priceLoading?0:-1)}}function Si(i,s){1&i&&t.nrm(0,"span",15),2&i&&t.Y8G("storefrontTranslate","SUBSCRIPTION_ACTION_PURCHASE_UNAVAILABLE")}function Di(i,s){if(1&i&&(t.qex(0),t.j41(1,"div",18),t.nrm(2,"h3",19),t.DNE(3,li,1,0,"div",20),t.k0s(),t.DNE(4,fi,5,4,"div",21)(5,bi,1,4,"div",22)(6,xi,1,6,"div",23)(7,vi,1,1)(8,Ci,1,1)(9,Si,1,1,"span",6),t.bVm()),2&i){const n=t.XpG(2);t.R7$(2),t.Y8G("storefrontTranslate",n.config.titleMessage)("storefrontTranslateArgs",t.eq3(8,k,n.subscription.name)),t.R7$(),t.Y8G("ngIf",n.active),t.R7$(),t.Y8G("ngIf",n.subscription.price),t.R7$(),t.Y8G("ngIf","details"===n.template&&!!n.subscription.description),t.R7$(),t.Y8G("ngForOf",n.customMessages),t.R7$(),t.vxM(n.domHelper.leanDom?7:8),t.R7$(2),t.Y8G("ngIf",!n.subscription.price&&!n.priceLoading)}}function Ii(i,s){if(1&i&&(t.qex(0),t.DNE(1,ui,4,2,"ng-container",0)(2,Di,10,10,"ng-container",0),t.bVm()),2&i){const n=t.XpG();t.R7$(),t.Y8G("ngIf","issues"===n.template),t.R7$(),t.Y8G("ngIf","details"===n.template||"default"===n.template||!n.template)}}function Pi(i,s){}function Ai(i,s){if(1&i&&(t.qex(0),t.DNE(1,Pi,0,0,"ng-template",32),t.bVm()),2&i){const n=t.XpG();t.R7$(),t.Y8G("classNames","subscription-fallback")("baseContext",n.baseContext)("baseConfig",n.fallback)}}let yi=(()=>{var i;class s extends Z{}return(i=s).\u0275fac=(()=>{let n;return function(p){return(n||(n=t.xGo(i)))(p||i)}})(),i.\u0275cmp=t.VBU({type:i,selectors:[["div",8,"subscription"]],standalone:!1,features:[t.Jv_([_.B]),t.Vt3],attrs:kt,decls:2,vars:2,consts:[[4,"ngIf"],["class","subscription-issues stacked",4,"ngIf"],[3,"storefrontTranslate","storefrontTranslateArgs"],["class","subscription-issues-promotion",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"action-button",3,"click","disabled"],[3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[3,"storefrontTranslate",4,"ngIf"],[1,"subscription-issues","stacked"],["height","DEFAULT",1,"pxp-image",3,"src"],["height","DEFAULT",3,"src"],["class","pxp-image","height","DEFAULT",3,"src",4,"ngFor","ngForOf"],["height","DEFAULT",3,"src",4,"ngFor","ngForOf"],[1,"subscription-issues-promotion",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"pxp-spinner","button-spinner"],[1,"button-spinner"],[3,"storefrontTranslate"],[1,"pxp-spinner","subscription-loading"],[1,"subscription-loading"],[1,"subscription-info"],[1,"subscription-title",3,"storefrontTranslate","storefrontTranslateArgs"],["class","subscription-purchased","storefrontTranslate","SUBSCRIPTION_PURCHASED",4,"ngIf"],["class","subscription-price",4,"ngIf"],["class","subscription-description",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[3,"class","storefrontTranslate","storefrontTranslateArgs",4,"ngFor","ngForOf"],["storefrontTranslate","SUBSCRIPTION_PURCHASED",1,"subscription-purchased"],[1,"subscription-price"],[1,"subscription-price-trial",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"subscription-price-final",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"subscription-price-introductory",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"subscription-price-discount",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"subscription-price-regular",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"subscription-description",3,"storefrontTranslate","storefrontTranslateArgs"],[3,"pxpDynamicComponent","classNames","baseContext","baseConfig"]],template:function(e,p){1&e&&t.DNE(0,Ii,3,2,"ng-container",0)(1,Ai,2,3,"ng-container",0),2&e&&(t.Y8G("ngIf",p.subscription),t.R7$(),t.Y8G("ngIf",!p.subscription&&p.fallback))},dependencies:[m.Sq,m.bT,B.M,X.t,Y.n,Q.h,J.x,w.q],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-subscription,.pxp-subscription{position:relative;display:flex;border-radius:var(--borderRadius);overflow:hidden;border:2px solid var(--primaryColor);background-color:var(--primaryColor);color:#fff;align-items:center;padding:var(--subscriptionPaddingVert) var(--subscriptionPaddingHoriz)}storefront-subscription .subscription-info,.pxp-subscription .subscription-info{position:relative;flex-grow:1;display:flex;align-items:center}storefront-subscription .subscription-info .subscription-purchased,.pxp-subscription .subscription-info .subscription-purchased{background-color:var(--primaryColor);color:#fff;line-height:1;border-radius:var(--subscriptionPurchasedBorderRadius);margin-left:var(--subscriptionPurchasedMarginHoriz)}storefront-subscription .subscription-price,.pxp-subscription .subscription-price{position:relative}storefront-subscription storefront-spinner,storefront-subscription .pxp-spinner,.pxp-subscription storefront-spinner,.pxp-subscription .pxp-spinner{width:20px;margin:0 8px}storefront-subscription.active,.pxp-subscription.active{background-color:#fff;color:#000}storefront-subscription.ghost,.pxp-subscription.ghost{background-image:linear-gradient(90deg,var(--ghostColor) 0px,rgb(236,236,236) 40px,var(--ghostColor) 80px);background-size:80vw;animation:ghost-lines 2s infinite linear;border-color:transparent}storefront-subscription[template=issues],storefront-subscription[data-pxp-template=issues],.pxp-subscription[template=issues],.pxp-subscription[data-pxp-template=issues]{background-color:transparent;border:none;flex-direction:column;color:var(--textColor)}storefront-subscription[template=issues] h3,storefront-subscription[data-pxp-template=issues] h3,.pxp-subscription[template=issues] h3,.pxp-subscription[data-pxp-template=issues] h3{margin:var(--gutter);text-align:center}storefront-subscription[template=issues] .subscription-issues,storefront-subscription[data-pxp-template=issues] .subscription-issues,.pxp-subscription[template=issues] .subscription-issues,.pxp-subscription[data-pxp-template=issues] .subscription-issues{display:flex;justify-content:center;width:100%}storefront-subscription[template=issues] .subscription-issues storefront-image,storefront-subscription[template=issues] .subscription-issues .pxp-image,storefront-subscription[data-pxp-template=issues] .subscription-issues storefront-image,storefront-subscription[data-pxp-template=issues] .subscription-issues .pxp-image,.pxp-subscription[template=issues] .subscription-issues storefront-image,.pxp-subscription[template=issues] .subscription-issues .pxp-image,.pxp-subscription[data-pxp-template=issues] .subscription-issues storefront-image,.pxp-subscription[data-pxp-template=issues] .subscription-issues .pxp-image{margin:calc(var(--gutter) / 2)}storefront-subscription[template=issues] .subscription-issues storefront-image img,storefront-subscription[template=issues] .subscription-issues .pxp-image img,storefront-subscription[data-pxp-template=issues] .subscription-issues storefront-image img,storefront-subscription[data-pxp-template=issues] .subscription-issues .pxp-image img,.pxp-subscription[template=issues] .subscription-issues storefront-image img,.pxp-subscription[template=issues] .subscription-issues .pxp-image img,.pxp-subscription[data-pxp-template=issues] .subscription-issues storefront-image img,.pxp-subscription[data-pxp-template=issues] .subscription-issues .pxp-image img{width:100%}storefront-subscription[template=issues] .subscription-issues-promotion,storefront-subscription[data-pxp-template=issues] .subscription-issues-promotion,.pxp-subscription[template=issues] .subscription-issues-promotion,.pxp-subscription[data-pxp-template=issues] .subscription-issues-promotion{text-align:center;margin:var(--gutter)}storefront-subscription[template=issues] .subscription-issues-promotion span,storefront-subscription[data-pxp-template=issues] .subscription-issues-promotion span,.pxp-subscription[template=issues] .subscription-issues-promotion span,.pxp-subscription[data-pxp-template=issues] .subscription-issues-promotion span{font-weight:700}storefront-subscription[template=issues] .subscription-issues-promotion span.former-price,storefront-subscription[template=issues] .subscription-issues-promotion span.current-price,storefront-subscription[data-pxp-template=issues] .subscription-issues-promotion span.former-price,storefront-subscription[data-pxp-template=issues] .subscription-issues-promotion span.current-price,.pxp-subscription[template=issues] .subscription-issues-promotion span.former-price,.pxp-subscription[template=issues] .subscription-issues-promotion span.current-price,.pxp-subscription[data-pxp-template=issues] .subscription-issues-promotion span.former-price,.pxp-subscription[data-pxp-template=issues] .subscription-issues-promotion span.current-price{color:var(--primaryColor)}storefront-subscription[template=issues] button,storefront-subscription[data-pxp-template=issues] button,.pxp-subscription[template=issues] button,.pxp-subscription[data-pxp-template=issues] button{color:#fff;background-color:var(--primaryColor)}storefront-subscription[template=issues] button[disabled],storefront-subscription[data-pxp-template=issues] button[disabled],.pxp-subscription[template=issues] button[disabled],.pxp-subscription[data-pxp-template=issues] button[disabled]{opacity:.5}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){storefront-subscription[template=issues] button,storefront-subscription[data-pxp-template=issues] button,.pxp-subscription[template=issues] button,.pxp-subscription[data-pxp-template=issues] button{width:100%}}storefront-subscription[template=issues] storefront-spinner.subscription-loading,storefront-subscription[template=issues] .pxp-spinner.subscription-loading,storefront-subscription[data-pxp-template=issues] storefront-spinner.subscription-loading,storefront-subscription[data-pxp-template=issues] .pxp-spinner.subscription-loading,.pxp-subscription[template=issues] storefront-spinner.subscription-loading,.pxp-subscription[template=issues] .pxp-spinner.subscription-loading,.pxp-subscription[data-pxp-template=issues] storefront-spinner.subscription-loading,.pxp-subscription[data-pxp-template=issues] .pxp-spinner.subscription-loading{--spinnerColor: var(--secondaryColor);height:100px;width:100px}\n'],encapsulation:2}),s})(),Ei=(()=>{var i;class s{}return(i=s).\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=t.G2t({imports:[m.MD,Ft.h,$t.O,Ht.P,Vt.U,zt.pZ]}),s})();const Ri={component:Z,leanDomComponent:yi}},3647:(V,I,o)=>{o.d(I,{R:()=>c});var m=o(4438),a=o(345);let c=(()=>{var h;class _{constructor(g){this.sanitizer=g}transform(g,C="url"){switch(C){case"html":return this.sanitizer.bypassSecurityTrustHtml(g);case"style":return this.sanitizer.bypassSecurityTrustStyle(g);case"script":return this.sanitizer.bypassSecurityTrustScript(g);case"url":return this.sanitizer.bypassSecurityTrustUrl(g);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(g);default:throw new Error("Invalid safe type specified: ".concat(C))}}}return(h=_).\u0275fac=function(g){return new(g||h)(m.rXU(a.up,16))},h.\u0275pipe=m.EJ8({name:"sanitizeUrl",type:h,pure:!0,standalone:!1}),_})()}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_swiper_swiper_module_ts"],{1540:(Li,E,a)=>{a.r(E),a.d(E,{SwiperModule:()=>xi,component:()=>Ci});var m=a(177),b=a(467),h=a(9379),e=a(4438),R=a(6239),z=a(4452),P=a(610),L=a(8251),A=a(3648),B=a(5273),v=a(3178),O=a(152),_=a(5964),V=a(9758),G=a(1985),j=a(8890),C=a(8179),S=a(3),W=a(3472),H=a(8075),M=a(7879),N=a(4765),X=a(3331),U=a(8004),$=a(9516),Y=a(4748),Z=a(6860),K=a(7900),Q=a(5102),J=a(1652),q=a(5927);const ii=["container"],ei=["ghostTemplate"],ti=["template"],ni=["indicator"],ri=["pagination"],ai=["wrapper"];function si(n,l){1&n&&e.nrm(0,"div",14,5)}function pi(n,l){if(1&n&&(e.j41(0,"div",11),e.DNE(1,si,2,0,"div",12),e.nrm(2,"div",13,4),e.k0s()),2&n){const o=e.XpG();e.R7$(),e.Y8G("ngIf","tabs"===o.paginationType)}}function oi(n,l){1&n&&(e.j41(0,"div",11),e.nrm(1,"div",13),e.k0s())}function wi(n,l){if(1&n){const o=e.RV6();e.j41(0,"div",17),e.bIt("click",function(){e.eBV(o);const t=e.XpG(2);return e.Njj(t.onClickPrev())}),e.k0s()}}function li(n,l){if(1&n){const o=e.RV6();e.j41(0,"div",18),e.bIt("click",function(){e.eBV(o);const t=e.XpG(2);return e.Njj(t.onClickNext())}),e.k0s()}}function gi(n,l){if(1&n&&(e.qex(0),e.DNE(1,wi,1,0,"div",15)(2,li,1,0,"div",16),e.bVm()),2&n){const o=e.XpG();e.R7$(),e.Y8G("ngIf",!o.reachStart),e.R7$(),e.Y8G("ngIf",!o.reachEnd)}}const I="swiper-pagination-tab",k="swiper-pagination-tab-active";let D=(()=>{var n;class l extends W.M{get heightStrategy(){return(this.config||this.baseConfig).height}get regularHeightStrategy(){return this.domHelper.regularSelector(this.heightStrategy)}get prefixedHeightStrategy(){return this.domHelper.prefixedSelector(this.heightStrategy)}get paginationType(){const i=(this.config||this.baseConfig).pagination;return i?"boolean"==typeof i?"bullets":(this.config||this.baseConfig).pagination.type:null}get regularPaginationType(){return this.domHelper.regularSelector(this.paginationType)}get prefixedPaginationType(){return this.domHelper.prefixedSelector(this.paginationType)}get swiperEffect(){return(this.config||(0,h.A)((0,h.A)({},this.defaultConfig),this.baseConfig)).effect}get regularEffect(){return this.domHelper.regularSelector(this.swiperEffect)}get prefixedEffect(){return this.domHelper.prefixedSelector(this.swiperEffect)}constructor(i,t,r,s,w,p,d,g,f,c,u,y,F,x,T,yi){super(t,i,p,y,T),this.elementRef=i,this.injector=t,this.router=r,this.eventActionService=s,this.store=w,this.contextService=p,this.ngZone=d,this.ssrService=g,this.platform=f,this.translateService=c,this.matRippleOptions=u,this.document=y,this.purpleEnv=F,this.purpleService=x,this.globalService=T,this.domHelper=yi,this.reachEnd=!1,this.reachStart=!1,this.defaultConfig=(0,h.A)({},R.d),this.swiperConfig={slidesPerView:"auto",loop:!0,spaceBetween:0,floatEffect:{scale:.9,slideWidth:60,spaceBetweenAsPercentage:!1,opacity:.5},pagination:{el:".swiper-pagination",type:"bullets"},autoHeight:!1,initialSlide:0,shortSwipesRatio:.1},this.slides=[],this.ripples=[]}ngOnInit(){var i=()=>super.ngOnInit,t=this;return(0,b.A)(function*(){t.baseContext.isGhost||(yield t.translateService.inited,Array(3).fill(null).forEach((r,s)=>t.renderSlide(s,{ghost:!0})),t.initializing=!0,i().call(t))})()}updateRipples(){const i=this.elementRef.nativeElement.querySelectorAll(".".concat(I));this.ripples.forEach(t=>t.ngOnDestroy()),this.ripples=[],i.forEach(t=>{const r=new S.r6(new e.aKT(t),this.ngZone,this.platform,(0,h.A)({},this.matRippleOptions));r.ngOnInit(),this.ripples.push(r)})}ngOnDestroy(){super.ngOnDestroy(),this.swiper&&this.swiper.destroy()}onConfigChanges(){var i=this;return(0,b.A)(function*(){var t;if(i.dataSource){if(i.dataSource.hasConfigChanged(i.config.dataSource))i.dataSource.setConfig(i.config.dataSource),i.dataSource.reset();else if(i.swiper){const s=i.getSlideIndexFromContext();return void(s!==i.swiper.activeIndex%i.dataSource.getData().length&&i.swiper.slideTo(s))}}else i.dataSource=(0,z.O8)(i.injector,i.config.dataSource,i.elementRef.nativeElement,i.document);if(i.swiperConfig.loop=i.config.loop,i.swiperConfig.effect=i.config.effect,i.swiperConfig.centeredSlides=null===(t=i.config.centeredSlides)||void 0===t||t,i.swiperConfig.pagination=(0,h.A)((0,h.A)((0,h.A)({},i.swiperConfig.pagination),"object"==typeof i.config.pagination?i.config.pagination:{}),{},{type:"tabs"===i.paginationType?"bullets":i.paginationType}),i.config.autoplay){let s={disableOnInteraction:!1};"object"==typeof i.config.autoplay&&(s=(0,h.A)((0,h.A)({},s),i.config.autoplay)),i.swiperConfig.autoplay=s}"tabs"===i.paginationType&&(i.swiperConfig.pagination.bulletClass=I,i.swiperConfig.pagination.bulletActiveClass=k,i.swiperConfig.pagination.clickable=!0,i.swiperConfig.pagination.renderBullet=(s,w)=>{let p=s;return"object"==typeof i.config.pagination&&i.config.pagination.content&&(p=i.translateService.translate((0,C.uQ)(i.config.pagination.content,i.getEntryContext(i.getData()[s]),i.contextService.$functions,i.globalService.getGlobalData()))),'<span class="'+w+'">'+p+"</span>"});const r=i.ngZone.runOutsideAngular(()=>new G.c(s=>{var w;i.swiperConfig.on={slideChangeTransitionEnd:(w=(0,b.A)(function*(){if(!i.swiper)return;let p,d;const g=i.swiper.activeIndex-i.swiper.previousIndex;var f,c;g>0?i.reachStart=!1:i.reachEnd=!1,i.config.lazyload&&(g>0?(p=i.config.loop&&i.swiper.activeIndex+1>2*i.swiper.loopedSlides?i.swiper.activeIndex+1-i.swiper.loopedSlides:i.swiper.activeIndex+1,d=i.config.loop?i.prevIndex:i.swiper.activeIndex-2):g<0&&(p=i.config.loop&&i.swiper.activeIndex-1<=i.swiper.loopedSlides?i.swiper.activeIndex-1+i.swiper.loopedSlides:i.swiper.activeIndex-1,d=i.config.loop?i.nextIndex:i.swiper.activeIndex+2),yield null===(f=i.slides[p])||void 0===f?void 0:f.lazyLoad(!0),null===(c=i.slides[d])||void 0===c||c.clear(),i.saveSwiperState()),i.changeDetectorRef.detectChanges(),s.next()}),function(){return w.apply(this,arguments)}),slideChangeTransitionStart:()=>{i.swiper&&(i.changeDetectorRef.detectChanges(),s.next())},slideChange:function(){var w=(0,b.A)(function*(p){i.swiper&&s.next()});return function(d){return w.apply(this,arguments)}}(),init:function(){var w=(0,b.A)(function*(){i.ngZone.run((0,b.A)(function*(){if(i.slides&&i.slides.length){let p=(0,v.KF)(i.slides,i.swiperConfig.initialSlide,i.swiperConfig.loop);const d=["swiper-slide-prev","swiper-slide-next","swiper-slide-active"],g=c=>d.some(u=>c.classList.contains(u));p.sort((c,u)=>{const y=d.findIndex(x=>c.elementRef.nativeElement.classList.contains(x));return d.findIndex(x=>u.elementRef.nativeElement.classList.contains(x))-y}),i.elementRef.nativeElement.classList.add("initialized"),i.config.lazyload&&(p=p.filter(c=>g(c.elementRef.nativeElement))),yield p[0].lazyLoad();const f=c=>{c>=p.length||(p[c].lazyLoad(),i.changeDetectorRef.detectChanges(),(0,v.lg)(()=>f(c+1),i.config.lazyloadDelay||100))};(0,v.lg)(()=>f(1),i.config.lazyloadDelay||100)}i.changeDetectorRef.detectChanges()}))});return function(){return w.apply(this,arguments)}}(),paginationUpdate:()=>{i.updateRipples(),i.updatePositionIndicator()}}}));i.config.autoplay&&(0,m.UE)(i.platformId)&&new IntersectionObserver(([w])=>{var p,d;w.isIntersecting?null!==(d=i.swiper)&&void 0!==d&&d.autoplay&&!i.swiper.autoplay.running&&i.swiper.autoplay.start():null!==(p=i.swiper)&&void 0!==p&&p.autoplay&&i.swiper.autoplay.stop()},{rootMargin:"0px",threshold:.9}).observe(i.elementRef.nativeElement),i.ngZone.runOutsideAngular(()=>{r.pipe((0,O.B)(300)).subscribe(s=>{(!i.swiper||!i.swiper.autoplay||!i.swiper.autoplay.running)&&i.ngZone.run(()=>{i.updateSelection()})})}),i.swiperConfig.loopClone=(s,w)=>{i.renderSlide(s,{prepend:w,clone:!0}),i.changeDetectorRef.detectChanges()},i.store.subscribe(i.dataSource.data$.pipe((0,_.p)(s=>!!s&&i.dataSource.hasData())),s=>{i.contentTemplate.clear(),i.slides=[],Array.from(i.wrapper.nativeElement.children).forEach(w=>w.remove()),s.forEach((w,p)=>i.renderSlide(p)),i.changeDetectorRef.detectChanges(),i.swiperConfig.initialSlide=i.getSlideIndexFromContext(),i.initializing=!1,s.length<2&&(i.swiperConfig.loop=!1,i.swiperConfig.autoplay=!1),i.purpleEnv.isApp?i.initSwiper():(0,m.UE)(i.platformId)&&i.ssrService.prebootCompleted$.subscribe(()=>i.initSwiper())},v.lQ,v.lQ,"data"),i.dataSource.loadData(),i.store.subscribe((0,j.Ne)(),s=>i.updatePositionIndicator())})()}renderSlide(i,t={clone:!1,prepend:!1,ghost:!1}){var r;const s=this.config||(0,h.A)((0,h.A)({},this.defaultConfig),this.baseConfig),w=t.ghost?this.ghostTemplate:this.contentTemplate,p=null===(r=this.getData())||void 0===r?void 0:r[i];if(!(0,C.ru)(this.getEntryConfig(p),this.getEntryContext(p),this.contextService.$functions,this.globalService.getGlobalData()))return;const g=w.createComponent(this.domHelper.leanDom?N.s:A._,{index:t.prepend?0:null}),f=g.hostView.rootNodes[0];return this.renderer.addClass(f,"swiper-slide"),t.clone&&this.renderer.addClass(f,"swiper-slide-duplicate"),this.renderer.listen(f,"click",c=>{this.onClickEntry(g.instance,p)}),g.instance.baseConfig=this.getEntryConfig(p),g.instance.baseContext=this.getEntryContext(p),g.instance.dataType=this.getDataType(),t.ghost||(g.instance.lazy=!0),"float"===s.effect&&(this.renderer.setStyle(f,"width",this.swiperConfig.floatEffect.slideWidth+"%"),1!==i&&(this.renderer.setStyle(f,"transform","scale(".concat(this.swiperConfig.floatEffect.scale,")")),this.renderer.setStyle(f,"opacity",this.swiperConfig.floatEffect.opacity))),t.prepend?this.slides.unshift(g.instance):this.slides.push(g.instance),this.changeDetectorRef.detectChanges(),g.instance}initSwiper(){var i=this;return(0,b.A)(function*(){i.swiper&&(i.swiper.destroy(),delete i.swiper),i.ngZone.runOutsideAngular(()=>{i.swiper=new B.A(i.container.nativeElement,i.swiperConfig),i.swiper.on("reachEnd",()=>{i.reachEnd=!0,i.changeDetectorRef.detectChanges()}),i.swiper.on("reachBeginning",()=>{i.reachStart=!0,i.changeDetectorRef.detectChanges()}),i.saveSwiperState()}),i.ghostTemplate.clear(),i.changeDetectorRef.detectChanges()})()}saveSwiperState(){if(this.swiper){for(let i=0;i<this.swiper.slides.length;i++)this.activeIndex=this.swiper.slides[i].classList.contains("swiper-slide-active")?i:this.activeIndex,this.prevIndex=this.swiper.slides[i].classList.contains("swiper-slide-prev")?i:this.prevIndex,this.nextIndex=this.swiper.slides[i].classList.contains("swiper-slide-next")?i:this.nextIndex;this.changeDetectorRef.markForCheck()}}onClickPrev(){this.swiper&&(this.swiper.animating=!1,this.swiper.slidePrev())}onClickNext(){this.swiper&&(this.swiper.animating=!1,this.swiper.slideNext())}onClickEntry(i,t){var r=this;return(0,b.A)(function*(){const s=(0,C.v3)((0,C.uQ)(r.config.tapEntry,r.getEntryContext(t),r.contextService.$functions,r.globalService.getGlobalData()));s&&(r.store.dispatch((0,P.k4)({url:window.location.href,key:"".concat(r.getTrackingBaseKey(),"_").concat(i.getChildComponent().getTrackingBaseKey(),"_CLICKED"),params:i.getChildComponent().getTrackingParams()})),i.processing=!0,r.changeDetectorRef.detectChanges(),yield r.eventActionService.processEventAction(s,i.getChildComponent(),r),i.processing=!1,r.changeDetectorRef.detectChanges())})()}isAnyChildComponentProcessing(){return!(!this.slides||!this.slides.find(i=>i.processing))}getData(){return this.dataSource&&this.dataSource.getData()}isGhost(){return this.initializing}updateSelection(){if(this.swiper){let i=this.swiper.realIndex;i>this.getData().length&&(i=0);const t=this.slides[i],r=t&&t.getDataId();r&&r!==this.currentId&&!this.config.autoplay&&(this.currentId=r,this.config.paramScope===V.x.USER_ATTRIBUTE?this.contextService.setUserAttribute(this.getParam(),r):(0,H.CV)(this.router,{[this.getParam()]:r}))}}updatePositionIndicator(){if("tabs"===this.paginationType&&this.indicator&&this.indicator.nativeElement){const i=this.elementRef.nativeElement.querySelector(".".concat(k)),t=this.indicator.nativeElement;t.style.transform="translateX(calc(".concat(i.offsetLeft+i.parentElement.offsetLeft+i.offsetWidth/2,"px - 50%)) translateY(calc(").concat(i.offsetTop+i.parentElement.offsetTop+i.offsetHeight/2,"px - 50%))"),t.style.width=i.offsetWidth+"px",t.style.height=i.offsetHeight+"px",this.changeDetectorRef.detectChanges()}}getSlideIndexFromContext(){const i=this.getDataFromContext(),t="object"==typeof i?i.id:i;return Math.max(this.slides.findIndex(r=>r.getDataId()===t),0)}isSelectionEnabled(){return!0}getParam(){return this.config&&this.config.param||"swiper-id"}getSelectionScope(){return this.config&&this.config.paramScope}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),"tapEntry"]}}return(n=l).type="swiper",n.\u0275fac=function(i){return new(i||n)(e.rXU(e.aKT),e.rXU(e.zZn),e.rXU(X.Ix),e.rXU(U.G),e.rXU(L.B),e.rXU($.V),e.rXU(e.SKi),e.rXU(Y.i),e.rXU(Z.OD),e.rXU(K.c),e.rXU(S.$E),e.rXU(m.qQ),e.rXU(M.r6),e.rXU(Q.Wj),e.rXU(J.d),e.rXU(q.S))},n.\u0275cmp=e.VBU({type:n,selectors:[["storefront-swiper"]],viewQuery:function(i,t){if(1&i&&(e.GBs(ii,7),e.GBs(ei,7,e.c1b),e.GBs(ti,7,e.c1b),e.GBs(ni,5,e.aKT),e.GBs(ri,5,e.aKT),e.GBs(ai,7)),2&i){let r;e.mGM(r=e.lsd())&&(t.container=r.first),e.mGM(r=e.lsd())&&(t.ghostTemplate=r.first),e.mGM(r=e.lsd())&&(t.contentTemplate=r.first),e.mGM(r=e.lsd())&&(t.indicator=r.first),e.mGM(r=e.lsd())&&(t.pagination=r.first),e.mGM(r=e.lsd())&&(t.wrapper=r.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:6,hostBindings:function(i,t){2&i&&e.BMQ("height-strategy",t.regularHeightStrategy)("data-pxp-height-strategy",t.prefixedHeightStrategy)("pagination-type",t.regularPaginationType)("data-pxp-pagination-type",t.prefixedPaginationType)("effect",t.regularEffect)("data-pxp-effect",t.prefixedEffect)},standalone:!1,features:[e.Jv_([L.B]),e.Vt3],decls:13,vars:3,consts:[["container",""],["wrapper",""],["template",""],["ghostTemplate",""],["pagination",""],["indicator",""],[1,"swiper-container"],[1,"swiper-wrapper"],["class","swiper-pagination-wrapper",4,"ngIf"],[1,"swiper-container","swiper-container-ghost"],[4,"ngIf"],[1,"swiper-pagination-wrapper"],["class","pagination-position-indicator",4,"ngIf"],[1,"swiper-pagination"],[1,"pagination-position-indicator"],["class","swiper-button swiper-button-prev icon icon-arrow-left",3,"click",4,"ngIf"],["class","swiper-button swiper-button-next icon icon-arrow-right",3,"click",4,"ngIf"],[1,"swiper-button","swiper-button-prev","icon","icon-arrow-left",3,"click"],[1,"swiper-button","swiper-button-next","icon","icon-arrow-right",3,"click"]],template:function(i,t){1&i&&(e.j41(0,"div",6,0)(2,"div",7,1),e.eu8(4,null,2),e.k0s(),e.DNE(6,pi,4,1,"div",8),e.k0s(),e.j41(7,"div",9)(8,"div",7),e.eu8(9,null,3),e.k0s(),e.DNE(11,oi,2,0,"div",8),e.k0s(),e.DNE(12,gi,3,2,"ng-container",10)),2&i&&(e.R7$(6),e.Y8G("ngIf",(t.config||t.baseConfig).pagination),e.R7$(5),e.Y8G("ngIf",(t.config||t.baseConfig).pagination),e.R7$(),e.Y8G("ngIf",t.config&&t.config.navButtons))},dependencies:[m.bT],styles:[".swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s top,.2s -webkit-transform;transition:.2s transform,.2s top;transition:.2s transform,.2s top,.2s -webkit-transform}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s left,.2s -webkit-transform;transition:.2s transform,.2s left;transition:.2s transform,.2s left,.2s -webkit-transform}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s right,.2s -webkit-transform;transition:.2s transform,.2s right;transition:.2s transform,.2s right,.2s -webkit-transform}.swiper-pagination-progressbar{background:#00000040;position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-progressbar.swiper-pagination-white{background:#ffffff40}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-pagination-progressbar.swiper-pagination-black{background:#00000040}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000}.swiper-pagination-lock{display:none}.swiper-container-float .swiper-wrapper .swiper-slide{transition-property:transform,opacity}storefront-swiper,.pxp-swiper{display:block;position:relative;overflow:hidden;width:100%}storefront-swiper .swiper-container,.pxp-swiper .swiper-container{width:100%}storefront-swiper .swiper-container .swiper-wrapper,.pxp-swiper .swiper-container .swiper-wrapper{opacity:0}storefront-swiper .swiper-container.swiper-container-ghost,.pxp-swiper .swiper-container.swiper-container-ghost{position:absolute;top:0}storefront-swiper .swiper-container.swiper-container-ghost .swiper-wrapper,.pxp-swiper .swiper-container.swiper-container-ghost .swiper-wrapper{opacity:1}storefront-swiper.initialized .swiper-container .swiper-wrapper,.pxp-swiper.initialized .swiper-container .swiper-wrapper{opacity:1}storefront-swiper.initialized .swiper-container-ghost,.pxp-swiper.initialized .swiper-container-ghost{display:none}storefront-swiper[effect=float] .swiper-container-ghost .swiper-wrapper,storefront-swiper[data-pxp-effect=float] .swiper-container-ghost .swiper-wrapper,.pxp-swiper[effect=float] .swiper-container-ghost .swiper-wrapper,.pxp-swiper[data-pxp-effect=float] .swiper-container-ghost .swiper-wrapper{justify-content:center}storefront-swiper.ghost .swiper-container,.pxp-swiper.ghost .swiper-container{position:absolute}storefront-swiper.ghost .swiper-container .swiper-wrapper,.pxp-swiper.ghost .swiper-container .swiper-wrapper{opacity:0}storefront-swiper.ghost .swiper-container.swiper-container-ghost,.pxp-swiper.ghost .swiper-container.swiper-container-ghost{display:block;position:relative}storefront-swiper.ghost .swiper-container.swiper-container-ghost .swiper-wrapper,.pxp-swiper.ghost .swiper-container.swiper-container-ghost .swiper-wrapper{opacity:1}storefront-swiper .swiper-pagination,.pxp-swiper .swiper-pagination{position:relative;margin:var(--gutter) 0;color:var(--swiperPaginationColor)}storefront-swiper .swiper-pagination .swiper-pagination-bullet,.pxp-swiper .swiper-pagination .swiper-pagination-bullet{margin:0 4px}storefront-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active,.pxp-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{background-color:var(--swiperPaginationColor)}storefront-swiper .swiper-button,.pxp-swiper .swiper-button{background:transparent;position:absolute;top:50%;display:flex;justify-content:center;align-items:center;width:50px;height:50px}storefront-swiper .swiper-button .swiper-button-prev,.pxp-swiper .swiper-button .swiper-button-prev{left:0;right:auto}storefront-swiper .swiper-button .swiper-button-next,.pxp-swiper .swiper-button .swiper-button-next{right:0;left:auto}storefront-swiper[height-strategy=FILL_VIEWPORT],storefront-swiper[data-pxp-height-strategy=FILL_VIEWPORT],.pxp-swiper[height-strategy=FILL_VIEWPORT],.pxp-swiper[data-pxp-height-strategy=FILL_VIEWPORT]{height:calc(100vh - var(--navigationHeight) - var(--appBarHeight))}storefront-swiper[height-strategy=FILL_VIEWPORT]>.swiper-container,storefront-swiper[data-pxp-height-strategy=FILL_VIEWPORT]>.swiper-container,.pxp-swiper[height-strategy=FILL_VIEWPORT]>.swiper-container,.pxp-swiper[data-pxp-height-strategy=FILL_VIEWPORT]>.swiper-container{height:100%}storefront-swiper[height-strategy=FILL_VIEWPORT]>.swiper-container>.swiper-wrapper>.swiper-slide>*,storefront-swiper[data-pxp-height-strategy=FILL_VIEWPORT]>.swiper-container>.swiper-wrapper>.swiper-slide>*,.pxp-swiper[height-strategy=FILL_VIEWPORT]>.swiper-container>.swiper-wrapper>.swiper-slide>*,.pxp-swiper[data-pxp-height-strategy=FILL_VIEWPORT]>.swiper-container>.swiper-wrapper>.swiper-slide>*{padding-top:var(--swiperPaginationTabHeight);max-height:100%}storefront-swiper[pagination-type=tabs] .swiper-pagination-wrapper,storefront-swiper[data-pxp-pagination-type=tabs] .swiper-pagination-wrapper,.pxp-swiper[pagination-type=tabs] .swiper-pagination-wrapper,.pxp-swiper[data-pxp-pagination-type=tabs] .swiper-pagination-wrapper{position:fixed;top:var(--appBarHeight);bottom:auto!important;background-color:var(--swiperPaginationBackgroundColor);margin:0;height:var(--swiperPaginationTabHeight);display:flex;justify-content:center;align-items:center;width:100%;z-index:1}storefront-swiper[pagination-type=tabs] .pagination-position-indicator,storefront-swiper[data-pxp-pagination-type=tabs] .pagination-position-indicator,.pxp-swiper[pagination-type=tabs] .pagination-position-indicator,.pxp-swiper[data-pxp-pagination-type=tabs] .pagination-position-indicator{position:absolute;height:100%;bottom:0;left:0;transition:transform .15s ease;background:transparent;border-bottom:var(--swiperPaginationBorderWidth) solid var(--swiperPaginationColor);overflow:hidden}storefront-swiper[pagination-type=tabs] .swiper-pagination,storefront-swiper[data-pxp-pagination-type=tabs] .swiper-pagination,.pxp-swiper[pagination-type=tabs] .swiper-pagination,.pxp-swiper[data-pxp-pagination-type=tabs] .swiper-pagination{height:100%;display:flex;justify-content:center;align-items:center;width:100%;margin:0;max-width:640px}storefront-swiper[pagination-type=tabs] .swiper-pagination .swiper-pagination-tab,storefront-swiper[data-pxp-pagination-type=tabs] .swiper-pagination .swiper-pagination-tab,.pxp-swiper[pagination-type=tabs] .swiper-pagination .swiper-pagination-tab,.pxp-swiper[data-pxp-pagination-type=tabs] .swiper-pagination .swiper-pagination-tab{display:flex;align-items:center;justify-content:center;background:transparent!important;border-radius:0;width:auto;height:100%;flex:1 1 0;padding:10px;position:relative;overflow:hidden}storefront-swiper[pagination-type=tabs] .swiper-pagination .swiper-pagination-tab-active,storefront-swiper[data-pxp-pagination-type=tabs] .swiper-pagination .swiper-pagination-tab-active,.pxp-swiper[pagination-type=tabs] .swiper-pagination .swiper-pagination-tab-active,.pxp-swiper[data-pxp-pagination-type=tabs] .swiper-pagination .swiper-pagination-tab-active{color:var(--swiperPaginationColor)}\n"],encapsulation:2,changeDetection:0}),l})();const ci=["class","pxp-swiper"];function di(n,l){1&n&&e.nrm(0,"div",14,5)}function fi(n,l){if(1&n&&(e.j41(0,"div",11),e.DNE(1,di,2,0,"div",12),e.nrm(2,"div",13,4),e.k0s()),2&n){const o=e.XpG();e.R7$(),e.Y8G("ngIf","tabs"===o.paginationType)}}function hi(n,l){1&n&&(e.j41(0,"div",11),e.nrm(1,"div",13),e.k0s())}function ui(n,l){if(1&n){const o=e.RV6();e.j41(0,"div",17),e.bIt("click",function(){e.eBV(o);const t=e.XpG(2);return e.Njj(t.onClickPrev())}),e.k0s()}}function bi(n,l){if(1&n){const o=e.RV6();e.j41(0,"div",18),e.bIt("click",function(){e.eBV(o);const t=e.XpG(2);return e.Njj(t.onClickNext())}),e.k0s()}}function mi(n,l){if(1&n&&(e.qex(0),e.DNE(1,ui,1,0,"div",15)(2,bi,1,0,"div",16),e.bVm()),2&n){const o=e.XpG();e.R7$(),e.Y8G("ngIf",!o.reachStart),e.R7$(),e.Y8G("ngIf",!o.reachEnd)}}let vi=(()=>{var n;class l extends D{}return(n=l).\u0275fac=(()=>{let o;return function(t){return(o||(o=e.xGo(n)))(t||n)}})(),n.\u0275cmp=e.VBU({type:n,selectors:[["div",8,"pxp-swiper"]],hostAttrs:["ngSkipHydration","true"],standalone:!1,features:[e.Jv_([L.B]),e.Vt3],attrs:ci,decls:13,vars:3,consts:[["container",""],["wrapper",""],["template",""],["ghostTemplate",""],["pagination",""],["indicator",""],[1,"swiper-container"],[1,"swiper-wrapper"],["class","swiper-pagination-wrapper",4,"ngIf"],[1,"swiper-container","swiper-container-ghost"],[4,"ngIf"],[1,"swiper-pagination-wrapper"],["class","pagination-position-indicator",4,"ngIf"],[1,"swiper-pagination"],[1,"pagination-position-indicator"],["class","swiper-button swiper-button-prev icon icon-arrow-left",3,"click",4,"ngIf"],["class","swiper-button swiper-button-next icon icon-arrow-right",3,"click",4,"ngIf"],[1,"swiper-button","swiper-button-prev","icon","icon-arrow-left",3,"click"],[1,"swiper-button","swiper-button-next","icon","icon-arrow-right",3,"click"]],template:function(i,t){1&i&&(e.j41(0,"div",6,0)(2,"div",7,1),e.eu8(4,null,2),e.k0s(),e.DNE(6,fi,4,1,"div",8),e.k0s(),e.j41(7,"div",9)(8,"div",7),e.eu8(9,null,3),e.k0s(),e.DNE(11,hi,2,0,"div",8),e.k0s(),e.DNE(12,mi,3,2,"ng-container",10)),2&i&&(e.R7$(6),e.Y8G("ngIf",(t.config||t.baseConfig).pagination),e.R7$(5),e.Y8G("ngIf",(t.config||t.baseConfig).pagination),e.R7$(),e.Y8G("ngIf",t.config&&t.config.navButtons))},dependencies:[m.bT],styles:[".swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E\");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E\")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s top,.2s -webkit-transform;transition:.2s transform,.2s top;transition:.2s transform,.2s top,.2s -webkit-transform}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s left,.2s -webkit-transform;transition:.2s transform,.2s left;transition:.2s transform,.2s left,.2s -webkit-transform}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s right,.2s -webkit-transform;transition:.2s transform,.2s right;transition:.2s transform,.2s right,.2s -webkit-transform}.swiper-pagination-progressbar{background:#00000040;position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-progressbar.swiper-pagination-white{background:#ffffff40}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-pagination-progressbar.swiper-pagination-black{background:#00000040}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000}.swiper-pagination-lock{display:none}.swiper-container-float .swiper-wrapper .swiper-slide{transition-property:transform,opacity}storefront-swiper,.pxp-swiper{display:block;position:relative;overflow:hidden;width:100%}storefront-swiper .swiper-container,.pxp-swiper .swiper-container{width:100%}storefront-swiper .swiper-container .swiper-wrapper,.pxp-swiper .swiper-container .swiper-wrapper{opacity:0}storefront-swiper .swiper-container.swiper-container-ghost,.pxp-swiper .swiper-container.swiper-container-ghost{position:absolute;top:0}storefront-swiper .swiper-container.swiper-container-ghost .swiper-wrapper,.pxp-swiper .swiper-container.swiper-container-ghost .swiper-wrapper{opacity:1}storefront-swiper.initialized .swiper-container .swiper-wrapper,.pxp-swiper.initialized .swiper-container .swiper-wrapper{opacity:1}storefront-swiper.initialized .swiper-container-ghost,.pxp-swiper.initialized .swiper-container-ghost{display:none}storefront-swiper[effect=float] .swiper-container-ghost .swiper-wrapper,storefront-swiper[data-pxp-effect=float] .swiper-container-ghost .swiper-wrapper,.pxp-swiper[effect=float] .swiper-container-ghost .swiper-wrapper,.pxp-swiper[data-pxp-effect=float] .swiper-container-ghost .swiper-wrapper{justify-content:center}storefront-swiper.ghost .swiper-container,.pxp-swiper.ghost .swiper-container{position:absolute}storefront-swiper.ghost .swiper-container .swiper-wrapper,.pxp-swiper.ghost .swiper-container .swiper-wrapper{opacity:0}storefront-swiper.ghost .swiper-container.swiper-container-ghost,.pxp-swiper.ghost .swiper-container.swiper-container-ghost{display:block;position:relative}storefront-swiper.ghost .swiper-container.swiper-container-ghost .swiper-wrapper,.pxp-swiper.ghost .swiper-container.swiper-container-ghost .swiper-wrapper{opacity:1}storefront-swiper .swiper-pagination,.pxp-swiper .swiper-pagination{position:relative;margin:var(--gutter) 0;color:var(--swiperPaginationColor)}storefront-swiper .swiper-pagination .swiper-pagination-bullet,.pxp-swiper .swiper-pagination .swiper-pagination-bullet{margin:0 4px}storefront-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active,.pxp-swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{background-color:var(--swiperPaginationColor)}storefront-swiper .swiper-button,.pxp-swiper .swiper-button{background:transparent;position:absolute;top:50%;display:flex;justify-content:center;align-items:center;width:50px;height:50px}storefront-swiper .swiper-button .swiper-button-prev,.pxp-swiper .swiper-button .swiper-button-prev{left:0;right:auto}storefront-swiper .swiper-button .swiper-button-next,.pxp-swiper .swiper-button .swiper-button-next{right:0;left:auto}storefront-swiper[height-strategy=FILL_VIEWPORT],storefront-swiper[data-pxp-height-strategy=FILL_VIEWPORT],.pxp-swiper[height-strategy=FILL_VIEWPORT],.pxp-swiper[data-pxp-height-strategy=FILL_VIEWPORT]{height:calc(100vh - var(--navigationHeight) - var(--appBarHeight))}storefront-swiper[height-strategy=FILL_VIEWPORT]>.swiper-container,storefront-swiper[data-pxp-height-strategy=FILL_VIEWPORT]>.swiper-container,.pxp-swiper[height-strategy=FILL_VIEWPORT]>.swiper-container,.pxp-swiper[data-pxp-height-strategy=FILL_VIEWPORT]>.swiper-container{height:100%}storefront-swiper[height-strategy=FILL_VIEWPORT]>.swiper-container>.swiper-wrapper>.swiper-slide>*,storefront-swiper[data-pxp-height-strategy=FILL_VIEWPORT]>.swiper-container>.swiper-wrapper>.swiper-slide>*,.pxp-swiper[height-strategy=FILL_VIEWPORT]>.swiper-container>.swiper-wrapper>.swiper-slide>*,.pxp-swiper[data-pxp-height-strategy=FILL_VIEWPORT]>.swiper-container>.swiper-wrapper>.swiper-slide>*{padding-top:var(--swiperPaginationTabHeight);max-height:100%}storefront-swiper[pagination-type=tabs] .swiper-pagination-wrapper,storefront-swiper[data-pxp-pagination-type=tabs] .swiper-pagination-wrapper,.pxp-swiper[pagination-type=tabs] .swiper-pagination-wrapper,.pxp-swiper[data-pxp-pagination-type=tabs] .swiper-pagination-wrapper{position:fixed;top:var(--appBarHeight);bottom:auto!important;background-color:var(--swiperPaginationBackgroundColor);margin:0;height:var(--swiperPaginationTabHeight);display:flex;justify-content:center;align-items:center;width:100%;z-index:1}storefront-swiper[pagination-type=tabs] .pagination-position-indicator,storefront-swiper[data-pxp-pagination-type=tabs] .pagination-position-indicator,.pxp-swiper[pagination-type=tabs] .pagination-position-indicator,.pxp-swiper[data-pxp-pagination-type=tabs] .pagination-position-indicator{position:absolute;height:100%;bottom:0;left:0;transition:transform .15s ease;background:transparent;border-bottom:var(--swiperPaginationBorderWidth) solid var(--swiperPaginationColor);overflow:hidden}storefront-swiper[pagination-type=tabs] .swiper-pagination,storefront-swiper[data-pxp-pagination-type=tabs] .swiper-pagination,.pxp-swiper[pagination-type=tabs] .swiper-pagination,.pxp-swiper[data-pxp-pagination-type=tabs] .swiper-pagination{height:100%;display:flex;justify-content:center;align-items:center;width:100%;margin:0;max-width:640px}storefront-swiper[pagination-type=tabs] .swiper-pagination .swiper-pagination-tab,storefront-swiper[data-pxp-pagination-type=tabs] .swiper-pagination .swiper-pagination-tab,.pxp-swiper[pagination-type=tabs] .swiper-pagination .swiper-pagination-tab,.pxp-swiper[data-pxp-pagination-type=tabs] .swiper-pagination .swiper-pagination-tab{display:flex;align-items:center;justify-content:center;background:transparent!important;border-radius:0;width:auto;height:100%;flex:1 1 0;padding:10px;position:relative;overflow:hidden}storefront-swiper[pagination-type=tabs] .swiper-pagination .swiper-pagination-tab-active,storefront-swiper[data-pxp-pagination-type=tabs] .swiper-pagination .swiper-pagination-tab-active,.pxp-swiper[pagination-type=tabs] .swiper-pagination .swiper-pagination-tab-active,.pxp-swiper[data-pxp-pagination-type=tabs] .swiper-pagination .swiper-pagination-tab-active{color:var(--swiperPaginationColor)}\n"],encapsulation:2,changeDetection:0}),l})(),xi=(()=>{var n;class l{}return(n=l).\u0275fac=function(i){return new(i||n)},n.\u0275mod=e.$C({type:n}),n.\u0275inj=e.G2t({imports:[m.MD]}),l})();const Ci={component:D,leanDomComponent:vi}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_ticker_ticker_module_ts"],{6082:(rt,U,p)=>{p.r(U),p.d(U,{TickerModule:()=>et,component:()=>nt});var g=p(177),O=p(467),A=p(9379),x=p(8251),S=p(1210),D=p(3178);const M={url:"https://news.purpledshub.com/demo/index.php/wp-json/wp/v2/ditty_news_ticker"};var V=p(8890),B=p(3236),Y=p(1584),e=p(4438),J=p(9516),P=p(1652);const z=["ticksContainer"];function H(n,l){if(1&n&&(e.j41(0,"div",4),e.EFF(1),e.k0s()),2&n){const i=l.$implicit;e.R7$(),e.JRh(i.tick)}}function W(n,l){if(1&n&&(e.j41(0,"div",2,0),e.DNE(2,H,2,1,"div",3),e.k0s()),2&n){const i=e.XpG();e.R7$(2),e.Y8G("ngForOf",i.ticks)}}let L=(()=>{var n;class l extends S.${get isEmpty(){return!this.ticks||!this.ticks.length}constructor(s,o,r,a,k,t){super(o,s,r,k,t),this.elementRef=s,this.injector=o,this.contextService=r,this.subscriptions=a,this.document=k,this.globalService=t,this.defaultConfig=(0,A.A)({},M),this.ticks=[],this.translate=0}ngOnInit(){super.ngOnInit(),this.subscriptions.subscribe((0,V.Ne)(),s=>this.animate())}onConfigChanges(){var s=this;return(0,O.A)(function*(){try{const o=yield(0,D.hI)(s.config.url);o[0]&&(s.ticks=function N(n){var l=function(r){for(var a=r.length,k=r.length-1;k>=0;k--){var t=r.charCodeAt(k);t>127&&t<=2047?a++:t>2047&&t<=65535&&(a+=2),t>=56320&&t<=57343&&k--}return a-1},i=function(r,a,k){for(var t=2,m=[],v=r.slice(a,a+1);v!==k;){if(t+a>r.length)throw Error("Invalid");m.push(v),v=r.slice(a+(t-1),a+t),t+=1}return[m.length,m.join("")]};try{return"string"==typeof n&&function o(r,a){var k,t,m,v,E,C,F,b,h,c,I,w,u,y,G,j,f=0,T=function(d){return d};switch(a||(a=0),t=a+2,k=r.slice(a,a+1)){case"i":T=function(d){return parseInt(d,10)},h=(c=i(r,t,";"))[1],t+=(f=c[0])+1;break;case"b":T=function(d){switch(parseInt(d,10)){case 0:return!1;case 1:return!0;default:throw SyntaxError("Invalid boolean value")}},h=(c=i(r,t,";"))[1],t+=(f=c[0])+1;break;case"d":T=function(d){return parseFloat(d)},h=(c=i(r,t,";"))[1],t+=(f=c[0])+1;break;case"n":h=null;break;case"s":if(w=(I=i(r,t,":"))[1],c=function(r,a,k){var t,m,v;for(v=[],t=0;t<k;t++)m=r.slice(a+(t-1),a+t),v.push(m),k-=l(m);return[v.length,v.join("")]}(r,(t+=(f=I[0])+2)+1,parseInt(w,10)),h=c[1],t+=(f=c[0])+2,f!==parseInt(w,10)&&f!==h.length)throw SyntaxError("String length mismatch");break;case"a":for(h={},v=(m=i(r,t,":"))[1],t+=(f=m[0])+2,C=parseInt(v,10),E=!0,u=0;u<C;u++)y=(G=o(r,t))[2],t+=G[1],t+=(j=o(r,t))[1],y!==u&&(E=!1),h[y]=j[2];if(E){for(F=new Array(C),u=0;u<C;u++)F[u]=h[u];h=F}t+=1;break;case"O":if(c=i(r,t,":"),'"stdClass"'!==(c=i(r,t+=c[0]+1,":"))[1])throw Error("Unsupported object type: "+c[1]);for(c=i(r,t+=c[0]+1,":"),v=parseInt(c[1],10),t+=c[0]+2,b={},u=0;u<v;u++)y=(c=o(r,t))[2],t+=c[1],t+=(c=o(r,t))[1],b[y]=c[2];t+=1,h=b;break;default:throw SyntaxError("Unknown / Unhandled data type(s): "+k)}return[k,t-a,T(h)]}(n,0)[2]}catch(r){return console.error(r),!1}}(o[0].metadata._mtphr_dnt_ticks[0]),s.ticks.length&&(s.changeDetectorRef.detectChanges(),s.animate()))}catch(o){console.warn("Error fetching ticker data")}})()}resetTranslate(){this.translate=this.elementRef.nativeElement.parentNode.offsetWidth,this.ticksContainer.nativeElement.style.transform="translateX(".concat(this.translate,"px)")}animate(){this.resetTranslate(),this.subscriptions.subscribe(function Q(n=0,l=B.E){return n<0&&(n=0),(0,Y.O)(n,n,l)}(12),()=>{this.translate-=1,this.ticksContainer.nativeElement.style.transform="translateX(".concat(this.translate,"px)"),-1*this.translate>this.ticksContainer.nativeElement.offsetWidth&&this.resetTranslate()},D.lQ,D.lQ,"interval"),this.changeDetectorRef.detectChanges()}}return(n=l).type="ticker",n.\u0275fac=function(s){return new(s||n)(e.rXU(e.aKT),e.rXU(e.zZn),e.rXU(J.V),e.rXU(x.v),e.rXU(g.qQ),e.rXU(P.d))},n.\u0275cmp=e.VBU({type:n,selectors:[["storefront-ticker"]],viewQuery:function(s,o){if(1&s&&e.GBs(z,5),2&s){let r;e.mGM(r=e.lsd())&&(o.ticksContainer=r.first)}},hostVars:2,hostBindings:function(s,o){2&s&&e.AVh("empty",o.isEmpty)},standalone:!1,features:[e.Jv_([x.v]),e.Vt3],decls:1,vars:1,consts:[["ticksContainer",""],["class","ticker-ticks",4,"ngIf"],[1,"ticker-ticks"],["class","ticker-tick",4,"ngFor","ngForOf"],[1,"ticker-tick"]],template:function(s,o){1&s&&e.DNE(0,W,3,1,"div",1),2&s&&e.Y8G("ngIf",o.ticks&&o.ticks.length)},dependencies:[g.Sq,g.bT],styles:["storefront-ticker,.pxp-ticker{display:flex;overflow:hidden}storefront-ticker .ticker-ticks,.pxp-ticker .ticker-ticks{display:flex;padding:var(--tickerPaddingY) 0}storefront-ticker .ticker-ticks .ticker-tick,.pxp-ticker .ticker-ticks .ticker-tick{margin:0 var(--tickerGutter);white-space:nowrap}storefront-ticker.empty,.pxp-ticker.empty{display:none}\n"],encapsulation:2,changeDetection:0}),l})();const Z=["class","pxp-ticker"];function _(n,l){if(1&n&&(e.j41(0,"div",4),e.EFF(1),e.k0s()),2&n){const i=l.$implicit;e.R7$(),e.JRh(i.tick)}}function q(n,l){if(1&n&&(e.j41(0,"div",2,0),e.DNE(2,_,2,1,"div",3),e.k0s()),2&n){const i=e.XpG();e.R7$(2),e.Y8G("ngForOf",i.ticks)}}let tt=(()=>{var n;class l extends L{}return(n=l).\u0275fac=(()=>{let i;return function(o){return(i||(i=e.xGo(n)))(o||n)}})(),n.\u0275cmp=e.VBU({type:n,selectors:[["div",8,"pxp-ticker"]],standalone:!1,features:[e.Jv_([x.v]),e.Vt3],attrs:Z,decls:1,vars:1,consts:[["ticksContainer",""],["class","ticker-ticks",4,"ngIf"],[1,"ticker-ticks"],["class","ticker-tick",4,"ngFor","ngForOf"],[1,"ticker-tick"]],template:function(s,o){1&s&&e.DNE(0,q,3,1,"div",1),2&s&&e.Y8G("ngIf",o.ticks&&o.ticks.length)},dependencies:[g.Sq,g.bT],styles:["storefront-ticker,.pxp-ticker{display:flex;overflow:hidden}storefront-ticker .ticker-ticks,.pxp-ticker .ticker-ticks{display:flex;padding:var(--tickerPaddingY) 0}storefront-ticker .ticker-ticks .ticker-tick,.pxp-ticker .ticker-ticks .ticker-tick{margin:0 var(--tickerGutter);white-space:nowrap}storefront-ticker.empty,.pxp-ticker.empty{display:none}\n"],encapsulation:2,changeDetection:0}),l})(),et=(()=>{var n;class l{}return(n=l).\u0275fac=function(s){return new(s||n)},n.\u0275mod=e.$C({type:n}),n.\u0275inj=e.G2t({imports:[g.MD]}),l})();const nt={component:L,leanDomComponent:tt}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_toggle_toggle_module_ts"],{62:(M,m,l)=>{l.r(m),l.d(m,{ToggleModule:()=>B,component:()=>F});var g=l(177),i=l(467),c=l(9379),d=l(4404),p=l(8251);const x={content:"publication-type"};var G=l(610),D=l(1210),X=l(8075),t=l(4438),u=l(3331),L=l(8448),S=l(9516),I=l(1652),v=l(8909);function N(n,s){if(1&n){const r=t.RV6();t.j41(0,"div",2),t.bIt("click",function(){const o=t.eBV(r).$implicit,a=t.XpG(2);return t.Njj(a.setSelection(o))}),t.k0s()}if(2&n){const r=s.$implicit,e=t.XpG(2);t.AVh("selected",e.isSelected(r)),t.Y8G("storefrontTranslate",r.name)}}function V(n,s){if(1&n&&(t.qex(0),t.DNE(1,N,1,3,"div",1),t.bVm()),2&n){const r=t.XpG();t.R7$(),t.Y8G("ngForOf",r.entries)}}let T=(()=>{var n;class s extends D.${constructor(e,o,a,f,$,j,y,C,h){super(a,o,y,C,h),this.route=e,this.elementRef=o,this.injector=a,this.router=f,this.store=$,this.translate=j,this.contextService=y,this.document=C,this.globalService=h,this.defaultConfig=(0,c.A)({},x)}ngOnInit(){var e=this;return(0,i.A)(function*(){e.baseConfig=(0,c.A)((0,c.A)({},e.defaultConfig),e.baseConfig),e.entries=yield e.loadEntries(),e.store.subscribe(e.route.queryParams,o=>{const a=o[e.baseConfig.content];e.setSelection(a&&[...e.entries].find(f=>f.value===a)||e.entries[0])})})()}loadEntries(){var e=this;return(0,i.A)(function*(){return"publication-type"===e.baseConfig.content?[{name:"TOGGLE_PUBLICATION_TYPE_KIOSK",value:d.PublicationType.KIOSK},{name:"TOGGLE_PUBLICATION_TYPE_CHANNEL",value:d.PublicationType.CHANNEL}]:[]})()}setSelection(e){var o=this;return(0,i.A)(function*(){JSON.stringify(o.selection)!==JSON.stringify(e)&&(o.selection=e,o.store.dispatch((0,G.k4)({url:window.location.href,key:"toggle-".concat(o.baseConfig.content),params:{[o.baseConfig.content]:o.selection.value,["".concat(o.baseConfig.content,"-translated")]:yield o.translate.translate(o.selection.name)}})),(0,X.CV)(o.router,{[o.baseConfig.content]:o.selection.value}))})()}isSelected(e){return e===this.selection}}return(n=s).type="toggle",n.\u0275fac=function(e){return new(e||n)(t.rXU(u.nX),t.rXU(t.aKT),t.rXU(t.zZn),t.rXU(u.Ix),t.rXU(p.B),t.rXU(L.D),t.rXU(S.V),t.rXU(g.qQ),t.rXU(I.d))},n.\u0275cmp=t.VBU({type:n,selectors:[["storefront-toggle"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],["class","toggle-entry",3,"selected","storefrontTranslate","click",4,"ngFor","ngForOf"],[1,"toggle-entry",3,"click","storefrontTranslate"]],template:function(e,o){1&e&&t.DNE(0,V,2,1,"ng-container",0),2&e&&t.Y8G("ngIf",o.entries)},dependencies:[g.Sq,g.bT,v.M],styles:["storefront-toggle,.pxp-toggle{display:flex}storefront-toggle .toggle-entry,.pxp-toggle .toggle-entry{flex:1 1 0;text-align:center;padding:calc(var(--gutter) / 4) var(--gutter);white-space:nowrap}storefront-toggle .toggle-entry.selected,.pxp-toggle .toggle-entry.selected{background-color:var(--primaryColor)}\n"],encapsulation:2}),s})();var O=l(6483);const U=["class","pxp-toggle"];function A(n,s){if(1&n){const r=t.RV6();t.j41(0,"div",2),t.bIt("click",function(){const o=t.eBV(r).$implicit,a=t.XpG(2);return t.Njj(a.setSelection(o))}),t.k0s()}if(2&n){const r=s.$implicit,e=t.XpG(2);t.AVh("selected",e.isSelected(r)),t.Y8G("storefrontTranslate",r.name)}}function E(n,s){if(1&n&&(t.qex(0),t.DNE(1,A,1,3,"div",1),t.bVm()),2&n){const r=t.XpG();t.R7$(),t.Y8G("ngForOf",r.entries)}}let b=(()=>{var n;class s extends T{}return(n=s).\u0275fac=(()=>{let r;return function(o){return(r||(r=t.xGo(n)))(o||n)}})(),n.\u0275cmp=t.VBU({type:n,selectors:[["div",8,"pxp-toggle"]],standalone:!1,features:[t.Jv_([p.B]),t.Vt3],attrs:U,decls:1,vars:1,consts:[[4,"ngIf"],["class","toggle-entry",3,"selected","storefrontTranslate","click",4,"ngFor","ngForOf"],[1,"toggle-entry",3,"click","storefrontTranslate"]],template:function(e,o){1&e&&t.DNE(0,E,2,1,"ng-container",0),2&e&&t.Y8G("ngIf",o.entries)},dependencies:[g.Sq,g.bT,v.M],styles:["storefront-toggle,.pxp-toggle{display:flex}storefront-toggle .toggle-entry,.pxp-toggle .toggle-entry{flex:1 1 0;text-align:center;padding:calc(var(--gutter) / 4) var(--gutter);white-space:nowrap}storefront-toggle .toggle-entry.selected,.pxp-toggle .toggle-entry.selected{background-color:var(--primaryColor)}\n"],encapsulation:2}),s})(),B=(()=>{var n;class s{}return(n=s).\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[g.MD,O.h]}),s})();const F={component:T,leanDomComponent:b}}}]);
|