import{s as I}from"./setupAccordion-sfWloeDA.js";import{A as V,a as O,b as M,c as j}from"./ProductItemsSliderFi-BwkN4O9n.js";import{_ as x,R as F,L as E,C as $,k as N,r as c,o,a as l,w as _,u as b,v as C,p as f,q as r,l as s,b as p,F as T,e as k,n as w,G as B,bc as G}from"./main-DHoZdmBw.js";import{A as L}from"./AccordionItemFi-DoGTBc3p.js";import{_ as S}from"./catalogAttributesMixin-CL45_ybt.js";import{a as P,_ as U}from"./catalogMixin-uYMILN5M.js";import{G as R}from"./GridColumnsFi-Bcnm7nEF.js";import{T as H}from"./TechnicalDetailsTableFi-BOWDTe2B.js";const K={name:"AccordionContentFi",components:{AccordionItemFi:L,RichtextFi:F,LinkFi:E,CloudImageFi:$},mixins:[N,S,P],props:{catalogData:{type:Object,default:()=>({})}},computed:{attributes(){var t;return(t=this.catalogData)==null?void 0:t.Attributes},packageContentMedia(){var t,n;return((n=(t=this.catalogData)==null?void 0:t.Media)==null?void 0:n.filter(e=>e.Type==="Package content"))||[]},hasPackageContentMedia(){return this.isFite&&this.packageContentMedia.length},hasContent(){return this.attributes&&this.attributeName(this.attributes,"INHALT")&&this.attributeValue(this.attributes,"INHALT")||this.hasPackageContent||this.hasPackageContentMedia},documents(){var t,n;return(n=(t=this.catalogData)==null?void 0:t.Documents)!=null&&n.AdditionalDocuments?this.catalogData.Documents.AdditionalDocuments.filter(e=>e.Type==="Installation Instructions"):null},textList(){var t;return(t=this.catalogData)==null?void 0:t.TextList},hasPackageContent(){return this.textListValue(this.textList,"PACKAGE_CONTENT")&&this.isFite}}},z={class:"accordion-content-fi__content"},J={class:"accordion-content-fi__column"},q={key:0,class:"accordion-content-fi__links"};function Q(t,n,e,u,g,a){const i=c("richtext-fi"),h=c("link-fi"),D=c("cloud-image-fi"),y=c("accordion-item-fi");return a.hasContent?(o(),l(y,{key:0,class:"accordion-content-fi","header-tag":"h3","ignore-others":"","scroll-to":""},{header:_(()=>[b(C(t.$dict.get("product-Catalog.Accordions.Content")),1)]),content:_(()=>{var m;return[f("div",z,[f("div",J,[a.hasPackageContent?(o(),l(i,{key:0,class:"accordion-content-fi__text","html-content":{value:t.textListValue(a.textList,"PACKAGE_CONTENT")}},null,8,["html-content"])):r("",!0),s(i,{class:"accordion-content-fi__text","html-content":{value:t.attributeValue(a.attributes,"INHALT")}},null,8,["html-content"])]),(m=a.documents)!=null&&m.length?(o(),p("div",q,[(o(!0),p(T,null,k(a.documents,d=>(o(),l(h,{key:d.Name,href:d.Url,target:"_blank",rel:"noopener",class:"accordion-content-fi__link",size:18,primary:""},{default:_(()=>{var A;return[b(C((A=d.CharacteristicValueNames)==null?void 0:A[0]),1)]}),_:2},1032,["href"]))),128))])):r("",!0),a.hasPackageContentMedia?(o(),p("div",{key:1,class:w({"accordion-content-fi__media":!0,"accordion-content-fi__media--first":(!a.documents||a.documents&&!a.documents.length)&&!t.attributeValue(a.attributes,"INHALT")&&!a.hasPackageContent})},[(o(!0),p(T,null,k(a.packageContentMedia,d=>(o(),p("div",{key:d.Url,class:"accordion-content-fi__media-item"},[s(D,{src:d.Url,alt:d.label,sizes:{xxs:{h:115},xs:{h:115},sm:{h:125},md:{h:142},lg:{h:142},xl:{h:142}},params:"func=bound","do-not-replace-url":""},null,8,["src","alt"])]))),128))],2)):r("",!0)])]}),_:1})):r("",!0)}const W=x(K,[["render",Q]]),X={name:"AccordionLearningTargetsFi",components:{AccordionItemFi:L,RichtextFi:F},mixins:[N,U],props:{catalogData:{type:Object,default:()=>({})}},computed:{textList(){var t;return(t=this.catalogData)==null?void 0:t.TextList},hasTextList(){return this.textListValue(this.textList,"LEARNING_OBJECTIVE")}}},Y={class:"accordion-learning-targets-fi__content"},Z={class:"accordion-learning-targets-fi__column"};function tt(t,n,e,u,g,a){const i=c("richtext-fi"),h=c("accordion-item-fi");return a.hasTextList?(o(),l(h,{key:0,class:"accordion-learning-targets-fi","header-tag":"h3","ignore-others":"","scroll-to":""},{header:_(()=>[b(C(t.$dict.get("product-Catalog.Accordions.Learning-Targets")),1)]),content:_(()=>[f("div",Y,[f("div",Z,[s(i,{class:"accordion-learning-targets-fi__text","html-content":{value:a.hasTextList}},null,8,["html-content"])])])]),_:1})):r("",!0)}const at=x(X,[["render",tt]]),et={name:"AccordionTechnicalDetailsFi",components:{AccordionItemFi:L,CloudImageFi:$,GridColumnsFi:R,TechnicalDetailsTableFi:H},props:{catalogData:{type:Object,default:()=>({})}},computed:{technicalDrawing(){var t,n;return(n=(t=this.catalogData)==null?void 0:t.Media)==null?void 0:n.find(e=>e.OutputType==="PR"&&e.Type==="Technical Drawing")}}},ct={class:"fi-col-span-full md:fi-col-span-6 lg:fi-col-span-5"},nt={class:"fi-col-span-full md:fi-col-span-6 lg:fi-col-span-5 accordion-technical-details-fi__image-wrapper"},ot={key:0,class:"accordion-technical-details-fi__image"};function it(t,n,e,u,g,a){var m;const i=c("technical-details-table-fi"),h=c("cloud-image-fi"),D=c("grid-columns-fi"),y=c("accordion-item-fi");return(m=e.catalogData)!=null&&m.Attributes?(o(),l(y,{key:0,class:"accordion-technical-details-fi","header-tag":"h3","ignore-others":"","scroll-to":""},{header:_(()=>[b(C(t.$dict.get("product-Catalog.Accordions.Technical-Details.Label")),1)]),content:_(()=>[s(D,{columns:12,"grid-class":"lg:fi-grid-cols-10"},{default:_(()=>[f("div",ct,[e.catalogData?(o(),l(i,{key:0,item:{catalogProductData:e.catalogData}},null,8,["item"])):r("",!0)]),f("div",nt,[a.technicalDrawing?(o(),p("div",ot,[s(h,{src:a.technicalDrawing.Url,alt:"",width:"400","do-not-replace-url":""},null,8,["src"])])):r("",!0)])]),_:1})]),_:1})):r("",!0)}const st=x(et,[["render",it],["__scopeId","data-v-37139468"]]),rt={name:"ProductDetailAccordionFi",components:{AccordionBenefitsDescriptionFi:V,AccordionApplicationAuthorisationFi:O,AccordionAssemblyInstructionsFi:M,AccordionTechnicalDetailsFi:st,AccordionDocumentDownloadsFi:j,AccordionContentFi:W,AccordionLearningTargetsFi:at,GridContainerFi:B},props:{fields:{type:Object,default:()=>({})},catalogData:{type:Object,default:()=>({})}},setup(){I()},computed:{isFite(){return this.$fischer.brandId()==="FITE"}}},lt={class:"product-detail-accordions-fi fi-col-start-1 fi-col-end-13 lg:fi-col-start-2 lg:fi-col-end-12"};function dt(t,n,e,u,g,a){const i=c("accordion-benefits-description-fi"),h=c("accordion-learning-targets-fi"),D=c("accordion-content-fi"),y=c("accordion-application-authorisation-fi"),m=c("accordion-assembly-instructions-fi"),d=c("accordion-technical-details-fi"),A=c("accordion-document-downloads-fi"),v=c("grid-container-fi");return o(),l(v,null,{default:_(()=>[f("div",lt,[s(i,{"catalog-data":e.catalogData,"is-detail-page":""},null,8,["catalog-data"]),a.isFite?(o(),l(h,{key:0,"catalog-data":e.catalogData},null,8,["catalog-data"])):r("",!0),a.isFite?(o(),l(D,{key:1,"catalog-data":e.catalogData},null,8,["catalog-data"])):r("",!0),s(y,{"catalog-data":e.catalogData},null,8,["catalog-data"]),s(m,{"catalog-data":e.catalogData},null,8,["catalog-data"]),s(d,{"catalog-data":e.catalogData},null,8,["catalog-data"]),s(A,{"catalog-data":e.catalogData},null,8,["catalog-data"])])]),_:1})}const At=x(rt,[["render",dt]]),_t={name:"ProductDetailSchemaFi",components:{LdJson:G},mixins:[P],props:{catalogData:{type:Object,default:null}},computed:{jsonld(){var t,n,e,u,g;if((n=(t=this.catalogData)==null?void 0:t.categoryData)!=null&&n.categoryName&&this.textListValue((e=this.catalogData)==null?void 0:e.TextList,"ECOMLANG")&&this.$fischer.brandName()){const a=`${this.$fischer.hostUrlBase()}${this.$fischer.pages.products().url}${this.catalogData.categoryData.Slug}`;return JSON.stringify({"@context":"https://schema.org/","@type":"Product",name:this.textListValue(this.catalogData.TextList,"ECOMLANG"),url:`${this.$fischer.hostUrlBase()}${this.$fischer.pages.products().url}${this.catalogData.Slug}`,productID:this.catalogData.ProductId,image:(g=(u=this.catalogData.Media)==null?void 0:u[0])==null?void 0:g.Url,description:this.textListValue(this.catalogData.TextList,"DOKBSTMARKDESCR"),brand:{"@type":"Brand",name:this.$fischer.brandName()},isVariantOf:{"@type":"ProductGroup","@id":a,name:this.catalogData.categoryData.categoryName,url:a,image:this.catalogData.categoryData.categoryMedia}})}return null}}};function ut(t,n,e,u,g,a){const i=c("ld-json");return o(),l(i,{json:a.jsonld},null,8,["json"])}const bt=x(_t,[["render",ut]]);export{At as P,bt as a};