1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52],{63297:(e,t,a)=>{a.d(t,{ZZ:()=>r,gf:()=>s,pH:()=>i,py:()=>c,sC:()=>o,x1:()=>n,zF:()=>d});let i={insight:"Insight",case:"Case",podcast:"Podcast",company_news:"WUA Nieuws",product_update:"Product Update",whitepaper:"Whitepaper",webinar:"Masterclass"},s={insight:"bg-blue-100 text-blue-700",case:"bg-green-100 text-green-700",podcast:"bg-purple-100 text-purple-700",company_news:"bg-gray-100 text-gray-700",product_update:"bg-teal-100 text-teal-700",whitepaper:"bg-red-100 text-red-700",webinar:"bg-orange-100 text-orange-700"},l=["nl","en","de","fr","es","it","sv","pl","el"];function n(e){return"string"==typeof e&&l.includes(e)}let r={automotive:{bg:"bg-blue-100",text:"text-blue-800"},energy:{bg:"bg-green-100",text:"text-green-800"},finance:{bg:"bg-purple-100",text:"text-purple-800"},government:{bg:"bg-gray-100",text:"text-gray-800"},insurance:{bg:"bg-orange-100",text:"text-orange-800"},recruitment:{bg:"bg-pink-100",text:"text-pink-800"},retail:{bg:"bg-yellow-100",text:"text-yellow-800"},telecom:{bg:"bg-cyan-100",text:"text-cyan-800"},travel:{bg:"bg-indigo-100",text:"text-indigo-800"},general:{bg:"bg-gray-100",text:"text-gray-800"}};function o(e){return e?e.authors&&e.authors.length>0?e.authors.filter(e=>e.name?.trim()):e.author?.name?.trim()?[{name:e.author.name,role:e.author.role||void 0}]:[]:[]}function c(e){return"version"in e&&2===e.version}let d=["customer-journey","benchmarking","usability","prototyping","digital-service","trends"]},70052:(e,t,a)=>{a.r(t),a.d(t,{InsightsV7:()=>x});var i=a(95155),s=a(12115),l=a(36613),n=a(46808),r=a(67889),o=a.n(r),c=a(49642),d=a(99747),g=a(93030),u=a(82970),m=a(63297),p=a(96686),h=a(83021);function x({fields:e}){let t=(0,l.c)("featuredInsights"),a=(0,n.Ym)(),[r,f]=(0,s.useState)([]),[b,w]=(0,s.useState)(!0);if((0,s.useEffect)(()=>{!async function(){try{let e=(0,u.createClient)(),t="slug, title, description, featured_image, featured_image_alt, image_display, content_type, access, reading_time",[{data:i},{data:s},{data:l}]=await Promise.all([e.from("articles_localized").select(t).eq("is_published",!0).eq("language",a).eq("content_type","whitepaper").order("published_at",{ascending:!1}).limit(1).maybeSingle(),e.from("articles_localized").select(t).eq("is_published",!0).eq("language",a).eq("content_type","webinar").eq("webinar_status","completed").order("published_at",{ascending:!1}).limit(1).maybeSingle(),e.from("articles_localized").select(t).eq("is_published",!0).eq("language",a).eq("is_featured",!0).gt("display_order",0).order("display_order",{ascending:!0})]),n=new Set([i?.slug,s?.slug].filter(Boolean)),r=(l||[]).filter(e=>!n.has(e.slug)),o=null;r.length>0&&(o=r[Math.floor((Date.now()-new Date(new Date().getFullYear(),0,0).getTime())/864e5)%r.length]);let c=[i,s,o].filter(e=>null!=e);if(c.length<3){let i=new Set(c.map(e=>e.slug)),{data:s}=await e.from("articles_localized").select(t).eq("is_published",!0).eq("language",a).eq("access","gated").order("published_at",{ascending:!1}).limit(3);for(let e of s||[]){if(c.length>=3)break;i.has(e.slug)||(c.push(e),i.add(e.slug))}}c.length>0&&f(c)}catch(e){console.error("[InsightsV7] Error fetching insights:",e)}finally{w(!1)}}()},[a]),!b&&0===r.length)return null;let v=r[0],y=r.slice(1);return(0,i.jsx)("section",{className:"py-10 lg:py-24 bg-wua-grey",children:(0,i.jsxs)("div",{className:"container-wua",children:[(0,i.jsxs)(d.P.div,{className:"mb-6 lg:mb-14 max-w-2xl",variants:h.cm,initial:"hidden",whileInView:"visible",viewport:h.qK,children:[(0,i.jsx)(d.P.span,{className:"inline-block text-sm font-medium text-wua-orange uppercase tracking-wider mb-3",variants:h.Q$,children:t("badge")}),(0,i.jsx)(d.P.h2,{className:"text-2xl md:text-3xl lg:text-4xl font-medium text-wua-purple",variants:h.Q$,children:t("title")})]}),b&&(0,i.jsxs)("div",{className:"grid lg:grid-cols-12 gap-6",children:[(0,i.jsxs)("div",{className:"lg:col-span-7 bg-white wua-card p-4 animate-pulse",children:[(0,i.jsx)("div",{className:"h-64 bg-gray-200 rounded mb-4"}),(0,i.jsx)("div",{className:"h-4 bg-gray-200 rounded w-1/3 mb-2"}),(0,i.jsx)("div",{className:"h-6 bg-gray-200 rounded w-full mb-2"}),(0,i.jsx)("div",{className:"h-4 bg-gray-200 rounded w-2/3"})]}),(0,i.jsx)("div",{className:"lg:col-span-5 space-y-6",children:[0,1].map(e=>(0,i.jsxs)("div",{className:"bg-white wua-card p-4 animate-pulse",children:[(0,i.jsx)("div",{className:"h-32 bg-gray-200 rounded mb-3"}),(0,i.jsx)("div",{className:"h-4 bg-gray-200 rounded w-2/3"})]},e))})]}),!b&&r.length>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"flex gap-4 overflow-x-auto snap-x snap-mandatory scrollbar-hide -mx-4 px-4 pb-4 lg:hidden",children:r.map(e=>(0,i.jsx)("div",{className:"w-[85vw] min-w-[280px] snap-start shrink-0",children:(0,i.jsxs)(o(),{href:`/${a}/insights/${e.slug}`,className:"block bg-white wua-card overflow-hidden hover:shadow-lg transition-shadow duration-300 h-full group",children:[(0,i.jsx)(g.I,{src:e.featured_image,alt:(0,p.n)(e.featured_image_alt,e.title),imageDisplay:e.image_display,variant:"card",sizes:"85vw",className:"h-40"}),(0,i.jsxs)("div",{className:"p-5",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,i.jsx)("span",{className:"text-xs font-medium text-wua-orange uppercase tracking-wider",children:m.pH[e.content_type]||e.content_type}),"gated"===e.access&&(0,i.jsxs)("span",{className:"inline-flex items-center gap-1 text-xs text-muted-foreground",children:[(0,i.jsx)(c.LM,{className:"w-3 h-3"}),t("freeWithEmail")]})]}),(0,i.jsx)("h3",{className:"font-medium text-wua-purple text-base leading-snug mb-2 group-hover:text-wua-orange transition-colors line-clamp-2",children:e.title}),e.description&&(0,i.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2 mb-3",children:e.description}),(0,i.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-sm text-wua-orange font-medium",children:[(0,i.jsx)(c.Gy,{className:"w-4 h-4"}),e.reading_time?`${e.reading_time} min`:t("readMore")]})]})]})},e.slug))}),(0,i.jsxs)(d.P.div,{className:"hidden lg:grid lg:grid-cols-12 gap-6",variants:h.cm,initial:"hidden",
1whileInView:"visible",viewport:h.qK,children:[v&&(0,i.jsx)(d.P.div,{className:"lg:col-span-7",variants:h.Q$,children:(0,i.jsxs)(o(),{href:`/${a}/insights/${v.slug}`,className:"block bg-white wua-card overflow-hidden hover:shadow-lg transition-shadow duration-300 h-full group",children:[(0,i.jsx)(g.I,{src:v.featured_image,alt:(0,p.n)(v.featured_image_alt,v.title),imageDisplay:v.image_display,variant:"card",sizes:"58vw",className:"h-72"}),(0,i.jsxs)("div",{className:"p-8",children:[(0,i.jsxs)("div",{className:"flex items-center gap-2 mb-3",children:[(0,i.jsx)("span",{className:"text-xs font-medium text-wua-orange uppercase tracking-wider",children:m.pH[v.content_type]||v.content_type}),"gated"===v.access&&(0,i.jsxs)("span",{className:"inline-flex items-center gap-1 text-xs text-muted-foreground",children:[(0,i.jsx)(c.LM,{className:"w-3 h-3"}),t("freeWithEmail")]})]}),(0,i.jsx)("h3",{className:"font-medium text-wua-purple text-xl leading-snug mb-3 group-hover:text-wua-orange transition-colors line-clamp-2",children:v.title}),v.description&&(0,i.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2 mb-4",children:v.description}),(0,i.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-sm text-wua-orange font-medium",children:[(0,i.jsx)(c.Gy,{className:"w-4 h-4"}),v.reading_time?`${v.reading_time} min`:t("readMore")]})]})]})}),(0,i.jsx)("div",{className:"lg:col-span-5 flex flex-col gap-6",children:y.map(e=>(0,i.jsx)(d.P.div,{variants:h.Q$,className:"flex-1",children:(0,i.jsx)(o(),{href:`/${a}/insights/${e.slug}`,className:"block bg-white wua-card overflow-hidden hover:shadow-lg transition-shadow duration-300 h-full group",children:(0,i.jsxs)("div",{className:"flex flex-col h-full",children:[(0,i.jsx)(g.I,{src:e.featured_image,alt:(0,p.n)(e.featured_image_alt,e.title),imageDisplay:e.image_display,variant:"card",sizes:"42vw",className:"h-36"}),(0,i.jsxs)("div",{className:"p-5 flex flex-col flex-1",children:[(0,i.jsx)("div",{className:"flex items-center gap-2 mb-2",children:(0,i.jsx)("span",{className:"text-xs font-medium text-wua-orange uppercase tracking-wider",children:m.pH[e.content_type]||e.content_type})}),(0,i.jsx)("h3",{className:"font-medium text-wua-purple text-sm leading-snug mb-2 group-hover:text-wua-orange transition-colors line-clamp-2",children:e.title}),(0,i.jsxs)("span",{className:"inline-flex items-center gap-1 text-xs text-wua-orange font-medium mt-auto",children:[(0,i.jsx)(c.Gy,{className:"w-3 h-3"}),e.reading_time?`${e.reading_time} min`:t("readMore")]})]})]})})},e.slug))})]})]}),(0,i.jsx)(d.P.div,{className:"text-center mt-6 lg:mt-10",initial:{opacity:0}
1,whileInView:{opacity:1},transition:{duration:.5,delay:.3},viewport:{once:!0},children:(0,i.jsxs)(o(),{href:`/${a}/insights`,className:"wua-link-arrow inline-flex items-center gap-2 text-wua-orange font-medium",children:[t("viewAll"),(0,i.jsx)(c.Qp,{className:"w-4 h-4"})]})})]})})}},83021:(e,t,a)=>{a.d(t,{Dc:()=>n,It:()=>d,OT:()=>l,Q$:()=>s,Ym:()=>c,cm:()=>i,qK:()=>r,ul:()=>o,zq:()=>g});let i={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:.1}}},s={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5}}},l={hidden:{opacity:0,x:-30},visible:{opacity:1,x:0,transition:{duration:.5}}},n={hidden:{opacity:0,x:30},visible:{opacity:1,x:0,transition:{duration:.5}}},r={once:!0,margin:"0px"},o={initial:"hidden",whileInView:"visible",viewport:r},c={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15,delayChildren:.2}}},d={hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.7,ease:[.25,.1,.25,1]}}},g={once:!0,margin:"0px"}},89755:(e,t,a)=>{a.d(t,{Rq:()=>i});let i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFklEQVQYV2N89+7dfwYGBgZGRkYGJAYALwYEAYqOhpkAAAAASUVORK5CYII="},93030:(e,t,a)=>{a.d(t,{I:()=>o});var i=a(95155),s=a(18609),l=a(94692),n=a(89755);let r={card:"h-40","card-wide":"aspect-[16/9]",detail:"aspect-[4/3]","detail-wide":"aspect-[16/9]",slider:"aspect-[16/9]",fill:"h-full w-full"};function o({src:e,alt:t,imageDisplay:a,variant:d="card",className:g="",priority:u=!1,sizes:m,quality:p=80}){let h=a?.mode||"cover",x=a?.overlay||"none",f=r["detail"===d&&a?.detail_aspect==="16:9"?"detail-wide":d];if("natural"===h&&e&&a?.aspect_ratio&&a.aspect_ratio>0){let r=a.bg_color||"#1B0516";return(0,i.jsxs)("div",{className:`relative overflow-hidden ${g}`,style:{aspectRatio:a.aspect_ratio,backgroundColor:r},children:[(0,l.K)(e)?(0,i.jsx)(s.default,{src:e,alt:t,fill:!0,sizes:m,quality:p,priority:u,placeholder:"blur",blurDataURL:n.Rq,className:"object-contain"}):(0,i.jsx)("img",{src:e,alt:t,loading:"lazy",className:"absolute inset-0 w-full h-full object-contain"}),"none"!==x&&(0,i.jsx)(c,{overlay:x})]})}if("brand"===h||!e)return(0,i.jsx)("div",{className:`relative overflow-hidden ${f} ${g}`,children:(0,i.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-[#1B0516] via-[#2d1428] to-[#1B0516]",children:(0,i.jsx)("img",{src:"/images/photography/Logo/wua-arrow-dark-grey.png",alt:"",className:"absolute bottom-0 right-0 w-[50%] opacity-25 translate-x-[12%] translate-y-[12%]","aria-hidden":"true"})})});let b="contain"===h?"object-contain":"object-cover",w="focal"===h&&a?.focal_x!=null&&a?.focal_y!=null?`${a.focal_x}% ${a.focal_y}%`:void 0,v="contain"===h?a?.bg_color||"#F2F1F7":void 0,y=(0,l.K)(e);return(0,i.jsxs)("div",{className:`relative overflow-hidden ${f} ${g}`,style:v?{backgroundColor:v}:void 0,children:[y?(0,i.jsx)(s.default,{src:e,alt:t,fill:!0,sizes:m,quality:p,priority:u,placeholder:"blur",blurDataURL:n.Rq,className:`${b} transition-transform duration-300 group-hover:scale-105`,style:w?{objectPosition:w}:void 0}):(0,i.jsx)("img",{src:e,alt:t,loading:"lazy",className:`absolute inset-0 w-full h-full ${b}`,style:w?{objectPosition:w}:void 0}),"none"!==x&&(0,i.jsx)(c,{overlay:x})]})}function c({overlay:e}){switch(e){case"chevron":return(0,i.jsx)("div",{className:"absolute inset-0 pointer-events-none overflow-hidden",children:(0,i.jsx)("img",{src:"/images/logos/wua-arrow-orange.png",alt:"",className:"absolute bottom-0 right-0 w-[45%] opacity-[0.18] translate-x-[10%] translate-y-[10%]","aria-hidden":"true"})});case"gradient-purple":return(0,i.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#1B0516]/60 to-transparent pointer-events-none"});case"gradient-orange":return(0,i.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-transparent via-transparent to-[#FF532A]/20 pointer-events-none"});default:return null}}},94692:(e,t,a)=>{a.d(t,{I:()=>l,K:()=>s});let i=["ijufvwdgdoayntuwzjjz.supabase.co","wua.cx","img.diffuse.nl"];function s(e){if(!e)return!1;if(e.startsWith("/"))return!0;try{let{protocol:t,hostname:a}=new URL(e);return("https:"===t||"http:"===t)&&i.includes(a)}catch{return!1}}function l(e){if(!e)return!1;if(e.startsWith("/")||e.startsWith("blob:")||e.startsWith("data:image/"))return!0;try{let{protocol:t}=new URL(e);return"https:"===t||"http:"===t}catch{return!1}}},96686:(e,t,a)=>{a.d(t,{n:()=>i});function i(e,t){return e?.trim()||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.