1"use strict";(self.webpackChunktaiga=self.webpackChunktaiga||[]).push([[76],{793:(P,_,e)=>{e.d(_,{k:()=>f});var s=e(6354),t=e(1360),g=e(5850),m=e(8973);let f=(()=>{class i{constructor(d,r){this.request=d,this.actorsCommunications=r}setContactInfo(d,r,n,o){return this.request.postOnce("session/andrakontaktuppgift",{Epost:d,Telefonnummer:r,Mobiltelefonnummer:n,TelefonnummerArbete:o})}getNameAndContactInfo(){return this.request.get("session",{H\u00e4mtaKund:!0,H\u00e4mtaKontaktuppgifter:!0,H\u00e4mtaKundEkonomiAviseringarAntM\u00e5n:12,H\u00e4mtaKundAviseringarAntM\u00e5n:12}).pipe((0,s.T)(d=>d&&d.Kund?d.Kund:null))}getAddresses(){return this.request.get("session/kund/adresser/")}fetchActorsCommunications(){return this.request.fetchGQL(this.actorsCommunications)}static{this.\u0275fac=function(r){return new(r||i)(t.KVO(g.B),t.KVO(m.OL))}}static{this.\u0275prov=t.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})()},1163:(P,_,e)=>{e.d(_,{l:()=>r});var s=e(1360),t=e(2881),g=e(9213),m=e(4506),f=e(8018);const i=n=>({inputLabel:n});function a(n,o){1&n&&(s.j41(0,"mat-icon"),s.EFF(1,"visibility"),s.k0s())}function d(n,o){1&n&&(s.j41(0,"mat-icon"),s.EFF(1,"visibility_off"),s.k0s())}let r=(()=>{class n{toggleInputType(){clearTimeout(this.timeOut),"password"===this.input.type?(this.input.type="text",this.timeOut=setTimeout(()=>{this.input.type="password"},3e4)):this.input.type="password"}static{this.\u0275fac=function(h){return new(h||n)}}static{this.\u0275cmp=s.VBU({type:n,selectors:[["taiga-password-input-type-toggle"]],inputs:{input:"input",inputLabel:"inputLabel"},standalone:!1,decls:4,vars:8,consts:[["type","button","mat-icon-button","","color","primary",3,"click"],[4,"ngIf"]],template:function(h,E){1&h&&(s.j41(0,"button",0),s.nI1(1,"translate"),s.bIt("click",function(){return E.toggleInputType()}),s.DNE(2,a,2,0,"mat-icon",1)(3,d,2,0,"mat-icon",1),s.k0s()),2&h&&(s.BMQ("aria-label",s.i5U(1,3,"TOGGLEPASSWORDINPUT",s.eq3(6,i,E.inputLabel))),s.R7$(2),s.Y8G("ngIf","password"===(null==E.input?null:E.input.type)),s.R7$(),s.Y8G("ngIf","text"===(null==E.input?null:E.input.type)))},dependencies:[t.bT,g.An,m.M,f.D9],encapsulation:2})}}return n})()},3284:(P,_,e)=>{e.d(_,{F:()=>s});class s{isErrorState(g){return!!(g&&g.invalid&&g.parent.dirty)||!!(g&&g.parent&&g.parent.invalid&&g.parent.dirty)}}},4058:(P,_,e)=>{e.d(_,{$:()=>f});var s=e(6649),t=e(9974);const m=(i,a)=>(i.push(a),i);function f(){return(0,t.N)((i,a)=>{(function g(i,a){return(0,t.N)((0,s.S)(i,a,arguments.length>=2,!1,!0))})(m,[])(i).subscribe(a)})}},4069:(P,_,e)=>{e.d(_,{l:()=>g});var s=e(1360),t=e(5850);let g=(()=>{class m{constructor(i){this.request=i}getSignings(){return this.request.get("v2/signings",{excludeStatusCompleted:!0,excludeStatusCancelled:!0,signatureMethods:["link","digital"]},{cache:!1})}getSigningsItem(i){return this.request.get(`v2/signings/${i}`,null,{cache:!1})}getSigningsItemDocumentFile(i){return this.request.get(`v2/signings/${i}/document/file`,null,{cache:!1})}postSigningsItemParticipantsItemSignature(i,a,d){return this.request.postOnce(`v2/signings/${i}/participants/${a}/signature`,{type:d})}getSigningsItemSignatureFile(i){return this.request.get(`v2/signings/${i}/signature/file`,null,{cache:!1})}processes(i){return this.request.postOnce(`v2/signings/processes/${i}`,null,{showProgress:!1})}processesDelete(i){return this.request.delete(`v2/signings/processes/${i}`,null,{showProgress:!1})}static{this.\u0275fac=function(a){return new(a||m)(s.KVO(t.B))}}static{this.\u0275prov=s.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}}return m})()},7002:(P,_,e)=>{e.d(_,{$:()=>i});var s=e(1985),t=e(8750),g=e(1413),m=e(9974),f=e(4360);function i(a,d,r,n){return(0,m.N)((o,v)=>{let h;d&&"function"!=typeof d?({duration:r,element:h,connector:n}=d):h=d;const E=new Map,l=b=>{E.forEach(b),b(v)},C=b=>l(I=>I.error(b));let u=0,c=!1;const p=new f.H(v,b=>{try{const I=a(b);let M=E.get(I);if(!M){E.set(I,M=n?n():new g.B);const D=function O(b,I){const M=new s.c(D=>{u++;const T=I.subscribe(D);return()=>{T.unsubscribe(),0==--u&&c&&p.unsubscribe()}});return M.key=b,M}(I,M);if(v.next(D),r){const T=(0,f._)(M,()=>{M.complete(),T?.unsubscribe()},void 0,void 0,()=>E.delete(I));p.add((0,t.Tg)(r(D)).subscribe(T))}}M.next(h?h(b):b)}catch(I){C(I)}},()=>l(b=>b.complete()),C,()=>E.clear(),()=>(c=!0,0===u));o.subscribe(p)})}},7655:(P,_,e)=>{e.d(_,{H:()=>E}
1);var s=e(5565),t=e(1360),g=e(2043),m=e(2881),f=e(9213),i=e(8834),a=e(8018);function d(l,C){if(1&l&&(t.j41(0,"div"),t.nrm(1,"img",5),t.k0s()),2&l){const u=C.$implicit,c=t.XpG();t.AVh("is-mobile",c.mediaQueryService.isMobile())("is-desktop",!c.mediaQueryService.isMobile()),t.R7$(),t.Y8G("src",u.src,t.B4B)("alt",u.alt)}}let r=(()=>{class l{constructor(u,c,p){this.data=u,this.mediaQueryService=c,this.dialogRef=p}close(){this.dialogRef.close()}static{this.\u0275fac=function(c){return new(c||l)(t.rXU(s.e),t.rXU(g.M),t.rXU(s.m))}}static{this.\u0275cmp=t.VBU({type:l,selectors:[["taiga-image-list"]],standalone:!1,decls:8,vars:4,consts:[[1,"top-bar"],[1,"close-button-container"],["color","primary","mat-mini-fab","",1,"close-button",3,"click"],[1,"image-container"],[3,"is-mobile","is-desktop",4,"ngFor","ngForOf"],[3,"src","alt"]],template:function(c,p){1&c&&(t.j41(0,"div",0)(1,"div",1)(2,"button",2),t.nI1(3,"translate"),t.bIt("click",function(){return p.close()}),t.j41(4,"mat-icon"),t.EFF(5,"close"),t.k0s()()()(),t.j41(6,"div",3),t.DNE(7,d,2,6,"div",4),t.k0s()),2&c&&(t.R7$(2),t.BMQ("aria-label",t.bMT(3,2,"CLOSE")),t.R7$(5),t.Y8G("ngForOf",null==p.data?null:p.data.images))},dependencies:[m.Sq,f.An,i.$0,a.D9],styles:[".image-container[_ngcontent-%COMP%]{margin-bottom:5px;background-color:#000}img[_ngcontent-%COMP%]{display:block;max-width:100%;height:auto;margin:auto auto 5px}.close-button[_ngcontent-%COMP%]{margin-top:5px;margin-right:5px}.top-bar[_ngcontent-%COMP%]{position:absolute;width:100%}.close-button-container[_ngcontent-%COMP%]{max-width:1140px;margin:auto;display:flex;justify-content:flex-end;margin-top:env(safe-area-inset-top)}"]})}}return l})();const n=()=>({clickable:!0});function o(l,C){if(1&l){const u=t.RV6();t.j41(0,"swiper-slide")(1,"img",5),t.bIt("click",function(){t.eBV(u);const p=t.XpG(2);return t.Njj(p.openDialog())}),t.k0s()()}if(2&l){const u=C.$implicit;t.R7$(),t.Y8G("src",u.src,t.B4B)("alt",u.alt)}}function v(l,C){if(1&l){const u=t.RV6();t.qex(0),t.j41(1,"div",1)(2,"button",2),t.nI1(3,"translate"),t.bIt("click",function(){t.eBV(u);const p=t.XpG();return t.Njj(p.openDialog())}),t.j41(4,"mat-icon"),t.EFF(5,"open_in_full"),t.k0s()()(),t.j41(6,"swiper-container",3),t.DNE(7,o,2,2,"swiper-slide",4),t.k0s(),t.bVm()}if(2&l){const u=t.XpG();t.R7$(2),t.BMQ("aria-label",t.bMT(3,3,"OPENIMAGES")),t.R7$(4),t.Y8G("pagination",t.lJ4(5,n)),t.R7$(),t.Y8G("ngForOf",u.images)}}function h(l,C){1&l&&(t.qex(0),t.j41(1,"div",6)(2,"mat-icon",7),t.nI1(3,"translate"),t.EFF(4,"hide_image"),t.k0s()(),t.bVm()),2&l&&(t.R7$(2),t.BMQ("aria-label",t.bMT(3,1,"NOIMAGE")))}let E=(()=>{class l{constructor(u,c){this.dialog=u,this.translate=c}openDialog(){this.dialog.open(r,{data:{images:this.images},maxWidth:"100vw",maxHeight:"100vh",height:"100%",width:"100%",panelClass:"image-list",ariaLabel:this.translate.instant("IMAGESLIST")})}static{this.\u0275fac=function(c){return new(c||l)(t.rXU(s.j),t.rXU(a.c$))}}static{this.\u0275cmp=t.VBU({type:l,selectors:[["taiga-image-carousel"]],inputs:{images:"images",showSpinner:"showSpinner"},standalone:!1,decls:2,vars:2,consts:[[4,"ngIf"],[1,"image-button-container"],["mat-mini-fab","","color","primary",1,"image-button",3,"click"],["navigation","true","keyboard","true",1,"image-carousel",3,"pagination"],[4,"ngFor","ngForOf"],[3,"click","src","alt"],[1,"no-image"],["color","primary"]],template:function(c,p){1&c&&t.DNE(0,v,8,6,"ng-container",0)(1,h,5,3,"ng-container",0),2&c&&(t.Y8G("ngIf",p.images&&p.images.length>0),t.R7$(),t.Y8G("ngIf",!(p.images&&p.images.length>0)))},dependencies:[m.Sq,m.bT,f.An,i.$0,a.D9],styles:[".image-carousel[_ngcontent-%COMP%]{height:100%;white-space:normal}img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.image-button[_ngcontent-%COMP%]{position:absolute;right:5px;top:5px;z-index:1000} .swiper-button-prev, .swiper-button-next{color:#fff} .swiper-pagination-bullet-active{background-color:#fff}img[_ngcontent-%COMP%]{cursor:pointer;border-radius:2px}swiper-container[_ngcontent-%COMP%]::part(bullet-active){background-color:#fff}swiper-container[_ngcontent-%COMP%]::part(button-prev), swiper-container[_ngcontent-%COMP%]::part(button-next){color:#fff}.no-image[_ngcontent-%COMP%]{height:100%;display:flex;justify-content:center;align-items:center;background-color:rgb(var(--palette-background-background));border-radius:2px}.no-image[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:2.5rem;width:40px;height:40px}.image-button-container[_ngcontent-%COMP%]{position:relative}"]})}}return l})()},9496:(P,_,e)=>{e.d(_,{u:()=>f});var s=e(1985),t=e(7052),g=e(1360),m=e(666);let f=(()=>{class i{constructor(d){this.clientConfigurationService=d}canActivate(d,r){return new s.c(n=>{this.clientConfigurationService.getClientConfigurationFeatures().subscribe(o=>{r.url===t.i.CONTRACT&&n.next(o?.contract?.enabled),r.url===t.i.ERROR_REPORT&&n.next(o?.errorReport?.enabled),r.url.includes(t.i.CONTRACT)&&n.next(o?.contract?.enabled),(r.url===t.i.INVOICE||r.url.substring(0,r.url.indexOf("?"))===t.i.INVOICE)&&n.next(o?.invoice?.enabled),r.url===t.i.LAUNDRY_BOOKING&&n.next(o?.laundrybooking?.enabled),r.url.includes(t.i.MESSAGES)&&n.next(o?.messages?.enabled),r.url.includes(t.i.NEWS)&&n.next(o?.news?.enabled),(r.url===t.i.RESIDENT_INFO||r.url.substring(0,r.url.indexOf("?"))===t.i.RESIDENT_INFO)&&n.next(o?.residentInfo?.enabled),r.url===t.i.TEMPORARY_ADDRESSES&&n.next(o?.temporaryAddress?.enabled),r.url===t.i.CONSENTS&&n.next(o?.search?.enabled),r.url===t.t.APPLICANTPROFILE&&n.next(o?.applicantProfile?.enabled)})})}static{this.\u0275fac=function(r){return new(r||i)(g.KVO(m.t))}}static{this.\u0275prov=g.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})()},9783:(P,_,e)=>{e.d(_,{e:()=>i});var s=e(9417),t=e(7586),m=e(1360);const f=t;let i=(()=>{class a{constructor(){}static equalTo(r){return n=>{const o=n.root.get(r);return o&&n.value!==o.value?{equalTo:!1}:null}}static requiredIfValidator(r){return n=>n.parent&&"true"===r()?s.k0.required(n):null}static officialNumber(r){return n=>{const o=n.root.get(r);if(!o||!o.value)return null;this.valid=!1;const v=o.value;if(!v.match(/^(19|20)(\d{2})(\d{2})(\d{2})\-?(\d{4})$/))return{officialNumber:!1};const h=/^(19|20)(\d{2})(\d{2})(\d{2})\-?(\d{4})$/;if(!h.test(v))return{officialNumber:!1};const E=v.replace(h,"$2"),l=v.replace(h,"$3"),C=v.replace(h,"$4"),u=v.replace(h,"$5");this.now=new Date,this.nowFullYear=this.now.getFullYear()+"",this.nowCentury=this.nowFullYear.substring(0,2),this.nowShortYear=this.nowFullYear.substring(2,4),this.year=E,this.month=l,this.day=C,this.controldigits=u,this.fullYear=1*this.year<=1*this.nowShortYear?1*(this.nowCentury+this.year):1*(1*this.nowCentury-1+this.year);const c=new Array(31,28,31,30,31,30,31,31,30,31,30,31);if((this.fullYear%400==0||this.fullYear%4==0&&this.fullYear%100!=0)&&(c[1]=29),1*this.month<1||1*this.month>12||1*this.day<1||1*this.day>c[1*this.month-1])return{officialNumber:!1};this.alldigits=this.year+this.month+this.day+this.controldigits;let p="";for(let O=0;O<this.alldigits.length;O++)p+=((O+1)%2+1)*this.alldigits.substring(O,O+1);this.checksum=0;for(let O=0;O<p.length;O++)this.checksum+=1*Number(p.substring(O,O+1));return this.valid=this.checksum%10==0,this.valid?null:{officialNumber:!1}}}static dateOfBirth(r){return n=>n.root.get(r)&&("Invalid Date"===f(n.value).utc(!0).toDate().toString()||f(n.value).isBefore("1900-01-01")||f(n.value).isAfter(f()))?{dateOfBirth:!1}:null}static{this.\u0275fac=function(n){return new(n||a)}}static{this.\u0275prov=m.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})()}}]);
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.