PageSourceSearch

https://tegelmegashop.nl/_next/static/chunks/6933-96c8225fbc1d468c.js

js tegelmegashop.nl collected 2026-10-07 19:30:12 UTC 10,990 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6933],{6390:(e,r,t)=>{t.d(r,{A:()=>d});var a=t(72716),l=t(35536),s=t(75821),n=t(42176);let d=e=>{let{item:r,style:t="default",currencyCode:d}=e,{total:i,original_total:o}=r,c=null!=o?o:0,u=null!=i?i:0,x=u<c;return(0,a.jsx)("div",{className:"flex flex-col items-end gap-x-2 text-brand-ink",children:(0,a.jsxs)("div",{className:"text-left",children:[x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{children:["default"===t&&(0,a.jsx)("span",{className:"text-brand-body",children:"Was: "}),(0,a.jsx)("span",{className:"text-brand-body line-through","data-testid":"product-original-price",children:(0,s.$)({amount:c,currency_code:d})})]}),"default"===t&&(0,a.jsxs)("span",{className:"text-brand-terra-dark",children:["-",(0,l.W)(c,u||0),"%"]})]}),(0,a.jsx)("span",{className:(0,n.Ew)("text-[1.05rem] font-semibold",{"text-brand-terra-dark":x}),"data-testid":"product-price",children:(0,s.$)({amount:u,currency_code:d})})]})})}},13735:(e,r,t)=>{t.d(r,{A:()=>s});var a=t(72716),l=t(42176);let s=e=>{let{variant:r,"data-testid":t,"data-value":s}=e;return(0,a.jsx)(l.EY,{"data-testid":t,"data-value":s,className:"mt-0.5 inline-block w-full overflow-hidden text-ellipsis text-[0.85rem] text-brand-body",children:null==r?void 0:r.title})}},35536:(e,r,t)=>{t.d(r,{W:()=>a});let a=(e,r)=>((e-r)/e*100).toFixed()},42176:(e,r,t)=>{t.d(r,{$n:()=>i,DZ:()=>d,EY:()=>n,Ew:()=>l.A,Ex:()=>c,JU:()=>x,K0:()=>u,mc:()=>o,pd:()=>f});var a=t(72716),l=t(29292),s=t(12576);let n=(0,s.forwardRef)((e,r)=>{let{className:t,as:s="p",children:n,...d}=e;return(0,a.jsx)(s,{ref:r,className:(0,l.A)("text-base",t),...d,children:n})});n.displayName="Text";let d=(0,s.forwardRef)((e,r)=>{let{className:t,level:s="h2",children:n,...d}=e;return(0,a.jsx)(s,{ref:r,className:(0,l.A)("font-semibold","h1"===s&&"text-3xl","h2"===s&&"text-2xl","h3"===s&&"text-xl",t),...d,children:n})});d.displayName="Heading";let i=(0,s.forwardRef)((e,r)=>{let{className:t,variant:s="primary",size:n="medium",isLoading:d,disabled:i,children:o,...c}=e;return(0,a.jsx)("button",{ref:r,disabled:i||d,className:(0,l.A)("inline-flex gap-2 items-center justify-center rounded-md font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50","primary"===s&&"bg-black text-white hover:bg-gray-800","secondary"===s&&"bg-white text-black border border-gray-200 hover:bg-gray-50","transparent"===s&&"bg-transparent hover:bg-gray-100","small"===n&&"h-8 px-3 text-sm","medium"===n&&"h-10 px-4","large"===n&&"h-12 px-6 text-lg",t),...c,children:d?"Loading...":o})});i.displayName="Button";let o=(0,s.forwardRef)((e,r)=>{let{className:t,children:s,...n}=e;return(0,a.jsx)("div",{ref:r,className:(0,l.A)("bg-white rounded-lg p-4",t),...n,children:s})});o.displayName="Container";let c=(0,s.forwardRef)((e,r)=>{let{className:t,color:s="grey",children:n,...d}=e;return(0,a.jsx)("span",{ref:r,className:(0,l.A)("inline-flex items-center rounded-full px-2 py-1 text-xs font-medium","green"===s&&"bg-green-100 text-green-700","red"===s&&"bg-red-100 text-red-700","blue"===s&&"bg-blue-100 text-blue-700","orange"===s&&"bg-orange-100 text-orange-700","grey"===s&&"bg-gray-100 text-gray-700","purple"===s&&"bg-purple-100 text-purple-700",t),...d,children:n})});c.displayName="Badge",(0,s.forwardRef)((e,r)=>{let{className:t,children:s,...n}=e;return(0,a.jsx)("span",{ref:r,className:(0,l.A)("inline-flex items-center justify-center rounded-full bg-gray-100 p-1",t),...n,children:s})}).displayName="IconBadge";let u=(0,s.forwardRef)((e,r)=>{let{className:t,children:s,...n}=e;return(0,a.jsx)("button",{ref:r,className:(0,l.A)("inline-flex items-center justify-center rounded-md p-2 hover:bg-gray-100 transition-colors focus-visible:outline-none focus-visible:ring-2",t),...n,children:s})});u.displayName="IconButton";let x=(0,s.forwardRef)((e,r)=>{let{className:t,children:s,...n}=e;return(0,a.jsx)("label",{ref:r,className:(0,l.A)("text-sm font-medium",t),...n,children:s})});x.displayName="Label";let f=(0,s.forwardRef)((e,r)=>{let{className:t,label:s,...n}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[s&&(0,a.jsx)(x,{children:s}),(0,a.jsx)("input",{ref:r,className:(0,l.A)("flex h-10 w-full rounded-md border border-gray-200 bg-white px-3 py-2 text-sm placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...n})]})});f.displayName="Input";let m=(0,s.forwardRef)((e,r)=>{let{className:t,children:s,...n}=e;return(0,a.jsx)("table",{ref:r,className:(0,l.A)("w-full caption-bottom text-sm",t),...n,children:s})});m.displayName="Table";let p=(0,s.forwardRef)((e,r)=>{let{className:t,children:s,...n}=e;return(0,a.jsx)("thead",{ref:r,className:(0,l.A)("[&_tr]:border-b",t),...n,children:s})});p.displayName="TableHeader";let h=(0,s.forwardRef)((e,r)=>{let{className:t,children:s,...n}=e;return(0,a.jsx)("tbody",{ref:r,className:(0,l.A)("[&_tr:last-child]:border-0",t),...n,children:s})});h.displayName="TableBody";let b=(0,s.forwardRef)((e,r)=>{let{className:t,children:s,...n}=e;return(0,a.jsx)("tr",{ref:r,className:(0,l.A)("border-b transition-colors hover:bg-gray-50",t),...n,children:s})});b.displayName="TableRow";let g=(0,s.forwardRef)((e,r)=>{let{className:t,children:s,...n}=e;return(0,a.jsx)("th",{ref:r,className:(0,l.A)("h-12 px-4 text-left align-middle font-medium text-gray-500 [&:has([role=checkbox])]:pr-0",t),...n,children:s})});g.displayName="TableHead";let y=(0,s.forwardRef)((e,r)=>{let{className:t,children:s,...n}=e;return(0,a.jsx)("td",{ref:r,className:(0,l.A)("p-4 align-middle [&:has([role=checkbox])]:pr-0",t),...n,children:s})});y.displayName="TableCell",Object.assign(m,{Header:p,Body:h,Row:b,Head:g,HeaderCell:g,Cell:y});let j=(0,s.forwardRef)((e,r)=>{let{className:t,children:s,...n}=e;return(0,a.jsx)("div",{ref:r,className:(0,l.A)("flex flex-col gap-2",t),...n,children:s})});j.displayName="RadioGroup";let N=(0,s.forwardRef)((e,r)=>{let{className:t,label:s,id:n,...d}=e;return(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("input",{ref:r,type:"radio",id:n,className:(0,l.A)("h-4 w-4 border-gray-300 text-gray-900 focus:ring-gray-900",t),...d}),s&&(0,a.jsx)(x,{htmlFor:n,children:s})]})});N.displayName="RadioGroupItem",Object.assign(j,{Item:N}),(0,s.forwardRef)((e,r)=>{let{className:t,label:s,id:n,...d}=e;return(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("input",{ref:r,type:"checkbox",id:n,className:(0,l.A)("h-4 w-4 roun
1ded border-gray-300 text-gray-900 focus:ring-gray-900",t),...d}),s&&(0,a.jsx)(x,{htmlFor:n,children:s})]})}).displayName="Checkbox"},58040:(e,r,t)=>{t.d(r,{A:()=>l});var a=t(72716);t(12576);let l=e=>{let{size:r="20",color:t="currentColor",...l}=e;return(0,a.jsxs)("svg",{width:r,height:r,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l,children:[(0,a.jsx)("path",{d:"M15.3141 3.16699H4.68453C3.84588 3.16699 3.16602 3.84685 3.16602 4.6855V15.3151C3.16602 16.1537 3.84588 16.8336 4.68453 16.8336H15.3141C16.1527 16.8336 16.8326 16.1537 16.8326 15.3151V4.6855C16.8326 3.84685 16.1527 3.16699 15.3141 3.16699Z",stroke:t,strokeWidth:"1.53749",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M7.91699 9.16699C8.60735 9.16699 9.16699 8.60735 9.16699 7.91699C9.16699 7.22664 8.60735 6.66699 7.91699 6.66699C7.22664 6.66699 6.66699 7.22664 6.66699 7.91699C6.66699 8.60735 7.22664 9.16699 7.91699 9.16699Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M16.6667 12.5756L13.0208 9.1665L5 16.6665",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}},58742:(e,r,t)=>{t.d(r,{A:()=>u});var a=t(72716),l=t(81935);let s=(0,l.createServerReference)("4098ab3dfe8babb556bf289855cc3076f90ef9bbac",l.callServer,void 0,l.findSourceMapURL,"deleteLineItem");var n=t(49544),d=t(3712),i=t(42176),o=t(85789),c=t(12576);let u=e=>{let{id:r,children:t,className:l,"data-testid":u}=e,[x,f]=(0,c.useState)(!1),m=(0,o.useRouter)(),p=async e=>{f(!0),await s(e).then(()=>{m.refresh()}).catch(e=>{f(!1)})};return(0,a.jsx)("div",{className:(0,i.Ew)("flex items-center",l),children:(0,a.jsxs)("button",{type:"button",className:"flex cursor-pointer items-center gap-x-1 text-[0.82rem] text-brand-body underline underline-offset-2 transition-colors hover:text-brand-terra-dark",onClick:()=>p(r),"data-testid":u,children:[x?(0,a.jsx)(n.A,{className:"animate-spin"}):(0,a.jsx)(d.A,{}),(0,a.jsx)("span",{children:t})]})})}},59349:(e,r,t)=>{t.d(r,{A:()=>i});var a=t(72716),l=t(42176),s=t(77888);t(12576);var n=t(58040);let d=e=>{let{image:r,size:t,alt:l=""}=e;return r?(0,a.jsx)(s.default,{src:r,alt:l,className:"absolute inset-0 object-contain object-center p-1",draggable:!1,quality:50,sizes:"(max-width: 576px) 280px, (max-width: 768px) 360px, (max-width: 992px) 480px, 800px",fill:!0}):(0,a.jsx)("div",{className:"w-full h-full absolute inset-0 flex items-center justify-center",children:(0,a.jsx)(n.A,{size:"small"===t?16:24})})},i=e=>{var r;let{thumbnail:t,images:s,alt:n="",size:i="small",isFeatured:o,className:c,"data-testid":u}=e,x=t||(null==s||null==(r=s[0])?void 0:r.url);return(0,a.jsx)(l.mc,{className:(0,l.Ew)("relative w-full overflow-hidden p-4 bg-white shadow-elevation-card-rest rounded-large group-hover:shadow-elevation-card-hover transition-shadow ease-in-out duration-150",c,{"aspect-[11/14]":o,"aspect-[9/16]":!o&&"square"!==i,"aspect-[1/1]":"square"===i,"w-[180px]":"small"===i,"w-[290px]":"medium"===i,"w-[440px]":"large"===i,"w-full":"full"===i}),"data-testid":u,children:(0,a.jsx)(d,{image:x,size:i,alt:n})})}},75821:(e,r,t)=>{t.d(r,{$:()=>a});let a=e=>{let{amount:r,currency_code:t,minimumFractionDigits:a,maximumFractionDigits:l}=e;return t&&t.trim().length>0?new Intl.NumberFormat("nl-NL",{style:"currency",currency:t,minimumFractionDigits:a,maximumFractionDigits:l}).format(r):new Intl.NumberFormat("nl-NL",{minimumFractionDigits:a,maximumFractionDigits:l}).format(r)}},78927:(e,r,t)=>{t.d(r,{A:()=>n});var a=t(72716),l=t(75821),s=t(42176);let n=e=>{var r,t;let{item:n,style:d="default",currencyCode:i}=e,o=null!=(r=n.total)?r:0,c=null!=(t=n.original_total)?t:0,u=o<c,x=Math.round((c-o)/c*100);return(0,a.jsxs)("div",{className:"flex flex-col justify-center text-brand-body",children:[u&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{children:["default"===d&&(0,a.jsx)("span",{className:"text-brand-body",children:"Was: "}),(0,a.jsx)("span",{className:"line-through","data-testid":"product-unit-original-price",children:(0,l.$)({amount:c/n.quantity,currency_code:i})})]}),"default"===d&&(0,a.jsxs)("span",{className:"text-brand-terra-dark",children:["-",x,"%"]})]}),(0,a.jsx)("span",{className:(0,s.Ew)("font-semibold text-brand-ink",{"text-brand-terra-dark":u}),"data-testid":"product-unit-price",children:(0,l.$)({amount:o/n.quantity,currency_code:i})})]})}}}]);

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.