@pronto-tools-and-more/files 4.4.0 → 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/files/framework/src/default/content/assets/FONTAWESOME_LICENSE.txt +34 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-BoldItalic.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-ExtraBold.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-Italic.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-Light.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-LightItalic.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
- package/files/framework/src/default/content/assets/fonts/RobotoSlab-Bold.ttf +0 -0
- package/files/framework/src/default/content/assets/ic_arrow.svg +1 -0
- package/files/framework/src/default/content/assets/ic_audio.svg +19 -0
- package/files/framework/src/default/content/assets/ic_bookmark.svg +10 -0
- package/files/framework/src/default/content/assets/ic_bookmark_active.svg +9 -0
- package/files/framework/src/default/content/assets/ic_close.svg +16 -0
- package/files/framework/src/default/content/assets/ic_download.svg +13 -0
- package/files/framework/src/default/content/assets/ic_download_circle.svg +15 -0
- package/files/framework/src/default/content/assets/ic_download_completed.svg +12 -0
- package/files/framework/src/default/content/assets/ic_download_completed_circle.svg +12 -0
- package/files/framework/src/default/content/assets/ic_downloading.svg +13 -0
- package/files/framework/src/default/content/assets/ic_downloading_circle.svg +15 -0
- package/files/framework/src/default/content/assets/ic_font_size.svg +1 -0
- package/files/framework/src/default/content/assets/ic_left.svg +15 -0
- package/files/framework/src/default/content/assets/ic_left_arrow.svg +11 -0
- package/files/framework/src/default/content/assets/ic_night_mode.svg +20 -0
- package/files/framework/src/default/content/assets/ic_night_mode_active.svg +20 -0
- package/files/framework/src/default/content/assets/ic_overlay_loading.svg +13 -0
- package/files/framework/src/default/content/assets/ic_pause.svg +19 -0
- package/files/framework/src/default/content/assets/ic_play.svg +16 -0
- package/files/framework/src/default/content/assets/ic_player.svg +19 -0
- package/files/framework/src/default/content/assets/ic_player_active.svg +19 -0
- package/files/framework/src/default/content/assets/ic_right.svg +15 -0
- package/files/framework/src/default/content/assets/ic_right_arrow.svg +11 -0
- package/files/framework/src/default/content/assets/ic_seek_back.svg +19 -0
- package/files/framework/src/default/content/assets/ic_seek_forward.svg +19 -0
- package/files/framework/src/default/content/assets/ic_settings.svg +16 -0
- package/files/framework/src/default/content/assets/ic_share_android.svg +11 -0
- package/files/framework/src/default/content/assets/ic_share_ios.svg +13 -0
- package/files/framework/src/default/content/assets/ic_speech.svg +15 -0
- package/files/framework/src/default/content/assets/ic_speech_female.svg +11 -0
- package/files/framework/src/default/content/assets/ic_speech_male.svg +11 -0
- package/files/framework/src/default/content/assets/ic_speech_rate.svg +11 -0
- package/files/framework/src/default/content/assets/ic_toc.svg +22 -0
- package/files/framework/src/default/content/assets/ic_video.svg +21 -0
- package/files/framework/src/default/content/assets/ic_zoom.svg +1 -0
- package/files/framework/src/default/content/assets/img/spinner.gif +0 -0
- package/files/framework/src/default/content/assets/logo.png +0 -0
- package/files/framework/src/default/content/assets/swiper/swiper-bundle.min.css +13 -0
- package/files/framework/src/default/content/assets/swiper/swiper-bundle.min.js +1 -0
- package/files/framework/src/default/content/assets/tail-spin.gif +0 -0
- package/files/framework/src/default/content/assets/tail-spin.svg +32 -0
- package/files/framework/src/default/content/core.css +29 -0
- package/files/framework/src/default/content/core.js +10896 -0
- package/files/framework/src/default/content/functions.css +2 -0
- package/files/framework/src/default/content/functions.js +1 -0
- package/files/framework/src/default/content/publish-press-author.css +407 -0
- package/files/framework/src/default/content/publish-press-author.js +290 -0
- package/files/framework/src/default/content/resources.json +1 -0
- package/files/framework/src/default/content/theme.css +16 -0
- package/files/framework/src/default/content/theme.js +720 -0
- package/files/framework/src/default/content/tts.css +7 -0
- package/files/framework/src/default/content/tts.js +5 -0
- package/files/framework/src/default/content/uag.css +20 -0
- package/files/framework/src/default/content/uag.js +166 -0
- package/files/framework/src/default/info/css/style.css +328 -0
- package/files/framework/src/default/info/font-awesome/HELP-US-OUT.txt +7 -0
- package/files/framework/src/default/info/font-awesome/css/font-awesome.css +2337 -0
- package/files/framework/src/default/info/font-awesome/css/font-awesome.min.css +4 -0
- package/files/framework/src/default/info/font-awesome/fonts/FontAwesome.otf +0 -0
- package/files/framework/src/default/info/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- package/files/framework/src/default/info/font-awesome/fonts/fontawesome-webfont.svg +2671 -0
- package/files/framework/src/default/info/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- package/files/framework/src/default/info/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- package/files/framework/src/default/info/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- package/files/framework/src/default/info/font-awesome/less/animated.less +34 -0
- package/files/framework/src/default/info/font-awesome/less/bordered-pulled.less +25 -0
- package/files/framework/src/default/info/font-awesome/less/core.less +12 -0
- package/files/framework/src/default/info/font-awesome/less/fixed-width.less +6 -0
- package/files/framework/src/default/info/font-awesome/less/font-awesome.less +18 -0
- package/files/framework/src/default/info/font-awesome/less/icons.less +789 -0
- package/files/framework/src/default/info/font-awesome/less/larger.less +13 -0
- package/files/framework/src/default/info/font-awesome/less/list.less +19 -0
- package/files/framework/src/default/info/font-awesome/less/mixins.less +60 -0
- package/files/framework/src/default/info/font-awesome/less/path.less +15 -0
- package/files/framework/src/default/info/font-awesome/less/rotated-flipped.less +20 -0
- package/files/framework/src/default/info/font-awesome/less/screen-reader.less +5 -0
- package/files/framework/src/default/info/font-awesome/less/stacked.less +20 -0
- package/files/framework/src/default/info/font-awesome/less/variables.less +800 -0
- package/files/framework/src/default/info/font-awesome/scss/_animated.scss +34 -0
- package/files/framework/src/default/info/font-awesome/scss/_bordered-pulled.scss +25 -0
- package/files/framework/src/default/info/font-awesome/scss/_core.scss +12 -0
- package/files/framework/src/default/info/font-awesome/scss/_fixed-width.scss +6 -0
- package/files/framework/src/default/info/font-awesome/scss/_icons.scss +789 -0
- package/files/framework/src/default/info/font-awesome/scss/_larger.scss +13 -0
- package/files/framework/src/default/info/font-awesome/scss/_list.scss +19 -0
- package/files/framework/src/default/info/font-awesome/scss/_mixins.scss +60 -0
- package/files/framework/src/default/info/font-awesome/scss/_path.scss +15 -0
- package/files/framework/src/default/info/font-awesome/scss/_rotated-flipped.scss +20 -0
- package/files/framework/src/default/info/font-awesome/scss/_screen-reader.scss +5 -0
- package/files/framework/src/default/info/font-awesome/scss/_stacked.scss +20 -0
- package/files/framework/src/default/info/font-awesome/scss/_variables.scss +800 -0
- package/files/framework/src/default/info/font-awesome/scss/font-awesome.scss +18 -0
- package/files/framework/src/default/info/fonts/Roboto-Bold.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-Italic.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-Light.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-LightItalic.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-Medium.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-MediumItalic.ttf +0 -0
- package/files/framework/src/default/info/fonts/Roboto-Regular.ttf +0 -0
- package/files/framework/src/default/info/img/banner.png +0 -0
- package/files/framework/src/default/info/index.html +94 -0
- package/files/framework/src/default/info/theme.css +181 -0
- package/files/framework/src/default/menuicons/account.png +0 -0
- package/files/framework/src/default/menuicons/account@2x.png +0 -0
- package/files/framework/src/default/menuicons/account@3x.png +0 -0
- package/files/framework/src/default/menuicons/bookmarks.png +0 -0
- package/files/framework/src/default/menuicons/bookmarks@2x.png +0 -0
- package/files/framework/src/default/menuicons/bookmarks@3x.png +0 -0
- package/files/framework/src/default/menuicons/calendar.png +0 -0
- package/files/framework/src/default/menuicons/calendar@2x.png +0 -0
- package/files/framework/src/default/menuicons/calendar@3x.png +0 -0
- package/files/framework/src/default/menuicons/chain.png +0 -0
- package/files/framework/src/default/menuicons/chain@2x.png +0 -0
- package/files/framework/src/default/menuicons/chain@3x.png +0 -0
- package/files/framework/src/default/menuicons/feedback.png +0 -0
- package/files/framework/src/default/menuicons/feedback@2x.png +0 -0
- package/files/framework/src/default/menuicons/feedback@3x.png +0 -0
- package/files/framework/src/default/menuicons/forum.png +0 -0
- package/files/framework/src/default/menuicons/forum@2x.png +0 -0
- package/files/framework/src/default/menuicons/forum@3x.png +0 -0
- package/files/framework/src/default/menuicons/info.png +0 -0
- package/files/framework/src/default/menuicons/kiosk.png +0 -0
- package/files/framework/src/default/menuicons/kiosk@2x.png +0 -0
- package/files/framework/src/default/menuicons/kiosk@3x.png +0 -0
- package/files/framework/src/default/menuicons/legal.png +0 -0
- package/files/framework/src/default/menuicons/legal@2x.png +0 -0
- package/files/framework/src/default/menuicons/legal@3x.png +0 -0
- package/files/framework/src/default/menuicons/login.png +0 -0
- package/files/framework/src/default/menuicons/login@2x.png +0 -0
- package/files/framework/src/default/menuicons/login@3x.png +0 -0
- package/files/framework/src/default/menuicons/logout.png +0 -0
- package/files/framework/src/default/menuicons/logout@2x.png +0 -0
- package/files/framework/src/default/menuicons/logout@3x.png +0 -0
- package/files/framework/src/default/menuicons/newsfeed.png +0 -0
- package/files/framework/src/default/menuicons/newsfeed@2x.png +0 -0
- package/files/framework/src/default/menuicons/newsfeed@3x.png +0 -0
- package/files/framework/src/default/menuicons/newsstand.png +0 -0
- package/files/framework/src/default/menuicons/newsstand@2x.png +0 -0
- package/files/framework/src/default/menuicons/newsstand@3x.png +0 -0
- package/files/framework/src/default/menuicons/purple.png +0 -0
- package/files/framework/src/default/menuicons/purple@2x.png +0 -0
- package/files/framework/src/default/menuicons/purple@3x.png +0 -0
- package/files/framework/src/default/menuicons/restore.png +0 -0
- package/files/framework/src/default/menuicons/restore@2x.png +0 -0
- package/files/framework/src/default/menuicons/restore@3x.png +0 -0
- package/files/framework/src/default/menuicons/settings.png +0 -0
- package/files/framework/src/default/menuicons/share.png +0 -0
- package/files/framework/src/default/menuicons/share@2x.png +0 -0
- package/files/framework/src/default/menuicons/share@3x.png +0 -0
- package/files/framework/src/default/menuicons/shop.png +0 -0
- package/files/framework/src/default/menuicons/shop@2x.png +0 -0
- package/files/framework/src/default/menuicons/shop@3x.png +0 -0
- package/files/framework/src/default/menuicons/socialmedia.png +0 -0
- package/files/framework/src/default/menuicons/socialmedia@2x.png +0 -0
- package/files/framework/src/default/menuicons/socialmedia@3x.png +0 -0
- package/files/framework/src/default/menuicons/subscriptions.png +0 -0
- package/files/framework/src/default/menuicons/subscriptions@2x.png +0 -0
- package/files/framework/src/default/menuicons/subscriptions@3x.png +0 -0
- package/files/framework/src/default/menuicons/voucher.png +0 -0
- package/files/framework/src/default/menuicons/voucher@2x.png +0 -0
- package/files/framework/src/default/menuicons/voucher@3x.png +0 -0
- package/files/framework/src/default/menuicons/website.png +0 -0
- package/files/framework/src/default/menuicons/website@2x.png +0 -0
- package/files/framework/src/default/menuicons/website@3x.png +0 -0
- package/files/framework/src/default/onboarding/3rdpartylicenses.txt +574 -0
- package/files/framework/src/default/onboarding/assets/config/message.json +7 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding.json +48 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/1_Welcome.png +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/2_MenuPhone.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/2_MenuTablet.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/3_NewsstandPhone.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/3_NewsstandTablet.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/4_PublicationPhone.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/4_PublicationTablet.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/5_NewsfeedPhone.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/5_NewsfeedTablet.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/6_FeaturesPhone.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_images/6_FeaturesTablet.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_videos/BLI_Cover-Image-Video_1.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/onboarding_videos/BLI_Cover-Image-Video_4.jpg +0 -0
- package/files/framework/src/default/onboarding/assets/config/style.json +19 -0
- package/files/framework/src/default/onboarding/assets/config/url.json +5 -0
- package/files/framework/src/default/onboarding/assets/font/Ionicons/ionicons.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-Bold.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-BoldItalic.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-ExtraBold.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-ExtraBoldItalic.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-Italic.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-Light.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-LightItalic.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-Regular.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-SemiBold.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/OpenSans/OpenSans-SemiBoldItalic.ttf +0 -0
- package/files/framework/src/default/onboarding/assets/font/fonts.css +73 -0
- package/files/framework/src/default/onboarding/favicon.ico +0 -0
- package/files/framework/src/default/onboarding/index.html +15 -0
- package/files/framework/src/default/onboarding/main.js +1 -0
- package/files/framework/src/default/onboarding/polyfills-es5.js +1 -0
- package/files/framework/src/default/onboarding/polyfills.js +1 -0
- package/files/framework/src/default/onboarding/runtime.js +1 -0
- package/files/framework/src/default/onboarding/styles.css +1 -0
- package/files/framework/src/default/onboarding/vendor.js +1 -0
- package/files/framework/src/default/readmode/custom.js +40 -0
- package/files/framework/src/default/readmode/ic_audio.svg +19 -0
- package/files/framework/src/default/readmode/ic_close.svg +16 -0
- package/files/framework/src/default/readmode/ic_font_size.svg +1 -0
- package/files/framework/src/default/readmode/ic_night_mode.svg +20 -0
- package/files/framework/src/default/readmode/ic_pause.svg +19 -0
- package/files/framework/src/default/readmode/ic_play.svg +16 -0
- package/files/framework/src/default/readmode/ic_speech.svg +15 -0
- package/files/framework/src/default/readmode/ic_speech_female.svg +11 -0
- package/files/framework/src/default/readmode/ic_speech_male.svg +11 -0
- package/files/framework/src/default/storefront/3rdpartylicenses.txt +962 -0
- package/files/framework/src/default/storefront/assets/access.json +10 -0
- package/files/framework/src/default/storefront/assets/appBar.json +1 -0
- package/files/framework/src/default/storefront/assets/banner/banner_not_found.jpg +0 -0
- package/files/framework/src/default/storefront/assets/downloadOptions.json +1 -0
- package/files/framework/src/default/storefront/assets/faq.html +87 -0
- package/files/framework/src/default/storefront/assets/features.json +3 -0
- package/files/framework/src/default/storefront/assets/generic-widget.json +1 -0
- package/files/framework/src/default/storefront/assets/login.html +329 -0
- package/files/framework/src/default/storefront/assets/navigation.json +1 -0
- package/files/framework/src/default/storefront/assets/platform.css +7 -0
- package/files/framework/src/default/storefront/assets/submit.css +7 -0
- package/files/framework/src/default/storefront/assets/subscription-benefits.json +11 -0
- package/files/framework/src/default/storefront/assets/termsofuse.html +123 -0
- package/files/framework/src/default/storefront/assets/tts_config.json +3 -0
- package/files/framework/src/default/storefront/assets/urls.json +11 -0
- package/files/framework/src/default/storefront/buildInfo.json +7 -0
- package/files/framework/src/default/storefront/deep-link-landing/index.html +1 -0
- package/files/framework/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +842 -0
- package/files/framework/src/default/storefront/deep-link-landing/purple-deep-link-landing.js.LICENSE.txt +13 -0
- package/files/framework/src/default/storefront/index.html +21 -0
- package/files/framework/src/default/storefront/modules/DS_logo.svg +1 -0
- package/files/framework/src/default/storefront/modules/alphaMask.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_backward.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_first.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_forward.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_fullwidth.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_fullwidth_active.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_last.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_pin.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_toc.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_zoom.png +0 -0
- package/files/framework/src/default/storefront/modules/btn_zoom_active.png +0 -0
- package/files/framework/src/default/storefront/modules/common.js +1 -0
- package/files/framework/src/default/storefront/modules/default-node_modules_angular_forms_fesm2022_forms_mjs.js +1 -0
- package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_component_base-component_base-datacollection_component_ts-4706f8.js +1 -0
- package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_component_content_content_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_component_issue_issue_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_service_tts_tts_service_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/ic_backward.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_close.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_forward.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_fullscreen.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_fullscreen@2x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_fullscreen@3x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_overlay_loading.svg +13 -0
- package/files/framework/src/default/storefront/modules/ic_pause.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_pause.svg +19 -0
- package/files/framework/src/default/storefront/modules/ic_pause@2x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_pause@3x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_play.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_play.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_play@2x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_play@3x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_player.svg +17 -0
- package/files/framework/src/default/storefront/modules/ic_player_active.svg +17 -0
- package/files/framework/src/default/storefront/modules/ic_refresh.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_seek_back.svg +19 -0
- package/files/framework/src/default/storefront/modules/ic_seek_forward.svg +19 -0
- package/files/framework/src/default/storefront/modules/ic_settings.svg +16 -0
- package/files/framework/src/default/storefront/modules/ic_smallscreen.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_smallscreen@2x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_smallscreen@3x.png +0 -0
- package/files/framework/src/default/storefront/modules/ic_speech.svg +15 -0
- package/files/framework/src/default/storefront/modules/ic_speech_female.svg +11 -0
- package/files/framework/src/default/storefront/modules/ic_speech_male.svg +11 -0
- package/files/framework/src/default/storefront/modules/icon_close.png +0 -0
- package/files/framework/src/default/storefront/modules/main.js +1 -0
- package/files/framework/src/default/storefront/modules/node_modules_clientjs_dist_client_base_min_js.js +1 -0
- package/files/framework/src/default/storefront/modules/node_modules_mustache_mustache_js.js +1 -0
- package/files/framework/src/default/storefront/modules/node_modules_purple_web-player_dist_webPresenter_js_vendor_js.js +1 -0
- package/files/framework/src/default/storefront/modules/node_modules_purple_web-player_dist_webPresenter_js_webPresenter_min_js.js +1 -0
- package/files/framework/src/default/storefront/modules/polyfills.js +1 -0
- package/files/framework/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/src/default/storefront/modules/projects_storefront_src_app_component_action-executor_action-executor_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_app-menu-xml_app-menu-xml_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_bookmark_bookmark_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-featured-image_content-featured-c9ba26.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_category_category_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_collection_collection_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_component_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_coupon_coupon_module_ts.js +1 -0
- package/files/framework/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/src/default/storefront/modules/projects_storefront_src_app_component_download-issues_download-issues_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_dropdown_dropdown_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_embeddable-view_embeddable-view_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_iframe_iframe_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_issue-search-result_issue-search-result_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_login_login_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_menu_menu_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_product_product_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_publication-completion_publication-completion_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_publication_publication_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_recommendations_recommendations_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_search-field_search-field_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_subscription_subscription_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_swiper_swiper_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_ticker_ticker_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_toggle_toggle_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_toolbar_toolbar_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_web-presenter_presenter_presenter_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_widget_widget_module_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/projects_storefront_src_app_config_common_config_ts.js +1 -0
- package/files/framework/src/default/storefront/modules/runtime.js +1 -0
- package/files/framework/src/default/storefront/modules/styles.css +1 -0
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_content_content_module_ts"],{7808:($,D,c)=>{c.d(D,{B:()=>kn});var _=c(467),h=c(177),t=c(4438),d=c(4404),f=c(4412),G=c(5964),E=c(5343),N=c(6354),P=c(6697),B=c(6843),w=c(4452),C=c(8179),I=c(8471),x=c(9745),T=c(4945),R=c(4338),u=c(5706),O=c(7879),X=c(8890),W=c(1210),k=c(4365),M=c(2085),U=c(362),V=c(4622),F=c(1739),H=c(4004),K=c(2932),z=c(610),A=c(8091),j=c(3092),Z=c(20),J=c(8004),Q=c(5483),q=c(244),tt=c(6889),nt=c(1652),et=c(5820),ot=c(4748),rt=c(2838),at=c(680),it=c(8909),ct=c(7240),st=c(9383),lt=c(395),_t=c(2914),pt=c(2813);const S=r=>[r],gt=r=>({path:r}),dt=()=>({path:""}),ft=()=>[];function ut(r,i){if(1&r){const o=t.RV6();t.j41(0,"div",10),t.nrm(1,"span",11),t.j41(2,"button",12),t.bIt("click",function(){t.eBV(o);const n=t.XpG(2);return t.Njj(n.reload())}),t.k0s()()}if(2&r){const o=t.XpG(2);t.R7$(),t.Y8G("storefrontTranslateArgs",t.eq3(1,S,o.dataSourceError.code))}}function mt(r,i){if(1&r&&(t.qex(0),t.j41(1,"div",4),t.nrm(2,"storefront-image",5),t.k0s(),t.j41(3,"div",6),t.nrm(4,"h3",7)(5,"div",8),t.k0s(),t.DNE(6,ut,3,3,"div",9),t.bVm()),2&r){const o=t.XpG();t.R7$(2),t.Y8G("height","FIXED"),t.R7$(4),t.Y8G("ngIf",o.dataSourceError)}}function ht(r,i){1&r&&t.eu8(0)}function Ct(r,i){if(1&r){const o=t.RV6();t.j41(0,"a",16),t.nI1(1,"urlTransform"),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(3);return t.Njj(a.onClickCover(n))}),t.DNE(2,ht,1,0,"ng-container",17),t.k0s()}if(2&r){const o=t.XpG().ngIf;t.XpG();const e=t.sdS(6),n=t.XpG();t.Y8G("href",t.i5U(1,2,o,n.context),t.B4B),t.R7$(2),t.Y8G("ngTemplateOutlet",e)}}function Et(r,i){1&r&&t.eu8(0)}function vt(r,i){if(1&r){const o=t.RV6();t.j41(0,"a",18),t.nI1(1,"urlTransform"),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(3);return t.Njj(a.onClickContent(n))}),t.DNE(2,Et,1,0,"ng-container",19),t.k0s()}if(2&r){const o=t.XpG().ngIf;t.XpG();const e=t.sdS(8),n=t.XpG();t.AVh("expanded",n.descriptionExpanded),t.Y8G("href",t.i5U(1,5,o,n.context),t.B4B),t.R7$(2),t.Y8G("ngTemplateOutlet",e)("ngTemplateOutletContext",t.eq3(8,gt,o))}}function bt(r,i){if(1&r&&(t.qex(0),t.DNE(1,Ct,3,5,"a",14)(2,vt,3,10,"a",15),t.bVm()),2&r){const o=t.XpG(2);t.R7$(),t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.cover),t.R7$(),t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.allData)}}function Tt(r,i){1&r&&t.eu8(0)}function It(r,i){if(1&r){const o=t.RV6();t.j41(0,"div",22),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(3);return t.Njj(a.onClickCover(n))}),t.DNE(1,Tt,1,0,"ng-container",17),t.k0s()}if(2&r){t.XpG(2);const o=t.sdS(6);t.R7$(),t.Y8G("ngTemplateOutlet",o)}}function Ot(r,i){if(1&r){const o=t.RV6();t.j41(0,"div",23),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(3);return t.Njj(a.onClickContent(n))}),t.eu8(1,24),t.k0s()}if(2&r){t.XpG(2);const o=t.sdS(8),e=t.XpG();t.AVh("expanded",e.descriptionExpanded),t.R7$(),t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.lJ4(4,dt))}}function Dt(r,i){if(1&r&&t.DNE(0,It,2,1,"div",20)(1,Ot,2,5,"div",21),2&r){const o=t.XpG(2);t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.cover),t.R7$(),t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.allData)}}function xt(r,i){1&r&&t.nrm(0,"storefront-spinner")}function kt(r,i){1&r&&(t.j41(0,"div",28),t.nrm(1,"span",29),t.k0s())}function Rt(r,i){if(1&r&&t.nrm(0,"storefront-progress",30),2&r){const o=t.XpG(3);t.Y8G("type",o.getProgressType())("progress",o.installState.progress)}}function At(r,i){if(1&r&&(t.nrm(0,"storefront-image",25),t.DNE(1,xt,1,0,"storefront-spinner",3)(2,kt,2,0,"div",26)(3,Rt,1,2,"storefront-progress",27)),2&r){const o=t.XpG(2);t.Y8G("src",o.content.thumbnails&&o.content.thumbnails.default)("imageResolutionStrategy",null==o.config?null:o.config.imageResolutionStrategy)("height",o.getImageHeight())("extendedThumbnail",null==o.content||null==o.content.thumbnailsExtended?null:o.content.thumbnailsExtended.default)("label",null==o.content?null:o.content.name),t.R7$(),t.Y8G("ngIf",o.coverLoading),t.R7$(),t.Y8G("ngIf",o.showUpdateBehavior()),t.R7$(),t.Y8G("ngIf",o.showProgress())}}function St(r,i){if(1&r){const o=t.RV6();t.j41(0,"h3",48),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(3);return t.Njj(a.onClickCover(n))}),t.nrm(1,"span",49),t.k0s()}if(2&r){const o=t.XpG(3);t.R7$(),t.Y8G("storefrontTranslate",o.config.publicationTitleMessage)("storefrontTranslateArgs",t.eq3(2,S,o.publication&&o.publication.name))}}function yt(r,i){if(1&r){const o=t.RV6();t.j41(0,"h3",50),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(3);return t.Njj(a.onClickCover(n))}),t.nrm(1,"span",49),t.k0s()}if(2&r){const o=t.XpG(3);t.R7$(),t.Y8G("storefrontTranslate",o.config.titleMessage)("storefrontTranslateArgs",t.eq3(2,S,o.content.name))}}function Lt(r,i){1&r&&t.nrm(0,"i",51)}function Pt(r,i){if(1&r&&(t.j41(0,"div",52),t.EFF(1),t.nI1(2,"storefrontDate"),t.k0s()),2&r){const o=t.XpG(3);t.R7$(),t.SpI(" ",t.bMT(2,1,o.content.publicationDate)," ")}}function Mt(r,i){if(1&r&&t.nrm(0,"div",53),2&r){const o=t.XpG(3);t.Y8G("storefrontTranslate",o.config.descriptionMessage)("storefrontTranslateArgs",t.eq3(2,S,o.content.description))}}function Gt(r,i){if(1&r){const o=t.RV6();t.j41(0,"span",54),t.bIt("click",function(){t.eBV(o);const n=t.XpG(3);return t.Njj(n.descriptionExpanded=!n.descriptionExpanded)}),t.nrm(1,"span",55)(2,"i",56),t.k0s()}if(2&r){const o=t.XpG(3);t.R7$(),t.Y8G("storefrontTranslate",o.descriptionExpanded?"CONTENT_DESCRIPTION_TOGGLE_COLLAPSE":"CONTENT_DESCRIPTION_TOGGLE_EXPAND")}}function Nt(r,i){if(1&r&&(t.j41(0,"div")(1,"span"),t.EFF(2),t.k0s(),t.nrm(3,"i"),t.k0s()),2&r){const o=i.$implicit;t.ZWY("content-property content-property-",o.key," content-property-",o.key,"-",o.value,""),t.R7$(2),t.JRh(o.value),t.R7$(),t.ee0("'icon icon-",o.key," icon-",o.value," icon-",o.key,"-",o.value,"")}}function Bt(r,i){if(1&r&&(t.j41(0,"div",57),t.DNE(1,Nt,4,12,"div",58),t.k0s()),2&r){const o=t.XpG(3);t.R7$(),t.Y8G("ngForOf",o.visibleProperties)("ngForTrackBy",o.trackByProperty)}}function wt(r,i){if(1&r&&(t.j41(0,"div",61)(1,"span"),t.EFF(2),t.k0s(),t.nrm(3,"i"),t.k0s()),2&r){const o=i.$implicit;t.ZvI("content-category content-category-",o.id,""),t.R7$(2),t.JRh(o.name||o.id),t.R7$(),t.ZvI("icon icon-",o.id,"")}}function Ut(r,i){if(1&r&&(t.j41(0,"div",59),t.DNE(1,wt,4,7,"div",60),t.k0s()),2&r){const o=t.XpG(3);t.R7$(),t.Y8G("ngForOf",o.displayedCategories)("ngForTrackBy",o.trackByCategory)}}function Kt(r,i){if(1&r&&(t.j41(0,"div")(1,"span"),t.EFF(2),t.k0s(),t.nrm(3,"i"),t.k0s()),2&r){const o=i.$implicit;t.ZvI("content-tag content-tag-",o,""),t.R7$(2),t.JRh(o),t.R7$(),t.ZvI("icon icon-",o,"")}}function jt(r,i){if(1&r&&(t.j41(0,"div",62),t.DNE(1,Kt,4,7,"div",58),t.k0s()),2&r){const o=t.XpG(3);t.R7$(),t.Y8G("ngForOf",o.tags)("ngForTrackBy",o.trackByTag)}}function $t(r,i){if(1&r&&t.nrm(0,"div",49),2&r){const o=i.$implicit;t.ZvI("content-custom-message ",o.class||"",""),t.Y8G("storefrontTranslate",o.message)("storefrontTranslateArgs",o.variables||t.lJ4(5,ft))}}function Yt(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",63),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(3);return t.Njj(a.onClickShare(n))}),t.k0s()}}function Xt(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",64),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(3);return t.Njj(a.onClickBookmark(n))}),t.k0s()}if(2&r){const o=t.XpG(3);t.ZvI("icon ",o.bookmark?"icon-bookmark-active":"icon-bookmark","")}}function Wt(r,i){1&r&&t.nrm(0,"storefront-spinner",68)}function Vt(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",65),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(3);return t.Njj(a.onClickRead(n))}),t.nrm(1,"span",66),t.DNE(2,Wt,1,0,"storefront-spinner",67),t.k0s()}if(2&r){const o=t.XpG(3);t.Y8G("disabled",o.openLoading),t.R7$(2),t.Y8G("ngIf",o.openLoading)}}function Ft(r,i){1&r&&t.nrm(0,"storefront-spinner",68)}function Ht(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",69),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(3);return t.Njj(a.onClickPreview(n))}),t.nrm(1,"span",70),t.DNE(2,Ft,1,0,"storefront-spinner",67),t.k0s()}if(2&r){const o=t.XpG(3);t.Y8G("disabled",o.previewLoading),t.R7$(2),t.Y8G("ngIf",o.previewLoading)}}function zt(r,i){1&r&&t.nrm(0,"storefront-spinner",68)}function Zt(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",74),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(6);return t.Njj(a.onClickCancel(n))}),t.nrm(1,"span",75),t.DNE(2,zt,1,0,"storefront-spinner",67),t.k0s()}if(2&r){const o=t.XpG(6);t.Y8G("disabled",o.deleteLoading),t.R7$(2),t.Y8G("ngIf",o.deleteLoading)}}function Jt(r,i){if(1&r&&(t.qex(0),t.DNE(1,Zt,3,2,"button",73),t.bVm()),2&r){const o=t.XpG(5);t.R7$(),t.Y8G("ngIf",o.showCancel())}}function Qt(r,i){1&r&&t.nrm(0,"storefront-spinner",68)}function qt(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",76),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(5);return t.Njj(a.onClickDownload(n))}),t.nrm(1,"span",77),t.DNE(2,Qt,1,0,"storefront-spinner",67),t.k0s()}if(2&r){const o=t.XpG(5);t.Y8G("disabled",o.downloadLoading),t.R7$(2),t.Y8G("ngIf",o.downloadLoading)}}function tn(r,i){1&r&&t.nrm(0,"storefront-spinner",68)}function nn(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",78),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(5);return t.Njj(a.onClickDelete(n))}),t.nrm(1,"span",79),t.DNE(2,tn,1,0,"storefront-spinner",67),t.k0s()}if(2&r){const o=t.XpG(5);t.Y8G("disabled",o.deleteLoading),t.R7$(2),t.Y8G("ngIf",o.deleteLoading)}}function en(r,i){if(1&r&&(t.qex(0),t.DNE(1,Jt,2,1,"ng-container",3)(2,qt,3,2,"button",71)(3,nn,3,2,"button",72),t.bVm()),2&r){const o=t.XpG(4);t.R7$(),t.Y8G("ngIf",o.installState.downloading),t.R7$(),t.Y8G("ngIf",o.issueType&&!o.installState.downloading&&"COMPLETE"!==o.installState.installState&&!o.deleteLoading),t.R7$(),t.Y8G("ngIf",o.showDelete())}}function on(r,i){1&r&&t.nrm(0,"storefront-spinner",68)}function rn(r,i){if(1&r&&t.nrm(0,"storefront-progress",82),2&r){const o=t.XpG(6);t.Y8G("type",o.getProgressType())("progress",o.installState.progress)}}function an(r,i){if(1&r&&(t.j41(0,"p",83),t.EFF(1),t.k0s()),2&r){const o=t.XpG(6);t.R7$(),t.SpI(" ",o.installState.progress,"% ")}}function cn(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",64),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(5);return t.Njj(a.onClickState(n))}),t.nrm(1,"span",55),t.DNE(2,on,1,0,"storefront-spinner",67)(3,rn,1,2,"storefront-progress",80)(4,an,2,1,"p",81),t.k0s()}if(2&r){const o=t.XpG(5);t.ZWY("button-state action-button ",o.installState.downloading?"button-state-downloading":""," ","button-state-"+o.installState.installState," ",o.deleteLoading||o.downloadLoading?"button-state-loading":"",""),t.R7$(),t.Y8G("storefrontTranslate",o.getStateText()),t.R7$(),t.Y8G("ngIf",o.deleteLoading||o.downloadLoading),t.R7$(),t.Y8G("ngIf",o.showProgress(!0)),t.R7$(),t.Y8G("ngIf",o.showProgress(!0))}}function sn(r,i){if(1&r&&(t.qex(0),t.DNE(1,cn,5,9,"button",43),t.bVm()),2&r){const o=t.XpG(4);t.R7$(),t.Y8G("ngIf",o.issueType&&o.installState)}}function ln(r,i){if(1&r&&(t.qex(0),t.DNE(1,en,4,3,"ng-container",3)(2,sn,2,1,"ng-container",3),t.bVm()),2&r){const o=t.XpG(3);t.R7$(),t.Y8G("ngIf","MULTI"===o.downloadOptions.buttonType),t.R7$(),t.Y8G("ngIf","SINGLE"===o.downloadOptions.buttonType)}}function _n(r,i){1&r&&t.nrm(0,"span",92)}function pn(r,i){1&r&&t.nrm(0,"span",93)}function gn(r,i){if(1&r&&t.nrm(0,"span",94),2&r){const o=t.XpG(5);t.Y8G("storefrontTranslateArgs",t.eq3(1,S,o.price&&o.price.formattedPrice))}}function dn(r,i){1&r&&t.nrm(0,"storefront-spinner",68)}function fn(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",88),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(4);return t.Njj(a.onClickPurchase(n))}),t.DNE(1,_n,1,0,"span",89)(2,pn,1,0,"span",90)(3,gn,1,3,"span",91)(4,dn,1,0,"storefront-spinner",67),t.k0s()}if(2&r){const o=t.XpG(4);t.Y8G("ngClass",o.getPriceState())("disabled",!o.price||o.purchaseLoading),t.R7$(),t.Y8G("ngIf",!o.visible||o.priceLoading),t.R7$(),t.Y8G("ngIf",o.visible&&!o.priceLoading&&!o.price),t.R7$(),t.Y8G("ngIf",o.price),t.R7$(),t.Y8G("ngIf",o.purchaseLoading)}}function un(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",95),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(4);return t.Njj(a.onClickSubscribe(n))}),t.k0s()}}function mn(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",96),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(4);return t.Njj(a.onClickLogin(n))}),t.k0s()}}function hn(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",97),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(4);return t.Njj(a.onClickCoupon(n))}),t.k0s()}}function Cn(r,i){if(1&r&&(t.qex(0),t.DNE(1,fn,5,6,"button",84)(2,un,1,0,"button",85)(3,mn,1,0,"button",86)(4,hn,1,0,"button",87),t.bVm()),2&r){const o=t.XpG(3);t.R7$(),t.Y8G("ngIf",o.purchaseOptions.purchase),t.R7$(),t.Y8G("ngIf",o.purchaseOptions.subscribe),t.R7$(),t.Y8G("ngIf",!o.loggedIn&&o.purchaseOptions.login),t.R7$(),t.Y8G("ngIf",o.purchaseOptions.coupon)}}function En(r,i){if(1&r&&(t.qex(0),t.nrm(1,"storefront-button",98),t.bVm()),2&r){const o=i.$implicit,e=t.XpG(3);t.R7$(),t.Y8G("baseConfig",o)("disableAnchor",!0)("baseContext",e.context)}}function vn(r,i){if(1&r&&t.nrm(0,"storefront-progress",103),2&r){const o=t.XpG(4);t.Y8G("progress",o.installState.progress)("type",o.getProgressType())("showBorder",!0)}}function bn(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",104),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(4);return t.Njj(a.onClickDownload(n))}),t.k0s()}if(2&r){const o=t.XpG(4);t.Y8G("disabled",o.downloadLoading)}}function Tn(r,i){if(1&r){const o=t.RV6();t.j41(0,"button",105),t.bIt("click",function(n){t.eBV(o);const a=t.XpG(4);return t.Njj(a.onClickDelete(n))}),t.k0s()}if(2&r){const o=t.XpG(4);t.Y8G("disabled",o.deleteLoading)}}function In(r,i){1&r&&t.nrm(0,"storefront-spinner",68)}function On(r,i){if(1&r&&(t.j41(0,"div",99),t.DNE(1,vn,1,3,"storefront-progress",100)(2,bn,1,1,"button",101)(3,Tn,1,1,"button",102)(4,In,1,0,"storefront-spinner",67),t.k0s()),2&r){const o=t.XpG(3);t.R7$(),t.Y8G("ngIf",o.showProgress(!0)),t.R7$(),t.Y8G("ngIf",!o.locked&&"COMPLETE"!==o.installState.installState&&!o.installState.downloading&&!o.downloadLoading),t.R7$(),t.Y8G("ngIf",o.showDelete()||o.showCancel()),t.R7$(),t.Y8G("ngIf",o.downloadLoading)}}function Dn(r,i){if(1&r&&(t.DNE(0,St,2,4,"h3",31)(1,yt,2,4,"h3",32)(2,Lt,1,0,"i",33)(3,Pt,3,3,"div",34)(4,Mt,1,4,"div",35)(5,Gt,3,1,"span",36)(6,Bt,2,2,"div",37)(7,Ut,2,2,"div",38)(8,jt,2,2,"div",39)(9,$t,1,6,"div",40),t.j41(10,"div",41),t.DNE(11,Yt,1,0,"button",42)(12,Xt,1,3,"button",43)(13,Vt,3,2,"button",44)(14,Ht,3,2,"button",45)(15,ln,3,2,"ng-container",3)(16,Cn,5,4,"ng-container",3)(17,En,2,3,"ng-container",46),t.k0s(),t.DNE(18,On,5,4,"div",47)),2&r){const o=t.XpG(2);t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.publication),t.R7$(),t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.title),t.R7$(),t.Y8G("ngIf",o.showCheck()),t.R7$(),t.Y8G("ngIf",o.content.publicationDate&&(!o.config.hideComponents||!o.config.hideComponents.publicationDate)),t.R7$(),t.Y8G("ngIf",o.content.description&&(!o.config.hideComponents||!o.config.hideComponents.description)),t.R7$(),t.Y8G("ngIf",o.content.description&&(!o.config.hideComponents||!o.config.hideComponents.description)),t.R7$(),t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.properties),t.R7$(),t.Y8G("ngIf",!(o.config.displayCategories&&"NOTHING"===o.config.displayCategories.mode||o.config.hideComponents&&o.config.hideComponents.categories)),t.R7$(),t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.tags),t.R7$(),t.Y8G("ngForOf",o.customMessages)("ngForTrackBy",o.trackByMessage),t.R7$(2),t.Y8G("ngIf",o.config.sharing),t.R7$(),t.Y8G("ngIf",o.config.bookmark),t.R7$(),t.Y8G("ngIf",!o.locked),t.R7$(),t.Y8G("ngIf",o.locked&&o.hasPreview()),t.R7$(),t.Y8G("ngIf",o.downloadOptions&&!o.locked),t.R7$(),t.Y8G("ngIf",o.purchaseOptions&&o.locked),t.R7$(),t.Y8G("ngForOf",o.customButtons)("ngForTrackBy",o.trackByButton),t.R7$(),t.Y8G("ngIf",o.installState)}}function xn(r,i){if(1&r&&(t.qex(0),t.DNE(1,bt,3,2,"ng-container",13),t.nI1(2,"async"),t.DNE(3,Dt,2,2,"ng-template",null,0,t.C5r)(5,At,4,8,"ng-template",null,1,t.C5r)(7,Dn,19,20,"ng-template",null,2,t.C5r),t.bVm()),2&r){const o=t.sdS(4),e=t.XpG();t.R7$(),t.Y8G("ngIf",t.bMT(2,2,e.contentPath$))("ngIfElse",o)}}let kn=(()=>{var r;class i extends W.${constructor(e,n,a,s,g,p,v,b,l,m,y,Rn,An,Sn,yn,Y,Ln,Pn,Mn){super(p,e,b,m,Y),this.elementRef=e,this.ngZone=n,this.changeDetectorRef=a,this.store=s,this.dialog=g,this.injector=p,this.eventActionService=v,this.contextService=b,this.cleanUpService=l,this.document=m,this.platformId=y,this.purpleEnv=Rn,this.transferState=An,this.purpleService=Sn,this.urlResolver=yn,this.globalService=Y,this.anchorService=Ln,this.ssrService=Pn,this.resourceService=Mn,this.defaultConfig={...M.o9},this.priceLoading=!1,this.purchaseLoading=!1,this.downloadLoading=!1,this.deleteLoading=!1,this.openLoading=!1,this.previewLoading=!1,this.coverLoading=!1,this.bookmarkLoading=!1,this.descriptionExpanded=!1,this.downloadError=null,this.dataSourceError=null,this.visible=!1,this.anchorFeatureEnabled=!1,this.anchorPathCover=null,this.visibleProperties=[],this.contentPath$=new f.t(null),this.purchaseConfig={...k.Rp}}get purchasable(){var e;return(null===(e=this.content)||void 0===e?void 0:e.access)===d.Access.PURCHASABLE}get hasError(){var e;return!(!this.dataSourceError||null!==(e=this.dataSource)&&void 0!==e&&e.hasData())}get issueType(){return this.content&&(0,u.xl)(this.content)&&this.content.contentType}get contentType(){var e;return null===(e=this.content)||void 0===e?void 0:e.contentType}get postType(){return this.content&&(0,u.mF)(this.content)?this.content.postType:void 0}get contextKey(){var e,n,a;return null!==(e=null!==(n=null===(a=this.config)||void 0===a?void 0:a.contentContextKey)&&void 0!==n?n:this.baseConfig.contentContextKey)&&void 0!==e?e:i.type}get contextContent(){return this.context[this.contextKey]}get taxonomies(){var e;return null!==(e=this.content.taxonomies)&&void 0!==e?e:[]}get categories(){return this.taxonomies.filter(e=>"category"===e.type).map(e=>e.id)}get tags(){return this.taxonomies.filter(e=>"tag"===e.type).map(e=>e.id)}ngOnInit(){this.anchorFeatureEnabled=this.anchorService.isAnchorFeatureEnabled(),this.anchorFeatureEnabled||this.contentPath$.next(null),super.ngOnInit(),this.store.select((0,T.jZ)(B.O.DOWNLOAD_OPTIONS),e=>this.updateBehavior=null==e?void 0:e.autoUpdateBehavior)}ngOnDestroy(){super.ngOnDestroy(),this.downloadHandler&&this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.purpleService.destroyDownloadHandler(this.downloadHandler),1e3)}),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource),this.trackingObserver&&this.trackingObserver.disconnect()}onConfigChanges(){var e=this;return(0,_.A)(function*(){var n;const a=e.content,s=(0,C.v3)(e.config.dataSource),g={...s,limit:1};if(e.loggedIn=!!e.context[d.METADATA_KEY.ENTITLEMENT_TOKEN],e.dataSource&&!e.dataSource.hasConfigChanged(g)&&e.content)return e.context[e.contextKey]=a,void e.updateConfig(a);if(s)delete e.content,delete e.dataSourceError,e.changeDetectorRef.detectChanges(),e.dataSource=(0,w.O8)(g,e.contextService,e.store,e.elementRef.nativeElement,e.transferState,e.purpleService,e.globalService,e.document,e.resourceService,e.platformId),e.store.subscribe(e.dataSource.data$.pipe((0,G.p)(p=>p&&!!p[0])),p=>{const v=e.content;e.content=p[0],(0,I.GA)(e.content,e.purpleService).then(b=>e.locked=b),e.context[e.contextKey]=e.content,e.updateConfig(v)},E.l,E.l,"data"),e.store.subscribe(e.dataSource.error$,p=>e.dataSourceError=p,E.l,E.l,"error"),yield e.dataSource.loadData();else{const p=e.contextContent;"object"!=typeof p||e.content&&(!p||e.purchaseLoading)?e.context[e.contextKey]=e.content:(e.content=p,(0,I.GA)(e.content,e.purpleService).then(v=>e.locked=v)),e.updateConfig(a)}void 0===e.content&&(null===(n=e.baseContext)||void 0===n||!n.isGhost)&&(0,h.UE)(e.platformId)&&e.ngZone.runOutsideAngular(()=>{setTimeout(()=>{void 0===e.content&&e.ngZone.run(()=>e.dataSourceError={code:d.ERROR_CODE.ISSUE_NOT_FOUND})},1e3)})})()}updateConfig(e){var n=this;return(0,_.A)(function*(){var a;const s={...n.context};s.publication||(s.publication=n.publication),n.config=(0,C.uQ)({...M.o9,...n.baseConfig},s,n.contextService.$functions,n.globalService.getGlobalData());const g=(0,C.v3)(n.config.purchaseOptions);if(g&&(n.purchaseOptions=Object.keys(g).reduce((l,m)=>({...l,[m]:(0,C.v3)(g[m])}),{}),n.purchaseOptions.purchase&&"object"==typeof n.purchaseOptions.purchase&&(n.purchaseConfig={...k.Rp,...n.purchaseOptions.purchase})),n.anchorFeatureEnabled&&!(0,u.xl)(n.content)){n.anchorPathCover=n.anchorService.getAnchorPath(n.config.tapCover,n.context,null);const l=n.anchorService.getAnchorPath(n.config.tapContent,n.context,null);l?n.purpleEnv.isUniversal&&n.contentPath$.next(l):yield n.getContentPath()}const p={buttonClass:"action-button"};if(n.customButtons=n.config.customButtons.filter(l=>(0,C.Ol)(l)).map(l=>(0,C.v3)(l)).map(l=>({...p,...l,buttonClass:l.buttonClass?p.buttonClass.concat(" ",l.buttonClass):p.buttonClass})),n.customMessages=n.config.customMessages.filter(l=>(0,C.Ol)(l)).map(l=>(0,C.v3)(l)),n.downloadOptions=(0,C.v3)(n.config.downloadOptions),JSON.stringify(e)!==JSON.stringify(n.content)&&n.loadOnVisible(),n.visibleProperties=(null!==(a=n.config.renderProperties)&&void 0!==a?a:[]).map(l=>(0,C.v3)(l)).filter(l=>!!l&&void 0!==n.content.properties[l]).map(l=>({key:l,value:n.content.properties[l]})),n.content){var v,b;const l=null!==(v=null===(b=n.config.displayCategories)||void 0===b?void 0:b.mode)&&void 0!==v?v:"SLUG";switch(l){case"SLUG":n.displayedCategories=n.taxonomies.filter(m=>"category"===m.type).map(m=>({id:m.id}));break;case"NAME":n.purpleService.getCategories({categoryFilter:{OR:n.taxonomies.map(({id:m})=>({id:{value:m}}))}}).then(m=>{n.displayedCategories=m.nodes}).catch(m=>{console.warn("resolving taxonomy name for displayCategories.mode ".concat(l," failed"),m,n),n.displayedCategories=n.taxonomies.filter(y=>"category"===y.type).map(y=>({id:y.id}))})}}})()}loadOnVisible(){var e=this;if(this.installState=null,this.price=null,this.deleteLoading=!1,this.downloadLoading=!1,this.purchaseLoading=!1,this.previewLoading=!1,this.priceLoading=!1,this.openLoading=!1,this.bookmarkLoading=!1,!this.isGhost()){if(this.config.trackVisible&&(0,u.xl)(this.content)){const a=!0===this.config.trackVisible?0:this.config.trackVisible.trackDelay;let g,p=v=>{v[0].isIntersecting?g=setTimeout(()=>{this.getDownloadHandler().then(function(){var b=(0,_.A)(function*(l){e.publication||(yield e.loadPublication()),e.handleTrackAction("VISIBLE",l)});return function(l){return b.apply(this,arguments)}}())},a):clearTimeout(g)};this.trackingObserver=new IntersectionObserver(p,{rootMargin:"0px",threshold:!0===this.config.trackVisible?1:this.config.trackVisible.minContentVisibility}),this.trackingObserver.observe(this.elementRef.nativeElement)}this.store.subscribe((0,X.eh)(this,this.elementRef,{skipWait:this.purpleEnv.isUniversal&&!this.ssrService.currentPrebootStatus}),n=>{this.visible=!0,this.loadIssueState(),this.loadPublication(),this.loadPrice(),this.loadBookmark(),this.purpleService.addInvalidationListener((0,_.A)(function*(){e.dataSource&&(e.content=yield e.purpleService.getIssue(e.content.id).catch(()=>null),e.locked=yield(0,I.GA)(e.content,e.purpleService),e.context[e.contextKey]=e.content,e.updateConfig(e.content)),e.loadPrice()}))},E.l,E.l,"visible")}}loadIssueState(){var e=this;return(0,_.A)(function*(){e.content&&(0,u.xl)(e.content)&&e.downloadOptions&&(yield e.getDownloadHandler(),e.downloadHandler&&(e.store.subscribe(e.downloadHandler.updates$,n=>{e.installState=n,n&&n.error&&!e.downloadError&&(e.downloadError=n.error),e.changeDetectorRef.detectChanges()},E.l,E.l,"installState"),e.downloadHandler.autoUpdate&&e.downloadHandler.downloadStarted&&e.downloadHandler.update()),e.changeDetectorRef.detectChanges())})()}loadPrice(){var e=this;return(0,_.A)(function*(){if(e.purchaseOptions&&e.locked){var n;e.priceLoading=!0;const a=e.content.productId||(null===(n=yield e.purpleService.getRepeatablePublicationProductByPublicationId(e.content.publicationId))||void 0===n?void 0:n.productId);a?(e.store.select((0,V.Zt)(a),s=>{(0,F.b)(s)||(e.price=s),e.priceLoading=!1}),e.store.dispatch((0,H.qF)({productId:a}))):e.priceLoading=!1}})()}loadPublication(){var e=this;return(0,_.A)(function*(){if(e.content)try{const n=e.content.publicationId,a=(0,t.zw6)("publication_".concat(n));e.transferState.hasKey(a)?(e.publication=e.transferState.get(a,null),(0,h.UE)(e.platformId)&&e.transferState.remove(a)):(e.publication=yield e.purpleService.getPublication(n),(0,h.UE)(e.platformId)||e.transferState.onSerialize(a,()=>e.publication)),yield e.updateConfig(e.content),e.changeDetectorRef.detectChanges()}catch{console.log("error loading publication for content",e)}})()}loadBookmark(){var e=this;return(0,_.A)(function*(){e.config.bookmark&&e.store.subscribe(e.purpleService.bookmarks.pipe((0,N.T)(n=>n.find(a=>a.contentId===e.content.id))),n=>e.bookmark=n,E.l,E.l,"bookmark")})()}getData(){return this.content}getImageHeight(){return this.config.coverHeight||this.getDefaultImageHeight()}hasPreview(){return(0,u.xl)(this.content)?!!this.content.previewIssue:!(0,u.mF)(this.content)&&!(0,u.G4)(this.content)&&void 0}getDefaultImageHeight(){return this.template===M.qc.DETAILS?K.q.AUTO:K.q.FIXED}onClickDownload(e){var n=this;return(0,_.A)(function*(){e.stopPropagation(),n.downloadLoading=!0,delete n.downloadError,n.changeDetectorRef.detectChanges();const a=yield n.getDownloadHandler();if(n.handleTrackAction("DOWNLOAD_CLICKED",a),a){if(n.purpleService.downloadOptions.showConfirmDownloadDialog){const s=a.getAggregatedIssueState(),g={issue:n.content,download:{totalSize:(s.overallSize/1e6).toFixed(1),downloadSize:(s.overallSizeToDownload/1e6).toFixed(1)}};try{yield n.dialog.confirm({text:"ISSUE_DOWNLOAD_CONFIRM_MESSAGE",args:[g]},{text:"ISSUE_DOWNLOAD_CONFIRM_TITLE",args:[g]},"ISSUE_DOWNLOAD_CONFIRM_OK","ISSUE_DOWNLOAD_CONFIRM_CANCEL")}catch{return n.handleTrackAction("DOWNLOAD_CONFIRM_CANCELLED",a,void 0,"_COLLECTION"),void(n.downloadLoading=!1)}}try{yield a.download(),n.cleanUpService.addIssue(n.content.id),n.installState.downloading=!0,n.installState.installState=d.CatalogIssueInstallState.INCOMPLETE,n.installState.progress=0}catch(s){console.error(s),s.code===d.ERROR_CODE.PAYMENT_REQUIRED&&n.purpleService.invalidate()}}n.downloadLoading=!1,n.changeDetectorRef.detectChanges()})()}onClickDelete(e){var n=this;return(0,_.A)(function*(){if(e.stopPropagation(),n.config.deleteConfirm)try{yield n.dialog.confirm({text:"ISSUE_DELETE_MESSAGE",args:[n.content.name]},"ISSUE_DELETE_TITLE","ISSUE_DELETE_CONFIRM","ISSUE_DELETE_CANCEL"),yield n.deleteIssue()}catch{}else yield n.deleteIssue()})()}onClickCancel(e){var n=this;return(0,_.A)(function*(){if(e.stopPropagation(),!n.deleteLoading)try{n.deleteLoading=!0,delete n.downloadError,n.changeDetectorRef.detectChanges(),n.getDownloadHandler().then(a=>n.handleTrackAction("CANCEL_CLICKED",a)),n.cleanUpService.removeIssue(n.content.id),n.downloadHandler&&(yield n.downloadHandler.delete()),n.deleteLoading=!1,n.changeDetectorRef.detectChanges(),n.delete.emit(n.content)}catch(a){console.log(a),n.deleteLoading=!1,n.changeDetectorRef.detectChanges()}})()}onClickRead(e){var n=this;return(0,_.A)(function*(){n.contextService.closeModal(n.elementRef.nativeElement),n.contextService.closeModalSubject.observers.length>0?n.contextService.closeModalCompleteSubject.pipe((0,P.s)(n.contextService.closeModalSubject.observers.length)).subscribe(()=>{},()=>{},(0,_.A)(function*(){n.openContent("READ_CLICKED")})):n.openContent("READ_CLICKED")})()}onClickPurchase(e){var n=this;return(0,_.A)(function*(){var a;e.stopPropagation(),n.purchaseLoading=!0,n.changeDetectorRef.detectChanges();const s={...n.purchaseConfig,productId:n.price.productId,price:n.price.price,currency:n.price.currency};n.content.productId!==(null===(a=n.price)||void 0===a?void 0:a.productId)&&(s.consumeOptions={issueIds:[],contentIds:[n.content.id]}),yield n.eventActionService.processPurchaseAction(s,n),n.purchaseLoading=!1,n.changeDetectorRef.detectChanges()})()}onClickPreview(e){var n=this;return(0,_.A)(function*(){n.contextService.closeModal(n.elementRef.nativeElement),n.contextService.closeModalSubject.observers.length>0?n.contextService.closeModalCompleteSubject.pipe((0,P.s)(n.contextService.closeModalSubject.observers.length)).subscribe(()=>{},()=>{},(0,_.A)(function*(){n.openContent("PREVIEW_CLICKED")})):n.openContent("PREVIEW_CLICKED")})()}onClickSubscribe(e){e.stopPropagation(),this.getDownloadHandler().then(n=>this.handleTrackAction("SUBSCRIBE_CLICKED",n)),this.eventActionService.processEventAction({type:x.H.SUBSCRIPTIONS,params:{content:this.content.id,publication:this.content.publicationId}},this)}onClickLogin(e){e.stopPropagation(),this.getDownloadHandler().then(n=>this.handleTrackAction("LOGIN_CLICKED",n)),this.eventActionService.processEventAction({type:x.H.LOGIN,params:{content:this.content.id,publication:this.content.publicationId}},this)}onClickCoupon(e){e.stopPropagation(),this.getDownloadHandler().then(n=>this.handleTrackAction("COUPON_CLICKED",n)),this.eventActionService.processEventAction({type:x.H.COUPON,params:{content:this.content.id,publication:this.content.publicationId}},this)}getId(){return this.content&&this.content.id}getTrackingBaseKey(e,n){return this.elementId||e&&"".concat(e.getContentType(n))||this.getType()}getTrackingParams(e){const n=(0,O.bJ)(this.content,this.publication,this.price);return{...e&&(0,O.Gw)(e.getContentType())?(0,O.bJ)(e.issue,e.publication,this.price,"SOURCE_"):{},...n}}handleTrackAction(e,n,a,s){if(!n)return;const g="".concat(this.getTrackingBaseKey(n,s),"_").concat(e);let p=a?(0,O.aM)(a):{};p={...p,...this.getTrackingParams(n)},this.store.dispatch((0,z.k4)({key:g,params:p}))}onClickCover(e){this.clickContentAction(e,"tapCover","COVER_CLICKED")}onClickContent(e){this.clickContentAction(e,"tapContent","ISSUE_CLICKED")}clickContentAction(e,n,a){var s=this;return(0,_.A)(function*(){s.anchorFeatureEnabled&&e.preventDefault();const g=(0,C.v3)(s.config[n]);if(g){if(e.stopPropagation(),s.coverLoading)return;s.coverLoading=!0,s.changeDetectorRef.detectChanges(),s.getDownloadHandler().then(p=>s.handleTrackAction(a,p)),yield s.eventActionService.processEventAction(g,s),s.coverLoading=!1,s.changeDetectorRef.detectChanges()}})()}isGhost(){return!(this.content&&this.content.id||this.dataSourceError)}onClickState(e){var n=this;return(0,_.A)(function*(){if(e.stopPropagation(),n.installState)return n.installState.downloading?n.onClickCancel(e):n.installState.installState===d.CatalogIssueInstallState.COMPLETE?n.onClickDelete(e):n.onClickDownload(e)})()}onClickBookmark(e){var n=this;return(0,_.A)(function*(){if(e.stopPropagation(),!n.bookmarkLoading){if(n.bookmarkLoading=!0,n.bookmark){n.config.bookmark&&"boolean"!=typeof n.config.bookmark&&n.config.bookmark.deleteConfirm&&(yield n.dialog.confirm(n.bookmark.title?{text:"BOOKMARK_DELETE_MESSAGE_WITH_TITLE",args:[n.bookmark.title]}:"BOOKMARK_DELETE_MESSAGE","BOOKMARK_DELETE_TITLE","BOOKMARK_DELETE_CONFIRM","BOOKMARK_DELETE_CANCEL")),n.getDownloadHandler().then(a=>n.handleTrackAction("BOOKMARK_DELETE_CLICKED",a,n.bookmark));try{yield n.purpleService.deleteBookmark({id:n.bookmark.id}),n.getDownloadHandler().then(a=>n.handleTrackAction("BOOKMARK_DELETED",a,n.bookmark))}catch(a){n.dialog.alert(n.bookmark.title?{text:"ERROR_DELETE_BOOKMARK_WITH_TITLE",args:(0,A._3)((0,A.E2)(a,n.contextService),n.bookmark)}:{text:"ERROR_DELETE_BOOKMARK",args:[(0,A.E2)(a,n.contextService)]},"DIALOG_ERROR"),n.getDownloadHandler().then(s=>n.handleTrackAction("BOOKMARK_DELETE_FAILED",s,n.bookmark))}}else{n.getDownloadHandler().then(s=>n.handleTrackAction("BOOKMARK_ADD_CLICKED",s,n.bookmark));let a={title:n.content.name,description:n.content.description,issueId:n.content.id,customData:{contentType:n.content.contentType}};n.content.thumbnails&&n.content.thumbnails.default&&(a.thumbnailURL=n.content.thumbnails.default),"object"==typeof n.config.bookmark&&(a={...a,...n.config.bookmark});try{yield n.purpleService.createBookmark(a),n.getDownloadHandler().then(s=>n.handleTrackAction("BOOKMARK_ADDED",s,n.bookmark))}catch(s){n.getDownloadHandler().then(g=>n.handleTrackAction("BOOKMARK_ADD_FAILED",g,n.bookmark)),n.dialog.alert({text:"ERROR_ADD_BOOKMARK",args:n.getErrorDialogArgs(s)},"DIALOG_ERROR")}}n.bookmarkLoading=!1,n.changeDetectorRef.detectChanges()}})()}onClickShare(e){var n=this;return(0,_.A)(function*(){e.stopPropagation(),n.getDownloadHandler().then(s=>n.handleTrackAction("SHARE_CLICKED",s));let a={text:n.content.name,url:n.getSharingUrl()};"object"==typeof n.config.sharing&&(a={...a,...n.config.sharing});try{yield n.purpleService.share(a),n.getDownloadHandler().then(s=>n.handleTrackAction("SHARED",s))}catch{n.getDownloadHandler().then(g=>n.handleTrackAction("SHARE_FAILED",g)),n.dialog.alert("ERROR_SHARE","DIALOG_ERROR")}})()}getSharingUrl(){return"".concat(this.context[d.METADATA_KEY.MANAGER_BASE_URL],"/i/").concat(this.context[d.METADATA_KEY.APP_ID],"/").concat(this.content.id,"?preview=").concat(this.context[d.METADATA_KEY.PREVIEW_APP])}getStateText(){return this.downloadLoading||this.deleteLoading?" ":this.installState?this.installState.downloading?"ISSUE_ACTION_CANCEL":this.installState.installState===d.CatalogIssueInstallState.COMPLETE?"ISSUE_ACTION_DELETE":"ISSUE_ACTION_DOWNLOAD":void 0}getPriceState(){return this.priceLoading?"price-loading":this.priceLoading||this.price?this.price?"price-available":"":"price-unavailable"}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),"downloadOptions","customButtons","customMessages"]}getDownloadHandler(){var e=this;return(0,_.A)(function*(){if((0,h.UE)(e.platformId))return(0,u.xl)(e.content)?((!e.downloadHandler||e.downloadHandler.issue.id!==e.content.id)&&(e.downloadHandler&&(yield e.purpleService.destroyDownloadHandler(e.downloadHandler)),e.downloadHandler=yield e.purpleService.getDownloadHandler(e.content,e.dialog)),e.downloadHandler):void 0})()}showProgress(e=!1){return(0,u.xl)(this.content)&&!this.deleteLoading&&!this.downloadLoading&&this.installState&&this.installState.downloading&&!(this.installState.updating&&this.updateBehavior===k.FZ.SILENT)&&(e||"MULTI"===this.downloadOptions.buttonType)}showCancel(){return(0,u.xl)(this.content)&&!this.downloadLoading&&this.installState.downloading&&!(this.installState.updating&&this.updateBehavior===k.FZ.SILENT)}showDelete(){return(0,u.xl)(this.content)&&!this.downloadLoading&&this.installState.installState!==d.CatalogIssueInstallState.NOT_INSTALLED&&(!this.installState.downloading||this.installState.updating&&this.updateBehavior===k.FZ.SILENT)}showCheck(){return(0,u.xl)(this.content)&&this.downloadOptions&&this.downloadOptions.statusIndicator&&this.installState&&(this.installState.installState===d.CatalogIssueInstallState.COMPLETE&&!this.locked||this.installState.updating&&this.updateBehavior===k.FZ.SILENT)}showUpdateBehavior(){if(this.installState&&(0,u.xl)(this.content))return(0,I.YH)(this.installState,this.content.contentType===d.CatalogContentType.ISSUE)}reload(){window.location.reload()}hasContextChanged(e){var n;return!(null!==(n=this.config)&&void 0!==n&&n.dataSource)&&!U(this.contextContent,this.content)||!U(e[d.METADATA_KEY.ENTITLEMENT_TOKEN],this.context[d.METADATA_KEY.ENTITLEMENT_TOKEN])||super.hasContextChanged(e)}deleteIssue(){var e=this;return(0,_.A)(function*(){if(!e.deleteLoading)try{e.deleteLoading=!0,delete e.downloadError,e.changeDetectorRef.detectChanges(),e.getDownloadHandler().then(n=>e.handleTrackAction("DELETE_CLICKED",n)),e.cleanUpService.removeIssue(e.content.id),e.downloadHandler&&(yield e.downloadHandler.delete()),e.deleteLoading=!1,e.changeDetectorRef.detectChanges(),e.delete.emit(e.content)}catch(n){console.log(n),e.deleteLoading=!1,e.changeDetectorRef.detectChanges()}})()}getProgressType(){const n=(this.config||this.baseConfig).downloadOptions;return n.progressType?n.progressType:this.template===M.qc.COVER?j.s.RADIAL:j.s.BAR}getErrorDialogArgs(e){return(0,A.$C)((0,A.E2)(e,this.contextService),this.content)}getContentPath(){var e=this;return(0,_.A)(function*(){if(e.content&&(!e.content.ad||e.content.contentType)&&e.purpleEnv.isUniversal){const n=(0,t.zw6)("url_".concat(e.content.id));if(e.transferState.hasKey(n))e.contentPath$.next(e.transferState.get(n,null));else{const a=yield e.urlResolver.getPathForContent(e.content);e.contentPath$.next(a),(0,h.UE)(e.platformId)||e.transferState.set(n,a)}}})()}trackByProperty(e,n){var a;return null!==(a=null==n?void 0:n.key)&&void 0!==a?a:e}trackByCategory(e,n){var a;return null!==(a=null==n?void 0:n.id)&&void 0!==a?a:e}trackByTag(e,n){return null!=n?n:e}trackByMessage(e,n){var a;return null!==(a=null==n?void 0:n.message)&&void 0!==a?a:e}trackByButton(e,n){var a;return null!==(a=null==n?void 0:n.id)&&void 0!==a?a:e}openContent(e){var n=this;return(0,_.A)(function*(){n.openLoading=!0,n.changeDetectorRef.detectChanges(),n.getDownloadHandler().then(a=>n.handleTrackAction(e,a)),yield n.eventActionService.processOpenContentAction({type:x.H.OPEN_CONTENT,...n.config.openContent},n),n.openLoading=!1,n.changeDetectorRef.detectChanges()})()}getContextKey(){return this.contextKey}}return(r=i).type="content",r.\u0275fac=function(e){return new(e||r)(t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(t.gRc),t.rXU(R.B),t.rXU(Z.o),t.rXU(t.zZn),t.rXU(J.G),t.rXU(Q.V),t.rXU(q.I),t.rXU(h.qQ),t.rXU(t.Agw),t.rXU(O.r6),t.rXU(t.pJN),t.rXU(I.Wj),t.rXU(tt.K),t.rXU(nt.d),t.rXU(et.X),t.rXU(ot.i),t.rXU(rt.Q))},r.\u0275cmp=t.VBU({type:r,selectors:[["storefront-content"]],hostVars:9,hostBindings:function(e,n){2&e&&(t.BMQ("issue-type",n.issueType)("content-type",n.contentType)("post-type",n.postType),t.AVh("locked",n.locked)("purchasable",n.purchasable)("error",n.hasError))},features:[t.Jv_([R.B]),t.Vt3],decls:2,vars:2,consts:[["noAnchorTemplate",""],["imageTemplate",""],["contentData",""],[4,"ngIf"],[1,"content-image"],[3,"height"],[1,"content-data"],[1,"content-title"],[1,"content-description"],["class","content-error",4,"ngIf"],[1,"content-error"],["storefrontTranslate","CONTENT_ERROR",3,"storefrontTranslateArgs"],["storefrontTranslate","CONTENT_ERROR_BUTTON","mat-ripple","",1,"action-button",3,"click"],[4,"ngIf","ngIfElse"],["class","content-image",3,"href","click",4,"ngIf"],["class","content-data",3,"href","expanded","click",4,"ngIf"],[1,"content-image",3,"click","href"],[4,"ngTemplateOutlet"],[1,"content-data",3,"click","href"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","content-image",3,"click",4,"ngIf"],["class","content-data",3,"expanded","click",4,"ngIf"],[1,"content-image",3,"click"],[1,"content-data",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"src","imageResolutionStrategy","height","extendedThumbnail","label"],["class","content-update-badge",4,"ngIf"],[3,"type","progress",4,"ngIf"],[1,"content-update-badge"],["storefrontTranslate","CONTENT_UPDATE_BADGE_MESSAGE"],[3,"type","progress"],["class","content-publication-title",3,"click",4,"ngIf"],["class","content-title",3,"click",4,"ngIf"],["class","icon icon-check-bg",4,"ngIf"],["class","content-pub-date",4,"ngIf"],["class","content-description","storefrontCheckOverflow","vertical","storefrontCheckOverflowTarget","self",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],["class","content-description-expand-toggle",3,"click",4,"ngIf"],["class","content-properties",4,"ngIf"],["class","content-categories",4,"ngIf"],["class","content-tags",4,"ngIf"],[3,"class","storefrontTranslate","storefrontTranslateArgs",4,"ngFor","ngForOf","ngForTrackBy"],[1,"content-actions"],["class","icon icon-share","mat-ripple","",3,"click",4,"ngIf"],["mat-ripple","",3,"class","click",4,"ngIf"],["class","button-read action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-preview action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","content-state",4,"ngIf"],[1,"content-publication-title",3,"click"],[3,"storefrontTranslate","storefrontTranslateArgs"],[1,"content-title",3,"click"],[1,"icon","icon-check-bg"],[1,"content-pub-date"],["storefrontCheckOverflow","vertical","storefrontCheckOverflowTarget","self",1,"content-description",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"content-description-expand-toggle",3,"click"],[3,"storefrontTranslate"],[1,"icon","icon-arrow-down"],[1,"content-properties"],[3,"class",4,"ngFor","ngForOf","ngForTrackBy"],[1,"content-categories"],["purpleColorize","accent","purpleColorizeProps","background-color",3,"class",4,"ngFor","ngForOf","ngForTrackBy"],["purpleColorize","accent","purpleColorizeProps","background-color"],[1,"content-tags"],["mat-ripple","",1,"icon","icon-share",3,"click"],["mat-ripple","",3,"click"],["mat-ripple","",1,"button-read","action-button",3,"click","disabled"],["storefrontTranslate","CONTENT_ACTION_READ"],["class","button-spinner",4,"ngIf"],[1,"button-spinner"],["mat-ripple","",1,"button-preview","action-button",3,"click","disabled"],["storefrontTranslate","CONTENT_ACTION_PREVIEW"],["class","button-download action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-delete action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-cancel action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["mat-ripple","",1,"button-cancel","action-button",3,"click","disabled"],["storefrontTranslate","CONTENT_ACTION_CANCEL"],["mat-ripple","",1,"button-download","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_DOWNLOAD"],["mat-ripple","",1,"button-delete","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_DELETE"],["message","",3,"type","progress",4,"ngIf"],["class","progress-percentage",4,"ngIf"],["message","",3,"type","progress"],[1,"progress-percentage"],["class","button-purchase action-button","mat-ripple","",3,"ngClass","disabled","click",4,"ngIf"],["class","button-subscribe action-button","mat-ripple","","storefrontTranslate","CONTENT_ACTION_SUBSCRIBE",3,"click",4,"ngIf"],["class","button-login action-button","mat-ripple","","storefrontTranslate","CONTENT_ACTION_LOGIN",3,"click",4,"ngIf"],["class","button-coupon action-button","mat-ripple","","storefrontTranslate","CONTENT_ACTION_COUPON",3,"click",4,"ngIf"],["mat-ripple","",1,"button-purchase","action-button",3,"click","ngClass","disabled"],["storefrontTranslate","CONTENT_ACTION_PURCHASE_LOADING",4,"ngIf"],["storefrontTranslate","CONTENT_ACTION_PURCHASE_UNAVAILABLE",4,"ngIf"],["storefrontTranslate","CONTENT_ACTION_PURCHASE",3,"storefrontTranslateArgs",4,"ngIf"],["storefrontTranslate","CONTENT_ACTION_PURCHASE_LOADING"],["storefrontTranslate","CONTENT_ACTION_PURCHASE_UNAVAILABLE"],["storefrontTranslate","CONTENT_ACTION_PURCHASE",3,"storefrontTranslateArgs"],["mat-ripple","","storefrontTranslate","CONTENT_ACTION_SUBSCRIBE",1,"button-subscribe","action-button",3,"click"],["mat-ripple","","storefrontTranslate","CONTENT_ACTION_LOGIN",1,"button-login","action-button",3,"click"],["mat-ripple","","storefrontTranslate","CONTENT_ACTION_COUPON",1,"button-coupon","action-button",3,"click"],[1,"button-custom",3,"baseConfig","disableAnchor","baseContext"],[1,"content-state"],[3,"progress","type","showBorder",4,"ngIf"],["class","icon icon-download-circle","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","icon icon-delete","mat-ripple","",3,"disabled","click",4,"ngIf"],[3,"progress","type","showBorder"],["mat-ripple","",1,"icon","icon-download-circle",3,"click","disabled"],["mat-ripple","",1,"icon","icon-delete",3,"click","disabled"]],template:function(e,n){1&e&&t.DNE(0,mt,7,2,"ng-container",3)(1,xn,9,4,"ng-container",3),2&e&&(t.Y8G("ngIf",!n.content||n.dataSourceError),t.R7$(),t.Y8G("ngIf",n.content&&n.config&&!n.dataSourceError))},dependencies:[h.YU,h.Sq,h.bT,h.T3,j.X,at.G,it.M,ct.t,st.r6,lt.Q,K.h,h.Jj,_t.w,pt.Z],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-content{display:flex;flex-direction:column;position:relative}storefront-content .content-image{position:relative;overflow:hidden}storefront-content .content-image storefront-spinner{position:absolute;top:0;height:100%;width:100%;background-color:#0000001a}storefront-content .content-image .content-update-badge{--paddingVert: .25em;--fontSize: .8em;--width: 200%;--offset: calc(var(--fontSize) * 3);position:absolute;top:calc(var(--fontSize) + var(--paddingVert));left:calc(var(--width) / -2 + var(--offset));display:flex;justify-content:center;width:var(--width);padding:var(--paddingVert) 0;background:var(--contentUpdateBadgeBgColor);transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}@media (max-width: 767px) and (orientation: portrait){storefront-content .content-image .content-update-badge{--fontSize: .6em}}@media (max-width: 330px) and (orientation: portrait){storefront-content .content-image .content-update-badge{--fontSize: .6em}}storefront-content .content-image .content-update-badge span{max-width:80px;text-align:center;font-size:var(--fontSize);color:var(--contentUpdateBadgeColor);-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}@media (max-width: 767px) and (orientation: portrait){storefront-content .content-image .content-update-badge span{max-width:60px}}@media (max-width: 330px) and (orientation: portrait){storefront-content .content-image .content-update-badge span{max-width:60px}}storefront-content storefront-progress[type=BAR]{display:none;position:absolute;background-color:var(--contentProgressBgColor);border-radius:var(--borderRadius);overflow:hidden;text-align:center;padding:var(--contentProgressPaddingVert) var(--contentProgressPaddingHoriz);z-index:0;bottom:0;left:0;right:0;top:0}storefront-content .content-image storefront-progress[type=BAR]{top:auto;bottom:var(--contentProgressMarginVert);left:var(--contentProgressMarginHoriz);right:var(--contentProgressMarginHoriz)}storefront-content .content-data{display:flex;flex-direction:column;overflow:hidden;flex-grow:1}storefront-content .content-data .content-description-expand-toggle{display:none}storefront-content .content-data .content-description-expand-toggle i{display:inline-block;transition:transform .3s ease;font-size:12px;padding:0 4px}storefront-content .content-title{margin:.5em 0}storefront-content .content-description{color:var(--secondaryTextColor);width:100%;white-space:pre-wrap}storefront-content .content-custom-message{color:var(--textColor)}storefront-content storefront-image{width:100%}storefront-content .content-actions{display:none;justify-content:space-between;z-index:1}storefront-content .content-actions button{color:#fff;background-color:var(--secondaryColor);padding:0}storefront-content .content-actions button.button-purchase,storefront-content .content-actions button.button-subscribe,storefront-content .content-actions button.button-download,storefront-content .content-actions button.button-read{background-color:var(--primaryColor)}storefront-content .content-actions button.button-state-downloading.button-state-INCOMPLETE .progress-percentage{display:none}storefront-content .content-actions button[disabled]{opacity:.5}storefront-content .content-actions button span{position:relative;z-index:1}storefront-content .content-actions button.icon{color:var(--primaryColor);background-color:transparent;width:1.4em;height:1.4em;font-size:1.4em}storefront-content .content-state{display:none}storefront-content .content-error .action-button{background-color:var(--secondaryColor);color:#fff;display:block}storefront-content[template=cover] .content-image{width:100%}storefront-content[template=cover] .content-image storefront-image[height-strategy=FIXED]{padding-top:133%}storefront-content[template=cover] .content-data{flex-direction:row;align-items:center}storefront-content[template=cover] .content-data>i,storefront-content[template=cover] .content-data .content-state i,storefront-content[template=cover] .content-data .content-state button,storefront-content[template=cover] .content-data .content-state storefront-progress,storefront-content[template=cover] .content-data .content-state storefront-spinner{font-size:21px;height:22px;width:22px;color:var(--secondaryColor)}storefront-content[template=cover] .content-data>i.icon-delete,storefront-content[template=cover] .content-data .content-state i.icon-delete,storefront-content[template=cover] .content-data .content-state button.icon-delete,storefront-content[template=cover] .content-data .content-state storefront-progress.icon-delete,storefront-content[template=cover] .content-data .content-state storefront-spinner.icon-delete{width:42px;height:42px;position:absolute;top:-20px;right:-20px;border-radius:100%;font-size:10px;color:#fff;padding:10px}storefront-content[template=cover] .content-data>i.icon-delete:after,storefront-content[template=cover] .content-data .content-state i.icon-delete:after,storefront-content[template=cover] .content-data .content-state button.icon-delete:after,storefront-content[template=cover] .content-data .content-state storefront-progress.icon-delete:after,storefront-content[template=cover] .content-data .content-state storefront-spinner.icon-delete:after{background-color:var(--secondaryColor);width:22px;height:22px;border-radius:100%;display:flex;justify-content:center;align-items:center}storefront-content[template=cover] .content-state{display:flex;right:0;bottom:0}storefront-content[template=cover] .content-state storefront-spinner{position:relative;z-index:1;--spinnerColor: var(--secondaryColor);background-color:transparent;padding:0}storefront-content[template=cover] .content-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}storefront-content[template=cover] .content-publication-title,storefront-content[template=cover] .content-description,storefront-content[template=cover] .content-categories,storefront-content[template=cover] .content-tags,storefront-content[template=cover] .content-pub-date,storefront-content[template=cover] .content-properties,storefront-content[template=cover] .content-custom-message{display:none}storefront-content[template=cover] .content-publication-title .content-tag,storefront-content[template=cover] .content-publication-title .content-category,storefront-content[template=cover] .content-description .content-tag,storefront-content[template=cover] .content-description .content-category,storefront-content[template=cover] .content-categories .content-tag,storefront-content[template=cover] .content-categories .content-category,storefront-content[template=cover] .content-tags .content-tag,storefront-content[template=cover] .content-tags .content-category,storefront-content[template=cover] .content-pub-date .content-tag,storefront-content[template=cover] .content-pub-date .content-category,storefront-content[template=cover] .content-properties .content-tag,storefront-content[template=cover] .content-properties .content-category,storefront-content[template=cover] .content-custom-message .content-tag,storefront-content[template=cover] .content-custom-message .content-category{display:none}storefront-content[template=card]{border-radius:4px;box-shadow:0 0 5px 2px #0000001a;padding-bottom:var(--gutter);overflow:hidden;background-color:#fff}storefront-content[template=card] storefront-image[height-strategy=FIXED]{padding-top:75%}storefront-content[template=card] storefront-image[height-strategy=FIXED]>img{object-fit:cover;width:100%}storefront-content[template=card] .content-title,storefront-content[template=card] .content-pub-date,storefront-content[template=card] .content-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-left:calc(var(--gutter) / 2);margin-right:calc(var(--gutter) / 2);width:initial}storefront-content[template=card] .content-publication-title,storefront-content[template=card] .content-categories,storefront-content[template=card] .content-tags,storefront-content[template=card] .content-properties,storefront-content[template=card] .content-custom-message{display:none}storefront-content[template=card] .content-publication-title .content-tag,storefront-content[template=card] .content-publication-title .content-category,storefront-content[template=card] .content-categories .content-tag,storefront-content[template=card] .content-categories .content-category,storefront-content[template=card] .content-tags .content-tag,storefront-content[template=card] .content-tags .content-category,storefront-content[template=card] .content-properties .content-tag,storefront-content[template=card] .content-properties .content-category,storefront-content[template=card] .content-custom-message .content-tag,storefront-content[template=card] .content-custom-message .content-category{display:none}storefront-content[template=highlight]{flex-direction:row;padding:calc(var(--gutter) / 2);width:100%}storefront-content[template=highlight] .content-image{width:calc(43% - var(--gutter) / 2);margin-right:var(--gutter);flex-shrink:0;align-self:flex-end}storefront-content[template=highlight] .content-image storefront-image[height-strategy=FIXED]{padding-top:133%}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){storefront-content[template=highlight] .content-image{width:calc(50% - (var(--gutter)))}}storefront-content[template=highlight] storefront-progress[type=BAR]{display:block}storefront-content[template=highlight] .content-data{margin-left:var(--gutter)}storefront-content[template=highlight] .content-title{font-size:2em;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}storefront-content[template=highlight] .content-publication-title,storefront-content[template=highlight] .content-pub-date,storefront-content[template=highlight] .content-properties,storefront-content[template=highlight] .content-categories,storefront-content[template=highlight] .content-tags{display:none}storefront-content[template=highlight] .content-publication-title .content-tag,storefront-content[template=highlight] .content-publication-title .content-category,storefront-content[template=highlight] .content-pub-date .content-tag,storefront-content[template=highlight] .content-pub-date .content-category,storefront-content[template=highlight] .content-properties .content-tag,storefront-content[template=highlight] .content-properties .content-category,storefront-content[template=highlight] .content-categories .content-tag,storefront-content[template=highlight] .content-categories .content-category,storefront-content[template=highlight] .content-tags .content-tag,storefront-content[template=highlight] .content-tags .content-category{display:none}storefront-content[template=highlight] .content-custom-message{margin:var(--gutter) 0}storefront-content[template=highlight] .content-actions{display:flex;flex-direction:column;flex-grow:1;justify-content:flex-end}storefront-content[template=highlight] .content-actions storefront-button button{width:100%}storefront-content[template=details] .content-image storefront-image[height-strategy=FIXED]{padding-top:133%}storefront-content[template=details] .content-data{align-items:center}storefront-content[template=details] .content-data.expanded .content-description{-webkit-line-clamp:unset}storefront-content[template=details] .content-data.expanded .content-description-expand-toggle{display:block}storefront-content[template=details] .content-data.expanded .content-description-expand-toggle i{transform:rotate(180deg)}storefront-content[template=details] .content-data .content-publication-title,storefront-content[template=details] .content-data .content-properties,storefront-content[template=details] .content-data .content-categories,storefront-content[template=details] .content-data .content-tags{display:none}storefront-content[template=details] .content-data .content-publication-title .content-tag,storefront-content[template=details] .content-data .content-publication-title .content-category,storefront-content[template=details] .content-data .content-publication-title .content-property,storefront-content[template=details] .content-data .content-properties .content-tag,storefront-content[template=details] .content-data .content-properties .content-category,storefront-content[template=details] .content-data .content-properties .content-property,storefront-content[template=details] .content-data .content-categories .content-tag,storefront-content[template=details] .content-data .content-categories .content-category,storefront-content[template=details] .content-data .content-categories .content-property,storefront-content[template=details] .content-data .content-tags .content-tag,storefront-content[template=details] .content-data .content-tags .content-category,storefront-content[template=details] .content-data .content-tags .content-property{display:none}storefront-content[template=details] storefront-image[height-strategy=FIXED]{padding-top:133%}storefront-content[template=details] storefront-progress[type=BAR]{display:block}storefront-content[template=details] .content-pub-date{display:none}storefront-content[template=details] .content-description{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}storefront-content[template=details] .content-description.scrollable-vert+.content-description-expand-toggle{display:flex}storefront-content[template=details] .content-description-expand-toggle{align-self:flex-start}storefront-content[template=details] .content-custom-message{margin-top:var(--gutter)}storefront-content[template=details] .content-actions{display:grid;width:100%;grid-template-columns:1fr 1fr;grid-column-gap:var(--gutter);margin-top:var(--gutter)}storefront-content[template=details] .content-actions>button:nth-child(odd):last-child,storefront-content[template=details] .content-actions>storefront-button:nth-child(odd):last-child{grid-column:1/3}storefront-content[template=details] .content-actions storefront-button button{width:100%}storefront-content[template=group]{flex-direction:row}storefront-content[template=group] .content-image{width:100%}storefront-content[template=group] .content-image storefront-image[height-strategy=FIXED]{padding-top:133%}storefront-content[template=group] .content-data{flex-direction:column}storefront-content[template=group] .content-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}storefront-content[template=group] .content-actions{display:flex;justify-content:flex-start}storefront-content[template=group] .content-actions>button{display:none}storefront-content[template=group] i,storefront-content[template=group] .content-publication-title,storefront-content[template=group] .content-pub-date,storefront-content[template=group] .content-description,storefront-content[template=group] .content-description-expand-toggle,storefront-content[template=group] .content-properties,storefront-content[template=group] .content-categories,storefront-content[template=group] .content-tags,storefront-content[template=group] .content-state,storefront-content[template=group] .content-update-badge{display:none}storefront-content[template=group] i .content-tag,storefront-content[template=group] i .content-category,storefront-content[template=group] .content-publication-title .content-tag,storefront-content[template=group] .content-publication-title .content-category,storefront-content[template=group] .content-pub-date .content-tag,storefront-content[template=group] .content-pub-date .content-category,storefront-content[template=group] .content-description .content-tag,storefront-content[template=group] .content-description .content-category,storefront-content[template=group] .content-description-expand-toggle .content-tag,storefront-content[template=group] .content-description-expand-toggle .content-category,storefront-content[template=group] .content-properties .content-tag,storefront-content[template=group] .content-properties .content-category,storefront-content[template=group] .content-categories .content-tag,storefront-content[template=group] .content-categories .content-category,storefront-content[template=group] .content-tags .content-tag,storefront-content[template=group] .content-tags .content-category,storefront-content[template=group] .content-state .content-tag,storefront-content[template=group] .content-state .content-category,storefront-content[template=group] .content-update-badge .content-tag,storefront-content[template=group] .content-update-badge .content-category{display:none}storefront-content.locked .content-actions button.icon-share{display:none}storefront-content.ghost{pointer-events:none}storefront-content.ghost .content-image{animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor);margin-bottom:var(--gutter)}storefront-content.ghost .content-image storefront-image{background-color:transparent}storefront-content.ghost[template=highlight]>.content-image{margin-bottom:0}storefront-content.ghost[template=highlight]>.content-image>storefront-image{margin-bottom:0}storefront-content.ghost[template=highlight] .content-description,storefront-content.ghost[template=highlight] .content-title{width:100%;margin-bottom:0}storefront-content.ghost[template=cover] storefront-image{padding-top:133%}storefront-content.ghost[template=card] storefront-image{padding-top:75%}storefront-content.ghost .content-description,storefront-content.ghost .content-title{background-color:var(--ghostColor);color:transparent;border-radius:4px;width:90%;height:1.2em;margin-bottom:calc(var(--gutter) / 2)!important;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}storefront-content.ghost .content-description{height:3em}storefront-content.error .content-data{display:none}storefront-content.error[template=cover] .content-error,storefront-content.error[template=card] .content-error,storefront-content.error[template=details] .content-error{margin-top:var(--gutter)}\n'],encapsulation:2}),i})()},2085:($,D,c)=>{c.d(D,{o9:()=>L,qc:()=>d});var _=c(4404),d=function(f){return f.COVER="cover",f.CARD="card",f.HIGHLIGHT="highlight",f.DETAILS="details",f.GROUP="group",f}(d||{});const L={template:d.CARD,openContent:{mode:_.DisplayMode.MODAL,titleBar:!0},downloadOptions:null,customButtons:[],customMessages:[],titleMessage:"CONTENT_TITLE",descriptionMessage:"CONTENT_DESCRIPTION",publicationTitleMessage:"CONTENT_PUBLICATION_TITLE"}},8399:($,D,c)=>{c.r(D),c.d(D,{ContentModule:()=>I,component:()=>x});var _=c(177),h=c(7808),t=c(9383),d=c(4767),L=c(6953),f=c(1605),G=c(8301),E=c(6483),N=c(9805),P=c(4403),B=c(3363),w=c(6215),C=c(4438);let I=(()=>{var T;class R{}return(T=R).\u0275fac=function(O){return new(O||T)},T.\u0275mod=C.$C({type:T}),T.\u0275inj=C.G2t({imports:[_.MD,B.E,G.d,E.h,w.O,f.P,d.d,t.pZ,L.n,N.ButtonModule,P.U]}),R})();const x=h.B}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_issue_issue_module_ts","projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-94b9b6"],{4767:(L,C,r)=>{r.d(C,{d:()=>e});var a=r(177),c=r(4438);let e=(()=>{var _;class I{}return(_=I).\u0275fac=function(b){return new(b||_)},_.\u0275mod=c.$C({type:_}),_.\u0275inj=c.G2t({imports:[a.MD]}),I})()},2914:(L,C,r)=>{r.d(C,{w:()=>I});var a=r(4049),c=r(7370),e=r(4438),_=r(5483);let I=(()=>{var v;class b{constructor(u){this.contextService=u}transform(u,h){if(!u||(0,c.vh)(u))return u;let R=u?(0,a.K)(u,h):"";const T=this.contextService.getIsCustomerDomainUsed()?"":"/".concat(this.contextService.getBrand(),"/"),E=new URL(window.location.href),g="true"===E.searchParams.get("preview")||0===E.pathname.indexOf("/preview");return"/"===R&&(R=""),R="".concat(T).concat(R).concat(g?"?preview=true":""),R}}return(v=b).\u0275fac=function(u){return new(u||v)(e.rXU(_.V,16))},v.\u0275pipe=e.EJ8({name:"urlTransform",type:v,pure:!0}),b})()},2932:(L,C,r)=>{r.d(C,{h:()=>T,q:()=>E});var a=r(177),c=r(4438),e=r(4338),_=r(8890),I=r(9876),v=r(345),b=r(4748),y=r(5483),u=r(8471);const h=["image"];function R(g,M){if(1&g){const D=c.RV6();c.j41(0,"img",2,0),c.bIt("error",function(){c.eBV(D);const f=c.XpG();return c.Njj(f.onError())}),c.k0s()}if(2&g){const D=c.XpG();c.Y8G("src",D.safeResizeSrc,c.B4B)("alt",D.alt)("title",D.title),c.BMQ("aria-label",D.ariaLabel)}}let T=(()=>{var g;class M{set image(d){d&&this.onLoad(d),this._image=d}get image(){return this._image}constructor(d,f,P,w,X,W,k,B){this.sanitizer=d,this.changeDetectorRef=f,this.elementRef=P,this.subscriptions=w,this.platformId=X,this.ssrService=W,this.contextService=k,this.purpleService=B,this.error=new c.bkB,this.height=E.AUTO}get empty(){return!this.src}ngOnInit(){this.initProperties(),(0,a.UE)(this.platformId)&&this.subscriptions.subscribe((0,_.eh)(this,this.elementRef,{skipWait:!1}),d=>this.load())}initProperties(){var d,f,P,w;this.alt=(null===(d=this.extendedThumbnail)||void 0===d?void 0:d.properties.alt)||(null===(f=this.extendedThumbnail)||void 0===f?void 0:f.properties.caption)||"",this.title=this.alt,this.ariaLabel=null!==(P=this.label)&&void 0!==P?P:this.alt,this.focalPoint=null===(w=this.extendedThumbnail)||void 0===w?void 0:w.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.src&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(d){d.src&&this.loaded&&this.update()}update(){this.updateImageRatio(),this.updateResizeSrc()}onLoad(d){d.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),d.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,d),this.changeDetectorRef.markForCheck()}),d.nativeElement.addEventListener("error",function(){d.nativeElement.style.display="none",d.nativeElement.nextElementSibling&&(d.nativeElement.nextElementSibling.style.display="inline")}),this.purpleService.addImageSrc(this.resizeSrc)}onError(){if(!this.safeResizeSrc)return;const d=this.purpleService.getAlternativeSrc(this.src);var f;d&&d!==this.resizeSrc?(this.setResizeSrc(d),this.changeDetectorRef.detectChanges()):(null===(f=this.image)||void 0===f||f.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(d=!1,f=this.image){this.imageRatio=this.height===E.AUTO?(0,I.z)(!d,null==f?void 0:f.nativeElement,this.src)+"%":void 0}updateResizeSrc(){this.setResizeSrc((0,I.G)(this.elementRef.nativeElement,this.src,this.imageResolutionStrategy,this.focalPoint)),this.changeDetectorRef.detectChanges()}setResizeSrc(d){const f=this.contextService.toResourceUrl(d);this.resizeSrc=f,this.safeResizeSrc=this.sanitizer.bypassSecurityTrustResourceUrl(f)}}return(g=M).\u0275fac=function(d){return new(d||g)(c.rXU(v.up),c.rXU(c.gRc),c.rXU(c.aKT),c.rXU(e.v),c.rXU(c.Agw),c.rXU(b.i),c.rXU(y.V),c.rXU(u.Wj))},g.\u0275cmp=c.VBU({type:g,selectors:[["storefront-image"]],viewQuery:function(d,f){if(1&d&&c.GBs(h,5),2&d){let P;c.mGM(P=c.lsd())&&(f.image=P.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:12,hostBindings:function(d,f){2&d&&(c.BMQ("src",f.src)("label",f.label)("resolution-strategy",f.imageResolutionStrategy)("alt",f.alt)("title",f.title)("aria-label",f.ariaLabel)("focal-point",f.focalPoint)("height-strategy",f.height),c.xc7("padding-top",f.imageRatio),c.AVh("empty",f.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",height:"height"},outputs:{error:"error"},features:[c.Jv_([e.v]),c.OA$],decls:1,vars:1,consts:[["image",""],[3,"src","alt","title","error",4,"ngIf"],[3,"error","src","alt","title"]],template:function(d,f){1&d&&c.DNE(0,R,2,4,"img",1),2&d&&c.Y8G("ngIf",f.loaded&&f.src)},dependencies:[a.bT],styles:["storefront-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[height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain;height:100%;left:50%;transform:translate(-50%)}storefront-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-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{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),M})();var E=function(g){return g.AUTO="AUTO",g.FIXED="FIXED",g.DEFAULT="DEFAULT",g}(E||{})},4403:(L,C,r)=>{r.d(C,{U:()=>e});var a=r(177),c=r(4438);let e=(()=>{var _;class I{}return(_=I).\u0275fac=function(b){return new(b||_)},_.\u0275mod=c.$C({type:_}),_.\u0275inj=c.G2t({imports:[a.MD]}),I})()},4744:(L,C,r)=>{r.d(C,{z:()=>xt});var a=r(467),c=r(177),e=r(4438),_=r(4404),v=r(362),y=r(4412),u=r(5964),h=r(6354),R=r(6697),T=r(6843),E=r(4452),g=r(8179),M=r(8471),D=r(9745),d=r(4945),f=r(4338),P=r(4004),w=r(4622),X=r(1739),W=r(610),k=r(3178),B=r(5706),K=r(8091),$=r(7879),H=r(8890),z=r(1210),Y=r(2932),F=r(3092),G=r(4365),Z=r(20),Q=r(8004),J=r(5483),q=r(244),ee=r(6889),te=r(1652),se=r(5820),ne=r(4748),oe=r(2838),ie=r(680),re=r(8909),ae=r(7240),le=r(9383),ce=r(395),_e=r(2914),ue=r(2813);const j=o=>[o],pe=o=>({path:o}),ge=()=>({path:""}),de=()=>[];function fe(o,l){if(1&o){const n=e.RV6();e.j41(0,"div",10),e.nrm(1,"span",11),e.j41(2,"button",12),e.bIt("click",function(){e.eBV(n);const t=e.XpG(2);return e.Njj(t.reload())}),e.k0s()()}if(2&o){const n=e.XpG(2);e.R7$(),e.Y8G("storefrontTranslateArgs",e.eq3(1,j,n.dataSourceError.code))}}function me(o,l){if(1&o&&(e.qex(0),e.j41(1,"div",4),e.nrm(2,"storefront-image",5),e.k0s(),e.j41(3,"div",6),e.nrm(4,"h3",7)(5,"div",8),e.k0s(),e.DNE(6,fe,3,3,"div",9),e.bVm()),2&o){const n=e.XpG();e.R7$(2),e.Y8G("height","FIXED"),e.R7$(4),e.Y8G("ngIf",n.dataSourceError)}}function he(o,l){1&o&&e.eu8(0)}function Ee(o,l){if(1&o){const n=e.RV6();e.j41(0,"a",16),e.nI1(1,"urlTransform"),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(3);return e.Njj(i.onClickCover(t))}),e.DNE(2,he,1,0,"ng-container",17),e.k0s()}if(2&o){const n=e.XpG().ngIf;e.XpG();const s=e.sdS(6),t=e.XpG();e.Y8G("href",e.i5U(1,2,n,t.context),e.B4B),e.R7$(2),e.Y8G("ngTemplateOutlet",s)}}function ve(o,l){1&o&&e.eu8(0)}function Ie(o,l){if(1&o){const n=e.RV6();e.j41(0,"a",18),e.nI1(1,"urlTransform"),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(3);return e.Njj(i.onClickIssue(t))}),e.DNE(2,ve,1,0,"ng-container",19),e.k0s()}if(2&o){const n=e.XpG().ngIf;e.XpG();const s=e.sdS(8),t=e.XpG();e.AVh("expanded",t.descriptionExpanded),e.Y8G("href",e.i5U(1,5,n,t.context),e.B4B),e.R7$(2),e.Y8G("ngTemplateOutlet",s)("ngTemplateOutletContext",e.eq3(8,pe,n))}}function Ce(o,l){if(1&o&&(e.qex(0),e.DNE(1,Ee,3,5,"a",14)(2,Ie,3,10,"a",15),e.bVm()),2&o){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.cover),e.R7$(),e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.allData)}}function be(o,l){1&o&&e.eu8(0)}function Te(o,l){if(1&o){const n=e.RV6();e.j41(0,"div",22),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(3);return e.Njj(i.onClickCover(t))}),e.DNE(1,be,1,0,"ng-container",17),e.k0s()}if(2&o){e.XpG(2);const n=e.sdS(6);e.R7$(),e.Y8G("ngTemplateOutlet",n)}}function De(o,l){if(1&o){const n=e.RV6();e.j41(0,"div",23),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(3);return e.Njj(i.onClickIssue(t))}),e.eu8(1,24),e.k0s()}if(2&o){e.XpG(2);const n=e.sdS(8),s=e.XpG();e.AVh("expanded",s.descriptionExpanded),e.R7$(),e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.lJ4(4,ge))}}function Oe(o,l){if(1&o&&e.DNE(0,Te,2,1,"div",20)(1,De,2,5,"div",21),2&o){const n=e.XpG(2);e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.cover),e.R7$(),e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.allData)}}function Re(o,l){1&o&&e.nrm(0,"storefront-spinner")}function xe(o,l){1&o&&(e.j41(0,"div",28),e.nrm(1,"span",29),e.k0s())}function Ae(o,l){if(1&o&&e.nrm(0,"storefront-progress",30),2&o){const n=e.XpG(3);e.Y8G("type",n.getProgressType())("progress",n.installState.progress)}}function Se(o,l){if(1&o&&(e.nrm(0,"storefront-image",25),e.DNE(1,Re,1,0,"storefront-spinner",3)(2,xe,2,0,"div",26)(3,Ae,1,2,"storefront-progress",27)),2&o){const n=e.XpG(2);e.Y8G("src",n.issue.thumbnails&&n.issue.thumbnails.default)("imageResolutionStrategy",null==n.config?null:n.config.imageResolutionStrategy)("height",n.getImageHeight())("extendedThumbnail",null==n.issue||null==n.issue.thumbnailsExtended?null:n.issue.thumbnailsExtended.default)("label",null==n.issue?null:n.issue.name),e.R7$(),e.Y8G("ngIf",n.coverLoading),e.R7$(),e.Y8G("ngIf",n.showUpdateBehavior()),e.R7$(),e.Y8G("ngIf",n.showProgress())}}function ye(o,l){if(1&o){const n=e.RV6();e.j41(0,"h3",46),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(3);return e.Njj(i.onClickCover(t))}),e.nrm(1,"span",47),e.k0s()}if(2&o){const n=e.XpG(3);e.R7$(),e.Y8G("storefrontTranslate",n.config.publicationTitleMessage)("storefrontTranslateArgs",e.eq3(2,j,n.publication&&n.publication.name))}}function Pe(o,l){if(1&o){const n=e.RV6();e.j41(0,"h3",48),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(3);return e.Njj(i.onClickCover(t))}),e.nrm(1,"span",47),e.k0s()}if(2&o){const n=e.XpG(3);e.R7$(),e.Y8G("storefrontTranslate",n.config.titleMessage)("storefrontTranslateArgs",e.eq3(2,j,n.issue.name))}}function ke(o,l){1&o&&e.nrm(0,"i",49)}function Le(o,l){if(1&o&&(e.j41(0,"div",50),e.EFF(1),e.nI1(2,"storefrontDate"),e.k0s()),2&o){const n=e.XpG(3);e.R7$(),e.SpI(" ",e.bMT(2,1,n.issue.publicationDate)," ")}}function Me(o,l){if(1&o&&e.nrm(0,"div",51),2&o){const n=e.XpG(3);e.Y8G("storefrontTranslate",n.config.descriptionMessage)("storefrontTranslateArgs",e.eq3(2,j,n.issue.description))}}function Ue(o,l){if(1&o){const n=e.RV6();e.j41(0,"span",52),e.bIt("click",function(){e.eBV(n);const t=e.XpG(3);return e.Njj(t.descriptionExpanded=!t.descriptionExpanded)}),e.nrm(1,"span",53)(2,"i",54),e.k0s()}if(2&o){const n=e.XpG(3);e.R7$(),e.Y8G("storefrontTranslate",n.descriptionExpanded?"ISSUE_DESCRIPTION_TOGGLE_COLLAPSE":"ISSUE_DESCRIPTION_TOGGLE_EXPAND")}}function Be(o,l){if(1&o&&(e.j41(0,"div")(1,"span"),e.EFF(2),e.k0s(),e.nrm(3,"i"),e.k0s()),2&o){const n=l.$implicit;e.ZWY("issue-property issue-property-",n.key," issue-property-",n.key,"-",n.value,""),e.R7$(2),e.JRh(n.value),e.R7$(),e.ee0("'icon icon-",n.key," icon-",n.value," icon-",n.key,"-",n.value,"")}}function Ge(o,l){if(1&o&&(e.j41(0,"div",55),e.DNE(1,Be,4,12,"div",56),e.k0s()),2&o){const n=e.XpG(3);e.R7$(),e.Y8G("ngForOf",n.visibleProperties)("ngForTrackBy",n.trackByProperty)}}function we(o,l){if(1&o&&(e.j41(0,"div",59)(1,"span"),e.EFF(2),e.k0s(),e.nrm(3,"i"),e.k0s()),2&o){const n=l.$implicit;e.ZvI("issue-category issue-category-",n.id,""),e.R7$(2),e.JRh(n.name||n.id),e.R7$(),e.ZvI("icon icon-",n.id,"")}}function Ne(o,l){if(1&o&&(e.j41(0,"div",57),e.DNE(1,we,4,7,"div",58),e.k0s()),2&o){const n=e.XpG(3);e.R7$(),e.Y8G("ngForOf",n.displayedCategories)("ngForTrackBy",n.trackByCategory)}}function Ke(o,l){if(1&o&&(e.j41(0,"div")(1,"span"),e.EFF(2),e.k0s(),e.nrm(3,"i"),e.k0s()),2&o){const n=l.$implicit;e.ZvI("issue-tag issue-tag-",n,""),e.R7$(2),e.JRh(n),e.R7$(),e.ZvI("icon icon-",n,"")}}function $e(o,l){if(1&o&&(e.j41(0,"div",60),e.DNE(1,Ke,4,7,"div",56),e.k0s()),2&o){const n=e.XpG(3);e.R7$(),e.Y8G("ngForOf",n.tags)("ngForTrackBy",n.trackByTag)}}function je(o,l){if(1&o&&e.nrm(0,"div",47),2&o){const n=l.$implicit;e.ZvI("issue-custom-message ",n.class||"",""),e.Y8G("storefrontTranslate",n.message)("storefrontTranslateArgs",n.variables||e.lJ4(5,de))}}function Xe(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",61),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(3);return e.Njj(i.onClickShare(t))}),e.k0s()}}function We(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",62),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(3);return e.Njj(i.onClickBookmark(t))}),e.k0s()}if(2&o){const n=e.XpG(3);e.ZvI("icon ",n.bookmark?"icon-bookmark-active":"icon-bookmark","")}}function Ye(o,l){1&o&&e.nrm(0,"storefront-spinner",68)}function Fe(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",65),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(4);return e.Njj(i.onClickRead(t))}),e.nrm(1,"span",66),e.DNE(2,Ye,1,0,"storefront-spinner",67),e.k0s()}if(2&o){const n=e.XpG(4);e.Y8G("disabled",n.openLoading),e.R7$(2),e.Y8G("ngIf",n.openLoading)}}function Ve(o,l){1&o&&e.nrm(0,"storefront-spinner",68)}function He(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",69),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(4);return e.Njj(i.onClickPreview(t))}),e.nrm(1,"span",70),e.DNE(2,Ve,1,0,"storefront-spinner",67),e.k0s()}if(2&o){const n=e.XpG(4);e.Y8G("disabled",n.previewLoading),e.R7$(2),e.Y8G("ngIf",n.previewLoading)}}function ze(o,l){1&o&&e.nrm(0,"storefront-spinner",68)}function Ze(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",74),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(7);return e.Njj(i.onClickCancel(t))}),e.nrm(1,"span",75),e.DNE(2,ze,1,0,"storefront-spinner",67),e.k0s()}if(2&o){const n=e.XpG(7);e.Y8G("disabled",n.deleteLoading),e.R7$(2),e.Y8G("ngIf",n.deleteLoading)}}function Qe(o,l){if(1&o&&(e.qex(0),e.DNE(1,Ze,3,2,"button",73),e.bVm()),2&o){const n=e.XpG(6);e.R7$(),e.Y8G("ngIf",n.showCancel())}}function Je(o,l){1&o&&e.nrm(0,"storefront-spinner",68)}function qe(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",76),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(6);return e.Njj(i.onClickDownload(t))}),e.nrm(1,"span",77),e.DNE(2,Je,1,0,"storefront-spinner",67),e.k0s()}if(2&o){const n=e.XpG(6);e.Y8G("disabled",n.downloadLoading),e.R7$(2),e.Y8G("ngIf",n.downloadLoading)}}function et(o,l){1&o&&e.nrm(0,"storefront-spinner",68)}function tt(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",78),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(6);return e.Njj(i.onClickDelete(t))}),e.nrm(1,"span",79),e.DNE(2,et,1,0,"storefront-spinner",67),e.k0s()}if(2&o){const n=e.XpG(6);e.Y8G("disabled",n.deleteLoading),e.R7$(2),e.Y8G("ngIf",n.deleteLoading)}}function st(o,l){if(1&o&&(e.qex(0),e.DNE(1,Qe,2,1,"ng-container",3)(2,qe,3,2,"button",71)(3,tt,3,2,"button",72),e.bVm()),2&o){const n=e.XpG(5);e.R7$(),e.Y8G("ngIf",n.installState.downloading),e.R7$(),e.Y8G("ngIf",!n.installState.downloading&&"COMPLETE"!==n.installState.installState&&!n.deleteLoading),e.R7$(),e.Y8G("ngIf",n.showDelete())}}function nt(o,l){1&o&&e.nrm(0,"storefront-spinner",68)}function ot(o,l){if(1&o&&e.nrm(0,"storefront-progress",82),2&o){const n=e.XpG(7);e.Y8G("type",n.getProgressType())("progress",n.installState.progress)}}function it(o,l){if(1&o&&(e.j41(0,"p",83),e.EFF(1),e.k0s()),2&o){const n=e.XpG(7);e.R7$(),e.SpI(" ",n.installState.progress,"% ")}}function rt(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",62),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(6);return e.Njj(i.onClickState(t))}),e.nrm(1,"span",53),e.DNE(2,nt,1,0,"storefront-spinner",67)(3,ot,1,2,"storefront-progress",80)(4,it,2,1,"p",81),e.k0s()}if(2&o){const n=e.XpG(6);e.ZWY("button-state action-button ",n.installState.downloading?"button-state-downloading":""," ","button-state-"+n.installState.installState," ",n.deleteLoading||n.downloadLoading?"button-state-loading":"",""),e.R7$(),e.Y8G("storefrontTranslate",n.getStateText()),e.R7$(),e.Y8G("ngIf",n.deleteLoading||n.downloadLoading),e.R7$(),e.Y8G("ngIf",n.showProgress(!0)),e.R7$(),e.Y8G("ngIf",n.showProgress(!0))}}function at(o,l){if(1&o&&(e.qex(0),e.DNE(1,rt,5,9,"button",43),e.bVm()),2&o){const n=e.XpG(5);e.R7$(),e.Y8G("ngIf",n.installState)}}function lt(o,l){if(1&o&&(e.qex(0),e.DNE(1,st,4,3,"ng-container",3)(2,at,2,1,"ng-container",3),e.bVm()),2&o){const n=e.XpG(4);e.R7$(),e.Y8G("ngIf","MULTI"===n.downloadOptions.buttonType),e.R7$(),e.Y8G("ngIf","SINGLE"===n.downloadOptions.buttonType)}}function ct(o,l){if(1&o&&(e.qex(0),e.DNE(1,Fe,3,2,"button",63)(2,He,3,2,"button",64)(3,lt,3,2,"ng-container",3),e.bVm()),2&o){const n=e.XpG(3);e.R7$(),e.Y8G("ngIf",!n.locked),e.R7$(),e.Y8G("ngIf",n.locked&&n.hasPreview()),e.R7$(),e.Y8G("ngIf",n.downloadOptions&&!n.locked)}}function _t(o,l){1&o&&e.nrm(0,"span",92)}function ut(o,l){1&o&&e.nrm(0,"span",93)}function pt(o,l){if(1&o&&e.nrm(0,"span",94),2&o){const n=e.XpG(5);e.Y8G("storefrontTranslateArgs",e.eq3(1,j,n.price&&n.price.formattedPrice))}}function gt(o,l){1&o&&e.nrm(0,"storefront-spinner",68)}function dt(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",88),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(4);return e.Njj(i.onClickPurchase(t))}),e.DNE(1,_t,1,0,"span",89)(2,ut,1,0,"span",90)(3,pt,1,3,"span",91)(4,gt,1,0,"storefront-spinner",67),e.k0s()}if(2&o){const n=e.XpG(4);e.Y8G("ngClass",n.getPriceState())("disabled",!n.price||n.purchaseLoading),e.R7$(),e.Y8G("ngIf",!n.visible||n.priceLoading),e.R7$(),e.Y8G("ngIf",n.visible&&!n.priceLoading&&!n.price),e.R7$(),e.Y8G("ngIf",n.price),e.R7$(),e.Y8G("ngIf",n.purchaseLoading)}}function ft(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",95),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(4);return e.Njj(i.onClickSubscribe(t))}),e.k0s()}}function mt(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",96),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(4);return e.Njj(i.onClickLogin(t))}),e.k0s()}}function ht(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",97),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(4);return e.Njj(i.onClickCoupon(t))}),e.k0s()}}function Et(o,l){if(1&o&&(e.qex(0),e.DNE(1,dt,5,6,"button",84)(2,ft,1,0,"button",85)(3,mt,1,0,"button",86)(4,ht,1,0,"button",87),e.bVm()),2&o){const n=e.XpG(3);e.R7$(),e.Y8G("ngIf",n.purchaseOptions.purchase),e.R7$(),e.Y8G("ngIf",n.purchaseOptions.subscribe),e.R7$(),e.Y8G("ngIf",!n.loggedIn&&n.purchaseOptions.login),e.R7$(),e.Y8G("ngIf",n.purchaseOptions.coupon)}}function vt(o,l){if(1&o&&(e.qex(0),e.nrm(1,"storefront-button",98),e.bVm()),2&o){const n=l.$implicit,s=e.XpG(3);e.R7$(),e.Y8G("baseConfig",n)("disableAnchor",!0)("baseContext",s.context)}}function It(o,l){if(1&o&&e.nrm(0,"storefront-progress",103),2&o){const n=e.XpG(4);e.Y8G("progress",n.installState.progress)("type",n.getProgressType())("showBorder",!0)}}function Ct(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",104),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(4);return e.Njj(i.onClickDownload(t))}),e.k0s()}if(2&o){const n=e.XpG(4);e.Y8G("disabled",n.downloadLoading)}}function bt(o,l){if(1&o){const n=e.RV6();e.j41(0,"button",105),e.bIt("click",function(t){e.eBV(n);const i=e.XpG(4);return e.Njj(i.onClickDelete(t))}),e.k0s()}if(2&o){const n=e.XpG(4);e.Y8G("disabled",n.deleteLoading)}}function Tt(o,l){1&o&&e.nrm(0,"storefront-spinner",68)}function Dt(o,l){if(1&o&&(e.j41(0,"div",99),e.DNE(1,It,1,3,"storefront-progress",100)(2,Ct,1,1,"button",101)(3,bt,1,1,"button",102)(4,Tt,1,0,"storefront-spinner",67),e.k0s()),2&o){const n=e.XpG(3);e.R7$(),e.Y8G("ngIf",n.showProgress(!0)),e.R7$(),e.Y8G("ngIf",!n.locked&&"COMPLETE"!==n.installState.installState&&!n.installState.downloading&&!n.downloadLoading),e.R7$(),e.Y8G("ngIf",n.showDelete()||n.showCancel()),e.R7$(),e.Y8G("ngIf",n.downloadLoading)}}function Ot(o,l){if(1&o&&(e.DNE(0,ye,2,4,"h3",31)(1,Pe,2,4,"h3",32)(2,ke,1,0,"i",33)(3,Le,3,3,"div",34)(4,Me,1,4,"div",35)(5,Ue,3,1,"span",36)(6,Ge,2,2,"div",37)(7,Ne,2,2,"div",38)(8,$e,2,2,"div",39)(9,je,1,6,"div",40),e.j41(10,"div",41),e.DNE(11,Xe,1,0,"button",42)(12,We,1,3,"button",43)(13,ct,4,3,"ng-container",3)(14,Et,5,4,"ng-container",3)(15,vt,2,3,"ng-container",44),e.k0s(),e.DNE(16,Dt,5,4,"div",45)),2&o){const n=e.XpG(2);e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.publication),e.R7$(),e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.title),e.R7$(),e.Y8G("ngIf",n.showCheck()),e.R7$(),e.Y8G("ngIf",n.issue.publicationDate&&(!n.config.hideComponents||!n.config.hideComponents.publicationDate)),e.R7$(),e.Y8G("ngIf",n.issue.description&&(!n.config.hideComponents||!n.config.hideComponents.description)),e.R7$(),e.Y8G("ngIf",n.issue.description&&(!n.config.hideComponents||!n.config.hideComponents.description)),e.R7$(),e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.properties),e.R7$(),e.Y8G("ngIf",!(n.config.displayCategories&&"NOTHING"===n.config.displayCategories.mode||n.config.hideComponents&&n.config.hideComponents.categories)),e.R7$(),e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.tags),e.R7$(),e.Y8G("ngForOf",n.customMessages)("ngForTrackBy",n.trackByMessage),e.R7$(2),e.Y8G("ngIf",n.config.sharing),e.R7$(),e.Y8G("ngIf",n.config.bookmark),e.R7$(),e.Y8G("ngIf",n.installState),e.R7$(),e.Y8G("ngIf",n.purchaseOptions&&n.locked),e.R7$(),e.Y8G("ngForOf",n.customButtons)("ngForTrackBy",n.trackByButton),e.R7$(),e.Y8G("ngIf",n.installState)}}function Rt(o,l){if(1&o&&(e.qex(0),e.DNE(1,Ce,3,2,"ng-container",13),e.nI1(2,"async"),e.DNE(3,Oe,2,2,"ng-template",null,0,e.C5r)(5,Se,4,8,"ng-template",null,1,e.C5r)(7,Ot,17,18,"ng-template",null,2,e.C5r),e.bVm()),2&o){const n=e.sdS(4),s=e.XpG();e.R7$(),e.Y8G("ngIf",e.bMT(2,2,s.issuePath$))("ngIfElse",n)}}let xt=(()=>{var o;class l extends z.${constructor(s,t,i,p,O,x,U,A,m,S,N,At,St,yt,Pt,V,kt,Lt,Mt){super(x,s,A,S,V),this.elementRef=s,this.ngZone=t,this.changeDetectorRef=i,this.store=p,this.dialog=O,this.injector=x,this.eventActionService=U,this.contextService=A,this.cleanUpService=m,this.document=S,this.platformId=N,this.purpleEnv=At,this.transferState=St,this.purpleService=yt,this.urlResolver=Pt,this.globalService=V,this.anchorService=kt,this.ssrService=Lt,this.resourceService=Mt,this.defaultConfig={...G.Mw},this.priceLoading=!1,this.purchaseLoading=!1,this.downloadLoading=!1,this.deleteLoading=!1,this.openLoading=!1,this.previewLoading=!1,this.coverLoading=!1,this.bookmarkLoading=!1,this.descriptionExpanded=!1,this.downloadError=null,this.dataSourceError=null,this.visible=!1,this.anchorFeatureEnabled=!1,this.anchorPathCover=null,this.visibleProperties=[],this.issuePath$=new y.t(null),this.purchaseConfig={...G.Rp}}get purchasable(){var s;return(null===(s=this.issue)||void 0===s?void 0:s.access)===_.Access.PURCHASABLE}get hasError(){var s;return!(!this.dataSourceError||null!==(s=this.dataSource)&&void 0!==s&&s.hasData())}get issueType(){return this.issue&&(0,B.xl)(this.issue)&&this.issue.type}get contentType(){var s;return null===(s=this.issue)||void 0===s?void 0:s.contentType}get postType(){return this.issue&&(0,B.mF)(this.issue)?this.issue.postType:void 0}get contextKey(){var s;return(null!==(s=this.issueContextKey)&&void 0!==s?s:this.context.content)?"content":"issue"}get issueContextKey(){var s,t;return null!==(s=null===(t=this.config)||void 0===t?void 0:t.issueContextKey)&&void 0!==s?s:this.baseConfig.issueContextKey}get contextContent(){var s,t;return null!==(s=null!==(t=this.context[this.issueContextKey])&&void 0!==t?t:this.context.content)&&void 0!==s?s:this.context.issue}ngOnInit(){this.anchorFeatureEnabled=this.anchorService.isAnchorFeatureEnabled(),this.anchorFeatureEnabled||this.issuePath$.next(null),super.ngOnInit(),this.store.select((0,d.jZ)(T.O.DOWNLOAD_OPTIONS),s=>this.updateBehavior=null==s?void 0:s.autoUpdateBehavior)}get taxonomies(){var s;return null!==(s=this.issue.taxonomies)&&void 0!==s?s:[]}get categories(){return this.taxonomies.filter(s=>"category"===s.type).map(s=>s.id)}get tags(){return this.taxonomies.filter(s=>"tag"===s.type).map(s=>s.id)}ngOnDestroy(){super.ngOnDestroy(),this.downloadHandler&&this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.purpleService.destroyDownloadHandler(this.downloadHandler),1e3)}),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource),this.trackingObserver&&this.trackingObserver.disconnect()}onConfigChanges(){var s=this;return(0,a.A)(function*(){var t;const i=s.issue,p=(0,g.v3)(s.config.dataSource),O={...p,limit:1};var x;if(s.loggedIn=!!s.context[_.METADATA_KEY.ENTITLEMENT_TOKEN],s.dataSource&&!s.dataSource.hasConfigChanged(O)&&s.issue)return s.context[null!==(x=s.issueContextKey)&&void 0!==x?x:"issue"]=i,s.updateConfig(i),void s.changeDetectorRef.detectChanges();if(p)delete s.issue,delete s.dataSourceError,s.changeDetectorRef.detectChanges(),s.dataSource=(0,E.O8)(O,s.contextService,s.store,s.elementRef.nativeElement,s.transferState,s.purpleService,s.globalService,s.document,s.resourceService,s.platformId),s.store.subscribe(s.dataSource.data$.pipe((0,u.p)(A=>A&&!!A[0])),A=>{var m;const S=s.issue;s.issue=A[0],(0,M.GA)(s.issue,s.purpleService).then(N=>s.locked=N),s.context[null!==(m=s.issueContextKey)&&void 0!==m?m:"issue"]=s.issue,s.updateConfig(S)},k.lQ,k.lQ,"data"),s.store.subscribe(s.dataSource.error$,A=>s.dataSourceError=A,k.lQ,k.lQ,"error"),yield s.dataSource.loadData();else{const A=s.contextContent;var U;"object"!=typeof A||s.issue&&(!A||s.purchaseLoading)?s.context[null!==(U=s.issueContextKey)&&void 0!==U?U:"issue"]=s.issue:(s.issue=A,(0,M.GA)(s.issue,s.purpleService).then(m=>s.locked=m)),s.updateConfig(i)}void 0===s.issue&&(null===(t=s.baseContext)||void 0===t||!t.isGhost)&&(0,c.UE)(s.platformId)&&s.ngZone.runOutsideAngular(()=>{setTimeout(()=>{void 0===s.issue&&s.ngZone.run(()=>s.dataSourceError={code:_.ERROR_CODE.ISSUE_NOT_FOUND})},1e3)})})()}updateConfig(s){var t=this;return(0,a.A)(function*(){var i;const p={...t.context};p.publication||(p.publication=t.publication),t.config=(0,g.uQ)({...G.Mw,...t.baseConfig},p,t.contextService.$functions,t.globalService.getGlobalData());const O=(0,g.v3)(t.config.purchaseOptions);if(O&&(t.purchaseOptions=Object.keys(O).reduce((m,S)=>({...m,[S]:(0,g.v3)(O[S])}),{}),t.purchaseOptions.purchase&&"object"==typeof t.purchaseOptions.purchase&&(t.purchaseConfig={...G.Rp,...t.purchaseOptions.purchase})),t.anchorFeatureEnabled&&!(0,B.xl)(t.issue)){t.anchorPathCover=t.anchorService.getAnchorPath(t.config.tapCover,t.context,null);const m=t.anchorService.getAnchorPath(t.config.tapIssue,t.context,null);m?t.purpleEnv.isUniversal&&t.issuePath$.next(m):yield t.getIssuePath()}const x={buttonClass:"action-button"};if(t.customButtons=t.config.customButtons.filter(m=>(0,g.Ol)(m)).map(m=>(0,g.v3)(m)).map(m=>({...x,...m,buttonClass:m.buttonClass?x.buttonClass.concat(" ",m.buttonClass):x.buttonClass})),t.customMessages=t.config.customMessages.filter(m=>(0,g.Ol)(m)).map(m=>(0,g.v3)(m)),t.downloadOptions=(0,g.v3)(t.config.downloadOptions),JSON.stringify(s)!==JSON.stringify(t.issue)&&t.loadOnVisible(),t.visibleProperties=(null!==(i=t.config.renderProperties)&&void 0!==i?i:[]).map(m=>(0,g.v3)(m)).filter(m=>!!m&&void 0!==t.issue.properties[m]).map(m=>({key:m,value:t.issue.properties[m]})),t.issue){var U,A;const m=null!==(U=null===(A=t.config.displayCategories)||void 0===A?void 0:A.mode)&&void 0!==U?U:"SLUG";switch(m){case"SLUG":t.displayedCategories=t.taxonomies.filter(S=>"category"===S.type).map(S=>({id:S.id}));break;case"NAME":t.purpleService.getCategories({categoryFilter:{OR:t.taxonomies.map(({id:S})=>({id:{value:S}}))}}).then(S=>{t.displayedCategories=S.nodes}).catch(S=>{console.warn("resolving taxonomy name for displayCategories.mode ".concat(m," failed"),S,t),t.displayedCategories=t.taxonomies.filter(N=>"category"===N.type).map(N=>({id:N.id}))})}}})()}loadOnVisible(){var s=this;if(this.installState=null,this.price=null,this.deleteLoading=!1,this.downloadLoading=!1,this.purchaseLoading=!1,this.previewLoading=!1,this.priceLoading=!1,this.openLoading=!1,this.bookmarkLoading=!1,!this.isGhost()){if(this.config.trackVisible){const i=!0===this.config.trackVisible?0:this.config.trackVisible.trackDelay;let O,x=U=>{U[0].isIntersecting?O=setTimeout(()=>{this.getDownloadHandler().then(function(){var A=(0,a.A)(function*(m){s.publication||(yield s.loadPublication()),s.handleTrackAction("VISIBLE",m)});return function(m){return A.apply(this,arguments)}}())},i):clearTimeout(O)};this.trackingObserver=new IntersectionObserver(x,{rootMargin:"0px",threshold:!0===this.config.trackVisible?1:this.config.trackVisible.minIssueVisibility}),this.trackingObserver.observe(this.elementRef.nativeElement)}this.store.subscribe((0,H.eh)(this,this.elementRef,{skipWait:this.purpleEnv.isUniversal&&!this.ssrService.currentPrebootStatus}),t=>{this.visible=!0,this.loadIssueState(),this.loadPublication(),this.loadPrice(),this.loadBookmark(),this.purpleService.addInvalidationListener((0,a.A)(function*(){var i;s.dataSource&&(s.issue=yield s.purpleService.getIssue(s.issue.id).catch(()=>null),s.locked=yield(0,M.GA)(s.issue,s.purpleService),s.context[null!==(i=s.issueContextKey)&&void 0!==i?i:"issue"]=s.issue,s.updateConfig(s.issue)),s.loadPrice()}))},k.lQ,k.lQ,"visible")}}loadIssueState(){var s=this;return(0,a.A)(function*(){s.issue&&s.downloadOptions&&(yield s.getDownloadHandler(),s.downloadHandler&&(s.store.subscribe(s.downloadHandler.updates$,t=>{s.installState=t,t&&t.error&&!s.downloadError&&(s.downloadError=t.error),s.changeDetectorRef.detectChanges()},k.lQ,k.lQ,"installState"),s.downloadHandler.autoUpdate&&s.downloadHandler.downloadStarted&&s.downloadHandler.update()),s.changeDetectorRef.detectChanges())})()}loadPrice(){var s=this;return(0,a.A)(function*(){if(s.purchaseOptions&&s.locked){var t;s.priceLoading=!0;const i=s.issue.productId||(null===(t=yield s.purpleService.getRepeatablePublicationProductByPublicationId(s.issue.publicationId))||void 0===t?void 0:t.productId);i?(s.store.select((0,w.Zt)(i),p=>{(0,X.b)(p)||(s.price=p),s.priceLoading=!1}),s.store.dispatch((0,P.qF)({productId:i}))):s.priceLoading=!1}})()}loadPublication(){var s=this;return(0,a.A)(function*(){if(s.issue)try{const t=s.issue.publicationId,i=(0,e.zw6)("publication_".concat(t));s.transferState.hasKey(i)?(s.publication=s.transferState.get(i,null),(0,c.UE)(s.platformId)&&s.transferState.remove(i)):(s.publication=yield s.purpleService.getPublication(t),(0,c.Vy)(s.platformId)&&s.transferState.onSerialize(i,()=>s.publication)),yield s.updateConfig(s.issue),s.changeDetectorRef.detectChanges()}catch{console.log("error loading publication for issue",s)}})()}loadBookmark(){var s=this;return(0,a.A)(function*(){s.config.bookmark&&s.store.subscribe(s.purpleService.bookmarks.pipe((0,h.T)(t=>t.find(i=>i.issueId===s.issue.id))),t=>s.bookmark=t,k.lQ,k.lQ,"bookmark")})()}getData(){return this.issue}getImageHeight(){return this.config.coverHeight||this.getDefaultImageHeight()}hasPreview(){return(0,B.xl)(this.issue)?!!this.issue.previewIssue:(0,B.mF)(this.issue)?!!this.issue.previewContentHtml:!(0,B.G4)(this.issue)&&void 0}getDefaultImageHeight(){return this.template===G.W9.DETAILS?Y.q.AUTO:Y.q.FIXED}onClickDownload(s){var t=this;return(0,a.A)(function*(){s.stopPropagation(),t.downloadLoading=!0,delete t.downloadError,t.changeDetectorRef.detectChanges();const i=yield t.getDownloadHandler();if(t.handleTrackAction("DOWNLOAD_CLICKED",i),i){if(t.purpleService.downloadOptions.showConfirmDownloadDialog){const p=i.getAggregatedIssueState(),O={issue:t.issue,download:{totalSize:(p.overallSize/1e6).toFixed(1),downloadSize:(p.overallSizeToDownload/1e6).toFixed(1)}};try{yield t.dialog.confirm({text:"ISSUE_DOWNLOAD_CONFIRM_MESSAGE",args:[O]},{text:"ISSUE_DOWNLOAD_CONFIRM_TITLE",args:[O]},"ISSUE_DOWNLOAD_CONFIRM_OK","ISSUE_DOWNLOAD_CONFIRM_CANCEL")}catch{return t.handleTrackAction("DOWNLOAD_CONFIRM_CANCELLED",i,void 0,"_COLLECTION"),void(t.downloadLoading=!1)}}try{yield i.download(),t.cleanUpService.addIssue(t.issue.id),t.installState.downloading=!0,t.installState.installState=_.CatalogIssueInstallState.INCOMPLETE,t.installState.progress=0}catch(p){console.error(p),p.code===_.ERROR_CODE.PAYMENT_REQUIRED&&t.purpleService.invalidate()}}t.downloadLoading=!1,t.changeDetectorRef.detectChanges()})()}onClickDelete(s){var t=this;return(0,a.A)(function*(){if(s.stopPropagation(),t.config.deleteConfirm)try{yield t.dialog.confirm({text:"ISSUE_DELETE_MESSAGE",args:[t.issue.name]},"ISSUE_DELETE_TITLE","ISSUE_DELETE_CONFIRM","ISSUE_DELETE_CANCEL"),yield t.deleteIssue()}catch{}else yield t.deleteIssue()})()}onClickCancel(s){var t=this;return(0,a.A)(function*(){if(s.stopPropagation(),!t.deleteLoading)try{t.deleteLoading=!0,delete t.downloadError,t.changeDetectorRef.detectChanges(),t.getDownloadHandler().then(i=>t.handleTrackAction("CANCEL_CLICKED",i)),t.cleanUpService.removeIssue(t.issue.id),t.downloadHandler&&(yield t.downloadHandler.delete()),t.deleteLoading=!1,t.changeDetectorRef.detectChanges(),t.delete.emit(t.issue)}catch(i){console.log(i),t.deleteLoading=!1,t.changeDetectorRef.detectChanges()}})()}onClickRead(s){var t=this;return(0,a.A)(function*(){t.contextService.closeModal(t.elementRef.nativeElement),t.contextService.closeModalSubject.observers.length>0?t.contextService.closeModalCompleteSubject.pipe((0,R.s)(t.contextService.closeModalSubject.observers.length)).subscribe(()=>{},()=>{},(0,a.A)(function*(){t.openContent("READ_CLICKED")})):t.openContent("READ_CLICKED")})()}onClickPurchase(s){var t=this;return(0,a.A)(function*(){var i;s.stopPropagation(),t.purchaseLoading=!0,t.changeDetectorRef.detectChanges();const p={...t.purchaseConfig,productId:t.price.productId,price:t.price.price,currency:t.price.currency};t.issue.productId!==(null===(i=t.price)||void 0===i?void 0:i.productId)&&(p.consumeOptions={issueIds:[],contentIds:[t.issue.id]}),yield t.eventActionService.processPurchaseAction(p,t),t.purchaseLoading=!1,t.changeDetectorRef.detectChanges()})()}onClickPreview(s){var t=this;return(0,a.A)(function*(){t.contextService.closeModal(t.elementRef.nativeElement),t.contextService.closeModalSubject.observers.length>0?t.contextService.closeModalCompleteSubject.pipe((0,R.s)(t.contextService.closeModalSubject.observers.length)).subscribe(()=>{},()=>{},(0,a.A)(function*(){t.openContent("PREVIEW_CLICKED")})):t.openContent("PREVIEW_CLICKED")})()}onClickSubscribe(s){s.stopPropagation(),this.getDownloadHandler().then(t=>this.handleTrackAction("SUBSCRIBE_CLICKED",t)),this.eventActionService.processEventAction({type:D.H.SUBSCRIPTIONS,params:{issue:this.issue.id,publication:this.issue.publicationId}},this)}onClickLogin(s){s.stopPropagation(),this.getDownloadHandler().then(t=>this.handleTrackAction("LOGIN_CLICKED",t)),this.eventActionService.processEventAction({type:D.H.LOGIN,params:{issue:this.issue.id,publication:this.issue.publicationId}},this)}onClickCoupon(s){s.stopPropagation(),this.getDownloadHandler().then(t=>this.handleTrackAction("COUPON_CLICKED",t)),this.eventActionService.processEventAction({type:D.H.COUPON,params:{issue:this.issue.id,publication:this.issue.publicationId}},this)}getId(){return this.issue&&this.issue.id}getTrackingBaseKey(s,t){return this.elementId||s&&"".concat(s.getContentType(t))||this.getType()}getTrackingParams(s){const t=(0,$.bJ)(this.issue,this.publication,this.price);return{...s&&(0,$.Gw)(s.getContentType())?(0,$.bJ)(s.issue,s.publication,this.price,"SOURCE_"):{},...t}}handleTrackAction(s,t,i,p){const O="".concat(this.getTrackingBaseKey(t,p),"_").concat(s);let x=i?(0,$.aM)(i):{};x={...x,...this.getTrackingParams(t)},this.store.dispatch((0,W.k4)({key:O,params:x}))}onClickCover(s){this.clickIssueAction(s,"tapCover","COVER_CLICKED")}onClickIssue(s){this.clickIssueAction(s,"tapIssue","ISSUE_CLICKED")}clickIssueAction(s,t,i){var p=this;return(0,a.A)(function*(){p.anchorFeatureEnabled&&s.preventDefault();const O=(0,g.v3)(p.config[t]);if(O){if(s.stopPropagation(),p.coverLoading)return;p.coverLoading=!0,p.changeDetectorRef.detectChanges(),p.getDownloadHandler().then(x=>p.handleTrackAction(i,x)),yield p.eventActionService.processEventAction(O,p),p.coverLoading=!1,p.changeDetectorRef.detectChanges()}})()}isGhost(){return!(this.issue&&this.issue.id||this.dataSourceError)}onClickState(s){var t=this;return(0,a.A)(function*(){if(s.stopPropagation(),t.installState)return t.installState.downloading?t.onClickCancel(s):t.installState.installState===_.CatalogIssueInstallState.COMPLETE?t.onClickDelete(s):t.onClickDownload(s)})()}onClickBookmark(s){var t=this;return(0,a.A)(function*(){if(s.preventDefault(),s.stopPropagation(),!t.bookmarkLoading){if(t.bookmarkLoading=!0,t.bookmark){t.config.bookmark&&"boolean"!=typeof t.config.bookmark&&t.config.bookmark.deleteConfirm&&(yield t.dialog.confirm(t.bookmark.title?{text:"BOOKMARK_DELETE_MESSAGE_WITH_TITLE",args:[t.bookmark.title]}:"BOOKMARK_DELETE_MESSAGE","BOOKMARK_DELETE_TITLE","BOOKMARK_DELETE_CONFIRM","BOOKMARK_DELETE_CANCEL")),t.getDownloadHandler().then(i=>t.handleTrackAction("BOOKMARK_DELETE_CLICKED",i,t.bookmark));try{yield t.purpleService.deleteBookmark({id:t.bookmark.id}),t.getDownloadHandler().then(i=>t.handleTrackAction("BOOKMARK_DELETED",i,t.bookmark))}catch(i){t.dialog.alert(t.bookmark.title?{text:"ERROR_DELETE_BOOKMARK_WITH_TITLE",args:(0,K._3)((0,K.E2)(i,t.contextService),t.bookmark)}:{text:"ERROR_DELETE_BOOKMARK",args:[(0,K.E2)(i,t.contextService)]},"DIALOG_ERROR"),t.getDownloadHandler().then(p=>t.handleTrackAction("BOOKMARK_DELETE_FAILED",p,t.bookmark))}}else{t.getDownloadHandler().then(p=>t.handleTrackAction("BOOKMARK_ADD_CLICKED",p,t.bookmark));let i={title:t.issue.name,description:t.issue.description,issueId:t.issue.id,customData:{contentType:t.issue.contentType}};t.issue.thumbnails&&t.issue.thumbnails.default&&(i.thumbnailURL=t.issue.thumbnails.default),"object"==typeof t.config.bookmark&&(i={...i,...t.config.bookmark});try{yield t.purpleService.createBookmark(i),t.getDownloadHandler().then(p=>t.handleTrackAction("BOOKMARK_ADDED",p,t.bookmark))}catch(p){t.getDownloadHandler().then(O=>t.handleTrackAction("BOOKMARK_ADD_FAILED",O,t.bookmark)),t.dialog.alert({text:"ERROR_ADD_BOOKMARK",args:t.getErrorDialogArgs(p)},"DIALOG_ERROR")}}t.bookmarkLoading=!1,t.changeDetectorRef.detectChanges()}})()}onClickShare(s){var t=this;return(0,a.A)(function*(){s.stopPropagation(),t.getDownloadHandler().then(p=>t.handleTrackAction("SHARE_CLICKED",p));let i={text:t.issue.name,url:t.getSharingUrl()};"object"==typeof t.config.sharing&&(i={...i,...t.config.sharing});try{yield t.purpleService.share(i),t.getDownloadHandler().then(p=>t.handleTrackAction("SHARED",p))}catch{t.getDownloadHandler().then(O=>t.handleTrackAction("SHARE_FAILED",O)),t.dialog.alert("ERROR_SHARE","DIALOG_ERROR")}})()}getSharingUrl(){return"".concat(this.context[_.METADATA_KEY.MANAGER_BASE_URL],"/i/").concat(this.context[_.METADATA_KEY.APP_ID],"/").concat(this.issue.id,"?preview=").concat(this.context[_.METADATA_KEY.PREVIEW_APP])}getStateText(){return this.downloadLoading||this.deleteLoading?" ":this.installState?this.installState.downloading?"ISSUE_ACTION_CANCEL":this.installState.installState===_.CatalogIssueInstallState.COMPLETE?"ISSUE_ACTION_DELETE":"ISSUE_ACTION_DOWNLOAD":void 0}getPriceState(){return this.priceLoading?"price-loading":this.priceLoading||this.price?this.price?"price-available":"":"price-unavailable"}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),"downloadOptions","customButtons","customMessages"]}getDownloadHandler(){var s=this;return(0,a.A)(function*(){return(0,c.UE)(s.platformId)&&((0,B.xl)(s.issue)||console.warn("tried to get download handler for "+s.issue.contentType),(!s.downloadHandler||s.downloadHandler.issue.id!==s.issue.id)&&(s.downloadHandler&&(yield s.purpleService.destroyDownloadHandler(s.downloadHandler)),s.downloadHandler=yield s.purpleService.getDownloadHandler(s.issue,s.dialog))),s.downloadHandler})()}showProgress(s=!1){return!this.deleteLoading&&!this.downloadLoading&&this.installState&&this.installState.downloading&&!(this.installState.updating&&this.updateBehavior===G.FZ.SILENT)&&(s||"MULTI"===this.downloadOptions.buttonType)}showCancel(){return!this.downloadLoading&&this.installState.downloading&&!(this.installState.updating&&this.updateBehavior===G.FZ.SILENT)}showDelete(){return!this.downloadLoading&&this.installState.installState!==_.CatalogIssueInstallState.NOT_INSTALLED&&(!this.installState.downloading||this.installState.updating&&this.updateBehavior===G.FZ.SILENT)}showCheck(){return this.downloadOptions&&this.downloadOptions.statusIndicator&&this.installState&&(this.installState.installState===_.CatalogIssueInstallState.COMPLETE&&!this.locked||this.installState.updating&&this.updateBehavior===G.FZ.SILENT)}showUpdateBehavior(){if(this.installState&&(0,B.xl)(this.issue))return(0,M.YH)(this.installState,this.issue.type===_.IssueType.ISSUE)}reload(){window.location.reload()}hasContextChanged(s){var t;return!(null!==(t=this.config)&&void 0!==t&&t.dataSource)&&!v(this.contextContent,this.issue)||!v(s[_.METADATA_KEY.ENTITLEMENT_TOKEN],this.context[_.METADATA_KEY.ENTITLEMENT_TOKEN])||super.hasContextChanged(s)}deleteIssue(){var s=this;return(0,a.A)(function*(){if(!s.deleteLoading)try{s.deleteLoading=!0,delete s.downloadError,s.changeDetectorRef.detectChanges(),s.getDownloadHandler().then(t=>s.handleTrackAction("DELETE_CLICKED",t)),s.cleanUpService.removeIssue(s.issue.id),s.downloadHandler&&(yield s.downloadHandler.delete()),s.deleteLoading=!1,s.changeDetectorRef.detectChanges(),s.delete.emit(s.issue)}catch(t){console.log(t),s.deleteLoading=!1,s.changeDetectorRef.detectChanges()}})()}getProgressType(){const t=(this.config||this.baseConfig).downloadOptions;return t.progressType?t.progressType:this.template===G.W9.COVER?F.s.RADIAL:F.s.BAR}getErrorDialogArgs(s){return(0,K.$C)((0,K.E2)(s,this.contextService),this.issue)}getIssuePath(){var s=this;return(0,a.A)(function*(){if(s.issue&&(!s.issue.ad||s.issue.contentType)&&s.purpleEnv.isUniversal){const t=(0,e.zw6)("url_".concat(s.issue.id));if(s.transferState.hasKey(t))s.issuePath$.next(s.transferState.get(t,null));else{const i=yield s.urlResolver.getPathForContent(s.issue);s.issuePath$.next(i),(0,c.Vy)(s.platformId)&&s.transferState.set(t,i)}}})()}trackByProperty(s,t){var i;return null!==(i=null==t?void 0:t.key)&&void 0!==i?i:s}trackByCategory(s,t){var i;return null!==(i=null==t?void 0:t.id)&&void 0!==i?i:s}trackByTag(s,t){return null!=t?t:s}trackByMessage(s,t){var i;return null!==(i=null==t?void 0:t.message)&&void 0!==i?i:s}trackByButton(s,t){var i;return null!==(i=null==t?void 0:t.id)&&void 0!==i?i:s}openContent(s){var t=this;return(0,a.A)(function*(){t.openLoading=!0,t.changeDetectorRef.detectChanges(),t.getDownloadHandler().then(i=>t.handleTrackAction(s,i)),yield t.eventActionService.processOpenContentAction({type:D.H.OPEN_CONTENT,...t.config.openContent},t),t.openLoading=!1,t.changeDetectorRef.detectChanges()})()}getContextKey(){return this.contextKey}}return(o=l).type="issue",o.\u0275fac=function(s){return new(s||o)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(e.gRc),e.rXU(f.B),e.rXU(Z.o),e.rXU(e.zZn),e.rXU(Q.G),e.rXU(J.V),e.rXU(q.I),e.rXU(c.qQ),e.rXU(e.Agw),e.rXU($.r6),e.rXU(e.pJN),e.rXU(M.Wj),e.rXU(ee.K),e.rXU(te.d),e.rXU(se.X),e.rXU(ne.i),e.rXU(oe.Q))},o.\u0275cmp=e.VBU({type:o,selectors:[["storefront-issue"]],hostVars:9,hostBindings:function(s,t){2&s&&(e.BMQ("issue-type",t.issueType)("content-type",t.contentType)("post-type",t.postType),e.AVh("locked",t.locked)("purchasable",t.purchasable)("error",t.hasError))},features:[e.Jv_([f.B]),e.Vt3],decls:2,vars:2,consts:[["noAnchorTemplate",""],["imageTemplate",""],["issueData",""],[4,"ngIf"],[1,"issue-image"],[3,"height"],[1,"issue-data"],[1,"issue-title"],[1,"issue-description"],["class","issue-error",4,"ngIf"],[1,"issue-error"],["storefrontTranslate","ISSUE_ERROR",3,"storefrontTranslateArgs"],["storefrontTranslate","ISSUE_ERROR_BUTTON","mat-ripple","",1,"action-button",3,"click"],[4,"ngIf","ngIfElse"],["class","issue-image",3,"href","click",4,"ngIf"],["class","issue-data",3,"href","expanded","click",4,"ngIf"],[1,"issue-image",3,"click","href"],[4,"ngTemplateOutlet"],[1,"issue-data",3,"click","href"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","issue-image",3,"click",4,"ngIf"],["class","issue-data",3,"expanded","click",4,"ngIf"],[1,"issue-image",3,"click"],[1,"issue-data",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"src","imageResolutionStrategy","height","extendedThumbnail","label"],["class","issue-update-badge",4,"ngIf"],[3,"type","progress",4,"ngIf"],[1,"issue-update-badge"],["storefrontTranslate","ISSUE_UPDATE_BADGE_MESSAGE"],[3,"type","progress"],["class","issue-publication-title",3,"click",4,"ngIf"],["class","issue-title",3,"click",4,"ngIf"],["class","icon icon-check-bg",4,"ngIf"],["class","issue-pub-date",4,"ngIf"],["class","issue-description","storefrontCheckOverflow","vertical","storefrontCheckOverflowTarget","self",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],["class","issue-description-expand-toggle",3,"click",4,"ngIf"],["class","issue-properties",4,"ngIf"],["class","issue-categories",4,"ngIf"],["class","issue-tags",4,"ngIf"],[3,"class","storefrontTranslate","storefrontTranslateArgs",4,"ngFor","ngForOf","ngForTrackBy"],[1,"issue-actions"],["class","icon icon-share","mat-ripple","",3,"click",4,"ngIf"],["mat-ripple","",3,"class","click",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","issue-state",4,"ngIf"],[1,"issue-publication-title",3,"click"],[3,"storefrontTranslate","storefrontTranslateArgs"],[1,"issue-title",3,"click"],[1,"icon","icon-check-bg"],[1,"issue-pub-date"],["storefrontCheckOverflow","vertical","storefrontCheckOverflowTarget","self",1,"issue-description",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"issue-description-expand-toggle",3,"click"],[3,"storefrontTranslate"],[1,"icon","icon-arrow-down"],[1,"issue-properties"],[3,"class",4,"ngFor","ngForOf","ngForTrackBy"],[1,"issue-categories"],["purpleColorize","accent","purpleColorizeProps","background-color",3,"class",4,"ngFor","ngForOf","ngForTrackBy"],["purpleColorize","accent","purpleColorizeProps","background-color"],[1,"issue-tags"],["mat-ripple","",1,"icon","icon-share",3,"click"],["mat-ripple","",3,"click"],["class","button-read action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-preview action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["mat-ripple","",1,"button-read","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_READ"],["class","button-spinner",4,"ngIf"],[1,"button-spinner"],["mat-ripple","",1,"button-preview","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_PREVIEW"],["class","button-download action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-delete action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-cancel action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["mat-ripple","",1,"button-cancel","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_CANCEL"],["mat-ripple","",1,"button-download","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_DOWNLOAD"],["mat-ripple","",1,"button-delete","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_DELETE"],["message","",3,"type","progress",4,"ngIf"],["class","progress-percentage",4,"ngIf"],["message","",3,"type","progress"],[1,"progress-percentage"],["class","button-purchase action-button","mat-ripple","",3,"ngClass","disabled","click",4,"ngIf"],["class","button-subscribe action-button","mat-ripple","","storefrontTranslate","ISSUE_ACTION_SUBSCRIBE",3,"click",4,"ngIf"],["class","button-login action-button","mat-ripple","","storefrontTranslate","ISSUE_ACTION_LOGIN",3,"click",4,"ngIf"],["class","button-coupon action-button","mat-ripple","","storefrontTranslate","ISSUE_ACTION_COUPON",3,"click",4,"ngIf"],["mat-ripple","",1,"button-purchase","action-button",3,"click","ngClass","disabled"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_LOADING",4,"ngIf"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_UNAVAILABLE",4,"ngIf"],["storefrontTranslate","ISSUE_ACTION_PURCHASE",3,"storefrontTranslateArgs",4,"ngIf"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_LOADING"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_UNAVAILABLE"],["storefrontTranslate","ISSUE_ACTION_PURCHASE",3,"storefrontTranslateArgs"],["mat-ripple","","storefrontTranslate","ISSUE_ACTION_SUBSCRIBE",1,"button-subscribe","action-button",3,"click"],["mat-ripple","","storefrontTranslate","ISSUE_ACTION_LOGIN",1,"button-login","action-button",3,"click"],["mat-ripple","","storefrontTranslate","ISSUE_ACTION_COUPON",1,"button-coupon","action-button",3,"click"],[1,"button-custom",3,"baseConfig","disableAnchor","baseContext"],[1,"issue-state"],[3,"progress","type","showBorder",4,"ngIf"],["class","icon icon-download-circle","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","icon icon-delete","mat-ripple","",3,"disabled","click",4,"ngIf"],[3,"progress","type","showBorder"],["mat-ripple","",1,"icon","icon-download-circle",3,"click","disabled"],["mat-ripple","",1,"icon","icon-delete",3,"click","disabled"]],template:function(s,t){1&s&&e.DNE(0,me,7,2,"ng-container",3)(1,Rt,9,4,"ng-container",3),2&s&&(e.Y8G("ngIf",!t.issue||t.dataSourceError),e.R7$(),e.Y8G("ngIf",t.issue&&t.config&&!t.dataSourceError))},dependencies:[c.YU,c.Sq,c.bT,c.T3,F.X,ie.G,re.M,ae.t,le.r6,ce.Q,Y.h,c.Jj,_e.w,ue.Z],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-issue{display:flex;flex-direction:column;position:relative}storefront-issue .issue-image{position:relative;overflow:hidden}storefront-issue .issue-image storefront-spinner{position:absolute;top:0;height:100%;width:100%;background-color:#0000001a}storefront-issue .issue-image .issue-update-badge{--paddingVert: .25em;--fontSize: .8em;--width: 200%;--offset: calc(var(--fontSize) * 3);position:absolute;top:calc(var(--fontSize) + var(--paddingVert));left:calc(var(--width) / -2 + var(--offset));display:flex;justify-content:center;width:var(--width);padding:var(--paddingVert) 0;background:var(--issueUpdateBadgeBgColor);transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}@media (max-width: 767px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge{--fontSize: .6em}}@media (max-width: 330px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge{--fontSize: .6em}}storefront-issue .issue-image .issue-update-badge span{max-width:80px;text-align:center;font-size:var(--fontSize);color:var(--issueUpdateBadgeColor);-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}@media (max-width: 767px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge span{max-width:60px}}@media (max-width: 330px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge span{max-width:60px}}storefront-issue storefront-progress[type=BAR]{display:none;position:absolute;background-color:var(--issueProgressBgColor);border-radius:var(--borderRadius);overflow:hidden;text-align:center;padding:var(--issueProgressPaddingVert) var(--issueProgressPaddingHoriz);z-index:0;bottom:0;left:0;right:0;top:0}storefront-issue .issue-image storefront-progress[type=BAR]{top:auto;bottom:var(--issueProgressMarginVert);left:var(--issueProgressMarginHoriz);right:var(--issueProgressMarginHoriz)}storefront-issue .issue-data{display:flex;flex-direction:column;overflow:hidden;flex-grow:1}storefront-issue .issue-data .issue-description-expand-toggle{display:none}storefront-issue .issue-data .issue-description-expand-toggle i{display:inline-block;transition:transform .3s ease;font-size:12px;padding:0 4px}storefront-issue .issue-title{margin:.5em 0}storefront-issue .issue-description{color:var(--secondaryTextColor);width:100%;white-space:pre-wrap}storefront-issue .issue-custom-message{color:var(--textColor)}storefront-issue storefront-image{width:100%}storefront-issue .issue-actions{display:none;justify-content:space-between;z-index:1}storefront-issue .issue-actions button{color:#fff;background-color:var(--secondaryColor);padding:0}storefront-issue .issue-actions button.button-purchase,storefront-issue .issue-actions button.button-subscribe,storefront-issue .issue-actions button.button-download,storefront-issue .issue-actions button.button-read{background-color:var(--primaryColor)}storefront-issue .issue-actions button.button-state-downloading.button-state-INCOMPLETE .progress-percentage{display:none}storefront-issue .issue-actions button[disabled]{opacity:.5}storefront-issue .issue-actions button span{position:relative;z-index:1}storefront-issue .issue-actions button.icon{color:var(--primaryColor);background-color:transparent;width:1.4em;height:1.4em;font-size:1.4em}storefront-issue .issue-state{display:none}storefront-issue .issue-error .action-button{background-color:var(--secondaryColor);color:#fff;display:block}storefront-issue[template=cover] .issue-image{width:100%}storefront-issue[template=cover] .issue-image storefront-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=cover] .issue-data{flex-direction:row;align-items:center}storefront-issue[template=cover] .issue-data>i,storefront-issue[template=cover] .issue-data .issue-state i,storefront-issue[template=cover] .issue-data .issue-state button,storefront-issue[template=cover] .issue-data .issue-state storefront-progress,storefront-issue[template=cover] .issue-data .issue-state storefront-spinner{font-size:21px;height:22px;width:22px;color:var(--secondaryColor)}storefront-issue[template=cover] .issue-data>i.icon-delete,storefront-issue[template=cover] .issue-data .issue-state i.icon-delete,storefront-issue[template=cover] .issue-data .issue-state button.icon-delete,storefront-issue[template=cover] .issue-data .issue-state storefront-progress.icon-delete,storefront-issue[template=cover] .issue-data .issue-state storefront-spinner.icon-delete{width:42px;height:42px;position:absolute;top:-20px;right:-20px;border-radius:100%;font-size:10px;color:#fff;padding:10px}storefront-issue[template=cover] .issue-data>i.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state i.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state button.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state storefront-progress.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state storefront-spinner.icon-delete:after{background-color:var(--secondaryColor);width:22px;height:22px;border-radius:100%;display:flex;justify-content:center;align-items:center}storefront-issue[template=cover] .issue-state{display:flex;right:0;bottom:0}storefront-issue[template=cover] .issue-state storefront-spinner{position:relative;z-index:1;--spinnerColor: var(--secondaryColor);background-color:transparent;padding:0}storefront-issue[template=cover] .issue-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}storefront-issue[template=cover] .issue-publication-title,storefront-issue[template=cover] .issue-description,storefront-issue[template=cover] .issue-categories,storefront-issue[template=cover] .issue-tags,storefront-issue[template=cover] .issue-pub-date,storefront-issue[template=cover] .issue-properties,storefront-issue[template=cover] .issue-custom-message{display:none}storefront-issue[template=cover] .issue-publication-title .issue-tag,storefront-issue[template=cover] .issue-publication-title .issue-category,storefront-issue[template=cover] .issue-description .issue-tag,storefront-issue[template=cover] .issue-description .issue-category,storefront-issue[template=cover] .issue-categories .issue-tag,storefront-issue[template=cover] .issue-categories .issue-category,storefront-issue[template=cover] .issue-tags .issue-tag,storefront-issue[template=cover] .issue-tags .issue-category,storefront-issue[template=cover] .issue-pub-date .issue-tag,storefront-issue[template=cover] .issue-pub-date .issue-category,storefront-issue[template=cover] .issue-properties .issue-tag,storefront-issue[template=cover] .issue-properties .issue-category,storefront-issue[template=cover] .issue-custom-message .issue-tag,storefront-issue[template=cover] .issue-custom-message .issue-category{display:none}storefront-issue[template=card]{border-radius:4px;box-shadow:0 0 5px 2px #0000001a;padding-bottom:var(--gutter);overflow:hidden;background-color:#fff}storefront-issue[template=card] storefront-image[height-strategy=FIXED]{padding-top:75%}storefront-issue[template=card] storefront-image[height-strategy=FIXED]>img{object-fit:cover;width:100%}storefront-issue[template=card] .issue-title,storefront-issue[template=card] .issue-pub-date,storefront-issue[template=card] .issue-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-left:calc(var(--gutter) / 2);margin-right:calc(var(--gutter) / 2);width:initial}storefront-issue[template=card] .issue-publication-title,storefront-issue[template=card] .issue-categories,storefront-issue[template=card] .issue-tags,storefront-issue[template=card] .issue-properties,storefront-issue[template=card] .issue-custom-message{display:none}storefront-issue[template=card] .issue-publication-title .issue-tag,storefront-issue[template=card] .issue-publication-title .issue-category,storefront-issue[template=card] .issue-categories .issue-tag,storefront-issue[template=card] .issue-categories .issue-category,storefront-issue[template=card] .issue-tags .issue-tag,storefront-issue[template=card] .issue-tags .issue-category,storefront-issue[template=card] .issue-properties .issue-tag,storefront-issue[template=card] .issue-properties .issue-category,storefront-issue[template=card] .issue-custom-message .issue-tag,storefront-issue[template=card] .issue-custom-message .issue-category{display:none}storefront-issue[template=highlight]{flex-direction:row;padding:calc(var(--gutter) / 2);width:100%}storefront-issue[template=highlight] .issue-image{width:calc(43% - var(--gutter) / 2);margin-right:var(--gutter);flex-shrink:0;align-self:flex-end}storefront-issue[template=highlight] .issue-image storefront-image[height-strategy=FIXED]{padding-top:133%}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){storefront-issue[template=highlight] .issue-image{width:calc(50% - (var(--gutter)))}}storefront-issue[template=highlight] storefront-progress[type=BAR]{display:block}storefront-issue[template=highlight] .issue-data{margin-left:var(--gutter)}storefront-issue[template=highlight] .issue-title{font-size:2em;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}storefront-issue[template=highlight] .issue-publication-title,storefront-issue[template=highlight] .issue-pub-date,storefront-issue[template=highlight] .issue-properties,storefront-issue[template=highlight] .issue-categories,storefront-issue[template=highlight] .issue-tags{display:none}storefront-issue[template=highlight] .issue-publication-title .issue-tag,storefront-issue[template=highlight] .issue-publication-title .issue-category,storefront-issue[template=highlight] .issue-pub-date .issue-tag,storefront-issue[template=highlight] .issue-pub-date .issue-category,storefront-issue[template=highlight] .issue-properties .issue-tag,storefront-issue[template=highlight] .issue-properties .issue-category,storefront-issue[template=highlight] .issue-categories .issue-tag,storefront-issue[template=highlight] .issue-categories .issue-category,storefront-issue[template=highlight] .issue-tags .issue-tag,storefront-issue[template=highlight] .issue-tags .issue-category{display:none}storefront-issue[template=highlight] .issue-custom-message{margin:var(--gutter) 0}storefront-issue[template=highlight] .issue-actions{display:flex;flex-direction:column;flex-grow:1;justify-content:flex-end}storefront-issue[template=highlight] .issue-actions storefront-button button{width:100%}storefront-issue[template=details] .issue-image storefront-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=details] .issue-data{align-items:center}storefront-issue[template=details] .issue-data.expanded .issue-description{-webkit-line-clamp:unset}storefront-issue[template=details] .issue-data.expanded .issue-description-expand-toggle{display:block}storefront-issue[template=details] .issue-data.expanded .issue-description-expand-toggle i{transform:rotate(180deg)}storefront-issue[template=details] .issue-data .issue-publication-title,storefront-issue[template=details] .issue-data .issue-properties,storefront-issue[template=details] .issue-data .issue-categories,storefront-issue[template=details] .issue-data .issue-tags{display:none}storefront-issue[template=details] .issue-data .issue-publication-title .issue-tag,storefront-issue[template=details] .issue-data .issue-publication-title .issue-category,storefront-issue[template=details] .issue-data .issue-publication-title .issue-property,storefront-issue[template=details] .issue-data .issue-properties .issue-tag,storefront-issue[template=details] .issue-data .issue-properties .issue-category,storefront-issue[template=details] .issue-data .issue-properties .issue-property,storefront-issue[template=details] .issue-data .issue-categories .issue-tag,storefront-issue[template=details] .issue-data .issue-categories .issue-category,storefront-issue[template=details] .issue-data .issue-categories .issue-property,storefront-issue[template=details] .issue-data .issue-tags .issue-tag,storefront-issue[template=details] .issue-data .issue-tags .issue-category,storefront-issue[template=details] .issue-data .issue-tags .issue-property{display:none}storefront-issue[template=details] storefront-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=details] storefront-progress[type=BAR]{display:block}storefront-issue[template=details] .issue-pub-date{display:none}storefront-issue[template=details] .issue-description{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}storefront-issue[template=details] .issue-description.scrollable-vert+.issue-description-expand-toggle{display:flex}storefront-issue[template=details] .issue-description-expand-toggle{align-self:flex-start}storefront-issue[template=details] .issue-custom-message{margin-top:var(--gutter)}storefront-issue[template=details] .issue-actions{display:grid;width:100%;grid-template-columns:1fr 1fr;grid-column-gap:var(--gutter);margin-top:var(--gutter)}storefront-issue[template=details] .issue-actions>button:nth-child(odd):last-child,storefront-issue[template=details] .issue-actions>storefront-button:nth-child(odd):last-child{grid-column:1/3}storefront-issue[template=details] .issue-actions storefront-button button{width:100%}storefront-issue[template=group]{flex-direction:row}storefront-issue[template=group] .issue-image{width:100%}storefront-issue[template=group] .issue-image storefront-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=group] .issue-data{flex-direction:column}storefront-issue[template=group] .issue-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}storefront-issue[template=group] .issue-actions{display:flex;justify-content:flex-start}storefront-issue[template=group] .issue-actions>button{display:none}storefront-issue[template=group] i,storefront-issue[template=group] .issue-publication-title,storefront-issue[template=group] .issue-pub-date,storefront-issue[template=group] .issue-description,storefront-issue[template=group] .issue-description-expand-toggle,storefront-issue[template=group] .issue-properties,storefront-issue[template=group] .issue-categories,storefront-issue[template=group] .issue-tags,storefront-issue[template=group] .issue-state,storefront-issue[template=group] .issue-update-badge{display:none}storefront-issue[template=group] i .issue-tag,storefront-issue[template=group] i .issue-category,storefront-issue[template=group] .issue-publication-title .issue-tag,storefront-issue[template=group] .issue-publication-title .issue-category,storefront-issue[template=group] .issue-pub-date .issue-tag,storefront-issue[template=group] .issue-pub-date .issue-category,storefront-issue[template=group] .issue-description .issue-tag,storefront-issue[template=group] .issue-description .issue-category,storefront-issue[template=group] .issue-description-expand-toggle .issue-tag,storefront-issue[template=group] .issue-description-expand-toggle .issue-category,storefront-issue[template=group] .issue-properties .issue-tag,storefront-issue[template=group] .issue-properties .issue-category,storefront-issue[template=group] .issue-categories .issue-tag,storefront-issue[template=group] .issue-categories .issue-category,storefront-issue[template=group] .issue-tags .issue-tag,storefront-issue[template=group] .issue-tags .issue-category,storefront-issue[template=group] .issue-state .issue-tag,storefront-issue[template=group] .issue-state .issue-category,storefront-issue[template=group] .issue-update-badge .issue-tag,storefront-issue[template=group] .issue-update-badge .issue-category{display:none}storefront-issue.locked .issue-actions button.icon-share{display:none}storefront-issue.ghost{pointer-events:none}storefront-issue.ghost .issue-image{animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor);margin-bottom:var(--gutter)}storefront-issue.ghost .issue-image storefront-image{background-color:transparent}storefront-issue.ghost[template=highlight]>.issue-image{margin-bottom:0}storefront-issue.ghost[template=highlight]>.issue-image>storefront-image{margin-bottom:0}storefront-issue.ghost[template=highlight] .issue-description,storefront-issue.ghost[template=highlight] .issue-title{width:100%;margin-bottom:0}storefront-issue.ghost[template=cover] storefront-image{padding-top:133%}storefront-issue.ghost[template=card] storefront-image{padding-top:75%}storefront-issue.ghost .issue-description,storefront-issue.ghost .issue-title{background-color:var(--ghostColor);color:transparent;border-radius:4px;width:90%;height:1.2em;margin-bottom:calc(var(--gutter) / 2)!important;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}storefront-issue.ghost .issue-description{height:3em}storefront-issue.error .issue-data{display:none}storefront-issue.error[template=cover] .issue-error,storefront-issue.error[template=card] .issue-error,storefront-issue.error[template=details] .issue-error{margin-top:var(--gutter)}\n'],encapsulation:2,changeDetection:0}),l})()},4365:(L,C,r)=>{r.d(C,{AN:()=>v,FZ:()=>b,Mw:()=>y,Rp:()=>I,W9:()=>_});var a=r(4404),_=function(u){return u.COVER="cover",u.CARD="card",u.HIGHLIGHT="highlight",u.DETAILS="details",u.GROUP="group",u}(_||{});const I={showErrorDialog:!0};var v=function(u){return u.SINGLE="SINGLE",u.MULTI="MULTI",u}(v||{}),b=function(u){return u.SILENT="SILENT",u}(b||{});const y={template:_.CARD,openContent:{mode:a.DisplayMode.MODAL,titleBar:!0},downloadOptions:null,customButtons:[],customMessages:[],titleMessage:"ISSUE_TITLE",descriptionMessage:"ISSUE_DESCRIPTION",publicationTitleMessage:"ISSUE_PUBLICATION_TITLE"}},1367:(L,C,r)=>{r.r(C),r.d(C,{IssueModule:()=>g,component:()=>M});var a=r(177),c=r(4744),e=r(3363),_=r(8301),I=r(6483),v=r(6215),b=r(1605),y=r(9383),u=r(6953),h=r(9805),R=r(4767),T=r(4403),E=r(4438);let g=(()=>{var D;class d{}return(D=d).\u0275fac=function(P){return new(P||D)},D.\u0275mod=E.$C({type:D}),D.\u0275inj=E.G2t({imports:[a.MD,e.E,_.d,I.h,v.O,b.P,R.d,y.pZ,u.n,h.ButtonModule,T.U]}),d})();const M=c.z},3092:(L,C,r)=>{r.d(C,{X:()=>u,s:()=>y});var a=r(4438),c=r(345);function e(h,R){1&h&&a.nrm(0,"div",5)}function _(h,R){if(1&h&&(a.qex(0),a.nrm(1,"div",1),a.j41(2,"div",2),a.nrm(3,"div",3),a.k0s(),a.DNE(4,e,1,0,"div",4),a.bVm()),2&h){const T=a.XpG();a.R7$(2),a.xc7("-webkit-clip-path",T.getClipPath())("clip-path",T.getClipPath()),a.R7$(2),a.Y8G("ngIf",T.showBorder)}}function I(h,R){if(1&h&&(a.qex(0),a.j41(1,"div",6),a.nrm(2,"div",7)(3,"div",8),a.k0s(),a.bVm()),2&h){const T=a.XpG();a.R7$(2),a.xc7("width",T.progress,"%"),a.R7$(),a.Y8G("storefrontTranslate",T.message)}}function v(h,R){1&h&&a.nrm(0,"div",5)}function b(h,R){if(1&h&&(a.qex(0),a.nrm(1,"storefront-spinner",9),a.DNE(2,v,1,0,"div",4),a.j41(3,"div",10),a.EFF(4),a.k0s(),a.nrm(5,"i",11),a.bVm()),2&h){const T=a.XpG();a.R7$(2),a.Y8G("ngIf",T.showBorder),a.R7$(2),a.SpI("",T.progress,"%")}}var y=function(h){return h.RADIAL="RADIAL",h.BAR="BAR",h.NUMERIC="NUMERIC",h}(y||{});let u=(()=>{var h;class R{constructor(E){this.sanitizer=E,this.type=y.RADIAL,this.showBorder=!1,this.message="ISSUE_ACTION_DOWNLOADING",this.progressOnBorder=!1}getClipPath(){let E;const g=this.progress;return E=g<=12.5?"polygon(50% 0, 50% 50%, ".concat(50+4*g,"% 0, 100% 0)"):g<=25?"polygon(50% 50%, 50% 0, 100% 0, 100% ".concat(4*(g-12.5),"%)"):g<=37.5?"polygon(50% 50%, 50% 0, 100% 0, 100% ".concat(4*(g-25)+50,"%)"):g<=75?"polygon(50% 50%, ".concat(100-4*(g-37.5),"% 100%, 100% 100%, 100% 0, 50% 0)"):g<=87.5?"polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 ".concat(50-4*(g-75),"%)"):"polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 0, ".concat(4*(g-87.5),"% 0)"),this.sanitizer.bypassSecurityTrustStyle(E)}}return(h=R).\u0275fac=function(E){return new(E||h)(a.rXU(c.up))},h.\u0275cmp=a.VBU({type:h,selectors:[["storefront-progress"]],hostVars:3,hostBindings:function(E,g){2&E&&(a.BMQ("type",g.type),a.AVh("progress-on-border",g.progressOnBorder))},inputs:{type:"type",showBorder:"showBorder",message:"message",progressOnBorder:"progressOnBorder",progress:"progress"},decls:3,vars:3,consts:[[4,"ngIf"],[1,"background-circle"],[1,"loader"],[1,"circle"],["class","border-circle",4,"ngIf"],[1,"border-circle"],[1,"bar"],[1,"bar-indicator"],[1,"bar-message",3,"storefrontTranslate"],["type","segments",1,"progress-spinner"],[1,"bar-progress"],[1,"icon","icon-delete"]],template:function(E,g){1&E&&a.DNE(0,_,5,5,"ng-container",0)(1,I,4,3,"ng-container",0)(2,b,6,2,"ng-container",0),2&E&&(a.Y8G("ngIf","RADIAL"===g.type),a.R7$(),a.Y8G("ngIf","BAR"===g.type),a.R7$(),a.Y8G("ngIf","NUMERIC"===g.type))},styles:["storefront-progress[type=RADIAL]{position:relative;display:flex;width:22px;height:22px}storefront-progress[type=RADIAL] .loader{position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%);width:calc(100% + 2px);height:calc(100% + 2px);display:flex;align-items:center;justify-content:center}storefront-progress[type=RADIAL] .loader .circle{width:calc(100% - 2px);height:calc(100% - 2px);background-color:var(--secondaryColor)}storefront-progress[type=RADIAL] .background-circle,storefront-progress[type=RADIAL] .border-circle,storefront-progress[type=RADIAL] .circle{border-radius:100%;box-sizing:border-box}storefront-progress[type=RADIAL] .background-circle,storefront-progress[type=RADIAL] .border-circle{position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%);width:100%;height:100%}storefront-progress[type=RADIAL] .border-circle{border:2px solid var(--secondaryColor)}storefront-progress[type=RADIAL].progress-on-border{-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='110' height='110'%3E%3Ccircle cx='55' cy='55' r='50' stroke='black' stroke-width='4' fill='none' /%3E%3C/svg%3E\");mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='110' height='110'%3E%3Ccircle cx='55' cy='55' r='50' stroke='black' stroke-width='4' fill='none' /%3E%3C/svg%3E\");-webkit-mask-size:100%;mask-size:100%}storefront-progress[type=BAR] .bar-indicator{position:absolute;height:100%;top:0;left:0;background-color:var(--issueProgressColor);transition:width .2s ease}storefront-progress[type=BAR] .bar-message{font-size:.8em;z-index:1;position:relative;color:var(--issueProgressFontColor)}storefront-progress[type=NUMERIC]{display:flex;justify-content:space-between;align-items:center;padding:0 var(--gutter)}storefront-progress[type=NUMERIC] storefront-spinner.progress-spinner{position:relative;background:transparent;--spinnerColor: var(--issueProgressColor);padding:0;display:flex;width:20px}storefront-progress[type=NUMERIC] i{font-size:12px}\n"],encapsulation:2}),R})()},3363:(L,C,r)=>{r.d(C,{E:()=>y});var a=r(177),c=r(3092),e=r(6483),_=r(6215),I=r(4438),v=r(8909),b=r(7240);let y=(()=>{var u;class h{}return(u=h).\u0275fac=function(T){return new(T||u)},u.\u0275mod=I.$C({type:u}),u.\u0275inj=I.G2t({imports:[a.MD,e.h,_.O]}),h})();I.wjB(c.X,[a.bT,v.M,b.t],[])},6953:(L,C,r)=>{r.d(C,{n:()=>e});var a=r(177),c=r(4438);let e=(()=>{var _;class I{}return(_=I).\u0275fac=function(b){return new(b||_)},_.\u0275mod=c.$C({type:_}),_.\u0275inj=c.G2t({imports:[a.MD]}),I})()},2813:(L,C,r)=>{r.d(C,{Z:()=>e});var a=r(3178),c=r(4438);let e=(()=>{var _;class I{transform(b,y){return new Date(b).toLocaleDateString((0,a.JK)())}}return(_=I).\u0275fac=function(b){return new(b||_)},_.\u0275pipe=c.EJ8({name:"storefrontDate",type:_,pure:!0}),I})()},1739:(L,C,r)=>{function a(c){return c&&!!c.code}r.d(C,{b:()=>a})}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_service_tts_tts_service_ts"],{5628:(x,O,o)=>{o.d(O,{z:()=>M});var d=o(467),v=o(177),m=o(4438);function S(l,e={}){var t;return l.startsWith("//")&&(l=window.location.protocol+l),e.useFetch?fetch(l,{method:null!==(t=e.method)&&void 0!==t?t:"GET"}).then(s=>{if(s.status>399){if(e.returnRedirect)return{redirectUrl:s.url};throw new Error("Failed to load json ".concat(l," : ").concat(s.statusText))}return s.redirected&&e.returnRedirect?{response:s.json(),redirectUrl:s.url}:{response:s.json()}}):new Promise((s,i)=>{const n=new XMLHttpRequest;n.addEventListener("load",()=>{n.status>399&&i(new Error("Failed to load json ".concat(l," : ").concat(n.statusText)));try{s(JSON.parse(n.responseText))}catch{i()}}),n.addEventListener("error",()=>{i()}),n.open(e&&e.method||"GET",l),n.send()})}var P=o(1413),R=o(4412),L=o(7879),N=o(7370);let c=(()=>{var l;class e{}return(l=e).SPEECH_IDENTIFIER="TTS_SPEECH",l.SPEECH_RATE_IDENTIFIER="TTS_SPEECH_RATE",l.PLAYER_OPEN_IDENTIFIER="TTS_PLAYER_OPEN",l.AUDIO_PLAYING_IDENTIFIER="TTS_AUDIO_PLAYING",e})();class I{constructor(e){this.foundTagName="span",this.foundTagClass="word",this.skipClasses=[],this.skipTags=[],this.root=null,this.currentDepth=-1,this.currentNode=null,this.lastSuccessfulNode=null,this.lastSuccessfulDepth=-1,this.currentWord="";for(let t in e)this[t]=e[t];this.skipClassesRegex=new RegExp("("+this.skipClasses.map(t=>"".concat(t,"(?=(\\s|$))")).join("|")+")","i"),this.skipTagsRegex=new RegExp("("+this.skipTags.map(t=>"".concat(t,"(?=(\\s|$))")).join("|")+")","i")}reset(){this.root=null,this.currentDepth=-1,this.currentNode=null,this.lastSuccessfulNode=null,this.lastSuccessfulDepth=-1}next(e){return this.currentWord=e,null==this.lastSuccessfulNode?(this.currentNode=this.root.childNodes[0],this.currentDepth=1):(this.currentNode=this.lastSuccessfulNode,this.currentDepth=this.lastSuccessfulDepth),this.searchNodes()}searchNodes(){let e=null;for(;this.currentNode&&this.currentDepth>0&&null==e;){switch(this.currentNode.nodeType){case 1:if(!this.skipTagsRegex.test(this.currentNode.tagName)&&!this.skipClassesRegex.test(this.currentNode.className.toLowerCase())&&this.currentNode.childNodes.length>0&&!this.currentNode.classList.contains(this.foundTagClass)){this.currentNode=this.currentNode.childNodes[0],this.currentDepth++;continue}break;case 3:case 4:if(e=this.findTextInNode(),null!=e)return this.lastSuccessfulNode=e,this.lastSuccessfulDepth=this.currentDepth,this.currentNode=null,this.currentDepth=-1,e}if(this.currentNode.nextSibling)this.currentNode=this.currentNode.nextSibling;else for(;this.currentDepth>0;)if(this.currentNode=this.currentNode.parentNode,this.currentDepth--,this.currentNode.nextSibling){this.currentNode=this.currentNode.nextSibling;break}}return null}findTextInNode(){let t=this.currentNode&&this.currentNode.parentNode.tagName===this.foundTagName.toUpperCase()&&this.currentNode.parentNode.classList.contains(this.foundTagClass)?-1:this.currentNode.data.indexOf(this.currentWord);if(t>-1){let s=1===this.currentNode.nodeType?this.currentNode.firstChild:this.currentNode,i=t>0?s.splitText(t):s;i.splitText(this.currentWord.length);let n=document.createElement(this.foundTagName);n.setAttribute("class",this.foundTagClass);const r=i.parentNode;return n.innerText=i.data,r.replaceChild(n,i),n}return null}}class A{constructor(e,t,s,i,n,r,a){this.currentWordClassName="current",this.markersData=[],this.isScrolling=!1,this.previousMarker=null,this.wordFinder=new I({root:s,skipClasses:i,skipTags:n}),this.audio=e,this.markerSrc=t,this.ttsService=r,this.ttsPlayer=a}reset(e,t,s){this.wordFinder.root=s,this.audio=e,this.markerSrc=t}align(){return new Promise((e,t)=>{e(this.loadMarkers())})}selectWord(e){if(null!=this.markersData){let t=this.audio.currentTime;this.markersData.forEach((s,i)=>{let n=i<Object.keys(this.markersData).length-1?this.markersData[i+1]:null;if(t>=s.time&&(null==n||t<=n.time)&&!this.compareMarkers(s,this.previousMarker))for(let r of s.node){this.deselectWord(),this.previousMarker=s,r.classList.add(this.currentWordClassName);let a={top:80,bottom:185,left:0,right:0},u=this.isOutOfViewport(r,a);const p=this.ttsPlayer.contentElement.scrollTop,g=this.ttsPlayer.contentElement.clientHeight,h=this.ttsPlayer.contentElement.scrollHeight;if(this.isScrolling=this.isScrolling&&Math.floor(this.lastScrollTo)!=Math.floor(p)&&Math.floor(p)+g+1<h&&p+g<h,e&&u&&!this.isScrolling){let f=this.ttsPlayer.contentElement,C=r.getBoundingClientRect().top+f.scrollTop+f.offsetTop;const w=C-(C>a.top?a.top:0);f.scrollTo({top:w,behavior:"smooth"}),this.isScrolling=!0,this.lastScrollTo=w}}})}}deselectWord(){Array.from(document.getElementsByClassName(this.currentWordClassName)).forEach(e=>e.classList.remove(this.currentWordClassName))}loadMarkers(){var e=this;return(0,d.A)(function*(){try{e.markersData=(yield S(e.markerSrc)).markers,e.assignMarkers()}catch(t){console.error("Could not load markers: "+t)}})()}assignMarkers(){this.markersData.forEach(e=>{if(e.node=[],e.markerValues)for(let t of e.markerValues)this.createNode(this.encodeString(t),e);else this.createNode(this.encodeString(e.value),e)}),this.wordFinder.reset()}isOutOfViewport(e,t={top:0,bottom:0,left:0,right:0}){const s=e.getBoundingClientRect(),r=s.bottom>(window.innerHeight||document.documentElement.clientHeight)-t.bottom,a=s.right>(window.innerWidth||document.documentElement.clientWidth)-t.right;return s.top<t.top||s.left<t.left||r||a}createNode(e,t){let s=this.wordFinder.next(e);null!=s&&t.node.push(s)}encodeString(e){return(new DOMParser).parseFromString(e,"text/html").body.textContent}compareMarkers(e,t){return!(!e||!t)&&e.end==t.end&&e.start==t.start&&e.time==t.time}}class E{static getFormattedTime(e){return new Date(e).toLocaleTimeString([],{minute:"2-digit",second:"2-digit"})}static convertSecondsToMilli(e){return 1e3*e}static setSettingsContainerPosition(e,t){const s=e.getBoundingClientRect(),i=t.getBoundingClientRect(),n=window.getComputedStyle(t,"::before"),a=Math.round(s.top)-i.height/2+s.height/2;let u=s.left;const p=n?window.innerWidth-u-parseInt(n.right,10):window.innerWidth-u;t.style.top=a+"px",t.style.right=p+"px"}}class B{constructor(e,t,s,i,n){var r,a;if(this.ttsConfig=e,this.post=t,this.ttsService=s,this.purpleService=i,this.previousState=n,this.articleIndex=0,this.contentElement=null,this.markerContentElement=null,this.audio={src:"",duration:0,currentTime:0,bufferedTime:0,speech:"",speechMarkerSrc:"",speechRate:this.ttsService.ttsConfig.ttsSpeechRateOptionNormal},this.audioAligner=null,this.selectWordInterval=null,this.state={isOpen:new R.t((null===(r=this.previousState)||void 0===r?void 0:r.isOpen.value)||!1),isFirst:!0,isCurrent:!1,isPlaying:!1,isOffline:!1,progressListener:null,stateListener:null,connectionStateListener:null,forceOpen:!1},this.uiElements={playerElement:null,progressContainer:null,currentTimeElement:null,durationElement:null,progressElement:null,bufferingElement:null,settingsButton:null,settingsContainer:null,speechRateContainer:null,speechRateOptionVerySlow:null,speechRateOptionSlow:null,speechRateOptionNormal:null,speechRateOptionFast:null,speechRateOptionVeryFast:null,speechContainer:null,controlsContainer:null,loadingElement:null,playButton:null,seekBackButton:null,seekForwardButton:null,navigateBackButton:null,navigateForwardButton:null,openPlayerButton:null},this.ttsPlayerStateSubject=new R.t(null),this.ttsPlayerState$=this.ttsPlayerStateSubject.asObservable(),this.isUiRendered=!1,this.isDeleted=!1,this.contentElement=null===(a=document.querySelectorAll(e.ttsContentSelector)[0])||void 0===a?void 0:a.firstElementChild,this.markerContentElement=document.querySelectorAll(e.ttsMarkerContentSelector)[0],!this.contentElement||!this.markerContentElement)throw{message:"Failed to init TTS.\n Found contentElement (".concat(e.ttsContentSelector,"): ").concat(!!this.contentElement,"\n Found markerContentElement (").concat(e.ttsMarkerContentSelector,"): ").concat(!!this.markerContentElement,"\n ")}}init(){var e=this;return(0,d.A)(function*(){let t;e.state.isFirst=!0;try{t=yield e.purpleService.getState(c.SPEECH_IDENTIFIER),(!t||""===t)&&(t=e.getDefaultSpeech(),e.purpleService.setState(c.SPEECH_IDENTIFIER,t))}catch(s){t=e.getDefaultSpeech(),e.purpleService.setState(c.SPEECH_IDENTIFIER,t),console.warn("Could not get speech: "+s)}if(!e.isDeleted){try{let s=parseFloat(yield e.purpleService.getState(c.SPEECH_RATE_IDENTIFIER));s||(s=e.ttsConfig.ttsSpeechRateOptionNormal),yield e.setSpeechRate(s)}catch(s){yield e.setSpeechRate(e.ttsConfig.ttsSpeechRateOptionNormal),console.warn("Can not get state of speech rate: "+s)}e.isDeleted||(e.setAudioParameters(t),e.audioAligner=new A(e.audio,e.audio.speechMarkerSrc,e.markerContentElement,e.ttsConfig.ttsSkipContentClasses,e.ttsConfig.ttsSkipContentTags,e.ttsService,e),yield e.audioAligner.align(),!e.isDeleted&&e.afterAudioAlignment())}})()}reset(){var e,t;this.selectWordInterval&&clearInterval(this.selectWordInterval),this.audioAligner.deselectWord(),this.contentElement.scrollTop=0,this.state.isFirst=!0,null===(e=this.uiElements.loadingElement)||void 0===e||e.classList.remove("show"),null===(t=this.uiElements.playButton)||void 0===t||t.classList.remove("pause"),this.isUiRendered&&this.setAudioProgress(0,0)}delete(){this.stop(),window.purple.media.removeProgressListener(this.state.progressListener),window.purple.media.removeStatusListener(this.state.stateListener),window.purple.app.removeConnectionStateListener(this.state.connectionStateListener),this.isDeleted=!0}openPlayer(e=!1){this.purpleService.setState(c.PLAYER_OPEN_IDENTIFIER,"1"),(!this.state.isOpen.value||!this.uiElements.playerElement.classList.contains("open"))&&(this.uiElements.playerElement.classList.add("open"),this.state.isOpen.next(!0)),e&&this.play()}closePlayer(e=!1){this.purpleService.setState(c.PLAYER_OPEN_IDENTIFIER,"0"),this.uiElements.playerElement&&this.uiElements.playerElement.classList.remove("open"),this.state.isOpen.next(!1),this.audioAligner.deselectWord(),e&&this.pause()}play(){this.purpleService.setState(c.AUDIO_PLAYING_IDENTIFIER,"1"),this.state.isFirst?window.purple.media.startAudio({displayName:this.post.name,url:this.audio.src}):window.purple.media.resumeAudio()}pause(){this.purpleService.setState(c.AUDIO_PLAYING_IDENTIFIER,"0"),window.purple.media.pauseAudio()}stop(){this.purpleService.setState(c.AUDIO_PLAYING_IDENTIFIER,"0"),window.purple.media.stopAudio()}seekTo(e){window.purple.media.seekTo({time:Math.round(e)})}changeSpeech(e,t=!1){this.purpleService.setState(c.SPEECH_IDENTIFIER,e),this.setAudioParameters(e),this.reloadContentMarker(),this.setSelectedSpeech(),this.reset()}changeSpeechRate(e,t=!1){var s=this;return(0,d.A)(function*(){yield s.setSpeechRate(e),s.setSpeechRateUi(e),s.setAudioProgress(s.audio.currentTime,s.audio.bufferedTime)})()}reloadContentMarker(){var e=this;return(0,d.A)(function*(){let t=Array.from(e.markerContentElement.getElementsByClassName("word"));for(let s of t)s.replaceWith(s.innerHTML);e.audioAligner.reset(e.audio,e.audio.speechMarkerSrc,e.markerContentElement),yield e.audioAligner.align(),e.afterAudioAlignment()})()}setAudioParameters(e){let t=this.getSpeechObject()[e];t||(e=this.getDefaultSpeech(),t=this.getSpeechObject()[e],this.purpleService.setState(c.SPEECH_IDENTIFIER,e)),this.audio.speech=e,this.audio.src=this.createSpeechPropertiesUrl(t.url),this.audio.speechMarkerSrc=this.createSpeechPropertiesUrl(t.speechMarkerUrl),this.audio.duration=t.length}afterAudioAlignment(){this.uiElements.playerElement||this.initUi()}initUi(){this.state.progressListener=i=>{const n=i.detail?i.detail:i;this.isCurrent()&&n.duration>0&&(n.currentTime>=n.duration?(this.setAudioProgress(0),this.closePlayer()):this.setAudioProgress(n.currentTime,n.bufferedTime,n.duration))},this.purpleService.purpleRef.media.addProgressListener(this.state.progressListener),this.state.stateListener=i=>{const n=i.detail?i.detail:i;if(this.state.isCurrent=n.url===this.audio.src,this.isCurrent())switch(n.playbackState){case"READY":this.selectWordInterval&&clearInterval(this.selectWordInterval),this.state.isPlaying=!1,this.uiElements.loadingElement.classList.remove("show"),this.uiElements.playButton.classList.remove("pause");break;case"LOADING":this.selectWordInterval&&clearInterval(this.selectWordInterval),this.uiElements.loadingElement.classList.add("show");break;case"PLAYING":{if(this.state.isFirst){let a=this.uiElements.progressElement.value*this.audio.duration;a>0&&this.seekTo(a),this.state.isFirst=!1}this.state.isPlaying=!0,this.uiElements.loadingElement.classList.remove("show"),this.uiElements.playButton.classList.add("pause");const r=200/this.audio.speechRate;this.selectWordInterval&&clearInterval(this.selectWordInterval),this.selectWordInterval=setInterval(()=>{this.audio.currentTime+=r,this.audioAligner.selectWord(!0)},r);break}case"ERROR":this.reset();break;default:this.state.isFirst?this.uiElements.loadingElement.classList.remove("show"):this.reset()}else this.state.isFirst||this.reset()},this.purpleService.purpleRef.media.addStatusListener(this.state.stateListener),this.state.connectionStateListener=i=>{"OFFLINE"===i.state?this.state.isOffline=!0:(this.state.isOffline=!1,this.uiElements.loadingElement.classList.remove("show"))},window.purple.app.addConnectionStateListener(this.state.connectionStateListener);const e=document.getElementById("tts-player");var t,s;this.createPlayerElement(),e&&(e.remove(),null!==(t=this.previousState)&&void 0!==t&&t.isOpen.value&&this.openPlayer(null===(s=this.previousState)||void 0===s?void 0:s.isPlaying)),this.isUiRendered=!0}createTopBarElements(){let e=document.getElementsByTagName("storefront-app-bar")[0];this.uiElements.openPlayerButton=document.createElement("span"),this.uiElements.openPlayerButton.id="tts-player-open",this.uiElements.openPlayerButton.classList.add("icon"),(this.ttsService.disabledForPreview()||this.ttsService.disabledForAd())&&this.uiElements.openPlayerButton.classList.add("disabled"),this.uiElements.openPlayerButton.href="javascript:;",this.uiElements.openPlayerButton.addEventListener("click",()=>this.toggleOpenPlayer()),e.insertBefore(this.uiElements.openPlayerButton,e.childNodes[0])}createPlayerElement(){this.uiElements.playerElement=document.createElement("div"),this.uiElements.playerElement.id="tts-player",this.uiElements.playerElement.addEventListener("click",t=>{t.target!==this.uiElements.progressElement&&t.preventDefault()}),this.uiElements.playerElement.addEventListener("touchmove",t=>{t.target!==this.uiElements.progressElement&&t.preventDefault()}),this.createPlayerProgressElements(),this.createPlayerControlElements(),this.createSettingsElements();const e=document.getElementsByClassName("bottom-sticky-elements")[0];e&&e.insertBefore(this.uiElements.playerElement,e.firstElementChild)}createPlayerControlElements(){this.uiElements.controlsContainer=document.createElement("div"),this.uiElements.controlsContainer.id="tts-player-controls",this.uiElements.playButton=document.createElement("div"),this.uiElements.playButton.id="tts-player-button-play",this.uiElements.playButton.className="tts-button",this.uiElements.playButton.addEventListener("click",()=>this.togglePlay()),this.uiElements.seekBackButton=document.createElement("div"),this.uiElements.seekBackButton.id="tts-player-button-seek-back",this.uiElements.seekBackButton.classList.add("tts-player-button-seek","tts-button"),this.uiElements.seekBackButton.innerHTML=this.ttsService.ttsConfig.ttsSeekInterval,this.uiElements.seekBackButton.addEventListener("click",()=>{let t=Math.max(0,this.audio.currentTime-E.convertSecondsToMilli(this.ttsService.ttsConfig.ttsSeekInterval)*this.audio.speechRate);t!==this.audio.currentTime&&(this.seekTo(t),this.setAudioProgress(t,this.audio.bufferedTime),this.audioAligner.selectWord(!0),0===t&&(this.contentElement.scrollTop=0))}),this.uiElements.seekForwardButton=document.createElement("div"),this.uiElements.seekForwardButton.id="tts-player-button-seek-forward",this.uiElements.seekForwardButton.classList.add("tts-player-button-seek","tts-button"),this.uiElements.seekForwardButton.innerHTML=this.ttsService.ttsConfig.ttsSeekInterval,this.uiElements.seekForwardButton.addEventListener("click",t=>{let s=Math.min(this.audio.duration,this.audio.currentTime+E.convertSecondsToMilli(this.ttsService.ttsConfig.ttsSeekInterval)*this.audio.speechRate);s!==this.audio.currentTime&&(this.seekTo(s),this.setAudioProgress(s,this.audio.bufferedTime),this.audioAligner.selectWord(!0))}),this.uiElements.controlsContainer.classList.add("no-navigation"),this.uiElements.loadingElement=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.uiElements.loadingElement.id="tts-player-loading",this.uiElements.loadingElement.setAttribute("viewBox","0 0 66 66");let e=document.createElementNS("http://www.w3.org/2000/svg","circle");e.setAttribute("cx","33"),e.setAttribute("cy","33"),e.setAttribute("r","30"),this.uiElements.loadingElement.appendChild(e),this.uiElements.controlsContainer.appendChild(this.uiElements.seekBackButton),this.uiElements.controlsContainer.appendChild(this.uiElements.playButton),this.uiElements.controlsContainer.appendChild(this.uiElements.seekForwardButton),this.uiElements.controlsContainer.appendChild(this.uiElements.loadingElement),this.uiElements.playerElement.appendChild(this.uiElements.controlsContainer)}createSettingsElements(){const e=document.createElement("div");e.id="tts-player-button-settings",e.className="tts-button",this.uiElements.settingsButton=document.createElement("span"),this.uiElements.settingsButton.addEventListener("click",i=>{i.preventDefault(),this.uiElements.settingsContainer.classList.contains("open")?this.closeSettings():this.openSettings()}),e.appendChild(this.uiElements.settingsButton),this.uiElements.settingsContainer=document.createElement("div"),this.uiElements.settingsContainer.id="tts-player-settings",this.uiElements.settingsContainer.classList.add("container-popup"),window.addEventListener("click",i=>{i.target!==this.uiElements.settingsContainer&&i.target!==this.uiElements.speechContainer&&i.target!==this.uiElements.speechRateContainer&&i.target!==this.uiElements.settingsButton&&this.uiElements.settingsContainer.classList.contains("open")&&this.closeSettings()}),window.addEventListener("resize",()=>{this.uiElements.settingsContainer.classList.contains("open")&&this.closeSettings()}),this.uiElements.progressContainer.appendChild(e),this.uiElements.playerElement.appendChild(this.uiElements.settingsContainer);let t=this.getSpeechObject();if(Object.keys(t).length>1){let i=document.createElement("h3");i.innerHTML=this.ttsService.ttsMessages.TTS_SPEECH_TITLE||"",this.uiElements.settingsContainer.appendChild(i),this.uiElements.speechContainer=document.createElement("div"),this.uiElements.speechContainer.id="tts-speech";for(let[n,r]of Object.entries(t)){let a=r.gender,u=document.createElement("span");u.className="speech-icon";let p=document.createElement("span");p.className="speech-name",p.innerHTML=n;let g=document.createElement("input");g.className="speech-btn",g.setAttribute("type","radio");let h=document.createElement("div");h.id=n,h.classList.add(a+"-speech-container","speech-container"),h.appendChild(u),h.appendChild(p),h.appendChild(g),h.addEventListener("click",f=>{if(f.preventDefault(),h.id!==this.audio.speech){let C=this.state.isPlaying;this.stop(),this.changeSpeech(h.id,!0),C&&this.play()}},!0),this.uiElements.speechContainer.appendChild(h)}this.setSelectedSpeech(),this.uiElements.settingsContainer.appendChild(this.uiElements.speechContainer)}let s=document.createElement("h3");s.innerHTML=this.ttsService.ttsMessages.TTS_SPEECH_RATE_TITLE||"",this.uiElements.settingsContainer.appendChild(s),this.uiElements.speechRateContainer=document.createElement("div"),this.uiElements.speechRateContainer.id="tts-speech-rate",this.uiElements.speechRateOptionVerySlow=document.createElement("div"),this.uiElements.speechRateOptionVerySlow.className="speech-rate-option",this.uiElements.speechRateOptionVerySlow.innerHTML=this.getSpeechRateValue(this.ttsService.ttsConfig.ttsSpeechRateOptionVerySlow),this.uiElements.speechRateOptionVerySlow.addEventListener("click",i=>{i.preventDefault(),this.changeSpeechRate(this.ttsService.ttsConfig.ttsSpeechRateOptionVerySlow,!0)}),this.uiElements.speechRateOptionSlow=document.createElement("div"),this.uiElements.speechRateOptionSlow.className="speech-rate-option",this.uiElements.speechRateOptionSlow.innerHTML=this.getSpeechRateValue(this.ttsService.ttsConfig.ttsSpeechRateOptionSlow),this.uiElements.speechRateOptionSlow.addEventListener("click",i=>{i.preventDefault(),this.changeSpeechRate(this.ttsService.ttsConfig.ttsSpeechRateOptionSlow,!0)}),this.uiElements.speechRateOptionNormal=document.createElement("div"),this.uiElements.speechRateOptionNormal.className="speech-rate-option",this.uiElements.speechRateOptionNormal.innerHTML=this.getSpeechRateValue(this.ttsService.ttsConfig.ttsSpeechRateOptionNormal),this.uiElements.speechRateOptionNormal.addEventListener("click",i=>{i.preventDefault(),this.changeSpeechRate(this.ttsService.ttsConfig.ttsSpeechRateOptionNormal,!0)}),this.uiElements.speechRateOptionFast=document.createElement("div"),this.uiElements.speechRateOptionFast.className="speech-rate-option",this.uiElements.speechRateOptionFast.innerHTML=this.getSpeechRateValue(this.ttsService.ttsConfig.ttsSpeechRateOptionFast),this.uiElements.speechRateOptionFast.addEventListener("click",i=>{i.preventDefault(),this.changeSpeechRate(this.ttsService.ttsConfig.ttsSpeechRateOptionFast,!0)}),this.uiElements.speechRateOptionVeryFast=document.createElement("div"),this.uiElements.speechRateOptionVeryFast.className="speech-rate-option",this.uiElements.speechRateOptionVeryFast.innerHTML=this.getSpeechRateValue(this.ttsService.ttsConfig.ttsSpeechRateOptionVeryFast),this.uiElements.speechRateOptionVeryFast.addEventListener("click",i=>{i.preventDefault(),this.changeSpeechRate(this.ttsService.ttsConfig.ttsSpeechRateOptionVeryFast,!0)}),this.setSpeechRateUi(this.audio.speechRate),this.uiElements.speechRateContainer.appendChild(this.uiElements.speechRateOptionVerySlow),this.uiElements.speechRateContainer.appendChild(this.uiElements.speechRateOptionSlow),this.uiElements.speechRateContainer.appendChild(this.uiElements.speechRateOptionNormal),this.uiElements.speechRateContainer.appendChild(this.uiElements.speechRateOptionFast),this.uiElements.speechRateContainer.appendChild(this.uiElements.speechRateOptionVeryFast),this.uiElements.settingsContainer.appendChild(this.uiElements.speechRateContainer)}togglePlay(){this.state.isPlaying?this.pause():this.play()}toggleOpenPlayer(){this.state.isOpen.value?this.closePlayer(!0):this.openPlayer(!0)}updateProgressBarWithBuffering(e,t){const s=100*t,i=100*e;this.uiElements.progressElement.value=e,this.uiElements.progressElement.style.background="-webkit-gradient(linear, left top, right top, color-stop("+i+"%, var(--progressColor)), color-stop("+i+"%, var(--bufferingColor)), color-stop("+s+"%, var(--bufferingColor)), color-stop("+s+"%, var(--progressBgColor)))"}setAudioProgress(e,t,s){this.setCurrentTime(e),this.setDuration(s=s||this.audio.duration),this.setBufferedTime(t=t||this.audio.bufferedTime);let i=e/s;this.updateProgressBarWithBuffering(i,t>=e?t/s:i)}onProgressChange(e){let t=e.target.value*this.audio.duration;("input"===e.type||"touchend"===e.type)&&this.seekTo(t),this.setAudioProgress(t,this.audio.bufferedTime),this.audioAligner.selectWord(!0)}onProgressTouchEvent(e){e.preventDefault(),e.target.value=((e.pageX||e.touches&&e.touches[0]&&e.touches[0].pageX||e.changedTouches&&e.changedTouches[0]&&e.changedTouches[0].pageX)-e.target.offsetLeft)/e.target.offsetWidth,this.onProgressChange(e)}setCurrentTime(e){this.audio.currentTime=e,this.uiElements.currentTimeElement&&(this.uiElements.currentTimeElement.innerHTML=E.getFormattedTime(e/this.audio.speechRate))}setDuration(e){this.audio.duration=e,this.uiElements.durationElement&&(this.uiElements.durationElement.innerHTML=E.getFormattedTime(e/this.audio.speechRate))}setBufferedTime(e){this.audio.bufferedTime=e}setSpeechRate(e){var t=this;return(0,d.A)(function*(){try{var s;(null===(s=window.purple.media.version)||void 0===s?void 0:s.major)>=2?yield window.purple.media.setPlaybackRate({playbackRate:e}):window.purple.media.setPlaybackRate(e),t.audio.speechRate=e,t.purpleService.setState(c.SPEECH_RATE_IDENTIFIER,e.toString())}catch(i){console.warn("TTS playback rate could not be set: "+i)}})()}setSpeechRateUi(e){Array.from(document.getElementsByClassName("speech-rate-option")).forEach(t=>t.classList.remove("selected")),e===this.ttsService.ttsConfig.ttsSpeechRateOptionVerySlow?this.uiElements.speechRateOptionVerySlow.classList.toggle("selected"):e===this.ttsService.ttsConfig.ttsSpeechRateOptionSlow?this.uiElements.speechRateOptionSlow.classList.toggle("selected"):e===this.ttsService.ttsConfig.ttsSpeechRateOptionFast?this.uiElements.speechRateOptionFast.classList.toggle("selected"):e===this.ttsService.ttsConfig.ttsSpeechRateOptionVeryFast?this.uiElements.speechRateOptionVeryFast.classList.toggle("selected"):this.uiElements.speechRateOptionNormal.classList.toggle("selected"),this.uiElements.speechRateContainer.classList.remove("open")}getSpeechRateValue(e){let t;switch(e){case this.ttsService.ttsConfig.ttsSpeechRateOptionNormal:t="0";break;case this.ttsService.ttsConfig.ttsSpeechRateOptionSlow:t="-1";break;case this.ttsService.ttsConfig.ttsSpeechRateOptionVerySlow:t="-2";break;case this.ttsService.ttsConfig.ttsSpeechRateOptionFast:t="+1";break;case this.ttsService.ttsConfig.ttsSpeechRateOptionVeryFast:t="+2";break;default:t=""}return t}getFirstSpeechKey(){let e=this.getSpeechObject();return Object.keys(e)[0]}getSpeechObject(){return this.ttsService.ttsContentConfig}getDefaultSpeech(){return Object.keys(this.getSpeechObject()).includes(this.ttsService.ttsConfig.ttsDefaultSpeech)?this.ttsService.ttsConfig.ttsDefaultSpeech:this.getFirstSpeechKey()}openSettings(){this.uiElements.settingsContainer.classList.add("open"),E.setSettingsContainerPosition(this.uiElements.settingsButton,this.uiElements.settingsContainer)}closeSettings(){this.uiElements.settingsContainer.classList.remove("open")}setSelectedSpeech(){Array.from(this.uiElements.speechContainer.getElementsByClassName("speech-container")).forEach(e=>{let t=e.getElementsByTagName("input")[0];t.classList.remove("selected"),e.id===this.audio.speech&&t.classList.add("selected")})}getTrackingBaseKey(){return"TTS"}isCurrent(){return this.state.isCurrent}createPlayerProgressElements(){this.uiElements.progressContainer=document.createElement("div"),this.uiElements.progressContainer.id="tts-player-progress",this.uiElements.currentTimeElement=document.createElement("span"),this.uiElements.currentTimeElement.className="tts-player-time",this.uiElements.currentTimeElement.innerHTML=E.getFormattedTime(0),this.uiElements.durationElement=document.createElement("span"),this.uiElements.durationElement.className="tts-player-time",this.uiElements.durationElement.innerHTML=E.getFormattedTime(this.audio.duration/this.audio.speechRate),this.uiElements.progressElement=document.createElement("input"),this.uiElements.progressElement.type="range",this.uiElements.progressElement.min=0,this.uiElements.progressElement.max=1,this.uiElements.progressElement.value=0,this.uiElements.progressElement.step=1e-5,this.uiElements.progressElement.addEventListener("input",e=>this.onProgressChange(e)),this.uiElements.progressElement.addEventListener("touchmove",e=>this.onProgressTouchEvent(e)),this.uiElements.progressElement.addEventListener("touchend",e=>this.onProgressTouchEvent(e)),this.uiElements.progressElement.addEventListener("click",e=>this.onProgressTouchEvent(e)),this.uiElements.progressContainer.appendChild(this.uiElements.currentTimeElement),this.uiElements.progressContainer.appendChild(this.uiElements.progressElement),this.uiElements.progressContainer.appendChild(this.uiElements.durationElement),this.uiElements.playerElement.appendChild(this.uiElements.progressContainer)}createSpeechPropertiesUrl(e){const t=new URL(this.ttsService.getTtsResourceBaseUrl()),i=new URL(e).pathname.split("/").splice(-4).join("/");return t.pathname=("/"==t.pathname?"":t.pathname)+"/"+i,t.href}}var b=o(1626),F=o(5483),D=o(7900),_=o(8471);const T={ttsContentSelector:"#sprylab_purple_content",ttsMarkerContentSelector:"#sprylab_purple_content .purple-inner-container",ttsSkipContentClasses:["no-tts"],ttsSkipContentTags:["svg","polygon","path"],ttsDefaultSpeech:"",ttsSeekInterval:10,ttsSpeechRateOptionVerySlow:.7,ttsSpeechRateOptionSlow:.85,ttsSpeechRateOptionNormal:1,ttsSpeechRateOptionFast:1.15,ttsSpeechRateOptionVeryFast:1.3,ttsNextArticleLoadingTime:1e4,ttsDisableForPreview:!1,ttsDisableForAd:!0},k={TTS_SPEECH_TITLE:"Speaker",TTS_SPEECH_RATE_TITLE:"Speed rate",TTS_NO_INTERNET_CONNECTION_TITLE:"No internet connection!",TTS_NO_INTERNET_CONNECTION_TEXT:"To activate read mode, you need to have internet connection.",TTS_NO_INTERNET_CONNECTION_RETRY_BUTTON:"Retry",TTS_NEXT_ARTICLE_TITLE:"Next article",TTS_NEXT_ARTICLE_TEXT:'"%s"',TTS_NEXT_ARTICLE_SKIP_BUTTON:"Skip",TTS_LAST_ARTICLE_TITLE:"End of issue",TTS_LAST_ARTICLE_TEXT:"You have heard the last article of this issue.",TTS_LAST_ARTICLE_CLOSE_BUTTON:"Close",TTS_CANCEL_BUTTON:"Cancel"};let M=(()=>{var l;class e{constructor(s,i,n,r,a,u,p){this.platformId=s,this.document=i,this.purpleEnv=n,this.http=r,this.contextService=a,this.translateService=u,this.purpleService=p,this.initTts$=new P.B,this.ttsPlayerCancel$=new R.t(!1),(0,v.UE)(this.platformId)&&(this.loadTTSConfig(),this.loadTTSMessages())}initTTSforPost(s){(0,v.UE)(this.platformId)&&this.init(s)}init(s){var i=this;return(0,d.A)(function*(){var n;i.ttsPlayerCancel$.next(!1),s.resources||(s=yield i.purpleService.getCatalogContent(s.id,!0,{includeResources:!0}));const r=null===(n=s.resources)||void 0===n?void 0:n.find(a=>!!a.properties.ttsResource);if(r)if(yield i.loadTTSContentConfig(r.url),i.purpleService.purpleRef&&i.purpleService.purpleRef.media&&i.ttsContentConfig&&i.ttsConfig&&i.ttsMessages){let a;if(i.ttsPlayer&&(i.ttsPlayer.delete(),a=i.ttsPlayer.state,delete i.ttsPlayer),!0===i.ttsPlayerCancel$.getValue())return console.debug("TTS init canceled"),void i.initTts$.next(!1);try{i.ttsPlayer=new B(i.ttsConfig,s,i,i.purpleService,a),i.ttsPlayer.init(),i.initTts$.next(!0)}catch(u){i.initTts$.next(!1),console.error("TTS init error:",u)}}else i.initTts$.next(!1),console.error("Could not init TTS player");else i.initTts$.next(!1)})()}disabledForPreview(){return this.ttsConfig.ttsDisableForPreview}disabledForAd(){return this.ttsConfig.ttsDisableForAd}loadTTSContentConfig(s){var i=this;return(0,d.A)(function*(){try{let n=yield S(s,{useFetch:!0,returnRedirect:!0});if(n.redirectUrl){const r=new URL(n.redirectUrl);n.response||(r.search="",n=yield S(r.href,{useFetch:!0}));const a=r.pathname.split("/");a.splice(-4),r.pathname=a.join("/"),i.ttsResourceBaseUrl=r.href,i.ttsContentConfig=yield n.response}else i.ttsContentConfig=yield n.response}catch(n){console.error("Could not load tts content config: "+n)}})()}loadTTSConfig(){var s=this;return(0,d.A)(function*(){try{const i=(0,N.vA)((0,N.bU)(s.document.location.href),s.purpleEnv,s.contextService),n=yield S("".concat(s.contextService.getBaseUrl(),"assets/tts_config.json").concat(i));s.ttsConfig={...T,...n},n.ttsSkipContentClasses&&(s.ttsConfig.ttsSkipContentClasses=[...T.ttsSkipContentClasses,...n.ttsSkipContentClasses]),n.ttsSkipContentTags&&(s.ttsConfig.ttsSkipContentTags=[...T.ttsSkipContentTags,...n.ttsSkipContentTags])}catch(i){s.ttsConfig=T,console.warn("Could not load custom tts config: "+i)}})()}loadTTSMessages(){var s=this;return(0,d.A)(function*(){try{const i=s.translateService.messages;s.ttsMessages={...k,...i}}catch(i){s.ttsMessages=k,console.warn("Could not load custom tts messages: "+i)}})()}delete(){var s,i,n,r;this.ttsPlayerCancel$.next(!0),null===(s=this.ttsPlayer)||void 0===s||s.reset(),null===(i=this.ttsPlayer)||void 0===i||i.delete(),null!==(n=this.ttsPlayer)&&void 0!==n&&null!==(n=n.state)&&void 0!==n&&n.forceOpen||null===(r=this.ttsPlayer)||void 0===r||r.closePlayer()}updateForceOpen(){var s;null!==(s=this.ttsPlayer)&&void 0!==s&&s.state.isOpen.value&&(this.ttsPlayer.state.forceOpen=!0)}getTtsResourceBaseUrl(){return this.ttsResourceBaseUrl}}return(l=e).\u0275fac=function(s){return new(s||l)(m.KVO(m.Agw),m.KVO(v.qQ),m.KVO(L.r6),m.KVO(b.Qq),m.KVO(F.V),m.KVO(D.c),m.KVO(_.Wj))},l.\u0275prov=m.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}),e})()}}]);
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<svg width="9px" height="16px" viewBox="0 0 9 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
+
<!-- Generator: Sketch 45.1 (43504) - http://www.bohemiancoding.com/sketch -->
|
4
|
+
<title>backward-icon</title>
|
5
|
+
<desc>Created with Sketch.</desc>
|
6
|
+
<defs></defs>
|
7
|
+
<g id="Normal" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
8
|
+
<g id="iPhone-7" transform="translate(-34.000000, -619.000000)" fill="#FFFFFF">
|
9
|
+
<g id="Popup" transform="translate(19.000000, 96.000000)">
|
10
|
+
<g id="Navigation-bar" transform="translate(0.000000, 509.000000)">
|
11
|
+
<path d="M18.0234375,21.8843757 L23.8945312,28.0015632 C24.0820322,28.1890641 24.0820322,28.3765622 23.8945312,28.5640632 L22.8398438,29.6539069 C22.6523428,29.8414078 22.4648447,29.8414078 22.2773438,29.6539069 L15.1054688,22.1656257 C15.0351559,22.0953128 15,22.0015637 15,21.8843757 C15,21.7671876 15.0351559,21.6734385 15.1054688,21.6031257 L22.2773438,14.1148444 C22.4414071,13.9507811 22.6289052,13.9624997 22.8398438,14.1500007 L23.8945312,15.2046882 C24.0820322,15.3921891 24.0820322,15.5796872 23.8945312,15.7671882 L18.0234375,21.8843757 Z" id="backward-icon"></path>
|
12
|
+
</g>
|
13
|
+
</g>
|
14
|
+
</g>
|
15
|
+
</g>
|
16
|
+
</svg>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<svg width="14px" height="14px" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
+
<!-- Generator: Sketch 45.1 (43504) - http://www.bohemiancoding.com/sketch -->
|
4
|
+
<title></title>
|
5
|
+
<desc>Created with Sketch.</desc>
|
6
|
+
<defs></defs>
|
7
|
+
<g id="Normal" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
8
|
+
<g id="iPhone-7" transform="translate(-329.000000, -112.000000)" fill="#FFFFFF">
|
9
|
+
<g id="Popup" transform="translate(19.000000, 96.000000)">
|
10
|
+
<g id="Title-bar">
|
11
|
+
<path d="M323.626953,27.8554688 C323.720704,27.9492192 323.767578,28.0664055 323.767578,28.2070312 C323.767578,28.347657 323.720704,28.4648433 323.626953,28.5585938 L322.291016,29.859375 C322.197265,29.9531255 322.091797,30 321.974609,30 C321.833984,30 321.716797,29.9531255 321.623047,29.859375 L317.017578,25.2539062 L312.412109,29.859375 C312.318359,29.9531255 312.212891,30 312.095703,30 C311.955077,30 311.837891,29.9531255 311.744141,29.859375 L310.408203,28.5585938 C310.314453,28.4648433 310.267578,28.347657 310.267578,28.2070312 C310.267578,28.0664055 310.314453,27.9492192 310.408203,27.8554688 L315.048828,23.25 L310.408203,18.6796875 C310.173827,18.4453113 310.173827,18.2109387 310.408203,17.9765625 L311.708984,16.640625 C311.84961,16.5468745 311.966796,16.5 312.060547,16.5 C312.201173,16.5 312.318359,16.5468745 312.412109,16.640625 L317.017578,21.2109375 L321.623047,16.640625 C321.763673,16.5468745 321.880859,16.5 321.974609,16.5 C322.115235,16.5 322.232421,16.5468745 322.326172,16.640625 L323.626953,17.9765625 C323.861329,18.2109387 323.861329,18.4335927 323.626953,18.6445312 L318.986328,23.2148438 L323.626953,27.8554688 Z" id=""></path>
|
12
|
+
</g>
|
13
|
+
</g>
|
14
|
+
</g>
|
15
|
+
</g>
|
16
|
+
</svg>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<svg width="10px" height="16px" viewBox="0 0 10 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
+
<!-- Generator: Sketch 45.1 (43504) - http://www.bohemiancoding.com/sketch -->
|
4
|
+
<title>forward-icon</title>
|
5
|
+
<desc>Created with Sketch.</desc>
|
6
|
+
<defs></defs>
|
7
|
+
<g id="Normal" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
8
|
+
<g id="iPhone-7" transform="translate(-92.000000, -619.000000)" fill="#FFFFFF">
|
9
|
+
<g id="Popup" transform="translate(19.000000, 96.000000)">
|
10
|
+
<g id="Navigation-bar" transform="translate(0.000000, 509.000000)">
|
11
|
+
<path d="M79.4375,21.8843757 L73.5664062,15.7671882 C73.3789053,15.5796872 73.3789053,15.3921891 73.5664062,15.2046882 L74.6210938,14.1500007 C74.8320323,13.9624997 75.0195304,13.9507811 75.1835938,14.1148444 L82.3554688,21.6031257 C82.4257816,21.6734385 82.4609375,21.7671876 82.4609375,21.8843757 C82.4609375,22.0015637 82.4257816,22.0953128 82.3554688,22.1656257 L75.1835938,29.6539069 C74.9960928,29.8414078 74.8085947,29.8414078 74.6210938,29.6539069 L73.5664062,28.5640632 C73.3789053,28.3765622 73.3789053,28.1890641 73.5664062,28.0015632 L79.4375,21.8843757 Z" id="forward-icon"></path>
|
12
|
+
</g>
|
13
|
+
</g>
|
14
|
+
</g>
|
15
|
+
</g>
|
16
|
+
</svg>
|
Binary file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<svg width="24px" height="25px" viewBox="0 0 24 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
+
<!-- Generator: Sketch 56.2 (81672) - https://sketch.com -->
|
4
|
+
<title>Triangle</title>
|
5
|
+
<desc>Created with Sketch.</desc>
|
6
|
+
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
7
|
+
<g id="Play_Next_Btn" transform="translate(-21.000000, -18.000000)" fill="#E1E1E1">
|
8
|
+
<g id="Play_Btn" transform="translate(21.000000, 0.000000)">
|
9
|
+
<path d="M14.7888544,21.0777088 L24.5527864,40.6055728 C25.0467649,41.5935298 24.6463162,42.7948759 23.6583592,43.2888544 C23.3806483,43.4277098 23.0744222,43.5 22.763932,43.5 L3.23606798,43.5 C2.13149848,43.5 1.23606798,42.6045695 1.23606798,41.5 C1.23606798,41.1895098 1.30835816,40.8832837 1.4472136,40.6055728 L11.2111456,21.0777088 C11.7051241,20.0897518 12.9064702,19.6893031 13.8944272,20.1832816 C14.281482,20.376809 14.595327,20.690654 14.7888544,21.0777088 Z" id="Triangle" transform="translate(13.000000, 30.500000) rotate(-270.000000) translate(-13.000000, -30.500000) "></path>
|
10
|
+
</g>
|
11
|
+
</g>
|
12
|
+
</g>
|
13
|
+
</svg>
|
Binary file
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<svg width="62px" height="62px" viewBox="0 0 62 62" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
+
<!-- Generator: Sketch 56.2 (81672) - https://sketch.com -->
|
4
|
+
<title>Pause_Btn</title>
|
5
|
+
<desc>Created with Sketch.</desc>
|
6
|
+
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
7
|
+
<g id="Control_Bar_NightMode" transform="translate(-157.000000, -61.000000)">
|
8
|
+
<g id="Pause_Btn_NM" transform="translate(158.000000, 62.000000)">
|
9
|
+
<g id="Pause_Btn">
|
10
|
+
<g id="Group-2" stroke="#FFFFFF" stroke-width="2">
|
11
|
+
<circle id="Oval" cx="30" cy="30" r="30"></circle>
|
12
|
+
</g>
|
13
|
+
<rect id="Rectangle" fill="#FFFFFF" x="22" y="17" width="6" height="26" rx="2"></rect>
|
14
|
+
<rect id="Rectangle-Copy-6" fill="#FFFFFF" x="32" y="17" width="6" height="26" rx="2"></rect>
|
15
|
+
</g>
|
16
|
+
</g>
|
17
|
+
</g>
|
18
|
+
</g>
|
19
|
+
</svg>
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<svg width="62px" height="62px" viewBox="0 0 62 62" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
+
<!-- Generator: Sketch 56.2 (81672) - https://sketch.com -->
|
4
|
+
<title>Pause_Btn</title>
|
5
|
+
<desc>Created with Sketch.</desc>
|
6
|
+
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
7
|
+
<g id="Control_Bar_NightMode" transform="translate(-157.000000, -61.000000)">
|
8
|
+
<g id="Play_Btn_NM" transform="translate(158.000000, 62.000000)">
|
9
|
+
<g id="Play_Btn">
|
10
|
+
<circle id="Oval" stroke="#FFFFFF" stroke-width="2" cx="30" cy="30" r="30"></circle>
|
11
|
+
<path d="M35.2888544,21.5777088 L44.5527864,40.1055728 C45.0467649,41.0935298 44.6463162,42.2948759 43.6583592,42.7888544 C43.3806483,42.9277098 43.0744222,43 42.763932,43 L24.236068,43 C23.1314985,43 22.236068,42.1045695 22.236068,41 C22.236068,40.6895098 22.3083582,40.3832837 22.4472136,40.1055728 L31.7111456,21.5777088 C32.2051241,20.5897518 33.4064702,20.1893031 34.3944272,20.6832816 C34.781482,20.876809 35.095327,21.190654 35.2888544,21.5777088 Z" id="Triangle" fill="#FFFFFF" transform="translate(33.500000, 30.500000) rotate(-270.000000) translate(-33.500000, -30.500000) "></path>
|
12
|
+
</g>
|
13
|
+
</g>
|
14
|
+
</g>
|
15
|
+
</g>
|
16
|
+
</svg>
|
Binary file
|
Binary file
|