PageSourceSearch

https://www.bjornborg.com/us/layouts-default-TabLayout-548c5d602c1e27b88e63.js

js bjornborg.com collected 2026-09-24 21:24:12 UTC 3,591 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5914],{12513:function(e,t,l){l.r(t);var n=l(11041),r=l(6916),i=l(56764),a=l(25279),o=l(17507),s=l(54932),c=l(97985),d=l(41075),u=l(46828),p=l(86912),h=l(85626),x=l(76353),f=l(92313),g=l(8563),b=l(1620);const v=(0,r.zo)("section",{}),y=(0,r.zo)("div",{padding:"20px 0 10px",position:"sticky",top:"0",backgroundColor:n.O9.white,zIndex:n.W5.search-1,transitionDuration:n.lI.primary,transitionProperty:"top",transitionTimingFunction:n.Z5.ease}),m=(0,r.zo)("div",{marginTop:["6px",null,"14px"]});t.default=e=>{var t;let{isHero:l=!1,content:Z={},layout:L}=e;const{anchorTag:_,heading:w,tabs:j,moduleMarginStyle:A,_editable:O}=Z,[R]=(0,r.hQ)(),{0:k,1:S}=(0,i.useState)(0),C=(0,i.useRef)(null),B=(0,i.useRef)(),D=(0,d.Z)({style:A}),E=(0,c.Z)(),T=null==_||null===(t=_[0])||void 0===t?void 0:t.anchorTag,z=(0,x.ZP)({heading:w,defaultStyle:"s",defaultType:"h2"}),N={};return null==j||j.forEach(((e,t)=>{N[""+e.label]={isActive:t===k,label:e.label,onClick:()=>(e=>{C.current&&(0,u.ZP)({top:window.pageYOffset+C.current.getBoundingClientRect().top-61}),S(e)})(t),sbEditable:(0,h.Z)(e._editable)}})),(0,p.Z)("BODY.SCROLL_DOWN",(()=>{var e;null===(e=B.current)||void 0===e||e.style.setProperty("top","-10px")}),[]),(0,p.Z)("BODY.SCROLL_UP",(e=>{var t,l;(null===(t=B.current)||void 0===t?void 0:t.offsetTop)-e.y<21&&(null===(l=B.current)||void 0===l||l.style.setProperty("top","calc(var(--header-height) - 10px"))}),[]),(0,b.jsxs)(v,{$style:{marginTop:l?["24px","48px"]:"0",...D},className:"layout-"+L,id:T,ref:C,...(0,h.Z)(O),children:[(0,b.jsx)("div",{className:R({...E}),children:(null==z?void 0:z.text)&&(0,b.jsx)(o.Z,{$style:{marginLeft:"auto",marginRight:"auto",marginBottom:"0",textAlign:"center",width:["100%",null,"calc(33.3333% - 12px)"]},as:z.type,styleAs:z.style,...z.sbEditable,children:z.text})}),(null==j?void 0:j.length)>0&&(0,b.jsxs)("div",{children:[(0,b.jsx)(y,{$style:{paddingLeft:n.ew,paddingRight:n.ew,marginLeft:"auto",marginRight:"auto"},ref:B,children:(0,b.jsx)(s.Z,{$style:{textAlign:"center"},items:Object.values(N)})}),(0,b.jsx)(m,{children:null==j?void 0:j.map(((e,t)=>{let{content:l,paragraph:n}=e;const r=(0,f.Z)({paragraph:n});return(0,b.jsxs)("div",{className:R({display:t===k?"block":"none"}),children:[(null==r?void 0:r.text)&&(0,b.jsx)("div",{className:R({textAlign:"center",width:["100%",null,"calc(50% + 16px)"],...E,...D}),...r.sbEditable,children:(0,b.jsx)(g.Z,{data:r.text})}),(0,b.jsx)(a.Z,{rerenderOnTabChange:k,modules:l})]},"tab-"+t)}))})]})]})}},54932:function(e,t,l){var n=l(56764),r=l(10762),i=l(17800),a=l(11041),o=l(6916),s=l(1620);const c=(0,o.zo)(r.Z,{whiteSpace:"nowrap","::-webkit-scrollbar":{height:"2px",borderRadius:"2px"},"::-webkit-scrollbar-track ":{borderRadius:"2px"},"::-webkit-scrollbar-thumb":{borderRadius:"2px"},[a.BC.min.tablet]:{textAlign:"center",overflowX:"auto"}});t.Z=e=>{let{items:t,withScrollbar:l=!1,$style:r={},buttonAs:a="",...o}=e;const d=(0,n.useRef)(null);return(0,n.useEffect)((()=>{if(d.current){const e=d.current.querySelector('[aria-current="page"]');e&&e.offsetLeft+e.offsetWidth>d.current.offsetWidth&&(d.current.scrollLeft=e.offsetLeft)}}),[]),(0,s.jsx)(c,{ref:d,withScrollbar:l,as:"nav",scrolldirection:"horizontal",$style:{paddingBottom:l?"16px":0,fontSize:16,...r},...o,children:null==t?void 0:t.map((e=>(0,s.jsx)(i.ZP,{isFullyRounded:!0,as:a,$style:{margin:"0 4px",textTransform:"uppercase"},theme:e.isActive?"solidBlack":"outlinedBlack",to:e.to||null,onClick:e.onClick||null,...e.sbEditable,children:e.label},e.id)))})}}}]);

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.