1import{a as H}from"./chunk-DKU2OHQQ.js";import{a as N}from"./chunk-YHN7Y2OS.js";import"./chunk-TVIMVKBX.js";import"./chunk-EHTC7G67.js";import{b as U}from"./chunk-3F4KL2WJ.js";import{a as G}from"./chunk-45YB4TKW.js";import"./chunk-2XR36MKS.js";import"./chunk-SEO3M2NT.js";import{b as F,c as K,d as j,e as q}from"./chunk-QZ6GM55J.js";import{Aa as A,Ba as f,Ca as g,Da as _,Ea as s,G as v,Ja as b,Ka as P,Ma as T,N as w,Oa as L,P as S,Q as h,Ra as R,Sa as k,T as i,Ua as M,V as d,W as x,_ as p,d as u,hb as E,ja as a,jb as z,ka as o,kb as D,la as r,ma as m,na as C,oa as y,ob as $,sa as c,v as I,ya as B}from"./chunk-VZDXXZWW.js";function Y(e,n){if(e&1&&(o(0,"span",20),g(1),r()),e&2){let t=c();i(),s(" ",t.article.author," ")}}function Z(e,n){if(e&1&&(o(0,"div",21)(1,"p",22),g(2),r()()),e&2){let t=c();i(2),_(t.article.contentKey)}}function tt(e,n){if(e&1&&(o(0,"h1",34),g(1),r()),e&2){let t=c(2).$implicit;f("text-"+(t.headingAlignment||"left")),i(),s(" ",t.content," ")}}function et(e,n){if(e&1&&(o(0,"h2",35),g(1),r()),e&2){let t=c(2).$implicit;f("text-"+(t.headingAlignment||"left")),i(),s(" ",t.content," ")}}function nt(e,n){if(e&1&&(o(0,"h3",36),g(1),r()),e&2){let t=c(2).$implicit;f("text-"+(t.headingAlignment||"left")),i(),s(" ",t.content," ")}}function it(e,n){if(e&1&&(o(0,"h4",37),g(1),r()),e&2){let t=c(2).$implicit;f("text-"+(t.headingAlignment||"left")),i(),s(" ",t.content," ")}}function at(e,n){if(e&1&&(C(0),p(1,tt,2,3,"h1",30)(2,et,2,3,"h2",31)(3,nt,2,3,"h3",32)(4,it,2,3,"h4",33),y()),e&2){let t=c().$implicit;i(),a("ngIf",t.headingLevel==="h1"),i(),a("ngIf",t.headingLevel==="h2"),i(),a("ngIf",t.headingLevel==="h3"),i(),a("ngIf",t.headingLevel==="h4")}}function ot(e,n){if(e&1&&m(0,"div",38),e&2){let t=c().$implicit;A("content-paragraph--lead",t.size==="lead")("content-paragraph--small",t.size==="small"),a("innerHTML",t.content,S)}}function rt(e,n){if(e&1&&(o(0,"a",42),m(1,"img",43),r()),e&2){let t=c(2).$implicit;a("href",t.imageLink,h)("target",t.imageLinkNewTab?"_blank":"_self")("rel",t.imageLinkNewTab?"noopener noreferrer":null),i(),a("src",t.imageUrl,h)("alt",t.imageAltKey||"")}}function ct(e,n){if(e&1&&m(0,"img",43),e&2){let t=c(2).$implicit;a("src",t.imageUrl,h)("alt",t.imageAltKey||"")}}function lt(e,n){if(e&1&&(o(0,"figcaption",44),g(1),r()),e&2){let t=c(2).$implicit;i(),s(" ",t.imageCaption," ")}}function gt(e,n){if(e&1&&(o(0,"figure",39),p(1,rt,2,5,"a",40)(2,ct,1,2,"ng-template",null,0,T)(4,lt,2,1,"figcaption",41),r()),e&2){let t=B(3),l=c().$implicit;i(),a("ngIf",l.imageLink)("ngIfElse",t),i(3),a("ngIf",l.imageCaption)}}function pt(e,n){if(e&1&&(o(0,"span",49),g(1),r()),e&2){let t=c(3).$implicit;i(),_(t.authorRole)}}function st(e,n){if(e&1&&(o(0,"footer",47)(1,"strong"),g(2),r(),p(3,pt,2,1,"span",48),r()),e&2){let t=c(2).$implicit;i(2),_(t.authorName),i(),a("ngIf",t.authorRole)}}function mt(e,n){if(e&1&&(o(0,"blockquote",45)(1,"p"),g(2),r(),p(3,st,4,2,"footer",46),r()),e&2){let t=c().$implicit;i(2),_(t.content),i(),a("ngIf",t.authorName)}}function dt(e,n){if(e&1&&(o(0,"li"),g(1),r()),e&2){let t=n.$implicit;i(),s(" ",t," ")}}function _t(e,n){if(e&1&&(o(0,"ul",52),p(1,dt,2,1,"li",24),r()),e&2){let t=c(2).$implicit,l=c(2);i(),a("ngForOf",t.listItems)("ngForTrackBy",l.trackByIndex)}}function ht(e,n){if(e&1&&(o(0,"li"),g(1),r()),e&2){let t=n.$implicit;i(),s(" ",t," ")}}function ft(e,n){if(e&1&&(o(0,"ol",53),p(1,ht,2,1,"li",24),r()),e&2){let t=c(2).$implicit,l=c(2);i(),a("ngForOf",t.listItems)("ngForTrackBy",l.trackByIndex)}}function ut(e,n){if(e&1&&(C(0),p(1,_t,2,2,"ul",50)(2,ft,2,2,"ol",51),y()),e&2){let t=c().$implicit;i(),a("ngIf",t.listType!=="ol"),i(),a("ngIf",t.listType==="ol")}}function vt(e,n){if(e&1&&(o(0,"p",57),g(1),r()),e&2){let t=c(2).$implicit;i(),_(t.content)}}function xt(e,n){if(e&1&&(o(0,"li")(1,"a",58),g(2),v(),o(3,"svg",59),m(4,"path",60),r()()()),e&2){let t=n.$implicit;i(),a("href",t.url,h),i(),s(" ",t.labelKey," ")}}function Ct(e,n){if(e&1&&(o(0,"div",54),p(1,vt,2,1,"p",55),o(2,"ul",56),p(3,xt,5,2,"li",24),r()()),e&2){let t=c().$implicit,l=c(2);i(),a("ngIf",t.content),i(2),a("ngForOf",t.links)("ngForTrackBy",l.trackByIndex)}}function yt(e,n){if(e&1&&(C(0),p(1,at,5,4,"ng-container",25)(2,ot,1,5,"div",26)(3,gt,5,3,"figure",27)(4,mt,4,2,"blockquote",28)(5,ut,3,2,"ng-container",25)(6,Ct,4,3,"div",29),y()),e&2){let t=n.$implicit;i(),a("ngIf",t.type==="heading"),i(),a("ngIf",t.type==="paragraph"),i(),a("ngIf",t.type==="image"),i(),a("ngIf",t.type==="blockquote"),i(),a("ngIf",t.type==="list"),i(),a("ngIf",t.type==="links")}}function bt(e,n){if(e&1&&(o(0,"div",23),p(1,yt,7,6,"ng-container",24),r()),e&2){let t=c();i(),a("ngForOf",t.article.contentBlocks)("ngForTrackBy",t.trackByIndex)}}function Pt(e,n){if(e&1&&(o(0,"div",61)(1,"a",62),g(2),b(3,"translate"),v(),o(4,"svg",63),m(5,"path",60),r()()()),e&2){let t=c();i(),a("href",t.article.externalUrl,h),i(),s(" ",P(3,2,"pages.news.view_full_article")," ")}}function kt(e,n){if(e&1&&(o(0,"span",68),g(1),r()),e&2){let t=n.$implicit;i(),s(" ",t," ")}}function Mt(e,n){if(e&1&&(o(0,"div",64)(1,"h3",65),g(2),b(3,"translate"),r(),o(4,"div",66),p(5,kt,2,1,"span",67),r()()),e&2){let t=c();i(2),_(P(3,3,"pages.news.tags")),i(3),a("ngForOf",t.article.tags)("ngForTrackBy",t.trackByIndex)}}function Ot(e,n){if(e&1&&m(0,"app-call-to-action",69),e&2){let t=c();a("data",t.ctaData)}}function It(e,n){if(e&1&&(o(0,"div",70)(1,"a",71),v(),o(2,"svg",72),m(3,"path",73),r(),g(4),b(5,"translate"),r()()),e&2){let t=c();i(),a("routerLink",t.effectiveBackButtonRoute),i(3),s(" ",P(5,2,"pages.news.back_to_news")," ")}}var O=class e{constructor(n,t){this.platformId=n;this.translateService=t}destroy$=new u;article;currentRegion="au";showBackButton=!0;backButtonRoute;ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getFormattedDate(n){return new Date(n).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}get hasContentBlocks(){return!!this.article.contentBlocks&&this.article.contentBlocks.length>0}get hasSimpleContent(){return!!this.article.contentKey&&!this.hasContentBlocks}get ctaData(){if(this.article.cta)return{variant:"simple",titleKey:this.article.cta.titleKey,descriptionKey:this.article.cta.descriptionKey,buttonLabelKey:this.article.cta.buttonLabelKey,buttonRoute:this.article.cta.buttonRoute,buttonAriaLabelKey:this.article.cta.buttonAriaLabelKey}}get effectiveBackButtonRoute(){return this.backButtonRoute||`/${this.currentRegion}/news`}trackByIndex(n){return n}static \u0275fac=function(t){return new(t||e)(d(w),d(F))};static \u0275cmp=x({type:e,selectors:[["app-article-page-layout"]],inputs:{article:"article",currentRegion:"currentRegion",
1showBackButton:"showBackButton",backButtonRoute:"backButtonRoute"},decls:22,vars:16,consts:[["imageOnly",""],[1,"article-hero"],[1,"hero-image-wrapper"],["loading","eager",1,"hero-image",3,"src","alt"],[1,"article-content-section"],[1,"article-content-container"],[1,"article-header"],[1,"article-title"],[1,"article-metadata"],[1,"publish-date",3,"dateTime"],["class","author",4,"ngIf"],[1,"category"],[1,"article-body"],["class","simple-content",4,"ngIf"],["class","rich-content",4,"ngIf"],["class","external-link-wrapper",4,"ngIf"],["class","tags-wrapper",4,"ngIf"],[3,"data",4,"ngIf"],["class","back-button-wrapper bottom",4,"ngIf"],[3,"region","excludeArticleId","limit"],[1,"author"],[1,"simple-content"],[1,"content-text"],[1,"rich-content"],[4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],["class","content-paragraph",3,"content-paragraph--lead","content-paragraph--small","innerHTML",4,"ngIf"],["class","content-image",4,"ngIf"],["class","content-blockquote",4,"ngIf"],["class","content-links",4,"ngIf"],["class","content-heading-h1",3,"class",4,"ngIf"],["class","content-heading-h2",3,"class",4,"ngIf"],["class","content-heading-h3",3,"class",4,"ngIf"],["class","content-heading-h4",3,"class",4,"ngIf"],[1,"content-heading-h1"],[1,"content-heading-h2"],[1,"content-heading-h3"],[1,"content-heading-h4"],[1,"content-paragraph",3,"innerHTML"],[1,"content-image"],[3,"href","target","rel",4,"ngIf","ngIfElse"],["class","image-caption",4,"ngIf"],[3,"href","target","rel"],["loading","lazy",3,"src","alt"],[1,"image-caption"],[1,"content-blockquote"],["class","blockquote-footer",4,"ngIf"],[1,"blockquote-footer"],["class","author-role",4,"ngIf"],[1,"author-role"],["class","content-list",4,"ngIf"],["class","content-list content-list--ordered",4,"ngIf"],[1,"content-list"],[1,"content-list","content-list--ordered"],[1,"content-links"],["class","content-paragraph",4,"ngIf"],[1,"links-list"],[1,"content-paragraph"],["target","_blank","rel","noopener noreferrer",3,"href"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","width","16","height","16",1,"external-icon"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"],[1,"external-link-wrapper"],["target","_blank","rel","noopener noreferrer",1,"btn-primary",3,"href"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"external-icon"],[1,"tags-wrapper"],[1,"tags-title"],[1,"tags-list"],["class","tag",4,"ngFor","ngForOf","ngForTrackBy"],[1,"tag"],[3,"data"],[1,"back-button-wrapper","bottom"],[1,"btn-secondary",3,"routerLink"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"back-icon"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M10 19l-7-7m0 0l7-7m-7 7h18"]],template:function(t,l){t&1&&(o(0,"section",1)(1,"div",2),m(2,"img",3),r()(),o(3,"section",4)(4,"div",5)(5,"header",6)(6,"h1",7),g(7),r(),o(8,"div",8)(9,"time",9),g(10),r(),p(11,Y,2,1,"span",10),o(12,"span",11),g(13),r()()(),o(14,"article",12),p(15,Z,3,1,"div",13)(16,bt,2,2,"div",14)(17,Pt,6,4,"div",15)(18,Mt,6,5,"div",16),r(),p(19,Ot,1,1,"app-call-to-action",17)(20,It,6,4,"div",18),r()(),m(21,"app-recent-articles",19)),t&2&&(i(2),a("src",l.article.imageUrl,h)("alt",l.article.imageAltKey),i(5),_(l.article.titleKey),i(2),a("dateTime",l.article.publishDate),i(),s(" ",l.getFormattedDate(l.article.publishDate)," "),i(),a("ngIf",l.article.author),i(2),s(" ",l.article.categoryKey," "),i(2),a("ngIf",l.hasSimpleContent),i(),a("ngIf",l.hasContentBlocks),i(),a("ngIf",l.article.externalUrl),i(),a("ngIf",l.article.tags&&l.article.tags.length>0),i(),a("ngIf",l.ctaData),i(),a("ngIf",l.showBackButton),i(),a("region",l.currentRegion)("excludeArticleId",l.article.id)("limit",3))},dependencies:[M,R,k,$,D,j,K,G,H],styles:[".article-hero[_ngcontent-%COMP%]{width:100%;height:100vh;position:relative;overflow:hidden}.hero-image-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;position:relative}.hero-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.article-content-section[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center;padding:0;margin:0;background-color:#f9fafb}.article-content-container[_ngcontent-%COMP%]{width:100%;max-width:900px;padding:var(--spacing-xlarge) 48px;box-sizing:border-box;margin:0 auto}.back-button-wrapper[_ngcontent-%COMP%]{margin-bottom:var(--spacing-large)}.back-button-wrapper.bottom[_ngcontent-%COMP%]{margin-top:var(--spacing-xlarge);margin-bottom:0}.back-button-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center}.back-icon[_ngcontent-%COMP%]{width:20px;height:20px;margin-right:8px}.article-header[_ngcontent-%COMP%]{margin-bottom:var(--spacing-xlarge)}.article-title[_ngcontent-%COMP%]{font-size:var(--font-section-heading);line-height:var(--line-height-heading);font-weight:700;color:#111827;margin:0 0 var(--spacing-medium) 0}.article-metadata[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:var(--spacing-medium);padding-top:var(--spacing-medium);border-top:2px solid #e5e7eb}.publish-date[_ngcontent-%COMP%], .author[_ngcontent-%COMP%], .category[_ngcontent-%COMP%]{font-size:var(--font-body);line-height:var(--line-height-body)}.publish-date[_ngcontent-%COMP%]{color:#6b7280;font-weight:500}.author[_ngcontent-%COMP%]{color:#374151;font-weight:600}.category[_ngcontent-%COMP%]{color:#00a8f3;font-weight:600;text-transform:capitalize}.article-body[_ngcontent-%COMP%]{background-color:#fff;border-radius:8px;padding:var(--spacing-xlarge);box-shadow:0 1px 3px #0000001a}.simple-content[_ngcontent-%COMP%]{margin-bottom:var(--spacing-large)}.content-text[_ngcontent-%COMP%]{font-size:var(--font-body);line-height:1.75;color:#374151;white-space:pre-line;margin:0}.rich-content[_ngcontent-%COMP%]{margin-bottom:var(--spacing-large)}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.content-heading-h1[_ngcontent-%COMP%]{font-size:var(--font-section-heading);line-height:var(--line-height-heading);font-weight:700;color:#111827;margin:var(--spacing-large) 0 var(--spacing-medium) 0}.content-heading-h1[_ngcontent-%COMP%]:first-child{margin-top:0}.content-heading-h2[_ngcontent-%COMP%]{font-size:var(--font-heading-small);line-height:var(--line-height-heading);font-weight:700;color:#111827;margin:var(--spacing-large) 0 var(--spacing-medium) 0}.content-heading-h2[_ngcontent-%COMP%]:first-child{margin-top:0}.content-heading-h3[_ngcontent-%COMP%]{font-size:20px;line-height:1.3;font-weight:600;color:#1f2937;margin:var(--spacing-medium) 0 var(--spacing-small) 0}.content-heading-h4[_ngcontent-%COMP%]{font-size:18px;line-height:1.4;font-weight:600;color:#374151;margin:var(--spacing-medium) 0 var(--spacing-small) 0}.content-paragraph[_ngcontent-%COMP%]{font-size:var(--font-body);line-height:1.75;color:#374151;margin:0 0 var(--spacing-medium) 0}.content-paragraph--lead[_ngcontent-%COMP%]{font-size:1.25em;line-height:1.6;color:#1f2937}.content-paragraph--small[_ngcontent-%COMP%]{font-size:.875em;line-height:1.6;color:#6b7280}[_nghost-%COMP%] .content-paragraph p, [_nghost-%COMP%] .content-paragraph span, [_nghost-%COMP%] .content-paragraph div, [_nghost-%COMP%] .content-paragraph strong, [_nghost-%COMP%] .content-paragraph b, [_nghost-%COMP%] .content-paragraph em, [_nghost-%COMP%] .content-paragraph i, [_nghost-%COMP%] .content-paragraph u{font-family:inherit!important;font-size:inherit!important;color:inherit!important;background:none!important}[_nghost-%COMP%] .content-paragraph p, [_nghost-%COMP%] .content-paragraph span, [_nghost-%COMP%] .content-paragraph div{line-height:inherit!important}[_nghost-%COMP%] .content-paragraph p{margin:0 0 var(--spacing-small) 0;min-height:1em}[_nghost-%COMP%] .content-paragraph p:last-child{margin-bottom:0}[_nghost-%COMP%] .content-paragraph h2{font-size:var(--font-heading-small)!important;line-height:var(--line-height-heading)!important;font-weight:700!important;color:#111827!important;font-family:inherit!important;background:none!important;margin:var(--spacing-large) 0 var(--spacing-medium) 0}[_nghost-%COMP%] .content-paragraph h2:first-child{margin-top:0}[_nghost-%COMP%] .content-paragraph h3{font-size:20px!important;line-height:1.3!important;font-weight:600!important;color:#1f2937!important;font-family:inherit!important;background:none!important;margin:var(--spacing-medium) 0 var(--spacing-small) 0}[_nghost-%COMP%] .content-paragraph h4{font-size:18px!important;line-height:1.4!important;font-weight:600!important;color:#374151!important;font-family:inherit!important;background:none!important;margin:var(--spacing-medium) 0 var(--spacing-small) 0}[_nghost-%COMP%] .content-paragraph ul, [_nghost-%COMP%] .content-paragraph ol{padding-left:var(--spacing-large);margin:var(--spacing-small) 0 var(--spacing-medium) 0}[_nghost-%COMP%] .content-paragraph li{margin-bottom:var(--spacing-small)}[_nghost-%COMP%] .content-paragraph blockquote{font-size:18px;line-height:1.7;color:#1f2937;font-style:italic;border-left:4px solid #00A8F3;padding:var(--spacing-medium) var(--spacing-medium) var(--spacing-medium) var(--spacing-large);margin:var(--spacing-large) 0;background-color:#f3f4f6;border-radius:0 4px 4px 0}[_nghost-%COMP%] .content-paragraph a{color:var(--primary-color, #2563eb)!important;text-decoration:none!important;font-weight:500;font-family:inherit!important;font-size:inherit!important;background:none!important}[_nghost-%COMP%] .content-paragraph a:hover{text-decoration:underline!important}[_nghost-%COMP%] .content-paragraph hr{border:none;border-top:1px solid #e5e7eb;margin:var(--spacing-large) 0}.content-image[_ngcontent-%COMP%]{margin:var(--spacing-large) 0;text-align:center}.content-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;max-width:100%;height:auto;border-radius:8px;box-shadow:0 4px 6px #0000001a}.image-caption[_ngcontent-%COMP%]{font-size:14px;line-height:1.5;color:#6b7280;margin-top:var(--spacing-small);font-style:italic}.content-blockquote[_ngcontent-%COMP%]{font-size:18px;line-height:1.7;color:#1f2937;font-style:italic;border-left:4px solid #00A8F3;margin:var(--spacing-large) 0;background-color:#f3f4f6;padding:var(--spacing-medium) var(--spacing-medium) var(--spacing-medium) var(--spacing-large);border-radius:0 4px 4px 0}.content-blockquote[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.blockquote-footer[_ngcontent-%COMP%]{margin-top:var(--spacing-small);font-style:normal;font-size:var(--font-body)}.blockquote-footer[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#111827}.blockquote-footer[_ngcontent-%COMP%] .author-role[_ngcontent-%COMP%]{display:block;color:#6b7280;font-size:14px}.content-list[_ngcontent-%COMP%]{font-size:var(--font-body);line-height:1.75;color:#374151;margin:var(--spacing-medium) 0;padding-left:var(--spacing-large)}.content-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:var(--spacing-small)}.content-links[_ngcontent-%COMP%]{margin:var(--spacing-medium) 0}.links-list[_ngcontent-%COMP%]{list-style:none;padding:0;margin:var(--spacing-small) 0 0;display:flex;flex-direction:column;gap:var(--spacing-small)}.links-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;font-size:var(--font-body);color:var(--primary-color, #2563eb);text-decoration:none;font-weight:500;transition:color .2s ease}.links-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.links-list[_ngcontent-%COMP%] .external-icon[_ngcontent-%COMP%]{width:16px;height:16px;flex-shrink:0}.external-link-wrapper[_ngcontent-%COMP%]{margin-top:var(--spacing-xlarge);padding-top:var(--spacing-large);border-top:1px solid #e5e7eb}.external-link-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center}.external-icon[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:8px}.tags-wrapper[_ngcontent-%COMP%]{margin-top:var(--spacing-xlarge);padding-top:var(--spacing-large);border-top:1px solid #e5e7eb}.tags-title[_ngcontent-%COMP%]{font-size:var(--font-heading-small);font-weight:600;color:#111827;margin:0 0 var(--spacing-medium) 0}.tags-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:var(--spacing-small)}.tag[_ngcontent-%COMP%]{display:inline-block;padding:6px 14px;background-color:#f3f4f6;color:#374151;border-radius:6px;font-size:14px;font-weight:500;transition:background-color .2s ease}.tag[_ngcontent-%COMP%]:hover{background-color:#e5e7eb}@media (max-width: 480px){.article-hero[_ngcontent-%COMP%]{height:50vh;min-height:300px}.article-content-container[_ngcontent-%COMP%]{padding:var(--spacing-large) 16px}.article-body[_ngcontent-%COMP%]{padding:var(--spacing-large)}.article-title[_ngcontent-%COMP%]{font-size:28px}.article-metadata[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;gap:var(--spacing-small)}.back-button-wrapper[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%}.content-blockquote[_ngcontent-%COMP%]{font-size:var(--font-body);padding:var(--spacing-small) var(--spacing-small) var(--spacing-small) var(--spacing-medium)}}@media (max-width: 768px) and (min-width: 481px){.article-hero[_ngcontent-%COMP%]{height:60vh;min-height:400px}.article-content-container[_ngcontent-%COMP%]{padding:var(--spacing-large) 24px}.article-body[_ngcontent-%COMP%]{padding:var(--spacing-large)}}@media (max-width: 1024px) and (min-width: 769px){.article-hero[_ngcontent-%COMP%]{height:70vh}.article-content-container[_ngcontent-%COMP%]{padding:var(--spacing-large) 30px}}@media (max-width: 1440px) and (min-width: 1025px){.article-content-container[_ngcontent-%COMP%]{padding:var(--spacing-xlarge) 40px}}@media (min-width: 1441px){.article-content-container[_ngcontent-%COMP%]{padding:var(--spacing-xlarge) 48px}}"]})};function wt(e,n){if(e&1&&m(0,"app-article-page-layout",1),e&2){let t=c();a("article",t.article)("currentRegion",t.currentRegion)("showBackButton",!0)}}var V=class e{constructor(n,t,l,St,Bt,At){this.route=n;this.router=t;this.blogService=l;this.regionConfigService=St;this.seoService=Bt;this.cdr=At}destroy$=new u;article=null;currentRegion="au";ngOnInit(){this.currentRegion=this.regionConfigService.getCurrentRegionFromPath(),this.route.paramMap.pipe(I(this.destroy$)).subscribe(n=>{let t=n.get("slug");t?this.loadPost(t):this.router.navigate([`/${this.currentRegion}/news`])})}loadPost(n){this.blogService.getBlogPostBySlug(n,this.currentRegion).pipe(I(this.destroy$)).subscribe(t=>{t?(this.article=t,this.updateSeoMetadata(t),this.cdr.markForCheck()):this.router.navigate([`/${this.currentRegion}/news`])})}updateSeoMetadata(n){this.seoService.setBlogArticleSeo({title:n.titleKey,excerpt:n.excerptKey,imageUrl:n.imageUrl,author:n.author,publishDate:n.publishDate,slug:n.slug},this.currentRegion),this.seoService.generateBlogArticleStructuredData({title:n.titleKey,excerpt:n.excerptKey,imageUrl:n.imageUrl,author:n.author,publishDate:n.publishDate,slug:n.slug},this.currentRegion)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static \u0275fac=function(t){return new(t||e)(d(E),d(z),d(N),d(q),d(U),d(L))};static \u0275cmp=x({type:e,selectors:[["app-news-detail"]],decls:1,vars:1,consts:[[3,"article","currentRegion","
1showBackButton",4,"ngIf"],[3,"article","currentRegion","showBackButton"]],template:function(t,l){t&1&&p(0,wt,1,3,"app-article-page-layout",0),t&2&&a("ngIf",l.article)},dependencies:[M,k,O],encapsulation:2})};export{V as NewsDetailComponent};
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.