PageSourceSearch

https://manager.flitapp.com.br/1633.3b7fd8835a86de08.js

js flitapp.com.br collected 2026-10-02 15:35:26 UTC 19,776 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkflit_manager=self.webpackChunkflit_manager||[]).push([[1633],{4226:(aa,T,a)=>{a.d(T,{n:()=>v});var L=a(15861),R=a(60961),C=a(29260),M=a(17489),S=a.n(M);class P{constructor({criarSemCampos:p,data_atualizacao_doc:o,data_criacao_doc:e,descricao:u,excluido:D}){p?(S().isNil(o)||(this.data_atualizacao_doc=o),S().isNil(e)||(this.data_criacao_doc=e),S().isNil(u)||(this.descricao=u),S().isNil(D)||(this.excluido=D)):(this.data_atualizacao_doc=o??null,this.data_criacao_doc=e??C.Z.firestore.Timestamp.fromDate(new Date),this.descricao=u??null,this.excluido=D??!1)}converterParaDocumentoFirestore(){const o=R.yc.prototype.removerCamposUndefined({data_atualizacao_doc:this.data_atualizacao_doc,data_criacao_doc:this.data_criacao_doc,descricao:this.descricao,excluido:this.excluido});if(S().isEmpty(o))throw new Error("Fun\xe7\xe3o converterParaDocumentoFirestore() executada em objeto vazio!");return o}}var c=a(39841),s=a(54004),j=a(95698),y=a(94650),V=a(5571),I=a(28015),H=a(22962),A=a(81159),d=a(33078);let v=(()=>{class l{constructor(o,e,u,D,G){this.globalService=o,this.ngxLogger=e,this.afs=u,this.firestore=D,this.perfilAcessoService=G}getDepartments({usarPerfilAcesso:o}={}){const e=this.firestore.getColecao$(`${this.globalService.contaPath}/departamentos`,u=>u.where("excluido","==",!1).orderBy("descricao"));return!1===o?e:(0,c.a)([e,this.perfilAcessoService.perfil$]).pipe((0,s.U)(u=>this.perfilAcessoService.retornarDadosFiltrados(u[0],"departamentos_ref")))}newDepartment(o){const u={...new P({criarSemCampos:!1}),descricao:o.description};this.afs.collection(`${this.globalService.contaPath}/departamentos`).add(u).then(D=>{this.ngxLogger.trace(`\nDocumento adicionado.\nCole\xe7\xe3o: departamentos\nUid: ${D.id}\nDados:`,u)}).catch(D=>{this.ngxLogger.error("\nErro na promise da fun\xe7\xe3o newDepartment.\n",D)})}updateDepartment(o,e){const u={descricao:e.description};this.afs.collection(`${this.globalService.contaPath}/departamentos`).doc(o).set(u,{merge:!0}).then(()=>{this.ngxLogger.trace(`\nDocumento atualizado.\nCole\xe7\xe3o: departamentos\nUid: ${o}\nDados:`,u)}).catch(D=>{this.ngxLogger.error("\nErro na promise da fun\xe7\xe3o updateDepartment.\n",D)})}retornarTravasParaExcluirDepartamento(o){var e=this;return(0,L.Z)(function*(){const D=e.afs.doc(o).ref,G=D.id,W=D.parent.parent,E=["Usu\xe1rios","Jornadas"],N=e.afs.collection("usuarios",J=>J.where("conta_ref","==",W).where("excluido","==",!1).where("departamento_ref","==",D).limit(1)).get().pipe((0,j.q)(1),(0,s.U)(J=>J.empty)).toPromise(),z=e.afs.collection(`${W.path}/jornadas`,J=>J.where("usuario.departamento.uid","==",G).limit(1)).get().pipe((0,j.q)(1),(0,s.U)(J=>J.empty)).toPromise();return(yield Promise.allSettled([N,z])).reduce((J,ea,oa)=>"fulfilled"===ea.status&&!0===ea.value?J:J.concat([E[oa]??"Indefinido"]),[])})()}excluirDepartamento(o){const e={excluido:!0};o.set(e,{merge:!0}).then(()=>{this.ngxLogger.trace(`\nDocumento marcado como exclu\xeddo.\nCole\xe7\xe3o: departamentos\nUid: ${o.id}\nDados:`,e)}).catch(u=>{this.ngxLogger.error("\nErro na promise da fun\xe7\xe3o excluirDepartamento().\n",u)})}}return l.\u0275fac=function(o){return new(o||l)(y.LFG(V.U),y.LFG(I.Kf),y.LFG(H.ST),y.LFG(A.C),y.LFG(d.g))},l.\u0275prov=y.Yz7({token:l,factory:l.\u0275fac}),l})()},314:(aa,T,a)=>{a.d(T,{O:()=>I});var L=a(15861),R=a(39841),C=a(54004),M=a(95698);class S{constructor(A){this.nome=A.nome||"",this.cbo=A.cbo||"",this.descricao=A.descricao||"",this.excluido=A.excluido||!1}}var P=a(94650),c=a(5571),s=a(22962),j=a(28015),y=a(81159),V=a(33078);let I=(()=>{class H{constructor(d,v,l,p,o){this.globalService=d,this.afs=v,this.ngxLogger=l,this.firestore=p,this.perfilAcessoService=o}getJobs({usarPerfilAcesso:d}={}){const v=this.firestore.getColecao$(`${this.globalService.contaPath}/cargos`,l=>l.where("excluido","==",!1).orderBy("nome"));return!1===d?v:(0,R.a)([v,this.perfilAcessoService.perfil$]).pipe((0,C.U)(l=>this.perfilAcessoService.retornarDadosFiltrados(l[0],"cargos_ref")))}newJob(d){const l={...new S({}),nome:d.name,cbo:d.soc,descricao:d.description};this.afs.collection(`${this.globalService.contaPath}/cargos`).add(l).then(p=>{this.ngxLogger.trace(`\nDocumento adicionado.\nCole\xe7\xe3o: cargos\nUid: ${p.id}\nDados:`,l)}).catch(p=>{this.ngxLogger.error("\nErro na promise da fun\xe7\xe3o newJob.\n",p)})}updateJob(d,v){const l={nome:v.name,cbo:v.soc,descricao:v.description};this.afs.collection(`${this.globalService.contaPath}/cargos`).doc(d).set(l,{merge:!0}).then(p=>{this.ngxLogger.trace(`\nDocumento atualizado.\nCole\xe7\xe3o: cargos\nUid: ${d}\nDados:`,l)}).catch(p=>{this.ngxLogger.error("\nErro na promise da fun\xe7\xe3o updateJob.\n",p)})}retornarTravasParaExcluirCargo(d){var v=this;return(0,L.Z)(function*(){const p=v.afs.doc(d).ref,o=p.id,e=p.parent.parent,u=["Usu\xe1rios","Jornadas"],D=v.afs.collection("usuarios",E=>E.where("conta_ref","==",e).where("excluido","==",!1).where("cargo_ref","==",p).limit(1)).get().pipe((0,M.q)(1),(0,C.U)(E=>E.empty)).toPromise(),G=v.afs.collection(`${e.path}/jornadas`,E=>E.where("usuario.cargo.uid","==",o).limit(1)).get().pipe((0,M.q)(1),(0,C.U)(E=>E.empty)).toPromise();return(yield Promise.allSettled([D,G])).reduce((E,N,z)=>"fulfilled"===N.status&&!0===N.value?E:E.concat([u[z]??"Indefinido"]),[])})()}excluirCargo(d){const v={excluido:!0};d.set(v,{merge:!0}).then(()=>{this.ngxLogger.trace(`\nDocumento marcado como exclu\xeddo.\nCole\xe7\xe3o: cargos\nUid: ${d.id}\nDados:`,v)}).catch(l=>{this.ngxLogger.error("\nErro na promise da fun\xe7\xe3o excluirCargo().\n",l)})}}
1return H.\u0275fac=function(d){return new(d||H)(P.LFG(c.U),P.LFG(s.ST),P.LFG(j.Kf),P.LFG(y.C),P.LFG(V.g))},H.\u0275prov=P.Yz7({token:H,factory:H.\u0275fac}),H})()},70266:(aa,T,a)=>{a.d(T,{h:()=>oa});var L=a(15861);a(25878);class C{constructor({data:ra,data_atualizacao_doc:f,data_criacao_doc:_,jornada_ref:t,justificativa:r,tempo:i,usuario_ref:h,logs:F,excluido:g}){this.data=ra||null,this.data_atualizacao_doc=f||null,this.data_criacao_doc=_||null,this.jornada_ref=t||null,this.justificativa=r||null,this.tempo=i||null,this.usuario_ref=h||null,this.logs=F||[],this.excluido=g||!1}}var M=a(29260),S=a(17489),P=a.n(S),c=a(15439),s=a.n(c),j=a(61135),y=a(39646),V=a(88996),I=a(63900),H=a(54004),A=a(50590),d=a(58982),v=a(64602),l=a(32722),p=a(62641),o=a(21837),e=a(94650),u=a(5571),D=a(81159),G=a(22962),W=a(10415),E=a(82066),N=a(97185),z=a(89383),X=a(28015),J=a(80027),ea=a(68684);let oa=(()=>{class w{constructor(f,_,t,r,i,h,F,g,B,O){this.globalService=f,this.firestoreService=_,this.angularFirestore=t,this.jornadasService=r,this.cloudFunctionServices=i,this.toastrService=h,this.translateService=F,this.ngxLogger=g,this.auditoriaModificadorService=B,this.jornadasPaginadasService=O,this.ajustesArrayModificado=new j.X([]),this.ajustesRemovidosUid=new j.X([]),this.ajustesRemovidosLogs=[],this.exibirGrid=!1,this.batchService=new d.$(this.angularFirestore),this.jornadasService.resolve(void 0,void 0),this.globalService.parametrosConta.ocorrencia_falta_ref&&this.globalService.parametrosConta.ocorrencia_falta_ref.get().then(n=>{const x={uid:n.id,descricao:n.data().descricao,tipo:n.data().tipo};this.ocorrenciaPadraoFalta=x,this.ngxLogger.trace("\nOcorr\xeancia interna padr\xe3o para Falta:",x)}).catch(n=>this.ngxLogger.error("\nErro na promise do ocorrencia_falta_ref.get().\n",n)),this.globalService.parametrosConta.ocorrencia_folga_ref&&this.globalService.parametrosConta.ocorrencia_folga_ref.get().then(n=>{const x={uid:n.id,descricao:n.data().descricao,tipo:n.data().tipo};this.ocorrenciaPadraoFolga=x,this.ngxLogger.trace("\nOcorr\xeancia interna padr\xe3o para Folga:",x)}).catch(n=>this.ngxLogger.error("\nErro na promise do ocorrencia_folga_ref.get().\n",n)),this.globalService.parametrosConta.ocorrencia_dia_trabalhado_ref&&this.globalService.parametrosConta.ocorrencia_dia_trabalhado_ref.get().then(n=>{const x={uid:n.id,descricao:n.data().descricao,tipo:n.data().tipo};this.ocorrenciaPadraoDiaTrabalhado=x,this.ngxLogger.trace("\nOcorr\xeancia interna padr\xe3o para Dia Trabalhado:",x)}).catch(n=>this.ngxLogger.error("\nErro na promise do ocorrencia_dia_trabalhado_ref.get().\n",n))}getAjustesBancoDeHoras(f){const _=this.firestoreService.doc(`usuarios/${f}`).ref;return this.firestoreService.getCollectionConta$("ajustes_banco_de_horas",i=>i.where("usuario_ref","==",_).where("excluido","==",!1).orderBy("data","desc"))}getSaldoAtualBancoDeHoras(f,_=2){return f?(0,V.D)(this.jornadasPaginadasService.listarJornadasPaginadas({dataInicial:(0,v.Z)("01/01/2000 00:00:00","dd/MM/yyyy HH:mm:ss",new Date),dataFinal:(0,l.Z)(new Date),usuarioRef:this.firestoreService.doc(`usuarios/${f}`).ref,limite:_,dataHoraOrdenacao:"desc",retornarFields:["i_path","data_hora"]})).pipe((0,I.w)(([r])=>{if(!r?.length)return(0,y.of)(0);const i=r[r.length-1],h=r[r.length-2],g=(0,p.Z)(new Date(i.data_hora),new Date)&&h?h:i;return g?(this.dataUltimaJornadaDoSaldoAcumulado=o.ou.fromMillis(new Date(g.data_hora).getTime()),this.angularFirestore.doc(g.i_path).valueChanges().pipe((0,H.U)(B=>B?.banco_horas_acumulado??0))):(0,y.of)(0)})):(0,y.of)(0)}
1updateAjustesBancoDeHoras(f,_){var t=this;return(0,L.Z)(function*(){t.ngxLogger.info("\nFun\xe7\xe3o BancoDeHorasService => updateAjustesBancoDeHoras executada.\nPar\xe2metros:",{usuarioUid:f,ajustesArray:_});const r=[],i=[];t.ajustesArrayModificado.next([]);const h=t.firestoreService.doc(`usuarios/${f}`).ref,F=P().toArray(P().groupBy(_,g=>g.data.value));for(const g of F){const B=g.map(m=>{const $=M.Z.firestore.Timestamp.fromDate(new Date);return{uid:m.uid,data:s()(m.data.value,"DD/MM/YYYY").toDate(),jornada_ref:null,justificativa:m.justificativa.value,tempo:m.tempo.value,usuario_ref:h,data_criacao_doc:$,data_atualizacao_doc:null,logs:m.logs,excluido:!1}});B.forEach(m=>{const $=M.Z.firestore.Timestamp.fromDate(new Date),U={data:m.data,jornada_ref:m.jornada_ref,justificativa:m.justificativa,tempo:m.tempo,usuario_ref:m.usuario_ref,data_atualizacao_doc:m.data_atualizacao_doc,logs:m.logs,excluido:m.excluido,...t.auditoriaModificadorService.getModificador()};if(m.uid){const Y=t.firestoreService.getDocRefConta(`ajustes_banco_de_horas/${m.uid}`).ref;r.push({mode:"update",path:Y.path,data:Object.assign({},U)})}else{U.data_criacao_doc=$;const Y=t.angularFirestore.createId();U.logs.map((k,q)=>{if(0===q)return k.origem=`Ajuste BH Adicionado: ${Y}`,k}),m.uid=Y;const b=t.firestoreService.getColRefConta("ajustes_banco_de_horas").doc(Y).ref;r.push({mode:"set",path:b.path,data:Object.assign({},U)})}});const O=s()(B[0].data,"DD/MM/YYYY").startOf("day").toDate(),n=s()(B[0].data,"DD/MM/YYYY").endOf("day").toDate();yield t.jornadasService.buscarJornadas({dataInicial:O,dataFinal:n,usuarioRef:h}).pipe((0,A.P)()).toPromise().then(function(){var m=(0,L.Z)(function*($){if($.length){const U=$[0].uid,Y=t.firestoreService.getDocRefConta(`jornadas/${U}`).ref;(k=>{const q=$[0]?.ajustes_banco_de_horas??[],Q=$[0]?.logs??[];for(const Z of k){const K={...Z};delete K.data,delete K.data_criacao_doc,delete K.data_atualizacao_doc,delete K.usuario_ref,delete K.jornada_ref,delete K.logs,q.push(K);const na=Z.logs;na.length&&Q.push(...na);const ca=t.firestoreService.getDocRefConta(`ajustes_banco_de_horas/${Z.uid}`).ref,da={jornada_ref:Y},ia=r.findIndex(la=>la.path===ca.path);r[ia].data={...r[ia].data,...da}}const sa={ajustes_banco_de_horas:q,logs:Q},ta=t.firestoreService.getDocRefConta(`jornadas/${U}`).ref;r.push({mode:"update",path:ta.path,data:sa})})(B)}});return function($){return m.apply(this,arguments)}}())}
1if(t.batchService.prepare(r),t.ngxLogger.debug("\nupdateAjustesBancoDeHoras Batch.\nPar\xe2metros:",{batchDataArray:r}),yield t.batchService.commitAll(),_.length){const g=P().orderBy(_,x=>s()(x.data.value,"DD/MM/YYYY"),["asc"])[0].data.value,B=s()(g,"DD/MM/YYYY").startOf("day").toDate(),O=s()(g,"DD/MM/YYYY").endOf("day").toDate();yield t.jornadasService.buscarJornadas({dataInicial:B,dataFinal:O,usuarioRef:h}).pipe((0,A.P)()).toPromise().then(x=>{x.length&&i.push(t.jornadasService.recalcularAcumulados(x[0]))})}return Promise.allSettled(i).then(g=>(t.ngxLogger.trace("\nFun\xe7\xe3o updateAjustesBancoDeHoras executada com sucesso.\nPar\xe2metros:",{promiseSettledResult:g,resolvedPromisesLength:g.length}),g))})()}atualizaAjusteBancoDeHoras(f,_){if("string"==typeof f){const t=this.firestoreService.getDocRefConta(`ajustes_banco_de_horas/${f}`).ref,r=M.Z.firestore.Timestamp.fromDate(new Date);t.get().then(i=>{if(i){const h=new C({data:i.data().data,jornada_ref:i.data().jornada_ref,justificativa:i.data().justificativa,tempo:i.data().tempo,usuario_ref:i.data().usuario_ref,data_criacao_doc:i.data().data_criacao_doc,data_atualizacao_doc:r,logs:i.data().logs,excluido:i.data().excluido,..._,...this.auditoriaModificadorService.getModificador()});t.set(Object.assign({},h)).then(()=>{this.ngxLogger.trace(`\nDocumento atualizado.\nCole\xe7\xe3o: ajustes_banco_de_horas\nUid: ${i.id}\nDados:`,h)}).catch(F=>{this.ngxLogger.error("\nErro na promise do ajusteDocRef.set().\n",F)})}})}if(f instanceof Array){const t=[];t.push(this.angularFirestore.firestore.batch());let r=0,i=0;for(const h of f){const F=this.firestoreService.getDocRefConta(`ajustes_banco_de_horas/${h}`).ref,g=M.Z.firestore.Timestamp.fromDate(new Date),B={..._,data_atualizacao_doc:g,...this.auditoriaModificadorService.getModificador()};t[i].update(F,B),r++,499===r&&(t.push(this.angularFirestore.firestore.batch()),i++,r=0)}t.forEach(function(){var h=(0,L.Z)(function*(F){yield F.commit()});return function(F){return h.apply(this,arguments)}}())}}removerAjusteBancoDeHoras(f,_){var t=this;return(0,L.Z)(function*(){t.ngxLogger.info("\nFun\xe7\xe3o BancoDeHorasService => removerAjusteBancoDeHoras executada.\nPar\xe2metros:",{ajusteUid:f,logs:_});const r=[],i=[];t.ajustesRemovidosUid.next([]);let h=[];const F=[],g=new Map,B=function(){var O=(0,L.Z)(function*(n){return g.get(n.path)||(yield n.get())});return function(x){return O.apply(this,arguments)}}();if("string"==typeof f&&h.push(f),f instanceof Array&&(h=f),h.length){t.toastrService.info(t.translateService.instant("GERAL.AGUARDEREMOVENDOAJUSTES"),t.translateService.instant("NOTIFICACOES.AGUARDEUMMOMENTO"),{positionClass:"toast-top-right",progressBar:!0});for(const n of h){const x=t.firestoreService.getDocRefConta(`ajustes_banco_de_horas/${n}`).ref;yield x.get().then(function(){var m=(0,L.Z)(function*($){if($){const U=$.data().jornada_ref;U?yield B(U).then(function(){var Y=(0,L.Z)(function*(b){if(b.exists){g.set(b.ref.path,b);const k=s()(b.data().data_hora?.toDate()).format("DD/MM/YYYY"),q=b.data().ajustes_banco_de_horas??[],Q=b.data();Q.uid=b.id,Q.ref=b.ref,Q.path=b.ref.path,F.push(Q);const sa=q.find(Z=>Z.uid===n),ta=_.findIndex(Z=>Z.dataJornada===k);if(-1!==ta){const Z=t.globalService.criarLog(_[ta].mensagem);t.ajustesRemovidosLogs.splice(ta,1);const K={ajustes_banco_de_horas:M.Z.firestore.FieldValue.arrayRemove(sa),logs:M.Z.firestore.FieldValue.arrayUnion(Z)};r.push({mode:"update",path:U.path,data:K})}}});return function(b){return Y.apply(this,arguments)}}()).catch(Y=>{t.ngxLogger.error("\nErro na promise jornadaRef.get().\n",Y)}):t.ngxLogger.error("\nErro em helperJornadaCache n\xe3o conseguimos encontrar a jornada.\n",{ajusteDoc:$}),r.push({mode:"update",path:x.path,data:{excluido:!0}})}});return function($){return m.apply(this,arguments)}}()).catch(m=>t.ngxLogger.error("\nErro na promise ajusteDocRef.get().\n",m))}r.length&&(t.batchService.prepare(r),yield t.batchService.commitAll(),t.toastrService.success(t.translateService.instant("GERAL.PROCESSOCONCLUIDO"),"",{positionClass:"toast-top-right",progressBar:!0}))}if(F.length){const O=P().orderBy(F,n=>n.data_hora.toDate(),["asc"])[0];i.push(t.jornadasService.recalcularAcumulados(O))}return Promise.all(i).then(O=>(t.ngxLogger.trace("\nFun\xe7\xe3o removerAjusteBancoDeHoras executada com sucesso.\nPar\xe2metros:",{promiseSettledResult:O,resolvedPromisesLength:O.length}),O))})()}}return w.\u0275fac=function(f){return new(f||w)(e.LFG(u.U),e.LFG(D.C),e.LFG(G.ST),e.LFG
1(W.l),e.LFG(E.y),e.LFG(N._W),e.LFG(z.sK),e.LFG(X.Kf),e.LFG(J.p),e.LFG(ea.S))},w.\u0275prov=e.Yz7({token:w,factory:w.\u0275fac}),w})()},68684:(aa,T,a)=>{a.d(T,{S:()=>V});var L=a(15861),R=a(88913),C=a(82502),M=a(16916),S=a(61135),P=a(83905),c=a(95698),s=a(94650),j=a(5571),y=a(92228);let V=(()=>{class I{constructor(A,d){this.globalService=A,this.angularFireFunctions=d,this.tipoJornadasBuscadas$=new S.X("Pendente"),this.filterValue=new S.X({}),this.paginationCache=null,this.jornadasPaginadasCache$=new S.X(new Map),this.backlogTask=new R.Z,this.oncall_buscar_jornadas=this.angularFireFunctions.httpsCallable("oncall_buscar_jornadas")}listarJornadasPaginadas(A){var d=this;return(0,L.Z)(function*({status:v,dataInicial:l,dataFinal:p,empresaRef:o,departamentoRef:e,cargoRef:u,usuarioRef:D,limite:G,startAfter:W,dataHoraOrdenacao:E,retornarFields:N}){const z=yield(0,P.z)(d.oncall_buscar_jornadas({data_inicio:(0,C.Z)(l,"dd/MM/yyyy"),data_fim:(0,C.Z)(p,"dd/MM/yyyy"),cargos_ids:u?[u.id]:null,departamentos_ids:e?[e.id]:null,empresas_ids:o?[o.id]:null,usuarios_ids:D?[D.id]:null,nome:null,paginacao_buscar_depois:W||null,paginacao_tamanho:G||20,ordenacao_colunas:[{data_hora:{order:E||"asc"}},{"usuario.nome":{order:"asc"}}],deve_ter:[{status:v||["Pendente","Incompleto","Verificado"]}],nao_deve_ter:[{ocultado_por_desligamento:!0}],retornar_fields:N||["i_id","i_path","status","regime_compensacao","data_hora","banco_horas","banco_horas_diurno","banco_horas_noturno","horas_extras","horas_normais","horas_noturnas_extras","horas_noturnas","horas_negativas","jornada_prevista","jornada_realizada","usuario.cargo.nome","usuario.departamento.descricao","usuario.empresa.nome","usuario.escala.descricao","usuario.nome","usuario.uid"]}).pipe((0,c.q)(1)));return[z.docs.map(X=>(X.usuario?.uid&&(X.usuario.avatar_thumbnail_url=`https://storage.googleapis.com/${M.N.firestoreConfig.projectId}.appspot.com/${d.globalService.contaUid}%2F${X.usuario.uid}-thumb`),X)),{startAfter:z.ultimo_valor_ordenacao,finished:z.tamanho<(G||20),total:z.total}]}).apply(this,arguments)}setFilterValue(A){this.tipoJornadasBuscadas$.next(A.status||"Pendente"),this.filterValue.next(A),this.paginationCache=null,this.jornadasPaginadasCache$.next(new Map)}getFilterValue(){return this.filterValue.getValue()}getFilterValue$(){return this.filterValue.asObservable()}get contaPath(){return this.globalService.contaPath}}return I.\u0275fac=function(A){return new(A||I)(s.LFG(j.U),s.LFG(y.l4))},I.\u0275prov=s.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})()},23626:(aa,T,a)=>{a.d(T,{c:()=>M});var L=a(36531),R=a(94650),C=a(24006);let M=(()=>{class S{constructor(c,s){this._el=c,this._ngModel=s,this._config={start:2,end:2}}set configInput(c){this._config=c&&"string"!=typeof c?{start:c.start??2,end:c.end??2}:{start:2,end:2}}onBlur(){const c=this._el.nativeElement.value;if(c){const s=L.d.format(c,this._config.start,this._config.end);s!==c&&this._ngModel.control.setValue(s)}}onInput(c){const s=c.target.value;if(s){const j=String(s).slice(0,this._config.start),y=String(s).slice(this._config.start,this._config.start+this._config.end+1);y&&j.length<this._config.start&&(this._el.nativeElement.value=`${j.padStart(this._config.start,"0")}:${y}`)}}}return S.\u0275fac=function(c){return new(c||S)(R.Y36(R.SBq),R.Y36(C.a5))},S.\u0275dir=R.lG2({type:S,selectors:[["","hoursAndMinutesFormatter",""]],hostBindings:function(c,s){1&c&&R.NdJ("blur",function(){return s.onBlur()})("input",function(y){return s.onInput(y)})},inputs:{configInput:["hoursAndMinutesFormatter","configInput"]}}),S})()},36531:(aa,T,a)=>{a.d(T,{d:()=>L});class L{static format(C,M=2,S=2){if(C&&"string"==typeof C){const[P,c]=C.split(":");return`${String(P??"").padStart(M,"0")}:${String(c??"").padStart(S,"0")}`}return null}}}}]);

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.