PageSourceSearch

https://www.bjornborg.com/us/libs-storyblok-cms-data-transformer-b…ataTransformerBlock-d9eb822437461f72f328.js

js bjornborg.com collected 2026-09-24 21:24:21 UTC 6,775 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[6387],{29810:function(e,t,i){var l=i(6916),n=i(56764),o=i(10762),r=i(11041),a=i(1620);const s=(0,l.zo)("span",{fontSize:10,lineHeight:"1",fontWeight:500,letterSpacing:"0.4px",fontStyle:"normal",fontFamily:r.Vl.extended,textTransform:"uppercase",whiteSpace:"nowrap"}),d=(0,l.zo)("span",{display:"inline-block",width:"4px",height:"4px",borderRadius:"50%",backgroundColor:"currentColor",flexShrink:0});t.Z=e=>{let{tags:t,$style:i,withFade:l=!0}=e;return(0,a.jsx)(o.Z,{withFade:l,scrolldirection:"horizontal",$style:{display:"flex",gap:"4px",alignItems:"center",flexWrap:"nowrap",width:"100%",maxWidth:"100%",...i},children:t.map(((e,t)=>{const i=e.onClick?{as:"button",$style:{cursor:"pointer"},type:"button",onClick:e.onClick}:{$style:{cursor:"default"}};return(0,a.jsxs)(n.Fragment,{children:[t>0&&(0,a.jsx)(d,{}),(0,a.jsx)(s,{...i,children:e.name},e.id)]},e.id)}))})}},20117:function(e,t,i){i.d(t,{T:function(){return m}});var l=i(60781),n=i(6916),o=i(11041),r=i(53142),a=i(17507),s=i(29990),d=i(14345),c=i(58307),p=i(56764),x=i(29810),u=i(87867),h=i(1620);const g=(0,n.zo)("div",{display:"flex",flexDirection:"column",justifyContent:"center",gap:"16px"}),f=(0,n.zo)("div",{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",gap:"14px",width:"100%",height:"100%"}),m=e=>{let{$style:t,background:i,hasResponsiveDesignFrom:m,headingType:y="h3",label:v,linkLabel:b,loading:w="lazy",tags:j,to:Z,...k}=e;const[$]=(0,n.hQ)(),{0:S,1:z}=(0,p.useState)(!1);b=b||"Go to article";const L=!!m,D=L?c.p8.findIndex((e=>e===m))-1:0,C=Array(D).fill(null);return(0,h.jsxs)(g,{$style:{flexDirection:L?["row"].concat((0,l.Z)(C),["column"]):"column",overflow:"hidden",textOverflow:"ellipsis",...t},onMouseEnter:()=>z(!0),onMouseLeave:()=>z(!1),...k,children:[(0,h.jsx)(s.Z,{isVolatile:!0,to:Z,className:$({display:"block",flexShrink:0,width:L?["104px"].concat((0,l.Z)(C),["100%"]):"100%"}),children:(0,h.jsx)(r.Z,{ratio:1,$style:{width:L?["104px"].concat((0,l.Z)(C),["100%"]):"100%",backgroundColor:o.O9.greyProductBackground,borderRadius:"4px"},children:(0,h.jsx)(d.Z,{media:i,loading:w,$style:{zIndex:1}})})}),(0,h.jsxs)(f,{$style:{padding:L?["12px 0px"].concat((0,l.Z)(C),["0px"]):"0px",overflow:"hidden",textOverflow:"ellipsis"},children:[!!j&&j.length>0&&(0,h.jsx)(x.Z,{tags:j}),(0,h.jsx)(s.Z,{isVolatile:!0,to:Z,className:$({width:"100%",display:"block",minWidth:0}),children:(0,h.jsx)(a.Z,{as:y,styleAs:void 0,$style:{fontSize:18,lineHeight:"1.1",fontWeight:500,fontFamily:o.Vl.regular,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",maxWidth:"100%"},children:v})}),Z&&(0,h.jsx)(u.Z,{label:b,to:Z,theme:"solidWhiteOutlined",$style:{marginTop:"auto"},forceHover:S})]})]})}},90120:function(e,t,i){i.r(t),i.d(t,{default:function(){return S}});var l=i(40435),n=i(6916),o=i(17507),r=i(83106),a=i(56764),s=i(20117),d=i(20006),c=i(11041),p=i(58307),x=i(5929),u=i(1620);const h=(0,a.forwardRef)(((e,t)=>{let{...i}=e;const{scrollPrev:l,canScrollPrev:n}=(0,r.vr)();return(0,u.jsx)(x.Z,{ref:t,$style:{marginRight:"4px"},disabled:!n,size:"m",icon:"chevron-left",onClick:l,...i})})),g=(0,a.forwardRef)(((e,t)=>{let{...i}=e;const{scrollNext:l,canScrollNext:n}=(0,r.vr)();return(0,u.jsx)(x.Z,{ref:t,$style:{marginLeft:"4px"},disabled:!n,size:"m",icon:"chevron-right",onClick:l,...i})})),f=(0,n.zo)("div",{display:"none",position:"absolute",top:"-46px",zIndex:c.W5.overlayHeader,flexDirection:"row",right:"0",padding:"0",margin:"0",[c.BC.min.laptop]:{display:"flex"}});var m=e=>{let{show:t}=e;return t?(0,u.jsxs)(f,{children:[(0,u.jsx)(h,{"aria-label":"Go to the next slide",disabled:!1}),(0,u.jsx)(g,{"aria-label":"Go to the previous slide",disabled:!1})]}):null};var y=e=>{let{articles:t=[]}=e;const{0:i,1:l}=(0,a.useState)();return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(r.lr,{$style:{width:"100dvw",marginLeft:"-"+c.ew[0],[p.ZP.min.laptop]:{marginLeft:"0",width:"100%"}},setApi:l,orientation:"horizontal",opts:{align:"start",loop:!1,skipSnaps:!1,inViewThreshold:0,breakpoints:{[p.ZP.min.laptop]:{dragFree:!1,watchDrag:!1}}},plugins:[(0,d.Y)()],children:[(0,u.jsx)(m,{show:(null==t?void 0:t.length)>3}),(0,u.jsxs)(r.KI,{$style:{height:"100%",width:"100%",marginLeft:"auto",marginRight:"auto"},onWheel:e=>{if(e.shiftKey){const t=e.deltaY>0?"scrollNext":"scrollPrev";null==i||i[t]()}},children:[null==t?void 0:t.map(((e,i)=>{const l=0===i,{background:n,categories:o,label:a,to:d}=e;return(0,u.jsx)(r.d$,{draggable:!0,$style:{flexBasis:"90%",paddingLeft:"16px",paddingRight:"16px",[p.ZP.min.laptop]:{flexBasis:(null==t?void 0:t.length)>3?"31%":"33%",marginLeft:l?"0px":"16px",paddingRight:"0",paddingLeft:"0"}},children:(0,u.jsx)(s.T,{background:n,hasResponsiveDesignFrom:"laptop",label:a,tags:o,to:d})},null==e?void 0:e.id)}
1)),(0,u.jsx)(r.d$,{draggable:!1,"aria-hidden":"true",tabIndex:-1,$style:{flexBasis:"10%",pointerEvents:"none",background:"transparent",[p.ZP.min.laptop]:{flexBasis:"0%",width:"0",padding:"0",margin:"0"}}},"empty-slide")]})]})})},v=i(53767),b=i(97985);const w=(0,n.zo)("div",{position:"relative",display:"flex",flexDirection:"column",gap:"24px",paddingBottom:"24px"}),j=(0,n.zo)("div",{display:"flex",flexDirection:"column",gap:"16px",width:"100%",...(0,b.Z)()});var Z=e=>{let{heading:t,id:i,sbEditable:l,articles:n=[],...r}=e;return(0,u.jsxs)(w,{style:{borderBottom:"1px solid "+v.Z.grey.one},id:i,...l,...r,children:[(null==t?void 0:t.text)&&(0,u.jsx)(j,{$style:{paddingLeft:"0",marginLeft:"0"},children:(null==t?void 0:t.text)&&(0,u.jsx)(o.Z,{$style:{fontSize:"12px",textTransform:"uppercase",fontWeight:500,letterSpacing:"0.24px",lineHeight:"100%",color:v.Z.black},as:t.type||"h2",styleAs:t.style||"ml",...t.sbEditable,children:t.text})}),(0,u.jsx)(y,{articles:n})]})};const k=e=>{let{articles:t,label:i,...l}=e;return(0,u.jsx)(Z,{heading:i,articles:t,...l})};var $=i(76353);var S=e=>{var t;let{content:i}=e;const n=(0,$.ZP)({heading:null==i?void 0:i.heading,defaultStyle:"l",defaultType:"h2"}),o=(null==i||null===(t=i.articles)||void 0===t?void 0:t.map((e=>(0,l.S)(e,[.5,null,.33]))))||[];return(0,u.jsx)(k,{articles:o,label:n,id:i._uid})}},65221:function(e,t){t.Z=function(e){if(void 0===e&&(e=[]),!e)return[];return e.filter((e=>e)).map((e=>"string"==typeof e?{id:e,name:e}:{name:e.name,id:e.id}))}},40435:function(e,t,i){i.d(t,{S:function(){return o}});var l=i(65221),n=i(26415);const o=function(e,t){void 0===t&&(t=[.5,null,.33]);const i={...e},{backgroundMobile:o,categories:r,firstPublishedAt:a,mediaVertical:s,path:d,priority:c="0",title:p}=i,x=(0,l.Z)(r),u=(null==s?void 0:s[0])||(null==o?void 0:o[0])||null;return{background:u?(0,n.Z)([u],t):null,categories:r,firstPublishedAt:a,label:p,maxRows:2,priority:c,tags:x,to:d}}}}]);

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.