1"use strict";(self.webpackChunkmedeasy=self.webpackChunkmedeasy||[]).push([[2433],{2433:(h,c,e)=>{e.r(c),e.d(c,{RegisterComponent:()=>P});var a=e(10467),g=e(41966),s=e(20205),t=e(54438),l=e(46863),d=e(74710),_=e(91896),m=e(36554),O=e(80127),C=e(52251);let P=(()=>{class r{commerceService;router;subscriptionsC;spinner;firebaseAuth;seoService;ready=!1;constructor(n,o,i,M,p,u){this.commerceService=n,this.router=o,this.subscriptionsC=i,this.spinner=M,this.firebaseAuth=p,this.seoService=u}ngOnInit(){var n=this;return(0,a.A)(function*(){n.seoService.setPageTitle("Logg inn / registrer deg"),n.subscriptionsC.setCurIndex("register");try{yield n.commerceService.retrieveFromLocalStorage()}catch(i){console.error("Could not restore the order from local storage:",i)}finally{yield n.spinner.hide()}if(0===n.commerceService.selectedProds.length)return console.error(n.commerceService.orderTotal),void n.router.navigate([{outlets:{overlay:"subscriptions"}}]).catch(i=>console.error(i));n.ready=!0;const o=n.firebaseAuth.loginEvent.subscribe(()=>{n.router.navigate([{outlets:{overlay:"subscriptions/cart"}}]).then(()=>{o.unsubscribe()})})})()}ngOnDestroy(){this.seoService.resetOG()}static \u0275fac=function(o){return new(o||r)(t.rXU(l.Z),t.rXU(d.Ix),t.rXU(_.x),t.rXU(m.ex),t.rXU(O.F),t.rXU(C.B))};static \u0275cmp=t.VBU({type:r,selectors:[["app-register"]],standalone:!0,features:[t.aNF],decls:4,vars:0,consts:[[1,"cart"],[1,"content"],["mode","register"]],template:function(o,i){1&o&&(t.j41(0,"div",0),t.nrm(1,"app-prod-list"),t.j41(2,"div",1),t.nrm(3,"app-login",2),t.k0s()())},dependencies:[g.B,s.X],styles:['@charset "UTF-8";.wrapper[_ngcontent-%COMP%]{pointer-events:all;position:fixed;overflow:hidden;inset:0;background:#000000b3;z-index:1000;display:flex;justify-content:center;align-items:center;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.container[_ngcontent-%COMP%]{padding:0;--inner-padding-vertical: 2em;--inner-padding-horizontal: 4em;position:relative;display:flex;background:#fff;border-radius:2em;overflow:hidden;width:80vw;max-width:min(100vw,70em);max-height:100vh}.container[_ngcontent-%COMP%] button.close[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}.container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding:var(--inner-padding-vertical) var(--inner-padding-horizontal);overflow-y:auto;overflow-x:hidden}.container[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{background:var(--color-yellow-light);flex:0 1 33%}.container[_ngcontent-%COMP%] .left.dark[_ngcontent-%COMP%]{background-color:#001f1e;color:var(--color-text-50)}.container[_ngcontent-%COMP%] .left.dark[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .left.dark[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .left.dark[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .left.dark[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:#fff}.container[_ngcontent-%COMP%] .left.dark[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#000}.container[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{flex:1 1 67%}.container[_ngcontent-%COMP%] > .slide[_ngcontent-%COMP%]{flex:1 1 100%}.container[_ngcontent-%COMP%] > .slide[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{text-align:center}@media screen and (max-width: 900px){.container[_ngcontent-%COMP%]{--inner-padding-vertical: 2em;--inner-padding-horizontal: 1.5em;width:100%;height:100%;border-radius:0}.container[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:none}.container[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{flex-basis:100%}}.slides[_ngcontent-%COMP%]{display:flex;flex-direction:column;transition:background-color .2s}.slides[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.slides[_ngcontent-%COMP%] .teaser[_ngcontent-%COMP%]{margin-top:calc(-1 * var(--inner-padding-vertical));background:var(--color-yellow-full);margin-left:calc(-1 * var(--inner-padding-horizontal));margin-right:calc(-1 * var(--inner-padding-horizontal));padding:1em;text-align:center;font-weight:400}.slides[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:70%;height:auto;margin:auto}.slides[_ngcontent-%COMP%] .illustration[_ngcontent-%COMP%]{width:100%}.slide-indicators[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:2em}.slide-indicators[_ngcontent-%COMP%] .indicator[_ngcontent-%COMP%]{width:.5em;height:.5em;background-color:var(--color-turquoise-full);border-radius:1em;opacity:.3;transition:opacity,width .5s;margin:0 .5em}.slide-indicators[_ngcontent-%COMP%] .indicator.active[_ngcontent-%COMP%]{width:2em;opacity:1}.close[_ngcontent-%COMP%]{display:block;background:none;border:none}.close[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;height:2em}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5em}.buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border-radius:10em;border:1px solid black;background:#fff;padding:.5em 2em;font-size:1em;font-weight:300;color:var(--color);display:flex;align-items:center;min-height:3rem}.buttons[_ngcontent-%COMP%] button.inverted[_ngcontent-%COMP%]{background:#000;color:#fff}.buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{height:1.5em;width:1.5em}.buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{margin-left:.5em}
1.separator[_ngcontent-%COMP%]{display:block;text-align:center;overflow:hidden;white-space:nowrap;margin:1.5em 0}.separator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{position:relative;display:inline-block;text-transform:uppercase;font-size:1.15em;font-weight:400}.separator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:before, .separator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:after{content:"";position:absolute;top:50%;width:9999px;height:1px;background:#000}.separator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:before{right:100%;margin-right:15px}.separator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:after{left:100%;margin-left:15px}button[_ngcontent-%COMP%], .button[_ngcontent-%COMP%]{cursor:pointer}button[disabled][_ngcontent-%COMP%], .button[disabled][_ngcontent-%COMP%]{cursor:auto}.cta[_ngcontent-%COMP%]{border-radius:10em;border:none;background:#45ddd5;padding:.5em 2em;font-size:1.25em;font-weight:400;display:block;margin:1.5em auto;color:var(--color)}.cta[disabled][_ngcontent-%COMP%]{opacity:.6}.cta.navigation[_ngcontent-%COMP%]{min-width:10em}.cta.weak[_ngcontent-%COMP%]{background:var(--color-turquoise-light)}.cta.align-left[_ngcontent-%COMP%]{margin-left:0}input.simple-input.simple-input[_ngcontent-%COMP%]{border:none;border-bottom:1px solid var(--color-text-50);border-radius:0;margin:1em 0;padding:.75em 1em;height:auto;width:100%;background:transparent;box-sizing:border-box}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]{font-family:proximanovawf,sans-serif;font-weight:600;letter-spacing:0;line-height:1.05em;color:var(--header-color);margin-top:0}h1[_ngcontent-%COMP%]{font-size:2.5em}h2[_ngcontent-%COMP%]{font-size:2.25em}h3[_ngcontent-%COMP%]{font-size:1.5em}h4[_ngcontent-%COMP%]{font-size:1.25em}h5[_ngcontent-%COMP%]{font-size:1em}.hidden[_ngcontent-%COMP%]{display:none!important}img[_ngcontent-%COMP%]{max-width:100%;height:auto}input[_ngcontent-%COMP%]::-webkit-outer-spin-button, input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}p[_ngcontent-%COMP%]{font-size:1.2em}a[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:400}@media screen and (max-width: 900px){.desktop[_ngcontent-%COMP%]{display:none!important}.cta[_ngcontent-%COMP%]{font-size:1em;width:100%;margin:.75em 0}h1[_ngcontent-%COMP%]{font-size:2em}h2[_ngcontent-%COMP%]{font-size:1.5em}h3[_ngcontent-%COMP%]{font-size:1.25em}.hidden[_ngcontent-%COMP%]{display:none!important}p[_ngcontent-%COMP%]{font-size:1em;line-height:1.5em}.hide-mobile[_ngcontent-%COMP%]{display:none}.content[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:4em;margin:2em auto;display:block}}@media screen and (min-width: 901px){.mobile[_ngcontent-%COMP%]{display:none!important}}.container[_ngcontent-%COMP%]{width:100%;display:grid;grid-template-rows:4em auto;grid-template-columns:100%;overflow-y:auto}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%]{display:grid;grid-row:1;grid-template-columns:7em auto 7em;overflow:visible}@media screen and (max-width: 768px){.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%]{height:1em;background:#fff;z-index:10}}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] .back[_ngcontent-%COMP%]{justify-self:left;grid-column:1;grid-row:1}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] .right-buttons[_ngcontent-%COMP%]{grid-column:3;grid-row:1;justify-self:right}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] .slide-indicators[_ngcontent-%COMP%]{grid-column:2;grid-row:1;justify-self:center;width:100%;pointer-events:none}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] .slide-indicators.hide-first[_ngcontent-%COMP%] [_ngcontent-%COMP%]:first-child{display:none}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] .right-buttons[_ngcontent-%COMP%]{position:relative}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] .cart[_ngcontent-%COMP%]{background:none;position:absolute;right:3em;width:3em;height:3em;top:50%;transform:translateY(-50%)}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] .cart[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{width:100%;height:auto}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] .cart.has-products[_ngcontent-%COMP%]:after{content:attr(data-cart-number);background:red;font-size:1em;top:0;right:0;min-width:.5em;height:.5em;display:block;position:absolute;border:1px solid red;border-radius:1em;color:#fff;padding:.5em;line-height:.5em}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:0;margin:0;display:inline-flex;flex-direction:column;justify-content:center}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] button.close[_ngcontent-%COMP%]{display:inline-flex}.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] .back.hide[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 768px){.container[_ngcontent-%COMP%] .overlayNav[_ngcontent-%COMP%] .back.hide[_ngcontent-%COMP%]{display:inline-block}}.container[_ngcontent-%COMP%] .subscriptionsOutlet[_ngcontent-%COMP%]{grid-column:1;grid-row:2}.products-indicator[_ngcontent-%COMP%]{grid-column:2;grid-row:1;justify-self:center;width:100%;display:flex;align-items:center;justify-content:center}.products-indicator[_ngcontent-%COMP%] .indicator[_ngcontent-%COMP%]{cursor:pointer;margin:0 1em;font-weight:300;border-bottom:2px solid transparent;opacity:.7}.products-indicator[_ngcontent-%COMP%] .indicator.current[_ngcontent-%COMP%]{font-weight:400;border-color:var(--color-turquoise-full);opacity:1}.products-indicator[_ngcontent-%COMP%] .indicator[_ngcontent-%COMP%]:hover{opacity:1;border-color:var(--color-turquoise-full)}@media screen and (max-width: 768px){.products-indicator[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]{--text-color: var(--color-text);--button-color: var(--color-turquoise-full);--button-text-color: var(--text-color);--background-color: var(--color-turquoise-light)}.discounts[_ngcontent-%COMP%]{font-size:1em;margin-bottom:.5em}button[_ngcontent-%COMP%]{display:inline-block;width:auto;margin:0 auto;border-radius:2em;border:none;padding:.5em 2em;font-size:.9em;font-weight:400;background-color:var(--button-color);color:var(--button-text-color);cursor:pointer;height:2.5em}.aligncenter[_ngcontent-%COMP%]{display:block;margin:0 auto;text-align:center}.cart[_ngcontent-%COMP%]{display:grid;align-items:center;grid-template-columns:3fr 7fr;column-gap:3em;row-gap:2em;--button-text-color: black}@media screen and (max-width: 768px){.cart[_ngcontent-%COMP%]{grid-template-columns:1fr}}.cart[_ngcontent-%COMP%] app-prod-list[_ngcontent-%COMP%]{grid-column:1;grid-row:1/4;align-self:start;justify-self:stretch}.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%]{grid-column:2}.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}
1.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{outline:none;border:none;width:100%}.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] a.discountFieldToggle[_ngcontent-%COMP%]{display:inline-block;font-weight:100;border-bottom:1px solid var(--color-turquoise-full);color:var(--button-text-color);margin-top:1em;margin-bottom:.5em}.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] .radios[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;column-gap:.5em;row-gap:.5em}.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] .memberships[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:inherit;font-weight:500;letter-spacing:normal;font-size:1.5em}.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] .membership[_ngcontent-%COMP%]{flex:1 1 calc(50% - 1em)}@media screen and (max-width: 768px){.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] .membership[_ngcontent-%COMP%]{flex:1 1 100%}}.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] .membership[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{appearance:none;background-color:#fff;margin:0;font:inherit;color:currentColor;width:1.2em;height:1.2em;border:2px solid currentColor;border-radius:50%;transform:translateY(.2em)}.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] .membership[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:before{content:"\\2714\\fe0e";width:20px;height:20px;border-radius:50%;transition:.12s transform ease-in-out;position:absolute;margin-left:-2px;margin-top:-2px;color:#fff;font-size:.85em;text-align:center}.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] .membership[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked{background-color:#000}.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] .membership[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{font-weight:400}.cart[_ngcontent-%COMP%] .discount-options[_ngcontent-%COMP%] .membership[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{margin-left:.75em}.cart[_ngcontent-%COMP%] .payments[_ngcontent-%COMP%]{display:flex;grid-column:2;margin:1em 0;gap:2em}@media screen and (max-width: 768px){.cart[_ngcontent-%COMP%] .payments[_ngcontent-%COMP%]{justify-content:center;flex-wrap:wrap}}.cart[_ngcontent-%COMP%] .payments[_ngcontent-%COMP%] .payment-option[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:.75em}.cart[_ngcontent-%COMP%] .payments[_ngcontent-%COMP%] .payment-option.vipps-option[_ngcontent-%COMP%]{justify-content:flex-start}.cart[_ngcontent-%COMP%] .payments[_ngcontent-%COMP%] .payment-methods[_ngcontent-%COMP%]{display:flex;gap:.5em}.cart[_ngcontent-%COMP%] .payments[_ngcontent-%COMP%] .payment-methods[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px;width:auto}.cart[_ngcontent-%COMP%] .payments[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:1.2em;margin:0}.cart[_ngcontent-%COMP%] .payments[_ngcontent-%COMP%] button.vipps[_ngcontent-%COMP%]{--button-color: #ff5b24;padding:0 2em}.cart[_ngcontent-%COMP%] .payments[_ngcontent-%COMP%] button.vipps[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:.85em;line-height:1em;display:inline;object-fit:cover;transform:translateY(.2em);filter:brightness(0%)}.cart[_ngcontent-%COMP%] .payments[_ngcontent-%COMP%] button.disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.cart[_ngcontent-%COMP%] .terms[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{grid-column:2;font-size:1em}.cart[_ngcontent-%COMP%] .terms[_ngcontent-%COMP%] p.promoDisclaimer[_ngcontent-%COMP%]{font-weight:700;font-style:italic}.no-margin[_ngcontent-%COMP%]{margin:0}']})}return r})()}}]);
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.