PageSourceSearch

https://www.syn.is/_next/static/chunks/pages/vefverslun/karfa-e56460a1d747a0cd.js

js syn.is collected 2026-10-01 11:57:02 UTC 16,738 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[91774],{7119:(e,t,l)=>{"use strict";l.d(t,{A:()=>v});var s=l(33736),r=l(91844),n=l(80573),a=l(3638),i=l(10105),o=l(6751),d=l(5809),c=l.n(d);let x=e=>{let{title:t,description:l,url:r,imageUrl:n,type:a="website"}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("meta",{property:"og:type",content:a}),(0,s.jsx)("meta",{property:"og:url",content:r}),(0,s.jsx)("meta",{property:"og:title",content:t}),(0,s.jsx)("meta",{property:"og:description",content:l}),(0,s.jsx)("meta",{property:"og:image",content:n})]})},m=e=>{let{title:t,description:l,url:r,imageUrl:n}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{property:"twitter:url",content:r}),(0,s.jsx)("meta",{property:"twitter:title",content:t}),(0,s.jsx)("meta",{property:"twitter:description",content:l}),(0,s.jsx)("meta",{property:"twitter:image",content:n})]})};var u=l(87386);let h=e=>{var t;let l=(0,u.M)(e.metaTags.title,"S\xfdn"),r=(0,u.M)(e.metaTags.description,""),n=(0,u.M)(e.metaTags.url,"https://www.syn.is"),a=(0,u.M)(null==(t=e.metaTags.image)?void 0:t.url,""),i=(0,u.M)(e.metaTags.keywords,""),o={title:l,description:r,url:n,imageUrl:a},d=e.metaTags.noIndex;return(0,s.jsxs)(s.Fragment,{children:[d&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,s.jsx)("meta",{name:"title",content:l}),(0,s.jsx)("meta",{name:"description",content:r}),(0,s.jsx)("meta",{name:"keywords",content:i}),(0,s.jsx)("meta",{name:"google-site-verification",content:"2Z5bQP4HS0cP5CNl_ztZdgdb84DloJWZKjV1BjWZpTk"}),(0,s.jsx)(m,{...o}),(0,s.jsx)(x,{...o}),(0,s.jsx)(x,{...o})]})};var p=l(1244),j=l(33937),f=l(79273),g=l(7504),w=l(63043);let v=e=>{var t,l,d,x;let{title:m,metaTags:v,contactFormSetting:C,footer:b,navbar:y,radioSchedules:N,children:k}=e;(0,g.RH)([[w.$d,N]]);let[A,_]=r.useState(),T=null==(l=b.footerCollection)||null==(t=l.items)?void 0:t[0],H=null==(x=y.navbarCollection)||null==(d=x.items)?void 0:d[0],E=(0,p.n_)(),S=(0,j.useSearchParams)(),[L,M]=r.useState(!1),V=()=>{M(!1)};return r.useEffect(()=>{"true"===S.get("komdu-i-vidskipti")&&M(!0)},[S]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(c(),{children:[(0,s.jsx)("title",{children:(0,u.M)(m,"S\xfdn")}),v&&(0,s.jsx)(h,{metaTags:v})]}),H&&(0,s.jsx)(n.A,{navbar:H,openDropdownTitle:A,onSetOpenDropdownTitle:_,contactFormSetting:C}),(0,s.jsxs)("div",{className:(0,a.A)(i.uz,"mt-20 lg:mt-30 filter-none transition-filter"),children:[!!A&&E&&(0,s.jsx)("div",{id:"blurContent",className:"fixed z-[99] h-full w-full backdrop-blur-md transition-filter"}),k,T&&(0,s.jsx)(o.A,{data:T})]}),(0,s.jsx)(f.A,{isOpen:L,title:"Takk fyrir",text:"Vi\xf0 h\xf6fum m\xf3tteki\xf0 fyrirspurnina og munum svara henni eins flj\xf3tt og au\xf0i\xf0 er.",buttonText:"Loka glugga",variant:"content",onClose:V,onClick:V})]})}},12250:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/vefverslun/karfa",function(){return l(96491)}])},20316:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var s=l(33736),r=l(3638),n=l(13664);let a=()=>(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M15.4999 1.75C15.0857 1.75 14.7499 2.08579 14.7499 2.5C14.7499 2.91421 15.0857 3.25 15.4999 3.25H19.4999C19.5746 3.25 19.6478 3.25656 19.7189 3.26913L13.0184 9.96967C12.7255 10.2626 12.7255 10.7374 13.0184 11.0303C13.3113 11.3232 13.7861 11.3232 14.079 11.0303L20.7428 4.36653C20.7475 4.41038 20.7499 4.45491 20.7499 4.5V8.5C20.7499 8.91421 21.0857 9.25 21.4999 9.25C21.9141 9.25 22.2499 8.91421 22.2499 8.5V4.5C22.2499 3.7588 21.9567 3.08609 21.4799 2.59155L21.4765 2.58807C20.9765 2.07129 20.2757 1.75 19.4999 1.75H15.4999Z",fill:"#F14157"}),(0,s.jsx)("path",{d:"M11.5 2.75018L11.4624 2.75018C9.81192 2.75018 8.52215 2.75017 7.49047 2.84368C6.44067 2.93883 5.58471 3.13551 4.825 3.57413C3.89008 4.1139 3.11372 4.89026 2.57394 5.82518C2.13532 6.5849 1.93864 7.44085 1.84349 8.49066C1.74999 9.52233 1.74999 10.8121 1.75 12.4626V12.5378C1.74999 14.1883 1.74999 15.478 1.84349 16.5097C1.93864 17.5595 2.13532 18.4155 2.57394 19.1752C3.11372 20.1101 3.89008 20.8865 4.825 21.4262C5.58471 21.8649 6.44067 22.0615 7.49047 22.1567C8.52214 22.2502 9.81191 22.2502 11.4624 22.2502H11.5376C13.1881 22.2502 14.4779 22.2502 15.5095 22.1567C16.5593 22.0615 17.4153 21.8649 18.175 21.4262C19.1099 20.8865 19.8863 20.1101 20.4261 19.1752C20.8647 18.4155 21.0614 17.5595 21.1565 16.5097C21.25 15.478 21.25 14.1883 21.25 12.5378V12.5002C21.25 12.086 20.9142 
111.7502 20.5 11.7502C20.0858 11.7502 19.75 12.086 19.75 12.5002C19.75 14.1963 19.7493 15.4182 19.6626 16.3743C19.5769 17.3201 19.4119 17.9318 19.127 18.4252C18.7189 19.1321 18.1319 19.7191 17.425 20.1272C16.9316 20.412 16.3199 20.5771 15.3741 20.6628C14.418 20.7495 13.1961 20.7502 11.5 20.7502C9.80389 20.7502 8.58195 20.7495 7.62587 20.6628C6.6801 20.5771 6.06836 20.412 5.575 20.1272C4.86811 19.7191 4.28111 19.1321 3.87298 18.4252C3.58814 17.9318 3.42309 17.3201 3.33737 16.3743C3.25072 15.4182 3.25 14.1963 3.25 12.5002C3.25 10.8041 3.25072 9.58213 3.33737 8.62605C3.42309 7.68028 3.58814 7.06855 3.87298 6.57518C4.2811 5.86829 4.86811 5.28129 5.575 4.87316C6.06836 4.58832 6.6801 4.42327 7.62587 4.33755C8.58195 4.2509 9.80389 4.25018 11.5 4.25018C11.9142 4.25018 12.25 3.9144 12.25 3.50018C12.25 3.08597 11.9142 2.75018 11.5 2.75018Z",fill:"#F14157"})]}),i=e=>{let{color:t}=e;return(0,s.jsx)("svg",{width:"6",height:"14",viewBox:"0 0 6 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{id:"Label",d:"M5.48863 0.0341187L1.73863 13.9659H0.511353L4.26135 0.0341187H5.48863Z",fill:t})})},o=e=>{let{label:t,size:l="normal",iconPosition:o,disabled:d=!1,isBreadcrumb:c=!1,bold:x=!1}=e;return(0,s.jsxs)("div",{tabIndex:0,className:(0,r.A)("inline-flex items-center gap-4 leading-[22px] text-red-100",{"body-lg":"normal"===l},{"text-md-fixed":"large"===l},{"opacity-40":d},{"cursor-pointer underline-offset-4 hover:underline hover:decoration-red-100":!d},{"font-bold":x}),children:["left"===o&&(c?(0,s.jsx)("div",{className:"ml-2",children:(0,s.jsx)(i,{color:d?n.Tj.red[25]:n.Tj.black[50]})}):(0,s.jsx)(a,{})),t,"right"===o&&(0,s.jsx)(a,{})]})}},48608:(e,t,l)=>{"use strict";l.d(t,{N_:()=>a,SI:()=>i.A});var s=l(33736),r=l(20316),n=l(60486);let a=e=>{let{label:t,href:l,size:a,iconPosition:i,disabled:o}=e;return(0,s.jsx)(n.A,{disabled:o,children:(0,s.jsx)("a",{href:l,className:o?"pointer-events-none opacity-40":"cursor-pointer",children:(0,s.jsx)(r.A,{label:t,size:a,iconPosition:i,disabled:o})})})};var i=l(61694)},60486:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var s=l(33736);l(91844);let r=e=>{let{disabled:t,children:l}=e;return(0,s.jsx)("span",{className:t?"cursor-not-allowed":"",children:l})}},61694:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var s=l(33736),r=l(20316),n=l(29895),a=l.n(n),i=l(60486);let o=e=>{let{label:t,href:l,size:n,iconPosition:o,disabled:d,isBreadcrumb:c,bold:x=!1,onClick:m}=e;return(0,s.jsx)(i.A,{disabled:d,children:(0,s.jsx)(a(),{href:l,className:"outline-black-25 ".concat(d?"pointer-events-none cursor-not-allowed":""),"aria-disabled":d,onClick:m,children:(0,s.jsx)(r.A,{label:t,size:n,iconPosition:o,disabled:d,isBreadcrumb:c,bold:x})})})}},79273:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var s=l(33736),r=l(91844),n=l(55034),a=l.n(n),i=l(15930),o=l(75617),d=l(48608),c=l(9893),x=l(3638),m=l(13664);let u=e=>{let{isOpen:t,title:l,text:n,buttonText:u,hyperlinkText:h,hyperlinkHref:p,variant:j,onClose:f,onClick:g}=e;return r.useEffect(()=>{a().setAppElement("body")},[]),(0,s.jsxs)(a(),{isOpen:t,onRequestClose:f,contentLabel:l,htmlOpenClassName:"overflow-hidden",overlayClassName:"z-20 flex fixed inset-0 justify-center items-center bg-black-100/50 p-16 lg:p-32",className:(0,x.A)("relative max-h-full max-w-xl overflow-y-scroll rounded-28 bg-gradient-to-bl from-[#660713] to-red-100 p-8 shadow-xl outline-none lg:max-w-3xl"),children:[(0,s.jsx)("div",{className:"flex justify-end",children:(0,s.jsx)("button",{"aria-label":"Close",className:"m-8 flex h-32 w-32 items-center justify-center",onClick:f,children:(0,s.jsx)(c.A,{color:m.Tj.primary.white})})}),(0,s.jsxs)("div",{className:"relative p-16 lg:px-[60px] ".concat((0,x.A)({"text-center":"content"===j})),children:[(0,s.jsx)(i.DZ,{variant:"small",classes:"text-white-100",children:l}),(0,s.jsx)(i.fz,{variant:"medium",classes:(0,x.A)("pt-16 text-white-100"),children:n})]}),(0,s.jsx)("div",{className:"flex items-center gap-24 py-[20px] ".concat((0,x.A)({"justify-end px-24":"confirmation"===j,"flex-col-reverse":"content"===j})),children:(0,s.jsxs)(s.Fragment,{children:[p&&h&&(0,s.jsx)(d.N_,{label:h,href:p,size:"large"}),(0,s.jsx)(o.A,{label:u,variant:"primary",onClick:g})]})})]})}},96491:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSP:()=>b,default:()=>y});var s=l(33736),r=l(16766),n=l(56632),a=l.n(n),i=l(29895),o=l.n(i),d=l(7119),c=l(91844);let x=e=>{let{height:t="24",width:l="24",strokeColor:r="currentColor"}=e;return(0,s.jsx)("svg",{width:l,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{id:"Icon",children:(0,s.jsxs)("g",{id:"icon",children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.25C2.58579 3.25 2.25 3.58579 2.25 4C2.25 4.41421 2.58579 4.75 3 4.75C3.81705 4.75 4.52448 5.31748 4.70172 6.11507L5.13165 8.04975C5.13477 8.09674 5.14235 8.14372 5.15449 8.19008L5.20944 8.39979L5.26786 8.6627C5.27935 8.7144 5.29592 8.76366 5.31693 8.81006L6.9921 15.2039C7.53947 17.293 9.42732 18.75 11.587 18.75H16.7506C19.3739 18.75 21.5006 16.6234 21.5006 14V11.2907C21.5006 10.7268 21.4193 10.0465 21.0367 9.44622C20.1758 8.0956 18.674 7.25 17.0314 7.25H6.49052L6.166 5.78968C5.83625 4.30578 4.5201 3.25 3 3.25ZM8.44313 14.8237L6.85182 8.75H17.0314C18.1549 8.75 19.1827 9.32834 19.7718 10.2525C19.931 10.5023 20.0006 10.8465 20.0006 11.2907V14C20.0006 15.7949 18.5455 17.25 16.7506 17.25H11.587C10.1093 17.25 8.81764 16.2531 8.443
113 14.8237Z",fill:r}),(0,s.jsx)("path",{d:"M17 22C17.5523 22 18 21.5523 18 21C18 20.4477 17.5523 20 17 20C16.4477 20 16 20.4477 16 21C16 21.5523 16.4477 22 17 22Z",fill:r}),(0,s.jsx)("path",{d:"M10 21C10 21.5523 9.55228 22 9 22C8.44772 22 8 21.5523 8 21C8 20.4477 8.44772 20 9 20C9.55228 20 10 20.4477 10 21Z",fill:r})]})})})},m=e=>{let{height:t="24",width:l="24",strokeColor:r="currentColor"}=e;return(0,s.jsx)("svg",{width:l,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M12.75 5.00018C12.75 4.58597 12.4142 4.25018 12 4.25018C11.5858 4.25018 11.25 4.58597 11.25 5.00018V11.2502H5C4.58579 11.2502 4.25 11.586 4.25 12.0002C4.25 12.4144 4.58579 12.7502 5 12.7502H11.25V19.0002C11.25 19.4144 11.5858 19.7502 12 19.7502C12.4142 19.7502 12.75 19.4144 12.75 19.0002V12.7502H19C19.4142 12.7502 19.75 12.4144 19.75 12.0002C19.75 11.586 19.4142 11.2502 19 11.2502H12.75V5.00018Z",fill:r})})},u=e=>{let{height:t="24",width:l="24",strokeColor:r="currentColor"}=e;return(0,s.jsx)("svg",{width:l,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M5 11.25C4.58579 11.25 4.25 11.5858 4.25 12C4.25 12.4142 4.58579 12.75 5 12.75H19C19.4142 12.75 19.75 12.4142 19.75 12C19.75 11.5858 19.4142 11.25 19 11.25H5Z",fill:r})})};var h=l(63043),p=l(18705),j=l(75617),f=l(47409),g=l(95466),w=l(19878),v=l(60179),C=l(83234),b=!0;let y=e=>{let{navbar:t,footer:l,radioSchedules:n}=e,[i]=(0,r.fp)(h.ix),[b]=(0,r.fp)(h.go),[y,N]=(0,c.useState)({}),k=(0,r.Xr)(h.AK),A=(0,r.Xr)(h.ho),_=(0,g.useRouter)();(0,c.useEffect)(()=>{let e=async()=>{let e={};for(let s in i){var t,l;if(!(null==(l=i[s])||null==(t=l.product)?void 0:t.id))continue;let r=i[s].product.id;try{let t=await fetch("/api/store/product-available-quantity?id=".concat(r)),l=await t.json();e[r]=l.productAvailability}catch(t){C.t.error("Error fetching availability for: ".concat(r),t),e[r]=0}}N(e)};i&&Object.keys(i).length>0&&0===Object.keys(y).length&&e()},[i,y]);let T=(e,t)=>{let l=i[e];l.quantity+=t,A(l)},H=async()=>{k(await (0,p.$_)(i)),_.push("/vefverslun/karfa/upplysingar")};return(0,s.jsx)(d.A,{title:"S\xfdn | Karfa",metaTags:{title:"S\xfdn Karfa",url:"https://www.syn.is/vefverslun/karfa",keywords:"syn,karfa",image:{url:"/android-chrome-192x192.png"}},navbar:t,footer:l,radioSchedules:n,children:Object.keys(i).length>0?(0,s.jsxs)("div",{className:"col-span-full mx-24 mb-24 py-128 md:col-span-12 md:col-start-2 md:mx-0 lg:mb-64",children:[(0,s.jsx)("h1",{className:"mb-24 text-xl font-bold",children:"Karfan m\xedn!"}),(0,s.jsx)("hr",{className:"my-24 text-[#E1E2E3]"}),(0,s.jsx)("div",{className:"flex w-full flex-col gap-24",children:Object.keys(i).map(e=>{var t,l,r;return(0,s.jsxs)("div",{className:"flex w-full flex-col items-end rounded-16 border-solid border-white-5 bg-white-100 shadow-md",children:[(0,s.jsx)("div",{className:"relative right-[28px] top-4 h-0 w-0",children:(0,s.jsx)("div",{className:"absolute h-16 w-16 text-grey-100",children:(0,s.jsx)("button",{className:"rounded-full p-4 hover:bg-white-5",onClick:()=>(e=>{let t=i[e];t.quantity=0,A(t)})(e),children:(0,s.jsx)(w.A,{width:"16",height:"16",strokeColor:"currentColor"})})})}),(0,s.jsxs)("div",{className:"flex w-full flex-col items-center gap-24 px-24 py-16 md:flex-row md:gap-0",children:[(0,s.jsxs)("div",{className:"flex w-full items-center",children:[(0,s.jsx)("div",{className:"mr-24 flex h-80 w-80 flex-none items-center justify-center",children:(null==(t=i[e].product)?void 0:t.imageUrl)?(0,s.jsx)(a(),{alt:(null==(l=i[e].product)?void 0:l.imageUrl)||"",src:(null==(r=i[e].product)?void 0:r.imageUrl)||"",width:80,height:80,className:"h-80 w-auto object-contain"}):(0,s.jsx)("div",{className:"h-full w-full rounded-4 bg-white-5 p-24",children:(0,s.jsx)(v.A,{bg:"bg-white-5"})})}),(0,s.jsxs)("div",{className:"mr-auto flex flex-col md:w-[300px]",children:[(0,s.jsx)("span",{className:"font-bold",children:i[e].product.name}),(0,s.jsx)("span",{className:" text-black-100",children:i[e].product.variant}),(0,s.jsx)("span",{className:" text-black-100",children:i[e].product.subvariant})]})]}),(0,s.jsxs)("div",{className:"flex w-full justify-between gap-12 md:w-auto md:gap-0",children:[(0,s.jsxs)("div",{className:"flex items-center gap-4 text-red-100 md:order-2 md:ml-auto md:w-[160px] md:justify-end",children:[(0,s.jsx)("span",{className:"text-sm",children:"Ver\xf0:"}),(0,s.jsx)("span",{className:"text-md font-bold",children:(0,p.x9)(i[e].product.price*i[e].quantity)})]}),(0,s.jsxs)("div",{className:"my-auto flex flex-row items-center gap-8 md:order-1",children:[(0,s.jsx)("button",{className:"flex h-32 w-32 items-center justify-center rounded-4 ".concat(i[e].quantity>1?"bg-red-100 text-white-100":"bg-white-5 text-grey-100"),disabled:i[e].quantity<2,onClick:()=>{T(e,-1)},children:(0,s.jsx)(u,{})}),(0,s.jsx)("input",{value:i[e].quantity,type:"text",className:"h-40 w-40 rounded-4 border-1 border-solid border-grey-100 text-center"}),(0,s.jsx)("button",{disabled:0===Object.keys(y).length||y[e]<=i[e].quantity,className:"flex h-32 w-32 items-center justify-center rounded-4 ".concat(0===Object.keys(y).length||y[e]<=i[e].quantity?"bg-white-5 text-grey-100":"bg-red-100 text-white-100"),onClick:()=>{T(e,1)},children:(0,s.jsx)(m,{})})]})]})]})]},e)})}),(0,s.jsxs)("div",{className:"mt-24 grid w-full grid-cols-4 items-end md:grid-cols-12",children:[(0,s.jsx)("div",{className:"col-span-2 grid md:col-start-9 md:justify-end lg:col-span-1 lg:col-start-10",children:"Ver\xf0:"}),(0,s.jsx)("div",{className:"col-span-2 grid justify-end font-bold",children:(0,p.x9)(b)}),(0,s.jsx)("div",{className:"col-span-full",children:(0,s.jsx)("hr",{className:"my-24 text-[#E1E2E3]"})}),(0,s.jsx)("span",{className:"col-span-2 grid font-bold md:col-start-9 md:justify-end lg:col-span-1 lg:col-start-10",children:"Samtal
1s:"}),(0,s.jsx)("span",{className:"col-span-2 grid justify-end text-lg font-bold text-red-100",children:(0,p.x9)(b)}),(0,s.jsx)("div",{className:"col-span-4 mt-24 grid md:col-start-9 lg:col-span-3 lg:col-start-10",children:(0,s.jsx)(j.A,{onClick:H,label:"Kl\xe1ra kaup",bordered:!0,icon:(0,s.jsx)(f.A,{}),iconPosition:"right",autoWidth:!1})})]})]}):(0,s.jsxs)("div",{className:"col-span-full flex h-full flex-col items-center justify-center py-[240px]",children:[(0,s.jsx)("span",{className:"mb-24 text-red-100",children:(0,s.jsx)(x,{width:"64",height:"64"})}),(0,s.jsx)("h1",{className:"mb-48 text-2xl",children:"Karfan er t\xf3m"}),(0,s.jsx)(o(),{className:"rounded-full bg-red-100 px-32 py-16 font-bold text-white-100",href:"/vefverslun",children:"Fara a\xf0 versla"})]})})}}},e=>{e.O(0,[6371,27931,95611,90636,46593,38792],()=>e(e.s=12250)),_N_E=e.O()}]);
2//# sourceMappingURL=karfa-e56460a1d747a0cd.js.map

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.