1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8666],{6646:(e,t,l)=>{l.d(t,{Of:()=>o,h2:()=>s,nf:()=>d});var a=Object.defineProperty,s=((e,t)=>{let l={};for(var s in e)a(l,s,{get:e[s],enumerable:!0});return t||a(l,Symbol.toStringTag,{value:"Module"}),l})({color:()=>h,contentRelationship:()=>p,date:()=>x,embed:()=>y,geoPoint:()=>v,group:()=>S,image:()=>c,imageThumbnail:()=>o,integration:()=>N,integrationField:()=>w,integrationFields:()=>k,keyText:()=>b,link:()=>d,linkToMedia:()=>u,number:()=>f,repeatable:()=>C,richText:()=>n,select:()=>g,sliceZone:()=>_,table:()=>j,timestamp:()=>m,title:()=>r});let i=e=>null!=e,n=e=>!!i(e)&&(1===e.length&&"text"in e[0]?!!e[0].text:!!e.length),r=n,o=e=>i(e)&&!!e.url,c=o,d=e=>i(e)&&("id"in e||"url"in e),u=d,p=d,x=i,m=i,h=i,f=i,b=e=>!!e,g=i,y=e=>i(e)&&!!e.embed_url,v=e=>i(e)&&"longitude"in e,j=i,N=i,w=N,k=N,C=e=>i(e)&&!!e.length,S=e=>i(e)&&!!e.length,_=e=>i(e)&&!!e.length},18666:(e,t,l)=>{l.r(t),l.d(t,{default:()=>p});var a=l(95155),s=l(73413),i=l(96170),n=l(3998),r=l(92031),o=l(27263),c=l(6646),d=l(57682),u=l(67788);let p=async e=>{let{slice:t,context:l}=e,p=[],x=(0,r.U)();switch(t.variation){case"detectBlogsBySimilarity":if("string"==typeof(null==l?void 0:l.blog_id)){p=(await x.getByType("blog",{filters:[o.p.similar(l.blog_id,30)],orderings:[{field:"document.first_publication_date",direction:"desc"}],page:1,pageSize:6,fetchLinks:["blog_collection.uid, blog_collection.title"]})).results;break}return null;case"selectedBlogs":{let e=t.primary.blogs.map(e=>{let{blog:t}=e;return null==t?void 0:t.uid}).filter(e=>!!e),l=await x.getByUIDs("blog",e,{fetchLinks:["blog_collection.uid, blog_collection.title"]});p=e.map(e=>l.results.find(t=>t.uid===e)).filter(e=>!!e);break}default:return null}return 0===p.length?(0,a.jsx)("div",{className:"pt-6"}):(0,a.jsxs)("section",{"data-slice-type":t.slice_type,"data-slice-variation":t.variation,className:"max-w-screen-5xl slice mx-auto flex max-w-screen-2xl flex-col gap-6 pt-6 pb-16 md:gap-8",children:[(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-end sm:justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[t.primary.subheading&&(0,a.jsxs)(i.H4,{className:"text-tertiary flex items-center gap-1",children:[(0,a.jsx)(s.A,{name:"trophy",className:"text-primary"}),t.primary.subheading]}),(0,a.jsx)(i.H2,{className:"text-secondary mt-2 md:mt-[14px]",children:t.primary.title})]}),c.h2.link(t.primary.cta)&&(0,a.jsx)(n.$,{variant:"primary",asChild:!0,className:"hidden sm:flex",children:(0,a.jsx)(d.PrismicNextLink,{field:t.primary.cta})})]}),(0,a.jsx)(u.default,{items:p}),c.h2.link(t.primary.cta)&&(0,a.jsx)(n.$,{variant:"primary",asChild:!0,className:"mt-0 flex w-full justify-center text-center sm:hidden",children:(0,a.jsx)(d.PrismicNextLink,{field:t.primary.cta})})]})}},37808:(e,t,l)=>{l.d(t,{A7:()=>m,FN:()=>p,Oj:()=>f,Q8:()=>h,Wk:()=>x});var a=l(95155),s=l(68072),i=l(35626),n=l(52987),r=l(12115),o=l(3998),c=l(64269);let d=r.createContext(null);function u(){let e=r.useContext(d);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function p(e){let{orientation:t="horizontal",opts:l,setApi:i,plugins:n,className:o,children:u,...p}=e,[x,m]=(0,s.A)({...l,axis:"horizontal"===t?"x":"y"},n),[h,f]=r.useState(!1),[b,g]=r.useState(!1),y=r.useCallback(e=>{e&&(f(e.canScrollPrev()),g(e.canScrollNext()))},[]),v=r.useCallback(()=>{null==m||m.scrollPrev()},[m]),j=r.useCallback(()=>{null==m||m.scrollNext()},[m]),N=r.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),j())},[v,j]);return r.useEffect(()=>{m&&i&&i(m)},[m,i]),r.useEffect(()=>{if(m)return y(m),m.on("reInit",y),m.on("select",y),()=>{null==m||m.off("select",y)}},[m,y]),(0,a.jsx)(d.Provider,{value:{carouselRef:x,api:m,opts:l,orientation:t||((null==l?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:j,canScrollPrev:h,canScrollNext:b},children:(0,a.jsx)("div",{onKeyDownCapture:N,className:(0,c.cn)("relative",o),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...p,children:u})})}function x(e){let{className:t,...l}=e,{carouselRef:s,orientation:i}=u();return(0,a.jsx)("div",{ref:s,className:"overflow-hidden","data-slot":"carousel-content",children:(0,a.jsx)("div",{className:(0,
1c.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",t),...l})})}function m(e){let{className:t,...l}=e,{orientation:s}=u();return(0,a.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,c.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===s?"pl-4":"pt-4",t),...l})}function h(e){let{className:t,variant:l=null,size:s=null,...n}=e,{orientation:r,scrollPrev:d,canScrollPrev:p}=u();return(0,a.jsxs)(o.$,{"data-slot":"carousel-previous",variant:l,size:s,className:(0,c.cn)("absolute size-8 rounded-full","horizontal"===r?"top-1/2 -left-12 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!p,onClick:d,...n,children:[(0,a.jsx)(i.A,{}),(0,a.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}function f(e){let{className:t,variant:l=null,size:s=null,...i}=e,{orientation:r,scrollNext:d,canScrollNext:p}=u();return(0,a.jsxs)(o.$,{"data-slot":"carousel-next",variant:l,size:s,className:(0,c.cn)("absolute size-8 rounded-full","horizontal"===r?"top-1/2 -right-12 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!p,onClick:d,...i,children:[(0,a.jsx)(n.A,{}),(0,a.jsx)("span",{className:"sr-only",children:"Next slide"})]})}},57722:(e,t,l)=>{l.d(t,{A:()=>s});var a=l(12115);let s=e=>{let[t,l]=(0,a.useState)(0),[s,i]=(0,a.useState)([]),n=(0,a.useCallback)(t=>{e&&e.scrollTo(t)},[e]),r=(0,a.useCallback)(e=>{e&&(l(e.selectedScrollSnap()),i(null==e?void 0:e.scrollSnapList()))},[]),o=(0,a.useCallback)(e=>{e&&l(e.selectedScrollSnap())},[]),c=(0,a.useCallback)(e=>{e&&l(e.selectedScrollSnap())},[]);return(0,a.useEffect)(()=>{if(e)return r(e),e.on("init",r).on("reInit",o).on("select",o).on("settle",c),()=>{e.off("init",r).off("reInit",o).off("select",o).off("settle",c)}},[e,r,o,c]),{current:t,scrollSnaps:s,onDotButtonClick:n}}},67788:(e,t,l)=>{l.d(t,{default:()=>u});var a=l(95155),s=l(96170),i=l(37808),n=l(57722),r=l(79672),o=l(64269),c=l(57682),d=l(12115);function u(e){let{items:t}=e,[l,u]=(0,d.useState)(),{current:p,onDotButtonClick:x}=(0,n.A)(l),m=(0,r.d)();return(0,a.jsxs)("div",{children:[(0,a.jsxs)(i.FN,{setApi:u,className:"flex w-full flex-col",opts:{slidesToScroll:(e=>{switch(e){case"":return 1;case"sm":case"md":return 2;default:return 3}})(m)},children:[(0,a.jsx)(i.Wk,{className:"mx-0",children:t.map((e,t)=>{let l=e.data.blog_collection,n=null==l?void 0:l.uid;return(0,a.jsxs)(i.A7,{className:"group relative pl-0 duration-250 sm:basis-1/2 lg:basis-1/3",children:[(0,a.jsxs)(c.PrismicNextLink,{document:e,className:"block sm:mx-2",children:[(0,a.jsx)("div",{className:"bg-tertiary-background relative aspect-video overflow-hidden rounded-xl",children:(0,a.jsx)(c.PrismicNextImage,{field:e.data.image,className:"absolute inset-0 rounded-xl object-cover transition-transform duration-250 ease-linear group-hover:scale-105",fallbackAlt:""})}),(0,a.jsx)("div",{className:"pt-5 transition-opacity group-hover:opacity-80",children:(0,a.jsx)(s.H3,{className:"text-secondary",children:e.data.title})})]}),void 0===n?null:(0,a.jsx)("div",{className:"absolute top-6 left-6 z-10",children:(0,a.jsx)(c.PrismicNextLink,{href:"/blogs/".concat(n),children:(0,a.jsx)(s.H4,{className:"text-secondary rounded-md bg-white px-2 py-[3px] opacity-80 transition-opacity hover:opacity-100",size:"body-small",children:null==l?void 0:l.data.title})})})]},t)})}),(0,a.jsxs)("div",{className:"relative mt-6 hidden gap-2 sm:flex xl:hidden",children:[(0,a.jsx)(i.Q8,{className:"relative inset-0 flex h-[46px] w-[46px] translate-y-0 items-center justify-center rounded-full bg-white shadow-(--shadow-carousel-button) transition-opacity disabled:pointer-events-none disabled:opacity-40 lg:h-14 lg:w-14"}),(0,a.jsx)(i.Oj,{className:"relative inset-0 flex h-[46px] w-[46px] translate-y-0 items-center justify-center rounded-full bg-white shadow-(--shadow-carousel-button) transition-opacity disabled:pointer-events-none disabled:opacity-40 lg:h-14 lg:w-14"})]}),(0,a.jsx)(i.Q8,{className:"left-0 hidden h-[46px] w-[46px] -translate-x-1/3 -translate-y-full items-center justify-center rounded-full bg-white shadow-(--shadow-carousel-button) transition-opacity disabled:pointer-events-none disabled:opacity-0 lg:h-14 lg:w-14 xl:flex"}),(0,a.jsx)(i.Oj,{className:"right-0 hidden h-[46px] w-[46px] translate-x-1/3 -translate-y-full items-center justify-center rounded-full bg-white shadow-(--shadow-carousel-button) transition-opacity disabled:pointer-events-none disabled:opacity-0 lg:h-14 lg:w-14 xl:flex"})]}),(0,a.jsx)("div",{className:"flex items-center justify-center gap-2 pt-6 sm:hidden",children:t.map((e,t)=>(0,a.jsx)("button",{onClick:()=>x(t),className:(0,o.cn)("bg-secondary h-2 w-2 cursor-pointer rounded-full transition-opacity",{"h-3 w-3":t===p,"opacity-30":t!==p}),"aria-label":"slide-".concat(t)},t))})]})}},73413:(e,t,l)=>{l.d(t,{A:()=>i});var a=l(95155),s=l(64269);function i(e){let{name:t,className:l}=e;return(0,a.jsx)("i",{className:(0,s.cn)("font-icon fa-".concat(t),l)})}},92031:(e,t,l)=>{l.d(t,{U:()=>o});var a=l(4143),s=l(57682);let i=JSON.parse('{"aR":"roadads","WT":""}'),n=l(87358).env.NEXT_PUBLIC_PRISMIC_ENVIRONMENT||i.aR,r=[{type:"page",uid:"home",path:"/"},{type:"page",path:"/:uid"},{type:"product",path:"/products/:uid"},{type:"blog",path:"/blogs/:blogCollection/:uid",resolvers:{blogCollection:"blog_collection"}},{type:"blog_collection",path:"/blogs/:uid"},{type:"collection",path:"/collections/:uid"}];function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,a.U)(i.WT||n,{routes:r,fetchOptions:{next:{tags:["prismic"]},cache:"force-cache"},...e});return(0,s.enableAutoPreviews)({client:t}),t}}}]);
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.