1"use strict";(self.webpackChunkmedeasy=self.webpackChunkmedeasy||[]).push([[4858],{14858:(On,p,g)=>{g.r(p),g.d(p,{LandingComponent:()=>ln});var M=g(74710),s=g(60177),n=g(54438),d=g(27187),E=g(42769);const S=()=>["/home/exercises/mcq"],k=()=>["/home/exercises/flashcards"],v=()=>["/home/exercises/pharma/calc"],N=()=>["/home/exercises/graphic-task"],R=()=>["/home/exercises/grid"];function I(t,i){1&t&&(n.j41(0,"div",15)(1,"h3"),n.pXf(2,4),n.k0s()())}function y(t,i){1&t&&(n.j41(0,"div",9),n.nrm(1,"img",16),n.j41(2,"h5"),n.pXf(3,5),n.k0s()()),2&t&&n.Y8G("routerLink",n.lJ4(1,R))}let T=(()=>{class t{globals;gridService;showHeader=!0;constructor(e,o){this.globals=e,this.gridService=o}ngOnInit(){this.gridService.ensureLoaded()}static \u0275fac=function(o){return new(o||t)(n.rXU(d.RX),n.rXU(E.N))};static \u0275cmp=n.VBU({type:t,selectors:[["app-exercises-card"]],standalone:!0,features:[n.aNF],decls:21,vars:12,consts:()=>{let e,o,c,r,a,P,_,f,w;return e="Legemiddelregning",o="Anatomi",c="Flervalgsoppgaver",r="Flashcards",a="Legemiddelregning",P="Anatomi",_="\xD8ving",f="Koble og rett/galt",w="Koble og rett/galt",[c,r,a,P,_,w,[1,"card","boxRounded","lightGreyBG"],["class","header",4,"ngIf"],[1,"subjects","gridBox"],[1,"flex-item","subject","gridBox",3,"routerLink"],["src","/assets/icons/exercises/mcq.svg","alt","MCQ",1,"subjectIcon"],["src","/assets/icons/exercises/flashcards.svg","alt","Flashcards",1,"subjectIcon"],["src","/assets/icons/exercises/pharmacalc.svg","alt",e,1,"subjectIcon"],["src","/assets/icons/exercises/game.svg","alt",o,1,"subjectIcon"],["class","flex-item subject gridBox",3,"routerLink",4,"ngIf"],[1,"header"],["src","/assets/icons/exercises/grid.svg","alt",f,1,"subjectIcon"]]},template:function(o,c){1&o&&(n.j41(0,"div",6)(1,"div"),n.DNE(2,I,3,0,"div",7),n.j41(3,"div",8)(4,"div",9),n.nrm(5,"img",10),n.j41(6,"h5"),n.pXf(7,0),n.k0s()(),n.j41(8,"div",9),n.nrm(9,"img",11),n.j41(10,"h5"),n.pXf(11,1),n.k0s()(),n.j41(12,"div",9),n.nrm(13,"img",12),n.j41(14,"h5"),n.pXf(15,2),n.k0s()(),n.j41(16,"div",9),n.nrm(17,"img",13),n.j41(18,"h5"),n.pXf(19,3),n.k0s()(),n.DNE(20,y,4,2,"div",14),n.k0s()()()),2&o&&(n.R7$(),n.HbH("subjectsContainer "+(c.showHeader?"gridBox landing":"")),n.R7$(),n.Y8G("ngIf",c.showHeader),n.R7$(2),n.Y8G("routerLink",n.lJ4(8,S)),n.R7$(4),n.Y8G("routerLink",n.lJ4(9,k)),n.R7$(4),n.Y8G("routerLink",n.lJ4(10,v)),n.R7$(4),n.Y8G("routerLink",n.lJ4(11,N)),n.R7$(4),n.Y8G("ngIf",c.gridService.hasGrids))},dependencies:[s.MD,s.bT,M.iI,M.Wk],styles:[".frontBox[_ngcontent-%COMP%]{padding-top:1em}#homeHeader[_ngcontent-%COMP%]{margin:1em auto;padding-bottom:1em;width:500px;max-width:calc(95% - 60px)}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%]{width:calc(500px + .625*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%]{width:1000px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{display:grid;grid-auto-flow:column;grid-template-rows:42px;justify-items:center;align-items:center}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:calc(42px + .0125*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:52px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%;grid-template-rows:7fr 2.5fr;margin:0 auto;align-items:end;justify-items:center;cursor:pointer;outline:none}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{opacity:1}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{grid-row:2;font-size:12px}@media screen and (max-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:none}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{grid-row:1;width:30px;opacity:.4}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:calc(30px + .0375*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img.active[_ngcontent-%COMP%]{opacity:.9}.card[_ngcontent-%COMP%]{width:100%;margin:20px auto;transition:.4s;padding-bottom:1.5em}.card[_ngcontent-%COMP%] img.close[_ngcontent-%COMP%]{float:right;margin-right:10px;transform:scale(.7)}h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]{font-family:proximanovawf,sans-serif;font-weight:300}.note.af[_ngcontent-%COMP%], .note-nested-btn.af[_ngcontent-%COMP%], .header-hr.af[_ngcontent-%COMP%], .icon-bg.af[_ngcontent-%COMP%]{background:#01cfca}.note.sykdl[_ngcontent-%COMP%], .note.cpr[_ngcontent-%COMP%], .note.ekg[_ngcontent-%COMP%], .note-nested-btn.sykdl[_ngcontent-%COMP%], .note-nested-btn.cpr[_ngcontent-%COMP%], .note-nested-btn.ekg[_ngcontent-%COMP%], .header-hr.sykdl[_ngcontent-%COMP%], .header-hr.cpr[_ngcontent-%COMP%], .header-hr.ekg[_ngcontent-%COMP%], .icon-bg.sykdl[_ngcontent-%COMP%], .icon-bg.cpr[_ngcontent-%COMP%], .icon-bg.ekg[_ngcontent-%COMP%]{background:#fc6164}.note.mikro[_ngcontent-%COMP%], .note-nested-btn.mikro[_ngcontent-%COMP%], .header-hr.mikro[_ngcontent-%COMP%], .icon-bg.mikro[_ngcontent-%COMP%]{background:#99cb55}.note.medreg[_ngcontent-%COMP%], .note-nested-btn.medreg[_ngcontent-%COMP%], .header-hr.medreg[_ngcontent-%COMP%], .icon-bg.medreg[_ngcontent-%COMP%]{background:#ffc933}.note.histo[_ngcontent-%COMP%], .note-nested-btn.histo[_ngcontent-%COMP%], .header-hr.histo[_ngcontent-%COMP%], .icon-bg.histo[_ngcontent-%COMP%]{background:#f4cda7}.note.cellebio[_ngcontent-%COMP%], .note.psyk[_ngcontent-%COMP%], .note-nested-btn.cellebio[_ngcontent-%COMP%], .note-nested-btn.psyk[_ngcontent-%COMP%], .header-hr.cellebio[_ngcontent-%COMP%], .header-hr.psyk[_ngcontent-%COMP%], .icon-bg.cellebio[_ngcontent-%COMP%], .icon-bg.psyk[_ngcontent-%COMP%]{background:#b979c6}.note.smittevern[_ngcontent-%COMP%], .note-nested-btn.smittevern[_ngcontent-%COMP%], .header-hr.smittevern[_ngcontent-%COMP%], .icon-bg.smittevern[_ngcontent-%COMP%]{background:#6ae2a6}.container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:2em}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:60px auto;cursor:pointer}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{grid-row:1/2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:12px}@media screen and (min-width: 600px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:calc(12px + .015*(100vw - 600px))}}@media screen and (min-width: 1400px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:24px}}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%]{grid-column:2;grid-row:2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;display:inline-block;text-overflow:ellipsis;word-wrap:break-word;overflow:hidden;max-height:90px;display:-webkit-box;white-space:pre-wrap;--webkit-line-clamp: 2;color:var(--color-text-50);font-size:1em}.note-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;width:100vw}.note-nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:10% 70% 15% 5%;align-items:center;cursor:pointer;border-radius:5px}@media screen and (min-width: 600px){.note-nested[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.note-nested[_ngcontent-%COMP%]{border-radius:10px}}.note-img[_ngcontent-%COMP%]{width:60px;height:60px}.note-nested.af[_ngcontent-%COMP%], .container-pr.af[_ngcontent-%COMP%]{background:#d1f8f7}.note-nested.sykdl[_ngcontent-%COMP%], .note-nested.cpr[_ngcontent-%COMP%], .note-nested.ekg[_ngcontent-%COMP%], .container-pr.sykdl[_ngcontent-%COMP%], .container-pr.cpr[_ngcontent-%COMP%], .container-pr.ekg[_ngcontent-%COMP%]{background:#ffe8e9}.note-nested.mikro[_ngcontent-%COMP%], .container-pr.mikro[_ngcontent-%COMP%]{background:#eaf5d7}.note-nested.medreg[_ngcontent-%COMP%], .container-pr.medreg[_ngcontent-%COMP%]{background:#fff3d8}.note-nested.histo[_ngcontent-%COMP%], .container-pr.histo[_ngcontent-%COMP%]{background:#fce2ca}.note-nested.cellebio[_ngcontent-%COMP%], .note-nested.psyk[_ngcontent-%COMP%], .container-pr.cellebio[_ngcontent-%COMP%], .container-pr.psyk[_ngcontent-%COMP%]{background:#f8d9ff}.note-nested.smittevern[_ngcontent-%COMP%], .container-pr.smittevern[_ngcontent-%COMP%]{background:#e1f9ed}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:40px;height:40px;mask:url(Arrow_down.39846a24bbf73899.svg);-webkit-mask-size:auto;mask-size:auto}.btn-up[_ngcontent-%COMP%]{transform:rotate(180deg)}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%]{grid-column:1/span 4}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:20px;padding:0 40px}.note-expand-grid[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;margin-top:.8em}.header-hr[_ngcontent-%COMP%]{align-items:center;width:93%;height:1px;border:none;background:#d3d3d3}.notes-list-hr[_ngcontent-%COMP%]{border:none;height:1px;background:#e4e4e4}.note-expand-grid[_ngcontent-%COMP%] .notes-list-hr[_ngcontent-%COMP%]:last-child hr[_ngcontent-%COMP%]{display:none}.card-note[_ngcontent-%COMP%]{width:100%;margin:20px auto;border-radius:5px}@media screen and (min-width: 600px){.card-note[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.card-note[_ngcontent-%COMP%]{border-radius:10px}}@media screen and (max-width: 800px){.container[_ngcontent-%COMP%], .nested[_ngcontent-%COMP%]{grid-template-columns:1fr}.title-note-div[_ngcontent-%COMP%]{margin-top:0}.note-nested[_ngcontent-%COMP%]{grid-template-columns:20% 50% 20% 10%}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{padding:0 25px}.note-img[_ngcontent-%COMP%], .note[_ngcontent-%COMP%]{width:40px;height:40px}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:20px;height:20px}.wrapper-pr[_ngcontent-%COMP%]{grid-template-columns:1fr}.nested-pr[_ngcontent-%COMP%]:nth-last-child(1):nth-child(odd){grid-column:1/span 1}}.card[_ngcontent-%COMP%]{padding:1em 1em 0;width:calc(100% - 2em)}
1.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%]{grid-template-columns:1fr 2fr;align-items:start}@media screen and (max-width: 600px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%]{grid-template-columns:100%;grid-row:1}}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{grid-column:1}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%]{grid-template-columns:2fr 2fr;grid-column:2}@media screen and (max-width: 600px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%]{grid-column:1;grid-row:2;margin-top:1em;grid-template-columns:2fr}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%]{margin-left:-25px}}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%]{grid-template-columns:max-content auto;width:unset;height:unset;white-space:nowrap;cursor:pointer;outline:none;margin:1em;position:relative;justify-content:center}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.subjectIcon[_ngcontent-%COMP%]{grid-column:1;grid-row:1/3;width:25px;max-height:25px;align-self:center;margin-right:1em}@media screen and (min-width: 600px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.subjectIcon[_ngcontent-%COMP%]{width:calc(25px + .025*(100vw - 600px))}}@media screen and (min-width: 1400px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.subjectIcon[_ngcontent-%COMP%]{width:45px}}@media screen and (min-width: 600px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.subjectIcon[_ngcontent-%COMP%]{max-height:calc(25px + .025*(100vw - 600px))}}@media screen and (min-width: 1400px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.subjectIcon[_ngcontent-%COMP%]{max-height:45px}}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.newBadge[_ngcontent-%COMP%]{grid-column:2;grid-row:1;width:1.5em;justify-self:end;position:absolute}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{grid-column:2;grid-row:1;margin:0;display:inline-block;align-self:start}.card[_ngcontent-%COMP%] > .subjectsContainer.landing[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%]{justify-content:left}.card[_ngcontent-%COMP%] .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{grid-row:1/3;align-self:center}.card[_ngcontent-%COMP%] .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.newBadge[_ngcontent-%COMP%]{right:-2.5em;align-self:center}"]})}return t})();var l=g(35463),O=g(3634);const A=t=>["lectures/",t];function j(t,i){1&t&&n.nrm(0,"img",13)}function G(t,i){if(1&t&&(n.qex(0),n.j41(1,"div",9),n.nrm(2,"img",10),n.j41(3,"h5"),n.EFF(4),n.k0s(),n.DNE(5,j,1,0,"img",11),n.j41(6,"progress",12),n.ehv(7,1),n.k0s()(),n.bVm()),2&t){const e=n.XpG().$implicit,o=n.XpG(2);n.R7$(),n.Y8G("ngClass",e.subject.class+" gridProgress flex-item gridBox subject")("routerLink",n.eq3(10,A,e.subject.slug)),n.R7$(),n.Y8G("src","/assets/icons/subjects/"+e.subject.icon+".svg",n.B4B)("alt",e.subject.title),n.R7$(2),n.JRh(e.subject.title),n.R7$(),n.Y8G("ngIf",o.opendata.showNewBadgeForSubject(e.subject)),n.R7$(),n.uP7(e.vidsSeen)(e.vids),n.nnv(7),n.Y8G("value",e.vidsSeen)("max",e.vids)}}function D(t,i){if(1&t&&(n.qex(0),n.DNE(1,G,8,12,"ng-container",8),n.bVm()),2&t){const e=i.$implicit;n.R7$(),n.Y8G("ngIf",e.vids>0||e.reachableArticles>0)}}function $(t,i){if(1&t&&(n.j41(0,"div",3)(1,"div",4)(2,"div",5)(3,"h3"),n.pXf(4,0),n.k0s()(),n.j41(5,"div",6),n.DNE(6,D,2,1,"ng-container",7),n.k0s()()()),2&t){const e=n.XpG();n.R7$(6),n.Y8G("ngForOf",e.subjects)}}let X=(()=>{class t{globals;route;opendata;subjects;routeSub;constructor(e,o,c){this.globals=e,this.route=o,this.opendata=c,this.routeSub=this.route.data.subscribe(r=>{this.subjects=l.r.summarizeSubjects(r.subjects,r.videos,r.articles,this.globals.userData.articles_progress)})}ngOnDestroy(){this.routeSub?.unsubscribe()}ngAfterViewInit(){this.globals.subjects&&this.globals.userData.v_progress&&(!this.subjects||this.globals.userData.v_progress!==this.route.
1snapshot.data.videos)&&(this.subjects=l.r.summarizeSubjects(this.globals.subjects,this.globals.userData.v_progress,this.opendata.localData.article,this.globals.userData.articles_progress))}static \u0275fac=function(o){return new(o||t)(n.rXU(d.RX),n.rXU(M.nX),n.rXU(O.w))};static \u0275cmp=n.VBU({type:t,selectors:[["app-subjects-card"]],standalone:!0,features:[n.aNF],decls:1,vars:1,consts:()=>{let e,o,c;return e="Forelesninger",o="Ny",c="" + "\ufffd0\ufffd" + " av " + "\ufffd1\ufffd" + " forelesninger",[e,["title",c],["class","card boxRounded lightGreyBG",4,"ngIf"],[1,"card","boxRounded","lightGreyBG"],[1,"subjectsContainer","gridBox"],[1,"calc-header"],[1,"subjects","gridBox"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngClass","routerLink"],[1,"subjectIcon",3,"src","alt"],["alt",o,"class","newBadge","src","/assets/badges/new.svg",4,"ngIf"],[3,"value","max",6,"title"],["alt",o,"src","/assets/badges/new.svg",1,"newBadge"]]},template:function(o,c){1&o&&n.DNE(0,$,7,1,"div",2),2&o&&n.Y8G("ngIf",c.subjects)},dependencies:[s.MD,s.YU,s.Sq,s.bT,M.iI,M.Wk],styles:[".frontBox[_ngcontent-%COMP%]{padding-top:1em}#homeHeader[_ngcontent-%COMP%]{margin:1em auto;padding-bottom:1em;width:500px;max-width:calc(95% - 60px)}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%]{width:calc(500px + .625*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%]{width:1000px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{display:grid;grid-auto-flow:column;grid-template-rows:42px;justify-items:center;align-items:center}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:calc(42px + .0125*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:52px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%;grid-template-rows:7fr 2.5fr;margin:0 auto;align-items:end;justify-items:center;cursor:pointer;outline:none}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{opacity:1}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{grid-row:2;font-size:12px}@media screen and (max-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:none}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{grid-row:1;width:30px;opacity:.4}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:calc(30px + .0375*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img.active[_ngcontent-%COMP%]{opacity:.9}.card[_ngcontent-%COMP%]{width:100%;margin:20px auto;transition:.4s;padding-bottom:1.5em}.card[_ngcontent-%COMP%] img.close[_ngcontent-%COMP%]{float:right;margin-right:10px;transform:scale(.7)}h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]{font-family:proximanovawf,sans-serif;font-weight:300}.note.af[_ngcontent-%COMP%], .note-nested-btn.af[_ngcontent-%COMP%], .header-hr.af[_ngcontent-%COMP%], .icon-bg.af[_ngcontent-%COMP%]{background:#01cfca}.note.sykdl[_ngcontent-%COMP%], .note.cpr[_ngcontent-%COMP%], .note.ekg[_ngcontent-%COMP%], .note-nested-btn.sykdl[_ngcontent-%COMP%], .note-nested-btn.cpr[_ngcontent-%COMP%], .note-nested-btn.ekg[_ngcontent-%COMP%], .header-hr.sykdl[_ngcontent-%COMP%], .header-hr.cpr[_ngcontent-%COMP%], .header-hr.ekg[_ngcontent-%COMP%], .icon-bg.sykdl[_ngcontent-%COMP%], .icon-bg.cpr[_ngcontent-%COMP%], .icon-bg.ekg[_ngcontent-%COMP%]{background:#fc6164}.note.mikro[_ngcontent-%COMP%], .note-nested-btn.mikro[_ngcontent-%COMP%], .header-hr.mikro[_ngcontent-%COMP%], .icon-bg.mikro[_ngcontent-%COMP%]{background:#99cb55}.note.medreg[_ngcontent-%COMP%], .note-nested-btn.medreg[_ngcontent-%COMP%], .header-hr.medreg[_ngcontent-%COMP%], .icon-bg.medreg[_ngcontent-%COMP%]{background:#ffc933}.note.histo[_ngcontent-%COMP%], .note-nested-btn.histo[_ngcontent-%COMP%], .header-hr.histo[_ngcontent-%COMP%], .icon-bg.histo[_ngcontent-%COMP%]{background:#f4cda7}.note.cellebio[_ngcontent-%COMP%], .note.psyk[_ngcontent-%COMP%], .note-nested-btn.cellebio[_ngcontent-%COMP%], .note-nested-btn.psyk[_ngcontent-%COMP%], .header-hr.cellebio[_ngcontent-%COMP%], .header-hr.psyk[_ngcontent-%COMP%], .icon-bg.cellebio[_ngcontent-%COMP%], .icon-bg.psyk[_ngcontent-%COMP%]{background:#b979c6}.note.smittevern[_ngcontent-%COMP%], .note-nested-btn.smittevern[_ngcontent-%COMP%], .header-hr.smittevern[_ngcontent-%COMP%], .icon-bg.smittevern[_ngcontent-%COMP%]{background:#6ae2a6}.container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:2em}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:60px auto;cursor:pointer}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{grid-row:1/2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:12px}@media screen and (min-width: 600px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:calc(12px + .015*(100vw - 600px))}}@media screen and (min-width: 1400px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:24px}}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%]{grid-column:2;grid-row:2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;display:inline-block;text-overflow:ellipsis;word-wrap:break-word;overflow:hidden;max-height:90px;display:-webkit-box;white-space:pre-wrap;--webkit-line-clamp: 2;color:var(--color-text-50);font-size:1em}.note-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;width:100vw}.note-nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:10% 70% 15% 5%;align-items:center;cursor:pointer;border-radius:5px}@media screen and (min-width: 600px){.note-nested[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.note-nested[_ngcontent-%COMP%]{border-radius:10px}}.note-img[_ngcontent-%COMP%]{width:60px;height:60px}.note-nested.af[_ngcontent-%COMP%], .container-pr.af[_ngcontent-%COMP%]{background:#d1f8f7}.note-nested.sykdl[_ngcontent-%COMP%], .note-nested.cpr[_ngcontent-%COMP%], .note-nested.ekg[_ngcontent-%COMP%], .container-pr.sykdl[_ngcontent-%COMP%], .container-pr.cpr[_ngcontent-%COMP%], .container-pr.ekg[_ngcontent-%COMP%]{background:#ffe8e9}.note-nested.mikro[_ngcontent-%COMP%], .container-pr.mikro[_ngcontent-%COMP%]{background:#eaf5d7}.note-nested.medreg[_ngcontent-%COMP%], .container-pr.medreg[_ngcontent-%COMP%]{background:#fff3d8}.note-nested.histo[_ngcontent-%COMP%], .container-pr.histo[_ngcontent-%COMP%]{background:#fce2ca}.note-nested.cellebio[_ngcontent-%COMP%], .note-nested.psyk[_ngcontent-%COMP%], .container-pr.cellebio[_ngcontent-%COMP%], .container-pr.psyk[_ngcontent-%COMP%]{background:#f8d9ff}.note-nested.smittevern[_ngcontent-%COMP%], .container-pr.smittevern[_ngcontent-%COMP%]{background:#e1f9ed}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:40px;height:40px;mask:url(Arrow_down.39846a24bbf73899.svg);-webkit-mask-size:auto;mask-size:auto}.btn-up[_ngcontent-%COMP%]{transform:rotate(180deg)}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%]{grid-column:1/span 4}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:20px;padding:0 40px}.note-expand-grid[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;margin-top:.8em}.header-hr[_ngcontent-%COMP%]{align-items:center;width:93%;height:1px;border:none;background:#d3d3d3}.notes-list-hr[_ngcontent-%COMP%]{border:none;height:1px;background:#e4e4e4}.note-expand-grid[_ngcontent-%COMP%] .notes-list-hr[_ngcontent-%COMP%]:last-child hr[_ngcontent-%COMP%]{display:none}.card-note[_ngcontent-%COMP%]{width:100%;margin:20px auto;border-radius:5px}@media screen and (min-width: 600px){.card-note[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.card-note[_ngcontent-%COMP%]{border-radius:10px}}@media screen and (max-width: 800px){.container[_ngcontent-%COMP%], .nested[_ngcontent-%COMP%]{grid-template-columns:1fr}.title-note-div[_ngcontent-%COMP%]{margin-top:0}.note-nested[_ngcontent-%COMP%]{grid-template-columns:20% 50% 20% 10%}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{padding:0 25px}.note-img[_ngcontent-%COMP%], .note[_ngcontent-%COMP%]{width:40px;height:40px}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:20px;height:20px}.wrapper-pr[_ngcontent-%COMP%]{grid-template-columns:1fr}.nested-pr[_ngcontent-%COMP%]:nth-last-child(1):nth-child(odd){grid-column:1/span 1}}.card[_ngcontent-%COMP%]{padding:1em 1em 0;width:calc(100% - 2em)}
1.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%]{grid-template-columns:1fr 2fr;align-items:start}@media screen and (max-width: 600px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%]{grid-template-columns:100%;grid-row:1}}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{grid-column:1}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%]{grid-template-columns:2fr 2fr;grid-column:2}@media screen and (max-width: 600px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%]{grid-column:1;grid-row:2;margin-top:1em;grid-template-columns:2fr}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%]{margin-left:-25px}}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%]{grid-template-columns:max-content auto;width:unset;height:unset;white-space:nowrap;cursor:pointer;outline:none;margin:0 1em 1em;position:relative}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.subjectIcon[_ngcontent-%COMP%]{grid-column:1;grid-row:1/3;width:25px;max-height:25px;align-self:center;margin-right:1em}@media screen and (min-width: 600px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.subjectIcon[_ngcontent-%COMP%]{width:calc(25px + .025*(100vw - 600px))}}@media screen and (min-width: 1400px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.subjectIcon[_ngcontent-%COMP%]{width:45px}}@media screen and (min-width: 600px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.subjectIcon[_ngcontent-%COMP%]{max-height:calc(25px + .025*(100vw - 600px))}}@media screen and (min-width: 1400px){.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.subjectIcon[_ngcontent-%COMP%]{max-height:45px}}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] img.newBadge[_ngcontent-%COMP%]{grid-column:2;grid-row:1;width:1.5em;justify-self:end;position:absolute}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{grid-column:2;grid-row:1;margin:0;display:inline-block;align-self:start}.card[_ngcontent-%COMP%] > .subjectsContainer[_ngcontent-%COMP%] .subjects[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%] progress[_ngcontent-%COMP%]{margin-top:.5em;grid-column:2;width:100%;grid-row:2;align-self:start}"]})}return t})();var F=g(3551),u=g(39392),H=g(50979);function B(t,i){if(1&t){const e=n.RV6();n.j41(0,"div",3)(1,"div",4)(2,"h3"),n.EFF(3),n.k0s(),n.j41(4,"p",5),n.EFF(5),n.k0s(),n.j41(6,"img",6),n.bIt("click",function(){n.eBV(e);const c=n.XpG().$implicit,r=n.XpG(2);return n.Njj(r.dismissNews(c.news_id))}),n.k0s(),n.nrm(7,"p",7)(8,"img",8),n.k0s()()}if(2&t){const e=n.XpG().$implicit,o=n.XpG(2);n.R7$(3),n.JRh(e.subject),n.R7$(2),n.JRh(o.g.getFormattedDate(e.publish_ts,!1)),n.R7$(2),n.Y8G("innerHTML",e.html,n.npT),n.R7$(),n.Y8G("src","https://get.medeasy.no/news/"+e.img,n.B4B)("alt",e.subject)}}function L(t,i){if(1&t&&(n.qex(0),n.DNE(1,B,9,5,"div",2),n.bVm()),2&t){const e=i.$implicit,o=n.XpG(2);n.R7$(),n.Y8G("ngIf",!(null!=o.hiddenNews&&o.hiddenNews.includes(e.news_id)))}}function U(t,i){if(1&t&&(n.qex(0),n.DNE(1,L,2,1,"ng-container",1),n.bVm()),2&t){const e=n.XpG();n.R7$(),n.Y8G("ngForOf",e.news)}}let z=(()=>{class t{storage;ads;hiddenNews=[];g=d.RX;news=[];constructor(e,o){this.storage=e,this.ads=o}ngOnInit(){this.hiddenNews=this.storage.get("hiddenNews"),this.ads.getData("news").then(e=>{this.news=e}).catch(e=>console.error("Error fetching news:",e))}dismissNews(e){this.hiddenNews||(this.hiddenNews=[]),this.hiddenNews.push(e),this.storage.set("hiddenNews",this.hiddenNews)}static \u0275fac=function(o){return new(o||t)(n.rXU(u.Wd),n.rXU(H._))};static \u0275cmp=n.VBU({type:t,selectors:[["app-news"]],standalone:!0,features:[n.aNF],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],["class","card boxRounded",4,"ngIf"],[1,"card","boxRounded"],[1,"newsContainer"],[1,"msgDate"],["alt","Close","src","/assets/Elementer/Navigasjon/Ikon_lukk.svg",1,"close",3,"click"],[1,"textBody",3,"innerHTML"],[1,"newsImg",3,"src","alt"]],template:function(o,c){1&o&&n.DNE(0,U,2,1,"ng-container",0),2&o&&n.Y8G("ngIf",c.news.length>0)},dependencies:[s.MD,s.Sq,s.bT],styles:[".frontBox[_ngcontent-%COMP%]{padding-top:1em}#homeHeader[_ngcontent-%COMP%]{margin:1em auto;padding-bottom:1em;width:500px;max-width:calc(95% - 60px)}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%]{width:calc(500px + .625*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%]{width:1000px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{display:grid;grid-auto-flow:column;grid-template-rows:42px;justify-items:center;align-items:center}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:calc(42px + .0125*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:52px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%;grid-template-rows:7fr 2.5fr;margin:0 auto;align-items:end;justify-items:center;cursor:pointer;outline:none}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{opacity:1}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{grid-row:2;font-size:12px}@media screen and (max-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:none}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{grid-row:1;width:30px;opacity:.4}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:calc(30px + .0375*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img.active[_ngcontent-%COMP%]{opacity:.9}.card[_ngcontent-%COMP%]{width:100%;margin:20px auto;transition:.4s;padding-bottom:1.5em}.card[_ngcontent-%COMP%] img.close[_ngcontent-%COMP%]{float:right;margin-right:10px;transform:scale(.7)}h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]{font-family:proximanovawf,sans-serif;font-weight:300}.note.af[_ngcontent-%COMP%], .note-nested-btn.af[_ngcontent-%COMP%], .header-hr.af[_ngcontent-%COMP%], .icon-bg.af[_ngcontent-%COMP%]{background:#01cfca}.note.sykdl[_ngcontent-%COMP%], .note.cpr[_ngcontent-%COMP%], .note.ekg[_ngcontent-%COMP%], .note-nested-btn.sykdl[_ngcontent-%COMP%], .note-nested-btn.cpr[_ngcontent-%COMP%], .note-nested-btn.ekg[_ngcontent-%COMP%], .header-hr.sykdl[_ngcontent-%COMP%], .header-hr.cpr[_ngcontent-%COMP%], .header-hr.ekg[_ngcontent-%COMP%], .icon-bg.sykdl[_ngcontent-%COMP%], .icon-bg.cpr[_ngcontent-%COMP%], .icon-bg.ekg[_ngcontent-%COMP%]{background:#fc6164}.note.mikro[_ngcontent-%COMP%], .note-nested-btn.mikro[_ngcontent-%COMP%], .header-hr.mikro[_ngcontent-%COMP%], .icon-bg.mikro[_ngcontent-%COMP%]{background:#99cb55}.note.medreg[_ngcontent-%COMP%], .note-nested-btn.medreg[_ngcontent-%COMP%], .header-hr.medreg[_ngcontent-%COMP%], .icon-bg.medreg[_ngcontent-%COMP%]{background:#ffc933}.note.histo[_ngcontent-%COMP%], .note-nested-btn.histo[_ngcontent-%COMP%], .header-hr.histo[_ngcontent-%COMP%], .icon-bg.histo[_ngcontent-%COMP%]{background:#f4cda7}.note.cellebio[_ngcontent-%COMP%], .note.psyk[_ngcontent-%COMP%], .note-nested-btn.cellebio[_ngcontent-%COMP%], .note-nested-btn.psyk[_ngcontent-%COMP%], .header-hr.cellebio[_ngcontent-%COMP%], .header-hr.psyk[_ngcontent-%COMP%], .icon-bg.cellebio[_ngcontent-%COMP%], .icon-bg.psyk[_ngcontent-%COMP%]{background:#b979c6}.note.smittevern[_ngcontent-%COMP%], .note-nested-btn.smittevern[_ngcontent-%COMP%], .header-hr.smittevern[_ngcontent-%COMP%], .icon-bg.smittevern[_ngcontent-%COMP%]{background:#6ae2a6}.container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:2em}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:60px auto;cursor:pointer}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{grid-row:1/2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:12px}@media screen and (min-width: 600px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:calc(12px + .015*(100vw - 600px))}}@media screen and (min-width: 1400px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:24px}}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%]{grid-column:2;grid-row:2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;display:inline-block;text-overflow:ellipsis;word-wrap:break-word;overflow:hidden;max-height:90px;display:-webkit-box;white-space:pre-wrap;--webkit-line-clamp: 2;color:var(--color-text-50);font-size:1em}.note-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;width:100vw}.note-nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:10% 70% 15% 5%;align-items:center;cursor:pointer;border-radius:5px}@media screen and (min-width: 600px){.note-nested[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.note-nested[_ngcontent-%COMP%]{border-radius:10px}}.note-img[_ngcontent-%COMP%]{width:60px;height:60px}.note-nested.af[_ngcontent-%COMP%], .container-pr.af[_ngcontent-%COMP%]{background:#d1f8f7}.note-nested.sykdl[_ngcontent-%COMP%], .note-nested.cpr[_ngcontent-%COMP%], .note-nested.ekg[_ngcontent-%COMP%], .container-pr.sykdl[_ngcontent-%COMP%], .container-pr.cpr[_ngcontent-%COMP%], .container-pr.ekg[_ngcontent-%COMP%]{background:#ffe8e9}.note-nested.mikro[_ngcontent-%COMP%], .container-pr.mikro[_ngcontent-%COMP%]{background:#eaf5d7}.note-nested.medreg[_ngcontent-%COMP%], .container-pr.medreg[_ngcontent-%COMP%]{background:#fff3d8}.note-nested.histo[_ngcontent-%COMP%], .container-pr.histo[_ngcontent-%COMP%]{background:#fce2ca}.note-nested.cellebio[_ngcontent-%COMP%], .note-nested.psyk[_ngcontent-%COMP%], .container-pr.cellebio[_ngcontent-%COMP%], .container-pr.psyk[_ngcontent-%COMP%]{background:#f8d9ff}.note-nested.smittevern[_ngcontent-%COMP%], .container-pr.smittevern[_ngcontent-%COMP%]{background:#e1f9ed}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:40px;height:40px;mask:url(Arrow_down.39846a24bbf73899.svg);-webkit-mask-size:auto;mask-size:auto}.btn-up[_ngcontent-%COMP%]{transform:rotate(180deg)}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%]{grid-column:1/span 4}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:20px;padding:0 40px}.note-expand-grid[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;margin-top:.8em}.header-hr[_ngcontent-%COMP%]{align-items:center;width:93%;height:1px;border:none;background:#d3d3d3}.notes-list-hr[_ngcontent-%COMP%]{border:none;height:1px;background:#e4e4e4}.note-expand-grid[_ngcontent-%COMP%] .notes-list-hr[_ngcontent-%COMP%]:last-child hr[_ngcontent-%COMP%]{display:none}.card-note[_ngcontent-%COMP%]{width:100%;margin:20px auto;border-radius:5px}@media screen and (min-width: 600px){.card-note[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.card-note[_ngcontent-%COMP%]{border-radius:10px}}@media screen and (max-width: 800px){.container[_ngcontent-%COMP%], .nested[_ngcontent-%COMP%]{grid-template-columns:1fr}.title-note-div[_ngcontent-%COMP%]{margin-top:0}.note-nested[_ngcontent-%COMP%]{grid-template-columns:20% 50% 20% 10%}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{padding:0 25px}.note-img[_ngcontent-%COMP%], .note[_ngcontent-%COMP%]{width:40px;height:40px}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:20px;height:20px}.wrapper-pr[_ngcontent-%COMP%]{grid-template-columns:1fr}.nested-pr[_ngcontent-%COMP%]:nth-last-child(1):nth-child(odd){grid-column:1/span 1}}.card[_ngcontent-%COMP%]{box-shadow:0 2px 5px #ccc}.card[_ngcontent-%COMP%] .newsContainer[_ngcontent-%COMP%]{margin:12px;display:grid;grid-template-columns:min-content auto auto min-content;
1align-items:unset}@media screen and (min-width: 600px){.card[_ngcontent-%COMP%] .newsContainer[_ngcontent-%COMP%]{margin:calc(12px + .015*(100vw - 600px))}}@media screen and (min-width: 1400px){.card[_ngcontent-%COMP%] .newsContainer[_ngcontent-%COMP%]{margin:24px}}.card[_ngcontent-%COMP%] .newsContainer[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{grid-column:4;grid-row:1;margin:.5em 0 0;justify-self:end;align-self:start}.card[_ngcontent-%COMP%] .newsContainer[_ngcontent-%COMP%] .msgDate[_ngcontent-%COMP%]{grid-column:1/3;grid-row:1;color:#aaa;justify-self:left;align-self:center}.card[_ngcontent-%COMP%] .newsContainer[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{grid-row:2;grid-column:1/5;margin-top:0}.card[_ngcontent-%COMP%] .newsContainer[_ngcontent-%COMP%] p.textBody[_ngcontent-%COMP%]{grid-row:3;grid-column:1/3;margin:0 1em 0 0;white-space:pre-wrap}@media screen and (max-width: 600px){.card[_ngcontent-%COMP%] .newsContainer[_ngcontent-%COMP%] p.textBody[_ngcontent-%COMP%]{grid-column:1/5;grid-row:5}}.card[_ngcontent-%COMP%] .newsContainer[_ngcontent-%COMP%] img.newsImg[_ngcontent-%COMP%]{grid-row:3;grid-column:3/5;width:100%;margin-bottom:1em}@media screen and (max-width: 600px){.card[_ngcontent-%COMP%] .newsContainer[_ngcontent-%COMP%] img.newsImg[_ngcontent-%COMP%]{grid-column:1/5;grid-row:4}}"]})}return t})();var Y=g(23953),m=g(58367),V=g(68203);function J(t,i){if(1&t){const e=n.RV6();n.j41(0,"app-medeasy-button",12),n.bIt("onClick",function(){n.eBV(e);const c=n.XpG().$implicit,r=n.XpG(2);return n.Njj(r.messageService.markRead(c))}),n.pXf(1,1),n.k0s()}2&t&&n.HbH("tealBG")}function Q(t,i){if(1&t&&(n.j41(0,"div",6)(1,"div",7)(2,"p",8),n.EFF(3),n.k0s(),n.j41(4,"p",9),n.EFF(5),n.k0s(),n.j41(6,"h4"),n.EFF(7),n.k0s(),n.nrm(8,"p",10),n.DNE(9,J,2,2,"app-medeasy-button",11),n.k0s()()),2&t){const e=i.$implicit,o=n.XpG(2);n.Y8G("ngClass","msgCard boxRounded"+(e.sett?" read":"")),n.R7$(3),n.JRh(e.avsender),n.R7$(2),n.JRh(o.g.getFormattedDate(e.dato,!0)),n.R7$(2),n.JRh(e.emne),n.R7$(),n.Y8G("innerHTML",e.tekst,n.npT),n.R7$(),n.Y8G("ngIf",!e.sett)}}function W(t,i){if(1&t&&(n.j41(0,"div",3)(1,"div",4)(2,"h3"),n.pXf(3,0),n.k0s()(),n.DNE(4,Q,10,6,"div",5),n.k0s()),2&t){const e=n.XpG();n.R7$(4),n.Y8G("ngForOf",e.messageService.getUnreadMessages)}}let K=(()=>{class t{userdata;globals;messageService;g=d.RX;constructor(e,o,c){this.userdata=e,this.globals=o,this.messageService=c}ngOnInit(){this.messageService.fetchMessages()}static \u0275fac=function(o){return new(o||t)(n.rXU(m.X),n.rXU(d.RX),n.rXU(V.b))};static \u0275cmp=n.VBU({type:t,selectors:[["app-messages"]],standalone:!0,features:[n.aNF],decls:1,vars:1,consts:()=>{let e,o;return e="Meldinger",o="Marker som lest",[e,o,["class","card boxRounded",4,"ngIf"],[1,"card","boxRounded"],[1,"flex-item"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"gridBox"],[1,"msgSender"],[1,"msgDate"],[1,"textBody",3,"innerHTML"],["small","small",3,"class","onClick",4,"ngIf"],["small","small",3,"onClick"]]},template:function(o,c){1&o&&n.DNE(0,W,5,1,"div",2),2&o&&n.Y8G("ngIf",(null==c.messageService.getUnreadMessages?null:c.messageService.getUnreadMessages.length)>0)},dependencies:[s.MD,s.YU,s.Sq,s.bT,Y.W],styles:[".msgCard[_ngcontent-%COMP%]{box-shadow:-5px 5px 35px #0003;padding:1em 2em;margin:auto auto 2em;max-width:calc(100% - 6em);overflow:scroll}.msgCard[_ngcontent-%COMP%] .gridBox[_ngcontent-%COMP%]{width:100%}.msgCard[_ngcontent-%COMP%] .gridBox[_ngcontent-%COMP%] .msgSender[_ngcontent-%COMP%]{grid-column:1/2}.msgCard[_ngcontent-%COMP%] .gridBox[_ngcontent-%COMP%] .msgDate[_ngcontent-%COMP%]{grid-column:2/2;text-align:right}.msgCard[_ngcontent-%COMP%] .gridBox[_ngcontent-%COMP%] .msgSender[_ngcontent-%COMP%], .msgCard[_ngcontent-%COMP%] .gridBox[_ngcontent-%COMP%] .msgDate[_ngcontent-%COMP%]{color:#aaa;grid-row:1}.msgCard[_ngcontent-%COMP%] .gridBox[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{grid-row:2;grid-column:1/3}.msgCard[_ngcontent-%COMP%] .gridBox[_ngcontent-%COMP%] p.textBody[_ngcontent-%COMP%]{grid-row:3;grid-column:1/3;white-space:pre-wrap}.msgCard[_ngcontent-%COMP%] .gridBox[_ngcontent-%COMP%] app-medeasy-button[_ngcontent-%COMP%]{grid-row:4;grid-column:1/3;justify-self:end}.msgCard.read[_ngcontent-%COMP%]{background-color:#ddd;color:#555}"]})}return t})();var Z=g(10467),h=g(89417),b=g(30450),x=g(9183),q=g(94937);function nn(t,i){if(1&t){const e=n.RV6();n.j41(0,"div",11),n.qex(1,12),n.pXf(2,3),n.bVm(),n.EFF(3,"\xa0\xa0 "),n.j41(4,"mat-slide-toggle",13),n.bIt("change",function(c){n.eBV(e);const r=n.XpG(2);return n.Njj(r.subscribe(c))}),n.k0s()()}}function en(t,i){1&t&&n.nrm(0,"mat-progress-spinner",14)}function tn(t,i){if(1&t){const e=n.RV6();n.j41(0,"div",5)(1,"div",6)(2,"img",7),n.bIt("click",function(){n.eBV(e);const c=n.XpG();return n.Njj(c.dismiss())}),n.k0s(),n.j41(3,"div",8)(4,"h3"),n.pXf(5,0),n.k0s(),n.j41(6,"p"),n.pXf(7,1),n.k0s(),n.j41(8,"p"),n.pXf(9,2),n.k0s()(),n.DNE(10,nn,5,0,"div",9)(11,en,1,0,"mat-progress-spinner",10),n.k0s()()}if(2&t){const e=n.XpG();n.R7$(10),n.Y8G("ngIf",!e.savingState),n.R7$(),n.Y8G("ngIf",e.savingState)}}let on=(()=>{class t{globals;userFormService;storage;savingState;userForm;dismissedNerdLetter;constructor(e,o,c){this.globals=e,this.userFormService=o,this.storage=c}ngOnInit(){this.userForm=new h.J3({nomail:new h.hs(this.globals.userData.bruker.nomail)}),this.dismissedNerdLetter=this.storage.get("dismissedNerdLetter")}dismiss(){this.storage.set("dismissedNerdLetter",!0),this.dismissedNerdLetter=!0}subscribe(e){var o=this;return(0,Z.A)(function*(){o.savingState=!0,o.userForm.get("nomail").setValue(e.checked);const c=yield o.userFormService.submitUserForm(o.userForm);
1o.savingState=!1,c?.success?o.globals.setSystemMsg(e.checked?"Du kan n\xE5 glede deg til neste nerdebrev fra oss!":"Du vil ikke lenger motta nerdebrevet fra oss i MedEasy. Takk for n\xE5!"):o.globals.setErrorMsg(c?.msg)})()}static \u0275fac=function(o){return new(o||t)(n.rXU(d.RX),n.rXU(q.x),n.rXU(u.Wd))};static \u0275cmp=n.VBU({type:t,selectors:[["app-nerdletter-subscribe"]],standalone:!0,features:[n.aNF],decls:1,vars:1,consts:()=>{let e,o,c,r;return e="\xD8nsker du konkrete studietips og motivasjon fra oss?",o="Ved \xE5 abonnere p\xE5 v\xE5rt nerdebrev sikrer du at du mottar v\xE5re beste studietips, eksamenstips, motivasjon, huskeregler og relevante nyheter fra oss i MedEasy!",c="Vi skreddersyr nerdebrevene til dine behov basert p\xE5 hva du studerer og hvilke typer videoer du ser mest!",r="Motta nerdebrev",[e,o,c,r,["class","flex-container",4,"ngIf"],[1,"flex-container"],[1,"card","boxRounded","lightGreenBG"],["alt","Close","src","/assets/Elementer/Navigasjon/Ikon_lukk.svg",1,"close",3,"click"],[1,"flex-item"],["class","flex-item toggleLetter",4,"ngIf"],["diameter","32","mode","indeterminate",4,"ngIf"],[1,"flex-item","toggleLetter"],[1,"label"],[3,"change"],["diameter","32","mode","indeterminate"]]},template:function(o,c){1&o&&n.DNE(0,tn,12,2,"div",4),2&o&&n.Y8G("ngIf",(null==c.globals.userData.bruker?null:c.globals.userData.bruker.nomail)&&!c.dismissedNerdLetter)},dependencies:[s.MD,s.bT,b.mV,b.sG,x.D6,x.LG],styles:[".frontBox[_ngcontent-%COMP%]{padding-top:1em}#homeHeader[_ngcontent-%COMP%]{margin:1em auto;padding-bottom:1em;width:500px;max-width:calc(95% - 60px)}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%]{width:calc(500px + .625*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%]{width:1000px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{display:grid;grid-auto-flow:column;grid-template-rows:42px;justify-items:center;align-items:center}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:calc(42px + .0125*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:52px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%;grid-template-rows:7fr 2.5fr;margin:0 auto;align-items:end;justify-items:center;cursor:pointer;outline:none}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{opacity:1}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{grid-row:2;font-size:12px}@media screen and (max-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:none}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{grid-row:1;width:30px;opacity:.4}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:calc(30px + .0375*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img.active[_ngcontent-%COMP%]{opacity:.9}.card[_ngcontent-%COMP%]{width:100%;margin:20px auto;transition:.4s;padding-bottom:1.5em}.card[_ngcontent-%COMP%] img.close[_ngcontent-%COMP%]{float:right;margin-right:10px;transform:scale(.7)}h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]{font-family:proximanovawf,sans-serif;font-weight:300}.note.af[_ngcontent-%COMP%], .note-nested-btn.af[_ngcontent-%COMP%], .header-hr.af[_ngcontent-%COMP%], .icon-bg.af[_ngcontent-%COMP%]{background:#01cfca}.note.sykdl[_ngcontent-%COMP%], .note.cpr[_ngcontent-%COMP%], .note.ekg[_ngcontent-%COMP%], .note-nested-btn.sykdl[_ngcontent-%COMP%], .note-nested-btn.cpr[_ngcontent-%COMP%], .note-nested-btn.ekg[_ngcontent-%COMP%], .header-hr.sykdl[_ngcontent-%COMP%], .header-hr.cpr[_ngcontent-%COMP%], .header-hr.ekg[_ngcontent-%COMP%], .icon-bg.sykdl[_ngcontent-%COMP%], .icon-bg.cpr[_ngcontent-%COMP%], .icon-bg.ekg[_ngcontent-%COMP%]{background:#fc6164}.note.mikro[_ngcontent-%COMP%], .note-nested-btn.mikro[_ngcontent-%COMP%], .header-hr.mikro[_ngcontent-%COMP%], .icon-bg.mikro[_ngcontent-%COMP%]{background:#99cb55}.note.medreg[_ngcontent-%COMP%], .note-nested-btn.medreg[_ngcontent-%COMP%], .header-hr.medreg[_ngcontent-%COMP%], .icon-bg.medreg[_ngcontent-%COMP%]{background:#ffc933}.note.histo[_ngcontent-%COMP%], .note-nested-btn.histo[_ngcontent-%COMP%], .header-hr.histo[_ngcontent-%COMP%], .icon-bg.histo[_ngcontent-%COMP%]{background:#f4cda7}.note.cellebio[_ngcontent-%COMP%], .note.psyk[_ngcontent-%COMP%], .note-nested-btn.cellebio[_ngcontent-%COMP%], .note-nested-btn.psyk[_ngcontent-%COMP%], .header-hr.cellebio[_ngcontent-%COMP%], .header-hr.psyk[_ngcontent-%COMP%], .icon-bg.cellebio[_ngcontent-%COMP%], .icon-bg.psyk[_ngcontent-%COMP%]{background:#b979c6}.note.smittevern[_ngcontent-%COMP%], .note-nested-btn.smittevern[_ngcontent-%COMP%], .header-hr.smittevern[_ngcontent-%COMP%], .icon-bg.smittevern[_ngcontent-%COMP%]{background:#6ae2a6}.container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:2em}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:60px auto;cursor:pointer}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{grid-row:1/2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:12px}@media screen and (min-width: 600px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:calc(12px + .015*(100vw - 600px))}}@media screen and (min-width: 1400px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:24px}}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%]{grid-column:2;grid-row:2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;display:inline-block;text-overflow:ellipsis;word-wrap:break-word;overflow:hidden;max-height:90px;display:-webkit-box;white-space:pre-wrap;--webkit-line-clamp: 2;color:var(--color-text-50);font-size:1em}.note-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;width:100vw}.note-nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:10% 70% 15% 5%;align-items:center;cursor:pointer;border-radius:5px}@media screen and (min-width: 600px){.note-nested[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.note-nested[_ngcontent-%COMP%]{border-radius:10px}}.note-img[_ngcontent-%COMP%]{width:60px;height:60px}.note-nested.af[_ngcontent-%COMP%], .container-pr.af[_ngcontent-%COMP%]{background:#d1f8f7}.note-nested.sykdl[_ngcontent-%COMP%], .note-nested.cpr[_ngcontent-%COMP%], .note-nested.ekg[_ngcontent-%COMP%], .container-pr.sykdl[_ngcontent-%COMP%], .container-pr.cpr[_ngcontent-%COMP%], .container-pr.ekg[_ngcontent-%COMP%]{background:#ffe8e9}.note-nested.mikro[_ngcontent-%COMP%], .container-pr.mikro[_ngcontent-%COMP%]{background:#eaf5d7}.note-nested.medreg[_ngcontent-%COMP%], .container-pr.medreg[_ngcontent-%COMP%]{background:#fff3d8}.note-nested.histo[_ngcontent-%COMP%], .container-pr.histo[_ngcontent-%COMP%]{background:#fce2ca}.note-nested.cellebio[_ngcontent-%COMP%], .note-nested.psyk[_ngcontent-%COMP%], .container-pr.cellebio[_ngcontent-%COMP%], .container-pr.psyk[_ngcontent-%COMP%]{background:#f8d9ff}.note-nested.smittevern[_ngcontent-%COMP%], .container-pr.smittevern[_ngcontent-%COMP%]{background:#e1f9ed}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:40px;height:40px;mask:url(Arrow_down.39846a24bbf73899.svg);-webkit-mask-size:auto;mask-size:auto}.btn-up[_ngcontent-%COMP%]{transform:rotate(180deg)}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%]{grid-column:1/span 4}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:20px;padding:0 40px}.note-expand-grid[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;margin-top:.8em}.header-hr[_ngcontent-%COMP%]{align-items:center;width:93%;height:1px;border:none;background:#d3d3d3}.notes-list-hr[_ngcontent-%COMP%]{border:none;height:1px;background:#e4e4e4}.note-expand-grid[_ngcontent-%COMP%] .notes-list-hr[_ngcontent-%COMP%]:last-child hr[_ngcontent-%COMP%]{display:none}.card-note[_ngcontent-%COMP%]{width:100%;margin:20px auto;border-radius:5px}@media screen and (min-width: 600px){.card-note[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.card-note[_ngcontent-%COMP%]{border-radius:10px}}@media screen and (max-width: 800px){.container[_ngcontent-%COMP%], .nested[_ngcontent-%COMP%]{grid-template-columns:1fr}.title-note-div[_ngcontent-%COMP%]{margin-top:0}.note-nested[_ngcontent-%COMP%]{grid-template-columns:20% 50% 20% 10%}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{padding:0 25px}.note-img[_ngcontent-%COMP%], .note[_ngcontent-%COMP%]{width:40px;height:40px}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:20px;height:20px}.wrapper-pr[_ngcontent-%COMP%]{grid-template-columns:1fr}.nested-pr[_ngcontent-%COMP%]:nth-last-child(1):nth-child(odd){grid-column:1/span 1}}.toggleLetter[_ngcontent-%COMP%]{text-align:center;font-weight:700;font-size:1.5em}"]})}return t})();var cn=g(18851);const rn=(t,i)=>i.video_id;function gn(t,i){if(1&t&&(n.j41(0,"p"),n.pXf(1,2),n.k0s(),n.j41(2,"p"),n.pXf(3,3),n.k0s()),2&t){const e=n.XpG(2);n.R7$(),n.uP7(e.globals.userData.bruker.monthlyAllowance),n.nnv(1)}}function sn(t,i){if(1&t&&(n.j41(0,"div",15),n.nrm(1,"progress",16),n.nI1(2,"date"),n.nI1(3,"date"),n.k0s()),2&t){const e=n.XpG().$implicit,o=n.XpG(3);n.Y8G("ngClass",o.globals.getSubject(e.seksjon).class),n.R7$(),n.FS9("title",n.i5U(2,4,1e3*e.recent_progress,"mm:ss")+" / "+n.i5U(3,7,1e3*e.total_duration,"mm:ss")),n.Y8G("max",e.total_duration)("value",e.re
1cent_progress)}}function an(t,i){if(1&t){const e=n.RV6();n.j41(0,"div",11),n.bIt("click",function(){const c=n.eBV(e).$implicit,r=n.XpG(3);return n.Njj(r.videoService.goToLecture(c))}),n.j41(1,"div",12),n.EFF(2),n.k0s(),n.j41(3,"div",13),n.DNE(4,sn,4,10,"div",14),n.k0s()()}if(2&t){const e=i.$implicit,o=n.XpG(3);n.R7$(2),n.Lme("",o.videoCategoryTitle(e),": ",e.tittel,""),n.R7$(2),n.Y8G("ngIf",o.globals.subjects)}}function dn(t,i){if(1&t&&(n.j41(0,"p"),n.pXf(1,4),n.k0s(),n.j41(2,"div",9),n.Z7z(3,an,5,3,"div",10,rn),n.k0s()),2&t){let e;const o=n.XpG(2);n.R7$(),n.uP7(null!==(e=null==o.globals.userData.bruker.videosInQuota?null:o.globals.userData.bruker.videosInQuota.length)&&void 0!==e?e:0)(o.globals.userData.bruker.monthlyAllowance),n.nnv(1),n.R7$(2),n.Dyx(o.userdata.videosInQuota())}}function _n(t,i){if(1&t&&(n.j41(0,"p"),n.pXf(1,5),n.k0s()),2&t){const e=n.XpG(2);n.R7$(),n.uP7(null==e.recurringService.recurringDate?null:e.recurringService.recurringDate.toLocaleDateString()),n.nnv(1)}}function Cn(t,i){if(1&t&&(n.j41(0,"div",6)(1,"div",7)(2,"h3"),n.pXf(3,0),n.k0s(),n.j41(4,"div",8)(5,"div"),n.DNE(6,gn,4,1)(7,dn,5,2),n.k0s(),n.j41(8,"div")(9,"p"),n.pXf(10,1),n.k0s(),n.DNE(11,_n,2,1,"p"),n.k0s()()()()),2&t){const e=n.XpG();n.R7$(6),n.vxM(6,0==(null==e.globals.userData.bruker.videosInQuota?null:e.globals.userData.bruker.videosInQuota.length)?6:7),n.R7$(4),n.uP7(e.globals.userData.bruker.monthlyAllowance),n.nnv(10),n.R7$(),n.vxM(11,!e.recurringService.isEnding&&e.recurringService.recurringDate?11:-1)}}let Mn=(()=>{class t{globals;userdata;opendata;recurringService;videoService;constructor(e,o,c,r,a){this.globals=e,this.userdata=o,this.opendata=c,this.recurringService=r,this.videoService=a}ngOnInit(){this.userdata.checkAccess().catch(e=>console.error(e)),this.userdata.fetchVideoQuota(),this.recurringService.checkRecurring().catch(e=>console.error(e))}videoCategoryTitle(e){return this.opendata.getCategory(e).tittel}static \u0275fac=function(o){return new(o||t)(n.rXU(d.RX),n.rXU(m.X),n.rXU(O.w),n.rXU(cn.H),n.rXU(l.r))};static \u0275cmp=n.VBU({type:t,selectors:[["app-subscription"]],standalone:!0,features:[n.aNF],decls:1,vars:1,consts:()=>{let e,o,c,r,a,P;return e="Ditt abonnement",o="I ditt abonnement har du " + "\ufffd0\ufffd" + " inkluderte forelesninger hver m\xE5ned. De f\xF8rste tre minuttene av forelesninger kan du se gratis, og n\xE5r du har sett mer enn 3 minutter vil den telle som en av dine forelesninger. Du kan se dine valgte forelesninger s\xE5 mange ganger du vil frem til m\xE5neden er over.",c="Du har ikke sett noen av dine " + "\ufffd0\ufffd" + " forelesninger denne m\xE5neden enda.",r="Forelesningene du har sett vil dukke opp her.",a="Du har sett " + "\ufffd0\ufffd" + " av " + "\ufffd1\ufffd" + " forelesninger denne m\xE5neden:",P="Ditt abonnement fornyes den " + "\ufffd0\ufffd" + ", da vil dine inkluderte forelesninger nullstilles.",[e,o,c,r,a,P,[1,"card","boxRounded","gridBox","lightGreyBG"],[1,"inner"],[1,"split"],[1,"video-list"],[1,"video","clickable"],[1,"video","clickable",3,"click"],[1,"title"],[1,"progress"],["id","continueProgress",3,"ngClass",4,"ngIf"],["id","continueProgress",3,"ngClass"],[3,"max","value","title"]]},template:function(o,c){1&o&&n.DNE(0,Cn,12,3,"div",6),2&o&&n.vxM(0,c.globals.userData.bruker.monthlyAllowance?0:-1)},dependencies:[s.MD,s.YU,s.bT,s.vh],styles:[".frontBox[_ngcontent-%COMP%]{padding-top:1em}#homeHeader[_ngcontent-%COMP%]{margin:1em auto;padding-bottom:1em;width:500px;max-width:calc(95% - 60px)}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%]{width:calc(500px + .625*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%]{width:1000px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{display:grid;grid-auto-flow:column;grid-template-rows:42px;justify-items:center;align-items:center}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:calc(42px + .0125*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:52px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%;grid-template-rows:7fr 2.5fr;margin:0 auto;align-items:end;justify-items:center;cursor:pointer;outline:none}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{opacity:1}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{grid-row:2;font-size:12px}@media screen and (max-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:none}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{grid-row:1;width:30px;opacity:.4}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:calc(30px + .0375*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img.active[_ngcontent-%COMP%]{opacity:.9}.card[_ngcontent-%COMP%]{width:100%;margin:20px auto;transition:.4s;padding-bottom:1.5em}.card[_ngcontent-%COMP%] img.close[_ngcontent-%COMP%]{float:right;margin-right:10px;transform:scale(.7)}h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]{font-family:proximanovawf,sans-serif;font-weight:300}.note.af[_ngcontent-%COMP%], .note-nested-btn.af[_ngcontent-%COMP%], .header-hr.af[_ngcontent-%COMP%], .icon-bg.af[_ngcontent-%COMP%]{background:#01cfca}.note.sykdl[_ngcontent-%COMP%], .note.cpr[_ngcontent-%COMP%], .note.ekg[_ngcontent-%COMP%], .note-nested-btn.sykdl[_ngcontent-%COMP%], .note-nested-btn.cpr[_ngcontent-%COMP%], .note-nested-btn.ekg[_ngcontent-%COMP%], .header-hr.sykdl[_ngcontent-%COMP%], .header-hr.cpr[_ngcontent-%COMP%], .header-hr.ekg[_ngcontent-%COMP%], .icon-bg.sykdl[_ngcontent-%COMP%], .icon-bg.cpr[_ngcontent-%COMP%], .icon-bg.ekg[_ngcontent-%COMP%]{background:#fc6164}.note.mikro[_ngcontent-%COMP%], .note-nested-btn.mikro[_ngcontent-%COMP%], .header-hr.mikro[_ngcontent-%COMP%], .icon-bg.mikro[_ngcontent-%COMP%]{background:#99cb55}.note.medreg[_ngcontent-%COMP%], .note-nested-btn.medreg[_ngcontent-%COMP%], .header-hr.medreg[_ngcontent-%COMP%], .icon-bg.medreg[_ngcontent-%COMP%]{background:#ffc933}.note.histo[_ngcontent-%COMP%], .note-nested-btn.histo[_ngcontent-%COMP%], .header-hr.histo[_ngcontent-%COMP%], .icon-bg.histo[_ngcontent-%COMP%]{background:#f4cda7}.note.cellebio[_ngcontent-%COMP%], .note.psyk[_ngcontent-%COMP%], .note-nested-btn.cellebio[_ngcontent-%COMP%], .note-nested-btn.psyk[_ngcontent-%COMP%], .header-hr.cellebio[_ngcontent-%COMP%], .header-hr.psyk[_ngcontent-%COMP%], .icon-bg.cellebio[_ngcontent-%COMP%], .icon-bg.psyk[_ngcontent-%COMP%]{background:#b979c6}.note.smittevern[_ngcontent-%COMP%], .note-nested-btn.smittevern[_ngcontent-%COMP%], .header-hr.smittevern[_ngcontent-%COMP%], .icon-bg.smittevern[_ngcontent-%COMP%]{background:#6ae2a6}.container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:2em}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:60px auto;cursor:pointer}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{grid-row:1/2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:12px}@media screen and (min-width: 600px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:calc(12px + .015*(100vw - 600px))}}@media screen and (min-width: 1400px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:24px}}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%]{grid-column:2;grid-row:2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;display:inline-block;text-overflow:ellipsis;word-wrap:break-word;overflow:hidden;max-height:90px;display:-webkit-box;white-space:pre-wrap;--webkit-line-clamp: 2;color:var(--color-text-50);font-size:1em}.note-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;width:100vw}.note-nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:10% 70% 15% 5%;align-items:center;cursor:pointer;border-radius:5px}@media screen and (min-width: 600px){.note-nested[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.note-nested[_ngcontent-%COMP%]{border-radius:10px}}.note-img[_ngcontent-%COMP%]{width:60px;height:60px}.note-nested.af[_ngcontent-%COMP%], .container-pr.af[_ngcontent-%COMP%]{background:#d1f8f7}.note-nested.sykdl[_ngcontent-%COMP%], .note-nested.cpr[_ngcontent-%COMP%], .note-nested.ekg[_ngcontent-%COMP%], .container-pr.sykdl[_ngcontent-%COMP%], .container-pr.cpr[_ngcontent-%COMP%], .container-pr.ekg[_ngcontent-%COMP%]{background:#ffe8e9}.note-nested.mikro[_ngcontent-%COMP%], .container-pr.mikro[_ngcontent-%COMP%]{background:#eaf5d7}.note-nested.medreg[_ngcontent-%COMP%], .container-pr.medreg[_ngcontent-%COMP%]{background:#fff3d8}.note-nested.histo[_ngcontent-%COMP%], .container-pr.histo[_ngcontent-%COMP%]{background:#fce2ca}.note-nested.cellebio[_ngcontent-%COMP%], .note-nested.psyk[_ngcontent-%COMP%], .container-pr.cellebio[_ngcontent-%COMP%], .container-pr.psyk[_ngcontent-%COMP%]{background:#f8d9ff}.note-nested.smittevern[_ngcontent-%COMP%], .container-pr.smittevern[_ngcontent-%COMP%]{background:#e1f9ed}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:40px;height:40px;mask:url(Arrow_down.39846a24bbf73899.svg);-webkit-mask-size:auto;mask-size:auto}.btn-up[_ngcontent-%COMP%]{transform:rotate(180deg)}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%]{grid-column:1/span 4}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:20px;padding:0 40px}.note-expand-grid[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;margin-top:.8em}.header-hr[_ngcontent-%COMP%]{align-items:center;width:93%;height:1px;border:none;background:#d3d3d3}.notes-list-hr[_ngcontent-%COMP%]{border:none;height:1px;background:#e4e4e4}.note-expand-grid[_ngcontent-%COMP%] .notes-list-hr[_ngcontent-%COMP%]:last-child hr[_ngcontent-%COMP%]{display:none}.card-note[_ngcontent-%COMP%]{width:100%;margin:20px auto;border-radius:5px}@media screen and (min-width: 600px){.card-note[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.card-note[_ngcontent-%COMP%]{border-radius:10px}}@media screen and (max-width: 800px){.container[_ngcontent-%COMP%], .nested[_ngcontent-%COMP%]{grid-template-columns:1fr}.title-note-div[_ngcontent-%COMP%]{margin-top:0}.note-nested[_ngcontent-%COMP%]{grid-template-columns:20% 50% 20% 10%}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{padding:0 25px}.note-img[_ngcontent-%COMP%], .note[_ngcontent-%COMP%]{width:40px;height:40px}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:20px;height:20px}.wrapper-pr[_ngcontent-%COMP%]{grid-template-columns:1fr}.nested-pr[_ngcontent-%COMP%]:nth-last-child(1):nth-child(odd){grid-column:1/span 1}}.gridBox[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}@media screen and (min-width: 600px){.gridBox[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{padding-left:calc(15px + .01875*(100vw - 600px))}}@media screen and (min-width: 1400px){.gridBox[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{padding-left:30px}}@media screen and (min-width: 600px){.gridBox[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{padding-right:calc(15px + .01875*(100vw - 600px))}}@media screen and (min-width: 1400px){.gridBox[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{padding-right:30px}}h3[_ngcontent-%COMP%]{margin-bottom:0}.split[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:1em}.split[_ngcontent-%COMP%], .split[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.split[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{flex:1 1 calc(50% - .5em)}.video-list[_ngcontent-%COMP%]{min-width:18em}.video[_ngcontent-%COMP%]{margin-bottom:.75em}.video[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:300}"]})}return t})();function Pn(t,i){1&t&&(n.j41(0,"div",0),n.nrm(1,"app-nerdletter-subscribe")(2,"app-messages")(3,"app-news")(4,"app-subscription")(5,"app-continue-work")(6,"app-subjects-card")(7,"app-exercises-card"),n.k0s())}let ln=(()=>{class t{globals;opendata;router;userdata;constructor(e,o,c,r){this.globals=e,this.opendata=o,this.router=c,this.userdata=r}ngOnInit(){this.userdata.shouldShowWelcomeOverlay&&(this.userdata.shouldShowWelcomeOverlay=!1,this.router.navigate([{outlets:{overlay:"welcome"}}
1]).catch(e=>console.error(e))),this.userdata.shouldShowExpiredOverlay&&(this.userdata.shouldShowExpiredOverlay=!1,this.router.navigate([{outlets:{overlay:"expired"}}]).catch(e=>console.error(e)))}static \u0275fac=function(o){return new(o||t)(n.rXU(d.RX),n.rXU(O.w),n.rXU(M.Ix),n.rXU(m.X))};static \u0275cmp=n.VBU({type:t,selectors:[["app-landing"]],standalone:!0,features:[n.aNF],decls:1,vars:1,consts:[[1,"frontBox"]],template:function(o,c){1&o&&n.DNE(0,Pn,8,0,"div",0),2&o&&n.vxM(0,c.globals.userData.bruker?0:-1)},dependencies:[s.MD,on,K,z,F.C,X,T,Mn],styles:[".frontBox[_ngcontent-%COMP%]{padding-top:1em}#homeHeader[_ngcontent-%COMP%]{margin:1em auto;padding-bottom:1em;width:500px;max-width:calc(95% - 60px)}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%]{width:calc(500px + .625*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%]{width:1000px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{display:grid;grid-auto-flow:column;grid-template-rows:42px;justify-items:center;align-items:center}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:calc(42px + .0125*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%]{grid-template-rows:52px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]{display:grid;grid-template-columns:100%;grid-template-rows:7fr 2.5fr;margin:0 auto;align-items:end;justify-items:center;cursor:pointer;outline:none}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{opacity:1}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{grid-row:2;font-size:12px}@media screen and (max-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:none}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{grid-row:1;width:30px;opacity:.4}@media screen and (min-width: 600px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:calc(30px + .0375*(100vw - 600px))}}@media screen and (min-width: 1400px){#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px}}#homeHeader[_ngcontent-%COMP%] .subMenu[_ngcontent-%COMP%] > .menuItem[_ngcontent-%COMP%] img.active[_ngcontent-%COMP%]{opacity:.9}.card[_ngcontent-%COMP%]{width:100%;margin:20px auto;transition:.4s;padding-bottom:1.5em}.card[_ngcontent-%COMP%] img.close[_ngcontent-%COMP%]{float:right;margin-right:10px;transform:scale(.7)}h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]{font-family:proximanovawf,sans-serif;font-weight:300}.note.af[_ngcontent-%COMP%], .note-nested-btn.af[_ngcontent-%COMP%], .header-hr.af[_ngcontent-%COMP%], .icon-bg.af[_ngcontent-%COMP%]{background:#01cfca}.note.sykdl[_ngcontent-%COMP%], .note.cpr[_ngcontent-%COMP%], .note.ekg[_ngcontent-%COMP%], .note-nested-btn.sykdl[_ngcontent-%COMP%], .note-nested-btn.cpr[_ngcontent-%COMP%], .note-nested-btn.ekg[_ngcontent-%COMP%], .header-hr.sykdl[_ngcontent-%COMP%], .header-hr.cpr[_ngcontent-%COMP%], .header-hr.ekg[_ngcontent-%COMP%], .icon-bg.sykdl[_ngcontent-%COMP%], .icon-bg.cpr[_ngcontent-%COMP%], .icon-bg.ekg[_ngcontent-%COMP%]{background:#fc6164}.note.mikro[_ngcontent-%COMP%], .note-nested-btn.mikro[_ngcontent-%COMP%], .header-hr.mikro[_ngcontent-%COMP%], .icon-bg.mikro[_ngcontent-%COMP%]{background:#99cb55}.note.medreg[_ngcontent-%COMP%], .note-nested-btn.medreg[_ngcontent-%COMP%], .header-hr.medreg[_ngcontent-%COMP%], .icon-bg.medreg[_ngcontent-%COMP%]{background:#ffc933}.note.histo[_ngcontent-%COMP%], .note-nested-btn.histo[_ngcontent-%COMP%], .header-hr.histo[_ngcontent-%COMP%], .icon-bg.histo[_ngcontent-%COMP%]{background:#f4cda7}.note.cellebio[_ngcontent-%COMP%], .note.psyk[_ngcontent-%COMP%], .note-nested-btn.cellebio[_ngcontent-%COMP%], .note-nested-btn.psyk[_ngcontent-%COMP%], .header-hr.cellebio[_ngcontent-%COMP%], .header-hr.psyk[_ngcontent-%COMP%], .icon-bg.cellebio[_ngcontent-%COMP%], .icon-bg.psyk[_ngcontent-%COMP%]{background:#b979c6}.note.smittevern[_ngcontent-%COMP%], .note-nested-btn.smittevern[_ngcontent-%COMP%], .header-hr.smittevern[_ngcontent-%COMP%], .icon-bg.smittevern[_ngcontent-%COMP%]{background:#6ae2a6}.container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:2em}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:60px auto;cursor:pointer}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{grid-row:1/2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:12px}@media screen and (min-width: 600px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:calc(12px + .015*(100vw - 600px))}}@media screen and (min-width: 1400px){.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:24px}}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%]{grid-column:2;grid-row:2}.container.lastNotes[_ngcontent-%COMP%] .nested[_ngcontent-%COMP%] .note-preview[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;display:inline-block;text-overflow:ellipsis;word-wrap:break-word;overflow:hidden;max-height:90px;display:-webkit-box;white-space:pre-wrap;--webkit-line-clamp: 2;color:var(--color-text-50);font-size:1em}.note-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;width:100vw}.note-nested[_ngcontent-%COMP%]{display:grid;grid-template-columns:10% 70% 15% 5%;align-items:center;cursor:pointer;border-radius:5px}@media screen and (min-width: 600px){.note-nested[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.note-nested[_ngcontent-%COMP%]{border-radius:10px}}.note-img[_ngcontent-%COMP%]{width:60px;height:60px}.note-nested.af[_ngcontent-%COMP%], .container-pr.af[_ngcontent-%COMP%]{background:#d1f8f7}.note-nested.sykdl[_ngcontent-%COMP%], .note-nested.cpr[_ngcontent-%COMP%], .note-nested.ekg[_ngcontent-%COMP%], .container-pr.sykdl[_ngcontent-%COMP%], .container-pr.cpr[_ngcontent-%COMP%], .container-pr.ekg[_ngcontent-%COMP%]{background:#ffe8e9}.note-nested.mikro[_ngcontent-%COMP%], .container-pr.mikro[_ngcontent-%COMP%]{background:#eaf5d7}.note-nested.medreg[_ngcontent-%COMP%], .container-pr.medreg[_ngcontent-%COMP%]{background:#fff3d8}.note-nested.histo[_ngcontent-%COMP%], .container-pr.histo[_ngcontent-%COMP%]{background:#fce2ca}.note-nested.cellebio[_ngcontent-%COMP%], .note-nested.psyk[_ngcontent-%COMP%], .container-pr.cellebio[_ngcontent-%COMP%], .container-pr.psyk[_ngcontent-%COMP%]{background:#f8d9ff}.note-nested.smittevern[_ngcontent-%COMP%], .container-pr.smittevern[_ngcontent-%COMP%]{background:#e1f9ed}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:40px;height:40px;mask:url(Arrow_down.39846a24bbf73899.svg);-webkit-mask-size:auto;mask-size:auto}.btn-up[_ngcontent-%COMP%]{transform:rotate(180deg)}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%]{grid-column:1/span 4}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:20px;padding:0 40px}.note-expand-grid[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;margin-top:.8em}.header-hr[_ngcontent-%COMP%]{align-items:center;width:93%;height:1px;border:none;background:#d3d3d3}.notes-list-hr[_ngcontent-%COMP%]{border:none;height:1px;background:#e4e4e4}.note-expand-grid[_ngcontent-%COMP%] .notes-list-hr[_ngcontent-%COMP%]:last-child hr[_ngcontent-%COMP%]{display:none}.card-note[_ngcontent-%COMP%]{width:100%;margin:20px auto;border-radius:5px}@media screen and (min-width: 600px){.card-note[_ngcontent-%COMP%]{border-radius:calc(5px + .00625*(100vw - 600px))}}@media screen and (min-width: 1400px){.card-note[_ngcontent-%COMP%]{border-radius:10px}}@media screen and (max-width: 800px){.container[_ngcontent-%COMP%], .nested[_ngcontent-%COMP%]{grid-template-columns:1fr}.title-note-div[_ngcontent-%COMP%]{margin-top:0}.note-nested[_ngcontent-%COMP%]{grid-template-columns:20% 50% 20% 10%}.note-nested[_ngcontent-%COMP%] > .note-expand[_ngcontent-%COMP%] > .note-expand-grid[_ngcontent-%COMP%]{padding:0 25px}.note-img[_ngcontent-%COMP%], .note[_ngcontent-%COMP%]{width:40px;height:40px}.btn-down[_ngcontent-%COMP%], .btn-up[_ngcontent-%COMP%]{width:20px;height:20px}.wrapper-pr[_ngcontent-%COMP%]{grid-template-columns:1fr}.nested-pr[_ngcontent-%COMP%]:nth-last-child(1):nth-child(odd){grid-column:1/span 1}}"]})}return t})()}}]);
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.