1import{a as q}from"./chunk-DI5BH2A2.js";import{a as W,b as Y}from"./chunk-5V34IOTE.js";import{a as H}from"./chunk-SEZHGVNJ.js";import"./chunk-TEDCDKPV.js";import"./chunk-RZVKQPQT.js";import"./chunk-KETPFOFP.js";import"./chunk-QGHS3H3B.js";import"./chunk-OIHPRXM3.js";import"./chunk-CYTICSJO.js";import"./chunk-OBTBY6WX.js";import"./chunk-JQY7SDL4.js";import{a as $}from"./chunk-KPYHIJ2X.js";import"./chunk-BWUZGX4A.js";import{b as z}from"./chunk-U2R3PQKV.js";import"./chunk-33U7CWH6.js";import{a as j}from"./chunk-HZ4C2I5A.js";import"./chunk-UOITRGZK.js";import{a as O,b as D}from"./chunk-2TL7DSS6.js";import"./chunk-V5ZGPBJ2.js";import"./chunk-W6CTV5QR.js";import{c as F,x as I}from"./chunk-QJR3TNSK.js";import{o as R}from"./chunk-ORHRSOOZ.js";import"./chunk-DBVLANSY.js";import"./chunk-HNJ6M6TB.js";import"./chunk-YFQ7JV6D.js";import"./chunk-QTFKSNAC.js";import"./chunk-W4XBYBVE.js";import{n as S,t as T}from"./chunk-5BWIBOEJ.js";import{$b as r,D as U,Db as b,Dc as s,Ec as l,Oc as P,Tb as p,Tc as k,Uc as L,Vb as g,_b as c,ac as a,ad as v,bc as m,bd as h,g as M,h as A,ha as _,hb as E,nb as i,pc as d,q as x,r as B,vd as N}from"./chunk-TWWR6OUJ.js";import"./chunk-WB52SRLZ.js";import{a as y}from"./chunk-ZRJ5ZCFR.js";var V=()=>[120],X=n=>({sizes:n});function Z(n,o){if(n&1&&(r(0,"div",1),m(1,"gc-image",7),a()),n&2){let e=d(2);i(),c("fit","cover")("media",e.sidebarContent.featuredImage)("imageType",L(4,X,k(3,V)))}}function ee(n,o){if(n&1&&(r(0,"div",3)(1,"p",8),s(2),a(),r(3,"p",9)(4,"a",10),s(5),a()()()),n&2){let e=d(),t=d();i(2),l(e.caseWebsite),i(2),c("href",P(t.sidebarContent.websiteURL),E),i(),l(t.sidebarContent.websiteName)}}function te(n,o){if(n&1&&(r(0,"div",3)(1,"p",8),s(2),a(),r(3,"p",11),s(4),a()()),n&2){let e=d(),t=d();i(2),l(e.caseLocation),i(2),l(t.sidebarContent.location)}}function ie(n,o){if(n&1&&(r(0,"div",3)(1,"p",8),s(2),a(),r(3,"p",11),s(4),a()()),n&2){let e=d(),t=d();i(2),l(e.caseIndustry),i(2),l(t.industry)}}function ne(n,o){if(n&1&&(r(0,"div",3)(1,"p",8),s(2),a(),r(3,"p",9)(4,"a",12),s(5),a()()()),n&2){let e=d(),t=d();i(2),l(e.caseProduct),i(2),c("gcoreLink",t.productUrl),i(),l(t.productName)}}function oe(n,o){if(n&1&&(r(0,"div",0),p(1,Z,2,6,"div",1),r(2,"div",2),p(3,ee,6,4,"div",3),p(4,te,5,2,"div",3),p(5,ie,5,2,"div",3),p(6,ne,6,3,"div",3),a(),r(7,"div",4)(8,"p",5),s(9),a(),r(10,"a",6),s(11),a()()()),n&2){let e=o,t=d();i(),g(t.sidebarContent.featuredImage?1:-1),i(2),g(e.caseWebsite&&t.sidebarContent.websiteName&&t.sidebarContent.websiteURL?3:-1),i(),g(t.sidebarContent.location&&e.caseLocation?4:-1),i(),g(e.caseIndustry?5:-1),i(),g(e.caseProduct?6:-1),i(3),l(t.productBannerTitle),i(),c("href",P(e.productBannerUrl),E),i(),l(e.productBannerName)}}var G=(()=>{class n{constructor(){this.strapiService=_(I),this.industry="",this.productBannerTitle="",this.productName="",this.productUrl=""}ngOnInit(){this.content$=this.getContent()}getContent(){return this.strapiService.getSingleContentType("blog-page","blogPage").pipe(x(e=>{let t=Array.isArray(e.productBanner)?e.productBanner.find(f=>this.sidebarContent.filter.includes(f.value)):null;this.productBannerTitle=t?t.label:"";let u=Array.isArray(e.industrySidebar)?e.industrySidebar.find(f=>this.sidebarContent.filter.includes(f.value)):null;this.industry=u?u.label:"";let C=Array.isArray(e.productSidebar)?e.productSidebar.find(f=>this.sidebarContent.filter.includes(f.value)):null;return this.productName=C?C.name:"",this.productUrl=C?C.url:"",y({},e)}))}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=b({type:n,selectors:[["gcore-sidebar-case-study"]],inputs:{sidebarContent:"sidebarContent"},decls:2,vars:3,consts:[[1,"gc-sidebar-case-study","gc-border_primary","gc-border-radius_xl"],[1,"gc-sidebar-case-study-img"],[1,"gc-py_6","gc-flex","gc-flex_column","gc-row-gap_4"],[1,"gc-px_6"],[1,"gc-p_6","gc-border-top_primary","gc-flex","gc-flex_column","gc-align-items_start","gc-display-md_none"],[1,"gc-text_secondary","gc-section-title_xs"],["target","_blank",1,"gc-mt_4","gc-flex","gc-py-special_md","gc-px_5","gc-bg_action-brand","gc-border-radius_full","gc-transition_medium","gc-text_action-static","gc-justify_center","gc-label_sm",3,"href"],[1,"gc-border-radius_lg","gc-flex","gc-overflow_hidden",3,"fit","media","imageType"],[1,"gc-text_tertiary","gc-paragraph_sm","gc-paragraph_bold"],[1,"gc-label_sm","gc-text-link"],["target","_blank",1,"gc-text_secondary",3,"href"],[1,"gc-paragraph_md","gc-text_secondary"],[1,"gc-text_secondary",3,"gcoreLink"]],template:function(t,u){if(t&1&&(p(0,oe,12,9,"div",0),v(1,"async")),t&2){let C;g((C=h(1,1,u.content$))?0:-1,C)}},dependencies:[T,z,j,S],styles:[".gc-sidebar-case-study[_ngcontent-%COMP%]{margin-top:2.438rem}.gc-sidebar-case-study-img[_ngcontent-%COMP%]{width:6.5rem;aspect-ratio:4/3;margin-left:1.5rem;margin-top:-2.438rem}.gc-sidebar-case-study-img[_ngcontent-%COMP%] gc-image[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})}}return n})();function re(n,o){if(n&1&&(r(0,"section",0)(1,"div",1),m(2,"gcore-breadcrumbs",2),r(3,"div",3)(4,"div",4),m(5,"gc-article-header",5),r(6,"div",6),m(7,"gcore-sidebar-case-study",7),a(),r(8,"div",8),m(9,"gcore-editor",9),a()(),r(10,"div",10),m(11,"gcore-sidebar-case-study",7),a()()(),m(12,"gcore-resources-section",11),a(),m(13,"gcore-cta-section",5)),n&2){let e=o,t=d();i(2),c("items",e.breadcrumbs)("pageTitle",e.pageTitle),i(3),c("content",t.articleHeader),i(2),c("sidebarContent",t.sidebarContent),i(2),c("text",e.pageText),i(2),c("sidebarContent",t.sidebarContent),i(),c("content",t.sliderContent)("filter",e.filter)("hiddenArticle",e.route),i(),c("content",e.joinSection)}}var J=class w{constructor(){this.strapiService=_(I),this.seoService=_(F),this.route=_(R),this.cd=_(N)}ngOnInit(){this.content$=this.getPageContent(),this.cd.detectChanges()}getPageContent(){return B([this.strapiService.getPageFromCollection("cases",this.route.
1snapshot.routeConfig?.path??""),this.strapiService.getSingleContentType("blog-page","blogPage")]).pipe(D(this),x(([o,e])=>(this.seoService.setMetaInfo(o.metaData,o.featuredImage),this.sliderContent={source:"case-studies",sectionConfig:{darkTheme:!1,secondaryTheme:!1,topMargin:"lg",bottomMargin:"none"},variant:"slider-horizontal",headline:e.caseSliderTitle,quantity:6},this.articleHeader={customPublishDate:o.customPublishDate,pageText:o.pageText,readText:e.readText,pageTitle:o.pageTitle},this.sidebarContent={websiteName:o.websiteName,websiteURL:o.websiteURL,location:o.location,featuredImage:o.featuredImage,filter:o.filter},y(y({},o),e))),U(o=>(console.error(o),M)))}static{this.\u0275fac=function(e){return new(e||w)}}static{this.\u0275cmp=b({type:w,selectors:[["gcore-case-study"]],decls:2,vars:3,consts:[[1,"gc-pt_24","gc-pb_24","gc-content-check"],[1,"gc-container"],[3,"items","pageTitle"],[1,"gc-container_grid","gc-pt_12","gc-pt-md_8"],[1,"gc-grid-col-span_8","gc-grid-col-md_full"],[3,"content"],[1,"gc-display_desktop-none","gc-display-md-block","gc-mt_16"],[3,"sidebarContent"],[1,"gc-mt_16"],[3,"text"],[1,"gc-grid-col_10","gc-grid-col-span_3","gc-grid-col-md_full","gc-pt-md_12","gc-display-md_none"],[3,"content","filter","hiddenArticle"]],template:function(e,t){if(e&1&&(p(0,re,14,10),v(1,"async")),e&2){let u;g((u=h(1,1,t.content$))?0:-1,u)}},dependencies:[T,Y,W,q,$,G,H,S],encapsulation:2,changeDetection:0})}};J=A([O()],J);export{J as CaseStudyComponent}; 2//# sourceMappingURL=chunk-NGOQG3W4.js.map
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.