PageSourceSearch

https://kenyabuzz.com/chunk-A6OQHF6D.js

js kenyabuzz.com collected 2026-10-02 07:28:48 UTC 79,533 bytes, 2 lines download raw bytes

1import{a as At}from"./chunk-RA2COLRP.js";import{a as St}from"./chunk-6PBWFV2G.js";import{f as Pt}from"./chunk-Q6MYA7OP.js";import{a as Z}from"./chunk-ONPMZU33.js";import{a as de}from"./chunk-SV4S27PH.js";import{a as Ie}from"./chunk-TXJA6R4J.js";import{B as Pe,C as Ae,I as Te,K as Ee,c as me,d as ue,e as ge,g as _e,i as he,j as fe,l as be,n as ve,p as ye,r as xe,t as Ce,u as we,w as Me,y as ke,z as Se}from"./chunk-W7UNWNB7.js";import{b as pe}from"./chunk-3HHMGRZ7.js";import{d as Oe}from"./chunk-WBYVK4U5.js";import{$a as kt,Aa as ne,Da as _t,Fa as ht,Ga as ft,Ha as bt,Ia as vt,Ja as yt,Sa as re,Ta as ae,Wa as oe,Xa as xt,Ya as Ct,Za as wt,_a as Mt,ab as le,ra as ie}from"./chunk-B5ABC55B.js";import{b as Be,e as ee,h as te,k as ce,l as se}from"./chunk-3KP3FCTT.js";import{E as q,F as X,G as gt,g as Ne,j as ut,k as Ue,l as Re,t as $e,u as J}from"./chunk-UQCIDOQQ.js";import{$a as b,$b as A,Ab as z,Ac as mt,Bc as pt,D as Ve,Fc as ze,G as et,Hb as I,I as tt,Ib as R,Jb as $,Lb as g,Mb as _,Mc as C,Nb as B,Ob as j,Pb as S,Pc as L,Qb as P,Rb as d,Sb as r,Sc as V,Tb as n,Tc as je,Ub as p,_a as G,_b as H,a as qe,aa as it,b as Xe,dc as v,ea as nt,eb as a,fa as rt,fc as m,g as O,jc as ot,ka as h,kc as lt,la as f,lc as ct,nb as x,oc as Y,pa as De,pc as st,qa as at,rc as Fe,tc as c,ub as K,uc as u,vc as M,zc as dt}from"./chunk-UDT5CVX5.js";var si=i=>({"pointer-events":i}),N=i=>["/lifestyle",i];function di(i,t){i&1&&p(0,"div",1)}function mi(i,t){if(i&1){let e=A();r(0,"a",27),v("click",function(){let l=h(e).$implicit,s=m(2);return f(s.getPages(l))}),r(1,"li"),c(2),n()()}if(i&2){let e=t.$implicit,o=m(2);d("ngClass",ze(e==o.currentPage?"is-active":"")),I("disabled",o.fetchInProgress),a(2),u(e)}}function pi(i,t){if(i&1){let e=A();r(0,"div",20)(1,"div",21)(2,"div",22)(3,"div",23)(4,"ul")(5,"a",24),v("click",function(){h(e);let l=m();return f(l.getPages(l.currentPage-1))}),r(6,"li"),c(7,"Previous"),n()(),S(8,mi,3,4,"a",25,B),r(10,"a",26),v("click",function(){h(e);let l=m();return f(l.getPages(l.currentPage+1))}),r(11,"li"),c(12,"Next"),n()()()()()()()}if(i&2){let e=m();a(5),d("ngStyle",C(3,si,e.currentPage<=1?"none":"auto")),I("disabled",e.fetchInProgress),a(3),P(e.pages),a(2),I("disabled",e.fetchInProgress)}}function ui(i,t){if(i&1&&(r(0,"div",28)(1,"div",29)(2,"p",30),c(3),n(),r(4,"h1",31),c(5),n(),p(6,"p",32),r(7,"a",33)(8,"button",34),c(9,"Read More"),n()()()()),i&2){let e=m();Fe("background-image: url("+e.authorArticles[0].thumbnail+");"),a(3),u(e.authorArticles[0].date),a(2),M(" ",e.authorArticles[0].title," "),a(),d("innerHTML",e.authorArticles[0].snippet,G),a(),d("routerLink",C(6,N,e.authorArticles[0].slug))}}function gi(i,t){if(i&1&&(r(0,"h1",39),c(1),n(),r(2,"h5",40),c(3),n()),i&2){let e=m(2);a(),M("Articles By ",e.author.name),a(2),u(e.author.email)}}function _i(i,t){if(i&1&&(r(0,"div",37)(1,"div",41)(2,"a",33)(3,"h2",42),c(4),L(5,"slice"),n()()(),r(6,"div",43)(7,"div",44),p(8,"kb-icon",45),r(9,"p"),c(10),n()()(),r(11,"div",46)(12,"div",47)(13,"a",33)(14,"img",48),$("poster-fade-out"),R("poster-fade-in"),n()(),r(15,"a",49),p(16,"kb-icon",50),n()()(),r(17,"div",51)(18,"p",52),c(19),L(20,"slice"),n(),r(21,"div",53)(22,"div",54)(23,"div",55)(24,"p"),c(25,"share"),n(),p(26,"kb-icon",56),n(),r(27,"div",57),p(28,"a",58)(29,"a",59),r(30,"a",60),p(31,"kb-icon",61),n()()(),r(32,"a",62),c(33," Read Article "),n()()()()),i&2){let e=t.$implicit;a(2),d("routerLink",C(20,N,e.slug)),a(2),M(" ",e.title.length>94?V(5,12,e.title,0,94)+"...":e.title," "),a(6),u(e.date),a(3),d("routerLink",C(22,N,e.slug)),a(),d("src",e.thumbnail,b)("alt",e.title),a(),d("href",e.thumbnail,b),a(4),M(" ",e.snippet.length>=180?V(20,16,e.snippet,0,180)+"...":e.snippet," "),a(9),d("href",e.socials.facebook,b),a(),d("href",e.socials.twitter,b),a(),d("href",e.socials.whatsapp,b),a(2),d("routerLink",C(24,N,e.slug))}}function hi(i,t){i&1&&H(0)}function fi(i,t){if(i&1&&(r(0,"section",35),g(1,gi,4,2),r(2,"div",36),S(3,_i,34,26,"div",37,j),n()(),z(5,hi,1,0,"ng-container",38)),i&2){let e=m(),o=Y(2);a(),_(e.author!=null?1:-1),a(2),P(e.authorArticles),a(2),d("ngTemplateOutlet",o)}}function bi(i,t){if(i&1&&(r(0,"div",63)(1,"a",64),p(2,"img",65),n()(),r(3,"div",66)(4,"h4",67)(5,"a",33),c(6),n()(),r(7,"p"),c(8),L(9,"slice"),n(),r(10,"a",68),c(11,"Read more"),n()()),i&2){let e=m();a(),d("routerLink",C(11,N,e.snippets.latest_articles[0].slug)),a(),d("src",e.snippets.latest_articles[0].thumbnail,b)("alt",e.snippets.latest_articles[0].post_title),a(3),d("routerLink",C(13,N,e.snippets.latest_articles[0].slug)),a(),u(e.snippets.latest_articles[0].post_title),a(2),M(" ",e.snippets.latest_articles[0].post_content_str.length>240?V(9,7,e.snippets.latest_articles[0].post_content_str,0,240)+"...":e.snippets.latest_articles[0].post_content_str," "),a(2),d("routerLink",C(15,N,e.snippets.latest_articles[0].slug))}}function vi(i,t){if(i&1&&(r(0,"div",69)(1,"div",70),p(2,"img",71),n(),r(3,"div",72)(4,"h5",73),c(5),n(),r(6,"p",74),c(7),L(8,"slice"),n(),r(9,"div",75),p(10,"div",76),r(11,"a",33),c(12,"Read Article"),n()()()()),i&2){let e=m().$implicit;a(2),d("src",e==null?null:e.thumbnail,b)("alt",e==null?null:e.post_title),a(3),u(e==null?null:e.post_title),a(2),M(" ",(e==null||e.post_content_str==null?null:e.post_content_str.length)>60?V(8,5,e==null?null:e.post_content_str,0,60)+"...":e==null?null:e.post_content_str," "),a(4),d("routerLink",C(9,N,e==null?null:e.slug))}}function yi(i,t){if(i&1&&g(0,vi,13,11,"div",69),i&2){let e=t.$index;_(e>0&&e<4?0:-1)}}function xi(i,t){if(i&1&&S(0,yi,1,1,null,null,B),i&2){let e=m();P(e.snippets==null?null:e.snippets.latest_articles)}}
1var He=class i{constructor(t,e,o,l,s,E){this._Activatedroute=t;this.apiService=e;this.dataService=o;this.pluginService=l;this.titleService=s;this.metaService=E;this._Activatedroute.params.subscribe(D=>{this.slug=D.slug,this.getPages(this.currentPage)}),this.titleService.setTitle("Lifestyle articles, reviews, trending news, cool tips and tricks"),this.metaService.updateTag({property:"keywords",content:"lifestyle, reviews, trending, kids, movies, events, shows, food, education, art, dance, film, music, sports, health"}),this.metaService.updateTag({property:"description",content:"Discover hot movies & reviews, hangout spots, cool & trending articles"}),this.metaService.updateTag({property:"og:url",content:"https://kenyabuzz.com/lifestyle/author/"+this.slug}),this.metaService.updateTag({property:"og:title",content:"KenyaBuzz Lifestyle"}),this.metaService.updateTag({property:"og:description",content:"Discover hot movies & reviews, hangout spots, cool & trending articles"}),this.metaService.updateTag({property:"og:image",content:"https://static.kenyabuzz.com/assets/images/components/og-kb-lifestyle.png"}),this.metaService.updateTag({property:"twitter:card",content:"summary_large_image"}),this.metaService.updateTag({property:"twitter:title",content:"KenyaBuzz Lifestyle"}),this.metaService.updateTag({property:"twitter:description",content:"Discover hot movies & reviews, hangout spots, cool & trending articles"}),this.metaService.updateTag({property:"twitter:image",content:"https://static.kenyabuzz.com/assets/images/components/og-kb-lifestyle.png"})}slug=null;authorArticlesLoaded=!1;authorArticles=[];articlesExist=!1;author=null;snippets;latestArticlesLoaded=!1;randomLocation;locationLoaded=!1;randomGalleryItem;galleryItemLoaded=!1;fetchInProgress=!1;currentPage=1;pages=[];ngOnInit(){return O(this,null,function*(){yield this.getLifestyleSnippets()})}ngAfterViewInit(){this.pluginService.scrollToTop()}getAuthorArticles(t,e){return O(this,null,function*(){this.dataService.getAuthorArticles(t,e).subscribe(o=>{o.response=="success"&&("author"in o&&(this.author={email:o.author.email,name:o.author.name}),"data"in o&&Array.isArray(o.data)&&(this.authorArticles=[],o.data.forEach(l=>{l.post_date=this.dataService.readableDate(l.post_date),l.post_content=l.post_content.replace(`\r
2`," ");let s={slug:l.slug,date:l.post_date,title:l.post_title,thumbnail:l.post_thumbnail,snippet:l.post_content,socials:{facebook:`https://facebook.com/sharer/sharer.php?u=https://kenyabuzz.com/lifestyle/${l.slug}`,twitter:`https://twitter.com/intent/tweet/?text=${l.post_title} https://kenyabuzz.com/lifestyle/${l.slug}`,whatsapp:this.pluginService.openWhatsapp("Check this out > *"+l.post_title+"* | https://kenyabuzz.com/lifestyle/"+l.slug)}};this.authorArticles.push(s)}),this.articlesExist=!0,this.authorArticlesLoaded=!0,this.fetchInProgress=!1,setTimeout(()=>{this.pluginService.initShare()},2e3)))})})}getLifestyleSnippets(){return O(this,null,function*(){this.apiService.get_v3(this.apiService.getEndpoints().lifestyle.snippets).subscribe({next:t=>{t&&"data"in t&&(Array.isArray(t.data.latest_articles)&&t.data.latest_articles.forEach(e=>{e.post_content=e.post_content?e.post_content.replace(/<[^>]*>?/gm,""):null,e.post_date=this.dataService.readableDate(e.post_date)}),this.snippets=t.data,this.latestArticlesLoaded=!!Array.isArray(t.data.latest_articles),Array.isArray(t.data.locations)&&t.data.locations.forEach(e=>{e.pic=e.pic?"https://static.kenyabuzz.com/"+e.pic:null}),this.randomLocation=Array.isArray(t.data.locations)?t.data.locations[Math.floor(Math.random()*t.data.locations.length)]:null,this.locationLoaded=!!Array.isArray(t.data.locations),Array.isArray(t.data.random_gallery_items)&&t.data.random_gallery_items.forEach(e=>{e.display_image=e.display_image?"https://static.kenyabuzz.com/lifestyle/wp-content/uploads/"+e.dis
2play_image:null}),this.randomGalleryItem=Array.isArray(t.data.random_gallery_items)?t.data.random_gallery_items[Math.floor(Math.random()*t.data.random_gallery_items.length)]:null,this.galleryItemLoaded=!!Array.isArray(t.data.random_gallery_items))},error:t=>{console.log("Snippets Err >",t)}})})}getPages(t){return O(this,null,function*(){this.pages=this.dataService.generatePagination(t),this.currentPage=t,this.fetchInProgress=!0,yield this.getAuthorArticles(this.slug,this.currentPage),this.pluginService.scrollToTop()})}static \u0275fac=function(e){return new(e||i)(x(Be),x(ce),x(se),x(Ie),x(X),x(q))};static \u0275cmp=K({type:i,selectors:[["app-author"]],decls:32,vars:5,consts:[["lifestylePages",""],[1,"c-skeleton__figure",2,"height","60vh"],[1,"hero-section",3,"style"],[1,"AD-space"],[1,"AD-content","fw-AD","featured-DT"],["data-publisher","eyJpdiI6IjVzdWhMTklJblJ5TnNjd0l6YmROQVE9PSIsInZhbHVlIjoidWN6UXA4aTFTVTdyRldzczMwUHFTUT09IiwibWFjIjoiMGMxOGNhNWJmOTAxZWI4YzQ1ZDk5ZmZmMzZiZWYwYWVjYmYzNjQ3MzQ4YzJiMDRlMjA0MDdhODk1MDVlMDU5YiJ9","data-adsize","728x90",1,"MainAdverTiseMentDiv"],[1,"AD-content","mobile-AD","featured-m"],[1,"trendingArticles","py-5"],[1,"container-fluid","trendingArticles-sec"],[1,"column1","trending"],[1,"title"],[1,"line"],[1,"column2","trending"],["routerLink","/lifestyle",1,"see-all-lifestyle"],["name","east"],[1,"colm2"],[1,"col2-article"],[1,"buzzing-trends"],[1,"col2-AD"],["data-publisher","eyJpdiI6IkIxZHluU1RvZzZLWmZwUkRUODNJT3c9PSIsInZhbHVlIjoib2t1dDZWZGQxSHVnK2tTaWtkQ0U5dz09IiwibWFjIjoiNjUzZjdjMmYwYTY4YjE1ODUzNmY4MDk2MjFjZjA3NmQ4NzdmYmE1NzAxYjEyZjQ0NTRjOTFmOTc3NDU4NWE5MyJ9","data-adsize","300x250",1,"MainAdverTiseMentDiv"],[1,"row","mx-auto"],[1,"col-12","mx-auto"],[1,"paginator-wrapper","mx-auto","py-4"],[1,"paginator"],[3,"click","ngStyle"],[3,"ngClass"],[3,"click"],[3,"click","ngClass"],[1,"hero-section"],[1,"wrapper"],[1,"hero-date"],[1,"hero-title"],[1,"hero-article-summary",3,"innerHTML"],[3,"routerLink"],[1,"hero-CTA","outline-btn"],[1,"moreLatestArticles"],[1,"all-cards-wrapper"],[1,"cards-single"],[4,"ngTemplateOutlet"],[1,"author-title-name"],[1,"author-title-email"],[1,"cards-single__top-section"],[1,"cards-single__title"],[1,"cards-single__location-meta"],[1,"venue"],["name","today"],[1,"mid-section"],[1,"cards-single__img-holder"],[1,"cards-single__event-poster",3,"src","alt"],["data-fancybox","true","title","View Poster",1,"cards-single__preview-img",3,"href"],["name","visibility"],[1,"bottom-section"],[1,"cards-single__description"],[1,"cards-single__engagement"],[1,"share-element"],[1,"share-buttons"],["name","share"],[1,"social-overlays"],["target","_blank","aria-label","",1,"fb-icon",3,"href"],["target","_blank","aria-label","",1,"twitter-icon",3,"href"],["target","_blank",1,"whatsapp-icon",3,"href"],["name","whatsapp"],[1,"fill-btn","buy-tickets",3,"routerLink"],[1,"column1__IMG"],[1,"article-pic",3,"routerLink"],["width","636","height","420",3,"src","alt"],[1,"col1-context"],[1,"heading-title"],[1,"btn-primary","green",3,"routerLink"],[1,"trendsArticle"],[1,"trendsArticle-img"],[3,"src","alt"],[1,"featured-title"],[1,"Colon-intro"],[1,"title-description"],[1,"readArticle"],[1,"readLine-deco"]],template:function(e,o){e&1&&(g(0,di,1,0,"div",1),z(1,pi,13,5,"ng-template",null,0,je),g(3,ui,10,8,"div",2),r(4,"section",3)(5,"div",4),p(6,"div",5),n(),p(7,"div",6),n(),g(8,fi,6,2),r(9,"section",7)(10,"div",8)(11,"div",9)(12,"div",10)(13,"h3"),c(14,"Trending Topics"),n(),p(15,"div",11),n(),g(16,bi,12,17),n(),r(17,"div",12)(18,"div",10)(19,"h3"),c(20,"Editor's Picks"),n(),p(21,"div",11),r(22,"a",13)(23,"p"),c(24,"See All"),n(),p(25,"kb-icon",14),n()(),r(26,"div",15)(27,"div",16)(28,"div",17),g(29,xi,2,0),n()(),r(30,"div",18),p(31,"div",19),n()()()()()),e&2&&(_(o.authorArticlesLoaded?-1:0),a(3),_(o.authorArticlesLoaded?3:-1),a(5),_(o.articlesExist&&o.authorArticlesLoaded?8:-1),a(8),_(o.authorArticlesLoaded?16:-1),a(13),_(o.authorArticlesLoaded?29:-1))},dependencies:[J,Ne,Re,Ue,te,ee,re,ae,me,pe,de,ie,ue,ge,_e,he,ne,fe,be,ve,ye,xe,Ce,oe,Me,ke,Se,Pe,Ae,Te,le,Ee,Oe,we,$e],styles:['.AD-space[_ngcontent-%COMP%]{margin:3rem auto}.wrapper[_ngcontent-%COMP%]{padding:5rem 5% 5%;display:flex;flex-direction:column;justify-content:flex-start;margin-bottom:2rem}@media all and (min-width:768px){.wrapper[_ngcontent-%COMP%]{margin:5% auto;max-width:1400px}}.hero-section[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:cover;background-color:var(--gray-meta-color);background-blend-mode:multiply;height:65vh;color:var(--white-color);display:flex;align-items:center;border-radius:0 0 1.25rem 1.25rem;box-shadow:1px 16px 26px -14px #00000040;-webkit-box-shadow:1px 16px 26px -14px rgba(0,0,0,.25);-moz-box-shadow:1px 16px 26px -14px rgba(0,0,0,.25)}@media all and (min-width:768px){.hero-section[_ngcontent-%COMP%]{background-position:top center}}.hero-meta[_ngcontent-%COMP%]{font-size:.75rem;letter-spacing:.05rem;text-transform:capitalize;font-weight:500;display:inline;color:var(--white-color);background:#ffffff26;padding:.09375rem .625rem;border-radius:2rem;transition:all .3s ease-in-out}.hero-date[_ngcontent-%COMP%]{font-size:.875rem;color:var(--light-gray-color);padding:0;margin:2rem 0 0}.hero-title[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;line-height:1.1;margin:0 0 1.5rem;transition:all .3s ease-in-out}@media all and (min-width:768px){.hero-title[_ngcontent-%COMP%]{font-size:3rem}}.hero-article-summary[_ngcontent-%COMP%]{line-height:1.6;margin:0 0 2rem;max-width:46.5625rem;font-size:.9rem;transition:all .3s ease-in-out}@media all and (min-width:768px){.hero-article-summary[_ngcontent-%COMP%]{font-size:1rem}}
2.hero-CTA[_ngcontent-%COMP%]{background-color:transparent;color:var(--white-color);transition:all .3s ease-in-out;font-size:.75rem;cursor:pointer;font-weight:700;width:8rem;padding:.75rem 1rem}a[_ngcontent-%COMP%] > .hero-CTA[_ngcontent-%COMP%]:hover{background-color:#fff3;border:1px solid rgba(255,255,255,.2);color:var(--white-color)}.featured-DT[_ngcontent-%COMP%]{background:url("./media/ad-banner-ESOEQD7K.jpg");background-repeat:no-repeat;background-size:contain;background-position:center;overflow:hidden}.featured-m[_ngcontent-%COMP%]{background:url("./media/ad-mobile-TZ7HBOSP.jpg");background-repeat:no-repeat;background-size:contain;background-position:center;overflow:hidden}.author-title-name[_ngcontent-%COMP%]{text-align:center;font-size:3rem;font-weight:100}.author-title-email[_ngcontent-%COMP%]{text-align:center;font-size:1.2rem;font-weight:500;color:var(--color-culture-text)}.fill-btn[_ngcontent-%COMP%]{color:var(--white-color);background-color:var(--color-culture);font-weight:700}.view-album__title[_ngcontent-%COMP%]{color:var(--color-culture-text)}.share-buttons[_ngcontent-%COMP%]{color:var(--color-culture-text);background:var(--lifestyle-light)}.share-buttons[_ngcontent-%COMP%]:hover{color:var(--lifestyle-light);background:var(--lifestyle)}.paginator-wrapper[_ngcontent-%COMP%]{width:fit-content}.paginator[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:first-of-type, .paginator[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:last-of-type, .paginator[_ngcontent-%COMP%]   .is-active[_ngcontent-%COMP%]{background-color:var(--lifestyle);color:#fff;font-weight:700}.paginator[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:var(--main-color);color:#fff}.custom-pager[_ngcontent-%COMP%]{margin-top:3rem;margin-bottom:-3rem}']})};var Ci=i=>({"pointer-events":i}),F=i=>["/lifestyle",i],wi=i=>({data:i});function Mi(i,t){if(i&1){let e=A();r(0,"a",34),v("click",function(){let l=h(e).$implicit,s=m(2);return f(s.getPages(l))}),r(1,"li",32),c(2),n()()}if(i&2){let e=t.$implicit,o=m(2);d("ngClass",ze(e==o.currentPage?"is-active persist-light":"")),I("disabled",o.fetchInProgress),a(),d("ngClass",ze(e==o.currentPage?"persist-light":"")),a(),u(e)}}function ki(i,t){if(i&1){let e=A();r(0,"div",26)(1,"div",27)(2,"div",28)(3,"div",29)(4,"ul")(5,"a",30),v("click",function(){h(e);let l=m();return f(l.getPages(l.currentPage-1))}),r(6,"li",31),c(7,"Previous"),n()(),S(8,Mi,3,6,"a",32,B),r(10,"a",33),v("click",function(){h(e);let l=m();return f(l.getPages(l.currentPage+1))}),r(11,"li",31),c(12,"Next"),n()()()()()()()}if(i&2){let e=m();a(5),d("ngStyle",C(3,Ci,e.currentPage<=1?"none":"auto")),I("disabled",e.fetchInProgress),a(3),P(e.pages),a(2),I("disabled",e.fetchInProgress)}}function Si(i,t){if(i&1&&(r(0,"p-tab",3),c(1),n()),i&2){let e=t.$implicit,o=t.$index;d("value",o+1),a(),u(e.category_name)}}function Pi(i,t){if(i&1&&S(0,Si,2,2,"p-tab",3,B),i&2){let e=m();P(e.allArticles)}}function Ai(i,t){i&1&&p(0,"div",4)}function Ti(i,t){if(i&1){let e=A();r(0,"div",35)(1,"div",36)(2,"p",37),c(3),n(),r(4,"h1",38),c(5),n(),p(6,"p",39),r(7,"a",40),v("click",function(){h(e);let l=m();return f(l.trackUserEvent("view_item","lifestyle_article",l.snippets.latest_articles[0].post_title))}),r(8,"button",41),c(9,"Read More"),n()()()()}if(i&2){let e=m();Fe("background-image: url("+e.snippets.latest_articles[0].thumbnail+");"),a(3),u(e.snippets.latest_articles[0].post_date),a(2),M(" ",e.snippets.latest_articles[0].post_title," "),a(),d("innerHTML",e.snippets.latest_articles[0].post_content,G),a(),d("routerLink",C(6,F,e.snippets.latest_articles[0].slug))}}function Ei(i,t){i&1&&H(0)}function Oi(i,t){if(i&1&&z(0,Ei,1,0,"ng-container",42),i&2){m();let e=Y(1);d("ngTemplateOutlet",e)}}function Ii(i,t){if(i&1){let e=A();r(0,"div",44)(1,"div",45)(2,"a",40),v("click",function(){let l=h(e).$implicit,s=m(2);return f(s.trackUserEvent("view_item","lifestyle_article",l.title))}),r(3,"h2",46),c(4),L(5,"slice"),n()()(),r(6,"div",47)(7,"div",48),p(8,"kb-icon",49),r(9,"p"),c(10),n()()(),r(11,"div",50)(12,"div",51)(13,"a",40),v("click",function(){let l=h(e).$implicit,s=m(2);return f(s.trackUserEvent("view_item","lifestyle_article",l.title))}),r(14,"img",52),$("poster-fade-out"),R("poster-fade-in"),n()(),r(15,"a",53),p(16,"kb-icon",54),n()()(),r(17,"div",55)(18,"p",56),c(19),L(20,"slice"),n(),r(21,"div",57)(22,"div",58)(23,"div",59)(24,"p"),c(25,"share"),n(),p(26,"kb-icon",60),n(),r(27,"div",61)(28,"a",62),v("click",function(){let l=h(e).$implicit,s=m(2);return f(s.trackUserEvent("share","facebook_share",l.title))}),n(),r(29,"a",63),v("click",function(){let l=h(e).$implicit,s=m(2);return f(s.trackUserEvent("share","twitter_share",l.title))}),n(),r(30,"a",64),v("click",function(){let l=h(e).$implicit,s=m(2);return f(s.trackUserEvent("share","whatsapp_share",l.title))}),p(31,"kb-icon",65),n()()(),r(32,"a",66),v("click",function(){let l=h(e).$implicit,s=m(2);return f(s.trackUserEvent("view_item","lifestyle_article",l.title))}),c(33," Read Article "),n()()()()}if(i&2){let e=t.$implicit,o=m(2);a(2),d("routerLink",C(20,F,e.slug)),a(2),M(" ",e.title.length>60?V(5,12,e.title,0,60)+"...":e.title," "),a(6),u(e.date),a(3),d("routerLink",C(22,F,e.slug)),a(),d("src",e.poster||o.handleMissingImage(),b)("alt",e.title),a(),d("href",e.poster||o.handleMissingImage(),b),a(4),M(" ",e.title.length>120?V(20,16,e.title,0,120)+"...":e.title," "),a(9),d("href",e.socials.facebook,b),a(),d("href",e.socials.twitter,b),a(),d("href",e.socials.whatsapp,b),a(2),d("routerLink",C(24,F,e.slug))}}function zi(i,t){i&1&&H(0)}function Li(i,t){if(i&1&&z(0,zi,1,0,"ng-container",42),i&2){m(2);let e=Y(1);d("ngTemplateOutlet",e)}}function Vi(i,t){if(i&1&&(r(0,"section",10)(1,"div",43),S(2,Ii,34,26,"div",44,j),g(4,Li,1,1,"ng-container"),n()()),i&2){let e=m();a(2),P(e.moreArticles),a(2),_(e.moreArticles.length>0?4:-1)}}function Di(i,t){if(i&1){let e=A();r(0,"div",67)(1,"a",68),v("click",function(){h(e);let l=m();return f(l.trackUserEvent("view_item","editor_pick",l.snippets.latest_articles[0].post_title))}),p(2,"img",69),n()(),r(3,"div",70)(4,"h4",71)(5,"a",40),v("click",function(){h(e);let l=m();return f(l.trackUserEvent("view_item","editor_pick",l.snippets.latest_articles[0].post_title))}),c(6),n()(),r(7,"p"),c(8),L(9,"slice"),n(),r(10,"a",72),c(11,"Read more"),n()()}if(i&2){let e=m();a(),d("routerLink",C(11,F,e.snippets.latest_articles[0].slug)),a(),d("src",e.snippets.latest_articles[0].thumbnail,b)("alt",e.snippets.latest_articles[0].post_title),a(3),d("routerLink",C(13,F,e.snippets.latest_articles[0].slug)),a(),M(" ",e.snippets.latest_articles[0].post_title," "),a(2),M(" ",(e.snippets==null||e.snippets.latest_articles[0]==null?null:e.snippets.latest_articles[0].post_content.length)>150?V(9,7,e.snippets.latest_articles[0].post_content,0,150)+"...":e.snippets.latest_articles[0].post_content," "),a(2),d("routerLink",C(15,F,e.snippets.latest_articles[0].slug))}}function Fi(i,t){if(i&1&&(r(0,"div",73)(1,"div",75),p(2,"img",76),n(),r(3,"div",77)(4,"h5",78),c(5),n(),r(6,"p",79),c(7),L(8,"slice"),n(),r(9,"div",80),p(10,"div",81),r(11,"a",82),c(12,"Read Article"),n()()()()),i&2){let e=m().$implicit;a(2),d("src",e==null?null:e.thumbnail,b)("alt",e==null?null:e.post_title),a(3),u(e==null?null:e.post_title),a(2),M(" ",(e==null||e.post_content==null?null:e.post_content.length)>60?V(8,5,e==null?null:e.post_content,0,60)+"...":e==null?null:e.post_content," "),a(4),d("routerLink",C(9,F,e==null?null:e.slug))}}function ji(i,t){if(i&1&&z(0,Fi,13,11,"div",74),i&2){let e=t.$index;d("ngIf",e>0&&e<4)}}function Ni(i,t){if(i&1&&S(0,ji,1,1,"div",73,j),i&2){let e=m();P(e.snippets==null?null:e.snippets.latest_articles)}}function Ui(i,t){i&1&&H(0)}function Ri(i,t){if(i&1&&(r(0,"div",83),z(1,Ui,1,0,"ng-container",42),n()),i&2){m(3);let e=Y(1);a(),d("ngTemplateOutlet",e)}}function $i(i,t){if(i&1){let e=A();r(0,"div",85)(1,"a")(2,"div",86)(3,"img",76),$("poster-fade-out"),R("poster-fade-in"),n()(),r(4,"div",87)(5,"p",88),c(6),n(),r(7,"h1",89),c(8),n(),r(9,"div",90)(10,"div",91)(11,"a",92),v("click",function(){let l=h(e).$implicit,s=m(3);return f(s.trackUserEvent("view_item","lifestyle_article",l.title))}),c(12," READ "),p(13,"kb-icon",93),n()(),r(14,"div",57)(15,"div",58)(16,"div",59)(17,"p"),
2c(18,"share"),n(),p(19,"kb-icon",60),n(),r(20,"div",61)(21,"a",62),v("click",function(){let l=h(e).$implicit,s=m(3);return f(s.trackUserEvent("share","facebook_share",l.title))}),n(),r(22,"a",63),v("click",function(){let l=h(e).$implicit,s=m(3);return f(s.trackUserEvent("share","twitter_share",l.title))}),n(),r(23,"a",64),v("click",function(){let l=h(e).$implicit,s=m(3);return f(s.trackUserEvent("share","whatsapp_share",l.title))}),p(24,"kb-icon",65),n()()()()()()()()}if(i&2){let e=t.$implicit,o=m(3);a(3),d("src",e.poster||o.handleMissingImage(),b)("alt",e.title),a(3),u(e.date),a(2),u(e.title),a(3),d("routerLink",C(9,F,e.slug))("state",C(11,wi,e)),a(10),d("href",e.socials.facebook,b),a(),d("href",e.socials.twitter,b),a(),d("href",e.socials.whatsapp,b)}}function Bi(i,t){i&1&&H(0)}function Hi(i,t){if(i&1&&z(0,Bi,1,0,"ng-container",42),i&2){m(3);let e=Y(1);d("ngTemplateOutlet",e)}}function Yi(i,t){if(i&1&&(r(0,"p-tabpanel",3),g(1,Ri,2,1,"div",83),r(2,"div",84),S(3,$i,25,13,"div",85,j),n(),g(5,Hi,1,1,"ng-container"),n()),i&2){let e=t.$implicit,o=t.$index;d("value",o+1),a(),_(e.posts.length>0?1:-1),a(2),P(e.posts),a(2),_(e.posts.length>0?5:-1)}}function Zi(i,t){if(i&1&&S(0,Yi,6,3,"p-tabpanel",3,B),i&2){let e=m();P(e.allArticles)}}var Ye=class i{constructor(t,e,o,l,s,E){this.apiService=t;this.dataService=e;this.pluginService=o;this.trackingService=l;this.titleService=s;this.metaService=E;this.titleService.setTitle("Lifestyle articles, reviews, trending news, cool tips and tricks"),this.metaService.updateTag({property:"keywords",content:"lifestyle, reviews, trending, kids, movies, events, shows, food, education, art, dance, film, music, sports, health"}),this.metaService.updateTag({property:"description",content:"Discover hot movies & reviews, hangout spots, cool & trending articles"}),this.metaService.updateTag({property:"og:url",content:"https://kenyabuzz.com/lifestyle"}),this.metaService.updateTag({property:"og:title",content:"KenyaBuzz Lifestyle"}),this.metaService.updateTag({property:"og:description",content:"Discover hot movies & reviews, hangout spots, cool & trending articles"}),this.metaService.updateTag({property:"og:image",content:"https://static.kenyabuzz.com/assets/images/components/og-kb-lifestyle.png"}),this.metaService.updateTag({property:"twitter:card",content:"summary_large_image"}),this.metaService.updateTag({property:"twitter:title",content:"KenyaBuzz Lifestyle"}),this.metaService.updateTag({property:"twitter:description",content:"Discover hot movies & reviews, hangout spots, cool & trending articles"}),this.metaService.updateTag({property:"twitter:image",content:"https://static.kenyabuzz.com/assets/images/components/og-kb-lifestyle.png"})}allArticles=[];articlesExist=!1;snippets;latestArticlesLoaded=!1;randomLocation;locationLoaded=!1;randomGalleryItem;galleryItemLoaded=!1;moreArticles=[];moreArticlesLoaded=!1;currentPage=1;pages=[];fetchInProgress=!1;ngOnInit(){return O(this,null,function*(){yield Promise.all([this.getPages(this.currentPage),this.getLifestyleSnippets()])})}ngAfterViewInit(){this.pluginService.scrollToTop()}onTabChanged(t){let e=t;this.pluginService.initShare()}getArticles(t){return O(this,null,function*(){this.dataService.getAllArticles(t).subscribe(e=>{"data"in e&&Array.isArray(e.data)&&(this.allArticles=[],e.data.forEach(o=>{let l={category_name:o.category_name,posts:[]};o.posts.forEach(s=>
2{let E={title:s.post_title,description:s.post_content.replace(/<[^>]*>?/gm,""),slug:s.post_slug,poster:s.post_thumbnail,date:this.dataService.readableDate(s.post_date),socials:{whatsapp:this.pluginService.openWhatsapp("Hi, check this out > *"+s.post_title+"* | https://kenyabuzz.com/lifestyle/"+s.post_slug),facebook:`https://facebook.com/sharer/sharer.php?u=https://kenyabuzz.com/lifestyle/${s.post_slug}`,twitter:`https://twitter.com/intent/tweet/?text=${s.post_title}&amp;url=https://kenyabuzz.com/lifestyle/${s.post_slug}`}};l.posts.push(E)}),this.allArticles.push(l)}),this.articlesExist=this.allArticles.length>0)})})}getLifestyleSnippets(){return O(this,null,function*(){this.apiService.get_v3(this.apiService.getEndpoints().lifestyle.snippets).subscribe({next:t=>{"data"in t&&(Array.isArray(t.data.latest_articles)&&t.data.latest_articles.forEach(e=>{e.post_content=e.post_content?e.post_content.replace(/<[^>]*>?/gm,""):null,e.post_date=this.dataService.readableDate(e.post_date)}),this.snippets=t.data,this.latestArticlesLoaded=!!Array.isArray(t.data.latest_articles),Array.isArray(t.data.locations)&&t.data.locations.forEach(e=>{e.pic=e.pic?"https://static.kenyabuzz.com/"+e.pic:null}),this.randomLocation=Array.isArray(t.data.locations)?t.data.locations[Math.floor(Math.random()*t.data.locations.length)]:null,this.locationLoaded=!!Array.isArray(t.data.locations),Array.isArray(t.data.random_gallery_items)&&t.data.random_gallery_items.forEach(e=>{e.display_image=e.display_image?"https://static.kenyabuzz.com/lifestyle/wp-content/uploads/"+e.dis
2play_image:null}),this.randomGalleryItem=Array.isArray(t.data.random_gallery_items)?t.data.random_gallery_items[Math.floor(Math.random()*t.data.random_gallery_items.length)]:null,this.galleryItemLoaded=!!Array.isArray(t.data.random_gallery_items))},error:t=>{console.log("Snippets Err >",t)}})})}getLatestArticles(t){return O(this,null,function*(){let e=`${this.apiService.getEndpoints().lifestyle.latest_articles}${t}`;this.apiService.get_v3(e).subscribe(o=>{"data"in o&&Array.isArray(o.data)&&(this.moreArticles=[],o.data.forEach(l=>{let s={title:l.post_title,description:l.post_content,slug:l.slug,poster:l.thumbnail,date:this.dataService.readableDate(l.post_date),socials:{whatsapp:this.pluginService.openWhatsapp("Hi, check this out > *"+l.post_title+"* | https://kenyabuzz.com/lifestyle/"+l.slug),facebook:`https://facebook.com/sharer/sharer.php?u=https://kenyabuzz.com/lifestyle/${l.slug}`,twitter:`https://twitter.com/intent/tweet/?text='${l.post_title}&amp;url=https://kenyabuzz.com/lifestyle/${l.slug}`}};this.moreArticles.push(s)}),this.moreArticlesLoaded=!!this.moreArticles.length,setTimeout(()=>{this.pluginService.initShare()},5e3))})})}getPages(t){return O(this,null,function*(){this.pages=this.dataService.generatePagination(t),this.currentPage=t,this.fetchInProgress=!0,yield Promise.all([this.getArticles(this.currentPage),this.getLatestArticles(this.currentPage)])})}handleMissingImage(){return this.dataService.placeholdMissingImg()}trackUserEvent(t,e,o){this.trackingService.trackEvent(t,e,o)}static \u0275fac=function(e){return new(e||i)(x(ce),x(se),x(Ie),x(St),x(X),x(q))};static \u0275cmp=K({type:i,selectors:[["app-lifestyle"]],decls:45,vars:11,consts:[["lifestylePages",""],[1,"tabs-section","lifestyle-page"],[1,"prime-tabs-migrated"],[3,"value"],[1,"c-skeleton__figure",2,"height","60vh"],[1,"hero-section",3,"style"],[1,"AD-space"],[1,"AD-content","fw-AD","featured-DT"],["data-publisher","eyJpdiI6IjVzdWhMTklJblJ5TnNjd0l6YmROQVE9PSIsInZhbHVlIjoidWN6UXA4aTFTVTdyRldzczMwUHFTUT09IiwibWFjIjoiMGMxOGNhNWJmOTAxZWI4YzQ1ZDk5ZmZmMzZiZWYwYWVjYmYzNjQ3MzQ4YzJiMDRlMjA0MDdhODk1MDVlMDU5YiJ9","data-adsize","728x90",1,"MainAdverTiseMentDiv"],[1,"AD-content","mobile-AD","featured-m"],[1,"moreLatestArticles"],[1,"trendingArticles","py-4"],[1,"container-fluid"],[1,"row"],[1,"col-12","col-md-5"],[1,"title"],[1,"line"],[1,"col-12","col-md-7"],[1,"title","title-space"],["routerLink","/lifestyle",1,"see-all-lifestyle",3,"click"],["name","east"],[1,"col-12","col-md-8"],[1,"buzzing-trends"],[1,"col-12","col-md-4"],[1,"col2-AD"],["data-publisher","eyJpdiI6IkIxZHluU1RvZzZLWmZwUkRUODNJT3c9PSIsInZhbHVlIjoib2t1dDZWZGQxSHVnK2tTaWtkQ0U5dz09IiwibWFjIjoiNjUzZjdjMmYwYTY4YjE1ODUzNmY4MDk2MjFjZjA3NmQ4NzdmYmE1NzAxYjEyZjQ0NTRjOTFmOTc3NDU4NWE5MyJ9","data-adsize","300x250",1,"MainAdverTiseMentDiv"],[1,"row","mx-auto"],[1,"col-12","mx-auto"],[1,"paginator-wrapper","mx-auto","py-4"],[1,"paginator"],[1,"persist-light",3,"click","ngStyle"],[1,"persist-light"],[3,"ngClass"],[1,"persist-light",3,"click"],[3,"click","ngClass"],[1,"hero-section"],[1,"wrapper",2,"background-color","transparent !important"],[1,"hero-date",2,"color","var(--white-color)"],[1,"hero-title",2,"color","var(--white-color)"],[1,"hero-article-summary",2,"color","var(--white-color)",3,"innerHTML"],[3,"click","routerLink"],[1,"kb-btn-primary"],[4,"ngTemplateOutlet"],[1,"all-cards-wrapper"],[1,"cards-single","old-dark-card-bg"],[1,"cards-single__top-section"],[1,"cards-single__title"],[1,"cards-single__location-meta"],[1,"venue"],["name","today"],[1,"mid-section"],[1,"cards-single__img-holder"],[1,"cards-single__event-poster",3,"src","alt"],["data-fancybox","true","title","View Poster",1,"cards-single__preview-img",3,"href"],["name","visibility"],[1,"bottom-section"],[1,"cards-single__description"],[1,"cards-single__engagement"],[1,"share-element"],[1,"share-buttons"],["name","share"],[1,"social-overlays"],["target","_blank","aria-label","",1,"fb-icon",3,"click","href"],["target","_blank","aria-label","",1,"twitter-icon",3,"click","href"],["target","_blank",1,"whatsapp-icon",3,"click","href"],["name","whatsapp"],[1,"fill-btn","buy-tickets",3,"click","routerLink"],[1,"column1__IMG"],[1,"article-pic",3,"click","routerLink"],["width","636","height","420",3,"src","alt"],[1,"col1-context"],[1,"heading-title"],[1,"btn-primary","green",3,"routerLink"],[1,"trendsArticle"],["class","trendsArticle",4,"ngIf"],[1,"trendsArticle-img"],[3,"src","alt"],[1,"featured-title"],[1,"Colon-intro"],[1,"title-description"],[1,"readArticle"],[1,"readLine-deco"],[3,"routerLink"],[1,"custom-pager"],[1,"content-fluid"],[1,"album-card"],[1,"album-cover"],[1,"album-info"],[1,"event-date"],[1,"event-title","mobileRes"],[1,"links-to-album"],[1,"view-album"],[1,"view-album__title",3,"click","routerLink","state"],["name","keyboard_double_arrow_right"]],template:function(e,o){e&1&&(z(0,ki,13,5,"ng-template",null,0,je),r(2,"div",1)(3,"div",2)(4,"p-tabs",3)(5,"p-tablist")(6,"p-tab",3),c(
27,"Featured"),n(),g(8,Pi,2,0),n(),r(9,"p-tabpanels")(10,"p-tabpanel",3),g(11,Ai,1,0,"div",4),g(12,Ti,10,8,"div",5),r(13,"section",6)(14,"div",7),p(15,"div",8),n(),p(16,"div",9),n(),g(17,Oi,1,1,"ng-container"),g(18,Vi,5,1,"section",10),r(19,"section",11)(20,"div",12)(21,"div",13)(22,"div",14)(23,"div",15)(24,"h3"),c(25,"Trending Topics"),n(),p(26,"div",16),n(),g(27,Di,12,17),n(),r(28,"div",17)(29,"div",18)(30,"h3"),c(31,"Editor's Picks"),n(),p(32,"div",16),r(33,"a",19),v("click",function(){return o.trackUserEvent("view_item","sub_header","View All Lifestyle Editor Picks")}),r(34,"p"),c(35,"See All"),n(),p(36,"kb-icon",20),n()(),r(37,"div",13)(38,"div",21)(39,"div",22),g(40,Ni,2,0),n()(),r(41,"div",23)(42,"div",24),p(43,"div",25),n()()()()()()()(),g(44,Zi,2,0),n()()()()),e&2&&(a(4),d("value",0),a(2),d("value",0),a(2),_(o.articlesExist?8:-1),a(2),d("value",0),a(),_(o.latestArticlesLoaded?-1:11),a(),_(o.latestArticlesLoaded?12:-1),a(5),_(o.moreArticles.length>0?17:-1),a(),_(o.moreArticlesLoaded?18:-1),a(9),_(o.latestArticlesLoaded?27:-1),a(13),_(o.latestArticlesLoaded?40:-1),a(4),_(o.articlesExist?44:-1))},dependencies:[J,Ne,ut,Re,Ue,te,ee,re,ae,me,pe,de,ie,ue,ge,_e,he,ne,fe,be,ve,ye,xe,Ce,oe,Me,ke,Se,Pe,Ae,Te,le,xt,kt,Mt,Ct,wt,Ee,Oe,we,$e],styles:['[_nghost-%COMP%]{--lifestyle-accent: var(--color-culture);--lifestyle-accent-strong: var(--color-culture-lt);--lifestyle-accent-soft: var(--color-culture-bg);
2--lifestyle-page: #f5f5f5;--lifestyle-surface: #ffffff;--lifestyle-surface-2: #f0f1f3;--lifestyle-surface-3: #e4e6e9;--lifestyle-text: #171717;--lifestyle-muted: #667085;--lifestyle-border: #dfe2e7;--lifestyle-shadow: 0 16px 40px rgba(16, 24, 40, .09);display:block;color:var(--lifestyle-text)}  .lifestyle-page .p-tablist{background:var(--p-tabs-tablist-background)}  .lifestyle-page .p-tablist .p-tab-active{background:var(--lifestyle-accent)!important;border-color:var(--lifestyle-accent)!important;color:#111!important}  .lifestyle-page .p-tabpanels{background:transparent!important}.AD-space[_ngcontent-%COMP%]{margin:3rem auto}.owl-stage[_ngcontent-%COMP%]{margin-top:2rem}.wrapper[_ngcontent-%COMP%]{padding:5rem 5% 5%;display:flex;flex-direction:column;justify-content:flex-start;margin-bottom:2rem}@media all and (min-width:768px){.wrapper[_ngcontent-%COMP%]{margin:5% auto;max-width:1400px}}  .hero-section{background-repeat:no-repeat;background-size:cover;background-color:var(--gray-meta-color);background-blend-mode:multiply;height:65vh;color:var(--white-color);display:flex;align-items:center;border-radius:0 0 1.25rem 1.25rem;box-shadow:1px 16px 26px -14px #00000040;-webkit-box-shadow:1px 16px 26px -14px rgba(0,0,0,.25);-moz-box-shadow:1px 16px 26px -14px rgba(0,0,0,.25)}  .hero-section .kb-btn-primary{background:var(--lifestyle-accent);border:0;border-radius:7px;color:#111;cursor:pointer;font:600 13px DM Sans,Arial,sans-serif;min-height:40px;padding:10px 22px}@media all and (min-width:768px){  .hero-section{background-position:top center}}.hero-meta[_ngcontent-%COMP%]{font-size:.75rem;letter-spacing:.05rem;text-transform:capitalize;font-weight:500;display:inline;color:var(--white-color);background:#ffffff26;padding:.09375rem .625rem;border-radius:2rem;transition:all .3s ease-in-out}.hero-date[_ngcontent-%COMP%]{font-size:.875rem;color:var(--light-gray-color);padding:0;margin:2rem 0 0}.hero-title[_ngcontent-%COMP%]{font-size:2rem;font-weight:700;line-height:1.1;margin:0 0 1.5rem;transition:all .3s ease-in-out}@media all and (min-width:768px){.hero-title[_ngcontent-%COMP%]{font-size:3rem}}.hero-article-summary[_ngcontent-%COMP%]{line-height:1.6;margin:0 0 2rem;max-width:46.5625rem;font-size:.9rem;transition:all .3s ease-in-out;background-color:#00000080;padding:.75rem;border-radius:.375rem}@media all and (min-width:768px){.hero-article-summary[_ngcontent-%COMP%]{font-size:1rem}}.hero-CTA[_ngcontent-%COMP%]{background-color:transparent;color:var(--white-color);transition:all .3s ease-in-out;font-size:.75rem;cursor:pointer;font-weight:700;width:8rem;padding:.75rem 1rem}a[_ngcontent-%COMP%] > .hero-CTA[_ngcontent-%COMP%]:hover{background-color:#fff3;border:1px solid rgba(255,255,255,.2);color:var(--white-color)}.owl-theme[_ngcontent-%COMP%]   .owl-controls[_ngcontent-%COMP%]   .owl-page[_ngcontent-%COMP%]{display:inline-block}.owl-theme[_ngcontent-%COMP%]   .owl-controls[_ngcontent-%COMP%]   .owl-page[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{background:none repeat scroll 0 0 #869791;border-radius:20px;display:block;height:12px;margin:5px 7px;opacity:.5;width:12px}.featured-DT[_ngcontent-%COMP%]{background:url("./media/ad-banner-ESOEQD7K.jpg");background-repeat:no-repeat;background-size:contain;background-position:center;overflow:hidden}.featured-m[_ngcontent-%COMP%]{background:url("./media/get-noticed-square-green-OKQUCINH.gif");background-repeat:no-repeat;background-size:contain;background-position:center;overflow:hidden}.fill-btn[_ngcontent-%COMP%]{color:#111;background-color:var(--lifestyle-accent);font-weight:700}.view-album__title[_ngcontent-%COMP%]{color:var(--color-culture-text)}.share-buttons[_ngcontent-%COMP%]{color:var(--color-culture-text);background:var(--lifestyle-light)}.share-buttons[_ngcontent-%COMP%]:hover{color:#111;background:var(--lifestyle)}.paginator-wrapper[_ngcontent-%COMP%]{width:fit-content}.paginator[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:first-of-type, .paginator[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:last-of-type, .paginator[_ngcontent-%COMP%]   .is-active[_ngcontent-%COMP%]{background-color:var(--lifestyle);color:#fff;font-weight:700}.paginator[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:var(--main-color);color:#fff}.custom-pager[_ngcontent-%COMP%]{margin-top:3rem;margin-bottom:-3rem}']})};var Ze=class i{constructor(t){this.document=t}transformYoutubeLinksToEmbeds(t){if(!t?.trim())return t;let e=this.document.createElement("div");e.innerHTML=t;let o=k=>{let y=this.document.createElement("div");y.className="youtube-embed";let w=this.document.createElement("iframe");return w.src=`https://www.youtube.com/embed/${k}`,w.title="YouTube video player",w.loading="lazy",w.allowFullscreen=!0,w.setAttribute("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"),w.setAttribute("frameborder","0"),y.appendChild(w),y},l=k=>{if(!k)return null;let y=k.split(/[?&#]/)[0].trim();return/^[a-zA-Z0-9_-]{11}$/.test(y)?y:null},s=k=>{try{let y=new URL(k.trim()),w=y.hostname.replace(/^www\./,"").toLowerCase();
2if(w==="youtu.be"){let T=y.pathname.split("/").filter(Boolean)[0]||null;return l(T)}if(w==="youtube.com"||w==="m.youtube.com"||w==="youtube-nocookie.com"){if(y.pathname==="/watch")return l(y.searchParams.get("v"));let T=y.pathname.split("/").filter(Boolean),Q=T[0],U=T[1]||null;if(Q==="embed"||Q==="shorts"||Q==="live")return l(U)}return null}catch(y){return null}};e.querySelectorAll("a[href]").forEach(k=>{let y=k.getAttribute("href");if(!y)return;let w=s(y);w&&k.replaceWith(o(w))});let E=/https?:\/\/(?:www\.)?(?:youtube\.com\/[^\s<"]+|youtu\.be\/[^\s<"]+)/gi,D=[],W=k=>{Array.from(k.childNodes).forEach(y=>{if(y.nodeType!==3){W(y);return}let w=y,T=w.parentElement?.tagName;!T||["A","IFRAME","SCRIPT","STYLE"].includes(T)||(E.test(w.nodeValue||"")&&D.push(w),E.lastIndex=0)})};return W(e),D.forEach(k=>{let y=k.nodeValue||"",w=this.document.createDocumentFragment(),T=0,Q=!1,U;for(E.lastIndex=0;(U=E.exec(y))!==null;){let Ke=U[0],Je=s(Ke);Je&&(Q=!0,U.index>T&&w.appendChild(this.document.createTextNode(y.slice(T,U.index))),w.appendChild(o(Je)),T=U.index+Ke.length)}Q&&(T<y.length&&w.appendChild(this.document.createTextNode(y.slice(T))),k.parentNode?.replaceChild(w,k))}),e.innerHTML}static \u0275fac=function(e){return new(e||i)(nt(De))};static \u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"})};var Qi=["articleContent"],Qe=i=>["/lifestyle",i],Ge=(i,t)=>t.slug||i;function Gi(i,t){i&1&&(r(0,"section",4),p(1,"div",6),r(2,"div",7)(3,"div"),p(4,"span",8)(5,"span",9)(6,"span",10)(7,"span",10)(8,"span",11),n(),p(9,"div",12),n(),r(10,"span",13),c(11,"Loading article\u2026"),n()())}function Ki(i,t){i&1&&(r(0,"span",43),c(1," Please log in first to save this article. "),n())}function Ji(i,t){if(i&1&&(r(0,"span"),c(1),n()),i&2){let e=t.$implicit;a(),u(e)}}function qi(i,t){if(i&1&&(r(0,"div",45)(1,"strong"),c(2,"Tags:"),n(),S(3,Ji,2,1,"span",null,j),n()),i&2){let e=m(2);a(3),P(e.article.tags)}}function Xi(i,t){if(i&1){let e=A();r(0,"a",65)(1,"img",60),v("error",function(l){h(e);let s=m(4);return f(s.onImageError(l))}),n(),r(2,"div")(3,"span"),c(4,"Culture"),n(),r(5,"h3"),c(6),n(),r(7,"small"),c(8),n()()()}if(i&2){let e=m().$implicit;d("routerLink",C(5,Qe,e.slug)),a(),d("src",e.thumbnail,b)("alt",e.post_title),a(5),u(e.post_title),a(2),u(e.post_date)}}function en(i,t){if(i&1&&g(0,Xi,9,7,"a",65),i&2){let e=t.$index;_(e<4?0:-1)}}function tn(i,t){if(i&1&&(r(0,"section",49)(1,"div",62)(2,"span"),c(3,"Keep reading"),n(),r(4,"h2",63),c(5,"More from Culture"),n()(),r(6,"div",64),S(7,en,1,1,null,null,Ge),n()()),i&2){let e=m(2);a(7),P(e.randomArticles)}}function nn(i,t){i&1&&c(0," Subscribing\u2026 ")}function rn(i,t){i&1&&c(0," You're subscribed ")}function an(i,t){i&1&&c(0," Subscribe \u2014 It's Free ")}function on(i,t){i&1&&(r(0,"small",56),c(1,"Enter a valid email address."),n())}function ln(i,t){i&1&&(r(0,"small",57),c(1,"Welcome to the loop."),n())}function cn(i,t){i&1&&(r(0,"small",56),c(1,"We couldn't subscribe you. Please try again."),n())}function sn(i,t){i&1&&(r(0,"small"),c(1,"No spam. Unsubscribe anytime."),n())}function dn(i,t){if(i&1){let e=A();r(0,"a",68)(1,"span",69),c(2),n(),r(3,"img",60),v("error",function(l){h(e);let s=m(4);return f(s.onImageError(l))}),n(),r(4,"span",70)(5,"small"),c(6,"Culture"),n(),r(7,"strong"),c(8),n(),r(9,"span"),c(10),n()()()}if(i&2){let e=m(),o=e.$implicit,l=e.$index;d("routerLink",C(6,Qe,o.slug)),a(2),u(l+1),a(),d("src",o.thumbnail,b)("alt",o.post_title),a(5),u(o.post_title),a(2),u(o.post_date)}}function mn(i,t){if(i&1&&g(0,dn,11,8,"a",68),i&2){let e=t.$index;_(e<4?0:-1)}}function pn(i,t){if(i&1&&(r(0,"section",58)(1,"div",66)(2,"h2",67),c(3,"Trending in Culture"),n()(),S(4,mn,1,1,null,null,Ge),n()),i&2){let e=m(2);a(4),P(e.popularArticles)}}function un(i,t){if(i&1){let e=A();r(0,"a",68)(1,"span",69),c(2),n(),r(3,"img",60),v("error",function(l){h(e);let s=m(4);return f(s.onImageError(l))}),n(),r(4,"span",70)(5,"small"),c(6,"Culture"),n(),r(7,"strong"),c(8),n(),r(9,"span"),c(10),n()()()}if(i&2){let e=m(),o=e.$implicit,l=e.$index;d("routerLink",C(6,Qe,o.slug)),a(2),u(l+1),a(),d("src",o.thumbnail,b)("alt",o.post_title),a(5),u(o.post_title),a(2),u(o.post_date)}}function gn(i,t){if(i&1&&g(0,un,11,8,"a",68),i&2){let e=t.$index;_(e<4?0:-1)}}function _n(i,t){if(i&1&&(r(0,"section",61)(1,"div",66)(2,"h2",71),c(3,"Latest Articles"),n()(),S(4,gn,1,1,null,null,Ge),n()),i&2){let e=m(2);a(4),P(e.latestArticles)}}function hn(i,t){if(i&1){let e=A();r(0,"nav",14)(1,"a",15),c(2,"Home"),n(),r(3,"span",16),c(4,"/"),n(),r(5,"a",17),c(6,"Culture"),n(),r(7,"span",16),c(8,"/"),n(),r(9,"span"),c(10),n()(),r(11,"header",18)(12,"img",19),$("poster-fade-out"),R("poster-fade-in"),v("error",function(l){h(e);let s=m();return f(s.onImageError(l))}),n(),p(13,"div",20),r(14,"div",21)(15,"span",22),c(16),n(),r(17,"h1"),c(18),n(),r(19,"p",23),c(20),n(),r(21,"div",24)(22,"span",25),c(23),n(),r(24,"span",26)(25,"strong"),c(26),n(),r(27,"small"),c(28,"KenyaBuzz Culture"),n()(),p(29,"span",27),r(30,"span"),c(31),n(),p(32,"span",27),r(33,"span",28),p(34,"kb-icon",29),c(35),n()()()(),r(36,"div",30)(37,"main",31)(38,"div",32)(39,"div",33)(40,"a",34),p(41,"i",35),n(),r(42,"a",36),p(43,"i",37),n(),r(44,"a",38),p(45,"i",39),n(),r(46,"span",40)(47,"button",41),v("click",function(){h(e);let l=m();
2return f(l.saveBookmark())}),p(48,"i",42),n(),g(49,Ki,2,0,"span",43),n()()(),p(50,"article",44,0),g(52,qi,5,0,"div",45),r(53,"section",46)(54,"span",47),c(55),n(),r(56,"div")(57,"small"),c(58,"About the author"),n(),r(59,"h2",48),c(60),n(),r(61,"p"),c(62),n()()(),g(63,tn,9,0,"section",49),n(),r(64,"aside",50)(65,"form",51),v("submit",function(l){h(e);let s=m();return f(s.subscribeArticleNewsletter(l))}),p(66,"kb-icon",52),r(67,"h2"),c(68,"Stay in the Loop"),n(),r(69,"p"),c(70,"Get Kenya's best culture, music and lifestyle stories delivered to your inbox."),n(),r(71,"label",53),c(72,"Email address"),n(),r(73,"input",54),pt("ngModelChange",function(l){h(e);let s=m();return mt(s.newsletterEmail,l)||(s.newsletterEmail=l),f(l)}),n(),r(74,"button",55),g(75,nn,1,0)(76,rn,1,0)(77,an,1,0),n(),g(78,on,2,0,"small",56)(79,ln,2,0,"small",57)(80,cn,2,0,"small",56)(81,sn,2,0,"small"),n(),g(82,pn,6,0,"section",58),r(83,"a",59)(84,"span"),c(85,"Advertisement"),n(),r(86,"img",60),v("error",function(l){h(e);let s=m();return f(s.onImageError(l))}),n()(),g(87,_n,6,0,"section",61),n()()}if(i&2){let e=m();a(10),u(e.article.category),a(2),d("src",e.article.thumbnail,b)("alt",e.article.title),a(4),u(e.article.category),a(2),u(e.article.title),a(2),u(e.article.excerpt),a(3),M(" ",e.authorInitials(e.article.author.author_name)," "),a(3),u(e.article.author.author_name),a(5),u(e.article.post_date),a(4),M(" ",e.article.readingMinutes," min read "),a(5),d("href",e.article.socials.twitter,b),a(2),d("href",e.article.socials.facebook,b),a(2),d("href",e.article.socials.whatsapp,b),a(3),I("aria-describedby",e.bookmarkTooltipVisible?"bookmark-login-tooltip":null),a(2),_(e.bookmarkTooltipVisible?49:-1),a(),d("innerHTML",e.article.post_content,G),a(2),_(e.article.tags.length?52:-1),a(3),M(" ",e.authorInitials(e.article.author.author_name)," "),a(5),u(e.article.author.author_name),a(2),u(e.article.author.author_description||"A contributor to KenyaBuzz culture and lifestyle."),a(),_(e.randomArticlesLoaded?63:-1),a(10),dt("ngModel",e.newsletterEmail),d("disabled",e.newsletterStatus==="submitting"||e.newsletterStatus==="success"),a(),d("disabled",e.newsletterStatus==="submitting"||e.newsletterStatus==="success"),a(),_(e.newsletterStatus==="submitting"?75:e.newsletterStatus==="success"?76:77),a(3),_(e.newsletterStatus==="invalid"?78:e.newsletterStatus==="success"?79:e.newsletterStatus==="error"?80:81),a(4),_(e.popularArticlesLoaded?82:-1),a(),d("href",e.watamuAd.href,b),I("aria-label",e.watamuAd.label),a(3),d("src",e.watamuAd.image,b)("alt",e.watamuAd.label),a(),_(e.latestArticlesLoaded?87:-1)}}function fn(i,t){i&1&&(r(0,"section",5),p(1,"kb-icon",72),r(2,"p",22),c(3,"Culture"),n(),r(4,"h1"),c(5,"We couldn't find that article"),n(),r(6,"p"),c(7,"It may have moved, been unpublished, or the address may be incorrect."),n(),r(8,"a",17),c(9,"Explore Culture"),n()())}var Le=class i{constructor(t,e,o,l,s,E,D,W,k,y,w){this.sanitizer=t;this.pluginService=e;this.dataService=o;this.apiService=l;this.lifestyleService=s;this.newsletterService=E;this.authService=D;this.titleService=W;this.metaService=k;this.activatedRoute=y;this.document=w;this.destroyRef.onDestroy(()=>{this.articleImageErrorCleanup?.(),this.bookmarkTooltipTimer&&clearTimeout(this.bookmarkTooltipTimer)})}destroyRef=rt(at);articleContentElement;articleImageErrorCleanup;bookmarkTooltipTimer;slug=null;article=null;articleLoaded=!1;latestArticles=[];latestArticlesLoaded=!1;popularArticles=[];popularArticlesLoaded=!1;randomArticles=[];randomArticlesLoaded=!1;readingProgress=0;bookmarkTooltipVisible=!1;newsletterEmail="";newsletterStatus="idle";watamuAd={image:"https://kenyabuzz.com/assets/images/watamu_banner.jpg",href:"https://www.discoverwatamu.com/?utm_source=Kenyabuzz",label:"Beach House Rentals Watamu"};set articleContent(t){if(this.articleImageErrorCleanup?.(),this.articleContentElement=t?.nativeElement,!this.articleContentElement)return;let e=o=>{let l=o.target;if(!(l instanceof HTMLImageElement))return;let s=this.handleMissingImage();l.src.endsWith(s)||(l.src=s)};this.articleContentElement.addEventListener("error",e,!0),this.articleImageErrorCleanup=()=>this.articleContentElement?.removeEventListener("error",e,!0),queueMicrotask(()=>this.updateReadingProgress())}ngOnInit(){this.updateNavBar(),this.activatedRoute.paramMap.pipe(Z(this.destroyRef)).subscribe(t=>{let e=t.get("slug");this.slug=e,e&&this.getArticle(e)}),this.getLifestyleSnippets(),this.getRandomArticles(),this.dataService.isBrowser()&&et(Ve(window,"scroll",{passive:!0}),Ve(this.document,"scroll",{capture:!0,passive:!0}),Ve(window,"resize")).pipe(tt(16),Z(this.destroyRef)).subscribe(()=>this.updateReadingProgress())}updateNavBar(){this.pluginService.scrollToTop()}_addTargetBlank(t){let e=this.document.createElement("div");return e?(e.innerHTML=t,e.querySelectorAll("a").forEach(o=>{o.target="_blank",o.rel="noopener noreferrer",o.classList.add("paragraph-link")}),e.querySelectorAll("img").forEach(o=>{o.loading="lazy",o.decoding="async"}),e.innerHTML):t}_bypassSanitizer(t){let e=this.lifestyleService.transformYoutubeLinksToEmbeds(t),o=this._addTargetBlank(e);return this.sanitizer.bypassSecurityTrustHtml(o)}
2getArticle(t){this.updateNavBar(),this.articleLoaded=!1,this.article=null,this.readingProgress=0,this.dataService.getArticle(t).pipe(Z(this.destroyRef)).subscribe({next:e=>{if(e?.response!=="success"||!e.data){this.articleLoaded=!0;return}let o=String(e.data.post_content??""),l=this.stripHtml(o),s=this.extractCategory(e.data),E=this.extractTags(e.data,s),D=`https://kenyabuzz.com/lifestyle/${e.data.post_slug}`,W=this.extractArticleId(e.data);this.article={author:{author_name:e.data.author_name||"KenyaBuzz",author_description:e.data.author_description||null},title:e.data.post_title,post_content:this._bypassSanitizer(o),slug:e.data.post_slug,thumbnail:e.data.post_thumbnail||this.handleMissingImage(),socials:{facebook:`https://facebook.com/sharer/sharer.php?u=${encodeURIComponent(D)}`,twitter:`https://twitter.com/intent/tweet/?text=${encodeURIComponent(`${e.data.post_title} ${D}`)}`,whatsapp:this.pluginService.openWhatsapp(`Check this out > *${e.data.post_title}* | ${D}`)},post_date:this.dataService.readableDate(e.data.post_date),excerpt:this.createExcerpt(l),category:s,tags:E,readingMinutes:Math.max(1,Math.ceil(l.split(/\s+/).filter(Boolean).length/220))},this.updateMetadata(this.article),this.articleLoaded=!0,W&&this.dataService.trackUserViews("LIFESTYLE",W),queueMicrotask(()=>this.updateReadingProgress())},error:()=>{this.articleLoaded=!0,this.article=null}})}getLifestyleSnippets(){this.apiService.get_v3(this.apiService.getEndpoints().lifestyle.snippets).pipe(Z(this.destroyRef)).subscribe({next:t=>{t?.data&&(this.latestArticles=this.normaliseArticleList(t.data.latest_articles),this.popularArticles=this.normaliseArticleList(t.data.popular_articles),this.latestArticlesLoaded=this.latestArticles.length>0,this.popularArticlesLoaded=this.popularArticles.length>0)},error:()=>{this.latestArticlesLoaded=!1,this.popularArticlesLoaded=!1}})}getRandomArticles(){this.apiService.get(this.apiService.getEndpoints().lifestyle.random_articles).pipe(Z(this.destroyRef)).subscribe({next:t=>{this.randomArticles=this.normaliseArticleList(t?.data),this.randomArticlesLoaded=this.randomArticles.length>0},error:()=>{this.randomArticlesLoaded=!1}})}authorInitials(t){let e=t.trim().split(/\s+/).filter(Boolean);return`${e[0]?.[0]??"K"}${e.length>1?e[e.length-1][0]:"B"}`.toUpperCase()}saveBookmark(){this.authService.isLoggedIn||this.authService.user.email||(this.bookmarkTooltipVisible=!0,this.bookmarkTooltipTimer&&clearTimeout(this.bookmarkTooltipTimer),this.bookmarkTooltipTimer=setTimeout(()=>{this.bookmarkTooltipVisible=!1},3500))}subscribeArticleNewsletter(t){t.preventDefault();let e=this.newsletterEmail.trim();if(!this.dataService.validateEmailClient(e)){this.newsletterStatus="invalid";return}this.newsletterStatus="submitting",this.newsletterService.subscribeUser({events:!0,kids:!0,movies:!0,email:e,full_name:null}).pipe(Z(this.destroyRef)).subscribe({next:()=>this.newsletterStatus="success",error:()=>this.newsletterStatus="error"})}onImageError(t){let e=t.target;e instanceof HTMLImageElement&&(e.src=this.handleMissingImage())}handleMissingImage(){return this.dataService.placeholdMissingImg()}replaceImg(){return this.dataService.placeholdImg()}routeToSibling(t){this.dataService.routeToSibling(t,"lifestyle")}extractArticleId(t){let e=Number(t?.post_id??t?.ID??t?.id??t?.lifestyle_id);return Number.isFinite(e)&&e>0?e:null}stripHtml(t){let e=this.document.createElement("div");return e.innerHTML=t,(e.textContent||"").replace(/\s+/g," ").trim()}createExcerpt(t){return t?`${t.slice(0,200).trimEnd()}\u2026`:""}extractCategory(t){let e=[t?.lifestyle_categoryies,t?.categories];for(let o of e)if(Array.isArray(o)&&o.length)return o[0]?.category_name||o[0]?.name||"Culture";return t?.category_name||t?.category||"Culture"}extractTags(t,e){let o=[e];return[t?.lifestyle_categoryies,t?.categories,t?.tags,t?.post_tags].forEach(s=>{Array.isArray(s)?o.push(...s):typeof s=="string"&&o.push(...s.split(","))}),Array.from(new Set(o.map(s=>typeof s=="string"?s.trim():String(s?.category_name||s?.name||s?.title||"").trim()).filter(Boolean))).slice(0,8)}normaliseArticleList(t){return Array.isArray(t)?t.map(e=>Xe(qe({},e),{post_content:this.stripHtml(String(e?.post_content??"")),post_date:e?.post_date?this.dataService.readableDate(e.post_date):"",thumbnail:e?.thumbnail||e?.post_thumbnail||this.replaceImg(),slug:e?.slug||e?.post_slug})):[]}updateMetadata(t){let e=t.title.replace(/[^a-zA-Z0-9 ]/g,"").split(" ").join(", "),o=t.excerpt||`Article by ${t.author.author_name}`,l=`https://kenyabuzz.com/lifestyle/${t.slug}`;this.titleService.setTitle(t.title),this.metaService.updateTag({property:"keywords",content:`${e}, ${t.author.author_name}, kenyabuzz, lifestyle, article`}),this.metaService.updateTag({property:"description",content:o}),this.metaService.updateTag({property:"og:url",content:l}),this.metaService.updateTag({property:"og:title",content:t.title}),this.metaService.updateTag({property:"og:description",content:o}),this.metaService.updateTag({property:"og:image",content:t.thumbnail}),this.metaService.updateTag({property:"twitter:card",content:"summary_large_image"}),this.metaService.updateTag({property:"twitter:title",content:t.title}),this.metaService.updateTag({property:"twitter:description",content:o}),this.metaService.updateTag({property:"twitter:image",content:t.thumbnail})}updateReadingProgress(){if(!this.dataService.isBrowser()||!this.articleContentElement){this.readingProgress=0;return}let t=this.articleContentElement.getBoundingClientRect(),e=t.height,o=window.innerHeight-t.top;this.readingProgress=Math.min(100,Math.max(0,o/e*100))}static \u0275fac=function(e){return new(e||i)(x(gt),x(Ie),x(se),x(ce),x(Ze),x(At),x(Pt),x(X),x(q),x(Be),x(De))};static \u0275cmp=K({type:i,selectors:[["app-view-article"]],viewQuery:function(e,o){if(e&1&&ot(Qi,5),e&2){let l;
vendor: 7,288 bytes, line 2
2lt(l=ct())&&(o.articleContent=l.first)}},decls:6,vars:3,consts:[["articleContent",""],[1,"article-page"],["aria-hidden","true",1,"read-progress"],[1,"progress-fill"],["aria-live","polite","aria-label","Loading article",1,"article-loading"],["role","status",1,"article-not-found"],[1,"loading-hero","shimmer"],[1,"loading-layout"],[1,"loading-line","loading-line-short","shimmer"],[1,"loading-line","loading-line-title","shimmer"],[1,"loading-line","shimmer"],[1,"loading-line","loading-line-medium","shimmer"],[1,"loading-sidebar","shimmer"],[1,"visually-hidden"],["aria-label","Breadcrumb",1,"article-breadcrumb"],["routerLink","/"],["aria-hidden","true"],["routerLink","/lifestyle"],[1,"article-hero"],[1,"article-hero-image",3,"error","src","alt"],[1,"article-hero-overlay"],[1,"article-hero-content"],[1,"article-category"],[1,"article-deck"],[1,"article-byline"],["aria-hidden","true",1,"byline-avatar"],[1,"byline-author"],["aria-hidden","true",1,"byline-separator"],[1,"byline-read-time"],["aria-hidden","true","name","schedule"],[1,"article-layout"],[1,"article-main"],["aria-label","Share this article",1,"share-rail"],[1,"share-rail-inner"],["target","_blank","rel","noopener noreferrer","aria-label","Share on X or Twitter",1,"share-button","twitter",3,"href"],["aria-hidden","true",1,"pi","pi-twitter"],["target","_blank","rel","noopener noreferrer","aria-label","Share on Facebook",1,"share-button","facebook",3,"href"],["aria-hidden","true",1,"pi","pi-facebook"],["target","_blank","rel","noopener noreferrer","aria-label","Share on WhatsApp",1,"share-button","whatsapp",3,"href"],["aria-hidden","true",1,"pi","pi-whatsapp"],[1,"bookmark-action"],["type","button","aria-label","Bookmark article",1,"share-button","bookmark",3,"click"],["aria-hidden","true",1,"pi","pi-bookmark"],["id","bookmark-login-tooltip","role","tooltip",1,"bookmark-tooltip"],["id","article-content",1,"article-content",3,"innerHTML"],["aria-label","Article topics",1,"article-tags"],["aria-labelledby","author-heading",1,"author-card"],["aria-hidden","true",1,"author-avatar"],["id","author-heading"],["aria-labelledby","related-heading",1,"related-articles"],["aria-label","More from KenyaBuzz Culture",1,"article-sidebar"],[1,"newsletter-card",3,"submit"],["aria-hidden","true","name","mail",1,"newsletter-icon"],["for","article-newsletter-email"],["id","article-newsletter-email","type","email","name","article-newsletter-email","placeholder","[email protected]","autocomplete","email",3,"ngModelChange","ngModel","disabled"],["type","submit",3,"disabled"],[1,"newsletter-message","error"],[1,"newsletter-message","success"],["aria-labelledby","trending-heading",1,"sidebar-list"],["target","_blank","rel","noopener noreferrer",1,"sidebar-ad","watamu-ad",3,"href"],["loading","lazy",3,"error","src","alt"],["aria-labelledby","latest-heading",1,"sidebar-list"],[1,"section-heading"],["id","related-heading"],[1,"related-grid"],[1,"related-card",3,"routerLink"],[1,"sidebar-list-heading"],["id","trending-heading"],[1,"sidebar-article",3,"routerLink"],[1,"sidebar-rank"],[1,"sidebar-article-copy"],["id","latest-heading"],["aria-hidden","true","name","heart_broken"]],template:function(e,o){e&1&&(r(0,"div",1)(1,"div",2),p(2,"div",3),n(),g(3,Gi,12,0,"section",4)(4,hn,88,32)(5,fn,10,0,"section",5),n()),e&2&&(a(2),st("width",o.readingProgress,"%"),a(),_(o.articleLoaded?o.article?4:5:3))},dependencies:[J,te,ee,re,yt,_t,ht,ft,vt,bt,ae,me,pe,de,ie,ue,ge,_e,he,ne,fe,be,ve,ye,xe,Ce,oe,Me,ke,Se,Pe,Ae,Te,le,Ee,Oe,we],styles:['[_nghost-%COMP%]{--article-page: #f6f3ee;--article-surface: #ffffff;--article-surface-2: #fbf8f3;--article-surface-3: #f1ece4;--article-text: #181613;--article-muted: #5c5a55;--article-muted-2: #8a867f;--article-border: rgba(20, 18, 16, .1);--article-border-2: rgba(20, 18, 16, .16);--article-hero-text: #ffffff;--article-accent: var(--color-culture);--article-shadow: 0 22px 44px -26px rgba(60, 45, 30, .32);--article-serif: Georgia, "Times New Roman", serif;--article-display: "Bebas Neue", Impact, sans-serif;--article-read: 1.85;display:block}.kb-dark-theme[_nghost-%COMP%], .kb-dark-theme   [_nghost-%COMP%]{--article-page: #0a0a0b;--article-surface: #161719;--article-surface-2: #1e1f22;--article-surface-3: #26272b;--article-text: #f4f4f5;--article-muted: #9096a0;--article-muted-2: #6a7079;--article-border: rgba(255, 255, 255, .075);--article-border-2: rgba(255, 255, 255, .14);--article-shadow: 0 24px 60px -22px rgba(0, 0, 0, .7)}.article-page[_ngcontent-%COMP%]{min-height:70vh;color:var(--article-text);background:var(--article-page)}.read-progress[_ngcontent-%COMP%]{position:fixed;z-index:1100;top:0;right:0;left:0;height:3px;background:#0000001f;pointer-events:none}.progress-fill[_ngcontent-%COMP%]{height:100%;background:var(--article-accent);transition:width .1s linear}.article-breadcrumb[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.55rem;padding:.85rem max(1.25rem,(100vw - 1180px) / 2);border-bottom:1px solid var(--article-border);color:var(--article-muted);background:var(--article-surface);font-size:.78rem}.article-breadcrumb[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--article-muted);text-decoration:none}.article-breadcrumb[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:var(--color-culture-text)}.article-breadcrumb[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-child{max-width:40vw;overflow:hidden;color:var(--article-text);text-overflow:ellipsis;white-space:nowrap}.article-hero[_ngcontent-%COMP%]{display:flex;width:min(1160px,100%);min-height:auto;align-items:stretch;flex-direction:column;justify-content:flex-start;margin:0 auto;overflow:visible;padding:clamp(1.75rem,4vw,3.2rem) clamp(1.1rem,4vw,2.5rem) 0;background:transparent}.article-hero-image[_ngcontent-%COMP%]{position:relative;z-index:1;order:2;width:min(100%,1080px);height:clamp(300px,52vh,560px);margin:1.6rem auto 0;border:1px solid var(--article-border);border-radius:16px;background:#000;box-shadow:var(--article-shadow);object-fit:contain;object-position:center}.article-hero-overlay[_ngcontent-%COMP%]{display:none}@keyframes _ngcontent-%COMP%_hero-drift{0%{transform:scale(1)}to{transform:scale(1.035) translate(-.4%)}}.article-hero-content[_ngcontent-%COMP%]{order:1;width:min(780px,100%);margin:0 auto;padding:0;color:var(--article-text);text-align:left}.article-hero-content[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin:1rem 0 .9rem;color:var(--article-text);font-family:var(--article-serif);font-size:clamp(1.9rem,5vw,3.2rem);font-weight:800;line-height:1.08;text-wrap:balance}.article-category[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;width:fit-content;padding:0;color:var(--color-culture-text);background:transparent;font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.article-category[_ngcontent-%COMP%]:before{content:"";width:1.4rem;height:2px;border-radius:2px;background:currentColor}.article-deck[_ngcontent-%COMP%]{max-width:64ch;margin:0 0 1.45rem;color:var(--article-muted);font-family:var(--article-serif);font-size:clamp(1.06rem,2vw,1.28rem);font-style:italic;line-height:1.55}.article-byline[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:.75rem;padding-bottom:1.4rem;color:var(--article-muted-2);font-size:.78rem;flex-wrap:wrap}
2.byline-avatar[_ngcontent-%COMP%], .author-avatar[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#050505;background:linear-gradient(135deg,var(--article-accent),#dbeafe);font-weight:900}.byline-avatar[_ngcontent-%COMP%]{width:2.4rem;height:2.4rem;font-size:.78rem}.byline-author[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-direction:column}.byline-author[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:var(--article-text)}.byline-author[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:var(--article-muted-2)}.byline-separator[_ngcontent-%COMP%]{width:3px;height:3px;border-radius:50%;background:#777}.byline-read-time[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.25rem}.byline-read-time[_ngcontent-%COMP%]   kb-icon[_ngcontent-%COMP%]{font-size:.95rem}.article-layout[_ngcontent-%COMP%]{display:grid;width:min(1080px,100%);grid-template-columns:minmax(0,1fr) 320px;gap:clamp(1.75rem,4vw,3.5rem);margin:0 auto;padding:clamp(2.1rem,5vw,3.25rem) 2rem 5rem}.article-main[_ngcontent-%COMP%]{position:relative;min-width:0}.share-rail[_ngcontent-%COMP%]{position:static;height:auto;margin-bottom:1.25rem}.share-rail-inner[_ngcontent-%COMP%]{position:static;display:flex;align-items:center;flex-direction:row;gap:.65rem;padding-block:1rem;border-top:1px solid var(--article-border);border-bottom:1px solid var(--article-border)}.share-button[_ngcontent-%COMP%]{display:inline-flex;width:2.25rem;height:2.25rem;align-items:center;justify-content:center;border:1px solid var(--article-border-2);border-radius:10px;color:var(--article-muted);background:var(--article-surface);cursor:pointer;text-decoration:none;transition:.18s ease}.share-button[_ngcontent-%COMP%]:hover, .share-button[_ngcontent-%COMP%]:focus-visible{border-color:var(--article-accent);color:var(--article-text);background:var(--article-surface-2)}.bookmark-action[_ngcontent-%COMP%]{position:relative}.bookmark-tooltip[_ngcontent-%COMP%]{position:absolute;z-index:10;top:50%;left:calc(100% + .75rem);width:190px;padding:.6rem .75rem;border:1px solid var(--article-border);border-radius:.5rem;color:var(--article-text);background:var(--article-surface);box-shadow:var(--article-shadow);font-size:.75rem;line-height:1.4;transform:translateY(-50%)}.article-content[_ngcontent-%COMP%]{max-width:760px;color:var(--article-text)}  .article-content p,   .article-content li{color:var(--article-text);font-family:var(--article-serif);font-size:1.16rem;line-height:var(--article-read)}  .article-content p{margin:0 0 1.45rem}  .article-content h1,   .article-content h2,   .article-content h3,   .article-content h4,   .article-content h5,   .article-content h6{margin:2rem 0 .8rem;color:var(--article-text);line-height:1.25}  .article-content h2{font-size:clamp(1.65rem,3vw,2.2rem)}  .article-content h3{font-size:clamp(1.25rem,2vw,1.55rem)}  .article-content a,   .article-content a.paragraph-link{color:var(--color-culture-text);font-weight:700;text-decoration:none;background-image:linear-gradient(currentColor,currentColor);background-position:0 100%;background-repeat:no-repeat;background-size:0 1px;transition:background-size .2s ease}  .article-content a:hover,   .article-content a:focus-visible,   .article-content a.paragraph-link:hover,   .article-content a.paragraph-link:focus-visible{background-size:100% 1px}  .article-content blockquote{position:relative;margin:2.1rem 0;padding:.4rem 0 .4rem 1.6rem;border-left:3px solid var(--article-accent);border-radius:0;background:transparent}  .article-content blockquote p{margin:0;font-size:clamp(1.35rem,3vw,1.75rem);font-style:italic;line-height:1.4}  .article-content img,   .article-content video{display:block;max-width:100%;height:auto;margin:1.75rem auto;border:1px solid var(--article-border);border-radius:8px}  .article-content iframe:not(.youtube-embed iframe){max-width:100%}  .article-content ul,   .article-content ol{margin:1rem 0 1.5rem;padding-left:1.4rem}  .article-content .wp-caption{display:block;max-width:100%;margin:1.75rem auto}  .article-content .wp-caption img{margin-bottom:.5rem}  .article-content .wp-caption-text{color:var(--article-muted);font-family:inherit;font-size:.78rem;font-style:italic;line-height:1.5;text-align:center}  .article-content .alignleft{float:left;margin:.35rem 1.2rem .75rem 0}  .article-content .alignright{float:right;margin:.35rem 0 .75rem 1.2rem}  .article-content .aligncenter{display:block;margin-right:auto;margin-left:auto;text-align:center}  .article-content .youtube-embed{position:relative;width:100%;height:0;margin:1.75rem 0;padding-bottom:56.25%;overflow:hidden;border-radius:8px}  .article-content .youtube-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}  .article-content .cta-div button.article-CTA,   .article-content button.article-CTA{padding:.75rem 1.1rem;border:1px solid var(--article-accent);border-radius:8px;color:#050505;background:var(--article-accent);font-weight:800}.article-tags[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.45rem;margin:2rem 0;padding:1.25rem 0;border-top:1px solid var(--article-border);border-bottom:1px solid var(--article-border);flex-wrap:wrap}.article-tags[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{margin-right:.2rem;color:var(--article-muted);font-size:.7rem;letter-spacing:.1em;text-transform:uppercase}.article-tags[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding:.35rem .75rem;border:1px solid var(--article-border);border-radius:99px;color:var(--article-muted);background:var(--article-surface);font-size:.72rem;font-weight:700}.author-card[_ngcontent-%COMP%]{display:flex;gap:1rem;margin:2rem 0 2.75rem;padding:1.35rem;border:1px solid var(--article-border);border-radius:.9rem;background:var(--article-surface);box-shadow:var(--article-shadow)}
2.author-card[_ngcontent-%COMP%]   .author-avatar[_ngcontent-%COMP%]{width:4rem;height:4rem;flex:0 0 4rem;font-size:1.2rem}.author-card[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:var(--article-muted);font-size:.65rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.author-card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:.2rem 0 .45rem;color:var(--article-text);font-size:1.1rem}.author-card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;color:var(--article-muted);line-height:1.65}.section-heading[_ngcontent-%COMP%]{margin-bottom:1rem}.section-heading[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--color-culture-text);font-size:.68rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.section-heading[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:.25rem 0 0;color:var(--article-text);font-size:1.45rem}.related-articles[_ngcontent-%COMP%]{padding-top:1.5rem;border-top:1px solid var(--article-border)}.related-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.related-card[_ngcontent-%COMP%]{overflow:hidden;border:1px solid var(--article-border);border-radius:.75rem;color:inherit;background:var(--article-surface);text-decoration:none;transition:.18s ease}.related-card[_ngcontent-%COMP%]:hover{border-color:var(--article-accent);transform:translateY(-2px)}.related-card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:125px;object-fit:cover}.related-card[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:.8rem}.related-card[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--color-culture-text);font-size:.62rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.related-card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:.25rem 0 .55rem;color:var(--article-text);font-size:.9rem;line-height:1.35}.related-card[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:var(--article-muted)}.article-sidebar[_ngcontent-%COMP%]{display:flex;min-width:0;flex-direction:column;gap:1.25rem}.newsletter-card[_ngcontent-%COMP%]{position:sticky;z-index:1;top:5.5rem;padding:1.35rem;border:1px solid color-mix(in srgb,var(--article-accent) 30%,transparent);border-radius:.9rem;background:linear-gradient(135deg,var(--color-culture-bg),var(--article-surface) 72%);box-shadow:var(--article-shadow)}.newsletter-card[_ngcontent-%COMP%]   .newsletter-icon[_ngcontent-%COMP%]{color:var(--color-culture-text);font-size:2rem}.newsletter-card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:.4rem 0;color:var(--article-text);font-size:1.45rem}.newsletter-card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:1rem;color:var(--article-muted);font-size:.8rem;line-height:1.6}.newsletter-card[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.newsletter-card[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%;margin-bottom:.55rem;padding:.7rem .8rem;border:1px solid var(--article-border);border-radius:.55rem;outline:0;color:var(--article-text);background:var(--article-surface-2)}.newsletter-card[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border-color:var(--article-accent)}.newsletter-card[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;padding:.72rem;border:0;border-radius:.55rem;color:#050505;background:var(--article-accent);font-weight:900;cursor:pointer}.newsletter-card[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{cursor:default;opacity:.72}.newsletter-card[_ngcontent-%COMP%] > small[_ngcontent-%COMP%]{display:block;margin-top:.45rem;color:var(--article-muted);font-size:.65rem;text-align:center}.newsletter-card[_ngcontent-%COMP%]   .newsletter-message.error[_ngcontent-%COMP%]{color:#ef4444}.newsletter-card[_ngcontent-%COMP%]   .newsletter-message.success[_ngcontent-%COMP%]{color:#16a34a}.sidebar-list[_ngcontent-%COMP%]{z-index:2;overflow:hidden;border:1px solid var(--article-border);border-radius:.8rem;background:var(--article-surface);box-shadow:var(--article-shadow)}.sidebar-list-heading[_ngcontent-%COMP%]{padding:.9rem 1rem;border-bottom:1px solid var(--article-border)}.sidebar-list-heading[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0;color:var(--article-text);font-size:.88rem}.sidebar-article[_ngcontent-%COMP%]{display:grid;grid-template-columns:1.4rem 3.75rem minmax(0,1fr);gap:.65rem;align-items:center;padding:.75rem .9rem;border-bottom:1px solid var(--article-border);color:inherit;text-decoration:none}.sidebar-article[_ngcontent-%COMP%]:last-child{border-bottom:0}.sidebar-article[_ngcontent-%COMP%]:hover{background:var(--article-surface-2)}.sidebar-article[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:3.75rem;height:3.75rem;border-radius:.5rem;object-fit:cover}.sidebar-rank[_ngcontent-%COMP%]{color:color-mix(in srgb,var(--article-accent) 48%,transparent);font-size:1.25rem;font-weight:900}.sidebar-article-copy[_ngcontent-%COMP%]{display:flex;min-width:0;flex-direction:column;gap:.2rem}.sidebar-article-copy[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{color:var(--color-culture-text);font-size:.55rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.sidebar-article-copy[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{display:-webkit-box;overflow:hidden;color:var(--article-text);font-size:.76rem;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.sidebar-article-copy[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:var(--article-muted);font-size:.62rem}.sidebar-ad[_ngcontent-%COMP%]{z-index:2}.watamu-ad[_ngcontent-%COMP%]{position:relative;display:block;overflow:hidden;border:1px solid var(--article-border);border-radius:.8rem;background:var(--article-surface)}.watamu-ad[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{position:absolute;z-index:1;top:.4rem;right:.45rem;padding:.2rem .4rem;border-radius:.25rem;color:#ddd;background:#0000009e;font-size:.5rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.watamu-ad[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;transition:transform .24s ease}.watamu-ad[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{transform:scale(1.02)}.article-not-found[_ngcontent-%COMP%]{display:flex;min-height:66vh;align-items:center;justify-content:center;flex-direction:column;padding:4rem 1.5rem;text-align:center}.article-not-found[_ngcontent-%COMP%] > kb-icon[_ngcontent-%COMP%]{margin-bottom:1rem;color:var(--color-culture-text);font-size:4.5rem}.article-not-found[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin:.8rem 0 .5rem;color:var(--article-text);font-size:clamp(2rem,5vw,3.25rem)}.article-not-found[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:not(.article-category){max-width:520px;color:var(--article-muted)}.article-not-found[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-top:1.25rem;padding:.75rem 1.1rem;border-radius:.55rem;color:#050505;background:var(--article-accent);font-weight:900;text-decoration:none}.article-loading[_ngcontent-%COMP%]{min-height:75vh}.loading-hero[_ngcontent-%COMP%]{height:460px}.loading-layout[_ngcontent-%COMP%]{display:grid;width:min(1080px,92%);grid-template-columns:1fr 290px;gap:3rem;margin:2.5rem auto}.loading-line[_ngcontent-%COMP%]{display:block;width:100%;height:1rem;margin-bottom:1rem;border-radius:.3rem}.loading-line-short[_ngcontent-%COMP%]{width:18%}.loading-line-title[_ngcontent-%COMP%]{width:84%;height:2.4rem}
2.loading-line-medium[_ngcontent-%COMP%]{width:66%}.loading-sidebar[_ngcontent-%COMP%]{min-height:260px;border-radius:.8rem}.shimmer[_ngcontent-%COMP%]{background:linear-gradient(90deg,var(--article-surface-2) 25%,var(--article-surface) 50%,var(--article-surface-2) 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_shimmer 1.5s infinite}@keyframes _ngcontent-%COMP%_shimmer{to{background-position-x:-200%}}@media(max-width:1250px){.share-rail[_ngcontent-%COMP%]{position:static;height:auto;margin-bottom:1.25rem}.share-rail-inner[_ngcontent-%COMP%]{position:static;align-items:center;flex-direction:row}.bookmark-tooltip[_ngcontent-%COMP%]{top:calc(100% + .65rem);left:50%;transform:translate(-50%)}}@media(max-width:900px){.article-layout[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:2.5rem}.article-content[_ngcontent-%COMP%]{max-width:none}.article-sidebar[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.newsletter-card[_ngcontent-%COMP%]{position:static}.watamu-ad[_ngcontent-%COMP%]{grid-row:span 2}.loading-layout[_ngcontent-%COMP%]{grid-template-columns:1fr}.loading-sidebar[_ngcontent-%COMP%]{display:none}}@media(max-width:600px){.article-breadcrumb[_ngcontent-%COMP%]{padding-inline:1rem;font-size:.7rem}.article-hero[_ngcontent-%COMP%]{min-height:auto;padding:2rem 1rem 0}.article-hero-content[_ngcontent-%COMP%]{width:100%;padding:0}.article-hero-image[_ngcontent-%COMP%]{height:clamp(260px,44vh,420px);border-radius:10px}.article-hero-content[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:clamp(1.9rem,9vw,2.65rem)}.article-deck[_ngcontent-%COMP%]{display:-webkit-box;overflow:hidden;font-size:.94rem;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4}.article-byline[_ngcontent-%COMP%]{gap:.45rem .65rem}
2.article-byline[_ngcontent-%COMP%]   .byline-separator[_ngcontent-%COMP%]{display:none}.article-layout[_ngcontent-%COMP%]{padding:2rem 1rem 3rem}  .article-content p,   .article-content li{font-size:1rem;line-height:1.78}  .article-content .alignleft,   .article-content .alignright{float:none;margin:1.5rem auto}.author-card[_ngcontent-%COMP%]{align-items:center;flex-direction:column;text-align:center}.related-grid[_ngcontent-%COMP%], .article-sidebar[_ngcontent-%COMP%]{grid-template-columns:1fr}.watamu-ad[_ngcontent-%COMP%]{grid-row:auto}.bookmark-tooltip[_ngcontent-%COMP%]{right:auto;left:0;transform:none}.loading-hero[_ngcontent-%COMP%]{height:420px}}@media(prefers-reduced-motion:reduce){.article-hero-image[_ngcontent-%COMP%], .shimmer[_ngcontent-%COMP%]{animation:none}.progress-fill[_ngcontent-%COMP%], .share-button[_ngcontent-%COMP%], .related-card[_ngcontent-%COMP%], .watamu-ad[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{transition:none}}']})};var Un=[{path:"gallery/:slug",redirectTo:"/gallery",pathMatch:"full"},{path:"article/:slug",component:Le},{path:"author/:slug",component:He},{path:":slug",component:Le},{path:"",component:Ye}];export{Un as LIFESTYLE_ROUTES};

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.