PageSourceSearch

https://cdn.dutchcowboys.nl/_next/static/chunks/6881-f16aa9f544e6b54a.js

js dutchcowboys.nl collected 2026-10-02 03:00:24 UTC 9,146 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6881],{14287:(e,t,a)=>{a.d(t,{z:()=>i});var r=a(95155),l=a(59887);a(12115);let i=e=>{let{dateTime:t,children:a}=e,i=(0,l.sW)(t);return i?(0,r.jsx)("time",{dateTime:i,children:a}):(0,r.jsx)(r.Fragment,{children:a})}},24859:(e,t,a)=>{a.d(t,{W:()=>m});var r=a(95155),l=a(59887),i=a(12115),s=a(58336),n=a(14287);let d=e=>{var t,a;let{globalDateFormat:l,publishedAt:i,children:d,appendTime:c=!1,dateTime:o}=e;if(!l||!l.format)return(0,r.jsx)(r.Fragment,{children:d});let x=/\$\{\{(hour|minute)\}\}/.test(l.format),m=c&&!x&&i.hour&&i.minute?" ".concat(i.hour.padStart(2,"0"),":").concat(i.minute.padStart(2,"0")):"";return(0,r.jsxs)("span",{className:"flex items-center gap-1",children:[l.showClockIcon&&(0,r.jsx)(s.obD,{className:"h-3 w-3 shrink-0"}),(0,r.jsxs)(n.z,{dateTime:o,children:[(t=l.format,a=i,t.replace(/\$\{\{(\w+)\}\}/g,(e,t)=>a[t]||e)),m]})]})};var c=a(56844);let o={hours:"hour",minutes:"minute",seconds:"second"},x=new Map,m=e=>{let{children:t,globalDateFormat:a,publishedAt:i,relativePublishedAt:s,isPublishedToday:m,appendTime:u=!1,dateTime:p}=e,{displayType:g}=a||{};if(!i)return(0,r.jsx)(r.Fragment,{children:t});let f=g===l.bT.RelativeDate;if(f&&(e=>!!e&&"number"==typeof e.diff&&e.diff>=0&&!!e.unit&&("hours"!==e.unit||e.diff<3))(s)){let e=((e,t)=>{try{let t=Math.max(1,Math.trunc(e.diff));return(e=>{let t=x.get("nl");return t||(t=new Intl.RelativeTimeFormat(e,{numeric:"auto"}),x.set(e,t)),t})("nl").format(-t,o[e.unit])}catch(e){return null}})(s,0);if(e)return(0,r.jsx)(n.z,{dateTime:p,children:e})}return(g===l.bT.TimeOnly||f)&&m&&i.hour&&i.minute?(0,r.jsxs)(n.z,{dateTime:p,children:[(0,c.p)("common:at")," ",i.hour.padStart(2,"0"),":",i.minute.padStart(2,"0")]}):(0,r.jsx)(d,{globalDateFormat:a,publishedAt:i,appendTime:u,dateTime:p,children:h(t)?(0,r.jsx)(n.z,{dateTime:p,children:t}):t})},h=e=>{let t=i.Children.toArray(e);return t.length>0&&t.every(e=>"string"==typeof e||"number"==typeof e)}},29565:(e,t,a)=>{a.d(t,{A:()=>n});var r=a(95155),l=a(14629);a(12115);var i=a(59887),s=a(14984);let n=e=>{let{text:t,loading:a=!1,handleClick:n,rounded:d=i.eg.NO,variant:c="solid",justify:o="justify-center",readMoreLink:x=""}=e;return(0,r.jsxs)("button",{onClick:()=>{x?window.open(x,"_blank"):n()},className:"articlesList__paginate flex items-center gap-5 py-3 font-bold transition-all duration-500\n        ".concat(l.Ay.get(d)," \n        ").concat({solid:"hover:bg-primary/70 w-full active:bg-primary/95 bg-primary text-white [&>span]:bg-white text-sm",ghost:"bg-transparent w-full text-primary [&>span]:bg-black dark:[&>span]:bg-primary dark:text-white text-base",puna:"bg-[#2E2E2E] w-fit text-xl px-[75px] text-white mx-auto uppercase",fem:"bg-transparent text-black dark:text-white text-sm border-b border-black uppercase dark:border-white rounded-none pb-0.5 w-fit mx-auto",gp:"bg-transparent text-primary text-sm uppercase mx-auto font-bold gap-3"}[c],"\n        ").concat(o,"\n      "),children:[a&&(0,r.jsx)("span",{className:"h-4 w-4 animate-ping rounded-full opacity-75"}),t,"gp"===c&&(0,r.jsx)(s.ree,{className:"text-primary"})]})}},30320:(e,t,a)=>{a.d(t,{i:()=>i});var r=a(95155);a(12115);var l=a(94706);let i=e=>{let{tag:t,href:a,className:i,children:s}=e,n=t?function(e){if(!e)return;let t={};return e.badge_color&&(t.backgroundColor=e.badge_color),Object.keys(t).length?t:void 0}(t.ui_style):void 0,d=null!=s?s:null==t?void 0:t.title;return a?(0,r.jsx)(l.h,{href:a,className:i,style:n,children:d}):(0,r.jsx)("div",{className:i,style:n,children:d})}},35281:(e,t,a)=>{a.d(t,{R:()=>i});var r=a(92129),l=a(12115);let i=e=>{let{hookConfig:{initialPageSize:t,initialOffset:a,paginationPageSize:i,scope:s,scopeData:n,isSticky:d,articlesServerIds:c,articlesToExclude:o=[],displayPage:x,exclude_tags_id:m,tenantId:h},page:u}=e,[p,g]=(0,l.useState)([]),[f,b]=(0,l.useState)(0),[y,j]=(0,l.useState)(!1),[v,w]=(0,l.useState)(new Set(c));return{paginate:async()=>{j(!0);try{let e=await (0,r.ro)({scope:s,offset:t+f+a,paginationPageSize:i,scopeData:n,isSticky:+!!d,exclude_tags_id:m,displayPage:u||x,tenantId:h});b(f+e.length);let l=[],c=new Set(v);
1e.forEach(e=>{c.has(e.id)||o.includes(e.id)||(l.push(e),c.add(e.id))}),w(c),g([...p,...l])}catch(e){console.log(e)}finally{j(!1)}},loading:y,articles:p}}},36881:(e,t,a)=>{a.d(t,{default:()=>c});var r=a(95155),l=a(59887);a(12115);var i=a(58224),s=a(29565);let n=e=>{let{count:t,numberOfCloumns:a="2"}=e;return(0,r.jsx)("section",{className:"@container transition-all",children:(0,r.jsx)("div",{className:"mb-6 grid grid-cols-1 lg:gap-7 gap-6\n            ".concat({2:"@lg:grid-cols-2 @6xl:grid-cols-4",3:"@5xl:grid-cols-3 @3xl:grid-cols-2",4:"@lg:grid-cols-4 @6xl:grid-cols-4"}[a],"\n          "),children:Array.from(Array(t).keys()).map(e=>(0,r.jsxs)("div",{className:"group flex animate-pulse flex-col",children:[(0,r.jsx)("div",{className:"aspect-[16/10] h-full w-full rounded-md bg-gray-300 object-cover dark:bg-gray-600"}),(0,r.jsxs)("div",{className:"mt-2 flex flex-col justify-start gap-2",children:[(0,r.jsx)("div",{className:"line-clamp-4 group-hover:text-primary h-3 rounded-md bg-gray-300 text-xl font-bold leading-6 text-black transition-all dark:bg-gray-600 dark:text-white"}),(0,r.jsx)("div",{className:"line-clamp-4 group-hover:text-primary h-3 rounded-md bg-gray-300 text-xl font-bold leading-6 text-black transition-all dark:bg-gray-600 dark:text-white"}),(0,r.jsx)("div",{className:"line-clamp-4 group-hover:text-primary h-3 w-9/12 rounded-md bg-gray-300 text-xl font-bold leading-6 text-black transition-all dark:bg-gray-600 dark:text-white"})]})]},e))})})};var d=a(35281);function c(e){let{hookConfig:t,options:a,labels:c,page:o}=e,{articles:x,paginate:m,loading:h}=(0,d.R)({hookConfig:t,page:o});return(0,r.jsxs)(r.Fragment,{children:[x.length>0&&(0,r.jsx)(i.A,{options:a,articles:x}),h&&(0,r.jsx)(n,{numberOfCloumns:a.numberOfCloumns,count:t.paginationPageSize}),(0,r.jsx)(s.A,{text:c.load_more,loading:h,handleClick:m,rounded:l.eg.SM})]})}},58224:(e,t,a)=>{a.d(t,{A:()=>u});var r=a(95155),l=a(59887);a(12115);var i=a(93366),s=a(83907),n=a(27723),d=a(90253),c=a(58336),o=a(24859),x=a(14287),m=a(30320),h=a(79064);function u(e){let{articles:t,options:{showTag:a=!0,showDateOf:u=!0,showAuthor:p=!0,showDescription:g=!1,numberOfCloumns:f="2",disableHoverHighlight:b=!1,globalDateFormat:y,preloadImages:j=!1}}=e;return(0,r.jsx)("div",{className:"mb-6 grid grid-cols-1 lg:gap-7 gap-6 \n          ".concat({2:"@lg:grid-cols-2 @6xl:grid-cols-4",3:"@5xl:grid-cols-3 @3xl:grid-cols-2",4:"@lg:grid-cols-4 @6xl:grid-cols-4"}[f],"\n        "),children:t.map((e,t)=>{var v;return(0,r.jsxs)("div",{className:"flex flex-col group",children:[(0,r.jsxs)("div",{className:"relative",children:[(null==(v=e.thumbnails)?void 0:v.origin)&&(0,r.jsx)(i.A,{article:e,children:(0,r.jsx)(n.ImageWrapper,{alt:e.alt_text||e.title,width:600,priority:0===t&&j,height:400,sizes:"1"===f?d.B.fullWidth:"2"===f||"4"===f?d.B.halfWidth:d.B.column,className:"aspect-[16/10] h-full w-full rounded-md object-cover",src:e.thumbnails.origin})}),a&&e.primary_tag&&(0,r.jsx)(m.i,{tag:e.primary_tag,href:"/".concat(e.primary_tag.slug),className:"bg-primary articlesList__category absolute bottom-0 left-0 inline-flex min-h-6 w-fit items-center px-2 py-1 text-xs text-white",children:e.primary_tag.title})]}),(0,r.jsxs)("div",{className:"flex flex-col justify-start gap-2 mt-2",children:[(0,r.jsx)(i.A,{article:e,children:(0,r.jsx)("h2",{className:"line-clamp-4 text-xl font-bold leading-6 text-black transition-all dark:text-white\n              ".concat(!b&&"group-hover:text-primary","\n              "),children:(0,r.jsx)(s.h,{article:e})})}),g&&(0,r.jsx)("p",{className:"@2xl:text-sm @5xl:font-medium @5xl:text-lg @5xl:leading-[26px] line-clamp-5 font-normal text-[#252728] dark:text-white  ",children:e.meta_description}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-sm font-medium text-gray-600 dark:text-white",children:[u&&(0,r.jsxs)(o.W,{isPublishedToday:e.published_today,relativePublishedAt:e.published_at_relative,publishedAt:e.published_at_localized,dateTime:e.published_at,globalDateFormat:y,children:[(0,r.jsx)(c.obD,{className:"w-3 h-3 text-gray-600 shrink-0 dark:text-white "}),(0,r.jsx)("span",{className:"",children:(0,r.jsx)(x.z,{dateTime:e.published_at,children:(0,l.Zn)(e.published_at_localized,!1)})})]}),p&&(0,r.jsxs)(h.Q,{author:e.author,className:"@md:flex hidden items-center gap-1",children:[(0,r.jsx)(c.VGZ,{className:"w-3 h-3 text-gray-600 shrink-0 dark:text-white"}),(0,r.jsx)("span",{children:e.author.name})]})]})]})]},e.id)})})}},79064:(e,t,a)=>{a.d(t,{Q:()=>i});var r=a(95155);a(12115);var l=a(94706);let i=e=>{let{author:t,className:a="",children:i}=e;return t?t.is_public?(0,r.jsx)(l.h,{href:t.author_url,className:a,children:i||t.name}):(0,r.jsx)("span",{className:a,children:i||t.name}):null}},90253:(e,t,a)=>{a.d(t,{B:()=>r});
1let r={fullWidth:"(max-width: 767px) 100vw, (max-width: 1023px) 768px, 1280px",column:"(max-width: 767px) 100vw, (max-width: 1023px) 768px, 920px",halfWidth:"(max-width: 767px) 100vw, (max-width: 1023px) 50vw, 560px",thumbnail:"213px"}}}]);

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.