PageSourceSearch

https://www.lyfjaver.is/_next/static/chunks/1517-fea5227f48be3539.js

js lyfjaver.is collected 2026-10-09 03:27:04 UTC 10,911 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1517],{5954:(e,r,t)=>{t.d(r,{l:()=>n.l});var n=t(68637)},51517:(e,r,t)=>{t.d(r,{O:()=>er});var n,s,a,i,l,o,c,d,u,h,m,p,g,x,v,f,y,w,j=t(6029),b=t(55729);function N(){return(N=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}let k=function(e){return b.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-layers"},e),n||(n=b.createElement("polygon",{points:"12 2 2 7 12 12 22 7 12 2"})),s||(s=b.createElement("polyline",{points:"2 17 12 22 22 17"})),a||(a=b.createElement("polyline",{points:"2 12 12 17 22 12"})))};function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}let O=function(e){return b.createElement("svg",E({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-log-out"},e),i||(i=b.createElement("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"})),l||(l=b.createElement("polyline",{points:"16 17 21 12 16 7"})),o||(o=b.createElement("line",{x1:21,y1:12,x2:9,y2:12})))};function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}let L=function(e){return b.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-settings"},e),c||(c=b.createElement("circle",{cx:12,cy:12,r:3})),d||(d=b.createElement("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"})))};function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}let C=function(e){return b.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-user"},e),u||(u=b.createElement("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"})),h||(h=b.createElement("circle",{cx:12,cy:7,r:4})))};var P=t(8145),B=t.n(P),H=t(32988),S=t.n(H),V=t(87788),W=t(69427),M=t(64466);t(99170);var I=t(58633),Y=t(17490),z=t(63191),F=t(73947),J=t(34152),T=t(70329),q=t(64118),D=t(50556),G=t(11287),R=t(42043),U=t(81278);function Z(){return(Z=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}let K=function(e){return b.createElement("svg",Z({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-file-text"},e),m||(m=b.createElement("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"})),p||(p=b.createElement("polyline",{points:"14 2 14 8 20 8"})),g||(g=b.createElement("line",{x1:16,y1:13,x2:8,y2:13})),x||(x=b.createElement("line",{x1:16,y1:17,x2:8,y2:17})),v||(v=b.createElement("polyline",{points:"10 9 9 9 8 9"})))};function Q(){return(Q=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}let X=function(e){return b.createElement("svg",Q({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-plus-square"},e),f||(f=b.createElement("rect",{x:3,y:3,width:18,height:18,rx:2,ry:2})),y||(y=b.createElement("line",{x1:12,y1:8,x2:12,y2:16})),w||(w=b.createElement("line",{x1:8,y1:12,x2:16,y2:12})))};var $=t(94261),ee=t(5954);let er=e=>{var r,t,n,s,a,i,l;let o=(0,D.a)(),c=null==o||null==(r=o.Account)?void 0:r.dropdownMenu,{children:d,currentHeader:u}=e,h=(0,U.useRouter)(),{userData:m,isLoading:p}=(0,Y.J)(),{data:g,isLoading:x,refetch:v}
1=(0,z.cN)(null==m?void 0:m.company_ssn,{enabled:!p&&!!(null==m?void 0:m.company_ssn)&&(0,T.Yc)()}),f=(0,R.useTranslations)("superstore.layout.account"),{data:y}=(0,F.sz)(),[w]=(0,G.V)({key:"showNotificationBanner",globalState:!0}),[N,E]=(0,b.useState)(""),_=async()=>{localStorage.removeItem(J.Hh.cart),localStorage.removeItem(J.Hh.prescriptionCart),await B().post(J.JZ.API_LOGOUT),window.location.href="/"};return(0,b.useEffect)(()=>{g&&(null==m?void 0:m.company_ssn)!==(null==g?void 0:g.Number)&&v()},[g]),(0,b.useEffect)(()=>{E(h.asPath)},[h.asPath]),(0,j.jsx)(ee.l,{...e,wrapInMain:!1,children:(0,j.jsxs)("div",{className:"relative",children:[(0,j.jsx)("div",{className:"absolute bottom-0 left-0 right-1/2 top-0 hidden bg-primary md:block"}),(0,j.jsx)("div",{className:"absolute bottom-0 left-1/2 right-0 top-0 hidden bg-background md:block"}),(0,j.jsxs)("div",{className:"layout-account-container container relative flex min-h-[1100px] flex-1",children:[(0,j.jsxs)("div",{className:"hidden bg-primary pl-8 pr-16 md:block",children:[(0,j.jsxs)("div",{className:S()("sticky flex flex-col gap-4",(0,$.os)(u,w)),children:[(0,j.jsx)("h3",{className:"m-0 pb-24 pt-32 font-bold text-white",children:f("my-pages")}),(0,T.oD)()&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(I.A,{href:"/minar-sidur/lyfsedlar",className:S()("flex cursor-pointer items-center gap-4 roun
1ded-lg p-4 text-white hover:bg-primary-300",{"bg-primary-300":"/minar-sidur/lyfsedlar"===N}),children:[(0,j.jsx)(K,{className:"h-8 w-8"}),(0,j.jsx)("div",{children:f("prescriptions")})]}),(0,j.jsxs)(I.A,{href:"/minar-sidur/sjukratryggingar",className:S()("flex cursor-pointer items-center gap-4 rounded-lg p-4 text-white hover:bg-primary-300",{"bg-primary-300":"/minar-sidur/sjukratryggingar"===N}),children:[(0,j.jsx)(X,{className:"h-8 w-8"}),(0,j.jsx)("div",{children:f("payment-steps-si")})]})]}),(0,q.uL)(null==m?void 0:m.company_ssn,null==y||null==(t=y.wholesale)?void 0:t.dk_guest_ssn)&&(0,j.jsxs)(I.A,{href:"/minar-sidur/pantanir",className:S()("minar-sidur-pantanir flex cursor-pointer items-center gap-4 rounded-lg p-4 text-white hover:bg-primary-300",{"bg-primary-300":"/minar-sidur/pantanir"===N}),children:[(0,j.jsx)(k,{className:"minar-sidur-pantanir-icon h-8 w-8"}),(0,j.jsxs)("div",{className:"minar-sidur-pantanir-text",children:[" ",f("orders")]})]}),(0,T.Yc)()&&(null==y||null==(n=y.wholesale)?void 0:n.sales_order)&&(null==m?void 0:m.company_ssn)!==(null==y||null==(s=y.wholesale)?void 0:s.dk_guest_ssn)&&(0,j.jsxs)(I.A,{href:"/minar-sidur/solu-pantanir",className:S()("flex cursor-pointer items-center gap-4 roun
1ded-lg p-4 text-white hover:bg-primary-300"),children:[(0,j.jsx)(k,{className:"h-8 w-8"}),(0,j.jsx)("div",{className:"text-white",children:"S\xf6lupantanir"})]}),(0,T.Yc)()&&(null==y||null==(a=y.wholesale)?void 0:a.sales_invoice)&&(null==m?void 0:m.company_ssn)!==(null==y||null==(i=y.wholesale)?void 0:i.dk_guest_ssn)&&(0,j.jsxs)(I.A,{href:"/minar-sidur/solu-reikningar",className:S()("flex cursor-pointer items-center gap-4 rounded-lg p-4 text-white hover:bg-primary-300"),children:[(0,j.jsx)(k,{className:"h-8 w-8"}),(0,j.jsx)("div",{className:"text-white",children:"S\xf6lureikningar"})]}),!x&&((0,T.Yc)()?!!g&&((null==g?void 0:g.Contacts)?null==g?void 0:g.Contacts.findIndex(e=>(null==e?void 0:e.Number)===(null==m?void 0:m.user_ssn)):-1)>-1:void 0)&&(0,j.jsxs)(I.A,{href:"/minar-sidur/vorumottakendur",className:S()("flex cursor-pointer items-center gap-4 rounded-lg p-4 text-white hover:bg-primary-300"),children:[(0,j.jsx)(C,{className:"h-8 w-8"}),(0,j.jsx)("div",{className:"text-white",children:"Notendur"})]}),!1,(null==y||null==(l=y.features)?void 0:l.onpaySaveCardPage)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(I.A,{href:"/minar-sidur/lyfjaskommtun",className:S()("flex items-center gap-4 roun
1ded-lg p-4 text-white hover:bg-primary-300",{"bg-primary-300":N.startsWith("/minar-sidur/lyfjaskommtun")}),children:[(0,j.jsx)(M.V,{className:"h-8 w-8"}),(0,j.jsx)("div",{children:f("dose-dispensing")})]}),(0,j.jsxs)("div",{className:"ml-8 flex flex-col border-l-2 border-white/30",children:[(0,j.jsxs)(I.A,{href:"/minar-sidur/lyfjaskommtun?tab=dropp",className:"flex cursor-pointer items-center gap-4 rounded-lg py-3 pl-8 pr-4 text-white hover:bg-primary-300",children:[(0,j.jsx)(W.f,{className:"h-8 w-8"}),(0,j.jsx)("div",{children:f("dropp-delivery-methods")})]}),(0,j.jsxs)(I.A,{href:"/minar-sidur/lyfjaskommtun?tab=kortid",className:"flex cursor-pointer items-center gap-4 rounded-lg py-3 pl-8 pr-4 text-white hover:bg-primary-300",children:[(0,j.jsx)(V.B,{className:"h-6 w-6"}),(0,j.jsx)("div",{children:f("my-card")})]})]})]}),(0,j.jsxs)(I.A,{href:"/minar-sidur/stillingar",className:S()("flex cursor-pointer items-center gap-4 rounded-lg p-4 text-white hover:bg-primary-300",{"bg-primary-300":"/minar-sidur/stillingar"===N}),children:[(0,j.jsx)(L,{className:"minar-sidur-stillingar-icon h-8 w-8"}),(0,j.jsx)("div",{className:"minar-sidur-stillingar-text",children:f("settings")})]}),c&&(0,j.jsx)(c,{activePage:N}),(0,j.jsxs)("div",{className:"flex cursor-pointer items-center gap-4 roun
1ded-lg p-4 text-white hover:bg-primary-300",onClick:_,children:[(0,j.jsx)(O,{className:"h-8 w-8"}),(0,j.jsx)("div",{children:f("logout")})]})]}),(0,T.Yc)()&&g&&(0,j.jsxs)("div",{className:"absolute bottom-10 text-white",children:[(0,j.jsx)("div",{children:"Skuldunautur"}),(0,j.jsx)("div",{children:null==g?void 0:g.Name})]})]}),(0,j.jsx)("main",{className:"flex-1 bg-background",children:d})]})]})})}}}]);

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.