@pronto-tools-and-more/files 13.2.0 → 13.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/files/framework-latest/src/default/storefront/buildInfo.json +3 -3
  2. package/files/framework-latest/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +80 -80
  3. package/files/framework-latest/src/default/storefront/index.html +2 -2
  4. package/files/framework-latest/src/default/storefront/modules/common.js +1 -1
  5. package/files/framework-latest/src/default/storefront/modules/default-node_modules_angular_forms_fesm2022_forms_mjs.js +1 -1
  6. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_base-component_base-datacollection_component_ts-4706f8.js +1 -1
  7. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_content_content_module_ts.js +1 -1
  8. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_html_html_module_ts.js +1 -1
  9. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-571069.js +1 -1
  10. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-a6979f.js +1 -0
  11. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_issue_issue_module_ts.js +1 -1
  12. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_section_section_module_ts.js +1 -1
  13. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_service_tts_tts_service_ts.js +1 -1
  14. package/files/framework-latest/src/default/storefront/modules/main.js +1 -1
  15. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-445afb.js +1 -0
  16. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-7956f0.js +1 -1
  17. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_action-executor_action-executor_module_ts.js +1 -1
  18. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -1
  19. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_app-menu-xml_app-menu-xml_module_ts.js +1 -1
  20. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -1
  21. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_bookmark_bookmark_module_ts.js +1 -1
  22. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -1
  23. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-featured-image_content-featured-c9ba26.js +1 -1
  24. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_category_category_module_ts.js +1 -1
  25. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_collection_collection_module_ts.js +1 -1
  26. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_component_module_ts.js +1 -1
  27. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_coupon_coupon_module_ts.js +1 -1
  28. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dev-components_user-tag-testing_user-tag-testing_module_ts.js +1 -1
  29. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_download-issues_download-issues_module_ts.js +1 -1
  30. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dropdown_dropdown_module_ts.js +1 -1
  31. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_embeddable-view_embeddable-view_module_ts.js +1 -1
  32. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_iframe_iframe_module_ts.js +1 -1
  33. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_issue-search-result_issue-search-result_module_ts.js +1 -1
  34. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_login_login_module_ts.js +1 -1
  35. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_menu_menu_module_ts.js +1 -1
  36. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_product_product_module_ts.js +1 -1
  37. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication-completion_publication-completion_module_ts.js +1 -1
  38. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication_publication_module_ts.js +1 -1
  39. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_recommendations_recommendations_module_ts.js +1 -1
  40. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_search-field_search-field_module_ts.js +1 -1
  41. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_subscription_subscription_module_ts.js +1 -1
  42. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_swiper_swiper_module_ts.js +1 -1
  43. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ticker_ticker_module_ts.js +1 -1
  44. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toggle_toggle_module_ts.js +1 -1
  45. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toolbar_toolbar_module_ts.js +1 -1
  46. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_web-presenter_presenter_presenter_module_ts.js +1 -1
  47. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_widget_widget_module_ts.js +1 -1
  48. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_directive_check-overflow_check-overflow_directive_ts.js +1 -0
  49. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_modal_modal_leandom_component_ts.js +1 -0
  50. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_preview_preview_leandom_component_ts.js +1 -0
  51. package/files/schema/views-schema.json +23 -116
  52. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_bookmark_bookmark_module_ts"],{418:(ko,x,n)=>{n.r(x),n.d(x,{BookmarkModule:()=>ao,component:()=>ro});var m=n(177),A=n(3),L=n(6953),R=n(1605),B=n(6483),D=n(4403),p=n(467),k=n(9379),U=n(362),G=n.n(U),_=n(8179),g=n(8251),M=n(610),b=n(8091),c=n(7879),O=n(1210),d=n(2932),K=n(4404),T=n(9745);const X={openContent:{type:T.H.OPEN_CONTENT,mode:K.DisplayMode.MODAL,titleBar:!0,fallback:{path:"issueDetails",type:T.H.POPUP,params:{issue:"$context.bookmark.issueId"}}},deleteConfirm:!0,bookmarkTitleMessage:"BOOKMARK_TITLE",creationDateMessage:"BOOKMARK_CREATION_DATE_MESSAGE",pageLabelMessage:"BOOKMARK_PAGE_LABEL_MESSAGE"};var o=n(4438),j=n(20),N=n(9516),Y=n(8004),P=n(5102),V=n(1652),H=n(5927),E=n(1302),h=n(8909),y=n(2813);const f=r=>[r];function F(r,s){if(1&r&&o.nrm(0,"div",2),2&r){const t=o.XpG(2);o.Y8G("src",t.bookmark.thumbnailURL)("height",t.getImageHeight())("extendedThumbnail",null==t.issue||null==t.issue.thumbnailsExtended?null:t.issue.thumbnailsExtended.default)}}function $(r,s){if(1&r&&o.nrm(0,"storefront-image",3),2&r){const t=o.XpG(2);o.Y8G("src",t.bookmark.thumbnailURL)("height",t.getImageHeight())("extendedThumbnail",null==t.issue||null==t.issue.thumbnailsExtended?null:t.issue.thumbnailsExtended.default)}}function Z(r,s){if(1&r&&o.nrm(0,"h3",10),2&r){const t=o.XpG(2);o.Y8G("storefrontTranslate",t.config.bookmarkTitleMessage)("storefrontTranslateArgs",o.eq3(2,f,t.bookmarkTitle))}}function Q(r,s){if(1&r&&o.nrm(0,"div",11),2&r){const t=o.XpG(2);o.Y8G("storefrontTranslate",t.config.pageLabelMessage)("storefrontTranslateArgs",o.eq3(2,f,t.pageLabel))}}function W(r,s){if(1&r){const t=o.RV6();o.qex(0),o.j41(1,"div",1),o.bIt("click",function(a){o.eBV(t);const i=o.XpG();return o.Njj(i.onClickBookmark(a))}),o.DNE(2,F,1,3,"div",2)(3,$,1,3,"storefront-image",3),o.k0s(),o.j41(4,"div",4),o.DNE(5,Z,1,4,"h3",5),o.nrm(6,"div",6),o.nI1(7,"storefrontDate"),o.DNE(8,Q,1,4,"div",7),o.j41(9,"div",8)(10,"i",9),o.bIt("click",function(a){o.eBV(t);const i=o.XpG();return o.Njj(i.onClickDelete(a))}),o.k0s()()(),o.bVm()}if(2&r){const t=o.XpG();o.R7$(2),o.vxM(t.domHelper.leanDom?2:3),o.R7$(3),o.Y8G("ngIf",t.bookmarkTitle),o.R7$(),o.Y8G("storefrontTranslate",t.config.creationDateMessage)("storefrontTranslateArgs",o.eq3(7,f,o.bMT(7,5,t.bookmark.createdAt))),o.R7$(2),o.Y8G("ngIf",t.pageLabel)}}let I=(()=>{var r;class s extends O.${constructor(e,a,i,l,no,C,v,so,S,io){super(C,i,l,v,S),this.store=e,this.dialog=a,this.elementRef=i,this.contextService=l,this.eventActionService=no,this.injector=C,this.document=v,this.purpleService=so,this.globalService=S,this.domHelper=io,this.defaultConfig=(0,k.A)({},X),this.openLoading=!1,this.deleteLoading=!1}get issueType(){return this.bookmark&&this.bookmark.issueType}get regularIssueType(){return this.domHelper.regularSelector(this.issueType)}get prefixedIssueType(){return this.domHelper.prefixedSelector(this.issueType)}get bookmarkTitle(){return this.bookmark.title?this.bookmark.title:this.issue.name}ngOnInit(){super.ngOnInit()}onConfigChanges(){var e=this;return(0,p.A)(function*(){var a;e.context.bookmark&&(e.bookmark=e.context.bookmark,e.pageLabel=e.bookmark.pageLabel,e.issue=(null===(a=e.bookmark.customData)||void 0===a||null===(a=a.contentType)||void 0===a?void 0:a.length)>0?yield e.purpleService.getCatalogContent(e.bookmark.contentId).catch(()=>null):yield e.purpleService.getIssue(e.bookmark.contentId).catch(()=>null),e.issue&&(e.bookmark.issue=e.issue),e.publication=yield e.purpleService.getPublication(e.issue.publicationId)),e.changeDetectorRef.markForCheck()})()}hasContextChanged(e){return!G()(e.bookmark,this.bookmark)||super.hasContextChanged(e)}onClickBookmark(e){var a=this;return(0,p.A)(function*(){if(a.config.openContent){e.stopPropagation(),a.changeDetectorRef.detectChanges(),a.purpleService.getDownloadHandler(a.issue).then(l=>a.handleTrackAction("OPEN_CLICKED",l));const i=(0,k.A)((0,k.A)({},(0,_.uQ)(a.config.openContent,a.context,a.contextService.$functions,a.globalService.getGlobalData())),{},{issueId:a.issue.id,pageIndex:a.bookmark.pageIndex});yield a.eventActionService.processEventAction(i,a),a.changeDetectorRef.detectChanges()}})()}onClickDelete(e){var a=this;return(0,p.A)(function*(){if(e.stopPropagation(),a.config.deleteConfirm)try{yield a.dialog.confirm(a.bookmark.title?{text:"BOOKMARK_DELETE_MESSAGE_WITH_TITLE",args:[a.bookmark.title]}:"BOOKMARK_DELETE_MESSAGE","BOOKMARK_DELETE_TITLE","BOOKMARK_DELETE_CONFIRM","BOOKMARK_DELETE_CANCEL"),yield a.deleteBookmark()}catch(i){}else yield a.deleteBookmark()})()}deleteBookmark(){var e=this;return(0,p.A)(function*(){if(!e.deleteLoading)try{e.deleteLoading=!0,e.changeDetectorRef.detectChanges(),e.purpleService.getDownloadHandler(e.issue).then(a=>e.handleTrackAction("DELETE_CLICKED",a)),yield e.purpleService.deleteBookmark({id:e.bookmark.id}),e.purpleService.getDownloadHandler(e.issue).then(a=>e.handleTrackAction("DELETED",a)),e.deleteLoading=!1,e.changeDetectorRef.detectChanges(),e.delete.emit(e.bookmark)}catch(a){console.log(a),e.deleteLoading=!1,e.changeDetectorRef.detectChanges(),e.dialog.alert(e.bookmark.title?{text:"ERROR_DELETE_BOOKMARK_WITH_TITLE",args:(0,b._3)((0,b.E2)(a,e.contextService),e.bookmark)}:{text:"ERROR_DELETE_BOOKMARK",args:[(0,b.E2)(a,e.contextService)]},"DIALOG_ERROR"),e.purpleService.getDownloadHandler(e.issue).then(i=>e.handleTrackAction("DELETE_FAILED",i))}})()}getImageHeight(){return d.q.FIXED}getTrackingBaseKey(e){return this.elementId||e&&"".concat(e.getContentType(),"_").concat(this.getType())||this.getType()}getTrackingParams(e){const a=(0,c.aM)(this.bookmark,this.issue,this.publication),i=e&&(0,c.Gw)(e.getContentType())?(0,c.VP)(e.content,e.publication,null,"SOURCE_"):{};return(0,k.A)((0,k.A)({},i),a)}handleTrackAction(e,a){this.store.dispatch((0,M.k4)({url:window.location.href,key:"".concat(this.getTrackingBaseKey(a),"_").concat(e),params:this.getTrackingParams(a)}))}}return(r=s).type="bookmark",r.\u0275fac=function(e){return new(e||r)(o.rXU(g.B),o.rXU(j.o),o.rXU(o.aKT),o.rXU(N.V),o.rXU(Y.G),o.rXU(o.zZn),o.rXU(m.qQ),o.rXU(P.Wj),o.rXU(V.d),o.rXU(H.S))},r.\u0275cmp=o.VBU({type:r,selectors:[["storefront-bookmark"]],hostVars:2,hostBindings:function(e,a){2&e&&o.BMQ("issue-type",a.regularIssueType)("data-pxp-issue-type",a.prefixedIssueType)},standalone:!1,features:[o.Jv_([g.B]),o.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],[1,"bookmark-image",3,"click"],[1,"pxp-image",3,"src","height","extendedThumbnail"],[3,"src","height","extendedThumbnail"],[1,"bookmark-data"],["class","bookmark-title",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"bookmark-creation-date",3,"storefrontTranslate","storefrontTranslateArgs"],["class","bookmark-page-label",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"bookmark-actions"],[1,"icon","icon-bookmark-active",3,"click"],[1,"bookmark-title",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"bookmark-page-label",3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(e,a){1&e&&o.DNE(0,W,11,9,"ng-container",0),2&e&&o.Y8G("ngIf",a.bookmark&&a.issue)},dependencies:[m.bT,d.h,E.x,h.M,y.Z],styles:["storefront-bookmark,.pxp-bookmark{display:flex;flex-direction:column;position:relative;background-color:var(--bookmarkBgColor)}storefront-bookmark .bookmark-image,.pxp-bookmark .bookmark-image{position:relative;background-color:var(--bookmarkImageBgColor)}storefront-bookmark .bookmark-image storefront-image,storefront-bookmark .bookmark-image .pxp-image,.pxp-bookmark .bookmark-image storefront-image,.pxp-bookmark .bookmark-image .pxp-image{width:100%}storefront-bookmark .bookmark-image storefront-spinner,storefront-bookmark .bookmark-image .pxp-spinner,.pxp-bookmark .bookmark-image storefront-spinner,.pxp-bookmark .bookmark-image .pxp-spinner{position:absolute;top:0;height:100%;width:100%;background-color:#0000001a}storefront-bookmark .bookmark-data,.pxp-bookmark .bookmark-data{display:flex;flex-direction:column;padding:var(--gutter) 0}storefront-bookmark .bookmark-data .bookmark-title,storefront-bookmark .bookmark-data .bookmark-creation-date,storefront-bookmark .bookmark-data .bookmark-page-label,.pxp-bookmark .bookmark-data .bookmark-title,.pxp-bookmark .bookmark-data .bookmark-creation-date,.pxp-bookmark .bookmark-data .bookmark-page-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;padding-right:calc(var(--gutter) * 2)}storefront-bookmark .bookmark-data .bookmark-actions,.pxp-bookmark .bookmark-data .bookmark-actions{position:absolute;right:0}storefront-bookmark .bookmark-data .bookmark-actions i,.pxp-bookmark .bookmark-data .bookmark-actions i{color:var(--primaryColor)}storefront-bookmark[issue-type=ISSUE] storefront-image,storefront-bookmark[issue-type=ISSUE] .pxp-image,storefront-bookmark[data-pxp-issue-type=ISSUE] storefront-image,storefront-bookmark[data-pxp-issue-type=ISSUE] .pxp-image,.pxp-bookmark[issue-type=ISSUE] storefront-image,.pxp-bookmark[issue-type=ISSUE] .pxp-image,.pxp-bookmark[data-pxp-issue-type=ISSUE] storefront-image,.pxp-bookmark[data-pxp-issue-type=ISSUE] .pxp-image{padding-top:75%;height:100%}storefront-bookmark[issue-type=ISSUE] storefront-image>img,storefront-bookmark[issue-type=ISSUE] .pxp-image>img,storefront-bookmark[data-pxp-issue-type=ISSUE] storefront-image>img,storefront-bookmark[data-pxp-issue-type=ISSUE] .pxp-image>img,.pxp-bookmark[issue-type=ISSUE] storefront-image>img,.pxp-bookmark[issue-type=ISSUE] .pxp-image>img,.pxp-bookmark[data-pxp-issue-type=ISSUE] storefront-image>img,.pxp-bookmark[data-pxp-issue-type=ISSUE] .pxp-image>img{object-fit:cover;width:100%}storefront-bookmark[issue-type=ISSUE] .bookmark-data .bookmark-title,storefront-bookmark[data-pxp-issue-type=ISSUE] .bookmark-data .bookmark-title,.pxp-bookmark[issue-type=ISSUE] .bookmark-data .bookmark-title,.pxp-bookmark[data-pxp-issue-type=ISSUE] .bookmark-data .bookmark-title{display:none}storefront-bookmark[issue-type=ARTICLE] storefront-image,storefront-bookmark[issue-type=ARTICLE] .pxp-image,storefront-bookmark[data-pxp-issue-type=ARTICLE] storefront-image,storefront-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image,.pxp-bookmark[issue-type=ARTICLE] storefront-image,.pxp-bookmark[issue-type=ARTICLE] .pxp-image,.pxp-bookmark[data-pxp-issue-type=ARTICLE] storefront-image,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image{padding-top:75%;height:100%}storefront-bookmark[issue-type=ARTICLE] storefront-image>img,storefront-bookmark[issue-type=ARTICLE] .pxp-image>img,storefront-bookmark[data-pxp-issue-type=ARTICLE] storefront-image>img,storefront-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image>img,.pxp-bookmark[issue-type=ARTICLE] storefront-image>img,.pxp-bookmark[issue-type=ARTICLE] .pxp-image>img,.pxp-bookmark[data-pxp-issue-type=ARTICLE] storefront-image>img,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image>img{object-fit:cover;width:100%}storefront-bookmark[issue-type=ARTICLE] .bookmark-data .bookmark-page-label,storefront-bookmark[data-pxp-issue-type=ARTICLE] .bookmark-data .bookmark-page-label,.pxp-bookmark[issue-type=ARTICLE] .bookmark-data .bookmark-page-label,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .bookmark-data .bookmark-page-label{display:none}\n"],encapsulation:2,changeDetection:0}),s})();const J=["class","pxp-bookmark"],u=r=>[r];function z(r,s){if(1&r&&o.nrm(0,"div",2),2&r){const t=o.XpG(2);o.Y8G("src",t.bookmark.thumbnailURL)("height",t.getImageHeight())("extendedThumbnail",null==t.issue||null==t.issue.thumbnailsExtended?null:t.issue.thumbnailsExtended.default)}}function w(r,s){if(1&r&&o.nrm(0,"storefront-image",3),2&r){const t=o.XpG(2);o.Y8G("src",t.bookmark.thumbnailURL)("height",t.getImageHeight())("extendedThumbnail",null==t.issue||null==t.issue.thumbnailsExtended?null:t.issue.thumbnailsExtended.default)}}function q(r,s){if(1&r&&o.nrm(0,"h3",10),2&r){const t=o.XpG(2);o.Y8G("storefrontTranslate",t.config.bookmarkTitleMessage)("storefrontTranslateArgs",o.eq3(2,u,t.bookmarkTitle))}}function oo(r,s){if(1&r&&o.nrm(0,"div",11),2&r){const t=o.XpG(2);o.Y8G("storefrontTranslate",t.config.pageLabelMessage)("storefrontTranslateArgs",o.eq3(2,u,t.pageLabel))}}function eo(r,s){if(1&r){const t=o.RV6();o.qex(0),o.j41(1,"div",1),o.bIt("click",function(a){o.eBV(t);const i=o.XpG();return o.Njj(i.onClickBookmark(a))}),o.DNE(2,z,1,3,"div",2)(3,w,1,3,"storefront-image",3),o.k0s(),o.j41(4,"div",4),o.DNE(5,q,1,4,"h3",5),o.nrm(6,"div",6),o.nI1(7,"storefrontDate"),o.DNE(8,oo,1,4,"div",7),o.j41(9,"div",8)(10,"i",9),o.bIt("click",function(a){o.eBV(t);const i=o.XpG();return o.Njj(i.onClickDelete(a))}),o.k0s()()(),o.bVm()}if(2&r){const t=o.XpG();o.R7$(2),o.vxM(t.domHelper.leanDom?2:3),o.R7$(3),o.Y8G("ngIf",t.bookmarkTitle),o.R7$(),o.Y8G("storefrontTranslate",t.config.creationDateMessage)("storefrontTranslateArgs",o.eq3(7,u,o.bMT(7,5,t.bookmark.createdAt))),o.R7$(2),o.Y8G("ngIf",t.pageLabel)}}let to=(()=>{var r;class s extends I{}return(r=s).\u0275fac=(()=>{let t;return function(a){return(t||(t=o.xGo(r)))(a||r)}})(),r.\u0275cmp=o.VBU({type:r,selectors:[["div",8,"pxp-bookmark"]],standalone:!1,features:[o.Jv_([g.B]),o.Vt3],attrs:J,decls:1,vars:1,consts:[[4,"ngIf"],[1,"bookmark-image",3,"click"],[1,"pxp-image",3,"src","height","extendedThumbnail"],[3,"src","height","extendedThumbnail"],[1,"bookmark-data"],["class","bookmark-title",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"bookmark-creation-date",3,"storefrontTranslate","storefrontTranslateArgs"],["class","bookmark-page-label",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"bookmark-actions"],[1,"icon","icon-bookmark-active",3,"click"],[1,"bookmark-title",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"bookmark-page-label",3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(e,a){1&e&&o.DNE(0,eo,11,9,"ng-container",0),2&e&&o.Y8G("ngIf",a.bookmark&&a.issue)},dependencies:[m.bT,d.h,E.x,h.M,y.Z],styles:["storefront-bookmark,.pxp-bookmark{display:flex;flex-direction:column;position:relative;background-color:var(--bookmarkBgColor)}storefront-bookmark .bookmark-image,.pxp-bookmark .bookmark-image{position:relative;background-color:var(--bookmarkImageBgColor)}storefront-bookmark .bookmark-image storefront-image,storefront-bookmark .bookmark-image .pxp-image,.pxp-bookmark .bookmark-image storefront-image,.pxp-bookmark .bookmark-image .pxp-image{width:100%}storefront-bookmark .bookmark-image storefront-spinner,storefront-bookmark .bookmark-image .pxp-spinner,.pxp-bookmark .bookmark-image storefront-spinner,.pxp-bookmark .bookmark-image .pxp-spinner{position:absolute;top:0;height:100%;width:100%;background-color:#0000001a}storefront-bookmark .bookmark-data,.pxp-bookmark .bookmark-data{display:flex;flex-direction:column;padding:var(--gutter) 0}storefront-bookmark .bookmark-data .bookmark-title,storefront-bookmark .bookmark-data .bookmark-creation-date,storefront-bookmark .bookmark-data .bookmark-page-label,.pxp-bookmark .bookmark-data .bookmark-title,.pxp-bookmark .bookmark-data .bookmark-creation-date,.pxp-bookmark .bookmark-data .bookmark-page-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;padding-right:calc(var(--gutter) * 2)}storefront-bookmark .bookmark-data .bookmark-actions,.pxp-bookmark .bookmark-data .bookmark-actions{position:absolute;right:0}storefront-bookmark .bookmark-data .bookmark-actions i,.pxp-bookmark .bookmark-data .bookmark-actions i{color:var(--primaryColor)}storefront-bookmark[issue-type=ISSUE] storefront-image,storefront-bookmark[issue-type=ISSUE] .pxp-image,storefront-bookmark[data-pxp-issue-type=ISSUE] storefront-image,storefront-bookmark[data-pxp-issue-type=ISSUE] .pxp-image,.pxp-bookmark[issue-type=ISSUE] storefront-image,.pxp-bookmark[issue-type=ISSUE] .pxp-image,.pxp-bookmark[data-pxp-issue-type=ISSUE] storefront-image,.pxp-bookmark[data-pxp-issue-type=ISSUE] .pxp-image{padding-top:75%;height:100%}storefront-bookmark[issue-type=ISSUE] storefront-image>img,storefront-bookmark[issue-type=ISSUE] .pxp-image>img,storefront-bookmark[data-pxp-issue-type=ISSUE] storefront-image>img,storefront-bookmark[data-pxp-issue-type=ISSUE] .pxp-image>img,.pxp-bookmark[issue-type=ISSUE] storefront-image>img,.pxp-bookmark[issue-type=ISSUE] .pxp-image>img,.pxp-bookmark[data-pxp-issue-type=ISSUE] storefront-image>img,.pxp-bookmark[data-pxp-issue-type=ISSUE] .pxp-image>img{object-fit:cover;width:100%}storefront-bookmark[issue-type=ISSUE] .bookmark-data .bookmark-title,storefront-bookmark[data-pxp-issue-type=ISSUE] .bookmark-data .bookmark-title,.pxp-bookmark[issue-type=ISSUE] .bookmark-data .bookmark-title,.pxp-bookmark[data-pxp-issue-type=ISSUE] .bookmark-data .bookmark-title{display:none}storefront-bookmark[issue-type=ARTICLE] storefront-image,storefront-bookmark[issue-type=ARTICLE] .pxp-image,storefront-bookmark[data-pxp-issue-type=ARTICLE] storefront-image,storefront-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image,.pxp-bookmark[issue-type=ARTICLE] storefront-image,.pxp-bookmark[issue-type=ARTICLE] .pxp-image,.pxp-bookmark[data-pxp-issue-type=ARTICLE] storefront-image,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image{padding-top:75%;height:100%}storefront-bookmark[issue-type=ARTICLE] storefront-image>img,storefront-bookmark[issue-type=ARTICLE] .pxp-image>img,storefront-bookmark[data-pxp-issue-type=ARTICLE] storefront-image>img,storefront-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image>img,.pxp-bookmark[issue-type=ARTICLE] storefront-image>img,.pxp-bookmark[issue-type=ARTICLE] .pxp-image>img,.pxp-bookmark[data-pxp-issue-type=ARTICLE] storefront-image>img,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image>img{object-fit:cover;width:100%}storefront-bookmark[issue-type=ARTICLE] .bookmark-data .bookmark-page-label,storefront-bookmark[data-pxp-issue-type=ARTICLE] .bookmark-data .bookmark-page-label,.pxp-bookmark[issue-type=ARTICLE] .bookmark-data .bookmark-page-label,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .bookmark-data .bookmark-page-label{display:none}\n"],encapsulation:2,changeDetection:0}),s})(),ao=(()=>{var r;class s{}return(r=s).\u0275fac=function(e){return new(e||r)},r.\u0275mod=o.$C({type:r}),r.\u0275inj=o.G2t({imports:[m.MD,D.U,B.h,R.P,A.pZ,L.n]}),s})();const ro={component:I,leanDomComponent:to}}}]);
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_bookmark_bookmark_module_ts"],{418:(y,b,n)=>{n.r(b),n.d(b,{BookmarkModule:()=>Z,component:()=>z});var l=n(177),c=n(3),d=n(6953),i=n(1605),g=n(4403),p=n(467),m=n(9379),o=n(3953),L=n(362),D=n.n(L),R=n(8179),_=n(20),B=n(5102),M=n(8004),u=n(8251),U=n(610),f=n(8091),x=n(7879),G=n(1210),E=n(2932),O=n(4404),I=n(9745);const K={openContent:{type:I.H.OPEN_CONTENT,mode:O.DisplayMode.MODAL,titleBar:!0,fallback:{path:"issueDetails",type:I.H.POPUP,params:{issue:"$context.bookmark.issueId"}}},deleteConfirm:!0,bookmarkTitleMessage:"BOOKMARK_TITLE",creationDateMessage:"BOOKMARK_CREATION_DATE_MESSAGE",pageLabelMessage:"BOOKMARK_PAGE_LABEL_MESSAGE"};var C=n(1302),v=n(8909),S=n(2813);const T=r=>[r];function P(r,s){if(1&r&&o.nrm(0,"div",2),2&r){const t=o.XpG(2);o.Y8G("src",t.bookmark.thumbnailURL)("height",t.getImageHeight())("extendedThumbnail",null==t.issue||null==t.issue.thumbnailsExtended?null:t.issue.thumbnailsExtended.default)}}function j(r,s){if(1&r&&o.nrm(0,"storefront-image",3),2&r){const t=o.XpG(2);o.Y8G("src",t.bookmark.thumbnailURL)("height",t.getImageHeight())("extendedThumbnail",null==t.issue||null==t.issue.thumbnailsExtended?null:t.issue.thumbnailsExtended.default)}}function X(r,s){if(1&r&&o.nrm(0,"h3",10),2&r){const t=o.XpG(2);o.Y8G("storefrontTranslate",t.config.bookmarkTitleMessage)("storefrontTranslateArgs",o.eq3(2,T,t.bookmarkTitle))}}function N(r,s){if(1&r&&o.nrm(0,"div",11),2&r){const t=o.XpG(2);o.Y8G("storefrontTranslate",t.config.pageLabelMessage)("storefrontTranslateArgs",o.eq3(2,T,t.pageLabel))}}function Y(r,s){if(1&r){const t=o.RV6();o.qex(0),o.j41(1,"div",1),o.bIt("click",function(a){o.eBV(t);const k=o.XpG();return o.Njj(k.onClickBookmark(a))}),o.DNE(2,P,1,3,"div",2)(3,j,1,3,"storefront-image",3),o.k0s(),o.j41(4,"div",4),o.DNE(5,X,1,4,"h3",5),o.nrm(6,"div",6),o.nI1(7,"storefrontDate"),o.DNE(8,N,1,4,"div",7),o.j41(9,"div",8)(10,"i",9),o.bIt("click",function(a){o.eBV(t);const k=o.XpG();return o.Njj(k.onClickDelete(a))}),o.k0s()()(),o.bVm()}if(2&r){const t=o.XpG();o.R7$(2),o.vxM(t.domHelper.leanDom?2:3),o.R7$(3),o.Y8G("ngIf",t.bookmarkTitle),o.R7$(),o.Y8G("storefrontTranslate",t.config.creationDateMessage)("storefrontTranslateArgs",o.eq3(7,T,o.bMT(7,5,t.bookmark.createdAt))),o.R7$(2),o.Y8G("ngIf",t.pageLabel)}}let A=(()=>{var r;class s extends G.${constructor(){super(...arguments),this.store=(0,o.WQX)(u.B),this.dialog=(0,o.WQX)(_.o),this.eventActionService=(0,o.WQX)(M.G),this.purpleService=(0,o.WQX)(B.Wj),this.changeDetectorRef=(0,o.WQX)(o.gRc),this.defaultConfig=(0,m.A)({},K),this.openLoading=!1,this.deleteLoading=!1}get issueType(){return this.bookmark&&this.bookmark.issueType}get regularIssueType(){return this.domHelper.regularSelector(this.issueType)}get prefixedIssueType(){return this.domHelper.prefixedSelector(this.issueType)}get bookmarkTitle(){return this.bookmark.title?this.bookmark.title:this.issue.name}ngOnInit(){super.ngOnInit()}onConfigChanges(){var e=this;return(0,p.A)(function*(){var a;e.context.bookmark&&(e.bookmark=e.context.bookmark,e.pageLabel=e.bookmark.pageLabel,e.issue=(null===(a=e.bookmark.customData)||void 0===a||null===(a=a.contentType)||void 0===a?void 0:a.length)>0?yield e.purpleService.getCatalogContent(e.bookmark.contentId).catch(()=>null):yield e.purpleService.getIssue(e.bookmark.contentId).catch(()=>null),e.issue&&(e.bookmark.issue=e.issue),e.publication=yield e.purpleService.getPublication(e.issue.publicationId)),e.changeDetectorRef.markForCheck()})()}hasContextChanged(e){return!D()(e.bookmark,this.bookmark)||super.hasContextChanged(e)}onClickBookmark(e){var a=this;return(0,p.A)(function*(){if(a.config.openContent){e.stopPropagation(),a.changeDetectorRef.detectChanges(),a.purpleService.getDownloadHandler(a.issue).then(w=>a.handleTrackAction("OPEN_CLICKED",w));const k=(0,m.A)((0,m.A)({},(0,R.uQ)(a.config.openContent,a.context,a.contextService.$functions,a.globalService.getGlobalData())),{},{issueId:a.issue.id,pageIndex:a.bookmark.pageIndex});yield a.eventActionService.processEventAction(k,a),a.changeDetectorRef.detectChanges()}})()}onClickDelete(e){var a=this;return(0,p.A)(function*(){if(e.stopPropagation(),a.config.deleteConfirm)try{yield a.dialog.confirm(a.bookmark.title?{text:"BOOKMARK_DELETE_MESSAGE_WITH_TITLE",args:[a.bookmark.title]}:"BOOKMARK_DELETE_MESSAGE","BOOKMARK_DELETE_TITLE","BOOKMARK_DELETE_CONFIRM","BOOKMARK_DELETE_CANCEL"),yield a.deleteBookmark()}catch(k){}else yield a.deleteBookmark()})()}deleteBookmark(){var e=this;return(0,p.A)(function*(){if(!e.deleteLoading)try{e.deleteLoading=!0,e.changeDetectorRef.detectChanges(),e.purpleService.getDownloadHandler(e.issue).then(a=>e.handleTrackAction("DELETE_CLICKED",a)),yield e.purpleService.deleteBookmark({id:e.bookmark.id}),e.purpleService.getDownloadHandler(e.issue).then(a=>e.handleTrackAction("DELETED",a)),e.deleteLoading=!1,e.changeDetectorRef.detectChanges(),e.delete.emit(e.bookmark)}catch(a){console.log(a),e.deleteLoading=!1,e.changeDetectorRef.detectChanges(),e.dialog.alert(e.bookmark.title?{text:"ERROR_DELETE_BOOKMARK_WITH_TITLE",args:(0,f._3)((0,f.E2)(a,e.contextService),e.bookmark)}:{text:"ERROR_DELETE_BOOKMARK",args:[(0,f.E2)(a,e.contextService)]},"DIALOG_ERROR"),e.purpleService.getDownloadHandler(e.issue).then(k=>e.handleTrackAction("DELETE_FAILED",k))}})()}getImageHeight(){return E.q.FIXED}getTrackingBaseKey(e){return this.elementId||e&&"".concat(e.getContentType(),"_").concat(this.getType())||this.getType()}getTrackingParams(e){const a=(0,x.aM)(this.bookmark,this.issue,this.publication),k=e&&(0,x.Gw)(e.getContentType())?(0,x.VP)(e.content,e.publication,null,"SOURCE_"):{};return(0,m.A)((0,m.A)({},k),a)}handleTrackAction(e,a){this.store.dispatch((0,U.k4)({url:window.location.href,key:"".concat(this.getTrackingBaseKey(a),"_").concat(e),params:this.getTrackingParams(a)}))}}return(r=s).type="bookmark",r.\u0275fac=(()=>{let t;return function(a){return(t||(t=o.xGo(r)))(a||r)}})(),r.\u0275cmp=o.VBU({type:r,selectors:[["storefront-bookmark"]],hostVars:2,hostBindings:function(e,a){2&e&&o.BMQ("issue-type",a.regularIssueType)("data-pxp-issue-type",a.prefixedIssueType)},standalone:!1,features:[o.Jv_([u.B]),o.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],[1,"bookmark-image",3,"click"],[1,"pxp-image",3,"src","height","extendedThumbnail"],[3,"src","height","extendedThumbnail"],[1,"bookmark-data"],["class","bookmark-title",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"bookmark-creation-date",3,"storefrontTranslate","storefrontTranslateArgs"],["class","bookmark-page-label",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"bookmark-actions"],[1,"icon","icon-bookmark-active",3,"click"],[1,"bookmark-title",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"bookmark-page-label",3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(e,a){1&e&&o.DNE(0,Y,11,9,"ng-container",0),2&e&&o.Y8G("ngIf",a.bookmark&&a.issue)},dependencies:[l.bT,E.h,C.x,v.M,S.Z],styles:["storefront-bookmark,.pxp-bookmark{display:flex;flex-direction:column;position:relative;background-color:var(--bookmarkBgColor)}storefront-bookmark .bookmark-image,.pxp-bookmark .bookmark-image{position:relative;background-color:var(--bookmarkImageBgColor)}storefront-bookmark .bookmark-image storefront-image,storefront-bookmark .bookmark-image .pxp-image,.pxp-bookmark .bookmark-image storefront-image,.pxp-bookmark .bookmark-image .pxp-image{width:100%}storefront-bookmark .bookmark-image storefront-spinner,storefront-bookmark .bookmark-image .pxp-spinner,.pxp-bookmark .bookmark-image storefront-spinner,.pxp-bookmark .bookmark-image .pxp-spinner{position:absolute;top:0;height:100%;width:100%;background-color:#0000001a}storefront-bookmark .bookmark-data,.pxp-bookmark .bookmark-data{display:flex;flex-direction:column;padding:var(--gutter) 0}storefront-bookmark .bookmark-data .bookmark-title,storefront-bookmark .bookmark-data .bookmark-creation-date,storefront-bookmark .bookmark-data .bookmark-page-label,.pxp-bookmark .bookmark-data .bookmark-title,.pxp-bookmark .bookmark-data .bookmark-creation-date,.pxp-bookmark .bookmark-data .bookmark-page-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;padding-right:calc(var(--gutter) * 2)}storefront-bookmark .bookmark-data .bookmark-actions,.pxp-bookmark .bookmark-data .bookmark-actions{position:absolute;right:0}storefront-bookmark .bookmark-data .bookmark-actions i,.pxp-bookmark .bookmark-data .bookmark-actions i{color:var(--primaryColor)}storefront-bookmark[issue-type=ISSUE] storefront-image,storefront-bookmark[issue-type=ISSUE] .pxp-image,storefront-bookmark[data-pxp-issue-type=ISSUE] storefront-image,storefront-bookmark[data-pxp-issue-type=ISSUE] .pxp-image,.pxp-bookmark[issue-type=ISSUE] storefront-image,.pxp-bookmark[issue-type=ISSUE] .pxp-image,.pxp-bookmark[data-pxp-issue-type=ISSUE] storefront-image,.pxp-bookmark[data-pxp-issue-type=ISSUE] .pxp-image{padding-top:75%;height:100%}storefront-bookmark[issue-type=ISSUE] storefront-image>img,storefront-bookmark[issue-type=ISSUE] .pxp-image>img,storefront-bookmark[data-pxp-issue-type=ISSUE] storefront-image>img,storefront-bookmark[data-pxp-issue-type=ISSUE] .pxp-image>img,.pxp-bookmark[issue-type=ISSUE] storefront-image>img,.pxp-bookmark[issue-type=ISSUE] .pxp-image>img,.pxp-bookmark[data-pxp-issue-type=ISSUE] storefront-image>img,.pxp-bookmark[data-pxp-issue-type=ISSUE] .pxp-image>img{object-fit:cover;width:100%}storefront-bookmark[issue-type=ISSUE] .bookmark-data .bookmark-title,storefront-bookmark[data-pxp-issue-type=ISSUE] .bookmark-data .bookmark-title,.pxp-bookmark[issue-type=ISSUE] .bookmark-data .bookmark-title,.pxp-bookmark[data-pxp-issue-type=ISSUE] .bookmark-data .bookmark-title{display:none}storefront-bookmark[issue-type=ARTICLE] storefront-image,storefront-bookmark[issue-type=ARTICLE] .pxp-image,storefront-bookmark[data-pxp-issue-type=ARTICLE] storefront-image,storefront-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image,.pxp-bookmark[issue-type=ARTICLE] storefront-image,.pxp-bookmark[issue-type=ARTICLE] .pxp-image,.pxp-bookmark[data-pxp-issue-type=ARTICLE] storefront-image,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image{padding-top:75%;height:100%}storefront-bookmark[issue-type=ARTICLE] storefront-image>img,storefront-bookmark[issue-type=ARTICLE] .pxp-image>img,storefront-bookmark[data-pxp-issue-type=ARTICLE] storefront-image>img,storefront-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image>img,.pxp-bookmark[issue-type=ARTICLE] storefront-image>img,.pxp-bookmark[issue-type=ARTICLE] .pxp-image>img,.pxp-bookmark[data-pxp-issue-type=ARTICLE] storefront-image>img,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image>img{object-fit:cover;width:100%}storefront-bookmark[issue-type=ARTICLE] .bookmark-data .bookmark-page-label,storefront-bookmark[data-pxp-issue-type=ARTICLE] .bookmark-data .bookmark-page-label,.pxp-bookmark[issue-type=ARTICLE] .bookmark-data .bookmark-page-label,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .bookmark-data .bookmark-page-label{display:none}\n"],encapsulation:2,changeDetection:0}),s})();const V=["class","pxp-bookmark"],h=r=>[r];function H(r,s){if(1&r&&o.nrm(0,"div",2),2&r){const t=o.XpG(2);o.Y8G("src",t.bookmark.thumbnailURL)("height",t.getImageHeight())("extendedThumbnail",null==t.issue||null==t.issue.thumbnailsExtended?null:t.issue.thumbnailsExtended.default)}}function W(r,s){if(1&r&&o.nrm(0,"storefront-image",3),2&r){const t=o.XpG(2);o.Y8G("src",t.bookmark.thumbnailURL)("height",t.getImageHeight())("extendedThumbnail",null==t.issue||null==t.issue.thumbnailsExtended?null:t.issue.thumbnailsExtended.default)}}function F(r,s){if(1&r&&o.nrm(0,"h3",10),2&r){const t=o.XpG(2);o.Y8G("storefrontTranslate",t.config.bookmarkTitleMessage)("storefrontTranslateArgs",o.eq3(2,h,t.bookmarkTitle))}}function Q(r,s){if(1&r&&o.nrm(0,"div",11),2&r){const t=o.XpG(2);o.Y8G("storefrontTranslate",t.config.pageLabelMessage)("storefrontTranslateArgs",o.eq3(2,h,t.pageLabel))}}function $(r,s){if(1&r){const t=o.RV6();o.qex(0),o.j41(1,"div",1),o.bIt("click",function(a){o.eBV(t);const k=o.XpG();return o.Njj(k.onClickBookmark(a))}),o.DNE(2,H,1,3,"div",2)(3,W,1,3,"storefront-image",3),o.k0s(),o.j41(4,"div",4),o.DNE(5,F,1,4,"h3",5),o.nrm(6,"div",6),o.nI1(7,"storefrontDate"),o.DNE(8,Q,1,4,"div",7),o.j41(9,"div",8)(10,"i",9),o.bIt("click",function(a){o.eBV(t);const k=o.XpG();return o.Njj(k.onClickDelete(a))}),o.k0s()()(),o.bVm()}if(2&r){const t=o.XpG();o.R7$(2),o.vxM(t.domHelper.leanDom?2:3),o.R7$(3),o.Y8G("ngIf",t.bookmarkTitle),o.R7$(),o.Y8G("storefrontTranslate",t.config.creationDateMessage)("storefrontTranslateArgs",o.eq3(7,h,o.bMT(7,5,t.bookmark.createdAt))),o.R7$(2),o.Y8G("ngIf",t.pageLabel)}}let J=(()=>{var r;class s extends A{}return(r=s).\u0275fac=(()=>{let t;return function(a){return(t||(t=o.xGo(r)))(a||r)}})(),r.\u0275cmp=o.VBU({type:r,selectors:[["div",8,"pxp-bookmark"]],standalone:!1,features:[o.Jv_([u.B]),o.Vt3],attrs:V,decls:1,vars:1,consts:[[4,"ngIf"],[1,"bookmark-image",3,"click"],[1,"pxp-image",3,"src","height","extendedThumbnail"],[3,"src","height","extendedThumbnail"],[1,"bookmark-data"],["class","bookmark-title",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"bookmark-creation-date",3,"storefrontTranslate","storefrontTranslateArgs"],["class","bookmark-page-label",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[1,"bookmark-actions"],[1,"icon","icon-bookmark-active",3,"click"],[1,"bookmark-title",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"bookmark-page-label",3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(e,a){1&e&&o.DNE(0,$,11,9,"ng-container",0),2&e&&o.Y8G("ngIf",a.bookmark&&a.issue)},dependencies:[l.bT,E.h,C.x,v.M,S.Z],styles:["storefront-bookmark,.pxp-bookmark{display:flex;flex-direction:column;position:relative;background-color:var(--bookmarkBgColor)}storefront-bookmark .bookmark-image,.pxp-bookmark .bookmark-image{position:relative;background-color:var(--bookmarkImageBgColor)}storefront-bookmark .bookmark-image storefront-image,storefront-bookmark .bookmark-image .pxp-image,.pxp-bookmark .bookmark-image storefront-image,.pxp-bookmark .bookmark-image .pxp-image{width:100%}storefront-bookmark .bookmark-image storefront-spinner,storefront-bookmark .bookmark-image .pxp-spinner,.pxp-bookmark .bookmark-image storefront-spinner,.pxp-bookmark .bookmark-image .pxp-spinner{position:absolute;top:0;height:100%;width:100%;background-color:#0000001a}storefront-bookmark .bookmark-data,.pxp-bookmark .bookmark-data{display:flex;flex-direction:column;padding:var(--gutter) 0}storefront-bookmark .bookmark-data .bookmark-title,storefront-bookmark .bookmark-data .bookmark-creation-date,storefront-bookmark .bookmark-data .bookmark-page-label,.pxp-bookmark .bookmark-data .bookmark-title,.pxp-bookmark .bookmark-data .bookmark-creation-date,.pxp-bookmark .bookmark-data .bookmark-page-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;padding-right:calc(var(--gutter) * 2)}storefront-bookmark .bookmark-data .bookmark-actions,.pxp-bookmark .bookmark-data .bookmark-actions{position:absolute;right:0}storefront-bookmark .bookmark-data .bookmark-actions i,.pxp-bookmark .bookmark-data .bookmark-actions i{color:var(--primaryColor)}storefront-bookmark[issue-type=ISSUE] storefront-image,storefront-bookmark[issue-type=ISSUE] .pxp-image,storefront-bookmark[data-pxp-issue-type=ISSUE] storefront-image,storefront-bookmark[data-pxp-issue-type=ISSUE] .pxp-image,.pxp-bookmark[issue-type=ISSUE] storefront-image,.pxp-bookmark[issue-type=ISSUE] .pxp-image,.pxp-bookmark[data-pxp-issue-type=ISSUE] storefront-image,.pxp-bookmark[data-pxp-issue-type=ISSUE] .pxp-image{padding-top:75%;height:100%}storefront-bookmark[issue-type=ISSUE] storefront-image>img,storefront-bookmark[issue-type=ISSUE] .pxp-image>img,storefront-bookmark[data-pxp-issue-type=ISSUE] storefront-image>img,storefront-bookmark[data-pxp-issue-type=ISSUE] .pxp-image>img,.pxp-bookmark[issue-type=ISSUE] storefront-image>img,.pxp-bookmark[issue-type=ISSUE] .pxp-image>img,.pxp-bookmark[data-pxp-issue-type=ISSUE] storefront-image>img,.pxp-bookmark[data-pxp-issue-type=ISSUE] .pxp-image>img{object-fit:cover;width:100%}storefront-bookmark[issue-type=ISSUE] .bookmark-data .bookmark-title,storefront-bookmark[data-pxp-issue-type=ISSUE] .bookmark-data .bookmark-title,.pxp-bookmark[issue-type=ISSUE] .bookmark-data .bookmark-title,.pxp-bookmark[data-pxp-issue-type=ISSUE] .bookmark-data .bookmark-title{display:none}storefront-bookmark[issue-type=ARTICLE] storefront-image,storefront-bookmark[issue-type=ARTICLE] .pxp-image,storefront-bookmark[data-pxp-issue-type=ARTICLE] storefront-image,storefront-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image,.pxp-bookmark[issue-type=ARTICLE] storefront-image,.pxp-bookmark[issue-type=ARTICLE] .pxp-image,.pxp-bookmark[data-pxp-issue-type=ARTICLE] storefront-image,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image{padding-top:75%;height:100%}storefront-bookmark[issue-type=ARTICLE] storefront-image>img,storefront-bookmark[issue-type=ARTICLE] .pxp-image>img,storefront-bookmark[data-pxp-issue-type=ARTICLE] storefront-image>img,storefront-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image>img,.pxp-bookmark[issue-type=ARTICLE] storefront-image>img,.pxp-bookmark[issue-type=ARTICLE] .pxp-image>img,.pxp-bookmark[data-pxp-issue-type=ARTICLE] storefront-image>img,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .pxp-image>img{object-fit:cover;width:100%}storefront-bookmark[issue-type=ARTICLE] .bookmark-data .bookmark-page-label,storefront-bookmark[data-pxp-issue-type=ARTICLE] .bookmark-data .bookmark-page-label,.pxp-bookmark[issue-type=ARTICLE] .bookmark-data .bookmark-page-label,.pxp-bookmark[data-pxp-issue-type=ARTICLE] .bookmark-data .bookmark-page-label{display:none}\n"],encapsulation:2,changeDetection:0}),s})(),Z=(()=>{var r;class s{}return(r=s).\u0275fac=function(e){return new(e||r)},r.\u0275mod=o.$C({type:r}),r.\u0275inj=o.G2t({imports:[l.MD,g.U,i.P,c.pZ,d.n]}),s})();const z={component:A,leanDomComponent:J}},6953:(y,b,n)=>{n.d(b,{n:()=>d});var l=n(177),c=n(3953);let d=(()=>{var i;class g{}return(i=g).\u0275fac=function(m){return new(m||i)},i.\u0275mod=c.$C({type:i}),i.\u0275inj=c.G2t({imports:[l.MD]}),g})()},2813:(y,b,n)=>{n.d(b,{Z:()=>d});var l=n(3178),c=n(3953);let d=(()=>{var i;class g{transform(m,o){return new Date(m).toLocaleDateString((0,l.JK)())}}return(i=g).\u0275fac=function(m){return new(m||i)},i.\u0275pipe=c.EJ8({name:"storefrontDate",type:i,pure:!0,standalone:!1}),g})()}}]);