1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[46],{OXww:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("q1tI"),c=n("i8i4"),r=n("17x9"),o=n.n(r);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.children,n=e.selector,r=void 0===n?"#portalmodal":n,o=Object(i.useRef)(),a=Object(i.useState)(!1),s=a[0],d=a[1];return Object(i.useEffect)((function(){o.current=document.querySelector(r),d(!0)})),s?Object(c.createPortal)(t,o.current):null}a.propTypes={children:o.a.node,selector:o.a.string}},fTgL:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customer/account/createPassword",function(){return n("l/fo")}])},inFK:function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return O}));var i=n("nKUr"),c=n("q1tI"),r=n("vOnD"),o=n("D4Hx"),a=n("KeOb"),s=n("04RH"),d=n("OXww"),l=n("HkP6"),b=n("Y4Xf"),j=r.c.div.withConfig({displayName:"dialog__BaseDailogViewWrapper",componentId:"sc-2xllrl-0"})(["position:fixed;left:0;top:0;z-index:999;height:100vh;width:100vw;overflow:hidden;transition:height 0.2s ease-in;>.dialog-bg{width:100%;height:100%;left:0;top:0;position:absolute;display:block;transition:all 0.4s ease-out;}>.dialog-container-wrapper{max-width:",";margin-left:auto;margin-right:auto;padding:",";filter:drop-shadow(0px 4px 20px rgba(0,0,0,0.25));flex-direction:column;display:flex;justify-content:center;align-items:center;height:100%;"," >.dialog-container{width:100%;transition:all 0.5s ease-out;transform:translate(0,-100%);opacity:0;background:var(--color-text-rev);border-radius:",";padding:",";@media screen and (min-width:","){padding:",";}display:flex;max-height:100%;flex-direction:column;>.dialog-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:",";h4{padding-bottom:0;}button{display:block;padding-right:0;}.rz-svg-icon{color:var(--color-disabled);padding-right:0;&:hover{color:var(--color-text);}}}>.dialog-action{border-top:1px solid var(--color-disabled-3);padding-top:",";margin-top:",";}>.dialog-content{flex-grow:2;overflow:auto;>section{padding-bottom:",";}}}}",""],Object(o.c)(1440),Object(o.c)(20),(function(e){return e.containerWidth&&Object(r.b)(["@media screen and (min-width:","){width:",";}"],o.a.sm,e.containerWidth)}),Object(o.c)(6),Object(o.c)(15),o.a.sm,Object(o.c)(20),Object(o.c)(10),Object(o.c)(10),Object(o.c)(20),Object(o.c)(10),(function(e){return e.show&&Object(r.b)([">.dialog-bg{background-color:#33333345;}>.dialog-container-wrapper{>.dialog-container{opacity:1;transform:translate(0,0);}}"])})),O=function(e){var t=e.show,n=e.children,r=e.titleText,o=e.titleSection,b=e.showClose,j=e.actionSection,O=e.confirmText,p=e.containerWidth,f=e.onConfirm,h=e.onClose,m=function(e){h&&h(e)},w=Object(c.useState)(t),g=w[0],x=w[1],v=Object(c.useState)(t),y=v[0],P=v[1],N=Object(c.useState)(null),S=N[0],_=N[1];return Object(c.useEffect)((function(){setTimeout((function(){P(t)}),10)}),[t]),Object(c.useEffect)((function(){S&&clearTimeout(S);var e=setTimeout((function(){x(y)}),510);_(e)}),[y]),g||y||t?Object(i.jsx)(d.a,{children:Object(i.jsxs)(u,{show:y,containerWidth:p,children:[Object(i.jsx)("div",{className:"dialog-bg",onClick:m,onKeyDown:function(e){e.defaultPrevented||("Esc"!==e.key&&"Escape"!==e.key||m(),e.preventDefault())},role:"presentation"}),Object(i.jsx)("div",{className:"dialog-container-wrapper",children:Object(i.jsxs)("div",{className:"dialog-container",children:[Object(i.jsxs)("div",{className:"dialog-title",children:[o,r&&Object(i.jsx)(a.q,{children:r}),b&&h&&Object(i.jsx)(l.b,{icon:Object(i.jsx)(s.a,{}),noborder:!0,onClick:m,ariaLabel:"Close Button"})]}),Object(i.jsx)("div",{className:"dialog-content",children:n}),(j||O)&&Object(i.jsxs)("div",{className:"dialog-action",children:[j,O&&f&&Object(i.jsx)(l.c,{asList:!0,children:Object(i.jsx)(l.b,{mode:"primary",onClick:f,ariaLabel:"Confirm",children:O})})]})]})})]})}):null},u=Object(b.b)(j,"DailogViewWrapper")},"l/fo":function(e,t,n){"use strict";n.r(t),n.d(t,"__N_SSP",(function(){return H})),n.d(t,"RegisterPage",(function(){return I}));var i=n("nKUr"),c=n("q1tI"),r=n("g4pe"),o=n.n(r),a=n("vOnD"),s=n("IIqq"),d=n("k2Nb"),l=n("cpVT"),b=n("xvhg"),j=n("D4Hx"),O=n("pZLH"),u=n("vH26"),p=n("KYPV"),f=n("GT3C"),h=n("lHh/"),m=n("HkP6"),w=n("KeOb"),g=n("Y4Xf"),x=n("666R");function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?v(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=a.c.div.withConfig({displayName:"newPassword__BaseNewPasswordViewWrapper",componentId:"sc-1h3wcpy-0"})(["padding-top:",";h1{padding:"," 0;}@media screen and (min-width:","){h1{font-size:",";line-height:",";}.title{font-size:",";line-height:",";}}.field-text{margin-bottom:",";@media screen and (min-width:","){font-size:",";line-height:",";}}.rz-col{h1{padding-top:0;}}>.content-inner{display:block;padding-left:0;padding-right:0;@media screen and (min-width:","){display:flex;justify-content:space-between;}>.page-section-main{.forgot-password{cursor:pointer;text-decoration:none;}@media screen and (min-width:","){width:",";}@media screen and (min-width:","){width:",";}.button{width:100%;justify-content:center;@media screen and (min-width:","){width:auto;}}}}.rz-row{.rz-form-item{flex:1;}}.form-next-step{margin:"," 0 ",";text-align:center;@media screen and (min-width:","){text-align:left;}}.error-message{color:var(--color-error);}"],Object(j.c)(30),Object(j.c)(18),j.a.sm,Object(j.c)(24),Object(j.c)(37),Object(j.c)(30),Object(j.c)(37),Object(j.c)(18),j.a.sm,Object(j.c)(18),Object(j.c)(26),j.a.sm,j.a.sm,Object(j.c)(380),j.a.md,Object(j.c)(480),j.a.sm,Object(j.c)(15),Object(j.c)(5),j.a.sm),N=Object(g.b)(P,"NewPasswordViewWrapper"),S=Object(g.b)((function(e){var t=e.onSetNewPassword,n=e.saving,r=e.saveError,o=y({},Object(x.k)()),a=y({},Object(x.q)()),d=Object(c.useState)(a)[0],l=Object(c.useState)(!1),b=l[0],j=l[1],O=Object(c.useState)(""),u=O[0],g=O[1];return Object(i.jsxs)(N,{children:[Object(i.jsx)(w.q,{as:"h1",className:"title",children:Object(s.u)("button.SET_NEW_PASSWORD")}),Object(i.jsx)(f.c,{className:"content-inner",children:Object(i.jsx)(f.a,{className:"page-section-main",children:Object(i.jsx)("div",{children:Object(i.jsx)(p.d,{initialValues:d,onSubmit:b?function(e){t&&t(Object(x.e)(e))}:null,validateOnMount:!0,children:function(e){var t=e.isValid,c=e.values;return Object(i.jsxs)(p.c,{children:[Object(i.jsx)("div",{children:Object(i.jsx)(h.c,{field:o.email})}),Object(i.jsx)("div",{children:Object(i.jsx)(h.c,{field:o.newPassword})}),Object(i.jsx)("div",{children:Object(i.jsx)(h.c,{field:o.confirmPassword})}),Object(i.jsxs)("div",{className:"error-message",children:[r&&Object(i.jsxs)("div",{children:[Object(s.u)("fields.ERROR"),":",Object(s.o)(r.message)]}),u&&Object(i.jsxs)("div",{children:[Object(s.u)("fields.ERROR"),":",u]})]}),Object(i.jsx)("div",{className:"form-next-step",children:Object(i.jsx)(m.b,{disabled:!t||n,mode:"primary",type:"submit",filled:!0,className:"button",ariaLabel:"Login",onClick:function(){return function(e){var t=e.newPassword,n=e.confirmPassword;t&&n&&(t!==n?(j(!1),g(Object(s.u)("fields.PASSWORD_MISMATCH"))):(j(!0),g("")))}(c)},children:Object(i.jsx)(w.p,{as:"span",children:Object(s.u)("button.SET_NEW_PASSWORD")})})})]})}})})})})]})}),"NewPasswordView"),_=n("inFK"),k=n("20a2");function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}var D=a.c.div.withConfig({displayName:"newPassword__BaseNewPasswordControllerWrapper",componentId:"y0l76d-0"})(["@media screen and (min-width:","){max-width:",";margin:auto;padding-top:",";}"],j.a.sm,Object(j.c)(480),Object(j.c)(20)),W=function(e){var t=e.token,n=Object(k.useRouter)(),r=Object(c.useState)(!1),o=r[0],a=r[1],s=Object(c.useState)(!1),d=s[0],j=s[1],p=Object(O.a)(u.s,{onCompleted:function(e){e&&e.resetPassword?(j(!0),a(!1),n.push({pathname:"/customer/account/login/"})):a(!1)}}),f=Object(b.a)(p,2),h=f[0],m=f[1].error;return Object(i.jsxs)(C,{children:[Object(i.jsx)(_.b,{titleText:"Lykilor\xf0 uppf\xe6rt",showClose:!0,onClose:function(){return j(!1)},show:d,containerWidth:"400px",children:Object(i.jsx)(w.H,{children:"Lykilor\xf0i\xf0 hefur veri\xf0 uppf\xe6rt"})}),Object(i.jsx)(S,{onSetNewPassword:function(e){a(!0);var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?E(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({resetPasswordToken:t},e);h({variables:n})},saving:o,saveError:m})]})},C=Object(g.b)(D,"NewPasswordControllerWrapper"),T=a.c.div.withConfig({displayName:"NewPasswordPage__NewPasswordPageWrapper",componentId:"nrwb6e-0"})(["margin-bottom:",";@media screen and (min-width:","){margin-bottom:",";}"],Object(j.c)(40),j.a.md,Object(j.c)(80)),R=function(e){var t=e.token;return Object(i.jsx)(d.b,{children:function(){return Object(i.jsxs)(T,{children:[Object(i.jsxs)(o.a,{children:[Object(i.jsx)("title",{children:Object(s.u)("labelAndTitle.NEW_PASSWORD")}),Object(i.jsx)("meta",{name:"description",content:Object(s.u)("labelAndTitle.NEW_PASSWORD")})]}),Object(i.jsx)("div",{className:"rz-section-content",children:Object(i.jsx)(W,{token:t})})]})}})},H=!0,I=function(e){var t=e.token;return Object(i.jsx)(R,{token:t})};t.default=I}},[["fTgL",0,2,1,3,4,5,6]]]);
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.