1import{U as D,aq as o,ar as a,at as C,aK as S,am as l,e as d,W as L,f as c,an as I,a7 as v,a1 as g,Z as n,ao as w,a0 as b,aN as k,I as E,r as x,aP as U,aQ as H,bX as O,aR as V,H as z,aS as B,aT as T,aU as A,aV as W,j as N}from"./entry.69fIDJC2.js";import{a as G}from"./rich-text-document.JemmbTTD.js";import"./generic-link.sH4ICgzB.js";import"./index.tsdXPcWo.js";import"./get-display-order-id.gVqnfrmQ.js";import"./getJsonFromLocalStorage.zpM1VE--.js";import"./link.NaRSwbHX.js";const M={components:{PressGalleryGrid:o(()=>a(()=>import("./press-gallery-grid.FJIlV9ey.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url)),CloseButton:o(()=>a(()=>import("./close-button.kwZi8rpZ.js"),__vite__mapDeps([13,1,2,14,15,4,5,6,7,8,9,10,11,16]),import.meta.url)),CoverImage:o(()=>a(()=>import("./cover-image.EO3Rvddt.js"),__vite__mapDeps([17,1,2,18]),import.meta.url)),RichTextDocument:o(()=>a(()=>import("./rich-text-document.JemmbTTD.js").then(t=>t.b),__vite__mapDeps([19,1,2,5,6,7,8,20,21,22]),import.meta.url)),HeroSlider:o(()=>a(()=>import("./hero-slider.J9KHZ94c.js"),__vite__mapDeps([23,1,2,24,14,15,25]),import.meta.url)),DownloadLink:o(()=>a(()=>import("./press-download-link.FHE4j2Kn.js"),__vite__mapDeps([26,1,2,4,5,6,7,8,9,10,11,27]),import.meta.url))},provide(){return{mainContentType:"press"}},props:{id:{type:String,required:!0}},data(){return{windowWidth:window.innerWidth}},computed:{...C({language:"config/currentLanguageCode"}),pressReport(){return this.$store.getters["content/press/byId"](this.id)},coverImage(){return this.pressReport.coverImages?(this.transparentHeader(),this.pressReport.coverImages[0]||null):(this.coloredHeader(),null)},getTitle(){return this.isMobile?null:this.pressReport?.imageDownload?.frontendTitle},heroAssets(){return this.pressReport.heroAssets?(this.transparentHeader(),this.removingHeroAssetTitle(),this.pressReport.heroAssets||null):null},videoPosterUrl(){return this.pressReport?.previewImage?.media?.url??null},initialRows(){return this.pressReport.imageDownload&&this.pressReport.imageDownload.mediaAssets&&this.pressReport.imageDownload.mediaAssets.length<9?Math.ceil(this.pressReport.imageDownload.mediaAssets.length/3):3},isMobile(){return this.windowWidth<=this.$resizeObserver.getBreakPoint("MD")}},mounted(){this.$resizeObserver.registerResizeContainerWithCallback(this.$refs.contentContainer,t=>{this.windowWidth=t.contentRect.width})},methods:{...S({coloredHeader:"navigation/coloredHeader",transparentHeader:"navigation/transparentHeader"}),onResize(){this.windowWidth=window.innerWidth},readTimeChanged(t){this.$emit("read-time-change",t)},formatDate(){const t={year:"numeric",month:"long",day:"numeric"};return new Date(this.pressReport.publishingDate).toLocaleDateString(this.language,t)},removingHeroAssetTitle(){if(this.pressReport.heroAssets)for(let t=0;t<this.pressReport.heroAssets.length;t++)(this.pressReport.heroAssets[t].title!=null||this.pressReport.heroAssets[t].description!=null)&&(this.pressReport.heroAssets[t].title=null,this.pressReport.heroAssets[t].description=null)}}},q={key:0},j={class:"page-content mt-5 mb-5"},F={class:"container"},J={class:"press-content"},K={class:"press-content container"};function Q(t,_,p,i,s,e){const r=l("HeroSlider"),u=l("CloseButton"),R=l("CoverImage"),m=G,h=l("DownloadLink"),f=l("PressGalleryGrid");return e.pressReport?(d(),L("div",q,[e.heroAssets&&e.heroAssets.length?(d(),c(r,{key:0,slides:e.heroAssets,"show-text":!1,"video-poster-url":e.videoPosterUrl},null,8,["slides","video-poster-url"])):e.coverImage?(d(),c(R,{key:1,url:e.coverImage.url,"image-title-tag":e.coverImage.title},{actions:I(()=>[v(u,{class:"story-close-button"})]),_:1},8,["url","image-title-tag"])):g("",!0),n("div",j,[n("section",F,[n("div",J,[n("h1",null,w(e.pressReport.title),1),n("h2",null,w(e.formatDate()),1)])]),v(m,{nodes:e.pressReport.content,onReadTimeChange:e.readTimeChanged},null,8,["nodes","onReadTimeChange"]),n("div",K,[e.pressReport.pdfDownload&&e.pressReport.pdfDownload.length>0?(d(),c(h,{key:0,"pdf-url":e.pressReport.pdfDownload[0].url,"pdf-name":e.pressReport.pdfDownload[0].title,class:b(["download-l
1ink",{"has-successor":e.pressReport.imageDownload&&e.pressReport.imageDownload.mediaAssets&&e.pressReport.imageDownload.mediaAssets.length>0}])},null,8,["pdf-url","pdf-name","class"])):g("",!0),e.pressReport.imageDownload&&e.pressReport.imageDownload.mediaAssets&&e.pressReport.imageDownload.mediaAssets.length>0?(d(),c(f,{key:1,title:e.getTitle,items:e.pressReport.imageDownload.mediaAssets,"show-see-all":!1,"is-loading":!1,"row-count":e.initialRows,class:"press-gallery-grid"},null,8,["title","items","row-count"])):g("",!0)])])])):g("",!0)}const P=D(M,[["render",Q],["__scopeId","data-v-590419bc"]]),X=Object.freeze(Object.defineProperty({__proto__:null,default:P},Symbol.toStringTag,{value:"Module"})),Y={components:{PressReport:o(()=>a(()=>Promise.resolve().then(()=>X),void 0,import.meta.url)),PageLoadingContainer:o(()=>a(()=>import("./page-loading-container.JeGAyqy2.js"),__vite__mapDeps([28,29,1,2,30,31]),import.meta.url))},setup(){const t=N(),{startTracking:_}=k(),p=t.$store,i=E(),s=x(null);if(s.value=p.getters["content/press/bySlug"](i.params.slug),s.value){const e=p.getters["config/currentLanguageCode"];let r=t.$config.public.BASE_URL+i.path;s.value.canonical&&typeof s.value.canonical=="string"&&(s.value.canonical.startsWith("http")?r=s.value.canonical:r=`https://${s.value.canonical}/${e}/press/${i?.params?.slug}`);const u=t.$config.public.BASE_URL+i.path,R=U({identifierAttribute:"id",addDirAttribute:!0,addSeoAttributes:!0}),m=[];(!s.value?.noIndex||r!==u)&&m.push({rel:"canonical",href:r});const h=H();s.value?.noIndex?h.value="noindex, follow":h.value="index, follow";const{ogImageUrl:f}=O(s.value);V(s.value),z({title:s.value.metaTitle||s.value.title,link:[...R.value.link?.filter(y=>y.rel!=="canonical")||[],...m],meta:[{hid:"og:image",property:"og:image",content:f},{hid:"og:title",property:"og:title",content:s.value.metaTitle||s.value.title},{hid:"og:description",property:"og:description",content:s.value.excerpt},{hid:"description",name:"description",content:s.value.metaDescription||s.value.excerpt}]})}return{startTracking:_}},data(){return{estimatedReadTime:Number.POSITIVE_INFINITY,openingTime:null,readingTime:0,scrollPercentage:0,readingInterval:null}},computed:{...C({currentLanguageCode:"config/currentLanguageCode",userInitialized:"user/index/userCallWasCalled",customerSegments:"user/index/customerSegments"}),pressSlug(){return this.$route.params.slug},pressReport(){return this.$store.getters["content/press/bySlug"](this.pressSlug)},showLoading(){return this.pressReport&&Array.isArray(this.pressReport?.cSegments)&&this.pressReport?.cSegments.length>0?this.userInitialized?!this.showToUser:!0:!1},showToUser(){return B(this.pressReport?.cSegments,this.customerSegments,this.$store.getters["user/index/userCallWasCalled"])},localUserInitialized(){return this.userInitialized}},watch:{localUserInitialized(t){t===!0&&this.showToUser===!1&&T(new A("Permission required"),!1)}},mounted(){this.pressReport?.id&&this.$nextTick(()=>{this.$digitalDataLayer.pushPage({},!1,"",document.referrer,this.pressReport?.id)}),this.$bus.$on(W.USER_LOGGED_IN,()=>{this.showToUser===!1?location.reload():this.checkPermission()}),this.checkPermission(),this.$store.dispatch("clickContent",this.pressReport),this.startTracking(this.pressReport,this.estimatedReadTime,!0)},methods:{checkPermission(){this.localUserInitialized===!0&&this.showToUser===!1&&T(new A("Permission required"),!1)},readTimeChanged(t){this.estimatedReadTime=t}}};function Z(t,_,p,i,s,e){const r=P,u=l("PageLoadingContainer");return d(),c(u,{loading:e.showLoading,"has-content":!!e.pressReport},{default:I(()=>[v(r,{id:e.pressReport.id,onReadTimeChange:e.readTimeChanged},null,8,["id","onReadTimeChange"])]),_:1},8,["loading","has-content"])}const ie=D(Y,[["render",Z]]);export{ie as default}; 2function __vite__mapDeps(indexes) { 3 if (!__vite__mapDeps.viteFileDeps) { 4 __vite__mapDeps.viteFileDeps = ["./press-gallery-grid.FJIlV9ey.js","./entry.69fIDJC2.js","./entry.O9KOVcsn.css","./pressDownloadImage.yckNQxev.js","./Button.T5AWWFE_.js","./generic-link.sH4ICgzB.js","./index.tsdXPcWo.js","./get-display-order-id.gVqnfrmQ.js","./getJsonFromLocalStorage.zpM1VE--.js","./icon-svg.MovJj9Cf.js","./icon-svg.3pVHMq3X.css","./Button.4wCpK8Zu.css","./press-gallery-grid.t4BliOoQ.css","./close-button.kwZi8rpZ.js","./use-show-header-switch.SxI-Hn2a.js","./alertbar-store.JHjDNY1I.js","./close-button.qlyuzfKw.css","./cover-image.EO3Rvddt.js","./cover-image.hf5NK85S.css","./rich-text-document.JemmbTTD.js","./link.NaRSwbHX.js","./link.hcze6LbP.css","./rich-text-document.eJU1TWYj.css","./hero-slider.J9KHZ94c.js","./client-only.Ynh73dye.js","./hero-slider.Xypgjxij.css","./press-download-l
4ink.FHE4j2Kn.js","./press-download-link.m8Hf6-3Y.css","./page-loading-container.JeGAyqy2.js","./page-loading-container.vue.vpk7HpsN.js","./loading-indicator.QXJxHZKp.js","./loading-indicator.VGHaQcck.css"] 5 } 6 return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) 7}
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.