PageSourceSearch

https://www.systemair.com/_next/static/chunks/5712.562ebb93f6545a8a.js

js systemair.com collected 2026-09-24 17:35:24 UTC 7,616 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5712,8507],{73331:(e,s,t)=>{t.r(s),t.d(s,{default:()=>R});var i=t(95155),a=t(99764),l=t(69730),c=t.n(l),r=t(66702),n=t(10991),o=t(49820),d=t(12115),m=t(68287),u=t(41100),p=t(72398),x=t(89640),g=t(57074),h=t(96618),f=t(86917),j=t(80514),v=t(53774),A=t(75428),N=t(98507),I=t(76158),b=t(86503),y=t(20741),k=t.n(y),P=t(56432),w=t(35208),S=t(67228),C=t(97268),_=t(68580),E=t(42469),L=t(83908),M=t(58323),D=t(67763),T=t(64150),U=t(12678);let R=()=>{let e=(0,L.G)(D.JV),s=(0,L.G)(D.ut),t=(0,L.G)(D.Cv),l="Tech specs",y="Documentation",[R,B]=(0,M.B)([l,y]),{showPrices:O,isLoading:z}=(0,_.L)(),{checkout_enabled:G,shop_domain:K,shop_locale:Y}=(0,U.z)().selectSiteConfigurationProperties(["checkout_enabled","shop_domain","shop_locale"]),{ctaWrapRef:Q,isCtaInView:q,ctaArrowDown:F}=(0,E.rJ)(),[V,J]=(0,d.useState)(1),Z=(0,d.useMemo)(()=>(0,r.A)([...s?.buttons||[]],"url"),[s]),{data:H,execute:W,isLoading:$,flush:X}=(0,S.e)("/get-replacement-skus",{preserveData:!0});(0,d.useEffect)(()=>{s?.successorsIds&&s.successorsIds.length>0?W({data:{shopDomain:K,locale:Y,skuId:s.successorsIds}}):X()},[s,W,X,K,Y]);let{name:ee,attributes:es,vendorId:et,images:ei,description:ea,operatingModes:el,relations:ec}=s||{},er=es?.[T.AU.M3_ITEM_DESCRIPTION_KEY],en=es?.[T.AU.M3_PRODUCT_GROUP_NAME_KEY],eo=er?.value,ed=en?.value,em=(0,C.bO)(el),eu=(0,C.PB)(em,s),ep=(0,C.ZP)(s,s?.documents,em),ex=(0,n.A)(eu),eg=(0,n.A)(ep),eh=!!s?.expired,ef=(0,n.A)(H?.items)>0||(0,n.A)(s?.successorsIds)>0&&$,ej=(0,d.useMemo)(()=>{if(!ec?.items||!s?.successorsIds?.length)return ec;let e=new Set(s.successorsIds.map(String));return{...ec,items:ec.items.filter(s=>!e.has(String(s.id)))}},[ec,s]),ev=!!(0,n.A)(ej?.items),eA=(0,d.useMemo)(()=>(0,o.A)(eu,({section:e,name:s,nameKey:t})=>({name:s,nameKey:t,key:e})),[eu]),eN=(0,d.useMemo)(()=>(0,o.A)(ep,({section:e,name:s,nameKey:t})=>({name:s,nameKey:t,key:e})),[ep]),eI=!eh&&!ef;return(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)("div",{children:(0,i.jsx)(j.A,{productName:ee,techSpecSections:eA,isCtaInView:q,ctaArrowDown:F,documentationSections:eN,hasAccessories:ev,isExpired:eh,isReplaced:ef,hideBuyButton:!eI,hideSkuSelectionLink:!0})}),(0,i.jsx)(b.A,{size:w.YuK.FLUID,className:"mb-400",children:(0,i.jsxs)("div",{className:"row",children:[(ef||eh)&&(0,i.jsx)(m.A,{isReplaced:ef,isExpired:eh,brand:t,replacementSkus:H?.items,isLoading:$}),(0,i.jsx)("div",{className:"col-12 sm:col-6 print:align-top",children:ei&&(0,i.jsxs)("div",{className:"relative mb-100",children:[s?.symbols&&(0,i.jsx)(h.A,{symbols:s.symbols}),(0,o.A)(ei,e=>(0,i.jsx)("div",{className:k()["product-images-wrap"],children:(0,i.jsx)("div",{className:k()["product-slide"],children:(0,i.jsx)(P._V,{imageUrl:e,className:k()["sku-image"],alt:(0,u.C)(e),useDefaultImageTag:!0})})},e))]})}),(0,i.jsxs)("div",{className:"col-12 sm:col-6 flex flex-col gap-200 gtm-product-section",id:"product-purchasing-section","data-gtm-name":"Purchasing","data-gtm-label":`Purchasing (${e})`,children:[ee&&(0,i.jsx)(x.A,{name:ee,categoryName:"string"==typeof ed?ed:void 0}),eo&&(0,i.jsx)("p",{className:"text-md",children:eo}),eI?(0,i.jsx)(v.A,{sku:{skuId:s?.id,name:s?.name,vendorId:s?.vendorId,price:s?.price},showPrices:O,ctaWrapRef:Q,isProductDataLoading:z,isPriceDisplayLoading:z,quantity:V,setQuantity:J,productAndSkuButtons:Z,showProjectPlanner:!0,projectPlannerId:s?.id}):(0,i.jsx)("div",{className:"text-right pb-150 text-style-label-small",children:et})]})]})}),(0,i.jsx)(A.A,{sku:s,operatingModes:el,techSpecSections:eA,documentationSections:eN,hasAccessories:ev}),ea&&(0,i.jsx)(g.A,{children:(0,i.jsx)(I.A,{children:(0,i.jsx)(p.Ay,{text:ea,smallTextSize:!0})})}),!!ex&&(0,i.jsx)(f.default,{sku:s,operationModeItems:el,icon:a.Qt,parentId:f.PARENT_ID.TECH_SPECS,sections:eu,name:ee,headline:R,headlineKey:l,productCategory:"string"==typeof ed?ed:void 0,product:ee}),!!eg&&(0,i.jsx)(f.default,{sku:s,operationModeItems:el,icon:a.bL,parentId:f.PARENT_ID.DOCUMENTATION,sections:ep,name:ee,headline:B,headlineKey:y,productCategory:"string"==typeof ed?ed:void 0,product:ee}),ev&&(0,i.jsx)(N.default,{icon:a.q_,relations:ej,className:c()("pt-150 mt-700","gtm-product-section"),buy:G,gtmTracking:!0})]})}},98507:(e,s,t)=>{t.r(s),t.d(s,{default:()=>y});var i=t(95155),a=t(99764),l=t(9969),c=t(69730),r=t.n(c),n=t(66702),o=t(49820),d=t(12115),m=t(42387),u=t(56411),p=t(91952),x=t(86503),g=t(99779),h=t(56432),f=t(55521),j=t(35208),v=t(91800),A=t(83908),N=t(58323),I=t(67763),b=t(22082);let y=({relations:e,isInGrid:s,isLoading:t,showHeading:c=!0,showPrices:y,buy:k,buyQuantity:P,className:w,gtmTracking:S,icon:C,productCategory:_,product:E})=>{let L=(0,A.G)(I.YB),M=(0,d.useMemo)(()=>(0,n.A)(e?.items,"id"),[e]),D="Accessories",[T,U]=(0,N.B)([D,"Quick search"]),{activeFilter:R,setActiveFilter:B,filteredRelations:O,searchValue:z,setSearchValue:G}=function(e){let[s,t]=(0,d.useState)(),[i,a]=(0,d.useState)([]),[l,c]=(0,d.useState)("");return(0,d.useEffect)(()=>{c(""),t(void 0)},[e]),(0,d.useEffect)(()=>{a(l||s?e.filter(e=>{let t=!l||e.name.toLowerCase().includes(l.toLowerCase())||!!e.vendorId?.toLowerCase().includes(l.toLowerCase()),i=!s||s===e.filter;return t&&i}):e)},[l,s,e]),{activeFilter:s,setActiveFilter:t,filteredRelations:i,searchValue:l,setSearchValue:c}}(M),K=(0,d.useMemo)(()=>(0,o.A)(M,"id"),[M]),Y=(0,v.wC)(!!y,K),Q=(0,v.ey)(O,Y);return(0,i.jsx)(f.A,{id:"relations",className:w,...S&&{"data-gtm-name":D,"data-gtm-label":T},children:(0,i.jsxs)(x.A,{size:j.YuK.FLUID,isInGrid:s,children:[c&&(0,i.jsx)("div",{className:"row",children:(0,i.jsxs)("div",{className:"col-12 flex flex-row gap-100 items-center mb-26",children:[C&&
1(0,i.jsx)(l.g,{icon:C,className:"text-lg"}),(0,i.jsx)(h.DZ,{level:2,className:"m-0",children:T})]})}),t&&!M.length&&(0,i.jsx)("div",{className:"row",children:(0,i.jsx)("div",{className:"col-12",children:(0,i.jsx)(g.A,{})})}),(0,i.jsxs)("div",{className:"flex gap-400 mb-200 sm-max:flex-col sm-max:gap-200 desktop-nav:items-center",children:[(0,i.jsxs)("div",{className:"form-input-icon-left form-input-icon-right-clickable h-full",children:[(0,i.jsx)("input",{type:"text",placeholder:U,className:"form-input form-input-small",onChange:e=>G(e.target.value),value:z,disabled:t}),(0,i.jsx)(l.g,{icon:a.Mj}),(0,i.jsx)("button",{onClick:()=>G(""),className:r()("absolute flex items-center top-100 right-150",{hidden:!z}),children:(0,i.jsx)(l.g,{icon:a.yY})})]}),e?.filters&&e.filters.length>1&&(0,i.jsx)("div",{className:"flex flex-wrap gap-050",children:(0,o.A)(e.filters,(s,t)=>(0,i.jsx)(m.A,{name:s,label:e.items.find(e=>e.group===s)?.groupName,isSelected:R===s,handleToggle:()=>{B(R===s?void 0:s)}},s+t))})]}),!!z&&!O.length&&(0,i.jsx)("div",{className:"flex justify-center",children:(0,i.jsx)(p.A,{})}),O.length?(0,i.jsxs)("div",{className:"row -mx-100 relative gtm-product-list",children:[t&&(0,i.jsx)("div",{className:"absolute bg-white bg-opacity-50 flex justify-center p-400 w-full h-full z-[100]",children:(0,i.jsx)(l.g,{icon:a.sq,spin:!0,size:"3x"})}),(0,o.A)(Q,(e,s)=>(0,i.jsx)("div",{className:"gtm-product-card col-6 md:col-4 lg:col-3 mb-200 px-100",children:(0,i.jsx)(u.A,{linkUrl:(0,b.o)(e.name,e.id,L),name:e.name,imageUrl:e.image,vendorId:e.vendorId,gtmCategoryName:e?.filter,tagline:e.tagline,type:j.ii8.RELATION,buy:k,showPrice:y,buyQuantity:P,skuId:e.id,price:function(e){if(e)return{userPrice:e.float,listPrice:e.float,discountPercentage:0,finalPrice:e.float,formattedUserPrice:e.string,formattedListPrice:e.string,formattedFinalPrice:e.string}}(e.price),productCategory:_,product:E})},e.id+s))]}):null]})})}}}]);

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.