PageSourceSearch

https://portal.taskedin.net/7342.edf3cc981b34c377.js

js taskedin.net collected 2026-09-24 13:23:53 UTC 20,566 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktaskedin=self.webpackChunktaskedin||[]).push([[7342],{7342:(Y,D,i)=>{i.d(D,{e:()=>V});var t=i(41360),f=i(32881),e=i(89417),I=i(76029),l=i(96850),R=i(10836),d=i(16144),T=i(54527),h=i(67949),C=i(15448),m=i(33170),E=i(14404),x=i(12218),M=i(73955),$=i(49870),A=i(77643),o=i(33639),s=i(80706);const b=["assigneeslist"];function k(r,v){if(1&r&&t.nrm(0,"time-left",17),2&r){const a=t.XpG(2).$implicit;t.Y8G("label",a.timeLeftLabel)("timeLeft",a.timeLeft)("bullet",a.bullet)("showLeft",!0)}}function O(r,v){if(1&r&&(t.j41(0,"div",18),t.nrm(1,"task-overdue",19),t.j41(2,"span",20),t.EFF(3),t.nI1(4,"translate"),t.k0s()()),2&r){const a=t.XpG(2).$implicit;t.R7$(),t.Y8G("endedTaskRepeatedCounter",a.endedTaskRepeatedCounter),t.R7$(2),t.JRh(t.bMT(4,2,"overdue"))}}function U(r,v){if(1&r&&t.nrm(0,"rate",21),2&r){const a=t.XpG(2).$implicit;t.Y8G("rate",a.rate)}}function L(r,v){if(1&r&&t.nrm(0,"task-vote-progress",22),2&r){const a=t.XpG(2).$implicit;t.Y8G("progress",a.percentage)}}function j(r,v){if(1&r&&(t.j41(0,"div",12),t.DNE(1,k,1,4,"time-left",13)(2,O,5,4,"div",14)(3,U,1,1,"rate",15)(4,L,1,1,"task-vote-progress",16),t.k0s()),2&r){const a=t.XpG().$implicit;t.R7$(),t.Y8G("ngIf",!a.isOverDue&&(1==a.taskStateId||3==a.taskStateId)),t.R7$(),t.Y8G("ngIf",a.isOverDue),t.R7$(),t.Y8G("ngIf",2==a.taskStateId),t.R7$(),t.Y8G("ngIf",3==a.taskStateId)}}function y(r,v){if(1&r){const a=t.RV6();t.j41(0,"div",3),t.bIt("click",function(){const c=t.eBV(a).$implicit,P=t.XpG();return t.Njj(P.isDetails&&P.changeId(c.id))}),t.j41(1,"div",4)(2,"user-image",5),t.bIt("click",function(c){return t.eBV(a),t.Njj(c.stopImmediatePropagation())}),t.k0s(),t.j41(3,"div",6)(4,"p",7),t.EFF(5),t.k0s(),t.j41(6,"p",8),t.EFF(7),t.k0s()()(),t.DNE(8,j,5,4,"div",9),t.j41(9,"div",10),t.nrm(10,"task-status",11),t.k0s()()}if(2&r){const a=v.$implicit,g=t.XpG();t.Y8G("routerLink",g.isDetails?null:g.isProject?"/tasks/details/"+a.id:"details/"+a.id),t.R7$(2),t.Y8G("img",a.assigneeProfilePicture)("id",a.assigneeId),t.R7$(3),t.JRh(a.assigneeName),t.R7$(2),t.JRh(a.assigneeJob),t.R7$(),t.Y8G("ngIf",6!=a.taskStateId&&8!=a.taskStateId&&7!=a.taskStateId),t.R7$(2),t.Y8G("state",a.taskStateId)}}let n=(()=>{class r{constructor(a,g,c){this.route=a,this.router=g,this.service=c,this.tasks=[],this.isDetails=!1,this.isProject=!1,this.close=new t.bkB,this.limit=20,this.page=1,this.users=[]}ngOnInit(){this.getAllAssinees()}ngAfterViewInit(){this.assigneesList.nativeElement.addEventListener("scroll",this.onScroll.bind(this))}onScroll(a){a.target.scrollTop+a.target.clientHeight+10>=a.target.scrollHeight&&this.moreUsersStatus&&(this.page+=1,this.getAllAssinees(),setTimeout(()=>{this.moreUsersStatus=!1},0))}getAllAssinees(){this.loading=!0;const a=(new A.Nl).set("id",this.taskGroupId).set("page",this.page).set("limit",this.limit);this.service.getAllAssignees(a).subscribe(g=>{this.loading=!1,g.items.forEach(c=>{this.users.push(c)}),this.totalItems=g.totalItems,this.moreUsersStatus=!(this.page>=this.totalItems/this.limit)})}changeId(a){const g=window.location.pathname,c=g.split("/"),B=g.replace(c[c.length-1],a);this.router.navigateByUrl(B)}static{this.\u0275fac=function(g){return new(g||r)(t.rXU(o.nX),t.rXU(o.Ix),t.rXU(s.Z))}}static{this.\u0275cmp=t.VBU({type:r,selectors:[["task-group-assignees"]],viewQuery:function(g,c){if(1&g&&t.GBs(b,5),2&g){let P;t.mGM(P=t.lsd())&&(c.assigneesList=P.first)}},inputs:{tasks:"tasks",isDetails:"isDetails",isProject:"isProject",taskGroupId:"taskGroupId"},outputs:{close:"close"},decls:3,vars:1,consts:[["assigneeslist",""],[1,"assignees-list","px-2","py-2"],["class","task-card relative rounded bg-gray p-1 pointer",3,"routerLink","click",4,"ngFor","ngForOf"],[1,"task-card","relative","rounded","bg-gray","p-1","pointer",3,"click","routerLink"],[1,"start","flex","aic"],[3,"click","img","id"],[1,"user-info","ml-1"],[1,"mb-25","fs-15"],[1,"muted","fs-14"],["class","end border-top mt-1 pt-1 flex aic jcsb",4,"ngIf"],[1,"status"],["classes","p-1",3,"state"],[1,"end","border-top","mt-1","pt-1","flex","aic","jcsb"],["classes","fs-14",3,"label","timeLeft","bullet","showLeft",4,"ngIf"],["class","overdue flex aic",4,"ngIf"],["type","small",3,"rate",4,"ngIf"],[3,"progress",4,"ngIf"],["classes","fs-14",3,"label","t
1imeLeft","bullet","showLeft"],[1,"overdue","flex","aic"],["classes","fs-14",3,"endedTaskRepeatedCounter"],[1,"ml-50","danger","fs-14"],["type","small",3,"rate"],[3,"progress"]],template:function(g,c){1&g&&(t.j41(0,"div",1,0),t.DNE(2,y,11,7,"div",2),t.k0s()),2&g&&(t.R7$(2),t.Y8G("ngForOf",c.users))},dependencies:[f.MD,f.Sq,f.bT,T.U,h.s,C.z,m.E,E.C,x.F,M.h,M.D9,$.Wk],styles:[".assignees-list[_ngcontent-%COMP%]{max-height:100%;overflow:auto}.task-card[_ngcontent-%COMP%]{overflow:hidden}.task-card[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:1rem}.task-card[_ngcontent-%COMP%]   .start[_ngcontent-%COMP%]{max-width:23rem}.status[_ngcontent-%COMP%]{position:absolute;top:-1px;inset-inline-end:-1px}"]})}}return r})();function u(r,v){if(1&r){const a=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"user-image",3),t.bIt("click",function(c){return t.eBV(a),t.Njj(c.stopImmediatePropagation())}),t.k0s(),t.j41(3,"div",4)(4,"p",5),t.EFF(5),t.k0s(),t.j41(6,"p",6),t.EFF(7),t.k0s()()()()}if(2&r){const a=v.$implicit;t.R7$(2),t.Y8G("img",a.reporterProfilePicture)("id",a.reporterId),t.R7$(3),t.JRh(a.reporterName),t.R7$(2),t.JRh(a.reporterJobTitle)}}let p=(()=>{class r{constructor(){this.reporters=[]}static{this.\u0275fac=function(g){return new(g||r)}}static{this.\u0275cmp=t.VBU({type:r,selectors:[["task-group-reporters"]],inputs:{reporters:"reporters"},decls:1,vars:1,consts:[["class","reporter-card relative rounded bg-gray p-1",4,"ngFor","ngForOf"],[1,"reporter-card","relative","rounded","bg-gray","p-1"],[1,"start","flex","aic"],[3,"click","img","id"],[1,"user-info","ml-1"],[1,"mb-25","fs-15"],[1,"muted","fs-14"]],template:function(g,c){1&g&&t.DNE(0,u,8,4,"div",0),2&g&&t.Y8G("ngForOf",c.reporters)},dependencies:[f.MD,f.Sq,T.U],styles:[".reporter-card[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:1rem}"]})}}return r})();var G=i(51146),_=i(26780);const F=r=>({"h-100":r});function S(r,v){if(1&r){const a=t.RV6();t.j41(0,"button",13),t.bIt("click",function(){t.eBV(a);const c=t.XpG();return t.Njj(c.chat())}),t.nrm(1,"img",14),t.k0s()}}function N(r,v){if(1&r&&t.nrm(0,"task-group-assignees",15),2&r){const a=t.XpG();t.Y8G("isDetails",a.isDetails)("isProject",a.isProject)("tasks",a.assignees)("taskGroupId",null==a.task?null:a.task.id)}}function w(r,v){1&r&&t.nrm(0,"loading")}function W(r,v){if(1&r&&(t.qex(0),t.nrm(1,"task-group-reporters",16),t.bVm()),2&r){const a=t.XpG();t.R7$(),t.Y8G("reporters",a.reporters)}}function K(r,v){1&r&&(t.qex(0),t.nrm(1,"not-found"),t.bVm())}let V=(()=>{class r{ngOnChanges(a){a.task&&this.selected.setValue(0)}constructor(){this.open=!1,this.isDetails=!1,this.isProject=!1,this.reporters=[],this.assignees=[],this.isChat=!1,this.assigneesLoading=!1,this.close=new t.bkB,this.selected=new e.MJ(0),this.taskDetailsSer=(0,t.WQX)(G.d),this.chatSer=(0,t.WQX)(_.m),this.router=(0,t.WQX)(o.Ix)}ngOnInit(){}chat(){this.taskDetailsSer.getOrCreateChat(this.task.id).subscribe(a=>{this.chatSer.roomId.next(a.data.taskGroupChatId),this.chatSer.getRoomChat(!0),this.router.navigate(["/chat"])})}static{this.\u0275fac=function(g){return new(g||r)}}static{this.\u0275cmp=t.VBU({type:r,selectors:[["task-group-details"]],inputs:{open:"open",task:"task",isDetail
1s:"isDetails",isProject:"isProject",reporters:"reporters",assignees:"assignees",isChat:"isChat",assigneesLoading:"assigneesLoading"},outputs:{close:"close"},features:[t.OA$],decls:18,vars:17,consts:[[3,"open"],["header",""],[1,"flex","aic","jcsb","w-100"],[1,"card-title"],["class","img clickable-btn chat ml-2",3,"click",4,"ngIf"],["content",""],["animationDuration","400ms",1,"h-100",3,"selectedIndexChange","selectedIndex"],[1,"h-100",3,"label"],[1,"overflow-hidden","h-100"],[3,"isDetails","isProject","tasks","taskGroupId",4,"ngIf"],[4,"ngIf"],[3,"label"],[1,"reporters","px-2","py-2",3,"ngClass"],[1,"img","clickable-btn","chat","ml-2",3,"click"],["src","assets/images/icons/messages.svg","alt","","width","24",1,"convert-image-color"],[3,"isDetails","isProject","tasks","taskGroupId"],[3,"reporters"]],template:function(g,c){1&g&&(t.j41(0,"info-sidebar",0),t.qex(1,1),t.j41(2,"div",2)(3,"h3",3),t.EFF(4),t.k0s(),t.DNE(5,S,2,0,"button",4),t.k0s(),t.bVm(),t.qex(6,5),t.j41(7,"mat-tab-group",6),t.bIt("selectedIndexChange",function(B){return c.selected.setValue(B)}),t.j41(8,"mat-tab",7),t.nI1(9,"translate"),t.j41(10,"div",8),t.DNE(11,N,1,4,"task-group-assignees",9)(12,w,1,0,"loading",10),t.k0s()(),t.j41(13,"mat-tab",11),t.nI1(14,"translate"),t.j41(15,"div",12),t.DNE(16,W,2,1,"ng-container",10)(17,K,2,0,"ng-container",10),t.k0s()()(),t.bVm(),t.k0s()),2&g&&(t.Y8G("open",c.open),t.R7$(4),t.JRh((null==c.task?null:c.task.title)||c.task),t.R7$(),t.Y8G("ngIf",!c.isChat),t.R7$(2),t.Y8G("selectedIndex",c.selected.value),t.R7$(),t.Y8G("label",t.bMT(9,11,"assignees")),t.R7$(3),t.Y8G("ngIf",!c.assigneesLoading),t.R7$(),t.Y8G("ngIf",c.assigneesLoading),t.R7$(),t.Y8G("label",t.bMT(14,13,"reporters")),t.R7$(2),t.Y8G("ngClass",t.eq3(15,F,c.reporters&&0==c.reporters.length)),t.R7$(),t.Y8G("ngIf",c.reporters&&c.reporters.length>0),t.R7$(),t.Y8G("ngIf",c.reporters&&0==c.reporters.length))},dependencies:[f.MD,f.YU,f.bT,I.O,l.RI,l.mq,l.T8,R.q,d.X,n,p,M.h,M.D9],styles:[".overflow-hidden[_ngcontent-%COMP%]{overflow:hidden}"]})}}return r})()},14404:(Y,D,i)=>{i.d(D,{C:()=>R});var t=i(32881),f=i(21421),e=i(41360);const I=(d,T)=>({"bg-success":d,"bg-warning":T}),l=(d,T)=>({success:d,warning:T});let R=(()=>{class d{constructor(){this.progress=0,this.width="10rem"}static{this.\u0275fac=function(C){return new(C||d)}}static{this.\u0275cmp=e.VBU({type:d,selectors:[["task-vote-progress"]],inputs:{progress:"progress",width:"width",classes:"classes",color:"color"},decls:6,vars:18,consts:[[1,"task-progress","flex","aic"],[1,"bar","rounded","w-100","mr-1"],[1,"progress",3,"ngClass"],[3,"ngClass"]],template:function(C,m){1&C&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"div",2),e.k0s(),e.j41(3,"span",3),e.
1EFF(4),e.nI1(5,"arabicNumbers"),e.k0s()()),2&C&&(e.xc7("width",m.width),e.R7$(2),e.xc7("width",m.progress+"%"),e.Y8G("ngClass",e.l_i(12,I,100==m.progress,100!=m.progress)),e.R7$(),e.ZvI("fs-14 ",m.color,""),e.Y8G("ngClass",e.l_i(15,l,100==m.progress&&!m.color,100!=m.progress&&!m.color)),e.R7$(),e.SpI("",e.bMT(5,10,m.progress),"%"))},dependencies:[t.MD,t.YU,f.P],styles:['.task-progress[_ngcontent-%COMP%]   .bar[_ngcontent-%COMP%]{position:relative;height:4px;background-color:#e2e2e2;overflow:hidden}.task-progress[_ngcontent-%COMP%]   .bar[_ngcontent-%COMP%]   .progress[_ngcontent-%COMP%]{content:"";position:absolute;top:0;left:0;height:100%}']})}}return d})()},15448:(Y,D,i)=>{i.d(D,{z:()=>T});var t=i(32881),f=i(73955),e=i(21421),I=i(33069),l=i(41360);function R(h,C){if(1&h&&(l.j41(0,"span",3),l.EFF(1),l.nI1(2,"arabicNumbers"),l.k0s()),2&h){const m=l.XpG(2);l.R7$(),l.JRh(l.bMT(2,1,m.endedTaskRepeatedCounter))}}function d(h,C){if(1&h&&(l.j41(0,"div")(1,"div"),l.nrm(2,"div",1),l.DNE(3,R,3,3,"span",2),l.j41(4,"span"),l.EFF(5),l.nI1(6,"defineDays"),l.nI1(7,"translate"),l.k0s()()()),2&h){const m=l.XpG();l.R7$(),l.ZvI("flex-center ",m.classes,""),l.R7$(2),l.Y8G("ngIf","ar"===m.lang&&m.endedTaskRepeatedCounter>2||"en"===m.lang),l.R7$(2),l.JRh(l.bMT(7,7,l.bMT(6,5,m.endedTaskRepeatedCounter)+"_day"))}}let T=(()=>{class h{constructor(){this.lang=localStorage.getItem("language")||"en"}static{this.\u0275fac=function(E){return new(E||h)}}static{this.\u0275cmp=l.VBU({type:h,selectors:[["task-overdue"]],inputs:{endedTaskRepeatedCounter:"endedTaskRepeatedCounter",classes:"classes"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"bullet","bg-danger","px-50","pt-50","pb-50","rounded-50","mr-75"],["class","mr-50",4,"ngIf"],[1,"mr-50"]],template:function(E,x){1&E&&l.DNE(0,d,8,9,"div",0),2&E&&l.Y8G("ngIf",x.endedTaskRepeatedCounter>0)},dependencies:[t.MD,t.bT,f.h,f.D9,e.P,I.d],encapsulation:2})}}return h})()},33170:(Y,D,i)=>{i.d(D,{E:()=>y});var t=i(32881),f=i(21421),e=i(41360);const I=n=>({"gap-x-1":n}),l=n=>({warning:n});function R(n,u){1&n&&e.nrm(0,"i",13)}function d(n,u){1&n&&e.nrm(0,"i",14)}function T(n,u){1&n&&e.nrm(0,"i",15)}function h(n,u){1&n&&e.nrm(0,"i",13)}function C(n,u){1&n&&e.nrm(0,"i",14)}function m(n,u){1&n&&e.nrm(0,"i",15)}function E(n,u){1&n&&e.nrm(0,"i",13)}function x(n,u){1&n&&e.nrm(0,"i",14)}function M(n,u){1&n&&e.nrm(0,"i",15)}function $(n,u){1&n&&e.nrm(0,"i",13)}function A(n,u){1&n&&e.nrm(0,"i",14)}function o(n,u){1&n&&e.nrm(0,"i",15)}function s(n,u){1&n&&e.nrm(0,"i",13)}function b(n,u){1&n&&e.nrm(0,"i",14)}function k(n,u){1&n&&e.nrm(0,"i",15)}function O(n,u){if(1&n&&(e.j41(0,"div",4)(1,"div",5),e.DNE(2,R,1,0,"i",6)(3,d,1,0,"i",7)(4,T,1,0,"i",8),e.k0s(),e.j41(5,"div",9),e.DNE(6,h,1,0,"i",6)(7,C,1,0,"i",7)(8,m,1,0,"i",8),e.k0s(),e.j41(9,"div",10),e.DNE(10,E,1,0,"i",6)(11,x,1,0,"i",7)(12,M,1,0,"i",8),e.k0s(),e.j41(13,"div",11),e.DNE(14,$,1,0,"i",6)(15,A,1,0,"i",7)(16,o,1,0,"i",8),e.k0s(),e.j41(17,"div",12),e.DNE(18,s,1,0,"i",6)(19,b,1,0,"i",7)(20,k,1,0,"i",8),e.k0s()()),2&n){const p=e.XpG();e.R7$(2),e.Y8G("ngIf",p.rate<.5),e.R7$(),e.Y8G("ngIf",p.rate>=.5&&p.rate<1),e.R7$(),e.Y8G("ngIf",p.rate>=1),e.R7$(2),e.Y8G("ngIf",p.rate<1.5),e.R7$(),e.Y8G("ngIf",p.rate>=1.5&&p.rate<2),e.R7$(),e.Y8G("ngIf",p.rate>=2),e.R7$(2),e.Y8G("ngIf",p.rate<2.5),e.R7$(),e.Y8G("ngIf",p.rate>=2.5&&p.rate<3),e.R7$(),e.Y8G("ngIf",p.rate>=3),e.R7$(2),e.Y8G("ngIf",p.rate<3.5),e.R7$(),e.Y8G("ngIf",p.rate>=3.5&&p.rate<4),e.R7$(),e.Y8G("ngIf",p.rate>=4),e.R7$(2),e.Y8G("ngIf",p.rate<4.5),e.R7$(),e.Y8G("ngIf",p.rate>=4.5&&p.rate<5),e.R7$(),e.Y8G("ngIf",p.rate>=5)}}function U(n,u){if(1&n&&e.nrm(0,"i",16),2&n){const p=e.XpG();e.Y8G("ngClass",e.eq3(1,l,p.rate))}}function L(n,u){if(1&n&&(e.j41(0,"p",17),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&n){const p=e.XpG();e.R7$(),e.SpI(" ",e.i5U(2,1,p.rate,"1.1-1")," ")}}function j(n,u){1&n&&(e.j41(0,"p",17),e.EFF(1),e.nI1(2,"arabicNumbers"),e.nI1(3,"arabicNumbers"),e.k0s()),2&n&&(e.R7$(),e.Lme(" ",e.bMT(2,2,0),".",e.bMT(3,4,0)," "))}let y=(()=>{class n{constructor(){this.rate=1,this.size="",this.type="large",this.displayNumber=!0}static{this.\u0275fac=function(G){return new(G||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["rate"]],inputs:{rate:"rate",size:"size",type:"type",displayNumber:"displayNumber"},decls:5,vars:10,consts:[[3,"ngClass"],["class","rate flex aic",4,"ngIf"],["class","bx bxs-star mr-50",3,"ngClass",4,"ngIf"],["class","fs-15",4,"ngIf"],[1,"rate","flex","aic"],[1,"rate-1","img"],["class","bx bx-star",4,"ngIf"],["class","bx bxs-star-half warning",4,"ngIf"],["class","bx bxs-star warning",4,"ngIf"],[1,"rate-2","img"],[1,"rate-3","img"],[1,"rate-4","img"],[1,"rate-5","img"],[1,"bx","bx-star"],[1,"bx","bxs-star-half","warning"],[1,"bx","bxs-star","warning"],[1,"bx","bxs-star","mr-50",3,"ngClass"],[1,"fs-15"]],template:function(G,_){1&G&&(e.j41(0,"div",0),e.DNE(1,O,21,15,"div",1)(2,U,1,3,"i",2)(3,L,3,4,"p",3)(4,j,4,6,"p",3),e.k0s()),2&G&&(e.ZvI("flex aic ",_.size,""),e.Y8G("ngClass",e.eq3(8,I,"large"===_.type)),e.R7$(),e.Y8G("ngIf","large"===_.type),e.R7$(),e.Y8G("ngIf","small"===_.type),e.R7$(),e.Y8G("ngIf",(_.displayNumber||"small"===_.type)&&_.rate),e.R7$(),e.Y8G("ngIf",(_.displayNumber||"small"===_.type)&&!_.rate))},dependencies:[t.MD,t.YU,t.bT,t.QX,f.P],encapsulation:2})}}return n})()},51146:(Y,D,i)=>{i.d(D,{d:()=>M});var t=i(84412),f=i(25558),e=i(27468),I=i(31397),l=i(7673),R=i(96354),d=i(45312),T=i(84048),h=i(84969),C=i(50429),m=i(41360),E=i(77643),x=i(26780);let M=(()=>{class $ extends C.E{constructor(o,s){super(),this.http=o,this.chatSer=s,this.hasChanged=new t.t(!1),this.loading=new t.t(!0),this.id=new t.t(0),this.chatLoading=new t.t(!0),this.gotChat=new t.t(!1),this.details=new t.t({})}
1getTaskDetails(){return this.loading.next(!0),this.chatLoading.next(!0),this.http.get(`${d.c.apiUrl}api/Tasks/GetTaskDetails?id=${this.id.value}`).pipe((0,f.n)(o=>{const s=o.data,b=parseInt(localStorage.getItem("id")||"");return s.hasStarted=(0,T.H)(s.startDate).getTime()<(new Date).getTime(),s.creator=s.taskGroupCreatorId==b,s.isAssignee=s.assigneeId==b,s.isManager=s.managerId==b,s.canUpdateRate=new Date((0,T.H)(s.rateDate).setMinutes((0,T.H)(s.rateDate).getMinutes()+10)).getTime()>=(new Date).getTime(),5==s.taskGroupType?navigator.geolocation&&navigator.geolocation.getCurrentPosition(k=>{if(k){const O=new google.maps.LatLng(k.coords.latitude,k.coords.longitude),U=new google.maps.LatLng(s.latitude,s.longitude),L=google.maps.geometry.spherical.computeDistanceBetween(O,U);s.inLocation=L<=100}}):s.inLocation=!0,(0,T.H)(s.endTimeForRepeat).getTime()<(new Date).getTime()&&(s.stopedRepeat=!0),s.max=s.isAssignee?100:s.creator?99:100,s.taskGroupAttachments=s.taskGroupAttachments.filter(k=>(5===k.fileType&&(s.soundDescription=`${d.c.apiUrl}/${k.filePath}`),5!==k.fileType)),s.description&&(s.description=(0,h._)(s.description)),s.definitionOfDone&&(s.definitionOfDone=(0,h._)(s.definitionOfDone)),s.workingHours={},this.workingHours(s.workingHours,s.expectedTime,s.actualTime),(0,e.p)([this.getReporters(s.taskGroupId),this.getSubTasks(s.taskGroupId),this.getTaskHistory(s.taskId),this.getTaskLog(s.taskId)]).pipe((0,I.Z)(([k,O,U,L])=>{s.reporters=k;const j=U,y=L;if(s.reportersImagesUrls=k.map((n,u)=>(s.reporters[u].image=n.reporterProfilePicture,s.reporters[u].name=n.reporterName,s.reporters[u].jobTitle=n.reporterJobTitle,n.reporterProfilePicture)),s.subTasks=O,j.success){const u=j.data.reduce((p,G)=>{const _=new Date(new Date(G.creationDate).setHours(0,0,0,0)).getTime();return p[_]||(p[_]=[]),p[_].push(G),p},{});s.histories=Object.keys(u).map(p=>({date:new Date(+p),messages:u[p]}))}if(y.success){const u=y.data.reduce((p,G)=>{const _=new Date(new Date(G.creationDate).setHours(0,0,0,0)).getTime();return p[_]||(p[_]=[]),p[_].push(G),p},{});s.timeLogHistory=Object.keys(u).map(p=>({date:new Date(+p),messages:u[p]}))}return this.loading.next(!1),!s.creator&&!s.isAssignee||1!=s.taskStateId&&2!=s.taskStateId&&3!=s.taskStateId||this.gotChat.value?this.chatLoading.next(!1):this.getOrCreateChat(s.taskGroupId).subscribe(n=>{console.log(n),n&&(setTimeout(()=>{this.chatLoading.next(!1),this.gotChat.next(!0)},1e3),this.chatSer.roomId.next(n.data.taskGroupChatId),this.chatSer.getRoomChat(!0))}),this.details.next(s),(0,l.of)(s)}))}))}getReporters(o){return this.http.get(`${d.c.apiUrl}api/TaskGroupReporters/GetReporters?id=${o}`).pipe((0,R.T)(s=>s.data.items))}getTaskHistory(o){return this.http.get(`${d.c.apiUrl}api/TaskHistory/Get?taskId=${o}`)}getTaskLog(o){return this.http.get(`${d.c.apiUrl}api/TimeSheet/GetTaskLogs?TaskId=${o}`).pipe((0,R.T)(s=>s.data))}getSubTasks(o){return this.http.get(`${d.c.apiUrl}api/TaskGroups/GetMyChildTaskGroups?parentTaskGroupId=${o}`).pipe((0,R.T)(s=>s.data.items))}updateTodoList(o){return this.http.put(`${d.c.apiUrl}api/TaskTodosList/Update`,o)}stopRepeat(o){return this.http.put(`${d.c.apiUrl}api/TaskGroups/StopRepeat`,o)}updateEstimate(o){return this.http.put(`${d.c.apiUrl}api/Tasks/UpdateEstimatedTime`,o)}noted(o){return this.http.put(`${d.c.apiUrl}api/Tasks/SetSignatureTaskNoticed`,{id:o})}updateTaskProgress(o){return this.http.put(`${d.c.apiUrl}api/Tasks/UpdateProgress`,o)}addRate(o){return this.http.put(`${d.c.apiUrl}api/Tasks/UpdateRate`,o)}getTaskGroupUserRole(o){return this.http.get(`${d.c.apiUrl}api/TaskGroups/GetTaskGroupUserRole?id=${o}`).pipe((0,R.T)(s=>({userRole:s.data.taskUserRole,taskId:s.data.taskId,taskGroupId:s.data.taskGroupId})))}getOrCreateChat(o){return this.http.post(`${d.c.apiUrl}api/Chat/AddTaskChatRoom`,{id:o})}logTime(o){return this.http.post(`${d.c.apiUrl}api/TimeSheet/LogTime`,o)}cancelTask(o){return this.http.put(`${d.c.apiUrl}api/Tasks/Cancel`,{taskIds:[o]})}deleteTask(o){return this.http.put(`${d.c.apiUrl}api/Tasks/delete`,o)}getDetails(o){return this.http.get(`${d.c.apiUrl}
1api/Tasks/GetTaskDetails?id=${o}`)}getProps(o){return this.http.post(`${d.c.apiUrl}api/TaskGroups/GetTaskProps?taskId=${o}`,"")}answerProps(o){return this.http.post(`${d.c.apiUrl}api/TaskGroups/AnswerProp`,"",{params:o})}uploadPropFile(o){return this.http.post(`${d.c.apiUrl}api/attachment/UploadFile`,o)}static{this.\u0275fac=function(s){return new(s||$)(m.KVO(E.Qq),m.KVO(x.m))}}static{this.\u0275prov=m.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})()},84969:(Y,D,i)=>{function t(f){return f.replace(/(https?:\/\/[^\s]+)/g,function(I){return`<a target="_blank" href="${I}" class="primary">${I}</a>`})}i.d(D,{_:()=>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.