PageSourceSearch

https://www.karitraa.com/eu/en/e54b8853c9db2104aaa8472f805c20ecb9e1cd8c-9a9f12915952e8fa6b68.js

js karitraa.com collected 2026-10-02 09:58:29 UTC 14,447 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[7787],{91854:function(e,t,n){var i,r=n(31461),l=n(2784),a=n(7937),o=n(75892),s=n(83699),d=n(51952),c=n(52322),u=["$style","buttonSize","buttonStyle","fontStyling","items","theme","withScrollbar"],p=(0,o.zo)("nav",{padding:"0 0 1px 1px"}),g=(0,o.zo)("ul",((i={display:"flex",gap:"8px",whiteSpace:"nowrap",overflowX:"auto",margin:0,padding:0,listStyle:"none"})[a.Z.min["desktop.sm"]]={flexWrap:"wrap",whiteSpace:"initial",overflowX:"initial"},i["::-webkit-scrollbar"]={height:"2px",borderRadius:"2px"},i["::-webkit-scrollbar-track "]={borderRadius:"2px"},i["::-webkit-scrollbar-thumb"]={borderRadius:"2px"},i)),v=(0,o.zo)("li",{display:"flex"});t.Z=function(e){var t=e.$style,n=void 0===t?{}:t,i=e.buttonSize,a=void 0===i?"sm":i,o=e.buttonStyle,f=void 0===o?{}:o,h=e.fontStyling,x=void 0===h?{}:h,m=e.items,y=void 0===m?[]:m,b=e.theme,j=void 0===b?"default":b,O=e.withScrollbar,S=void 0!==O&&O,R=(0,r.Z)(e,u),_=(0,l.useRef)(null);return(0,l.useEffect)((function(){if(_.current){var e=_.current.querySelector('[aria-current="page"]');e&&e.offsetLeft+e.offsetWidth>_.current.offsetWidth&&(_.current.scrollLeft=e.offsetLeft)}}),[]),(0,c.jsx)(p,Object.assign({"aria-label":"Subcategories"},R,{children:(0,c.jsx)(g,{$style:Object.assign({paddingBottom:S?"16px":0},n),ref:_,children:y.map((function(e){return(0,c.jsx)(v,{children:(0,c.jsx)(s.Z,{$style:Object.assign({},f,x),active:e.isActive,"aria-current":e.isActive?"page":void 0,as:d.Link,theme:j,size:a,to:e.to,onClick:e.onClick,children:e.label})},e.id)}))})}))}},78685:function(e,t,n){var i=n(2784),r=n(64541),l={limit:parseInt("32",10),cacheKey:""},a=function(e,t,n,i){return{cacheKey:i,list:e.slice((n-1)*t,n*t),page:n,pageCount:Math.ceil(e.length/t)}};t.Z=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={});var n=(0,r.useLocation)(),o=(0,i.useState)({}),s=o[0],d=o[1],c=Object.assign({},l,t),u=c.limit,p=c.cacheKey;(0,i.useEffect)((function(){s.cacheKey&&p!==s.cacheKey&&d(a(e,u,1,p))}),[p]);var g=function(e){var t=e.match(/(&?page=|\/)([0-9]+)(\/?)$/);if(t)return parseInt(t[2],10)}(""+n.pathname+n.search)||1;return s.page?s:a(e,u,g,p)}},17075:function(e,t,n){var i=n(57890),r=i._f?getComputedStyle(document.body):void 0,l=Object.assign({accountHeightHeader:20,bannerHeight:24,headerHeight:52,topLogoMobileHeight:32},i._f?{accountHeightHeader:parseInt((null==r?void 0:r.getPropertyValue("--height-header-account"))||"20",10),bannerHeight:parseInt((null==r?void 0:r.getPropertyValue("--height-banner"))||"24",10),headerHeight:parseInt((null==r?void 0:r.getPropertyValue("--height-header"))||"52",10),topLogoMobileHeight:parseInt((null==r?void 0:r.getPropertyValue("--height-top-logo-mobile"))||"32",10)}:{});t.Z=l},56849:function(e,t,n){var i=n(32070),r=n(75892),l=n(83699),a=n(77821),o=n(52322),s=(0,r.zo)("div",{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",margin:"0 auto"});t.Z=function(e,t){var n=e.$style,r=void 0===n?{}:n,d=e.heading,c=e.links,u=null==d?void 0:d.trim();return(0,o.jsxs)(s,{$style:r,children:[(0,o.jsx)(a.Z,{$style:{marginBottom:["24px",null,null,"32px"]},as:"h2",children:d}),null==c?void 0:c.map((function(e,n){var r=e.label,a=e.url,s=e.rel;return(0,o.jsx)(l.Z,{isVolatile:!0,$style:{display:"block",marginBottom:c.length-1!==n?"16px":""},as:i.Z,"aria-label":u&&r?r+": "+u:void 0,rel:s,theme:"default",to:a,children:r},t)}))]})}},95100:function(e,t,n){n.r(t),n.d(t,{default:function(){return pe}});var i=n(2784),r=n(58245),l=n(96282),a=n(17075),o=n(50479),s=n(38931),d=n(2673),c=n(9690),u=n(91854),p=n(72678),g=n(16219),v=n(7937),f=n(93812),h=n(54779),x=n(78685),m=n(25987),y=n(38852),b=n(93993),j=n(59735),O=n(75892),S=n(44731),R=n(57890),_=function(e,t){if(R._f&&null!=e&&e.current){var n=t||0,i=(null==e?void 0:e.current.getBoundingClientRect().top)+window.scrollY-n;window.scrollTo({top:i,behavior:"smooth"})}},C=n(18661),P=n(28648),Z=n(77821),w=n(73764),F=n(81480),T=n(51952),A=function(){var e=(0,T.useStaticQuery)("583120482").application.data.config.sortConfig.enabledFacets;return{enabledFacets:(0,F.p)(e)}},E=n(52322),I=function(e){var t,n=e.priceFacetRange,i=e.onHandleFilter,r=A().enabledFacets,l=(0,h.rn)(),a=l.addFacetFilter,o=l.applyFacetFilters,s=l.clearFacetFilters,d=l.facets,c=l.removeFacetFilter,u=l.selectedFacets,p=l.products,g=(null===(t=u.find((function(e){return"price"===e.facet})))||void 0===t?void 0:t.value)||n;return(0,E.jsx)(w.Z,{addFacetFilter:a,applyFacetFilters:o,clearFacetFilters:s,enabledFacets:r,facets:d,hits:p.length,overlayId:f.Rr.CATEGORY_FACET_GROUPS,priceFacetRange:n,removeFacetFilter:c,selectedFacets:u,selectedPrice:g,onHandleFilter:i})},k=n(33665),$=n(67224),L=(0,i.forwardRef)((function(e,t){var n=Object.assign({},((0,k.Z)(e),e)),i=(0,h.rn)(),r=i.products,l=i.selectedFacets,a=r.length;return(0,E.jsx)($.Z,Object.assign({filterOverlayId:f.Rr.CATEGORY_FACET_GROUPS,ref:t,selectedFacets:l,sortOverlayId:f.Rr.CATEGORY_SORT_OPTIONS,totalNumberOfProducts:a},n))}));
1L.displayName="CategoryFilterBar";var B,G,H=L,z=n(47670),N=function(){var e,t,n=(0,T.useStaticQuery)("797825612").application.data.config.categoryPageConfig||{},i=(0,z.Z)({heading:n.filterSectionHeading,defaultType:"h3"});return Object.assign({},n,{filterSectionHeading:i,filterSectionParagraph:null===(e=n.filterSectionParagraph)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.text})},K=n(22259),U=n(43444),Y=n(56849),D=n(16966),V=n(92813),M=n(6223),W=n(77661),q=function(e){return function(t){t({type:"SET_PRODUCT_LIST_LAYOUT",payload:e})}},Q=n(61651),X=(0,O.zo)("button",Object.assign({display:"grid",gridTemplateColumns:"1fr 1fr",gap:"1px",height:"16px",width:"16px"},(0,Q.q)())),J=(0,O.zo)("div",{height:"100%",border:"1px solid var(--color-border)",borderRadius:"1px",transition:"background var(--transition-fast)"}),ee=function(){var e=(0,r.I0)(),t=(0,r.v9)((function(e){return e.productList})).layout,n={background:"grid"===t?"var(--color-bg-inverted)":"transparent"};return(0,E.jsxs)(X,{"aria-label":"grid"===t?"Grid view, selected":"Switch to grid view",type:"button",onClick:function(){return e(q("grid"))},children:[(0,E.jsx)(J,{$style:n}),(0,E.jsx)(J,{$style:n}),(0,E.jsx)(J,{$style:n}),(0,E.jsx)(J,{$style:n})]})}
1,te=(0,O.zo)("button",Object.assign({height:"16px",width:"16px",padding:"1px",border:"1px solid var(--color-border)",borderRadius:"1px"},(0,Q.q)())),ne=(0,O.zo)("div",{height:"100%",borderRadius:"1px",transition:"background var(--transition-fast)"}),ie=function(){var e=(0,r.I0)(),t=(0,r.v9)((function(e){return e.productList})).layout;return(0,E.jsx)(te,{"aria-label":"single-view"===t?"List view, selected":"Switch to list view",type:"button",onClick:function(){return e(q("single-view"))},children:(0,E.jsx)(ne,{$style:{background:"single-view"===t?"var(--color-bg-inverted)":"transparent"}})})},re=!1,le=((B={})[f.Rr.CATEGORY_FACET_GROUPS]=M.Z,B[f.Rr.SEARCH_FACET_GROUPS]=W.Z,B),ae=(0,O.zo)("div",((G={display:"flex",alignItems:"center",gap:"16px"})[v.Z.min["desktop.sm"]]={display:"none"},G)),oe=function(e){var t=e.$style,n=void 0===t?{}:t,r=e.gridContent,l=void 0===r?[]:r,a=e.noProductsButtons,o=void 0===a?[]:a,s=e.noProductsTitle,d=void 0===s?"":s,c=e.ssrPagination,u=void 0!==c&&c,p=e.showPageContent,g=void 0!==p&&p,v=e.filterOverlayId,m=void 0===v?f.Rr.CATEGORY_FACET_GROUPS:v,y=e.title,b=(0,O.hQ)()[0],j=(0,h.rn)(),S=j.products,R=j.cacheKey,_=(0,x.Z)(S,{cacheKey:R}),C=_.list,P=void 0===C?[]:C,Z=_.page,w=_.pageCount,F=N(),T=F.noProductsTitle,A=F.filterSectionHeading,I=F.filterSectionParagraph,k=F.noProductsButton;(0,K.Z)(S);var $=(0,i.useState)(!1)[1];(0,i.useEffect)((function(){re||(re=!0,$(!0))}),[]);var L=le[m],B=S.length;return(0,E.jsxs)("div",{className:b(Object.assign({},n)),id:"pagination-top",children:[(0,E.jsxs)("div",{className:b({display:"flex",flexDirection:"column"}),children:[(0,E.jsxs)("div",{className:b({display:"flex",justifyContent:"space-between",alignItems:"center",margin:"0 var(--margin-content) 24px"}),children:[(0,E.jsxs)(V.Z,{$style:{display:["initial",null,null,null,null,"none"],color:"var(--color-text-subtle)"},fontKeys:"Secondary/12_130",children:[B," ","Products".toLowerCase()]}),(0,E.jsxs)(ae,{children:[(0,E.jsx)(V.Z,{$style:{color:"var(--color-text-subtle)"},fontKeys:"Secondary/12_130",children:"View"}),(0,E.jsx)(ee,{}),(0,E.jsx)(ie,{})]})]}),L&&(0,E.jsx)(L,{$style:{margin:"12px var(--margin-content)"}})]}),P.length?(0,E.jsx)(D.Z,{filterOverlayId:f.Rr.CATEGORY_FACET_GROUPS,filterSectionHeading:A,filterSectionParagraph:I,gridContent:l,items:P,page:Z,pageCount:w,paginationType:u?"url":"query",title:y,totalNumberOfItems:S.length,type:"products",showPageContent:g},re):(0,E.jsx)("div",{className:b({margin:"64px auto"}),children:(0,E.jsx)(Y.Z,{$style:{},heading:d||T,links:(0,U.A)(o.length?o:k)})})]})},se=n(67169),de=function(){var e=(0,h.rn)(),t=e.sortBy,n=e.sortOrder,i=e.applySort;return(0,E.jsx)(se.Z,{applySort:i,overlayId:f.Rr.CATEGORY_SORT_OPTIONS,sortBy:t,sortOrder:n})},ce=(0,O.zo)("div",{position:"relative"}),ue=(0,O.zo)("div",{display:"flex",flexDirection:"column",alignItems:"center",marginTop:"36px",marginBottom:"40px",paddingLeft:"var(--margin-content)",paddingRight:"var(--margin-content)"}),pe=function(e){var t,n,R,w,F,T,A,k,$,L,B=e.pageContext,G=e.previewDataOverride,z=(0,O.hQ)()[0],N=(0,i.useRef)(),K=(0,i.useRef)(),U=G||B.page.data,Y=U.breadcrumbs,D=U.content,V=U.relationships,M=U.id,W=U.name,q=U.slug,Q=U.path,X=U.url,J=(0,r.v9)((function(e){var t,n;return null==e||null===(t=e.auth)||void 0===t||null===(n=t.user)||void 0===n?void 0:n.contactId})),ee=a.Z.headerHeight,te=D.description,ne=D.faceting,ie=D.gridContent,re=D.headingLabel,le=D.manuallyAddedCategoryButtons,ae=D.noProductsButtons,se=D.noProductsTitle,pe=D.overrideCategoryButtons,ge=D.pageContentAboveProducts,ve=D.pageContentBelowProducts,fe=(0,j.Z)({paragraph:te}),he=null==ne||null===(t=ne.products)||void 0===t?void 0:t.reduce((function(e,t,n){var i=e.max,r=t.price;return{min:0,max:n?i<(null==r?void 0:r.salePrice)?null==r?void 0:r.salePrice:i:null==r?void 0:r.salePrice}}),{min:0,max:0}),xe=(0,d.Z)(),me=(0,i.useMemo)((function(){return(0,S.i9)(null==ne?void 0:ne.facets,xe)}),[null==ne?void 0:ne.facets]),ye=(0,s.Z)(),be=!(null==B||null===(n=B.page)||void 0===n||!n.ssrPagination),je={name:W,path:Q,slug:q,id:M},Oe=(0,C.Z)(V.children),Se=Oe?V.parent:je,Re=Oe?V.siblings:V.children;L=pe?null==le?void 0:le.map((function(e){return{id:e._uid,isActive:e._uid===M,label:e.label,to:""+e.link.url}})):null==Re?void 0:Re.map((function(e){return{id:e.id,isActive:e.id===M,label:e.name,to:""+e.path}})),null!=Se&&Se.name&&L.unshift({id:Se.id,isActive:Se.id===M,label:"View all",to:null!==Se.path?Se.path:X}),(0,i.useEffect)((function(){var e;B&&m.Z.trigger(y.kl.VIEW,{currencyCode:null===(e=ye.pricelist)||void 0===e?void 0:e.currency,locale:ye.application.locale,pageTitle:B.page.data.name,userId:J})}),[null==B?void 0:B.page]);var _e=(0,h.rn)(),Ce=_e.products,Pe=_e.cacheKey,Ze=1===(0,x.Z)(Ce,{cacheKey:Pe}).page;return(0,E.jsxs)(ce,{children:[!!Y&&(0,E.jsx)(c.Z,{$style:{margin:"8px 0 16px 16px"},items:Y,listStyles:o.Z["Misc/12_100_500"]}),(0,E.jsxs)(ue,{children:[(0,E.jsx)(Z.Z,{$style:{marginBottom:"16
1px",textAlign:"center"},as:"h1",fontKeys:["Primary/32_94_-2_700",null,null,null,null,"Primary/64_94_-2_700"],children:re}),fe.text&&(0,E.jsx)("div",Object.assign({style:{marginBottom:"32px",display:"flex",textAlign:"center"}},fe.sbEditable,{children:(0,E.jsx)(b.ZP,{data:fe.text})})),(0,E.jsx)("div",{className:z({width:["100%",null,null,null,null,"50%"]}),children:!!L.length&&(0,E.jsx)(u.Z,{$style:(F={justifyContent:["start",null,null,null,"center"],padding:["0 var(--margin-content)",null,null,null,null,"none"],margin:["0 -8px",null,null,null,null,"none"]},F[v.Z.max["mobile.sm"]]={flexWrap:"wrap",overflowX:"visible",whiteSpace:"normal"},F["::after"]=(R={content:'""',position:"absolute",right:0,width:"20px",height:"40px",background:["linear-gradient(270deg, var(--color-bg) 0%, var(--color-bg-gradient) 100%)",null,null,null,null,"none"]},R[v.Z.max["mobile.sm"]]={display:"none"},R),F["::before"]=(w={content:'""',position:"absolute",left:0,width:"20px",height:"40px",background:["linear-gradient(90deg, var(--color-bg) 0%, var(--color-bg-gradient) 100%)",null,null,null,null,"none"]},w[v.Z.max["mobile.sm"]]={display:"none"},w),F),id:"pagination-top",items:L,buttonStyle:(T={borderColor:"var(--color-text-button-inverted)"},T[v.Z.max["mobile.sm"]]={whiteSpace:"normal",overflowWrap:"anywhere",textAlign:"center"},T),theme:"highlightinvertedsecondary",fontStyling:o.Z["Misc/14_100_-1_500_UC"]})})]}),Ze&&ge?(0,E.jsx)("div",{className:z({marginBottom:["26px",null,null,null,null,"16px"]}),children:(0,E.jsx)(l.Z,{modules:ge})}):null,B?(0,E.jsx)("div",{ref:K,className:z({position:"relative"}),id:(null===(A=L)||void 0===A?void 0:A.length)>1?void 0:"pagination-top",children:(0,E.jsxs)(h.Jd,{allProducts:ne.products,facets:me.filter((function(e){return!!e.data.length})),facetMap:g.F0,children:[(0,E.jsx)(H,{$style:{position:"sticky",top:"var(--height-header)",padding:"8px var(--margin-content)"},ref:N}),(0,E.jsx)(oe,{gridContent:ie,noProductsButtons:ae,noProductsTitle:se,ssrPagination:be,showPageContent:Ze,title:W}),(0,E.jsx)(P.Z,{filterOverlayId:f.Rr.CATEGORY_FACET_GROUPS,sortOverlayId:f.Rr.CATEGORY_SORT_OPTIONS,staticFilterBarRef:N}),(0,E.jsx)(p.Z,{animation:"slideLTR",$style:(k={zIndex:"var(--zindex-filter)","--from-ltr":"var(--start-bottom)"},k[v.Z.min["desktop.sm"]]={"--from-ltr":"var(--start-left)"},k),component:I,id:f.Rr.CATEGORY_FACET_GROUPS,priceFacetRange:he,gridWrapperRef:K,onHandleFilter:function(){return _(K,ee)}}),(0,E.jsx)(p.Z,{lockScroll:!0,$style:($={zIndex:"var(--zindex-filter)","--from-rtl":"var(--start-bottom)"},$[v.Z.min["desktop.sm"]]={"--from-rtl":"var(--start-right)"},$),animation:"slideRTL",component:de,id:f.Rr.CATEGORY_SORT_OPTIONS,priceFacetRange:he})]})}):(0,E.jsx)(E.Fragment,{children:(0,E.jsxs)("div",{className:z({padding:[" 64px 8px",null,null,null,null,"64px 24px"]}),children:[(0,E.jsx)("p",{className:z({margin:"0px auto 64px",textAlign:"center"}),children:"Products are unavailable in preview"}),(0,E.jsx)(l.Z,{isGrid:!0,modules:ie})]})}),Ze&&ve?(0,E.jsx)("div",{style:{margin:"16px 0px 96px 0px",border:"1px solid transparent",borderRadius:"8px"},children:(0,E.jsx)(l.Z,{modules:ve})}):null]})}}}]);
2//# sourceMappingURL=e54b8853c9db2104aaa8472f805c20ecb9e1cd8c-9a9f12915952e8fa6b68.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.