1import {CustomDatePipe as u$1}from'./chunk-Dlxr-W-G.js';import {N as N$1}from'./chunk-JNl0N8pb.js';import'./chunk-Dasxtaqx.js';import'./chunk-rNmmLpQP.js';import'./chunk-DYEG5E5y.js';import {v,ar as X,aI as $e,Y as Yb,dS as ee,j as u,g as p,eD as M,k as ci,cu as e,d as dS,U as UM,f as fS,m as GM,R as Rs,Z as Zu,z as dM,O as OS,bB as XS,L as Lv,i as iC,c as ty,aj as kM,A as rd,ah as qM,ak as kv,ep as my,P as Pv,ag as gy,y as Ug}from'./main-YHOEWA6S.js';import'./chunk-DvyR_kbp.js';import'./chunk-B-kIO_yZ.js';var A=e=>({width:"300px",noSpacing:true,openOnHover:e});function F(e,i){if(e&1&&(Pv(0,"app-picture",10),UM(1,"storyblokCdn"),Rs(2,"div",11)(3,"div",12),dM(4),Zu(),Rs(5,"time",4),dM(6),UM(7,"customDate"),Zu()()),e&2){let t=OS();Lv("url",GM(1,13,t.author.image.filename))("width",48)("height",48)("alt",t.author.image.alt||t.author.name),iC(4),gy(t.author.name),iC(),ty("published-on",!t.updated)("updated-on",t.updated),Lv("dateTime",t.updated?t.updatedString:t.publishedString),kv("itemprop",t.updated?"dateModified":"publishedDate"),iC(),my(" ",t.updated?"Updated":"Published"," on ",qM(7,15,t.updated||t.published,"MMMM dd, yyyy")," ");}}function R(e,i){if(e&1&&(Rs(0,"time",4),dM(1),UM(2,"customDate"),Zu()),e&2){let t=OS();Lv("dateTime",t.updated?t.updatedString:t.publishedString),kv("itemprop",t.updated?"dateModified":"publishedDate"),iC(),my(" ",t.updated?"Updated":"Published"," on ",qM(2,4,t.updated||t.published,"MMMM dd, yyyy")," ");}}function $(e,i){if(e&1&&(Rs(0,"a",15),Pv(1,"app-svg",19),Zu()),e&2){let t=OS(2);Lv("iconButton",true)("href",t.author.xLink,Ug);}}function H(e,i){if(e&1&&(Rs(0,"a",16),Pv(1,"app-svg",20),Zu()),e&2){let t=OS(2);Lv("iconButton",true)("href",t.author.instaLink,Ug);}}function Q(e,i){if(e&1&&(Rs(0,"div",13),Pv(1,"app-picture",10),UM(2,"storyblokCdn"),Pv(3,"div",14),dS(4,$,2,2,"a",15),dS(5,H,2,2,"a",16),Zu(),Rs(6,"div",17)(7,"div",12),dM(8),Zu(),Rs(9,"div",18),dM(10),Zu()()),e&2){let t=OS();iC(),Lv("url",GM(2,8,t.author.image.filename))("width",64)("height",64)("alt",t.author.image.alt||t.author.name),iC(3),fS(t.author.xLink?4:-1),iC(),fS(t.author.instaLink?5:-1),iC(3),gy(t.author.name),iC(2),gy(t.author.role);}}function W(e,i){if(e&1&&(Rs(0,"div",9)(1,"time",21),dM(2),UM(3,"customDate"),Zu()()),e&2){let t=OS();iC(),Lv("dateTime",t.updatedString),iC(),rd(" Updated on ",qM(3,2,t.updated,"MMMM dd, yyyy")," ");}}function q(e,i){if(e&1&&(Rs(0,"app-block-wrapper",1)(1,"app-context-menu",2)(2,"div",3),dS(3,F,8,18),dS(4,R,3,7,"time",4),Zu(),Rs(5,"div",5),dS(6,Q,11,10),Rs(7,"div",6)(8,"div",7)(9,"time",8),dM(10),UM(11,"customDate"),Zu()(),dS(12,W,4,5,"div",9),Zu()()()()),e&2){let t=i,c=OS();XS(c.style),Lv("_editable",c._editable),iC(),ty("dates-only-container",!t.author),Lv("options",kM(25,A,!t.author)),iC(),ty("blog-meta-intro",t.author)("dates-only",!t.author)("style-text-muted",!t.author),iC(),fS(t.author?3:-1),iC(),fS(t.author?-1:4),iC(),ty("blog-meta",t.author)("published-dates-only",!t.author),iC(),fS(t.author?6:-1),iC(3),Lv("dateTime",t.publishedString),iC(),rd(" Published on ",qM(11,22,t.published,"MMMM dd, yyyy")," "),iC(2),fS(t.updated?12:-1);}}var N=class e$1{_uid;component;_editable;style;route=v(X);meta$=this.route.data.pipe($e(i=>{let t=i.story.content.author,c=t?i.relationships.find(j=>j.uuid===t)?.content:void 0,g=i.story.first_published_at===i.story.published_at?void 0:i.story.published_at;return {published:new Date(i.story.first_published_at),updated:new Date(g),publishedString:i.story.first_published_at,updatedString:g,author:c}}));static \u0275fac=function(t){return new(t||e$1)};static \u0275cmp=Yb({type:e$1,selectors:[["app-blog-meta"]],inputs:{_uid:"_uid",component:"component",_editable:"_editable",style:"style"},decls:2,vars:3,consts:[[3,"_editable","style"],[3,"_editable"],["position","center",3,"options"],["contextButton",""],[3,"dateTime"],["contextContent",""],[1,"published-dates"],[1,"published-on","style-text-subtle"],["itemprop","publishedDate",3,"dateTime"],[1,"updated-on","style-text-subtle"],[3,"url","width","height","alt"],[1,"meta-info"],[1,"author-name","style-text-strong"],[1,"author-top"],[1,"spacer"],["appButton","","name","x-link","location","blog-meta","color","simple","shape","round","target","_blank",3,"iconButton","href"],["appButton","","name","instagram-link","location","blog-meta","color","simple","shape","round","target","_blank",3,"iconButton","href"],[1,"author-bottom"],[1,"author-role","style-text-muted"],["src","/assets/icons/logo/twitter.svg"],["src","/assets/icons/logo/instagram.svg"],["itemprop","dateModified",3,"dateTime"]],template:function(t,c){if(t&1&&(dS(0,q,13,27,"app-block-wrapper",0),UM(1,"async")),t&2){let g;fS((g=GM(1,1,c.meta$))?0:-1,g);}},dependencies:[ee,u,p,M,N$1,ci,e,u$1],styles:[`.blog-meta[_ngcontent-%COMP%]{border-radius:12px;
1box-shadow:var(--%NS%shadow);padding:20px;display:flex;flex-direction:column;gap:10px}.author-top[_ngcontent-%COMP%]{display:flex;align-items:center}.author-top[_ngcontent-%COMP%] app-picture[_ngcontent-%COMP%]{display:block;width:64px;height:64px;object-fit:cover;border-radius:50%;overflow:hidden}.author-top[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 auto}.author-name[_ngcontent-%COMP%]{font-size:18px;font-weight:700}.author-role[_ngcontent-%COMP%]{font-size:16px}.published-dates[_ngcontent-%COMP%]{line-height:1.2}.published-on[_ngcontent-%COMP%], .updated-on[_ngcontent-%COMP%]{font-size:12px}.blog-meta-intro[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:10px 24px 10px 10px;cursor:pointer;border-radius:100px;line-height:1.2;margin:0 auto;width:fit-content;transition:background-color .2s ease}@media(hover){.blog-meta-intro[_ngcontent-%COMP%]:hover{background-color:var(--%NS%layout-surface-secondary)}}.blog-meta-intro[_ngcontent-%COMP%] app-picture[_ngcontent-%COMP%]{width:48px;height:48px;border-radius:50%;overflow:hidden}.dates-only[_ngcontent-%COMP%]{width:fit-content;margin:0 auto;cursor:pointer;font-size:14px}@media(hover){.dates-only[_ngcontent-%COMP%]:hover{color:var(--%NS%text-default)}}.published-dates-only[_ngcontent-%COMP%]{padding:20px}.dates-only-container[_ngcontent-%COMP%]{margin:0 auto;width:fit-content;display:block} 2/*# sourceMappingURL=blog-meta.component-UQCM7ISD.css.map */`]})};export{N as BlogMetaComponent};//# sourceMappingURL=chunk-DNeXvHNT.js.map 3//# debugId=a5ec4a38-e5ea-500c-a4a6-e7c7535b9298
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.