1"use strict";(self.webpackChunktaiga=self.webpackChunktaiga||[]).push([[571,679],{8709(O,E,i){i.d(E,{w:()=>x});var e=i(2591),t=i(2615),n=i(3664),D=i(8834),P=i(1843),f=i(6112),m=i(8018);function v(c,F){if(1&c&&(n.j41(0,"h1",0),n.EFF(1),n.k0s()),2&c){const _=n.XpG();n.R7$(),n.JRh(_.data.heading)}}function r(c,F){if(1&c){const _=n.RV6();n.j41(0,"button",6),n.bIt("click",function(){t.eBV(_);const d=n.XpG();return t.Njj(d.onClose())}),n.EFF(1),n.nI1(2,"translate"),n.k0s()}2&c&&(n.R7$(),n.SpI(" ",n.bMT(2,1,"CLOSE")," "))}function R(c,F){if(1&c){const _=n.RV6();n.j41(0,"button",10),n.bIt("click",function(){t.eBV(_);const d=n.XpG(2);return t.Njj(d.onCancel())}),n.EFF(1),n.nI1(2,"translate"),n.k0s()}if(2&c){const _=n.XpG(2);n.Y8G("eventLabel",n.mNQ(_.data.text))("eventCategory",n.mNQ(_.data.heading)),n.R7$(),n.SpI(" ",n.bMT(2,5,"CANCEL")," ")}}function p(c,F){if(1&c){const _=n.RV6();n.j41(0,"button",11),n.bIt("click",function(){t.eBV(_);const d=n.XpG(2);return t.Njj(d.onNo())}),n.EFF(1),n.nI1(2,"translate"),n.k0s()}if(2&c){const _=n.XpG(2);n.Y8G("eventLabel",n.mNQ(_.data.text))("eventCategory",n.mNQ(_.data.heading)),n.R7$(),n.SpI(" ",n.bMT(2,5,"NO")," ")}}function h(c,F){if(1&c){const _=n.RV6();n.nVh(0,R,3,7,"button",7),n.nVh(1,p,3,7,"button",8),n.j41(2,"button",9),n.bIt("click",function(){t.eBV(_);const d=n.XpG();return t.Njj(d.onYes())}),n.EFF(3),n.nI1(4,"translate"),n.k0s()}if(2&c){const _=n.XpG();n.vxM(2===_.dialogAnswer?0:-1),n.R7$(),n.vxM(0!==_.dialogAnswer?1:-1),n.R7$(),n.Y8G("eventLabel",n.mNQ(_.data.text))("eventCategory",n.mNQ(_.data.heading)),n.R7$(),n.SpI(" ",n.bMT(4,7,"YES")," ")}}function M(c,F){if(1&c){const _=n.RV6();n.j41(0,"button",12),n.bIt("click",function(){t.eBV(_);const d=n.XpG();return t.Njj(d.onCustom())}),n.EFF(1),n.k0s()}if(2&c){const _=n.XpG();n.R7$(),n.SpI(" ",_.data.customButtonText," ")}}let x=(()=>{class c{constructor(_,u){this.dialogRef=_,this.data=u,this.dialogAnswer=u.dialogChoices}onYes(){this.dialogRef.close("yes")}onNo(){this.dialogRef.close("no")}onCancel(){this.dialogRef.close("cancel")}onCustom(){this.dialogRef.close("custom")}onClose(){this.dialogRef.close("close")}static{this.\u0275fac=function(u){return new(u||c)(n.rXU(e.CP),n.rXU(e.Vh))}}static{this.\u0275cmp=n.VBU({type:c,selectors:[["taiga-confirm-dialog"]],standalone:!1,decls:7,vars:5,consts:[["mat-dialog-title",""],["data-mom-test","MyPages_Dialog"],[3,"markdown"],["align","end"],["matButton","tonal","data-mom-test","MyPages_Dialog_Close"],["matButton","tonal","data-mom-test","MyPages_Dialog_Custom"],["matButton","tonal","data-mom-test","MyPages_Dialog_Close",3,"click"],["matButton","tonal","taigaEventTracker","","data-mom-test","MyPages_Dialog_Cancel",1,"btn-cancel",3,"eventLabel","eventCategory"],["matButton","tonal","taigaEventTracker","","data-mom-test","MyPages_Dialog_No",1,"btn-no",3,"eventLabel","eventCategory"],["matButton","filled","taigaEventTracker","","data-mom-test","MyPages_Dialog_Yes",1,"btn-yes",3,"click","eventLabel","eventCategory"],["matButton","tonal","taigaEventTracker","","data-mom-test","MyPages_Dialog_Cancel",1,"btn-cancel",3,"click","eventLabel","eventCategory"],["matButton","tonal","taigaEventTracker","","data-mom-test","MyPages_Dialog_No",1,"btn-no",3,"click","eventLabel","eventCategory"],["matButton","tonal","data-mom-test","MyPages_Dialog_Custom",3,"click"]],template:function(u,d){1&u&&(n.nVh(0,v,2,1,"h1",0),n.j41(1,"mat-dialog-content",1),n.nrm(2,"taiga-markdown",2),n.k0s(),n.j41(3,"mat-dialog-actions",3),n.nVh(4,r,3,3,"button",4),n.nVh(5,h,5,9),n.nVh(6,M,2,1,"button",5),n.k0s()),2&u&&(n.vxM(d.data.heading&&!d.data.hideHeading?0:-1),n.R7$(2),n.Y8G("markdown",d.data.text),n.R7$(2),n.vxM(4===d.dialogAnswer?4:-1),n.R7$(),n.vxM(3!==d.dialogAnswer&&4!==d.dialogAnswer?5:-1),n.R7$(),n.vxM(3===d.dialogAnswer||4===d.dialogAnswer?6:-1))},dependencies:[D.$z,e.BI,e.E7,e.Yi,P.u,f.N,m.D9],encapsulation:2})}}return c})()},4317(O,E,i){i.d(E,{P:()=>K});
1var e=i(467),t=i(3664),n=i(9417),D=i(7586),P=i.n(D),f=i(3718),m=i(2615),v=i(226),r=i(7342),R=i(8018),p=i(9213),h=i(2598),M=i(100),x=i(9588),c=i(7403),F=i(7575),_=i(3881);const u=()=>({standalone:!0}),d=a=>({invalidChars:a});function k(a,C){if(1&a&&(t.j41(0,"div",4),t.EFF(1),t.k0s()),2&a){const o=t.XpG();t.R7$(),t.JRh(o.text)}}function b(a,C){if(1&a){const o=t.RV6();t.j41(0,"input",8,0),t.bIt("change",function(){m.eBV(o);const l=t.sdS(1),g=t.XpG();return m.Njj(g.processFile(l))}),t.k0s()}if(2&a){const o=t.XpG();t.Y8G("accept",o.accept)}}function L(a,C){if(1&a){const o=t.RV6();t.j41(0,"input",9,0),t.bIt("change",function(){m.eBV(o);const l=t.sdS(1),g=t.XpG();return m.Njj(g.processFile(l))}),t.k0s()}if(2&a){const o=t.XpG();t.Y8G("accept",o.accept)("formControlName",o.controlName)("required",o.required)}}function U(a,C){if(1&a&&(t.j41(0,"div"),t.EFF(1),t.k0s()),2&a){const o=t.XpG().$implicit,s=t.XpG(2);t.R7$(),t.JRh(s.formatDate(o.uploaded))}}function j(a,C){if(1&a&&t.nrm(0,"mat-progress-bar",14),2&a){const o=t.XpG(3);t.Y8G("value",o.progressBarPercentDone)}}function A(a,C){1&a&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&a&&(t.R7$(),t.JRh(t.bMT(2,1,"ADDNOTE")))}function N(a,C){1&a&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&a&&(t.R7$(),t.JRh(t.bMT(2,1,"NOTE")))}function V(a,C){if(1&a){const o=t.RV6();t.j41(0,"mat-form-field",15)(1,"mat-label"),t.nVh(2,A,3,3,"span"),t.nVh(3,N,3,3,"span"),t.k0s(),t.j41(4,"textarea",16,1),t.mxI("ngModelChange",function(l){m.eBV(o);const g=t.XpG().$implicit;return t.DH7(g.note,l)||(g.note=l),m.Njj(l)}),t.bIt("keydown.enter",function(){return m.eBV(o),t.XpG(3).nop(),m.Njj(!1)}),t.k0s(),t.j41(7,"mat-error"),t.EFF(8),t.nI1(9,"translate"),t.k0s()()}if(2&a){const o=t.sdS(6),s=t.XpG().$implicit;t.R7$(2),t.vxM(s.disableNote?-1:2),t.R7$(),t.vxM(s.disableNote?3:-1),t.R7$(),t.R50("ngModel",s.note),t.Y8G("ngModelOptions",t.lJ4(10,u))("disabled",s.disableNote)("maxLength",20),t.R7$(4),t.JRh(t.i5U(9,7,"INVALIDCHARACTERS",t.eq3(11,d,null==o.errors||null==o.errors.allowedCharacters?null:o.errors.allowedCharacters.invalidChars)))}}function $(a,C){if(1&a){const o=t.RV6();t.j41(0,"div")(1,"div",10)(2,"div",11)(3,"div"),t.EFF(4),t.k0s(),t.nVh(5,U,2,1,"div"),t.k0s(),t.j41(6,"button",12),t.nI1(7,"translate"),t.bIt("click",function(){const l=m.eBV(o).$implicit,g=t.XpG(2);return m.Njj(g.delete(l))}),t.j41(8,"mat-icon",13),t.EFF(9,"delete_outline"),t.k0s()()(),t.nVh(10,j,1,1,"mat-progress-bar",14),t.nVh(11,V,10,13,"mat-form-field",15),t.k0s()}if(2&a){const o=C.$implicit,s=C.$index,l=t.XpG(2);t.R7$(4),t.JRh(o.file.name),t.R7$(),t.vxM(o.uploaded?5:-1),t.R7$(),t.BMQ("aria-label",t.bMT(7,5,"DELETEFILE")),t.R7$(4),t.vxM(l.showProgressBar&&l.anyFiles.length-1===s?10:-1),t.R7$(),t.vxM(l.showNoteField?11:-1)}}function G(a,C){if(1&a&&(t.j41(0,"div"),t.Z7z(1,$,12,7,"div",null,t.fX1),t.k0s()),2&a){const o=t.XpG();t.R7$(),t.Dyx(o.anyFiles)}}class S{constructor(C,o,s,l,g){this.src=C,this.file=o,this.note=s,this.disableNote=l,this.uploaded=g}}let K=(()=>{class a{constructor(o,s,l){this.loadingService=o,this.snackbarService=s,this.translate=l,this.anyFiles=[],this.fileLoaded=new t.bkB,this.fileDeleted=new t.bkB}ngOnInit(){if(this.inputAnyFiles?.length>0)for(const o of this.inputAnyFiles)this.anyFiles.push(o)}nop(){}processFile(o){var s=this;if("function"!=typeof FileReader)return void this.snackbarService.error(this.translate.instant("FILEUPLOADNOTSUPPORTED"));let l=o.files[0];if(l){const g=new FileReader,y=f.Q.generateUniqueId();this.loadingService.open(y),g.onloadend=(0,e.A)(function*(){let T=g.result;if(l.type.match(/image.*/)&&l.size>6e6){const B=yield f.Q.resizeImage(T,l,6e6);T=B.src,l=B.file}const I=new S(T,l,"");s.useSingleFile&&(s.anyFiles=[]),s.anyFiles.push(I),s.fileLoaded.emit(I),s.loadingService.close(y)}),g.readAsDataURL(l),o.value=null}}delete(o){const s=this.anyFiles.indexOf(o,0);s>-1&&(this.anyFiles.splice(s,1),this.fileDeleted.emit(o))}clickInput(o){o.target.click()}formatDate(o){return P()(o).format("YYYY-MM-DD")}static{this.\u0275fac=function(s){return new(s||a)(t.rXU(v.U),t.rXU(r.z),t.rXU(R.c$))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["taiga-file-upload"]],inputs:{text:"text",accept:"accept",useSingleFile:"useSingleFile",controlName:"controlName",inputAnyFiles:"inputAnyFiles",required:"required",showNoteField:"showNoteField",
1showProgressBar:"showProgressBar",progressBarPercentDone:"progressBarPercentDone"},outputs:{anyFiles:"anyFiles",fileLoaded:"fileLoaded",fileDeleted:"fileDeleted"},standalone:!1,features:[t.Jv_([],[{provide:n.ZU,useExisting:n.j4}])],decls:9,vars:9,consts:[["fileInput",""],["textarea","","noteModel","ngModel"],[1,"file-upload"],[1,"file-upload-container"],["data-mom-test","MyPages_FileUpload_ChooseFile",1,"mat-h4",2,"margin","0"],["color","primary",1,"icon"],["type","file","autocomplete","off",3,"accept"],["type","file","autocomplete","off",3,"accept","formControlName","required"],["type","file","autocomplete","off",3,"change","accept"],["type","file","autocomplete","off",3,"change","accept","formControlName","required"],[1,"file-list"],["data-mom-test","MyPages_FileUploadSelectedFile"],["mat-icon-button","","color","primary",2,"margin-left","5px",3,"click"],[1,"icon"],["mode","determinate",3,"value"],[1,"full-width"],["cdkTextareaAutosize","","matInput","","taigaAllowedCharacters","","autocomplete","off",2,"height","22px",3,"ngModelChange","keydown.enter","ngModel","ngModelOptions","disabled","maxLength"]],template:function(s,l){1&s&&(t.j41(0,"div",2)(1,"label",3),t.nI1(2,"translate"),t.nVh(3,k,2,1,"div",4),t.j41(4,"mat-icon",5),t.EFF(5,"attachment"),t.k0s(),t.nVh(6,b,2,1,"input",6),t.nVh(7,L,2,3,"input",7),t.k0s()(),t.nVh(8,G,3,0,"div")),2&s&&(t.R7$(),t.AVh("hide",l.useSingleFile&&(null==l.anyFiles?null:l.anyFiles.length)>0),t.BMQ("aria-label",t.bMT(2,7,"ADDATTACHMENT")),t.R7$(2),t.vxM(l.text?3:-1),t.R7$(3),t.vxM(l.controlName?-1:6),t.R7$(),t.vxM(l.controlName?7:-1),t.R7$(),t.vxM(l.anyFiles?8:-1))},dependencies:[n.me,n.BC,n.YS,n.vS,n.JD,p.An,h.iY,M.fg,x.rl,x.nJ,x.TL,c.xb,F.HM,_.S,R.D9],styles:["input[_ngcontent-%COMP%]{position:absolute;width:0;height:0}.file-upload-container[_ngcontent-%COMP%]:focus-within{outline-width:2px!important;outline-style:solid!important;outline-offset:3px!important}.file-upload-container[_ngcontent-%COMP%]{padding-top:4px;padding-bottom:4px;display:flex;flex-direction:row;justify-content:space-between;cursor:pointer}.file-upload[_ngcontent-%COMP%], .icon[_ngcontent-%COMP%]{cursor:pointer}.file-list[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-top:4px;padding-bottom:4px;word-break:break-all}.full-width[_ngcontent-%COMP%]{width:100%}.hide[_ngcontent-%COMP%]{display:none}"]})}}return a})()},1301(O,E,i){i.d(E,{A:()=>v});var e=i(3664),t=i(2615),n=i(8834),D=i(1517);function P(r,R){1&r&&e.nrm(0,"taiga-spinner",6),2&r&&e.Y8G("diameter",15)}function f(r,R){if(1&r){const p=e.RV6();e.j41(0,"button",2),e.bIt("click",function(){t.eBV(p);const M=e.XpG();return t.Njj(M.click())}),e.j41(1,"div",3)(2,"div",4),e.EFF(3),e.k0s(),e.nrm(4,"div",5),e.k0s()(),e.nVh(5,P,1,1,"taiga-spinner",6)}if(2&r){const p=e.XpG();e.Y8G("disabled",p.disabled),e.R7$(3),e.JRh(p.text),e.R7$(),e.AVh("hide-spinner-void",!p.spin),e.R7$(),e.vxM(p.spin?5:-1)}}function m(r,R){if(1&r){const p=e.RV6();e.j41(0,"button",7),e.bIt("click",function(){t.eBV(p);const M=e.XpG();return t.Njj(M.click())}),e.EFF(1),e.k0s()}if(2&r){const p=e.XpG();e.R7$(),e.SpI(" ",p.text," ")}}let v=(()=>{class r{constructor(){this.clicked=new e.bkB,this.readonly="true"===sessionStorage.getItem("READONLY")}click(){this.clicked.emit()}static{this.\u0275fac=function(h){return new(h||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["taiga-loading-button"]],inputs:{text:"text",spin:"spin",disabled:"disabled"},outputs:{clicked:"clicked"},standalone:!1,decls:3,vars:2,consts:[[1,"wrapper"],["matButton","filled"],["matButton","filled","data-mom-test","MyPages_LoadingButton",1,"loading-button",3,"click","disabled"],[1,"container"],[1,"text"],[1,"spinner-void"],["color","accent","aria-label","Progress spinner",1,"spinner",3,"diameter"],["matButton","filled",3,"click"]],template:function(h,M){1&h&&(e.j41(0,"div",0),e.nVh(1,f,6,5),e.nVh(2,m,2,1,"button",1),e.k0s()),2&h&&(e.R7$(),e.vxM(M.readonly?-1:1),e.R7$(),e.vxM(M.readonly?2:-1))},dependencies:[n.$z,D.t],styles:[".loading-button[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding-left:16px;padding-right:8px}.spinner-void[_ngcontent-%COMP%]{transition:width .2s ease;width:15px;height:15px}.text[_ngcontent-%COMP%]{margin-right:8px}.hide-spinner-void[_ngcontent-%COMP%]{width:0px!important}.spinner[_ngcontent-%COMP%]{position:absolute;top:11px;right:10px}.wrapper[_ngcontent-%COMP%]{position:relative;display:inline-block}"]})}}return r})()},1336(O,E,i){i.d(E,{q:()=>P});var e=i(7052),t=i(2615),n=i(8875),D=i(8793);let P=(()=>{class f{constructor(v,r){this.signInService=v,this.router=r,this.homeLink=`${e.i.HOME}`,this.signInLink=`${e.t.SIGN_IN}`}canActivate(v,r){return this.signInService.routerStateUrl=r.url||this.homeLink,!!(this.signInService&&this.signInService.isAuth||this.signInService.isRefreshTokenValid)||(this.router.navigate([this.signInLink],{queryParams:{returnUrl:r.url||this.homeLink}}),!1)}static{this.\u0275fac=function(r){return new(r||f)(t.KVO(n.W),t.KVO
1(D.Ix))}}static{this.\u0275prov=t.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})()},6090(O,E,i){i.d(E,{$:()=>e});var e=function(t){return t[t.Ok=0]="Ok",t[t.YesNo=1]="YesNo",t[t.YesNoCancel=2]="YesNoCancel",t[t.Custom=3]="Custom",t[t.CustomClose=4]="CustomClose",t}(e||{})}}]);
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.