PageSourceSearch

https://www.matsmart.se/_next/static/chunks/1lcm_1d-uv0ca.js?dpl=dpl_AsqzkV52NZtjv9NcJRzuZjULXn2W

js matsmart.se collected 2026-09-24 19:44:18 UTC 12,981 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="6f1d1243-4c14-b4b7-fe8b-c5bfef74321f")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,660148,e=>{"use strict";var t=e.i(343408);e.i(271645);var s=(0,t.require_jsx_runtime)();e.s(["TrashCanSymbol",0,({title:e,...t})=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 775.9 458.6",...t,children:[e&&(0,s.jsx)("title",{children:e}),(0,s.jsxs)("defs",{children:[(0,s.jsx)("clipPath",{id:"trash-can-clip-1",children:(0,s.jsx)("path",{d:"M555.4 10.5 137.5 67.2c-.9.1-1.9.3-2.8.6-11.1 3.2-75.1 27.4-68.2 154.9 7.2 133.8 77.9 132.5 83.8 132.1h1.1l403.6.3.3-344.6Z",fill:"none"})}),(0,s.jsx)("clipPath",{id:"trash-can-clip-2",children:(0,s.jsx)("ellipse",{cx:"554.7",cy:"181.4",fill:"none",rx:"44.2",ry:"141.5"})}),(0,s.jsx)("clipPath",{id:"trash-can-clip-3",children:(0,s.jsx)("path",{d:"M298.1 374.7c5.9 5.8 12.8 9.5 18.7 15.4 5.7 5.8 12.4 11 20.5 13 6.4 1.5 13.1.9 19.6 1.8 8.4 1.1 16.4 4.6 24.8 5.4 9.3.9 18.7-1.4 28-.8 1 0 2.1.3 2.6 1.2.5 1.1-.5 2.2-1.5 2.8-3.2 1.8-6 .5-9.4.9-2 .2-3.6 1.1-5.6 1.7-5.4 1.4-11.1 1.1-16.6.8-23.3-1.2-46.7-2.5-70-3.7z",fill:"none"})}),(0,s.jsx)("clipPath",{id:"trash-can-clip-4",children:(0,s.jsx)("path",{d:"M247.5 389.6c-13.4 4.1-55.7 3.5-69-1-1.5-.5-3.2-1.4-3.2-2.9s2.4-2.6 4.2-2.8c12.8-1.4 25.6-2.7 38.4-3.4 34.2-2 44.1-20.3 52.3-29.9l-22.8 40Z",fill:"none"})})]}),(0,s.jsx)("g",{children:(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{fill:"#4a161c",d:"M480.1 340.3c0 13.4-110.8 24.3-247.4 24.3S7.2 353.7 7.2 340.3 96 316 232.6 316 480 326.9 480 340.3Z"}),(0,s.jsx)("path",{fill:"#c9e4f4",d:"M555.4 10.5 137.5 67.2c-.9.1-1.9.3-2.8.6-11.1 3.2-75.1 27.4-68.2 154.9 7.2 133.8 77.9 132.5 83.8 132.1h1.1l403.6.3"}),(0,s.jsx)("g",{clipPath:"url(#trash-can-clip-1)",children:(0,s.jsx)("path",{d:"M59.3 185.7c10.6 30.9 40.4 97.8 143.9 106.5 114.6 9.6 191.6-3 306.5-6.5 2.4 0 37.8 43.8 40.2 44.5 3.9 1.2 6.9 4.3 8.8 7.9 6 11.3 1.4 26.1-7.9 35s-22.2 12.8-34.9 15c-21.7 3.8-43.9 3.2-66 2.6-66.3-1.8-132.6-3.5-199-5.3-34-.9-68.2-1.8-101.7-8-22.8-4.2-5.6-10.8-27-19.7-19.1-8-39.3-19.8-45.1-39.7",fill:"#2859af",opacity:".3"})}),(0,s.jsx)("path",{d:"M555.4 10.5 137.5 67.2c-.9.1-1.9.3-2.8.6-11.1 3.2-75.1 27.4-68.2 154.9 7.2 133.8 77.9 132.5 83.8 132.1h1.1l403.6.3",fill:"none",stroke:"#3a0d14",strokeMiterlimit:"10",strokeWidth:"6"}),(0,s.jsx)("ellipse",{cx:"552.4",cy:"183.3",fill:"#cee6f4",stroke:"#3a0d14",strokeMiterlimit:"10",strokeWidth:"6",rx:"62.3",ry:"172.8"}),(0,s.jsx)("g",{clipPath:"url(#trash-can-clip-2)",children:(0,s.jsx)("path",{d:"M505.6 215.9c.2 13.7 2.8 27.8 10.3 39s20.8 19 33.9 16.9c15.6-2.5 28.8-19.3 33-33.6 10.3-34.6 9.1-100.5 5-133-.5-4.4-1.2-8.1 3.9-10.6 7.9-3.9 11.3 16.9 12.6 21.7 11.3 41.8 11.2 85.5 11.1 128.5 0 14.9 0 29.9-3.6 44.3-3 12.1-8.3 23.5-15.7 33.3-4.5 5.9-9.8 11.4-16.2 14.7-16 8.2-36.4 1.3-48.5-12.2-12.2-13.6-17.4-32.3-19.5-50.7",fill:"#2859af",opacity:".3"})}),(0,s.jsx)("ellipse",{cx:"554.7",cy:"181.4",fill:"none",stroke:"#3a0d14",strokeMiterlimit:"10",strokeWidth:"6",rx:"44.2",ry:"141.5"}),(0,s.jsx)("path",{d:"m103 89.4 260.7-12.8c6-.2 10.9-5 11.3-11.1.4-7.1-5.5-12.9-12.5-12.4L134.9 67.7M79.7 125l263.7-6.9c11.9 0 21.7 9.5 21.9 21.4s-9.3 21.8-21.2 22.1L67.9 175.7M66.5 218c1.7-2 203.8-8.3 278.7-11.6 11.8-.5 21.9 8.6 22.4 20.5.6 11.7-8.3 21.7-20 22.5l-277 14.7m14.6 44.3c.4 0 215.6-5.8 280.1-9.8 11.7-.7 21.1 9.5 19.4 21.1-1.3 8.8-8.6 15.4-17.5 15.8L109.8 339",fill:"none",stroke:"#3a0d14",strokeMiterlimit:"10",strokeWidth:"6"}),(0,s.jsx)("path",{fill:"#8daad3",d:"M767.1 384.5c-4.1 11.2-88 22.7-196.9 22.7s-194.5-11.7-198.4-23c-1.4-3.9-1.9-28 1.7-29.3 20.8-7.7 103.1 2.8 196.1 2.8s177.9-10.6 197.1-2.7c2.9 1.2 2.1 24.7.3 29.6Z"}),(0,s.jsx)("path",{fill:"none",stroke:"#3a0d14",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"6",d:"M767.1 384.5c-4.1 11.2-88 22.7-196.9 22.7s-194.5-11.7-198.4-23c-1.4-3.9-1.9-28 1.7-29.3 20.8-7.7 103.1 2.8 196.1 2.8s177.9-10.
26 197.1-2.7c2.9 1.2 2.1 24.7.3 29.6h0Z"}),(0,s.jsx)("path",{d:"M766.9 356.5c1 12.9-88.3 21.1-197.3 21.1s-197.3-11.4-197.3-21.1S460.6 333 569.6 333s196.4 11.5 197.3 23.5",fill:"#c9e4f4",stroke:"#3a0d14",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"6"}),(0,s.jsx)("ellipse",{cx:"527.9",cy:"346.4",fill:"#3a0d14",rx:"25.3",ry:"3.7"}),(0,s.jsx)("ellipse",{cx:"627.9",cy:"346.6",fill:"#3a0d14",rx:"20.3",ry:"2.9"}),(0,s.jsx)("path",{d:"M628.8 347.2s8.1-35.4-31.7-36.5c-32.2-.9-28.3-1.5-65.2-.5-39.7 1-32.1 36.7-32.1 36.7l22.7.3s-1.2-14.8 6.5-20.2c5.2-3.6 16.1-1.5 16.1-1.5l35.2.5c5.8 0 13.2.3 18.6 2.2 8 2.9 7.2 8.5 6.9 19h23.1q0 0 0 0Z",fill:"#c9e4f4",stroke:"#3a0d14",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"6"}),(0,s.jsx)("path",{fill:"#2859af",stroke:"#3a0d14",strokeMiterlimit:"10",strokeWidth:"6",d:"M628.8 347.2s8.1-35.4-31.7-36.5c-32.2-.9-28.3-1.5-65.2-.5-39.7 1-32.1 36.7-32.1 36.7l22.7.3s-1.2-14.8 6.5-20.2c5.2-3.6 16.1-1.5 16.1-1.5l35.2.5c5.8 0 13.2.3 18.6 2.2 8 2.9 7.2 8.5 6.9 19h23.1Z",opacity:".3"}),(0,s.jsx)("path",{d:"M618.3 347.2s7.8-35.4-31.9-36.5c-32.2-.9-25.4-1.5-62.3-.5-39.7 1-32.1 36.7-32.1 36.7l18 .2s-2.7-13 5-18.4c5.2-3.6 22.3-3.2 22.3-3.2l35.2.5c5.8 0 13.2.3 18.6 2.2 8 2.9 7.2 8.5 6.9 19h20.4q0 0 0 0Z",fill:"#c9e4f4",stroke:"#3a0d14",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"6"}),(0,s.jsx)("path",{d:"M298.1 374.7c5.9 5.8 12.8 9.5 18.7 15.4 5.7 5.8 12.4 11 20.5 13 6.4 1.5 13.1.9 19.6 1.8 8.4 1.1 16.4 4.6 24.8 5.4 9.3.9 18.7-1.4 28-.8 1 0 2.1.3 2.6 1.2.5 1.1-.5 2.2-1.5 2.8-3.2 1.8-6 .5-9.4.9-2 .2-3.6 1.1-5.6 1.7-5.4 1.4-11.1 1.1-16.6.8-23.3-1.2-46.7-2.5-70-3.7",fill:"#fb0"}),(0,s.jsx)("g",{clipPath:"url(#trash-can-clip-3)",children:(0,s.jsx)("path",{d:"M310.2 379.3c1.4 14.7 12.1 28.1 26.4 33 4.5 1.5 9.4 2.3 13.6 4.6-7.4 3.1-15.9 2.2-23.9 1.2-3.5-.5-7.1-1-10.4-2.3-7.9-3.3-12.9-11.3-14.4-19.5-1.2-6.8-.3-13.9 2.6-20.2",fill:"#df9f03"})}),(0,s.jsx)("path",{fill:"none",stroke:"#420a14",strokeMiterlimit:"10",strokeWidth:"6",d:"M298.1 374.7c5.9 5.8 12.8 9.5 18.7 15.4 5.7 5.8 12.4 11 20.5 13 6.4 1.5 13.1.9 19.6 1.8 8.4 1.1 16.4 4.6 24.8 5.4 9.3.9 18.7-1.4 28-.8 1 0 2.1.3 2.6 1.2.5 1.1-.5 2.2-1.5 2.8-3.2 1.8-6 .5-9.4.9-2 .2-3.6 1.1-5.6 1.7-5.4 1.4-11.1 1.1-16.6.8-23.3-1.2-46.7-2.5-70-3.7"}),(0,s.jsx)("path",{d:"M247.5 389.6c-13.4 4.1-55.7 3.5-69-1-1.5-.5-3.2-1.4-3.2-2.9s2.4-2.6 4.2-2.8c12.8-1.4 25.6-2.7 38.4-3.4 34.2-2 44.1-20.3 52.3-29.9",fill:"#fb0"}),(0,s.jsx)("g",{clipPath:"url(#trash-can-clip-4)",children:(0,s.jsx)("path",{d:"M201.8 394.1c3.8 1.7 8.1 1.5 12.3 1.2 4.3-.3 8.6-.5 12.8-.8 3.2-.2 6.5-.4 9.6-1.2 5.3-1.4 9.9-4.8 13-9.2 2-2.8 7.9-14.7 3-16.2-4.4-1.4-10.9 9.1-13.7 11.5-4.8 4.1-10.3 7.4-16.1 9.9-6.6 2.8-13.7 4.5-20.9 4.9Z",fill:"#df9f03"})}),(0,s.jsx)("path",{d:"M247.5 389.6c-13.4 4.1-55.7 3.5-69-1-1.5-.5-3.2-1.4-3.2-2.9s2.4-2.6 4.2-2.8c12.8-1.4 25.6-2.7 38.4-3.4 34.2-2 44.1-20.3 52.3-29.9",fill:"none",stroke:"#3a0d14",strokeMiterlimit:"10",strokeWidth:"6"}),(0,s.jsx)("path",{fill:"#fb0",stroke:"#3a0d14",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"6",d:"M310.8 301.9c7-.9 14.4 1.4 19.6 6.2-11.1 7.8-20.4 17.8-27.4 29.2 8.4 5.2 10.1 16.5 8.9 26.1s-4.2 19.3-2 28.8c2.7 11.2 11 24.7 21.8 30 7.8 3.8 17 3.4 25.8 3 9.8-.4 19.7-.7 29.1 1.9 6.8 1.9 13.1 5.2 20.1 6.2 5.3.8 11.7.5 14.8 4.8-4.1 6.7-12.9 7.8-20.2 8.6-22.1 2.4-44.5 2.1-66.5-1.1-11.8-1.7-24.1-4.5-33.1-12.3s-13.3-19.7-14.1-31.4.5-15.3 2.2-28.8c-1.9 11.8-1.9 16.6-9.9 24.9s-18.5 13.8-29.3 18.3c-8.2 3.4-14.8 7.4-23.7 8.9-9.2 1.5-18.5 1.5-27.8 1.2-20.1-.7-40.1-2.9-59.9-6.4-2.2-.4-5.1-1.9-4.2-3.9.3-.7 1.1-1.2 1.9-1.5 2.7-.9 5.7-.1 8.5-.2 3.7-.2 7.1-2 10.4-3.4 17-7.3 36-7.1 54.1-8.2 8.1-.5 16.5-1.2 23.7-4.8 12.2-6.1 18.6-19.2 25-31.1 5.7-10.6 12.3-19.9 23.3-25.6 4.3-2.2 10.7-4.3 14-7.7 3.6-3.7 4.5-9.8 6.6-14.4 2.7-5.7 5.5-11.5 8.2-17.2h0Z"}),(0,s.jsx)("path",{fill:"#420a14",d:"M328.7 308c-5.5-3.5-10.3-6.4-16.7-7.5-1.1-.2-7.3 9.2-7.9 10.3-2 3.5-2.9 8.2-4.4 12-1.2 2.9-9.8 15.4-6.9 13.9 4.7-2.5 8 .4 9.9 1.9 4.3-5.2 6.8-11.5 11.3-16.5s9.5-9.7 14.8-14Z"})]})})]})])},625544,e=>{"use strict";var t=e.i(843476),s=e.i(500932),i=e.i(271645),l=e.i(618566),r=e.i(948148),c=e.i(356791),a=e.i(351316),n=e.i(238099),o=e.i(408286),d=e.i(148837),h=e.i(660148),x=e.i(662537),f=e.i(928265),j=e.i(471195),p=e.i(971664),u=e.i(340948),k=e.i(320111),m=e.i(436583),y=e.i(148643);function C(e){let f,j,C,T,O,M,_,g,R,S,U,b,v,w,B,H,I,P=(0,s.c)(67),{error:L,reset:W}=e,z=(0,l.useRouter)(),{showLoginModal:K}=(0,p.useLayout)(N),Z=(0,r.useTranslations)(),A=(0,k.useMarket)(),G=(0,m.useUserQuery)();if(P[0]!==L?(f=()=>{E(L)||(0,x.captureException)(L)},j=[L],P[0]=L,P[1]=f,P[2]=j):(f=P[1],j=P[2]),(0,i.useEffect)(f,j),E(L)){let e,s,i,l,r,n,h,x,f,j;return P[3]!==Z?(e=Z("CHECKOUT_SCREEN.ERROR.NO_PRODUCTS"),P[3]=Z,P[4]=e):e=P[4],P[5]!==e?
2(s=(0,t.jsx)(o.Headline,{size:"xs",as:"h2",color:"text-tertiary-brown-500",children:e}),P[5]=e,P[6]=s):s=P[6],P[7]!==Z?(i=Z("CHECKOUT_SCREEN.NOTIFICATION.IF_YOU_HAVE_ADDED"),P[7]=Z,P[8]=i):i=P[8],P[9]!==i?(l=(0,t.jsx)(c.BodyText,{size:"text-base",color:"text-tertiary-brown-500",textAlign:"text-center",children:i}),P[9]=i,P[10]=l):l=P[10],P[11]!==A||P[12]!==z?(r=()=>{z.replace(u.routeConfig[A].home)},P[11]=A,P[12]=z,P[13]=r):r=P[13],P[14]!==Z?(n=Z("CHECKOUT_SCREEN.BUTTON.CONTINUE_SHOPPING"),P[14]=Z,P[15]=n):n=P[15],P[16]!==r||P[17]!==n?(h=(0,t.jsx)(a.PrimaryButton,{size:"lg",onClick:r,children:n}),P[16]=r,P[17]=n,P[18]=h):h=P[18],P[19]!==K||P[20]!==Z||P[21]!==G.data?(x=G.data?null:(0,t.jsx)(d.TertiaryButton,{size:"lg",onClick:K,children:Z("CHECKOUT_SCREEN.BUTTON.LOG_IN")}),P[19]=K,P[20]=Z,P[21]=G.data,P[22]=x):x=P[22],P[23]!==x||P[24]!==h?(f=(0,t.jsxs)("div",{className:"flex flex-col space-y-1",children:[h,x]}),P[23]=x,P[24]=h,P[25]=f):f=P[25],P[26]!==f||P[27]!==s||P[28]!==l?(j=(0,t.jsx)("div",{"data-testid":"empty-checkout-error",children:(0,t.jsx)("div",{className:"flex flex-col items-center rounded-sm bg-white p-4 py-20",children:(0,t.jsx)("div",{className:"flex h-max max-w-lg flex-col items-center self-center",children:(0,t.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[s,l,f]})})})}),P[26]=f,P[27]=s,P[28]=l,P[29]=j):j=P[29],j}return P[30]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsx)("div",{className:"size-max",children:(0,t.jsx)(h.TrashCanSymbol,{className:"h-32 w-auto"})}),P[30]=C):C=P[30],P[31]===Symbol.for("react.memo_cache_sentinel")?(T=(0,t.jsx)("div",{className:"flex h-28 -skew-y-6 flex-col justify-center",children:(0,t.jsx)(o.Headline,{size:"base",as:"h1",color:"text-tertiary-brown-500",children:"Oh no!"})}),P[31]=T):T=P[31],P[32]!==Z?(O=Z("CHECKOUT_SCREEN.ERROR.SOMETHING_WENT_WRONG"),P[32]=Z,P[33]=O):O=P[33],P[34]!==O?(M=(0,t.jsx)(o.Headline,{size:"xs",as:"h2",color:"text-tertiary-brown-500",children:O}),P[34]=O,P[35]=M):M=P[35],P[36]!==Z?(_=Z("CHECKOUT_SCREEN.NOTIFICATION.SOMETHING_WENT_WRONG"),P[36]=Z,P[37]=_):_=P[37],P[38]!==_?(g=(0,t.jsx)(c.BodyText,{size:"text-base",color:"text-tertiary-brown-500",textAlign:"text-center",children:_}),P[38]=_,P[39]=g):g=P[39],P[40]!==A||P[41]!==z?(R=()=>{z.replace(u.routeConfig[A].home)},P[40]=A,P[41]=z,P[42]=R):R=P[42],P[43]!==Z?(S=Z("CHECKOUT_SCREEN.BUTTON.CONTINUE_SHOPPING"),P[43]=Z,P[44]=S):S=P[44],P[45]!==S||P[46]!==R?(U=(0,t.jsx)(a.PrimaryButton,{size:"lg",onClick:R,children:S}),P[45]=S,P[46]=R,P[47]=U):U=P[47],P[48]!==W?(b=()=>{(async()=>{let e=(0,y.getQueryClient)();await e.refetchQueries({queryKey:["checkout"]}),W()})()},P[48]=W,P[49]=b):b=P[49],P[50]!==Z?(v=Z("CHECKOUT_SCREEN.BUTTON.TRY_AGAIN"),P[50]=Z,P[51]=v):v=P[51],P[52]!==b||P[53]!==v?(w=(0,t.jsx)(n.SecondaryButton,{size:"lg",onClick:b,children:v}),P[52]=b,P[53]=v,P[54]=w):w=P[54],P[55]!==K||P[56]!==Z||P[57]!==G.data?(B=G.data?null:(0,t.jsx)(d.TertiaryButton,{size:"lg",onClick:K,children:Z("CHECKOUT_SCREEN.BUTTON.LOG_IN")}),P[55]=K,P[56]=Z,P[57]=G.data,P[58]=B):B=P[58],P[59]!==U||P[60]!==w||P[61]!==B?(H=(0,t.jsxs)("div",{className:"flex flex-col space-y-2",children:[U,w,B]}),P[59]=U,P[60]=w,P[61]=B,P[62]=H):H=P[62],P[63]!==H||P[64]!==M||P[65]!==g?(I=(0,t.jsx)("div",{"data-testid":"unexpected-checkout-error",children:(0,t.jsx)("div",{className:"flex flex-col items-center rounded-sm bg-white p-4",children:(0,t.jsxs)("div",{className:"flex h-max max-w-lg flex-col items-center self-center",children:[C,T,(0,t.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[M,g,H]})]})})}),P[63]=H,P[64]=M,P[65]=g,P[66]=I):I=P[66],I}function N(e){let{actions:t}=e;return t}let E=e=>e instanceof j.MissingBasketIdError||e instanceof f.EmptyBasketError||e instanceof f.UnpopulatedCheckoutError;e.s(["default",0,function(e){let i,l=(0,s.c)(3),{error:r,reset:c}=e;return l[0]!==r||l[1]!==c?(i=(0,t.jsx)(C,{error:r,reset:c}),l[0]=r,l[1]=c,l[2]=i):i=l[2],i}],625544)}]);
3
4//# debugId=6f1d1243-4c14-b4b7-fe8b-c5bfef74321f

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.